@getyetty-sdk/sellsy 2026.6.27 → 2026.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1914,7 +1914,7 @@ const ContactItemSchema = {
1914
1914
  example: 6547,
1915
1915
  readOnly: true
1916
1916
  },
1917
- social: { allOf: [{ $ref: "#/paths/~1companies/post/requestBody/content/application~1json/schema/properties/social" }] },
1917
+ social: { allOf: [{ $ref: "#/components/schemas/Company/properties/social" }] },
1918
1918
  sync: {
1919
1919
  type: "object",
1920
1920
  properties: {
@@ -4636,7 +4636,7 @@ const SaleEmbedSchema = {
4636
4636
  example: "+33100000000",
4637
4637
  nullable: true
4638
4638
  },
4639
- legal_france: { $ref: "#/paths/~1companies~1{id}~1share/put/responses/200/content/application~1json/schema/properties/legal_france" },
4639
+ legal_france: { $ref: "#/components/schemas/Company/properties/legal_france" },
4640
4640
  capital: {
4641
4641
  type: "string",
4642
4642
  nullable: true,
@@ -4660,7 +4660,7 @@ const SaleEmbedSchema = {
4660
4660
  example: "0EX11C",
4661
4661
  nullable: true
4662
4662
  },
4663
- social: { $ref: "#/paths/~1companies/post/requestBody/content/application~1json/schema/properties/social" },
4663
+ social: { $ref: "#/components/schemas/Company/properties/social" },
4664
4664
  rate_category_id: {
4665
4665
  type: "integer",
4666
4666
  nullable: true,
@@ -4785,6 +4785,12 @@ const SaleEmbedSchema = {
4785
4785
  },
4786
4786
  description: "list of campaign type subcribed",
4787
4787
  uniqueItems: true
4788
+ },
4789
+ einvoicing_electronic_address: {
4790
+ type: "string",
4791
+ nullable: true,
4792
+ description: "Default e-invoicing routing address identifier",
4793
+ example: "987463775"
4788
4794
  }
4789
4795
  }
4790
4796
  },
@@ -4880,7 +4886,7 @@ const SaleEmbedSchema = {
4880
4886
  example: "0EX11C",
4881
4887
  nullable: true
4882
4888
  },
4883
- social: { $ref: "#/paths/~1companies/post/requestBody/content/application~1json/schema/properties/social" },
4889
+ social: { $ref: "#/components/schemas/Company/properties/social" },
4884
4890
  rate_category_id: {
4885
4891
  type: "integer",
4886
4892
  nullable: true,
@@ -7468,7 +7474,13 @@ const DealsSchema = {
7468
7474
  "creditnote",
7469
7475
  "estimate",
7470
7476
  "order",
7471
- "delivery"
7477
+ "delivery",
7478
+ "model",
7479
+ "purchase-invoice",
7480
+ "purchase-creditnote",
7481
+ "purchase-order",
7482
+ "purchase-delivery",
7483
+ "item"
7472
7484
  ]
7473
7485
  }
7474
7486
  }
@@ -10524,7 +10536,7 @@ const OcrSchema = {
10524
10536
  linked_type: {
10525
10537
  description: "Type of linked object",
10526
10538
  type: "string",
10527
- enum: ["purInvoice"],
10539
+ enum: ["purInvoice", "purCreditNote"],
10528
10540
  example: "purInvoice"
10529
10541
  },
10530
10542
  linked_id: {
@@ -10591,6 +10603,28 @@ const OcrSchema = {
10591
10603
  description: "Currency code",
10592
10604
  nullable: true,
10593
10605
  example: "EUR"
10606
+ },
10607
+ lifecycle: {
10608
+ description: "Latest e-invoicing lifecycle event for the document, or null when none.",
10609
+ nullable: true,
10610
+ readOnly: true,
10611
+ allOf: [{
10612
+ type: "object",
10613
+ description: "Latest lifecycle event of an e-invoicing document",
10614
+ required: ["status", "label"],
10615
+ properties: {
10616
+ status: {
10617
+ type: "integer",
10618
+ description: "AFNOR lifecycle status code\n- `200` : Déposée\n- `201` : Émise\n- `202` : Reçue\n- `203` : Mise à disposition\n- `204` : Prise en charge\n- `205` : Approuvée\n- `206` : Approuvée partiellement\n- `207` : En litige\n- `208` : Suspendue\n- `209` : Complétée\n- `210` : Refusée\n- `211` : Paiement transmis\n- `212` : Encaissée\n- `213` : Rejetée\n- `501` : Irrecevable\n",
10619
+ example: 205
10620
+ },
10621
+ label: {
10622
+ type: "string",
10623
+ description: "Lifecycle status label",
10624
+ example: "Approuvée"
10625
+ }
10626
+ }
10627
+ }]
10594
10628
  }
10595
10629
  }
10596
10630
  };
@@ -11937,6 +11971,26 @@ const TaskItemSchema = {
11937
11971
  {
11938
11972
  $ref: "#/components/schemas/EstimateOne/allOf/0",
11939
11973
  title: "Estimate"
11974
+ },
11975
+ {
11976
+ $ref: "#/components/schemas/ModelOne/allOf/0",
11977
+ title: "Model"
11978
+ },
11979
+ {
11980
+ $ref: "#/components/schemas/purCreditNoteOne/allOf/0",
11981
+ title: "Purchase Credit Note"
11982
+ },
11983
+ {
11984
+ $ref: "#/components/schemas/purDeliveryOne/allOf/0",
11985
+ title: "Purchase Delivery"
11986
+ },
11987
+ {
11988
+ $ref: "#/components/schemas/purInvoiceOne/allOf/0",
11989
+ title: "Purchase Invoice"
11990
+ },
11991
+ {
11992
+ $ref: "#/components/schemas/purOrderOne/allOf/0",
11993
+ title: "Purchase Order"
11940
11994
  }
11941
11995
  ] }
11942
11996
  },
@@ -12091,7 +12145,13 @@ const TaskCreateItemSchema = {
12091
12145
  "invoice",
12092
12146
  "creditnote",
12093
12147
  "order",
12094
- "delivery"
12148
+ "delivery",
12149
+ "model",
12150
+ "purchase-invoice",
12151
+ "purchase-creditnote",
12152
+ "purchase-order",
12153
+ "purchase-delivery",
12154
+ "item"
12095
12155
  ]
12096
12156
  }
12097
12157
  }
@@ -12143,7 +12203,13 @@ const TaskCreateItemSchema = {
12143
12203
  "invoice",
12144
12204
  "creditnote",
12145
12205
  "order",
12146
- "delivery"
12206
+ "delivery",
12207
+ "model",
12208
+ "purchase-invoice",
12209
+ "purchase-creditnote",
12210
+ "purchase-order",
12211
+ "purchase-delivery",
12212
+ "item"
12147
12213
  ]
12148
12214
  }
12149
12215
  }
@@ -12274,7 +12340,13 @@ const TaskUpdateItemSchema = {
12274
12340
  "invoice",
12275
12341
  "creditnote",
12276
12342
  "order",
12277
- "delivery"
12343
+ "delivery",
12344
+ "model",
12345
+ "purchase-invoice",
12346
+ "purchase-creditnote",
12347
+ "purchase-order",
12348
+ "purchase-delivery",
12349
+ "item"
12278
12350
  ]
12279
12351
  }
12280
12352
  }
@@ -12631,7 +12703,13 @@ const LabelBaseItemSchema = {
12631
12703
  "creditnote",
12632
12704
  "estimate",
12633
12705
  "order",
12634
- "delivery"
12706
+ "delivery",
12707
+ "model",
12708
+ "purchase-invoice",
12709
+ "purchase-creditnote",
12710
+ "purchase-order",
12711
+ "purchase-delivery",
12712
+ "item"
12635
12713
  ]
12636
12714
  }
12637
12715
  }
@@ -12785,6 +12863,7 @@ const SearchResultSchema = {
12785
12863
  "estimate",
12786
12864
  "creditnote",
12787
12865
  "order",
12866
+ "model",
12788
12867
  "delivery",
12789
12868
  "proforma",
12790
12869
  "staff",
@@ -13216,7 +13295,7 @@ const SearchResultSchema = {
13216
13295
  "read",
13217
13296
  "accepted",
13218
13297
  "expired",
13219
- "partialInvoiced",
13298
+ "partialinvoiced",
13220
13299
  "invoiced",
13221
13300
  "stored",
13222
13301
  "spent",
@@ -13687,6 +13766,7 @@ const SearchResultBaseItemSchema = {
13687
13766
  "estimate",
13688
13767
  "creditnote",
13689
13768
  "order",
13769
+ "model",
13690
13770
  "delivery",
13691
13771
  "proforma",
13692
13772
  "staff",
@@ -17690,6 +17770,161 @@ const CreatePaymentSchema = {
17690
17770
  "type"
17691
17771
  ]
17692
17772
  };
17773
+ const RecordPaymentSchema = {
17774
+ type: "object",
17775
+ description: "Payment record object — create a payment, link it to a document, and persist its VAT breakdown and bank deposit.",
17776
+ properties: {
17777
+ paid_at: {
17778
+ description: "Payment date (ISO 8601)",
17779
+ type: "string",
17780
+ format: "date",
17781
+ example: "2026-06-16"
17782
+ },
17783
+ type: {
17784
+ description: "Payment type",
17785
+ type: "string",
17786
+ enum: ["debit", "credit"],
17787
+ example: "credit"
17788
+ },
17789
+ amount: {
17790
+ type: "object",
17791
+ description: "Amount of payment (currency is derived from the document)",
17792
+ properties: { value: {
17793
+ description: "Amount (can be negative; cannot be zero)",
17794
+ type: "string",
17795
+ example: "177.12"
17796
+ } },
17797
+ required: ["value"]
17798
+ },
17799
+ payment_method_id: {
17800
+ description: "Payment method id",
17801
+ type: "integer",
17802
+ example: 7
17803
+ },
17804
+ number: {
17805
+ description: "Payment reference",
17806
+ type: "string",
17807
+ nullable: true
17808
+ },
17809
+ note: {
17810
+ description: "Note of payment",
17811
+ type: "string",
17812
+ nullable: true
17813
+ },
17814
+ send_email: {
17815
+ description: "Send a thank-you email to the contact",
17816
+ type: "boolean"
17817
+ },
17818
+ send_email_copy: {
17819
+ description: "Send a copy of the thank-you email to the sender",
17820
+ type: "boolean"
17821
+ },
17822
+ deadline_ids: {
17823
+ description: "Ids of the document deadlines to settle with this payment",
17824
+ type: "array",
17825
+ items: { type: "integer" }
17826
+ },
17827
+ vat_breakdown: {
17828
+ description: "VAT breakdown per rate, for e-invoicing compliant documents.",
17829
+ type: "array",
17830
+ items: {
17831
+ type: "object",
17832
+ properties: {
17833
+ tax_id: { type: "integer" },
17834
+ rate: {
17835
+ type: "string",
17836
+ example: "20"
17837
+ },
17838
+ vat_amount: { type: "string" },
17839
+ ht_amount: { type: "string" }
17840
+ }
17841
+ }
17842
+ },
17843
+ bank_deposit: {
17844
+ description: "Bank deposit to attach to the payment",
17845
+ type: "object",
17846
+ nullable: true,
17847
+ properties: {
17848
+ enabled: { type: "boolean" },
17849
+ bank_account_id: { type: "integer" },
17850
+ bank_account_label: { type: "string" },
17851
+ deposited_at: {
17852
+ type: "string",
17853
+ format: "date"
17854
+ }
17855
+ }
17856
+ }
17857
+ },
17858
+ required: [
17859
+ "paid_at",
17860
+ "type",
17861
+ "amount",
17862
+ "payment_method_id"
17863
+ ]
17864
+ };
17865
+ const PaymentContextSchema = {
17866
+ type: "object",
17867
+ description: "Data needed to render the payment modal: document amounts, e-invoicing VAT rates, available payment methods and bank accounts, and the third's unsettled payments.",
17868
+ properties: {
17869
+ document: {
17870
+ type: "object",
17871
+ properties: {
17872
+ id: { type: "integer" },
17873
+ type: { type: "string" },
17874
+ third_id: { type: "integer" },
17875
+ total_amount: { type: "string" },
17876
+ due_amount: { type: "string" },
17877
+ currency_id: { type: "integer" },
17878
+ currency_symbol: { type: "string" },
17879
+ is_einvoicing: { type: "boolean" }
17880
+ }
17881
+ },
17882
+ vat_rates: {
17883
+ type: "array",
17884
+ items: {
17885
+ type: "object",
17886
+ properties: {
17887
+ tax_id: { type: "integer" },
17888
+ rate: { type: "string" },
17889
+ label: { type: "string" },
17890
+ system_label: { type: "string" },
17891
+ vat_amount: { type: "string" },
17892
+ ht_amount: { type: "string" }
17893
+ }
17894
+ }
17895
+ },
17896
+ deadlines: {
17897
+ type: "array",
17898
+ items: {
17899
+ type: "object",
17900
+ properties: {
17901
+ id: { type: "integer" },
17902
+ amount: { type: "string" },
17903
+ remaining_amount: { type: "string" },
17904
+ date: { type: "integer" }
17905
+ }
17906
+ }
17907
+ },
17908
+ payment_methods: {
17909
+ type: "array",
17910
+ items: { type: "object" }
17911
+ },
17912
+ bank_accounts: {
17913
+ type: "array",
17914
+ items: { type: "object" }
17915
+ },
17916
+ unsettled_payments: {
17917
+ type: "object",
17918
+ properties: {
17919
+ total_remaining: { type: "string" },
17920
+ items: {
17921
+ type: "array",
17922
+ items: { type: "object" }
17923
+ }
17924
+ }
17925
+ }
17926
+ }
17927
+ };
17693
17928
  const UnitSchema = {
17694
17929
  type: "object",
17695
17930
  title: "Unit object",
@@ -19945,9 +20180,10 @@ const ScanFetchSchema = {
19945
20180
  enum: [
19946
20181
  "registered_inactive",
19947
20182
  "registered_active",
20183
+ "registered_no_pa",
19948
20184
  "unregistered"
19949
20185
  ],
19950
- description: "Registration status of the entity in the French e-invoicing directory.\n\n- `unregistered`: Not registered in the e-invoicing directory.\n- `registered_active`: Registered with a valid e-invoicing routing address.\n- `registered_inactive`: Registered but without a valid e-invoicing routing address.\n"
20186
+ description: "Registration status of the entity in the French e-invoicing directory.\n\n- `unregistered`: Not registered in the e-invoicing directory.\n- `registered_active`: Registered with a valid e-invoicing routing address.\n- `registered_inactive`: Registered but without a valid e-invoicing routing address.\n- `registered_no_pa`: Registered but without an approved platform (PDP) able to receive e-invoices; treated like `registered_inactive`.\n"
19951
20187
  },
19952
20188
  einvoicing_electronic_addresses: {
19953
20189
  nullable: true,
@@ -21177,6 +21413,36 @@ const InvoiceSchema = {
21177
21413
  "mixed"
21178
21414
  ],
21179
21415
  example: "product"
21416
+ },
21417
+ einvoicing_electronic_address: {
21418
+ type: "string",
21419
+ nullable: true,
21420
+ description: "E-invoicing routing address identifier for this document",
21421
+ example: "987463775"
21422
+ },
21423
+ einvoicing_flow: {
21424
+ type: "string",
21425
+ nullable: true,
21426
+ description: "E-invoicing flow applied when the document was validated",
21427
+ enum: ["einvoicing", "ereporting"],
21428
+ example: "einvoicing"
21429
+ },
21430
+ lifecycle_status: {
21431
+ type: "object",
21432
+ nullable: true,
21433
+ description: "Last known e-invoicing lifecycle status of the document",
21434
+ properties: {
21435
+ status: {
21436
+ type: "integer",
21437
+ description: "AFNOR lifecycle status code",
21438
+ example: 212
21439
+ },
21440
+ label: {
21441
+ type: "string",
21442
+ description: "Localized lifecycle status label",
21443
+ example: "Encaissée"
21444
+ }
21445
+ }
21180
21446
  }
21181
21447
  }
21182
21448
  };
@@ -21599,6 +21865,36 @@ const InvoiceOneSchema = {
21599
21865
  "mixed"
21600
21866
  ],
21601
21867
  example: "product"
21868
+ },
21869
+ einvoicing_electronic_address: {
21870
+ type: "string",
21871
+ nullable: true,
21872
+ description: "E-invoicing routing address identifier for this document",
21873
+ example: "987463775"
21874
+ },
21875
+ einvoicing_flow: {
21876
+ type: "string",
21877
+ nullable: true,
21878
+ description: "E-invoicing flow applied when the document was validated",
21879
+ enum: ["einvoicing", "ereporting"],
21880
+ example: "einvoicing"
21881
+ },
21882
+ lifecycle_status: {
21883
+ type: "object",
21884
+ nullable: true,
21885
+ description: "Last known e-invoicing lifecycle status of the document",
21886
+ properties: {
21887
+ status: {
21888
+ type: "integer",
21889
+ description: "AFNOR lifecycle status code",
21890
+ example: 212
21891
+ },
21892
+ label: {
21893
+ type: "string",
21894
+ description: "Localized lifecycle status label",
21895
+ example: "Encaissée"
21896
+ }
21897
+ }
21602
21898
  }
21603
21899
  }
21604
21900
  }, {
@@ -23266,6 +23562,13 @@ const InvoiceCreateSchema = { allOf: [{
23266
23562
  "mixed"
23267
23563
  ],
23268
23564
  example: "product"
23565
+ },
23566
+ einvoicing_electronic_address: {
23567
+ type: "string",
23568
+ nullable: true,
23569
+ maxLength: 255,
23570
+ description: "E-invoicing routing address identifier for this document",
23571
+ example: "987463775"
23269
23572
  }
23270
23573
  }
23271
23574
  }, {
@@ -23930,6 +24233,13 @@ const DepositInvoiceCreateSchema = {
23930
24233
  "mixed"
23931
24234
  ],
23932
24235
  example: "product"
24236
+ },
24237
+ einvoicing_electronic_address: {
24238
+ type: "string",
24239
+ nullable: true,
24240
+ maxLength: 255,
24241
+ description: "E-invoicing routing address identifier for this document",
24242
+ example: "987463775"
23933
24243
  }
