@dynamic-labs/sdk-api 0.161.0 → 0.163.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.161.0",
3
+ "version": "0.163.0",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -2277,7 +2277,7 @@ class SDKApi extends runtime.BaseAPI {
2277
2277
  await this.createWaasAccountOptionsRaw(requestParameters, initOverrides);
2278
2278
  }
2279
2279
  /**
2280
- * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed seed via client-keyshare-service, and returns the derived ElGamal public key. The plaintext seed never leaves the enclave and the sealed seed is opaque to redcoast. Insert-only per (wallet, address, derivation version) — a repeat create returns 409.
2280
+ * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed credential for the wallet, and returns the derived ElGamal public key. The plaintext seed never leaves the enclave and the sealed seed is opaque to redcoast. Insert-only per wallet — a repeat create returns 409.
2281
2281
  * Create a Solana confidential-transfer seed
2282
2282
  */
2283
2283
  async createWaasConfidentialSeedRaw(requestParameters, initOverrides) {
@@ -2310,7 +2310,7 @@ class SDKApi extends runtime.BaseAPI {
2310
2310
  return new runtime.JSONApiResponse(response, (jsonValue) => WaasConfidentialSeedResponse.WaasConfidentialSeedResponseFromJSON(jsonValue));
2311
2311
  }
2312
2312
  /**
2313
- * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed seed via client-keyshare-service, and returns the derived ElGamal public key. The plaintext seed never leaves the enclave and the sealed seed is opaque to redcoast. Insert-only per (wallet, address, derivation version) — a repeat create returns 409.
2313
+ * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed credential for the wallet, and returns the derived ElGamal public key. The plaintext seed never leaves the enclave and the sealed seed is opaque to redcoast. Insert-only per wallet — a repeat create returns 409.
2314
2314
  * Create a Solana confidential-transfer seed
2315
2315
  */
2316
2316
  async createWaasConfidentialSeed(requestParameters, initOverrides) {
@@ -5986,51 +5986,6 @@ class SDKApi extends runtime.BaseAPI {
5986
5986
  const response = await this.getUserPasskeysRaw(requestParameters, initOverrides);
5987
5987
  return await response.value();
5988
5988
  }
5989
- /**
5990
- * Returns the stored sealed seed and metadata. When `derivationVersion` is omitted, the newest stored version is returned.
5991
- * Fetch a wallet\'s confidential-transfer seed
5992
- */
5993
- async getWaasConfidentialSeedRaw(requestParameters, initOverrides) {
5994
- if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
5995
- throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasConfidentialSeed.');
5996
- }
5997
- if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
5998
- throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasConfidentialSeed.');
5999
- }
6000
- if (requestParameters.solanaAddress === null || requestParameters.solanaAddress === undefined) {
6001
- throw new runtime.RequiredError('solanaAddress', 'Required parameter requestParameters.solanaAddress was null or undefined when calling getWaasConfidentialSeed.');
6002
- }
6003
- const queryParameters = {};
6004
- if (requestParameters.solanaAddress !== undefined) {
6005
- queryParameters['solanaAddress'] = requestParameters.solanaAddress;
6006
- }
6007
- if (requestParameters.derivationVersion !== undefined) {
6008
- queryParameters['derivationVersion'] = requestParameters.derivationVersion;
6009
- }
6010
- const headerParameters = {};
6011
- if (this.configuration && this.configuration.accessToken) {
6012
- const token = this.configuration.accessToken;
6013
- const tokenString = await token("bearerAuth", []);
6014
- if (tokenString) {
6015
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
6016
- }
6017
- }
6018
- const response = await this.request({
6019
- path: `/sdk/{environmentId}/waas/{walletId}/confidentialSeed`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
6020
- method: 'GET',
6021
- headers: headerParameters,
6022
- query: queryParameters,
6023
- }, initOverrides);
6024
- return new runtime.JSONApiResponse(response, (jsonValue) => WaasConfidentialSeedResponse.WaasConfidentialSeedResponseFromJSON(jsonValue));
6025
- }
6026
- /**
6027
- * Returns the stored sealed seed and metadata. When `derivationVersion` is omitted, the newest stored version is returned.
6028
- * Fetch a wallet\'s confidential-transfer seed
6029
- */
6030
- async getWaasConfidentialSeed(requestParameters, initOverrides) {
6031
- const response = await this.getWaasConfidentialSeedRaw(requestParameters, initOverrides);
6032
- return await response.value();
6033
- }
6034
5989
  /**
6035
5990
  * Returns the Composition environment-Layer content for the environment, read-only, for any signed-in user in the environment.
6036
5991
  * Get the environment-Layer\'s Rules
@@ -727,12 +727,6 @@ export interface GetUserMfaMethodsRequest {
727
727
  export interface GetUserPasskeysRequest {
728
728
  environmentId: string;
729
729
  }
730
- export interface GetWaasConfidentialSeedRequest {
731
- environmentId: string;
732
- walletId: string;
733
- solanaAddress: string;
734
- derivationVersion?: number;
735
- }
736
730
  export interface GetWaasEnvPolicyLayerRequest {
737
731
  environmentId: string;
738
732
  }
@@ -2405,12 +2399,12 @@ export declare class SDKApi extends runtime.BaseAPI {
2405
2399
  */
2406
2400
  createWaasAccountOptions(requestParameters: CreateWaasAccountOptionsRequest, initOverrides?: RequestInit): Promise<void>;
2407
2401
  /**
2408
- * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed seed via client-keyshare-service, and returns the derived ElGamal public key. The plaintext seed never leaves the enclave and the sealed seed is opaque to redcoast. Insert-only per (wallet, address, derivation version) — a repeat create returns 409.
2402
+ * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed credential for the wallet, and returns the derived ElGamal public key. The plaintext seed never leaves the enclave and the sealed seed is opaque to redcoast. Insert-only per wallet — a repeat create returns 409.
2409
2403
  * Create a Solana confidential-transfer seed
2410
2404
  */
