stackone_client 0.2.36 → 0.2.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/accounts.rb +4 -4
  3. data/lib/stack_one/ats.rb +78 -2
  4. data/lib/stack_one/hris.rb +76 -0
  5. data/lib/stack_one/lms.rb +175 -22
  6. data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_request.rb +60 -0
  7. data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_response.rb +33 -0
  8. data/lib/stack_one/models/operations/ats_get_assessments_request_request.rb +1 -1
  9. data/lib/stack_one/models/operations/ats_get_assessments_result_request.rb +1 -1
  10. data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_request.rb +60 -0
  11. data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_response.rb +33 -0
  12. data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_queryparam_filter.rb +24 -0
  13. data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb +2 -2
  14. data/lib/stack_one/models/operations/ats_list_application_documents_queryparam_filter.rb +24 -0
  15. data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +2 -2
  16. data/lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb +5 -2
  17. data/lib/stack_one/models/operations/hris_get_employee_employment_request.rb +42 -0
  18. data/lib/stack_one/models/operations/hris_get_employee_employment_response.rb +33 -0
  19. data/lib/stack_one/models/operations/hris_list_employee_employments_queryparam_filter.rb +24 -0
  20. data/lib/stack_one/models/operations/hris_list_employee_employments_request.rb +58 -0
  21. data/lib/stack_one/models/operations/hris_list_employee_employments_response.rb +33 -0
  22. data/lib/stack_one/models/operations/lms_create_completion_request.rb +5 -2
  23. data/lib/stack_one/models/operations/lms_get_assignment_request.rb +39 -0
  24. data/lib/stack_one/models/operations/{lms_get_completion_response.rb → lms_get_assignment_response.rb} +6 -6
  25. data/lib/stack_one/models/operations/{lms_get_completion_request.rb → lms_get_course_request.rb} +2 -2
  26. data/lib/stack_one/models/operations/lms_get_course_response.rb +33 -0
  27. data/lib/stack_one/models/operations/lms_list_assignments_queryparam_filter.rb +24 -0
  28. data/lib/stack_one/models/operations/lms_list_assignments_request.rb +55 -0
  29. data/lib/stack_one/models/operations/lms_list_assignments_response.rb +33 -0
  30. data/lib/stack_one/models/operations/lms_list_completions_queryparam_filter.rb +24 -0
  31. data/lib/stack_one/models/operations/lms_list_completions_request.rb +55 -0
  32. data/lib/stack_one/models/operations/lms_list_completions_response.rb +33 -0
  33. data/lib/stack_one/models/operations/lms_list_courses_queryparam_filter.rb +24 -0
  34. data/lib/stack_one/models/operations/lms_list_courses_request.rb +52 -0
  35. data/lib/stack_one/models/operations/lms_list_courses_response.rb +33 -0
  36. data/lib/stack_one/models/operations/stackone_update_account_request.rb +4 -4
  37. data/lib/stack_one/models/operations.rb +26 -4
  38. data/lib/stack_one/models/shared/{contactscustomfields_type.rb → active.rb} +4 -4
  39. data/lib/stack_one/models/shared/applicationcustomfields.rb +2 -11
  40. data/lib/stack_one/models/shared/assessmentsresults.rb +7 -7
  41. data/lib/stack_one/models/shared/assessmentsresults_candidate.rb +8 -5
  42. data/lib/stack_one/models/shared/assessmentsresults_content_type.rb +2 -2
  43. data/lib/stack_one/models/shared/{employeecustomfields_value.rb → assessmentsresults_schemas_value.rb} +3 -7
  44. data/lib/stack_one/models/shared/assessmentsresults_value.rb +5 -3
  45. data/lib/stack_one/models/shared/assignment.rb +54 -0
  46. data/lib/stack_one/models/shared/{completionresult.rb → assignmentresult.rb} +3 -3
  47. data/lib/stack_one/models/shared/assignmentspaginated.rb +30 -0
  48. data/lib/stack_one/models/shared/{employeecustomfields_type.rb → assignmentstatusenum.rb} +4 -4
  49. data/lib/stack_one/models/shared/atsdocumentapimodel.rb +5 -2
  50. data/lib/stack_one/models/shared/campaign.rb +2 -2
  51. data/lib/stack_one/models/shared/candidatecustomfields.rb +2 -11
  52. data/lib/stack_one/models/shared/channelsenum.rb +2 -2
  53. data/lib/stack_one/models/shared/channelsenum_value.rb +24 -0
  54. data/lib/stack_one/models/shared/completion.rb +4 -10
  55. data/lib/stack_one/models/shared/{candidatecustomfields_type.rb → completion_result.rb} +4 -4
  56. data/lib/stack_one/models/shared/completionspaginated.rb +30 -0
  57. data/lib/stack_one/models/shared/contactscustomfields.rb +2 -11
  58. data/lib/stack_one/models/shared/contentblock_schemas_value.rb +3 -0
  59. data/lib/stack_one/models/shared/contentblock_value.rb +3 -1
  60. data/lib/stack_one/models/shared/course.rb +72 -0
  61. data/lib/stack_one/models/shared/course_schemas_value.rb +20 -0
  62. data/lib/stack_one/models/shared/{applicationcustomfields_type.rb → course_type.rb} +4 -4
  63. data/lib/stack_one/models/shared/course_value.rb +19 -0
  64. data/lib/stack_one/models/shared/coursepaginated.rb +33 -0
  65. data/lib/stack_one/models/shared/courseresult.rb +27 -0
  66. data/lib/stack_one/models/shared/customfielddefinition_value.rb +5 -0
  67. data/lib/stack_one/models/shared/customfielddefinitionresultapimodel.rb +27 -0
  68. data/lib/stack_one/models/shared/customfielddefinitionspaginated.rb +2 -2
  69. data/lib/stack_one/models/shared/document.rb +5 -2
  70. data/lib/stack_one/models/shared/employeecustomfields.rb +2 -11
  71. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb +5 -2
  72. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_work_location.rb +5 -2
  73. data/lib/stack_one/models/shared/hrisdocumentapimodel.rb +5 -2
  74. data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto.rb +5 -2
  75. data/lib/stack_one/models/shared/iamuser_avatar.rb +5 -2
  76. data/lib/stack_one/models/shared/job.rb +3 -3
  77. data/lib/stack_one/models/shared/jobposting_content.rb +5 -2
  78. data/lib/stack_one/models/shared/{patchaccountdto.rb → label.rb} +1 -1
  79. data/lib/stack_one/models/shared/linkedaccount.rb +2 -2
  80. data/lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb +2 -11
  81. data/lib/stack_one/models/shared/patchaccountexternaldto.rb +51 -0
  82. data/lib/stack_one/models/shared/patchaccountexternaldto_credentials.rb +20 -0
  83. data/lib/stack_one/models/shared/patchaccountexternaldto_setup_information.rb +20 -0
  84. data/lib/stack_one/models/shared/result.rb +5 -5
  85. data/lib/stack_one/models/shared/secrets.rb +20 -0
  86. data/lib/stack_one/models/shared/skills.rb +33 -0
  87. data/lib/stack_one/models/shared/status.rb +14 -9
  88. data/lib/stack_one/models/shared/statusreason.rb +30 -0
  89. data/lib/stack_one/models/shared/unifieduploadrequestdto.rb +5 -2
  90. data/lib/stack_one/models/shared/value.rb +4 -8
  91. data/lib/stack_one/models/shared/workeligibility_document.rb +5 -2
  92. data/lib/stack_one/models/shared.rb +34 -23
  93. data/lib/stack_one/sdkconfiguration.rb +3 -3
  94. metadata +49 -16
  95. data/lib/stack_one/models/shared/applicationcustomfields_value.rb +0 -23
  96. data/lib/stack_one/models/shared/campaign_status.rb +0 -27
  97. data/lib/stack_one/models/shared/candidatecustomfields_value.rb +0 -23
  98. data/lib/stack_one/models/shared/contactscustomfields_value.rb +0 -23
  99. data/lib/stack_one/models/shared/user.rb +0 -42
