@trinsic/api 2.0.0-alpha2 → 2.0.0-alpha3

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 (141) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/dist/apis/NetworkApi.d.ts +4 -4
  3. package/dist/apis/NetworkApi.js +2 -2
  4. package/dist/esm/apis/NetworkApi.d.ts +4 -4
  5. package/dist/esm/apis/NetworkApi.js +2 -2
  6. package/dist/esm/models/AadhaarInput.d.ts +2 -2
  7. package/dist/esm/models/AadhaarInput.js +1 -1
  8. package/dist/esm/models/Address.d.ts +8 -8
  9. package/dist/esm/models/AttachmentAccessKeys.d.ts +4 -4
  10. package/dist/esm/models/BangladeshNationalIdInput.d.ts +4 -4
  11. package/dist/esm/models/BangladeshNationalIdInput.js +1 -1
  12. package/dist/esm/models/BrazilDigitalCnhInput.d.ts +3 -3
  13. package/dist/esm/models/CreateAdvancedProviderSessionRequest.d.ts +3 -3
  14. package/dist/esm/models/CreateHostedProviderSessionRequest.d.ts +1 -1
  15. package/dist/esm/models/CreateHostedProviderSessionResponse.d.ts +1 -1
  16. package/dist/esm/models/CreateWidgetSessionRequest.d.ts +3 -3
  17. package/dist/esm/models/CreateWidgetSessionResponse.d.ts +1 -1
  18. package/dist/esm/models/DocumentData.d.ts +6 -6
  19. package/dist/esm/models/DocumentData.js +2 -2
  20. package/dist/esm/models/DocumentScanAttachments.d.ts +1 -1
  21. package/dist/esm/models/GetSessionResultResponse.d.ts +1 -1
  22. package/dist/esm/models/HttpValidationProblemDetails.d.ts +5 -5
  23. package/dist/esm/models/IdentityData.d.ts +4 -4
  24. package/dist/esm/models/IndonesiaNikInput.d.ts +43 -0
  25. package/dist/esm/models/IndonesiaNikInput.js +48 -0
  26. package/dist/esm/models/IntegrationStep.d.ts +1 -1
  27. package/dist/esm/models/KenyaNidInput.d.ts +61 -0
  28. package/dist/esm/models/KenyaNidInput.js +58 -0
  29. package/dist/esm/models/KnownAddress.d.ts +8 -8
  30. package/dist/esm/models/KnownIdentityData.d.ts +1 -1
  31. package/dist/esm/models/KnownPersonData.d.ts +8 -8
  32. package/dist/esm/models/MexicoCurpInput.d.ts +31 -0
  33. package/dist/esm/models/MexicoCurpInput.js +40 -0
  34. package/dist/esm/models/NigeriaNinInput.d.ts +67 -0
  35. package/dist/esm/models/NigeriaNinInput.js +58 -0
  36. package/dist/esm/models/PersonData.d.ts +10 -10
  37. package/dist/esm/models/PersonData.js +1 -1
  38. package/dist/esm/models/PhilippineMatchInput.d.ts +5 -5
  39. package/dist/esm/models/PhilippineMatchInput.js +1 -1
  40. package/dist/esm/models/PhilippineQRInput.d.ts +2 -2
  41. package/dist/esm/models/ProblemDetails.d.ts +5 -5
  42. package/dist/esm/models/ProviderAttachments.d.ts +1 -1
  43. package/dist/esm/models/ProviderInfo.d.ts +1 -1
  44. package/dist/esm/models/ProviderInput.d.ts +41 -6
  45. package/dist/esm/models/ProviderInput.js +15 -0
  46. package/dist/esm/models/RecommendRequest.d.ts +10 -4
  47. package/dist/esm/models/RecommendRequest.js +2 -0
  48. package/dist/esm/models/RefreshStepContentRequest.d.ts +1 -1
  49. package/dist/esm/models/ResultCollection.d.ts +1 -1
  50. package/dist/esm/models/Session.d.ts +1 -1
  51. package/dist/esm/models/SouthAfricaNidInput.d.ts +49 -0
  52. package/dist/esm/models/SouthAfricaNidInput.js +52 -0
  53. package/dist/esm/models/index.d.ts +5 -0
  54. package/dist/esm/models/index.js +5 -0
  55. package/dist/models/AadhaarInput.d.ts +2 -2
  56. package/dist/models/AadhaarInput.js +1 -1
  57. package/dist/models/Address.d.ts +8 -8
  58. package/dist/models/AttachmentAccessKeys.d.ts +4 -4
  59. package/dist/models/BangladeshNationalIdInput.d.ts +4 -4
  60. package/dist/models/BangladeshNationalIdInput.js +1 -1
  61. package/dist/models/BrazilDigitalCnhInput.d.ts +3 -3
  62. package/dist/models/CreateAdvancedProviderSessionRequest.d.ts +3 -3
  63. package/dist/models/CreateHostedProviderSessionRequest.d.ts +1 -1
  64. package/dist/models/CreateHostedProviderSessionResponse.d.ts +1 -1
  65. package/dist/models/CreateWidgetSessionRequest.d.ts +3 -3
  66. package/dist/models/CreateWidgetSessionResponse.d.ts +1 -1
  67. package/dist/models/DocumentData.d.ts +6 -6
  68. package/dist/models/DocumentData.js +2 -2
  69. package/dist/models/DocumentScanAttachments.d.ts +1 -1
  70. package/dist/models/GetSessionResultResponse.d.ts +1 -1
  71. package/dist/models/HttpValidationProblemDetails.d.ts +5 -5
  72. package/dist/models/IdentityData.d.ts +4 -4
  73. package/dist/models/IndonesiaNikInput.d.ts +43 -0
  74. package/dist/models/IndonesiaNikInput.js +54 -0
  75. package/dist/models/IntegrationStep.d.ts +1 -1
  76. package/dist/models/KenyaNidInput.d.ts +61 -0
  77. package/dist/models/KenyaNidInput.js +64 -0
  78. package/dist/models/KnownAddress.d.ts +8 -8
  79. package/dist/models/KnownIdentityData.d.ts +1 -1
  80. package/dist/models/KnownPersonData.d.ts +8 -8
  81. package/dist/models/MexicoCurpInput.d.ts +31 -0
  82. package/dist/models/MexicoCurpInput.js +46 -0
  83. package/dist/models/NigeriaNinInput.d.ts +67 -0
  84. package/dist/models/NigeriaNinInput.js +64 -0
  85. package/dist/models/PersonData.d.ts +10 -10
  86. package/dist/models/PersonData.js +1 -1
  87. package/dist/models/PhilippineMatchInput.d.ts +5 -5
  88. package/dist/models/PhilippineMatchInput.js +1 -1
  89. package/dist/models/PhilippineQRInput.d.ts +2 -2
  90. package/dist/models/ProblemDetails.d.ts +5 -5
  91. package/dist/models/ProviderAttachments.d.ts +1 -1
  92. package/dist/models/ProviderInfo.d.ts +1 -1
  93. package/dist/models/ProviderInput.d.ts +41 -6
  94. package/dist/models/ProviderInput.js +15 -0
  95. package/dist/models/RecommendRequest.d.ts +10 -4
  96. package/dist/models/RecommendRequest.js +2 -0
  97. package/dist/models/RefreshStepContentRequest.d.ts +1 -1
  98. package/dist/models/ResultCollection.d.ts +1 -1
  99. package/dist/models/Session.d.ts +1 -1
  100. package/dist/models/SouthAfricaNidInput.d.ts +49 -0
  101. package/dist/models/SouthAfricaNidInput.js +58 -0
  102. package/dist/models/index.d.ts +5 -0
  103. package/dist/models/index.js +5 -0
  104. package/package.json +1 -1
  105. package/src/apis/NetworkApi.ts +4 -4
  106. package/src/models/AadhaarInput.ts +3 -3
  107. package/src/models/Address.ts +8 -8
  108. package/src/models/AttachmentAccessKeys.ts +4 -4
  109. package/src/models/BangladeshNationalIdInput.ts +5 -5
  110. package/src/models/BrazilDigitalCnhInput.ts +3 -3
  111. package/src/models/CreateAdvancedProviderSessionRequest.ts +3 -3
  112. package/src/models/CreateHostedProviderSessionRequest.ts +1 -1
  113. package/src/models/CreateHostedProviderSessionResponse.ts +1 -1
  114. package/src/models/CreateWidgetSessionRequest.ts +3 -3
  115. package/src/models/CreateWidgetSessionResponse.ts +1 -1
  116. package/src/models/DocumentData.ts +8 -8
  117. package/src/models/DocumentScanAttachments.ts +1 -1
  118. package/src/models/GetSessionResultResponse.ts +1 -1
  119. package/src/models/HttpValidationProblemDetails.ts +5 -5
  120. package/src/models/IdentityData.ts +4 -4
  121. package/src/models/IndonesiaNikInput.ts +79 -0
  122. package/src/models/IntegrationStep.ts +1 -1
  123. package/src/models/KenyaNidInput.ts +105 -0
  124. package/src/models/KnownAddress.ts +8 -8
  125. package/src/models/KnownIdentityData.ts +1 -1
  126. package/src/models/KnownPersonData.ts +8 -8
  127. package/src/models/MexicoCurpInput.ts +61 -0
  128. package/src/models/NigeriaNinInput.ts +112 -0
  129. package/src/models/PersonData.ts +11 -11
  130. package/src/models/PhilippineMatchInput.ts +6 -6
  131. package/src/models/PhilippineQRInput.ts +2 -2
  132. package/src/models/ProblemDetails.ts +5 -5
  133. package/src/models/ProviderAttachments.ts +1 -1
  134. package/src/models/ProviderInfo.ts +1 -1
  135. package/src/models/ProviderInput.ts +76 -6
  136. package/src/models/RecommendRequest.ts +12 -4
  137. package/src/models/RefreshStepContentRequest.ts +1 -1
  138. package/src/models/ResultCollection.ts +1 -1
  139. package/src/models/Session.ts +1 -1
  140. package/src/models/SouthAfricaNidInput.ts +88 -0
  141. package/src/models/index.ts +5 -0
