@dynamic-labs/sdk-api 0.162.0 → 0.164.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.162.0",
3
+ "version": "0.164.0",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -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');
@@ -1516,40 +1514,6 @@ class ServerApi extends runtime.BaseAPI {
1516
1514
  const response = await this.signWaasConfidentialTransferServerRaw(requestParameters, initOverrides);
1517
1515
  return await response.value();
1518
1516
  }
1519
- /**
1520
- * Soft-deletes the specified WaaS wallets by ID. Only available in non-production environments.
1521
- * Soft-delete WaaS wallets (non-production only)
1522
- */
1523
- async softDeleteWaasWalletsServerRaw(requestParameters, initOverrides) {
1524
- if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
1525
- throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling softDeleteWaasWalletsServer.');
1526
- }
1527
- if (requestParameters.softDeleteWaasWalletsRequest === null || requestParameters.softDeleteWaasWalletsRequest === undefined) {
1528
- throw new runtime.RequiredError('softDeleteWaasWalletsRequest', 'Required parameter requestParameters.softDeleteWaasWalletsRequest was null or undefined when calling softDeleteWaasWalletsServer.');
1529
- }
1530
- const queryParameters = {};
1531
- const headerParameters = {};
1532
- headerParameters['Content-Type'] = 'application/json';
1533
- if (requestParameters.xDynServerSigningProof !== undefined && requestParameters.xDynServerSigningProof !== null) {
1534
- headerParameters['x-dyn-server-signing-proof'] = String(requestParameters.xDynServerSigningProof);
1535
- }
1536
- const response = await this.request({
1537
- path: `/server/{environmentId}/waas/softDelete`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
1538
- method: 'POST',
1539
- headers: headerParameters,
1540
- query: queryParameters,
1541
- body: SoftDeleteWaasWalletsRequest.SoftDeleteWaasWalletsRequestToJSON(requestParameters.softDeleteWaasWalletsRequest),
1542
- }, initOverrides);
1543
- return new runtime.JSONApiResponse(response, (jsonValue) => SoftDeleteWaasWalletsResponse.SoftDeleteWaasWalletsResponseFromJSON(jsonValue));
1544
- }
1545
- /**
1546
- * Soft-deletes the specified WaaS wallets by ID. Only available in non-production environments.
1547
- * Soft-delete WaaS wallets (non-production only)
1548
- */
1549
- async softDeleteWaasWalletsServer(requestParameters, initOverrides) {
1550
- const response = await this.softDeleteWaasWalletsServerRaw(requestParameters, initOverrides);
1551
- return await response.value();
1552
- }
1553
1517
  /**
1554
1518
  * Submits signatures to complete a previously initiated fee claim.
1555
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;
@@ -207,11 +207,6 @@ export interface SignWaasConfidentialTransferServerRequest {
207
207
  waasSignConfidentialTransferRequest: WaasSignConfidentialTransferRequest;
208
208
  xDynServerSigningProof?: string;
209
209
  }
210
- export interface SoftDeleteWaasWalletsServerRequest {
211
- environmentId: string;
212
- softDeleteWaasWalletsRequest: SoftDeleteWaasWalletsRequest;
213
- xDynServerSigningProof?: string;
214
- }
215
210
  export interface SubmitFlowFeeClaimServerRequest {
216
211
  environmentId: string;
217
212
  flowFeeClaimSubmitRequest: FlowFeeClaimSubmitRequest;
@@ -603,16 +598,6 @@ export declare class ServerApi extends runtime.BaseAPI {
603
598
  * Server — build Token-2022 confidential-transfer transactions
604
599
  */
605
600
  signWaasConfidentialTransferServer(requestParameters: SignWaasConfidentialTransferServerRequest, initOverrides?: RequestInit): Promise<WaasSignConfidentialTransferResponse>;
606
- /**
607
- * Soft-deletes the specified WaaS wallets by ID. Only available in non-production environments.
608
- * Soft-delete WaaS wallets (non-production only)
609
- */
610
- softDeleteWaasWalletsServerRaw(requestParameters: SoftDeleteWaasWalletsServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<SoftDeleteWaasWalletsResponse>>;
611
- /**
612
- * Soft-deletes the specified WaaS wallets by ID. Only available in non-production environments.
613
- * Soft-delete WaaS wallets (non-production only)
614
- */
615
- softDeleteWaasWalletsServer(requestParameters: SoftDeleteWaasWalletsServerRequest, initOverrides?: RequestInit): Promise<SoftDeleteWaasWalletsResponse>;
616
601
  /**
617
602
  * Submits signatures to complete a previously initiated fee claim.
618
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';
@@ -1512,40 +1510,6 @@ class ServerApi extends BaseAPI {
1512
1510
  const response = await this.signWaasConfidentialTransferServerRaw(requestParameters, initOverrides);
1513
1511
  return await response.value();
1514
1512
  }
1515
- /**
1516
- * Soft-deletes the specified WaaS wallets by ID. Only available in non-production environments.
1517
- * Soft-delete WaaS wallets (non-production only)
1518
- */
1519
- async softDeleteWaasWalletsServerRaw(requestParameters, initOverrides) {
1520
- if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
1521
- throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling softDeleteWaasWalletsServer.');
1522
- }
1523
- if (requestParameters.softDeleteWaasWalletsRequest === null || requestParameters.softDeleteWaasWalletsRequest === undefined) {
1524
- throw new RequiredError('softDeleteWaasWalletsRequest', 'Required parameter requestParameters.softDeleteWaasWalletsRequest was null or undefined when calling softDeleteWaasWalletsServer.');
1525
- }
1526
- const queryParameters = {};
1527
- const headerParameters = {};
1528
- headerParameters['Content-Type'] = 'application/json';
1529
- if (requestParameters.xDynServerSigningProof !== undefined && requestParameters.xDynServerSigningProof !== null) {
1530
- headerParameters['x-dyn-server-signing-proof'] = String(requestParameters.xDynServerSigningProof);
1531
- }
1532
- const response = await this.request({
1533
- path: `/server/{environmentId}/waas/softDelete`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
1534
- method: 'POST',
1535
- headers: headerParameters,
1536
- query: queryParameters,
1537
- body: SoftDeleteWaasWalletsRequestToJSON(requestParameters.softDeleteWaasWalletsRequest),
1538
- }, initOverrides);
1539
- return new JSONApiResponse(response, (jsonValue) => SoftDeleteWaasWalletsResponseFromJSON(jsonValue));
1540
- }
1541
- /**
1542
- * Soft-deletes the specified WaaS wallets by ID. Only available in non-production environments.
1543
- * Soft-delete WaaS wallets (non-production only)
1544
- */
1545
- async softDeleteWaasWalletsServer(requestParameters, initOverrides) {
1546
- const response = await this.softDeleteWaasWalletsServerRaw(requestParameters, initOverrides);
1547
- return await response.value();
1548
- }
1549
1513
  /**
1550
1514
  * Submits signatures to complete a previously initiated fee claim.
1551
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 };