stackone_client 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stack_one/lms.rb +17 -58
- data/lib/stack_one/marketing.rb +18 -18
- data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_request.rb +2 -7
- data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_request.rb +2 -7
- data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_request.rb +2 -7
- data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb +2 -7
- data/lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_request.rb +2 -7
- data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_request.rb +2 -7
- data/lib/stack_one/models/operations/crm_get_contact_custom_field_definition_request.rb +2 -7
- data/lib/stack_one/models/operations/crm_list_contact_custom_field_definitions_request.rb +2 -7
- data/lib/stack_one/models/operations/lms_create_collection_request.rb +27 -0
- data/lib/stack_one/models/operations/{lms_create_content_response.rb → lms_create_collection_response.rb} +2 -2
- data/lib/stack_one/models/operations/lms_update_collection_request.rb +30 -0
- data/lib/stack_one/models/operations/{lms_update_content_response.rb → lms_update_collection_response.rb} +2 -2
- data/lib/stack_one/models/operations/marketing_get_content_block_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_get_email_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_get_in_app_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_get_push_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_get_sms_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_list_email_templates_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_list_in_app_templates_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_list_push_templates_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_list_sms_templates_response.rb +4 -4
- data/lib/stack_one/models/operations.rb +4 -6
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb +2 -2
- data/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +2 -2
- data/lib/stack_one/models/shared/atscreatejobrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb +2 -2
- data/lib/stack_one/models/shared/atsupdatejobrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/candidate.rb +2 -2
- data/lib/stack_one/models/shared/contact.rb +2 -2
- data/lib/stack_one/models/shared/content_launch_method.rb +2 -2
- data/lib/stack_one/models/shared/contentblockresult.rb +27 -0
- data/lib/stack_one/models/shared/course.rb +6 -9
- data/lib/stack_one/models/shared/createmessage_value.rb +16 -8
- data/lib/stack_one/models/shared/crmcreatecontactrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/{jobcustomfields.rb → customfields.rb} +1 -1
- data/lib/stack_one/models/shared/emailmessages_message_type.rb +1 -1
- data/lib/stack_one/models/shared/emailmessages_value.rb +16 -8
- data/lib/stack_one/models/shared/emailtemplate.rb +36 -0
- data/lib/stack_one/models/shared/emailtemplateresult.rb +27 -0
- data/lib/stack_one/models/shared/emailtemplatespaginated.rb +33 -0
- data/lib/stack_one/models/shared/employee.rb +2 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +2 -2
- data/lib/stack_one/models/shared/inappmessages_message_type.rb +1 -1
- data/lib/stack_one/models/shared/inappmessages_value.rb +16 -8
- data/lib/stack_one/models/shared/inapptemplate.rb +36 -0
- data/lib/stack_one/models/shared/inapptemplateresult.rb +27 -0
- data/lib/stack_one/models/shared/inapptemplatespaginated.rb +33 -0
- data/lib/stack_one/models/shared/job.rb +2 -2
- data/lib/stack_one/models/shared/{contentlanguageenum.rb → languageenum.rb} +3 -3
- data/lib/stack_one/models/shared/{contentlanguageenum_value.rb → languageenum_value.rb} +2 -2
- data/lib/stack_one/models/shared/lmscreatecollectionrequestdto.rb +51 -0
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +4 -4
- data/lib/stack_one/models/shared/lmsupsertcourserequestdto.rb +5 -8
- data/lib/stack_one/models/shared/message_message_type.rb +1 -1
- data/lib/stack_one/models/shared/message_type.rb +1 -1
- data/lib/stack_one/models/shared/message_value.rb +16 -8
- data/lib/stack_one/models/shared/pushmessages_message_type.rb +1 -1
- data/lib/stack_one/models/shared/pushmessages_value.rb +16 -8
- data/lib/stack_one/models/shared/pushtemplate.rb +36 -0
- data/lib/stack_one/models/shared/pushtemplateresult.rb +27 -0
- data/lib/stack_one/models/shared/pushtemplatespaginated.rb +33 -0
- data/lib/stack_one/models/shared/smsmessages_message_type.rb +1 -1
- data/lib/stack_one/models/shared/smsmessages_value.rb +16 -8
- data/lib/stack_one/models/shared/smstemplate.rb +36 -0
- data/lib/stack_one/models/shared/smstemplateresult.rb +27 -0
- data/lib/stack_one/models/shared/smstemplatespaginated.rb +33 -0
- data/lib/stack_one/models/shared.rb +22 -21
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +23 -24
- data/lib/stack_one/models/operations/lms_create_content_request.rb +0 -27
- data/lib/stack_one/models/operations/lms_delete_content_request.rb +0 -27
- data/lib/stack_one/models/operations/lms_delete_content_response.rb +0 -33
- data/lib/stack_one/models/operations/lms_update_content_request.rb +0 -30
- data/lib/stack_one/models/shared/candidatecustomfields.rb +0 -39
- data/lib/stack_one/models/shared/contactscustomfields.rb +0 -39
- data/lib/stack_one/models/shared/course_type.rb +0 -27
- data/lib/stack_one/models/shared/course_value.rb +0 -19
- data/lib/stack_one/models/shared/deleteresult.rb +0 -30
- data/lib/stack_one/models/shared/employeecustomfields.rb +0 -39
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +0 -66
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb +0 -27
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_schemas_value.rb +0 -19
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb +0 -18
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_content_launch_method.rb +0 -27
- data/lib/stack_one/models/shared/lmsupsertcourserequestdto_course_type.rb +0 -27
- data/lib/stack_one/models/shared/lmsupsertcourserequestdto_value.rb +0 -19
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fc81592bcf3a03811b48096e4743b2eab2a6911183e272de27d12dca5f2e3931
|
|
4
|
+
data.tar.gz: fcd4f8e7c69c443a7b4fc06960123858596d933df0a8718dd9844252972c47a6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b10985ef9e286a5b9203ae9bf1b4610c3e3287346fc4b546d476e9932f62c63ccff6fca7eeb15698de36a8eb56353c29824f5efff299eecb408ec006a74f6025
|
|
7
|
+
data.tar.gz: 85692bd31fa6e275578a87525e70d12908db3ad678e8d6a0d31119e1e24525e2f5252035f7939d747f665c8a3e37df3e429f6743696fbfcf17fc55ff9c6d43fa
|
data/lib/stack_one/lms.rb
CHANGED
|
@@ -111,19 +111,19 @@ module StackOne
|
|
|
111
111
|
end
|
|
112
112
|
|
|
113
113
|
|
|
114
|
-
sig { params(
|
|
115
|
-
def
|
|
116
|
-
#
|
|
117
|
-
request = ::StackOne::Operations::
|
|
114
|
+
sig { params(lms_create_collection_request_dto: ::StackOne::Shared::LmsCreateCollectionRequestDto, x_account_id: ::String).returns(::StackOne::Operations::LmsCreateCollectionResponse) }
|
|
115
|
+
def create_collection(lms_create_collection_request_dto, x_account_id)
|
|
116
|
+
# create_collection - Create Collection
|
|
117
|
+
request = ::StackOne::Operations::LmsCreateCollectionRequest.new(
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
lms_create_collection_request_dto: lms_create_collection_request_dto,
|
|
120
120
|
x_account_id: x_account_id
|
|
121
121
|
)
|
|
122
122
|
url, params = @sdk_configuration.get_server_details
|
|
123
123
|
base_url = Utils.template_url(url, params)
|
|
124
|
-
url = "#{base_url}/unified/lms/
|
|
124
|
+
url = "#{base_url}/unified/lms/collections"
|
|
125
125
|
headers = Utils.get_headers(request)
|
|
126
|
-
req_content_type, data, form = Utils.serialize_request_body(request, :
|
|
126
|
+
req_content_type, data, form = Utils.serialize_request_body(request, :lms_create_collection_request_dto, :json)
|
|
127
127
|
headers['content-type'] = req_content_type
|
|
128
128
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
129
129
|
headers['Accept'] = 'application/json'
|
|
@@ -143,7 +143,7 @@ module StackOne
|
|
|
143
143
|
|
|
144
144
|
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
|
145
145
|
|
|
146
|
-
res = ::StackOne::Operations::
|
|
146
|
+
res = ::StackOne::Operations::LmsCreateCollectionResponse.new(
|
|
147
147
|
status_code: r.status, content_type: content_type, raw_response: r
|
|
148
148
|
)
|
|
149
149
|
if r.status == 201
|
|
@@ -209,47 +209,6 @@ module StackOne
|
|
|
209
209
|
end
|
|
210
210
|
|
|
211
211
|
|
|
212
|
-
sig { params(id: ::String, x_account_id: ::String).returns(::StackOne::Operations::LmsDeleteContentResponse) }
|
|
213
|
-
def delete_content(id, x_account_id)
|
|
214
|
-
# delete_content - Delete Content
|
|
215
|
-
request = ::StackOne::Operations::LmsDeleteContentRequest.new(
|
|
216
|
-
|
|
217
|
-
id: id,
|
|
218
|
-
x_account_id: x_account_id
|
|
219
|
-
)
|
|
220
|
-
url, params = @sdk_configuration.get_server_details
|
|
221
|
-
base_url = Utils.template_url(url, params)
|
|
222
|
-
url = Utils.generate_url(
|
|
223
|
-
::StackOne::Operations::LmsDeleteContentRequest,
|
|
224
|
-
base_url,
|
|
225
|
-
'/unified/lms/content/{id}',
|
|
226
|
-
request
|
|
227
|
-
)
|
|
228
|
-
headers = Utils.get_headers(request)
|
|
229
|
-
headers['Accept'] = 'application/json'
|
|
230
|
-
headers['user-agent'] = @sdk_configuration.user_agent
|
|
231
|
-
|
|
232
|
-
r = @sdk_configuration.client.delete(url) do |req|
|
|
233
|
-
req.headers = headers
|
|
234
|
-
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
|
235
|
-
end
|
|
236
|
-
|
|
237
|
-
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
|
238
|
-
|
|
239
|
-
res = ::StackOne::Operations::LmsDeleteContentResponse.new(
|
|
240
|
-
status_code: r.status, content_type: content_type, raw_response: r
|
|
241
|
-
)
|
|
242
|
-
if r.status == 200
|
|
243
|
-
if Utils.match_content_type(content_type, 'application/json')
|
|
244
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::DeleteResult)
|
|
245
|
-
res.delete_result = out
|
|
246
|
-
end
|
|
247
|
-
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
|
248
|
-
end
|
|
249
|
-
res
|
|
250
|
-
end
|
|
251
|
-
|
|
252
|
-
|
|
253
212
|
sig { params(request: T.nilable(::StackOne::Operations::LmsGetAssignmentRequest)).returns(::StackOne::Operations::LmsGetAssignmentResponse) }
|
|
254
213
|
def get_assignment(request)
|
|
255
214
|
# get_assignment - Get Assignment
|
|
@@ -899,25 +858,25 @@ module StackOne
|
|
|
899
858
|
end
|
|
900
859
|
|
|
901
860
|
|
|
902
|
-
sig { params(
|
|
903
|
-
def
|
|
904
|
-
#
|
|
905
|
-
request = ::StackOne::Operations::
|
|
861
|
+
sig { params(lms_create_collection_request_dto: ::StackOne::Shared::LmsCreateCollectionRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::LmsUpdateCollectionResponse) }
|
|
862
|
+
def update_collection(lms_create_collection_request_dto, id, x_account_id)
|
|
863
|
+
# update_collection - Update Collection
|
|
864
|
+
request = ::StackOne::Operations::LmsUpdateCollectionRequest.new(
|
|
906
865
|
|
|
907
|
-
|
|
866
|
+
lms_create_collection_request_dto: lms_create_collection_request_dto,
|
|
908
867
|
id: id,
|
|
909
868
|
x_account_id: x_account_id
|
|
910
869
|
)
|
|
911
870
|
url, params = @sdk_configuration.get_server_details
|
|
912
871
|
base_url = Utils.template_url(url, params)
|
|
913
872
|
url = Utils.generate_url(
|
|
914
|
-
::StackOne::Operations::
|
|
873
|
+
::StackOne::Operations::LmsUpdateCollectionRequest,
|
|
915
874
|
base_url,
|
|
916
|
-
'/unified/lms/
|
|
875
|
+
'/unified/lms/collections/{id}',
|
|
917
876
|
request
|
|
918
877
|
)
|
|
919
878
|
headers = Utils.get_headers(request)
|
|
920
|
-
req_content_type, data, form = Utils.serialize_request_body(request, :
|
|
879
|
+
req_content_type, data, form = Utils.serialize_request_body(request, :lms_create_collection_request_dto, :json)
|
|
921
880
|
headers['content-type'] = req_content_type
|
|
922
881
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
923
882
|
headers['Accept'] = 'application/json'
|
|
@@ -937,7 +896,7 @@ module StackOne
|
|
|
937
896
|
|
|
938
897
|
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
|
939
898
|
|
|
940
|
-
res = ::StackOne::Operations::
|
|
899
|
+
res = ::StackOne::Operations::LmsUpdateCollectionResponse.new(
|
|
941
900
|
status_code: r.status, content_type: content_type, raw_response: r
|
|
942
901
|
)
|
|
943
902
|
if r.status == 201
|
data/lib/stack_one/marketing.rb
CHANGED
|
@@ -364,8 +364,8 @@ module StackOne
|
|
|
364
364
|
)
|
|
365
365
|
if r.status == 200
|
|
366
366
|
if Utils.match_content_type(content_type, 'application/json')
|
|
367
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
|
368
|
-
res.
|
|
367
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::ContentBlockResult)
|
|
368
|
+
res.content_block_result = out
|
|
369
369
|
end
|
|
370
370
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
|
371
371
|
end
|
|
@@ -402,8 +402,8 @@ module StackOne
|
|
|
402
402
|
)
|
|
403
403
|
if r.status == 200
|
|
404
404
|
if Utils.match_content_type(content_type, 'application/json')
|
|
405
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
|
406
|
-
res.
|
|
405
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::EmailTemplateResult)
|
|
406
|
+
res.email_template_result = out
|
|
407
407
|
end
|
|
408
408
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
|
409
409
|
end
|
|
@@ -440,8 +440,8 @@ module StackOne
|
|
|
440
440
|
)
|
|
441
441
|
if r.status == 200
|
|
442
442
|
if Utils.match_content_type(content_type, 'application/json')
|
|
443
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
|
444
|
-
res.
|
|
443
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::InAppTemplateResult)
|
|
444
|
+
res.in_app_template_result = out
|
|
445
445
|
end
|
|
446
446
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
|
447
447
|
end
|
|
@@ -518,8 +518,8 @@ module StackOne
|
|
|
518
518
|
)
|
|
519
519
|
if r.status == 200
|
|
520
520
|
if Utils.match_content_type(content_type, 'application/json')
|
|
521
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
|
522
|
-
res.
|
|
521
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::PushTemplateResult)
|
|
522
|
+
res.push_template_result = out
|
|
523
523
|
end
|
|
524
524
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
|
525
525
|
end
|
|
@@ -556,8 +556,8 @@ module StackOne
|
|
|
556
556
|
)
|
|
557
557
|
if r.status == 200
|
|
558
558
|
if Utils.match_content_type(content_type, 'application/json')
|
|
559
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
|
560
|
-
res.
|
|
559
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::SmsTemplateResult)
|
|
560
|
+
res.sms_template_result = out
|
|
561
561
|
end
|
|
562
562
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
|
563
563
|
end
|
|
@@ -655,8 +655,8 @@ module StackOne
|
|
|
655
655
|
)
|
|
656
656
|
if r.status == 200
|
|
657
657
|
if Utils.match_content_type(content_type, 'application/json')
|
|
658
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
|
659
|
-
res.
|
|
658
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::EmailTemplatesPaginated)
|
|
659
|
+
res.email_templates_paginated = out
|
|
660
660
|
end
|
|
661
661
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
|
662
662
|
end
|
|
@@ -688,8 +688,8 @@ module StackOne
|
|
|
688
688
|
)
|
|
689
689
|
if r.status == 200
|
|
690
690
|
if Utils.match_content_type(content_type, 'application/json')
|
|
691
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
|
692
|
-
res.
|
|
691
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::InAppTemplatesPaginated)
|
|
692
|
+
res.in_app_templates_paginated = out
|
|
693
693
|
end
|
|
694
694
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
|
695
695
|
end
|
|
@@ -756,8 +756,8 @@ module StackOne
|
|
|
756
756
|
)
|
|
757
757
|
if r.status == 200
|
|
758
758
|
if Utils.match_content_type(content_type, 'application/json')
|
|
759
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
|
760
|
-
res.
|
|
759
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::PushTemplatesPaginated)
|
|
760
|
+
res.push_templates_paginated = out
|
|
761
761
|
end
|
|
762
762
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
|
763
763
|
end
|
|
@@ -789,8 +789,8 @@ module StackOne
|
|
|
789
789
|
)
|
|
790
790
|
if r.status == 200
|
|
791
791
|
if Utils.match_content_type(content_type, 'application/json')
|
|
792
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
|
793
|
-
res.
|
|
792
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::SmsTemplatesPaginated)
|
|
793
|
+
res.sms_templates_paginated = out
|
|
794
794
|
end
|
|
795
795
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
|
796
796
|
end
|
|
@@ -31,18 +31,14 @@ module StackOne
|
|
|
31
31
|
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
32
32
|
# Indicates that the raw request result is returned
|
|
33
33
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
34
|
-
# The sync token to select the only updated results
|
|
35
|
-
#
|
|
36
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
37
|
-
field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
|
38
34
|
# Use a string with a date to only select results updated after that given date
|
|
39
35
|
#
|
|
40
36
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
41
37
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
42
38
|
|
|
43
39
|
|
|
44
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::Filter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean),
|
|
45
|
-
def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil,
|
|
40
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::Filter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
41
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
46
42
|
@id = id
|
|
47
43
|
@x_account_id = x_account_id
|
|
48
44
|
@fields_ = fields_
|
|
@@ -52,7 +48,6 @@ module StackOne
|
|
|
52
48
|
@page_size = page_size
|
|
53
49
|
@proxy = proxy
|
|
54
50
|
@raw = raw
|
|
55
|
-
@sync_token = sync_token
|
|
56
51
|
@updated_after = updated_after
|
|
57
52
|
end
|
|
58
53
|
end
|
|
@@ -31,18 +31,14 @@ module StackOne
|
|
|
31
31
|
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
32
32
|
# Indicates that the raw request result is returned
|
|
33
33
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
34
|
-
# The sync token to select the only updated results
|
|
35
|
-
#
|
|
36
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
37
|
-
field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
|
38
34
|
# Use a string with a date to only select results updated after that given date
|
|
39
35
|
#
|
|
40
36
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
41
37
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
42
38
|
|
|
43
39
|
|
|
44
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::QueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean),
|
|
45
|
-
def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil,
|
|
40
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::QueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
41
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
46
42
|
@id = id
|
|
47
43
|
@x_account_id = x_account_id
|
|
48
44
|
@fields_ = fields_
|
|
@@ -52,7 +48,6 @@ module StackOne
|
|
|
52
48
|
@page_size = page_size
|
|
53
49
|
@proxy = proxy
|
|
54
50
|
@raw = raw
|
|
55
|
-
@sync_token = sync_token
|
|
56
51
|
@updated_after = updated_after
|
|
57
52
|
end
|
|
58
53
|
end
|
|
@@ -31,18 +31,14 @@ module StackOne
|
|
|
31
31
|
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
32
32
|
# Indicates that the raw request result is returned
|
|
33
33
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
34
|
-
# The sync token to select the only updated results
|
|
35
|
-
#
|
|
36
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
37
|
-
field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
|
38
34
|
# Use a string with a date to only select results updated after that given date
|
|
39
35
|
#
|
|
40
36
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
41
37
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
42
38
|
|
|
43
39
|
|
|
44
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsGetJobCustomFieldDefinitionQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean),
|
|
45
|
-
def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil,
|
|
40
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsGetJobCustomFieldDefinitionQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
41
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
46
42
|
@id = id
|
|
47
43
|
@x_account_id = x_account_id
|
|
48
44
|
@fields_ = fields_
|
|
@@ -52,7 +48,6 @@ module StackOne
|
|
|
52
48
|
@page_size = page_size
|
|
53
49
|
@proxy = proxy
|
|
54
50
|
@raw = raw
|
|
55
|
-
@sync_token = sync_token
|
|
56
51
|
@updated_after = updated_after
|
|
57
52
|
end
|
|
58
53
|
end
|
data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb
CHANGED
|
@@ -29,18 +29,14 @@ module StackOne
|
|
|
29
29
|
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
30
30
|
# Indicates that the raw request result is returned
|
|
31
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
32
|
-
# The sync token to select the only updated results
|
|
33
|
-
#
|
|
34
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
35
|
-
field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
|
36
32
|
# Use a string with a date to only select results updated after that given date
|
|
37
33
|
#
|
|
38
34
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
39
35
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
40
36
|
|
|
41
37
|
|
|
42
|
-
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListApplicationCustomFieldDefinitionsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean),
|
|
43
|
-
def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil,
|
|
38
|
+
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListApplicationCustomFieldDefinitionsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
39
|
+
def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
44
40
|
@x_account_id = x_account_id
|
|
45
41
|
@fields_ = fields_
|
|
46
42
|
@filter = filter
|
|
@@ -49,7 +45,6 @@ module StackOne
|
|
|
49
45
|
@page_size = page_size
|
|
50
46
|
@proxy = proxy
|
|
51
47
|
@raw = raw
|
|
52
|
-
@sync_token = sync_token
|
|
53
48
|
@updated_after = updated_after
|
|
54
49
|
end
|
|
55
50
|
end
|
|
@@ -29,18 +29,14 @@ module StackOne
|
|
|
29
29
|
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
30
30
|
# Indicates that the raw request result is returned
|
|
31
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
32
|
-
# The sync token to select the only updated results
|
|
33
|
-
#
|
|
34
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
35
|
-
field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
|
36
32
|
# Use a string with a date to only select results updated after that given date
|
|
37
33
|
#
|
|
38
34
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
39
35
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
40
36
|
|
|
41
37
|
|
|
42
|
-
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListCandidateCustomFieldDefinitionsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean),
|
|
43
|
-
def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil,
|
|
38
|
+
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListCandidateCustomFieldDefinitionsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
39
|
+
def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
44
40
|
@x_account_id = x_account_id
|
|
45
41
|
@fields_ = fields_
|
|
46
42
|
@filter = filter
|
|
@@ -49,7 +45,6 @@ module StackOne
|
|
|
49
45
|
@page_size = page_size
|
|
50
46
|
@proxy = proxy
|
|
51
47
|
@raw = raw
|
|
52
|
-
@sync_token = sync_token
|
|
53
48
|
@updated_after = updated_after
|
|
54
49
|
end
|
|
55
50
|
end
|
|
@@ -29,18 +29,14 @@ module StackOne
|
|
|
29
29
|
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
30
30
|
# Indicates that the raw request result is returned
|
|
31
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
32
|
-
# The sync token to select the only updated results
|
|
33
|
-
#
|
|
34
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
35
|
-
field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
|
36
32
|
# Use a string with a date to only select results updated after that given date
|
|
37
33
|
#
|
|
38
34
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
39
35
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
40
36
|
|
|
41
37
|
|
|
42
|
-
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListJobCustomFieldDefinitionsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean),
|
|
43
|
-
def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil,
|
|
38
|
+
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListJobCustomFieldDefinitionsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
39
|
+
def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
44
40
|
@x_account_id = x_account_id
|
|
45
41
|
@fields_ = fields_
|
|
46
42
|
@filter = filter
|
|
@@ -49,7 +45,6 @@ module StackOne
|
|
|
49
45
|
@page_size = page_size
|
|
50
46
|
@proxy = proxy
|
|
51
47
|
@raw = raw
|
|
52
|
-
@sync_token = sync_token
|
|
53
48
|
@updated_after = updated_after
|
|
54
49
|
end
|
|
55
50
|
end
|
|
@@ -31,18 +31,14 @@ module StackOne
|
|
|
31
31
|
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
32
32
|
# Indicates that the raw request result is returned
|
|
33
33
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
34
|
-
# The sync token to select the only updated results
|
|
35
|
-
#
|
|
36
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
37
|
-
field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
|
38
34
|
# Use a string with a date to only select results updated after that given date
|
|
39
35
|
#
|
|
40
36
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
41
37
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
42
38
|
|
|
43
39
|
|
|
44
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::CrmGetContactCustomFieldDefinitionQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean),
|
|
45
|
-
def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil,
|
|
40
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::CrmGetContactCustomFieldDefinitionQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
41
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
46
42
|
@id = id
|
|
47
43
|
@x_account_id = x_account_id
|
|
48
44
|
@fields_ = fields_
|
|
@@ -52,7 +48,6 @@ module StackOne
|
|
|
52
48
|
@page_size = page_size
|
|
53
49
|
@proxy = proxy
|
|
54
50
|
@raw = raw
|
|
55
|
-
@sync_token = sync_token
|
|
56
51
|
@updated_after = updated_after
|
|
57
52
|
end
|
|
58
53
|
end
|
|
@@ -29,18 +29,14 @@ module StackOne
|
|
|
29
29
|
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
30
30
|
# Indicates that the raw request result is returned
|
|
31
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
32
|
-
# The sync token to select the only updated results
|
|
33
|
-
#
|
|
34
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
35
|
-
field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
|
36
32
|
# Use a string with a date to only select results updated after that given date
|
|
37
33
|
#
|
|
38
34
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
39
35
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
40
36
|
|
|
41
37
|
|
|
42
|
-
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::CrmListContactCustomFieldDefinitionsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean),
|
|
43
|
-
def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil,
|
|
38
|
+
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::CrmListContactCustomFieldDefinitionsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
39
|
+
def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
44
40
|
@x_account_id = x_account_id
|
|
45
41
|
@fields_ = fields_
|
|
46
42
|
@filter = filter
|
|
@@ -49,7 +45,6 @@ module StackOne
|
|
|
49
45
|
@page_size = page_size
|
|
50
46
|
@proxy = proxy
|
|
51
47
|
@raw = raw
|
|
52
|
-
@sync_token = sync_token
|
|
53
48
|
@updated_after = updated_after
|
|
54
49
|
end
|
|
55
50
|
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 Operations
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class LmsCreateCollectionRequest < ::StackOne::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
field :lms_create_collection_request_dto, ::StackOne::Shared::LmsCreateCollectionRequestDto, { '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_collection_request_dto: ::StackOne::Shared::LmsCreateCollectionRequestDto, x_account_id: ::String).void }
|
|
21
|
+
def initialize(lms_create_collection_request_dto: nil, x_account_id: nil)
|
|
22
|
+
@lms_create_collection_request_dto = lms_create_collection_request_dto
|
|
23
|
+
@x_account_id = x_account_id
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -8,7 +8,7 @@ module StackOne
|
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class LmsCreateCollectionResponse < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
14
14
|
# HTTP response content type for this operation
|
|
@@ -17,7 +17,7 @@ module StackOne
|
|
|
17
17
|
field :raw_response, ::Faraday::Response
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
|
-
# The
|
|
20
|
+
# The collection was created successfully.
|
|
21
21
|
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
|
22
22
|
|
|
23
23
|
|
|
@@ -0,0 +1,30 @@
|
|
|
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 LmsUpdateCollectionRequest < ::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_collection_request_dto, ::StackOne::Shared::LmsCreateCollectionRequestDto, { '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_collection_request_dto: ::StackOne::Shared::LmsCreateCollectionRequestDto, x_account_id: ::String).void }
|
|
23
|
+
def initialize(id: nil, lms_create_collection_request_dto: nil, x_account_id: nil)
|
|
24
|
+
@id = id
|
|
25
|
+
@lms_create_collection_request_dto = lms_create_collection_request_dto
|
|
26
|
+
@x_account_id = x_account_id
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -8,7 +8,7 @@ module StackOne
|
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class LmsUpdateCollectionResponse < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
14
14
|
# HTTP response content type for this operation
|
|
@@ -17,7 +17,7 @@ module StackOne
|
|
|
17
17
|
field :raw_response, ::Faraday::Response
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
|
-
# The
|
|
20
|
+
# The collection was updated successfully.
|
|
21
21
|
field :update_result, T.nilable(::StackOne::Shared::UpdateResult)
|
|
22
22
|
|
|
23
23
|
|
|
@@ -18,15 +18,15 @@ module StackOne
|
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
20
|
# The Content Block with the given identifier was retrieved
|
|
21
|
-
field :
|
|
21
|
+
field :content_block_result, T.nilable(::StackOne::Shared::ContentBlockResult)
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, content_block_result: T.nilable(::StackOne::Shared::ContentBlockResult)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, content_block_result: nil)
|
|
26
26
|
@content_type = content_type
|
|
27
27
|
@raw_response = raw_response
|
|
28
28
|
@status_code = status_code
|
|
29
|
-
@
|
|
29
|
+
@content_block_result = content_block_result
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -18,15 +18,15 @@ module StackOne
|
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
20
|
# The email template with the given identifier was retrieved.
|
|
21
|
-
field :
|
|
21
|
+
field :email_template_result, T.nilable(::StackOne::Shared::EmailTemplateResult)
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, email_template_result: T.nilable(::StackOne::Shared::EmailTemplateResult)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, email_template_result: nil)
|
|
26
26
|
@content_type = content_type
|
|
27
27
|
@raw_response = raw_response
|
|
28
28
|
@status_code = status_code
|
|
29
|
-
@
|
|
29
|
+
@email_template_result = email_template_result
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|