dub 0.12.6 → 0.12.8
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/dub.rb +1 -0
- data/lib/open_api_sdk/commissions.rb +240 -1
- data/lib/open_api_sdk/customers.rb +3 -3
- data/lib/open_api_sdk/domains.rb +2 -2
- data/lib/open_api_sdk/dub.rb +2 -1
- data/lib/open_api_sdk/events.rb +1 -1
- data/lib/open_api_sdk/folders.rb +2 -2
- data/lib/open_api_sdk/links.rb +1 -4
- data/lib/open_api_sdk/models/operations/applicationformdata.rb +36 -0
- data/lib/open_api_sdk/models/operations/applicationformdata.rbi +15 -0
- data/lib/open_api_sdk/models/operations/approvepartnerapplication_requestbody.rb +36 -0
- data/lib/open_api_sdk/models/operations/approvepartnerapplication_requestbody.rbi +15 -0
- data/lib/open_api_sdk/models/operations/approvepartnerapplication_responsebody.rb +32 -0
- data/lib/open_api_sdk/models/operations/approvepartnerapplication_responsebody.rbi +13 -0
- data/lib/open_api_sdk/models/operations/banpartner_requestbody.rb +1 -1
- data/lib/open_api_sdk/models/operations/createcommission_requestbody.rb +27 -0
- data/lib/open_api_sdk/models/operations/createcommission_requestbody.rbi +11 -0
- data/lib/open_api_sdk/models/operations/{gettags_queryparam_sortorder.rb → createcommission_requestbody_commissions_type.rb} +3 -4
- data/lib/open_api_sdk/models/operations/createcommission_requestbody_commissions_type.rbi +11 -0
- data/lib/open_api_sdk/models/operations/{gettags_queryparam_sortby.rb → createcommission_requestbody_type.rb} +3 -4
- data/lib/open_api_sdk/models/operations/createcommission_requestbody_type.rbi +11 -0
- data/lib/open_api_sdk/models/operations/createcommission_responsebody.rb +36 -0
- data/lib/open_api_sdk/models/operations/createcommission_responsebody.rbi +15 -0
- data/lib/open_api_sdk/models/operations/createpartner_networkstatus.rb +22 -0
- data/lib/open_api_sdk/models/operations/createpartner_networkstatus.rbi +11 -0
- data/lib/open_api_sdk/models/operations/createpartner_responsebody.rb +32 -10
- data/lib/open_api_sdk/models/operations/createpartner_responsebody.rbi +14 -4
- data/lib/open_api_sdk/models/operations/createpartner_tags.rb +36 -0
- data/lib/open_api_sdk/models/operations/createpartner_tags.rbi +15 -0
- data/lib/open_api_sdk/models/operations/customer.rb +24 -16
- data/lib/open_api_sdk/models/operations/customer.rbi +8 -4
- data/lib/open_api_sdk/models/operations/getcustomer_responsebody.rb +6 -6
- data/lib/open_api_sdk/models/operations/getcustomer_responsebody.rbi +2 -2
- data/lib/open_api_sdk/models/operations/getcustomers_responsebody.rb +6 -6
- data/lib/open_api_sdk/models/operations/getcustomers_responsebody.rbi +2 -2
- data/lib/open_api_sdk/models/operations/getlinks_request.rb +2 -14
- data/lib/open_api_sdk/models/operations/getlinks_request.rbi +0 -6
- data/lib/open_api_sdk/models/operations/gettags_request.rb +4 -4
- data/lib/open_api_sdk/models/operations/listcommissions_customer.rb +6 -6
- data/lib/open_api_sdk/models/operations/listcommissions_customer.rbi +2 -2
- data/lib/open_api_sdk/models/operations/listcommissions_request.rb +9 -5
- data/lib/open_api_sdk/models/operations/listcommissions_request.rbi +2 -0
- data/lib/open_api_sdk/models/operations/listcommissions_type.rb +1 -0
- data/lib/open_api_sdk/models/operations/listevents_request.rb +8 -4
- data/lib/open_api_sdk/models/operations/listevents_request.rbi +2 -0
- data/lib/open_api_sdk/models/operations/listevents_responsebody_customer.rb +6 -6
- data/lib/open_api_sdk/models/operations/listevents_responsebody_customer.rbi +2 -2
- data/lib/open_api_sdk/models/operations/listpartnerapplications_partner.rb +88 -0
- data/lib/open_api_sdk/models/operations/listpartnerapplications_partner.rbi +41 -0
- data/lib/open_api_sdk/models/operations/listpartnerapplications_request.rb +44 -0
- data/lib/open_api_sdk/models/operations/listpartnerapplications_request.rbi +19 -0
- data/lib/open_api_sdk/models/operations/listpartnerapplications_responsebody.rb +44 -0
- data/lib/open_api_sdk/models/operations/listpartnerapplications_responsebody.rbi +19 -0
- data/lib/open_api_sdk/models/operations/listpartnerapplications_status.rb +25 -0
- data/lib/open_api_sdk/models/operations/listpartnerapplications_status.rbi +11 -0
- data/lib/open_api_sdk/models/operations/listpartners_responsebody.rb +32 -10
- data/lib/open_api_sdk/models/operations/listpartners_responsebody.rbi +14 -4
- data/lib/open_api_sdk/models/operations/networkstatus.rb +22 -0
- data/lib/open_api_sdk/models/operations/networkstatus.rbi +11 -0
- data/lib/open_api_sdk/models/operations/paymentprocessor.rb +2 -0
- data/lib/open_api_sdk/models/operations/queryparam_groupby.rb +1 -0
- data/lib/open_api_sdk/models/operations/queryparam_sortby.rb +3 -2
- data/lib/open_api_sdk/models/operations/queryparam_sortorder.rb +1 -1
- data/lib/open_api_sdk/models/operations/reapplicationtimeframe.rb +20 -0
- data/lib/open_api_sdk/models/operations/reapplicationtimeframe.rbi +11 -0
- data/lib/open_api_sdk/models/operations/reason.rb +1 -1
- data/lib/open_api_sdk/models/operations/rejectbountysubmission_rejectionreason.rb +22 -0
- data/lib/open_api_sdk/models/operations/rejectbountysubmission_rejectionreason.rbi +11 -0
- data/lib/open_api_sdk/models/operations/rejectbountysubmission_requestbody.rb +2 -2
- data/lib/open_api_sdk/models/operations/rejectionreason.rb +4 -5
- data/lib/open_api_sdk/models/operations/rejectpartnerapplication_requestbody.rb +52 -0
- data/lib/open_api_sdk/models/operations/rejectpartnerapplication_requestbody.rbi +23 -0
- data/lib/open_api_sdk/models/operations/rejectpartnerapplication_responsebody.rb +32 -0
- data/lib/open_api_sdk/models/operations/rejectpartnerapplication_responsebody.rbi +13 -0
- data/lib/open_api_sdk/models/operations/requestbody_1.rb +48 -0
- data/lib/open_api_sdk/models/operations/requestbody_1.rbi +21 -0
- data/lib/open_api_sdk/models/operations/requestbody_2.rb +56 -0
- data/lib/open_api_sdk/models/operations/requestbody_2.rbi +25 -0
- data/lib/open_api_sdk/models/operations/requestbody_3.rb +68 -0
- data/lib/open_api_sdk/models/operations/requestbody_3.rbi +31 -0
- data/lib/open_api_sdk/models/operations/requestbody_customer.rb +52 -0
- data/lib/open_api_sdk/models/operations/requestbody_customer.rbi +23 -0
- data/lib/open_api_sdk/models/operations/requestbody_type.rb +18 -0
- data/lib/open_api_sdk/models/operations/requestbody_type.rbi +11 -0
- data/lib/open_api_sdk/models/operations/responsebody_customer.rb +6 -6
- data/lib/open_api_sdk/models/operations/responsebody_customer.rbi +2 -2
- data/lib/open_api_sdk/models/operations/responsebody_paymentprocessor.rb +2 -0
- data/lib/open_api_sdk/models/operations/responsebody_sale.rb +6 -2
- data/lib/open_api_sdk/models/operations/responsebody_sale.rbi +2 -0
- data/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb +6 -2
- data/lib/open_api_sdk/models/operations/retrieveanalytics_request.rbi +2 -0
- data/lib/open_api_sdk/models/operations/{retrievelinks_request.rb → retrievepartnerlinks_request.rb} +1 -1
- data/lib/open_api_sdk/models/operations/{retrievelinks_request.rbi → retrievepartnerlinks_request.rbi} +2 -2
- data/lib/open_api_sdk/models/operations/{retrievelinks_responsebody.rb → retrievepartnerlinks_responsebody.rb} +1 -1
- data/lib/open_api_sdk/models/operations/{retrievelinks_responsebody.rbi → retrievepartnerlinks_responsebody.rbi} +2 -2
- data/lib/open_api_sdk/models/operations/sortby.rb +2 -5
- data/lib/open_api_sdk/models/operations/tags.rb +36 -0
- data/lib/open_api_sdk/models/operations/tags.rbi +15 -0
- data/lib/open_api_sdk/models/operations/tracklead_customer.rb +44 -0
- data/lib/open_api_sdk/models/operations/tracklead_customer.rbi +19 -0
- data/lib/open_api_sdk/models/operations/tracklead_responsebody.rb +2 -2
- data/lib/open_api_sdk/models/operations/type.rb +2 -1
- data/lib/open_api_sdk/models/operations/updatecommission_customer.rb +6 -6
- data/lib/open_api_sdk/models/operations/updatecommission_customer.rbi +2 -2
- data/lib/open_api_sdk/models/operations/updatecommission_requestbody.rb +6 -6
- data/lib/open_api_sdk/models/operations/updatecommission_requestbody.rbi +2 -2
- data/lib/open_api_sdk/models/operations/updatecommission_type.rb +1 -0
- data/lib/open_api_sdk/models/operations/updatecustomer_responsebody.rb +6 -6
- data/lib/open_api_sdk/models/operations/updatecustomer_responsebody.rbi +2 -2
- data/lib/open_api_sdk/models/operations.rb +27 -5
- data/lib/open_api_sdk/models/shared/commissioncreatedevent_customer.rb +6 -6
- data/lib/open_api_sdk/models/shared/commissioncreatedevent_customer.rbi +2 -2
- data/lib/open_api_sdk/models/shared/commissioncreatedevent_type.rb +1 -0
- data/lib/open_api_sdk/models/shared/customer.rb +6 -6
- data/lib/open_api_sdk/models/shared/customer.rbi +2 -2
- data/lib/open_api_sdk/models/shared/networkstatus.rb +22 -0
- data/lib/open_api_sdk/models/{operations/sort.rbi → shared/networkstatus.rbi} +2 -2
- data/lib/open_api_sdk/models/shared/partnerenrolledevent_data.rb +32 -10
- data/lib/open_api_sdk/models/shared/partnerenrolledevent_data.rbi +14 -4
- data/lib/open_api_sdk/models/shared/salecreatedevent_customer.rb +6 -6
- data/lib/open_api_sdk/models/shared/salecreatedevent_customer.rbi +2 -2
- data/lib/open_api_sdk/models/shared/tags.rb +36 -0
- data/lib/open_api_sdk/models/shared/tags.rbi +15 -0
- data/lib/open_api_sdk/models/shared.rb +2 -0
- data/lib/open_api_sdk/partner_applications.rb +750 -0
- data/lib/open_api_sdk/partners.rb +4 -4
- data/lib/open_api_sdk/payouts.rb +1 -1
- data/lib/open_api_sdk/sdkconfiguration.rb +3 -3
- data/lib/open_api_sdk/tags.rb +2 -2
- metadata +61 -12
- data/lib/open_api_sdk/models/operations/gettags_queryparam_sortby.rbi +0 -11
- data/lib/open_api_sdk/models/operations/gettags_queryparam_sortorder.rbi +0 -11
- data/lib/open_api_sdk/models/operations/sort.rb +0 -23
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e267d65e6afe61a4c02e4b50ec87fce2f32506f4cd0a8296ff879441afedfb26
|
|
4
|
+
data.tar.gz: c85b4cb1f223804f8457057eb3d227692cadc840c5500feefc9eff9de223a664
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 99f2f0726ba2c474927c214739f189fd8b4e011946b524e39211cb8f38e8a812a6c15c48ca9b3881cdddca554c66ce5f7b0b276af5a59f3851209cd36ca11212
|
|
7
|
+
data.tar.gz: 16aac025cdfbfd8e04c3e1d735ebe781caf4fcc8ec7c54d8cb3c50485d2a6934be3bdc782eed2dec1685a1d40f8bf8f78500aa4ba7e1e1ce449f47149cb9d7fa
|
data/lib/dub.rb
CHANGED
|
@@ -14,6 +14,7 @@ module OpenApiSDK
|
|
|
14
14
|
autoload :Track, 'open_api_sdk/track'
|
|
15
15
|
autoload :Customers, 'open_api_sdk/customers'
|
|
16
16
|
autoload :Partners, 'open_api_sdk/partners'
|
|
17
|
+
autoload :PartnerApplications, 'open_api_sdk/partner_applications'
|
|
17
18
|
autoload :Commissions, 'open_api_sdk/commissions'
|
|
18
19
|
autoload :Payouts, 'open_api_sdk/payouts'
|
|
19
20
|
autoload :EmbedTokens, 'open_api_sdk/embed_tokens'
|
|
@@ -45,7 +45,7 @@ module OpenApiSDK
|
|
|
45
45
|
sig { params(request: Models::Operations::ListCommissionsRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListCommissionsResponse) }
|
|
46
46
|
def list(request:, timeout_ms: nil, http_headers: nil)
|
|
47
47
|
# list - List all commissions
|
|
48
|
-
# Retrieve a list of commissions for your partner program.
|
|
48
|
+
# Retrieve a paginated list of commissions for your partner program.
|
|
49
49
|
url, params = @sdk_configuration.get_server_details
|
|
50
50
|
base_url = Utils.template_url(url, params)
|
|
51
51
|
url = "#{base_url}/commissions"
|
|
@@ -154,6 +154,7 @@ module OpenApiSDK
|
|
|
154
154
|
partner_id: request.partner_id,
|
|
155
155
|
tenant_id: request.tenant_id,
|
|
156
156
|
group_id: request.group_id,
|
|
157
|
+
partner_tag_id: request.partner_tag_id,
|
|
157
158
|
invoice_id: request.invoice_id,
|
|
158
159
|
status: request.status,
|
|
159
160
|
sort_by: request.sort_by,
|
|
@@ -313,6 +314,244 @@ module OpenApiSDK
|
|
|
313
314
|
end
|
|
314
315
|
|
|
315
316
|
|
|
317
|
+
sig { params(request: T.nilable(T.any(Models::Operations::RequestBody1, Models::Operations::RequestBody2, Models::Operations::RequestBody3)), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::CreateCommissionResponseBody) }
|
|
318
|
+
def create(request: nil, timeout_ms: nil, http_headers: nil)
|
|
319
|
+
# create - Create commission
|
|
320
|
+
# Create one or more commissions (custom, lead or sale) for a partner. Commission creation is processed asynchronously. Use the List Commissions endpoint or webhooks to be notified when the commission is created.
|
|
321
|
+
url, params = @sdk_configuration.get_server_details
|
|
322
|
+
base_url = Utils.template_url(url, params)
|
|
323
|
+
url = "#{base_url}/commissions"
|
|
324
|
+
headers = {}
|
|
325
|
+
headers = T.cast(headers, T::Hash[String, String])
|
|
326
|
+
req_content_type, data, form = Utils.serialize_request_body(request, false, true, :request, :json)
|
|
327
|
+
headers['content-type'] = req_content_type
|
|
328
|
+
|
|
329
|
+
if form && !form.empty?
|
|
330
|
+
body = Utils.encode_form(form)
|
|
331
|
+
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
332
|
+
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
333
|
+
else
|
|
334
|
+
body = data
|
|
335
|
+
end
|
|
336
|
+
headers['Accept'] = 'application/json'
|
|
337
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
|
338
|
+
|
|
339
|
+
security = @sdk_configuration.security_source&.call
|
|
340
|
+
|
|
341
|
+
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
342
|
+
timeout ||= @sdk_configuration.timeout
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
connection = @sdk_configuration.client
|
|
346
|
+
|
|
347
|
+
hook_ctx = SDKHooks::HookContext.new(
|
|
348
|
+
config: @sdk_configuration,
|
|
349
|
+
base_url: base_url,
|
|
350
|
+
oauth2_scopes: nil,
|
|
351
|
+
operation_id: 'createCommission',
|
|
352
|
+
security_source: @sdk_configuration.security_source
|
|
353
|
+
)
|
|
354
|
+
|
|
355
|
+
error = T.let(nil, T.nilable(StandardError))
|
|
356
|
+
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
begin
|
|
360
|
+
http_response = T.must(connection).post(url) do |req|
|
|
361
|
+
req.body = body
|
|
362
|
+
req.headers.merge!(headers)
|
|
363
|
+
req.options.timeout = timeout unless timeout.nil?
|
|
364
|
+
Utils.configure_request_security(req, security)
|
|
365
|
+
http_headers&.each do |key, value|
|
|
366
|
+
req.headers[key.to_s] = value
|
|
367
|
+
end
|
|
368
|
+
|
|
369
|
+
@sdk_configuration.hooks.before_request(
|
|
370
|
+
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
371
|
+
hook_ctx: hook_ctx
|
|
372
|
+
),
|
|
373
|
+
request: req
|
|
374
|
+
)
|
|
375
|
+
end
|
|
376
|
+
rescue StandardError => e
|
|
377
|
+
error = e
|
|
378
|
+
ensure
|
|
379
|
+
if http_response.nil? || Utils.error_status?(http_response.status)
|
|
380
|
+
http_response = @sdk_configuration.hooks.after_error(
|
|
381
|
+
error: error,
|
|
382
|
+
hook_ctx: SDKHooks::AfterErrorHookContext.new(
|
|
383
|
+
hook_ctx: hook_ctx
|
|
384
|
+
),
|
|
385
|
+
response: http_response
|
|
386
|
+
)
|
|
387
|
+
else
|
|
388
|
+
http_response = @sdk_configuration.hooks.after_success(
|
|
389
|
+
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
390
|
+
hook_ctx: hook_ctx
|
|
391
|
+
),
|
|
392
|
+
response: http_response
|
|
393
|
+
)
|
|
394
|
+
end
|
|
395
|
+
|
|
396
|
+
if http_response.nil?
|
|
397
|
+
raise error if !error.nil?
|
|
398
|
+
raise 'no response'
|
|
399
|
+
end
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
403
|
+
if Utils.match_status_code(http_response.status, ['202'])
|
|
404
|
+
if Utils.match_content_type(content_type, 'application/json')
|
|
405
|
+
@sdk_configuration.hooks.after_success(
|
|
406
|
+
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
407
|
+
hook_ctx: hook_ctx
|
|
408
|
+
),
|
|
409
|
+
response: http_response
|
|
410
|
+
)
|
|
411
|
+
response_data = http_response.env.response_body
|
|
412
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Operations::CreateCommissionResponseBody)
|
|
413
|
+
|
|
414
|
+
return obj
|
|
415
|
+
else
|
|
416
|
+
raise ::OpenApiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
417
|
+
end
|
|
418
|
+
elsif Utils.match_status_code(http_response.status, ['400'])
|
|
419
|
+
if Utils.match_content_type(content_type, 'application/json')
|
|
420
|
+
@sdk_configuration.hooks.after_success(
|
|
421
|
+
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
422
|
+
hook_ctx: hook_ctx
|
|
423
|
+
),
|
|
424
|
+
response: http_response
|
|
425
|
+
)
|
|
426
|
+
response_data = http_response.env.response_body
|
|
427
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::BadRequest)
|
|
428
|
+
raise obj
|
|
429
|
+
else
|
|
430
|
+
raise ::OpenApiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
431
|
+
end
|
|
432
|
+
elsif Utils.match_status_code(http_response.status, ['401'])
|
|
433
|
+
if Utils.match_content_type(content_type, 'application/json')
|
|
434
|
+
@sdk_configuration.hooks.after_success(
|
|
435
|
+
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
436
|
+
hook_ctx: hook_ctx
|
|
437
|
+
),
|
|
438
|
+
response: http_response
|
|
439
|
+
)
|
|
440
|
+
response_data = http_response.env.response_body
|
|
441
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::Unauthorized)
|
|
442
|
+
raise obj
|
|
443
|
+
else
|
|
444
|
+
raise ::OpenApiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
445
|
+
end
|
|
446
|
+
elsif Utils.match_status_code(http_response.status, ['403'])
|
|
447
|
+
if Utils.match_content_type(content_type, 'application/json')
|
|
448
|
+
@sdk_configuration.hooks.after_success(
|
|
449
|
+
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
450
|
+
hook_ctx: hook_ctx
|
|
451
|
+
),
|
|
452
|
+
response: http_response
|
|
453
|
+
)
|
|
454
|
+
response_data = http_response.env.response_body
|
|
455
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::Forbidden)
|
|
456
|
+
raise obj
|
|
457
|
+
else
|
|
458
|
+
raise ::OpenApiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
459
|
+
end
|
|
460
|
+
elsif Utils.match_status_code(http_response.status, ['404'])
|
|
461
|
+
if Utils.match_content_type(content_type, 'application/json')
|
|
462
|
+
@sdk_configuration.hooks.after_success(
|
|
463
|
+
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
464
|
+
hook_ctx: hook_ctx
|
|
465
|
+
),
|
|
466
|
+
response: http_response
|
|
467
|
+
)
|
|
468
|
+
response_data = http_response.env.response_body
|
|
469
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::NotFound)
|
|
470
|
+
raise obj
|
|
471
|
+
else
|
|
472
|
+
raise ::OpenApiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
473
|
+
end
|
|
474
|
+
elsif Utils.match_status_code(http_response.status, ['409'])
|
|
475
|
+
if Utils.match_content_type(content_type, 'application/json')
|
|
476
|
+
@sdk_configuration.hooks.after_success(
|
|
477
|
+
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
478
|
+
hook_ctx: hook_ctx
|
|
479
|
+
),
|
|
480
|
+
response: http_response
|
|
481
|
+
)
|
|
482
|
+
response_data = http_response.env.response_body
|
|
483
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::Conflict)
|
|
484
|
+
raise obj
|
|
485
|
+
else
|
|
486
|
+
raise ::OpenApiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
487
|
+
end
|
|
488
|
+
elsif Utils.match_status_code(http_response.status, ['410'])
|
|
489
|
+
if Utils.match_content_type(content_type, 'application/json')
|
|
490
|
+
@sdk_configuration.hooks.after_success(
|
|
491
|
+
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
492
|
+
hook_ctx: hook_ctx
|
|
493
|
+
),
|
|
494
|
+
response: http_response
|
|
495
|
+
)
|
|
496
|
+
response_data = http_response.env.response_body
|
|
497
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::InviteExpired)
|
|
498
|
+
raise obj
|
|
499
|
+
else
|
|
500
|
+
raise ::OpenApiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
501
|
+
end
|
|
502
|
+
elsif Utils.match_status_code(http_response.status, ['422'])
|
|
503
|
+
if Utils.match_content_type(content_type, 'application/json')
|
|
504
|
+
@sdk_configuration.hooks.after_success(
|
|
505
|
+
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
506
|
+
hook_ctx: hook_ctx
|
|
507
|
+
),
|
|
508
|
+
response: http_response
|
|
509
|
+
)
|
|
510
|
+
response_data = http_response.env.response_body
|
|
511
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::UnprocessableEntity)
|
|
512
|
+
raise obj
|
|
513
|
+
else
|
|
514
|
+
raise ::OpenApiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
515
|
+
end
|
|
516
|
+
elsif Utils.match_status_code(http_response.status, ['429'])
|
|
517
|
+
if Utils.match_content_type(content_type, 'application/json')
|
|
518
|
+
@sdk_configuration.hooks.after_success(
|
|
519
|
+
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
520
|
+
hook_ctx: hook_ctx
|
|
521
|
+
),
|
|
522
|
+
response: http_response
|
|
523
|
+
)
|
|
524
|
+
response_data = http_response.env.response_body
|
|
525
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::RateLimitExceeded)
|
|
526
|
+
raise obj
|
|
527
|
+
else
|
|
528
|
+
raise ::OpenApiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
529
|
+
end
|
|
530
|
+
elsif Utils.match_status_code(http_response.status, ['500'])
|
|
531
|
+
if Utils.match_content_type(content_type, 'application/json')
|
|
532
|
+
@sdk_configuration.hooks.after_success(
|
|
533
|
+
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
534
|
+
hook_ctx: hook_ctx
|
|
535
|
+
),
|
|
536
|
+
response: http_response
|
|
537
|
+
)
|
|
538
|
+
response_data = http_response.env.response_body
|
|
539
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::InternalServerError)
|
|
540
|
+
raise obj
|
|
541
|
+
else
|
|
542
|
+
raise ::OpenApiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
543
|
+
end
|
|
544
|
+
elsif Utils.match_status_code(http_response.status, ['4XX'])
|
|
545
|
+
raise ::OpenApiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
546
|
+
elsif Utils.match_status_code(http_response.status, ['5XX'])
|
|
547
|
+
raise ::OpenApiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
548
|
+
else
|
|
549
|
+
raise ::OpenApiSDK::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown status code received'
|
|
550
|
+
|
|
551
|
+
end
|
|
552
|
+
end
|
|
553
|
+
|
|
554
|
+
|
|
316
555
|
sig { params(request: Models::Operations::UpdateCommissionRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::UpdateCommissionResponseBody) }
|
|
317
556
|
def update(request:, timeout_ms: nil, http_headers: nil)
|
|
318
557
|
# update - Update a commission
|
|
@@ -44,8 +44,8 @@ module OpenApiSDK
|
|
|
44
44
|
|
|
45
45
|
sig { params(request: Models::Operations::GetCustomersRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::GetCustomersResponse) }
|
|
46
46
|
def list(request:, timeout_ms: nil, http_headers: nil)
|
|
47
|
-
# list -
|
|
48
|
-
# Retrieve a list of customers for the authenticated workspace.
|
|
47
|
+
# list - List all customers
|
|
48
|
+
# Retrieve a paginated list of customers for the authenticated workspace.
|
|
49
49
|
url, params = @sdk_configuration.get_server_details
|
|
50
50
|
base_url = Utils.template_url(url, params)
|
|
51
51
|
url = "#{base_url}/customers"
|
|
@@ -312,7 +312,7 @@ module OpenApiSDK
|
|
|
312
312
|
sig { params(request: Models::Operations::GetCustomerRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::GetCustomerResponseBody) }
|
|
313
313
|
def get(request:, timeout_ms: nil, http_headers: nil)
|
|
314
314
|
# get - Retrieve a customer
|
|
315
|
-
# Retrieve a customer by ID for the authenticated workspace.
|
|
315
|
+
# Retrieve a customer by ID for the authenticated workspace. To retrieve a customer by external ID, prefix the ID with `ext_`.
|
|
316
316
|
url, params = @sdk_configuration.get_server_details
|
|
317
317
|
base_url = Utils.template_url(url, params)
|
|
318
318
|
url = Utils.generate_url(
|
data/lib/open_api_sdk/domains.rb
CHANGED
|
@@ -44,8 +44,8 @@ module OpenApiSDK
|
|
|
44
44
|
|
|
45
45
|
sig { params(request: Models::Operations::ListDomainsRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListDomainsResponse) }
|
|
46
46
|
def list(request:, timeout_ms: nil, http_headers: nil)
|
|
47
|
-
# list -
|
|
48
|
-
# Retrieve a list of domains
|
|
47
|
+
# list - List all domains
|
|
48
|
+
# Retrieve a paginated list of domains for the authenticated workspace.
|
|
49
49
|
url, params = @sdk_configuration.get_server_details
|
|
50
50
|
base_url = Utils.template_url(url, params)
|
|
51
51
|
url = "#{base_url}/domains"
|
data/lib/open_api_sdk/dub.rb
CHANGED
|
@@ -16,7 +16,7 @@ module OpenApiSDK
|
|
|
16
16
|
class Dub
|
|
17
17
|
extend T::Sig
|
|
18
18
|
|
|
19
|
-
attr_accessor :links, :analytics, :events, :tags, :folders, :domains, :track, :customers, :partners, :commissions, :payouts, :embed_tokens, :qr_codes, :bounties
|
|
19
|
+
attr_accessor :links, :analytics, :events, :tags, :folders, :domains, :track, :customers, :partners, :partner_applications, :commissions, :payouts, :embed_tokens, :qr_codes, :bounties
|
|
20
20
|
|
|
21
21
|
# Instantiates the SDK, configuring it with the provided parameters.
|
|
22
22
|
#
|
|
@@ -87,6 +87,7 @@ module OpenApiSDK
|
|
|
87
87
|
@track = Track.new(@sdk_configuration)
|
|
88
88
|
@customers = Customers.new(@sdk_configuration)
|
|
89
89
|
@partners = Partners.new(@sdk_configuration)
|
|
90
|
+
@partner_applications = PartnerApplications.new(@sdk_configuration)
|
|
90
91
|
@commissions = Commissions.new(@sdk_configuration)
|
|
91
92
|
@payouts = Payouts.new(@sdk_configuration)
|
|
92
93
|
@embed_tokens = EmbedTokens.new(@sdk_configuration)
|
data/lib/open_api_sdk/events.rb
CHANGED
|
@@ -43,7 +43,7 @@ module OpenApiSDK
|
|
|
43
43
|
|
|
44
44
|
sig { params(request: Models::Operations::ListEventsRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(T::Array[T.any(Models::Operations::ClickEvent, Models::Operations::LeadEvent, Models::Operations::SaleEvent)]) }
|
|
45
45
|
def list(request:, timeout_ms: nil, http_headers: nil)
|
|
46
|
-
# list -
|
|
46
|
+
# list - List all events
|
|
47
47
|
# Retrieve a paginated list of events for the authenticated workspace.
|
|
48
48
|
url, params = @sdk_configuration.get_server_details
|
|
49
49
|
base_url = Utils.template_url(url, params)
|
data/lib/open_api_sdk/folders.rb
CHANGED
|
@@ -43,8 +43,8 @@ module OpenApiSDK
|
|
|
43
43
|
|
|
44
44
|
sig { params(request: Models::Operations::ListFoldersRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(T::Array[Models::Shared::FolderSchema]) }
|
|
45
45
|
def list(request:, timeout_ms: nil, http_headers: nil)
|
|
46
|
-
# list -
|
|
47
|
-
# Retrieve a list of folders for the authenticated workspace.
|
|
46
|
+
# list - List all folders
|
|
47
|
+
# Retrieve a paginated list of folders for the authenticated workspace.
|
|
48
48
|
url, params = @sdk_configuration.get_server_details
|
|
49
49
|
base_url = Utils.template_url(url, params)
|
|
50
50
|
url = "#{base_url}/folders"
|
data/lib/open_api_sdk/links.rb
CHANGED
|
@@ -44,7 +44,7 @@ module OpenApiSDK
|
|
|
44
44
|
|
|
45
45
|
sig { params(request: Models::Operations::GetLinksRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::GetLinksResponse) }
|
|
46
46
|
def list(request:, timeout_ms: nil, http_headers: nil)
|
|
47
|
-
# list -
|
|
47
|
+
# list - List all links
|
|
48
48
|
# Retrieve a paginated list of links for the authenticated workspace.
|
|
49
49
|
url, params = @sdk_configuration.get_server_details
|
|
50
50
|
base_url = Utils.template_url(url, params)
|
|
@@ -165,9 +165,6 @@ module OpenApiSDK
|
|
|
165
165
|
tenant_id: request.tenant_id,
|
|
166
166
|
show_archived: request.show_archived,
|
|
167
167
|
with_tags: request.with_tags,
|
|
168
|
-
sort_by: request.sort_by,
|
|
169
|
-
sort_order: request.sort_order,
|
|
170
|
-
sort: request.sort,
|
|
171
168
|
ending_before: request.ending_before,
|
|
172
169
|
starting_after: request.starting_after,
|
|
173
170
|
page: next_page,
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module OpenApiSDK
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
|
|
11
|
+
class ApplicationFormData
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
field :label, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('label'), required: true } }
|
|
17
|
+
|
|
18
|
+
field :value, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('value'), required: true } }
|
|
19
|
+
|
|
20
|
+
sig { params(label: ::String, value: T.nilable(::String)).void }
|
|
21
|
+
def initialize(label:, value: nil)
|
|
22
|
+
@label = label
|
|
23
|
+
@value = value
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
27
|
+
def ==(other)
|
|
28
|
+
return false unless other.is_a? self.class
|
|
29
|
+
return false unless @label == other.label
|
|
30
|
+
return false unless @value == other.value
|
|
31
|
+
true
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class OpenApiSDK::Models::Operations::ApplicationFormData
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class OpenApiSDK::Models::Operations::ApplicationFormData
|
|
11
|
+
def label(); end
|
|
12
|
+
def label=(str_); end
|
|
13
|
+
def value(); end
|
|
14
|
+
def value=(str_); end
|
|
15
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module OpenApiSDK
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
|
|
11
|
+
class ApprovePartnerApplicationRequestBody
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# The ID of the partner to approve.
|
|
16
|
+
field :partner_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('partnerId'), required: true } }
|
|
17
|
+
# The ID of the group to assign the partner to. If not provided, the partner will be assigned to the group they applied to, or the program's default group if no application group is set.
|
|
18
|
+
field :group_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('groupId') } }
|
|
19
|
+
|
|
20
|
+
sig { params(partner_id: ::String, group_id: T.nilable(::String)).void }
|
|
21
|
+
def initialize(partner_id:, group_id: nil)
|
|
22
|
+
@partner_id = partner_id
|
|
23
|
+
@group_id = group_id
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
27
|
+
def ==(other)
|
|
28
|
+
return false unless other.is_a? self.class
|
|
29
|
+
return false unless @partner_id == other.partner_id
|
|
30
|
+
return false unless @group_id == other.group_id
|
|
31
|
+
true
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class OpenApiSDK::Models::Operations::ApprovePartnerApplicationRequestBody
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class OpenApiSDK::Models::Operations::ApprovePartnerApplicationRequestBody
|
|
11
|
+
def partner_id(); end
|
|
12
|
+
def partner_id=(str_); end
|
|
13
|
+
def group_id(); end
|
|
14
|
+
def group_id=(str_); end
|
|
15
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module OpenApiSDK
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
# The approved partner
|
|
11
|
+
class ApprovePartnerApplicationResponseBody
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# The ID of the approved partner.
|
|
16
|
+
field :partner_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('partnerId'), required: true } }
|
|
17
|
+
|
|
18
|
+
sig { params(partner_id: ::String).void }
|
|
19
|
+
def initialize(partner_id:)
|
|
20
|
+
@partner_id = partner_id
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
24
|
+
def ==(other)
|
|
25
|
+
return false unless other.is_a? self.class
|
|
26
|
+
return false unless @partner_id == other.partner_id
|
|
27
|
+
true
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class OpenApiSDK::Models::Operations::ApprovePartnerApplicationResponseBody
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class OpenApiSDK::Models::Operations::ApprovePartnerApplicationResponseBody
|
|
11
|
+
def partner_id(); end
|
|
12
|
+
def partner_id=(str_); end
|
|
13
|
+
end
|
|
@@ -12,7 +12,7 @@ module OpenApiSDK
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
# The reason for banning the partner.
|
|
16
16
|
field :reason, Models::Operations::Reason, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('reason'), required: true, 'decoder': ::OpenApiSDK::Utils.enum_from_string(Models::Operations::Reason, false) } }
|
|
17
17
|
# The ID of the partner to create a link for. Will take precedence over `tenantId` if provided.
|
|
18
18
|
field :partner_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('partnerId') } }
|
|
@@ -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 OpenApiSDK
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
|
|
11
|
+
class CreateCommissionRequestBody
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def initialize; end
|
|
18
|
+
|
|
19
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
20
|
+
def ==(other)
|
|
21
|
+
return false unless other.is_a? self.class
|
|
22
|
+
true
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -7,11 +7,10 @@
|
|
|
7
7
|
module OpenApiSDK
|
|
8
8
|
module Models
|
|
9
9
|
module Operations
|
|
10
|
-
|
|
11
|
-
class
|
|
10
|
+
|
|
11
|
+
class CreateCommissionRequestBodyCommissionsType < T::Enum
|
|
12
12
|
enums do
|
|
13
|
-
|
|
14
|
-
DESC = new('desc')
|
|
13
|
+
SALE = new('sale')
|
|
15
14
|
end
|
|
16
15
|
end
|
|
17
16
|
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class OpenApiSDK::Models::Operations::CreateCommissionRequestBodyCommissionsType
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class OpenApiSDK::Models::Operations::CreateCommissionRequestBodyCommissionsType
|
|
11
|
+
end
|
|
@@ -7,11 +7,10 @@
|
|
|
7
7
|
module OpenApiSDK
|
|
8
8
|
module Models
|
|
9
9
|
module Operations
|
|
10
|
-
|
|
11
|
-
class
|
|
10
|
+
|
|
11
|
+
class CreateCommissionRequestBodyType < T::Enum
|
|
12
12
|
enums do
|
|
13
|
-
|
|
14
|
-
CREATED_AT = new('createdAt')
|
|
13
|
+
LEAD = new('lead')
|
|
15
14
|
end
|
|
16
15
|
end
|
|
17
16
|
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class OpenApiSDK::Models::Operations::CreateCommissionRequestBodyType
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class OpenApiSDK::Models::Operations::CreateCommissionRequestBodyType
|
|
11
|
+
end
|