23934
24244
  },
23935
24245
  required: ["parent", "rows"]
@@ -24107,6 +24417,13 @@ const DepositInvoiceUpdateSchema = {
24107
24417
  "mixed"
24108
24418
  ],
24109
24419
  example: "product"
24420
+ },
24421
+ einvoicing_electronic_address: {
24422
+ type: "string",
24423
+ nullable: true,
24424
+ maxLength: 255,
24425
+ description: "E-invoicing routing address identifier for this document",
24426
+ example: "987463775"
24110
24427
  }
24111
24428
  }
24112
24429
  };
@@ -25062,6 +25379,43 @@ const DepositInvoiceMetadataSchema = {
25062
25379
  is_document_compliant: {
25063
25380
  type: "boolean",
25064
25381
  description: "Compliance state of the parent document on creation, or of the edited document on update"
25382
+ },
25383
+ company_einvoicing: {
25384
+ type: "object",
25385
+ properties: {
25386
+ is_subject: {
25387
+ type: "boolean",
25388
+ description: "Company is subject to e-invoicing"
25389
+ },
25390
+ is_compliant: {
25391
+ type: "boolean",
25392
+ description: "Company is compliant to e-invoicing"
25393
+ },
25394
+ violations: {
25395
+ type: "array",
25396
+ description: "List of non-compliant reasons",
25397
+ items: {
25398
+ type: "string",
25399
+ enum: [
25400
+ "missing_address",
25401
+ "incomplete_address",
25402
+ "missing_siren",
25403
+ "invalid_siren_format",
25404
+ "missing_siret",
25405
+ "invalid_siret_format",
25406
+ "invalid_vat_format",
25407
+ "missing_vat_eu",
25408
+ "missing_routing_address"
25409
+ ]
25410
+ }
25411
+ }
25412
+ }
25413
+ },
25414
+ einvoicing_electronic_address: {
25415
+ type: "string",
25416
+ nullable: true,
25417
+ description: "E-invoicing routing address identifier (document value if set, otherwise third default)",
25418
+ example: "987463775"
25065
25419
  }
25066
25420
  }
25067
25421
  };
@@ -25223,9 +25577,21 @@ const ProgressInvoiceCreateSchema = {
25223
25577
  example: "2022-01-02"
25224
25578
  },
25225
25579
  validate: {
25226
- type: "boolean",
25227
- description: "If true the invoice will be validated with definitive number and will not be editable.",
25228
- default: false
25580
+ type: "object",
25581
+ description: "Validation options for the progress invoice.",
25582
+ additionalProperties: false,
25583
+ properties: {
25584
+ status: {
25585
+ type: "boolean",
25586
+ description: "If true the invoice will be validated with definitive number and will not be editable."
25587
+ },
25588
+ flow: {
25589
+ type: "string",
25590
+ description: "E-invoicing flow applied when validating the invoice. Optional — when omitted, the recommended flow will be used. When provided, the value is checked against the recommended flow:\n - if the invoice is out of the e-invoicing scope, a validation error is returned;\n - if the detected flow is forced (the opposite flow is not selectable) and differs from the value provided, a validation error is returned;\n - otherwise, the value provided is applied.\n",
25591
+ enum: ["einvoicing", "ereporting"]
25592
+ }
25593
+ },
25594
+ required: ["status"]
25229
25595
  },
25230
25596
  subject: {
25231
25597
  type: "string",
@@ -25882,6 +26248,13 @@ const ProgressInvoiceCreateSchema = {
25882
26248
  "mixed"
25883
26249
  ],
25884
26250
  example: "product"
26251
+ },
26252
+ einvoicing_electronic_address: {
26253
+ type: "string",
26254
+ nullable: true,
26255
+ maxLength: 255,
26256
+ description: "E-invoicing routing address identifier for this document",
26257
+ example: "987463775"
25885
26258
  }
25886
26259
  },
25887
26260
  required: ["parent", "rows"]
@@ -26343,12 +26716,24 @@ const InvoiceUpdateSchema = { allOf: [{ $ref: "#/components/schemas/InvoiceCreat
26343
26716
  }] };
26344
26717
  const ValidateInvoiceSchema = {
26345
26718
  type: "object",
26346
- properties: { date: {
26347
- type: "string",
26348
- format: "date",
26349
- example: "2022-01-01",
26350
- description: "Date of document.<br/> > Depending on your conformity settings, the date may not be greater than the current date.\n"
26351
- } }
26719
+ properties: {
26720
+ date: {
26721
+ type: "string",
26722
+ format: "date",
26723
+ example: "2022-01-01",
26724
+ description: "Date of document.<br/> > Depending on your conformity settings, the date may not be greater than the current date.\n"
26725
+ },
26726
+ einvoicing_electronic_address: {
26727
+ type: "string",
26728
+ maxLength: 255,
26729
+ description: "E-invoicing routing address the validated document is sent to. Optional — applied only when the resolved flow is e-invoicing, ignored otherwise.\n"
26730
+ },
26731
+ einvoicing_flow: {
26732
+ type: "string",
26733
+ description: "E-invoicing flow applied when validating the document. Optional — when omitted, the recommended flow will be used. When provided, the value is checked against the recommended flow:\n - if the document is out of the e-invoicing scope, a validation error is returned;\n - if the detected flow is forced (the opposite flow is not selectable) and differs from the value provided, a validation error is returned;\n - otherwise, the value provided is applied.\n",
26734
+ enum: ["einvoicing", "ereporting"]
26735
+ }
26736
+ }
26352
26737
  };
26353
26738
  const CreditNoteSchema = {
26354
26739
  title: "Credit Note",
@@ -26676,6 +27061,36 @@ const CreditNoteSchema = {
26676
27061
  ],
26677
27062
  example: "product"
26678
27063
  },
