stigg 0.1.0.pre.alpha.1 → 0.1.0.pre.alpha.2
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/CHANGELOG.md +14 -0
- data/README.md +29 -1
- data/lib/stigg/internal/my_cursor_id_page.rb +32 -4
- data/lib/stigg/models/v1/coupon_create_params.rb +2 -0
- data/lib/stigg/models/v1/coupon_create_response.rb +11 -6
- data/lib/stigg/models/v1/coupon_list_params.rb +14 -14
- data/lib/stigg/models/v1/coupon_list_response.rb +262 -278
- data/lib/stigg/models/v1/coupon_retrieve_response.rb +11 -6
- data/lib/stigg/models/v1/customer_create_params.rb +2 -0
- data/lib/stigg/models/v1/customer_list_params.rb +14 -14
- data/lib/stigg/models/v1/customer_list_response.rb +160 -174
- data/lib/stigg/models/v1/customer_response.rb +8 -1
- data/lib/stigg/models/v1/customer_update_params.rb +2 -0
- data/lib/stigg/models/v1/customers/payment_method_attach_params.rb +3 -1
- data/lib/stigg/models/v1/subscription_create_params.rb +1485 -6
- data/lib/stigg/models/v1/subscription_create_response.rb +703 -4
- data/lib/stigg/models/v1/subscription_delegate_params.rb +7 -2
- data/lib/stigg/models/v1/subscription_delegate_response.rb +42 -2
- data/lib/stigg/models/v1/subscription_list_params.rb +20 -24
- data/lib/stigg/models/v1/subscription_list_response.rb +255 -236
- data/lib/stigg/models/v1/subscription_migrate_params.rb +3 -3
- data/lib/stigg/models/v1/subscription_migrate_response.rb +42 -2
- data/lib/stigg/models/v1/subscription_preview_params.rb +139 -46
- data/lib/stigg/models/v1/subscription_preview_response.rb +164 -49
- data/lib/stigg/models/v1/subscription_retrieve_response.rb +42 -2
- data/lib/stigg/models/v1/subscription_transfer_params.rb +2 -6
- data/lib/stigg/models/v1/subscription_transfer_response.rb +42 -2
- data/lib/stigg/models/v1/subscriptions/future_update_cancel_pending_payment_response.rb +2 -0
- data/lib/stigg/models/v1/subscriptions/future_update_cancel_schedule_response.rb +2 -0
- data/lib/stigg/models/v1_create_event_params.rb +2 -0
- data/lib/stigg/models/v1_create_event_response.rb +8 -1
- data/lib/stigg/models/v1_create_usage_params.rb +19 -3
- data/lib/stigg/models/v1_create_usage_response.rb +7 -1
- data/lib/stigg/resources/v1/coupons.rb +12 -10
- data/lib/stigg/resources/v1/customers/payment_method.rb +6 -5
- data/lib/stigg/resources/v1/customers/usage.rb +0 -41
- data/lib/stigg/resources/v1/customers.rb +20 -20
- data/lib/stigg/resources/v1/subscriptions/future_update.rb +6 -4
- data/lib/stigg/resources/v1/subscriptions.rb +74 -49
- data/lib/stigg/resources/v1.rb +2 -2
- data/lib/stigg/version.rb +1 -1
- data/lib/stigg.rb +0 -7
- data/rbi/stigg/internal/my_cursor_id_page.rbi +27 -0
- data/rbi/stigg/models/v1/coupon_create_params.rbi +1 -0
- data/rbi/stigg/models/v1/coupon_create_response.rbi +11 -10
- data/rbi/stigg/models/v1/coupon_list_params.rbi +21 -21
- data/rbi/stigg/models/v1/coupon_list_response.rbi +812 -869
- data/rbi/stigg/models/v1/coupon_retrieve_response.rbi +11 -10
- data/rbi/stigg/models/v1/customer_create_params.rbi +1 -0
- data/rbi/stigg/models/v1/customer_list_params.rbi +21 -21
- data/rbi/stigg/models/v1/customer_list_response.rbi +307 -347
- data/rbi/stigg/models/v1/customer_response.rbi +8 -1
- data/rbi/stigg/models/v1/customer_update_params.rbi +1 -0
- data/rbi/stigg/models/v1/customers/payment_method_attach_params.rbi +3 -0
- data/rbi/stigg/models/v1/subscription_create_params.rbi +4975 -84
- data/rbi/stigg/models/v1/subscription_create_response.rbi +2508 -1
- data/rbi/stigg/models/v1/subscription_delegate_params.rbi +6 -2
- data/rbi/stigg/models/v1/subscription_delegate_response.rbi +84 -1
- data/rbi/stigg/models/v1/subscription_list_params.rbi +26 -28
- data/rbi/stigg/models/v1/subscription_list_response.rbi +460 -435
- data/rbi/stigg/models/v1/subscription_migrate_params.rbi +3 -3
- data/rbi/stigg/models/v1/subscription_migrate_response.rbi +84 -1
- data/rbi/stigg/models/v1/subscription_preview_params.rbi +112 -14
- data/rbi/stigg/models/v1/subscription_preview_response.rbi +139 -6
- data/rbi/stigg/models/v1/subscription_retrieve_response.rbi +84 -1
- data/rbi/stigg/models/v1/subscription_transfer_params.rbi +2 -4
- data/rbi/stigg/models/v1/subscription_transfer_response.rbi +84 -1
- data/rbi/stigg/models/v1/subscriptions/future_update_cancel_pending_payment_response.rbi +1 -0
- data/rbi/stigg/models/v1/subscriptions/future_update_cancel_schedule_response.rbi +1 -0
- data/rbi/stigg/models/v1_create_event_params.rbi +1 -0
- data/rbi/stigg/models/v1_create_event_response.rbi +8 -1
- data/rbi/stigg/models/v1_create_usage_params.rbi +44 -4
- data/rbi/stigg/models/v1_create_usage_response.rbi +8 -1
- data/rbi/stigg/resources/v1/coupons.rbi +20 -12
- data/rbi/stigg/resources/v1/customers/payment_method.rbi +9 -3
- data/rbi/stigg/resources/v1/customers/usage.rbi +0 -29
- data/rbi/stigg/resources/v1/customers.rbi +34 -20
- data/rbi/stigg/resources/v1/subscriptions/future_update.rbi +12 -4
- data/rbi/stigg/resources/v1/subscriptions.rbi +102 -23
- data/rbi/stigg/resources/v1.rbi +2 -2
- data/sig/stigg/internal/my_cursor_id_page.rbs +17 -0
- data/sig/stigg/models/v1/coupon_create_response.rbs +4 -4
- data/sig/stigg/models/v1/coupon_list_params.rbs +11 -11
- data/sig/stigg/models/v1/coupon_list_response.rbs +331 -351
- data/sig/stigg/models/v1/coupon_retrieve_response.rbs +4 -4
- data/sig/stigg/models/v1/customer_list_params.rbs +11 -11
- data/sig/stigg/models/v1/customer_list_response.rbs +133 -153
- data/sig/stigg/models/v1/subscription_create_params.rbs +2029 -5
- data/sig/stigg/models/v1/subscription_create_response.rbs +1022 -0
- data/sig/stigg/models/v1/subscription_delegate_response.rbs +31 -0
- data/sig/stigg/models/v1/subscription_list_params.rbs +14 -14
- data/sig/stigg/models/v1/subscription_list_response.rbs +196 -189
- data/sig/stigg/models/v1/subscription_migrate_response.rbs +31 -0
- data/sig/stigg/models/v1/subscription_preview_params.rbs +2 -6
- data/sig/stigg/models/v1/subscription_retrieve_response.rbs +31 -0
- data/sig/stigg/models/v1/subscription_transfer_response.rbs +31 -0
- data/sig/stigg/models/v1_create_usage_params.rbs +15 -5
- data/sig/stigg/resources/v1/coupons.rbs +3 -3
- data/sig/stigg/resources/v1/customers/usage.rbs +0 -10
- data/sig/stigg/resources/v1/customers.rbs +3 -5
- data/sig/stigg/resources/v1/subscriptions.rbs +19 -4
- metadata +2 -23
- data/lib/stigg/models/v1/customers/promotional_create_params.rb +0 -294
- data/lib/stigg/models/v1/customers/promotional_create_response.rb +0 -268
- data/lib/stigg/models/v1/customers/promotional_revoke_params.rb +0 -24
- data/lib/stigg/models/v1/customers/promotional_revoke_response.rb +0 -268
- data/lib/stigg/models/v1/customers/usage_retrieve_params.rb +0 -56
- data/lib/stigg/models/v1/customers/usage_retrieve_response.rb +0 -145
- data/lib/stigg/resources/v1/customers/promotional.rb +0 -69
- data/rbi/stigg/models/v1/customers/promotional_create_params.rbi +0 -639
- data/rbi/stigg/models/v1/customers/promotional_create_response.rbi +0 -495
- data/rbi/stigg/models/v1/customers/promotional_revoke_params.rbi +0 -42
- data/rbi/stigg/models/v1/customers/promotional_revoke_response.rbi +0 -497
- data/rbi/stigg/models/v1/customers/usage_retrieve_params.rbi +0 -84
- data/rbi/stigg/models/v1/customers/usage_retrieve_response.rbi +0 -353
- data/rbi/stigg/resources/v1/customers/promotional.rbi +0 -53
- data/sig/stigg/models/v1/customers/promotional_create_params.rbs +0 -234
- data/sig/stigg/models/v1/customers/promotional_create_response.rbs +0 -209
- data/sig/stigg/models/v1/customers/promotional_revoke_params.rbs +0 -27
- data/sig/stigg/models/v1/customers/promotional_revoke_response.rbs +0 -209
- data/sig/stigg/models/v1/customers/usage_retrieve_params.rbs +0 -54
- data/sig/stigg/models/v1/customers/usage_retrieve_response.rbs +0 -134
- data/sig/stigg/resources/v1/customers/promotional.rbs +0 -23
|
@@ -94,22 +94,22 @@ module Stigg
|
|
|
94
94
|
type amounts_off =
|
|
95
95
|
{
|
|
96
96
|
amount: Float,
|
|
97
|
-
currency: Stigg::Models::V1::CouponRetrieveResponse::Data::AmountsOff::currency
|
|
97
|
+
currency: Stigg::Models::V1::CouponRetrieveResponse::Data::AmountsOff::currency
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class AmountsOff < Stigg::Internal::Type::BaseModel
|
|
101
101
|
attr_accessor amount: Float
|
|
102
102
|
|
|
103
|
-
attr_accessor currency: Stigg::Models::V1::CouponRetrieveResponse::Data::AmountsOff::currency
|
|
103
|
+
attr_accessor currency: Stigg::Models::V1::CouponRetrieveResponse::Data::AmountsOff::currency
|
|
104
104
|
|
|
105
105
|
def initialize: (
|
|
106
106
|
amount: Float,
|
|
107
|
-
currency: Stigg::Models::V1::CouponRetrieveResponse::Data::AmountsOff::currency
|
|
107
|
+
currency: Stigg::Models::V1::CouponRetrieveResponse::Data::AmountsOff::currency
|
|
108
108
|
) -> void
|
|
109
109
|
|
|
110
110
|
def to_hash: -> {
|
|
111
111
|
amount: Float,
|
|
112
|
-
currency: Stigg::Models::V1::CouponRetrieveResponse::Data::AmountsOff::currency
|
|
112
|
+
currency: Stigg::Models::V1::CouponRetrieveResponse::Data::AmountsOff::currency
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
type currency =
|
|
@@ -2,36 +2,36 @@ module Stigg
|
|
|
2
2
|
module Models
|
|
3
3
|
module V1
|
|
4
4
|
type customer_list_params =
|
|
5
|
-
{
|
|
5
|
+
{ after: String, before: String, limit: Integer }
|
|
6
6
|
& Stigg::Internal::Type::request_parameters
|
|
7
7
|
|
|
8
8
|
class CustomerListParams < Stigg::Internal::Type::BaseModel
|
|
9
9
|
extend Stigg::Internal::Type::RequestParameters::Converter
|
|
10
10
|
include Stigg::Internal::Type::RequestParameters
|
|
11
11
|
|
|
12
|
-
attr_reader
|
|
12
|
+
attr_reader after: String?
|
|
13
13
|
|
|
14
|
-
def
|
|
14
|
+
def after=: (String) -> String
|
|
15
15
|
|
|
16
|
-
attr_reader
|
|
16
|
+
attr_reader before: String?
|
|
17
17
|
|
|
18
|
-
def
|
|
18
|
+
def before=: (String) -> String
|
|
19
19
|
|
|
20
|
-
attr_reader
|
|
20
|
+
attr_reader limit: Integer?
|
|
21
21
|
|
|
22
|
-
def
|
|
22
|
+
def limit=: (Integer) -> Integer
|
|
23
23
|
|
|
24
24
|
def initialize: (
|
|
25
|
-
?
|
|
25
|
+
?after: String,
|
|
26
|
+
?before: String,
|
|
26
27
|
?limit: Integer,
|
|
27
|
-
?starting_after: String,
|
|
28
28
|
?request_options: Stigg::request_opts
|
|
29
29
|
) -> void
|
|
30
30
|
|
|
31
31
|
def to_hash: -> {
|
|
32
|
-
|
|
32
|
+
after: String,
|
|
33
|
+
before: String,
|
|
33
34
|
limit: Integer,
|
|
34
|
-
starting_after: String,
|
|
35
35
|
request_options: Stigg::RequestOptions
|
|
36
36
|
}
|
|
37
37
|
end
|
|
@@ -2,194 +2,174 @@ module Stigg
|
|
|
2
2
|
module Models
|
|
3
3
|
module V1
|
|
4
4
|
type customer_list_response =
|
|
5
|
-
{
|
|
5
|
+
{
|
|
6
|
+
id: String,
|
|
7
|
+
archived_at: Time?,
|
|
8
|
+
created_at: Time,
|
|
9
|
+
updated_at: Time,
|
|
10
|
+
coupon_id: String?,
|
|
11
|
+
default_payment_method: Stigg::Models::V1::CustomerListResponse::DefaultPaymentMethod?,
|
|
12
|
+
email: String?,
|
|
13
|
+
integrations: ::Array[Stigg::Models::V1::CustomerListResponse::Integration],
|
|
14
|
+
metadata: ::Hash[Symbol, String],
|
|
15
|
+
name: String?
|
|
16
|
+
}
|
|
6
17
|
|
|
7
18
|
class CustomerListResponse < Stigg::Internal::Type::BaseModel
|
|
8
|
-
attr_accessor
|
|
19
|
+
attr_accessor id: String
|
|
9
20
|
|
|
10
|
-
|
|
11
|
-
data: ::Array[Stigg::Models::V1::CustomerListResponse::Data]
|
|
12
|
-
) -> void
|
|
21
|
+
attr_accessor archived_at: Time?
|
|
13
22
|
|
|
14
|
-
|
|
15
|
-
data: ::Array[Stigg::Models::V1::CustomerListResponse::Data]
|
|
16
|
-
}
|
|
23
|
+
attr_accessor created_at: Time
|
|
17
24
|
|
|
18
|
-
|
|
19
|
-
{
|
|
20
|
-
id: String,
|
|
21
|
-
archived_at: Time?,
|
|
22
|
-
created_at: Time,
|
|
23
|
-
cursor_id: String,
|
|
24
|
-
updated_at: Time,
|
|
25
|
-
coupon_id: String?,
|
|
26
|
-
default_payment_method: Stigg::Models::V1::CustomerListResponse::Data::DefaultPaymentMethod?,
|
|
27
|
-
email: String?,
|
|
28
|
-
integrations: ::Array[Stigg::Models::V1::CustomerListResponse::Data::Integration],
|
|
29
|
-
metadata: ::Hash[Symbol, String],
|
|
30
|
-
name: String?
|
|
31
|
-
}
|
|
25
|
+
attr_accessor updated_at: Time
|
|
32
26
|
|
|
33
|
-
|
|
34
|
-
attr_accessor id: String
|
|
27
|
+
attr_accessor coupon_id: String?
|
|
35
28
|
|
|
36
|
-
|
|
29
|
+
attr_accessor default_payment_method: Stigg::Models::V1::CustomerListResponse::DefaultPaymentMethod?
|
|
37
30
|
|
|
38
|
-
|
|
31
|
+
attr_accessor email: String?
|
|
39
32
|
|
|
40
|
-
|
|
33
|
+
attr_reader integrations: ::Array[Stigg::Models::V1::CustomerListResponse::Integration]?
|
|
41
34
|
|
|
42
|
-
|
|
35
|
+
def integrations=: (
|
|
36
|
+
::Array[Stigg::Models::V1::CustomerListResponse::Integration]
|
|
37
|
+
) -> ::Array[Stigg::Models::V1::CustomerListResponse::Integration]
|
|
43
38
|
|
|
44
|
-
|
|
39
|
+
attr_reader metadata: ::Hash[Symbol, String]?
|
|
45
40
|
|
|
46
|
-
|
|
41
|
+
def metadata=: (::Hash[Symbol, String]) -> ::Hash[Symbol, String]
|
|
47
42
|
|
|
48
|
-
|
|
43
|
+
attr_accessor name: String?
|
|
44
|
+
|
|
45
|
+
def initialize: (
|
|
46
|
+
id: String,
|
|
47
|
+
archived_at: Time?,
|
|
48
|
+
created_at: Time,
|
|
49
|
+
updated_at: Time,
|
|
50
|
+
?coupon_id: String?,
|
|
51
|
+
?default_payment_method: Stigg::Models::V1::CustomerListResponse::DefaultPaymentMethod?,
|
|
52
|
+
?email: String?,
|
|
53
|
+
?integrations: ::Array[Stigg::Models::V1::CustomerListResponse::Integration],
|
|
54
|
+
?metadata: ::Hash[Symbol, String],
|
|
55
|
+
?name: String?
|
|
56
|
+
) -> void
|
|
57
|
+
|
|
58
|
+
def to_hash: -> {
|
|
59
|
+
id: String,
|
|
60
|
+
archived_at: Time?,
|
|
61
|
+
created_at: Time,
|
|
62
|
+
updated_at: Time,
|
|
63
|
+
coupon_id: String?,
|
|
64
|
+
default_payment_method: Stigg::Models::V1::CustomerListResponse::DefaultPaymentMethod?,
|
|
65
|
+
email: String?,
|
|
66
|
+
integrations: ::Array[Stigg::Models::V1::CustomerListResponse::Integration],
|
|
67
|
+
metadata: ::Hash[Symbol, String],
|
|
68
|
+
name: String?
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
type default_payment_method =
|
|
72
|
+
{
|
|
73
|
+
billing_id: String?,
|
|
74
|
+
card_expiry_month: Float?,
|
|
75
|
+
card_expiry_year: Float?,
|
|
76
|
+
:card_last4_digits => String?,
|
|
77
|
+
type: Stigg::Models::V1::CustomerListResponse::DefaultPaymentMethod::type_
|
|
78
|
+
}
|
|
49
79
|
|
|
50
|
-
|
|
80
|
+
class DefaultPaymentMethod < Stigg::Internal::Type::BaseModel
|
|
81
|
+
attr_accessor billing_id: String?
|
|
51
82
|
|
|
52
|
-
|
|
53
|
-
::Array[Stigg::Models::V1::CustomerListResponse::Data::Integration]
|
|
54
|
-
) -> ::Array[Stigg::Models::V1::CustomerListResponse::Data::Integration]
|
|
83
|
+
attr_accessor card_expiry_month: Float?
|
|
55
84
|
|
|
56
|
-
|
|
85
|
+
attr_accessor card_expiry_year: Float?
|
|
57
86
|
|
|
58
|
-
|
|
87
|
+
attr_accessor card_last4_digits: String?
|
|
59
88
|
|
|
60
|
-
attr_accessor
|
|
89
|
+
attr_accessor type: Stigg::Models::V1::CustomerListResponse::DefaultPaymentMethod::type_
|
|
61
90
|
|
|
62
91
|
def initialize: (
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
?coupon_id: String?,
|
|
69
|
-
?default_payment_method: Stigg::Models::V1::CustomerListResponse::Data::DefaultPaymentMethod?,
|
|
70
|
-
?email: String?,
|
|
71
|
-
?integrations: ::Array[Stigg::Models::V1::CustomerListResponse::Data::Integration],
|
|
72
|
-
?metadata: ::Hash[Symbol, String],
|
|
73
|
-
?name: String?
|
|
92
|
+
billing_id: String?,
|
|
93
|
+
card_expiry_month: Float?,
|
|
94
|
+
card_expiry_year: Float?,
|
|
95
|
+
card_last4_digits: String?,
|
|
96
|
+
type: Stigg::Models::V1::CustomerListResponse::DefaultPaymentMethod::type_
|
|
74
97
|
) -> void
|
|
75
98
|
|
|
76
99
|
def to_hash: -> {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
coupon_id: String?,
|
|
83
|
-
default_payment_method: Stigg::Models::V1::CustomerListResponse::Data::DefaultPaymentMethod?,
|
|
84
|
-
email: String?,
|
|
85
|
-
integrations: ::Array[Stigg::Models::V1::CustomerListResponse::Data::Integration],
|
|
86
|
-
metadata: ::Hash[Symbol, String],
|
|
87
|
-
name: String?
|
|
100
|
+
billing_id: String?,
|
|
101
|
+
card_expiry_month: Float?,
|
|
102
|
+
card_expiry_year: Float?,
|
|
103
|
+
:card_last4_digits => String?,
|
|
104
|
+
type: Stigg::Models::V1::CustomerListResponse::DefaultPaymentMethod::type_
|
|
88
105
|
}
|
|
89
106
|
|
|
90
|
-
type
|
|
91
|
-
{
|
|
92
|
-
billing_id: String?,
|
|
93
|
-
card_expiry_month: Float?,
|
|
94
|
-
card_expiry_year: Float?,
|
|
95
|
-
:card_last4_digits => String?,
|
|
96
|
-
type: Stigg::Models::V1::CustomerListResponse::Data::DefaultPaymentMethod::type_
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
class DefaultPaymentMethod < Stigg::Internal::Type::BaseModel
|
|
100
|
-
attr_accessor billing_id: String?
|
|
107
|
+
type type_ = :CARD | :BANK | :CASH_APP
|
|
101
108
|
|
|
102
|
-
|
|
109
|
+
module Type
|
|
110
|
+
extend Stigg::Internal::Type::Enum
|
|
103
111
|
|
|
104
|
-
|
|
112
|
+
CARD: :CARD
|
|
113
|
+
BANK: :BANK
|
|
114
|
+
CASH_APP: :CASH_APP
|
|
105
115
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
116
|
+
def self?.values: -> ::Array[Stigg::Models::V1::CustomerListResponse::DefaultPaymentMethod::type_]
|
|
117
|
+
end
|
|
118
|
+
end
|
|
109
119
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
) -> void
|
|
120
|
+
type integration =
|
|
121
|
+
{
|
|
122
|
+
id: String,
|
|
123
|
+
synced_entity_id: String?,
|
|
124
|
+
vendor_identifier: Stigg::Models::V1::CustomerListResponse::Integration::vendor_identifier
|
|
125
|
+
}
|
|
117
126
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
card_expiry_month: Float?,
|
|
121
|
-
card_expiry_year: Float?,
|
|
122
|
-
:card_last4_digits => String?,
|
|
123
|
-
type: Stigg::Models::V1::CustomerListResponse::Data::DefaultPaymentMethod::type_
|
|
124
|
-
}
|
|
127
|
+
class Integration < Stigg::Internal::Type::BaseModel
|
|
128
|
+
attr_accessor id: String
|
|
125
129
|
|
|
126
|
-
|
|
130
|
+
attr_accessor synced_entity_id: String?
|
|
127
131
|
|
|
128
|
-
|
|
129
|
-
extend Stigg::Internal::Type::Enum
|
|
132
|
+
attr_accessor vendor_identifier: Stigg::Models::V1::CustomerListResponse::Integration::vendor_identifier
|
|
130
133
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
def initialize: (
|
|
135
|
+
id: String,
|
|
136
|
+
synced_entity_id: String?,
|
|
137
|
+
vendor_identifier: Stigg::Models::V1::CustomerListResponse::Integration::vendor_identifier
|
|
138
|
+
) -> void
|
|
134
139
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
140
|
+
def to_hash: -> {
|
|
141
|
+
id: String,
|
|
142
|
+
synced_entity_id: String?,
|
|
143
|
+
vendor_identifier: Stigg::Models::V1::CustomerListResponse::Integration::vendor_identifier
|
|
144
|
+
}
|
|
138
145
|
|
|
139
|
-
type
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
:AUTH0
|
|
167
|
-
| :ZUORA
|
|
168
|
-
| :STRIPE
|
|
169
|
-
| :HUBSPOT
|
|
170
|
-
| :AWS_MARKETPLACE
|
|
171
|
-
| :SNOWFLAKE
|
|
172
|
-
| :SALESFORCE
|
|
173
|
-
| :BIG_QUERY
|
|
174
|
-
| :OPEN_FGA
|
|
175
|
-
| :APP_STORE
|
|
176
|
-
|
|
177
|
-
module VendorIdentifier
|
|
178
|
-
extend Stigg::Internal::Type::Enum
|
|
179
|
-
|
|
180
|
-
AUTH0: :AUTH0
|
|
181
|
-
ZUORA: :ZUORA
|
|
182
|
-
STRIPE: :STRIPE
|
|
183
|
-
HUBSPOT: :HUBSPOT
|
|
184
|
-
AWS_MARKETPLACE: :AWS_MARKETPLACE
|
|
185
|
-
SNOWFLAKE: :SNOWFLAKE
|
|
186
|
-
SALESFORCE: :SALESFORCE
|
|
187
|
-
BIG_QUERY: :BIG_QUERY
|
|
188
|
-
OPEN_FGA: :OPEN_FGA
|
|
189
|
-
APP_STORE: :APP_STORE
|
|
190
|
-
|
|
191
|
-
def self?.values: -> ::Array[Stigg::Models::V1::CustomerListResponse::Data::Integration::vendor_identifier]
|
|
192
|
-
end
|
|
146
|
+
type vendor_identifier =
|
|
147
|
+
:AUTH0
|
|
148
|
+
| :ZUORA
|
|
149
|
+
| :STRIPE
|
|
150
|
+
| :HUBSPOT
|
|
151
|
+
| :AWS_MARKETPLACE
|
|
152
|
+
| :SNOWFLAKE
|
|
153
|
+
| :SALESFORCE
|
|
154
|
+
| :BIG_QUERY
|
|
155
|
+
| :OPEN_FGA
|
|
156
|
+
| :APP_STORE
|
|
157
|
+
|
|
158
|
+
module VendorIdentifier
|
|
159
|
+
extend Stigg::Internal::Type::Enum
|
|
160
|
+
|
|
161
|
+
AUTH0: :AUTH0
|
|
162
|
+
ZUORA: :ZUORA
|
|
163
|
+
STRIPE: :STRIPE
|
|
164
|
+
HUBSPOT: :HUBSPOT
|
|
165
|
+
AWS_MARKETPLACE: :AWS_MARKETPLACE
|
|
166
|
+
SNOWFLAKE: :SNOWFLAKE
|
|
167
|
+
SALESFORCE: :SALESFORCE
|
|
168
|
+
BIG_QUERY: :BIG_QUERY
|
|
169
|
+
OPEN_FGA: :OPEN_FGA
|
|
170
|
+
APP_STORE: :APP_STORE
|
|
171
|
+
|
|
172
|
+
def self?.values: -> ::Array[Stigg::Models::V1::CustomerListResponse::Integration::vendor_identifier]
|
|
193
173
|
end
|
|
194
174
|
end
|
|
195
175
|
end
|