@dynamic-labs/sdk-api 0.0.816 → 0.0.818

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.816",
3
+ "version": "0.0.818",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -3914,6 +3914,76 @@ class SDKApi extends runtime.BaseAPI {
3914
3914
  return yield response.value();
3915
3915
  });
3916
3916
  }
3917
+ /**
3918
+ * Fetches a single WaaS wallet and returns it with the same payload structure as the users endpoint. This endpoint returns user information along with verified credentials filtered to only include the specified WaaS wallet.
3919
+ * Fetch a single WaaS wallet with verified credentials
3920
+ */
3921
+ getWaasWalletWithVerifiedCredentialsRaw(requestParameters, initOverrides) {
3922
+ return _tslib.__awaiter(this, void 0, void 0, function* () {
3923
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
3924
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasWalletWithVerifiedCredentials.');
3925
+ }
3926
+ if (requestParameters.walletAddress === null || requestParameters.walletAddress === undefined) {
3927
+ throw new runtime.RequiredError('walletAddress', 'Required parameter requestParameters.walletAddress was null or undefined when calling getWaasWalletWithVerifiedCredentials.');
3928
+ }
3929
+ const queryParameters = {};
3930
+ const headerParameters = {};
3931
+ if (this.configuration && this.configuration.accessToken) {
3932
+ const token = this.configuration.accessToken;
3933
+ const tokenString = yield token("bearerAuth", []);
3934
+ if (tokenString) {
3935
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3936
+ }
3937
+ }
3938
+ const response = yield this.request({
3939
+ path: `/sdk/{environmentId}/waas/byWalletAddress/{walletAddress}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletAddress"}}`, encodeURIComponent(String(requestParameters.walletAddress))),
3940
+ method: 'GET',
3941
+ headers: headerParameters,
3942
+ query: queryParameters,
3943
+ }, initOverrides);
3944
+ return new runtime.JSONApiResponse(response, (jsonValue) => SdkUser.SdkUserFromJSON(jsonValue));
3945
+ });
3946
+ }
3947
+ /**
3948
+ * Fetches a single WaaS wallet and returns it with the same payload structure as the users endpoint. This endpoint returns user information along with verified credentials filtered to only include the specified WaaS wallet.
3949
+ * Fetch a single WaaS wallet with verified credentials
3950
+ */
3951
+ getWaasWalletWithVerifiedCredentials(requestParameters, initOverrides) {
3952
+ return _tslib.__awaiter(this, void 0, void 0, function* () {
3953
+ const response = yield this.getWaasWalletWithVerifiedCredentialsRaw(requestParameters, initOverrides);
3954
+ return yield response.value();
3955
+ });
3956
+ }
3957
+ /**
3958
+ * Options call for this endpoint
3959
+ */
3960
+ getWaasWalletWithVerifiedCredentialsOptionsRaw(requestParameters, initOverrides) {
3961
+ return _tslib.__awaiter(this, void 0, void 0, function* () {
3962
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
3963
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasWalletWithVerifiedCredentialsOptions.');
3964
+ }
3965
+ if (requestParameters.walletAddress === null || requestParameters.walletAddress === undefined) {
3966
+ throw new runtime.RequiredError('walletAddress', 'Required parameter requestParameters.walletAddress was null or undefined when calling getWaasWalletWithVerifiedCredentialsOptions.');
3967
+ }
3968
+ const queryParameters = {};
3969
+ const headerParameters = {};
3970
+ const response = yield this.request({
3971
+ path: `/sdk/{environmentId}/waas/byWalletAddress/{walletAddress}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletAddress"}}`, encodeURIComponent(String(requestParameters.walletAddress))),
3972
+ method: 'OPTIONS',
3973
+ headers: headerParameters,
3974
+ query: queryParameters,
3975
+ }, initOverrides);
3976
+ return new runtime.VoidApiResponse(response);
3977
+ });
3978
+ }
3979
+ /**
3980
+ * Options call for this endpoint
3981
+ */
3982
+ getWaasWalletWithVerifiedCredentialsOptions(requestParameters, initOverrides) {
3983
+ return _tslib.__awaiter(this, void 0, void 0, function* () {
3984
+ yield this.getWaasWalletWithVerifiedCredentialsOptionsRaw(requestParameters, initOverrides);
3985
+ });
3986
+ }
3917
3987
  /**
3918
3988
  * Options call for this endpoint
3919
3989
  */
