@dynamic-labs/sdk-api 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apis/AdminActionsApi.cjs +4 -0
- package/src/apis/AdminActionsApi.js +4 -0
- package/src/apis/AllowlistsApi.cjs +4 -0
- package/src/apis/AllowlistsApi.js +4 -0
- package/src/apis/AnalyticsApi.cjs +4 -0
- package/src/apis/AnalyticsApi.js +4 -0
- package/src/apis/AuthorizedClientsApi.cjs +4 -0
- package/src/apis/AuthorizedClientsApi.js +4 -0
- package/src/apis/CaptchaApi.cjs +4 -0
- package/src/apis/CaptchaApi.js +4 -0
- package/src/apis/ChainalysisApi.cjs +4 -0
- package/src/apis/ChainalysisApi.js +4 -0
- package/src/apis/ChainsApi.cjs +4 -0
- package/src/apis/ChainsApi.js +4 -0
- package/src/apis/CheckoutApi.cjs +4 -0
- package/src/apis/CheckoutApi.js +4 -0
- package/src/apis/ClientGrantApi.cjs +4 -0
- package/src/apis/ClientGrantApi.js +4 -0
- package/src/apis/CustomFieldsApi.cjs +4 -0
- package/src/apis/CustomFieldsApi.js +4 -0
- package/src/apis/CustomHostnamesApi.cjs +4 -0
- package/src/apis/CustomHostnamesApi.js +4 -0
- package/src/apis/CustomNetworksApi.cjs +4 -0
- package/src/apis/CustomNetworksApi.js +4 -0
- package/src/apis/DeeplinkUrlsApi.cjs +4 -0
- package/src/apis/DeeplinkUrlsApi.js +4 -0
- package/src/apis/EnvironmentsApi.cjs +4 -0
- package/src/apis/EnvironmentsApi.js +4 -0
- package/src/apis/EventsApi.cjs +4 -0
- package/src/apis/EventsApi.js +4 -0
- package/src/apis/ExchangesApi.cjs +4 -0
- package/src/apis/ExchangesApi.js +4 -0
- package/src/apis/ExportsApi.cjs +4 -0
- package/src/apis/ExportsApi.js +4 -0
- package/src/apis/ExternalJwtApi.cjs +4 -0
- package/src/apis/ExternalJwtApi.js +4 -0
- package/src/apis/FlowAnalyticsApi.cjs +4 -0
- package/src/apis/FlowAnalyticsApi.js +4 -0
- package/src/apis/GaslessApi.cjs +4 -0
- package/src/apis/GaslessApi.js +4 -0
- package/src/apis/GatesApi.cjs +4 -0
- package/src/apis/GatesApi.js +4 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +4 -0
- package/src/apis/GlobalWalletAccessControlApi.js +4 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +4 -0
- package/src/apis/GlobalWalletConnectionsApi.js +4 -0
- package/src/apis/GlobalWalletsApi.cjs +4 -0
- package/src/apis/GlobalWalletsApi.js +4 -0
- package/src/apis/InvitesApi.cjs +4 -0
- package/src/apis/InvitesApi.js +4 -0
- package/src/apis/KybApi.cjs +113 -4
- package/src/apis/KybApi.d.ts +43 -2
- package/src/apis/KybApi.js +113 -4
- package/src/apis/MembersApi.cjs +4 -0
- package/src/apis/MembersApi.js +4 -0
- package/src/apis/MfaSettingsApi.cjs +4 -0
- package/src/apis/MfaSettingsApi.js +4 -0
- package/src/apis/NameServicesApi.cjs +4 -0
- package/src/apis/NameServicesApi.js +4 -0
- package/src/apis/OrganizationSettingsApi.cjs +4 -0
- package/src/apis/OrganizationSettingsApi.js +4 -0
- package/src/apis/OrganizationsApi.cjs +4 -0
- package/src/apis/OrganizationsApi.js +4 -0
- package/src/apis/OriginsApi.cjs +4 -0
- package/src/apis/OriginsApi.js +4 -0
- package/src/apis/ProjectsApi.cjs +4 -0
- package/src/apis/ProjectsApi.js +4 -0
- package/src/apis/ProvidersApi.cjs +4 -0
- package/src/apis/ProvidersApi.js +4 -0
- package/src/apis/SDKApi.cjs +4 -0
- package/src/apis/SDKApi.js +4 -0
- package/src/apis/SDKViewsApi.cjs +4 -0
- package/src/apis/SDKViewsApi.js +4 -0
- package/src/apis/ServerApi.cjs +4 -0
- package/src/apis/ServerApi.js +4 -0
- package/src/apis/SessionsApi.cjs +4 -0
- package/src/apis/SessionsApi.js +4 -0
- package/src/apis/TestAccountApi.cjs +4 -0
- package/src/apis/TestAccountApi.js +4 -0
- package/src/apis/TokensApi.cjs +4 -0
- package/src/apis/TokensApi.js +4 -0
- package/src/apis/UserApiTokensApi.cjs +4 -0
- package/src/apis/UserApiTokensApi.js +4 -0
- package/src/apis/UsersApi.cjs +4 -0
- package/src/apis/UsersApi.js +4 -0
- package/src/apis/VisitsApi.cjs +4 -0
- package/src/apis/VisitsApi.js +4 -0
- package/src/apis/WaasApi.cjs +4 -0
- package/src/apis/WaasApi.js +4 -0
- package/src/apis/WalletConnectApi.cjs +4 -0
- package/src/apis/WalletConnectApi.js +4 -0
- package/src/apis/WalletsApi.cjs +4 -0
- package/src/apis/WalletsApi.js +4 -0
- package/src/apis/WebhooksApi.cjs +4 -0
- package/src/apis/WebhooksApi.js +4 -0
- package/src/apis/YieldApi.cjs +199 -0
- package/src/apis/YieldApi.d.ts +31 -0
- package/src/apis/YieldApi.js +195 -0
- package/src/apis/ZendeskApi.cjs +4 -0
- package/src/apis/ZendeskApi.js +4 -0
- package/src/apis/index.d.ts +1 -0
- package/src/index.cjs +74 -0
- package/src/index.js +16 -1
- package/src/models/BillingSubscription.cjs +2 -0
- package/src/models/BillingSubscription.d.ts +6 -0
- package/src/models/BillingSubscription.js +2 -0
- package/src/models/KybAdditionalInfoFileData.d.ts +1 -1
- package/src/models/KybAlreadyInProgressResponse.cjs +54 -0
- package/src/models/KybAlreadyInProgressResponse.d.ts +41 -0
- package/src/models/KybAlreadyInProgressResponse.js +48 -0
- package/src/models/KybCompanyResult.cjs +2 -0
- package/src/models/KybCompanyResult.d.ts +6 -0
- package/src/models/KybCompanyResult.js +2 -0
- package/src/models/KybOfficerSummary.cjs +43 -0
- package/src/models/KybOfficerSummary.d.ts +58 -0
- package/src/models/KybOfficerSummary.js +37 -0
- package/src/models/KybOfficersResponse.cjs +33 -0
- package/src/models/KybOfficersResponse.d.ts +28 -0
- package/src/models/KybOfficersResponse.js +27 -0
- package/src/models/KybResendSkipReasonEnum.cjs +47 -0
- package/src/models/KybResendSkipReasonEnum.d.ts +30 -0
- package/src/models/KybResendSkipReasonEnum.js +41 -0
- package/src/models/KybResendSkippedOfficer.cjs +35 -0
- package/src/models/KybResendSkippedOfficer.d.ts +34 -0
- package/src/models/KybResendSkippedOfficer.js +29 -0
- package/src/models/KybResendVerificationRequest.cjs +33 -0
- package/src/models/KybResendVerificationRequest.d.ts +27 -0
- package/src/models/KybResendVerificationRequest.js +27 -0
- package/src/models/KybResendVerificationResponse.cjs +35 -0
- package/src/models/KybResendVerificationResponse.d.ts +34 -0
- package/src/models/KybResendVerificationResponse.js +29 -0
- package/src/models/KybStatusReason.cjs +45 -0
- package/src/models/KybStatusReason.d.ts +33 -0
- package/src/models/KybStatusReason.js +39 -0
- package/src/models/KybSubmissionAddress.cjs +43 -0
- package/src/models/KybSubmissionAddress.d.ts +57 -0
- package/src/models/KybSubmissionAddress.js +37 -0
- package/src/models/KybSubmissionBusinessData.cjs +62 -0
- package/src/models/KybSubmissionBusinessData.d.ts +95 -0
- package/src/models/KybSubmissionBusinessData.js +56 -0
- package/src/models/KybSubmissionResponse.cjs +43 -0
- package/src/models/KybSubmissionResponse.d.ts +49 -0
- package/src/models/KybSubmissionResponse.js +37 -0
- package/src/models/KybVendorQuestion.cjs +47 -0
- package/src/models/KybVendorQuestion.d.ts +39 -0
- package/src/models/KybVendorQuestion.js +41 -0
- package/src/models/KybVerifyRequest.cjs +6 -0
- package/src/models/KybVerifyRequest.d.ts +14 -0
- package/src/models/KybVerifyRequest.js +6 -0
- package/src/models/KybVerifyRequestBusinessData.cjs +12 -4
- package/src/models/KybVerifyRequestBusinessData.d.ts +18 -11
- package/src/models/KybVerifyRequestBusinessData.js +13 -5
- package/src/models/KybVerifyRequestDocuments.cjs +37 -0
- package/src/models/KybVerifyRequestDocuments.d.ts +39 -0
- package/src/models/KybVerifyRequestDocuments.js +31 -0
- package/src/models/KybVerifyRequestOfficers.cjs +37 -0
- package/src/models/KybVerifyRequestOfficers.d.ts +39 -0
- package/src/models/KybVerifyRequestOfficers.js +31 -0
- package/src/models/Organization.cjs +2 -0
- package/src/models/Organization.d.ts +6 -0
- package/src/models/Organization.js +2 -0
- package/src/models/OrganizationRequest.cjs +2 -0
- package/src/models/OrganizationRequest.d.ts +6 -0
- package/src/models/OrganizationRequest.js +2 -0
- package/src/models/OrganizationResponseOrganization.cjs +2 -0
- package/src/models/OrganizationResponseOrganization.d.ts +6 -0
- package/src/models/OrganizationResponseOrganization.js +2 -0
- package/src/models/index.d.ts +14 -0
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { BaseAPI, RequiredError, JSONApiResponse } from '../runtime.js';
|
|
2
|
+
import '../models/AccessOutcomeEnum.js';
|
|
3
|
+
import '../models/ExchangeKeyEnum.js';
|
|
4
|
+
import '../models/AssignableBusinessAccountMemberRole.js';
|
|
5
|
+
import '../models/ProviderEnum.js';
|
|
6
|
+
import '../models/UserIdentifierTypeEnum.js';
|
|
7
|
+
import '../models/BusinessAccountSignerType.js';
|
|
8
|
+
import '../models/ThresholdSignatureScheme.js';
|
|
9
|
+
import '../models/WaasChainEnum.js';
|
|
10
|
+
import '../models/WaasPolicyConstraintCondition.js';
|
|
11
|
+
import '../models/WaasPolicyRuleType.js';
|
|
12
|
+
import '../models/AdminActionRequestStatus.js';
|
|
13
|
+
import '../models/AdminActionResponseDecision.js';
|
|
14
|
+
import '../models/AdminActionType.js';
|
|
15
|
+
import '../models/AuthStorageEnum.js';
|
|
16
|
+
import '../models/MFADeviceType.js';
|
|
17
|
+
import '../models/MFASettingsActions.js';
|
|
18
|
+
import '../models/MfaEnrollment.js';
|
|
19
|
+
import '../models/TimeUnitEnum.js';
|
|
20
|
+
import '../models/ChainEnum.js';
|
|
21
|
+
import '../models/FlowSourceTypeEnum.js';
|
|
22
|
+
import '../models/AttestationConveyancePreference.js';
|
|
23
|
+
import '../models/AuthModeEnum.js';
|
|
24
|
+
import '../models/AuthenticatorAttachment.js';
|
|
25
|
+
import '../models/ResidentKeyRequirement.js';
|
|
26
|
+
import '../models/UserVerificationRequirement.js';
|
|
27
|
+
import '../models/AuthenticatorTransportProtocol.js';
|
|
28
|
+
import '../models/ClientTypeEnum.js';
|
|
29
|
+
import '../models/BackupKeySharesToLocationsPendingResponse.js';
|
|
30
|
+
import '../models/BackupKeySharesToLocationsRequestLocations.js';
|
|
31
|
+
import '../models/BackupKeySharesToLocationsResponse.js';
|
|
32
|
+
import '../models/WaasBackupOptionsEnum.js';
|
|
33
|
+
import '../models/BusinessAccountMemberRole.js';
|
|
34
|
+
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
35
|
+
import '../models/WalletAddressType.js';
|
|
36
|
+
import '../models/EcdsaValidatorOptions.js';
|
|
37
|
+
import '../models/EmbeddedWalletVersionEnum.js';
|
|
38
|
+
import '../models/HardwareWalletEnum.js';
|
|
39
|
+
import '../models/PasswordSourceTypeEnum.js';
|
|
40
|
+
import '../models/ProviderEntryPointVersionEnum.js';
|
|
41
|
+
import '../models/ProviderKernelVersionEnum.js';
|
|
42
|
+
import '../models/WaasWalletShareSetType.js';
|
|
43
|
+
import '../models/Ed25519Variant.js';
|
|
44
|
+
import '../models/WalletProviderEnum.js';
|
|
45
|
+
import '../models/MfaBackupCodeAcknowledgement.js';
|
|
46
|
+
import '../models/CustomFieldType.js';
|
|
47
|
+
import '../models/KycFieldType.js';
|
|
48
|
+
import '../models/BillingSubscriptionPlanTypeEnum.js';
|
|
49
|
+
import '../models/UnprocessableEntityErrorCode.js';
|
|
50
|
+
import '../models/ChainalysisCheckResultEnum.js';
|
|
51
|
+
import '../models/CaptchaProviderEnum.js';
|
|
52
|
+
import '../models/DestinationTypeEnum.js';
|
|
53
|
+
import '../models/CheckoutModeEnum.js';
|
|
54
|
+
import '../models/SettlementStrategyEnum.js';
|
|
55
|
+
import '../models/FlowExecutionStateEnum.js';
|
|
56
|
+
import '../models/FlowRiskStateEnum.js';
|
|
57
|
+
import '../models/FlowSettlementStateEnum.js';
|
|
58
|
+
import '../models/CoinbaseOnrampBuyUrlExperience.js';
|
|
59
|
+
import '../models/CoinbaseOnrampFeeType.js';
|
|
60
|
+
import '../models/CoinbaseOnrampOrderPaymentMethod.js';
|
|
61
|
+
import '../models/CoinbaseOnrampOrderStatus.js';
|
|
62
|
+
import '../models/CoinbaseOnrampOrderPaymentLinkType.js';
|
|
63
|
+
import '../models/EmbeddedWalletChainEnum.js';
|
|
64
|
+
import '../models/EmbeddedWalletProviderEnum.js';
|
|
65
|
+
import '../models/TravelRuleData.js';
|
|
66
|
+
import '../models/RoomTypeEnum.js';
|
|
67
|
+
import '../models/TokenScopes.js';
|
|
68
|
+
import '../models/CurrencyType.js';
|
|
69
|
+
import '../models/CustomHostnameStatusEnum.js';
|
|
70
|
+
import '../models/CustomHostnameUsageEnum.js';
|
|
71
|
+
import '../models/CustomHostnameVerificationType.js';
|
|
72
|
+
import '../models/DnsRecordType.js';
|
|
73
|
+
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
74
|
+
import '../models/DelegatedShareDeliveryResponse.js';
|
|
75
|
+
import '../models/TokenScope.js';
|
|
76
|
+
import '../models/EmbeddedWalletAuthType.js';
|
|
77
|
+
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
78
|
+
import '../models/EnvironmentEnum.js';
|
|
79
|
+
import '../models/Network.js';
|
|
80
|
+
import '../models/ExternalWalletFundingTokenRule.js';
|
|
81
|
+
import '../models/OnrampProviders.js';
|
|
82
|
+
import '../models/MinApiVersionEnum.js';
|
|
83
|
+
import '../models/SignInProviderEnum.js';
|
|
84
|
+
import '../models/ProjectSettingsSdkEmbeddedWallets.js';
|
|
85
|
+
import '../models/SocialSignInProviderEnum.js';
|
|
86
|
+
import '../models/ProjectSettingsSdkWaasFireblocksMigration.js';
|
|
87
|
+
import '../models/ProjectSettingsSdkWaasICloud.js';
|
|
88
|
+
import '../models/SdkViewSectionAlignment.js';
|
|
89
|
+
import '../models/SdkViewSectionType.js';
|
|
90
|
+
import '../models/SdkViewType.js';
|
|
91
|
+
import '../models/ZerodevBundlerProvider.js';
|
|
92
|
+
import '../models/ExportFormatEnum.js';
|
|
93
|
+
import '../models/ExportModelEnum.js';
|
|
94
|
+
import '../models/ExportStatusEnum.js';
|
|
95
|
+
import '../models/ExternalWalletFundingDefaultChain.js';
|
|
96
|
+
import '../models/FlowModeEnum.js';
|
|
97
|
+
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
98
|
+
import '../models/FlowListItem.js';
|
|
99
|
+
import '../models/GateRuleType.js';
|
|
100
|
+
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
101
|
+
import '../models/PasskeyTransport.js';
|
|
102
|
+
import '../models/PasskeyCredentialHint.js';
|
|
103
|
+
import '../models/PasskeyCredentialType.js';
|
|
104
|
+
import '../models/PublicKeyCredentialType.js';
|
|
105
|
+
import '../models/GlobalWalletAccessControlTypeEnum.js';
|
|
106
|
+
import '../models/GlobalWalletConnectionStatusEnum.js';
|
|
107
|
+
import '../models/GrantActionEnum.js';
|
|
108
|
+
import '../models/GrantTokenResponse.js';
|
|
109
|
+
import '../models/HealthcheckStatus.js';
|
|
110
|
+
import '../models/SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.js';
|
|
111
|
+
import '../models/InlineObject2.js';
|
|
112
|
+
import '../models/InlineObject3.js';
|
|
113
|
+
import '../models/InlineObject4.js';
|
|
114
|
+
import '../models/InlineObject5.js';
|
|
115
|
+
import '../models/InviteStatusEnum.js';
|
|
116
|
+
import '../models/RoleEnum.js';
|
|
117
|
+
import '../models/JwtScope.js';
|
|
118
|
+
import '../models/KybAlreadyInProgressResponse.js';
|
|
119
|
+
import '../models/KybVerificationResultEnum.js';
|
|
120
|
+
import '../models/KybResendSkipReasonEnum.js';
|
|
121
|
+
import '../models/KybSubmissionBusinessData.js';
|
|
122
|
+
import '../models/KybVerifyRequestBusinessData.js';
|
|
123
|
+
import '../models/MFAAction.js';
|
|
124
|
+
import '../models/NextViewEnum.js';
|
|
125
|
+
import '../models/OauthResultStatus.js';
|
|
126
|
+
import '../models/WhenToImplementEnum.js';
|
|
127
|
+
import '../models/PublishEventsEvents.js';
|
|
128
|
+
import '../models/ReshareKind.js';
|
|
129
|
+
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
130
|
+
import '../models/ScreenTransactionResponse.js';
|
|
131
|
+
import '../models/SignMessageRawSign.js';
|
|
132
|
+
import '../models/SsoProviderEnum.js';
|
|
133
|
+
import '../models/SsoProviderCheckResponse.js';
|
|
134
|
+
import '../models/SubscriptionAdvancedScopeEnum.js';
|
|
135
|
+
import '../models/SubscriptionFreeScopeEnum.js';
|
|
136
|
+
import '../models/SwapQuoteRequest.js';
|
|
137
|
+
import '../models/SwapStatusResponse.js';
|
|
138
|
+
import '../models/UserFieldsCheckEnum.js';
|
|
139
|
+
import '../models/UserFilterableFieldsEnum.js';
|
|
140
|
+
import '../models/VisitorFilterableFieldsEnum.js';
|
|
141
|
+
import '../models/WaasDelegatedAccessEncryptionPublicKeyType.js';
|
|
142
|
+
import '../models/WaasDelegationCredentialsResponse.js';
|
|
143
|
+
import '../models/WaasPolicyLayerRuleOperation.js';
|
|
144
|
+
import '../models/WaasPolicyLayerUpdateRequest.js';
|
|
145
|
+
import '../models/WaasSignerPolicyLayerUpdateRequest.js';
|
|
146
|
+
import '../models/WaasTransactionBroadcastSubmissionState.js';
|
|
147
|
+
import '../models/WaasTransactionEncoding.js';
|
|
148
|
+
import '../models/WaasTransactionBroadcastStatus.js';
|
|
149
|
+
import '../models/WaasTransactionReviewFailurePolicy.js';
|
|
150
|
+
import '../models/WaasTransactionReviewTestScenario.js';
|
|
151
|
+
import '../models/WaasTransactionReviewTestResponseResponseSignature.js';
|
|
152
|
+
import '../models/WalletTransactionType.js';
|
|
153
|
+
import { YieldVaultListResponseFromJSON } from '../models/YieldVaultListResponse.js';
|
|
154
|
+
|
|
155
|
+
/* tslint:disable */
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
*/
|
|
159
|
+
class YieldApi extends BaseAPI {
|
|
160
|
+
/**
|
|
161
|
+
* Returns the yield vaults registered and accessible to the specified environment.
|
|
162
|
+
* Get the yield vaults for an environment
|
|
163
|
+
*/
|
|
164
|
+
async getEnvironmentVaultsRaw(requestParameters, initOverrides) {
|
|
165
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
166
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getEnvironmentVaults.');
|
|
167
|
+
}
|
|
168
|
+
const queryParameters = {};
|
|
169
|
+
const headerParameters = {};
|
|
170
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
171
|
+
const token = this.configuration.accessToken;
|
|
172
|
+
const tokenString = await token("bearerAuth", []);
|
|
173
|
+
if (tokenString) {
|
|
174
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
const response = await this.request({
|
|
178
|
+
path: `/environments/{environmentId}/yield/vaults`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
179
|
+
method: 'GET',
|
|
180
|
+
headers: headerParameters,
|
|
181
|
+
query: queryParameters,
|
|
182
|
+
}, initOverrides);
|
|
183
|
+
return new JSONApiResponse(response, (jsonValue) => YieldVaultListResponseFromJSON(jsonValue));
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Returns the yield vaults registered and accessible to the specified environment.
|
|
187
|
+
* Get the yield vaults for an environment
|
|
188
|
+
*/
|
|
189
|
+
async getEnvironmentVaults(requestParameters, initOverrides) {
|
|
190
|
+
const response = await this.getEnvironmentVaultsRaw(requestParameters, initOverrides);
|
|
191
|
+
return await response.value();
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export { YieldApi };
|
package/src/apis/ZendeskApi.cjs
CHANGED
|
@@ -119,7 +119,11 @@ require('../models/InlineObject5.cjs');
|
|
|
119
119
|
require('../models/InviteStatusEnum.cjs');
|
|
120
120
|
require('../models/RoleEnum.cjs');
|
|
121
121
|
require('../models/JwtScope.cjs');
|
|
122
|
+
require('../models/KybAlreadyInProgressResponse.cjs');
|
|
122
123
|
require('../models/KybVerificationResultEnum.cjs');
|
|
124
|
+
require('../models/KybResendSkipReasonEnum.cjs');
|
|
125
|
+
require('../models/KybSubmissionBusinessData.cjs');
|
|
126
|
+
require('../models/KybVerifyRequestBusinessData.cjs');
|
|
123
127
|
require('../models/MFAAction.cjs');
|
|
124
128
|
require('../models/NextViewEnum.cjs');
|
|
125
129
|
require('../models/OauthResultStatus.cjs');
|
package/src/apis/ZendeskApi.js
CHANGED
|
@@ -115,7 +115,11 @@ import '../models/InlineObject5.js';
|
|
|
115
115
|
import '../models/InviteStatusEnum.js';
|
|
116
116
|
import '../models/RoleEnum.js';
|
|
117
117
|
import '../models/JwtScope.js';
|
|
118
|
+
import '../models/KybAlreadyInProgressResponse.js';
|
|
118
119
|
import '../models/KybVerificationResultEnum.js';
|
|
120
|
+
import '../models/KybResendSkipReasonEnum.js';
|
|
121
|
+
import '../models/KybSubmissionBusinessData.js';
|
|
122
|
+
import '../models/KybVerifyRequestBusinessData.js';
|
|
119
123
|
import '../models/MFAAction.js';
|
|
120
124
|
import '../models/NextViewEnum.js';
|
|
121
125
|
import '../models/OauthResultStatus.js';
|
package/src/apis/index.d.ts
CHANGED
package/src/index.cjs
CHANGED
|
@@ -51,6 +51,7 @@ var WaasApi = require('./apis/WaasApi.cjs');
|
|
|
51
51
|
var WalletConnectApi = require('./apis/WalletConnectApi.cjs');
|
|
52
52
|
var WalletsApi = require('./apis/WalletsApi.cjs');
|
|
53
53
|
var WebhooksApi = require('./apis/WebhooksApi.cjs');
|
|
54
|
+
var YieldApi = require('./apis/YieldApi.cjs');
|
|
54
55
|
var ZendeskApi = require('./apis/ZendeskApi.cjs');
|
|
55
56
|
var AccessOutcomeEnum = require('./models/AccessOutcomeEnum.cjs');
|
|
56
57
|
var Account = require('./models/Account.cjs');
|
|
@@ -460,16 +461,30 @@ var Key = require('./models/Key.cjs');
|
|
|
460
461
|
var KeyResponse = require('./models/KeyResponse.cjs');
|
|
461
462
|
var KybAdditionalInfoData = require('./models/KybAdditionalInfoData.cjs');
|
|
462
463
|
var KybAdditionalInfoFileData = require('./models/KybAdditionalInfoFileData.cjs');
|
|
464
|
+
var KybAlreadyInProgressResponse = require('./models/KybAlreadyInProgressResponse.cjs');
|
|
463
465
|
var KybCompanyResult = require('./models/KybCompanyResult.cjs');
|
|
464
466
|
var KybCompanyResultAddresses = require('./models/KybCompanyResultAddresses.cjs');
|
|
465
467
|
var KybCompanySearchResponse = require('./models/KybCompanySearchResponse.cjs');
|
|
468
|
+
var KybOfficerSummary = require('./models/KybOfficerSummary.cjs');
|
|
469
|
+
var KybOfficersResponse = require('./models/KybOfficersResponse.cjs');
|
|
470
|
+
var KybResendSkipReasonEnum = require('./models/KybResendSkipReasonEnum.cjs');
|
|
471
|
+
var KybResendSkippedOfficer = require('./models/KybResendSkippedOfficer.cjs');
|
|
472
|
+
var KybResendVerificationRequest = require('./models/KybResendVerificationRequest.cjs');
|
|
473
|
+
var KybResendVerificationResponse = require('./models/KybResendVerificationResponse.cjs');
|
|
474
|
+
var KybStatusReason = require('./models/KybStatusReason.cjs');
|
|
466
475
|
var KybStatusResponse = require('./models/KybStatusResponse.cjs');
|
|
476
|
+
var KybSubmissionAddress = require('./models/KybSubmissionAddress.cjs');
|
|
477
|
+
var KybSubmissionBusinessData = require('./models/KybSubmissionBusinessData.cjs');
|
|
478
|
+
var KybSubmissionResponse = require('./models/KybSubmissionResponse.cjs');
|
|
467
479
|
var KybTierStatus = require('./models/KybTierStatus.cjs');
|
|
480
|
+
var KybVendorQuestion = require('./models/KybVendorQuestion.cjs');
|
|
468
481
|
var KybVerificationResultEnum = require('./models/KybVerificationResultEnum.cjs');
|
|
469
482
|
var KybVerifyRequest = require('./models/KybVerifyRequest.cjs');
|
|
470
483
|
var KybVerifyRequestAdditionalInfo = require('./models/KybVerifyRequestAdditionalInfo.cjs');
|
|
471
484
|
var KybVerifyRequestBusinessData = require('./models/KybVerifyRequestBusinessData.cjs');
|
|
472
485
|
var KybVerifyRequestBusinessDataAddresses = require('./models/KybVerifyRequestBusinessDataAddresses.cjs');
|
|
486
|
+
var KybVerifyRequestDocuments = require('./models/KybVerifyRequestDocuments.cjs');
|
|
487
|
+
var KybVerifyRequestOfficers = require('./models/KybVerifyRequestOfficers.cjs');
|
|
473
488
|
var KybVerifyResponse = require('./models/KybVerifyResponse.cjs');
|
|
474
489
|
var KycFieldType = require('./models/KycFieldType.cjs');
|
|
475
490
|
var LinkBusinessAccountWalletSdkRequest = require('./models/LinkBusinessAccountWalletSdkRequest.cjs');
|
|
@@ -1019,6 +1034,7 @@ exports.WaasApi = WaasApi.WaasApi;
|
|
|
1019
1034
|
exports.WalletConnectApi = WalletConnectApi.WalletConnectApi;
|
|
1020
1035
|
exports.WalletsApi = WalletsApi.WalletsApi;
|
|
1021
1036
|
exports.WebhooksApi = WebhooksApi.WebhooksApi;
|
|
1037
|
+
exports.YieldApi = YieldApi.YieldApi;
|
|
1022
1038
|
exports.ZendeskApi = ZendeskApi.ZendeskApi;
|
|
1023
1039
|
Object.defineProperty(exports, 'AccessOutcomeEnum', {
|
|
1024
1040
|
enumerable: true,
|
|
@@ -2536,6 +2552,13 @@ exports.KybAdditionalInfoDataToJSON = KybAdditionalInfoData.KybAdditionalInfoDat
|
|
|
2536
2552
|
exports.KybAdditionalInfoFileDataFromJSON = KybAdditionalInfoFileData.KybAdditionalInfoFileDataFromJSON;
|
|
2537
2553
|
exports.KybAdditionalInfoFileDataFromJSONTyped = KybAdditionalInfoFileData.KybAdditionalInfoFileDataFromJSONTyped;
|
|
2538
2554
|
exports.KybAdditionalInfoFileDataToJSON = KybAdditionalInfoFileData.KybAdditionalInfoFileDataToJSON;
|
|
2555
|
+
Object.defineProperty(exports, 'KybAlreadyInProgressResponseCodeEnum', {
|
|
2556
|
+
enumerable: true,
|
|
2557
|
+
get: function () { return KybAlreadyInProgressResponse.KybAlreadyInProgressResponseCodeEnum; }
|
|
2558
|
+
});
|
|
2559
|
+
exports.KybAlreadyInProgressResponseFromJSON = KybAlreadyInProgressResponse.KybAlreadyInProgressResponseFromJSON;
|
|
2560
|
+
exports.KybAlreadyInProgressResponseFromJSONTyped = KybAlreadyInProgressResponse.KybAlreadyInProgressResponseFromJSONTyped;
|
|
2561
|
+
exports.KybAlreadyInProgressResponseToJSON = KybAlreadyInProgressResponse.KybAlreadyInProgressResponseToJSON;
|
|
2539
2562
|
exports.KybCompanyResultFromJSON = KybCompanyResult.KybCompanyResultFromJSON;
|
|
2540
2563
|
exports.KybCompanyResultFromJSONTyped = KybCompanyResult.KybCompanyResultFromJSONTyped;
|
|
2541
2564
|
exports.KybCompanyResultToJSON = KybCompanyResult.KybCompanyResultToJSON;
|
|
@@ -2545,12 +2568,53 @@ exports.KybCompanyResultAddressesToJSON = KybCompanyResultAddresses.KybCompanyRe
|
|
|
2545
2568
|
exports.KybCompanySearchResponseFromJSON = KybCompanySearchResponse.KybCompanySearchResponseFromJSON;
|
|
2546
2569
|
exports.KybCompanySearchResponseFromJSONTyped = KybCompanySearchResponse.KybCompanySearchResponseFromJSONTyped;
|
|
2547
2570
|
exports.KybCompanySearchResponseToJSON = KybCompanySearchResponse.KybCompanySearchResponseToJSON;
|
|
2571
|
+
exports.KybOfficerSummaryFromJSON = KybOfficerSummary.KybOfficerSummaryFromJSON;
|
|
2572
|
+
exports.KybOfficerSummaryFromJSONTyped = KybOfficerSummary.KybOfficerSummaryFromJSONTyped;
|
|
2573
|
+
exports.KybOfficerSummaryToJSON = KybOfficerSummary.KybOfficerSummaryToJSON;
|
|
2574
|
+
exports.KybOfficersResponseFromJSON = KybOfficersResponse.KybOfficersResponseFromJSON;
|
|
2575
|
+
exports.KybOfficersResponseFromJSONTyped = KybOfficersResponse.KybOfficersResponseFromJSONTyped;
|
|
2576
|
+
exports.KybOfficersResponseToJSON = KybOfficersResponse.KybOfficersResponseToJSON;
|
|
2577
|
+
Object.defineProperty(exports, 'KybResendSkipReasonEnum', {
|
|
2578
|
+
enumerable: true,
|
|
2579
|
+
get: function () { return KybResendSkipReasonEnum.KybResendSkipReasonEnum; }
|
|
2580
|
+
});
|
|
2581
|
+
exports.KybResendSkipReasonEnumFromJSON = KybResendSkipReasonEnum.KybResendSkipReasonEnumFromJSON;
|
|
2582
|
+
exports.KybResendSkipReasonEnumFromJSONTyped = KybResendSkipReasonEnum.KybResendSkipReasonEnumFromJSONTyped;
|
|
2583
|
+
exports.KybResendSkipReasonEnumToJSON = KybResendSkipReasonEnum.KybResendSkipReasonEnumToJSON;
|
|
2584
|
+
exports.KybResendSkippedOfficerFromJSON = KybResendSkippedOfficer.KybResendSkippedOfficerFromJSON;
|
|
2585
|
+
exports.KybResendSkippedOfficerFromJSONTyped = KybResendSkippedOfficer.KybResendSkippedOfficerFromJSONTyped;
|
|
2586
|
+
exports.KybResendSkippedOfficerToJSON = KybResendSkippedOfficer.KybResendSkippedOfficerToJSON;
|
|
2587
|
+
exports.KybResendVerificationRequestFromJSON = KybResendVerificationRequest.KybResendVerificationRequestFromJSON;
|
|
2588
|
+
exports.KybResendVerificationRequestFromJSONTyped = KybResendVerificationRequest.KybResendVerificationRequestFromJSONTyped;
|
|
2589
|
+
exports.KybResendVerificationRequestToJSON = KybResendVerificationRequest.KybResendVerificationRequestToJSON;
|
|
2590
|
+
exports.KybResendVerificationResponseFromJSON = KybResendVerificationResponse.KybResendVerificationResponseFromJSON;
|
|
2591
|
+
exports.KybResendVerificationResponseFromJSONTyped = KybResendVerificationResponse.KybResendVerificationResponseFromJSONTyped;
|
|
2592
|
+
exports.KybResendVerificationResponseToJSON = KybResendVerificationResponse.KybResendVerificationResponseToJSON;
|
|
2593
|
+
exports.KybStatusReasonFromJSON = KybStatusReason.KybStatusReasonFromJSON;
|
|
2594
|
+
exports.KybStatusReasonFromJSONTyped = KybStatusReason.KybStatusReasonFromJSONTyped;
|
|
2595
|
+
exports.KybStatusReasonToJSON = KybStatusReason.KybStatusReasonToJSON;
|
|
2548
2596
|
exports.KybStatusResponseFromJSON = KybStatusResponse.KybStatusResponseFromJSON;
|
|
2549
2597
|
exports.KybStatusResponseFromJSONTyped = KybStatusResponse.KybStatusResponseFromJSONTyped;
|
|
2550
2598
|
exports.KybStatusResponseToJSON = KybStatusResponse.KybStatusResponseToJSON;
|
|
2599
|
+
exports.KybSubmissionAddressFromJSON = KybSubmissionAddress.KybSubmissionAddressFromJSON;
|
|
2600
|
+
exports.KybSubmissionAddressFromJSONTyped = KybSubmissionAddress.KybSubmissionAddressFromJSONTyped;
|
|
2601
|
+
exports.KybSubmissionAddressToJSON = KybSubmissionAddress.KybSubmissionAddressToJSON;
|
|
2602
|
+
Object.defineProperty(exports, 'KybSubmissionBusinessDataEntityTypeEnum', {
|
|
2603
|
+
enumerable: true,
|
|
2604
|
+
get: function () { return KybSubmissionBusinessData.KybSubmissionBusinessDataEntityTypeEnum; }
|
|
2605
|
+
});
|
|
2606
|
+
exports.KybSubmissionBusinessDataFromJSON = KybSubmissionBusinessData.KybSubmissionBusinessDataFromJSON;
|
|
2607
|
+
exports.KybSubmissionBusinessDataFromJSONTyped = KybSubmissionBusinessData.KybSubmissionBusinessDataFromJSONTyped;
|
|
2608
|
+
exports.KybSubmissionBusinessDataToJSON = KybSubmissionBusinessData.KybSubmissionBusinessDataToJSON;
|
|
2609
|
+
exports.KybSubmissionResponseFromJSON = KybSubmissionResponse.KybSubmissionResponseFromJSON;
|
|
2610
|
+
exports.KybSubmissionResponseFromJSONTyped = KybSubmissionResponse.KybSubmissionResponseFromJSONTyped;
|
|
2611
|
+
exports.KybSubmissionResponseToJSON = KybSubmissionResponse.KybSubmissionResponseToJSON;
|
|
2551
2612
|
exports.KybTierStatusFromJSON = KybTierStatus.KybTierStatusFromJSON;
|
|
2552
2613
|
exports.KybTierStatusFromJSONTyped = KybTierStatus.KybTierStatusFromJSONTyped;
|
|
2553
2614
|
exports.KybTierStatusToJSON = KybTierStatus.KybTierStatusToJSON;
|
|
2615
|
+
exports.KybVendorQuestionFromJSON = KybVendorQuestion.KybVendorQuestionFromJSON;
|
|
2616
|
+
exports.KybVendorQuestionFromJSONTyped = KybVendorQuestion.KybVendorQuestionFromJSONTyped;
|
|
2617
|
+
exports.KybVendorQuestionToJSON = KybVendorQuestion.KybVendorQuestionToJSON;
|
|
2554
2618
|
Object.defineProperty(exports, 'KybVerificationResultEnum', {
|
|
2555
2619
|
enumerable: true,
|
|
2556
2620
|
get: function () { return KybVerificationResultEnum.KybVerificationResultEnum; }
|
|
@@ -2564,12 +2628,22 @@ exports.KybVerifyRequestToJSON = KybVerifyRequest.KybVerifyRequestToJSON;
|
|
|
2564
2628
|
exports.KybVerifyRequestAdditionalInfoFromJSON = KybVerifyRequestAdditionalInfo.KybVerifyRequestAdditionalInfoFromJSON;
|
|
2565
2629
|
exports.KybVerifyRequestAdditionalInfoFromJSONTyped = KybVerifyRequestAdditionalInfo.KybVerifyRequestAdditionalInfoFromJSONTyped;
|
|
2566
2630
|
exports.KybVerifyRequestAdditionalInfoToJSON = KybVerifyRequestAdditionalInfo.KybVerifyRequestAdditionalInfoToJSON;
|
|
2631
|
+
Object.defineProperty(exports, 'KybVerifyRequestBusinessDataEntityTypeEnum', {
|
|
2632
|
+
enumerable: true,
|
|
2633
|
+
get: function () { return KybVerifyRequestBusinessData.KybVerifyRequestBusinessDataEntityTypeEnum; }
|
|
2634
|
+
});
|
|
2567
2635
|
exports.KybVerifyRequestBusinessDataFromJSON = KybVerifyRequestBusinessData.KybVerifyRequestBusinessDataFromJSON;
|
|
2568
2636
|
exports.KybVerifyRequestBusinessDataFromJSONTyped = KybVerifyRequestBusinessData.KybVerifyRequestBusinessDataFromJSONTyped;
|
|
2569
2637
|
exports.KybVerifyRequestBusinessDataToJSON = KybVerifyRequestBusinessData.KybVerifyRequestBusinessDataToJSON;
|
|
2570
2638
|
exports.KybVerifyRequestBusinessDataAddressesFromJSON = KybVerifyRequestBusinessDataAddresses.KybVerifyRequestBusinessDataAddressesFromJSON;
|
|
2571
2639
|
exports.KybVerifyRequestBusinessDataAddressesFromJSONTyped = KybVerifyRequestBusinessDataAddresses.KybVerifyRequestBusinessDataAddressesFromJSONTyped;
|
|
2572
2640
|
exports.KybVerifyRequestBusinessDataAddressesToJSON = KybVerifyRequestBusinessDataAddresses.KybVerifyRequestBusinessDataAddressesToJSON;
|
|
2641
|
+
exports.KybVerifyRequestDocumentsFromJSON = KybVerifyRequestDocuments.KybVerifyRequestDocumentsFromJSON;
|
|
2642
|
+
exports.KybVerifyRequestDocumentsFromJSONTyped = KybVerifyRequestDocuments.KybVerifyRequestDocumentsFromJSONTyped;
|
|
2643
|
+
exports.KybVerifyRequestDocumentsToJSON = KybVerifyRequestDocuments.KybVerifyRequestDocumentsToJSON;
|
|
2644
|
+
exports.KybVerifyRequestOfficersFromJSON = KybVerifyRequestOfficers.KybVerifyRequestOfficersFromJSON;
|
|
2645
|
+
exports.KybVerifyRequestOfficersFromJSONTyped = KybVerifyRequestOfficers.KybVerifyRequestOfficersFromJSONTyped;
|
|
2646
|
+
exports.KybVerifyRequestOfficersToJSON = KybVerifyRequestOfficers.KybVerifyRequestOfficersToJSON;
|
|
2573
2647
|
exports.KybVerifyResponseFromJSON = KybVerifyResponse.KybVerifyResponseFromJSON;
|
|
2574
2648
|
exports.KybVerifyResponseFromJSONTyped = KybVerifyResponse.KybVerifyResponseFromJSONTyped;
|
|
2575
2649
|
exports.KybVerifyResponseToJSON = KybVerifyResponse.KybVerifyResponseToJSON;
|
package/src/index.js
CHANGED
|
@@ -47,6 +47,7 @@ export { WaasApi } from './apis/WaasApi.js';
|
|
|
47
47
|
export { WalletConnectApi } from './apis/WalletConnectApi.js';
|
|
48
48
|
export { WalletsApi } from './apis/WalletsApi.js';
|
|
49
49
|
export { WebhooksApi } from './apis/WebhooksApi.js';
|
|
50
|
+
export { YieldApi } from './apis/YieldApi.js';
|
|
50
51
|
export { ZendeskApi } from './apis/ZendeskApi.js';
|
|
51
52
|
export { AccessOutcomeEnum, AccessOutcomeEnumFromJSON, AccessOutcomeEnumFromJSONTyped, AccessOutcomeEnumToJSON } from './models/AccessOutcomeEnum.js';
|
|
52
53
|
export { AccountFromJSON, AccountFromJSONTyped, AccountToJSON } from './models/Account.js';
|
|
@@ -456,16 +457,30 @@ export { KeyFromJSON, KeyFromJSONTyped, KeyToJSON } from './models/Key.js';
|
|
|
456
457
|
export { KeyResponseFromJSON, KeyResponseFromJSONTyped, KeyResponseToJSON } from './models/KeyResponse.js';
|
|
457
458
|
export { KybAdditionalInfoDataFromJSON, KybAdditionalInfoDataFromJSONTyped, KybAdditionalInfoDataToJSON } from './models/KybAdditionalInfoData.js';
|
|
458
459
|
export { KybAdditionalInfoFileDataFromJSON, KybAdditionalInfoFileDataFromJSONTyped, KybAdditionalInfoFileDataToJSON } from './models/KybAdditionalInfoFileData.js';
|
|
460
|
+
export { KybAlreadyInProgressResponseCodeEnum, KybAlreadyInProgressResponseFromJSON, KybAlreadyInProgressResponseFromJSONTyped, KybAlreadyInProgressResponseToJSON } from './models/KybAlreadyInProgressResponse.js';
|
|
459
461
|
export { KybCompanyResultFromJSON, KybCompanyResultFromJSONTyped, KybCompanyResultToJSON } from './models/KybCompanyResult.js';
|
|
460
462
|
export { KybCompanyResultAddressesFromJSON, KybCompanyResultAddressesFromJSONTyped, KybCompanyResultAddressesToJSON } from './models/KybCompanyResultAddresses.js';
|
|
461
463
|
export { KybCompanySearchResponseFromJSON, KybCompanySearchResponseFromJSONTyped, KybCompanySearchResponseToJSON } from './models/KybCompanySearchResponse.js';
|
|
464
|
+
export { KybOfficerSummaryFromJSON, KybOfficerSummaryFromJSONTyped, KybOfficerSummaryToJSON } from './models/KybOfficerSummary.js';
|
|
465
|
+
export { KybOfficersResponseFromJSON, KybOfficersResponseFromJSONTyped, KybOfficersResponseToJSON } from './models/KybOfficersResponse.js';
|
|
466
|
+
export { KybResendSkipReasonEnum, KybResendSkipReasonEnumFromJSON, KybResendSkipReasonEnumFromJSONTyped, KybResendSkipReasonEnumToJSON } from './models/KybResendSkipReasonEnum.js';
|
|
467
|
+
export { KybResendSkippedOfficerFromJSON, KybResendSkippedOfficerFromJSONTyped, KybResendSkippedOfficerToJSON } from './models/KybResendSkippedOfficer.js';
|
|
468
|
+
export { KybResendVerificationRequestFromJSON, KybResendVerificationRequestFromJSONTyped, KybResendVerificationRequestToJSON } from './models/KybResendVerificationRequest.js';
|
|
469
|
+
export { KybResendVerificationResponseFromJSON, KybResendVerificationResponseFromJSONTyped, KybResendVerificationResponseToJSON } from './models/KybResendVerificationResponse.js';
|
|
470
|
+
export { KybStatusReasonFromJSON, KybStatusReasonFromJSONTyped, KybStatusReasonToJSON } from './models/KybStatusReason.js';
|
|
462
471
|
export { KybStatusResponseFromJSON, KybStatusResponseFromJSONTyped, KybStatusResponseToJSON } from './models/KybStatusResponse.js';
|
|
472
|
+
export { KybSubmissionAddressFromJSON, KybSubmissionAddressFromJSONTyped, KybSubmissionAddressToJSON } from './models/KybSubmissionAddress.js';
|
|
473
|
+
export { KybSubmissionBusinessDataEntityTypeEnum, KybSubmissionBusinessDataFromJSON, KybSubmissionBusinessDataFromJSONTyped, KybSubmissionBusinessDataToJSON } from './models/KybSubmissionBusinessData.js';
|
|
474
|
+
export { KybSubmissionResponseFromJSON, KybSubmissionResponseFromJSONTyped, KybSubmissionResponseToJSON } from './models/KybSubmissionResponse.js';
|
|
463
475
|
export { KybTierStatusFromJSON, KybTierStatusFromJSONTyped, KybTierStatusToJSON } from './models/KybTierStatus.js';
|
|
476
|
+
export { KybVendorQuestionFromJSON, KybVendorQuestionFromJSONTyped, KybVendorQuestionToJSON } from './models/KybVendorQuestion.js';
|
|
464
477
|
export { KybVerificationResultEnum, KybVerificationResultEnumFromJSON, KybVerificationResultEnumFromJSONTyped, KybVerificationResultEnumToJSON } from './models/KybVerificationResultEnum.js';
|
|
465
478
|
export { KybVerifyRequestFromJSON, KybVerifyRequestFromJSONTyped, KybVerifyRequestToJSON } from './models/KybVerifyRequest.js';
|
|
466
479
|
export { KybVerifyRequestAdditionalInfoFromJSON, KybVerifyRequestAdditionalInfoFromJSONTyped, KybVerifyRequestAdditionalInfoToJSON } from './models/KybVerifyRequestAdditionalInfo.js';
|
|
467
|
-
export { KybVerifyRequestBusinessDataFromJSON, KybVerifyRequestBusinessDataFromJSONTyped, KybVerifyRequestBusinessDataToJSON } from './models/KybVerifyRequestBusinessData.js';
|
|
480
|
+
export { KybVerifyRequestBusinessDataEntityTypeEnum, KybVerifyRequestBusinessDataFromJSON, KybVerifyRequestBusinessDataFromJSONTyped, KybVerifyRequestBusinessDataToJSON } from './models/KybVerifyRequestBusinessData.js';
|
|
468
481
|
export { KybVerifyRequestBusinessDataAddressesFromJSON, KybVerifyRequestBusinessDataAddressesFromJSONTyped, KybVerifyRequestBusinessDataAddressesToJSON } from './models/KybVerifyRequestBusinessDataAddresses.js';
|
|
482
|
+
export { KybVerifyRequestDocumentsFromJSON, KybVerifyRequestDocumentsFromJSONTyped, KybVerifyRequestDocumentsToJSON } from './models/KybVerifyRequestDocuments.js';
|
|
483
|
+
export { KybVerifyRequestOfficersFromJSON, KybVerifyRequestOfficersFromJSONTyped, KybVerifyRequestOfficersToJSON } from './models/KybVerifyRequestOfficers.js';
|
|
469
484
|
export { KybVerifyResponseFromJSON, KybVerifyResponseFromJSONTyped, KybVerifyResponseToJSON } from './models/KybVerifyResponse.js';
|
|
470
485
|
export { KycFieldType, KycFieldTypeFromJSON, KycFieldTypeFromJSONTyped, KycFieldTypeToJSON } from './models/KycFieldType.js';
|
|
471
486
|
export { LinkBusinessAccountWalletSdkRequestFromJSON, LinkBusinessAccountWalletSdkRequestFromJSONTyped, LinkBusinessAccountWalletSdkRequestToJSON } from './models/LinkBusinessAccountWalletSdkRequest.js';
|
|
@@ -29,6 +29,7 @@ function BillingSubscriptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
'currentBillingPeriod': !runtime.exists(json, 'currentBillingPeriod') ? undefined : BillingSubscriptionPeriod.BillingSubscriptionPeriodFromJSON(json['currentBillingPeriod']),
|
|
30
30
|
'version': json['version'],
|
|
31
31
|
'shouldLockEnvironmentSwitch': !runtime.exists(json, 'shouldLockEnvironmentSwitch') ? undefined : json['shouldLockEnvironmentSwitch'],
|
|
32
|
+
'requiresKybBeforeLive': !runtime.exists(json, 'requiresKybBeforeLive') ? undefined : json['requiresKybBeforeLive'],
|
|
32
33
|
'coupons': !runtime.exists(json, 'coupons') ? undefined : (json['coupons'].map(BillingSubscriptionCoupon.BillingSubscriptionCouponFromJSON)),
|
|
33
34
|
};
|
|
34
35
|
}
|
|
@@ -53,6 +54,7 @@ function BillingSubscriptionToJSON(value) {
|
|
|
53
54
|
'currentBillingPeriod': BillingSubscriptionPeriod.BillingSubscriptionPeriodToJSON(value.currentBillingPeriod),
|
|
54
55
|
'version': value.version,
|
|
55
56
|
'shouldLockEnvironmentSwitch': value.shouldLockEnvironmentSwitch,
|
|
57
|
+
'requiresKybBeforeLive': value.requiresKybBeforeLive,
|
|
56
58
|
'coupons': value.coupons === undefined ? undefined : (value.coupons.map(BillingSubscriptionCoupon.BillingSubscriptionCouponToJSON)),
|
|
57
59
|
};
|
|
58
60
|
}
|
|
@@ -96,6 +96,12 @@ export interface BillingSubscription {
|
|
|
96
96
|
* @memberof BillingSubscription
|
|
97
97
|
*/
|
|
98
98
|
shouldLockEnvironmentSwitch?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* When true, the organization must complete KYB (business verification) before it can switch its environment to Live
|
|
101
|
+
* @type {boolean}
|
|
102
|
+
* @memberof BillingSubscription
|
|
103
|
+
*/
|
|
104
|
+
requiresKybBeforeLive?: boolean;
|
|
99
105
|
/**
|
|
100
106
|
* List of discount coupons applied to the subscription
|
|
101
107
|
* @type {Array<BillingSubscriptionCoupon>}
|
|
@@ -25,6 +25,7 @@ function BillingSubscriptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
'currentBillingPeriod': !exists(json, 'currentBillingPeriod') ? undefined : BillingSubscriptionPeriodFromJSON(json['currentBillingPeriod']),
|
|
26
26
|
'version': json['version'],
|
|
27
27
|
'shouldLockEnvironmentSwitch': !exists(json, 'shouldLockEnvironmentSwitch') ? undefined : json['shouldLockEnvironmentSwitch'],
|
|
28
|
+
'requiresKybBeforeLive': !exists(json, 'requiresKybBeforeLive') ? undefined : json['requiresKybBeforeLive'],
|
|
28
29
|
'coupons': !exists(json, 'coupons') ? undefined : (json['coupons'].map(BillingSubscriptionCouponFromJSON)),
|
|
29
30
|
};
|
|
30
31
|
}
|
|
@@ -49,6 +50,7 @@ function BillingSubscriptionToJSON(value) {
|
|
|
49
50
|
'currentBillingPeriod': BillingSubscriptionPeriodToJSON(value.currentBillingPeriod),
|
|
50
51
|
'version': value.version,
|
|
51
52
|
'shouldLockEnvironmentSwitch': value.shouldLockEnvironmentSwitch,
|
|
53
|
+
'requiresKybBeforeLive': value.requiresKybBeforeLive,
|
|
52
54
|
'coupons': value.coupons === undefined ? undefined : (value.coupons.map(BillingSubscriptionCouponToJSON)),
|
|
53
55
|
};
|
|
54
56
|
}
|
|
@@ -22,7 +22,7 @@ export interface KybAdditionalInfoFileData {
|
|
|
22
22
|
*/
|
|
23
23
|
fileData: string;
|
|
24
24
|
/**
|
|
25
|
-
* Original filename including extension.
|
|
25
|
+
* Original filename including extension. `txt` is allowed here but not on user-uploaded `documents[]`: the compliance attestations are generated by the wizard as a plain-text document, because AI Prise's OTHER additional_info_type is a File/Document type and rejects a bare string.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof KybAdditionalInfoFileData
|
|
28
28
|
*/
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.KybAlreadyInProgressResponseCodeEnum = void 0;
|
|
23
|
+
(function (KybAlreadyInProgressResponseCodeEnum) {
|
|
24
|
+
KybAlreadyInProgressResponseCodeEnum["InProgress"] = "KYB_ALREADY_IN_PROGRESS";
|
|
25
|
+
KybAlreadyInProgressResponseCodeEnum["Approved"] = "KYB_ALREADY_APPROVED";
|
|
26
|
+
})(exports.KybAlreadyInProgressResponseCodeEnum || (exports.KybAlreadyInProgressResponseCodeEnum = {}));
|
|
27
|
+
function KybAlreadyInProgressResponseFromJSON(json) {
|
|
28
|
+
return KybAlreadyInProgressResponseFromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function KybAlreadyInProgressResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'error': json['error'],
|
|
36
|
+
'code': json['code'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function KybAlreadyInProgressResponseToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'error': value.error,
|
|
48
|
+
'code': value.code,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
exports.KybAlreadyInProgressResponseFromJSON = KybAlreadyInProgressResponseFromJSON;
|
|
53
|
+
exports.KybAlreadyInProgressResponseFromJSONTyped = KybAlreadyInProgressResponseFromJSONTyped;
|
|
54
|
+
exports.KybAlreadyInProgressResponseToJSON = KybAlreadyInProgressResponseToJSON;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface KybAlreadyInProgressResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface KybAlreadyInProgressResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Human-readable message identifying why a new KYB submission for this org+tier was rejected.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof KybAlreadyInProgressResponse
|
|
22
|
+
*/
|
|
23
|
+
error: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof KybAlreadyInProgressResponse
|
|
28
|
+
*/
|
|
29
|
+
code: KybAlreadyInProgressResponseCodeEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
* @enum {string}
|
|
34
|
+
*/
|
|
35
|
+
export declare enum KybAlreadyInProgressResponseCodeEnum {
|
|
36
|
+
InProgress = "KYB_ALREADY_IN_PROGRESS",
|
|
37
|
+
Approved = "KYB_ALREADY_APPROVED"
|
|
38
|
+
}
|
|
39
|
+
export declare function KybAlreadyInProgressResponseFromJSON(json: any): KybAlreadyInProgressResponse;
|
|
40
|
+
export declare function KybAlreadyInProgressResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybAlreadyInProgressResponse;
|
|
41
|
+
export declare function KybAlreadyInProgressResponseToJSON(value?: KybAlreadyInProgressResponse | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
* @enum {string}
|
|
17
|
+
*/
|
|
18
|
+
var KybAlreadyInProgressResponseCodeEnum;
|
|
19
|
+
(function (KybAlreadyInProgressResponseCodeEnum) {
|
|
20
|
+
KybAlreadyInProgressResponseCodeEnum["InProgress"] = "KYB_ALREADY_IN_PROGRESS";
|
|
21
|
+
KybAlreadyInProgressResponseCodeEnum["Approved"] = "KYB_ALREADY_APPROVED";
|
|
22
|
+
})(KybAlreadyInProgressResponseCodeEnum || (KybAlreadyInProgressResponseCodeEnum = {}));
|
|
23
|
+
function KybAlreadyInProgressResponseFromJSON(json) {
|
|
24
|
+
return KybAlreadyInProgressResponseFromJSONTyped(json);
|
|
25
|
+
}
|
|
26
|
+
function KybAlreadyInProgressResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'error': json['error'],
|
|
32
|
+
'code': json['code'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
function KybAlreadyInProgressResponseToJSON(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'error': value.error,
|
|
44
|
+
'code': value.code,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { KybAlreadyInProgressResponseCodeEnum, KybAlreadyInProgressResponseFromJSON, KybAlreadyInProgressResponseFromJSONTyped, KybAlreadyInProgressResponseToJSON };
|
|
@@ -16,6 +16,7 @@ function KybCompanyResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
16
|
return {
|
|
17
17
|
'legalName': json['legalName'],
|
|
18
18
|
'businessEntityId': json['businessEntityId'],
|
|
19
|
+
'companyId': !runtime.exists(json, 'companyId') ? undefined : json['companyId'],
|
|
19
20
|
'entityType': !runtime.exists(json, 'entityType') ? undefined : json['entityType'],
|
|
20
21
|
'countryCode': json['countryCode'],
|
|
21
22
|
'stateCode': !runtime.exists(json, 'stateCode') ? undefined : json['stateCode'],
|
|
@@ -32,6 +33,7 @@ function KybCompanyResultToJSON(value) {
|
|
|
32
33
|
return {
|
|
33
34
|
'legalName': value.legalName,
|
|
34
35
|
'businessEntityId': value.businessEntityId,
|
|
36
|
+
'companyId': value.companyId,
|
|
35
37
|
'entityType': value.entityType,
|
|
36
38
|
'countryCode': value.countryCode,
|
|
37
39
|
'stateCode': value.stateCode,
|
|
@@ -28,6 +28,12 @@ export interface KybCompanyResult {
|
|
|
28
28
|
* @memberof KybCompanyResult
|
|
29
29
|
*/
|
|
30
30
|
businessEntityId: string;
|
|
31
|
+
/**
|
|
32
|
+
* AI Prise's own internal company id — an alternate lookup key alongside businessEntityId.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof KybCompanyResult
|
|
35
|
+
*/
|
|
36
|
+
companyId?: string | null;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {string}
|