@appconda/nextjs 1.0.39 → 1.0.41

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.
Files changed (124) hide show
  1. package/dist/actions/actionClient.d.ts +1 -1
  2. package/dist/actions/actionClient.js +6 -3
  3. package/dist/actions/index.js +17 -1
  4. package/dist/actions/nodes.d.ts +1 -1
  5. package/dist/actions/nodes.js +7 -4
  6. package/dist/client.js +39 -33
  7. package/dist/decorators/Cache.js +7 -4
  8. package/dist/decorators/CacheKey.js +4 -1
  9. package/dist/decorators/Invalidate.js +7 -4
  10. package/dist/enums/api-service.js +5 -2
  11. package/dist/enums/api.js +5 -2
  12. package/dist/enums/auth-method.js +5 -2
  13. package/dist/enums/authentication-factor.js +5 -2
  14. package/dist/enums/authenticator-type.js +5 -2
  15. package/dist/enums/browser.js +5 -2
  16. package/dist/enums/compression.js +5 -2
  17. package/dist/enums/credit-card.js +5 -2
  18. package/dist/enums/database-usage-range.js +5 -2
  19. package/dist/enums/email-template-locale.js +5 -2
  20. package/dist/enums/email-template-type.js +5 -2
  21. package/dist/enums/entities/EntityLimitType.js +5 -2
  22. package/dist/enums/entities/PropertyAttributeName.js +5 -2
  23. package/dist/enums/entities/PropertyCondition.js +5 -2
  24. package/dist/enums/entities/PropertyType.js +5 -2
  25. package/dist/enums/entities/PropertyValueType.js +5 -2
  26. package/dist/enums/entities/RowAccess.js +4 -1
  27. package/dist/enums/entities/ViewFilterCondition.js +5 -2
  28. package/dist/enums/execution-method.js +5 -2
  29. package/dist/enums/flag.js +5 -2
  30. package/dist/enums/function-usage-range.js +5 -2
  31. package/dist/enums/image-format.js +5 -2
  32. package/dist/enums/image-gravity.js +5 -2
  33. package/dist/enums/index-type.js +5 -2
  34. package/dist/enums/messaging-provider-type.js +5 -2
  35. package/dist/enums/name.js +5 -2
  36. package/dist/enums/o-auth-provider copy.js +5 -2
  37. package/dist/enums/o-auth-provider.js +5 -2
  38. package/dist/enums/password-hash.js +5 -2
  39. package/dist/enums/platform-type.js +5 -2
  40. package/dist/enums/project-usage-range.js +5 -2
  41. package/dist/enums/region.js +5 -2
  42. package/dist/enums/relation-mutate.js +5 -2
  43. package/dist/enums/relationship-type.js +5 -2
  44. package/dist/enums/resource-type.js +5 -2
  45. package/dist/enums/runtime.js +5 -2
  46. package/dist/enums/s-m-t-p-secure.js +5 -2
  47. package/dist/enums/shared/ApplicationLayout.js +5 -2
  48. package/dist/enums/shared/Colors.js +5 -2
  49. package/dist/enums/shared/InputType.js +5 -2
  50. package/dist/enums/shared/Periodicity.js +5 -2
  51. package/dist/enums/shared/SvgIcon.js +5 -2
  52. package/dist/enums/shared/Theme.js +5 -2
  53. package/dist/enums/sms-template-locale.js +5 -2
  54. package/dist/enums/sms-template-type.js +5 -2
  55. package/dist/enums/smtp-encryption.js +5 -2
  56. package/dist/enums/storage-usage-range.js +5 -2
  57. package/dist/enums/subscriptions/PricingModel.js +7 -4
  58. package/dist/enums/subscriptions/SubscriptionBillingPeriod.js +7 -4
  59. package/dist/enums/subscriptions/SubscriptionFeatureLimitType.js +7 -4
  60. package/dist/enums/subscriptions/SubscriptionPriceType.js +7 -4
  61. package/dist/enums/tenants/LinkedAccountStatus.js +5 -2
  62. package/dist/enums/tenants/TenantUserJoined.js +5 -2
  63. package/dist/enums/tenants/TenantUserStatus.js +5 -2
  64. package/dist/enums/tenants/TenantUserType.js +5 -2
  65. package/dist/enums/user-usage-range.js +5 -2
  66. package/dist/getAppcondaClient.js +6 -3
  67. package/dist/getSDKForCurrentUser.js +40 -37
  68. package/dist/id.js +20 -16
  69. package/dist/index.d.ts +1 -1
  70. package/dist/index.js +91 -38
  71. package/dist/inputFile.js +10 -6
  72. package/dist/lib/Cache/Adapter.js +2 -1
  73. package/dist/lib/Cache/Adapters/Filesystem.js +6 -2
  74. package/dist/lib/Cache/Adapters/Memory.js +7 -4
  75. package/dist/lib/Cache/Adapters/None.js +5 -1
  76. package/dist/lib/Cache/Adapters/Sharding.js +19 -14
  77. package/dist/lib/Cache/Cache.js +7 -2
  78. package/dist/lib/Cache/index.js +20 -4
  79. package/dist/lib/Cache/test.d.ts +1 -0
  80. package/dist/lib/Cache/test.js +2 -0
  81. package/dist/lib/Registry/Registry.js +23 -21
  82. package/dist/lib/Registry/index.js +17 -1
  83. package/dist/lib/Services.js +12 -8
  84. package/dist/models.js +2 -1
  85. package/dist/modules/index.js +17 -1
  86. package/dist/modules/waitlist/action.d.ts +2 -2
  87. package/dist/modules/waitlist/action.js +11 -8
  88. package/dist/modules/waitlist/index.js +19 -3
  89. package/dist/modules/waitlist/schema.js +6 -3
  90. package/dist/modules/waitlist/service.js +6 -2
  91. package/dist/permission.js +53 -49
  92. package/dist/query.js +175 -168
  93. package/dist/role.js +5 -1
  94. package/dist/schemas/nodes.d.ts +1 -0
  95. package/dist/schemas/nodes.js +2 -0
  96. package/dist/service-client.js +6 -1
  97. package/dist/service.js +10 -5
  98. package/dist/services/account.js +63 -58
  99. package/dist/services/applets.js +9 -4
  100. package/dist/services/avatars.js +13 -8
  101. package/dist/services/community.js +10 -5
  102. package/dist/services/configuration.js +6 -2
  103. package/dist/services/databases.js +155 -150
  104. package/dist/services/functions.js +47 -42
  105. package/dist/services/graphql.js +9 -4
  106. package/dist/services/health.js +8 -3
  107. package/dist/services/locale.js +6 -1
  108. package/dist/services/messaging.js +71 -66
  109. package/dist/services/node.js +8 -4
  110. package/dist/services/permissions.js +12 -7
  111. package/dist/services/pricing.js +6 -2
  112. package/dist/services/projects.js +118 -113
  113. package/dist/services/roles.js +11 -6
  114. package/dist/services/schema.js +10 -5
  115. package/dist/services/storage.js +29 -24
  116. package/dist/services/subscription.js +6 -2
  117. package/dist/services/teams.js +30 -25
  118. package/dist/services/tenant-subscription.js +10 -5
  119. package/dist/services/tenant.js +13 -9
  120. package/dist/services/users.js +87 -82
  121. package/package.json +1 -1
  122. package/src/index.ts +1 -1
  123. package/src/modules/waitlist/action.ts +2 -1
  124. package/tsconfig.json +29 -26