@@ -434,6 +434,14 @@ export interface GetUserMfaMethodsRequest {
434
434
  export interface GetUserPasskeysRequest {
435
435
  environmentId: string;
436
436
  }
437
+ export interface GetWaasWalletWithVerifiedCredentialsRequest {
438
+ environmentId: string;
439
+ walletAddress: string;
440
+ }
441
+ export interface GetWaasWalletWithVerifiedCredentialsOptionsRequest {
442
+ environmentId: string;
443
+ walletAddress: string;
444
+ }
437
445
  export interface GlobalWalletConnectionsOptionsRequest {
438
446
  environmentId: string;
439
447
  }
@@ -1839,6 +1847,24 @@ export declare class SDKApi extends runtime.BaseAPI {
1839
1847
  * Gets passkey data associated with a user
1840
1848
  */
1841
1849
  getUserPasskeys(requestParameters: GetUserPasskeysRequest, initOverrides?: RequestInit): Promise<GetUserPasskeysResponse>;
1850
+ /**
1851
+ * Fetches a single WaaS wallet and returns it with the same payload structure as the users endpoint. This endpoint returns user information along with verified credentials filtered to only include the specified WaaS wallet.
1852
+ * Fetch a single WaaS wallet with verified credentials
1853
+ */
1854
+ getWaasWalletWithVerifiedCredentialsRaw(requestParameters: GetWaasWalletWithVerifiedCredentialsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<SdkUser>>;
1855
+ /**
1856
+ * Fetches a single WaaS wallet and returns it with the same payload structure as the users endpoint. This endpoint returns user information along with verified credentials filtered to only include the specified WaaS wallet.
1857
+ * Fetch a single WaaS wallet with verified credentials
1858
+ */
1859
+ getWaasWalletWithVerifiedCredentials(requestParameters: GetWaasWalletWithVerifiedCredentialsRequest, initOverrides?: RequestInit): Promise<SdkUser>;
1860
+ /**
1861
+ * Options call for this endpoint
1862
+ */
1863
+ getWaasWalletWithVerifiedCredentialsOptionsRaw(requestParameters: GetWaasWalletWithVerifiedCredentialsOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
1864
+ /**
1865
+ * Options call for this endpoint
1866
+ */
1867
+ getWaasWalletWithVerifiedCredentialsOptions(requestParameters: GetWaasWalletWithVerifiedCredentialsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
1842
1868
  /**
1843
1869
  * Options call for this endpoint
1844
1870
  */
@@ -3910,6 +3910,76 @@ class SDKApi extends BaseAPI {
3910
3910
  return yield response.value();
3911
3911
  });
3912
3912
  }
3913
+ /**
3914
+ * Fetches a single WaaS wallet and returns it with the same payload structure as the users endpoint. This endpoint returns user information along with verified credentials filtered to only include the specified WaaS wallet.
3915
+ * Fetch a single WaaS wallet with verified credentials
3916
+ */
3917
+ getWaasWalletWithVerifiedCredentialsRaw(requestParameters, initOverrides) {
3918
+ return __awaiter(this, void 0, void 0, function* () {
3919
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
3920
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasWalletWithVerifiedCredentials.');
3921
+ }
3922
+ if (requestParameters.walletAddress === null || requestParameters.walletAddress === undefined) {
3923
+ throw new RequiredError('walletAddress', 'Required parameter requestParameters.walletAddress was null or undefined when calling getWaasWalletWithVerifiedCredentials.');
3924
+ }
3925
+ const queryParameters = {};
3926
+ const headerParameters = {};
3927
+ if (this.configuration && this.configuration.accessToken) {
3928
+ const token = this.configuration.accessToken;
3929
+ const tokenString = yield token("bearerAuth", []);
3930
+ if (tokenString) {
3931
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3932
+ }
3933
+ }
3934
+ const response = yield this.request({
3935
+ path: `/sdk/{environmentId}/waas/byWalletAddress/{walletAddress}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletAddress"}}`, encodeURIComponent(String(requestParameters.walletAddress))),
3936
+ method: 'GET',
3937
+ headers: headerParameters,
3938
+ query: queryParameters,
3939
+ }, initOverrides);
3940
+ return new JSONApiResponse(response, (jsonValue) => SdkUserFromJSON(jsonValue));
3941
+ });
3942
+ }
3943
+ /**
3944
+ * Fetches a single WaaS wallet and returns it with the same payload structure as the users endpoint. This endpoint returns user information along with verified credentials filtered to only include the specified WaaS wallet.
3945
+ * Fetch a single WaaS wallet with verified credentials
3946
+ */
3947
+ getWaasWalletWithVerifiedCredentials(requestParameters, initOverrides) {
3948
+ return __awaiter(this, void 0, void 0, function* () {
3949
+ const response = yield this.getWaasWalletWithVerifiedCredentialsRaw(requestParameters, initOverrides);
3950
+ return yield response.value();
3951
+ });
3952
+ }
3953
+ /**
3954
+ * Options call for this endpoint
3955
+ */
3956
+ getWaasWalletWithVerifiedCredentialsOptionsRaw(requestParameters, initOverrides) {
3957
+ return __awaiter(this, void 0, void 0, function* () {
3958
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
3959
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasWalletWithVerifiedCredentialsOptions.');
3960
+ }
3961
+ if (requestParameters.walletAddress === null || requestParameters.walletAddress === undefined) {
3962
+ throw new RequiredError('walletAddress', 'Required parameter requestParameters.walletAddress was null or undefined when calling getWaasWalletWithVerifiedCredentialsOptions.');
3963
+ }
3964
+ const queryParameters = {};
3965
+ const headerParameters = {};
3966
+ const response = yield this.request({
3967
+ path: `/sdk/{environmentId}/waas/byWalletAddress/{walletAddress}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletAddress"}}`, encodeURIComponent(String(requestParameters.walletAddress))),
3968
+ method: 'OPTIONS',
3969
+ headers: headerParameters,
3970
+ query: queryParameters,
3971
+ }, initOverrides);
3972
+ return new VoidApiResponse(response);
3973
+ });
3974
+ }
3975
+ /**
3976
+ * Options call for this endpoint
3977
+ */
3978
+ getWaasWalletWithVerifiedCredentialsOptions(requestParameters, initOverrides) {
3979
+ return __awaiter(this, void 0, void 0, function* () {
3980
+ yield this.getWaasWalletWithVerifiedCredentialsOptionsRaw(requestParameters, initOverrides);
3981
+ });
3982
+ }
3913
3983
  /**
3914
3984
  * Options call for this endpoint
3915
3985
  */
