@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.Functions = void 0;
|
4
|
+
const client_1 = require("../client");
|
5
|
+
class Functions {
|
3
6
|
constructor(client) {
|
4
7
|
this.client = client;
|
5
8
|
}
|
@@ -60,13 +63,13 @@ export class Functions {
|
|
60
63
|
*/
|
61
64
|
async create(functionId, name, runtime, execute, events, schedule, timeout, enabled, logging, entrypoint, commands, scopes, installationId, providerRepositoryId, providerBranch, providerSilentMode, providerRootDirectory, templateRepository, templateOwner, templateRootDirectory, templateVersion, specification) {
|
62
65
|
if (typeof functionId === 'undefined') {
|
63
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
66
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
64
67
|
}
|
65
68
|
if (typeof name === 'undefined') {
|
66
|
-
throw new AppcondaException('Missing required parameter: "name"');
|
69
|
+
throw new client_1.AppcondaException('Missing required parameter: "name"');
|
67
70
|
}
|
68
71
|
if (typeof runtime === 'undefined') {
|
69
|
-
throw new AppcondaException('Missing required parameter: "runtime"');
|
72
|
+
throw new client_1.AppcondaException('Missing required parameter: "runtime"');
|
70
73
|
}
|
71
74
|
const apiPath = '/functions';
|
72
75
|
const payload = {};
|
@@ -188,7 +191,7 @@ export class Functions {
|
|
188
191
|
*/
|
189
192
|
async get(functionId) {
|
190
193
|
if (typeof functionId === 'undefined') {
|
191
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
194
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
192
195
|
}
|
193
196
|
const apiPath = '/functions/{functionId}'.replace('{functionId}', functionId);
|
194
197
|
const payload = {};
|
@@ -226,10 +229,10 @@ export class Functions {
|
|
226
229
|
*/
|
227
230
|
async update(functionId, name, runtime, execute, events, schedule, timeout, enabled, logging, entrypoint, commands, scopes, installationId, providerRepositoryId, providerBranch, providerSilentMode, providerRootDirectory, specification) {
|
228
231
|
if (typeof functionId === 'undefined') {
|
229
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
232
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
230
233
|
}
|
231
234
|
if (typeof name === 'undefined') {
|
232
|
-
throw new AppcondaException('Missing required parameter: "name"');
|
235
|
+
throw new client_1.AppcondaException('Missing required parameter: "name"');
|
233
236
|
}
|
234
237
|
const apiPath = '/functions/{functionId}'.replace('{functionId}', functionId);
|
235
238
|
const payload = {};
|
@@ -301,7 +304,7 @@ export class Functions {
|
|
301
304
|
*/
|
302
305
|
async delete(functionId) {
|
303
306
|
if (typeof functionId === 'undefined') {
|
304
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
307
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
305
308
|
}
|
306
309
|
const apiPath = '/functions/{functionId}'.replace('{functionId}', functionId);
|
307
310
|
const payload = {};
|
@@ -324,7 +327,7 @@ export class Functions {
|
|
324
327
|
*/
|
325
328
|
async listDeployments(functionId, queries, search) {
|
326
329
|
if (typeof functionId === 'undefined') {
|
327
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
330
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
328
331
|
}
|
329
332
|
const apiPath = '/functions/{functionId}/deployments'.replace('{functionId}', functionId);
|
330
333
|
const payload = {};
|
@@ -359,13 +362,13 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
359
362
|
*/
|
360
363
|
async createDeployment(functionId, code, activate, entrypoint, commands, onProgress = (progress) => { }) {
|
361
364
|
if (typeof functionId === 'undefined') {
|
362
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
365
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
363
366
|
}
|
364
367
|
if (typeof code === 'undefined') {
|
365
|
-
throw new AppcondaException('Missing required parameter: "code"');
|
368
|
+
throw new client_1.AppcondaException('Missing required parameter: "code"');
|
366
369
|
}
|
367
370
|
if (typeof activate === 'undefined') {
|
368
|
-
throw new AppcondaException('Missing required parameter: "activate"');
|
371
|
+
throw new client_1.AppcondaException('Missing required parameter: "activate"');
|
369
372
|
}
|
370
373
|
const apiPath = '/functions/{functionId}/deployments'.replace('{functionId}', functionId);
|
371
374
|
const payload = {};
|
@@ -399,10 +402,10 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
399
402
|
*/
|
400
403
|
async getDeployment(functionId, deploymentId) {
|
401
404
|
if (typeof functionId === 'undefined') {
|
402
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
405
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
403
406
|
}
|
404
407
|
if (typeof deploymentId === 'undefined') {
|
405
|
-
throw new AppcondaException('Missing required parameter: "deploymentId"');
|
408
|
+
throw new client_1.AppcondaException('Missing required parameter: "deploymentId"');
|
406
409
|
}
|
407
410
|
const apiPath = '/functions/{functionId}/deployments/{deploymentId}'.replace('{functionId}', functionId).replace('{deploymentId}', deploymentId);
|
408
411
|
const payload = {};
|
@@ -424,10 +427,10 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
424
427
|
*/
|
425
428
|
async updateDeployment(functionId, deploymentId) {
|
426
429
|
if (typeof functionId === 'undefined') {
|
427
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
430
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
428
431
|
}
|
429
432
|
if (typeof deploymentId === 'undefined') {
|
430
|
-
throw new AppcondaException('Missing required parameter: "deploymentId"');
|
433
|
+
throw new client_1.AppcondaException('Missing required parameter: "deploymentId"');
|
431
434
|
}
|
432
435
|
const apiPath = '/functions/{functionId}/deployments/{deploymentId}'.replace('{functionId}', functionId).replace('{deploymentId}', deploymentId);
|
433
436
|
const payload = {};
|
@@ -449,10 +452,10 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
449
452
|
*/
|
450
453
|
async deleteDeployment(functionId, deploymentId) {
|
451
454
|
if (typeof functionId === 'undefined') {
|
452
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
455
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
453
456
|
}
|
454
457
|
if (typeof deploymentId === 'undefined') {
|
455
|
-
throw new AppcondaException('Missing required parameter: "deploymentId"');
|
458
|
+
throw new client_1.AppcondaException('Missing required parameter: "deploymentId"');
|
456
459
|
}
|
457
460
|
const apiPath = '/functions/{functionId}/deployments/{deploymentId}'.replace('{functionId}', functionId).replace('{deploymentId}', deploymentId);
|
458
461
|
const payload = {};
|
@@ -474,10 +477,10 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
474
477
|
*/
|
475
478
|
async createBuild(functionId, deploymentId, buildId) {
|
476
479
|
if (typeof functionId === 'undefined') {
|
477
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
480
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
478
481
|
}
|
479
482
|
if (typeof deploymentId === 'undefined') {
|
480
|
-
throw new AppcondaException('Missing required parameter: "deploymentId"');
|
483
|
+
throw new client_1.AppcondaException('Missing required parameter: "deploymentId"');
|
481
484
|
}
|
482
485
|
const apiPath = '/functions/{functionId}/deployments/{deploymentId}/build'.replace('{functionId}', functionId).replace('{deploymentId}', deploymentId);
|
483
486
|
const payload = {};
|
@@ -501,10 +504,10 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
501
504
|
*/
|
502
505
|
async updateDeploymentBuild(functionId, deploymentId) {
|
503
506
|
if (typeof functionId === 'undefined') {
|
504
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
507
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
505
508
|
}
|
506
509
|
if (typeof deploymentId === 'undefined') {
|
507
|
-
throw new AppcondaException('Missing required parameter: "deploymentId"');
|
510
|
+
throw new client_1.AppcondaException('Missing required parameter: "deploymentId"');
|
508
511
|
}
|
509
512
|
const apiPath = '/functions/{functionId}/deployments/{deploymentId}/build'.replace('{functionId}', functionId).replace('{deploymentId}', deploymentId);
|
510
513
|
const payload = {};
|
@@ -526,10 +529,10 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
526
529
|
*/
|
527
530
|
async getDeploymentDownload(functionId, deploymentId) {
|
528
531
|
if (typeof functionId === 'undefined') {
|
529
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
532
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
530
533
|
}
|
531
534
|
if (typeof deploymentId === 'undefined') {
|
532
|
-
throw new AppcondaException('Missing required parameter: "deploymentId"');
|
535
|
+
throw new client_1.AppcondaException('Missing required parameter: "deploymentId"');
|
533
536
|
}
|
534
537
|
const apiPath = '/functions/{functionId}/deployments/{deploymentId}/download'.replace('{functionId}', functionId).replace('{deploymentId}', deploymentId);
|
535
538
|
const payload = {};
|
@@ -552,7 +555,7 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
552
555
|
*/
|
553
556
|
async listExecutions(functionId, queries, search) {
|
554
557
|
if (typeof functionId === 'undefined') {
|
555
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
558
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
556
559
|
}
|
557
560
|
const apiPath = '/functions/{functionId}/executions'.replace('{functionId}', functionId);
|
558
561
|
const payload = {};
|
@@ -585,7 +588,7 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
585
588
|
*/
|
586
589
|
async createExecution(functionId, body, async, xpath, method, headers, scheduledAt) {
|
587
590
|
if (typeof functionId === 'undefined') {
|
588
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
591
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
589
592
|
}
|
590
593
|
const apiPath = '/functions/{functionId}/executions'.replace('{functionId}', functionId);
|
591
594
|
const payload = {};
|
@@ -625,10 +628,10 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
625
628
|
*/
|
626
629
|
async getExecution(functionId, executionId) {
|
627
630
|
if (typeof functionId === 'undefined') {
|
628
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
631
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
629
632
|
}
|
630
633
|
if (typeof executionId === 'undefined') {
|
631
|
-
throw new AppcondaException('Missing required parameter: "executionId"');
|
634
|
+
throw new client_1.AppcondaException('Missing required parameter: "executionId"');
|
632
635
|
}
|
633
636
|
const apiPath = '/functions/{functionId}/executions/{executionId}'.replace('{functionId}', functionId).replace('{executionId}', executionId);
|
634
637
|
const payload = {};
|
@@ -651,10 +654,10 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
651
654
|
*/
|
652
655
|
async deleteExecution(functionId, executionId) {
|
653
656
|
if (typeof functionId === 'undefined') {
|
654
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
657
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
655
658
|
}
|
656
659
|
if (typeof executionId === 'undefined') {
|
657
|
-
throw new AppcondaException('Missing required parameter: "executionId"');
|
660
|
+
throw new client_1.AppcondaException('Missing required parameter: "executionId"');
|
658
661
|
}
|
659
662
|
const apiPath = '/functions/{functionId}/executions/{executionId}'.replace('{functionId}', functionId).replace('{executionId}', executionId);
|
660
663
|
const payload = {};
|
@@ -675,7 +678,7 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
675
678
|
*/
|
676
679
|
async listVariables(functionId) {
|
677
680
|
if (typeof functionId === 'undefined') {
|
678
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
681
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
679
682
|
}
|
680
683
|
const apiPath = '/functions/{functionId}/variables'.replace('{functionId}', functionId);
|
681
684
|
const payload = {};
|
@@ -698,13 +701,13 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
698
701
|
*/
|
699
702
|
async createVariable(functionId, key, value) {
|
700
703
|
if (typeof functionId === 'undefined') {
|
701
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
704
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
702
705
|
}
|
703
706
|
if (typeof key === 'undefined') {
|
704
|
-
throw new AppcondaException('Missing required parameter: "key"');
|
707
|
+
throw new client_1.AppcondaException('Missing required parameter: "key"');
|
705
708
|
}
|
706
709
|
if (typeof value === 'undefined') {
|
707
|
-
throw new AppcondaException('Missing required parameter: "value"');
|
710
|
+
throw new client_1.AppcondaException('Missing required parameter: "value"');
|
708
711
|
}
|
709
712
|
const apiPath = '/functions/{functionId}/variables'.replace('{functionId}', functionId);
|
710
713
|
const payload = {};
|
@@ -732,10 +735,10 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
732
735
|
*/
|
733
736
|
async getVariable(functionId, variableId) {
|
734
737
|
if (typeof functionId === 'undefined') {
|
735
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
738
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
736
739
|
}
|
737
740
|
if (typeof variableId === 'undefined') {
|
738
|
-
throw new AppcondaException('Missing required parameter: "variableId"');
|
741
|
+
throw new client_1.AppcondaException('Missing required parameter: "variableId"');
|
739
742
|
}
|
740
743
|
const apiPath = '/functions/{functionId}/variables/{variableId}'.replace('{functionId}', functionId).replace('{variableId}', variableId);
|
741
744
|
const payload = {};
|
@@ -759,13 +762,13 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
759
762
|
*/
|
760
763
|
async updateVariable(functionId, variableId, key, value) {
|
761
764
|
if (typeof functionId === 'undefined') {
|
762
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
765
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
763
766
|
}
|
764
767
|
if (typeof variableId === 'undefined') {
|
765
|
-
throw new AppcondaException('Missing required parameter: "variableId"');
|
768
|
+
throw new client_1.AppcondaException('Missing required parameter: "variableId"');
|
766
769
|
}
|
767
770
|
if (typeof key === 'undefined') {
|
768
|
-
throw new AppcondaException('Missing required parameter: "key"');
|
771
|
+
throw new client_1.AppcondaException('Missing required parameter: "key"');
|
769
772
|
}
|
770
773
|
const apiPath = '/functions/{functionId}/variables/{variableId}'.replace('{functionId}', functionId).replace('{variableId}', variableId);
|
771
774
|
const payload = {};
|
@@ -793,10 +796,10 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
793
796
|
*/
|
794
797
|
async deleteVariable(functionId, variableId) {
|
795
798
|
if (typeof functionId === 'undefined') {
|
796
|
-
throw new AppcondaException('Missing required parameter: "functionId"');
|
799
|
+
throw new client_1.AppcondaException('Missing required parameter: "functionId"');
|
797
800
|
}
|
798
801
|
if (typeof variableId === 'undefined') {
|
799
|
-
throw new AppcondaException('Missing required parameter: "variableId"');
|
802
|
+
throw new client_1.AppcondaException('Missing required parameter: "variableId"');
|
800
803
|
}
|
801
804
|
const apiPath = '/functions/{functionId}/variables/{variableId}'.replace('{functionId}', functionId).replace('{variableId}', variableId);
|
802
805
|
const payload = {};
|
@@ -807,3 +810,4 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
807
810
|
return await this.client.call('delete', uri, apiHeaders, payload);
|
808
811
|
}
|
809
812
|
}
|
813
|
+
exports.Functions = Functions;
|
package/dist/services/graphql.js
CHANGED
@@ -1,5 +1,8 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Graphql = void 0;
|
4
|
+
const client_1 = require("../client");
|
5
|
+
class Graphql {
|
3
6
|
constructor(client) {
|
4
7
|
this.client = client;
|
5
8
|
}
|
@@ -14,7 +17,7 @@ export class Graphql {
|
|
14
17
|
*/
|
15
18
|
async query(query) {
|
16
19
|
if (typeof query === 'undefined') {
|
17
|
-
throw new AppcondaException('Missing required parameter: "query"');
|
20
|
+
throw new client_1.AppcondaException('Missing required parameter: "query"');
|
18
21
|
}
|
19
22
|
const apiPath = '/graphql';
|
20
23
|
const payload = {};
|
@@ -39,7 +42,7 @@ export class Graphql {
|
|
39
42
|
*/
|
40
43
|
async mutation(query) {
|
41
44
|
if (typeof query === 'undefined') {
|
42
|
-
throw new AppcondaException('Missing required parameter: "query"');
|
45
|
+
throw new client_1.AppcondaException('Missing required parameter: "query"');
|
43
46
|
}
|
44
47
|
const apiPath = '/graphql/mutation';
|
45
48
|
const payload = {};
|
@@ -54,3 +57,4 @@ export class Graphql {
|
|
54
57
|
return await this.client.call('post', uri, apiHeaders, payload);
|
55
58
|
}
|
56
59
|
}
|
60
|
+
exports.Graphql = Graphql;
|
package/dist/services/health.js
CHANGED
@@ -1,5 +1,8 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Health = void 0;
|
4
|
+
const client_1 = require("../client");
|
5
|
+
class Health {
|
3
6
|
constructor(client) {
|
4
7
|
this.client = client;
|
5
8
|
}
|
@@ -227,7 +230,7 @@ export class Health {
|
|
227
230
|
*/
|
228
231
|
async getFailedJobs(name, threshold) {
|
229
232
|
if (typeof name === 'undefined') {
|
230
|
-
throw new AppcondaException('Missing required parameter: "name"');
|
233
|
+
throw new client_1.AppcondaException('Missing required parameter: "name"');
|
231
234
|
}
|
232
235
|
const apiPath = '/health/queue/failed/{name}'.replace('{name}', name);
|
233
236
|
const payload = {};
|
@@ -460,3 +463,4 @@ export class Health {
|
|
460
463
|
return await this.client.call('get', uri, apiHeaders, payload);
|
461
464
|
}
|
462
465
|
}
|
466
|
+
exports.Health = Health;
|
package/dist/services/locale.js
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Locale = void 0;
|
4
|
+
class Locale {
|
2
5
|
constructor(client) {
|
3
6
|
this.client = client;
|
4
7
|
}
|
@@ -141,3 +144,4 @@ export class Locale {
|
|
141
144
|
return await this.client.call('get', uri, apiHeaders, payload);
|
142
145
|
}
|
143
146
|
}
|
147
|
+
exports.Locale = Locale;
|