@trinsic/api 2.0.0-alpha3 → 2.0.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 (146) hide show
  1. package/.openapi-generator/FILES +11 -3
  2. package/dist/apis/AttachmentsApi.d.ts +4 -4
  3. package/dist/apis/AttachmentsApi.js +2 -2
  4. package/dist/apis/NetworkApi.d.ts +28 -5
  5. package/dist/apis/NetworkApi.js +36 -2
  6. package/dist/apis/SessionsApi.d.ts +8 -8
  7. package/dist/apis/SessionsApi.js +4 -4
  8. package/dist/esm/apis/AttachmentsApi.d.ts +4 -4
  9. package/dist/esm/apis/AttachmentsApi.js +2 -2
  10. package/dist/esm/apis/NetworkApi.d.ts +28 -5
  11. package/dist/esm/apis/NetworkApi.js +37 -3
  12. package/dist/esm/apis/SessionsApi.d.ts +8 -8
  13. package/dist/esm/apis/SessionsApi.js +4 -4
  14. package/dist/esm/models/CreateHostedProviderSessionResponse.d.ts +13 -1
  15. package/dist/esm/models/CreateHostedProviderSessionResponse.js +7 -1
  16. package/dist/esm/models/CreateWidgetSessionRequest.d.ts +6 -5
  17. package/dist/esm/models/CreateWidgetSessionRequest.js +3 -3
  18. package/dist/esm/models/CreateWidgetSessionResponse.d.ts +13 -1
  19. package/dist/esm/models/CreateWidgetSessionResponse.js +7 -1
  20. package/dist/esm/models/IdentityData.d.ts +6 -0
  21. package/dist/esm/models/IdentityData.js +2 -0
  22. package/dist/esm/models/IdinInput.d.ts +33 -0
  23. package/dist/esm/models/IdinInput.js +38 -0
  24. package/dist/esm/models/IntegrationLaunchMethod.d.ts +1 -1
  25. package/dist/esm/models/IntegrationLaunchMethod.js +1 -1
  26. package/dist/esm/models/Language.d.ts +26 -0
  27. package/dist/esm/models/Language.js +42 -0
  28. package/dist/esm/models/ListProviderContractsResponse.d.ts +32 -0
  29. package/dist/esm/models/ListProviderContractsResponse.js +41 -0
  30. package/dist/esm/models/MobileIdInput.d.ts +44 -0
  31. package/dist/esm/models/MobileIdInput.js +43 -0
  32. package/dist/esm/models/ProviderContract.d.ts +146 -0
  33. package/dist/esm/models/ProviderContract.js +97 -0
  34. package/dist/esm/models/ProviderInfo.d.ts +0 -6
  35. package/dist/esm/models/ProviderInfo.js +0 -2
  36. package/dist/esm/models/ProviderInformation.d.ts +4 -4
  37. package/dist/esm/models/ProviderInformation.js +1 -5
  38. package/dist/esm/models/ProviderInput.d.ts +62 -16
  39. package/dist/esm/models/ProviderInput.js +23 -5
  40. package/dist/esm/models/RecommendRequest.d.ts +4 -27
  41. package/dist/esm/models/RecommendRequest.js +3 -10
  42. package/dist/esm/models/RecommendationInfo.d.ts +55 -0
  43. package/dist/esm/models/RecommendationInfo.js +44 -0
  44. package/dist/esm/models/ResultCollection.d.ts +8 -2
  45. package/dist/esm/models/ResultCollection.js +3 -1
  46. package/dist/esm/models/SmartIdInput.d.ts +31 -0
  47. package/dist/esm/models/SmartIdInput.js +38 -0
  48. package/dist/esm/models/SpidInput.d.ts +33 -0
  49. package/dist/esm/models/SpidInput.js +38 -0
  50. package/dist/esm/models/SubProviderMetadata.d.ts +54 -0
  51. package/dist/esm/models/SubProviderMetadata.js +52 -0
  52. package/dist/esm/models/TrinsicTestDatabaseLookupInput.d.ts +66 -0
  53. package/dist/esm/models/TrinsicTestDatabaseLookupInput.js +44 -0
  54. package/dist/esm/models/TrinsicTestSubProvidersInput.d.ts +35 -0
  55. package/dist/esm/models/TrinsicTestSubProvidersInput.js +38 -0
  56. package/dist/esm/models/index.d.ts +11 -3
  57. package/dist/esm/models/index.js +11 -3
  58. package/dist/models/CreateHostedProviderSessionResponse.d.ts +13 -1
  59. package/dist/models/CreateHostedProviderSessionResponse.js +7 -1
  60. package/dist/models/CreateWidgetSessionRequest.d.ts +6 -5
  61. package/dist/models/CreateWidgetSessionRequest.js +3 -3
  62. package/dist/models/CreateWidgetSessionResponse.d.ts +13 -1
  63. package/dist/models/CreateWidgetSessionResponse.js +7 -1
  64. package/dist/models/IdentityData.d.ts +6 -0
  65. package/dist/models/IdentityData.js +2 -0
  66. package/dist/models/IdinInput.d.ts +33 -0
  67. package/dist/models/IdinInput.js +44 -0
  68. package/dist/models/IntegrationLaunchMethod.d.ts +1 -1
  69. package/dist/models/IntegrationLaunchMethod.js +1 -1
  70. package/dist/models/Language.d.ts +26 -0
  71. package/dist/models/Language.js +49 -0
  72. package/dist/models/ListProviderContractsResponse.d.ts +32 -0
  73. package/dist/models/ListProviderContractsResponse.js +47 -0
  74. package/dist/models/MobileIdInput.d.ts +44 -0
  75. package/dist/models/MobileIdInput.js +49 -0
  76. package/dist/models/ProviderContract.d.ts +146 -0
  77. package/dist/models/ProviderContract.js +103 -0
  78. package/dist/models/ProviderInfo.d.ts +0 -6
  79. package/dist/models/ProviderInfo.js +0 -2
  80. package/dist/models/ProviderInformation.d.ts +4 -4
  81. package/dist/models/ProviderInformation.js +1 -5
  82. package/dist/models/ProviderInput.d.ts +62 -16
  83. package/dist/models/ProviderInput.js +23 -5
  84. package/dist/models/RecommendRequest.d.ts +4 -27
  85. package/dist/models/RecommendRequest.js +3 -10
  86. package/dist/models/RecommendationInfo.d.ts +55 -0
  87. package/dist/models/RecommendationInfo.js +50 -0
  88. package/dist/models/ResultCollection.d.ts +8 -2
  89. package/dist/models/ResultCollection.js +3 -1
  90. package/dist/models/SmartIdInput.d.ts +31 -0
  91. package/dist/models/SmartIdInput.js +44 -0
  92. package/dist/models/SpidInput.d.ts +33 -0
  93. package/dist/models/SpidInput.js +44 -0
  94. package/dist/models/SubProviderMetadata.d.ts +54 -0
  95. package/dist/models/SubProviderMetadata.js +58 -0
  96. package/dist/models/TrinsicTestDatabaseLookupInput.d.ts +66 -0
  97. package/dist/models/TrinsicTestDatabaseLookupInput.js +50 -0
  98. package/dist/models/TrinsicTestSubProvidersInput.d.ts +35 -0
  99. package/dist/models/TrinsicTestSubProvidersInput.js +44 -0
  100. package/dist/models/index.d.ts +11 -3
  101. package/dist/models/index.js +11 -3
  102. package/package.json +1 -1
  103. package/src/apis/AttachmentsApi.ts +4 -4
  104. package/src/apis/NetworkApi.ts +58 -4
  105. package/src/apis/SessionsApi.ts +8 -8
  106. package/src/models/BrazilDigitalCnhInput.ts +8 -8
  107. package/src/models/CreateAdvancedProviderSessionRequest.ts +26 -26
  108. package/src/models/CreateHostedProviderSessionResponse.ts +24 -8
  109. package/src/models/CreateWidgetSessionRequest.ts +16 -15
  110. package/src/models/CreateWidgetSessionResponse.ts +22 -6
  111. package/src/models/IdentityData.ts +8 -0
  112. package/src/models/IdinInput.ts +62 -0
  113. package/src/models/IntegrationLaunchMethod.ts +1 -1
  114. package/src/models/Language.ts +51 -0
  115. package/src/models/ListProviderContractsResponse.ts +68 -0
  116. package/src/models/MobileIdInput.ts +85 -0
  117. package/src/models/ProviderContract.ts +235 -0
  118. package/src/models/ProviderInfo.ts +0 -8
  119. package/src/models/ProviderInformation.ts +4 -7
  120. package/src/models/ProviderInput.ts +128 -40
  121. package/src/models/RecommendRequest.ts +12 -37
  122. package/src/models/RecommendationInfo.ts +90 -0
  123. package/src/models/ResultCollection.ts +10 -3
  124. package/src/models/Session.ts +7 -7
  125. package/src/models/SmartIdInput.ts +60 -0
  126. package/src/models/SpidInput.ts +62 -0
  127. package/src/models/StepRefreshInfo.ts +2 -2
  128. package/src/models/SubProviderMetadata.ts +93 -0
  129. package/src/models/TrinsicTestDatabaseLookupInput.ts +101 -0
  130. package/src/models/TrinsicTestSubProvidersInput.ts +64 -0
  131. package/src/models/index.ts +11 -3
  132. package/dist/esm/models/KnownAddress.d.ts +0 -74
  133. package/dist/esm/models/KnownAddress.js +0 -52
  134. package/dist/esm/models/KnownIdentityData.d.ts +0 -34
  135. package/dist/esm/models/KnownIdentityData.js +0 -39
  136. package/dist/esm/models/KnownPersonData.d.ts +0 -74
  137. package/dist/esm/models/KnownPersonData.js +0 -53
  138. package/dist/models/KnownAddress.d.ts +0 -74
  139. package/dist/models/KnownAddress.js +0 -58
  140. package/dist/models/KnownIdentityData.d.ts +0 -34
  141. package/dist/models/KnownIdentityData.js +0 -45
  142. package/dist/models/KnownPersonData.d.ts +0 -74
  143. package/dist/models/KnownPersonData.js +0 -59
  144. package/src/models/KnownAddress.ts +0 -117
  145. package/src/models/KnownIdentityData.ts +0 -69
  146. package/src/models/KnownPersonData.ts +0 -123
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
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
+ * Check if a given object implements the RecommendationInfo interface.
16
+ */
17
+ export function instanceOfRecommendationInfo(value) {
18
+ return true;
19
+ }
20
+ export function RecommendationInfoFromJSON(json) {
21
+ return RecommendationInfoFromJSONTyped(json, false);
22
+ }
23
+ export function RecommendationInfoFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
29
+ 'countries': json['countries'] == null ? undefined : json['countries'],
30
+ 'subdivisions': json['subdivisions'] == null ? undefined : json['subdivisions'],
31
+ 'ipAddresses': json['ipAddresses'] == null ? undefined : json['ipAddresses'],
32
+ };
33
+ }
34
+ export function RecommendationInfoToJSON(value) {
35
+ if (value == null) {
36
+ return value;
37
+ }
38
+ return {
39
+ 'phoneNumber': value['phoneNumber'],
40
+ 'countries': value['countries'],
41
+ 'subdivisions': value['subdivisions'],
42
+ 'ipAddresses': value['ipAddresses'],
43
+ };
44
+ }
@@ -23,11 +23,17 @@ export interface ResultCollection {
23
23
  */
24
24
  method: ResultCollectionMethod;
25
25
  /**
26
- * If the method is `PollResult`, this is the key that should be used to poll for the results.
26
+ * The `resultsAccessKey` for the Acceptance Session.
27
+ *
28
+ * This is an encrypted payload which contains the decryption key necessary to access the Session's Data Vault.
29
+ *
30
+ * Save this securely in your systems; it must be passed back with any API call which requires access to the Session's Data Vault.
31
+ *
32
+ * Trinsic cannot access a Session's Data Vault without this key.
27
33
  * @type {string}
28
34
  * @memberof ResultCollection
29
35
  */
30
- resultsAccessKey?: string | null;
36
+ resultsAccessKey: string;
31
37
  }
