@erp-galoper/types 1.0.1709 → 1.0.1711
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 +159 -1
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -6056,6 +6056,40 @@ export interface paths {
|
|
|
6056
6056
|
patch?: never;
|
|
6057
6057
|
trace?: never;
|
|
6058
6058
|
};
|
|
6059
|
+
"/api/v1/reports/accounting/transactions": {
|
|
6060
|
+
parameters: {
|
|
6061
|
+
query?: never;
|
|
6062
|
+
header?: never;
|
|
6063
|
+
path?: never;
|
|
6064
|
+
cookie?: never;
|
|
6065
|
+
};
|
|
6066
|
+
/**
|
|
6067
|
+
* Get All Transactions
|
|
6068
|
+
* @description This endpoint return all transactions
|
|
6069
|
+
* possible Responses:
|
|
6070
|
+
* - 200: ListPostEntrySchema
|
|
6071
|
+
* - 403:
|
|
6072
|
+
* - permissionDenied
|
|
6073
|
+
* - 400:
|
|
6074
|
+
* - startDateAndEndDateAreRequiredForCustomPeriodType
|
|
6075
|
+
* - startDateShouldBeGreaterThanEndDate
|
|
6076
|
+
* - userSettingDoesNotExist
|
|
6077
|
+
* - invalidFilterFormat
|
|
6078
|
+
* - paginationError
|
|
6079
|
+
* - 500:
|
|
6080
|
+
* - internalServerError
|
|
6081
|
+
* - Permission Key:
|
|
6082
|
+
* transactions_report : [ view ]
|
|
6083
|
+
*/
|
|
6084
|
+
get: operations["reports_accounting_reports_get_all_transactions"];
|
|
6085
|
+
put?: never;
|
|
6086
|
+
post?: never;
|
|
6087
|
+
delete?: never;
|
|
6088
|
+
options?: never;
|
|
6089
|
+
head?: never;
|
|
6090
|
+
patch?: never;
|
|
6091
|
+
trace?: never;
|
|
6092
|
+
};
|
|
6059
6093
|
"/api/v1/reports/accounting/balance-sheet/": {
|
|
6060
6094
|
parameters: {
|
|
6061
6095
|
query?: never;
|
|
@@ -29147,7 +29181,7 @@ export interface components {
|
|
|
29147
29181
|
* TransactionTypesSchema
|
|
29148
29182
|
* @enum {string}
|
|
29149
29183
|
*/
|
|
29150
|
-
TransactionTypesSchema: "journalVoucher" | "salesInvoice" | "
|
|
29184
|
+
TransactionTypesSchema: "journalVoucher" | "salesInvoice" | "downPaymentItem" | "receiptVoucher" | "salesReturnInvoice" | "returnCreditNote" | "purchaseInvoice" | "paymentVoucher" | "purchaseReturnInvoice" | "returnDebitNote" | "advancePaymentItems" | "Expense" | "openingBalance" | "posInvoice" | "posSession" | "salesCreditNote" | "purchaseCreditNote" | "expenseVoucher" | "closingCommission" | "commissionPayout" | "salesRefundVoucherItem" | "refundVoucherItem" | "receiptVoucherItem" | "paymentVoucherItem" | "expensePaymentVoucherItem";
|
|
29151
29185
|
/**
|
|
29152
29186
|
* DocumentType
|
|
29153
29187
|
* @enum {string}
|
|
@@ -33702,6 +33736,66 @@ export interface components {
|
|
|
33702
33736
|
*/
|
|
33703
33737
|
children: components["schemas"]["CashFlowSchema"][] | null;
|
|
33704
33738
|
};
|
|
33739
|
+
/** AccountSchema */
|
|
33740
|
+
AccountSchema: {
|
|
33741
|
+
/** Id */
|
|
33742
|
+
id: number | string;
|
|
33743
|
+
/** Name */
|
|
33744
|
+
name: string;
|
|
33745
|
+
/** Accountnumber */
|
|
33746
|
+
accountNumber: string;
|
|
33747
|
+
accountType: components["schemas"]["AccountModelType"];
|
|
33748
|
+
/** Type */
|
|
33749
|
+
type: string;
|
|
33750
|
+
};
|
|
33751
|
+
/** DocumentObjectSchema */
|
|
33752
|
+
DocumentObjectSchema: {
|
|
33753
|
+
/**
|
|
33754
|
+
* Id
|
|
33755
|
+
* Format: uuid
|
|
33756
|
+
*/
|
|
33757
|
+
id: string;
|
|
33758
|
+
/** Name */
|
|
33759
|
+
name?: string | null;
|
|
33760
|
+
/** Serialnumber */
|
|
33761
|
+
serialNumber?: string | null;
|
|
33762
|
+
/** Description */
|
|
33763
|
+
description?: string | null;
|
|
33764
|
+
department?: components["schemas"]["DepartmentCommonSchema"] | null;
|
|
33765
|
+
project?: components["schemas"]["ProjectSummaryInfo"] | null;
|
|
33766
|
+
type?: components["schemas"]["TransactionTypesSchema"] | null;
|
|
33767
|
+
};
|
|
33768
|
+
/** ListPostEntrySchema */
|
|
33769
|
+
ListPostEntrySchema: {
|
|
33770
|
+
info: components["schemas"]["PageInfoSchema"];
|
|
33771
|
+
/** Results */
|
|
33772
|
+
results: components["schemas"]["PostEntrySchema"][];
|
|
33773
|
+
};
|
|
33774
|
+
/** PostEntrySchema */
|
|
33775
|
+
PostEntrySchema: {
|
|
33776
|
+
/**
|
|
33777
|
+
* Date
|
|
33778
|
+
* Format: date
|
|
33779
|
+
*/
|
|
33780
|
+
date: string;
|
|
33781
|
+
/** Time */
|
|
33782
|
+
time?: string | null;
|
|
33783
|
+
state: components["schemas"]["PostEntryState"];
|
|
33784
|
+
branch: components["schemas"]["BranchSummaryInfo"];
|
|
33785
|
+
account: components["schemas"]["AccountSchema"];
|
|
33786
|
+
/** Amount */
|
|
33787
|
+
amount: number | string | null;
|
|
33788
|
+
/** Companyamount */
|
|
33789
|
+
companyAmount: number | string | null;
|
|
33790
|
+
/** Usdamount */
|
|
33791
|
+
usdAmount: number | string | null;
|
|
33792
|
+
document: components["schemas"]["DocumentObjectSchema"];
|
|
33793
|
+
};
|
|
33794
|
+
/**
|
|
33795
|
+
* PostEntryState
|
|
33796
|
+
* @enum {string}
|
|
33797
|
+
*/
|
|
33798
|
+
PostEntryState: "active" | "draft" | "reverse" | "canceled";
|
|
33705
33799
|
/** BalanceSheetSchema */
|
|
33706
33800
|
BalanceSheetSchema: {
|
|
33707
33801
|
/** Title */
|
|
@@ -73114,6 +73208,70 @@ export interface operations {
|
|
|
73114
73208
|
};
|
|
73115
73209
|
};
|
|
73116
73210
|
};
|
|
73211
|
+
reports_accounting_reports_get_all_transactions: {
|
|
73212
|
+
parameters: {
|
|
73213
|
+
query?: {
|
|
73214
|
+
branches?: number[] | null;
|
|
73215
|
+
/** @description by default periodType is set to date filtration in user settings. Period type: thisMonth, thisYear, lastMonth, custom, … */
|
|
73216
|
+
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "today" | "all";
|
|
73217
|
+
/** @description Start date for custom range (YYYY-MM-DD) */
|
|
73218
|
+
startDate?: string | null;
|
|
73219
|
+
/** @description End date for custom range (YYYY-MM-DD) */
|
|
73220
|
+
endDate?: string | null;
|
|
73221
|
+
};
|
|
73222
|
+
header?: never;
|
|
73223
|
+
path?: never;
|
|
73224
|
+
cookie?: never;
|
|
73225
|
+
};
|
|
73226
|
+
requestBody?: never;
|
|
73227
|
+
responses: {
|
|
73228
|
+
/** @description OK */
|
|
73229
|
+
200: {
|
|
73230
|
+
headers: {
|
|
73231
|
+
[name: string]: unknown;
|
|
73232
|
+
};
|
|
73233
|
+
content: {
|
|
73234
|
+
"application/json": components["schemas"]["ListPostEntrySchema"];
|
|
73235
|
+
};
|
|
73236
|
+
};
|
|
73237
|
+
/** @description Bad Request */
|
|
73238
|
+
400: {
|
|
73239
|
+
headers: {
|
|
73240
|
+
[name: string]: unknown;
|
|
73241
|
+
};
|
|
73242
|
+
content: {
|
|
73243
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
73244
|
+
};
|
|
73245
|
+
};
|
|
73246
|
+
/** @description Forbidden */
|
|
73247
|
+
403: {
|
|
73248
|
+
headers: {
|
|
73249
|
+
[name: string]: unknown;
|
|
73250
|
+
};
|
|
73251
|
+
content: {
|
|
73252
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
73253
|
+
};
|
|
73254
|
+
};
|
|
73255
|
+
/** @description Not Found */
|
|
73256
|
+
404: {
|
|
73257
|
+
headers: {
|
|
73258
|
+
[name: string]: unknown;
|
|
73259
|
+
};
|
|
73260
|
+
content: {
|
|
73261
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
73262
|
+
};
|
|
73263
|
+
};
|
|
73264
|
+
/** @description Internal Server Error */
|
|
73265
|
+
500: {
|
|
73266
|
+
headers: {
|
|
73267
|
+
[name: string]: unknown;
|
|
73268
|
+
};
|
|
73269
|
+
content: {
|
|
73270
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
73271
|
+
};
|
|
73272
|
+
};
|
|
73273
|
+
};
|
|
73274
|
+
};
|
|
73117
73275
|
reports_views_balance_sheet: {
|
|
73118
73276
|
parameters: {
|
|
73119
73277
|
query: {
|