@dynamic-labs/sdk-api 0.0.928 → 0.0.929

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 (34) hide show
  1. package/package.json +1 -1
  2. package/src/apis/WaasApi.cjs +166 -0
  3. package/src/apis/WaasApi.d.ts +76 -1
  4. package/src/apis/WaasApi.js +166 -0
  5. package/src/models/AttachSourceRequest.d.ts +1 -1
  6. package/src/models/ChainalysisCheck.d.ts +1 -1
  7. package/src/models/CheckoutSettlementData.d.ts +1 -1
  8. package/src/models/CheckoutTransaction.d.ts +2 -2
  9. package/src/models/CheckoutTransactionDestinationAddress.d.ts +1 -1
  10. package/src/models/CoinbaseOnrampGetBuyUrlRequest.d.ts +1 -1
  11. package/src/models/CoinbaseOnrampOrder.d.ts +1 -1
  12. package/src/models/CoinbaseOnrampOrderCreateRequest.d.ts +1 -1
  13. package/src/models/ConnectRequest.d.ts +1 -1
  14. package/src/models/CreateWalletRequest.d.ts +1 -1
  15. package/src/models/CryptoDotComPaymentCreateRequest.d.ts +1 -1
  16. package/src/models/Eip712Domain.d.ts +1 -1
  17. package/src/models/ForbiddenErrorPayload.d.ts +1 -1
  18. package/src/models/InviteSendRequest.d.ts +1 -1
  19. package/src/models/JwtBlockchainAccount.d.ts +1 -1
  20. package/src/models/JwtVerifiedCredential.d.ts +1 -1
  21. package/src/models/NameServiceCreateRequest.d.ts +1 -1
  22. package/src/models/NameServiceResponse.d.ts +1 -1
  23. package/src/models/NameServiceSigningMessageRequest.d.ts +1 -1
  24. package/src/models/PostAllowlistEntriesRequest.d.ts +1 -1
  25. package/src/models/PrefetchRequest.d.ts +1 -1
  26. package/src/models/SimulateEVMTransactionRequest.d.ts +2 -2
  27. package/src/models/SimulateUserOpRequest.d.ts +1 -1
  28. package/src/models/SwapQuoteRequestSide.d.ts +1 -1
  29. package/src/models/TokenBalance.d.ts +1 -1
  30. package/src/models/TransactionFeeEstimateRequest.d.ts +1 -1
  31. package/src/models/TransferDestination.d.ts +1 -1
  32. package/src/models/Wallet.d.ts +1 -1
  33. package/src/models/WalletDetail.d.ts +2 -2
  34. package/src/models/WalletSanctionsResponse.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.928",
3
+ "version": "0.0.929",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -126,6 +126,8 @@ require('../models/WaasPolicyRuleType.cjs');
126
126
  var WaasPolicyUpdateRequest = require('../models/WaasPolicyUpdateRequest.cjs');
127
127
  var WaasVerifyApiKeyResponse = require('../models/WaasVerifyApiKeyResponse.cjs');
128
128
  var WaasWalletResponse = require('../models/WaasWalletResponse.cjs');
129
+ var WaasWalletSignaturePolicyTmpCreateRequest = require('../models/WaasWalletSignaturePolicyTmpCreateRequest.cjs');
130
+ var WaasWalletSignaturePolicyTmpResponse = require('../models/WaasWalletSignaturePolicyTmpResponse.cjs');
129
131
  require('../models/WalletTransactionType.cjs');
130
132
 
131
133
  /* tslint:disable */
@@ -269,6 +271,40 @@ class WaasApi extends runtime.BaseAPI {
269
271
  const response = await this.createWaasPolicyRaw(requestParameters, initOverrides);
270
272
  return await response.value();
271
273
  }
