@fire-spark/types 0.12.5 → 0.13.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 +32 -21
- 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;
|
|
@@ -618,6 +618,7 @@ type Store = {
|
|
|
618
618
|
cms_template_id?: string | null | undefined;
|
|
619
619
|
status: string;
|
|
620
620
|
coverage_zones: {
|
|
621
|
+
uid?: string | undefined;
|
|
621
622
|
id: string;
|
|
622
623
|
name: string;
|
|
623
624
|
type: "POLYGON" | "RADIUS";
|
|
@@ -2066,6 +2067,7 @@ type Order = {
|
|
|
2066
2067
|
document_number?: string | undefined;
|
|
2067
2068
|
city?: string | undefined;
|
|
2068
2069
|
country?: string | undefined;
|
|
2070
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2069
2071
|
};
|
|
2070
2072
|
address_info?: {
|
|
2071
2073
|
address_line1: string;
|
|
@@ -2127,7 +2129,7 @@ type Order = {
|
|
|
2127
2129
|
attempt_reference: string;
|
|
2128
2130
|
previous_attempt_references: string[];
|
|
2129
2131
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2130
|
-
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";
|
|
2132
|
+
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";
|
|
2131
2133
|
payment_id?: string | undefined;
|
|
2132
2134
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2133
2135
|
status: "CANCELLED" | "FAILED" | "IDLE" | "PAID" | "PENDING" | "REFUNDED";
|
|
@@ -2265,7 +2267,7 @@ type BillingInfo = {
|
|
|
2265
2267
|
/** Payment method enum on order payment intents. */
|
|
2266
2268
|
type PaymentMethod = "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2267
2269
|
/** Payment provider enum on order payment intents. */
|
|
2268
|
-
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";
|
|
2270
|
+
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";
|
|
2269
2271
|
/** How an order is paid: one or more tenders (`orders.payment_intents[]`). */
|
|
2270
2272
|
type PaymentIntent = {
|
|
2271
2273
|
id: string;
|
|
@@ -2300,7 +2302,7 @@ type PaymentIntent = {
|
|
|
2300
2302
|
attempt_reference: string;
|
|
2301
2303
|
previous_attempt_references: string[];
|
|
2302
2304
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2303
|
-
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";
|
|
2305
|
+
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";
|
|
2304
2306
|
payment_id?: string | undefined;
|
|
2305
2307
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2306
2308
|
status: "CANCELLED" | "FAILED" | "IDLE" | "PAID" | "PENDING" | "REFUNDED";
|
|
@@ -2424,7 +2426,7 @@ type PaymentIntentInput = {
|
|
|
2424
2426
|
attempt_reference: string;
|
|
2425
2427
|
previous_attempt_references?: string[] | undefined;
|
|
2426
2428
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2427
|
-
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";
|
|
2429
|
+
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";
|
|
2428
2430
|
payment_id?: string | undefined;
|
|
2429
2431
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2430
2432
|
status: "CANCELLED" | "FAILED" | "IDLE" | "PAID" | "PENDING" | "REFUNDED";
|
|
@@ -2524,7 +2526,7 @@ type PaymentTender = {
|
|
|
2524
2526
|
attempt_reference: string;
|
|
2525
2527
|
previous_attempt_references: string[];
|
|
2526
2528
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2527
|
-
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";
|
|
2529
|
+
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";
|
|
2528
2530
|
payment_id?: string | undefined;
|
|
2529
2531
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2530
2532
|
status: "CANCELLED" | "FAILED" | "IDLE" | "PAID" | "PENDING" | "REFUNDED";
|
|
@@ -2707,7 +2709,7 @@ type PaymentTenderInput = {
|
|
|
2707
2709
|
id?: string | undefined;
|
|
2708
2710
|
attempt_reference?: string | undefined;
|
|
2709
2711
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2710
|
-
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";
|
|
2712
|
+
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";
|
|
2711
2713
|
payment_id?: string | undefined;
|
|
2712
2714
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2713
2715
|
allocation?: {
|
|
@@ -2776,7 +2778,7 @@ type PaymentIntentPutInput = {
|
|
|
2776
2778
|
id?: string | undefined;
|
|
2777
2779
|
attempt_reference?: string | undefined;
|
|
2778
2780
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2779
|
-
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";
|
|
2781
|
+
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";
|
|
2780
2782
|
payment_id?: string | undefined;
|
|
2781
2783
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2782
2784
|
allocation?: {
|
|
@@ -2845,7 +2847,7 @@ type PaymentIntentPutInput = {
|
|
|
2845
2847
|
type TenderReplaceInput = {
|
|
2846
2848
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
2847
2849
|
payment_id: string;
|
|
2848
|
-
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";
|
|
2850
|
+
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";
|
|
2849
2851
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
2850
2852
|
};
|
|
2851
2853
|
/** `POST …/tenders/{tenderId}/void` body. */
|
|
@@ -2909,6 +2911,7 @@ type OrderInsertInput = {
|
|
|
2909
2911
|
document_number?: string | undefined;
|
|
2910
2912
|
city?: string | undefined;
|
|
2911
2913
|
country?: string | undefined;
|
|
2914
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2912
2915
|
};
|
|
2913
2916
|
address_info?: {
|
|
2914
2917
|
address_line1: string;
|
|
@@ -3058,6 +3061,7 @@ type OrderUpdateInput = {
|
|
|
3058
3061
|
document_number?: string | undefined;
|
|
3059
3062
|
city?: string | undefined;
|
|
3060
3063
|
country?: string | undefined;
|
|
3064
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3061
3065
|
};
|
|
3062
3066
|
address_info?: {
|
|
3063
3067
|
address_line1: string;
|
|
@@ -3322,6 +3326,7 @@ type OrderDeviceListResult = {
|
|
|
3322
3326
|
document_number?: string | undefined;
|
|
3323
3327
|
city?: string | undefined;
|
|
3324
3328
|
country?: string | undefined;
|
|
3329
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3325
3330
|
};
|
|
3326
3331
|
address_info?: {
|
|
3327
3332
|
address_line1: string;
|
|
@@ -3383,7 +3388,7 @@ type OrderDeviceListResult = {
|
|
|
3383
3388
|
attempt_reference: string;
|
|
3384
3389
|
previous_attempt_references: string[];
|
|
3385
3390
|
method: "BANK_TRANSFER" | "CARD" | "CASH" | "FINANCING" | "PIN_PAD" | "REDEMPTION" | "WALLET";
|
|
3386
|
-
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";
|
|
3391
|
+
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";
|
|
3387
3392
|
payment_id?: string | undefined;
|
|
3388
3393
|
collect_at: "COUNTER" | "DEVICE" | "DOOR" | "KIOSK" | "OTHER";
|
|
3389
3394
|
status: "CANCELLED" | "FAILED" | "IDLE" | "PAID" | "PENDING" | "REFUNDED";
|
|
@@ -3796,6 +3801,7 @@ type PosOrderInput = {
|
|
|
3796
3801
|
document_number?: string | undefined;
|
|
3797
3802
|
city?: string | undefined;
|
|
3798
3803
|
country?: string | undefined;
|
|
3804
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3799
3805
|
};
|
|
3800
3806
|
address_info?: {
|
|
3801
3807
|
address_line1: string;
|
|
@@ -4512,6 +4518,11 @@ interface CheckoutResolved {
|
|
|
4512
4518
|
billing: CheckoutMode;
|
|
4513
4519
|
shippingFields: Record<string, CheckoutMode>;
|
|
4514
4520
|
billingFields: Record<string, CheckoutMode>;
|
|
4521
|
+
/**
|
|
4522
|
+
* Guest contact fields (`email`, `first_name`, `last_name`, `phone`) for
|
|
4523
|
+
* anonymous orders; written to `customer.customer_info`.
|
|
4524
|
+
*/
|
|
4525
|
+
customerFields: Record<string, CheckoutMode>;
|
|
4515
4526
|
}
|
|
4516
4527
|
//#endregion
|
|
4517
4528
|
export type { AddressInfo, AndConditions, BillingInfo, BillingProfile, BundledItem, Category, CategoryAvailability, CategoryItem, ChannelManifest, ChannelManifestNative, ChannelManifestWeb, ChannelPlatform, ChannelTemplate, CheckoutMode, CheckoutResolved, CmsBlock, CmsBlockItem, Condition, Customer, CustomerGender, CustomerIdentifyInput, CustomerRegisterInput, CustomerUpdateInput, DayOfWeek, DeliveryAddress, Fulfillment, FulfillmentListInput, GroupDisplayType, KioskAdminGesture, KioskAppState, KioskCommandPayload, KioskCommandType, KioskConfigChangedPayload, KioskDeviceConfig, KioskDeviceConfigDevice, KioskDeviceConfigPayment, KioskDeviceConfigScope, KioskDeviceConfigSettings, KioskDeviceOverrides, KioskDevicePaymentSettings, KioskHealthBatchInput, KioskHealthBatchResult, KioskHealthSample, KioskHeartbeatHealth, KioskHeartbeatInput, KioskHeartbeatResult, KioskOrderPager, KioskPagerSide, KioskPagersOverrides, KioskPagersSettings, KioskRealtimeToken, MatchResult, MatchableRule, Menu, MenuLookup, MerchantPayment, Metadata, MixedPaymentsEffect, MixedPaymentsLimits, ModifierControlType, ModifierGroup, MultiLanguageText, OrConditions, Order, OrderCancelInput, OrderCancelType, OrderChangedCallback, OrderChangedCallbackError, OrderChangedCheckoutState, OrderChangedDeviceReversal, OrderChangedDeviceReversalTender, OrderChangedError, OrderChangedPayload, OrderChangedRunStatus, OrderDeviceCredential, OrderDeviceKind, OrderDeviceListInput, OrderDeviceListResult, OrderFulfillment, OrderInsertInput, OrderLine, OrderListInput, OrderRecordPaymentInput, OrderRedeem, OrderRedeemInput, OrderRedemptionState, OrderRedemptionStep, OrderReorderInput, OrderReportedTender, OrderTotals, OrderUpdateInput, OrderValidateInput, OrderValidateOutput, Payment, PaymentCollectAt, PaymentErrorCode, PaymentIntent, PaymentIntentInput, PaymentIntentPutInput, PaymentIntentStatus, PaymentMethod, PaymentProvider, PaymentScope, PaymentStatus, PaymentTender, PaymentTenderInput, PlaceOrderResult, PosActorKind, PosCashBreakdownItem, PosCatalog, PosDenominationKind, PosDeviceConfigDevice, PosDeviceConfigScope, PosDeviceOverrides, PosErrorCode, PosFloor, PosFloorChangedPayload, PosFloorElement, PosFloorInput, PosFloorLayout, PosFloorOccupancy, PosFloorPlan, PosFloorRealtimeToken, PosFloorTable, PosHealthBatchInput, PosHealthBatchResult, PosHealthSample, PosHeartbeatHealth, PosHeartbeatInput, PosHeartbeatResult, PosKioskOrder, PosKioskSettleInput, PosKioskSettleResult, PosOrderInput, PosOrderResult, PosReservationHold, PosReservationHoldStatus, PosStaff, PosTableAttachOrderInput, PosTableCloseInput, PosTableJoinInput, PosTableSeatInput, PosTableSeatReservationInput, PosTableSession, PosTableSessionOrder, PosTableSessionStatus, PosTableSplitInput, PricingModifier, PricingVariant, Product, ProductAvailability, ProductPricing, ProductRecommendationLink, Recommendation, RecurringDateCronExpression, RecurringDateCronRepeat, RecurringDateCronResult, RecurringDateCronValues, RuleInterpretation, RulesEngineMonitoring, RulesEngineOrder, RulesEngineOrderLine, RulesEngineParams, RulesEngineRuntime, RulesEngineTagValue, Schedule, ScheduleDay, SchedulePeriod, SdkLogContext, SdkLogEntry, SdkLogErrorInfo, SdkLogIngestResult, SdkLogLevel, SdkLogOptions, Store, StoreAvailabilityFilters, StoreGetInput, StoreListInput, StoreNearbyInput, StorefrontAvailability, StorefrontAvailabilityChangedPayload, StorefrontAvailabilityInput, StorefrontAvailabilityRule, StorefrontCmsChangedPayload, StorefrontMenu, StorefrontMenuChangedPayload, StorefrontMenuScope, StorefrontMenuStreamOptions, StorefrontPaymentsListInput, StorefrontPreferences, StorefrontPreferencesInput, StorefrontRealtimeToken, StorefrontRealtimeTokenInput, StorefrontWorkspaceChangedPayload, StringMatchCaseOptions, TenderAllocation, TenderAllocationInput, TenderAmount, TenderDetails, TenderRefundInput, TenderReplaceInput, TenderVoidInput, Variant, VariantGroup };
|