@@ -9,9 +9,14 @@ module StackOne
9
9
  autoload :SetupInformation, 'stack_one/models/shared/setup_information.rb'
10
10
  autoload :LinkedAccountStatus, 'stack_one/models/shared/linkedaccount_status.rb'
11
11
  autoload :LinkedAccount, 'stack_one/models/shared/linkedaccount.rb'
12
+ autoload :StatusReason, 'stack_one/models/shared/statusreason.rb'
12
13
  autoload :LinkedAccountMetaCategory, 'stack_one/models/shared/linkedaccountmeta_category.rb'
13
14
  autoload :LinkedAccountMeta, 'stack_one/models/shared/linkedaccountmeta.rb'
14
- autoload :PatchAccountDto, 'stack_one/models/shared/patchaccountdto.rb'
15
+ autoload :PatchAccountExternalDtoCredentials, 'stack_one/models/shared/patchaccountexternaldto_credentials.rb'
16
+ autoload :Label, 'stack_one/models/shared/label.rb'
17
+ autoload :Secrets, 'stack_one/models/shared/secrets.rb'
18
+ autoload :PatchAccountExternalDtoSetupInformation, 'stack_one/models/shared/patchaccountexternaldto_setup_information.rb'
19
+ autoload :PatchAccountExternalDto, 'stack_one/models/shared/patchaccountexternaldto.rb'
15
20
  autoload :Categories, 'stack_one/models/shared/categories.rb'
16
21
  autoload :ConnectSession, 'stack_one/models/shared/connectsession.rb'
17
22
  autoload :ConnectSessionAuthenticate, 'stack_one/models/shared/connectsessionauthenticate.rb'
@@ -36,8 +41,6 @@ module StackOne
36
41
  autoload :Type, 'stack_one/models/shared/type.rb'
37
42
  autoload :Answer, 'stack_one/models/shared/answer.rb'
38
43
  autoload :SocialLink, 'stack_one/models/shared/sociallink.rb'
39
- autoload :CandidateCustomFieldsValue, 'stack_one/models/shared/candidatecustomfields_value.rb'
40
- autoload :CandidateCustomFieldsType, 'stack_one/models/shared/candidatecustomfields_type.rb'
41
44
  autoload :CandidateCustomFields, 'stack_one/models/shared/candidatecustomfields.rb'
42
45
  autoload :AtsCreateCandidateRequestDto, 'stack_one/models/shared/atscreatecandidaterequestdto.rb'
43
46
  autoload :AtsCreateNotesRequestDtoValue, 'stack_one/models/shared/atscreatenotesrequestdto_value.rb'
@@ -69,8 +72,6 @@ module StackOne
69
72
  autoload :ContentValue, 'stack_one/models/shared/content_value.rb'
70
73
  autoload :ContentFileFormat, 'stack_one/models/shared/content_file_format.rb'
71
74
  autoload :Content, 'stack_one/models/shared/content.rb'
72
- autoload :ApplicationCustomFieldsValue, 'stack_one/models/shared/applicationcustomfields_value.rb'
73
- autoload :ApplicationCustomFieldsType, 'stack_one/models/shared/applicationcustomfields_type.rb'
74
75
  autoload :ApplicationCustomFields, 'stack_one/models/shared/applicationcustomfields.rb'
