@chift/chift-nodejs 1.0.15 → 1.0.16

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.
@@ -100,6 +100,7 @@ export declare class API {
100
100
  tax_amount: number;
101
101
  total: number;
102
102
  }[] | undefined;
103
+ guests?: number | undefined;
103
104
  payments: {
104
105
  id?: string | undefined;
105
106
  payment_method_id?: string | undefined;
@@ -173,6 +174,7 @@ export declare class API {
173
174
  tax_amount: number;
174
175
  total: number;
175
176
  }[] | undefined;
177
+ guests?: number | undefined;
176
178
  payments: {
177
179
  id?: string | undefined;
178
180
  payment_method_id?: string | undefined;
@@ -343,6 +345,7 @@ export declare class API {
343
345
  tax_amount: number;
344
346
  total: number;
345
347
  }[] | undefined;
348
+ guests?: number | undefined;
346
349
  payments: {
347
350
  id?: string | undefined;
348
351
  payment_method_id?: string | undefined;
@@ -425,6 +428,7 @@ export declare class API {
425
428
  tax_amount: number;
426
429
  total: number;
427
430
  }[] | undefined;
431
+ guests?: number | undefined;
428
432
  items: {
429
433
  id: string;
430
434
  source_ref: {
@@ -2662,6 +2666,7 @@ export declare class API {
2662
2666
  updated_after?: string | undefined;
2663
2667
  include_detailed_refunds?: "true" | "false" | undefined;
2664
2668
  include_product_categories?: "true" | "false" | undefined;
2669
+ include_customer_details?: "true" | "false" | undefined;
2665
2670
  } | undefined): import("../types/api").RequestData<{
2666
2671
  id: string;
2667
2672
  source_ref: {
@@ -2757,6 +2762,7 @@ export declare class API {
2757
2762
  }[] | undefined;
2758
2763
  transactions?: {
2759
2764
  id: string;
2765
+ created_on?: string | undefined;
2760
2766
  payment_method_id?: string | undefined;
2761
2767
  payment_method_name?: string | undefined;
2762
2768
  amount: number;
@@ -2818,6 +2824,7 @@ export declare class API {
2818
2824
  payment_method_id?: string | undefined;
2819
2825
  transactions?: {
2820
2826
  id: string;
2827
+ created_on?: string | undefined;
2821
2828
  payment_method_id?: string | undefined;
2822
2829
  payment_method_name?: string | undefined;
2823
2830
  amount: number;
@@ -2964,6 +2971,7 @@ export declare class API {
2964
2971
  }[] | undefined;
2965
2972
  transactions?: {
2966
2973
  id: string;
2974
+ created_on?: string | undefined;
2967
2975
  payment_method_id?: string | undefined;
2968
2976
  payment_method_name?: string | undefined;
2969
2977
  amount: number;
@@ -3025,6 +3033,7 @@ export declare class API {
3025
3033
  payment_method_id?: string | undefined;
3026
3034
  transactions?: {
3027
3035
  id: string;
3036
+ created_on?: string | undefined;
3028
3037
  payment_method_id?: string | undefined;
3029
3038
  payment_method_name?: string | undefined;
3030
3039
  amount: number;
@@ -3130,6 +3139,7 @@ export declare class API {
3130
3139
  }[] | undefined;
3131
3140
  transactions?: {
3132
3141
  id: string;
3142
+ created_on?: string | undefined;
3133
3143
  payment_method_id?: string | undefined;
3134
3144
  payment_method_name?: string | undefined;
3135
3145
  amount: number;
@@ -3191,6 +3201,7 @@ export declare class API {
3191
3201
  payment_method_id?: string | undefined;
3192
3202
  transactions?: {
3193
3203
  id: string;
3204
+ created_on?: string | undefined;
3194
3205
  payment_method_id?: string | undefined;
3195
3206
  payment_method_name?: string | undefined;
3196
3207
  amount: number;
@@ -3428,6 +3439,7 @@ export declare class API {
3428
3439
  tax_amount: number;
3429
3440
  total: number;
3430
3441
  }[] | undefined;
3442
+ guests?: number | undefined;
3431
3443
  payments: {
3432
3444
  id?: string | undefined;
3433
3445
  payment_method_id?: string | undefined;
@@ -3501,6 +3513,7 @@ export declare class API {
3501
3513
  tax_amount: number;
3502
3514
  total: number;
3503
3515
  }[] | undefined;
3516
+ guests?: number | undefined;
3504
3517
  payments: {
3505
3518
  id?: string | undefined;
3506
3519
  payment_method_id?: string | undefined;
@@ -3671,6 +3684,7 @@ export declare class API {
3671
3684
  tax_amount: number;
3672
3685
  total: number;
3673
3686
  }[] | undefined;
3687
+ guests?: number | undefined;
3674
3688
  payments: {
3675
3689
  id?: string | undefined;
3676
3690
  payment_method_id?: string | undefined;
@@ -3753,6 +3767,7 @@ export declare class API {
3753
3767
  tax_amount: number;
3754
3768
  total: number;
3755
3769
  }[] | undefined;
3770
+ guests?: number | undefined;
3756
3771
  items: {
3757
3772
  id: string;
3758
3773
  source_ref: {
@@ -5990,6 +6005,7 @@ export declare class API {
5990
6005
  updated_after?: string | undefined;
5991
6006
  include_detailed_refunds?: "true" | "false" | undefined;
5992
6007
  include_product_categories?: "true" | "false" | undefined;
6008
+ include_customer_details?: "true" | "false" | undefined;
5993
6009
  } | undefined): import("../types/api").RequestData<{
5994
6010
  id: string;
5995
6011
  source_ref: {
@@ -6085,6 +6101,7 @@ export declare class API {
6085
6101
  }[] | undefined;
6086
6102
  transactions?: {
6087
6103
  id: string;
6104
+ created_on?: string | undefined;
6088
6105
  payment_method_id?: string | undefined;
6089
6106
  payment_method_name?: string | undefined;
6090
6107
  amount: number;
@@ -6146,6 +6163,7 @@ export declare class API {
6146
6163
  payment_method_id?: string | undefined;
6147
6164
  transactions?: {
6148
6165
  id: string;
6166
+ created_on?: string | undefined;
6149
6167
  payment_method_id?: string | undefined;
6150
6168
  payment_method_name?: string | undefined;
6151
6169
  amount: number;
@@ -6292,6 +6310,7 @@ export declare class API {
6292
6310
  }[] | undefined;
6293
6311
  transactions?: {
6294
6312
  id: string;
6313
+ created_on?: string | undefined;
6295
6314
  payment_method_id?: string | undefined;
6296
6315
  payment_method_name?: string | undefined;
6297
6316
  amount: number;
@@ -6353,6 +6372,7 @@ export declare class API {
6353
6372
  payment_method_id?: string | undefined;
6354
6373
  transactions?: {
6355
6374
  id: string;
6375
+ created_on?: string | undefined;
6356
6376
  payment_method_id?: string | undefined;
6357
6377
  payment_method_name?: string | undefined;
6358
6378
  amount: number;
@@ -6458,6 +6478,7 @@ export declare class API {
6458
6478
  }[] | undefined;
6459
6479
  transactions?: {
6460
6480
  id: string;
6481
+ created_on?: string | undefined;
6461
6482
  payment_method_id?: string | undefined;
6462
6483
  payment_method_name?: string | undefined;
6463
6484
  amount: number;
@@ -6519,6 +6540,7 @@ export declare class API {
6519
6540
  payment_method_id?: string | undefined;
6520
6541
  transactions?: {
6521
6542
  id: string;
6543
+ created_on?: string | undefined;
6522
6544
  payment_method_id?: string | undefined;
6523
6545
  payment_method_name?: string | undefined;
6524
6546
  amount: number;
@@ -6752,6 +6774,7 @@ export declare class API {
6752
6774
  tax_amount: number;
6753
6775
  total: number;
6754
6776
  }[] | undefined;
6777
+ guests?: number | undefined;
6755
6778
  payments: {
6756
6779
  id?: string | undefined;
6757
6780
  payment_method_id?: string | undefined;
@@ -6825,6 +6848,7 @@ export declare class API {
6825
6848
  tax_amount: number;
6826
6849
  total: number;
6827
6850
  }[] | undefined;
6851
+ guests?: number | undefined;
6828
6852
  payments: {
6829
6853
  id?: string | undefined;
6830
6854
  payment_method_id?: string | undefined;
@@ -6995,6 +7019,7 @@ export declare class API {
6995
7019
  tax_amount: number;
6996
7020
  total: number;
6997
7021
  }[] | undefined;
7022
+ guests?: number | undefined;
6998
7023
  payments: {
6999
7024
  id?: string | undefined;
7000
7025
  payment_method_id?: string | undefined;
@@ -7077,6 +7102,7 @@ export declare class API {
7077
7102
  tax_amount: number;
7078
7103
  total: number;
7079
7104
  }[] | undefined;
7105
+ guests?: number | undefined;
7080
7106
  items: {
7081
7107
  id: string;
7082
7108
  source_ref: {
@@ -9314,6 +9340,7 @@ export declare class API {
9314
9340
  updated_after?: string | undefined;
9315
9341
  include_detailed_refunds?: "true" | "false" | undefined;
9316
9342
  include_product_categories?: "true" | "false" | undefined;
9343
+ include_customer_details?: "true" | "false" | undefined;
9317
9344
  } | undefined): import("../types/api").RequestData<{
9318
9345
  id: string;
9319
9346
  source_ref: {
@@ -9409,6 +9436,7 @@ export declare class API {
9409
9436
  }[] | undefined;
9410
9437
  transactions?: {
9411
9438
  id: string;
9439
+ created_on?: string | undefined;
9412
9440
  payment_method_id?: string | undefined;
9413
9441
  payment_method_name?: string | undefined;
9414
9442
  amount: number;
@@ -9470,6 +9498,7 @@ export declare class API {
9470
9498
  payment_method_id?: string | undefined;
9471
9499
  transactions?: {
9472
9500
  id: string;
9501
+ created_on?: string | undefined;
9473
9502
  payment_method_id?: string | undefined;
9474
9503
  payment_method_name?: string | undefined;
9475
9504
  amount: number;
@@ -9616,6 +9645,7 @@ export declare class API {
9616
9645
  }[] | undefined;
9617
9646
  transactions?: {
9618
9647
  id: string;
9648
+ created_on?: string | undefined;
9619
9649
  payment_method_id?: string | undefined;
9620
9650
  payment_method_name?: string | undefined;
9621
9651
  amount: number;
@@ -9677,6 +9707,7 @@ export declare class API {
9677
9707
  payment_method_id?: string | undefined;
9678
9708
  transactions?: {
9679
9709
  id: string;
9710
+ created_on?: string | undefined;
9680
9711
  payment_method_id?: string | undefined;
9681
9712
  payment_method_name?: string | undefined;
9682
9713
  amount: number;
@@ -9782,6 +9813,7 @@ export declare class API {
9782
9813
  }[] | undefined;
9783
9814
  transactions?: {
9784
9815
  id: string;
9816
+ created_on?: string | undefined;
9785
9817
  payment_method_id?: string | undefined;
9786
9818
  payment_method_name?: string | undefined;
9787
9819
  amount: number;
@@ -9843,6 +9875,7 @@ export declare class API {
9843
9875
  payment_method_id?: string | undefined;
9844
9876
  transactions?: {
9845
9877
  id: string;
9878
+ created_on?: string | undefined;
9846
9879
  payment_method_id?: string | undefined;
9847
9880
  payment_method_name?: string | undefined;
9848
9881
  amount: number;
@@ -10076,6 +10109,7 @@ export declare class API {
10076
10109
  tax_amount: number;
10077
10110
  total: number;
10078
10111
  }[] | undefined;
10112
+ guests?: number | undefined;
10079
10113
  payments: {
10080
10114
  id?: string | undefined;
10081
10115
  payment_method_id?: string | undefined;
@@ -10149,6 +10183,7 @@ export declare class API {
10149
10183
  tax_amount: number;
10150
10184
  total: number;
10151
10185
  }[] | undefined;
10186
+ guests?: number | undefined;
10152
10187
  payments: {
10153
10188
  id?: string | undefined;
10154
10189
  payment_method_id?: string | undefined;
@@ -10319,6 +10354,7 @@ export declare class API {
10319
10354
  tax_amount: number;
10320
10355
  total: number;
10321
10356
  }[] | undefined;
10357
+ guests?: number | undefined;
10322
10358
  payments: {
10323
10359
  id?: string | undefined;
10324
10360
  payment_method_id?: string | undefined;
@@ -10401,6 +10437,7 @@ export declare class API {
10401
10437
  tax_amount: number;
10402
10438
  total: number;
10403
10439
  }[] | undefined;
10440
+ guests?: number | undefined;
10404
10441
  items: {
10405
10442
  id: string;
10406
10443
  source_ref: {
@@ -12638,6 +12675,7 @@ export declare class API {
12638
12675
  updated_after?: string | undefined;
12639
12676
  include_detailed_refunds?: "true" | "false" | undefined;
12640
12677
  include_product_categories?: "true" | "false" | undefined;
12678
+ include_customer_details?: "true" | "false" | undefined;
12641
12679
  } | undefined): import("../types/api").RequestData<{
12642
12680
  id: string;
12643
12681
  source_ref: {
@@ -12733,6 +12771,7 @@ export declare class API {
12733
12771
  }[] | undefined;
12734
12772
  transactions?: {
12735
12773
  id: string;
12774
+ created_on?: string | undefined;
12736
12775
  payment_method_id?: string | undefined;
12737
12776
  payment_method_name?: string | undefined;
12738
12777
  amount: number;
@@ -12794,6 +12833,7 @@ export declare class API {
12794
12833
  payment_method_id?: string | undefined;
12795
12834
  transactions?: {
12796
12835
  id: string;
12836
+ created_on?: string | undefined;
12797
12837
  payment_method_id?: string | undefined;
12798
12838
  payment_method_name?: string | undefined;
12799
12839
  amount: number;
@@ -12940,6 +12980,7 @@ export declare class API {
12940
12980
  }[] | undefined;
12941
12981
  transactions?: {
12942
12982
  id: string;
12983
+ created_on?: string | undefined;
12943
12984
  payment_method_id?: string | undefined;
12944
12985
  payment_method_name?: string | undefined;
12945
12986
  amount: number;
@@ -13001,6 +13042,7 @@ export declare class API {
13001
13042
  payment_method_id?: string | undefined;
13002
13043
  transactions?: {
13003
13044
  id: string;
13045
+ created_on?: string | undefined;
13004
13046
  payment_method_id?: string | undefined;
13005
13047
  payment_method_name?: string | undefined;
13006
13048
  amount: number;
@@ -13106,6 +13148,7 @@ export declare class API {
13106
13148
  }[] | undefined;
13107
13149
  transactions?: {
13108
13150
  id: string;
13151
+ created_on?: string | undefined;
13109
13152
  payment_method_id?: string | undefined;
13110
13153
  payment_method_name?: string | undefined;
13111
13154
  amount: number;
@@ -13167,6 +13210,7 @@ export declare class API {
13167
13210
  payment_method_id?: string | undefined;
13168
13211
  transactions?: {
13169
13212
  id: string;
13213
+ created_on?: string | undefined;
13170
13214
  payment_method_id?: string | undefined;
13171
13215
  payment_method_name?: string | undefined;
13172
13216
  amount: number;
@@ -13404,6 +13448,7 @@ export declare class API {
13404
13448
  tax_amount: number;
13405
13449
  total: number;
13406
13450
  }[] | undefined;
13451
+ guests?: number | undefined;
13407
13452
  payments: {
13408
13453
  id?: string | undefined;
13409
13454
  payment_method_id?: string | undefined;
@@ -13477,6 +13522,7 @@ export declare class API {
13477
13522
  tax_amount: number;
13478
13523
  total: number;
13479
13524
  }[] | undefined;
13525
+ guests?: number | undefined;
13480
13526
  payments: {
13481
13527
  id?: string | undefined;
13482
13528
  payment_method_id?: string | undefined;
@@ -13647,6 +13693,7 @@ export declare class API {
13647
13693
  tax_amount: number;
13648
13694
  total: number;
13649
13695
  }[] | undefined;
13696
+ guests?: number | undefined;
13650
13697
  payments: {
13651
13698
  id?: string | undefined;
13652
13699
  payment_method_id?: string | undefined;
@@ -13729,6 +13776,7 @@ export declare class API {
13729
13776
  tax_amount: number;
13730
13777
  total: number;
13731
13778
  }[] | undefined;
13779
+ guests?: number | undefined;
13732
13780
  items: {
13733
13781
  id: string;
13734
13782
  source_ref: {
@@ -15966,6 +16014,7 @@ export declare class API {
15966
16014
  updated_after?: string | undefined;
15967
16015
  include_detailed_refunds?: "true" | "false" | undefined;
15968
16016
  include_product_categories?: "true" | "false" | undefined;
16017
+ include_customer_details?: "true" | "false" | undefined;
15969
16018
  } | undefined): import("../types/api").RequestData<{
15970
16019
  id: string;
15971
16020
  source_ref: {
@@ -16061,6 +16110,7 @@ export declare class API {
16061
16110
  }[] | undefined;
16062
16111
  transactions?: {
16063
16112
  id: string;
16113
+ created_on?: string | undefined;
16064
16114
  payment_method_id?: string | undefined;
16065
16115
  payment_method_name?: string | undefined;
16066
16116
  amount: number;
@@ -16122,6 +16172,7 @@ export declare class API {
16122
16172
  payment_method_id?: string | undefined;
16123
16173
  transactions?: {
16124
16174
  id: string;
16175
+ created_on?: string | undefined;
16125
16176
  payment_method_id?: string | undefined;
16126
16177
  payment_method_name?: string | undefined;
16127
16178
  amount: number;
@@ -16268,6 +16319,7 @@ export declare class API {
16268
16319
  }[] | undefined;
16269
16320
  transactions?: {
16270
16321
  id: string;
16322
+ created_on?: string | undefined;
16271
16323
  payment_method_id?: string | undefined;
16272
16324
  payment_method_name?: string | undefined;
16273
16325
  amount: number;
@@ -16329,6 +16381,7 @@ export declare class API {
16329
16381
  payment_method_id?: string | undefined;
16330
16382
  transactions?: {
16331
16383
  id: string;
16384
+ created_on?: string | undefined;
16332
16385
  payment_method_id?: string | undefined;
16333
16386
  payment_method_name?: string | undefined;
16334
16387
  amount: number;
@@ -16434,6 +16487,7 @@ export declare class API {
16434
16487
  }[] | undefined;
16435
16488
  transactions?: {
16436
16489
  id: string;
16490
+ created_on?: string | undefined;
16437
16491
  payment_method_id?: string | undefined;
16438
16492
  payment_method_name?: string | undefined;
16439
16493
  amount: number;
@@ -16495,6 +16549,7 @@ export declare class API {
16495
16549
  payment_method_id?: string | undefined;
16496
16550
  transactions?: {
16497
16551
  id: string;
16552
+ created_on?: string | undefined;
16498
16553
  payment_method_id?: string | undefined;
16499
16554
  payment_method_name?: string | undefined;
16500
16555
  amount: number;
@@ -16648,6 +16703,11 @@ export declare class API {
16648
16703
  api: "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Communication" | "Banking" | "Custom" | "Payment" | "Property Management System";
16649
16704
  logo_url: string;
16650
16705
  icon_url: string;
16706
+ post_connections?: {
16707
+ title: string;
16708
+ optional: boolean;
16709
+ resource: string;
16710
+ }[] | undefined;
16651
16711
  credentials?: {
16652
16712
  name: string;
16653
16713
  optional?: boolean | undefined;
@@ -17,7 +17,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
17
17
  status: "up" | "down";
18
18
  } | undefined;
19
19
  }[]>;
20
- createConnection: (body?: components['schemas']['PostConnectionItem']) => Promise<{
20
+ createConnection: (body?: components['schemas']['app__routers__connections__PostConnectionItem']) => Promise<{
21
21
  url: string;
22
22
  }>;
23
23
  updateConnection: (connectionId: string, body?: components['schemas']['PatchConnectionItem']) => Promise<{
@@ -76,6 +76,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
76
76
  tax_amount: number;
77
77
  total: number;
78
78
  }[] | undefined;
79
+ guests?: number | undefined;
79
80
  payments: {
80
81
  id?: string | undefined;
81
82
  payment_method_id?: string | undefined;
@@ -149,6 +150,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
149
150
  tax_amount: number;
150
151
  total: number;
151
152
  }[] | undefined;
153
+ guests?: number | undefined;
152
154
  payments: {
153
155
  id?: string | undefined;
154
156
  payment_method_id?: string | undefined;
@@ -319,6 +321,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
319
321
  tax_amount: number;
320
322
  total: number;
321
323
  }[] | undefined;
324
+ guests?: number | undefined;
322
325
  payments: {
323
326
  id?: string | undefined;
324
327
  payment_method_id?: string | undefined;
@@ -401,6 +404,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
401
404
  tax_amount: number;
402
405
  total: number;
403
406
  }[] | undefined;
407
+ guests?: number | undefined;
404
408
  items: {
405
409
  id: string;
406
410
  source_ref: {
@@ -2638,6 +2642,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
2638
2642
  updated_after?: string | undefined;
2639
2643
  include_detailed_refunds?: "true" | "false" | undefined;
2640
2644
  include_product_categories?: "true" | "false" | undefined;
2645
+ include_customer_details?: "true" | "false" | undefined;
2641
2646
  } | undefined): import("../types/api").RequestData<{
2642
2647
  id: string;
2643
2648
  source_ref: {
@@ -2733,6 +2738,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
2733
2738
  }[] | undefined;
2734
2739
  transactions?: {
2735
2740
  id: string;
2741
+ created_on?: string | undefined;
2736
2742
  payment_method_id?: string | undefined;
2737
2743
  payment_method_name?: string | undefined;
2738
2744
  amount: number;
@@ -2794,6 +2800,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
2794
2800
  payment_method_id?: string | undefined;
2795
2801
  transactions?: {
2796
2802
  id: string;
2803
+ created_on?: string | undefined;
2797
2804
  payment_method_id?: string | undefined;
2798
2805
  payment_method_name?: string | undefined;
2799
2806
  amount: number;
@@ -2940,6 +2947,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
2940
2947
  }[] | undefined;
2941
2948
  transactions?: {
2942
2949
  id: string;
2950
+ created_on?: string | undefined;
2943
2951
  payment_method_id?: string | undefined;
2944
2952
  payment_method_name?: string | undefined;
2945
2953
  amount: number;
@@ -3001,6 +3009,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
3001
3009
  payment_method_id?: string | undefined;
3002
3010
  transactions?: {
3003
3011
  id: string;
3012
+ created_on?: string | undefined;
3004
3013
  payment_method_id?: string | undefined;
3005
3014
  payment_method_name?: string | undefined;
3006
3015
  amount: number;
@@ -3106,6 +3115,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
3106
3115
  }[] | undefined;
3107
3116
  transactions?: {
3108
3117
  id: string;
3118
+ created_on?: string | undefined;
3109
3119
  payment_method_id?: string | undefined;
3110
3120
  payment_method_name?: string | undefined;
3111
3121
  amount: number;
@@ -3167,6 +3177,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
3167
3177
  payment_method_id?: string | undefined;
3168
3178
  transactions?: {
3169
3179
  id: string;
3180
+ created_on?: string | undefined;
3170
3181
  payment_method_id?: string | undefined;
3171
3182
  payment_method_name?: string | undefined;
3172
3183
  amount: number;