@@ -24,50 +24,50 @@ export interface KnownAddress {
24
24
  * @type {string}
25
25
  * @memberof KnownAddress
26
26
  */
27
- line1?: string;
27
+ line1?: string | null;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
31
  * @memberof KnownAddress
32
32
  */
33
- line2?: string;
33
+ line2?: string | null;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
37
  * @memberof KnownAddress
38
38
  */
39
- line3?: string;
39
+ line3?: string | null;
40
40
  /**
41
41
  *
42
42
  * @type {string}
43
43
  * @memberof KnownAddress
44
44
  */
45
- city?: string;
45
+ city?: string | null;
46
46
  /**
47
47
  *
48
48
  * @type {string}
49
49
  * @memberof KnownAddress
50
50
  */
51
- subdivision?: string;
51
+ subdivision?: string | null;
52
52
  /**
53
53
  * Deprecated. Use `Subdivision` instead.
54
54
  * @type {string}
55
55
  * @memberof KnownAddress
56
56
  * @deprecated
57
57
  */
58
- state?: string;
58
+ state?: string | null;
59
59
  /**
60
60
  *
61
61
  * @type {string}
62
62
  * @memberof KnownAddress
63
63
  */
64
- postalCode?: string;
64
+ postalCode?: string | null;
65
65
  /**
66
66
  *
67
67
  * @type {string}
68
68
  * @memberof KnownAddress
69
69
  */
70
- country?: string;
70
+ country?: string | null;
71
71
  }