274
+ /**
275
+ * Creates a new WaaS signature policy for the specified wallet.
276
+ * Create a new WAAS signature policy for a wallet
277
+ */
278
+ async createWaasSignaturePolicyRaw(requestParameters, initOverrides) {
279
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
280
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling createWaasSignaturePolicy.');
281
+ }
282
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
283
+ throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling createWaasSignaturePolicy.');
284
+ }
285
+ if (requestParameters.waasWalletSignaturePolicyTmpCreateRequest === null || requestParameters.waasWalletSignaturePolicyTmpCreateRequest === undefined) {
286
+ throw new runtime.RequiredError('waasWalletSignaturePolicyTmpCreateRequest', 'Required parameter requestParameters.waasWalletSignaturePolicyTmpCreateRequest was null or undefined when calling createWaasSignaturePolicy.');
287
+ }
288
+ const queryParameters = {};
289
+ const headerParameters = {};
290
+ headerParameters['Content-Type'] = 'application/json';
291
+ const response = await this.request({
292
+ path: `/environments/{environmentId}/waas/{walletId}/signaturePolicy`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
293
+ method: 'POST',
294
+ headers: headerParameters,
295
+ query: queryParameters,
296
+ body: WaasWalletSignaturePolicyTmpCreateRequest.WaasWalletSignaturePolicyTmpCreateRequestToJSON(requestParameters.waasWalletSignaturePolicyTmpCreateRequest),
297
+ }, initOverrides);
298
+ return new runtime.JSONApiResponse(response, (jsonValue) => WaasWalletSignaturePolicyTmpResponse.WaasWalletSignaturePolicyTmpResponseFromJSON(jsonValue));
299
+ }
300
+ /**
301
+ * Creates a new WaaS signature policy for the specified wallet.
302
+ * Create a new WAAS signature policy for a wallet
303
+ */
304
+ async createWaasSignaturePolicy(requestParameters, initOverrides) {
305
+ const response = await this.createWaasSignaturePolicyRaw(requestParameters, initOverrides);
306
+ return await response.value();
307
+ }
272
308
  /**
273
309
  * Creates a new WAAS wallet for a user given an email or userId. If an email is provided and it is not associated with an existing user this call will also create a new user.
274
310
  * Create a WAAS wallet for a user
@@ -400,6 +436,38 @@ class WaasApi extends runtime.BaseAPI {
400
436
  const response = await this.deleteWaasPolicyRaw(requestParameters, initOverrides);
401
437
  return await response.value();
402
438
  }
439
+ /**
440
+ * Permanently removes a WaaS signature policy by wallet ID and policy ID.
441
+ * Delete a WAAS signature policy by walletId and policyId
442
+ */
443
+ async deleteWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides) {
444
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
445
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling deleteWaasSignaturePolicyByWalletIdAndPolicyId.');
446
+ }
447
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
448
+ throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling deleteWaasSignaturePolicyByWalletIdAndPolicyId.');
449
+ }
450
+ if (requestParameters.policyId === null || requestParameters.policyId === undefined) {
451
+ throw new runtime.RequiredError('policyId', 'Required parameter requestParameters.policyId was null or undefined when calling deleteWaasSignaturePolicyByWalletIdAndPolicyId.');
452
+ }
453
+ const queryParameters = {};
454
+ const headerParameters = {};
455
+ const response = await this.request({
456
+ path: `/environments/{environmentId}/waas/{walletId}/signaturePolicy/{policyId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))).replace(`{${"policyId"}}`, encodeURIComponent(String(requestParameters.policyId))),
457
+ method: 'DELETE',
458
+ headers: headerParameters,
459
+ query: queryParameters,
460
+ }, initOverrides);
461
+ return new runtime.JSONApiResponse(response, (jsonValue) => WaasWalletSignaturePolicyTmpResponse.WaasWalletSignaturePolicyTmpResponseFromJSON(jsonValue));
462
+ }
463
+ /**
464
+ * Permanently removes a WaaS signature policy by wallet ID and policy ID.
465
+ * Delete a WAAS signature policy by walletId and policyId
466
+ */
467
+ async deleteWaasSignaturePolicyByWalletIdAndPolicyId(requestParameters, initOverrides) {
468
+ const response = await this.deleteWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides);
469
+ return await response.value();
470
+ }
403
471
  /**
404
472
  * Fetches the encryption public key used for delegated access in a WAAS environment. By default, returns only the latest active key.
405
473
  * Get delegated access encryption public key for an environment
@@ -510,6 +578,67 @@ class WaasApi extends runtime.BaseAPI {
510
578
  const response = await this.getWaasPolicyRaw(requestParameters, initOverrides);
511
579
  return await response.value();
512
580
  }
581
+ /**
582
+ * Returns all active WaaS signature policies for the specified wallet.
583
+ * Get all active WAAS signature policies for a wallet
584
+ */
585
+ async getWaasSignaturePoliciesRaw(requestParameters, initOverrides) {
586
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
587
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasSignaturePolicies.');
588
+ }
589
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
590
+ throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasSignaturePolicies.');
591
+ }
592
+ const queryParameters = {};
593
+ const headerParameters = {};
594
+ const response = await this.request({
595
+ path: `/environments/{environmentId}/waas/{walletId}/signaturePolicy`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
596
+ method: 'GET',
597
+ headers: headerParameters,
598
+ query: queryParameters,
599
+ }, initOverrides);
600
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(WaasWalletSignaturePolicyTmpResponse.WaasWalletSignaturePolicyTmpResponseFromJSON));
601
+ }
602
+ /**
603
+ * Returns all active WaaS signature policies for the specified wallet.
604
+ * Get all active WAAS signature policies for a wallet
605
+ */
606
+ async getWaasSignaturePolicies(requestParameters, initOverrides) {
607
+ const response = await this.getWaasSignaturePoliciesRaw(requestParameters, initOverrides);
608
+ return await response.value();
609
+ }
610
+ /**
611
+ * Returns a WaaS signature policy by wallet ID and policy ID.
612
+ * Get a WAAS signature policy by walletId and policyId
613
+ */
614
+ async getWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides) {
615
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
616
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasSignaturePolicyByWalletIdAndPolicyId.');
617
+ }
618
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
619
+ throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasSignaturePolicyByWalletIdAndPolicyId.');
620
+ }
621
+ if (requestParameters.policyId === null || requestParameters.policyId === undefined) {
622
+ throw new runtime.RequiredError('policyId', 'Required parameter requestParameters.policyId was null or undefined when calling getWaasSignaturePolicyByWalletIdAndPolicyId.');
623
+ }
624
+ const queryParameters = {};
625
+ const headerParameters = {};
626
+ const response = await this.request({
627
+ path: `/environments/{environmentId}/waas/{walletId}/signaturePolicy/{policyId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))).replace(`{${"policyId"}}`, encodeURIComponent(String(requestParameters.policyId))),
628
+ method: 'GET',
629
+ headers: headerParameters,
630
+ query: queryParameters,
631
+ }, initOverrides);
632
+ return new runtime.JSONApiResponse(response, (jsonValue) => WaasWalletSignaturePolicyTmpResponse.WaasWalletSignaturePolicyTmpResponseFromJSON(jsonValue));
633
+ }
634
+ /**
635
+ * Returns a WaaS signature policy by wallet ID and policy ID.
636
+ * Get a WAAS signature policy by walletId and policyId
637
+ */
638
+ async getWaasSignaturePolicyByWalletIdAndPolicyId(requestParameters, initOverrides) {
639
+ const response = await this.getWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides);
640
+ return await response.value();
641
+ }
513
642
  /**
514
643
  * Returns a WaaS wallet by its wallet ID.
515
644
  * Get a specific WAAS wallet by walletId
@@ -626,6 +755,43 @@ class WaasApi extends runtime.BaseAPI {
626
755
  const response = await this.updateWaasPolicyRaw(requestParameters, initOverrides);
627
756
  return await response.value();
628
757
  }
758
+ /**
759
+ * Updates a WaaS signature policy by wallet ID and policy ID.
760
+ * Update a WAAS signature policy by walletId and policyId
761
+ */
762
+ async updateWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides) {
763
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
764
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling updateWaasSignaturePolicyByWalletIdAndPolicyId.');
765
+ }
766
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
767
+ throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling updateWaasSignaturePolicyByWalletIdAndPolicyId.');
768
+ }
769
+ if (requestParameters.policyId === null || requestParameters.policyId === undefined) {
770
+ throw new runtime.RequiredError('policyId', 'Required parameter requestParameters.policyId was null or undefined when calling updateWaasSignaturePolicyByWalletIdAndPolicyId.');
771
+ }
772
+ if (requestParameters.waasWalletSignaturePolicyTmpCreateRequest === null || requestParameters.waasWalletSignaturePolicyTmpCreateRequest === undefined) {
773
+ throw new runtime.RequiredError('waasWalletSignaturePolicyTmpCreateRequest', 'Required parameter requestParameters.waasWalletSignaturePolicyTmpCreateRequest was null or undefined when calling updateWaasSignaturePolicyByWalletIdAndPolicyId.');
774
+ }
775
+ const queryParameters = {};
776
+ const headerParameters = {};
777
+ headerParameters['Content-Type'] = 'application/json';
778
+ const response = await this.request({
779
+ path: `/environments/{environmentId}/waas/{walletId}/signaturePolicy/{policyId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))).replace(`{${"policyId"}}`, encodeURIComponent(String(requestParameters.policyId))),
780
+ method: 'PUT',
781
+ headers: headerParameters,
782
+ query: queryParameters,
783
+ body: WaasWalletSignaturePolicyTmpCreateRequest.WaasWalletSignaturePolicyTmpCreateRequestToJSON(requestParameters.waasWalletSignaturePolicyTmpCreateRequest),
784
+ }, initOverrides);
785
+ return new runtime.JSONApiResponse(response, (jsonValue) => WaasWalletSignaturePolicyTmpResponse.WaasWalletSignaturePolicyTmpResponseFromJSON(jsonValue));
786
+ }
787
+ /**
788
+ * Updates a WaaS signature policy by wallet ID and policy ID.
789
+ * Update a WAAS signature policy by walletId and policyId
790
+ */
791
+ async updateWaasSignaturePolicyByWalletIdAndPolicyId(requestParameters, initOverrides) {
792
+ const response = await this.updateWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides);
793
+ return await response.value();
794
+ }
629
795
  /**
630
796
  * 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.
631
797
  * Verify if an API key is valid for a specific environment
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { BackupKeySharesToLocationsResponse, BackupKeySharesToLocationsWithUserIdRequest, CreateUserWaasWalletsRequest, DelegatedAccessEncryptionPublicKeyResponse, DelegatedAccessEncryptionPublicKeysUnifiedResponse, OpenRoomResponse, RevokeDelegatedAccessRequest, RevokeDelegatedAccessResponse, UserResponse, WaasAuthenticateResponse, WaasDelegateSignMessageRequest, WaasDelegationCredentialsRequest, WaasDelegationCredentialsResponse, WaasPolicyCreateRequest, WaasPolicyDeleteRequest, WaasPolicyResponse, WaasPolicyUpdateRequest, WaasVerifyApiKeyResponse, WaasWalletResponse } from '../models';
13
+ import { BackupKeySharesToLocationsResponse, BackupKeySharesToLocationsWithUserIdRequest, CreateUserWaasWalletsRequest, DelegatedAccessEncryptionPublicKeyResponse, DelegatedAccessEncryptionPublicKeysUnifiedResponse, OpenRoomResponse, RevokeDelegatedAccessRequest, RevokeDelegatedAccessResponse, UserResponse, WaasAuthenticateResponse, WaasDelegateSignMessageRequest, WaasDelegationCredentialsRequest, WaasDelegationCredentialsResponse, WaasPolicyCreateRequest, WaasPolicyDeleteRequest, WaasPolicyResponse, WaasPolicyUpdateRequest, WaasVerifyApiKeyResponse, WaasWalletResponse, WaasWalletSignaturePolicyTmpCreateRequest, WaasWalletSignaturePolicyTmpResponse } from '../models';
14
14
  export interface AuthenticateWaasRequest {
15
15
  environmentId: string;
16
16
  }
@@ -27,6 +27,11 @@ export interface CreateWaasPolicyRequest {
27
27
  environmentId: string;
28
28
  waasPolicyCreateRequest: WaasPolicyCreateRequest;
29
29
  }
30
+ export interface CreateWaasSignaturePolicyRequest {
31
+ environmentId: string;
32
+ walletId: string;
33
+ waasWalletSignaturePolicyTmpCreateRequest: WaasWalletSignaturePolicyTmpCreateRequest;
34
+ }
30
35
  export interface CreateWaasWalletRequest {
31
36
  environmentId: string;
32
37
  createUserWaasWalletsRequest: CreateUserWaasWalletsRequest;
@@ -44,6 +49,11 @@ export interface DeleteWaasPolicyRequest {
44
49
  environmentId: string;
45
50
  waasPolicyDeleteRequest: WaasPolicyDeleteRequest;
46
51
  }
52
+ export interface DeleteWaasSignaturePolicyByWalletIdAndPolicyIdRequest {
53
+ environmentId: string;
54
+ walletId: string;
55
+ policyId: string;
56
+ }
47
57
  export interface GetDelegatedAccessEncryptionPublicKeyRequest {
48
58
  environmentId: string;
49
59
  }
@@ -58,6 +68,15 @@ export interface GetDelegatedAccessEncryptionPublicKeysRequest {
58
68
  export interface GetWaasPolicyRequest {
59
69
  environmentId: string;
60
70
  }
71
+ export interface GetWaasSignaturePoliciesRequest {
72
+ environmentId: string;
73
+ walletId: string;
74
+ }
75
+ export interface GetWaasSignaturePolicyByWalletIdAndPolicyIdRequest {
76
+ environmentId: string;
77
+ walletId: string;
78
+ policyId: string;
79
+ }
61
80
  export interface GetWaasWalletByWalletIdRequest {
62
81
  environmentId: string;
63
82
  walletId: string;
@@ -73,6 +92,12 @@ export interface UpdateWaasPolicyRequest {
73
92
  environmentId: string;
74
93
  waasPolicyUpdateRequest: WaasPolicyUpdateRequest;
75
94
  }
95
+ export interface UpdateWaasSignaturePolicyByWalletIdAndPolicyIdRequest {
96
+ environmentId: string;
97
+ walletId: string;
98
+ policyId: string;
99
+ waasWalletSignaturePolicyTmpCreateRequest: WaasWalletSignaturePolicyTmpCreateRequest;
100
+ }
76
101
  export interface WaasVerifyApiKeyRequest {
77
102
  environmentId: string;
78
103
  }
@@ -120,6 +145,16 @@ export declare class WaasApi extends runtime.BaseAPI {
120
145
  * Create a new WAAS policy for an environment or add new rules to an existing policy
121
146
  */
122
147
  createWaasPolicy(requestParameters: CreateWaasPolicyRequest, initOverrides?: RequestInit): Promise<WaasPolicyResponse>;
148
+ /**
149
+ * Creates a new WaaS signature policy for the specified wallet.
150
+ * Create a new WAAS signature policy for a wallet
151
+ */
152
+ createWaasSignaturePolicyRaw(requestParameters: CreateWaasSignaturePolicyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasWalletSignaturePolicyTmpResponse>>;
153
+ /**
154
+ * Creates a new WaaS signature policy for the specified wallet.
155
+ * Create a new WAAS signature policy for a wallet
156
+ */
157
+ createWaasSignaturePolicy(requestParameters: CreateWaasSignaturePolicyRequest, initOverrides?: RequestInit): Promise<WaasWalletSignaturePolicyTmpResponse>;
123
158
  /**
124
159
  * Creates a new WAAS wallet for a user given an email or userId. If an email is provided and it is not associated with an existing user this call will also create a new user.
125
160
  * Create a WAAS wallet for a user
@@ -160,6 +195,16 @@ export declare class WaasApi extends runtime.BaseAPI {
160
195
  * Delete a WAAS policy rule by ruleId
161
196
  */
162
197
  deleteWaasPolicy(requestParameters: DeleteWaasPolicyRequest, initOverrides?: RequestInit): Promise<WaasPolicyResponse>;
198
+ /**
199
+ * Permanently removes a WaaS signature policy by wallet ID and policy ID.
200
+ * Delete a WAAS signature policy by walletId and policyId
201
+ */
202
+ deleteWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters: DeleteWaasSignaturePolicyByWalletIdAndPolicyIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasWalletSignaturePolicyTmpResponse>>;
203
+ /**
204
+ * Permanently removes a WaaS signature policy by wallet ID and policy ID.
205
+ * Delete a WAAS signature policy by walletId and policyId
206
+ */
207
+ deleteWaasSignaturePolicyByWalletIdAndPolicyId(requestParameters: DeleteWaasSignaturePolicyByWalletIdAndPolicyIdRequest, initOverrides?: RequestInit): Promise<WaasWalletSignaturePolicyTmpResponse>;
163
208
  /**
164
209
  * Fetches the encryption public key used for delegated access in a WAAS environment. By default, returns only the latest active key.
165
210
  * Get delegated access encryption public key for an environment
@@ -200,6 +245,26 @@ export declare class WaasApi extends runtime.BaseAPI {
200
245
  * Get the WAAS policy for an environment
201
246
  */
202
247
  getWaasPolicy(requestParameters: GetWaasPolicyRequest, initOverrides?: RequestInit): Promise<WaasPolicyResponse>;
248
+ /**
249
+ * Returns all active WaaS signature policies for the specified wallet.
250
+ * Get all active WAAS signature policies for a wallet
251
+ */
252
+ getWaasSignaturePoliciesRaw(requestParameters: GetWaasSignaturePoliciesRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<WaasWalletSignaturePolicyTmpResponse>>>;
253
+ /**
254
+ * Returns all active WaaS signature policies for the specified wallet.
255
+ * Get all active WAAS signature policies for a wallet
256
+ */
257
+ getWaasSignaturePolicies(requestParameters: GetWaasSignaturePoliciesRequest, initOverrides?: RequestInit): Promise<Array<WaasWalletSignaturePolicyTmpResponse>>;
258
+ /**
259
+ * Returns a WaaS signature policy by wallet ID and policy ID.
260
+ * Get a WAAS signature policy by walletId and policyId
261
+ */
262
+ getWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters: GetWaasSignaturePolicyByWalletIdAndPolicyIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasWalletSignaturePolicyTmpResponse>>;
263
+ /**
264
+ * Returns a WaaS signature policy by wallet ID and policy ID.
265
+ * Get a WAAS signature policy by walletId and policyId
266
+ */
267
+ getWaasSignaturePolicyByWalletIdAndPolicyId(requestParameters: GetWaasSignaturePolicyByWalletIdAndPolicyIdRequest, initOverrides?: RequestInit): Promise<WaasWalletSignaturePolicyTmpResponse>;
203
268
  /**
204
269
  * Returns a WaaS wallet by its wallet ID.
205
270
  * Get a specific WAAS wallet by walletId
@@ -240,6 +305,16 @@ export declare class WaasApi extends runtime.BaseAPI {
240
305
  * Update the WAAS policy for an environment by ruleId
241
306
  */
242
307
  updateWaasPolicy(requestParameters: UpdateWaasPolicyRequest, initOverrides?: RequestInit): Promise<WaasPolicyResponse>;
308
+ /**
309
+ * Updates a WaaS signature policy by wallet ID and policy ID.
310
+ * Update a WAAS signature policy by walletId and policyId
311
+ */
312
+ updateWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters: UpdateWaasSignaturePolicyByWalletIdAndPolicyIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasWalletSignaturePolicyTmpResponse>>;
313
+ /**
314
+ * Updates a WaaS signature policy by wallet ID and policy ID.
315
+ * Update a WAAS signature policy by walletId and policyId
316
+ */
317
+ updateWaasSignaturePolicyByWalletIdAndPolicyId(requestParameters: UpdateWaasSignaturePolicyByWalletIdAndPolicyIdRequest, initOverrides?: RequestInit): Promise<WaasWalletSignaturePolicyTmpResponse>;
243
318
  /**
244
319
  * 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.
245
320
  * Verify if an API key is valid for a specific environment
@@ -122,6 +122,8 @@ import '../models/WaasPolicyRuleType.js';
122
122
  import { WaasPolicyUpdateRequestToJSON } from '../models/WaasPolicyUpdateRequest.js';
123
123
  import { WaasVerifyApiKeyResponseFromJSON } from '../models/WaasVerifyApiKeyResponse.js';
124
124
  import { WaasWalletResponseFromJSON } from '../models/WaasWalletResponse.js';
125
+ import { WaasWalletSignaturePolicyTmpCreateRequestToJSON } from '../models/WaasWalletSignaturePolicyTmpCreateRequest.js';
126
+ import { WaasWalletSignaturePolicyTmpResponseFromJSON } from '../models/WaasWalletSignaturePolicyTmpResponse.js';
125
127
  import '../models/WalletTransactionType.js';
126
128
 
127
129
  /* tslint:disable */
@@ -265,6 +267,40 @@ class WaasApi extends BaseAPI {
265
267
  const response = await this.createWaasPolicyRaw(requestParameters, initOverrides);
266
268
  return await response.value();
267
269
  }
270
+ /**
271
+ * Creates a new WaaS signature policy for the specified wallet.
272
+ * Create a new WAAS signature policy for a wallet
273
+ */
274
+ async createWaasSignaturePolicyRaw(requestParameters, initOverrides) {
275
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
276
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling createWaasSignaturePolicy.');
277
+ }
278
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
279
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling createWaasSignaturePolicy.');
280
+ }
281
+ if (requestParameters.waasWalletSignaturePolicyTmpCreateRequest === null || requestParameters.waasWalletSignaturePolicyTmpCreateRequest === undefined) {
282
+ throw new RequiredError('waasWalletSignaturePolicyTmpCreateRequest', 'Required parameter requestParameters.waasWalletSignaturePolicyTmpCreateRequest was null or undefined when calling createWaasSignaturePolicy.');
283
+ }
284
+ const queryParameters = {};
285
+ const headerParameters = {};
286
+ headerParameters['Content-Type'] = 'application/json';
287
+ const response = await this.request({
288
+ path: `/environments/{environmentId}/waas/{walletId}/signaturePolicy`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
289
+ method: 'POST',
290
+ headers: headerParameters,
291
+ query: queryParameters,
292
+ body: WaasWalletSignaturePolicyTmpCreateRequestToJSON(requestParameters.waasWalletSignaturePolicyTmpCreateRequest),
293
+ }, initOverrides);
294
+ return new JSONApiResponse(response, (jsonValue) => WaasWalletSignaturePolicyTmpResponseFromJSON(jsonValue));
295
+ }
296
+ /**
297
+ * Creates a new WaaS signature policy for the specified wallet.
298
+ * Create a new WAAS signature policy for a wallet
299
+ */
300
+ async createWaasSignaturePolicy(requestParameters, initOverrides) {
301
+ const response = await this.createWaasSignaturePolicyRaw(requestParameters, initOverrides);
302
+ return await response.value();
303
+ }
268
304
  /**
269
305
  * Creates a new WAAS wallet for a user given an email or userId. If an email is provided and it is not associated with an existing user this call will also create a new user.
270
306
  * Create a WAAS wallet for a user
@@ -396,6 +432,38 @@ class WaasApi extends BaseAPI {
396
432
  const response = await this.deleteWaasPolicyRaw(requestParameters, initOverrides);
397
433
  return await response.value();
398
434
  }
435
+ /**
436
+ * Permanently removes a WaaS signature policy by wallet ID and policy ID.
437
+ * Delete a WAAS signature policy by walletId and policyId
438
+ */
439
+ async deleteWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides) {
440
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
441
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling deleteWaasSignaturePolicyByWalletIdAndPolicyId.');
442
+ }
443
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
444
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling deleteWaasSignaturePolicyByWalletIdAndPolicyId.');
445
+ }
446
+ if (requestParameters.policyId === null || requestParameters.policyId === undefined) {
447
+ throw new RequiredError('policyId', 'Required parameter requestParameters.policyId was null or undefined when calling deleteWaasSignaturePolicyByWalletIdAndPolicyId.');
448
+ }
449
+ const queryParameters = {};
450
+ const headerParameters = {};
451
+ const response = await this.request({
452
+ path: `/environments/{environmentId}/waas/{walletId}/signaturePolicy/{policyId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))).replace(`{${"policyId"}}`, encodeURIComponent(String(requestParameters.policyId))),
453
+ method: 'DELETE',
454
+ headers: headerParameters,
455
+ query: queryParameters,
456
+ }, initOverrides);
457
+ return new JSONApiResponse(response, (jsonValue) => WaasWalletSignaturePolicyTmpResponseFromJSON(jsonValue));
458
+ }
459
+ /**
460
+ * Permanently removes a WaaS signature policy by wallet ID and policy ID.
461
+ * Delete a WAAS signature policy by walletId and policyId
462
+ */
463
+ async deleteWaasSignaturePolicyByWalletIdAndPolicyId(requestParameters, initOverrides) {
464
+ const response = await this.deleteWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides);
465
+ return await response.value();
466
+ }
399
467
  /**
400
468
  * Fetches the encryption public key used for delegated access in a WAAS environment. By default, returns only the latest active key.
401
469
  * Get delegated access encryption public key for an environment
@@ -506,6 +574,67 @@ class WaasApi extends BaseAPI {
506
574
  const response = await this.getWaasPolicyRaw(requestParameters, initOverrides);
507
575
  return await response.value();
508
576
  }
577
+ /**
578
+ * Returns all active WaaS signature policies for the specified wallet.
579
+ * Get all active WAAS signature policies for a wallet
580
+ */
581
+ async getWaasSignaturePoliciesRaw(requestParameters, initOverrides) {
582
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
583
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasSignaturePolicies.');
584
+ }
585
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
586
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasSignaturePolicies.');
587
+ }
588
+ const queryParameters = {};
589
+ const headerParameters = {};
590
+ const response = await this.request({
591
+ path: `/environments/{environmentId}/waas/{walletId}/signaturePolicy`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
592
+ method: 'GET',
593
+ headers: headerParameters,
594
+ query: queryParameters,
595
+ }, initOverrides);
596
+ return new JSONApiResponse(response, (jsonValue) => jsonValue.map(WaasWalletSignaturePolicyTmpResponseFromJSON));
597
+ }
598
+ /**
599
+ * Returns all active WaaS signature policies for the specified wallet.
600
+ * Get all active WAAS signature policies for a wallet
601
+ */
602
+ async getWaasSignaturePolicies(requestParameters, initOverrides) {
603
+ const response = await this.getWaasSignaturePoliciesRaw(requestParameters, initOverrides);
604
+ return await response.value();
605
+ }
606
+ /**
607
+ * Returns a WaaS signature policy by wallet ID and policy ID.
608
+ * Get a WAAS signature policy by walletId and policyId
609
+ */
610
+ async getWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides) {
611
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
612
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasSignaturePolicyByWalletIdAndPolicyId.');
613
+ }
614
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
615
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasSignaturePolicyByWalletIdAndPolicyId.');
616
+ }
617
+ if (requestParameters.policyId === null || requestParameters.policyId === undefined) {
618
+ throw new RequiredError('policyId', 'Required parameter requestParameters.policyId was null or undefined when calling getWaasSignaturePolicyByWalletIdAndPolicyId.');
619
+ }
620
+ const queryParameters = {};
621
+ const headerParameters = {};
622
+ const response = await this.request({
623
+ path: `/environments/{environmentId}/waas/{walletId}/signaturePolicy/{policyId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))).replace(`{${"policyId"}}`, encodeURIComponent(String(requestParameters.policyId))),
624
+ method: 'GET',
625
+ headers: headerParameters,
626
+ query: queryParameters,
627
+ }, initOverrides);
628
+ return new JSONApiResponse(response, (jsonValue) => WaasWalletSignaturePolicyTmpResponseFromJSON(jsonValue));
629
+ }
630
+ /**
631
+ * Returns a WaaS signature policy by wallet ID and policy ID.
632
+ * Get a WAAS signature policy by walletId and policyId
633
+ */
634
+ async getWaasSignaturePolicyByWalletIdAndPolicyId(requestParameters, initOverrides) {
635
+ const response = await this.getWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides);
636
+ return await response.value();
637
+ }
509
638
  /**
510
639
  * Returns a WaaS wallet by its wallet ID.
511
640
  * Get a specific WAAS wallet by walletId
@@ -622,6 +751,43 @@ class WaasApi extends BaseAPI {
622
751
  const response = await this.updateWaasPolicyRaw(requestParameters, initOverrides);
623
752
  return await response.value();
624
753
  }
754
+ /**
755
+ * Updates a WaaS signature policy by wallet ID and policy ID.
756
+ * Update a WAAS signature policy by walletId and policyId
757
+ */
758
+ async updateWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides) {
759
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
760
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling updateWaasSignaturePolicyByWalletIdAndPolicyId.');
761
+ }
762
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
763
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling updateWaasSignaturePolicyByWalletIdAndPolicyId.');
764
+ }
765
+ if (requestParameters.policyId === null || requestParameters.policyId === undefined) {
766
+ throw new RequiredError('policyId', 'Required parameter requestParameters.policyId was null or undefined when calling updateWaasSignaturePolicyByWalletIdAndPolicyId.');
767
+ }
768
+ if (requestParameters.waasWalletSignaturePolicyTmpCreateRequest === null || requestParameters.waasWalletSignaturePolicyTmpCreateRequest === undefined) {
769
+ throw new RequiredError('waasWalletSignaturePolicyTmpCreateRequest', 'Required parameter requestParameters.waasWalletSignaturePolicyTmpCreateRequest was null or undefined when calling updateWaasSignaturePolicyByWalletIdAndPolicyId.');
770
+ }
771
+ const queryParameters = {};
772
+ const headerParameters = {};
773
+ headerParameters['Content-Type'] = 'application/json';
774
+ const response = await this.request({
775
+ path: `/environments/{environmentId}/waas/{walletId}/signaturePolicy/{policyId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))).replace(`{${"policyId"}}`, encodeURIComponent(String(requestParameters.policyId))),
776
+ method: 'PUT',
777
+ headers: headerParameters,
778
+ query: queryParameters,
779
+ body: WaasWalletSignaturePolicyTmpCreateRequestToJSON(requestParameters.waasWalletSignaturePolicyTmpCreateRequest),
780
+ }, initOverrides);
781
+ return new JSONApiResponse(response, (jsonValue) => WaasWalletSignaturePolicyTmpResponseFromJSON(jsonValue));
782
+ }
783
+ /**
784
+ * Updates a WaaS signature policy by wallet ID and policy ID.
785
+ * Update a WAAS signature policy by walletId and policyId
786
+ */
787
+ async updateWaasSignaturePolicyByWalletIdAndPolicyId(requestParameters, initOverrides) {
788
+ const response = await this.updateWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides);
789
+ return await response.value();
790
+ }
625
791
  /**
626
792
  * 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.
627
793
  * Verify if an API key is valid for a specific environment
@@ -24,7 +24,7 @@ export interface AttachSourceRequest {
24
24
  */
