stackone_client 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/lms.rb +17 -58
  3. data/lib/stack_one/marketing.rb +18 -18
  4. data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_request.rb +2 -7
  5. data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_request.rb +2 -7
  6. data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_request.rb +2 -7
  7. data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb +2 -7
  8. data/lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_request.rb +2 -7
  9. data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_request.rb +2 -7
  10. data/lib/stack_one/models/operations/crm_get_contact_custom_field_definition_request.rb +2 -7
  11. data/lib/stack_one/models/operations/crm_list_contact_custom_field_definitions_request.rb +2 -7
  12. data/lib/stack_one/models/operations/lms_create_collection_request.rb +27 -0
  13. data/lib/stack_one/models/operations/{lms_create_content_response.rb → lms_create_collection_response.rb} +2 -2
  14. data/lib/stack_one/models/operations/lms_update_collection_request.rb +30 -0
  15. data/lib/stack_one/models/operations/{lms_update_content_response.rb → lms_update_collection_response.rb} +2 -2
  16. data/lib/stack_one/models/operations/marketing_get_content_block_response.rb +4 -4
  17. data/lib/stack_one/models/operations/marketing_get_email_template_response.rb +4 -4
  18. data/lib/stack_one/models/operations/marketing_get_in_app_template_response.rb +4 -4
  19. data/lib/stack_one/models/operations/marketing_get_push_template_response.rb +4 -4
  20. data/lib/stack_one/models/operations/marketing_get_sms_template_response.rb +4 -4
  21. data/lib/stack_one/models/operations/marketing_list_email_templates_response.rb +4 -4
  22. data/lib/stack_one/models/operations/marketing_list_in_app_templates_response.rb +4 -4
  23. data/lib/stack_one/models/operations/marketing_list_push_templates_response.rb +4 -4
  24. data/lib/stack_one/models/operations/marketing_list_sms_templates_response.rb +4 -4
  25. data/lib/stack_one/models/operations.rb +4 -6
  26. data/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb +2 -2
  27. data/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +2 -2
  28. data/lib/stack_one/models/shared/atscreatejobrequestdto.rb +2 -2
  29. data/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb +2 -2
  30. data/lib/stack_one/models/shared/atsupdatejobrequestdto.rb +2 -2
  31. data/lib/stack_one/models/shared/candidate.rb +2 -2
  32. data/lib/stack_one/models/shared/contact.rb +2 -2
  33. data/lib/stack_one/models/shared/content_launch_method.rb +2 -2
  34. data/lib/stack_one/models/shared/contentblockresult.rb +27 -0
  35. data/lib/stack_one/models/shared/course.rb +6 -9
  36. data/lib/stack_one/models/shared/createmessage_value.rb +16 -8
  37. data/lib/stack_one/models/shared/crmcreatecontactrequestdto.rb +2 -2
  38. data/lib/stack_one/models/shared/{jobcustomfields.rb → customfields.rb} +1 -1
  39. data/lib/stack_one/models/shared/emailmessages_message_type.rb +1 -1
  40. data/lib/stack_one/models/shared/emailmessages_value.rb +16 -8
  41. data/lib/stack_one/models/shared/emailtemplate.rb +36 -0
  42. data/lib/stack_one/models/shared/emailtemplateresult.rb +27 -0
  43. data/lib/stack_one/models/shared/emailtemplatespaginated.rb +33 -0
  44. data/lib/stack_one/models/shared/employee.rb +2 -2
  45. data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +2 -2
  46. data/lib/stack_one/models/shared/inappmessages_message_type.rb +1 -1
  47. data/lib/stack_one/models/shared/inappmessages_value.rb +16 -8
  48. data/lib/stack_one/models/shared/inapptemplate.rb +36 -0
  49. data/lib/stack_one/models/shared/inapptemplateresult.rb +27 -0
  50. data/lib/stack_one/models/shared/inapptemplatespaginated.rb +33 -0
  51. data/lib/stack_one/models/shared/job.rb +2 -2
  52. data/lib/stack_one/models/shared/{contentlanguageenum.rb → languageenum.rb} +3 -3
  53. data/lib/stack_one/models/shared/{contentlanguageenum_value.rb → languageenum_value.rb} +2 -2
  54. data/lib/stack_one/models/shared/lmscreatecollectionrequestdto.rb +51 -0
  55. data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +4 -4
  56. data/lib/stack_one/models/shared/lmsupsertcourserequestdto.rb +5 -8
  57. data/lib/stack_one/models/shared/message_message_type.rb +1 -1
  58. data/lib/stack_one/models/shared/message_type.rb +1 -1
  59. data/lib/stack_one/models/shared/message_value.rb +16 -8
  60. data/lib/stack_one/models/shared/pushmessages_message_type.rb +1 -1
  61. data/lib/stack_one/models/shared/pushmessages_value.rb +16 -8
  62. data/lib/stack_one/models/shared/pushtemplate.rb +36 -0
  63. data/lib/stack_one/models/shared/pushtemplateresult.rb +27 -0
  64. data/lib/stack_one/models/shared/pushtemplatespaginated.rb +33 -0
  65. data/lib/stack_one/models/shared/smsmessages_message_type.rb +1 -1
  66. data/lib/stack_one/models/shared/smsmessages_value.rb +16 -8
  67. data/lib/stack_one/models/shared/smstemplate.rb +36 -0
  68. data/lib/stack_one/models/shared/smstemplateresult.rb +27 -0
  69. data/lib/stack_one/models/shared/smstemplatespaginated.rb +33 -0
  70. data/lib/stack_one/models/shared.rb +22 -21
  71. data/lib/stack_one/sdkconfiguration.rb +3 -3
  72. metadata +23 -24
  73. data/lib/stack_one/models/operations/lms_create_content_request.rb +0 -27
  74. data/lib/stack_one/models/operations/lms_delete_content_request.rb +0 -27
  75. data/lib/stack_one/models/operations/lms_delete_content_response.rb +0 -33
  76. data/lib/stack_one/models/operations/lms_update_content_request.rb +0 -30
  77. data/lib/stack_one/models/shared/candidatecustomfields.rb +0 -39
  78. data/lib/stack_one/models/shared/contactscustomfields.rb +0 -39
  79. data/lib/stack_one/models/shared/course_type.rb +0 -27
  80. data/lib/stack_one/models/shared/course_value.rb +0 -19
  81. data/lib/stack_one/models/shared/deleteresult.rb +0 -30
  82. data/lib/stack_one/models/shared/employeecustomfields.rb +0 -39
  83. data/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +0 -66
  84. data/lib/stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb +0 -27
  85. data/lib/stack_one/models/shared/lmscreatecontentrequestdto_schemas_value.rb +0 -19
  86. data/lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb +0 -18
  87. data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_content_launch_method.rb +0 -27
  88. data/lib/stack_one/models/shared/lmsupsertcourserequestdto_course_type.rb +0 -27
  89. data/lib/stack_one/models/shared/lmsupsertcourserequestdto_value.rb +0 -19
