@erp-galoper/types 1.0.94 → 1.0.96

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 +164 -57
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -3902,11 +3902,6 @@ export interface paths {
3902
3902
  cookie?: never;
3903
3903
  };
3904
3904
  get?: never;
3905
- put?: never;
3906
- post?: never;
3907
- delete?: never;
3908
- options?: never;
3909
- head?: never;
3910
3905
  /**
3911
3906
  * Update System Setting
3912
3907
  * @description Endpoint for update system setting.
@@ -3915,6 +3910,8 @@ export interface paths {
3915
3910
  * - noChangesDetected
3916
3911
  * - multicurrencyShouldBeEnabledWhenAllowRateChangeIsTrue
3917
3912
  * - multicurrencyCannotBeDisabled
3913
+ * - secondaryCurrencyIsRequired
3914
+ * - useSecondaryCurrencyCannotBeDisabled
3918
3915
  * - 200:
3919
3916
  * - systemSettingUpdated
3920
3917
  * - 403:
@@ -3924,7 +3921,12 @@ export interface paths {
3924
3921
  * - 500:
3925
3922
  * - internalServerError
3926
3923
  */
3927
- patch: operations["erp_settings_system_setting_views_update_system_setting"];
3924
+ put: operations["erp_settings_system_setting_views_update_system_setting"];
3925
+ post?: never;
3926
+ delete?: never;
3927
+ options?: never;
3928
+ head?: never;
3929
+ patch?: never;
3928
3930
  trace?: never;
3929
3931
  };