@@ -102,6 +102,7 @@ var WaasPolicyDeleteRequest = require('../models/WaasPolicyDeleteRequest.cjs');
102
102
  var WaasPolicyResponse = require('../models/WaasPolicyResponse.cjs');
103
103
  require('../models/WaasPolicyRuleType.cjs');
104
104
  var WaasPolicyUpdateRequest = require('../models/WaasPolicyUpdateRequest.cjs');
105
+ var WaasVerifyApiKeyResponse = require('../models/WaasVerifyApiKeyResponse.cjs');
105
106
  var WaasWalletResponse = require('../models/WaasWalletResponse.cjs');
106
107
 
107
108
  /* tslint:disable */
@@ -596,6 +597,43 @@ class WaasApi extends runtime.BaseAPI {
596
597
  return yield response.value();
597
598
  });
598
599
  }
600
+ /**
601
+ * Simple endpoint to verify if the provided API key (DYN_API_TOKEN) is valid and has access to the specified environment. Returns true if the token is verified, false otherwise.
602
+ * Verify if an API key is valid for a specific environment
603
+ */
604
+ verifyApiKeyRaw(requestParameters, initOverrides) {
605
+ return _tslib.__awaiter(this, void 0, void 0, function* () {
606
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
607
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling verifyApiKey.');
608
+ }
609
+ const queryParameters = {};
610
+ const headerParameters = {};
611
+ if (this.configuration && this.configuration.accessToken) {
612
+ const token = this.configuration.accessToken;
613
+ const tokenString = yield token("bearerAuth", []);
614
+ if (tokenString) {
615
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
616
+ }
617
+ }
618
+ const response = yield this.request({
619
+ path: `/environments/{environmentId}/waas/verifyApiKey`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
620
+ method: 'POST',
621
+ headers: headerParameters,
622
+ query: queryParameters,
623
+ }, initOverrides);
624
+ return new runtime.JSONApiResponse(response, (jsonValue) => WaasVerifyApiKeyResponse.WaasVerifyApiKeyResponseFromJSON(jsonValue));
625
+ });
626
+ }
627
+ /**
628
+ * Simple endpoint to verify if the provided API key (DYN_API_TOKEN) is valid and has access to the specified environment. Returns true if the token is verified, false otherwise.
629
+ * Verify if an API key is valid for a specific environment
630
+ */
631
+ verifyApiKey(requestParameters, initOverrides) {
632
+ return _tslib.__awaiter(this, void 0, void 0, function* () {
633
+ const response = yield this.verifyApiKeyRaw(requestParameters, initOverrides);
634
+ return yield response.value();
635
+ });
636
+ }
599
637
  }
