@erp-galoper/main-package 1.0.224 → 1.0.226

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 +24 -14
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -1687,8 +1687,8 @@ export interface paths {
1687
1687
  * - cantMakeActionOnLockedDocument
1688
1688
  * - 500:
1689
1689
  * - internalServerError
1690
- * - To make edit on journal voucher , the document should be draft , if document is active should be reset to draft
1691
- * - We can only reset to draft journal voucher if status is active or posted
1690
+ * - To make edit on journal voucher , the document should be draft , if document is submitted should be reset to draft
1691
+ * - We can only reset to draft journal voucher if status is submitted or posted
1692
1692
  */
1693
1693
  patch: operations["accounting_journalvoucher_views_edit_journal_voucher"];
1694
1694
  trace?: never;
@@ -2154,7 +2154,7 @@ export interface paths {
2154
2154
  * - noBranchAccess
2155
2155
  * - noModuleAccess
2156
2156
  * - cantMakeActionOnClosingJv
2157
- * - statusShouldBeActiveOrPosted
2157
+ * - statusShouldBeSubmittedOrPosted
2158
2158
  * - cantMakeActionOnLockedDocument
2159
2159
  * - 500:
2160
2160
  * - internalServerError
@@ -2162,7 +2162,7 @@ export interface paths {
2162
2162
  * - journalvoucher : [resettodraft]
2163
2163
  * - This function is used across multiple documents in journal voucher permission is journalvoucher : [resettodraft]
2164
2164
  * - Document Type should be journalVoucher when reset to draft journal voucher
2165
- * - Reset to draft is done on posted or active document
2165
+ * - Reset to draft is done on posted or submitted document
2166
2166
  */
2167
2167
  post: operations["common_shared_views_reset_to_draft_document"];
2168
2168
  delete?: never;
@@ -2182,7 +2182,7 @@ export interface paths {
2182
2182
  put?: never;
2183
2183
  /**
2184
2184
  * Toggle Activation Document
2185
- * @description Endpoint for active / in active document
2185
+ * @description Endpoint for submitted / draft
2186
2186
  * Possible Responses:
2187
2187
  * - 400:
2188
2188
  * - journalVoucherDoesNotExist
@@ -2195,7 +2195,7 @@ export interface paths {
2195
2195
  * - noBranchAccess
2196
2196
  * - noModuleAccess
2197
2197
  * - cantMakeActionOnClosingJv
2198
- * - journalVoucherShouldBeDraftOrActive
2198
+ * - journalVoucherShouldBeDraftOrSubmitted
2199
2199
  * - cantMakeActionOnLockedDocument
2200
2200
  * - 500:
2201
2201
  * - internalServerError
@@ -3251,6 +3251,7 @@ export interface paths {
3251
3251
  * - permissionDenied
3252
3252
  * - 400 :
3253
3253
  * - cantBeDeleted
3254
+ * - cantMakeActionOnDefaultUnitOfMeasure
3254
3255
  * - 500:
3255
3256
  * - internalServerError
3256
3257
  */
@@ -3266,6 +3267,7 @@ export interface paths {
3266
3267
  * - 400:
3267
3268
  * - noChangesDetected
3268
3269
  * - nameConflict
3270
+ * - cantMakeActionOnDefaultUnitOfMeasure
3269
3271
  * - 403:
3270
3272
  * - permissionDenied
3271
3273
  * -404:
@@ -12044,6 +12046,11 @@ export interface components {
12044
12046
  /** Usdcredit */
12045
12047
  usdCredit: number | string;
12046
12048
  };
12049
+ /**
12050
+ * InternalStatusChoices
12051
+ * @enum {string}
12052
+ */
12053
+ InternalStatusChoices: "draft" | "submitted";
12047
12054
  /**
12048
12055
  * JournalEntryType
12049
12056
  * @enum {string}
@@ -12067,17 +12074,12 @@ export interface components {
12067
12074
  /** Projectid */
12068
12075
  projectId: number | null;
12069
12076
  type: components["schemas"]["JournalEntryType"];
12070
- status: components["schemas"]["StatusChoicesInMutation"];
12077
+ status: components["schemas"]["InternalStatusChoices"];
12071
12078
  /** Attachments */
12072
12079
  attachments: string[];
12073
12080
  /** Journalitems */
12074
12081
  journalItems: components["schemas"]["CreateJournalVoucherItemsSchema"][];
12075
12082
  };
12076
- /**
12077
- * StatusChoicesInMutation
12078
- * @enum {string}
12079
- */
12080
- StatusChoicesInMutation: "draft" | "active";
12081
12083
  /**
12082
12084
  * PeriodType
12083
12085
  * @enum {string}
@@ -12251,7 +12253,7 @@ export interface components {
12251
12253
  * @default []
12252
12254
  */
12253
12255
  attachments: string[];
12254
- status?: components["schemas"]["StatusChoicesInMutation"];
12256
+ status?: components["schemas"]["InternalStatusChoices"];
12255
12257
  journalItems: components["schemas"]["UpdateJournalItemsSchema"];
12256
12258
  };
12257
12259
  /** ListRegions */
@@ -13151,6 +13153,8 @@ export interface components {
13151
13153
  id: number;
13152
13154
  /** Name */
13153
13155
  name: string;
13156
+ /** Default */
13157
+ default: boolean;
13154
13158
  /** Candelete */
13155
13159
  canDelete: boolean;
13156
13160
  };
@@ -13169,6 +13173,8 @@ export interface components {
13169
13173
  id: number;
13170
13174
  /** Name */
13171
13175
  name: string;
13176
+ /** Default */
13177
+ default: boolean;
13172
13178
  };
13173
13179
  /** CreateTagSchema */
13174
13180
  CreateTagSchema: {
@@ -13431,6 +13437,8 @@ export interface components {
13431
13437
  * Format: time
13432
13438
  */
13433
13439
  endBusinessHour: string;
13440
+ /** Allowratechange */
13441
+ allowRateChange: boolean;
13434
13442
  };
13435
13443
  /**
13436
13444
  * RoundingTypes
@@ -13448,6 +13456,8 @@ export interface components {
13448
13456
  startBusinessHour?: string | null;
13449
13457
  /** Endbusinesshour */
13450
13458
  endBusinessHour?: string | null;
13459
+ /** Allowratechange */
13460
+ allowRateChange: boolean;
13451
13461
  };
13452
13462
  /** RegionSchema */
13453
13463
  RegionSchema: {
@@ -15923,7 +15933,7 @@ export interface components {
15923
15933
  /**
15924
15934
  * Id
15925
15935
  * Format: uuid
15926
- * @example d03ccf5f-231b-4486-bf7c-80256c20d0cb
15936
+ * @example 323490b6-bfe6-44b8-891c-52fda465c436
15927
15937
  */
15928
15938
  id: string;
15929
15939
  /**
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@erp-galoper/main-package",
3
- "version": "1.0.224",
3
+ "version": "1.0.226",
4
4
  "main": "openapi.ts"
5
5
  }