@erp-galoper/types 1.0.1752 → 1.0.1754

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 +169 -0
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -17502,6 +17502,7 @@ export interface paths {
17502
17502
  * - customerShouldBeSameAsDownPaymentCustomer
17503
17503
  * - salesPersonIsNotActive
17504
17504
  * - invoiceShouldBeLinkedToQuotationOrOrder
17505
+ * - downPaymentAmountExceedsRemainingBalance
17505
17506
  *
17506
17507
  * - 403: "noModuleAccess"
17507
17508
  * - "permissionDenied"
@@ -17575,6 +17576,7 @@ export interface paths {
17575
17576
  * - salesInvoiceItemCannotBeDeleted
17576
17577
  * - salesPersonIsNotActive
17577
17578
  * - invoiceShouldBeLinkedToQuotationOrOrder
17579
+ * - downPaymentAmountExceedsRemainingBalance
17578
17580
  *
17579
17581
  * - 403: "noModuleAccess"
17580
17582
  * - "permissionDenied"
@@ -40133,6 +40135,21 @@ export interface components {
40133
40135
  companyTotal: number;
40134
40136
  /** Usdtotal */
40135
40137
  usdTotal: number;
40138
+ /**
40139
+ * Remaining
40140
+ * @description Remaining balance in supplier currency
40141
+ */
40142
+ remaining?: string;
40143
+ /**
40144
+ * Primaryremaining
40145
+ * @description Remaining balance in primary currency
40146
+ */
40147
+ primaryRemaining?: string;
40148
+ /**
40149
+ * Secondaryremaining
40150
+ * @description Remaining balance in secondary currency
40151
+ */
40152
+ secondaryRemaining?: string;
40136
40153
  /** Attachments */
40137
40154
  attachments: string[] | null;
40138
40155
  /** Candelete */
@@ -40294,6 +40311,21 @@ export interface components {
40294
40311
  companyTotal: number;
40295
40312
  /** Usdtotal */
40296
40313
  usdTotal: number;
40314
+ /**
40315
+ * Remaining
40316
+ * @description Remaining balance in supplier currency
40317
+ */
40318
+ remaining?: string;
40319
+ /**
40320
+ * Primaryremaining
40321
+ * @description Remaining balance in primary currency
40322
+ */
40323
+ primaryRemaining?: string;
40324
+ /**
40325
+ * Secondaryremaining
40326
+ * @description Remaining balance in secondary currency
40327
+ */
40328
+ secondaryRemaining?: string;
40297
40329
  /** Attachments */
40298
40330
  attachments: string[] | null;
40299
40331
  /** Candelete */
@@ -41914,6 +41946,21 @@ export interface components {
41914
41946
  * @default []
41915
41947
  */
41916
41948
  advancePayment: components["schemas"]["AdvancedPaymentSharedSchema"] | null;
41949
+ /**
41950
+ * Advancepaymentamount
41951
+ * @description Amount of advance payment applied to this invoice (supplier currency).
41952
+ */
41953
+ advancePaymentAmount: string | null;
41954
+ /**
41955
+ * Primaryadvancepaymentamount
41956
+ * @description advance_payment_amount * company_rate — primary currency, computed by system.
41957
+ */
41958
+ primaryAdvancePaymentAmount: string | null;
41959
+ /**
41960
+ * Secondaryadvancepaymentamount
41961
+ * @description advance_payment_amount * usd_rate — secondary currency, computed by system.
41962
+ */
41963
+ secondaryAdvancePaymentAmount: string | null;
41917
41964
  /**
41918
41965
  * Goodsreceiptnote
41919
41966
  * @description Goods receipt note ID, hit the goods_receipt_note endpoint to get the list of goods receipt notes, filtered by the supplier
@@ -42803,6 +42850,21 @@ export interface components {
42803
42850
  * @default []
42804
42851
  */
42805
42852
  advancePayment: components["schemas"]["AdvancedPaymentSharedSchema"] | null;
42853
+ /**
42854
+ * Advancepaymentamount
42855
+ * @description Amount of advance payment applied to this invoice (supplier currency).
42856
+ */
42857
+ advancePaymentAmount: string | null;
42858
+ /**
42859
+ * Primaryadvancepaymentamount
42860
+ * @description advance_payment_amount * company_rate — primary currency, computed by system.
42861
+ */
42862
+ primaryAdvancePaymentAmount: string | null;
42863
+ /**
42864
+ * Secondaryadvancepaymentamount
42865
+ * @description advance_payment_amount * usd_rate — secondary currency, computed by system.
42866
+ */
42867
+ secondaryAdvancePaymentAmount: string | null;
42806
42868
  /**
42807
42869
  * Goodsreceiptnote
42808
42870
  * @description Goods receipt note ID, hit the goods_receipt_note endpoint to get the list of goods receipt notes, filtered by the supplier
@@ -43010,6 +43072,21 @@ export interface components {
43010
43072
  * @default []
43011
43073
  */
43012
43074
  advancePayment: components["schemas"]["AdvancedPaymentSharedSchema"] | null;
43075
+ /**
43076
+ * Advancepaymentamount
43077
+ * @description Amount of advance payment applied to this invoice (supplier currency).
43078
+ */
43079
+ advancePaymentAmount: string | null;
43080
+ /**
43081
+ * Primaryadvancepaymentamount
43082
+ * @description advance_payment_amount * company_rate — primary currency, computed by system.
43083
+ */
43084
+ primaryAdvancePaymentAmount: string | null;
43085
+ /**
43086
+ * Secondaryadvancepaymentamount
43087
+ * @description advance_payment_amount * usd_rate — secondary currency, computed by system.
43088
+ */
43089
+ secondaryAdvancePaymentAmount: string | null;
43013
43090
  /**
43014
43091
  * Goodsreceiptnote
43015
43092
  * @description Goods receipt note ID, hit the goods_receipt_note endpoint to get the list of goods receipt notes, filtered by the supplier
@@ -43229,6 +43306,11 @@ export interface components {
43229
43306
  * @description Advanced payment ID,to get advance payments use route /v1/purchase/advance-payments/?branchId=1&type=purchaseInvoice&supplier={supplier-id}
43230
43307
  */
43231
43308
  advancePayment: string | null;
43309
+ /**
43310
+ * Advancepaymentamount
43311
+ * @description Amount of advance payment to apply to this invoice (supplier currency). Visible and required when advancePayment is set.
43312
+ */
43313
+ advancePaymentAmount?: number;
43232
43314
  /**
43233
43315
  * Departmentid
43234
43316
  * @description Department ID,hit the user/me endpoint and access departments field to get the list of departments
@@ -43463,6 +43545,11 @@ export interface components {
43463
43545
  * @description Advanced payment ID,to get advance payments use route /v1/purchase/advance-payments/?branchId=1&type=purchaseInvoice&supplier={supplier-id}
43464
43546
  */
43465
43547
  advancePayment: string | null;
43548
+ /**
43549
+ * Advancepaymentamount
43550
+ * @description Amount of advance payment to apply to this invoice (supplier currency). Visible and required when advancePayment is set.
43551
+ */
43552
+ advancePaymentAmount?: number;
43466
43553
  /** Attachments */
43467
43554
  attachments: string[] | null;
43468
43555
  /** Description */
@@ -44142,6 +44229,21 @@ export interface components {
44142
44229
  * @default []
44143
44230
  */
44144
44231
  advancePayment: components["schemas"]["AdvancedPaymentSharedSchema"] | null;
44232
+ /**
44233
+ * Advancepaymentamount
44234
+ * @description Amount of advance payment applied to this invoice (supplier currency).
44235
+ */
44236
+ advancePaymentAmount: string | null;
44237
+ /**
44238
+ * Primaryadvancepaymentamount
44239
+ * @description advance_payment_amount * company_rate — primary currency, computed by system.
44240
+ */
44241
+ primaryAdvancePaymentAmount: string | null;
44242
+ /**
44243
+ * Secondaryadvancepaymentamount
44244
+ * @description advance_payment_amount * usd_rate — secondary currency, computed by system.
44245
+ */
44246
+ secondaryAdvancePaymentAmount: string | null;
44145
44247
  /**
44146
44248
  * Goodsreceiptnote
44147
44249
  * @description Goods receipt note ID, hit the goods_receipt_note endpoint to get the list of goods receipt notes, filtered by the supplier
@@ -50503,6 +50605,21 @@ export interface components {
50503
50605
  * @description this field is number
50504
50606
  */
50505
50607
  usdTotal: string | null;
50608
+ /**
50609
+ * Remaining
50610
+ * @description Remaining balance in customer currency
50611
+ */
50612
+ remaining?: string | null;
50613
+ /**
50614
+ * Primaryremaining
50615
+ * @description Remaining balance in primary currency
50616
+ */
50617
+ primaryRemaining?: string | null;
50618
+ /**
50619
+ * Secondaryremaining
50620
+ * @description Remaining balance in secondary currency
50621
+ */
50622
+ secondaryRemaining?: string | null;
50506
50623
  /** Candelete */
50507
50624
  canDelete: boolean;
50508
50625
  /** @description visible when project module is active */
@@ -50690,6 +50807,21 @@ export interface components {
50690
50807
  * @description this field is number
50691
50808
  */
50692
50809
  usdTotal: string | null;
50810
+ /**
50811
+ * Remaining
50812
+ * @description Remaining balance in customer currency
50813
+ */
50814
+ remaining?: string | null;
50815
+ /**
50816
+ * Primaryremaining
50817
+ * @description Remaining balance in primary currency
50818
+ */
50819
+ primaryRemaining?: string | null;
50820
+ /**
50821
+ * Secondaryremaining
50822
+ * @description Remaining balance in secondary currency
50823
+ */
50824
+ secondaryRemaining?: string | null;
50693
50825
  /** Candelete */
50694
50826
  canDelete: boolean;
50695
50827
  /** @description visible when project module is active */
@@ -50881,6 +51013,21 @@ export interface components {
50881
51013
  * @description this field is number
50882
51014
  */
50883
51015
  usdTotal: string | null;
51016
+ /**
51017
+ * Remaining
51018
+ * @description Remaining balance in customer currency
51019
+ */
51020
+ remaining?: string | null;
51021
+ /**
51022
+ * Primaryremaining
51023
+ * @description Remaining balance in primary currency
51024
+ */
51025
+ primaryRemaining?: string | null;
51026
+ /**
51027
+ * Secondaryremaining
51028
+ * @description Remaining balance in secondary currency
51029
+ */
51030
+ secondaryRemaining?: string | null;
50884
51031
  /** Candelete */
50885
51032
  canDelete: boolean;
50886
51033
  /** @description visible when project module is active */
@@ -53153,6 +53300,11 @@ export interface components {
53153
53300
  deliveryStatus: components["schemas"]["DeliveryStatusValueChoices"];
53154
53301
  /** @description The down payment linked to this invoice, if applicable. */
53155
53302
  downPayment: components["schemas"]["DocumentCommonSchema"] | null;
53303
+ /**
53304
+ * Downpaymentamount
53305
+ * @description Amount of down payment applied to this invoice.
53306
+ */
53307
+ downPaymentAmount?: string | null;
53156
53308
  /** @description The payment status of the sales invoice. */
53157
53309
  paymentStatus: components["schemas"]["PaymentStatusValueChoices"];
53158
53310
  /** @description The price list associated with the sales invoice. */
@@ -53545,6 +53697,13 @@ export interface components {
53545
53697
  * @description get down payments use route /api/v1/sales/down-payments/?type=salesInvoice&customer={customer-id}/
53546
53698
  */
53547
53699
  downPayment?: string;
53700
+ /**
53701
+ * Downpaymentamount
53702
+ * @description - Amount of down payment to apply to this invoice.
53703
+ * - Visible and Required when downPayment is set.
53704
+ * - Must not exceed the remaining available down payment balance.
53705
+ */
53706
+ downPaymentAmount?: number;
53548
53707
  /**
53549
53708
  * Salesperson
53550
53709
  * Format: uuid
@@ -53752,6 +53911,11 @@ export interface components {
53752
53911
  deliveryStatus: components["schemas"]["DeliveryStatusValueChoices"];
53753
53912
  /** @description The down payment linked to this invoice, if applicable. */
53754
53913
  downPayment: components["schemas"]["DocumentCommonSchema"] | null;
53914
+ /**
53915
+ * Downpaymentamount
53916
+ * @description Amount of down payment applied to this invoice.
53917
+ */
53918
+ downPaymentAmount?: string | null;
53755
53919
  /** @description The payment status of the sales invoice. */
53756
53920
  paymentStatus: components["schemas"]["PaymentStatusValueChoices"];
53757
53921
  /** @description The price list associated with the sales invoice. */
@@ -54020,6 +54184,11 @@ export interface components {
54020
54184
  deliveryStatus: components["schemas"]["DeliveryStatusValueChoices"];
54021
54185
  /** @description The down payment linked to this invoice, if applicable. */
54022
54186
  downPayment: components["schemas"]["DocumentCommonSchema"] | null;
54187
+ /**
54188
+ * Downpaymentamount
54189
+ * @description Amount of down payment applied to this invoice.
54190
+ */
54191
+ downPaymentAmount?: string | null;
54023
54192
  /** @description The payment status of the sales invoice. */
54024
54193
  paymentStatus: components["schemas"]["PaymentStatusValueChoices"];
54025
54194
  /** @description The price list associated with the sales invoice. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1752",
3
+ "version": "1.0.1754",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],