@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
@@ -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}
@@ -12,6 +12,7 @@ function KybCompanyResultFromJSONTyped(json, ignoreDiscriminator) {
12
12
  return {
13
13
  'legalName': json['legalName'],
14
14
  'businessEntityId': json['businessEntityId'],
15
+ 'companyId': !exists(json, 'companyId') ? undefined : json['companyId'],
15
16
  'entityType': !exists(json, 'entityType') ? undefined : json['entityType'],
16
17
  'countryCode': json['countryCode'],
17
18
  'stateCode': !exists(json, 'stateCode') ? undefined : json['stateCode'],
@@ -28,6 +29,7 @@ function KybCompanyResultToJSON(value) {
28
29
  return {
29
30
  'legalName': value.legalName,
30
31
  'businessEntityId': value.businessEntityId,
32
+ 'companyId': value.companyId,
31
33
  'entityType': value.entityType,
32
34
  'countryCode': value.countryCode,
33
35
  'stateCode': value.stateCode,
@@ -0,0 +1,43 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var KybVerificationResultEnum = require('./KybVerificationResultEnum.cjs');
6
+
7
+ /* tslint:disable */
8
+ function KybOfficerSummaryFromJSON(json) {
9
+ return KybOfficerSummaryFromJSONTyped(json);
10
+ }
11
+ function KybOfficerSummaryFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'personReferenceId': json['personReferenceId'],
17
+ 'fullName': json['fullName'],
18
+ 'emailPresent': json['emailPresent'],
19
+ 'maskedEmail': json['maskedEmail'],
20
+ 'role': json['role'],
21
+ 'verificationResult': KybVerificationResultEnum.KybVerificationResultEnumFromJSON(json['verificationResult']),
22
+ };
23
+ }
24
+ function KybOfficerSummaryToJSON(value) {
25
+ if (value === undefined) {
26
+ return undefined;
27
+ }
28
+ if (value === null) {
29
+ return null;
30
+ }
31
+ return {
32
+ 'personReferenceId': value.personReferenceId,
33
+ 'fullName': value.fullName,
34
+ 'emailPresent': value.emailPresent,
35
+ 'maskedEmail': value.maskedEmail,
36
+ 'role': value.role,
37
+ 'verificationResult': KybVerificationResultEnum.KybVerificationResultEnumToJSON(value.verificationResult),
38
+ };
39
+ }
40
+
41
+ exports.KybOfficerSummaryFromJSON = KybOfficerSummaryFromJSON;
42
+ exports.KybOfficerSummaryFromJSONTyped = KybOfficerSummaryFromJSONTyped;
43
+ exports.KybOfficerSummaryToJSON = KybOfficerSummaryToJSON;
@@ -0,0 +1,58 @@
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 { KybVerificationResultEnum } from './KybVerificationResultEnum';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface KybOfficerSummary
17
+ */
18
+ export interface KybOfficerSummary {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof KybOfficerSummary
23
+ */
24
+ personReferenceId: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof KybOfficerSummary
29
+ */
30
+ fullName: string;
31
+ /**
32
+ * Whether AI Prise has an email on file for this officer.
33
+ * @type {boolean}
34
+ * @memberof KybOfficerSummary
35
+ */
36
+ emailPresent: boolean;
37
+ /**
38
+ * Masked display form (e.g. "j***@e***.com"); null when the officer has no email on file. The raw address is never returned.
39
+ * @type {string}
40
+ * @memberof KybOfficerSummary
41
+ */
42
+ maskedEmail: string | null;
43
+ /**
44
+ * Primary role name for this officer as stored in AI Prise (e.g. "CEO", "DIRECTOR"). Empty string when no role is on file.
45
+ * @type {string}
46
+ * @memberof KybOfficerSummary
47
+ */
48
+ role: string;
49
+ /**
50
+ *
51
+ * @type {KybVerificationResultEnum}
52
+ * @memberof KybOfficerSummary
53
+ */
54
+ verificationResult: KybVerificationResultEnum;
55
+ }
56
+ export declare function KybOfficerSummaryFromJSON(json: any): KybOfficerSummary;
57
+ export declare function KybOfficerSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybOfficerSummary;
58
+ export declare function KybOfficerSummaryToJSON(value?: KybOfficerSummary | null): any;
@@ -0,0 +1,37 @@
1
+ import { KybVerificationResultEnumFromJSON, KybVerificationResultEnumToJSON } from './KybVerificationResultEnum.js';
2
+
3
+ /* tslint:disable */
4
+ function KybOfficerSummaryFromJSON(json) {
5
+ return KybOfficerSummaryFromJSONTyped(json);
6
+ }
7
+ function KybOfficerSummaryFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'personReferenceId': json['personReferenceId'],
13
+ 'fullName': json['fullName'],
14
+ 'emailPresent': json['emailPresent'],
15
+ 'maskedEmail': json['maskedEmail'],
16
+ 'role': json['role'],
17
+ 'verificationResult': KybVerificationResultEnumFromJSON(json['verificationResult']),
18
+ };
19
+ }
20
+ function KybOfficerSummaryToJSON(value) {
21
+ if (value === undefined) {
22
+ return undefined;
23
+ }
24
+ if (value === null) {
25
+ return null;
26
+ }
27
+ return {
28
+ 'personReferenceId': value.personReferenceId,
29
+ 'fullName': value.fullName,
30
+ 'emailPresent': value.emailPresent,
31
+ 'maskedEmail': value.maskedEmail,
32
+ 'role': value.role,
33
+ 'verificationResult': KybVerificationResultEnumToJSON(value.verificationResult),
34
+ };
35
+ }
36
+
37
+ export { KybOfficerSummaryFromJSON, KybOfficerSummaryFromJSONTyped, KybOfficerSummaryToJSON };
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var KybOfficerSummary = require('./KybOfficerSummary.cjs');
6
+
7
+ /* tslint:disable */
8
+ function KybOfficersResponseFromJSON(json) {
9
+ return KybOfficersResponseFromJSONTyped(json);
10
+ }
11
+ function KybOfficersResponseFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'officers': (json['officers'].map(KybOfficerSummary.KybOfficerSummaryFromJSON)),
17
+ };
18
+ }
19
+ function KybOfficersResponseToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'officers': (value.officers.map(KybOfficerSummary.KybOfficerSummaryToJSON)),
28
+ };
29
+ }
30
+
31
+ exports.KybOfficersResponseFromJSON = KybOfficersResponseFromJSON;
32
+ exports.KybOfficersResponseFromJSONTyped = KybOfficersResponseFromJSONTyped;
33
+ exports.KybOfficersResponseToJSON = KybOfficersResponseToJSON;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { KybOfficerSummary } from './KybOfficerSummary';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface KybOfficersResponse
17
+ */
18
+ export interface KybOfficersResponse {
19
+ /**
20
+ *
21
+ * @type {Array<KybOfficerSummary>}
22
+ * @memberof KybOfficersResponse
23
+ */
24
+ officers: Array<KybOfficerSummary>;
25
+ }
26
+ export declare function KybOfficersResponseFromJSON(json: any): KybOfficersResponse;
27
+ export declare function KybOfficersResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybOfficersResponse;
28
+ export declare function KybOfficersResponseToJSON(value?: KybOfficersResponse | null): any;
@@ -0,0 +1,27 @@
1
+ import { KybOfficerSummaryFromJSON, KybOfficerSummaryToJSON } from './KybOfficerSummary.js';
2
+
3
+ /* tslint:disable */
4
+ function KybOfficersResponseFromJSON(json) {
5
+ return KybOfficersResponseFromJSONTyped(json);
6
+ }
7
+ function KybOfficersResponseFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'officers': (json['officers'].map(KybOfficerSummaryFromJSON)),
13
+ };
14
+ }
15
+ function KybOfficersResponseToJSON(value) {
16
+ if (value === undefined) {
17
+ return undefined;
18
+ }
19
+ if (value === null) {
20
+ return null;
21
+ }
22
+ return {
23
+ 'officers': (value.officers.map(KybOfficerSummaryToJSON)),
24
+ };
25
+ }
26
+
27
+ export { KybOfficersResponseFromJSON, KybOfficersResponseFromJSONTyped, KybOfficersResponseToJSON };
@@ -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
+ /**
19
+ *
20
+ * @export
21
+ * @enum {string}
22
+ */
23
+ exports.KybResendSkipReasonEnum = void 0;
24
+ (function (KybResendSkipReasonEnum) {
25
+ KybResendSkipReasonEnum["NoEmail"] = "NO_EMAIL";
26
+ KybResendSkipReasonEnum["AlreadyVerified"] = "ALREADY_VERIFIED";
27
+ KybResendSkipReasonEnum["Declined"] = "DECLINED";
28
+ KybResendSkipReasonEnum["EmailDomainMismatch"] = "EMAIL_DOMAIN_MISMATCH";
29
+ KybResendSkipReasonEnum["BusinessContactRequired"] = "BUSINESS_CONTACT_REQUIRED";
30
+ KybResendSkipReasonEnum["NotFound"] = "NOT_FOUND";
31
+ KybResendSkipReasonEnum["Failed"] = "FAILED";
32
+ KybResendSkipReasonEnum["RateLimited"] = "RATE_LIMITED";
33
+ KybResendSkipReasonEnum["NotDeliverable"] = "NOT_DELIVERABLE";
34
+ })(exports.KybResendSkipReasonEnum || (exports.KybResendSkipReasonEnum = {}));
35
+ function KybResendSkipReasonEnumFromJSON(json) {
36
+ return KybResendSkipReasonEnumFromJSONTyped(json);
37
+ }
38
+ function KybResendSkipReasonEnumFromJSONTyped(json, ignoreDiscriminator) {
39
+ return json;
40
+ }
41
+ function KybResendSkipReasonEnumToJSON(value) {
42
+ return value;
43
+ }
44
+
45
+ exports.KybResendSkipReasonEnumFromJSON = KybResendSkipReasonEnumFromJSON;
46
+ exports.KybResendSkipReasonEnumFromJSONTyped = KybResendSkipReasonEnumFromJSONTyped;
47
+ exports.KybResendSkipReasonEnumToJSON = KybResendSkipReasonEnumToJSON;
@@ -0,0 +1,30 @@
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
+ * @enum {string}
16
+ */
17
+ export declare enum KybResendSkipReasonEnum {
18
+ NoEmail = "NO_EMAIL",
19
+ AlreadyVerified = "ALREADY_VERIFIED",
20
+ Declined = "DECLINED",
21
+ EmailDomainMismatch = "EMAIL_DOMAIN_MISMATCH",
22
+ BusinessContactRequired = "BUSINESS_CONTACT_REQUIRED",
23
+ NotFound = "NOT_FOUND",
24
+ Failed = "FAILED",
25
+ RateLimited = "RATE_LIMITED",
26
+ NotDeliverable = "NOT_DELIVERABLE"
27
+ }
28
+ export declare function KybResendSkipReasonEnumFromJSON(json: any): KybResendSkipReasonEnum;
29
+ export declare function KybResendSkipReasonEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybResendSkipReasonEnum;
30
+ export declare function KybResendSkipReasonEnumToJSON(value?: KybResendSkipReasonEnum | null): any;
@@ -0,0 +1,41 @@
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
+ *
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ var KybResendSkipReasonEnum;
20
+ (function (KybResendSkipReasonEnum) {
21
+ KybResendSkipReasonEnum["NoEmail"] = "NO_EMAIL";
22
+ KybResendSkipReasonEnum["AlreadyVerified"] = "ALREADY_VERIFIED";
23
+ KybResendSkipReasonEnum["Declined"] = "DECLINED";
24
+ KybResendSkipReasonEnum["EmailDomainMismatch"] = "EMAIL_DOMAIN_MISMATCH";
25
+ KybResendSkipReasonEnum["BusinessContactRequired"] = "BUSINESS_CONTACT_REQUIRED";
26
+ KybResendSkipReasonEnum["NotFound"] = "NOT_FOUND";
27
+ KybResendSkipReasonEnum["Failed"] = "FAILED";
28
+ KybResendSkipReasonEnum["RateLimited"] = "RATE_LIMITED";
29
+ KybResendSkipReasonEnum["NotDeliverable"] = "NOT_DELIVERABLE";
30
+ })(KybResendSkipReasonEnum || (KybResendSkipReasonEnum = {}));
31
+ function KybResendSkipReasonEnumFromJSON(json) {
32
+ return KybResendSkipReasonEnumFromJSONTyped(json);
33
+ }
34
+ function KybResendSkipReasonEnumFromJSONTyped(json, ignoreDiscriminator) {
35
+ return json;
36
+ }
37
+ function KybResendSkipReasonEnumToJSON(value) {
38
+ return value;
39
+ }
40
+
41
+ export { KybResendSkipReasonEnum, KybResendSkipReasonEnumFromJSON, KybResendSkipReasonEnumFromJSONTyped, KybResendSkipReasonEnumToJSON };
@@ -0,0 +1,35 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var KybResendSkipReasonEnum = require('./KybResendSkipReasonEnum.cjs');
6
+
7
+ /* tslint:disable */
8
+ function KybResendSkippedOfficerFromJSON(json) {
9
+ return KybResendSkippedOfficerFromJSONTyped(json);
10
+ }
11
+ function KybResendSkippedOfficerFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'personReferenceId': json['personReferenceId'],
17
+ 'reason': KybResendSkipReasonEnum.KybResendSkipReasonEnumFromJSON(json['reason']),
18
+ };
19
+ }
20
+ function KybResendSkippedOfficerToJSON(value) {
21
+ if (value === undefined) {
22
+ return undefined;
23
+ }
24
+ if (value === null) {
25
+ return null;
26
+ }
27
+ return {
28
+ 'personReferenceId': value.personReferenceId,
29
+ 'reason': KybResendSkipReasonEnum.KybResendSkipReasonEnumToJSON(value.reason),
30
+ };
31
+ }
32
+
33
+ exports.KybResendSkippedOfficerFromJSON = KybResendSkippedOfficerFromJSON;
34
+ exports.KybResendSkippedOfficerFromJSONTyped = KybResendSkippedOfficerFromJSONTyped;
35
+ exports.KybResendSkippedOfficerToJSON = KybResendSkippedOfficerToJSON;
@@ -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 { KybResendSkipReasonEnum } from './KybResendSkipReasonEnum';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface KybResendSkippedOfficer
17
+ */
18
+ export interface KybResendSkippedOfficer {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof KybResendSkippedOfficer
23
+ */
24
+ personReferenceId: string;
25
+ /**
26
+ *
27
+ * @type {KybResendSkipReasonEnum}
28
+ * @memberof KybResendSkippedOfficer
29
+ */
30
+ reason: KybResendSkipReasonEnum;
31
+ }
32
+ export declare function KybResendSkippedOfficerFromJSON(json: any): KybResendSkippedOfficer;
33
+ export declare function KybResendSkippedOfficerFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybResendSkippedOfficer;
34
+ export declare function KybResendSkippedOfficerToJSON(value?: KybResendSkippedOfficer | null): any;