@trinsic/api 2.3.0-alpha1 → 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 (71) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/dist/esm/models/AttachmentAccessKeys.d.ts +6 -0
  3. package/dist/esm/models/AttachmentAccessKeys.js +2 -0
  4. package/dist/esm/models/KenyaNidBiometric2Input.d.ts +47 -0
  5. package/dist/esm/models/KenyaNidBiometric2Input.js +45 -0
  6. package/dist/esm/models/KenyaNidInput.d.ts +1 -1
  7. package/dist/esm/models/KenyaNidLookup2Input.d.ts +32 -0
  8. package/dist/esm/models/KenyaNidLookup2Input.js +41 -0
  9. package/dist/esm/models/KenyaNidMatch2Input.d.ts +63 -0
  10. package/dist/esm/models/KenyaNidMatch2Input.js +52 -0
  11. package/dist/esm/models/NigeriaNinInput.d.ts +1 -1
  12. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +32 -0
  13. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.js +43 -0
  14. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +32 -0
  15. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.js +43 -0
  16. package/dist/esm/models/ProviderInput.d.ts +28 -0
  17. package/dist/esm/models/ProviderInput.js +12 -0
  18. package/dist/esm/models/ProviderOutput.d.ts +14 -0
  19. package/dist/esm/models/ProviderOutput.js +6 -0
  20. package/dist/esm/models/SexV1.d.ts +27 -0
  21. package/dist/esm/models/SexV1.js +45 -0
  22. package/dist/esm/models/SouthAfricaNidInput.d.ts +1 -1
  23. package/dist/esm/models/SouthAfricaNidLookup2Input.d.ts +32 -0
  24. package/dist/esm/models/SouthAfricaNidLookup2Input.js +41 -0
  25. package/dist/esm/models/SpidProviderOutput.d.ts +72 -10
  26. package/dist/esm/models/SpidProviderOutput.js +26 -4
  27. package/dist/esm/models/index.d.ts +7 -0
  28. package/dist/esm/models/index.js +7 -0
  29. package/dist/models/AttachmentAccessKeys.d.ts +6 -0
  30. package/dist/models/AttachmentAccessKeys.js +2 -0
  31. package/dist/models/KenyaNidBiometric2Input.d.ts +47 -0
  32. package/dist/models/KenyaNidBiometric2Input.js +52 -0
  33. package/dist/models/KenyaNidInput.d.ts +1 -1
  34. package/dist/models/KenyaNidLookup2Input.d.ts +32 -0
  35. package/dist/models/KenyaNidLookup2Input.js +48 -0
  36. package/dist/models/KenyaNidMatch2Input.d.ts +63 -0
  37. package/dist/models/KenyaNidMatch2Input.js +59 -0
  38. package/dist/models/NigeriaNinInput.d.ts +1 -1
  39. package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +32 -0
  40. package/dist/models/PhilippinesDigitalNidProviderOutput.js +50 -0
  41. package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +32 -0
  42. package/dist/models/PhilippinesPhysicalNidProviderOutput.js +50 -0
  43. package/dist/models/ProviderInput.d.ts +28 -0
  44. package/dist/models/ProviderInput.js +12 -0
  45. package/dist/models/ProviderOutput.d.ts +14 -0
  46. package/dist/models/ProviderOutput.js +6 -0
  47. package/dist/models/SexV1.d.ts +27 -0
  48. package/dist/models/SexV1.js +53 -0
  49. package/dist/models/SouthAfricaNidInput.d.ts +1 -1
  50. package/dist/models/SouthAfricaNidLookup2Input.d.ts +32 -0
  51. package/dist/models/SouthAfricaNidLookup2Input.js +48 -0
  52. package/dist/models/SpidProviderOutput.d.ts +72 -10
  53. package/dist/models/SpidProviderOutput.js +26 -4
  54. package/dist/models/index.d.ts +7 -0
  55. package/dist/models/index.js +7 -0
  56. package/package.json +1 -1
  57. package/src/models/AttachmentAccessKeys.ts +8 -0
  58. package/src/models/KenyaNidBiometric2Input.ts +84 -0
  59. package/src/models/KenyaNidInput.ts +1 -1
  60. package/src/models/KenyaNidLookup2Input.ts +65 -0
  61. package/src/models/KenyaNidMatch2Input.ts +115 -0
  62. package/src/models/NigeriaNinInput.ts +1 -1
  63. package/src/models/PhilippinesDigitalNidProviderOutput.ts +66 -0
  64. package/src/models/PhilippinesPhysicalNidProviderOutput.ts +66 -0
  65. package/src/models/ProviderInput.ts +60 -0
  66. package/src/models/ProviderOutput.ts +30 -0
  67. package/src/models/SexV1.ts +55 -0
  68. package/src/models/SouthAfricaNidInput.ts +1 -1
  69. package/src/models/SouthAfricaNidLookup2Input.ts +65 -0
  70. package/src/models/SpidProviderOutput.ts +96 -14
  71. package/src/models/index.ts +7 -0
