@trinsic/api 2.2.0 → 2.3.0-alpha2

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 (166) hide show
  1. package/.openapi-generator/FILES +23 -0
  2. package/dist/apis/EnvironmentRedirectUrisApi.d.ts +109 -0
  3. package/dist/apis/EnvironmentRedirectUrisApi.js +145 -0
  4. package/dist/apis/VerificationProfilesApi.d.ts +117 -0
  5. package/dist/apis/VerificationProfilesApi.js +183 -0
  6. package/dist/apis/index.d.ts +2 -0
  7. package/dist/apis/index.js +2 -0
  8. package/dist/esm/apis/EnvironmentRedirectUrisApi.d.ts +109 -0
  9. package/dist/esm/apis/EnvironmentRedirectUrisApi.js +141 -0
  10. package/dist/esm/apis/VerificationProfilesApi.d.ts +117 -0
  11. package/dist/esm/apis/VerificationProfilesApi.js +179 -0
  12. package/dist/esm/apis/index.d.ts +2 -0
  13. package/dist/esm/apis/index.js +2 -0
  14. package/dist/esm/models/AddRedirectUriResponse.d.ts +32 -0
  15. package/dist/esm/models/AddRedirectUriResponse.js +43 -0
  16. package/dist/esm/models/AttachmentAccessKeys.d.ts +6 -0
  17. package/dist/esm/models/AttachmentAccessKeys.js +2 -0
  18. package/dist/esm/models/ContractField.d.ts +7 -0
  19. package/dist/esm/models/ContractField.js +4 -0
  20. package/dist/esm/models/ContractIdentifierField.d.ts +45 -0
  21. package/dist/esm/models/ContractIdentifierField.js +52 -0
  22. package/dist/esm/models/CreateVerificationProfileResponse.d.ts +32 -0
  23. package/dist/esm/models/CreateVerificationProfileResponse.js +43 -0
  24. package/dist/esm/models/EnvironmentRedirectUrisAddRequest.d.ts +32 -0
  25. package/dist/esm/models/EnvironmentRedirectUrisAddRequest.js +43 -0
  26. package/dist/esm/models/FaydaProviderOutput.d.ts +35 -0
  27. package/dist/esm/models/FaydaProviderOutput.js +41 -0
  28. package/dist/esm/models/Identifier.d.ts +44 -0
  29. package/dist/esm/models/Identifier.js +51 -0
  30. package/dist/esm/models/IdentityData.d.ts +14 -0
  31. package/dist/esm/models/IdentityData.js +8 -0
  32. package/dist/esm/models/KenyaNidBiometric2Input.d.ts +47 -0
  33. package/dist/esm/models/KenyaNidBiometric2Input.js +45 -0
  34. package/dist/esm/models/KenyaNidInput.d.ts +1 -1
  35. package/dist/esm/models/KenyaNidLookup2Input.d.ts +32 -0
  36. package/dist/esm/models/KenyaNidLookup2Input.js +41 -0
  37. package/dist/esm/models/KenyaNidMatch2Input.d.ts +63 -0
  38. package/dist/esm/models/KenyaNidMatch2Input.js +52 -0
  39. package/dist/esm/models/ListEnvironmentRedirectUrisResponse.d.ts +39 -0
  40. package/dist/esm/models/ListEnvironmentRedirectUrisResponse.js +48 -0
  41. package/dist/esm/models/ListVerificationProfilesResponse.d.ts +39 -0
  42. package/dist/esm/models/ListVerificationProfilesResponse.js +48 -0
  43. package/dist/esm/models/MexicoCurpProviderOutput.d.ts +44 -0
  44. package/dist/esm/models/MexicoCurpProviderOutput.js +41 -0
  45. package/dist/esm/models/NigeriaNinInput.d.ts +1 -1
  46. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +32 -0
  47. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.js +43 -0
  48. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +32 -0
  49. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.js +43 -0
  50. package/dist/esm/models/ProviderContract.d.ts +7 -0
  51. package/dist/esm/models/ProviderContract.js +3 -0
  52. package/dist/esm/models/ProviderInput.d.ts +28 -0
  53. package/dist/esm/models/ProviderInput.js +12 -0
  54. package/dist/esm/models/ProviderOutput.d.ts +61 -0
  55. package/dist/esm/models/ProviderOutput.js +54 -0
  56. package/dist/esm/models/RedirectUriResponse.d.ts +38 -0
  57. package/dist/esm/models/RedirectUriResponse.js +47 -0
  58. package/dist/esm/models/SexV1.d.ts +27 -0
  59. package/dist/esm/models/SexV1.js +45 -0
  60. package/dist/esm/models/SouthAfricaNidInput.d.ts +1 -1
  61. package/dist/esm/models/SouthAfricaNidLookup2Input.d.ts +32 -0
  62. package/dist/esm/models/SouthAfricaNidLookup2Input.js +41 -0
  63. package/dist/esm/models/SpidBillingInformation.d.ts +48 -0
  64. package/dist/esm/models/SpidBillingInformation.js +51 -0
  65. package/dist/esm/models/SpidInput.d.ts +11 -0
  66. package/dist/esm/models/SpidInput.js +2 -0
  67. package/dist/esm/models/SpidProviderOutput.d.ts +124 -0
  68. package/dist/esm/models/SpidProviderOutput.js +72 -0
  69. package/dist/esm/models/VerificationProfileResponse.d.ts +62 -0
  70. package/dist/esm/models/VerificationProfileResponse.js +63 -0
  71. package/dist/esm/models/index.d.ts +21 -0
  72. package/dist/esm/models/index.js +21 -0
  73. package/dist/models/AddRedirectUriResponse.d.ts +32 -0
  74. package/dist/models/AddRedirectUriResponse.js +50 -0
  75. package/dist/models/AttachmentAccessKeys.d.ts +6 -0
  76. package/dist/models/AttachmentAccessKeys.js +2 -0
  77. package/dist/models/ContractField.d.ts +7 -0
  78. package/dist/models/ContractField.js +4 -0
  79. package/dist/models/ContractIdentifierField.d.ts +45 -0
  80. package/dist/models/ContractIdentifierField.js +59 -0
  81. package/dist/models/CreateVerificationProfileResponse.d.ts +32 -0
  82. package/dist/models/CreateVerificationProfileResponse.js +50 -0
  83. package/dist/models/EnvironmentRedirectUrisAddRequest.d.ts +32 -0
  84. package/dist/models/EnvironmentRedirectUrisAddRequest.js +50 -0
  85. package/dist/models/FaydaProviderOutput.d.ts +35 -0
  86. package/dist/models/FaydaProviderOutput.js +48 -0
  87. package/dist/models/Identifier.d.ts +44 -0
  88. package/dist/models/Identifier.js +58 -0
  89. package/dist/models/IdentityData.d.ts +14 -0
  90. package/dist/models/IdentityData.js +8 -0
  91. package/dist/models/KenyaNidBiometric2Input.d.ts +47 -0
  92. package/dist/models/KenyaNidBiometric2Input.js +52 -0
  93. package/dist/models/KenyaNidInput.d.ts +1 -1
  94. package/dist/models/KenyaNidLookup2Input.d.ts +32 -0
  95. package/dist/models/KenyaNidLookup2Input.js +48 -0
  96. package/dist/models/KenyaNidMatch2Input.d.ts +63 -0
  97. package/dist/models/KenyaNidMatch2Input.js +59 -0
  98. package/dist/models/ListEnvironmentRedirectUrisResponse.d.ts +39 -0
  99. package/dist/models/ListEnvironmentRedirectUrisResponse.js +55 -0
  100. package/dist/models/ListVerificationProfilesResponse.d.ts +39 -0
  101. package/dist/models/ListVerificationProfilesResponse.js +55 -0
  102. package/dist/models/MexicoCurpProviderOutput.d.ts +44 -0
  103. package/dist/models/MexicoCurpProviderOutput.js +48 -0
  104. package/dist/models/NigeriaNinInput.d.ts +1 -1
  105. package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +32 -0
  106. package/dist/models/PhilippinesDigitalNidProviderOutput.js +50 -0
  107. package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +32 -0
  108. package/dist/models/PhilippinesPhysicalNidProviderOutput.js +50 -0
  109. package/dist/models/ProviderContract.d.ts +7 -0
  110. package/dist/models/ProviderContract.js +3 -0
  111. package/dist/models/ProviderInput.d.ts +28 -0
  112. package/dist/models/ProviderInput.js +12 -0
  113. package/dist/models/ProviderOutput.d.ts +61 -0
  114. package/dist/models/ProviderOutput.js +61 -0
  115. package/dist/models/RedirectUriResponse.d.ts +38 -0
  116. package/dist/models/RedirectUriResponse.js +54 -0
  117. package/dist/models/SexV1.d.ts +27 -0
  118. package/dist/models/SexV1.js +53 -0
  119. package/dist/models/SouthAfricaNidInput.d.ts +1 -1
  120. package/dist/models/SouthAfricaNidLookup2Input.d.ts +32 -0
  121. package/dist/models/SouthAfricaNidLookup2Input.js +48 -0
  122. package/dist/models/SpidBillingInformation.d.ts +48 -0
  123. package/dist/models/SpidBillingInformation.js +58 -0
  124. package/dist/models/SpidInput.d.ts +11 -0
  125. package/dist/models/SpidInput.js +2 -0
  126. package/dist/models/SpidProviderOutput.d.ts +124 -0
  127. package/dist/models/SpidProviderOutput.js +79 -0
  128. package/dist/models/VerificationProfileResponse.d.ts +62 -0
  129. package/dist/models/VerificationProfileResponse.js +70 -0
  130. package/dist/models/index.d.ts +21 -0
  131. package/dist/models/index.js +21 -0
  132. package/package.json +1 -1
  133. package/src/apis/EnvironmentRedirectUrisApi.ts +235 -0
  134. package/src/apis/VerificationProfilesApi.ts +294 -0
  135. package/src/apis/index.ts +2 -0
  136. package/src/models/AddRedirectUriResponse.ts +66 -0
  137. package/src/models/AttachmentAccessKeys.ts +8 -0
  138. package/src/models/ContractField.ts +10 -0
  139. package/src/models/ContractIdentifierField.ts +94 -0
  140. package/src/models/CreateVerificationProfileResponse.ts +66 -0
  141. package/src/models/EnvironmentRedirectUrisAddRequest.ts +66 -0
  142. package/src/models/FaydaProviderOutput.ts +68 -0
  143. package/src/models/Identifier.ts +84 -0
  144. package/src/models/IdentityData.ts +31 -0
  145. package/src/models/KenyaNidBiometric2Input.ts +84 -0
  146. package/src/models/KenyaNidInput.ts +1 -1
  147. package/src/models/KenyaNidLookup2Input.ts +65 -0
  148. package/src/models/KenyaNidMatch2Input.ts +115 -0
  149. package/src/models/ListEnvironmentRedirectUrisResponse.ts +83 -0
  150. package/src/models/ListVerificationProfilesResponse.ts +83 -0
  151. package/src/models/MexicoCurpProviderOutput.ts +77 -0
  152. package/src/models/NigeriaNinInput.ts +1 -1
  153. package/src/models/PhilippinesDigitalNidProviderOutput.ts +66 -0
  154. package/src/models/PhilippinesPhysicalNidProviderOutput.ts +66 -0
  155. package/src/models/ProviderContract.ts +15 -0
  156. package/src/models/ProviderInput.ts +60 -0
  157. package/src/models/ProviderOutput.ts +133 -0
  158. package/src/models/RedirectUriResponse.ts +75 -0
  159. package/src/models/SexV1.ts +55 -0
  160. package/src/models/SouthAfricaNidInput.ts +1 -1
  161. package/src/models/SouthAfricaNidLookup2Input.ts +65 -0
  162. package/src/models/SpidBillingInformation.ts +88 -0
  163. package/src/models/SpidInput.ts +13 -0
  164. package/src/models/SpidProviderOutput.ts +192 -0
  165. package/src/models/VerificationProfileResponse.ts +111 -0
  166. package/src/models/index.ts +21 -0
