@erp-galoper/types 1.0.1965 → 1.0.1966

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 +21 -9
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -15587,6 +15587,7 @@ export interface paths {
15587
15587
  * - recognitionFrequencyIsRequired
15588
15588
  * - recognitionStartDateIsRequired
15589
15589
  * - depositChargeChangeNotAllowed
15590
+ * - packageDepositChargeRequired
15590
15591
  * - unitPackageIsRequired
15591
15592
  * - salesPersonIsNotActive
15592
15593
  *
@@ -15653,6 +15654,7 @@ export interface paths {
15653
15654
  * - recognitionFrequencyIsRequired
15654
15655
  * - recognitionStartDateIsRequired
15655
15656
  * - depositChargeChangeNotAllowed
15657
+ * - packageDepositChargeRequired
15656
15658
  * - unitPackageIsRequired
15657
15659
  * - customerChangeNotAllowed
15658
15660
  * - salesPersonIsNotActive
@@ -16869,6 +16871,7 @@ export interface paths {
16869
16871
  * - recognitionFrequencyIsRequired
16870
16872
  * - recognitionStartDateIsRequired
16871
16873
  * - depositChargeChangeNotAllowed
16874
+ * - packageDepositChargeRequired
16872
16875
  * - unitPackageIsRequired
16873
16876
  * - salesQuotationDoesNotExist
16874
16877
  * - salesQuotationCustomerDoesNotMatchWithSalesOrderCustomer
@@ -16937,6 +16940,7 @@ export interface paths {
16937
16940
  * - recognitionFrequencyIsRequired
16938
16941
  * - recognitionStartDateIsRequired
16939
16942
  * - depositChargeChangeNotAllowed
16943
+ * - packageDepositChargeRequired
16940
16944
  * - unitPackageIsRequired
16941
16945
  * - salesQuotationDoesNotExist
16942
16946
  * - customerChangeNotAllowed
@@ -17869,6 +17873,7 @@ export interface paths {
17869
17873
  * - recognitionFrequencyIsRequired
17870
17874
  * - recognitionStartDateIsRequired
17871
17875
  * - depositChargeChangeNotAllowed
17876
+ * - packageDepositChargeRequired
17872
17877
  * - unitPackageIsRequired
17873
17878
  * - salesOrderDoesNotExist
17874
17879
  * - customerShouldBeSameAsDownPaymentCustomer
@@ -17940,6 +17945,7 @@ export interface paths {
17940
17945
  * - recognitionFrequencyIsRequired
17941
17946
  * - recognitionStartDateIsRequired
17942
17947
  * - depositChargeChangeNotAllowed
17948
+ * - packageDepositChargeRequired
17943
17949
  * - unitPackageIsRequired
17944
17950
  * - salesOrderDoesNotExist
17945
17951
  * - customerChangeNotAllowed
@@ -51092,6 +51098,12 @@ export interface components {
51092
51098
  * @default false
51093
51099
  */
51094
51100
  returnable: boolean;
51101
+ /**
51102
+ * Hasdeposit
51103
+ * @description Whether the package has a deposit charge collected on sale
51104
+ * @default false
51105
+ */
51106
+ hasDeposit: boolean;
51095
51107
  /**
51096
51108
  * Depositcharge
51097
51109
  * @description Deposit charge of the package
@@ -51171,9 +51183,15 @@ export interface components {
51171
51183
  * @default false
51172
51184
  */
51173
51185
  returnable: boolean;
51186
+ /**
51187
+ * Hasdeposit
51188
+ * @description Whether the package has a deposit charge collected on sale
51189
+ * @default false
51190
+ */
51191
+ hasDeposit: boolean;
51174
51192
  /**
51175
51193
  * Depositcharge
51176
- * @description - Visible when returnable is true and field isReturnablePackagePaid is enabled in sales settings
51194
+ * @description - Visible when returnable is true and hasDeposit is true
51177
51195
  * - If provided, depositChargeCurrency must also be provided, they are co-dependent
51178
51196
  * - If conditions are not met, this value is automatically set to null even if sent in payload
51179
51197
  * - Optional not required
@@ -51183,7 +51201,7 @@ export interface components {
51183
51201
  * Depositchargecurrency
51184
51202
  * Format: uuid
51185
51203
  * @description - Currency of the deposit charge, only company currency or USD
51186
- * - Visible when returnable is true and field isReturnablePackagePaid is enabled in sales settings
51204
+ * - Visible when returnable is true and hasDeposit is true
51187
51205
  * - If provided, depositCharge must also be provided, they are co-dependent
51188
51206
  * - If conditions are not met, this value is automatically set to null even if sent in payload
51189
51207
  * - Optional not required
@@ -51261,8 +51279,6 @@ export interface components {
51261
51279
  id: number;
51262
51280
  /** Usepricelist */
51263
51281
  usePriceList: boolean;
51264
- /** Isreturnablepackagepaid */
51265
- isReturnablePackagePaid: boolean;
51266
51282
  /** Allowsalesorderforexpiredquotation */
51267
51283
  allowSalesOrderForExpiredQuotation: boolean;
51268
51284
  /** Reserveonorder */
@@ -51275,8 +51291,6 @@ export interface components {
51275
51291
  CreateSalesSettingsSchema: {
51276
51292
  /** Usepricelist */
51277
51293
  usePriceList: boolean;
51278
- /** Isreturnablepackagepaid */
51279
- isReturnablePackagePaid: boolean;
51280
51294
  /** Allowsalesorderforexpiredquotation */
51281
51295
  allowSalesOrderForExpiredQuotation: boolean;
51282
51296
  /** Reserveonorder */
@@ -51290,8 +51304,6 @@ export interface components {
51290
51304
  UpdateSalesSettingsSchema: {
51291
51305
  /** Usepricelist */
51292
51306
  usePriceList?: boolean;
51293
- /** Isreturnablepackagepaid */
51294
- isReturnablePackagePaid?: boolean;
51295
51307
  /** Allowsalesorderforexpiredquotation */
51296
51308
  allowSalesOrderForExpiredQuotation?: boolean;
51297
51309
  /** Reserveonorder */
@@ -56545,7 +56557,7 @@ export interface components {
56545
56557
  /**
56546
56558
  * Packagedepositcharge
56547
56559
  * @description - This field is a number.
56548
- * - It is required when the package is selected and has a deposit charge and is_returnable_package_paid is true from sales_settings.
56560
+ * - It is required when the package is selected, has a deposit charge, and hasDeposit is true on that package.
56549
56561
  */
56550
56562
  packageDepositCharge?: number;
56551
56563
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1965",
3
+ "version": "1.0.1966",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],