75
76
  autoload :PhoneNumberType, 'stack_one/models/shared/phonenumber_type.rb'
76
77
  autoload :PhoneNumber, 'stack_one/models/shared/phonenumber.rb'
@@ -78,6 +79,10 @@ module StackOne
78
79
  autoload :ApplicationAttachmentValue, 'stack_one/models/shared/applicationattachment_value.rb'
79
80
  autoload :ContentType, 'stack_one/models/shared/content_type.rb'
80
81
  autoload :ApplicationAttachment, 'stack_one/models/shared/applicationattachment.rb'
82
+ autoload :CustomFieldDefinitionResultApiModel, 'stack_one/models/shared/customfielddefinitionresultapimodel.rb'
83
+ autoload :CustomFieldDefinitionValue, 'stack_one/models/shared/customfielddefinition_value.rb'
84
+ autoload :CustomFieldDefinitionType, 'stack_one/models/shared/customfielddefinition_type.rb'
85
+ autoload :CustomFieldDefinition, 'stack_one/models/shared/customfielddefinition.rb'
81
86
  autoload :AtsDocumentResult, 'stack_one/models/shared/atsdocumentresult.rb'
82
87
  autoload :OffersResult, 'stack_one/models/shared/offersresult.rb'
83
88
  autoload :OfferValue, 'stack_one/models/shared/offer_value.rb'
@@ -103,12 +108,13 @@ module StackOne
103
108
  autoload :AssessmentsPackagesType, 'stack_one/models/shared/assessmentspackages_type.rb'
104
109
  autoload :AssessmentsPackages, 'stack_one/models/shared/assessmentspackages.rb'
105
110
  autoload :AssessmentsResultsResult, 'stack_one/models/shared/assessmentsresultsresult.rb'
106
- autoload :AssessmentsResultsValue, 'stack_one/models/shared/assessmentsresults_value.rb'
111
+ autoload :AssessmentsResultsSchemasValue, 'stack_one/models/shared/assessmentsresults_schemas_value.rb'
107
112
  autoload :AssessmentsResultsContentType, 'stack_one/models/shared/assessmentsresults_content_type.rb'
108
113
  autoload :Attachments, 'stack_one/models/shared/attachments.rb'
109
114
  autoload :AssessmentsResultsCandidate, 'stack_one/models/shared/assessmentsresults_candidate.rb'
115
+ autoload :AssessmentsResultsValue, 'stack_one/models/shared/assessmentsresults_value.rb'
116
+ autoload :Result, 'stack_one/models/shared/result.rb'
110
117
  autoload :Score, 'stack_one/models/shared/score.rb'
111
- autoload :Status, 'stack_one/models/shared/status.rb'
112
118
  autoload :AssessmentsResults, 'stack_one/models/shared/assessmentsresults.rb'
113
119
  autoload :CandidateResult, 'stack_one/models/shared/candidateresult.rb'
114
120
  autoload :Candidate, 'stack_one/models/shared/candidate.rb'
@@ -165,9 +171,6 @@ module StackOne
165
171
  autoload :UserResult, 'stack_one/models/shared/userresult.rb'
166
172
  autoload :LmsUser, 'stack_one/models/shared/lmsuser.rb'
167
173
  autoload :CustomFieldDefinitionsPaginated, 'stack_one/models/shared/customfielddefinitionspaginated.rb'
168
- autoload :CustomFieldDefinitionValue, 'stack_one/models/shared/customfielddefinition_value.rb'
169
- autoload :CustomFieldDefinitionType, 'stack_one/models/shared/customfielddefinition_type.rb'
170
- autoload :CustomFieldDefinition, 'stack_one/models/shared/customfielddefinition.rb'
171
174
  autoload :AtsDocumentsPaginated, 'stack_one/models/shared/atsdocumentspaginated.rb'
172
175
  autoload :ScorecardsPaginated, 'stack_one/models/shared/scorecardspaginated.rb'
173
176
  autoload :ApplicationsPaginated, 'stack_one/models/shared/applicationspaginated.rb'
@@ -203,8 +206,6 @@ module StackOne
203
206
  autoload :UnifiedUploadRequestDto, 'stack_one/models/shared/unifieduploadrequestdto.rb'
204
207
  autoload :ContactResult, 'stack_one/models/shared/contactresult.rb'
205
208
  autoload :Contact, 'stack_one/models/shared/contact.rb'
206
- autoload :ContactsCustomFieldsValue, 'stack_one/models/shared/contactscustomfields_value.rb'
207
- autoload :ContactsCustomFieldsType, 'stack_one/models/shared/contactscustomfields_type.rb'
208
209
  autoload :ContactsCustomFields, 'stack_one/models/shared/contactscustomfields.rb'
209
210
  autoload :CrmCreateContactRequestDto, 'stack_one/models/shared/crmcreatecontactrequestdto.rb'
210
211
  autoload :AccountResult, 'stack_one/models/shared/accountresult.rb'
@@ -251,8 +252,6 @@ module StackOne
251
252
  autoload :EmploymentSchemasPayPeriodValue, 'stack_one/models/shared/employment_schemas_pay_period_value.rb'
252
253
  autoload :PayPeriod, 'stack_one/models/shared/pay_period.rb'
253
254
  autoload :Employment, 'stack_one/models/shared/employment.rb'
254
- autoload :EmployeeCustomFieldsValue, 'stack_one/models/shared/employeecustomfields_value.rb'
255
- autoload :EmployeeCustomFieldsType, 'stack_one/models/shared/employeecustomfields_type.rb'
256
255
  autoload :EmployeeCustomFields, 'stack_one/models/shared/employeecustomfields.rb'
