@dynamic-labs/sdk-api 0.153.0 → 0.155.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.
Files changed (28) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.cjs +197 -1
  3. package/src/apis/SDKApi.d.ts +83 -1
  4. package/src/apis/SDKApi.js +197 -1
  5. package/src/index.cjs +28 -0
  6. package/src/index.js +7 -0
  7. package/src/models/BusinessAccountMemberInviteListResponse.cjs +33 -0
  8. package/src/models/BusinessAccountMemberInviteListResponse.d.ts +28 -0
  9. package/src/models/BusinessAccountMemberInviteListResponse.js +27 -0
  10. package/src/models/CancelBusinessAccountMemberInviteSdkRequest.cjs +37 -0
  11. package/src/models/CancelBusinessAccountMemberInviteSdkRequest.d.ts +43 -0
  12. package/src/models/CancelBusinessAccountMemberInviteSdkRequest.js +31 -0
  13. package/src/models/FlowSourceTokenOption.cjs +39 -0
  14. package/src/models/FlowSourceTokenOption.d.ts +42 -0
  15. package/src/models/FlowSourceTokenOption.js +33 -0
  16. package/src/models/FlowSourceTokenOptionChain.cjs +36 -0
  17. package/src/models/FlowSourceTokenOptionChain.d.ts +34 -0
  18. package/src/models/FlowSourceTokenOptionChain.js +30 -0
  19. package/src/models/FlowSourceTokenOptionNetwork.cjs +37 -0
  20. package/src/models/FlowSourceTokenOptionNetwork.d.ts +39 -0
  21. package/src/models/FlowSourceTokenOptionNetwork.js +31 -0
  22. package/src/models/FlowSourceTokenOptionToken.cjs +39 -0
  23. package/src/models/FlowSourceTokenOptionToken.d.ts +45 -0
  24. package/src/models/FlowSourceTokenOptionToken.js +33 -0
  25. package/src/models/FlowSourceTokenOptionsResponse.cjs +33 -0
  26. package/src/models/FlowSourceTokenOptionsResponse.d.ts +28 -0
  27. package/src/models/FlowSourceTokenOptionsResponse.js +27 -0
  28. package/src/models/index.d.ts +7 -0
@@ -72,7 +72,8 @@ import '../models/BusinessAccountInvite.js';
72
72
  import { BusinessAccountInviteListResponseFromJSON } from '../models/BusinessAccountInviteListResponse.js';
73
73
  import { BusinessAccountListFromJSON } from '../models/BusinessAccountList.js';
74
74
  import { BusinessAccountMemberCreationResultFromJSON } from '../models/BusinessAccountMemberCreationResult.js';
75
- import '../models/BusinessAccountMemberInviteReceipt.js';
75
+ import { BusinessAccountMemberInviteListResponseFromJSON } from '../models/BusinessAccountMemberInviteListResponse.js';
76
+ import { BusinessAccountMemberInviteReceiptFromJSON } from '../models/BusinessAccountMemberInviteReceipt.js';
76
77
  import '../models/BusinessAccountMemberRole.js';
77
78
  import { BusinessAccountMutationVersionFromJSON } from '../models/BusinessAccountMutationVersion.js';
78
79
  import { BusinessAccountProposalFromJSON } from '../models/BusinessAccountProposal.js';
@@ -84,6 +85,7 @@ import '../models/BusinessAccountRolesAdminResponseAllOf.js';
84
85
  import { BusinessAccountRolesResponseFromJSON } from '../models/BusinessAccountRolesResponse.js';
85
86
  import { BusinessAccountSigningProposalFromJSON } from '../models/BusinessAccountSigningProposal.js';
86
87
  import '../models/SignMessageApprovalQuorumIntent.js';
88
+ import { CancelBusinessAccountMemberInviteSdkRequestToJSON } from '../models/CancelBusinessAccountMemberInviteSdkRequest.js';
87
89
  import '../models/CaptchaProviderEnum.js';
88
90
  import '../models/DestinationTypeEnum.js';
89
91
  import '../models/ChainalysisExists.js';
@@ -186,6 +188,7 @@ import { FlowRecordBroadcastRequestToJSON } from '../models/FlowRecordBroadcastR
186
188
  import '../models/FlowRiskStateEnum.js';
187
189
  import '../models/FlowSettlementStateEnum.js';
188
190
  import { FlowSourceResponseFromJSON } from '../models/FlowSourceResponse.js';
191
+ import { FlowSourceTokenOptionsResponseFromJSON } from '../models/FlowSourceTokenOptionsResponse.js';
189
192
  import '../models/OnrampProviders.js';
190
193
  import '../models/GateRuleType.js';
191
194
  import { GeneratedTokenResponseFromJSON } from '../models/GeneratedTokenResponse.js';