72
72
 
73
73
  /**
@@ -33,7 +33,7 @@ export interface KnownIdentityData {
33
33
  * @type {KnownPersonData}
34
34
  * @memberof KnownIdentityData
35
35
  */
36
- person?: KnownPersonData;
36
+ person?: KnownPersonData | null;
37
37
  }
38
38
 
39
39
  /**
@@ -31,49 +31,49 @@ export interface KnownPersonData {
31
31
  * @type {string}
32
32
  * @memberof KnownPersonData
33
33
  */
34
- givenName?: string;
34
+ givenName?: string | null;
35
35
  /**
36
36
  * Family (last) name of the individual
37
37
  * @type {string}
38
38
  * @memberof KnownPersonData
39
39
  */
40
- familyName?: string;
40
+ familyName?: string | null;
41
41
  /**
42
42
  * Middle name of the individual
43
43
  * @type {string}
44
44
  * @memberof KnownPersonData
45
45
  */
46
- middleName?: string;
46
+ middleName?: string | null;
47
47
  /**
48
48
  * Full name of the individual.
49
49
  * @type {string}
50
50
  * @memberof KnownPersonData
51
51
  */
52
- fullName?: string;
52
+ fullName?: string | null;
53
53
  /**
54
54
  * Suffix of the individual
55
55
  * @type {string}
56
56
  * @memberof KnownPersonData
57
57
  */