3930
3932
  "/api/v1/regions/": {
@@ -21715,8 +21717,6 @@ export interface components {
21715
21717
  code: string;
21716
21718
  /** Default */
21717
21719
  default: boolean;
21718
- /** Issecondary */
21719
- isSecondary: boolean;
21720
21720
  };
21721
21721
  /** CompanySchema */
21722
21722
  CompanySchema: {
@@ -23745,8 +23745,13 @@ export interface components {
23745
23745
  /** Allowratechange */
23746
23746
  allowRateChange: boolean;
23747
23747
  stockUpdateTrigger: components["schemas"]["StockUpdateTrigger"];
23748
- /** Usesecondarycurrency */
23748
+ /**
23749
+ * Usesecondarycurrency
23750
+ * @description visible when multicurrency is True
23751
+ */
23749
23752
  useSecondaryCurrency: boolean;
23753
+ /** @description visible when useSecondaryCurrency is True */
23754
+ secondaryCurrency: components["schemas"]["CurrencySummaryInfo"] | null;
23750
23755
  dateFormat: components["schemas"]["DateFormatEnum"];
23751
23756
  };
23752
23757
  /**
@@ -23762,20 +23767,28 @@ export interface components {
23762
23767
  /** UpdateSystemSetting */
23763
23768
  UpdateSystemSetting: {
23764
23769
  /** Multicurrency */
23765
- multicurrency?: boolean | null;
23766
- roundingType?: components["schemas"]["RoundingTypes"] | null;
23770
+ multicurrency: boolean | null;
23771
+ roundingType: components["schemas"]["RoundingTypes"] | null;
23767
23772
  /** Roundingdecimalplace */
23768
- roundingDecimalPlace?: number | null;
23773
+ roundingDecimalPlace: number | null;
23769
23774
  /** Startbusinesshour */
23770
- startBusinessHour?: string | null;
23775
+ startBusinessHour: string | null;
23771
23776
  /** Endbusinesshour */
23772
- endBusinessHour?: string | null;
23777
+ endBusinessHour: string | null;
23773
23778
  /** Allowratechange */
23774
- allowRateChange?: boolean;
23775
- stockUpdateTrigger?: components["schemas"]["StockUpdateTrigger"];
23776
- /** Usesecondarycurrency */
23777
- useSecondaryCurrency?: boolean;
23778
- dateFormat?: components["schemas"]["DateFormatEnum"];
23779
+ allowRateChange: boolean;
23780
+ stockUpdateTrigger: components["schemas"]["StockUpdateTrigger"];
23781
+ /**
23782
+ * Usesecondarycurrency
23783
+ * @description visible when multicurrency is True
23784
+ */
23785
+ useSecondaryCurrency: boolean;
23786
+ /**
23787
+ * Secondarycurrency
23788
+ * @description currency id, visible and required if useSecondaryCurrency is True
23789
+ */
23790
+ secondaryCurrency: number;
23791
+ dateFormat: components["schemas"]["DateFormatEnum"];
23779
23792
  };
23780
23793
  /** RegionSchema */
23781
23794
  RegionSchema: {
@@ -25993,8 +26006,6 @@ export interface components {
25993
26006
  code: string;
25994
26007
  /** Default */
25995
26008
  default: boolean;
25996
- /** Issecondary */
25997
- isSecondary: boolean;
25998
26009
  /** Candelete */
25999
26010
  canDelete: boolean;
26000
26011
  };
@@ -26467,7 +26478,7 @@ export interface components {
26467
26478
  /**
26468
26479
  * Id
26469
26480
  * Format: uuid
26470
- * @example d3ee8e89-f537-434a-b212-c32d888c5ded
26481
+ * @example 9e1edb7a-53f6-4a17-b458-0a3314758d63
26471
26482
  */
26472
26483
  id: string;
26473
26484
  /**
@@ -29426,7 +29437,10 @@ export interface components {
29426
29437
  CalculateItemSchema: {
29427
29438
  /**
29428
29439
  * Quantity
29429
- * @description This field is required when purchase invoice item does not have item package
29440
+ * @description
29441
+ * - Disabled when item package is selected
29442
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
29443
+ *
29430
29444
  */
29431
29445
  quantity?: number;
29432
29446
  /**
@@ -29666,8 +29680,14 @@ export interface components {
29666
29680
  * @description This field is required and visible when inventory module is not active
29667
29681
  */
29668
29682
  itemText: string | null;
29669
- /** Quantity */
29670
- quantity: number | string;
29683
+ /**
29684
+ * Quantity
29685
+ * @description
29686
+ * - Disabled when item package is selected
29687
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
29688
+ *
29689
+ */
29690
+ quantity?: number;
29671
29691
  /**
29672
29692
  * Unitofmeasure
29673
29693
  * @description This field is required and visible when inventory module is active only, to get unit of measures use route /inventory/item/{item_id}/ where field is unitOfMeasure
@@ -29761,8 +29781,14 @@ export interface components {
29761
29781
  * @description This field is required and visible when inventory module is not active
29762
29782
  */
29763
29783
  itemText: string | null;
29764
- /** Quantity */
29765
- quantity: number | string;
29784
+ /**
29785
+ * Quantity
29786
+ * @description
29787
+ * - Disabled when item package is selected
29788
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
29789
+ *
29790
+ */
29791
+ quantity?: number;
29766
29792
  /**
29767
29793
  * Unitofmeasure
29768
29794
  * @description This field is required and visible when inventory module is active only, to get unit of measures use route /inventory/item/{item_id}/ where field is unitOfMeasure
@@ -30001,8 +30027,14 @@ export interface components {
30001
30027
  * @description This field is required and visible when inventory module is not active
30002
30028
  */
30003
30029
  itemText: string | null;
30004
- /** Quantity */
30005
- quantity: number | string;
30030
+ /**
30031
+ * Quantity
30032
+ * @description
30033
+ * - Disabled when item package is selected
30034
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
30035
+ *
30036
+ */
30037
+ quantity?: number;
30006
30038
  /**
30007
30039
  * Unitofmeasure
30008
30040
  * @description This field is required and visible when inventory module is active only, to get unit of measures use route /inventory/item/{item_id}/ where field is unitOfMeasure
@@ -30080,8 +30112,14 @@ export interface components {
30080
30112
  * @description This field is required and visible when inventory module is not active
30081
30113
  */
30082
30114
  itemText: string | null;
30083
- /** Quantity */
30084
- quantity: number | string;
30115
+ /**
30116
+ * Quantity
30117
+ * @description
30118
+ * - Disabled when item package is selected
30119
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
30120
+ *
30121
+ */
30122
+ quantity?: number;
30085
30123
  /**
30086
30124
  * Unitofmeasure
30087
30125
  * @description This field is required and visible when inventory module is active only, to get unit of measures use route /inventory/item/{item_id}/ where field is unitOfMeasure
@@ -30822,8 +30860,14 @@ export interface components {
30822
30860
  * @description This field is required when the package is selected
30823
30861
  */
30824
30862
  unitPackage?: number;
30825
- /** Quantity */
30826
- quantity: number;
30863
+ /**
30864
+ * Quantity
30865
+ * @description
30866
+ * - Disabled when item package is selected
30867
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
30868
+ *
30869
+ */
30870
+ quantity?: number;
30827
30871
  /** Unitprice */
30828
30872
  unitPrice: number;
30829
30873
  /**
@@ -31055,8 +31099,14 @@ export interface components {
31055
31099
  };
31056
31100
  /** ItemTotal */
31057
31101
  ItemTotal: {
31058
- /** Quantity */
31059
- quantity: number;
31102
+ /**
31103
+ * Quantity
31104
+ * @description
31105
+ * - Disabled when item package is selected
31106
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
31107
+ *
31108
+ */
31109
+ quantity?: number;
31060
31110
  /** Unitprice */
31061
31111
  unitPrice: number;
31062
31112
  /** Unitpackage */
@@ -31333,8 +31383,14 @@ export interface components {
31333
31383
  * @description This field is required when the package is selected
31334
31384
  */
31335
31385
  unitPackage?: number;
31336
- /** Quantity */
31337
- quantity: number;
31386
+ /**
31387
+ * Quantity
31388
+ * @description
31389
+ * - Disabled when item package is selected
31390
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
31391
+ *
31392
+ */
31393
+ quantity?: number;
31338
31394
  /** Unitprice */
31339
31395
  unitPrice: number;
31340
31396
  /**
@@ -31825,7 +31881,10 @@ export interface components {
31825
31881
  purchaseInvoice: components["schemas"]["PurchaseInvoiceForReturnOrderCreateSchema"];
31826
31882
  /**
31827
31883
  * Quantity
31828
- * @description This field is required when purchase invoice item does not have item package
31884
+ * @description
31885
+ * - Disabled when item package is selected
31886
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
31887
+ *
31829
31888
  */
31830
31889
  quantity?: number;
31831
31890
  /**
@@ -32179,8 +32238,14 @@ export interface components {
32179
32238
  * @description Item name, this is required if inventory module is not enabled, otherwise should be null and should replaced by item, the label should be item only not itemName
32180
32239
  */
32181
32240
  itemName: string | null;
32182
- /** Quantity */
32183
- quantity: number;
32241
+ /**
32242
+ * Quantity
32243
+ * @description
32244
+ * - Disabled when item package is selected
32245
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
32246
+ *
32247
+ */
32248
+ quantity?: number;
32184
32249
  /**
32185
32250
  * Unitofmeasurement
32186
32251
  * @description Unit of measurement ID, this is required if inventory module is enabled, otherwise should be null, and should be disappeared in the ui, to get unit of measures use route /inventory/item/{item_id}/ and the field is unitOfMeasure
@@ -32226,8 +32291,14 @@ export interface components {
32226
32291
  * @description Item name, this is required if inventory module is not enabled, otherwise should be null and should replaced by item, the label should be item only not itemName
32227
32292
  */
32228
32293
  itemName: string | null;
32229
- /** Quantity */
32230
- quantity: number;
32294
+ /**
32295
+ * Quantity
32296
+ * @description
32297
+ * - Disabled when item package is selected
32298
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
32299
+ *
32300
+ */
32301
+ quantity?: number;
32231
32302
  /**
32232
32303
  * Unitofmeasurement
32233
32304
  * @description Unit of measurement ID, this is required if inventory module is enabled, otherwise should be null, and should be disappeared in the ui
@@ -33096,7 +33167,10 @@ export interface components {
33096
33167
  purchaseInvoice: components["schemas"]["PurchaseInvoiceForReturnInvoiceCreateSchema"];
33097
33168
  /**
33098
33169
  * Quantity
33099
- * @description This field is required when purchase invoice item does not have item package
33170
+ * @description
33171
+ * - Disabled when item package is selected
33172
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
33173
+ *
33100
33174
  */
33101
33175
  quantity?: number;
33102
33176
  /**
@@ -36422,8 +36496,14 @@ export interface components {
36422
36496
  SalesItemTotal: {
36423
36497
  /** Item */
36424
36498
  item: number;
36425
- /** Quantity */
36426
- quantity: number;
36499
+ /**
36500
+ * Quantity
36501
+ * @description
36502
+ * - Disabled when item package is selected
36503
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
36504
+ *
36505
+ */
36506
+ quantity?: number;
36427
36507
  /** Unitprice */
36428
36508
  unitPrice: number;
36429
36509
  /** Unitpackage */
@@ -36832,9 +36912,12 @@ export interface components {
36832
36912
  itemType?: components["schemas"]["NonInventoryItemType"];
36833
36913
  /**
36834
36914
  * Quantity
36835
- * @description The quantity of the items, incase of package, it should be unitPackage * quantity of the package
36915
+ * @description
36916
+ * - Disabled when item package is selected
36917
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
36918
+ *
36836
36919
  */
36837
- quantity: number;
36920
+ quantity?: number;
36838
36921
  /**
36839
36922
  * Itempackage
36840
36923
  * Format: uuid
@@ -38870,9 +38953,12 @@ export interface components {
38870
38953
  itemType?: components["schemas"]["NonInventoryItemType"];
38871
38954
  /**
38872
38955
  * Quantity
38873
- * @description The quantity of the items. For packages, it should be unitPackage * quantity of the package
38956
+ * @description
38957
+ * - Disabled when item package is selected
38958
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
38959
+ *
38874
38960
  */
38875
- quantity: number;
38961
+ quantity?: number;
38876
38962
  /**
38877
38963
  * Itempackage
38878
38964
  * Format: uuid
@@ -40294,9 +40380,12 @@ export interface components {
40294
40380
  itemType?: components["schemas"]["NonInventoryItemType"];
40295
40381
  /**
40296
40382
  * Quantity
40297
- * @description The quantity of the items. For packages, it should be unitPackage * quantity of the package
40383
+ * @description
40384
+ * - Disabled when item package is selected
40385
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
40386
+ *
40298
40387
  */
40299
- quantity: number;
40388
+ quantity?: number;
40300
40389
  /**
40301
40390
  * Itempackage
40302
40391
  * Format: uuid
@@ -40686,7 +40775,10 @@ export interface components {
40686
40775
  salesInvoice: components["schemas"]["SalesInvoiceForReturnOrderCreateSchema"];
40687
40776
  /**
40688
40777
  * Quantity
40689
- * @description This field is required when sales invoice item does not have item package
40778
+ * @description
40779
+ * - Disabled when item package is selected
40780
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
40781
+ *
40690
40782
  */
40691
40783
  quantity?: number;
40692
40784
  /**
@@ -40864,8 +40956,14 @@ export interface components {
40864
40956
  /** CalculateSalesReturnOrderItemsSchema */
40865
40957
  CalculateSalesReturnOrderItemsSchema: {
40866
40958
  salesInvoice: components["schemas"]["SalesInvoiceForReturnOrderCreateSchema"];
40867
- /** Quantity */
40868
- quantity: number;
40959
+ /**
40960
+ * Quantity
40961
+ * @description
40962
+ * - Disabled when item package is selected
40963
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
40964
+ *
40965
+ */
40966
+ quantity?: number;
40869
40967
  /** Unitpackage */
40870
40968
  unitPackage?: number | null;
40871
40969
  };
@@ -41038,7 +41136,10 @@ export interface components {
41038
41136
  salesInvoice: components["schemas"]["SalesInvoiceForReturnInvoiceCreateSchema"];
41039
41137
  /**
41040
41138
  * Quantity
41041
- * @description This field is required when sales invoice item does not have item package.
41139
+ * @description
41140
+ * - Disabled when item package is selected
41141
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
41142
+ *
41042
41143
  */
41043
41144
  quantity?: number;
41044
41145
  /**
@@ -41213,8 +41314,14 @@ export interface components {
41213
41314
  /** CalculateSalesReturnInvoiceItemsSchema */
41214
41315
  CalculateSalesReturnInvoiceItemsSchema: {
41215
41316
  salesInvoice: components["schemas"]["SalesInvoiceForReturnInvoiceCreateSchema"];
41216
- /** Quantity */
41217
- quantity: number;
41317
+ /**
41318
+ * Quantity
41319
+ * @description
41320
+ * - Disabled when item package is selected
41321
+ * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
41322
+ *
41323
+ */
41324
+ quantity?: number;
41218
41325
  /** Unitpackage */
41219
41326
  unitPackage?: number | null;
41220
41327
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.94",
3
+ "version": "1.0.96",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],