2411
2405
  createWaasConfidentialSeedRaw(requestParameters: CreateWaasConfidentialSeedRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasConfidentialSeedResponse>>;
2412
2406
  /**
2413
- * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed seed via client-keyshare-service, and returns the derived ElGamal public key. The plaintext seed never leaves the enclave and the sealed seed is opaque to redcoast. Insert-only per (wallet, address, derivation version) — a repeat create returns 409.
2407
+ * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed credential for the wallet, and returns the derived ElGamal public key. The plaintext seed never leaves the enclave and the sealed seed is opaque to redcoast. Insert-only per wallet — a repeat create returns 409.
2414
2408
  * Create a Solana confidential-transfer seed
2415
2409
  */
2416
2410
  createWaasConfidentialSeed(requestParameters: CreateWaasConfidentialSeedRequest, initOverrides?: RequestInit): Promise<WaasConfidentialSeedResponse>;
@@ -3514,16 +3508,6 @@ export declare class SDKApi extends runtime.BaseAPI {
3514
3508
  * Get user passkeys
3515
3509
  */
3516
3510
  getUserPasskeys(requestParameters: GetUserPasskeysRequest, initOverrides?: RequestInit): Promise<GetUserPasskeysResponse>;
3517
- /**
3518
- * Returns the stored sealed seed and metadata. When `derivationVersion` is omitted, the newest stored version is returned.
3519
- * Fetch a wallet\'s confidential-transfer seed
3520
- */
3521
- getWaasConfidentialSeedRaw(requestParameters: GetWaasConfidentialSeedRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasConfidentialSeedResponse>>;
3522
- /**
3523
- * Returns the stored sealed seed and metadata. When `derivationVersion` is omitted, the newest stored version is returned.
3524
- * Fetch a wallet\'s confidential-transfer seed
3525
- */
3526
- getWaasConfidentialSeed(requestParameters: GetWaasConfidentialSeedRequest, initOverrides?: RequestInit): Promise<WaasConfidentialSeedResponse>;
3527
3511
  /**
3528
3512
  * Returns the Composition environment-Layer content for the environment, read-only, for any signed-in user in the environment.
3529
3513
  * Get the environment-Layer\'s Rules
@@ -2273,7 +2273,7 @@ class SDKApi extends BaseAPI {
2273
2273
  await this.createWaasAccountOptionsRaw(requestParameters, initOverrides);
2274
2274
  }
2275
2275
  /**
2276
- * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed seed via client-keyshare-service, and returns the derived ElGamal public key. The plaintext seed never leaves the enclave and the sealed seed is opaque to redcoast. Insert-only per (wallet, address, derivation version) — a repeat create returns 409.
2276
+ * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed credential for the wallet, and returns the derived ElGamal public key. The plaintext seed never leaves the enclave and the sealed seed is opaque to redcoast. Insert-only per wallet — a repeat create returns 409.
2277
2277
  * Create a Solana confidential-transfer seed
2278
2278
  */
2279
2279
  async createWaasConfidentialSeedRaw(requestParameters, initOverrides) {
@@ -2306,7 +2306,7 @@ class SDKApi extends BaseAPI {
2306
2306
  return new JSONApiResponse(response, (jsonValue) => WaasConfidentialSeedResponseFromJSON(jsonValue));
2307
2307
  }
2308
2308
  /**
2309
- * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed seed via client-keyshare-service, and returns the derived ElGamal public key. The plaintext seed never leaves the enclave and the sealed seed is opaque to redcoast. Insert-only per (wallet, address, derivation version) — a repeat create returns 409.
2309
+ * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed credential for the wallet, and returns the derived ElGamal public key. The plaintext seed never leaves the enclave and the sealed seed is opaque to redcoast. Insert-only per wallet — a repeat create returns 409.
2310
2310
  * Create a Solana confidential-transfer seed
2311
2311
  */
2312
2312
  async createWaasConfidentialSeed(requestParameters, initOverrides) {
@@ -5982,51 +5982,6 @@ class SDKApi extends BaseAPI {
5982
5982
  const response = await this.getUserPasskeysRaw(requestParameters, initOverrides);
5983
5983
  return await response.value();
5984
5984
  }
5985
- /**
5986
- * Returns the stored sealed seed and metadata. When `derivationVersion` is omitted, the newest stored version is returned.
5987
- * Fetch a wallet\'s confidential-transfer seed
5988
- */
5989
- async getWaasConfidentialSeedRaw(requestParameters, initOverrides) {
5990
- if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
5991
- throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasConfidentialSeed.');
5992
- }
5993
- if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
5994
- throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasConfidentialSeed.');
5995
- }
5996
- if (requestParameters.solanaAddress === null || requestParameters.solanaAddress === undefined) {
5997
- throw new RequiredError('solanaAddress', 'Required parameter requestParameters.solanaAddress was null or undefined when calling getWaasConfidentialSeed.');
5998
- }
5999
- const queryParameters = {};
6000
- if (requestParameters.solanaAddress !== undefined) {
6001
- queryParameters['solanaAddress'] = requestParameters.solanaAddress;
6002
- }
6003
- if (requestParameters.derivationVersion !== undefined) {
6004
- queryParameters['derivationVersion'] = requestParameters.derivationVersion;
6005
- }
6006
- const headerParameters = {};
6007
- if (this.configuration && this.configuration.accessToken) {
6008
- const token = this.configuration.accessToken;
6009
- const tokenString = await token("bearerAuth", []);
6010
- if (tokenString) {
6011
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
6012
- }
6013
- }
6014
- const response = await this.request({
6015
- path: `/sdk/{environmentId}/waas/{walletId}/confidentialSeed`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
6016
- method: 'GET',
6017
- headers: headerParameters,
6018
- query: queryParameters,
6019
- }, initOverrides);
6020
- return new JSONApiResponse(response, (jsonValue) => WaasConfidentialSeedResponseFromJSON(jsonValue));
6021
- }
6022
- /**
6023
- * Returns the stored sealed seed and metadata. When `derivationVersion` is omitted, the newest stored version is returned.
6024
- * Fetch a wallet\'s confidential-transfer seed
6025
- */
6026
- async getWaasConfidentialSeed(requestParameters, initOverrides) {
6027
- const response = await this.getWaasConfidentialSeedRaw(requestParameters, initOverrides);
6028
- return await response.value();
6029
- }
6030
5985
  /**
6031
5986
  * Returns the Composition environment-Layer content for the environment, read-only, for any signed-in user in the environment.
6032
5987
  * Get the environment-Layer\'s Rules
@@ -219,8 +219,6 @@ require('../models/SignMessageApprovalQuorumIntentLifetime.cjs');
219
219
  require('../models/SignMessageApprovalQuorumRawSign.cjs');
220
220
  require('../models/SignMessageApprovalQuorumSvmTransactionOperation.cjs');
221
221
  var SignMessageWithWaasRequest = require('../models/SignMessageWithWaasRequest.cjs');
222
- var SoftDeleteWaasWalletsRequest = require('../models/SoftDeleteWaasWalletsRequest.cjs');
223
- var SoftDeleteWaasWalletsResponse = require('../models/SoftDeleteWaasWalletsResponse.cjs');
224
222
  require('../models/SsoProviderEnum.cjs');
225
223
  require('../models/SsoProviderCheckResponse.cjs');
226
224
  require('../models/SubscriptionAdvancedScopeEnum.cjs');
@@ -623,7 +621,7 @@ class ServerApi extends runtime.BaseAPI {
623
621
  return await response.value();
624
622
  }
625
623
  /**
626
- * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed seed via client-keyshare-service, and returns the derived ElGamal public key. Insert-only per (wallet, address, derivation version); a repeat create returns 409.
624
+ * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed credential for the wallet, and returns the derived ElGamal public key. Insert-only per wallet; a repeat create returns 409.
627
625
  * Server — create a Solana confidential-transfer seed
628
626
  */
629
627
  async createWaasConfidentialSeedServerRaw(requestParameters, initOverrides) {
@@ -652,7 +650,7 @@ class ServerApi extends runtime.BaseAPI {
652
650
  return new runtime.JSONApiResponse(response, (jsonValue) => WaasConfidentialSeedResponse.WaasConfidentialSeedResponseFromJSON(jsonValue));
653
651
  }
654
652
  /**
655
- * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed seed via client-keyshare-service, and returns the derived ElGamal public key. Insert-only per (wallet, address, derivation version); a repeat create returns 409.
653
+ * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed credential for the wallet, and returns the derived ElGamal public key. Insert-only per wallet; a repeat create returns 409.
656
654
  * Server — create a Solana confidential-transfer seed
657
655
  */
658
656
  async createWaasConfidentialSeedServer(requestParameters, initOverrides) {
@@ -951,47 +949,6 @@ class ServerApi extends runtime.BaseAPI {
951
949
  const response = await this.getServerIdentityServerRaw(requestParameters, initOverrides);
952
950
  return await response.value();
953
951
  }
954
- /**
955
- * Returns the stored sealed seed and metadata. When `derivationVersion` is omitted, the newest stored version is returned.
956
- * Server — fetch a wallet\'s confidential-transfer seed
957
- */
958
- async getWaasConfidentialSeedServerRaw(requestParameters, initOverrides) {
959
- if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
960
- throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasConfidentialSeedServer.');
961
- }
962
- if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
963
- throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasConfidentialSeedServer.');
964
- }
965
- if (requestParameters.solanaAddress === null || requestParameters.solanaAddress === undefined) {
966
- throw new runtime.RequiredError('solanaAddress', 'Required parameter requestParameters.solanaAddress was null or undefined when calling getWaasConfidentialSeedServer.');
967
- }
968
- const queryParameters = {};
969
- if (requestParameters.solanaAddress !== undefined) {
970
- queryParameters['solanaAddress'] = requestParameters.solanaAddress;
971
- }
972
- if (requestParameters.derivationVersion !== undefined) {
973
- queryParameters['derivationVersion'] = requestParameters.derivationVersion;
974
- }
975
- const headerParameters = {};
976
- if (requestParameters.xDynServerSigningProof !== undefined && requestParameters.xDynServerSigningProof !== null) {
977
- headerParameters['x-dyn-server-signing-proof'] = String(requestParameters.xDynServerSigningProof);
978
- }
979
- const response = await this.request({
980
- path: `/server/{environmentId}/waas/{walletId}/confidentialSeed`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
981
- method: 'GET',
982
- headers: headerParameters,
983
- query: queryParameters,
984
- }, initOverrides);
985
- return new runtime.JSONApiResponse(response, (jsonValue) => WaasConfidentialSeedResponse.WaasConfidentialSeedResponseFromJSON(jsonValue));
986
- }
987
- /**
988
- * Returns the stored sealed seed and metadata. When `derivationVersion` is omitted, the newest stored version is returned.
989
- * Server — fetch a wallet\'s confidential-transfer seed
990
- */
991
- async getWaasConfidentialSeedServer(requestParameters, initOverrides) {
992
- const response = await this.getWaasConfidentialSeedServerRaw(requestParameters, initOverrides);
993
- return await response.value();
994
- }
995
952
  /**
996
953
  * Decrypts the wallet\'s stored confidential seed inside the enclave and uses the derived ElGamal key to decrypt the available and pending confidential balance ciphertexts on the token account. Stateless — nothing is signed and no transaction is produced. The caller supplies the token account\'s raw on-chain state; the enclave is offline and cannot reach Solana RPC.
997
954
  * Server — decrypt a Token-2022 confidential token account\'s balances
@@ -1557,40 +1514,6 @@ class ServerApi extends runtime.BaseAPI {
1557
1514
  const response = await this.signWaasConfidentialTransferServerRaw(requestParameters, initOverrides);
1558
1515
  return await response.value();
1559
1516
  }
1560
- /**
1561
- * Soft-deletes the specified WaaS wallets by ID. Only available in non-production environments.
1562
- * Soft-delete WaaS wallets (non-production only)
1563
- */
1564
- async softDeleteWaasWalletsServerRaw(requestParameters, initOverrides) {
1565
- if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
1566
- throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling softDeleteWaasWalletsServer.');
1567
- }
1568
- if (requestParameters.softDeleteWaasWalletsRequest === null || requestParameters.softDeleteWaasWalletsRequest === undefined) {
1569
- throw new runtime.RequiredError('softDeleteWaasWalletsRequest', 'Required parameter requestParameters.softDeleteWaasWalletsRequest was null or undefined when calling softDeleteWaasWalletsServer.');
1570
- }
1571
- const queryParameters = {};
1572
- const headerParameters = {};
1573
- headerParameters['Content-Type'] = 'application/json';
1574
- if (requestParameters.xDynServerSigningProof !== undefined && requestParameters.xDynServerSigningProof !== null) {
1575
- headerParameters['x-dyn-server-signing-proof'] = String(requestParameters.xDynServerSigningProof);
1576
- }
1577
- const response = await this.request({
1578
- path: `/server/{environmentId}/waas/softDelete`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
1579
- method: 'POST',
1580
- headers: headerParameters,
1581
- query: queryParameters,
1582
- body: SoftDeleteWaasWalletsRequest.SoftDeleteWaasWalletsRequestToJSON(requestParameters.softDeleteWaasWalletsRequest),
1583
- }, initOverrides);
1584
- return new runtime.JSONApiResponse(response, (jsonValue) => SoftDeleteWaasWalletsResponse.SoftDeleteWaasWalletsResponseFromJSON(jsonValue));
1585
- }
1586
- /**
1587
- * Soft-deletes the specified WaaS wallets by ID. Only available in non-production environments.
1588
- * Soft-delete WaaS wallets (non-production only)
1589
- */
1590
- async softDeleteWaasWalletsServer(requestParameters, initOverrides) {
1591
- const response = await this.softDeleteWaasWalletsServerRaw(requestParameters, initOverrides);
1592
- return await response.value();
1593
- }
1594
1517
  /**
1595
1518
  * Submits signatures to complete a previously initiated fee claim.
1596
1519
  * Submit a fee claim
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { AddBusinessAccountMemberSdkRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountDetail, BusinessAccountList, BusinessAccountMember, BusinessAccountMemberCreationResult, BusinessAccountPolicyLayerResponse, BusinessAccountPolicyLayerUpdateRequest, CreateBusinessAccountSdkRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, DelegatedAccessEncryptionPublicKeyResponse, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, ExportWaasWalletPrivateKeyRequest, Flow, FlowCreateRequest, FlowCreateResponse, FlowFeeBalancesResponse, FlowFeeClaimRequest, FlowFeeClaimResponse, FlowFeeClaimSubmitRequest, FlowFeeClaimSubmitResponse, FlowModeEnum, FlowPaymentLinkCreateRequest, FlowPaymentLinkCreateResponse, GeneratedTokenResponse, ImportWaasPrivateKeyRequest, LinkBusinessAccountWalletSdkRequest, OpenRoomResponse, OpenRoomResponseWithServerKeygenIds, RefreshKeySharesRequest, RemoveBusinessAccountMemberResponse, RemoveBusinessAccountMemberSdkRequest, RemoveBusinessAccountSignerResponse, RemoveBusinessAccountSignerSdkRequest, RemoveBusinessAccountWalletSdkRequest, ReshareRequest, ServerIdentityResponse, SignMessageWithWaasRequest, SoftDeleteWaasWalletsRequest, SoftDeleteWaasWalletsResponse, TransferBusinessAccountOwnershipSdkRequest, UpdateBusinessAccountMemberRoleSdkRequest, UpdateBusinessAccountSdkRequest, WaasConfidentialSeedCreateRequest, WaasConfidentialSeedResponse, WaasPolicyLayerResponse, WaasSignConfidentialTransactionsRequest, WaasSignConfidentialTransactionsResponse, WaasSignConfidentialTransferRequest, WaasSignConfidentialTransferResponse, WaasSvmConfidentialBalanceRequest, WaasSvmConfidentialBalanceResponse, WaasWalletByAddressResponse } from '../models';
13
+ import { AddBusinessAccountMemberSdkRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountDetail, BusinessAccountList, BusinessAccountMember, BusinessAccountMemberCreationResult, BusinessAccountPolicyLayerResponse, BusinessAccountPolicyLayerUpdateRequest, CreateBusinessAccountSdkRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, DelegatedAccessEncryptionPublicKeyResponse, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, ExportWaasWalletPrivateKeyRequest, Flow, FlowCreateRequest, FlowCreateResponse, FlowFeeBalancesResponse, FlowFeeClaimRequest, FlowFeeClaimResponse, FlowFeeClaimSubmitRequest, FlowFeeClaimSubmitResponse, FlowModeEnum, FlowPaymentLinkCreateRequest, FlowPaymentLinkCreateResponse, GeneratedTokenResponse, ImportWaasPrivateKeyRequest, LinkBusinessAccountWalletSdkRequest, OpenRoomResponse, OpenRoomResponseWithServerKeygenIds, RefreshKeySharesRequest, RemoveBusinessAccountMemberResponse, RemoveBusinessAccountMemberSdkRequest, RemoveBusinessAccountSignerResponse, RemoveBusinessAccountSignerSdkRequest, RemoveBusinessAccountWalletSdkRequest, ReshareRequest, ServerIdentityResponse, SignMessageWithWaasRequest, TransferBusinessAccountOwnershipSdkRequest, UpdateBusinessAccountMemberRoleSdkRequest, UpdateBusinessAccountSdkRequest, WaasConfidentialSeedCreateRequest, WaasConfidentialSeedResponse, WaasPolicyLayerResponse, WaasSignConfidentialTransactionsRequest, WaasSignConfidentialTransactionsResponse, WaasSignConfidentialTransferRequest, WaasSignConfidentialTransferResponse, WaasSvmConfidentialBalanceRequest, WaasSvmConfidentialBalanceResponse, WaasWalletByAddressResponse } from '../models';
14
14
  export interface AddBusinessAccountMemberServerRequest {
15
15
  environmentId: string;
16
16
  businessAccountId: string;
@@ -113,13 +113,6 @@ export interface GetServerIdentityServerRequest {
113
113
  environmentId: string;
114
114
  serverIdentifier?: string;
115
115
  }
116
- export interface GetWaasConfidentialSeedServerRequest {
117
- environmentId: string;
118
- walletId: string;
119
- solanaAddress: string;
120
- xDynServerSigningProof?: string;
121
- derivationVersion?: number;
122
- }
123
116
  export interface GetWaasSvmConfidentialBalanceServerRequest {
124
117
  environmentId: string;
125
118
  walletId: string;
@@ -214,11 +207,6 @@ export interface SignWaasConfidentialTransferServerRequest {
214
207
  waasSignConfidentialTransferRequest: WaasSignConfidentialTransferRequest;
215
208
  xDynServerSigningProof?: string;
216
209
  }
217
- export interface SoftDeleteWaasWalletsServerRequest {
218
- environmentId: string;
219
- softDeleteWaasWalletsRequest: SoftDeleteWaasWalletsRequest;
220
- xDynServerSigningProof?: string;
221
- }
222
210
  export interface SubmitFlowFeeClaimServerRequest {
223
211
  environmentId: string;
224
212
  flowFeeClaimSubmitRequest: FlowFeeClaimSubmitRequest;
@@ -353,12 +341,12 @@ export declare class ServerApi extends runtime.BaseAPI {
353
341
  */
354
342
  createWaasAccountServer(requestParameters: CreateWaasAccountServerRequest, initOverrides?: RequestInit): Promise<OpenRoomResponseWithServerKeygenIds>;
355
343
  /**
356
- * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed seed via client-keyshare-service, and returns the derived ElGamal public key. Insert-only per (wallet, address, derivation version); a repeat create returns 409.
344
+ * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed credential for the wallet, and returns the derived ElGamal public key. Insert-only per wallet; a repeat create returns 409.
357
345
  * Server — create a Solana confidential-transfer seed
358
346
  */
359
347
  createWaasConfidentialSeedServerRaw(requestParameters: CreateWaasConfidentialSeedServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasConfidentialSeedResponse>>;
360
348
  /**
361
- * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed seed via client-keyshare-service, and returns the derived ElGamal public key. Insert-only per (wallet, address, derivation version); a repeat create returns 409.
349
+ * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed credential for the wallet, and returns the derived ElGamal public key. Insert-only per wallet; a repeat create returns 409.
362
350
  * Server — create a Solana confidential-transfer seed
363
351
  */
364
352
  createWaasConfidentialSeedServer(requestParameters: CreateWaasConfidentialSeedServerRequest, initOverrides?: RequestInit): Promise<WaasConfidentialSeedResponse>;
@@ -452,16 +440,6 @@ export declare class ServerApi extends runtime.BaseAPI {
452
440
  * Get the environment\'s server identity
453
441
  */
454
442
  getServerIdentityServer(requestParameters: GetServerIdentityServerRequest, initOverrides?: RequestInit): Promise<ServerIdentityResponse>;
455
- /**
456
- * Returns the stored sealed seed and metadata. When `derivationVersion` is omitted, the newest stored version is returned.
457
- * Server — fetch a wallet\'s confidential-transfer seed
458
- */
459
- getWaasConfidentialSeedServerRaw(requestParameters: GetWaasConfidentialSeedServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasConfidentialSeedResponse>>;
460
- /**
461
- * Returns the stored sealed seed and metadata. When `derivationVersion` is omitted, the newest stored version is returned.
462
- * Server — fetch a wallet\'s confidential-transfer seed
463
- */
464
- getWaasConfidentialSeedServer(requestParameters: GetWaasConfidentialSeedServerRequest, initOverrides?: RequestInit): Promise<WaasConfidentialSeedResponse>;
465
443
  /**
466
444
  * Decrypts the wallet\'s stored confidential seed inside the enclave and uses the derived ElGamal key to decrypt the available and pending confidential balance ciphertexts on the token account. Stateless — nothing is signed and no transaction is produced. The caller supplies the token account\'s raw on-chain state; the enclave is offline and cannot reach Solana RPC.
467
445
  * Server — decrypt a Token-2022 confidential token account\'s balances
@@ -620,16 +598,6 @@ export declare class ServerApi extends runtime.BaseAPI {
620
598
  * Server — build Token-2022 confidential-transfer transactions
621
599
  */
622
600
  signWaasConfidentialTransferServer(requestParameters: SignWaasConfidentialTransferServerRequest, initOverrides?: RequestInit): Promise<WaasSignConfidentialTransferResponse>;
623
- /**
624
- * Soft-deletes the specified WaaS wallets by ID. Only available in non-production environments.
625
- * Soft-delete WaaS wallets (non-production only)
626
- */
627
- softDeleteWaasWalletsServerRaw(requestParameters: SoftDeleteWaasWalletsServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<SoftDeleteWaasWalletsResponse>>;
628
- /**
629
- * Soft-deletes the specified WaaS wallets by ID. Only available in non-production environments.
630
- * Soft-delete WaaS wallets (non-production only)
631
- */
632
- softDeleteWaasWalletsServer(requestParameters: SoftDeleteWaasWalletsServerRequest, initOverrides?: RequestInit): Promise<SoftDeleteWaasWalletsResponse>;
633
601
  /**
634
602
  * Submits signatures to complete a previously initiated fee claim.
635
603
  * Submit a fee claim
@@ -215,8 +215,6 @@ import '../models/SignMessageApprovalQuorumIntentLifetime.js';
215
215
  import '../models/SignMessageApprovalQuorumRawSign.js';
216
216
  import '../models/SignMessageApprovalQuorumSvmTransactionOperation.js';
217
217
  import { SignMessageWithWaasRequestToJSON } from '../models/SignMessageWithWaasRequest.js';
218
- import { SoftDeleteWaasWalletsRequestToJSON } from '../models/SoftDeleteWaasWalletsRequest.js';
219
- import { SoftDeleteWaasWalletsResponseFromJSON } from '../models/SoftDeleteWaasWalletsResponse.js';
220
218
  import '../models/SsoProviderEnum.js';
221
219
  import '../models/SsoProviderCheckResponse.js';
222
220
  import '../models/SubscriptionAdvancedScopeEnum.js';
@@ -619,7 +617,7 @@ class ServerApi extends BaseAPI {
619
617
  return await response.value();
620
618
  }
621
619
  /**
622
- * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed seed via client-keyshare-service, and returns the derived ElGamal public key. Insert-only per (wallet, address, derivation version); a repeat create returns 409.
620
+ * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed credential for the wallet, and returns the derived ElGamal public key. Insert-only per wallet; a repeat create returns 409.
623
621
  * Server — create a Solana confidential-transfer seed
624
622
  */
625
623
  async createWaasConfidentialSeedServerRaw(requestParameters, initOverrides) {
@@ -648,7 +646,7 @@ class ServerApi extends BaseAPI {
648
646
  return new JSONApiResponse(response, (jsonValue) => WaasConfidentialSeedResponseFromJSON(jsonValue));
649
647
  }
650
648
  /**
651
- * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed seed via client-keyshare-service, and returns the derived ElGamal public key. Insert-only per (wallet, address, derivation version); a repeat create returns 409.
649
+ * Generates a fresh confidential-transfer seed inside the wallet-service enclave, stores the sealed credential for the wallet, and returns the derived ElGamal public key. Insert-only per wallet; a repeat create returns 409.
652
650
  * Server — create a Solana confidential-transfer seed
653
651
  */
654
652
  async createWaasConfidentialSeedServer(requestParameters, initOverrides) {
@@ -947,47 +945,6 @@ class ServerApi extends BaseAPI {
947
945
  const response = await this.getServerIdentityServerRaw(requestParameters, initOverrides);
948
946
  return await response.value();
949
947
  }
950
- /**
951
- * Returns the stored sealed seed and metadata. When `derivationVersion` is omitted, the newest stored version is returned.
952
- * Server — fetch a wallet\'s confidential-transfer seed
953
- */
954
- async getWaasConfidentialSeedServerRaw(requestParameters, initOverrides) {
955
- if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
956
- throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasConfidentialSeedServer.');
957
- }
958
- if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
959
- throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasConfidentialSeedServer.');
960
- }
961
- if (requestParameters.solanaAddress === null || requestParameters.solanaAddress === undefined) {
962
- throw new RequiredError('solanaAddress', 'Required parameter requestParameters.solanaAddress was null or undefined when calling getWaasConfidentialSeedServer.');
963
- }
964
- const queryParameters = {};
965
- if (requestParameters.solanaAddress !== undefined) {
966
- queryParameters['solanaAddress'] = requestParameters.solanaAddress;
967
- }
968
- if (requestParameters.derivationVersion !== undefined) {
969
- queryParameters['derivationVersion'] = requestParameters.derivationVersion;
970
- }
971
- const headerParameters = {};
972
- if (requestParameters.xDynServerSigningProof !== undefined && requestParameters.xDynServerSigningProof !== null) {
973
- headerParameters['x-dyn-server-signing-proof'] = String(requestParameters.xDynServerSigningProof);
974
- }
975
- const response = await this.request({
976
- path: `/server/{environmentId}/waas/{walletId}/confidentialSeed`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
977
- method: 'GET',
978
- headers: headerParameters,
979
- query: queryParameters,
980
- }, initOverrides);
981
- return new JSONApiResponse(response, (jsonValue) => WaasConfidentialSeedResponseFromJSON(jsonValue));
982
- }
983
- /**
984
- * Returns the stored sealed seed and metadata. When `derivationVersion` is omitted, the newest stored version is returned.
985
- * Server — fetch a wallet\'s confidential-transfer seed
986
- */
987
- async getWaasConfidentialSeedServer(requestParameters, initOverrides) {
988
- const response = await this.getWaasConfidentialSeedServerRaw(requestParameters, initOverrides);
989
- return await response.value();
990
- }
991
948
  /**
992
949
  * Decrypts the wallet\'s stored confidential seed inside the enclave and uses the derived ElGamal key to decrypt the available and pending confidential balance ciphertexts on the token account. Stateless — nothing is signed and no transaction is produced. The caller supplies the token account\'s raw on-chain state; the enclave is offline and cannot reach Solana RPC.
993
950
  * Server — decrypt a Token-2022 confidential token account\'s balances
@@ -1553,40 +1510,6 @@ class ServerApi extends BaseAPI {
1553
1510
  const response = await this.signWaasConfidentialTransferServerRaw(requestParameters, initOverrides);
1554
1511
  return await response.value();
1555
1512
  }
1556
- /**
1557
- * Soft-deletes the specified WaaS wallets by ID. Only available in non-production environments.
1558
- * Soft-delete WaaS wallets (non-production only)
1559
- */
1560
- async softDeleteWaasWalletsServerRaw(requestParameters, initOverrides) {
1561
- if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
1562
- throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling softDeleteWaasWalletsServer.');
1563
- }
1564
- if (requestParameters.softDeleteWaasWalletsRequest === null || requestParameters.softDeleteWaasWalletsRequest === undefined) {
1565
- throw new RequiredError('softDeleteWaasWalletsRequest', 'Required parameter requestParameters.softDeleteWaasWalletsRequest was null or undefined when calling softDeleteWaasWalletsServer.');
1566
- }
1567
- const queryParameters = {};
1568
- const headerParameters = {};
1569
- headerParameters['Content-Type'] = 'application/json';
1570
- if (requestParameters.xDynServerSigningProof !== undefined && requestParameters.xDynServerSigningProof !== null) {
1571
- headerParameters['x-dyn-server-signing-proof'] = String(requestParameters.xDynServerSigningProof);
1572
- }
1573
- const response = await this.request({
1574
- path: `/server/{environmentId}/waas/softDelete`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
1575
- method: 'POST',
1576
- headers: headerParameters,
1577
- query: queryParameters,
1578
- body: SoftDeleteWaasWalletsRequestToJSON(requestParameters.softDeleteWaasWalletsRequest),
1579
- }, initOverrides);
1580
- return new JSONApiResponse(response, (jsonValue) => SoftDeleteWaasWalletsResponseFromJSON(jsonValue));
1581
- }
1582
- /**
1583
- * Soft-deletes the specified WaaS wallets by ID. Only available in non-production environments.
1584
- * Soft-delete WaaS wallets (non-production only)
1585
- */
1586
- async softDeleteWaasWalletsServer(requestParameters, initOverrides) {
1587
- const response = await this.softDeleteWaasWalletsServerRaw(requestParameters, initOverrides);
1588
- return await response.value();
1589
- }
1590
1513
  /**
1591
1514
  * Submits signatures to complete a previously initiated fee claim.
1592
1515
  * Submit a fee claim
package/src/index.cjs CHANGED
@@ -862,8 +862,6 @@ var SmsVerificationRetryRequest = require('./models/SmsVerificationRetryRequest.
862
862
  var SmsVerificationVerifyRequest = require('./models/SmsVerificationVerifyRequest.cjs');
863
863
  var SocialSignInProvider = require('./models/SocialSignInProvider.cjs');
864
864
  var SocialSignInProviderEnum = require('./models/SocialSignInProviderEnum.cjs');
865
- var SoftDeleteWaasWalletsRequest = require('./models/SoftDeleteWaasWalletsRequest.cjs');
866
- var SoftDeleteWaasWalletsResponse = require('./models/SoftDeleteWaasWalletsResponse.cjs');
867
865
  var SolanaTransactionOptimizationRequest = require('./models/SolanaTransactionOptimizationRequest.cjs');
868
866
  var SolanaTransactionOptimizationResponse = require('./models/SolanaTransactionOptimizationResponse.cjs');
869
867
  var SponsorEVMTransactionRequest = require('./models/SponsorEVMTransactionRequest.cjs');
@@ -4340,12 +4338,6 @@ Object.defineProperty(exports, 'SocialSignInProviderEnum', {
4340
4338
  exports.SocialSignInProviderEnumFromJSON = SocialSignInProviderEnum.SocialSignInProviderEnumFromJSON;
4341
4339
  exports.SocialSignInProviderEnumFromJSONTyped = SocialSignInProviderEnum.SocialSignInProviderEnumFromJSONTyped;
4342
4340
  exports.SocialSignInProviderEnumToJSON = SocialSignInProviderEnum.SocialSignInProviderEnumToJSON;
4343
- exports.SoftDeleteWaasWalletsRequestFromJSON = SoftDeleteWaasWalletsRequest.SoftDeleteWaasWalletsRequestFromJSON;
4344
- exports.SoftDeleteWaasWalletsRequestFromJSONTyped = SoftDeleteWaasWalletsRequest.SoftDeleteWaasWalletsRequestFromJSONTyped;
4345
- exports.SoftDeleteWaasWalletsRequestToJSON = SoftDeleteWaasWalletsRequest.SoftDeleteWaasWalletsRequestToJSON;
4346
- exports.SoftDeleteWaasWalletsResponseFromJSON = SoftDeleteWaasWalletsResponse.SoftDeleteWaasWalletsResponseFromJSON;
4347
- exports.SoftDeleteWaasWalletsResponseFromJSONTyped = SoftDeleteWaasWalletsResponse.SoftDeleteWaasWalletsResponseFromJSONTyped;
4348
- exports.SoftDeleteWaasWalletsResponseToJSON = SoftDeleteWaasWalletsResponse.SoftDeleteWaasWalletsResponseToJSON;
4349
4341
  exports.SolanaTransactionOptimizationRequestFromJSON = SolanaTransactionOptimizationRequest.SolanaTransactionOptimizationRequestFromJSON;
4350
4342
  exports.SolanaTransactionOptimizationRequestFromJSONTyped = SolanaTransactionOptimizationRequest.SolanaTransactionOptimizationRequestFromJSONTyped;
4351
4343
  exports.SolanaTransactionOptimizationRequestToJSON = SolanaTransactionOptimizationRequest.SolanaTransactionOptimizationRequestToJSON;
package/src/index.js CHANGED
@@ -858,8 +858,6 @@ export { SmsVerificationRetryRequestFromJSON, SmsVerificationRetryRequestFromJSO
858
858
  export { SmsVerificationVerifyRequestFromJSON, SmsVerificationVerifyRequestFromJSONTyped, SmsVerificationVerifyRequestToJSON } from './models/SmsVerificationVerifyRequest.js';
859
859
  export { SocialSignInProviderFromJSON, SocialSignInProviderFromJSONTyped, SocialSignInProviderToJSON } from './models/SocialSignInProvider.js';
860
860
  export { SocialSignInProviderEnum, SocialSignInProviderEnumFromJSON, SocialSignInProviderEnumFromJSONTyped, SocialSignInProviderEnumToJSON } from './models/SocialSignInProviderEnum.js';
861
- export { SoftDeleteWaasWalletsRequestFromJSON, SoftDeleteWaasWalletsRequestFromJSONTyped, SoftDeleteWaasWalletsRequestToJSON } from './models/SoftDeleteWaasWalletsRequest.js';
862
- export { SoftDeleteWaasWalletsResponseFromJSON, SoftDeleteWaasWalletsResponseFromJSONTyped, SoftDeleteWaasWalletsResponseToJSON } from './models/SoftDeleteWaasWalletsResponse.js';
863
861
  export { SolanaTransactionOptimizationRequestFromJSON, SolanaTransactionOptimizationRequestFromJSONTyped, SolanaTransactionOptimizationRequestToJSON } from './models/SolanaTransactionOptimizationRequest.js';
864
862
  export { SolanaTransactionOptimizationResponseFromJSON, SolanaTransactionOptimizationResponseFromJSONTyped, SolanaTransactionOptimizationResponseToJSON } from './models/SolanaTransactionOptimizationResponse.js';
865
863
  export { SponsorEVMTransactionRequestFromJSON, SponsorEVMTransactionRequestFromJSONTyped, SponsorEVMTransactionRequestToJSON } from './models/SponsorEVMTransactionRequest.js';
@@ -805,8 +805,6 @@ export * from './SmsVerificationRetryRequest';
805
805
  export * from './SmsVerificationVerifyRequest';
806
806
  export * from './SocialSignInProvider';
807
807
  export * from './SocialSignInProviderEnum';
808
- export * from './SoftDeleteWaasWalletsRequest';
809
- export * from './SoftDeleteWaasWalletsResponse';
810
808
  export * from './SolanaTransactionOptimizationRequest';
811
809
  export * from './SolanaTransactionOptimizationResponse';
812
810
  export * from './SponsorEVMTransactionRequest';
@@ -1,43 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- /* tslint:disable */
6
- /* eslint-disable */
7
- /**
8
- * Dashboard API
9
- * Dashboard API documentation
10
- *
11
- * The version of the OpenAPI document: 1.0.0
12
- *
13
- *
14
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
- * https://openapi-generator.tech
16
- * Do not edit the class manually.
17
- */
18
- function SoftDeleteWaasWalletsRequestFromJSON(json) {
19
- return SoftDeleteWaasWalletsRequestFromJSONTyped(json);
20
- }
21
- function SoftDeleteWaasWalletsRequestFromJSONTyped(json, ignoreDiscriminator) {
22
- if ((json === undefined) || (json === null)) {
23
- return json;
24
- }
25
- return {
26
- 'walletIds': json['walletIds'],
27
- };
28
- }
29
- function SoftDeleteWaasWalletsRequestToJSON(value) {
30
- if (value === undefined) {
31
- return undefined;
32
- }
33
- if (value === null) {
34
- return null;
35
- }
36
- return {
37
- 'walletIds': value.walletIds,
38
- };
39
- }
40
-
41
- exports.SoftDeleteWaasWalletsRequestFromJSON = SoftDeleteWaasWalletsRequestFromJSON;
42
- exports.SoftDeleteWaasWalletsRequestFromJSONTyped = SoftDeleteWaasWalletsRequestFromJSONTyped;
43
- exports.SoftDeleteWaasWalletsRequestToJSON = SoftDeleteWaasWalletsRequestToJSON;
@@ -1,27 +0,0 @@
1
- /**
2
- * Dashboard API
3
- * Dashboard API documentation
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface SoftDeleteWaasWalletsRequest
16
- */
17
- export interface SoftDeleteWaasWalletsRequest {
18
- /**
19
- *
20
- * @type {Array<string>}
21
- * @memberof SoftDeleteWaasWalletsRequest
22
- */
23
- walletIds: Array<string>;
24
- }
25
- export declare function SoftDeleteWaasWalletsRequestFromJSON(json: any): SoftDeleteWaasWalletsRequest;
26
- export declare function SoftDeleteWaasWalletsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SoftDeleteWaasWalletsRequest;
27
- export declare function SoftDeleteWaasWalletsRequestToJSON(value?: SoftDeleteWaasWalletsRequest | null): any;
@@ -1,37 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Dashboard API
5
- * Dashboard API documentation
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- function SoftDeleteWaasWalletsRequestFromJSON(json) {
15
- return SoftDeleteWaasWalletsRequestFromJSONTyped(json);
16
- }
17
- function SoftDeleteWaasWalletsRequestFromJSONTyped(json, ignoreDiscriminator) {
18
- if ((json === undefined) || (json === null)) {
19
- return json;
20
- }
21
- return {
22
- 'walletIds': json['walletIds'],
23
- };
24
- }
25
- function SoftDeleteWaasWalletsRequestToJSON(value) {
26
- if (value === undefined) {
27
- return undefined;
28
- }
29
- if (value === null) {
30
- return null;
31
- }
32
- return {
33
- 'walletIds': value.walletIds,
34
- };
35
- }
36
-
37
- export { SoftDeleteWaasWalletsRequestFromJSON, SoftDeleteWaasWalletsRequestFromJSONTyped, SoftDeleteWaasWalletsRequestToJSON };
@@ -1,35 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var runtime = require('../runtime.cjs');
6
-
7
- /* tslint:disable */
8
- function SoftDeleteWaasWalletsResponseFromJSON(json) {
9
- return SoftDeleteWaasWalletsResponseFromJSONTyped(json);
10
- }
11
- function SoftDeleteWaasWalletsResponseFromJSONTyped(json, ignoreDiscriminator) {
12
- if ((json === undefined) || (json === null)) {
13
- return json;
14
- }
15
- return {
16
- 'count': !runtime.exists(json, 'count') ? undefined : json['count'],
17
- 'walletIds': !runtime.exists(json, 'walletIds') ? undefined : json['walletIds'],
18
- };
19
- }
20
- function SoftDeleteWaasWalletsResponseToJSON(value) {
21
- if (value === undefined) {
22
- return undefined;
23
- }
24
- if (value === null) {
25
- return null;
26
- }
27
- return {
28
- 'count': value.count,
29
- 'walletIds': value.walletIds,
30
- };
31
- }
32
-
33
- exports.SoftDeleteWaasWalletsResponseFromJSON = SoftDeleteWaasWalletsResponseFromJSON;
34
- exports.SoftDeleteWaasWalletsResponseFromJSONTyped = SoftDeleteWaasWalletsResponseFromJSONTyped;
35
- exports.SoftDeleteWaasWalletsResponseToJSON = SoftDeleteWaasWalletsResponseToJSON;
@@ -1,33 +0,0 @@
1
- /**
2
- * Dashboard API
3
- * Dashboard API documentation
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface SoftDeleteWaasWalletsResponse
16
- */
17
- export interface SoftDeleteWaasWalletsResponse {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof SoftDeleteWaasWalletsResponse
22
- */
23
- count?: number;
24
- /**
25
- *
26
- * @type {Array<string>}
27
- * @memberof SoftDeleteWaasWalletsResponse
28
- */
29
- walletIds?: Array<string>;
30
- }
31
- export declare function SoftDeleteWaasWalletsResponseFromJSON(json: any): SoftDeleteWaasWalletsResponse;
32
- export declare function SoftDeleteWaasWalletsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SoftDeleteWaasWalletsResponse;
33
- export declare function SoftDeleteWaasWalletsResponseToJSON(value?: SoftDeleteWaasWalletsResponse | null): any;
@@ -1,29 +0,0 @@
1
- import { exists } from '../runtime.js';
2
-
3
- /* tslint:disable */
4
- function SoftDeleteWaasWalletsResponseFromJSON(json) {
5
- return SoftDeleteWaasWalletsResponseFromJSONTyped(json);
6
- }
7
- function SoftDeleteWaasWalletsResponseFromJSONTyped(json, ignoreDiscriminator) {
8
- if ((json === undefined) || (json === null)) {
9
- return json;
10
- }
11
- return {
12
- 'count': !exists(json, 'count') ? undefined : json['count'],
13
- 'walletIds': !exists(json, 'walletIds') ? undefined : json['walletIds'],
14
- };
15
- }
16
- function SoftDeleteWaasWalletsResponseToJSON(value) {
17
- if (value === undefined) {
18
- return undefined;
19
- }
20
- if (value === null) {
21
- return null;
22
- }
23
- return {
24
- 'count': value.count,
25
- 'walletIds': value.walletIds,
26
- };
27
- }
28
-
29
- export { SoftDeleteWaasWalletsResponseFromJSON, SoftDeleteWaasWalletsResponseFromJSONTyped, SoftDeleteWaasWalletsResponseToJSON };