27064
+ einvoicing_electronic_address: {
27065
+ type: "string",
27066
+ nullable: true,
27067
+ description: "E-invoicing routing address identifier for this document",
27068
+ example: "987463775"
27069
+ },
27070
+ einvoicing_flow: {
27071
+ type: "string",
27072
+ nullable: true,
27073
+ description: "E-invoicing flow applied when the document was validated",
27074
+ enum: ["einvoicing", "ereporting"],
27075
+ example: "einvoicing"
27076
+ },
27077
+ lifecycle_status: {
27078
+ type: "object",
27079
+ nullable: true,
27080
+ description: "Last known e-invoicing lifecycle status of the document",
27081
+ properties: {
27082
+ status: {
27083
+ type: "integer",
27084
+ description: "AFNOR lifecycle status code",
27085
+ example: 212
27086
+ },
27087
+ label: {
27088
+ type: "string",
27089
+ description: "Localized lifecycle status label",
27090
+ example: "Encaissée"
27091
+ }
27092
+ }
27093
+ },
26679
27094
  _embed: {
26680
27095
  title: "Credit Note Embed",
26681
27096
  allOf: [
@@ -27056,6 +27471,36 @@ const CreditNoteOneSchema = { allOf: [{
27056
27471
  ],
27057
27472
  example: "product"
27058
27473
  },
27474
+ einvoicing_electronic_address: {
27475
+ type: "string",
27476
+ nullable: true,
27477
+ description: "E-invoicing routing address identifier for this document",
27478
+ example: "987463775"
27479
+ },
27480
+ einvoicing_flow: {
27481
+ type: "string",
27482
+ nullable: true,
27483
+ description: "E-invoicing flow applied when the document was validated",
27484
+ enum: ["einvoicing", "ereporting"],
27485
+ example: "einvoicing"
27486
+ },
27487
+ lifecycle_status: {
27488
+ type: "object",
27489
+ nullable: true,
27490
+ description: "Last known e-invoicing lifecycle status of the document",
27491
+ properties: {
27492
+ status: {
27493
+ type: "integer",
27494
+ description: "AFNOR lifecycle status code",
27495
+ example: 212
27496
+ },
27497
+ label: {
27498
+ type: "string",
27499
+ description: "Localized lifecycle status label",
27500
+ example: "Encaissée"
27501
+ }
27502
+ }
27503
+ },
27059
27504
  _embed: { $ref: "#/components/schemas/CreditNote/properties/_embed" }
27060
27505
  }
27061
27506
  }, {
@@ -27222,6 +27667,13 @@ const CreditNoteCreateSchema = { allOf: [{
27222
27667
  issuer_address_id: {
27223
27668
  type: "integer",
27224
27669
  description: "Issuer address, by default take main account address."
27670
+ },
27671
+ einvoicing_electronic_address: {
27672
+ type: "string",
27673
+ nullable: true,
27674
+ maxLength: 255,
27675
+ description: "E-invoicing routing address identifier for this document",
27676
+ example: "987463775"
27225
27677
  }
27226
27678
  }
27227
27679
  }, {
@@ -27254,12 +27706,24 @@ const CreditNoteUpdateSchema = { allOf: [{ $ref: "#/components/schemas/CreditNot
27254
27706
  }] };
27255
27707
  const CreditNoteValidateSchema = {
27256
27708
  type: "object",
27257
- properties: { date: {
27258
- type: "string",
27259
- format: "date",
27260
- example: "2022-01-01",
27261
- description: "Date of document.<br/> > Depending on your conformity settings, the date may not be greater than the current date.\n"
27262
- } }
27709
+ properties: {
27710
+ date: {
27711
+ type: "string",
27712
+ format: "date",
27713
+ example: "2022-01-01",
27714
+ description: "Date of document.<br/> > Depending on your conformity settings, the date may not be greater than the current date.\n"
27715
+ },
27716
+ einvoicing_electronic_address: {
27717
+ type: "string",
27718
+ maxLength: 255,
27719
+ description: "E-invoicing routing address the validated document is sent to. Optional — applied only when the resolved flow is e-invoicing, ignored otherwise.\n"
27720
+ },
27721
+ einvoicing_flow: {
27722
+ type: "string",
27723
+ description: "E-invoicing flow applied when validating the document. Optional — when omitted, the recommended flow will be used. When provided, the value is checked against the recommended flow:\n - if the document is out of the e-invoicing scope, a validation error is returned;\n - if the detected flow is forced (the opposite flow is not selectable) and differs from the value provided, a validation error is returned;\n - otherwise, the value provided is applied.\n",
27724
+ enum: ["einvoicing", "ereporting"]
27725
+ }
27726
+ }
27263
27727
  };
27264
27728
  const CreditNoteComputeSchema = {
27265
27729
  title: "Credit Note",
@@ -31735,7 +32199,8 @@ const CompanyPreferencesSchema = {
31735
32199
  system_label: {
31736
32200
  type: "string",
31737
32201
  description: "System label of tax",
31738
- example: "Intracom"
32202
+ example: "Intracom",
32203
+ nullable: true
31739
32204
  }
31740
32205
  }
31741
32206
  },
@@ -32417,6 +32882,506 @@ const UpdateIndividualSharingSchema = {
32417
32882
  additionalProperties: false
32418
32883
  };
32419
32884
  const UpdateCompanySharingSchema = { $ref: "#/components/schemas/UpdateIndividualSharing" };
32885
+ const CompanySchema = {
32886
+ title: "Company",
32887
+ type: "object",
32888
+ description: "",
32889
+ "x-examples": {},
32890
+ properties: {
32891
+ id: {
32892
+ type: "integer",
32893
+ description: "Unique ID",
32894
+ example: 6657
32895
+ },
32896
+ type: {
32897
+ type: "string",
32898
+ enum: [
32899
+ "prospect",
32900
+ "client",
32901
+ "supplier"
32902
+ ]
32903
+ },
32904
+ name: {
32905
+ type: "string",
32906
+ description: "Company name",
32907
+ example: "Example company",
32908
+ maxLength: 250
32909
+ },
32910
+ email: {
32911
+ description: "Company email",
32912
+ type: "string",
32913
+ format: "email",
32914
+ example: "contact@example-company.com",
32915
+ nullable: true
32916
+ },
32917
+ website: {
32918
+ type: "string",
32919
+ format: "url",
32920
+ description: "Company website",
32921
+ example: "http://example-company.com",
32922
+ nullable: true
32923
+ },
32924
+ phone_number: {
32925
+ type: "string",
32926
+ description: "Company phone number",
32927
+ example: "+33100000000",
32928
+ nullable: true
32929
+ },
32930
+ mobile_number: {
32931
+ type: "string",
32932
+ description: "Company mobile number",
32933
+ example: "+33600000000",
32934
+ nullable: true
32935
+ },
32936
+ fax_number: {
32937
+ type: "string",
32938
+ description: "Company Fax number",
32939
+ example: "+33100000000",
32940
+ nullable: true
32941
+ },
32942
+ legal_france: {
32943
+ type: "object",
32944
+ additionalProperties: false,
32945
+ properties: {
32946
+ siret: {
32947
+ description: "Company Siret",
32948
+ type: "string",
32949
+ nullable: true,
32950
+ example: "73282932000074"
32951
+ },
32952
+ siren: {
32953
+ description: "Company Siren",
32954
+ type: "string",
32955
+ nullable: true,
32956
+ example: "732829320"
32957
+ },
32958
+ vat: {
32959
+ description: "VAT number",
32960
+ type: "string",
32961
+ nullable: true,
32962
+ example: "FR99999999999"
32963
+ },
32964
+ ape_naf_code: {
32965
+ description: "APE/NAF Code",
32966
+ type: "string",
32967
+ nullable: true,
32968
+ example: "4711C"
32969
+ },
32970
+ company_type: {
32971
+ description: "Company type",
32972
+ type: "string",
32973
+ nullable: true,
32974
+ example: "SAS"
32975
+ },
32976
+ rcs_immatriculation: {
32977
+ description: "RCS immatriculation code",
32978
+ type: "string",
32979
+ nullable: true,
32980
+ example: "RCS xxxxx"
32981
+ }
32982
+ }
32983
+ },
32984
+ capital: {
32985
+ type: "string",
32986
+ nullable: true,
32987
+ description: "Company Capital",
32988
+ example: "4000"
32989
+ },
32990
+ reference: {
32991
+ type: "string",
32992
+ description: "Company reference",
32993
+ example: "CLI-1654",
32994
+ nullable: true
32995
+ },
32996
+ note: {
32997
+ type: "string",
32998
+ description: "Note on company",
32999
+ example: "An handed-written note describing this company"
33000
+ },
33001
+ auxiliary_code: {
33002
+ type: "string",
33003
+ description: "Auxiliary code",
33004
+ example: "0EX11C",
33005
+ nullable: true
33006
+ },
33007
+ social: {
33008
+ type: "object",
33009
+ properties: {
33010
+ twitter: {
33011
+ type: "string",
33012
+ format: "url",
33013
+ description: "Twitter account",
33014
+ example: "https://twitter.com/example",
33015
+ nullable: true
33016
+ },
33017
+ facebook: {
33018
+ type: "string",
33019
+ format: "url",
33020
+ description: "Facebook account",
33021
+ example: "https://facebook.com/example",
33022
+ nullable: true
33023
+ },
33024
+ linkedin: {
33025
+ type: "string",
33026
+ format: "url",
33027
+ description: "Linkedin account",
33028
+ example: "https://linkedin.com/example",
33029
+ nullable: true
33030
+ },
33031
+ viadeo: {
33032
+ type: "string",
33033
+ format: "url",
33034
+ description: "Deprecated, no longer use",
33035
+ deprecated: true,
33036
+ example: "https://viadeo.com/example",
33037
+ nullable: true
33038
+ },
33039
+ instagram: {
33040
+ type: "string",
33041
+ format: "url",
33042
+ description: "Instagram account",
33043
+ example: "https://www.instagram.com/example",
33044
+ nullable: true
33045
+ }
33046
+ }
33047
+ },
33048
+ rate_category_id: {
33049
+ type: "integer",
33050
+ nullable: true,
33051
+ description: "Company Rate category id",
33052
+ example: 9956
33053
+ },
33054
+ main_contact_id: {
33055
+ description: "Main contact unique ID",
33056
+ type: "integer",
33057
+ nullable: true,
33058
+ minimum: 1,
33059
+ example: 6654
33060
+ },
33061
+ dunning_contact_id: {
33062
+ description: "Dunning contact unique ID",
33063
+ type: "integer",
33064
+ nullable: true,
33065
+ minimum: 1,
33066
+ example: 6654
33067
+ },
33068
+ invoicing_contact_id: {
33069
+ description: "Invoicing contact unique ID",
33070
+ type: "integer",
33071
+ nullable: true,
33072
+ minimum: 1,
33073
+ example: 6654
33074
+ },
33075
+ invoicing_address_id: {
33076
+ description: "Invoicing address unique ID",
33077
+ type: "integer",
33078
+ nullable: true,
33079
+ minimum: 1,
33080
+ example: 9987
33081
+ },
33082
+ delivery_address_id: {
33083
+ description: "Delivery address unique ID",
33084
+ type: "integer",
33085
+ nullable: true,
33086
+ minimum: 1,
33087
+ example: 6547
33088
+ },
33089
+ accounting_code_id: {
33090
+ type: "integer",
33091
+ nullable: true,
33092
+ description: "Company accounting code id",
33093
+ example: 12345
33094
+ },
33095
+ accounting_purchase_code_id: {
33096
+ type: "integer",
33097
+ nullable: true,
33098
+ description: "Company accouting purchase code id",
33099
+ example: 98556
33100
+ },
33101
+ owner: { $ref: "#/components/schemas/Model/properties/owner/allOf/0" },
33102
+ created: {
33103
+ type: "string",
33104
+ format: "date-time",
33105
+ nullable: false,
33106
+ description: "Datetime of creating company",
33107
+ example: "2020-05-29T11:22:03+02:00"
33108
+ },
33109
+ updated_at: {
33110
+ type: "string",
33111
+ format: "date-time",
33112
+ nullable: false,
33113
+ description: "Datetime of the last update of the company",
33114
+ example: "2020-05-29T11:22:03+02:00"
33115
+ },
33116
+ is_archived: {
33117
+ type: "boolean",
33118
+ nullable: false,
33119
+ description: "Status archived or not",
33120
+ example: false
33121
+ },
33122
+ business_segment: {
33123
+ type: "object",
33124
+ description: "Company business segment",
33125
+ nullable: true,
33126
+ properties: {
33127
+ id: {
33128
+ type: "integer",
33129
+ example: 3
33130
+ },
33131
+ label: {
33132
+ type: "string",
33133
+ example: "Software publisher / Digital services company"
33134
+ }
33135
+ }
33136
+ },
33137
+ number_of_employees: {
33138
+ type: "object",
33139
+ description: "Number of employees of company",
33140
+ nullable: true,
33141
+ properties: {
33142
+ id: {
33143
+ type: "integer",
33144
+ example: 1
33145
+ },
33146
+ label: {
33147
+ type: "string",
33148
+ example: "From 1 to 5"
33149
+ }
33150
+ }
33151
+ },
33152
+ main_activity_description: {
33153
+ type: "string",
33154
+ description: "Description of the company main activity",
33155
+ example: "Application software publishing",
33156
+ nullable: true
33157
+ },
33158
+ marketing_campaigns_subscriptions: {
33159
+ type: "array",
33160
+ items: {
33161
+ type: "string",
33162
+ enum: [
33163
+ "sms",
33164
+ "phone",
33165
+ "email",
33166
+ "postal_mail",
33167
+ "custom"
33168
+ ]
33169
+ },
33170
+ description: "list of campaign type subcribed",
33171
+ uniqueItems: true
33172
+ },
33173
+ einvoicing_electronic_address: {
33174
+ type: "string",
33175
+ nullable: true,
33176
+ description: "Default e-invoicing routing address identifier",
33177
+ example: "987463775"
33178
+ }
33179
+ }
33180
+ };
33181
+ const IndividualSchema = {
33182
+ title: "Individual",
33183
+ type: "object",
33184
+ description: "",
33185
+ "x-examples": {},
33186
+ properties: {
33187
+ id: {
33188
+ type: "integer",
33189
+ description: "Unique ID",
33190
+ example: 6657
33191
+ },
33192
+ type: {
33193
+ type: "string",
33194
+ enum: [
33195
+ "prospect",
33196
+ "client",
33197
+ "supplier"
33198
+ ]
33199
+ },
33200
+ last_name: {
33201
+ type: "string",
33202
+ description: "Individual contact lastname",
33203
+ example: "Martin",
33204
+ maxLength: 200
33205
+ },
33206
+ first_name: {
33207
+ type: "string",
33208
+ description: "Individual contact firstname",
33209
+ example: "Jean",
33210
+ nullable: true,
33211
+ maxLength: 200
33212
+ },
33213
+ civility: {
33214
+ type: "string",
33215
+ description: "Civility of individual",
33216
+ example: "mr",
33217
+ nullable: true,
33218
+ enum: [
33219
+ "mr",
33220
+ "mrs",
33221
+ "ms"
33222
+ ]
33223
+ },
33224
+ email: {
33225
+ description: "Individual email",
33226
+ type: "string",
33227
+ format: "email",
33228
+ example: "jean.martin@personal-example.com",
33229
+ nullable: true
33230
+ },
33231
+ website: {
33232
+ type: "string",
33233
+ format: "url",
33234
+ description: "Individual website",
33235
+ example: "http://personal-example.com",
33236
+ nullable: true
33237
+ },
33238
+ phone_number: {
33239
+ type: "string",
33240
+ description: "Phone number",
33241
+ example: "+33100000000",
33242
+ nullable: true
33243
+ },
33244
+ mobile_number: {
33245
+ type: "string",
33246
+ description: "Mobile number",
33247
+ example: "+33600000000",
33248
+ nullable: true
33249
+ },
33250
+ fax_number: {
33251
+ type: "string",
33252
+ description: "Fax number",
33253
+ example: "+33100000000",
33254
+ nullable: true
33255
+ },
33256
+ reference: {
33257
+ type: "string",
33258
+ description: "Internal reference",
33259
+ example: "IND-1654",
33260
+ nullable: true
33261
+ },
33262
+ note: {
33263
+ type: "string",
33264
+ description: "Note on individual",
33265
+ example: "An handed-written note describing this individual"
33266
+ },
33267
+ auxiliary_code: {
33268
+ type: "string",
33269
+ description: "Auxiliary code",
33270
+ example: "0EX11C",
33271
+ nullable: true
33272
+ },
33273
+ social: { $ref: "#/components/schemas/Company/properties/social" },
33274
+ rate_category_id: {
33275
+ type: "integer",
33276
+ nullable: true,
33277
+ description: "Rate category id",
33278
+ example: 9956
33279
+ },
33280
+ main_contact_id: {
33281
+ description: "Main contact unique ID",
33282
+ type: "integer",
33283
+ nullable: true,
33284
+ minimum: 1,
33285
+ example: 6654
33286
+ },
33287
+ dunning_contact_id: {
33288
+ description: "Dunning contact unique ID",
33289
+ type: "integer",
33290
+ nullable: true,
33291
+ minimum: 1,
33292
+ example: 6654
33293
+ },
33294
+ invoicing_contact_id: {
33295
+ description: "Invoicing contact unique ID",
33296
+ type: "integer",
33297
+ nullable: true,
33298
+ minimum: 1,
33299
+ example: 6654
33300
+ },
33301
+ invoicing_address_id: {
33302
+ description: "Invoicing address unique ID",
33303
+ type: "integer",
33304
+ nullable: true,
33305
+ minimum: 1,
33306
+ example: 9987
33307
+ },
33308
+ delivery_address_id: {
33309
+ description: "Delivery address unique ID",
33310
+ type: "integer",
33311
+ nullable: true,
33312
+ minimum: 1,
33313
+ example: 6547
33314
+ },
33315
+ accounting_code_id: {
33316
+ type: "integer",
33317
+ nullable: true,
33318
+ description: "Accounting code id",
33319
+ example: 12345
33320
+ },
33321
+ accounting_purchase_code_id: {
33322
+ type: "integer",
33323
+ nullable: true,
33324
+ description: "Accouting purchase code id",
33325
+ example: 98556
33326
+ },
33327
+ owner: { $ref: "#/components/schemas/Model/properties/owner/allOf/0" },
33328
+ created: {
33329
+ type: "string",
33330
+ format: "date-time",
33331
+ nullable: false,
33332
+ description: "Datetime of creation",
33333
+ example: "2020-05-29T11:22:03+02:00"
33334
+ },
33335
+ updated_at: {
33336
+ type: "string",
33337
+ format: "date-time",
33338
+ nullable: false,
33339
+ description: "Datetime of the last update of the individual",
33340
+ example: "2020-05-29T11:22:03+02:00"
33341
+ },
33342
+ is_archived: {
33343
+ type: "boolean",
33344
+ nullable: false,
33345
+ description: "Status archived or not",
33346
+ example: false
33347
+ },
33348
+ marketing_campaigns_subscriptions: {
33349
+ type: "array",
33350
+ items: {
33351
+ type: "string",
33352
+ enum: [
33353
+ "sms",
33354
+ "phone",
33355
+ "email",
33356
+ "postal_mail",
33357
+ "custom"
33358
+ ]
33359
+ },
33360
+ description: "list of campaign type subcribed",
33361
+ uniqueItems: true
33362
+ },
33363
+ sync: {
33364
+ type: "object",
33365
+ properties: {
33366
+ mailchimp: {
33367
+ type: "boolean",
33368
+ description: "Activate the mailchimp synchronization",
33369
+ nullable: false
33370
+ },
33371
+ mailjet: {
33372
+ type: "boolean",
33373
+ description: "Activate the mailjet synchronization",
33374
+ nullable: false
33375
+ },
33376
+ simplemail: {
33377
+ type: "boolean",
33378
+ description: "Activate the simplemail synchronization",
33379
+ nullable: false
33380
+ }
33381
+ }
33382
+ }
33383
+ }
33384
+ };
32420
33385
  const UpdateDocumentSharingSchema = { $ref: "#/components/schemas/UpdateIndividualSharing" };
32421
33386
  const ProformaInvoiceOneSchema = { allOf: [{
32422
33387
  title: "Proforma Invoice",
@@ -34955,6 +35920,20 @@ const ProgressInvoiceMetadataSchema = {
34955
35920
  default: "per-line",
34956
35921
  description: "Progress invoice mode",
34957
35922
  enum: ["global", "per-line"]
35923
+ },
35924
+ recipient_legal: {
35925
+ type: "object",
35926
+ properties: {
35927
+ is_company: { type: "boolean" },
35928
+ siren: {
35929
+ type: "string",
35930
+ nullable: true
35931
+ },
35932
+ vat_number: {
35933
+ type: "string",
35934
+ nullable: true
35935
+ }
35936
+ }
34958
35937
  }
34959
35938
  }
34960
35939
  }]
@@ -35731,6 +36710,13 @@ const ProgressInvoiceMetadataSchema = {
35731
36710
  is_document_compliant: {
35732
36711
  type: "boolean",
35733
36712
  description: "Compliance state of the parent document on creation, or of the edited document on update"
36713
+ },
36714
+ company_einvoicing: { $ref: "#/components/schemas/DepositInvoiceMetadata/properties/company_einvoicing" },
36715
+ einvoicing_electronic_address: {
36716
+ type: "string",
36717
+ nullable: true,
36718
+ description: "E-invoicing routing address identifier (document value if set, otherwise third default)",
36719
+ example: "987463775"
35734
36720
  }
35735
36721
  }
35736
36722
  };
@@ -35785,11 +36771,7 @@ const ProgressInvoiceUpdateSchema = {
35785
36771
  description: "Date of the invoice",
35786
36772
  example: "2022-01-02"
35787
36773
  },
35788
- validate: {
35789
- type: "boolean",
35790
- description: "If true the invoice will be validated with definitive number and will not be editable.",
35791
- default: false
35792
- },
36774
+ validate: { $ref: "#/components/schemas/ProgressInvoiceCreate/properties/validate" },
35793
36775
  subject: {
35794
36776
  type: "string",
35795
36777
  description: "Subject of the invoice"
@@ -35940,6 +36922,13 @@ const ProgressInvoiceUpdateSchema = {
35940
36922
  "mixed"
35941
36923
  ],
35942
36924
  example: "product"
36925
+ },
36926
+ einvoicing_electronic_address: {
36927
+ type: "string",
36928
+ nullable: true,
36929
+ maxLength: 255,
36930
+ description: "E-invoicing routing address identifier for this document",
36931
+ example: "987463775"
35943
36932
  }
35944
36933
  }
35945
36934
  };
@@ -36862,6 +37851,23 @@ const purInvoiceOneSchema = {
36862
37851
  description: "Purchase invoice number",
36863
37852
  example: "F_INV-20250916-00002"
36864
37853
  },
37854
+ amounts: {
37855
+ type: "object",
37856
+ readOnly: true,
37857
+ description: "Amounts of the purchase invoice",
37858
+ properties: {
37859
+ total_excl_tax: {
37860
+ type: "string",
37861
+ description: "Total amount without taxes",
37862
+ example: "933.07"
37863
+ },
37864
+ total_incl_tax: {
37865
+ type: "string",
37866
+ description: "Total amount including taxes",
37867
+ example: "1119.68"
37868
+ }
37869
+ }
37870
+ },
36865
37871
  related: {
36866
37872
  description: "Objects linked to the purchase invoice :\n - There can be only one company or one individual at a time (required)\n - For Company & Individual, only `supplier` type is allowed\n - Contact is the contact of company linked to the purchase invoice. There may be no or one contact.\n - Opportunity is the opportunity linked to the purchase invoice. There may be zero or more opportunities linked to purchase invoice\n",
36867
37873
  type: "array",
@@ -36887,6 +37893,20 @@ const purInvoiceOneSchema = {
36887
37893
  }
36888
37894
  }
36889
37895
  }
37896
+ },
37897
+ status: {
37898
+ type: "string",
37899
+ readOnly: true,
37900
+ description: "Status of the purchase invoice",
37901
+ example: "paid",
37902
+ enum: [
37903
+ "draft",
37904
+ "due",
37905
+ "payinprogress",
37906
+ "paid",
37907
+ "late",
37908
+ "cancelled"
37909
+ ]
36890
37910
  }
36891
37911
  }
36892
37912
  }]
@@ -36908,6 +37928,23 @@ const purCreditNoteOneSchema = {
36908
37928
  description: "Purchase credit note number",
36909
37929
  example: "F_AVR-20250916-00002"
36910
37930
  },
37931
+ amounts: {
37932
+ type: "object",
37933
+ readOnly: true,
37934
+ description: "Amounts of the purchase credit note",
37935
+ properties: {
37936
+ total_excl_tax: {
37937
+ type: "string",
37938
+ description: "Total amount without taxes",
37939
+ example: "933.07"
37940
+ },
37941
+ total_incl_tax: {
37942
+ type: "string",
37943
+ description: "Total amount including taxes",
37944
+ example: "1119.68"
37945
+ }
37946
+ }
37947
+ },
36911
37948
  related: {
36912
37949
  description: "Objects linked to the purchase credit note :\n - There can be only one company or one individual at a time (required)\n - For Company & Individual, only `supplier` type is allowed\n - Contact is the contact of company linked to the purchase credit note. There may be no or one contact.\n - Opportunity is the opportunity linked to the purchase credit note. There may be zero or more opportunities linked to purchase credit note\n",
36913
37950
  type: "array",
@@ -36933,6 +37970,19 @@ const purCreditNoteOneSchema = {
36933
37970
  }
36934
37971
  }
36935
37972
  }
37973
+ },
37974
+ status: {
37975
+ type: "string",
37976
+ readOnly: true,
37977
+ description: "Status of the purchase credit note",
37978
+ example: "spent",
37979
+ enum: [
37980
+ "draft",
37981
+ "stored",
37982
+ "partialspend",
37983
+ "spent",
37984
+ "cancelled"
37985
+ ]
36936
37986
  }
36937
37987
  }
36938
37988
  }]
@@ -36954,6 +38004,23 @@ const purDeliveryOneSchema = {
36954
38004
  description: "Purchase delivery number",
36955
38005
  example: "F_DEL-20250916-00002"
36956
38006
  },
38007
+ amounts: {
38008
+ type: "object",
38009
+ readOnly: true,
38010
+ description: "Amounts of the purchase delivery",
38011
+ properties: {
38012
+ total_excl_tax: {
38013
+ type: "string",
38014
+ description: "Total amount without taxes",
38015
+ example: "933.07"
38016
+ },
38017
+ total_incl_tax: {
38018
+ type: "string",
38019
+ description: "Total amount including taxes",
38020
+ example: "1119.68"
38021
+ }
38022
+ }
38023
+ },
36957
38024
  related: {
36958
38025
  description: "Objects linked to the purchase delivery :\n - There can be only one company or one individual at a time (required)\n - For Company & Individual, only `supplier` type is allowed\n - Contact is the contact of company linked to the purchase delivery. There may be no or one contact.\n - Opportunity is the opportunity linked to the purchase delivery. There may be zero or more opportunities linked to purchase delivery\n",
36959
38026
  type: "array",
@@ -36979,6 +38046,17 @@ const purDeliveryOneSchema = {
36979
38046
  }
36980
38047
  }
36981
38048
  }
38049
+ },
38050
+ status: {
38051
+ type: "string",
38052
+ readOnly: true,
38053
+ description: "Status of the purchase delivery",
38054
+ example: "invoiced",
38055
+ enum: [
38056
+ "draft",
38057
+ "partialinvoiced",
38058
+ "invoiced"
38059
+ ]
36982
38060
  }
36983
38061
  }
36984
38062
  }]
@@ -37000,6 +38078,23 @@ const purOrderOneSchema = {
37000
38078
  description: "Purchase order number",
37001
38079
  example: "F_ORD-20250916-00002"
37002
38080
  },
38081
+ amounts: {
38082
+ type: "object",
38083
+ readOnly: true,
38084
+ description: "Amounts of the purchase order",
38085
+ properties: {
38086
+ total_excl_tax: {
38087
+ type: "string",
38088
+ description: "Total amount without taxes",
38089
+ example: "933.07"
38090
+ },
38091
+ total_incl_tax: {
38092
+ type: "string",
38093
+ description: "Total amount including taxes",
38094
+ example: "1119.68"
38095
+ }
38096
+ }
38097
+ },
37003
38098
  related: {
37004
38099
  description: "Objects linked to the purchase order :\n - There can be only one company or one individual at a time (required)\n - For Company & Individual, only `supplier` type is allowed\n - Contact is the contact of company linked to the purchase order. There may be no or one contact.\n - Opportunity is the opportunity linked to the purchase order. There may be zero or more opportunities linked to purchase order\n",
37005
38100
  type: "array",
@@ -37025,6 +38120,22 @@ const purOrderOneSchema = {
37025
38120
  }
37026
38121
  }
37027
38122
  }
38123
+ },
38124
+ status: {
38125
+ type: "string",
38126
+ readOnly: true,
38127
+ description: "Status of the purchase order",
38128
+ example: "invoiced",
38129
+ enum: [
38130
+ "draft",
38131
+ "sent",
38132
+ "read",
38133
+ "accepted",
38134
+ "expired",
38135
+ "partialinvoiced",
38136
+ "invoiced",
38137
+ "cancelled"
38138
+ ]
37028
38139
  }
