@appconda/nextjs 1.0.50 → 1.0.52
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/actions/actionClient.d.ts +4 -1
- package/dist/actions/actionClient.js +6 -3
- package/dist/actions/index.js +17 -1
- package/dist/actions/nodes.d.ts +4 -1
- package/dist/actions/nodes.js +7 -4
- package/dist/client.js +16 -11
- package/dist/decorators/Cache.js +7 -4
- package/dist/decorators/CacheKey.js +4 -1
- package/dist/decorators/Invalidate.js +7 -4
- package/dist/enums/api-service.js +5 -2
- package/dist/enums/api.js +5 -2
- package/dist/enums/auth-method.js +5 -2
- package/dist/enums/authentication-factor.js +5 -2
- package/dist/enums/authenticator-type.js +5 -2
- package/dist/enums/browser.js +5 -2
- package/dist/enums/compression.js +5 -2
- package/dist/enums/credit-card.js +5 -2
- package/dist/enums/database-usage-range.js +5 -2
- package/dist/enums/email-template-locale.js +5 -2
- package/dist/enums/email-template-type.js +5 -2
- package/dist/enums/entities/EntityLimitType.js +5 -2
- package/dist/enums/entities/PropertyAttributeName.js +5 -2
- package/dist/enums/entities/PropertyCondition.js +5 -2
- package/dist/enums/entities/PropertyType.js +5 -2
- package/dist/enums/entities/PropertyValueType.js +5 -2
- package/dist/enums/entities/RowAccess.js +4 -1
- package/dist/enums/entities/ViewFilterCondition.js +5 -2
- package/dist/enums/execution-method.js +5 -2
- package/dist/enums/flag.js +5 -2
- package/dist/enums/function-usage-range.js +5 -2
- package/dist/enums/image-format.js +5 -2
- package/dist/enums/image-gravity.js +5 -2
- package/dist/enums/index-type.js +5 -2
- package/dist/enums/messaging-provider-type.js +5 -2
- package/dist/enums/name.js +5 -2
- package/dist/enums/o-auth-provider copy.js +5 -2
- package/dist/enums/o-auth-provider.js +5 -2
- package/dist/enums/password-hash.js +5 -2
- package/dist/enums/platform-type.js +5 -2
- package/dist/enums/project-usage-range.js +5 -2
- package/dist/enums/region.js +5 -2
- package/dist/enums/relation-mutate.js +5 -2
- package/dist/enums/relationship-type.js +5 -2
- package/dist/enums/resource-type.js +5 -2
- package/dist/enums/runtime.js +5 -2
- package/dist/enums/s-m-t-p-secure.js +5 -2
- package/dist/enums/shared/ApplicationLayout.js +5 -2
- package/dist/enums/shared/Colors.js +5 -2
- package/dist/enums/shared/InputType.js +5 -2
- package/dist/enums/shared/Periodicity.js +5 -2
- package/dist/enums/shared/SvgIcon.js +5 -2
- package/dist/enums/shared/Theme.js +5 -2
- package/dist/enums/sms-template-locale.js +5 -2
- package/dist/enums/sms-template-type.js +5 -2
- package/dist/enums/smtp-encryption.js +5 -2
- package/dist/enums/storage-usage-range.js +5 -2
- package/dist/enums/subscriptions/PricingModel.d.ts +1 -1
- package/dist/enums/subscriptions/PricingModel.js +7 -4
- package/dist/enums/subscriptions/SubscriptionBillingPeriod.d.ts +1 -1
- package/dist/enums/subscriptions/SubscriptionBillingPeriod.js +7 -4
- package/dist/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +1 -1
- package/dist/enums/subscriptions/SubscriptionFeatureLimitType.js +7 -4
- package/dist/enums/subscriptions/SubscriptionPriceType.d.ts +1 -1
- package/dist/enums/subscriptions/SubscriptionPriceType.js +7 -4
- package/dist/enums/tenants/LinkedAccountStatus.js +5 -2
- package/dist/enums/tenants/TenantUserJoined.js +5 -2
- package/dist/enums/tenants/TenantUserStatus.js +5 -2
- package/dist/enums/tenants/TenantUserType.js +5 -2
- package/dist/enums/user-usage-range.js +5 -2
- package/dist/getAppcondaClient.js +6 -3
- package/dist/getSDKForCurrentUser.js +40 -37
- package/dist/id.js +5 -1
- package/dist/index.js +91 -37
- package/dist/inputFile.d.ts +0 -1
- package/dist/inputFile.js +10 -6
- package/dist/lib/Cache/Adapter.js +2 -1
- package/dist/lib/Cache/Adapters/Filesystem.js +5 -1
- package/dist/lib/Cache/Adapters/Memory.js +5 -1
- package/dist/lib/Cache/Adapters/None.js +5 -1
- package/dist/lib/Cache/Adapters/Sharding.js +5 -1
- package/dist/lib/Cache/Cache.js +5 -1
- package/dist/lib/Cache/index.js +20 -4
- package/dist/lib/Cache/test.d.ts +1 -0
- package/dist/lib/Cache/test.js +2 -0
- package/dist/lib/Registry/Registry.js +5 -1
- package/dist/lib/Registry/index.js +17 -1
- package/dist/lib/Services.d.ts +2 -1
- package/dist/lib/Services.js +12 -8
- package/dist/models.js +2 -1
- package/dist/modules/index.js +17 -1
- package/dist/modules/waitlist/action.d.ts +29 -3
- package/dist/modules/waitlist/action.js +14 -11
- package/dist/modules/waitlist/index.js +19 -3
- package/dist/modules/waitlist/schema.d.ts +15 -2
- package/dist/modules/waitlist/schema.js +8 -5
- package/dist/modules/waitlist/service.js +6 -2
- package/dist/modules/waitlist/types.js +2 -1
- package/dist/permission.js +5 -1
- package/dist/query.js +5 -1
- package/dist/role.js +5 -1
- package/dist/schemas/nodes.d.ts +1 -0
- package/dist/schemas/nodes.js +2 -0
- package/dist/service-client.js +5 -1
- package/dist/service.js +5 -1
- package/dist/services/account.js +62 -58
- package/dist/services/applets.js +8 -4
- package/dist/services/avatars.js +12 -8
- package/dist/services/community.js +9 -5
- package/dist/services/configuration.js +6 -2
- package/dist/services/databases.js +154 -150
- package/dist/services/functions.js +46 -42
- package/dist/services/graphql.js +8 -4
- package/dist/services/health.js +7 -3
- package/dist/services/locale.js +5 -1
- package/dist/services/messaging.js +70 -66
- package/dist/services/node.js +8 -4
- package/dist/services/permissions.js +11 -7
- package/dist/services/pricing.js +6 -2
- package/dist/services/projects.js +117 -113
- package/dist/services/roles.js +10 -6
- package/dist/services/schema.js +9 -5
- package/dist/services/storage.js +28 -24
- package/dist/services/subscription.js +6 -2
- package/dist/services/teams.js +29 -25
- package/dist/services/tenant-subscription.js +9 -5
- package/dist/services/tenant.js +13 -9
- package/dist/services/users.js +86 -82
- package/package.json +1 -1
- package/tsconfig.json +3 -2
@@ -1,5 +1,8 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Projects = void 0;
|
4
|
+
const client_1 = require("../client");
|
5
|
+
class Projects {
|
3
6
|
constructor(client) {
|
4
7
|
this.client = client;
|
5
8
|
}
|
@@ -49,13 +52,13 @@ export class Projects {
|
|
49
52
|
*/
|
50
53
|
async create(projectId, name, teamId, region, description, logo, url, legalName, legalCountry, legalState, legalCity, legalAddress, legalTaxId) {
|
51
54
|
if (typeof projectId === 'undefined') {
|
52
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
55
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
53
56
|
}
|
54
57
|
if (typeof name === 'undefined') {
|
55
|
-
throw new AppcondaException('Missing required parameter: "name"');
|
58
|
+
throw new client_1.AppcondaException('Missing required parameter: "name"');
|
56
59
|
}
|
57
60
|
if (typeof teamId === 'undefined') {
|
58
|
-
throw new AppcondaException('Missing required parameter: "teamId"');
|
61
|
+
throw new client_1.AppcondaException('Missing required parameter: "teamId"');
|
59
62
|
}
|
60
63
|
const apiPath = '/projects';
|
61
64
|
const payload = {};
|
@@ -114,7 +117,7 @@ export class Projects {
|
|
114
117
|
*/
|
115
118
|
async get(projectId) {
|
116
119
|
if (typeof projectId === 'undefined') {
|
117
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
120
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
118
121
|
}
|
119
122
|
const apiPath = '/projects/{projectId}'.replace('{projectId}', projectId);
|
120
123
|
const payload = {};
|
@@ -144,10 +147,10 @@ export class Projects {
|
|
144
147
|
*/
|
145
148
|
async update(projectId, name, description, logo, url, legalName, legalCountry, legalState, legalCity, legalAddress, legalTaxId) {
|
146
149
|
if (typeof projectId === 'undefined') {
|
147
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
150
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
148
151
|
}
|
149
152
|
if (typeof name === 'undefined') {
|
150
|
-
throw new AppcondaException('Missing required parameter: "name"');
|
153
|
+
throw new client_1.AppcondaException('Missing required parameter: "name"');
|
151
154
|
}
|
152
155
|
const apiPath = '/projects/{projectId}'.replace('{projectId}', projectId);
|
153
156
|
const payload = {};
|
@@ -197,7 +200,7 @@ export class Projects {
|
|
197
200
|
*/
|
198
201
|
async delete(projectId) {
|
199
202
|
if (typeof projectId === 'undefined') {
|
200
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
203
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
201
204
|
}
|
202
205
|
const apiPath = '/projects/{projectId}'.replace('{projectId}', projectId);
|
203
206
|
const payload = {};
|
@@ -219,13 +222,13 @@ export class Projects {
|
|
219
222
|
*/
|
220
223
|
async updateApiStatus(projectId, api, status) {
|
221
224
|
if (typeof projectId === 'undefined') {
|
222
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
225
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
223
226
|
}
|
224
227
|
if (typeof api === 'undefined') {
|
225
|
-
throw new AppcondaException('Missing required parameter: "api"');
|
228
|
+
throw new client_1.AppcondaException('Missing required parameter: "api"');
|
226
229
|
}
|
227
230
|
if (typeof status === 'undefined') {
|
228
|
-
throw new AppcondaException('Missing required parameter: "status"');
|
231
|
+
throw new client_1.AppcondaException('Missing required parameter: "status"');
|
229
232
|
}
|
230
233
|
const apiPath = '/projects/{projectId}/api'.replace('{projectId}', projectId);
|
231
234
|
const payload = {};
|
@@ -252,10 +255,10 @@ export class Projects {
|
|
252
255
|
*/
|
253
256
|
async updateApiStatusAll(projectId, status) {
|
254
257
|
if (typeof projectId === 'undefined') {
|
255
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
258
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
256
259
|
}
|
257
260
|
if (typeof status === 'undefined') {
|
258
|
-
throw new AppcondaException('Missing required parameter: "status"');
|
261
|
+
throw new client_1.AppcondaException('Missing required parameter: "status"');
|
259
262
|
}
|
260
263
|
const apiPath = '/projects/{projectId}/api/all'.replace('{projectId}', projectId);
|
261
264
|
const payload = {};
|
@@ -279,10 +282,10 @@ export class Projects {
|
|
279
282
|
*/
|
280
283
|
async updateAuthDuration(projectId, duration) {
|
281
284
|
if (typeof projectId === 'undefined') {
|
282
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
285
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
283
286
|
}
|
284
287
|
if (typeof duration === 'undefined') {
|
285
|
-
throw new AppcondaException('Missing required parameter: "duration"');
|
288
|
+
throw new client_1.AppcondaException('Missing required parameter: "duration"');
|
286
289
|
}
|
287
290
|
const apiPath = '/projects/{projectId}/auth/duration'.replace('{projectId}', projectId);
|
288
291
|
const payload = {};
|
@@ -306,10 +309,10 @@ export class Projects {
|
|
306
309
|
*/
|
307
310
|
async updateAuthLimit(projectId, limit) {
|
308
311
|
if (typeof projectId === 'undefined') {
|
309
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
312
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
310
313
|
}
|
311
314
|
if (typeof limit === 'undefined') {
|
312
|
-
throw new AppcondaException('Missing required parameter: "limit"');
|
315
|
+
throw new client_1.AppcondaException('Missing required parameter: "limit"');
|
313
316
|
}
|
314
317
|
const apiPath = '/projects/{projectId}/auth/limit'.replace('{projectId}', projectId);
|
315
318
|
const payload = {};
|
@@ -333,10 +336,10 @@ export class Projects {
|
|
333
336
|
*/
|
334
337
|
async updateAuthSessionsLimit(projectId, limit) {
|
335
338
|
if (typeof projectId === 'undefined') {
|
336
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
339
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
337
340
|
}
|
338
341
|
if (typeof limit === 'undefined') {
|
339
|
-
throw new AppcondaException('Missing required parameter: "limit"');
|
342
|
+
throw new client_1.AppcondaException('Missing required parameter: "limit"');
|
340
343
|
}
|
341
344
|
const apiPath = '/projects/{projectId}/auth/max-sessions'.replace('{projectId}', projectId);
|
342
345
|
const payload = {};
|
@@ -360,10 +363,10 @@ export class Projects {
|
|
360
363
|
*/
|
361
364
|
async updateMockNumbers(projectId, numbers) {
|
362
365
|
if (typeof projectId === 'undefined') {
|
363
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
366
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
364
367
|
}
|
365
368
|
if (typeof numbers === 'undefined') {
|
366
|
-
throw new AppcondaException('Missing required parameter: "numbers"');
|
369
|
+
throw new client_1.AppcondaException('Missing required parameter: "numbers"');
|
367
370
|
}
|
368
371
|
const apiPath = '/projects/{projectId}/auth/mock-numbers'.replace('{projectId}', projectId);
|
369
372
|
const payload = {};
|
@@ -387,10 +390,10 @@ export class Projects {
|
|
387
390
|
*/
|
388
391
|
async updateAuthPasswordDictionary(projectId, enabled) {
|
389
392
|
if (typeof projectId === 'undefined') {
|
390
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
393
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
391
394
|
}
|
392
395
|
if (typeof enabled === 'undefined') {
|
393
|
-
throw new AppcondaException('Missing required parameter: "enabled"');
|
396
|
+
throw new client_1.AppcondaException('Missing required parameter: "enabled"');
|
394
397
|
}
|
395
398
|
const apiPath = '/projects/{projectId}/auth/password-dictionary'.replace('{projectId}', projectId);
|
396
399
|
const payload = {};
|
@@ -414,10 +417,10 @@ export class Projects {
|
|
414
417
|
*/
|
415
418
|
async updateAuthPasswordHistory(projectId, limit) {
|
416
419
|
if (typeof projectId === 'undefined') {
|
417
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
420
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
418
421
|
}
|
419
422
|
if (typeof limit === 'undefined') {
|
420
|
-
throw new AppcondaException('Missing required parameter: "limit"');
|
423
|
+
throw new client_1.AppcondaException('Missing required parameter: "limit"');
|
421
424
|
}
|
422
425
|
const apiPath = '/projects/{projectId}/auth/password-history'.replace('{projectId}', projectId);
|
423
426
|
const payload = {};
|
@@ -441,10 +444,10 @@ export class Projects {
|
|
441
444
|
*/
|
442
445
|
async updatePersonalDataCheck(projectId, enabled) {
|
443
446
|
if (typeof projectId === 'undefined') {
|
444
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
447
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
445
448
|
}
|
446
449
|
if (typeof enabled === 'undefined') {
|
447
|
-
throw new AppcondaException('Missing required parameter: "enabled"');
|
450
|
+
throw new client_1.AppcondaException('Missing required parameter: "enabled"');
|
448
451
|
}
|
449
452
|
const apiPath = '/projects/{projectId}/auth/personal-data'.replace('{projectId}', projectId);
|
450
453
|
const payload = {};
|
@@ -468,10 +471,10 @@ export class Projects {
|
|
468
471
|
*/
|
469
472
|
async updateSessionAlerts(projectId, alerts) {
|
470
473
|
if (typeof projectId === 'undefined') {
|
471
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
474
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
472
475
|
}
|
473
476
|
if (typeof alerts === 'undefined') {
|
474
|
-
throw new AppcondaException('Missing required parameter: "alerts"');
|
477
|
+
throw new client_1.AppcondaException('Missing required parameter: "alerts"');
|
475
478
|
}
|
476
479
|
const apiPath = '/projects/{projectId}/auth/session-alerts'.replace('{projectId}', projectId);
|
477
480
|
const payload = {};
|
@@ -496,13 +499,13 @@ export class Projects {
|
|
496
499
|
*/
|
497
500
|
async updateAuthStatus(projectId, method, status) {
|
498
501
|
if (typeof projectId === 'undefined') {
|
499
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
502
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
500
503
|
}
|
501
504
|
if (typeof method === 'undefined') {
|
502
|
-
throw new AppcondaException('Missing required parameter: "method"');
|
505
|
+
throw new client_1.AppcondaException('Missing required parameter: "method"');
|
503
506
|
}
|
504
507
|
if (typeof status === 'undefined') {
|
505
|
-
throw new AppcondaException('Missing required parameter: "status"');
|
508
|
+
throw new client_1.AppcondaException('Missing required parameter: "status"');
|
506
509
|
}
|
507
510
|
const apiPath = '/projects/{projectId}/auth/{method}'.replace('{projectId}', projectId).replace('{method}', method);
|
508
511
|
const payload = {};
|
@@ -527,10 +530,10 @@ export class Projects {
|
|
527
530
|
*/
|
528
531
|
async createJWT(projectId, scopes, duration) {
|
529
532
|
if (typeof projectId === 'undefined') {
|
530
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
533
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
531
534
|
}
|
532
535
|
if (typeof scopes === 'undefined') {
|
533
|
-
throw new AppcondaException('Missing required parameter: "scopes"');
|
536
|
+
throw new client_1.AppcondaException('Missing required parameter: "scopes"');
|
534
537
|
}
|
535
538
|
const apiPath = '/projects/{projectId}/jwts'.replace('{projectId}', projectId);
|
536
539
|
const payload = {};
|
@@ -556,7 +559,7 @@ export class Projects {
|
|
556
559
|
*/
|
557
560
|
async listKeys(projectId) {
|
558
561
|
if (typeof projectId === 'undefined') {
|
559
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
562
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
560
563
|
}
|
561
564
|
const apiPath = '/projects/{projectId}/keys'.replace('{projectId}', projectId);
|
562
565
|
const payload = {};
|
@@ -579,13 +582,13 @@ export class Projects {
|
|
579
582
|
*/
|
580
583
|
async createKey(projectId, name, scopes, expire) {
|
581
584
|
if (typeof projectId === 'undefined') {
|
582
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
585
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
583
586
|
}
|
584
587
|
if (typeof name === 'undefined') {
|
585
|
-
throw new AppcondaException('Missing required parameter: "name"');
|
588
|
+
throw new client_1.AppcondaException('Missing required parameter: "name"');
|
586
589
|
}
|
587
590
|
if (typeof scopes === 'undefined') {
|
588
|
-
throw new AppcondaException('Missing required parameter: "scopes"');
|
591
|
+
throw new client_1.AppcondaException('Missing required parameter: "scopes"');
|
589
592
|
}
|
590
593
|
const apiPath = '/projects/{projectId}/keys'.replace('{projectId}', projectId);
|
591
594
|
const payload = {};
|
@@ -615,10 +618,10 @@ export class Projects {
|
|
615
618
|
*/
|
616
619
|
async getKey(projectId, keyId) {
|
617
620
|
if (typeof projectId === 'undefined') {
|
618
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
621
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
619
622
|
}
|
620
623
|
if (typeof keyId === 'undefined') {
|
621
|
-
throw new AppcondaException('Missing required parameter: "keyId"');
|
624
|
+
throw new client_1.AppcondaException('Missing required parameter: "keyId"');
|
622
625
|
}
|
623
626
|
const apiPath = '/projects/{projectId}/keys/{keyId}'.replace('{projectId}', projectId).replace('{keyId}', keyId);
|
624
627
|
const payload = {};
|
@@ -642,16 +645,16 @@ export class Projects {
|
|
642
645
|
*/
|
643
646
|
async updateKey(projectId, keyId, name, scopes, expire) {
|
644
647
|
if (typeof projectId === 'undefined') {
|
645
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
648
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
646
649
|
}
|
647
650
|
if (typeof keyId === 'undefined') {
|
648
|
-
throw new AppcondaException('Missing required parameter: "keyId"');
|
651
|
+
throw new client_1.AppcondaException('Missing required parameter: "keyId"');
|
649
652
|
}
|
650
653
|
if (typeof name === 'undefined') {
|
651
|
-
throw new AppcondaException('Missing required parameter: "name"');
|
654
|
+
throw new client_1.AppcondaException('Missing required parameter: "name"');
|
652
655
|
}
|
653
656
|
if (typeof scopes === 'undefined') {
|
654
|
-
throw new AppcondaException('Missing required parameter: "scopes"');
|
657
|
+
throw new client_1.AppcondaException('Missing required parameter: "scopes"');
|
655
658
|
}
|
656
659
|
const apiPath = '/projects/{projectId}/keys/{keyId}'.replace('{projectId}', projectId).replace('{keyId}', keyId);
|
657
660
|
const payload = {};
|
@@ -681,10 +684,10 @@ export class Projects {
|
|
681
684
|
*/
|
682
685
|
async deleteKey(projectId, keyId) {
|
683
686
|
if (typeof projectId === 'undefined') {
|
684
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
687
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
685
688
|
}
|
686
689
|
if (typeof keyId === 'undefined') {
|
687
|
-
throw new AppcondaException('Missing required parameter: "keyId"');
|
690
|
+
throw new client_1.AppcondaException('Missing required parameter: "keyId"');
|
688
691
|
}
|
689
692
|
const apiPath = '/projects/{projectId}/keys/{keyId}'.replace('{projectId}', projectId).replace('{keyId}', keyId);
|
690
693
|
const payload = {};
|
@@ -708,10 +711,10 @@ export class Projects {
|
|
708
711
|
*/
|
709
712
|
async updateOAuth2(projectId, provider, appId, secret, enabled) {
|
710
713
|
if (typeof projectId === 'undefined') {
|
711
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
714
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
712
715
|
}
|
713
716
|
if (typeof provider === 'undefined') {
|
714
|
-
throw new AppcondaException('Missing required parameter: "provider"');
|
717
|
+
throw new client_1.AppcondaException('Missing required parameter: "provider"');
|
715
718
|
}
|
716
719
|
const apiPath = '/projects/{projectId}/oauth2'.replace('{projectId}', projectId);
|
717
720
|
const payload = {};
|
@@ -743,7 +746,7 @@ export class Projects {
|
|
743
746
|
*/
|
744
747
|
async listPlatforms(projectId) {
|
745
748
|
if (typeof projectId === 'undefined') {
|
746
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
749
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
747
750
|
}
|
748
751
|
const apiPath = '/projects/{projectId}/platforms'.replace('{projectId}', projectId);
|
749
752
|
const payload = {};
|
@@ -768,13 +771,13 @@ export class Projects {
|
|
768
771
|
*/
|
769
772
|
async createPlatform(projectId, type, name, key, store, hostname) {
|
770
773
|
if (typeof projectId === 'undefined') {
|
771
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
774
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
772
775
|
}
|
773
776
|
if (typeof type === 'undefined') {
|
774
|
-
throw new AppcondaException('Missing required parameter: "type"');
|
777
|
+
throw new client_1.AppcondaException('Missing required parameter: "type"');
|
775
778
|
}
|
776
779
|
if (typeof name === 'undefined') {
|
777
|
-
throw new AppcondaException('Missing required parameter: "name"');
|
780
|
+
throw new client_1.AppcondaException('Missing required parameter: "name"');
|
778
781
|
}
|
779
782
|
const apiPath = '/projects/{projectId}/platforms'.replace('{projectId}', projectId);
|
780
783
|
const payload = {};
|
@@ -810,10 +813,10 @@ export class Projects {
|
|
810
813
|
*/
|
811
814
|
async getPlatform(projectId, platformId) {
|
812
815
|
if (typeof projectId === 'undefined') {
|
813
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
816
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
814
817
|
}
|
815
818
|
if (typeof platformId === 'undefined') {
|
816
|
-
throw new AppcondaException('Missing required parameter: "platformId"');
|
819
|
+
throw new client_1.AppcondaException('Missing required parameter: "platformId"');
|
817
820
|
}
|
818
821
|
const apiPath = '/projects/{projectId}/platforms/{platformId}'.replace('{projectId}', projectId).replace('{platformId}', platformId);
|
819
822
|
const payload = {};
|
@@ -838,13 +841,13 @@ export class Projects {
|
|
838
841
|
*/
|
839
842
|
async updatePlatform(projectId, platformId, name, key, store, hostname) {
|
840
843
|
if (typeof projectId === 'undefined') {
|
841
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
844
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
842
845
|
}
|
843
846
|
if (typeof platformId === 'undefined') {
|
844
|
-
throw new AppcondaException('Missing required parameter: "platformId"');
|
847
|
+
throw new client_1.AppcondaException('Missing required parameter: "platformId"');
|
845
848
|
}
|
846
849
|
if (typeof name === 'undefined') {
|
847
|
-
throw new AppcondaException('Missing required parameter: "name"');
|
850
|
+
throw new client_1.AppcondaException('Missing required parameter: "name"');
|
848
851
|
}
|
849
852
|
const apiPath = '/projects/{projectId}/platforms/{platformId}'.replace('{projectId}', projectId).replace('{platformId}', platformId);
|
850
853
|
const payload = {};
|
@@ -877,10 +880,10 @@ export class Projects {
|
|
877
880
|
*/
|
878
881
|
async deletePlatform(projectId, platformId) {
|
879
882
|
if (typeof projectId === 'undefined') {
|
880
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
883
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
881
884
|
}
|
882
885
|
if (typeof platformId === 'undefined') {
|
883
|
-
throw new AppcondaException('Missing required parameter: "platformId"');
|
886
|
+
throw new client_1.AppcondaException('Missing required parameter: "platformId"');
|
884
887
|
}
|
885
888
|
const apiPath = '/projects/{projectId}/platforms/{platformId}'.replace('{projectId}', projectId).replace('{platformId}', platformId);
|
886
889
|
const payload = {};
|
@@ -902,13 +905,13 @@ export class Projects {
|
|
902
905
|
*/
|
903
906
|
async updateServiceStatus(projectId, service, status) {
|
904
907
|
if (typeof projectId === 'undefined') {
|
905
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
908
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
906
909
|
}
|
907
910
|
if (typeof service === 'undefined') {
|
908
|
-
throw new AppcondaException('Missing required parameter: "service"');
|
911
|
+
throw new client_1.AppcondaException('Missing required parameter: "service"');
|
909
912
|
}
|
910
913
|
if (typeof status === 'undefined') {
|
911
|
-
throw new AppcondaException('Missing required parameter: "status"');
|
914
|
+
throw new client_1.AppcondaException('Missing required parameter: "status"');
|
912
915
|
}
|
913
916
|
const apiPath = '/projects/{projectId}/service'.replace('{projectId}', projectId);
|
914
917
|
const payload = {};
|
@@ -935,10 +938,10 @@ export class Projects {
|
|
935
938
|
*/
|
936
939
|
async updateServiceStatusAll(projectId, status) {
|
937
940
|
if (typeof projectId === 'undefined') {
|
938
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
941
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
939
942
|
}
|
940
943
|
if (typeof status === 'undefined') {
|
941
|
-
throw new AppcondaException('Missing required parameter: "status"');
|
944
|
+
throw new client_1.AppcondaException('Missing required parameter: "status"');
|
942
945
|
}
|
943
946
|
const apiPath = '/projects/{projectId}/service/all'.replace('{projectId}', projectId);
|
944
947
|
const payload = {};
|
@@ -970,10 +973,10 @@ export class Projects {
|
|
970
973
|
*/
|
971
974
|
async updateSmtp(projectId, enabled, senderName, senderEmail, replyTo, host, port, username, password, secure) {
|
972
975
|
if (typeof projectId === 'undefined') {
|
973
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
976
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
974
977
|
}
|
975
978
|
if (typeof enabled === 'undefined') {
|
976
|
-
throw new AppcondaException('Missing required parameter: "enabled"');
|
979
|
+
throw new client_1.AppcondaException('Missing required parameter: "enabled"');
|
977
980
|
}
|
978
981
|
const apiPath = '/projects/{projectId}/smtp'.replace('{projectId}', projectId);
|
979
982
|
const payload = {};
|
@@ -1029,19 +1032,19 @@ export class Projects {
|
|
1029
1032
|
*/
|
1030
1033
|
async createSmtpTest(projectId, emails, senderName, senderEmail, host, replyTo, port, username, password, secure) {
|
1031
1034
|
if (typeof projectId === 'undefined') {
|
1032
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
1035
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
1033
1036
|
}
|
1034
1037
|
if (typeof emails === 'undefined') {
|
1035
|
-
throw new AppcondaException('Missing required parameter: "emails"');
|
1038
|
+
throw new client_1.AppcondaException('Missing required parameter: "emails"');
|
1036
1039
|
}
|
1037
1040
|
if (typeof senderName === 'undefined') {
|
1038
|
-
throw new AppcondaException('Missing required parameter: "senderName"');
|
1041
|
+
throw new client_1.AppcondaException('Missing required parameter: "senderName"');
|
1039
1042
|
}
|
1040
1043
|
if (typeof senderEmail === 'undefined') {
|
1041
|
-
throw new AppcondaException('Missing required parameter: "senderEmail"');
|
1044
|
+
throw new client_1.AppcondaException('Missing required parameter: "senderEmail"');
|
1042
1045
|
}
|
1043
1046
|
if (typeof host === 'undefined') {
|
1044
|
-
throw new AppcondaException('Missing required parameter: "host"');
|
1047
|
+
throw new client_1.AppcondaException('Missing required parameter: "host"');
|
1045
1048
|
}
|
1046
1049
|
const apiPath = '/projects/{projectId}/smtp/tests'.replace('{projectId}', projectId);
|
1047
1050
|
const payload = {};
|
@@ -1089,10 +1092,10 @@ export class Projects {
|
|
1089
1092
|
*/
|
1090
1093
|
async updateTeam(projectId, teamId) {
|
1091
1094
|
if (typeof projectId === 'undefined') {
|
1092
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
1095
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
1093
1096
|
}
|
1094
1097
|
if (typeof teamId === 'undefined') {
|
1095
|
-
throw new AppcondaException('Missing required parameter: "teamId"');
|
1098
|
+
throw new client_1.AppcondaException('Missing required parameter: "teamId"');
|
1096
1099
|
}
|
1097
1100
|
const apiPath = '/projects/{projectId}/team'.replace('{projectId}', projectId);
|
1098
1101
|
const payload = {};
|
@@ -1117,13 +1120,13 @@ export class Projects {
|
|
1117
1120
|
*/
|
1118
1121
|
async getEmailTemplate(projectId, type, locale) {
|
1119
1122
|
if (typeof projectId === 'undefined') {
|
1120
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
1123
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
1121
1124
|
}
|
1122
1125
|
if (typeof type === 'undefined') {
|
1123
|
-
throw new AppcondaException('Missing required parameter: "type"');
|
1126
|
+
throw new client_1.AppcondaException('Missing required parameter: "type"');
|
1124
1127
|
}
|
1125
1128
|
if (typeof locale === 'undefined') {
|
1126
|
-
throw new AppcondaException('Missing required parameter: "locale"');
|
1129
|
+
throw new client_1.AppcondaException('Missing required parameter: "locale"');
|
1127
1130
|
}
|
1128
1131
|
const apiPath = '/projects/{projectId}/templates/email/{type}/{locale}'.replace('{projectId}', projectId).replace('{type}', type).replace('{locale}', locale);
|
1129
1132
|
const payload = {};
|
@@ -1150,19 +1153,19 @@ export class Projects {
|
|
1150
1153
|
*/
|
1151
1154
|
async updateEmailTemplate(projectId, type, locale, subject, message, senderName, senderEmail, replyTo) {
|
1152
1155
|
if (typeof projectId === 'undefined') {
|
1153
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
1156
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
1154
1157
|
}
|
1155
1158
|
if (typeof type === 'undefined') {
|
1156
|
-
throw new AppcondaException('Missing required parameter: "type"');
|
1159
|
+
throw new client_1.AppcondaException('Missing required parameter: "type"');
|
1157
1160
|
}
|
1158
1161
|
if (typeof locale === 'undefined') {
|
1159
|
-
throw new AppcondaException('Missing required parameter: "locale"');
|
1162
|
+
throw new client_1.AppcondaException('Missing required parameter: "locale"');
|
1160
1163
|
}
|
1161
1164
|
if (typeof subject === 'undefined') {
|
1162
|
-
throw new AppcondaException('Missing required parameter: "subject"');
|
1165
|
+
throw new client_1.AppcondaException('Missing required parameter: "subject"');
|
1163
1166
|
}
|
1164
1167
|
if (typeof message === 'undefined') {
|
1165
|
-
throw new AppcondaException('Missing required parameter: "message"');
|
1168
|
+
throw new client_1.AppcondaException('Missing required parameter: "message"');
|
1166
1169
|
}
|
1167
1170
|
const apiPath = '/projects/{projectId}/templates/email/{type}/{locale}'.replace('{projectId}', projectId).replace('{type}', type).replace('{locale}', locale);
|
1168
1171
|
const payload = {};
|
@@ -1199,13 +1202,13 @@ export class Projects {
|
|
1199
1202
|
*/
|
1200
1203
|
async deleteEmailTemplate(projectId, type, locale) {
|
1201
1204
|
if (typeof projectId === 'undefined') {
|
1202
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
1205
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
1203
1206
|
}
|
1204
1207
|
if (typeof type === 'undefined') {
|
1205
|
-
throw new AppcondaException('Missing required parameter: "type"');
|
1208
|
+
throw new client_1.AppcondaException('Missing required parameter: "type"');
|
1206
1209
|
}
|
1207
1210
|
if (typeof locale === 'undefined') {
|
1208
|
-
throw new AppcondaException('Missing required parameter: "locale"');
|
1211
|
+
throw new client_1.AppcondaException('Missing required parameter: "locale"');
|
1209
1212
|
}
|
1210
1213
|
const apiPath = '/projects/{projectId}/templates/email/{type}/{locale}'.replace('{projectId}', projectId).replace('{type}', type).replace('{locale}', locale);
|
1211
1214
|
const payload = {};
|
@@ -1227,13 +1230,13 @@ export class Projects {
|
|
1227
1230
|
*/
|
1228
1231
|
async getSmsTemplate(projectId, type, locale) {
|
1229
1232
|
if (typeof projectId === 'undefined') {
|
1230
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
1233
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
1231
1234
|
}
|
1232
1235
|
if (typeof type === 'undefined') {
|
1233
|
-
throw new AppcondaException('Missing required parameter: "type"');
|
1236
|
+
throw new client_1.AppcondaException('Missing required parameter: "type"');
|
1234
1237
|
}
|
1235
1238
|
if (typeof locale === 'undefined') {
|
1236
|
-
throw new AppcondaException('Missing required parameter: "locale"');
|
1239
|
+
throw new client_1.AppcondaException('Missing required parameter: "locale"');
|
1237
1240
|
}
|
1238
1241
|
const apiPath = '/projects/{projectId}/templates/sms/{type}/{locale}'.replace('{projectId}', projectId).replace('{type}', type).replace('{locale}', locale);
|
1239
1242
|
const payload = {};
|
@@ -1256,16 +1259,16 @@ export class Projects {
|
|
1256
1259
|
*/
|
1257
1260
|
async updateSmsTemplate(projectId, type, locale, message) {
|
1258
1261
|
if (typeof projectId === 'undefined') {
|
1259
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
1262
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
1260
1263
|
}
|
1261
1264
|
if (typeof type === 'undefined') {
|
1262
|
-
throw new AppcondaException('Missing required parameter: "type"');
|
1265
|
+
throw new client_1.AppcondaException('Missing required parameter: "type"');
|
1263
1266
|
}
|
1264
1267
|
if (typeof locale === 'undefined') {
|
1265
|
-
throw new AppcondaException('Missing required parameter: "locale"');
|
1268
|
+
throw new client_1.AppcondaException('Missing required parameter: "locale"');
|
1266
1269
|
}
|
1267
1270
|
if (typeof message === 'undefined') {
|
1268
|
-
throw new AppcondaException('Missing required parameter: "message"');
|
1271
|
+
throw new client_1.AppcondaException('Missing required parameter: "message"');
|
1269
1272
|
}
|
1270
1273
|
const apiPath = '/projects/{projectId}/templates/sms/{type}/{locale}'.replace('{projectId}', projectId).replace('{type}', type).replace('{locale}', locale);
|
1271
1274
|
const payload = {};
|
@@ -1290,13 +1293,13 @@ export class Projects {
|
|
1290
1293
|
*/
|
1291
1294
|
async deleteSmsTemplate(projectId, type, locale) {
|
1292
1295
|
if (typeof projectId === 'undefined') {
|
1293
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
1296
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
1294
1297
|
}
|
1295
1298
|
if (typeof type === 'undefined') {
|
1296
|
-
throw new AppcondaException('Missing required parameter: "type"');
|
1299
|
+
throw new client_1.AppcondaException('Missing required parameter: "type"');
|
1297
1300
|
}
|
1298
1301
|
if (typeof locale === 'undefined') {
|
1299
|
-
throw new AppcondaException('Missing required parameter: "locale"');
|
1302
|
+
throw new client_1.AppcondaException('Missing required parameter: "locale"');
|
1300
1303
|
}
|
1301
1304
|
const apiPath = '/projects/{projectId}/templates/sms/{type}/{locale}'.replace('{projectId}', projectId).replace('{type}', type).replace('{locale}', locale);
|
1302
1305
|
const payload = {};
|
@@ -1316,7 +1319,7 @@ export class Projects {
|
|
1316
1319
|
*/
|
1317
1320
|
async listWebhooks(projectId) {
|
1318
1321
|
if (typeof projectId === 'undefined') {
|
1319
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
1322
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
1320
1323
|
}
|
1321
1324
|
const apiPath = '/projects/{projectId}/webhooks'.replace('{projectId}', projectId);
|
1322
1325
|
const payload = {};
|
@@ -1343,19 +1346,19 @@ export class Projects {
|
|
1343
1346
|
*/
|
1344
1347
|
async createWebhook(projectId, name, events, url, security, enabled, httpUser, httpPass) {
|
1345
1348
|
if (typeof projectId === 'undefined') {
|
1346
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
1349
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
1347
1350
|
}
|
1348
1351
|
if (typeof name === 'undefined') {
|
1349
|
-
throw new AppcondaException('Missing required parameter: "name"');
|
1352
|
+
throw new client_1.AppcondaException('Missing required parameter: "name"');
|
1350
1353
|
}
|
1351
1354
|
if (typeof events === 'undefined') {
|
1352
|
-
throw new AppcondaException('Missing required parameter: "events"');
|
1355
|
+
throw new client_1.AppcondaException('Missing required parameter: "events"');
|
1353
1356
|
}
|
1354
1357
|
if (typeof url === 'undefined') {
|
1355
|
-
throw new AppcondaException('Missing required parameter: "url"');
|
1358
|
+
throw new client_1.AppcondaException('Missing required parameter: "url"');
|
1356
1359
|
}
|
1357
1360
|
if (typeof security === 'undefined') {
|
1358
|
-
throw new AppcondaException('Missing required parameter: "security"');
|
1361
|
+
throw new client_1.AppcondaException('Missing required parameter: "security"');
|
1359
1362
|
}
|
1360
1363
|
const apiPath = '/projects/{projectId}/webhooks'.replace('{projectId}', projectId);
|
1361
1364
|
const payload = {};
|
@@ -1397,10 +1400,10 @@ export class Projects {
|
|
1397
1400
|
*/
|
1398
1401
|
async getWebhook(projectId, webhookId) {
|
1399
1402
|
if (typeof projectId === 'undefined') {
|
1400
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
1403
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
1401
1404
|
}
|
1402
1405
|
if (typeof webhookId === 'undefined') {
|
1403
|
-
throw new AppcondaException('Missing required parameter: "webhookId"');
|
1406
|
+
throw new client_1.AppcondaException('Missing required parameter: "webhookId"');
|
1404
1407
|
}
|
1405
1408
|
const apiPath = '/projects/{projectId}/webhooks/{webhookId}'.replace('{projectId}', projectId).replace('{webhookId}', webhookId);
|
1406
1409
|
const payload = {};
|
@@ -1428,22 +1431,22 @@ export class Projects {
|
|
1428
1431
|
*/
|
1429
1432
|
async updateWebhook(projectId, webhookId, name, events, url, security, enabled, httpUser, httpPass) {
|
1430
1433
|
if (typeof projectId === 'undefined') {
|
1431
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
1434
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
1432
1435
|
}
|
1433
1436
|
if (typeof webhookId === 'undefined') {
|
1434
|
-
throw new AppcondaException('Missing required parameter: "webhookId"');
|
1437
|
+
throw new client_1.AppcondaException('Missing required parameter: "webhookId"');
|
1435
1438
|
}
|
1436
1439
|
if (typeof name === 'undefined') {
|
1437
|
-
throw new AppcondaException('Missing required parameter: "name"');
|
1440
|
+
throw new client_1.AppcondaException('Missing required parameter: "name"');
|
1438
1441
|
}
|
1439
1442
|
if (typeof events === 'undefined') {
|
1440
|
-
throw new AppcondaException('Missing required parameter: "events"');
|
1443
|
+
throw new client_1.AppcondaException('Missing required parameter: "events"');
|
1441
1444
|
}
|
1442
1445
|
if (typeof url === 'undefined') {
|
1443
|
-
throw new AppcondaException('Missing required parameter: "url"');
|
1446
|
+
throw new client_1.AppcondaException('Missing required parameter: "url"');
|
1444
1447
|
}
|
1445
1448
|
if (typeof security === 'undefined') {
|
1446
|
-
throw new AppcondaException('Missing required parameter: "security"');
|
1449
|
+
throw new client_1.AppcondaException('Missing required parameter: "security"');
|
1447
1450
|
}
|
1448
1451
|
const apiPath = '/projects/{projectId}/webhooks/{webhookId}'.replace('{projectId}', projectId).replace('{webhookId}', webhookId);
|
1449
1452
|
const payload = {};
|
@@ -1485,10 +1488,10 @@ export class Projects {
|
|
1485
1488
|
*/
|
1486
1489
|
async deleteWebhook(projectId, webhookId) {
|
1487
1490
|
if (typeof projectId === 'undefined') {
|
1488
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
1491
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
1489
1492
|
}
|
1490
1493
|
if (typeof webhookId === 'undefined') {
|
1491
|
-
throw new AppcondaException('Missing required parameter: "webhookId"');
|
1494
|
+
throw new client_1.AppcondaException('Missing required parameter: "webhookId"');
|
1492
1495
|
}
|
1493
1496
|
const apiPath = '/projects/{projectId}/webhooks/{webhookId}'.replace('{projectId}', projectId).replace('{webhookId}', webhookId);
|
1494
1497
|
const payload = {};
|
@@ -1509,10 +1512,10 @@ export class Projects {
|
|
1509
1512
|
*/
|
1510
1513
|
async updateWebhookSignature(projectId, webhookId) {
|
1511
1514
|
if (typeof projectId === 'undefined') {
|
1512
|
-
throw new AppcondaException('Missing required parameter: "projectId"');
|
1515
|
+
throw new client_1.AppcondaException('Missing required parameter: "projectId"');
|
1513
1516
|
}
|
1514
1517
|
if (typeof webhookId === 'undefined') {
|
1515
|
-
throw new AppcondaException('Missing required parameter: "webhookId"');
|
1518
|
+
throw new client_1.AppcondaException('Missing required parameter: "webhookId"');
|
1516
1519
|
}
|
1517
1520
|
const apiPath = '/projects/{projectId}/webhooks/{webhookId}/signature'.replace('{projectId}', projectId).replace('{webhookId}', webhookId);
|
1518
1521
|
const payload = {};
|
@@ -1523,3 +1526,4 @@ export class Projects {
|
|
1523
1526
|
return await this.client.call('patch', uri, apiHeaders, payload);
|
1524
1527
|
}
|
1525
1528
|
}
|
1529
|
+
exports.Projects = Projects;
|