@rasadov/lumoar-sdk 1.1.9 → 1.1.10
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-generator/FILES +4 -1
- package/api.ts +332 -16
- package/dist/api.d.ts +252 -17
- package/dist/api.js +156 -0
- package/docs/ControlWithData.md +28 -0
- package/docs/CustomerDBBase.md +22 -0
- package/docs/EvidenceApi.md +58 -0
- package/docs/EvidenceWithControl.md +42 -0
- package/docs/PaymentsApi.md +2 -2
- package/docs/ResponseGetSubscriptionV1PaymentsSubscriptionGet.md +30 -0
- package/docs/SubscriptionResponse.md +1 -1
- package/docs/TasksApi.md +58 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -20,11 +20,12 @@ docs/CompanyWithRoles.md
|
|
|
20
20
|
docs/ComplianceGoal.md
|
|
21
21
|
docs/ControlBase.md
|
|
22
22
|
docs/ControlStatus.md
|
|
23
|
+
docs/ControlWithData.md
|
|
23
24
|
docs/ControlWithEvidences.md
|
|
24
25
|
docs/ControlWithRelationships.md
|
|
25
26
|
docs/ControlsApi.md
|
|
26
27
|
docs/CreateTaskSchema.md
|
|
27
|
-
docs/
|
|
28
|
+
docs/CustomerDBBase.md
|
|
28
29
|
docs/CustomerDoesNotExist.md
|
|
29
30
|
docs/CustomerPortalSession.md
|
|
30
31
|
docs/DeleteTaskSchema.md
|
|
@@ -33,6 +34,7 @@ docs/EvidenceApi.md
|
|
|
33
34
|
docs/EvidenceBase.md
|
|
34
35
|
docs/EvidenceFileSchema.md
|
|
35
36
|
docs/EvidenceTextSchema.md
|
|
37
|
+
docs/EvidenceWithControl.md
|
|
36
38
|
docs/FileDownload.md
|
|
37
39
|
docs/ForgotPasswordSchema.md
|
|
38
40
|
docs/FrameworkControlsBase.md
|
|
@@ -63,6 +65,7 @@ docs/ReportsApi.md
|
|
|
63
65
|
docs/ResendOTPSchema.md
|
|
64
66
|
docs/ResetPasswordSchema.md
|
|
65
67
|
docs/ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet.md
|
|
68
|
+
docs/ResponseGetSubscriptionV1PaymentsSubscriptionGet.md
|
|
66
69
|
docs/RolesApi.md
|
|
67
70
|
docs/RolesWithUser.md
|
|
68
71
|
docs/SchedulerRequest.md
|
package/api.ts
CHANGED
|
@@ -695,6 +695,43 @@ export const ControlStatus = {
|
|
|
695
695
|
export type ControlStatus = typeof ControlStatus[keyof typeof ControlStatus];
|
|
696
696
|
|
|
697
697
|
|
|
698
|
+
/**
|
|
699
|
+
*
|
|
700
|
+
* @export
|
|
701
|
+
* @interface ControlWithData
|
|
702
|
+
*/
|
|
703
|
+
export interface ControlWithData {
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
* @type {string}
|
|
707
|
+
* @memberof ControlWithData
|
|
708
|
+
*/
|
|
709
|
+
'id': string;
|
|
710
|
+
/**
|
|
711
|
+
*
|
|
712
|
+
* @type {string}
|
|
713
|
+
* @memberof ControlWithData
|
|
714
|
+
*/
|
|
715
|
+
'status'?: string | null;
|
|
716
|
+
/**
|
|
717
|
+
*
|
|
718
|
+
* @type {string}
|
|
719
|
+
* @memberof ControlWithData
|
|
720
|
+
*/
|
|
721
|
+
'note'?: string | null;
|
|
722
|
+
/**
|
|
723
|
+
*
|
|
724
|
+
* @type {string}
|
|
725
|
+
* @memberof ControlWithData
|
|
726
|
+
*/
|
|
727
|
+
'updated_at'?: string | null;
|
|
728
|
+
/**
|
|
729
|
+
*
|
|
730
|
+
* @type {FrameworkControlsBase}
|
|
731
|
+
* @memberof ControlWithData
|
|
732
|
+
*/
|
|
733
|
+
'data': FrameworkControlsBase;
|
|
734
|
+
}
|
|
698
735
|
/**
|
|
699
736
|
*
|
|
700
737
|
* @export
|
|
@@ -827,27 +864,21 @@ export interface CreateTaskSchema {
|
|
|
827
864
|
/**
|
|
828
865
|
*
|
|
829
866
|
* @export
|
|
830
|
-
* @interface
|
|
867
|
+
* @interface CustomerDBBase
|
|
831
868
|
*/
|
|
832
|
-
export interface
|
|
869
|
+
export interface CustomerDBBase {
|
|
833
870
|
/**
|
|
834
871
|
*
|
|
835
872
|
* @type {string}
|
|
836
|
-
* @memberof
|
|
873
|
+
* @memberof CustomerDBBase
|
|
837
874
|
*/
|
|
838
|
-
'
|
|
875
|
+
'billing_name': string;
|
|
839
876
|
/**
|
|
840
877
|
*
|
|
841
878
|
* @type {string}
|
|
842
|
-
* @memberof
|
|
879
|
+
* @memberof CustomerDBBase
|
|
843
880
|
*/
|
|
844
|
-
'
|
|
845
|
-
/**
|
|
846
|
-
*
|
|
847
|
-
* @type {string}
|
|
848
|
-
* @memberof Customer
|
|
849
|
-
*/
|
|
850
|
-
'email': string;
|
|
881
|
+
'billing_email': string;
|
|
851
882
|
}
|
|
852
883
|
/**
|
|
853
884
|
*
|
|
@@ -1050,6 +1081,85 @@ export interface EvidenceTextSchema {
|
|
|
1050
1081
|
*/
|
|
1051
1082
|
'content': string;
|
|
1052
1083
|
}
|
|
1084
|
+
/**
|
|
1085
|
+
*
|
|
1086
|
+
* @export
|
|
1087
|
+
* @interface EvidenceWithControl
|
|
1088
|
+
*/
|
|
1089
|
+
export interface EvidenceWithControl {
|
|
1090
|
+
/**
|
|
1091
|
+
*
|
|
1092
|
+
* @type {string}
|
|
1093
|
+
* @memberof EvidenceWithControl
|
|
1094
|
+
*/
|
|
1095
|
+
'id': string;
|
|
1096
|
+
/**
|
|
1097
|
+
*
|
|
1098
|
+
* @type {string}
|
|
1099
|
+
* @memberof EvidenceWithControl
|
|
1100
|
+
*/
|
|
1101
|
+
'control_id': string;
|
|
1102
|
+
/**
|
|
1103
|
+
*
|
|
1104
|
+
* @type {string}
|
|
1105
|
+
* @memberof EvidenceWithControl
|
|
1106
|
+
*/
|
|
1107
|
+
'expires_at'?: string | null;
|
|
1108
|
+
/**
|
|
1109
|
+
*
|
|
1110
|
+
* @type {string}
|
|
1111
|
+
* @memberof EvidenceWithControl
|
|
1112
|
+
*/
|
|
1113
|
+
'status': string;
|
|
1114
|
+
/**
|
|
1115
|
+
*
|
|
1116
|
+
* @type {number}
|
|
1117
|
+
* @memberof EvidenceWithControl
|
|
1118
|
+
*/
|
|
1119
|
+
'version': number;
|
|
1120
|
+
/**
|
|
1121
|
+
*
|
|
1122
|
+
* @type {string}
|
|
1123
|
+
* @memberof EvidenceWithControl
|
|
1124
|
+
*/
|
|
1125
|
+
'evidence_type': string;
|
|
1126
|
+
/**
|
|
1127
|
+
*
|
|
1128
|
+
* @type {EvidenceTextSchema}
|
|
1129
|
+
* @memberof EvidenceWithControl
|
|
1130
|
+
*/
|
|
1131
|
+
'text'?: EvidenceTextSchema | null;
|
|
1132
|
+
/**
|
|
1133
|
+
*
|
|
1134
|
+
* @type {Array<EvidenceFileSchema>}
|
|
1135
|
+
* @memberof EvidenceWithControl
|
|
1136
|
+
*/
|
|
1137
|
+
'files'?: Array<EvidenceFileSchema> | null;
|
|
1138
|
+
/**
|
|
1139
|
+
*
|
|
1140
|
+
* @type {Array<string>}
|
|
1141
|
+
* @memberof EvidenceWithControl
|
|
1142
|
+
*/
|
|
1143
|
+
'tags'?: Array<string> | null;
|
|
1144
|
+
/**
|
|
1145
|
+
*
|
|
1146
|
+
* @type {UserBase}
|
|
1147
|
+
* @memberof EvidenceWithControl
|
|
1148
|
+
*/
|
|
1149
|
+
'uploaded_by'?: UserBase | null;
|
|
1150
|
+
/**
|
|
1151
|
+
*
|
|
1152
|
+
* @type {string}
|
|
1153
|
+
* @memberof EvidenceWithControl
|
|
1154
|
+
*/
|
|
1155
|
+
'submitted_at'?: string | null;
|
|
1156
|
+
/**
|
|
1157
|
+
*
|
|
1158
|
+
* @type {ControlWithData}
|
|
1159
|
+
* @memberof EvidenceWithControl
|
|
1160
|
+
*/
|
|
1161
|
+
'control': ControlWithData;
|
|
1162
|
+
}
|
|
1053
1163
|
/**
|
|
1054
1164
|
*
|
|
1055
1165
|
* @export
|
|
@@ -1686,6 +1796,49 @@ export interface ResponseGetCustomerManagementSessionV1PaymentsCustomerManagemen
|
|
|
1686
1796
|
*/
|
|
1687
1797
|
'message'?: string;
|
|
1688
1798
|
}
|
|
1799
|
+
/**
|
|
1800
|
+
*
|
|
1801
|
+
* @export
|
|
1802
|
+
* @interface ResponseGetSubscriptionV1PaymentsSubscriptionGet
|
|
1803
|
+
*/
|
|
1804
|
+
export interface ResponseGetSubscriptionV1PaymentsSubscriptionGet {
|
|
1805
|
+
/**
|
|
1806
|
+
*
|
|
1807
|
+
* @type {string}
|
|
1808
|
+
* @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
|
|
1809
|
+
*/
|
|
1810
|
+
'subscription_id': string;
|
|
1811
|
+
/**
|
|
1812
|
+
*
|
|
1813
|
+
* @type {string}
|
|
1814
|
+
* @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
|
|
1815
|
+
*/
|
|
1816
|
+
'status': string;
|
|
1817
|
+
/**
|
|
1818
|
+
*
|
|
1819
|
+
* @type {string}
|
|
1820
|
+
* @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
|
|
1821
|
+
*/
|
|
1822
|
+
'product_id': string;
|
|
1823
|
+
/**
|
|
1824
|
+
*
|
|
1825
|
+
* @type {CustomerDBBase}
|
|
1826
|
+
* @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
|
|
1827
|
+
*/
|
|
1828
|
+
'customer': CustomerDBBase;
|
|
1829
|
+
/**
|
|
1830
|
+
*
|
|
1831
|
+
* @type {string}
|
|
1832
|
+
* @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
|
|
1833
|
+
*/
|
|
1834
|
+
'subscribed_till': string;
|
|
1835
|
+
/**
|
|
1836
|
+
*
|
|
1837
|
+
* @type {string}
|
|
1838
|
+
* @memberof ResponseGetSubscriptionV1PaymentsSubscriptionGet
|
|
1839
|
+
*/
|
|
1840
|
+
'details': string;
|
|
1841
|
+
}
|
|
1689
1842
|
/**
|
|
1690
1843
|
*
|
|
1691
1844
|
* @export
|
|
@@ -1762,10 +1915,10 @@ export interface SubscriptionResponse {
|
|
|
1762
1915
|
'product_id': string;
|
|
1763
1916
|
/**
|
|
1764
1917
|
*
|
|
1765
|
-
* @type {
|
|
1918
|
+
* @type {CustomerDBBase}
|
|
1766
1919
|
* @memberof SubscriptionResponse
|
|
1767
1920
|
*/
|
|
1768
|
-
'customer':
|
|
1921
|
+
'customer': CustomerDBBase;
|
|
1769
1922
|
/**
|
|
1770
1923
|
*
|
|
1771
1924
|
* @type {string}
|
|
@@ -3987,6 +4140,48 @@ export const EvidenceApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3987
4140
|
|
|
3988
4141
|
|
|
3989
4142
|
|
|
4143
|
+
if (authorization != null) {
|
|
4144
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
4145
|
+
}
|
|
4146
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4147
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4148
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4149
|
+
|
|
4150
|
+
return {
|
|
4151
|
+
url: toPathString(localVarUrlObj),
|
|
4152
|
+
options: localVarRequestOptions,
|
|
4153
|
+
};
|
|
4154
|
+
},
|
|
4155
|
+
/**
|
|
4156
|
+
*
|
|
4157
|
+
* @summary Get Evidence
|
|
4158
|
+
* @param {string} evidenceId
|
|
4159
|
+
* @param {string} [authorization]
|
|
4160
|
+
* @param {string} [sessionId]
|
|
4161
|
+
* @param {*} [options] Override http request option.
|
|
4162
|
+
* @throws {RequiredError}
|
|
4163
|
+
*/
|
|
4164
|
+
getEvidenceV1EvidenceGetGet: async (evidenceId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4165
|
+
// verify required parameter 'evidenceId' is not null or undefined
|
|
4166
|
+
assertParamExists('getEvidenceV1EvidenceGetGet', 'evidenceId', evidenceId)
|
|
4167
|
+
const localVarPath = `/v1/evidence/get`;
|
|
4168
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4169
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4170
|
+
let baseOptions;
|
|
4171
|
+
if (configuration) {
|
|
4172
|
+
baseOptions = configuration.baseOptions;
|
|
4173
|
+
}
|
|
4174
|
+
|
|
4175
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4176
|
+
const localVarHeaderParameter = {} as any;
|
|
4177
|
+
const localVarQueryParameter = {} as any;
|
|
4178
|
+
|
|
4179
|
+
if (evidenceId !== undefined) {
|
|
4180
|
+
localVarQueryParameter['evidence_id'] = evidenceId;
|
|
4181
|
+
}
|
|
4182
|
+
|
|
4183
|
+
|
|
4184
|
+
|
|
3990
4185
|
if (authorization != null) {
|
|
3991
4186
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
3992
4187
|
}
|
|
@@ -4200,6 +4395,21 @@ export const EvidenceApiFp = function(configuration?: Configuration) {
|
|
|
4200
4395
|
const localVarOperationServerBasePath = operationServerMap['EvidenceApi.getEvidenceFilesV1EvidenceFileEvidenceFileIdGet']?.[localVarOperationServerIndex]?.url;
|
|
4201
4396
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4202
4397
|
},
|
|
4398
|
+
/**
|
|
4399
|
+
*
|
|
4400
|
+
* @summary Get Evidence
|
|
4401
|
+
* @param {string} evidenceId
|
|
4402
|
+
* @param {string} [authorization]
|
|
4403
|
+
* @param {string} [sessionId]
|
|
4404
|
+
* @param {*} [options] Override http request option.
|
|
4405
|
+
* @throws {RequiredError}
|
|
4406
|
+
*/
|
|
4407
|
+
async getEvidenceV1EvidenceGetGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvidenceWithControl>> {
|
|
4408
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEvidenceV1EvidenceGetGet(evidenceId, authorization, sessionId, options);
|
|
4409
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4410
|
+
const localVarOperationServerBasePath = operationServerMap['EvidenceApi.getEvidenceV1EvidenceGetGet']?.[localVarOperationServerIndex]?.url;
|
|
4411
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4412
|
+
},
|
|
4203
4413
|
/**
|
|
4204
4414
|
*
|
|
4205
4415
|
* @summary List Company Evidence
|
|
@@ -4283,6 +4493,18 @@ export const EvidenceApiFactory = function (configuration?: Configuration, baseP
|
|
|
4283
4493
|
getEvidenceFilesV1EvidenceFileEvidenceFileIdGet(evidenceFileId: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<FileDownload> {
|
|
4284
4494
|
return localVarFp.getEvidenceFilesV1EvidenceFileEvidenceFileIdGet(evidenceFileId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
4285
4495
|
},
|
|
4496
|
+
/**
|
|
4497
|
+
*
|
|
4498
|
+
* @summary Get Evidence
|
|
4499
|
+
* @param {string} evidenceId
|
|
4500
|
+
* @param {string} [authorization]
|
|
4501
|
+
* @param {string} [sessionId]
|
|
4502
|
+
* @param {*} [options] Override http request option.
|
|
4503
|
+
* @throws {RequiredError}
|
|
4504
|
+
*/
|
|
4505
|
+
getEvidenceV1EvidenceGetGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<EvidenceWithControl> {
|
|
4506
|
+
return localVarFp.getEvidenceV1EvidenceGetGet(evidenceId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
4507
|
+
},
|
|
4286
4508
|
/**
|
|
4287
4509
|
*
|
|
4288
4510
|
* @summary List Company Evidence
|
|
@@ -4361,6 +4583,20 @@ export class EvidenceApi extends BaseAPI {
|
|
|
4361
4583
|
return EvidenceApiFp(this.configuration).getEvidenceFilesV1EvidenceFileEvidenceFileIdGet(evidenceFileId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
4362
4584
|
}
|
|
4363
4585
|
|
|
4586
|
+
/**
|
|
4587
|
+
*
|
|
4588
|
+
* @summary Get Evidence
|
|
4589
|
+
* @param {string} evidenceId
|
|
4590
|
+
* @param {string} [authorization]
|
|
4591
|
+
* @param {string} [sessionId]
|
|
4592
|
+
* @param {*} [options] Override http request option.
|
|
4593
|
+
* @throws {RequiredError}
|
|
4594
|
+
* @memberof EvidenceApi
|
|
4595
|
+
*/
|
|
4596
|
+
public getEvidenceV1EvidenceGetGet(evidenceId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
4597
|
+
return EvidenceApiFp(this.configuration).getEvidenceV1EvidenceGetGet(evidenceId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
4598
|
+
}
|
|
4599
|
+
|
|
4364
4600
|
/**
|
|
4365
4601
|
*
|
|
4366
4602
|
* @summary List Company Evidence
|
|
@@ -4970,7 +5206,7 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
4970
5206
|
* @param {*} [options] Override http request option.
|
|
4971
5207
|
* @throws {RequiredError}
|
|
4972
5208
|
*/
|
|
4973
|
-
async getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
5209
|
+
async getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetSubscriptionV1PaymentsSubscriptionGet>> {
|
|
4974
5210
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSubscriptionV1PaymentsSubscriptionGet(companyId, authorization, sessionId, options);
|
|
4975
5211
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4976
5212
|
const localVarOperationServerBasePath = operationServerMap['PaymentsApi.getSubscriptionV1PaymentsSubscriptionGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -5031,7 +5267,7 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
5031
5267
|
* @param {*} [options] Override http request option.
|
|
5032
5268
|
* @throws {RequiredError}
|
|
5033
5269
|
*/
|
|
5034
|
-
getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
5270
|
+
getSubscriptionV1PaymentsSubscriptionGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetSubscriptionV1PaymentsSubscriptionGet> {
|
|
5035
5271
|
return localVarFp.getSubscriptionV1PaymentsSubscriptionGet(companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5036
5272
|
},
|
|
5037
5273
|
/**
|
|
@@ -6419,6 +6655,45 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6419
6655
|
options: localVarRequestOptions,
|
|
6420
6656
|
};
|
|
6421
6657
|
},
|
|
6658
|
+
/**
|
|
6659
|
+
*
|
|
6660
|
+
* @summary Get Task
|
|
6661
|
+
* @param {string} taskId
|
|
6662
|
+
* @param {string} [authorization]
|
|
6663
|
+
* @param {string} [sessionId]
|
|
6664
|
+
* @param {*} [options] Override http request option.
|
|
6665
|
+
* @throws {RequiredError}
|
|
6666
|
+
*/
|
|
6667
|
+
getTaskV1TasksGetTaskIdGet: async (taskId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6668
|
+
// verify required parameter 'taskId' is not null or undefined
|
|
6669
|
+
assertParamExists('getTaskV1TasksGetTaskIdGet', 'taskId', taskId)
|
|
6670
|
+
const localVarPath = `/v1/tasks/get/{task_id}`
|
|
6671
|
+
.replace(`{${"task_id"}}`, encodeURIComponent(String(taskId)));
|
|
6672
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6673
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6674
|
+
let baseOptions;
|
|
6675
|
+
if (configuration) {
|
|
6676
|
+
baseOptions = configuration.baseOptions;
|
|
6677
|
+
}
|
|
6678
|
+
|
|
6679
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6680
|
+
const localVarHeaderParameter = {} as any;
|
|
6681
|
+
const localVarQueryParameter = {} as any;
|
|
6682
|
+
|
|
6683
|
+
|
|
6684
|
+
|
|
6685
|
+
if (authorization != null) {
|
|
6686
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
6687
|
+
}
|
|
6688
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6689
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6690
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6691
|
+
|
|
6692
|
+
return {
|
|
6693
|
+
url: toPathString(localVarUrlObj),
|
|
6694
|
+
options: localVarRequestOptions,
|
|
6695
|
+
};
|
|
6696
|
+
},
|
|
6422
6697
|
/**
|
|
6423
6698
|
*
|
|
6424
6699
|
* @summary List Tasks For Company
|
|
@@ -6754,6 +7029,21 @@ export const TasksApiFp = function(configuration?: Configuration) {
|
|
|
6754
7029
|
const localVarOperationServerBasePath = operationServerMap['TasksApi.deleteTaskV1TasksDelete']?.[localVarOperationServerIndex]?.url;
|
|
6755
7030
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6756
7031
|
},
|
|
7032
|
+
/**
|
|
7033
|
+
*
|
|
7034
|
+
* @summary Get Task
|
|
7035
|
+
* @param {string} taskId
|
|
7036
|
+
* @param {string} [authorization]
|
|
7037
|
+
* @param {string} [sessionId]
|
|
7038
|
+
* @param {*} [options] Override http request option.
|
|
7039
|
+
* @throws {RequiredError}
|
|
7040
|
+
*/
|
|
7041
|
+
async getTaskV1TasksGetTaskIdGet(taskId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskWithUser>> {
|
|
7042
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskV1TasksGetTaskIdGet(taskId, authorization, sessionId, options);
|
|
7043
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7044
|
+
const localVarOperationServerBasePath = operationServerMap['TasksApi.getTaskV1TasksGetTaskIdGet']?.[localVarOperationServerIndex]?.url;
|
|
7045
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7046
|
+
},
|
|
6757
7047
|
/**
|
|
6758
7048
|
*
|
|
6759
7049
|
* @summary List Tasks For Company
|
|
@@ -6879,6 +7169,18 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
|
|
|
6879
7169
|
deleteTaskV1TasksDelete(deleteTaskSchema: DeleteTaskSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
6880
7170
|
return localVarFp.deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
6881
7171
|
},
|
|
7172
|
+
/**
|
|
7173
|
+
*
|
|
7174
|
+
* @summary Get Task
|
|
7175
|
+
* @param {string} taskId
|
|
7176
|
+
* @param {string} [authorization]
|
|
7177
|
+
* @param {string} [sessionId]
|
|
7178
|
+
* @param {*} [options] Override http request option.
|
|
7179
|
+
* @throws {RequiredError}
|
|
7180
|
+
*/
|
|
7181
|
+
getTaskV1TasksGetTaskIdGet(taskId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskWithUser> {
|
|
7182
|
+
return localVarFp.getTaskV1TasksGetTaskIdGet(taskId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
7183
|
+
},
|
|
6882
7184
|
/**
|
|
6883
7185
|
*
|
|
6884
7186
|
* @summary List Tasks For Company
|
|
@@ -6993,6 +7295,20 @@ export class TasksApi extends BaseAPI {
|
|
|
6993
7295
|
return TasksApiFp(this.configuration).deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
6994
7296
|
}
|
|
6995
7297
|
|
|
7298
|
+
/**
|
|
7299
|
+
*
|
|
7300
|
+
* @summary Get Task
|
|
7301
|
+
* @param {string} taskId
|
|
7302
|
+
* @param {string} [authorization]
|
|
7303
|
+
* @param {string} [sessionId]
|
|
7304
|
+
* @param {*} [options] Override http request option.
|
|
7305
|
+
* @throws {RequiredError}
|
|
7306
|
+
* @memberof TasksApi
|
|
7307
|
+
*/
|
|
7308
|
+
public getTaskV1TasksGetTaskIdGet(taskId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
7309
|
+
return TasksApiFp(this.configuration).getTaskV1TasksGetTaskIdGet(taskId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
7310
|
+
}
|
|
7311
|
+
|
|
6996
7312
|
/**
|
|
6997
7313
|
*
|
|
6998
7314
|
* @summary List Tasks For Company
|