@erp-galoper/types 1.0.644 → 1.0.645

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 +16 -106
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -9124,39 +9124,6 @@ export interface paths {
9124
9124
  patch?: never;
9125
9125
  trace?: never;
9126
9126
  };
9127
- "/api/v1/purchase/requisitions/{id}/submit/": {
9128
- parameters: {
9129
- query?: never;
9130
- header?: never;
9131
- path?: never;
9132
- cookie?: never;
9133
- };
9134
- get?: never;
9135
- put?: never;
9136
- /**
9137
- * Submit Requisition
9138
- * @description Endpoint for submit requisition
9139
- * Possible Responses:
9140
- * - 404:
9141
- * - requisitionDoesNotExist
9142
- * - 403:
9143
- * - permissionDenied
9144
- * - noBranchAccess
9145
- * - noModuleAccess
9146
- * - requisitionShouldBeDraft
9147
- * - cantMakeActionOnLockedDocument
9148
- * - 500:
9149
- * - internalServerError
9150
- * - permission key:
9151
- * - requisition : [ add ]
9152
- */
9153
- post: operations["purchase_requisition_views_submit_requisition"];
9154
- delete?: never;
9155
- options?: never;
9156
- head?: never;
9157
- patch?: never;
9158
- trace?: never;
9159
- };
9160
9127
  "/api/v1/purchase/requisitions/{id}/export-pdf/": {
9161
9128
  parameters: {
9162
9129
  query?: never;
@@ -27729,7 +27696,7 @@ export interface components {
27729
27696
  /**
27730
27697
  * Id
27731
27698
  * Format: uuid
27732
- * @example e38bb35e-b535-49bd-8e44-38c18b75dfb4
27699
+ * @example a41a14e0-cf04-4e5b-b88a-80071c04a328
27733
27700
  */
27734
27701
  id: string;
27735
27702
  /**
@@ -31743,11 +31710,11 @@ export interface components {
31743
31710
  */
31744
31711
  quantity?: number;
31745
31712
  /**
31746
- * Item Package
31713
+ * Itempackage
31747
31714
  * Format: uuid
31748
31715
  * @description choose from the item itemPackage
31749
31716
  */
31750
- item_package?: string;
31717
+ itemPackage?: string;
31751
31718
  /**
31752
31719
  * Unitpackage
31753
31720
  * @description This field is required when purchase invoice item has item package
@@ -31757,7 +31724,7 @@ export interface components {
31757
31724
  * Estimatedcost
31758
31725
  * @description to get item cost if exist use route /supplier/price_list/item_prices/{item_id}/ with query param supplier_id
31759
31726
  */
31760
- estimatedCost: number | string | null;
31727
+ estimatedCost?: number | string | null;
31761
31728
  };
31762
31729
  /** CalculateRequisitionItemsSchema */
31763
31730
  CalculateRequisitionItemsSchema: {
@@ -31803,6 +31770,11 @@ export interface components {
31803
31770
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
31804
31771
  }[];
31805
31772
  };
31773
+ /**
31774
+ * NonInventoryItemType
31775
+ * @enum {string}
31776
+ */
31777
+ NonInventoryItemType: "goods" | "service" | "works";
31806
31778
  /** ReasonSummaryInfo */
31807
31779
  ReasonSummaryInfo: {
31808
31780
  /** Id */
@@ -31882,6 +31854,7 @@ export interface components {
31882
31854
  item: components["schemas"]["ItemMinimalSchema"] | null;
31883
31855
  /** Itemtext */
31884
31856
  itemText: string | null;
31857
+ itemType: components["schemas"]["NonInventoryItemType"] | null;
31885
31858
  /** Quantity */
31886
31859
  quantity: number;
31887
31860
  unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
@@ -31950,6 +31923,8 @@ export interface components {
31950
31923
  * @description This field is required and visible when inventory module is not active
31951
31924
  */
31952
31925
  itemText: string | null;
31926
+ /** @description This field is visible and required if inventory is off */
31927
+ itemType?: components["schemas"]["NonInventoryItemType"];
31953
31928
  /**
31954
31929
  * Quantity
31955
31930
  * @description
@@ -31987,7 +31962,7 @@ export interface components {
31987
31962
  * Unitpackage
31988
31963
  * @description This field is required when the package is selected
31989
31964
  */
31990
- unitPackage: number | null;
31965
+ unitPackage?: number | null;
31991
31966
  };
31992
31967
  /**
31993
31968
  * requisitionTypes
@@ -32062,6 +32037,8 @@ export interface components {
32062
32037
  * @description This field is required and visible when inventory module is not active
32063
32038
  */
32064
32039
  itemText: string | null;
32040
+ /** @description This field is visible and required if inventory is off */
32041
+ itemType?: components["schemas"]["NonInventoryItemType"];
32065
32042
  /**
32066
32043
  * Quantity
32067
32044
  * @description
@@ -32099,7 +32076,7 @@ export interface components {
32099
32076
  * Unitpackage
32100
32077
  * @description This field is required when the package is selected
32101
32078
  */
32102
- unitPackage: number | null;
32079
+ unitPackage?: number | null;
32103
32080
  /**
32104
32081
  * Id
32105
32082
  * Format: uuid
@@ -32171,11 +32148,6 @@ export interface components {
32171
32148
  /** Attachments */
32172
32149
  attachments?: string[];
32173
32150
  };
32174
- /**
32175
- * NonInventoryItemType
32176
- * @enum {string}
32177
- */
32178
- NonInventoryItemType: "goods" | "service" | "works";
32179
32151
  /** RequestForQuotationResponse */
32180
32152
  RequestForQuotationResponse: {
32181
32153
  /** Message */
@@ -66264,68 +66236,6 @@ export interface operations {
66264
66236
  };
66265
66237
  };
66266
66238
  };
66267
- purchase_requisition_views_submit_requisition: {
66268
- parameters: {
66269
- query?: never;
66270
- header?: never;
66271
- path: {
66272
- id: string;
66273
- };
66274
- cookie?: never;
66275
- };
66276
- requestBody: {
66277
- content: {
66278
- "application/json": components["schemas"]["ActionOnRequisitionSchema"];
66279
- };
66280
- };
66281
- responses: {
66282
- /** @description OK */
66283
- 200: {
66284
- headers: {
66285
- [name: string]: unknown;
66286
- };
66287
- content: {
66288
- "application/json": components["schemas"]["RequisitionResponse"];
66289
- };
66290
- };
66291
- /** @description Bad Request */
66292
- 400: {
66293
- headers: {
66294
- [name: string]: unknown;
66295
- };
66296
- content: {
66297
- "application/json": components["schemas"]["ErrorMessages"];
66298
- };
66299
- };
66300
- /** @description Forbidden */
66301
- 403: {
66302
- headers: {
66303
- [name: string]: unknown;
66304
- };
66305
- content: {
66306
- "application/json": components["schemas"]["MessageResponse"];
66307
- };
66308
- };
66309
- /** @description Not Found */
66310
- 404: {
66311
- headers: {
66312
- [name: string]: unknown;
66313
- };
66314
- content: {
66315
- "application/json": components["schemas"]["MessageResponse"];
66316
- };
66317
- };
66318
- /** @description Internal Server Error */
66319
- 500: {
66320
- headers: {
66321
- [name: string]: unknown;
66322
- };
66323
- content: {
66324
- "application/json": components["schemas"]["MessageResponse"];
66325
- };
66326
- };
66327
- };
66328
- };
66329
66239
  purchase_requisition_views_export_requisition_pdf: {
66330
66240
  parameters: {
66331
66241
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.644",
3
+ "version": "1.0.645",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],