600
638
 
601
639
  exports.WaasApi = WaasApi;
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { CreateUserWaasWalletsRequest, DelegatedAccessEncryptionPublicKeyResponse, DelegatedAccessEncryptionPublicKeysUnifiedResponse, OpenRoomResponse, RevokeDelegatedAccessRequest, RevokeDelegatedAccessResponse, UserResponse, WaasAuthenticateResponse, WaasDelegateSignMessageRequest, WaasDelegationCredentialsRequest, WaasDelegationCredentialsResponse, WaasPolicyCreateRequest, WaasPolicyDeleteRequest, WaasPolicyResponse, WaasPolicyUpdateRequest, WaasWalletResponse } from '../models';
13
+ import { CreateUserWaasWalletsRequest, DelegatedAccessEncryptionPublicKeyResponse, DelegatedAccessEncryptionPublicKeysUnifiedResponse, OpenRoomResponse, RevokeDelegatedAccessRequest, RevokeDelegatedAccessResponse, UserResponse, WaasAuthenticateResponse, WaasDelegateSignMessageRequest, WaasDelegationCredentialsRequest, WaasDelegationCredentialsResponse, WaasPolicyCreateRequest, WaasPolicyDeleteRequest, WaasPolicyResponse, WaasPolicyUpdateRequest, WaasVerifyApiKeyResponse, WaasWalletResponse } from '../models';
14
14
  export interface AuthenticateWaasRequest {
15
15
  environmentId: string;
16
16
  }
@@ -68,6 +68,9 @@ export interface UpdateWaasPolicyRequest {
68
68
  environmentId: string;
69
69
  waasPolicyUpdateRequest: WaasPolicyUpdateRequest;
70
70
  }
71
+ export interface VerifyApiKeyRequest {
72
+ environmentId: string;
73
+ }
71
74
  /**
72
75
  *
73
76
  */
@@ -204,4 +207,14 @@ export declare class WaasApi extends runtime.BaseAPI {
204
207
  * Update the WAAS policy for an environment by ruleId
205
208
  */
206
209
  updateWaasPolicy(requestParameters: UpdateWaasPolicyRequest, initOverrides?: RequestInit): Promise<WaasPolicyResponse>;
210
+ /**
211
+ * Simple endpoint to verify if the provided API key (DYN_API_TOKEN) is valid and has access to the specified environment. Returns true if the token is verified, false otherwise.
212
+ * Verify if an API key is valid for a specific environment
213
+ */
214
+ verifyApiKeyRaw(requestParameters: VerifyApiKeyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasVerifyApiKeyResponse>>;
215
+ /**
216
+ * Simple endpoint to verify if the provided API key (DYN_API_TOKEN) is valid and has access to the specified environment. Returns true if the token is verified, false otherwise.
217
+ * Verify if an API key is valid for a specific environment
218
+ */
219
+ verifyApiKey(requestParameters: VerifyApiKeyRequest, initOverrides?: RequestInit): Promise<WaasVerifyApiKeyResponse>;
207
220
  }
@@ -98,6 +98,7 @@ import { WaasPolicyDeleteRequestToJSON } from '../models/WaasPolicyDeleteRequest
98
98
  import { WaasPolicyResponseFromJSON } from '../models/WaasPolicyResponse.js';
99
99
  import '../models/WaasPolicyRuleType.js';
100
100
  import { WaasPolicyUpdateRequestToJSON } from '../models/WaasPolicyUpdateRequest.js';
101
+ import { WaasVerifyApiKeyResponseFromJSON } from '../models/WaasVerifyApiKeyResponse.js';
101
102
  import { WaasWalletResponseFromJSON } from '../models/WaasWalletResponse.js';
102
103
 
103
104
  /* tslint:disable */
@@ -592,6 +593,43 @@ class WaasApi extends BaseAPI {
592
593
  return yield response.value();
593
594
  });
