@erp-galoper/types 1.0.1222 → 1.0.1224
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 +54 -63
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -2449,6 +2449,8 @@ export interface paths {
|
|
|
2449
2449
|
* - 400:
|
|
2450
2450
|
* - ValidationError
|
|
2451
2451
|
* - customFieldDoesNotExist
|
|
2452
|
+
* - TypeUpdateRestricted
|
|
2453
|
+
* - contentTypeDoesNotExist
|
|
2452
2454
|
* - 403:
|
|
2453
2455
|
* - permissionDenied
|
|
2454
2456
|
* - noModuleAccess
|
|
@@ -26754,7 +26756,8 @@ export interface components {
|
|
|
26754
26756
|
options?: components["schemas"]["Option"][];
|
|
26755
26757
|
/** Isrequired */
|
|
26756
26758
|
isRequired: boolean;
|
|
26757
|
-
|
|
26759
|
+
/** Documentcontenttypes */
|
|
26760
|
+
documentContentTypes?: components["schemas"]["CombinedModelName"][];
|
|
26758
26761
|
};
|
|
26759
26762
|
/** CreateUpdateCustomField */
|
|
26760
26763
|
CreateUpdateCustomField: {
|
|
@@ -26771,8 +26774,12 @@ export interface components {
|
|
|
26771
26774
|
options?: components["schemas"]["Option"][];
|
|
26772
26775
|
/** Isrequired */
|
|
26773
26776
|
isRequired: boolean;
|
|
26774
|
-
/**
|
|
26775
|
-
|
|
26777
|
+
/**
|
|
26778
|
+
* Documentcontenttypes
|
|
26779
|
+
* @description - List of document types (e.g., `task`, `purchaseOrder`) this custom field definition is attached to.
|
|
26780
|
+
* - Required on Create
|
|
26781
|
+
*/
|
|
26782
|
+
documentContentTypes?: components["schemas"]["CombinedModelName"][];
|
|
26776
26783
|
};
|
|
26777
26784
|
/**
|
|
26778
26785
|
* ActionSchema
|
|
@@ -35976,7 +35983,7 @@ export interface components {
|
|
|
35976
35983
|
/** Attachments */
|
|
35977
35984
|
attachments: string[] | null;
|
|
35978
35985
|
status: components["schemas"]["StatusChoices"];
|
|
35979
|
-
department: components["schemas"]["DepartmentSummaryInfo"];
|
|
35986
|
+
department: components["schemas"]["DepartmentSummaryInfo"] | null;
|
|
35980
35987
|
approvalStatus: components["schemas"]["ApprovalChoices"];
|
|
35981
35988
|
priority: components["schemas"]["PrioritySchema"];
|
|
35982
35989
|
/** Canconvert */
|
|
@@ -36043,10 +36050,9 @@ export interface components {
|
|
|
36043
36050
|
attachments: string[];
|
|
36044
36051
|
/**
|
|
36045
36052
|
* Department
|
|
36046
|
-
* Format: uuid
|
|
36047
36053
|
* @description To get user departments use route /auth/users/me/
|
|
36048
36054
|
*/
|
|
36049
|
-
department
|
|
36055
|
+
department?: string | null;
|
|
36050
36056
|
status: components["schemas"]["InternalStatusChoices"];
|
|
36051
36057
|
priority: components["schemas"]["PrioritySchema"];
|
|
36052
36058
|
/**
|
|
@@ -36149,7 +36155,7 @@ export interface components {
|
|
|
36149
36155
|
/** Attachments */
|
|
36150
36156
|
attachments: string[] | null;
|
|
36151
36157
|
status: components["schemas"]["StatusChoices"];
|
|
36152
|
-
department: components["schemas"]["DepartmentSummaryInfo"];
|
|
36158
|
+
department: components["schemas"]["DepartmentSummaryInfo"] | null;
|
|
36153
36159
|
approvalStatus: components["schemas"]["ApprovalChoices"];
|
|
36154
36160
|
priority: components["schemas"]["PrioritySchema"];
|
|
36155
36161
|
/** Canconvert */
|
|
@@ -36241,10 +36247,9 @@ export interface components {
|
|
|
36241
36247
|
attachments: string[];
|
|
36242
36248
|
/**
|
|
36243
36249
|
* Department
|
|
36244
|
-
* Format: uuid
|
|
36245
36250
|
* @description To get user departments use route /auth/users/me/
|
|
36246
36251
|
*/
|
|
36247
|
-
department
|
|
36252
|
+
department?: string | null;
|
|
36248
36253
|
status: components["schemas"]["InternalStatusChoices"];
|
|
36249
36254
|
priority: components["schemas"]["PrioritySchema"];
|
|
36250
36255
|
/**
|
|
@@ -36325,7 +36330,7 @@ export interface components {
|
|
|
36325
36330
|
* Format: date
|
|
36326
36331
|
*/
|
|
36327
36332
|
date: string;
|
|
36328
|
-
department: components["schemas"]["DepartmentSummaryInfo"];
|
|
36333
|
+
department: components["schemas"]["DepartmentSummaryInfo"] | null;
|
|
36329
36334
|
fromRequisition: components["schemas"]["RequisitionSummaryInfo"] | null;
|
|
36330
36335
|
/** Duedate */
|
|
36331
36336
|
dueDate: string | null;
|
|
@@ -36401,10 +36406,9 @@ export interface components {
|
|
|
36401
36406
|
attachments: string[];
|
|
36402
36407
|
/**
|
|
36403
36408
|
* Department
|
|
36404
|
-
* Format: uuid
|
|
36405
36409
|
* @description To get user departments use route /auth/users/me/
|
|
36406
36410
|
*/
|
|
36407
|
-
department
|
|
36411
|
+
department?: string | null;
|
|
36408
36412
|
/**
|
|
36409
36413
|
* Fromrequisition
|
|
36410
36414
|
* @description To get requisitions use route /purchase/requisitions/ where type is requestForQuotation
|
|
@@ -36484,7 +36488,7 @@ export interface components {
|
|
|
36484
36488
|
* Format: date
|
|
36485
36489
|
*/
|
|
36486
36490
|
date: string;
|
|
36487
|
-
department: components["schemas"]["DepartmentSummaryInfo"];
|
|
36491
|
+
department: components["schemas"]["DepartmentSummaryInfo"] | null;
|
|
36488
36492
|
fromRequisition: components["schemas"]["RequisitionSummaryInfo"] | null;
|
|
36489
36493
|
/** Duedate */
|
|
36490
36494
|
dueDate: string | null;
|
|
@@ -36576,10 +36580,9 @@ export interface components {
|
|
|
36576
36580
|
attachments: string[];
|
|
36577
36581
|
/**
|
|
36578
36582
|
* Department
|
|
36579
|
-
* Format: uuid
|
|
36580
36583
|
* @description To get user departments use route /auth/users/me/
|
|
36581
36584
|
*/
|
|
36582
|
-
department
|
|
36585
|
+
department?: string | null;
|
|
36583
36586
|
/**
|
|
36584
36587
|
* Fromrequisition
|
|
36585
36588
|
* @description To get requisitions use route /purchase/requisitions/ where type is requestForQuotation
|
|
@@ -36761,11 +36764,11 @@ export interface components {
|
|
|
36761
36764
|
serialNumber: string;
|
|
36762
36765
|
branch: components["schemas"]["BranchSummaryInfo"];
|
|
36763
36766
|
/** Reference */
|
|
36764
|
-
reference
|
|
36767
|
+
reference?: string | null;
|
|
36765
36768
|
/** Description */
|
|
36766
36769
|
description: string | null;
|
|
36767
36770
|
supplier: components["schemas"]["ChildSupplierSharedSchema"];
|
|
36768
|
-
department
|
|
36771
|
+
department?: components["schemas"]["DepartmentCommonSchema"] | null;
|
|
36769
36772
|
status: components["schemas"]["DocumentStatus"];
|
|
36770
36773
|
approvalStatus: components["schemas"]["ApprovalChoices"];
|
|
36771
36774
|
/** Total */
|
|
@@ -36859,7 +36862,7 @@ export interface components {
|
|
|
36859
36862
|
/** Password */
|
|
36860
36863
|
password: string | null;
|
|
36861
36864
|
/** Reference */
|
|
36862
|
-
reference
|
|
36865
|
+
reference?: string | null;
|
|
36863
36866
|
/** Description */
|
|
36864
36867
|
description: string | null;
|
|
36865
36868
|
/**
|
|
@@ -36874,10 +36877,9 @@ export interface components {
|
|
|
36874
36877
|
attachments: string[];
|
|
36875
36878
|
/**
|
|
36876
36879
|
* Department
|
|
36877
|
-
* Format: uuid
|
|
36878
36880
|
* @description To get user departments use route /auth/users/me/
|
|
36879
36881
|
*/
|
|
36880
|
-
department
|
|
36882
|
+
department?: string | null;
|
|
36881
36883
|
status: components["schemas"]["InternalStatusChoices"];
|
|
36882
36884
|
/**
|
|
36883
36885
|
* Project
|
|
@@ -36923,11 +36925,11 @@ export interface components {
|
|
|
36923
36925
|
serialNumber: string;
|
|
36924
36926
|
branch: components["schemas"]["BranchSummaryInfo"];
|
|
36925
36927
|
/** Reference */
|
|
36926
|
-
reference
|
|
36928
|
+
reference?: string | null;
|
|
36927
36929
|
/** Description */
|
|
36928
36930
|
description: string | null;
|
|
36929
36931
|
supplier: components["schemas"]["ChildSupplierSharedSchema"];
|
|
36930
|
-
department
|
|
36932
|
+
department?: components["schemas"]["DepartmentCommonSchema"] | null;
|
|
36931
36933
|
status: components["schemas"]["DocumentStatus"];
|
|
36932
36934
|
approvalStatus: components["schemas"]["ApprovalChoices"];
|
|
36933
36935
|
/** Total */
|
|
@@ -37016,7 +37018,7 @@ export interface components {
|
|
|
37016
37018
|
/** Password */
|
|
37017
37019
|
password: string | null;
|
|
37018
37020
|
/** Reference */
|
|
37019
|
-
reference
|
|
37021
|
+
reference?: string | null;
|
|
37020
37022
|
/** Description */
|
|
37021
37023
|
description: string | null;
|
|
37022
37024
|
/**
|
|
@@ -37031,10 +37033,9 @@ export interface components {
|
|
|
37031
37033
|
attachments: string[];
|
|
37032
37034
|
/**
|
|
37033
37035
|
* Department
|
|
37034
|
-
* Format: uuid
|
|
37035
37036
|
* @description To get user departments use route /auth/users/me/
|
|
37036
37037
|
*/
|
|
37037
|
-
department
|
|
37038
|
+
department?: string | null;
|
|
37038
37039
|
status: components["schemas"]["InternalStatusChoices"];
|
|
37039
37040
|
/**
|
|
37040
37041
|
* Project
|
|
@@ -37172,7 +37173,7 @@ export interface components {
|
|
|
37172
37173
|
requestForQuotation?: components["schemas"]["RFQSharedSchema"] | null;
|
|
37173
37174
|
/** Referencenumber */
|
|
37174
37175
|
referenceNumber?: string | null;
|
|
37175
|
-
department
|
|
37176
|
+
department?: components["schemas"]["DepartmentCommonSchema"] | null;
|
|
37176
37177
|
/** Usdrate */
|
|
37177
37178
|
usdRate: number;
|
|
37178
37179
|
/** Companyrate */
|
|
@@ -37329,11 +37330,8 @@ export interface components {
|
|
|
37329
37330
|
requestForQuotation?: string | null;
|
|
37330
37331
|
/** Referencenumber */
|
|
37331
37332
|
referenceNumber?: string | null;
|
|
37332
|
-
/**
|
|
37333
|
-
|
|
37334
|
-
* Format: uuid
|
|
37335
|
-
*/
|
|
37336
|
-
department: string;
|
|
37333
|
+
/** Department */
|
|
37334
|
+
department?: string | null;
|
|
37337
37335
|
/**
|
|
37338
37336
|
* Companyrate
|
|
37339
37337
|
* @description This field is visible and required if allow rate change is on in system settings(if account currency same as company currency or account currency is USD get the company_rate from table currency where currency name is USD, otherwise if account currency is foreign for example EUR get the company_rate from table currencies where currency name is same as account currency), if country other than Lebanon get company_rate from table currencies where currency name same as account currency
|
|
@@ -37409,7 +37407,7 @@ export interface components {
|
|
|
37409
37407
|
requestForQuotation?: components["schemas"]["RFQSharedSchema"] | null;
|
|
37410
37408
|
/** Referencenumber */
|
|
37411
37409
|
referenceNumber?: string | null;
|
|
37412
|
-
department
|
|
37410
|
+
department?: components["schemas"]["DepartmentCommonSchema"] | null;
|
|
37413
37411
|
/** Usdrate */
|
|
37414
37412
|
usdRate: number;
|
|
37415
37413
|
/** Companyrate */
|
|
@@ -37704,7 +37702,7 @@ export interface components {
|
|
|
37704
37702
|
requisition: components["schemas"]["DocumentCommonSchema"] | null;
|
|
37705
37703
|
/** Referencenumber */
|
|
37706
37704
|
referenceNumber?: string | null;
|
|
37707
|
-
department
|
|
37705
|
+
department?: components["schemas"]["DepartmentCommonSchema"] | null;
|
|
37708
37706
|
/** Goodsreceiptnote */
|
|
37709
37707
|
goodsReceiptNote?: components["schemas"]["ReceiptNoteSharedSchema"][];
|
|
37710
37708
|
/** Usdrate */
|
|
@@ -37799,8 +37797,7 @@ export interface components {
|
|
|
37799
37797
|
* Format: uuid
|
|
37800
37798
|
*/
|
|
37801
37799
|
id: string;
|
|
37802
|
-
|
|
37803
|
-
fields?: components["schemas"]["RetrieveCustomField"][];
|
|
37800
|
+
field: components["schemas"]["RetrieveCustomField"];
|
|
37804
37801
|
/** Value */
|
|
37805
37802
|
value: string | string[] | components["schemas"]["Option"][] | Record<string, never> | number | boolean | null;
|
|
37806
37803
|
documentContentType: components["schemas"]["CombinedModelName"];
|
|
@@ -37908,11 +37905,8 @@ export interface components {
|
|
|
37908
37905
|
requisition?: string;
|
|
37909
37906
|
/** Referencenumber */
|
|
37910
37907
|
referenceNumber?: string | null;
|
|
37911
|
-
/**
|
|
37912
|
-
|
|
37913
|
-
* Format: uuid
|
|
37914
|
-
*/
|
|
37915
|
-
department: string;
|
|
37908
|
+
/** Department */
|
|
37909
|
+
department?: string | null;
|
|
37916
37910
|
/**
|
|
37917
37911
|
* Companyrate
|
|
37918
37912
|
* @description This field is visible and required if allow rate change is on in system settings(if account currency same as company currency or account currency is USD get the company_rate from table currency where currency name is USD, otherwise if account currency is foreign for example EUR get the company_rate from table currencies where currency name is same as account currency), if country other than Lebanon get company_rate from table currencies where currency name same as account currency
|
|
@@ -37954,17 +37948,20 @@ export interface components {
|
|
|
37954
37948
|
CreateUpdateCustomFieldValues: {
|
|
37955
37949
|
/**
|
|
37956
37950
|
* Id
|
|
37957
|
-
* @description
|
|
37951
|
+
* @description - ID of the custom field value related to the document being updated (e.g., purchaseOrder, task, quotation)
|
|
37952
|
+
* - Required when updating an existing value instance
|
|
37953
|
+
* - Must be omitted for new values.
|
|
37958
37954
|
*/
|
|
37959
37955
|
id?: string | null;
|
|
37960
37956
|
/**
|
|
37961
|
-
*
|
|
37957
|
+
* Field
|
|
37958
|
+
* Format: uuid
|
|
37962
37959
|
* @description "
|
|
37963
|
-
* -
|
|
37964
|
-
* -
|
|
37965
|
-
* - To
|
|
37960
|
+
* - UUID of the parent 'Custom Field Definition'
|
|
37961
|
+
* - Required on Create
|
|
37962
|
+
* - The definition linked to a value is unchangeable. To change the custom field definition associated with a value, the existing value must be **deleted** and a new value created with the correct definition ID.
|
|
37966
37963
|
*/
|
|
37967
|
-
|
|
37964
|
+
field?: string;
|
|
37968
37965
|
/**
|
|
37969
37966
|
* Value
|
|
37970
37967
|
* @description - str: visible, required, and editable only when Custom Field type is: text, textarea, url, email, or phone
|
|
@@ -38152,7 +38149,7 @@ export interface components {
|
|
|
38152
38149
|
approvalStatus: components["schemas"]["ApprovalValueChoices"];
|
|
38153
38150
|
/** Referencenumber */
|
|
38154
38151
|
referenceNumber?: string | null;
|
|
38155
|
-
department
|
|
38152
|
+
department?: components["schemas"]["DepartmentCommonSchema"] | null;
|
|
38156
38153
|
/** Usdrate */
|
|
38157
38154
|
usdRate: number;
|
|
38158
38155
|
/** Companyrate */
|
|
@@ -38247,10 +38244,9 @@ export interface components {
|
|
|
38247
38244
|
referenceNumber?: string | null;
|
|
38248
38245
|
/**
|
|
38249
38246
|
* Department
|
|
38250
|
-
* Format: uuid
|
|
38251
38247
|
* @description get departments related to this user
|
|
38252
38248
|
*/
|
|
38253
|
-
department
|
|
38249
|
+
department?: string | null;
|
|
38254
38250
|
/**
|
|
38255
38251
|
* Companyrate
|
|
38256
38252
|
* @description This field is visible and required if allow rate change is on in system settings(if account currency same as company currency or account currency is USD get the company_rate from table currency where currency name is USD, otherwise if account currency is foreign for example EUR get the company_rate from table currencies where currency name is same as account currency), if country other than Lebanon get company_rate from table currencies where currency name same as account currency
|
|
@@ -38331,7 +38327,7 @@ export interface components {
|
|
|
38331
38327
|
approvalStatus: components["schemas"]["ApprovalValueChoices"];
|
|
38332
38328
|
/** Referencenumber */
|
|
38333
38329
|
referenceNumber?: string | null;
|
|
38334
|
-
department
|
|
38330
|
+
department?: components["schemas"]["DepartmentCommonSchema"] | null;
|
|
38335
38331
|
/** Usdrate */
|
|
38336
38332
|
usdRate: number;
|
|
38337
38333
|
/** Companyrate */
|
|
@@ -38549,7 +38545,7 @@ export interface components {
|
|
|
38549
38545
|
* @default []
|
|
38550
38546
|
*/
|
|
38551
38547
|
debitNotes: components["schemas"]["DebitNoteSharedSchema"][];
|
|
38552
|
-
department
|
|
38548
|
+
department?: components["schemas"]["DepartmentCommonSchema"] | null;
|
|
38553
38549
|
/** Attachments */
|
|
38554
38550
|
attachments: string[] | null;
|
|
38555
38551
|
/** Description */
|
|
@@ -38742,7 +38738,7 @@ export interface components {
|
|
|
38742
38738
|
* @default []
|
|
38743
38739
|
*/
|
|
38744
38740
|
debitNotes: components["schemas"]["DebitNoteSharedSchema"][];
|
|
38745
|
-
department
|
|
38741
|
+
department?: components["schemas"]["DepartmentCommonSchema"] | null;
|
|
38746
38742
|
/** Attachments */
|
|
38747
38743
|
attachments: string[] | null;
|
|
38748
38744
|
/** Description */
|
|
@@ -38866,11 +38862,10 @@ export interface components {
|
|
|
38866
38862
|
advancePayment: string | null;
|
|
38867
38863
|
/**
|
|
38868
38864
|
* Departmentid
|
|
38869
|
-
* Format: uuid
|
|
38870
38865
|
* @description Department ID,hit the user/me endpoint and access departments field to get the list of departments
|
|
38871
38866
|
* @example 6867e718-8d0a-4a11-8e09-6746dadee7a3
|
|
38872
38867
|
*/
|
|
38873
|
-
departmentId
|
|
38868
|
+
departmentId?: string | null;
|
|
38874
38869
|
/** Attachments */
|
|
38875
38870
|
attachments: string[] | null;
|
|
38876
38871
|
/** Description */
|
|
@@ -39033,11 +39028,10 @@ export interface components {
|
|
|
39033
39028
|
supplier: number;
|
|
39034
39029
|
/**
|
|
39035
39030
|
* Departmentid
|
|
39036
|
-
* Format: uuid
|
|
39037
39031
|
* @description Department ID,hit the user/departments endpoint to get the list of departments
|
|
39038
39032
|
* @example 6867e718-8d0a-4a11-8e09-6746dadee7a3
|
|
39039
39033
|
*/
|
|
39040
|
-
departmentId
|
|
39034
|
+
departmentId?: string | null;
|
|
39041
39035
|
/**
|
|
39042
39036
|
* Purchasequotation
|
|
39043
39037
|
* Format: uuid
|
|
@@ -39823,7 +39817,7 @@ export interface components {
|
|
|
39823
39817
|
purchaseReturnOrder?: components["schemas"]["PurchaseReturnOrderSharedSchema"] | null;
|
|
39824
39818
|
/** Referencenumber */
|
|
39825
39819
|
referenceNumber?: string | null;
|
|
39826
|
-
department
|
|
39820
|
+
department?: components["schemas"]["DepartmentCommonSchema"] | null;
|
|
39827
39821
|
warehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
|
|
39828
39822
|
/** Usdrate */
|
|
39829
39823
|
usdRate: number;
|
|
@@ -39940,11 +39934,8 @@ export interface components {
|
|
|
39940
39934
|
purchaseReturnOrder?: string | null;
|
|
39941
39935
|
/** Referencenumber */
|
|
39942
39936
|
referenceNumber?: string | null;
|
|
39943
|
-
/**
|
|
39944
|
-
|
|
39945
|
-
* Format: uuid
|
|
39946
|
-
*/
|
|
39947
|
-
department: string;
|
|
39937
|
+
/** Department */
|
|
39938
|
+
department?: string | null;
|
|
39948
39939
|
/**
|
|
39949
39940
|
* Companyrate
|
|
39950
39941
|
* @description This field is visible and required if allow rate change is on in system settings(if account currency same as company currency or account currency is USD get the company_rate from table currency where currency name is USD, otherwise if account currency is foreign for example EUR get the company_rate from table currencies where currency name is same as account currency), if country other than Lebanon get company_rate from table currencies where currency name same as account currency
|
|
@@ -40026,7 +40017,7 @@ export interface components {
|
|
|
40026
40017
|
purchaseReturnOrder?: components["schemas"]["PurchaseReturnOrderSharedSchema"] | null;
|
|
40027
40018
|
/** Referencenumber */
|
|
40028
40019
|
referenceNumber?: string | null;
|
|
40029
|
-
department
|
|
40020
|
+
department?: components["schemas"]["DepartmentCommonSchema"] | null;
|
|
40030
40021
|
warehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
|
|
40031
40022
|
/** Usdrate */
|
|
40032
40023
|
usdRate: number;
|