@fire-spark/types 0.13.0 → 0.13.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.
- package/dist/index.d.ts +79 -72
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -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" | "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" | "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" | "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" | "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" | "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" | "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;
|
|
@@ -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" | "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" | "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" | "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" | "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" | "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" | "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;
|
|
@@ -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" | "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" | "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" | "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" | "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" | "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" | "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;
|
|
@@ -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" | "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" | "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" | "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" | "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" | "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" | "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;
|
|
@@ -1307,6 +1307,13 @@ type StorefrontPreferences = {
|
|
|
1307
1307
|
ios_store_url: string;
|
|
1308
1308
|
android_store_url: string;
|
|
1309
1309
|
};
|
|
1310
|
+
masivo: {
|
|
1311
|
+
coupons_enabled: boolean;
|
|
1312
|
+
loyalty_enabled: boolean;
|
|
1313
|
+
sync_registered_customers_enabled: boolean;
|
|
1314
|
+
sync_anonymous_customers_enabled: boolean;
|
|
1315
|
+
sync_anonymous_order_contacts_enabled: boolean;
|
|
1316
|
+
};
|
|
1310
1317
|
payments: {
|
|
1311
1318
|
mixed: {
|
|
1312
1319
|
max_methods: number;
|
|
@@ -1427,57 +1434,6 @@ type StorefrontMenu = {
|
|
|
1427
1434
|
tags: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
1428
1435
|
metadata: Record<string, unknown>;
|
|
1429
1436
|
}[];
|
|
1430
|
-
categories: {
|
|
1431
|
-
id: string;
|
|
1432
|
-
name: Record<string, string>;
|
|
1433
|
-
description?: Record<string, string> | null | undefined;
|
|
1434
|
-
cms_template_id?: string | null | undefined;
|
|
1435
|
-
cms?: {
|
|
1436
|
-
id: string;
|
|
1437
|
-
merchant_id: string;
|
|
1438
|
-
env: string;
|
|
1439
|
-
name: string;
|
|
1440
|
-
fields: {
|
|
1441
|
-
name: string;
|
|
1442
|
-
type: "IMAGE" | "LIST" | "SELECT" | "TEXT";
|
|
1443
|
-
label?: Record<string, string> | null | undefined;
|
|
1444
|
-
required: boolean;
|
|
1445
|
-
placeholder?: string | null | undefined;
|
|
1446
|
-
options?: {
|
|
1447
|
-
label: string;
|
|
1448
|
-
value: string;
|
|
1449
|
-
}[] | null | undefined;
|
|
1450
|
-
altText?: string | null | undefined;
|
|
1451
|
-
src?: string | null | undefined;
|
|
1452
|
-
href?: string | null | undefined;
|
|
1453
|
-
}[];
|
|
1454
|
-
entity: "BRANDS" | "CATEGORIES" | "CHANNELS" | "MENUS" | "PRODUCTS" | "STORES";
|
|
1455
|
-
status: string;
|
|
1456
|
-
} | null | undefined;
|
|
1457
|
-
items: {
|
|
1458
|
-
type: "CATEGORY" | "PRODUCT";
|
|
1459
|
-
id: string;
|
|
1460
|
-
}[];
|
|
1461
|
-
availability: {
|
|
1462
|
-
schedules?: {
|
|
1463
|
-
day_of_week: "friday" | "monday" | "saturday" | "sunday" | "thursday" | "tuesday" | "wednesday";
|
|
1464
|
-
periods: {
|
|
1465
|
-
closed: boolean;
|
|
1466
|
-
start_time?: string | undefined;
|
|
1467
|
-
end_time?: string | undefined;
|
|
1468
|
-
start_date?: string | null | undefined;
|
|
1469
|
-
end_date?: string | null | undefined;
|
|
1470
|
-
}[];
|
|
1471
|
-
}[] | null | undefined;
|
|
1472
|
-
inactive_until?: string | null | undefined;
|
|
1473
|
-
status: "ACTIVE" | "HIDDEN" | "INACTIVE";
|
|
1474
|
-
};
|
|
1475
|
-
image_url: string | null;
|
|
1476
|
-
image_origin_url?: string | null | undefined;
|
|
1477
|
-
labels: string[];
|
|
1478
|
-
tags: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
1479
|
-
metadata: Record<string, unknown>;
|
|
1480
|
-
}[];
|
|
1481
1437
|
modifier_groups: {
|
|
1482
1438
|
id: string;
|
|
1483
1439
|
title: Record<string, string>;
|
|
@@ -1552,6 +1508,57 @@ type StorefrontMenu = {
|
|
|
1552
1508
|
value?: unknown;
|
|
1553
1509
|
}[];
|
|
1554
1510
|
} | null | undefined;
|
|
1511
|
+
categories: {
|
|
1512
|
+
id: string;
|
|
1513
|
+
name: Record<string, string>;
|
|
1514
|
+
description?: Record<string, string> | null | undefined;
|
|
1515
|
+
cms_template_id?: string | null | undefined;
|
|
1516
|
+
cms?: {
|
|
1517
|
+
id: string;
|
|
1518
|
+
merchant_id: string;
|
|
1519
|
+
env: string;
|
|
1520
|
+
name: string;
|
|
1521
|
+
fields: {
|
|
1522
|
+
name: string;
|
|
1523
|
+
type: "IMAGE" | "LIST" | "SELECT" | "TEXT";
|
|
1524
|
+
label?: Record<string, string> | null | undefined;
|
|
1525
|
+
required: boolean;
|
|
1526
|
+
placeholder?: string | null | undefined;
|
|
1527
|
+
options?: {
|
|
1528
|
+
label: string;
|
|
1529
|
+
value: string;
|
|
1530
|
+
}[] | null | undefined;
|
|
1531
|
+
altText?: string | null | undefined;
|
|
1532
|
+
src?: string | null | undefined;
|
|
1533
|
+
href?: string | null | undefined;
|
|
1534
|
+
}[];
|
|
1535
|
+
entity: "BRANDS" | "CATEGORIES" | "CHANNELS" | "MENUS" | "PRODUCTS" | "STORES";
|
|
1536
|
+
status: string;
|
|
1537
|
+
} | null | undefined;
|
|
1538
|
+
availability: {
|
|
1539
|
+
schedules?: {
|
|
1540
|
+
day_of_week: "friday" | "monday" | "saturday" | "sunday" | "thursday" | "tuesday" | "wednesday";
|
|
1541
|
+
periods: {
|
|
1542
|
+
closed: boolean;
|
|
1543
|
+
start_time?: string | undefined;
|
|
1544
|
+
end_time?: string | undefined;
|
|
1545
|
+
start_date?: string | null | undefined;
|
|
1546
|
+
end_date?: string | null | undefined;
|
|
1547
|
+
}[];
|
|
1548
|
+
}[] | null | undefined;
|
|
1549
|
+
inactive_until?: string | null | undefined;
|
|
1550
|
+
status: "ACTIVE" | "HIDDEN" | "INACTIVE";
|
|
1551
|
+
};
|
|
1552
|
+
image_url: string | null;
|
|
1553
|
+
image_origin_url?: string | null | undefined;
|
|
1554
|
+
labels: string[];
|
|
1555
|
+
tags: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
1556
|
+
metadata: Record<string, unknown>;
|
|
1557
|
+
items: {
|
|
1558
|
+
type: "CATEGORY" | "PRODUCT";
|
|
1559
|
+
id: string;
|
|
1560
|
+
}[];
|
|
1561
|
+
}[];
|
|
1555
1562
|
};
|
|
1556
1563
|
/** Query scope for storefront menu list. */
|
|
1557
1564
|
type StorefrontMenuScope = {
|
|
@@ -2129,7 +2136,7 @@ type Order = {
|
|
|
2129
2136
|
attempt_reference: string;
|
|
2130
2137
|
previous_attempt_references: string[];
|
|
2131
2138
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2132
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
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";
|
|
2133
2140
|
payment_id?: string | undefined;
|
|
2134
2141
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2135
2142
|
status: "CANCELLED" | "FAILED" | "IDLE" | "PAID" | "PENDING" | "REFUNDED";
|
|
@@ -2267,7 +2274,7 @@ type BillingInfo = {
|
|
|
2267
2274
|
/** Payment method enum on order payment intents. */
|
|
2268
2275
|
type PaymentMethod = "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2269
2276
|
/** Payment provider enum on order payment intents. */
|
|
2270
|
-
type PaymentProvider = "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
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";
|
|
2271
2278
|
/** How an order is paid: one or more tenders (`orders.payment_intents[]`). */
|
|
2272
2279
|
type PaymentIntent = {
|
|
2273
2280
|
id: string;
|
|
@@ -2302,7 +2309,7 @@ type PaymentIntent = {
|
|
|
2302
2309
|
attempt_reference: string;
|
|
2303
2310
|
previous_attempt_references: string[];
|
|
2304
2311
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2305
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
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";
|
|
2306
2313
|
payment_id?: string | undefined;
|
|
2307
2314
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2308
2315
|
status: "CANCELLED" | "FAILED" | "IDLE" | "PAID" | "PENDING" | "REFUNDED";
|
|
@@ -2426,7 +2433,7 @@ type PaymentIntentInput = {
|
|
|
2426
2433
|
attempt_reference: string;
|
|
2427
2434
|
previous_attempt_references?: string[] | undefined;
|
|
2428
2435
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2429
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
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";
|
|
2430
2437
|
payment_id?: string | undefined;
|
|
2431
2438
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2432
2439
|
status: "CANCELLED" | "FAILED" | "IDLE" | "PAID" | "PENDING" | "REFUNDED";
|
|
@@ -2526,7 +2533,7 @@ type PaymentTender = {
|
|
|
2526
2533
|
attempt_reference: string;
|
|
2527
2534
|
previous_attempt_references: string[];
|
|
2528
2535
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2529
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
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";
|
|
2530
2537
|
payment_id?: string | undefined;
|
|
2531
2538
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2532
2539
|
status: "CANCELLED" | "FAILED" | "IDLE" | "PAID" | "PENDING" | "REFUNDED";
|
|
@@ -2709,7 +2716,7 @@ type PaymentTenderInput = {
|
|
|
2709
2716
|
id?: string | undefined;
|
|
2710
2717
|
attempt_reference?: string | undefined;
|
|
2711
2718
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2712
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
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";
|
|
2713
2720
|
payment_id?: string | undefined;
|
|
2714
2721
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2715
2722
|
allocation?: {
|
|
@@ -2778,7 +2785,7 @@ type PaymentIntentPutInput = {
|
|
|
2778
2785
|
id?: string | undefined;
|
|
2779
2786
|
attempt_reference?: string | undefined;
|
|
2780
2787
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2781
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
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";
|
|
2782
2789
|
payment_id?: string | undefined;
|
|
2783
2790
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2784
2791
|
allocation?: {
|
|
@@ -2847,7 +2854,7 @@ type PaymentIntentPutInput = {
|
|
|
2847
2854
|
type TenderReplaceInput = {
|
|
2848
2855
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2849
2856
|
payment_id: string;
|
|
2850
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
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";
|
|
2851
2858
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2852
2859
|
};
|
|
2853
2860
|
/** `POST …/tenders/{tenderId}/void` body. */
|
|
@@ -3388,7 +3395,7 @@ type OrderDeviceListResult = {
|
|
|
3388
3395
|
attempt_reference: string;
|
|
3389
3396
|
previous_attempt_references: string[];
|
|
3390
3397
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
3391
|
-
provider: "amipass" | "cashea" | "clisitef" | "credibanco" | "datafast" | "deuna" | "edenred" | "firespark" | "kushki" | "mach" | "medianet" | "mercadopago" | "niubiz" | "paymentz" | "paypal" | "payphone" | "place_to_pay" | "pluxee" | "posnet" | "redeban" | "rutpay" | "sitef_venezuela" | "stripe" | "transbank" | "yape";
|
|
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";
|
|
3392
3399
|
payment_id?: string | undefined;
|
|
3393
3400
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
3394
3401
|
status: "CANCELLED" | "FAILED" | "IDLE" | "PAID" | "PENDING" | "REFUNDED";
|