@erp-galoper/main-package 1.0.225 → 1.0.227

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/openapi.ts +14 -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
@@ -12046,6 +12046,11 @@ export interface components {
12046
12046
  /** Usdcredit */
12047
12047
  usdCredit: number | string;
12048
12048
  };
12049
+ /**
12050
+ * InternalStatusChoices
12051
+ * @enum {string}
12052
+ */
12053
+ InternalStatusChoices: "draft" | "submitted";
12049
12054
  /**
12050
12055
  * JournalEntryType
12051
12056
  * @enum {string}
@@ -12069,17 +12074,12 @@ export interface components {
12069
12074
  /** Projectid */
12070
12075
  projectId: number | null;
12071
12076
  type: components["schemas"]["JournalEntryType"];
12072
- status: components["schemas"]["StatusChoicesInMutation"];
12077
+ status: components["schemas"]["InternalStatusChoices"];
12073
12078
  /** Attachments */
12074
12079
  attachments: string[];
12075
12080
  /** Journalitems */
12076
12081
  journalItems: components["schemas"]["CreateJournalVoucherItemsSchema"][];
12077
12082
  };
12078
- /**
12079
- * StatusChoicesInMutation
12080
- * @enum {string}
12081
- */
12082
- StatusChoicesInMutation: "draft" | "active";
12083
12083
  /**
12084
12084
  * PeriodType
12085
12085
  * @enum {string}
@@ -12253,7 +12253,7 @@ export interface components {
12253
12253
  * @default []
12254
12254
  */
12255
12255
  attachments: string[];
12256
- status?: components["schemas"]["StatusChoicesInMutation"];
12256
+ status?: components["schemas"]["InternalStatusChoices"];
12257
12257
  journalItems: components["schemas"]["UpdateJournalItemsSchema"];
12258
12258
  };
12259
12259
  /** ListRegions */
@@ -15933,7 +15933,7 @@ export interface components {
15933
15933
  /**
15934
15934
  * Id
15935
15935
  * Format: uuid
15936
- * @example f3aa8670-674b-4766-8cf5-bd5cb8ba8719
15936
+ * @example f8e0211a-d265-44c4-8526-71918ef13f80
15937
15937
  */
15938
15938
  id: string;
15939
15939
  /**
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@erp-galoper/main-package",
3
- "version": "1.0.225",
3
+ "version": "1.0.227",
4
4
  "main": "openapi.ts"
5
5
  }