32
38
  /**
33
39
  * Check if a given object implements the ResultCollection interface.
@@ -18,6 +18,8 @@ import { ResultCollectionMethodFromJSON, ResultCollectionMethodToJSON, } from '.
18
18
  export function instanceOfResultCollection(value) {
19
19
  if (!('method' in value) || value['method'] === undefined)
20
20
  return false;
21
+ if (!('resultsAccessKey' in value) || value['resultsAccessKey'] === undefined)
22
+ return false;
21
23
  return true;
22
24
  }
23
25
  export function ResultCollectionFromJSON(json) {
@@ -29,7 +31,7 @@ export function ResultCollectionFromJSONTyped(json, ignoreDiscriminator) {
29
31
  }
30
32
  return {
31
33
  'method': ResultCollectionMethodFromJSON(json['method']),
32
- 'resultsAccessKey': json['resultsAccessKey'] == null ? undefined : json['resultsAccessKey'],
34
+ 'resultsAccessKey': json['resultsAccessKey'],
33
35
  };
34
36
  }
35
37
  export function ResultCollectionToJSON(value) {
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Trinsic API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
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 SmartIdInput
16
+ */
17
+ export interface SmartIdInput {
18
+ /**
19
+ * The user's Smart ID Document Number
20
+ * @type {string}
21
+ * @memberof SmartIdInput
22
+ */
23
+ smartIdDocumentNumber?: string | null;
24
+ }
25
+ /**
26
+ * Check if a given object implements the SmartIdInput interface.
27
+ */
28
+ export declare function instanceOfSmartIdInput(value: object): value is SmartIdInput;
29
+ export declare function SmartIdInputFromJSON(json: any): SmartIdInput;
30
+ export declare function SmartIdInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmartIdInput;
31
+ export declare function SmartIdInputToJSON(value?: SmartIdInput | null): any;
@@ -0,0 +1,38 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
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
+ * Check if a given object implements the SmartIdInput interface.
16
+ */
17
+ export function instanceOfSmartIdInput(value) {
18
+ return true;
19
+ }
20
+ export function SmartIdInputFromJSON(json) {
21
+ return SmartIdInputFromJSONTyped(json, false);
22
+ }
23
+ export function SmartIdInputFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'smartIdDocumentNumber': json['smartIdDocumentNumber'] == null ? undefined : json['smartIdDocumentNumber'],
29
+ };
30
+ }
31
+ export function SmartIdInputToJSON(value) {
32
+ if (value == null) {
33
+ return value;
34
+ }
35
+ return {
36
+ 'smartIdDocumentNumber': value['smartIdDocumentNumber'],
37
+ };
38
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Trinsic API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
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 SpidInput
16
+ */
17
+ export interface SpidInput {
18
+ /**
19
+ * The ID of the specific IDP to invoke within SPID.
20
+ *
21
+ * If not specified, the user will be prompted to select an IDP.
22
+ * @type {string}
23
+ * @memberof SpidInput
24
+ */
25
+ subProviderId?: string | null;
26
+ }
27
+ /**
28
+ * Check if a given object implements the SpidInput interface.
29
+ */
30
+ export declare function instanceOfSpidInput(value: object): value is SpidInput;
31
+ export declare function SpidInputFromJSON(json: any): SpidInput;
32
+ export declare function SpidInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpidInput;
33
+ export declare function SpidInputToJSON(value?: SpidInput | null): any;
@@ -0,0 +1,38 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
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
+ * Check if a given object implements the SpidInput interface.
16
+ */
17
+ export function instanceOfSpidInput(value) {
18
+ return true;
19
+ }
20
+ export function SpidInputFromJSON(json) {
21
+ return SpidInputFromJSONTyped(json, false);
22
+ }
23
+ export function SpidInputFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'subProviderId': json['subProviderId'] == null ? undefined : json['subProviderId'],
29
+ };
30
+ }
31
+ export function SpidInputToJSON(value) {
32
+ if (value == null) {
33
+ return value;
34
+ }
35
+ return {
36
+ 'subProviderId': value['subProviderId'],
37
+ };
38
+ }
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Trinsic API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
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
+ * Information about a sub-provider.
14
+ * @export
15
+ * @interface SubProviderMetadata
16
+ */
17
+ export interface SubProviderMetadata {
18
+ /**
19
+ * The ID of the sub-provider.
20
+ *
21
+ * This cannot be used as a standalone Provider ID when creating a Session. It must
22
+ * be passed in via the Provider-specific input.
23
+ * @type {string}
24
+ * @memberof SubProviderMetadata
25
+ */
26
+ id: string;
27
+ /**
28
+ * The name of the sub-provider
29
+ * @type {string}
30
+ * @memberof SubProviderMetadata
31
+ */
32
+ name: string;
33
+ /**
34
+ * Flavor text for the sub-provider
35
+ * @type {string}
36
+ * @memberof SubProviderMetadata
37
+ */
38
+ description: string;
39
+ /**
40
+ * A URL pointing to the logo on Trinsic's CDN.
41
+ *
42
+ * May be a PNG, JPG, or SVG image.
43
+ * @type {string}
44
+ * @memberof SubProviderMetadata
45
+ */
46
+ logoUrl: string;
47
+ }
48
+ /**
49
+ * Check if a given object implements the SubProviderMetadata interface.
50
+ */
51
+ export declare function instanceOfSubProviderMetadata(value: object): value is SubProviderMetadata;
52
+ export declare function SubProviderMetadataFromJSON(json: any): SubProviderMetadata;
53
+ export declare function SubProviderMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubProviderMetadata;
54
+ export declare function SubProviderMetadataToJSON(value?: SubProviderMetadata | null): any;
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
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
+ * Check if a given object implements the SubProviderMetadata interface.
16
+ */
17
+ export function instanceOfSubProviderMetadata(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('name' in value) || value['name'] === undefined)
21
+ return false;
22
+ if (!('description' in value) || value['description'] === undefined)
23
+ return false;
24
+ if (!('logoUrl' in value) || value['logoUrl'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ export function SubProviderMetadataFromJSON(json) {
29
+ return SubProviderMetadataFromJSONTyped(json, false);
30
+ }
31
+ export function SubProviderMetadataFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'id': json['id'],
37
+ 'name': json['name'],
38
+ 'description': json['description'],
39
+ 'logoUrl': json['logoUrl'],
40
+ };
41
+ }
42
+ export function SubProviderMetadataToJSON(value) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'id': value['id'],
48
+ 'name': value['name'],
49
+ 'description': value['description'],
50
+ 'logoUrl': value['logoUrl'],
51
+ };
52
+ }
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Trinsic API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
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 TrinsicTestDatabaseLookupInput
16
+ */
17
+ export interface TrinsicTestDatabaseLookupInput {
18
+ /**
19
+ * The given name to use for the output of the test Session.
20
+ *
21
+ * This is required; if not provided, Trinsic's Fallback UI will be invoked to collect it
22
+ * from the user.
23
+ *
24
+ * Can be any non-empty value.
25
+ * @type {string}
26
+ * @memberof TrinsicTestDatabaseLookupInput
27
+ */
28
+ givenName?: string | null;
29
+ /**
30
+ * The family name to use for the output of the test Session.
31
+ *
32
+ * This is required; if not provided, Trinsic's Fallback UI will be invoked to collect it
33
+ * from the user.
34
+ *
35
+ * Can be any non-empty value.
36
+ * @type {string}
37
+ * @memberof TrinsicTestDatabaseLookupInput
38
+ */
39
+ familyName?: string | null;
40
+ /**
41
+ * A 6-digit code; must be "123456" for the Session to succeed.
42
+ *
43
+ * This is required; if not provided, Trinsic's Fallback UI will be invoked to collect it
44
+ * from the user.
45
+ *
46
+ * Any other value will cause the Session to fail.
47
+ * @type {string}
48
+ * @memberof TrinsicTestDatabaseLookupInput
49
+ */
50
+ identityCode?: string | null;
51
+ /**
52
+ * An optional selfie image, base64-encoded.
53
+ *
54
+ * Will replace the existing test selfie attachment output if provided.
55
+ * @type {string}
56
+ * @memberof TrinsicTestDatabaseLookupInput
57
+ */
58
+ selfieBase64?: string | null;
59
+ }
60
+ /**
61
+ * Check if a given object implements the TrinsicTestDatabaseLookupInput interface.
62
+ */
63
+ export declare function instanceOfTrinsicTestDatabaseLookupInput(value: object): value is TrinsicTestDatabaseLookupInput;
64
+ export declare function TrinsicTestDatabaseLookupInputFromJSON(json: any): TrinsicTestDatabaseLookupInput;
65
+ export declare function TrinsicTestDatabaseLookupInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrinsicTestDatabaseLookupInput;
66
+ export declare function TrinsicTestDatabaseLookupInputToJSON(value?: TrinsicTestDatabaseLookupInput | null): any;
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
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
+ * Check if a given object implements the TrinsicTestDatabaseLookupInput interface.
16
+ */
17
+ export function instanceOfTrinsicTestDatabaseLookupInput(value) {
18
+ return true;
19
+ }
20
+ export function TrinsicTestDatabaseLookupInputFromJSON(json) {
21
+ return TrinsicTestDatabaseLookupInputFromJSONTyped(json, false);
22
+ }
23
+ export function TrinsicTestDatabaseLookupInputFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
29
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
30
+ 'identityCode': json['identityCode'] == null ? undefined : json['identityCode'],
31
+ 'selfieBase64': json['selfieBase64'] == null ? undefined : json['selfieBase64'],
32
+ };
33
+ }
34
+ export function TrinsicTestDatabaseLookupInputToJSON(value) {
35
+ if (value == null) {
36
+ return value;
37
+ }
38
+ return {
39
+ 'givenName': value['givenName'],
40
+ 'familyName': value['familyName'],
41
+ 'identityCode': value['identityCode'],
42
+ 'selfieBase64': value['selfieBase64'],
43
+ };
44
+ }
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Trinsic API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
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 TrinsicTestSubProvidersInput
16
+ */
17
+ export interface TrinsicTestSubProvidersInput {
18
+ /**
19
+ * The ID of the specific IDP to invoke within the test federated provider.
20
+ *
21
+ * Valid options are `sub-provider-a` and `sub-provider-b`.
22
+ *
23
+ * If not specified, the user will be prompted to select one.
24
+ * @type {string}
25
+ * @memberof TrinsicTestSubProvidersInput
26
+ */
27
+ subProviderId?: string | null;
28
+ }
29
+ /**
30
+ * Check if a given object implements the TrinsicTestSubProvidersInput interface.
31
+ */
32
+ export declare function instanceOfTrinsicTestSubProvidersInput(value: object): value is TrinsicTestSubProvidersInput;
33
+ export declare function TrinsicTestSubProvidersInputFromJSON(json: any): TrinsicTestSubProvidersInput;
34
+ export declare function TrinsicTestSubProvidersInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrinsicTestSubProvidersInput;
35
+ export declare function TrinsicTestSubProvidersInputToJSON(value?: TrinsicTestSubProvidersInput | null): any;
@@ -0,0 +1,38 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
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
+ * Check if a given object implements the TrinsicTestSubProvidersInput interface.
16
+ */
17
+ export function instanceOfTrinsicTestSubProvidersInput(value) {
18
+ return true;
19
+ }
20
+ export function TrinsicTestSubProvidersInputFromJSON(json) {
21
+ return TrinsicTestSubProvidersInputFromJSONTyped(json, false);
22
+ }
23
+ export function TrinsicTestSubProvidersInputFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'subProviderId': json['subProviderId'] == null ? undefined : json['subProviderId'],
29
+ };
30
+ }
31
+ export function TrinsicTestSubProvidersInputToJSON(value) {
32
+ if (value == null) {
33
+ return value;
34
+ }
35
+ return {
36
+ 'subProviderId': value['subProviderId'],
37
+ };
38
+ }
@@ -21,17 +21,18 @@ export * from './GetSessionResultRequest';
21
21
  export * from './GetSessionResultResponse';
