dub 0.12.3 → 0.12.5
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/crystalline/enum.rbi +17 -0
- data/lib/crystalline/metadata_fields.rb +20 -14
- data/lib/crystalline/module.rb +96 -10
- data/lib/crystalline/types.rb +79 -0
- data/lib/dub.rb +1 -0
- data/lib/open_api_sdk/bounties.rb +1 -1
- data/lib/open_api_sdk/commissions.rb +2 -2
- data/lib/open_api_sdk/customers.rb +32 -32
- data/lib/open_api_sdk/domains.rb +97 -97
- data/lib/open_api_sdk/dub.rb +2 -1
- data/lib/open_api_sdk/folders.rb +61 -61
- data/lib/open_api_sdk/links.rb +133 -133
- data/lib/open_api_sdk/models/errors/code.rb +0 -2
- data/lib/open_api_sdk/models/errors/conflict_code.rb +0 -2
- data/lib/open_api_sdk/models/errors/forbidden_code.rb +0 -2
- data/lib/open_api_sdk/models/errors/internalservererror_code.rb +0 -2
- data/lib/open_api_sdk/models/errors/inviteexpired_code.rb +0 -2
- data/lib/open_api_sdk/models/errors/notfound_code.rb +0 -2
- data/lib/open_api_sdk/models/errors/ratelimitexceeded_code.rb +0 -2
- data/lib/open_api_sdk/models/errors/unauthorized_code.rb +0 -2
- data/lib/open_api_sdk/models/errors/unprocessableentity_code.rb +0 -2
- data/lib/open_api_sdk/models/operations/accesslevel.rb +0 -2
- data/lib/open_api_sdk/models/operations/approvebountysubmission_status.rb +0 -2
- data/lib/open_api_sdk/models/operations/bannedreason.rb +0 -2
- data/lib/open_api_sdk/models/operations/color.rb +0 -2
- data/lib/open_api_sdk/models/operations/{listpartners_bannedreason.rb → createpartner_bannedreason.rb} +2 -4
- data/lib/open_api_sdk/models/operations/createpartner_bannedreason.rbi +11 -0
- data/lib/open_api_sdk/models/operations/{listpartners_fields.rb → createpartner_fields.rb} +1 -1
- data/lib/open_api_sdk/models/operations/createpartner_fields.rbi +11 -0
- data/lib/open_api_sdk/models/operations/{listpartners_fields_1.rb → createpartner_fields_1.rb} +4 -4
- data/lib/open_api_sdk/models/operations/{listpartners_fields_1.rbi → createpartner_fields_1.rbi} +2 -2
- data/lib/open_api_sdk/models/operations/{listpartners_fields_2.rb → createpartner_fields_2.rb} +4 -4
- data/lib/open_api_sdk/models/operations/{listpartners_fields_2.rbi → createpartner_fields_2.rbi} +2 -2
- data/lib/open_api_sdk/models/operations/{listpartners_fields_3.rb → createpartner_fields_3.rb} +4 -4
- data/lib/open_api_sdk/models/operations/{listpartners_fields_3.rbi → createpartner_fields_3.rbi} +2 -2
- data/lib/open_api_sdk/models/operations/{listpartners_fields_4.rb → createpartner_fields_4.rb} +3 -3
- data/lib/open_api_sdk/models/operations/{listpartners_fields_4.rbi → createpartner_fields_4.rbi} +2 -2
- data/lib/open_api_sdk/models/operations/{listpartners_fields_constraints.rb → createpartner_fields_constraints.rb} +1 -1
- data/lib/open_api_sdk/models/operations/{listpartners_fields_constraints.rbi → createpartner_fields_constraints.rbi} +2 -2
- data/lib/open_api_sdk/models/operations/{listpartners_fields_options.rb → createpartner_fields_options.rb} +1 -1
- data/lib/open_api_sdk/models/operations/{listpartners_fields_options.rbi → createpartner_fields_options.rbi} +2 -2
- data/lib/open_api_sdk/models/operations/{listpartners_fields_partners_constraints.rb → createpartner_fields_partners_constraints.rb} +1 -1
- data/lib/open_api_sdk/models/operations/{listpartners_fields_partners_constraints.rbi → createpartner_fields_partners_constraints.rbi} +2 -2
- data/lib/open_api_sdk/models/operations/{listpartners_fields_partners_options.rb → createpartner_fields_partners_options.rb} +1 -1
- data/lib/open_api_sdk/models/operations/{listpartners_fields_partners_options.rbi → createpartner_fields_partners_options.rbi} +2 -2
- data/lib/open_api_sdk/models/operations/{listpartners_fields_partners_response_200_applicationjson_responsebody_referralformdata_8_type.rb → createpartner_fields_partners_response_201_applicationjson_responsebody_referralformdata_8_type.rb} +1 -3
- data/lib/open_api_sdk/models/operations/createpartner_fields_partners_response_201_applicationjson_responsebody_referralformdata_8_type.rbi +11 -0
- data/lib/open_api_sdk/models/operations/createpartner_fields_partners_response_201_applicationjson_responsebody_referralformdata_type.rb +1 -3
- data/lib/open_api_sdk/models/operations/createpartner_fields_partners_response_201_applicationjson_responsebody_type.rb +1 -3
- data/lib/open_api_sdk/models/operations/createpartner_fields_partners_response_201_applicationjson_type.rb +1 -3
- data/lib/open_api_sdk/models/operations/createpartner_fields_partners_response_201_type.rb +1 -3
- data/lib/open_api_sdk/models/operations/createpartner_fields_partners_response_type.rb +1 -3
- data/lib/open_api_sdk/models/operations/createpartner_fields_partners_type.rb +1 -3
- data/lib/open_api_sdk/models/operations/createpartner_fields_type.rb +1 -3
- data/lib/open_api_sdk/models/operations/{listpartners_links.rb → createpartner_links.rb} +1 -1
- data/lib/open_api_sdk/models/operations/{listpartners_links.rbi → createpartner_links.rbi} +2 -2
- data/lib/open_api_sdk/models/operations/createpartner_referralformdata.rb +32 -0
- data/lib/open_api_sdk/models/operations/{listpartners_referralformdata.rbi → createpartner_referralformdata.rbi} +2 -2
- data/lib/open_api_sdk/models/operations/createpartner_responsebody.rb +4 -4
- data/lib/open_api_sdk/models/operations/createpartner_status.rb +0 -2
- data/lib/open_api_sdk/models/operations/deactivatepartner_requestbody.rb +36 -0
- data/lib/open_api_sdk/models/operations/deactivatepartner_requestbody.rbi +15 -0
- data/lib/open_api_sdk/models/operations/deactivatepartner_responsebody.rb +32 -0
- data/lib/open_api_sdk/models/operations/deactivatepartner_responsebody.rbi +13 -0
- data/lib/open_api_sdk/models/operations/eight.rb +2 -2
- data/lib/open_api_sdk/models/operations/event.rb +0 -2
- data/lib/open_api_sdk/models/operations/fields_2.rb +2 -2
- data/lib/open_api_sdk/models/operations/fields_3.rb +2 -2
- data/lib/open_api_sdk/models/operations/fields_4.rb +2 -2
- data/lib/open_api_sdk/models/operations/fields_5.rb +2 -2
- data/lib/open_api_sdk/models/operations/fields_6.rb +3 -3
- data/lib/open_api_sdk/models/operations/fields_7.rb +2 -2
- data/lib/open_api_sdk/models/operations/fields_8.rb +2 -2
- data/lib/open_api_sdk/models/operations/fields_type.rb +0 -2
- data/lib/open_api_sdk/models/operations/five.rb +2 -2
- data/lib/open_api_sdk/models/operations/four.rb +0 -2
- data/lib/open_api_sdk/models/operations/getcustomer_type.rb +0 -2
- data/lib/open_api_sdk/models/operations/getcustomers_queryparam_sortby.rb +0 -2
- data/lib/open_api_sdk/models/operations/getcustomers_queryparam_sortorder.rb +0 -2
- data/lib/open_api_sdk/models/operations/getcustomers_type.rb +0 -2
- data/lib/open_api_sdk/models/operations/gettags_queryparam_sortby.rb +0 -2
- data/lib/open_api_sdk/models/operations/gettags_queryparam_sortorder.rb +0 -2
- data/lib/open_api_sdk/models/operations/interval.rb +0 -2
- data/lib/open_api_sdk/models/operations/level.rb +0 -2
- data/lib/open_api_sdk/models/operations/listbountysubmissions_queryparam_sortby.rb +0 -2
- data/lib/open_api_sdk/models/operations/listbountysubmissions_queryparam_sortorder.rb +0 -2
- data/lib/open_api_sdk/models/operations/listbountysubmissions_queryparam_status.rb +0 -2
- data/lib/open_api_sdk/models/operations/listbountysubmissions_request.rb +1 -1
- data/lib/open_api_sdk/models/operations/listbountysubmissions_status.rb +0 -2
- data/lib/open_api_sdk/models/operations/listcommissions_queryparam_interval.rb +0 -2
- data/lib/open_api_sdk/models/operations/listcommissions_queryparam_sortby.rb +0 -2
- data/lib/open_api_sdk/models/operations/listcommissions_queryparam_sortorder.rb +0 -2
- data/lib/open_api_sdk/models/operations/listcommissions_status.rb +0 -2
- data/lib/open_api_sdk/models/operations/listcommissions_type.rb +0 -2
- data/lib/open_api_sdk/models/operations/listevents_request.rb +60 -64
- data/lib/open_api_sdk/models/operations/listevents_request.rbi +20 -22
- data/lib/open_api_sdk/models/operations/listevents_responsebody_event.rb +0 -2
- data/lib/open_api_sdk/models/operations/listevents_responsebody_events_event.rb +0 -2
- data/lib/open_api_sdk/models/operations/listpartners_fields_partners_response_200_applicationjson_responsebody_referralformdata_type.rb +1 -3
- data/lib/open_api_sdk/models/operations/listpartners_fields_partners_response_200_applicationjson_responsebody_type.rb +1 -3
- data/lib/open_api_sdk/models/operations/listpartners_fields_partners_response_200_applicationjson_type.rb +1 -3
- data/lib/open_api_sdk/models/operations/listpartners_fields_partners_response_200_type.rb +1 -3
- data/lib/open_api_sdk/models/operations/listpartners_fields_partners_response_type.rb +1 -3
- data/lib/open_api_sdk/models/operations/listpartners_fields_partners_type.rb +1 -3
- data/lib/open_api_sdk/models/operations/listpartners_fields_type.rb +1 -3
- data/lib/open_api_sdk/models/operations/listpartners_queryparam_sortby.rb +0 -2
- data/lib/open_api_sdk/models/operations/listpartners_queryparam_sortorder.rb +0 -2
- data/lib/open_api_sdk/models/operations/listpartners_queryparam_status.rb +0 -2
- data/lib/open_api_sdk/models/operations/listpartners_responsebody.rb +4 -4
- data/lib/open_api_sdk/models/operations/listpartners_status.rb +0 -2
- data/lib/open_api_sdk/models/operations/listpayouts_mode.rb +19 -0
- data/lib/open_api_sdk/models/operations/listpayouts_mode.rbi +11 -0
- data/lib/open_api_sdk/models/operations/listpayouts_partner.rb +60 -0
- data/lib/open_api_sdk/models/operations/listpayouts_partner.rbi +27 -0
- data/lib/open_api_sdk/models/operations/listpayouts_queryparam_sortby.rb +20 -0
- data/lib/open_api_sdk/models/operations/listpayouts_queryparam_sortby.rbi +11 -0
- data/lib/open_api_sdk/models/operations/listpayouts_queryparam_sortorder.rb +19 -0
- data/lib/open_api_sdk/models/operations/listpayouts_queryparam_sortorder.rbi +11 -0
- data/lib/open_api_sdk/models/operations/listpayouts_queryparam_status.rb +24 -0
- data/lib/open_api_sdk/models/operations/listpayouts_queryparam_status.rbi +11 -0
- data/lib/open_api_sdk/models/operations/listpayouts_request.rb +60 -0
- data/lib/open_api_sdk/models/operations/listpayouts_request.rbi +27 -0
- data/lib/open_api_sdk/models/operations/listpayouts_responsebody.rb +88 -0
- data/lib/open_api_sdk/models/operations/listpayouts_responsebody.rbi +41 -0
- data/lib/open_api_sdk/models/operations/listpayouts_status.rb +24 -0
- data/lib/open_api_sdk/models/operations/listpayouts_status.rbi +11 -0
- data/lib/open_api_sdk/models/operations/mode.rb +0 -2
- data/lib/open_api_sdk/models/operations/one.rb +0 -2
- data/lib/open_api_sdk/models/operations/order.rb +0 -2
- data/lib/open_api_sdk/models/operations/paymentprocessor.rb +0 -2
- data/lib/open_api_sdk/models/operations/queryparam_event.rb +0 -2
- data/lib/open_api_sdk/models/operations/queryparam_groupby.rb +0 -2
- data/lib/open_api_sdk/models/operations/queryparam_interval.rb +0 -2
- data/lib/open_api_sdk/models/operations/queryparam_saletype.rb +0 -2
- data/lib/open_api_sdk/models/operations/queryparam_sortby.rb +0 -2
- data/lib/open_api_sdk/models/operations/queryparam_sortorder.rb +0 -2
- data/lib/open_api_sdk/models/operations/queryparam_status.rb +0 -2
- data/lib/open_api_sdk/models/operations/reason.rb +0 -2
- data/lib/open_api_sdk/models/operations/rejectbountysubmission_status.rb +0 -2
- data/lib/open_api_sdk/models/operations/rejectionreason.rb +0 -2
- data/lib/open_api_sdk/models/operations/responsebody_event.rb +0 -2
- data/lib/open_api_sdk/models/operations/responsebody_paymentprocessor.rb +0 -2
- data/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb +60 -64
- data/lib/open_api_sdk/models/operations/retrieveanalytics_request.rbi +20 -22
- data/lib/open_api_sdk/models/operations/retrievepartneranalytics_queryparam_groupby.rb +0 -2
- data/lib/open_api_sdk/models/operations/retrievepartneranalytics_queryparam_interval.rb +0 -2
- data/lib/open_api_sdk/models/operations/retrievepartneranalytics_request.rb +1 -1
- data/lib/open_api_sdk/models/operations/saletype.rb +0 -2
- data/lib/open_api_sdk/models/operations/seven.rb +2 -2
- data/lib/open_api_sdk/models/operations/six.rb +2 -2
- data/lib/open_api_sdk/models/operations/sort.rb +0 -2
- data/lib/open_api_sdk/models/operations/sortby.rb +0 -2
- data/lib/open_api_sdk/models/operations/sortorder.rb +0 -2
- data/lib/open_api_sdk/models/operations/status.rb +0 -2
- data/lib/open_api_sdk/models/operations/three.rb +0 -2
- data/lib/open_api_sdk/models/operations/two.rb +0 -2
- data/lib/open_api_sdk/models/operations/type.rb +0 -2
- data/lib/open_api_sdk/models/operations/updatecommission_status.rb +0 -2
- data/lib/open_api_sdk/models/operations/updatecommission_type.rb +0 -2
- data/lib/open_api_sdk/models/operations/updatecustomer_type.rb +0 -2
- data/lib/open_api_sdk/models/operations/updatefolder_accesslevel.rb +0 -2
- data/lib/open_api_sdk/models/operations/updatetag_color.rb +0 -2
- data/lib/open_api_sdk/models/operations/user.rb +44 -0
- data/lib/open_api_sdk/models/operations/user.rbi +19 -0
- data/lib/open_api_sdk/models/operations.rb +24 -19
- data/lib/open_api_sdk/models/shared/accesslevel.rb +0 -2
- data/lib/open_api_sdk/models/shared/analyticsregions_city.rb +0 -2
- data/lib/open_api_sdk/models/shared/analyticstoplinks.rb +10 -6
- data/lib/open_api_sdk/models/shared/analyticstoplinks.rbi +4 -2
- data/lib/open_api_sdk/models/shared/bannedreason.rb +0 -2
- data/lib/open_api_sdk/models/shared/city.rb +0 -2
- data/lib/open_api_sdk/models/shared/code.rb +0 -2
- data/lib/open_api_sdk/models/shared/color.rb +0 -2
- data/lib/open_api_sdk/models/shared/commissioncreatedevent_event.rb +0 -2
- data/lib/open_api_sdk/models/shared/commissioncreatedevent_status.rb +0 -2
- data/lib/open_api_sdk/models/shared/commissioncreatedevent_type.rb +0 -2
- data/lib/open_api_sdk/models/shared/continent.rb +0 -2
- data/lib/open_api_sdk/models/shared/fields_type.rb +0 -2
- data/lib/open_api_sdk/models/shared/leadcreatedevent_event.rb +0 -2
- data/lib/open_api_sdk/models/shared/linkclickedevent_event.rb +0 -2
- data/lib/open_api_sdk/models/shared/linktagschema_color.rb +0 -2
- data/lib/open_api_sdk/models/shared/one.rb +0 -2
- data/lib/open_api_sdk/models/shared/partneranalyticstoplinks.rb +10 -6
- data/lib/open_api_sdk/models/shared/partneranalyticstoplinks.rbi +4 -2
- data/lib/open_api_sdk/models/shared/partnerapplicationsubmittedevent_event.rb +0 -2
- data/lib/open_api_sdk/models/shared/partnerapplicationsubmittedevent_status.rb +0 -2
- data/lib/open_api_sdk/models/shared/partnerenrolledevent_event.rb +0 -2
- data/lib/open_api_sdk/models/shared/partnerenrolledevent_fields_data_referralformdata_5_type.rb +0 -2
- data/lib/open_api_sdk/models/shared/partnerenrolledevent_fields_data_referralformdata_6_type.rb +0 -2
- data/lib/open_api_sdk/models/shared/partnerenrolledevent_fields_data_referralformdata_7_type.rb +0 -2
- data/lib/open_api_sdk/models/shared/partnerenrolledevent_fields_data_referralformdata_8_type.rb +0 -2
- data/lib/open_api_sdk/models/shared/partnerenrolledevent_fields_data_referralformdata_type.rb +0 -2
- data/lib/open_api_sdk/models/shared/partnerenrolledevent_fields_data_type.rb +0 -2
- data/lib/open_api_sdk/models/shared/partnerenrolledevent_fields_type.rb +0 -2
- data/lib/open_api_sdk/models/shared/region.rb +0 -2
- data/lib/open_api_sdk/models/shared/salecreatedevent_event.rb +0 -2
- data/lib/open_api_sdk/models/shared/status.rb +0 -2
- data/lib/open_api_sdk/models/shared/three.rb +0 -2
- data/lib/open_api_sdk/models/shared/trigger.rb +0 -2
- data/lib/open_api_sdk/models/shared/two.rb +0 -2
- data/lib/open_api_sdk/models/shared/type.rb +0 -2
- data/lib/open_api_sdk/partners.rb +289 -54
- data/lib/open_api_sdk/payouts.rb +267 -0
- data/lib/open_api_sdk/sdkconfiguration.rb +3 -3
- data/lib/open_api_sdk/tags.rb +61 -61
- data/lib/open_api_sdk/utils/url.rb +1 -1
- data/lib/open_api_sdk/utils/utils.rb +12 -0
- metadata +54 -42
- data/lib/open_api_sdk/models/operations/continent.rb +0 -26
- data/lib/open_api_sdk/models/operations/continent.rbi +0 -11
- data/lib/open_api_sdk/models/operations/listevents_queryparam_tagids.rb +0 -27
- data/lib/open_api_sdk/models/operations/listevents_queryparam_tagids.rbi +0 -11
- data/lib/open_api_sdk/models/operations/listpartners_bannedreason.rbi +0 -11
- data/lib/open_api_sdk/models/operations/listpartners_fields.rbi +0 -11
- data/lib/open_api_sdk/models/operations/listpartners_fields_partners_response_200_applicationjson_responsebody_referralformdata_8_type.rbi +0 -11
- data/lib/open_api_sdk/models/operations/listpartners_referralformdata.rb +0 -32
- data/lib/open_api_sdk/models/operations/queryparam_continent.rb +0 -26
- data/lib/open_api_sdk/models/operations/queryparam_continent.rbi +0 -11
- data/lib/open_api_sdk/models/operations/queryparam_trigger.rb +0 -23
- data/lib/open_api_sdk/models/operations/queryparam_trigger.rbi +0 -11
- data/lib/open_api_sdk/models/operations/retrieveanalytics_queryparam_tagids.rb +0 -27
- data/lib/open_api_sdk/models/operations/retrieveanalytics_queryparam_tagids.rbi +0 -11
- data/lib/open_api_sdk/models/operations/trigger.rb +0 -23
- data/lib/open_api_sdk/models/operations/trigger.rbi +0 -11
|
@@ -0,0 +1,88 @@
|
|
|
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 ListPayoutsResponseBody
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id'), required: true } }
|
|
17
|
+
|
|
18
|
+
field :amount, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('amount'), required: true } }
|
|
19
|
+
|
|
20
|
+
field :currency, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('currency'), required: true } }
|
|
21
|
+
|
|
22
|
+
field :status, Models::Operations::ListPayoutsStatus, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('status'), required: true, 'decoder': Utils.enum_from_string(Models::Operations::ListPayoutsStatus, false) } }
|
|
23
|
+
|
|
24
|
+
field :created_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('createdAt'), required: true } }
|
|
25
|
+
|
|
26
|
+
field :partner, Models::Operations::ListPayoutsPartner, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('partner'), required: true } }
|
|
27
|
+
|
|
28
|
+
field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('invoiceId'), required: true } }
|
|
29
|
+
|
|
30
|
+
field :period_start, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('periodStart'), required: true } }
|
|
31
|
+
|
|
32
|
+
field :period_end, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('periodEnd'), required: true } }
|
|
33
|
+
|
|
34
|
+
field :initiated_at, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('initiatedAt'), required: true } }
|
|
35
|
+
|
|
36
|
+
field :paid_at, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('paidAt'), required: true } }
|
|
37
|
+
|
|
38
|
+
field :mode, Crystalline::Nilable.new(Models::Operations::ListPayoutsMode), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('mode'), required: true, 'decoder': Utils.enum_from_string(Models::Operations::ListPayoutsMode, false) } }
|
|
39
|
+
|
|
40
|
+
field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
|
|
41
|
+
|
|
42
|
+
field :failure_reason, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('failureReason') } }
|
|
43
|
+
|
|
44
|
+
field :user, Crystalline::Nilable.new(Models::Operations::User), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('user') } }
|
|
45
|
+
|
|
46
|
+
sig { params(id: ::String, amount: ::Float, currency: ::String, status: Models::Operations::ListPayoutsStatus, created_at: ::String, partner: Models::Operations::ListPayoutsPartner, invoice_id: T.nilable(::String), period_start: T.nilable(::String), period_end: T.nilable(::String), initiated_at: T.nilable(::String), paid_at: T.nilable(::String), mode: T.nilable(Models::Operations::ListPayoutsMode), description: T.nilable(::String), failure_reason: T.nilable(::String), user: T.nilable(Models::Operations::User)).void }
|
|
47
|
+
def initialize(id:, amount:, currency:, status:, created_at:, partner:, invoice_id: nil, period_start: nil, period_end: nil, initiated_at: nil, paid_at: nil, mode: nil, description: nil, failure_reason: nil, user: nil)
|
|
48
|
+
@id = id
|
|
49
|
+
@amount = amount
|
|
50
|
+
@currency = currency
|
|
51
|
+
@status = status
|
|
52
|
+
@created_at = created_at
|
|
53
|
+
@partner = partner
|
|
54
|
+
@invoice_id = invoice_id
|
|
55
|
+
@period_start = period_start
|
|
56
|
+
@period_end = period_end
|
|
57
|
+
@initiated_at = initiated_at
|
|
58
|
+
@paid_at = paid_at
|
|
59
|
+
@mode = mode
|
|
60
|
+
@description = description
|
|
61
|
+
@failure_reason = failure_reason
|
|
62
|
+
@user = user
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
66
|
+
def ==(other)
|
|
67
|
+
return false unless other.is_a? self.class
|
|
68
|
+
return false unless @id == other.id
|
|
69
|
+
return false unless @amount == other.amount
|
|
70
|
+
return false unless @currency == other.currency
|
|
71
|
+
return false unless @status == other.status
|
|
72
|
+
return false unless @created_at == other.created_at
|
|
73
|
+
return false unless @partner == other.partner
|
|
74
|
+
return false unless @invoice_id == other.invoice_id
|
|
75
|
+
return false unless @period_start == other.period_start
|
|
76
|
+
return false unless @period_end == other.period_end
|
|
77
|
+
return false unless @initiated_at == other.initiated_at
|
|
78
|
+
return false unless @paid_at == other.paid_at
|
|
79
|
+
return false unless @mode == other.mode
|
|
80
|
+
return false unless @description == other.description
|
|
81
|
+
return false unless @failure_reason == other.failure_reason
|
|
82
|
+
return false unless @user == other.user
|
|
83
|
+
true
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class OpenApiSDK::Models::Operations::ListPayoutsResponseBody
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class OpenApiSDK::Models::Operations::ListPayoutsResponseBody
|
|
11
|
+
def id(); end
|
|
12
|
+
def id=(str_); end
|
|
13
|
+
def amount(); end
|
|
14
|
+
def amount=(str_); end
|
|
15
|
+
def currency(); end
|
|
16
|
+
def currency=(str_); end
|
|
17
|
+
def status(); end
|
|
18
|
+
def status=(str_); end
|
|
19
|
+
def created_at(); end
|
|
20
|
+
def created_at=(str_); end
|
|
21
|
+
def partner(); end
|
|
22
|
+
def partner=(str_); end
|
|
23
|
+
def invoice_id(); end
|
|
24
|
+
def invoice_id=(str_); end
|
|
25
|
+
def period_start(); end
|
|
26
|
+
def period_start=(str_); end
|
|
27
|
+
def period_end(); end
|
|
28
|
+
def period_end=(str_); end
|
|
29
|
+
def initiated_at(); end
|
|
30
|
+
def initiated_at=(str_); end
|
|
31
|
+
def paid_at(); end
|
|
32
|
+
def paid_at=(str_); end
|
|
33
|
+
def mode(); end
|
|
34
|
+
def mode=(str_); end
|
|
35
|
+
def description(); end
|
|
36
|
+
def description=(str_); end
|
|
37
|
+
def failure_reason(); end
|
|
38
|
+
def failure_reason=(str_); end
|
|
39
|
+
def user(); end
|
|
40
|
+
def user=(str_); end
|
|
41
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
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 ListPayoutsStatus < T::Enum
|
|
12
|
+
enums do
|
|
13
|
+
PENDING = new('pending')
|
|
14
|
+
PROCESSING = new('processing')
|
|
15
|
+
PROCESSED = new('processed')
|
|
16
|
+
SENT = new('sent')
|
|
17
|
+
COMPLETED = new('completed')
|
|
18
|
+
FAILED = new('failed')
|
|
19
|
+
CANCELED = new('canceled')
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -9,8 +9,6 @@ module OpenApiSDK
|
|
|
9
9
|
module Operations
|
|
10
10
|
# Mode - The mode to use for tracking the lead event. `async` will not block the request; `wait` will block the request until the lead event is fully recorded in Dub; `deferred` will defer the lead event creation to a subsequent request.
|
|
11
11
|
class Mode < T::Enum
|
|
12
|
-
|
|
13
|
-
|
|
14
12
|
enums do
|
|
15
13
|
ASYNC = new('async')
|
|
16
14
|
WAIT = new('wait')
|
|
@@ -9,8 +9,6 @@ module OpenApiSDK
|
|
|
9
9
|
module Operations
|
|
10
10
|
# QueryParamSaleType - Filter sales by type: 'new' for first-time purchases, 'recurring' for repeat purchases. If undefined, returns both.
|
|
11
11
|
class QueryParamSaleType < T::Enum
|
|
12
|
-
|
|
13
|
-
|
|
14
12
|
enums do
|
|
15
13
|
NEW = new('new')
|
|
16
14
|
RECURRING = new('recurring')
|
|
@@ -12,19 +12,23 @@ module OpenApiSDK
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
-
# The domain to filter analytics for.
|
|
15
|
+
# The domain to filter analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `dub.co`, `dub.co,google.com`, `-spam.com`.
|
|
16
16
|
field :domain, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'domain', 'style': 'form', 'explode': true } }
|
|
17
17
|
# The slug of the short link to retrieve analytics for. Must be used along with the corresponding `domain` of the short link to fetch analytics for a specific short link.
|
|
18
18
|
field :key, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'key', 'style': 'form', 'explode': true } }
|
|
19
|
-
# The unique ID of the
|
|
19
|
+
# The unique ID of the link to retrieve analytics for.Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `link_123`, `link_123,link_456`, `-link_789`.
|
|
20
20
|
field :link_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'linkId', 'style': 'form', 'explode': true } }
|
|
21
21
|
# The ID of the link in the your database. Must be prefixed with 'ext_' when passed as a query parameter.
|
|
22
22
|
field :external_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'externalId', 'style': 'form', 'explode': true } }
|
|
23
|
-
# The ID of the tenant that created the link inside your system.
|
|
23
|
+
# The ID of the tenant that created the link inside your system. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `tenant_123`, `tenant_123,tenant_456`, `-tenant_789`.
|
|
24
24
|
field :tenant_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'tenantId', 'style': 'form', 'explode': true } }
|
|
25
|
-
# The ID
|
|
26
|
-
field :
|
|
27
|
-
# The ID
|
|
25
|
+
# The tag ID to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `tag_123`, `tag_123,tag_456`, `-tag_789`.
|
|
26
|
+
field :tag_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'tagId', 'style': 'form', 'explode': true } }
|
|
27
|
+
# The folder ID to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `folder_123`, `folder_123,folder_456`, `-folder_789`. If not provided, return analytics for all links.
|
|
28
|
+
field :folder_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'folderId', 'style': 'form', 'explode': true } }
|
|
29
|
+
# The group ID to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `grp_123`, `grp_123,grp_456`, `-grp_789`.
|
|
30
|
+
field :group_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'groupId', 'style': 'form', 'explode': true } }
|
|
31
|
+
# The ID of the partner to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `pn_123`, `pn_123,pn_456`, `-pn_789`.
|
|
28
32
|
field :partner_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'partnerId', 'style': 'form', 'explode': true } }
|
|
29
33
|
# The ID of the customer to retrieve analytics for.
|
|
30
34
|
field :customer_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'customerId', 'style': 'form', 'explode': true } }
|
|
@@ -34,42 +38,48 @@ module OpenApiSDK
|
|
|
34
38
|
field :start, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'start', 'style': 'form', 'explode': true } }
|
|
35
39
|
# The end date and time when to retrieve analytics from. If not provided, defaults to the current date. If set along with `start`, takes precedence over `interval`.
|
|
36
40
|
field :end_, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'end', 'style': 'form', 'explode': true } }
|
|
37
|
-
# The country to retrieve analytics for. Must be passed as a 2-letter ISO 3166-1 country code
|
|
41
|
+
# The country to retrieve analytics for. Must be passed as a 2-letter ISO 3166-1 country code (see https://d.to/geo). Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `US`, `US,BR,FR`, `-US`.
|
|
38
42
|
field :country, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'country', 'style': 'form', 'explode': true } }
|
|
39
|
-
# The city to retrieve analytics for.
|
|
43
|
+
# The city to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `New York`, `New York,London`, `-New York`.
|
|
40
44
|
field :city, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'city', 'style': 'form', 'explode': true } }
|
|
41
|
-
# The ISO 3166-2 region code to retrieve analytics for.
|
|
45
|
+
# The ISO 3166-2 region code to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `NY`, `NY,CA`, `-NY`.
|
|
42
46
|
field :region, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'region', 'style': 'form', 'explode': true } }
|
|
43
|
-
# The continent to retrieve analytics for.
|
|
44
|
-
field :continent, Crystalline::Nilable.new(
|
|
45
|
-
# The device to retrieve analytics for.
|
|
47
|
+
# The continent to retrieve analytics for. Valid values: AF, AN, AS, EU, NA, OC, SA. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `NA`, `NA,EU`, `-AS`.
|
|
48
|
+
field :continent, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'continent', 'style': 'form', 'explode': true } }
|
|
49
|
+
# The device to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `Desktop`, `Mobile,Tablet`, `-Mobile`.
|
|
46
50
|
field :device, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'device', 'style': 'form', 'explode': true } }
|
|
47
|
-
# The browser to retrieve analytics for.
|
|
51
|
+
# The browser to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `Chrome`, `Chrome,Firefox,Safari`, `-IE`.
|
|
48
52
|
field :browser, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'browser', 'style': 'form', 'explode': true } }
|
|
49
|
-
# The OS to retrieve analytics for.
|
|
53
|
+
# The OS to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `Windows`, `Mac,Windows,Linux`, `-Windows`.
|
|
50
54
|
field :os, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'os', 'style': 'form', 'explode': true } }
|
|
51
|
-
# The trigger to retrieve analytics for. If undefined, returns all trigger types.
|
|
52
|
-
field :trigger, Crystalline::Nilable.new(
|
|
53
|
-
# The referer hostname to retrieve analytics for.
|
|
55
|
+
# The trigger to retrieve analytics for. Valid values: qr, link, pageview. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `qr`, `qr,link`, `-qr`. If undefined, returns all trigger types.
|
|
56
|
+
field :trigger, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'trigger', 'style': 'form', 'explode': true } }
|
|
57
|
+
# The referer hostname to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `google.com`, `google.com,twitter.com`, `-facebook.com`.
|
|
54
58
|
field :referer, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'referer', 'style': 'form', 'explode': true } }
|
|
55
|
-
# The full referer URL to retrieve analytics for.
|
|
59
|
+
# The full referer URL to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `https://google.com`, `https://google.com,https://twitter.com`, `-https://spam.com`.
|
|
56
60
|
field :referer_url, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'refererUrl', 'style': 'form', 'explode': true } }
|
|
57
|
-
# The URL to retrieve analytics for.
|
|
61
|
+
# The destination URL to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `https://example.com`, `https://example.com,https://other.com`, `-https://spam.com`.
|
|
58
62
|
field :url, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'url', 'style': 'form', 'explode': true } }
|
|
59
|
-
# The
|
|
60
|
-
field :
|
|
61
|
-
# The
|
|
62
|
-
field :
|
|
63
|
-
# The
|
|
64
|
-
field :
|
|
63
|
+
# The UTM source to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `google`, `google,twitter`, `-spam`.
|
|
64
|
+
field :utm_source, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'utm_source', 'style': 'form', 'explode': true } }
|
|
65
|
+
# The UTM medium to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `cpc`, `cpc,social`, `-email`.
|
|
66
|
+
field :utm_medium, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'utm_medium', 'style': 'form', 'explode': true } }
|
|
67
|
+
# The UTM campaign to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`). Examples: `summer_sale`, `summer_sale,winter_sale`, `-old_campaign`.
|
|
68
|
+
field :utm_campaign, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'utm_campaign', 'style': 'form', 'explode': true } }
|
|
69
|
+
# The UTM term to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`).
|
|
70
|
+
field :utm_term, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'utm_term', 'style': 'form', 'explode': true } }
|
|
71
|
+
# The UTM content to retrieve analytics for. Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with `-`).
|
|
72
|
+
field :utm_content, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'utm_content', 'style': 'form', 'explode': true } }
|
|
65
73
|
# Filter for root domains. If true, filter for domains only. If false, filter for links only. If undefined, return both.
|
|
66
74
|
field :root, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'query_param': { 'field_name': 'root', 'style': 'form', 'explode': true } }
|
|
67
75
|
# Filter sales by type: 'new' for first-time purchases, 'recurring' for repeat purchases. If undefined, returns both.
|
|
68
76
|
field :sale_type, Crystalline::Nilable.new(Models::Operations::SaleType), { 'query_param': { 'field_name': 'saleType', 'style': 'form', 'explode': true } }
|
|
69
|
-
# Search the events by a custom metadata value. Only available for lead and sale events.
|
|
77
|
+
# Search the events by a custom metadata value. Only available for lead and sale events. Examples: `metadata['key']:'value'`
|
|
70
78
|
field :query, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'query', 'style': 'form', 'explode': true } }
|
|
71
|
-
# Deprecated:
|
|
72
|
-
field :
|
|
79
|
+
# Deprecated: This is automatically inferred from your workspace's defaultProgramId. The ID of the program to retrieve analytics for.
|
|
80
|
+
field :program_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'programId', 'style': 'form', 'explode': true } }
|
|
81
|
+
# Deprecated: Use `tagId` instead. The tag IDs to retrieve analytics for.
|
|
82
|
+
field :tag_ids, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'tagIds', 'style': 'form', 'explode': true } }
|
|
73
83
|
# Deprecated: Use the `trigger` field instead. Filter for QR code scans. If true, filter for QR codes only. If false, filter for links only. If undefined, return both.
|
|
74
84
|
field :qr, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'query_param': { 'field_name': 'qr', 'style': 'form', 'explode': true } }
|
|
75
85
|
# The type of event to retrieve analytics for. Defaults to `clicks`.
|
|
@@ -78,27 +88,17 @@ module OpenApiSDK
|
|
|
78
88
|
field :group_by, Crystalline::Nilable.new(Models::Operations::QueryParamGroupBy), { 'query_param': { 'field_name': 'groupBy', 'style': 'form', 'explode': true } }
|
|
79
89
|
# The IANA time zone code for aligning timeseries granularity (e.g. America/New_York). Defaults to UTC.
|
|
80
90
|
field :timezone, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'timezone', 'style': 'form', 'explode': true } }
|
|
81
|
-
# The UTM source of the short link.
|
|
82
|
-
field :utm_source, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'utm_source', 'style': 'form', 'explode': true } }
|
|
83
|
-
# The UTM medium of the short link.
|
|
84
|
-
field :utm_medium, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'utm_medium', 'style': 'form', 'explode': true } }
|
|
85
|
-
# The UTM campaign of the short link.
|
|
86
|
-
field :utm_campaign, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'utm_campaign', 'style': 'form', 'explode': true } }
|
|
87
|
-
# The UTM term of the short link.
|
|
88
|
-
field :utm_term, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'utm_term', 'style': 'form', 'explode': true } }
|
|
89
|
-
# The UTM content of the short link.
|
|
90
|
-
field :utm_content, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'utm_content', 'style': 'form', 'explode': true } }
|
|
91
|
-
# The ref of the short link.
|
|
92
|
-
field :ref, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'ref', 'style': 'form', 'explode': true } }
|
|
93
91
|
|
|
94
|
-
sig { params(domain: T.nilable(::String), key: T.nilable(::String), link_id: T.nilable(::String), external_id: T.nilable(::String), tenant_id: T.nilable(::String),
|
|
95
|
-
def initialize(domain: nil, key: nil, link_id: nil, external_id: nil, tenant_id: nil,
|
|
92
|
+
sig { params(domain: T.nilable(::String), key: T.nilable(::String), link_id: T.nilable(::String), external_id: T.nilable(::String), tenant_id: T.nilable(::String), tag_id: T.nilable(::String), folder_id: T.nilable(::String), group_id: T.nilable(::String), partner_id: T.nilable(::String), customer_id: T.nilable(::String), interval: T.nilable(Models::Operations::Interval), start: T.nilable(::String), end_: T.nilable(::String), country: T.nilable(::String), city: T.nilable(::String), region: T.nilable(::String), continent: T.nilable(::String), device: T.nilable(::String), browser: T.nilable(::String), os: T.nilable(::String), trigger: T.nilable(::String), referer: T.nilable(::String), referer_url: T.nilable(::String), url: T.nilable(::String), utm_source: T.nilable(::String), utm_medium: T.nilable(::String), utm_campaign: T.nilable(::String), utm_term: T.nilable(::String), utm_content: T.nilable(::String), root: T.nilable(T::Boolean), sale_type: T.nilable(Models::Operations::SaleType), query: T.nilable(::String), program_id: T.nilable(::String), tag_ids: T.nilable(::String), qr: T.nilable(T::Boolean), event: T.nilable(Models::Operations::Event), group_by: T.nilable(Models::Operations::QueryParamGroupBy), timezone: T.nilable(::String)).void }
|
|
93
|
+
def initialize(domain: nil, key: nil, link_id: nil, external_id: nil, tenant_id: nil, tag_id: nil, folder_id: nil, group_id: nil, partner_id: nil, customer_id: nil, interval: nil, start: nil, end_: nil, country: nil, city: nil, region: nil, continent: nil, device: nil, browser: nil, os: nil, trigger: nil, referer: nil, referer_url: nil, url: nil, utm_source: nil, utm_medium: nil, utm_campaign: nil, utm_term: nil, utm_content: nil, root: nil, sale_type: nil, query: nil, program_id: nil, tag_ids: nil, qr: nil, event: Models::Operations::Event::CLICKS, group_by: Models::Operations::QueryParamGroupBy::COUNT, timezone: 'UTC')
|
|
96
94
|
@domain = domain
|
|
97
95
|
@key = key
|
|
98
96
|
@link_id = link_id
|
|
99
97
|
@external_id = external_id
|
|
100
98
|
@tenant_id = tenant_id
|
|
101
|
-
@
|
|
99
|
+
@tag_id = tag_id
|
|
100
|
+
@folder_id = folder_id
|
|
101
|
+
@group_id = group_id
|
|
102
102
|
@partner_id = partner_id
|
|
103
103
|
@customer_id = customer_id
|
|
104
104
|
@interval = interval
|
|
@@ -115,23 +115,20 @@ module OpenApiSDK
|
|
|
115
115
|
@referer = referer
|
|
116
116
|
@referer_url = referer_url
|
|
117
117
|
@url = url
|
|
118
|
-
@
|
|
119
|
-
@
|
|
120
|
-
@
|
|
118
|
+
@utm_source = utm_source
|
|
119
|
+
@utm_medium = utm_medium
|
|
120
|
+
@utm_campaign = utm_campaign
|
|
121
|
+
@utm_term = utm_term
|
|
122
|
+
@utm_content = utm_content
|
|
121
123
|
@root = root
|
|
122
124
|
@sale_type = sale_type
|
|
123
125
|
@query = query
|
|
124
|
-
@
|
|
126
|
+
@program_id = program_id
|
|
127
|
+
@tag_ids = tag_ids
|
|
125
128
|
@qr = qr
|
|
126
129
|
@event = event
|
|
127
130
|
@group_by = group_by
|
|
128
131
|
@timezone = timezone
|
|
129
|
-
@utm_source = utm_source
|
|
130
|
-
@utm_medium = utm_medium
|
|
131
|
-
@utm_campaign = utm_campaign
|
|
132
|
-
@utm_term = utm_term
|
|
133
|
-
@utm_content = utm_content
|
|
134
|
-
@ref = ref
|
|
135
132
|
end
|
|
136
133
|
|
|
137
134
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -142,7 +139,9 @@ module OpenApiSDK
|
|
|
142
139
|
return false unless @link_id == other.link_id
|
|
143
140
|
return false unless @external_id == other.external_id
|
|
144
141
|
return false unless @tenant_id == other.tenant_id
|
|
145
|
-
return false unless @
|
|
142
|
+
return false unless @tag_id == other.tag_id
|
|
143
|
+
return false unless @folder_id == other.folder_id
|
|
144
|
+
return false unless @group_id == other.group_id
|
|
146
145
|
return false unless @partner_id == other.partner_id
|
|
147
146
|
return false unless @customer_id == other.customer_id
|
|
148
147
|
return false unless @interval == other.interval
|
|
@@ -159,23 +158,20 @@ module OpenApiSDK
|
|
|
159
158
|
return false unless @referer == other.referer
|
|
160
159
|
return false unless @referer_url == other.referer_url
|
|
161
160
|
return false unless @url == other.url
|
|
162
|
-
return false unless @
|
|
163
|
-
return false unless @
|
|
164
|
-
return false unless @
|
|
161
|
+
return false unless @utm_source == other.utm_source
|
|
162
|
+
return false unless @utm_medium == other.utm_medium
|
|
163
|
+
return false unless @utm_campaign == other.utm_campaign
|
|
164
|
+
return false unless @utm_term == other.utm_term
|
|
165
|
+
return false unless @utm_content == other.utm_content
|
|
165
166
|
return false unless @root == other.root
|
|
166
167
|
return false unless @sale_type == other.sale_type
|
|
167
168
|
return false unless @query == other.query
|
|
168
|
-
return false unless @
|
|
169
|
+
return false unless @program_id == other.program_id
|
|
170
|
+
return false unless @tag_ids == other.tag_ids
|
|
169
171
|
return false unless @qr == other.qr
|
|
170
172
|
return false unless @event == other.event
|
|
171
173
|
return false unless @group_by == other.group_by
|
|
172
174
|
return false unless @timezone == other.timezone
|
|
173
|
-
return false unless @utm_source == other.utm_source
|
|
174
|
-
return false unless @utm_medium == other.utm_medium
|
|
175
|
-
return false unless @utm_campaign == other.utm_campaign
|
|
176
|
-
return false unless @utm_term == other.utm_term
|
|
177
|
-
return false unless @utm_content == other.utm_content
|
|
178
|
-
return false unless @ref == other.ref
|
|
179
175
|
true
|
|
180
176
|
end
|
|
181
177
|
end
|
|
@@ -18,8 +18,12 @@ class OpenApiSDK::Models::Operations::RetrieveAnalyticsRequest
|
|
|
18
18
|
def external_id=(str_); end
|
|
19
19
|
def tenant_id(); end
|
|
20
20
|
def tenant_id=(str_); end
|
|
21
|
-
def
|
|
22
|
-
def
|
|
21
|
+
def tag_id(); end
|
|
22
|
+
def tag_id=(str_); end
|
|
23
|
+
def folder_id(); end
|
|
24
|
+
def folder_id=(str_); end
|
|
25
|
+
def group_id(); end
|
|
26
|
+
def group_id=(str_); end
|
|
23
27
|
def partner_id(); end
|
|
24
28
|
def partner_id=(str_); end
|
|
25
29
|
def customer_id(); end
|
|
@@ -52,20 +56,26 @@ class OpenApiSDK::Models::Operations::RetrieveAnalyticsRequest
|
|
|
52
56
|
def referer_url=(str_); end
|
|
53
57
|
def url(); end
|
|
54
58
|
def url=(str_); end
|
|
55
|
-
def
|
|
56
|
-
def
|
|
57
|
-
def
|
|
58
|
-
def
|
|
59
|
-
def
|
|
60
|
-
def
|
|
59
|
+
def utm_source(); end
|
|
60
|
+
def utm_source=(str_); end
|
|
61
|
+
def utm_medium(); end
|
|
62
|
+
def utm_medium=(str_); end
|
|
63
|
+
def utm_campaign(); end
|
|
64
|
+
def utm_campaign=(str_); end
|
|
65
|
+
def utm_term(); end
|
|
66
|
+
def utm_term=(str_); end
|
|
67
|
+
def utm_content(); end
|
|
68
|
+
def utm_content=(str_); end
|
|
61
69
|
def root(); end
|
|
62
70
|
def root=(str_); end
|
|
63
71
|
def sale_type(); end
|
|
64
72
|
def sale_type=(str_); end
|
|
65
73
|
def query(); end
|
|
66
74
|
def query=(str_); end
|
|
67
|
-
def
|
|
68
|
-
def
|
|
75
|
+
def program_id(); end
|
|
76
|
+
def program_id=(str_); end
|
|
77
|
+
def tag_ids(); end
|
|
78
|
+
def tag_ids=(str_); end
|
|
69
79
|
def qr(); end
|
|
70
80
|
def qr=(str_); end
|
|
71
81
|
def event(); end
|
|
@@ -74,16 +84,4 @@ class OpenApiSDK::Models::Operations::RetrieveAnalyticsRequest
|
|
|
74
84
|
def group_by=(str_); end
|
|
75
85
|
def timezone(); end
|
|
76
86
|
def timezone=(str_); end
|
|
77
|
-
def utm_source(); end
|
|
78
|
-
def utm_source=(str_); end
|
|
79
|
-
def utm_medium(); end
|
|
80
|
-
def utm_medium=(str_); end
|
|
81
|
-
def utm_campaign(); end
|
|
82
|
-
def utm_campaign=(str_); end
|
|
83
|
-
def utm_term(); end
|
|
84
|
-
def utm_term=(str_); end
|
|
85
|
-
def utm_content(); end
|
|
86
|
-
def utm_content=(str_); end
|
|
87
|
-
def ref(); end
|
|
88
|
-
def ref=(str_); end
|
|
89
87
|
end
|
|
@@ -9,8 +9,6 @@ module OpenApiSDK
|
|
|
9
9
|
module Operations
|
|
10
10
|
# RetrievePartnerAnalyticsQueryParamGroupBy - The parameter to group the analytics data points by. Defaults to `count` if undefined.
|
|
11
11
|
class RetrievePartnerAnalyticsQueryParamGroupBy < T::Enum
|
|
12
|
-
|
|
13
|
-
|
|
14
12
|
enums do
|
|
15
13
|
TOP_LINKS = new('top_links')
|
|
16
14
|
TIMESERIES = new('timeseries')
|