@fire-spark/types 0.14.0 → 0.15.1
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.
- package/dist/index.d.ts +34 -32
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ interface Category {
|
|
|
38
38
|
}
|
|
39
39
|
//#endregion
|
|
40
40
|
//#region .flat/src/channel-manifest.d.ts
|
|
41
|
-
type ChannelTemplate = "server" | "web" | "app" | "kiosk" | "pos" | "call-center" | "chat";
|
|
41
|
+
type ChannelTemplate = "server" | "web" | "app" | "kiosk" | "pos" | "agent" | "call-center" | "chat";
|
|
42
42
|
type ChannelPlatform = "server" | "web" | "android" | "ios";
|
|
43
43
|
/** PWA manifest of a web channel. */
|
|
44
44
|
interface ChannelManifestWeb {
|
|
@@ -128,7 +128,7 @@ type Customer = {
|
|
|
128
128
|
zip?: string | undefined;
|
|
129
129
|
country?: string | undefined;
|
|
130
130
|
tax_id: string;
|
|
131
|
-
tax_id_type: "CI" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
131
|
+
tax_id_type: "CI" | "CNPJ" | "CPJ" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
132
132
|
preferred: boolean;
|
|
133
133
|
metadata: Record<string, unknown> | null;
|
|
134
134
|
}[];
|
|
@@ -147,7 +147,7 @@ type Customer = {
|
|
|
147
147
|
last4: string;
|
|
148
148
|
exp_month: number;
|
|
149
149
|
exp_year: number;
|
|
150
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
150
|
+
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
151
151
|
provider_payment_method_id: string;
|
|
152
152
|
preferred: boolean;
|
|
153
153
|
metadata: Record<string, unknown> | null;
|
|
@@ -155,7 +155,7 @@ type Customer = {
|
|
|
155
155
|
id: string;
|
|
156
156
|
type: "WALLET";
|
|
157
157
|
alias: string;
|
|
158
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
158
|
+
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
159
159
|
provider_payment_method_id: string;
|
|
160
160
|
account_hint?: string | undefined;
|
|
161
161
|
preferred: boolean;
|
|
@@ -166,7 +166,7 @@ type Customer = {
|
|
|
166
166
|
alias: string;
|
|
167
167
|
bank_name?: string | undefined;
|
|
168
168
|
last4: string;
|
|
169
|
-
provider?: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape" | undefined;
|
|
169
|
+
provider?: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape" | undefined;
|
|
170
170
|
provider_payment_method_id?: string | undefined;
|
|
171
171
|
preferred: boolean;
|
|
172
172
|
metadata: Record<string, unknown> | null;
|
|
@@ -216,7 +216,7 @@ type BillingProfile = {
|
|
|
216
216
|
zip?: string | undefined;
|
|
217
217
|
country?: string | undefined;
|
|
218
218
|
tax_id: string;
|
|
219
|
-
tax_id_type: "CI" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
219
|
+
tax_id_type: "CI" | "CNPJ" | "CPJ" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
220
220
|
preferred: boolean;
|
|
221
221
|
metadata: Record<string, unknown> | null;
|
|
222
222
|
};
|
|
@@ -236,7 +236,7 @@ type Payment = {
|
|
|
236
236
|
last4: string;
|
|
237
237
|
exp_month: number;
|
|
238
238
|
exp_year: number;
|
|
239
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
239
|
+
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
240
240
|
provider_payment_method_id: string;
|
|
241
241
|
preferred: boolean;
|
|
242
242
|
metadata: Record<string, unknown> | null;
|
|
@@ -244,7 +244,7 @@ type Payment = {
|
|
|
244
244
|
id: string;
|
|
245
245
|
type: "WALLET";
|
|
246
246
|
alias: string;
|
|
247
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
247
|
+
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
248
248
|
provider_payment_method_id: string;
|
|
249
249
|
account_hint?: string | undefined;
|
|
250
250
|
preferred: boolean;
|
|
@@ -255,7 +255,7 @@ type Payment = {
|
|
|
255
255
|
alias: string;
|
|
256
256
|
bank_name?: string | undefined;
|
|
257
257
|
last4: string;
|
|
258
|
-
provider?: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape" | undefined;
|
|
258
|
+
provider?: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape" | undefined;
|
|
259
259
|
provider_payment_method_id?: string | undefined;
|
|
260
260
|
preferred: boolean;
|
|
261
261
|
metadata: Record<string, unknown> | null;
|
|
@@ -301,7 +301,7 @@ type CustomerRegisterInput = {
|
|
|
301
301
|
zip?: string | undefined;
|
|
302
302
|
country?: string | undefined;
|
|
303
303
|
tax_id: string;
|
|
304
|
-
tax_id_type: "CI" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
304
|
+
tax_id_type: "CI" | "CNPJ" | "CPJ" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
305
305
|
preferred?: boolean | undefined;
|
|
306
306
|
metadata: Record<string, unknown> | null;
|
|
307
307
|
}[] | undefined;
|
|
@@ -320,7 +320,7 @@ type CustomerRegisterInput = {
|
|
|
320
320
|
last4: string;
|
|
321
321
|
exp_month: number;
|
|
322
322
|
exp_year: number;
|
|
323
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
323
|
+
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
324
324
|
provider_payment_method_id: string;
|
|
325
325
|
preferred?: boolean | undefined;
|
|
326
326
|
metadata: Record<string, unknown> | null;
|
|
@@ -328,7 +328,7 @@ type CustomerRegisterInput = {
|
|
|
328
328
|
id: string;
|
|
329
329
|
type: "WALLET";
|
|
330
330
|
alias: string;
|
|
331
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
331
|
+
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
332
332
|
provider_payment_method_id: string;
|
|
333
333
|
account_hint?: string | undefined;
|
|
334
334
|
preferred?: boolean | undefined;
|
|
@@ -339,7 +339,7 @@ type CustomerRegisterInput = {
|
|
|
339
339
|
alias: string;
|
|
340
340
|
bank_name?: string | undefined;
|
|
341
341
|
last4: string;
|
|
342
|
-
provider?: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape" | undefined;
|
|
342
|
+
provider?: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape" | undefined;
|
|
343
343
|
provider_payment_method_id?: string | undefined;
|
|
344
344
|
preferred?: boolean | undefined;
|
|
345
345
|
metadata: Record<string, unknown> | null;
|
|
@@ -415,7 +415,7 @@ type CustomerUpdateInput = {
|
|
|
415
415
|
zip?: string | undefined;
|
|
416
416
|
country?: string | undefined;
|
|
417
417
|
tax_id: string;
|
|
418
|
-
tax_id_type: "CI" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
418
|
+
tax_id_type: "CI" | "CNPJ" | "CPJ" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
419
419
|
preferred?: boolean | undefined;
|
|
420
420
|
metadata: Record<string, unknown> | null;
|
|
421
421
|
}[] | undefined;
|
|
@@ -434,7 +434,7 @@ type CustomerUpdateInput = {
|
|
|
434
434
|
last4: string;
|
|
435
435
|
exp_month: number;
|
|
436
436
|
exp_year: number;
|
|
437
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
437
|
+
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
438
438
|
provider_payment_method_id: string;
|
|
439
439
|
preferred?: boolean | undefined;
|
|
440
440
|
metadata: Record<string, unknown> | null;
|
|
@@ -442,7 +442,7 @@ type CustomerUpdateInput = {
|
|
|
442
442
|
id: string;
|
|
443
443
|
type: "WALLET";
|
|
444
444
|
alias: string;
|
|
445
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
445
|
+
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
446
446
|
provider_payment_method_id: string;
|
|
447
447
|
account_hint?: string | undefined;
|
|
448
448
|
preferred?: boolean | undefined;
|
|
@@ -453,7 +453,7 @@ type CustomerUpdateInput = {
|
|
|
453
453
|
alias: string;
|
|
454
454
|
bank_name?: string | undefined;
|
|
455
455
|
last4: string;
|
|
456
|
-
provider?: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape" | undefined;
|
|
456
|
+
provider?: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape" | undefined;
|
|
457
457
|
provider_payment_method_id?: string | undefined;
|
|
458
458
|
preferred?: boolean | undefined;
|
|
459
459
|
metadata: Record<string, unknown> | null;
|
|
@@ -1076,6 +1076,7 @@ type MerchantPayment = {
|
|
|
1076
1076
|
};
|
|
1077
1077
|
config: Record<string, unknown>;
|
|
1078
1078
|
has_conditions: boolean;
|
|
1079
|
+
capabilities: ("charge_with_token" | "delete_token" | "hosted_tokenization" | "requires_3ds_on_token")[];
|
|
1079
1080
|
};
|
|
1080
1081
|
type StorefrontPaymentsListInput = {
|
|
1081
1082
|
order_id?: string | undefined;
|
|
@@ -1313,6 +1314,7 @@ type StorefrontPreferences = {
|
|
|
1313
1314
|
sync_registered_customers_enabled: boolean;
|
|
1314
1315
|
sync_anonymous_customers_enabled: boolean;
|
|
1315
1316
|
sync_anonymous_order_contacts_enabled: boolean;
|
|
1317
|
+
validate_orders_enabled: boolean;
|
|
1316
1318
|
};
|
|
1317
1319
|
payments: {
|
|
1318
1320
|
mixed: {
|
|
@@ -2099,7 +2101,7 @@ type Order = {
|
|
|
2099
2101
|
zip?: string | undefined;
|
|
2100
2102
|
country?: string | undefined;
|
|
2101
2103
|
tax_id: string;
|
|
2102
|
-
tax_id_type: "CI" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
2104
|
+
tax_id_type: "CI" | "CNPJ" | "CPJ" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
2103
2105
|
metadata: Record<string, unknown> | null;
|
|
2104
2106
|
} | null | undefined;
|
|
2105
2107
|
};
|
|
@@ -2136,7 +2138,7 @@ type Order = {
|
|
|
2136
2138
|
attempt_reference: string;
|
|
2137
2139
|
previous_attempt_references: string[];
|
|
2138
2140
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2139
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
2141
|
+
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
2140
2142
|
payment_id?: string | undefined;
|
|
2141
2143
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2142
2144
|
status: "CANCELLED" | "FAILED" | "IDLE" | "PAID" | "PENDING" | "REFUNDED";
|
|
@@ -2268,13 +2270,13 @@ type BillingInfo = {
|
|
|
2268
2270
|
zip?: string | undefined;
|
|
2269
2271
|
country?: string | undefined;
|
|
2270
2272
|
tax_id: string;
|
|
2271
|
-
tax_id_type: "CI" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
2273
|
+
tax_id_type: "CI" | "CNPJ" | "CPJ" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
2272
2274
|
metadata: Record<string, unknown> | null;
|
|
2273
2275
|
};
|
|
2274
2276
|
/** Payment method enum on order payment intents. */
|
|
2275
2277
|
type PaymentMethod = "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2276
2278
|
/** Payment provider enum on order payment intents. */
|
|
2277
|
-
type PaymentProvider = "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
2279
|
+
type PaymentProvider = "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
2278
2280
|
/** How an order is paid: one or more tenders (`orders.payment_intents[]`). */
|
|
2279
2281
|
type PaymentIntent = {
|
|
2280
2282
|
id: string;
|
|
@@ -2309,7 +2311,7 @@ type PaymentIntent = {
|
|
|
2309
2311
|
attempt_reference: string;
|
|
2310
2312
|
previous_attempt_references: string[];
|
|
2311
2313
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2312
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
2314
|
+
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
2313
2315
|
payment_id?: string | undefined;
|
|
2314
2316
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2315
2317
|
status: "CANCELLED" | "FAILED" | "IDLE" | "PAID" | "PENDING" | "REFUNDED";
|
|
@@ -2433,7 +2435,7 @@ type PaymentIntentInput = {
|
|
|
2433
2435
|
attempt_reference: string;
|
|
2434
2436
|
previous_attempt_references?: string[] | undefined;
|
|
2435
2437
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2436
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
2438
|
+
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
2437
2439
|
payment_id?: string | undefined;
|
|
2438
2440
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2439
2441
|
status: "CANCELLED" | "FAILED" | "IDLE" | "PAID" | "PENDING" | "REFUNDED";
|
|
@@ -2533,7 +2535,7 @@ type PaymentTender = {
|
|
|
2533
2535
|
attempt_reference: string;
|
|
2534
2536
|
previous_attempt_references: string[];
|
|
2535
2537
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2536
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
2538
|
+
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
2537
2539
|
payment_id?: string | undefined;
|
|
2538
2540
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2539
2541
|
status: "CANCELLED" | "FAILED" | "IDLE" | "PAID" | "PENDING" | "REFUNDED";
|
|
@@ -2716,7 +2718,7 @@ type PaymentTenderInput = {
|
|
|
2716
2718
|
id?: string | undefined;
|
|
2717
2719
|
attempt_reference?: string | undefined;
|
|
2718
2720
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2719
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
2721
|
+
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
2720
2722
|
payment_id?: string | undefined;
|
|
2721
2723
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2722
2724
|
allocation?: {
|
|
@@ -2785,7 +2787,7 @@ type PaymentIntentPutInput = {
|
|
|
2785
2787
|
id?: string | undefined;
|
|
2786
2788
|
attempt_reference?: string | undefined;
|
|
2787
2789
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2788
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
2790
|
+
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
2789
2791
|
payment_id?: string | undefined;
|
|
2790
2792
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2791
2793
|
allocation?: {
|
|
@@ -2854,7 +2856,7 @@ type PaymentIntentPutInput = {
|
|
|
2854
2856
|
type TenderReplaceInput = {
|
|
2855
2857
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2856
2858
|
payment_id: string;
|
|
2857
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
2859
|
+
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
2858
2860
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2859
2861
|
};
|
|
2860
2862
|
/** `POST …/tenders/{tenderId}/void` body. */
|
|
@@ -2943,7 +2945,7 @@ type OrderInsertInput = {
|
|
|
2943
2945
|
zip?: string | undefined;
|
|
2944
2946
|
country?: string | undefined;
|
|
2945
2947
|
tax_id: string;
|
|
2946
|
-
tax_id_type: "CI" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
2948
|
+
tax_id_type: "CI" | "CNPJ" | "CPJ" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
2947
2949
|
metadata: Record<string, unknown> | null;
|
|
2948
2950
|
} | null | undefined;
|
|
2949
2951
|
};
|
|
@@ -3093,7 +3095,7 @@ type OrderUpdateInput = {
|
|
|
3093
3095
|
zip?: string | undefined;
|
|
3094
3096
|
country?: string | undefined;
|
|
3095
3097
|
tax_id: string;
|
|
3096
|
-
tax_id_type: "CI" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
3098
|
+
tax_id_type: "CI" | "CNPJ" | "CPJ" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
3097
3099
|
metadata: Record<string, unknown> | null;
|
|
3098
3100
|
} | null | undefined;
|
|
3099
3101
|
} | undefined;
|
|
@@ -3358,7 +3360,7 @@ type OrderDeviceListResult = {
|
|
|
3358
3360
|
zip?: string | undefined;
|
|
3359
3361
|
country?: string | undefined;
|
|
3360
3362
|
tax_id: string;
|
|
3361
|
-
tax_id_type: "CI" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
3363
|
+
tax_id_type: "CI" | "CNPJ" | "CPJ" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
3362
3364
|
metadata: Record<string, unknown> | null;
|
|
3363
3365
|
} | null | undefined;
|
|
3364
3366
|
};
|
|
@@ -3395,7 +3397,7 @@ type OrderDeviceListResult = {
|
|
|
3395
3397
|
attempt_reference: string;
|
|
3396
3398
|
previous_attempt_references: string[];
|
|
3397
3399
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
3398
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
3400
|
+
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "nuvei" | "pagoplux" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
3399
3401
|
payment_id?: string | undefined;
|
|
3400
3402
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
3401
3403
|
status: "CANCELLED" | "FAILED" | "IDLE" | "PAID" | "PENDING" | "REFUNDED";
|
|
@@ -3833,7 +3835,7 @@ type PosOrderInput = {
|
|
|
3833
3835
|
zip?: string | undefined;
|
|
3834
3836
|
country?: string | undefined;
|
|
3835
3837
|
tax_id: string;
|
|
3836
|
-
tax_id_type: "CI" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
3838
|
+
tax_id_type: "CI" | "CNPJ" | "CPJ" | "CUIT" | "DNI" | "EIN" | "NIF" | "NIT" | "OTHER" | "PASSPORT" | "RCN" | "RUC" | "RUT" | "SSN" | "TIN" | "VAT";
|
|
3837
3839
|
metadata: Record<string, unknown> | null;
|
|
3838
3840
|
} | null | undefined;
|
|
3839
3841
|
} | undefined;
|