594
595
  }
596
+ /**
597
+ * Simple endpoint to verify if the provided API key (DYN_API_TOKEN) is valid and has access to the specified environment. Returns true if the token is verified, false otherwise.
598
+ * Verify if an API key is valid for a specific environment
599
+ */
600
+ verifyApiKeyRaw(requestParameters, initOverrides) {
601
+ return __awaiter(this, void 0, void 0, function* () {
602
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
603
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling verifyApiKey.');
604
+ }
605
+ const queryParameters = {};
606
+ const headerParameters = {};
607
+ if (this.configuration && this.configuration.accessToken) {
608
+ const token = this.configuration.accessToken;
609
+ const tokenString = yield token("bearerAuth", []);
610
+ if (tokenString) {
611
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
612
+ }
613
+ }
614
+ const response = yield this.request({
615
+ path: `/environments/{environmentId}/waas/verifyApiKey`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
616
+ method: 'POST',
617
+ headers: headerParameters,
618
+ query: queryParameters,
619
+ }, initOverrides);
620
+ return new JSONApiResponse(response, (jsonValue) => WaasVerifyApiKeyResponseFromJSON(jsonValue));
621
+ });
622
+ }
623
+ /**
624
+ * Simple endpoint to verify if the provided API key (DYN_API_TOKEN) is valid and has access to the specified environment. Returns true if the token is verified, false otherwise.
625
+ * Verify if an API key is valid for a specific environment
626
+ */
627
+ verifyApiKey(requestParameters, initOverrides) {
628
+ return __awaiter(this, void 0, void 0, function* () {
629
+ const response = yield this.verifyApiKeyRaw(requestParameters, initOverrides);
630
+ return yield response.value();
631
+ });
632
+ }
595
633
  }
596
634
 
597
635
  export { WaasApi };
package/src/index.cjs CHANGED
@@ -571,6 +571,8 @@ var WaasPolicyRule = require('./models/WaasPolicyRule.cjs');
571
571
  var WaasPolicyRuleType = require('./models/WaasPolicyRuleType.cjs');
572
572
  var WaasPolicyRuleValueLimit = require('./models/WaasPolicyRuleValueLimit.cjs');
573
573
  var WaasPolicyUpdateRequest = require('./models/WaasPolicyUpdateRequest.cjs');
574
+ var WaasVerifyApiKeyErrorResponse = require('./models/WaasVerifyApiKeyErrorResponse.cjs');
575
+ var WaasVerifyApiKeyResponse = require('./models/WaasVerifyApiKeyResponse.cjs');
574
576
  var WaasWallet = require('./models/WaasWallet.cjs');
575
577
  var WaasWalletProperties = require('./models/WaasWalletProperties.cjs');
576
578
  var WaasWalletResponse = require('./models/WaasWalletResponse.cjs');
@@ -2575,6 +2577,12 @@ exports.WaasPolicyRuleValueLimitToJSON = WaasPolicyRuleValueLimit.WaasPolicyRule
2575
2577
  exports.WaasPolicyUpdateRequestFromJSON = WaasPolicyUpdateRequest.WaasPolicyUpdateRequestFromJSON;
2576
2578
  exports.WaasPolicyUpdateRequestFromJSONTyped = WaasPolicyUpdateRequest.WaasPolicyUpdateRequestFromJSONTyped;
2577
2579
  exports.WaasPolicyUpdateRequestToJSON = WaasPolicyUpdateRequest.WaasPolicyUpdateRequestToJSON;
