@nextplus/js-sdk 0.0.10 → 0.0.12
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/README.md +404 -35
- package/dist/{chunk-GMJM2AK6.js → chunk-ASHZA665.js} +1 -1
- package/dist/{chunk-O65NPNYE.js → chunk-PEBCO4EJ.js} +79 -78
- package/dist/{index-DP-keAMv.d.ts → index-9b6z3K2x.d.cts} +1 -1
- package/dist/{index-Dwy0Oyyf.d.cts → index-NQKQN8wR.d.ts} +1 -1
- package/dist/index.cjs +426 -112
- package/dist/index.d.cts +41 -27
- package/dist/index.d.ts +41 -27
- package/dist/index.js +348 -36
- package/dist/sdk/index.cjs +78 -78
- package/dist/sdk/index.d.cts +1 -1
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.js +2 -2
- package/dist/sdk/sdk.gen.cjs +78 -78
- package/dist/sdk/sdk.gen.d.cts +1 -1
- package/dist/sdk/sdk.gen.d.ts +1 -1
- package/dist/sdk/sdk.gen.js +1 -1
- package/dist/{sdk.gen-BntcMIIs.d.cts → sdk.gen-P3Z3oO-Q.d.ts} +559 -434
- package/dist/{sdk.gen-k17BtAsz.d.ts → sdk.gen-kGvktS0r.d.cts} +559 -434
- package/package.json +12 -4
- package/src/index.ts +256 -76
- package/src/sdk/sdk.gen.ts +117 -117
- package/src/sdk/types.gen.ts +518 -393
- package/src/smoke.ts +582 -71
package/src/sdk/sdk.gen.ts
CHANGED
|
@@ -4395,9 +4395,9 @@ export class DocumentService {
|
|
|
4395
4395
|
}
|
|
4396
4396
|
|
|
4397
4397
|
public static deleteDocument<ThrowOnError extends boolean = false>(
|
|
4398
|
-
options
|
|
4398
|
+
options?: Options<DocumentDeleteDocumentData, ThrowOnError>,
|
|
4399
4399
|
) {
|
|
4400
|
-
return (options
|
|
4400
|
+
return (options?.client ?? _heyApiClient).post<
|
|
4401
4401
|
DocumentDeleteDocumentResponses,
|
|
4402
4402
|
unknown,
|
|
4403
4403
|
ThrowOnError
|
|
@@ -4406,7 +4406,7 @@ export class DocumentService {
|
|
|
4406
4406
|
...options,
|
|
4407
4407
|
headers: {
|
|
4408
4408
|
'Content-Type': 'application/json',
|
|
4409
|
-
...options
|
|
4409
|
+
...options?.headers,
|
|
4410
4410
|
},
|
|
4411
4411
|
});
|
|
4412
4412
|
}
|
|
@@ -4446,9 +4446,9 @@ export class DocumentService {
|
|
|
4446
4446
|
}
|
|
4447
4447
|
|
|
4448
4448
|
public static revertVersion<ThrowOnError extends boolean = false>(
|
|
4449
|
-
options
|
|
4449
|
+
options?: Options<DocumentRevertVersionData, ThrowOnError>,
|
|
4450
4450
|
) {
|
|
4451
|
-
return (options
|
|
4451
|
+
return (options?.client ?? _heyApiClient).post<
|
|
4452
4452
|
DocumentRevertVersionResponses,
|
|
4453
4453
|
unknown,
|
|
4454
4454
|
ThrowOnError
|
|
@@ -4457,7 +4457,7 @@ export class DocumentService {
|
|
|
4457
4457
|
...options,
|
|
4458
4458
|
headers: {
|
|
4459
4459
|
'Content-Type': 'application/json',
|
|
4460
|
-
...options
|
|
4460
|
+
...options?.headers,
|
|
4461
4461
|
},
|
|
4462
4462
|
});
|
|
4463
4463
|
}
|
|
@@ -6703,9 +6703,9 @@ export class PartAssemblyService {
|
|
|
6703
6703
|
}
|
|
6704
6704
|
|
|
6705
6705
|
public static addPartAssembly<ThrowOnError extends boolean = false>(
|
|
6706
|
-
options
|
|
6706
|
+
options?: Options<PartAssemblyAddPartAssemblyData, ThrowOnError>,
|
|
6707
6707
|
) {
|
|
6708
|
-
return (options
|
|
6708
|
+
return (options?.client ?? _heyApiClient).post<
|
|
6709
6709
|
PartAssemblyAddPartAssemblyResponses,
|
|
6710
6710
|
unknown,
|
|
6711
6711
|
ThrowOnError
|
|
@@ -6714,15 +6714,15 @@ export class PartAssemblyService {
|
|
|
6714
6714
|
...options,
|
|
6715
6715
|
headers: {
|
|
6716
6716
|
'Content-Type': 'application/json',
|
|
6717
|
-
...options
|
|
6717
|
+
...options?.headers,
|
|
6718
6718
|
},
|
|
6719
6719
|
});
|
|
6720
6720
|
}
|
|
6721
6721
|
|
|
6722
6722
|
public static savePartAssembly<ThrowOnError extends boolean = false>(
|
|
6723
|
-
options
|
|
6723
|
+
options?: Options<PartAssemblySavePartAssemblyData, ThrowOnError>,
|
|
6724
6724
|
) {
|
|
6725
|
-
return (options
|
|
6725
|
+
return (options?.client ?? _heyApiClient).post<
|
|
6726
6726
|
PartAssemblySavePartAssemblyResponses,
|
|
6727
6727
|
unknown,
|
|
6728
6728
|
ThrowOnError
|
|
@@ -6731,15 +6731,15 @@ export class PartAssemblyService {
|
|
|
6731
6731
|
...options,
|
|
6732
6732
|
headers: {
|
|
6733
6733
|
'Content-Type': 'application/json',
|
|
6734
|
-
...options
|
|
6734
|
+
...options?.headers,
|
|
6735
6735
|
},
|
|
6736
6736
|
});
|
|
6737
6737
|
}
|
|
6738
6738
|
|
|
6739
6739
|
public static bulkImportParts<ThrowOnError extends boolean = false>(
|
|
6740
|
-
options
|
|
6740
|
+
options?: Options<PartAssemblyBulkImportPartsData, ThrowOnError>,
|
|
6741
6741
|
) {
|
|
6742
|
-
return (options
|
|
6742
|
+
return (options?.client ?? _heyApiClient).post<
|
|
6743
6743
|
PartAssemblyBulkImportPartsResponses,
|
|
6744
6744
|
unknown,
|
|
6745
6745
|
ThrowOnError
|
|
@@ -6748,15 +6748,15 @@ export class PartAssemblyService {
|
|
|
6748
6748
|
...options,
|
|
6749
6749
|
headers: {
|
|
6750
6750
|
'Content-Type': 'application/json',
|
|
6751
|
-
...options
|
|
6751
|
+
...options?.headers,
|
|
6752
6752
|
},
|
|
6753
6753
|
});
|
|
6754
6754
|
}
|
|
6755
6755
|
|
|
6756
6756
|
public static bulkChangeParts<ThrowOnError extends boolean = false>(
|
|
6757
|
-
options
|
|
6757
|
+
options?: Options<PartAssemblyBulkChangePartsData, ThrowOnError>,
|
|
6758
6758
|
) {
|
|
6759
|
-
return (options
|
|
6759
|
+
return (options?.client ?? _heyApiClient).post<
|
|
6760
6760
|
PartAssemblyBulkChangePartsResponses,
|
|
6761
6761
|
unknown,
|
|
6762
6762
|
ThrowOnError
|
|
@@ -6765,7 +6765,7 @@ export class PartAssemblyService {
|
|
|
6765
6765
|
...options,
|
|
6766
6766
|
headers: {
|
|
6767
6767
|
'Content-Type': 'application/json',
|
|
6768
|
-
...options
|
|
6768
|
+
...options?.headers,
|
|
6769
6769
|
},
|
|
6770
6770
|
});
|
|
6771
6771
|
}
|
|
@@ -6784,9 +6784,9 @@ export class PartAssemblyService {
|
|
|
6784
6784
|
}
|
|
6785
6785
|
|
|
6786
6786
|
public static importModels<ThrowOnError extends boolean = false>(
|
|
6787
|
-
options
|
|
6787
|
+
options?: Options<PartAssemblyImportModelsData, ThrowOnError>,
|
|
6788
6788
|
) {
|
|
6789
|
-
return (options
|
|
6789
|
+
return (options?.client ?? _heyApiClient).post<
|
|
6790
6790
|
PartAssemblyImportModelsResponses,
|
|
6791
6791
|
unknown,
|
|
6792
6792
|
ThrowOnError
|
|
@@ -6795,15 +6795,15 @@ export class PartAssemblyService {
|
|
|
6795
6795
|
...options,
|
|
6796
6796
|
headers: {
|
|
6797
6797
|
'Content-Type': 'application/json',
|
|
6798
|
-
...options
|
|
6798
|
+
...options?.headers,
|
|
6799
6799
|
},
|
|
6800
6800
|
});
|
|
6801
6801
|
}
|
|
6802
6802
|
|
|
6803
6803
|
public static findParts<ThrowOnError extends boolean = false>(
|
|
6804
|
-
options
|
|
6804
|
+
options?: Options<PartAssemblyFindPartsData, ThrowOnError>,
|
|
6805
6805
|
) {
|
|
6806
|
-
return (options
|
|
6806
|
+
return (options?.client ?? _heyApiClient).post<
|
|
6807
6807
|
PartAssemblyFindPartsResponses,
|
|
6808
6808
|
unknown,
|
|
6809
6809
|
ThrowOnError
|
|
@@ -6812,7 +6812,7 @@ export class PartAssemblyService {
|
|
|
6812
6812
|
...options,
|
|
6813
6813
|
headers: {
|
|
6814
6814
|
'Content-Type': 'application/json',
|
|
6815
|
-
...options
|
|
6815
|
+
...options?.headers,
|
|
6816
6816
|
},
|
|
6817
6817
|
});
|
|
6818
6818
|
}
|
|
@@ -9183,9 +9183,9 @@ export class UserModelService {
|
|
|
9183
9183
|
}
|
|
9184
9184
|
|
|
9185
9185
|
public static createNewUser<ThrowOnError extends boolean = false>(
|
|
9186
|
-
options
|
|
9186
|
+
options?: Options<UserModelCreateNewUserData, ThrowOnError>,
|
|
9187
9187
|
) {
|
|
9188
|
-
return (options
|
|
9188
|
+
return (options?.client ?? _heyApiClient).post<
|
|
9189
9189
|
UserModelCreateNewUserResponses,
|
|
9190
9190
|
unknown,
|
|
9191
9191
|
ThrowOnError
|
|
@@ -9194,7 +9194,7 @@ export class UserModelService {
|
|
|
9194
9194
|
...options,
|
|
9195
9195
|
headers: {
|
|
9196
9196
|
'Content-Type': 'application/json',
|
|
9197
|
-
...options
|
|
9197
|
+
...options?.headers,
|
|
9198
9198
|
},
|
|
9199
9199
|
});
|
|
9200
9200
|
}
|
|
@@ -12307,9 +12307,9 @@ export class WorkflowService {
|
|
|
12307
12307
|
* Softdelete workflow by id (recordId)
|
|
12308
12308
|
*/
|
|
12309
12309
|
public static deleteByWorkflowId<ThrowOnError extends boolean = false>(
|
|
12310
|
-
options
|
|
12310
|
+
options?: Options<WorkflowDeleteByWorkflowIdData, ThrowOnError>,
|
|
12311
12311
|
) {
|
|
12312
|
-
return (options
|
|
12312
|
+
return (options?.client ?? _heyApiClient).post<
|
|
12313
12313
|
WorkflowDeleteByWorkflowIdResponses,
|
|
12314
12314
|
unknown,
|
|
12315
12315
|
ThrowOnError
|
|
@@ -12319,7 +12319,7 @@ export class WorkflowService {
|
|
|
12319
12319
|
...options,
|
|
12320
12320
|
headers: {
|
|
12321
12321
|
'Content-Type': 'application/json',
|
|
12322
|
-
...options
|
|
12322
|
+
...options?.headers,
|
|
12323
12323
|
},
|
|
12324
12324
|
});
|
|
12325
12325
|
}
|
|
@@ -12657,9 +12657,9 @@ export class WorkflowService {
|
|
|
12657
12657
|
}
|
|
12658
12658
|
|
|
12659
12659
|
public static createWorkflow<ThrowOnError extends boolean = false>(
|
|
12660
|
-
options
|
|
12660
|
+
options?: Options<WorkflowCreateWorkflowData, ThrowOnError>,
|
|
12661
12661
|
) {
|
|
12662
|
-
return (options
|
|
12662
|
+
return (options?.client ?? _heyApiClient).post<
|
|
12663
12663
|
WorkflowCreateWorkflowResponses,
|
|
12664
12664
|
unknown,
|
|
12665
12665
|
ThrowOnError
|
|
@@ -12668,7 +12668,7 @@ export class WorkflowService {
|
|
|
12668
12668
|
...options,
|
|
12669
12669
|
headers: {
|
|
12670
12670
|
'Content-Type': 'application/json',
|
|
12671
|
-
...options
|
|
12671
|
+
...options?.headers,
|
|
12672
12672
|
},
|
|
12673
12673
|
});
|
|
12674
12674
|
}
|
|
@@ -12835,9 +12835,9 @@ export class WorkflowService {
|
|
|
12835
12835
|
|
|
12836
12836
|
export class AiService {
|
|
12837
12837
|
public static completion<ThrowOnError extends boolean = false>(
|
|
12838
|
-
options
|
|
12838
|
+
options?: Options<AiCompletionData, ThrowOnError>,
|
|
12839
12839
|
) {
|
|
12840
|
-
return (options
|
|
12840
|
+
return (options?.client ?? _heyApiClient).post<
|
|
12841
12841
|
AiCompletionResponses,
|
|
12842
12842
|
unknown,
|
|
12843
12843
|
ThrowOnError
|
|
@@ -12846,7 +12846,7 @@ export class AiService {
|
|
|
12846
12846
|
...options,
|
|
12847
12847
|
headers: {
|
|
12848
12848
|
'Content-Type': 'application/json',
|
|
12849
|
-
...options
|
|
12849
|
+
...options?.headers,
|
|
12850
12850
|
},
|
|
12851
12851
|
});
|
|
12852
12852
|
}
|
|
@@ -15129,9 +15129,9 @@ export class ToolService {
|
|
|
15129
15129
|
* Import tools and serials from CSV-like data with validation
|
|
15130
15130
|
*/
|
|
15131
15131
|
public static importTools<ThrowOnError extends boolean = false>(
|
|
15132
|
-
options
|
|
15132
|
+
options?: Options<ToolImportToolsData, ThrowOnError>,
|
|
15133
15133
|
) {
|
|
15134
|
-
return (options
|
|
15134
|
+
return (options?.client ?? _heyApiClient).post<
|
|
15135
15135
|
ToolImportToolsResponses,
|
|
15136
15136
|
unknown,
|
|
15137
15137
|
ThrowOnError
|
|
@@ -15140,7 +15140,7 @@ export class ToolService {
|
|
|
15140
15140
|
...options,
|
|
15141
15141
|
headers: {
|
|
15142
15142
|
'Content-Type': 'application/json',
|
|
15143
|
-
...options
|
|
15143
|
+
...options?.headers,
|
|
15144
15144
|
},
|
|
15145
15145
|
});
|
|
15146
15146
|
}
|
|
@@ -15626,9 +15626,9 @@ export class FieldService {
|
|
|
15626
15626
|
}
|
|
15627
15627
|
|
|
15628
15628
|
public static getFieldsWithInnerFields<ThrowOnError extends boolean = false>(
|
|
15629
|
-
options
|
|
15629
|
+
options?: Options<FieldGetFieldsWithInnerFieldsData, ThrowOnError>,
|
|
15630
15630
|
) {
|
|
15631
|
-
return (options
|
|
15631
|
+
return (options?.client ?? _heyApiClient).post<
|
|
15632
15632
|
FieldGetFieldsWithInnerFieldsResponses,
|
|
15633
15633
|
unknown,
|
|
15634
15634
|
ThrowOnError
|
|
@@ -15637,7 +15637,7 @@ export class FieldService {
|
|
|
15637
15637
|
...options,
|
|
15638
15638
|
headers: {
|
|
15639
15639
|
'Content-Type': 'application/json',
|
|
15640
|
-
...options
|
|
15640
|
+
...options?.headers,
|
|
15641
15641
|
},
|
|
15642
15642
|
});
|
|
15643
15643
|
}
|
|
@@ -16049,12 +16049,12 @@ export class WorkorderService {
|
|
|
16049
16049
|
public static createMultipleWorkordersFromTemplate<
|
|
16050
16050
|
ThrowOnError extends boolean = false,
|
|
16051
16051
|
>(
|
|
16052
|
-
options
|
|
16052
|
+
options?: Options<
|
|
16053
16053
|
WorkorderCreateMultipleWorkordersFromTemplateData,
|
|
16054
16054
|
ThrowOnError
|
|
16055
16055
|
>,
|
|
16056
16056
|
) {
|
|
16057
|
-
return (options
|
|
16057
|
+
return (options?.client ?? _heyApiClient).post<
|
|
16058
16058
|
WorkorderCreateMultipleWorkordersFromTemplateResponses,
|
|
16059
16059
|
unknown,
|
|
16060
16060
|
ThrowOnError
|
|
@@ -16063,7 +16063,7 @@ export class WorkorderService {
|
|
|
16063
16063
|
...options,
|
|
16064
16064
|
headers: {
|
|
16065
16065
|
'Content-Type': 'application/json',
|
|
16066
|
-
...options
|
|
16066
|
+
...options?.headers,
|
|
16067
16067
|
},
|
|
16068
16068
|
});
|
|
16069
16069
|
}
|
|
@@ -16553,9 +16553,9 @@ export class StockService {
|
|
|
16553
16553
|
* Validate stock kit items
|
|
16554
16554
|
*/
|
|
16555
16555
|
public static validateLocalSerials<ThrowOnError extends boolean = false>(
|
|
16556
|
-
options
|
|
16556
|
+
options?: Options<StockValidateLocalSerialsData, ThrowOnError>,
|
|
16557
16557
|
) {
|
|
16558
|
-
return (options
|
|
16558
|
+
return (options?.client ?? _heyApiClient).post<
|
|
16559
16559
|
StockValidateLocalSerialsResponses,
|
|
16560
16560
|
unknown,
|
|
16561
16561
|
ThrowOnError
|
|
@@ -16564,7 +16564,7 @@ export class StockService {
|
|
|
16564
16564
|
...options,
|
|
16565
16565
|
headers: {
|
|
16566
16566
|
'Content-Type': 'application/json',
|
|
16567
|
-
...options
|
|
16567
|
+
...options?.headers,
|
|
16568
16568
|
},
|
|
16569
16569
|
});
|
|
16570
16570
|
}
|
|
@@ -16622,9 +16622,9 @@ export class StockService {
|
|
|
16622
16622
|
}
|
|
16623
16623
|
|
|
16624
16624
|
public static createManualStock<ThrowOnError extends boolean = false>(
|
|
16625
|
-
options
|
|
16625
|
+
options?: Options<StockCreateManualStockData, ThrowOnError>,
|
|
16626
16626
|
) {
|
|
16627
|
-
return (options
|
|
16627
|
+
return (options?.client ?? _heyApiClient).post<
|
|
16628
16628
|
StockCreateManualStockResponses,
|
|
16629
16629
|
unknown,
|
|
16630
16630
|
ThrowOnError
|
|
@@ -16633,15 +16633,15 @@ export class StockService {
|
|
|
16633
16633
|
...options,
|
|
16634
16634
|
headers: {
|
|
16635
16635
|
'Content-Type': 'application/json',
|
|
16636
|
-
...options
|
|
16636
|
+
...options?.headers,
|
|
16637
16637
|
},
|
|
16638
16638
|
});
|
|
16639
16639
|
}
|
|
16640
16640
|
|
|
16641
16641
|
public static createApprovedStocks<ThrowOnError extends boolean = false>(
|
|
16642
|
-
options
|
|
16642
|
+
options?: Options<StockCreateApprovedStocksData, ThrowOnError>,
|
|
16643
16643
|
) {
|
|
16644
|
-
return (options
|
|
16644
|
+
return (options?.client ?? _heyApiClient).post<
|
|
16645
16645
|
StockCreateApprovedStocksResponses,
|
|
16646
16646
|
unknown,
|
|
16647
16647
|
ThrowOnError
|
|
@@ -16650,7 +16650,7 @@ export class StockService {
|
|
|
16650
16650
|
...options,
|
|
16651
16651
|
headers: {
|
|
16652
16652
|
'Content-Type': 'application/json',
|
|
16653
|
-
...options
|
|
16653
|
+
...options?.headers,
|
|
16654
16654
|
},
|
|
16655
16655
|
});
|
|
16656
16656
|
}
|
|
@@ -18037,9 +18037,9 @@ export class GroupService {
|
|
|
18037
18037
|
}
|
|
18038
18038
|
|
|
18039
18039
|
public static deleteGroup<ThrowOnError extends boolean = false>(
|
|
18040
|
-
options
|
|
18040
|
+
options?: Options<GroupDeleteGroupData, ThrowOnError>,
|
|
18041
18041
|
) {
|
|
18042
|
-
return (options
|
|
18042
|
+
return (options?.client ?? _heyApiClient).post<
|
|
18043
18043
|
GroupDeleteGroupResponses,
|
|
18044
18044
|
unknown,
|
|
18045
18045
|
ThrowOnError
|
|
@@ -18048,7 +18048,7 @@ export class GroupService {
|
|
|
18048
18048
|
...options,
|
|
18049
18049
|
headers: {
|
|
18050
18050
|
'Content-Type': 'application/json',
|
|
18051
|
-
...options
|
|
18051
|
+
...options?.headers,
|
|
18052
18052
|
},
|
|
18053
18053
|
});
|
|
18054
18054
|
}
|
|
@@ -18148,9 +18148,9 @@ export class CategoryService {
|
|
|
18148
18148
|
}
|
|
18149
18149
|
|
|
18150
18150
|
public static deleteCategory<ThrowOnError extends boolean = false>(
|
|
18151
|
-
options
|
|
18151
|
+
options?: Options<CategoryDeleteCategoryData, ThrowOnError>,
|
|
18152
18152
|
) {
|
|
18153
|
-
return (options
|
|
18153
|
+
return (options?.client ?? _heyApiClient).post<
|
|
18154
18154
|
CategoryDeleteCategoryResponses,
|
|
18155
18155
|
unknown,
|
|
18156
18156
|
ThrowOnError
|
|
@@ -18159,7 +18159,7 @@ export class CategoryService {
|
|
|
18159
18159
|
...options,
|
|
18160
18160
|
headers: {
|
|
18161
18161
|
'Content-Type': 'application/json',
|
|
18162
|
-
...options
|
|
18162
|
+
...options?.headers,
|
|
18163
18163
|
},
|
|
18164
18164
|
});
|
|
18165
18165
|
}
|
|
@@ -20106,9 +20106,9 @@ export class CustomFieldService {
|
|
|
20106
20106
|
}
|
|
20107
20107
|
|
|
20108
20108
|
public static deleteCustomField<ThrowOnError extends boolean = false>(
|
|
20109
|
-
options
|
|
20109
|
+
options?: Options<CustomFieldDeleteCustomFieldData, ThrowOnError>,
|
|
20110
20110
|
) {
|
|
20111
|
-
return (options
|
|
20111
|
+
return (options?.client ?? _heyApiClient).post<
|
|
20112
20112
|
CustomFieldDeleteCustomFieldResponses,
|
|
20113
20113
|
unknown,
|
|
20114
20114
|
ThrowOnError
|
|
@@ -20117,7 +20117,7 @@ export class CustomFieldService {
|
|
|
20117
20117
|
...options,
|
|
20118
20118
|
headers: {
|
|
20119
20119
|
'Content-Type': 'application/json',
|
|
20120
|
-
...options
|
|
20120
|
+
...options?.headers,
|
|
20121
20121
|
},
|
|
20122
20122
|
});
|
|
20123
20123
|
}
|
|
@@ -20251,9 +20251,9 @@ export class FormService {
|
|
|
20251
20251
|
}
|
|
20252
20252
|
|
|
20253
20253
|
public static performFormDataRestart<ThrowOnError extends boolean = false>(
|
|
20254
|
-
options
|
|
20254
|
+
options?: Options<FormPerformFormDataRestartData, ThrowOnError>,
|
|
20255
20255
|
) {
|
|
20256
|
-
return (options
|
|
20256
|
+
return (options?.client ?? _heyApiClient).post<
|
|
20257
20257
|
FormPerformFormDataRestartResponses,
|
|
20258
20258
|
unknown,
|
|
20259
20259
|
ThrowOnError
|
|
@@ -20262,7 +20262,7 @@ export class FormService {
|
|
|
20262
20262
|
...options,
|
|
20263
20263
|
headers: {
|
|
20264
20264
|
'Content-Type': 'application/json',
|
|
20265
|
-
...options
|
|
20265
|
+
...options?.headers,
|
|
20266
20266
|
},
|
|
20267
20267
|
});
|
|
20268
20268
|
}
|
|
@@ -20984,9 +20984,9 @@ export class FormDataService {
|
|
|
20984
20984
|
}
|
|
20985
20985
|
|
|
20986
20986
|
public static findInstance<ThrowOnError extends boolean = false>(
|
|
20987
|
-
options
|
|
20987
|
+
options?: Options<FormDataFindInstanceData, ThrowOnError>,
|
|
20988
20988
|
) {
|
|
20989
|
-
return (options
|
|
20989
|
+
return (options?.client ?? _heyApiClient).post<
|
|
20990
20990
|
FormDataFindInstanceResponses,
|
|
20991
20991
|
unknown,
|
|
20992
20992
|
ThrowOnError
|
|
@@ -20995,7 +20995,7 @@ export class FormDataService {
|
|
|
20995
20995
|
...options,
|
|
20996
20996
|
headers: {
|
|
20997
20997
|
'Content-Type': 'application/json',
|
|
20998
|
-
...options
|
|
20998
|
+
...options?.headers,
|
|
20999
20999
|
},
|
|
21000
21000
|
});
|
|
21001
21001
|
}
|
|
@@ -21065,9 +21065,9 @@ export class FormDataService {
|
|
|
21065
21065
|
}
|
|
21066
21066
|
|
|
21067
21067
|
public static findRelatedForms<ThrowOnError extends boolean = false>(
|
|
21068
|
-
options
|
|
21068
|
+
options?: Options<FormDataFindRelatedFormsData, ThrowOnError>,
|
|
21069
21069
|
) {
|
|
21070
|
-
return (options
|
|
21070
|
+
return (options?.client ?? _heyApiClient).post<
|
|
21071
21071
|
FormDataFindRelatedFormsResponses,
|
|
21072
21072
|
unknown,
|
|
21073
21073
|
ThrowOnError
|
|
@@ -21076,7 +21076,7 @@ export class FormDataService {
|
|
|
21076
21076
|
...options,
|
|
21077
21077
|
headers: {
|
|
21078
21078
|
'Content-Type': 'application/json',
|
|
21079
|
-
...options
|
|
21079
|
+
...options?.headers,
|
|
21080
21080
|
},
|
|
21081
21081
|
});
|
|
21082
21082
|
}
|
|
@@ -21211,9 +21211,9 @@ export class FormDataService {
|
|
|
21211
21211
|
}
|
|
21212
21212
|
|
|
21213
21213
|
public static getFormsForSession<ThrowOnError extends boolean = false>(
|
|
21214
|
-
options
|
|
21214
|
+
options?: Options<FormDataGetFormsForSessionData, ThrowOnError>,
|
|
21215
21215
|
) {
|
|
21216
|
-
return (options
|
|
21216
|
+
return (options?.client ?? _heyApiClient).post<
|
|
21217
21217
|
FormDataGetFormsForSessionResponses,
|
|
21218
21218
|
unknown,
|
|
21219
21219
|
ThrowOnError
|
|
@@ -21222,7 +21222,7 @@ export class FormDataService {
|
|
|
21222
21222
|
...options,
|
|
21223
21223
|
headers: {
|
|
21224
21224
|
'Content-Type': 'application/json',
|
|
21225
|
-
...options
|
|
21225
|
+
...options?.headers,
|
|
21226
21226
|
},
|
|
21227
21227
|
});
|
|
21228
21228
|
}
|
|
@@ -21769,9 +21769,9 @@ export class WorkflowSessionItemService {
|
|
|
21769
21769
|
}
|
|
21770
21770
|
|
|
21771
21771
|
public static getNptVariableValue<ThrowOnError extends boolean = false>(
|
|
21772
|
-
options
|
|
21772
|
+
options?: Options<WorkflowSessionItemGetNptVariableValueData, ThrowOnError>,
|
|
21773
21773
|
) {
|
|
21774
|
-
return (options
|
|
21774
|
+
return (options?.client ?? _heyApiClient).post<
|
|
21775
21775
|
WorkflowSessionItemGetNptVariableValueResponses,
|
|
21776
21776
|
unknown,
|
|
21777
21777
|
ThrowOnError
|
|
@@ -21780,7 +21780,7 @@ export class WorkflowSessionItemService {
|
|
|
21780
21780
|
...options,
|
|
21781
21781
|
headers: {
|
|
21782
21782
|
'Content-Type': 'application/json',
|
|
21783
|
-
...options
|
|
21783
|
+
...options?.headers,
|
|
21784
21784
|
},
|
|
21785
21785
|
});
|
|
21786
21786
|
}
|
|
@@ -21789,9 +21789,9 @@ export class WorkflowSessionItemService {
|
|
|
21789
21789
|
* Update the time reports for a specific session
|
|
21790
21790
|
*/
|
|
21791
21791
|
public static updateTimeReports<ThrowOnError extends boolean = false>(
|
|
21792
|
-
options
|
|
21792
|
+
options?: Options<WorkflowSessionItemUpdateTimeReportsData, ThrowOnError>,
|
|
21793
21793
|
) {
|
|
21794
|
-
return (options
|
|
21794
|
+
return (options?.client ?? _heyApiClient).post<
|
|
21795
21795
|
WorkflowSessionItemUpdateTimeReportsResponses,
|
|
21796
21796
|
unknown,
|
|
21797
21797
|
ThrowOnError
|
|
@@ -21802,7 +21802,7 @@ export class WorkflowSessionItemService {
|
|
|
21802
21802
|
...options,
|
|
21803
21803
|
headers: {
|
|
21804
21804
|
'Content-Type': 'application/json',
|
|
21805
|
-
...options
|
|
21805
|
+
...options?.headers,
|
|
21806
21806
|
},
|
|
21807
21807
|
});
|
|
21808
21808
|
}
|
|
@@ -23244,9 +23244,9 @@ export class SyncService {
|
|
|
23244
23244
|
}
|
|
23245
23245
|
|
|
23246
23246
|
public static getResourceZipByIds<ThrowOnError extends boolean = false>(
|
|
23247
|
-
options
|
|
23247
|
+
options?: Options<SyncGetResourceZipByIdsData, ThrowOnError>,
|
|
23248
23248
|
) {
|
|
23249
|
-
return (options
|
|
23249
|
+
return (options?.client ?? _heyApiClient).post<
|
|
23250
23250
|
SyncGetResourceZipByIdsResponses,
|
|
23251
23251
|
unknown,
|
|
23252
23252
|
ThrowOnError
|
|
@@ -23255,7 +23255,7 @@ export class SyncService {
|
|
|
23255
23255
|
...options,
|
|
23256
23256
|
headers: {
|
|
23257
23257
|
'Content-Type': 'application/json',
|
|
23258
|
-
...options
|
|
23258
|
+
...options?.headers,
|
|
23259
23259
|
},
|
|
23260
23260
|
});
|
|
23261
23261
|
}
|
|
@@ -24239,9 +24239,9 @@ export class FileParserService {
|
|
|
24239
24239
|
}
|
|
24240
24240
|
|
|
24241
24241
|
public static notify<ThrowOnError extends boolean = false>(
|
|
24242
|
-
options
|
|
24242
|
+
options?: Options<FileParserNotifyData, ThrowOnError>,
|
|
24243
24243
|
) {
|
|
24244
|
-
return (options
|
|
24244
|
+
return (options?.client ?? _heyApiClient).post<
|
|
24245
24245
|
FileParserNotifyResponses,
|
|
24246
24246
|
unknown,
|
|
24247
24247
|
ThrowOnError
|
|
@@ -24250,7 +24250,7 @@ export class FileParserService {
|
|
|
24250
24250
|
...options,
|
|
24251
24251
|
headers: {
|
|
24252
24252
|
'Content-Type': 'application/json',
|
|
24253
|
-
...options
|
|
24253
|
+
...options?.headers,
|
|
24254
24254
|
},
|
|
24255
24255
|
});
|
|
24256
24256
|
}
|
|
@@ -25126,9 +25126,9 @@ export class WorkflowTypeService {
|
|
|
25126
25126
|
* Update the time reports for a specific session
|
|
25127
25127
|
*/
|
|
25128
25128
|
public static bulkSave<ThrowOnError extends boolean = false>(
|
|
25129
|
-
options
|
|
25129
|
+
options?: Options<WorkflowTypeBulkSaveData, ThrowOnError>,
|
|
25130
25130
|
) {
|
|
25131
|
-
return (options
|
|
25131
|
+
return (options?.client ?? _heyApiClient).post<
|
|
25132
25132
|
WorkflowTypeBulkSaveResponses,
|
|
25133
25133
|
unknown,
|
|
25134
25134
|
ThrowOnError
|
|
@@ -25137,7 +25137,7 @@ export class WorkflowTypeService {
|
|
|
25137
25137
|
...options,
|
|
25138
25138
|
headers: {
|
|
25139
25139
|
'Content-Type': 'application/json',
|
|
25140
|
-
...options
|
|
25140
|
+
...options?.headers,
|
|
25141
25141
|
},
|
|
25142
25142
|
});
|
|
25143
25143
|
}
|
|
@@ -25219,9 +25219,9 @@ export class WorkorderStatusService {
|
|
|
25219
25219
|
* Bulk save of workorder statuses
|
|
25220
25220
|
*/
|
|
25221
25221
|
public static bulkSave<ThrowOnError extends boolean = false>(
|
|
25222
|
-
options
|
|
25222
|
+
options?: Options<WorkorderStatusBulkSaveData, ThrowOnError>,
|
|
25223
25223
|
) {
|
|
25224
|
-
return (options
|
|
25224
|
+
return (options?.client ?? _heyApiClient).post<
|
|
25225
25225
|
WorkorderStatusBulkSaveResponses,
|
|
25226
25226
|
unknown,
|
|
25227
25227
|
ThrowOnError
|
|
@@ -25230,7 +25230,7 @@ export class WorkorderStatusService {
|
|
|
25230
25230
|
...options,
|
|
25231
25231
|
headers: {
|
|
25232
25232
|
'Content-Type': 'application/json',
|
|
25233
|
-
...options
|
|
25233
|
+
...options?.headers,
|
|
25234
25234
|
},
|
|
25235
25235
|
});
|
|
25236
25236
|
}
|
|
@@ -25561,9 +25561,9 @@ export class TimeLogReportService {
|
|
|
25561
25561
|
* add time log
|
|
25562
25562
|
*/
|
|
25563
25563
|
public static addTimeRecord<ThrowOnError extends boolean = false>(
|
|
25564
|
-
options
|
|
25564
|
+
options?: Options<TimeLogReportAddTimeRecordData, ThrowOnError>,
|
|
25565
25565
|
) {
|
|
25566
|
-
return (options
|
|
25566
|
+
return (options?.client ?? _heyApiClient).post<
|
|
25567
25567
|
TimeLogReportAddTimeRecordResponses,
|
|
25568
25568
|
unknown,
|
|
25569
25569
|
ThrowOnError
|
|
@@ -25572,7 +25572,7 @@ export class TimeLogReportService {
|
|
|
25572
25572
|
...options,
|
|
25573
25573
|
headers: {
|
|
25574
25574
|
'Content-Type': 'application/json',
|
|
25575
|
-
...options
|
|
25575
|
+
...options?.headers,
|
|
25576
25576
|
},
|
|
25577
25577
|
});
|
|
25578
25578
|
}
|
|
@@ -25698,9 +25698,9 @@ export class PriorityService {
|
|
|
25698
25698
|
}
|
|
25699
25699
|
|
|
25700
25700
|
public static saveSettings<ThrowOnError extends boolean = false>(
|
|
25701
|
-
options
|
|
25701
|
+
options?: Options<PrioritySaveSettingsData, ThrowOnError>,
|
|
25702
25702
|
) {
|
|
25703
|
-
return (options
|
|
25703
|
+
return (options?.client ?? _heyApiClient).post<
|
|
25704
25704
|
PrioritySaveSettingsResponses,
|
|
25705
25705
|
unknown,
|
|
25706
25706
|
ThrowOnError
|
|
@@ -25709,7 +25709,7 @@ export class PriorityService {
|
|
|
25709
25709
|
...options,
|
|
25710
25710
|
headers: {
|
|
25711
25711
|
'Content-Type': 'application/json',
|
|
25712
|
-
...options
|
|
25712
|
+
...options?.headers,
|
|
25713
25713
|
},
|
|
25714
25714
|
});
|
|
25715
25715
|
}
|
|
@@ -27198,9 +27198,9 @@ export class ProductionEntityService {
|
|
|
27198
27198
|
* Get the related mapping of a stock
|
|
27199
27199
|
*/
|
|
27200
27200
|
public static getStockRelatedMapping<ThrowOnError extends boolean = false>(
|
|
27201
|
-
options
|
|
27201
|
+
options?: Options<ProductionEntityGetStockRelatedMappingData, ThrowOnError>,
|
|
27202
27202
|
) {
|
|
27203
|
-
return (options
|
|
27203
|
+
return (options?.client ?? _heyApiClient).post<
|
|
27204
27204
|
ProductionEntityGetStockRelatedMappingResponses,
|
|
27205
27205
|
unknown,
|
|
27206
27206
|
ThrowOnError
|
|
@@ -27209,7 +27209,7 @@ export class ProductionEntityService {
|
|
|
27209
27209
|
...options,
|
|
27210
27210
|
headers: {
|
|
27211
27211
|
'Content-Type': 'application/json',
|
|
27212
|
-
...options
|
|
27212
|
+
...options?.headers,
|
|
27213
27213
|
},
|
|
27214
27214
|
});
|
|
27215
27215
|
}
|
|
@@ -28511,9 +28511,9 @@ export class OpcUaServerService {
|
|
|
28511
28511
|
* Test connection to OPC UA server
|
|
28512
28512
|
*/
|
|
28513
28513
|
public static testConnection<ThrowOnError extends boolean = false>(
|
|
28514
|
-
options
|
|
28514
|
+
options?: Options<OpcUaServerTestConnectionData, ThrowOnError>,
|
|
28515
28515
|
) {
|
|
28516
|
-
return (options
|
|
28516
|
+
return (options?.client ?? _heyApiClient).post<
|
|
28517
28517
|
OpcUaServerTestConnectionResponses,
|
|
28518
28518
|
unknown,
|
|
28519
28519
|
ThrowOnError
|
|
@@ -28522,7 +28522,7 @@ export class OpcUaServerService {
|
|
|
28522
28522
|
...options,
|
|
28523
28523
|
headers: {
|
|
28524
28524
|
'Content-Type': 'application/json',
|
|
28525
|
-
...options
|
|
28525
|
+
...options?.headers,
|
|
28526
28526
|
},
|
|
28527
28527
|
});
|
|
28528
28528
|
}
|
|
@@ -29618,9 +29618,9 @@ export class ShiftService {
|
|
|
29618
29618
|
* Delete many shifts
|
|
29619
29619
|
*/
|
|
29620
29620
|
public static deleteMany<ThrowOnError extends boolean = false>(
|
|
29621
|
-
options
|
|
29621
|
+
options?: Options<ShiftDeleteManyData, ThrowOnError>,
|
|
29622
29622
|
) {
|
|
29623
|
-
return (options
|
|
29623
|
+
return (options?.client ?? _heyApiClient).post<
|
|
29624
29624
|
ShiftDeleteManyResponses,
|
|
29625
29625
|
unknown,
|
|
29626
29626
|
ThrowOnError
|
|
@@ -29629,7 +29629,7 @@ export class ShiftService {
|
|
|
29629
29629
|
...options,
|
|
29630
29630
|
headers: {
|
|
29631
29631
|
'Content-Type': 'application/json',
|
|
29632
|
-
...options
|
|
29632
|
+
...options?.headers,
|
|
29633
29633
|
},
|
|
29634
29634
|
});
|
|
29635
29635
|
}
|
|
@@ -29638,9 +29638,9 @@ export class ShiftService {
|
|
|
29638
29638
|
* Set week as default
|
|
29639
29639
|
*/
|
|
29640
29640
|
public static setWeekAsDefault<ThrowOnError extends boolean = false>(
|
|
29641
|
-
options
|
|
29641
|
+
options?: Options<ShiftSetWeekAsDefaultData, ThrowOnError>,
|
|
29642
29642
|
) {
|
|
29643
|
-
return (options
|
|
29643
|
+
return (options?.client ?? _heyApiClient).post<
|
|
29644
29644
|
ShiftSetWeekAsDefaultResponses,
|
|
29645
29645
|
unknown,
|
|
29646
29646
|
ThrowOnError
|
|
@@ -29649,7 +29649,7 @@ export class ShiftService {
|
|
|
29649
29649
|
...options,
|
|
29650
29650
|
headers: {
|
|
29651
29651
|
'Content-Type': 'application/json',
|
|
29652
|
-
...options
|
|
29652
|
+
...options?.headers,
|
|
29653
29653
|
},
|
|
29654
29654
|
});
|
|
29655
29655
|
}
|
|
@@ -31226,9 +31226,9 @@ export class SqlServerService {
|
|
|
31226
31226
|
* Test connection to SQL server
|
|
31227
31227
|
*/
|
|
31228
31228
|
public static testConnection<ThrowOnError extends boolean = false>(
|
|
31229
|
-
options
|
|
31229
|
+
options?: Options<SqlServerTestConnectionData, ThrowOnError>,
|
|
31230
31230
|
) {
|
|
31231
|
-
return (options
|
|
31231
|
+
return (options?.client ?? _heyApiClient).post<
|
|
31232
31232
|
SqlServerTestConnectionResponses,
|
|
31233
31233
|
unknown,
|
|
31234
31234
|
ThrowOnError
|
|
@@ -31237,7 +31237,7 @@ export class SqlServerService {
|
|
|
31237
31237
|
...options,
|
|
31238
31238
|
headers: {
|
|
31239
31239
|
'Content-Type': 'application/json',
|
|
31240
|
-
...options
|
|
31240
|
+
...options?.headers,
|
|
31241
31241
|
},
|
|
31242
31242
|
});
|
|
31243
31243
|
}
|
|
@@ -31656,9 +31656,9 @@ export class ChatThreadService {
|
|
|
31656
31656
|
}
|
|
31657
31657
|
|
|
31658
31658
|
public static createThread<ThrowOnError extends boolean = false>(
|
|
31659
|
-
options
|
|
31659
|
+
options?: Options<ChatThreadCreateThreadData, ThrowOnError>,
|
|
31660
31660
|
) {
|
|
31661
|
-
return (options
|
|
31661
|
+
return (options?.client ?? _heyApiClient).post<
|
|
31662
31662
|
ChatThreadCreateThreadResponses,
|
|
31663
31663
|
unknown,
|
|
31664
31664
|
ThrowOnError
|
|
@@ -31667,7 +31667,7 @@ export class ChatThreadService {
|
|
|
31667
31667
|
...options,
|
|
31668
31668
|
headers: {
|
|
31669
31669
|
'Content-Type': 'application/json',
|
|
31670
|
-
...options
|
|
31670
|
+
...options?.headers,
|
|
31671
31671
|
},
|
|
31672
31672
|
});
|
|
31673
31673
|
}
|