58
- suffix?: string;
58
+ suffix?: string | null;
59
59
  /**
60
60
  * The phone number (with preceding + character and country code) of the individual being verified
61
61
  * @type {string}
62
62
  * @memberof KnownPersonData
63
63
  */
64
- phoneNumber?: string;
64
+ phoneNumber?: string | null;
65
65
  /**
66
66
  * The address of the individual being verified
67
67
  * @type {KnownAddress}
68
68
  * @memberof KnownPersonData
69
69
  */
70
- address?: KnownAddress;
70
+ address?: KnownAddress | null;
71
71
  /**
72
72
  * Date of birth of the individual, in the format "YYYY-MM-DD"
73
73
  * @type {string}
74
74
  * @memberof KnownPersonData
75
75
  */
76
- dateOfBirth?: string;
76
+ dateOfBirth?: string | null;
77
77
  }
78
78
 
79
79
  /**
@@ -0,0 +1,61 @@
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 MexicoCurpInput
20
+ */
21
+ export interface MexicoCurpInput {
22
+ /**
23
+ * The user's CURP number
24
+ * @type {string}
25
+ * @memberof MexicoCurpInput
26
+ */
27
+ curp: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the MexicoCurpInput interface.
32
+ */
33
+ export function instanceOfMexicoCurpInput(value: object): value is MexicoCurpInput {
34
+ if (!('curp' in value) || value['curp'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function MexicoCurpInputFromJSON(json: any): MexicoCurpInput {
39
+ return MexicoCurpInputFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function MexicoCurpInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MexicoCurpInput {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'curp': json['curp'],
49
+ };
50
+ }
51
+
52
+ export function MexicoCurpInputToJSON(value?: MexicoCurpInput | null): any {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+
58
+ 'curp': value['curp'],
59
+ };
60
+ }
61
+
@@ -0,0 +1,112 @@
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 NigeriaNinInput
20
+ */
21
+ export interface NigeriaNinInput {
22
+ /**
23
+ * The user's first name as it appears in their National ID
24
+ * @type {string}
25
+ * @memberof NigeriaNinInput
26
+ */
27
+ firstName: string;
28
+ /**
29
+ * The user's middle name as it appears in their National ID (optional)
30
+ * @type {string}
31
+ * @memberof NigeriaNinInput
32
+ */
33
+ middleName?: string | null;
34
+ /**
35
+ * The user's last name as it appears in their National ID (optional)
36
+ * @type {string}
37
+ * @memberof NigeriaNinInput
38
+ */
39
+ lastName: string;
40
+ /**
41
+ * The user's phone number (optional)
42
+ * @type {string}
43
+ * @memberof NigeriaNinInput
44
+ */
45
+ phoneNumber?: string | null;
46
+ /**
47
+ * The user's date of birth, in `YYYY-MM-DD` format
48
+ * @type {Date}
49
+ * @memberof NigeriaNinInput
50
+ */
51
+ dateOfBirth: Date;
52
+ /**
53
+ * The user's gender as it appears in their National ID (e.g., male, female)
54
+ * @type {string}
55
+ * @memberof NigeriaNinInput
56
+ */
57
+ gender?: string | null;
58
+ /**
59
+ * The user's South African National ID number
60
+ * @type {string}
61
+ * @memberof NigeriaNinInput
62
+ */
63
+ nationalIdNumber: string;
64
+ }
65
+
66
+ /**
67
+ * Check if a given object implements the NigeriaNinInput interface.
68
+ */
69
+ export function instanceOfNigeriaNinInput(value: object): value is NigeriaNinInput {
70
+ if (!('firstName' in value) || value['firstName'] === undefined) return false;
71
+ if (!('lastName' in value) || value['lastName'] === undefined) return false;
72
+ if (!('dateOfBirth' in value) || value['dateOfBirth'] === undefined) return false;
73
+ if (!('nationalIdNumber' in value) || value['nationalIdNumber'] === undefined) return false;
74
+ return true;
75
+ }
76
+
77
+ export function NigeriaNinInputFromJSON(json: any): NigeriaNinInput {
78
+ return NigeriaNinInputFromJSONTyped(json, false);
79
+ }
80
+
81
+ export function NigeriaNinInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): NigeriaNinInput {
82
+ if (json == null) {
83
+ return json;
84
+ }
85
+ return {
86
+
87
+ 'firstName': json['firstName'],
88
+ 'middleName': json['middleName'] == null ? undefined : json['middleName'],
89
+ 'lastName': json['lastName'],
90
+ 'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
91
+ 'dateOfBirth': (new Date(json['dateOfBirth'])),
92
+ 'gender': json['gender'] == null ? undefined : json['gender'],
93
+ 'nationalIdNumber': json['nationalIdNumber'],
94
+ };
95
+ }
96
+
97
+ export function NigeriaNinInputToJSON(value?: NigeriaNinInput | null): any {
98
+ if (value == null) {
99
+ return value;
100
+ }
101
+ return {
102
+
103
+ 'firstName': value['firstName'],
104
+ 'middleName': value['middleName'],
105
+ 'lastName': value['lastName'],
106
+ 'phoneNumber': value['phoneNumber'],
107
+ 'dateOfBirth': ((value['dateOfBirth']).toISOString().substring(0,10)),
108
+ 'gender': value['gender'],
109
+ 'nationalIdNumber': value['nationalIdNumber'],
110
+ };
111
+ }
112
+
@@ -37,61 +37,61 @@ export interface PersonData {
37
37
  * @type {string}
38
38
  * @memberof PersonData
39
39
  */
40
- givenName?: string;
40
+ givenName?: string | null;
41
41
  /**
42
42
  *
43
43
  * @type {string}
44
44
  * @memberof PersonData
45
45
  */
46
- familyName?: string;
46
+ familyName?: string | null;
47
47
  /**
48
48
  *
49
49
  * @type {string}
50
50
  * @memberof PersonData
51
51
  */
52
- middleName?: string;
52
+ middleName?: string | null;
53
53
  /**
54
54
  *
55
55
  * @type {string}
56
56
  * @memberof PersonData
57
57
  */
58
- fullName?: string;
58
+ fullName?: string | null;
59
59
  /**
60
60
  *
61
61
  * @type {string}
62
62
  * @memberof PersonData
63
63
  */
64
- suffix?: string;
64
+ suffix?: string | null;
65
65
  /**
66
66
  *
67
67
  * @type {string}
68
68
  * @memberof PersonData
69
69
  */
70
- nationality?: string;
70
+ nationality?: string | null;
71
71
  /**
72
72
  *
73
73
  * @type {Sex}
74
74
  * @memberof PersonData
75
75
  */
76
- sex?: Sex;
76
+ sex?: Sex | null;
77
77
  /**
78
78
  *
79
79
  * @type {string}
80
80
  * @memberof PersonData
81
81
  */
82
- phoneNumber?: string;
82
+ phoneNumber?: string | null;
83
83
  /**
84
84
  *
85
85
  * @type {Address}
86
86
  * @memberof PersonData
87
87
  */
88
- address?: Address;
88
+ address?: Address | null;
89
89
  /**
90
90
  *
91
91
  * @type {Date}
92
92
  * @memberof PersonData
93
93
  */
94
- dateOfBirth?: Date;
94
+ dateOfBirth?: Date | null;
95
95
  }
96
96
 
97
97
 
@@ -141,7 +141,7 @@ export function PersonDataToJSON(value?: PersonData | null): any {
141
141
  'sex': SexToJSON(value['sex']),
142
142
  'phoneNumber': value['phoneNumber'],
143
143
  'address': AddressToJSON(value['address']),
144
- 'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth']).toISOString().substring(0,10)),
144
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
145
145
  };
