1010<!-- Start Summary [summary] -->
1111## Summary
1212
13- Accounting: The documentation for the StackOne Unified API - ACCOUNTING
13+ Accounting: The documentation for the StackOne API
14+ The documentation for the StackOne Unified API - HRIS
15+ The documentation for the StackOne Unified API - ATS
16+ The documentation for the StackOne Unified API - CRM
17+ The documentation for the StackOne Unified API - MARKETING
18+ The documentation for the StackOne Unified API - LMS
19+ The documentation for the StackOne Unified API - IAM
20+ The documentation for the StackOne Unified API - TICKETING
21+ The documentation for the StackOne Unified API - DOCUMENTS
22+ The documentation for the StackOne Unified API - SCREENING
23+ The documentation for the StackOne Unified API - MESSAGING
24+ The documentation for the StackOne Unified API - ACCOUNTING
1425<!-- End Summary [summary] -->
1526
1627<!-- Start Table of Contents [toc] -->
@@ -50,23 +61,22 @@ require 'stackone_client'
5061
5162Models = ::StackOne ::Models
5263s = ::StackOne ::StackOne .new (
53- security: Models ::Shared ::Security .new (
54- password: ' ' ,
55- username: ' ' ,
56- ),
57- )
64+ security: Models ::Shared ::Security .new (
65+ password: ' ' ,
66+ username: ' '
67+ )
68+ )
5869
5970req = Models ::Operations ::HrisListEmployeesRequest .new (
6071 prefer: ' heartbeat' ,
6172 expand: ' company,employments,work_location,home_location,groups,skills' ,
6273 fields_: ' id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields' ,
6374 filter: Models ::Operations ::HrisListEmployeesQueryParamFilter .new (
64- updated_after: DateTime .iso8601(' 2020-01-01T00:00:00.000Z' ),
75+ updated_after: DateTime .iso8601(' 2020-01-01T00:00:00.000Z' )
6576 ),
6677 include: ' avatar_url,avatar,custom_fields,job_description,benefits,bank_details' ,
67- x_account_id: ' <id>' ,
78+ x_account_id: ' <id>'
6879)
69-
7080res = s.hris.list_employees(request: req)
7181
7282unless res.employees_paginated.nil?
@@ -93,12 +103,11 @@ require 'stackone_client'
93103
94104Models = ::StackOne ::Models
95105s = ::StackOne ::StackOne .new (
96- security: Models ::Shared ::Security .new (
97- password: ' ' ,
98- username: ' ' ,
99- ),
100- )
101-
106+ security: Models ::Shared ::Security .new (
107+ password: ' ' ,
108+ username: ' '
109+ )
110+ )
102111res = s.accounts.delete_account(id: ' <id>' )
103112
104113unless res.linked_account.nil?
@@ -115,10 +124,9 @@ require 'stackone_client'
115124
116125Models = ::StackOne ::Models
117126s = ::StackOne ::StackOne .new
118-
119127res = s.mcp.mcp_delete(security: Models ::Operations ::StackoneMcpDeleteSecurity .new (
120- api_key: ' <YOUR_API_KEY_HERE> ' ,
121- ), mcp_session_id: ' <id>' , x_account_id: ' <id>' )
128+
129+ ), mcp_session_id: ' <id>' , x_account_id: ' <id>' )
122130
123131if res.status_code == 200
124132 # handle response
@@ -493,12 +501,11 @@ require 'stackone_client'
493501
494502Models = ::StackOne ::Models
495503s = ::StackOne ::StackOne .new (
496- security: Models ::Shared ::Security .new (
497- password: ' ' ,
498- username: ' ' ,
499- ),
500- )
501-
504+ security: Models ::Shared ::Security .new (
505+ password: ' ' ,
506+ username: ' '
507+ )
508+ )
502509res = s.accounts.delete_account(id: ' <id>' )
503510
504511unless res.linked_account.nil?
@@ -513,7 +520,7 @@ require 'stackone_client'
513520
514521Models = ::StackOne ::Models
515522s = ::StackOne ::StackOne .new (
516- retry_config: Utils ::RetryConfig .new (
523+ retry_config: Utils ::RetryConfig .new (
517524 backoff: Utils ::BackoffStrategy .new (
518525 exponent: 1.1 ,
519526 initial_interval: 1 ,
@@ -523,12 +530,11 @@ s = ::StackOne::StackOne.new(
523530 retry_connection_errors: false ,
524531 strategy: ' backoff'
525532 ),
526- security: Models ::Shared ::Security .new (
527- password: ' ' ,
528- username: ' ' ,
529- ),
530- )
531-
533+ security: Models ::Shared ::Security .new (
534+ password: ' ' ,
535+ username: ' '
536+ )
537+ )
532538res = s.accounts.delete_account(id: ' <id>' )
533539
534540unless res.linked_account.nil?
@@ -576,11 +582,11 @@ require 'stackone_client'
576582
577583Models = ::StackOne ::Models
578584s = ::StackOne ::StackOne .new (
579- security: Models ::Shared ::Security .new (
580- password: ' ' ,
581- username: ' ' ,
582- ),
583- )
585+ security: Models ::Shared ::Security .new (
586+ password: ' ' ,
587+ username: ' '
588+ )
589+ )
584590
585591begin
586592 res = s.accounts.delete_account(id: ' <id>' )
@@ -640,13 +646,12 @@ require 'stackone_client'
640646
641647Models = ::StackOne ::Models
642648s = ::StackOne ::StackOne .new (
643- server_url: ' https://api.stackone.com' ,
644- security: Models ::Shared ::Security .new (
645- password: ' ' ,
646- username: ' ' ,
647- ),
648- )
649-
649+ server_url: ' https://api.stackone.com' ,
650+ security: Models ::Shared ::Security .new (
651+ password: ' ' ,
652+ username: ' '
653+ )
654+ )
650655res = s.accounts.delete_account(id: ' <id>' )
651656
652657unless res.linked_account.nil?
0 commit comments