@dynamic-labs/sdk-api 0.0.864 → 0.0.869

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 (127) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AllowlistsApi.cjs +26 -6
  3. package/src/apis/AllowlistsApi.d.ts +26 -6
  4. package/src/apis/AllowlistsApi.js +26 -6
  5. package/src/apis/AnalyticsApi.cjs +12 -0
  6. package/src/apis/AnalyticsApi.d.ts +12 -0
  7. package/src/apis/AnalyticsApi.js +12 -0
  8. package/src/apis/ChainalysisApi.cjs +6 -0
  9. package/src/apis/ChainalysisApi.d.ts +6 -0
  10. package/src/apis/ChainalysisApi.js +6 -0
  11. package/src/apis/ChainsApi.cjs +4 -2
  12. package/src/apis/ChainsApi.d.ts +4 -2
  13. package/src/apis/ChainsApi.js +4 -2
  14. package/src/apis/CustomFieldsApi.cjs +14 -4
  15. package/src/apis/CustomFieldsApi.d.ts +14 -4
  16. package/src/apis/CustomFieldsApi.js +14 -4
  17. package/src/apis/CustomHostnamesApi.cjs +10 -4
  18. package/src/apis/CustomHostnamesApi.d.ts +10 -4
  19. package/src/apis/CustomHostnamesApi.js +10 -4
  20. package/src/apis/CustomNetworksApi.cjs +10 -0
  21. package/src/apis/CustomNetworksApi.d.ts +10 -0
  22. package/src/apis/CustomNetworksApi.js +10 -0
  23. package/src/apis/DeeplinkUrlsApi.cjs +12 -6
  24. package/src/apis/DeeplinkUrlsApi.d.ts +12 -6
  25. package/src/apis/DeeplinkUrlsApi.js +12 -6
  26. package/src/apis/EnvironmentsApi.cjs +108 -10
  27. package/src/apis/EnvironmentsApi.d.ts +49 -11
  28. package/src/apis/EnvironmentsApi.js +108 -10
  29. package/src/apis/EventsApi.cjs +8 -2
  30. package/src/apis/EventsApi.d.ts +8 -2
  31. package/src/apis/EventsApi.js +8 -2
  32. package/src/apis/ExportsApi.cjs +8 -0
  33. package/src/apis/ExportsApi.d.ts +8 -0
  34. package/src/apis/ExportsApi.js +8 -0
  35. package/src/apis/ExternalJwtApi.cjs +4 -2
  36. package/src/apis/ExternalJwtApi.d.ts +4 -2
  37. package/src/apis/ExternalJwtApi.js +4 -2
  38. package/src/apis/GatesApi.cjs +16 -2
  39. package/src/apis/GatesApi.d.ts +16 -2
  40. package/src/apis/GatesApi.js +16 -2
  41. package/src/apis/GlobalWalletAccessControlApi.cjs +22 -8
  42. package/src/apis/GlobalWalletAccessControlApi.d.ts +22 -8
  43. package/src/apis/GlobalWalletAccessControlApi.js +22 -8
  44. package/src/apis/GlobalWalletConnectionsApi.cjs +4 -2
  45. package/src/apis/GlobalWalletConnectionsApi.d.ts +4 -2
  46. package/src/apis/GlobalWalletConnectionsApi.js +4 -2
  47. package/src/apis/GlobalWalletsApi.cjs +18 -8
  48. package/src/apis/GlobalWalletsApi.d.ts +18 -8
  49. package/src/apis/GlobalWalletsApi.js +18 -8
  50. package/src/apis/InvitesApi.cjs +16 -6
  51. package/src/apis/InvitesApi.d.ts +16 -6
  52. package/src/apis/InvitesApi.js +16 -6
  53. package/src/apis/MembersApi.cjs +16 -8
  54. package/src/apis/MembersApi.d.ts +16 -8
  55. package/src/apis/MembersApi.js +16 -8
  56. package/src/apis/MfaApi.cjs +8 -4
  57. package/src/apis/MfaApi.d.ts +8 -4
  58. package/src/apis/MfaApi.js +8 -4
  59. package/src/apis/MfaSettingsApi.cjs +6 -0
  60. package/src/apis/MfaSettingsApi.d.ts +6 -0
  61. package/src/apis/MfaSettingsApi.js +6 -0
  62. package/src/apis/NameServicesApi.cjs +22 -10
  63. package/src/apis/NameServicesApi.d.ts +22 -10
  64. package/src/apis/NameServicesApi.js +22 -10
  65. package/src/apis/OrganizationsApi.cjs +34 -10
  66. package/src/apis/OrganizationsApi.d.ts +34 -10
  67. package/src/apis/OrganizationsApi.js +34 -10
  68. package/src/apis/OriginsApi.cjs +12 -6
  69. package/src/apis/OriginsApi.d.ts +12 -6
  70. package/src/apis/OriginsApi.js +12 -6
  71. package/src/apis/ProjectsApi.cjs +18 -8
  72. package/src/apis/ProjectsApi.d.ts +18 -8
  73. package/src/apis/ProjectsApi.js +18 -8
  74. package/src/apis/SDKApi.cjs +554 -162
  75. package/src/apis/SDKApi.d.ts +423 -163
  76. package/src/apis/SDKApi.js +554 -162
  77. package/src/apis/SDKViewsApi.cjs +12 -6
  78. package/src/apis/SDKViewsApi.d.ts +12 -6
  79. package/src/apis/SDKViewsApi.js +12 -6
  80. package/src/apis/SessionsApi.cjs +4 -0
  81. package/src/apis/SessionsApi.d.ts +4 -0
  82. package/src/apis/SessionsApi.js +4 -0
  83. package/src/apis/SettingsApi.cjs +32 -4
  84. package/src/apis/SettingsApi.d.ts +32 -4
  85. package/src/apis/SettingsApi.js +32 -4
  86. package/src/apis/TestAccountApi.cjs +10 -4
  87. package/src/apis/TestAccountApi.d.ts +10 -4
  88. package/src/apis/TestAccountApi.js +10 -4
  89. package/src/apis/TokensApi.cjs +12 -6
  90. package/src/apis/TokensApi.d.ts +12 -6
  91. package/src/apis/TokensApi.js +12 -6
  92. package/src/apis/UserApiTokensApi.cjs +12 -6
  93. package/src/apis/UserApiTokensApi.d.ts +12 -6
  94. package/src/apis/UserApiTokensApi.js +12 -6
  95. package/src/apis/UsersApi.cjs +28 -4
  96. package/src/apis/UsersApi.d.ts +28 -4
  97. package/src/apis/UsersApi.js +28 -4
  98. package/src/apis/VisitsApi.cjs +2 -0
  99. package/src/apis/VisitsApi.d.ts +2 -0
  100. package/src/apis/VisitsApi.js +2 -0
  101. package/src/apis/WaasApi.cjs +36 -8
  102. package/src/apis/WaasApi.d.ts +35 -7
  103. package/src/apis/WaasApi.js +36 -8
  104. package/src/apis/WalletConnectApi.cjs +2 -0
  105. package/src/apis/WalletConnectApi.d.ts +2 -0
  106. package/src/apis/WalletConnectApi.js +2 -0
  107. package/src/apis/WalletsApi.cjs +20 -6
  108. package/src/apis/WalletsApi.d.ts +20 -6
  109. package/src/apis/WalletsApi.js +20 -6
  110. package/src/apis/WebhooksApi.cjs +32 -16
  111. package/src/apis/WebhooksApi.d.ts +32 -16
  112. package/src/apis/WebhooksApi.js +32 -16
  113. package/src/index.cjs +4 -0
  114. package/src/index.js +1 -0
  115. package/src/models/SignMessageBtcTransaction.cjs +5 -13
  116. package/src/models/SignMessageBtcTransaction.d.ts +8 -2
  117. package/src/models/SignMessageBtcTransaction.js +5 -13
  118. package/src/models/SmsVerificationVerifyRequest.cjs +3 -0
  119. package/src/models/SmsVerificationVerifyRequest.d.ts +7 -0
  120. package/src/models/SmsVerificationVerifyRequest.js +3 -0
  121. package/src/models/UserFilterableFieldsEnum.cjs +1 -0
  122. package/src/models/UserFilterableFieldsEnum.d.ts +2 -1
  123. package/src/models/UserFilterableFieldsEnum.js +1 -0
  124. package/src/models/WalletSanctionsResponse.cjs +37 -0
  125. package/src/models/WalletSanctionsResponse.d.ts +40 -0
  126. package/src/models/WalletSanctionsResponse.js +31 -0
  127. package/src/models/index.d.ts +1 -0