@@ -0,0 +1,124 @@
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
+ import type { SpidBillingInformation } from './SpidBillingInformation';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SpidProviderOutput
17
+ */
18
+ export interface SpidProviderOutput {
19
+ /**
20
+ * Information about the billable status of this SPID Verification.
21
+ *
22
+ * Present only if your account has period-based billing enabled for SPID. Contact Trinsic to enable this.
23
+ * @type {SpidBillingInformation}
24
+ * @memberof SpidProviderOutput
25
+ */
26
+ billingInformation?: SpidBillingInformation | null;
27
+ /**
28
+ * The SPID Entity ID of the Identity Provider which issued the SPID identity.
29
+ *
30
+ * This is an HTTPS URI which uniquely identifies the IdP within the SPID federation.
31
+ *
32
+ * A normalized / simplified representation of this value is present in the `originatingSubProviderId` field in Trinsic's normalized data model.
33
+ * @type {string}
34
+ * @memberof SpidProviderOutput
35
+ */
36
+ identityProviderEntityId: string;
37
+ /**
38
+ * The identifier of the user's SPID credential.
39
+ *
40
+ * This uniquely identifies the credential within the SPID federation.
41
+ * @type {string}
42
+ * @memberof SpidProviderOutput
43
+ */
44
+ spidCode: string;
45
+ /**
46
+ * Expiration date of the user's SPID credential.
47
+ *
48
+ * This is not the same as the expiration date of the underlying identity document (such as a passport) which was
49
+ * used to create the SPID identity.
50
+ * @type {Date}
51
+ * @memberof SpidProviderOutput
52
+ */
53
+ spidCredentialExpirationDate?: Date | null;
54
+ /**
55
+ * The user's place of birth.
56
+ * @type {string}
57
+ * @memberof SpidProviderOutput
58
+ */
59
+ placeOfBirth?: string | null;
60
+ /**
61
+ * The user's county of birth.
62
+ * @type {string}
63
+ * @memberof SpidProviderOutput
64
+ */
65
+ countyOfBirth?: string | null;
66
+ /**
67
+ * The raw, space-separated string value for the "IdCard" field from the SPID identity.
68
+ *
69
+ * Trinsic additionally parses this field and uses it to populate the `Document` object in the normalized data model.
70
+ * @type {string}
71
+ * @memberof SpidProviderOutput
72
+ */
73
+ rawIdCard?: string | null;
74
+ /**
75
+ * The email address of the user.
76
+ * @type {string}
77
+ * @memberof SpidProviderOutput
78
+ */
79
+ email?: string | null;
80
+ /**
81
+ * The digital address of the user.
82
+ * @type {string}
83
+ * @memberof SpidProviderOutput
84
+ */
85
+ digitalAddress?: string | null;
86
+ /**
87
+ * Fiscal tax number for the subject.
88
+ * @type {string}
89
+ * @memberof SpidProviderOutput
90
+ */
91
+ fiscalNumber?: string | null;
92
+ /**
93
+ * VAT number for the subject.
94
+ * @type {string}
95
+ * @memberof SpidProviderOutput
96
+ */
97
+ ivaCode?: string | null;
98
+ /**
99
+ * The name of the company which the user is associated with.
100
+ * @type {string}
101
+ * @memberof SpidProviderOutput
102
+ */
103
+ companyName?: string | null;
104
+ /**
105
+ * The fiscal tax number of the company which the user is associated with.
106
+ * @type {string}
107
+ * @memberof SpidProviderOutput
108
+ */
109
+ companyFiscalNumber?: string | null;
110
+ /**
111
+ * The registered office address of the company which the user is associated with.
112
+ * @type {string}
113
+ * @memberof SpidProviderOutput
114
+ */
115
+ registeredOffice?: string | null;
116
+ }
117
+ /**
118
+ * Check if a given object implements the SpidProviderOutput interface.
119
+ */
120
+ export declare function instanceOfSpidProviderOutput(value: object): value is SpidProviderOutput;
121
+ export declare function SpidProviderOutputFromJSON(json: any): SpidProviderOutput;
122
+ export declare function SpidProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpidProviderOutput;
123
+ export declare function SpidProviderOutputToJSON(json: any): SpidProviderOutput;
124
+ export declare function SpidProviderOutputToJSONTyped(value?: SpidProviderOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,72 @@
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
+ import { SpidBillingInformationFromJSON, SpidBillingInformationToJSON, } from './SpidBillingInformation';
15
+ /**
16
+ * Check if a given object implements the SpidProviderOutput interface.
17
+ */
18
+ export function instanceOfSpidProviderOutput(value) {
19
+ if (!('identityProviderEntityId' in value) || value['identityProviderEntityId'] === undefined)
20
+ return false;
21
+ if (!('spidCode' in value) || value['spidCode'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ export function SpidProviderOutputFromJSON(json) {
26
+ return SpidProviderOutputFromJSONTyped(json, false);
27
+ }
28
+ export function SpidProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'billingInformation': json['billingInformation'] == null ? undefined : SpidBillingInformationFromJSON(json['billingInformation']),
34
+ 'identityProviderEntityId': json['identityProviderEntityId'],
35
+ 'spidCode': json['spidCode'],
36
+ 'spidCredentialExpirationDate': json['spidCredentialExpirationDate'] == null ? undefined : (new Date(json['spidCredentialExpirationDate'])),
37
+ 'placeOfBirth': json['placeOfBirth'] == null ? undefined : json['placeOfBirth'],
38
+ 'countyOfBirth': json['countyOfBirth'] == null ? undefined : json['countyOfBirth'],
39
+ 'rawIdCard': json['rawIdCard'] == null ? undefined : json['rawIdCard'],
40
+ 'email': json['email'] == null ? undefined : json['email'],
41
+ 'digitalAddress': json['digitalAddress'] == null ? undefined : json['digitalAddress'],
42
+ 'fiscalNumber': json['fiscalNumber'] == null ? undefined : json['fiscalNumber'],
43
+ 'ivaCode': json['ivaCode'] == null ? undefined : json['ivaCode'],
44
+ 'companyName': json['companyName'] == null ? undefined : json['companyName'],
45
+ 'companyFiscalNumber': json['companyFiscalNumber'] == null ? undefined : json['companyFiscalNumber'],
46
+ 'registeredOffice': json['registeredOffice'] == null ? undefined : json['registeredOffice'],
47
+ };
48
+ }
49
+ export function SpidProviderOutputToJSON(json) {
50
+ return SpidProviderOutputToJSONTyped(json, false);
51
+ }
52
+ export function SpidProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'billingInformation': SpidBillingInformationToJSON(value['billingInformation']),
58
+ 'identityProviderEntityId': value['identityProviderEntityId'],
59
+ 'spidCode': value['spidCode'],
60
+ 'spidCredentialExpirationDate': value['spidCredentialExpirationDate'] == null ? undefined : (value['spidCredentialExpirationDate'].toISOString().substring(0, 10)),
61
+ 'placeOfBirth': value['placeOfBirth'],
62
+ 'countyOfBirth': value['countyOfBirth'],
63
+ 'rawIdCard': value['rawIdCard'],
64
+ 'email': value['email'],
65
+ 'digitalAddress': value['digitalAddress'],
66
+ 'fiscalNumber': value['fiscalNumber'],
67
+ 'ivaCode': value['ivaCode'],
68
+ 'companyName': value['companyName'],
69
+ 'companyFiscalNumber': value['companyFiscalNumber'],
70
+ 'registeredOffice': value['registeredOffice'],
71
+ };
72
+ }
@@ -0,0 +1,62 @@
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 VerificationProfileResponse
16
+ */
17
+ export interface VerificationProfileResponse {
18
+ /**
19
+ * The ID of the verification profile
20
+ * @type {string}
21
+ * @memberof VerificationProfileResponse
22
+ */
23
+ id: string;
24
+ /**
25
+ * An alias of the verification profile shown to developers and administrators.
26
+ * @type {string}
27
+ * @memberof VerificationProfileResponse
28
+ */
29
+ alias: string;
30
+ /**
31
+ * The brand name of the verification profile shown to end-users.
32
+ * @type {string}
33
+ * @memberof VerificationProfileResponse
34
+ */
35
+ brandName: string;
36
+ /**
37
+ * The URL of the verification profile's logo.
38
+ * @type {string}
39
+ * @memberof VerificationProfileResponse
40
+ */
41
+ logoUrl: string;
42
+ /**
43
+ * The primary color of the verification profile.
44
+ * @type {string}
45
+ * @memberof VerificationProfileResponse
46
+ */
47
+ primaryColor: string;
48
+ /**
49
+ * The providers that are currently enabled for the verification profile.
50
+ * @type {Array<string>}
51
+ * @memberof VerificationProfileResponse
52
+ */
53
+ enabledProviders: Array<string>;
54
+ }
55
+ /**
56
+ * Check if a given object implements the VerificationProfileResponse interface.
57
+ */
58
+ export declare function instanceOfVerificationProfileResponse(value: object): value is VerificationProfileResponse;
59
+ export declare function VerificationProfileResponseFromJSON(json: any): VerificationProfileResponse;
60
+ export declare function VerificationProfileResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerificationProfileResponse;
61
+ export declare function VerificationProfileResponseToJSON(json: any): VerificationProfileResponse;
62
+ export declare function VerificationProfileResponseToJSONTyped(value?: VerificationProfileResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
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 VerificationProfileResponse interface.
16
+ */
17
+ export function instanceOfVerificationProfileResponse(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('alias' in value) || value['alias'] === undefined)
21
+ return false;
22
+ if (!('brandName' in value) || value['brandName'] === undefined)
23
+ return false;
24
+ if (!('logoUrl' in value) || value['logoUrl'] === undefined)
25
+ return false;
26
+ if (!('primaryColor' in value) || value['primaryColor'] === undefined)
27
+ return false;
28
+ if (!('enabledProviders' in value) || value['enabledProviders'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ export function VerificationProfileResponseFromJSON(json) {
33
+ return VerificationProfileResponseFromJSONTyped(json, false);
34
+ }
35
+ export function VerificationProfileResponseFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'id': json['id'],
41
+ 'alias': json['alias'],
42
+ 'brandName': json['brandName'],
43
+ 'logoUrl': json['logoUrl'],
44
+ 'primaryColor': json['primaryColor'],
45
+ 'enabledProviders': json['enabledProviders'],
46
+ };
47
+ }
48
+ export function VerificationProfileResponseToJSON(json) {
49
+ return VerificationProfileResponseToJSONTyped(json, false);
50
+ }
51
+ export function VerificationProfileResponseToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'id': value['id'],
57
+ 'alias': value['alias'],
58
+ 'brandName': value['brandName'],
59
+ 'logoUrl': value['logoUrl'],
60
+ 'primaryColor': value['primaryColor'],
61
+ 'enabledProviders': value['enabledProviders'],
62
+ };
63
+ }
@@ -1,4 +1,5 @@
1
1
  export * from './AadhaarInput';
