@getyetty-sdk/sellsy 2026.3.20 → 2026.3.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -7596,6 +7596,11 @@ const DealsSchema = {
7596
7596
  description: "Priority level of the calendar event",
7597
7597
  minimum: 0,
7598
7598
  maximum: 1
7599
+ },
7600
+ meet_link: {
7601
+ type: "string",
7602
+ description: "Meet link for the calendar event",
7603
+ nullable: true
7599
7604
  }
7600
7605
  }
7601
7606
  },
@@ -10284,29 +10289,34 @@ const OcrPurInvoiceMetasSchema = {
10284
10289
  properties: {
10285
10290
  user_can_validate_pur_invoice: {
10286
10291
  type: "boolean",
10287
- description: "Use can validate a purchase invoice"
10292
+ description: "User can validate a purchase invoice"
10288
10293
  },
10289
10294
  create_payment: {
10290
10295
  type: "boolean",
10291
- description: "Use can create a payment"
10296
+ description: "User can create a payment"
10292
10297
  },
10293
- create: {
10298
+ create_pur_invoice: {
10294
10299
  type: "boolean",
10295
- description: "Use can create a purchase invoice"
10300
+ description: "User can create a purchase invoice"
10301
+ },
10302
+ create_pur_credit_note: {
10303
+ type: "boolean",
10304
+ description: "User can create a purchase credit note"
10296
10305
  },
10297
10306
  create_fast: {
10298
10307
  type: "boolean",
10299
- description: "Use can create a fast purchase invoice"
10308
+ description: "User can create a fast purchase invoice"
10300
10309
  },
10301
10310
  import: {
10302
10311
  type: "boolean",
10303
- description: "Use can import a purchase invoice"
10312
+ description: "User can import a purchase invoice"
10304
10313
  }
10305
10314
  },
10306
10315
  required: [
10307
10316
  "user_can_validate_pur_invoice",
10308
10317
  "create_payment",
10309
- "create",
10318
+ "create_pur_invoice",
10319
+ "create_pur_credit_note",
10310
10320
  "create_fast",
10311
10321
  "import"
10312
10322
  ]
@@ -20102,7 +20112,7 @@ const InvoiceSchema = {
20102
20112
  due_date: {
20103
20113
  type: "string",
20104
20114
  format: "date",
20105
- description: "due date of the invoice",
20115
+ description: "Due date of the invoice.\n",
20106
20116
  example: "2022-02-02"
20107
20117
  },
20108
20118
  created: {
@@ -20653,7 +20663,7 @@ const InvoiceOneSchema = {
20653
20663
  due_date: {
20654
20664
  type: "string",
20655
20665
  format: "date",
20656
- description: "due date of the invoice",
20666
+ description: "Due date of the invoice.\n",
20657
20667
  example: "2022-02-02"
20658
20668
  },
20659
20669
  created: {
@@ -22485,9 +22495,11 @@ const InvoiceCreateSchema = { allOf: [{
22485
22495
  due_date: {
22486
22496
  type: "string",
22487
22497
  format: "date",
22488
- description: "Due date of the invoice",
22498
+ deprecated: true,
22499
+ description: "Deprecated: Use `payment_terms` instead. <br/> Due date of the invoice.\n",
22489
22500
  example: "2022-02-02"
22490
22501
  },
22502
+ payment_terms: { $ref: "#/components/schemas/ProgressInvoiceCreate/properties/payment_terms" },
22491
22503
  created: {
22492
22504
  description: "Created date of invoice",
22493
22505
  type: "string",
@@ -22834,12 +22846,6 @@ const DepositInvoiceCreateSchema = {
22834
22846
  description: "Date of the invoice",
22835
22847
  example: "2022-01-02"
22836
22848
  },
22837
- due_date: {
22838
- type: "string",
22839
- format: "date",
22840
- description: "Due date of the invoice",
22841
- example: "2022-02-02"
22842
- },
22843
22849
  subject: {
22844
22850
  type: "string",
22845
22851
  description: "Subject of the invoice"
@@ -22898,6 +22904,244 @@ const DepositInvoiceCreateSchema = {
22898
22904
  maxLength: 13,
22899
22905
  description: "Analytic code of document",
22900
22906
  example: "divers"
22907
+ },
22908
+ payment_terms: {
22909
+ type: "object",
22910
+ description: "Payment terms of the invoice\n",
22911
+ anyOf: [
22912
+ {
22913
+ type: "object",
22914
+ title: "On order",
22915
+ properties: {
22916
+ id: {
22917
+ type: "integer",
22918
+ minimum: 1,
22919
+ description: "Payment terms id"
22920
+ },
22921
+ code: {
22922
+ type: "string",
22923
+ description: "Payment terms code",
22924
+ enum: ["onorder"]
22925
+ }
22926
+ },
22927
+ additionalProperties: false,
22928
+ required: ["id"]
22929
+ },
22930
+ {
22931
+ type: "object",
22932
+ title: "End of the month",
22933
+ properties: {
22934
+ id: {
22935
+ type: "integer",
22936
+ minimum: 1,
22937
+ description: "Payment terms id"
22938
+ },
22939
+ code: {
22940
+ type: "string",
22941
+ description: "Payment terms code",
22942
+ enum: ["endmonth"]
22943
+ }
22944
+ },
22945
+ additionalProperties: false,
22946
+ required: ["id"]
22947
+ },
22948
+ {
22949
+ type: "object",
22950
+ title: "Upon receipt",
22951
+ properties: {
22952
+ id: {
22953
+ type: "integer",
22954
+ minimum: 1,
22955
+ description: "Payment terms id"
22956
+ },
22957
+ code: {
22958
+ type: "string",
22959
+ description: "Payment terms code",
22960
+ enum: ["received"]
22961
+ }
22962
+ },
22963
+ additionalProperties: false,
22964
+ required: ["id"]
22965
+ },
22966
+ {
22967
+ type: "object",
22968
+ title: "On receipt of invoice",
22969
+ properties: {
22970
+ id: {
22971
+ type: "integer",
22972
+ minimum: 1,
22973
+ description: "Payment terms id"
22974
+ },
22975
+ code: {
22976
+ type: "string",
22977
+ description: "Payment terms code",
22978
+ enum: ["oninvoice"]
22979
+ }
22980
+ },
22981
+ additionalProperties: false,
22982
+ required: ["id"]
22983
+ },
22984
+ {
22985
+ type: "object",
22986
+ title: "Next month",
22987
+ properties: {
22988
+ id: {
22989
+ type: "integer",
22990
+ minimum: 1,
22991
+ description: "Payment terms id"
22992
+ },
22993
+ code: {
22994
+ type: "string",
22995
+ description: "Payment terms code",
22996
+ enum: ["nextmonth"]
22997
+ }
22998
+ },
22999
+ additionalProperties: false,
23000
+ required: ["id"]
23001
+ },
23002
+ {
23003
+ type: "object",
23004
+ title: "30 days",
23005
+ properties: {
23006
+ id: {
23007
+ type: "integer",
23008
+ minimum: 1,
23009
+ description: "Payment terms id"
23010
+ },
23011
+ end_of_month: {
23012
+ type: "boolean",
23013
+ description: "Is pay deadlines at end of the month"
23014
+ },
23015
+ code: {
23016
+ type: "string",
23017
+ description: "Payment terms code",
23018
+ enum: ["30days"]
23019
+ }
23020
+ },
23021
+ additionalProperties: false,
23022
+ required: ["id", "end_of_month"]
23023
+ },
23024
+ {
23025
+ type: "object",
23026
+ title: "45 days",
23027
+ properties: {
23028
+ id: {
23029
+ type: "integer",
23030
+ minimum: 1,
23031
+ description: "Payment terms id"
23032
+ },
23033
+ end_of_month: {
23034
+ type: "boolean",
23035
+ description: "Is pay deadlines at end of the month"
23036
+ },
23037
+ code: {
23038
+ type: "string",
23039
+ description: "Payment terms code",
23040
+ enum: ["45days"]
23041
+ }
23042
+ },
23043
+ additionalProperties: false,
23044
+ required: ["id", "end_of_month"]
23045
+ },
23046
+ {
23047
+ type: "object",
23048
+ title: "60 days",
23049
+ properties: {
23050
+ id: {
23051
+ type: "integer",
23052
+ minimum: 1,
23053
+ description: "Payment terms id"
23054
+ },
23055
+ end_of_month: {
23056
+ type: "boolean",
23057
+ description: "Is pay deadlines at end of the month"
23058
+ },
23059
+ code: {
23060
+ type: "string",
23061
+ description: "Payment terms code",
23062
+ enum: ["60days"]
23063
+ }
23064
+ },
23065
+ additionalProperties: false,
23066
+ required: ["id", "end_of_month"]
23067
+ },
23068
+ {
23069
+ type: "object",
23070
+ title: "X days",
23071
+ properties: {
23072
+ id: {
23073
+ type: "integer",
23074
+ minimum: 1,
23075
+ description: "Payment terms id"
23076
+ },
23077
+ x_days: {
23078
+ type: "integer",
23079
+ description: "Number of days for pay deadlines",
23080
+ minimum: 0,
23081
+ maximum: 1e3
23082
+ },
23083
+ code: {
23084
+ type: "string",
23085
+ enum: ["xdays"]
23086
+ }
23087
+ },
23088
+ additionalProperties: false,
23089
+ required: ["id", "x_days"]
23090
+ },
23091
+ {
23092
+ type: "object",
23093
+ title: "Scaled",
23094
+ properties: {
23095
+ id: {
23096
+ type: "integer",
23097
+ minimum: 1,
23098
+ description: "Payment terms id"
23099
+ },
23100
+ x_days: {
23101
+ type: "integer",
23102
+ description: "Number of days for pay deadlines"
23103
+ },
23104
+ description: {
23105
+ type: "string",
23106
+ description: "Details of payment terms",
23107
+ maxLength: 262144
23108
+ },
23109
+ code: {
23110
+ type: "string",
23111
+ enum: ["scaled"]
23112
+ }
23113
+ },
23114
+ additionalProperties: false,
23115
+ required: [
23116
+ "id",
23117
+ "x_days",
23118
+ "description"
23119
+ ]
23120
+ },
23121
+ {
23122
+ type: "object",
23123
+ title: "User defined",
23124
+ properties: {
23125
+ id: {
23126
+ type: "integer",
23127
+ minimum: 1,
23128
+ description: "Payment terms id"
23129
+ },
23130
+ due_date: {
23131
+ type: "string",
23132
+ format: "date",
23133
+ description: "Due date of the payment term",
23134
+ example: "2022-01-02"
23135
+ },
23136
+ code: {
23137
+ type: "string",
23138
+ enum: ["custom"]
23139
+ }
23140
+ },
23141
+ additionalProperties: false,
23142
+ required: ["id", "due_date"]
23143
+ }
23144
+ ]
22901
23145
  }
22902
23146
  },
22903
23147
  required: ["parent", "rows"]
@@ -23016,7 +23260,8 @@ const DepositInvoiceUpdateSchema = {
23016
23260
  maxLength: 13,
23017
23261
  description: "Analytic code of document",
23018
23262
  example: "divers"
23019
- }
23263
+ },
23264
+ payment_terms: { $ref: "#/components/schemas/DepositInvoiceCreate/properties/payment_terms" }
23020
23265
  }
23021
23266
  };
23022
23267
  const DepositInvoicePrepareInputSchema = {
@@ -38276,6 +38521,11 @@ const DealsWritableSchema = {
38276
38521
  description: "Priority level of the calendar event",
38277
38522
  minimum: 0,
38278
38523
  maximum: 1
38524
+ },
38525
+ meet_link: {
38526
+ type: "string",
38527
+ description: "Meet link for the calendar event",
38528
+ nullable: true
38279
38529
  }
38280
38530
  }
38281
38531
  },
@@ -42168,7 +42418,7 @@ const InvoiceWritableSchema = {
42168
42418
  due_date: {
42169
42419
  type: "string",
42170
42420
  format: "date",
42171
- description: "due date of the invoice",
42421
+ description: "Due date of the invoice.\n",
42172
42422
  example: "2022-02-02"
42173
42423
  },
42174
42424
  created: {
@@ -42536,7 +42786,7 @@ const InvoiceOneWritableSchema = {
42536
42786
  due_date: {
42537
42787
  type: "string",
42538
42788
  format: "date",
42539
- description: "due date of the invoice",
42789
+ description: "Due date of the invoice.\n",
42540
42790
  example: "2022-02-02"
42541
42791
  },
42542
42792
  created: {
@@ -43763,9 +44013,11 @@ const InvoiceCreateWritableSchema = { allOf: [{
43763
44013
  due_date: {
43764
44014
  type: "string",
43765
44015
  format: "date",
43766
- description: "Due date of the invoice",
44016
+ deprecated: true,
44017
+ description: "Deprecated: Use `payment_terms` instead. <br/> Due date of the invoice.\n",
43767
44018
  example: "2022-02-02"
43768
44019
  },
44020
+ payment_terms: { $ref: "#/components/schemas/ProgressInvoiceCreate/properties/payment_terms" },
43769
44021
  created: {
43770
44022
  description: "Created date of invoice",
43771
44023
  type: "string",
@@ -44112,12 +44364,6 @@ const DepositInvoiceCreateWritableSchema = {
44112
44364
  description: "Date of the invoice",
44113
44365
  example: "2022-01-02"
44114
44366
  },
44115
- due_date: {
44116
- type: "string",
44117
- format: "date",
44118
- description: "Due date of the invoice",
44119
- example: "2022-02-02"
44120
- },
44121
44367
  subject: {
44122
44368
  type: "string",
44123
44369
  description: "Subject of the invoice"
@@ -44176,6 +44422,244 @@ const DepositInvoiceCreateWritableSchema = {
44176
44422
  maxLength: 13,
44177
44423
  description: "Analytic code of document",
44178
44424
  example: "divers"
44425
+ },
44426
+ payment_terms: {
44427
+ type: "object",
44428
+ description: "Payment terms of the invoice\n",
44429
+ anyOf: [
44430
+ {
44431
+ type: "object",
44432
+ title: "On order",
44433
+ properties: {
44434
+ id: {
44435
+ type: "integer",
44436
+ minimum: 1,
44437
+ description: "Payment terms id"
44438
+ },
44439
+ code: {
44440
+ type: "string",
44441
+ description: "Payment terms code",
44442
+ enum: ["onorder"]
44443
+ }
44444
+ },
44445
+ additionalProperties: false,
44446
+ required: ["id"]
44447
+ },
44448
+ {
44449
+ type: "object",
44450
+ title: "End of the month",
44451
+ properties: {
44452
+ id: {
44453
+ type: "integer",
44454
+ minimum: 1,
44455
+ description: "Payment terms id"
44456
+ },
44457
+ code: {
44458
+ type: "string",
44459
+ description: "Payment terms code",
44460
+ enum: ["endmonth"]
44461
+ }
44462
+ },
44463
+ additionalProperties: false,
44464
+ required: ["id"]
44465
+ },
44466
+ {
44467
+ type: "object",
44468
+ title: "Upon receipt",
44469
+ properties: {
44470
+ id: {
44471
+ type: "integer",
44472
+ minimum: 1,
44473
+ description: "Payment terms id"
44474
+ },
44475
+ code: {
44476
+ type: "string",
44477
+ description: "Payment terms code",
44478
+ enum: ["received"]
44479
+ }
44480
+ },
44481
+ additionalProperties: false,
44482
+ required: ["id"]
44483
+ },
44484
+ {
44485
+ type: "object",
44486
+ title: "On receipt of invoice",
44487
+ properties: {
44488
+ id: {
44489
+ type: "integer",
44490
+ minimum: 1,
44491
+ description: "Payment terms id"
44492
+ },
44493
+ code: {
44494
+ type: "string",
44495
+ description: "Payment terms code",
44496
+ enum: ["oninvoice"]
44497
+ }
44498
+ },
44499
+ additionalProperties: false,
44500
+ required: ["id"]
44501
+ },
44502
+ {
44503
+ type: "object",
44504
+ title: "Next month",
44505
+ properties: {
44506
+ id: {
44507
+ type: "integer",
44508
+ minimum: 1,
44509
+ description: "Payment terms id"
44510
+ },
44511
+ code: {
44512
+ type: "string",
44513
+ description: "Payment terms code",
44514
+ enum: ["nextmonth"]
44515
+ }
44516
+ },
44517
+ additionalProperties: false,
44518
+ required: ["id"]
44519
+ },
44520
+ {
44521
+ type: "object",
44522
+ title: "30 days",
44523
+ properties: {
44524
+ id: {
44525
+ type: "integer",
44526
+ minimum: 1,
44527
+ description: "Payment terms id"
44528
+ },
44529
+ end_of_month: {
44530
+ type: "boolean",
44531
+ description: "Is pay deadlines at end of the month"
44532
+ },
44533
+ code: {
44534
+ type: "string",
44535
+ description: "Payment terms code",
44536
+ enum: ["30days"]
44537
+ }
44538
+ },
44539
+ additionalProperties: false,
44540
+ required: ["id", "end_of_month"]
44541
+ },
44542
+ {
44543
+ type: "object",
44544
+ title: "45 days",
44545
+ properties: {
44546
+ id: {
44547
+ type: "integer",
44548
+ minimum: 1,
44549
+ description: "Payment terms id"
44550
+ },
44551
+ end_of_month: {
44552
+ type: "boolean",
44553
+ description: "Is pay deadlines at end of the month"
44554
+ },
44555
+ code: {
44556
+ type: "string",
44557
+ description: "Payment terms code",
44558
+ enum: ["45days"]
44559
+ }
44560
+ },
44561
+ additionalProperties: false,
44562
+ required: ["id", "end_of_month"]
44563
+ },
44564
+ {
44565
+ type: "object",
44566
+ title: "60 days",
44567
+ properties: {
44568
+ id: {
44569
+ type: "integer",
44570
+ minimum: 1,
44571
+ description: "Payment terms id"
44572
+ },
44573
+ end_of_month: {
44574
+ type: "boolean",
44575
+ description: "Is pay deadlines at end of the month"
44576
+ },
44577
+ code: {
44578
+ type: "string",
44579
+ description: "Payment terms code",
44580
+ enum: ["60days"]
44581
+ }
44582
+ },
44583
+ additionalProperties: false,
44584
+ required: ["id", "end_of_month"]
44585
+ },
44586
+ {
44587
+ type: "object",
44588
+ title: "X days",
44589
+ properties: {
44590
+ id: {
44591
+ type: "integer",
44592
+ minimum: 1,
44593
+ description: "Payment terms id"
44594
+ },
44595
+ x_days: {
44596
+ type: "integer",
44597
+ description: "Number of days for pay deadlines",
44598
+ minimum: 0,
44599
+ maximum: 1e3
44600
+ },
44601
+ code: {
44602
+ type: "string",
44603
+ enum: ["xdays"]
44604
+ }
44605
+ },
44606
+ additionalProperties: false,
44607
+ required: ["id", "x_days"]
44608
+ },
44609
+ {
44610
+ type: "object",
44611
+ title: "Scaled",
44612
+ properties: {
44613
+ id: {
44614
+ type: "integer",
44615
+ minimum: 1,
44616
+ description: "Payment terms id"
44617
+ },
44618
+ x_days: {
44619
+ type: "integer",
44620
+ description: "Number of days for pay deadlines"
44621
+ },
44622
+ description: {
44623
+ type: "string",
44624
+ description: "Details of payment terms",
44625
+ maxLength: 262144
44626
+ },
44627
+ code: {
44628
+ type: "string",
44629
+ enum: ["scaled"]
44630
+ }
44631
+ },
44632
+ additionalProperties: false,
44633
+ required: [
44634
+ "id",
44635
+ "x_days",
44636
+ "description"
44637
+ ]
44638
+ },
44639
+ {
44640
+ type: "object",
44641
+ title: "User defined",
44642
+ properties: {
44643
+ id: {
44644
+ type: "integer",
44645
+ minimum: 1,
44646
+ description: "Payment terms id"
44647
+ },
44648
+ due_date: {
44649
+ type: "string",
44650
+ format: "date",
44651
+ description: "Due date of the payment term",
44652
+ example: "2022-01-02"
44653
+ },
44654
+ code: {
44655
+ type: "string",
44656
+ enum: ["custom"]
44657
+ }
44658
+ },
44659
+ additionalProperties: false,
44660
+ required: ["id", "due_date"]
44661
+ }
44662
+ ]
44179
44663
  }
44180
44664
  },
44181
44665
  required: ["parent", "rows"]
@@ -44294,7 +44778,8 @@ const DepositInvoiceUpdateWritableSchema = {
44294
44778
  maxLength: 13,
44295
44779
  description: "Analytic code of document",
44296
44780
  example: "divers"
44297
- }
44781
+ },
44782
+ payment_terms: { $ref: "#/components/schemas/DepositInvoiceCreate/properties/payment_terms" }
44298
44783
  }
44299
44784
  };
44300
44785
  const DepositInvoiceOneWritableSchema = { allOf: [{ $ref: "#/components/schemas/InvoiceOne/allOf/0" }, {