@@ -13,6 +13,8 @@
13
13
  */
14
14
  import { FaydaProviderOutputFromJSON, FaydaProviderOutputToJSON, } from './FaydaProviderOutput';
15
15
  import { MexicoCurpProviderOutputFromJSON, MexicoCurpProviderOutputToJSON, } from './MexicoCurpProviderOutput';
16
+ import { PhilippinesPhysicalNidProviderOutputFromJSON, PhilippinesPhysicalNidProviderOutputToJSON, } from './PhilippinesPhysicalNidProviderOutput';
17
+ import { PhilippinesDigitalNidProviderOutputFromJSON, PhilippinesDigitalNidProviderOutputToJSON, } from './PhilippinesDigitalNidProviderOutput';
16
18
  import { SpidProviderOutputFromJSON, SpidProviderOutputToJSON, } from './SpidProviderOutput';
17
19
  /**
18
20
  * Check if a given object implements the ProviderOutput interface.
@@ -31,6 +33,8 @@ export function ProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
31
33
  'italySpid': json['italy-spid'] == null ? undefined : SpidProviderOutputFromJSON(json['italy-spid']),
32
34
  'mexicoCurpLookup': json['mexico-curp-lookup'] == null ? undefined : MexicoCurpProviderOutputFromJSON(json['mexico-curp-lookup']),
33
35
  'ethiopiaFayda': json['ethiopia-fayda'] == null ? undefined : FaydaProviderOutputFromJSON(json['ethiopia-fayda']),
36
+ 'philippinesPhysicalNationalIdQr': json['philippines-physical-national-id-qr'] == null ? undefined : PhilippinesPhysicalNidProviderOutputFromJSON(json['philippines-physical-national-id-qr']),
37
+ 'philippinesDigitalNationalIdQr': json['philippines-digital-national-id-qr'] == null ? undefined : PhilippinesDigitalNidProviderOutputFromJSON(json['philippines-digital-national-id-qr']),
34
38
  };
35
39
  }
36
40
  export function ProviderOutputToJSON(json) {
@@ -44,5 +48,7 @@ export function ProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
44
48
  'italy-spid': SpidProviderOutputToJSON(value['italySpid']),
45
49
  'mexico-curp-lookup': MexicoCurpProviderOutputToJSON(value['mexicoCurpLookup']),
46
50
  'ethiopia-fayda': FaydaProviderOutputToJSON(value['ethiopiaFayda']),
51
+ 'philippines-physical-national-id-qr': PhilippinesPhysicalNidProviderOutputToJSON(value['philippinesPhysicalNationalIdQr']),
52
+ 'philippines-digital-national-id-qr': PhilippinesDigitalNidProviderOutputToJSON(value['philippinesDigitalNationalIdQr']),
47
53
  };
48
54
  }
@@ -0,0 +1,27 @@
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
+ */
16
+ export declare const SexV1: {
17
+ readonly Unknown: "Unknown";
18
+ readonly NotApplicable: "NotApplicable";
19
+ readonly Male: "Male";
20
+ readonly Female: "Female";
21
+ };
22
+ export type SexV1 = typeof SexV1[keyof typeof SexV1];
23
+ export declare function instanceOfSexV1(value: any): boolean;
24
+ export declare function SexV1FromJSON(json: any): SexV1;
25
+ export declare function SexV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): SexV1;
26
+ export declare function SexV1ToJSON(value?: SexV1 | null): any;
27
+ export declare function SexV1ToJSONTyped(value: any, ignoreDiscriminator: boolean): SexV1;
@@ -0,0 +1,45 @@
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
+ *
16
+ * @export
17
+ */
18
+ export const SexV1 = {
19
+ Unknown: 'Unknown',
20
+ NotApplicable: 'NotApplicable',
21
+ Male: 'Male',
22
+ Female: 'Female'
23
+ };
24
+ export function instanceOfSexV1(value) {
25
+ for (const key in SexV1) {
26
+ if (Object.prototype.hasOwnProperty.call(SexV1, key)) {
27
+ if (SexV1[key] === value) {
28
+ return true;
29
+ }
30
+ }
31
+ }
32
+ return false;
33
+ }
34
+ export function SexV1FromJSON(json) {
35
+ return SexV1FromJSONTyped(json, false);
36
+ }
37
+ export function SexV1FromJSONTyped(json, ignoreDiscriminator) {
38
+ return json;
39
+ }
40
+ export function SexV1ToJSON(value) {
41
+ return value;
42
+ }
43
+ export function SexV1ToJSONTyped(value, ignoreDiscriminator) {
44
+ return value;
45
+ }
@@ -34,7 +34,7 @@ export interface SouthAfricaNidInput {
34
34
  */
35
35
  gender: string;
36
36
  /**
37
- * The user's South African National ID number
37
+ * The user's National ID number
38
38
  * @type {string}
39
39
  * @memberof SouthAfricaNidInput
40
40
  */
@@ -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 SouthAfricaNidLookup2Input
16
+ */
17
+ export interface SouthAfricaNidLookup2Input {
18
+ /**
19
+ * The user's National ID number
20
+ * @type {string}
21
+ * @memberof SouthAfricaNidLookup2Input
22
+ */
23
+ idNumber?: string | null;
24
+ }
25
+ /**
26
+ * Check if a given object implements the SouthAfricaNidLookup2Input interface.
27
+ */
28
+ export declare function instanceOfSouthAfricaNidLookup2Input(value: object): value is SouthAfricaNidLookup2Input;
29
+ export declare function SouthAfricaNidLookup2InputFromJSON(json: any): SouthAfricaNidLookup2Input;
30
+ export declare function SouthAfricaNidLookup2InputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SouthAfricaNidLookup2Input;
31
+ export declare function SouthAfricaNidLookup2InputToJSON(json: any): SouthAfricaNidLookup2Input;
32
+ export declare function SouthAfricaNidLookup2InputToJSONTyped(value?: SouthAfricaNidLookup2Input | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,41 @@
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 SouthAfricaNidLookup2Input interface.
16
+ */
17
+ export function instanceOfSouthAfricaNidLookup2Input(value) {
18
+ return true;
19
+ }
20
+ export function SouthAfricaNidLookup2InputFromJSON(json) {
21
+ return SouthAfricaNidLookup2InputFromJSONTyped(json, false);
22
+ }
23
+ export function SouthAfricaNidLookup2InputFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
29
+ };
30
+ }
31
+ export function SouthAfricaNidLookup2InputToJSON(json) {
32
+ return SouthAfricaNidLookup2InputToJSONTyped(json, false);
33
+ }
34
+ export function SouthAfricaNidLookup2InputToJSONTyped(value, ignoreDiscriminator = false) {
35
+ if (value == null) {
36
+ return value;
37
+ }
38
+ return {
39
+ 'idNumber': value['idNumber'],
40
+ };
41
+ }
@@ -25,23 +25,23 @@ export interface SpidProviderOutput {
25
25
  */
26
26
  billingInformation?: SpidBillingInformation | null;
27
27
  /**
28
- * Fiscal tax number for the subject.
29
- * @type {string}
30
- * @memberof SpidProviderOutput
31
- */
32
- fiscalNumber?: string | null;
33
- /**
34
- * Unique user identifier contained within the SPID identity.
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.
35
33
  * @type {string}
36
34
  * @memberof SpidProviderOutput
37
35
  */
38
- spidCode?: string | null;
36
+ identityProviderEntityId: string;
39
37
  /**
40
- * VAT number for the subject.
38
+ * The identifier of the user's SPID credential.
39
+ *
40
+ * This uniquely identifies the credential within the SPID federation.
41
41
  * @type {string}
42
42
  * @memberof SpidProviderOutput
43
43
  */
44
- ivaCode?: string | null;
44
+ spidCode: string;
45
45
  /**
46
46
  * Expiration date of the user's SPID credential.
47
47
  *
@@ -51,6 +51,68 @@ export interface SpidProviderOutput {
51
51
  * @memberof SpidProviderOutput
52
52
  */
53
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;
54
116
  }