37029
38140
  }
37030
38141
  }]
@@ -37628,7 +38739,7 @@ const ContactItemWritableSchema = {
37628
38739
  description: "Note on contact",
37629
38740
  example: "An handed-written note describing this contact"
37630
38741
  },
37631
- social: { allOf: [{ $ref: "#/paths/~1companies/post/requestBody/content/application~1json/schema/properties/social" }] },
38742
+ social: { allOf: [{ $ref: "#/components/schemas/Company/properties/social" }] },
37632
38743
  sync: {
37633
38744
  type: "object",
37634
38745
  properties: {
@@ -39596,7 +40707,7 @@ const SaleEmbedWritableSchema = {
39596
40707
  example: "+33100000000",
39597
40708
  nullable: true
39598
40709
  },
39599
- legal_france: { $ref: "#/paths/~1companies~1{id}~1share/put/responses/200/content/application~1json/schema/properties/legal_france" },
40710
+ legal_france: { $ref: "#/components/schemas/Company/properties/legal_france" },
39600
40711
  capital: {
39601
40712
  type: "string",
39602
40713
  nullable: true,
@@ -39620,7 +40731,7 @@ const SaleEmbedWritableSchema = {
39620
40731
  example: "0EX11C",
39621
40732
  nullable: true
39622
40733
  },
39623
- social: { $ref: "#/paths/~1companies/post/requestBody/content/application~1json/schema/properties/social" },
40734
+ social: { $ref: "#/components/schemas/Company/properties/social" },
39624
40735
  rate_category_id: {
39625
40736
  type: "integer",
39626
40737
  nullable: true,
@@ -39744,6 +40855,12 @@ const SaleEmbedWritableSchema = {
39744
40855
  },
39745
40856
  description: "list of campaign type subcribed",
39746
40857
  uniqueItems: true
40858
+ },
40859
+ einvoicing_electronic_address: {
40860
+ type: "string",
40861
+ nullable: true,
40862
+ description: "Default e-invoicing routing address identifier",
40863
+ example: "987463775"
39747
40864
  }
39748
40865
  }
39749
40866
  },
@@ -39839,7 +40956,7 @@ const SaleEmbedWritableSchema = {
39839
40956
  example: "0EX11C",
39840
40957
  nullable: true
39841
40958
  },
39842
- social: { $ref: "#/paths/~1companies/post/requestBody/content/application~1json/schema/properties/social" },
40959
+ social: { $ref: "#/components/schemas/Company/properties/social" },
39843
40960
  rate_category_id: {
39844
40961
  type: "integer",
39845
40962
  nullable: true,
@@ -41183,7 +42300,13 @@ const DealsWritableSchema = {
41183
42300
  "creditnote",
41184
42301
  "estimate",
41185
42302
  "order",
41186
- "delivery"
42303
+ "delivery",
42304
+ "model",
42305
+ "purchase-invoice",
42306
+ "purchase-creditnote",
42307
+ "purchase-order",
42308
+ "purchase-delivery",
42309
+ "item"
41187
42310
  ]
41188
42311
  }
41189
42312
  }
@@ -42456,7 +43579,7 @@ const OcrWritableSchema = {
42456
43579
  linked_type: {
42457
43580
  description: "Type of linked object",
42458
43581
  type: "string",
42459
- enum: ["purInvoice"],
43582
+ enum: ["purInvoice", "purCreditNote"],
42460
43583
  example: "purInvoice"
42461
43584
  },
42462
43585
  linked_id: {
@@ -43011,7 +44134,13 @@ const LabelBaseItemWritableSchema = {
43011
44134
  "creditnote",
43012
44135
  "estimate",
43013
44136
  "order",
43014
- "delivery"
44137
+ "delivery",
44138
+ "model",
44139
+ "purchase-invoice",
44140
+ "purchase-creditnote",
44141
+ "purchase-order",
44142
+ "purchase-delivery",
44143
+ "item"
43015
44144
  ]
43016
44145
  }
43017
44146
  }
@@ -43101,6 +44230,7 @@ const SearchResultWritableSchema = {
43101
44230
  "estimate",
43102
44231
  "creditnote",
43103
44232
  "order",
44233
+ "model",
43104
44234
  "delivery",
43105
44235
  "proforma",
43106
44236
  "staff",
@@ -43506,7 +44636,7 @@ const SearchResultWritableSchema = {
43506
44636
  "read",
43507
44637
  "accepted",
43508
44638
  "expired",
43509
- "partialInvoiced",
44639
+ "partialinvoiced",
43510
44640
  "invoiced",
43511
44641
  "stored",
43512
44642
  "spent",
@@ -43971,6 +45101,7 @@ const SearchResultBaseItemWritableSchema = {
43971
45101
  "estimate",
43972
45102
  "creditnote",
43973
45103
  "order",
45104
+ "model",
43974
45105
  "delivery",
43975
45106
  "proforma",
43976
45107
  "staff",
@@ -45600,6 +46731,36 @@ const InvoiceWritableSchema = {
45600
46731
  "mixed"
45601
46732
  ],
45602
46733
  example: "product"
46734
+ },
46735
+ einvoicing_electronic_address: {
46736
+ type: "string",
46737
+ nullable: true,
46738
+ description: "E-invoicing routing address identifier for this document",
46739
+ example: "987463775"
46740
+ },
46741
+ einvoicing_flow: {
46742
+ type: "string",
46743
+ nullable: true,
46744
+ description: "E-invoicing flow applied when the document was validated",
46745
+ enum: ["einvoicing", "ereporting"],
46746
+ example: "einvoicing"
46747
+ },
46748
+ lifecycle_status: {
46749
+ type: "object",
46750
+ nullable: true,
46751
+ description: "Last known e-invoicing lifecycle status of the document",
46752
+ properties: {
46753
+ status: {
46754
+ type: "integer",
46755
+ description: "AFNOR lifecycle status code",
46756
+ example: 212
46757
+ },
46758
+ label: {
46759
+ type: "string",
46760
+ description: "Localized lifecycle status label",
46761
+ example: "Encaissée"
46762
+ }
46763
+ }
45603
46764
  }
45604
46765
  }
45605
46766
  };
@@ -45839,6 +47000,36 @@ const InvoiceOneWritableSchema = {
45839
47000
  "mixed"
45840
47001
  ],
45841
47002
  example: "product"
47003
+ },
47004
+ einvoicing_electronic_address: {
47005
+ type: "string",
47006
+ nullable: true,
47007
+ description: "E-invoicing routing address identifier for this document",
47008
+ example: "987463775"
47009
+ },
47010
+ einvoicing_flow: {
47011
+ type: "string",
47012
+ nullable: true,
47013
+ description: "E-invoicing flow applied when the document was validated",
47014
+ enum: ["einvoicing", "ereporting"],
47015
+ example: "einvoicing"
47016
+ },
47017
+ lifecycle_status: {
47018
+ type: "object",
47019
+ nullable: true,
47020
+ description: "Last known e-invoicing lifecycle status of the document",
47021
+ properties: {
47022
+ status: {
47023
+ type: "integer",
47024
+ description: "AFNOR lifecycle status code",
47025
+ example: 212
47026
+ },
47027
+ label: {
47028
+ type: "string",
47029
+ description: "Localized lifecycle status label",
47030
+ example: "Encaissée"
47031
+ }
47032
+ }
45842
47033
  }
45843
47034
  }
45844
47035
  }, {
@@ -47064,6 +48255,13 @@ const InvoiceCreateWritableSchema = { allOf: [{
47064
48255
  "mixed"
47065
48256
  ],
47066
48257
  example: "product"
48258
+ },
48259
+ einvoicing_electronic_address: {
48260
+ type: "string",
48261
+ nullable: true,
48262
+ maxLength: 255,
48263
+ description: "E-invoicing routing address identifier for this document",
48264
+ example: "987463775"
47067
48265
  }
47068
48266
  }
47069
48267
  }, {
@@ -47722,6 +48920,13 @@ const DepositInvoiceCreateWritableSchema = {
47722
48920
  "mixed"
47723
48921
  ],
47724
48922
  example: "product"
48923
+ },
48924
+ einvoicing_electronic_address: {
48925
+ type: "string",
48926
+ nullable: true,
48927
+ maxLength: 255,
48928
+ description: "E-invoicing routing address identifier for this document",
48929
+ example: "987463775"
47725
48930
  }
47726
48931
  },
47727
48932
  required: ["parent", "rows"]
@@ -47899,6 +49104,13 @@ const DepositInvoiceUpdateWritableSchema = {
47899
49104
  "mixed"
47900
49105
  ],
47901
49106
  example: "product"
49107
+ },
49108
+ einvoicing_electronic_address: {
49109
+ type: "string",
49110
+ nullable: true,
49111
+ maxLength: 255,
49112
+ description: "E-invoicing routing address identifier for this document",
49113
+ example: "987463775"
47902
49114
  }
47903
49115
  }
47904
49116
  };
@@ -48546,6 +49758,43 @@ const DepositInvoiceMetadataWritableSchema = {
48546
49758
  is_document_compliant: {
48547
49759
  type: "boolean",
48548
49760
  description: "Compliance state of the parent document on creation, or of the edited document on update"
49761
+ },
49762
+ company_einvoicing: {
49763
+ type: "object",
49764
+ properties: {
49765
+ is_subject: {
49766
+ type: "boolean",
49767
+ description: "Company is subject to e-invoicing"
49768
+ },
49769
+ is_compliant: {
49770
+ type: "boolean",
49771
+ description: "Company is compliant to e-invoicing"
49772
+ },
49773
+ violations: {
49774
+ type: "array",
49775
+ description: "List of non-compliant reasons",
49776
+ items: {
49777
+ type: "string",
49778
+ enum: [
49779
+ "missing_address",
49780
+ "incomplete_address",
49781
+ "missing_siren",
49782
+ "invalid_siren_format",
49783
+ "missing_siret",
49784
+ "invalid_siret_format",
49785
+ "invalid_vat_format",
49786
+ "missing_vat_eu",
49787
+ "missing_routing_address"
49788
+ ]
49789
+ }
49790
+ }
49791
+ }
49792
+ },
49793
+ einvoicing_electronic_address: {
49794
+ type: "string",
49795
+ nullable: true,
49796
+ description: "E-invoicing routing address identifier (document value if set, otherwise third default)",
49797
+ example: "987463775"
48549
49798
  }
48550
49799
  }
48551
49800
  };
@@ -48707,9 +49956,21 @@ const ProgressInvoiceCreateWritableSchema = {
48707
49956
  example: "2022-01-02"
48708
49957
  },
48709
49958
  validate: {
48710
- type: "boolean",
48711
- description: "If true the invoice will be validated with definitive number and will not be editable.",
48712
- default: false
49959
+ type: "object",
49960
+ description: "Validation options for the progress invoice.",
49961
+ additionalProperties: false,
49962
+ properties: {
49963
+ status: {
49964
+ type: "boolean",
49965
+ description: "If true the invoice will be validated with definitive number and will not be editable."
49966
+ },
49967
+ flow: {
49968
+ type: "string",
49969
+ description: "E-invoicing flow applied when validating the invoice. Optional — when omitted, the recommended flow will be used. When provided, the value is checked against the recommended flow:\n - if the invoice is out of the e-invoicing scope, a validation error is returned;\n - if the detected flow is forced (the opposite flow is not selectable) and differs from the value provided, a validation error is returned;\n - otherwise, the value provided is applied.\n",
49970
+ enum: ["einvoicing", "ereporting"]
49971
+ }
49972
+ },
49973
+ required: ["status"]
48713
49974
  },
48714
49975
  subject: {
48715
49976
  type: "string",
@@ -49366,6 +50627,13 @@ const ProgressInvoiceCreateWritableSchema = {
49366
50627
  "mixed"
49367
50628
  ],
49368
50629
  example: "product"
50630
+ },
50631
+ einvoicing_electronic_address: {
50632
+ type: "string",
50633
+ nullable: true,
50634
+ maxLength: 255,
50635
+ description: "E-invoicing routing address identifier for this document",
50636
+ example: "987463775"
49369
50637
  }
49370
50638
  },
49371
50639
  required: ["parent", "rows"]
@@ -49790,6 +51058,36 @@ const CreditNoteWritableSchema = {
49790
51058
  ],
49791
51059
  example: "product"
49792
51060
  },
