stackone_client 0.2.46 → 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 +96 -45
- 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/ats_list_jobs_queryparam_filter.rb +6 -3
- data/lib/stack_one/models/operations/ats_list_jobs_request.rb +1 -1
- 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_batch_upsert_course_request.rb +27 -0
- data/lib/stack_one/models/operations/lms_batch_upsert_course_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_create_collection_request.rb +27 -0
- data/lib/stack_one/models/operations/{lms_delete_content_response.rb → lms_create_collection_response.rb} +6 -6
- 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/lms_upsert_course_request.rb +27 -0
- data/lib/stack_one/models/operations/{lms_create_content_response.rb → lms_upsert_course_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/{shared/createcategoriesapimodel_value.rb → operations/status.rb} +5 -5
- data/lib/stack_one/models/operations.rb +9 -6
- data/lib/stack_one/models/shared/assignment.rb +2 -2
- data/lib/stack_one/models/shared/{learningobjecttypeenum_value.rb → assignment_value.rb} +1 -1
- 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/categories.rb +1 -0
- data/lib/stack_one/models/shared/completion.rb +14 -2
- data/lib/stack_one/models/shared/{course_type.rb → completion_learning_object_type.rb} +4 -4
- data/lib/stack_one/models/shared/completion_schemas_result.rb +2 -2
- data/lib/stack_one/models/shared/{course_value.rb → completion_schemas_value.rb} +3 -3
- data/lib/stack_one/models/shared/completion_value.rb +3 -2
- data/lib/stack_one/models/shared/connectorsmeta_category.rb +1 -0
- data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +1 -0
- data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +1 -0
- 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 +5 -8
- data/lib/stack_one/models/shared/createcategoriesapimodel.rb +2 -8
- data/lib/stack_one/models/shared/createcontentapimodel.rb +33 -0
- data/lib/stack_one/models/shared/createmessage_value.rb +16 -8
- data/lib/stack_one/models/shared/createskillsapimodel.rb +30 -0
- 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/employee_schemas_national_identity_number_type_value.rb +30 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +2 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_national_identity_number_type_value.rb +30 -0
- 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/{learningobjecttypeenum.rb → learning_object_type.rb} +4 -4
- data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +1 -0
- data/lib/stack_one/models/shared/lmsbatchupsertcourserequestdto.rb +24 -0
- data/lib/stack_one/models/shared/lmscreatecollectionrequestdto.rb +51 -0
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +8 -5
- data/lib/stack_one/models/shared/lmsupsertcourserequestdto.rb +66 -0
- 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 +27 -22
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +40 -32
- 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_update_content_request.rb +0 -30
- data/lib/stack_one/models/shared/active.rb +0 -27
- 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_schemas_value.rb +0 -19
- data/lib/stack_one/models/shared/createcategoriesapimodel_level.rb +0 -27
- 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 -63
- 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
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
@@ -65,19 +65,19 @@ module StackOne
|
|
65
65
|
end
|
66
66
|
|
67
67
|
|
68
|
-
sig { params(
|
69
|
-
def
|
70
|
-
#
|
71
|
-
request = ::StackOne::Operations::
|
68
|
+
sig { params(lms_batch_upsert_course_request_dto: ::StackOne::Shared::LmsBatchUpsertCourseRequestDto, x_account_id: ::String).returns(::StackOne::Operations::LmsBatchUpsertCourseResponse) }
|
69
|
+
def batch_upsert_course(lms_batch_upsert_course_request_dto, x_account_id)
|
70
|
+
# batch_upsert_course - Batch Upsert Course
|
71
|
+
request = ::StackOne::Operations::LmsBatchUpsertCourseRequest.new(
|
72
72
|
|
73
|
-
|
73
|
+
lms_batch_upsert_course_request_dto: lms_batch_upsert_course_request_dto,
|
74
74
|
x_account_id: x_account_id
|
75
75
|
)
|
76
76
|
url, params = @sdk_configuration.get_server_details
|
77
77
|
base_url = Utils.template_url(url, params)
|
78
|
-
url = "#{base_url}/unified/lms/
|
78
|
+
url = "#{base_url}/unified/lms/courses/batch"
|
79
79
|
headers = Utils.get_headers(request)
|
80
|
-
req_content_type, data, form = Utils.serialize_request_body(request, :
|
80
|
+
req_content_type, data, form = Utils.serialize_request_body(request, :lms_batch_upsert_course_request_dto, :json)
|
81
81
|
headers['content-type'] = req_content_type
|
82
82
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
83
83
|
headers['Accept'] = 'application/json'
|
@@ -97,13 +97,13 @@ module StackOne
|
|
97
97
|
|
98
98
|
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
99
99
|
|
100
|
-
res = ::StackOne::Operations::
|
100
|
+
res = ::StackOne::Operations::LmsBatchUpsertCourseResponse.new(
|
101
101
|
status_code: r.status, content_type: content_type, raw_response: r
|
102
102
|
)
|
103
|
-
if r.status ==
|
103
|
+
if r.status == 202
|
104
104
|
if Utils.match_content_type(content_type, 'application/json')
|
105
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
106
|
-
res.
|
105
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::BatchResultApiModel)
|
106
|
+
res.batch_result_api_model = out
|
107
107
|
end
|
108
108
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
109
109
|
end
|
@@ -111,25 +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
|
-
|
120
|
-
id: id,
|
119
|
+
lms_create_collection_request_dto: lms_create_collection_request_dto,
|
121
120
|
x_account_id: x_account_id
|
122
121
|
)
|
123
122
|
url, params = @sdk_configuration.get_server_details
|
124
123
|
base_url = Utils.template_url(url, params)
|
125
|
-
url =
|
126
|
-
::StackOne::Operations::LmsCreateUserCompletionRequest,
|
127
|
-
base_url,
|
128
|
-
'/unified/lms/users/{id}/completions',
|
129
|
-
request
|
130
|
-
)
|
124
|
+
url = "#{base_url}/unified/lms/collections"
|
131
125
|
headers = Utils.get_headers(request)
|
132
|
-
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)
|
133
127
|
headers['content-type'] = req_content_type
|
134
128
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
135
129
|
headers['Accept'] = 'application/json'
|
@@ -149,7 +143,7 @@ module StackOne
|
|
149
143
|
|
150
144
|
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
151
145
|
|
152
|
-
res = ::StackOne::Operations::
|
146
|
+
res = ::StackOne::Operations::LmsCreateCollectionResponse.new(
|
153
147
|
status_code: r.status, content_type: content_type, raw_response: r
|
154
148
|
)
|
155
149
|
if r.status == 201
|
@@ -163,40 +157,51 @@ module StackOne
|
|
163
157
|
end
|
164
158
|
|
165
159
|
|
166
|
-
sig { params(id: ::String, x_account_id: ::String).returns(::StackOne::Operations::
|
167
|
-
def
|
168
|
-
#
|
169
|
-
request = ::StackOne::Operations::
|
160
|
+
sig { params(lms_create_completion_request_dto: ::StackOne::Shared::LmsCreateCompletionRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::LmsCreateUserCompletionResponse) }
|
161
|
+
def create_user_completion(lms_create_completion_request_dto, id, x_account_id)
|
162
|
+
# create_user_completion - Create User Completion
|
163
|
+
request = ::StackOne::Operations::LmsCreateUserCompletionRequest.new(
|
170
164
|
|
165
|
+
lms_create_completion_request_dto: lms_create_completion_request_dto,
|
171
166
|
id: id,
|
172
167
|
x_account_id: x_account_id
|
173
168
|
)
|
174
169
|
url, params = @sdk_configuration.get_server_details
|
175
170
|
base_url = Utils.template_url(url, params)
|
176
171
|
url = Utils.generate_url(
|
177
|
-
::StackOne::Operations::
|
172
|
+
::StackOne::Operations::LmsCreateUserCompletionRequest,
|
178
173
|
base_url,
|
179
|
-
'/unified/lms/
|
174
|
+
'/unified/lms/users/{id}/completions',
|
180
175
|
request
|
181
176
|
)
|
182
177
|
headers = Utils.get_headers(request)
|
178
|
+
req_content_type, data, form = Utils.serialize_request_body(request, :lms_create_completion_request_dto, :json)
|
179
|
+
headers['content-type'] = req_content_type
|
180
|
+
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
183
181
|
headers['Accept'] = 'application/json'
|
184
182
|
headers['user-agent'] = @sdk_configuration.user_agent
|
185
183
|
|
186
|
-
r = @sdk_configuration.client.
|
184
|
+
r = @sdk_configuration.client.post(url) do |req|
|
187
185
|
req.headers = headers
|
188
186
|
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
187
|
+
if form
|
188
|
+
req.body = Utils.encode_form(form)
|
189
|
+
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
190
|
+
req.body = URI.encode_www_form(data)
|
191
|
+
else
|
192
|
+
req.body = data
|
193
|
+
end
|
189
194
|
end
|
190
195
|
|
191
196
|
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
192
197
|
|
193
|
-
res = ::StackOne::Operations::
|
198
|
+
res = ::StackOne::Operations::LmsCreateUserCompletionResponse.new(
|
194
199
|
status_code: r.status, content_type: content_type, raw_response: r
|
195
200
|
)
|
196
|
-
if r.status ==
|
201
|
+
if r.status == 201
|
197
202
|
if Utils.match_content_type(content_type, 'application/json')
|
198
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
199
|
-
res.
|
203
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
204
|
+
res.create_result = out
|
200
205
|
end
|
201
206
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
202
207
|
end
|
@@ -853,25 +858,25 @@ module StackOne
|
|
853
858
|
end
|
854
859
|
|
855
860
|
|
856
|
-
sig { params(
|
857
|
-
def
|
858
|
-
#
|
859
|
-
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(
|
860
865
|
|
861
|
-
|
866
|
+
lms_create_collection_request_dto: lms_create_collection_request_dto,
|
862
867
|
id: id,
|
863
868
|
x_account_id: x_account_id
|
864
869
|
)
|
865
870
|
url, params = @sdk_configuration.get_server_details
|
866
871
|
base_url = Utils.template_url(url, params)
|
867
872
|
url = Utils.generate_url(
|
868
|
-
::StackOne::Operations::
|
873
|
+
::StackOne::Operations::LmsUpdateCollectionRequest,
|
869
874
|
base_url,
|
870
|
-
'/unified/lms/
|
875
|
+
'/unified/lms/collections/{id}',
|
871
876
|
request
|
872
877
|
)
|
873
878
|
headers = Utils.get_headers(request)
|
874
|
-
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)
|
875
880
|
headers['content-type'] = req_content_type
|
876
881
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
877
882
|
headers['Accept'] = 'application/json'
|
@@ -891,7 +896,7 @@ module StackOne
|
|
891
896
|
|
892
897
|
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
893
898
|
|
894
|
-
res = ::StackOne::Operations::
|
899
|
+
res = ::StackOne::Operations::LmsUpdateCollectionResponse.new(
|
895
900
|
status_code: r.status, content_type: content_type, raw_response: r
|
896
901
|
)
|
897
902
|
if r.status == 201
|
@@ -949,5 +954,51 @@ module StackOne
|
|
949
954
|
end
|
950
955
|
res
|
951
956
|
end
|
957
|
+
|
958
|
+
|
959
|
+
sig { params(lms_upsert_course_request_dto: ::StackOne::Shared::LmsUpsertCourseRequestDto, x_account_id: ::String).returns(::StackOne::Operations::LmsUpsertCourseResponse) }
|
960
|
+
def upsert_course(lms_upsert_course_request_dto, x_account_id)
|
961
|
+
# upsert_course - Upsert Course
|
962
|
+
request = ::StackOne::Operations::LmsUpsertCourseRequest.new(
|
963
|
+
|
964
|
+
lms_upsert_course_request_dto: lms_upsert_course_request_dto,
|
965
|
+
x_account_id: x_account_id
|
966
|
+
)
|
967
|
+
url, params = @sdk_configuration.get_server_details
|
968
|
+
base_url = Utils.template_url(url, params)
|
969
|
+
url = "#{base_url}/unified/lms/courses"
|
970
|
+
headers = Utils.get_headers(request)
|
971
|
+
req_content_type, data, form = Utils.serialize_request_body(request, :lms_upsert_course_request_dto, :json)
|
972
|
+
headers['content-type'] = req_content_type
|
973
|
+
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
974
|
+
headers['Accept'] = 'application/json'
|
975
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
976
|
+
|
977
|
+
r = @sdk_configuration.client.put(url) do |req|
|
978
|
+
req.headers = headers
|
979
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
980
|
+
if form
|
981
|
+
req.body = Utils.encode_form(form)
|
982
|
+
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
983
|
+
req.body = URI.encode_www_form(data)
|
984
|
+
else
|
985
|
+
req.body = data
|
986
|
+
end
|
987
|
+
end
|
988
|
+
|
989
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
990
|
+
|
991
|
+
res = ::StackOne::Operations::LmsUpsertCourseResponse.new(
|
992
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
993
|
+
)
|
994
|
+
if r.status == 201
|
995
|
+
if Utils.match_content_type(content_type, 'application/json')
|
996
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
997
|
+
res.create_result = out
|
998
|
+
end
|
999
|
+
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
1000
|
+
end
|
1001
|
+
res
|
1002
|
+
end
|
952
1003
|
end
|
953
1004
|
end
|
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
|
@@ -7,16 +7,19 @@
|
|
7
7
|
module StackOne
|
8
8
|
module Operations
|
9
9
|
|
10
|
-
#
|
10
|
+
# ATS Jobs filters
|
11
11
|
class AtsListJobsQueryParamFilter < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
+
# The status of the job
|
15
|
+
field :status, T.nilable(::StackOne::Operations::Status), { 'query_param': { 'field_name': 'status' } }
|
14
16
|
# Use a string with a date to only select results updated after that given date
|
15
17
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
|
16
18
|
|
17
19
|
|
18
|
-
sig { params(updated_after: T.nilable(::String)).void }
|
19
|
-
def initialize(updated_after: nil)
|
20
|
+
sig { params(status: T.nilable(::StackOne::Operations::Status), updated_after: T.nilable(::String)).void }
|
21
|
+
def initialize(status: nil, updated_after: nil)
|
22
|
+
@status = status
|
20
23
|
@updated_after = updated_after
|
21
24
|
end
|
22
25
|
end
|
@@ -17,7 +17,7 @@ module StackOne
|
|
17
17
|
field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
|
18
18
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
-
#
|
20
|
+
# ATS Jobs filters
|
21
21
|
field :filter, T.nilable(::StackOne::Operations::AtsListJobsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
|
22
22
|
# The comma separated list of fields that will be included in the response
|
23
23
|
field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
|
@@ -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
|