@@ -7,14 +7,22 @@
7
7
  module StackOne
8
8
  module Shared
9
9
 
10
- # The unified message type.
11
- class SmsMessagesValue < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
-
15
-
16
-
17
- def initialize; end
10
+ # SmsMessagesValue - The unified message type.
11
+ class SmsMessagesValue < T::Enum
12
+ enums do
13
+ EMAIL = new('email')
14
+ SMS = new('sms')
15
+ PUSH = new('push')
16
+ WEB_PUSH = new('web_push')
17
+ IOS_PUSH = new('ios_push')
18
+ ANDROID_PUSH = new('android_push')
19
+ APP_PUSH = new('app_push')
20
+ OMNI_CHANNEL = new('omni_channel')
21
+ CONTENT_BLOCK = new('content_block')
22
+ IN_APP = new('in_app')
23
+ UNKNOWN = new('unknown')
24
+ UNMAPPED_VALUE = new('unmapped_value')
25
+ end
18
26
  end
19
27
  end
20
28
  end
@@ -0,0 +1,36 @@
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 SmsTemplate < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # Unique identifier
15
+ field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
+
17
+ field :messages, T.nilable(T::Array[::StackOne::Shared::SmsMessages]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } }
18
+
19
+ field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
20
+ # Provider's unique identifier
21
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
22
+
23
+ field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
24
+
25
+
26
+ sig { params(id: T.nilable(::String), messages: T.nilable(T::Array[::StackOne::Shared::SmsMessages]), name: T.nilable(::String), remote_id: T.nilable(::String), tags: T.nilable(T::Array[::String])).void }
27
+ def initialize(id: nil, messages: nil, name: nil, remote_id: nil, tags: nil)
28
+ @id = id
29
+ @messages = messages
30
+ @name = name
31
+ @remote_id = remote_id
32
+ @tags = tags
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,27 @@
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 SmsTemplateResult < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :data, ::StackOne::Shared::SmsTemplate, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
16
+
17
+ field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
18
+
19
+
20
+ sig { params(data: ::StackOne::Shared::SmsTemplate, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
21
+ def initialize(data: nil, raw: nil)
22
+ @data = data
23
+ @raw = raw
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,33 @@
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 SmsTemplatesPaginated < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :data, T::Array[::StackOne::Shared::SmsTemplate], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
16
+
17
+ field :next_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
18
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
19
+ field :next_page, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }
20
+
21
+ field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
22
+
23
+
24
+ sig { params(data: T::Array[::StackOne::Shared::SmsTemplate], next_: T.nilable(::String), next_page: T.nilable(::String), raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
25
+ def initialize(data: nil, next_: nil, next_page: nil, raw: nil)
26
+ @data = data
27
+ @next_ = next_
28
+ @next_page = next_page
29
+ @raw = raw
30
+ end
31
+ end
32
+ end
33
+ end
@@ -41,7 +41,7 @@ module StackOne
41
41
  autoload :CreateAnswerType, 'stack_one/models/shared/createanswer_type.rb'
42
42
  autoload :CreateAnswer, 'stack_one/models/shared/createanswer.rb'
43
43
  autoload :SocialLink, 'stack_one/models/shared/sociallink.rb'
44
- autoload :CandidateCustomFields, 'stack_one/models/shared/candidatecustomfields.rb'
44
+ autoload :CustomFields, 'stack_one/models/shared/customfields.rb'
45
45
  autoload :AtsCreateCandidateRequestDto, 'stack_one/models/shared/atscreatecandidaterequestdto.rb'
46
46
  autoload :AtsCreateNotesRequestDtoValue, 'stack_one/models/shared/atscreatenotesrequestdto_value.rb'
47
47
  autoload :Visibility, 'stack_one/models/shared/visibility.rb'
@@ -53,7 +53,6 @@ module StackOne
53
53
  autoload :AtsCreateJobRequestDto, 'stack_one/models/shared/atscreatejobrequestdto.rb'
54
54
  autoload :InterviewStage, 'stack_one/models/shared/interviewstage.rb'
55
55
  autoload :JobHiringTeam, 'stack_one/models/shared/jobhiringteam.rb'
56
- autoload :JobCustomFields, 'stack_one/models/shared/jobcustomfields.rb'
57
56
  autoload :AtsCreateOfferRequestDtoValue, 'stack_one/models/shared/atscreateofferrequestdto_value.rb'
58
57
  autoload :OfferStatus, 'stack_one/models/shared/offer_status.rb'
59
58
  autoload :AtsCreateOfferRequestDto, 'stack_one/models/shared/atscreateofferrequestdto.rb'
@@ -226,7 +225,6 @@ module StackOne
226
225
  autoload :UnifiedUploadRequestDto, 'stack_one/models/shared/unifieduploadrequestdto.rb'
227
226
  autoload :ContactResult, 'stack_one/models/shared/contactresult.rb'
228
227
  autoload :Contact, 'stack_one/models/shared/contact.rb'
229
- autoload :ContactsCustomFields, 'stack_one/models/shared/contactscustomfields.rb'
230
228
  autoload :CrmCreateContactRequestDto, 'stack_one/models/shared/crmcreatecontactrequestdto.rb'
231
229
  autoload :AccountResult, 'stack_one/models/shared/accountresult.rb'
232
230
  autoload :Account, 'stack_one/models/shared/account.rb'
@@ -286,7 +284,6 @@ module StackOne
286
284
  autoload :CreateEmploymentApiModelSchemasPayPeriodValue, 'stack_one/models/shared/createemploymentapimodel_schemas_pay_period_value.rb'
287
285
  autoload :PayPeriod, 'stack_one/models/shared/pay_period.rb'
288
286
  autoload :CreateEmploymentApiModel, 'stack_one/models/shared/createemploymentapimodel.rb'
289
- autoload :EmployeeCustomFields, 'stack_one/models/shared/employeecustomfields.rb'
290
287
  autoload :CountryCodeEnumValue, 'stack_one/models/shared/countrycodeenum_value.rb'
291
288
  autoload :CountryCodeEnum, 'stack_one/models/shared/countrycodeenum.rb'
292
289
  autoload :CreateHRISBenefitValue, 'stack_one/models/shared/createhrisbenefit_value.rb'
@@ -454,31 +451,21 @@ module StackOne
454
451
  autoload :IamUsersPaginated, 'stack_one/models/shared/iamuserspaginated.rb'
455
452
  autoload :LmsBatchUpsertContentRequestDto, 'stack_one/models/shared/lmsbatchupsertcontentrequestdto.rb'
456
453
  autoload :LmsUpsertContentRequestDtoValue, 'stack_one/models/shared/lmsupsertcontentrequestdto_value.rb'
457
- autoload :LmsUpsertContentRequestDtoContentLaunchMethod, 'stack_one/models/shared/lmsupsertcontentrequestdto_content_launch_method.rb'
454
+ autoload :ContentLaunchMethod, 'stack_one/models/shared/content_launch_method.rb'
458
455
  autoload :LmsUpsertContentRequestDtoSchemasValue, 'stack_one/models/shared/lmsupsertcontentrequestdto_schemas_value.rb'
459
456
  autoload :LmsUpsertContentRequestDtoContentType, 'stack_one/models/shared/lmsupsertcontentrequestdto_content_type.rb'
460
457
  autoload :LmsUpsertContentRequestDto, 'stack_one/models/shared/lmsupsertcontentrequestdto.rb'
461
458
  autoload :CreateSkillsApiModel, 'stack_one/models/shared/createskillsapimodel.rb'
462
- autoload :ContentLanguageEnumValue, 'stack_one/models/shared/contentlanguageenum_value.rb'
463
- autoload :ContentLanguageEnum, 'stack_one/models/shared/contentlanguageenum.rb'
459
+ autoload :LanguageEnumValue, 'stack_one/models/shared/languageenum_value.rb'
460
+ autoload :LanguageEnum, 'stack_one/models/shared/languageenum.rb'
464
461
  autoload :CreateCategoriesApiModel, 'stack_one/models/shared/createcategoriesapimodel.rb'
465
462
  autoload :LmsBatchUpsertCourseRequestDto, 'stack_one/models/shared/lmsbatchupsertcourserequestdto.rb'
466
- autoload :LmsUpsertCourseRequestDtoValue, 'stack_one/models/shared/lmsupsertcourserequestdto_value.rb'
467
- autoload :LmsUpsertCourseRequestDtoCourseType, 'stack_one/models/shared/lmsupsertcourserequestdto_course_type.rb'
468
463
  autoload :LmsUpsertCourseRequestDto, 'stack_one/models/shared/lmsupsertcourserequestdto.rb'
469
464
  autoload :CreateContentApiModel, 'stack_one/models/shared/createcontentapimodel.rb'
470
- autoload :LmsCreateContentRequestDtoValue, 'stack_one/models/shared/lmscreatecontentrequestdto_value.rb'
471
- autoload :ContentLaunchMethod, 'stack_one/models/shared/content_launch_method.rb'
472
- autoload :LmsCreateContentRequestDtoSchemasValue, 'stack_one/models/shared/lmscreatecontentrequestdto_schemas_value.rb'
473
- autoload :LmsCreateContentRequestDtoContentType, 'stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb'
474
- autoload :LmsCreateContentRequestDto, 'stack_one/models/shared/lmscreatecontentrequestdto.rb'
475
- autoload :SkillsValue, 'stack_one/models/shared/skills_value.rb'
476
- autoload :SkillsLevel, 'stack_one/models/shared/skills_level.rb'
477
- autoload :Skills, 'stack_one/models/shared/skills.rb'
465
+ autoload :LmsCreateCollectionRequestDto, 'stack_one/models/shared/lmscreatecollectionrequestdto.rb'
478
466
  autoload :LmsCreateCompletionRequestDtoValue, 'stack_one/models/shared/lmscreatecompletionrequestdto_value.rb'
479
467
  autoload :LmsCreateCompletionRequestDtoResult, 'stack_one/models/shared/lmscreatecompletionrequestdto_result.rb'
480
468
  autoload :LmsCreateCompletionRequestDto, 'stack_one/models/shared/lmscreatecompletionrequestdto.rb'
481
- autoload :DeleteResult, 'stack_one/models/shared/deleteresult.rb'
482
469
  autoload :AssignmentResult, 'stack_one/models/shared/assignmentresult.rb'
483
470
  autoload :AssignmentValue, 'stack_one/models/shared/assignment_value.rb'
484
471
  autoload :LearningObjectType, 'stack_one/models/shared/learning_object_type.rb'
@@ -497,9 +484,10 @@ module StackOne
497
484
  autoload :Completion, 'stack_one/models/shared/completion.rb'
498
485
  autoload :ContentResult, 'stack_one/models/shared/contentresult.rb'
499
486
  autoload :CourseResult, 'stack_one/models/shared/courseresult.rb'
500
- autoload :CourseValue, 'stack_one/models/shared/course_value.rb'
501
- autoload :CourseType, 'stack_one/models/shared/course_type.rb'
502
487
  autoload :Course, 'stack_one/models/shared/course.rb'
488
+ autoload :SkillsValue, 'stack_one/models/shared/skills_value.rb'
489
+ autoload :SkillsLevel, 'stack_one/models/shared/skills_level.rb'
490
+ autoload :Skills, 'stack_one/models/shared/skills.rb'
503
491
  autoload :SkillResult, 'stack_one/models/shared/skillresult.rb'
504
492
  autoload :AssignmentsPaginated, 'stack_one/models/shared/assignmentspaginated.rb'
505
493
  autoload :CategoriesPaginated, 'stack_one/models/shared/categoriespaginated.rb'
@@ -545,16 +533,29 @@ module StackOne
545
533
  autoload :Message, 'stack_one/models/shared/message.rb'
546
534
  autoload :ChannelsEnumValue, 'stack_one/models/shared/channelsenum_value.rb'
547
535
  autoload :ChannelsEnum, 'stack_one/models/shared/channelsenum.rb'
548
- autoload :ContentBlocksPaginated, 'stack_one/models/shared/contentblockspaginated.rb'
536
+ autoload :ContentBlockResult, 'stack_one/models/shared/contentblockresult.rb'
549
537
  autoload :ContentBlockValue, 'stack_one/models/shared/contentblock_value.rb'
550
538
  autoload :ContentBlockStatus, 'stack_one/models/shared/contentblock_status.rb'
551
539
  autoload :ContentBlockSchemasValue, 'stack_one/models/shared/contentblock_schemas_value.rb'
552
540
  autoload :ContentBlockType, 'stack_one/models/shared/contentblock_type.rb'
553
541
  autoload :ContentBlock, 'stack_one/models/shared/contentblock.rb'
542
+ autoload :EmailTemplateResult, 'stack_one/models/shared/emailtemplateresult.rb'
543
+ autoload :EmailTemplate, 'stack_one/models/shared/emailtemplate.rb'
544
+ autoload :InAppTemplateResult, 'stack_one/models/shared/inapptemplateresult.rb'
545
+ autoload :InAppTemplate, 'stack_one/models/shared/inapptemplate.rb'
554
546
  autoload :TemplateResult, 'stack_one/models/shared/templateresult.rb'
555
547
  autoload :Template, 'stack_one/models/shared/template.rb'
548
+ autoload :PushTemplateResult, 'stack_one/models/shared/pushtemplateresult.rb'
549
+ autoload :PushTemplate, 'stack_one/models/shared/pushtemplate.rb'
550
+ autoload :SmsTemplateResult, 'stack_one/models/shared/smstemplateresult.rb'
551
+ autoload :SmsTemplate, 'stack_one/models/shared/smstemplate.rb'
556
552
  autoload :CampaignsPaginated, 'stack_one/models/shared/campaignspaginated.rb'
553
+ autoload :ContentBlocksPaginated, 'stack_one/models/shared/contentblockspaginated.rb'
554
+ autoload :EmailTemplatesPaginated, 'stack_one/models/shared/emailtemplatespaginated.rb'
555
+ autoload :InAppTemplatesPaginated, 'stack_one/models/shared/inapptemplatespaginated.rb'
557
556
  autoload :TemplatesPaginated, 'stack_one/models/shared/templatespaginated.rb'
557
+ autoload :PushTemplatesPaginated, 'stack_one/models/shared/pushtemplatespaginated.rb'
558
+ autoload :SmsTemplatesPaginated, 'stack_one/models/shared/smstemplatespaginated.rb'
558
559
  autoload :Method, 'stack_one/models/shared/method.rb'
559
560
  autoload :ProxyRequestBody, 'stack_one/models/shared/proxyrequestbody.rb'
560
561
  autoload :CreateEventResponse, 'stack_one/models/shared/createeventresponse.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.3.0'
42
- @gen_version = '2.451.0'
43
- @user_agent = 'speakeasy-sdk/ruby 0.3.0 2.451.0 1.0.0 stackone_client'
41
+ @sdk_version = '0.3.1'
42
+ @gen_version = '2.455.2'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.3.1 2.455.2 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.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-06 00:00:00.000000000 Z
11
+ date: 2024-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -437,12 +437,10 @@ files:
437
437
  - lib/stack_one/models/operations/lms_batch_upsert_content_response.rb
438
438
  - lib/stack_one/models/operations/lms_batch_upsert_course_request.rb
439
439
  - lib/stack_one/models/operations/lms_batch_upsert_course_response.rb
440
- - lib/stack_one/models/operations/lms_create_content_request.rb
441
- - lib/stack_one/models/operations/lms_create_content_response.rb
440
+ - lib/stack_one/models/operations/lms_create_collection_request.rb
441
+ - lib/stack_one/models/operations/lms_create_collection_response.rb
442
442
  - lib/stack_one/models/operations/lms_create_user_completion_request.rb
443
443
  - lib/stack_one/models/operations/lms_create_user_completion_response.rb
444
- - lib/stack_one/models/operations/lms_delete_content_request.rb
445
- - lib/stack_one/models/operations/lms_delete_content_response.rb
446
444
  - lib/stack_one/models/operations/lms_get_assignment_request.rb
447
445
  - lib/stack_one/models/operations/lms_get_assignment_response.rb
448
446
  - lib/stack_one/models/operations/lms_get_category_request.rb
@@ -488,8 +486,8 @@ files:
488
486
  - lib/stack_one/models/operations/lms_list_users_queryparam_filter.rb
489
487
  - lib/stack_one/models/operations/lms_list_users_request.rb
490
488
  - lib/stack_one/models/operations/lms_list_users_response.rb
491
- - lib/stack_one/models/operations/lms_update_content_request.rb
492
- - lib/stack_one/models/operations/lms_update_content_response.rb
489
+ - lib/stack_one/models/operations/lms_update_collection_request.rb
490
+ - lib/stack_one/models/operations/lms_update_collection_response.rb
493
491
  - lib/stack_one/models/operations/lms_upsert_content_request.rb
494
492
  - lib/stack_one/models/operations/lms_upsert_content_response.rb
495
493
  - lib/stack_one/models/operations/lms_upsert_course_request.rb
@@ -651,7 +649,6 @@ files:
651
649
  - lib/stack_one/models/shared/campaignresult.rb
652
650
  - lib/stack_one/models/shared/campaignspaginated.rb
653
651
  - lib/stack_one/models/shared/candidate.rb
654
- - lib/stack_one/models/shared/candidatecustomfields.rb
655
652
  - lib/stack_one/models/shared/candidateemail.rb
656
653
  - lib/stack_one/models/shared/candidateresult.rb
657
654
  - lib/stack_one/models/shared/candidatespaginated.rb
@@ -683,7 +680,6 @@ files:
683
680
  - lib/stack_one/models/shared/connectsessiontoken_categories.rb
684
681
  - lib/stack_one/models/shared/contact.rb
685
682
  - lib/stack_one/models/shared/contactresult.rb
686
- - lib/stack_one/models/shared/contactscustomfields.rb
687
683
  - lib/stack_one/models/shared/contactspaginated.rb
688
684
  - lib/stack_one/models/shared/content.rb
689
685
  - lib/stack_one/models/shared/content_file_format.rb
@@ -695,9 +691,8 @@ files:
695
691
  - lib/stack_one/models/shared/contentblock_status.rb
696
692
  - lib/stack_one/models/shared/contentblock_type.rb
697
693
  - lib/stack_one/models/shared/contentblock_value.rb
694
+ - lib/stack_one/models/shared/contentblockresult.rb
698
695
  - lib/stack_one/models/shared/contentblockspaginated.rb
699
- - lib/stack_one/models/shared/contentlanguageenum.rb
700
- - lib/stack_one/models/shared/contentlanguageenum_value.rb
701
696
  - lib/stack_one/models/shared/contentpaginated.rb
702
697
  - lib/stack_one/models/shared/contentresult.rb
703
698
  - lib/stack_one/models/shared/costcenters.rb
@@ -705,8 +700,6 @@ files:
705
700
  - lib/stack_one/models/shared/countrycodeenum.rb
706
701
  - lib/stack_one/models/shared/countrycodeenum_value.rb
707
702
  - lib/stack_one/models/shared/course.rb
708
- - lib/stack_one/models/shared/course_type.rb
709
- - lib/stack_one/models/shared/course_value.rb
710
703
  - lib/stack_one/models/shared/coursepaginated.rb
711
704
  - lib/stack_one/models/shared/courseresult.rb
712
705
  - lib/stack_one/models/shared/createanswer.rb
@@ -736,7 +729,7 @@ files:
736
729
  - lib/stack_one/models/shared/customfielddefinition_value.rb
737
730
  - lib/stack_one/models/shared/customfielddefinitionresultapimodel.rb
738
731
  - lib/stack_one/models/shared/customfielddefinitionspaginated.rb
739
- - lib/stack_one/models/shared/deleteresult.rb
732
+ - lib/stack_one/models/shared/customfields.rb
740
733
  - lib/stack_one/models/shared/department.rb
741
734
  - lib/stack_one/models/shared/departmentresult.rb
742
735
  - lib/stack_one/models/shared/departmentspaginated.rb
@@ -744,6 +737,9 @@ files:
744
737
  - lib/stack_one/models/shared/emailmessages.rb
745
738
  - lib/stack_one/models/shared/emailmessages_message_type.rb
746
739
  - lib/stack_one/models/shared/emailmessages_value.rb
740
+ - lib/stack_one/models/shared/emailtemplate.rb
741
+ - lib/stack_one/models/shared/emailtemplateresult.rb
742
+ - lib/stack_one/models/shared/emailtemplatespaginated.rb
747
743
  - lib/stack_one/models/shared/employee.rb
748
744
  - lib/stack_one/models/shared/employee_company.rb
749
745
  - lib/stack_one/models/shared/employee_country.rb
@@ -767,7 +763,6 @@ files:
767
763
  - lib/stack_one/models/shared/employee_schemas_work_location_value.rb
768
764
  - lib/stack_one/models/shared/employee_type.rb
769
765
  - lib/stack_one/models/shared/employee_value.rb
770
- - lib/stack_one/models/shared/employeecustomfields.rb
771
766
  - lib/stack_one/models/shared/employeeresult.rb
772
767
  - lib/stack_one/models/shared/employeespaginated.rb
773
768
  - lib/stack_one/models/shared/employment.rb
@@ -921,6 +916,9 @@ files:
921
916
  - lib/stack_one/models/shared/inappmessages_message_content.rb
922
917
  - lib/stack_one/models/shared/inappmessages_message_type.rb
923
918
  - lib/stack_one/models/shared/inappmessages_value.rb
919
+ - lib/stack_one/models/shared/inapptemplate.rb
920
+ - lib/stack_one/models/shared/inapptemplateresult.rb
921
+ - lib/stack_one/models/shared/inapptemplatespaginated.rb
924
922
  - lib/stack_one/models/shared/internal.rb
925
923
  - lib/stack_one/models/shared/interview.rb
926
924
  - lib/stack_one/models/shared/interview_interview_stage.rb
@@ -942,7 +940,6 @@ files:
942
940
  - lib/stack_one/models/shared/job_job_status.rb
943
941
  - lib/stack_one/models/shared/job_status.rb
944
942
  - lib/stack_one/models/shared/job_value.rb
945
- - lib/stack_one/models/shared/jobcustomfields.rb
946
943
  - lib/stack_one/models/shared/jobhiringteam.rb
947
944
  - lib/stack_one/models/shared/jobposting.rb
948
945
  - lib/stack_one/models/shared/jobposting_content.rb
@@ -969,6 +966,8 @@ files:
969
966
  - lib/stack_one/models/shared/jobresult.rb
970
967
  - lib/stack_one/models/shared/jobspaginated.rb
971
968
  - lib/stack_one/models/shared/label.rb
969
+ - lib/stack_one/models/shared/languageenum.rb
970
+ - lib/stack_one/models/shared/languageenum_value.rb
972
971
  - lib/stack_one/models/shared/learning_object_type.rb
973
972
  - lib/stack_one/models/shared/level.rb
974
973
  - lib/stack_one/models/shared/linkedaccount.rb
@@ -983,21 +982,15 @@ files:
983
982
  - lib/stack_one/models/shared/listspaginated.rb
984
983
  - lib/stack_one/models/shared/lmsbatchupsertcontentrequestdto.rb
985
984
  - lib/stack_one/models/shared/lmsbatchupsertcourserequestdto.rb
985
+ - lib/stack_one/models/shared/lmscreatecollectionrequestdto.rb
986
986
  - lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb
987
987
  - lib/stack_one/models/shared/lmscreatecompletionrequestdto_result.rb
988
988
  - lib/stack_one/models/shared/lmscreatecompletionrequestdto_value.rb
989
- - lib/stack_one/models/shared/lmscreatecontentrequestdto.rb
990
- - lib/stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb
991
- - lib/stack_one/models/shared/lmscreatecontentrequestdto_schemas_value.rb
992
- - lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb
993
989
  - lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb
994
- - lib/stack_one/models/shared/lmsupsertcontentrequestdto_content_launch_method.rb
995
990
  - lib/stack_one/models/shared/lmsupsertcontentrequestdto_content_type.rb
996
991
  - lib/stack_one/models/shared/lmsupsertcontentrequestdto_schemas_value.rb
997
992
  - lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb
998
993
  - lib/stack_one/models/shared/lmsupsertcourserequestdto.rb
999
- - lib/stack_one/models/shared/lmsupsertcourserequestdto_course_type.rb
1000
- - lib/stack_one/models/shared/lmsupsertcourserequestdto_value.rb
1001
994
  - lib/stack_one/models/shared/lmsuser.rb
1002
995
  - lib/stack_one/models/shared/location_type.rb
1003
996
  - lib/stack_one/models/shared/marital_status.rb
@@ -1046,6 +1039,9 @@ files:
1046
1039
  - lib/stack_one/models/shared/pushmessages_message_content.rb
1047
1040
  - lib/stack_one/models/shared/pushmessages_message_type.rb
1048
1041
  - lib/stack_one/models/shared/pushmessages_value.rb
1042
+ - lib/stack_one/models/shared/pushtemplate.rb
1043
+ - lib/stack_one/models/shared/pushtemplateresult.rb
1044
+ - lib/stack_one/models/shared/pushtemplatespaginated.rb
1049
1045
  - lib/stack_one/models/shared/question.rb
1050
1046
  - lib/stack_one/models/shared/question_type.rb
1051
1047
  - lib/stack_one/models/shared/question_value.rb
@@ -1089,6 +1085,9 @@ files:
1089
1085
  - lib/stack_one/models/shared/smsmessages_message_content.rb
1090
1086
  - lib/stack_one/models/shared/smsmessages_message_type.rb
1091
1087
  - lib/stack_one/models/shared/smsmessages_value.rb
1088
+ - lib/stack_one/models/shared/smstemplate.rb
1089
+ - lib/stack_one/models/shared/smstemplateresult.rb
1090
+ - lib/stack_one/models/shared/smstemplatespaginated.rb
1092
1091
  - lib/stack_one/models/shared/sociallink.rb
1093
1092
  - lib/stack_one/models/shared/source.rb
1094
1093
  - lib/stack_one/models/shared/state.rb
@@ -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 Operations
9
-
10
-
11
- class LmsCreateContentRequest < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
-
15
- field :lms_create_content_request_dto, ::StackOne::Shared::LmsCreateContentRequestDto, { 'request': { 'media_type': 'application/json' } }
16
- # The account identifier
17
- field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
-
19
-
20
- sig { params(lms_create_content_request_dto: ::StackOne::Shared::LmsCreateContentRequestDto, x_account_id: ::String).void }
21
- def initialize(lms_create_content_request_dto: nil, x_account_id: nil)
22
- @lms_create_content_request_dto = lms_create_content_request_dto
23
- @x_account_id = x_account_id
24
- end
25
- end
26
- end
27
- 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 Operations
9
-
10
-
11
- class LmsDeleteContentRequest < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
-
15
- field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
- # The account identifier
17
- field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
-
19
-
20
- sig { params(id: ::String, x_account_id: ::String).void }
21
- def initialize(id: nil, x_account_id: nil)
22
- @id = id
23
- @x_account_id = x_account_id
24
- end
25
- end
26
- end
27
- end
@@ -1,33 +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 Operations
9
-
10
-
11
- class LmsDeleteContentResponse < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
- # HTTP response content type for this operation
15
- field :content_type, ::String
16
- # Raw HTTP response; suitable for custom response parsing
17
- field :raw_response, ::Faraday::Response
18
- # HTTP response status code for this operation
19
- field :status_code, ::Integer
20
- # The content was deleted successfully.
21
- field :delete_result, T.nilable(::StackOne::Shared::DeleteResult)
22
-
23
-
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, delete_result: T.nilable(::StackOne::Shared::DeleteResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, delete_result: nil)
26
- @content_type = content_type
27
- @raw_response = raw_response
28
- @status_code = status_code
29
- @delete_result = delete_result
30
- end
31
- end
32
- end
33
- end
@@ -1,30 +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 Operations
9
-
10
-
11
- class LmsUpdateContentRequest < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
-
15
- field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
-
17
- field :lms_create_content_request_dto, ::StackOne::Shared::LmsCreateContentRequestDto, { 'request': { 'media_type': 'application/json' } }
18
- # The account identifier
19
- field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
20
-
21
-
22
- sig { params(id: ::String, lms_create_content_request_dto: ::StackOne::Shared::LmsCreateContentRequestDto, x_account_id: ::String).void }
23
- def initialize(id: nil, lms_create_content_request_dto: nil, x_account_id: nil)
24
- @id = id
25
- @lms_create_content_request_dto = lms_create_content_request_dto
26
- @x_account_id = x_account_id
27
- end
28
- end
29
- end
30
- end
@@ -1,39 +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 CandidateCustomFields < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
- # Unique identifier
15
- field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
- # The name of the custom field.
17
- field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
18
- # Provider's unique identifier
19
- field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
20
- # Provider's unique identifier for the value of the custom field.
21
- field :remote_value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_value_id') } }
22
- # The value associated with the custom field.
23
- field :value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
24
- # The unique identifier for the value of the custom field.
25
- field :value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value_id') } }
26
-
27
-
28
- sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), remote_value_id: T.nilable(::String), value: T.nilable(::Object), value_id: T.nilable(::String)).void }
29
- def initialize(id: nil, name: nil, remote_id: nil, remote_value_id: nil, value: nil, value_id: nil)
30
- @id = id
31
- @name = name
32
- @remote_id = remote_id
33
- @remote_value_id = remote_value_id
34
- @value = value
35
- @value_id = value_id
36
- end
37
- end
38
- end
39
- end
@@ -1,39 +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 ContactsCustomFields < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
- # Unique identifier
15
- field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
- # The name of the custom field.
17
- field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
18
- # Provider's unique identifier
19
- field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
20
- # Provider's unique identifier for the value of the custom field.
21
- field :remote_value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_value_id') } }
22
- # The value associated with the custom field.
23
- field :value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
24
- # The unique identifier for the value of the custom field.
25
- field :value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value_id') } }
26
-
27
-
28
- sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), remote_value_id: T.nilable(::String), value: T.nilable(::Object), value_id: T.nilable(::String)).void }
29
- def initialize(id: nil, name: nil, remote_id: nil, remote_value_id: nil, value: nil, value_id: nil)
30
- @id = id
31
- @name = name
32
- @remote_id = remote_id
33
- @remote_value_id = remote_value_id
34
- @value = value
35
- @value_id = value_id
36
- end
37
- end
38
- end
39
- end