@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.
Files changed (169) 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 +199 -0
  98. package/src/apis/YieldApi.d.ts +31 -0
  99. package/src/apis/YieldApi.js +195 -0
  100. package/src/apis/ZendeskApi.cjs +4 -0
  101. package/src/apis/ZendeskApi.js +4 -0
  102. package/src/apis/index.d.ts +1 -0
  103. package/src/index.cjs +74 -0
  104. package/src/index.js +16 -1
  105. package/src/models/BillingSubscription.cjs +2 -0
  106. package/src/models/BillingSubscription.d.ts +6 -0
  107. package/src/models/BillingSubscription.js +2 -0
  108. package/src/models/KybAdditionalInfoFileData.d.ts +1 -1
  109. package/src/models/KybAlreadyInProgressResponse.cjs +54 -0
  110. package/src/models/KybAlreadyInProgressResponse.d.ts +41 -0
  111. package/src/models/KybAlreadyInProgressResponse.js +48 -0
  112. package/src/models/KybCompanyResult.cjs +2 -0
  113. package/src/models/KybCompanyResult.d.ts +6 -0
  114. package/src/models/KybCompanyResult.js +2 -0
  115. package/src/models/KybOfficerSummary.cjs +43 -0
  116. package/src/models/KybOfficerSummary.d.ts +58 -0
  117. package/src/models/KybOfficerSummary.js +37 -0
  118. package/src/models/KybOfficersResponse.cjs +33 -0
  119. package/src/models/KybOfficersResponse.d.ts +28 -0
  120. package/src/models/KybOfficersResponse.js +27 -0
  121. package/src/models/KybResendSkipReasonEnum.cjs +47 -0
  122. package/src/models/KybResendSkipReasonEnum.d.ts +30 -0
  123. package/src/models/KybResendSkipReasonEnum.js +41 -0
  124. package/src/models/KybResendSkippedOfficer.cjs +35 -0
  125. package/src/models/KybResendSkippedOfficer.d.ts +34 -0
  126. package/src/models/KybResendSkippedOfficer.js +29 -0
  127. package/src/models/KybResendVerificationRequest.cjs +33 -0
  128. package/src/models/KybResendVerificationRequest.d.ts +27 -0
  129. package/src/models/KybResendVerificationRequest.js +27 -0
  130. package/src/models/KybResendVerificationResponse.cjs +35 -0
  131. package/src/models/KybResendVerificationResponse.d.ts +34 -0
  132. package/src/models/KybResendVerificationResponse.js +29 -0
  133. package/src/models/KybStatusReason.cjs +45 -0
  134. package/src/models/KybStatusReason.d.ts +33 -0
  135. package/src/models/KybStatusReason.js +39 -0
  136. package/src/models/KybSubmissionAddress.cjs +43 -0
  137. package/src/models/KybSubmissionAddress.d.ts +57 -0
  138. package/src/models/KybSubmissionAddress.js +37 -0
  139. package/src/models/KybSubmissionBusinessData.cjs +62 -0
  140. package/src/models/KybSubmissionBusinessData.d.ts +95 -0
  141. package/src/models/KybSubmissionBusinessData.js +56 -0
  142. package/src/models/KybSubmissionResponse.cjs +43 -0
  143. package/src/models/KybSubmissionResponse.d.ts +49 -0
  144. package/src/models/KybSubmissionResponse.js +37 -0
  145. package/src/models/KybVendorQuestion.cjs +47 -0
  146. package/src/models/KybVendorQuestion.d.ts +39 -0
  147. package/src/models/KybVendorQuestion.js +41 -0
  148. package/src/models/KybVerifyRequest.cjs +6 -0
  149. package/src/models/KybVerifyRequest.d.ts +14 -0
  150. package/src/models/KybVerifyRequest.js +6 -0
  151. package/src/models/KybVerifyRequestBusinessData.cjs +12 -4
  152. package/src/models/KybVerifyRequestBusinessData.d.ts +18 -11
  153. package/src/models/KybVerifyRequestBusinessData.js +13 -5
  154. package/src/models/KybVerifyRequestDocuments.cjs +37 -0
  155. package/src/models/KybVerifyRequestDocuments.d.ts +39 -0
  156. package/src/models/KybVerifyRequestDocuments.js +31 -0
  157. package/src/models/KybVerifyRequestOfficers.cjs +37 -0
  158. package/src/models/KybVerifyRequestOfficers.d.ts +39 -0
  159. package/src/models/KybVerifyRequestOfficers.js +31 -0
  160. package/src/models/Organization.cjs +2 -0
  161. package/src/models/Organization.d.ts +6 -0
  162. package/src/models/Organization.js +2 -0
  163. package/src/models/OrganizationRequest.cjs +2 -0
  164. package/src/models/OrganizationRequest.d.ts +6 -0
  165. package/src/models/OrganizationRequest.js +2 -0
  166. package/src/models/OrganizationResponseOrganization.cjs +2 -0
  167. package/src/models/OrganizationResponseOrganization.d.ts +6 -0
  168. package/src/models/OrganizationResponseOrganization.js +2 -0
  169. package/src/models/index.d.ts +14 -0