@@ -1,5 +1,9 @@
1
- import { AppcondaException } from '../client';
2
- export class Functions {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Functions = void 0;
4
+ const client_1 = require("../client");
5
+ class Functions {
6
+ client;
3
7
  constructor(client) {
4
8
  this.client = client;
5
9
  }
@@ -60,13 +64,13 @@ export class Functions {
60
64
  */
61
65
  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
66
  if (typeof functionId === 'undefined') {
63
- throw new AppcondaException('Missing required parameter: "functionId"');
67
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
64
68
  }
65
69
  if (typeof name === 'undefined') {
66
- throw new AppcondaException('Missing required parameter: "name"');
70
+ throw new client_1.AppcondaException('Missing required parameter: "name"');
67
71
  }
68
72
  if (typeof runtime === 'undefined') {
69
- throw new AppcondaException('Missing required parameter: "runtime"');
73
+ throw new client_1.AppcondaException('Missing required parameter: "runtime"');
70
74
  }
71
75
  const apiPath = '/functions';
72
76
  const payload = {};
@@ -188,7 +192,7 @@ export class Functions {
188
192
  */
189
193
  async get(functionId) {
190
194
  if (typeof functionId === 'undefined') {
191
- throw new AppcondaException('Missing required parameter: "functionId"');
195
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
192
196
  }
193
197
  const apiPath = '/functions/{functionId}'.replace('{functionId}', functionId);
194
198
  const payload = {};
@@ -226,10 +230,10 @@ export class Functions {
226
230
  */
227
231
  async update(functionId, name, runtime, execute, events, schedule, timeout, enabled, logging, entrypoint, commands, scopes, installationId, providerRepositoryId, providerBranch, providerSilentMode, providerRootDirectory, specification) {
228
232
  if (typeof functionId === 'undefined') {
229
- throw new AppcondaException('Missing required parameter: "functionId"');
233
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
230
234
  }
231
235
  if (typeof name === 'undefined') {
232
- throw new AppcondaException('Missing required parameter: "name"');
236
+ throw new client_1.AppcondaException('Missing required parameter: "name"');
233
237
  }
234
238
  const apiPath = '/functions/{functionId}'.replace('{functionId}', functionId);
235
239
  const payload = {};
@@ -301,7 +305,7 @@ export class Functions {
301
305
  */
302
306
  async delete(functionId) {
303
307
  if (typeof functionId === 'undefined') {
304
- throw new AppcondaException('Missing required parameter: "functionId"');
308
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
305
309
  }
306
310
  const apiPath = '/functions/{functionId}'.replace('{functionId}', functionId);
307
311
  const payload = {};
@@ -324,7 +328,7 @@ export class Functions {
324
328
  */
325
329
  async listDeployments(functionId, queries, search) {
326
330
  if (typeof functionId === 'undefined') {
327
- throw new AppcondaException('Missing required parameter: "functionId"');
331
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
328
332
  }
329
333
  const apiPath = '/functions/{functionId}/deployments'.replace('{functionId}', functionId);
330
334
  const payload = {};
@@ -359,13 +363,13 @@ Use the "command" param to set the entrypoint used to execute your cod
359
363
  */
360
364
  async createDeployment(functionId, code, activate, entrypoint, commands, onProgress = (progress) => { }) {
361
365
  if (typeof functionId === 'undefined') {
362
- throw new AppcondaException('Missing required parameter: "functionId"');
366
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
363
367
  }
364
368
  if (typeof code === 'undefined') {
365
- throw new AppcondaException('Missing required parameter: "code"');
369
+ throw new client_1.AppcondaException('Missing required parameter: "code"');
366
370
  }
367
371
  if (typeof activate === 'undefined') {
368
- throw new AppcondaException('Missing required parameter: "activate"');
372
+ throw new client_1.AppcondaException('Missing required parameter: "activate"');
369
373
  }
370
374
  const apiPath = '/functions/{functionId}/deployments'.replace('{functionId}', functionId);
371
375
  const payload = {};
@@ -399,10 +403,10 @@ Use the "command" param to set the entrypoint used to execute your cod
399
403
  */
400
404
  async getDeployment(functionId, deploymentId) {
401
405
  if (typeof functionId === 'undefined') {
402
- throw new AppcondaException('Missing required parameter: "functionId"');
406
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
403
407
  }
404
408
  if (typeof deploymentId === 'undefined') {
405
- throw new AppcondaException('Missing required parameter: "deploymentId"');
409
+ throw new client_1.AppcondaException('Missing required parameter: "deploymentId"');
406
410
  }
407
411
  const apiPath = '/functions/{functionId}/deployments/{deploymentId}'.replace('{functionId}', functionId).replace('{deploymentId}', deploymentId);
408
412
  const payload = {};
@@ -424,10 +428,10 @@ Use the "command" param to set the entrypoint used to execute your cod
424
428
  */
425
429
  async updateDeployment(functionId, deploymentId) {
426
430
  if (typeof functionId === 'undefined') {
427
- throw new AppcondaException('Missing required parameter: "functionId"');
431
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
428
432
  }
429
433
  if (typeof deploymentId === 'undefined') {
430
- throw new AppcondaException('Missing required parameter: "deploymentId"');
434
+ throw new client_1.AppcondaException('Missing required parameter: "deploymentId"');
431
435
  }
432
436
  const apiPath = '/functions/{functionId}/deployments/{deploymentId}'.replace('{functionId}', functionId).replace('{deploymentId}', deploymentId);
433
437
  const payload = {};
@@ -449,10 +453,10 @@ Use the "command" param to set the entrypoint used to execute your cod
449
453
  */
450
454
  async deleteDeployment(functionId, deploymentId) {
451
455
  if (typeof functionId === 'undefined') {
452
- throw new AppcondaException('Missing required parameter: "functionId"');
456
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
453
457
  }
454
458
  if (typeof deploymentId === 'undefined') {
455
- throw new AppcondaException('Missing required parameter: "deploymentId"');
459
+ throw new client_1.AppcondaException('Missing required parameter: "deploymentId"');
456
460
  }
457
461
  const apiPath = '/functions/{functionId}/deployments/{deploymentId}'.replace('{functionId}', functionId).replace('{deploymentId}', deploymentId);
458
462
  const payload = {};
@@ -474,10 +478,10 @@ Use the "command" param to set the entrypoint used to execute your cod
474
478
  */
475
479
  async createBuild(functionId, deploymentId, buildId) {
476
480
  if (typeof functionId === 'undefined') {
477
- throw new AppcondaException('Missing required parameter: "functionId"');
481
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
478
482
  }
479
483
  if (typeof deploymentId === 'undefined') {
480
- throw new AppcondaException('Missing required parameter: "deploymentId"');
484
+ throw new client_1.AppcondaException('Missing required parameter: "deploymentId"');
481
485
  }
482
486
  const apiPath = '/functions/{functionId}/deployments/{deploymentId}/build'.replace('{functionId}', functionId).replace('{deploymentId}', deploymentId);
483
487
  const payload = {};
@@ -501,10 +505,10 @@ Use the "command" param to set the entrypoint used to execute your cod
501
505
  */
502
506
  async updateDeploymentBuild(functionId, deploymentId) {
503
507
  if (typeof functionId === 'undefined') {
504
- throw new AppcondaException('Missing required parameter: "functionId"');
508
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
505
509
  }
506
510
  if (typeof deploymentId === 'undefined') {
507
- throw new AppcondaException('Missing required parameter: "deploymentId"');
511
+ throw new client_1.AppcondaException('Missing required parameter: "deploymentId"');
508
512
  }
509
513
  const apiPath = '/functions/{functionId}/deployments/{deploymentId}/build'.replace('{functionId}', functionId).replace('{deploymentId}', deploymentId);
510
514
  const payload = {};
@@ -526,10 +530,10 @@ Use the "command" param to set the entrypoint used to execute your cod
526
530
  */
527
531
  async getDeploymentDownload(functionId, deploymentId) {
528
532
  if (typeof functionId === 'undefined') {
529
- throw new AppcondaException('Missing required parameter: "functionId"');
533
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
530
534
  }
531
535
  if (typeof deploymentId === 'undefined') {
532
- throw new AppcondaException('Missing required parameter: "deploymentId"');
536
+ throw new client_1.AppcondaException('Missing required parameter: "deploymentId"');
533
537
  }
534
538
  const apiPath = '/functions/{functionId}/deployments/{deploymentId}/download'.replace('{functionId}', functionId).replace('{deploymentId}', deploymentId);
535
539
  const payload = {};
@@ -552,7 +556,7 @@ Use the "command" param to set the entrypoint used to execute your cod
552
556
  */
553
557
  async listExecutions(functionId, queries, search) {
554
558
  if (typeof functionId === 'undefined') {
555
- throw new AppcondaException('Missing required parameter: "functionId"');
559
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
556
560
  }
557
561
  const apiPath = '/functions/{functionId}/executions'.replace('{functionId}', functionId);
558
562
  const payload = {};
@@ -585,7 +589,7 @@ Use the "command" param to set the entrypoint used to execute your cod
585
589
  */
586
590
  async createExecution(functionId, body, async, xpath, method, headers, scheduledAt) {
587
591
  if (typeof functionId === 'undefined') {
588
- throw new AppcondaException('Missing required parameter: "functionId"');
592
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
589
593
  }
590
594
  const apiPath = '/functions/{functionId}/executions'.replace('{functionId}', functionId);
591
595
  const payload = {};
@@ -625,10 +629,10 @@ Use the "command" param to set the entrypoint used to execute your cod
625
629
  */
626
630
  async getExecution(functionId, executionId) {
627
631
  if (typeof functionId === 'undefined') {
628
- throw new AppcondaException('Missing required parameter: "functionId"');
632
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
629
633
  }
630
634
  if (typeof executionId === 'undefined') {
631
- throw new AppcondaException('Missing required parameter: "executionId"');
635
+ throw new client_1.AppcondaException('Missing required parameter: "executionId"');
632
636
  }
633
637
  const apiPath = '/functions/{functionId}/executions/{executionId}'.replace('{functionId}', functionId).replace('{executionId}', executionId);
634
638
  const payload = {};
@@ -651,10 +655,10 @@ Use the "command" param to set the entrypoint used to execute your cod
651
655
  */
652
656
  async deleteExecution(functionId, executionId) {
653
657
  if (typeof functionId === 'undefined') {
654
- throw new AppcondaException('Missing required parameter: "functionId"');
658
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
655
659
  }
656
660
  if (typeof executionId === 'undefined') {
657
- throw new AppcondaException('Missing required parameter: "executionId"');
661
+ throw new client_1.AppcondaException('Missing required parameter: "executionId"');
658
662
  }
659
663
  const apiPath = '/functions/{functionId}/executions/{executionId}'.replace('{functionId}', functionId).replace('{executionId}', executionId);
660
664
  const payload = {};
@@ -675,7 +679,7 @@ Use the "command" param to set the entrypoint used to execute your cod
675
679
  */
676
680
  async listVariables(functionId) {
677
681
  if (typeof functionId === 'undefined') {
678
- throw new AppcondaException('Missing required parameter: "functionId"');
682
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
679
683
  }
680
684
  const apiPath = '/functions/{functionId}/variables'.replace('{functionId}', functionId);
681
685
  const payload = {};
@@ -698,13 +702,13 @@ Use the "command" param to set the entrypoint used to execute your cod
698
702
  */
699
703
  async createVariable(functionId, key, value) {
700
704
  if (typeof functionId === 'undefined') {
701
- throw new AppcondaException('Missing required parameter: "functionId"');
705
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
702
706
  }
703
707
  if (typeof key === 'undefined') {
704
- throw new AppcondaException('Missing required parameter: "key"');
708
+ throw new client_1.AppcondaException('Missing required parameter: "key"');
705
709
  }
706
710
  if (typeof value === 'undefined') {
707
- throw new AppcondaException('Missing required parameter: "value"');
711
+ throw new client_1.AppcondaException('Missing required parameter: "value"');
708
712
  }
709
713
  const apiPath = '/functions/{functionId}/variables'.replace('{functionId}', functionId);
710
714
  const payload = {};
@@ -732,10 +736,10 @@ Use the "command" param to set the entrypoint used to execute your cod
732
736
  */
733
737
  async getVariable(functionId, variableId) {
734
738
  if (typeof functionId === 'undefined') {
735
- throw new AppcondaException('Missing required parameter: "functionId"');
739
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
736
740
  }
737
741
  if (typeof variableId === 'undefined') {
738
- throw new AppcondaException('Missing required parameter: "variableId"');
742
+ throw new client_1.AppcondaException('Missing required parameter: "variableId"');
739
743
  }
740
744
  const apiPath = '/functions/{functionId}/variables/{variableId}'.replace('{functionId}', functionId).replace('{variableId}', variableId);
741
745
  const payload = {};
@@ -759,13 +763,13 @@ Use the "command" param to set the entrypoint used to execute your cod
759
763
  */
760
764
  async updateVariable(functionId, variableId, key, value) {
761
765
  if (typeof functionId === 'undefined') {
762
- throw new AppcondaException('Missing required parameter: "functionId"');
766
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
763
767
  }
764
768
  if (typeof variableId === 'undefined') {
765
- throw new AppcondaException('Missing required parameter: "variableId"');
769
+ throw new client_1.AppcondaException('Missing required parameter: "variableId"');
766
770
  }
767
771
  if (typeof key === 'undefined') {
768
- throw new AppcondaException('Missing required parameter: "key"');
772
+ throw new client_1.AppcondaException('Missing required parameter: "key"');
769
773
  }
770
774
  const apiPath = '/functions/{functionId}/variables/{variableId}'.replace('{functionId}', functionId).replace('{variableId}', variableId);
771
775
  const payload = {};
@@ -793,10 +797,10 @@ Use the "command" param to set the entrypoint used to execute your cod
793
797
  */
794
798
  async deleteVariable(functionId, variableId) {
795
799
  if (typeof functionId === 'undefined') {
796
- throw new AppcondaException('Missing required parameter: "functionId"');
800
+ throw new client_1.AppcondaException('Missing required parameter: "functionId"');
797
801
  }
798
802
  if (typeof variableId === 'undefined') {
799
- throw new AppcondaException('Missing required parameter: "variableId"');
803
+ throw new client_1.AppcondaException('Missing required parameter: "variableId"');
800
804
  }
801
805
  const apiPath = '/functions/{functionId}/variables/{variableId}'.replace('{functionId}', functionId).replace('{variableId}', variableId);
802
806
  const payload = {};
@@ -807,3 +811,4 @@ Use the "command" param to set the entrypoint used to execute your cod
807
811
  return await this.client.call('delete', uri, apiHeaders, payload);
808
812
  }
809
813
  }
814
+ exports.Functions = Functions;
@@ -1,5 +1,9 @@
1
- import { AppcondaException } from '../client';
2
- export class Graphql {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Graphql = void 0;
4
+ const client_1 = require("../client");
5
+ class Graphql {
6
+ client;
3
7
  constructor(client) {
4
8
  this.client = client;
5
9
  }
@@ -14,7 +18,7 @@ export class Graphql {
14
18
  */
15
19
  async query(query) {
16
20
  if (typeof query === 'undefined') {
17
- throw new AppcondaException('Missing required parameter: "query"');
21
+ throw new client_1.AppcondaException('Missing required parameter: "query"');
18
22
  }
19
23
  const apiPath = '/graphql';
20
24
  const payload = {};
@@ -39,7 +43,7 @@ export class Graphql {
39
43
  */
40
44
  async mutation(query) {
41
45
  if (typeof query === 'undefined') {
42
- throw new AppcondaException('Missing required parameter: "query"');
46
+ throw new client_1.AppcondaException('Missing required parameter: "query"');
43
47
  }
44
48
  const apiPath = '/graphql/mutation';
45
49
  const payload = {};
@@ -54,3 +58,4 @@ export class Graphql {
54
58
  return await this.client.call('post', uri, apiHeaders, payload);
55
59
  }
56
60
  }
61
+ exports.Graphql = Graphql;
@@ -1,5 +1,9 @@
1
- import { AppcondaException } from '../client';
2
- export class Health {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Health = void 0;
4
+ const client_1 = require("../client");
5
+ class Health {
6
+ client;
3
7
  constructor(client) {
4
8
  this.client = client;
5
9
  }
@@ -227,7 +231,7 @@ export class Health {
227
231
  */
228
232
  async getFailedJobs(name, threshold) {
229
233
  if (typeof name === 'undefined') {
230
- throw new AppcondaException('Missing required parameter: "name"');
234
+ throw new client_1.AppcondaException('Missing required parameter: "name"');
231
235
  }
232
236
  const apiPath = '/health/queue/failed/{name}'.replace('{name}', name);
233
237
  const payload = {};
@@ -460,3 +464,4 @@ export class Health {
460
464
  return await this.client.call('get', uri, apiHeaders, payload);
461
465
  }
462
466
  }
467
+ exports.Health = Health;
@@ -1,4 +1,8 @@
1
- export class Locale {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Locale = void 0;
4
+ class Locale {
5
+ client;
2
6
  constructor(client) {
3
7
  this.client = client;
4
8
  }
@@ -141,3 +145,4 @@ export class Locale {
141
145
  return await this.client.call('get', uri, apiHeaders, payload);
142
146
  }
143
147
  }
148
+ exports.Locale = Locale;