@forteplatforms/sdk 1.0.249 → 1.0.250
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,6 +62,7 @@ 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;
|
|
@@ -70,6 +71,7 @@ export interface CancelMySubscriptionRequest {
|
|
|
70
71
|
export interface ChangeMyPasswordRequest {
|
|
71
72
|
projectId: string;
|
|
72
73
|
changePasswordRequest: ChangePasswordRequest;
|
|
74
|
+
authorization?: string;
|
|
73
75
|
}
|
|
74
76
|
export interface CompleteOtpLoginOperationRequest {
|
|
75
77
|
projectId: string;
|
|
@@ -83,10 +85,12 @@ export interface CompletePasswordResetOperationRequest {
|
|
|
83
85
|
export interface CreateContactMethodRequest {
|
|
84
86
|
projectId: string;
|
|
85
87
|
addContactMethodRequest: AddContactMethodRequest;
|
|
88
|
+
authorization?: string;
|
|
86
89
|
}
|
|
87
90
|
export interface CreateMfaMethodOperationRequest {
|
|
88
91
|
projectId: string;
|
|
89
92
|
createMfaMethodRequest: CreateMfaMethodRequest;
|
|
93
|
+
authorization?: string;
|
|
90
94
|
}
|
|
91
95
|
export interface CreateOtpLoginOperationRequest {
|
|
92
96
|
projectId: string;
|
|
@@ -95,6 +99,7 @@ export interface CreateOtpLoginOperationRequest {
|
|
|
95
99
|
export interface CreateUserInviteOperationRequest {
|
|
96
100
|
projectId: string;
|
|
97
101
|
createUserInviteRequest: CreateUserInviteRequest;
|
|
102
|
+
authorization?: string;
|
|
98
103
|
}
|
|
99
104
|
export interface DeleteContactMethodRequest {
|
|
100
105
|
projectId: string;
|
|
@@ -155,6 +160,7 @@ export interface PreviewMySubscriptionUpdateRequest {
|
|
|
155
160
|
projectId: string;
|
|
156
161
|
subscriptionId: string;
|
|
157
162
|
updateSubscriptionPreviewRequest: UpdateSubscriptionPreviewRequest;
|
|
163
|
+
authorization?: string;
|
|
158
164
|
}
|
|
159
165
|
export interface RegisterUserOperationRequest {
|
|
160
166
|
projectId: string;
|
|
@@ -164,6 +170,7 @@ export interface RenameMfaMethodOperationRequest {
|
|
|
164
170
|
projectId: string;
|
|
165
171
|
mfaMethodId: string;
|
|
166
172
|
renameMfaMethodRequest: RenameMfaMethodRequest;
|
|
173
|
+
authorization?: string;
|
|
167
174
|
}
|
|
168
175
|
export interface RenewSessionTokenRequest {
|
|
169
176
|
projectId: string;
|
|
@@ -190,19 +197,23 @@ export interface RevokeUserInviteRequest {
|
|
|
190
197
|
export interface SendMfaChallengeRequest {
|
|
191
198
|
projectId: string;
|
|
192
199
|
mfaChallengeRequest: MfaChallengeRequest;
|
|
200
|
+
authorization?: string;
|
|
193
201
|
}
|
|
194
202
|
export interface UpdateMySubscriptionRequest {
|
|
195
203
|
projectId: string;
|
|
196
204
|
subscriptionId: string;
|
|
197
205
|
updateSubscriptionRequest: UpdateSubscriptionRequest;
|
|
206
|
+
authorization?: string;
|
|
198
207
|
}
|
|
199
208
|
export interface UsersCreateContentUploadLinkRequest {
|
|
200
209
|
projectId: string;
|
|
201
210
|
createContentUploadLinkRequest: CreateContentUploadLinkRequest;
|
|
211
|
+
authorization?: string;
|
|
202
212
|
}
|
|
203
213
|
export interface UsersCreatePaymentRequest {
|
|
204
214
|
projectId: string;
|
|
205
215
|
createPaymentRequest: CreatePaymentRequest;
|
|
216
|
+
authorization?: string;
|
|
206
217
|
}
|
|
207
218
|
export interface UsersCreatePaymentMethodRequest {
|
|
208
219
|
projectId: string;
|
|
@@ -210,14 +221,17 @@ export interface UsersCreatePaymentMethodRequest {
|
|
|
210
221
|
export interface UsersCreatePaymentPreviewRequest {
|
|
211
222
|
projectId: string;
|
|
212
223
|
createPaymentPreviewRequest: CreatePaymentPreviewRequest;
|
|
224
|
+
authorization?: string;
|
|
213
225
|
}
|
|
214
226
|
export interface UsersCreateSubscriptionRequest {
|
|
215
227
|
projectId: string;
|
|
216
228
|
createSubscriptionRequest: CreateSubscriptionRequest;
|
|
229
|
+
authorization?: string;
|
|
217
230
|
}
|
|
218
231
|
export interface UsersCreateSubscriptionPreviewRequest {
|
|
219
232
|
projectId: string;
|
|
220
233
|
createSubscriptionPreviewRequest: CreateSubscriptionPreviewRequest;
|
|
234
|
+
authorization?: string;
|
|
221
235
|
}
|
|
222
236
|
export interface UsersDeleteContentRequest {
|
|
223
237
|
projectId: string;
|
|
@@ -255,16 +269,19 @@ export interface UsersUpdateContentOwnerRequest {
|
|
|
255
269
|
projectId: string;
|
|
256
270
|
contentId: string;
|
|
257
271
|
updateContentOwnerRequest: UpdateContentOwnerRequest;
|
|
272
|
+
authorization?: string;
|
|
258
273
|
}
|
|
259
274
|
export interface UsersUpdateContentSharesRequest {
|
|
260
275
|
projectId: string;
|
|
261
276
|
contentId: string;
|
|
262
277
|
updateContentSharesRequest: UpdateContentSharesRequest;
|
|
278
|
+
authorization?: string;
|
|
263
279
|
}
|
|
264
280
|
export interface UsersUpdatePaymentMethodRequest {
|
|
265
281
|
projectId: string;
|
|
266
282
|
paymentMethodId: string;
|
|
267
283
|
updatePaymentMethodRequest: UpdatePaymentMethodRequest;
|
|
284
|
+
authorization?: string;
|
|
268
285
|
}
|
|
269
286
|
export interface VerifyContactMethodRequest {
|
|
270
287
|
projectId: string;
|
|
@@ -274,6 +291,7 @@ export interface VerifyContactMethodRequest {
|
|
|
274
291
|
export interface VerifyMfaRequest {
|
|
275
292
|
projectId: string;
|
|
276
293
|
mfaVerifyRequest: MfaVerifyRequest;
|
|
294
|
+
authorization?: string;
|
|
277
295
|
}
|
|
278
296
|
/**
|
|
279
297
|
*
|
|
@@ -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'])));
|
|
@@ -263,6 +266,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
263
266
|
queryParameters = {};
|
|
264
267
|
headerParameters = {};
|
|
265
268
|
headerParameters['Content-Type'] = 'application/json';
|
|
269
|
+
if (requestParameters['authorization'] != null) {
|
|
270
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
271
|
+
}
|
|
266
272
|
urlPath = "/api/v1/{projectId}/users/me/password";
|
|
267
273
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
268
274
|
return [2 /*return*/, {
|
|
@@ -451,6 +457,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
451
457
|
queryParameters = {};
|
|
452
458
|
headerParameters = {};
|
|
453
459
|
headerParameters['Content-Type'] = 'application/json';
|
|
460
|
+
if (requestParameters['authorization'] != null) {
|
|
461
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
462
|
+
}
|
|
454
463
|
urlPath = "/api/v1/{projectId}/users/me/contact-methods";
|
|
455
464
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
456
465
|
return [2 /*return*/, {
|
|
@@ -513,6 +522,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
513
522
|
queryParameters = {};
|
|
514
523
|
headerParameters = {};
|
|
515
524
|
headerParameters['Content-Type'] = 'application/json';
|
|
525
|
+
if (requestParameters['authorization'] != null) {
|
|
526
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
527
|
+
}
|
|
516
528
|
urlPath = "/api/v1/{projectId}/users/me/mfa/methods";
|
|
517
529
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
518
530
|
return [2 /*return*/, {
|
|
@@ -637,6 +649,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
637
649
|
queryParameters = {};
|
|
638
650
|
headerParameters = {};
|
|
639
651
|
headerParameters['Content-Type'] = 'application/json';
|
|
652
|
+
if (requestParameters['authorization'] != null) {
|
|
653
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
654
|
+
}
|
|
640
655
|
urlPath = "/api/v1/{projectId}/users/me/invites";
|
|
641
656
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
642
657
|
return [2 /*return*/, {
|
|
@@ -1505,6 +1520,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
1505
1520
|
queryParameters = {};
|
|
1506
1521
|
headerParameters = {};
|
|
1507
1522
|
headerParameters['Content-Type'] = 'application/json';
|
|
1523
|
+
if (requestParameters['authorization'] != null) {
|
|
1524
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
1525
|
+
}
|
|
1508
1526
|
urlPath = "/api/v1/{projectId}/users/me/subscriptions/{subscriptionId}/preview";
|
|
1509
1527
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
1510
1528
|
urlPath = urlPath.replace('{subscriptionId}', encodeURIComponent(String(requestParameters['subscriptionId'])));
|
|
@@ -1633,6 +1651,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
1633
1651
|
queryParameters = {};
|
|
1634
1652
|
headerParameters = {};
|
|
1635
1653
|
headerParameters['Content-Type'] = 'application/json';
|
|
1654
|
+
if (requestParameters['authorization'] != null) {
|
|
1655
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
1656
|
+
}
|
|
1636
1657
|
urlPath = "/api/v1/{projectId}/users/me/mfa/methods/{mfaMethodId}";
|
|
1637
1658
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
1638
1659
|
urlPath = urlPath.replace('{mfaMethodId}', encodeURIComponent(String(requestParameters['mfaMethodId'])));
|
|
@@ -1998,6 +2019,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
1998
2019
|
queryParameters = {};
|
|
1999
2020
|
headerParameters = {};
|
|
2000
2021
|
headerParameters['Content-Type'] = 'application/json';
|
|
2022
|
+
if (requestParameters['authorization'] != null) {
|
|
2023
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2024
|
+
}
|
|
2001
2025
|
urlPath = "/api/v1/{projectId}/users/me/mfa/challenge";
|
|
2002
2026
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2003
2027
|
return [2 /*return*/, {
|
|
@@ -2063,6 +2087,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2063
2087
|
queryParameters = {};
|
|
2064
2088
|
headerParameters = {};
|
|
2065
2089
|
headerParameters['Content-Type'] = 'application/json';
|
|
2090
|
+
if (requestParameters['authorization'] != null) {
|
|
2091
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2092
|
+
}
|
|
2066
2093
|
urlPath = "/api/v1/{projectId}/users/me/subscriptions/{subscriptionId}";
|
|
2067
2094
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2068
2095
|
urlPath = urlPath.replace('{subscriptionId}', encodeURIComponent(String(requestParameters['subscriptionId'])));
|
|
@@ -2126,6 +2153,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2126
2153
|
queryParameters = {};
|
|
2127
2154
|
headerParameters = {};
|
|
2128
2155
|
headerParameters['Content-Type'] = 'application/json';
|
|
2156
|
+
if (requestParameters['authorization'] != null) {
|
|
2157
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2158
|
+
}
|
|
2129
2159
|
urlPath = "/api/v1/{projectId}/users/me/content/upload-links";
|
|
2130
2160
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2131
2161
|
return [2 /*return*/, {
|
|
@@ -2188,6 +2218,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2188
2218
|
queryParameters = {};
|
|
2189
2219
|
headerParameters = {};
|
|
2190
2220
|
headerParameters['Content-Type'] = 'application/json';
|
|
2221
|
+
if (requestParameters['authorization'] != null) {
|
|
2222
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2223
|
+
}
|
|
2191
2224
|
urlPath = "/api/v1/{projectId}/users/me/payments";
|
|
2192
2225
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2193
2226
|
return [2 /*return*/, {
|
|
@@ -2307,6 +2340,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2307
2340
|
queryParameters = {};
|
|
2308
2341
|
headerParameters = {};
|
|
2309
2342
|
headerParameters['Content-Type'] = 'application/json';
|
|
2343
|
+
if (requestParameters['authorization'] != null) {
|
|
2344
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2345
|
+
}
|
|
2310
2346
|
urlPath = "/api/v1/{projectId}/users/me/payments/preview";
|
|
2311
2347
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2312
2348
|
return [2 /*return*/, {
|
|
@@ -2369,6 +2405,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2369
2405
|
queryParameters = {};
|
|
2370
2406
|
headerParameters = {};
|
|
2371
2407
|
headerParameters['Content-Type'] = 'application/json';
|
|
2408
|
+
if (requestParameters['authorization'] != null) {
|
|
2409
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2410
|
+
}
|
|
2372
2411
|
urlPath = "/api/v1/{projectId}/users/me/subscriptions";
|
|
2373
2412
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2374
2413
|
return [2 /*return*/, {
|
|
@@ -2431,6 +2470,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2431
2470
|
queryParameters = {};
|
|
2432
2471
|
headerParameters = {};
|
|
2433
2472
|
headerParameters['Content-Type'] = 'application/json';
|
|
2473
|
+
if (requestParameters['authorization'] != null) {
|
|
2474
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
2475
|
+
}
|
|
2434
2476
|
urlPath = "/api/v1/{projectId}/users/me/subscriptions/preview";
|
|
2435
2477
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2436
2478
|
return [2 /*return*/, {
|
|
@@ -2978,6 +3020,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
2978
3020
|
queryParameters = {};
|
|
2979
3021
|
headerParameters = {};
|
|
2980
3022
|
headerParameters['Content-Type'] = 'application/json';
|
|
3023
|
+
if (requestParameters['authorization'] != null) {
|
|
3024
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
3025
|
+
}
|
|
2981
3026
|
urlPath = "/api/v1/{projectId}/users/me/content/{contentId}/owner";
|
|
2982
3027
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
2983
3028
|
urlPath = urlPath.replace('{contentId}', encodeURIComponent(String(requestParameters['contentId'])));
|
|
@@ -3044,6 +3089,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
3044
3089
|
queryParameters = {};
|
|
3045
3090
|
headerParameters = {};
|
|
3046
3091
|
headerParameters['Content-Type'] = 'application/json';
|
|
3092
|
+
if (requestParameters['authorization'] != null) {
|
|
3093
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
3094
|
+
}
|
|
3047
3095
|
urlPath = "/api/v1/{projectId}/users/me/content/{contentId}/shares";
|
|
3048
3096
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
3049
3097
|
urlPath = urlPath.replace('{contentId}', encodeURIComponent(String(requestParameters['contentId'])));
|
|
@@ -3110,6 +3158,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
3110
3158
|
queryParameters = {};
|
|
3111
3159
|
headerParameters = {};
|
|
3112
3160
|
headerParameters['Content-Type'] = 'application/json';
|
|
3161
|
+
if (requestParameters['authorization'] != null) {
|
|
3162
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
3163
|
+
}
|
|
3113
3164
|
urlPath = "/api/v1/{projectId}/users/me/payment-methods/{paymentMethodId}";
|
|
3114
3165
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
3115
3166
|
urlPath = urlPath.replace('{paymentMethodId}', encodeURIComponent(String(requestParameters['paymentMethodId'])));
|
|
@@ -3240,6 +3291,9 @@ var UsersServerApi = /** @class */ (function (_super) {
|
|
|
3240
3291
|
queryParameters = {};
|
|
3241
3292
|
headerParameters = {};
|
|
3242
3293
|
headerParameters['Content-Type'] = 'application/json';
|
|
3294
|
+
if (requestParameters['authorization'] != null) {
|
|
3295
|
+
headerParameters['Authorization'] = String(requestParameters['authorization']);
|
|
3296
|
+
}
|
|
3243
3297
|
urlPath = "/api/v1/{projectId}/users/me/mfa/verify";
|
|
3244
3298
|
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
3245
3299
|
return [2 /*return*/, {
|