2
+ export * from './AddRedirectUriResponse';
2
3
  export * from './Address';
3
4
  export * from './AppleWalletInput';
4
5
  export * from './AttachmentAccessKeys';
@@ -7,18 +8,22 @@ export * from './BrazilCpfCheckInput';
7
8
  export * from './BrazilDigitalCnhInput';
8
9
  export * from './CancelSessionResponse';
9
10
  export * from './ContractField';
11
+ export * from './ContractIdentifierField';
10
12
  export * from './CreateDirectProviderSessionRequest';
11
13
  export * from './CreateDirectProviderSessionResponse';
12
14
  export * from './CreateHostedProviderSessionRequest';
13
15
  export * from './CreateHostedProviderSessionResponse';
14
16
  export * from './CreateMdlExchangeRequest';
15
17
  export * from './CreateMdlExchangeResponse';
18
+ export * from './CreateVerificationProfileResponse';
16
19
  export * from './CreateWidgetSessionRequest';
17
20
  export * from './CreateWidgetSessionResponse';
18
21
  export * from './DocumentData';
19
22
  export * from './DocumentScanAttachments';
20
23
  export * from './DocumentType';
24
+ export * from './EnvironmentRedirectUrisAddRequest';
21
25
  export * from './ExternalMdlFieldData';
