@erp-galoper/types 1.0.1716 → 1.0.1718
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 +91 -1
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -2505,6 +2505,23 @@ export interface paths {
|
|
|
2505
2505
|
patch?: never;
|
|
2506
2506
|
trace?: never;
|
|
2507
2507
|
};
|
|
2508
|
+
"/api/v1/common/media": {
|
|
2509
|
+
parameters: {
|
|
2510
|
+
query?: never;
|
|
2511
|
+
header?: never;
|
|
2512
|
+
path?: never;
|
|
2513
|
+
cookie?: never;
|
|
2514
|
+
};
|
|
2515
|
+
/** List Media */
|
|
2516
|
+
get: operations["common_views_list_media"];
|
|
2517
|
+
put?: never;
|
|
2518
|
+
post?: never;
|
|
2519
|
+
delete?: never;
|
|
2520
|
+
options?: never;
|
|
2521
|
+
head?: never;
|
|
2522
|
+
patch?: never;
|
|
2523
|
+
trace?: never;
|
|
2524
|
+
};
|
|
2508
2525
|
"/api/v1/common/allowed_date_range/": {
|
|
2509
2526
|
parameters: {
|
|
2510
2527
|
query?: never;
|
|
@@ -29210,7 +29227,7 @@ export interface components {
|
|
|
29210
29227
|
* FileType
|
|
29211
29228
|
* @enum {string}
|
|
29212
29229
|
*/
|
|
29213
|
-
FileType: "item" | "company" | "user" | "supplier" | "customer" | "itemCategory" | "journalVoucher" | "supplierPriceList" | "requisition" | "purchaseQuotation" | "purchaseOrder" | "purchaseReturnOrder" | "advancePayment" | "requestForQuotation" | "purchaseInvoice" | "purchaseReturnInvoice" | "salesPriceList" | "closingCommission" | "commissionStructure" | "commissionPayout" | "offerAndPromotion" | "refundVoucher" | "paymentVoucher" | "purchaseCreditNote" | "downPayment" | "receiptVoucher" | "salesPerson" | "salesQuotation" | "salesOrder" | "salesReturnOrder" | "salesInvoice" | "salesReturnInvoice" | "salesRefundVoucher" | "
|
|
29230
|
+
FileType: "item" | "company" | "user" | "supplier" | "customer" | "itemCategory" | "journalVoucher" | "supplierPriceList" | "requisition" | "purchaseQuotation" | "purchaseOrder" | "purchaseReturnOrder" | "advancePayment" | "requestForQuotation" | "purchaseInvoice" | "purchaseReturnInvoice" | "salesPriceList" | "closingCommission" | "commissionStructure" | "commissionPayout" | "offerAndPromotion" | "refundVoucher" | "paymentVoucher" | "purchaseCreditNote" | "downPayment" | "receiptVoucher" | "salesPerson" | "salesQuotation" | "salesOrder" | "salesReturnOrder" | "salesInvoice" | "salesReturnInvoice" | "salesRefundVoucher" | "goodsReceiptNote" | "goodsDeliveryNote" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "customFieldValue" | "transferRequest" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "task" | "event" | "whatsappTemplate";
|
|
29214
29231
|
/** currencyCodeOut */
|
|
29215
29232
|
currencyCodeOut: {
|
|
29216
29233
|
/** Currencycode */
|
|
@@ -29442,6 +29459,33 @@ export interface components {
|
|
|
29442
29459
|
*/
|
|
29443
29460
|
documentContentTypes?: components["schemas"]["CombinedModelName"][];
|
|
29444
29461
|
};
|
|
29462
|
+
/**
|
|
29463
|
+
* MimeType
|
|
29464
|
+
* @enum {string}
|
|
29465
|
+
*/
|
|
29466
|
+
MimeType: "image/webp" | "image/jpg" | "image/jpeg" | "image/png" | "application/pdf";
|
|
29467
|
+
/** MediaListResponse */
|
|
29468
|
+
MediaListResponse: {
|
|
29469
|
+
info: components["schemas"]["PageInfoSchema"];
|
|
29470
|
+
/** Results */
|
|
29471
|
+
results: components["schemas"]["MediaSchema"][];
|
|
29472
|
+
};
|
|
29473
|
+
/** MediaSchema */
|
|
29474
|
+
MediaSchema: {
|
|
29475
|
+
/**
|
|
29476
|
+
* Id
|
|
29477
|
+
* Format: uuid
|
|
29478
|
+
*/
|
|
29479
|
+
id: string;
|
|
29480
|
+
fileType: components["schemas"]["FileType"];
|
|
29481
|
+
/** Objectid */
|
|
29482
|
+
objectId: string;
|
|
29483
|
+
/** File */
|
|
29484
|
+
file: string;
|
|
29485
|
+
mimeType: components["schemas"]["MimeType"];
|
|
29486
|
+
/** Isdefault */
|
|
29487
|
+
isDefault: boolean;
|
|
29488
|
+
};
|
|
29445
29489
|
/**
|
|
29446
29490
|
* ActionSchema
|
|
29447
29491
|
* @enum {string}
|
|
@@ -38241,6 +38285,8 @@ export interface components {
|
|
|
38241
38285
|
};
|
|
38242
38286
|
/** CreateClosingSchema */
|
|
38243
38287
|
CreateClosingSchema: {
|
|
38288
|
+
/** Branches */
|
|
38289
|
+
branches: number[];
|
|
38244
38290
|
/** Year */
|
|
38245
38291
|
year: number;
|
|
38246
38292
|
};
|
|
@@ -65263,6 +65309,49 @@ export interface operations {
|
|
|
65263
65309
|
};
|
|
65264
65310
|
};
|
|
65265
65311
|
};
|
|
65312
|
+
common_views_list_media: {
|
|
65313
|
+
parameters: {
|
|
65314
|
+
query?: {
|
|
65315
|
+
/** @description Filter by MIME types e.g. image/webp */
|
|
65316
|
+
mime_types?: components["schemas"]["MimeType"][] | null;
|
|
65317
|
+
/** @description Filter by related object type e.g. item, company */
|
|
65318
|
+
file_types?: components["schemas"]["FileType"][] | null;
|
|
65319
|
+
};
|
|
65320
|
+
header?: never;
|
|
65321
|
+
path?: never;
|
|
65322
|
+
cookie?: never;
|
|
65323
|
+
};
|
|
65324
|
+
requestBody?: never;
|
|
65325
|
+
responses: {
|
|
65326
|
+
/** @description OK */
|
|
65327
|
+
200: {
|
|
65328
|
+
headers: {
|
|
65329
|
+
[name: string]: unknown;
|
|
65330
|
+
};
|
|
65331
|
+
content: {
|
|
65332
|
+
"application/json": components["schemas"]["MediaListResponse"];
|
|
65333
|
+
};
|
|
65334
|
+
};
|
|
65335
|
+
/** @description Bad Request */
|
|
65336
|
+
400: {
|
|
65337
|
+
headers: {
|
|
65338
|
+
[name: string]: unknown;
|
|
65339
|
+
};
|
|
65340
|
+
content: {
|
|
65341
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
65342
|
+
};
|
|
65343
|
+
};
|
|
65344
|
+
/** @description Internal Server Error */
|
|
65345
|
+
500: {
|
|
65346
|
+
headers: {
|
|
65347
|
+
[name: string]: unknown;
|
|
65348
|
+
};
|
|
65349
|
+
content: {
|
|
65350
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
65351
|
+
};
|
|
65352
|
+
};
|
|
65353
|
+
};
|
|
65354
|
+
};
|
|
65266
65355
|
common_shared_views_get_allowed_date_range: {
|
|
65267
65356
|
parameters: {
|
|
65268
65357
|
query: {
|
|
@@ -72946,6 +73035,7 @@ export interface operations {
|
|
|
72946
73035
|
currencies: (string | number)[];
|
|
72947
73036
|
/** @description filter by account number or name */
|
|
72948
73037
|
filterByAccountNumberOrName?: string;
|
|
73038
|
+
excludeYearEndClosing?: boolean;
|
|
72949
73039
|
};
|
|
72950
73040
|
header?: never;
|
|
72951
73041
|
path?: never;
|