@getyetty-sdk/sellsy 2026.7.2 → 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.d.mts CHANGED
@@ -5195,7 +5195,7 @@ type Deals = {
5195
5195
  */
5196
5196
  related?: Array<{
5197
5197
  id?: number;
5198
- type?: 'opportunity' | 'company' | 'individual' | 'contact' | 'invoice' | 'creditnote' | 'estimate' | 'order' | 'delivery';
5198
+ type?: 'opportunity' | 'company' | 'individual' | 'contact' | 'invoice' | 'creditnote' | 'estimate' | 'order' | 'delivery' | 'model' | 'purchase-invoice' | 'purchase-creditnote' | 'purchase-order' | 'purchase-delivery' | 'item';
5199
5199
  }>;
5200
5200
  /**
5201
5201
  * Owner of the task
@@ -7671,7 +7671,7 @@ type TaskItem = _heyapi_439_ & {
7671
7671
  /**
7672
7672
  * Objects linked to the task
7673
7673
  */
7674
- related?: Array<_heyapi_435_ | _heyapi_436_ | _heyapi_437_ | _heyapi_438_ | _heyapi_568_ | _heyapi_569_ | _heyapi_472_>;
7674
+ related?: Array<_heyapi_435_ | _heyapi_436_ | _heyapi_437_ | _heyapi_438_ | _heyapi_568_ | _heyapi_569_ | _heyapi_472_ | _heyapi_570_ | _heyapi_571_ | _heyapi_572_ | _heyapi_573_ | _heyapi_574_>;
7675
7675
  company?: _heyapi_435_;
7676
7676
  individual?: _heyapi_436_;
7677
7677
  contact?: _heyapi_437_;
@@ -7679,7 +7679,7 @@ type TaskItem = _heyapi_439_ & {
7679
7679
  /**
7680
7680
  * Task ACL
7681
7681
  */
7682
- acl?: _heyapi_570_ | null;
7682
+ acl?: _heyapi_575_ | null;
7683
7683
  };
7684
7684
  };
7685
7685
  /**
@@ -7691,7 +7691,7 @@ type TaskCollectionItem = _heyapi_439_ & {
7691
7691
  *
7692
7692
  * Objects add to response. Use embed parameter
7693
7693
  */
7694
- _embed?: _heyapi_572_;
7694
+ _embed?: _heyapi_577_;
7695
7695
  };
7696
7696
  /**
7697
7697
  * TaskCreateItem
@@ -7740,7 +7740,7 @@ type TaskCreateItem = {
7740
7740
  */
7741
7741
  related: Array<{
7742
7742
  id: number;
7743
- type: 'opportunity' | 'company' | 'individual' | 'contact' | 'estimate' | 'invoice' | 'creditnote' | 'order' | 'delivery';
7743
+ type: 'opportunity' | 'company' | 'individual' | 'contact' | 'estimate' | 'invoice' | 'creditnote' | 'order' | 'delivery' | 'model' | 'purchase-invoice' | 'purchase-creditnote' | 'purchase-order' | 'purchase-delivery' | 'item';
7744
7744
  }>;
7745
7745
  /**
7746
7746
  * Owner of the task (Staff id expected)
@@ -7756,7 +7756,7 @@ type TaskCreateItem = {
7756
7756
  */
7757
7757
  related: Array<{
7758
7758
  id: number;
7759
- type: 'opportunity' | 'company' | 'individual' | 'contact' | 'estimate' | 'invoice' | 'creditnote' | 'order' | 'delivery';
7759
+ type: 'opportunity' | 'company' | 'individual' | 'contact' | 'estimate' | 'invoice' | 'creditnote' | 'order' | 'delivery' | 'model' | 'purchase-invoice' | 'purchase-creditnote' | 'purchase-order' | 'purchase-delivery' | 'item';
7760
7760
  }>;
7761
7761
  /**
7762
7762
  * Date of creation of the calendar event
@@ -7814,7 +7814,7 @@ type TaskUpdateItem = {
7814
7814
  */
7815
7815
  related?: Array<{
7816
7816
  id: number;
7817
- type: 'opportunity' | 'company' | 'individual' | 'contact' | 'estimate' | 'invoice' | 'creditnote' | 'order' | 'delivery';
7817
+ type: 'opportunity' | 'company' | 'individual' | 'contact' | 'estimate' | 'invoice' | 'creditnote' | 'order' | 'delivery' | 'model' | 'purchase-invoice' | 'purchase-creditnote' | 'purchase-order' | 'purchase-delivery' | 'item';
7818
7818
  }>;
7819
7819
  /**
7820
7820
  * Owner of the task (Staff id expected)
@@ -8030,7 +8030,7 @@ type LabelBaseItem = {
8030
8030
  */
8031
8031
  related?: Array<{
8032
8032
  id?: number;
8033
- type?: 'opportunity' | 'company' | 'individual' | 'contact' | 'invoice' | 'creditnote' | 'estimate' | 'order' | 'delivery';
8033
+ type?: 'opportunity' | 'company' | 'individual' | 'contact' | 'invoice' | 'creditnote' | 'estimate' | 'order' | 'delivery' | 'model' | 'purchase-invoice' | 'purchase-creditnote' | 'purchase-order' | 'purchase-delivery' | 'item';
8034
8034
  }>;
8035
8035
  /**
8036
8036
  * Owner of the task
@@ -8096,7 +8096,7 @@ type SearchResult = Array<({
8096
8096
  object?: {
8097
8097
  type?: 'contact' | 'company' | 'individual' | 'opportunity' | 'purchase' | 'item' | 'declination' | 'document' | 'staff' | 'redactor';
8098
8098
  id?: number;
8099
- sub_type?: 'contact' | 'opportunity' | 'client' | 'prospect' | 'supplier' | 'purInvoice' | 'purDelivery' | 'purOrder' | 'purCreditNote' | 'product' | 'packaging' | 'shipping' | 'service' | 'declination' | 'invoice' | 'estimate' | 'creditnote' | 'order' | 'delivery' | 'proforma' | 'staff' | 'document' | 'template';
8099
+ sub_type?: 'contact' | 'opportunity' | 'client' | 'prospect' | 'supplier' | 'purInvoice' | 'purDelivery' | 'purOrder' | 'purCreditNote' | 'product' | 'packaging' | 'shipping' | 'service' | 'declination' | 'invoice' | 'estimate' | 'creditnote' | 'order' | 'model' | 'delivery' | 'proforma' | 'staff' | 'document' | 'template';
8100
8100
  };
8101
8101
  owner?: _heyapi_429_;
8102
8102
  /**
@@ -8166,7 +8166,7 @@ type SearchResult = Array<({
8166
8166
  */
8167
8167
  country_code?: string;
8168
8168
  } | null;
8169
- delivery_address?: _heyapi_580_;
8169
+ delivery_address?: _heyapi_585_;
8170
8170
  /**
8171
8171
  * Company's main contact
8172
8172
  */
@@ -8192,7 +8192,7 @@ type SearchResult = Array<({
8192
8192
  * Company reference
8193
8193
  */
8194
8194
  reference?: string;
8195
- }) | (_heyapi_581_ & {
8195
+ }) | (_heyapi_586_ & {
8196
8196
  /**
8197
8197
  * Individual first name
8198
8198
  */
@@ -8218,13 +8218,13 @@ type SearchResult = Array<({
8218
8218
  */
8219
8219
  phone_number?: string | null;
8220
8220
  email?: string | null;
8221
- invoicing_address?: _heyapi_580_;
8222
- delivery_address?: _heyapi_580_;
8221
+ invoicing_address?: _heyapi_585_;
8222
+ delivery_address?: _heyapi_585_;
8223
8223
  /**
8224
8224
  * Individual reference
8225
8225
  */
8226
8226
  reference?: string;
8227
- }) | (_heyapi_581_ & {
8227
+ }) | (_heyapi_586_ & {
8228
8228
  /**
8229
8229
  * Opportunity ident
8230
8230
  */
@@ -8264,7 +8264,7 @@ type SearchResult = Array<({
8264
8264
  */
8265
8265
  civility?: 'mr' | 'mrs' | 'ms';
8266
8266
  });
8267
- }) | (_heyapi_581_ & {
8267
+ }) | (_heyapi_586_ & {
8268
8268
  /**
8269
8269
  * Contact first name
8270
8270
  */
@@ -8307,13 +8307,13 @@ type SearchResult = Array<({
8307
8307
  */
8308
8308
  id?: number;
8309
8309
  }>;
8310
- invoicing_address?: _heyapi_580_;
8311
- delivery_address?: _heyapi_580_;
8312
- }) | (_heyapi_581_ & {
8310
+ invoicing_address?: _heyapi_585_;
8311
+ delivery_address?: _heyapi_585_;
8312
+ }) | (_heyapi_586_ & {
8313
8313
  /**
8314
8314
  * Purchase status
8315
8315
  */
8316
- status?: 'draft' | 'due' | 'payinprogress' | 'paid' | 'late' | 'cancelled' | 'sent' | 'read' | 'accepted' | 'expired' | 'partialInvoiced' | 'invoiced' | 'stored' | 'spent' | 'partialspend';
8316
+ status?: 'draft' | 'due' | 'payinprogress' | 'paid' | 'late' | 'cancelled' | 'sent' | 'read' | 'accepted' | 'expired' | 'partialinvoiced' | 'invoiced' | 'stored' | 'spent' | 'partialspend';
8317
8317
  /**
8318
8318
  * Purchase number
8319
8319
  */
@@ -8357,7 +8357,7 @@ type SearchResult = Array<({
8357
8357
  */
8358
8358
  civility?: 'mr' | 'mrs' | 'ms';
8359
8359
  });
8360
- }) | (_heyapi_581_ & {
8360
+ }) | (_heyapi_586_ & {
8361
8361
  /**
8362
8362
  * Item number
8363
8363
  */
@@ -8370,7 +8370,7 @@ type SearchResult = Array<({
8370
8370
  * Item description
8371
8371
  */
8372
8372
  description?: string | null;
8373
- }) | (_heyapi_581_ & {
8373
+ }) | (_heyapi_586_ & {
8374
8374
  /**
8375
8375
  * Item declination number
8376
8376
  */
@@ -8391,7 +8391,7 @@ type SearchResult = Array<({
8391
8391
  number?: string;
8392
8392
  name?: string;
8393
8393
  };
8394
- }) | (_heyapi_581_ & {
8394
+ }) | (_heyapi_586_ & {
8395
8395
  /**
8396
8396
  * Document status
8397
8397
  */
@@ -8435,7 +8435,7 @@ type SearchResult = Array<({
8435
8435
  */
8436
8436
  civility?: 'mr' | 'mrs' | 'ms';
8437
8437
  });
8438
- }) | (_heyapi_581_ & {
8438
+ }) | (_heyapi_586_ & {
8439
8439
  /**
8440
8440
  * Staff's first name
8441
8441
  */
@@ -8464,7 +8464,7 @@ type SearchResult = Array<({
8464
8464
  * Staff's job
8465
8465
  */
8466
8466
  position?: string | null;
8467
- }) | (_heyapi_581_ & {
8467
+ }) | (_heyapi_586_ & {
8468
8468
  /**
8469
8469
  * Ticket status
8470
8470
  */
@@ -8478,7 +8478,7 @@ type SearchResult = Array<({
8478
8478
  */
8479
8479
  index?: string;
8480
8480
  related?: Array<string>;
8481
- }) | (_heyapi_581_ & {
8481
+ }) | (_heyapi_586_ & {
8482
8482
  /**
8483
8483
  * Redactor status
8484
8484
  */
@@ -8492,7 +8492,7 @@ type SearchResult = Array<({
8492
8492
  */
8493
8493
  ident?: string;
8494
8494
  related?: Array<string>;
8495
- }) | (_heyapi_581_ & {
8495
+ }) | (_heyapi_586_ & {
8496
8496
  /**
8497
8497
  * Redactor template name
8498
8498
  */
@@ -8517,7 +8517,7 @@ type SearchResultBaseItem = {
8517
8517
  object?: {
8518
8518
  type?: 'contact' | 'company' | 'individual' | 'opportunity' | 'purchase' | 'item' | 'declination' | 'document' | 'staff' | 'redactor';
8519
8519
  id?: number;
8520
- sub_type?: 'contact' | 'opportunity' | 'client' | 'prospect' | 'supplier' | 'purInvoice' | 'purDelivery' | 'purOrder' | 'purCreditNote' | 'product' | 'packaging' | 'shipping' | 'service' | 'declination' | 'invoice' | 'estimate' | 'creditnote' | 'order' | 'delivery' | 'proforma' | 'staff' | 'document' | 'template';
8520
+ sub_type?: 'contact' | 'opportunity' | 'client' | 'prospect' | 'supplier' | 'purInvoice' | 'purDelivery' | 'purOrder' | 'purCreditNote' | 'product' | 'packaging' | 'shipping' | 'service' | 'declination' | 'invoice' | 'estimate' | 'creditnote' | 'order' | 'model' | 'delivery' | 'proforma' | 'staff' | 'document' | 'template';
8521
8521
  };
8522
8522
  owner?: _heyapi_429_;
8523
8523
  /**
@@ -8545,16 +8545,16 @@ type SearchResultAggregations = {
8545
8545
  * The 1st value corresponds to active objects, the 2nd to achived objects
8546
8546
  */
8547
8547
  company?: Array<number>;
8548
- individual?: _heyapi_584_;
8549
- contact?: _heyapi_584_;
8550
- opportunity?: _heyapi_584_;
8551
- purchase?: _heyapi_584_;
8552
- item?: _heyapi_584_;
8553
- declination?: _heyapi_584_;
8554
- document?: _heyapi_584_;
8555
- staff?: _heyapi_584_;
8556
- ticket?: _heyapi_584_;
8557
- redactor?: _heyapi_584_;
8548
+ individual?: _heyapi_589_;
8549
+ contact?: _heyapi_589_;
8550
+ opportunity?: _heyapi_589_;
8551
+ purchase?: _heyapi_589_;
8552
+ item?: _heyapi_589_;
8553
+ declination?: _heyapi_589_;
8554
+ document?: _heyapi_589_;
8555
+ staff?: _heyapi_589_;
8556
+ ticket?: _heyapi_589_;
8557
+ redactor?: _heyapi_589_;
8558
8558
  };
8559
8559
  };
8560
8560
  /**
@@ -8698,8 +8698,8 @@ type PhoneCallItem = {
8698
8698
  /**
8699
8699
  * PhoneCall
8700
8700
  */
8701
- type PhoneCallCollectionItem = _heyapi_587_ & {
8702
- _embed?: _heyapi_588_;
8701
+ type PhoneCallCollectionItem = _heyapi_592_ & {
8702
+ _embed?: _heyapi_593_;
8703
8703
  };
8704
8704
  /**
8705
8705
  * PhoneCall
@@ -8919,7 +8919,7 @@ type PhoneCallFilter = {
8919
8919
  /**
8920
8920
  * Calendar Event
8921
8921
  */
8922
- type CalendarEventItem = _heyapi_593_ & {
8922
+ type CalendarEventItem = _heyapi_598_ & {
8923
8923
  /**
8924
8924
  * Objects add to response. Use embed parameter
8925
8925
  */
@@ -8933,7 +8933,7 @@ type CalendarEventItem = _heyapi_593_ & {
8933
8933
  */
8934
8934
  related?: Array<_heyapi_435_ | _heyapi_436_ | _heyapi_437_ | _heyapi_438_ | _heyapi_472_ | _heyapi_568_ | _heyapi_569_>;
8935
8935
  participants?: Array<_heyapi_437_ | _heyapi_434_>;
8936
- acl?: _heyapi_594_;
8936
+ acl?: _heyapi_599_;
8937
8937
  };
8938
8938
  };
8939
8939
  /**
@@ -9212,13 +9212,13 @@ type Activity = {
9212
9212
  object?: {
9213
9213
  type: string;
9214
9214
  id: string | number;
9215
- model?: _heyapi_435_ | _heyapi_438_ | _heyapi_439_ | _heyapi_437_ | _heyapi_436_ | _heyapi_601_ | _heyapi_593_ | _heyapi_602_ | null;
9215
+ model?: _heyapi_435_ | _heyapi_438_ | _heyapi_439_ | _heyapi_437_ | _heyapi_436_ | _heyapi_606_ | _heyapi_598_ | _heyapi_607_ | null;
9216
9216
  };
9217
9217
  /**
9218
9218
  * List all direct and indirect relations of the activity’s main object
9219
9219
  */
9220
9220
  related?: Array<{
9221
- id?: _heyapi_603_;
9221
+ id?: _heyapi_608_;
9222
9222
  type?: string;
9223
9223
  }>;
9224
9224
  /**
@@ -9236,7 +9236,7 @@ type Activity = {
9236
9236
  *
9237
9237
  * Staff schemas according of current user level of visibility on staffs
9238
9238
  */
9239
- author?: _heyapi_604_ & {
9239
+ author?: _heyapi_609_ & {
9240
9240
  /**
9241
9241
  * Staff phone number
9242
9242
  */
@@ -9433,7 +9433,7 @@ type ActivityFilters = {
9433
9433
  */
9434
9434
  id?: number;
9435
9435
  };
9436
- entities?: Array<_heyapi_606_>;
9436
+ entities?: Array<_heyapi_611_>;
9437
9437
  due_date?: _heyapi_513_;
9438
9438
  /**
9439
9439
  * Filter activity by level. Get main activities/secondary activities or both by default.
@@ -9559,15 +9559,15 @@ type EmailEngineItem = {
9559
9559
  /**
9560
9560
  * An array of name+email pairs the message was sent to.
9561
9561
  */
9562
- to?: Array<_heyapi_609_>;
9562
+ to?: Array<_heyapi_614_>;
9563
9563
  /**
9564
9564
  * An array of name+email pairs the message was cc'd to.
9565
9565
  */
9566
- cc?: Array<_heyapi_609_>;
9566
+ cc?: Array<_heyapi_614_>;
9567
9567
  /**
9568
9568
  * An array of name+email pairs the message was bcc'd to. For received mail this is nearly always empty.
9569
9569
  */
9570
- bcc?: Array<_heyapi_609_>;
9570
+ bcc?: Array<_heyapi_614_>;
9571
9571
  /**
9572
9572
  * Private email or not
9573
9573
  */
@@ -9676,17 +9676,17 @@ type EmailSendBody = {
9676
9676
  * Object id
9677
9677
  */
9678
9678
  id: number;
9679
- type: _heyapi_611_;
9679
+ type: _heyapi_616_;
9680
9680
  }>;
9681
9681
  }>;
9682
9682
  /**
9683
9683
  * Recipients in copy
9684
9684
  */
9685
- cc?: Array<_heyapi_612_>;
9685
+ cc?: Array<_heyapi_617_>;
9686
9686
  /**
9687
9687
  * Recipients in blind copy
9688
9688
  */
9689
- bcc?: Array<_heyapi_612_>;
9689
+ bcc?: Array<_heyapi_617_>;
9690
9690
  /**
9691
9691
  * Related objects
9692
9692
  */
@@ -9743,7 +9743,7 @@ type EmailSendBody = {
9743
9743
  * Id of file uploaded. Returned by the upload endpoint POST /email/attachment
9744
9744
  */
9745
9745
  content_id: string;
9746
- }) | (_heyapi_613_ & {
9746
+ }) | (_heyapi_618_ & {
9747
9747
  /**
9748
9748
  * Public link to the attachment
9749
9749
  */
@@ -9900,7 +9900,7 @@ type EmailAuthenticationItem = {
9900
9900
  */
9901
9901
  data?: string;
9902
9902
  };
9903
- dkim2?: _heyapi_618_;
9903
+ dkim2?: _heyapi_623_;
9904
9904
  };
9905
9905
  };
9906
9906
  /**
@@ -9929,9 +9929,9 @@ type EmailValidationItem = {
9929
9929
  */
9930
9930
  reason?: string | null;
9931
9931
  } | null;
9932
- dkim1?: _heyapi_620_;
9933
- dkim2?: _heyapi_620_;
9934
- spf?: _heyapi_620_;
9932
+ dkim1?: _heyapi_625_;
9933
+ dkim2?: _heyapi_625_;
9934
+ spf?: _heyapi_625_;
9935
9935
  };
9936
9936
  };
9937
9937
  /**
@@ -9977,7 +9977,7 @@ type EmailRecipientSuggestionOutput = Array<{
9977
9977
  * Suggested recipient's name
9978
9978
  */
9979
9979
  name?: string;
9980
- relatedObject?: _heyapi_625_;
9980
+ relatedObject?: _heyapi_630_;
9981
9981
  }>;
9982
9982
  /**
9983
9983
  * Recipient
@@ -10125,7 +10125,7 @@ type EmailTemplateOutput = {
10125
10125
  * Content of template
10126
10126
  */
10127
10127
  content?: string;
10128
- attachments?: _heyapi_631_;
10128
+ attachments?: _heyapi_636_;
10129
10129
  /**
10130
10130
  * Content to call AI
10131
10131
  */
@@ -10212,7 +10212,7 @@ type EmailTemplateItemOutput = {
10212
10212
  /**
10213
10213
  * Attachment objects
10214
10214
  */
10215
- attachments?: Array<_heyapi_631_>;
10215
+ attachments?: Array<_heyapi_636_>;
10216
10216
  /**
10217
10217
  * Template used in automation
10218
10218
  */
@@ -10286,7 +10286,7 @@ type EmailProviderThread = {
10286
10286
  /**
10287
10287
  * An array containing the names and email addresses of all participants in the thread
10288
10288
  */
10289
- participants?: Array<_heyapi_609_>;
10289
+ participants?: Array<_heyapi_614_>;
10290
10290
  /**
10291
10291
  * An array of unique identifiers for all messages in the thread
10292
10292
  */
@@ -10299,7 +10299,7 @@ type EmailProviderThread = {
10299
10299
  * Indicates whether the last sent email has been opened by the recipient. (Only applicable to emails sent through the web app)
10300
10300
  */
10301
10301
  is_open?: boolean;
10302
- related?: Array<_heyapi_637_ | _heyapi_638_ | _heyapi_639_ | _heyapi_640_>;
10302
+ related?: Array<_heyapi_642_ | _heyapi_643_ | _heyapi_644_ | _heyapi_645_>;
10303
10303
  _links?: Array<{
10304
10304
  rel?: string;
10305
10305
  href?: string;
@@ -10332,19 +10332,19 @@ type EmailProviderMessage = {
10332
10332
  * The body of the message
10333
10333
  */
10334
10334
  content?: string;
10335
- from?: _heyapi_609_;
10335
+ from?: _heyapi_614_;
10336
10336
  /**
10337
10337
  * An array of name/email address pairs that the email message was sent to
10338
10338
  */
10339
- to?: Array<_heyapi_609_>;
10339
+ to?: Array<_heyapi_614_>;
10340
10340
  /**
10341
10341
  * An array of name/email address pairs that the email message was CC'd to
10342
10342
  */
10343
- cc?: Array<_heyapi_609_>;
10343
+ cc?: Array<_heyapi_614_>;
10344
10344
  /**
10345
10345
  * An array of name/email address pairs that the email message was BCC'd to
10346
10346
  */
10347
- bcc?: Array<_heyapi_609_>;
10347
+ bcc?: Array<_heyapi_614_>;
10348
10348
  /**
10349
10349
  * Indicates whether the email message has been read by the user
10350
10350
  */
@@ -10352,7 +10352,7 @@ type EmailProviderMessage = {
10352
10352
  /**
10353
10353
  * Attachment objects
10354
10354
  */
10355
- attachments?: Array<_heyapi_643_>;
10355
+ attachments?: Array<_heyapi_648_>;
10356
10356
  /**
10357
10357
  * The date and time of the most recent message in the thread
10358
10358
  */
@@ -10364,7 +10364,7 @@ type EmailProviderMessage = {
10364
10364
  id?: number;
10365
10365
  type?: string;
10366
10366
  }>;
10367
- _links?: _heyapi_644_;
10367
+ _links?: _heyapi_649_;
10368
10368
  };
10369
10369
  /**
10370
10370
  * WebhookFilters
@@ -10442,7 +10442,7 @@ type WebhookReadItem = ({
10442
10442
  */
10443
10443
  channel?: string | null;
10444
10444
  }>;
10445
- }) | (_heyapi_647_ & {
10445
+ }) | (_heyapi_652_ & {
10446
10446
  /**
10447
10447
  * Returns the complete object in the webhook payload
10448
10448
  */
@@ -10488,7 +10488,7 @@ type WebhookEditItem = {
10488
10488
  * required for slack type webhook
10489
10489
  */
10490
10490
  default_channel?: string | null;
10491
- configuration?: _heyapi_649_;
10491
+ configuration?: _heyapi_654_;
10492
10492
  } | {
10493
10493
  /**
10494
10494
  * Webhook status
@@ -10514,7 +10514,7 @@ type WebhookEditItem = {
10514
10514
  * Key used for signing webhooks
10515
10515
  */
10516
10516
  sign_key?: string;
10517
- configuration?: _heyapi_650_;
10517
+ configuration?: _heyapi_655_;
10518
10518
  };
10519
10519
  type WebhookCreateItem = {
10520
10520
  /**
@@ -10537,7 +10537,7 @@ type WebhookCreateItem = {
10537
10537
  * Webhook type
10538
10538
  */
10539
10539
  type?: 'slack' | 'http';
10540
- configuration?: _heyapi_649_;
10540
+ configuration?: _heyapi_654_;
10541
10541
  } | {
10542
10542
  /**
10543
10543
  * Webhook status
@@ -10567,7 +10567,7 @@ type WebhookCreateItem = {
10567
10567
  * Key used for signing webhooks
10568
10568
  */
10569
10569
  sign_key?: string;
10570
- configuration?: _heyapi_650_;
10570
+ configuration?: _heyapi_655_;
10571
10571
  };
10572
10572
  /**
10573
10573
  * webhookEvents
@@ -10589,7 +10589,7 @@ type WebhookEventsList = Array<{
10589
10589
  events?: {
10590
10590
  [key: string]: string;
10591
10591
  };
10592
- } | (_heyapi_653_ & {
10592
+ } | (_heyapi_658_ & {
10593
10593
  /**
10594
10594
  * Entity
10595
10595
  */
@@ -11510,88 +11510,88 @@ type Quotas = {
11510
11510
  };
11511
11511
  firm_search?: {
11512
11512
  [key: string]: unknown;
11513
- } & _heyapi_675_;
11513
+ } & _heyapi_680_;
11514
11514
  yousign?: {
11515
11515
  [key: string]: unknown;
11516
- } & _heyapi_675_;
11516
+ } & _heyapi_680_;
11517
11517
  esker?: {
11518
11518
  [key: string]: unknown;
11519
- } & _heyapi_675_;
11519
+ } & _heyapi_680_;
11520
11520
  sms_marketing?: {
11521
11521
  [key: string]: unknown;
11522
- } & _heyapi_675_;
11522
+ } & _heyapi_680_;
11523
11523
  custom_fields?: {
11524
11524
  [key: string]: unknown;
11525
- } & _heyapi_675_;
11525
+ } & _heyapi_680_;
11526
11526
  custom_field_groups?: {
11527
11527
  [key: string]: unknown;
11528
- } & _heyapi_675_;
11528
+ } & _heyapi_680_;
11529
11529
  pipelines?: {
11530
11530
  [key: string]: unknown;
11531
- } & _heyapi_675_;
11531
+ } & _heyapi_680_;
11532
11532
  privilege_profiles?: {
11533
11533
  [key: string]: unknown;
11534
- } & _heyapi_675_;
11534
+ } & _heyapi_680_;
11535
11535
  api_rate_seconds?: {
11536
11536
  [key: string]: unknown;
11537
- } & _heyapi_675_;
11537
+ } & _heyapi_680_;
11538
11538
  api_rate_minutes?: {
11539
11539
  [key: string]: unknown;
11540
- } & _heyapi_675_;
11540
+ } & _heyapi_680_;
11541
11541
  api_rate_days?: {
11542
11542
  [key: string]: unknown;
11543
- } & _heyapi_675_;
11543
+ } & _heyapi_680_;
11544
11544
  api_rate_months?: {
11545
11545
  [key: string]: unknown;
11546
- } & _heyapi_675_;
11546
+ } & _heyapi_680_;
11547
11547
  estimate_dunning_plan?: {
11548
11548
  [key: string]: unknown;
11549
- } & _heyapi_675_;
11549
+ } & _heyapi_680_;
11550
11550
  invoice_dunning_plan?: {
11551
11551
  [key: string]: unknown;
11552
- } & _heyapi_675_;
11552
+ } & _heyapi_680_;
11553
11553
  proforma_dunning_plan?: {
11554
11554
  [key: string]: unknown;
11555
- } & _heyapi_675_;
11555
+ } & _heyapi_680_;
11556
11556
  activity_report?: {
11557
11557
  [key: string]: unknown;
11558
- } & _heyapi_675_;
11558
+ } & _heyapi_680_;
11559
11559
  bank_account_reconciliations?: {
11560
11560
  [key: string]: unknown;
11561
- } & _heyapi_675_;
11561
+ } & _heyapi_680_;
11562
11562
  documents?: {
11563
11563
  [key: string]: unknown;
11564
- } & _heyapi_675_;
11564
+ } & _heyapi_680_;
11565
11565
  document_invoices?: {
11566
11566
  [key: string]: unknown;
11567
- } & _heyapi_675_;
11567
+ } & _heyapi_680_;
11568
11568
  file_storage?: {
11569
11569
  [key: string]: unknown;
11570
- } & _heyapi_675_;
11570
+ } & _heyapi_680_;
11571
11571
  rate_categories?: {
11572
11572
  [key: string]: unknown;
11573
- } & _heyapi_675_;
11573
+ } & _heyapi_680_;
11574
11574
  recurring?: {
11575
11575
  [key: string]: unknown;
11576
- } & _heyapi_675_;
11576
+ } & _heyapi_680_;
11577
11577
  report_cards?: {
11578
11578
  [key: string]: unknown;
11579
- } & _heyapi_675_;
11579
+ } & _heyapi_680_;
11580
11580
  catalog_items?: {
11581
11581
  [key: string]: unknown;
11582
- } & _heyapi_675_;
11582
+ } & _heyapi_680_;
11583
11583
  marketing_emailing?: {
11584
11584
  [key: string]: unknown;
11585
- } & _heyapi_675_;
11585
+ } & _heyapi_680_;
11586
11586
  marketing_transactional?: {
11587
11587
  [key: string]: unknown;
11588
- } & _heyapi_675_;
11588
+ } & _heyapi_680_;
11589
11589
  marketing_sms?: {
11590
11590
  [key: string]: unknown;
11591
- } & _heyapi_675_;
11591
+ } & _heyapi_680_;
11592
11592
  sellsy_ai?: {
11593
11593
  [key: string]: unknown;
11594
- } & _heyapi_675_;
11594
+ } & _heyapi_680_;
11595
11595
  };