146
146
  }
147
147
 
@@ -24,31 +24,31 @@ export interface PhilippineMatchInput {
24
24
  * @type {string}
25
25
  * @memberof PhilippineMatchInput
26
26
  */
27
- givenName?: string;
27
+ givenName?: string | null;
28
28
  /**
29
29
  * The user's middle name
30
30
  * @type {string}
31
31
  * @memberof PhilippineMatchInput
32
32
  */
33
- middleName?: string;
33
+ middleName?: string | null;
34
34
  /**
35
35
  * The user's family / last name
36
36
  * @type {string}
37
37
  * @memberof PhilippineMatchInput
38
38
  */
39
- familyName?: string;
39
+ familyName?: string | null;
40
40
  /**
41
41
  * The user's name suffix
42
42
  * @type {string}
43
43
  * @memberof PhilippineMatchInput
44
44
  */
45
- suffix?: string;
45
+ suffix?: string | null;
46
46
  /**
47
47
  * The user's date of birth, in `YYYY-MM-DD` format
48
48
  * @type {Date}
49
49
  * @memberof PhilippineMatchInput
50
50
  */
51
- dateOfBirth?: Date;
51
+ dateOfBirth?: Date | null;
52
52
  }
53
53
 
54
54
  /**
@@ -86,7 +86,7 @@ export function PhilippineMatchInputToJSON(value?: PhilippineMatchInput | null):
86
86
  'middleName': value['middleName'],
87
87
  'familyName': value['familyName'],
88
88
  'suffix': value['suffix'],
89
- 'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth']).toISOString().substring(0,10)),
89
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
90
90
  };
91
91
  }
92
92
 
@@ -24,13 +24,13 @@ export interface PhilippineQRInput {
24
24
  * @type {string}
25
25
  * @memberof PhilippineQRInput
26
26
  */
