@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.
@@ -93,6 +93,8 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
93
93
  }[];
94
94
  items: {
95
95
  id: string;
96
+ type?: "menu" | "product" | undefined;
97
+ menu_id?: string | undefined;
96
98
  quantity: number;
97
99
  unit_price: number;
98
100
  total: number;
@@ -168,6 +170,8 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
168
170
  }[];
169
171
  items: {
170
172
  id: string;
173
+ type?: "menu" | "product" | undefined;
174
+ menu_id?: string | undefined;
171
175
  quantity: number;
172
176
  unit_price: number;
173
177
  total: number;
@@ -340,6 +344,8 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
340
344
  }[];
341
345
  items: {
342
346
  id: string;
347
+ type?: "menu" | "product" | undefined;
348
+ menu_id?: string | undefined;
343
349
  quantity: number;
344
350
  unit_price: number;
345
351
  total: number;
@@ -359,7 +365,6 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
359
365
  } | undefined): import("../types/api").RequestData<{
360
366
  id: string;
361
367
  name: string;
362
- id_parent?: string | undefined;
363
368
  code?: string | undefined;
364
369
  ledger_account_code?: string | undefined;
365
370
  posting_account_code?: string | undefined;
@@ -420,6 +425,8 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
420
425
  id?: string | undefined;
421
426
  model?: string | undefined;
422
427
  };
428
+ type?: "menu" | "product" | undefined;
429
+ menu_id?: string | undefined;
423
430
  quantity: number;
424
431
  unit_price: number;
425
432
  total: number;
@@ -477,7 +484,6 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
477
484
  model?: string | undefined;
478
485
  };
479
486
  name: string;
480
- id_parent?: string | undefined;
481
487
  code?: string | undefined;
482
488
  ledger_account_code?: string | undefined;
483
489
  posting_account_code?: string | undefined;
@@ -575,6 +581,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
575
581
  active: boolean;
576
582
  }[]>;
577
583
  getClients(params?: {
584
+ search?: string | undefined;
578
585
  folder_id?: string | undefined;
579
586
  } | undefined): import("../types/api").RequestData<{
580
587
  external_reference?: string | undefined;
@@ -793,6 +800,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
793
800
  id?: string | undefined;
794
801
  }>;
795
802
  getSuppliers(params?: {
803
+ search?: string | undefined;
796
804
  folder_id?: string | undefined;
797
805
  } | undefined): import("../types/api").RequestData<{
798
806
  external_reference?: string | undefined;
@@ -1970,6 +1978,8 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
1970
1978
  }[];
1971
1979
  pdf?: string | undefined;
1972
1980
  posted: boolean;
1981
+ start_date?: string | undefined;
1982
+ end_date?: string | undefined;
1973
1983
  }, params?: {
1974
1984
  force_currency_exchange?: "true" | "false" | undefined;
1975
1985
  folder_id?: string | undefined;
@@ -2069,6 +2079,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
2069
2079
  } | undefined;
2070
2080
  last_updated_on?: string | undefined;
2071
2081
  outstanding_amount?: number | undefined;
2082
+ accounting_date?: string | undefined;
2072
2083
  }[]>;
2073
2084
  getInvoiceById(invoiceId: string, params?: {
2074
2085
  include_pdf?: "true" | "false" | undefined;
@@ -2114,6 +2125,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
2114
2125
  } | undefined;
2115
2126
  last_updated_on?: string | undefined;
2116
2127
  outstanding_amount?: number | undefined;
2128
+ accounting_date?: string | undefined;
2117
2129
  }>;
2118
2130
  createInvoice(invoice: {
2119
2131
  currency: string;
@@ -2192,6 +2204,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
2192
2204
  } | undefined;
2193
2205
  last_updated_on?: string | undefined;
2194
2206
  outstanding_amount?: number | undefined;
2207
+ accounting_date?: string | undefined;
2195
2208
  }>;
2196
2209
  getProducts(): import("../types/api").RequestData<{
2197
2210
  id: string;
@@ -2813,6 +2826,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
2813
2826
  refunded_amount: number;
2814
2827
  currency: string;
2815
2828
  note?: string | undefined;
2829
+ tags: string[];
2816
2830
  lines: {
2817
2831
  id: string;
2818
2832
  source_ref: {
@@ -3089,6 +3103,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
3089
3103
  refunded_amount: number;
3090
3104
  currency: string;
3091
3105
  note?: string | undefined;
3106
+ tags: string[];
3092
3107
  lines: {
3093
3108
  id: string;
3094
3109
  source_ref: {
@@ -3324,6 +3339,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
3324
3339
  refunded_amount: number;
3325
3340
  currency: string;
3326
3341
  note?: string | undefined;
3342
+ tags: string[];
3327
3343
  lines: {
3328
3344
  id: string;
3329
3345
  source_ref: {