257
256
  autoload :CountryCodeEnumValue, 'stack_one/models/shared/countrycodeenum_value.rb'
258
257
  autoload :CountryCodeEnum, 'stack_one/models/shared/countrycodeenum.rb'
@@ -326,6 +325,7 @@ module StackOne
326
325
  autoload :HrisDocumentApiModel, 'stack_one/models/shared/hrisdocumentapimodel.rb'
327
326
  autoload :ReferenceResult, 'stack_one/models/shared/referenceresult.rb'
328
327
  autoload :Reference, 'stack_one/models/shared/reference.rb'
328
+ autoload :EmploymentResult, 'stack_one/models/shared/employmentresult.rb'
329
329
  autoload :TimeOffResult, 'stack_one/models/shared/timeoffresult.rb'
330
330
  autoload :TimeOffValue, 'stack_one/models/shared/timeoff_value.rb'
331
331
  autoload :TimeOffStatus, 'stack_one/models/shared/timeoff_status.rb'
@@ -342,7 +342,6 @@ module StackOne
342
342
  autoload :WorkEligibilitySchemasValue, 'stack_one/models/shared/workeligibility_schemas_value.rb'
343
343
  autoload :WorkEligibilityType, 'stack_one/models/shared/workeligibility_type.rb'
344
344
  autoload :WorkEligibility, 'stack_one/models/shared/workeligibility.rb'
345
- autoload :EmploymentResult, 'stack_one/models/shared/employmentresult.rb'
346
345
  autoload :HRISGroupsResult, 'stack_one/models/shared/hrisgroupsresult.rb'
347
346
  autoload :HRISLocationResult, 'stack_one/models/shared/hrislocationresult.rb'
348
347
  autoload :HRISLocationValue, 'stack_one/models/shared/hrislocation_value.rb'
@@ -355,10 +354,10 @@ module StackOne
355
354
  autoload :HRISDepartmentsPaginated, 'stack_one/models/shared/hrisdepartmentspaginated.rb'
356
355
  autoload :ReferencePaginated, 'stack_one/models/shared/referencepaginated.rb'
357
356
  autoload :HrisDocumentsPaginated, 'stack_one/models/shared/hrisdocumentspaginated.rb'
357
+ autoload :EmploymentsPaginated, 'stack_one/models/shared/employmentspaginated.rb'
358
358
  autoload :TimeOffPaginated, 'stack_one/models/shared/timeoffpaginated.rb'
359
359
  autoload :WorkEligibilityPaginated, 'stack_one/models/shared/workeligibilitypaginated.rb'
360
360
  autoload :EmployeesPaginated, 'stack_one/models/shared/employeespaginated.rb'
361
- autoload :EmploymentsPaginated, 'stack_one/models/shared/employmentspaginated.rb'
362
361
  autoload :HRISGroupsPaginated, 'stack_one/models/shared/hrisgroupspaginated.rb'
363
362
  autoload :HRISLocationsPaginated, 'stack_one/models/shared/hrislocationspaginated.rb'
364
363
  autoload :HrisDocumentsUploadRequestDtoValue, 'stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb'
@@ -400,7 +399,6 @@ module StackOne
400
399
  autoload :IamUsersPaginated, 'stack_one/models/shared/iamuserspaginated.rb'
401
400
  autoload :LmsCreateCompletionRequestDtoValue, 'stack_one/models/shared/lmscreatecompletionrequestdto_value.rb'
402
401
  autoload :LmsCreateCompletionRequestDtoResult, 'stack_one/models/shared/lmscreatecompletionrequestdto_result.rb'
403
- autoload :User, 'stack_one/models/shared/user.rb'
404
402
  autoload :LmsCreateCompletionRequestDto, 'stack_one/models/shared/lmscreatecompletionrequestdto.rb'
405
403
  autoload :LmsCreateContentRequestDtoValue, 'stack_one/models/shared/lmscreatecontentrequestdto_value.rb'
406
404
  autoload :LmsCreateContentRequestDtoContentType, 'stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb'
@@ -408,15 +406,28 @@ module StackOne
408
406
  autoload :ContentLanguageEnumValue, 'stack_one/models/shared/contentlanguageenum_value.rb'
409
407
  autoload :ContentLanguageEnum, 'stack_one/models/shared/contentlanguageenum.rb'
410
408
  autoload :CreateCategoriesApiModel, 'stack_one/models/shared/createcategoriesapimodel.rb'
409
+ autoload :AssignmentResult, 'stack_one/models/shared/assignmentresult.rb'
410
+ autoload :Assignment, 'stack_one/models/shared/assignment.rb'
411
+ autoload :Value, 'stack_one/models/shared/value.rb'
412
+ autoload :AssignmentStatusEnum, 'stack_one/models/shared/assignmentstatusenum.rb'
411
413
  autoload :CategoryResult, 'stack_one/models/shared/categoryresult.rb'
412
414
  autoload :Category, 'stack_one/models/shared/category.rb'
413
- autoload :CompletionResult, 'stack_one/models/shared/completionresult.rb'
414
- autoload :CompletionValue, 'stack_one/models/shared/completion_value.rb'
415
- autoload :Result, 'stack_one/models/shared/result.rb'
416
- autoload :Completion, 'stack_one/models/shared/completion.rb'
417
415
  autoload :ContentResult, 'stack_one/models/shared/contentresult.rb'
