@forteplatforms/sdk 1.0.141 → 1.0.144
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/dist/generated/apis/ProjectsServerApi.d.ts +93 -1
- package/dist/generated/apis/ProjectsServerApi.js +428 -0
- package/dist/generated/apis/UsersServerApi.d.ts +115 -1
- package/dist/generated/apis/UsersServerApi.js +545 -0
- package/dist/generated/models/CompleteOtpLoginRequest.d.ts +32 -0
- package/dist/generated/models/CompleteOtpLoginRequest.js +51 -0
- package/dist/generated/models/ContentObject.d.ts +116 -0
- package/dist/generated/models/ContentObject.js +99 -0
- package/dist/generated/models/ContentShare.d.ts +46 -0
- package/dist/generated/models/ContentShare.js +63 -0
- package/dist/generated/models/ContentShareRequestItem.d.ts +46 -0
- package/dist/generated/models/ContentShareRequestItem.js +63 -0
- package/dist/generated/models/CreateContentUploadLinkRequest.d.ts +52 -0
- package/dist/generated/models/CreateContentUploadLinkRequest.js +59 -0
- package/dist/generated/models/CreateContentUploadLinkResponse.d.ts +57 -0
- package/dist/generated/models/CreateContentUploadLinkResponse.js +68 -0
- package/dist/generated/models/CreateOtpLoginRequest.d.ts +44 -0
- package/dist/generated/models/CreateOtpLoginRequest.js +53 -0
- package/dist/generated/models/CreateOtpLoginResponse.d.ts +38 -0
- package/dist/generated/models/CreateOtpLoginResponse.js +55 -0
- package/dist/generated/models/ForteApiException.d.ts +8 -0
- package/dist/generated/models/ForteApiException.js +9 -1
- package/dist/generated/models/GetContentDownloadLinkResponse.d.ts +38 -0
- package/dist/generated/models/GetContentDownloadLinkResponse.js +55 -0
- package/dist/generated/models/ListContentResponse.d.ts +39 -0
- package/dist/generated/models/ListContentResponse.js +54 -0
- package/dist/generated/models/NotificationTemplatesConfig.d.ts +18 -0
- package/dist/generated/models/NotificationTemplatesConfig.js +6 -0
- package/dist/generated/models/RequiredUploadHeaders.d.ts +38 -0
- package/dist/generated/models/RequiredUploadHeaders.js +55 -0
- package/dist/generated/models/UpdateContentSharesRequest.d.ts +33 -0
- package/dist/generated/models/UpdateContentSharesRequest.js +52 -0
- package/dist/generated/models/UpdateNotificationTemplatesRequest.d.ts +18 -0
- package/dist/generated/models/UpdateNotificationTemplatesRequest.js +6 -0
- package/dist/generated/models/UserActionLogObject.d.ts +1 -0
- package/dist/generated/models/UserActionLogObject.js +1 -0
- package/dist/generated/models/index.d.ts +12 -0
- package/dist/generated/models/index.js +12 -0
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AddContactMethodRequest, AdminOverrideContactMethodRequest, ApiKeySummary, ContactMethod, CreateForteServiceRequest, CreatePaymentPreviewRequest, CreatePaymentPreviewResponse, CreatePaymentRequest, CreatePaymentResponse, CreateProjectApiKeyRequest, CreateProjectApiKeyResponse, CreateServiceRequestProxyRequest, CreateServiceRequestProxyResponse, CreateWebAppRequest, NotificationTemplatesResponse, PaginatedResponseLogLineObject, PaginatedResponsePaymentObject, PaginatedResponseRequestLogObject, PaginatedResponseServiceBuildRequestObject, PaginatedResponseUserActionLogObject, PaginatedResponseUserObject, PaginatedResponseWebAppBuildRequestObject, PaymentTriggerConfig, ProjectObject, RequestLogObject, SendUserEmailRequest, SendUserSmsRequest, ServiceBuildRequestObject, ServiceMetricsResponse, ServiceObject, TestInvocationRequest, TestInvocationResponse, UpdateForteServiceRequest, UpdateForteServiceResponse, UpdateNotificationTemplatesRequest, UpdateProjectRequest, UpdateWebAppRequest, UpdateWebAppResponse, UpsertPaymentTriggerRequest, UserMetricsResponse, UserObject, WebAppBuildRequestObject, WebAppObject } from '../models/index';
|
|
13
|
+
import type { AddContactMethodRequest, AdminOverrideContactMethodRequest, ApiKeySummary, ContactMethod, ContentObject, CreateContentUploadLinkRequest, CreateContentUploadLinkResponse, CreateForteServiceRequest, CreatePaymentPreviewRequest, CreatePaymentPreviewResponse, CreatePaymentRequest, CreatePaymentResponse, CreateProjectApiKeyRequest, CreateProjectApiKeyResponse, CreateServiceRequestProxyRequest, CreateServiceRequestProxyResponse, CreateWebAppRequest, GetContentDownloadLinkResponse, ListContentResponse, NotificationTemplatesResponse, PaginatedResponseLogLineObject, PaginatedResponsePaymentObject, PaginatedResponseRequestLogObject, PaginatedResponseServiceBuildRequestObject, PaginatedResponseUserActionLogObject, PaginatedResponseUserObject, PaginatedResponseWebAppBuildRequestObject, PaymentTriggerConfig, ProjectObject, RequestLogObject, SendUserEmailRequest, SendUserSmsRequest, ServiceBuildRequestObject, ServiceMetricsResponse, ServiceObject, TestInvocationRequest, TestInvocationResponse, UpdateContentSharesRequest, UpdateForteServiceRequest, UpdateForteServiceResponse, UpdateNotificationTemplatesRequest, UpdateProjectRequest, UpdateWebAppRequest, UpdateWebAppResponse, UpsertPaymentTriggerRequest, UserMetricsResponse, UserObject, WebAppBuildRequestObject, WebAppObject } from '../models/index';
|
|
14
14
|
export interface AdminAddUserContactMethodRequest {
|
|
15
15
|
projectId: string;
|
|
16
16
|
userId: string;
|
|
@@ -38,6 +38,11 @@ export interface AdminVerifyUserContactMethodRequest {
|
|
|
38
38
|
contactMethodId: string;
|
|
39
39
|
verificationCode: string;
|
|
40
40
|
}
|
|
41
|
+
export interface CreateContentUploadLink1Request {
|
|
42
|
+
projectId: string;
|
|
43
|
+
userId: string;
|
|
44
|
+
createContentUploadLinkRequest: CreateContentUploadLinkRequest;
|
|
45
|
+
}
|
|
41
46
|
export interface CreatePayment1Request {
|
|
42
47
|
projectId: string;
|
|
43
48
|
userId: string;
|
|
@@ -83,6 +88,11 @@ export interface CreateWebAppDeploymentRequest {
|
|
|
83
88
|
webAppId: string;
|
|
84
89
|
commitSha?: string;
|
|
85
90
|
}
|
|
91
|
+
export interface DeleteContent1Request {
|
|
92
|
+
projectId: string;
|
|
93
|
+
userId: string;
|
|
94
|
+
contentId: string;
|
|
95
|
+
}
|
|
86
96
|
export interface DeletePaymentTriggerRequest {
|
|
87
97
|
projectId: string;
|
|
88
98
|
triggerId: string;
|
|
@@ -106,6 +116,21 @@ export interface DeleteWebAppRequest {
|
|
|
106
116
|
projectId: string;
|
|
107
117
|
webAppId: string;
|
|
108
118
|
}
|
|
119
|
+
export interface FinalizeContent1Request {
|
|
120
|
+
projectId: string;
|
|
121
|
+
userId: string;
|
|
122
|
+
contentId: string;
|
|
123
|
+
}
|
|
124
|
+
export interface GetContent1Request {
|
|
125
|
+
projectId: string;
|
|
126
|
+
userId: string;
|
|
127
|
+
contentId: string;
|
|
128
|
+
}
|
|
129
|
+
export interface GetContentDownloadLink1Request {
|
|
130
|
+
projectId: string;
|
|
131
|
+
userId: string;
|
|
132
|
+
contentId: string;
|
|
133
|
+
}
|
|
109
134
|
export interface GetNotificationTemplatesRequest {
|
|
110
135
|
projectId: string;
|
|
111
136
|
}
|
|
@@ -152,6 +177,12 @@ export interface GetWebAppDeploymentRequest {
|
|
|
152
177
|
webAppId: string;
|
|
153
178
|
buildId: string;
|
|
154
179
|
}
|
|
180
|
+
export interface ListContent1Request {
|
|
181
|
+
projectId: string;
|
|
182
|
+
userId: string;
|
|
183
|
+
page?: number;
|
|
184
|
+
pageSize?: number;
|
|
185
|
+
}
|
|
155
186
|
export interface ListLogLinesRequest {
|
|
156
187
|
projectId: string;
|
|
157
188
|
serviceId: string;
|
|
@@ -225,6 +256,12 @@ export interface PutUserCustomAttributesRequest {
|
|
|
225
256
|
[key: string]: string;
|
|
226
257
|
};
|
|
227
258
|
}
|
|
259
|
+
export interface ReUploadContent1Request {
|
|
260
|
+
projectId: string;
|
|
261
|
+
userId: string;
|
|
262
|
+
contentId: string;
|
|
263
|
+
createContentUploadLinkRequest: CreateContentUploadLinkRequest;
|
|
264
|
+
}
|
|
228
265
|
export interface SearchLogLinesRequest {
|
|
229
266
|
projectId: string;
|
|
230
267
|
serviceId: string;
|
|
@@ -254,6 +291,12 @@ export interface TestInvocationOperationRequest {
|
|
|
254
291
|
serviceId: string;
|
|
255
292
|
testInvocationRequest: TestInvocationRequest;
|
|
256
293
|
}
|
|
294
|
+
export interface UpdateContentShares1Request {
|
|
295
|
+
projectId: string;
|
|
296
|
+
userId: string;
|
|
297
|
+
contentId: string;
|
|
298
|
+
updateContentSharesRequest: UpdateContentSharesRequest;
|
|
299
|
+
}
|
|
257
300
|
export interface UpdateNotificationTemplatesOperationRequest {
|
|
258
301
|
projectId: string;
|
|
259
302
|
updateNotificationTemplatesRequest: UpdateNotificationTemplatesRequest;
|
|
@@ -311,6 +354,12 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
|
|
|
311
354
|
/**
|
|
312
355
|
*/
|
|
313
356
|
adminVerifyUserContactMethod(requestParameters: AdminVerifyUserContactMethodRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContactMethod>;
|
|
357
|
+
/**
|
|
358
|
+
*/
|
|
359
|
+
createContentUploadLink1Raw(requestParameters: CreateContentUploadLink1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateContentUploadLinkResponse>>;
|
|
360
|
+
/**
|
|
361
|
+
*/
|
|
362
|
+
createContentUploadLink1(requestParameters: CreateContentUploadLink1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateContentUploadLinkResponse>;
|
|
314
363
|
/**
|
|
315
364
|
*/
|
|
316
365
|
createPayment1Raw(requestParameters: CreatePayment1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreatePaymentResponse>>;
|
|
@@ -371,6 +420,12 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
|
|
|
371
420
|
/**
|
|
372
421
|
*/
|
|
373
422
|
createWebAppDeployment(requestParameters: CreateWebAppDeploymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebAppBuildRequestObject>;
|
|
423
|
+
/**
|
|
424
|
+
*/
|
|
425
|
+
deleteContent1Raw(requestParameters: DeleteContent1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
426
|
+
/**
|
|
427
|
+
*/
|
|
428
|
+
deleteContent1(requestParameters: DeleteContent1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
374
429
|
/**
|
|
375
430
|
*/
|
|
376
431
|
deletePaymentTriggerRaw(requestParameters: DeletePaymentTriggerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
@@ -407,6 +462,24 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
|
|
|
407
462
|
/**
|
|
408
463
|
*/
|
|
409
464
|
deleteWebApp(requestParameters: DeleteWebAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
465
|
+
/**
|
|
466
|
+
*/
|
|
467
|
+
finalizeContent1Raw(requestParameters: FinalizeContent1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContentObject>>;
|
|
468
|
+
/**
|
|
469
|
+
*/
|
|
470
|
+
finalizeContent1(requestParameters: FinalizeContent1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContentObject>;
|
|
471
|
+
/**
|
|
472
|
+
*/
|
|
473
|
+
getContent1Raw(requestParameters: GetContent1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContentObject>>;
|
|
474
|
+
/**
|
|
475
|
+
*/
|
|
476
|
+
getContent1(requestParameters: GetContent1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContentObject>;
|
|
477
|
+
/**
|
|
478
|
+
*/
|
|
479
|
+
getContentDownloadLink1Raw(requestParameters: GetContentDownloadLink1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetContentDownloadLinkResponse>>;
|
|
480
|
+
/**
|
|
481
|
+
*/
|
|
482
|
+
getContentDownloadLink1(requestParameters: GetContentDownloadLink1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContentDownloadLinkResponse>;
|
|
410
483
|
/**
|
|
411
484
|
*/
|
|
412
485
|
getNotificationTemplatesRaw(requestParameters: GetNotificationTemplatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NotificationTemplatesResponse>>;
|
|
@@ -467,6 +540,12 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
|
|
|
467
540
|
/**
|
|
468
541
|
*/
|
|
469
542
|
getWebAppDeployment(requestParameters: GetWebAppDeploymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebAppBuildRequestObject>;
|
|
543
|
+
/**
|
|
544
|
+
*/
|
|
545
|
+
listContent1Raw(requestParameters: ListContent1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListContentResponse>>;
|
|
546
|
+
/**
|
|
547
|
+
*/
|
|
548
|
+
listContent1(requestParameters: ListContent1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListContentResponse>;
|
|
470
549
|
/**
|
|
471
550
|
*/
|
|
472
551
|
listLogLinesRaw(requestParameters: ListLogLinesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseLogLineObject>>;
|
|
@@ -539,6 +618,12 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
|
|
|
539
618
|
/**
|
|
540
619
|
*/
|
|
541
620
|
putUserCustomAttributes(requestParameters: PutUserCustomAttributesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserObject>;
|
|
621
|
+
/**
|
|
622
|
+
*/
|
|
623
|
+
reUploadContent1Raw(requestParameters: ReUploadContent1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateContentUploadLinkResponse>>;
|
|
624
|
+
/**
|
|
625
|
+
*/
|
|
626
|
+
reUploadContent1(requestParameters: ReUploadContent1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateContentUploadLinkResponse>;
|
|
542
627
|
/**
|
|
543
628
|
*/
|
|
544
629
|
searchLogLinesRaw(requestParameters: SearchLogLinesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseLogLineObject>>;
|
|
@@ -569,6 +654,12 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
|
|
|
569
654
|
/**
|
|
570
655
|
*/
|
|
571
656
|
testInvocation(requestParameters: TestInvocationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TestInvocationResponse>;
|
|
657
|
+
/**
|
|
658
|
+
*/
|
|
659
|
+
updateContentShares1Raw(requestParameters: UpdateContentShares1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContentObject>>;
|
|
660
|
+
/**
|
|
661
|
+
*/
|
|
662
|
+
updateContentShares1(requestParameters: UpdateContentShares1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContentObject>;
|
|
572
663
|
/**
|
|
573
664
|
*/
|
|
574
665
|
updateNotificationTemplatesRaw(requestParameters: UpdateNotificationTemplatesOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NotificationTemplatesResponse>>;
|
|
@@ -636,6 +727,7 @@ export declare const ListUserActionLogsActionTypeType: {
|
|
|
636
727
|
readonly CONTACT_METHOD_ADMIN_OVERRIDE: "CONTACT_METHOD_ADMIN_OVERRIDE";
|
|
637
728
|
readonly USER_LOGIN: "USER_LOGIN";
|
|
638
729
|
readonly USER_LOGOUT: "USER_LOGOUT";
|
|
730
|
+
readonly USER_LOGIN_OTP_SENT: "USER_LOGIN_OTP_SENT";
|
|
639
731
|
readonly PAYMENT_CREATED: "PAYMENT_CREATED";
|
|
640
732
|
readonly WELCOME_MESSAGE_SENT: "WELCOME_MESSAGE_SENT";
|
|
641
733
|
readonly EMAIL_SENT: "EMAIL_SENT";
|
|
@@ -345,6 +345,59 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
345
345
|
});
|
|
346
346
|
});
|
|
347
347
|
};
|
|
348
|
+
/**
|
|
349
|
+
*/
|
|
350
|
+
ProjectsServerApi.prototype.createContentUploadLink1Raw = function (requestParameters, initOverrides) {
|
|
351
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
352
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
353
|
+
return __generator(this, function (_a) {
|
|
354
|
+
switch (_a.label) {
|
|
355
|
+
case 0:
|
|
356
|
+
if (requestParameters['projectId'] == null) {
|
|
357
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling createContentUploadLink1().');
|
|
358
|
+
}
|
|
359
|
+
if (requestParameters['userId'] == null) {
|
|
360
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling createContentUploadLink1().');
|
|
361
|
+
}
|
|
362
|
+
if (requestParameters['createContentUploadLinkRequest'] == null) {
|
|
363
|
+
throw new runtime.RequiredError('createContentUploadLinkRequest', 'Required parameter "createContentUploadLinkRequest" was null or undefined when calling createContentUploadLink1().');
|
|
364
|
+
}
|
|
365
|
+
queryParameters = {};
|
|
366
|
+
headerParameters = {};
|
|
367
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
368
|
+
urlPath = "/api/v1/projects/{projectId}/users/{userId}/content/upload-links";
|
|
369
|
+
urlPath = urlPath.replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters['projectId'])));
|
|
370
|
+
urlPath = urlPath.replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters['userId'])));
|
|
371
|
+
return [4 /*yield*/, this.request({
|
|
372
|
+
path: urlPath,
|
|
373
|
+
method: 'POST',
|
|
374
|
+
headers: headerParameters,
|
|
375
|
+
query: queryParameters,
|
|
376
|
+
body: (0, index_1.CreateContentUploadLinkRequestToJSON)(requestParameters['createContentUploadLinkRequest']),
|
|
377
|
+
}, initOverrides)];
|
|
378
|
+
case 1:
|
|
379
|
+
response = _a.sent();
|
|
380
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.CreateContentUploadLinkResponseFromJSON)(jsonValue); })];
|
|
381
|
+
}
|
|
382
|
+
});
|
|
383
|
+
});
|
|
384
|
+
};
|
|
385
|
+
/**
|
|
386
|
+
*/
|
|
387
|
+
ProjectsServerApi.prototype.createContentUploadLink1 = function (requestParameters, initOverrides) {
|
|
388
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
389
|
+
var response;
|
|
390
|
+
return __generator(this, function (_a) {
|
|
391
|
+
switch (_a.label) {
|
|
392
|
+
case 0: return [4 /*yield*/, this.createContentUploadLink1Raw(requestParameters, initOverrides)];
|
|
393
|
+
case 1:
|
|
394
|
+
response = _a.sent();
|
|
395
|
+
return [4 /*yield*/, response.value()];
|
|
396
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
397
|
+
}
|
|
398
|
+
});
|
|
399
|
+
});
|
|
400
|
+
};
|
|
348
401
|
/**
|
|
349
402
|
*/
|
|
350
403
|
ProjectsServerApi.prototype.createPayment1Raw = function (requestParameters, initOverrides) {
|
|
@@ -851,6 +904,56 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
851
904
|
});
|
|
852
905
|
});
|
|
853
906
|
};
|
|
907
|
+
/**
|
|
908
|
+
*/
|
|
909
|
+
ProjectsServerApi.prototype.deleteContent1Raw = function (requestParameters, initOverrides) {
|
|
910
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
911
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
912
|
+
return __generator(this, function (_a) {
|
|
913
|
+
switch (_a.label) {
|
|
914
|
+
case 0:
|
|
915
|
+
if (requestParameters['projectId'] == null) {
|
|
916
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling deleteContent1().');
|
|
917
|
+
}
|
|
918
|
+
if (requestParameters['userId'] == null) {
|
|
919
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling deleteContent1().');
|
|
920
|
+
}
|
|
921
|
+
if (requestParameters['contentId'] == null) {
|
|
922
|
+
throw new runtime.RequiredError('contentId', 'Required parameter "contentId" was null or undefined when calling deleteContent1().');
|
|
923
|
+
}
|
|
924
|
+
queryParameters = {};
|
|
925
|
+
headerParameters = {};
|
|
926
|
+
urlPath = "/api/v1/projects/{projectId}/users/{userId}/content/{contentId}";
|
|
927
|
+
urlPath = urlPath.replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters['projectId'])));
|
|
928
|
+
urlPath = urlPath.replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters['userId'])));
|
|
929
|
+
urlPath = urlPath.replace("{".concat("contentId", "}"), encodeURIComponent(String(requestParameters['contentId'])));
|
|
930
|
+
return [4 /*yield*/, this.request({
|
|
931
|
+
path: urlPath,
|
|
932
|
+
method: 'DELETE',
|
|
933
|
+
headers: headerParameters,
|
|
934
|
+
query: queryParameters,
|
|
935
|
+
}, initOverrides)];
|
|
936
|
+
case 1:
|
|
937
|
+
response = _a.sent();
|
|
938
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
939
|
+
}
|
|
940
|
+
});
|
|
941
|
+
});
|
|
942
|
+
};
|
|
943
|
+
/**
|
|
944
|
+
*/
|
|
945
|
+
ProjectsServerApi.prototype.deleteContent1 = function (requestParameters, initOverrides) {
|
|
946
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
947
|
+
return __generator(this, function (_a) {
|
|
948
|
+
switch (_a.label) {
|
|
949
|
+
case 0: return [4 /*yield*/, this.deleteContent1Raw(requestParameters, initOverrides)];
|
|
950
|
+
case 1:
|
|
951
|
+
_a.sent();
|
|
952
|
+
return [2 /*return*/];
|
|
953
|
+
}
|
|
954
|
+
});
|
|
955
|
+
});
|
|
956
|
+
};
|
|
854
957
|
/**
|
|
855
958
|
*/
|
|
856
959
|
ProjectsServerApi.prototype.deletePaymentTriggerRaw = function (requestParameters, initOverrides) {
|
|
@@ -1123,6 +1226,162 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
1123
1226
|
});
|
|
1124
1227
|
});
|
|
1125
1228
|
};
|
|
1229
|
+
/**
|
|
1230
|
+
*/
|
|
1231
|
+
ProjectsServerApi.prototype.finalizeContent1Raw = function (requestParameters, initOverrides) {
|
|
1232
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1233
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
1234
|
+
return __generator(this, function (_a) {
|
|
1235
|
+
switch (_a.label) {
|
|
1236
|
+
case 0:
|
|
1237
|
+
if (requestParameters['projectId'] == null) {
|
|
1238
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling finalizeContent1().');
|
|
1239
|
+
}
|
|
1240
|
+
if (requestParameters['userId'] == null) {
|
|
1241
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling finalizeContent1().');
|
|
1242
|
+
}
|
|
1243
|
+
if (requestParameters['contentId'] == null) {
|
|
1244
|
+
throw new runtime.RequiredError('contentId', 'Required parameter "contentId" was null or undefined when calling finalizeContent1().');
|
|
1245
|
+
}
|
|
1246
|
+
queryParameters = {};
|
|
1247
|
+
headerParameters = {};
|
|
1248
|
+
urlPath = "/api/v1/projects/{projectId}/users/{userId}/content/{contentId}/finalize";
|
|
1249
|
+
urlPath = urlPath.replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters['projectId'])));
|
|
1250
|
+
urlPath = urlPath.replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters['userId'])));
|
|
1251
|
+
urlPath = urlPath.replace("{".concat("contentId", "}"), encodeURIComponent(String(requestParameters['contentId'])));
|
|
1252
|
+
return [4 /*yield*/, this.request({
|
|
1253
|
+
path: urlPath,
|
|
1254
|
+
method: 'POST',
|
|
1255
|
+
headers: headerParameters,
|
|
1256
|
+
query: queryParameters,
|
|
1257
|
+
}, initOverrides)];
|
|
1258
|
+
case 1:
|
|
1259
|
+
response = _a.sent();
|
|
1260
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ContentObjectFromJSON)(jsonValue); })];
|
|
1261
|
+
}
|
|
1262
|
+
});
|
|
1263
|
+
});
|
|
1264
|
+
};
|
|
1265
|
+
/**
|
|
1266
|
+
*/
|
|
1267
|
+
ProjectsServerApi.prototype.finalizeContent1 = function (requestParameters, initOverrides) {
|
|
1268
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1269
|
+
var response;
|
|
1270
|
+
return __generator(this, function (_a) {
|
|
1271
|
+
switch (_a.label) {
|
|
1272
|
+
case 0: return [4 /*yield*/, this.finalizeContent1Raw(requestParameters, initOverrides)];
|
|
1273
|
+
case 1:
|
|
1274
|
+
response = _a.sent();
|
|
1275
|
+
return [4 /*yield*/, response.value()];
|
|
1276
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
1277
|
+
}
|
|
1278
|
+
});
|
|
1279
|
+
});
|
|
1280
|
+
};
|
|
1281
|
+
/**
|
|
1282
|
+
*/
|
|
1283
|
+
ProjectsServerApi.prototype.getContent1Raw = function (requestParameters, initOverrides) {
|
|
1284
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1285
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
1286
|
+
return __generator(this, function (_a) {
|
|
1287
|
+
switch (_a.label) {
|
|
1288
|
+
case 0:
|
|
1289
|
+
if (requestParameters['projectId'] == null) {
|
|
1290
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling getContent1().');
|
|
1291
|
+
}
|
|
1292
|
+
if (requestParameters['userId'] == null) {
|
|
1293
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling getContent1().');
|
|
1294
|
+
}
|
|
1295
|
+
if (requestParameters['contentId'] == null) {
|
|
1296
|
+
throw new runtime.RequiredError('contentId', 'Required parameter "contentId" was null or undefined when calling getContent1().');
|
|
1297
|
+
}
|
|
1298
|
+
queryParameters = {};
|
|
1299
|
+
headerParameters = {};
|
|
1300
|
+
urlPath = "/api/v1/projects/{projectId}/users/{userId}/content/{contentId}";
|
|
1301
|
+
urlPath = urlPath.replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters['projectId'])));
|
|
1302
|
+
urlPath = urlPath.replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters['userId'])));
|
|
1303
|
+
urlPath = urlPath.replace("{".concat("contentId", "}"), encodeURIComponent(String(requestParameters['contentId'])));
|
|
1304
|
+
return [4 /*yield*/, this.request({
|
|
1305
|
+
path: urlPath,
|
|
1306
|
+
method: 'GET',
|
|
1307
|
+
headers: headerParameters,
|
|
1308
|
+
query: queryParameters,
|
|
1309
|
+
}, initOverrides)];
|
|
1310
|
+
case 1:
|
|
1311
|
+
response = _a.sent();
|
|
1312
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ContentObjectFromJSON)(jsonValue); })];
|
|
1313
|
+
}
|
|
1314
|
+
});
|
|
1315
|
+
});
|
|
1316
|
+
};
|
|
1317
|
+
/**
|
|
1318
|
+
*/
|
|
1319
|
+
ProjectsServerApi.prototype.getContent1 = function (requestParameters, initOverrides) {
|
|
1320
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1321
|
+
var response;
|
|
1322
|
+
return __generator(this, function (_a) {
|
|
1323
|
+
switch (_a.label) {
|
|
1324
|
+
case 0: return [4 /*yield*/, this.getContent1Raw(requestParameters, initOverrides)];
|
|
1325
|
+
case 1:
|
|
1326
|
+
response = _a.sent();
|
|
1327
|
+
return [4 /*yield*/, response.value()];
|
|
1328
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
1329
|
+
}
|
|
1330
|
+
});
|
|
1331
|
+
});
|
|
1332
|
+
};
|
|
1333
|
+
/**
|
|
1334
|
+
*/
|
|
1335
|
+
ProjectsServerApi.prototype.getContentDownloadLink1Raw = function (requestParameters, initOverrides) {
|
|
1336
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1337
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
1338
|
+
return __generator(this, function (_a) {
|
|
1339
|
+
switch (_a.label) {
|
|
1340
|
+
case 0:
|
|
1341
|
+
if (requestParameters['projectId'] == null) {
|
|
1342
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling getContentDownloadLink1().');
|
|
1343
|
+
}
|
|
1344
|
+
if (requestParameters['userId'] == null) {
|
|
1345
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling getContentDownloadLink1().');
|
|
1346
|
+
}
|
|
1347
|
+
if (requestParameters['contentId'] == null) {
|
|
1348
|
+
throw new runtime.RequiredError('contentId', 'Required parameter "contentId" was null or undefined when calling getContentDownloadLink1().');
|
|
1349
|
+
}
|
|
1350
|
+
queryParameters = {};
|
|
1351
|
+
headerParameters = {};
|
|
1352
|
+
urlPath = "/api/v1/projects/{projectId}/users/{userId}/content/{contentId}/download-link";
|
|
1353
|
+
urlPath = urlPath.replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters['projectId'])));
|
|
1354
|
+
urlPath = urlPath.replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters['userId'])));
|
|
1355
|
+
urlPath = urlPath.replace("{".concat("contentId", "}"), encodeURIComponent(String(requestParameters['contentId'])));
|
|
1356
|
+
return [4 /*yield*/, this.request({
|
|
1357
|
+
path: urlPath,
|
|
1358
|
+
method: 'GET',
|
|
1359
|
+
headers: headerParameters,
|
|
1360
|
+
query: queryParameters,
|
|
1361
|
+
}, initOverrides)];
|
|
1362
|
+
case 1:
|
|
1363
|
+
response = _a.sent();
|
|
1364
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetContentDownloadLinkResponseFromJSON)(jsonValue); })];
|
|
1365
|
+
}
|
|
1366
|
+
});
|
|
1367
|
+
});
|
|
1368
|
+
};
|
|
1369
|
+
/**
|
|
1370
|
+
*/
|
|
1371
|
+
ProjectsServerApi.prototype.getContentDownloadLink1 = function (requestParameters, initOverrides) {
|
|
1372
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1373
|
+
var response;
|
|
1374
|
+
return __generator(this, function (_a) {
|
|
1375
|
+
switch (_a.label) {
|
|
1376
|
+
case 0: return [4 /*yield*/, this.getContentDownloadLink1Raw(requestParameters, initOverrides)];
|
|
1377
|
+
case 1:
|
|
1378
|
+
response = _a.sent();
|
|
1379
|
+
return [4 /*yield*/, response.value()];
|
|
1380
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
1381
|
+
}
|
|
1382
|
+
});
|
|
1383
|
+
});
|
|
1384
|
+
};
|
|
1126
1385
|
/**
|
|
1127
1386
|
*/
|
|
1128
1387
|
ProjectsServerApi.prototype.getNotificationTemplatesRaw = function (requestParameters, initOverrides) {
|
|
@@ -1621,6 +1880,60 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
1621
1880
|
});
|
|
1622
1881
|
});
|
|
1623
1882
|
};
|
|
1883
|
+
/**
|
|
1884
|
+
*/
|
|
1885
|
+
ProjectsServerApi.prototype.listContent1Raw = function (requestParameters, initOverrides) {
|
|
1886
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1887
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
1888
|
+
return __generator(this, function (_a) {
|
|
1889
|
+
switch (_a.label) {
|
|
1890
|
+
case 0:
|
|
1891
|
+
if (requestParameters['projectId'] == null) {
|
|
1892
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling listContent1().');
|
|
1893
|
+
}
|
|
1894
|
+
if (requestParameters['userId'] == null) {
|
|
1895
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling listContent1().');
|
|
1896
|
+
}
|
|
1897
|
+
queryParameters = {};
|
|
1898
|
+
if (requestParameters['page'] != null) {
|
|
1899
|
+
queryParameters['page'] = requestParameters['page'];
|
|
1900
|
+
}
|
|
1901
|
+
if (requestParameters['pageSize'] != null) {
|
|
1902
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
1903
|
+
}
|
|
1904
|
+
headerParameters = {};
|
|
1905
|
+
urlPath = "/api/v1/projects/{projectId}/users/{userId}/content";
|
|
1906
|
+
urlPath = urlPath.replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters['projectId'])));
|
|
1907
|
+
urlPath = urlPath.replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters['userId'])));
|
|
1908
|
+
return [4 /*yield*/, this.request({
|
|
1909
|
+
path: urlPath,
|
|
1910
|
+
method: 'GET',
|
|
1911
|
+
headers: headerParameters,
|
|
1912
|
+
query: queryParameters,
|
|
1913
|
+
}, initOverrides)];
|
|
1914
|
+
case 1:
|
|
1915
|
+
response = _a.sent();
|
|
1916
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ListContentResponseFromJSON)(jsonValue); })];
|
|
1917
|
+
}
|
|
1918
|
+
});
|
|
1919
|
+
});
|
|
1920
|
+
};
|
|
1921
|
+
/**
|
|
1922
|
+
*/
|
|
1923
|
+
ProjectsServerApi.prototype.listContent1 = function (requestParameters, initOverrides) {
|
|
1924
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1925
|
+
var response;
|
|
1926
|
+
return __generator(this, function (_a) {
|
|
1927
|
+
switch (_a.label) {
|
|
1928
|
+
case 0: return [4 /*yield*/, this.listContent1Raw(requestParameters, initOverrides)];
|
|
1929
|
+
case 1:
|
|
1930
|
+
response = _a.sent();
|
|
1931
|
+
return [4 /*yield*/, response.value()];
|
|
1932
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
1933
|
+
}
|
|
1934
|
+
});
|
|
1935
|
+
});
|
|
1936
|
+
};
|
|
1624
1937
|
/**
|
|
1625
1938
|
*/
|
|
1626
1939
|
ProjectsServerApi.prototype.listLogLinesRaw = function (requestParameters, initOverrides) {
|
|
@@ -2268,6 +2581,63 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
2268
2581
|
});
|
|
2269
2582
|
});
|
|
2270
2583
|
};
|
|
2584
|
+
/**
|
|
2585
|
+
*/
|
|
2586
|
+
ProjectsServerApi.prototype.reUploadContent1Raw = function (requestParameters, initOverrides) {
|
|
2587
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2588
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
2589
|
+
return __generator(this, function (_a) {
|
|
2590
|
+
switch (_a.label) {
|
|
2591
|
+
case 0:
|
|
2592
|
+
if (requestParameters['projectId'] == null) {
|
|
2593
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling reUploadContent1().');
|
|
2594
|
+
}
|
|
2595
|
+
if (requestParameters['userId'] == null) {
|
|
2596
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling reUploadContent1().');
|
|
2597
|
+
}
|
|
2598
|
+
if (requestParameters['contentId'] == null) {
|
|
2599
|
+
throw new runtime.RequiredError('contentId', 'Required parameter "contentId" was null or undefined when calling reUploadContent1().');
|
|
2600
|
+
}
|
|
2601
|
+
if (requestParameters['createContentUploadLinkRequest'] == null) {
|
|
2602
|
+
throw new runtime.RequiredError('createContentUploadLinkRequest', 'Required parameter "createContentUploadLinkRequest" was null or undefined when calling reUploadContent1().');
|
|
2603
|
+
}
|
|
2604
|
+
queryParameters = {};
|
|
2605
|
+
headerParameters = {};
|
|
2606
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2607
|
+
urlPath = "/api/v1/projects/{projectId}/users/{userId}/content/{contentId}/upload-links";
|
|
2608
|
+
urlPath = urlPath.replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters['projectId'])));
|
|
2609
|
+
urlPath = urlPath.replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters['userId'])));
|
|
2610
|
+
urlPath = urlPath.replace("{".concat("contentId", "}"), encodeURIComponent(String(requestParameters['contentId'])));
|
|
2611
|
+
return [4 /*yield*/, this.request({
|
|
2612
|
+
path: urlPath,
|
|
2613
|
+
method: 'POST',
|
|
2614
|
+
headers: headerParameters,
|
|
2615
|
+
query: queryParameters,
|
|
2616
|
+
body: (0, index_1.CreateContentUploadLinkRequestToJSON)(requestParameters['createContentUploadLinkRequest']),
|
|
2617
|
+
}, initOverrides)];
|
|
2618
|
+
case 1:
|
|
2619
|
+
response = _a.sent();
|
|
2620
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.CreateContentUploadLinkResponseFromJSON)(jsonValue); })];
|
|
2621
|
+
}
|
|
2622
|
+
});
|
|
2623
|
+
});
|
|
2624
|
+
};
|
|
2625
|
+
/**
|
|
2626
|
+
*/
|
|
2627
|
+
ProjectsServerApi.prototype.reUploadContent1 = function (requestParameters, initOverrides) {
|
|
2628
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2629
|
+
var response;
|
|
2630
|
+
return __generator(this, function (_a) {
|
|
2631
|
+
switch (_a.label) {
|
|
2632
|
+
case 0: return [4 /*yield*/, this.reUploadContent1Raw(requestParameters, initOverrides)];
|
|
2633
|
+
case 1:
|
|
2634
|
+
response = _a.sent();
|
|
2635
|
+
return [4 /*yield*/, response.value()];
|
|
2636
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
2637
|
+
}
|
|
2638
|
+
});
|
|
2639
|
+
});
|
|
2640
|
+
};
|
|
2271
2641
|
/**
|
|
2272
2642
|
*/
|
|
2273
2643
|
ProjectsServerApi.prototype.searchLogLinesRaw = function (requestParameters, initOverrides) {
|
|
@@ -2556,6 +2926,63 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
2556
2926
|
});
|
|
2557
2927
|
});
|
|
2558
2928
|
};
|
|
2929
|
+
/**
|
|
2930
|
+
*/
|
|
2931
|
+
ProjectsServerApi.prototype.updateContentShares1Raw = function (requestParameters, initOverrides) {
|
|
2932
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2933
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
2934
|
+
return __generator(this, function (_a) {
|
|
2935
|
+
switch (_a.label) {
|
|
2936
|
+
case 0:
|
|
2937
|
+
if (requestParameters['projectId'] == null) {
|
|
2938
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling updateContentShares1().');
|
|
2939
|
+
}
|
|
2940
|
+
if (requestParameters['userId'] == null) {
|
|
2941
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling updateContentShares1().');
|
|
2942
|
+
}
|
|
2943
|
+
if (requestParameters['contentId'] == null) {
|
|
2944
|
+
throw new runtime.RequiredError('contentId', 'Required parameter "contentId" was null or undefined when calling updateContentShares1().');
|
|
2945
|
+
}
|
|
2946
|
+
if (requestParameters['updateContentSharesRequest'] == null) {
|
|
2947
|
+
throw new runtime.RequiredError('updateContentSharesRequest', 'Required parameter "updateContentSharesRequest" was null or undefined when calling updateContentShares1().');
|
|
2948
|
+
}
|
|
2949
|
+
queryParameters = {};
|
|
2950
|
+
headerParameters = {};
|
|
2951
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2952
|
+
urlPath = "/api/v1/projects/{projectId}/users/{userId}/content/{contentId}/shares";
|
|
2953
|
+
urlPath = urlPath.replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters['projectId'])));
|
|
2954
|
+
urlPath = urlPath.replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters['userId'])));
|
|
2955
|
+
urlPath = urlPath.replace("{".concat("contentId", "}"), encodeURIComponent(String(requestParameters['contentId'])));
|
|
2956
|
+
return [4 /*yield*/, this.request({
|
|
2957
|
+
path: urlPath,
|
|
2958
|
+
method: 'PUT',
|
|
2959
|
+
headers: headerParameters,
|
|
2960
|
+
query: queryParameters,
|
|
2961
|
+
body: (0, index_1.UpdateContentSharesRequestToJSON)(requestParameters['updateContentSharesRequest']),
|
|
2962
|
+
}, initOverrides)];
|
|
2963
|
+
case 1:
|
|
2964
|
+
response = _a.sent();
|
|
2965
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ContentObjectFromJSON)(jsonValue); })];
|
|
2966
|
+
}
|
|
2967
|
+
});
|
|
2968
|
+
});
|
|
2969
|
+
};
|
|
2970
|
+
/**
|
|
2971
|
+
*/
|
|
2972
|
+
ProjectsServerApi.prototype.updateContentShares1 = function (requestParameters, initOverrides) {
|
|
2973
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2974
|
+
var response;
|
|
2975
|
+
return __generator(this, function (_a) {
|
|
2976
|
+
switch (_a.label) {
|
|
2977
|
+
case 0: return [4 /*yield*/, this.updateContentShares1Raw(requestParameters, initOverrides)];
|
|
2978
|
+
case 1:
|
|
2979
|
+
response = _a.sent();
|
|
2980
|
+
return [4 /*yield*/, response.value()];
|
|
2981
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
2982
|
+
}
|
|
2983
|
+
});
|
|
2984
|
+
});
|
|
2985
|
+
};
|
|
2559
2986
|
/**
|
|
2560
2987
|
*/
|
|
2561
2988
|
ProjectsServerApi.prototype.updateNotificationTemplatesRaw = function (requestParameters, initOverrides) {
|
|
@@ -2850,6 +3277,7 @@ exports.ListUserActionLogsActionTypeType = {
|
|
|
2850
3277
|
CONTACT_METHOD_ADMIN_OVERRIDE: 'CONTACT_METHOD_ADMIN_OVERRIDE',
|
|
2851
3278
|
USER_LOGIN: 'USER_LOGIN',
|
|
2852
3279
|
USER_LOGOUT: 'USER_LOGOUT',
|
|
3280
|
+
USER_LOGIN_OTP_SENT: 'USER_LOGIN_OTP_SENT',
|
|
2853
3281
|
PAYMENT_CREATED: 'PAYMENT_CREATED',
|
|
2854
3282
|
WELCOME_MESSAGE_SENT: 'WELCOME_MESSAGE_SENT',
|
|
2855
3283
|
EMAIL_SENT: 'EMAIL_SENT',
|