51061
+ einvoicing_electronic_address: {
51062
+ type: "string",
51063
+ nullable: true,
51064
+ description: "E-invoicing routing address identifier for this document",
51065
+ example: "987463775"
51066
+ },
51067
+ einvoicing_flow: {
51068
+ type: "string",
51069
+ nullable: true,
51070
+ description: "E-invoicing flow applied when the document was validated",
51071
+ enum: ["einvoicing", "ereporting"],
51072
+ example: "einvoicing"
51073
+ },
51074
+ lifecycle_status: {
51075
+ type: "object",
51076
+ nullable: true,
51077
+ description: "Last known e-invoicing lifecycle status of the document",
51078
+ properties: {
51079
+ status: {
51080
+ type: "integer",
51081
+ description: "AFNOR lifecycle status code",
51082
+ example: 212
51083
+ },
51084
+ label: {
51085
+ type: "string",
51086
+ description: "Localized lifecycle status label",
51087
+ example: "Encaissée"
51088
+ }
51089
+ }
51090
+ },
49793
51091
  _embed: {
49794
51092
  title: "Credit Note Embed",
49795
51093
  allOf: [
@@ -50105,6 +51403,36 @@ const CreditNoteOneWritableSchema = { allOf: [{
50105
51403
  ],
50106
51404
  example: "product"
50107
51405
  },
51406
+ einvoicing_electronic_address: {
51407
+ type: "string",
51408
+ nullable: true,
51409
+ description: "E-invoicing routing address identifier for this document",
51410
+ example: "987463775"
51411
+ },
51412
+ einvoicing_flow: {
51413
+ type: "string",
51414
+ nullable: true,
51415
+ description: "E-invoicing flow applied when the document was validated",
51416
+ enum: ["einvoicing", "ereporting"],
51417
+ example: "einvoicing"
51418
+ },
51419
+ lifecycle_status: {
51420
+ type: "object",
51421
+ nullable: true,
51422
+ description: "Last known e-invoicing lifecycle status of the document",
51423
+ properties: {
51424
+ status: {
51425
+ type: "integer",
51426
+ description: "AFNOR lifecycle status code",
51427
+ example: 212
51428
+ },
51429
+ label: {
51430
+ type: "string",
51431
+ description: "Localized lifecycle status label",
51432
+ example: "Encaissée"
51433
+ }
51434
+ }
51435
+ },
50108
51436
  _embed: { $ref: "#/components/schemas/CreditNote/properties/_embed" }
50109
51437
  }
50110
51438
  }, {
@@ -50271,6 +51599,13 @@ const CreditNoteCreateWritableSchema = { allOf: [{
50271
51599
  issuer_address_id: {
50272
51600
  type: "integer",
50273
51601
  description: "Issuer address, by default take main account address."
51602
+ },
51603
+ einvoicing_electronic_address: {
51604
+ type: "string",
51605
+ nullable: true,
51606
+ maxLength: 255,
51607
+ description: "E-invoicing routing address identifier for this document",
51608
+ example: "987463775"
50274
51609
  }
50275
51610
  }
50276
51611
  }, {
@@ -51902,7 +53237,8 @@ const CompanyPreferencesWritableSchema = {
51902
53237
  system_label: {
51903
53238
  type: "string",
51904
53239
  description: "System label of tax",
51905
- example: "Intracom"
53240
+ example: "Intracom",
53241
+ nullable: true
51906
53242
  }
51907
53243
  }
51908
53244
  },
@@ -52294,6 +53630,504 @@ const IndividualPreferencesWritableSchema = {
52294
53630
  }
52295
53631
  }
52296
53632
  };
53633
+ const CompanyWritableSchema = {
53634
+ title: "Company",
53635
+ type: "object",
53636
+ description: "",
53637
+ "x-examples": {},
53638
+ properties: {
53639
+ id: {
53640
+ type: "integer",
53641
+ description: "Unique ID",
53642
+ example: 6657
53643
+ },
53644
+ type: {
53645
+ type: "string",
53646
+ enum: [
53647
+ "prospect",
53648
+ "client",
53649
+ "supplier"
53650
+ ]
53651
+ },
53652
+ name: {
53653
+ type: "string",
53654
+ description: "Company name",
53655
+ example: "Example company",
53656
+ maxLength: 250
53657
+ },
53658
+ email: {
53659
+ description: "Company email",
53660
+ type: "string",
53661
+ format: "email",
53662
+ example: "contact@example-company.com",
53663
+ nullable: true
53664
+ },
53665
+ website: {
53666
+ type: "string",
53667
+ format: "url",
53668
+ description: "Company website",
53669
+ example: "http://example-company.com",
53670
+ nullable: true
53671
+ },
53672
+ phone_number: {
53673
+ type: "string",
53674
+ description: "Company phone number",
53675
+ example: "+33100000000",
53676
+ nullable: true
53677
+ },
53678
+ mobile_number: {
53679
+ type: "string",
53680
+ description: "Company mobile number",
53681
+ example: "+33600000000",
53682
+ nullable: true
53683
+ },
53684
+ fax_number: {
53685
+ type: "string",
53686
+ description: "Company Fax number",
53687
+ example: "+33100000000",
53688
+ nullable: true
53689
+ },
53690
+ legal_france: {
53691
+ type: "object",
53692
+ additionalProperties: false,
53693
+ properties: {
53694
+ siret: {
53695
+ description: "Company Siret",
53696
+ type: "string",
53697
+ nullable: true,
53698
+ example: "73282932000074"
53699
+ },
53700
+ siren: {
53701
+ description: "Company Siren",
53702
+ type: "string",
53703
+ nullable: true,
53704
+ example: "732829320"
53705
+ },
53706
+ vat: {
53707
+ description: "VAT number",
53708
+ type: "string",
53709
+ nullable: true,
53710
+ example: "FR99999999999"
53711
+ },
53712
+ ape_naf_code: {
53713
+ description: "APE/NAF Code",
53714
+ type: "string",
53715
+ nullable: true,
53716
+ example: "4711C"
53717
+ },
53718
+ company_type: {
53719
+ description: "Company type",
53720
+ type: "string",
53721
+ nullable: true,
53722
+ example: "SAS"
53723
+ },
53724
+ rcs_immatriculation: {
53725
+ description: "RCS immatriculation code",
53726
+ type: "string",
53727
+ nullable: true,
53728
+ example: "RCS xxxxx"
53729
+ }
53730
+ }
53731
+ },
53732
+ capital: {
53733
+ type: "string",
53734
+ nullable: true,
53735
+ description: "Company Capital",
53736
+ example: "4000"
53737
+ },
53738
+ reference: {
53739
+ type: "string",
53740
+ description: "Company reference",
53741
+ example: "CLI-1654",
53742
+ nullable: true
53743
+ },
53744
+ note: {
53745
+ type: "string",
53746
+ description: "Note on company",
53747
+ example: "An handed-written note describing this company"
53748
+ },
53749
+ auxiliary_code: {
53750
+ type: "string",
53751
+ description: "Auxiliary code",
53752
+ example: "0EX11C",
53753
+ nullable: true
53754
+ },
53755
+ social: {
53756
+ type: "object",
53757
+ properties: {
53758
+ twitter: {
53759
+ type: "string",
53760
+ format: "url",
53761
+ description: "Twitter account",
53762
+ example: "https://twitter.com/example",
53763
+ nullable: true
53764
+ },
53765
+ facebook: {
53766
+ type: "string",
53767
+ format: "url",
53768
+ description: "Facebook account",
53769
+ example: "https://facebook.com/example",
53770
+ nullable: true
53771
+ },
53772
+ linkedin: {
53773
+ type: "string",
53774
+ format: "url",
53775
+ description: "Linkedin account",
53776
+ example: "https://linkedin.com/example",
53777
+ nullable: true
53778
+ },
53779
+ viadeo: {
53780
+ type: "string",
53781
+ format: "url",
53782
+ description: "Deprecated, no longer use",
53783
+ deprecated: true,
53784
+ example: "https://viadeo.com/example",
53785
+ nullable: true
53786
+ },
53787
+ instagram: {
53788
+ type: "string",
53789
+ format: "url",
53790
+ description: "Instagram account",
53791
+ example: "https://www.instagram.com/example",
53792
+ nullable: true
53793
+ }
53794
+ }
53795
+ },
53796
+ rate_category_id: {
53797
+ type: "integer",
53798
+ nullable: true,
53799
+ description: "Company Rate category id",
53800
+ example: 9956
53801
+ },
53802
+ main_contact_id: {
53803
+ description: "Main contact unique ID",
53804
+ type: "integer",
53805
+ nullable: true,
53806
+ minimum: 1,
53807
+ example: 6654
53808
+ },
53809
+ dunning_contact_id: {
53810
+ description: "Dunning contact unique ID",
53811
+ type: "integer",
53812
+ nullable: true,
53813
+ minimum: 1,
53814
+ example: 6654
53815
+ },
53816
+ invoicing_contact_id: {
53817
+ description: "Invoicing contact unique ID",
53818
+ type: "integer",
53819
+ nullable: true,
53820
+ minimum: 1,
53821
+ example: 6654
53822
+ },
53823
+ invoicing_address_id: {
53824
+ description: "Invoicing address unique ID",
53825
+ type: "integer",
53826
+ nullable: true,
53827
+ minimum: 1,
53828
+ example: 9987
53829
+ },
53830
+ delivery_address_id: {
53831
+ description: "Delivery address unique ID",
53832
+ type: "integer",
53833
+ nullable: true,
53834
+ minimum: 1,
53835
+ example: 6547
53836
+ },
53837
+ accounting_code_id: {
53838
+ type: "integer",
53839
+ nullable: true,
53840
+ description: "Company accounting code id",
53841
+ example: 12345
53842
+ },
53843
+ accounting_purchase_code_id: {
53844
+ type: "integer",
53845
+ nullable: true,
53846
+ description: "Company accouting purchase code id",
53847
+ example: 98556
53848
+ },
53849
+ created: {
53850
+ type: "string",
53851
+ format: "date-time",
53852
+ nullable: false,
53853
+ description: "Datetime of creating company",
53854
+ example: "2020-05-29T11:22:03+02:00"
53855
+ },
53856
+ updated_at: {
53857
+ type: "string",
53858
+ format: "date-time",
53859
+ nullable: false,
53860
+ description: "Datetime of the last update of the company",
53861
+ example: "2020-05-29T11:22:03+02:00"
53862
+ },
53863
+ is_archived: {
53864
+ type: "boolean",
53865
+ nullable: false,
53866
+ description: "Status archived or not",
53867
+ example: false
53868
+ },
53869
+ business_segment: {
53870
+ type: "object",
53871
+ description: "Company business segment",
53872
+ nullable: true,
53873
+ properties: {
53874
+ id: {
53875
+ type: "integer",
53876
+ example: 3
53877
+ },
53878
+ label: {
53879
+ type: "string",
53880
+ example: "Software publisher / Digital services company"
53881
+ }
53882
+ }
53883
+ },
53884
+ number_of_employees: {
53885
+ type: "object",
53886
+ description: "Number of employees of company",
53887
+ nullable: true,
53888
+ properties: {
53889
+ id: {
53890
+ type: "integer",
53891
+ example: 1
53892
+ },
53893
+ label: {
53894
+ type: "string",
53895
+ example: "From 1 to 5"
53896
+ }
53897
+ }
53898
+ },
53899
+ main_activity_description: {
53900
+ type: "string",
53901
+ description: "Description of the company main activity",
53902
+ example: "Application software publishing",
53903
+ nullable: true
53904
+ },
53905
+ marketing_campaigns_subscriptions: {
53906
+ type: "array",
53907
+ items: {
53908
+ type: "string",
53909
+ enum: [
53910
+ "sms",
53911
+ "phone",
53912
+ "email",
53913
+ "postal_mail",
53914
+ "custom"
53915
+ ]
53916
+ },
53917
+ description: "list of campaign type subcribed",
53918
+ uniqueItems: true
53919
+ },
53920
+ einvoicing_electronic_address: {
53921
+ type: "string",
53922
+ nullable: true,
53923
+ description: "Default e-invoicing routing address identifier",
53924
+ example: "987463775"
53925
+ }
53926
+ }
53927
+ };
53928
+ const IndividualWritableSchema = {
53929
+ title: "Individual",
53930
+ type: "object",
53931
+ description: "",
53932
+ "x-examples": {},
53933
+ properties: {
53934
+ id: {
53935
+ type: "integer",
53936
+ description: "Unique ID",
53937
+ example: 6657
53938
+ },
53939
+ type: {
53940
+ type: "string",
53941
+ enum: [
53942
+ "prospect",
53943
+ "client",
53944
+ "supplier"
53945
+ ]
53946
+ },
53947
+ last_name: {
53948
+ type: "string",
53949
+ description: "Individual contact lastname",
53950
+ example: "Martin",
53951
+ maxLength: 200
53952
+ },
53953
+ first_name: {
53954
+ type: "string",
53955
+ description: "Individual contact firstname",
53956
+ example: "Jean",
53957
+ nullable: true,
53958
+ maxLength: 200
53959
+ },
53960
+ civility: {
53961
+ type: "string",
53962
+ description: "Civility of individual",
53963
+ example: "mr",
53964
+ nullable: true,
53965
+ enum: [
53966
+ "mr",
53967
+ "mrs",
53968
+ "ms"
53969
+ ]
53970
+ },
53971
+ email: {
53972
+ description: "Individual email",
53973
+ type: "string",
53974
+ format: "email",
53975
+ example: "jean.martin@personal-example.com",
53976
+ nullable: true
53977
+ },
53978
+ website: {
53979
+ type: "string",
53980
+ format: "url",
53981
+ description: "Individual website",
53982
+ example: "http://personal-example.com",
53983
+ nullable: true
53984
+ },
53985
+ phone_number: {
53986
+ type: "string",
53987
+ description: "Phone number",
53988
+ example: "+33100000000",
53989
+ nullable: true
53990
+ },
53991
+ mobile_number: {
53992
+ type: "string",
53993
+ description: "Mobile number",
53994
+ example: "+33600000000",
53995
+ nullable: true
53996
+ },
53997
+ fax_number: {
53998
+ type: "string",
53999
+ description: "Fax number",
54000
+ example: "+33100000000",
54001
+ nullable: true
54002
+ },
54003
+ reference: {
54004
+ type: "string",
54005
+ description: "Internal reference",
54006
+ example: "IND-1654",
54007
+ nullable: true
54008
+ },
54009
+ note: {
54010
+ type: "string",
54011
+ description: "Note on individual",
54012
+ example: "An handed-written note describing this individual"
54013
+ },
54014
+ auxiliary_code: {
54015
+ type: "string",
54016
+ description: "Auxiliary code",
54017
+ example: "0EX11C",
54018
+ nullable: true
54019
+ },
54020
+ social: { $ref: "#/components/schemas/Company/properties/social" },
54021
+ rate_category_id: {
54022
+ type: "integer",
54023
+ nullable: true,
54024
+ description: "Rate category id",
54025
+ example: 9956
54026
+ },
54027
+ main_contact_id: {
54028
+ description: "Main contact unique ID",
54029
+ type: "integer",
54030
+ nullable: true,
54031
+ minimum: 1,
54032
+ example: 6654
54033
+ },
54034
+ dunning_contact_id: {
54035
+ description: "Dunning contact unique ID",
54036
+ type: "integer",
54037
+ nullable: true,
54038
+ minimum: 1,
54039
+ example: 6654
54040
+ },
54041
+ invoicing_contact_id: {
54042
+ description: "Invoicing contact unique ID",
54043
+ type: "integer",
54044
+ nullable: true,
54045
+ minimum: 1,
54046
+ example: 6654
54047
+ },
54048
+ invoicing_address_id: {
54049
+ description: "Invoicing address unique ID",
54050
+ type: "integer",
54051
+ nullable: true,
54052
+ minimum: 1,
54053
+ example: 9987
54054
+ },
54055
+ delivery_address_id: {
54056
+ description: "Delivery address unique ID",
54057
+ type: "integer",
54058
+ nullable: true,
54059
+ minimum: 1,
54060
+ example: 6547
54061
+ },
54062
+ accounting_code_id: {
54063
+ type: "integer",
54064
+ nullable: true,
54065
+ description: "Accounting code id",
54066
+ example: 12345
54067
+ },
54068
+ accounting_purchase_code_id: {
54069
+ type: "integer",
54070
+ nullable: true,
54071
+ description: "Accouting purchase code id",
54072
+ example: 98556
54073
+ },
54074
+ created: {
54075
+ type: "string",
54076
+ format: "date-time",
54077
+ nullable: false,
54078
+ description: "Datetime of creation",
54079
+ example: "2020-05-29T11:22:03+02:00"
54080
+ },
54081
+ updated_at: {
54082
+ type: "string",
54083
+ format: "date-time",
54084
+ nullable: false,
54085
+ description: "Datetime of the last update of the individual",
54086
+ example: "2020-05-29T11:22:03+02:00"
54087
+ },
54088
+ is_archived: {
54089
+ type: "boolean",
54090
+ nullable: false,
54091
+ description: "Status archived or not",
54092
+ example: false
54093
+ },
54094
+ marketing_campaigns_subscriptions: {
54095
+ type: "array",
54096
+ items: {
54097
+ type: "string",
54098
+ enum: [
54099
+ "sms",
54100
+ "phone",
54101
+ "email",
54102
+ "postal_mail",
54103
+ "custom"
54104
+ ]
54105
+ },
54106
+ description: "list of campaign type subcribed",
54107
+ uniqueItems: true
54108
+ },
54109
+ sync: {
54110
+ type: "object",
54111
+ properties: {
54112
+ mailchimp: {
54113
+ type: "boolean",
54114
+ description: "Activate the mailchimp synchronization",
54115
+ nullable: false
54116
+ },
54117
+ mailjet: {
54118
+ type: "boolean",
54119
+ description: "Activate the mailjet synchronization",
54120
+ nullable: false
54121
+ },
54122
+ simplemail: {
54123
+ type: "boolean",
54124
+ description: "Activate the simplemail synchronization",
54125
+ nullable: false
54126
+ }
54127
+ }
54128
+ }
54129
+ }
54130
+ };
52297
54131
  const ProformaInvoiceOneWritableSchema = { allOf: [{
52298
54132
  title: "Proforma Invoice",
52299
54133
  type: "object",
@@ -52783,6 +54617,20 @@ const ProgressInvoiceMetadataWritableSchema = {
52783
54617
  default: "per-line",
52784
54618
  description: "Progress invoice mode",
52785
54619
  enum: ["global", "per-line"]
54620
+ },
54621
+ recipient_legal: {
54622
+ type: "object",
54623
+ properties: {
54624
+ is_company: { type: "boolean" },
54625
+ siren: {
54626
+ type: "string",
54627
+ nullable: true
54628
+ },
54629
+ vat_number: {
54630
+ type: "string",
54631
+ nullable: true
54632
+ }
54633
+ }
52786
54634
  }
52787
54635
  }
52788
54636
  }]
@@ -53555,6 +55403,13 @@ const ProgressInvoiceMetadataWritableSchema = {
53555
55403
  is_document_compliant: {
53556
55404
  type: "boolean",
53557
55405
  description: "Compliance state of the parent document on creation, or of the edited document on update"
55406
+ },
55407
+ company_einvoicing: { $ref: "#/components/schemas/DepositInvoiceMetadata/properties/company_einvoicing" },
55408
+ einvoicing_electronic_address: {
55409
+ type: "string",
55410
+ nullable: true,
55411
+ description: "E-invoicing routing address identifier (document value if set, otherwise third default)",
55412
+ example: "987463775"
53558
55413
  }
53559
55414
  }
53560
55415
  };
@@ -53609,11 +55464,7 @@ const ProgressInvoiceUpdateWritableSchema = {
53609
55464
  description: "Date of the invoice",
53610
55465
  example: "2022-01-02"
53611
55466
  },
53612
- validate: {
53613
- type: "boolean",
53614
- description: "If true the invoice will be validated with definitive number and will not be editable.",
53615
- default: false
53616
- },
55467
+ validate: { $ref: "#/components/schemas/ProgressInvoiceCreate/properties/validate" },
53617
55468
  subject: {
53618
55469
  type: "string",
53619
55470
  description: "Subject of the invoice"
@@ -53764,6 +55615,13 @@ const ProgressInvoiceUpdateWritableSchema = {
53764
55615
  "mixed"
53765
55616
  ],
53766
55617
  example: "product"
55618
+ },
55619
+ einvoicing_electronic_address: {
55620
+ type: "string",
55621
+ nullable: true,
55622
+ maxLength: 255,
55623
+ description: "E-invoicing routing address identifier for this document",
55624
+ example: "987463775"
53767
55625
  }
53768
55626
  }
53769
55627
  };
@@ -54382,21 +56240,6 @@ const updateCompany = (options) => (options.client ?? client).put({
54382
56240
  }
54383
56241
  });
54384
56242
  /**
54385
- * Update company sharing
54386
- */
54387
- const updateCompanySharing = (options) => (options.client ?? client).put({
54388
- security: [{
54389
- scheme: "bearer",
54390
- type: "http"
54391
- }],
54392
- url: "/companies/{id}/share",
54393
- ...options,
54394
- headers: {
54395
- "Content-Type": "application/json",
54396
- ...options.headers
54397
- }
54398
- });
54399
- /**
54400
56243
  * Convert prospect company to client company
54401
56244
  */