26
+ export * from './FaydaProviderOutput';
22
27
  export * from './FieldAvailability';
23
28
  export * from './FinalizeMdlExchangeRequest';
24
29
  export * from './FinalizeMdlExchangeResponse';
@@ -29,6 +34,7 @@ export * from './GetSessionResultRequest';
29
34
  export * from './GetSessionResultResponse';
30
35
  export * from './GoogleWalletInput';
31
36
  export * from './HttpValidationProblemDetails';
37
+ export * from './Identifier';
32
38
  export * from './IdentityData';
33
39
  export * from './IdinInput';
34
40
  export * from './IndonesiaDukcapilMatchInput';
@@ -36,11 +42,16 @@ export * from './IndonesiaNikInput';
36
42
  export * from './IntegrationCapability';
37
43
  export * from './IntegrationLaunchMethod';
38
44
  export * from './IntegrationStep';
45
+ export * from './KenyaNidBiometric2Input';
39
46
  export * from './KenyaNidInput';
47
+ export * from './KenyaNidLookup2Input';
48
+ export * from './KenyaNidMatch2Input';
40
49
  export * from './Language';
50
+ export * from './ListEnvironmentRedirectUrisResponse';
41
51
  export * from './ListProviderContractsResponse';
42
52
  export * from './ListProvidersResponse';