22
22
  export * from './HttpValidationProblemDetails';
23
23
  export * from './IdentityData';
24
+ export * from './IdinInput';
24
25
  export * from './IndonesiaNikInput';
25
26
  export * from './IntegrationCapability';
26
27
  export * from './IntegrationLaunchMethod';
27
28
  export * from './IntegrationStep';
28
29
  export * from './KenyaNidInput';
29
- export * from './KnownAddress';
30
- export * from './KnownIdentityData';
31
- export * from './KnownPersonData';
30
+ export * from './Language';
31
+ export * from './ListProviderContractsResponse';
32
32
  export * from './ListProvidersResponse';
33
33
  export * from './ListSessionsResponse';
34
34
  export * from './MexicoCurpInput';
35
+ export * from './MobileIdInput';
35
36
  export * from './NigeriaNinInput';
36
37
  export * from './OrderDirection';
37
38
  export * from './PersonData';
@@ -39,11 +40,13 @@ export * from './PhilippineMatchInput';
39
40
  export * from './PhilippineQRInput';
40
41
  export * from './ProblemDetails';
41
42
  export * from './ProviderAttachments';
43
+ export * from './ProviderContract';
42
44
  export * from './ProviderInfo';
43
45
  export * from './ProviderInformation';
44
46
  export * from './ProviderInput';
