@forteplatforms/sdk 1.0.249 → 1.0.253
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.
|
@@ -62,14 +62,17 @@ export interface ActivateMfaMethodOperationRequest {
|
|
|
62
62
|
projectId: string;
|
|
63
63
|
mfaMethodId: string;
|
|
64
64
|
activateMfaMethodRequest: ActivateMfaMethodRequest;
|
|
65
|
+
authorization?: string;
|
|
65
66
|
}
|
|
66
67
|
export interface CancelMySubscriptionRequest {
|
|
67
68
|
projectId: string;
|
|
68
69
|
subscriptionId: string;
|
|
70
|
+
authorization?: string;
|
|
69
71
|
}
|
|
70
72
|
export interface ChangeMyPasswordRequest {
|
|
71
73
|
projectId: string;
|
|
72
74
|
changePasswordRequest: ChangePasswordRequest;
|
|
75
|
+
authorization?: string;
|
|
73
76
|
}
|
|
74
77
|
export interface CompleteOtpLoginOperationRequest {
|
|
75
78
|
projectId: string;
|
|
@@ -83,10 +86,12 @@ export interface CompletePasswordResetOperationRequest {
|
|
|
83
86
|
export interface CreateContactMethodRequest {
|
|
84
87
|
projectId: string;
|
|
85
88
|
addContactMethodRequest: AddContactMethodRequest;
|
|
89
|
+
authorization?: string;
|
|
86
90
|
}
|
|
87
91
|
export interface CreateMfaMethodOperationRequest {
|
|
88
92
|
projectId: string;
|
|
89
93
|
createMfaMethodRequest: CreateMfaMethodRequest;
|
|
94
|
+
authorization?: string;
|
|
90
95
|
}
|
|
91
96
|
export interface CreateOtpLoginOperationRequest {
|
|
92
97
|
projectId: string;
|
|
@@ -95,27 +100,34 @@ export interface CreateOtpLoginOperationRequest {
|
|
|
95
100
|
export interface CreateUserInviteOperationRequest {
|
|
96
101
|
projectId: string;
|
|
97
102
|
createUserInviteRequest: CreateUserInviteRequest;
|
|
103
|
+
authorization?: string;
|
|
98
104
|
}
|
|
99
105
|
export interface DeleteContactMethodRequest {
|
|
100
106
|
projectId: string;
|
|
101
107
|
contactMethodId: string;
|
|
108
|
+
authorization?: string;
|
|
102
109
|
}
|
|
103
110
|
export interface DeleteMfaMethodRequest {
|
|
104
111
|
projectId: string;
|
|
105
112
|
mfaMethodId: string;
|
|
113
|
+
authorization?: string;
|
|
106
114
|
}
|
|
107
115
|
export interface GenerateBackupCodesRequest {
|
|
108
116
|
projectId: string;
|
|
117
|
+
authorization?: string;
|
|
109
118
|
}
|
|
110
119
|
export interface GetAccountRequest {
|
|
111
120
|
projectId: string;
|
|
121
|
+
authorization?: string;
|
|
112
122
|
}
|
|
113
123
|
export interface GetBackupCodeStatusRequest {
|
|
114
124
|
projectId: string;
|
|
125
|
+
authorization?: string;
|
|
115
126
|
}
|
|
116
127
|
export interface GetMySubscriptionRequest {
|
|
117
128
|
projectId: string;
|
|
118
129
|
subscriptionId: string;
|
|
130
|
+
authorization?: string;
|
|
119
131
|
}
|
|
120
132
|
export interface GoogleAuthLoginCallbackRequest {
|
|
121
133
|
projectId: string;
|
|
@@ -125,9 +137,11 @@ export interface GoogleAuthLoginCallbackRequest {
|
|
|
125
137
|
}
|
|
126
138
|
export interface ListMfaMethodsRequest {
|
|
127
139
|
projectId: string;
|
|
140
|
+
authorization?: string;
|
|
128
141
|
}
|
|
129
142
|
export interface ListMyPaymentsRequest {
|
|
130
143
|
projectId: string;
|
|
144
|
+
authorization?: string;
|
|
131
145
|
metadataKey?: string;
|
|
132
146
|
metadataValue?: string;
|
|
133
147
|
minTime?: Date;
|
|
@@ -136,11 +150,13 @@ export interface ListMyPaymentsRequest {
|
|
|
136
150
|
}
|
|
137
151
|
export interface ListMySubscriptionsRequest {
|
|
138
152
|
projectId: string;
|
|
153
|
+
authorization?: string;
|
|
139
154
|
page?: number;
|
|
140
155
|
pageSize?: number;
|
|
141
156
|
}
|
|
142
157
|
export interface ListUserInvitesRequest {
|
|
143
158
|
projectId: string;
|
|
159
|
+
authorization?: string;
|
|
144
160
|
}
|
|
145
161
|
export interface LogoutRequest {
|
|
146
162
|
projectId: string;
|
|
@@ -155,6 +171,7 @@ export interface PreviewMySubscriptionUpdateRequest {
|
|
|
155
171
|
projectId: string;
|
|
156
172
|
subscriptionId: string;
|
|
157
173
|
updateSubscriptionPreviewRequest: UpdateSubscriptionPreviewRequest;
|
|
174
|
+
authorization?: string;
|
|
158
175
|
}
|
|
159
176
|
export interface RegisterUserOperationRequest {
|
|
160
177
|
projectId: string;
|
|
@@ -164,6 +181,7 @@ export interface RenameMfaMethodOperationRequest {
|
|
|
164
181
|
projectId: string;
|
|
165
182
|
mfaMethodId: string;
|
|
166
183
|
renameMfaMethodRequest: RenameMfaMethodRequest;
|
|
184
|
+
authorization?: string;
|
|
167
185
|
}
|
|
168
186
|
export interface RenewSessionTokenRequest {
|
|
169
187
|
projectId: string;
|
|
@@ -178,6 +196,7 @@ export interface RequestPasswordResetOperationRequest {
|
|
|
178
196
|
export interface ResendContactMethodVerificationCodeRequest {
|
|
179
197
|
projectId: string;
|
|
180
198
|
contactMethodId: string;
|
|
199
|
+
authorization?: string;
|
|
181
200
|
}
|
|
182
201
|
export interface ResendLoginOtpRequest {
|
|
183
202
|
projectId: string;
|
|
@@ -186,94 +205,116 @@ export interface ResendLoginOtpRequest {
|
|
|
186
205
|
export interface RevokeUserInviteRequest {
|
|
187
206
|
projectId: string;
|
|
188
207
|
inviteId: string;
|
|
208
|
+
authorization?: string;
|
|
189
209
|
}
|
|
190
210
|
export interface SendMfaChallengeRequest {
|
|
191
211
|
projectId: string;
|
|
192
212
|
mfaChallengeRequest: MfaChallengeRequest;
|
|
213
|
+
authorization?: string;
|
|
193
214
|
}
|
|
194
215
|
export interface UpdateMySubscriptionRequest {
|
|
195
216
|
projectId: string;
|
|
196
217
|
subscriptionId: string;
|
|
197
218
|
updateSubscriptionRequest: UpdateSubscriptionRequest;
|
|
219
|
+
authorization?: string;
|
|
198
220
|
}
|
|
199
221
|
export interface UsersCreateContentUploadLinkRequest {
|
|
200
222
|
projectId: string;
|
|
201
223
|
createContentUploadLinkRequest: CreateContentUploadLinkRequest;
|
|
224
|
+
authorization?: string;
|
|
202
225
|
}
|
|
203
226
|
export interface UsersCreatePaymentRequest {
|
|
204
227
|
projectId: string;
|
|
205
228
|
createPaymentRequest: CreatePaymentRequest;
|
|
229
|
+
authorization?: string;
|
|
206
230
|
}
|
|
207
231
|
export interface UsersCreatePaymentMethodRequest {
|
|
208
232
|
projectId: string;
|
|
233
|
+
authorization?: string;
|
|
209
234
|
}
|
|
210
235
|
export interface UsersCreatePaymentPreviewRequest {
|
|
211
236
|
projectId: string;
|
|
212
237
|
createPaymentPreviewRequest: CreatePaymentPreviewRequest;
|
|
238
|
+
authorization?: string;
|
|
213
239
|
}
|
|
214
240
|
export interface UsersCreateSubscriptionRequest {
|
|
215
241
|
projectId: string;
|
|
216
242
|
createSubscriptionRequest: CreateSubscriptionRequest;
|
|
243
|
+
authorization?: string;
|
|
217
244
|
}
|
|
218
245
|
export interface UsersCreateSubscriptionPreviewRequest {
|
|
219
246
|
projectId: string;
|
|
220
247
|
createSubscriptionPreviewRequest: CreateSubscriptionPreviewRequest;
|
|
248
|
+
authorization?: string;
|
|
221
249
|
}
|
|
222
250
|
export interface UsersDeleteContentRequest {
|
|
223
251
|
projectId: string;
|
|
224
252
|
contentId: string;
|
|
253
|
+
authorization?: string;
|
|
225
254
|
}
|
|
226
255
|
export interface UsersDeletePaymentMethodRequest {
|
|
227
256
|
projectId: string;
|
|
228
257
|
paymentMethodId: string;
|
|
258
|
+
authorization?: string;
|
|
229
259
|
}
|
|
230
260
|
export interface UsersFinalizeContentRequest {
|
|
231
261
|
projectId: string;
|
|
232
262
|
pendingContentId: string;
|
|
263
|
+
authorization?: string;
|
|
233
264
|
}
|
|
234
265
|
export interface UsersGetContentRequest {
|
|
235
266
|
projectId: string;
|
|
236
267
|
contentId: string;
|
|
268
|
+
authorization?: string;
|
|
237
269
|
}
|
|
238
270
|
export interface UsersGetContentDownloadLinkRequest {
|
|
239
271
|
projectId: string;
|
|
240
272
|
contentId: string;
|
|
273
|
+
authorization?: string;
|
|
241
274
|
}
|
|
242
275
|
export interface UsersGetPaymentMethodRequest {
|
|
243
276
|
projectId: string;
|
|
244
277
|
paymentMethodId: string;
|
|
278
|
+
authorization?: string;
|
|
245
279
|
}
|
|
246
280
|
export interface UsersListContentRequest {
|
|
247
281
|
projectId: string;
|
|
282
|
+
authorization?: string;
|
|
248
283
|
page?: number;
|
|
249
284
|
pageSize?: number;
|
|
250
285
|
}
|
|
251
286
|
export interface UsersListPaymentMethodsRequest {
|
|
252
287
|
projectId: string;
|
|
288
|
+
authorization?: string;
|
|
253
289
|
}
|
|
254
290
|
export interface UsersUpdateContentOwnerRequest {
|
|
255
291
|
projectId: string;
|
|
256
292
|
contentId: string;
|
|
257
293
|
updateContentOwnerRequest: UpdateContentOwnerRequest;
|
|
294
|
+
authorization?: string;
|
|
258
295
|
}
|
|
259
296
|
export interface UsersUpdateContentSharesRequest {
|
|
260
297
|
projectId: string;
|
|
261
298
|
contentId: string;
|
|
262
299
|
updateContentSharesRequest: UpdateContentSharesRequest;
|
|
300
|
+
authorization?: string;
|
|
263
301
|
}
|
|
264
302
|
export interface UsersUpdatePaymentMethodRequest {
|
|
265
303
|
projectId: string;
|
|
266
304
|
paymentMethodId: string;
|
|
267
305
|
updatePaymentMethodRequest: UpdatePaymentMethodRequest;
|
|
306
|
+
authorization?: string;
|
|
268
307
|
}
|
|
269
308
|
export interface VerifyContactMethodRequest {
|
|
270
309
|
projectId: string;
|
|
271
310
|
contactMethodId: string;
|
|
272
311
|
verificationCode: string;
|
|
312
|
+
authorization?: string;
|
|
273
313
|
}
|
|
274
314
|
export interface VerifyMfaRequest {
|
|
275
315
|
projectId: string;
|
|
276
316
|
mfaVerifyRequest: MfaVerifyRequest;
|
|
317
|
+
authorization?: string;
|
|
277
318
|
}
|
|
278
319
|
/**
|
|
279
320
|
*
|
|
@@ -141,6 +141,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
141
141
|
queryParameters = {};
|
|
142
142
|
headerParameters = {};
|
|
143
143
|
headerParameters['Content-Type'] = 'application/json';
|
|
144
|
+
if (requestParameters['authorization'] != null) {
|
|
145
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
146
|
+
}
|
|
144
147
|
urlPath = "/api/v1/{projectId}/users/me/mfa/methods/{mfaMethodId}/verification";
|
|
145
148
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
146
149
|
urlPath = urlPath.replace('{mfaMethodId}', encodeURIComponent(String(requestParameters['mfaMethodId'])));
|
|
@@ -201,6 +204,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
201
204
|
}
|
|
202
205
|
queryParameters = {};
|
|
203
206
|
headerParameters = {};
|
|
207
|
+
if (requestParameters['authorization'] != null) {
|
|
208
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
209
|
+
}
|
|
204
210
|
urlPath = "/api/v1/{projectId}/users/me/subscriptions/{subscriptionId}";
|
|
205
211
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
206
212
|
urlPath = urlPath.replace('{subscriptionId}', encodeURIComponent(String(requestParameters['subscriptionId'])));
|
|
@@ -263,6 +269,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
263
269
|
queryParameters = {};
|
|
264
270
|
headerParameters = {};
|
|
265
271
|
headerParameters['Content-Type'] = 'application/json';
|
|
272
|
+
if (requestParameters['authorization'] != null) {
|
|
273
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
274
|
+
}
|
|
266
275
|
urlPath = "/api/v1/{projectId}/users/me/password";
|
|
267
276
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
268
277
|
return [2 /*return*/, {
|
|
@@ -451,6 +460,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
451
460
|
queryParameters = {};
|
|
452
461
|
headerParameters = {};
|
|
453
462
|
headerParameters['Content-Type'] = 'application/json';
|
|
463
|
+
if (requestParameters['authorization'] != null) {
|
|
464
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
465
|
+
}
|
|
454
466
|
urlPath = "/api/v1/{projectId}/users/me/contact-methods";
|
|
455
467
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
456
468
|
return [2 /*return*/, {
|
|
@@ -513,6 +525,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
513
525
|
queryParameters = {};
|
|
514
526
|
headerParameters = {};
|
|
515
527
|
headerParameters['Content-Type'] = 'application/json';
|
|
528
|
+
if (requestParameters['authorization'] != null) {
|
|
529
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
530
|
+
}
|
|
516
531
|
urlPath = "/api/v1/{projectId}/users/me/mfa/methods";
|
|
517
532
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
518
533
|
return [2 /*return*/, {
|
|
@@ -637,6 +652,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
637
652
|
queryParameters = {};
|
|
638
653
|
headerParameters = {};
|
|
639
654
|
headerParameters['Content-Type'] = 'application/json';
|
|
655
|
+
if (requestParameters['authorization'] != null) {
|
|
656
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
657
|
+
}
|
|
640
658
|
urlPath = "/api/v1/{projectId}/users/me/invites";
|
|
641
659
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
642
660
|
return [2 /*return*/, {
|
|
@@ -698,6 +716,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
698
716
|
}
|
|
699
717
|
queryParameters = {};
|
|
700
718
|
headerParameters = {};
|
|
719
|
+
if (requestParameters['authorization'] != null) {
|
|
720
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
721
|
+
}
|
|
701
722
|
urlPath = "/api/v1/{projectId}/users/me/contact-methods/{contactMethodId}";
|
|
702
723
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
703
724
|
urlPath = urlPath.replace('{contactMethodId}', encodeURIComponent(String(requestParameters['contactMethodId'])));
|
|
@@ -757,6 +778,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
757
778
|
}
|
|
758
779
|
queryParameters = {};
|
|
759
780
|
headerParameters = {};
|
|
781
|
+
if (requestParameters['authorization'] != null) {
|
|
782
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
783
|
+
}
|
|
760
784
|
urlPath = "/api/v1/{projectId}/users/me/mfa/methods/{mfaMethodId}";
|
|
761
785
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
762
786
|
urlPath = urlPath.replace('{mfaMethodId}', encodeURIComponent(String(requestParameters['mfaMethodId'])));
|
|
@@ -813,6 +837,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
813
837
|
}
|
|
814
838
|
queryParameters = {};
|
|
815
839
|
headerParameters = {};
|
|
840
|
+
if (requestParameters['authorization'] != null) {
|
|
841
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
842
|
+
}
|
|
816
843
|
urlPath = "/api/v1/{projectId}/users/me/mfa/backup-codes";
|
|
817
844
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
818
845
|
return [2 /*return*/, {
|
|
@@ -870,6 +897,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
870
897
|
}
|
|
871
898
|
queryParameters = {};
|
|
872
899
|
headerParameters = {};
|
|
900
|
+
if (requestParameters['authorization'] != null) {
|
|
901
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
902
|
+
}
|
|
873
903
|
urlPath = "/api/v1/{projectId}/users/me";
|
|
874
904
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
875
905
|
return [2 /*return*/, {
|
|
@@ -927,6 +957,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
927
957
|
}
|
|
928
958
|
queryParameters = {};
|
|
929
959
|
headerParameters = {};
|
|
960
|
+
if (requestParameters['authorization'] != null) {
|
|
961
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
962
|
+
}
|
|
930
963
|
urlPath = "/api/v1/{projectId}/users/me/mfa/backup-codes";
|
|
931
964
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
932
965
|
return [2 /*return*/, {
|
|
@@ -987,6 +1020,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
987
1020
|
}
|
|
988
1021
|
queryParameters = {};
|
|
989
1022
|
headerParameters = {};
|
|
1023
|
+
if (requestParameters['authorization'] != null) {
|
|
1024
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
1025
|
+
}
|
|
990
1026
|
urlPath = "/api/v1/{projectId}/users/me/subscriptions/{subscriptionId}";
|
|
991
1027
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
992
1028
|
urlPath = urlPath.replace('{subscriptionId}', encodeURIComponent(String(requestParameters['subscriptionId'])));
|
|
@@ -1129,6 +1165,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
1129
1165
|
}
|
|
1130
1166
|
queryParameters = {};
|
|
1131
1167
|
headerParameters = {};
|
|
1168
|
+
if (requestParameters['authorization'] != null) {
|
|
1169
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
1170
|
+
}
|
|
1132
1171
|
urlPath = "/api/v1/{projectId}/users/me/mfa/methods";
|
|
1133
1172
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
1134
1173
|
return [2 /*return*/, {
|
|
@@ -1201,6 +1240,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
1201
1240
|
queryParameters['nextToken'] = requestParameters['nextToken'];
|
|
1202
1241
|
}
|
|
1203
1242
|
headerParameters = {};
|
|
1243
|
+
if (requestParameters['authorization'] != null) {
|
|
1244
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
1245
|
+
}
|
|
1204
1246
|
urlPath = "/api/v1/{projectId}/users/me/payments";
|
|
1205
1247
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
1206
1248
|
return [2 /*return*/, {
|
|
@@ -1264,6 +1306,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
1264
1306
|
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
1265
1307
|
}
|
|
1266
1308
|
headerParameters = {};
|
|
1309
|
+
if (requestParameters['authorization'] != null) {
|
|
1310
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
1311
|
+
}
|
|
1267
1312
|
urlPath = "/api/v1/{projectId}/users/me/subscriptions";
|
|
1268
1313
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
1269
1314
|
return [2 /*return*/, {
|
|
@@ -1321,6 +1366,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
1321
1366
|
}
|
|
1322
1367
|
queryParameters = {};
|
|
1323
1368
|
headerParameters = {};
|
|
1369
|
+
if (requestParameters['authorization'] != null) {
|
|
1370
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
1371
|
+
}
|
|
1324
1372
|
urlPath = "/api/v1/{projectId}/users/me/invites";
|
|
1325
1373
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
1326
1374
|
return [2 /*return*/, {
|
|
@@ -1505,6 +1553,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
1505
1553
|
queryParameters = {};
|
|
1506
1554
|
headerParameters = {};
|
|
1507
1555
|
headerParameters['Content-Type'] = 'application/json';
|
|
1556
|
+
if (requestParameters['authorization'] != null) {
|
|
1557
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
1558
|
+
}
|
|
1508
1559
|
urlPath = "/api/v1/{projectId}/users/me/subscriptions/{subscriptionId}/preview";
|
|
1509
1560
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
1510
1561
|
urlPath = urlPath.replace('{subscriptionId}', encodeURIComponent(String(requestParameters['subscriptionId'])));
|
|
@@ -1633,6 +1684,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
1633
1684
|
queryParameters = {};
|
|
1634
1685
|
headerParameters = {};
|
|
1635
1686
|
headerParameters['Content-Type'] = 'application/json';
|
|
1687
|
+
if (requestParameters['authorization'] != null) {
|
|
1688
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
1689
|
+
}
|
|
1636
1690
|
urlPath = "/api/v1/{projectId}/users/me/mfa/methods/{mfaMethodId}";
|
|
1637
1691
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
1638
1692
|
urlPath = urlPath.replace('{mfaMethodId}', encodeURIComponent(String(requestParameters['mfaMethodId'])));
|
|
@@ -1816,6 +1870,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
1816
1870
|
}
|
|
1817
1871
|
queryParameters = {};
|
|
1818
1872
|
headerParameters = {};
|
|
1873
|
+
if (requestParameters['authorization'] != null) {
|
|
1874
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
1875
|
+
}
|
|
1819
1876
|
urlPath = "/api/v1/{projectId}/users/me/contact-methods/{contactMethodId}/resend-verification-code";
|
|
1820
1877
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
1821
1878
|
urlPath = urlPath.replace('{contactMethodId}', encodeURIComponent(String(requestParameters['contactMethodId'])));
|
|
@@ -1938,6 +1995,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
1938
1995
|
}
|
|
1939
1996
|
queryParameters = {};
|
|
1940
1997
|
headerParameters = {};
|
|
1998
|
+
if (requestParameters['authorization'] != null) {
|
|
1999
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2000
|
+
}
|
|
1941
2001
|
urlPath = "/api/v1/{projectId}/users/me/invites/{inviteId}";
|
|
1942
2002
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
1943
2003
|
urlPath = urlPath.replace('{inviteId}', encodeURIComponent(String(requestParameters['inviteId'])));
|
|
@@ -1998,6 +2058,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
1998
2058
|
queryParameters = {};
|
|
1999
2059
|
headerParameters = {};
|
|
2000
2060
|
headerParameters['Content-Type'] = 'application/json';
|
|
2061
|
+
if (requestParameters['authorization'] != null) {
|
|
2062
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2063
|
+
}
|
|
2001
2064
|
urlPath = "/api/v1/{projectId}/users/me/mfa/challenge";
|
|
2002
2065
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2003
2066
|
return [2 /*return*/, {
|
|
@@ -2063,6 +2126,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2063
2126
|
queryParameters = {};
|
|
2064
2127
|
headerParameters = {};
|
|
2065
2128
|
headerParameters['Content-Type'] = 'application/json';
|
|
2129
|
+
if (requestParameters['authorization'] != null) {
|
|
2130
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2131
|
+
}
|
|
2066
2132
|
urlPath = "/api/v1/{projectId}/users/me/subscriptions/{subscriptionId}";
|
|
2067
2133
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2068
2134
|
urlPath = urlPath.replace('{subscriptionId}', encodeURIComponent(String(requestParameters['subscriptionId'])));
|
|
@@ -2126,6 +2192,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2126
2192
|
queryParameters = {};
|
|
2127
2193
|
headerParameters = {};
|
|
2128
2194
|
headerParameters['Content-Type'] = 'application/json';
|
|
2195
|
+
if (requestParameters['authorization'] != null) {
|
|
2196
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2197
|
+
}
|
|
2129
2198
|
urlPath = "/api/v1/{projectId}/users/me/content/upload-links";
|
|
2130
2199
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2131
2200
|
return [2 /*return*/, {
|
|
@@ -2188,6 +2257,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2188
2257
|
queryParameters = {};
|
|
2189
2258
|
headerParameters = {};
|
|
2190
2259
|
headerParameters['Content-Type'] = 'application/json';
|
|
2260
|
+
if (requestParameters['authorization'] != null) {
|
|
2261
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2262
|
+
}
|
|
2191
2263
|
urlPath = "/api/v1/{projectId}/users/me/payments";
|
|
2192
2264
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2193
2265
|
return [2 /*return*/, {
|
|
@@ -2246,6 +2318,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2246
2318
|
}
|
|
2247
2319
|
queryParameters = {};
|
|
2248
2320
|
headerParameters = {};
|
|
2321
|
+
if (requestParameters['authorization'] != null) {
|
|
2322
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2323
|
+
}
|
|
2249
2324
|
urlPath = "/api/v1/{projectId}/users/me/payment-methods";
|
|
2250
2325
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2251
2326
|
return [2 /*return*/, {
|
|
@@ -2307,6 +2382,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2307
2382
|
queryParameters = {};
|
|
2308
2383
|
headerParameters = {};
|
|
2309
2384
|
headerParameters['Content-Type'] = 'application/json';
|
|
2385
|
+
if (requestParameters['authorization'] != null) {
|
|
2386
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2387
|
+
}
|
|
2310
2388
|
urlPath = "/api/v1/{projectId}/users/me/payments/preview";
|
|
2311
2389
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2312
2390
|
return [2 /*return*/, {
|
|
@@ -2369,6 +2447,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2369
2447
|
queryParameters = {};
|
|
2370
2448
|
headerParameters = {};
|
|
2371
2449
|
headerParameters['Content-Type'] = 'application/json';
|
|
2450
|
+
if (requestParameters['authorization'] != null) {
|
|
2451
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2452
|
+
}
|
|
2372
2453
|
urlPath = "/api/v1/{projectId}/users/me/subscriptions";
|
|
2373
2454
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2374
2455
|
return [2 /*return*/, {
|
|
@@ -2431,6 +2512,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2431
2512
|
queryParameters = {};
|
|
2432
2513
|
headerParameters = {};
|
|
2433
2514
|
headerParameters['Content-Type'] = 'application/json';
|
|
2515
|
+
if (requestParameters['authorization'] != null) {
|
|
2516
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2517
|
+
}
|
|
2434
2518
|
urlPath = "/api/v1/{projectId}/users/me/subscriptions/preview";
|
|
2435
2519
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2436
2520
|
return [2 /*return*/, {
|
|
@@ -2492,6 +2576,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2492
2576
|
}
|
|
2493
2577
|
queryParameters = {};
|
|
2494
2578
|
headerParameters = {};
|
|
2579
|
+
if (requestParameters['authorization'] != null) {
|
|
2580
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2581
|
+
}
|
|
2495
2582
|
urlPath = "/api/v1/{projectId}/users/me/content/{contentId}";
|
|
2496
2583
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2497
2584
|
urlPath = urlPath.replace('{contentId}', encodeURIComponent(String(requestParameters['contentId'])));
|
|
@@ -2551,6 +2638,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2551
2638
|
}
|
|
2552
2639
|
queryParameters = {};
|
|
2553
2640
|
headerParameters = {};
|
|
2641
|
+
if (requestParameters['authorization'] != null) {
|
|
2642
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2643
|
+
}
|
|
2554
2644
|
urlPath = "/api/v1/{projectId}/users/me/payment-methods/{paymentMethodId}";
|
|
2555
2645
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2556
2646
|
urlPath = urlPath.replace('{paymentMethodId}', encodeURIComponent(String(requestParameters['paymentMethodId'])));
|
|
@@ -2610,6 +2700,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2610
2700
|
}
|
|
2611
2701
|
queryParameters = {};
|
|
2612
2702
|
headerParameters = {};
|
|
2703
|
+
if (requestParameters['authorization'] != null) {
|
|
2704
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2705
|
+
}
|
|
2613
2706
|
urlPath = "/api/v1/{projectId}/users/me/content/{pendingContentId}";
|
|
2614
2707
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2615
2708
|
urlPath = urlPath.replace('{pendingContentId}', encodeURIComponent(String(requestParameters['pendingContentId'])));
|
|
@@ -2671,6 +2764,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2671
2764
|
}
|
|
2672
2765
|
queryParameters = {};
|
|
2673
2766
|
headerParameters = {};
|
|
2767
|
+
if (requestParameters['authorization'] != null) {
|
|
2768
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2769
|
+
}
|
|
2674
2770
|
urlPath = "/api/v1/{projectId}/users/me/content/{contentId}";
|
|
2675
2771
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2676
2772
|
urlPath = urlPath.replace('{contentId}', encodeURIComponent(String(requestParameters['contentId'])));
|
|
@@ -2732,6 +2828,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2732
2828
|
}
|
|
2733
2829
|
queryParameters = {};
|
|
2734
2830
|
headerParameters = {};
|
|
2831
|
+
if (requestParameters['authorization'] != null) {
|
|
2832
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2833
|
+
}
|
|
2735
2834
|
urlPath = "/api/v1/{projectId}/users/me/content/{contentId}/download-link";
|
|
2736
2835
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2737
2836
|
urlPath = urlPath.replace('{contentId}', encodeURIComponent(String(requestParameters['contentId'])));
|
|
@@ -2793,6 +2892,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2793
2892
|
}
|
|
2794
2893
|
queryParameters = {};
|
|
2795
2894
|
headerParameters = {};
|
|
2895
|
+
if (requestParameters['authorization'] != null) {
|
|
2896
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2897
|
+
}
|
|
2796
2898
|
urlPath = "/api/v1/{projectId}/users/me/payment-methods/{paymentMethodId}";
|
|
2797
2899
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2798
2900
|
urlPath = urlPath.replace('{paymentMethodId}', encodeURIComponent(String(requestParameters['paymentMethodId'])));
|
|
@@ -2857,6 +2959,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2857
2959
|
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
2858
2960
|
}
|
|
2859
2961
|
headerParameters = {};
|
|
2962
|
+
if (requestParameters['authorization'] != null) {
|
|
2963
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2964
|
+
}
|
|
2860
2965
|
urlPath = "/api/v1/{projectId}/users/me/content";
|
|
2861
2966
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2862
2967
|
return [2 /*return*/, {
|
|
@@ -2914,6 +3019,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2914
3019
|
}
|
|
2915
3020
|
queryParameters = {};
|
|
2916
3021
|
headerParameters = {};
|
|
3022
|
+
if (requestParameters['authorization'] != null) {
|
|
3023
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
3024
|
+
}
|
|
2917
3025
|
urlPath = "/api/v1/{projectId}/users/me/payment-methods";
|
|
2918
3026
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2919
3027
|
return [2 /*return*/, {
|
|
@@ -2978,6 +3086,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2978
3086
|
queryParameters = {};
|
|
2979
3087
|
headerParameters = {};
|
|
2980
3088
|
headerParameters['Content-Type'] = 'application/json';
|
|
3089
|
+
if (requestParameters['authorization'] != null) {
|
|
3090
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
3091
|
+
}
|
|
2981
3092
|
urlPath = "/api/v1/{projectId}/users/me/content/{contentId}/owner";
|
|
2982
3093
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2983
3094
|
urlPath = urlPath.replace('{contentId}', encodeURIComponent(String(requestParameters['contentId'])));
|
|
@@ -3044,6 +3155,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
3044
3155
|
queryParameters = {};
|
|
3045
3156
|
headerParameters = {};
|
|
3046
3157
|
headerParameters['Content-Type'] = 'application/json';
|
|
3158
|
+
if (requestParameters['authorization'] != null) {
|
|
3159
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
3160
|
+
}
|
|
3047
3161
|
urlPath = "/api/v1/{projectId}/users/me/content/{contentId}/shares";
|
|
3048
3162
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
3049
3163
|
urlPath = urlPath.replace('{contentId}', encodeURIComponent(String(requestParameters['contentId'])));
|
|
@@ -3110,6 +3224,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
3110
3224
|
queryParameters = {};
|
|
3111
3225
|
headerParameters = {};
|
|
3112
3226
|
headerParameters['Content-Type'] = 'application/json';
|
|
3227
|
+
if (requestParameters['authorization'] != null) {
|
|
3228
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
3229
|
+
}
|
|
3113
3230
|
urlPath = "/api/v1/{projectId}/users/me/payment-methods/{paymentMethodId}";
|
|
3114
3231
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
3115
3232
|
urlPath = urlPath.replace('{paymentMethodId}', encodeURIComponent(String(requestParameters['paymentMethodId'])));
|
|
@@ -3178,6 +3295,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
3178
3295
|
queryParameters['verificationCode'] = requestParameters['verificationCode'];
|
|
3179
3296
|
}
|
|
3180
3297
|
headerParameters = {};
|
|
3298
|
+
if (requestParameters['authorization'] != null) {
|
|
3299
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
3300
|
+
}
|
|
3181
3301
|
urlPath = "/api/v1/{projectId}/users/me/contact-methods/{contactMethodId}/verification";
|
|
3182
3302
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
3183
3303
|
urlPath = urlPath.replace('{contactMethodId}', encodeURIComponent(String(requestParameters['contactMethodId'])));
|
|
@@ -3240,6 +3360,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
3240
3360
|
queryParameters = {};
|
|
3241
3361
|
headerParameters = {};
|
|
3242
3362
|
headerParameters['Content-Type'] = 'application/json';
|
|
3363
|
+
if (requestParameters['authorization'] != null) {
|
|
3364
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
3365
|
+
}
|
|
3243
3366
|
urlPath = "/api/v1/{projectId}/users/me/mfa/verify";
|
|
3244
3367
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
3245
3368
|
return [2 /*return*/, {
|