43
53
  export * from './ListSessionsResponse';
54
+ export * from './ListVerificationProfilesResponse';
44
55
  export * from './Match';
45
56
  export * from './MatchData';
46
57
  export * from './MdlCertificateData';
@@ -48,12 +59,15 @@ export * from './MdlExchangeMechanism';
48
59
  export * from './MdlFieldDataType';
49
60
  export * from './MdlIdentityData';
50
61
  export * from './MexicoCurpInput';
62
+ export * from './MexicoCurpProviderOutput';
51
63
  export * from './MobileIdInput';
52
64
  export * from './NigeriaNinInput';
53
65
  export * from './OrderDirection';
54
66
  export * from './PersonData';
55
67
  export * from './PhilippineMatchInput';
56
68
  export * from './PhilippineQRInput';
69
+ export * from './PhilippinesDigitalNidProviderOutput';
70
+ export * from './PhilippinesPhysicalNidProviderOutput';
57
71
  export * from './ProblemDetails';
58
72
  export * from './ProviderAttachments';
59
73
  export * from './ProviderContract';
@@ -61,9 +75,11 @@ export * from './ProviderHealth';
61
75
  export * from './ProviderInfo';
62
76
  export * from './ProviderInformation';
63
77
  export * from './ProviderInput';
78
+ export * from './ProviderOutput';
64
79
  export * from './RecommendRequest';