45
47
  export * from './RecommendRequest';
46
48
  export * from './RecommendResponse';
49
+ export * from './RecommendationInfo';
47
50
  export * from './RefreshStepContentRequest';
48
51
  export * from './RefreshStepContentResponse';
49
52
  export * from './ResultCollection';
@@ -52,5 +55,10 @@ export * from './Session';
52
55
  export * from './SessionErrorCode';
53
56
  export * from './SessionOrdering';
54
57
  export * from './Sex';
58
+ export * from './SmartIdInput';
55
59
  export * from './SouthAfricaNidInput';
60
+ export * from './SpidInput';
56
61
  export * from './StepRefreshInfo';
62
+ export * from './SubProviderMetadata';
63
+ export * from './TrinsicTestDatabaseLookupInput';
64
+ export * from './TrinsicTestSubProvidersInput';
@@ -23,17 +23,18 @@ export * from './GetSessionResultRequest';
23
23
  export * from './GetSessionResultResponse';
24
24
  export * from './HttpValidationProblemDetails';
25
25
  export * from './IdentityData';
26
+ export * from './IdinInput';
26
27
  export * from './IndonesiaNikInput';
27
28
  export * from './IntegrationCapability';
28
29
  export * from './IntegrationLaunchMethod';
29
30
  export * from './IntegrationStep';
