@chift/chift-nodejs 1.0.10 → 1.0.11
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/src/modules/api.d.ts +331 -176
- package/dist/src/modules/consumer.d.ts +66 -35
- package/dist/src/modules/consumers.d.ts +330 -175
- package/dist/src/modules/integrations.d.ts +1 -1
- package/dist/src/modules/sync.d.ts +264 -140
- package/{src → dist/src}/types/public-api/schema.d.ts +1030 -1071
- package/dist/src/types/public-api/schema.js +6 -0
- package/package.json +1 -1
- package/src/types/public-api/schema.ts +11275 -0
- package/dist/test/modules/flow.test.d.ts +0 -1
- package/dist/test/modules/flow.test.js +0 -69
|
@@ -873,7 +873,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
873
873
|
communication?: string | undefined;
|
|
874
874
|
matching_number?: string | undefined;
|
|
875
875
|
}[] | undefined;
|
|
876
|
-
status?: "
|
|
876
|
+
status?: "cancelled" | "draft" | "posted" | "paid" | undefined;
|
|
877
877
|
lines: {
|
|
878
878
|
line_number?: number | undefined;
|
|
879
879
|
description: string;
|
|
@@ -975,7 +975,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
975
975
|
communication?: string | undefined;
|
|
976
976
|
matching_number?: string | undefined;
|
|
977
977
|
}[] | undefined;
|
|
978
|
-
status?: "
|
|
978
|
+
status?: "cancelled" | "draft" | "posted" | "paid" | undefined;
|
|
979
979
|
lines: {
|
|
980
980
|
line_number?: number | undefined;
|
|
981
981
|
description: string;
|
|
@@ -1026,7 +1026,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1026
1026
|
communication?: string | undefined;
|
|
1027
1027
|
matching_number?: string | undefined;
|
|
1028
1028
|
}[] | undefined;
|
|
1029
|
-
status?: "
|
|
1029
|
+
status?: "cancelled" | "draft" | "posted" | "paid" | undefined;
|
|
1030
1030
|
lines: {
|
|
1031
1031
|
line_number?: number | undefined;
|
|
1032
1032
|
description: string;
|
|
@@ -1074,7 +1074,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1074
1074
|
communication?: string | undefined;
|
|
1075
1075
|
matching_number?: string | undefined;
|
|
1076
1076
|
}[] | undefined;
|
|
1077
|
-
status?: "
|
|
1077
|
+
status?: "cancelled" | "draft" | "posted" | "paid" | undefined;
|
|
1078
1078
|
lines: {
|
|
1079
1079
|
line_number?: number | undefined;
|
|
1080
1080
|
description: string;
|
|
@@ -1122,7 +1122,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1122
1122
|
communication?: string | undefined;
|
|
1123
1123
|
matching_number?: string | undefined;
|
|
1124
1124
|
}[] | undefined;
|
|
1125
|
-
status?: "
|
|
1125
|
+
status?: "cancelled" | "draft" | "posted" | "paid" | undefined;
|
|
1126
1126
|
lines: {
|
|
1127
1127
|
line_number?: number | undefined;
|
|
1128
1128
|
description: string;
|
|
@@ -1173,7 +1173,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1173
1173
|
communication?: string | undefined;
|
|
1174
1174
|
matching_number?: string | undefined;
|
|
1175
1175
|
}[] | undefined;
|
|
1176
|
-
status?: "
|
|
1176
|
+
status?: "cancelled" | "draft" | "posted" | "paid" | undefined;
|
|
1177
1177
|
lines: {
|
|
1178
1178
|
line_number?: number | undefined;
|
|
1179
1179
|
description: string;
|
|
@@ -1438,14 +1438,14 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1438
1438
|
line_number?: number | undefined;
|
|
1439
1439
|
description?: string | undefined;
|
|
1440
1440
|
amount: number;
|
|
1441
|
-
type: "
|
|
1441
|
+
type: "customer_account" | "supplier_account" | "general_account";
|
|
1442
1442
|
account_number: string;
|
|
1443
1443
|
partner_id?: string | undefined;
|
|
1444
1444
|
analytic_account?: string | undefined;
|
|
1445
1445
|
}[];
|
|
1446
1446
|
operation_date?: string | undefined;
|
|
1447
1447
|
journal_id: string;
|
|
1448
|
-
status: "
|
|
1448
|
+
status: "cancelled" | "draft" | "posted" | "matched";
|
|
1449
1449
|
id: string;
|
|
1450
1450
|
}[]>;
|
|
1451
1451
|
createMiscOperation(operation: {
|
|
@@ -1456,7 +1456,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1456
1456
|
line_number?: number | undefined;
|
|
1457
1457
|
description?: string | undefined;
|
|
1458
1458
|
amount: number;
|
|
1459
|
-
type: "
|
|
1459
|
+
type: "customer_account" | "supplier_account" | "general_account";
|
|
1460
1460
|
account_number: string;
|
|
1461
1461
|
partner_id?: string | undefined;
|
|
1462
1462
|
analytic_account?: string | undefined;
|
|
@@ -1474,14 +1474,14 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1474
1474
|
line_number?: number | undefined;
|
|
1475
1475
|
description?: string | undefined;
|
|
1476
1476
|
amount: number;
|
|
1477
|
-
type: "
|
|
1477
|
+
type: "customer_account" | "supplier_account" | "general_account";
|
|
1478
1478
|
account_number: string;
|
|
1479
1479
|
partner_id?: string | undefined;
|
|
1480
1480
|
analytic_account?: string | undefined;
|
|
1481
1481
|
}[];
|
|
1482
1482
|
operation_date?: string | undefined;
|
|
1483
1483
|
journal_id: string;
|
|
1484
|
-
status: "
|
|
1484
|
+
status: "cancelled" | "draft" | "posted" | "matched";
|
|
1485
1485
|
id: string;
|
|
1486
1486
|
}>;
|
|
1487
1487
|
getMiscOperation(operation_id: string, params: {
|
|
@@ -1494,14 +1494,14 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1494
1494
|
line_number?: number | undefined;
|
|
1495
1495
|
description?: string | undefined;
|
|
1496
1496
|
amount: number;
|
|
1497
|
-
type: "
|
|
1497
|
+
type: "customer_account" | "supplier_account" | "general_account";
|
|
1498
1498
|
account_number: string;
|
|
1499
1499
|
partner_id?: string | undefined;
|
|
1500
1500
|
analytic_account?: string | undefined;
|
|
1501
1501
|
}[];
|
|
1502
1502
|
operation_date?: string | undefined;
|
|
1503
1503
|
journal_id: string;
|
|
1504
|
-
status: "
|
|
1504
|
+
status: "cancelled" | "draft" | "posted" | "matched";
|
|
1505
1505
|
id: string;
|
|
1506
1506
|
}>;
|
|
1507
1507
|
attachPDF(invoice_id: string, attachment: {
|
|
@@ -1511,7 +1511,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1511
1511
|
folder_id?: string | undefined;
|
|
1512
1512
|
} | undefined): import("../types/api").RequestData<{
|
|
1513
1513
|
content: {
|
|
1514
|
-
|
|
1514
|
+
"application/json": unknown;
|
|
1515
1515
|
};
|
|
1516
1516
|
}>;
|
|
1517
1517
|
getAttachments(params: {
|
|
@@ -1527,11 +1527,11 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1527
1527
|
number: string;
|
|
1528
1528
|
name: string;
|
|
1529
1529
|
active?: boolean | undefined;
|
|
1530
|
-
type?: "
|
|
1530
|
+
type?: "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | "vat" | "other" | undefined;
|
|
1531
1531
|
}[]>;
|
|
1532
1532
|
getBalanceOfAccounts(filter: {
|
|
1533
1533
|
accounts: string[];
|
|
1534
|
-
start
|
|
1534
|
+
start?: string | undefined;
|
|
1535
1535
|
end: string;
|
|
1536
1536
|
}, params: {
|
|
1537
1537
|
folder_id?: string | undefined;
|
|
@@ -1539,6 +1539,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1539
1539
|
size?: number | undefined;
|
|
1540
1540
|
} | undefined): import("../types/api").RequestData<{
|
|
1541
1541
|
account_number: string;
|
|
1542
|
+
account_name?: string | undefined;
|
|
1542
1543
|
debit: number;
|
|
1543
1544
|
credit: number;
|
|
1544
1545
|
balance: number;
|
|
@@ -1563,7 +1564,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1563
1564
|
getOutstandings(params: {
|
|
1564
1565
|
folder_id?: string | undefined;
|
|
1565
1566
|
unposted_allowed: "true" | "false";
|
|
1566
|
-
type: "
|
|
1567
|
+
type: "supplier" | "client";
|
|
1567
1568
|
}): import("../types/api").RequestData<{
|
|
1568
1569
|
id: string;
|
|
1569
1570
|
number?: string | undefined;
|
|
@@ -1589,7 +1590,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1589
1590
|
reference?: string | undefined;
|
|
1590
1591
|
number?: string | undefined;
|
|
1591
1592
|
items: {
|
|
1592
|
-
type: "
|
|
1593
|
+
type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
1593
1594
|
account_number: string;
|
|
1594
1595
|
partner_id?: string | undefined;
|
|
1595
1596
|
amount: number;
|
|
@@ -1608,7 +1609,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1608
1609
|
id: string;
|
|
1609
1610
|
number: string;
|
|
1610
1611
|
items: {
|
|
1611
|
-
type: "
|
|
1612
|
+
type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
1612
1613
|
account_number: string;
|
|
1613
1614
|
partner_id?: string | undefined;
|
|
1614
1615
|
amount: number;
|
|
@@ -1624,7 +1625,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1624
1625
|
reference?: string | undefined;
|
|
1625
1626
|
number?: string | undefined;
|
|
1626
1627
|
items: {
|
|
1627
|
-
account_type: "
|
|
1628
|
+
account_type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
1628
1629
|
account: string;
|
|
1629
1630
|
amount: number;
|
|
1630
1631
|
description?: string | undefined;
|
|
@@ -1642,7 +1643,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1642
1643
|
id: string;
|
|
1643
1644
|
number: string;
|
|
1644
1645
|
items: {
|
|
1645
|
-
account_type: "
|
|
1646
|
+
account_type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
1646
1647
|
account: string;
|
|
1647
1648
|
amount: number;
|
|
1648
1649
|
description?: string | undefined;
|
|
@@ -1711,7 +1712,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1711
1712
|
currency_exchange_rate?: number | undefined;
|
|
1712
1713
|
date: string;
|
|
1713
1714
|
items: {
|
|
1714
|
-
account_type: "
|
|
1715
|
+
account_type: "customer_account" | "supplier_account" | "employee_account" | "general_account";
|
|
1715
1716
|
account: string;
|
|
1716
1717
|
force_general_account?: string | undefined;
|
|
1717
1718
|
prioritise_thirdparty_account?: boolean | undefined;
|
|
@@ -1778,7 +1779,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1778
1779
|
}>;
|
|
1779
1780
|
invoicing: import("../types/api").ApiFor<{
|
|
1780
1781
|
getInvoices(params: {
|
|
1781
|
-
invoice_type?: "
|
|
1782
|
+
invoice_type?: "all" | "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | undefined;
|
|
1782
1783
|
payment_status?: "all" | "paid" | "unpaid" | undefined;
|
|
1783
1784
|
date_from?: string | undefined;
|
|
1784
1785
|
date_to?: string | undefined;
|
|
@@ -1793,7 +1794,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1793
1794
|
};
|
|
1794
1795
|
currency: string;
|
|
1795
1796
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1796
|
-
status: "
|
|
1797
|
+
status: "cancelled" | "draft" | "posted" | "paid";
|
|
1797
1798
|
invoice_date: string;
|
|
1798
1799
|
tax_amount: number;
|
|
1799
1800
|
untaxed_amount: number;
|
|
@@ -1838,7 +1839,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1838
1839
|
};
|
|
1839
1840
|
currency: string;
|
|
1840
1841
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1841
|
-
status: "
|
|
1842
|
+
status: "cancelled" | "draft" | "posted" | "paid";
|
|
1842
1843
|
invoice_date: string;
|
|
1843
1844
|
tax_amount: number;
|
|
1844
1845
|
untaxed_amount: number;
|
|
@@ -1876,7 +1877,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1876
1877
|
createInvoice(invoice: {
|
|
1877
1878
|
currency: string;
|
|
1878
1879
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1879
|
-
status: "
|
|
1880
|
+
status: "cancelled" | "draft" | "posted" | "paid";
|
|
1880
1881
|
invoice_date: string;
|
|
1881
1882
|
tax_amount: number;
|
|
1882
1883
|
untaxed_amount: number;
|
|
@@ -1917,7 +1918,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
1917
1918
|
};
|
|
1918
1919
|
currency: string;
|
|
1919
1920
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1920
|
-
status: "
|
|
1921
|
+
status: "cancelled" | "draft" | "posted" | "paid";
|
|
1921
1922
|
invoice_date: string;
|
|
1922
1923
|
tax_amount: number;
|
|
1923
1924
|
untaxed_amount: number;
|
|
@@ -2089,7 +2090,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2089
2090
|
} | undefined;
|
|
2090
2091
|
}>;
|
|
2091
2092
|
getContacts(params?: {
|
|
2092
|
-
contact_type?: "
|
|
2093
|
+
contact_type?: "prospect" | "customer" | "supplier" | "all" | undefined;
|
|
2093
2094
|
page?: number | undefined;
|
|
2094
2095
|
size?: number | undefined;
|
|
2095
2096
|
} | undefined): import("../types/api").RequestData<{
|
|
@@ -2119,7 +2120,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2119
2120
|
birthdate?: string | undefined;
|
|
2120
2121
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
2121
2122
|
addresses?: {
|
|
2122
|
-
address_type: "
|
|
2123
|
+
address_type: "other" | "main" | "delivery" | "invoice";
|
|
2123
2124
|
name?: string | undefined;
|
|
2124
2125
|
number?: string | undefined;
|
|
2125
2126
|
box?: string | undefined;
|
|
@@ -2159,7 +2160,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2159
2160
|
birthdate?: string | undefined;
|
|
2160
2161
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
2161
2162
|
addresses?: {
|
|
2162
|
-
address_type: "
|
|
2163
|
+
address_type: "other" | "main" | "delivery" | "invoice";
|
|
2163
2164
|
name?: string | undefined;
|
|
2164
2165
|
number?: string | undefined;
|
|
2165
2166
|
box?: string | undefined;
|
|
@@ -2194,7 +2195,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2194
2195
|
birthdate?: string | undefined;
|
|
2195
2196
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
2196
2197
|
addresses?: {
|
|
2197
|
-
address_type: "
|
|
2198
|
+
address_type: "other" | "main" | "delivery" | "invoice";
|
|
2198
2199
|
name?: string | undefined;
|
|
2199
2200
|
number?: string | undefined;
|
|
2200
2201
|
box?: string | undefined;
|
|
@@ -2233,7 +2234,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2233
2234
|
birthdate?: string | undefined;
|
|
2234
2235
|
gender?: "H" | "F" | "N/A" | undefined;
|
|
2235
2236
|
addresses?: {
|
|
2236
|
-
address_type: "
|
|
2237
|
+
address_type: "other" | "main" | "delivery" | "invoice";
|
|
2237
2238
|
name?: string | undefined;
|
|
2238
2239
|
number?: string | undefined;
|
|
2239
2240
|
box?: string | undefined;
|
|
@@ -2549,7 +2550,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2549
2550
|
last_updated_on?: string | undefined;
|
|
2550
2551
|
confirmed_on?: string | undefined;
|
|
2551
2552
|
cancelled_on?: string | undefined;
|
|
2552
|
-
status: "
|
|
2553
|
+
status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
|
|
2553
2554
|
discount_amount: number;
|
|
2554
2555
|
untaxed_amount_without_fees: number;
|
|
2555
2556
|
tax_amount_without_fees: number;
|
|
@@ -2581,6 +2582,11 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2581
2582
|
}[] | undefined;
|
|
2582
2583
|
other?: number | undefined;
|
|
2583
2584
|
shipping_refunds?: {
|
|
2585
|
+
id: string;
|
|
2586
|
+
source_ref: {
|
|
2587
|
+
id?: string | undefined;
|
|
2588
|
+
model?: string | undefined;
|
|
2589
|
+
};
|
|
2584
2590
|
untaxed_amount: number;
|
|
2585
2591
|
tax_amount: number;
|
|
2586
2592
|
total: number;
|
|
@@ -2616,6 +2622,11 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2616
2622
|
gift_card?: boolean | undefined;
|
|
2617
2623
|
}[];
|
|
2618
2624
|
other_fees?: {
|
|
2625
|
+
id: string;
|
|
2626
|
+
source_ref: {
|
|
2627
|
+
id?: string | undefined;
|
|
2628
|
+
model?: string | undefined;
|
|
2629
|
+
};
|
|
2619
2630
|
created_on?: string | undefined;
|
|
2620
2631
|
type: "other" | "shipping";
|
|
2621
2632
|
tax_rate: number;
|
|
@@ -2730,7 +2741,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2730
2741
|
last_updated_on?: string | undefined;
|
|
2731
2742
|
confirmed_on?: string | undefined;
|
|
2732
2743
|
cancelled_on?: string | undefined;
|
|
2733
|
-
status: "
|
|
2744
|
+
status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
|
|
2734
2745
|
discount_amount: number;
|
|
2735
2746
|
untaxed_amount_without_fees: number;
|
|
2736
2747
|
tax_amount_without_fees: number;
|
|
@@ -2762,6 +2773,11 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2762
2773
|
}[] | undefined;
|
|
2763
2774
|
other?: number | undefined;
|
|
2764
2775
|
shipping_refunds?: {
|
|
2776
|
+
id: string;
|
|
2777
|
+
source_ref: {
|
|
2778
|
+
id?: string | undefined;
|
|
2779
|
+
model?: string | undefined;
|
|
2780
|
+
};
|
|
2765
2781
|
untaxed_amount: number;
|
|
2766
2782
|
tax_amount: number;
|
|
2767
2783
|
total: number;
|
|
@@ -2797,6 +2813,11 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2797
2813
|
gift_card?: boolean | undefined;
|
|
2798
2814
|
}[];
|
|
2799
2815
|
other_fees?: {
|
|
2816
|
+
id: string;
|
|
2817
|
+
source_ref: {
|
|
2818
|
+
id?: string | undefined;
|
|
2819
|
+
model?: string | undefined;
|
|
2820
|
+
};
|
|
2800
2821
|
created_on?: string | undefined;
|
|
2801
2822
|
type: "other" | "shipping";
|
|
2802
2823
|
tax_rate: number;
|
|
@@ -2870,7 +2891,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2870
2891
|
last_updated_on?: string | undefined;
|
|
2871
2892
|
confirmed_on?: string | undefined;
|
|
2872
2893
|
cancelled_on?: string | undefined;
|
|
2873
|
-
status: "
|
|
2894
|
+
status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
|
|
2874
2895
|
discount_amount: number;
|
|
2875
2896
|
untaxed_amount_without_fees: number;
|
|
2876
2897
|
tax_amount_without_fees: number;
|
|
@@ -2902,6 +2923,11 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2902
2923
|
}[] | undefined;
|
|
2903
2924
|
other?: number | undefined;
|
|
2904
2925
|
shipping_refunds?: {
|
|
2926
|
+
id: string;
|
|
2927
|
+
source_ref: {
|
|
2928
|
+
id?: string | undefined;
|
|
2929
|
+
model?: string | undefined;
|
|
2930
|
+
};
|
|
2905
2931
|
untaxed_amount: number;
|
|
2906
2932
|
tax_amount: number;
|
|
2907
2933
|
total: number;
|
|
@@ -2937,6 +2963,11 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
|
|
|
2937
2963
|
gift_card?: boolean | undefined;
|
|
2938
2964
|
}[];
|
|
2939
2965
|
other_fees?: {
|
|
2966
|
+
id: string;
|
|
2967
|
+
source_ref: {
|
|
2968
|
+
id?: string | undefined;
|
|
2969
|
+
model?: string | undefined;
|
|
2970
|
+
};
|
|
2940
2971
|
created_on?: string | undefined;
|
|
2941
2972
|
type: "other" | "shipping";
|
|
2942
2973
|
tax_rate: number;
|