27
- qrCodeText?: string;
27
+ qrCodeText?: string | null;
28
28
  /**
29
29
  * The raw bytes of the image containing the user's QR code.
30
30
  * @type {string}
31
31
  * @memberof PhilippineQRInput
32
32
  */
33
- qrCodeImage?: string;
33
+ qrCodeImage?: string | null;
34
34
  }
35
35
 
36
36
  /**
@@ -25,31 +25,31 @@ export interface ProblemDetails {
25
25
  * @type {string}
26
26
  * @memberof ProblemDetails
27
27
  */
28
- type?: string;
28
+ type?: string | null;
29
29
  /**
30
30
  *
31
31
  * @type {string}
32
32
  * @memberof ProblemDetails
33
33
  */
34
- title?: string;
34
+ title?: string | null;
35
35
  /**
36
36
  *
37
37
  * @type {number}
38
38
  * @memberof ProblemDetails
39
39
  */
40
- status?: number;
40
+ status?: number | null;
41
41
  /**
42
42
  *
43
43
  * @type {string}
44
44
  * @memberof ProblemDetails
45
45
  */
46
- detail?: string;
46
+ detail?: string | null;
47
47
  /**
48
48
  *
49
49
  * @type {string}
50
50
  * @memberof ProblemDetails
51
51
  */
52
- instance?: string;
52
+ instance?: string | null;
53
53
  }
54
54
 
55
55
  /**
@@ -31,7 +31,7 @@ export interface ProviderAttachments {
31
31
  * @type {DocumentScanAttachments}
32
32
  * @memberof ProviderAttachments
33
33
  */
34
- documentScan?: DocumentScanAttachments;
34
+ documentScan?: DocumentScanAttachments | null;
35
35
  }
36
36
 
37
37
  /**
@@ -42,7 +42,7 @@ export interface ProviderInfo {
42
42
  * @type {Array<string>}
43
43
  * @memberof ProviderInfo
44
44
  */
45
- childProviderIds?: Array<string>;
45
+ childProviderIds?: Array<string> | null;
46
46
  }
47
47
 