30
31
  export * from './KenyaNidInput';
31
- export * from './KnownAddress';
32
- export * from './KnownIdentityData';
33
- export * from './KnownPersonData';
32
+ export * from './Language';
33
+ export * from './ListProviderContractsResponse';
34
34
  export * from './ListProvidersResponse';
35
35
  export * from './ListSessionsResponse';
36
36
  export * from './MexicoCurpInput';
37
+ export * from './MobileIdInput';
37
38
  export * from './NigeriaNinInput';
38
39
  export * from './OrderDirection';
39
40
  export * from './PersonData';
@@ -41,11 +42,13 @@ export * from './PhilippineMatchInput';
41
42
  export * from './PhilippineQRInput';
42
43
  export * from './ProblemDetails';
43
44
  export * from './ProviderAttachments';
45
+ export * from './ProviderContract';
44
46
  export * from './ProviderInfo';
45
47
  export * from './ProviderInformation';
46
48
  export * from './ProviderInput';
47
49
  export * from './RecommendRequest';
48
50
  export * from './RecommendResponse';
51
+ export * from './RecommendationInfo';
49
52
  export * from './RefreshStepContentRequest';
50
53
  export * from './RefreshStepContentResponse';
51
54
  export * from './ResultCollection';
@@ -54,5 +57,10 @@ export * from './Session';
54
57
  export * from './SessionErrorCode';