55
117
  /**
56
118
  * Check if a given object implements the SpidProviderOutput interface.
@@ -16,6 +16,10 @@ import { SpidBillingInformationFromJSON, SpidBillingInformationToJSON, } from '.
16
16
  * Check if a given object implements the SpidProviderOutput interface.
17
17
  */
18
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;
19
23
  return true;
20
24
  }
21
25
  export function SpidProviderOutputFromJSON(json) {
@@ -27,10 +31,19 @@ export function SpidProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
27
31
  }
28
32
  return {
29
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'],
30
42
  'fiscalNumber': json['fiscalNumber'] == null ? undefined : json['fiscalNumber'],
31
- 'spidCode': json['spidCode'] == null ? undefined : json['spidCode'],
32
43
  'ivaCode': json['ivaCode'] == null ? undefined : json['ivaCode'],
33
- 'spidCredentialExpirationDate': json['spidCredentialExpirationDate'] == null ? undefined : (new Date(json['spidCredentialExpirationDate'])),
44
+ 'companyName': json['companyName'] == null ? undefined : json['companyName'],
45
+ 'companyFiscalNumber': json['companyFiscalNumber'] == null ? undefined : json['companyFiscalNumber'],
46
+ 'registeredOffice': json['registeredOffice'] == null ? undefined : json['registeredOffice'],
34
47
  };