48
48
  /**
@@ -31,18 +31,48 @@ import {
31
31
  AadhaarInputFromJSONTyped,
32
32
  AadhaarInputToJSON,
33
33
  } from './AadhaarInput';
34
+ import type { KenyaNidInput } from './KenyaNidInput';
35
+ import {
36
+ KenyaNidInputFromJSON,
37
+ KenyaNidInputFromJSONTyped,
38
+ KenyaNidInputToJSON,
39
+ } from './KenyaNidInput';
40
+ import type { NigeriaNinInput } from './NigeriaNinInput';
41
+ import {
42
+ NigeriaNinInputFromJSON,
43
+ NigeriaNinInputFromJSONTyped,
44
+ NigeriaNinInputToJSON,
45
+ } from './NigeriaNinInput';
34
46
  import type { BrazilCpfCheckInput } from './BrazilCpfCheckInput';
35
47
  import {
36
48
  BrazilCpfCheckInputFromJSON,
37
49
  BrazilCpfCheckInputFromJSONTyped,
38
50
  BrazilCpfCheckInputToJSON,
39
51
  } from './BrazilCpfCheckInput';
52
+ import type { MexicoCurpInput } from './MexicoCurpInput';
53
+ import {
54
+ MexicoCurpInputFromJSON,
55
+ MexicoCurpInputFromJSONTyped,
56
+ MexicoCurpInputToJSON,
57
+ } from './MexicoCurpInput';
40
58
  import type { BrazilDigitalCnhInput } from './BrazilDigitalCnhInput';
41
59
  import {
42
60
  BrazilDigitalCnhInputFromJSON,
43
61
  BrazilDigitalCnhInputFromJSONTyped,
44
62
  BrazilDigitalCnhInputToJSON,
45
63
  } from './BrazilDigitalCnhInput';
64
+ import type { IndonesiaNikInput } from './IndonesiaNikInput';
65
+ import {
66
+ IndonesiaNikInputFromJSON,
67
+ IndonesiaNikInputFromJSONTyped,
68
+ IndonesiaNikInputToJSON,
69
+ } from './IndonesiaNikInput';
70
+ import type { SouthAfricaNidInput } from './SouthAfricaNidInput';
71
+ import {
72
+ SouthAfricaNidInputFromJSON,
73
+ SouthAfricaNidInputFromJSONTyped,
74
+ SouthAfricaNidInputToJSON,
75
+ } from './SouthAfricaNidInput';
46
76
  import type { PhilippineMatchInput } from './PhilippineMatchInput';
47
77
  import {
48
78
  PhilippineMatchInputFromJSON,
@@ -56,42 +86,72 @@ import {
56
86
  * @interface ProviderInput
57
87
  */
