@erp-galoper/types 1.0.370 → 1.0.372

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.
Files changed (2) hide show
  1. package/openapi.ts +469 -6
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -26607,7 +26607,7 @@ export interface components {
26607
26607
  /**
26608
26608
  * Id
26609
26609
  * Format: uuid
26610
- * @example 82efe544-625e-4f5e-bc7b-e5dfb94d2203
26610
+ * @example 240c8d96-a3e5-4d52-8bb1-735fe58feccd
26611
26611
  */
26612
26612
  id: string;
26613
26613
  /**
@@ -37748,7 +37748,7 @@ export interface components {
37748
37748
  */
37749
37749
  date: string;
37750
37750
  /** Validitydate */
37751
- validityDate: string | null;
37751
+ validityDate?: string | null;
37752
37752
  status: components["schemas"]["InternalStatusOnReturnValueChoices"];
37753
37753
  approvalStatus: components["schemas"]["ApprovalValueChoices"];
37754
37754
  orderStatus: components["schemas"]["OrderStatusValueChoices"];
@@ -37861,6 +37861,10 @@ export interface components {
37861
37861
  /** Canedit */
37862
37862
  canEdit: boolean;
37863
37863
  salesPerson: components["schemas"]["SalesPersonSharedSchema"] | null;
37864
+ /** Linkeddocuments */
37865
+ linkedDocuments?: {
37866
+ [key: string]: components["schemas"]["LinkedDocumentsSchema"];
37867
+ }[];
37864
37868
  /**
37865
37869
  * Items
37866
37870
  * @default []
@@ -38087,7 +38091,7 @@ export interface components {
38087
38091
  */
38088
38092
  date: string;
38089
38093
  /** Validitydate */
38090
- validityDate: string | null;
38094
+ validityDate?: string | null;
38091
38095
  status: components["schemas"]["InternalStatusOnReturnValueChoices"];
38092
38096
  approvalStatus: components["schemas"]["ApprovalValueChoices"];
38093
38097
  orderStatus: components["schemas"]["OrderStatusValueChoices"];
@@ -38200,6 +38204,10 @@ export interface components {
38200
38204
  /** Canedit */
38201
38205
  canEdit: boolean;
38202
38206
  salesPerson: components["schemas"]["SalesPersonSharedSchema"] | null;
38207
+ /** Linkeddocuments */
38208
+ linkedDocuments?: {
38209
+ [key: string]: components["schemas"]["LinkedDocumentsSchema"];
38210
+ }[];
38203
38211
  };
38204
38212
  /** ContactSegmentationResponse */
38205
38213
  ContactSegmentationResponse: {
@@ -39630,6 +39638,63 @@ export interface components {
39630
39638
  /** Items */
39631
39639
  items: components["schemas"]["DownPaymentItemUpdateSchema"][];
39632
39640
  };
39641
+ /** DownPaymentWithLinkedDocumentsSchema */
39642
+ DownPaymentWithLinkedDocumentsSchema: {
39643
+ /**
39644
+ * Datecreated
39645
+ * Format: date-time
39646
+ */
39647
+ dateCreated: string;
39648
+ /** Datemodified */
39649
+ dateModified: string | null;
39650
+ createdBy: components["schemas"]["RecordUserSchema"];
39651
+ modifiedBy: components["schemas"]["RecordUserSchema"] | null;
39652
+ /**
39653
+ * Id
39654
+ * Format: uuid
39655
+ */
39656
+ id: string;
39657
+ /** Serialnumber */
39658
+ serialNumber: string;
39659
+ customer: components["schemas"]["CustomerSharedSchema"];
39660
+ branch: components["schemas"]["BranchSummaryInfo"];
39661
+ /**
39662
+ * Date
39663
+ * Format: date
39664
+ */
39665
+ date: string;
39666
+ /** Description */
39667
+ description: string | null;
39668
+ /** Notes */
39669
+ notes: string | null;
39670
+ /** Attachments */
39671
+ attachments: string[] | null;
39672
+ status: components["schemas"]["DocumentStatus"];
39673
+ approvalStatus: components["schemas"]["ApprovalChoices"];
39674
+ /**
39675
+ * Total
39676
+ * @description this field is number
39677
+ */
39678
+ total: string;
39679
+ /**
39680
+ * Companytotal
39681
+ * @description this field is number
39682
+ */
39683
+ companyTotal: string;
39684
+ /**
39685
+ * Usdtotal
39686
+ * @description this field is number
39687
+ */
39688
+ usdTotal: string | null;
39689
+ /** Candelete */
39690
+ canDelete: boolean;
39691
+ /** Items */
39692
+ items: components["schemas"]["DownPaymentItemDetailSchema"][];
39693
+ /** Linkeddocuments */
39694
+ linkedDocuments?: {
39695
+ [key: string]: components["schemas"]["LinkedDocumentsSchema"];
39696
+ }[];
39697
+ };
39633
39698
  /** DownPaymentDeleteSchema */
39634
39699
  DownPaymentDeleteSchema: {
39635
39700
  /** Password */
@@ -40190,6 +40255,187 @@ export interface components {
40190
40255
  /** Results */
40191
40256
  results: components["schemas"]["SalesOrderSchema"][];
40192
40257
  };
40258
+ /** SalesOrderSchemaWithLinkedDocuments */
40259
+ SalesOrderSchemaWithLinkedDocuments: {
40260
+ /**
40261
+ * Datecreated
40262
+ * Format: date-time
40263
+ */
40264
+ dateCreated: string;
40265
+ /** Datemodified */
40266
+ dateModified: string | null;
40267
+ createdBy: components["schemas"]["RecordUserSchema"];
40268
+ modifiedBy: components["schemas"]["RecordUserSchema"] | null;
40269
+ /**
40270
+ * Id
40271
+ * Format: uuid
40272
+ */
40273
+ id: string;
40274
+ /**
40275
+ * Serialnumber
40276
+ * @description The serial number of the sales order.
40277
+ */
40278
+ serialNumber: string;
40279
+ customer: components["schemas"]["CustomerSharedSchema"];
40280
+ /** @description Details about the customer's branch. */
40281
+ customerBranch: components["schemas"]["CustomerBranchSharedSchema"] | null;
40282
+ /** @description Details about the warehouse where the order is managed, if applicable. */
40283
+ warehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
40284
+ /** @description The sales quotation linked to this order, if applicable. */
40285
+ salesQuotation: components["schemas"]["SalesQuotationSharedSchema"] | null;
40286
+ /**
40287
+ * Date
40288
+ * Format: date
40289
+ * @description The date when the sales order was created. Format: YYYY-MM-DD.
40290
+ */
40291
+ date: string;
40292
+ /**
40293
+ * Deliverydate
40294
+ * Format: date
40295
+ * @description The expected delivery date. Format: YYYY-MM-DD.
40296
+ */
40297
+ deliveryDate: string;
40298
+ /** @description The current status of the sales order. */
40299
+ status: components["schemas"]["InternalStatusOnReturnValueChoices"];
40300
+ /** @description The approval status of the sales order. */
40301
+ approvalStatus: components["schemas"]["ApprovalValueChoices"];
40302
+ /** @description The invoice status linked to the sales order. */
40303
+ invoiceStatus: components["schemas"]["InvoiceStatusValueChoices"];
40304
+ /** @description The price list associated with the sales order. */
40305
+ priceList: components["schemas"]["SalesPriceListSummaryInfo"] | null;
40306
+ /**
40307
+ * Promotionsandoffers
40308
+ * @description A list of promotions and offers applied to the sales order.
40309
+ * @default []
40310
+ */
40311
+ promotionsAndOffers: components["schemas"]["PromotionsAndOffersSharedSchema"][];
40312
+ /** @description Details about the commission level for the sales order, if applicable. */
40313
+ commission: components["schemas"]["CommissionLevelSharedSchema"] | null;
40314
+ /** @description Details about the project associated with the sales order, if applicable. */
40315
+ project: components["schemas"]["ProjectSummaryInfo"] | null;
40316
+ /**
40317
+ * Usdrate
40318
+ * @description This field is a number representing the USD rate.
40319
+ */
40320
+ usdRate: string;
40321
+ /**
40322
+ * Companyrate
40323
+ * @description This field is a number representing the company rate.
40324
+ */
40325
+ companyRate: string;
40326
+ /**
40327
+ * Subtotal
40328
+ * @description This field is a number representing the subtotal for the sales order.
40329
+ */
40330
+ subtotal: string;
40331
+ /**
40332
+ * Usdsubtotal
40333
+ * @description This field is a number representing the subtotal in USD.
40334
+ */
40335
+ usdSubtotal: string;
40336
+ /**
40337
+ * Companysubtotal
40338
+ * @description This field is a number representing the subtotal in the company's currency.
40339
+ */
40340
+ companySubtotal: string;
40341
+ /**
40342
+ * Discount
40343
+ * @description The discount percentage applied to the sales order.
40344
+ * @default 0
40345
+ */
40346
+ discount: number;
40347
+ /**
40348
+ * Discountedtotal
40349
+ * @description This field is a number representing the total after discount.
40350
+ */
40351
+ discountedTotal: string;
40352
+ /**
40353
+ * Usddiscountedtotal
40354
+ * @description This field is a number representing the total after discount in USD.
40355
+ */
40356
+ usdDiscountedTotal: string;
40357
+ /**
40358
+ * Companydiscountedtotal
40359
+ * @description This field is a number representing the total after discount in the company's currency.
40360
+ */
40361
+ companyDiscountedTotal: string;
40362
+ /**
40363
+ * Taxamount
40364
+ * @description This field is a number representing the total tax amount.
40365
+ */
40366
+ taxAmount: string;
40367
+ /**
40368
+ * Usdtaxamount
40369
+ * @description This field is a number representing the total tax amount in USD.
40370
+ */
40371
+ usdTaxAmount: string;
40372
+ /**
40373
+ * Companytaxamount
40374
+ * @description This field is a number representing the total tax amount in the company's currency.
40375
+ */
40376
+ companyTaxAmount: string;
40377
+ /**
40378
+ * Total
40379
+ * @description This field is a number representing the total amount of the sales order.
40380
+ */
40381
+ total: string;
40382
+ /**
40383
+ * Usdtotal
40384
+ * @description This field is a number representing the total amount in USD.
40385
+ */
40386
+ usdTotal: string;
40387
+ /**
40388
+ * Companytotal
40389
+ * @description This field is a number representing the total amount in the company's currency.
40390
+ */
40391
+ companyTotal: string;
40392
+ /**
40393
+ * Totalpackagedepositcharge
40394
+ * @description This field is a number representing the total deposit charge for packages, if applicable.
40395
+ */
40396
+ totalPackageDepositCharge: string | null;
40397
+ /**
40398
+ * Attachments
40399
+ * @description A list of attachment file paths linked to the sales order.
40400
+ */
40401
+ attachments: string[] | null;
40402
+ /**
40403
+ * Description
40404
+ * @description A description of the sales order.
40405
+ */
40406
+ description: string | null;
40407
+ /**
40408
+ * Notes
40409
+ * @description Additional notes regarding the sales order.
40410
+ */
40411
+ notes: string | null;
40412
+ /** @description visible when customer is not resident */
40413
+ tax: components["schemas"]["TaxSharedSchema"] | null;
40414
+ /**
40415
+ * Canconvert
40416
+ * @description Indicates whether the sales order can be converted to another status.
40417
+ * @default false
40418
+ */
40419
+ canConvert: boolean;
40420
+ /**
40421
+ * Candelete
40422
+ * @description Indicates whether the sales order can be deleted.
40423
+ * @default false
40424
+ */
40425
+ canDelete: boolean;
40426
+ /** Canedit */
40427
+ canEdit: boolean;
40428
+ salesPerson: components["schemas"]["SalesPersonSharedSchema"] | null;
40429
+ /**
40430
+ * Items
40431
+ * @default []
40432
+ */
40433
+ items: components["schemas"]["SalesOrderItemSchema"][];
40434
+ /** Linkeddocuments */
40435
+ linkedDocuments?: {
40436
+ [key: string]: components["schemas"]["LinkedDocumentsSchema"];
40437
+ }[];
40438
+ };
40193
40439
  /**
40194
40440
  * DiscountType
40195
40441
  * @enum {string}
@@ -41709,6 +41955,215 @@ export interface components {
41709
41955
  * @enum {string}
41710
41956
  */
41711
41957
  SalesInvoiceItemTypeSchema: "default" | "salesCreditNote";
41958
+ /** SalesInvoiceSchemaWithLinkedDocuments */
41959
+ SalesInvoiceSchemaWithLinkedDocuments: {
41960
+ /**
41961
+ * Isdeferred
41962
+ * @description Enable deferred invoicing
41963
+ * @default false
41964
+ */
41965
+ isDeferred: boolean;
41966
+ /**
41967
+ * Deferredperiod
41968
+ * @description Length of the deferred period (in days)
41969
+ */
41970
+ deferredPeriod: number | null;
41971
+ /** @description Revenue recognition frequency */
41972
+ recognitionFrequency: components["schemas"]["RecognitionFrequency"] | null;
41973
+ /**
41974
+ * Recognitionstartdate
41975
+ * @description Start date for revenue recognition
41976
+ */
41977
+ recognitionStartDate: string | null;
41978
+ /**
41979
+ * Datecreated
41980
+ * Format: date-time
41981
+ */
41982
+ dateCreated: string;
41983
+ /** Datemodified */
41984
+ dateModified: string | null;
41985
+ createdBy: components["schemas"]["RecordUserSchema"];
41986
+ modifiedBy: components["schemas"]["RecordUserSchema"] | null;
41987
+ /**
41988
+ * Id
41989
+ * Format: uuid
41990
+ */
41991
+ id: string;
41992
+ /**
41993
+ * Serialnumber
41994
+ * @description The serial number of the sales invoice.
41995
+ */
41996
+ serialNumber: string;
41997
+ customer: components["schemas"]["CustomerSharedSchema"];
41998
+ /** @description Details about the customer's branch. */
41999
+ customerBranch: components["schemas"]["CustomerBranchSharedSchema"] | null;
42000
+ /** @description Details about the warehouse where the invoice is managed, if applicable. */
42001
+ warehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
42002
+ /** @description The sales order linked to this invoice, if applicable. */
42003
+ salesOrder: components["schemas"]["DocumentCommonSchema"] | null;
42004
+ /**
42005
+ * Date
42006
+ * Format: date
42007
+ * @description The date when the sales invoice was created. Format: YYYY-MM-DD.
42008
+ */
42009
+ date: string;
42010
+ /**
42011
+ * Deliverydate
42012
+ * Format: date
42013
+ * @description The expected delivery date. Format: YYYY-MM-DD.
42014
+ */
42015
+ deliveryDate: string;
42016
+ /** @description The current status of the sales invoice. */
42017
+ status: components["schemas"]["DocumentStatusValue"];
42018
+ /** @description The approval status of the sales invoice. */
42019
+ approvalStatus: components["schemas"]["ApprovalValueChoices"];
42020
+ /** @description The delivery status of the sales invoice. */
42021
+ deliveryStatus: components["schemas"]["DeliveryStatusValueChoices"];
42022
+ /** @description The down payment linked to this invoice, if applicable. */
42023
+ downPayment: components["schemas"]["DocumentCommonSchema"] | null;
42024
+ /** @description The payment status of the sales invoice. */
42025
+ paymentStatus: components["schemas"]["PaymentStatusValueChoices"];
42026
+ /** @description The price list associated with the sales invoice. */
42027
+ priceList: components["schemas"]["SalesPriceListSummaryInfo"] | null;
42028
+ /**
42029
+ * Promotionsandoffers
42030
+ * @description A list of promotions and offers applied to the sales invoice.
42031
+ * @default []
42032
+ */
42033
+ promotionsAndOffers: components["schemas"]["PromotionsAndOffersSharedSchema"][];
42034
+ /** @description Details about the commission level for the sales invoice, if applicable. */
42035
+ commission: components["schemas"]["CommissionLevelSharedSchema"] | null;
42036
+ /** @description Details about the project associated with the sales invoice, if applicable. */
42037
+ project: components["schemas"]["ProjectSummaryInfo"] | null;
42038
+ /**
42039
+ * Secondaryrate
42040
+ * @description This field is a number representing the USD rate.
42041
+ */
42042
+ secondaryRate: string;
42043
+ /**
42044
+ * Companyrate
42045
+ * @description This field is a number representing the company rate.
42046
+ */
42047
+ companyRate: string;
42048
+ /**
42049
+ * Subtotal
42050
+ * @description This field is a number representing the subtotal for the sales invoice.
42051
+ */
42052
+ subtotal: string;
42053
+ /**
42054
+ * Secondarysubtotal
42055
+ * @description This field is a number representing the subtotal amount in USD.
42056
+ */
42057
+ secondarySubtotal: string;
42058
+ /**
42059
+ * Companysubtotal
42060
+ * @description This field is a number representing the subtotal amount in the company's currency.
42061
+ */
42062
+ companySubtotal: string;
42063
+ /**
42064
+ * Discount
42065
+ * @description The discount percentage applied to the sales invoice.
42066
+ * @default 0
42067
+ */
42068
+ discount: number;
42069
+ /**
42070
+ * Discountedtotal
42071
+ * @description This field is a number representing the total after discount
42072
+ */
42073
+ discountedTotal: string;
42074
+ /**
42075
+ * Secondarydiscountedtotal
42076
+ * @description This field is a number representing the total after discount in USD.
42077
+ */
42078
+ secondaryDiscountedTotal: string;
42079
+ /**
42080
+ * Companydiscountedtotal
42081
+ * @description This field is a number representing the total after discount in the company's currency.
42082
+ */
42083
+ companyDiscountedTotal: string;
42084
+ /**
42085
+ * Taxamount
42086
+ * @description This field is a number representing the total tax amount.
42087
+ */
42088
+ taxAmount: string;
42089
+ /**
42090
+ * Secondarytaxamount
42091
+ * @description This field is a number representing the total tax amount in USD.
42092
+ */
42093
+ secondaryTaxAmount: string;
42094
+ /**
42095
+ * Companytaxamount
42096
+ * @description This field is a number representing the total tax amount in the company's currency.
42097
+ */
42098
+ companyTaxAmount: string;
42099
+ /**
42100
+ * Total
42101
+ * @description This field is a number representing the total amount of the sales invoice.
42102
+ */
42103
+ total: string;
42104
+ /**
42105
+ * Secondarytotal
42106
+ * @description This field is a number representing the total amount in USD.
42107
+ */
42108
+ secondaryTotal: string;
42109
+ /**
42110
+ * Companytotal
42111
+ * @description This field is a number representing the total amount in the company's currency.
42112
+ */
42113
+ companyTotal: string;
42114
+ /**
42115
+ * Totalpackagedepositcharge
42116
+ * @description This field is a number representing the total deposit charge for packages, if applicable.
42117
+ */
42118
+ totalPackageDepositCharge: string | null;
42119
+ /**
42120
+ * Attachments
42121
+ * @description A list of attachment file paths linked to the sales invoice.
42122
+ */
42123
+ attachments: string[] | null;
42124
+ /**
42125
+ * Description
42126
+ * @description A description of the sales invoice.
42127
+ */
42128
+ description: string | null;
42129
+ /**
42130
+ * Notes
42131
+ * @description Additional notes regarding the sales invoice.
42132
+ */
42133
+ notes: string | null;
42134
+ /** @description visible when customer is not resident */
42135
+ tax: components["schemas"]["TaxSharedSchema"] | null;
42136
+ /**
42137
+ * Canreturn
42138
+ * @description Indicates whether the sales invoice can be converted to delivery note
42139
+ * @default false
42140
+ */
42141
+ canReturn: boolean;
42142
+ /**
42143
+ * Candelete
42144
+ * @description Indicates whether the sales invoice can be deleted.
42145
+ * @default false
42146
+ */
42147
+ canDelete: boolean;
42148
+ /** Canedit */
42149
+ canEdit: boolean;
42150
+ salesPerson: components["schemas"]["SalesPersonSharedSchema"] | null;
42151
+ /**
42152
+ * Remaining
42153
+ * @description this field is number
42154
+ */
42155
+ remaining?: string | null;
42156
+ paymentTerms: components["schemas"]["PaymentTermsSchema"];
42157
+ /**
42158
+ * Items
42159
+ * @default []
42160
+ */
42161
+ items: components["schemas"]["SalesInvoiceItemSchema"][];
42162
+ /** Linkeddocuments */
42163
+ linkedDocuments?: {
42164
+ [key: string]: components["schemas"]["LinkedDocumentsSchema"];
42165
+ }[];
42166
+ };
41712
42167
  /** SalesInvoiceForReturnOrderSchema */
41713
42168
  SalesInvoiceForReturnOrderSchema: {
41714
42169
  /**
@@ -41892,6 +42347,10 @@ export interface components {
41892
42347
  * @default []
41893
42348
  */
41894
42349
  items: components["schemas"]["SalesReturnOrderItemSchema"][];
42350
+ /** Linkeddocuments */
42351
+ linkedDocuments?: {
42352
+ [key: string]: components["schemas"]["LinkedDocumentsSchema"];
42353
+ }[];
41895
42354
  };
41896
42355
  /** CreateUpdateSalesReturnOrderItemSchema */
41897
42356
  CreateUpdateSalesReturnOrderItemSchema: {
@@ -42314,6 +42773,10 @@ export interface components {
42314
42773
  * @default []
42315
42774
  */
42316
42775
  items: components["schemas"]["SalesReturnInvoiceItemSchema"][];
42776
+ /** Linkeddocuments */
42777
+ linkedDocuments?: {
42778
+ [key: string]: components["schemas"]["LinkedDocumentsSchema"];
42779
+ }[];
42317
42780
  };
42318
42781
  /** CreateUpdateSalesReturnInvoiceItemSchema */
42319
42782
  CreateUpdateSalesReturnInvoiceItemSchema: {
@@ -75144,7 +75607,7 @@ export interface operations {
75144
75607
  [name: string]: unknown;
75145
75608
  };
75146
75609
  content: {
75147
- "application/json": components["schemas"]["DownPaymentWithItemDetailSchema"];
75610
+ "application/json": components["schemas"]["DownPaymentWithLinkedDocumentsSchema"];
75148
75611
  };
75149
75612
  };
75150
75613
  /** @description Bad Request */
@@ -75721,7 +76184,7 @@ export interface operations {
75721
76184
  [name: string]: unknown;
75722
76185
  };
75723
76186
  content: {
75724
- "application/json": components["schemas"]["SalesOrderSchema"];
76187
+ "application/json": components["schemas"]["SalesOrderSchemaWithLinkedDocuments"];
75725
76188
  };
75726
76189
  };
75727
76190
  /** @description Bad Request */
@@ -77345,7 +77808,7 @@ export interface operations {
77345
77808
  [name: string]: unknown;
77346
77809
  };
77347
77810
  content: {
77348
- "application/json": components["schemas"]["SalesInvoiceSchema"];
77811
+ "application/json": components["schemas"]["SalesInvoiceSchemaWithLinkedDocuments"];
77349
77812
  };
77350
77813
  };
77351
77814
  /** @description Forbidden */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.370",
3
+ "version": "1.0.372",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],