65
80
  export * from './RecommendResponse';
66
81
  export * from './RecommendationInfo';
82
+ export * from './RedirectUriResponse';
67
83
  export * from './RefreshStepContentRequest';
68
84
  export * from './RefreshStepContentResponse';
69
85
  export * from './ResultCollection';
@@ -72,12 +88,17 @@ export * from './Session';
72
88
  export * from './SessionErrorCode';
73
89
  export * from './SessionOrdering';
74
90
  export * from './Sex';
91
+ export * from './SexV1';
75
92
  export * from './SmartIdInput';
76
93
  export * from './SouthAfricaNidInput';
94
+ export * from './SouthAfricaNidLookup2Input';
95
+ export * from './SpidBillingInformation';
77
96
  export * from './SpidInput';
97
+ export * from './SpidProviderOutput';
78
98
  export * from './StepRefreshInfo';
79
99
  export * from './SubProviderMetadata';
80
100
  export * from './SubmitNativeChallengeResponseRequest';
81
101
  export * from './SubmitNativeChallengeResponseResponse';
82
102
  export * from './TrinsicTestDatabaseLookupInput';
83
103
  export * from './TrinsicTestSubProvidersInput';
104
+ export * from './VerificationProfileResponse';
@@ -1,6 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export * from './AadhaarInput';
4
+ export * from './AddRedirectUriResponse';
4
5
  export * from './Address';
5
6
  export * from './AppleWalletInput';
6
7
  export * from './AttachmentAccessKeys';
@@ -9,18 +10,22 @@ export * from './BrazilCpfCheckInput';
9
10
  export * from './BrazilDigitalCnhInput';
10
11
  export * from './CancelSessionResponse';
11
12
  export * from './ContractField';
13
+ export * from './ContractIdentifierField';
12
14
  export * from './CreateDirectProviderSessionRequest';
13
15
  export * from './CreateDirectProviderSessionResponse';
