@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
@@ -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;
@@ -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 };