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