2580
+ exports.WaasVerifyApiKeyErrorResponseFromJSON = WaasVerifyApiKeyErrorResponse.WaasVerifyApiKeyErrorResponseFromJSON;
2581
+ exports.WaasVerifyApiKeyErrorResponseFromJSONTyped = WaasVerifyApiKeyErrorResponse.WaasVerifyApiKeyErrorResponseFromJSONTyped;
2582
+ exports.WaasVerifyApiKeyErrorResponseToJSON = WaasVerifyApiKeyErrorResponse.WaasVerifyApiKeyErrorResponseToJSON;
2583
+ exports.WaasVerifyApiKeyResponseFromJSON = WaasVerifyApiKeyResponse.WaasVerifyApiKeyResponseFromJSON;
2584
+ exports.WaasVerifyApiKeyResponseFromJSONTyped = WaasVerifyApiKeyResponse.WaasVerifyApiKeyResponseFromJSONTyped;
2585
+ exports.WaasVerifyApiKeyResponseToJSON = WaasVerifyApiKeyResponse.WaasVerifyApiKeyResponseToJSON;
2578
2586
  exports.WaasWalletFromJSON = WaasWallet.WaasWalletFromJSON;
2579
2587
  exports.WaasWalletFromJSONTyped = WaasWallet.WaasWalletFromJSONTyped;
2580
2588
  exports.WaasWalletToJSON = WaasWallet.WaasWalletToJSON;