55
58
  export * from './SessionOrdering';
56
59
  export * from './Sex';
60
+ export * from './SmartIdInput';
57
61
  export * from './SouthAfricaNidInput';
62
+ export * from './SpidInput';
58
63
  export * from './StepRefreshInfo';
64
+ export * from './SubProviderMetadata';
65
+ export * from './TrinsicTestDatabaseLookupInput';
66
+ export * from './TrinsicTestSubProvidersInput';
@@ -32,7 +32,19 @@ export interface CreateHostedProviderSessionResponse {
32
32
  * @type {string}
33
33
  * @memberof CreateHostedProviderSessionResponse
34
34
  */
35
- launchUrl?: string | null;
35
+ launchUrl: string;
36
+ /**
37
+ * The `resultsAccessKey` for the Acceptance Session.
38
+ *
39
+ * This is an encrypted payload which contains the decryption key necessary to access the Session's Data Vault.
40
+ *
41
+ * Save this securely in your systems; it must be passed back with any API call which requires access to the Session's Data Vault.
42
+ *
43
+ * Trinsic cannot access a Session's Data Vault without this key.
44
+ * @type {string}
45
+ * @memberof CreateHostedProviderSessionResponse
46
+ */
47
+ resultsAccessKey: string;
36
48
  }
37
49
  /**
38
50
  * Check if a given object implements the CreateHostedProviderSessionResponse interface.
@@ -23,6 +23,10 @@ exports.CreateHostedProviderSessionResponseToJSON = CreateHostedProviderSessionR
23
23
  function instanceOfCreateHostedProviderSessionResponse(value) {
24
24
  if (!('sessionId' in value) || value['sessionId'] === undefined)
25
25
  return false;
26
+ if (!('launchUrl' in value) || value['launchUrl'] === undefined)
27
+ return false;
28
+ if (!('resultsAccessKey' in value) || value['resultsAccessKey'] === undefined)
29
+ return false;
26
30
  return true;
27
31
  }
28
32
  function CreateHostedProviderSessionResponseFromJSON(json) {
@@ -34,7 +38,8 @@ function CreateHostedProviderSessionResponseFromJSONTyped(json, ignoreDiscrimina
34
38
  }
35
39
  return {
36
40
  'sessionId': json['sessionId'],
37
- 'launchUrl': json['launchUrl'] == null ? undefined : json['launchUrl'],
41
+ 'launchUrl': json['launchUrl'],
42
+ 'resultsAccessKey': json['resultsAccessKey'],
38
43
  };
39
44
  }
40
45
  function CreateHostedProviderSessionResponseToJSON(value) {
@@ -44,5 +49,6 @@ function CreateHostedProviderSessionResponseToJSON(value) {
44
49
  return {
45
50
  'sessionId': value['sessionId'],
46
51
  'launchUrl': value['launchUrl'],
52
+ 'resultsAccessKey': value['resultsAccessKey'],
47
53
  };
48
54
  }