@dynamic-labs/sdk-api-core 0.0.1065 → 0.0.1067
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/SDKApi.cjs +10 -9
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +6 -6
- package/src/apis/SDKApi.js +10 -9
- package/src/apis/SDKApi.js.map +1 -1
- package/src/apis/WaasApi.cjs +1 -0
- package/src/apis/WaasApi.cjs.map +1 -1
- package/src/apis/WaasApi.js +1 -0
- package/src/apis/WaasApi.js.map +1 -1
- package/src/index.cjs +20 -0
- package/src/index.cjs.map +1 -1
- package/src/index.js +4 -0
- package/src/index.js.map +1 -1
- package/src/models/BusinessAccountDetail.cjs +3 -0
- package/src/models/BusinessAccountDetail.cjs.map +1 -1
- package/src/models/BusinessAccountDetail.d.ts +8 -1
- package/src/models/BusinessAccountDetail.js +3 -0
- package/src/models/BusinessAccountDetail.js.map +1 -1
- package/src/models/BusinessAccountDetailAllOf.cjs +4 -0
- package/src/models/BusinessAccountDetailAllOf.cjs.map +1 -1
- package/src/models/BusinessAccountDetailAllOf.d.ts +7 -0
- package/src/models/BusinessAccountDetailAllOf.js +4 -0
- package/src/models/BusinessAccountDetailAllOf.js.map +1 -1
- package/src/models/BusinessAccountProperties.cjs +47 -0
- package/src/models/BusinessAccountProperties.cjs.map +1 -0
- package/src/models/BusinessAccountProperties.d.ts +65 -0
- package/src/models/BusinessAccountProperties.js +41 -0
- package/src/models/BusinessAccountProperties.js.map +1 -0
- package/src/models/BusinessAccountWallet.cjs +39 -0
- package/src/models/BusinessAccountWallet.cjs.map +1 -0
- package/src/models/BusinessAccountWallet.d.ts +46 -0
- package/src/models/BusinessAccountWallet.js +33 -0
- package/src/models/BusinessAccountWallet.js.map +1 -0
- package/src/models/CaptchaProviderEnum.cjs +40 -0
- package/src/models/CaptchaProviderEnum.cjs.map +1 -0
- package/src/models/CaptchaProviderEnum.d.ts +23 -0
- package/src/models/CaptchaProviderEnum.js +34 -0
- package/src/models/CaptchaProviderEnum.js.map +1 -0
- package/src/models/CreateBusinessAccountSdkRequest.d.ts +1 -1
- package/src/models/CreateWaasAccountRequest.cjs +2 -0
- package/src/models/CreateWaasAccountRequest.cjs.map +1 -1
- package/src/models/CreateWaasAccountRequest.d.ts +6 -0
- package/src/models/CreateWaasAccountRequest.js +2 -0
- package/src/models/CreateWaasAccountRequest.js.map +1 -1
- package/src/models/Flow.cjs +6 -0
- package/src/models/Flow.cjs.map +1 -1
- package/src/models/Flow.d.ts +14 -0
- package/src/models/Flow.js +6 -0
- package/src/models/Flow.js.map +1 -1
- package/src/models/HCaptchaSettings.d.ts +1 -1
- package/src/models/JwtVerifiedCredential.cjs +3 -0
- package/src/models/JwtVerifiedCredential.cjs.map +1 -1
- package/src/models/JwtVerifiedCredential.d.ts +7 -0
- package/src/models/JwtVerifiedCredential.js +3 -0
- package/src/models/JwtVerifiedCredential.js.map +1 -1
- package/src/models/ProjectSettingsCaptcha.cjs +38 -0
- package/src/models/ProjectSettingsCaptcha.cjs.map +1 -0
- package/src/models/ProjectSettingsCaptcha.d.ts +40 -0
- package/src/models/ProjectSettingsCaptcha.js +32 -0
- package/src/models/ProjectSettingsCaptcha.js.map +1 -0
- package/src/models/ProjectSettingsSecurity.cjs +3 -0
- package/src/models/ProjectSettingsSecurity.cjs.map +1 -1
- package/src/models/ProjectSettingsSecurity.d.ts +7 -0
- package/src/models/ProjectSettingsSecurity.js +3 -0
- package/src/models/ProjectSettingsSecurity.js.map +1 -1
- package/src/models/index.d.ts +4 -0
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -3744,23 +3744,23 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3744
3744
|
*/
|
|
3745
3745
|
scanUrlOptions(requestParameters: ScanUrlOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3746
3746
|
/**
|
|
3747
|
-
* Caller must be an owner or admin of the
|
|
3747
|
+
* Caller must be an owner or admin of the business account. Target user is resolved by `userId` OR `identifier + type` (email/externalUserId create-or-resolve; id direct lookup). Idempotent: if the target is already an active member the existing row is returned with 200.
|
|
3748
3748
|
* SDK — add a member to a business account
|
|
3749
3749
|
*/
|
|
3750
3750
|
sdkAddBusinessAccountMemberRaw(requestParameters: SdkAddBusinessAccountMemberRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountMember>>;
|
|
3751
3751
|
/**
|
|
3752
|
-
* Caller must be an owner or admin of the
|
|
3752
|
+
* Caller must be an owner or admin of the business account. Target user is resolved by `userId` OR `identifier + type` (email/externalUserId create-or-resolve; id direct lookup). Idempotent: if the target is already an active member the existing row is returned with 200.
|
|
3753
3753
|
* SDK — add a member to a business account
|
|
3754
3754
|
*/
|
|
3755
3755
|
sdkAddBusinessAccountMember(requestParameters: SdkAddBusinessAccountMemberRequest, initOverrides?: RequestInit): Promise<BusinessAccountMember>;
|
|
3756
3756
|
/**
|
|
3757
3757
|
* **Stubbed** in this release. Caller must hold an active share on the wallet (only existing share-holders can reshare). Target user is resolved the same way as addMember. The pending signer row is persisted with `shareSetId=null`; the reshare ceremony that mints the share is a follow-up.
|
|
3758
|
-
* SDK — add a signer to a wallet in a
|
|
3758
|
+
* SDK — add a signer to a wallet in a business account (stubbed)
|
|
3759
3759
|
*/
|
|
3760
3760
|
sdkAddBusinessAccountSignerRaw(requestParameters: SdkAddBusinessAccountSignerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountSigner>>;
|
|
3761
3761
|
/**
|
|
3762
3762
|
* **Stubbed** in this release. Caller must hold an active share on the wallet (only existing share-holders can reshare). Target user is resolved the same way as addMember. The pending signer row is persisted with `shareSetId=null`; the reshare ceremony that mints the share is a follow-up.
|
|
3763
|
-
* SDK — add a signer to a wallet in a
|
|
3763
|
+
* SDK — add a signer to a wallet in a business account (stubbed)
|
|
3764
3764
|
*/
|
|
3765
3765
|
sdkAddBusinessAccountSigner(requestParameters: SdkAddBusinessAccountSignerRequest, initOverrides?: RequestInit): Promise<BusinessAccountSigner>;
|
|
3766
3766
|
/**
|
|
@@ -3806,12 +3806,12 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3806
3806
|
*/
|
|
3807
3807
|
sdkCreateBusinessAccount(requestParameters: SdkCreateBusinessAccountRequest, initOverrides?: RequestInit): Promise<BusinessAccount>;
|
|
3808
3808
|
/**
|
|
3809
|
-
* Returns 404 if the caller is not a member of the
|
|
3809
|
+
* Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
|
|
3810
3810
|
* SDK — get a business account with embedded members and signers
|
|
3811
3811
|
*/
|
|
3812
3812
|
sdkGetBusinessAccountByIdRaw(requestParameters: SdkGetBusinessAccountByIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountDetail>>;
|
|
3813
3813
|
/**
|
|
3814
|
-
* Returns 404 if the caller is not a member of the
|
|
3814
|
+
* Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
|
|
3815
3815
|
* SDK — get a business account with embedded members and signers
|
|
3816
3816
|
*/
|
|
3817
3817
|
sdkGetBusinessAccountById(requestParameters: SdkGetBusinessAccountByIdRequest, initOverrides?: RequestInit): Promise<BusinessAccountDetail>;
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -18,6 +18,8 @@ import { BackupKeySharesToLocationsRequestToJSON } from '../models/BackupKeyShar
|
|
|
18
18
|
import '../models/BackupKeySharesToLocationsRequestLocations.js';
|
|
19
19
|
import { BackupKeySharesToLocationsResponseFromJSON } from '../models/BackupKeySharesToLocationsResponse.js';
|
|
20
20
|
import '../models/WaasBackupOptionsEnum.js';
|
|
21
|
+
import '../models/BusinessAccountMemberRole.js';
|
|
22
|
+
import '../models/BusinessAccountSignerType.js';
|
|
21
23
|
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
22
24
|
import '../models/ProviderEnum.js';
|
|
23
25
|
import '../models/WalletAddressType.js';
|
|
@@ -37,10 +39,9 @@ import { BusinessAccountFromJSON } from '../models/BusinessAccount.js';
|
|
|
37
39
|
import { BusinessAccountDetailFromJSON } from '../models/BusinessAccountDetail.js';
|
|
38
40
|
import { BusinessAccountMemberFromJSON } from '../models/BusinessAccountMember.js';
|
|
39
41
|
import { BusinessAccountSignerFromJSON } from '../models/BusinessAccountSigner.js';
|
|
40
|
-
import { BusinessAccountListFromJSON } from '../models/BusinessAccountList.js';
|
|
41
|
-
import '../models/BusinessAccountMemberRole.js';
|
|
42
|
-
import '../models/BusinessAccountSignerType.js';
|
|
43
42
|
import '../models/ChainEnum.js';
|
|
43
|
+
import { BusinessAccountListFromJSON } from '../models/BusinessAccountList.js';
|
|
44
|
+
import '../models/CaptchaProviderEnum.js';
|
|
44
45
|
import '../models/DestinationTypeEnum.js';
|
|
45
46
|
import '../models/CheckoutModeEnum.js';
|
|
46
47
|
import '../models/SettlementStrategyEnum.js';
|
|
@@ -8269,7 +8270,7 @@ class SDKApi extends BaseAPI {
|
|
|
8269
8270
|
await this.scanUrlOptionsRaw(requestParameters, initOverrides);
|
|
8270
8271
|
}
|
|
8271
8272
|
/**
|
|
8272
|
-
* Caller must be an owner or admin of the
|
|
8273
|
+
* Caller must be an owner or admin of the business account. Target user is resolved by `userId` OR `identifier + type` (email/externalUserId create-or-resolve; id direct lookup). Idempotent: if the target is already an active member the existing row is returned with 200.
|
|
8273
8274
|
* SDK — add a member to a business account
|
|
8274
8275
|
*/
|
|
8275
8276
|
async sdkAddBusinessAccountMemberRaw(requestParameters, initOverrides) {
|
|
@@ -8302,7 +8303,7 @@ class SDKApi extends BaseAPI {
|
|
|
8302
8303
|
return new JSONApiResponse(response, (jsonValue) => BusinessAccountMemberFromJSON(jsonValue));
|
|
8303
8304
|
}
|
|
8304
8305
|
/**
|
|
8305
|
-
* Caller must be an owner or admin of the
|
|
8306
|
+
* Caller must be an owner or admin of the business account. Target user is resolved by `userId` OR `identifier + type` (email/externalUserId create-or-resolve; id direct lookup). Idempotent: if the target is already an active member the existing row is returned with 200.
|
|
8306
8307
|
* SDK — add a member to a business account
|
|
8307
8308
|
*/
|
|
8308
8309
|
async sdkAddBusinessAccountMember(requestParameters, initOverrides) {
|
|
@@ -8311,7 +8312,7 @@ class SDKApi extends BaseAPI {
|
|
|
8311
8312
|
}
|
|
8312
8313
|
/**
|
|
8313
8314
|
* **Stubbed** in this release. Caller must hold an active share on the wallet (only existing share-holders can reshare). Target user is resolved the same way as addMember. The pending signer row is persisted with `shareSetId=null`; the reshare ceremony that mints the share is a follow-up.
|
|
8314
|
-
* SDK — add a signer to a wallet in a
|
|
8315
|
+
* SDK — add a signer to a wallet in a business account (stubbed)
|
|
8315
8316
|
*/
|
|
8316
8317
|
async sdkAddBusinessAccountSignerRaw(requestParameters, initOverrides) {
|
|
8317
8318
|
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
@@ -8347,7 +8348,7 @@ class SDKApi extends BaseAPI {
|
|
|
8347
8348
|
}
|
|
8348
8349
|
/**
|
|
8349
8350
|
* **Stubbed** in this release. Caller must hold an active share on the wallet (only existing share-holders can reshare). Target user is resolved the same way as addMember. The pending signer row is persisted with `shareSetId=null`; the reshare ceremony that mints the share is a follow-up.
|
|
8350
|
-
* SDK — add a signer to a wallet in a
|
|
8351
|
+
* SDK — add a signer to a wallet in a business account (stubbed)
|
|
8351
8352
|
*/
|
|
8352
8353
|
async sdkAddBusinessAccountSigner(requestParameters, initOverrides) {
|
|
8353
8354
|
const response = await this.sdkAddBusinessAccountSignerRaw(requestParameters, initOverrides);
|
|
@@ -8493,7 +8494,7 @@ class SDKApi extends BaseAPI {
|
|
|
8493
8494
|
return await response.value();
|
|
8494
8495
|
}
|
|
8495
8496
|
/**
|
|
8496
|
-
* Returns 404 if the caller is not a member of the
|
|
8497
|
+
* Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
|
|
8497
8498
|
* SDK — get a business account with embedded members and signers
|
|
8498
8499
|
*/
|
|
8499
8500
|
async sdkGetBusinessAccountByIdRaw(requestParameters, initOverrides) {
|
|
@@ -8521,7 +8522,7 @@ class SDKApi extends BaseAPI {
|
|
|
8521
8522
|
return new JSONApiResponse(response, (jsonValue) => BusinessAccountDetailFromJSON(jsonValue));
|
|
8522
8523
|
}
|
|
8523
8524
|
/**
|
|
8524
|
-
* Returns 404 if the caller is not a member of the
|
|
8525
|
+
* Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
|
|
8525
8526
|
* SDK — get a business account with embedded members and signers
|
|
8526
8527
|
*/
|
|
8527
8528
|
async sdkGetBusinessAccountById(requestParameters, initOverrides) {
|