@@ -4942,6 +4945,67 @@ class SDKApi extends BaseAPI {
4942
4945
  async getFlowQuoteOptions(requestParameters, initOverrides) {
4943
4946
  await this.getFlowQuoteOptionsRaw(requestParameters, initOverrides);
4944
4947
  }
4948
+ /**
4949
+ * Returns the supported tokens for deposit address source, for a given flow, grouped by the network they are sent on. Only the deposit_address source type is supported.
4950
+ * Get the supported tokens for a flow source
4951
+ */
4952
+ async getFlowSourceTokenOptionsRaw(requestParameters, initOverrides) {
4953
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
4954
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getFlowSourceTokenOptions.');
4955
+ }
4956
+ if (requestParameters.flowId === null || requestParameters.flowId === undefined) {
4957
+ throw new RequiredError('flowId', 'Required parameter requestParameters.flowId was null or undefined when calling getFlowSourceTokenOptions.');
4958
+ }
4959
+ if (requestParameters.sourceType === null || requestParameters.sourceType === undefined) {
4960
+ throw new RequiredError('sourceType', 'Required parameter requestParameters.sourceType was null or undefined when calling getFlowSourceTokenOptions.');
4961
+ }
4962
+ const queryParameters = {};
4963
+ if (requestParameters.sourceType !== undefined) {
4964
+ queryParameters['sourceType'] = requestParameters.sourceType;
4965
+ }
4966
+ const headerParameters = {};
4967
+ const response = await this.request({
4968
+ path: `/sdk/{environmentId}/flow/{flowId}/sourceTokenOptions`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"flowId"}}`, encodeURIComponent(String(requestParameters.flowId))),
4969
+ method: 'GET',
4970
+ headers: headerParameters,
4971
+ query: queryParameters,
4972
+ }, initOverrides);
4973
+ return new JSONApiResponse(response, (jsonValue) => FlowSourceTokenOptionsResponseFromJSON(jsonValue));
4974
+ }
4975
+ /**
4976
+ * Returns the supported tokens for deposit address source, for a given flow, grouped by the network they are sent on. Only the deposit_address source type is supported.
4977
+ * Get the supported tokens for a flow source
4978
+ */
4979
+ async getFlowSourceTokenOptions(requestParameters, initOverrides) {
4980
+ const response = await this.getFlowSourceTokenOptionsRaw(requestParameters, initOverrides);
4981
+ return await response.value();
4982
+ }
4983
+ /**
4984
+ * Options call for this endpoint
4985
+ */
4986
+ async getFlowSourceTokenOptionsOptionsRaw(requestParameters, initOverrides) {
4987
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
4988
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getFlowSourceTokenOptionsOptions.');
4989
+ }
4990
+ if (requestParameters.flowId === null || requestParameters.flowId === undefined) {
4991
+ throw new RequiredError('flowId', 'Required parameter requestParameters.flowId was null or undefined when calling getFlowSourceTokenOptionsOptions.');
4992
+ }
4993
+ const queryParameters = {};
4994
+ const headerParameters = {};
4995
+ const response = await this.request({
4996
+ path: `/sdk/{environmentId}/flow/{flowId}/sourceTokenOptions`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"flowId"}}`, encodeURIComponent(String(requestParameters.flowId))),
4997
+ method: 'OPTIONS',
4998
+ headers: headerParameters,
4999
+ query: queryParameters,
5000
+ }, initOverrides);
5001
+ return new VoidApiResponse(response);
5002
+ }
5003
+ /**
5004
+ * Options call for this endpoint
5005
+ */
5006
+ async getFlowSourceTokenOptionsOptions(requestParameters, initOverrides) {
5007
+ await this.getFlowSourceTokenOptionsOptionsRaw(requestParameters, initOverrides);
5008
+ }
4945
5009
  /**
4946
5010
  * Returns the global wallet settings configured for the specified environment.
4947
5011
  * Get the global wallet settings for the environment
@@ -9949,6 +10013,61 @@ class SDKApi extends BaseAPI {
9949
10013
  async sdkBusinessAccountMemberByUserOptions(requestParameters, initOverrides) {
9950
10014
  await this.sdkBusinessAccountMemberByUserOptionsRaw(requestParameters, initOverrides);
9951
10015
  }
10016
+ /**
10017
+ * Options call for this endpoint
10018
+ */
10019
+ async sdkBusinessAccountMemberInviteOptionsRaw(requestParameters, initOverrides) {
10020
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
10021
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountMemberInviteOptions.');
10022
+ }
10023
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
10024
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkBusinessAccountMemberInviteOptions.');
10025
+ }
10026
+ if (requestParameters.inviteId === null || requestParameters.inviteId === undefined) {
10027
+ throw new RequiredError('inviteId', 'Required parameter requestParameters.inviteId was null or undefined when calling sdkBusinessAccountMemberInviteOptions.');
10028
+ }
10029
+ const queryParameters = {};
10030
+ const headerParameters = {};
10031
+ const response = await this.request({
10032
+ path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/invites/{inviteId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))).replace(`{${"inviteId"}}`, encodeURIComponent(String(requestParameters.inviteId))),
10033
+ method: 'OPTIONS',
10034
+ headers: headerParameters,
10035
+ query: queryParameters,
10036
+ }, initOverrides);
10037
+ return new VoidApiResponse(response);
10038
+ }
10039
+ /**
10040
+ * Options call for this endpoint
10041
+ */
10042
+ async sdkBusinessAccountMemberInviteOptions(requestParameters, initOverrides) {
10043
+ await this.sdkBusinessAccountMemberInviteOptionsRaw(requestParameters, initOverrides);
10044
+ }
10045
+ /**
10046
+ * Options call for this endpoint
10047
+ */
10048
+ async sdkBusinessAccountMemberInvitesOptionsRaw(requestParameters, initOverrides) {
10049
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
10050
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountMemberInvitesOptions.');
10051
+ }
10052
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
10053
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkBusinessAccountMemberInvitesOptions.');
10054
+ }
10055
+ const queryParameters = {};
10056
+ const headerParameters = {};
10057
+ const response = await this.request({
10058
+ path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/invites`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))),
10059
+ method: 'OPTIONS',
10060
+ headers: headerParameters,
10061
+ query: queryParameters,
10062
+ }, initOverrides);
10063
+ return new VoidApiResponse(response);
10064
+ }
10065
+ /**
10066
+ * Options call for this endpoint
10067
+ */
10068
+ async sdkBusinessAccountMemberInvitesOptions(requestParameters, initOverrides) {
10069
+ await this.sdkBusinessAccountMemberInvitesOptionsRaw(requestParameters, initOverrides);
10070
+ }
9952
10071
  /**
9953
10072
  * Options call for this endpoint
9954
10073
  */
@@ -10389,6 +10508,47 @@ class SDKApi extends BaseAPI {
10389
10508
  async sdkBusinessAccountsOptions(requestParameters, initOverrides) {
10390
10509
  await this.sdkBusinessAccountsOptionsRaw(requestParameters, initOverrides);
10391
10510
  }
10511
+ /**
10512
+ * Cancels an unaccepted member invitation. The caller must be authorized to remove members. When member removal requires approvals, this endpoint returns the same intent and proposal workflow used by other governed business account mutations. Repeating a completed cancellation is safe.
10513
+ * SDK — cancel a pending business account member invite
10514
+ */
10515
+ async sdkCancelBusinessAccountMemberInviteRaw(requestParameters, initOverrides) {
10516
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
10517
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkCancelBusinessAccountMemberInvite.');
10518
+ }
10519
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
10520
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkCancelBusinessAccountMemberInvite.');
10521
+ }
10522
+ if (requestParameters.inviteId === null || requestParameters.inviteId === undefined) {
10523
+ throw new RequiredError('inviteId', 'Required parameter requestParameters.inviteId was null or undefined when calling sdkCancelBusinessAccountMemberInvite.');
10524
+ }
10525
+ const queryParameters = {};
10526
+ const headerParameters = {};
10527
+ headerParameters['Content-Type'] = 'application/json';
10528
+ if (this.configuration && this.configuration.accessToken) {
10529
+ const token = this.configuration.accessToken;
10530
+ const tokenString = await token("bearerAuth", []);
10531
+ if (tokenString) {
10532
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
10533
+ }
10534
+ }
10535
+ const response = await this.request({
10536
+ path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/invites/{inviteId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))).replace(`{${"inviteId"}}`, encodeURIComponent(String(requestParameters.inviteId))),
10537
+ method: 'DELETE',
10538
+ headers: headerParameters,
10539
+ query: queryParameters,
10540
+ body: CancelBusinessAccountMemberInviteSdkRequestToJSON(requestParameters.cancelBusinessAccountMemberInviteSdkRequest),
10541
+ }, initOverrides);
10542
+ return new JSONApiResponse(response, (jsonValue) => BusinessAccountMemberInviteReceiptFromJSON(jsonValue));
10543
+ }
10544
+ /**
10545
+ * Cancels an unaccepted member invitation. The caller must be authorized to remove members. When member removal requires approvals, this endpoint returns the same intent and proposal workflow used by other governed business account mutations. Repeating a completed cancellation is safe.
10546
+ * SDK — cancel a pending business account member invite
10547
+ */
10548
+ async sdkCancelBusinessAccountMemberInvite(requestParameters, initOverrides) {
10549
+ const response = await this.sdkCancelBusinessAccountMemberInviteRaw(requestParameters, initOverrides);
10550
+ return await response.value();
10551
+ }
10392
10552
  /**
10393
10553
  * Create a business account from the SDK. The authenticated JWT user becomes the first `owner` member. Gated by the `enable-business-accounts` feature flag.
10394
10554
  * SDK — create a business account
@@ -10894,6 +11054,42 @@ class SDKApi extends BaseAPI {
10894
11054
  const response = await this.sdkLinkBusinessAccountWalletRaw(requestParameters, initOverrides);
10895
11055
  return await response.value();
10896
11056
  }
11057
+ /**
11058
+ * Lists outstanding invitations for a business account. The caller must be authorized to remove members. Internal invitee user IDs are omitted.
11059
+ * SDK — list pending business account member invites
11060
+ */
11061
+ async sdkListBusinessAccountMemberInvitesRaw(requestParameters, initOverrides) {
11062
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
11063
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkListBusinessAccountMemberInvites.');
11064
+ }
11065
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
11066
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkListBusinessAccountMemberInvites.');
11067
+ }
11068
+ const queryParameters = {};
11069
+ const headerParameters = {};
11070
+ if (this.configuration && this.configuration.accessToken) {
11071
+ const token = this.configuration.accessToken;
11072
+ const tokenString = await token("bearerAuth", []);
11073
+ if (tokenString) {
11074
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
11075
+ }
11076
+ }
11077
+ const response = await this.request({
11078
+ path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/invites`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))),
11079
+ method: 'GET',
11080
+ headers: headerParameters,
11081
+ query: queryParameters,
11082
+ }, initOverrides);
11083
+ return new JSONApiResponse(response, (jsonValue) => BusinessAccountMemberInviteListResponseFromJSON(jsonValue));
11084
+ }
11085
+ /**
11086
+ * Lists outstanding invitations for a business account. The caller must be authorized to remove members. Internal invitee user IDs are omitted.
11087
+ * SDK — list pending business account member invites
11088
+ */
11089
+ async sdkListBusinessAccountMemberInvites(requestParameters, initOverrides) {
11090
+ const response = await this.sdkListBusinessAccountMemberInvitesRaw(requestParameters, initOverrides);
11091
+ return await response.value();
11092
+ }
10897
11093
  /**
10898
11094
  * Every proposal for the account, newest first. Any member may read them: knowing what is pending is what lets an approver act, and the list carries no signing material — only who has already consented.
10899
11095
  * SDK — list the governed mutations awaiting approval
package/src/index.cjs CHANGED
@@ -172,6 +172,7 @@ var BusinessAccountList = require('./models/BusinessAccountList.cjs');
172
172
  var BusinessAccountMember = require('./models/BusinessAccountMember.cjs');
173
173
  var BusinessAccountMemberCreationResult = require('./models/BusinessAccountMemberCreationResult.cjs');
174
174
  var BusinessAccountMemberCustomRole = require('./models/BusinessAccountMemberCustomRole.cjs');
175
+ var BusinessAccountMemberInviteListResponse = require('./models/BusinessAccountMemberInviteListResponse.cjs');
175
176
  var BusinessAccountMemberInviteReceipt = require('./models/BusinessAccountMemberInviteReceipt.cjs');
176
177
  var BusinessAccountMemberPreview = require('./models/BusinessAccountMemberPreview.cjs');
177
178
  var BusinessAccountMemberRole = require('./models/BusinessAccountMemberRole.cjs');
@@ -196,6 +197,7 @@ var BusinessAccountSummary = require('./models/BusinessAccountSummary.cjs');
196
197
  var BusinessAccountSummaryAllOf = require('./models/BusinessAccountSummaryAllOf.cjs');
197
198
  var BusinessAccountWallet = require('./models/BusinessAccountWallet.cjs');
198
199
  var BusinessAccountsResponse = require('./models/BusinessAccountsResponse.cjs');
200
+ var CancelBusinessAccountMemberInviteSdkRequest = require('./models/CancelBusinessAccountMemberInviteSdkRequest.cjs');
199
201
  var CaptchaProviderEnum = require('./models/CaptchaProviderEnum.cjs');
200
202
  var CaptchaSettings = require('./models/CaptchaSettings.cjs');
201
203
  var CaptchaSettingsCreateRequest = require('./models/CaptchaSettingsCreateRequest.cjs');
@@ -430,6 +432,11 @@ var FlowRiskStateEnum = require('./models/FlowRiskStateEnum.cjs');
430
432
  var FlowSettlementData = require('./models/FlowSettlementData.cjs');
431
433
  var FlowSettlementStateEnum = require('./models/FlowSettlementStateEnum.cjs');
432
434
  var FlowSourceResponse = require('./models/FlowSourceResponse.cjs');
435
+ var FlowSourceTokenOption = require('./models/FlowSourceTokenOption.cjs');
436
+ var FlowSourceTokenOptionChain = require('./models/FlowSourceTokenOptionChain.cjs');
437
+ var FlowSourceTokenOptionNetwork = require('./models/FlowSourceTokenOptionNetwork.cjs');
438
+ var FlowSourceTokenOptionToken = require('./models/FlowSourceTokenOptionToken.cjs');
439
+ var FlowSourceTokenOptionsResponse = require('./models/FlowSourceTokenOptionsResponse.cjs');
433
440
  var FlowSourceTypeEnum = require('./models/FlowSourceTypeEnum.cjs');
434
441
  var FlowTokenInfo = require('./models/FlowTokenInfo.cjs');
435
442
  var FlowUIConfig = require('./models/FlowUIConfig.cjs');
@@ -1681,6 +1688,9 @@ exports.BusinessAccountMemberCreationResultToJSON = BusinessAccountMemberCreatio
1681
1688
  exports.BusinessAccountMemberCustomRoleFromJSON = BusinessAccountMemberCustomRole.BusinessAccountMemberCustomRoleFromJSON;
1682
1689
  exports.BusinessAccountMemberCustomRoleFromJSONTyped = BusinessAccountMemberCustomRole.BusinessAccountMemberCustomRoleFromJSONTyped;
1683
1690
  exports.BusinessAccountMemberCustomRoleToJSON = BusinessAccountMemberCustomRole.BusinessAccountMemberCustomRoleToJSON;
1691
+ exports.BusinessAccountMemberInviteListResponseFromJSON = BusinessAccountMemberInviteListResponse.BusinessAccountMemberInviteListResponseFromJSON;
1692
+ exports.BusinessAccountMemberInviteListResponseFromJSONTyped = BusinessAccountMemberInviteListResponse.BusinessAccountMemberInviteListResponseFromJSONTyped;
1693
+ exports.BusinessAccountMemberInviteListResponseToJSON = BusinessAccountMemberInviteListResponse.BusinessAccountMemberInviteListResponseToJSON;
1684
1694
  exports.BusinessAccountMemberInviteReceiptFromJSON = BusinessAccountMemberInviteReceipt.BusinessAccountMemberInviteReceiptFromJSON;
1685
1695
  exports.BusinessAccountMemberInviteReceiptFromJSONTyped = BusinessAccountMemberInviteReceipt.BusinessAccountMemberInviteReceiptFromJSONTyped;
1686
1696
  Object.defineProperty(exports, 'BusinessAccountMemberInviteReceiptKindEnum', {
@@ -1789,6 +1799,9 @@ exports.BusinessAccountWalletToJSON = BusinessAccountWallet.BusinessAccountWalle
1789
1799
  exports.BusinessAccountsResponseFromJSON = BusinessAccountsResponse.BusinessAccountsResponseFromJSON;
1790
1800
  exports.BusinessAccountsResponseFromJSONTyped = BusinessAccountsResponse.BusinessAccountsResponseFromJSONTyped;
1791
1801
  exports.BusinessAccountsResponseToJSON = BusinessAccountsResponse.BusinessAccountsResponseToJSON;
1802
+ exports.CancelBusinessAccountMemberInviteSdkRequestFromJSON = CancelBusinessAccountMemberInviteSdkRequest.CancelBusinessAccountMemberInviteSdkRequestFromJSON;
1803
+ exports.CancelBusinessAccountMemberInviteSdkRequestFromJSONTyped = CancelBusinessAccountMemberInviteSdkRequest.CancelBusinessAccountMemberInviteSdkRequestFromJSONTyped;
1804
+ exports.CancelBusinessAccountMemberInviteSdkRequestToJSON = CancelBusinessAccountMemberInviteSdkRequest.CancelBusinessAccountMemberInviteSdkRequestToJSON;
1792
1805
  Object.defineProperty(exports, 'CaptchaProviderEnum', {
1793
1806
  enumerable: true,
1794
1807
  get: function () { return CaptchaProviderEnum.CaptchaProviderEnum; }
@@ -2687,6 +2700,21 @@ exports.FlowSettlementStateEnumToJSON = FlowSettlementStateEnum.FlowSettlementSt
2687
2700
  exports.FlowSourceResponseFromJSON = FlowSourceResponse.FlowSourceResponseFromJSON;
2688
2701
  exports.FlowSourceResponseFromJSONTyped = FlowSourceResponse.FlowSourceResponseFromJSONTyped;
2689
2702
  exports.FlowSourceResponseToJSON = FlowSourceResponse.FlowSourceResponseToJSON;
2703
+ exports.FlowSourceTokenOptionFromJSON = FlowSourceTokenOption.FlowSourceTokenOptionFromJSON;
2704
+ exports.FlowSourceTokenOptionFromJSONTyped = FlowSourceTokenOption.FlowSourceTokenOptionFromJSONTyped;
2705
+ exports.FlowSourceTokenOptionToJSON = FlowSourceTokenOption.FlowSourceTokenOptionToJSON;
2706
+ exports.FlowSourceTokenOptionChainFromJSON = FlowSourceTokenOptionChain.FlowSourceTokenOptionChainFromJSON;
2707
+ exports.FlowSourceTokenOptionChainFromJSONTyped = FlowSourceTokenOptionChain.FlowSourceTokenOptionChainFromJSONTyped;
2708
+ exports.FlowSourceTokenOptionChainToJSON = FlowSourceTokenOptionChain.FlowSourceTokenOptionChainToJSON;
2709
+ exports.FlowSourceTokenOptionNetworkFromJSON = FlowSourceTokenOptionNetwork.FlowSourceTokenOptionNetworkFromJSON;
2710
+ exports.FlowSourceTokenOptionNetworkFromJSONTyped = FlowSourceTokenOptionNetwork.FlowSourceTokenOptionNetworkFromJSONTyped;
2711
+ exports.FlowSourceTokenOptionNetworkToJSON = FlowSourceTokenOptionNetwork.FlowSourceTokenOptionNetworkToJSON;
2712
+ exports.FlowSourceTokenOptionTokenFromJSON = FlowSourceTokenOptionToken.FlowSourceTokenOptionTokenFromJSON;
2713
+ exports.FlowSourceTokenOptionTokenFromJSONTyped = FlowSourceTokenOptionToken.FlowSourceTokenOptionTokenFromJSONTyped;
2714
+ exports.FlowSourceTokenOptionTokenToJSON = FlowSourceTokenOptionToken.FlowSourceTokenOptionTokenToJSON;
2715
+ exports.FlowSourceTokenOptionsResponseFromJSON = FlowSourceTokenOptionsResponse.FlowSourceTokenOptionsResponseFromJSON;
2716
+ exports.FlowSourceTokenOptionsResponseFromJSONTyped = FlowSourceTokenOptionsResponse.FlowSourceTokenOptionsResponseFromJSONTyped;
2717
+ exports.FlowSourceTokenOptionsResponseToJSON = FlowSourceTokenOptionsResponse.FlowSourceTokenOptionsResponseToJSON;
2690
2718
  Object.defineProperty(exports, 'FlowSourceTypeEnum', {
2691
2719
  enumerable: true,
2692
2720
  get: function () { return FlowSourceTypeEnum.FlowSourceTypeEnum; }
package/src/index.js CHANGED
@@ -168,6 +168,7 @@ export { BusinessAccountListFromJSON, BusinessAccountListFromJSONTyped, Business
168
168
  export { BusinessAccountMemberFromJSON, BusinessAccountMemberFromJSONTyped, BusinessAccountMemberToJSON } from './models/BusinessAccountMember.js';
169
169
  export { BusinessAccountMemberCreationResultFromJSON, BusinessAccountMemberCreationResultFromJSONTyped, BusinessAccountMemberCreationResultToJSON } from './models/BusinessAccountMemberCreationResult.js';
170
170
  export { BusinessAccountMemberCustomRoleFromJSON, BusinessAccountMemberCustomRoleFromJSONTyped, BusinessAccountMemberCustomRoleToJSON } from './models/BusinessAccountMemberCustomRole.js';
171
+ export { BusinessAccountMemberInviteListResponseFromJSON, BusinessAccountMemberInviteListResponseFromJSONTyped, BusinessAccountMemberInviteListResponseToJSON } from './models/BusinessAccountMemberInviteListResponse.js';
171
172
  export { BusinessAccountMemberInviteReceiptFromJSON, BusinessAccountMemberInviteReceiptFromJSONTyped, BusinessAccountMemberInviteReceiptKindEnum, BusinessAccountMemberInviteReceiptStatusEnum, BusinessAccountMemberInviteReceiptToJSON } from './models/BusinessAccountMemberInviteReceipt.js';
172
173
  export { BusinessAccountMemberPreviewFromJSON, BusinessAccountMemberPreviewFromJSONTyped, BusinessAccountMemberPreviewToJSON } from './models/BusinessAccountMemberPreview.js';
173
174
  export { BusinessAccountMemberRole, BusinessAccountMemberRoleFromJSON, BusinessAccountMemberRoleFromJSONTyped, BusinessAccountMemberRoleToJSON } from './models/BusinessAccountMemberRole.js';
@@ -192,6 +193,7 @@ export { BusinessAccountSummaryFromJSON, BusinessAccountSummaryFromJSONTyped, Bu
192
193
  export { BusinessAccountSummaryAllOfFromJSON, BusinessAccountSummaryAllOfFromJSONTyped, BusinessAccountSummaryAllOfToJSON } from './models/BusinessAccountSummaryAllOf.js';
193
194
  export { BusinessAccountWalletFromJSON, BusinessAccountWalletFromJSONTyped, BusinessAccountWalletToJSON } from './models/BusinessAccountWallet.js';
194
195
  export { BusinessAccountsResponseFromJSON, BusinessAccountsResponseFromJSONTyped, BusinessAccountsResponseToJSON } from './models/BusinessAccountsResponse.js';
196
+ export { CancelBusinessAccountMemberInviteSdkRequestFromJSON, CancelBusinessAccountMemberInviteSdkRequestFromJSONTyped, CancelBusinessAccountMemberInviteSdkRequestToJSON } from './models/CancelBusinessAccountMemberInviteSdkRequest.js';
195
197
  export { CaptchaProviderEnum, CaptchaProviderEnumFromJSON, CaptchaProviderEnumFromJSONTyped, CaptchaProviderEnumToJSON } from './models/CaptchaProviderEnum.js';
196
198
  export { CaptchaSettingsFromJSON, CaptchaSettingsFromJSONTyped, CaptchaSettingsToJSON } from './models/CaptchaSettings.js';
197
199
  export { CaptchaSettingsCreateRequestFromJSON, CaptchaSettingsCreateRequestFromJSONTyped, CaptchaSettingsCreateRequestToJSON } from './models/CaptchaSettingsCreateRequest.js';
@@ -426,6 +428,11 @@ export { FlowRiskStateEnum, FlowRiskStateEnumFromJSON, FlowRiskStateEnumFromJSON
426
428
  export { FlowSettlementDataFromJSON, FlowSettlementDataFromJSONTyped, FlowSettlementDataToJSON } from './models/FlowSettlementData.js';
427
429
  export { FlowSettlementStateEnum, FlowSettlementStateEnumFromJSON, FlowSettlementStateEnumFromJSONTyped, FlowSettlementStateEnumToJSON } from './models/FlowSettlementStateEnum.js';
428
430
  export { FlowSourceResponseFromJSON, FlowSourceResponseFromJSONTyped, FlowSourceResponseToJSON } from './models/FlowSourceResponse.js';
431
+ export { FlowSourceTokenOptionFromJSON, FlowSourceTokenOptionFromJSONTyped, FlowSourceTokenOptionToJSON } from './models/FlowSourceTokenOption.js';
432
+ export { FlowSourceTokenOptionChainFromJSON, FlowSourceTokenOptionChainFromJSONTyped, FlowSourceTokenOptionChainToJSON } from './models/FlowSourceTokenOptionChain.js';
433
+ export { FlowSourceTokenOptionNetworkFromJSON, FlowSourceTokenOptionNetworkFromJSONTyped, FlowSourceTokenOptionNetworkToJSON } from './models/FlowSourceTokenOptionNetwork.js';
434
+ export { FlowSourceTokenOptionTokenFromJSON, FlowSourceTokenOptionTokenFromJSONTyped, FlowSourceTokenOptionTokenToJSON } from './models/FlowSourceTokenOptionToken.js';
435
+ export { FlowSourceTokenOptionsResponseFromJSON, FlowSourceTokenOptionsResponseFromJSONTyped, FlowSourceTokenOptionsResponseToJSON } from './models/FlowSourceTokenOptionsResponse.js';
429
436
  export { FlowSourceTypeEnum, FlowSourceTypeEnumFromJSON, FlowSourceTypeEnumFromJSONTyped, FlowSourceTypeEnumToJSON } from './models/FlowSourceTypeEnum.js';
430
437
  export { FlowTokenInfoFromJSON, FlowTokenInfoFromJSONTyped, FlowTokenInfoToJSON } from './models/FlowTokenInfo.js';
431
438
  export { FlowUIConfigFromJSON, FlowUIConfigFromJSONTyped, FlowUIConfigToJSON } from './models/FlowUIConfig.js';
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var BusinessAccountMemberInviteReceipt = require('./BusinessAccountMemberInviteReceipt.cjs');
6
+
7
+ /* tslint:disable */
8
+ function BusinessAccountMemberInviteListResponseFromJSON(json) {
9
+ return BusinessAccountMemberInviteListResponseFromJSONTyped(json);
10
+ }
11
+ function BusinessAccountMemberInviteListResponseFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'invites': (json['invites'].map(BusinessAccountMemberInviteReceipt.BusinessAccountMemberInviteReceiptFromJSON)),
17
+ };
18
+ }
19
+ function BusinessAccountMemberInviteListResponseToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'invites': (value.invites.map(BusinessAccountMemberInviteReceipt.BusinessAccountMemberInviteReceiptToJSON)),
28
+ };
29
+ }
30
+
31
+ exports.BusinessAccountMemberInviteListResponseFromJSON = BusinessAccountMemberInviteListResponseFromJSON;
32
+ exports.BusinessAccountMemberInviteListResponseFromJSONTyped = BusinessAccountMemberInviteListResponseFromJSONTyped;
33
+ exports.BusinessAccountMemberInviteListResponseToJSON = BusinessAccountMemberInviteListResponseToJSON;
@@ -0,0 +1,28 @@
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 { BusinessAccountMemberInviteReceipt } from './BusinessAccountMemberInviteReceipt';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface BusinessAccountMemberInviteListResponse
17
+ */
18
+ export interface BusinessAccountMemberInviteListResponse {
19
+ /**
20
+ *
21
+ * @type {Array<BusinessAccountMemberInviteReceipt>}
22
+ * @memberof BusinessAccountMemberInviteListResponse
23
+ */
24
+ invites: Array<BusinessAccountMemberInviteReceipt>;
25
+ }
26
+ export declare function BusinessAccountMemberInviteListResponseFromJSON(json: any): BusinessAccountMemberInviteListResponse;
27
+ export declare function BusinessAccountMemberInviteListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountMemberInviteListResponse;
28
+ export declare function BusinessAccountMemberInviteListResponseToJSON(value?: BusinessAccountMemberInviteListResponse | null): any;
@@ -0,0 +1,27 @@
1
+ import { BusinessAccountMemberInviteReceiptFromJSON, BusinessAccountMemberInviteReceiptToJSON } from './BusinessAccountMemberInviteReceipt.js';
2
+
3
+ /* tslint:disable */
4
+ function BusinessAccountMemberInviteListResponseFromJSON(json) {
5
+ return BusinessAccountMemberInviteListResponseFromJSONTyped(json);
6
+ }
7
+ function BusinessAccountMemberInviteListResponseFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'invites': (json['invites'].map(BusinessAccountMemberInviteReceiptFromJSON)),
13
+ };
14
+ }
15
+ function BusinessAccountMemberInviteListResponseToJSON(value) {
16
+ if (value === undefined) {
17
+ return undefined;
18
+ }
19
+ if (value === null) {
20
+ return null;
21
+ }
22
+ return {
23
+ 'invites': (value.invites.map(BusinessAccountMemberInviteReceiptToJSON)),
24
+ };
25
+ }
26
+
27
+ export { BusinessAccountMemberInviteListResponseFromJSON, BusinessAccountMemberInviteListResponseFromJSONTyped, BusinessAccountMemberInviteListResponseToJSON };
@@ -0,0 +1,37 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function CancelBusinessAccountMemberInviteSdkRequestFromJSON(json) {
9
+ return CancelBusinessAccountMemberInviteSdkRequestFromJSONTyped(json);
10
+ }
11
+ function CancelBusinessAccountMemberInviteSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'autoExecute': !runtime.exists(json, 'autoExecute') ? undefined : json['autoExecute'],
17
+ 'intent': !runtime.exists(json, 'intent') ? undefined : json['intent'],
18
+ 'intentSignature': !runtime.exists(json, 'intentSignature') ? undefined : json['intentSignature'],
19
+ };
20
+ }
21
+ function CancelBusinessAccountMemberInviteSdkRequestToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'autoExecute': value.autoExecute,
30
+ 'intent': value.intent,
31
+ 'intentSignature': value.intentSignature,
32
+ };
33
+ }
34
+
35
+ exports.CancelBusinessAccountMemberInviteSdkRequestFromJSON = CancelBusinessAccountMemberInviteSdkRequestFromJSON;
36
+ exports.CancelBusinessAccountMemberInviteSdkRequestFromJSONTyped = CancelBusinessAccountMemberInviteSdkRequestFromJSONTyped;
37
+ exports.CancelBusinessAccountMemberInviteSdkRequestToJSON = CancelBusinessAccountMemberInviteSdkRequestToJSON;
@@ -0,0 +1,43 @@
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
+ * Approval artifacts for canceling a pending business account member invite. Send nothing when the account does not govern member removal.
14
+ * @export
15
+ * @interface CancelBusinessAccountMemberInviteSdkRequest
16
+ */
17
+ export interface CancelBusinessAccountMemberInviteSdkRequest {
18
+ /**
19
+ * Whether the change applies the moment its quorum is met, or waits for an explicit execute. Read only on the first call, where it is stamped into the intent you sign; after that the signed intent is the authority. Defaults to true, because a change holding all its consent while waiting for a button press tends to be forgotten, and the deadline covers execution too.
20
+ * @type {boolean}
21
+ * @memberof CancelBusinessAccountMemberInviteSdkRequest
22
+ */
23
+ autoExecute?: boolean;
24
+ /**
25
+ * The initiator's proposal, signed with their session key. Built by the API, not the client — sign these exact bytes verbatim, because re-serializing can change them and invalidate the signature.
26
+ * `autoExecute` is inside the signed bytes, so an approver consents to it and nothing can flip it afterwards.
27
+ * @type {{ [key: string]: object; }}
28
+ * @memberof CancelBusinessAccountMemberInviteSdkRequest
29
+ */
30
+ intent?: {
31
+ [key: string]: object;
32
+ };
33
+ /**
34
+ * Hex-encoded ECDSA P-256 signature over the canonicalized payload, produced by the signer's session key — which never leaves their device, so consent cannot be given on their behalf.
35
+ * Exactly 128 hex characters. WebCrypto emits the raw r‖s form with both halves padded to 32 bytes, so unlike DER the length never varies. Constrained here so a malformed value is a 400 at the edge rather than an enclave round trip that returns INTENT_SIGNATURE_INVALID, and so an unbounded string cannot be persisted against a proposal.
36
+ * @type {string}
37
+ * @memberof CancelBusinessAccountMemberInviteSdkRequest
38
+ */
39
+ intentSignature?: string;
40
+ }
41
+ export declare function CancelBusinessAccountMemberInviteSdkRequestFromJSON(json: any): CancelBusinessAccountMemberInviteSdkRequest;
42
+ export declare function CancelBusinessAccountMemberInviteSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CancelBusinessAccountMemberInviteSdkRequest;
43
+ export declare function CancelBusinessAccountMemberInviteSdkRequestToJSON(value?: CancelBusinessAccountMemberInviteSdkRequest | null): any;
@@ -0,0 +1,31 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function CancelBusinessAccountMemberInviteSdkRequestFromJSON(json) {
5
+ return CancelBusinessAccountMemberInviteSdkRequestFromJSONTyped(json);
6
+ }
7
+ function CancelBusinessAccountMemberInviteSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'autoExecute': !exists(json, 'autoExecute') ? undefined : json['autoExecute'],
13
+ 'intent': !exists(json, 'intent') ? undefined : json['intent'],
14
+ 'intentSignature': !exists(json, 'intentSignature') ? undefined : json['intentSignature'],
15
+ };
16
+ }
17
+ function CancelBusinessAccountMemberInviteSdkRequestToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'autoExecute': value.autoExecute,
26
+ 'intent': value.intent,
27
+ 'intentSignature': value.intentSignature,
28
+ };
29
+ }
30
+
31
+ export { CancelBusinessAccountMemberInviteSdkRequestFromJSON, CancelBusinessAccountMemberInviteSdkRequestFromJSONTyped, CancelBusinessAccountMemberInviteSdkRequestToJSON };
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var FlowSourceTokenOptionChain = require('./FlowSourceTokenOptionChain.cjs');
6
+ var FlowSourceTokenOptionNetwork = require('./FlowSourceTokenOptionNetwork.cjs');
7
+ var FlowSourceTokenOptionToken = require('./FlowSourceTokenOptionToken.cjs');
8
+
9
+ /* tslint:disable */
10
+ function FlowSourceTokenOptionFromJSON(json) {
11
+ return FlowSourceTokenOptionFromJSONTyped(json);
12
+ }
13
+ function FlowSourceTokenOptionFromJSONTyped(json, ignoreDiscriminator) {
14
+ if ((json === undefined) || (json === null)) {
15
+ return json;
16
+ }
17
+ return {
18
+ 'chain': FlowSourceTokenOptionChain.FlowSourceTokenOptionChainFromJSON(json['chain']),
19
+ 'network': FlowSourceTokenOptionNetwork.FlowSourceTokenOptionNetworkFromJSON(json['network']),
20
+ 'tokens': (json['tokens'].map(FlowSourceTokenOptionToken.FlowSourceTokenOptionTokenFromJSON)),
21
+ };
22
+ }
23
+ function FlowSourceTokenOptionToJSON(value) {
24
+ if (value === undefined) {
25
+ return undefined;
26
+ }
27
+ if (value === null) {
28
+ return null;
29
+ }
30
+ return {
31
+ 'chain': FlowSourceTokenOptionChain.FlowSourceTokenOptionChainToJSON(value.chain),
32
+ 'network': FlowSourceTokenOptionNetwork.FlowSourceTokenOptionNetworkToJSON(value.network),
33
+ 'tokens': (value.tokens.map(FlowSourceTokenOptionToken.FlowSourceTokenOptionTokenToJSON)),
34
+ };
35
+ }
36
+
37
+ exports.FlowSourceTokenOptionFromJSON = FlowSourceTokenOptionFromJSON;
38
+ exports.FlowSourceTokenOptionFromJSONTyped = FlowSourceTokenOptionFromJSONTyped;
39
+ exports.FlowSourceTokenOptionToJSON = FlowSourceTokenOptionToJSON;
@@ -0,0 +1,42 @@
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 { FlowSourceTokenOptionChain } from './FlowSourceTokenOptionChain';
13
+ import { FlowSourceTokenOptionNetwork } from './FlowSourceTokenOptionNetwork';
14
+ import { FlowSourceTokenOptionToken } from './FlowSourceTokenOptionToken';
15
+ /**
16
+ * A network a payer can fund a flow from with a deposit address, and the tokens accepted on it.
17
+ * @export
18
+ * @interface FlowSourceTokenOption
19
+ */
20
+ export interface FlowSourceTokenOption {
21
+ /**
22
+ *
23
+ * @type {FlowSourceTokenOptionChain}
24
+ * @memberof FlowSourceTokenOption
25
+ */
26
+ chain: FlowSourceTokenOptionChain;
27
+ /**
28
+ *
29
+ * @type {FlowSourceTokenOptionNetwork}
30
+ * @memberof FlowSourceTokenOption
31
+ */
32
+ network: FlowSourceTokenOptionNetwork;
33
+ /**
34
+ * The tokens the payer can send on this network.
35
+ * @type {Array<FlowSourceTokenOptionToken>}
36
+ * @memberof FlowSourceTokenOption
37
+ */
38
+ tokens: Array<FlowSourceTokenOptionToken>;
39
+ }
40
+ export declare function FlowSourceTokenOptionFromJSON(json: any): FlowSourceTokenOption;
41
+ export declare function FlowSourceTokenOptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowSourceTokenOption;
42
+ export declare function FlowSourceTokenOptionToJSON(value?: FlowSourceTokenOption | null): any;