@dynamic-labs/sdk-api 0.14.0 → 0.16.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 (170) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AdminActionsApi.cjs +4 -0
  3. package/src/apis/AdminActionsApi.js +4 -0
  4. package/src/apis/AllowlistsApi.cjs +4 -0
  5. package/src/apis/AllowlistsApi.js +4 -0
  6. package/src/apis/AnalyticsApi.cjs +4 -0
  7. package/src/apis/AnalyticsApi.js +4 -0
  8. package/src/apis/AuthorizedClientsApi.cjs +4 -0
  9. package/src/apis/AuthorizedClientsApi.js +4 -0
  10. package/src/apis/CaptchaApi.cjs +4 -0
  11. package/src/apis/CaptchaApi.js +4 -0
  12. package/src/apis/ChainalysisApi.cjs +4 -0
  13. package/src/apis/ChainalysisApi.js +4 -0
  14. package/src/apis/ChainsApi.cjs +4 -0
  15. package/src/apis/ChainsApi.js +4 -0
  16. package/src/apis/CheckoutApi.cjs +4 -0
  17. package/src/apis/CheckoutApi.js +4 -0
  18. package/src/apis/ClientGrantApi.cjs +4 -0
  19. package/src/apis/ClientGrantApi.js +4 -0
  20. package/src/apis/CustomFieldsApi.cjs +4 -0
  21. package/src/apis/CustomFieldsApi.js +4 -0
  22. package/src/apis/CustomHostnamesApi.cjs +4 -0
  23. package/src/apis/CustomHostnamesApi.js +4 -0
  24. package/src/apis/CustomNetworksApi.cjs +4 -0
  25. package/src/apis/CustomNetworksApi.js +4 -0
  26. package/src/apis/DeeplinkUrlsApi.cjs +4 -0
  27. package/src/apis/DeeplinkUrlsApi.js +4 -0
  28. package/src/apis/EnvironmentsApi.cjs +4 -0
  29. package/src/apis/EnvironmentsApi.js +4 -0
  30. package/src/apis/EventsApi.cjs +4 -0
  31. package/src/apis/EventsApi.js +4 -0
  32. package/src/apis/ExchangesApi.cjs +4 -0
  33. package/src/apis/ExchangesApi.js +4 -0
  34. package/src/apis/ExportsApi.cjs +4 -0
  35. package/src/apis/ExportsApi.js +4 -0
  36. package/src/apis/ExternalJwtApi.cjs +4 -0
  37. package/src/apis/ExternalJwtApi.js +4 -0
  38. package/src/apis/FlowAnalyticsApi.cjs +4 -0
  39. package/src/apis/FlowAnalyticsApi.js +4 -0
  40. package/src/apis/GaslessApi.cjs +4 -0
  41. package/src/apis/GaslessApi.js +4 -0
  42. package/src/apis/GatesApi.cjs +4 -0
  43. package/src/apis/GatesApi.js +4 -0
  44. package/src/apis/GlobalWalletAccessControlApi.cjs +4 -0
  45. package/src/apis/GlobalWalletAccessControlApi.js +4 -0
  46. package/src/apis/GlobalWalletConnectionsApi.cjs +4 -0
  47. package/src/apis/GlobalWalletConnectionsApi.js +4 -0
  48. package/src/apis/GlobalWalletsApi.cjs +4 -0
  49. package/src/apis/GlobalWalletsApi.js +4 -0
  50. package/src/apis/InvitesApi.cjs +4 -0
  51. package/src/apis/InvitesApi.js +4 -0
  52. package/src/apis/KybApi.cjs +113 -4
  53. package/src/apis/KybApi.d.ts +43 -2
  54. package/src/apis/KybApi.js +113 -4
  55. package/src/apis/MembersApi.cjs +4 -0
  56. package/src/apis/MembersApi.js +4 -0
  57. package/src/apis/MfaSettingsApi.cjs +4 -0
  58. package/src/apis/MfaSettingsApi.js +4 -0
  59. package/src/apis/NameServicesApi.cjs +4 -0
  60. package/src/apis/NameServicesApi.js +4 -0
  61. package/src/apis/OrganizationSettingsApi.cjs +4 -0
  62. package/src/apis/OrganizationSettingsApi.js +4 -0
  63. package/src/apis/OrganizationsApi.cjs +4 -0
  64. package/src/apis/OrganizationsApi.js +4 -0
  65. package/src/apis/OriginsApi.cjs +4 -0
  66. package/src/apis/OriginsApi.js +4 -0
  67. package/src/apis/ProjectsApi.cjs +4 -0
  68. package/src/apis/ProjectsApi.js +4 -0
  69. package/src/apis/ProvidersApi.cjs +4 -0
  70. package/src/apis/ProvidersApi.js +4 -0
  71. package/src/apis/SDKApi.cjs +4 -0
  72. package/src/apis/SDKApi.js +4 -0
  73. package/src/apis/SDKViewsApi.cjs +4 -0
  74. package/src/apis/SDKViewsApi.js +4 -0
  75. package/src/apis/ServerApi.cjs +4 -0
  76. package/src/apis/ServerApi.js +4 -0
  77. package/src/apis/SessionsApi.cjs +4 -0
  78. package/src/apis/SessionsApi.js +4 -0
  79. package/src/apis/TestAccountApi.cjs +4 -0
  80. package/src/apis/TestAccountApi.js +4 -0
  81. package/src/apis/TokensApi.cjs +4 -0
  82. package/src/apis/TokensApi.js +4 -0
  83. package/src/apis/UserApiTokensApi.cjs +4 -0
  84. package/src/apis/UserApiTokensApi.js +4 -0
  85. package/src/apis/UsersApi.cjs +4 -0
  86. package/src/apis/UsersApi.js +4 -0
  87. package/src/apis/VisitsApi.cjs +4 -0
  88. package/src/apis/VisitsApi.js +4 -0
  89. package/src/apis/WaasApi.cjs +4 -0
  90. package/src/apis/WaasApi.js +4 -0
  91. package/src/apis/WalletConnectApi.cjs +4 -0
  92. package/src/apis/WalletConnectApi.js +4 -0
  93. package/src/apis/WalletsApi.cjs +4 -0
  94. package/src/apis/WalletsApi.js +4 -0
  95. package/src/apis/WebhooksApi.cjs +4 -0
  96. package/src/apis/WebhooksApi.js +4 -0
  97. package/src/apis/YieldApi.cjs +4 -0
  98. package/src/apis/YieldApi.js +4 -0
  99. package/src/apis/ZendeskApi.cjs +4 -0
  100. package/src/apis/ZendeskApi.js +4 -0
  101. package/src/index.cjs +72 -0
  102. package/src/index.js +15 -1
  103. package/src/models/BillingSubscription.cjs +2 -0
  104. package/src/models/BillingSubscription.d.ts +6 -0
  105. package/src/models/BillingSubscription.js +2 -0
  106. package/src/models/KybAdditionalInfoFileData.d.ts +1 -1
  107. package/src/models/KybAlreadyInProgressResponse.cjs +54 -0
  108. package/src/models/KybAlreadyInProgressResponse.d.ts +41 -0
  109. package/src/models/KybAlreadyInProgressResponse.js +48 -0
  110. package/src/models/KybCompanyResult.cjs +2 -0
  111. package/src/models/KybCompanyResult.d.ts +6 -0
  112. package/src/models/KybCompanyResult.js +2 -0
  113. package/src/models/KybOfficerSummary.cjs +43 -0
  114. package/src/models/KybOfficerSummary.d.ts +58 -0
  115. package/src/models/KybOfficerSummary.js +37 -0
  116. package/src/models/KybOfficersResponse.cjs +33 -0
  117. package/src/models/KybOfficersResponse.d.ts +28 -0
  118. package/src/models/KybOfficersResponse.js +27 -0
  119. package/src/models/KybResendSkipReasonEnum.cjs +47 -0
  120. package/src/models/KybResendSkipReasonEnum.d.ts +30 -0
  121. package/src/models/KybResendSkipReasonEnum.js +41 -0
  122. package/src/models/KybResendSkippedOfficer.cjs +35 -0
  123. package/src/models/KybResendSkippedOfficer.d.ts +34 -0
  124. package/src/models/KybResendSkippedOfficer.js +29 -0
  125. package/src/models/KybResendVerificationRequest.cjs +33 -0
  126. package/src/models/KybResendVerificationRequest.d.ts +27 -0
  127. package/src/models/KybResendVerificationRequest.js +27 -0
  128. package/src/models/KybResendVerificationResponse.cjs +35 -0
  129. package/src/models/KybResendVerificationResponse.d.ts +34 -0
  130. package/src/models/KybResendVerificationResponse.js +29 -0
  131. package/src/models/KybStatusReason.cjs +45 -0
  132. package/src/models/KybStatusReason.d.ts +33 -0
  133. package/src/models/KybStatusReason.js +39 -0
  134. package/src/models/KybSubmissionAddress.cjs +43 -0
  135. package/src/models/KybSubmissionAddress.d.ts +57 -0
  136. package/src/models/KybSubmissionAddress.js +37 -0
  137. package/src/models/KybSubmissionBusinessData.cjs +62 -0
  138. package/src/models/KybSubmissionBusinessData.d.ts +95 -0
  139. package/src/models/KybSubmissionBusinessData.js +56 -0
  140. package/src/models/KybSubmissionResponse.cjs +43 -0
  141. package/src/models/KybSubmissionResponse.d.ts +49 -0
  142. package/src/models/KybSubmissionResponse.js +37 -0
  143. package/src/models/KybVendorQuestion.cjs +47 -0
  144. package/src/models/KybVendorQuestion.d.ts +39 -0
  145. package/src/models/KybVendorQuestion.js +41 -0
  146. package/src/models/KybVerifyRequest.cjs +6 -0
  147. package/src/models/KybVerifyRequest.d.ts +14 -0
  148. package/src/models/KybVerifyRequest.js +6 -0
  149. package/src/models/KybVerifyRequestBusinessData.cjs +12 -4
  150. package/src/models/KybVerifyRequestBusinessData.d.ts +18 -11
  151. package/src/models/KybVerifyRequestBusinessData.js +13 -5
  152. package/src/models/KybVerifyRequestDocuments.cjs +37 -0
  153. package/src/models/KybVerifyRequestDocuments.d.ts +39 -0
  154. package/src/models/KybVerifyRequestDocuments.js +31 -0
  155. package/src/models/KybVerifyRequestOfficers.cjs +37 -0
  156. package/src/models/KybVerifyRequestOfficers.d.ts +39 -0
  157. package/src/models/KybVerifyRequestOfficers.js +31 -0
  158. package/src/models/Organization.cjs +2 -0
  159. package/src/models/Organization.d.ts +6 -0
  160. package/src/models/Organization.js +2 -0
  161. package/src/models/OrganizationRequest.cjs +2 -0
  162. package/src/models/OrganizationRequest.d.ts +6 -0
  163. package/src/models/OrganizationRequest.js +2 -0
  164. package/src/models/OrganizationResponseOrganization.cjs +2 -0
  165. package/src/models/OrganizationResponseOrganization.d.ts +6 -0
  166. package/src/models/OrganizationResponseOrganization.js +2 -0
  167. package/src/models/SignMessageContext.cjs +2 -0
  168. package/src/models/SignMessageContext.d.ts +6 -0
  169. package/src/models/SignMessageContext.js +2 -0
  170. package/src/models/index.d.ts +14 -0