58
88
  export interface ProviderInput {
89
+ /**
90
+ * Input for the `f-indonesia-nik` integration
91
+ * @type {IndonesiaNikInput}
92
+ * @memberof ProviderInput
93
+ */
94
+ indonesiaNik?: IndonesiaNikInput | null;
95
+ /**
96
+ * Input for the `f-mexico-curp` integration
97
+ * @type {MexicoCurpInput}
98
+ * @memberof ProviderInput
99
+ */
100
+ mexicoCurp?: MexicoCurpInput | null;
101
+ /**
102
+ * Input for the `f-south-africa-nid` integration
103
+ * @type {SouthAfricaNidInput}
104
+ * @memberof ProviderInput
105
+ */
106
+ southAfricaNid?: SouthAfricaNidInput | null;
107
+ /**
108
+ * Input for the `f-kenya-nid` integration
109
+ * @type {KenyaNidInput}
110
+ * @memberof ProviderInput
111
+ */
112
+ kenyaNid?: KenyaNidInput | null;
113
+ /**
114
+ * Input for the `f-nigeria-nin` integration
115
+ * @type {NigeriaNinInput}
116
+ * @memberof ProviderInput
117
+ */
118
+ nigeriaNin?: NigeriaNinInput | null;
59
119
  /**
60
120
  * Input for the `f-india-aadhaar-match` integration
61
121
  * @type {AadhaarInput}
62
122
  * @memberof ProviderInput
63
123
  */
64
- aadhaar?: AadhaarInput;
124
+ aadhaar?: AadhaarInput | null;
65
125
  /**
66
126
  * Input for the `bangladesh-nid` integration
67
127
  * @type {BangladeshNationalIdInput}
68
128
  * @memberof ProviderInput
69
129
  */
70
- bangladeshNationalId?: BangladeshNationalIdInput;
130
+ bangladeshNationalId?: BangladeshNationalIdInput | null;
71
131
  /**
72
132
  * Input for the `g-brazil-cpf` integration
73
133
  * @type {BrazilCpfCheckInput}
74
134
  * @memberof ProviderInput
75
135
  */
76
- brazilCpfCheck?: BrazilCpfCheckInput;
136
+ brazilCpfCheck?: BrazilCpfCheckInput | null;
77
137
  /**
78
138
  * Input for the `g-brazil-digital-cnh` integration
79
139
  * @type {BrazilDigitalCnhInput}
80
140
  * @memberof ProviderInput
81
141
  */
82
- brazilDigitalCnh?: BrazilDigitalCnhInput;
142
+ brazilDigitalCnh?: BrazilDigitalCnhInput | null;
83
143
  /**
84
144
  * Input for the `b-philsys-biometric` integration
85
145
  * @type {PhilippineMatchInput}
86
146
  * @memberof ProviderInput
87
147
  */
88
- philippineMatch?: PhilippineMatchInput;
148
+ philippineMatch?: PhilippineMatchInput | null;
89
149
  /**
90
150
  * Input for the `b-philippine-qr-digital-national-id` and `b-philippine-qr-ephill-id` integrations
91
151
  * @type {PhilippineQRInput}
92
152
  * @memberof ProviderInput
93
153
  */
94
- philippineQR?: PhilippineQRInput;
154
+ philippineQR?: PhilippineQRInput | null;
95
155
  }
96
156
 
97
157
  /**
@@ -111,6 +171,11 @@ export function ProviderInputFromJSONTyped(json: any, ignoreDiscriminator: boole
111
171
  }
112
172
  return {
113
173
 
174
+ 'indonesiaNik': json['indonesiaNik'] == null ? undefined : IndonesiaNikInputFromJSON(json['indonesiaNik']),
175
+ 'mexicoCurp': json['mexicoCurp'] == null ? undefined : MexicoCurpInputFromJSON(json['mexicoCurp']),
176
+ 'southAfricaNid': json['southAfricaNid'] == null ? undefined : SouthAfricaNidInputFromJSON(json['southAfricaNid']),
177
+ 'kenyaNid': json['kenyaNid'] == null ? undefined : KenyaNidInputFromJSON(json['kenyaNid']),
178
+ 'nigeriaNin': json['nigeriaNin'] == null ? undefined : NigeriaNinInputFromJSON(json['nigeriaNin']),
114
179
  'aadhaar': json['aadhaar'] == null ? undefined : AadhaarInputFromJSON(json['aadhaar']),
115
180
  'bangladeshNationalId': json['bangladeshNationalId'] == null ? undefined : BangladeshNationalIdInputFromJSON(json['bangladeshNationalId']),
116
181
  'brazilCpfCheck': json['brazilCpfCheck'] == null ? undefined : BrazilCpfCheckInputFromJSON(json['brazilCpfCheck']),
@@ -126,6 +191,11 @@ export function ProviderInputToJSON(value?: ProviderInput | null): any {
126
191
  }
127
192
  return {
128
193
 
194
+ 'indonesiaNik': IndonesiaNikInputToJSON(value['indonesiaNik']),
195
+ 'mexicoCurp': MexicoCurpInputToJSON(value['mexicoCurp']),
196
+ 'southAfricaNid': SouthAfricaNidInputToJSON(value['southAfricaNid']),
197
+ 'kenyaNid': KenyaNidInputToJSON(value['kenyaNid']),
198
+ 'nigeriaNin': NigeriaNinInputToJSON(value['nigeriaNin']),
129
199
  'aadhaar': AadhaarInputToJSON(value['aadhaar']),
130
200
  'bangladeshNationalId': BangladeshNationalIdInputToJSON(value['bangladeshNationalId']),
131
201
  'brazilCpfCheck': BrazilCpfCheckInputToJSON(value['brazilCpfCheck']),