@erp-galoper/types 1.0.1165 → 1.0.1167

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 +92 -50
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -4815,6 +4815,8 @@ export interface paths {
4815
4815
  * - serialNotAvailable - Serial is not in available status
4816
4816
  * - serialNotInWarehouse - Serial is not present in source warehouse
4817
4817
  * - serialDoesNotExist - The selected serial does not exist
4818
+ * - itemNotFoundInRequestTransfer
4819
+ * - quantityExceedsRequestedQuantity
4818
4820
  *
4819
4821
  * - 403: permissionDenied
4820
4822
  * - noBranchAccess
@@ -4869,6 +4871,8 @@ export interface paths {
4869
4871
  * - serialNotInWarehouse - Serial is not present in source warehouse
4870
4872
  * - serialDoesNotExist - The selected serial does not exist
4871
4873
  * - item+warehouse+branch+unitOfMeasure+itemPackageConflict
4874
+ * - itemNotFoundInRequestTransfer
4875
+ * - quantityExceedsRequestedQuantity
4872
4876
  *
4873
4877
  * - 403: permissionDenied
4874
4878
  * - noBranchAccess
@@ -25984,7 +25988,7 @@ export interface components {
25984
25988
  options?: components["schemas"]["Option"][];
25985
25989
  /** Isrequired */
25986
25990
  isRequired: boolean;
25987
- documentContentType: components["schemas"]["common__schemas__CombinedModelName"] | null;
25991
+ documentContentType?: components["schemas"]["common__schemas__CombinedModelName"] | null;
25988
25992
  };
25989
25993
  /** CreateUpdateCustomField */
25990
25994
  CreateUpdateCustomField: {
@@ -27934,6 +27938,11 @@ export interface components {
27934
27938
  /** Id */
27935
27939
  id?: number;
27936
27940
  };
27941
+ /**
27942
+ * DocumentLifeCycleStatus
27943
+ * @enum {string}
27944
+ */
27945
+ DocumentLifeCycleStatus: "draft" | "submitted" | "completed" | "canceled";
27937
27946
  /** InternalTransferDetailsSchema */
27938
27947
  InternalTransferDetailsSchema: {
27939
27948
  /**
@@ -27991,12 +28000,31 @@ export interface components {
27991
28000
  transferDate: string;
27992
28001
  /** Description */
27993
28002
  description?: string | null;
28003
+ transferRequest: components["schemas"]["TransferRequestCommonSchema"] | null;
27994
28004
  /**
27995
28005
  * Details
27996
28006
  * @default []
27997
28007
  */
27998
28008
  details: components["schemas"]["InternalTransferDetailsSchema"][];
27999
28009
  };
28010
+ /** TransferRequestCommonSchema */
28011
+ TransferRequestCommonSchema: {
28012
+ /**
28013
+ * Id
28014
+ * Format: uuid
28015
+ */
28016
+ id: string;
28017
+ /** Serialnumber */
28018
+ serialNumber: string;
28019
+ /**
28020
+ * Date
28021
+ * Format: date
28022
+ */
28023
+ date: string;
28024
+ status: components["schemas"]["DocumentLifeCycleStatus"];
28025
+ sourceWarehouse: components["schemas"]["WarehouseSummaryInfo"];
28026
+ destinationWarehouse: components["schemas"]["WarehouseSummaryInfo"];
28027
+ };
28000
28028
  /** CreateInternalTransferItemSchema */
28001
28029
  CreateInternalTransferItemSchema: {
28002
28030
  /**
@@ -28078,6 +28106,13 @@ export interface components {
28078
28106
  * @description Optional notes or purpose for this transfer
28079
28107
  */
28080
28108
  description?: string | null;
28109
+ /**
28110
+ * Transfer Request
28111
+ * Format: uuid
28112
+ * @description - API endpoint to link transfer request:
28113
+ * - /api/v1/inventory/transfer-requests?view=myWarehouses and filter by sourceWarehouseResponse equals to {accepted} and destinationWarehouse equals to {to-warehouse-id} and fulfillmentStage not equals to {received}
28114
+ */
28115
+ transfer_request?: string;
28081
28116
  status: components["schemas"]["InternalStatusOnCreateValueChoices"];
28082
28117
  /**
28083
28118
  * Details
@@ -28121,6 +28156,7 @@ export interface components {
28121
28156
  transferDate: string;
28122
28157
  /** Description */
28123
28158
  description?: string | null;
28159
+ transferRequest: components["schemas"]["TransferRequestCommonSchema"] | null;
28124
28160
  };
28125
28161
  /** UpdateInternalTransferItemSchema */
28126
28162
  UpdateInternalTransferItemSchema: {
@@ -28207,6 +28243,13 @@ export interface components {
28207
28243
  * @description Optional notes or purpose for this transfer
28208
28244
  */
28209
28245
  description?: string | null;
28246
+ /**
28247
+ * Transfer Request
28248
+ * Format: uuid
28249
+ * @description - API endpoint to link transfer request:
28250
+ * - /api/v1/inventory/transfer-requests?view=myWarehouses and filter by sourceWarehouseResponse equals to {accepted} and destinationWarehouse equals to {to-warehouse-id} and fulfillmentStage not equals to {received}
28251
+ */
28252
+ transfer_request?: string;
28210
28253
  status: components["schemas"]["InternalStatusOnCreateValueChoices"];
28211
28254
  /**
28212
28255
  * Details
@@ -28214,11 +28257,6 @@ export interface components {
28214
28257
  */
28215
28258
  details: components["schemas"]["UpdateInternalTransferItemSchema"][];
28216
28259
  };
28217
- /**
28218
- * DocumentLifeCycleStatus
28219
- * @enum {string}
28220
- */
28221
- DocumentLifeCycleStatus: "draft" | "submitted" | "completed" | "canceled";
28222
28260
  /**
28223
28261
  * LinkedDocumentsSchema
28224
28262
  * @description Schema for individual linked documents.
@@ -36803,6 +36841,8 @@ export interface components {
36803
36841
  project: components["schemas"]["ProjectSummaryInfo"] | null;
36804
36842
  /** Items */
36805
36843
  items: components["schemas"]["PurchaseOrderItemsSchema"][];
36844
+ /** Customfields */
36845
+ customFields?: components["schemas"]["RetrieveCustomFieldValue"][];
36806
36846
  };
36807
36847
  /** PurchaseQuotationSharedSchema */
36808
36848
  PurchaseQuotationSharedSchema: {
@@ -36830,6 +36870,24 @@ export interface components {
36830
36870
  * @enum {string}
36831
36871
  */
36832
36872
  ReceivingStatusValueChoices: "not_received" | "partially_received" | "received";
36873
+ /** RetrieveCustomFieldValue */
36874
+ RetrieveCustomFieldValue: {
36875
+ /**
36876
+ * Id
36877
+ * Format: uuid
36878
+ */
36879
+ id: string;
36880
+ /** Fields */
36881
+ fields?: components["schemas"]["RetrieveCustomField"][];
36882
+ /** Value */
36883
+ value: string | string[] | components["schemas"]["Option"][] | number | boolean | null;
36884
+ documentContentType: components["schemas"]["common__schemas__CombinedModelName"];
36885
+ /**
36886
+ * Documentid
36887
+ * Format: uuid
36888
+ */
36889
+ documentId: string;
36890
+ };
36833
36891
  /** CreatePurchaseOrderItemsSchema */
36834
36892
  CreatePurchaseOrderItemsSchema: {
36835
36893
  /**
@@ -36963,6 +37021,34 @@ export interface components {
36963
37021
  project?: number;
36964
37022
  /** Items */
36965
37023
  items: components["schemas"]["CreatePurchaseOrderItemsSchema"][];
37024
+ /** Customfields */
37025
+ customFields?: components["schemas"]["CreateUpdateCustomFieldValues"][];
37026
+ };
37027
+ /** CreateUpdateCustomFieldValues */
37028
+ CreateUpdateCustomFieldValues: {
37029
+ /**
37030
+ * Id
37031
+ * @description This field is required when updating an existing custom field value
37032
+ */
37033
+ id?: string | null;
37034
+ /**
37035
+ * Fields
37036
+ * @description "
37037
+ * - This field is only required in create
37038
+ * - Custom field definition is unchangeable
37039
+ * - To update the custom field related to it, delete the whole value and create a new one
37040
+ */
37041
+ fields: string[];
37042
+ /**
37043
+ * Value
37044
+ * @description - str: visible, required, and editable only when Custom Field type is: text, textarea, url, email, or phone
37045
+ * - List[str]: visible, required, and editable only when Custom Field type is file attachment
37046
+ * - List[Option]: visible, required, and editable only when Custom Field type is multi-select, dropdown
37047
+ * - float: visible, required, and editable only when Custom Field type is number
37048
+ * - datetime: visible, required, and editable only when Custom Field type is datetime
37049
+ * - bool: visible, required, and editable only when Custom Field type is checkbox
37050
+ */
37051
+ value: string | string[] | components["schemas"]["Option"][] | number | boolean | null;
36966
37052
  };
36967
37053
  /** PurchaseOrderListSchema */
36968
37054
  PurchaseOrderListSchema: {
@@ -50641,24 +50727,6 @@ export interface components {
50641
50727
  /** Results */
50642
50728
  results?: components["schemas"]["TasksGroupedByStatus"][];
50643
50729
  };
50644
- /** RetrieveCustomFieldValue */
50645
- RetrieveCustomFieldValue: {
50646
- /**
50647
- * Id
50648
- * Format: uuid
50649
- */
50650
- id: string;
50651
- /** Fields */
50652
- fields?: components["schemas"]["RetrieveCustomField"][];
50653
- /** Value */
50654
- value: string | string[] | components["schemas"]["Option"][] | number | boolean | null;
50655
- documentContentType: components["schemas"]["common__schemas__CombinedModelName"];
50656
- /**
50657
- * Documentid
50658
- * Format: uuid
50659
- */
50660
- documentId: string;
50661
- };
50662
50730
  /** RetrieveTask */
50663
50731
  RetrieveTask: {
50664
50732
  /**
@@ -50742,32 +50810,6 @@ export interface components {
50742
50810
  /** Results */
50743
50811
  results?: components["schemas"]["RetrieveTask"][];
50744
50812
  };
50745
- /** CreateUpdateCustomFieldValues */
50746
- CreateUpdateCustomFieldValues: {
50747
- /**
50748
- * Id
50749
- * @description This field is required when updating an existing custom field value
50750
- */
50751
- id?: string | null;
50752
- /**
50753
- * Fields
50754
- * @description "
50755
- * - This field is only required in create
50756
- * - Custom field definition is unchangeable
50757
- * - To update the custom field related to it, delete the whole value and create a new one
50758
- */
50759
- fields: string[];
50760
- /**
50761
- * Value
50762
- * @description - str: visible, required, and editable only when Custom Field type is: text, textarea, url, email, or phone
50763
- * - List[str]: visible, required, and editable only when Custom Field type is file attachment
50764
- * - List[Option]: visible, required, and editable only when Custom Field type is multi-select, dropdown
50765
- * - float: visible, required, and editable only when Custom Field type is number
50766
- * - datetime: visible, required, and editable only when Custom Field type is datetime
50767
- * - bool: visible, required, and editable only when Custom Field type is checkbox
50768
- */
50769
- value: string | string[] | components["schemas"]["Option"][] | number | boolean | null;
50770
- };
50771
50813
  /** CreateUpdateTask */
50772
50814
  CreateUpdateTask: {
50773
50815
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1165",
3
+ "version": "1.0.1167",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],