@erp-galoper/types 1.0.1788 → 1.0.1790

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 +74 -68
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -4508,6 +4508,7 @@ export interface paths {
4508
4508
  * - batchNotInWarehouse - Batch is not available in the warehouse
4509
4509
  * - batchDoesNotExist - The selected batch does not exist
4510
4510
  * - serialIsRequired - Serial is required but not provided for serial-tracked items
4511
+ * - serialDecreaseOnly - Only decrease adjustment is allowed for serial-tracked items
4511
4512
  * - serialItemMismatch - Serial does not belong to the selected item
4512
4513
  * - serialNotAvailable - Serial is not in available status
4513
4514
  * - serialNotInWarehouse - Serial is not present in warehouse
@@ -4559,6 +4560,7 @@ export interface paths {
4559
4560
  * - batchNotInWarehouse - Batch is not available in the warehouse
4560
4561
  * - batchDoesNotExist - The selected batch does not exist
4561
4562
  * - serialIsRequired - Serial is required but not provided for serial-tracked items
4563
+ * - serialDecreaseOnly - Only decrease adjustment is allowed for serial-tracked items
4562
4564
  * - serialItemMismatch - Serial does not belong to the selected item
4563
4565
  * - serialNotAvailable - Serial is not in available status
4564
4566
  * - serialNotInWarehouse - Serial is not present in warehouse
@@ -31382,6 +31384,7 @@ export interface components {
31382
31384
  * @description - increase: Add quantity to current stock
31383
31385
  * - decrease: Remove quantity from current stock
31384
31386
  * - replace: Set stock to exact quantity (overrides current)
31387
+ * - For serial-tracked items, only decrease is allowed
31385
31388
  */
31386
31389
  adjustmentType: components["schemas"]["AdjustmentTypeOption"];
31387
31390
  /**
@@ -31404,7 +31407,8 @@ export interface components {
31404
31407
  * Serial
31405
31408
  * @description - Required if item is tracked by serial number
31406
31409
  * - Must belong to the selected item
31407
- * - For decrease, serial must exist in warehouse
31410
+ * - Serial-tracked items only support decrease adjustments
31411
+ * - Serial must exist in warehouse
31408
31412
  * - /api/v1/inventory/items-quantity/ use this route to check availability (availableForSale)
31409
31413
  */
31410
31414
  serial?: string | null;
@@ -31515,6 +31519,7 @@ export interface components {
31515
31519
  * @description - increase: Add quantity to current stock
31516
31520
  * - decrease: Remove quantity from current stock
31517
31521
  * - replace: Set stock to exact quantity (overrides current)
31522
+ * - For serial-tracked items, only decrease is allowed
31518
31523
  */
31519
31524
  adjustmentType: components["schemas"]["AdjustmentTypeOption"];
31520
31525
  /**
@@ -31537,7 +31542,8 @@ export interface components {
31537
31542
  * Serial
31538
31543
  * @description - Required if item is tracked by serial number
31539
31544
  * - Must belong to the selected item
31540
- * - For decrease, serial must exist in warehouse
31545
+ * - Serial-tracked items only support decrease adjustments
31546
+ * - Serial must exist in warehouse
31541
31547
  * - /api/v1/inventory/items-quantity/ use this route to check availability (availableForSale)
31542
31548
  */
31543
31549
  serial?: string | null;
@@ -48652,10 +48658,10 @@ export interface components {
48652
48658
  */
48653
48659
  subtotal: string;
48654
48660
  /**
48655
- * Usdsubtotal
48661
+ * Secondarysubtotal
48656
48662
  * @description This field represents gross subtotal in secondary currency
48657
48663
  */
48658
- usdSubtotal: string;
48664
+ secondarySubtotal: string;
48659
48665
  /**
48660
48666
  * Companysubtotal
48661
48667
  * @description This field represents gross subtotal in company currency
@@ -48682,10 +48688,10 @@ export interface components {
48682
48688
  */
48683
48689
  discountedTotal: string;
48684
48690
  /**
48685
- * Usddiscountedtotal
48691
+ * Secondarydiscountedtotal
48686
48692
  * @description This field represents net total after line discount and overall discount in secondary currency
48687
48693
  */
48688
- usdDiscountedTotal: string;
48694
+ secondaryDiscountedTotal: string;
48689
48695
  /**
48690
48696
  * Companydiscountedtotal
48691
48697
  * @description This field represents net total after line discount and overall discount in company currency
@@ -48697,10 +48703,10 @@ export interface components {
48697
48703
  */
48698
48704
  taxAmount: string;
48699
48705
  /**
48700
- * Usdtaxamount
48706
+ * Secondarytaxamount
48701
48707
  * @description This is a number
48702
48708
  */
48703
- usdTaxAmount: string;
48709
+ secondaryTaxAmount: string;
48704
48710
  /**
48705
48711
  * Companytaxamount
48706
48712
  * @description This is a number
@@ -48712,10 +48718,10 @@ export interface components {
48712
48718
  */
48713
48719
  total: string;
48714
48720
  /**
48715
- * Usdtotal
48721
+ * Secondarytotal
48716
48722
  * @description This field represents grand total in secondary currency
48717
48723
  */
48718
- usdTotal: string;
48724
+ secondaryTotal: string;
48719
48725
  /**
48720
48726
  * Companytotal
48721
48727
  * @description This field represents grand total in company currency
@@ -51250,11 +51256,11 @@ export interface components {
51250
51256
  */
51251
51257
  subtotal: string;
51252
51258
  /**
51253
- * Usdsubtotal
51259
+ * Secondarysubtotal
51254
51260
  * @description This field is a number representing gross subtotal in secondary currency.
51255
51261
  * @default 0
51256
51262
  */
51257
- usdSubtotal: string;
51263
+ secondarySubtotal: string;
51258
51264
  /**
51259
51265
  * Companysubtotal
51260
51266
  * @description This field is a number representing gross subtotal in the company's currency.
@@ -51268,11 +51274,11 @@ export interface components {
51268
51274
  */
51269
51275
  discountedTotal: string;
51270
51276
  /**
51271
- * Usddiscountedtotal
51277
+ * Secondarydiscountedtotal
51272
51278
  * @description This field is a number representing net subtotal after applying the discount in secondary currency.
51273
51279
  * @default 0
51274
51280
  */
51275
- usdDiscountedTotal: string;
51281
+ secondaryDiscountedTotal: string;
51276
51282
  /**
51277
51283
  * Companydiscountedtotal
51278
51284
  * @description This field is a number representing net subtotal after applying the discount in the company's currency.
@@ -51292,11 +51298,11 @@ export interface components {
51292
51298
  */
51293
51299
  taxAmount: string;
51294
51300
  /**
51295
- * Usdtaxamount
51301
+ * Secondarytaxamount
51296
51302
  * @description This field is a number representing the total tax amount in USD.
51297
51303
  * @default 0
51298
51304
  */
51299
- usdTaxAmount: string;
51305
+ secondaryTaxAmount: string;
51300
51306
  /**
51301
51307
  * Companytaxamount
51302
51308
  * @description This field is a number representing the total tax amount in the company's currency.
@@ -51310,11 +51316,11 @@ export interface components {
51310
51316
  */
51311
51317
  total: string;
51312
51318
  /**
51313
- * Usdtotal
51319
+ * Secondarytotal
51314
51320
  * @description This field is a number representing grand total in secondary currency.
51315
51321
  * @default 0
51316
51322
  */
51317
- usdTotal: string;
51323
+ secondaryTotal: string;
51318
51324
  /**
51319
51325
  * Companytotal
51320
51326
  * @description This field is a number representing grand total in the company's currency.
@@ -51391,10 +51397,10 @@ export interface components {
51391
51397
  /** @description visible when project module is active */
51392
51398
  project: components["schemas"]["ProjectSummaryInfo"] | null;
51393
51399
  /**
51394
- * Usdrate
51400
+ * Secondaryrate
51395
51401
  * @description This field is a number representing the USD rate.
51396
51402
  */
51397
- usdRate: string;
51403
+ secondaryRate: string;
51398
51404
  /**
51399
51405
  * Companyrate
51400
51406
  * @description This field is a number representing the company rate.
@@ -51406,10 +51412,10 @@ export interface components {
51406
51412
  */
51407
51413
  subtotal: string;
51408
51414
  /**
51409
- * Usdsubtotal
51415
+ * Secondarysubtotal
51410
51416
  * @description This field is a number representing gross subtotal in secondary currency.
51411
51417
  */
51412
- usdSubtotal: string;
51418
+ secondarySubtotal: string;
51413
51419
  /**
51414
51420
  * Companysubtotal
51415
51421
  * @description This field is a number representing gross subtotal in the company's currency.
@@ -51421,10 +51427,10 @@ export interface components {
51421
51427
  */
51422
51428
  netSubtotal: string;
51423
51429
  /**
51424
- * Usdnetsubtotal
51430
+ * Secondarynetsubtotal
51425
51431
  * @description This field is a number representing net subtotal in secondary currency
51426
51432
  */
51427
- usdNetSubtotal: string;
51433
+ secondaryNetSubtotal: string;
51428
51434
  /**
51429
51435
  * Companynetsubtotal
51430
51436
  * @description This field is a number representing net subtotal in company currency
@@ -51442,10 +51448,10 @@ export interface components {
51442
51448
  */
51443
51449
  discountedTotal: string;
51444
51450
  /**
51445
- * Usddiscountedtotal
51451
+ * Secondarydiscountedtotal
51446
51452
  * @description This field is a number representing discounted total in secondary currency.
51447
51453
  */
51448
- usdDiscountedTotal: string;
51454
+ secondaryDiscountedTotal: string;
51449
51455
  /**
51450
51456
  * Companydiscountedtotal
51451
51457
  * @description This field is a number representing discounted total in the company's currency.
@@ -51457,10 +51463,10 @@ export interface components {
51457
51463
  */
51458
51464
  taxAmount: string;
51459
51465
  /**
51460
- * Usdtaxamount
51466
+ * Secondarytaxamount
51461
51467
  * @description This field is a number representing the total tax amount in USD.
51462
51468
  */
51463
- usdTaxAmount: string;
51469
+ secondaryTaxAmount: string;
51464
51470
  /**
51465
51471
  * Companytaxamount
51466
51472
  * @description This field is a number representing the total tax amount in the company's currency.
@@ -51472,10 +51478,10 @@ export interface components {
51472
51478
  */
51473
51479
  total: string;
51474
51480
  /**
51475
- * Usdtotal
51481
+ * Secondarytotal
51476
51482
  * @description This field is a number representing grand total in secondary currency.
51477
51483
  */
51478
- usdTotal: string;
51484
+ secondaryTotal: string;
51479
51485
  /**
51480
51486
  * Companytotal
51481
51487
  * @description This field is a number representing grand total in the company's currency.
@@ -51515,10 +51521,10 @@ export interface components {
51515
51521
  */
51516
51522
  discountAmount?: string | null;
51517
51523
  /**
51518
- * Usddiscountamount
51524
+ * Secondarydiscountamount
51519
51525
  * @description Discount amount in secondary currency
51520
51526
  */
51521
- usdDiscountAmount?: string | null;
51527
+ secondaryDiscountAmount?: string | null;
51522
51528
  /**
51523
51529
  * Companydiscountamount
51524
51530
  * @description Discount amount in company currency
@@ -51530,10 +51536,10 @@ export interface components {
51530
51536
  */
51531
51537
  lineDiscountAmount?: string | null;
51532
51538
  /**
51533
- * Usdlinediscountamount
51539
+ * Secondarylinediscountamount
51534
51540
  * @description Total line item discount amount in secondary currency
51535
51541
  */
51536
- usdLineDiscountAmount?: string | null;
51542
+ secondaryLineDiscountAmount?: string | null;
51537
51543
  /**
51538
51544
  * Companylinediscountamount
51539
51545
  * @description Total line item discount amount in company currency
@@ -51791,11 +51797,11 @@ export interface components {
51791
51797
  */
51792
51798
  companyRate?: string;
51793
51799
  /**
51794
- * Usdrate
51800
+ * Secondaryrate
51795
51801
  * @description - This field is a number.
51796
51802
  * - This field is visible and required if allow rate change is on in system settings and the country is Lebanon.
51797
51803
  */
51798
- usdRate?: string;
51804
+ secondaryRate?: string;
51799
51805
  status: components["schemas"]["InternalStatusOnCreateValueChoices"];
51800
51806
  /**
51801
51807
  * Attachments
@@ -51907,10 +51913,10 @@ export interface components {
51907
51913
  /** @description visible when project module is active */
51908
51914
  project: components["schemas"]["ProjectSummaryInfo"] | null;
51909
51915
  /**
51910
- * Usdrate
51916
+ * Secondaryrate
51911
51917
  * @description This field is a number representing the USD rate.
51912
51918
  */
51913
- usdRate: string;
51919
+ secondaryRate: string;
51914
51920
  /**
51915
51921
  * Companyrate
51916
51922
  * @description This field is a number representing the company rate.
@@ -51922,10 +51928,10 @@ export interface components {
51922
51928
  */
51923
51929
  subtotal: string;
51924
51930
  /**
51925
- * Usdsubtotal
51931
+ * Secondarysubtotal
51926
51932
  * @description This field is a number representing gross subtotal in secondary currency.
51927
51933
  */
51928
- usdSubtotal: string;
51934
+ secondarySubtotal: string;
51929
51935
  /**
51930
51936
  * Companysubtotal
51931
51937
  * @description This field is a number representing gross subtotal in the company's currency.
@@ -51937,10 +51943,10 @@ export interface components {
51937
51943
  */
51938
51944
  netSubtotal: string;
51939
51945
  /**
51940
- * Usdnetsubtotal
51946
+ * Secondarynetsubtotal
51941
51947
  * @description This field is a number representing net subtotal in secondary currency
51942
51948
  */
51943
- usdNetSubtotal: string;
51949
+ secondaryNetSubtotal: string;
51944
51950
  /**
51945
51951
  * Companynetsubtotal
51946
51952
  * @description This field is a number representing net subtotal in company currency
@@ -51958,10 +51964,10 @@ export interface components {
51958
51964
  */
51959
51965
  discountedTotal: string;
51960
51966
  /**
51961
- * Usddiscountedtotal
51967
+ * Secondarydiscountedtotal
51962
51968
  * @description This field is a number representing discounted total in secondary currency.
51963
51969
  */
51964
- usdDiscountedTotal: string;
51970
+ secondaryDiscountedTotal: string;
51965
51971
  /**
51966
51972
  * Companydiscountedtotal
51967
51973
  * @description This field is a number representing discounted total in the company's currency.
@@ -51973,10 +51979,10 @@ export interface components {
51973
51979
  */
51974
51980
  taxAmount: string;
51975
51981
  /**
51976
- * Usdtaxamount
51982
+ * Secondarytaxamount
51977
51983
  * @description This field is a number representing the total tax amount in USD.
51978
51984
  */
51979
- usdTaxAmount: string;
51985
+ secondaryTaxAmount: string;
51980
51986
  /**
51981
51987
  * Companytaxamount
51982
51988
  * @description This field is a number representing the total tax amount in the company's currency.
@@ -51988,10 +51994,10 @@ export interface components {
51988
51994
  */
51989
51995
  total: string;
51990
51996
  /**
51991
- * Usdtotal
51997
+ * Secondarytotal
51992
51998
  * @description This field is a number representing grand total in secondary currency.
51993
51999
  */
51994
- usdTotal: string;
52000
+ secondaryTotal: string;
51995
52001
  /**
51996
52002
  * Companytotal
51997
52003
  * @description This field is a number representing grand total in the company's currency.
@@ -52031,10 +52037,10 @@ export interface components {
52031
52037
  */
52032
52038
  discountAmount?: string | null;
52033
52039
  /**
52034
- * Usddiscountamount
52040
+ * Secondarydiscountamount
52035
52041
  * @description Discount amount in secondary currency
52036
52042
  */
52037
- usdDiscountAmount?: string | null;
52043
+ secondaryDiscountAmount?: string | null;
52038
52044
  /**
52039
52045
  * Companydiscountamount
52040
52046
  * @description Discount amount in company currency
@@ -52046,10 +52052,10 @@ export interface components {
52046
52052
  */
52047
52053
  lineDiscountAmount?: string | null;
52048
52054
  /**
52049
- * Usdlinediscountamount
52055
+ * Secondarylinediscountamount
52050
52056
  * @description Total line item discount amount in secondary currency
52051
52057
  */
52052
- usdLineDiscountAmount?: string | null;
52058
+ secondaryLineDiscountAmount?: string | null;
52053
52059
  /**
52054
52060
  * Companylinediscountamount
52055
52061
  * @description Total line item discount amount in company currency
@@ -52139,10 +52145,10 @@ export interface components {
52139
52145
  /** @description visible when project module is active */
52140
52146
  project: components["schemas"]["ProjectSummaryInfo"] | null;
52141
52147
  /**
52142
- * Usdrate
52148
+ * Secondaryrate
52143
52149
  * @description This field is a number representing the USD rate.
52144
52150
  */
52145
- usdRate: string;
52151
+ secondaryRate: string;
52146
52152
  /**
52147
52153
  * Companyrate
52148
52154
  * @description This field is a number representing the company rate.
@@ -52154,10 +52160,10 @@ export interface components {
52154
52160
  */
52155
52161
  subtotal: string;
52156
52162
  /**
52157
- * Usdsubtotal
52163
+ * Secondarysubtotal
52158
52164
  * @description This field is a number representing gross subtotal in secondary currency.
52159
52165
  */
52160
- usdSubtotal: string;
52166
+ secondarySubtotal: string;
52161
52167
  /**
52162
52168
  * Companysubtotal
52163
52169
  * @description This field is a number representing gross subtotal in the company's currency.
@@ -52169,10 +52175,10 @@ export interface components {
52169
52175
  */
52170
52176
  netSubtotal: string;
52171
52177
  /**
52172
- * Usdnetsubtotal
52178
+ * Secondarynetsubtotal
52173
52179
  * @description This field is a number representing net subtotal in secondary currency
52174
52180
  */
52175
- usdNetSubtotal: string;
52181
+ secondaryNetSubtotal: string;
52176
52182
  /**
52177
52183
  * Companynetsubtotal
52178
52184
  * @description This field is a number representing net subtotal in company currency
@@ -52190,10 +52196,10 @@ export interface components {
52190
52196
  */
52191
52197
  discountedTotal: string;
52192
52198
  /**
52193
- * Usddiscountedtotal
52199
+ * Secondarydiscountedtotal
52194
52200
  * @description This field is a number representing discounted total in secondary currency.
52195
52201
  */
52196
- usdDiscountedTotal: string;
52202
+ secondaryDiscountedTotal: string;
52197
52203
  /**
52198
52204
  * Companydiscountedtotal
52199
52205
  * @description This field is a number representing discounted total in the company's currency.
@@ -52205,10 +52211,10 @@ export interface components {
52205
52211
  */
52206
52212
  taxAmount: string;
52207
52213
  /**
52208
- * Usdtaxamount
52214
+ * Secondarytaxamount
52209
52215
  * @description This field is a number representing the total tax amount in USD.
52210
52216
  */
52211
- usdTaxAmount: string;
52217
+ secondaryTaxAmount: string;
52212
52218
  /**
52213
52219
  * Companytaxamount
52214
52220
  * @description This field is a number representing the total tax amount in the company's currency.
@@ -52220,10 +52226,10 @@ export interface components {
52220
52226
  */
52221
52227
  total: string;
52222
52228
  /**
52223
- * Usdtotal
52229
+ * Secondarytotal
52224
52230
  * @description This field is a number representing grand total in secondary currency.
52225
52231
  */
52226
- usdTotal: string;
52232
+ secondaryTotal: string;
52227
52233
  /**
52228
52234
  * Companytotal
52229
52235
  * @description This field is a number representing grand total in the company's currency.
@@ -52263,10 +52269,10 @@ export interface components {
52263
52269
  */
52264
52270
  discountAmount?: string | null;
52265
52271
  /**
52266
- * Usddiscountamount
52272
+ * Secondarydiscountamount
52267
52273
  * @description Discount amount in secondary currency
52268
52274
  */
52269
- usdDiscountAmount?: string | null;
52275
+ secondaryDiscountAmount?: string | null;
52270
52276
  /**
52271
52277
  * Companydiscountamount
52272
52278
  * @description Discount amount in company currency
@@ -52278,10 +52284,10 @@ export interface components {
52278
52284
  */
52279
52285
  lineDiscountAmount?: string | null;
52280
52286
  /**
52281
- * Usdlinediscountamount
52287
+ * Secondarylinediscountamount
52282
52288
  * @description Total line item discount amount in secondary currency
52283
52289
  */
52284
- usdLineDiscountAmount?: string | null;
52290
+ secondaryLineDiscountAmount?: string | null;
52285
52291
  /**
52286
52292
  * Companylinediscountamount
52287
52293
  * @description Total line item discount amount in company currency
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1788",
3
+ "version": "1.0.1790",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],