late-sdk 0.0.1616 → 0.0.1617
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/README.md +9 -9
- data/docs/{CreatorPortalPublicApi.md → CreatorPortalApi.md} +37 -37
- data/lib/zernio-sdk/api/{creator_portal_public_api.rb → creator_portal_api.rb} +52 -52
- data/lib/zernio-sdk/version.rb +1 -1
- data/lib/zernio-sdk.rb +1 -1
- data/openapi.yaml +1 -1
- data/spec/api/{creator_portal_public_api_spec.rb → creator_portal_api_spec.rb} +6 -6
- data/zernio-sdk-0.0.1617.gem +0 -0
- metadata +6 -6
- data/zernio-sdk-0.0.1616.gem +0 -0
|
@@ -13,7 +13,7 @@ Generator version: 7.19.0
|
|
|
13
13
|
require 'cgi'
|
|
14
14
|
|
|
15
15
|
module Zernio
|
|
16
|
-
class
|
|
16
|
+
class CreatorPortalApi
|
|
17
17
|
attr_accessor :api_client
|
|
18
18
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
@@ -36,15 +36,15 @@ module Zernio
|
|
|
36
36
|
# @return [Array<(StartCreatorPayouts200Response, Integer, Hash)>] StartCreatorPayouts200Response data, response status code and response headers
|
|
37
37
|
def create_creator_payout_login_with_http_info(token, opts = {})
|
|
38
38
|
if @api_client.config.debugging
|
|
39
|
-
@api_client.config.logger.debug 'Calling API:
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: CreatorPortalApi.create_creator_payout_login ...'
|
|
40
40
|
end
|
|
41
41
|
# verify the required parameter 'token' is set
|
|
42
42
|
if @api_client.config.client_side_validation && token.nil?
|
|
43
|
-
fail ArgumentError, "Missing the required parameter 'token' when calling
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling CreatorPortalApi.create_creator_payout_login"
|
|
44
44
|
end
|
|
45
45
|
pattern = Regexp.new(/^[A-Za-z0-9_-]{16,128}$/)
|
|
46
46
|
if @api_client.config.client_side_validation && token !~ pattern
|
|
47
|
-
fail ArgumentError, "invalid value for 'token' when calling
|
|
47
|
+
fail ArgumentError, "invalid value for 'token' when calling CreatorPortalApi.create_creator_payout_login, must conform to the pattern #{pattern}."
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
# resource path
|
|
@@ -71,7 +71,7 @@ module Zernio
|
|
|
71
71
|
auth_names = opts[:debug_auth_names] || []
|
|
72
72
|
|
|
73
73
|
new_options = opts.merge(
|
|
74
|
-
:operation => :"
|
|
74
|
+
:operation => :"CreatorPortalApi.create_creator_payout_login",
|
|
75
75
|
:header_params => header_params,
|
|
76
76
|
:query_params => query_params,
|
|
77
77
|
:form_params => form_params,
|
|
@@ -82,7 +82,7 @@ module Zernio
|
|
|
82
82
|
|
|
83
83
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
84
84
|
if @api_client.config.debugging
|
|
85
|
-
@api_client.config.logger.debug "API called:
|
|
85
|
+
@api_client.config.logger.debug "API called: CreatorPortalApi#create_creator_payout_login\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
86
86
|
end
|
|
87
87
|
return data, status_code, headers
|
|
88
88
|
end
|
|
@@ -106,20 +106,20 @@ module Zernio
|
|
|
106
106
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
107
107
|
def get_creator_payout_statement_with_http_info(token, transfer_id, opts = {})
|
|
108
108
|
if @api_client.config.debugging
|
|
109
|
-
@api_client.config.logger.debug 'Calling API:
|
|
109
|
+
@api_client.config.logger.debug 'Calling API: CreatorPortalApi.get_creator_payout_statement ...'
|
|
110
110
|
end
|
|
111
111
|
# verify the required parameter 'token' is set
|
|
112
112
|
if @api_client.config.client_side_validation && token.nil?
|
|
113
|
-
fail ArgumentError, "Missing the required parameter 'token' when calling
|
|
113
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling CreatorPortalApi.get_creator_payout_statement"
|
|
114
114
|
end
|
|
115
115
|
pattern = Regexp.new(/^[A-Za-z0-9_-]{16,128}$/)
|
|
116
116
|
if @api_client.config.client_side_validation && token !~ pattern
|
|
117
|
-
fail ArgumentError, "invalid value for 'token' when calling
|
|
117
|
+
fail ArgumentError, "invalid value for 'token' when calling CreatorPortalApi.get_creator_payout_statement, must conform to the pattern #{pattern}."
|
|
118
118
|
end
|
|
119
119
|
|
|
120
120
|
# verify the required parameter 'transfer_id' is set
|
|
121
121
|
if @api_client.config.client_side_validation && transfer_id.nil?
|
|
122
|
-
fail ArgumentError, "Missing the required parameter 'transfer_id' when calling
|
|
122
|
+
fail ArgumentError, "Missing the required parameter 'transfer_id' when calling CreatorPortalApi.get_creator_payout_statement"
|
|
123
123
|
end
|
|
124
124
|
# resource path
|
|
125
125
|
local_var_path = '/public/creator-campaigns/{token}/payouts/{transferId}/statement'.sub('{' + 'token' + '}', CGI.escape(token.to_s)).sub('{' + 'transferId' + '}', CGI.escape(transfer_id.to_s))
|
|
@@ -145,7 +145,7 @@ module Zernio
|
|
|
145
145
|
auth_names = opts[:debug_auth_names] || []
|
|
146
146
|
|
|
147
147
|
new_options = opts.merge(
|
|
148
|
-
:operation => :"
|
|
148
|
+
:operation => :"CreatorPortalApi.get_creator_payout_statement",
|
|
149
149
|
:header_params => header_params,
|
|
150
150
|
:query_params => query_params,
|
|
151
151
|
:form_params => form_params,
|
|
@@ -156,7 +156,7 @@ module Zernio
|
|
|
156
156
|
|
|
157
157
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
158
158
|
if @api_client.config.debugging
|
|
159
|
-
@api_client.config.logger.debug "API called:
|
|
159
|
+
@api_client.config.logger.debug "API called: CreatorPortalApi#get_creator_payout_statement\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
160
160
|
end
|
|
161
161
|
return data, status_code, headers
|
|
162
162
|
end
|
|
@@ -182,27 +182,27 @@ module Zernio
|
|
|
182
182
|
# @return [Array<(GetCreatorPayouts200Response, Integer, Hash)>] GetCreatorPayouts200Response data, response status code and response headers
|
|
183
183
|
def get_creator_payouts_with_http_info(token, opts = {})
|
|
184
184
|
if @api_client.config.debugging
|
|
185
|
-
@api_client.config.logger.debug 'Calling API:
|
|
185
|
+
@api_client.config.logger.debug 'Calling API: CreatorPortalApi.get_creator_payouts ...'
|
|
186
186
|
end
|
|
187
187
|
# verify the required parameter 'token' is set
|
|
188
188
|
if @api_client.config.client_side_validation && token.nil?
|
|
189
|
-
fail ArgumentError, "Missing the required parameter 'token' when calling
|
|
189
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling CreatorPortalApi.get_creator_payouts"
|
|
190
190
|
end
|
|
191
191
|
pattern = Regexp.new(/^[A-Za-z0-9_-]{16,128}$/)
|
|
192
192
|
if @api_client.config.client_side_validation && token !~ pattern
|
|
193
|
-
fail ArgumentError, "invalid value for 'token' when calling
|
|
193
|
+
fail ArgumentError, "invalid value for 'token' when calling CreatorPortalApi.get_creator_payouts, must conform to the pattern #{pattern}."
|
|
194
194
|
end
|
|
195
195
|
|
|
196
196
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 200
|
|
197
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
|
197
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CreatorPortalApi.get_creator_payouts, must be smaller than or equal to 200.'
|
|
198
198
|
end
|
|
199
199
|
|
|
200
200
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
201
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling
|
|
201
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CreatorPortalApi.get_creator_payouts, must be greater than or equal to 1.'
|
|
202
202
|
end
|
|
203
203
|
|
|
204
204
|
if @api_client.config.client_side_validation && !opts[:'skip'].nil? && opts[:'skip'] < 0
|
|
205
|
-
fail ArgumentError, 'invalid value for "opts[:"skip"]" when calling
|
|
205
|
+
fail ArgumentError, 'invalid value for "opts[:"skip"]" when calling CreatorPortalApi.get_creator_payouts, must be greater than or equal to 0.'
|
|
206
206
|
end
|
|
207
207
|
|
|
208
208
|
# resource path
|
|
@@ -231,7 +231,7 @@ module Zernio
|
|
|
231
231
|
auth_names = opts[:debug_auth_names] || []
|
|
232
232
|
|
|
233
233
|
new_options = opts.merge(
|
|
234
|
-
:operation => :"
|
|
234
|
+
:operation => :"CreatorPortalApi.get_creator_payouts",
|
|
235
235
|
:header_params => header_params,
|
|
236
236
|
:query_params => query_params,
|
|
237
237
|
:form_params => form_params,
|
|
@@ -242,7 +242,7 @@ module Zernio
|
|
|
242
242
|
|
|
243
243
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
244
244
|
if @api_client.config.debugging
|
|
245
|
-
@api_client.config.logger.debug "API called:
|
|
245
|
+
@api_client.config.logger.debug "API called: CreatorPortalApi#get_creator_payouts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
246
246
|
end
|
|
247
247
|
return data, status_code, headers
|
|
248
248
|
end
|
|
@@ -264,15 +264,15 @@ module Zernio
|
|
|
264
264
|
# @return [Array<(GetCreatorPortal200Response, Integer, Hash)>] GetCreatorPortal200Response data, response status code and response headers
|
|
265
265
|
def get_creator_portal_with_http_info(token, opts = {})
|
|
266
266
|
if @api_client.config.debugging
|
|
267
|
-
@api_client.config.logger.debug 'Calling API:
|
|
267
|
+
@api_client.config.logger.debug 'Calling API: CreatorPortalApi.get_creator_portal ...'
|
|
268
268
|
end
|
|
269
269
|
# verify the required parameter 'token' is set
|
|
270
270
|
if @api_client.config.client_side_validation && token.nil?
|
|
271
|
-
fail ArgumentError, "Missing the required parameter 'token' when calling
|
|
271
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling CreatorPortalApi.get_creator_portal"
|
|
272
272
|
end
|
|
273
273
|
pattern = Regexp.new(/^[A-Za-z0-9_-]{16,128}$/)
|
|
274
274
|
if @api_client.config.client_side_validation && token !~ pattern
|
|
275
|
-
fail ArgumentError, "invalid value for 'token' when calling
|
|
275
|
+
fail ArgumentError, "invalid value for 'token' when calling CreatorPortalApi.get_creator_portal, must conform to the pattern #{pattern}."
|
|
276
276
|
end
|
|
277
277
|
|
|
278
278
|
# resource path
|
|
@@ -299,7 +299,7 @@ module Zernio
|
|
|
299
299
|
auth_names = opts[:debug_auth_names] || []
|
|
300
300
|
|
|
301
301
|
new_options = opts.merge(
|
|
302
|
-
:operation => :"
|
|
302
|
+
:operation => :"CreatorPortalApi.get_creator_portal",
|
|
303
303
|
:header_params => header_params,
|
|
304
304
|
:query_params => query_params,
|
|
305
305
|
:form_params => form_params,
|
|
@@ -310,7 +310,7 @@ module Zernio
|
|
|
310
310
|
|
|
311
311
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
312
312
|
if @api_client.config.debugging
|
|
313
|
-
@api_client.config.logger.debug "API called:
|
|
313
|
+
@api_client.config.logger.debug "API called: CreatorPortalApi#get_creator_portal\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
314
314
|
end
|
|
315
315
|
return data, status_code, headers
|
|
316
316
|
end
|
|
@@ -334,15 +334,15 @@ module Zernio
|
|
|
334
334
|
# @return [Array<(JoinCreatorCampaign201Response, Integer, Hash)>] JoinCreatorCampaign201Response data, response status code and response headers
|
|
335
335
|
def join_creator_campaign_with_http_info(token, opts = {})
|
|
336
336
|
if @api_client.config.debugging
|
|
337
|
-
@api_client.config.logger.debug 'Calling API:
|
|
337
|
+
@api_client.config.logger.debug 'Calling API: CreatorPortalApi.join_creator_campaign ...'
|
|
338
338
|
end
|
|
339
339
|
# verify the required parameter 'token' is set
|
|
340
340
|
if @api_client.config.client_side_validation && token.nil?
|
|
341
|
-
fail ArgumentError, "Missing the required parameter 'token' when calling
|
|
341
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling CreatorPortalApi.join_creator_campaign"
|
|
342
342
|
end
|
|
343
343
|
pattern = Regexp.new(/^[A-Za-z0-9_-]{16,128}$/)
|
|
344
344
|
if @api_client.config.client_side_validation && token !~ pattern
|
|
345
|
-
fail ArgumentError, "invalid value for 'token' when calling
|
|
345
|
+
fail ArgumentError, "invalid value for 'token' when calling CreatorPortalApi.join_creator_campaign, must conform to the pattern #{pattern}."
|
|
346
346
|
end
|
|
347
347
|
|
|
348
348
|
# resource path
|
|
@@ -374,7 +374,7 @@ module Zernio
|
|
|
374
374
|
auth_names = opts[:debug_auth_names] || []
|
|
375
375
|
|
|
376
376
|
new_options = opts.merge(
|
|
377
|
-
:operation => :"
|
|
377
|
+
:operation => :"CreatorPortalApi.join_creator_campaign",
|
|
378
378
|
:header_params => header_params,
|
|
379
379
|
:query_params => query_params,
|
|
380
380
|
:form_params => form_params,
|
|
@@ -385,7 +385,7 @@ module Zernio
|
|
|
385
385
|
|
|
386
386
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
387
387
|
if @api_client.config.debugging
|
|
388
|
-
@api_client.config.logger.debug "API called:
|
|
388
|
+
@api_client.config.logger.debug "API called: CreatorPortalApi#join_creator_campaign\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
389
389
|
end
|
|
390
390
|
return data, status_code, headers
|
|
391
391
|
end
|
|
@@ -407,11 +407,11 @@ module Zernio
|
|
|
407
407
|
# @return [Array<(RecoverCreatorPortalLinks202Response, Integer, Hash)>] RecoverCreatorPortalLinks202Response data, response status code and response headers
|
|
408
408
|
def recover_creator_portal_links_with_http_info(recover_creator_portal_links_request, opts = {})
|
|
409
409
|
if @api_client.config.debugging
|
|
410
|
-
@api_client.config.logger.debug 'Calling API:
|
|
410
|
+
@api_client.config.logger.debug 'Calling API: CreatorPortalApi.recover_creator_portal_links ...'
|
|
411
411
|
end
|
|
412
412
|
# verify the required parameter 'recover_creator_portal_links_request' is set
|
|
413
413
|
if @api_client.config.client_side_validation && recover_creator_portal_links_request.nil?
|
|
414
|
-
fail ArgumentError, "Missing the required parameter 'recover_creator_portal_links_request' when calling
|
|
414
|
+
fail ArgumentError, "Missing the required parameter 'recover_creator_portal_links_request' when calling CreatorPortalApi.recover_creator_portal_links"
|
|
415
415
|
end
|
|
416
416
|
# resource path
|
|
417
417
|
local_var_path = '/public/creator-campaigns/recover-link'
|
|
@@ -442,7 +442,7 @@ module Zernio
|
|
|
442
442
|
auth_names = opts[:debug_auth_names] || []
|
|
443
443
|
|
|
444
444
|
new_options = opts.merge(
|
|
445
|
-
:operation => :"
|
|
445
|
+
:operation => :"CreatorPortalApi.recover_creator_portal_links",
|
|
446
446
|
:header_params => header_params,
|
|
447
447
|
:query_params => query_params,
|
|
448
448
|
:form_params => form_params,
|
|
@@ -453,7 +453,7 @@ module Zernio
|
|
|
453
453
|
|
|
454
454
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
455
455
|
if @api_client.config.debugging
|
|
456
|
-
@api_client.config.logger.debug "API called:
|
|
456
|
+
@api_client.config.logger.debug "API called: CreatorPortalApi#recover_creator_portal_links\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
457
457
|
end
|
|
458
458
|
return data, status_code, headers
|
|
459
459
|
end
|
|
@@ -477,20 +477,20 @@ module Zernio
|
|
|
477
477
|
# @return [Array<(StartCreatorConnect200Response, Integer, Hash)>] StartCreatorConnect200Response data, response status code and response headers
|
|
478
478
|
def start_creator_connect_with_http_info(token, start_creator_connect_request, opts = {})
|
|
479
479
|
if @api_client.config.debugging
|
|
480
|
-
@api_client.config.logger.debug 'Calling API:
|
|
480
|
+
@api_client.config.logger.debug 'Calling API: CreatorPortalApi.start_creator_connect ...'
|
|
481
481
|
end
|
|
482
482
|
# verify the required parameter 'token' is set
|
|
483
483
|
if @api_client.config.client_side_validation && token.nil?
|
|
484
|
-
fail ArgumentError, "Missing the required parameter 'token' when calling
|
|
484
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling CreatorPortalApi.start_creator_connect"
|
|
485
485
|
end
|
|
486
486
|
pattern = Regexp.new(/^[A-Za-z0-9_-]{16,128}$/)
|
|
487
487
|
if @api_client.config.client_side_validation && token !~ pattern
|
|
488
|
-
fail ArgumentError, "invalid value for 'token' when calling
|
|
488
|
+
fail ArgumentError, "invalid value for 'token' when calling CreatorPortalApi.start_creator_connect, must conform to the pattern #{pattern}."
|
|
489
489
|
end
|
|
490
490
|
|
|
491
491
|
# verify the required parameter 'start_creator_connect_request' is set
|
|
492
492
|
if @api_client.config.client_side_validation && start_creator_connect_request.nil?
|
|
493
|
-
fail ArgumentError, "Missing the required parameter 'start_creator_connect_request' when calling
|
|
493
|
+
fail ArgumentError, "Missing the required parameter 'start_creator_connect_request' when calling CreatorPortalApi.start_creator_connect"
|
|
494
494
|
end
|
|
495
495
|
# resource path
|
|
496
496
|
local_var_path = '/public/creator-campaigns/{token}/connect'.sub('{' + 'token' + '}', CGI.escape(token.to_s))
|
|
@@ -521,7 +521,7 @@ module Zernio
|
|
|
521
521
|
auth_names = opts[:debug_auth_names] || []
|
|
522
522
|
|
|
523
523
|
new_options = opts.merge(
|
|
524
|
-
:operation => :"
|
|
524
|
+
:operation => :"CreatorPortalApi.start_creator_connect",
|
|
525
525
|
:header_params => header_params,
|
|
526
526
|
:query_params => query_params,
|
|
527
527
|
:form_params => form_params,
|
|
@@ -532,7 +532,7 @@ module Zernio
|
|
|
532
532
|
|
|
533
533
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
534
534
|
if @api_client.config.debugging
|
|
535
|
-
@api_client.config.logger.debug "API called:
|
|
535
|
+
@api_client.config.logger.debug "API called: CreatorPortalApi#start_creator_connect\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
536
536
|
end
|
|
537
537
|
return data, status_code, headers
|
|
538
538
|
end
|
|
@@ -556,20 +556,20 @@ module Zernio
|
|
|
556
556
|
# @return [Array<(StartCreatorPayouts200Response, Integer, Hash)>] StartCreatorPayouts200Response data, response status code and response headers
|
|
557
557
|
def start_creator_payouts_with_http_info(token, start_creator_payouts_request, opts = {})
|
|
558
558
|
if @api_client.config.debugging
|
|
559
|
-
@api_client.config.logger.debug 'Calling API:
|
|
559
|
+
@api_client.config.logger.debug 'Calling API: CreatorPortalApi.start_creator_payouts ...'
|
|
560
560
|
end
|
|
561
561
|
# verify the required parameter 'token' is set
|
|
562
562
|
if @api_client.config.client_side_validation && token.nil?
|
|
563
|
-
fail ArgumentError, "Missing the required parameter 'token' when calling
|
|
563
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling CreatorPortalApi.start_creator_payouts"
|
|
564
564
|
end
|
|
565
565
|
pattern = Regexp.new(/^[A-Za-z0-9_-]{16,128}$/)
|
|
566
566
|
if @api_client.config.client_side_validation && token !~ pattern
|
|
567
|
-
fail ArgumentError, "invalid value for 'token' when calling
|
|
567
|
+
fail ArgumentError, "invalid value for 'token' when calling CreatorPortalApi.start_creator_payouts, must conform to the pattern #{pattern}."
|
|
568
568
|
end
|
|
569
569
|
|
|
570
570
|
# verify the required parameter 'start_creator_payouts_request' is set
|
|
571
571
|
if @api_client.config.client_side_validation && start_creator_payouts_request.nil?
|
|
572
|
-
fail ArgumentError, "Missing the required parameter 'start_creator_payouts_request' when calling
|
|
572
|
+
fail ArgumentError, "Missing the required parameter 'start_creator_payouts_request' when calling CreatorPortalApi.start_creator_payouts"
|
|
573
573
|
end
|
|
574
574
|
# resource path
|
|
575
575
|
local_var_path = '/public/creator-campaigns/{token}/payouts'.sub('{' + 'token' + '}', CGI.escape(token.to_s))
|
|
@@ -600,7 +600,7 @@ module Zernio
|
|
|
600
600
|
auth_names = opts[:debug_auth_names] || []
|
|
601
601
|
|
|
602
602
|
new_options = opts.merge(
|
|
603
|
-
:operation => :"
|
|
603
|
+
:operation => :"CreatorPortalApi.start_creator_payouts",
|
|
604
604
|
:header_params => header_params,
|
|
605
605
|
:query_params => query_params,
|
|
606
606
|
:form_params => form_params,
|
|
@@ -611,7 +611,7 @@ module Zernio
|
|
|
611
611
|
|
|
612
612
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
613
613
|
if @api_client.config.debugging
|
|
614
|
-
@api_client.config.logger.debug "API called:
|
|
614
|
+
@api_client.config.logger.debug "API called: CreatorPortalApi#start_creator_payouts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
615
615
|
end
|
|
616
616
|
return data, status_code, headers
|
|
617
617
|
end
|
|
@@ -635,20 +635,20 @@ module Zernio
|
|
|
635
635
|
# @return [Array<(SubmitCreatorPost201Response, Integer, Hash)>] SubmitCreatorPost201Response data, response status code and response headers
|
|
636
636
|
def submit_creator_post_with_http_info(token, submit_creator_post_request, opts = {})
|
|
637
637
|
if @api_client.config.debugging
|
|
638
|
-
@api_client.config.logger.debug 'Calling API:
|
|
638
|
+
@api_client.config.logger.debug 'Calling API: CreatorPortalApi.submit_creator_post ...'
|
|
639
639
|
end
|
|
640
640
|
# verify the required parameter 'token' is set
|
|
641
641
|
if @api_client.config.client_side_validation && token.nil?
|
|
642
|
-
fail ArgumentError, "Missing the required parameter 'token' when calling
|
|
642
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling CreatorPortalApi.submit_creator_post"
|
|
643
643
|
end
|
|
644
644
|
pattern = Regexp.new(/^[A-Za-z0-9_-]{16,128}$/)
|
|
645
645
|
if @api_client.config.client_side_validation && token !~ pattern
|
|
646
|
-
fail ArgumentError, "invalid value for 'token' when calling
|
|
646
|
+
fail ArgumentError, "invalid value for 'token' when calling CreatorPortalApi.submit_creator_post, must conform to the pattern #{pattern}."
|
|
647
647
|
end
|
|
648
648
|
|
|
649
649
|
# verify the required parameter 'submit_creator_post_request' is set
|
|
650
650
|
if @api_client.config.client_side_validation && submit_creator_post_request.nil?
|
|
651
|
-
fail ArgumentError, "Missing the required parameter 'submit_creator_post_request' when calling
|
|
651
|
+
fail ArgumentError, "Missing the required parameter 'submit_creator_post_request' when calling CreatorPortalApi.submit_creator_post"
|
|
652
652
|
end
|
|
653
653
|
# resource path
|
|
654
654
|
local_var_path = '/public/creator-campaigns/{token}/submissions'.sub('{' + 'token' + '}', CGI.escape(token.to_s))
|
|
@@ -679,7 +679,7 @@ module Zernio
|
|
|
679
679
|
auth_names = opts[:debug_auth_names] || []
|
|
680
680
|
|
|
681
681
|
new_options = opts.merge(
|
|
682
|
-
:operation => :"
|
|
682
|
+
:operation => :"CreatorPortalApi.submit_creator_post",
|
|
683
683
|
:header_params => header_params,
|
|
684
684
|
:query_params => query_params,
|
|
685
685
|
:form_params => form_params,
|
|
@@ -690,7 +690,7 @@ module Zernio
|
|
|
690
690
|
|
|
691
691
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
692
692
|
if @api_client.config.debugging
|
|
693
|
-
@api_client.config.logger.debug "API called:
|
|
693
|
+
@api_client.config.logger.debug "API called: CreatorPortalApi#submit_creator_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
694
694
|
end
|
|
695
695
|
return data, status_code, headers
|
|
696
696
|
end
|
data/lib/zernio-sdk/version.rb
CHANGED
data/lib/zernio-sdk.rb
CHANGED
|
@@ -3219,7 +3219,7 @@ require 'zernio-sdk/api/connected_apps_api'
|
|
|
3219
3219
|
require 'zernio-sdk/api/contacts_api'
|
|
3220
3220
|
require 'zernio-sdk/api/conversions_api'
|
|
3221
3221
|
require 'zernio-sdk/api/creator_campaigns_api'
|
|
3222
|
-
require 'zernio-sdk/api/
|
|
3222
|
+
require 'zernio-sdk/api/creator_portal_api'
|
|
3223
3223
|
require 'zernio-sdk/api/custom_fields_api'
|
|
3224
3224
|
require 'zernio-sdk/api/discord_api'
|
|
3225
3225
|
require 'zernio-sdk/api/email_api'
|