35
48
  }
36
49
  export function SpidProviderOutputToJSON(json) {
@@ -42,9 +55,18 @@ export function SpidProviderOutputToJSONTyped(value, ignoreDiscriminator = false
42
55
  }
43
56
  return {
44
57
  'billingInformation': SpidBillingInformationToJSON(value['billingInformation']),
45
- 'fiscalNumber': value['fiscalNumber'],
58
+ 'identityProviderEntityId': value['identityProviderEntityId'],
46
59
  'spidCode': value['spidCode'],
47
- 'ivaCode': value['ivaCode'],
48
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'],
49
71
  };
50
72
  }
@@ -42,7 +42,10 @@ export * from './IndonesiaNikInput';
42
42
  export * from './IntegrationCapability';
43
43
  export * from './IntegrationLaunchMethod';
44
44
  export * from './IntegrationStep';
45
+ export * from './KenyaNidBiometric2Input';
45
46
  export * from './KenyaNidInput';
47
+ export * from './KenyaNidLookup2Input';
48
+ export * from './KenyaNidMatch2Input';
46
49
  export * from './Language';
47
50
  export * from './ListEnvironmentRedirectUrisResponse';
48
51
  export * from './ListProviderContractsResponse';
@@ -63,6 +66,8 @@ export * from './OrderDirection';
63
66
  export * from './PersonData';
64
67
  export * from './PhilippineMatchInput';
65
68
  export * from './PhilippineQRInput';
69
+ export * from './PhilippinesDigitalNidProviderOutput';
70
+ export * from './PhilippinesPhysicalNidProviderOutput';
66
71
  export * from './ProblemDetails';
67
72
  export * from './ProviderAttachments';
68
73
  export * from './ProviderContract';