@@ -0,0 +1,29 @@
1
+ import { KybResendSkipReasonEnumFromJSON, KybResendSkipReasonEnumToJSON } from './KybResendSkipReasonEnum.js';
2
+
3
+ /* tslint:disable */
4
+ function KybResendSkippedOfficerFromJSON(json) {
5
+ return KybResendSkippedOfficerFromJSONTyped(json);
6
+ }
7
+ function KybResendSkippedOfficerFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'personReferenceId': json['personReferenceId'],
13
+ 'reason': KybResendSkipReasonEnumFromJSON(json['reason']),
14
+ };
15
+ }
16
+ function KybResendSkippedOfficerToJSON(value) {
17
+ if (value === undefined) {
18
+ return undefined;
19
+ }
20
+ if (value === null) {
21
+ return null;
22
+ }
23
+ return {
24
+ 'personReferenceId': value.personReferenceId,
25
+ 'reason': KybResendSkipReasonEnumToJSON(value.reason),
26
+ };
27
+ }
28
+
29
+ export { KybResendSkippedOfficerFromJSON, KybResendSkippedOfficerFromJSONTyped, KybResendSkippedOfficerToJSON };
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function KybResendVerificationRequestFromJSON(json) {
9
+ return KybResendVerificationRequestFromJSONTyped(json);
10
+ }
11
+ function KybResendVerificationRequestFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'personReferenceIds': !runtime.exists(json, 'personReferenceIds') ? undefined : json['personReferenceIds'],
17
+ };
18
+ }
19
+ function KybResendVerificationRequestToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'personReferenceIds': value.personReferenceIds,
28
+ };
29
+ }
30
+
31
+ exports.KybResendVerificationRequestFromJSON = KybResendVerificationRequestFromJSON;
32
+ exports.KybResendVerificationRequestFromJSONTyped = KybResendVerificationRequestFromJSONTyped;
33
+ exports.KybResendVerificationRequestToJSON = KybResendVerificationRequestToJSON;
@@ -0,0 +1,27 @@
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 KybResendVerificationRequest
16
+ */
17
+ export interface KybResendVerificationRequest {
18
+ /**
19
+ * Officer person_reference_ids to resend to. Omit or pass an empty array to resend to every officer on the profile.
20
+ * @type {Array<string>}
21
+ * @memberof KybResendVerificationRequest
22
+ */
23
+ personReferenceIds?: Array<string>;
24
+ }
25
+ export declare function KybResendVerificationRequestFromJSON(json: any): KybResendVerificationRequest;
26
+ export declare function KybResendVerificationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybResendVerificationRequest;
27
+ export declare function KybResendVerificationRequestToJSON(value?: KybResendVerificationRequest | null): any;
@@ -0,0 +1,27 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function KybResendVerificationRequestFromJSON(json) {
5
+ return KybResendVerificationRequestFromJSONTyped(json);
6
+ }
7
+ function KybResendVerificationRequestFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'personReferenceIds': !exists(json, 'personReferenceIds') ? undefined : json['personReferenceIds'],
13
+ };
14
+ }
15
+ function KybResendVerificationRequestToJSON(value) {
16
+ if (value === undefined) {
17
+ return undefined;
18
+ }
19
+ if (value === null) {
20
+ return null;
21
+ }
22
+ return {
23
+ 'personReferenceIds': value.personReferenceIds,
24
+ };
25
+ }
26
+
27
+ export { KybResendVerificationRequestFromJSON, KybResendVerificationRequestFromJSONTyped, KybResendVerificationRequestToJSON };
@@ -0,0 +1,35 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var KybResendSkippedOfficer = require('./KybResendSkippedOfficer.cjs');
6
+
7
+ /* tslint:disable */
8
+ function KybResendVerificationResponseFromJSON(json) {
9
+ return KybResendVerificationResponseFromJSONTyped(json);
10
+ }
11
+ function KybResendVerificationResponseFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'resent': json['resent'],
17
+ 'skipped': (json['skipped'].map(KybResendSkippedOfficer.KybResendSkippedOfficerFromJSON)),
18
+ };
19
+ }
20
+ function KybResendVerificationResponseToJSON(value) {
21
+ if (value === undefined) {
22
+ return undefined;
23
+ }
24
+ if (value === null) {
25
+ return null;
26
+ }
27
+ return {
28
+ 'resent': value.resent,
29
+ 'skipped': (value.skipped.map(KybResendSkippedOfficer.KybResendSkippedOfficerToJSON)),
30
+ };
31
+ }
32
+
33
+ exports.KybResendVerificationResponseFromJSON = KybResendVerificationResponseFromJSON;
34
+ exports.KybResendVerificationResponseFromJSONTyped = KybResendVerificationResponseFromJSONTyped;
35
+ exports.KybResendVerificationResponseToJSON = KybResendVerificationResponseToJSON;
@@ -0,0 +1,34 @@
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 { KybResendSkippedOfficer } from './KybResendSkippedOfficer';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface KybResendVerificationResponse
17
+ */
18
+ export interface KybResendVerificationResponse {
19
+ /**
20
+ * Number of officers whose verification email was freshly re-sent.
21
+ * @type {number}
22
+ * @memberof KybResendVerificationResponse
23
+ */
24
+ resent: number;
25
+ /**
26
+ *
27
+ * @type {Array<KybResendSkippedOfficer>}
28
+ * @memberof KybResendVerificationResponse
29
+ */
30
+ skipped: Array<KybResendSkippedOfficer>;
31
+ }
32
+ export declare function KybResendVerificationResponseFromJSON(json: any): KybResendVerificationResponse;
33
+ export declare function KybResendVerificationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybResendVerificationResponse;
34
+ export declare function KybResendVerificationResponseToJSON(value?: KybResendVerificationResponse | null): any;
@@ -0,0 +1,29 @@
1
+ import { KybResendSkippedOfficerFromJSON, KybResendSkippedOfficerToJSON } from './KybResendSkippedOfficer.js';
2
+
3
+ /* tslint:disable */
4
+ function KybResendVerificationResponseFromJSON(json) {
5
+ return KybResendVerificationResponseFromJSONTyped(json);
6
+ }
7
+ function KybResendVerificationResponseFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'resent': json['resent'],
13
+ 'skipped': (json['skipped'].map(KybResendSkippedOfficerFromJSON)),
14
+ };
15
+ }
16
+ function KybResendVerificationResponseToJSON(value) {
17
+ if (value === undefined) {
18
+ return undefined;
19
+ }
20
+ if (value === null) {
21
+ return null;
22
+ }
23
+ return {
24
+ 'resent': value.resent,
25
+ 'skipped': (value.skipped.map(KybResendSkippedOfficerToJSON)),
26
+ };
27
+ }
28
+
29
+ export { KybResendVerificationResponseFromJSON, KybResendVerificationResponseFromJSONTyped, KybResendVerificationResponseToJSON };
@@ -0,0 +1,45 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ function KybStatusReasonFromJSON(json) {
19
+ return KybStatusReasonFromJSONTyped(json);
20
+ }
21
+ function KybStatusReasonFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'code': json['code'],
27
+ 'message': json['message'],
28
+ };
29
+ }
30
+ function KybStatusReasonToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'code': value.code,
39
+ 'message': value.message,
40
+ };
41
+ }
42
+
43
+ exports.KybStatusReasonFromJSON = KybStatusReasonFromJSON;
44
+ exports.KybStatusReasonFromJSONTyped = KybStatusReasonFromJSONTyped;
45
+ exports.KybStatusReasonToJSON = KybStatusReasonToJSON;
@@ -0,0 +1,33 @@
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 KybStatusReason
16
+ */
17
+ export interface KybStatusReason {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof KybStatusReason
22
+ */
23
+ code: string;
24
+ /**
25
+ * Vendor-authored text describing what needs correction; shown verbatim to the customer.
26
+ * @type {string}
27
+ * @memberof KybStatusReason
28
+ */
29
+ message: string;
30
+ }
31
+ export declare function KybStatusReasonFromJSON(json: any): KybStatusReason;
32
+ export declare function KybStatusReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybStatusReason;
33
+ export declare function KybStatusReasonToJSON(value?: KybStatusReason | null): any;
@@ -0,0 +1,39 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ function KybStatusReasonFromJSON(json) {
15
+ return KybStatusReasonFromJSONTyped(json);
16
+ }
17
+ function KybStatusReasonFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'code': json['code'],
23
+ 'message': json['message'],
24
+ };
25
+ }
26
+ function KybStatusReasonToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'code': value.code,
35
+ 'message': value.message,
36
+ };
37
+ }
38
+
39
+ export { KybStatusReasonFromJSON, KybStatusReasonFromJSONTyped, KybStatusReasonToJSON };
@@ -0,0 +1,43 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function KybSubmissionAddressFromJSON(json) {
9
+ return KybSubmissionAddressFromJSONTyped(json);
10
+ }
11
+ function KybSubmissionAddressFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'addressStreet1': !runtime.exists(json, 'addressStreet1') ? undefined : json['addressStreet1'],
17
+ 'addressStreet2': !runtime.exists(json, 'addressStreet2') ? undefined : json['addressStreet2'],
18
+ 'addressCity': !runtime.exists(json, 'addressCity') ? undefined : json['addressCity'],
19
+ 'addressState': !runtime.exists(json, 'addressState') ? undefined : json['addressState'],
20
+ 'addressZipCode': !runtime.exists(json, 'addressZipCode') ? undefined : json['addressZipCode'],
21
+ 'addressCountry': !runtime.exists(json, 'addressCountry') ? undefined : json['addressCountry'],
22
+ };
23
+ }
24
+ function KybSubmissionAddressToJSON(value) {
25
+ if (value === undefined) {
26
+ return undefined;
27
+ }
28
+ if (value === null) {
29
+ return null;
30
+ }
31
+ return {
32
+ 'addressStreet1': value.addressStreet1,
33
+ 'addressStreet2': value.addressStreet2,
34
+ 'addressCity': value.addressCity,
35
+ 'addressState': value.addressState,
36
+ 'addressZipCode': value.addressZipCode,
37
+ 'addressCountry': value.addressCountry,
38
+ };
39
+ }
40
+
41
+ exports.KybSubmissionAddressFromJSON = KybSubmissionAddressFromJSON;
42
+ exports.KybSubmissionAddressFromJSONTyped = KybSubmissionAddressFromJSONTyped;
43
+ exports.KybSubmissionAddressToJSON = KybSubmissionAddressToJSON;
@@ -0,0 +1,57 @@
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 KybSubmissionAddress
16
+ */
17
+ export interface KybSubmissionAddress {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof KybSubmissionAddress
22
+ */
23
+ addressStreet1?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof KybSubmissionAddress
28
+ */
29
+ addressStreet2?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof KybSubmissionAddress
34
+ */
35
+ addressCity?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof KybSubmissionAddress
40
+ */
41
+ addressState?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof KybSubmissionAddress
46
+ */
47
+ addressZipCode?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof KybSubmissionAddress
52
+ */
53
+ addressCountry?: string;
54
+ }
55
+ export declare function KybSubmissionAddressFromJSON(json: any): KybSubmissionAddress;
56
+ export declare function KybSubmissionAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybSubmissionAddress;
57
+ export declare function KybSubmissionAddressToJSON(value?: KybSubmissionAddress | null): any;
@@ -0,0 +1,37 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function KybSubmissionAddressFromJSON(json) {
5
+ return KybSubmissionAddressFromJSONTyped(json);
6
+ }
7
+ function KybSubmissionAddressFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'addressStreet1': !exists(json, 'addressStreet1') ? undefined : json['addressStreet1'],
13
+ 'addressStreet2': !exists(json, 'addressStreet2') ? undefined : json['addressStreet2'],
14
+ 'addressCity': !exists(json, 'addressCity') ? undefined : json['addressCity'],
15
+ 'addressState': !exists(json, 'addressState') ? undefined : json['addressState'],
16
+ 'addressZipCode': !exists(json, 'addressZipCode') ? undefined : json['addressZipCode'],
17
+ 'addressCountry': !exists(json, 'addressCountry') ? undefined : json['addressCountry'],
18
+ };
19
+ }
20
+ function KybSubmissionAddressToJSON(value) {
21
+ if (value === undefined) {
22
+ return undefined;
23
+ }
24
+ if (value === null) {
25
+ return null;
26
+ }
27
+ return {
28
+ 'addressStreet1': value.addressStreet1,
29
+ 'addressStreet2': value.addressStreet2,
30
+ 'addressCity': value.addressCity,
31
+ 'addressState': value.addressState,
32
+ 'addressZipCode': value.addressZipCode,
33
+ 'addressCountry': value.addressCountry,
34
+ };
35
+ }
36
+
37
+ export { KybSubmissionAddressFromJSON, KybSubmissionAddressFromJSONTyped, KybSubmissionAddressToJSON };
@@ -0,0 +1,62 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var KybSubmissionAddress = require('./KybSubmissionAddress.cjs');
7
+
8
+ /* tslint:disable */
9
+ /**
10
+ * @export
11
+ * @enum {string}
12
+ */
13
+ exports.KybSubmissionBusinessDataEntityTypeEnum = void 0;
14
+ (function (KybSubmissionBusinessDataEntityTypeEnum) {
15
+ KybSubmissionBusinessDataEntityTypeEnum["SoleProprietorship"] = "SOLE_PROPRIETORSHIP";
16
+ })(exports.KybSubmissionBusinessDataEntityTypeEnum || (exports.KybSubmissionBusinessDataEntityTypeEnum = {}));
17
+ function KybSubmissionBusinessDataFromJSON(json) {
18
+ return KybSubmissionBusinessDataFromJSONTyped(json);
19
+ }
20
+ function KybSubmissionBusinessDataFromJSONTyped(json, ignoreDiscriminator) {
21
+ if ((json === undefined) || (json === null)) {
22
+ return json;
23
+ }
24
+ return {
25
+ 'name': !runtime.exists(json, 'name') ? undefined : json['name'],
26
+ 'countryCode': !runtime.exists(json, 'countryCode') ? undefined : json['countryCode'],
27
+ 'stateCode': !runtime.exists(json, 'stateCode') ? undefined : json['stateCode'],
28
+ 'businessEntityId': !runtime.exists(json, 'businessEntityId') ? undefined : json['businessEntityId'],
29
+ 'entityType': !runtime.exists(json, 'entityType') ? undefined : json['entityType'],
30
+ 'emailAddresses': !runtime.exists(json, 'emailAddresses') ? undefined : json['emailAddresses'],
31
+ 'formationDate': !runtime.exists(json, 'formationDate') ? undefined : json['formationDate'],
32
+ 'phoneNumbers': !runtime.exists(json, 'phoneNumbers') ? undefined : json['phoneNumbers'],
33
+ 'taxIdentificationNumber': !runtime.exists(json, 'taxIdentificationNumber') ? undefined : json['taxIdentificationNumber'],
34
+ 'website': !runtime.exists(json, 'website') ? undefined : json['website'],
35
+ 'addresses': !runtime.exists(json, 'addresses') ? undefined : (json['addresses'].map(KybSubmissionAddress.KybSubmissionAddressFromJSON)),
36
+ };
37
+ }
38
+ function KybSubmissionBusinessDataToJSON(value) {
39
+ if (value === undefined) {
40
+ return undefined;
41
+ }
42
+ if (value === null) {
43
+ return null;
44
+ }
45
+ return {
46
+ 'name': value.name,
47
+ 'countryCode': value.countryCode,
48
+ 'stateCode': value.stateCode,
49
+ 'businessEntityId': value.businessEntityId,
50
+ 'entityType': value.entityType,
51
+ 'emailAddresses': value.emailAddresses,
52
+ 'formationDate': value.formationDate,
53
+ 'phoneNumbers': value.phoneNumbers,
54
+ 'taxIdentificationNumber': value.taxIdentificationNumber,
55
+ 'website': value.website,
56
+ 'addresses': value.addresses === undefined ? undefined : (value.addresses.map(KybSubmissionAddress.KybSubmissionAddressToJSON)),
57
+ };
58
+ }
59
+
60
+ exports.KybSubmissionBusinessDataFromJSON = KybSubmissionBusinessDataFromJSON;
61
+ exports.KybSubmissionBusinessDataFromJSONTyped = KybSubmissionBusinessDataFromJSONTyped;
62
+ exports.KybSubmissionBusinessDataToJSON = KybSubmissionBusinessDataToJSON;
@@ -0,0 +1,95 @@
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 { KybSubmissionAddress } from './KybSubmissionAddress';
13
+ /**
14
+ * Same shape KybVerifyRequest's businessData accepts — lets the wizard feed a prior submission straight back into a resubmission.
15
+ * @export
16
+ * @interface KybSubmissionBusinessData
17
+ */
18
+ export interface KybSubmissionBusinessData {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof KybSubmissionBusinessData
23
+ */
24
+ name?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof KybSubmissionBusinessData
29
+ */
30
+ countryCode?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof KybSubmissionBusinessData
35
+ */
36
+ stateCode?: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof KybSubmissionBusinessData
41
+ */
42
+ businessEntityId?: string;
43
+ /**
44
+ * Never populated today — AI Prise's get_business_data_from_request response has no field to read the SOLE_PROPRIETORSHIP flag back from. Kept for symmetry with KybVerifyRequest.
45
+ * @type {string}
46
+ * @memberof KybSubmissionBusinessData
47
+ */
48
+ entityType?: KybSubmissionBusinessDataEntityTypeEnum;
49
+ /**
50
+ *
51
+ * @type {Array<string>}
52
+ * @memberof KybSubmissionBusinessData
53
+ */
54
+ emailAddresses?: Array<string>;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof KybSubmissionBusinessData
59
+ */
60
+ formationDate?: string;
61
+ /**
62
+ *
63
+ * @type {Array<string>}
64
+ * @memberof KybSubmissionBusinessData
65
+ */
66
+ phoneNumbers?: Array<string>;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof KybSubmissionBusinessData
71
+ */
72
+ taxIdentificationNumber?: string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof KybSubmissionBusinessData
77
+ */
78
+ website?: string;
79
+ /**
80
+ *
81
+ * @type {Array<KybSubmissionAddress>}
82
+ * @memberof KybSubmissionBusinessData
83
+ */
84
+ addresses?: Array<KybSubmissionAddress>;
85
+ }
86
+ /**
87
+ * @export
88
+ * @enum {string}
89
+ */
90
+ export declare enum KybSubmissionBusinessDataEntityTypeEnum {
91
+ SoleProprietorship = "SOLE_PROPRIETORSHIP"
92
+ }
93
+ export declare function KybSubmissionBusinessDataFromJSON(json: any): KybSubmissionBusinessData;
94
+ export declare function KybSubmissionBusinessDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybSubmissionBusinessData;
95
+ export declare function KybSubmissionBusinessDataToJSON(value?: KybSubmissionBusinessData | null): any;