package/src/index.js CHANGED
@@ -567,6 +567,8 @@ export { WaasPolicyRuleFromJSON, WaasPolicyRuleFromJSONTyped, WaasPolicyRuleToJS
567
567
  export { WaasPolicyRuleType, WaasPolicyRuleTypeFromJSON, WaasPolicyRuleTypeFromJSONTyped, WaasPolicyRuleTypeToJSON } from './models/WaasPolicyRuleType.js';
568
568
  export { WaasPolicyRuleValueLimitFromJSON, WaasPolicyRuleValueLimitFromJSONTyped, WaasPolicyRuleValueLimitToJSON } from './models/WaasPolicyRuleValueLimit.js';
569
569
  export { WaasPolicyUpdateRequestFromJSON, WaasPolicyUpdateRequestFromJSONTyped, WaasPolicyUpdateRequestToJSON } from './models/WaasPolicyUpdateRequest.js';
570
+ export { WaasVerifyApiKeyErrorResponseFromJSON, WaasVerifyApiKeyErrorResponseFromJSONTyped, WaasVerifyApiKeyErrorResponseToJSON } from './models/WaasVerifyApiKeyErrorResponse.js';
571
+ export { WaasVerifyApiKeyResponseFromJSON, WaasVerifyApiKeyResponseFromJSONTyped, WaasVerifyApiKeyResponseToJSON } from './models/WaasVerifyApiKeyResponse.js';
570
572
  export { WaasWalletFromJSON, WaasWalletFromJSONTyped, WaasWalletToJSON } from './models/WaasWallet.js';
571
573
  export { WaasWalletPropertiesFromJSON, WaasWalletPropertiesFromJSONTyped, WaasWalletPropertiesToJSON } from './models/WaasWalletProperties.js';
572
574
  export { WaasWalletResponseFromJSON, WaasWalletResponseFromJSONTyped, WaasWalletResponseToJSON } from './models/WaasWalletResponse.js';
@@ -0,0 +1,45 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ function WaasVerifyApiKeyErrorResponseFromJSON(json) {
19
+ return WaasVerifyApiKeyErrorResponseFromJSONTyped(json);
20
+ }
21
+ function WaasVerifyApiKeyErrorResponseFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'message': json['message'],
27
+ 'verified': json['verified'],
28
+ };
29
+ }
30
+ function WaasVerifyApiKeyErrorResponseToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'message': value.message,
39
+ 'verified': value.verified,
40
+ };
41
+ }
42
+
43
+ exports.WaasVerifyApiKeyErrorResponseFromJSON = WaasVerifyApiKeyErrorResponseFromJSON;
44
+ exports.WaasVerifyApiKeyErrorResponseFromJSONTyped = WaasVerifyApiKeyErrorResponseFromJSONTyped;
45
+ exports.WaasVerifyApiKeyErrorResponseToJSON = WaasVerifyApiKeyErrorResponseToJSON;
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface WaasVerifyApiKeyErrorResponse
16
+ */
17
+ export interface WaasVerifyApiKeyErrorResponse {
18
+ /**
19
+ * Error message describing why verification failed
20
+ * @type {string}
21
+ * @memberof WaasVerifyApiKeyErrorResponse
22
+ */
23
+ message: string;
24
+ /**
25
+ * Always false for error responses
26
+ * @type {boolean}
27
+ * @memberof WaasVerifyApiKeyErrorResponse
28
+ */
29
+ verified: boolean;
30
+ }
31
+ export declare function WaasVerifyApiKeyErrorResponseFromJSON(json: any): WaasVerifyApiKeyErrorResponse;
32
+ export declare function WaasVerifyApiKeyErrorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasVerifyApiKeyErrorResponse;
33
+ export declare function WaasVerifyApiKeyErrorResponseToJSON(value?: WaasVerifyApiKeyErrorResponse | null): any;
@@ -0,0 +1,39 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ function WaasVerifyApiKeyErrorResponseFromJSON(json) {
15
+ return WaasVerifyApiKeyErrorResponseFromJSONTyped(json);
16
+ }
17
+ function WaasVerifyApiKeyErrorResponseFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'message': json['message'],
23
+ 'verified': json['verified'],
24
+ };
25
+ }
26
+ function WaasVerifyApiKeyErrorResponseToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'message': value.message,
35
+ 'verified': value.verified,
36
+ };
37
+ }
38
+
39
+ export { WaasVerifyApiKeyErrorResponseFromJSON, WaasVerifyApiKeyErrorResponseFromJSONTyped, WaasVerifyApiKeyErrorResponseToJSON };
@@ -0,0 +1,45 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ function WaasVerifyApiKeyResponseFromJSON(json) {
19
+ return WaasVerifyApiKeyResponseFromJSONTyped(json);
20
+ }
21
+ function WaasVerifyApiKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'environmentId': json['environmentId'],
27
+ 'verified': json['verified'],
28
+ };
29
+ }
30
+ function WaasVerifyApiKeyResponseToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'environmentId': value.environmentId,
39
+ 'verified': value.verified,
40
+ };
41
+ }
42
+
43
+ exports.WaasVerifyApiKeyResponseFromJSON = WaasVerifyApiKeyResponseFromJSON;
44
+ exports.WaasVerifyApiKeyResponseFromJSONTyped = WaasVerifyApiKeyResponseFromJSONTyped;
45
+ exports.WaasVerifyApiKeyResponseToJSON = WaasVerifyApiKeyResponseToJSON;
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface WaasVerifyApiKeyResponse
16
+ */
17
+ export interface WaasVerifyApiKeyResponse {
18
+ /**
19
+ * The environment ID for which the API key was verified
20
+ * @type {string}
21
+ * @memberof WaasVerifyApiKeyResponse
22
+ */
23
+ environmentId: string;
24
+ /**
25
+ * Indicates whether the API key is valid and has access to the environment
26
+ * @type {boolean}
27
+ * @memberof WaasVerifyApiKeyResponse
28
+ */
29
+ verified: boolean;
30
+ }
31
+ export declare function WaasVerifyApiKeyResponseFromJSON(json: any): WaasVerifyApiKeyResponse;
32
+ export declare function WaasVerifyApiKeyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasVerifyApiKeyResponse;
33
+ export declare function WaasVerifyApiKeyResponseToJSON(value?: WaasVerifyApiKeyResponse | null): any;
@@ -0,0 +1,39 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ function WaasVerifyApiKeyResponseFromJSON(json) {
15
+ return WaasVerifyApiKeyResponseFromJSONTyped(json);
16
+ }
17
+ function WaasVerifyApiKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'environmentId': json['environmentId'],
23
+ 'verified': json['verified'],
24
+ };
25
+ }
26
+ function WaasVerifyApiKeyResponseToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'environmentId': value.environmentId,
35
+ 'verified': value.verified,
36
+ };
37
+ }
38
+
39
+ export { WaasVerifyApiKeyResponseFromJSON, WaasVerifyApiKeyResponseFromJSONTyped, WaasVerifyApiKeyResponseToJSON };
@@ -530,6 +530,8 @@ export * from './WaasPolicyRule';
530
530
  export * from './WaasPolicyRuleType';
531
531
  export * from './WaasPolicyRuleValueLimit';
532
532
  export * from './WaasPolicyUpdateRequest';
533
+ export * from './WaasVerifyApiKeyErrorResponse';
534
+ export * from './WaasVerifyApiKeyResponse';
533
535
  export * from './WaasWallet';
534
536
  export * from './WaasWalletProperties';
535
537
  export * from './WaasWalletResponse';