@@ -83,8 +88,10 @@ export * from './Session';
83
88
  export * from './SessionErrorCode';
84
89
  export * from './SessionOrdering';
85
90
  export * from './Sex';
91
+ export * from './SexV1';
86
92
  export * from './SmartIdInput';
87
93
  export * from './SouthAfricaNidInput';
94
+ export * from './SouthAfricaNidLookup2Input';
88
95
  export * from './SpidBillingInformation';
89
96
  export * from './SpidInput';
90
97
  export * from './SpidProviderOutput';
@@ -44,7 +44,10 @@ export * from './IndonesiaNikInput';
44
44
  export * from './IntegrationCapability';
45
45
  export * from './IntegrationLaunchMethod';
46
46
  export * from './IntegrationStep';
47
+ export * from './KenyaNidBiometric2Input';
47
48
  export * from './KenyaNidInput';
49
+ export * from './KenyaNidLookup2Input';
50
+ export * from './KenyaNidMatch2Input';
48
51
  export * from './Language';
49
52
  export * from './ListEnvironmentRedirectUrisResponse';
50
53
  export * from './ListProviderContractsResponse';
@@ -65,6 +68,8 @@ export * from './OrderDirection';
65
68
  export * from './PersonData';
66
69
  export * from './PhilippineMatchInput';
67
70
  export * from './PhilippineQRInput';
71
+ export * from './PhilippinesDigitalNidProviderOutput';
72
+ export * from './PhilippinesPhysicalNidProviderOutput';
68
73
  export * from './ProblemDetails';
69
74
  export * from './ProviderAttachments';
70
75
  export * from './ProviderContract';
@@ -85,8 +90,10 @@ export * from './Session';
85
90
  export * from './SessionErrorCode';
86
91
  export * from './SessionOrdering';
87
92
  export * from './Sex';
93
+ export * from './SexV1';
88
94
  export * from './SmartIdInput';
89
95
  export * from './SouthAfricaNidInput';
96
+ export * from './SouthAfricaNidLookup2Input';
90
97
  export * from './SpidBillingInformation';
91
98
  export * from './SpidInput';
92
99
  export * from './SpidProviderOutput';
@@ -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
  }