14
16
  export * from './CreateHostedProviderSessionRequest';
15
17
  export * from './CreateHostedProviderSessionResponse';
16
18
  export * from './CreateMdlExchangeRequest';
17
19
  export * from './CreateMdlExchangeResponse';
20
+ export * from './CreateVerificationProfileResponse';
18
21
  export * from './CreateWidgetSessionRequest';
19
22
  export * from './CreateWidgetSessionResponse';
20
23
  export * from './DocumentData';
21
24
  export * from './DocumentScanAttachments';
22
25
  export * from './DocumentType';
26
+ export * from './EnvironmentRedirectUrisAddRequest';
23
27
  export * from './ExternalMdlFieldData';
28
+ export * from './FaydaProviderOutput';
24
29
  export * from './FieldAvailability';
25
30
  export * from './FinalizeMdlExchangeRequest';
26
31
  export * from './FinalizeMdlExchangeResponse';
@@ -31,6 +36,7 @@ export * from './GetSessionResultRequest';
31
36
  export * from './GetSessionResultResponse';
32
37
  export * from './GoogleWalletInput';
33
38
  export * from './HttpValidationProblemDetails';
39
+ export * from './Identifier';
34
40
  export * from './IdentityData';
35
41
  export * from './IdinInput';
36
42
  export * from './IndonesiaDukcapilMatchInput';
@@ -38,11 +44,16 @@ export * from './IndonesiaNikInput';
38
44
  export * from './IntegrationCapability';
39
45
  export * from './IntegrationLaunchMethod';
40
46
  export * from './IntegrationStep';
47
+ export * from './KenyaNidBiometric2Input';
41
48
  export * from './KenyaNidInput';
49
+ export * from './KenyaNidLookup2Input';
50
+ export * from './KenyaNidMatch2Input';
42
51
  export * from './Language';
52
+ export * from './ListEnvironmentRedirectUrisResponse';
43
53
  export * from './ListProviderContractsResponse';
44
54
  export * from './ListProvidersResponse';
45
55
  export * from './ListSessionsResponse';
56
+ export * from './ListVerificationProfilesResponse';
46
57
  export * from './Match';
47
58
  export * from './MatchData';
48
59
  export * from './MdlCertificateData';
@@ -50,12 +61,15 @@ export * from './MdlExchangeMechanism';
50
61
  export * from './MdlFieldDataType';
51
62
  export * from './MdlIdentityData';
52
63
  export * from './MexicoCurpInput';
64
+ export * from './MexicoCurpProviderOutput';
53
65
  export * from './MobileIdInput';
54
66
  export * from './NigeriaNinInput';
55
67
  export * from './OrderDirection';
56
68
  export * from './PersonData';
57
69
  export * from './PhilippineMatchInput';
58
70
  export * from './PhilippineQRInput';
71
+ export * from './PhilippinesDigitalNidProviderOutput';
72
+ export * from './PhilippinesPhysicalNidProviderOutput';
59
73
  export * from './ProblemDetails';
60
74
  export * from './ProviderAttachments';
61
75
  export * from './ProviderContract';
@@ -63,9 +77,11 @@ export * from './ProviderHealth';
63
77
  export * from './ProviderInfo';
64
78
  export * from './ProviderInformation';
65
79
  export * from './ProviderInput';
80
+ export * from './ProviderOutput';
66
81
  export * from './RecommendRequest';
67
82
  export * from './RecommendResponse';
68
83
  export * from './RecommendationInfo';
84
+ export * from './RedirectUriResponse';
69
85
  export * from './RefreshStepContentRequest';
70
86
  export * from './RefreshStepContentResponse';
71
87
  export * from './ResultCollection';
@@ -74,12 +90,17 @@ export * from './Session';
74
90
  export * from './SessionErrorCode';
75
91
  export * from './SessionOrdering';
76
92
  export * from './Sex';
93
+ export * from './SexV1';
77
94
  export * from './SmartIdInput';
78
95
  export * from './SouthAfricaNidInput';
96
+ export * from './SouthAfricaNidLookup2Input';
97
+ export * from './SpidBillingInformation';
79
98
  export * from './SpidInput';
99
+ export * from './SpidProviderOutput';
80
100
  export * from './StepRefreshInfo';
81
101
  export * from './SubProviderMetadata';
82
102
  export * from './SubmitNativeChallengeResponseRequest';
83
103
  export * from './SubmitNativeChallengeResponseResponse';
84
104
  export * from './TrinsicTestDatabaseLookupInput';
85
105
  export * from './TrinsicTestSubProvidersInput';
