@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.
- package/package.json +1 -1
- package/src/apis/AllowlistsApi.cjs +26 -6
- package/src/apis/AllowlistsApi.d.ts +26 -6
- package/src/apis/AllowlistsApi.js +26 -6
- package/src/apis/AnalyticsApi.cjs +12 -0
- package/src/apis/AnalyticsApi.d.ts +12 -0
- package/src/apis/AnalyticsApi.js +12 -0
- package/src/apis/ChainalysisApi.cjs +6 -0
- package/src/apis/ChainalysisApi.d.ts +6 -0
- package/src/apis/ChainalysisApi.js +6 -0
- package/src/apis/ChainsApi.cjs +4 -2
- package/src/apis/ChainsApi.d.ts +4 -2
- package/src/apis/ChainsApi.js +4 -2
- package/src/apis/CustomFieldsApi.cjs +14 -4
- package/src/apis/CustomFieldsApi.d.ts +14 -4
- package/src/apis/CustomFieldsApi.js +14 -4
- package/src/apis/CustomHostnamesApi.cjs +10 -4
- package/src/apis/CustomHostnamesApi.d.ts +10 -4
- package/src/apis/CustomHostnamesApi.js +10 -4
- package/src/apis/CustomNetworksApi.cjs +10 -0
- package/src/apis/CustomNetworksApi.d.ts +10 -0
- package/src/apis/CustomNetworksApi.js +10 -0
- package/src/apis/DeeplinkUrlsApi.cjs +12 -6
- package/src/apis/DeeplinkUrlsApi.d.ts +12 -6
- package/src/apis/DeeplinkUrlsApi.js +12 -6
- package/src/apis/EnvironmentsApi.cjs +108 -10
- package/src/apis/EnvironmentsApi.d.ts +49 -11
- package/src/apis/EnvironmentsApi.js +108 -10
- package/src/apis/EventsApi.cjs +8 -2
- package/src/apis/EventsApi.d.ts +8 -2
- package/src/apis/EventsApi.js +8 -2
- package/src/apis/ExportsApi.cjs +8 -0
- package/src/apis/ExportsApi.d.ts +8 -0
- package/src/apis/ExportsApi.js +8 -0
- package/src/apis/ExternalJwtApi.cjs +4 -2
- package/src/apis/ExternalJwtApi.d.ts +4 -2
- package/src/apis/ExternalJwtApi.js +4 -2
- package/src/apis/GatesApi.cjs +16 -2
- package/src/apis/GatesApi.d.ts +16 -2
- package/src/apis/GatesApi.js +16 -2
- package/src/apis/GlobalWalletAccessControlApi.cjs +22 -8
- package/src/apis/GlobalWalletAccessControlApi.d.ts +22 -8
- package/src/apis/GlobalWalletAccessControlApi.js +22 -8
- package/src/apis/GlobalWalletConnectionsApi.cjs +4 -2
- package/src/apis/GlobalWalletConnectionsApi.d.ts +4 -2
- package/src/apis/GlobalWalletConnectionsApi.js +4 -2
- package/src/apis/GlobalWalletsApi.cjs +18 -8
- package/src/apis/GlobalWalletsApi.d.ts +18 -8
- package/src/apis/GlobalWalletsApi.js +18 -8
- package/src/apis/InvitesApi.cjs +16 -6
- package/src/apis/InvitesApi.d.ts +16 -6
- package/src/apis/InvitesApi.js +16 -6
- package/src/apis/MembersApi.cjs +16 -8
- package/src/apis/MembersApi.d.ts +16 -8
- package/src/apis/MembersApi.js +16 -8
- package/src/apis/MfaApi.cjs +8 -4
- package/src/apis/MfaApi.d.ts +8 -4
- package/src/apis/MfaApi.js +8 -4
- package/src/apis/MfaSettingsApi.cjs +6 -0
- package/src/apis/MfaSettingsApi.d.ts +6 -0
- package/src/apis/MfaSettingsApi.js +6 -0
- package/src/apis/NameServicesApi.cjs +22 -10
- package/src/apis/NameServicesApi.d.ts +22 -10
- package/src/apis/NameServicesApi.js +22 -10
- package/src/apis/OrganizationsApi.cjs +34 -10
- package/src/apis/OrganizationsApi.d.ts +34 -10
- package/src/apis/OrganizationsApi.js +34 -10
- package/src/apis/OriginsApi.cjs +12 -6
- package/src/apis/OriginsApi.d.ts +12 -6
- package/src/apis/OriginsApi.js +12 -6
- package/src/apis/ProjectsApi.cjs +18 -8
- package/src/apis/ProjectsApi.d.ts +18 -8
- package/src/apis/ProjectsApi.js +18 -8
- package/src/apis/SDKApi.cjs +554 -162
- package/src/apis/SDKApi.d.ts +423 -163
- package/src/apis/SDKApi.js +554 -162
- package/src/apis/SDKViewsApi.cjs +12 -6
- package/src/apis/SDKViewsApi.d.ts +12 -6
- package/src/apis/SDKViewsApi.js +12 -6
- package/src/apis/SessionsApi.cjs +4 -0
- package/src/apis/SessionsApi.d.ts +4 -0
- package/src/apis/SessionsApi.js +4 -0
- package/src/apis/SettingsApi.cjs +32 -4
- package/src/apis/SettingsApi.d.ts +32 -4
- package/src/apis/SettingsApi.js +32 -4
- package/src/apis/TestAccountApi.cjs +10 -4
- package/src/apis/TestAccountApi.d.ts +10 -4
- package/src/apis/TestAccountApi.js +10 -4
- package/src/apis/TokensApi.cjs +12 -6
- package/src/apis/TokensApi.d.ts +12 -6
- package/src/apis/TokensApi.js +12 -6
- package/src/apis/UserApiTokensApi.cjs +12 -6
- package/src/apis/UserApiTokensApi.d.ts +12 -6
- package/src/apis/UserApiTokensApi.js +12 -6
- package/src/apis/UsersApi.cjs +28 -4
- package/src/apis/UsersApi.d.ts +28 -4
- package/src/apis/UsersApi.js +28 -4
- package/src/apis/VisitsApi.cjs +2 -0
- package/src/apis/VisitsApi.d.ts +2 -0
- package/src/apis/VisitsApi.js +2 -0
- package/src/apis/WaasApi.cjs +36 -8
- package/src/apis/WaasApi.d.ts +35 -7
- package/src/apis/WaasApi.js +36 -8
- package/src/apis/WalletConnectApi.cjs +2 -0
- package/src/apis/WalletConnectApi.d.ts +2 -0
- package/src/apis/WalletConnectApi.js +2 -0
- package/src/apis/WalletsApi.cjs +20 -6
- package/src/apis/WalletsApi.d.ts +20 -6
- package/src/apis/WalletsApi.js +20 -6
- package/src/apis/WebhooksApi.cjs +32 -16
- package/src/apis/WebhooksApi.d.ts +32 -16
- package/src/apis/WebhooksApi.js +32 -16
- package/src/index.cjs +4 -0
- package/src/index.js +1 -0
- package/src/models/SignMessageBtcTransaction.cjs +5 -13
- package/src/models/SignMessageBtcTransaction.d.ts +8 -2
- package/src/models/SignMessageBtcTransaction.js +5 -13
- package/src/models/SmsVerificationVerifyRequest.cjs +3 -0
- package/src/models/SmsVerificationVerifyRequest.d.ts +7 -0
- package/src/models/SmsVerificationVerifyRequest.js +3 -0
- package/src/models/UserFilterableFieldsEnum.cjs +1 -0
- package/src/models/UserFilterableFieldsEnum.d.ts +2 -1
- package/src/models/UserFilterableFieldsEnum.js +1 -0
- package/src/models/WalletSanctionsResponse.cjs +37 -0
- package/src/models/WalletSanctionsResponse.d.ts +40 -0
- package/src/models/WalletSanctionsResponse.js +31 -0
- package/src/models/index.d.ts +1 -0
package/src/apis/WaasApi.js
CHANGED
|
@@ -120,7 +120,8 @@ import '../models/WalletTransactionType.js';
|
|
|
120
120
|
*/
|
|
121
121
|
class WaasApi extends BaseAPI {
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
123
|
+
* Authenticates for WaaS using an API key.
|
|
124
|
+
* Authenticate for WAAS using an API key
|
|
124
125
|
*/
|
|
125
126
|
authenticateWaasRaw(requestParameters, initOverrides) {
|
|
126
127
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -146,7 +147,8 @@ class WaasApi extends BaseAPI {
|
|
|
146
147
|
});
|
|
147
148
|
}
|
|
148
149
|
/**
|
|
149
|
-
*
|
|
150
|
+
* Authenticates for WaaS using an API key.
|
|
151
|
+
* Authenticate for WAAS using an API key
|
|
150
152
|
*/
|
|
151
153
|
authenticateWaas(requestParameters, initOverrides) {
|
|
152
154
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -200,6 +202,7 @@ class WaasApi extends BaseAPI {
|
|
|
200
202
|
});
|
|
201
203
|
}
|
|
202
204
|
/**
|
|
205
|
+
* Creates new encryption public key credentials for WaaS wallet delegation.
|
|
203
206
|
* Create credentials for waas wallet delegation
|
|
204
207
|
*/
|
|
205
208
|
createDelegatedCredentialsRaw(requestParameters, initOverrides) {
|
|
@@ -224,6 +227,7 @@ class WaasApi extends BaseAPI {
|
|
|
224
227
|
});
|
|
225
228
|
}
|
|
226
229
|
/**
|
|
230
|
+
* Creates new encryption public key credentials for WaaS wallet delegation.
|
|
227
231
|
* Create credentials for waas wallet delegation
|
|
228
232
|
*/
|
|
229
233
|
createDelegatedCredentials(requestParameters, initOverrides) {
|
|
@@ -233,6 +237,7 @@ class WaasApi extends BaseAPI {
|
|
|
233
237
|
});
|
|
234
238
|
}
|
|
235
239
|
/**
|
|
240
|
+
* Creates a new WaaS policy for the specified environment.
|
|
236
241
|
* Create a new WAAS policy for an environment or add new rules to an existing policy
|
|
237
242
|
*/
|
|
238
243
|
createWaasPolicyRaw(requestParameters, initOverrides) {
|
|
@@ -257,6 +262,7 @@ class WaasApi extends BaseAPI {
|
|
|
257
262
|
});
|
|
258
263
|
}
|
|
259
264
|
/**
|
|
265
|
+
* Creates a new WaaS policy for the specified environment.
|
|
260
266
|
* Create a new WAAS policy for an environment or add new rules to an existing policy
|
|
261
267
|
*/
|
|
262
268
|
createWaasPolicy(requestParameters, initOverrides) {
|
|
@@ -266,6 +272,7 @@ class WaasApi extends BaseAPI {
|
|
|
266
272
|
});
|
|
267
273
|
}
|
|
268
274
|
/**
|
|
275
|
+
* Creates a new WaaS signature policy for the specified wallet.
|
|
269
276
|
* Create a new WAAS signature policy for a wallet
|
|
270
277
|
*/
|
|
271
278
|
createWaasSignaturePolicyRaw(requestParameters, initOverrides) {
|
|
@@ -293,6 +300,7 @@ class WaasApi extends BaseAPI {
|
|
|
293
300
|
});
|
|
294
301
|
}
|
|
295
302
|
/**
|
|
303
|
+
* Creates a new WaaS signature policy for the specified wallet.
|
|
296
304
|
* Create a new WAAS signature policy for a wallet
|
|
297
305
|
*/
|
|
298
306
|
createWaasSignaturePolicy(requestParameters, initOverrides) {
|
|
@@ -303,7 +311,7 @@ class WaasApi extends BaseAPI {
|
|
|
303
311
|
}
|
|
304
312
|
/**
|
|
305
313
|
* 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.
|
|
306
|
-
* Create a
|
|
314
|
+
* Create a WAAS wallet for a user
|
|
307
315
|
*/
|
|
308
316
|
createWaasWalletRaw(requestParameters, initOverrides) {
|
|
309
317
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -335,7 +343,7 @@ class WaasApi extends BaseAPI {
|
|
|
335
343
|
}
|
|
336
344
|
/**
|
|
337
345
|
* 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.
|
|
338
|
-
* Create a
|
|
346
|
+
* Create a WAAS wallet for a user
|
|
339
347
|
*/
|
|
340
348
|
createWaasWallet(requestParameters, initOverrides) {
|
|
341
349
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -344,6 +352,7 @@ class WaasApi extends BaseAPI {
|
|
|
344
352
|
});
|
|
345
353
|
}
|
|
346
354
|
/**
|
|
355
|
+
* Signs a message using a delegated WaaS account.
|
|
347
356
|
* Sign a message with a delegated waas account
|
|
348
357
|
*/
|
|
349
358
|
delegatedSignMessageRaw(requestParameters, initOverrides) {
|
|
@@ -371,6 +380,7 @@ class WaasApi extends BaseAPI {
|
|
|
371
380
|
});
|
|
372
381
|
}
|
|
373
382
|
/**
|
|
383
|
+
* Signs a message using a delegated WaaS account.
|
|
374
384
|
* Sign a message with a delegated waas account
|
|
375
385
|
*/
|
|
376
386
|
delegatedSignMessage(requestParameters, initOverrides) {
|
|
@@ -412,6 +422,7 @@ class WaasApi extends BaseAPI {
|
|
|
412
422
|
});
|
|
413
423
|
}
|
|
414
424
|
/**
|
|
425
|
+
* Permanently removes the specified WaaS policy rule.
|
|
415
426
|
* Delete a WAAS policy rule by ruleId
|
|
416
427
|
*/
|
|
417
428
|
deleteWaasPolicyRaw(requestParameters, initOverrides) {
|
|
@@ -436,6 +447,7 @@ class WaasApi extends BaseAPI {
|
|
|
436
447
|
});
|
|
437
448
|
}
|
|
438
449
|
/**
|
|
450
|
+
* Permanently removes the specified WaaS policy rule.
|
|
439
451
|
* Delete a WAAS policy rule by ruleId
|
|
440
452
|
*/
|
|
441
453
|
deleteWaasPolicy(requestParameters, initOverrides) {
|
|
@@ -445,6 +457,7 @@ class WaasApi extends BaseAPI {
|
|
|
445
457
|
});
|
|
446
458
|
}
|
|
447
459
|
/**
|
|
460
|
+
* Permanently removes a WaaS signature policy by wallet ID and policy ID.
|
|
448
461
|
* Delete a WAAS signature policy by walletId and policyId
|
|
449
462
|
*/
|
|
450
463
|
deleteWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides) {
|
|
@@ -470,6 +483,7 @@ class WaasApi extends BaseAPI {
|
|
|
470
483
|
});
|
|
471
484
|
}
|
|
472
485
|
/**
|
|
486
|
+
* Permanently removes a WaaS signature policy by wallet ID and policy ID.
|
|
473
487
|
* Delete a WAAS signature policy by walletId and policyId
|
|
474
488
|
*/
|
|
475
489
|
deleteWaasSignaturePolicyByWalletIdAndPolicyId(requestParameters, initOverrides) {
|
|
@@ -509,6 +523,7 @@ class WaasApi extends BaseAPI {
|
|
|
509
523
|
});
|
|
510
524
|
}
|
|
511
525
|
/**
|
|
526
|
+
* Returns a delegated access encryption public key by its ID.
|
|
512
527
|
* Get a specific delegated access encryption public key by ID
|
|
513
528
|
*/
|
|
514
529
|
getDelegatedAccessEncryptionPublicKeyByIdRaw(requestParameters, initOverrides) {
|
|
@@ -531,6 +546,7 @@ class WaasApi extends BaseAPI {
|
|
|
531
546
|
});
|
|
532
547
|
}
|
|
533
548
|
/**
|
|
549
|
+
* Returns a delegated access encryption public key by its ID.
|
|
534
550
|
* Get a specific delegated access encryption public key by ID
|
|
535
551
|
*/
|
|
536
552
|
getDelegatedAccessEncryptionPublicKeyById(requestParameters, initOverrides) {
|
|
@@ -573,6 +589,7 @@ class WaasApi extends BaseAPI {
|
|
|
573
589
|
});
|
|
574
590
|
}
|
|
575
591
|
/**
|
|
592
|
+
* Returns the WaaS policy for the specified environment.
|
|
576
593
|
* Get the WAAS policy for an environment
|
|
577
594
|
*/
|
|
578
595
|
getWaasPolicyRaw(requestParameters, initOverrides) {
|
|
@@ -592,6 +609,7 @@ class WaasApi extends BaseAPI {
|
|
|
592
609
|
});
|
|
593
610
|
}
|
|
594
611
|
/**
|
|
612
|
+
* Returns the WaaS policy for the specified environment.
|
|
595
613
|
* Get the WAAS policy for an environment
|
|
596
614
|
*/
|
|
597
615
|
getWaasPolicy(requestParameters, initOverrides) {
|
|
@@ -601,6 +619,7 @@ class WaasApi extends BaseAPI {
|
|
|
601
619
|
});
|
|
602
620
|
}
|
|
603
621
|
/**
|
|
622
|
+
* Returns all active WaaS signature policies for the specified wallet.
|
|
604
623
|
* Get all active WAAS signature policies for a wallet
|
|
605
624
|
*/
|
|
606
625
|
getWaasSignaturePoliciesRaw(requestParameters, initOverrides) {
|
|
@@ -623,6 +642,7 @@ class WaasApi extends BaseAPI {
|
|
|
623
642
|
});
|
|
624
643
|
}
|
|
625
644
|
/**
|
|
645
|
+
* Returns all active WaaS signature policies for the specified wallet.
|
|
626
646
|
* Get all active WAAS signature policies for a wallet
|
|
627
647
|
*/
|
|
628
648
|
getWaasSignaturePolicies(requestParameters, initOverrides) {
|
|
@@ -632,6 +652,7 @@ class WaasApi extends BaseAPI {
|
|
|
632
652
|
});
|
|
633
653
|
}
|
|
634
654
|
/**
|
|
655
|
+
* Returns a WaaS signature policy by wallet ID and policy ID.
|
|
635
656
|
* Get a WAAS signature policy by walletId and policyId
|
|
636
657
|
*/
|
|
637
658
|
getWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides) {
|
|
@@ -657,6 +678,7 @@ class WaasApi extends BaseAPI {
|
|
|
657
678
|
});
|
|
658
679
|
}
|
|
659
680
|
/**
|
|
681
|
+
* Returns a WaaS signature policy by wallet ID and policy ID.
|
|
660
682
|
* Get a WAAS signature policy by walletId and policyId
|
|
661
683
|
*/
|
|
662
684
|
getWaasSignaturePolicyByWalletIdAndPolicyId(requestParameters, initOverrides) {
|
|
@@ -666,6 +688,7 @@ class WaasApi extends BaseAPI {
|
|
|
666
688
|
});
|
|
667
689
|
}
|
|
668
690
|
/**
|
|
691
|
+
* Returns a WaaS wallet by its wallet ID.
|
|
669
692
|
* Get a specific WAAS wallet by walletId
|
|
670
693
|
*/
|
|
671
694
|
getWaasWalletByWalletIdRaw(requestParameters, initOverrides) {
|
|
@@ -688,6 +711,7 @@ class WaasApi extends BaseAPI {
|
|
|
688
711
|
});
|
|
689
712
|
}
|
|
690
713
|
/**
|
|
714
|
+
* Returns a WaaS wallet by its wallet ID.
|
|
691
715
|
* Get a specific WAAS wallet by walletId
|
|
692
716
|
*/
|
|
693
717
|
getWaasWalletByWalletId(requestParameters, initOverrides) {
|
|
@@ -761,6 +785,7 @@ class WaasApi extends BaseAPI {
|
|
|
761
785
|
});
|
|
762
786
|
}
|
|
763
787
|
/**
|
|
788
|
+
* Updates the WaaS policy for the specified environment.
|
|
764
789
|
* Update the WAAS policy for an environment by ruleId
|
|
765
790
|
*/
|
|
766
791
|
updateWaasPolicyRaw(requestParameters, initOverrides) {
|
|
@@ -785,6 +810,7 @@ class WaasApi extends BaseAPI {
|
|
|
785
810
|
});
|
|
786
811
|
}
|
|
787
812
|
/**
|
|
813
|
+
* Updates the WaaS policy for the specified environment.
|
|
788
814
|
* Update the WAAS policy for an environment by ruleId
|
|
789
815
|
*/
|
|
790
816
|
updateWaasPolicy(requestParameters, initOverrides) {
|
|
@@ -794,6 +820,7 @@ class WaasApi extends BaseAPI {
|
|
|
794
820
|
});
|
|
795
821
|
}
|
|
796
822
|
/**
|
|
823
|
+
* Updates a WaaS signature policy by wallet ID and policy ID.
|
|
797
824
|
* Update a WAAS signature policy by walletId and policyId
|
|
798
825
|
*/
|
|
799
826
|
updateWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides) {
|
|
@@ -824,6 +851,7 @@ class WaasApi extends BaseAPI {
|
|
|
824
851
|
});
|
|
825
852
|
}
|
|
826
853
|
/**
|
|
854
|
+
* Updates a WaaS signature policy by wallet ID and policy ID.
|
|
827
855
|
* Update a WAAS signature policy by walletId and policyId
|
|
828
856
|
*/
|
|
829
857
|
updateWaasSignaturePolicyByWalletIdAndPolicyId(requestParameters, initOverrides) {
|
|
@@ -836,10 +864,10 @@ class WaasApi extends BaseAPI {
|
|
|
836
864
|
* 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.
|
|
837
865
|
* Verify if an API key is valid for a specific environment
|
|
838
866
|
*/
|
|
839
|
-
|
|
867
|
+
waasVerifyApiKeyRaw(requestParameters, initOverrides) {
|
|
840
868
|
return __awaiter(this, void 0, void 0, function* () {
|
|
841
869
|
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
842
|
-
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling
|
|
870
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling waasVerifyApiKey.');
|
|
843
871
|
}
|
|
844
872
|
const queryParameters = {};
|
|
845
873
|
const headerParameters = {};
|
|
@@ -863,9 +891,9 @@ class WaasApi extends BaseAPI {
|
|
|
863
891
|
* 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.
|
|
864
892
|
* Verify if an API key is valid for a specific environment
|
|
865
893
|
*/
|
|
866
|
-
|
|
894
|
+
waasVerifyApiKey(requestParameters, initOverrides) {
|
|
867
895
|
return __awaiter(this, void 0, void 0, function* () {
|
|
868
|
-
const response = yield this.
|
|
896
|
+
const response = yield this.waasVerifyApiKeyRaw(requestParameters, initOverrides);
|
|
869
897
|
return yield response.value();
|
|
870
898
|
});
|
|
871
899
|
}
|
|
@@ -106,6 +106,7 @@ require('../models/WalletTransactionType.cjs');
|
|
|
106
106
|
*/
|
|
107
107
|
class WalletConnectApi extends runtime.BaseAPI {
|
|
108
108
|
/**
|
|
109
|
+
* Creates or updates a WalletConnect project for the specified environment using the partner API.
|
|
109
110
|
* Create or update a WalletConnect project for this environment using the partner API
|
|
110
111
|
*/
|
|
111
112
|
upsertWalletConnectProjectRaw(requestParameters, initOverrides) {
|
|
@@ -130,6 +131,7 @@ class WalletConnectApi extends runtime.BaseAPI {
|
|
|
130
131
|
});
|
|
131
132
|
}
|
|
132
133
|
/**
|
|
134
|
+
* Creates or updates a WalletConnect project for the specified environment using the partner API.
|
|
133
135
|
* Create or update a WalletConnect project for this environment using the partner API
|
|
134
136
|
*/
|
|
135
137
|
upsertWalletConnectProject(requestParameters, initOverrides) {
|
|
@@ -20,10 +20,12 @@ export interface UpsertWalletConnectProjectRequest {
|
|
|
20
20
|
*/
|
|
21
21
|
export declare class WalletConnectApi extends runtime.BaseAPI {
|
|
22
22
|
/**
|
|
23
|
+
* Creates or updates a WalletConnect project for the specified environment using the partner API.
|
|
23
24
|
* Create or update a WalletConnect project for this environment using the partner API
|
|
24
25
|
*/
|
|
25
26
|
upsertWalletConnectProjectRaw(requestParameters: UpsertWalletConnectProjectRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WalletConnectProject>>;
|
|
26
27
|
/**
|
|
28
|
+
* Creates or updates a WalletConnect project for the specified environment using the partner API.
|
|
27
29
|
* Create or update a WalletConnect project for this environment using the partner API
|
|
28
30
|
*/
|
|
29
31
|
upsertWalletConnectProject(requestParameters: UpsertWalletConnectProjectRequest, initOverrides?: RequestInit): Promise<WalletConnectProject>;
|
|
@@ -102,6 +102,7 @@ import '../models/WalletTransactionType.js';
|
|
|
102
102
|
*/
|
|
103
103
|
class WalletConnectApi extends BaseAPI {
|
|
104
104
|
/**
|
|
105
|
+
* Creates or updates a WalletConnect project for the specified environment using the partner API.
|
|
105
106
|
* Create or update a WalletConnect project for this environment using the partner API
|
|
106
107
|
*/
|
|
107
108
|
upsertWalletConnectProjectRaw(requestParameters, initOverrides) {
|
|
@@ -126,6 +127,7 @@ class WalletConnectApi extends BaseAPI {
|
|
|
126
127
|
});
|
|
127
128
|
}
|
|
128
129
|
/**
|
|
130
|
+
* Creates or updates a WalletConnect project for the specified environment using the partner API.
|
|
129
131
|
* Create or update a WalletConnect project for this environment using the partner API
|
|
130
132
|
*/
|
|
131
133
|
upsertWalletConnectProject(requestParameters, initOverrides) {
|
package/src/apis/WalletsApi.cjs
CHANGED
|
@@ -114,7 +114,7 @@ var WalletsResponse = require('../models/WalletsResponse.cjs');
|
|
|
114
114
|
class WalletsApi extends runtime.BaseAPI {
|
|
115
115
|
/**
|
|
116
116
|
* Creates a new embedded 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.
|
|
117
|
-
*
|
|
117
|
+
* Create an embedded wallet for a user
|
|
118
118
|
*/
|
|
119
119
|
createEmbeddedWalletRaw(requestParameters, initOverrides) {
|
|
120
120
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -146,7 +146,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
146
146
|
}
|
|
147
147
|
/**
|
|
148
148
|
* Creates a new embedded 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.
|
|
149
|
-
*
|
|
149
|
+
* Create an embedded wallet for a user
|
|
150
150
|
*/
|
|
151
151
|
createEmbeddedWallet(requestParameters, initOverrides) {
|
|
152
152
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -156,7 +156,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
158
|
* Creates a new embedded wallet. This API is meant to be called from a frame server.
|
|
159
|
-
*
|
|
159
|
+
* Create an embedded wallet from Farcaster
|
|
160
160
|
*/
|
|
161
161
|
createEmbeddedWalletFromFarcasterRaw(requestParameters, initOverrides) {
|
|
162
162
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -188,7 +188,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
188
188
|
}
|
|
189
189
|
/**
|
|
190
190
|
* Creates a new embedded wallet. This API is meant to be called from a frame server.
|
|
191
|
-
*
|
|
191
|
+
* Create an embedded wallet from Farcaster
|
|
192
192
|
*/
|
|
193
193
|
createEmbeddedWalletFromFarcaster(requestParameters, initOverrides) {
|
|
194
194
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -198,7 +198,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
200
200
|
* Creates a new wallet for the user. Note that this API is not meant for creating embedded wallets. To create embedded wallets use the /embeddedWallets endpoint.
|
|
201
|
-
*
|
|
201
|
+
* Create a wallet for the user
|
|
202
202
|
*/
|
|
203
203
|
createWalletRaw(requestParameters, initOverrides) {
|
|
204
204
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -233,7 +233,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
233
233
|
}
|
|
234
234
|
/**
|
|
235
235
|
* Creates a new wallet for the user. Note that this API is not meant for creating embedded wallets. To create embedded wallets use the /embeddedWallets endpoint.
|
|
236
|
-
*
|
|
236
|
+
* Create a wallet for the user
|
|
237
237
|
*/
|
|
238
238
|
createWallet(requestParameters, initOverrides) {
|
|
239
239
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -284,6 +284,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
286
|
/**
|
|
287
|
+
* Permanently removes the specified wallet.
|
|
287
288
|
* Delete wallet
|
|
288
289
|
*/
|
|
289
290
|
deleteWalletByIdRaw(requestParameters, initOverrides) {
|
|
@@ -313,6 +314,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
313
314
|
});
|
|
314
315
|
}
|
|
315
316
|
/**
|
|
317
|
+
* Permanently removes the specified wallet.
|
|
316
318
|
* Delete wallet
|
|
317
319
|
*/
|
|
318
320
|
deleteWalletById(requestParameters, initOverrides) {
|
|
@@ -321,6 +323,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
321
323
|
});
|
|
322
324
|
}
|
|
323
325
|
/**
|
|
326
|
+
* Permanently removes the specified wallet (deprecated).
|
|
324
327
|
* Delete wallet (deprecated - use /environments/{environmentId}/wallets/{walletId} instead)
|
|
325
328
|
*/
|
|
326
329
|
deleteWalletByIdLegacyRaw(requestParameters, initOverrides) {
|
|
@@ -347,6 +350,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
347
350
|
});
|
|
348
351
|
}
|
|
349
352
|
/**
|
|
353
|
+
* Permanently removes the specified wallet (deprecated).
|
|
350
354
|
* Delete wallet (deprecated - use /environments/{environmentId}/wallets/{walletId} instead)
|
|
351
355
|
*/
|
|
352
356
|
deleteWalletByIdLegacy(requestParameters, initOverrides) {
|
|
@@ -355,6 +359,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
355
359
|
});
|
|
356
360
|
}
|
|
357
361
|
/**
|
|
362
|
+
* Returns the active embedded wallet versions for the specified environment.
|
|
358
363
|
* Get the active embedded wallet versions for an environment
|
|
359
364
|
*/
|
|
360
365
|
getActiveEmbeddedWalletVersionsForEnvironmentRaw(requestParameters, initOverrides) {
|
|
@@ -381,6 +386,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
381
386
|
});
|
|
382
387
|
}
|
|
383
388
|
/**
|
|
389
|
+
* Returns the active embedded wallet versions for the specified environment.
|
|
384
390
|
* Get the active embedded wallet versions for an environment
|
|
385
391
|
*/
|
|
386
392
|
getActiveEmbeddedWalletVersionsForEnvironment(requestParameters, initOverrides) {
|
|
@@ -390,6 +396,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
390
396
|
});
|
|
391
397
|
}
|
|
392
398
|
/**
|
|
399
|
+
* Returns a wallet by its unique identifier.
|
|
393
400
|
* Get a wallet using the ID
|
|
394
401
|
*/
|
|
395
402
|
getWalletByIdRaw(requestParameters, initOverrides) {
|
|
@@ -419,6 +426,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
419
426
|
});
|
|
420
427
|
}
|
|
421
428
|
/**
|
|
429
|
+
* Returns a wallet by its unique identifier.
|
|
422
430
|
* Get a wallet using the ID
|
|
423
431
|
*/
|
|
424
432
|
getWalletById(requestParameters, initOverrides) {
|
|
@@ -428,6 +436,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
428
436
|
});
|
|
429
437
|
}
|
|
430
438
|
/**
|
|
439
|
+
* Returns a wallet by its ID (deprecated).
|
|
431
440
|
* Get a wallet using the ID (deprecated - use /environments/{environmentId}/wallets/{walletId} instead)
|
|
432
441
|
*/
|
|
433
442
|
getWalletByIdLegacyRaw(requestParameters, initOverrides) {
|
|
@@ -454,6 +463,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
454
463
|
});
|
|
455
464
|
}
|
|
456
465
|
/**
|
|
466
|
+
* Returns a wallet by its ID (deprecated).
|
|
457
467
|
* Get a wallet using the ID (deprecated - use /environments/{environmentId}/wallets/{walletId} instead)
|
|
458
468
|
*/
|
|
459
469
|
getWalletByIdLegacy(requestParameters, initOverrides) {
|
|
@@ -506,6 +516,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
506
516
|
});
|
|
507
517
|
}
|
|
508
518
|
/**
|
|
519
|
+
* Returns the wallets for the specified user.
|
|
509
520
|
* Get wallets by user
|
|
510
521
|
*/
|
|
511
522
|
getWalletsByUserIdRaw(requestParameters, initOverrides) {
|
|
@@ -535,6 +546,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
535
546
|
});
|
|
536
547
|
}
|
|
537
548
|
/**
|
|
549
|
+
* Returns the wallets for the specified user.
|
|
538
550
|
* Get wallets by user
|
|
539
551
|
*/
|
|
540
552
|
getWalletsByUserId(requestParameters, initOverrides) {
|
|
@@ -544,6 +556,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
544
556
|
});
|
|
545
557
|
}
|
|
546
558
|
/**
|
|
559
|
+
* Returns wallets by user (deprecated).
|
|
547
560
|
* Get wallets by user (deprecated - use /environments/{environmentId}/users/{userId}/wallets instead)
|
|
548
561
|
*/
|
|
549
562
|
getWalletsByUserIdLegacyRaw(requestParameters, initOverrides) {
|
|
@@ -570,6 +583,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
570
583
|
});
|
|
571
584
|
}
|
|
572
585
|
/**
|
|
586
|
+
* Returns wallets by user (deprecated).
|
|
573
587
|
* Get wallets by user (deprecated - use /environments/{environmentId}/users/{userId}/wallets instead)
|
|
574
588
|
*/
|
|
575
589
|
getWalletsByUserIdLegacy(requestParameters, initOverrides) {
|
package/src/apis/WalletsApi.d.ts
CHANGED
|
@@ -67,32 +67,32 @@ export interface RecoverDeletedWalletsWithEnvironmentRequest {
|
|
|
67
67
|
export declare class WalletsApi extends runtime.BaseAPI {
|
|
68
68
|
/**
|
|
69
69
|
* Creates a new embedded 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.
|
|
70
|
-
*
|
|
70
|
+
* Create an embedded wallet for a user
|
|
71
71
|
*/
|
|
72
72
|
createEmbeddedWalletRaw(requestParameters: CreateEmbeddedWalletRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<UserResponse>>;
|
|
73
73
|
/**
|
|
74
74
|
* Creates a new embedded 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.
|
|
75
|
-
*
|
|
75
|
+
* Create an embedded wallet for a user
|
|
76
76
|
*/
|
|
77
77
|
createEmbeddedWallet(requestParameters: CreateEmbeddedWalletRequest, initOverrides?: RequestInit): Promise<UserResponse>;
|
|
78
78
|
/**
|
|
79
79
|
* Creates a new embedded wallet. This API is meant to be called from a frame server.
|
|
80
|
-
*
|
|
80
|
+
* Create an embedded wallet from Farcaster
|
|
81
81
|
*/
|
|
82
82
|
createEmbeddedWalletFromFarcasterRaw(requestParameters: CreateEmbeddedWalletFromFarcasterRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<UserResponse>>;
|
|
83
83
|
/**
|
|
84
84
|
* Creates a new embedded wallet. This API is meant to be called from a frame server.
|
|
85
|
-
*
|
|
85
|
+
* Create an embedded wallet from Farcaster
|
|
86
86
|
*/
|
|
87
87
|
createEmbeddedWalletFromFarcaster(requestParameters: CreateEmbeddedWalletFromFarcasterRequest, initOverrides?: RequestInit): Promise<UserResponse>;
|
|
88
88
|
/**
|
|
89
89
|
* Creates a new wallet for the user. Note that this API is not meant for creating embedded wallets. To create embedded wallets use the /embeddedWallets endpoint.
|
|
90
|
-
*
|
|
90
|
+
* Create a wallet for the user
|
|
91
91
|
*/
|
|
92
92
|
createWalletRaw(requestParameters: CreateWalletOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Wallet>>;
|
|
93
93
|
/**
|
|
94
94
|
* Creates a new wallet for the user. Note that this API is not meant for creating embedded wallets. To create embedded wallets use the /embeddedWallets endpoint.
|
|
95
|
-
*
|
|
95
|
+
* Create a wallet for the user
|
|
96
96
|
*/
|
|
97
97
|
createWallet(requestParameters: CreateWalletOperationRequest, initOverrides?: RequestInit): Promise<Wallet>;
|
|
98
98
|
/**
|
|
@@ -106,42 +106,52 @@ export declare class WalletsApi extends runtime.BaseAPI {
|
|
|
106
106
|
*/
|
|
107
107
|
createWalletLegacy(requestParameters: CreateWalletLegacyRequest, initOverrides?: RequestInit): Promise<Wallet>;
|
|
108
108
|
/**
|
|
109
|
+
* Permanently removes the specified wallet.
|
|
109
110
|
* Delete wallet
|
|
110
111
|
*/
|
|
111
112
|
deleteWalletByIdRaw(requestParameters: DeleteWalletByIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
112
113
|
/**
|
|
114
|
+
* Permanently removes the specified wallet.
|
|
113
115
|
* Delete wallet
|
|
114
116
|
*/
|
|
115
117
|
deleteWalletById(requestParameters: DeleteWalletByIdRequest, initOverrides?: RequestInit): Promise<void>;
|
|
116
118
|
/**
|
|
119
|
+
* Permanently removes the specified wallet (deprecated).
|
|
117
120
|
* Delete wallet (deprecated - use /environments/{environmentId}/wallets/{walletId} instead)
|
|
118
121
|
*/
|
|
119
122
|
deleteWalletByIdLegacyRaw(requestParameters: DeleteWalletByIdLegacyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
120
123
|
/**
|
|
124
|
+
* Permanently removes the specified wallet (deprecated).
|
|
121
125
|
* Delete wallet (deprecated - use /environments/{environmentId}/wallets/{walletId} instead)
|
|
122
126
|
*/
|
|
123
127
|
deleteWalletByIdLegacy(requestParameters: DeleteWalletByIdLegacyRequest, initOverrides?: RequestInit): Promise<void>;
|
|
124
128
|
/**
|
|
129
|
+
* Returns the active embedded wallet versions for the specified environment.
|
|
125
130
|
* Get the active embedded wallet versions for an environment
|
|
126
131
|
*/
|
|
127
132
|
getActiveEmbeddedWalletVersionsForEnvironmentRaw(requestParameters: GetActiveEmbeddedWalletVersionsForEnvironmentRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<EmbeddedWalletVersionEnum>>>;
|
|
128
133
|
/**
|
|
134
|
+
* Returns the active embedded wallet versions for the specified environment.
|
|
129
135
|
* Get the active embedded wallet versions for an environment
|
|
130
136
|
*/
|
|
131
137
|
getActiveEmbeddedWalletVersionsForEnvironment(requestParameters: GetActiveEmbeddedWalletVersionsForEnvironmentRequest, initOverrides?: RequestInit): Promise<Array<EmbeddedWalletVersionEnum>>;
|
|
132
138
|
/**
|
|
139
|
+
* Returns a wallet by its unique identifier.
|
|
133
140
|
* Get a wallet using the ID
|
|
134
141
|
*/
|
|
135
142
|
getWalletByIdRaw(requestParameters: GetWalletByIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Wallet>>;
|
|
136
143
|
/**
|
|
144
|
+
* Returns a wallet by its unique identifier.
|
|
137
145
|
* Get a wallet using the ID
|
|
138
146
|
*/
|
|
139
147
|
getWalletById(requestParameters: GetWalletByIdRequest, initOverrides?: RequestInit): Promise<Wallet>;
|
|
140
148
|
/**
|
|
149
|
+
* Returns a wallet by its ID (deprecated).
|
|
141
150
|
* Get a wallet using the ID (deprecated - use /environments/{environmentId}/wallets/{walletId} instead)
|
|
142
151
|
*/
|
|
143
152
|
getWalletByIdLegacyRaw(requestParameters: GetWalletByIdLegacyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Wallet>>;
|
|
144
153
|
/**
|
|
154
|
+
* Returns a wallet by its ID (deprecated).
|
|
145
155
|
* Get a wallet using the ID (deprecated - use /environments/{environmentId}/wallets/{walletId} instead)
|
|
146
156
|
*/
|
|
147
157
|
getWalletByIdLegacy(requestParameters: GetWalletByIdLegacyRequest, initOverrides?: RequestInit): Promise<Wallet>;
|
|
@@ -156,18 +166,22 @@ export declare class WalletsApi extends runtime.BaseAPI {
|
|
|
156
166
|
*/
|
|
157
167
|
getWalletsByEnvironmentId(requestParameters: GetWalletsByEnvironmentIdRequest, initOverrides?: RequestInit): Promise<WalletsResponse>;
|
|
158
168
|
/**
|
|
169
|
+
* Returns the wallets for the specified user.
|
|
159
170
|
* Get wallets by user
|
|
160
171
|
*/
|
|
161
172
|
getWalletsByUserIdRaw(requestParameters: GetWalletsByUserIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<UserWalletsResponse>>;
|
|
162
173
|
/**
|
|
174
|
+
* Returns the wallets for the specified user.
|
|
163
175
|
* Get wallets by user
|
|
164
176
|
*/
|
|
165
177
|
getWalletsByUserId(requestParameters: GetWalletsByUserIdRequest, initOverrides?: RequestInit): Promise<UserWalletsResponse>;
|
|
166
178
|
/**
|
|
179
|
+
* Returns wallets by user (deprecated).
|
|
167
180
|
* Get wallets by user (deprecated - use /environments/{environmentId}/users/{userId}/wallets instead)
|
|
168
181
|
*/
|
|
169
182
|
getWalletsByUserIdLegacyRaw(requestParameters: GetWalletsByUserIdLegacyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<UserWalletsResponse>>;
|
|
170
183
|
/**
|
|
184
|
+
* Returns wallets by user (deprecated).
|
|
171
185
|
* Get wallets by user (deprecated - use /environments/{environmentId}/users/{userId}/wallets instead)
|
|
172
186
|
*/
|
|
173
187
|
getWalletsByUserIdLegacy(requestParameters: GetWalletsByUserIdLegacyRequest, initOverrides?: RequestInit): Promise<UserWalletsResponse>;
|