@erp-galoper/types 1.0.1222 → 1.0.1223

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 +34 -52
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -35976,7 +35976,7 @@ export interface components {
35976
35976
  /** Attachments */
35977
35977
  attachments: string[] | null;
35978
35978
  status: components["schemas"]["StatusChoices"];
35979
- department: components["schemas"]["DepartmentSummaryInfo"];
35979
+ department: components["schemas"]["DepartmentSummaryInfo"] | null;
35980
35980
  approvalStatus: components["schemas"]["ApprovalChoices"];
35981
35981
  priority: components["schemas"]["PrioritySchema"];
35982
35982
  /** Canconvert */
@@ -36043,10 +36043,9 @@ export interface components {
36043
36043
  attachments: string[];
36044
36044
  /**
36045
36045
  * Department
36046
- * Format: uuid
36047
36046
  * @description To get user departments use route /auth/users/me/
36048
36047
  */
36049
- department: string;
36048
+ department?: string | null;
36050
36049
  status: components["schemas"]["InternalStatusChoices"];
36051
36050
  priority: components["schemas"]["PrioritySchema"];
36052
36051
  /**
@@ -36149,7 +36148,7 @@ export interface components {
36149
36148
  /** Attachments */
36150
36149
  attachments: string[] | null;
36151
36150
  status: components["schemas"]["StatusChoices"];
36152
- department: components["schemas"]["DepartmentSummaryInfo"];
36151
+ department: components["schemas"]["DepartmentSummaryInfo"] | null;
36153
36152
  approvalStatus: components["schemas"]["ApprovalChoices"];
36154
36153
  priority: components["schemas"]["PrioritySchema"];
36155
36154
  /** Canconvert */
@@ -36241,10 +36240,9 @@ export interface components {
36241
36240
  attachments: string[];
36242
36241
  /**
36243
36242
  * Department
36244
- * Format: uuid
36245
36243
  * @description To get user departments use route /auth/users/me/
36246
36244
  */
36247
- department: string;
36245
+ department?: string | null;
36248
36246
  status: components["schemas"]["InternalStatusChoices"];
36249
36247
  priority: components["schemas"]["PrioritySchema"];
36250
36248
  /**
@@ -36325,7 +36323,7 @@ export interface components {
36325
36323
  * Format: date
36326
36324
  */
36327
36325
  date: string;
36328
- department: components["schemas"]["DepartmentSummaryInfo"];
36326
+ department: components["schemas"]["DepartmentSummaryInfo"] | null;
36329
36327
  fromRequisition: components["schemas"]["RequisitionSummaryInfo"] | null;
36330
36328
  /** Duedate */
36331
36329
  dueDate: string | null;
@@ -36401,10 +36399,9 @@ export interface components {
36401
36399
  attachments: string[];
36402
36400
  /**
36403
36401
  * Department
36404
- * Format: uuid
36405
36402
  * @description To get user departments use route /auth/users/me/
36406
36403
  */
36407
- department: string;
36404
+ department?: string | null;
36408
36405
  /**
36409
36406
  * Fromrequisition
36410
36407
  * @description To get requisitions use route /purchase/requisitions/ where type is requestForQuotation
@@ -36484,7 +36481,7 @@ export interface components {
36484
36481
  * Format: date
36485
36482
  */
36486
36483
  date: string;
36487
- department: components["schemas"]["DepartmentSummaryInfo"];
36484
+ department: components["schemas"]["DepartmentSummaryInfo"] | null;
36488
36485
  fromRequisition: components["schemas"]["RequisitionSummaryInfo"] | null;
36489
36486
  /** Duedate */
36490
36487
  dueDate: string | null;
@@ -36576,10 +36573,9 @@ export interface components {
36576
36573
  attachments: string[];
36577
36574
  /**
36578
36575
  * Department
36579
- * Format: uuid
36580
36576
  * @description To get user departments use route /auth/users/me/
36581
36577
  */
36582
- department: string;
36578
+ department?: string | null;
36583
36579
  /**
36584
36580
  * Fromrequisition
36585
36581
  * @description To get requisitions use route /purchase/requisitions/ where type is requestForQuotation
@@ -36761,11 +36757,11 @@ export interface components {
36761
36757
  serialNumber: string;
36762
36758
  branch: components["schemas"]["BranchSummaryInfo"];
36763
36759
  /** Reference */
36764
- reference: string;
36760
+ reference?: string | null;
36765
36761
  /** Description */
36766
36762
  description: string | null;
36767
36763
  supplier: components["schemas"]["ChildSupplierSharedSchema"];
36768
- department: components["schemas"]["DepartmentCommonSchema"];
36764
+ department?: components["schemas"]["DepartmentCommonSchema"] | null;
36769
36765
  status: components["schemas"]["DocumentStatus"];
36770
36766
  approvalStatus: components["schemas"]["ApprovalChoices"];
36771
36767
  /** Total */
@@ -36859,7 +36855,7 @@ export interface components {
36859
36855
  /** Password */
36860
36856
  password: string | null;
36861
36857
  /** Reference */
36862
- reference: string;
36858
+ reference?: string | null;
36863
36859
  /** Description */
36864
36860
  description: string | null;
36865
36861
  /**
@@ -36874,10 +36870,9 @@ export interface components {
36874
36870
  attachments: string[];
36875
36871
  /**
36876
36872
  * Department
36877
- * Format: uuid
36878
36873
  * @description To get user departments use route /auth/users/me/
36879
36874
  */
36880
- department: string;
36875
+ department?: string | null;
36881
36876
  status: components["schemas"]["InternalStatusChoices"];
36882
36877
  /**
36883
36878
  * Project
@@ -36923,11 +36918,11 @@ export interface components {
36923
36918
  serialNumber: string;
36924
36919
  branch: components["schemas"]["BranchSummaryInfo"];
36925
36920
  /** Reference */
36926
- reference: string;
36921
+ reference?: string | null;
36927
36922
  /** Description */
36928
36923
  description: string | null;
36929
36924
  supplier: components["schemas"]["ChildSupplierSharedSchema"];
36930
- department: components["schemas"]["DepartmentCommonSchema"];
36925
+ department?: components["schemas"]["DepartmentCommonSchema"] | null;
36931
36926
  status: components["schemas"]["DocumentStatus"];
36932
36927
  approvalStatus: components["schemas"]["ApprovalChoices"];
36933
36928
  /** Total */
@@ -37016,7 +37011,7 @@ export interface components {
37016
37011
  /** Password */
37017
37012
  password: string | null;
37018
37013
  /** Reference */
37019
- reference: string;
37014
+ reference?: string | null;
37020
37015
  /** Description */
37021
37016
  description: string | null;
37022
37017
  /**
@@ -37031,10 +37026,9 @@ export interface components {
37031
37026
  attachments: string[];
37032
37027
  /**
37033
37028
  * Department
37034
- * Format: uuid
37035
37029
  * @description To get user departments use route /auth/users/me/
37036
37030
  */
37037
- department: string;
37031
+ department?: string | null;
37038
37032
  status: components["schemas"]["InternalStatusChoices"];
37039
37033
  /**
37040
37034
  * Project
@@ -37172,7 +37166,7 @@ export interface components {
37172
37166
  requestForQuotation?: components["schemas"]["RFQSharedSchema"] | null;
37173
37167
  /** Referencenumber */
37174
37168
  referenceNumber?: string | null;
37175
- department: components["schemas"]["DepartmentCommonSchema"];
37169
+ department?: components["schemas"]["DepartmentCommonSchema"] | null;
37176
37170
  /** Usdrate */
37177
37171
  usdRate: number;
37178
37172
  /** Companyrate */
@@ -37329,11 +37323,8 @@ export interface components {
37329
37323
  requestForQuotation?: string | null;
37330
37324
  /** Referencenumber */
37331
37325
  referenceNumber?: string | null;
37332
- /**
37333
- * Department
37334
- * Format: uuid
37335
- */
37336
- department: string;
37326
+ /** Department */
37327
+ department?: string | null;
37337
37328
  /**
37338
37329
  * Companyrate
37339
37330
  * @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 +37400,7 @@ export interface components {
37409
37400
  requestForQuotation?: components["schemas"]["RFQSharedSchema"] | null;
37410
37401
  /** Referencenumber */
37411
37402
  referenceNumber?: string | null;
37412
- department: components["schemas"]["DepartmentCommonSchema"];
37403
+ department?: components["schemas"]["DepartmentCommonSchema"] | null;
37413
37404
  /** Usdrate */
37414
37405
  usdRate: number;
37415
37406
  /** Companyrate */
@@ -37704,7 +37695,7 @@ export interface components {
37704
37695
  requisition: components["schemas"]["DocumentCommonSchema"] | null;
37705
37696
  /** Referencenumber */
37706
37697
  referenceNumber?: string | null;
37707
- department: components["schemas"]["DepartmentCommonSchema"];
37698
+ department?: components["schemas"]["DepartmentCommonSchema"] | null;
37708
37699
  /** Goodsreceiptnote */
37709
37700
  goodsReceiptNote?: components["schemas"]["ReceiptNoteSharedSchema"][];
37710
37701
  /** Usdrate */
@@ -37908,11 +37899,8 @@ export interface components {
37908
37899
  requisition?: string;
37909
37900
  /** Referencenumber */
37910
37901
  referenceNumber?: string | null;
37911
- /**
37912
- * Department
37913
- * Format: uuid
37914
- */
37915
- department: string;
37902
+ /** Department */
37903
+ department?: string | null;
37916
37904
  /**
37917
37905
  * Companyrate
37918
37906
  * @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
@@ -38152,7 +38140,7 @@ export interface components {
38152
38140
  approvalStatus: components["schemas"]["ApprovalValueChoices"];
38153
38141
  /** Referencenumber */
38154
38142
  referenceNumber?: string | null;
38155
- department: components["schemas"]["DepartmentCommonSchema"];
38143
+ department?: components["schemas"]["DepartmentCommonSchema"] | null;
38156
38144
  /** Usdrate */
38157
38145
  usdRate: number;
38158
38146
  /** Companyrate */
@@ -38247,10 +38235,9 @@ export interface components {
38247
38235
  referenceNumber?: string | null;
38248
38236
  /**
38249
38237
  * Department
38250
- * Format: uuid
38251
38238
  * @description get departments related to this user
38252
38239
  */
38253
- department: string;
38240
+ department?: string | null;
38254
38241
  /**
38255
38242
  * Companyrate
38256
38243
  * @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 +38318,7 @@ export interface components {
38331
38318
  approvalStatus: components["schemas"]["ApprovalValueChoices"];
38332
38319
  /** Referencenumber */
38333
38320
  referenceNumber?: string | null;
38334
- department: components["schemas"]["DepartmentCommonSchema"];
38321
+ department?: components["schemas"]["DepartmentCommonSchema"] | null;
38335
38322
  /** Usdrate */
38336
38323
  usdRate: number;
38337
38324
  /** Companyrate */
@@ -38549,7 +38536,7 @@ export interface components {
38549
38536
  * @default []
38550
38537
  */
38551
38538
  debitNotes: components["schemas"]["DebitNoteSharedSchema"][];
38552
- department: components["schemas"]["DepartmentCommonSchema"];
38539
+ department?: components["schemas"]["DepartmentCommonSchema"] | null;
38553
38540
  /** Attachments */
38554
38541
  attachments: string[] | null;
38555
38542
  /** Description */
@@ -38742,7 +38729,7 @@ export interface components {
38742
38729
  * @default []
38743
38730
  */
38744
38731
  debitNotes: components["schemas"]["DebitNoteSharedSchema"][];
38745
- department: components["schemas"]["DepartmentCommonSchema"];
38732
+ department?: components["schemas"]["DepartmentCommonSchema"] | null;
38746
38733
  /** Attachments */
38747
38734
  attachments: string[] | null;
38748
38735
  /** Description */
@@ -38866,11 +38853,10 @@ export interface components {
38866
38853
  advancePayment: string | null;
38867
38854
  /**
38868
38855
  * Departmentid
38869
- * Format: uuid
38870
38856
  * @description Department ID,hit the user/me endpoint and access departments field to get the list of departments
38871
38857
  * @example 6867e718-8d0a-4a11-8e09-6746dadee7a3
38872
38858
  */
38873
- departmentId: string;
38859
+ departmentId?: string | null;
38874
38860
  /** Attachments */
38875
38861
  attachments: string[] | null;
38876
38862
  /** Description */
@@ -39033,11 +39019,10 @@ export interface components {
39033
39019
  supplier: number;
39034
39020
  /**
39035
39021
  * Departmentid
39036
- * Format: uuid
39037
39022
  * @description Department ID,hit the user/departments endpoint to get the list of departments
39038
39023
  * @example 6867e718-8d0a-4a11-8e09-6746dadee7a3
39039
39024
  */
39040
- departmentId: string;
39025
+ departmentId?: string | null;
39041
39026
  /**
39042
39027
  * Purchasequotation
39043
39028
  * Format: uuid
@@ -39823,7 +39808,7 @@ export interface components {
39823
39808
  purchaseReturnOrder?: components["schemas"]["PurchaseReturnOrderSharedSchema"] | null;
39824
39809
  /** Referencenumber */
39825
39810
  referenceNumber?: string | null;
39826
- department: components["schemas"]["DepartmentCommonSchema"];
39811
+ department?: components["schemas"]["DepartmentCommonSchema"] | null;
39827
39812
  warehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
39828
39813
  /** Usdrate */
39829
39814
  usdRate: number;
@@ -39940,11 +39925,8 @@ export interface components {
39940
39925
  purchaseReturnOrder?: string | null;
39941
39926
  /** Referencenumber */
39942
39927
  referenceNumber?: string | null;
39943
- /**
39944
- * Department
39945
- * Format: uuid
39946
- */
39947
- department: string;
39928
+ /** Department */
39929
+ department?: string | null;
39948
39930
  /**
39949
39931
  * Companyrate
39950
39932
  * @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 +40008,7 @@ export interface components {
40026
40008
  purchaseReturnOrder?: components["schemas"]["PurchaseReturnOrderSharedSchema"] | null;
40027
40009
  /** Referencenumber */
40028
40010
  referenceNumber?: string | null;
40029
- department: components["schemas"]["DepartmentCommonSchema"];
40011
+ department?: components["schemas"]["DepartmentCommonSchema"] | null;
40030
40012
  warehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
40031
40013
  /** Usdrate */
40032
40014
  usdRate: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1222",
3
+ "version": "1.0.1223",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],