25
25
  sourceType: CheckoutSourceTypeEnum;
26
26
  /**
27
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
27
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
28
28
  * @type {string}
29
29
  * @memberof AttachSourceRequest
30
30
  */
@@ -35,7 +35,7 @@ export interface ChainalysisCheck {
35
35
  */
36
36
  result: ChainalysisCheckResultEnum;
37
37
  /**
38
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
38
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
39
39
  * @type {string}
40
40
  * @memberof ChainalysisCheck
41
41
  */
@@ -28,7 +28,7 @@ export interface CheckoutSettlementData {
28
28
  */
29
29
  toToken: string;
30
30
  /**
31
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
31
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
32
32
  * @type {string}
33
33
  * @memberof CheckoutSettlementData
34
34
  */
@@ -91,7 +91,7 @@ export interface CheckoutTransaction {
91
91
  */
92
92
  sourceType?: CheckoutSourceTypeEnum;
93
93
  /**
94
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
94
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
95
95
  * @type {string}
96
96
  * @memberof CheckoutTransaction
97
97
  */
@@ -115,7 +115,7 @@ export interface CheckoutTransaction {
115
115
  */
116
116
  fromToken?: string;
117
117
  /**
118
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
118
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
119
119
  * @type {string}
120
120
  * @memberof CheckoutTransaction
121
121
  */
@@ -17,7 +17,7 @@ import { ChainEnum } from './ChainEnum';
17
17
  */
18
18
  export interface CheckoutTransactionDestinationAddress {
19
19
  /**
20
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
20
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
21
21
  * @type {string}
22
22
  * @memberof CheckoutTransactionDestinationAddress
23
23
  */
@@ -47,7 +47,7 @@ export interface CoinbaseOnrampGetBuyUrlRequest {
47
47
  */
48
48
  defaultPaymentMethod?: string;
49
49
  /**
50
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
50
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
51
51
  * @type {string}
52
52
  * @memberof CoinbaseOnrampGetBuyUrlRequest
53
53
  */
@@ -73,7 +73,7 @@ export interface CoinbaseOnrampOrder {
73
73
  */
74
74
  exchangeRate: string;
75
75
  /**
76
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
76
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
77
77
  * @type {string}
78
78
  * @memberof CoinbaseOnrampOrder
79
79
  */
@@ -23,7 +23,7 @@ export interface CoinbaseOnrampOrderCreateRequest {
23
23
  */
24
24
  agreementAcceptedAt: Date;
25
25
  /**
26
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
26
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
27
27
  * @type {string}
28
28
  * @memberof CoinbaseOnrampOrderCreateRequest
29
29
  */
@@ -19,7 +19,7 @@ import { WalletProviderEnum } from './WalletProviderEnum';
19
19
  */
20
20
  export interface ConnectRequest {
21
21
  /**
22
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
22
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
23
23
  * @type {string}
24
24
  * @memberof ConnectRequest
25
25
  */
@@ -19,7 +19,7 @@ import { WalletProviderEnum } from './WalletProviderEnum';
19
19
  */
20
20
  export interface CreateWalletRequest {
21
21
  /**
22
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
22
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
23
23
  * @type {string}
24
24
  * @memberof CreateWalletRequest
25
25
  */
@@ -53,7 +53,7 @@ export interface CryptoDotComPaymentCreateRequest {
53
53
  */
54
54
  subMerchantId?: string;
55
55
  /**
56
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
56
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
57
57
  * @type {string}
58
58
  * @memberof CryptoDotComPaymentCreateRequest
59
59
  */
@@ -34,7 +34,7 @@ export interface Eip712Domain {
34
34
  */
35
35
  chainId?: number;
36
36
  /**
37
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
37
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
38
38
  * @type {string}
39
39
  * @memberof Eip712Domain
40
40
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface ForbiddenErrorPayload {
18
18
  /**
19
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
19
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
20
20
  * @type {string}
21
21
  * @memberof ForbiddenErrorPayload
22
22
  */
@@ -17,7 +17,7 @@ import { RoleEnum } from './RoleEnum';
17
17
  */
18
18
  export interface InviteSendRequest {
19
19
  /**
20
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
20
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
21
21
  * @type {string}
22
22
  * @memberof InviteSendRequest
23
23
  */
@@ -18,7 +18,7 @@ import { WalletProviderEnum } from './WalletProviderEnum';
18
18
  */
19
19
  export interface JwtBlockchainAccount {
20
20
  /**
21
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
21
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
22
22
  * @type {string}
23
23
  * @memberof JwtBlockchainAccount
24
24
  */
@@ -22,7 +22,7 @@ import { WalletProviderEnum } from './WalletProviderEnum';
22
22
  */
23
23
  export interface JwtVerifiedCredential {
24
24
  /**
25
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
25
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
26
26
  * @type {string}
27
27
  * @memberof JwtVerifiedCredential
28
28
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface NameServiceCreateRequest {
18
18
  /**
19
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
19
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
20
20
  * @type {string}
21
21
  * @memberof NameServiceCreateRequest
22
22
  */
@@ -22,7 +22,7 @@ export interface NameServiceResponse {
22
22
  */
23
23
  id: string;
24
24
  /**
25
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
25
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
26
26
  * @type {string}
27
27
  * @memberof NameServiceResponse
28
28
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface NameServiceSigningMessageRequest {
18
18
  /**
19
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
19
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
20
20
  * @type {string}
21
21
  * @memberof NameServiceSigningMessageRequest
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface PostAllowlistEntriesRequest {
18
18
  /**
19
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
19
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
20
20
  * @type {string}
21
21
  * @memberof PostAllowlistEntriesRequest
22
22
  */
@@ -23,7 +23,7 @@ export interface PrefetchRequest {
23
23
  */
24
24
  chain: ChainEnum;
25
25
  /**
26
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
26
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
27
27
  * @type {string}
28
28
  * @memberof PrefetchRequest
29
29
  */
@@ -28,13 +28,13 @@ export interface SimulateEVMTransactionRequest {
28
28
  */
29
29
  data: string;
30
30
  /**
31
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
31
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
32
32
  * @type {string}
33
33
  * @memberof SimulateEVMTransactionRequest
34
34
  */
35
35
  from: string;
36
36
  /**
37
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
37
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
38
38
  * @type {string}
39
39
  * @memberof SimulateEVMTransactionRequest
40
40
  */
@@ -28,7 +28,7 @@ export interface SimulateUserOpRequest {
28
28
  */
29
29
  operation: object;
30
30
  /**
31
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
31
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
32
32
  * @type {string}
33
33
  * @memberof SimulateUserOpRequest
34
34
  */
@@ -17,7 +17,7 @@ import { ChainEnum } from './ChainEnum';
17
17
  */
18
18
  export interface SwapQuoteRequestSide {
19
19
  /**
20
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
20
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
21
21
  * @type {string}
22
22
  * @memberof SwapQuoteRequestSide
23
23
  */
@@ -22,7 +22,7 @@ export interface TokenBalance {
22
22
  */
23
23
  networkId?: number;
24
24
  /**
25
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
25
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
26
26
  * @type {string}
27
27
  * @memberof TokenBalance
28
28
  */
@@ -22,7 +22,7 @@ export interface TransactionFeeEstimateRequest {
22
22
  */
23
23
  base64RawTransaction?: string;
24
24
  /**
25
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
25
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
26
26
  * @type {string}
27
27
  * @memberof TransactionFeeEstimateRequest
28
28
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface TransferDestination {
18
18
  /**
19
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
19
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
20
20
  * @type {string}
21
21
  * @memberof TransferDestination
22
22
  */
@@ -37,7 +37,7 @@ export interface Wallet {
37
37
  */
38
38
  chain: ChainEnum;
39
39
  /**
40
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
40
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
41
41
  * @type {string}
42
42
  * @memberof Wallet
43
43
  */
@@ -45,13 +45,13 @@ export interface WalletDetail {
45
45
  */
46
46
  chain: ChainEnum;
47
47
  /**
48
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
48
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
49
49
  * @type {string}
50
50
  * @memberof WalletDetail
51
51
  */
52
52
  publicKey: string;
53
53
  /**
54
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
54
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
55
55
  * @type {string}
56
56
  * @memberof WalletDetail
57
57
  */
@@ -17,7 +17,7 @@ import { ChainEnum } from './ChainEnum';
17
17
  */
18
18
  export interface WalletSanctionsResponse {
19
19
  /**
20
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
20
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
21
21
  * @type {string}
22
22
  * @memberof WalletSanctionsResponse
23
23
  */