@dynamic-labs/sdk-api 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.
Files changed (38) hide show
  1. package/package.json +1 -1
  2. package/src/apis/CheckoutApi.cjs +1 -1
  3. package/src/apis/CheckoutApi.js +1 -1
  4. package/src/apis/SDKApi.cjs +8 -8
  5. package/src/apis/SDKApi.d.ts +6 -6
  6. package/src/apis/SDKApi.js +8 -8
  7. package/src/index.cjs +12 -0
  8. package/src/index.js +3 -0
  9. package/src/models/BusinessAccountDetail.cjs +3 -0
  10. package/src/models/BusinessAccountDetail.d.ts +8 -1
  11. package/src/models/BusinessAccountDetail.js +3 -0
  12. package/src/models/BusinessAccountDetailAllOf.cjs +4 -0
  13. package/src/models/BusinessAccountDetailAllOf.d.ts +7 -0
  14. package/src/models/BusinessAccountDetailAllOf.js +4 -0
  15. package/src/models/BusinessAccountProperties.cjs +47 -0
  16. package/src/models/BusinessAccountProperties.d.ts +65 -0
  17. package/src/models/BusinessAccountProperties.js +41 -0
  18. package/src/models/BusinessAccountWallet.cjs +39 -0
  19. package/src/models/BusinessAccountWallet.d.ts +46 -0
  20. package/src/models/BusinessAccountWallet.js +33 -0
  21. package/src/models/CreateBusinessAccountSdkRequest.d.ts +1 -1
  22. package/src/models/CreateWaasAccountRequest.cjs +2 -0
  23. package/src/models/CreateWaasAccountRequest.d.ts +6 -0
  24. package/src/models/CreateWaasAccountRequest.js +2 -0
  25. package/src/models/Flow.cjs +6 -0
  26. package/src/models/Flow.d.ts +14 -0
  27. package/src/models/Flow.js +6 -0
  28. package/src/models/HCaptchaSettings.d.ts +1 -1
  29. package/src/models/JwtVerifiedCredential.cjs +3 -0
  30. package/src/models/JwtVerifiedCredential.d.ts +7 -0
  31. package/src/models/JwtVerifiedCredential.js +3 -0
  32. package/src/models/ProjectSettingsCaptcha.cjs +38 -0
  33. package/src/models/ProjectSettingsCaptcha.d.ts +40 -0
  34. package/src/models/ProjectSettingsCaptcha.js +32 -0
  35. package/src/models/ProjectSettingsSecurity.cjs +3 -0
  36. package/src/models/ProjectSettingsSecurity.d.ts +7 -0
  37. package/src/models/ProjectSettingsSecurity.js +3 -0
  38. package/src/models/index.d.ts +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.1065",
3
+ "version": "0.0.1067",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -94,8 +94,8 @@ require('../models/ExportModelEnum.cjs');
94
94
  require('../models/ExportStatusEnum.cjs');
95
95
  require('../models/ExternalWalletFundingDefaultChain.cjs');
96
96
  require('../models/FlowModeEnum.cjs');
97
- require('../models/FlowAnalyticsSummaryResponse.cjs');
98
97
  require('../models/SettlementStrategyEnum.cjs');
98
+ require('../models/FlowAnalyticsSummaryResponse.cjs');
99
99
  require('../models/FlowListItem.cjs');
100
100
  require('../models/GateRuleType.cjs');
101
101
  require('../models/GetEVMSponsoredTransactionStatusResponse.cjs');
@@ -90,8 +90,8 @@ import '../models/ExportModelEnum.js';
90
90
  import '../models/ExportStatusEnum.js';
91
91
  import '../models/ExternalWalletFundingDefaultChain.js';
92
92
  import '../models/FlowModeEnum.js';
93
- import '../models/FlowAnalyticsSummaryResponse.js';
94
93
  import '../models/SettlementStrategyEnum.js';
94
+ import '../models/FlowAnalyticsSummaryResponse.js';
95
95
  import '../models/FlowListItem.js';
96
96
  import '../models/GateRuleType.js';
97
97
  import '../models/GetEVMSponsoredTransactionStatusResponse.js';
@@ -32,6 +32,8 @@ require('../models/BackupKeySharesToLocationsRequestLocations.cjs');
32
32
  var BackupKeySharesToLocationsResponse = require('../models/BackupKeySharesToLocationsResponse.cjs');
33
33
  require('../models/WaasBackupOptionsEnum.cjs');
34
34
  require('../models/ThresholdSignatureScheme.cjs');
35
+ require('../models/BusinessAccountMemberRole.cjs');
36
+ require('../models/BusinessAccountSignerType.cjs');
35
37
  require('../models/JwtVerifiedCredentialFormatEnum.cjs');
36
38
  require('../models/ProviderEnum.cjs');
37
39
  require('../models/WalletAddressType.cjs');
@@ -56,8 +58,6 @@ var BusinessAccountDetail = require('../models/BusinessAccountDetail.cjs');
56
58
  var BusinessAccountMember = require('../models/BusinessAccountMember.cjs');
57
59
  var BusinessAccountSigner = require('../models/BusinessAccountSigner.cjs');
58
60
  var BusinessAccountList = require('../models/BusinessAccountList.cjs');
59
- require('../models/BusinessAccountMemberRole.cjs');
60
- require('../models/BusinessAccountSignerType.cjs');
61
61
  require('../models/CaptchaProviderEnum.cjs');
62
62
  require('../models/DestinationTypeEnum.cjs');
63
63
  require('../models/CheckoutModeEnum.cjs');
@@ -8382,7 +8382,7 @@ class SDKApi extends runtime.BaseAPI {
8382
8382
  await this.scanUrlOptionsRaw(requestParameters, initOverrides);
8383
8383
  }
8384
8384
  /**
8385
- * Caller must be an owner or admin of the workspace. 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.
8385
+ * 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.
8386
8386
  * SDK — add a member to a business account
8387
8387
  */