@@ -0,0 +1,47 @@
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 KenyaNidBiometric2Input
16
+ */
17
+ export interface KenyaNidBiometric2Input {
18
+ /**
19
+ * The user's Kenyan National ID number
20
+ * @type {string}
21
+ * @memberof KenyaNidBiometric2Input
22
+ */
23
+ idNumber?: string | null;
24
+ /**
25
+ * An array of exactly 8 images required for biometric liveness verification.
26
+ * The first 7 images should be liveness frames captured during the liveness detection process,
27
+ * and the last image (8th) should be a selfie of the user. All images must be in JPEG format
28
+ * and each image must be less than 15MB in size.
29
+ * @type {Array<string>}
30
+ * @memberof KenyaNidBiometric2Input
31
+ */
32
+ livenessImages?: Array<string> | null;
33
+ /**
34
+ * Test selfie for test environment (optional, maximum 15MB). Must be JPEG format.
35
+ * @type {string}
36
+ * @memberof KenyaNidBiometric2Input
37
+ */
38
+ testSelfie?: string | null;
39
+ }
40
+ /**
41
+ * Check if a given object implements the KenyaNidBiometric2Input interface.
42
+ */
43
+ export declare function instanceOfKenyaNidBiometric2Input(value: object): value is KenyaNidBiometric2Input;
44
+ export declare function KenyaNidBiometric2InputFromJSON(json: any): KenyaNidBiometric2Input;
45
+ export declare function KenyaNidBiometric2InputFromJSONTyped(json: any, ignoreDiscriminator: boolean): KenyaNidBiometric2Input;
46
+ export declare function KenyaNidBiometric2InputToJSON(json: any): KenyaNidBiometric2Input;
47
+ export declare function KenyaNidBiometric2InputToJSONTyped(value?: KenyaNidBiometric2Input | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
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.instanceOfKenyaNidBiometric2Input = instanceOfKenyaNidBiometric2Input;
17
+ exports.KenyaNidBiometric2InputFromJSON = KenyaNidBiometric2InputFromJSON;
18
+ exports.KenyaNidBiometric2InputFromJSONTyped = KenyaNidBiometric2InputFromJSONTyped;
19
+ exports.KenyaNidBiometric2InputToJSON = KenyaNidBiometric2InputToJSON;
20
+ exports.KenyaNidBiometric2InputToJSONTyped = KenyaNidBiometric2InputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the KenyaNidBiometric2Input interface.
23
+ */
24
+ function instanceOfKenyaNidBiometric2Input(value) {
25
+ return true;
26
+ }
27
+ function KenyaNidBiometric2InputFromJSON(json) {
28
+ return KenyaNidBiometric2InputFromJSONTyped(json, false);
29
+ }
30
+ function KenyaNidBiometric2InputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
36
+ 'livenessImages': json['livenessImages'] == null ? undefined : json['livenessImages'],
37
+ 'testSelfie': json['testSelfie'] == null ? undefined : json['testSelfie'],
38
+ };
39
+ }
40
+ function KenyaNidBiometric2InputToJSON(json) {
41
+ return KenyaNidBiometric2InputToJSONTyped(json, false);
42
+ }
43
+ function KenyaNidBiometric2InputToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'idNumber': value['idNumber'],
49
+ 'livenessImages': value['livenessImages'],
50
+ 'testSelfie': value['testSelfie'],
51
+ };
52
+ }
@@ -46,7 +46,7 @@ export interface KenyaNidInput {
46
46
  */
47
47
  gender: string;
48
48
  /**
49
- * The user's South Kenya National ID number
49
+ * The user's Kenya National ID number
50
50
  * @type {string}
51
51
  * @memberof KenyaNidInput
52
52
  */
@@ -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 KenyaNidLookup2Input
16
+ */
17
+ export interface KenyaNidLookup2Input {
18
+ /**
19
+ * The user's National ID number
20
+ * @type {string}
21
+ * @memberof KenyaNidLookup2Input
22
+ */
23
+ idNumber?: string | null;
24
+ }
25
+ /**
26
+ * Check if a given object implements the KenyaNidLookup2Input interface.
27
+ */
28
+ export declare function instanceOfKenyaNidLookup2Input(value: object): value is KenyaNidLookup2Input;
29
+ export declare function KenyaNidLookup2InputFromJSON(json: any): KenyaNidLookup2Input;
30
+ export declare function KenyaNidLookup2InputFromJSONTyped(json: any, ignoreDiscriminator: boolean): KenyaNidLookup2Input;
31
+ export declare function KenyaNidLookup2InputToJSON(json: any): KenyaNidLookup2Input;
32
+ export declare function KenyaNidLookup2InputToJSONTyped(value?: KenyaNidLookup2Input | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,48 @@
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.instanceOfKenyaNidLookup2Input = instanceOfKenyaNidLookup2Input;
17
+ exports.KenyaNidLookup2InputFromJSON = KenyaNidLookup2InputFromJSON;
18
+ exports.KenyaNidLookup2InputFromJSONTyped = KenyaNidLookup2InputFromJSONTyped;
19
+ exports.KenyaNidLookup2InputToJSON = KenyaNidLookup2InputToJSON;
20
+ exports.KenyaNidLookup2InputToJSONTyped = KenyaNidLookup2InputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the KenyaNidLookup2Input interface.
23
+ */
24
+ function instanceOfKenyaNidLookup2Input(value) {
25
+ return true;
26
+ }
27
+ function KenyaNidLookup2InputFromJSON(json) {
28
+ return KenyaNidLookup2InputFromJSONTyped(json, false);
29
+ }
30
+ function KenyaNidLookup2InputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
36
+ };
37
+ }
38
+ function KenyaNidLookup2InputToJSON(json) {
39
+ return KenyaNidLookup2InputToJSONTyped(json, false);
40
+ }
41
+ function KenyaNidLookup2InputToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'idNumber': value['idNumber'],
47
+ };
48
+ }