@chift/chift-nodejs 1.0.19 → 1.0.20
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 +90 -10
- package/dist/src/modules/consumer.d.ts +18 -2
- package/dist/src/modules/consumers.d.ts +90 -10
- package/dist/src/modules/sync.d.ts +72 -8
- package/dist/src/types/public-api/schema.d.ts +50 -10
- package/package.json +1 -1
- package/src/types/public-api/schema.d.ts +50 -10
|
@@ -115,6 +115,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
115
115
|
}[];
|
|
116
116
|
items: {
|
|
117
117
|
id: string;
|
|
118
|
+
type?: "menu" | "product" | undefined;
|
|
119
|
+
menu_id?: string | undefined;
|
|
118
120
|
quantity: number;
|
|
119
121
|
unit_price: number;
|
|
120
122
|
total: number;
|
|
@@ -190,6 +192,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
190
192
|
}[];
|
|
191
193
|
items: {
|
|
192
194
|
id: string;
|
|
195
|
+
type?: "menu" | "product" | undefined;
|
|
196
|
+
menu_id?: string | undefined;
|
|
193
197
|
quantity: number;
|
|
194
198
|
unit_price: number;
|
|
195
199
|
total: number;
|
|
@@ -362,6 +366,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
362
366
|
}[];
|
|
363
367
|
items: {
|
|
364
368
|
id: string;
|
|
369
|
+
type?: "menu" | "product" | undefined;
|
|
370
|
+
menu_id?: string | undefined;
|
|
365
371
|
quantity: number;
|
|
366
372
|
unit_price: number;
|
|
367
373
|
total: number;
|
|
@@ -381,7 +387,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
381
387
|
} | undefined): import("../types/api").RequestData<{
|
|
382
388
|
id: string;
|
|
383
389
|
name: string;
|
|
384
|
-
id_parent?: string | undefined;
|
|
385
390
|
code?: string | undefined;
|
|
386
391
|
ledger_account_code?: string | undefined;
|
|
387
392
|
posting_account_code?: string | undefined;
|
|
@@ -442,6 +447,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
442
447
|
id?: string | undefined;
|
|
443
448
|
model?: string | undefined;
|
|
444
449
|
};
|
|
450
|
+
type?: "menu" | "product" | undefined;
|
|
451
|
+
menu_id?: string | undefined;
|
|
445
452
|
quantity: number;
|
|
446
453
|
unit_price: number;
|
|
447
454
|
total: number;
|
|
@@ -499,7 +506,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
499
506
|
model?: string | undefined;
|
|
500
507
|
};
|
|
501
508
|
name: string;
|
|
502
|
-
id_parent?: string | undefined;
|
|
503
509
|
code?: string | undefined;
|
|
504
510
|
ledger_account_code?: string | undefined;
|
|
505
511
|
posting_account_code?: string | undefined;
|
|
@@ -597,6 +603,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
597
603
|
active: boolean;
|
|
598
604
|
}[]>;
|
|
599
605
|
getClients(params?: {
|
|
606
|
+
search?: string | undefined;
|
|
600
607
|
folder_id?: string | undefined;
|
|
601
608
|
} | undefined): import("../types/api").RequestData<{
|
|
602
609
|
external_reference?: string | undefined;
|
|
@@ -815,6 +822,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
815
822
|
id?: string | undefined;
|
|
816
823
|
}>;
|
|
817
824
|
getSuppliers(params?: {
|
|
825
|
+
search?: string | undefined;
|
|
818
826
|
folder_id?: string | undefined;
|
|
819
827
|
} | undefined): import("../types/api").RequestData<{
|
|
820
828
|
external_reference?: string | undefined;
|
|
@@ -1992,6 +2000,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1992
2000
|
}[];
|
|
1993
2001
|
pdf?: string | undefined;
|
|
1994
2002
|
posted: boolean;
|
|
2003
|
+
start_date?: string | undefined;
|
|
2004
|
+
end_date?: string | undefined;
|
|
1995
2005
|
}, params?: {
|
|
1996
2006
|
force_currency_exchange?: "true" | "false" | undefined;
|
|
1997
2007
|
folder_id?: string | undefined;
|
|
@@ -2091,6 +2101,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
2091
2101
|
} | undefined;
|
|
2092
2102
|
last_updated_on?: string | undefined;
|
|
2093
2103
|
outstanding_amount?: number | undefined;
|
|
2104
|
+
accounting_date?: string | undefined;
|
|
2094
2105
|
}[]>;
|
|
2095
2106
|
getInvoiceById(invoiceId: string, params?: {
|
|
2096
2107
|
include_pdf?: "true" | "false" | undefined;
|
|
@@ -2136,6 +2147,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
2136
2147
|
} | undefined;
|
|
2137
2148
|
last_updated_on?: string | undefined;
|
|
2138
2149
|
outstanding_amount?: number | undefined;
|
|
2150
|
+
accounting_date?: string | undefined;
|
|
2139
2151
|
}>;
|
|
2140
2152
|
createInvoice(invoice: {
|
|
2141
2153
|
currency: string;
|
|
@@ -2214,6 +2226,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
2214
2226
|
} | undefined;
|
|
2215
2227
|
last_updated_on?: string | undefined;
|
|
2216
2228
|
outstanding_amount?: number | undefined;
|
|
2229
|
+
accounting_date?: string | undefined;
|
|
2217
2230
|
}>;
|
|
2218
2231
|
getProducts(): import("../types/api").RequestData<{
|
|
2219
2232
|
id: string;
|
|
@@ -2835,6 +2848,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
2835
2848
|
refunded_amount: number;
|
|
2836
2849
|
currency: string;
|
|
2837
2850
|
note?: string | undefined;
|
|
2851
|
+
tags: string[];
|
|
2838
2852
|
lines: {
|
|
2839
2853
|
id: string;
|
|
2840
2854
|
source_ref: {
|
|
@@ -3111,6 +3125,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
3111
3125
|
refunded_amount: number;
|
|
3112
3126
|
currency: string;
|
|
3113
3127
|
note?: string | undefined;
|
|
3128
|
+
tags: string[];
|
|
3114
3129
|
lines: {
|
|
3115
3130
|
id: string;
|
|
3116
3131
|
source_ref: {
|
|
@@ -3346,6 +3361,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
3346
3361
|
refunded_amount: number;
|
|
3347
3362
|
currency: string;
|
|
3348
3363
|
note?: string | undefined;
|
|
3364
|
+
tags: string[];
|
|
3349
3365
|
lines: {
|
|
3350
3366
|
id: string;
|
|
3351
3367
|
source_ref: {
|
|
@@ -3760,6 +3776,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
3760
3776
|
}[];
|
|
3761
3777
|
items: {
|
|
3762
3778
|
id: string;
|
|
3779
|
+
type?: "menu" | "product" | undefined;
|
|
3780
|
+
menu_id?: string | undefined;
|
|
3763
3781
|
quantity: number;
|
|
3764
3782
|
unit_price: number;
|
|
3765
3783
|
total: number;
|
|
@@ -3835,6 +3853,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
3835
3853
|
}[];
|
|
3836
3854
|
items: {
|
|
3837
3855
|
id: string;
|
|
3856
|
+
type?: "menu" | "product" | undefined;
|
|
3857
|
+
menu_id?: string | undefined;
|
|
3838
3858
|
quantity: number;
|
|
3839
3859
|
unit_price: number;
|
|
3840
3860
|
total: number;
|
|
@@ -4007,6 +4027,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
4007
4027
|
}[];
|
|
4008
4028
|
items: {
|
|
4009
4029
|
id: string;
|
|
4030
|
+
type?: "menu" | "product" | undefined;
|
|
4031
|
+
menu_id?: string | undefined;
|
|
4010
4032
|
quantity: number;
|
|
4011
4033
|
unit_price: number;
|
|
4012
4034
|
total: number;
|
|
@@ -4026,7 +4048,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
4026
4048
|
} | undefined): import("../types/api").RequestData<{
|
|
4027
4049
|
id: string;
|
|
4028
4050
|
name: string;
|
|
4029
|
-
id_parent?: string | undefined;
|
|
4030
4051
|
code?: string | undefined;
|
|
4031
4052
|
ledger_account_code?: string | undefined;
|
|
4032
4053
|
posting_account_code?: string | undefined;
|
|
@@ -4087,6 +4108,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
4087
4108
|
id?: string | undefined;
|
|
4088
4109
|
model?: string | undefined;
|
|
4089
4110
|
};
|
|
4111
|
+
type?: "menu" | "product" | undefined;
|
|
4112
|
+
menu_id?: string | undefined;
|
|
4090
4113
|
quantity: number;
|
|
4091
4114
|
unit_price: number;
|
|
4092
4115
|
total: number;
|
|
@@ -4144,7 +4167,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
4144
4167
|
model?: string | undefined;
|
|
4145
4168
|
};
|
|
4146
4169
|
name: string;
|
|
4147
|
-
id_parent?: string | undefined;
|
|
4148
4170
|
code?: string | undefined;
|
|
4149
4171
|
ledger_account_code?: string | undefined;
|
|
4150
4172
|
posting_account_code?: string | undefined;
|
|
@@ -4242,6 +4264,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
4242
4264
|
active: boolean;
|
|
4243
4265
|
}[]>;
|
|
4244
4266
|
getClients(params?: {
|
|
4267
|
+
search?: string | undefined;
|
|
4245
4268
|
folder_id?: string | undefined;
|
|
4246
4269
|
} | undefined): import("../types/api").RequestData<{
|
|
4247
4270
|
external_reference?: string | undefined;
|
|
@@ -4460,6 +4483,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
4460
4483
|
id?: string | undefined;
|
|
4461
4484
|
}>;
|
|
4462
4485
|
getSuppliers(params?: {
|
|
4486
|
+
search?: string | undefined;
|
|
4463
4487
|
folder_id?: string | undefined;
|
|
4464
4488
|
} | undefined): import("../types/api").RequestData<{
|
|
4465
4489
|
external_reference?: string | undefined;
|
|
@@ -5637,6 +5661,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
5637
5661
|
}[];
|
|
5638
5662
|
pdf?: string | undefined;
|
|
5639
5663
|
posted: boolean;
|
|
5664
|
+
start_date?: string | undefined;
|
|
5665
|
+
end_date?: string | undefined;
|
|
5640
5666
|
}, params?: {
|
|
5641
5667
|
force_currency_exchange?: "true" | "false" | undefined;
|
|
5642
5668
|
folder_id?: string | undefined;
|
|
@@ -5736,6 +5762,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
5736
5762
|
} | undefined;
|
|
5737
5763
|
last_updated_on?: string | undefined;
|
|
5738
5764
|
outstanding_amount?: number | undefined;
|
|
5765
|
+
accounting_date?: string | undefined;
|
|
5739
5766
|
}[]>;
|
|
5740
5767
|
getInvoiceById(invoiceId: string, params?: {
|
|
5741
5768
|
include_pdf?: "true" | "false" | undefined;
|
|
@@ -5781,6 +5808,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
5781
5808
|
} | undefined;
|
|
5782
5809
|
last_updated_on?: string | undefined;
|
|
5783
5810
|
outstanding_amount?: number | undefined;
|
|
5811
|
+
accounting_date?: string | undefined;
|
|
5784
5812
|
}>;
|
|
5785
5813
|
createInvoice(invoice: {
|
|
5786
5814
|
currency: string;
|
|
@@ -5859,6 +5887,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
5859
5887
|
} | undefined;
|
|
5860
5888
|
last_updated_on?: string | undefined;
|
|
5861
5889
|
outstanding_amount?: number | undefined;
|
|
5890
|
+
accounting_date?: string | undefined;
|
|
5862
5891
|
}>;
|
|
5863
5892
|
getProducts(): import("../types/api").RequestData<{
|
|
5864
5893
|
id: string;
|
|
@@ -6480,6 +6509,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6480
6509
|
refunded_amount: number;
|
|
6481
6510
|
currency: string;
|
|
6482
6511
|
note?: string | undefined;
|
|
6512
|
+
tags: string[];
|
|
6483
6513
|
lines: {
|
|
6484
6514
|
id: string;
|
|
6485
6515
|
source_ref: {
|
|
@@ -6756,6 +6786,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6756
6786
|
refunded_amount: number;
|
|
6757
6787
|
currency: string;
|
|
6758
6788
|
note?: string | undefined;
|
|
6789
|
+
tags: string[];
|
|
6759
6790
|
lines: {
|
|
6760
6791
|
id: string;
|
|
6761
6792
|
source_ref: {
|
|
@@ -6991,6 +7022,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6991
7022
|
refunded_amount: number;
|
|
6992
7023
|
currency: string;
|
|
6993
7024
|
note?: string | undefined;
|
|
7025
|
+
tags: string[];
|
|
6994
7026
|
lines: {
|
|
6995
7027
|
id: string;
|
|
6996
7028
|
source_ref: {
|
|
@@ -7405,6 +7437,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
7405
7437
|
}[];
|
|
7406
7438
|
items: {
|
|
7407
7439
|
id: string;
|
|
7440
|
+
type?: "menu" | "product" | undefined;
|
|
7441
|
+
menu_id?: string | undefined;
|
|
7408
7442
|
quantity: number;
|
|
7409
7443
|
unit_price: number;
|
|
7410
7444
|
total: number;
|
|
@@ -7480,6 +7514,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
7480
7514
|
}[];
|
|
7481
7515
|
items: {
|
|
7482
7516
|
id: string;
|
|
7517
|
+
type?: "menu" | "product" | undefined;
|
|
7518
|
+
menu_id?: string | undefined;
|
|
7483
7519
|
quantity: number;
|
|
7484
7520
|
unit_price: number;
|
|
7485
7521
|
total: number;
|
|
@@ -7652,6 +7688,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
7652
7688
|
}[];
|
|
7653
7689
|
items: {
|
|
7654
7690
|
id: string;
|
|
7691
|
+
type?: "menu" | "product" | undefined;
|
|
7692
|
+
menu_id?: string | undefined;
|
|
7655
7693
|
quantity: number;
|
|
7656
7694
|
unit_price: number;
|
|
7657
7695
|
total: number;
|
|
@@ -7671,7 +7709,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
7671
7709
|
} | undefined): import("../types/api").RequestData<{
|
|
7672
7710
|
id: string;
|
|
7673
7711
|
name: string;
|
|
7674
|
-
id_parent?: string | undefined;
|
|
7675
7712
|
code?: string | undefined;
|
|
7676
7713
|
ledger_account_code?: string | undefined;
|
|
7677
7714
|
posting_account_code?: string | undefined;
|
|
@@ -7732,6 +7769,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
7732
7769
|
id?: string | undefined;
|
|
7733
7770
|
model?: string | undefined;
|
|
7734
7771
|
};
|
|
7772
|
+
type?: "menu" | "product" | undefined;
|
|
7773
|
+
menu_id?: string | undefined;
|
|
7735
7774
|
quantity: number;
|
|
7736
7775
|
unit_price: number;
|
|
7737
7776
|
total: number;
|
|
@@ -7789,7 +7828,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
7789
7828
|
model?: string | undefined;
|
|
7790
7829
|
};
|
|
7791
7830
|
name: string;
|
|
7792
|
-
id_parent?: string | undefined;
|
|
7793
7831
|
code?: string | undefined;
|
|
7794
7832
|
ledger_account_code?: string | undefined;
|
|
7795
7833
|
posting_account_code?: string | undefined;
|
|
@@ -7887,6 +7925,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
7887
7925
|
active: boolean;
|
|
7888
7926
|
}[]>;
|
|
7889
7927
|
getClients(params?: {
|
|
7928
|
+
search?: string | undefined;
|
|
7890
7929
|
folder_id?: string | undefined;
|
|
7891
7930
|
} | undefined): import("../types/api").RequestData<{
|
|
7892
7931
|
external_reference?: string | undefined;
|
|
@@ -8105,6 +8144,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
8105
8144
|
id?: string | undefined;
|
|
8106
8145
|
}>;
|
|
8107
8146
|
getSuppliers(params?: {
|
|
8147
|
+
search?: string | undefined;
|
|
8108
8148
|
folder_id?: string | undefined;
|
|
8109
8149
|
} | undefined): import("../types/api").RequestData<{
|
|
8110
8150
|
external_reference?: string | undefined;
|
|
@@ -9282,6 +9322,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
9282
9322
|
}[];
|
|
9283
9323
|
pdf?: string | undefined;
|
|
9284
9324
|
posted: boolean;
|
|
9325
|
+
start_date?: string | undefined;
|
|
9326
|
+
end_date?: string | undefined;
|
|
9285
9327
|
}, params?: {
|
|
9286
9328
|
force_currency_exchange?: "true" | "false" | undefined;
|
|
9287
9329
|
folder_id?: string | undefined;
|
|
@@ -9381,6 +9423,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
9381
9423
|
} | undefined;
|
|
9382
9424
|
last_updated_on?: string | undefined;
|
|
9383
9425
|
outstanding_amount?: number | undefined;
|
|
9426
|
+
accounting_date?: string | undefined;
|
|
9384
9427
|
}[]>;
|
|
9385
9428
|
getInvoiceById(invoiceId: string, params?: {
|
|
9386
9429
|
include_pdf?: "true" | "false" | undefined;
|
|
@@ -9426,6 +9469,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
9426
9469
|
} | undefined;
|
|
9427
9470
|
last_updated_on?: string | undefined;
|
|
9428
9471
|
outstanding_amount?: number | undefined;
|
|
9472
|
+
accounting_date?: string | undefined;
|
|
9429
9473
|
}>;
|
|
9430
9474
|
createInvoice(invoice: {
|
|
9431
9475
|
currency: string;
|
|
@@ -9504,6 +9548,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
9504
9548
|
} | undefined;
|
|
9505
9549
|
last_updated_on?: string | undefined;
|
|
9506
9550
|
outstanding_amount?: number | undefined;
|
|
9551
|
+
accounting_date?: string | undefined;
|
|
9507
9552
|
}>;
|
|
9508
9553
|
getProducts(): import("../types/api").RequestData<{
|
|
9509
9554
|
id: string;
|
|
@@ -10125,6 +10170,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
10125
10170
|
refunded_amount: number;
|
|
10126
10171
|
currency: string;
|
|
10127
10172
|
note?: string | undefined;
|
|
10173
|
+
tags: string[];
|
|
10128
10174
|
lines: {
|
|
10129
10175
|
id: string;
|
|
10130
10176
|
source_ref: {
|
|
@@ -10401,6 +10447,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
10401
10447
|
refunded_amount: number;
|
|
10402
10448
|
currency: string;
|
|
10403
10449
|
note?: string | undefined;
|
|
10450
|
+
tags: string[];
|
|
10404
10451
|
lines: {
|
|
10405
10452
|
id: string;
|
|
10406
10453
|
source_ref: {
|
|
@@ -10636,6 +10683,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
10636
10683
|
refunded_amount: number;
|
|
10637
10684
|
currency: string;
|
|
10638
10685
|
note?: string | undefined;
|
|
10686
|
+
tags: string[];
|
|
10639
10687
|
lines: {
|
|
10640
10688
|
id: string;
|
|
10641
10689
|
source_ref: {
|
|
@@ -11050,6 +11098,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11050
11098
|
}[];
|
|
11051
11099
|
items: {
|
|
11052
11100
|
id: string;
|
|
11101
|
+
type?: "menu" | "product" | undefined;
|
|
11102
|
+
menu_id?: string | undefined;
|
|
11053
11103
|
quantity: number;
|
|
11054
11104
|
unit_price: number;
|
|
11055
11105
|
total: number;
|
|
@@ -11125,6 +11175,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11125
11175
|
}[];
|
|
11126
11176
|
items: {
|
|
11127
11177
|
id: string;
|
|
11178
|
+
type?: "menu" | "product" | undefined;
|
|
11179
|
+
menu_id?: string | undefined;
|
|
11128
11180
|
quantity: number;
|
|
11129
11181
|
unit_price: number;
|
|
11130
11182
|
total: number;
|
|
@@ -11297,6 +11349,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11297
11349
|
}[];
|
|
11298
11350
|
items: {
|
|
11299
11351
|
id: string;
|
|
11352
|
+
type?: "menu" | "product" | undefined;
|
|
11353
|
+
menu_id?: string | undefined;
|
|
11300
11354
|
quantity: number;
|
|
11301
11355
|
unit_price: number;
|
|
11302
11356
|
total: number;
|
|
@@ -11316,7 +11370,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11316
11370
|
} | undefined): import("../types/api").RequestData<{
|
|
11317
11371
|
id: string;
|
|
11318
11372
|
name: string;
|
|
11319
|
-
id_parent?: string | undefined;
|
|
11320
11373
|
code?: string | undefined;
|
|
11321
11374
|
ledger_account_code?: string | undefined;
|
|
11322
11375
|
posting_account_code?: string | undefined;
|
|
@@ -11377,6 +11430,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11377
11430
|
id?: string | undefined;
|
|
11378
11431
|
model?: string | undefined;
|
|
11379
11432
|
};
|
|
11433
|
+
type?: "menu" | "product" | undefined;
|
|
11434
|
+
menu_id?: string | undefined;
|
|
11380
11435
|
quantity: number;
|
|
11381
11436
|
unit_price: number;
|
|
11382
11437
|
total: number;
|
|
@@ -11434,7 +11489,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11434
11489
|
model?: string | undefined;
|
|
11435
11490
|
};
|
|
11436
11491
|
name: string;
|
|
11437
|
-
id_parent?: string | undefined;
|
|
11438
11492
|
code?: string | undefined;
|
|
11439
11493
|
ledger_account_code?: string | undefined;
|
|
11440
11494
|
posting_account_code?: string | undefined;
|
|
@@ -11532,6 +11586,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11532
11586
|
active: boolean;
|
|
11533
11587
|
}[]>;
|
|
11534
11588
|
getClients(params?: {
|
|
11589
|
+
search?: string | undefined;
|
|
11535
11590
|
folder_id?: string | undefined;
|
|
11536
11591
|
} | undefined): import("../types/api").RequestData<{
|
|
11537
11592
|
external_reference?: string | undefined;
|
|
@@ -11750,6 +11805,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11750
11805
|
id?: string | undefined;
|
|
11751
11806
|
}>;
|
|
11752
11807
|
getSuppliers(params?: {
|
|
11808
|
+
search?: string | undefined;
|
|
11753
11809
|
folder_id?: string | undefined;
|
|
11754
11810
|
} | undefined): import("../types/api").RequestData<{
|
|
11755
11811
|
external_reference?: string | undefined;
|
|
@@ -12927,6 +12983,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
12927
12983
|
}[];
|
|
12928
12984
|
pdf?: string | undefined;
|
|
12929
12985
|
posted: boolean;
|
|
12986
|
+
start_date?: string | undefined;
|
|
12987
|
+
end_date?: string | undefined;
|
|
12930
12988
|
}, params?: {
|
|
12931
12989
|
force_currency_exchange?: "true" | "false" | undefined;
|
|
12932
12990
|
folder_id?: string | undefined;
|
|
@@ -13026,6 +13084,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
13026
13084
|
} | undefined;
|
|
13027
13085
|
last_updated_on?: string | undefined;
|
|
13028
13086
|
outstanding_amount?: number | undefined;
|
|
13087
|
+
accounting_date?: string | undefined;
|
|
13029
13088
|
}[]>;
|
|
13030
13089
|
getInvoiceById(invoiceId: string, params?: {
|
|
13031
13090
|
include_pdf?: "true" | "false" | undefined;
|
|
@@ -13071,6 +13130,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
13071
13130
|
} | undefined;
|
|
13072
13131
|
last_updated_on?: string | undefined;
|
|
13073
13132
|
outstanding_amount?: number | undefined;
|
|
13133
|
+
accounting_date?: string | undefined;
|
|
13074
13134
|
}>;
|
|
13075
13135
|
createInvoice(invoice: {
|
|
13076
13136
|
currency: string;
|
|
@@ -13149,6 +13209,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
13149
13209
|
} | undefined;
|
|
13150
13210
|
last_updated_on?: string | undefined;
|
|
13151
13211
|
outstanding_amount?: number | undefined;
|
|
13212
|
+
accounting_date?: string | undefined;
|
|
13152
13213
|
}>;
|
|
13153
13214
|
getProducts(): import("../types/api").RequestData<{
|
|
13154
13215
|
id: string;
|
|
@@ -13770,6 +13831,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
13770
13831
|
refunded_amount: number;
|
|
13771
13832
|
currency: string;
|
|
13772
13833
|
note?: string | undefined;
|
|
13834
|
+
tags: string[];
|
|
13773
13835
|
lines: {
|
|
13774
13836
|
id: string;
|
|
13775
13837
|
source_ref: {
|
|
@@ -14046,6 +14108,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
14046
14108
|
refunded_amount: number;
|
|
14047
14109
|
currency: string;
|
|
14048
14110
|
note?: string | undefined;
|
|
14111
|
+
tags: string[];
|
|
14049
14112
|
lines: {
|
|
14050
14113
|
id: string;
|
|
14051
14114
|
source_ref: {
|
|
@@ -14281,6 +14344,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
14281
14344
|
refunded_amount: number;
|
|
14282
14345
|
currency: string;
|
|
14283
14346
|
note?: string | undefined;
|
|
14347
|
+
tags: string[];
|
|
14284
14348
|
lines: {
|
|
14285
14349
|
id: string;
|
|
14286
14350
|
source_ref: {
|
|
@@ -14695,6 +14759,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
14695
14759
|
}[];
|
|
14696
14760
|
items: {
|
|
14697
14761
|
id: string;
|
|
14762
|
+
type?: "menu" | "product" | undefined;
|
|
14763
|
+
menu_id?: string | undefined;
|
|
14698
14764
|
quantity: number;
|
|
14699
14765
|
unit_price: number;
|
|
14700
14766
|
total: number;
|
|
@@ -14770,6 +14836,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
14770
14836
|
}[];
|
|
14771
14837
|
items: {
|
|
14772
14838
|
id: string;
|
|
14839
|
+
type?: "menu" | "product" | undefined;
|
|
14840
|
+
menu_id?: string | undefined;
|
|
14773
14841
|
quantity: number;
|
|
14774
14842
|
unit_price: number;
|
|
14775
14843
|
total: number;
|
|
@@ -14942,6 +15010,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
14942
15010
|
}[];
|
|
14943
15011
|
items: {
|
|
14944
15012
|
id: string;
|
|
15013
|
+
type?: "menu" | "product" | undefined;
|
|
15014
|
+
menu_id?: string | undefined;
|
|
14945
15015
|
quantity: number;
|
|
14946
15016
|
unit_price: number;
|
|
14947
15017
|
total: number;
|
|
@@ -14961,7 +15031,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
14961
15031
|
} | undefined): import("../types/api").RequestData<{
|
|
14962
15032
|
id: string;
|
|
14963
15033
|
name: string;
|
|
14964
|
-
id_parent?: string | undefined;
|
|
14965
15034
|
code?: string | undefined;
|
|
14966
15035
|
ledger_account_code?: string | undefined;
|
|
14967
15036
|
posting_account_code?: string | undefined;
|
|
@@ -15022,6 +15091,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
15022
15091
|
id?: string | undefined;
|
|
15023
15092
|
model?: string | undefined;
|
|
15024
15093
|
};
|
|
15094
|
+
type?: "menu" | "product" | undefined;
|
|
15095
|
+
menu_id?: string | undefined;
|
|
15025
15096
|
quantity: number;
|
|
15026
15097
|
unit_price: number;
|
|
15027
15098
|
total: number;
|
|
@@ -15079,7 +15150,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
15079
15150
|
model?: string | undefined;
|
|
15080
15151
|
};
|
|
15081
15152
|
name: string;
|
|
15082
|
-
id_parent?: string | undefined;
|
|
15083
15153
|
code?: string | undefined;
|
|
15084
15154
|
ledger_account_code?: string | undefined;
|
|
15085
15155
|
posting_account_code?: string | undefined;
|
|
@@ -15177,6 +15247,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
15177
15247
|
active: boolean;
|
|
15178
15248
|
}[]>;
|
|
15179
15249
|
getClients(params?: {
|
|
15250
|
+
search?: string | undefined;
|
|
15180
15251
|
folder_id?: string | undefined;
|
|
15181
15252
|
} | undefined): import("../types/api").RequestData<{
|
|
15182
15253
|
external_reference?: string | undefined;
|
|
@@ -15395,6 +15466,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
15395
15466
|
id?: string | undefined;
|
|
15396
15467
|
}>;
|
|
15397
15468
|
getSuppliers(params?: {
|
|
15469
|
+
search?: string | undefined;
|
|
15398
15470
|
folder_id?: string | undefined;
|
|
15399
15471
|
} | undefined): import("../types/api").RequestData<{
|
|
15400
15472
|
external_reference?: string | undefined;
|
|
@@ -16572,6 +16644,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16572
16644
|
}[];
|
|
16573
16645
|
pdf?: string | undefined;
|
|
16574
16646
|
posted: boolean;
|
|
16647
|
+
start_date?: string | undefined;
|
|
16648
|
+
end_date?: string | undefined;
|
|
16575
16649
|
}, params?: {
|
|
16576
16650
|
force_currency_exchange?: "true" | "false" | undefined;
|
|
16577
16651
|
folder_id?: string | undefined;
|
|
@@ -16671,6 +16745,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16671
16745
|
} | undefined;
|
|
16672
16746
|
last_updated_on?: string | undefined;
|
|
16673
16747
|
outstanding_amount?: number | undefined;
|
|
16748
|
+
accounting_date?: string | undefined;
|
|
16674
16749
|
}[]>;
|
|
16675
16750
|
getInvoiceById(invoiceId: string, params?: {
|
|
16676
16751
|
include_pdf?: "true" | "false" | undefined;
|
|
@@ -16716,6 +16791,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16716
16791
|
} | undefined;
|
|
16717
16792
|
last_updated_on?: string | undefined;
|
|
16718
16793
|
outstanding_amount?: number | undefined;
|
|
16794
|
+
accounting_date?: string | undefined;
|
|
16719
16795
|
}>;
|
|
16720
16796
|
createInvoice(invoice: {
|
|
16721
16797
|
currency: string;
|
|
@@ -16794,6 +16870,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16794
16870
|
} | undefined;
|
|
16795
16871
|
last_updated_on?: string | undefined;
|
|
16796
16872
|
outstanding_amount?: number | undefined;
|
|
16873
|
+
accounting_date?: string | undefined;
|
|
16797
16874
|
}>;
|
|
16798
16875
|
getProducts(): import("../types/api").RequestData<{
|
|
16799
16876
|
id: string;
|
|
@@ -17415,6 +17492,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
17415
17492
|
refunded_amount: number;
|
|
17416
17493
|
currency: string;
|
|
17417
17494
|
note?: string | undefined;
|
|
17495
|
+
tags: string[];
|
|
17418
17496
|
lines: {
|
|
17419
17497
|
id: string;
|
|
17420
17498
|
source_ref: {
|
|
@@ -17691,6 +17769,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
17691
17769
|
refunded_amount: number;
|
|
17692
17770
|
currency: string;
|
|
17693
17771
|
note?: string | undefined;
|
|
17772
|
+
tags: string[];
|
|
17694
17773
|
lines: {
|
|
17695
17774
|
id: string;
|
|
17696
17775
|
source_ref: {
|
|
@@ -17926,6 +18005,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
17926
18005
|
refunded_amount: number;
|
|
17927
18006
|
currency: string;
|
|
17928
18007
|
note?: string | undefined;
|
|
18008
|
+
tags: string[];
|
|
17929
18009
|
lines: {
|
|
17930
18010
|
id: string;
|
|
17931
18011
|
source_ref: {
|