8388
8388
  async sdkAddBusinessAccountMemberRaw(requestParameters, initOverrides) {
@@ -8415,7 +8415,7 @@ class SDKApi extends runtime.BaseAPI {
8415
8415
  return new runtime.JSONApiResponse(response, (jsonValue) => BusinessAccountMember.BusinessAccountMemberFromJSON(jsonValue));
8416
8416
  }
8417
8417
  /**
8418
- * Caller must be an owner or admin of the workspace. 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.
8418
+ * 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.
8419
8419
  * SDK — add a member to a business account
8420
8420
  */
8421
8421
  async sdkAddBusinessAccountMember(requestParameters, initOverrides) {
@@ -8424,7 +8424,7 @@ class SDKApi extends runtime.BaseAPI {
8424
8424
  }
8425
8425
  /**
8426
8426
  * **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.
8427
- * SDK — add a signer to a wallet in a workspace (stubbed)
8427
+ * SDK — add a signer to a wallet in a business account (stubbed)
8428
8428
  */
8429
8429
  async sdkAddBusinessAccountSignerRaw(requestParameters, initOverrides) {
8430
8430
  if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
@@ -8460,7 +8460,7 @@ class SDKApi extends runtime.BaseAPI {
8460
8460
  }
8461
8461
  /**
8462
8462
  * **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.
8463
- * SDK — add a signer to a wallet in a workspace (stubbed)
8463
+ * SDK — add a signer to a wallet in a business account (stubbed)
8464
8464
  */
8465
8465
  async sdkAddBusinessAccountSigner(requestParameters, initOverrides) {
8466
8466
  const response = await this.sdkAddBusinessAccountSignerRaw(requestParameters, initOverrides);
@@ -8606,7 +8606,7 @@ class SDKApi extends runtime.BaseAPI {
8606
8606
  return await response.value();
8607
8607
  }
8608
8608
  /**
8609
- * Returns 404 if the caller is not a member of the workspace (404 not 403 so we don\'t leak workspace existence).
8609
+ * Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
8610
8610
  * SDK — get a business account with embedded members and signers
8611
8611
  */
8612
8612
  async sdkGetBusinessAccountByIdRaw(requestParameters, initOverrides) {
@@ -8634,7 +8634,7 @@ class SDKApi extends runtime.BaseAPI {
8634
8634
  return new runtime.JSONApiResponse(response, (jsonValue) => BusinessAccountDetail.BusinessAccountDetailFromJSON(jsonValue));
8635
8635
  }
8636
8636
  /**
8637
- * Returns 404 if the caller is not a member of the workspace (404 not 403 so we don\'t leak workspace existence).
8637
+ * Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
8638
8638
  * SDK — get a business account with embedded members and signers
8639
8639
  */
8640
8640
  async sdkGetBusinessAccountById(requestParameters, initOverrides) {
@@ -3777,23 +3777,23 @@ export declare class SDKApi extends runtime.BaseAPI {
3777
3777
  */
3778
3778
  scanUrlOptions(requestParameters: ScanUrlOptionsRequest, initOverrides?: RequestInit): Promise<void>;
3779
3779
  /**
3780
- * Caller must be an owner or admin of the workspace. 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.
3780
+ * 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.
3781
3781
  * SDK — add a member to a business account
3782
3782
  */
3783
3783
  sdkAddBusinessAccountMemberRaw(requestParameters: SdkAddBusinessAccountMemberRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountMember>>;
3784
3784
  /**
3785
- * Caller must be an owner or admin of the workspace. 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.
3785
+ * 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.
3786
3786
  * SDK — add a member to a business account
3787
3787
  */
3788
3788
  sdkAddBusinessAccountMember(requestParameters: SdkAddBusinessAccountMemberRequest, initOverrides?: RequestInit): Promise<BusinessAccountMember>;
3789
3789
  /**
3790
3790
  * **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.
3791
- * SDK — add a signer to a wallet in a workspace (stubbed)
3791
+ * SDK — add a signer to a wallet in a business account (stubbed)
3792
3792
  */
3793
3793
  sdkAddBusinessAccountSignerRaw(requestParameters: SdkAddBusinessAccountSignerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountSigner>>;
3794
3794
  /**
3795
3795
  * **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.
3796
- * SDK — add a signer to a wallet in a workspace (stubbed)
3796
+ * SDK — add a signer to a wallet in a business account (stubbed)
3797
3797
  */
3798
3798
  sdkAddBusinessAccountSigner(requestParameters: SdkAddBusinessAccountSignerRequest, initOverrides?: RequestInit): Promise<BusinessAccountSigner>;
3799
3799
  /**
@@ -3839,12 +3839,12 @@ export declare class SDKApi extends runtime.BaseAPI {
3839
3839
  */
3840
3840
  sdkCreateBusinessAccount(requestParameters: SdkCreateBusinessAccountRequest, initOverrides?: RequestInit): Promise<BusinessAccount>;
3841
3841
  /**
3842
- * Returns 404 if the caller is not a member of the workspace (404 not 403 so we don\'t leak workspace existence).
3842
+ * Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
3843
3843
  * SDK — get a business account with embedded members and signers
3844
3844
  */
3845
3845
  sdkGetBusinessAccountByIdRaw(requestParameters: SdkGetBusinessAccountByIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountDetail>>;
3846
3846
  /**
3847
- * Returns 404 if the caller is not a member of the workspace (404 not 403 so we don\'t leak workspace existence).
3847
+ * Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
3848
3848
  * SDK — get a business account with embedded members and signers
3849
3849
  */
3850
3850
  sdkGetBusinessAccountById(requestParameters: SdkGetBusinessAccountByIdRequest, initOverrides?: RequestInit): Promise<BusinessAccountDetail>;
@@ -28,6 +28,8 @@ import '../models/BackupKeySharesToLocationsRequestLocations.js';
28
28
  import { BackupKeySharesToLocationsResponseFromJSON } from '../models/BackupKeySharesToLocationsResponse.js';
29
29
  import '../models/WaasBackupOptionsEnum.js';
30
30
  import '../models/ThresholdSignatureScheme.js';
31
+ import '../models/BusinessAccountMemberRole.js';
32
+ import '../models/BusinessAccountSignerType.js';
31
33
  import '../models/JwtVerifiedCredentialFormatEnum.js';
32
34
  import '../models/ProviderEnum.js';
33
35
  import '../models/WalletAddressType.js';
@@ -52,8 +54,6 @@ import { BusinessAccountDetailFromJSON } from '../models/BusinessAccountDetail.j
52
54
  import { BusinessAccountMemberFromJSON } from '../models/BusinessAccountMember.js';
53
55
  import { BusinessAccountSignerFromJSON } from '../models/BusinessAccountSigner.js';
54
56
  import { BusinessAccountListFromJSON } from '../models/BusinessAccountList.js';
55
- import '../models/BusinessAccountMemberRole.js';
56
- import '../models/BusinessAccountSignerType.js';
57
57
  import '../models/CaptchaProviderEnum.js';
58
58
  import '../models/DestinationTypeEnum.js';
59
59
  import '../models/CheckoutModeEnum.js';
@@ -8378,7 +8378,7 @@ class SDKApi extends BaseAPI {
8378
8378
  await this.scanUrlOptionsRaw(requestParameters, initOverrides);
8379
8379
  }
8380
8380
  /**
8381
- * Caller must be an owner or admin of the workspace. 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.
8381
+ * 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.
8382
8382
  * SDK — add a member to a business account
8383
8383
  */
8384
8384
  async sdkAddBusinessAccountMemberRaw(requestParameters, initOverrides) {
@@ -8411,7 +8411,7 @@ class SDKApi extends BaseAPI {
8411
8411
  return new JSONApiResponse(response, (jsonValue) => BusinessAccountMemberFromJSON(jsonValue));
8412
8412
  }
8413
8413
  /**
8414
- * Caller must be an owner or admin of the workspace. 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.
8414
+ * 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.
8415
8415
  * SDK — add a member to a business account
8416
8416
  */
8417
8417
  async sdkAddBusinessAccountMember(requestParameters, initOverrides) {
@@ -8420,7 +8420,7 @@ class SDKApi extends BaseAPI {
8420
8420
  }
8421
8421
  /**
8422
8422
  * **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.
8423
- * SDK — add a signer to a wallet in a workspace (stubbed)
8423
+ * SDK — add a signer to a wallet in a business account (stubbed)
8424
8424
  */
8425
8425
  async sdkAddBusinessAccountSignerRaw(requestParameters, initOverrides) {
8426
8426
  if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
@@ -8456,7 +8456,7 @@ class SDKApi extends BaseAPI {
8456
8456
  }
8457
8457
  /**
8458
8458
  * **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.
8459
- * SDK — add a signer to a wallet in a workspace (stubbed)
8459
+ * SDK — add a signer to a wallet in a business account (stubbed)
8460
8460
  */
8461
8461
  async sdkAddBusinessAccountSigner(requestParameters, initOverrides) {
8462
8462
  const response = await this.sdkAddBusinessAccountSignerRaw(requestParameters, initOverrides);
@@ -8602,7 +8602,7 @@ class SDKApi extends BaseAPI {
8602
8602
  return await response.value();
8603
8603
  }
8604
8604
  /**
8605
- * Returns 404 if the caller is not a member of the workspace (404 not 403 so we don\'t leak workspace existence).
8605
+ * Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
8606
8606
  * SDK — get a business account with embedded members and signers
8607
8607
  */
8608
8608
  async sdkGetBusinessAccountByIdRaw(requestParameters, initOverrides) {
@@ -8630,7 +8630,7 @@ class SDKApi extends BaseAPI {
8630
8630
  return new JSONApiResponse(response, (jsonValue) => BusinessAccountDetailFromJSON(jsonValue));
8631
8631
  }
8632
8632
  /**
8633
- * Returns 404 if the caller is not a member of the workspace (404 not 403 so we don\'t leak workspace existence).
8633
+ * Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
8634
8634
  * SDK — get a business account with embedded members and signers
8635
8635
  */
8636
8636
  async sdkGetBusinessAccountById(requestParameters, initOverrides) {
package/src/index.cjs CHANGED
@@ -136,8 +136,10 @@ var BusinessAccountDetailAllOf = require('./models/BusinessAccountDetailAllOf.cj
136
136
  var BusinessAccountList = require('./models/BusinessAccountList.cjs');
137
137
  var BusinessAccountMember = require('./models/BusinessAccountMember.cjs');
138
138
  var BusinessAccountMemberRole = require('./models/BusinessAccountMemberRole.cjs');
139
+ var BusinessAccountProperties = require('./models/BusinessAccountProperties.cjs');
139
140
  var BusinessAccountSigner = require('./models/BusinessAccountSigner.cjs');
140
141
  var BusinessAccountSignerType = require('./models/BusinessAccountSignerType.cjs');
142
+ var BusinessAccountWallet = require('./models/BusinessAccountWallet.cjs');
141
143
  var CaptchaProviderEnum = require('./models/CaptchaProviderEnum.cjs');
142
144
  var CaptchaSettings = require('./models/CaptchaSettings.cjs');
143
145
  var CaptchaSettingsCreateRequest = require('./models/CaptchaSettingsCreateRequest.cjs');
@@ -538,6 +540,7 @@ var ProjectEnvironment = require('./models/ProjectEnvironment.cjs');
538
540
  var ProjectProjectEnvironments = require('./models/ProjectProjectEnvironments.cjs');
539
541
  var ProjectRequest = require('./models/ProjectRequest.cjs');
540
542
  var ProjectSettings = require('./models/ProjectSettings.cjs');
543
+ var ProjectSettingsCaptcha = require('./models/ProjectSettingsCaptcha.cjs');
541
544
  var ProjectSettingsChains = require('./models/ProjectSettingsChains.cjs');
542
545
  var ProjectSettingsDesign = require('./models/ProjectSettingsDesign.cjs');
543
546
  var ProjectSettingsDesignButton = require('./models/ProjectSettingsDesignButton.cjs');
@@ -1236,6 +1239,9 @@ Object.defineProperty(exports, 'BusinessAccountMemberRole', {
1236
1239
  exports.BusinessAccountMemberRoleFromJSON = BusinessAccountMemberRole.BusinessAccountMemberRoleFromJSON;
1237
1240
  exports.BusinessAccountMemberRoleFromJSONTyped = BusinessAccountMemberRole.BusinessAccountMemberRoleFromJSONTyped;
1238
1241
  exports.BusinessAccountMemberRoleToJSON = BusinessAccountMemberRole.BusinessAccountMemberRoleToJSON;
1242
+ exports.BusinessAccountPropertiesFromJSON = BusinessAccountProperties.BusinessAccountPropertiesFromJSON;
1243
+ exports.BusinessAccountPropertiesFromJSONTyped = BusinessAccountProperties.BusinessAccountPropertiesFromJSONTyped;
1244
+ exports.BusinessAccountPropertiesToJSON = BusinessAccountProperties.BusinessAccountPropertiesToJSON;
1239
1245
  exports.BusinessAccountSignerFromJSON = BusinessAccountSigner.BusinessAccountSignerFromJSON;
1240
1246
  exports.BusinessAccountSignerFromJSONTyped = BusinessAccountSigner.BusinessAccountSignerFromJSONTyped;
1241
1247
  exports.BusinessAccountSignerToJSON = BusinessAccountSigner.BusinessAccountSignerToJSON;
@@ -1246,6 +1252,9 @@ Object.defineProperty(exports, 'BusinessAccountSignerType', {
1246
1252
  exports.BusinessAccountSignerTypeFromJSON = BusinessAccountSignerType.BusinessAccountSignerTypeFromJSON;
1247
1253
  exports.BusinessAccountSignerTypeFromJSONTyped = BusinessAccountSignerType.BusinessAccountSignerTypeFromJSONTyped;
1248
1254
  exports.BusinessAccountSignerTypeToJSON = BusinessAccountSignerType.BusinessAccountSignerTypeToJSON;
1255
+ exports.BusinessAccountWalletFromJSON = BusinessAccountWallet.BusinessAccountWalletFromJSON;
1256
+ exports.BusinessAccountWalletFromJSONTyped = BusinessAccountWallet.BusinessAccountWalletFromJSONTyped;
1257
+ exports.BusinessAccountWalletToJSON = BusinessAccountWallet.BusinessAccountWalletToJSON;
1249
1258
  Object.defineProperty(exports, 'CaptchaProviderEnum', {
1250
1259
  enumerable: true,
1251
1260
  get: function () { return CaptchaProviderEnum.CaptchaProviderEnum; }
@@ -2726,6 +2735,9 @@ exports.ProjectRequestToJSON = ProjectRequest.ProjectRequestToJSON;
2726
2735
  exports.ProjectSettingsFromJSON = ProjectSettings.ProjectSettingsFromJSON;
2727
2736
  exports.ProjectSettingsFromJSONTyped = ProjectSettings.ProjectSettingsFromJSONTyped;
2728
2737
  exports.ProjectSettingsToJSON = ProjectSettings.ProjectSettingsToJSON;
2738
+ exports.ProjectSettingsCaptchaFromJSON = ProjectSettingsCaptcha.ProjectSettingsCaptchaFromJSON;
2739
+ exports.ProjectSettingsCaptchaFromJSONTyped = ProjectSettingsCaptcha.ProjectSettingsCaptchaFromJSONTyped;
2740
+ exports.ProjectSettingsCaptchaToJSON = ProjectSettingsCaptcha.ProjectSettingsCaptchaToJSON;
2729
2741
  exports.ProjectSettingsChainsFromJSON = ProjectSettingsChains.ProjectSettingsChainsFromJSON;
2730
2742
  exports.ProjectSettingsChainsFromJSONTyped = ProjectSettingsChains.ProjectSettingsChainsFromJSONTyped;
2731
2743
  exports.ProjectSettingsChainsToJSON = ProjectSettingsChains.ProjectSettingsChainsToJSON;
package/src/index.js CHANGED
@@ -132,8 +132,10 @@ export { BusinessAccountDetailAllOfFromJSON, BusinessAccountDetailAllOfFromJSONT
132
132
  export { BusinessAccountListFromJSON, BusinessAccountListFromJSONTyped, BusinessAccountListToJSON } from './models/BusinessAccountList.js';
133
133
  export { BusinessAccountMemberFromJSON, BusinessAccountMemberFromJSONTyped, BusinessAccountMemberToJSON } from './models/BusinessAccountMember.js';
134
134
  export { BusinessAccountMemberRole, BusinessAccountMemberRoleFromJSON, BusinessAccountMemberRoleFromJSONTyped, BusinessAccountMemberRoleToJSON } from './models/BusinessAccountMemberRole.js';
135
+ export { BusinessAccountPropertiesFromJSON, BusinessAccountPropertiesFromJSONTyped, BusinessAccountPropertiesToJSON } from './models/BusinessAccountProperties.js';
135
136
  export { BusinessAccountSignerFromJSON, BusinessAccountSignerFromJSONTyped, BusinessAccountSignerToJSON } from './models/BusinessAccountSigner.js';
136
137
  export { BusinessAccountSignerType, BusinessAccountSignerTypeFromJSON, BusinessAccountSignerTypeFromJSONTyped, BusinessAccountSignerTypeToJSON } from './models/BusinessAccountSignerType.js';
138
+ export { BusinessAccountWalletFromJSON, BusinessAccountWalletFromJSONTyped, BusinessAccountWalletToJSON } from './models/BusinessAccountWallet.js';
137
139
  export { CaptchaProviderEnum, CaptchaProviderEnumFromJSON, CaptchaProviderEnumFromJSONTyped, CaptchaProviderEnumToJSON } from './models/CaptchaProviderEnum.js';
138
140
  export { CaptchaSettingsFromJSON, CaptchaSettingsFromJSONTyped, CaptchaSettingsToJSON } from './models/CaptchaSettings.js';
139
141
  export { CaptchaSettingsCreateRequestFromJSON, CaptchaSettingsCreateRequestFromJSONTyped, CaptchaSettingsCreateRequestToJSON } from './models/CaptchaSettingsCreateRequest.js';
@@ -534,6 +536,7 @@ export { ProjectEnvironmentFromJSON, ProjectEnvironmentFromJSONTyped, ProjectEnv
534
536
  export { ProjectProjectEnvironmentsFromJSON, ProjectProjectEnvironmentsFromJSONTyped, ProjectProjectEnvironmentsToJSON } from './models/ProjectProjectEnvironments.js';
535
537
  export { ProjectRequestFromJSON, ProjectRequestFromJSONTyped, ProjectRequestToJSON } from './models/ProjectRequest.js';
536
538
  export { ProjectSettingsFromJSON, ProjectSettingsFromJSONTyped, ProjectSettingsToJSON } from './models/ProjectSettings.js';
539
+ export { ProjectSettingsCaptchaFromJSON, ProjectSettingsCaptchaFromJSONTyped, ProjectSettingsCaptchaToJSON } from './models/ProjectSettingsCaptcha.js';
537
540
  export { ProjectSettingsChainsFromJSON, ProjectSettingsChainsFromJSONTyped, ProjectSettingsChainsToJSON } from './models/ProjectSettingsChains.js';
538
541
  export { ProjectSettingsDesignFromJSON, ProjectSettingsDesignFromJSONTyped, ProjectSettingsDesignToJSON } from './models/ProjectSettingsDesign.js';
539
542
  export { ProjectSettingsDesignButtonFromJSON, ProjectSettingsDesignButtonFromJSONTyped, ProjectSettingsDesignButtonToJSON } from './models/ProjectSettingsDesignButton.js';
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var runtime = require('../runtime.cjs');
6
6
  var BusinessAccountMember = require('./BusinessAccountMember.cjs');
7
7
  var BusinessAccountSigner = require('./BusinessAccountSigner.cjs');
8
+ var BusinessAccountWallet = require('./BusinessAccountWallet.cjs');
8
9
 
9
10
  /* tslint:disable */
10
11
  function BusinessAccountDetailFromJSON(json) {
@@ -24,6 +25,7 @@ function BusinessAccountDetailFromJSONTyped(json, ignoreDiscriminator) {
24
25
  'updatedAt': !runtime.exists(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
25
26
  'members': (json['members'].map(BusinessAccountMember.BusinessAccountMemberFromJSON)),
26
27
  'signers': (json['signers'].map(BusinessAccountSigner.BusinessAccountSignerFromJSON)),
28
+ 'wallets': !runtime.exists(json, 'wallets') ? undefined : (json['wallets'].map(BusinessAccountWallet.BusinessAccountWalletFromJSON)),
27
29
  };
28
30
  }
29
31
  function BusinessAccountDetailToJSON(value) {
@@ -43,6 +45,7 @@ function BusinessAccountDetailToJSON(value) {
43
45
  'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
44
46
  'members': (value.members.map(BusinessAccountMember.BusinessAccountMemberToJSON)),
45
47
  'signers': (value.signers.map(BusinessAccountSigner.BusinessAccountSignerToJSON)),
48
+ 'wallets': value.wallets === undefined ? undefined : (value.wallets.map(BusinessAccountWallet.BusinessAccountWalletToJSON)),
46
49
  };
47
50
  }
48
51
 
@@ -11,8 +11,9 @@
11
11
  */
12
12
  import { BusinessAccountMember } from './BusinessAccountMember';
13
13
  import { BusinessAccountSigner } from './BusinessAccountSigner';
14
+ import { BusinessAccountWallet } from './BusinessAccountWallet';
14
15
  /**
15
- * SDK-side business account response with embedded members and signers. Origin 2 callers (low member count) get everything in one fetch; if a workspace ever needs pagination we add a separate paginated list endpoint without changing this shape.
16
+ * SDK-side business account response with embedded members, signers, and wallets. Origin 2 callers (low member count) get everything in one fetch; if a business account ever needs pagination we add a separate paginated list endpoint without changing this shape.
16
17
  * @export
17
18
  * @interface BusinessAccountDetail
18
19
  */
@@ -71,6 +72,12 @@ export interface BusinessAccountDetail {
71
72
  * @memberof BusinessAccountDetail
72
73
  */
73
74
  signers: Array<BusinessAccountSigner>;
75
+ /**
76
+ * Wallets bound to this business account via `Wallets.business_account_id`. Superset of `signers[].walletId` — a wallet exists before any signer row is minted on it (staged-then-resolved lifecycle).
77
+ * @type {Array<BusinessAccountWallet>}
78
+ * @memberof BusinessAccountDetail
79
+ */
80
+ wallets?: Array<BusinessAccountWallet>;
74
81
  }
75
82
  export declare function BusinessAccountDetailFromJSON(json: any): BusinessAccountDetail;
76
83
  export declare function BusinessAccountDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountDetail;
@@ -1,6 +1,7 @@
1
1
  import { exists } from '../runtime.js';
2
2
  import { BusinessAccountMemberFromJSON, BusinessAccountMemberToJSON } from './BusinessAccountMember.js';
3
3
  import { BusinessAccountSignerFromJSON, BusinessAccountSignerToJSON } from './BusinessAccountSigner.js';
4
+ import { BusinessAccountWalletFromJSON, BusinessAccountWalletToJSON } from './BusinessAccountWallet.js';
4
5
 
5
6
  /* tslint:disable */
6
7
  function BusinessAccountDetailFromJSON(json) {
@@ -20,6 +21,7 @@ function BusinessAccountDetailFromJSONTyped(json, ignoreDiscriminator) {
20
21
  'updatedAt': !exists(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
21
22
  'members': (json['members'].map(BusinessAccountMemberFromJSON)),
22
23
  'signers': (json['signers'].map(BusinessAccountSignerFromJSON)),
24
+ 'wallets': !exists(json, 'wallets') ? undefined : (json['wallets'].map(BusinessAccountWalletFromJSON)),
23
25
  };
24
26
  }
25
27
  function BusinessAccountDetailToJSON(value) {
@@ -39,6 +41,7 @@ function BusinessAccountDetailToJSON(value) {
39
41
  'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
40
42
  'members': (value.members.map(BusinessAccountMemberToJSON)),
41
43
  'signers': (value.signers.map(BusinessAccountSignerToJSON)),
44
+ 'wallets': value.wallets === undefined ? undefined : (value.wallets.map(BusinessAccountWalletToJSON)),
42
45
  };
43
46
  }
44
47
 
@@ -2,8 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var runtime = require('../runtime.cjs');
5
6
  var BusinessAccountMember = require('./BusinessAccountMember.cjs');
6
7
  var BusinessAccountSigner = require('./BusinessAccountSigner.cjs');
8
+ var BusinessAccountWallet = require('./BusinessAccountWallet.cjs');
7
9
 
8
10
  /* tslint:disable */
9
11
  function BusinessAccountDetailAllOfFromJSON(json) {
@@ -16,6 +18,7 @@ function BusinessAccountDetailAllOfFromJSONTyped(json, ignoreDiscriminator) {
16
18
  return {
17
19
  'members': (json['members'].map(BusinessAccountMember.BusinessAccountMemberFromJSON)),
18
20
  'signers': (json['signers'].map(BusinessAccountSigner.BusinessAccountSignerFromJSON)),
21
+ 'wallets': !runtime.exists(json, 'wallets') ? undefined : (json['wallets'].map(BusinessAccountWallet.BusinessAccountWalletFromJSON)),
19
22
  };
20
23
  }
21
24
  function BusinessAccountDetailAllOfToJSON(value) {
@@ -28,6 +31,7 @@ function BusinessAccountDetailAllOfToJSON(value) {
28
31
  return {
29
32
  'members': (value.members.map(BusinessAccountMember.BusinessAccountMemberToJSON)),
30
33
  'signers': (value.signers.map(BusinessAccountSigner.BusinessAccountSignerToJSON)),
34
+ 'wallets': value.wallets === undefined ? undefined : (value.wallets.map(BusinessAccountWallet.BusinessAccountWalletToJSON)),
31
35
  };
32
36
  }
33
37
 
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { BusinessAccountMember } from './BusinessAccountMember';
13
13
  import { BusinessAccountSigner } from './BusinessAccountSigner';
14
+ import { BusinessAccountWallet } from './BusinessAccountWallet';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -29,6 +30,12 @@ export interface BusinessAccountDetailAllOf {
29
30
  * @memberof BusinessAccountDetailAllOf
30
31
  */
31
32
  signers: Array<BusinessAccountSigner>;
33
+ /**
34
+ * Wallets bound to this business account via `Wallets.business_account_id`. Superset of `signers[].walletId` — a wallet exists before any signer row is minted on it (staged-then-resolved lifecycle).
35
+ * @type {Array<BusinessAccountWallet>}
36
+ * @memberof BusinessAccountDetailAllOf
37
+ */
38
+ wallets?: Array<BusinessAccountWallet>;
32
39
  }
33
40
  export declare function BusinessAccountDetailAllOfFromJSON(json: any): BusinessAccountDetailAllOf;
34
41
  export declare function BusinessAccountDetailAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountDetailAllOf;
@@ -1,5 +1,7 @@
1
+ import { exists } from '../runtime.js';
1
2
  import { BusinessAccountMemberFromJSON, BusinessAccountMemberToJSON } from './BusinessAccountMember.js';
2
3
  import { BusinessAccountSignerFromJSON, BusinessAccountSignerToJSON } from './BusinessAccountSigner.js';
4
+ import { BusinessAccountWalletFromJSON, BusinessAccountWalletToJSON } from './BusinessAccountWallet.js';
3
5
 
4
6
  /* tslint:disable */
5
7
  function BusinessAccountDetailAllOfFromJSON(json) {
@@ -12,6 +14,7 @@ function BusinessAccountDetailAllOfFromJSONTyped(json, ignoreDiscriminator) {
12
14
  return {
13
15
  'members': (json['members'].map(BusinessAccountMemberFromJSON)),
14
16
  'signers': (json['signers'].map(BusinessAccountSignerFromJSON)),
17
+ 'wallets': !exists(json, 'wallets') ? undefined : (json['wallets'].map(BusinessAccountWalletFromJSON)),
15
18
  };
16
19
  }
17
20
  function BusinessAccountDetailAllOfToJSON(value) {
@@ -24,6 +27,7 @@ function BusinessAccountDetailAllOfToJSON(value) {
24
27
  return {
25
28
  'members': (value.members.map(BusinessAccountMemberToJSON)),
26
29
  'signers': (value.signers.map(BusinessAccountSignerToJSON)),
30
+ 'wallets': value.wallets === undefined ? undefined : (value.wallets.map(BusinessAccountWalletToJSON)),
27
31
  };
28
32
  }
29
33
 
@@ -0,0 +1,47 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var BusinessAccountMemberRole = require('./BusinessAccountMemberRole.cjs');
7
+ var BusinessAccountSignerType = require('./BusinessAccountSignerType.cjs');
8
+
9
+ /* tslint:disable */
10
+ function BusinessAccountPropertiesFromJSON(json) {
11
+ return BusinessAccountPropertiesFromJSONTyped(json);
12
+ }
13
+ function BusinessAccountPropertiesFromJSONTyped(json, ignoreDiscriminator) {
14
+ if ((json === undefined) || (json === null)) {
15
+ return json;
16
+ }
17
+ return {
18
+ 'businessAccountId': json['businessAccountId'],
19
+ 'businessAccountName': !runtime.exists(json, 'businessAccountName') ? undefined : json['businessAccountName'],
20
+ 'businessAccountExternalRef': !runtime.exists(json, 'businessAccountExternalRef') ? undefined : json['businessAccountExternalRef'],
21
+ 'businessAccountCreatedAt': (new Date(json['businessAccountCreatedAt'])),
22
+ 'businessAccountSignerId': json['businessAccountSignerId'],
23
+ 'businessAccountSignerType': BusinessAccountSignerType.BusinessAccountSignerTypeFromJSON(json['businessAccountSignerType']),
24
+ 'businessAccountMemberRole': BusinessAccountMemberRole.BusinessAccountMemberRoleFromJSON(json['businessAccountMemberRole']),
25
+ };
26
+ }
27
+ function BusinessAccountPropertiesToJSON(value) {
28
+ if (value === undefined) {
29
+ return undefined;
30
+ }
31
+ if (value === null) {
32
+ return null;
33
+ }
34
+ return {
35
+ 'businessAccountId': value.businessAccountId,
36
+ 'businessAccountName': value.businessAccountName,
37
+ 'businessAccountExternalRef': value.businessAccountExternalRef,
38
+ 'businessAccountCreatedAt': (value.businessAccountCreatedAt.toISOString()),
39
+ 'businessAccountSignerId': value.businessAccountSignerId,
40
+ 'businessAccountSignerType': BusinessAccountSignerType.BusinessAccountSignerTypeToJSON(value.businessAccountSignerType),
41
+ 'businessAccountMemberRole': BusinessAccountMemberRole.BusinessAccountMemberRoleToJSON(value.businessAccountMemberRole),
42
+ };
43
+ }
44
+
45
+ exports.BusinessAccountPropertiesFromJSON = BusinessAccountPropertiesFromJSON;
46
+ exports.BusinessAccountPropertiesFromJSONTyped = BusinessAccountPropertiesFromJSONTyped;
47
+ exports.BusinessAccountPropertiesToJSON = BusinessAccountPropertiesToJSON;
@@ -0,0 +1,65 @@
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
+ import { BusinessAccountMemberRole } from './BusinessAccountMemberRole';
13
+ import { BusinessAccountSignerType } from './BusinessAccountSignerType';
14
+ /**
15
+ * Business-account context attached to a verified credential that belongs to a business account. Present whenever `wallet_properties.shareSetType` is `businessAccountUser`; absent otherwise. Each field is namespaced by its source table so a caller reading the response sees exactly which entity the value came from (no ambiguity between member role and signer type, between business-account name and signer-derived names, etc.).
16
+ * @export
17
+ * @interface BusinessAccountProperties
18
+ */
19
+ export interface BusinessAccountProperties {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof BusinessAccountProperties
24
+ */
25
+ businessAccountId: string;
26
+ /**
27
+ * Display name; user-supplied at create time. Nullable.
28
+ * @type {string}
29
+ * @memberof BusinessAccountProperties
30
+ */
31
+ businessAccountName?: string | null;
32
+ /**
33
+ * Developer-supplied stable ID inside the env. Nullable.
34
+ * @type {string}
35
+ * @memberof BusinessAccountProperties
36
+ */
37
+ businessAccountExternalRef?: string | null;
38
+ /**
39
+ *
40
+ * @type {Date}
41
+ * @memberof BusinessAccountProperties
42
+ */
43
+ businessAccountCreatedAt: Date;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof BusinessAccountProperties
48
+ */
49
+ businessAccountSignerId: string;
50
+ /**
51
+ *
52
+ * @type {BusinessAccountSignerType}
53
+ * @memberof BusinessAccountProperties
54
+ */
55
+ businessAccountSignerType: BusinessAccountSignerType;
56
+ /**
57
+ *
58
+ * @type {BusinessAccountMemberRole}
59
+ * @memberof BusinessAccountProperties
60
+ */
61
+ businessAccountMemberRole: BusinessAccountMemberRole;
62
+ }
63
+ export declare function BusinessAccountPropertiesFromJSON(json: any): BusinessAccountProperties;
64
+ export declare function BusinessAccountPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountProperties;
65
+ export declare function BusinessAccountPropertiesToJSON(value?: BusinessAccountProperties | null): any;
@@ -0,0 +1,41 @@
1
+ import { exists } from '../runtime.js';
2
+ import { BusinessAccountMemberRoleFromJSON, BusinessAccountMemberRoleToJSON } from './BusinessAccountMemberRole.js';
3
+ import { BusinessAccountSignerTypeFromJSON, BusinessAccountSignerTypeToJSON } from './BusinessAccountSignerType.js';
4
+
5
+ /* tslint:disable */
6
+ function BusinessAccountPropertiesFromJSON(json) {
7
+ return BusinessAccountPropertiesFromJSONTyped(json);
8
+ }
9
+ function BusinessAccountPropertiesFromJSONTyped(json, ignoreDiscriminator) {
10
+ if ((json === undefined) || (json === null)) {
11
+ return json;
12
+ }
13
+ return {
14
+ 'businessAccountId': json['businessAccountId'],
15
+ 'businessAccountName': !exists(json, 'businessAccountName') ? undefined : json['businessAccountName'],
16
+ 'businessAccountExternalRef': !exists(json, 'businessAccountExternalRef') ? undefined : json['businessAccountExternalRef'],
17
+ 'businessAccountCreatedAt': (new Date(json['businessAccountCreatedAt'])),
18
+ 'businessAccountSignerId': json['businessAccountSignerId'],
19
+ 'businessAccountSignerType': BusinessAccountSignerTypeFromJSON(json['businessAccountSignerType']),
20
+ 'businessAccountMemberRole': BusinessAccountMemberRoleFromJSON(json['businessAccountMemberRole']),
21
+ };
22
+ }
23
+ function BusinessAccountPropertiesToJSON(value) {
24
+ if (value === undefined) {
25
+ return undefined;
26
+ }
27
+ if (value === null) {
28
+ return null;
29
+ }
30
+ return {
31
+ 'businessAccountId': value.businessAccountId,
32
+ 'businessAccountName': value.businessAccountName,
33
+ 'businessAccountExternalRef': value.businessAccountExternalRef,
34
+ 'businessAccountCreatedAt': (value.businessAccountCreatedAt.toISOString()),
35
+ 'businessAccountSignerId': value.businessAccountSignerId,
36
+ 'businessAccountSignerType': BusinessAccountSignerTypeToJSON(value.businessAccountSignerType),
37
+ 'businessAccountMemberRole': BusinessAccountMemberRoleToJSON(value.businessAccountMemberRole),
38
+ };
39
+ }
40
+
41
+ export { BusinessAccountPropertiesFromJSON, BusinessAccountPropertiesFromJSONTyped, BusinessAccountPropertiesToJSON };
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var ChainEnum = require('./ChainEnum.cjs');
6
+
7
+ /* tslint:disable */
8
+ function BusinessAccountWalletFromJSON(json) {
9
+ return BusinessAccountWalletFromJSONTyped(json);
10
+ }
11
+ function BusinessAccountWalletFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'id': json['id'],
17
+ 'publicKey': json['publicKey'],
18
+ 'chain': ChainEnum.ChainEnumFromJSON(json['chain']),
19
+ 'createdAt': (new Date(json['createdAt'])),
20
+ };
21
+ }
22
+ function BusinessAccountWalletToJSON(value) {
23
+ if (value === undefined) {
24
+ return undefined;
25
+ }
26
+ if (value === null) {
27
+ return null;
28
+ }
29
+ return {
30
+ 'id': value.id,
31
+ 'publicKey': value.publicKey,
32
+ 'chain': ChainEnum.ChainEnumToJSON(value.chain),
33
+ 'createdAt': (value.createdAt.toISOString()),
34
+ };
35
+ }
36
+
37
+ exports.BusinessAccountWalletFromJSON = BusinessAccountWalletFromJSON;
38
+ exports.BusinessAccountWalletFromJSONTyped = BusinessAccountWalletFromJSONTyped;
39
+ exports.BusinessAccountWalletToJSON = BusinessAccountWalletToJSON;
@@ -0,0 +1,46 @@
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
+ import { ChainEnum } from './ChainEnum';
13
+ /**
14
+ * Minimal business-account-wallet projection used by `BusinessAccountDetail`.
15
+ * @export
16
+ * @interface BusinessAccountWallet
17
+ */
18
+ export interface BusinessAccountWallet {
19
+ /**
20
+ * Wallet ID (matches `signers[].walletId` for wallets that already have a signer).
21
+ * @type {string}
22
+ * @memberof BusinessAccountWallet
23
+ */
24
+ id: string;
25
+ /**
26
+ * Wallet address (already-formatted public address, not raw key material).
27
+ * @type {string}
28
+ * @memberof BusinessAccountWallet
29
+ */
30
+ publicKey: string;
31
+ /**
32
+ *
33
+ * @type {ChainEnum}
34
+ * @memberof BusinessAccountWallet
35
+ */
36
+ chain: ChainEnum;
37
+ /**
38
+ *
39
+ * @type {Date}
40
+ * @memberof BusinessAccountWallet
41
+ */
42
+ createdAt: Date;
43
+ }
44
+ export declare function BusinessAccountWalletFromJSON(json: any): BusinessAccountWallet;
45
+ export declare function BusinessAccountWalletFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountWallet;
46
+ export declare function BusinessAccountWalletToJSON(value?: BusinessAccountWallet | null): any;
@@ -0,0 +1,33 @@
1
+ import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
2
+
3
+ /* tslint:disable */
4
+ function BusinessAccountWalletFromJSON(json) {
5
+ return BusinessAccountWalletFromJSONTyped(json);
6
+ }
7
+ function BusinessAccountWalletFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'id': json['id'],
13
+ 'publicKey': json['publicKey'],
14
+ 'chain': ChainEnumFromJSON(json['chain']),
15
+ 'createdAt': (new Date(json['createdAt'])),
16
+ };
17
+ }
18
+ function BusinessAccountWalletToJSON(value) {
19
+ if (value === undefined) {
20
+ return undefined;
21
+ }
22
+ if (value === null) {
23
+ return null;
24
+ }
25
+ return {
26
+ 'id': value.id,
27
+ 'publicKey': value.publicKey,
28
+ 'chain': ChainEnumToJSON(value.chain),
29
+ 'createdAt': (value.createdAt.toISOString()),
30
+ };
31
+ }
32
+
33
+ export { BusinessAccountWalletFromJSON, BusinessAccountWalletFromJSONTyped, BusinessAccountWalletToJSON };
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * SDK-side create-workspace request. Caller becomes the first owner.
13
+ * SDK-side create-business-account request. Caller becomes the first owner.
14
14
  * @export
15
15
  * @interface CreateBusinessAccountSdkRequest
16
16
  */
@@ -20,6 +20,7 @@ function CreateWaasAccountRequestFromJSONTyped(json, ignoreDiscriminator) {
20
20
  'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
21
21
  'skipLock': !runtime.exists(json, 'skipLock') ? undefined : json['skipLock'],
22
22
  'addressType': !runtime.exists(json, 'addressType') ? undefined : json['addressType'],
23
+ 'businessAccountId': !runtime.exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
23
24
  };
24
25
  }
25
26
  function CreateWaasAccountRequestToJSON(value) {
@@ -35,6 +36,7 @@ function CreateWaasAccountRequestToJSON(value) {
35
36
  'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
36
37
  'skipLock': value.skipLock,
37
38
  'addressType': value.addressType,
39
+ 'businessAccountId': value.businessAccountId,
38
40
  };
39
41
  }
40
42
 
@@ -47,6 +47,12 @@ export interface CreateWaasAccountRequest {
47
47
  * @memberof CreateWaasAccountRequest
48
48
  */
49
49
  addressType?: string;
50
+ /**
51
+ * When set, creates this wallet as a business-account wallet rather than a root-user wallet: Wallets.userId stays null, Wallets is bound to the business account, the WaaS share set is minted with type `businessAccountUser` in `pending` status, and the caller is registered as the wallet's signer. Caller must be an `owner` or `admin` of the business account. Requires the `enable-business-accounts` feature flag — calls with this field will 422 if the flag is off rather than silently falling back to root-user creation.
52
+ * @type {string}
53
+ * @memberof CreateWaasAccountRequest
54
+ */
55
+ businessAccountId?: string | null;
50
56
  }
51
57
  export declare function CreateWaasAccountRequestFromJSON(json: any): CreateWaasAccountRequest;
52
58
  export declare function CreateWaasAccountRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWaasAccountRequest;
@@ -16,6 +16,7 @@ function CreateWaasAccountRequestFromJSONTyped(json, ignoreDiscriminator) {
16
16
  'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
17
17
  'skipLock': !exists(json, 'skipLock') ? undefined : json['skipLock'],
18
18
  'addressType': !exists(json, 'addressType') ? undefined : json['addressType'],
19
+ 'businessAccountId': !exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
19
20
  };
20
21
  }
21
22
  function CreateWaasAccountRequestToJSON(value) {
@@ -31,6 +32,7 @@ function CreateWaasAccountRequestToJSON(value) {
31
32
  'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
32
33
  'skipLock': value.skipLock,
33
34
  'addressType': value.addressType,
35
+ 'businessAccountId': value.businessAccountId,
34
36
  };
35
37
  }
36
38
 
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
6
  var ChainEnum = require('./ChainEnum.cjs');
7
+ var DestinationConfigInput = require('./DestinationConfigInput.cjs');
7
8
  var FlowExchangeSource = require('./FlowExchangeSource.cjs');
8
9
  var FlowExecutionStateEnum = require('./FlowExecutionStateEnum.cjs');
9
10
  var FlowFailure = require('./FlowFailure.cjs');
@@ -13,6 +14,7 @@ var FlowRiskStateEnum = require('./FlowRiskStateEnum.cjs');
13
14
  var FlowSettlementData = require('./FlowSettlementData.cjs');
14
15
  var FlowSettlementStateEnum = require('./FlowSettlementStateEnum.cjs');
15
16
  var FlowSourceTypeEnum = require('./FlowSourceTypeEnum.cjs');
17
+ var SettlementConfigInput = require('./SettlementConfigInput.cjs');
16
18
 
17
19
  /* tslint:disable */
18
20
  function FlowFromJSON(json) {
@@ -56,6 +58,8 @@ function FlowFromJSONTyped(json, ignoreDiscriminator) {
56
58
  'depositAddress': !runtime.exists(json, 'depositAddress') ? undefined : json['depositAddress'],
57
59
  'exchangeSource': !runtime.exists(json, 'exchangeSource') ? undefined : FlowExchangeSource.FlowExchangeSourceFromJSON(json['exchangeSource']),
58
60
  'pegStablecoins': !runtime.exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
61
+ 'settlementConfig': !runtime.exists(json, 'settlementConfig') ? undefined : SettlementConfigInput.SettlementConfigInputFromJSON(json['settlementConfig']),
62
+ 'destinationConfig': !runtime.exists(json, 'destinationConfig') ? undefined : DestinationConfigInput.DestinationConfigInputFromJSON(json['destinationConfig']),
59
63
  };
60
64
  }
61
65
  function FlowToJSON(value) {
@@ -99,6 +103,8 @@ function FlowToJSON(value) {
99
103
  'depositAddress': value.depositAddress,
100
104
  'exchangeSource': FlowExchangeSource.FlowExchangeSourceToJSON(value.exchangeSource),
101
105
  'pegStablecoins': value.pegStablecoins,
106
+ 'settlementConfig': SettlementConfigInput.SettlementConfigInputToJSON(value.settlementConfig),
107
+ 'destinationConfig': DestinationConfigInput.DestinationConfigInputToJSON(value.destinationConfig),
102
108
  };
103
109
  }
104
110
 
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { ChainEnum } from './ChainEnum';
13
+ import { DestinationConfigInput } from './DestinationConfigInput';
13
14
  import { FlowExchangeSource } from './FlowExchangeSource';
14
15
  import { FlowExecutionStateEnum } from './FlowExecutionStateEnum';
15
16
  import { FlowFailure } from './FlowFailure';
@@ -19,6 +20,7 @@ import { FlowRiskStateEnum } from './FlowRiskStateEnum';
19
20
  import { FlowSettlementData } from './FlowSettlementData';
20
21
  import { FlowSettlementStateEnum } from './FlowSettlementStateEnum';
21
22
  import { FlowSourceTypeEnum } from './FlowSourceTypeEnum';
23
+ import { SettlementConfigInput } from './SettlementConfigInput';
22
24
  /**
23
25
  * A single payment, deposit, or withdraw flow. Collapses the former Checkout and CheckoutTransaction into one resource.
24
26
  * @export
@@ -223,6 +225,18 @@ export interface Flow {
223
225
  * @memberof Flow
224
226
  */
225
227
  pegStablecoins?: boolean;
228
+ /**
229
+ *
230
+ * @type {SettlementConfigInput}
231
+ * @memberof Flow
232
+ */
233
+ settlementConfig?: SettlementConfigInput | null;
234
+ /**
235
+ *
236
+ * @type {DestinationConfigInput}
237
+ * @memberof Flow
238
+ */
239
+ destinationConfig?: DestinationConfigInput | null;
226
240
  }
227
241
  export declare function FlowFromJSON(json: any): Flow;
228
242
  export declare function FlowFromJSONTyped(json: any, ignoreDiscriminator: boolean): Flow;
@@ -1,5 +1,6 @@
1
1
  import { exists } from '../runtime.js';
2
2
  import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
3
+ import { DestinationConfigInputFromJSON, DestinationConfigInputToJSON } from './DestinationConfigInput.js';
3
4
  import { FlowExchangeSourceFromJSON, FlowExchangeSourceToJSON } from './FlowExchangeSource.js';
4
5
  import { FlowExecutionStateEnumFromJSON, FlowExecutionStateEnumToJSON } from './FlowExecutionStateEnum.js';
5
6
  import { FlowFailureFromJSON, FlowFailureToJSON } from './FlowFailure.js';
@@ -9,6 +10,7 @@ import { FlowRiskStateEnumFromJSON, FlowRiskStateEnumToJSON } from './FlowRiskSt
9
10
  import { FlowSettlementDataFromJSON, FlowSettlementDataToJSON } from './FlowSettlementData.js';
10
11
  import { FlowSettlementStateEnumFromJSON, FlowSettlementStateEnumToJSON } from './FlowSettlementStateEnum.js';
11
12
  import { FlowSourceTypeEnumFromJSON, FlowSourceTypeEnumToJSON } from './FlowSourceTypeEnum.js';
13
+ import { SettlementConfigInputFromJSON, SettlementConfigInputToJSON } from './SettlementConfigInput.js';
12
14
 
13
15
  /* tslint:disable */
14
16
  function FlowFromJSON(json) {
@@ -52,6 +54,8 @@ function FlowFromJSONTyped(json, ignoreDiscriminator) {
52
54
  'depositAddress': !exists(json, 'depositAddress') ? undefined : json['depositAddress'],
53
55
  'exchangeSource': !exists(json, 'exchangeSource') ? undefined : FlowExchangeSourceFromJSON(json['exchangeSource']),
54
56
  'pegStablecoins': !exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
57
+ 'settlementConfig': !exists(json, 'settlementConfig') ? undefined : SettlementConfigInputFromJSON(json['settlementConfig']),
58
+ 'destinationConfig': !exists(json, 'destinationConfig') ? undefined : DestinationConfigInputFromJSON(json['destinationConfig']),
55
59
  };
56
60
  }
57
61
  function FlowToJSON(value) {
@@ -95,6 +99,8 @@ function FlowToJSON(value) {
95
99
  'depositAddress': value.depositAddress,
96
100
  'exchangeSource': FlowExchangeSourceToJSON(value.exchangeSource),
97
101
  'pegStablecoins': value.pegStablecoins,
102
+ 'settlementConfig': SettlementConfigInputToJSON(value.settlementConfig),
103
+ 'destinationConfig': DestinationConfigInputToJSON(value.destinationConfig),
98
104
  };
99
105
  }
100
106
 
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * Deprecated — use `security.captcha` instead. Only populated when the environment's configured captcha provider is hCaptcha.
14
14
  * @export
15
15
  * @interface HCaptchaSettings
16
16
  */
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var BusinessAccountProperties = require('./BusinessAccountProperties.cjs');
6
7
  var JwtVerifiedCredentialFormatEnum = require('./JwtVerifiedCredentialFormatEnum.cjs');
7
8
  var NameServiceData = require('./NameServiceData.cjs');
8
9
  var ProviderEnum = require('./ProviderEnum.cjs');
@@ -30,6 +31,7 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
30
31
  'walletName': !runtime.exists(json, 'wallet_name') ? undefined : json['wallet_name'],
31
32
  'walletProvider': !runtime.exists(json, 'wallet_provider') ? undefined : WalletProviderEnum.WalletProviderEnumFromJSON(json['wallet_provider']),
32
33
  'walletProperties': !runtime.exists(json, 'wallet_properties') ? undefined : WalletProperties.WalletPropertiesFromJSON(json['wallet_properties']),
34
+ 'businessAccountProperties': !runtime.exists(json, 'business_account_properties') ? undefined : BusinessAccountProperties.BusinessAccountPropertiesFromJSON(json['business_account_properties']),
33
35
  'format': JwtVerifiedCredentialFormatEnum.JwtVerifiedCredentialFormatEnumFromJSON(json['format']),
34
36
  'oauthProvider': !runtime.exists(json, 'oauth_provider') ? undefined : ProviderEnum.ProviderEnumFromJSON(json['oauth_provider']),
35
37
  'oauthUsername': !runtime.exists(json, 'oauth_username') ? undefined : json['oauth_username'],
@@ -68,6 +70,7 @@ function JwtVerifiedCredentialToJSON(value) {
68
70
  'wallet_name': value.walletName,
69
71
  'wallet_provider': WalletProviderEnum.WalletProviderEnumToJSON(value.walletProvider),
70
72
  'wallet_properties': WalletProperties.WalletPropertiesToJSON(value.walletProperties),
73
+ 'business_account_properties': BusinessAccountProperties.BusinessAccountPropertiesToJSON(value.businessAccountProperties),
71
74
  'format': JwtVerifiedCredentialFormatEnum.JwtVerifiedCredentialFormatEnumToJSON(value.format),
72
75
  'oauth_provider': ProviderEnum.ProviderEnumToJSON(value.oauthProvider),
73
76
  'oauth_username': value.oauthUsername,
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { BusinessAccountProperties } from './BusinessAccountProperties';
12
13
  import { JwtVerifiedCredentialFormatEnum } from './JwtVerifiedCredentialFormatEnum';
13
14
  import { NameServiceData } from './NameServiceData';
14
15
  import { ProviderEnum } from './ProviderEnum';
@@ -87,6 +88,12 @@ export interface JwtVerifiedCredential {
87
88
  * @memberof JwtVerifiedCredential
88
89
  */
89
90
  walletProperties?: WalletProperties;
91
+ /**
92
+ *
93
+ * @type {BusinessAccountProperties}
94
+ * @memberof JwtVerifiedCredential
95
+ */
96
+ businessAccountProperties?: BusinessAccountProperties;
90
97
  /**
91
98
  *
92
99
  * @type {JwtVerifiedCredentialFormatEnum}
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { BusinessAccountPropertiesFromJSON, BusinessAccountPropertiesToJSON } from './BusinessAccountProperties.js';
2
3
  import { JwtVerifiedCredentialFormatEnumFromJSON, JwtVerifiedCredentialFormatEnumToJSON } from './JwtVerifiedCredentialFormatEnum.js';
3
4
  import { NameServiceDataFromJSON, NameServiceDataToJSON } from './NameServiceData.js';
4
5
  import { ProviderEnumFromJSON, ProviderEnumToJSON } from './ProviderEnum.js';
@@ -26,6 +27,7 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
26
27
  'walletName': !exists(json, 'wallet_name') ? undefined : json['wallet_name'],
27
28
  'walletProvider': !exists(json, 'wallet_provider') ? undefined : WalletProviderEnumFromJSON(json['wallet_provider']),
28
29
  'walletProperties': !exists(json, 'wallet_properties') ? undefined : WalletPropertiesFromJSON(json['wallet_properties']),
30
+ 'businessAccountProperties': !exists(json, 'business_account_properties') ? undefined : BusinessAccountPropertiesFromJSON(json['business_account_properties']),
29
31
  'format': JwtVerifiedCredentialFormatEnumFromJSON(json['format']),
30
32
  'oauthProvider': !exists(json, 'oauth_provider') ? undefined : ProviderEnumFromJSON(json['oauth_provider']),
31
33
  'oauthUsername': !exists(json, 'oauth_username') ? undefined : json['oauth_username'],
@@ -64,6 +66,7 @@ function JwtVerifiedCredentialToJSON(value) {
64
66
  'wallet_name': value.walletName,
65
67
  'wallet_provider': WalletProviderEnumToJSON(value.walletProvider),
66
68
  'wallet_properties': WalletPropertiesToJSON(value.walletProperties),
69
+ 'business_account_properties': BusinessAccountPropertiesToJSON(value.businessAccountProperties),
67
70
  'format': JwtVerifiedCredentialFormatEnumToJSON(value.format),
68
71
  'oauth_provider': ProviderEnumToJSON(value.oauthProvider),
69
72
  'oauth_username': value.oauthUsername,
@@ -0,0 +1,38 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var CaptchaProviderEnum = require('./CaptchaProviderEnum.cjs');
7
+
8
+ /* tslint:disable */
9
+ function ProjectSettingsCaptchaFromJSON(json) {
10
+ return ProjectSettingsCaptchaFromJSONTyped(json);
11
+ }
12
+ function ProjectSettingsCaptchaFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'enabled': !runtime.exists(json, 'enabled') ? undefined : json['enabled'],
18
+ 'provider': !runtime.exists(json, 'provider') ? undefined : CaptchaProviderEnum.CaptchaProviderEnumFromJSON(json['provider']),
19
+ 'siteKey': !runtime.exists(json, 'siteKey') ? undefined : json['siteKey'],
20
+ };
21
+ }
22
+ function ProjectSettingsCaptchaToJSON(value) {
23
+ if (value === undefined) {
24
+ return undefined;
25
+ }
26
+ if (value === null) {
27
+ return null;
28
+ }
29
+ return {
30
+ 'enabled': value.enabled,
31
+ 'provider': CaptchaProviderEnum.CaptchaProviderEnumToJSON(value.provider),
32
+ 'siteKey': value.siteKey,
33
+ };
34
+ }
35
+
36
+ exports.ProjectSettingsCaptchaFromJSON = ProjectSettingsCaptchaFromJSON;
37
+ exports.ProjectSettingsCaptchaFromJSONTyped = ProjectSettingsCaptchaFromJSONTyped;
38
+ exports.ProjectSettingsCaptchaToJSON = ProjectSettingsCaptchaToJSON;
@@ -0,0 +1,40 @@
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
+ import { CaptchaProviderEnum } from './CaptchaProviderEnum';
13
+ /**
14
+ * Active captcha configuration for the environment, regardless of provider. The SDK uses the provider and public site key to render the captcha widget. Replaces the deprecated `security.hCaptcha`.
15
+ * @export
16
+ * @interface ProjectSettingsCaptcha
17
+ */
18
+ export interface ProjectSettingsCaptcha {
19
+ /**
20
+ * Whether captcha verification is enabled
21
+ * @type {boolean}
22
+ * @memberof ProjectSettingsCaptcha
23
+ */
24
+ enabled?: boolean;
25
+ /**
26
+ *
27
+ * @type {CaptchaProviderEnum}
28
+ * @memberof ProjectSettingsCaptcha
29
+ */
30
+ provider?: CaptchaProviderEnum;
31
+ /**
32
+ * Public site key used to render the captcha widget
33
+ * @type {string}
34
+ * @memberof ProjectSettingsCaptcha
35
+ */
36
+ siteKey?: string;
37
+ }
38
+ export declare function ProjectSettingsCaptchaFromJSON(json: any): ProjectSettingsCaptcha;
39
+ export declare function ProjectSettingsCaptchaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsCaptcha;
40
+ export declare function ProjectSettingsCaptchaToJSON(value?: ProjectSettingsCaptcha | null): any;
@@ -0,0 +1,32 @@
1
+ import { exists } from '../runtime.js';
2
+ import { CaptchaProviderEnumFromJSON, CaptchaProviderEnumToJSON } from './CaptchaProviderEnum.js';
3
+
4
+ /* tslint:disable */
5
+ function ProjectSettingsCaptchaFromJSON(json) {
6
+ return ProjectSettingsCaptchaFromJSONTyped(json);
7
+ }
8
+ function ProjectSettingsCaptchaFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
14
+ 'provider': !exists(json, 'provider') ? undefined : CaptchaProviderEnumFromJSON(json['provider']),
15
+ 'siteKey': !exists(json, 'siteKey') ? undefined : json['siteKey'],
16
+ };
17
+ }
18
+ function ProjectSettingsCaptchaToJSON(value) {
19
+ if (value === undefined) {
20
+ return undefined;
21
+ }
22
+ if (value === null) {
23
+ return null;
24
+ }
25
+ return {
26
+ 'enabled': value.enabled,
27
+ 'provider': CaptchaProviderEnumToJSON(value.provider),
28
+ 'siteKey': value.siteKey,
29
+ };
30
+ }
31
+
32
+ export { ProjectSettingsCaptchaFromJSON, ProjectSettingsCaptchaFromJSONTyped, ProjectSettingsCaptchaToJSON };
@@ -8,6 +8,7 @@ var Duration = require('./Duration.cjs');
8
8
  var ExternalAuth = require('./ExternalAuth.cjs');
9
9
  var HCaptchaSettings = require('./HCaptchaSettings.cjs');
10
10
  var MFASettings = require('./MFASettings.cjs');
11
+ var ProjectSettingsCaptcha = require('./ProjectSettingsCaptcha.cjs');
11
12
  var SecurityNotifications = require('./SecurityNotifications.cjs');
12
13
 
13
14
  /* tslint:disable */
@@ -21,6 +22,7 @@ function ProjectSettingsSecurityFromJSONTyped(json, ignoreDiscriminator) {
21
22
  return {
22
23
  'jwtDuration': !runtime.exists(json, 'jwtDuration') ? undefined : Duration.DurationFromJSON(json['jwtDuration']),
23
24
  'hCaptcha': !runtime.exists(json, 'hCaptcha') ? undefined : HCaptchaSettings.HCaptchaSettingsFromJSON(json['hCaptcha']),
25
+ 'captcha': !runtime.exists(json, 'captcha') ? undefined : ProjectSettingsCaptcha.ProjectSettingsCaptchaFromJSON(json['captcha']),
24
26
  'mfa': !runtime.exists(json, 'mfa') ? undefined : MFASettings.MFASettingsFromJSON(json['mfa']),
25
27
  'auth': !runtime.exists(json, 'auth') ? undefined : AuthSettings.AuthSettingsFromJSON(json['auth']),
26
28
  'externalAuth': !runtime.exists(json, 'externalAuth') ? undefined : ExternalAuth.ExternalAuthFromJSON(json['externalAuth']),
@@ -39,6 +41,7 @@ function ProjectSettingsSecurityToJSON(value) {
39
41
  return {
40
42
  'jwtDuration': Duration.DurationToJSON(value.jwtDuration),
41
43
  'hCaptcha': HCaptchaSettings.HCaptchaSettingsToJSON(value.hCaptcha),
44
+ 'captcha': ProjectSettingsCaptcha.ProjectSettingsCaptchaToJSON(value.captcha),
42
45
  'mfa': MFASettings.MFASettingsToJSON(value.mfa),
43
46
  'auth': AuthSettings.AuthSettingsToJSON(value.auth),
44
47
  'externalAuth': ExternalAuth.ExternalAuthToJSON(value.externalAuth),
@@ -14,6 +14,7 @@ import { Duration } from './Duration';
14
14
  import { ExternalAuth } from './ExternalAuth';
15
15
  import { HCaptchaSettings } from './HCaptchaSettings';
16
16
  import { MFASettings } from './MFASettings';
17
+ import { ProjectSettingsCaptcha } from './ProjectSettingsCaptcha';
17
18
  import { SecurityNotifications } from './SecurityNotifications';
18
19
  /**
19
20
  *
@@ -33,6 +34,12 @@ export interface ProjectSettingsSecurity {
33
34
  * @memberof ProjectSettingsSecurity
34
35
  */
35
36
  hCaptcha?: HCaptchaSettings;
37
+ /**
38
+ *
39
+ * @type {ProjectSettingsCaptcha}
40
+ * @memberof ProjectSettingsSecurity
41
+ */
42
+ captcha?: ProjectSettingsCaptcha;
36
43
  /**
37
44
  *
38
45
  * @type {MFASettings}
@@ -4,6 +4,7 @@ import { DurationFromJSON, DurationToJSON } from './Duration.js';
4
4
  import { ExternalAuthFromJSON, ExternalAuthToJSON } from './ExternalAuth.js';
5
5
  import { HCaptchaSettingsFromJSON, HCaptchaSettingsToJSON } from './HCaptchaSettings.js';
6
6
  import { MFASettingsFromJSON, MFASettingsToJSON } from './MFASettings.js';
7
+ import { ProjectSettingsCaptchaFromJSON, ProjectSettingsCaptchaToJSON } from './ProjectSettingsCaptcha.js';
7
8
  import { SecurityNotificationsFromJSON, SecurityNotificationsToJSON } from './SecurityNotifications.js';
8
9
 
9
10
  /* tslint:disable */
@@ -17,6 +18,7 @@ function ProjectSettingsSecurityFromJSONTyped(json, ignoreDiscriminator) {
17
18
  return {
18
19
  'jwtDuration': !exists(json, 'jwtDuration') ? undefined : DurationFromJSON(json['jwtDuration']),
19
20
  'hCaptcha': !exists(json, 'hCaptcha') ? undefined : HCaptchaSettingsFromJSON(json['hCaptcha']),
21
+ 'captcha': !exists(json, 'captcha') ? undefined : ProjectSettingsCaptchaFromJSON(json['captcha']),
20
22
  'mfa': !exists(json, 'mfa') ? undefined : MFASettingsFromJSON(json['mfa']),
21
23
  'auth': !exists(json, 'auth') ? undefined : AuthSettingsFromJSON(json['auth']),
22
24
  'externalAuth': !exists(json, 'externalAuth') ? undefined : ExternalAuthFromJSON(json['externalAuth']),
@@ -35,6 +37,7 @@ function ProjectSettingsSecurityToJSON(value) {
35
37
  return {
36
38
  'jwtDuration': DurationToJSON(value.jwtDuration),
37
39
  'hCaptcha': HCaptchaSettingsToJSON(value.hCaptcha),
40
+ 'captcha': ProjectSettingsCaptchaToJSON(value.captcha),
38
41
  'mfa': MFASettingsToJSON(value.mfa),
39
42
  'auth': AuthSettingsToJSON(value.auth),
40
43
  'externalAuth': ExternalAuthToJSON(value.externalAuth),
@@ -86,8 +86,10 @@ export * from './BusinessAccountDetailAllOf';
86
86
  export * from './BusinessAccountList';
87
87
  export * from './BusinessAccountMember';
88
88
  export * from './BusinessAccountMemberRole';
89
+ export * from './BusinessAccountProperties';
89
90
  export * from './BusinessAccountSigner';
90
91
  export * from './BusinessAccountSignerType';
92
+ export * from './BusinessAccountWallet';
91
93
  export * from './CaptchaProviderEnum';
92
94
  export * from './CaptchaSettings';
93
95
  export * from './CaptchaSettingsCreateRequest';
@@ -488,6 +490,7 @@ export * from './ProjectEnvironment';
488
490
  export * from './ProjectProjectEnvironments';
489
491
  export * from './ProjectRequest';
490
492
  export * from './ProjectSettings';
493
+ export * from './ProjectSettingsCaptcha';
491
494
  export * from './ProjectSettingsChains';
492
495
  export * from './ProjectSettingsDesign';
493
496
  export * from './ProjectSettingsDesignButton';