416
+ autoload :CourseResult, 'stack_one/models/shared/courseresult.rb'
417
+ autoload :CourseValue, 'stack_one/models/shared/course_value.rb'
418
+ autoload :Active, 'stack_one/models/shared/active.rb'
419
+ autoload :CourseSchemasValue, 'stack_one/models/shared/course_schemas_value.rb'
420
+ autoload :CourseType, 'stack_one/models/shared/course_type.rb'
421
+ autoload :Course, 'stack_one/models/shared/course.rb'
422
+ autoload :Skills, 'stack_one/models/shared/skills.rb'
423
+ autoload :AssignmentsPaginated, 'stack_one/models/shared/assignmentspaginated.rb'
418
424
  autoload :CategoriesPaginated, 'stack_one/models/shared/categoriespaginated.rb'
425
+ autoload :CompletionsPaginated, 'stack_one/models/shared/completionspaginated.rb'
426
+ autoload :CompletionValue, 'stack_one/models/shared/completion_value.rb'
427
+ autoload :CompletionResult, 'stack_one/models/shared/completion_result.rb'
428
+ autoload :Completion, 'stack_one/models/shared/completion.rb'
419
429
  autoload :ContentPaginated, 'stack_one/models/shared/contentpaginated.rb'
430
+ autoload :CoursePaginated, 'stack_one/models/shared/coursepaginated.rb'
420
431
  autoload :LmsUpsertContentRequestDtoValue, 'stack_one/models/shared/lmsupsertcontentrequestdto_value.rb'
421
432
  autoload :LmsUpsertContentRequestDtoContentType, 'stack_one/models/shared/lmsupsertcontentrequestdto_content_type.rb'
422
433
  autoload :LmsUpsertContentRequestDto, 'stack_one/models/shared/lmsupsertcontentrequestdto.rb'
@@ -449,9 +460,9 @@ module StackOne
449
460
  autoload :CampaignValue, 'stack_one/models/shared/campaign_value.rb'
450
461
  autoload :ScheduleType, 'stack_one/models/shared/schedule_type.rb'
451
462
  autoload :CampaignSchemasValue, 'stack_one/models/shared/campaign_schemas_value.rb'
452
- autoload :CampaignStatus, 'stack_one/models/shared/campaign_status.rb'
463
+ autoload :Status, 'stack_one/models/shared/status.rb'
453
464
  autoload :Campaign, 'stack_one/models/shared/campaign.rb'
454
- autoload :Value, 'stack_one/models/shared/value.rb'
465
+ autoload :ChannelsEnumValue, 'stack_one/models/shared/channelsenum_value.rb'
455
466
  autoload :ChannelsEnum, 'stack_one/models/shared/channelsenum.rb'
456
467
  autoload :ContentBlocksPaginated, 'stack_one/models/shared/contentblockspaginated.rb'
457
468
  autoload :ContentBlockValue, 'stack_one/models/shared/contentblock_value.rb'
@@ -38,9 +38,9 @@ module StackOne
38
38
  @security = security
39
39
  @language = 'ruby'
40
40
  @openapi_doc_version = '1.0.0'
41
- @sdk_version = '0.2.36'
42
- @gen_version = '2.385.1'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.36 2.385.1 1.0.0 stackone_client'
41
+ @sdk_version = '0.2.37'
42
+ @gen_version = '2.404.3'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.37 2.404.3 1.0.0 stackone_client'
44
44
  end
45
45
 
