@chift/chift-nodejs 1.0.19 → 1.0.21

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.
@@ -4,6 +4,26 @@
4
4
  */
5
5
 
6
6
  export interface paths {
7
+ '/token': {
8
+ parameters: {
9
+ query?: never;
10
+ header?: never;
11
+ path?: never;
12
+ cookie?: never;
13
+ };
14
+ get?: never;
15
+ put?: never;
16
+ /**
17
+ * Get access token
18
+ * @description This endpoint allows you to get an access token that can be used as a BEARER token to access the protected endpoints of this APIs. The token is valid for 30 minutes. You can refresh the token by requesting a new token.
19
+ */
20
+ post: operations['generate_access_token_token_post'];
21
+ delete?: never;
22
+ options?: never;
23
+ head?: never;
24
+ patch?: never;
25
+ trace?: never;
26
+ };
7
27
  '/consumers': {
8
28
  parameters: {
9
29
  query?: never;
@@ -378,7 +398,11 @@ export interface paths {
378
398
  delete?: never;
379
399
  options?: never;
380
400
  head?: never;
381
- patch?: never;
401
+ /**
402
+ * Update flow mappings for a specific consumer
403
+ * @description Route that can be used to update the flow mappings for a specific consumer. It will replace the existing configuration with the provided one.
404
+ */
405
+ patch: operations['syncs_update_synctoconsumer'];
382
406
  trace?: never;
383
407
  };
384
408
  '/consumers/{consumerid}/syncs/{syncid}/flows/{flowid}/enable': {
@@ -685,7 +709,7 @@ export interface paths {
685
709
  };
686
710
  /**
687
711
  * Get invoices by type (sale/purchase entries)
688
- * @description Returns a list of invoices by a specific type (=sale/purchase entries). Each line of the invoice will include the analytic account linked to default analytic plan. Optionnaly dates can be defined to retrieve invoice from a certain date to another date
712
+ * @description Returns a list of invoices by a specific type (=sale/purchase entries). Each line of the invoice will include the analytic account linked to default analytic plan. Optionally dates can be defined to retrieve invoice from a certain date to another date
689
713
  */
690
714
  get: operations['accounting_get_invoices_by_type'];
691
715
  put?: never;
@@ -696,7 +720,7 @@ export interface paths {
696
720
  patch?: never;
697
721
  trace?: never;
698
722
  };
699
- '/consumers/{consumer_id}/accounting/invoices/{invoice_id}': {
723
+ '/consumers/{consumer_id}/accounting/invoices/multi-analytic-plans/type/{invoice_type}': {
700
724
  parameters: {
701
725
  query?: never;
702
726
  header?: never;
@@ -704,10 +728,10 @@ export interface paths {
704
728
  cookie?: never;
705
729
  };
706
730
  /**
707
- * Get one invoice (sale/purchase entry)
708
- * @description Returns a specific invoice (sale/purchase entry). Each line will include the analytic account linked to default analytic plan
731
+ * Get invoices by type (sale/purchase entries - Multiple Analytic Plans)
732
+ * @description Returns a list of invoices by a specific type (=sale/purchase entries) with invoice lines including multiple analytic plans. Optionally dates can be defined to retrieve invoice from a certain date to another date
709
733
  */
710
- get: operations['accounting_get_invoice'];
734
+ get: operations['accounting_get_invoices_by_type_multi_analytic_plans'];
711
735
  put?: never;
712
736
  post?: never;
713
737
  delete?: never;
@@ -716,7 +740,7 @@ export interface paths {
716
740
  patch?: never;
717
741
  trace?: never;
718
742
  };
719
- '/consumers/{consumer_id}/accounting/invoices/multi-analytic-plans/{invoice_id}': {
743
+ '/consumers/{consumer_id}/accounting/invoices/{invoice_id}': {
720
744
  parameters: {
721
745
  query?: never;
722
746
  header?: never;
@@ -724,10 +748,10 @@ export interface paths {
724
748
  cookie?: never;
725
749
  };
726
750
  /**
727
- * Get one invoice (sale/purchase entry - Multiple Analytic Plans)
728
- * @description Returns a specific invoice (=sale/purchase entry) with invoice lines including multiple analytic plans
751
+ * Get one invoice (sale/purchase entry)
752
+ * @description Returns a specific invoice (sale/purchase entry). Each line will include the analytic account linked to default analytic plan
729
753
  */
730
- get: operations['accounting_get_invoice_multi_analytic_plans'];
754
+ get: operations['accounting_get_invoice'];
731
755
  put?: never;
732
756
  post?: never;
733
757
  delete?: never;
@@ -736,7 +760,7 @@ export interface paths {
736
760
  patch?: never;
737
761
  trace?: never;
738
762
  };
739
- '/consumers/{consumer_id}/accounting/invoices/multi-analytic-plans/type/{invoice_type}': {
763
+ '/consumers/{consumer_id}/accounting/invoices/multi-analytic-plans/{invoice_id}': {
740
764
  parameters: {
741
765
  query?: never;
742
766
  header?: never;
@@ -744,10 +768,10 @@ export interface paths {
744
768
  cookie?: never;
745
769
  };
746
770
  /**
747
- * Get invoices by type (sale/purchase entries - Multiple Analytic Plans)
748
- * @description Returns a list of invoices by a specific type (=sale/purchase entries) with invoice lines including multiple analytic plans. Optionnaly dates can be defined to retrieve invoice from a certain date to another date
771
+ * Get one invoice (sale/purchase entry - Multiple Analytic Plans)
772
+ * @description Returns a specific invoice (=sale/purchase entry) with invoice lines /oincluding multiple analytic plans
749
773
  */
750
- get: operations['accounting_get_invoices_by_type_multi_analytic_plans'];
774
+ get: operations['accounting_get_invoice_multi_analytic_plans'];
751
775
  put?: never;
752
776
  post?: never;
753
777
  delete?: never;
@@ -877,7 +901,7 @@ export interface paths {
877
901
  };
878
902
  /**
879
903
  * Get journal entries
880
- * @description Returns a list of journal entries. Each item will include the analytic account linked to default analytic plan. Optionnaly, you can retrieve journal entries linked to a specific client/supplier using the partner_id parameter. When retrieving entries linked to a specific client/supplier, some journal items of an entry (e.g. a miscellaneous operation) could be excluding resulting in an unbalanced journal entry.
904
+ * @description Returns a list of journal entries. Each item will include the analytic account linked to default analytic plan. Optionally, you can retrieve journal entries linked to a specific client/supplier using the partner_id parameter. When retrieving entries linked to a specific client/supplier, some journal items of an entry (e.g. a miscellaneous operation) could be excluding resulting in an unbalanced journal entry.
881
905
  */
882
906
  get: operations['accounting_get_journal_entries'];
883
907
  put?: never;
@@ -901,9 +925,29 @@ export interface paths {
901
925
  };
902
926
  /**
903
927
  * Get journal entries (Multiple Analytic Plans)
904
- * @description Returns a list of journal entries with invoice items including multiple analytic plan. Optionnaly, you can retrieve journal entries linked to a specific client/supplier using the partner_id parameter. When retrieving entries linked to a specific client/supplier, some journal items of an entry (e.g. a miscellaneous operation) could be excluding resulting in an unbalanced journal entry.
928
+ * @description Returns a list of journal entries with invoice items including multiple analytic plan.Optionally, you can retrieve journal entries linked to a specific client/supplier using the partner_id parameter. When retrieving entries linked to a specific client/supplier, some journal items of an entry (e.g. a miscellaneous operation) could be excluding resulting in an unbalanced journal entry.
929
+ */
930
+ get: operations['accounting_get_journal_entries_multi_plan'];
931
+ put?: never;
932
+ post?: never;
933
+ delete?: never;
934
+ options?: never;
935
+ head?: never;
936
+ patch?: never;
937
+ trace?: never;
938
+ };
939
+ '/consumers/{consumer_id}/accounting/journal/entries/{journal_entry_id}': {
940
+ parameters: {
941
+ query?: never;
942
+ header?: never;
943
+ path?: never;
944
+ cookie?: never;
945
+ };
946
+ /**
947
+ * Get one journal entry
948
+ * @description Returns a single journal entry by ID.
905
949
  */
906
- get: operations['accounting_get_journal_entries_mutli_plan'];
950
+ get: operations['accounting_get_journal_entry'];
907
951
  put?: never;
908
952
  post?: never;
909
953
  delete?: never;
@@ -1056,6 +1100,26 @@ export interface paths {
1056
1100
  patch?: never;
1057
1101
  trace?: never;
1058
1102
  };
1103
+ '/consumers/{consumer_id}/accounting/matching-multiple': {
1104
+ parameters: {
1105
+ query?: never;
1106
+ header?: never;
1107
+ path?: never;
1108
+ cookie?: never;
1109
+ };
1110
+ get?: never;
1111
+ put?: never;
1112
+ /**
1113
+ * Match multiple entries
1114
+ * @description Match existing entries in the accounting system
1115
+ */
1116
+ post: operations['accounting_match_entries_multiple'];
1117
+ delete?: never;
1118
+ options?: never;
1119
+ head?: never;
1120
+ patch?: never;
1121
+ trace?: never;
1122
+ };
1059
1123
  '/consumers/{consumer_id}/accounting/invoices/pdf/{invoice_id}': {
1060
1124
  parameters: {
1061
1125
  query?: never;
@@ -1076,6 +1140,26 @@ export interface paths {
1076
1140
  patch?: never;
1077
1141
  trace?: never;
1078
1142
  };
1143
+ '/consumers/{consumer_id}/accounting/attachments': {
1144
+ parameters: {
1145
+ query?: never;
1146
+ header?: never;
1147
+ path?: never;
1148
+ cookie?: never;
1149
+ };
1150
+ /**
1151
+ * Get attachments
1152
+ * @description Returns a list of all attachments linked to an accounting entry
1153
+ */
1154
+ get: operations['accounting_get_attachments'];
1155
+ put?: never;
1156
+ post?: never;
1157
+ delete?: never;
1158
+ options?: never;
1159
+ head?: never;
1160
+ patch?: never;
1161
+ trace?: never;
1162
+ };
1079
1163
  '/consumers/{consumer_id}/accounting/chart-of-accounts': {
1080
1164
  parameters: {
1081
1165
  query?: never;
@@ -1196,26 +1280,6 @@ export interface paths {
1196
1280
  patch?: never;
1197
1281
  trace?: never;
1198
1282
  };
1199
- '/consumers/{consumer_id}/accounting/attachments': {
1200
- parameters: {
1201
- query?: never;
1202
- header?: never;
1203
- path?: never;
1204
- cookie?: never;
1205
- };
1206
- /**
1207
- * Get attachments
1208
- * @description Returns a list of all attachments linked to an accounting entry
1209
- */
1210
- get: operations['accounting_get_attachments'];
1211
- put?: never;
1212
- post?: never;
1213
- delete?: never;
1214
- options?: never;
1215
- head?: never;
1216
- patch?: never;
1217
- trace?: never;
1218
- };
1219
1283
  '/consumers/{consumer_id}/pos/orders': {
1220
1284
  parameters: {
1221
1285
  query?: never;
@@ -1940,6 +2004,46 @@ export interface paths {
1940
2004
  patch?: never;
1941
2005
  trace?: never;
1942
2006
  };
2007
+ '/consumers/{consumer_id}/invoicing/payments': {
2008
+ parameters: {
2009
+ query?: never;
2010
+ header?: never;
2011
+ path?: never;
2012
+ cookie?: never;
2013
+ };
2014
+ /**
2015
+ * Retrieve all payments
2016
+ * @description Returns a list of payments
2017
+ */
2018
+ get: operations['invoicing_get_payments'];
2019
+ put?: never;
2020
+ post?: never;
2021
+ delete?: never;
2022
+ options?: never;
2023
+ head?: never;
2024
+ patch?: never;
2025
+ trace?: never;
2026
+ };
2027
+ '/consumers/{consumer_id}/invoicing/payment-methods': {
2028
+ parameters: {
2029
+ query?: never;
2030
+ header?: never;
2031
+ path?: never;
2032
+ cookie?: never;
2033
+ };
2034
+ /**
2035
+ * Retrieve all payment methods
2036
+ * @description Returns the list of payment methods
2037
+ */
2038
+ get: operations['invoicing_get_payments_methods'];
2039
+ put?: never;
2040
+ post?: never;
2041
+ delete?: never;
2042
+ options?: never;
2043
+ head?: never;
2044
+ patch?: never;
2045
+ trace?: never;
2046
+ };
1943
2047
  '/consumers/{consumer_id}/banking/financial-institutions': {
1944
2048
  parameters: {
1945
2049
  query?: never;
@@ -2140,6 +2244,46 @@ export interface paths {
2140
2244
  patch?: never;
2141
2245
  trace?: never;
2142
2246
  };
2247
+ '/consumers/{consumer_id}/pms/invoices': {
2248
+ parameters: {
2249
+ query?: never;
2250
+ header?: never;
2251
+ path?: never;
2252
+ cookie?: never;
2253
+ };
2254
+ /**
2255
+ * Get invoices (PMS)
2256
+ * @description Returns a list of the invoices
2257
+ */
2258
+ get: operations['pms_get_invoices'];
2259
+ put?: never;
2260
+ post?: never;
2261
+ delete?: never;
2262
+ options?: never;
2263
+ head?: never;
2264
+ patch?: never;
2265
+ trace?: never;
2266
+ };
2267
+ '/consumers/{consumer_id}/pms/customers': {
2268
+ parameters: {
2269
+ query?: never;
2270
+ header?: never;
2271
+ path?: never;
2272
+ cookie?: never;
2273
+ };
2274
+ /**
2275
+ * Get customers (PMS)
2276
+ * @description Returns a list of all the customers
2277
+ */
2278
+ get: operations['pms_get_customers'];
2279
+ put?: never;
2280
+ post?: never;
2281
+ delete?: never;
2282
+ options?: never;
2283
+ head?: never;
2284
+ patch?: never;
2285
+ trace?: never;
2286
+ };
2143
2287
  '/consumers/{consumer_id}/pms/locations': {
2144
2288
  parameters: {
2145
2289
  query?: never;
@@ -2209,7 +2353,7 @@ export interface paths {
2209
2353
  };
2210
2354
  /**
2211
2355
  * Get accounting categories (PMS)
2212
- * @description Returns a list of accounting categories. When not available for a specific PMS, it will return the same values as the product categories.
2356
+ * @description Returns a list of accounting categories. When not available for a specific PMS,it will return the same values as the product categories.
2213
2357
  */
2214
2358
  get: operations['pms_get_accounting_categories'];
2215
2359
  put?: never;
@@ -2240,26 +2384,6 @@ export interface paths {
2240
2384
  patch?: never;
2241
2385
  trace?: never;
2242
2386
  };
2243
- '/token': {
2244
- parameters: {
2245
- query?: never;
2246
- header?: never;
2247
- path?: never;
2248
- cookie?: never;
2249
- };
2250
- get?: never;
2251
- put?: never;
2252
- /**
2253
- * Get access token
2254
- * @description This endpoint allows you to get an access token that can be used as a BEARER token to access the protected endpoints of this APIs. The token is valid for 30 minutes. You can refresh the token by requesting a new token.
2255
- */
2256
- post: operations['generate_access_token_token_post'];
2257
- delete?: never;
2258
- options?: never;
2259
- head?: never;
2260
- patch?: never;
2261
- trace?: never;
2262
- };
2263
2387
  }
2264
2388
  export type webhooks = Record<string, never>;
2265
2389
  export interface components {
@@ -2347,17 +2471,19 @@ export interface components {
2347
2471
  | 'expense'
2348
2472
  | 'vat'
2349
2473
  | 'other';
2474
+ /** AccountToCreate */
2475
+ AccountToCreate: {
2476
+ /** Account Number */
2477
+ account_number: string;
2478
+ /** Account Name */
2479
+ account_name: string;
2480
+ };
2350
2481
  /** AccountingCategoryItem */
2351
2482
  AccountingCategoryItem: {
2352
2483
  /** Id */
2353
2484
  id: string;
2354
2485
  /** Name */
2355
2486
  name: string;
2356
- /**
2357
- * Id Parent
2358
- * @description Indicates if the category belongs to a parent category
2359
- */
2360
- id_parent?: string;
2361
2487
  /**
2362
2488
  * Code
2363
2489
  * @description Code assigned to the category
@@ -2374,6 +2500,24 @@ export interface components {
2374
2500
  */
2375
2501
  posting_account_code?: string;
2376
2502
  };
2503
+ /** AccountingVatCode */
2504
+ AccountingVatCode: {
2505
+ /** Id */
2506
+ id: string;
2507
+ /** Code */
2508
+ code?: string;
2509
+ /** Label */
2510
+ label: string;
2511
+ /** @default unknown */
2512
+ scope: components['schemas']['backbone_common__models__accounting__common__VatCodeScope'];
2513
+ /** Rate */
2514
+ rate: number;
2515
+ type: components['schemas']['backbone_common__models__accounting__common__VatCodeType'];
2516
+ /** Deductible Account */
2517
+ deductible_account?: string;
2518
+ /** Payable Account */
2519
+ payable_account?: string;
2520
+ };
2377
2521
  /** AddressItem */
2378
2522
  AddressItem: {
2379
2523
  /** Address Type */
@@ -2817,6 +2961,19 @@ export interface components {
2817
2961
  */
2818
2962
  detail: string;
2819
2963
  };
2964
+ /** ChiftId */
2965
+ ChiftId: {
2966
+ /**
2967
+ * Id
2968
+ * @description Technical id in Chift
2969
+ */
2970
+ id: string;
2971
+ /**
2972
+ * Source Ref
2973
+ * @description Technical id in the target software
2974
+ */
2975
+ source_ref: components['schemas']['Ref'];
2976
+ };
2820
2977
  /** ChiftPage[AccountBalance] */
2821
2978
  ChiftPage_AccountBalance_: {
2822
2979
  /** Items */
@@ -2850,6 +3007,17 @@ export interface components {
2850
3007
  /** Size */
2851
3008
  size: number;
2852
3009
  };
3010
+ /** ChiftPage[AccountingVatCode] */
3011
+ ChiftPage_AccountingVatCode_: {
3012
+ /** Items */
3013
+ items: components['schemas']['AccountingVatCode'][];
3014
+ /** Total */
3015
+ total: number;
3016
+ /** Page */
3017
+ page: number;
3018
+ /** Size */
3019
+ size: number;
3020
+ };
2853
3021
  /** ChiftPage[AnalyticAccountItemOutMultiAnalyticPlans] */
2854
3022
  ChiftPage_AnalyticAccountItemOutMultiAnalyticPlans_: {
2855
3023
  /** Items */
@@ -3070,10 +3238,10 @@ export interface components {
3070
3238
  /** Size */
3071
3239
  size: number;
3072
3240
  };
3073
- /** ChiftPage[JournalEntryMonoAnalyticPlan] */
3074
- ChiftPage_JournalEntryMonoAnalyticPlan_: {
3241
+ /** ChiftPage[InvoicingPaymentItem] */
3242
+ ChiftPage_InvoicingPaymentItem_: {
3075
3243
  /** Items */
3076
- items: components['schemas']['JournalEntryMonoAnalyticPlan'][];
3244
+ items: components['schemas']['InvoicingPaymentItem'][];
3077
3245
  /** Total */
3078
3246
  total: number;
3079
3247
  /** Page */
@@ -3081,10 +3249,10 @@ export interface components {
3081
3249
  /** Size */
3082
3250
  size: number;
3083
3251
  };
3084
- /** ChiftPage[JournalEntryMultiAnalyticPlan] */
3085
- ChiftPage_JournalEntryMultiAnalyticPlan_: {
3252
+ /** ChiftPage[InvoicingPaymentMethodItem] */
3253
+ ChiftPage_InvoicingPaymentMethodItem_: {
3086
3254
  /** Items */
3087
- items: components['schemas']['JournalEntryMultiAnalyticPlan'][];
3255
+ items: components['schemas']['InvoicingPaymentMethodItem'][];
3088
3256
  /** Total */
3089
3257
  total: number;
3090
3258
  /** Page */
@@ -3092,10 +3260,10 @@ export interface components {
3092
3260
  /** Size */
3093
3261
  size: number;
3094
3262
  };
3095
- /** ChiftPage[Journal] */
3096
- ChiftPage_Journal_: {
3263
+ /** ChiftPage[InvoicingVatCode] */
3264
+ ChiftPage_InvoicingVatCode_: {
3097
3265
  /** Items */
3098
- items: components['schemas']['Journal'][];
3266
+ items: components['schemas']['InvoicingVatCode'][];
3099
3267
  /** Total */
3100
3268
  total: number;
3101
3269
  /** Page */
@@ -3103,7 +3271,40 @@ export interface components {
3103
3271
  /** Size */
3104
3272
  size: number;
3105
3273
  };
3106
- /** ChiftPage[MiscellaneousOperationOut] */
3274
+ /** ChiftPage[JournalEntryMonoAnalyticPlan] */
3275
+ ChiftPage_JournalEntryMonoAnalyticPlan_: {
3276
+ /** Items */
3277
+ items: components['schemas']['JournalEntryMonoAnalyticPlan'][];
3278
+ /** Total */
3279
+ total: number;
3280
+ /** Page */
3281
+ page: number;
3282
+ /** Size */
3283
+ size: number;
3284
+ };
3285
+ /** ChiftPage[JournalEntryMultiAnalyticPlan] */
3286
+ ChiftPage_JournalEntryMultiAnalyticPlan_: {
3287
+ /** Items */
3288
+ items: components['schemas']['JournalEntryMultiAnalyticPlan'][];
3289
+ /** Total */
3290
+ total: number;
3291
+ /** Page */
3292
+ page: number;
3293
+ /** Size */
3294
+ size: number;
3295
+ };
3296
+ /** ChiftPage[Journal] */
3297
+ ChiftPage_Journal_: {
3298
+ /** Items */
3299
+ items: components['schemas']['Journal'][];
3300
+ /** Total */
3301
+ total: number;
3302
+ /** Page */
3303
+ page: number;
3304
+ /** Size */
3305
+ size: number;
3306
+ };
3307
+ /** ChiftPage[MiscellaneousOperationOut] */
3107
3308
  ChiftPage_MiscellaneousOperationOut_: {
3108
3309
  /** Items */
3109
3310
  items: components['schemas']['MiscellaneousOperationOut'][];
@@ -3158,6 +3359,28 @@ export interface components {
3158
3359
  /** Size */
3159
3360
  size: number;
3160
3361
  };
3362
+ /** ChiftPage[PMSCustomerItem] */
3363
+ ChiftPage_PMSCustomerItem_: {
3364
+ /** Items */
3365
+ items: components['schemas']['PMSCustomerItem'][];
3366
+ /** Total */
3367
+ total: number;
3368
+ /** Page */
3369
+ page: number;
3370
+ /** Size */
3371
+ size: number;
3372
+ };
3373
+ /** ChiftPage[PMSInvoiceFullItem] */
3374
+ ChiftPage_PMSInvoiceFullItem_: {
3375
+ /** Items */
3376
+ items: components['schemas']['PMSInvoiceFullItem'][];
3377
+ /** Total */
3378
+ total: number;
3379
+ /** Page */
3380
+ page: number;
3381
+ /** Size */
3382
+ size: number;
3383
+ };
3161
3384
  /** ChiftPage[PMSLocationItem] */
3162
3385
  ChiftPage_PMSLocationItem_: {
3163
3386
  /** Items */
@@ -3304,7 +3527,7 @@ export interface components {
3304
3527
  /** ChiftPage[ProductCategoryItem] */
3305
3528
  ChiftPage_ProductCategoryItem_: {
3306
3529
  /** Items */
3307
- items: components['schemas']['backbone_api__app__routers__pos__ProductCategoryItem'][];
3530
+ items: components['schemas']['backbone_common__models__pos__common__ProductCategoryItem'][];
3308
3531
  /** Total */
3309
3532
  total: number;
3310
3533
  /** Page */
@@ -3326,7 +3549,7 @@ export interface components {
3326
3549
  /** ChiftPage[ProductItem] */
3327
3550
  ChiftPage_ProductItem_: {
3328
3551
  /** Items */
3329
- items: components['schemas']['backbone_api__app__routers__commerce__ProductItem'][];
3552
+ items: components['schemas']['backbone_common__models__commerce__common__ProductItem'][];
3330
3553
  /** Total */
3331
3554
  total: number;
3332
3555
  /** Page */
@@ -3659,7 +3882,7 @@ export interface components {
3659
3882
  * Addresses
3660
3883
  * @default []
3661
3884
  */
3662
- addresses: components['schemas']['backbone_api__app__routers__commerce__AddressItemOut'][];
3885
+ addresses: components['schemas']['backbone_common__models__commerce__common__AddressItemOut'][];
3663
3886
  /**
3664
3887
  * Created On
3665
3888
  * Format: date-time
@@ -3709,6 +3932,8 @@ export interface components {
3709
3932
  name: string;
3710
3933
  /** Email */
3711
3934
  email?: string;
3935
+ /** Internal Reference */
3936
+ internal_reference?: string;
3712
3937
  /** Redirect Url */
3713
3938
  redirect_url?: string;
3714
3939
  };
@@ -4106,6 +4331,12 @@ export interface components {
4106
4331
  */
4107
4332
  search_column?: string;
4108
4333
  };
4334
+ /**
4335
+ * DiscountType
4336
+ * @description An enumeration.
4337
+ * @enum {unknown}
4338
+ */
4339
+ DiscountType: 'OFFERED' | 'UNKNOWN' | 'LOSS';
4109
4340
  /**
4110
4341
  * DocumentType
4111
4342
  * @description An enumeration.
@@ -4213,7 +4444,7 @@ export interface components {
4213
4444
  * Discounts
4214
4445
  * @default []
4215
4446
  */
4216
- discounts: components['schemas']['backbone_api__app__routers__commerce__DiscountItem'][];
4447
+ discounts: components['schemas']['backbone_common__models__commerce__common__DiscountItem'][];
4217
4448
  /** Untaxed Amount */
4218
4449
  untaxed_amount: number;
4219
4450
  /** Tax Amount */
@@ -4587,6 +4818,16 @@ export interface components {
4587
4818
  * @default true
4588
4819
  */
4589
4820
  posted: boolean;
4821
+ /**
4822
+ * Start Date
4823
+ * Format: date
4824
+ */
4825
+ start_date?: string;
4826
+ /**
4827
+ * End Date
4828
+ * Format: date
4829
+ */
4830
+ end_date?: string;
4590
4831
  };
4591
4832
  /** GenericJournalItem */
4592
4833
  GenericJournalItem: {
@@ -4706,84 +4947,9 @@ export interface components {
4706
4947
  /** Invoice Correction Debit Account Number */
4707
4948
  invoice_correction_debit_account_number?: string;
4708
4949
  };
4709
- /** InvoiceItem */
4710
- InvoiceItem: {
4711
- /**
4712
- * Currency
4713
- * @description Currency matching target sofware name
4714
- */
4715
- currency: string;
4716
- /** @description Invoice type */
4717
- invoice_type: components['schemas']['backbone_common__models__invoicing__InvoiceType'];
4718
- /** @description Status */
4719
- status: components['schemas']['InvoiceStatus'];
4720
- /**
4721
- * Invoice Date
4722
- * Format: date
4723
- * @description Invoicing date
4724
- */
4725
- invoice_date: string;
4726
- /**
4727
- * Tax Amount
4728
- * @description Taxes amount
4729
- */
4730
- tax_amount: number;
4731
- /**
4732
- * Untaxed Amount
4733
- * @description Untaxed amount
4734
- */
4735
- untaxed_amount: number;
4736
- /**
4737
- * Total
4738
- * @description Total amount incl. taxes
4739
- */
4740
- total: number;
4741
- /**
4742
- * Lines
4743
- * @description Invoice lines
4744
- * @default []
4745
- */
4746
- lines: components['schemas']['InvoiceLineItem'][];
4747
- /**
4748
- * Partner Id
4749
- * @description Technical id of the vendor/customer in Chift
4750
- */
4751
- partner_id?: string;
4752
- /**
4753
- * Invoice Number
4754
- * @description Number/sequence
4755
- */
4756
- invoice_number?: string;
4757
- /**
4758
- * Due Date
4759
- * Format: date
4760
- * @description Due date
4761
- */
4762
- due_date?: string;
4763
- /**
4764
- * Reference
4765
- * @description Reference
4766
- */
4767
- reference?: string;
4768
- /**
4769
- * Payment Communication
4770
- * @description Payment communication
4771
- */
4772
- payment_communication?: string;
4773
- /**
4774
- * Customer Memo
4775
- * @description Customer note/memo
4776
- */
4777
- customer_memo?: string;
4778
- /**
4779
- * Journal Ref
4780
- * @description Journal
4781
- */
4782
- journal_ref?: components['schemas']['FieldRef'];
4783
- };
4784
4950
  /** InvoiceItemInMonoAnalyticPlan */
4785
4951
  InvoiceItemInMonoAnalyticPlan: {
4786
- invoice_type: components['schemas']['backbone_api__app__routers__accounting__InvoiceType'];
4952
+ invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
4787
4953
  /**
4788
4954
  * Invoice Number
4789
4955
  * @description Number of the invoice. If left empty, will be automatically generated by the accounting system at creation.
@@ -4849,7 +5015,7 @@ export interface components {
4849
5015
  };
4850
5016
  /** InvoiceItemInMultiAnalyticPlans */
4851
5017
  InvoiceItemInMultiAnalyticPlans: {
4852
- invoice_type: components['schemas']['backbone_api__app__routers__accounting__InvoiceType'];
5018
+ invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
4853
5019
  /**
4854
5020
  * Invoice Number
4855
5021
  * @description Number of the invoice. If left empty, will be automatically generated by the accounting system at creation.
@@ -4931,7 +5097,7 @@ export interface components {
4931
5097
  */
4932
5098
  currency: string;
4933
5099
  /** @description Invoice type */
4934
- invoice_type: components['schemas']['backbone_common__models__invoicing__InvoiceType'];
5100
+ invoice_type: components['schemas']['backbone_common__models__invoicing__common__InvoiceType'];
4935
5101
  /** @description Status */
4936
5102
  status: components['schemas']['InvoiceStatus'];
4937
5103
  /**
@@ -4997,6 +5163,11 @@ export interface components {
4997
5163
  * @description Journal
4998
5164
  */
4999
5165
  journal_ref?: components['schemas']['FieldRef'];
5166
+ /**
5167
+ * Italian Specificities
5168
+ * @description Specificities for Italy
5169
+ */
5170
+ italian_specificities?: components['schemas']['ItalianSpecificities'];
5000
5171
  /**
5001
5172
  * Last Updated On
5002
5173
  * Format: date-time
@@ -5007,10 +5178,27 @@ export interface components {
5007
5178
  * @description Amount left to be paid
5008
5179
  */
5009
5180
  outstanding_amount?: number;
5181
+ /**
5182
+ * Accounting Date
5183
+ * Format: date
5184
+ * @description Accounting date
5185
+ */
5186
+ accounting_date?: string;
5187
+ /**
5188
+ * Payment Method Id
5189
+ * @description Technical id of the payment method in Chift
5190
+ */
5191
+ payment_method_id?: string;
5192
+ /**
5193
+ * Currency Exchange Rate
5194
+ * @description Indicates the exchange rate at the date of the invoice.
5195
+ * @default 1
5196
+ */
5197
+ currency_exchange_rate: number;
5010
5198
  };
5011
5199
  /** InvoiceItemOutMonoAnalyticPlan */
5012
5200
  InvoiceItemOutMonoAnalyticPlan: {
5013
- invoice_type: components['schemas']['backbone_api__app__routers__accounting__InvoiceType'];
5201
+ invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
5014
5202
  /**
5015
5203
  * Invoice Number
5016
5204
  * @description Number of the invoice. If left empty, will be automatically generated by the accounting system at creation.
@@ -5063,7 +5251,7 @@ export interface components {
5063
5251
  };
5064
5252
  /** InvoiceItemOutMultiAnalyticPlans */
5065
5253
  InvoiceItemOutMultiAnalyticPlans: {
5066
- invoice_type: components['schemas']['backbone_api__app__routers__accounting__InvoiceType'];
5254
+ invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
5067
5255
  /**
5068
5256
  * Invoice Number
5069
5257
  * @description Number of the invoice. If left empty, will be automatically generated by the accounting system at creation.
@@ -5135,7 +5323,7 @@ export interface components {
5135
5323
  */
5136
5324
  currency: string;
5137
5325
  /** @description Invoice type */
5138
- invoice_type: components['schemas']['backbone_common__models__invoicing__InvoiceType'];
5326
+ invoice_type: components['schemas']['backbone_common__models__invoicing__common__InvoiceType'];
5139
5327
  /** @description Status */
5140
5328
  status: components['schemas']['InvoiceStatus'];
5141
5329
  /**
@@ -5201,6 +5389,11 @@ export interface components {
5201
5389
  * @description Journal
5202
5390
  */
5203
5391
  journal_ref?: components['schemas']['FieldRef'];
5392
+ /**
5393
+ * Italian Specificities
5394
+ * @description Specificities for Italy
5395
+ */
5396
+ italian_specificities?: components['schemas']['ItalianSpecificities'];
5204
5397
  /**
5205
5398
  * Last Updated On
5206
5399
  * Format: date-time
@@ -5211,6 +5404,23 @@ export interface components {
5211
5404
  * @description Amount left to be paid
5212
5405
  */
5213
5406
  outstanding_amount?: number;
5407
+ /**
5408
+ * Accounting Date
5409
+ * Format: date
5410
+ * @description Accounting date
5411
+ */
5412
+ accounting_date?: string;
5413
+ /**
5414
+ * Payment Method Id
5415
+ * @description Technical id of the payment method in Chift
5416
+ */
5417
+ payment_method_id?: string;
5418
+ /**
5419
+ * Currency Exchange Rate
5420
+ * @description Indicates the exchange rate at the date of the invoice.
5421
+ * @default 1
5422
+ */
5423
+ currency_exchange_rate: number;
5214
5424
  /**
5215
5425
  * Pdf
5216
5426
  * @description PDF document in base64
@@ -5270,6 +5480,11 @@ export interface components {
5270
5480
  * @description Technical id of the tax in Chift
5271
5481
  */
5272
5482
  tax_id?: string;
5483
+ /**
5484
+ * Tax Exemption Reason
5485
+ * @description Tax exemption reason
5486
+ */
5487
+ tax_exemption_reason?: string;
5273
5488
  /**
5274
5489
  * Unit Of Measure
5275
5490
  * @description Unit of measure matching target sofware name
@@ -5465,6 +5680,27 @@ export interface components {
5465
5680
  */
5466
5681
  analytic_distribution: components['schemas']['AnalyticDistribution'][];
5467
5682
  };
5683
+ /** InvoicePartnerItem */
5684
+ InvoicePartnerItem: {
5685
+ /**
5686
+ * Id
5687
+ * @description Technical id in Chift
5688
+ */
5689
+ id: string;
5690
+ /**
5691
+ * Source Ref
5692
+ * @description Technical id in the target software
5693
+ */
5694
+ source_ref: components['schemas']['Ref'];
5695
+ type: components['schemas']['PartnerType'];
5696
+ address?: components['schemas']['AddressItem'];
5697
+ /** First Name */
5698
+ first_name?: string;
5699
+ /** Last Name */
5700
+ last_name?: string;
5701
+ /** Company Name */
5702
+ company_name?: string;
5703
+ };
5468
5704
  /**
5469
5705
  * InvoiceStatus
5470
5706
  * @description An enumeration.
@@ -5483,70 +5719,196 @@ export interface components {
5483
5719
  * @enum {string}
5484
5720
  */
5485
5721
  InvoiceStatusOut: 'cancelled' | 'draft' | 'posted' | 'paid';
5486
- /**
5487
- * InvoiceTypeRequest
5488
- * @description An enumeration.
5489
- * @enum {string}
5490
- */
5491
- InvoiceTypeRequest:
5492
- | 'customer_invoice'
5493
- | 'customer_refund'
5494
- | 'supplier_invoice'
5495
- | 'supplier_refund'
5496
- | 'all';
5497
- /** Journal */
5498
- Journal: {
5499
- /** Id */
5722
+ /** InvoicingPaymentItem */
5723
+ InvoicingPaymentItem: {
5724
+ /**
5725
+ * Id
5726
+ * @description Technical id in Chift
5727
+ */
5500
5728
  id: string;
5501
- /** Code */
5502
- code?: string;
5503
- /** Name */
5504
- name: string;
5505
- journal_type: components['schemas']['JournalType'];
5506
- /** Counterpart Account */
5507
- counterpart_account?: string;
5508
5729
  /**
5509
- * Next Document Numbers
5510
- * @default []
5730
+ * Source Ref
5731
+ * @description Technical id in the target software
5511
5732
  */
5512
- next_document_numbers: components['schemas']['NextDocumentNumber'][];
5513
- };
5514
- /** JournalEntryIn */
5515
- JournalEntryIn: {
5516
- /** Reference */
5517
- reference?: string;
5733
+ source_ref: components['schemas']['Ref'];
5734
+ /** @description Payment status */
5735
+ status: components['schemas']['backbone_common__models__payment__common__PaymentStatus'];
5518
5736
  /**
5519
- * Due Date
5520
- * Format: date
5737
+ * Description
5738
+ * @description Description
5521
5739
  */
5522
- due_date?: string;
5523
- /** Journal Id */
5524
- journal_id: string;
5525
- /** Name */
5526
- name: string;
5740
+ description: string;
5527
5741
  /**
5528
- * Date
5529
- * Format: date
5742
+ * Amount
5743
+ * @description Amount
5530
5744
  */
5531
- date: string;
5532
- /** Items */
5533
- items: components['schemas']['JournalItemIn'][];
5745
+ amount: number;
5534
5746
  /**
5535
- * Pdf
5536
- * @description Base 64 string representing the PDF attached to the item.
5747
+ * Currency
5748
+ * @description Currency
5537
5749
  */
5538
- pdf?: string;
5539
- };
5540
- /** JournalEntryMonoAnalyticPlan */
5541
- JournalEntryMonoAnalyticPlan: {
5542
- /** Reference */
5543
- reference?: string;
5750
+ currency: string;
5544
5751
  /**
5545
- * Due Date
5546
- * Format: date
5752
+ * Payment Date
5753
+ * Format: date-time
5754
+ * @description Date of creation
5547
5755
  */
5548
- due_date?: string;
5549
- /** Journal Id */
5756
+ payment_date: string;
5757
+ /**
5758
+ * Partner Id
5759
+ * @description Partner ID
5760
+ */
5761
+ partner_id: string;
5762
+ /**
5763
+ * Payment Method Id
5764
+ * @description Technical id of the payment method in Chift
5765
+ */
5766
+ payment_method_id?: string;
5767
+ /**
5768
+ * Payment Method Name
5769
+ * @description Payment method name
5770
+ */
5771
+ payment_method_name?: string;
5772
+ /**
5773
+ * Invoice Id
5774
+ * @description Technical id of the invoice in Chift
5775
+ */
5776
+ invoice_id?: string;
5777
+ /**
5778
+ * Invoice Number
5779
+ * @description Invoice number
5780
+ */
5781
+ invoice_number?: string;
5782
+ };
5783
+ /** InvoicingPaymentMethodItem */
5784
+ InvoicingPaymentMethodItem: {
5785
+ /**
5786
+ * Id
5787
+ * @description Technical id in Chift
5788
+ */
5789
+ id: string;
5790
+ /**
5791
+ * Source Ref
5792
+ * @description Technical id in the target software
5793
+ */
5794
+ source_ref: components['schemas']['Ref'];
5795
+ /**
5796
+ * Name
5797
+ * @description Payment method name
5798
+ */
5799
+ name: string;
5800
+ };
5801
+ /** InvoicingVatCode */
5802
+ InvoicingVatCode: {
5803
+ /**
5804
+ * Id
5805
+ * @description Technical id in Chift
5806
+ */
5807
+ id: string;
5808
+ /**
5809
+ * Source Ref
5810
+ * @description Technical id in the target software
5811
+ */
5812
+ source_ref: components['schemas']['Ref'];
5813
+ /**
5814
+ * Label
5815
+ * @description Label
5816
+ */
5817
+ label: string;
5818
+ /**
5819
+ * Rate
5820
+ * @description Tax rate (e.g. 21.0)
5821
+ */
5822
+ rate: number;
5823
+ /** @description Type */
5824
+ type: components['schemas']['backbone_common__models__invoicing__common__VatCodeType'];
5825
+ /**
5826
+ * Code
5827
+ * @description Code
5828
+ */
5829
+ code?: string;
5830
+ /**
5831
+ * @description Scope
5832
+ * @default unknown
5833
+ */
5834
+ scope: components['schemas']['backbone_common__models__invoicing__common__VatCodeScope'];
5835
+ };
5836
+ /** ItalianSpecificities */
5837
+ ItalianSpecificities: {
5838
+ /**
5839
+ * Stamp Duty Amount
5840
+ * @description Documentary stamp tax (specific to Italy)
5841
+ */
5842
+ stamp_duty_amount?: number;
5843
+ /**
5844
+ * Withholding Tax
5845
+ * @description Withholding tax (specific to Italy)
5846
+ */
5847
+ withholding_tax?: components['schemas']['WithholdingTax'];
5848
+ /**
5849
+ * Welfare Fund
5850
+ * @description Welfare fund (specific to Italy)
5851
+ */
5852
+ welfare_fund?: components['schemas']['WelfareFund'];
5853
+ /**
5854
+ * Payment Reporting
5855
+ * @description Payment reporting (specific to Italy)
5856
+ */
5857
+ payment_reporting?: components['schemas']['PaymentReporting'];
5858
+ };
5859
+ /** Journal */
5860
+ Journal: {
5861
+ /** Id */
5862
+ id: string;
5863
+ /** Code */
5864
+ code?: string;
5865
+ /** Name */
5866
+ name: string;
5867
+ journal_type: components['schemas']['JournalType'];
5868
+ /** Counterpart Account */
5869
+ counterpart_account?: string;
5870
+ /**
5871
+ * Next Document Numbers
5872
+ * @default []
5873
+ */
5874
+ next_document_numbers: components['schemas']['NextDocumentNumber'][];
5875
+ };
5876
+ /** JournalEntryIn */
5877
+ JournalEntryIn: {
5878
+ /** Reference */
5879
+ reference?: string;
5880
+ /**
5881
+ * Due Date
5882
+ * Format: date
5883
+ */
5884
+ due_date?: string;
5885
+ /** Journal Id */
5886
+ journal_id: string;
5887
+ /** Name */
5888
+ name: string;
5889
+ /**
5890
+ * Date
5891
+ * Format: date
5892
+ */
5893
+ date: string;
5894
+ /** Items */
5895
+ items: components['schemas']['JournalItemIn'][];
5896
+ /**
5897
+ * Pdf
5898
+ * @description Base 64 string representing the PDF attached to the item.
5899
+ */
5900
+ pdf?: string;
5901
+ };
5902
+ /** JournalEntryMonoAnalyticPlan */
5903
+ JournalEntryMonoAnalyticPlan: {
5904
+ /** Reference */
5905
+ reference?: string;
5906
+ /**
5907
+ * Due Date
5908
+ * Format: date
5909
+ */
5910
+ due_date?: string;
5911
+ /** Journal Id */
5550
5912
  journal_id: string;
5551
5913
  /** Name */
5552
5914
  name?: string;
@@ -5863,6 +6225,20 @@ export interface components {
5863
6225
  * @enum {string}
5864
6226
  */
5865
6227
  MiscellaneousOperationStatusOut: 'cancelled' | 'draft' | 'posted' | 'matched';
6228
+ /** MultipleMatchingIn */
6229
+ MultipleMatchingIn: {
6230
+ /** Matchings */
6231
+ matchings: components['schemas']['MatchingIn'][];
6232
+ };
6233
+ /** MultipleMatchingOut */
6234
+ MultipleMatchingOut: {
6235
+ /** Matching Number */
6236
+ matching_number?: string;
6237
+ /** Processed */
6238
+ processed: boolean;
6239
+ /** Error Msg */
6240
+ error_msg?: Record<string, never>;
6241
+ };
5866
6242
  /** NextDocumentNumber */
5867
6243
  NextDocumentNumber: {
5868
6244
  /** Bookyear Name */
@@ -6013,8 +6389,8 @@ export interface components {
6013
6389
  /** OrderItemIn */
6014
6390
  OrderItemIn: {
6015
6391
  customer: components['schemas']['OrderCustomerItem'];
6016
- billing_address: components['schemas']['backbone_api__app__routers__commerce__AddressItemIn'];
6017
- shipping_address: components['schemas']['backbone_api__app__routers__commerce__AddressItemIn'];
6392
+ billing_address: components['schemas']['backbone_common__models__commerce__common__AddressItemIn'];
6393
+ shipping_address: components['schemas']['backbone_common__models__commerce__common__AddressItemIn'];
6018
6394
  /**
6019
6395
  * Currency
6020
6396
  * @description Indicates the currency of the order (e.g. EUR).
@@ -6045,8 +6421,8 @@ export interface components {
6045
6421
  /** Order Number */
6046
6422
  order_number?: string;
6047
6423
  customer?: components['schemas']['OrderCustomerItemOut'];
6048
- billing_address?: components['schemas']['backbone_api__app__routers__commerce__AddressItemOut'];
6049
- shipping_address?: components['schemas']['backbone_api__app__routers__commerce__AddressItemOut'];
6424
+ billing_address?: components['schemas']['backbone_common__models__commerce__common__AddressItemOut'];
6425
+ shipping_address?: components['schemas']['backbone_common__models__commerce__common__AddressItemOut'];
6050
6426
  /**
6051
6427
  * Created On
6052
6428
  * Format: date-time
@@ -6132,6 +6508,11 @@ export interface components {
6132
6508
  currency: string;
6133
6509
  /** Note */
6134
6510
  note?: string;
6511
+ /**
6512
+ * Tags
6513
+ * @default []
6514
+ */
6515
+ tags: string[];
6135
6516
  /** Lines */
6136
6517
  lines: components['schemas']['OrderLineItemOut'][];
6137
6518
  /**
@@ -6247,7 +6628,7 @@ export interface components {
6247
6628
  * Discounts
6248
6629
  * @default []
6249
6630
  */
6250
- discounts: components['schemas']['backbone_api__app__routers__commerce__DiscountItem'][];
6631
+ discounts: components['schemas']['backbone_common__models__commerce__common__DiscountItem'][];
6251
6632
  /**
6252
6633
  * Gift Card
6253
6634
  * @default false
@@ -6269,7 +6650,7 @@ export interface components {
6269
6650
  * Categories
6270
6651
  * @default []
6271
6652
  */
6272
- categories: components['schemas']['backbone_api__app__routers__commerce__ProductCategoryItem'][];
6653
+ categories: components['schemas']['backbone_common__models__commerce__common__ProductCategoryItem'][];
6273
6654
  };
6274
6655
  /** OrderPaymentMethods */
6275
6656
  OrderPaymentMethods: {
@@ -6402,6 +6783,28 @@ export interface components {
6402
6783
  amount: number;
6403
6784
  status: components['schemas']['TransactionStatus'];
6404
6785
  };
6786
+ /** OriginalOutstandingItem */
6787
+ OriginalOutstandingItem: {
6788
+ /** Id */
6789
+ id?: string;
6790
+ /** Number */
6791
+ number?: string;
6792
+ /** Journal Id */
6793
+ journal_id?: string;
6794
+ journal_type?: components['schemas']['JournalType'];
6795
+ /**
6796
+ * Date
6797
+ * Format: date
6798
+ */
6799
+ date?: string;
6800
+ /**
6801
+ * Due Date
6802
+ * Format: date
6803
+ */
6804
+ due_date?: string;
6805
+ /** Reference */
6806
+ reference?: string;
6807
+ };
6405
6808
  /** OutstandingItem */
6406
6809
  OutstandingItem: {
6407
6810
  /** Id */
@@ -6435,10 +6838,16 @@ export interface components {
6435
6838
  account_number: string;
6436
6839
  /** Reference */
6437
6840
  reference?: string;
6841
+ /**
6842
+ * Matching Numbers
6843
+ * @default []
6844
+ */
6845
+ matching_numbers: string[];
6438
6846
  /** Payment Communication */
6439
6847
  payment_communication?: string;
6440
6848
  /** Posted */
6441
6849
  posted: boolean;
6850
+ original_document?: components['schemas']['OriginalOutstandingItem'];
6442
6851
  };
6443
6852
  /**
6444
6853
  * OutstandingType
@@ -6457,11 +6866,6 @@ export interface components {
6457
6866
  source_ref: components['schemas']['Ref'];
6458
6867
  /** Name */
6459
6868
  name: string;
6460
- /**
6461
- * Id Parent
6462
- * @description Indicates if the category belongs to a parent category
6463
- */
6464
- id_parent?: string;
6465
6869
  /**
6466
6870
  * Code
6467
6871
  * @description Code assigned to the category
@@ -6487,6 +6891,85 @@ export interface components {
6487
6891
  date: string;
6488
6892
  status: components['schemas']['ClosureStates'];
6489
6893
  };
6894
+ /** PMSCustomerItem */
6895
+ PMSCustomerItem: {
6896
+ /**
6897
+ * Id
6898
+ * @description Technical id in Chift
6899
+ */
6900
+ id: string;
6901
+ /**
6902
+ * Source Ref
6903
+ * @description Technical id in the target software
6904
+ */
6905
+ source_ref: components['schemas']['Ref'];
6906
+ /** First Name */
6907
+ first_name?: string;
6908
+ /** Last Name */
6909
+ last_name?: string;
6910
+ /** Company Name */
6911
+ company_name?: string;
6912
+ /** Phone */
6913
+ phone?: string;
6914
+ /** Email */
6915
+ email?: string;
6916
+ /**
6917
+ * Account Number
6918
+ * @description Number of the accounting account used (e.g. 701000)
6919
+ */
6920
+ account_number?: string;
6921
+ /**
6922
+ * Created On
6923
+ * Format: date-time
6924
+ */
6925
+ created_on?: string;
6926
+ /** Addresses */
6927
+ addresses?: components['schemas']['AddressItem'][];
6928
+ };
6929
+ /** PMSInvoiceFullItem */
6930
+ PMSInvoiceFullItem: {
6931
+ /**
6932
+ * Id
6933
+ * @description Technical id in Chift
6934
+ */
6935
+ id: string;
6936
+ /**
6937
+ * Source Ref
6938
+ * @description Technical id in the target software
6939
+ */
6940
+ source_ref: components['schemas']['Ref'];
6941
+ /**
6942
+ * Invoice Number
6943
+ * @description Number/sequence
6944
+ */
6945
+ invoice_number?: string;
6946
+ /**
6947
+ * Creation Date
6948
+ * Format: date-time
6949
+ */
6950
+ creation_date?: string;
6951
+ /**
6952
+ * Closing Date
6953
+ * Format: date-time
6954
+ */
6955
+ closing_date?: string;
6956
+ /** Partners */
6957
+ partners?: components['schemas']['InvoicePartnerItem'][];
6958
+ /** Items */
6959
+ items: components['schemas']['PMSOrderLineItem'][];
6960
+ /** Payments */
6961
+ payments: components['schemas']['PMSPaymentItem'][];
6962
+ /**
6963
+ * Service Id
6964
+ * @description Reference to the service related to this order
6965
+ */
6966
+ service_id?: string;
6967
+ /**
6968
+ * Reservation
6969
+ * @description Reference to the reservation related to this order
6970
+ */
6971
+ reservation?: components['schemas']['ReservationItem'];
6972
+ };
6490
6973
  /** PMSLocationItem */
6491
6974
  PMSLocationItem: {
6492
6975
  /** Id */
@@ -6577,6 +7060,16 @@ export interface components {
6577
7060
  * @description Reference to the service related to this order
6578
7061
  */
6579
7062
  service_id?: string;
7063
+ /**
7064
+ * Reservation
7065
+ * @description Reference to the reservation related to this order
7066
+ */
7067
+ reservation?: components['schemas']['ReservationItem'];
7068
+ /**
7069
+ * Bills
7070
+ * @description Reference to the bills related to this order
7071
+ */
7072
+ bills?: components['schemas']['backbone_common__models__pms__common__InvoiceItem'][];
6580
7073
  };
6581
7074
  /** PMSOrderLineItem */
6582
7075
  PMSOrderLineItem: {
@@ -6587,6 +7080,9 @@ export interface components {
6587
7080
  * @description Technical id in the target software
6588
7081
  */
6589
7082
  source_ref: components['schemas']['Ref'];
7083
+ type?: components['schemas']['POSLineItemType'];
7084
+ /** Menu Id */
7085
+ menu_id?: string;
6590
7086
  /** Quantity */
6591
7087
  quantity: number;
6592
7088
  /** Unit Price */
@@ -6644,6 +7140,11 @@ export interface components {
6644
7140
  * Format: date-time
6645
7141
  */
6646
7142
  date?: string;
7143
+ /**
7144
+ * Partner Id
7145
+ * @description Reference to the customer related to this payment
7146
+ */
7147
+ partner_id?: components['schemas']['ChiftId'];
6647
7148
  };
6648
7149
  /** PMSPaymentMethods */
6649
7150
  PMSPaymentMethods: {
@@ -6716,6 +7217,9 @@ export interface components {
6716
7217
  POSItem: {
6717
7218
  /** Id */
6718
7219
  id: string;
7220
+ type?: components['schemas']['POSLineItemType'];
7221
+ /** Menu Id */
7222
+ menu_id?: string;
6719
7223
  /** Quantity */
6720
7224
  quantity: number;
6721
7225
  /** Unit Price */
@@ -6744,6 +7248,12 @@ export interface components {
6744
7248
  */
6745
7249
  accounting_category_id?: string;
6746
7250
  };
7251
+ /**
7252
+ * POSLineItemType
7253
+ * @description An enumeration.
7254
+ * @enum {string}
7255
+ */
7256
+ POSLineItemType: 'menu' | 'product';
6747
7257
  /** POSLocationItem */
6748
7258
  POSLocationItem: {
6749
7259
  /** Id */
@@ -6866,13 +7376,19 @@ export interface components {
6866
7376
  /** Description */
6867
7377
  description?: string;
6868
7378
  /** Prices */
6869
- prices: components['schemas']['backbone_api__app__routers__pos__ProductPriceItem'][];
7379
+ prices: components['schemas']['backbone_common__models__pos__common__ProductPriceItem'][];
6870
7380
  /**
6871
7381
  * Accounting Category Ids
6872
7382
  * @description Used by a POS to give one or more specific accounting categories to a product item. If not available it will use the category ids
6873
7383
  */
6874
7384
  accounting_category_ids?: string[];
6875
7385
  };
7386
+ /**
7387
+ * PartnerType
7388
+ * @description An enumeration.
7389
+ * @enum {unknown}
7390
+ */
7391
+ PartnerType: 'owner' | 'account';
6876
7392
  /** PatchConnectionItem */
6877
7393
  PatchConnectionItem: {
6878
7394
  /**
@@ -6944,7 +7460,7 @@ export interface components {
6944
7460
  */
6945
7461
  source_ref: components['schemas']['Ref'];
6946
7462
  /** @description Payment status */
6947
- status: components['schemas']['backbone_common__models__payment__PaymentStatus'];
7463
+ status: components['schemas']['backbone_common__models__payment__common__PaymentStatus'];
6948
7464
  /**
6949
7465
  * Description
6950
7466
  * @description Description
@@ -6998,15 +7514,57 @@ export interface components {
6998
7514
  /** Extra */
6999
7515
  extra?: string;
7000
7516
  };
7001
- /** PaymentTermAccountInfo */
7002
- PaymentTermAccountInfo: {
7003
- /** Amount */
7004
- amount: number;
7005
- /** Iban */
7006
- iban: string;
7517
+ /** PaymentReporting */
7518
+ PaymentReporting: {
7519
+ /** @description Payment method */
7520
+ method?: components['schemas']['PaymentReportingMethod'];
7521
+ /** @description Payment conditions */
7522
+ conditions?: components['schemas']['PaymentReportingConditions'];
7007
7523
  };
7008
- /** PostAddressItem */
7009
- PostAddressItem: {
7524
+ /**
7525
+ * PaymentReportingConditions
7526
+ * @description An enumeration.
7527
+ * @enum {string}
7528
+ */
7529
+ PaymentReportingConditions: 'TP01' | 'TP02' | 'TP03';
7530
+ /**
7531
+ * PaymentReportingMethod
7532
+ * @description An enumeration.
7533
+ * @enum {string}
7534
+ */
7535
+ PaymentReportingMethod:
7536
+ | 'MP01'
7537
+ | 'MP02'
7538
+ | 'MP03'
7539
+ | 'MP04'
7540
+ | 'MP05'
7541
+ | 'MP06'
7542
+ | 'MP07'
7543
+ | 'MP08'
7544
+ | 'MP09'
7545
+ | 'MP10'
7546
+ | 'MP11'
7547
+ | 'MP12'
7548
+ | 'MP13'
7549
+ | 'MP14'
7550
+ | 'MP15'
7551
+ | 'MP16'
7552
+ | 'MP17'
7553
+ | 'MP18'
7554
+ | 'MP19'
7555
+ | 'MP20'
7556
+ | 'MP21'
7557
+ | 'MP22'
7558
+ | 'MP23';
7559
+ /** PaymentTermAccountInfo */
7560
+ PaymentTermAccountInfo: {
7561
+ /** Amount */
7562
+ amount: number;
7563
+ /** Iban */
7564
+ iban: string;
7565
+ };
7566
+ /** PostAddressItem */
7567
+ PostAddressItem: {
7010
7568
  /** Name */
7011
7569
  name: string;
7012
7570
  /** Street */
@@ -7028,6 +7586,8 @@ export interface components {
7028
7586
  name: string;
7029
7587
  /** Email */
7030
7588
  email?: string;
7589
+ /** Internal Reference */
7590
+ internal_reference?: string;
7031
7591
  /** Redirect Url */
7032
7592
  redirect_url?: string;
7033
7593
  };
@@ -7142,7 +7702,7 @@ export interface components {
7142
7702
  * Categories
7143
7703
  * @default []
7144
7704
  */
7145
- categories: components['schemas']['backbone_api__app__routers__commerce__ProductCategoryItem'][];
7705
+ categories: components['schemas']['backbone_common__models__commerce__common__ProductCategoryItem'][];
7146
7706
  /**
7147
7707
  * Created On
7148
7708
  * Format: date-time
@@ -7161,7 +7721,7 @@ export interface components {
7161
7721
  * Prices
7162
7722
  * @default []
7163
7723
  */
7164
- prices: components['schemas']['backbone_api__app__routers__commerce__ProductPriceItem'][];
7724
+ prices: components['schemas']['backbone_common__models__commerce__common__ProductPriceItem'][];
7165
7725
  /** Unit Of Measure */
7166
7726
  unit_of_measure?: string;
7167
7727
  /**
@@ -7325,7 +7885,7 @@ export interface components {
7325
7885
  */
7326
7886
  source_ref: components['schemas']['Ref'];
7327
7887
  /** @description Payment status */
7328
- status: components['schemas']['backbone_common__models__payment__PaymentStatus'];
7888
+ status: components['schemas']['backbone_common__models__payment__common__PaymentStatus'];
7329
7889
  /**
7330
7890
  * Description
7331
7891
  * @description Description
@@ -7383,6 +7943,39 @@ export interface components {
7383
7943
  */
7384
7944
  total: number;
7385
7945
  };
7946
+ /** ReservationItem */
7947
+ ReservationItem: {
7948
+ /**
7949
+ * Id
7950
+ * @description Technical id in Chift
7951
+ */
7952
+ id: string;
7953
+ /**
7954
+ * Source Ref
7955
+ * @description Technical id in the target software
7956
+ */
7957
+ source_ref: components['schemas']['Ref'];
7958
+ /**
7959
+ * Start Date
7960
+ * Format: date-time
7961
+ */
7962
+ start_date?: string;
7963
+ /**
7964
+ * End Date
7965
+ * Format: date-time
7966
+ */
7967
+ end_date?: string;
7968
+ /**
7969
+ * Creation Date
7970
+ * Format: date-time
7971
+ */
7972
+ creation_date?: string;
7973
+ resource_id?: components['schemas']['ChiftId'];
7974
+ /** Resource Name */
7975
+ resource_name?: string;
7976
+ /** Resource Identifier */
7977
+ resource_identifier?: string;
7978
+ };
7386
7979
  /** ReturnFeesItem */
7387
7980
  ReturnFeesItem: {
7388
7981
  /**
@@ -7892,6 +8485,8 @@ export interface components {
7892
8485
  name?: string;
7893
8486
  /** Email */
7894
8487
  email?: string;
8488
+ /** Internal Reference */
8489
+ internal_reference?: string;
7895
8490
  /** Redirect Url */
7896
8491
  redirect_url?: string;
7897
8492
  };
@@ -7964,7 +8559,7 @@ export interface components {
7964
8559
  * Categories
7965
8560
  * @default []
7966
8561
  */
7967
- categories: components['schemas']['backbone_api__app__routers__commerce__ProductCategoryItem'][];
8562
+ categories: components['schemas']['backbone_common__models__commerce__common__ProductCategoryItem'][];
7968
8563
  /**
7969
8564
  * Created On
7970
8565
  * Format: date-time
@@ -7983,7 +8578,7 @@ export interface components {
7983
8578
  * Prices
7984
8579
  * @default []
7985
8580
  */
7986
- prices: components['schemas']['backbone_api__app__routers__commerce__ProductPriceItem'][];
8581
+ prices: components['schemas']['backbone_common__models__commerce__common__ProductPriceItem'][];
7987
8582
  /** Unit Of Measure */
7988
8583
  unit_of_measure?: string;
7989
8584
  /**
@@ -8111,63 +8706,246 @@ export interface components {
8111
8706
  /** Integrationid */
8112
8707
  integrationid?: number;
8113
8708
  };
8114
- /** ChiftPage[VatCode] */
8115
- 'backbone_api__app__routers__accounting__ChiftPage[VatCode]': {
8116
- /** Items */
8117
- items: components['schemas']['backbone_api__app__routers__accounting__VatCode'][];
8118
- /** Total */
8119
- total: number;
8120
- /** Page */
8121
- page: number;
8122
- /** Size */
8123
- size: number;
8709
+ /** WelfareFund */
8710
+ WelfareFund: {
8711
+ /**
8712
+ * Rate
8713
+ * @description Rate
8714
+ */
8715
+ rate: number;
8716
+ /**
8717
+ * Amount
8718
+ * @description Amount
8719
+ */
8720
+ amount: number;
8721
+ /** @description Type */
8722
+ type?: components['schemas']['WelfareFundType'];
8124
8723
  };
8724
+ /**
8725
+ * WelfareFundType
8726
+ * @description An enumeration.
8727
+ * @enum {string}
8728
+ */
8729
+ WelfareFundType:
8730
+ | 'TC01'
8731
+ | 'TC02'
8732
+ | 'TC03'
8733
+ | 'TC04'
8734
+ | 'TC05'
8735
+ | 'TC06'
8736
+ | 'TC07'
8737
+ | 'TC08'
8738
+ | 'TC09'
8739
+ | 'TC10'
8740
+ | 'TC11'
8741
+ | 'TC12'
8742
+ | 'TC13'
8743
+ | 'TC14'
8744
+ | 'TC15'
8745
+ | 'TC16'
8746
+ | 'TC17'
8747
+ | 'TC18'
8748
+ | 'TC19'
8749
+ | 'TC20'
8750
+ | 'TC21'
8751
+ | 'TC22';
8752
+ /** WithholdingTax */
8753
+ WithholdingTax: {
8754
+ /**
8755
+ * Rate
8756
+ * @description Rate
8757
+ */
8758
+ rate: number;
8759
+ /**
8760
+ * Amount
8761
+ * @description Amount
8762
+ */
8763
+ amount: number;
8764
+ /** @description Reason */
8765
+ reason?: components['schemas']['WithholdingTaxReason'];
8766
+ /** @description Payment reason */
8767
+ payment_reason?: components['schemas']['WithholdingTaxPaymentReason'];
8768
+ };
8769
+ /**
8770
+ * WithholdingTaxPaymentReason
8771
+ * @description An enumeration.
8772
+ * @enum {string}
8773
+ */
8774
+ WithholdingTaxPaymentReason:
8775
+ | 'A'
8776
+ | 'U'
8777
+ | 'R'
8778
+ | 'Q'
8779
+ | 'H'
8780
+ | 'V'
8781
+ | 'V2'
8782
+ | 'I'
8783
+ | 'J'
8784
+ | 'K'
8785
+ | 'P'
8786
+ | 'S'
8787
+ | 'T'
8788
+ | 'W'
8789
+ | 'X'
8790
+ | 'Y'
8791
+ | 'B'
8792
+ | 'C'
8793
+ | 'D'
8794
+ | 'E'
8795
+ | 'F'
8796
+ | 'G'
8797
+ | 'L'
8798
+ | 'L1'
8799
+ | 'M'
8800
+ | 'M1'
8801
+ | 'M2'
8802
+ | 'IN'
8803
+ | 'O'
8804
+ | 'O1'
8805
+ | 'V1';
8806
+ /**
8807
+ * WithholdingTaxReason
8808
+ * @description An enumeration.
8809
+ * @enum {string}
8810
+ */
8811
+ WithholdingTaxReason: 'RT01' | 'RT02' | 'RT03' | 'RT04' | 'RT05' | 'RT06';
8812
+ /** ConnectionItem */
8813
+ backbone_api__app__routers__connections__ConnectionItem: {
8814
+ /**
8815
+ * Connectionid
8816
+ * Format: uuid
8817
+ */
8818
+ connectionid: string;
8819
+ /** Name */
8820
+ name: string;
8821
+ /** Integration */
8822
+ integration: string;
8823
+ /** Integrationid */
8824
+ integrationid: number;
8825
+ /** Api */
8826
+ api: string;
8827
+ /** Data */
8828
+ data?: Record<string, never>;
8829
+ status: components['schemas']['backbone_api__app__routers__connections__Status'];
8830
+ /**
8831
+ * Agent
8832
+ * @description For local agent only. Indicates whether the local agent is up and running
8833
+ */
8834
+ agent?: components['schemas']['LocalAgentInfo'];
8835
+ };
8836
+ /** CredentialItem */
8837
+ backbone_api__app__routers__connections__CredentialItem: {
8838
+ /** Key */
8839
+ key: string;
8840
+ /** Value */
8841
+ value: string;
8842
+ };
8843
+ /** PostConnectionItem */
8844
+ backbone_api__app__routers__connections__PostConnectionItem: {
8845
+ /**
8846
+ * Integrationid
8847
+ * @description Can be used to specify the integration code of a specific connector. If specified, the url will will point directly to the connection page of the connector and will redirect on save to the redirect url of the consumer if specified.
8848
+ */
8849
+ integrationid?: number;
8850
+ /**
8851
+ * Name
8852
+ * @description Can be used to specify the name of the connection. Must be used in combination with an integrationid.
8853
+ */
8854
+ name?: string;
8855
+ /**
8856
+ * Credentials
8857
+ * @description Can be used to specify the credentials of your connection. Must be used in combination with an integrationid and a name. Please use the getIntegrations route to see the available credentials for each integration
8858
+ */
8859
+ credentials?: components['schemas']['backbone_api__app__routers__connections__CredentialItem'][];
8860
+ };
8861
+ /**
8862
+ * Status
8863
+ * @description An enumeration.
8864
+ * @enum {unknown}
8865
+ */
8866
+ backbone_api__app__routers__connections__Status: 'active' | 'inactive';
8867
+ /**
8868
+ * Status
8869
+ * @description An enumeration.
8870
+ * @enum {unknown}
8871
+ */
8872
+ backbone_api__app__routers__datastores__Status: 'active' | 'inactive';
8873
+ /** CredentialItem */
8874
+ backbone_api__app__routers__integrations__CredentialItem: {
8875
+ /** Name */
8876
+ name: string;
8877
+ /**
8878
+ * Optional
8879
+ * @default false
8880
+ */
8881
+ optional: boolean;
8882
+ };
8883
+ /** PostConnectionItem */
8884
+ backbone_api__app__routers__integrations__PostConnectionItem: {
8885
+ /** Title */
8886
+ title: string;
8887
+ /** Optional */
8888
+ optional: boolean;
8889
+ /** Resource */
8890
+ resource: string;
8891
+ };
8892
+ /**
8893
+ * Status
8894
+ * @description An enumeration.
8895
+ * @enum {unknown}
8896
+ */
8897
+ backbone_api__app__routers__integrations__Status: 'active' | 'inactive';
8898
+ /** ConnectionItem */
8899
+ backbone_api__app__routers__syncs__ConnectionItem: {
8900
+ /** One Api */
8901
+ one_api?: number;
8902
+ /** Connection Type */
8903
+ connection_type?: number;
8904
+ /**
8905
+ * Display Order
8906
+ * @default 0
8907
+ */
8908
+ display_order: number;
8909
+ /**
8910
+ * Display Hidden
8911
+ * @default false
8912
+ */
8913
+ display_hidden: boolean;
8914
+ };
8915
+ /**
8916
+ * Status
8917
+ * @description An enumeration.
8918
+ * @enum {unknown}
8919
+ */
8920
+ backbone_api__app__routers__webhooks__Status: 'active' | 'inactive';
8125
8921
  /**
8126
8922
  * InvoiceType
8127
8923
  * @description An enumeration.
8128
8924
  * @enum {string}
8129
8925
  */
8130
- backbone_api__app__routers__accounting__InvoiceType:
8926
+ backbone_common__models__accounting__common__InvoiceType:
8131
8927
  | 'customer_invoice'
8132
8928
  | 'customer_refund'
8133
8929
  | 'supplier_invoice'
8134
8930
  | 'supplier_refund';
8135
- /** VatCode */
8136
- backbone_api__app__routers__accounting__VatCode: {
8137
- /** Id */
8138
- id: string;
8139
- /** Code */
8140
- code?: string;
8141
- /** Label */
8142
- label: string;
8143
- /** @default unknown */
8144
- scope: components['schemas']['backbone_api__app__routers__accounting__VatCodeScope'];
8145
- /** Rate */
8146
- rate: number;
8147
- type: components['schemas']['backbone_api__app__routers__accounting__VatCodeType'];
8148
- /** Deductible Account */
8149
- deductible_account?: string;
8150
- /** Payable Account */
8151
- payable_account?: string;
8152
- };
8153
8931
  /**
8154
8932
  * VatCodeScope
8155
8933
  * @description An enumeration.
8156
8934
  * @enum {string}
8157
8935
  */
8158
- backbone_api__app__routers__accounting__VatCodeScope: 'nat' | 'eu' | 'int' | 'unknown';
8936
+ backbone_common__models__accounting__common__VatCodeScope: 'nat' | 'eu' | 'int' | 'unknown';
8159
8937
  /**
8160
8938
  * VatCodeType
8161
8939
  * @description An enumeration.
8162
8940
  * @enum {string}
8163
8941
  */
8164
- backbone_api__app__routers__accounting__VatCodeType:
8942
+ backbone_common__models__accounting__common__VatCodeType:
8165
8943
  | 'sale'
8166
8944
  | 'purchase'
8167
8945
  | 'both'
8168
8946
  | 'unknown';
8169
8947
  /** AddressItemIn */
8170
- backbone_api__app__routers__commerce__AddressItemIn: {
8948
+ backbone_common__models__commerce__common__AddressItemIn: {
8171
8949
  /** First Name */
8172
8950
  first_name: string;
8173
8951
  /** Last Name */
@@ -8193,7 +8971,7 @@ export interface components {
8193
8971
  email?: string;
8194
8972
  };
8195
8973
  /** AddressItemOut */
8196
- backbone_api__app__routers__commerce__AddressItemOut: {
8974
+ backbone_common__models__commerce__common__AddressItemOut: {
8197
8975
  address_type: components['schemas']['AddressType'];
8198
8976
  /** Company Name */
8199
8977
  company_name?: string;
@@ -8222,7 +9000,7 @@ export interface components {
8222
9000
  email?: string;
8223
9001
  };
8224
9002
  /** DiscountItem */
8225
- backbone_api__app__routers__commerce__DiscountItem: {
9003
+ backbone_common__models__commerce__common__DiscountItem: {
8226
9004
  /** Name */
8227
9005
  name: string;
8228
9006
  /** Description */
@@ -8231,7 +9009,7 @@ export interface components {
8231
9009
  amount: number;
8232
9010
  };
8233
9011
  /** ProductCategoryItem */
8234
- backbone_api__app__routers__commerce__ProductCategoryItem: {
9012
+ backbone_common__models__commerce__common__ProductCategoryItem: {
8235
9013
  /**
8236
9014
  * Id
8237
9015
  * @description Technical id of the category in Chift
@@ -8241,7 +9019,7 @@ export interface components {
8241
9019
  name: string;
8242
9020
  };
8243
9021
  /** ProductItem */
8244
- backbone_api__app__routers__commerce__ProductItem: {
9022
+ backbone_common__models__commerce__common__ProductItem: {
8245
9023
  /**
8246
9024
  * Id
8247
9025
  * @description Technical id in Chift
@@ -8262,7 +9040,7 @@ export interface components {
8262
9040
  * Categories
8263
9041
  * @default []
8264
9042
  */
8265
- categories: components['schemas']['backbone_api__app__routers__commerce__ProductCategoryItem'][];
9043
+ categories: components['schemas']['backbone_common__models__commerce__common__ProductCategoryItem'][];
8266
9044
  /**
8267
9045
  * Created On
8268
9046
  * Format: date-time
@@ -8293,7 +9071,7 @@ export interface components {
8293
9071
  common_images: components['schemas']['ImageItem'][];
8294
9072
  };
8295
9073
  /** ProductPriceItem */
8296
- backbone_api__app__routers__commerce__ProductPriceItem: {
9074
+ backbone_common__models__commerce__common__ProductPriceItem: {
8297
9075
  /** Currency */
8298
9076
  currency: string;
8299
9077
  /**
@@ -8302,147 +9080,6 @@ export interface components {
8302
9080
  */
8303
9081
  price: number;
8304
9082
  };
8305
- /** ConnectionItem */
8306
- backbone_api__app__routers__connections__ConnectionItem: {
8307
- /**
8308
- * Connectionid
8309
- * Format: uuid
8310
- */
8311
- connectionid: string;
8312
- /** Name */
8313
- name: string;
8314
- /** Integration */
8315
- integration: string;
8316
- /** Integrationid */
8317
- integrationid: number;
8318
- /** Api */
8319
- api: string;
8320
- /** Data */
8321
- data?: Record<string, never>;
8322
- status: components['schemas']['backbone_api__app__routers__connections__Status'];
8323
- /**
8324
- * Agent
8325
- * @description For local agent only. Indicates whether the local agent is up and running
8326
- */
8327
- agent?: components['schemas']['LocalAgentInfo'];
8328
- };
8329
- /** CredentialItem */
8330
- backbone_api__app__routers__connections__CredentialItem: {
8331
- /** Key */
8332
- key: string;
8333
- /** Value */
8334
- value: string;
8335
- };
8336
- /** PostConnectionItem */
8337
- backbone_api__app__routers__connections__PostConnectionItem: {
8338
- /**
8339
- * Integrationid
8340
- * @description Can be used to specify the integration code of a specific connector. If specified, the url will will point directly to the connection page of the connector and will redirect on save to the redirect url of the consumer if specified.
8341
- */
8342
- integrationid?: number;
8343
- /**
8344
- * Name
8345
- * @description Can be used to specify the name of the connection. Must be used in combination with an integrationid.
8346
- */
8347
- name?: string;
8348
- /**
8349
- * Credentials
8350
- * @description Can be used to specify the credentials of your connection. Must be used in combination with an integrationid and a name. Please use the getIntegrations route to see the available credentials for each integration
8351
- */
8352
- credentials?: components['schemas']['backbone_api__app__routers__connections__CredentialItem'][];
8353
- };
8354
- /**
8355
- * Status
8356
- * @description An enumeration.
8357
- * @enum {unknown}
8358
- */
8359
- backbone_api__app__routers__connections__Status: 'active' | 'inactive';
8360
- /**
8361
- * Status
8362
- * @description An enumeration.
8363
- * @enum {unknown}
8364
- */
8365
- backbone_api__app__routers__datastores__Status: 'active' | 'inactive';
8366
- /** CredentialItem */
8367
- backbone_api__app__routers__integrations__CredentialItem: {
8368
- /** Name */
8369
- name: string;
8370
- /**
8371
- * Optional
8372
- * @default false
8373
- */
8374
- optional: boolean;
8375
- };
8376
- /** PostConnectionItem */
8377
- backbone_api__app__routers__integrations__PostConnectionItem: {
8378
- /** Title */
8379
- title: string;
8380
- /** Optional */
8381
- optional: boolean;
8382
- /** Resource */
8383
- resource: string;
8384
- };
8385
- /**
8386
- * Status
8387
- * @description An enumeration.
8388
- * @enum {unknown}
8389
- */
8390
- backbone_api__app__routers__integrations__Status: 'active' | 'inactive';
8391
- /** ChiftPage[VatCode] */
8392
- 'backbone_api__app__routers__invoicing__ChiftPage[VatCode]': {
8393
- /** Items */
8394
- items: components['schemas']['backbone_common__models__invoicing__VatCode'][];
8395
- /** Total */
8396
- total: number;
8397
- /** Page */
8398
- page: number;
8399
- /** Size */
8400
- size: number;
8401
- };
8402
- /** ProductCategoryItem */
8403
- backbone_api__app__routers__pos__ProductCategoryItem: {
8404
- /** Id */
8405
- id: string;
8406
- /** Name */
8407
- name: string;
8408
- /** Description */
8409
- description?: string;
8410
- /**
8411
- * Id Parent
8412
- * @description Indicates if the category belongs to a parent category
8413
- */
8414
- id_parent?: string;
8415
- };
8416
- /** ProductPriceItem */
8417
- backbone_api__app__routers__pos__ProductPriceItem: {
8418
- /** Unit Price */
8419
- unit_price: number;
8420
- /** Tax Rate */
8421
- tax_rate?: number;
8422
- };
8423
- /** ConnectionItem */
8424
- backbone_api__app__routers__syncs__ConnectionItem: {
8425
- /** One Api */
8426
- one_api?: number;
8427
- /** Connection Type */
8428
- connection_type?: number;
8429
- /**
8430
- * Display Order
8431
- * @default 0
8432
- */
8433
- display_order: number;
8434
- /**
8435
- * Display Hidden
8436
- * @default false
8437
- */
8438
- display_hidden: boolean;
8439
- };
8440
- /**
8441
- * Status
8442
- * @description An enumeration.
8443
- * @enum {unknown}
8444
- */
8445
- backbone_api__app__routers__webhooks__Status: 'active' | 'inactive';
8446
9083
  /** AddressItemIn */
8447
9084
  backbone_common__models__common__AddressItemIn: {
8448
9085
  address_type: components['schemas']['AddressType'];
@@ -8503,18 +9140,99 @@ export interface components {
8503
9140
  * @enum {string}
8504
9141
  */
8505
9142
  backbone_common__models__common__PaymentStatus: 'all' | 'unpaid' | 'paid';
9143
+ /** InvoiceItem */
9144
+ backbone_common__models__invoicing__common__InvoiceItem: {
9145
+ /**
9146
+ * Currency
9147
+ * @description Currency matching target sofware name
9148
+ */
9149
+ currency: string;
9150
+ /** @description Invoice type */
9151
+ invoice_type: components['schemas']['backbone_common__models__invoicing__common__InvoiceType'];
9152
+ /** @description Status */
9153
+ status: components['schemas']['InvoiceStatus'];
9154
+ /**
9155
+ * Invoice Date
9156
+ * Format: date
9157
+ * @description Invoicing date
9158
+ */
9159
+ invoice_date: string;
9160
+ /**
9161
+ * Tax Amount
9162
+ * @description Taxes amount
9163
+ */
9164
+ tax_amount: number;
9165
+ /**
9166
+ * Untaxed Amount
9167
+ * @description Untaxed amount
9168
+ */
9169
+ untaxed_amount: number;
9170
+ /**
9171
+ * Total
9172
+ * @description Total amount incl. taxes
9173
+ */
9174
+ total: number;
9175
+ /**
9176
+ * Lines
9177
+ * @description Invoice lines
9178
+ * @default []
9179
+ */
9180
+ lines: components['schemas']['InvoiceLineItem'][];
9181
+ /**
9182
+ * Partner Id
9183
+ * @description Technical id of the vendor/customer in Chift
9184
+ */
9185
+ partner_id?: string;
9186
+ /**
9187
+ * Invoice Number
9188
+ * @description Number/sequence
9189
+ */
9190
+ invoice_number?: string;
9191
+ /**
9192
+ * Due Date
9193
+ * Format: date
9194
+ * @description Due date
9195
+ */
9196
+ due_date?: string;
9197
+ /**
9198
+ * Reference
9199
+ * @description Reference
9200
+ */
9201
+ reference?: string;
9202
+ /**
9203
+ * Payment Communication
9204
+ * @description Payment communication
9205
+ */
9206
+ payment_communication?: string;
9207
+ /**
9208
+ * Customer Memo
9209
+ * @description Customer note/memo
9210
+ */
9211
+ customer_memo?: string;
9212
+ /**
9213
+ * Journal Ref
9214
+ * @description Journal
9215
+ */
9216
+ journal_ref?: components['schemas']['FieldRef'];
9217
+ /**
9218
+ * Italian Specificities
9219
+ * @description Specificities for Italy
9220
+ */
9221
+ italian_specificities?: components['schemas']['ItalianSpecificities'];
9222
+ };
8506
9223
  /**
8507
9224
  * InvoiceType
8508
9225
  * @description An enumeration.
8509
9226
  * @enum {string}
8510
9227
  */
8511
- backbone_common__models__invoicing__InvoiceType:
9228
+ backbone_common__models__invoicing__common__InvoiceType:
8512
9229
  | 'customer_invoice'
8513
9230
  | 'customer_refund'
8514
9231
  | 'supplier_invoice'
8515
- | 'supplier_refund';
9232
+ | 'supplier_refund'
9233
+ | 'all';
8516
9234
  /** ProductItem */
8517
- backbone_common__models__invoicing__ProductItem: {
9235
+ backbone_common__models__invoicing__common__ProductItem: {
8518
9236
  /**
8519
9237
  * Name
8520
9238
  * @description Name
@@ -8556,71 +9274,93 @@ export interface components {
8556
9274
  */
8557
9275
  description?: string;
8558
9276
  };
8559
- /** VatCode */
8560
- backbone_common__models__invoicing__VatCode: {
8561
- /**
8562
- * Id
8563
- * @description Technical id in Chift
8564
- */
8565
- id: string;
8566
- /**
8567
- * Source Ref
8568
- * @description Technical id in the target software
8569
- */
8570
- source_ref: components['schemas']['Ref'];
8571
- /**
8572
- * Label
8573
- * @description Label
8574
- */
8575
- label: string;
8576
- /**
8577
- * Rate
8578
- * @description Tax rate (e.g. 21.0)
8579
- */
8580
- rate: number;
8581
- /** @description Type */
8582
- type: components['schemas']['backbone_common__models__invoicing__VatCodeType'];
8583
- /**
8584
- * Code
8585
- * @description Code
8586
- */
8587
- code?: string;
8588
- /**
8589
- * @description Scope
8590
- * @default unknown
8591
- */
8592
- scope: components['schemas']['backbone_common__models__invoicing__VatCodeScope'];
8593
- };
8594
9277
  /**
8595
9278
  * VatCodeScope
8596
9279
  * @description An enumeration.
8597
9280
  * @enum {string}
8598
9281
  */
8599
- backbone_common__models__invoicing__VatCodeScope: 'nat' | 'eu' | 'int' | 'unknown';
9282
+ backbone_common__models__invoicing__common__VatCodeScope: 'nat' | 'eu' | 'int' | 'unknown';
8600
9283
  /**
8601
9284
  * VatCodeType
8602
9285
  * @description An enumeration.
8603
9286
  * @enum {string}
8604
9287
  */
8605
- backbone_common__models__invoicing__VatCodeType: 'sale' | 'purchase' | 'both' | 'unknown';
9288
+ backbone_common__models__invoicing__common__VatCodeType:
9289
+ | 'sale'
9290
+ | 'purchase'
9291
+ | 'both'
9292
+ | 'unknown';
8606
9293
  /**
8607
9294
  * PaymentStatus
8608
9295
  * @description An enumeration.
8609
9296
  * @enum {unknown}
8610
9297
  */
8611
- backbone_common__models__payment__PaymentStatus:
9298
+ backbone_common__models__payment__common__PaymentStatus:
8612
9299
  | 'pending'
8613
9300
  | 'completed'
8614
9301
  | 'canceled'
8615
9302
  | 'failed'
8616
9303
  | 'unknown'
8617
9304
  | 'authorized';
9305
+ /** InvoiceItem */
9306
+ backbone_common__models__pms__common__InvoiceItem: {
9307
+ /**
9308
+ * Id
9309
+ * @description Technical id in Chift
9310
+ */
9311
+ id: string;
9312
+ /**
9313
+ * Source Ref
9314
+ * @description Technical id in the target software
9315
+ */
9316
+ source_ref: components['schemas']['Ref'];
9317
+ /**
9318
+ * Invoice Number
9319
+ * @description Number/sequence
9320
+ */
9321
+ invoice_number?: string;
9322
+ /**
9323
+ * Creation Date
9324
+ * Format: date-time
9325
+ */
9326
+ creation_date?: string;
9327
+ /**
9328
+ * Closing Date
9329
+ * Format: date-time
9330
+ */
9331
+ closing_date?: string;
9332
+ /** Partners */
9333
+ partners?: components['schemas']['InvoicePartnerItem'][];
9334
+ };
9335
+ /** ProductCategoryItem */
9336
+ backbone_common__models__pos__common__ProductCategoryItem: {
9337
+ /** Id */
9338
+ id: string;
9339
+ /** Name */
9340
+ name: string;
9341
+ /** Description */
9342
+ description?: string;
9343
+ /**
9344
+ * Id Parent
9345
+ * @description Indicates if the category belongs to a parent category
9346
+ */
9347
+ id_parent?: string;
9348
+ };
9349
+ /** ProductPriceItem */
9350
+ backbone_common__models__pos__common__ProductPriceItem: {
9351
+ /** Unit Price */
9352
+ unit_price: number;
9353
+ /** Tax Rate */
9354
+ tax_rate?: number;
9355
+ };
8618
9356
  /** DiscountItem */
8619
9357
  backbone_common__models__pos_pms__DiscountItem: {
8620
9358
  /** Name */
8621
9359
  name?: string;
8622
9360
  /** Total */
8623
9361
  total: number;
9362
+ /** @default UNKNOWN */
9363
+ type: components['schemas']['DiscountType'];
8624
9364
  };
8625
9365
  /**
8626
9366
  * PaymentStatus
@@ -8643,6 +9383,39 @@ export interface components {
8643
9383
  }
8644
9384
  export type $defs = Record<string, never>;
8645
9385
  export interface operations {
9386
+ generate_access_token_token_post: {
9387
+ parameters: {
9388
+ query?: never;
9389
+ header?: never;
9390
+ path?: never;
9391
+ cookie?: never;
9392
+ };
9393
+ requestBody: {
9394
+ content: {
9395
+ 'application/json': components['schemas']['AuthItem'];
9396
+ };
9397
+ };
9398
+ responses: {
9399
+ /** @description Successful Response */
9400
+ 200: {
9401
+ headers: {
9402
+ [name: string]: unknown;
9403
+ };
9404
+ content: {
9405
+ 'application/json': components['schemas']['Token'];
9406
+ };
9407
+ };
9408
+ /** @description Validation Error */
9409
+ 422: {
9410
+ headers: {
9411
+ [name: string]: unknown;
9412
+ };
9413
+ content: {
9414
+ 'application/json': components['schemas']['HTTPValidationError'];
9415
+ };
9416
+ };
9417
+ };
9418
+ };
8646
9419
  consumers_get_consumers: {
8647
9420
  parameters: {
8648
9421
  query?: {
@@ -9732,6 +10505,49 @@ export interface operations {
9732
10505
  };
9733
10506
  };
9734
10507
  };
10508
+ syncs_update_synctoconsumer: {
10509
+ parameters: {
10510
+ query?: never;
10511
+ header?: never;
10512
+ path: {
10513
+ syncid: string;
10514
+ consumerid: string;
10515
+ };
10516
+ cookie?: never;
10517
+ };
10518
+ requestBody: {
10519
+ content: {
10520
+ 'application/json': components['schemas']['ReadSyncMappingItem'][];
10521
+ };
10522
+ };
10523
+ responses: {
10524
+ /** @description Successful Response */
10525
+ 204: {
10526
+ headers: {
10527
+ [name: string]: unknown;
10528
+ };
10529
+ content?: never;
10530
+ };
10531
+ /** @description Not Found */
10532
+ 404: {
10533
+ headers: {
10534
+ [name: string]: unknown;
10535
+ };
10536
+ content: {
10537
+ 'application/json': components['schemas']['ChiftError'];
10538
+ };
10539
+ };
10540
+ /** @description Unprocessable Entity */
10541
+ 422: {
10542
+ headers: {
10543
+ [name: string]: unknown;
10544
+ };
10545
+ content: {
10546
+ 'application/json': components['schemas']['ChiftError'];
10547
+ };
10548
+ };
10549
+ };
10550
+ };
9735
10551
  syncs_enable_syncconsumer: {
9736
10552
  parameters: {
9737
10553
  query?: never;
@@ -9805,13 +10621,11 @@ export interface operations {
9805
10621
  };
9806
10622
  responses: {
9807
10623
  /** @description Successful Response */
9808
- 200: {
10624
+ 204: {
9809
10625
  headers: {
9810
10626
  [name: string]: unknown;
9811
10627
  };
9812
- content: {
9813
- 'application/json': unknown;
9814
- };
10628
+ content?: never;
9815
10629
  };
9816
10630
  /** @description Not Found */
9817
10631
  404: {
@@ -10085,10 +10899,9 @@ export interface operations {
10085
10899
  accounting_get_bookyears: {
10086
10900
  parameters: {
10087
10901
  query?: {
10088
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10089
- folder_id?: string;
10090
10902
  page?: number;
10091
10903
  size?: number;
10904
+ folder_id?: string;
10092
10905
  };
10093
10906
  header?: never;
10094
10907
  path: {
@@ -10130,10 +10943,9 @@ export interface operations {
10130
10943
  accounting_get_analytic_plans: {
10131
10944
  parameters: {
10132
10945
  query?: {
10133
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10134
- folder_id?: string;
10135
10946
  page?: number;
10136
10947
  size?: number;
10948
+ folder_id?: string;
10137
10949
  };
10138
10950
  header?: never;
10139
10951
  path: {
@@ -10175,10 +10987,11 @@ export interface operations {
10175
10987
  accounting_get_clients: {
10176
10988
  parameters: {
10177
10989
  query?: {
10178
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10179
- folder_id?: string;
10180
10990
  page?: number;
10181
10991
  size?: number;
10992
+ folder_id?: string;
10993
+ search?: string;
10994
+ updated_after?: string;
10182
10995
  };
10183
10996
  header?: never;
10184
10997
  path: {
@@ -10220,10 +11033,8 @@ export interface operations {
10220
11033
  accounting_create_client: {
10221
11034
  parameters: {
10222
11035
  query?: {
10223
- /** @description Indicate the ID of the corresponding supplier in the accounting system. Accounting systems using 1 entity to handle clients/customers and suppliers will merge the existing supplier with the new client/customer (if the parameter is filled in with the ID of an existing supplier). */
10224
- force_merge?: string;
10225
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10226
11036
  folder_id?: string;
11037
+ force_merge?: string;
10227
11038
  };
10228
11039
  header?: never;
10229
11040
  path: {
@@ -10269,13 +11080,12 @@ export interface operations {
10269
11080
  accounting_get_client: {
10270
11081
  parameters: {
10271
11082
  query?: {
10272
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10273
11083
  folder_id?: string;
10274
11084
  };
10275
11085
  header?: never;
10276
11086
  path: {
10277
- client_id: string;
10278
11087
  consumer_id: string;
11088
+ client_id: string;
10279
11089
  };
10280
11090
  cookie?: never;
10281
11091
  };
@@ -10322,13 +11132,12 @@ export interface operations {
10322
11132
  accounting_update_client: {
10323
11133
  parameters: {
10324
11134
  query?: {
10325
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10326
11135
  folder_id?: string;
10327
11136
  };
10328
11137
  header?: never;
10329
11138
  path: {
10330
- client_id: string;
10331
11139
  consumer_id: string;
11140
+ client_id: string;
10332
11141
  };
10333
11142
  cookie?: never;
10334
11143
  };
@@ -10379,10 +11188,11 @@ export interface operations {
10379
11188
  accounting_get_suppliers: {
10380
11189
  parameters: {
10381
11190
  query?: {
10382
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10383
- folder_id?: string;
10384
11191
  page?: number;
10385
11192
  size?: number;
11193
+ folder_id?: string;
11194
+ search?: string;
11195
+ updated_after?: string;
10386
11196
  };
10387
11197
  header?: never;
10388
11198
  path: {
@@ -10424,10 +11234,8 @@ export interface operations {
10424
11234
  accounting_create_supplier: {
10425
11235
  parameters: {
10426
11236
  query?: {
10427
- /** @description Indicate the ID of the corresponding client/customer in the accounting system. Accounting systems using 1 entity to handle clients/customers and suppliers will merge the existing client/customer with the new supplier (if the parameter is filled in with the ID of an existing client/customer). */
10428
- force_merge?: string;
10429
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10430
11237
  folder_id?: string;
11238
+ force_merge?: string;
10431
11239
  };
10432
11240
  header?: never;
10433
11241
  path: {
@@ -10473,13 +11281,12 @@ export interface operations {
10473
11281
  accounting_get_supplier: {
10474
11282
  parameters: {
10475
11283
  query?: {
10476
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10477
11284
  folder_id?: string;
10478
11285
  };
10479
11286
  header?: never;
10480
11287
  path: {
10481
- supplier_id: string;
10482
11288
  consumer_id: string;
11289
+ supplier_id: string;
10483
11290
  };
10484
11291
  cookie?: never;
10485
11292
  };
@@ -10526,13 +11333,12 @@ export interface operations {
10526
11333
  accounting_update_supplier: {
10527
11334
  parameters: {
10528
11335
  query?: {
10529
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10530
11336
  folder_id?: string;
10531
11337
  };
10532
11338
  header?: never;
10533
11339
  path: {
10534
- supplier_id: string;
10535
11340
  consumer_id: string;
11341
+ supplier_id: string;
10536
11342
  };
10537
11343
  cookie?: never;
10538
11344
  };
@@ -10583,15 +11389,9 @@ export interface operations {
10583
11389
  accounting_create_invoice: {
10584
11390
  parameters: {
10585
11391
  query?: {
10586
- /**
10587
- * @description Financial period in which the invoice must be created. The format is the following: mmYYYY.
10588
- * @example 022022
10589
- */
11392
+ folder_id?: string;
10590
11393
  force_financial_period?: string;
10591
- /** @description Regroup lines by account number, tax code and analytic account in the accounting system. */
10592
11394
  regroup_lines?: components['schemas']['BoolParam'];
10593
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10594
- folder_id?: string;
10595
11395
  };
10596
11396
  header?: never;
10597
11397
  path: {
@@ -10646,15 +11446,9 @@ export interface operations {
10646
11446
  accounting_create_invoice_multiple_plans: {
10647
11447
  parameters: {
10648
11448
  query?: {
10649
- /**
10650
- * @description Financial period in which the invoice must be created. The format is the following: mmYYYY.
10651
- * @example 022022
10652
- */
11449
+ folder_id?: string;
10653
11450
  force_financial_period?: string;
10654
- /** @description Regroup lines by account number, tax code and analytic distribution in the accounting system. */
10655
11451
  regroup_lines?: components['schemas']['BoolParam'];
10656
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10657
- folder_id?: string;
10658
11452
  };
10659
11453
  header?: never;
10660
11454
  path: {
@@ -10709,26 +11503,20 @@ export interface operations {
10709
11503
  accounting_get_invoices_by_type: {
10710
11504
  parameters: {
10711
11505
  query?: {
11506
+ page?: number;
11507
+ size?: number;
11508
+ folder_id?: string;
10712
11509
  date_from?: string;
10713
11510
  date_to?: string;
10714
- /**
10715
- * @description Journal Ids used to filter the invoices. The Ids are separed by ','
10716
- * @example 3,12
10717
- */
10718
11511
  journal_ids?: string;
10719
- /** @description Indicate if payments linked to the invoices should be included in the response. By default payments are not included and the field payments is null. */
10720
11512
  include_payments?: components['schemas']['BoolParam'];
10721
- /** @description Extra filter to retrieve invoices with a specific payment status. */
10722
11513
  payment_status?: components['schemas']['backbone_common__models__common__PaymentStatus'];
10723
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10724
- folder_id?: string;
10725
- page?: number;
10726
- size?: number;
11514
+ updated_after?: string;
10727
11515
  };
10728
11516
  header?: never;
10729
11517
  path: {
10730
- invoice_type: components['schemas']['backbone_api__app__routers__accounting__InvoiceType'];
10731
11518
  consumer_id: string;
11519
+ invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
10732
11520
  };
10733
11521
  cookie?: never;
10734
11522
  };
@@ -10763,18 +11551,23 @@ export interface operations {
10763
11551
  };
10764
11552
  };
10765
11553
  };
10766
- accounting_get_invoice: {
11554
+ accounting_get_invoices_by_type_multi_analytic_plans: {
10767
11555
  parameters: {
10768
11556
  query?: {
10769
- /** @description Indicate if payments linked to the invoice should be included in the response. By default payments are not included and the field payments is null. */
10770
- include_payments?: components['schemas']['BoolParam'];
10771
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11557
+ page?: number;
11558
+ size?: number;
10772
11559
  folder_id?: string;
11560
+ date_from?: string;
11561
+ date_to?: string;
11562
+ journal_ids?: string;
11563
+ include_payments?: components['schemas']['BoolParam'];
11564
+ payment_status?: components['schemas']['backbone_common__models__common__PaymentStatus'];
11565
+ updated_after?: string;
10773
11566
  };
10774
11567
  header?: never;
10775
11568
  path: {
10776
- invoice_id: string;
10777
11569
  consumer_id: string;
11570
+ invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
10778
11571
  };
10779
11572
  cookie?: never;
10780
11573
  };
@@ -10786,7 +11579,7 @@ export interface operations {
10786
11579
  [name: string]: unknown;
10787
11580
  };
10788
11581
  content: {
10789
- 'application/json': components['schemas']['InvoiceItemOutMonoAnalyticPlan'];
11582
+ 'application/json': components['schemas']['ChiftPage_InvoiceItemOutMultiAnalyticPlans_'];
10790
11583
  };
10791
11584
  };
10792
11585
  /** @description Bad Request */
@@ -10798,15 +11591,6 @@ export interface operations {
10798
11591
  'application/json': components['schemas']['ChiftError'];
10799
11592
  };
10800
11593
  };
10801
- /** @description Not Found */
10802
- 404: {
10803
- headers: {
10804
- [name: string]: unknown;
10805
- };
10806
- content: {
10807
- 'application/json': components['schemas']['ChiftError'];
10808
- };
10809
- };
10810
11594
  /** @description Validation Error */
10811
11595
  422: {
10812
11596
  headers: {
@@ -10818,18 +11602,16 @@ export interface operations {
10818
11602
  };
10819
11603
  };
10820
11604
  };
10821
- accounting_get_invoice_multi_analytic_plans: {
11605
+ accounting_get_invoice: {
10822
11606
  parameters: {
10823
11607
  query?: {
10824
- /** @description Indicate if payments linked to the invoice should be included in the response. By default payments are not included and the field payments is null. */
10825
- include_payments?: components['schemas']['BoolParam'];
10826
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10827
11608
  folder_id?: string;
11609
+ include_payments?: components['schemas']['BoolParam'];
10828
11610
  };
10829
11611
  header?: never;
10830
11612
  path: {
10831
- invoice_id: string;
10832
11613
  consumer_id: string;
11614
+ invoice_id: string;
10833
11615
  };
10834
11616
  cookie?: never;
10835
11617
  };
@@ -10841,7 +11623,7 @@ export interface operations {
10841
11623
  [name: string]: unknown;
10842
11624
  };
10843
11625
  content: {
10844
- 'application/json': components['schemas']['InvoiceItemOutMultiAnalyticPlans'];
11626
+ 'application/json': components['schemas']['InvoiceItemOutMonoAnalyticPlan'];
10845
11627
  };
10846
11628
  };
10847
11629
  /** @description Bad Request */
@@ -10873,29 +11655,16 @@ export interface operations {
10873
11655
  };
10874
11656
  };
10875
11657
  };
10876
- accounting_get_invoices_by_type_multi_analytic_plans: {
11658
+ accounting_get_invoice_multi_analytic_plans: {
10877
11659
  parameters: {
10878
11660
  query?: {
10879
- date_from?: string;
10880
- date_to?: string;
10881
- /**
10882
- * @description Journal Ids used to filter the invoices. The Ids are separed by ','
10883
- * @example 3,12
10884
- */
10885
- journal_ids?: string;
10886
- /** @description Indicate if payments linked to the invoices should be included in the response. By default payments are not included and the field payments is null. */
10887
- include_payments?: components['schemas']['BoolParam'];
10888
- /** @description Extra filter to retrieve invoices with a specific payment status. */
10889
- payment_status?: components['schemas']['backbone_common__models__common__PaymentStatus'];
10890
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10891
11661
  folder_id?: string;
10892
- page?: number;
10893
- size?: number;
11662
+ include_payments?: components['schemas']['BoolParam'];
10894
11663
  };
10895
11664
  header?: never;
10896
11665
  path: {
10897
- invoice_type: components['schemas']['backbone_api__app__routers__accounting__InvoiceType'];
10898
11666
  consumer_id: string;
11667
+ invoice_id: string;
10899
11668
  };
10900
11669
  cookie?: never;
10901
11670
  };
@@ -10907,7 +11676,7 @@ export interface operations {
10907
11676
  [name: string]: unknown;
10908
11677
  };
10909
11678
  content: {
10910
- 'application/json': components['schemas']['ChiftPage_InvoiceItemOutMultiAnalyticPlans_'];
11679
+ 'application/json': components['schemas']['InvoiceItemOutMultiAnalyticPlans'];
10911
11680
  };
10912
11681
  };
10913
11682
  /** @description Bad Request */
@@ -10919,6 +11688,15 @@ export interface operations {
10919
11688
  'application/json': components['schemas']['ChiftError'];
10920
11689
  };
10921
11690
  };
11691
+ /** @description Not Found */
11692
+ 404: {
11693
+ headers: {
11694
+ [name: string]: unknown;
11695
+ };
11696
+ content: {
11697
+ 'application/json': components['schemas']['ChiftError'];
11698
+ };
11699
+ };
10922
11700
  /** @description Validation Error */
10923
11701
  422: {
10924
11702
  headers: {
@@ -10933,10 +11711,9 @@ export interface operations {
10933
11711
  accounting_get_analytic_accounts: {
10934
11712
  parameters: {
10935
11713
  query?: {
10936
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10937
- folder_id?: string;
10938
11714
  page?: number;
10939
11715
  size?: number;
11716
+ folder_id?: string;
10940
11717
  };
10941
11718
  header?: never;
10942
11719
  path: {
@@ -10978,7 +11755,6 @@ export interface operations {
10978
11755
  accounting_create_analytic_account: {
10979
11756
  parameters: {
10980
11757
  query?: {
10981
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10982
11758
  folder_id?: string;
10983
11759
  };
10984
11760
  header?: never;
@@ -11025,13 +11801,12 @@ export interface operations {
11025
11801
  accounting_create_analytic_account_multi_plans: {
11026
11802
  parameters: {
11027
11803
  query?: {
11028
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11029
11804
  folder_id?: string;
11030
11805
  };
11031
11806
  header?: never;
11032
11807
  path: {
11033
- analytic_plan: string;
11034
11808
  consumer_id: string;
11809
+ analytic_plan: string;
11035
11810
  };
11036
11811
  cookie?: never;
11037
11812
  };
@@ -11073,13 +11848,12 @@ export interface operations {
11073
11848
  accounting_get_analytic_account: {
11074
11849
  parameters: {
11075
11850
  query?: {
11076
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11077
11851
  folder_id?: string;
11078
11852
  };
11079
11853
  header?: never;
11080
11854
  path: {
11081
- analytic_account_id: string;
11082
11855
  consumer_id: string;
11856
+ analytic_account_id: string;
11083
11857
  };
11084
11858
  cookie?: never;
11085
11859
  };
@@ -11126,13 +11900,12 @@ export interface operations {
11126
11900
  accounting_update_analytic_account: {
11127
11901
  parameters: {
11128
11902
  query?: {
11129
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11130
11903
  folder_id?: string;
11131
11904
  };
11132
11905
  header?: never;
11133
11906
  path: {
11134
- analytic_account_id: string;
11135
11907
  consumer_id: string;
11908
+ analytic_account_id: string;
11136
11909
  };
11137
11910
  cookie?: never;
11138
11911
  };
@@ -11183,14 +11956,13 @@ export interface operations {
11183
11956
  accounting_get_analytic_account_multi_plans: {
11184
11957
  parameters: {
11185
11958
  query?: {
11186
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11187
11959
  folder_id?: string;
11188
11960
  };
11189
11961
  header?: never;
11190
11962
  path: {
11963
+ consumer_id: string;
11191
11964
  analytic_account_id: string;
11192
11965
  analytic_plan: string;
11193
- consumer_id: string;
11194
11966
  };
11195
11967
  cookie?: never;
11196
11968
  };
@@ -11237,14 +12009,13 @@ export interface operations {
11237
12009
  accounting_update_analytic_account_multi_plans: {
11238
12010
  parameters: {
11239
12011
  query?: {
11240
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11241
12012
  folder_id?: string;
11242
12013
  };
11243
12014
  header?: never;
11244
12015
  path: {
12016
+ consumer_id: string;
11245
12017
  analytic_account_id: string;
11246
12018
  analytic_plan: string;
11247
- consumer_id: string;
11248
12019
  };
11249
12020
  cookie?: never;
11250
12021
  };
@@ -11295,10 +12066,9 @@ export interface operations {
11295
12066
  accounting_get_analytic_accounts_multi_plans: {
11296
12067
  parameters: {
11297
12068
  query?: {
11298
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11299
- folder_id?: string;
11300
12069
  page?: number;
11301
12070
  size?: number;
12071
+ folder_id?: string;
11302
12072
  };
11303
12073
  header?: never;
11304
12074
  path: {
@@ -11340,15 +12110,15 @@ export interface operations {
11340
12110
  accounting_get_journal_entries: {
11341
12111
  parameters: {
11342
12112
  query: {
12113
+ page?: number;
12114
+ size?: number;
12115
+ folder_id?: string;
11343
12116
  unposted_allowed: components['schemas']['BoolParam'];
11344
- date_from: string;
11345
- date_to: string;
11346
12117
  journal_id: string;
12118
+ date_from?: string;
12119
+ date_to?: string;
12120
+ updated_after?: string;
11347
12121
  partner_id?: string;
11348
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11349
- folder_id?: string;
11350
- page?: number;
11351
- size?: number;
11352
12122
  };
11353
12123
  header?: never;
11354
12124
  path: {
@@ -11390,7 +12160,6 @@ export interface operations {
11390
12160
  accounting_create_journal_entry: {
11391
12161
  parameters: {
11392
12162
  query?: {
11393
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11394
12163
  folder_id?: string;
11395
12164
  };
11396
12165
  header?: never;
@@ -11399,11 +12168,70 @@ export interface operations {
11399
12168
  };
11400
12169
  cookie?: never;
11401
12170
  };
11402
- requestBody: {
11403
- content: {
11404
- 'application/json': components['schemas']['JournalEntryIn'];
11405
- };
11406
- };
12171
+ requestBody: {
12172
+ content: {
12173
+ 'application/json': components['schemas']['JournalEntryIn'];
12174
+ };
12175
+ };
12176
+ responses: {
12177
+ /** @description Successful Response */
12178
+ 200: {
12179
+ headers: {
12180
+ [name: string]: unknown;
12181
+ };
12182
+ content: {
12183
+ 'application/json': components['schemas']['JournalEntryMultiAnalyticPlan'];
12184
+ };
12185
+ };
12186
+ /** @description Bad Request */
12187
+ 400: {
12188
+ headers: {
12189
+ [name: string]: unknown;
12190
+ };
12191
+ content: {
12192
+ 'application/json': components['schemas']['ChiftError'];
12193
+ };
12194
+ };
12195
+ /** @description Not Found */
12196
+ 404: {
12197
+ headers: {
12198
+ [name: string]: unknown;
12199
+ };
12200
+ content: {
12201
+ 'application/json': components['schemas']['ChiftError'];
12202
+ };
12203
+ };
12204
+ /** @description Unprocessable Entity */
12205
+ 422: {
12206
+ headers: {
12207
+ [name: string]: unknown;
12208
+ };
12209
+ content: {
12210
+ 'application/json': components['schemas']['ChiftError'];
12211
+ };
12212
+ };
12213
+ };
12214
+ };
12215
+ accounting_get_journal_entries_multi_plan: {
12216
+ parameters: {
12217
+ query: {
12218
+ page?: number;
12219
+ size?: number;
12220
+ folder_id?: string;
12221
+ unposted_allowed: components['schemas']['BoolParam'];
12222
+ journal_id: string;
12223
+ date_from?: string;
12224
+ date_to?: string;
12225
+ updated_after?: string;
12226
+ partner_id?: string;
12227
+ };
12228
+ header?: never;
12229
+ path: {
12230
+ consumer_id: string;
12231
+ };
12232
+ cookie?: never;
12233
+ };
12234
+ requestBody?: never;
11407
12235
  responses: {
11408
12236
  /** @description Successful Response */
11409
12237
  200: {
@@ -11411,7 +12239,7 @@ export interface operations {
11411
12239
  [name: string]: unknown;
11412
12240
  };
11413
12241
  content: {
11414
- 'application/json': components['schemas']['JournalEntryMultiAnalyticPlan'];
12242
+ 'application/json': components['schemas']['ChiftPage_JournalEntryMultiAnalyticPlan_'];
11415
12243
  };
11416
12244
  };
11417
12245
  /** @description Bad Request */
@@ -11423,42 +12251,26 @@ export interface operations {
11423
12251
  'application/json': components['schemas']['ChiftError'];
11424
12252
  };
11425
12253
  };
11426
- /** @description Not Found */
11427
- 404: {
11428
- headers: {
11429
- [name: string]: unknown;
11430
- };
11431
- content: {
11432
- 'application/json': components['schemas']['ChiftError'];
11433
- };
11434
- };
11435
- /** @description Unprocessable Entity */
12254
+ /** @description Validation Error */
11436
12255
  422: {
11437
12256
  headers: {
11438
12257
  [name: string]: unknown;
11439
12258
  };
11440
12259
  content: {
11441
- 'application/json': components['schemas']['ChiftError'];
12260
+ 'application/json': components['schemas']['HTTPValidationError'];
11442
12261
  };
11443
12262
  };
11444
12263
  };
11445
12264
  };
11446
- accounting_get_journal_entries_mutli_plan: {
12265
+ accounting_get_journal_entry: {
11447
12266
  parameters: {
11448
- query: {
11449
- unposted_allowed: components['schemas']['BoolParam'];
11450
- date_from: string;
11451
- date_to: string;
11452
- journal_id: string;
11453
- partner_id?: string;
11454
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
12267
+ query?: {
11455
12268
  folder_id?: string;
11456
- page?: number;
11457
- size?: number;
11458
12269
  };
11459
12270
  header?: never;
11460
12271
  path: {
11461
12272
  consumer_id: string;
12273
+ journal_entry_id: string;
11462
12274
  };
11463
12275
  cookie?: never;
11464
12276
  };
@@ -11470,7 +12282,7 @@ export interface operations {
11470
12282
  [name: string]: unknown;
11471
12283
  };
11472
12284
  content: {
11473
- 'application/json': components['schemas']['ChiftPage_JournalEntryMultiAnalyticPlan_'];
12285
+ 'application/json': components['schemas']['JournalEntryMultiAnalyticPlan'];
11474
12286
  };
11475
12287
  };
11476
12288
  /** @description Bad Request */
@@ -11482,6 +12294,15 @@ export interface operations {
11482
12294
  'application/json': components['schemas']['ChiftError'];
11483
12295
  };
11484
12296
  };
12297
+ /** @description Not Found */
12298
+ 404: {
12299
+ headers: {
12300
+ [name: string]: unknown;
12301
+ };
12302
+ content: {
12303
+ 'application/json': components['schemas']['ChiftError'];
12304
+ };
12305
+ };
11485
12306
  /** @description Validation Error */
11486
12307
  422: {
11487
12308
  headers: {
@@ -11496,10 +12317,8 @@ export interface operations {
11496
12317
  accounting_create_generic_journal_entry: {
11497
12318
  parameters: {
11498
12319
  query?: {
11499
- /** @description Force your own currency exchange rate when creating entries. */
11500
- force_currency_exchange?: components['schemas']['BoolParam'];
11501
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11502
12320
  folder_id?: string;
12321
+ force_currency_exchange?: components['schemas']['BoolParam'];
11503
12322
  };
11504
12323
  header?: never;
11505
12324
  path: {
@@ -11554,10 +12373,9 @@ export interface operations {
11554
12373
  accounting_get_payments_by_invoice: {
11555
12374
  parameters: {
11556
12375
  query?: {
11557
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11558
- folder_id?: string;
11559
12376
  page?: number;
11560
12377
  size?: number;
12378
+ folder_id?: string;
11561
12379
  };
11562
12380
  header?: never;
11563
12381
  path: {
@@ -11609,10 +12427,9 @@ export interface operations {
11609
12427
  accounting_get_journals: {
11610
12428
  parameters: {
11611
12429
  query?: {
11612
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11613
- folder_id?: string;
11614
12430
  page?: number;
11615
12431
  size?: number;
12432
+ folder_id?: string;
11616
12433
  };
11617
12434
  header?: never;
11618
12435
  path: {
@@ -11654,10 +12471,9 @@ export interface operations {
11654
12471
  accounting_get_vat_codes: {
11655
12472
  parameters: {
11656
12473
  query?: {
11657
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11658
- folder_id?: string;
11659
12474
  page?: number;
11660
12475
  size?: number;
12476
+ folder_id?: string;
11661
12477
  };
11662
12478
  header?: never;
11663
12479
  path: {
@@ -11673,7 +12489,7 @@ export interface operations {
11673
12489
  [name: string]: unknown;
11674
12490
  };
11675
12491
  content: {
11676
- 'application/json': components['schemas']['backbone_api__app__routers__accounting__ChiftPage[VatCode]'];
12492
+ 'application/json': components['schemas']['ChiftPage_AccountingVatCode_'];
11677
12493
  };
11678
12494
  };
11679
12495
  /** @description Bad Request */
@@ -11699,17 +12515,12 @@ export interface operations {
11699
12515
  accounting_get_miscellaneous_operations: {
11700
12516
  parameters: {
11701
12517
  query?: {
12518
+ page?: number;
12519
+ size?: number;
12520
+ folder_id?: string;
11702
12521
  date_from?: string;
11703
12522
  date_to?: string;
11704
- /**
11705
- * @description Journal Ids used to filter the invoices. The Ids are separed by ','
11706
- * @example 3,12
11707
- */
11708
12523
  journal_ids?: string;
11709
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11710
- folder_id?: string;
11711
- page?: number;
11712
- size?: number;
11713
12524
  };
11714
12525
  header?: never;
11715
12526
  path: {
@@ -11751,7 +12562,6 @@ export interface operations {
11751
12562
  accounting_create_miscellaneous_operation: {
11752
12563
  parameters: {
11753
12564
  query?: {
11754
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11755
12565
  folder_id?: string;
11756
12566
  };
11757
12567
  header?: never;
@@ -11807,7 +12617,6 @@ export interface operations {
11807
12617
  accounting_get_miscellaneous_operation: {
11808
12618
  parameters: {
11809
12619
  query?: {
11810
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11811
12620
  folder_id?: string;
11812
12621
  };
11813
12622
  header?: never;
@@ -11851,7 +12660,6 @@ export interface operations {
11851
12660
  accounting_match_entries: {
11852
12661
  parameters: {
11853
12662
  query?: {
11854
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11855
12663
  folder_id?: string;
11856
12664
  };
11857
12665
  header?: never;
@@ -11904,34 +12712,30 @@ export interface operations {
11904
12712
  };
11905
12713
  };
11906
12714
  };
11907
- accounting_add_attachment: {
12715
+ accounting_match_entries_multiple: {
11908
12716
  parameters: {
11909
12717
  query?: {
11910
- /** @description Indicate what to do if a document is already attched to the invoice. */
11911
- overwrite_existing?: components['schemas']['BoolParam'];
11912
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11913
12718
  folder_id?: string;
11914
12719
  };
11915
12720
  header?: never;
11916
12721
  path: {
11917
- invoice_id: string;
11918
12722
  consumer_id: string;
11919
12723
  };
11920
12724
  cookie?: never;
11921
12725
  };
11922
12726
  requestBody: {
11923
12727
  content: {
11924
- 'application/json': components['schemas']['AttachmentItem'];
12728
+ 'application/json': components['schemas']['MultipleMatchingIn'];
11925
12729
  };
11926
12730
  };
11927
12731
  responses: {
11928
12732
  /** @description Successful Response */
11929
- 201: {
12733
+ 200: {
11930
12734
  headers: {
11931
12735
  [name: string]: unknown;
11932
12736
  };
11933
12737
  content: {
11934
- 'application/json': unknown;
12738
+ 'application/json': components['schemas']['MultipleMatchingOut'][];
11935
12739
  };
11936
12740
  };
11937
12741
  /** @description Bad Request */
@@ -11963,31 +12767,32 @@ export interface operations {
11963
12767
  };
11964
12768
  };
11965
12769
  };
11966
- accounting_get_chart_of_accounts: {
12770
+ accounting_add_attachment: {
11967
12771
  parameters: {
11968
12772
  query?: {
11969
- /** @description Filter based on the class of the account (e.g. 6,7 to retrieve 6 and 7 account classes). The classes are separed by ','. */
11970
- classes?: string;
11971
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11972
12773
  folder_id?: string;
11973
- page?: number;
11974
- size?: number;
12774
+ overwrite_existing?: components['schemas']['BoolParam'];
11975
12775
  };
11976
12776
  header?: never;
11977
12777
  path: {
11978
12778
  consumer_id: string;
12779
+ invoice_id: string;
11979
12780
  };
11980
12781
  cookie?: never;
11981
12782
  };
11982
- requestBody?: never;
12783
+ requestBody: {
12784
+ content: {
12785
+ 'application/json': components['schemas']['AttachmentItem'];
12786
+ };
12787
+ };
11983
12788
  responses: {
11984
12789
  /** @description Successful Response */
11985
- 200: {
12790
+ 201: {
11986
12791
  headers: {
11987
12792
  [name: string]: unknown;
11988
12793
  };
11989
12794
  content: {
11990
- 'application/json': components['schemas']['ChiftPage_AccountItem_'];
12795
+ 'application/json': unknown;
11991
12796
  };
11992
12797
  };
11993
12798
  /** @description Bad Request */
@@ -11999,6 +12804,15 @@ export interface operations {
11999
12804
  'application/json': components['schemas']['ChiftError'];
12000
12805
  };
12001
12806
  };
12807
+ /** @description Not Found */
12808
+ 404: {
12809
+ headers: {
12810
+ [name: string]: unknown;
12811
+ };
12812
+ content: {
12813
+ 'application/json': components['schemas']['ChiftError'];
12814
+ };
12815
+ };
12002
12816
  /** @description Validation Error */
12003
12817
  422: {
12004
12818
  headers: {
@@ -12010,11 +12824,12 @@ export interface operations {
12010
12824
  };
12011
12825
  };
12012
12826
  };
12013
- accounting_get_accounts_balances: {
12827
+ accounting_get_attachments: {
12014
12828
  parameters: {
12015
- query?: {
12016
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
12829
+ query: {
12017
12830
  folder_id?: string;
12831
+ type: components['schemas']['DocumentType'];
12832
+ document_id: string;
12018
12833
  page?: number;
12019
12834
  size?: number;
12020
12835
  };
@@ -12024,11 +12839,7 @@ export interface operations {
12024
12839
  };
12025
12840
  cookie?: never;
12026
12841
  };
12027
- requestBody: {
12028
- content: {
12029
- 'application/json': components['schemas']['AccountBalanceFilter'];
12030
- };
12031
- };
12842
+ requestBody?: never;
12032
12843
  responses: {
12033
12844
  /** @description Successful Response */
12034
12845
  200: {
@@ -12036,7 +12847,7 @@ export interface operations {
12036
12847
  [name: string]: unknown;
12037
12848
  };
12038
12849
  content: {
12039
- 'application/json': components['schemas']['ChiftPage_AccountBalance_'];
12850
+ 'application/json': components['schemas']['ChiftPage_AttachmentItemOut_'];
12040
12851
  };
12041
12852
  };
12042
12853
  /** @description Bad Request */
@@ -12059,13 +12870,13 @@ export interface operations {
12059
12870
  };
12060
12871
  };
12061
12872
  };
12062
- accounting_get_employees: {
12873
+ accounting_get_chart_of_accounts: {
12063
12874
  parameters: {
12064
12875
  query?: {
12065
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
12066
- folder_id?: string;
12067
12876
  page?: number;
12068
12877
  size?: number;
12878
+ folder_id?: string;
12879
+ classes?: string;
12069
12880
  };
12070
12881
  header?: never;
12071
12882
  path: {
@@ -12081,7 +12892,7 @@ export interface operations {
12081
12892
  [name: string]: unknown;
12082
12893
  };
12083
12894
  content: {
12084
- 'application/json': components['schemas']['ChiftPage_EmployeeItem_'];
12895
+ 'application/json': components['schemas']['ChiftPage_AccountItem_'];
12085
12896
  };
12086
12897
  };
12087
12898
  /** @description Bad Request */
@@ -12104,12 +12915,11 @@ export interface operations {
12104
12915
  };
12105
12916
  };
12106
12917
  };
12107
- accounting_create_financial_entry: {
12918
+ accounting_get_accounts_balances: {
12108
12919
  parameters: {
12109
12920
  query?: {
12110
- /** @description Counterpart account number of the bank/cash journal. This will be retrieved from the accounting settings if left empty. */
12111
- financial_counterpart_account?: string;
12112
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
12921
+ page?: number;
12922
+ size?: number;
12113
12923
  folder_id?: string;
12114
12924
  };
12115
12925
  header?: never;
@@ -12120,7 +12930,7 @@ export interface operations {
12120
12930
  };
12121
12931
  requestBody: {
12122
12932
  content: {
12123
- 'application/json': components['schemas']['FinancialEntryItemInOld'];
12933
+ 'application/json': components['schemas']['AccountBalanceFilter'];
12124
12934
  };
12125
12935
  };
12126
12936
  responses: {
@@ -12130,7 +12940,7 @@ export interface operations {
12130
12940
  [name: string]: unknown;
12131
12941
  };
12132
12942
  content: {
12133
- 'application/json': components['schemas']['FinancialEntryItemOutOld'];
12943
+ 'application/json': components['schemas']['ChiftPage_AccountBalance_'];
12134
12944
  };
12135
12945
  };
12136
12946
  /** @description Bad Request */
@@ -12142,8 +12952,43 @@ export interface operations {
12142
12952
  'application/json': components['schemas']['ChiftError'];
12143
12953
  };
12144
12954
  };
12145
- /** @description Not Found */
12146
- 404: {
12955
+ /** @description Validation Error */
12956
+ 422: {
12957
+ headers: {
12958
+ [name: string]: unknown;
12959
+ };
12960
+ content: {
12961
+ 'application/json': components['schemas']['HTTPValidationError'];
12962
+ };
12963
+ };
12964
+ };
12965
+ };
12966
+ accounting_get_employees: {
12967
+ parameters: {
12968
+ query?: {
12969
+ page?: number;
12970
+ size?: number;
12971
+ folder_id?: string;
12972
+ };
12973
+ header?: never;
12974
+ path: {
12975
+ consumer_id: string;
12976
+ };
12977
+ cookie?: never;
12978
+ };
12979
+ requestBody?: never;
12980
+ responses: {
12981
+ /** @description Successful Response */
12982
+ 200: {
12983
+ headers: {
12984
+ [name: string]: unknown;
12985
+ };
12986
+ content: {
12987
+ 'application/json': components['schemas']['ChiftPage_EmployeeItem_'];
12988
+ };
12989
+ };
12990
+ /** @description Bad Request */
12991
+ 400: {
12147
12992
  headers: {
12148
12993
  [name: string]: unknown;
12149
12994
  };
@@ -12162,13 +13007,11 @@ export interface operations {
12162
13007
  };
12163
13008
  };
12164
13009
  };
12165
- accounting_create_financial_entries: {
13010
+ accounting_create_financial_entry: {
12166
13011
  parameters: {
12167
13012
  query?: {
12168
- /** @description Counterpart account number of the bank/cash journal. This will be retrieved from the accounting settings if left empty. */
12169
- financial_counterpart_account?: string;
12170
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
12171
13013
  folder_id?: string;
13014
+ financial_counterpart_account?: string;
12172
13015
  };
12173
13016
  header?: never;
12174
13017
  path: {
@@ -12178,7 +13021,7 @@ export interface operations {
12178
13021
  };
12179
13022
  requestBody: {
12180
13023
  content: {
12181
- 'application/json': components['schemas']['FinancialEntryItemIn'];
13024
+ 'application/json': components['schemas']['FinancialEntryItemInOld'];
12182
13025
  };
12183
13026
  };
12184
13027
  responses: {
@@ -12188,7 +13031,7 @@ export interface operations {
12188
13031
  [name: string]: unknown;
12189
13032
  };
12190
13033
  content: {
12191
- 'application/json': components['schemas']['FinancialEntryItemOut'];
13034
+ 'application/json': components['schemas']['FinancialEntryItemOutOld'];
12192
13035
  };
12193
13036
  };
12194
13037
  /** @description Bad Request */
@@ -12220,15 +13063,11 @@ export interface operations {
12220
13063
  };
12221
13064
  };
12222
13065
  };
12223
- accounting_get_outstandings: {
13066
+ accounting_create_financial_entries: {
12224
13067
  parameters: {
12225
- query: {
12226
- type: components['schemas']['OutstandingType'];
12227
- unposted_allowed: components['schemas']['BoolParam'];
12228
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
13068
+ query?: {
12229
13069
  folder_id?: string;
12230
- page?: number;
12231
- size?: number;
13070
+ financial_counterpart_account?: string;
12232
13071
  };
12233
13072
  header?: never;
12234
13073
  path: {
@@ -12236,7 +13075,11 @@ export interface operations {
12236
13075
  };
12237
13076
  cookie?: never;
12238
13077
  };
12239
- requestBody?: never;
13078
+ requestBody: {
13079
+ content: {
13080
+ 'application/json': components['schemas']['FinancialEntryItemIn'];
13081
+ };
13082
+ };
12240
13083
  responses: {
12241
13084
  /** @description Successful Response */
12242
13085
  200: {
@@ -12244,7 +13087,7 @@ export interface operations {
12244
13087
  [name: string]: unknown;
12245
13088
  };
12246
13089
  content: {
12247
- 'application/json': components['schemas']['ChiftPage_OutstandingItem_'];
13090
+ 'application/json': components['schemas']['FinancialEntryItemOut'];
12248
13091
  };
12249
13092
  };
12250
13093
  /** @description Bad Request */
@@ -12256,6 +13099,15 @@ export interface operations {
12256
13099
  'application/json': components['schemas']['ChiftError'];
12257
13100
  };
12258
13101
  };
13102
+ /** @description Not Found */
13103
+ 404: {
13104
+ headers: {
13105
+ [name: string]: unknown;
13106
+ };
13107
+ content: {
13108
+ 'application/json': components['schemas']['ChiftError'];
13109
+ };
13110
+ };
12259
13111
  /** @description Validation Error */
12260
13112
  422: {
12261
13113
  headers: {
@@ -12267,15 +13119,14 @@ export interface operations {
12267
13119
  };
12268
13120
  };
12269
13121
  };
12270
- accounting_get_attachments: {
13122
+ accounting_get_outstandings: {
12271
13123
  parameters: {
12272
13124
  query: {
12273
- type: components['schemas']['DocumentType'];
12274
- document_id: string;
12275
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
12276
- folder_id?: string;
12277
13125
  page?: number;
12278
13126
  size?: number;
13127
+ folder_id?: string;
13128
+ type: components['schemas']['OutstandingType'];
13129
+ unposted_allowed: components['schemas']['BoolParam'];
12279
13130
  };
12280
13131
  header?: never;
12281
13132
  path: {
@@ -12291,7 +13142,7 @@ export interface operations {
12291
13142
  [name: string]: unknown;
12292
13143
  };
12293
13144
  content: {
12294
- 'application/json': components['schemas']['ChiftPage_AttachmentItemOut_'];
13145
+ 'application/json': components['schemas']['ChiftPage_OutstandingItem_'];
12295
13146
  };
12296
13147
  };
12297
13148
  /** @description Bad Request */
@@ -12317,12 +13168,12 @@ export interface operations {
12317
13168
  pos_get_orders: {
12318
13169
  parameters: {
12319
13170
  query: {
13171
+ page?: number;
13172
+ size?: number;
12320
13173
  date_from: string;
12321
13174
  date_to: string;
12322
13175
  location_id?: string;
12323
13176
  state?: components['schemas']['States'];
12324
- page?: number;
12325
- size?: number;
12326
13177
  };
12327
13178
  header?: never;
12328
13179
  path: {
@@ -12574,10 +13425,10 @@ export interface operations {
12574
13425
  pos_get_payments: {
12575
13426
  parameters: {
12576
13427
  query: {
12577
- date_from: string;
12578
- date_to: string;
12579
13428
  page?: number;
12580
13429
  size?: number;
13430
+ date_from: string;
13431
+ date_to: string;
12581
13432
  };
12582
13433
  header?: never;
12583
13434
  path: {
@@ -12699,9 +13550,9 @@ export interface operations {
12699
13550
  pos_get_payments_methods: {
12700
13551
  parameters: {
12701
13552
  query?: {
12702
- location_id?: string;
12703
13553
  page?: number;
12704
13554
  size?: number;
13555
+ location_id?: string;
12705
13556
  };
12706
13557
  header?: never;
12707
13558
  path: {
@@ -12761,14 +13612,11 @@ export interface operations {
12761
13612
  pos_get_customers: {
12762
13613
  parameters: {
12763
13614
  query?: {
12764
- /** @description Filter based on other parameters than the email/phone, e.g. firstname, lastname */
13615
+ page?: number;
13616
+ size?: number;
12765
13617
  search?: string;
12766
- /** @description Filter based on email of customer */
12767
13618
  email?: string;
12768
- /** @description Filter based on phone of customer */
12769
13619
  phone?: string;
12770
- page?: number;
12771
- size?: number;
12772
13620
  };
12773
13621
  header?: never;
12774
13622
  path: {
@@ -12958,10 +13806,10 @@ export interface operations {
12958
13806
  pos_get_product_categories: {
12959
13807
  parameters: {
12960
13808
  query?: {
12961
- location_id?: string;
12962
- only_parents?: components['schemas']['BoolParam'];
12963
13809
  page?: number;
12964
13810
  size?: number;
13811
+ location_id?: string;
13812
+ only_parents?: components['schemas']['BoolParam'];
12965
13813
  };
12966
13814
  header?: never;
12967
13815
  path: {
@@ -13021,9 +13869,9 @@ export interface operations {
13021
13869
  pos_get_products: {
13022
13870
  parameters: {
13023
13871
  query?: {
13024
- location_id?: string;
13025
13872
  page?: number;
13026
13873
  size?: number;
13874
+ location_id?: string;
13027
13875
  };
13028
13876
  header?: never;
13029
13877
  path: {
@@ -13083,9 +13931,9 @@ export interface operations {
13083
13931
  pos_get_accounting_categories: {
13084
13932
  parameters: {
13085
13933
  query?: {
13086
- location_id?: string;
13087
13934
  page?: number;
13088
13935
  size?: number;
13936
+ location_id?: string;
13089
13937
  };
13090
13938
  header?: never;
13091
13939
  path: {
@@ -13251,8 +14099,8 @@ export interface operations {
13251
14099
  query?: never;
13252
14100
  header?: never;
13253
14101
  path: {
13254
- customer_id: string;
13255
14102
  consumer_id: string;
14103
+ customer_id: string;
13256
14104
  };
13257
14105
  cookie?: never;
13258
14106
  };
@@ -13344,8 +14192,8 @@ export interface operations {
13344
14192
  query?: never;
13345
14193
  header?: never;
13346
14194
  path: {
13347
- product_id: string;
13348
14195
  consumer_id: string;
14196
+ product_id: string;
13349
14197
  };
13350
14198
  cookie?: never;
13351
14199
  };
@@ -13357,7 +14205,7 @@ export interface operations {
13357
14205
  [name: string]: unknown;
13358
14206
  };
13359
14207
  content: {
13360
- 'application/json': components['schemas']['backbone_api__app__routers__commerce__ProductItem'];
14208
+ 'application/json': components['schemas']['backbone_common__models__commerce__common__ProductItem'];
13361
14209
  };
13362
14210
  };
13363
14211
  /** @description Bad Request */
@@ -13394,8 +14242,8 @@ export interface operations {
13394
14242
  query?: never;
13395
14243
  header?: never;
13396
14244
  path: {
13397
- variant_id: string;
13398
14245
  consumer_id: string;
14246
+ variant_id: string;
13399
14247
  };
13400
14248
  cookie?: never;
13401
14249
  };
@@ -13444,8 +14292,8 @@ export interface operations {
13444
14292
  query?: never;
13445
14293
  header?: never;
13446
14294
  path: {
13447
- variant_id: string;
13448
14295
  consumer_id: string;
14296
+ variant_id: string;
13449
14297
  };
13450
14298
  cookie?: never;
13451
14299
  };
@@ -13539,20 +14387,14 @@ export interface operations {
13539
14387
  ecommerce_get_orders: {
13540
14388
  parameters: {
13541
14389
  query?: {
13542
- /** @description Filter orders created at or after this date (e.g. 2023-01-31) */
14390
+ page?: number;
14391
+ size?: number;
13543
14392
  date_from?: string;
13544
- /** @description Filter orders created at or before this date (e.g. 2023-01-31) */
13545
14393
  date_to?: string;
13546
- /** @description Filter orders last updated at or after this date (e.g. 2023-01-31T15:00:00 for 31 of January 2023 at 3PM UTC). UTC is the only format that is supported on all connectors. */
13547
14394
  updated_after?: string;
13548
- /** @description Include detailed information concerning refunds */
13549
14395
  include_detailed_refunds?: components['schemas']['BoolParam'];
13550
- /** @description Include detailed information about categories */
13551
14396
  include_product_categories?: components['schemas']['BoolParam'];
13552
- /** @description Include detailed information about customer */
13553
14397
  include_customer_details?: components['schemas']['BoolParam'];
13554
- page?: number;
13555
- size?: number;
13556
14398
  };
13557
14399
  header?: never;
13558
14400
  path: {
@@ -13638,13 +14480,14 @@ export interface operations {
13638
14480
  ecommerce_get_order: {
13639
14481
  parameters: {
13640
14482
  query?: {
13641
- /** @description Include detailed information about categories */
14483
+ page?: number;
14484
+ size?: number;
13642
14485
  include_product_categories?: components['schemas']['BoolParam'];
13643
14486
  };
13644
14487
  header?: never;
13645
14488
  path: {
13646
- order_id: string;
13647
14489
  consumer_id: string;
14490
+ order_id: string;
13648
14491
  };
13649
14492
  cookie?: never;
13650
14493
  };
@@ -13734,9 +14577,9 @@ export interface operations {
13734
14577
  ecommerce_get_product_categories: {
13735
14578
  parameters: {
13736
14579
  query?: {
13737
- only_parents?: components['schemas']['BoolParam'];
13738
14580
  page?: number;
13739
14581
  size?: number;
14582
+ only_parents?: components['schemas']['BoolParam'];
13740
14583
  };
13741
14584
  header?: never;
13742
14585
  path: {
@@ -13864,15 +14707,14 @@ export interface operations {
13864
14707
  invoicing_get_invoices: {
13865
14708
  parameters: {
13866
14709
  query?: {
13867
- /** @description Filter based on the type of the invoice. */
13868
- invoice_type?: components['schemas']['InvoiceTypeRequest'];
13869
- /** @description Filter paid/unpaid invoices */
13870
- payment_status?: components['schemas']['backbone_common__models__common__PaymentStatus'];
14710
+ page?: number;
14711
+ size?: number;
13871
14712
  date_from?: string;
13872
14713
  date_to?: string;
14714
+ invoice_type?: components['schemas']['backbone_common__models__invoicing__common__InvoiceType'];
14715
+ payment_status?: components['schemas']['backbone_common__models__common__PaymentStatus'];
13873
14716
  updated_after?: string;
13874
- page?: number;
13875
- size?: number;
14717
+ include_invoice_lines?: components['schemas']['BoolParam'];
13876
14718
  };
13877
14719
  header?: never;
13878
14720
  path: {
@@ -13922,7 +14764,7 @@ export interface operations {
13922
14764
  };
13923
14765
  requestBody: {
13924
14766
  content: {
13925
- 'application/json': components['schemas']['InvoiceItem'];
14767
+ 'application/json': components['schemas']['backbone_common__models__invoicing__common__InvoiceItem'];
13926
14768
  };
13927
14769
  };
13928
14770
  responses: {
@@ -13958,13 +14800,12 @@ export interface operations {
13958
14800
  invoicing_get_invoice: {
13959
14801
  parameters: {
13960
14802
  query?: {
13961
- /** @description Include PDF as base64 string in the response. */
13962
14803
  include_pdf?: components['schemas']['BoolParam'];
13963
14804
  };
13964
14805
  header?: never;
13965
14806
  path: {
13966
- invoice_id: string;
13967
14807
  consumer_id: string;
14808
+ invoice_id: string;
13968
14809
  };
13969
14810
  cookie?: never;
13970
14811
  };
@@ -14028,7 +14869,7 @@ export interface operations {
14028
14869
  [name: string]: unknown;
14029
14870
  };
14030
14871
  content: {
14031
- 'application/json': components['schemas']['backbone_api__app__routers__invoicing__ChiftPage[VatCode]'];
14872
+ 'application/json': components['schemas']['ChiftPage_InvoicingVatCode_'];
14032
14873
  };
14033
14874
  };
14034
14875
  /** @description Bad Request */
@@ -14056,8 +14897,8 @@ export interface operations {
14056
14897
  query?: never;
14057
14898
  header?: never;
14058
14899
  path: {
14059
- tax_id: string;
14060
14900
  consumer_id: string;
14901
+ tax_id: string;
14061
14902
  };
14062
14903
  cookie?: never;
14063
14904
  };
@@ -14069,7 +14910,7 @@ export interface operations {
14069
14910
  [name: string]: unknown;
14070
14911
  };
14071
14912
  content: {
14072
- 'application/json': components['schemas']['backbone_common__models__invoicing__VatCode'];
14913
+ 'application/json': components['schemas']['InvoicingVatCode'];
14073
14914
  };
14074
14915
  };
14075
14916
  /** @description Bad Request */
@@ -14155,7 +14996,7 @@ export interface operations {
14155
14996
  };
14156
14997
  requestBody: {
14157
14998
  content: {
14158
- 'application/json': components['schemas']['backbone_common__models__invoicing__ProductItem'];
14999
+ 'application/json': components['schemas']['backbone_common__models__invoicing__common__ProductItem'];
14159
15000
  };
14160
15001
  };
14161
15002
  responses: {
@@ -14193,8 +15034,8 @@ export interface operations {
14193
15034
  query?: never;
14194
15035
  header?: never;
14195
15036
  path: {
14196
- product_id: string;
14197
15037
  consumer_id: string;
15038
+ product_id: string;
14198
15039
  };
14199
15040
  cookie?: never;
14200
15041
  };
@@ -14286,8 +15127,8 @@ export interface operations {
14286
15127
  query?: never;
14287
15128
  header?: never;
14288
15129
  path: {
14289
- opportunity_id: string;
14290
15130
  consumer_id: string;
15131
+ opportunity_id: string;
14291
15132
  };
14292
15133
  cookie?: never;
14293
15134
  };
@@ -14334,10 +15175,9 @@ export interface operations {
14334
15175
  invoicing_get_contacts: {
14335
15176
  parameters: {
14336
15177
  query?: {
14337
- /** @description Filter based on the type of the contact (e.g. supplier/customer/prospect). */
14338
- contact_type?: components['schemas']['ContactType'];
14339
15178
  page?: number;
14340
15179
  size?: number;
15180
+ contact_type?: components['schemas']['ContactType'];
14341
15181
  };
14342
15182
  header?: never;
14343
15183
  path: {
@@ -14425,8 +15265,8 @@ export interface operations {
14425
15265
  query?: never;
14426
15266
  header?: never;
14427
15267
  path: {
14428
- contact_id: string;
14429
15268
  consumer_id: string;
15269
+ contact_id: string;
14430
15270
  };
14431
15271
  cookie?: never;
14432
15272
  };
@@ -14470,6 +15310,94 @@ export interface operations {
14470
15310
  };
14471
15311
  };
14472
15312
  };
15313
+ invoicing_get_payments: {
15314
+ parameters: {
15315
+ query?: {
15316
+ page?: number;
15317
+ size?: number;
15318
+ date_from?: string;
15319
+ date_to?: string;
15320
+ };
15321
+ header?: never;
15322
+ path: {
15323
+ consumer_id: string;
15324
+ };
15325
+ cookie?: never;
15326
+ };
15327
+ requestBody?: never;
15328
+ responses: {
15329
+ /** @description Successful Response */
15330
+ 200: {
15331
+ headers: {
15332
+ [name: string]: unknown;
15333
+ };
15334
+ content: {
15335
+ 'application/json': components['schemas']['ChiftPage_InvoicingPaymentItem_'];
15336
+ };
15337
+ };
15338
+ /** @description Bad Request */
15339
+ 400: {
15340
+ headers: {
15341
+ [name: string]: unknown;
15342
+ };
15343
+ content: {
15344
+ 'application/json': components['schemas']['ChiftError'];
15345
+ };
15346
+ };
15347
+ /** @description Validation Error */
15348
+ 422: {
15349
+ headers: {
15350
+ [name: string]: unknown;
15351
+ };
15352
+ content: {
15353
+ 'application/json': components['schemas']['HTTPValidationError'];
15354
+ };
15355
+ };
15356
+ };
15357
+ };
15358
+ invoicing_get_payments_methods: {
15359
+ parameters: {
15360
+ query?: {
15361
+ page?: number;
15362
+ size?: number;
15363
+ };
15364
+ header?: never;
15365
+ path: {
15366
+ consumer_id: string;
15367
+ };
15368
+ cookie?: never;
15369
+ };
15370
+ requestBody?: never;
15371
+ responses: {
15372
+ /** @description Successful Response */
15373
+ 200: {
15374
+ headers: {
15375
+ [name: string]: unknown;
15376
+ };
15377
+ content: {
15378
+ 'application/json': components['schemas']['ChiftPage_InvoicingPaymentMethodItem_'];
15379
+ };
15380
+ };
15381
+ /** @description Bad Request */
15382
+ 400: {
15383
+ headers: {
15384
+ [name: string]: unknown;
15385
+ };
15386
+ content: {
15387
+ 'application/json': components['schemas']['ChiftError'];
15388
+ };
15389
+ };
15390
+ /** @description Validation Error */
15391
+ 422: {
15392
+ headers: {
15393
+ [name: string]: unknown;
15394
+ };
15395
+ content: {
15396
+ 'application/json': components['schemas']['HTTPValidationError'];
15397
+ };
15398
+ };
15399
+ };
15400
+ };
14473
15401
  banking_get_financial_institutions: {
14474
15402
  parameters: {
14475
15403
  query?: {
@@ -14559,11 +15487,11 @@ export interface operations {
14559
15487
  banking_get_account_transactions: {
14560
15488
  parameters: {
14561
15489
  query?: {
15490
+ page?: number;
15491
+ size?: number;
14562
15492
  date_from?: string;
14563
15493
  date_to?: string;
14564
15494
  date_type?: components['schemas']['TransactionFilterDateType'];
14565
- page?: number;
14566
- size?: number;
14567
15495
  };
14568
15496
  header?: never;
14569
15497
  path: {
@@ -14606,11 +15534,11 @@ export interface operations {
14606
15534
  banking_get_account_counterparts: {
14607
15535
  parameters: {
14608
15536
  query?: {
14609
- accountid?: string;
14610
- date_from?: string;
14611
- date_to?: string;
14612
15537
  page?: number;
14613
15538
  size?: number;
15539
+ account_id?: string;
15540
+ date_from?: string;
15541
+ date_to?: string;
14614
15542
  };
14615
15543
  header?: never;
14616
15544
  path: {
@@ -14695,16 +15623,13 @@ export interface operations {
14695
15623
  payment_get_transaction: {
14696
15624
  parameters: {
14697
15625
  query?: {
14698
- /** @description Filter based on the type of the transaction. */
15626
+ page?: number;
15627
+ size?: number;
14699
15628
  accounting_category?: components['schemas']['TransactionAccountingCategory'];
14700
- /** @description Get all transactions more recent than this one excluded */
14701
15629
  starting_from?: string;
14702
- /** @description Get all transactions for a specific balance */
14703
15630
  balance_id?: string;
14704
15631
  date_from?: string;
14705
15632
  date_to?: string;
14706
- page?: number;
14707
- size?: number;
14708
15633
  };
14709
15634
  header?: never;
14710
15635
  path: {
@@ -14746,10 +15671,10 @@ export interface operations {
14746
15671
  payment_get_payments: {
14747
15672
  parameters: {
14748
15673
  query?: {
14749
- date_from?: string;
14750
- date_to?: string;
14751
15674
  page?: number;
14752
15675
  size?: number;
15676
+ date_from?: string;
15677
+ date_to?: string;
14753
15678
  };
14754
15679
  header?: never;
14755
15680
  path: {
@@ -14793,8 +15718,8 @@ export interface operations {
14793
15718
  query?: never;
14794
15719
  header?: never;
14795
15720
  path: {
14796
- payment_id: string;
14797
15721
  consumer_id: string;
15722
+ payment_id: string;
14798
15723
  };
14799
15724
  cookie?: never;
14800
15725
  };
@@ -14841,12 +15766,11 @@ export interface operations {
14841
15766
  payment_get_refunds: {
14842
15767
  parameters: {
14843
15768
  query?: {
14844
- /** @description Optional payment ID, to retrieve all refunds associated with that payment. */
15769
+ page?: number;
15770
+ size?: number;
14845
15771
  payment_id?: string;
14846
15772
  date_from?: string;
14847
15773
  date_to?: string;
14848
- page?: number;
14849
- size?: number;
14850
15774
  };
14851
15775
  header?: never;
14852
15776
  path: {
@@ -14888,12 +15812,12 @@ export interface operations {
14888
15812
  pms_get_orders: {
14889
15813
  parameters: {
14890
15814
  query: {
15815
+ page?: number;
15816
+ size?: number;
14891
15817
  date_from: string;
14892
15818
  date_to: string;
14893
15819
  location_id?: string;
14894
15820
  state?: components['schemas']['PMSStates'];
14895
- page?: number;
14896
- size?: number;
14897
15821
  };
14898
15822
  header?: never;
14899
15823
  path: {
@@ -14950,11 +15874,14 @@ export interface operations {
14950
15874
  };
14951
15875
  };
14952
15876
  };
14953
- pms_get_locations: {
15877
+ pms_get_invoices: {
14954
15878
  parameters: {
14955
- query?: {
15879
+ query: {
14956
15880
  page?: number;
14957
15881
  size?: number;
15882
+ date_from: string;
15883
+ date_to: string;
15884
+ location_id?: string;
14958
15885
  };
14959
15886
  header?: never;
14960
15887
  path: {
@@ -14970,7 +15897,7 @@ export interface operations {
14970
15897
  [name: string]: unknown;
14971
15898
  };
14972
15899
  content: {
14973
- 'application/json': components['schemas']['ChiftPage_PMSLocationItem_'];
15900
+ 'application/json': components['schemas']['ChiftPage_PMSInvoiceFullItem_'];
14974
15901
  };
14975
15902
  };
14976
15903
  /** @description Bad Request */
@@ -15011,11 +15938,9 @@ export interface operations {
15011
15938
  };
15012
15939
  };
15013
15940
  };
15014
- pms_get_payments: {
15941
+ pms_get_customers: {
15015
15942
  parameters: {
15016
- query: {
15017
- date_from: string;
15018
- date_to: string;
15943
+ query?: {
15019
15944
  page?: number;
15020
15945
  size?: number;
15021
15946
  };
@@ -15033,7 +15958,7 @@ export interface operations {
15033
15958
  [name: string]: unknown;
15034
15959
  };
15035
15960
  content: {
15036
- 'application/json': components['schemas']['ChiftPage_PMSPaymentItem_'];
15961
+ 'application/json': components['schemas']['ChiftPage_PMSCustomerItem_'];
15037
15962
  };
15038
15963
  };
15039
15964
  /** @description Bad Request */
@@ -15074,10 +15999,9 @@ export interface operations {
15074
15999
  };
15075
16000
  };
15076
16001
  };
15077
- pms_get_payments_methods: {
16002
+ pms_get_locations: {
15078
16003
  parameters: {
15079
16004
  query?: {
15080
- location_id?: string;
15081
16005
  page?: number;
15082
16006
  size?: number;
15083
16007
  };
@@ -15095,7 +16019,7 @@ export interface operations {
15095
16019
  [name: string]: unknown;
15096
16020
  };
15097
16021
  content: {
15098
- 'application/json': components['schemas']['ChiftPage_PMSPaymentMethods_'];
16022
+ 'application/json': components['schemas']['ChiftPage_PMSLocationItem_'];
15099
16023
  };
15100
16024
  };
15101
16025
  /** @description Bad Request */
@@ -15136,11 +16060,13 @@ export interface operations {
15136
16060
  };
15137
16061
  };
15138
16062
  };
15139
- pms_get_accounting_categories: {
16063
+ pms_get_payments: {
15140
16064
  parameters: {
15141
- query?: {
16065
+ query: {
15142
16066
  page?: number;
15143
16067
  size?: number;
16068
+ date_from: string;
16069
+ date_to: string;
15144
16070
  };
15145
16071
  header?: never;
15146
16072
  path: {
@@ -15156,7 +16082,7 @@ export interface operations {
15156
16082
  [name: string]: unknown;
15157
16083
  };
15158
16084
  content: {
15159
- 'application/json': components['schemas']['ChiftPage_PMSAccountingCategoryItem_'];
16085
+ 'application/json': components['schemas']['ChiftPage_PMSPaymentItem_'];
15160
16086
  };
15161
16087
  };
15162
16088
  /** @description Bad Request */
@@ -15197,15 +16123,16 @@ export interface operations {
15197
16123
  };
15198
16124
  };
15199
16125
  };
15200
- pms_get_closure: {
16126
+ pms_get_payments_methods: {
15201
16127
  parameters: {
15202
16128
  query?: {
16129
+ page?: number;
16130
+ size?: number;
15203
16131
  location_id?: string;
15204
16132
  };
15205
16133
  header?: never;
15206
16134
  path: {
15207
16135
  consumer_id: string;
15208
- date: string;
15209
16136
  };
15210
16137
  cookie?: never;
15211
16138
  };
@@ -15217,7 +16144,7 @@ export interface operations {
15217
16144
  [name: string]: unknown;
15218
16145
  };
15219
16146
  content: {
15220
- 'application/json': components['schemas']['PMSClosureItem'];
16147
+ 'application/json': components['schemas']['ChiftPage_PMSPaymentMethods_'];
15221
16148
  };
15222
16149
  };
15223
16150
  /** @description Bad Request */
@@ -15258,18 +16185,80 @@ export interface operations {
15258
16185
  };
15259
16186
  };
15260
16187
  };
15261
- generate_access_token_token_post: {
16188
+ pms_get_accounting_categories: {
15262
16189
  parameters: {
15263
- query?: never;
16190
+ query?: {
16191
+ page?: number;
16192
+ size?: number;
16193
+ };
15264
16194
  header?: never;
15265
- path?: never;
16195
+ path: {
16196
+ consumer_id: string;
16197
+ };
15266
16198
  cookie?: never;
15267
16199
  };
15268
- requestBody: {
15269
- content: {
15270
- 'application/json': components['schemas']['AuthItem'];
16200
+ requestBody?: never;
16201
+ responses: {
16202
+ /** @description Successful Response */
16203
+ 200: {
16204
+ headers: {
16205
+ [name: string]: unknown;
16206
+ };
16207
+ content: {
16208
+ 'application/json': components['schemas']['ChiftPage_PMSAccountingCategoryItem_'];
16209
+ };
16210
+ };
16211
+ /** @description Bad Request */
16212
+ 400: {
16213
+ headers: {
16214
+ [name: string]: unknown;
16215
+ };
16216
+ content: {
16217
+ 'application/json': components['schemas']['ChiftError'];
16218
+ };
16219
+ };
16220
+ /** @description Method Not Allowed */
16221
+ 405: {
16222
+ headers: {
16223
+ [name: string]: unknown;
16224
+ };
16225
+ content: {
16226
+ 'application/json': components['schemas']['ChiftError'];
16227
+ };
16228
+ };
16229
+ /** @description Validation Error */
16230
+ 422: {
16231
+ headers: {
16232
+ [name: string]: unknown;
16233
+ };
16234
+ content: {
16235
+ 'application/json': components['schemas']['HTTPValidationError'];
16236
+ };
16237
+ };
16238
+ /** @description Bad Gateway */
16239
+ 502: {
16240
+ headers: {
16241
+ [name: string]: unknown;
16242
+ };
16243
+ content: {
16244
+ 'application/json': components['schemas']['ChiftError'];
16245
+ };
16246
+ };
16247
+ };
16248
+ };
16249
+ pms_get_closure: {
16250
+ parameters: {
16251
+ query?: {
16252
+ location_id?: string;
16253
+ };
16254
+ header?: never;
16255
+ path: {
16256
+ consumer_id: string;
16257
+ date: string;
15271
16258
  };
16259
+ cookie?: never;
15272
16260
  };
16261
+ requestBody?: never;
15273
16262
  responses: {
15274
16263
  /** @description Successful Response */
15275
16264
  200: {
@@ -15277,7 +16266,25 @@ export interface operations {
15277
16266
  [name: string]: unknown;
15278
16267
  };
15279
16268
  content: {
15280
- 'application/json': components['schemas']['Token'];
16269
+ 'application/json': components['schemas']['PMSClosureItem'];
16270
+ };
16271
+ };
16272
+ /** @description Bad Request */
16273
+ 400: {
16274
+ headers: {
16275
+ [name: string]: unknown;
16276
+ };
16277
+ content: {
16278
+ 'application/json': components['schemas']['ChiftError'];
16279
+ };
16280
+ };
16281
+ /** @description Method Not Allowed */
16282
+ 405: {
16283
+ headers: {
16284
+ [name: string]: unknown;
16285
+ };
16286
+ content: {
16287
+ 'application/json': components['schemas']['ChiftError'];
15281
16288
  };
15282
16289
  };
15283
16290
  /** @description Validation Error */
@@ -15289,6 +16296,15 @@ export interface operations {
15289
16296
  'application/json': components['schemas']['HTTPValidationError'];
15290
16297
  };
15291
16298
  };
16299
+ /** @description Bad Gateway */
16300
+ 502: {
16301
+ headers: {
16302
+ [name: string]: unknown;
16303
+ };
16304
+ content: {
16305
+ 'application/json': components['schemas']['ChiftError'];
16306
+ };
16307
+ };
15292
16308
  };
15293
16309
  };
15294
16310
  }