@@ -10,7 +10,12 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { EnvironmentVisitorsResponse, EnvironmentsResponse, KeyResponse, ProjectEnvironment, ProjectSettings } from '../models';
13
+ import { ChainEnum, EnvironmentVisitorsResponse, EnvironmentsResponse, KeyResponse, ProjectEnvironment, ProjectSettings, WaasVerifyApiKeyResponse, WalletSanctionsResponse } from '../models';
14
+ export interface CheckWalletSanctionsByEnvironmentIdRequest {
15
+ environmentId: string;
16
+ walletAddress: string;
17
+ chain: ChainEnum;
18
+ }
14
19
  export interface GetEnvironmentByIdRequest {
15
20
  environmentId: string;
16
21
  }
@@ -27,48 +32,81 @@ export interface UpdateProjectSettingsRequest {
27
32
  environmentId: string;
28
33
  projectSettings?: ProjectSettings;
29
34
  }
35
+ export interface VerifyApiKeyRequest {
36
+ environmentId: string;
37
+ }
30
38
  /**
31
39
  *
32
40
  */
33
41
  export declare class EnvironmentsApi extends runtime.BaseAPI {
34
42
  /**
35
- * Find an environment by ID
43
+ * Check if a wallet address is sanctioned using Chainalysis. Returns whether the wallet is blocked or not.
44
+ * Check if a wallet address is sanctioned
45
+ */
46
+ checkWalletSanctionsByEnvironmentIdRaw(requestParameters: CheckWalletSanctionsByEnvironmentIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WalletSanctionsResponse>>;
47
+ /**
48
+ * Check if a wallet address is sanctioned using Chainalysis. Returns whether the wallet is blocked or not.
49
+ * Check if a wallet address is sanctioned
50
+ */
51
+ checkWalletSanctionsByEnvironmentId(requestParameters: CheckWalletSanctionsByEnvironmentIdRequest, initOverrides?: RequestInit): Promise<WalletSanctionsResponse>;
52
+ /**
53
+ * Returns a single environment by its unique identifier.
54
+ * Get an environment by ID
36
55
  */
37
56
  getEnvironmentByIdRaw(requestParameters: GetEnvironmentByIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<ProjectEnvironment>>;
38
57
  /**
39
- * Find an environment by ID
58
+ * Returns a single environment by its unique identifier.
59
+ * Get an environment by ID
40
60
  */
41
61
  getEnvironmentById(requestParameters: GetEnvironmentByIdRequest, initOverrides?: RequestInit): Promise<ProjectEnvironment>;
42
62
  /**
43
- * Get Live and Sandbox environments by projectId
63
+ * Returns the environments for the specified project.
64
+ * Get environments for a project
44
65
  */
45
66
  getEnvironmentsByProjectIdRaw(requestParameters: GetEnvironmentsByProjectIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<EnvironmentsResponse>>;
46
67
  /**
47
- * Get Live and Sandbox environments by projectId
68
+ * Returns the environments for the specified project.
69
+ * Get environments for a project
48
70
  */
49
71
  getEnvironmentsByProjectId(requestParameters: GetEnvironmentsByProjectIdRequest, initOverrides?: RequestInit): Promise<EnvironmentsResponse>;
50
72
  /**
51
- * Get keys for an environment given environmentId
73
+ * Returns the API keys for the specified environment.
74
+ * Get API keys for the environment
52
75
  */
53
76
  getKeysForEnvironmentRaw(requestParameters: GetKeysForEnvironmentRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<KeyResponse>>;
54
77
  /**
55
- * Get keys for an environment given environmentId
78
+ * Returns the API keys for the specified environment.
79
+ * Get API keys for the environment
56
80
  */
57
81
  getKeysForEnvironment(requestParameters: GetKeysForEnvironmentRequest, initOverrides?: RequestInit): Promise<KeyResponse>;
58
82
  /**
59
- * Get the unique number of visitors for an environment by environment ID
83
+ * Returns visitor statistics for the specified environment.
84
+ * Get visitor statistics for the environment
60
85
  */
61
86
  getVisitorsCountByEnvironmentIdRaw(requestParameters: GetVisitorsCountByEnvironmentIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<EnvironmentVisitorsResponse>>;
62
87
  /**
63
- * Get the unique number of visitors for an environment by environment ID
88
+ * Returns visitor statistics for the specified environment.
89
+ * Get visitor statistics for the environment
64
90
  */
65
91
  getVisitorsCountByEnvironmentId(requestParameters: GetVisitorsCountByEnvironmentIdRequest, initOverrides?: RequestInit): Promise<EnvironmentVisitorsResponse>;
66
92
  /**
67
- * Updates the environment settings
93
+ * Updates the settings for the specified environment.
94
+ * Update the environment settings
68
95
  */
69
96
  updateProjectSettingsRaw(requestParameters: UpdateProjectSettingsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<ProjectSettings>>;
70
97
  /**
71
- * Updates the environment settings
98
+ * Updates the settings for the specified environment.
99
+ * Update the environment settings
72
100
  */
73
101
  updateProjectSettings(requestParameters: UpdateProjectSettingsRequest, initOverrides?: RequestInit): Promise<ProjectSettings>;
102
+ /**
103
+ * 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.
104
+ * Verify if an API key is valid for a specific environment
105
+ */
106
+ verifyApiKeyRaw(requestParameters: VerifyApiKeyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasVerifyApiKeyResponse>>;
107
+ /**
108
+ * 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.
109
+ * Verify if an API key is valid for a specific environment
110
+ */
111
+ verifyApiKey(requestParameters: VerifyApiKeyRequest, initOverrides?: RequestInit): Promise<WaasVerifyApiKeyResponse>;
74
112
  }
@@ -97,6 +97,8 @@ import '../models/WaasDelegatedAccessEncryptionPublicKeyType.js';
97
97
  import '../models/WaasDelegationCredentialsResponse.js';
98
98
  import '../models/WaasPolicyConstraintCondition.js';
99
99
  import '../models/WaasPolicyRuleType.js';
100
+ import { WaasVerifyApiKeyResponseFromJSON } from '../models/WaasVerifyApiKeyResponse.js';
101
+ import { WalletSanctionsResponseFromJSON } from '../models/WalletSanctionsResponse.js';
100
102
  import '../models/WalletTransactionType.js';
101
103
 
102
104
  /* tslint:disable */
@@ -105,7 +107,57 @@ import '../models/WalletTransactionType.js';
105
107
  */
106
108
  class EnvironmentsApi extends BaseAPI {
107
109
  /**
108
- * Find an environment by ID
110
+ * Check if a wallet address is sanctioned using Chainalysis. Returns whether the wallet is blocked or not.
111
+ * Check if a wallet address is sanctioned
112
+ */
113
+ checkWalletSanctionsByEnvironmentIdRaw(requestParameters, initOverrides) {
114
+ return __awaiter(this, void 0, void 0, function* () {
115
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
116
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling checkWalletSanctionsByEnvironmentId.');
117
+ }
118
+ if (requestParameters.walletAddress === null || requestParameters.walletAddress === undefined) {
119
+ throw new RequiredError('walletAddress', 'Required parameter requestParameters.walletAddress was null or undefined when calling checkWalletSanctionsByEnvironmentId.');
120
+ }
121
+ if (requestParameters.chain === null || requestParameters.chain === undefined) {
122
+ throw new RequiredError('chain', 'Required parameter requestParameters.chain was null or undefined when calling checkWalletSanctionsByEnvironmentId.');
123
+ }
124
+ const queryParameters = {};
125
+ if (requestParameters.walletAddress !== undefined) {
126
+ queryParameters['walletAddress'] = requestParameters.walletAddress;
127
+ }
128
+ if (requestParameters.chain !== undefined) {
129
+ queryParameters['chain'] = requestParameters.chain;
130
+ }
131
+ const headerParameters = {};
132
+ if (this.configuration && this.configuration.accessToken) {
133
+ const token = this.configuration.accessToken;
134
+ const tokenString = yield token("bearerAuth", []);
135
+ if (tokenString) {
136
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
137
+ }
138
+ }
139
+ const response = yield this.request({
140
+ path: `/environments/{environmentId}/wallet/sanctions`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
141
+ method: 'GET',
142
+ headers: headerParameters,
143
+ query: queryParameters,
144
+ }, initOverrides);
145
+ return new JSONApiResponse(response, (jsonValue) => WalletSanctionsResponseFromJSON(jsonValue));
146
+ });
147
+ }
148
+ /**
149
+ * Check if a wallet address is sanctioned using Chainalysis. Returns whether the wallet is blocked or not.
150
+ * Check if a wallet address is sanctioned
151
+ */
152
+ checkWalletSanctionsByEnvironmentId(requestParameters, initOverrides) {
153
+ return __awaiter(this, void 0, void 0, function* () {
154
+ const response = yield this.checkWalletSanctionsByEnvironmentIdRaw(requestParameters, initOverrides);
155
+ return yield response.value();
156
+ });
157
+ }
158
+ /**
159
+ * Returns a single environment by its unique identifier.
160
+ * Get an environment by ID
109
161
  */
110
162
  getEnvironmentByIdRaw(requestParameters, initOverrides) {
111
163
  return __awaiter(this, void 0, void 0, function* () {
@@ -131,7 +183,8 @@ class EnvironmentsApi extends BaseAPI {
131
183
  });
132
184
  }
133
185
  /**
134
- * Find an environment by ID
186
+ * Returns a single environment by its unique identifier.
187
+ * Get an environment by ID
135
188
  */
136
189
  getEnvironmentById(requestParameters, initOverrides) {
137
190
  return __awaiter(this, void 0, void 0, function* () {
@@ -140,7 +193,8 @@ class EnvironmentsApi extends BaseAPI {
140
193
  });
141
194
  }
142
195
  /**
143
- * Get Live and Sandbox environments by projectId
196
+ * Returns the environments for the specified project.
197
+ * Get environments for a project
144
198
  */
145
199
  getEnvironmentsByProjectIdRaw(requestParameters, initOverrides) {
146
200
  return __awaiter(this, void 0, void 0, function* () {
@@ -166,7 +220,8 @@ class EnvironmentsApi extends BaseAPI {
166
220
  });
167
221
  }
168
222
  /**
169
- * Get Live and Sandbox environments by projectId
223
+ * Returns the environments for the specified project.
224
+ * Get environments for a project
170
225
  */
171
226
  getEnvironmentsByProjectId(requestParameters, initOverrides) {
172
227
  return __awaiter(this, void 0, void 0, function* () {
@@ -175,7 +230,8 @@ class EnvironmentsApi extends BaseAPI {
175
230
  });
176
231
  }
177
232
  /**
178
- * Get keys for an environment given environmentId
233
+ * Returns the API keys for the specified environment.
234
+ * Get API keys for the environment
179
235
  */
180
236
  getKeysForEnvironmentRaw(requestParameters, initOverrides) {
181
237
  return __awaiter(this, void 0, void 0, function* () {
@@ -201,7 +257,8 @@ class EnvironmentsApi extends BaseAPI {
201
257
  });
202
258
  }
203
259
  /**
204
- * Get keys for an environment given environmentId
260
+ * Returns the API keys for the specified environment.
261
+ * Get API keys for the environment
205
262
  */
206
263
  getKeysForEnvironment(requestParameters, initOverrides) {
207
264
  return __awaiter(this, void 0, void 0, function* () {
@@ -210,7 +267,8 @@ class EnvironmentsApi extends BaseAPI {
210
267
  });
211
268
  }
212
269
  /**
213
- * Get the unique number of visitors for an environment by environment ID
270
+ * Returns visitor statistics for the specified environment.
271
+ * Get visitor statistics for the environment
214
272
  */
215
273
  getVisitorsCountByEnvironmentIdRaw(requestParameters, initOverrides) {
216
274
  return __awaiter(this, void 0, void 0, function* () {
@@ -236,7 +294,8 @@ class EnvironmentsApi extends BaseAPI {
236
294
  });
237
295
  }
238
296
  /**
239
- * Get the unique number of visitors for an environment by environment ID
297
+ * Returns visitor statistics for the specified environment.
298
+ * Get visitor statistics for the environment
240
299
  */
241
300
  getVisitorsCountByEnvironmentId(requestParameters, initOverrides) {
242
301
  return __awaiter(this, void 0, void 0, function* () {
@@ -245,7 +304,8 @@ class EnvironmentsApi extends BaseAPI {
245
304
  });
246
305
  }
247
306
  /**
248
- * Updates the environment settings
307
+ * Updates the settings for the specified environment.
308
+ * Update the environment settings
249
309
  */
250
310
  updateProjectSettingsRaw(requestParameters, initOverrides) {
251
311
  return __awaiter(this, void 0, void 0, function* () {
@@ -273,7 +333,8 @@ class EnvironmentsApi extends BaseAPI {
273
333
  });
274
334
  }
275
335
  /**
276
- * Updates the environment settings
336
+ * Updates the settings for the specified environment.
337
+ * Update the environment settings
277
338
  */
278
339
  updateProjectSettings(requestParameters, initOverrides) {
279
340
  return __awaiter(this, void 0, void 0, function* () {
@@ -281,6 +342,43 @@ class EnvironmentsApi extends BaseAPI {
281
342
  return yield response.value();
282
343
  });
283
344
  }
345
+ /**
346
+ * 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.
347
+ * Verify if an API key is valid for a specific environment
348
+ */
349
+ verifyApiKeyRaw(requestParameters, initOverrides) {
350
+ return __awaiter(this, void 0, void 0, function* () {
351
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
352
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling verifyApiKey.');
353
+ }
354
+ const queryParameters = {};
355
+ const headerParameters = {};
356
+ if (this.configuration && this.configuration.accessToken) {
357
+ const token = this.configuration.accessToken;
358
+ const tokenString = yield token("bearerAuth", []);
359
+ if (tokenString) {
360
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
361
+ }
362
+ }
363
+ const response = yield this.request({
364
+ path: `/environments/{environmentId}/verifyApiKey`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
365
+ method: 'POST',
366
+ headers: headerParameters,
367
+ query: queryParameters,
368
+ }, initOverrides);
369
+ return new JSONApiResponse(response, (jsonValue) => WaasVerifyApiKeyResponseFromJSON(jsonValue));
370
+ });
371
+ }
372
+ /**
373
+ * 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.
374
+ * Verify if an API key is valid for a specific environment
375
+ */
376
+ verifyApiKey(requestParameters, initOverrides) {
377
+ return __awaiter(this, void 0, void 0, function* () {
378
+ const response = yield this.verifyApiKeyRaw(requestParameters, initOverrides);
379
+ return yield response.value();
380
+ });
381
+ }
284
382
  }
285
383
 
286
384
  export { EnvironmentsApi };
@@ -107,7 +107,8 @@ require('../models/WalletTransactionType.cjs');
107
107
  */
108
108
  class EventsApi extends runtime.BaseAPI {
109
109
  /**
110
- * Get environment event by id
110
+ * Returns a single event by its unique identifier.
111
+ * Get an environment event by ID
111
112
  */
112
113
  getEventByIdRaw(requestParameters, initOverrides) {
113
114
  return _tslib.__awaiter(this, void 0, void 0, function* () {
@@ -129,7 +130,8 @@ class EventsApi extends runtime.BaseAPI {
129
130
  });
130
131
  }
131
132
  /**
132
- * Get environment event by id
133
+ * Returns a single event by its unique identifier.
134
+ * Get an environment event by ID
133
135
  */
134
136
  getEventById(requestParameters, initOverrides) {
135
137
  return _tslib.__awaiter(this, void 0, void 0, function* () {
@@ -138,6 +140,7 @@ class EventsApi extends runtime.BaseAPI {
138
140
  });
139
141
  }
140
142
  /**
143
+ * Returns all available event types.
141
144
  * Get event types
142
145
  */
143
146
  getEventTypesRaw(initOverrides) {
@@ -154,6 +157,7 @@ class EventsApi extends runtime.BaseAPI {
154
157
  });
155
158
  }
156
159
  /**
160
+ * Returns all available event types.
157
161
  * Get event types
158
162
  */
159
163
  getEventTypes(initOverrides) {
@@ -163,6 +167,7 @@ class EventsApi extends runtime.BaseAPI {
163
167
  });
164
168
  }
165
169
  /**
170
+ * Returns the events for the specified environment.
166
171
  * Get environment events
167
172
  */
168
173
  getEventsRaw(requestParameters, initOverrides) {
@@ -194,6 +199,7 @@ class EventsApi extends runtime.BaseAPI {
194
199
  });
195
200
  }
196
201
  /**
202
+ * Returns the events for the specified environment.
197
203
  * Get environment events
198
204
  */
199
205
  getEvents(requestParameters, initOverrides) {
@@ -27,26 +27,32 @@ export interface GetEventsRequest {
27
27
  */
28
28
  export declare class EventsApi extends runtime.BaseAPI {
29
29
  /**
30
- * Get environment event by id
30
+ * Returns a single event by its unique identifier.
31
+ * Get an environment event by ID
31
32
  */
32
33
  getEventByIdRaw(requestParameters: GetEventByIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Event>>;
33
34
  /**
34
- * Get environment event by id
35
+ * Returns a single event by its unique identifier.
36
+ * Get an environment event by ID
35
37
  */
36
38
  getEventById(requestParameters: GetEventByIdRequest, initOverrides?: RequestInit): Promise<Event>;
37
39
  /**
40
+ * Returns all available event types.
38
41
  * Get event types
39
42
  */
40
43
  getEventTypesRaw(initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<EventType>>>;
41
44
  /**
45
+ * Returns all available event types.
42
46
  * Get event types
43
47
  */
44
48
  getEventTypes(initOverrides?: RequestInit): Promise<Array<EventType>>;
45
49
  /**
50
+ * Returns the events for the specified environment.
46
51
  * Get environment events
47
52
  */
48
53
  getEventsRaw(requestParameters: GetEventsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<EventsResponse>>;
49
54
  /**
55
+ * Returns the events for the specified environment.
50
56
  * Get environment events
51
57
  */
52
58
  getEvents(requestParameters: GetEventsRequest, initOverrides?: RequestInit): Promise<EventsResponse>;
@@ -103,7 +103,8 @@ import '../models/WalletTransactionType.js';
103
103
  */
104
104
  class EventsApi extends BaseAPI {
105
105
  /**
106
- * Get environment event by id
106
+ * Returns a single event by its unique identifier.
107
+ * Get an environment event by ID
107
108
  */
108
109
  getEventByIdRaw(requestParameters, initOverrides) {
109
110
  return __awaiter(this, void 0, void 0, function* () {
@@ -125,7 +126,8 @@ class EventsApi extends BaseAPI {
125
126
  });
126
127
  }
127
128
  /**
128
- * Get environment event by id
129
+ * Returns a single event by its unique identifier.
130
+ * Get an environment event by ID
129
131
  */
130
132
  getEventById(requestParameters, initOverrides) {
131
133
  return __awaiter(this, void 0, void 0, function* () {
@@ -134,6 +136,7 @@ class EventsApi extends BaseAPI {
134
136
  });
135
137
  }
136
138
  /**
139
+ * Returns all available event types.
137
140
  * Get event types
138
141
  */
139
142
  getEventTypesRaw(initOverrides) {
@@ -150,6 +153,7 @@ class EventsApi extends BaseAPI {
150
153
  });
151
154
  }
152
155
  /**
156
+ * Returns all available event types.
153
157
  * Get event types
154
158
  */
155
159
  getEventTypes(initOverrides) {
@@ -159,6 +163,7 @@ class EventsApi extends BaseAPI {
159
163
  });
160
164
  }
161
165
  /**
166
+ * Returns the events for the specified environment.
162
167
  * Get environment events
163
168
  */
164
169
  getEventsRaw(requestParameters, initOverrides) {
@@ -190,6 +195,7 @@ class EventsApi extends BaseAPI {
190
195
  });
191
196
  }
192
197
  /**
198
+ * Returns the events for the specified environment.
193
199
  * Get environment events
194
200
  */
195
201
  getEvents(requestParameters, initOverrides) {
@@ -107,6 +107,7 @@ require('../models/WalletTransactionType.cjs');
107
107
  */
108
108
  class ExportsApi extends runtime.BaseAPI {
109
109
  /**
110
+ * Creates a new export request for the specified project environment.
110
111
  * Create a new export request for the project environment
111
112
  */
112
113
  createExportRaw(requestParameters, initOverrides) {
@@ -131,6 +132,7 @@ class ExportsApi extends runtime.BaseAPI {
131
132
  });
132
133
  }
133
134
  /**
135
+ * Creates a new export request for the specified project environment.
134
136
  * Create a new export request for the project environment
135
137
  */
136
138
  createExport(requestParameters, initOverrides) {
@@ -140,6 +142,7 @@ class ExportsApi extends runtime.BaseAPI {
140
142
  });
141
143
  }
142
144
  /**
145
+ * Downloads the specified export by its ID.
143
146
  * Download an export by ID
144
147
  */
145
148
  downloadExportByIdRaw(requestParameters, initOverrides) {
@@ -169,6 +172,7 @@ class ExportsApi extends runtime.BaseAPI {
169
172
  });
170
173
  }
171
174
  /**
175
+ * Downloads the specified export by its ID.
172
176
  * Download an export by ID
173
177
  */
174
178
  downloadExportById(requestParameters, initOverrides) {
@@ -177,6 +181,7 @@ class ExportsApi extends runtime.BaseAPI {
177
181
  });
178
182
  }
179
183
  /**
184
+ * Returns the exports for the specified environment.
180
185
  * Get the exports for an environment
181
186
  */
182
187
  getEnvironmentExportsRaw(requestParameters, initOverrides) {
@@ -199,6 +204,7 @@ class ExportsApi extends runtime.BaseAPI {
199
204
  });
200
205
  }
201
206
  /**
207
+ * Returns the exports for the specified environment.
202
208
  * Get the exports for an environment
203
209
  */
204
210
  getEnvironmentExports(requestParameters, initOverrides) {
@@ -208,6 +214,7 @@ class ExportsApi extends runtime.BaseAPI {
208
214
  });
209
215
  }
210
216
  /**
217
+ * Returns the export by its unique identifier.
211
218
  * Get an export using the ID
212
219
  */
213
220
  getExportByIdRaw(requestParameters, initOverrides) {
@@ -237,6 +244,7 @@ class ExportsApi extends runtime.BaseAPI {
237
244
  });
238
245
  }
239
246
  /**
247
+ * Returns the export by its unique identifier.
240
248
  * Get an export using the ID
241
249
  */
242
250
  getExportById(requestParameters, initOverrides) {
@@ -32,34 +32,42 @@ export interface GetExportByIdRequest {
32
32
  */
33
33
  export declare class ExportsApi extends runtime.BaseAPI {
34
34
  /**
35
+ * Creates a new export request for the specified project environment.
35
36
  * Create a new export request for the project environment
36
37
  */
37
38
  createExportRaw(requestParameters: CreateExportRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Export>>;
38
39
  /**
40
+ * Creates a new export request for the specified project environment.
39
41
  * Create a new export request for the project environment
40
42
  */
41
43
  createExport(requestParameters: CreateExportRequest, initOverrides?: RequestInit): Promise<Export>;
42
44
  /**
45
+ * Downloads the specified export by its ID.
43
46
  * Download an export by ID
44
47
  */
45
48
  downloadExportByIdRaw(requestParameters: DownloadExportByIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
46
49
  /**
50
+ * Downloads the specified export by its ID.
47
51
  * Download an export by ID
48
52
  */
49
53
  downloadExportById(requestParameters: DownloadExportByIdRequest, initOverrides?: RequestInit): Promise<void>;
50
54
  /**
55
+ * Returns the exports for the specified environment.
51
56
  * Get the exports for an environment
52
57
  */
53
58
  getEnvironmentExportsRaw(requestParameters: GetEnvironmentExportsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<ExportsResponse>>;
54
59
  /**
60
+ * Returns the exports for the specified environment.
55
61
  * Get the exports for an environment
56
62
  */
57
63
  getEnvironmentExports(requestParameters: GetEnvironmentExportsRequest, initOverrides?: RequestInit): Promise<ExportsResponse>;
58
64
  /**
65
+ * Returns the export by its unique identifier.
59
66
  * Get an export using the ID
60
67
  */
61
68
  getExportByIdRaw(requestParameters: GetExportByIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Export>>;
62
69
  /**
70
+ * Returns the export by its unique identifier.
63
71
  * Get an export using the ID
64
72
  */
65
73
  getExportById(requestParameters: GetExportByIdRequest, initOverrides?: RequestInit): Promise<Export>;
@@ -103,6 +103,7 @@ import '../models/WalletTransactionType.js';
103
103
  */
104
104
  class ExportsApi extends BaseAPI {
105
105
  /**
106
+ * Creates a new export request for the specified project environment.
106
107
  * Create a new export request for the project environment
107
108
  */
108
109
  createExportRaw(requestParameters, initOverrides) {
@@ -127,6 +128,7 @@ class ExportsApi extends BaseAPI {
127
128
  });
128
129
  }
129
130
  /**
131
+ * Creates a new export request for the specified project environment.
130
132
  * Create a new export request for the project environment
131
133
  */
132
134
  createExport(requestParameters, initOverrides) {
@@ -136,6 +138,7 @@ class ExportsApi extends BaseAPI {
136
138
  });
137
139
  }
138
140
  /**
141
+ * Downloads the specified export by its ID.
139
142
  * Download an export by ID
140
143
  */
141
144
  downloadExportByIdRaw(requestParameters, initOverrides) {
@@ -165,6 +168,7 @@ class ExportsApi extends BaseAPI {
165
168
  });
166
169
  }
167
170
  /**
171
+ * Downloads the specified export by its ID.
168
172
  * Download an export by ID
169
173
  */
170
174
  downloadExportById(requestParameters, initOverrides) {
@@ -173,6 +177,7 @@ class ExportsApi extends BaseAPI {
173
177
  });
174
178
  }
175
179
  /**
180
+ * Returns the exports for the specified environment.
176
181
  * Get the exports for an environment
177
182
  */
178
183
  getEnvironmentExportsRaw(requestParameters, initOverrides) {
@@ -195,6 +200,7 @@ class ExportsApi extends BaseAPI {
195
200
  });
196
201
  }
197
202
  /**
203
+ * Returns the exports for the specified environment.
198
204
  * Get the exports for an environment
199
205
  */
200
206
  getEnvironmentExports(requestParameters, initOverrides) {
@@ -204,6 +210,7 @@ class ExportsApi extends BaseAPI {
204
210
  });
205
211
  }
206
212
  /**
213
+ * Returns the export by its unique identifier.
207
214
  * Get an export using the ID
208
215
  */
209
216
  getExportByIdRaw(requestParameters, initOverrides) {
@@ -233,6 +240,7 @@ class ExportsApi extends BaseAPI {
233
240
  });
234
241
  }
235
242
  /**
243
+ * Returns the export by its unique identifier.
236
244
  * Get an export using the ID
237
245
  */
238
246
  getExportById(requestParameters, initOverrides) {
@@ -106,7 +106,8 @@ require('../models/WalletTransactionType.cjs');
106
106
  */
107
107
  class ExternalJwtApi extends runtime.BaseAPI {
108
108
  /**
109
- * Check if the external provided JWT is valid for the specified environment
109
+ * Validates an external JWT for the specified environment.
110
+ * Validate an external JWT for the environment
110
111
  */
111
112
  checkExternalJwtRaw(requestParameters, initOverrides) {
112
113
  return _tslib.__awaiter(this, void 0, void 0, function* () {
@@ -137,7 +138,8 @@ class ExternalJwtApi extends runtime.BaseAPI {
137
138
  });
138
139
  }
139
140
  /**
140
- * Check if the external provided JWT is valid for the specified environment
141
+ * Validates an external JWT for the specified environment.
142
+ * Validate an external JWT for the environment
141
143
  */
142
144
  checkExternalJwt(requestParameters, initOverrides) {
143
145
  return _tslib.__awaiter(this, void 0, void 0, function* () {
@@ -20,11 +20,13 @@ export interface CheckExternalJwtRequest {
20
20
  */
21
21
  export declare class ExternalJwtApi extends runtime.BaseAPI {
22
22
  /**
23
- * Check if the external provided JWT is valid for the specified environment
23
+ * Validates an external JWT for the specified environment.
24
+ * Validate an external JWT for the environment
24
25
  */
25
26
  checkExternalJwtRaw(requestParameters: CheckExternalJwtRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<ExternalJwtCheckResponse>>;
26
27
  /**
27
- * Check if the external provided JWT is valid for the specified environment
28
+ * Validates an external JWT for the specified environment.
29
+ * Validate an external JWT for the environment
28
30
  */
29
31
  checkExternalJwt(requestParameters: CheckExternalJwtRequest, initOverrides?: RequestInit): Promise<ExternalJwtCheckResponse>;
30
32
  }
@@ -102,7 +102,8 @@ import '../models/WalletTransactionType.js';
102
102
  */
103
103
  class ExternalJwtApi extends BaseAPI {
104
104
  /**
105
- * Check if the external provided JWT is valid for the specified environment
105
+ * Validates an external JWT for the specified environment.
106
+ * Validate an external JWT for the environment
106
107
  */
107
108
  checkExternalJwtRaw(requestParameters, initOverrides) {
108
109
  return __awaiter(this, void 0, void 0, function* () {
@@ -133,7 +134,8 @@ class ExternalJwtApi extends BaseAPI {
133
134
  });
134
135
  }
135
136
  /**
136
- * Check if the external provided JWT is valid for the specified environment
137
+ * Validates an external JWT for the specified environment.
138
+ * Validate an external JWT for the environment
137
139
  */
138
140
  checkExternalJwt(requestParameters, initOverrides) {
139
141
  return __awaiter(this, void 0, void 0, function* () {