54402
56245
  const convertCompany = (options) => (options.client ?? client).post({
@@ -54852,21 +56695,6 @@ const updateEstimate = (options) => (options.client ?? client).put({
54852
56695
  }
54853
56696
  });
54854
56697
  /**
54855
- * Update estimate sharing
54856
- */
54857
- const updateEstimateSharing = (options) => (options.client ?? client).put({
54858
- security: [{
54859
- scheme: "bearer",
54860
- type: "http"
54861
- }],
54862
- url: "/estimates/{id}/share",
54863
- ...options,
54864
- headers: {
54865
- "Content-Type": "application/json",
54866
- ...options.headers
54867
- }
54868
- });
54869
- /**
54870
56698
  * Update estimate status
54871
56699
  *
54872
56700
  * Update an estimate status
@@ -55203,21 +57031,6 @@ const updateOrder = (options) => (options.client ?? client).put({
55203
57031
  }
55204
57032
  });
55205
57033
  /**
55206
- * Update order sharing
55207
- */
55208
- const updateOrderSharing = (options) => (options.client ?? client).put({
55209
- security: [{
55210
- scheme: "bearer",
55211
- type: "http"
55212
- }],
55213
- url: "/orders/{id}/share",
55214
- ...options,
55215
- headers: {
55216
- "Content-Type": "application/json",
55217
- ...options.headers
55218
- }
55219
- });
55220
- /**
55221
57034
  * Search orders
55222
57035
  *
55223
57036
  * Search orders <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br />Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div>
@@ -55543,21 +57356,6 @@ const getDelivery = (options) => (options.client ?? client).get({
55543
57356
  ...options
55544
57357
  });
55545
57358
  /**
55546
- * Update delivery sharing
55547
- */
55548
- const updateDeliverySharing = (options) => (options.client ?? client).put({
55549
- security: [{
55550
- scheme: "bearer",
55551
- type: "http"
55552
- }],
55553
- url: "/deliveries/{id}/share",
55554
- ...options,
55555
- headers: {
55556
- "Content-Type": "application/json",
55557
- ...options.headers
55558
- }
55559
- });
55560
- /**
55561
57359
  * Individuals List
55562
57360
  *
55563
57361
  * Get a list of individuals
@@ -55723,21 +57521,6 @@ const updateIndividual = (options) => (options.client ?? client).put({
55723
57521
  }
55724
57522
  });
55725
57523
  /**
55726
- * Update individual sharing
55727
- */
55728
- const updateIndividualSharing = (options) => (options.client ?? client).put({
55729
- security: [{
55730
- scheme: "bearer",
55731
- type: "http"
55732
- }],
55733
- url: "/individuals/{id}/share",
55734
- ...options,
55735
- headers: {
55736
- "Content-Type": "application/json",
55737
- ...options.headers
55738
- }
55739
- });
55740
- /**
55741
57524
  * Convert prospect individual to client individual
55742
57525
  */
55743
57526
  const convertIndividual = (options) => (options.client ?? client).post({
@@ -58603,21 +60386,6 @@ const updateInvoice = (options) => (options.client ?? client).put({
58603
60386
  }
58604
60387
  });
58605
60388
  /**
58606
- * Update invoice sharing
58607
- */
58608
- const updateInvoiceSharing = (options) => (options.client ?? client).put({
58609
- security: [{
58610
- scheme: "bearer",
58611
- type: "http"
58612
- }],
58613
- url: "/invoices/{id}/share",
58614
- ...options,
58615
- headers: {
58616
- "Content-Type": "application/json",
58617
- ...options.headers
58618
- }
58619
- });
58620
- /**
58621
60389
  * Invoices List
58622
60390
  *
58623
60391
  * Get a list of invoices <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br />Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div>
@@ -59013,21 +60781,6 @@ const updateCreditNote = (options) => (options.client ?? client).put({
59013
60781
  }
59014
60782
  });
59015
60783
  /**
59016
- * Update credit note sharing
59017
- */
59018
- const updateCreditNoteSharing = (options) => (options.client ?? client).put({
59019
- security: [{
59020
- scheme: "bearer",
59021
- type: "http"
59022
- }],
59023
- url: "/credit-notes/{id}/share",
59024
- ...options,
59025
- headers: {
59026
- "Content-Type": "application/json",
59027
- ...options.headers
59028
- }
59029
- });
59030
- /**
59031
60784
  * Credit notes List
59032
60785
  *
59033
60786
  * Get a list of credit notes <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br />Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div>
@@ -59882,21 +61635,6 @@ const updateModel = (options) => (options.client ?? client).put({
59882
61635
  }
59883
61636
  });
59884
61637
  /**
59885
- * Update document model sharing
59886
- */
59887
- const updateDocumentModelSharing = (options) => (options.client ?? client).put({
59888
- security: [{
59889
- scheme: "bearer",
59890
- type: "http"
59891
- }],
59892
- url: "/documents/models/{id}/share",
59893
- ...options,
59894
- headers: {
59895
- "Content-Type": "application/json",
59896
- ...options.headers
59897
- }
59898
- });
59899
- /**
59900
61638
  * Search document models
59901
61639
  *
59902
61640
  * Search document models
@@ -60170,21 +61908,6 @@ const updateDepositInvoice = (options) => (options.client ?? client).put({
60170
61908
  }
60171
61909
  });
60172
61910
  /**
60173
- * Update deposit invoice sharing
60174
- */
60175
- const updateDepositInvoiceSharing = (options) => (options.client ?? client).put({
60176
- security: [{
60177
- scheme: "bearer",
60178
- type: "http"
60179
- }],
60180
- url: "/deposit-invoices/{id}/share",
60181
- ...options,
60182
- headers: {
60183
- "Content-Type": "application/json",
60184
- ...options.headers
60185
- }
60186
- });
60187
- /**
60188
61911
  * Get smart tags for a deposit invoice
60189
61912
  *
60190
61913
  * Get smart tags for a deposit invoice <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br />Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div>
@@ -60357,21 +62080,6 @@ const updateDepositInvoiceCustomFields = (options) => (options.client ?? client)
60357
62080
  }
60358
62081
  });
60359
62082
  /**
60360
- * Update proforma invoice sharing
60361
- */
60362
- const updateProformaInvoiceSharing = (options) => (options.client ?? client).put({
60363
- security: [{
60364
- scheme: "bearer",
60365
- type: "http"
60366
- }],
60367
- url: "/proforma-invoices/{id}/share",
60368
- ...options,
60369
- headers: {
60370
- "Content-Type": "application/json",
60371
- ...options.headers
60372
- }
60373
- });
60374
- /**
60375
62083
  * Proforma Invoice custom fields List
60376
62084
  *
60377
62085
  * Get list of custom fields for a Proforma Invoice
@@ -60439,21 +62147,6 @@ const updateProgressInvoice = (options) => (options.client ?? client).put({
60439
62147
  }
60440
62148
  });
60441
62149
  /**
60442
- * Update progress invoice sharing
60443
- */
60444
- const updateProgressInvoiceSharing = (options) => (options.client ?? client).put({
60445
- security: [{
60446
- scheme: "bearer",
60447
- type: "http"
60448
- }],
60449
- url: "/progress-invoices/{id}/share",
60450
- ...options,
60451
- headers: {
60452
- "Content-Type": "application/json",
60453
- ...options.headers
60454
- }
60455
- });
60456
- /**
60457
62150
  * List payment terms
60458
62151
  *
60459
62152
  * List all payment terms
@@ -60961,5 +62654,5 @@ function createClientWithApiKey(apiKey) {
60961
62654
  }
60962
62655
 
60963
62656
  //#endregion
60964
- export { AccountDocumentCollectionSchema, AccountDocumentCollectionWritableSchema, AccountDocumentOrder, AccountingAggregationsSchema, AccountingCodeCreateSchema, AccountingCodeSchema, AccountingCodeWritableSchema, AccountingJournalExportParamsSchema, AccountingJournalSchema, AccountingJournalWritableSchema, AccountingMetasSchema, AccountingOrder, ActivityFiltersSchema, ActivityOrder, ActivitySchema, ActivityWritableSchema, AddressCreateSchema, AddressSchema, AddressUpdateSchema, AddressWritableSchema, AdyenSettingsSchema, AssignedStaffLabelSchema, BackupCodeSchema, BackupCodesSchema, BankAccountSchema, BankAccountWritableSchema, BarcodeReadItemSchema, BatchAssignedStaffLabelInputSchema, BatchUnitInputSchema, CalendarEventCreateItemSchema, CalendarEventFiltersSchema, CalendarEventItemSchema, CalendarEventItemWritableSchema, CalendarEventOrder, CalendarEventUpdateItemSchema, CheckLabelOrders, CheckLabelSchema, ClientCreateSchema, ClientCreateWritableSchema, ClientSchema, ClientUpdateSchema, ClientUpdateWritableSchema, ClientWSecretSchema, ClientWSecretWritableSchema, ClientWritableSchema, CommentCreateItemSchema, CommentFiltersSchema, CommentItemSchema, CommentItemWritableSchema, CommentOrder, CommentUpdateItemSchema, CompanyPreferencesSchema, CompanyPreferencesWritableSchema, ComputedProgresssInvoiceSchema, ConsentMarketingSettingsInputSchema, ConsentSettingsInputSchema, ConsentSettingsOuputSchema, ContactCollectionItemSchema, ContactCollectionItemWritableSchema, ContactCreateItemSchema, ContactCreateItemWritableSchema, ContactFiltersSchema, ContactItemSchema, ContactItemWritableSchema, ContactOrders, ContactUpdateItemSchema, ContactUpdateItemWritableSchema, CorporationSubscriptionSchema, CountrySchema, CreateDirectorySchema, CreateItemSchema, CreateModelSchema, CreateModelWritableSchema, CreatePaymentSchema, CreditNoteComputeSchema, CreditNoteComputeWritableSchema, CreditNoteCreateSchema, CreditNoteCreateWritableSchema, CreditNoteFiltersSchema, CreditNoteOneSchema, CreditNoteOneWritableSchema, CreditNoteOrder, CreditNoteSchema, CreditNoteUpdateSchema, CreditNoteUpdateWritableSchema, CreditNoteValidateSchema, CreditNoteWritableSchema, CrmActivityAggregationsSchema, CrmActivityFiltersSchema, CrmActivityMetasSchema, CrmActivityMetasWritableSchema, CrmActivityOrder, CrmActivitySchema, CrmActivityWritableSchema, CurrencySchema, CurrencyWritableSchema, CustomActivityCreateSchema, CustomActivityCreateWritableSchema, CustomActivityFiltersSchema, CustomActivityOrder, CustomActivitySchema, CustomActivityTypeSchema, CustomActivityTypeWritableSchema, CustomActivityWritableSchema, DealsActivityOrder, DealsBatchSchema, DealsFiltersSchema, DealsSchema, DealsWritableSchema, DeclinationReadSchema, DeliveryFiltersSchema, DeliveryOneSchema, DeliveryOneWritableSchema, DeliveryOrder, DeliverySchema, DeliveryWritableSchema, DepositInvoiceComputeInputSchema, DepositInvoiceComputeInputWritableSchema, DepositInvoiceComputeOutputSchema, DepositInvoiceCreateSchema, DepositInvoiceCreateWritableSchema, DepositInvoiceDocType, DepositInvoiceFilterSchema, DepositInvoiceMetadataSchema, DepositInvoiceMetadataWritableSchema, DepositInvoiceOneSchema, DepositInvoiceOneWritableSchema, DepositInvoicePrepareInputSchema, DepositInvoicePrepareOutputSchema, DepositInvoiceUpdateSchema, DepositInvoiceUpdateWritableSchema, Direction, DiscountInclTaxesDocumentInputSchema, DiscountInclTaxesInputSchema, DiscountInclTaxesOutputSchema, DiscountInclTaxesOutputWritableSchema, DocumentLayoutsCollectionSchema, EInvoicingMandateInputSchema, EInvoicingMandateInputWritableSchema, EInvoicingMandateSchema, EmailAttachmentOutputSchema, EmailAuthenticationItemSchema, EmailDeleteBatchBodySchema, EmailEngineItemSchema, EmailEngineItemWritableSchema, EmailItemSchema, EmailItemWritableSchema, EmailProviderMessageSchema, EmailProviderMessageWritableSchema, EmailProviderThreadSchema, EmailProviderThreadUpdateSchema, EmailRecipientSearchOutputSchema, EmailRecipientSearchOutputWritableSchema, EmailRecipientSuggestionOutputSchema, EmailRecipientsOutputSchema, EmailSendBatchBodySchema, EmailSendBodySchema, EmailSettingsInputSchema, EmailSettingsSchema, EmailTemplateCreateInputSchema, EmailTemplateInputSchema, EmailTemplateItemOutputSchema, EmailTemplateItemOutputWritableSchema, EmailTemplateListItemOutputSchema, EmailTemplateOutputSchema, EmailTemplateOutputWritableSchema, EmailTemplateUpdateInputSchema, EmailValidationItemSchema, EmailVerificationInputSchema, EmailVerificationValidateInputSchema, EmailVerificationValidateOutputSchema, EmailsListOrder, ErrorSchema, EsignSettingsSchema, EstimateAggregationsSchema, EstimateCollectionSchema, EstimateCollectionWritableSchema, EstimateComputeSchema, EstimateComputeWritableSchema, EstimateCreateSchema, EstimateCreateWritableSchema, EstimateFiltersSchema, EstimateOneEmbedSchema, EstimateOneEmbedWritableSchema, EstimateOneSchema, EstimateOneWritableSchema, EstimateSchema, EstimateStatusUpdateSchema, EstimateUpdateSchema, EstimateUpdateWritableSchema, EstimateWritableSchema, ExportParamsSchema, FavouriteFiltersOrder, FavouriteFiltersSchema, FileOutputSchema, FileOutputWritableSchema, FiscalYearSchema, GenerateBackupCodeInputSchema, ImportModelSchema, ImportPrepareInputSchema, ImportStartInputSchema, ImportType, ImportValidateInputSchema, IndividualPreferencesSchema, IndividualPreferencesWritableSchema, InvoiceComputeSchema, InvoiceComputeWritableSchema, InvoiceCreateSchema, InvoiceCreateWritableSchema, InvoiceFiltersSchema, InvoiceOneSchema, InvoiceOneWritableSchema, InvoiceOrProgressInvoiceOneSchema, InvoiceOrProgressInvoiceOneWritableSchema, InvoiceOrder, InvoiceSchema, InvoiceUpdateSchema, InvoiceUpdateWritableSchema, InvoiceWritableSchema, InvoicingConformityStateSchema, InvoicingConformityStateWritableSchema, InvoicingPaymentSchema, InvoicingSearchFiltersSchema, InvoicingSearchSchema, InvoicingSettingsMetadataSchema, ItemInputPriceSchema, ItemOrder, ItemPriceSchema, ItemReadItemSchema, LabelBaseItemSchema, LabelBaseItemWritableSchema, LabelOrder, LabelSchema, LabelWritableSchema, Language, LanguageCollectionSchema, LicenseEditSchema, LicenseReadSchema, LinkCompanyContactSchema, LinkPaymentToDocumentSchema, ListFilesOutputSchema, ListFilesOutputWritableSchema, ListingCollectionExportStartSchema, ListingExportItemSchema, ListingExportRescheduleSchema, ListingExportStartSchema, ListingExportUpdateSchema, ListingUserContextSchema, MailchimpSettingsSchema, MailjetSettingsSchema, MarketingAttributeDiffOutputSchema, MarketingAttributeInputSchema, MarketingAttributeOutputSchema, MarketingProvidersSchema, ModelOneSchema, ModelOneWritableSchema, ModelOrder, ModelSchema, ModelWritableSchema, MoveFileInputSchema, NotificationFiltersSchema, NotificationMarkAsReadSchema, NotificationMetadataSchema, NotificationSchema, NotificationSettingsInputSchema, NotificationSettingsOutputSchema, NotificationWritableSchema, ObjectiveCollectionOutputSchema, ObjectiveCollectionOutputWritableSchema, ObjectiveComputeTurnoverInputSchema, ObjectiveComputeTurnoverOutputSchema, ObjectiveMetadataSchema, ObjectiveMetadataUpsellSchema, ObjectiveOrder, ObjectiveOutputSchema, ObjectiveSearchInputSchema, ObjectiveTurnoverInputSchema, ObjectiveTurnoverUpdateInputSchema, OcrOrder, OcrPurInvoiceMetasSchema, OcrSchema, OcrWritableSchema, OnboardingScreenOutputSchema, OpportunitiesAggregationsSchema, OpportunitiesCategoryItemSchema, OpportunitiesCategoryItemWritableSchema, OpportunityCreateSchema, OpportunityFiltersSchema, OpportunityItemSchema, OpportunityItemWritableSchema, OpportunityOrder, OpportunityPatchSchema, OpportunityPipelineCollectionItemSchema, OpportunityPipelineCollectionItemWritableSchema, OpportunityPipelineFiltersSchema, OpportunityPipelineOrder, OpportunityRankUpdateSchema, OpportunitySourceCollectionItemSchema, OpportunitySourceCollectionItemWritableSchema, OpportunitySourceFiltersSchema, OpportunitySourceOrder, OpportunityUpdateSchema, OrderComputeSchema, OrderComputeWritableSchema, OrderCreateSchema, OrderCreateWritableSchema, OrderFiltersSchema, OrderOneSchema, OrderOneWritableSchema, OrderOrder, OrderSchema, OrderUpdateSchema, OrderUpdateWritableSchema, OrderWritableSchema, OwnerSchema, PaginationSchema, PartialEmailHeaderSchema, PaymentMethodOrder, PaymentMethodSchema, PaymentMethodWritableSchema, PaymentProviderSchema, PaymentSchema, PaymentTermSchema, PaymentWritableSchema, PersonalAccessTokenCreateItemSchema, PersonalAccessTokenItemSchema, PersonalAccessTokenMetasSchema, PersonalAccessTokenMetasWritableSchema, PhoneCallCollectionItemSchema, PhoneCallCollectionItemWritableSchema, PhoneCallCreateItemSchema, PhoneCallFilterSchema, PhoneCallItemSchema, PhoneCallItemWritableSchema, PhoneCallOrder, PhoneCallUpdateItemSchema, PipelineStepFiltersSchema, PipelineStepOrder, PredictPlanSchema, ProfileOrder, ProfilesSchema, ProformaInvoiceOneSchema, ProformaInvoiceOneWritableSchema, ProgressInvoiceComputeSchema, ProgressInvoiceComputeWritableSchema, ProgressInvoiceCreateSchema, ProgressInvoiceCreateWritableSchema, ProgressInvoiceDocType, ProgressInvoiceMetadataSchema, ProgressInvoiceMetadataWritableSchema, ProgressInvoiceOneSchema, ProgressInvoiceOneWritableSchema, ProgressInvoiceUpdateSchema, ProgressInvoiceUpdateWritableSchema, ProposalDocumentSchema, ProposalDocumentWritableSchema, ProposalModelSchema, ProposalModelWritableSchema, ProviderCalendarSchema, QuotasSchema, RateCategoryMetadataSchema, RelatedSchema, ReportAggregationSchema, ReportSchema, ReportWritableSchema, SaleEmbedSchema, SaleEmbedWritableSchema, SaleOrder, ScanFetchSchema, ScanListSchema, SearchResultAggregationsSchema, SearchResultBaseItemSchema, SearchResultBaseItemWritableSchema, SearchResultSchema, SearchResultWritableSchema, SocialSchema, StaffAclSchema, StaffAutocompleteResultItemSchema, StaffAutocompleteResultItemWritableSchema, StaffCreateItemSchema, StaffFiltersSchema, StaffOrder, StaffPreferencesSchema, StaffPreferencesWritableSchema, StaffRestrictedViewSchema, StaffRestrictedViewWritableSchema, StaffSchema, StaffUpdateItemSchema, StaffWritableSchema, StancerSettingsSchema, SubscriptionCreateSchema, SubscriptionOneSchema, SubscriptionSchema, TaskCollectionItemSchema, TaskCollectionItemWritableSchema, TaskCreateItemSchema, TaskFilterSchema, TaskItemSchema, TaskItemWritableSchema, TaskOrder, TaskUpdateItemSchema, TaxFilterSchema, TaxSettingsInputSchema, TaxSettingsOutputSchema, TaxesMetadataSchema, TeamSchema, TeamWritableSchema, TwoFactorAuthenticationSettingsInputSchema, TwoFactorAuthenticationSettingsSchema, TwoFactorAuthenticationSettingsWritableSchema, UnitOrder, UnitSchema, UnitSuggestionInputSchema, UnitSuggestionOutputSchema, UnitWritableSchema, UnitsSettingsSchema, UpdateCompanyPreferencesSchema, UpdateCompanySharingSchema, UpdateDirectorySchema, UpdateDiscountInclTaxesSchema, UpdateDocumentSharingSchema, UpdateIndividualPreferencesSchema, UpdateIndividualSharingSchema, UpdateItemSchema, UpdateLinkCompanyContactSchema, UploadFileInputSchema, UserTwoFactorAuthenticationSettingsSchema, UserUpdateTwoFactorAuthenticationSettingsResponseSchema, UserUpdateTwoFactorAuthenticationSettingsSchema, ValidateInvoiceSchema, WarehouseSchema, WarehouseWritableSchema, WebhookCreateItemSchema, WebhookEditItemSchema, WebhookEventsListSchema, WebhookFiltersSchema, WebhookReadItemSchema, activateInvoicingConformity, autocompleteSmartTags, buildClientParams, cancelEsignEstimate, cancelEsignOrder, cancelEsignProposalDocument, client, computeCreditNote, computeDepositInvoice, computeEstimate, computeInvoice, computeOrder, computeProgressInvoice, convertCompany, convertIndividual, convertModel, corporationStaffAggregationSchema, corporationStaffAggregationWritableSchema, createAccountingCode, createBatch, createCalendarEvent, createClient, createClientWithApiKey, createComment, createCompany, createCompanyAddress, createCompanyPayment, createConfig, createContact, createContactAddress, createCreditNote, createDepositInvoice, createDirectory, createDiscountInclTaxes, createEsignEstimate, createEsignOrder, createEsignProposalDocument, createEstimate, createIndividual, createIndividualAddress, createIndividualPayment, createInvoice, createItem, createModel, createOpportunity, createOrder, createPhoneCall, createProgressInvoice, createRateCategory, createStaff, createSubscription, createTask, createTax, createWebhook, deleteAccountingCode, deleteCalendarEvent, deleteClients, deleteComment, deleteCompany, deleteCompanyAddress, deleteContact, deleteContactAddress, deleteCustomActivitiesId, deleteDirectory, deleteDiscountInclTaxes, deleteFile, deleteIndividual, deleteIndividualAddress, deleteItem, deleteModel, deleteNotification, deleteOpportunity, deletePayment, deletePhoneCall, deleteRateCategory, deleteSmartTags, deleteStaffLicenses, deleteSubscription, deleteTask, deleteTax, deleteWebhook, exportAccountingJournal, exportCompanies, exportContacts, exportCrmActivities, exportEstimates, exportExports, exportInvoices, exportOpportunities, fetchClients, generateProposalDocument, getAccountSubscription, getAccountingChartsSettings, getAccountingCodes, getAccountingJournal, getAccountsDocuments, getAddresses, getAssignedStaffLabels, getBankAccounts, getCalendarEvent, getCalendarEvents, getCalendarEventsLabels, getCalendars, getCheckLabels, getComment, getComments, getCompanies, getCompany, getCompanyAddress, getCompanyAddresses, getCompanyContacts, getCompanyCustomFields, getCompanyFavouriteFilters, getCompanyFiles, getCompanySmartTags, getContact, getContactAddress, getContactAddresses, getContactCompanies, getContactCustomFields, getContactFavouriteFilters, getContactFiles, getContactSmartTags, getContacts, getCountries, getCreditNote, getCreditNoteCustomFields, getCreditNoteFavouriteFilters, getCreditNoteFiles, getCreditNoteInvoices, getCreditNotePayments, getCreditNoteSmartTags, getCreditNotes, getCrmActivities, getCurrencies, getCustomActivities, getCustomActivitiesId, getCustomActivityTypes, getCustomActivityTypesId, getCustomField, getCustomFields, getDeliveries, getDelivery, getDepositInvoice, getDepositInvoiceCreditNotes, getDepositInvoiceCustomFields, getDepositInvoiceFiles, getDepositInvoicePayments, getDepositInvoiceSmartTags, getDepositInvoices, getDirectory, getDirectoryFiles, getDiscountInclTaxes, getDiscountsInclTaxes, getDocumentLayouts, getEmail, getEmailDomainDnsData, getEmailSettings, getEmailSignatureTags, getEmailTemplate, getEmailTemplateTags, getEmailTemplateWithContent, getEmailTemplates, getEmailThread, getEsignEstimate, getEsignOrder, getEsignProposalDocument, getEstimate, getEstimateCustomFields, getEstimateFavouriteFilters, getEstimateFiles, getEstimatePayments, getEstimateSmartTags, getEstimates, getFile, getFiscalYears, getGocardlessDirectdebitTimeline, getIndividual, getIndividualAddress, getIndividualAddresses, getIndividualContacts, getIndividualCustomFields, getIndividualFavouriteFilters, getIndividualFiles, getIndividualSmartTags, getIndividuals, getInvoice, getInvoiceCreditNotes, getInvoiceCustomFields, getInvoiceFavouriteFilters, getInvoiceFiles, getInvoicePayments, getInvoiceSmartTags, getInvoices, getInvoicingConformityState, getItem, getItemDeclinationPrices, getItemDeclinations, getItemFavouriteFilters, getItemPrices, getItems, getLanguages, getListingExport, getMandates, getModel, getModelTags, getModels, getNotifications, getNotificationsSettings, getOcrPurInvoice, getOcrPurInvoiceMetas, getOpportunities, getOpportunitiesCategories, getOpportunitiesCategory, getOpportunity, getOpportunityCategorySources, getOpportunityCustomFields, getOpportunityFavouriteFilters, getOpportunityFiles, getOpportunityPipelineSteps, getOpportunityPipelines, getOpportunitySmartTags, getOpportunitySources, getOrder, getOrderCustomFields, getOrderFavouriteFilters, getOrderFiles, getOrderPayments, getOrderSmartTags, getOrders, getPayment, getPaymentMethod, getPaymentMethods, getPaymentTerms, getPayments, getPhoneCall, getPhoneCalls, getPrimes, getProfiles, getProformaInvoiceCustomFields, getProposalDocument, getProposalModel, getProposalsModels, getQuotas, getRateCategories, getRateCategory, getScopes, getScopesTree, getStaff, getStaffs, getSubscription, getSubscriptions, getSubscriptionsPaymentInstallments, getSystemEmailTemplateWithContent, getTask, getTasks, getTasksLabels, getTax, getTaxAccountingChart, getTaxes, getTaxesAccountingCharts, getTeams, getUnits, getWebhook, getWebhookEvents, getWebhooks, linkCompanyContact, linkCompanySmartTags, linkContactSmartTags, linkCreditNoteDiscountInclTaxes, linkCreditNotePayment, linkCreditNotePrime, linkCreditNoteSmartTags, linkCreditNoteToInvoice, linkDepositInvoicePayment, linkDepositInvoiceSmartTags, linkEstimateDiscountInclTaxes, linkEstimatePayment, linkEstimatePrime, linkEstimateSmartTags, linkIndividualSmartTags, linkInvoiceDiscountInclTaxes, linkInvoicePayment, linkInvoicePrime, linkInvoiceSmartTags, linkInvoiceToCreditNote, linkOpportunitySmartTags, linkOrderDiscountInclTaxes, linkOrderPayment, linkOrderPrime, linkOrderSmartTags, listClients, listListingExports, markAllNotificationsAsRead, markNotificationAsRead, mergeHeaders, metaAccountingJournal, metaCrmActivities, moveFile, patchOpportunity, patchSubscriptionPaymentInstallment, postCustomActivities, postCustomActivitiesSearch, postCustomActivityTypes, prepareDepositInvoice, purCreditNoteOneSchema, purCreditNoteOneWritableSchema, purDeliveryOneSchema, purDeliveryOneWritableSchema, purInvoiceOneSchema, purInvoiceOneWritableSchema, purOrderOneSchema, purOrderOneWritableSchema, putAccountingChartsSettings, putCustomActivitiesId, putCustomActivityTypesId, putEmailSettings, putItemPrices, putNotificationsSettings, putStaffLicenses, quickCreateDepositInvoice, rescheduleListingExport, search, searchAccountingCodes, searchAccountingJournal, searchActivities, searchAllOpportunityPipelineSteps, searchBarcodes, searchCalendarEvents, searchComments, searchCompanies, searchContacts, searchCreditNotes, searchCrmActivities, searchCustomFields, searchDeliveries, searchDepositInvoices, searchEstimates, searchIndividuals, searchInvoices, searchItemDeclinations, searchItems, searchListingExports, searchMandates, searchModels, searchNotifications, searchOcrPurInvoice, searchOpportunities, searchOpportunityPipelineSteps, searchOpportunityPipelines, searchOpportunitySources, searchOrders, searchPaymentMethods, searchPayments, searchPhoneCalls, searchProposalsModels, searchStaffs, searchSubscriptions, searchSubscriptionsPaymentInstallments, searchTasks, searchTaxes, searchTimeline, searchWebhooks, sendEmail, unlinkCompanyContact, unlinkCreditNoteDiscountInclTaxes, unlinkCreditNoteInvoices, unlinkCreditNotePayment, unlinkCreditNotePrime, unlinkDepositInvoicePayment, unlinkEstimateDiscountInclTaxes, unlinkEstimatePayment, unlinkEstimatePrime, unlinkInvoiceDiscountInclTaxes, unlinkInvoicePayment, unlinkInvoicePrime, unlinkInvoicesCreditNote, unlinkOrderDiscountInclTaxes, unlinkOrderPayment, unlinkOrderPrime, updateCalendarEvent, updateComment, updateCompany, updateCompanyAddress, updateCompanyContact, updateCompanyCustomFields, updateCompanySharing, updateContact, updateContactAddress, updateContactCustomFields, updateCreditNote, updateCreditNoteCustomFields, updateCreditNoteSharing, updateDeliverySharing, updateDepositInvoice, updateDepositInvoiceCustomFields, updateDepositInvoiceSharing, updateDirectory, updateDiscountInclTaxes, updateDocumentModelSharing, updateEstimate, updateEstimateCustomFields, updateEstimateSharing, updateEstimateStatus, updateIndividual, updateIndividualAddress, updateIndividualCustomFields, updateIndividualSharing, updateInvoice, updateInvoiceCustomFields, updateInvoiceSharing, updateItem, updateListingExport, updateModel, updateOpportunity, updateOpportunityCustomFields, updateOpportunityRank, updateOrder, updateOrderCustomFields, updateOrderSharing, updatePhoneCall, updateProformaInvoiceSharing, updateProgressInvoice, updateProgressInvoiceSharing, updateRateCategory, updateStaff, updateTask, updateTax, updateTaxAccountingChart, updateWebhook, uploadCompanyFile, uploadContactFile, uploadCreditNoteFile, uploadDepositInvoiceFile, uploadDirectoryFile, uploadEmailAttachment, uploadEstimateFile, uploadIndividualFile, uploadInvoiceFile, uploadOpportunityFile, uploadOrderFile, validateCreditNote, validateDepositInvoice, validateEmailDomainDns, validateInvoice };
62657
+ export { AccountDocumentCollectionSchema, AccountDocumentCollectionWritableSchema, AccountDocumentOrder, AccountingAggregationsSchema, AccountingCodeCreateSchema, AccountingCodeSchema, AccountingCodeWritableSchema, AccountingJournalExportParamsSchema, AccountingJournalSchema, AccountingJournalWritableSchema, AccountingMetasSchema, AccountingOrder, ActivityFiltersSchema, ActivityOrder, ActivitySchema, ActivityWritableSchema, AddressCreateSchema, AddressSchema, AddressUpdateSchema, AddressWritableSchema, AdyenSettingsSchema, AssignedStaffLabelSchema, BackupCodeSchema, BackupCodesSchema, BankAccountSchema, BankAccountWritableSchema, BarcodeReadItemSchema, BatchAssignedStaffLabelInputSchema, BatchUnitInputSchema, CalendarEventCreateItemSchema, CalendarEventFiltersSchema, CalendarEventItemSchema, CalendarEventItemWritableSchema, CalendarEventOrder, CalendarEventUpdateItemSchema, CheckLabelOrders, CheckLabelSchema, ClientCreateSchema, ClientCreateWritableSchema, ClientSchema, ClientUpdateSchema, ClientUpdateWritableSchema, ClientWSecretSchema, ClientWSecretWritableSchema, ClientWritableSchema, CommentCreateItemSchema, CommentFiltersSchema, CommentItemSchema, CommentItemWritableSchema, CommentOrder, CommentUpdateItemSchema, CompanyPreferencesSchema, CompanyPreferencesWritableSchema, CompanySchema, CompanyWritableSchema, ComputedProgresssInvoiceSchema, ConsentMarketingSettingsInputSchema, ConsentSettingsInputSchema, ConsentSettingsOuputSchema, ContactCollectionItemSchema, ContactCollectionItemWritableSchema, ContactCreateItemSchema, ContactCreateItemWritableSchema, ContactFiltersSchema, ContactItemSchema, ContactItemWritableSchema, ContactOrders, ContactUpdateItemSchema, ContactUpdateItemWritableSchema, CorporationSubscriptionSchema, CountrySchema, CreateDirectorySchema, CreateItemSchema, CreateModelSchema, CreateModelWritableSchema, CreatePaymentSchema, CreditNoteComputeSchema, CreditNoteComputeWritableSchema, CreditNoteCreateSchema, CreditNoteCreateWritableSchema, CreditNoteFiltersSchema, CreditNoteOneSchema, CreditNoteOneWritableSchema, CreditNoteOrder, CreditNoteSchema, CreditNoteUpdateSchema, CreditNoteUpdateWritableSchema, CreditNoteValidateSchema, CreditNoteWritableSchema, CrmActivityAggregationsSchema, CrmActivityFiltersSchema, CrmActivityMetasSchema, CrmActivityMetasWritableSchema, CrmActivityOrder, CrmActivitySchema, CrmActivityWritableSchema, CurrencySchema, CurrencyWritableSchema, CustomActivityCreateSchema, CustomActivityCreateWritableSchema, CustomActivityFiltersSchema, CustomActivityOrder, CustomActivitySchema, CustomActivityTypeSchema, CustomActivityTypeWritableSchema, CustomActivityWritableSchema, DealsActivityOrder, DealsBatchSchema, DealsFiltersSchema, DealsSchema, DealsWritableSchema, DeclinationReadSchema, DeliveryFiltersSchema, DeliveryOneSchema, DeliveryOneWritableSchema, DeliveryOrder, DeliverySchema, DeliveryWritableSchema, DepositInvoiceComputeInputSchema, DepositInvoiceComputeInputWritableSchema, DepositInvoiceComputeOutputSchema, DepositInvoiceCreateSchema, DepositInvoiceCreateWritableSchema, DepositInvoiceDocType, DepositInvoiceFilterSchema, DepositInvoiceMetadataSchema, DepositInvoiceMetadataWritableSchema, DepositInvoiceOneSchema, DepositInvoiceOneWritableSchema, DepositInvoicePrepareInputSchema, DepositInvoicePrepareOutputSchema, DepositInvoiceUpdateSchema, DepositInvoiceUpdateWritableSchema, Direction, DiscountInclTaxesDocumentInputSchema, DiscountInclTaxesInputSchema, DiscountInclTaxesOutputSchema, DiscountInclTaxesOutputWritableSchema, DocumentLayoutsCollectionSchema, EInvoicingMandateInputSchema, EInvoicingMandateInputWritableSchema, EInvoicingMandateSchema, EmailAttachmentOutputSchema, EmailAuthenticationItemSchema, EmailDeleteBatchBodySchema, EmailEngineItemSchema, EmailEngineItemWritableSchema, EmailItemSchema, EmailItemWritableSchema, EmailProviderMessageSchema, EmailProviderMessageWritableSchema, EmailProviderThreadSchema, EmailProviderThreadUpdateSchema, EmailRecipientSearchOutputSchema, EmailRecipientSearchOutputWritableSchema, EmailRecipientSuggestionOutputSchema, EmailRecipientsOutputSchema, EmailSendBatchBodySchema, EmailSendBodySchema, EmailSettingsInputSchema, EmailSettingsSchema, EmailTemplateCreateInputSchema, EmailTemplateInputSchema, EmailTemplateItemOutputSchema, EmailTemplateItemOutputWritableSchema, EmailTemplateListItemOutputSchema, EmailTemplateOutputSchema, EmailTemplateOutputWritableSchema, EmailTemplateUpdateInputSchema, EmailValidationItemSchema, EmailVerificationInputSchema, EmailVerificationValidateInputSchema, EmailVerificationValidateOutputSchema, EmailsListOrder, ErrorSchema, EsignSettingsSchema, EstimateAggregationsSchema, EstimateCollectionSchema, EstimateCollectionWritableSchema, EstimateComputeSchema, EstimateComputeWritableSchema, EstimateCreateSchema, EstimateCreateWritableSchema, EstimateFiltersSchema, EstimateOneEmbedSchema, EstimateOneEmbedWritableSchema, EstimateOneSchema, EstimateOneWritableSchema, EstimateSchema, EstimateStatusUpdateSchema, EstimateUpdateSchema, EstimateUpdateWritableSchema, EstimateWritableSchema, ExportParamsSchema, FavouriteFiltersOrder, FavouriteFiltersSchema, FileOutputSchema, FileOutputWritableSchema, FiscalYearSchema, GenerateBackupCodeInputSchema, ImportModelSchema, ImportPrepareInputSchema, ImportStartInputSchema, ImportType, ImportValidateInputSchema, IndividualPreferencesSchema, IndividualPreferencesWritableSchema, IndividualSchema, IndividualWritableSchema, InvoiceComputeSchema, InvoiceComputeWritableSchema, InvoiceCreateSchema, InvoiceCreateWritableSchema, InvoiceFiltersSchema, InvoiceOneSchema, InvoiceOneWritableSchema, InvoiceOrProgressInvoiceOneSchema, InvoiceOrProgressInvoiceOneWritableSchema, InvoiceOrder, InvoiceSchema, InvoiceUpdateSchema, InvoiceUpdateWritableSchema, InvoiceWritableSchema, InvoicingConformityStateSchema, InvoicingConformityStateWritableSchema, InvoicingPaymentSchema, InvoicingSearchFiltersSchema, InvoicingSearchSchema, InvoicingSettingsMetadataSchema, ItemInputPriceSchema, ItemOrder, ItemPriceSchema, ItemReadItemSchema, LabelBaseItemSchema, LabelBaseItemWritableSchema, LabelOrder, LabelSchema, LabelWritableSchema, Language, LanguageCollectionSchema, LicenseEditSchema, LicenseReadSchema, LinkCompanyContactSchema, LinkPaymentToDocumentSchema, ListFilesOutputSchema, ListFilesOutputWritableSchema, ListingCollectionExportStartSchema, ListingExportItemSchema, ListingExportRescheduleSchema, ListingExportStartSchema, ListingExportUpdateSchema, ListingUserContextSchema, MailchimpSettingsSchema, MailjetSettingsSchema, MarketingAttributeDiffOutputSchema, MarketingAttributeInputSchema, MarketingAttributeOutputSchema, MarketingProvidersSchema, ModelOneSchema, ModelOneWritableSchema, ModelOrder, ModelSchema, ModelWritableSchema, MoveFileInputSchema, NotificationFiltersSchema, NotificationMarkAsReadSchema, NotificationMetadataSchema, NotificationSchema, NotificationSettingsInputSchema, NotificationSettingsOutputSchema, NotificationWritableSchema, ObjectiveCollectionOutputSchema, ObjectiveCollectionOutputWritableSchema, ObjectiveComputeTurnoverInputSchema, ObjectiveComputeTurnoverOutputSchema, ObjectiveMetadataSchema, ObjectiveMetadataUpsellSchema, ObjectiveOrder, ObjectiveOutputSchema, ObjectiveSearchInputSchema, ObjectiveTurnoverInputSchema, ObjectiveTurnoverUpdateInputSchema, OcrOrder, OcrPurInvoiceMetasSchema, OcrSchema, OcrWritableSchema, OnboardingScreenOutputSchema, OpportunitiesAggregationsSchema, OpportunitiesCategoryItemSchema, OpportunitiesCategoryItemWritableSchema, OpportunityCreateSchema, OpportunityFiltersSchema, OpportunityItemSchema, OpportunityItemWritableSchema, OpportunityOrder, OpportunityPatchSchema, OpportunityPipelineCollectionItemSchema, OpportunityPipelineCollectionItemWritableSchema, OpportunityPipelineFiltersSchema, OpportunityPipelineOrder, OpportunityRankUpdateSchema, OpportunitySourceCollectionItemSchema, OpportunitySourceCollectionItemWritableSchema, OpportunitySourceFiltersSchema, OpportunitySourceOrder, OpportunityUpdateSchema, OrderComputeSchema, OrderComputeWritableSchema, OrderCreateSchema, OrderCreateWritableSchema, OrderFiltersSchema, OrderOneSchema, OrderOneWritableSchema, OrderOrder, OrderSchema, OrderUpdateSchema, OrderUpdateWritableSchema, OrderWritableSchema, OwnerSchema, PaginationSchema, PartialEmailHeaderSchema, PaymentContextSchema, PaymentMethodOrder, PaymentMethodSchema, PaymentMethodWritableSchema, PaymentProviderSchema, PaymentSchema, PaymentTermSchema, PaymentWritableSchema, PersonalAccessTokenCreateItemSchema, PersonalAccessTokenItemSchema, PersonalAccessTokenMetasSchema, PersonalAccessTokenMetasWritableSchema, PhoneCallCollectionItemSchema, PhoneCallCollectionItemWritableSchema, PhoneCallCreateItemSchema, PhoneCallFilterSchema, PhoneCallItemSchema, PhoneCallItemWritableSchema, PhoneCallOrder, PhoneCallUpdateItemSchema, PipelineStepFiltersSchema, PipelineStepOrder, PredictPlanSchema, ProfileOrder, ProfilesSchema, ProformaInvoiceOneSchema, ProformaInvoiceOneWritableSchema, ProgressInvoiceComputeSchema, ProgressInvoiceComputeWritableSchema, ProgressInvoiceCreateSchema, ProgressInvoiceCreateWritableSchema, ProgressInvoiceDocType, ProgressInvoiceMetadataSchema, ProgressInvoiceMetadataWritableSchema, ProgressInvoiceOneSchema, ProgressInvoiceOneWritableSchema, ProgressInvoiceUpdateSchema, ProgressInvoiceUpdateWritableSchema, ProposalDocumentSchema, ProposalDocumentWritableSchema, ProposalModelSchema, ProposalModelWritableSchema, ProviderCalendarSchema, QuotasSchema, RateCategoryMetadataSchema, RecordPaymentSchema, RelatedSchema, ReportAggregationSchema, ReportSchema, ReportWritableSchema, SaleEmbedSchema, SaleEmbedWritableSchema, SaleOrder, ScanFetchSchema, ScanListSchema, SearchResultAggregationsSchema, SearchResultBaseItemSchema, SearchResultBaseItemWritableSchema, SearchResultSchema, SearchResultWritableSchema, SocialSchema, StaffAclSchema, StaffAutocompleteResultItemSchema, StaffAutocompleteResultItemWritableSchema, StaffCreateItemSchema, StaffFiltersSchema, StaffOrder, StaffPreferencesSchema, StaffPreferencesWritableSchema, StaffRestrictedViewSchema, StaffRestrictedViewWritableSchema, StaffSchema, StaffUpdateItemSchema, StaffWritableSchema, StancerSettingsSchema, SubscriptionCreateSchema, SubscriptionOneSchema, SubscriptionSchema, TaskCollectionItemSchema, TaskCollectionItemWritableSchema, TaskCreateItemSchema, TaskFilterSchema, TaskItemSchema, TaskItemWritableSchema, TaskOrder, TaskUpdateItemSchema, TaxFilterSchema, TaxSettingsInputSchema, TaxSettingsOutputSchema, TaxesMetadataSchema, TeamSchema, TeamWritableSchema, TwoFactorAuthenticationSettingsInputSchema, TwoFactorAuthenticationSettingsSchema, TwoFactorAuthenticationSettingsWritableSchema, UnitOrder, UnitSchema, UnitSuggestionInputSchema, UnitSuggestionOutputSchema, UnitWritableSchema, UnitsSettingsSchema, UpdateCompanyPreferencesSchema, UpdateCompanySharingSchema, UpdateDirectorySchema, UpdateDiscountInclTaxesSchema, UpdateDocumentSharingSchema, UpdateIndividualPreferencesSchema, UpdateIndividualSharingSchema, UpdateItemSchema, UpdateLinkCompanyContactSchema, UploadFileInputSchema, UserTwoFactorAuthenticationSettingsSchema, UserUpdateTwoFactorAuthenticationSettingsResponseSchema, UserUpdateTwoFactorAuthenticationSettingsSchema, ValidateInvoiceSchema, WarehouseSchema, WarehouseWritableSchema, WebhookCreateItemSchema, WebhookEditItemSchema, WebhookEventsListSchema, WebhookFiltersSchema, WebhookReadItemSchema, activateInvoicingConformity, autocompleteSmartTags, buildClientParams, cancelEsignEstimate, cancelEsignOrder, cancelEsignProposalDocument, client, computeCreditNote, computeDepositInvoice, computeEstimate, computeInvoice, computeOrder, computeProgressInvoice, convertCompany, convertIndividual, convertModel, corporationStaffAggregationSchema, corporationStaffAggregationWritableSchema, createAccountingCode, createBatch, createCalendarEvent, createClient, createClientWithApiKey, createComment, createCompany, createCompanyAddress, createCompanyPayment, createConfig, createContact, createContactAddress, createCreditNote, createDepositInvoice, createDirectory, createDiscountInclTaxes, createEsignEstimate, createEsignOrder, createEsignProposalDocument, createEstimate, createIndividual, createIndividualAddress, createIndividualPayment, createInvoice, createItem, createModel, createOpportunity, createOrder, createPhoneCall, createProgressInvoice, createRateCategory, createStaff, createSubscription, createTask, createTax, createWebhook, deleteAccountingCode, deleteCalendarEvent, deleteClients, deleteComment, deleteCompany, deleteCompanyAddress, deleteContact, deleteContactAddress, deleteCustomActivitiesId, deleteDirectory, deleteDiscountInclTaxes, deleteFile, deleteIndividual, deleteIndividualAddress, deleteItem, deleteModel, deleteNotification, deleteOpportunity, deletePayment, deletePhoneCall, deleteRateCategory, deleteSmartTags, deleteStaffLicenses, deleteSubscription, deleteTask, deleteTax, deleteWebhook, exportAccountingJournal, exportCompanies, exportContacts, exportCrmActivities, exportEstimates, exportExports, exportInvoices, exportOpportunities, fetchClients, generateProposalDocument, getAccountSubscription, getAccountingChartsSettings, getAccountingCodes, getAccountingJournal, getAccountsDocuments, getAddresses, getAssignedStaffLabels, getBankAccounts, getCalendarEvent, getCalendarEvents, getCalendarEventsLabels, getCalendars, getCheckLabels, getComment, getComments, getCompanies, getCompany, getCompanyAddress, getCompanyAddresses, getCompanyContacts, getCompanyCustomFields, getCompanyFavouriteFilters, getCompanyFiles, getCompanySmartTags, getContact, getContactAddress, getContactAddresses, getContactCompanies, getContactCustomFields, getContactFavouriteFilters, getContactFiles, getContactSmartTags, getContacts, getCountries, getCreditNote, getCreditNoteCustomFields, getCreditNoteFavouriteFilters, getCreditNoteFiles, getCreditNoteInvoices, getCreditNotePayments, getCreditNoteSmartTags, getCreditNotes, getCrmActivities, getCurrencies, getCustomActivities, getCustomActivitiesId, getCustomActivityTypes, getCustomActivityTypesId, getCustomField, getCustomFields, getDeliveries, getDelivery, getDepositInvoice, getDepositInvoiceCreditNotes, getDepositInvoiceCustomFields, getDepositInvoiceFiles, getDepositInvoicePayments, getDepositInvoiceSmartTags, getDepositInvoices, getDirectory, getDirectoryFiles, getDiscountInclTaxes, getDiscountsInclTaxes, getDocumentLayouts, getEmail, getEmailDomainDnsData, getEmailSettings, getEmailSignatureTags, getEmailTemplate, getEmailTemplateTags, getEmailTemplateWithContent, getEmailTemplates, getEmailThread, getEsignEstimate, getEsignOrder, getEsignProposalDocument, getEstimate, getEstimateCustomFields, getEstimateFavouriteFilters, getEstimateFiles, getEstimatePayments, getEstimateSmartTags, getEstimates, getFile, getFiscalYears, getGocardlessDirectdebitTimeline, getIndividual, getIndividualAddress, getIndividualAddresses, getIndividualContacts, getIndividualCustomFields, getIndividualFavouriteFilters, getIndividualFiles, getIndividualSmartTags, getIndividuals, getInvoice, getInvoiceCreditNotes, getInvoiceCustomFields, getInvoiceFavouriteFilters, getInvoiceFiles, getInvoicePayments, getInvoiceSmartTags, getInvoices, getInvoicingConformityState, getItem, getItemDeclinationPrices, getItemDeclinations, getItemFavouriteFilters, getItemPrices, getItems, getLanguages, getListingExport, getMandates, getModel, getModelTags, getModels, getNotifications, getNotificationsSettings, getOcrPurInvoice, getOcrPurInvoiceMetas, getOpportunities, getOpportunitiesCategories, getOpportunitiesCategory, getOpportunity, getOpportunityCategorySources, getOpportunityCustomFields, getOpportunityFavouriteFilters, getOpportunityFiles, getOpportunityPipelineSteps, getOpportunityPipelines, getOpportunitySmartTags, getOpportunitySources, getOrder, getOrderCustomFields, getOrderFavouriteFilters, getOrderFiles, getOrderPayments, getOrderSmartTags, getOrders, getPayment, getPaymentMethod, getPaymentMethods, getPaymentTerms, getPayments, getPhoneCall, getPhoneCalls, getPrimes, getProfiles, getProformaInvoiceCustomFields, getProposalDocument, getProposalModel, getProposalsModels, getQuotas, getRateCategories, getRateCategory, getScopes, getScopesTree, getStaff, getStaffs, getSubscription, getSubscriptions, getSubscriptionsPaymentInstallments, getSystemEmailTemplateWithContent, getTask, getTasks, getTasksLabels, getTax, getTaxAccountingChart, getTaxes, getTaxesAccountingCharts, getTeams, getUnits, getWebhook, getWebhookEvents, getWebhooks, linkCompanyContact, linkCompanySmartTags, linkContactSmartTags, linkCreditNoteDiscountInclTaxes, linkCreditNotePayment, linkCreditNotePrime, linkCreditNoteSmartTags, linkCreditNoteToInvoice, linkDepositInvoicePayment, linkDepositInvoiceSmartTags, linkEstimateDiscountInclTaxes, linkEstimatePayment, linkEstimatePrime, linkEstimateSmartTags, linkIndividualSmartTags, linkInvoiceDiscountInclTaxes, linkInvoicePayment, linkInvoicePrime, linkInvoiceSmartTags, linkInvoiceToCreditNote, linkOpportunitySmartTags, linkOrderDiscountInclTaxes, linkOrderPayment, linkOrderPrime, linkOrderSmartTags, listClients, listListingExports, markAllNotificationsAsRead, markNotificationAsRead, mergeHeaders, metaAccountingJournal, metaCrmActivities, moveFile, patchOpportunity, patchSubscriptionPaymentInstallment, postCustomActivities, postCustomActivitiesSearch, postCustomActivityTypes, prepareDepositInvoice, purCreditNoteOneSchema, purCreditNoteOneWritableSchema, purDeliveryOneSchema, purDeliveryOneWritableSchema, purInvoiceOneSchema, purInvoiceOneWritableSchema, purOrderOneSchema, purOrderOneWritableSchema, putAccountingChartsSettings, putCustomActivitiesId, putCustomActivityTypesId, putEmailSettings, putItemPrices, putNotificationsSettings, putStaffLicenses, quickCreateDepositInvoice, rescheduleListingExport, search, searchAccountingCodes, searchAccountingJournal, searchActivities, searchAllOpportunityPipelineSteps, searchBarcodes, searchCalendarEvents, searchComments, searchCompanies, searchContacts, searchCreditNotes, searchCrmActivities, searchCustomFields, searchDeliveries, searchDepositInvoices, searchEstimates, searchIndividuals, searchInvoices, searchItemDeclinations, searchItems, searchListingExports, searchMandates, searchModels, searchNotifications, searchOcrPurInvoice, searchOpportunities, searchOpportunityPipelineSteps, searchOpportunityPipelines, searchOpportunitySources, searchOrders, searchPaymentMethods, searchPayments, searchPhoneCalls, searchProposalsModels, searchStaffs, searchSubscriptions, searchSubscriptionsPaymentInstallments, searchTasks, searchTaxes, searchTimeline, searchWebhooks, sendEmail, unlinkCompanyContact, unlinkCreditNoteDiscountInclTaxes, unlinkCreditNoteInvoices, unlinkCreditNotePayment, unlinkCreditNotePrime, unlinkDepositInvoicePayment, unlinkEstimateDiscountInclTaxes, unlinkEstimatePayment, unlinkEstimatePrime, unlinkInvoiceDiscountInclTaxes, unlinkInvoicePayment, unlinkInvoicePrime, unlinkInvoicesCreditNote, unlinkOrderDiscountInclTaxes, unlinkOrderPayment, unlinkOrderPrime, updateCalendarEvent, updateComment, updateCompany, updateCompanyAddress, updateCompanyContact, updateCompanyCustomFields, updateContact, updateContactAddress, updateContactCustomFields, updateCreditNote, updateCreditNoteCustomFields, updateDepositInvoice, updateDepositInvoiceCustomFields, updateDirectory, updateDiscountInclTaxes, updateEstimate, updateEstimateCustomFields, updateEstimateStatus, updateIndividual, updateIndividualAddress, updateIndividualCustomFields, updateInvoice, updateInvoiceCustomFields, updateItem, updateListingExport, updateModel, updateOpportunity, updateOpportunityCustomFields, updateOpportunityRank, updateOrder, updateOrderCustomFields, updatePhoneCall, updateProgressInvoice, updateRateCategory, updateStaff, updateTask, updateTax, updateTaxAccountingChart, updateWebhook, uploadCompanyFile, uploadContactFile, uploadCreditNoteFile, uploadDepositInvoiceFile, uploadDirectoryFile, uploadEmailAttachment, uploadEstimateFile, uploadIndividualFile, uploadInvoiceFile, uploadOpportunityFile, uploadOrderFile, validateCreditNote, validateDepositInvoice, validateEmailDomainDns, validateInvoice };
60965
62658
  //# sourceMappingURL=index.mjs.map