106
+ export * from './VerificationProfileResponse';
@@ -0,0 +1,32 @@
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 AddRedirectUriResponse
16
+ */
17
+ export interface AddRedirectUriResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AddRedirectUriResponse
22
+ */
23
+ id: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the AddRedirectUriResponse interface.
27
+ */
28
+ export declare function instanceOfAddRedirectUriResponse(value: object): value is AddRedirectUriResponse;
29
+ export declare function AddRedirectUriResponseFromJSON(json: any): AddRedirectUriResponse;
30
+ export declare function AddRedirectUriResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddRedirectUriResponse;
31
+ export declare function AddRedirectUriResponseToJSON(json: any): AddRedirectUriResponse;
32
+ export declare function AddRedirectUriResponseToJSONTyped(value?: AddRedirectUriResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Trinsic API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfAddRedirectUriResponse = instanceOfAddRedirectUriResponse;
17
+ exports.AddRedirectUriResponseFromJSON = AddRedirectUriResponseFromJSON;
18
+ exports.AddRedirectUriResponseFromJSONTyped = AddRedirectUriResponseFromJSONTyped;
19
+ exports.AddRedirectUriResponseToJSON = AddRedirectUriResponseToJSON;
20
+ exports.AddRedirectUriResponseToJSONTyped = AddRedirectUriResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AddRedirectUriResponse interface.
23
+ */
24
+ function instanceOfAddRedirectUriResponse(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function AddRedirectUriResponseFromJSON(json) {
30
+ return AddRedirectUriResponseFromJSONTyped(json, false);
31
+ }
32
+ function AddRedirectUriResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'id': json['id'],
38
+ };
39
+ }
40
+ function AddRedirectUriResponseToJSON(json) {
41
+ return AddRedirectUriResponseToJSONTyped(json, false);
42
+ }
43
+ function AddRedirectUriResponseToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'id': value['id'],
49
+ };
50
+ }
@@ -40,6 +40,12 @@ export interface AttachmentAccessKeys {
40
40
  * @memberof AttachmentAccessKeys
41
41
  */
42
42
  documentPortrait?: string | null;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof AttachmentAccessKeys
47
+ */
48
+ documentSignature?: string | null;
43
49
  /**
44
50
  *
45
51
  * @type {ProviderAttachments}
@@ -39,6 +39,7 @@ function AttachmentAccessKeysFromJSONTyped(json, ignoreDiscriminator) {
39
39
  'documentFront': json['documentFront'] == null ? undefined : json['documentFront'],
40
40
  'documentBack': json['documentBack'] == null ? undefined : json['documentBack'],
41
41
  'documentPortrait': json['documentPortrait'] == null ? undefined : json['documentPortrait'],
42
+ 'documentSignature': json['documentSignature'] == null ? undefined : json['documentSignature'],
42
43
  'provider': (0, ProviderAttachments_1.ProviderAttachmentsFromJSON)(json['provider']),
43
44
  };
44
45
  }
@@ -54,6 +55,7 @@ function AttachmentAccessKeysToJSONTyped(value, ignoreDiscriminator = false) {
54
55
  'documentFront': value['documentFront'],
55
56
  'documentBack': value['documentBack'],
56
57
  'documentPortrait': value['documentPortrait'],
58
+ 'documentSignature': value['documentSignature'],
57
59
  'provider': (0, ProviderAttachments_1.ProviderAttachmentsToJSON)(value['provider']),
58
60
  };
59
61
  }
@@ -20,8 +20,15 @@ export interface ContractField {
20
20
  * The name of the field as it appears in verification results.
21
21
  * @type {string}
22
22
  * @memberof ContractField
23
+ * @deprecated
23
24
  */
24
25
  name: string;
26
+ /**
27
+ * The scope of the field as it appears in verification results.
28
+ * @type {string}
29
+ * @memberof ContractField
30
+ */
31
+ scope: string;
25
32
  /**
26
33
  * Indicates when this field will be present in verification results.
27
34
  * @type {FieldAvailability}
@@ -25,6 +25,8 @@ const FieldAvailability_1 = require("./FieldAvailability");
25
25
  function instanceOfContractField(value) {
26
26
  if (!('name' in value) || value['name'] === undefined)
27
27
  return false;
28
+ if (!('scope' in value) || value['scope'] === undefined)
29
+ return false;
28
30
  if (!('outputted' in value) || value['outputted'] === undefined)
29
31
  return false;
30
32
  return true;
@@ -38,6 +40,7 @@ function ContractFieldFromJSONTyped(json, ignoreDiscriminator) {
38
40
  }
39
41
  return {
40
42
  'name': json['name'],
43
+ 'scope': json['scope'],
41
44
  'outputted': (0, FieldAvailability_1.FieldAvailabilityFromJSON)(json['outputted']),
42
45
  };
43
46
  }
@@ -50,6 +53,7 @@ function ContractFieldToJSONTyped(value, ignoreDiscriminator = false) {
50
53
  }
51
54
  return {
52
55
  'name': value['name'],
56
+ 'scope': value['scope'],
53
57
  'outputted': (0, FieldAvailability_1.FieldAvailabilityToJSON)(value['outputted']),
54
58
  };
55
59
  }