46
46
  sig { returns([String, T::Hash[Symbol, String]]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stackone_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.36
4
+ version: 0.2.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-05 00:00:00.000000000 Z
11
+ date: 2024-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -162,6 +162,8 @@ files:
162
162
  - lib/stack_one/models/operations/ats_create_offer_response.rb
163
163
  - lib/stack_one/models/operations/ats_download_application_document_request.rb
164
164
  - lib/stack_one/models/operations/ats_download_application_document_response.rb
165
+ - lib/stack_one/models/operations/ats_get_application_custom_field_definition_request.rb
166
+ - lib/stack_one/models/operations/ats_get_application_custom_field_definition_response.rb
165
167
  - lib/stack_one/models/operations/ats_get_application_document_request.rb
166
168
  - lib/stack_one/models/operations/ats_get_application_document_response.rb
167
169
  - lib/stack_one/models/operations/ats_get_application_offer_request.rb
@@ -178,6 +180,8 @@ files:
178
180
  - lib/stack_one/models/operations/ats_get_assessments_request_response.rb
179
181
  - lib/stack_one/models/operations/ats_get_assessments_result_request.rb
180
182
  - lib/stack_one/models/operations/ats_get_assessments_result_response.rb
183
+ - lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_request.rb
184
+ - lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_response.rb
181
185
  - lib/stack_one/models/operations/ats_get_candidate_note_request.rb
182
186
  - lib/stack_one/models/operations/ats_get_candidate_note_response.rb
183
187
  - lib/stack_one/models/operations/ats_get_candidate_request.rb
@@ -202,8 +206,10 @@ files:
202
206
  - lib/stack_one/models/operations/ats_get_rejected_reason_response.rb
203
207
  - lib/stack_one/models/operations/ats_get_user_request.rb
204
208
  - lib/stack_one/models/operations/ats_get_user_response.rb
209
+ - lib/stack_one/models/operations/ats_list_application_custom_field_definitions_queryparam_filter.rb
205
210
  - lib/stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb
206
211
  - lib/stack_one/models/operations/ats_list_application_custom_field_definitions_response.rb
212
+ - lib/stack_one/models/operations/ats_list_application_documents_queryparam_filter.rb
207
213
  - lib/stack_one/models/operations/ats_list_application_documents_request.rb
208
214
  - lib/stack_one/models/operations/ats_list_application_documents_response.rb
209
215
  - lib/stack_one/models/operations/ats_list_application_scorecards_queryparam_filter.rb
@@ -306,6 +312,8 @@ files:
306
312
  - lib/stack_one/models/operations/hris_get_employee_document_category_response.rb
307
313
  - lib/stack_one/models/operations/hris_get_employee_document_request.rb
308
314
  - lib/stack_one/models/operations/hris_get_employee_document_response.rb
315
+ - lib/stack_one/models/operations/hris_get_employee_employment_request.rb
316
+ - lib/stack_one/models/operations/hris_get_employee_employment_response.rb
309
317
  - lib/stack_one/models/operations/hris_get_employee_request.rb
310
318
  - lib/stack_one/models/operations/hris_get_employee_response.rb
311
319
  - lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb
@@ -337,6 +345,9 @@ files:
337
345
  - lib/stack_one/models/operations/hris_list_employee_documents_queryparam_filter.rb
338
346
  - lib/stack_one/models/operations/hris_list_employee_documents_request.rb
339
347
  - lib/stack_one/models/operations/hris_list_employee_documents_response.rb
348
+ - lib/stack_one/models/operations/hris_list_employee_employments_queryparam_filter.rb
349
+ - lib/stack_one/models/operations/hris_list_employee_employments_request.rb
350
+ - lib/stack_one/models/operations/hris_list_employee_employments_response.rb
340
351
  - lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb
341
352
  - lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb
342
353
  - lib/stack_one/models/operations/hris_list_employee_time_off_requests_response.rb
@@ -393,20 +404,31 @@ files:
393
404
  - lib/stack_one/models/operations/lms_create_completion_response.rb
394
405
  - lib/stack_one/models/operations/lms_create_content_request.rb
395
406
  - lib/stack_one/models/operations/lms_create_content_response.rb
407
+ - lib/stack_one/models/operations/lms_get_assignment_request.rb
408
+ - lib/stack_one/models/operations/lms_get_assignment_response.rb
396
409
  - lib/stack_one/models/operations/lms_get_category_request.rb
397
410
  - lib/stack_one/models/operations/lms_get_category_response.rb
398
- - lib/stack_one/models/operations/lms_get_completion_request.rb
399
- - lib/stack_one/models/operations/lms_get_completion_response.rb
400
411
  - lib/stack_one/models/operations/lms_get_content_request.rb
401
412
  - lib/stack_one/models/operations/lms_get_content_response.rb
413
+ - lib/stack_one/models/operations/lms_get_course_request.rb
414
+ - lib/stack_one/models/operations/lms_get_course_response.rb
402
415
  - lib/stack_one/models/operations/lms_get_user_request.rb
403
416
  - lib/stack_one/models/operations/lms_get_user_response.rb
417
+ - lib/stack_one/models/operations/lms_list_assignments_queryparam_filter.rb
418
+ - lib/stack_one/models/operations/lms_list_assignments_request.rb
419
+ - lib/stack_one/models/operations/lms_list_assignments_response.rb
404
420
  - lib/stack_one/models/operations/lms_list_categories_queryparam_filter.rb
405
421
  - lib/stack_one/models/operations/lms_list_categories_request.rb
406
422
  - lib/stack_one/models/operations/lms_list_categories_response.rb
423
+ - lib/stack_one/models/operations/lms_list_completions_queryparam_filter.rb
424
+ - lib/stack_one/models/operations/lms_list_completions_request.rb
425
+ - lib/stack_one/models/operations/lms_list_completions_response.rb
407
426
  - lib/stack_one/models/operations/lms_list_content_queryparam_filter.rb
408
427
  - lib/stack_one/models/operations/lms_list_content_request.rb
409
428
  - lib/stack_one/models/operations/lms_list_content_response.rb
429
+ - lib/stack_one/models/operations/lms_list_courses_queryparam_filter.rb
430
+ - lib/stack_one/models/operations/lms_list_courses_request.rb
431
+ - lib/stack_one/models/operations/lms_list_courses_response.rb
410
432
  - lib/stack_one/models/operations/lms_list_users_queryparam_filter.rb
411
433
  - lib/stack_one/models/operations/lms_list_users_request.rb
412
434
  - lib/stack_one/models/operations/lms_list_users_response.rb
@@ -499,6 +521,7 @@ files:
499
521
  - lib/stack_one/models/shared/accountaddress_value.rb
500
522
  - lib/stack_one/models/shared/accountresult.rb
501
523
  - lib/stack_one/models/shared/accountspaginated.rb
524
+ - lib/stack_one/models/shared/active.rb
502
525
  - lib/stack_one/models/shared/answer.rb
503
526
  - lib/stack_one/models/shared/answer_value.rb
504
527
  - lib/stack_one/models/shared/application.rb
@@ -509,8 +532,6 @@ files:
509
532
  - lib/stack_one/models/shared/applicationattachment.rb
510
533
  - lib/stack_one/models/shared/applicationattachment_value.rb
511
534
  - lib/stack_one/models/shared/applicationcustomfields.rb
512
- - lib/stack_one/models/shared/applicationcustomfields_type.rb
513
- - lib/stack_one/models/shared/applicationcustomfields_value.rb
514
535
  - lib/stack_one/models/shared/applicationresult.rb
515
536
  - lib/stack_one/models/shared/applicationspaginated.rb
516
537
  - lib/stack_one/models/shared/assessmentspackages.rb
@@ -521,8 +542,13 @@ files:
521
542
  - lib/stack_one/models/shared/assessmentsresults.rb
522
543
  - lib/stack_one/models/shared/assessmentsresults_candidate.rb
523
544
  - lib/stack_one/models/shared/assessmentsresults_content_type.rb
545
+ - lib/stack_one/models/shared/assessmentsresults_schemas_value.rb
524
546
  - lib/stack_one/models/shared/assessmentsresults_value.rb
525
547
  - lib/stack_one/models/shared/assessmentsresultsresult.rb
548
+ - lib/stack_one/models/shared/assignment.rb
549
+ - lib/stack_one/models/shared/assignmentresult.rb
550
+ - lib/stack_one/models/shared/assignmentspaginated.rb
551
+ - lib/stack_one/models/shared/assignmentstatusenum.rb
526
552
  - lib/stack_one/models/shared/atscreateapplicationrequestdto.rb
527
553
  - lib/stack_one/models/shared/atscreateapplicationrequestdto_application_status.rb
528
554
  - lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb
@@ -553,14 +579,11 @@ files:
553
579
  - lib/stack_one/models/shared/benefit_type.rb
554
580
  - lib/stack_one/models/shared/campaign.rb
555
581
  - lib/stack_one/models/shared/campaign_schemas_value.rb
556
- - lib/stack_one/models/shared/campaign_status.rb
557
582
  - lib/stack_one/models/shared/campaign_value.rb
558
583
  - lib/stack_one/models/shared/campaignresult.rb
559
584
  - lib/stack_one/models/shared/campaignspaginated.rb
560
585
  - lib/stack_one/models/shared/candidate.rb
561
586
  - lib/stack_one/models/shared/candidatecustomfields.rb
562
- - lib/stack_one/models/shared/candidatecustomfields_type.rb
563
- - lib/stack_one/models/shared/candidatecustomfields_value.rb
564
587
  - lib/stack_one/models/shared/candidateemail.rb
565
588
  - lib/stack_one/models/shared/candidateresult.rb
566
589
  - lib/stack_one/models/shared/candidatespaginated.rb
@@ -569,12 +592,14 @@ files:
569
592
  - lib/stack_one/models/shared/category.rb
570
593
  - lib/stack_one/models/shared/categoryresult.rb
571
594
  - lib/stack_one/models/shared/channelsenum.rb
595
+ - lib/stack_one/models/shared/channelsenum_value.rb
572
596
  - lib/stack_one/models/shared/companiespaginated.rb
573
597
  - lib/stack_one/models/shared/company.rb
574
598
  - lib/stack_one/models/shared/companyresult.rb
575
599
  - lib/stack_one/models/shared/completion.rb
600
+ - lib/stack_one/models/shared/completion_result.rb
576
601
  - lib/stack_one/models/shared/completion_value.rb
577
- - lib/stack_one/models/shared/completionresult.rb
602
+ - lib/stack_one/models/shared/completionspaginated.rb
578
603
  - lib/stack_one/models/shared/confidential.rb
579
604
  - lib/stack_one/models/shared/connectorsmeta.rb
580
605
  - lib/stack_one/models/shared/connectorsmeta_category.rb
@@ -587,8 +612,6 @@ files:
587
612
  - lib/stack_one/models/shared/contact.rb
588
613
  - lib/stack_one/models/shared/contactresult.rb
589
614
  - lib/stack_one/models/shared/contactscustomfields.rb
590
- - lib/stack_one/models/shared/contactscustomfields_type.rb
591
- - lib/stack_one/models/shared/contactscustomfields_value.rb
592
615
  - lib/stack_one/models/shared/contactspaginated.rb
593
616
  - lib/stack_one/models/shared/content.rb
594
617
  - lib/stack_one/models/shared/content_file_format.rb
@@ -608,6 +631,12 @@ files:
608
631
  - lib/stack_one/models/shared/country.rb
609
632
  - lib/stack_one/models/shared/countrycodeenum.rb
610
633
  - lib/stack_one/models/shared/countrycodeenum_value.rb
634
+ - lib/stack_one/models/shared/course.rb
635
+ - lib/stack_one/models/shared/course_schemas_value.rb
636
+ - lib/stack_one/models/shared/course_type.rb
637
+ - lib/stack_one/models/shared/course_value.rb
638
+ - lib/stack_one/models/shared/coursepaginated.rb
639
+ - lib/stack_one/models/shared/courseresult.rb
611
640
  - lib/stack_one/models/shared/createcategoriesapimodel.rb
612
641
  - lib/stack_one/models/shared/createresult.rb
613
642
  - lib/stack_one/models/shared/createresultdataapimodel.rb
@@ -616,6 +645,7 @@ files:
616
645
  - lib/stack_one/models/shared/customfielddefinition.rb
617
646
  - lib/stack_one/models/shared/customfielddefinition_type.rb
618
647
  - lib/stack_one/models/shared/customfielddefinition_value.rb
648
+ - lib/stack_one/models/shared/customfielddefinitionresultapimodel.rb
619
649
  - lib/stack_one/models/shared/customfielddefinitionspaginated.rb
620
650
  - lib/stack_one/models/shared/department.rb
621
651
  - lib/stack_one/models/shared/departmentresult.rb
@@ -643,8 +673,6 @@ files:
643
673
  - lib/stack_one/models/shared/employee_type.rb
644
674
  - lib/stack_one/models/shared/employee_value.rb
645
675
  - lib/stack_one/models/shared/employeecustomfields.rb
646
- - lib/stack_one/models/shared/employeecustomfields_type.rb
647
- - lib/stack_one/models/shared/employeecustomfields_value.rb
648
676
  - lib/stack_one/models/shared/employeeresult.rb
649
677
  - lib/stack_one/models/shared/employeespaginated.rb
650
678
  - lib/stack_one/models/shared/employment.rb
@@ -816,6 +844,7 @@ files:
816
844
  - lib/stack_one/models/shared/jobpostingspaginated.rb
817
845
  - lib/stack_one/models/shared/jobresult.rb
818
846
  - lib/stack_one/models/shared/jobspaginated.rb
847
+ - lib/stack_one/models/shared/label.rb
819
848
  - lib/stack_one/models/shared/linkedaccount.rb
820
849
  - lib/stack_one/models/shared/linkedaccount_status.rb
821
850
  - lib/stack_one/models/shared/linkedaccountmeta.rb
@@ -866,7 +895,9 @@ files:
866
895
  - lib/stack_one/models/shared/offerspaginated.rb
867
896
  - lib/stack_one/models/shared/offersresult.rb
868
897
  - lib/stack_one/models/shared/overall_recommendation.rb
869
- - lib/stack_one/models/shared/patchaccountdto.rb
898
+ - lib/stack_one/models/shared/patchaccountexternaldto.rb
899
+ - lib/stack_one/models/shared/patchaccountexternaldto_credentials.rb
900
+ - lib/stack_one/models/shared/patchaccountexternaldto_setup_information.rb
870
901
  - lib/stack_one/models/shared/pay_frequency.rb
871
902
  - lib/stack_one/models/shared/pay_period.rb
872
903
  - lib/stack_one/models/shared/phonenumber.rb
@@ -908,8 +939,10 @@ files:
908
939
  - lib/stack_one/models/shared/scorecardsection.rb
909
940
  - lib/stack_one/models/shared/scorecardspaginated.rb
910
941
  - lib/stack_one/models/shared/scorecardsresult.rb
942
+ - lib/stack_one/models/shared/secrets.rb
911
943
  - lib/stack_one/models/shared/security.rb
912
944
  - lib/stack_one/models/shared/setup_information.rb
945
+ - lib/stack_one/models/shared/skills.rb
913
946
  - lib/stack_one/models/shared/smsmessages.rb
914
947
  - lib/stack_one/models/shared/smsmessages_message_content.rb
915
948
  - lib/stack_one/models/shared/smsmessages_message_type.rb
@@ -918,6 +951,7 @@ files:
918
951
  - lib/stack_one/models/shared/source.rb
919
952
  - lib/stack_one/models/shared/state.rb
920
953
  - lib/stack_one/models/shared/status.rb
954
+ - lib/stack_one/models/shared/statusreason.rb
921
955
  - lib/stack_one/models/shared/template.rb
922
956
  - lib/stack_one/models/shared/templateresult.rb
923
957
  - lib/stack_one/models/shared/templatespaginated.rb
@@ -936,7 +970,6 @@ files:
936
970
  - lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb
937
971
  - lib/stack_one/models/shared/unifieduploadrequestdto_value.rb
938
972
  - lib/stack_one/models/shared/updateresult.rb
939
- - lib/stack_one/models/shared/user.rb
940
973
  - lib/stack_one/models/shared/userresult.rb
941
974
  - lib/stack_one/models/shared/userspaginated.rb
942
975
  - lib/stack_one/models/shared/value.rb
@@ -1,23 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Shared
9
-
10
-
11
- class ApplicationCustomFieldsValue < T::Enum
12
- enums do
13
- DATE = new('date')
14
- FLOAT = new('float')
15
- INTEGER = new('integer')
16
- LIST = new('list')
17
- CHECKBOX = new('checkbox')
18
- TEXT = new('text')
19
- end
20
- end
21
-
22
- end
23
- end
@@ -1,27 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Shared
9
-
10
- # Status of the Campaign
11
- class CampaignStatus < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
- # The source value of the Status.
15
- field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
16
- # The Status of the campaign.
17
- field :value, T.nilable(::StackOne::Shared::CampaignSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CampaignSchemasValue, true) } }
18
-
19
-
20
- sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::CampaignSchemasValue)).void }
21
- def initialize(source_value: nil, value: nil)
22
- @source_value = source_value
23
- @value = value
24
- end
25
- end
26
- end
27
- end
@@ -1,23 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Shared
9
-
10
-
11
- class CandidateCustomFieldsValue < T::Enum
12
- enums do
13
- DATE = new('date')
14
- FLOAT = new('float')
15
- INTEGER = new('integer')
16
- LIST = new('list')
17
- CHECKBOX = new('checkbox')
18
- TEXT = new('text')
19
- end
20
- end
21
-
22
- end
23
- end
@@ -1,23 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Shared
9
-
10
-
11
- class ContactsCustomFieldsValue < T::Enum
12
- enums do
13
- DATE = new('date')
14
- FLOAT = new('float')
15
- INTEGER = new('integer')
16
- LIST = new('list')
17
- CHECKBOX = new('checkbox')
18
- TEXT = new('text')
19
- end
20
- end
21
-
22
- end
23
- end
@@ -1,42 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Shared
9
-
10
- # The user associated with this completion
11
- class User < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
- # The date the user was created
15
- field :created_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at') } }
16
- # The email of the user
17
- field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
18
- # The user ID
19
- field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
20
- # The name of the user
21
- field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
22
- # The phone number of the user
23
- field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
24
- # Provider's unique identifier
25
- field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
26
- # The date the user was last updated
27
- field :updated_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at') } }
28
-
29
-
30
- sig { params(created_at: T.nilable(::String), email: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), phone_number: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::String)).void }
31
- def initialize(created_at: nil, email: nil, id: nil, name: nil, phone_number: nil, remote_id: nil, updated_at: nil)
32
- @created_at = created_at
33
- @email = email
34
- @id = id
35
- @name = name
36
- @phone_number = phone_number
37
- @remote_id = remote_id
38
- @updated_at = updated_at
39
- end
40
- end
41
- end
42
- end