11596
11596
  /**
11597
11597
  * Staff filters
@@ -11956,7 +11956,7 @@ type UserTwoFactorAuthenticationSettings = {
11956
11956
  * List of registered provider for the user
11957
11957
  */
11958
11958
  providers: Array<{
11959
- provider: _heyapi_690_;
11959
+ provider: _heyapi_695_;
11960
11960
  /**
11961
11961
  * is the primary provider
11962
11962
  */
@@ -12020,7 +12020,7 @@ type UserUpdateTwoFactorAuthenticationSettings = {
12020
12020
  * List of registered provider for the user
12021
12021
  */
12022
12022
  providers: Array<{
12023
- provider: _heyapi_690_;
12023
+ provider: _heyapi_695_;
12024
12024
  }>;
12025
12025
  };
12026
12026
  /**
@@ -12035,7 +12035,7 @@ type UserUpdateTwoFactorAuthenticationSettingsResponse = {
12035
12035
  * List of registered provider for the user
12036
12036
  */
12037
12037
  providers: Array<{
12038
- provider: _heyapi_690_;
12038
+ provider: _heyapi_695_;
12039
12039
  /**
12040
12040
  * is the primary provider
12041
12041
  */
@@ -13355,7 +13355,7 @@ type InvoiceOne = {
13355
13355
  * If the invoice is sent to accounting
13356
13356
  */
13357
13357
  is_sent_to_accounting?: boolean;
13358
- _embed?: _heyapi_710_;
13358
+ _embed?: _heyapi_715_;
13359
13359
  /**
13360
13360
  * Date of the shipping
13361
13361
  */
@@ -13855,13 +13855,13 @@ type InvoiceOne = {
13855
13855
  */
13856
13856
  is_optional?: boolean;
13857
13857
  }>;
13858
- _embed?: _heyapi_710_ & {
13858
+ _embed?: _heyapi_715_ & {
13859
13859
  /**
13860
13860
  * Document Payment Terms
13861
13861
  *
13862
13862
  * Terms of payment of document
13863
13863
  */
13864
- payment_terms?: _heyapi_711_ & {
13864
+ payment_terms?: _heyapi_716_ & {
13865
13865
  /**
13866
13866
  * List of deadlines computed with the payment terms settings
13867
13867
  */
@@ -13892,7 +13892,7 @@ type InvoiceOne = {
13892
13892
  description?: string | null;
13893
13893
  }>;
13894
13894
  };
13895
- } & _heyapi_712_ & {
13895
+ } & _heyapi_717_ & {
13896
13896
  /**
13897
13897
  * Automatic Dunning
13898
13898
  */
@@ -13991,7 +13991,7 @@ type InvoiceOne = {
13991
13991
  }>;
13992
13992
  };
13993
13993
  settings?: _heyapi_476_;
13994
- file?: _heyapi_631_;
13994
+ file?: _heyapi_636_;
13995
13995
  };
13996
13996
  };
13997
13997
  type InvoiceOrProgressInvoiceOne = InvoiceOne | (_heyapi_568_ & {
@@ -14030,8 +14030,8 @@ type InvoiceOrProgressInvoiceOne = InvoiceOne | (_heyapi_568_ & {
14030
14030
  * The next available progress invoice number
14031
14031
  */
14032
14032
  next_progress_invoice_number?: number | null;
14033
- _embed?: _heyapi_710_ & _heyapi_714_ & _heyapi_712_ & {
14034
- automatic_dunning?: _heyapi_715_;
14033
+ _embed?: _heyapi_715_ & _heyapi_719_ & _heyapi_717_ & {
14034
+ automatic_dunning?: _heyapi_720_;
14035
14035
  settings?: {
14036
14036
  pdf_display?: {
14037
14037
  /**
@@ -14119,10 +14119,10 @@ type InvoiceOrProgressInvoiceOne = InvoiceOne | (_heyapi_568_ & {
14119
14119
  show_terms_and_conditions_text?: boolean;
14120
14120
  };
14121
14121
  } & _heyapi_476_;
14122
- file?: _heyapi_631_;
14122
+ file?: _heyapi_636_;
14123
14123
  };
14124
14124
  });
14125
- type ProgressInvoiceOne = _heyapi_717_;
14125
+ type ProgressInvoiceOne = _heyapi_722_;
14126
14126
  type InvoiceCompute = {
14127
14127
  /**
14128
14128
  * Status of the invoice
@@ -14222,7 +14222,7 @@ type InvoiceCompute = {
14222
14222
  * payments methods allowed on the estimate
14223
14223
  */
14224
14224
  payment_method_ids?: Array<number> | null;
14225
- rows?: Array<_heyapi_719_>;
14225
+ rows?: Array<_heyapi_724_>;
14226
14226
  shipping_weight?: _heyapi_460_;
14227
14227
  };
14228
14228
  /**
@@ -14331,7 +14331,7 @@ type InvoiceCreate = {
14331
14331
  * @deprecated
14332
14332
  */
14333
14333
  due_date?: string;
14334
- payment_terms?: _heyapi_722_;
14334
+ payment_terms?: _heyapi_727_;
14335
14335
  /**
14336
14336
  * Created date of invoice
14337
14337
  */
@@ -14512,7 +14512,7 @@ type InvoiceCreate = {
14512
14512
  * Parent object id
14513
14513
  */
14514
14514
  id?: number;
14515
- } | _heyapi_723_ | null;
14515
+ } | _heyapi_728_ | null;
14516
14516
  /**
14517
14517
  * Rate Category to apply on document (By default, the rate_category_id will be that of company)
14518
14518
  */
@@ -14952,7 +14952,7 @@ type DepositInvoiceUpdate = {
14952
14952
  * Currency code of the invoice
14953
14953
  */
14954
14954
  currency?: string;
14955
- related?: _heyapi_726_;
14955
+ related?: _heyapi_731_;
14956
14956
  /**
14957
14957
  * Company or individual name displayed on the invoice. If not provided, use company_name of the parent document.
14958
14958
  */
@@ -14985,7 +14985,7 @@ type DepositInvoiceUpdate = {
14985
14985
  * Analytic code of document
14986
14986
  */
14987
14987
  analytic_code?: string | null;
14988
- payment_terms?: _heyapi_727_;
14988
+ payment_terms?: _heyapi_732_;
14989
14989
  /**
14990
14990
  * Bank account id
14991
14991
  */
@@ -15002,7 +15002,7 @@ type DepositInvoiceUpdate = {
15002
15002
  * Document Layout
15003
15003
  */
15004
15004
  layout_id?: number;
15005
- settings?: _heyapi_728_;
15005
+ settings?: _heyapi_733_;
15006
15006
  /**
15007
15007
  * Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.
15008
15008
  */
@@ -15016,7 +15016,7 @@ type DepositInvoiceUpdate = {
15016
15016
  * Prepare Deposit Invoice
15017
15017
  */
15018
15018
  type DepositInvoicePrepareInput = {
15019
- parent: _heyapi_730_;
15019
+ parent: _heyapi_735_;
15020
15020
  /**
15021
15021
  * Percentage is based on the remaining amount of parent document. <br/> <ul>
15022
15022
  * <li>If the parent document has 100€ at 20% VAT and there is already a deposit invoice of 60€, the remaining amount is 40€. </li>
@@ -15073,12 +15073,12 @@ type DepositInvoicePrepareOutput = {
15073
15073
  * Deposit Invoice Compute
15074
15074
  */
15075
15075
  type DepositInvoiceComputeInput = {
15076
- parent: _heyapi_730_;
15076
+ parent: _heyapi_735_;
15077
15077
  /**
15078
15078
  * Rows of the deposit invoice. There must be as many deposit lines as there are VAT rates in the parent document. For example, if the parent document has products with VAT rates of 20% and 5.5%, there must be two 'deposit' rows."
15079
15079
  *
15080
15080
  */
15081
- rows: Array<_heyapi_733_ | _heyapi_734_ | _heyapi_423_ | _heyapi_422_>;
15081
+ rows: Array<_heyapi_738_ | _heyapi_739_ | _heyapi_423_ | _heyapi_422_>;
15082
15082
  /**
15083
15083
  * Deposit invoice id, if already created
15084
15084
  */
@@ -15194,8 +15194,8 @@ type DepositInvoiceComputeOutput = {
15194
15194
  };
15195
15195
  };
15196
15196
  type DepositInvoiceOne = _heyapi_568_ & {
15197
- rows?: Array<_heyapi_737_ | _heyapi_422_ | _heyapi_423_>;
15198
- _embed?: _heyapi_738_;
15197
+ rows?: Array<_heyapi_742_ | _heyapi_422_ | _heyapi_423_>;
15198
+ _embed?: _heyapi_743_;
15199
15199
  };
15200
15200
  /**
15201
15201
  * Deposit Invoices filters
@@ -15203,7 +15203,7 @@ type DepositInvoiceOne = _heyapi_568_ & {
15203
15203
  * Deposit Invoices filters
15204
15204
  */
15205
15205
  type DepositInvoiceFilter = {
15206
- filters: _heyapi_740_;
15206
+ filters: _heyapi_745_;
15207
15207
  };
15208
15208
  /**
15209
15209
  * Deposit Invoice Metadata
@@ -15211,19 +15211,19 @@ type DepositInvoiceFilter = {
15211
15211
  type DepositInvoiceMetadata = {
15212
15212
  parent?: (_heyapi_472_ & {
15213
15213
  rows: Array<_heyapi_480_>;
15214
- }) | (_heyapi_742_ & {
15214
+ }) | (_heyapi_747_ & {
15215
15215
  rows?: Array<_heyapi_480_>;
15216
- _embed?: _heyapi_743_;
15217
- }) | (_heyapi_744_ & {
15216
+ _embed?: _heyapi_748_;
15217
+ }) | (_heyapi_749_ & {
15218
15218
  rows?: Array<_heyapi_480_>;
15219
- _embed?: _heyapi_745_;
15219
+ _embed?: _heyapi_750_;
15220
15220
  });
15221
15221
  /**
15222
15222
  * Current invoice, exist only if invoice type is used
15223
15223
  */
15224
15224
  document?: (_heyapi_568_ & {
15225
- rows?: Array<_heyapi_737_ | _heyapi_422_ | _heyapi_423_>;
15226
- _embed?: _heyapi_738_;
15225
+ rows?: Array<_heyapi_742_ | _heyapi_422_ | _heyapi_423_>;
15226
+ _embed?: _heyapi_743_;
15227
15227
  }) | null;
15228
15228
  law_texts?: {
15229
15229
  /**
@@ -15371,11 +15371,11 @@ type DepositInvoiceMetadata = {
15371
15371
  /**
15372
15372
  * List of document layouts
15373
15373
  */
15374
- document_layouts?: Array<_heyapi_746_>;
15374
+ document_layouts?: Array<_heyapi_751_>;
15375
15375
  /**
15376
15376
  * List of languages
15377
15377
  */
15378
- languages?: Array<_heyapi_747_>;
15378
+ languages?: Array<_heyapi_752_>;
15379
15379
  /**
15380
15380
  * List of payment terms
15381
15381
  */
@@ -15412,7 +15412,7 @@ type DepositInvoiceMetadata = {
15412
15412
  /**
15413
15413
  * Payment term translations
15414
15414
  */
15415
- translations?: Array<_heyapi_748_>;
15415
+ translations?: Array<_heyapi_753_>;
15416
15416
  };
15417
15417
  }>;
15418
15418
  /**
@@ -15439,7 +15439,7 @@ type DepositInvoiceMetadata = {
15439
15439
  /**
15440
15440
  * Assigned staff translations
15441
15441
  */
15442
- translations?: Array<_heyapi_749_>;
15442
+ translations?: Array<_heyapi_754_>;
15443
15443
  };
15444
15444
  }>;
15445
15445
  permissions?: {
@@ -15680,13 +15680,13 @@ type ProgressInvoiceCreate = {
15680
15680
  * Bar code ID for progress-catalog row
15681
15681
  */
15682
15682
  sku_id?: number | null;
15683
- }) | (_heyapi_751_ & {
15683
+ }) | (_heyapi_756_ & {
15684
15684
  type?: 'progress-single';
15685
15685
  /**
15686
15686
  * Purchase amount
15687
15687
  */
15688
15688
  purchase_amount?: string;
15689
- }) | (_heyapi_751_ & {
15689
+ }) | (_heyapi_756_ & {
15690
15690
  type?: 'progress-shipping' | 'progress-packaging';
15691
15691
  }) | _heyapi_422_ | _heyapi_423_ | _heyapi_424_ | _heyapi_425_ | _heyapi_426_>;
15692
15692
  /**
@@ -16165,7 +16165,7 @@ type ProgressInvoiceCompute = {
16165
16165
  * Rows of the progress invoice. There must be at least one progress row.
16166
16166
  *
16167
16167
  */
16168
- rows: Array<_heyapi_424_ | _heyapi_753_ | _heyapi_754_ | _heyapi_755_ | _heyapi_422_ | ({
16168
+ rows: Array<_heyapi_424_ | _heyapi_758_ | _heyapi_759_ | _heyapi_760_ | _heyapi_422_ | ({
16169
16169
  /**
16170
16170
  * ID of the progress invoice row
16171
16171
  */
@@ -16199,12 +16199,12 @@ type ProgressInvoiceCompute = {
16199
16199
  * Bar code ID for progress-catalog row
16200
16200
  */
16201
16201
  sku_id?: number | null;
16202
- }) | (_heyapi_756_ & {
16202
+ }) | (_heyapi_761_ & {
16203
16203
  /**
16204
16204
  * Purchase amount
16205
16205
  */
16206
16206
  purchase_amount?: string;
16207
- }) | _heyapi_756_ | {
16207
+ }) | _heyapi_761_ | {
16208
16208
  /**
16209
16209
  * Row Identifier
16210
16210
  */
@@ -16450,11 +16450,11 @@ type ComputedProgresssInvoice = {
16450
16450
  /**
16451
16451
  * Credit notes linked to the invoice
16452
16452
  */
16453
- credit_notes?: Array<_heyapi_758_>;
16453
+ credit_notes?: Array<_heyapi_763_>;
16454
16454
  }>;
16455
16455
  };
16456
- type InvoiceUpdate = _heyapi_760_ & {
16457
- rows?: Array<_heyapi_761_> | null;
16456
+ type InvoiceUpdate = _heyapi_765_ & {
16457
+ rows?: Array<_heyapi_766_> | null;
16458
16458
  settings?: _heyapi_469_;
16459
16459
  };
16460
16460
  type ValidateInvoice = {
@@ -16741,9 +16741,9 @@ type CreditNote = {
16741
16741
  /**
16742
16742
  * Credit Note Embed
16743
16743
  */
16744
- _embed?: _heyapi_764_ & _heyapi_450_ & {
16744
+ _embed?: _heyapi_769_ & _heyapi_450_ & {
16745
16745
  fiscal_year?: _heyapi_475_;
16746
- currency?: _heyapi_765_;
16746
+ currency?: _heyapi_770_;
16747
16747
  owner?: _heyapi_434_;
16748
16748
  /**
16749
16749
  * Credit Note ACL
@@ -17029,11 +17029,11 @@ type CreditNoteOne = {
17029
17029
  */
17030
17030
  label?: string;
17031
17031
  } | null;
17032
- _embed?: _heyapi_767_;
17032
+ _embed?: _heyapi_772_;
17033
17033
  } & {
17034
17034
  rows?: Array<_heyapi_480_>;
17035
- _embed?: _heyapi_767_ & _heyapi_712_ & {
17036
- file?: _heyapi_631_;
17035
+ _embed?: _heyapi_772_ & _heyapi_717_ & {
17036
+ file?: _heyapi_636_;
17037
17037
  };
17038
17038
  };
17039
17039
  type CreditNoteCreate = {
@@ -17144,14 +17144,14 @@ type CreditNoteCreate = {
17144
17144
  einvoicing_electronic_address?: string | null;
17145
17145
  } & {
17146
17146
  rows?: Array<_heyapi_480_> | null;
17147
- parent?: _heyapi_723_ | null;
17147
+ parent?: _heyapi_728_ | null;
17148
17148
  /**
17149
17149
  * Rate Category to apply on document (By default, the rate_category_id will be that of company)
17150
17150
  */
17151
17151
  rate_category_id?: number;
17152
17152
  };
17153
- type CreditNoteUpdate = _heyapi_770_ & {
17154
- rows?: Array<_heyapi_761_> | null;
17153
+ type CreditNoteUpdate = _heyapi_775_ & {
17154
+ rows?: Array<_heyapi_766_> | null;
17155
17155
  };
17156
17156
  type CreditNoteValidate = {
17157
17157
  /**
@@ -17277,7 +17277,7 @@ type CreditNoteCompute = {
17277
17277
  type?: 'company' | 'individual' | 'contact' | 'opportunity';
17278
17278
  }>;
17279
17279
  owner?: _heyapi_429_;
17280
- rows?: Array<_heyapi_719_>;
17280
+ rows?: Array<_heyapi_724_>;
17281
17281
  };
17282
17282
  /**
17283
17283
  * Credit notes filters
@@ -17453,15 +17453,15 @@ type OrderCreate = {
17453
17453
  shipping_volume?: string;
17454
17454
  } & {
17455
17455
  rows?: Array<_heyapi_480_> | null;
17456
- parent?: _heyapi_723_ | null;
17456
+ parent?: _heyapi_728_ | null;
17457
17457
  /**
17458
17458
  * Rate Category to apply on document (By default, the rate_category_id will be that of company)
17459
17459
  */
17460
17460
  rate_category_id?: number;
17461
17461
  settings?: _heyapi_469_;
17462
17462
  };
17463
- type OrderUpdate = _heyapi_776_ & {
17464
- rows?: Array<_heyapi_761_> | null;
17463
+ type OrderUpdate = _heyapi_781_ & {
17464
+ rows?: Array<_heyapi_766_> | null;
17465
17465
  settings?: _heyapi_469_;
17466
17466
  };
17467
17467
  /**
@@ -17670,7 +17670,7 @@ type Order = {
17670
17670
  /**
17671
17671
  * Order Embed
17672
17672
  */
17673
- _embed?: _heyapi_764_ & _heyapi_450_ & {
17673
+ _embed?: _heyapi_769_ & _heyapi_450_ & {
17674
17674
  /**
17675
17675
  * Order ACL
17676
17676
  */
@@ -17686,7 +17686,7 @@ type Order = {
17686
17686
  };
17687
17687
  owner?: _heyapi_434_;
17688
17688
  fiscal_year?: _heyapi_475_;
17689
- currency?: _heyapi_765_;
17689
+ currency?: _heyapi_770_;
17690
17690
  /**
17691
17691
  * Smart-tags linked
17692
17692
  */
@@ -17953,7 +17953,7 @@ type OrderOne = {
17953
17953
  * Notes of the order
17954
17954
  */
17955
17955
  note?: string;
17956
- _embed?: _heyapi_779_;
17956
+ _embed?: _heyapi_784_;
17957
17957
  /**
17958
17958
  * Date of the shipping
17959
17959
  */
@@ -18005,13 +18005,13 @@ type OrderOne = {
18005
18005
  /**
18006
18006
  * Order Embed
18007
18007
  */
18008
- _embed?: _heyapi_764_ & _heyapi_450_ & {
18008
+ _embed?: _heyapi_769_ & _heyapi_450_ & {
18009
18009
  /**
18010
18010
  * Document Payment Terms
18011
18011
  *
18012
18012
  * Terms of payment of document
18013
18013
  */
18014
- payment_terms?: _heyapi_711_ & {
18014
+ payment_terms?: _heyapi_716_ & {
18015
18015
  /**
18016
18016
  * List of deadlines computed with the payment terms settings
18017
18017
  */
@@ -18030,7 +18030,7 @@ type OrderOne = {
18030
18030
  description?: string | null;
18031
18031
  }>;
18032
18032
  };
18033
- } & _heyapi_712_ & {
18033
+ } & _heyapi_717_ & {
18034
18034
  /**
18035
18035
  * Order ACL
18036
18036
  */
@@ -18046,7 +18046,7 @@ type OrderOne = {
18046
18046
  };
18047
18047
  owner?: _heyapi_434_;
18048
18048
  fiscal_year?: _heyapi_475_;
18049
- currency?: _heyapi_765_;
18049
+ currency?: _heyapi_770_;
18050
18050
  /**
18051
18051
  * Smart-tags linked
18052
18052
  */
@@ -18065,7 +18065,7 @@ type OrderOne = {
18065
18065
  */
18066
18066
  label?: string;
18067
18067
  }>;
18068
- file?: _heyapi_631_;
18068
+ file?: _heyapi_636_;
18069
18069
  };
18070
18070
  };
18071
18071
  /**
@@ -18198,7 +18198,7 @@ type OrderCompute = {
18198
18198
  type?: 'company' | 'individual' | 'contact' | 'opportunity';
18199
18199
  }>;
18200
18200
  owner?: _heyapi_429_;
18201
- rows?: Array<_heyapi_719_>;
18201
+ rows?: Array<_heyapi_724_>;
18202
18202
  shipping_weight?: _heyapi_460_;
18203
18203
  };
18204
18204
  /**
@@ -18438,7 +18438,7 @@ type Delivery = {
18438
18438
  /**
18439
18439
  * Delivery Embed
18440
18440
  */
18441
- _embed?: _heyapi_764_ & _heyapi_450_ & {
18441
+ _embed?: _heyapi_769_ & _heyapi_450_ & {
18442
18442
  /**
18443
18443
  * Delivery ACL
18444
18444
  */
@@ -18454,7 +18454,7 @@ type Delivery = {
18454
18454
  };
18455
18455
  owner?: _heyapi_434_;
18456
18456
  fiscal_year?: _heyapi_475_;
18457
- currency?: _heyapi_765_;
18457
+ currency?: _heyapi_770_;
18458
18458
  /**
18459
18459
  * Smart-tags linked
18460
18460
  */
@@ -18696,11 +18696,11 @@ type DeliveryOne = {
18696
18696
  * Total volume of product to ship in m3
18697
18697
  */
18698
18698
  shipping_volume?: string;
18699
- _embed?: _heyapi_784_;
18699
+ _embed?: _heyapi_789_;
18700
18700
  } & {
18701
18701
  rows?: Array<_heyapi_480_>;
18702
- _embed?: _heyapi_784_ & {
18703
- file?: _heyapi_631_;
18702
+ _embed?: _heyapi_789_ & {
18703
+ file?: _heyapi_636_;
18704
18704
  };
18705
18705
  };
18706
18706
  /**
@@ -18900,7 +18900,7 @@ type ListFilesOutput = {
18900
18900
  * Current directory location. The first element is the direct parent of the directory
18901
18901
  */
18902
18902
  breadcrumbs?: Array<_heyapi_489_>;
18903
- } | _heyapi_631_;
18903
+ } | _heyapi_636_;
18904
18904
  /**
18905
18905
  * Adyen settings
18906
18906
  */
@@ -19161,7 +19161,7 @@ type ImportPrepareInput = {
19161
19161
  * List of identifiers
19162
19162
  */
19163
19163
  service: ['id' | 'reference'];
19164
- } | _heyapi_800_ | {
19164
+ } | _heyapi_805_ | {
19165
19165
  /**
19166
19166
  * List of identifiers
19167
19167
  */
@@ -19758,7 +19758,7 @@ type ImportPrepareInput = {
19758
19758
  /**
19759
19759
  * Rate category ids and corresponding prices
19760
19760
  */
19761
- prices?: Array<_heyapi_801_>;
19761
+ prices?: Array<_heyapi_806_>;
19762
19762
  } | {
19763
19763
  /**
19764
19764
  * Row id
@@ -19839,11 +19839,11 @@ type ImportValidateInput = {
19839
19839
  * Batch id
19840
19840
  */
19841
19841
  batch_id: string;
19842
- metadata: _heyapi_803_;
19842
+ metadata: _heyapi_808_;
19843
19843
  /**
19844
19844
  * Rows to validate
19845
19845
  */
19846
- data: Array<_heyapi_804_ | _heyapi_805_ | _heyapi_806_ | _heyapi_807_ | _heyapi_808_ | _heyapi_809_ | _heyapi_810_>;
19846
+ data: Array<_heyapi_809_ | _heyapi_810_ | _heyapi_811_ | _heyapi_812_ | _heyapi_813_ | _heyapi_814_ | _heyapi_815_>;
19847
19847
  };
19848
19848
  /**
19849
19849
  * Import
@@ -19911,7 +19911,7 @@ type CompanyPreferences = {
19911
19911
  /**
19912
19912
  * System label of tax
19913
19913
  */
19914
- system_label?: string;
19914
+ system_label?: string | null;
19915
19915
  };
19916
19916
  /**
19917
19917
  * Company preferred pay date.
@@ -20099,8 +20099,8 @@ type UpdateCompanyPreferences = {
20099
20099
  value: 'id';
20100
20100
  id: number;
20101
20101
  };
20102
- invoice?: _heyapi_814_ | _heyapi_815_ | _heyapi_816_;
20103
- proforma?: _heyapi_814_ | _heyapi_815_ | _heyapi_816_;
20102
+ invoice?: _heyapi_819_ | _heyapi_820_ | _heyapi_821_;
20103
+ proforma?: _heyapi_819_ | _heyapi_820_ | _heyapi_821_;
20104
20104
  };
20105
20105
  /**
20106
20106
  * Id of the rate category selected.
@@ -20129,7 +20129,7 @@ type IndividualPreferences = {
20129
20129
  */
20130
20130
  label?: string;
20131
20131
  } | null;
20132
- tax?: _heyapi_818_;
20132
+ tax?: _heyapi_823_;
20133
20133
  /**
20134
20134
  * Individual preferred pay date.
20135
20135
  */
@@ -20316,8 +20316,8 @@ type UpdateIndividualPreferences = {
20316
20316
  value: 'id';
20317
20317
  id: number;
20318
20318
  };
20319
- invoice?: _heyapi_820_ | _heyapi_821_ | _heyapi_822_;
20320
- proforma?: _heyapi_820_ | _heyapi_821_ | _heyapi_822_;
20319
+ invoice?: _heyapi_825_ | _heyapi_826_ | _heyapi_827_;
20320
+ proforma?: _heyapi_825_ | _heyapi_826_ | _heyapi_827_;
20321
20321
  };
20322
20322
  /**
20323
20323
  * Id of the rate category selected.
@@ -20831,7 +20831,7 @@ type ProformaInvoiceOne = {
20831
20831
  /**
20832
20832
  * Proforma Invoice Embed
20833
20833
  */
20834
- _embed?: _heyapi_764_ & _heyapi_450_ & {
20834
+ _embed?: _heyapi_769_ & _heyapi_450_ & {
20835
20835
  /**
20836
20836
  * Proforma Invoice ACL
20837
20837
  */
@@ -20847,7 +20847,7 @@ type ProformaInvoiceOne = {
20847
20847
  };
20848
20848
  owner?: _heyapi_434_;
20849
20849
  fiscal_year?: _heyapi_475_;
20850
- currency?: _heyapi_765_;
20850
+ currency?: _heyapi_770_;
20851
20851
  /**
20852
20852
  * Smart-tags linked
20853
20853
  */
@@ -20909,7 +20909,7 @@ type ProformaInvoiceOne = {
20909
20909
  /**
20910
20910
  * Proforma Invoice Embed
20911
20911
  */
20912
- _embed?: _heyapi_764_ & _heyapi_450_ & _heyapi_712_ & {
20912
+ _embed?: _heyapi_769_ & _heyapi_450_ & _heyapi_717_ & {
20913
20913
  /**
20914
20914
  * Proforma Invoice ACL
20915
20915
  */
@@ -20925,7 +20925,7 @@ type ProformaInvoiceOne = {
20925
20925
  };
20926
20926
  owner?: _heyapi_434_;
20927
20927
  fiscal_year?: _heyapi_475_;
20928
- currency?: _heyapi_765_;
20928
+ currency?: _heyapi_770_;
20929
20929
  /**
20930
20930
  * Smart-tags linked
20931
20931
  */
@@ -21203,8 +21203,8 @@ type SubscriptionCreate = {
21203
21203
  * - An optional contact can be added, it must be linked to the provided company.
21204
21204
  *
21205
21205
  */
21206
- related: Array<_heyapi_832_>;
21207
- sending: _heyapi_833_;
21206
+ related: Array<_heyapi_837_>;
21207
+ sending: _heyapi_838_;
21208
21208
  /**
21209
21209
  * Source of payment preferences
21210
21210
  */
@@ -21222,7 +21222,7 @@ type SubscriptionCreate = {
21222
21222
  /**
21223
21223
  * Interval for subscription deadlines
21224
21224
  */
21225
- interval: _heyapi_834_ | _heyapi_835_ | _heyapi_836_;
21225
+ interval: _heyapi_839_ | _heyapi_840_ | _heyapi_841_;
21226
21226
  };
21227
21227
  /**
21228
21228
  * Subscription payment installments to be generated
@@ -21380,9 +21380,9 @@ type ObjectiveCollectionOutput = {
21380
21380
  * Objective name
21381
21381
  */
21382
21382
  name: string;
21383
- category: _heyapi_840_;
21384
- turnover: _heyapi_841_;
21385
- period: _heyapi_842_;
21383
+ category: _heyapi_845_;
21384
+ turnover: _heyapi_846_;
21385
+ period: _heyapi_847_;
21386
21386
  item: {
21387
21387
  /**
21388
21388
  * linked Item id
@@ -21393,16 +21393,16 @@ type ObjectiveCollectionOutput = {
21393
21393
  */
21394
21394
  name: string;
21395
21395
  } | null;
21396
- item_category: _heyapi_843_;
21396
+ item_category: _heyapi_848_;
21397
21397
  /**
21398
21398
  * Refinements of the objective
21399
21399
  */
21400
21400
  refinements: Array<{
21401
- period?: _heyapi_842_;
21402
- turnover?: _heyapi_841_;
21401
+ period?: _heyapi_847_;
21402
+ turnover?: _heyapi_846_;
21403
21403
  }>;
21404
- assignee: _heyapi_844_;
21405
- links: _heyapi_845_;
21404
+ assignee: _heyapi_849_;
21405
+ links: _heyapi_850_;
21406
21406
  } & {
21407
21407
  _embed?: {
21408
21408
  created_by?: _heyapi_434_;
@@ -21423,8 +21423,8 @@ type ObjectiveTurnoverInput = {
21423
21423
  * Code of an existing objective category
21424
21424
  */
21425
21425
  category: 'turnover' | 'forecast_turnover';
21426
- period: _heyapi_842_;
21427
- assignee: _heyapi_847_;
21426
+ period: _heyapi_847_;
21427
+ assignee: _heyapi_852_;
21428
21428
  } & unknown & {
21429
21429
  /**
21430
21430
  * Linked item id
@@ -21470,7 +21470,7 @@ type ObjectiveTurnoverInput = {
21470
21470
  */
21471
21471
  date_end: string;
21472
21472
  };
21473
- turnover?: _heyapi_848_;
21473
+ turnover?: _heyapi_853_;
21474
21474
  }>;
21475
21475
  };
21476
21476
  /**
@@ -21540,8 +21540,8 @@ type ObjectiveOutput = {
21540
21540
  * Turnover
21541
21541
  */
21542
21542
  turnover: {
21543
- expected: _heyapi_848_;
21544
- actual: _heyapi_848_;
21543
+ expected: _heyapi_853_;
21544
+ actual: _heyapi_853_;
21545
21545
  /**
21546
21546
  * Progression of the objective
21547
21547
  */
@@ -21555,7 +21555,7 @@ type ObjectiveOutput = {
21555
21555
  */
21556
21556
  days_left: number;
21557
21557
  };
21558
- period: _heyapi_842_;
21558
+ period: _heyapi_847_;
21559
21559
  item: {
21560
21560
  /**
21561
21561
  * linked Item id
@@ -21580,8 +21580,8 @@ type ObjectiveOutput = {
21580
21580
  * Refinements of the objective
21581
21581
  */
21582
21582
  refinements: Array<{
21583
- period?: _heyapi_842_;
21584
- turnover?: _heyapi_841_;
21583
+ period?: _heyapi_847_;
21584
+ turnover?: _heyapi_846_;
21585
21585
  }>;
21586
21586
  /**
21587
21587
  * Assignee
@@ -21602,7 +21602,7 @@ type ObjectiveOutput = {
21602
21602
  */
21603
21603
  name?: string;
21604
21604
  };
21605
- links: _heyapi_845_;
21605
+ links: _heyapi_850_;
21606
21606
  };
21607
21607
  /**
21608
21608
  * objective metadatas
@@ -21613,7 +21613,7 @@ type ObjectiveMetadata = {
21613
21613
  */
21614
21614
  turnover?: {
21615
21615
  data?: {
21616
- category: _heyapi_840_;
21616
+ category: _heyapi_845_;
21617
21617
  currency: string;
21618
21618
  assignees_types: Array<{
21619
21619
  value: string;
@@ -21621,14 +21621,14 @@ type ObjectiveMetadata = {
21621
21621
  order: number;
21622
21622
  }>;
21623
21623
  assignees: Array<{
21624
- groups?: Array<_heyapi_852_>;
21625
- staffs?: Array<_heyapi_852_>;
21624
+ groups?: Array<_heyapi_857_>;
21625
+ staffs?: Array<_heyapi_857_>;
21626
21626
  }>;
21627
- item_categories: Array<_heyapi_852_ & {
21627
+ item_categories: Array<_heyapi_857_ & {
21628
21628
  parent?: number | null;
21629
21629
  logo?: string | null;
21630
21630
  }>;
21631
- durations: Array<_heyapi_852_ & {
21631
+ durations: Array<_heyapi_857_ & {
21632
21632
  period?: {
21633
21633
  /**
21634
21634
  * The start date
@@ -21657,20 +21657,20 @@ type ObjectiveMetadata = {
21657
21657
  /**
21658
21658
  * List of Assignees
21659
21659
  */
21660
- assignee?: Array<_heyapi_853_>;
21660
+ assignee?: Array<_heyapi_858_>;
21661
21661
  /**
21662
21662
  * List of Categories
21663
21663
  */
21664
- category?: Array<_heyapi_854_>;
21664
+ category?: Array<_heyapi_859_>;
21665
21665
  };
21666
21666
  metadata?: {
21667
21667
  choose_product?: boolean;
21668
21668
  create_new_staff?: boolean;
21669
21669
  create_new_group?: boolean;
21670
21670
  };
21671
- _links?: _heyapi_845_;
21671
+ _links?: _heyapi_850_;
21672
21672
  };
21673
- forecast_turnover?: _heyapi_855_;
21673
+ forecast_turnover?: _heyapi_860_;
21674
21674
  };
21675
21675
  /**
21676
21676
  * objective metadatas upsell
@@ -21681,7 +21681,7 @@ type ObjectiveMetadataUpsell = {
21681
21681
  */
21682
21682
  turnover?: {
21683
21683
  data?: {
21684
- assignees_types: Array<_heyapi_852_ & {
21684
+ assignees_types: Array<_heyapi_857_ & {
21685
21685
  /**
21686
21686
  * upsell
21687
21687
  */
@@ -21693,11 +21693,11 @@ type ObjectiveMetadataUpsell = {
21693
21693
  };
21694
21694
  metadata?: {
21695
21695
  choose_product: {
21696
- upsell: _heyapi_857_;
21696
+ upsell: _heyapi_862_;
21697
21697
  };
21698
21698
  };
21699
21699
  };
21700
- forecast_turnover?: _heyapi_858_;
21700
+ forecast_turnover?: _heyapi_863_;
21701
21701
  };
21702
21702
  type ObjectiveComputeTurnoverInput = {
21703
21703
  /**
@@ -21707,7 +21707,7 @@ type ObjectiveComputeTurnoverInput = {
21707
21707
  /**
21708
21708
  * Period used to compute the turnover
21709
21709
  */
21710
- period: _heyapi_842_;
21710
+ period: _heyapi_847_;
21711
21711
  /**
21712
21712
  * linked item id used to compute the turnover
21713
21713
  */
@@ -21736,11 +21736,11 @@ type ObjectiveComputeTurnoverOutput = Array<{
21736
21736
  /**
21737
21737
  * Period used to compute the turnover
21738
21738
  */
21739
- period: _heyapi_842_;
21739
+ period: _heyapi_847_;
21740
21740
  /**
21741
21741
  * The computed turnover
21742
21742
  */
21743
- turnover: _heyapi_848_;
21743
+ turnover: _heyapi_853_;
21744
21744
  }>;
21745
21745
  /**
21746
21746
  * ObjectiveTurnoverUpdateInput
@@ -21750,13 +21750,13 @@ type ObjectiveTurnoverUpdateInput = {
21750
21750
  * Objective name
21751
21751
  */
21752
21752
  name: string;
21753
- turnover: _heyapi_848_;
21753
+ turnover: _heyapi_853_;
21754
21754
  /**
21755
21755
  * Refinements of the objective
21756
21756
  */
21757
21757
  refinements: Array<{
21758
- period?: _heyapi_842_;
21759
- turnover?: _heyapi_848_;
21758
+ period?: _heyapi_847_;
21759
+ turnover?: _heyapi_853_;
21760
21760
  }>;
21761
21761
  };
21762
21762
  /**
@@ -21990,16 +21990,16 @@ type MarketingAttributeDiffOutput = {
21990
21990
  /**
21991
21991
  * List of new Marketing Attributes to create
21992
21992
  */
21993
- create: Array<_heyapi_869_>;
21993
+ create: Array<_heyapi_874_>;
21994
21994
  /**
21995
21995
  * List of previous Marketing Attributes to delete
21996
21996
  */
21997
- delete: Array<_heyapi_869_>;
21997
+ delete: Array<_heyapi_874_>;
21998
21998
  /**
21999
21999
  * List of Marketing Attributes unchanged
22000
22000
  */
22001
- void: Array<_heyapi_869_>;
22002
- links: _heyapi_870_;
22001
+ void: Array<_heyapi_874_>;
22002
+ links: _heyapi_875_;
22003
22003
  };
22004
22004
  /**
22005
22005
  * Discount including taxes
@@ -22120,7 +22120,7 @@ type ConsentSettingsOuput = {
22120
22120
  href: string;
22121
22121
  }>;
22122
22122
  };
22123
- type ConsentSettingsInput = _heyapi_875_;
22123
+ type ConsentSettingsInput = _heyapi_880_;
22124
22124
  /**
22125
22125
  * The marketing consent settings
22126
22126
  */
@@ -22137,7 +22137,7 @@ type ConsentMarketingSettingsInput = {
22137
22137
  * Progress Invoice Metadata
22138
22138
  */
22139
22139
  type ProgressInvoiceMetadata = {
22140
- parent?: (_heyapi_878_ & {
22140
+ parent?: (_heyapi_883_ & {
22141
22141
  /**
22142
22142
  * Rate category with taxes included
22143
22143
  */
@@ -22146,7 +22146,7 @@ type ProgressInvoiceMetadata = {
22146
22146
  * Progress invoice mode
22147
22147
  */
22148
22148
  progress_invoice_mode?: 'global' | 'per-line';
22149
- }) | (_heyapi_879_ & {
22149
+ }) | (_heyapi_884_ & {
22150
22150
  /**
22151
22151
  * Rate category with taxes included
22152
22152
  */
@@ -22165,12 +22165,12 @@ type ProgressInvoiceMetadata = {
22165
22165
  * Invoice related to the progress invoice, exist only if invoice type is used
22166
22166
  */
22167
22167
  document?: (_heyapi_568_ & {
22168
- rows?: Array<_heyapi_880_ | _heyapi_881_ | _heyapi_882_ | _heyapi_422_ | _heyapi_423_ | _heyapi_424_ | _heyapi_425_ | _heyapi_426_>;
22168
+ rows?: Array<_heyapi_885_ | _heyapi_886_ | _heyapi_887_ | _heyapi_422_ | _heyapi_423_ | _heyapi_424_ | _heyapi_425_ | _heyapi_426_>;
22169
22169
  /**
22170
22170
  * The next available progress invoice number
22171
22171
  */
22172
22172
  next_progress_invoice_number?: number | null;
22173
- _embed?: _heyapi_883_;
22173
+ _embed?: _heyapi_888_;
22174
22174
  } & {
22175
22175
  /**
22176
22176
  * Rate category with taxes included
@@ -22302,7 +22302,7 @@ type ProgressInvoiceMetadata = {
22302
22302
  /**
22303
22303
  * List of bank accounts
22304
22304
  */
22305
- 'bank-accounts'?: Array<_heyapi_884_>;
22305
+ 'bank-accounts'?: Array<_heyapi_889_>;
22306
22306
  /**
22307
22307
  * List of VAT modes
22308
22308
  */
@@ -22353,11 +22353,11 @@ type ProgressInvoiceMetadata = {
22353
22353
  /**
22354
22354
  * List of document layouts
22355
22355
  */
22356
- document_layouts?: Array<_heyapi_746_>;
22356
+ document_layouts?: Array<_heyapi_751_>;
22357
22357
  /**
22358
22358
  * List of languages
22359
22359
  */
22360
- languages?: Array<_heyapi_747_>;
22360
+ languages?: Array<_heyapi_752_>;
22361
22361
  /**
22362
22362
  * Tax with embed
22363
22363
  *
@@ -22537,11 +22537,11 @@ type ProgressInvoiceMetadata = {
22537
22537
  /**
22538
22538
  * List of payment terms
22539
22539
  */
22540
- payment_terms?: Array<_heyapi_885_>;
22540
+ payment_terms?: Array<_heyapi_890_>;
22541
22541
  /**
22542
22542
  * List assigned staff labels
22543
22543
  */
22544
- assigned_staff_labels?: Array<_heyapi_886_>;
22544
+ assigned_staff_labels?: Array<_heyapi_891_>;
22545
22545
  /**
22546
22546
  * Computed progress invoice
22547
22547
  */
@@ -22736,11 +22736,11 @@ type ProgressInvoiceMetadata = {
22736
22736
  /**
22737
22737
  * Summary of all document history (includes current document)
22738
22738
  */
22739
- summary?: Array<_heyapi_758_ & {
22739
+ summary?: Array<_heyapi_763_ & {
22740
22740
  /**
22741
22741
  * Credit notes linked to the invoice
22742
22742
  */
22743
- credit_notes?: Array<_heyapi_758_>;
22743
+ credit_notes?: Array<_heyapi_763_>;
22744
22744
  }>;
22745
22745
  };
22746
22746
  /**
@@ -22883,7 +22883,7 @@ type ProgressInvoiceMetadata = {
22883
22883
  /**
22884
22884
  * List of packagings
22885
22885
  */
22886
- packagings?: Array<_heyapi_887_>;
22886
+ packagings?: Array<_heyapi_892_>;
22887
22887
  /**
22888
22888
  * List of civilities
22889
22889
  */
@@ -22905,7 +22905,7 @@ type ProgressInvoiceMetadata = {
22905
22905
  * Compliance state of the parent document on creation, or of the edited document on update
22906
22906
  */
22907
22907
  is_document_compliant?: boolean;
22908
- company_einvoicing?: _heyapi_888_;
22908
+ company_einvoicing?: _heyapi_893_;
22909
22909
  /**
22910
22910
  * E-invoicing routing address identifier (document value if set, otherwise third default)
22911
22911
  */
@@ -22915,7 +22915,7 @@ type ProgressInvoiceMetadata = {
22915
22915
  * Update Progress Invoice
22916
22916
  */
22917
22917
  type ProgressInvoiceUpdate = {
22918
- rows?: Array<_heyapi_753_ | _heyapi_754_ | _heyapi_755_ | _heyapi_422_ | _heyapi_423_ | _heyapi_424_ | _heyapi_425_ | _heyapi_426_ | _heyapi_890_ | _heyapi_891_ | _heyapi_756_ | _heyapi_464_ | _heyapi_465_ | _heyapi_466_ | {
22918
+ rows?: Array<_heyapi_758_ | _heyapi_759_ | _heyapi_760_ | _heyapi_422_ | _heyapi_423_ | _heyapi_424_ | _heyapi_425_ | _heyapi_426_ | _heyapi_895_ | _heyapi_896_ | _heyapi_761_ | _heyapi_464_ | _heyapi_465_ | _heyapi_466_ | {
22919
22919
  /**
22920
22920
  * Row Identifier
22921
22921
  */
@@ -22930,7 +22930,7 @@ type ProgressInvoiceUpdate = {
22930
22930
  * Date of the invoice
22931
22931
  */
22932
22932
  date?: string;
22933
- validate?: _heyapi_892_;
22933
+ validate?: _heyapi_897_;
22934
22934
  /**
22935
22935
  * Subject of the invoice
22936
22936
  */
@@ -23033,8 +23033,8 @@ type ProgressInvoiceUpdate = {
23033
23033
  */
23034
23034
  shipping_volume?: string;
23035
23035
  shipping_weight?: _heyapi_460_;
23036
- payment_terms?: _heyapi_722_;
23037
- settings?: _heyapi_893_;
23036
+ payment_terms?: _heyapi_727_;
23037
+ settings?: _heyapi_898_;
23038
23038
  /**
23039
23039
  * Analytic code of document
23040
23040
  */
@@ -23252,7 +23252,7 @@ type ProposalModel = {
23252
23252
  /**
23253
23253
  * Proposal document
23254
23254
  */
23255
- type ProposalDocument = _heyapi_901_ & {
23255
+ type ProposalDocument = _heyapi_906_ & {
23256
23256
  /**
23257
23257
  * Proposal document link
23258
23258
  */
@@ -23283,7 +23283,7 @@ type ProposalDocument = _heyapi_901_ & {
23283
23283
  */
23284
23284
  readonly file_id?: number;
23285
23285
  _embed?: {
23286
- file?: _heyapi_631_;
23286
+ file?: _heyapi_636_;
23287
23287
  };
23288
23288
  };
23289
23289
  /**
@@ -23581,6 +23581,19 @@ type PurInvoiceOne = {
23581
23581
  * Purchase invoice number
23582
23582
  */
23583
23583
  number?: string;
23584
+ /**
23585
+ * Amounts of the purchase invoice
23586
+ */
23587
+ readonly amounts?: {
23588
+ /**
23589
+ * Total amount without taxes
23590
+ */
23591
+ total_excl_tax?: string;
23592
+ /**
23593
+ * Total amount including taxes
23594
+ */
23595
+ total_incl_tax?: string;
23596
+ };
23584
23597
  /**
23585
23598
  * Objects linked to the purchase invoice :
23586
23599
  * - There can be only one company or one individual at a time (required)
@@ -23599,6 +23612,10 @@ type PurInvoiceOne = {
23599
23612
  */
23600
23613
  type?: 'company' | 'individual' | 'opportunity' | 'contact';
23601
23614
  }>;
23615
+ /**
23616
+ * Status of the purchase invoice
23617
+ */
23618
+ status?: 'draft' | 'due' | 'payinprogress' | 'paid' | 'late' | 'cancelled';
23602
23619
  };
23603
23620
  /**
23604
23621
  * Purchase credit note
@@ -23612,6 +23629,19 @@ type PurCreditNoteOne = {
23612
23629
  * Purchase credit note number
23613
23630
  */
23614
23631
  number?: string;
23632
+ /**
23633
+ * Amounts of the purchase credit note
23634
+ */
23635
+ readonly amounts?: {
23636
+ /**
23637
+ * Total amount without taxes
23638
+ */
23639
+ total_excl_tax?: string;
23640
+ /**
23641
+ * Total amount including taxes
23642
+ */
23643
+ total_incl_tax?: string;
23644
+ };
23615
23645
  /**
23616
23646
  * Objects linked to the purchase credit note :
23617
23647
  * - There can be only one company or one individual at a time (required)
@@ -23630,6 +23660,10 @@ type PurCreditNoteOne = {
23630
23660
  */
23631
23661
  type?: 'company' | 'individual' | 'opportunity' | 'contact';
23632
23662
  }>;
23663
+ /**
23664
+ * Status of the purchase credit note
23665
+ */
23666
+ status?: 'draft' | 'stored' | 'partialspend' | 'spent' | 'cancelled';
23633
23667
  };
23634
23668
  /**
23635
23669
  * Purchase delivery
@@ -23643,6 +23677,19 @@ type PurDeliveryOne = {
23643
23677
  * Purchase delivery number
23644
23678
  */
23645
23679
  number?: string;
23680
+ /**
23681
+ * Amounts of the purchase delivery
23682
+ */
23683
+ readonly amounts?: {
23684
+ /**
23685
+ * Total amount without taxes
23686
+ */
23687
+ total_excl_tax?: string;
23688
+ /**
23689
+ * Total amount including taxes
23690
+ */
23691
+ total_incl_tax?: string;
23692
+ };
23646
23693
  /**
23647
23694
  * Objects linked to the purchase delivery :
23648
23695
  * - There can be only one company or one individual at a time (required)
@@ -23661,6 +23708,10 @@ type PurDeliveryOne = {
23661
23708
  */
23662
23709
  type?: 'company' | 'individual' | 'opportunity' | 'contact';
23663
23710
  }>;
23711
+ /**
23712
+ * Status of the purchase delivery
23713
+ */
23714
+ status?: 'draft' | 'partialinvoiced' | 'invoiced';
23664
23715
  };
23665
23716
  /**
23666
23717
  * Purchase order
@@ -23674,6 +23725,19 @@ type PurOrderOne = {
23674
23725
  * Purchase order number
23675
23726
  */
23676
23727
  number?: string;
23728
+ /**
23729
+ * Amounts of the purchase order
23730
+ */
23731
+ readonly amounts?: {
23732
+ /**
23733
+ * Total amount without taxes
23734
+ */
23735
+ total_excl_tax?: string;
23736
+ /**
23737
+ * Total amount including taxes
23738
+ */
23739
+ total_incl_tax?: string;
23740
+ };
23677
23741
  /**
23678
23742
  * Objects linked to the purchase order :
23679
23743
  * - There can be only one company or one individual at a time (required)
@@ -23692,6 +23756,10 @@ type PurOrderOne = {
23692
23756
  */
23693
23757
  type?: 'company' | 'individual' | 'opportunity' | 'contact';
23694
23758
  }>;
23759
+ /**
23760
+ * Status of the purchase order
23761
+ */
23762
+ status?: 'draft' | 'sent' | 'read' | 'accepted' | 'expired' | 'partialinvoiced' | 'invoiced' | 'cancelled';
23695
23763
  };
23696
23764
  /**
23697
23765
  * Create model
@@ -26916,7 +26984,7 @@ type DealsWritable = {
26916
26984
  */
26917
26985
  related?: Array<{
26918
26986
  id?: number;
26919
- type?: 'opportunity' | 'company' | 'individual' | 'contact' | 'invoice' | 'creditnote' | 'estimate' | 'order' | 'delivery';
26987
+ type?: 'opportunity' | 'company' | 'individual' | 'contact' | 'invoice' | 'creditnote' | 'estimate' | 'order' | 'delivery' | 'model' | 'purchase-invoice' | 'purchase-creditnote' | 'purchase-order' | 'purchase-delivery' | 'item';
26920
26988
  }>;
26921
26989
  /**
26922
26990
  * Owner of the task
@@ -27850,7 +27918,7 @@ type TaskCollectionItemWritable = _heyapi_439_ & {
27850
27918
  *
27851
27919
  * Objects add to response. Use embed parameter
27852
27920
  */
27853
- _embed?: _heyapi_572_;
27921
+ _embed?: _heyapi_577_;
27854
27922
  };
27855
27923
  /**
27856
27924
  * Label
@@ -27935,7 +28003,7 @@ type LabelBaseItemWritable = {
27935
28003
  */
27936
28004
  related?: Array<{
27937
28005
  id?: number;
27938
- type?: 'opportunity' | 'company' | 'individual' | 'contact' | 'invoice' | 'creditnote' | 'estimate' | 'order' | 'delivery';
28006
+ type?: 'opportunity' | 'company' | 'individual' | 'contact' | 'invoice' | 'creditnote' | 'estimate' | 'order' | 'delivery' | 'model' | 'purchase-invoice' | 'purchase-creditnote' | 'purchase-order' | 'purchase-delivery' | 'item';
27939
28007
  }>;
27940
28008
  /**
27941
28009
  * Owner of the task
@@ -27965,7 +28033,7 @@ type SearchResultWritable = Array<({
27965
28033
  object?: {
27966
28034
  type?: 'contact' | 'company' | 'individual' | 'opportunity' | 'purchase' | 'item' | 'declination' | 'document' | 'staff' | 'redactor';
27967
28035
  id?: number;
27968
- sub_type?: 'contact' | 'opportunity' | 'client' | 'prospect' | 'supplier' | 'purInvoice' | 'purDelivery' | 'purOrder' | 'purCreditNote' | 'product' | 'packaging' | 'shipping' | 'service' | 'declination' | 'invoice' | 'estimate' | 'creditnote' | 'order' | 'delivery' | 'proforma' | 'staff' | 'document' | 'template';
28036
+ sub_type?: 'contact' | 'opportunity' | 'client' | 'prospect' | 'supplier' | 'purInvoice' | 'purDelivery' | 'purOrder' | 'purCreditNote' | 'product' | 'packaging' | 'shipping' | 'service' | 'declination' | 'invoice' | 'estimate' | 'creditnote' | 'order' | 'model' | 'delivery' | 'proforma' | 'staff' | 'document' | 'template';
27969
28037
  };
27970
28038
  /**
27971
28039
  * Status archived or not
@@ -28022,7 +28090,7 @@ type SearchResultWritable = Array<({
28022
28090
  */
28023
28091
  country_code?: string;
28024
28092
  } | null;
28025
- delivery_address?: _heyapi_580_;
28093
+ delivery_address?: _heyapi_585_;
28026
28094
  /**
28027
28095
  * Company's main contact
28028
28096
  */
@@ -28048,7 +28116,7 @@ type SearchResultWritable = Array<({
28048
28116
  * Company reference
28049
28117
  */
28050
28118
  reference?: string;
28051
- }) | (_heyapi_581_ & {
28119
+ }) | (_heyapi_586_ & {
28052
28120
  /**
28053
28121
  * Individual first name
28054
28122
  */
@@ -28074,13 +28142,13 @@ type SearchResultWritable = Array<({
28074
28142
  */
28075
28143
  phone_number?: string | null;
28076
28144
  email?: string | null;
28077
- invoicing_address?: _heyapi_580_;
28078
- delivery_address?: _heyapi_580_;
28145
+ invoicing_address?: _heyapi_585_;
28146
+ delivery_address?: _heyapi_585_;
28079
28147
  /**
28080
28148
  * Individual reference
28081
28149
  */
28082
28150
  reference?: string;
28083
- }) | (_heyapi_581_ & {
28151
+ }) | (_heyapi_586_ & {
28084
28152
  /**
28085
28153
  * Opportunity ident
28086
28154
  */
@@ -28120,7 +28188,7 @@ type SearchResultWritable = Array<({
28120
28188
  */
28121
28189
  civility?: 'mr' | 'mrs' | 'ms';
28122
28190
  });
28123
- }) | (_heyapi_581_ & {
28191
+ }) | (_heyapi_586_ & {
28124
28192
  /**
28125
28193
  * Contact first name
28126
28194
  */
@@ -28163,13 +28231,13 @@ type SearchResultWritable = Array<({
28163
28231
  */
28164
28232
  id?: number;
28165
28233
  }>;
28166
- invoicing_address?: _heyapi_580_;
28167
- delivery_address?: _heyapi_580_;
28168
- }) | (_heyapi_581_ & {
28234
+ invoicing_address?: _heyapi_585_;
28235
+ delivery_address?: _heyapi_585_;
28236
+ }) | (_heyapi_586_ & {
28169
28237
  /**
28170
28238
  * Purchase status
28171
28239
  */
28172
- status?: 'draft' | 'due' | 'payinprogress' | 'paid' | 'late' | 'cancelled' | 'sent' | 'read' | 'accepted' | 'expired' | 'partialInvoiced' | 'invoiced' | 'stored' | 'spent' | 'partialspend';
28240
+ status?: 'draft' | 'due' | 'payinprogress' | 'paid' | 'late' | 'cancelled' | 'sent' | 'read' | 'accepted' | 'expired' | 'partialinvoiced' | 'invoiced' | 'stored' | 'spent' | 'partialspend';
28173
28241
  /**
28174
28242
  * Purchase number
28175
28243
  */
@@ -28213,7 +28281,7 @@ type SearchResultWritable = Array<({
28213
28281
  */
28214
28282
  civility?: 'mr' | 'mrs' | 'ms';
28215
28283
  });
28216
- }) | (_heyapi_581_ & {
28284
+ }) | (_heyapi_586_ & {
28217
28285
  /**
28218
28286
  * Item number
28219
28287
  */
@@ -28226,7 +28294,7 @@ type SearchResultWritable = Array<({
28226
28294
  * Item description
28227
28295
  */
28228
28296
  description?: string | null;
28229
- }) | (_heyapi_581_ & {
28297
+ }) | (_heyapi_586_ & {
28230
28298
  /**
28231
28299
  * Item declination number
28232
28300
  */
@@ -28247,7 +28315,7 @@ type SearchResultWritable = Array<({
28247
28315
  number?: string;
28248
28316
  name?: string;
28249
28317
  };
28250
- }) | (_heyapi_581_ & {
28318
+ }) | (_heyapi_586_ & {
28251
28319
  /**
28252
28320
  * Document status
28253
28321
  */
@@ -28291,7 +28359,7 @@ type SearchResultWritable = Array<({
28291
28359
  */
28292
28360
  civility?: 'mr' | 'mrs' | 'ms';
28293
28361
  });
28294
- }) | (_heyapi_581_ & {
28362
+ }) | (_heyapi_586_ & {
28295
28363
  /**
28296
28364
  * Staff's first name
28297
28365
  */
@@ -28320,7 +28388,7 @@ type SearchResultWritable = Array<({
28320
28388
  * Staff's job
28321
28389
  */
28322
28390
  position?: string | null;
28323
- }) | (_heyapi_581_ & {
28391
+ }) | (_heyapi_586_ & {
28324
28392
  /**
28325
28393
  * Ticket status
28326
28394
  */
@@ -28334,7 +28402,7 @@ type SearchResultWritable = Array<({
28334
28402
  */
28335
28403
  index?: string;
28336
28404
  related?: Array<string>;
28337
- }) | (_heyapi_581_ & {
28405
+ }) | (_heyapi_586_ & {
28338
28406
  /**
28339
28407
  * Redactor status
28340
28408
  */
@@ -28348,7 +28416,7 @@ type SearchResultWritable = Array<({
28348
28416
  */
28349
28417
  ident?: string;
28350
28418
  related?: Array<string>;
28351
- }) | (_heyapi_581_ & {
28419
+ }) | (_heyapi_586_ & {
28352
28420
  /**
28353
28421
  * Redactor template name
28354
28422
  */
@@ -28369,7 +28437,7 @@ type SearchResultBaseItemWritable = {
28369
28437
  object?: {
28370
28438
  type?: 'contact' | 'company' | 'individual' | 'opportunity' | 'purchase' | 'item' | 'declination' | 'document' | 'staff' | 'redactor';
28371
28439
  id?: number;
28372
- sub_type?: 'contact' | 'opportunity' | 'client' | 'prospect' | 'supplier' | 'purInvoice' | 'purDelivery' | 'purOrder' | 'purCreditNote' | 'product' | 'packaging' | 'shipping' | 'service' | 'declination' | 'invoice' | 'estimate' | 'creditnote' | 'order' | 'delivery' | 'proforma' | 'staff' | 'document' | 'template';
28440
+ sub_type?: 'contact' | 'opportunity' | 'client' | 'prospect' | 'supplier' | 'purInvoice' | 'purDelivery' | 'purOrder' | 'purCreditNote' | 'product' | 'packaging' | 'shipping' | 'service' | 'declination' | 'invoice' | 'estimate' | 'creditnote' | 'order' | 'model' | 'delivery' | 'proforma' | 'staff' | 'document' | 'template';
28373
28441
  };
28374
28442
  /**
28375
28443
  * Status archived or not
@@ -28443,13 +28511,13 @@ type PhoneCallItemWritable = {
28443
28511
  /**
28444
28512
  * PhoneCall
28445
28513
  */
28446
- type PhoneCallCollectionItemWritable = _heyapi_587_ & {
28447
- _embed?: _heyapi_588_;
28514
+ type PhoneCallCollectionItemWritable = _heyapi_592_ & {
28515
+ _embed?: _heyapi_593_;
28448
28516
  };
28449
28517
  /**
28450
28518
  * Calendar Event
28451
28519
  */
28452
- type CalendarEventItemWritable = _heyapi_593_ & {
28520
+ type CalendarEventItemWritable = _heyapi_598_ & {
28453
28521
  _embed?: unknown;
28454
28522
  };
28455
28523
  /**
@@ -28494,13 +28562,13 @@ type ActivityWritable = {
28494
28562
  object?: {
28495
28563
  type: string;
28496
28564
  id: string | number;
28497
- model?: _heyapi_435_ | _heyapi_438_ | _heyapi_439_ | _heyapi_437_ | _heyapi_436_ | _heyapi_601_ | _heyapi_593_ | _heyapi_602_ | null;
28565
+ model?: _heyapi_435_ | _heyapi_438_ | _heyapi_439_ | _heyapi_437_ | _heyapi_436_ | _heyapi_606_ | _heyapi_598_ | _heyapi_607_ | null;
28498
28566
  };
28499
28567
  /**
28500
28568
  * List all direct and indirect relations of the activity’s main object
28501
28569
  */
28502
28570
  related?: Array<{
28503
- id?: _heyapi_603_;
28571
+ id?: _heyapi_608_;
28504
28572
  type?: string;
28505
28573
  }>;
28506
28574
  };
@@ -28608,15 +28676,15 @@ type EmailEngineItemWritable = {
28608
28676
  /**
28609
28677
  * An array of name+email pairs the message was sent to.
28610
28678
  */
28611
- to?: Array<_heyapi_609_>;
28679
+ to?: Array<_heyapi_614_>;
28612
28680
  /**
28613
28681
  * An array of name+email pairs the message was cc'd to.
28614
28682
  */
28615
- cc?: Array<_heyapi_609_>;
28683
+ cc?: Array<_heyapi_614_>;
28616
28684
  /**
28617
28685
  * An array of name+email pairs the message was bcc'd to. For received mail this is nearly always empty.
28618
28686
  */
28619
- bcc?: Array<_heyapi_609_>;
28687
+ bcc?: Array<_heyapi_614_>;
28620
28688
  /**
28621
28689
  * Private email or not
28622
28690
  */
@@ -28734,7 +28802,7 @@ type EmailTemplateOutputWritable = {
28734
28802
  * Content of template
28735
28803
  */
28736
28804
  content?: string;
28737
- attachments?: _heyapi_631_;
28805
+ attachments?: _heyapi_636_;
28738
28806
  /**
28739
28807
  * Content to call AI
28740
28808
  */
@@ -28767,7 +28835,7 @@ type EmailTemplateItemOutputWritable = {
28767
28835
  /**
28768
28836
  * Attachment objects
28769
28837
  */
28770
- attachments?: Array<_heyapi_631_>;
28838
+ attachments?: Array<_heyapi_636_>;
28771
28839
  /**
28772
28840
  * Template used in automation
28773
28841
  */
@@ -28800,19 +28868,19 @@ type EmailProviderMessageWritable = {
28800
28868
  * The body of the message
28801
28869
  */
28802
28870
  content?: string;
28803
- from?: _heyapi_609_;
28871
+ from?: _heyapi_614_;
28804
28872
  /**
28805
28873
  * An array of name/email address pairs that the email message was sent to
28806
28874
  */
28807
- to?: Array<_heyapi_609_>;
28875
+ to?: Array<_heyapi_614_>;
28808
28876
  /**
28809
28877
  * An array of name/email address pairs that the email message was CC'd to
28810
28878
  */
28811
- cc?: Array<_heyapi_609_>;
28879
+ cc?: Array<_heyapi_614_>;
28812
28880
  /**
28813
28881
  * An array of name/email address pairs that the email message was BCC'd to
28814
28882
  */
28815
- bcc?: Array<_heyapi_609_>;
28883
+ bcc?: Array<_heyapi_614_>;
28816
28884
  /**
28817
28885
  * Indicates whether the email message has been read by the user
28818
28886
  */
@@ -28820,7 +28888,7 @@ type EmailProviderMessageWritable = {
28820
28888
  /**
28821
28889
  * Attachment objects
28822
28890
  */
28823
- attachments?: Array<_heyapi_643_>;
28891
+ attachments?: Array<_heyapi_648_>;
28824
28892
  /**
28825
28893
  * The date and time of the most recent message in the thread
28826
28894
  */
@@ -28832,7 +28900,7 @@ type EmailProviderMessageWritable = {
28832
28900
  id?: number;
28833
28901
  type?: string;
28834
28902
  }>;
28835
- _links?: _heyapi_644_;
28903
+ _links?: _heyapi_649_;
28836
28904
  };
28837
28905
  type PaymentMethodWritable = {
28838
28906
  _embed?: {
@@ -29545,7 +29613,7 @@ type InvoiceOneWritable = {
29545
29613
  * If the invoice is sent to accounting
29546
29614
  */
29547
29615
  is_sent_to_accounting?: boolean;
29548
- _embed?: _heyapi_710_;
29616
+ _embed?: _heyapi_715_;
29549
29617
  /**
29550
29618
  * Date of the shipping
29551
29619
  */
@@ -29901,13 +29969,13 @@ type InvoiceOneWritable = {
29901
29969
  */
29902
29970
  is_optional?: boolean;
29903
29971
  }>;
29904
- _embed?: _heyapi_710_ & {
29972
+ _embed?: _heyapi_715_ & {
29905
29973
  /**
29906
29974
  * Document Payment Terms
29907
29975
  *
29908
29976
  * Terms of payment of document
29909
29977
  */
29910
- payment_terms?: _heyapi_711_ & {
29978
+ payment_terms?: _heyapi_716_ & {
29911
29979
  /**
29912
29980
  * List of deadlines computed with the payment terms settings
29913
29981
  */
@@ -29938,7 +30006,7 @@ type InvoiceOneWritable = {
29938
30006
  description?: string | null;
29939
30007
  }>;
29940
30008
  };
29941
- } & _heyapi_712_ & {
30009
+ } & _heyapi_717_ & {
29942
30010
  /**
29943
30011
  * Automatic Dunning
29944
30012
  */
@@ -30037,7 +30105,7 @@ type InvoiceOneWritable = {
30037
30105
  }>;
30038
30106
  };
30039
30107
  settings?: _heyapi_476_;
30040
- file?: _heyapi_631_;
30108
+ file?: _heyapi_636_;
30041
30109
  };
30042
30110
  };
30043
30111
  type InvoiceOrProgressInvoiceOneWritable = InvoiceOneWritable | (_heyapi_568_ & {
@@ -30076,8 +30144,8 @@ type InvoiceOrProgressInvoiceOneWritable = InvoiceOneWritable | (_heyapi_568_ &
30076
30144
  * The next available progress invoice number
30077
30145
  */
30078
30146
  next_progress_invoice_number?: number | null;
30079
- _embed?: _heyapi_710_ & _heyapi_714_ & _heyapi_712_ & {
30080
- automatic_dunning?: _heyapi_715_;
30147
+ _embed?: _heyapi_715_ & _heyapi_719_ & _heyapi_717_ & {
30148
+ automatic_dunning?: _heyapi_720_;
30081
30149
  settings?: {
30082
30150
  pdf_display?: {
30083
30151
  /**
@@ -30165,10 +30233,10 @@ type InvoiceOrProgressInvoiceOneWritable = InvoiceOneWritable | (_heyapi_568_ &
30165
30233
  show_terms_and_conditions_text?: boolean;
30166
30234
  };
30167
30235
  } & _heyapi_476_;
30168
- file?: _heyapi_631_;
30236
+ file?: _heyapi_636_;
30169
30237
  };
30170
30238
  });
30171
- type ProgressInvoiceOneWritable = _heyapi_717_;
30239
+ type ProgressInvoiceOneWritable = _heyapi_722_;
30172
30240
  type InvoiceComputeWritable = {
30173
30241
  /**
30174
30242
  * date of the invoice
@@ -30205,7 +30273,7 @@ type InvoiceComputeWritable = {
30205
30273
  * payments methods allowed on the estimate
30206
30274
  */
30207
30275
  payment_method_ids?: Array<number> | null;
30208
- rows?: Array<_heyapi_719_>;
30276
+ rows?: Array<_heyapi_724_>;
30209
30277
  shipping_weight?: _heyapi_460_;
30210
30278
  };
30211
30279
  type InvoiceCreateWritable = {
@@ -30224,7 +30292,7 @@ type InvoiceCreateWritable = {
30224
30292
  * @deprecated
30225
30293
  */
30226
30294
  due_date?: string;
30227
- payment_terms?: _heyapi_722_;
30295
+ payment_terms?: _heyapi_727_;
30228
30296
  /**
30229
30297
  * Created date of invoice
30230
30298
  */
@@ -30405,7 +30473,7 @@ type InvoiceCreateWritable = {
30405
30473
  * Parent object id
30406
30474
  */
30407
30475
  id?: number;
30408
- } | _heyapi_723_ | null;
30476
+ } | _heyapi_728_ | null;
30409
30477
  /**
30410
30478
  * Rate Category to apply on document (By default, the rate_category_id will be that of company)
30411
30479
  */
@@ -30841,7 +30909,7 @@ type DepositInvoiceUpdateWritable = {
30841
30909
  * Currency code of the invoice
30842
30910
  */
30843
30911
  currency?: string;
30844
- related?: _heyapi_726_;
30912
+ related?: _heyapi_731_;
30845
30913
  /**
30846
30914
  * Company or individual name displayed on the invoice. If not provided, use company_name of the parent document.
30847
30915
  */
@@ -30874,7 +30942,7 @@ type DepositInvoiceUpdateWritable = {
30874
30942
  * Analytic code of document
30875
30943
  */
30876
30944
  analytic_code?: string | null;
30877
- payment_terms?: _heyapi_727_;
30945
+ payment_terms?: _heyapi_732_;
30878
30946
  /**
30879
30947
  * Bank account id
30880
30948
  */
@@ -30891,7 +30959,7 @@ type DepositInvoiceUpdateWritable = {
30891
30959
  * Document Layout
30892
30960
  */
30893
30961
  layout_id?: number;
30894
- settings?: _heyapi_728_;
30962
+ settings?: _heyapi_733_;
30895
30963
  /**
30896
30964
  * Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.
30897
30965
  */
@@ -30905,20 +30973,20 @@ type DepositInvoiceUpdateWritable = {
30905
30973
  * Deposit Invoice Compute
30906
30974
  */
30907
30975
  type DepositInvoiceComputeInputWritable = {
30908
- parent: _heyapi_730_;
30976
+ parent: _heyapi_735_;
30909
30977
  /**
30910
30978
  * Rows of the deposit invoice. There must be as many deposit lines as there are VAT rates in the parent document. For example, if the parent document has products with VAT rates of 20% and 5.5%, there must be two 'deposit' rows."
30911
30979
  *
30912
30980
  */
30913
- rows: Array<_heyapi_733_ | _heyapi_734_ | _heyapi_423_ | _heyapi_422_>;
30981
+ rows: Array<_heyapi_738_ | _heyapi_739_ | _heyapi_423_ | _heyapi_422_>;
30914
30982
  /**
30915
30983
  * Deposit invoice id, if already created
30916
30984
  */
30917
30985
  id?: number | null;
30918
30986
  };
30919
30987
  type DepositInvoiceOneWritable = _heyapi_568_ & {
30920
- rows?: Array<_heyapi_737_ | _heyapi_422_ | _heyapi_423_>;
30921
- _embed?: _heyapi_738_;
30988
+ rows?: Array<_heyapi_742_ | _heyapi_422_ | _heyapi_423_>;
30989
+ _embed?: _heyapi_743_;
30922
30990
  };
30923
30991
  /**
30924
30992
  * Deposit Invoice Metadata
@@ -30926,16 +30994,16 @@ type DepositInvoiceOneWritable = _heyapi_568_ & {
30926
30994
  type DepositInvoiceMetadataWritable = {
30927
30995
  parent?: (_heyapi_472_ & {
30928
30996
  rows: Array<_heyapi_480_>;
30929
- }) | (_heyapi_742_ & {
30997
+ }) | (_heyapi_747_ & {
30930
30998
  rows?: Array<_heyapi_480_>;
30931
- }) | (_heyapi_744_ & {
30999
+ }) | (_heyapi_749_ & {
30932
31000
  rows?: Array<_heyapi_480_>;
30933
31001
  });
30934
31002
  /**
30935
31003
  * Current invoice, exist only if invoice type is used
30936
31004
  */
30937
31005
  document?: (_heyapi_568_ & {
30938
- rows?: Array<_heyapi_737_ | _heyapi_422_ | _heyapi_423_>;
31006
+ rows?: Array<_heyapi_742_ | _heyapi_422_ | _heyapi_423_>;
30939
31007
  }) | null;
30940
31008
  law_texts?: {
30941
31009
  /**
@@ -31079,11 +31147,11 @@ type DepositInvoiceMetadataWritable = {
31079
31147
  /**
31080
31148
  * List of document layouts
31081
31149
  */
31082
- document_layouts?: Array<_heyapi_746_>;
31150
+ document_layouts?: Array<_heyapi_751_>;
31083
31151
  /**
31084
31152
  * List of languages
31085
31153
  */
31086
- languages?: Array<_heyapi_747_>;
31154
+ languages?: Array<_heyapi_752_>;
31087
31155
  /**
31088
31156
  * List of payment terms
31089
31157
  */
@@ -31120,7 +31188,7 @@ type DepositInvoiceMetadataWritable = {
31120
31188
  /**
31121
31189
  * Payment term translations
31122
31190
  */
31123
- translations?: Array<_heyapi_748_>;
31191
+ translations?: Array<_heyapi_753_>;
31124
31192
  };
31125
31193
  }>;
31126
31194
  /**
@@ -31147,7 +31215,7 @@ type DepositInvoiceMetadataWritable = {
31147
31215
  /**
31148
31216
  * Assigned staff translations
31149
31217
  */
31150
- translations?: Array<_heyapi_749_>;
31218
+ translations?: Array<_heyapi_754_>;
31151
31219
  };
31152
31220
  }>;
31153
31221
  permissions?: {
@@ -31388,13 +31456,13 @@ type ProgressInvoiceCreateWritable = {
31388
31456
  * Bar code ID for progress-catalog row
31389
31457
  */
31390
31458
  sku_id?: number | null;
31391
- }) | (_heyapi_751_ & {
31459
+ }) | (_heyapi_756_ & {
31392
31460
  type?: 'progress-single';
31393
31461
  /**
31394
31462
  * Purchase amount
31395
31463
  */
31396
31464
  purchase_amount?: string;
31397
- }) | (_heyapi_751_ & {
31465
+ }) | (_heyapi_756_ & {
31398
31466
  type?: 'progress-shipping' | 'progress-packaging';
31399
31467
  }) | _heyapi_422_ | _heyapi_423_ | _heyapi_424_ | _heyapi_425_ | _heyapi_426_>;
31400
31468
  /**
@@ -31873,7 +31941,7 @@ type ProgressInvoiceComputeWritable = {
31873
31941
  * Rows of the progress invoice. There must be at least one progress row.
31874
31942
  *
31875
31943
  */
31876
- rows: Array<_heyapi_424_ | _heyapi_753_ | _heyapi_754_ | _heyapi_755_ | _heyapi_422_ | ({
31944
+ rows: Array<_heyapi_424_ | _heyapi_758_ | _heyapi_759_ | _heyapi_760_ | _heyapi_422_ | ({
31877
31945
  /**
31878
31946
  * ID of the progress invoice row
31879
31947
  */
@@ -31907,20 +31975,20 @@ type ProgressInvoiceComputeWritable = {
31907
31975
  * Bar code ID for progress-catalog row
31908
31976
  */
31909
31977
  sku_id?: number | null;
31910
- }) | (_heyapi_756_ & {
31978
+ }) | (_heyapi_761_ & {
31911
31979
  /**
31912
31980
  * Purchase amount
31913
31981
  */
31914
31982
  purchase_amount?: string;
31915
- }) | _heyapi_756_ | {
31983
+ }) | _heyapi_761_ | {
31916
31984
  /**
31917
31985
  * Row Identifier
31918
31986
  */
31919
31987
  id: number;
31920
31988
  }>;
31921
31989
  };
31922
- type InvoiceUpdateWritable = _heyapi_760_ & {
31923
- rows?: Array<_heyapi_761_> | null;
31990
+ type InvoiceUpdateWritable = _heyapi_765_ & {
31991
+ rows?: Array<_heyapi_766_> | null;
31924
31992
  settings?: _heyapi_469_;
31925
31993
  };
31926
31994
  /**
@@ -32140,9 +32208,9 @@ type CreditNoteWritable = {
32140
32208
  /**
32141
32209
  * Credit Note Embed
32142
32210
  */
32143
- _embed?: _heyapi_764_ & _heyapi_450_ & {
32211
+ _embed?: _heyapi_769_ & _heyapi_450_ & {
32144
32212
  fiscal_year?: _heyapi_475_;
32145
- currency?: _heyapi_765_;
32213
+ currency?: _heyapi_770_;
32146
32214
  owner?: _heyapi_434_;
32147
32215
  /**
32148
32216
  * Credit Note ACL
@@ -32381,11 +32449,11 @@ type CreditNoteOneWritable = {
32381
32449
  */
32382
32450
  label?: string;
32383
32451
  } | null;
32384
- _embed?: _heyapi_767_;
32452
+ _embed?: _heyapi_772_;
32385
32453
  } & {
32386
32454
  rows?: Array<_heyapi_480_>;
32387
- _embed?: _heyapi_767_ & _heyapi_712_ & {
32388
- file?: _heyapi_631_;
32455
+ _embed?: _heyapi_772_ & _heyapi_717_ & {
32456
+ file?: _heyapi_636_;
32389
32457
  };
32390
32458
  };
32391
32459
  type CreditNoteCreateWritable = {
@@ -32496,14 +32564,14 @@ type CreditNoteCreateWritable = {
32496
32564
  einvoicing_electronic_address?: string | null;
32497
32565
  } & {
32498
32566
  rows?: Array<_heyapi_480_> | null;
32499
- parent?: _heyapi_723_ | null;
32567
+ parent?: _heyapi_728_ | null;
32500
32568
  /**
32501
32569
  * Rate Category to apply on document (By default, the rate_category_id will be that of company)
32502
32570
  */
32503
32571
  rate_category_id?: number;
32504
32572
  };
32505
- type CreditNoteUpdateWritable = _heyapi_770_ & {
32506
- rows?: Array<_heyapi_761_> | null;
32573
+ type CreditNoteUpdateWritable = _heyapi_775_ & {
32574
+ rows?: Array<_heyapi_766_> | null;
32507
32575
  };
32508
32576
  /**
32509
32577
  * Credit Note
@@ -32608,7 +32676,7 @@ type CreditNoteComputeWritable = {
32608
32676
  */
32609
32677
  type?: 'company' | 'individual' | 'contact' | 'opportunity';
32610
32678
  }>;
32611
- rows?: Array<_heyapi_719_>;
32679
+ rows?: Array<_heyapi_724_>;
32612
32680
  };
32613
32681
  type OrderCreateWritable = {
32614
32682
  /**
@@ -32752,15 +32820,15 @@ type OrderCreateWritable = {
32752
32820
  shipping_volume?: string;
32753
32821
  } & {
32754
32822
  rows?: Array<_heyapi_480_> | null;
32755
- parent?: _heyapi_723_ | null;
32823
+ parent?: _heyapi_728_ | null;
32756
32824
  /**
32757
32825
  * Rate Category to apply on document (By default, the rate_category_id will be that of company)
32758
32826
  */
32759
32827
  rate_category_id?: number;
32760
32828
  settings?: _heyapi_469_;
32761
32829
  };
32762
- type OrderUpdateWritable = _heyapi_776_ & {
32763
- rows?: Array<_heyapi_761_> | null;
32830
+ type OrderUpdateWritable = _heyapi_781_ & {
32831
+ rows?: Array<_heyapi_766_> | null;
32764
32832
  settings?: _heyapi_469_;
32765
32833
  };
32766
32834
  /**
@@ -32869,7 +32937,7 @@ type OrderWritable = {
32869
32937
  /**
32870
32938
  * Order Embed
32871
32939
  */
32872
- _embed?: _heyapi_764_ & _heyapi_450_ & {
32940
+ _embed?: _heyapi_769_ & _heyapi_450_ & {
32873
32941
  /**
32874
32942
  * Order ACL
32875
32943
  */
@@ -32885,7 +32953,7 @@ type OrderWritable = {
32885
32953
  };
32886
32954
  owner?: _heyapi_434_;
32887
32955
  fiscal_year?: _heyapi_475_;
32888
- currency?: _heyapi_765_;
32956
+ currency?: _heyapi_770_;
32889
32957
  /**
32890
32958
  * Smart-tags linked
32891
32959
  */
@@ -33044,7 +33112,7 @@ type OrderOneWritable = {
33044
33112
  * Notes of the order
33045
33113
  */
33046
33114
  note?: string;
33047
- _embed?: _heyapi_779_;
33115
+ _embed?: _heyapi_784_;
33048
33116
  /**
33049
33117
  * Date of the shipping
33050
33118
  */
@@ -33088,13 +33156,13 @@ type OrderOneWritable = {
33088
33156
  /**
33089
33157
  * Order Embed
33090
33158
  */
33091
- _embed?: _heyapi_764_ & _heyapi_450_ & {
33159
+ _embed?: _heyapi_769_ & _heyapi_450_ & {
33092
33160
  /**
33093
33161
  * Document Payment Terms
33094
33162
  *
33095
33163
  * Terms of payment of document
33096
33164
  */
33097
- payment_terms?: _heyapi_711_ & {
33165
+ payment_terms?: _heyapi_716_ & {
33098
33166
  /**
33099
33167
  * List of deadlines computed with the payment terms settings
33100
33168
  */
@@ -33113,7 +33181,7 @@ type OrderOneWritable = {
33113
33181
  description?: string | null;
33114
33182
  }>;
33115
33183
  };
33116
- } & _heyapi_712_ & {
33184
+ } & _heyapi_717_ & {
33117
33185
  /**
33118
33186
  * Order ACL
33119
33187
  */
@@ -33129,7 +33197,7 @@ type OrderOneWritable = {
33129
33197
  };
33130
33198
  owner?: _heyapi_434_;
33131
33199
  fiscal_year?: _heyapi_475_;
33132
- currency?: _heyapi_765_;
33200
+ currency?: _heyapi_770_;
33133
33201
  /**
33134
33202
  * Smart-tags linked
33135
33203
  */
@@ -33148,7 +33216,7 @@ type OrderOneWritable = {
33148
33216
  */
33149
33217
  label?: string;
33150
33218
  }>;
33151
- file?: _heyapi_631_;
33219
+ file?: _heyapi_636_;
33152
33220
  };
33153
33221
  };
33154
33222
  /**
@@ -33203,7 +33271,7 @@ type OrderComputeWritable = {
33203
33271
  type?: 'company' | 'individual' | 'contact' | 'opportunity';
33204
33272
  }>;
33205
33273
  owner?: unknown;
33206
- rows?: Array<_heyapi_719_>;
33274
+ rows?: Array<_heyapi_724_>;
33207
33275
  shipping_weight?: _heyapi_460_;
33208
33276
  };
33209
33277
  /**
@@ -33340,7 +33408,7 @@ type DeliveryWritable = {
33340
33408
  /**
33341
33409
  * Delivery Embed
33342
33410
  */
33343
- _embed?: _heyapi_764_ & _heyapi_450_ & {
33411
+ _embed?: _heyapi_769_ & _heyapi_450_ & {
33344
33412
  /**
33345
33413
  * Delivery ACL
33346
33414
  */
@@ -33356,7 +33424,7 @@ type DeliveryWritable = {
33356
33424
  };
33357
33425
  owner?: _heyapi_434_;
33358
33426
  fiscal_year?: _heyapi_475_;
33359
- currency?: _heyapi_765_;
33427
+ currency?: _heyapi_770_;
33360
33428
  /**
33361
33429
  * Smart-tags linked
33362
33430
  */
@@ -33495,7 +33563,7 @@ type DeliveryOneWritable = {
33495
33563
  * Total volume of product to ship in m3
33496
33564
  */
33497
33565
  shipping_volume?: string;
33498
- _embed?: _heyapi_784_;
33566
+ _embed?: _heyapi_789_;
33499
33567
  } & {
33500
33568
  rows?: Array<_heyapi_480_>;
33501
33569
  };
@@ -33520,7 +33588,7 @@ type ListFilesOutputWritable = {
33520
33588
  * Current directory location. The first element is the direct parent of the directory
33521
33589
  */
33522
33590
  breadcrumbs?: Array<_heyapi_489_>;
33523
- } | _heyapi_631_;
33591
+ } | _heyapi_636_;
33524
33592
  /**
33525
33593
  * File schema
33526
33594
  *
@@ -33624,7 +33692,7 @@ type CompanyPreferencesWritable = {
33624
33692
  /**
33625
33693
  * System label of tax
33626
33694
  */
33627
- system_label?: string;
33695
+ system_label?: string | null;
33628
33696
  };
33629
33697
  /**
33630
33698
  * Company preferred pay date.
@@ -33770,7 +33838,7 @@ type IndividualPreferencesWritable = {
33770
33838
  */
33771
33839
  label?: string;
33772
33840
  } | null;
33773
- tax?: _heyapi_818_;
33841
+ tax?: _heyapi_823_;
33774
33842
  /**
33775
33843
  * Individual preferred pay date.
33776
33844
  */
@@ -34287,7 +34355,7 @@ type ProformaInvoiceOneWritable = {
34287
34355
  /**
34288
34356
  * Proforma Invoice Embed
34289
34357
  */
34290
- _embed?: _heyapi_764_ & _heyapi_450_ & {
34358
+ _embed?: _heyapi_769_ & _heyapi_450_ & {
34291
34359
  /**
34292
34360
  * Proforma Invoice ACL
34293
34361
  */
@@ -34303,7 +34371,7 @@ type ProformaInvoiceOneWritable = {
34303
34371
  };
34304
34372
  owner?: _heyapi_434_;
34305
34373
  fiscal_year?: _heyapi_475_;
34306
- currency?: _heyapi_765_;
34374
+ currency?: _heyapi_770_;
34307
34375
  /**
34308
34376
  * Smart-tags linked
34309
34377
  */
@@ -34357,7 +34425,7 @@ type ProformaInvoiceOneWritable = {
34357
34425
  /**
34358
34426
  * Proforma Invoice Embed
34359
34427
  */
34360
- _embed?: _heyapi_764_ & _heyapi_450_ & _heyapi_712_ & {
34428
+ _embed?: _heyapi_769_ & _heyapi_450_ & _heyapi_717_ & {
34361
34429
  /**
34362
34430
  * Proforma Invoice ACL
34363
34431
  */
@@ -34373,7 +34441,7 @@ type ProformaInvoiceOneWritable = {
34373
34441
  };
34374
34442
  owner?: _heyapi_434_;
34375
34443
  fiscal_year?: _heyapi_475_;
34376
- currency?: _heyapi_765_;
34444
+ currency?: _heyapi_770_;
34377
34445
  /**
34378
34446
  * Smart-tags linked
34379
34447
  */
@@ -34408,9 +34476,9 @@ type ObjectiveCollectionOutputWritable = {
34408
34476
  * Objective name
34409
34477
  */
34410
34478
  name: string;
34411
- category: _heyapi_840_;
34412
- turnover: _heyapi_841_;
34413
- period: _heyapi_842_;
34479
+ category: _heyapi_845_;
34480
+ turnover: _heyapi_846_;
34481
+ period: _heyapi_847_;
34414
34482
  item: {
34415
34483
  /**
34416
34484
  * linked Item id
@@ -34421,16 +34489,16 @@ type ObjectiveCollectionOutputWritable = {
34421
34489
  */
34422
34490
  name: string;
34423
34491
  } | null;
34424
- item_category: _heyapi_843_;
34492
+ item_category: _heyapi_848_;
34425
34493
  /**
34426
34494
  * Refinements of the objective
34427
34495
  */
34428
34496
  refinements: Array<{
34429
- period?: _heyapi_842_;
34430
- turnover?: _heyapi_841_;
34497
+ period?: _heyapi_847_;
34498
+ turnover?: _heyapi_846_;
34431
34499
  }>;
34432
- assignee: _heyapi_844_;
34433
- links: _heyapi_845_;
34500
+ assignee: _heyapi_849_;
34501
+ links: _heyapi_850_;
34434
34502
  } & {
34435
34503
  _embed?: {
34436
34504
  created_by?: _heyapi_434_;
@@ -34476,7 +34544,7 @@ type DiscountInclTaxesOutputWritable = {
34476
34544
  * Progress Invoice Metadata
34477
34545
  */
34478
34546
  type ProgressInvoiceMetadataWritable = {
34479
- parent?: (_heyapi_878_ & {
34547
+ parent?: (_heyapi_883_ & {
34480
34548
  /**
34481
34549
  * Rate category with taxes included
34482
34550
  */
@@ -34485,7 +34553,7 @@ type ProgressInvoiceMetadataWritable = {
34485
34553
  * Progress invoice mode
34486
34554
  */
34487
34555
  progress_invoice_mode?: 'global' | 'per-line';
34488
- }) | (_heyapi_879_ & {
34556
+ }) | (_heyapi_884_ & {
34489
34557
  /**
34490
34558
  * Rate category with taxes included
34491
34559
  */
@@ -34504,7 +34572,7 @@ type ProgressInvoiceMetadataWritable = {
34504
34572
  * Invoice related to the progress invoice, exist only if invoice type is used
34505
34573
  */
34506
34574
  document?: (_heyapi_568_ & {
34507
- rows?: Array<_heyapi_880_ | _heyapi_881_ | _heyapi_882_ | _heyapi_422_ | _heyapi_423_ | _heyapi_424_ | _heyapi_425_ | _heyapi_426_>;
34575
+ rows?: Array<_heyapi_885_ | _heyapi_886_ | _heyapi_887_ | _heyapi_422_ | _heyapi_423_ | _heyapi_424_ | _heyapi_425_ | _heyapi_426_>;
34508
34576
  /**
34509
34577
  * The next available progress invoice number
34510
34578
  */
@@ -34640,7 +34708,7 @@ type ProgressInvoiceMetadataWritable = {
34640
34708
  /**
34641
34709
  * List of bank accounts
34642
34710
  */
34643
- 'bank-accounts'?: Array<_heyapi_884_>;
34711
+ 'bank-accounts'?: Array<_heyapi_889_>;
34644
34712
  /**
34645
34713
  * List of VAT modes
34646
34714
  */
@@ -34691,11 +34759,11 @@ type ProgressInvoiceMetadataWritable = {
34691
34759
  /**
34692
34760
  * List of document layouts
34693
34761
  */
34694
- document_layouts?: Array<_heyapi_746_>;
34762
+ document_layouts?: Array<_heyapi_751_>;
34695
34763
  /**
34696
34764
  * List of languages
34697
34765
  */
34698
- languages?: Array<_heyapi_747_>;
34766
+ languages?: Array<_heyapi_752_>;
34699
34767
  /**
34700
34768
  * Tax with embed
34701
34769
  *
@@ -34875,11 +34943,11 @@ type ProgressInvoiceMetadataWritable = {
34875
34943
  /**
34876
34944
  * List of payment terms
34877
34945
  */
34878
- payment_terms?: Array<_heyapi_885_>;
34946
+ payment_terms?: Array<_heyapi_890_>;
34879
34947
  /**
34880
34948
  * List assigned staff labels
34881
34949
  */
34882
- assigned_staff_labels?: Array<_heyapi_886_>;
34950
+ assigned_staff_labels?: Array<_heyapi_891_>;
34883
34951
  /**
34884
34952
  * Computed progress invoice
34885
34953
  */
@@ -35074,11 +35142,11 @@ type ProgressInvoiceMetadataWritable = {
35074
35142
  /**
35075
35143
  * Summary of all document history (includes current document)
35076
35144
  */
35077
- summary?: Array<_heyapi_758_ & {
35145
+ summary?: Array<_heyapi_763_ & {
35078
35146
  /**
35079
35147
  * Credit notes linked to the invoice
35080
35148
  */
35081
- credit_notes?: Array<_heyapi_758_>;
35149
+ credit_notes?: Array<_heyapi_763_>;
35082
35150
  }>;
35083
35151
  };
35084
35152
  /**
@@ -35221,7 +35289,7 @@ type ProgressInvoiceMetadataWritable = {
35221
35289
  /**
35222
35290
  * List of packagings
35223
35291
  */
35224
- packagings?: Array<_heyapi_887_>;
35292
+ packagings?: Array<_heyapi_892_>;
35225
35293
  /**
35226
35294
  * List of civilities
35227
35295
  */
@@ -35243,7 +35311,7 @@ type ProgressInvoiceMetadataWritable = {
35243
35311
  * Compliance state of the parent document on creation, or of the edited document on update
35244
35312
  */
35245
35313
  is_document_compliant?: boolean;
35246
- company_einvoicing?: _heyapi_888_;
35314
+ company_einvoicing?: _heyapi_893_;
35247
35315
  /**
35248
35316
  * E-invoicing routing address identifier (document value if set, otherwise third default)
35249
35317
  */
@@ -35253,7 +35321,7 @@ type ProgressInvoiceMetadataWritable = {
35253
35321
  * Update Progress Invoice
35254
35322
  */
35255
35323
  type ProgressInvoiceUpdateWritable = {
35256
- rows?: Array<_heyapi_753_ | _heyapi_754_ | _heyapi_755_ | _heyapi_422_ | _heyapi_423_ | _heyapi_424_ | _heyapi_425_ | _heyapi_426_ | _heyapi_890_ | _heyapi_891_ | _heyapi_756_ | _heyapi_464_ | _heyapi_465_ | _heyapi_466_ | {
35324
+ rows?: Array<_heyapi_758_ | _heyapi_759_ | _heyapi_760_ | _heyapi_422_ | _heyapi_423_ | _heyapi_424_ | _heyapi_425_ | _heyapi_426_ | _heyapi_895_ | _heyapi_896_ | _heyapi_761_ | _heyapi_464_ | _heyapi_465_ | _heyapi_466_ | {
35257
35325
  /**
35258
35326
  * Row Identifier
35259
35327
  */
@@ -35268,7 +35336,7 @@ type ProgressInvoiceUpdateWritable = {
35268
35336
  * Date of the invoice
35269
35337
  */
35270
35338
  date?: string;
35271
- validate?: _heyapi_892_;
35339
+ validate?: _heyapi_897_;
35272
35340
  /**
35273
35341
  * Subject of the invoice
35274
35342
  */
@@ -35371,8 +35439,8 @@ type ProgressInvoiceUpdateWritable = {
35371
35439
  */
35372
35440
  shipping_volume?: string;
35373
35441
  shipping_weight?: _heyapi_460_;
35374
- payment_terms?: _heyapi_722_;
35375
- settings?: _heyapi_893_;
35442
+ payment_terms?: _heyapi_727_;
35443
+ settings?: _heyapi_898_;
35376
35444
  /**
35377
35445
  * Analytic code of document
35378
35446
  */
@@ -35421,7 +35489,7 @@ type ProposalModelWritable = {
35421
35489
  /**
35422
35490
  * Proposal document
35423
35491
  */
35424
- type ProposalDocumentWritable = _heyapi_901_ & {
35492
+ type ProposalDocumentWritable = _heyapi_906_ & {
35425
35493
  /**
35426
35494
  * Proposal document link
35427
35495
  */
@@ -35448,7 +35516,7 @@ type ProposalDocumentWritable = _heyapi_901_ & {
35448
35516
  type?: 'contact' | 'company' | 'individual' | 'opportunity' | 'document' | 'item' | 'rental' | 'ticket';
35449
35517
  }>;
35450
35518
  _embed?: {
35451
- file?: _heyapi_631_;
35519
+ file?: _heyapi_636_;
35452
35520
  };
35453
35521
  };
35454
35522
  type EInvoicingMandateInputWritable = {
@@ -35701,12 +35769,12 @@ type CrmActivityEmbed = Array<'aggregations' | 'aggregations.by_event' | 'aggreg
35701
35769
  * Example : `embed[]=assigned_staffs&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - assigned_staffs: `staffs.read`<br /> - contacts: `contacts.read`<br /> - estimates, invoices, orders, deliveries, proformas, creditnotes: `invoicing.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br />
35702
35770
  *
35703
35771
  */
35704
- type OpportunityEmbed = Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'smart_tags' | _heyapi_1034_>;
35772
+ type OpportunityEmbed = Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'smart_tags' | _heyapi_1039_>;
35705
35773
  /**
35706
35774
  * Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - assigned_staffs: `staffs.read`<br /> - contacts: `contacts.read`<br /> - estimates, invoices, orders, deliveries, proformas, creditnotes: `invoicing.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br />
35707
35775
  *
35708
35776
  */
35709
- type OpportunityEmbedWithAggregations = Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'aggregations' | 'aggregations.amount_sum' | 'aggregations.amount_sum_by_status' | 'aggregations.amount_sum_by_status_due_at_seven' | 'aggregations.number_by_pipeline_and_step' | 'smart_tags' | _heyapi_1034_>;
35777
+ type OpportunityEmbedWithAggregations = Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'aggregations' | 'aggregations.amount_sum' | 'aggregations.amount_sum_by_status' | 'aggregations.amount_sum_by_status_due_at_seven' | 'aggregations.number_by_pipeline_and_step' | 'smart_tags' | _heyapi_1039_>;
35710
35778
  /**
35711
35779
  * The order field
35712
35780
  */
@@ -35789,12 +35857,12 @@ type FavouriteFiltersOrder = (typeof FavouriteFiltersOrder)[keyof typeof Favouri
35789
35857
  * Example : `embed[]=payment_method_ids&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - payment_method_ids: `payments.read`<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - contact: `contacts.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br /> - related: by object type. Check the entire documentation to verify the usual scopes requested for the types returned <br/><br /> <strong>Aggregations on amounts only works in addition with the currency filter</strong>
35790
35858
  *
35791
35859
  */
35792
- type SaleEmbed2 = Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'settings' | _heyapi_1034_>;
35860
+ type SaleEmbed2 = Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'settings' | _heyapi_1039_>;
35793
35861
  /**
35794
35862
  * Example : `embed[]=payment_method_ids&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - payment_method_ids: `payments.read`<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - contact: `contacts.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> - discount_incl_taxes: `discount-incl-taxes.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br /> - related: by object type. Check the entire documentation to verify the usual scopes requested for the types returned <br/><br /> <strong>Aggregations on amounts only works in addition with the currency filter</strong>
35795
35863
  *
35796
35864
  */
35797
- type EstimateOneEmbed2 = Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'discount_incl_taxes' | 'settings' | 'file' | _heyapi_1034_>;
35865
+ type EstimateOneEmbed2 = Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'discount_incl_taxes' | 'settings' | 'file' | _heyapi_1039_>;
35798
35866
  /**
35799
35867
  * The order field
35800
35868
  * > Value `numero` is deprecated and will be deleted on the July 1st 2022. Use `number` instead.
@@ -35851,7 +35919,7 @@ type Autocomplete = string;
35851
35919
  * - `ex with both: type[]=company&type[]=item.product`
35852
35920
  *
35853
35921
  */
35854
- type SearchType = Array<'company' | 'company.client' | 'company.prospect' | 'company.supplier' | 'individual' | 'individual.client' | 'individual.prospect' | 'individual.supplier' | 'contact' | 'opportunity' | 'purchase' | 'purchase.purInvoice' | 'purchase.purDelivery' | 'purchase.purOrder' | 'purchase.purCreditNote' | 'item' | 'item.product' | 'item.packaging' | 'item.shipping' | 'item.service' | 'declination' | 'declination.product' | 'declination.declination' | 'document' | 'document.estimate' | 'document.invoice' | 'document.delivery' | 'document.order' | 'document.proforma' | 'document.creditnote' | 'staff' | 'ticket' | 'redactor' | 'redactor.document' | 'redactor.template'>;
35922
+ type SearchType = Array<'company' | 'company.client' | 'company.prospect' | 'company.supplier' | 'individual' | 'individual.client' | 'individual.prospect' | 'individual.supplier' | 'contact' | 'opportunity' | 'purchase' | 'purchase.purInvoice' | 'purchase.purDelivery' | 'purchase.purOrder' | 'purchase.purCreditNote' | 'item' | 'item.product' | 'item.packaging' | 'item.shipping' | 'item.service' | 'declination' | 'declination.product' | 'declination.declination' | 'document' | 'document.estimate' | 'document.invoice' | 'document.delivery' | 'document.order' | 'document.proforma' | 'document.creditnote' | 'document.model' | 'staff' | 'ticket' | 'redactor' | 'redactor.document' | 'redactor.template'>;
35855
35923
  /**
35856
35924
  * The order field
35857
35925
  */
@@ -36078,11 +36146,11 @@ type CorporationStaffEmbed = Array<'predicted_licenses' | 'aggregations.count_li
36078
36146
  /**
36079
36147
  * Additional object included in the result
36080
36148
  */
36081
- type InvoiceEmbed = Array<'acl' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | _heyapi_1034_>;
36149
+ type InvoiceEmbed = Array<'acl' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | _heyapi_1039_>;
36082
36150
  /**
36083
36151
  * Additional object included in the result
36084
36152
  */
36085
- type InvoiceOneEmbed = Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1034_>;
36153
+ type InvoiceOneEmbed = Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1039_>;
36086
36154
  /**
36087
36155
  * Order field
36088
36156
  */
@@ -36101,11 +36169,11 @@ type InvoiceOrder = (typeof InvoiceOrder)[keyof typeof InvoiceOrder];
36101
36169
  /**
36102
36170
  * Additional object included in the result
36103
36171
  */
36104
- type CreditNoteEmbed = Array<'fiscal_year' | 'related' | 'contact' | 'company' | 'individual' | 'currency' | 'owner' | 'acl' | 'smart_tags' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | _heyapi_1034_>;
36172
+ type CreditNoteEmbed = Array<'fiscal_year' | 'related' | 'contact' | 'company' | 'individual' | 'currency' | 'owner' | 'acl' | 'smart_tags' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | _heyapi_1039_>;
36105
36173
  /**
36106
36174
  * Additional object included in the result
36107
36175
  */
36108
- type CreditNoteOneEmbed = Array<'fiscal_year' | 'related' | 'contact' | 'company' | 'individual' | 'currency' | 'owner' | 'acl' | 'smart_tags' | 'discount_incl_taxes' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'file' | _heyapi_1034_>;
36176
+ type CreditNoteOneEmbed = Array<'fiscal_year' | 'related' | 'contact' | 'company' | 'individual' | 'currency' | 'owner' | 'acl' | 'smart_tags' | 'discount_incl_taxes' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'file' | _heyapi_1039_>;
36109
36177
  /**
36110
36178
  * Order field
36111
36179
  */
@@ -36151,11 +36219,11 @@ type ImportType = (typeof ImportType)[keyof typeof ImportType];
36151
36219
  /**
36152
36220
  * Additional object included in the result
36153
36221
  */
36154
- type OrderEmbed = Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'payment_terms' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'payment_method_ids' | _heyapi_1034_>;
36222
+ type OrderEmbed = Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'payment_terms' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'payment_method_ids' | _heyapi_1039_>;
36155
36223
  /**
36156
36224
  * Additional object included in the result
36157
36225
  */
36158
- type OrderEmbedOne = Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'payment_terms' | 'discount_incl_taxes' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'file' | _heyapi_1034_>;
36226
+ type OrderEmbedOne = Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'payment_terms' | 'discount_incl_taxes' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'file' | _heyapi_1039_>;
36159
36227
  /**
36160
36228
  * Order field
36161
36229
  */
@@ -36175,11 +36243,11 @@ type OrderOrder = (typeof OrderOrder)[keyof typeof OrderOrder];
36175
36243
  /**
36176
36244
  * Additional object included in the result
36177
36245
  */
36178
- type DeliveryEmbed = Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | _heyapi_1034_>;
36246
+ type DeliveryEmbed = Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | _heyapi_1039_>;
36179
36247
  /**
36180
36248
  * Additional object included in the result
36181
36249
  */
36182
- type DeliveryEmbedOne = Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'file' | _heyapi_1034_>;
36250
+ type DeliveryEmbedOne = Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'file' | _heyapi_1039_>;
36183
36251
  /**
36184
36252
  * Order field
36185
36253
  */
@@ -36538,7 +36606,7 @@ type GetCompaniesResponses = {
36538
36606
  /**
36539
36607
  * E-invoicing routing addresses listed for the company in the French e-invoicing directory. Null when no routing address is available.
36540
36608
  */
36541
- einvoicing_electronic_addresses?: Array<_heyapi_1125_> | null;
36609
+ einvoicing_electronic_addresses?: Array<_heyapi_1130_> | null;
36542
36610
  } | null;
36543
36611
  /**
36544
36612
  * Main contact
@@ -36575,7 +36643,7 @@ type GetCompaniesResponses = {
36575
36643
  /**
36576
36644
  * Company acl
36577
36645
  */
36578
- acl?: _heyapi_1126_ | null;
36646
+ acl?: _heyapi_1131_ | null;
36579
36647
  /**
36580
36648
  * Smart-tags linked
36581
36649
  */
@@ -36761,7 +36829,7 @@ type CreateCompanyResponses = {
36761
36829
  /**
36762
36830
  * E-invoicing routing addresses listed for the company in the French e-invoicing directory. Null when no routing address is available.
36763
36831
  */
36764
- einvoicing_electronic_addresses?: Array<_heyapi_1125_> | null;
36832
+ einvoicing_electronic_addresses?: Array<_heyapi_1130_> | null;
36765
36833
  } | null;
36766
36834
  /**
36767
36835
  * Main contact
@@ -36798,7 +36866,7 @@ type CreateCompanyResponses = {
36798
36866
  /**
36799
36867
  * Company acl
36800
36868
  */
36801
- acl?: _heyapi_1126_ | null;
36869
+ acl?: _heyapi_1131_ | null;
36802
36870
  /**
36803
36871
  * Smart-tags linked
36804
36872
  */
@@ -36982,7 +37050,7 @@ type SearchCompaniesResponses = {
36982
37050
  /**
36983
37051
  * E-invoicing routing addresses listed for the company in the French e-invoicing directory. Null when no routing address is available.
36984
37052
  */
36985
- einvoicing_electronic_addresses?: Array<_heyapi_1125_> | null;
37053
+ einvoicing_electronic_addresses?: Array<_heyapi_1130_> | null;
36986
37054
  } | null;
36987
37055
  /**
36988
37056
  * Main contact
@@ -37019,7 +37087,7 @@ type SearchCompaniesResponses = {
37019
37087
  /**
37020
37088
  * Company acl
37021
37089
  */
37022
- acl?: _heyapi_1126_ | null;
37090
+ acl?: _heyapi_1131_ | null;
37023
37091
  /**
37024
37092
  * Smart-tags linked
37025
37093
  */
@@ -37290,7 +37358,7 @@ type GetCompanyResponses = {
37290
37358
  /**
37291
37359
  * E-invoicing routing addresses listed for the company in the French e-invoicing directory. Null when no routing address is available.
37292
37360
  */
37293
- einvoicing_electronic_addresses?: Array<_heyapi_1125_> | null;
37361
+ einvoicing_electronic_addresses?: Array<_heyapi_1130_> | null;
37294
37362
  } | null;
37295
37363
  /**
37296
37364
  * Main contact
@@ -37327,7 +37395,7 @@ type GetCompanyResponses = {
37327
37395
  /**
37328
37396
  * Company acl
37329
37397
  */
37330
- acl?: _heyapi_1126_ | null;
37398
+ acl?: _heyapi_1131_ | null;
37331
37399
  /**
37332
37400
  * Smart-tags linked
37333
37401
  */
@@ -37512,7 +37580,7 @@ type UpdateCompanyResponses = {
37512
37580
  /**
37513
37581
  * E-invoicing routing addresses listed for the company in the French e-invoicing directory. Null when no routing address is available.
37514
37582
  */
37515
- einvoicing_electronic_addresses?: Array<_heyapi_1125_> | null;
37583
+ einvoicing_electronic_addresses?: Array<_heyapi_1130_> | null;
37516
37584
  } | null;
37517
37585
  /**
37518
37586
  * Main contact
@@ -37549,7 +37617,7 @@ type UpdateCompanyResponses = {
37549
37617
  /**
37550
37618
  * Company acl
37551
37619
  */
37552
- acl?: _heyapi_1126_ | null;
37620
+ acl?: _heyapi_1131_ | null;
37553
37621
  /**
37554
37622
  * Smart-tags linked
37555
37623
  */
@@ -38863,7 +38931,7 @@ type GetContactCompaniesResponses = {
38863
38931
  /**
38864
38932
  * E-invoicing routing addresses listed for the company in the French e-invoicing directory. Null when no routing address is available.
38865
38933
  */
38866
- einvoicing_electronic_addresses?: Array<_heyapi_1125_> | null;
38934
+ einvoicing_electronic_addresses?: Array<_heyapi_1130_> | null;
38867
38935
  } | null;
38868
38936
  /**
38869
38937
  * Main contact
@@ -38900,7 +38968,7 @@ type GetContactCompaniesResponses = {
38900
38968
  /**
38901
38969
  * Company acl
38902
38970
  */
38903
- acl?: _heyapi_1126_ | null;
38971
+ acl?: _heyapi_1131_ | null;
38904
38972
  /**
38905
38973
  * Smart-tags linked
38906
38974
  */
@@ -40687,7 +40755,7 @@ type GetEstimatesData = {
40687
40755
  * Example : `embed[]=payment_method_ids&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - payment_method_ids: `payments.read`<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - contact: `contacts.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br /> - related: by object type. Check the entire documentation to verify the usual scopes requested for the types returned <br/><br /> <strong>Aggregations on amounts only works in addition with the currency filter</strong>
40688
40756
  *
40689
40757
  */
40690
- embed?: Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'settings' | _heyapi_1034_>;
40758
+ embed?: Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'settings' | _heyapi_1039_>;
40691
40759
  /**
40692
40760
  * The order field
40693
40761
  * > Value `numero` is deprecated and will be deleted on the July 1st 2022. Use `number` instead.
@@ -40711,7 +40779,7 @@ type CreateEstimateData = {
40711
40779
  * Example : `embed[]=payment_method_ids&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - payment_method_ids: `payments.read`<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - contact: `contacts.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br /> - related: by object type. Check the entire documentation to verify the usual scopes requested for the types returned <br/><br /> <strong>Aggregations on amounts only works in addition with the currency filter</strong>
40712
40780
  *
40713
40781
  */
40714
- embed?: Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'settings' | _heyapi_1034_>;
40782
+ embed?: Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'settings' | _heyapi_1039_>;
40715
40783
  /**
40716
40784
  * Filters the fields returned in the response <br /><br /> Example:<br /> - `field[]=id`: Return the `id` field<br /> - `field[]=address.id`: Return the `id` field of the `address` object<br /> - `field[]=addresses[].id`: Return the `id` field of the `address` objects<br /> <br> On endpoints that implement the `embed` query parameter, if you specified embeds in your call, you will need to request the `_embed` field as well.<br> Example:<br> - `field[]=_embed`: Return all fields from all requested embeds<br> - `field[]=_embed.address`: Return all fields from the `address` embed<br> - `field[]=_embed.company.name`: Return the `name` field from the `company` embed<br>
40717
40785
  *
@@ -40752,7 +40820,7 @@ type SearchEstimatesData = {
40752
40820
  * Example : `embed[]=payment_method_ids&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - payment_method_ids: `payments.read`<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - contact: `contacts.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br /> - related: by object type. Check the entire documentation to verify the usual scopes requested for the types returned <br/><br /> <strong>Aggregations on amounts only works in addition with the currency filter</strong>
40753
40821
  *
40754
40822
  */
40755
- embed?: Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'settings' | _heyapi_1034_>;
40823
+ embed?: Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'settings' | _heyapi_1039_>;
40756
40824
  /**
40757
40825
  * The order field
40758
40826
  * > Value `numero` is deprecated and will be deleted on the July 1st 2022. Use `number` instead.
@@ -40809,7 +40877,7 @@ type ExportEstimatesData = {
40809
40877
  * Example : `embed[]=payment_method_ids&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - payment_method_ids: `payments.read`<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - contact: `contacts.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br /> - related: by object type. Check the entire documentation to verify the usual scopes requested for the types returned <br/><br /> <strong>Aggregations on amounts only works in addition with the currency filter</strong>
40810
40878
  *
40811
40879
  */
40812
- embed?: Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'settings' | _heyapi_1034_>;
40880
+ embed?: Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'settings' | _heyapi_1039_>;
40813
40881
  /**
40814
40882
  * The order field
40815
40883
  * > Value `numero` is deprecated and will be deleted on the July 1st 2022. Use `number` instead.
@@ -41710,7 +41778,7 @@ type GetEstimateData = {
41710
41778
  * Example : `embed[]=payment_method_ids&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - payment_method_ids: `payments.read`<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - contact: `contacts.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> - discount_incl_taxes: `discount-incl-taxes.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br /> - related: by object type. Check the entire documentation to verify the usual scopes requested for the types returned <br/><br /> <strong>Aggregations on amounts only works in addition with the currency filter</strong>
41711
41779
  *
41712
41780
  */
41713
- embed?: Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'discount_incl_taxes' | 'settings' | 'file' | _heyapi_1034_>;
41781
+ embed?: Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'discount_incl_taxes' | 'settings' | 'file' | _heyapi_1039_>;
41714
41782
  };
41715
41783
  url: '/estimates/{id}';
41716
41784
  };
@@ -41745,7 +41813,7 @@ type UpdateEstimateData = {
41745
41813
  * Example : `embed[]=payment_method_ids&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - payment_method_ids: `payments.read`<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - contact: `contacts.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br /> - related: by object type. Check the entire documentation to verify the usual scopes requested for the types returned <br/><br /> <strong>Aggregations on amounts only works in addition with the currency filter</strong>
41746
41814
  *
41747
41815
  */
41748
- embed?: Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'settings' | _heyapi_1034_>;
41816
+ embed?: Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'settings' | _heyapi_1039_>;
41749
41817
  };
41750
41818
  url: '/estimates/{id}';
41751
41819
  };
@@ -41774,7 +41842,7 @@ type UpdateEstimateStatusData = {
41774
41842
  * Example : `embed[]=payment_method_ids&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - payment_method_ids: `payments.read`<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - contact: `contacts.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br /> - related: by object type. Check the entire documentation to verify the usual scopes requested for the types returned <br/><br /> <strong>Aggregations on amounts only works in addition with the currency filter</strong>
41775
41843
  *
41776
41844
  */
41777
- embed?: Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'settings' | _heyapi_1034_>;
41845
+ embed?: Array<'company' | 'individual' | 'contact' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'currency' | 'acl' | 'payment_method_ids' | 'aggregations' | 'aggregations.amount_sum_by_status' | 'aggregations.count_by_status' | 'fiscal_year' | 'smart_tags' | 'payment_terms' | 'settings' | _heyapi_1039_>;
41778
41846
  };
41779
41847
  url: '/estimates/{id}/status';
41780
41848
  };
@@ -42321,7 +42389,7 @@ type GetOrdersData = {
42321
42389
  /**
42322
42390
  * Additional object included in the result
42323
42391
  */
42324
- embed?: Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'payment_terms' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'payment_method_ids' | _heyapi_1034_>;
42392
+ embed?: Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'payment_terms' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'payment_method_ids' | _heyapi_1039_>;
42325
42393
  /**
42326
42394
  * Order field
42327
42395
  */
@@ -42351,7 +42419,7 @@ type CreateOrderData = {
42351
42419
  /**
42352
42420
  * Additional object included in the result
42353
42421
  */
42354
- embed?: Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'payment_terms' | 'discount_incl_taxes' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'file' | _heyapi_1034_>;
42422
+ embed?: Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'payment_terms' | 'discount_incl_taxes' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'file' | _heyapi_1039_>;
42355
42423
  };
42356
42424
  url: '/orders';
42357
42425
  };
@@ -42387,7 +42455,7 @@ type GetOrderData = {
42387
42455
  /**
42388
42456
  * Additional object included in the result
42389
42457
  */
42390
- embed?: Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'payment_terms' | 'discount_incl_taxes' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'file' | _heyapi_1034_>;
42458
+ embed?: Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'payment_terms' | 'discount_incl_taxes' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'file' | _heyapi_1039_>;
42391
42459
  };
42392
42460
  url: '/orders/{id}';
42393
42461
  };
@@ -42410,7 +42478,7 @@ type UpdateOrderData = {
42410
42478
  /**
42411
42479
  * Additional object included in the result
42412
42480
  */
42413
- embed?: Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'payment_terms' | 'discount_incl_taxes' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'file' | _heyapi_1034_>;
42481
+ embed?: Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'payment_terms' | 'discount_incl_taxes' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'file' | _heyapi_1039_>;
42414
42482
  };
42415
42483
  url: '/orders/{id}';
42416
42484
  };
@@ -42445,7 +42513,7 @@ type SearchOrdersData = {
42445
42513
  /**
42446
42514
  * Additional object included in the result
42447
42515
  */
42448
- embed?: Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'payment_terms' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'payment_method_ids' | _heyapi_1034_>;
42516
+ embed?: Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'payment_terms' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'payment_method_ids' | _heyapi_1039_>;
42449
42517
  /**
42450
42518
  * Order field
42451
42519
  */
@@ -43853,7 +43921,7 @@ type GetDeliveriesData = {
43853
43921
  /**
43854
43922
  * Additional object included in the result
43855
43923
  */
43856
- embed?: Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | _heyapi_1034_>;
43924
+ embed?: Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | _heyapi_1039_>;
43857
43925
  /**
43858
43926
  * Order field
43859
43927
  */
@@ -43895,7 +43963,7 @@ type SearchDeliveriesData = {
43895
43963
  /**
43896
43964
  * Additional object included in the result
43897
43965
  */
43898
- embed?: Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | _heyapi_1034_>;
43966
+ embed?: Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | _heyapi_1039_>;
43899
43967
  /**
43900
43968
  * Order field
43901
43969
  */
@@ -43925,7 +43993,7 @@ type GetDeliveryData = {
43925
43993
  /**
43926
43994
  * Additional object included in the result
43927
43995
  */
43928
- embed?: Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'file' | _heyapi_1034_>;
43996
+ embed?: Array<'acl' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'owner' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'settings' | 'assigned_staff' | 'file' | _heyapi_1039_>;
43929
43997
  };
43930
43998
  url: '/deliveries/{id}';
43931
43999
  };
@@ -43948,7 +44016,7 @@ type GetIndividualsData = {
43948
44016
  * Example : `embed[]=invoicing_address&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - opportunities: `opportunities.read`<br /> - main_contact, dunning_contact, invoicing_contact: `contacts.read`<br /> - estimates,invoices,orders,deliveries: `invoicing.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br />
43949
44017
  *
43950
44018
  */
43951
- embed?: Array<'invoicing_address' | 'delivery_address' | 'main_contact' | 'dunning_contact' | 'invoicing_contact' | 'opportunities' | 'estimates' | 'invoices' | 'orders' | 'deliveries' | 'acl' | 'smart_tags' | 'owner' | _heyapi_1034_>;
44019
+ embed?: Array<'invoicing_address' | 'delivery_address' | 'main_contact' | 'dunning_contact' | 'invoicing_contact' | 'opportunities' | 'estimates' | 'invoices' | 'orders' | 'deliveries' | 'acl' | 'smart_tags' | 'owner' | _heyapi_1039_>;
43952
44020
  /**
43953
44021
  * The order direction
43954
44022
  */
@@ -44026,7 +44094,7 @@ type GetIndividualsResponses = {
44026
44094
  /**
44027
44095
  * Individual acl
44028
44096
  */
44029
- acl?: _heyapi_1376_ | null;
44097
+ acl?: _heyapi_1381_ | null;
44030
44098
  /**
44031
44099
  * Smart-tags linked
44032
44100
  */
@@ -44139,7 +44207,7 @@ type CreateIndividualData = {
44139
44207
  * Example : `embed[]=invoicing_address&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - opportunities: `opportunities.read`<br /> - main_contact, dunning_contact, invoicing_contact: `contacts.read`<br /> - estimates,invoices,orders,deliveries: `invoicing.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br />
44140
44208
  *
44141
44209
  */
44142
- embed?: Array<'invoicing_address' | 'delivery_address' | 'main_contact' | 'dunning_contact' | 'invoicing_contact' | 'opportunities' | 'estimates' | 'invoices' | 'orders' | 'deliveries' | 'acl' | 'smart_tags' | 'owner' | _heyapi_1034_>;
44210
+ embed?: Array<'invoicing_address' | 'delivery_address' | 'main_contact' | 'dunning_contact' | 'invoicing_contact' | 'opportunities' | 'estimates' | 'invoices' | 'orders' | 'deliveries' | 'acl' | 'smart_tags' | 'owner' | _heyapi_1039_>;
44143
44211
  /**
44144
44212
  * Filters the fields returned in the response <br /><br /> Example:<br /> - `field[]=id`: Return the `id` field<br /> - `field[]=address.id`: Return the `id` field of the `address` object<br /> - `field[]=addresses[].id`: Return the `id` field of the `address` objects<br /> <br> On endpoints that implement the `embed` query parameter, if you specified embeds in your call, you will need to request the `_embed` field as well.<br> Example:<br> - `field[]=_embed`: Return all fields from all requested embeds<br> - `field[]=_embed.address`: Return all fields from the `address` embed<br> - `field[]=_embed.company.name`: Return the `name` field from the `company` embed<br>
44145
44213
  *
@@ -44206,7 +44274,7 @@ type CreateIndividualResponses = {
44206
44274
  /**
44207
44275
  * Individual acl
44208
44276
  */
44209
- acl?: _heyapi_1376_ | null;
44277
+ acl?: _heyapi_1381_ | null;
44210
44278
  /**
44211
44279
  * Smart-tags linked
44212
44280
  */
@@ -44310,7 +44378,7 @@ type SearchIndividualsData = {
44310
44378
  * Example : `embed[]=invoicing_address&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - opportunities: `opportunities.read`<br /> - main_contact, dunning_contact, invoicing_contact: `contacts.read`<br /> - estimates,invoices,orders,deliveries: `invoicing.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br />
44311
44379
  *
44312
44380
  */
44313
- embed?: Array<'invoicing_address' | 'delivery_address' | 'main_contact' | 'dunning_contact' | 'invoicing_contact' | 'opportunities' | 'estimates' | 'invoices' | 'orders' | 'deliveries' | 'acl' | 'smart_tags' | 'owner' | _heyapi_1034_>;
44381
+ embed?: Array<'invoicing_address' | 'delivery_address' | 'main_contact' | 'dunning_contact' | 'invoicing_contact' | 'opportunities' | 'estimates' | 'invoices' | 'orders' | 'deliveries' | 'acl' | 'smart_tags' | 'owner' | _heyapi_1039_>;
44314
44382
  /**
44315
44383
  * The order direction
44316
44384
  */
@@ -44385,7 +44453,7 @@ type SearchIndividualsResponses = {
44385
44453
  /**
44386
44454
  * Individual acl
44387
44455
  */
44388
- acl?: _heyapi_1376_ | null;
44456
+ acl?: _heyapi_1381_ | null;
44389
44457
  /**
44390
44458
  * Smart-tags linked
44391
44459
  */
@@ -44585,7 +44653,7 @@ type GetIndividualData = {
44585
44653
  * Example : `embed[]=invoicing_address&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - opportunities: `opportunities.read`<br /> - main_contact, dunning_contact, invoicing_contact: `contacts.read`<br /> - estimates,invoices,orders,deliveries: `invoicing.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br />
44586
44654
  *
44587
44655
  */
44588
- embed?: Array<'invoicing_address' | 'delivery_address' | 'main_contact' | 'dunning_contact' | 'invoicing_contact' | 'opportunities' | 'estimates' | 'invoices' | 'orders' | 'deliveries' | 'acl' | 'smart_tags' | 'owner' | _heyapi_1034_>;
44656
+ embed?: Array<'invoicing_address' | 'delivery_address' | 'main_contact' | 'dunning_contact' | 'invoicing_contact' | 'opportunities' | 'estimates' | 'invoices' | 'orders' | 'deliveries' | 'acl' | 'smart_tags' | 'owner' | _heyapi_1039_>;
44589
44657
  /**
44590
44658
  * Filters the fields returned in the response <br /><br /> Example:<br /> - `field[]=id`: Return the `id` field<br /> - `field[]=address.id`: Return the `id` field of the `address` object<br /> - `field[]=addresses[].id`: Return the `id` field of the `address` objects<br /> <br> On endpoints that implement the `embed` query parameter, if you specified embeds in your call, you will need to request the `_embed` field as well.<br> Example:<br> - `field[]=_embed`: Return all fields from all requested embeds<br> - `field[]=_embed.address`: Return all fields from the `address` embed<br> - `field[]=_embed.company.name`: Return the `name` field from the `company` embed<br>
44591
44659
  *
@@ -44648,7 +44716,7 @@ type GetIndividualResponses = {
44648
44716
  /**
44649
44717
  * Individual acl
44650
44718
  */
44651
- acl?: _heyapi_1376_ | null;
44719
+ acl?: _heyapi_1381_ | null;
44652
44720
  /**
44653
44721
  * Smart-tags linked
44654
44722
  */
@@ -44760,7 +44828,7 @@ type UpdateIndividualData = {
44760
44828
  * Example : `embed[]=invoicing_address&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - opportunities: `opportunities.read`<br /> - main_contact, dunning_contact, invoicing_contact: `contacts.read`<br /> - estimates,invoices,orders,deliveries: `invoicing.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br />
44761
44829
  *
44762
44830
  */
44763
- embed?: Array<'invoicing_address' | 'delivery_address' | 'main_contact' | 'dunning_contact' | 'invoicing_contact' | 'opportunities' | 'estimates' | 'invoices' | 'orders' | 'deliveries' | 'acl' | 'smart_tags' | 'owner' | _heyapi_1034_>;
44831
+ embed?: Array<'invoicing_address' | 'delivery_address' | 'main_contact' | 'dunning_contact' | 'invoicing_contact' | 'opportunities' | 'estimates' | 'invoices' | 'orders' | 'deliveries' | 'acl' | 'smart_tags' | 'owner' | _heyapi_1039_>;
44764
44832
  /**
44765
44833
  * Filters the fields returned in the response <br /><br /> Example:<br /> - `field[]=id`: Return the `id` field<br /> - `field[]=address.id`: Return the `id` field of the `address` object<br /> - `field[]=addresses[].id`: Return the `id` field of the `address` objects<br /> <br> On endpoints that implement the `embed` query parameter, if you specified embeds in your call, you will need to request the `_embed` field as well.<br> Example:<br> - `field[]=_embed`: Return all fields from all requested embeds<br> - `field[]=_embed.address`: Return all fields from the `address` embed<br> - `field[]=_embed.company.name`: Return the `name` field from the `company` embed<br>
44766
44834
  *
@@ -44827,7 +44895,7 @@ type UpdateIndividualResponses = {
44827
44895
  /**
44828
44896
  * Individual acl
44829
44897
  */
44830
- acl?: _heyapi_1376_ | null;
44898
+ acl?: _heyapi_1381_ | null;
44831
44899
  /**
44832
44900
  * Smart-tags linked
44833
44901
  */
@@ -46934,7 +47002,7 @@ type GetTaxesResponses = {
46934
47002
  /**
46935
47003
  * Tax with embed
46936
47004
  */
46937
- data: Array<_heyapi_818_ & {
47005
+ data: Array<_heyapi_823_ & {
46938
47006
  /**
46939
47007
  * Optional objects added through the embed parameter
46940
47008
  */
@@ -47173,7 +47241,7 @@ type CreateTaxResponses = {
47173
47241
  *
47174
47242
  * Tax created
47175
47243
  */
47176
- 201: _heyapi_818_ & {
47244
+ 201: _heyapi_823_ & {
47177
47245
  /**
47178
47246
  * Optional objects added through the embed parameter
47179
47247
  */
@@ -47280,7 +47348,7 @@ type SearchTaxesResponses = {
47280
47348
  */
47281
47349
  200: {
47282
47350
  pagination: Pagination;
47283
- data: Array<_heyapi_818_ & {
47351
+ data: Array<_heyapi_823_ & {
47284
47352
  /**
47285
47353
  * Optional objects added through the embed parameter
47286
47354
  */
@@ -47401,7 +47469,7 @@ type GetTaxResponses = {
47401
47469
  *
47402
47470
  * Tax fetched
47403
47471
  */
47404
- 200: _heyapi_818_ & {
47472
+ 200: _heyapi_823_ & {
47405
47473
  /**
47406
47474
  * Optional objects added through the embed parameter
47407
47475
  */
@@ -47650,7 +47718,7 @@ type UpdateTaxResponses = {
47650
47718
  *
47651
47719
  * Tax updated
47652
47720
  */
47653
- 200: _heyapi_818_ & {
47721
+ 200: _heyapi_823_ & {
47654
47722
  /**
47655
47723
  * Optional objects added through the embed parameter
47656
47724
  */
@@ -50832,7 +50900,7 @@ type GetOpportunityData = {
50832
50900
  * Example : `embed[]=assigned_staffs&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - assigned_staffs: `staffs.read`<br /> - contacts: `contacts.read`<br /> - estimates, invoices, orders, deliveries, proformas, creditnotes: `invoicing.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br />
50833
50901
  *
50834
50902
  */
50835
- embed?: Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'smart_tags' | _heyapi_1034_>;
50903
+ embed?: Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'smart_tags' | _heyapi_1039_>;
50836
50904
  /**
50837
50905
  * Filters the fields returned in the response <br /><br /> Example:<br /> - `field[]=id`: Return the `id` field<br /> - `field[]=address.id`: Return the `id` field of the `address` object<br /> - `field[]=addresses[].id`: Return the `id` field of the `address` objects<br /> <br> On endpoints that implement the `embed` query parameter, if you specified embeds in your call, you will need to request the `_embed` field as well.<br> Example:<br> - `field[]=_embed`: Return all fields from all requested embeds<br> - `field[]=_embed.address`: Return all fields from the `address` embed<br> - `field[]=_embed.company.name`: Return the `name` field from the `company` embed<br>
50838
50906
  *
@@ -50867,7 +50935,7 @@ type PatchOpportunityData = {
50867
50935
  * Example : `embed[]=assigned_staffs&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - assigned_staffs: `staffs.read`<br /> - contacts: `contacts.read`<br /> - estimates, invoices, orders, deliveries, proformas, creditnotes: `invoicing.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br />
50868
50936
  *
50869
50937
  */
50870
- embed?: Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'smart_tags' | _heyapi_1034_>;
50938
+ embed?: Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'smart_tags' | _heyapi_1039_>;
50871
50939
  /**
50872
50940
  * Filters the fields returned in the response <br /><br /> Example:<br /> - `field[]=id`: Return the `id` field<br /> - `field[]=address.id`: Return the `id` field of the `address` object<br /> - `field[]=addresses[].id`: Return the `id` field of the `address` objects<br /> <br> On endpoints that implement the `embed` query parameter, if you specified embeds in your call, you will need to request the `_embed` field as well.<br> Example:<br> - `field[]=_embed`: Return all fields from all requested embeds<br> - `field[]=_embed.address`: Return all fields from the `address` embed<br> - `field[]=_embed.company.name`: Return the `name` field from the `company` embed<br>
50873
50941
  *
@@ -50904,7 +50972,7 @@ type UpdateOpportunityData = {
50904
50972
  * Example : `embed[]=assigned_staffs&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - assigned_staffs: `staffs.read`<br /> - contacts: `contacts.read`<br /> - estimates, invoices, orders, deliveries, proformas, creditnotes: `invoicing.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br />
50905
50973
  *
50906
50974
  */
50907
- embed?: Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'smart_tags' | _heyapi_1034_>;
50975
+ embed?: Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'smart_tags' | _heyapi_1039_>;
50908
50976
  /**
50909
50977
  * Filters the fields returned in the response <br /><br /> Example:<br /> - `field[]=id`: Return the `id` field<br /> - `field[]=address.id`: Return the `id` field of the `address` object<br /> - `field[]=addresses[].id`: Return the `id` field of the `address` objects<br /> <br> On endpoints that implement the `embed` query parameter, if you specified embeds in your call, you will need to request the `_embed` field as well.<br> Example:<br> - `field[]=_embed`: Return all fields from all requested embeds<br> - `field[]=_embed.address`: Return all fields from the `address` embed<br> - `field[]=_embed.company.name`: Return the `name` field from the `company` embed<br>
50910
50978
  *
@@ -50966,7 +51034,7 @@ type GetOpportunitiesData = {
50966
51034
  * Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - assigned_staffs: `staffs.read`<br /> - contacts: `contacts.read`<br /> - estimates, invoices, orders, deliveries, proformas, creditnotes: `invoicing.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br />
50967
51035
  *
50968
51036
  */
50969
- embed?: Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'aggregations' | 'aggregations.amount_sum' | 'aggregations.amount_sum_by_status' | 'aggregations.amount_sum_by_status_due_at_seven' | 'aggregations.number_by_pipeline_and_step' | 'smart_tags' | _heyapi_1034_>;
51037
+ embed?: Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'aggregations' | 'aggregations.amount_sum' | 'aggregations.amount_sum_by_status' | 'aggregations.amount_sum_by_status_due_at_seven' | 'aggregations.number_by_pipeline_and_step' | 'smart_tags' | _heyapi_1039_>;
50970
51038
  /**
50971
51039
  * Filters the fields returned in the response <br /><br /> Example:<br /> - `field[]=id`: Return the `id` field<br /> - `field[]=address.id`: Return the `id` field of the `address` object<br /> - `field[]=addresses[].id`: Return the `id` field of the `address` objects<br /> <br> On endpoints that implement the `embed` query parameter, if you specified embeds in your call, you will need to request the `_embed` field as well.<br> Example:<br> - `field[]=_embed`: Return all fields from all requested embeds<br> - `field[]=_embed.address`: Return all fields from the `address` embed<br> - `field[]=_embed.company.name`: Return the `name` field from the `company` embed<br>
50972
51040
  *
@@ -50998,7 +51066,7 @@ type CreateOpportunityData = {
50998
51066
  * Example : `embed[]=assigned_staffs&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - assigned_staffs: `staffs.read`<br /> - contacts: `contacts.read`<br /> - estimates, invoices, orders, deliveries, proformas, creditnotes: `invoicing.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br />
50999
51067
  *
51000
51068
  */
51001
- embed?: Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'smart_tags' | _heyapi_1034_>;
51069
+ embed?: Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'smart_tags' | _heyapi_1039_>;
51002
51070
  /**
51003
51071
  * Filters the fields returned in the response <br /><br /> Example:<br /> - `field[]=id`: Return the `id` field<br /> - `field[]=address.id`: Return the `id` field of the `address` object<br /> - `field[]=addresses[].id`: Return the `id` field of the `address` objects<br /> <br> On endpoints that implement the `embed` query parameter, if you specified embeds in your call, you will need to request the `_embed` field as well.<br> Example:<br> - `field[]=_embed`: Return all fields from all requested embeds<br> - `field[]=_embed.address`: Return all fields from the `address` embed<br> - `field[]=_embed.company.name`: Return the `name` field from the `company` embed<br>
51004
51072
  *
@@ -51085,7 +51153,7 @@ type SearchOpportunitiesData = {
51085
51153
  * Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - assigned_staffs: `staffs.read`<br /> - contacts: `contacts.read`<br /> - estimates, invoices, orders, deliveries, proformas, creditnotes: `invoicing.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br />
51086
51154
  *
51087
51155
  */
51088
- embed?: Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'aggregations' | 'aggregations.amount_sum' | 'aggregations.amount_sum_by_status' | 'aggregations.amount_sum_by_status_due_at_seven' | 'aggregations.number_by_pipeline_and_step' | 'smart_tags' | _heyapi_1034_>;
51156
+ embed?: Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'aggregations' | 'aggregations.amount_sum' | 'aggregations.amount_sum_by_status' | 'aggregations.amount_sum_by_status_due_at_seven' | 'aggregations.number_by_pipeline_and_step' | 'smart_tags' | _heyapi_1039_>;
51089
51157
  /**
51090
51158
  * Filters the fields returned in the response <br /><br /> Example:<br /> - `field[]=id`: Return the `id` field<br /> - `field[]=address.id`: Return the `id` field of the `address` object<br /> - `field[]=addresses[].id`: Return the `id` field of the `address` objects<br /> <br> On endpoints that implement the `embed` query parameter, if you specified embeds in your call, you will need to request the `_embed` field as well.<br> Example:<br> - `field[]=_embed`: Return all fields from all requested embeds<br> - `field[]=_embed.address`: Return all fields from the `address` embed<br> - `field[]=_embed.company.name`: Return the `name` field from the `company` embed<br>
51091
51159
  *
@@ -51142,7 +51210,7 @@ type ExportOpportunitiesData = {
51142
51210
  * Example : `embed[]=assigned_staffs&embed[]=cf.1542&embed[]=acl` <br /> Additional object included in the result.<br /><br /> Each embed object may require different oauth2 scopes than the main endpoint:<br /> - company: `companies.read`<br /> - individual: `individuals.read`<br /> - assigned_staffs: `staffs.read`<br /> - contacts: `contacts.read`<br /> - estimates, invoices, orders, deliveries, proformas, creditnotes: `invoicing.read`<br /> - cf.{custom_field_id} : `custom-fields.read` <br /> - smart_tags: `smart-tags.read`<br /> Additionally, the smart_tags embed is limited to the 20 first results sorted in alphabetical order. <br />
51143
51211
  *
51144
51212
  */
51145
- embed?: Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'smart_tags' | _heyapi_1034_>;
51213
+ embed?: Array<'estimates' | 'individual' | 'invoices' | 'orders' | 'deliveries' | 'proformas' | 'creditnotes' | 'assigned_staffs' | 'company' | 'contacts' | 'acl' | 'currency' | 'smart_tags' | _heyapi_1039_>;
51146
51214
  };
51147
51215
  url: '/opportunities/export';
51148
51216
  };
@@ -55191,7 +55259,7 @@ type SearchData = {
55191
55259
  * - `ex with both: type[]=company&type[]=item.product`
55192
55260
  *
55193
55261
  */
55194
- type?: Array<'company' | 'company.client' | 'company.prospect' | 'company.supplier' | 'individual' | 'individual.client' | 'individual.prospect' | 'individual.supplier' | 'contact' | 'opportunity' | 'purchase' | 'purchase.purInvoice' | 'purchase.purDelivery' | 'purchase.purOrder' | 'purchase.purCreditNote' | 'item' | 'item.product' | 'item.packaging' | 'item.shipping' | 'item.service' | 'declination' | 'declination.product' | 'declination.declination' | 'document' | 'document.estimate' | 'document.invoice' | 'document.delivery' | 'document.order' | 'document.proforma' | 'document.creditnote' | 'staff' | 'ticket' | 'redactor' | 'redactor.document' | 'redactor.template'>;
55262
+ type?: Array<'company' | 'company.client' | 'company.prospect' | 'company.supplier' | 'individual' | 'individual.client' | 'individual.prospect' | 'individual.supplier' | 'contact' | 'opportunity' | 'purchase' | 'purchase.purInvoice' | 'purchase.purDelivery' | 'purchase.purOrder' | 'purchase.purCreditNote' | 'item' | 'item.product' | 'item.packaging' | 'item.shipping' | 'item.service' | 'declination' | 'declination.product' | 'declination.declination' | 'document' | 'document.estimate' | 'document.invoice' | 'document.delivery' | 'document.order' | 'document.proforma' | 'document.creditnote' | 'document.model' | 'staff' | 'ticket' | 'redactor' | 'redactor.document' | 'redactor.template'>;
55195
55263
  /**
55196
55264
  * Pagination limit
55197
55265
  */
@@ -56812,7 +56880,7 @@ type GetInvoiceData = {
56812
56880
  /**
56813
56881
  * Additional object included in the result
56814
56882
  */
56815
- embed?: Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1034_>;
56883
+ embed?: Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1039_>;
56816
56884
  };
56817
56885
  url: '/invoices/{id}';
56818
56886
  };
@@ -56835,7 +56903,7 @@ type UpdateInvoiceData = {
56835
56903
  /**
56836
56904
  * Additional object included in the result
56837
56905
  */
56838
- embed?: Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1034_>;
56906
+ embed?: Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1039_>;
56839
56907
  };
56840
56908
  url: '/invoices/{id}';
56841
56909
  };
@@ -56870,7 +56938,7 @@ type GetInvoicesData = {
56870
56938
  /**
56871
56939
  * Additional object included in the result
56872
56940
  */
56873
- embed?: Array<'acl' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | _heyapi_1034_>;
56941
+ embed?: Array<'acl' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | _heyapi_1039_>;
56874
56942
  /**
56875
56943
  * Order field
56876
56944
  */
@@ -56895,7 +56963,7 @@ type CreateInvoiceData = {
56895
56963
  /**
56896
56964
  * Additional object included in the result
56897
56965
  */
56898
- embed?: Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1034_>;
56966
+ embed?: Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1039_>;
56899
56967
  /**
56900
56968
  * Filters the fields returned in the response <br /><br /> Example:<br /> - `field[]=id`: Return the `id` field<br /> - `field[]=address.id`: Return the `id` field of the `address` object<br /> - `field[]=addresses[].id`: Return the `id` field of the `address` objects<br /> <br> On endpoints that implement the `embed` query parameter, if you specified embeds in your call, you will need to request the `_embed` field as well.<br> Example:<br> - `field[]=_embed`: Return all fields from all requested embeds<br> - `field[]=_embed.address`: Return all fields from the `address` embed<br> - `field[]=_embed.company.name`: Return the `name` field from the `company` embed<br>
56901
56969
  *
@@ -56935,7 +57003,7 @@ type SearchInvoicesData = {
56935
57003
  /**
56936
57004
  * Additional object included in the result
56937
57005
  */
56938
- embed?: Array<'acl' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | _heyapi_1034_>;
57006
+ embed?: Array<'acl' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | _heyapi_1039_>;
56939
57007
  /**
56940
57008
  * Order field
56941
57009
  */
@@ -56985,7 +57053,7 @@ type ExportInvoicesData = {
56985
57053
  /**
56986
57054
  * Additional object included in the result
56987
57055
  */
56988
- embed?: Array<'acl' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | _heyapi_1034_>;
57056
+ embed?: Array<'acl' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | _heyapi_1039_>;
56989
57057
  /**
56990
57058
  * Order field
56991
57059
  */
@@ -58316,7 +58384,7 @@ type GetCreditNoteData = {
58316
58384
  /**
58317
58385
  * Additional object included in the result
58318
58386
  */
58319
- embed?: Array<'fiscal_year' | 'related' | 'contact' | 'company' | 'individual' | 'currency' | 'owner' | 'acl' | 'smart_tags' | 'discount_incl_taxes' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'file' | _heyapi_1034_>;
58387
+ embed?: Array<'fiscal_year' | 'related' | 'contact' | 'company' | 'individual' | 'currency' | 'owner' | 'acl' | 'smart_tags' | 'discount_incl_taxes' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'file' | _heyapi_1039_>;
58320
58388
  };
58321
58389
  url: '/credit-notes/{id}';
58322
58390
  };
@@ -58339,7 +58407,7 @@ type UpdateCreditNoteData = {
58339
58407
  /**
58340
58408
  * Additional object included in the result
58341
58409
  */
58342
- embed?: Array<'fiscal_year' | 'related' | 'contact' | 'company' | 'individual' | 'currency' | 'owner' | 'acl' | 'smart_tags' | 'discount_incl_taxes' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'file' | _heyapi_1034_>;
58410
+ embed?: Array<'fiscal_year' | 'related' | 'contact' | 'company' | 'individual' | 'currency' | 'owner' | 'acl' | 'smart_tags' | 'discount_incl_taxes' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'file' | _heyapi_1039_>;
58343
58411
  };
58344
58412
  url: '/credit-notes/{id}';
58345
58413
  };
@@ -58374,7 +58442,7 @@ type GetCreditNotesData = {
58374
58442
  /**
58375
58443
  * Additional object included in the result
58376
58444
  */
58377
- embed?: Array<'fiscal_year' | 'related' | 'contact' | 'company' | 'individual' | 'currency' | 'owner' | 'acl' | 'smart_tags' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | _heyapi_1034_>;
58445
+ embed?: Array<'fiscal_year' | 'related' | 'contact' | 'company' | 'individual' | 'currency' | 'owner' | 'acl' | 'smart_tags' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | _heyapi_1039_>;
58378
58446
  /**
58379
58447
  * Order field
58380
58448
  */
@@ -58399,7 +58467,7 @@ type CreateCreditNoteData = {
58399
58467
  /**
58400
58468
  * Additional object included in the result
58401
58469
  */
58402
- embed?: Array<'fiscal_year' | 'related' | 'contact' | 'company' | 'individual' | 'currency' | 'owner' | 'acl' | 'smart_tags' | 'discount_incl_taxes' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'file' | _heyapi_1034_>;
58470
+ embed?: Array<'fiscal_year' | 'related' | 'contact' | 'company' | 'individual' | 'currency' | 'owner' | 'acl' | 'smart_tags' | 'discount_incl_taxes' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'file' | _heyapi_1039_>;
58403
58471
  /**
58404
58472
  * Filters the fields returned in the response <br /><br /> Example:<br /> - `field[]=id`: Return the `id` field<br /> - `field[]=address.id`: Return the `id` field of the `address` object<br /> - `field[]=addresses[].id`: Return the `id` field of the `address` objects<br /> <br> On endpoints that implement the `embed` query parameter, if you specified embeds in your call, you will need to request the `_embed` field as well.<br> Example:<br> - `field[]=_embed`: Return all fields from all requested embeds<br> - `field[]=_embed.address`: Return all fields from the `address` embed<br> - `field[]=_embed.company.name`: Return the `name` field from the `company` embed<br>
58405
58473
  *
@@ -58439,7 +58507,7 @@ type SearchCreditNotesData = {
58439
58507
  /**
58440
58508
  * Additional object included in the result
58441
58509
  */
58442
- embed?: Array<'fiscal_year' | 'related' | 'contact' | 'company' | 'individual' | 'currency' | 'owner' | 'acl' | 'smart_tags' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | _heyapi_1034_>;
58510
+ embed?: Array<'fiscal_year' | 'related' | 'contact' | 'company' | 'individual' | 'currency' | 'owner' | 'acl' | 'smart_tags' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | _heyapi_1039_>;
58443
58511
  /**
58444
58512
  * Order field
58445
58513
  */
@@ -61338,7 +61406,7 @@ type UpdateModelData = {
61338
61406
  * Invoice's owner (staff id)
61339
61407
  */
61340
61408
  owner_id?: number;
61341
- rows?: Array<_heyapi_2244_> | null;
61409
+ rows?: Array<_heyapi_2249_> | null;
61342
61410
  };
61343
61411
  path: {
61344
61412
  /**
@@ -61526,7 +61594,7 @@ type ConvertModelResponses = {
61526
61594
  * Rate Category applied on document
61527
61595
  */
61528
61596
  rate_category_id?: number;
61529
- rows?: Array<_heyapi_719_> | null;
61597
+ rows?: Array<_heyapi_724_> | null;
61530
61598
  /**
61531
61599
  * Note of the document
61532
61600
  */
@@ -61754,7 +61822,7 @@ type GetDepositInvoicesData = {
61754
61822
  /**
61755
61823
  * Additional object included in the result
61756
61824
  */
61757
- embed?: Array<'acl' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | _heyapi_1034_>;
61825
+ embed?: Array<'acl' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | _heyapi_1039_>;
61758
61826
  /**
61759
61827
  * Order field
61760
61828
  */
@@ -61780,7 +61848,7 @@ type CreateDepositInvoiceData = {
61780
61848
  /**
61781
61849
  * Additional object included in the result
61782
61850
  */
61783
- embed?: Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1034_>;
61851
+ embed?: Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1039_>;
61784
61852
  };
61785
61853
  url: '/deposit-invoices';
61786
61854
  };
@@ -61815,7 +61883,7 @@ type SearchDepositInvoicesData = {
61815
61883
  /**
61816
61884
  * Additional object included in the result
61817
61885
  */
61818
- embed?: Array<'acl' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | _heyapi_1034_>;
61886
+ embed?: Array<'acl' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'smart_tags' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | _heyapi_1039_>;
61819
61887
  /**
61820
61888
  * Order field
61821
61889
  */
@@ -61884,7 +61952,7 @@ type GetDepositInvoiceData = {
61884
61952
  /**
61885
61953
  * Additional object included in the result
61886
61954
  */
61887
- embed?: Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1034_>;
61955
+ embed?: Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1039_>;
61888
61956
  };
61889
61957
  url: '/deposit-invoices/{id}';
61890
61958
  };
@@ -61907,7 +61975,7 @@ type UpdateDepositInvoiceData = {
61907
61975
  /**
61908
61976
  * Additional object included in the result
61909
61977
  */
61910
- embed?: Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1034_>;
61978
+ embed?: Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1039_>;
61911
61979
  };
61912
61980
  url: '/deposit-invoices/{id}';
61913
61981
  };
@@ -63763,7 +63831,7 @@ type CreateProgressInvoiceData = {
63763
63831
  /**
63764
63832
  * Additional object included in the result
63765
63833
  */
63766
- embed?: Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1034_>;
63834
+ embed?: Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1039_>;
63767
63835
  /**
63768
63836
  * Filters the fields returned in the response <br /><br /> Example:<br /> - `field[]=id`: Return the `id` field<br /> - `field[]=address.id`: Return the `id` field of the `address` object<br /> - `field[]=addresses[].id`: Return the `id` field of the `address` objects<br /> <br> On endpoints that implement the `embed` query parameter, if you specified embeds in your call, you will need to request the `_embed` field as well.<br> Example:<br> - `field[]=_embed`: Return all fields from all requested embeds<br> - `field[]=_embed.address`: Return all fields from the `address` embed<br> - `field[]=_embed.company.name`: Return the `name` field from the `company` embed<br>
63769
63837
  *
@@ -63776,7 +63844,7 @@ type CreateProgressInvoiceResponses = {
63776
63844
  /**
63777
63845
  * Progress invoice created
63778
63846
  */
63779
- 201: _heyapi_717_;
63847
+ 201: _heyapi_722_;
63780
63848
  };
63781
63849
  type CreateProgressInvoiceResponse = CreateProgressInvoiceResponses[keyof CreateProgressInvoiceResponses];
63782
63850
  type ComputeProgressInvoiceData = {
@@ -63804,7 +63872,7 @@ type UpdateProgressInvoiceData = {
63804
63872
  /**
63805
63873
  * Additional object included in the result
63806
63874
  */
63807
- embed?: Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1034_>;
63875
+ embed?: Array<'acl' | 'payment_terms' | 'owner' | 'related' | 'contact' | 'individual' | 'company' | 'fiscal_year' | 'currency' | 'automatic_dunning' | 'smart_tags' | 'discount_incl_taxes' | 'deposits' | 'invoicing_address' | 'delivery_address' | 'issuer_address' | 'payment_method_ids' | 'settings' | 'file' | _heyapi_1039_>;
63808
63876
  /**
63809
63877
  * Filters the fields returned in the response <br /><br /> Example:<br /> - `field[]=id`: Return the `id` field<br /> - `field[]=address.id`: Return the `id` field of the `address` object<br /> - `field[]=addresses[].id`: Return the `id` field of the `address` objects<br /> <br> On endpoints that implement the `embed` query parameter, if you specified embeds in your call, you will need to request the `_embed` field as well.<br> Example:<br> - `field[]=_embed`: Return all fields from all requested embeds<br> - `field[]=_embed.address`: Return all fields from the `address` embed<br> - `field[]=_embed.company.name`: Return the `name` field from the `company` embed<br>
63810
63878
  *
@@ -63817,7 +63885,7 @@ type UpdateProgressInvoiceResponses = {
63817
63885
  /**
63818
63886
  * Progress invoice updated
63819
63887
  */
63820
- 200: _heyapi_717_;
63888
+ 200: _heyapi_722_;
63821
63889
  };
63822
63890
  type UpdateProgressInvoiceResponse = UpdateProgressInvoiceResponses[keyof UpdateProgressInvoiceResponses];
63823
63891
  type GetPaymentTermsData = {
@@ -71137,7 +71205,7 @@ declare const DealsSchema: {
71137
71205
  readonly type: {
71138
71206
  readonly type: "string";
71139
71207
  readonly example: "opportunity";
71140
- readonly enum: readonly ["opportunity", "company", "individual", "contact", "invoice", "creditnote", "estimate", "order", "delivery"];
71208
+ readonly enum: readonly ["opportunity", "company", "individual", "contact", "invoice", "creditnote", "estimate", "order", "delivery", "model", "purchase-invoice", "purchase-creditnote", "purchase-order", "purchase-delivery", "item"];
71141
71209
  };
71142
71210
  };
71143
71211
  };
@@ -75402,6 +75470,21 @@ declare const TaskItemSchema: {
75402
75470
  }, {
75403
75471
  readonly $ref: "#/components/schemas/EstimateOne/allOf/0";
75404
75472
  readonly title: "Estimate";
75473
+ }, {
75474
+ readonly $ref: "#/components/schemas/ModelOne/allOf/0";
75475
+ readonly title: "Model";
75476
+ }, {
75477
+ readonly $ref: "#/components/schemas/purCreditNoteOne/allOf/0";
75478
+ readonly title: "Purchase Credit Note";
75479
+ }, {
75480
+ readonly $ref: "#/components/schemas/purDeliveryOne/allOf/0";
75481
+ readonly title: "Purchase Delivery";
75482
+ }, {
75483
+ readonly $ref: "#/components/schemas/purInvoiceOne/allOf/0";
75484
+ readonly title: "Purchase Invoice";
75485
+ }, {
75486
+ readonly $ref: "#/components/schemas/purOrderOne/allOf/0";
75487
+ readonly title: "Purchase Order";
75405
75488
  }];
75406
75489
  };
75407
75490
  };
@@ -75551,7 +75634,7 @@ declare const TaskCreateItemSchema: {
75551
75634
  readonly type: {
75552
75635
  readonly type: "string";
75553
75636
  readonly example: "opportunity";
75554
- readonly enum: readonly ["opportunity", "company", "individual", "contact", "estimate", "invoice", "creditnote", "order", "delivery"];
75637
+ readonly enum: readonly ["opportunity", "company", "individual", "contact", "estimate", "invoice", "creditnote", "order", "delivery", "model", "purchase-invoice", "purchase-creditnote", "purchase-order", "purchase-delivery", "item"];
75555
75638
  };
75556
75639
  };
75557
75640
  };
@@ -75593,7 +75676,7 @@ declare const TaskCreateItemSchema: {
75593
75676
  readonly type: {
75594
75677
  readonly type: "string";
75595
75678
  readonly example: "opportunity";
75596
- readonly enum: readonly ["opportunity", "company", "individual", "contact", "estimate", "invoice", "creditnote", "order", "delivery"];
75679
+ readonly enum: readonly ["opportunity", "company", "individual", "contact", "estimate", "invoice", "creditnote", "order", "delivery", "model", "purchase-invoice", "purchase-creditnote", "purchase-order", "purchase-delivery", "item"];
75597
75680
  };
75598
75681
  };
75599
75682
  };
@@ -75704,7 +75787,7 @@ declare const TaskUpdateItemSchema: {
75704
75787
  readonly type: {
75705
75788
  readonly type: "string";
75706
75789
  readonly example: "opportunity";
75707
- readonly enum: readonly ["opportunity", "company", "individual", "contact", "estimate", "invoice", "creditnote", "order", "delivery"];
75790
+ readonly enum: readonly ["opportunity", "company", "individual", "contact", "estimate", "invoice", "creditnote", "order", "delivery", "model", "purchase-invoice", "purchase-creditnote", "purchase-order", "purchase-delivery", "item"];
75708
75791
  };
75709
75792
  };
75710
75793
  };
@@ -76050,7 +76133,7 @@ declare const LabelBaseItemSchema: {
76050
76133
  readonly type: {
76051
76134
  readonly type: "string";
76052
76135
  readonly example: "opportunity";
76053
- readonly enum: readonly ["opportunity", "company", "individual", "contact", "invoice", "creditnote", "estimate", "order", "delivery"];
76136
+ readonly enum: readonly ["opportunity", "company", "individual", "contact", "invoice", "creditnote", "estimate", "order", "delivery", "model", "purchase-invoice", "purchase-creditnote", "purchase-order", "purchase-delivery", "item"];
76054
76137
  };
76055
76138
  };
76056
76139
  };
@@ -76173,7 +76256,7 @@ declare const SearchResultSchema: {
76173
76256
  };
76174
76257
  readonly sub_type: {
76175
76258
  readonly type: "string";
76176
- readonly enum: readonly ["contact", "opportunity", "client", "prospect", "supplier", "purInvoice", "purDelivery", "purOrder", "purCreditNote", "product", "packaging", "shipping", "service", "declination", "invoice", "estimate", "creditnote", "order", "delivery", "proforma", "staff", "document", "template"];
76259
+ readonly enum: readonly ["contact", "opportunity", "client", "prospect", "supplier", "purInvoice", "purDelivery", "purOrder", "purCreditNote", "product", "packaging", "shipping", "service", "declination", "invoice", "estimate", "creditnote", "order", "model", "delivery", "proforma", "staff", "document", "template"];
76177
76260
  readonly nullable: false;
76178
76261
  };
76179
76262
  };
@@ -76587,7 +76670,7 @@ declare const SearchResultSchema: {
76587
76670
  readonly description: "Purchase status";
76588
76671
  readonly type: "string";
76589
76672
  readonly example: "read";
76590
- readonly enum: readonly ["draft", "due", "payinprogress", "paid", "late", "cancelled", "sent", "read", "accepted", "expired", "partialInvoiced", "invoiced", "stored", "spent", "partialspend"];
76673
+ readonly enum: readonly ["draft", "due", "payinprogress", "paid", "late", "cancelled", "sent", "read", "accepted", "expired", "partialinvoiced", "invoiced", "stored", "spent", "partialspend"];
76591
76674
  };
76592
76675
  readonly number: {
76593
76676
  readonly description: "Purchase number";
@@ -77003,7 +77086,7 @@ declare const SearchResultBaseItemSchema: {
77003
77086
  };
77004
77087
  readonly sub_type: {
77005
77088
  readonly type: "string";
77006
- readonly enum: readonly ["contact", "opportunity", "client", "prospect", "supplier", "purInvoice", "purDelivery", "purOrder", "purCreditNote", "product", "packaging", "shipping", "service", "declination", "invoice", "estimate", "creditnote", "order", "delivery", "proforma", "staff", "document", "template"];
77089
+ readonly enum: readonly ["contact", "opportunity", "client", "prospect", "supplier", "purInvoice", "purDelivery", "purOrder", "purCreditNote", "product", "packaging", "shipping", "service", "declination", "invoice", "estimate", "creditnote", "order", "model", "delivery", "proforma", "staff", "document", "template"];
77007
77090
  readonly nullable: false;
77008
77091
  };
77009
77092
  };
@@ -95165,6 +95248,7 @@ declare const CompanyPreferencesSchema: {
95165
95248
  readonly type: "string";
95166
95249
  readonly description: "System label of tax";
95167
95250
  readonly example: "Intracom";
95251
+ readonly nullable: true;
95168
95252
  };
95169
95253
  };
95170
95254
  };
@@ -100781,6 +100865,23 @@ declare const purInvoiceOneSchema: {
100781
100865
  readonly description: "Purchase invoice number";
100782
100866
  readonly example: "F_INV-20250916-00002";
100783
100867
  };
100868
+ readonly amounts: {
100869
+ readonly type: "object";
100870
+ readonly readOnly: true;
100871
+ readonly description: "Amounts of the purchase invoice";
100872
+ readonly properties: {
100873
+ readonly total_excl_tax: {
100874
+ readonly type: "string";
100875
+ readonly description: "Total amount without taxes";
100876
+ readonly example: "933.07";
100877
+ };
100878
+ readonly total_incl_tax: {
100879
+ readonly type: "string";
100880
+ readonly description: "Total amount including taxes";
100881
+ readonly example: "1119.68";
100882
+ };
100883
+ };
100884
+ };
100784
100885
  readonly related: {
100785
100886
  readonly 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";
100786
100887
  readonly type: "array";
@@ -100802,6 +100903,13 @@ declare const purInvoiceOneSchema: {
100802
100903
  };
100803
100904
  };
100804
100905
  };
100906
+ readonly status: {
100907
+ readonly type: "string";
100908
+ readonly readOnly: true;
100909
+ readonly description: "Status of the purchase invoice";
100910
+ readonly example: "paid";
100911
+ readonly enum: readonly ["draft", "due", "payinprogress", "paid", "late", "cancelled"];
100912
+ };
100805
100913
  };
100806
100914
  }];
100807
100915
  };
@@ -100822,6 +100930,23 @@ declare const purCreditNoteOneSchema: {
100822
100930
  readonly description: "Purchase credit note number";
100823
100931
  readonly example: "F_AVR-20250916-00002";
100824
100932
  };
100933
+ readonly amounts: {
100934
+ readonly type: "object";
100935
+ readonly readOnly: true;
100936
+ readonly description: "Amounts of the purchase credit note";
100937
+ readonly properties: {
100938
+ readonly total_excl_tax: {
100939
+ readonly type: "string";
100940
+ readonly description: "Total amount without taxes";
100941
+ readonly example: "933.07";
100942
+ };
100943
+ readonly total_incl_tax: {
100944
+ readonly type: "string";
100945
+ readonly description: "Total amount including taxes";
100946
+ readonly example: "1119.68";
100947
+ };
100948
+ };
100949
+ };
100825
100950
  readonly related: {
100826
100951
  readonly 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";
100827
100952
  readonly type: "array";
@@ -100843,6 +100968,13 @@ declare const purCreditNoteOneSchema: {
100843
100968
  };
100844
100969
  };
100845
100970
  };
100971
+ readonly status: {
100972
+ readonly type: "string";
100973
+ readonly readOnly: true;
100974
+ readonly description: "Status of the purchase credit note";
100975
+ readonly example: "spent";
100976
+ readonly enum: readonly ["draft", "stored", "partialspend", "spent", "cancelled"];
100977
+ };
100846
100978
  };
100847
100979
  }];
100848
100980
  };
@@ -100863,6 +100995,23 @@ declare const purDeliveryOneSchema: {
100863
100995
  readonly description: "Purchase delivery number";
100864
100996
  readonly example: "F_DEL-20250916-00002";
100865
100997
  };
100998
+ readonly amounts: {
100999
+ readonly type: "object";
101000
+ readonly readOnly: true;
101001
+ readonly description: "Amounts of the purchase delivery";
101002
+ readonly properties: {
101003
+ readonly total_excl_tax: {
101004
+ readonly type: "string";
101005
+ readonly description: "Total amount without taxes";
101006
+ readonly example: "933.07";
101007
+ };
101008
+ readonly total_incl_tax: {
101009
+ readonly type: "string";
101010
+ readonly description: "Total amount including taxes";
101011
+ readonly example: "1119.68";
101012
+ };
101013
+ };
101014
+ };
100866
101015
  readonly related: {
100867
101016
  readonly 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";
100868
101017
  readonly type: "array";
@@ -100884,6 +101033,13 @@ declare const purDeliveryOneSchema: {
100884
101033
  };
100885
101034
  };
100886
101035
  };
101036
+ readonly status: {
101037
+ readonly type: "string";
101038
+ readonly readOnly: true;
101039
+ readonly description: "Status of the purchase delivery";
101040
+ readonly example: "invoiced";
101041
+ readonly enum: readonly ["draft", "partialinvoiced", "invoiced"];
101042
+ };
100887
101043
  };
100888
101044
  }];
100889
101045
  };
@@ -100904,6 +101060,23 @@ declare const purOrderOneSchema: {
100904
101060
  readonly description: "Purchase order number";
100905
101061
  readonly example: "F_ORD-20250916-00002";
100906
101062
  };
101063
+ readonly amounts: {
101064
+ readonly type: "object";
101065
+ readonly readOnly: true;
101066
+ readonly description: "Amounts of the purchase order";
101067
+ readonly properties: {
101068
+ readonly total_excl_tax: {
101069
+ readonly type: "string";
101070
+ readonly description: "Total amount without taxes";
101071
+ readonly example: "933.07";
101072
+ };
101073
+ readonly total_incl_tax: {
101074
+ readonly type: "string";
101075
+ readonly description: "Total amount including taxes";
101076
+ readonly example: "1119.68";
101077
+ };
101078
+ };
101079
+ };
100907
101080
  readonly related: {
100908
101081
  readonly 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";
100909
101082
  readonly type: "array";
@@ -100925,6 +101098,13 @@ declare const purOrderOneSchema: {
100925
101098
  };
100926
101099
  };
100927
101100
  };
101101
+ readonly status: {
101102
+ readonly type: "string";
101103
+ readonly readOnly: true;
101104
+ readonly description: "Status of the purchase order";
101105
+ readonly example: "invoiced";
101106
+ readonly enum: readonly ["draft", "sent", "read", "accepted", "expired", "partialinvoiced", "invoiced", "cancelled"];
101107
+ };
100928
101108
  };
100929
101109
  }];
100930
101110
  };
@@ -105139,7 +105319,7 @@ declare const DealsWritableSchema: {
105139
105319
  readonly type: {
105140
105320
  readonly type: "string";
105141
105321
  readonly example: "opportunity";
105142
- readonly enum: readonly ["opportunity", "company", "individual", "contact", "invoice", "creditnote", "estimate", "order", "delivery"];
105322
+ readonly enum: readonly ["opportunity", "company", "individual", "contact", "invoice", "creditnote", "estimate", "order", "delivery", "model", "purchase-invoice", "purchase-creditnote", "purchase-order", "purchase-delivery", "item"];
105143
105323
  };
105144
105324
  };
105145
105325
  };
@@ -106877,7 +107057,7 @@ declare const LabelBaseItemWritableSchema: {
106877
107057
  readonly type: {
106878
107058
  readonly type: "string";
106879
107059
  readonly example: "opportunity";
106880
- readonly enum: readonly ["opportunity", "company", "individual", "contact", "invoice", "creditnote", "estimate", "order", "delivery"];
107060
+ readonly enum: readonly ["opportunity", "company", "individual", "contact", "invoice", "creditnote", "estimate", "order", "delivery", "model", "purchase-invoice", "purchase-creditnote", "purchase-order", "purchase-delivery", "item"];
106881
107061
  };
106882
107062
  };
106883
107063
  };
@@ -106936,7 +107116,7 @@ declare const SearchResultWritableSchema: {
106936
107116
  };
106937
107117
  readonly sub_type: {
106938
107118
  readonly type: "string";
106939
- readonly enum: readonly ["contact", "opportunity", "client", "prospect", "supplier", "purInvoice", "purDelivery", "purOrder", "purCreditNote", "product", "packaging", "shipping", "service", "declination", "invoice", "estimate", "creditnote", "order", "delivery", "proforma", "staff", "document", "template"];
107119
+ readonly enum: readonly ["contact", "opportunity", "client", "prospect", "supplier", "purInvoice", "purDelivery", "purOrder", "purCreditNote", "product", "packaging", "shipping", "service", "declination", "invoice", "estimate", "creditnote", "order", "model", "delivery", "proforma", "staff", "document", "template"];
106940
107120
  readonly nullable: false;
106941
107121
  };
106942
107122
  };
@@ -107322,7 +107502,7 @@ declare const SearchResultWritableSchema: {
107322
107502
  readonly description: "Purchase status";
107323
107503
  readonly type: "string";
107324
107504
  readonly example: "read";
107325
- readonly enum: readonly ["draft", "due", "payinprogress", "paid", "late", "cancelled", "sent", "read", "accepted", "expired", "partialInvoiced", "invoiced", "stored", "spent", "partialspend"];
107505
+ readonly enum: readonly ["draft", "due", "payinprogress", "paid", "late", "cancelled", "sent", "read", "accepted", "expired", "partialinvoiced", "invoiced", "stored", "spent", "partialspend"];
107326
107506
  };
107327
107507
  readonly number: {
107328
107508
  readonly description: "Purchase number";
@@ -107732,7 +107912,7 @@ declare const SearchResultBaseItemWritableSchema: {
107732
107912
  };
107733
107913
  readonly sub_type: {
107734
107914
  readonly type: "string";
107735
- readonly enum: readonly ["contact", "opportunity", "client", "prospect", "supplier", "purInvoice", "purDelivery", "purOrder", "purCreditNote", "product", "packaging", "shipping", "service", "declination", "invoice", "estimate", "creditnote", "order", "delivery", "proforma", "staff", "document", "template"];
107915
+ readonly enum: readonly ["contact", "opportunity", "client", "prospect", "supplier", "purInvoice", "purDelivery", "purOrder", "purCreditNote", "product", "packaging", "shipping", "service", "declination", "invoice", "estimate", "creditnote", "order", "model", "delivery", "proforma", "staff", "document", "template"];
107736
107916
  readonly nullable: false;
107737
107917
  };
107738
107918
  };
@@ -115897,6 +116077,7 @@ declare const CompanyPreferencesWritableSchema: {
115897
116077
  readonly type: "string";
115898
116078
  readonly description: "System label of tax";
115899
116079
  readonly example: "Intracom";
116080
+ readonly nullable: true;
115900
116081
  };
115901
116082
  };
115902
116083
  };