@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
@@ -83,6 +83,13 @@ import {
83
83
  BangladeshNidInputToJSON,
84
84
  BangladeshNidInputToJSONTyped,
85
85
  } from './BangladeshNidInput';
86
+ import type { KenyaNidBiometric2Input } from './KenyaNidBiometric2Input';
87
+ import {
88
+ KenyaNidBiometric2InputFromJSON,
89
+ KenyaNidBiometric2InputFromJSONTyped,
90
+ KenyaNidBiometric2InputToJSON,
91
+ KenyaNidBiometric2InputToJSONTyped,
92
+ } from './KenyaNidBiometric2Input';
86
93
  import type { AadhaarInput } from './AadhaarInput';
87
94
  import {
88
95
  AadhaarInputFromJSON,
@@ -118,6 +125,20 @@ import {
118
125
  IndonesiaDukcapilMatchInputToJSON,
119
126
  IndonesiaDukcapilMatchInputToJSONTyped,
120
127
  } from './IndonesiaDukcapilMatchInput';
128
+ import type { KenyaNidLookup2Input } from './KenyaNidLookup2Input';
129
+ import {
130
+ KenyaNidLookup2InputFromJSON,
131
+ KenyaNidLookup2InputFromJSONTyped,
132
+ KenyaNidLookup2InputToJSON,
133
+ KenyaNidLookup2InputToJSONTyped,
134
+ } from './KenyaNidLookup2Input';
135
+ import type { KenyaNidMatch2Input } from './KenyaNidMatch2Input';
136
+ import {
137
+ KenyaNidMatch2InputFromJSON,
138
+ KenyaNidMatch2InputFromJSONTyped,
139
+ KenyaNidMatch2InputToJSON,
140
+ KenyaNidMatch2InputToJSONTyped,
141
+ } from './KenyaNidMatch2Input';
121
142
  import type { MobileIdInput } from './MobileIdInput';
122
143
  import {
123
144
  MobileIdInputFromJSON,
@@ -139,6 +160,13 @@ import {
139
160
  TrinsicTestDatabaseLookupInputToJSON,
140
161
  TrinsicTestDatabaseLookupInputToJSONTyped,
141
162
  } from './TrinsicTestDatabaseLookupInput';
163
+ import type { SouthAfricaNidLookup2Input } from './SouthAfricaNidLookup2Input';
164
+ import {
165
+ SouthAfricaNidLookup2InputFromJSON,
166
+ SouthAfricaNidLookup2InputFromJSONTyped,
167
+ SouthAfricaNidLookup2InputToJSON,
168
+ SouthAfricaNidLookup2InputToJSONTyped,
169
+ } from './SouthAfricaNidLookup2Input';
142
170
  import type { IndonesiaNikInput } from './IndonesiaNikInput';
143
171
  import {
144
172
  IndonesiaNikInputFromJSON,
@@ -160,6 +188,12 @@ import {
160
188
  * @interface ProviderInput
161
189
  */
162
190
  export interface ProviderInput {
191
+ /**
192
+ * Input for the `kenya-nid-match-biometric-2` provider
193
+ * @type {KenyaNidBiometric2Input}
194
+ * @memberof ProviderInput
195
+ */
196
+ kenyaBiometric2?: KenyaNidBiometric2Input | null;
163
197
  /**
164
198
  * Input for the `indonesia-nik-lookup` provider
165
199
  * @type {IndonesiaNikInput}
@@ -190,6 +224,24 @@ export interface ProviderInput {
190
224
  * @memberof ProviderInput
191
225
  */
192
226
  kenyaNid?: KenyaNidInput | null;
227
+ /**
228
+ * Input for the `kenya-nid-match-2` provider
229
+ * @type {KenyaNidMatch2Input}
230
+ * @memberof ProviderInput
231
+ */
232
+ kenyaNidMatch2?: KenyaNidMatch2Input | null;
233
+ /**
234
+ * Input for the `kenya-nid-lookup-2` provider
235
+ * @type {KenyaNidLookup2Input}
236
+ * @memberof ProviderInput
237
+ */
238
+ kenyaNidLookup2?: KenyaNidLookup2Input | null;
239
+ /**
240
+ * Input for the `south-africa-nid-lookup-2` provider
241
+ * @type {SouthAfricaNidLookup2Input}
242
+ * @memberof ProviderInput
243
+ */
244
+ southAfricaNidLookup2?: SouthAfricaNidLookup2Input | null;
193
245
  /**
194
246
  * Input for the `nigeria-nin-lookup` provider
195
247
  * @type {NigeriaNinInput}
@@ -303,11 +355,15 @@ export function ProviderInputFromJSONTyped(json: any, ignoreDiscriminator: boole
303
355
  }
304
356
  return {
305
357
 
358
+ 'kenyaBiometric2': json['kenyaBiometric2'] == null ? undefined : KenyaNidBiometric2InputFromJSON(json['kenyaBiometric2']),
306
359
  'indonesiaNik': json['indonesiaNik'] == null ? undefined : IndonesiaNikInputFromJSON(json['indonesiaNik']),
307
360
  'indonesiaDukcapilMatch': json['indonesiaDukcapilMatch'] == null ? undefined : IndonesiaDukcapilMatchInputFromJSON(json['indonesiaDukcapilMatch']),
308
361
  'mexicoCurp': json['mexicoCurp'] == null ? undefined : MexicoCurpInputFromJSON(json['mexicoCurp']),
309
362
  'southAfricaNid': json['southAfricaNid'] == null ? undefined : SouthAfricaNidInputFromJSON(json['southAfricaNid']),
310
363
  'kenyaNid': json['kenyaNid'] == null ? undefined : KenyaNidInputFromJSON(json['kenyaNid']),
364
+ 'kenyaNidMatch2': json['kenyaNidMatch2'] == null ? undefined : KenyaNidMatch2InputFromJSON(json['kenyaNidMatch2']),
365
+ 'kenyaNidLookup2': json['kenyaNidLookup2'] == null ? undefined : KenyaNidLookup2InputFromJSON(json['kenyaNidLookup2']),
366
+ 'southAfricaNidLookup2': json['southAfricaNidLookup2'] == null ? undefined : SouthAfricaNidLookup2InputFromJSON(json['southAfricaNidLookup2']),
311
367
  'nigeriaNin': json['nigeriaNin'] == null ? undefined : NigeriaNinInputFromJSON(json['nigeriaNin']),
312
368
  'aadhaar': json['aadhaar'] == null ? undefined : AadhaarInputFromJSON(json['aadhaar']),
313
369
  'bangladeshNationalId': json['bangladeshNationalId'] == null ? undefined : BangladeshNidInputFromJSON(json['bangladeshNationalId']),
@@ -337,11 +393,15 @@ export function ProviderInputToJSONTyped(value?: ProviderInput | null, ignoreDis
337
393
 
338
394
  return {
339
395
 
396
+ 'kenyaBiometric2': KenyaNidBiometric2InputToJSON(value['kenyaBiometric2']),
340
397
  'indonesiaNik': IndonesiaNikInputToJSON(value['indonesiaNik']),
341
398
  'indonesiaDukcapilMatch': IndonesiaDukcapilMatchInputToJSON(value['indonesiaDukcapilMatch']),
342
399
  'mexicoCurp': MexicoCurpInputToJSON(value['mexicoCurp']),
343
400
  'southAfricaNid': SouthAfricaNidInputToJSON(value['southAfricaNid']),
344
401
  'kenyaNid': KenyaNidInputToJSON(value['kenyaNid']),
402
+ 'kenyaNidMatch2': KenyaNidMatch2InputToJSON(value['kenyaNidMatch2']),
403
+ 'kenyaNidLookup2': KenyaNidLookup2InputToJSON(value['kenyaNidLookup2']),
404
+ 'southAfricaNidLookup2': SouthAfricaNidLookup2InputToJSON(value['southAfricaNidLookup2']),
345
405
  'nigeriaNin': NigeriaNinInputToJSON(value['nigeriaNin']),
346
406
  'aadhaar': AadhaarInputToJSON(value['aadhaar']),
347
407
  'bangladeshNationalId': BangladeshNidInputToJSON(value['bangladeshNationalId']),
@@ -27,6 +27,20 @@ import {
27
27
  MexicoCurpProviderOutputToJSON,
28
28
  MexicoCurpProviderOutputToJSONTyped,
29
29
  } from './MexicoCurpProviderOutput';
30
+ import type { PhilippinesPhysicalNidProviderOutput } from './PhilippinesPhysicalNidProviderOutput';
31
+ import {
32
+ PhilippinesPhysicalNidProviderOutputFromJSON,
33
+ PhilippinesPhysicalNidProviderOutputFromJSONTyped,
34
+ PhilippinesPhysicalNidProviderOutputToJSON,
35
+ PhilippinesPhysicalNidProviderOutputToJSONTyped,
36
+ } from './PhilippinesPhysicalNidProviderOutput';
37
+ import type { PhilippinesDigitalNidProviderOutput } from './PhilippinesDigitalNidProviderOutput';
38
+ import {
39
+ PhilippinesDigitalNidProviderOutputFromJSON,
40
+ PhilippinesDigitalNidProviderOutputFromJSONTyped,
41
+ PhilippinesDigitalNidProviderOutputToJSON,
42
+ PhilippinesDigitalNidProviderOutputToJSONTyped,
43
+ } from './PhilippinesDigitalNidProviderOutput';
30
44
  import type { SpidProviderOutput } from './SpidProviderOutput';
31
45
  import {
32
46
  SpidProviderOutputFromJSON,
@@ -59,6 +73,18 @@ export interface ProviderOutput {
59
73
  * @memberof ProviderOutput
60
74
  */
61
75
  ethiopiaFayda?: FaydaProviderOutput | null;
76
+ /**
77
+ *
78
+ * @type {PhilippinesPhysicalNidProviderOutput}
79
+ * @memberof ProviderOutput
80
+ */
81
+ philippinesPhysicalNationalIdQr?: PhilippinesPhysicalNidProviderOutput | null;
82
+ /**
83
+ *
84
+ * @type {PhilippinesDigitalNidProviderOutput}
85
+ * @memberof ProviderOutput
86
+ */
87
+ philippinesDigitalNationalIdQr?: PhilippinesDigitalNidProviderOutput | null;
62
88
  }
63
89
 
64
90
  /**
@@ -81,6 +107,8 @@ export function ProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: bool
81
107
  'italySpid': json['italy-spid'] == null ? undefined : SpidProviderOutputFromJSON(json['italy-spid']),
82
108
  'mexicoCurpLookup': json['mexico-curp-lookup'] == null ? undefined : MexicoCurpProviderOutputFromJSON(json['mexico-curp-lookup']),
83
109
  'ethiopiaFayda': json['ethiopia-fayda'] == null ? undefined : FaydaProviderOutputFromJSON(json['ethiopia-fayda']),
110
+ 'philippinesPhysicalNationalIdQr': json['philippines-physical-national-id-qr'] == null ? undefined : PhilippinesPhysicalNidProviderOutputFromJSON(json['philippines-physical-national-id-qr']),
111
+ 'philippinesDigitalNationalIdQr': json['philippines-digital-national-id-qr'] == null ? undefined : PhilippinesDigitalNidProviderOutputFromJSON(json['philippines-digital-national-id-qr']),
84
112
  };
85
113
  }
86
114
 
@@ -98,6 +126,8 @@ export function ProviderOutputToJSONTyped(value?: ProviderOutput | null, ignoreD
98
126
  'italy-spid': SpidProviderOutputToJSON(value['italySpid']),
99
127
  'mexico-curp-lookup': MexicoCurpProviderOutputToJSON(value['mexicoCurpLookup']),
100
128
  'ethiopia-fayda': FaydaProviderOutputToJSON(value['ethiopiaFayda']),
129
+ 'philippines-physical-national-id-qr': PhilippinesPhysicalNidProviderOutputToJSON(value['philippinesPhysicalNationalIdQr']),
130
+ 'philippines-digital-national-id-qr': PhilippinesDigitalNidProviderOutputToJSON(value['philippinesDigitalNationalIdQr']),
101
131
  };
102
132
  }
103
133
 
@@ -0,0 +1,55 @@
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
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const SexV1 = {
21
+ Unknown: 'Unknown',
22
+ NotApplicable: 'NotApplicable',
23
+ Male: 'Male',
24
+ Female: 'Female'
25
+ } as const;
26
+ export type SexV1 = typeof SexV1[keyof typeof SexV1];
27
+
28
+
29
+ export function instanceOfSexV1(value: any): boolean {
30
+ for (const key in SexV1) {
31
+ if (Object.prototype.hasOwnProperty.call(SexV1, key)) {
32
+ if (SexV1[key as keyof typeof SexV1] === value) {
33
+ return true;
34
+ }
35
+ }
36
+ }
37
+ return false;
38
+ }
39
+
40
+ export function SexV1FromJSON(json: any): SexV1 {
41
+ return SexV1FromJSONTyped(json, false);
42
+ }
43
+
44
+ export function SexV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): SexV1 {
45
+ return json as SexV1;
46
+ }
47
+
48
+ export function SexV1ToJSON(value?: SexV1 | null): any {
49
+ return value as any;
50
+ }
51
+
52
+ export function SexV1ToJSONTyped(value: any, ignoreDiscriminator: boolean): SexV1 {
53
+ return value as SexV1;
54
+ }
55
+
@@ -38,7 +38,7 @@ export interface SouthAfricaNidInput {
38
38
  */
39
39
  gender: string;
40
40
  /**
41
- * The user's South African National ID number
41
+ * The user's National ID number
42
42
  * @type {string}
43
43
  * @memberof SouthAfricaNidInput
44
44
  */
@@ -0,0 +1,65 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SouthAfricaNidLookup2Input
20
+ */
21
+ export interface SouthAfricaNidLookup2Input {
22
+ /**
23
+ * The user's National ID number
24
+ * @type {string}
25
+ * @memberof SouthAfricaNidLookup2Input
26
+ */
27
+ idNumber?: string | null;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the SouthAfricaNidLookup2Input interface.
32
+ */
33
+ export function instanceOfSouthAfricaNidLookup2Input(value: object): value is SouthAfricaNidLookup2Input {
34
+ return true;
35
+ }
36
+
37
+ export function SouthAfricaNidLookup2InputFromJSON(json: any): SouthAfricaNidLookup2Input {
38
+ return SouthAfricaNidLookup2InputFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function SouthAfricaNidLookup2InputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SouthAfricaNidLookup2Input {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+
47
+ 'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
48
+ };
49
+ }
50
+
51
+ export function SouthAfricaNidLookup2InputToJSON(json: any): SouthAfricaNidLookup2Input {
52
+ return SouthAfricaNidLookup2InputToJSONTyped(json, false);
53
+ }
54
+
55
+ export function SouthAfricaNidLookup2InputToJSONTyped(value?: SouthAfricaNidLookup2Input | null, ignoreDiscriminator: boolean = false): any {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+
60
+ return {
61
+
62
+ 'idNumber': value['idNumber'],
63
+ };
64
+ }
65
+
@@ -36,23 +36,23 @@ export interface SpidProviderOutput {
36
36
  */
37
37
  billingInformation?: SpidBillingInformation | null;
38
38
  /**
39
- * Fiscal tax number for the subject.
40
- * @type {string}
41
- * @memberof SpidProviderOutput
42
- */
43
- fiscalNumber?: string | null;
44
- /**
45
- * Unique user identifier contained within the SPID identity.
39
+ * The SPID Entity ID of the Identity Provider which issued the SPID identity.
40
+ *
41
+ * This is an HTTPS URI which uniquely identifies the IdP within the SPID federation.
42
+ *
43
+ * A normalized / simplified representation of this value is present in the `originatingSubProviderId` field in Trinsic's normalized data model.
46
44
  * @type {string}
47
45
  * @memberof SpidProviderOutput
48
46
  */
49
- spidCode?: string | null;
47
+ identityProviderEntityId: string;
50
48
  /**
51
- * VAT number for the subject.
49
+ * The identifier of the user's SPID credential.
50
+ *
51
+ * This uniquely identifies the credential within the SPID federation.
52
52
  * @type {string}
53
53
  * @memberof SpidProviderOutput
54
54
  */
55
- ivaCode?: string | null;
55
+ spidCode: string;
56
56
  /**
57
57
  * Expiration date of the user's SPID credential.
58
58
  *
@@ -62,12 +62,76 @@ export interface SpidProviderOutput {
62
62
  * @memberof SpidProviderOutput
63
63
  */
64
64
  spidCredentialExpirationDate?: Date | null;
65
+ /**
66
+ * The user's place of birth.
67
+ * @type {string}
68
+ * @memberof SpidProviderOutput
69
+ */
70
+ placeOfBirth?: string | null;
71
+ /**
72
+ * The user's county of birth.
73
+ * @type {string}
74
+ * @memberof SpidProviderOutput
75
+ */
76
+ countyOfBirth?: string | null;
77
+ /**
78
+ * The raw, space-separated string value for the "IdCard" field from the SPID identity.
79
+ *
80
+ * Trinsic additionally parses this field and uses it to populate the `Document` object in the normalized data model.
81
+ * @type {string}
82
+ * @memberof SpidProviderOutput
83
+ */
84
+ rawIdCard?: string | null;
85
+ /**
86
+ * The email address of the user.
87
+ * @type {string}
88
+ * @memberof SpidProviderOutput
89
+ */
90
+ email?: string | null;
91
+ /**
92
+ * The digital address of the user.
93
+ * @type {string}
94
+ * @memberof SpidProviderOutput
95
+ */
96
+ digitalAddress?: string | null;
97
+ /**
98
+ * Fiscal tax number for the subject.
99
+ * @type {string}
100
+ * @memberof SpidProviderOutput
101
+ */
102
+ fiscalNumber?: string | null;
103
+ /**
104
+ * VAT number for the subject.
105
+ * @type {string}
106
+ * @memberof SpidProviderOutput
107
+ */
108
+ ivaCode?: string | null;
109
+ /**
110
+ * The name of the company which the user is associated with.
111
+ * @type {string}
112
+ * @memberof SpidProviderOutput
113
+ */
114
+ companyName?: string | null;
115
+ /**
116
+ * The fiscal tax number of the company which the user is associated with.
117
+ * @type {string}
118
+ * @memberof SpidProviderOutput
119
+ */
120
+ companyFiscalNumber?: string | null;
121
+ /**
122
+ * The registered office address of the company which the user is associated with.
123
+ * @type {string}
124
+ * @memberof SpidProviderOutput
125
+ */
126
+ registeredOffice?: string | null;
65
127
  }
66
128
 
67
129
  /**
68
130
  * Check if a given object implements the SpidProviderOutput interface.
69
131
  */
70
132
  export function instanceOfSpidProviderOutput(value: object): value is SpidProviderOutput {
133
+ if (!('identityProviderEntityId' in value) || value['identityProviderEntityId'] === undefined) return false;
134
+ if (!('spidCode' in value) || value['spidCode'] === undefined) return false;
71
135
  return true;
72
136
  }
73
137
 
@@ -82,10 +146,19 @@ export function SpidProviderOutputFromJSONTyped(json: any, ignoreDiscriminator:
82
146
  return {
83
147
 
84
148
  'billingInformation': json['billingInformation'] == null ? undefined : SpidBillingInformationFromJSON(json['billingInformation']),
149
+ 'identityProviderEntityId': json['identityProviderEntityId'],
150
+ 'spidCode': json['spidCode'],
151
+ 'spidCredentialExpirationDate': json['spidCredentialExpirationDate'] == null ? undefined : (new Date(json['spidCredentialExpirationDate'])),
152
+ 'placeOfBirth': json['placeOfBirth'] == null ? undefined : json['placeOfBirth'],
153
+ 'countyOfBirth': json['countyOfBirth'] == null ? undefined : json['countyOfBirth'],
154
+ 'rawIdCard': json['rawIdCard'] == null ? undefined : json['rawIdCard'],
155
+ 'email': json['email'] == null ? undefined : json['email'],
156
+ 'digitalAddress': json['digitalAddress'] == null ? undefined : json['digitalAddress'],
85
157
  'fiscalNumber': json['fiscalNumber'] == null ? undefined : json['fiscalNumber'],
86
- 'spidCode': json['spidCode'] == null ? undefined : json['spidCode'],
87
158
  'ivaCode': json['ivaCode'] == null ? undefined : json['ivaCode'],
88
- 'spidCredentialExpirationDate': json['spidCredentialExpirationDate'] == null ? undefined : (new Date(json['spidCredentialExpirationDate'])),
159
+ 'companyName': json['companyName'] == null ? undefined : json['companyName'],
160
+ 'companyFiscalNumber': json['companyFiscalNumber'] == null ? undefined : json['companyFiscalNumber'],
161
+ 'registeredOffice': json['registeredOffice'] == null ? undefined : json['registeredOffice'],
89
162
  };
90
163
  }
91
164
 
@@ -101,10 +174,19 @@ export function SpidProviderOutputToJSONTyped(value?: SpidProviderOutput | null,
101
174
  return {
102
175
 
103
176
  'billingInformation': SpidBillingInformationToJSON(value['billingInformation']),
104
- 'fiscalNumber': value['fiscalNumber'],
177
+ 'identityProviderEntityId': value['identityProviderEntityId'],
105
178
  'spidCode': value['spidCode'],
106
- 'ivaCode': value['ivaCode'],
107
179
  'spidCredentialExpirationDate': value['spidCredentialExpirationDate'] == null ? undefined : ((value['spidCredentialExpirationDate'] as any).toISOString().substring(0,10)),
180
+ 'placeOfBirth': value['placeOfBirth'],
181
+ 'countyOfBirth': value['countyOfBirth'],
182
+ 'rawIdCard': value['rawIdCard'],
183
+ 'email': value['email'],
184
+ 'digitalAddress': value['digitalAddress'],
185
+ 'fiscalNumber': value['fiscalNumber'],
186
+ 'ivaCode': value['ivaCode'],
187
+ 'companyName': value['companyName'],
188
+ 'companyFiscalNumber': value['companyFiscalNumber'],
189
+ 'registeredOffice': value['registeredOffice'],
108
190
  };
109
191
  }
110
192
 
@@ -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';