@chift/chift-nodejs 1.0.20 → 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 {
@@ -2376,6 +2500,24 @@ export interface components {
2376
2500
  */
2377
2501
  posting_account_code?: string;
2378
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
+ };
2379
2521
  /** AddressItem */
2380
2522
  AddressItem: {
2381
2523
  /** Address Type */
@@ -2819,6 +2961,19 @@ export interface components {
2819
2961
  */
2820
2962
  detail: string;
2821
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
+ };
2822
2977
  /** ChiftPage[AccountBalance] */
2823
2978
  ChiftPage_AccountBalance_: {
2824
2979
  /** Items */
@@ -2852,6 +3007,17 @@ export interface components {
2852
3007
  /** Size */
2853
3008
  size: number;
2854
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
+ };
2855
3021
  /** ChiftPage[AnalyticAccountItemOutMultiAnalyticPlans] */
2856
3022
  ChiftPage_AnalyticAccountItemOutMultiAnalyticPlans_: {
2857
3023
  /** Items */
@@ -3072,10 +3238,10 @@ export interface components {
3072
3238
  /** Size */
3073
3239
  size: number;
3074
3240
  };
3075
- /** ChiftPage[JournalEntryMonoAnalyticPlan] */
3076
- ChiftPage_JournalEntryMonoAnalyticPlan_: {
3241
+ /** ChiftPage[InvoicingPaymentItem] */
3242
+ ChiftPage_InvoicingPaymentItem_: {
3077
3243
  /** Items */
3078
- items: components['schemas']['JournalEntryMonoAnalyticPlan'][];
3244
+ items: components['schemas']['InvoicingPaymentItem'][];
3079
3245
  /** Total */
3080
3246
  total: number;
3081
3247
  /** Page */
@@ -3083,10 +3249,10 @@ export interface components {
3083
3249
  /** Size */
3084
3250
  size: number;
3085
3251
  };
3086
- /** ChiftPage[JournalEntryMultiAnalyticPlan] */
3087
- ChiftPage_JournalEntryMultiAnalyticPlan_: {
3252
+ /** ChiftPage[InvoicingPaymentMethodItem] */
3253
+ ChiftPage_InvoicingPaymentMethodItem_: {
3088
3254
  /** Items */
3089
- items: components['schemas']['JournalEntryMultiAnalyticPlan'][];
3255
+ items: components['schemas']['InvoicingPaymentMethodItem'][];
3090
3256
  /** Total */
3091
3257
  total: number;
3092
3258
  /** Page */
@@ -3094,10 +3260,10 @@ export interface components {
3094
3260
  /** Size */
3095
3261
  size: number;
3096
3262
  };
3097
- /** ChiftPage[Journal] */
3098
- ChiftPage_Journal_: {
3263
+ /** ChiftPage[InvoicingVatCode] */
3264
+ ChiftPage_InvoicingVatCode_: {
3099
3265
  /** Items */
3100
- items: components['schemas']['Journal'][];
3266
+ items: components['schemas']['InvoicingVatCode'][];
3101
3267
  /** Total */
3102
3268
  total: number;
3103
3269
  /** Page */
@@ -3105,10 +3271,10 @@ export interface components {
3105
3271
  /** Size */
3106
3272
  size: number;
3107
3273
  };
3108
- /** ChiftPage[MiscellaneousOperationOut] */
3109
- ChiftPage_MiscellaneousOperationOut_: {
3274
+ /** ChiftPage[JournalEntryMonoAnalyticPlan] */
3275
+ ChiftPage_JournalEntryMonoAnalyticPlan_: {
3110
3276
  /** Items */
3111
- items: components['schemas']['MiscellaneousOperationOut'][];
3277
+ items: components['schemas']['JournalEntryMonoAnalyticPlan'][];
3112
3278
  /** Total */
3113
3279
  total: number;
3114
3280
  /** Page */
@@ -3116,10 +3282,43 @@ export interface components {
3116
3282
  /** Size */
3117
3283
  size: number;
3118
3284
  };
3119
- /** ChiftPage[OpportunityItem] */
3120
- ChiftPage_OpportunityItem_: {
3285
+ /** ChiftPage[JournalEntryMultiAnalyticPlan] */
3286
+ ChiftPage_JournalEntryMultiAnalyticPlan_: {
3121
3287
  /** Items */
3122
- items: components['schemas']['OpportunityItem'][];
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] */
3308
+ ChiftPage_MiscellaneousOperationOut_: {
3309
+ /** Items */
3310
+ items: components['schemas']['MiscellaneousOperationOut'][];
3311
+ /** Total */
3312
+ total: number;
3313
+ /** Page */
3314
+ page: number;
3315
+ /** Size */
3316
+ size: number;
3317
+ };
3318
+ /** ChiftPage[OpportunityItem] */
3319
+ ChiftPage_OpportunityItem_: {
3320
+ /** Items */
3321
+ items: components['schemas']['OpportunityItem'][];
3123
3322
  /** Total */
3124
3323
  total: number;
3125
3324
  /** Page */
@@ -3160,6 +3359,28 @@ export interface components {
3160
3359
  /** Size */
3161
3360
  size: number;
3162
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
+ };
3163
3384
  /** ChiftPage[PMSLocationItem] */
3164
3385
  ChiftPage_PMSLocationItem_: {
3165
3386
  /** Items */
@@ -3306,7 +3527,7 @@ export interface components {
3306
3527
  /** ChiftPage[ProductCategoryItem] */
3307
3528
  ChiftPage_ProductCategoryItem_: {
3308
3529
  /** Items */
3309
- items: components['schemas']['backbone_api__app__routers__pos__ProductCategoryItem'][];
3530
+ items: components['schemas']['backbone_common__models__pos__common__ProductCategoryItem'][];
3310
3531
  /** Total */
3311
3532
  total: number;
3312
3533
  /** Page */
@@ -3328,7 +3549,7 @@ export interface components {
3328
3549
  /** ChiftPage[ProductItem] */
3329
3550
  ChiftPage_ProductItem_: {
3330
3551
  /** Items */
3331
- items: components['schemas']['backbone_api__app__routers__commerce__ProductItem'][];
3552
+ items: components['schemas']['backbone_common__models__commerce__common__ProductItem'][];
3332
3553
  /** Total */
3333
3554
  total: number;
3334
3555
  /** Page */
@@ -3661,7 +3882,7 @@ export interface components {
3661
3882
  * Addresses
3662
3883
  * @default []
3663
3884
  */
3664
- addresses: components['schemas']['backbone_api__app__routers__commerce__AddressItemOut'][];
3885
+ addresses: components['schemas']['backbone_common__models__commerce__common__AddressItemOut'][];
3665
3886
  /**
3666
3887
  * Created On
3667
3888
  * Format: date-time
@@ -3711,6 +3932,8 @@ export interface components {
3711
3932
  name: string;
3712
3933
  /** Email */
3713
3934
  email?: string;
3935
+ /** Internal Reference */
3936
+ internal_reference?: string;
3714
3937
  /** Redirect Url */
3715
3938
  redirect_url?: string;
3716
3939
  };
@@ -4108,6 +4331,12 @@ export interface components {
4108
4331
  */
4109
4332
  search_column?: string;
4110
4333
  };
4334
+ /**
4335
+ * DiscountType
4336
+ * @description An enumeration.
4337
+ * @enum {unknown}
4338
+ */
4339
+ DiscountType: 'OFFERED' | 'UNKNOWN' | 'LOSS';
4111
4340
  /**
4112
4341
  * DocumentType
4113
4342
  * @description An enumeration.
@@ -4215,7 +4444,7 @@ export interface components {
4215
4444
  * Discounts
4216
4445
  * @default []
4217
4446
  */
4218
- discounts: components['schemas']['backbone_api__app__routers__commerce__DiscountItem'][];
4447
+ discounts: components['schemas']['backbone_common__models__commerce__common__DiscountItem'][];
4219
4448
  /** Untaxed Amount */
4220
4449
  untaxed_amount: number;
4221
4450
  /** Tax Amount */
@@ -4718,84 +4947,9 @@ export interface components {
4718
4947
  /** Invoice Correction Debit Account Number */
4719
4948
  invoice_correction_debit_account_number?: string;
4720
4949
  };
4721
- /** InvoiceItem */
4722
- InvoiceItem: {
4723
- /**
4724
- * Currency
4725
- * @description Currency matching target sofware name
4726
- */
4727
- currency: string;
4728
- /** @description Invoice type */
4729
- invoice_type: components['schemas']['backbone_common__models__invoicing__InvoiceType'];
4730
- /** @description Status */
4731
- status: components['schemas']['InvoiceStatus'];
4732
- /**
4733
- * Invoice Date
4734
- * Format: date
4735
- * @description Invoicing date
4736
- */
4737
- invoice_date: string;
4738
- /**
4739
- * Tax Amount
4740
- * @description Taxes amount
4741
- */
4742
- tax_amount: number;
4743
- /**
4744
- * Untaxed Amount
4745
- * @description Untaxed amount
4746
- */
4747
- untaxed_amount: number;
4748
- /**
4749
- * Total
4750
- * @description Total amount incl. taxes
4751
- */
4752
- total: number;
4753
- /**
4754
- * Lines
4755
- * @description Invoice lines
4756
- * @default []
4757
- */
4758
- lines: components['schemas']['InvoiceLineItem'][];
4759
- /**
4760
- * Partner Id
4761
- * @description Technical id of the vendor/customer in Chift
4762
- */
4763
- partner_id?: string;
4764
- /**
4765
- * Invoice Number
4766
- * @description Number/sequence
4767
- */
4768
- invoice_number?: string;
4769
- /**
4770
- * Due Date
4771
- * Format: date
4772
- * @description Due date
4773
- */
4774
- due_date?: string;
4775
- /**
4776
- * Reference
4777
- * @description Reference
4778
- */
4779
- reference?: string;
4780
- /**
4781
- * Payment Communication
4782
- * @description Payment communication
4783
- */
4784
- payment_communication?: string;
4785
- /**
4786
- * Customer Memo
4787
- * @description Customer note/memo
4788
- */
4789
- customer_memo?: string;
4790
- /**
4791
- * Journal Ref
4792
- * @description Journal
4793
- */
4794
- journal_ref?: components['schemas']['FieldRef'];
4795
- };
4796
4950
  /** InvoiceItemInMonoAnalyticPlan */
4797
4951
  InvoiceItemInMonoAnalyticPlan: {
4798
- invoice_type: components['schemas']['backbone_api__app__routers__accounting__InvoiceType'];
4952
+ invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
4799
4953
  /**
4800
4954
  * Invoice Number
4801
4955
  * @description Number of the invoice. If left empty, will be automatically generated by the accounting system at creation.
@@ -4861,7 +5015,7 @@ export interface components {
4861
5015
  };
4862
5016
  /** InvoiceItemInMultiAnalyticPlans */
4863
5017
  InvoiceItemInMultiAnalyticPlans: {
4864
- invoice_type: components['schemas']['backbone_api__app__routers__accounting__InvoiceType'];
5018
+ invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
4865
5019
  /**
4866
5020
  * Invoice Number
4867
5021
  * @description Number of the invoice. If left empty, will be automatically generated by the accounting system at creation.
@@ -4943,7 +5097,7 @@ export interface components {
4943
5097
  */
4944
5098
  currency: string;
4945
5099
  /** @description Invoice type */
4946
- invoice_type: components['schemas']['backbone_common__models__invoicing__InvoiceType'];
5100
+ invoice_type: components['schemas']['backbone_common__models__invoicing__common__InvoiceType'];
4947
5101
  /** @description Status */
4948
5102
  status: components['schemas']['InvoiceStatus'];
4949
5103
  /**
@@ -5009,6 +5163,11 @@ export interface components {
5009
5163
  * @description Journal
5010
5164
  */
5011
5165
  journal_ref?: components['schemas']['FieldRef'];
5166
+ /**
5167
+ * Italian Specificities
5168
+ * @description Specificities for Italy
5169
+ */
5170
+ italian_specificities?: components['schemas']['ItalianSpecificities'];
5012
5171
  /**
5013
5172
  * Last Updated On
5014
5173
  * Format: date-time
@@ -5025,10 +5184,21 @@ export interface components {
5025
5184
  * @description Accounting date
5026
5185
  */
5027
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;
5028
5198
  };
5029
5199
  /** InvoiceItemOutMonoAnalyticPlan */
5030
5200
  InvoiceItemOutMonoAnalyticPlan: {
5031
- invoice_type: components['schemas']['backbone_api__app__routers__accounting__InvoiceType'];
5201
+ invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
5032
5202
  /**
5033
5203
  * Invoice Number
5034
5204
  * @description Number of the invoice. If left empty, will be automatically generated by the accounting system at creation.
@@ -5081,7 +5251,7 @@ export interface components {
5081
5251
  };
5082
5252
  /** InvoiceItemOutMultiAnalyticPlans */
5083
5253
  InvoiceItemOutMultiAnalyticPlans: {
5084
- invoice_type: components['schemas']['backbone_api__app__routers__accounting__InvoiceType'];
5254
+ invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
5085
5255
  /**
5086
5256
  * Invoice Number
5087
5257
  * @description Number of the invoice. If left empty, will be automatically generated by the accounting system at creation.
@@ -5153,7 +5323,7 @@ export interface components {
5153
5323
  */
5154
5324
  currency: string;
5155
5325
  /** @description Invoice type */
5156
- invoice_type: components['schemas']['backbone_common__models__invoicing__InvoiceType'];
5326
+ invoice_type: components['schemas']['backbone_common__models__invoicing__common__InvoiceType'];
5157
5327
  /** @description Status */
5158
5328
  status: components['schemas']['InvoiceStatus'];
5159
5329
  /**
@@ -5219,6 +5389,11 @@ export interface components {
5219
5389
  * @description Journal
5220
5390
  */
5221
5391
  journal_ref?: components['schemas']['FieldRef'];
5392
+ /**
5393
+ * Italian Specificities
5394
+ * @description Specificities for Italy
5395
+ */
5396
+ italian_specificities?: components['schemas']['ItalianSpecificities'];
5222
5397
  /**
5223
5398
  * Last Updated On
5224
5399
  * Format: date-time
@@ -5235,6 +5410,17 @@ export interface components {
5235
5410
  * @description Accounting date
5236
5411
  */
5237
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;
5238
5424
  /**
5239
5425
  * Pdf
5240
5426
  * @description PDF document in base64
@@ -5294,6 +5480,11 @@ export interface components {
5294
5480
  * @description Technical id of the tax in Chift
5295
5481
  */
5296
5482
  tax_id?: string;
5483
+ /**
5484
+ * Tax Exemption Reason
5485
+ * @description Tax exemption reason
5486
+ */
5487
+ tax_exemption_reason?: string;
5297
5488
  /**
5298
5489
  * Unit Of Measure
5299
5490
  * @description Unit of measure matching target sofware name
@@ -5489,6 +5680,27 @@ export interface components {
5489
5680
  */
5490
5681
  analytic_distribution: components['schemas']['AnalyticDistribution'][];
5491
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
+ };
5492
5704
  /**
5493
5705
  * InvoiceStatus
5494
5706
  * @description An enumeration.
@@ -5507,87 +5719,213 @@ export interface components {
5507
5719
  * @enum {string}
5508
5720
  */
5509
5721
  InvoiceStatusOut: 'cancelled' | 'draft' | 'posted' | 'paid';
5510
- /**
5511
- * InvoiceTypeRequest
5512
- * @description An enumeration.
5513
- * @enum {string}
5514
- */
5515
- InvoiceTypeRequest:
5516
- | 'customer_invoice'
5517
- | 'customer_refund'
5518
- | 'supplier_invoice'
5519
- | 'supplier_refund'
5520
- | 'all';
5521
- /** Journal */
5522
- Journal: {
5523
- /** Id */
5524
- id: string;
5525
- /** Code */
5526
- code?: string;
5527
- /** Name */
5528
- name: string;
5529
- journal_type: components['schemas']['JournalType'];
5530
- /** Counterpart Account */
5531
- counterpart_account?: string;
5722
+ /** InvoicingPaymentItem */
5723
+ InvoicingPaymentItem: {
5532
5724
  /**
5533
- * Next Document Numbers
5534
- * @default []
5725
+ * Id
5726
+ * @description Technical id in Chift
5535
5727
  */
5536
- next_document_numbers: components['schemas']['NextDocumentNumber'][];
5537
- };
5538
- /** JournalEntryIn */
5539
- JournalEntryIn: {
5540
- /** Reference */
5541
- reference?: string;
5728
+ id: string;
5542
5729
  /**
5543
- * Due Date
5544
- * Format: date
5730
+ * Source Ref
5731
+ * @description Technical id in the target software
5545
5732
  */
5546
- due_date?: string;
5547
- /** Journal Id */
5548
- journal_id: string;
5549
- /** Name */
5550
- name: string;
5733
+ source_ref: components['schemas']['Ref'];
5734
+ /** @description Payment status */
5735
+ status: components['schemas']['backbone_common__models__payment__common__PaymentStatus'];
5551
5736
  /**
5552
- * Date
5553
- * Format: date
5737
+ * Description
5738
+ * @description Description
5554
5739
  */
5555
- date: string;
5556
- /** Items */
5557
- items: components['schemas']['JournalItemIn'][];
5740
+ description: string;
5558
5741
  /**
5559
- * Pdf
5560
- * @description Base 64 string representing the PDF attached to the item.
5742
+ * Amount
5743
+ * @description Amount
5561
5744
  */
5562
- pdf?: string;
5563
- };
5564
- /** JournalEntryMonoAnalyticPlan */
5565
- JournalEntryMonoAnalyticPlan: {
5566
- /** Reference */
5567
- reference?: string;
5745
+ amount: number;
5568
5746
  /**
5569
- * Due Date
5570
- * Format: date
5747
+ * Currency
5748
+ * @description Currency
5571
5749
  */
5572
- due_date?: string;
5573
- /** Journal Id */
5574
- journal_id: string;
5575
- /** Name */
5576
- name?: string;
5577
- /** Journal Name */
5578
- journal_name: string;
5750
+ currency: string;
5579
5751
  /**
5580
- * Date
5581
- * Format: date
5582
- * @description Accounting date of the journal entry. It is automatically set to '1970-01-01' if the value is not available/empty in the accounting system.
5583
- * @default 1970-01-01
5752
+ * Payment Date
5753
+ * Format: date-time
5754
+ * @description Date of creation
5584
5755
  */
5585
- date: string;
5756
+ payment_date: string;
5586
5757
  /**
5587
- * Posted
5588
- * @default false
5758
+ * Partner Id
5759
+ * @description Partner ID
5589
5760
  */
5590
- posted: boolean;
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 */
5912
+ journal_id: string;
5913
+ /** Name */
5914
+ name?: string;
5915
+ /** Journal Name */
5916
+ journal_name: string;
5917
+ /**
5918
+ * Date
5919
+ * Format: date
5920
+ * @description Accounting date of the journal entry. It is automatically set to '1970-01-01' if the value is not available/empty in the accounting system.
5921
+ * @default 1970-01-01
5922
+ */
5923
+ date: string;
5924
+ /**
5925
+ * Posted
5926
+ * @default false
5927
+ */
5928
+ posted: boolean;
5591
5929
  /** Id */
5592
5930
  id: string;
5593
5931
  /**
@@ -5887,6 +6225,20 @@ export interface components {
5887
6225
  * @enum {string}
5888
6226
  */
5889
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
+ };
5890
6242
  /** NextDocumentNumber */
5891
6243
  NextDocumentNumber: {
5892
6244
  /** Bookyear Name */
@@ -6037,8 +6389,8 @@ export interface components {
6037
6389
  /** OrderItemIn */
6038
6390
  OrderItemIn: {
6039
6391
  customer: components['schemas']['OrderCustomerItem'];
6040
- billing_address: components['schemas']['backbone_api__app__routers__commerce__AddressItemIn'];
6041
- 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'];
6042
6394
  /**
6043
6395
  * Currency
6044
6396
  * @description Indicates the currency of the order (e.g. EUR).
@@ -6069,8 +6421,8 @@ export interface components {
6069
6421
  /** Order Number */
6070
6422
  order_number?: string;
6071
6423
  customer?: components['schemas']['OrderCustomerItemOut'];
6072
- billing_address?: components['schemas']['backbone_api__app__routers__commerce__AddressItemOut'];
6073
- 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'];
6074
6426
  /**
6075
6427
  * Created On
6076
6428
  * Format: date-time
@@ -6276,7 +6628,7 @@ export interface components {
6276
6628
  * Discounts
6277
6629
  * @default []
6278
6630
  */
6279
- discounts: components['schemas']['backbone_api__app__routers__commerce__DiscountItem'][];
6631
+ discounts: components['schemas']['backbone_common__models__commerce__common__DiscountItem'][];
6280
6632
  /**
6281
6633
  * Gift Card
6282
6634
  * @default false
@@ -6298,7 +6650,7 @@ export interface components {
6298
6650
  * Categories
6299
6651
  * @default []
6300
6652
  */
6301
- categories: components['schemas']['backbone_api__app__routers__commerce__ProductCategoryItem'][];
6653
+ categories: components['schemas']['backbone_common__models__commerce__common__ProductCategoryItem'][];
6302
6654
  };
6303
6655
  /** OrderPaymentMethods */
6304
6656
  OrderPaymentMethods: {
@@ -6431,6 +6783,28 @@ export interface components {
6431
6783
  amount: number;
6432
6784
  status: components['schemas']['TransactionStatus'];
6433
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
+ };
6434
6808
  /** OutstandingItem */
6435
6809
  OutstandingItem: {
6436
6810
  /** Id */
@@ -6464,10 +6838,16 @@ export interface components {
6464
6838
  account_number: string;
6465
6839
  /** Reference */
6466
6840
  reference?: string;
6841
+ /**
6842
+ * Matching Numbers
6843
+ * @default []
6844
+ */
6845
+ matching_numbers: string[];
6467
6846
  /** Payment Communication */
6468
6847
  payment_communication?: string;
6469
6848
  /** Posted */
6470
6849
  posted: boolean;
6850
+ original_document?: components['schemas']['OriginalOutstandingItem'];
6471
6851
  };
6472
6852
  /**
6473
6853
  * OutstandingType
@@ -6511,6 +6891,85 @@ export interface components {
6511
6891
  date: string;
6512
6892
  status: components['schemas']['ClosureStates'];
6513
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
+ };
6514
6973
  /** PMSLocationItem */
6515
6974
  PMSLocationItem: {
6516
6975
  /** Id */
@@ -6601,6 +7060,16 @@ export interface components {
6601
7060
  * @description Reference to the service related to this order
6602
7061
  */
6603
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'][];
6604
7073
  };
6605
7074
  /** PMSOrderLineItem */
6606
7075
  PMSOrderLineItem: {
@@ -6671,6 +7140,11 @@ export interface components {
6671
7140
  * Format: date-time
6672
7141
  */
6673
7142
  date?: string;
7143
+ /**
7144
+ * Partner Id
7145
+ * @description Reference to the customer related to this payment
7146
+ */
7147
+ partner_id?: components['schemas']['ChiftId'];
6674
7148
  };
6675
7149
  /** PMSPaymentMethods */
6676
7150
  PMSPaymentMethods: {
@@ -6902,13 +7376,19 @@ export interface components {
6902
7376
  /** Description */
6903
7377
  description?: string;
6904
7378
  /** Prices */
6905
- prices: components['schemas']['backbone_api__app__routers__pos__ProductPriceItem'][];
7379
+ prices: components['schemas']['backbone_common__models__pos__common__ProductPriceItem'][];
6906
7380
  /**
6907
7381
  * Accounting Category Ids
6908
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
6909
7383
  */
6910
7384
  accounting_category_ids?: string[];
6911
7385
  };
7386
+ /**
7387
+ * PartnerType
7388
+ * @description An enumeration.
7389
+ * @enum {unknown}
7390
+ */
7391
+ PartnerType: 'owner' | 'account';
6912
7392
  /** PatchConnectionItem */
6913
7393
  PatchConnectionItem: {
6914
7394
  /**
@@ -6980,7 +7460,7 @@ export interface components {
6980
7460
  */
6981
7461
  source_ref: components['schemas']['Ref'];
6982
7462
  /** @description Payment status */
6983
- status: components['schemas']['backbone_common__models__payment__PaymentStatus'];
7463
+ status: components['schemas']['backbone_common__models__payment__common__PaymentStatus'];
6984
7464
  /**
6985
7465
  * Description
6986
7466
  * @description Description
@@ -7034,15 +7514,57 @@ export interface components {
7034
7514
  /** Extra */
7035
7515
  extra?: string;
7036
7516
  };
7037
- /** PaymentTermAccountInfo */
7038
- PaymentTermAccountInfo: {
7039
- /** Amount */
7040
- amount: number;
7041
- /** Iban */
7042
- iban: string;
7517
+ /** PaymentReporting */
7518
+ PaymentReporting: {
7519
+ /** @description Payment method */
7520
+ method?: components['schemas']['PaymentReportingMethod'];
7521
+ /** @description Payment conditions */
7522
+ conditions?: components['schemas']['PaymentReportingConditions'];
7043
7523
  };
7044
- /** PostAddressItem */
7045
- 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: {
7046
7568
  /** Name */
7047
7569
  name: string;
7048
7570
  /** Street */
@@ -7064,6 +7586,8 @@ export interface components {
7064
7586
  name: string;
7065
7587
  /** Email */
7066
7588
  email?: string;
7589
+ /** Internal Reference */
7590
+ internal_reference?: string;
7067
7591
  /** Redirect Url */
7068
7592
  redirect_url?: string;
7069
7593
  };
@@ -7178,7 +7702,7 @@ export interface components {
7178
7702
  * Categories
7179
7703
  * @default []
7180
7704
  */
7181
- categories: components['schemas']['backbone_api__app__routers__commerce__ProductCategoryItem'][];
7705
+ categories: components['schemas']['backbone_common__models__commerce__common__ProductCategoryItem'][];
7182
7706
  /**
7183
7707
  * Created On
7184
7708
  * Format: date-time
@@ -7197,7 +7721,7 @@ export interface components {
7197
7721
  * Prices
7198
7722
  * @default []
7199
7723
  */
7200
- prices: components['schemas']['backbone_api__app__routers__commerce__ProductPriceItem'][];
7724
+ prices: components['schemas']['backbone_common__models__commerce__common__ProductPriceItem'][];
7201
7725
  /** Unit Of Measure */
7202
7726
  unit_of_measure?: string;
7203
7727
  /**
@@ -7361,7 +7885,7 @@ export interface components {
7361
7885
  */
7362
7886
  source_ref: components['schemas']['Ref'];
7363
7887
  /** @description Payment status */
7364
- status: components['schemas']['backbone_common__models__payment__PaymentStatus'];
7888
+ status: components['schemas']['backbone_common__models__payment__common__PaymentStatus'];
7365
7889
  /**
7366
7890
  * Description
7367
7891
  * @description Description
@@ -7419,6 +7943,39 @@ export interface components {
7419
7943
  */
7420
7944
  total: number;
7421
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
+ };
7422
7979
  /** ReturnFeesItem */
7423
7980
  ReturnFeesItem: {
7424
7981
  /**
@@ -7928,6 +8485,8 @@ export interface components {
7928
8485
  name?: string;
7929
8486
  /** Email */
7930
8487
  email?: string;
8488
+ /** Internal Reference */
8489
+ internal_reference?: string;
7931
8490
  /** Redirect Url */
7932
8491
  redirect_url?: string;
7933
8492
  };
@@ -8000,7 +8559,7 @@ export interface components {
8000
8559
  * Categories
8001
8560
  * @default []
8002
8561
  */
8003
- categories: components['schemas']['backbone_api__app__routers__commerce__ProductCategoryItem'][];
8562
+ categories: components['schemas']['backbone_common__models__commerce__common__ProductCategoryItem'][];
8004
8563
  /**
8005
8564
  * Created On
8006
8565
  * Format: date-time
@@ -8019,7 +8578,7 @@ export interface components {
8019
8578
  * Prices
8020
8579
  * @default []
8021
8580
  */
8022
- prices: components['schemas']['backbone_api__app__routers__commerce__ProductPriceItem'][];
8581
+ prices: components['schemas']['backbone_common__models__commerce__common__ProductPriceItem'][];
8023
8582
  /** Unit Of Measure */
8024
8583
  unit_of_measure?: string;
8025
8584
  /**
@@ -8147,63 +8706,246 @@ export interface components {
8147
8706
  /** Integrationid */
8148
8707
  integrationid?: number;
8149
8708
  };
8150
- /** ChiftPage[VatCode] */
8151
- 'backbone_api__app__routers__accounting__ChiftPage[VatCode]': {
8152
- /** Items */
8153
- items: components['schemas']['backbone_api__app__routers__accounting__VatCode'][];
8154
- /** Total */
8155
- total: number;
8156
- /** Page */
8157
- page: number;
8158
- /** Size */
8159
- 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'];
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;
8160
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';
8161
8921
  /**
8162
8922
  * InvoiceType
8163
8923
  * @description An enumeration.
8164
8924
  * @enum {string}
8165
8925
  */
8166
- backbone_api__app__routers__accounting__InvoiceType:
8926
+ backbone_common__models__accounting__common__InvoiceType:
8167
8927
  | 'customer_invoice'
8168
8928
  | 'customer_refund'
8169
8929
  | 'supplier_invoice'
8170
8930
  | 'supplier_refund';
8171
- /** VatCode */
8172
- backbone_api__app__routers__accounting__VatCode: {
8173
- /** Id */
8174
- id: string;
8175
- /** Code */
8176
- code?: string;
8177
- /** Label */
8178
- label: string;
8179
- /** @default unknown */
8180
- scope: components['schemas']['backbone_api__app__routers__accounting__VatCodeScope'];
8181
- /** Rate */
8182
- rate: number;
8183
- type: components['schemas']['backbone_api__app__routers__accounting__VatCodeType'];
8184
- /** Deductible Account */
8185
- deductible_account?: string;
8186
- /** Payable Account */
8187
- payable_account?: string;
8188
- };
8189
8931
  /**
8190
8932
  * VatCodeScope
8191
8933
  * @description An enumeration.
8192
8934
  * @enum {string}
8193
8935
  */
8194
- backbone_api__app__routers__accounting__VatCodeScope: 'nat' | 'eu' | 'int' | 'unknown';
8936
+ backbone_common__models__accounting__common__VatCodeScope: 'nat' | 'eu' | 'int' | 'unknown';
8195
8937
  /**
8196
8938
  * VatCodeType
8197
8939
  * @description An enumeration.
8198
8940
  * @enum {string}
8199
8941
  */
8200
- backbone_api__app__routers__accounting__VatCodeType:
8942
+ backbone_common__models__accounting__common__VatCodeType:
8201
8943
  | 'sale'
8202
8944
  | 'purchase'
8203
8945
  | 'both'
8204
8946
  | 'unknown';
8205
8947
  /** AddressItemIn */
8206
- backbone_api__app__routers__commerce__AddressItemIn: {
8948
+ backbone_common__models__commerce__common__AddressItemIn: {
8207
8949
  /** First Name */
8208
8950
  first_name: string;
8209
8951
  /** Last Name */
@@ -8229,7 +8971,7 @@ export interface components {
8229
8971
  email?: string;
8230
8972
  };
8231
8973
  /** AddressItemOut */
8232
- backbone_api__app__routers__commerce__AddressItemOut: {
8974
+ backbone_common__models__commerce__common__AddressItemOut: {
8233
8975
  address_type: components['schemas']['AddressType'];
8234
8976
  /** Company Name */
8235
8977
  company_name?: string;
@@ -8258,7 +9000,7 @@ export interface components {
8258
9000
  email?: string;
8259
9001
  };
8260
9002
  /** DiscountItem */
8261
- backbone_api__app__routers__commerce__DiscountItem: {
9003
+ backbone_common__models__commerce__common__DiscountItem: {
8262
9004
  /** Name */
8263
9005
  name: string;
8264
9006
  /** Description */
@@ -8267,7 +9009,7 @@ export interface components {
8267
9009
  amount: number;
8268
9010
  };
8269
9011
  /** ProductCategoryItem */
8270
- backbone_api__app__routers__commerce__ProductCategoryItem: {
9012
+ backbone_common__models__commerce__common__ProductCategoryItem: {
8271
9013
  /**
8272
9014
  * Id
8273
9015
  * @description Technical id of the category in Chift
@@ -8277,7 +9019,7 @@ export interface components {
8277
9019
  name: string;
8278
9020
  };
8279
9021
  /** ProductItem */
8280
- backbone_api__app__routers__commerce__ProductItem: {
9022
+ backbone_common__models__commerce__common__ProductItem: {
8281
9023
  /**
8282
9024
  * Id
8283
9025
  * @description Technical id in Chift
@@ -8298,7 +9040,7 @@ export interface components {
8298
9040
  * Categories
8299
9041
  * @default []
8300
9042
  */
8301
- categories: components['schemas']['backbone_api__app__routers__commerce__ProductCategoryItem'][];
9043
+ categories: components['schemas']['backbone_common__models__commerce__common__ProductCategoryItem'][];
8302
9044
  /**
8303
9045
  * Created On
8304
9046
  * Format: date-time
@@ -8329,7 +9071,7 @@ export interface components {
8329
9071
  common_images: components['schemas']['ImageItem'][];
8330
9072
  };
8331
9073
  /** ProductPriceItem */
8332
- backbone_api__app__routers__commerce__ProductPriceItem: {
9074
+ backbone_common__models__commerce__common__ProductPriceItem: {
8333
9075
  /** Currency */
8334
9076
  currency: string;
8335
9077
  /**
@@ -8338,147 +9080,6 @@ export interface components {
8338
9080
  */
8339
9081
  price: number;
8340
9082
  };
8341
- /** ConnectionItem */
8342
- backbone_api__app__routers__connections__ConnectionItem: {
8343
- /**
8344
- * Connectionid
8345
- * Format: uuid
8346
- */
8347
- connectionid: string;
8348
- /** Name */
8349
- name: string;
8350
- /** Integration */
8351
- integration: string;
8352
- /** Integrationid */
8353
- integrationid: number;
8354
- /** Api */
8355
- api: string;
8356
- /** Data */
8357
- data?: Record<string, never>;
8358
- status: components['schemas']['backbone_api__app__routers__connections__Status'];
8359
- /**
8360
- * Agent
8361
- * @description For local agent only. Indicates whether the local agent is up and running
8362
- */
8363
- agent?: components['schemas']['LocalAgentInfo'];
8364
- };
8365
- /** CredentialItem */
8366
- backbone_api__app__routers__connections__CredentialItem: {
8367
- /** Key */
8368
- key: string;
8369
- /** Value */
8370
- value: string;
8371
- };
8372
- /** PostConnectionItem */
8373
- backbone_api__app__routers__connections__PostConnectionItem: {
8374
- /**
8375
- * Integrationid
8376
- * @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.
8377
- */
8378
- integrationid?: number;
8379
- /**
8380
- * Name
8381
- * @description Can be used to specify the name of the connection. Must be used in combination with an integrationid.
8382
- */
8383
- name?: string;
8384
- /**
8385
- * Credentials
8386
- * @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
8387
- */
8388
- credentials?: components['schemas']['backbone_api__app__routers__connections__CredentialItem'][];
8389
- };
8390
- /**
8391
- * Status
8392
- * @description An enumeration.
8393
- * @enum {unknown}
8394
- */
8395
- backbone_api__app__routers__connections__Status: 'active' | 'inactive';
8396
- /**
8397
- * Status
8398
- * @description An enumeration.
8399
- * @enum {unknown}
8400
- */
8401
- backbone_api__app__routers__datastores__Status: 'active' | 'inactive';
8402
- /** CredentialItem */
8403
- backbone_api__app__routers__integrations__CredentialItem: {
8404
- /** Name */
8405
- name: string;
8406
- /**
8407
- * Optional
8408
- * @default false
8409
- */
8410
- optional: boolean;
8411
- };
8412
- /** PostConnectionItem */
8413
- backbone_api__app__routers__integrations__PostConnectionItem: {
8414
- /** Title */
8415
- title: string;
8416
- /** Optional */
8417
- optional: boolean;
8418
- /** Resource */
8419
- resource: string;
8420
- };
8421
- /**
8422
- * Status
8423
- * @description An enumeration.
8424
- * @enum {unknown}
8425
- */
8426
- backbone_api__app__routers__integrations__Status: 'active' | 'inactive';
8427
- /** ChiftPage[VatCode] */
8428
- 'backbone_api__app__routers__invoicing__ChiftPage[VatCode]': {
8429
- /** Items */
8430
- items: components['schemas']['backbone_common__models__invoicing__VatCode'][];
8431
- /** Total */
8432
- total: number;
8433
- /** Page */
8434
- page: number;
8435
- /** Size */
8436
- size: number;
8437
- };
8438
- /** ProductCategoryItem */
8439
- backbone_api__app__routers__pos__ProductCategoryItem: {
8440
- /** Id */
8441
- id: string;
8442
- /** Name */
8443
- name: string;
8444
- /** Description */
8445
- description?: string;
8446
- /**
8447
- * Id Parent
8448
- * @description Indicates if the category belongs to a parent category
8449
- */
8450
- id_parent?: string;
8451
- };
8452
- /** ProductPriceItem */
8453
- backbone_api__app__routers__pos__ProductPriceItem: {
8454
- /** Unit Price */
8455
- unit_price: number;
8456
- /** Tax Rate */
8457
- tax_rate?: number;
8458
- };
8459
- /** ConnectionItem */
8460
- backbone_api__app__routers__syncs__ConnectionItem: {
8461
- /** One Api */
8462
- one_api?: number;
8463
- /** Connection Type */
8464
- connection_type?: number;
8465
- /**
8466
- * Display Order
8467
- * @default 0
8468
- */
8469
- display_order: number;
8470
- /**
8471
- * Display Hidden
8472
- * @default false
8473
- */
8474
- display_hidden: boolean;
8475
- };
8476
- /**
8477
- * Status
8478
- * @description An enumeration.
8479
- * @enum {unknown}
8480
- */
8481
- backbone_api__app__routers__webhooks__Status: 'active' | 'inactive';
8482
9083
  /** AddressItemIn */
8483
9084
  backbone_common__models__common__AddressItemIn: {
8484
9085
  address_type: components['schemas']['AddressType'];
@@ -8539,18 +9140,99 @@ export interface components {
8539
9140
  * @enum {string}
8540
9141
  */
8541
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
+ };
8542
9223
  /**
8543
9224
  * InvoiceType
8544
9225
  * @description An enumeration.
8545
9226
  * @enum {string}
8546
9227
  */
8547
- backbone_common__models__invoicing__InvoiceType:
9228
+ backbone_common__models__invoicing__common__InvoiceType:
8548
9229
  | 'customer_invoice'
8549
9230
  | 'customer_refund'
8550
9231
  | 'supplier_invoice'
8551
- | 'supplier_refund';
9232
+ | 'supplier_refund'
9233
+ | 'all';
8552
9234
  /** ProductItem */
8553
- backbone_common__models__invoicing__ProductItem: {
9235
+ backbone_common__models__invoicing__common__ProductItem: {
8554
9236
  /**
8555
9237
  * Name
8556
9238
  * @description Name
@@ -8592,71 +9274,93 @@ export interface components {
8592
9274
  */
8593
9275
  description?: string;
8594
9276
  };
8595
- /** VatCode */
8596
- backbone_common__models__invoicing__VatCode: {
8597
- /**
8598
- * Id
8599
- * @description Technical id in Chift
8600
- */
8601
- id: string;
8602
- /**
8603
- * Source Ref
8604
- * @description Technical id in the target software
8605
- */
8606
- source_ref: components['schemas']['Ref'];
8607
- /**
8608
- * Label
8609
- * @description Label
8610
- */
8611
- label: string;
8612
- /**
8613
- * Rate
8614
- * @description Tax rate (e.g. 21.0)
8615
- */
8616
- rate: number;
8617
- /** @description Type */
8618
- type: components['schemas']['backbone_common__models__invoicing__VatCodeType'];
8619
- /**
8620
- * Code
8621
- * @description Code
8622
- */
8623
- code?: string;
8624
- /**
8625
- * @description Scope
8626
- * @default unknown
8627
- */
8628
- scope: components['schemas']['backbone_common__models__invoicing__VatCodeScope'];
8629
- };
8630
9277
  /**
8631
9278
  * VatCodeScope
8632
9279
  * @description An enumeration.
8633
9280
  * @enum {string}
8634
9281
  */
8635
- backbone_common__models__invoicing__VatCodeScope: 'nat' | 'eu' | 'int' | 'unknown';
9282
+ backbone_common__models__invoicing__common__VatCodeScope: 'nat' | 'eu' | 'int' | 'unknown';
8636
9283
  /**
8637
9284
  * VatCodeType
8638
9285
  * @description An enumeration.
8639
9286
  * @enum {string}
8640
9287
  */
8641
- backbone_common__models__invoicing__VatCodeType: 'sale' | 'purchase' | 'both' | 'unknown';
9288
+ backbone_common__models__invoicing__common__VatCodeType:
9289
+ | 'sale'
9290
+ | 'purchase'
9291
+ | 'both'
9292
+ | 'unknown';
8642
9293
  /**
8643
9294
  * PaymentStatus
8644
9295
  * @description An enumeration.
8645
9296
  * @enum {unknown}
8646
9297
  */
8647
- backbone_common__models__payment__PaymentStatus:
9298
+ backbone_common__models__payment__common__PaymentStatus:
8648
9299
  | 'pending'
8649
9300
  | 'completed'
8650
9301
  | 'canceled'
8651
9302
  | 'failed'
8652
9303
  | 'unknown'
8653
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
+ };
8654
9356
  /** DiscountItem */
8655
9357
  backbone_common__models__pos_pms__DiscountItem: {
8656
9358
  /** Name */
8657
9359
  name?: string;
8658
9360
  /** Total */
8659
9361
  total: number;
9362
+ /** @default UNKNOWN */
9363
+ type: components['schemas']['DiscountType'];
8660
9364
  };
8661
9365
  /**
8662
9366
  * PaymentStatus
@@ -8679,6 +9383,39 @@ export interface components {
8679
9383
  }
8680
9384
  export type $defs = Record<string, never>;
8681
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
+ };
8682
9419
  consumers_get_consumers: {
8683
9420
  parameters: {
8684
9421
  query?: {
@@ -9768,6 +10505,49 @@ export interface operations {
9768
10505
  };
9769
10506
  };
9770
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
+ };
9771
10551
  syncs_enable_syncconsumer: {
9772
10552
  parameters: {
9773
10553
  query?: never;
@@ -9841,13 +10621,11 @@ export interface operations {
9841
10621
  };
9842
10622
  responses: {
9843
10623
  /** @description Successful Response */
9844
- 200: {
10624
+ 204: {
9845
10625
  headers: {
9846
10626
  [name: string]: unknown;
9847
10627
  };
9848
- content: {
9849
- 'application/json': unknown;
9850
- };
10628
+ content?: never;
9851
10629
  };
9852
10630
  /** @description Not Found */
9853
10631
  404: {
@@ -10121,10 +10899,9 @@ export interface operations {
10121
10899
  accounting_get_bookyears: {
10122
10900
  parameters: {
10123
10901
  query?: {
10124
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10125
- folder_id?: string;
10126
10902
  page?: number;
10127
10903
  size?: number;
10904
+ folder_id?: string;
10128
10905
  };
10129
10906
  header?: never;
10130
10907
  path: {
@@ -10166,10 +10943,9 @@ export interface operations {
10166
10943
  accounting_get_analytic_plans: {
10167
10944
  parameters: {
10168
10945
  query?: {
10169
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10170
- folder_id?: string;
10171
10946
  page?: number;
10172
10947
  size?: number;
10948
+ folder_id?: string;
10173
10949
  };
10174
10950
  header?: never;
10175
10951
  path: {
@@ -10211,12 +10987,11 @@ export interface operations {
10211
10987
  accounting_get_clients: {
10212
10988
  parameters: {
10213
10989
  query?: {
10214
- /** @description Filter based on the following fields: name, email, first_name, last_name, external_reference, vat and company_number */
10215
- search?: string;
10216
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10217
- folder_id?: string;
10218
10990
  page?: number;
10219
10991
  size?: number;
10992
+ folder_id?: string;
10993
+ search?: string;
10994
+ updated_after?: string;
10220
10995
  };
10221
10996
  header?: never;
10222
10997
  path: {
@@ -10258,10 +11033,8 @@ export interface operations {
10258
11033
  accounting_create_client: {
10259
11034
  parameters: {
10260
11035
  query?: {
10261
- /** @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). */
10262
- force_merge?: string;
10263
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10264
11036
  folder_id?: string;
11037
+ force_merge?: string;
10265
11038
  };
10266
11039
  header?: never;
10267
11040
  path: {
@@ -10307,13 +11080,12 @@ export interface operations {
10307
11080
  accounting_get_client: {
10308
11081
  parameters: {
10309
11082
  query?: {
10310
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10311
11083
  folder_id?: string;
10312
11084
  };
10313
11085
  header?: never;
10314
11086
  path: {
10315
- client_id: string;
10316
11087
  consumer_id: string;
11088
+ client_id: string;
10317
11089
  };
10318
11090
  cookie?: never;
10319
11091
  };
@@ -10360,13 +11132,12 @@ export interface operations {
10360
11132
  accounting_update_client: {
10361
11133
  parameters: {
10362
11134
  query?: {
10363
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10364
11135
  folder_id?: string;
10365
11136
  };
10366
11137
  header?: never;
10367
11138
  path: {
10368
- client_id: string;
10369
11139
  consumer_id: string;
11140
+ client_id: string;
10370
11141
  };
10371
11142
  cookie?: never;
10372
11143
  };
@@ -10417,12 +11188,11 @@ export interface operations {
10417
11188
  accounting_get_suppliers: {
10418
11189
  parameters: {
10419
11190
  query?: {
10420
- /** @description Filter based on the following fields: name, email, first_name, last_name, external_reference, vat and company_number */
10421
- search?: string;
10422
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10423
- folder_id?: string;
10424
11191
  page?: number;
10425
11192
  size?: number;
11193
+ folder_id?: string;
11194
+ search?: string;
11195
+ updated_after?: string;
10426
11196
  };
10427
11197
  header?: never;
10428
11198
  path: {
@@ -10464,10 +11234,8 @@ export interface operations {
10464
11234
  accounting_create_supplier: {
10465
11235
  parameters: {
10466
11236
  query?: {
10467
- /** @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). */
10468
- force_merge?: string;
10469
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10470
11237
  folder_id?: string;
11238
+ force_merge?: string;
10471
11239
  };
10472
11240
  header?: never;
10473
11241
  path: {
@@ -10513,13 +11281,12 @@ export interface operations {
10513
11281
  accounting_get_supplier: {
10514
11282
  parameters: {
10515
11283
  query?: {
10516
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10517
11284
  folder_id?: string;
10518
11285
  };
10519
11286
  header?: never;
10520
11287
  path: {
10521
- supplier_id: string;
10522
11288
  consumer_id: string;
11289
+ supplier_id: string;
10523
11290
  };
10524
11291
  cookie?: never;
10525
11292
  };
@@ -10566,13 +11333,12 @@ export interface operations {
10566
11333
  accounting_update_supplier: {
10567
11334
  parameters: {
10568
11335
  query?: {
10569
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10570
11336
  folder_id?: string;
10571
11337
  };
10572
11338
  header?: never;
10573
11339
  path: {
10574
- supplier_id: string;
10575
11340
  consumer_id: string;
11341
+ supplier_id: string;
10576
11342
  };
10577
11343
  cookie?: never;
10578
11344
  };
@@ -10623,15 +11389,9 @@ export interface operations {
10623
11389
  accounting_create_invoice: {
10624
11390
  parameters: {
10625
11391
  query?: {
10626
- /**
10627
- * @description Financial period in which the invoice must be created. The format is the following: mmYYYY.
10628
- * @example 022022
10629
- */
11392
+ folder_id?: string;
10630
11393
  force_financial_period?: string;
10631
- /** @description Regroup lines by account number, tax code and analytic account in the accounting system. */
10632
11394
  regroup_lines?: components['schemas']['BoolParam'];
10633
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10634
- folder_id?: string;
10635
11395
  };
10636
11396
  header?: never;
10637
11397
  path: {
@@ -10686,15 +11446,9 @@ export interface operations {
10686
11446
  accounting_create_invoice_multiple_plans: {
10687
11447
  parameters: {
10688
11448
  query?: {
10689
- /**
10690
- * @description Financial period in which the invoice must be created. The format is the following: mmYYYY.
10691
- * @example 022022
10692
- */
11449
+ folder_id?: string;
10693
11450
  force_financial_period?: string;
10694
- /** @description Regroup lines by account number, tax code and analytic distribution in the accounting system. */
10695
11451
  regroup_lines?: components['schemas']['BoolParam'];
10696
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10697
- folder_id?: string;
10698
11452
  };
10699
11453
  header?: never;
10700
11454
  path: {
@@ -10749,26 +11503,20 @@ export interface operations {
10749
11503
  accounting_get_invoices_by_type: {
10750
11504
  parameters: {
10751
11505
  query?: {
11506
+ page?: number;
11507
+ size?: number;
11508
+ folder_id?: string;
10752
11509
  date_from?: string;
10753
11510
  date_to?: string;
10754
- /**
10755
- * @description Journal Ids used to filter the invoices. The Ids are separed by ','
10756
- * @example 3,12
10757
- */
10758
11511
  journal_ids?: string;
10759
- /** @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. */
10760
11512
  include_payments?: components['schemas']['BoolParam'];
10761
- /** @description Extra filter to retrieve invoices with a specific payment status. */
10762
11513
  payment_status?: components['schemas']['backbone_common__models__common__PaymentStatus'];
10763
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10764
- folder_id?: string;
10765
- page?: number;
10766
- size?: number;
11514
+ updated_after?: string;
10767
11515
  };
10768
11516
  header?: never;
10769
11517
  path: {
10770
- invoice_type: components['schemas']['backbone_api__app__routers__accounting__InvoiceType'];
10771
11518
  consumer_id: string;
11519
+ invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
10772
11520
  };
10773
11521
  cookie?: never;
10774
11522
  };
@@ -10803,18 +11551,23 @@ export interface operations {
10803
11551
  };
10804
11552
  };
10805
11553
  };
10806
- accounting_get_invoice: {
11554
+ accounting_get_invoices_by_type_multi_analytic_plans: {
10807
11555
  parameters: {
10808
11556
  query?: {
10809
- /** @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. */
10810
- include_payments?: components['schemas']['BoolParam'];
10811
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11557
+ page?: number;
11558
+ size?: number;
10812
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;
10813
11566
  };
10814
11567
  header?: never;
10815
11568
  path: {
10816
- invoice_id: string;
10817
11569
  consumer_id: string;
11570
+ invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
10818
11571
  };
10819
11572
  cookie?: never;
10820
11573
  };
@@ -10826,7 +11579,7 @@ export interface operations {
10826
11579
  [name: string]: unknown;
10827
11580
  };
10828
11581
  content: {
10829
- 'application/json': components['schemas']['InvoiceItemOutMonoAnalyticPlan'];
11582
+ 'application/json': components['schemas']['ChiftPage_InvoiceItemOutMultiAnalyticPlans_'];
10830
11583
  };
10831
11584
  };
10832
11585
  /** @description Bad Request */
@@ -10838,15 +11591,6 @@ export interface operations {
10838
11591
  'application/json': components['schemas']['ChiftError'];
10839
11592
  };
10840
11593
  };
10841
- /** @description Not Found */
10842
- 404: {
10843
- headers: {
10844
- [name: string]: unknown;
10845
- };
10846
- content: {
10847
- 'application/json': components['schemas']['ChiftError'];
10848
- };
10849
- };
10850
11594
  /** @description Validation Error */
10851
11595
  422: {
10852
11596
  headers: {
@@ -10858,18 +11602,16 @@ export interface operations {
10858
11602
  };
10859
11603
  };
10860
11604
  };
10861
- accounting_get_invoice_multi_analytic_plans: {
11605
+ accounting_get_invoice: {
10862
11606
  parameters: {
10863
11607
  query?: {
10864
- /** @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. */
10865
- include_payments?: components['schemas']['BoolParam'];
10866
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10867
11608
  folder_id?: string;
11609
+ include_payments?: components['schemas']['BoolParam'];
10868
11610
  };
10869
11611
  header?: never;
10870
11612
  path: {
10871
- invoice_id: string;
10872
11613
  consumer_id: string;
11614
+ invoice_id: string;
10873
11615
  };
10874
11616
  cookie?: never;
10875
11617
  };
@@ -10881,7 +11623,7 @@ export interface operations {
10881
11623
  [name: string]: unknown;
10882
11624
  };
10883
11625
  content: {
10884
- 'application/json': components['schemas']['InvoiceItemOutMultiAnalyticPlans'];
11626
+ 'application/json': components['schemas']['InvoiceItemOutMonoAnalyticPlan'];
10885
11627
  };
10886
11628
  };
10887
11629
  /** @description Bad Request */
@@ -10913,29 +11655,16 @@ export interface operations {
10913
11655
  };
10914
11656
  };
10915
11657
  };
10916
- accounting_get_invoices_by_type_multi_analytic_plans: {
11658
+ accounting_get_invoice_multi_analytic_plans: {
10917
11659
  parameters: {
10918
11660
  query?: {
10919
- date_from?: string;
10920
- date_to?: string;
10921
- /**
10922
- * @description Journal Ids used to filter the invoices. The Ids are separed by ','
10923
- * @example 3,12
10924
- */
10925
- journal_ids?: string;
10926
- /** @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. */
10927
- include_payments?: components['schemas']['BoolParam'];
10928
- /** @description Extra filter to retrieve invoices with a specific payment status. */
10929
- payment_status?: components['schemas']['backbone_common__models__common__PaymentStatus'];
10930
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10931
11661
  folder_id?: string;
10932
- page?: number;
10933
- size?: number;
11662
+ include_payments?: components['schemas']['BoolParam'];
10934
11663
  };
10935
11664
  header?: never;
10936
11665
  path: {
10937
- invoice_type: components['schemas']['backbone_api__app__routers__accounting__InvoiceType'];
10938
11666
  consumer_id: string;
11667
+ invoice_id: string;
10939
11668
  };
10940
11669
  cookie?: never;
10941
11670
  };
@@ -10947,7 +11676,7 @@ export interface operations {
10947
11676
  [name: string]: unknown;
10948
11677
  };
10949
11678
  content: {
10950
- 'application/json': components['schemas']['ChiftPage_InvoiceItemOutMultiAnalyticPlans_'];
11679
+ 'application/json': components['schemas']['InvoiceItemOutMultiAnalyticPlans'];
10951
11680
  };
10952
11681
  };
10953
11682
  /** @description Bad Request */
@@ -10959,6 +11688,15 @@ export interface operations {
10959
11688
  'application/json': components['schemas']['ChiftError'];
10960
11689
  };
10961
11690
  };
11691
+ /** @description Not Found */
11692
+ 404: {
11693
+ headers: {
11694
+ [name: string]: unknown;
11695
+ };
11696
+ content: {
11697
+ 'application/json': components['schemas']['ChiftError'];
11698
+ };
11699
+ };
10962
11700
  /** @description Validation Error */
10963
11701
  422: {
10964
11702
  headers: {
@@ -10973,10 +11711,9 @@ export interface operations {
10973
11711
  accounting_get_analytic_accounts: {
10974
11712
  parameters: {
10975
11713
  query?: {
10976
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
10977
- folder_id?: string;
10978
11714
  page?: number;
10979
11715
  size?: number;
11716
+ folder_id?: string;
10980
11717
  };
10981
11718
  header?: never;
10982
11719
  path: {
@@ -11018,7 +11755,6 @@ export interface operations {
11018
11755
  accounting_create_analytic_account: {
11019
11756
  parameters: {
11020
11757
  query?: {
11021
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11022
11758
  folder_id?: string;
11023
11759
  };
11024
11760
  header?: never;
@@ -11065,13 +11801,12 @@ export interface operations {
11065
11801
  accounting_create_analytic_account_multi_plans: {
11066
11802
  parameters: {
11067
11803
  query?: {
11068
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11069
11804
  folder_id?: string;
11070
11805
  };
11071
11806
  header?: never;
11072
11807
  path: {
11073
- analytic_plan: string;
11074
11808
  consumer_id: string;
11809
+ analytic_plan: string;
11075
11810
  };
11076
11811
  cookie?: never;
11077
11812
  };
@@ -11113,13 +11848,12 @@ export interface operations {
11113
11848
  accounting_get_analytic_account: {
11114
11849
  parameters: {
11115
11850
  query?: {
11116
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11117
11851
  folder_id?: string;
11118
11852
  };
11119
11853
  header?: never;
11120
11854
  path: {
11121
- analytic_account_id: string;
11122
11855
  consumer_id: string;
11856
+ analytic_account_id: string;
11123
11857
  };
11124
11858
  cookie?: never;
11125
11859
  };
@@ -11166,13 +11900,12 @@ export interface operations {
11166
11900
  accounting_update_analytic_account: {
11167
11901
  parameters: {
11168
11902
  query?: {
11169
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11170
11903
  folder_id?: string;
11171
11904
  };
11172
11905
  header?: never;
11173
11906
  path: {
11174
- analytic_account_id: string;
11175
11907
  consumer_id: string;
11908
+ analytic_account_id: string;
11176
11909
  };
11177
11910
  cookie?: never;
11178
11911
  };
@@ -11223,14 +11956,13 @@ export interface operations {
11223
11956
  accounting_get_analytic_account_multi_plans: {
11224
11957
  parameters: {
11225
11958
  query?: {
11226
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11227
11959
  folder_id?: string;
11228
11960
  };
11229
11961
  header?: never;
11230
11962
  path: {
11963
+ consumer_id: string;
11231
11964
  analytic_account_id: string;
11232
11965
  analytic_plan: string;
11233
- consumer_id: string;
11234
11966
  };
11235
11967
  cookie?: never;
11236
11968
  };
@@ -11277,14 +12009,13 @@ export interface operations {
11277
12009
  accounting_update_analytic_account_multi_plans: {
11278
12010
  parameters: {
11279
12011
  query?: {
11280
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11281
12012
  folder_id?: string;
11282
12013
  };
11283
12014
  header?: never;
11284
12015
  path: {
12016
+ consumer_id: string;
11285
12017
  analytic_account_id: string;
11286
12018
  analytic_plan: string;
11287
- consumer_id: string;
11288
12019
  };
11289
12020
  cookie?: never;
11290
12021
  };
@@ -11335,10 +12066,9 @@ export interface operations {
11335
12066
  accounting_get_analytic_accounts_multi_plans: {
11336
12067
  parameters: {
11337
12068
  query?: {
11338
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11339
- folder_id?: string;
11340
12069
  page?: number;
11341
12070
  size?: number;
12071
+ folder_id?: string;
11342
12072
  };
11343
12073
  header?: never;
11344
12074
  path: {
@@ -11380,15 +12110,15 @@ export interface operations {
11380
12110
  accounting_get_journal_entries: {
11381
12111
  parameters: {
11382
12112
  query: {
12113
+ page?: number;
12114
+ size?: number;
12115
+ folder_id?: string;
11383
12116
  unposted_allowed: components['schemas']['BoolParam'];
11384
- date_from: string;
11385
- date_to: string;
11386
12117
  journal_id: string;
12118
+ date_from?: string;
12119
+ date_to?: string;
12120
+ updated_after?: string;
11387
12121
  partner_id?: string;
11388
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11389
- folder_id?: string;
11390
- page?: number;
11391
- size?: number;
11392
12122
  };
11393
12123
  header?: never;
11394
12124
  path: {
@@ -11430,7 +12160,6 @@ export interface operations {
11430
12160
  accounting_create_journal_entry: {
11431
12161
  parameters: {
11432
12162
  query?: {
11433
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11434
12163
  folder_id?: string;
11435
12164
  };
11436
12165
  header?: never;
@@ -11439,11 +12168,70 @@ export interface operations {
11439
12168
  };
11440
12169
  cookie?: never;
11441
12170
  };
11442
- requestBody: {
11443
- content: {
11444
- 'application/json': components['schemas']['JournalEntryIn'];
11445
- };
11446
- };
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;
11447
12235
  responses: {
11448
12236
  /** @description Successful Response */
11449
12237
  200: {
@@ -11451,7 +12239,7 @@ export interface operations {
11451
12239
  [name: string]: unknown;
11452
12240
  };
11453
12241
  content: {
11454
- 'application/json': components['schemas']['JournalEntryMultiAnalyticPlan'];
12242
+ 'application/json': components['schemas']['ChiftPage_JournalEntryMultiAnalyticPlan_'];
11455
12243
  };
11456
12244
  };
11457
12245
  /** @description Bad Request */
@@ -11463,42 +12251,26 @@ export interface operations {
11463
12251
  'application/json': components['schemas']['ChiftError'];
11464
12252
  };
11465
12253
  };
11466
- /** @description Not Found */
11467
- 404: {
11468
- headers: {
11469
- [name: string]: unknown;
11470
- };
11471
- content: {
11472
- 'application/json': components['schemas']['ChiftError'];
11473
- };
11474
- };
11475
- /** @description Unprocessable Entity */
12254
+ /** @description Validation Error */
11476
12255
  422: {
11477
12256
  headers: {
11478
12257
  [name: string]: unknown;
11479
12258
  };
11480
12259
  content: {
11481
- 'application/json': components['schemas']['ChiftError'];
12260
+ 'application/json': components['schemas']['HTTPValidationError'];
11482
12261
  };
11483
12262
  };
11484
12263
  };
11485
12264
  };
11486
- accounting_get_journal_entries_mutli_plan: {
12265
+ accounting_get_journal_entry: {
11487
12266
  parameters: {
11488
- query: {
11489
- unposted_allowed: components['schemas']['BoolParam'];
11490
- date_from: string;
11491
- date_to: string;
11492
- journal_id: string;
11493
- partner_id?: string;
11494
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
12267
+ query?: {
11495
12268
  folder_id?: string;
11496
- page?: number;
11497
- size?: number;
11498
12269
  };
11499
12270
  header?: never;
11500
12271
  path: {
11501
12272
  consumer_id: string;
12273
+ journal_entry_id: string;
11502
12274
  };
11503
12275
  cookie?: never;
11504
12276
  };
@@ -11510,7 +12282,7 @@ export interface operations {
11510
12282
  [name: string]: unknown;
11511
12283
  };
11512
12284
  content: {
11513
- 'application/json': components['schemas']['ChiftPage_JournalEntryMultiAnalyticPlan_'];
12285
+ 'application/json': components['schemas']['JournalEntryMultiAnalyticPlan'];
11514
12286
  };
11515
12287
  };
11516
12288
  /** @description Bad Request */
@@ -11522,6 +12294,15 @@ export interface operations {
11522
12294
  'application/json': components['schemas']['ChiftError'];
11523
12295
  };
11524
12296
  };
12297
+ /** @description Not Found */
12298
+ 404: {
12299
+ headers: {
12300
+ [name: string]: unknown;
12301
+ };
12302
+ content: {
12303
+ 'application/json': components['schemas']['ChiftError'];
12304
+ };
12305
+ };
11525
12306
  /** @description Validation Error */
11526
12307
  422: {
11527
12308
  headers: {
@@ -11536,10 +12317,8 @@ export interface operations {
11536
12317
  accounting_create_generic_journal_entry: {
11537
12318
  parameters: {
11538
12319
  query?: {
11539
- /** @description Force your own currency exchange rate when creating entries. */
11540
- force_currency_exchange?: components['schemas']['BoolParam'];
11541
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11542
12320
  folder_id?: string;
12321
+ force_currency_exchange?: components['schemas']['BoolParam'];
11543
12322
  };
11544
12323
  header?: never;
11545
12324
  path: {
@@ -11594,10 +12373,9 @@ export interface operations {
11594
12373
  accounting_get_payments_by_invoice: {
11595
12374
  parameters: {
11596
12375
  query?: {
11597
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11598
- folder_id?: string;
11599
12376
  page?: number;
11600
12377
  size?: number;
12378
+ folder_id?: string;
11601
12379
  };
11602
12380
  header?: never;
11603
12381
  path: {
@@ -11649,10 +12427,9 @@ export interface operations {
11649
12427
  accounting_get_journals: {
11650
12428
  parameters: {
11651
12429
  query?: {
11652
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11653
- folder_id?: string;
11654
12430
  page?: number;
11655
12431
  size?: number;
12432
+ folder_id?: string;
11656
12433
  };
11657
12434
  header?: never;
11658
12435
  path: {
@@ -11694,10 +12471,9 @@ export interface operations {
11694
12471
  accounting_get_vat_codes: {
11695
12472
  parameters: {
11696
12473
  query?: {
11697
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11698
- folder_id?: string;
11699
12474
  page?: number;
11700
12475
  size?: number;
12476
+ folder_id?: string;
11701
12477
  };
11702
12478
  header?: never;
11703
12479
  path: {
@@ -11713,7 +12489,7 @@ export interface operations {
11713
12489
  [name: string]: unknown;
11714
12490
  };
11715
12491
  content: {
11716
- 'application/json': components['schemas']['backbone_api__app__routers__accounting__ChiftPage[VatCode]'];
12492
+ 'application/json': components['schemas']['ChiftPage_AccountingVatCode_'];
11717
12493
  };
11718
12494
  };
11719
12495
  /** @description Bad Request */
@@ -11739,17 +12515,12 @@ export interface operations {
11739
12515
  accounting_get_miscellaneous_operations: {
11740
12516
  parameters: {
11741
12517
  query?: {
12518
+ page?: number;
12519
+ size?: number;
12520
+ folder_id?: string;
11742
12521
  date_from?: string;
11743
12522
  date_to?: string;
11744
- /**
11745
- * @description Journal Ids used to filter the invoices. The Ids are separed by ','
11746
- * @example 3,12
11747
- */
11748
12523
  journal_ids?: string;
11749
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11750
- folder_id?: string;
11751
- page?: number;
11752
- size?: number;
11753
12524
  };
11754
12525
  header?: never;
11755
12526
  path: {
@@ -11791,7 +12562,6 @@ export interface operations {
11791
12562
  accounting_create_miscellaneous_operation: {
11792
12563
  parameters: {
11793
12564
  query?: {
11794
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11795
12565
  folder_id?: string;
11796
12566
  };
11797
12567
  header?: never;
@@ -11847,7 +12617,6 @@ export interface operations {
11847
12617
  accounting_get_miscellaneous_operation: {
11848
12618
  parameters: {
11849
12619
  query?: {
11850
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11851
12620
  folder_id?: string;
11852
12621
  };
11853
12622
  header?: never;
@@ -11891,7 +12660,6 @@ export interface operations {
11891
12660
  accounting_match_entries: {
11892
12661
  parameters: {
11893
12662
  query?: {
11894
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11895
12663
  folder_id?: string;
11896
12664
  };
11897
12665
  header?: never;
@@ -11944,34 +12712,30 @@ export interface operations {
11944
12712
  };
11945
12713
  };
11946
12714
  };
11947
- accounting_add_attachment: {
12715
+ accounting_match_entries_multiple: {
11948
12716
  parameters: {
11949
12717
  query?: {
11950
- /** @description Indicate what to do if a document is already attched to the invoice. */
11951
- overwrite_existing?: components['schemas']['BoolParam'];
11952
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
11953
12718
  folder_id?: string;
11954
12719
  };
11955
12720
  header?: never;
11956
12721
  path: {
11957
- invoice_id: string;
11958
12722
  consumer_id: string;
11959
12723
  };
11960
12724
  cookie?: never;
11961
12725
  };
11962
12726
  requestBody: {
11963
12727
  content: {
11964
- 'application/json': components['schemas']['AttachmentItem'];
12728
+ 'application/json': components['schemas']['MultipleMatchingIn'];
11965
12729
  };
11966
12730
  };
11967
12731
  responses: {
11968
12732
  /** @description Successful Response */
11969
- 201: {
12733
+ 200: {
11970
12734
  headers: {
11971
12735
  [name: string]: unknown;
11972
12736
  };
11973
12737
  content: {
11974
- 'application/json': unknown;
12738
+ 'application/json': components['schemas']['MultipleMatchingOut'][];
11975
12739
  };
11976
12740
  };
11977
12741
  /** @description Bad Request */
@@ -12003,31 +12767,32 @@ export interface operations {
12003
12767
  };
12004
12768
  };
12005
12769
  };
12006
- accounting_get_chart_of_accounts: {
12770
+ accounting_add_attachment: {
12007
12771
  parameters: {
12008
12772
  query?: {
12009
- /** @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 ','. */
12010
- classes?: string;
12011
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
12012
12773
  folder_id?: string;
12013
- page?: number;
12014
- size?: number;
12774
+ overwrite_existing?: components['schemas']['BoolParam'];
12015
12775
  };
12016
12776
  header?: never;
12017
12777
  path: {
12018
12778
  consumer_id: string;
12779
+ invoice_id: string;
12019
12780
  };
12020
12781
  cookie?: never;
12021
12782
  };
12022
- requestBody?: never;
12783
+ requestBody: {
12784
+ content: {
12785
+ 'application/json': components['schemas']['AttachmentItem'];
12786
+ };
12787
+ };
12023
12788
  responses: {
12024
12789
  /** @description Successful Response */
12025
- 200: {
12790
+ 201: {
12026
12791
  headers: {
12027
12792
  [name: string]: unknown;
12028
12793
  };
12029
12794
  content: {
12030
- 'application/json': components['schemas']['ChiftPage_AccountItem_'];
12795
+ 'application/json': unknown;
12031
12796
  };
12032
12797
  };
12033
12798
  /** @description Bad Request */
@@ -12039,6 +12804,15 @@ export interface operations {
12039
12804
  'application/json': components['schemas']['ChiftError'];
12040
12805
  };
12041
12806
  };
12807
+ /** @description Not Found */
12808
+ 404: {
12809
+ headers: {
12810
+ [name: string]: unknown;
12811
+ };
12812
+ content: {
12813
+ 'application/json': components['schemas']['ChiftError'];
12814
+ };
12815
+ };
12042
12816
  /** @description Validation Error */
12043
12817
  422: {
12044
12818
  headers: {
@@ -12050,11 +12824,12 @@ export interface operations {
12050
12824
  };
12051
12825
  };
12052
12826
  };
12053
- accounting_get_accounts_balances: {
12827
+ accounting_get_attachments: {
12054
12828
  parameters: {
12055
- query?: {
12056
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
12829
+ query: {
12057
12830
  folder_id?: string;
12831
+ type: components['schemas']['DocumentType'];
12832
+ document_id: string;
12058
12833
  page?: number;
12059
12834
  size?: number;
12060
12835
  };
@@ -12064,11 +12839,7 @@ export interface operations {
12064
12839
  };
12065
12840
  cookie?: never;
12066
12841
  };
12067
- requestBody: {
12068
- content: {
12069
- 'application/json': components['schemas']['AccountBalanceFilter'];
12070
- };
12071
- };
12842
+ requestBody?: never;
12072
12843
  responses: {
12073
12844
  /** @description Successful Response */
12074
12845
  200: {
@@ -12076,7 +12847,7 @@ export interface operations {
12076
12847
  [name: string]: unknown;
12077
12848
  };
12078
12849
  content: {
12079
- 'application/json': components['schemas']['ChiftPage_AccountBalance_'];
12850
+ 'application/json': components['schemas']['ChiftPage_AttachmentItemOut_'];
12080
12851
  };
12081
12852
  };
12082
12853
  /** @description Bad Request */
@@ -12099,13 +12870,13 @@ export interface operations {
12099
12870
  };
12100
12871
  };
12101
12872
  };
12102
- accounting_get_employees: {
12873
+ accounting_get_chart_of_accounts: {
12103
12874
  parameters: {
12104
12875
  query?: {
12105
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
12106
- folder_id?: string;
12107
12876
  page?: number;
12108
12877
  size?: number;
12878
+ folder_id?: string;
12879
+ classes?: string;
12109
12880
  };
12110
12881
  header?: never;
12111
12882
  path: {
@@ -12121,7 +12892,7 @@ export interface operations {
12121
12892
  [name: string]: unknown;
12122
12893
  };
12123
12894
  content: {
12124
- 'application/json': components['schemas']['ChiftPage_EmployeeItem_'];
12895
+ 'application/json': components['schemas']['ChiftPage_AccountItem_'];
12125
12896
  };
12126
12897
  };
12127
12898
  /** @description Bad Request */
@@ -12144,12 +12915,11 @@ export interface operations {
12144
12915
  };
12145
12916
  };
12146
12917
  };
12147
- accounting_create_financial_entry: {
12918
+ accounting_get_accounts_balances: {
12148
12919
  parameters: {
12149
12920
  query?: {
12150
- /** @description Counterpart account number of the bank/cash journal. This will be retrieved from the accounting settings if left empty. */
12151
- financial_counterpart_account?: string;
12152
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
12921
+ page?: number;
12922
+ size?: number;
12153
12923
  folder_id?: string;
12154
12924
  };
12155
12925
  header?: never;
@@ -12160,7 +12930,7 @@ export interface operations {
12160
12930
  };
12161
12931
  requestBody: {
12162
12932
  content: {
12163
- 'application/json': components['schemas']['FinancialEntryItemInOld'];
12933
+ 'application/json': components['schemas']['AccountBalanceFilter'];
12164
12934
  };
12165
12935
  };
12166
12936
  responses: {
@@ -12170,7 +12940,7 @@ export interface operations {
12170
12940
  [name: string]: unknown;
12171
12941
  };
12172
12942
  content: {
12173
- 'application/json': components['schemas']['FinancialEntryItemOutOld'];
12943
+ 'application/json': components['schemas']['ChiftPage_AccountBalance_'];
12174
12944
  };
12175
12945
  };
12176
12946
  /** @description Bad Request */
@@ -12182,8 +12952,43 @@ export interface operations {
12182
12952
  'application/json': components['schemas']['ChiftError'];
12183
12953
  };
12184
12954
  };
12185
- /** @description Not Found */
12186
- 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: {
12187
12992
  headers: {
12188
12993
  [name: string]: unknown;
12189
12994
  };
@@ -12202,13 +13007,11 @@ export interface operations {
12202
13007
  };
12203
13008
  };
12204
13009
  };
12205
- accounting_create_financial_entries: {
13010
+ accounting_create_financial_entry: {
12206
13011
  parameters: {
12207
13012
  query?: {
12208
- /** @description Counterpart account number of the bank/cash journal. This will be retrieved from the accounting settings if left empty. */
12209
- financial_counterpart_account?: string;
12210
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
12211
13013
  folder_id?: string;
13014
+ financial_counterpart_account?: string;
12212
13015
  };
12213
13016
  header?: never;
12214
13017
  path: {
@@ -12218,7 +13021,7 @@ export interface operations {
12218
13021
  };
12219
13022
  requestBody: {
12220
13023
  content: {
12221
- 'application/json': components['schemas']['FinancialEntryItemIn'];
13024
+ 'application/json': components['schemas']['FinancialEntryItemInOld'];
12222
13025
  };
12223
13026
  };
12224
13027
  responses: {
@@ -12228,7 +13031,7 @@ export interface operations {
12228
13031
  [name: string]: unknown;
12229
13032
  };
12230
13033
  content: {
12231
- 'application/json': components['schemas']['FinancialEntryItemOut'];
13034
+ 'application/json': components['schemas']['FinancialEntryItemOutOld'];
12232
13035
  };
12233
13036
  };
12234
13037
  /** @description Bad Request */
@@ -12260,15 +13063,11 @@ export interface operations {
12260
13063
  };
12261
13064
  };
12262
13065
  };
12263
- accounting_get_outstandings: {
13066
+ accounting_create_financial_entries: {
12264
13067
  parameters: {
12265
- query: {
12266
- type: components['schemas']['OutstandingType'];
12267
- unposted_allowed: components['schemas']['BoolParam'];
12268
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
13068
+ query?: {
12269
13069
  folder_id?: string;
12270
- page?: number;
12271
- size?: number;
13070
+ financial_counterpart_account?: string;
12272
13071
  };
12273
13072
  header?: never;
12274
13073
  path: {
@@ -12276,7 +13075,11 @@ export interface operations {
12276
13075
  };
12277
13076
  cookie?: never;
12278
13077
  };
12279
- requestBody?: never;
13078
+ requestBody: {
13079
+ content: {
13080
+ 'application/json': components['schemas']['FinancialEntryItemIn'];
13081
+ };
13082
+ };
12280
13083
  responses: {
12281
13084
  /** @description Successful Response */
12282
13085
  200: {
@@ -12284,7 +13087,7 @@ export interface operations {
12284
13087
  [name: string]: unknown;
12285
13088
  };
12286
13089
  content: {
12287
- 'application/json': components['schemas']['ChiftPage_OutstandingItem_'];
13090
+ 'application/json': components['schemas']['FinancialEntryItemOut'];
12288
13091
  };
12289
13092
  };
12290
13093
  /** @description Bad Request */
@@ -12296,6 +13099,15 @@ export interface operations {
12296
13099
  'application/json': components['schemas']['ChiftError'];
12297
13100
  };
12298
13101
  };
13102
+ /** @description Not Found */
13103
+ 404: {
13104
+ headers: {
13105
+ [name: string]: unknown;
13106
+ };
13107
+ content: {
13108
+ 'application/json': components['schemas']['ChiftError'];
13109
+ };
13110
+ };
12299
13111
  /** @description Validation Error */
12300
13112
  422: {
12301
13113
  headers: {
@@ -12307,15 +13119,14 @@ export interface operations {
12307
13119
  };
12308
13120
  };
12309
13121
  };
12310
- accounting_get_attachments: {
13122
+ accounting_get_outstandings: {
12311
13123
  parameters: {
12312
13124
  query: {
12313
- type: components['schemas']['DocumentType'];
12314
- document_id: string;
12315
- /** @description Accounting folder ID, this needs to be passed when activating the multiple folders feature. */
12316
- folder_id?: string;
12317
13125
  page?: number;
12318
13126
  size?: number;
13127
+ folder_id?: string;
13128
+ type: components['schemas']['OutstandingType'];
13129
+ unposted_allowed: components['schemas']['BoolParam'];
12319
13130
  };
12320
13131
  header?: never;
12321
13132
  path: {
@@ -12331,7 +13142,7 @@ export interface operations {
12331
13142
  [name: string]: unknown;
12332
13143
  };
12333
13144
  content: {
12334
- 'application/json': components['schemas']['ChiftPage_AttachmentItemOut_'];
13145
+ 'application/json': components['schemas']['ChiftPage_OutstandingItem_'];
12335
13146
  };
12336
13147
  };
12337
13148
  /** @description Bad Request */
@@ -12357,12 +13168,12 @@ export interface operations {
12357
13168
  pos_get_orders: {
12358
13169
  parameters: {
12359
13170
  query: {
13171
+ page?: number;
13172
+ size?: number;
12360
13173
  date_from: string;
12361
13174
  date_to: string;
12362
13175
  location_id?: string;
12363
13176
  state?: components['schemas']['States'];
12364
- page?: number;
12365
- size?: number;
12366
13177
  };
12367
13178
  header?: never;
12368
13179
  path: {
@@ -12614,10 +13425,10 @@ export interface operations {
12614
13425
  pos_get_payments: {
12615
13426
  parameters: {
12616
13427
  query: {
12617
- date_from: string;
12618
- date_to: string;
12619
13428
  page?: number;
12620
13429
  size?: number;
13430
+ date_from: string;
13431
+ date_to: string;
12621
13432
  };
12622
13433
  header?: never;
12623
13434
  path: {
@@ -12739,9 +13550,9 @@ export interface operations {
12739
13550
  pos_get_payments_methods: {
12740
13551
  parameters: {
12741
13552
  query?: {
12742
- location_id?: string;
12743
13553
  page?: number;
12744
13554
  size?: number;
13555
+ location_id?: string;
12745
13556
  };
12746
13557
  header?: never;
12747
13558
  path: {
@@ -12801,14 +13612,11 @@ export interface operations {
12801
13612
  pos_get_customers: {
12802
13613
  parameters: {
12803
13614
  query?: {
12804
- /** @description Filter based on other parameters than the email/phone, e.g. firstname, lastname */
13615
+ page?: number;
13616
+ size?: number;
12805
13617
  search?: string;
12806
- /** @description Filter based on email of customer */
12807
13618
  email?: string;
12808
- /** @description Filter based on phone of customer */
12809
13619
  phone?: string;
12810
- page?: number;
12811
- size?: number;
12812
13620
  };
12813
13621
  header?: never;
12814
13622
  path: {
@@ -12998,10 +13806,10 @@ export interface operations {
12998
13806
  pos_get_product_categories: {
12999
13807
  parameters: {
13000
13808
  query?: {
13001
- location_id?: string;
13002
- only_parents?: components['schemas']['BoolParam'];
13003
13809
  page?: number;
13004
13810
  size?: number;
13811
+ location_id?: string;
13812
+ only_parents?: components['schemas']['BoolParam'];
13005
13813
  };
13006
13814
  header?: never;
13007
13815
  path: {
@@ -13061,9 +13869,9 @@ export interface operations {
13061
13869
  pos_get_products: {
13062
13870
  parameters: {
13063
13871
  query?: {
13064
- location_id?: string;
13065
13872
  page?: number;
13066
13873
  size?: number;
13874
+ location_id?: string;
13067
13875
  };
13068
13876
  header?: never;
13069
13877
  path: {
@@ -13123,9 +13931,9 @@ export interface operations {
13123
13931
  pos_get_accounting_categories: {
13124
13932
  parameters: {
13125
13933
  query?: {
13126
- location_id?: string;
13127
13934
  page?: number;
13128
13935
  size?: number;
13936
+ location_id?: string;
13129
13937
  };
13130
13938
  header?: never;
13131
13939
  path: {
@@ -13291,8 +14099,8 @@ export interface operations {
13291
14099
  query?: never;
13292
14100
  header?: never;
13293
14101
  path: {
13294
- customer_id: string;
13295
14102
  consumer_id: string;
14103
+ customer_id: string;
13296
14104
  };
13297
14105
  cookie?: never;
13298
14106
  };
@@ -13384,8 +14192,8 @@ export interface operations {
13384
14192
  query?: never;
13385
14193
  header?: never;
13386
14194
  path: {
13387
- product_id: string;
13388
14195
  consumer_id: string;
14196
+ product_id: string;
13389
14197
  };
13390
14198
  cookie?: never;
13391
14199
  };
@@ -13397,7 +14205,7 @@ export interface operations {
13397
14205
  [name: string]: unknown;
13398
14206
  };
13399
14207
  content: {
13400
- 'application/json': components['schemas']['backbone_api__app__routers__commerce__ProductItem'];
14208
+ 'application/json': components['schemas']['backbone_common__models__commerce__common__ProductItem'];
13401
14209
  };
13402
14210
  };
13403
14211
  /** @description Bad Request */
@@ -13434,8 +14242,8 @@ export interface operations {
13434
14242
  query?: never;
13435
14243
  header?: never;
13436
14244
  path: {
13437
- variant_id: string;
13438
14245
  consumer_id: string;
14246
+ variant_id: string;
13439
14247
  };
13440
14248
  cookie?: never;
13441
14249
  };
@@ -13484,8 +14292,8 @@ export interface operations {
13484
14292
  query?: never;
13485
14293
  header?: never;
13486
14294
  path: {
13487
- variant_id: string;
13488
14295
  consumer_id: string;
14296
+ variant_id: string;
13489
14297
  };
13490
14298
  cookie?: never;
13491
14299
  };
@@ -13579,20 +14387,14 @@ export interface operations {
13579
14387
  ecommerce_get_orders: {
13580
14388
  parameters: {
13581
14389
  query?: {
13582
- /** @description Filter orders created at or after this date (e.g. 2023-01-31) */
14390
+ page?: number;
14391
+ size?: number;
13583
14392
  date_from?: string;
13584
- /** @description Filter orders created at or before this date (e.g. 2023-01-31) */
13585
14393
  date_to?: string;
13586
- /** @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. */
13587
14394
  updated_after?: string;
13588
- /** @description Include detailed information concerning refunds */
13589
14395
  include_detailed_refunds?: components['schemas']['BoolParam'];
13590
- /** @description Include detailed information about categories */
13591
14396
  include_product_categories?: components['schemas']['BoolParam'];
13592
- /** @description Include detailed information about customer */
13593
14397
  include_customer_details?: components['schemas']['BoolParam'];
13594
- page?: number;
13595
- size?: number;
13596
14398
  };
13597
14399
  header?: never;
13598
14400
  path: {
@@ -13678,13 +14480,14 @@ export interface operations {
13678
14480
  ecommerce_get_order: {
13679
14481
  parameters: {
13680
14482
  query?: {
13681
- /** @description Include detailed information about categories */
14483
+ page?: number;
14484
+ size?: number;
13682
14485
  include_product_categories?: components['schemas']['BoolParam'];
13683
14486
  };
13684
14487
  header?: never;
13685
14488
  path: {
13686
- order_id: string;
13687
14489
  consumer_id: string;
14490
+ order_id: string;
13688
14491
  };
13689
14492
  cookie?: never;
13690
14493
  };
@@ -13774,9 +14577,9 @@ export interface operations {
13774
14577
  ecommerce_get_product_categories: {
13775
14578
  parameters: {
13776
14579
  query?: {
13777
- only_parents?: components['schemas']['BoolParam'];
13778
14580
  page?: number;
13779
14581
  size?: number;
14582
+ only_parents?: components['schemas']['BoolParam'];
13780
14583
  };
13781
14584
  header?: never;
13782
14585
  path: {
@@ -13904,15 +14707,14 @@ export interface operations {
13904
14707
  invoicing_get_invoices: {
13905
14708
  parameters: {
13906
14709
  query?: {
13907
- /** @description Filter based on the type of the invoice. */
13908
- invoice_type?: components['schemas']['InvoiceTypeRequest'];
13909
- /** @description Filter paid/unpaid invoices */
13910
- payment_status?: components['schemas']['backbone_common__models__common__PaymentStatus'];
14710
+ page?: number;
14711
+ size?: number;
13911
14712
  date_from?: string;
13912
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'];
13913
14716
  updated_after?: string;
13914
- page?: number;
13915
- size?: number;
14717
+ include_invoice_lines?: components['schemas']['BoolParam'];
13916
14718
  };
13917
14719
  header?: never;
13918
14720
  path: {
@@ -13962,7 +14764,7 @@ export interface operations {
13962
14764
  };
13963
14765
  requestBody: {
13964
14766
  content: {
13965
- 'application/json': components['schemas']['InvoiceItem'];
14767
+ 'application/json': components['schemas']['backbone_common__models__invoicing__common__InvoiceItem'];
13966
14768
  };
13967
14769
  };
13968
14770
  responses: {
@@ -13998,13 +14800,12 @@ export interface operations {
13998
14800
  invoicing_get_invoice: {
13999
14801
  parameters: {
14000
14802
  query?: {
14001
- /** @description Include PDF as base64 string in the response. */
14002
14803
  include_pdf?: components['schemas']['BoolParam'];
14003
14804
  };
14004
14805
  header?: never;
14005
14806
  path: {
14006
- invoice_id: string;
14007
14807
  consumer_id: string;
14808
+ invoice_id: string;
14008
14809
  };
14009
14810
  cookie?: never;
14010
14811
  };
@@ -14068,7 +14869,7 @@ export interface operations {
14068
14869
  [name: string]: unknown;
14069
14870
  };
14070
14871
  content: {
14071
- 'application/json': components['schemas']['backbone_api__app__routers__invoicing__ChiftPage[VatCode]'];
14872
+ 'application/json': components['schemas']['ChiftPage_InvoicingVatCode_'];
14072
14873
  };
14073
14874
  };
14074
14875
  /** @description Bad Request */
@@ -14096,8 +14897,8 @@ export interface operations {
14096
14897
  query?: never;
14097
14898
  header?: never;
14098
14899
  path: {
14099
- tax_id: string;
14100
14900
  consumer_id: string;
14901
+ tax_id: string;
14101
14902
  };
14102
14903
  cookie?: never;
14103
14904
  };
@@ -14109,7 +14910,7 @@ export interface operations {
14109
14910
  [name: string]: unknown;
14110
14911
  };
14111
14912
  content: {
14112
- 'application/json': components['schemas']['backbone_common__models__invoicing__VatCode'];
14913
+ 'application/json': components['schemas']['InvoicingVatCode'];
14113
14914
  };
14114
14915
  };
14115
14916
  /** @description Bad Request */
@@ -14195,7 +14996,7 @@ export interface operations {
14195
14996
  };
14196
14997
  requestBody: {
14197
14998
  content: {
14198
- 'application/json': components['schemas']['backbone_common__models__invoicing__ProductItem'];
14999
+ 'application/json': components['schemas']['backbone_common__models__invoicing__common__ProductItem'];
14199
15000
  };
14200
15001
  };
14201
15002
  responses: {
@@ -14233,8 +15034,8 @@ export interface operations {
14233
15034
  query?: never;
14234
15035
  header?: never;
14235
15036
  path: {
14236
- product_id: string;
14237
15037
  consumer_id: string;
15038
+ product_id: string;
14238
15039
  };
14239
15040
  cookie?: never;
14240
15041
  };
@@ -14326,8 +15127,8 @@ export interface operations {
14326
15127
  query?: never;
14327
15128
  header?: never;
14328
15129
  path: {
14329
- opportunity_id: string;
14330
15130
  consumer_id: string;
15131
+ opportunity_id: string;
14331
15132
  };
14332
15133
  cookie?: never;
14333
15134
  };
@@ -14374,10 +15175,9 @@ export interface operations {
14374
15175
  invoicing_get_contacts: {
14375
15176
  parameters: {
14376
15177
  query?: {
14377
- /** @description Filter based on the type of the contact (e.g. supplier/customer/prospect). */
14378
- contact_type?: components['schemas']['ContactType'];
14379
15178
  page?: number;
14380
15179
  size?: number;
15180
+ contact_type?: components['schemas']['ContactType'];
14381
15181
  };
14382
15182
  header?: never;
14383
15183
  path: {
@@ -14465,8 +15265,8 @@ export interface operations {
14465
15265
  query?: never;
14466
15266
  header?: never;
14467
15267
  path: {
14468
- contact_id: string;
14469
15268
  consumer_id: string;
15269
+ contact_id: string;
14470
15270
  };
14471
15271
  cookie?: never;
14472
15272
  };
@@ -14510,6 +15310,94 @@ export interface operations {
14510
15310
  };
14511
15311
  };
14512
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
+ };
14513
15401
  banking_get_financial_institutions: {
14514
15402
  parameters: {
14515
15403
  query?: {
@@ -14599,11 +15487,11 @@ export interface operations {
14599
15487
  banking_get_account_transactions: {
14600
15488
  parameters: {
14601
15489
  query?: {
15490
+ page?: number;
15491
+ size?: number;
14602
15492
  date_from?: string;
14603
15493
  date_to?: string;
14604
15494
  date_type?: components['schemas']['TransactionFilterDateType'];
14605
- page?: number;
14606
- size?: number;
14607
15495
  };
14608
15496
  header?: never;
14609
15497
  path: {
@@ -14646,11 +15534,11 @@ export interface operations {
14646
15534
  banking_get_account_counterparts: {
14647
15535
  parameters: {
14648
15536
  query?: {
14649
- accountid?: string;
14650
- date_from?: string;
14651
- date_to?: string;
14652
15537
  page?: number;
14653
15538
  size?: number;
15539
+ account_id?: string;
15540
+ date_from?: string;
15541
+ date_to?: string;
14654
15542
  };
14655
15543
  header?: never;
14656
15544
  path: {
@@ -14735,16 +15623,13 @@ export interface operations {
14735
15623
  payment_get_transaction: {
14736
15624
  parameters: {
14737
15625
  query?: {
14738
- /** @description Filter based on the type of the transaction. */
15626
+ page?: number;
15627
+ size?: number;
14739
15628
  accounting_category?: components['schemas']['TransactionAccountingCategory'];
14740
- /** @description Get all transactions more recent than this one excluded */
14741
15629
  starting_from?: string;
14742
- /** @description Get all transactions for a specific balance */
14743
15630
  balance_id?: string;
14744
15631
  date_from?: string;
14745
15632
  date_to?: string;
14746
- page?: number;
14747
- size?: number;
14748
15633
  };
14749
15634
  header?: never;
14750
15635
  path: {
@@ -14786,10 +15671,10 @@ export interface operations {
14786
15671
  payment_get_payments: {
14787
15672
  parameters: {
14788
15673
  query?: {
14789
- date_from?: string;
14790
- date_to?: string;
14791
15674
  page?: number;
14792
15675
  size?: number;
15676
+ date_from?: string;
15677
+ date_to?: string;
14793
15678
  };
14794
15679
  header?: never;
14795
15680
  path: {
@@ -14833,8 +15718,8 @@ export interface operations {
14833
15718
  query?: never;
14834
15719
  header?: never;
14835
15720
  path: {
14836
- payment_id: string;
14837
15721
  consumer_id: string;
15722
+ payment_id: string;
14838
15723
  };
14839
15724
  cookie?: never;
14840
15725
  };
@@ -14881,12 +15766,11 @@ export interface operations {
14881
15766
  payment_get_refunds: {
14882
15767
  parameters: {
14883
15768
  query?: {
14884
- /** @description Optional payment ID, to retrieve all refunds associated with that payment. */
15769
+ page?: number;
15770
+ size?: number;
14885
15771
  payment_id?: string;
14886
15772
  date_from?: string;
14887
15773
  date_to?: string;
14888
- page?: number;
14889
- size?: number;
14890
15774
  };
14891
15775
  header?: never;
14892
15776
  path: {
@@ -14928,12 +15812,12 @@ export interface operations {
14928
15812
  pms_get_orders: {
14929
15813
  parameters: {
14930
15814
  query: {
15815
+ page?: number;
15816
+ size?: number;
14931
15817
  date_from: string;
14932
15818
  date_to: string;
14933
15819
  location_id?: string;
14934
15820
  state?: components['schemas']['PMSStates'];
14935
- page?: number;
14936
- size?: number;
14937
15821
  };
14938
15822
  header?: never;
14939
15823
  path: {
@@ -14990,11 +15874,14 @@ export interface operations {
14990
15874
  };
14991
15875
  };
14992
15876
  };
14993
- pms_get_locations: {
15877
+ pms_get_invoices: {
14994
15878
  parameters: {
14995
- query?: {
15879
+ query: {
14996
15880
  page?: number;
14997
15881
  size?: number;
15882
+ date_from: string;
15883
+ date_to: string;
15884
+ location_id?: string;
14998
15885
  };
14999
15886
  header?: never;
15000
15887
  path: {
@@ -15010,7 +15897,7 @@ export interface operations {
15010
15897
  [name: string]: unknown;
15011
15898
  };
15012
15899
  content: {
15013
- 'application/json': components['schemas']['ChiftPage_PMSLocationItem_'];
15900
+ 'application/json': components['schemas']['ChiftPage_PMSInvoiceFullItem_'];
15014
15901
  };
15015
15902
  };
15016
15903
  /** @description Bad Request */
@@ -15051,11 +15938,9 @@ export interface operations {
15051
15938
  };
15052
15939
  };
15053
15940
  };
15054
- pms_get_payments: {
15941
+ pms_get_customers: {
15055
15942
  parameters: {
15056
- query: {
15057
- date_from: string;
15058
- date_to: string;
15943
+ query?: {
15059
15944
  page?: number;
15060
15945
  size?: number;
15061
15946
  };
@@ -15073,7 +15958,7 @@ export interface operations {
15073
15958
  [name: string]: unknown;
15074
15959
  };
15075
15960
  content: {
15076
- 'application/json': components['schemas']['ChiftPage_PMSPaymentItem_'];
15961
+ 'application/json': components['schemas']['ChiftPage_PMSCustomerItem_'];
15077
15962
  };
15078
15963
  };
15079
15964
  /** @description Bad Request */
@@ -15114,10 +15999,9 @@ export interface operations {
15114
15999
  };
15115
16000
  };
15116
16001
  };
15117
- pms_get_payments_methods: {
16002
+ pms_get_locations: {
15118
16003
  parameters: {
15119
16004
  query?: {
15120
- location_id?: string;
15121
16005
  page?: number;
15122
16006
  size?: number;
15123
16007
  };
@@ -15135,7 +16019,7 @@ export interface operations {
15135
16019
  [name: string]: unknown;
15136
16020
  };
15137
16021
  content: {
15138
- 'application/json': components['schemas']['ChiftPage_PMSPaymentMethods_'];
16022
+ 'application/json': components['schemas']['ChiftPage_PMSLocationItem_'];
15139
16023
  };
15140
16024
  };
15141
16025
  /** @description Bad Request */
@@ -15176,11 +16060,13 @@ export interface operations {
15176
16060
  };
15177
16061
  };
15178
16062
  };
15179
- pms_get_accounting_categories: {
16063
+ pms_get_payments: {
15180
16064
  parameters: {
15181
- query?: {
16065
+ query: {
15182
16066
  page?: number;
15183
16067
  size?: number;
16068
+ date_from: string;
16069
+ date_to: string;
15184
16070
  };
15185
16071
  header?: never;
15186
16072
  path: {
@@ -15196,7 +16082,7 @@ export interface operations {
15196
16082
  [name: string]: unknown;
15197
16083
  };
15198
16084
  content: {
15199
- 'application/json': components['schemas']['ChiftPage_PMSAccountingCategoryItem_'];
16085
+ 'application/json': components['schemas']['ChiftPage_PMSPaymentItem_'];
15200
16086
  };
15201
16087
  };
15202
16088
  /** @description Bad Request */
@@ -15237,15 +16123,16 @@ export interface operations {
15237
16123
  };
15238
16124
  };
15239
16125
  };
15240
- pms_get_closure: {
16126
+ pms_get_payments_methods: {
15241
16127
  parameters: {
15242
16128
  query?: {
16129
+ page?: number;
16130
+ size?: number;
15243
16131
  location_id?: string;
15244
16132
  };
15245
16133
  header?: never;
15246
16134
  path: {
15247
16135
  consumer_id: string;
15248
- date: string;
15249
16136
  };
15250
16137
  cookie?: never;
15251
16138
  };
@@ -15257,7 +16144,7 @@ export interface operations {
15257
16144
  [name: string]: unknown;
15258
16145
  };
15259
16146
  content: {
15260
- 'application/json': components['schemas']['PMSClosureItem'];
16147
+ 'application/json': components['schemas']['ChiftPage_PMSPaymentMethods_'];
15261
16148
  };
15262
16149
  };
15263
16150
  /** @description Bad Request */
@@ -15298,18 +16185,80 @@ export interface operations {
15298
16185
  };
15299
16186
  };
15300
16187
  };
15301
- generate_access_token_token_post: {
16188
+ pms_get_accounting_categories: {
15302
16189
  parameters: {
15303
- query?: never;
16190
+ query?: {
16191
+ page?: number;
16192
+ size?: number;
16193
+ };
15304
16194
  header?: never;
15305
- path?: never;
16195
+ path: {
16196
+ consumer_id: string;
16197
+ };
15306
16198
  cookie?: never;
15307
16199
  };
15308
- requestBody: {
15309
- content: {
15310
- '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;
15311
16258
  };
16259
+ cookie?: never;
15312
16260
  };
16261
+ requestBody?: never;
15313
16262
  responses: {
15314
16263
  /** @description Successful Response */
15315
16264
  200: {
@@ -15317,7 +16266,25 @@ export interface operations {
15317
16266
  [name: string]: unknown;
15318
16267
  };
15319
16268
  content: {
15320
- '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'];
15321
16288
  };
15322
16289
  };
15323
16290
  /** @description Validation Error */
@@ -15329,6 +16296,15 @@ export interface operations {
15329
16296
  'application/json': components['schemas']['HTTPValidationError'];
15330
16297
  };
15331
16298
  };
16299
+ /** @description Bad Gateway */
16300
+ 502: {
16301
+ headers: {
16302
+ [name: string]: unknown;
16303
+ };
16304
+ content: {
16305
+ 'application/json': components['schemas']['ChiftError'];
16306
+ };
16307
+ };
15332
16308
  };
15333
16309
  };
15334
16310
  }