@@ -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;
@@ -0,0 +1,56 @@
1
+ import { exists } from '../runtime.js';
2
+ import { KybSubmissionAddressFromJSON, KybSubmissionAddressToJSON } from './KybSubmissionAddress.js';
3
+
4
+ /* tslint:disable */
5
+ /**
6
+ * @export
7
+ * @enum {string}
8
+ */
9
+ var KybSubmissionBusinessDataEntityTypeEnum;
10
+ (function (KybSubmissionBusinessDataEntityTypeEnum) {
11
+ KybSubmissionBusinessDataEntityTypeEnum["SoleProprietorship"] = "SOLE_PROPRIETORSHIP";
12
+ })(KybSubmissionBusinessDataEntityTypeEnum || (KybSubmissionBusinessDataEntityTypeEnum = {}));
13
+ function KybSubmissionBusinessDataFromJSON(json) {
14
+ return KybSubmissionBusinessDataFromJSONTyped(json);
15
+ }
16
+ function KybSubmissionBusinessDataFromJSONTyped(json, ignoreDiscriminator) {
17
+ if ((json === undefined) || (json === null)) {
18
+ return json;
19
+ }
20
+ return {
21
+ 'name': !exists(json, 'name') ? undefined : json['name'],
22
+ 'countryCode': !exists(json, 'countryCode') ? undefined : json['countryCode'],
23
+ 'stateCode': !exists(json, 'stateCode') ? undefined : json['stateCode'],
24
+ 'businessEntityId': !exists(json, 'businessEntityId') ? undefined : json['businessEntityId'],
25
+ 'entityType': !exists(json, 'entityType') ? undefined : json['entityType'],
26
+ 'emailAddresses': !exists(json, 'emailAddresses') ? undefined : json['emailAddresses'],
27
+ 'formationDate': !exists(json, 'formationDate') ? undefined : json['formationDate'],
28
+ 'phoneNumbers': !exists(json, 'phoneNumbers') ? undefined : json['phoneNumbers'],
29
+ 'taxIdentificationNumber': !exists(json, 'taxIdentificationNumber') ? undefined : json['taxIdentificationNumber'],
30
+ 'website': !exists(json, 'website') ? undefined : json['website'],
31
+ 'addresses': !exists(json, 'addresses') ? undefined : (json['addresses'].map(KybSubmissionAddressFromJSON)),
32
+ };
33
+ }
34
+ function KybSubmissionBusinessDataToJSON(value) {
35
+ if (value === undefined) {
36
+ return undefined;
37
+ }
38
+ if (value === null) {
39
+ return null;
40
+ }
41
+ return {
42
+ 'name': value.name,
43
+ 'countryCode': value.countryCode,
44
+ 'stateCode': value.stateCode,
45
+ 'businessEntityId': value.businessEntityId,
46
+ 'entityType': value.entityType,
47
+ 'emailAddresses': value.emailAddresses,
48
+ 'formationDate': value.formationDate,
49
+ 'phoneNumbers': value.phoneNumbers,
50
+ 'taxIdentificationNumber': value.taxIdentificationNumber,
51
+ 'website': value.website,
52
+ 'addresses': value.addresses === undefined ? undefined : (value.addresses.map(KybSubmissionAddressToJSON)),
53
+ };
54
+ }
55
+
56
+ export { KybSubmissionBusinessDataEntityTypeEnum, KybSubmissionBusinessDataFromJSON, KybSubmissionBusinessDataFromJSONTyped, KybSubmissionBusinessDataToJSON };
@@ -0,0 +1,43 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var KybStatusReason = require('./KybStatusReason.cjs');
7
+ var KybSubmissionBusinessData = require('./KybSubmissionBusinessData.cjs');
8
+ var KybVendorQuestion = require('./KybVendorQuestion.cjs');
9
+ var KybVerificationResultEnum = require('./KybVerificationResultEnum.cjs');
10
+
11
+ /* tslint:disable */
12
+ function KybSubmissionResponseFromJSON(json) {
13
+ return KybSubmissionResponseFromJSONTyped(json);
14
+ }
15
+ function KybSubmissionResponseFromJSONTyped(json, ignoreDiscriminator) {
16
+ if ((json === undefined) || (json === null)) {
17
+ return json;
18
+ }
19
+ return {
20
+ 'businessData': KybSubmissionBusinessData.KybSubmissionBusinessDataFromJSON(json['businessData']),
21
+ 'statusReasons': (json['statusReasons'].map(KybStatusReason.KybStatusReasonFromJSON)),
22
+ 'vendorQuestions': !runtime.exists(json, 'vendorQuestions') ? undefined : (json['vendorQuestions'].map(KybVendorQuestion.KybVendorQuestionFromJSON)),
23
+ 'verificationResult': KybVerificationResultEnum.KybVerificationResultEnumFromJSON(json['verificationResult']),
24
+ };
25
+ }
26
+ function KybSubmissionResponseToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'businessData': KybSubmissionBusinessData.KybSubmissionBusinessDataToJSON(value.businessData),
35
+ 'statusReasons': (value.statusReasons.map(KybStatusReason.KybStatusReasonToJSON)),
36
+ 'vendorQuestions': value.vendorQuestions === undefined ? undefined : (value.vendorQuestions.map(KybVendorQuestion.KybVendorQuestionToJSON)),
37
+ 'verificationResult': KybVerificationResultEnum.KybVerificationResultEnumToJSON(value.verificationResult),
38
+ };
39
+ }
40
+
41
+ exports.KybSubmissionResponseFromJSON = KybSubmissionResponseFromJSON;
42
+ exports.KybSubmissionResponseFromJSONTyped = KybSubmissionResponseFromJSONTyped;
43
+ exports.KybSubmissionResponseToJSON = KybSubmissionResponseToJSON;
@@ -0,0 +1,49 @@
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 { KybStatusReason } from './KybStatusReason';
13
+ import { KybSubmissionBusinessData } from './KybSubmissionBusinessData';
14
+ import { KybVendorQuestion } from './KybVendorQuestion';
15
+ import { KybVerificationResultEnum } from './KybVerificationResultEnum';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface KybSubmissionResponse
20
+ */
21
+ export interface KybSubmissionResponse {
22
+ /**
23
+ *
24
+ * @type {KybSubmissionBusinessData}
25
+ * @memberof KybSubmissionResponse
26
+ */
27
+ businessData: KybSubmissionBusinessData;
28
+ /**
29
+ *
30
+ * @type {Array<KybStatusReason>}
31
+ * @memberof KybSubmissionResponse
32
+ */
33
+ statusReasons: Array<KybStatusReason>;
34
+ /**
35
+ * Empty for most profiles — only populated when a reviewer has configured a business question group on the AI Prise template.
36
+ * @type {Array<KybVendorQuestion>}
37
+ * @memberof KybSubmissionResponse
38
+ */
39
+ vendorQuestions?: Array<KybVendorQuestion>;
40
+ /**
41
+ *
42
+ * @type {KybVerificationResultEnum}
43
+ * @memberof KybSubmissionResponse
44
+ */
45
+ verificationResult: KybVerificationResultEnum;
46
+ }
47
+ export declare function KybSubmissionResponseFromJSON(json: any): KybSubmissionResponse;
48
+ export declare function KybSubmissionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybSubmissionResponse;
49
+ export declare function KybSubmissionResponseToJSON(value?: KybSubmissionResponse | null): any;
@@ -0,0 +1,37 @@
1
+ import { exists } from '../runtime.js';
2
+ import { KybStatusReasonFromJSON, KybStatusReasonToJSON } from './KybStatusReason.js';
3
+ import { KybSubmissionBusinessDataFromJSON, KybSubmissionBusinessDataToJSON } from './KybSubmissionBusinessData.js';
4
+ import { KybVendorQuestionFromJSON, KybVendorQuestionToJSON } from './KybVendorQuestion.js';
5
+ import { KybVerificationResultEnumFromJSON, KybVerificationResultEnumToJSON } from './KybVerificationResultEnum.js';
6
+
7
+ /* tslint:disable */
8
+ function KybSubmissionResponseFromJSON(json) {
9
+ return KybSubmissionResponseFromJSONTyped(json);
10
+ }
11
+ function KybSubmissionResponseFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'businessData': KybSubmissionBusinessDataFromJSON(json['businessData']),
17
+ 'statusReasons': (json['statusReasons'].map(KybStatusReasonFromJSON)),
18
+ 'vendorQuestions': !exists(json, 'vendorQuestions') ? undefined : (json['vendorQuestions'].map(KybVendorQuestionFromJSON)),
19
+ 'verificationResult': KybVerificationResultEnumFromJSON(json['verificationResult']),
20
+ };
21
+ }
22
+ function KybSubmissionResponseToJSON(value) {
23
+ if (value === undefined) {
24
+ return undefined;
25
+ }
26
+ if (value === null) {
27
+ return null;
28
+ }
29
+ return {
30
+ 'businessData': KybSubmissionBusinessDataToJSON(value.businessData),
31
+ 'statusReasons': (value.statusReasons.map(KybStatusReasonToJSON)),
32
+ 'vendorQuestions': value.vendorQuestions === undefined ? undefined : (value.vendorQuestions.map(KybVendorQuestionToJSON)),
33
+ 'verificationResult': KybVerificationResultEnumToJSON(value.verificationResult),
34
+ };
35
+ }
36
+
37
+ export { KybSubmissionResponseFromJSON, KybSubmissionResponseFromJSONTyped, KybSubmissionResponseToJSON };
@@ -0,0 +1,47 @@
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 KybVendorQuestionFromJSON(json) {
19
+ return KybVendorQuestionFromJSONTyped(json);
20
+ }
21
+ function KybVendorQuestionFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'questionId': json['questionId'],
27
+ 'question': json['question'],
28
+ 'answer': json['answer'],
29
+ };
30
+ }
31
+ function KybVendorQuestionToJSON(value) {
32
+ if (value === undefined) {
33
+ return undefined;
34
+ }
35
+ if (value === null) {
36
+ return null;
37
+ }
38
+ return {
39
+ 'questionId': value.questionId,
40
+ 'question': value.question,
41
+ 'answer': value.answer,
42
+ };
43
+ }
44
+
45
+ exports.KybVendorQuestionFromJSON = KybVendorQuestionFromJSON;
46
+ exports.KybVendorQuestionFromJSONTyped = KybVendorQuestionFromJSONTyped;
47
+ exports.KybVendorQuestionToJSON = KybVendorQuestionToJSON;