@erp-galoper/types 1.0.1334 → 1.0.1336
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.
- package/openapi.ts +13 -0
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -1845,6 +1845,7 @@ export interface paths {
|
|
|
1845
1845
|
* - To get date range that user can select use route common/allowed_date_range
|
|
1846
1846
|
* - To display accounts that should be selected in JV you should call common/posting_accounts/ with type accountType detail
|
|
1847
1847
|
* - If no account is selected all movement fields should be disabled
|
|
1848
|
+
* - JV can be cloned from Template JVS, to allow user clone from template JV use route /api/v1/accounting/journal_vouchers/?branchId={branch-id} and filter by IsTemplate equals true
|
|
1848
1849
|
*/
|
|
1849
1850
|
post: operations["accounting_journalvoucher_views_new_journal_voucher"];
|
|
1850
1851
|
delete?: never;
|
|
@@ -1964,6 +1965,7 @@ export interface paths {
|
|
|
1964
1965
|
* - internalServerError
|
|
1965
1966
|
* - To make edit on journal voucher , the document should be draft , if document is submitted should be reset to draft
|
|
1966
1967
|
* - We can only reset to draft journal voucher if status is submitted or posted
|
|
1968
|
+
* - JV can be cloned from Template JVS, to allow user clone from template JV use route /api/v1/accounting/journal_vouchers/?branchId={branch-id} and filter by IsTemplate equals true
|
|
1967
1969
|
*/
|
|
1968
1970
|
patch: operations["accounting_journalvoucher_views_edit_journal_voucher"];
|
|
1969
1971
|
trace?: never;
|
|
@@ -28112,6 +28114,8 @@ export interface components {
|
|
|
28112
28114
|
attachments: string[] | null;
|
|
28113
28115
|
reversedIn: components["schemas"]["JournalVoucherSummaryInfo"] | null;
|
|
28114
28116
|
reversalOf: components["schemas"]["JournalVoucherSummaryInfo"] | null;
|
|
28117
|
+
/** Istemplate */
|
|
28118
|
+
isTemplate: boolean;
|
|
28115
28119
|
/** Journalitems */
|
|
28116
28120
|
journalItems: components["schemas"]["RetrieveJournalVoucherItemsSchema"][];
|
|
28117
28121
|
};
|
|
@@ -28231,6 +28235,11 @@ export interface components {
|
|
|
28231
28235
|
status: components["schemas"]["InternalStatusChoices"];
|
|
28232
28236
|
/** Attachments */
|
|
28233
28237
|
attachments: string[];
|
|
28238
|
+
/**
|
|
28239
|
+
* Istemplate
|
|
28240
|
+
* @default false
|
|
28241
|
+
*/
|
|
28242
|
+
isTemplate: boolean;
|
|
28234
28243
|
/** Journalitems */
|
|
28235
28244
|
journalItems: components["schemas"]["CreateJournalVoucherItemsSchema"][];
|
|
28236
28245
|
};
|
|
@@ -28291,6 +28300,8 @@ export interface components {
|
|
|
28291
28300
|
attachments: string[] | null;
|
|
28292
28301
|
reversedIn: components["schemas"]["JournalVoucherSummaryInfo"] | null;
|
|
28293
28302
|
reversalOf: components["schemas"]["JournalVoucherSummaryInfo"] | null;
|
|
28303
|
+
/** Istemplate */
|
|
28304
|
+
isTemplate: boolean;
|
|
28294
28305
|
};
|
|
28295
28306
|
/** ReverseJournalVoucherSchema */
|
|
28296
28307
|
ReverseJournalVoucherSchema: {
|
|
@@ -28466,6 +28477,8 @@ export interface components {
|
|
|
28466
28477
|
* @default []
|
|
28467
28478
|
*/
|
|
28468
28479
|
attachments: string[];
|
|
28480
|
+
/** Istemplate */
|
|
28481
|
+
isTemplate?: boolean;
|
|
28469
28482
|
status?: components["schemas"]["InternalStatusChoices"];
|
|
28470
28483
|
journalItems: components["schemas"]["UpdateJournalItemsSchema"];
|
|
28471
28484
|
};
|