@erp-galoper/types 1.0.44 → 1.0.46

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 +135 -9
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -10266,6 +10266,33 @@ export interface paths {
10266
10266
  patch?: never;
10267
10267
  trace?: never;
10268
10268
  };
10269
+ "/api/v1/purchase/orders/{id}/export-pdf/": {
10270
+ parameters: {
10271
+ query?: never;
10272
+ header?: never;
10273
+ path?: never;
10274
+ cookie?: never;
10275
+ };
10276
+ /**
10277
+ * Export Purchase Order Pdf
10278
+ * @description Endpoint for exporting a purchase order to PDF
10279
+ * Responses:
10280
+ * - 200: purchaseOrderExported
10281
+ * - 403: permissionDenied
10282
+ * - 404: purchaseOrderDoesNotExist
10283
+ * - 500: internalServerError
10284
+ * - Permission Key :
10285
+ * - purchaseorder : [export]
10286
+ */
10287
+ get: operations["purchase_order_views_export_purchase_order_pdf"];
10288
+ put?: never;
10289
+ post?: never;
10290
+ delete?: never;
10291
+ options?: never;
10292
+ head?: never;
10293
+ patch?: never;
10294
+ trace?: never;
10295
+ };
10269
10296
  "/api/v1/purchase/return-orders/": {
10270
10297
  parameters: {
10271
10298
  query?: never;
@@ -26115,7 +26142,7 @@ export interface components {
26115
26142
  /**
26116
26143
  * Id
26117
26144
  * Format: uuid
26118
- * @example f70e759c-32ea-4525-9719-4a919704b3bb
26145
+ * @example c8242f08-8893-48a5-b50c-591c7bd4cd1b
26119
26146
  */
26120
26147
  id: string;
26121
26148
  /**
@@ -40850,12 +40877,42 @@ export interface components {
40850
40877
  */
40851
40878
  remaining: string;
40852
40879
  };
40880
+ /** RefundableReturnPackagesWithRemaining */
40881
+ RefundableReturnPackagesWithRemaining: {
40882
+ /**
40883
+ * Id
40884
+ * Format: uuid
40885
+ */
40886
+ id: string;
40887
+ /**
40888
+ * Total
40889
+ * @description field is number
40890
+ */
40891
+ total: string;
40892
+ /**
40893
+ * Companytotal
40894
+ * @description field is number
40895
+ */
40896
+ companyTotal: string;
40897
+ /**
40898
+ * Secondarytotal
40899
+ * @description field is number
40900
+ */
40901
+ secondaryTotal: string;
40902
+ /**
40903
+ * Remaining
40904
+ * @description field is number
40905
+ */
40906
+ remaining: string;
40907
+ };
40853
40908
  /** SalesRefundableDocumentsResponse */
40854
40909
  SalesRefundableDocumentsResponse: {
40855
40910
  /** Downpayments */
40856
40911
  downPayments: components["schemas"]["RefundableDownPaymentWithRemaining"][];
40857
40912
  /** Returninvoices */
40858
40913
  returnInvoices: components["schemas"]["SalesRefundableReturnInvoiceWithRemaining"][];
40914
+ /** Returnreturnablepackages */
40915
+ returnReturnablePackages: components["schemas"]["RefundableReturnPackagesWithRemaining"][];
40859
40916
  };
40860
40917
  /** SalesRefundableReturnInvoiceWithRemaining */
40861
40918
  SalesRefundableReturnInvoiceWithRemaining: {
@@ -41098,6 +41155,7 @@ export interface components {
41098
41155
  secondaryRate: string;
41099
41156
  downPayment: components["schemas"]["DocumentCommonSchema"] | null;
41100
41157
  refundReturnInvoice: components["schemas"]["DocumentCommonSchema"] | null;
41158
+ returnReturnablePackage: components["schemas"]["DocumentCommonSchema"] | null;
41101
41159
  };
41102
41160
  /** SalesRefundVoucherResponse */
41103
41161
  SalesRefundVoucherResponse: {
@@ -41249,6 +41307,11 @@ export interface components {
41249
41307
  * @description get return invoices from /v1/sales/refund-vouchers/refundable-documents/?customer={customer-id}
41250
41308
  */
41251
41309
  returnInvoice?: string;
41310
+ /**
41311
+ * Returnreturnablepackage
41312
+ * Format: uuid
41313
+ */
41314
+ returnReturnablePackage: string;
41252
41315
  };
41253
41316
  /** SalesRefundVoucherDetailSchema */
41254
41317
  SalesRefundVoucherDetailSchema: {
@@ -41407,6 +41470,11 @@ export interface components {
41407
41470
  * @description get return invoices from /v1/sales/refund-vouchers/refundable-documents/?customer={customer-id}
41408
41471
  */
41409
41472
  returnInvoice?: string;
41473
+ /**
41474
+ * Returnreturnablepackage
41475
+ * Format: uuid
41476
+ */
41477
+ returnReturnablePackage: string;
41410
41478
  /**
41411
41479
  * Id
41412
41480
  * Format: uuid
@@ -53886,7 +53954,7 @@ export interface operations {
53886
53954
  /** @description Page size */
53887
53955
  pageSize?: number;
53888
53956
  /** @description currencies ids, if user selected accountCurrency then you should send accountCurrency in list */
53889
- currencies: (number | string)[];
53957
+ currencies: (string | number)[];
53890
53958
  /** @description filter by account number or name */
53891
53959
  filter_by_account_number_or_name?: string;
53892
53960
  };
@@ -53953,7 +54021,7 @@ export interface operations {
53953
54021
  /** @description Page size */
53954
54022
  pageSize?: number;
53955
54023
  /** @description currencies ids, if user selected accountCurrency then you should send accountCurrency in list */
53956
- currencies: (number | string)[];
54024
+ currencies: (string | number)[];
53957
54025
  /** @description filter by account number or name */
53958
54026
  filter_by_account_number_or_name?: string;
53959
54027
  };
@@ -54021,7 +54089,7 @@ export interface operations {
54021
54089
  /** @description Page size */
54022
54090
  pageSize?: number;
54023
54091
  /** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
54024
- currencies: (number | string)[];
54092
+ currencies: (string | number)[];
54025
54093
  };
54026
54094
  header?: never;
54027
54095
  path?: never;
@@ -54085,7 +54153,7 @@ export interface operations {
54085
54153
  /** @description Page size */
54086
54154
  pageSize?: number;
54087
54155
  /** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
54088
- currencies: (number | string)[];
54156
+ currencies: (string | number)[];
54089
54157
  /** @description filter by account number or name */
54090
54158
  filter_by_account_number_or_name?: string;
54091
54159
  };
@@ -54144,7 +54212,7 @@ export interface operations {
54144
54212
  accountLevel: ("General" | "Detail")[];
54145
54213
  mergeLedger?: boolean;
54146
54214
  /** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
54147
- currencies: (number | string)[];
54215
+ currencies: (string | number)[];
54148
54216
  /** @description filter by account number or name */
54149
54217
  filterByAccountNumberOrName?: string;
54150
54218
  };
@@ -54185,7 +54253,7 @@ export interface operations {
54185
54253
  accountLevel?: ("General" | "Detail")[];
54186
54254
  mergeLedger?: boolean;
54187
54255
  /** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
54188
- currencies: (number | string)[];
54256
+ currencies: (string | number)[];
54189
54257
  /** @description filter by account number or name */
54190
54258
  filter_by_account_number_or_name?: string;
54191
54259
  };
@@ -54244,7 +54312,7 @@ export interface operations {
54244
54312
  /** @description Page size */
54245
54313
  pageSize?: number;
54246
54314
  /** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
54247
- currencies: (number | string)[];
54315
+ currencies: (string | number)[];
54248
54316
  };
54249
54317
  header?: never;
54250
54318
  path?: never;
@@ -54308,7 +54376,7 @@ export interface operations {
54308
54376
  /** @description Page size */
54309
54377
  pageSize?: number;
54310
54378
  /** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
54311
- currencies: (number | string)[];
54379
+ currencies: (string | number)[];
54312
54380
  /** @description filter by account number or name */
54313
54381
  filter_by_account_number_or_name?: string;
54314
54382
  };
@@ -64194,6 +64262,64 @@ export interface operations {
64194
64262
  };
64195
64263
  };
64196
64264
  };
64265
+ purchase_order_views_export_purchase_order_pdf: {
64266
+ parameters: {
64267
+ query?: never;
64268
+ header?: never;
64269
+ path: {
64270
+ id: string;
64271
+ };
64272
+ cookie?: never;
64273
+ };
64274
+ requestBody?: never;
64275
+ responses: {
64276
+ /** @description OK */
64277
+ 200: {
64278
+ headers: {
64279
+ [name: string]: unknown;
64280
+ };
64281
+ content: {
64282
+ "application/json": string;
64283
+ };
64284
+ };
64285
+ /** @description Bad Request */
64286
+ 400: {
64287
+ headers: {
64288
+ [name: string]: unknown;
64289
+ };
64290
+ content: {
64291
+ "application/json": components["schemas"]["ErrorMessages"];
64292
+ };
64293
+ };
64294
+ /** @description Forbidden */
64295
+ 403: {
64296
+ headers: {
64297
+ [name: string]: unknown;
64298
+ };
64299
+ content: {
64300
+ "application/json": components["schemas"]["MessageWithCode"];
64301
+ };
64302
+ };
64303
+ /** @description Not Found */
64304
+ 404: {
64305
+ headers: {
64306
+ [name: string]: unknown;
64307
+ };
64308
+ content: {
64309
+ "application/json": components["schemas"]["MessageWithCode"];
64310
+ };
64311
+ };
64312
+ /** @description Internal Server Error */
64313
+ 500: {
64314
+ headers: {
64315
+ [name: string]: unknown;
64316
+ };
64317
+ content: {
64318
+ "application/json": components["schemas"]["MessageWithCode"];
64319
+ };
64320
+ };
64321
+ };
64322
+ };
64197
64323
  purchase_return_order_views_list_purchase_return_orders: {
64198
64324
  parameters: {
64199
64325
  query: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.44",
3
+ "version": "1.0.46",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],