inttegro 1.0.0 → 3.0.0
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 +12 -0
- data/Dockerfile +1 -1
- data/README.md +9 -7
- data/SECURITY.md +11 -0
- data/lib/inttegro/enums.rb +2 -2
- data/lib/inttegro/file_download.rb +1 -1
- data/lib/inttegro/generated/enums.rb +221 -329
- data/lib/inttegro/generated/models.rb +3707 -3830
- data/lib/inttegro/generated/operations.rb +230 -230
- data/lib/inttegro/http_client.rb +62 -5
- data/lib/inttegro/models.rb +54 -105
- data/lib/inttegro/resources/apps.rb +3 -3
- data/lib/inttegro/resources/balance_transactions.rb +2 -6
- data/lib/inttegro/resources/balances.rb +1 -1
- data/lib/inttegro/resources/broadcasts.rb +2 -6
- data/lib/inttegro/resources/chimes.rb +5 -5
- data/lib/inttegro/resources/customers.rb +4 -4
- data/lib/inttegro/resources/file_links.rb +4 -6
- data/lib/inttegro/resources/file_references.rb +1 -1
- data/lib/inttegro/resources/files.rb +4 -6
- data/lib/inttegro/resources/financial_accounts.rb +22 -22
- data/lib/inttegro/resources/keys.rb +8 -10
- data/lib/inttegro/resources/message_templates.rb +13 -15
- data/lib/inttegro/resources/orders.rb +72 -69
- data/lib/inttegro/resources/otp.rb +4 -4
- data/lib/inttegro/resources/payment_methods.rb +34 -36
- data/lib/inttegro/resources/payouts.rb +28 -28
- data/lib/inttegro/resources/prices.rb +7 -7
- data/lib/inttegro/resources/products.rb +9 -9
- data/lib/inttegro/resources/purchase_intents.rb +8 -8
- data/lib/inttegro/resources/refunds.rb +6 -6
- data/lib/inttegro/resources/schedules.rb +4 -4
- data/lib/inttegro/resources/spec.rb +1 -1
- data/lib/inttegro/resources/upload_requests.rb +10 -10
- data/lib/inttegro/response_object.rb +1 -1
- data/lib/inttegro/version.rb +1 -1
- data/lib/inttegro.rb +15 -0
- data/rbi/inttegro/generated.rbi +124 -124
- metadata +3 -2
|
@@ -5,689 +5,581 @@
|
|
|
5
5
|
require "sorbet-runtime"
|
|
6
6
|
|
|
7
7
|
module Inttegro
|
|
8
|
-
module Enums
|
|
9
8
|
class AppCredentialOwner < T::Enum
|
|
10
9
|
enums do
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
CHILD = new("child")
|
|
11
|
+
PARENT = new("parent")
|
|
13
12
|
end
|
|
14
13
|
end
|
|
15
14
|
|
|
16
15
|
class AppManagementRole < T::Enum
|
|
17
16
|
enums do
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
PARENT = new("parent")
|
|
18
|
+
CHILD = new("child")
|
|
20
19
|
end
|
|
21
20
|
end
|
|
22
21
|
|
|
23
22
|
class AppRelationshipKind < T::Enum
|
|
24
23
|
enums do
|
|
25
|
-
|
|
24
|
+
PLACEMENT = new("placement")
|
|
26
25
|
end
|
|
27
26
|
end
|
|
28
27
|
|
|
29
28
|
class AppRelationshipStatus < T::Enum
|
|
30
29
|
enums do
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
ACTIVE = new("active")
|
|
31
|
+
INACTIVE = new("inactive")
|
|
32
|
+
SUSPENDED = new("suspended")
|
|
33
|
+
REVOKED = new("revoked")
|
|
35
34
|
end
|
|
36
35
|
end
|
|
37
36
|
|
|
38
37
|
class BalanceTransactionType < T::Enum
|
|
39
38
|
enums do
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
PAYMENT = new("payment")
|
|
40
|
+
REFUND = new("refund")
|
|
42
41
|
end
|
|
43
42
|
end
|
|
44
43
|
|
|
45
44
|
class BankAccountType < T::Enum
|
|
46
45
|
enums do
|
|
47
|
-
|
|
48
|
-
end
|
|
49
|
-
end
|
|
50
|
-
|
|
51
|
-
class CheckoutOrderStatus < T::Enum
|
|
52
|
-
enums do
|
|
53
|
-
PREPARING = new("preparing")
|
|
54
|
-
REQUIRES_PAYMENT = new("requires_payment")
|
|
55
|
-
COMPLETED = new("completed")
|
|
56
|
-
CANCELED = new("canceled")
|
|
57
|
-
EXPIRED = new("expired")
|
|
58
|
-
end
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
class CheckoutPaymentStatus < T::Enum
|
|
62
|
-
enums do
|
|
63
|
-
REQUIRES_ACTION = new("requires_action")
|
|
64
|
-
PROCESSING = new("processing")
|
|
65
|
-
SUCCEEDED = new("succeeded")
|
|
66
|
-
FAILED = new("failed")
|
|
67
|
-
CANCELLED = new("cancelled")
|
|
46
|
+
GHANA_BANK_ACCOUNT = new("ghana_bank_account")
|
|
68
47
|
end
|
|
69
48
|
end
|
|
70
49
|
|
|
71
50
|
class ChimeEmailSchemaKind < T::Enum
|
|
72
51
|
enums do
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
52
|
+
GMAIL_VIEW_ACTION = new("gmail_view_action")
|
|
53
|
+
SCHEMA_ORG_ORDER = new("schema_org_order")
|
|
54
|
+
SCHEMA_ORG_INVOICE = new("schema_org_invoice")
|
|
76
55
|
end
|
|
77
56
|
end
|
|
78
57
|
|
|
79
58
|
class ChimeInlineRecipientVariant1Type < T::Enum
|
|
80
59
|
enums do
|
|
81
|
-
|
|
60
|
+
PHONE = new("phone")
|
|
82
61
|
end
|
|
83
62
|
end
|
|
84
63
|
|
|
85
64
|
class ChimeInlineRecipientVariant2Type < T::Enum
|
|
86
65
|
enums do
|
|
87
|
-
|
|
66
|
+
EMAIL = new("email")
|
|
88
67
|
end
|
|
89
68
|
end
|
|
90
69
|
|
|
91
70
|
class ChimeRecipientType < T::Enum
|
|
92
71
|
enums do
|
|
93
|
-
|
|
94
|
-
|
|
72
|
+
PHONE = new("phone")
|
|
73
|
+
EMAIL = new("email")
|
|
95
74
|
end
|
|
96
75
|
end
|
|
97
76
|
|
|
98
77
|
class ChimeTransport < T::Enum
|
|
99
78
|
enums do
|
|
100
|
-
|
|
101
|
-
|
|
79
|
+
SMS = new("sms")
|
|
80
|
+
EMAIL = new("email")
|
|
102
81
|
end
|
|
103
82
|
end
|
|
104
83
|
|
|
105
84
|
class ContentSafetyStatus < T::Enum
|
|
106
85
|
enums do
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
86
|
+
ALLOWED = new("allowed")
|
|
87
|
+
REJECTED = new("rejected")
|
|
88
|
+
QUARANTINED = new("quarantined")
|
|
110
89
|
end
|
|
111
90
|
end
|
|
112
91
|
|
|
113
92
|
class CreateEmailMessageTemplateRequestChannel < T::Enum
|
|
114
93
|
enums do
|
|
115
|
-
|
|
94
|
+
EMAIL = new("email")
|
|
116
95
|
end
|
|
117
96
|
end
|
|
118
97
|
|
|
119
98
|
class CreateSMSMessageTemplateRequestChannel < T::Enum
|
|
120
99
|
enums do
|
|
121
|
-
|
|
100
|
+
SMS = new("sms")
|
|
122
101
|
end
|
|
123
102
|
end
|
|
124
103
|
|
|
125
104
|
class DeliveryChannel < T::Enum
|
|
126
105
|
enums do
|
|
127
|
-
|
|
128
|
-
|
|
106
|
+
EMAIL = new("email")
|
|
107
|
+
SMS = new("sms")
|
|
129
108
|
end
|
|
130
109
|
end
|
|
131
110
|
|
|
132
111
|
class FeeLineItemType < T::Enum
|
|
133
112
|
enums do
|
|
134
|
-
|
|
113
|
+
FEE = new("fee")
|
|
135
114
|
end
|
|
136
115
|
end
|
|
137
116
|
|
|
138
|
-
class
|
|
117
|
+
class FileContentsDeliveryMode < T::Enum
|
|
139
118
|
enums do
|
|
140
|
-
|
|
141
|
-
|
|
119
|
+
STREAM = new("stream")
|
|
120
|
+
REDIRECT = new("redirect")
|
|
142
121
|
end
|
|
143
122
|
end
|
|
144
123
|
|
|
145
124
|
class FileDisposition < T::Enum
|
|
146
125
|
enums do
|
|
147
|
-
|
|
148
|
-
|
|
126
|
+
ATTACHMENT = new("attachment")
|
|
127
|
+
INLINE = new("inline")
|
|
149
128
|
end
|
|
150
129
|
end
|
|
151
130
|
|
|
152
131
|
class FileLinkDeliveryMode < T::Enum
|
|
153
132
|
enums do
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
133
|
+
REDIRECT = new("redirect")
|
|
134
|
+
DOWNLOAD = new("download")
|
|
135
|
+
INLINE = new("inline")
|
|
157
136
|
end
|
|
158
137
|
end
|
|
159
138
|
|
|
160
139
|
class FileLinkKind < T::Enum
|
|
161
140
|
enums do
|
|
162
|
-
|
|
141
|
+
PUBLIC = new("public")
|
|
163
142
|
end
|
|
164
143
|
end
|
|
165
144
|
|
|
166
145
|
class FileLinkStatus < T::Enum
|
|
167
146
|
enums do
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
147
|
+
ACTIVE = new("active")
|
|
148
|
+
REVOKED = new("revoked")
|
|
149
|
+
EXPIRED = new("expired")
|
|
150
|
+
DISABLED = new("disabled")
|
|
172
151
|
end
|
|
173
152
|
end
|
|
174
153
|
|
|
175
154
|
class FileScanStatus < T::Enum
|
|
176
155
|
enums do
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
156
|
+
PENDING = new("pending")
|
|
157
|
+
PASSED = new("passed")
|
|
158
|
+
FAILED = new("failed")
|
|
159
|
+
SKIPPED = new("skipped")
|
|
181
160
|
end
|
|
182
161
|
end
|
|
183
162
|
|
|
184
163
|
class FileSourceType < T::Enum
|
|
185
164
|
enums do
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
165
|
+
DIRECT = new("direct")
|
|
166
|
+
UPLOAD_REQUEST = new("upload_request")
|
|
167
|
+
SERVICE = new("service")
|
|
189
168
|
end
|
|
190
169
|
end
|
|
191
170
|
|
|
192
171
|
class FileStatus < T::Enum
|
|
193
172
|
enums do
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
173
|
+
UPLOADING = new("uploading")
|
|
174
|
+
PROCESSING = new("processing")
|
|
175
|
+
AVAILABLE = new("available")
|
|
176
|
+
FAILED = new("failed")
|
|
177
|
+
DELETED = new("deleted")
|
|
199
178
|
end
|
|
200
179
|
end
|
|
201
180
|
|
|
202
181
|
class FileStorageEncoding < T::Enum
|
|
203
182
|
enums do
|
|
204
|
-
|
|
205
|
-
|
|
183
|
+
IDENTITY = new("identity")
|
|
184
|
+
BR = new("br")
|
|
206
185
|
end
|
|
207
186
|
end
|
|
208
187
|
|
|
209
188
|
class FinancialAccountBankRequestType < T::Enum
|
|
210
189
|
enums do
|
|
211
|
-
|
|
190
|
+
BANK_ACCOUNT = new("bank_account")
|
|
212
191
|
end
|
|
213
192
|
end
|
|
214
193
|
|
|
215
194
|
class FinancialAccountDoshRequestType < T::Enum
|
|
216
195
|
enums do
|
|
217
|
-
|
|
196
|
+
DOSH_ACCOUNT = new("dosh_account")
|
|
218
197
|
end
|
|
219
198
|
end
|
|
220
199
|
|
|
221
200
|
class FinancialAccountType < T::Enum
|
|
222
201
|
enums do
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
202
|
+
WALLET = new("wallet")
|
|
203
|
+
BANK_ACCOUNT = new("bank_account")
|
|
204
|
+
DOSH_ACCOUNT = new("dosh_account")
|
|
226
205
|
end
|
|
227
206
|
end
|
|
228
207
|
|
|
229
208
|
class FinancialAccountWalletRequestType < T::Enum
|
|
230
209
|
enums do
|
|
231
|
-
|
|
232
|
-
end
|
|
233
|
-
end
|
|
234
|
-
|
|
235
|
-
class LineItemType < T::Enum
|
|
236
|
-
enums do
|
|
237
|
-
PRODUCT = new("product")
|
|
238
|
-
FEE = new("fee")
|
|
239
|
-
SHIPPING = new("shipping")
|
|
210
|
+
WALLET = new("wallet")
|
|
240
211
|
end
|
|
241
212
|
end
|
|
242
213
|
|
|
243
214
|
class MessageTemplateChannel < T::Enum
|
|
244
215
|
enums do
|
|
245
|
-
|
|
246
|
-
|
|
216
|
+
SMS = new("sms")
|
|
217
|
+
EMAIL = new("email")
|
|
247
218
|
end
|
|
248
219
|
end
|
|
249
220
|
|
|
250
221
|
class MessageTemplateStatus < T::Enum
|
|
251
222
|
enums do
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
223
|
+
DRAFT = new("draft")
|
|
224
|
+
PUBLISHED = new("published")
|
|
225
|
+
ARCHIVED = new("archived")
|
|
255
226
|
end
|
|
256
227
|
end
|
|
257
228
|
|
|
258
229
|
class MessageTemplateVariableItemType < T::Enum
|
|
259
230
|
enums do
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
231
|
+
STRING = new("string")
|
|
232
|
+
NUMBER = new("number")
|
|
233
|
+
INTEGER = new("integer")
|
|
234
|
+
BOOLEAN = new("boolean")
|
|
235
|
+
URL = new("url")
|
|
236
|
+
EMAIL = new("email")
|
|
237
|
+
PHONE = new("phone")
|
|
238
|
+
DATE = new("date")
|
|
239
|
+
DATETIME = new("datetime")
|
|
269
240
|
end
|
|
270
241
|
end
|
|
271
242
|
|
|
272
243
|
class MessageTemplateVariableType < T::Enum
|
|
273
244
|
enums do
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
245
|
+
STRING = new("string")
|
|
246
|
+
NUMBER = new("number")
|
|
247
|
+
INTEGER = new("integer")
|
|
248
|
+
BOOLEAN = new("boolean")
|
|
249
|
+
URL = new("url")
|
|
250
|
+
EMAIL = new("email")
|
|
251
|
+
PHONE = new("phone")
|
|
252
|
+
DATE = new("date")
|
|
253
|
+
DATETIME = new("datetime")
|
|
254
|
+
ARRAY = new("array")
|
|
284
255
|
end
|
|
285
256
|
end
|
|
286
257
|
|
|
287
258
|
class MobileMoneyNetwork < T::Enum
|
|
288
259
|
enums do
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
260
|
+
AIRTEL = new("airtel")
|
|
261
|
+
MTN = new("mtn")
|
|
262
|
+
TELECEL = new("telecel")
|
|
263
|
+
VODAFONE = new("vodafone")
|
|
293
264
|
end
|
|
294
265
|
end
|
|
295
266
|
|
|
296
267
|
class OTPAlphabetType < T::Enum
|
|
297
268
|
enums do
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
269
|
+
NUMERIC = new("numeric")
|
|
270
|
+
ALPHA = new("alpha")
|
|
271
|
+
ALPHANUMERIC = new("alphanumeric")
|
|
301
272
|
end
|
|
302
273
|
end
|
|
303
274
|
|
|
304
275
|
class OTPStatus < T::Enum
|
|
305
276
|
enums do
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
277
|
+
CANCELED = new("canceled")
|
|
278
|
+
EXPIRED = new("expired")
|
|
279
|
+
PENDING = new("pending")
|
|
280
|
+
PENDING_DELIVERY = new("pending_delivery")
|
|
281
|
+
PENDING_VERIFICATION = new("pending_verification")
|
|
282
|
+
VERIFIED = new("verified")
|
|
312
283
|
end
|
|
313
284
|
end
|
|
314
285
|
|
|
315
286
|
class OTPTransmissionSentVia < T::Enum
|
|
316
287
|
enums do
|
|
317
|
-
|
|
288
|
+
SMS = new("sms")
|
|
318
289
|
end
|
|
319
290
|
end
|
|
320
291
|
|
|
321
292
|
class OTPTransmissionStatus < T::Enum
|
|
322
293
|
enums do
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
294
|
+
DELIVERED = new("delivered")
|
|
295
|
+
FAILED = new("failed")
|
|
296
|
+
SUBMITTED = new("submitted")
|
|
326
297
|
end
|
|
327
298
|
end
|
|
328
299
|
|
|
329
300
|
class OTPVerificationVerdict < T::Enum
|
|
330
301
|
enums do
|
|
331
|
-
|
|
332
|
-
|
|
302
|
+
FAIL = new("fail")
|
|
303
|
+
PASS = new("pass")
|
|
333
304
|
end
|
|
334
305
|
end
|
|
335
306
|
|
|
336
307
|
class OrderCreatedFromResourceType < T::Enum
|
|
337
308
|
enums do
|
|
338
|
-
|
|
309
|
+
PURCHASE_INTENT = new("purchase_intent")
|
|
339
310
|
end
|
|
340
311
|
end
|
|
341
312
|
|
|
342
313
|
class OrderDocumentKind < T::Enum
|
|
343
314
|
enums do
|
|
344
|
-
|
|
345
|
-
|
|
315
|
+
INVOICE = new("invoice")
|
|
316
|
+
RECEIPT = new("receipt")
|
|
346
317
|
end
|
|
347
318
|
end
|
|
348
319
|
|
|
349
320
|
class OrderFeeLineItemType < T::Enum
|
|
350
321
|
enums do
|
|
351
|
-
|
|
322
|
+
FEE = new("fee")
|
|
352
323
|
end
|
|
353
324
|
end
|
|
354
325
|
|
|
355
326
|
class OrderPaymentStatus < T::Enum
|
|
356
327
|
enums do
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
328
|
+
INITIATED = new("initiated")
|
|
329
|
+
REQUIRES_ACTION = new("requires_action")
|
|
330
|
+
OVERDUE = new("overdue")
|
|
331
|
+
EXECUTED = new("executed")
|
|
332
|
+
PAID = new("paid")
|
|
333
|
+
CANCELED = new("canceled")
|
|
334
|
+
EXPIRED = new("expired")
|
|
335
|
+
FAILED = new("failed")
|
|
336
|
+
UNKNOWN = new("unknown")
|
|
366
337
|
end
|
|
367
338
|
end
|
|
368
339
|
|
|
369
340
|
class OrderProductLineItemType < T::Enum
|
|
370
341
|
enums do
|
|
371
|
-
|
|
342
|
+
PRODUCT = new("product")
|
|
372
343
|
end
|
|
373
344
|
end
|
|
374
345
|
|
|
375
346
|
class OrderShippingLineItemType < T::Enum
|
|
376
347
|
enums do
|
|
377
|
-
|
|
348
|
+
SHIPPING = new("shipping")
|
|
378
349
|
end
|
|
379
350
|
end
|
|
380
351
|
|
|
381
352
|
class OrderStatus < T::Enum
|
|
382
353
|
enums do
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
354
|
+
PREPARING = new("preparing")
|
|
355
|
+
REQUIRES_PAYMENT = new("requires_payment")
|
|
356
|
+
PAID = new("paid")
|
|
357
|
+
COMPLETED = new("completed")
|
|
358
|
+
CANCELED = new("canceled")
|
|
359
|
+
EXPIRED = new("expired")
|
|
360
|
+
UNKNOWN = new("unknown")
|
|
390
361
|
end
|
|
391
362
|
end
|
|
392
363
|
|
|
393
364
|
class PaymentAttemptStatus < T::Enum
|
|
394
365
|
enums do
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
366
|
+
INITIATED = new("initiated")
|
|
367
|
+
EXECUTED = new("executed")
|
|
368
|
+
SUCCEEDED = new("succeeded")
|
|
369
|
+
CANCELED = new("canceled")
|
|
370
|
+
EXPIRED = new("expired")
|
|
371
|
+
FAILED = new("failed")
|
|
372
|
+
UNKNOWN = new("unknown")
|
|
402
373
|
end
|
|
403
374
|
end
|
|
404
375
|
|
|
405
376
|
class PaymentConfirmationChannel < T::Enum
|
|
406
377
|
enums do
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
378
|
+
SMS = new("sms")
|
|
379
|
+
EMAIL = new("email")
|
|
380
|
+
PUSH = new("push")
|
|
410
381
|
end
|
|
411
382
|
end
|
|
412
383
|
|
|
413
384
|
class PaymentMethodDataType < T::Enum
|
|
414
385
|
enums do
|
|
415
|
-
|
|
386
|
+
MOBILE_MONEY = new("mobile_money")
|
|
416
387
|
end
|
|
417
388
|
end
|
|
418
389
|
|
|
419
390
|
class PaymentMethodTokenizeBaseType < T::Enum
|
|
420
391
|
enums do
|
|
421
|
-
|
|
392
|
+
MOBILE_MONEY = new("mobile_money")
|
|
422
393
|
end
|
|
423
394
|
end
|
|
424
395
|
|
|
425
396
|
class PaymentMethodType < T::Enum
|
|
426
397
|
enums do
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
398
|
+
MOBILE_MONEY = new("mobile_money")
|
|
399
|
+
BANK_ACCOUNT = new("bank_account")
|
|
400
|
+
CARD = new("card")
|
|
401
|
+
MOTITO = new("motito")
|
|
431
402
|
end
|
|
432
403
|
end
|
|
433
404
|
|
|
434
405
|
class PaymentNextActionType < T::Enum
|
|
435
406
|
enums do
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
407
|
+
CONFIRM_PAYMENT = new("confirm_payment")
|
|
408
|
+
EXECUTE = new("execute")
|
|
409
|
+
REDIRECT = new("redirect")
|
|
410
|
+
AUTHORIZE = new("authorize")
|
|
411
|
+
NONE = new("none")
|
|
441
412
|
end
|
|
442
413
|
end
|
|
443
414
|
|
|
444
|
-
class
|
|
415
|
+
class PaymentResultStatus < T::Enum
|
|
445
416
|
enums do
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
417
|
+
PENDING = new("pending")
|
|
418
|
+
REQUIRES_CONFIRMATION = new("requires_confirmation")
|
|
419
|
+
PROCESSING = new("processing")
|
|
420
|
+
SUCCEEDED = new("succeeded")
|
|
421
|
+
FAILED = new("failed")
|
|
451
422
|
end
|
|
452
423
|
end
|
|
453
424
|
|
|
454
425
|
class PayoutStatus < T::Enum
|
|
455
426
|
enums do
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
427
|
+
INITIALIZED = new("initialized")
|
|
428
|
+
SCHEDULED = new("scheduled")
|
|
429
|
+
PROCESSING = new("processing")
|
|
430
|
+
EXECUTING = new("executing")
|
|
431
|
+
SUCCEEDED = new("succeeded")
|
|
432
|
+
INVALID = new("invalid")
|
|
433
|
+
CANCELED = new("canceled")
|
|
463
434
|
end
|
|
464
435
|
end
|
|
465
436
|
|
|
466
437
|
class ProductLineItemType < T::Enum
|
|
467
438
|
enums do
|
|
468
|
-
|
|
439
|
+
PRODUCT = new("product")
|
|
469
440
|
end
|
|
470
441
|
end
|
|
471
442
|
|
|
472
443
|
class ProductShipmentInputType < T::Enum
|
|
473
444
|
enums do
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
445
|
+
DELIVERY = new("delivery")
|
|
446
|
+
DOWNLOAD = new("download")
|
|
447
|
+
RENDER = new("render")
|
|
448
|
+
STREAM = new("stream")
|
|
478
449
|
end
|
|
479
450
|
end
|
|
480
451
|
|
|
481
452
|
class ProductShipmentType < T::Enum
|
|
482
453
|
enums do
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
454
|
+
DELIVERY = new("delivery")
|
|
455
|
+
DOWNLOAD = new("download")
|
|
456
|
+
RENDER = new("render")
|
|
457
|
+
SERVICE = new("service")
|
|
458
|
+
STREAM = new("stream")
|
|
488
459
|
end
|
|
489
460
|
end
|
|
490
461
|
|
|
491
462
|
class ProductType < T::Enum
|
|
492
463
|
enums do
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
464
|
+
PHYSICAL = new("physical")
|
|
465
|
+
DIGITAL = new("digital")
|
|
466
|
+
SERVICE = new("service")
|
|
467
|
+
VOUCHER = new("voucher")
|
|
468
|
+
CUSTOM = new("custom")
|
|
469
|
+
CAUSE = new("cause")
|
|
499
470
|
end
|
|
500
471
|
end
|
|
501
472
|
|
|
502
473
|
class PurchaseIntentActivityType < T::Enum
|
|
503
474
|
enums do
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
475
|
+
EXPIRED_VIEWED = new("expired_viewed")
|
|
476
|
+
ORDER_CREATED = new("order_created")
|
|
477
|
+
PAYMENT_FAILED = new("payment_failed")
|
|
478
|
+
PAYMENT_STARTED = new("payment_started")
|
|
479
|
+
VIEWED = new("viewed")
|
|
509
480
|
end
|
|
510
481
|
end
|
|
511
482
|
|
|
512
483
|
class PurchaseIntentStatus < T::Enum
|
|
513
484
|
enums do
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
485
|
+
ACTIVE = new("active")
|
|
486
|
+
EXPIRED = new("expired")
|
|
487
|
+
INACTIVE = new("inactive")
|
|
488
|
+
USED = new("used")
|
|
518
489
|
end
|
|
519
490
|
end
|
|
520
491
|
|
|
521
492
|
class RefundReason < T::Enum
|
|
522
493
|
enums do
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
494
|
+
REQUESTED_BY_CUSTOMER = new("requested_by_customer")
|
|
495
|
+
DUPLICATE = new("duplicate")
|
|
496
|
+
FRAUDULENT = new("fraudulent")
|
|
497
|
+
ORDER_CANCELED = new("order_canceled")
|
|
498
|
+
ITEM_RETURNED = new("item_returned")
|
|
499
|
+
ITEM_DAMAGED = new("item_damaged")
|
|
500
|
+
ITEM_NOT_RECEIVED = new("item_not_received")
|
|
501
|
+
ITEM_NOT_AS_DESCRIBED = new("item_not_as_described")
|
|
502
|
+
CUSTOM = new("custom")
|
|
532
503
|
end
|
|
533
504
|
end
|
|
534
505
|
|
|
535
506
|
class RefundStatus < T::Enum
|
|
536
507
|
enums do
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
508
|
+
CANCELED = new("canceled")
|
|
509
|
+
FAILED = new("failed")
|
|
510
|
+
PENDING = new("pending")
|
|
511
|
+
PROCESSING = new("processing")
|
|
512
|
+
SUCCEEDED = new("succeeded")
|
|
542
513
|
end
|
|
543
514
|
end
|
|
544
515
|
|
|
545
516
|
class SecretKeyAuthResult < T::Enum
|
|
546
517
|
enums do
|
|
547
|
-
|
|
548
|
-
|
|
518
|
+
SUCCEEDED = new("succeeded")
|
|
519
|
+
FAILED = new("failed")
|
|
549
520
|
end
|
|
550
521
|
end
|
|
551
522
|
|
|
552
523
|
class SecretKeyStatus < T::Enum
|
|
553
524
|
enums do
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
525
|
+
ACTIVE = new("active")
|
|
526
|
+
REVOKED = new("revoked")
|
|
527
|
+
EXPIRED = new("expired")
|
|
557
528
|
end
|
|
558
529
|
end
|
|
559
530
|
|
|
560
531
|
class SecretKeyTokenType < T::Enum
|
|
561
532
|
enums do
|
|
562
|
-
|
|
533
|
+
BEARER = new("bearer")
|
|
563
534
|
end
|
|
564
535
|
end
|
|
565
536
|
|
|
566
537
|
class ShippingLineItemType < T::Enum
|
|
567
538
|
enums do
|
|
568
|
-
|
|
539
|
+
SHIPPING = new("shipping")
|
|
569
540
|
end
|
|
570
541
|
end
|
|
571
542
|
|
|
572
543
|
class TokenizeMobileMoneyPaymentMethodRequestType < T::Enum
|
|
573
544
|
enums do
|
|
574
|
-
|
|
545
|
+
MOBILE_MONEY = new("mobile_money")
|
|
575
546
|
end
|
|
576
547
|
end
|
|
577
548
|
|
|
578
549
|
class UpdateOrderRequestPaymentMethodDataType < T::Enum
|
|
579
550
|
enums do
|
|
580
|
-
|
|
551
|
+
MOBILE_MONEY = new("mobile_money")
|
|
581
552
|
end
|
|
582
553
|
end
|
|
583
554
|
|
|
584
555
|
class UploadRequestStatus < T::Enum
|
|
585
556
|
enums do
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
557
|
+
PENDING = new("pending")
|
|
558
|
+
UPLOADING = new("uploading")
|
|
559
|
+
FULFILLED = new("fulfilled")
|
|
560
|
+
EXPIRED = new("expired")
|
|
561
|
+
CANCELED = new("canceled")
|
|
562
|
+
FAILED = new("failed")
|
|
592
563
|
end
|
|
593
564
|
end
|
|
594
565
|
|
|
595
566
|
class UploadReviewDecision < T::Enum
|
|
596
567
|
enums do
|
|
597
|
-
|
|
598
|
-
|
|
568
|
+
APPROVED = new("approved")
|
|
569
|
+
REJECTED = new("rejected")
|
|
599
570
|
end
|
|
600
571
|
end
|
|
601
572
|
|
|
602
573
|
class UploadReviewType < T::Enum
|
|
603
574
|
enums do
|
|
604
|
-
|
|
605
|
-
|
|
575
|
+
AUTOMATIC = new("automatic")
|
|
576
|
+
MANUAL = new("manual")
|
|
606
577
|
end
|
|
607
578
|
end
|
|
608
579
|
|
|
609
580
|
class WalletType < T::Enum
|
|
610
581
|
enums do
|
|
611
|
-
|
|
612
|
-
end
|
|
613
|
-
end
|
|
614
|
-
|
|
615
|
-
CATALOG = T.let({
|
|
616
|
-
AppCredentialOwner: AppCredentialOwner,
|
|
617
|
-
AppManagementRole: AppManagementRole,
|
|
618
|
-
AppRelationshipKind: AppRelationshipKind,
|
|
619
|
-
AppRelationshipStatus: AppRelationshipStatus,
|
|
620
|
-
BalanceTransactionType: BalanceTransactionType,
|
|
621
|
-
BankAccountType: BankAccountType,
|
|
622
|
-
CheckoutOrderStatus: CheckoutOrderStatus,
|
|
623
|
-
CheckoutPaymentStatus: CheckoutPaymentStatus,
|
|
624
|
-
ChimeEmailSchemaKind: ChimeEmailSchemaKind,
|
|
625
|
-
ChimeInlineRecipientVariant1Type: ChimeInlineRecipientVariant1Type,
|
|
626
|
-
ChimeInlineRecipientVariant2Type: ChimeInlineRecipientVariant2Type,
|
|
627
|
-
ChimeRecipientType: ChimeRecipientType,
|
|
628
|
-
ChimeTransport: ChimeTransport,
|
|
629
|
-
ContentSafetyStatus: ContentSafetyStatus,
|
|
630
|
-
CreateEmailMessageTemplateRequestChannel: CreateEmailMessageTemplateRequestChannel,
|
|
631
|
-
CreateSMSMessageTemplateRequestChannel: CreateSMSMessageTemplateRequestChannel,
|
|
632
|
-
DeliveryChannel: DeliveryChannel,
|
|
633
|
-
FeeLineItemType: FeeLineItemType,
|
|
634
|
-
FileDelivery: FileDelivery,
|
|
635
|
-
FileDisposition: FileDisposition,
|
|
636
|
-
FileLinkDeliveryMode: FileLinkDeliveryMode,
|
|
637
|
-
FileLinkKind: FileLinkKind,
|
|
638
|
-
FileLinkStatus: FileLinkStatus,
|
|
639
|
-
FileScanStatus: FileScanStatus,
|
|
640
|
-
FileSourceType: FileSourceType,
|
|
641
|
-
FileStatus: FileStatus,
|
|
642
|
-
FileStorageEncoding: FileStorageEncoding,
|
|
643
|
-
FinancialAccountBankRequestType: FinancialAccountBankRequestType,
|
|
644
|
-
FinancialAccountDoshRequestType: FinancialAccountDoshRequestType,
|
|
645
|
-
FinancialAccountType: FinancialAccountType,
|
|
646
|
-
FinancialAccountWalletRequestType: FinancialAccountWalletRequestType,
|
|
647
|
-
LineItemType: LineItemType,
|
|
648
|
-
MessageTemplateChannel: MessageTemplateChannel,
|
|
649
|
-
MessageTemplateStatus: MessageTemplateStatus,
|
|
650
|
-
MessageTemplateVariableItemType: MessageTemplateVariableItemType,
|
|
651
|
-
MessageTemplateVariableType: MessageTemplateVariableType,
|
|
652
|
-
MobileMoneyNetwork: MobileMoneyNetwork,
|
|
653
|
-
OTPAlphabetType: OTPAlphabetType,
|
|
654
|
-
OTPStatus: OTPStatus,
|
|
655
|
-
OTPTransmissionSentVia: OTPTransmissionSentVia,
|
|
656
|
-
OTPTransmissionStatus: OTPTransmissionStatus,
|
|
657
|
-
OTPVerificationVerdict: OTPVerificationVerdict,
|
|
658
|
-
OrderCreatedFromResourceType: OrderCreatedFromResourceType,
|
|
659
|
-
OrderDocumentKind: OrderDocumentKind,
|
|
660
|
-
OrderFeeLineItemType: OrderFeeLineItemType,
|
|
661
|
-
OrderPaymentStatus: OrderPaymentStatus,
|
|
662
|
-
OrderProductLineItemType: OrderProductLineItemType,
|
|
663
|
-
OrderShippingLineItemType: OrderShippingLineItemType,
|
|
664
|
-
OrderStatus: OrderStatus,
|
|
665
|
-
PaymentAttemptStatus: PaymentAttemptStatus,
|
|
666
|
-
PaymentConfirmationChannel: PaymentConfirmationChannel,
|
|
667
|
-
PaymentMethodDataType: PaymentMethodDataType,
|
|
668
|
-
PaymentMethodTokenizeBaseType: PaymentMethodTokenizeBaseType,
|
|
669
|
-
PaymentMethodType: PaymentMethodType,
|
|
670
|
-
PaymentNextActionType: PaymentNextActionType,
|
|
671
|
-
PaymentResponseStatus: PaymentResponseStatus,
|
|
672
|
-
PayoutStatus: PayoutStatus,
|
|
673
|
-
ProductLineItemType: ProductLineItemType,
|
|
674
|
-
ProductShipmentInputType: ProductShipmentInputType,
|
|
675
|
-
ProductShipmentType: ProductShipmentType,
|
|
676
|
-
ProductType: ProductType,
|
|
677
|
-
PurchaseIntentActivityType: PurchaseIntentActivityType,
|
|
678
|
-
PurchaseIntentStatus: PurchaseIntentStatus,
|
|
679
|
-
RefundReason: RefundReason,
|
|
680
|
-
RefundStatus: RefundStatus,
|
|
681
|
-
SecretKeyAuthResult: SecretKeyAuthResult,
|
|
682
|
-
SecretKeyStatus: SecretKeyStatus,
|
|
683
|
-
SecretKeyTokenType: SecretKeyTokenType,
|
|
684
|
-
ShippingLineItemType: ShippingLineItemType,
|
|
685
|
-
TokenizeMobileMoneyPaymentMethodRequestType: TokenizeMobileMoneyPaymentMethodRequestType,
|
|
686
|
-
UpdateOrderRequestPaymentMethodDataType: UpdateOrderRequestPaymentMethodDataType,
|
|
687
|
-
UploadRequestStatus: UploadRequestStatus,
|
|
688
|
-
UploadReviewDecision: UploadReviewDecision,
|
|
689
|
-
UploadReviewType: UploadReviewType,
|
|
690
|
-
WalletType: WalletType
|
|
691
|
-
}.freeze, T::Hash[Symbol, T::Class[T::Enum]])
|
|
582
|
+
MOBILE_MONEY = new("mobile_money")
|
|
583
|
+
end
|
|
692
584
|
end
|
|
693
585
|
end
|