@trinsic/api 2.2.0-alpha1 → 2.3.0-alpha1

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 (122) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/dist/apis/EnvironmentRedirectUrisApi.d.ts +109 -0
  3. package/dist/apis/EnvironmentRedirectUrisApi.js +145 -0
  4. package/dist/apis/NetworkApi.d.ts +9 -2
  5. package/dist/apis/NetworkApi.js +4 -0
  6. package/dist/apis/SessionsApi.d.ts +8 -8
  7. package/dist/apis/SessionsApi.js +10 -10
  8. package/dist/apis/VerificationProfilesApi.d.ts +117 -0
  9. package/dist/apis/VerificationProfilesApi.js +183 -0
  10. package/dist/apis/index.d.ts +2 -0
  11. package/dist/apis/index.js +2 -0
  12. package/dist/esm/apis/EnvironmentRedirectUrisApi.d.ts +109 -0
  13. package/dist/esm/apis/EnvironmentRedirectUrisApi.js +141 -0
  14. package/dist/esm/apis/NetworkApi.d.ts +9 -2
  15. package/dist/esm/apis/NetworkApi.js +4 -0
  16. package/dist/esm/apis/SessionsApi.d.ts +8 -8
  17. package/dist/esm/apis/SessionsApi.js +10 -10
  18. package/dist/esm/apis/VerificationProfilesApi.d.ts +117 -0
  19. package/dist/esm/apis/VerificationProfilesApi.js +179 -0
  20. package/dist/esm/apis/index.d.ts +2 -0
  21. package/dist/esm/apis/index.js +2 -0
  22. package/dist/esm/models/AddRedirectUriResponse.d.ts +32 -0
  23. package/dist/esm/models/AddRedirectUriResponse.js +43 -0
  24. package/dist/esm/models/ContractField.d.ts +7 -0
  25. package/dist/esm/models/ContractField.js +4 -0
  26. package/dist/esm/models/ContractIdentifierField.d.ts +45 -0
  27. package/dist/esm/models/ContractIdentifierField.js +52 -0
  28. package/dist/esm/models/CreateVerificationProfileResponse.d.ts +32 -0
  29. package/dist/esm/models/CreateVerificationProfileResponse.js +43 -0
  30. package/dist/esm/models/EnvironmentRedirectUrisAddRequest.d.ts +32 -0
  31. package/dist/esm/models/EnvironmentRedirectUrisAddRequest.js +43 -0
  32. package/dist/esm/models/FaydaProviderOutput.d.ts +35 -0
  33. package/dist/esm/models/FaydaProviderOutput.js +41 -0
  34. package/dist/esm/models/Identifier.d.ts +44 -0
  35. package/dist/esm/models/Identifier.js +51 -0
  36. package/dist/esm/models/IdentityData.d.ts +14 -0
  37. package/dist/esm/models/IdentityData.js +8 -0
  38. package/dist/esm/models/ListEnvironmentRedirectUrisResponse.d.ts +39 -0
  39. package/dist/esm/models/ListEnvironmentRedirectUrisResponse.js +48 -0
  40. package/dist/esm/models/ListVerificationProfilesResponse.d.ts +39 -0
  41. package/dist/esm/models/ListVerificationProfilesResponse.js +48 -0
  42. package/dist/esm/models/MexicoCurpProviderOutput.d.ts +44 -0
  43. package/dist/esm/models/MexicoCurpProviderOutput.js +41 -0
  44. package/dist/esm/models/ProviderContract.d.ts +7 -0
  45. package/dist/esm/models/ProviderContract.js +3 -0
  46. package/dist/esm/models/ProviderOutput.d.ts +47 -0
  47. package/dist/esm/models/ProviderOutput.js +48 -0
  48. package/dist/esm/models/RedirectUriResponse.d.ts +38 -0
  49. package/dist/esm/models/RedirectUriResponse.js +47 -0
  50. package/dist/esm/models/SpidBillingInformation.d.ts +48 -0
  51. package/dist/esm/models/SpidBillingInformation.js +51 -0
  52. package/dist/esm/models/SpidInput.d.ts +11 -0
  53. package/dist/esm/models/SpidInput.js +2 -0
  54. package/dist/esm/models/SpidProviderOutput.d.ts +62 -0
  55. package/dist/esm/models/SpidProviderOutput.js +50 -0
  56. package/dist/esm/models/VerificationProfileResponse.d.ts +62 -0
  57. package/dist/esm/models/VerificationProfileResponse.js +63 -0
  58. package/dist/esm/models/index.d.ts +14 -0
  59. package/dist/esm/models/index.js +14 -0
  60. package/dist/models/AddRedirectUriResponse.d.ts +32 -0
  61. package/dist/models/AddRedirectUriResponse.js +50 -0
  62. package/dist/models/ContractField.d.ts +7 -0
  63. package/dist/models/ContractField.js +4 -0
  64. package/dist/models/ContractIdentifierField.d.ts +45 -0
  65. package/dist/models/ContractIdentifierField.js +59 -0
  66. package/dist/models/CreateVerificationProfileResponse.d.ts +32 -0
  67. package/dist/models/CreateVerificationProfileResponse.js +50 -0
  68. package/dist/models/EnvironmentRedirectUrisAddRequest.d.ts +32 -0
  69. package/dist/models/EnvironmentRedirectUrisAddRequest.js +50 -0
  70. package/dist/models/FaydaProviderOutput.d.ts +35 -0
  71. package/dist/models/FaydaProviderOutput.js +48 -0
  72. package/dist/models/Identifier.d.ts +44 -0
  73. package/dist/models/Identifier.js +58 -0
  74. package/dist/models/IdentityData.d.ts +14 -0
  75. package/dist/models/IdentityData.js +8 -0
  76. package/dist/models/ListEnvironmentRedirectUrisResponse.d.ts +39 -0
  77. package/dist/models/ListEnvironmentRedirectUrisResponse.js +55 -0
  78. package/dist/models/ListVerificationProfilesResponse.d.ts +39 -0
  79. package/dist/models/ListVerificationProfilesResponse.js +55 -0
  80. package/dist/models/MexicoCurpProviderOutput.d.ts +44 -0
  81. package/dist/models/MexicoCurpProviderOutput.js +48 -0
  82. package/dist/models/ProviderContract.d.ts +7 -0
  83. package/dist/models/ProviderContract.js +3 -0
  84. package/dist/models/ProviderOutput.d.ts +47 -0
  85. package/dist/models/ProviderOutput.js +55 -0
  86. package/dist/models/RedirectUriResponse.d.ts +38 -0
  87. package/dist/models/RedirectUriResponse.js +54 -0
  88. package/dist/models/SpidBillingInformation.d.ts +48 -0
  89. package/dist/models/SpidBillingInformation.js +58 -0
  90. package/dist/models/SpidInput.d.ts +11 -0
  91. package/dist/models/SpidInput.js +2 -0
  92. package/dist/models/SpidProviderOutput.d.ts +62 -0
  93. package/dist/models/SpidProviderOutput.js +57 -0
  94. package/dist/models/VerificationProfileResponse.d.ts +62 -0
  95. package/dist/models/VerificationProfileResponse.js +70 -0
  96. package/dist/models/index.d.ts +14 -0
  97. package/dist/models/index.js +14 -0
  98. package/package.json +1 -1
  99. package/src/apis/EnvironmentRedirectUrisApi.ts +235 -0
  100. package/src/apis/NetworkApi.ts +9 -2
  101. package/src/apis/SessionsApi.ts +18 -18
  102. package/src/apis/VerificationProfilesApi.ts +294 -0
  103. package/src/apis/index.ts +2 -0
  104. package/src/models/AddRedirectUriResponse.ts +66 -0
  105. package/src/models/ContractField.ts +10 -0
  106. package/src/models/ContractIdentifierField.ts +94 -0
  107. package/src/models/CreateVerificationProfileResponse.ts +66 -0
  108. package/src/models/EnvironmentRedirectUrisAddRequest.ts +66 -0
  109. package/src/models/FaydaProviderOutput.ts +68 -0
  110. package/src/models/Identifier.ts +84 -0
  111. package/src/models/IdentityData.ts +31 -0
  112. package/src/models/ListEnvironmentRedirectUrisResponse.ts +83 -0
  113. package/src/models/ListVerificationProfilesResponse.ts +83 -0
  114. package/src/models/MexicoCurpProviderOutput.ts +77 -0
  115. package/src/models/ProviderContract.ts +15 -0
  116. package/src/models/ProviderOutput.ts +103 -0
  117. package/src/models/RedirectUriResponse.ts +75 -0
  118. package/src/models/SpidBillingInformation.ts +88 -0
  119. package/src/models/SpidInput.ts +13 -0
  120. package/src/models/SpidProviderOutput.ts +110 -0
  121. package/src/models/VerificationProfileResponse.ts +111 -0
  122. package/src/models/index.ts +14 -0
@@ -0,0 +1,117 @@
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 * as runtime from '../runtime';
13
+ import type { CreateVerificationProfileResponse, ListVerificationProfilesResponse, VerificationProfileResponse } from '../models/index';
14
+ export interface CreateVerificationProfileRequest {
15
+ alias: string;
16
+ brandName: string;
17
+ primaryColor?: string;
18
+ providers?: Array<string>;
19
+ logo?: Blob;
20
+ }
21
+ export interface GetVerificationProfileByIdRequest {
22
+ id: string;
23
+ }
24
+ export interface ListVerificationProfilesRequest {
25
+ page?: number;
26
+ pageSize?: number;
27
+ }
28
+ /**
29
+ * VerificationProfilesApi - interface
30
+ *
31
+ * @export
32
+ * @interface VerificationProfilesApiInterface
33
+ */
34
+ export interface VerificationProfilesApiInterface {
35
+ /**
36
+ * Creates a new verification profile within your organization.
37
+ * @summary Create Verification Profile
38
+ * @param {string} alias An alias of the verification profile shown to developers and administrators.
39
+ * @param {string} brandName The brand name of the verification profile shown to end-users.
40
+ * @param {string} [primaryColor] The primary color of the verification profile. Must be a 6-character hex string prefixed with a \\\&#39;#\\\&#39; character. Example: #000000
41
+ * @param {Array<string>} [providers] The list of providers you\\\&#39;d like to select for this profile. We will not currently enable any providers.
42
+ * @param {Blob} [logo] The logo of the verification profile.
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ * @memberof VerificationProfilesApiInterface
46
+ */
47
+ createVerificationProfileRaw(requestParameters: CreateVerificationProfileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateVerificationProfileResponse>>;
48
+ /**
49
+ * Creates a new verification profile within your organization.
50
+ * Create Verification Profile
51
+ */
52
+ createVerificationProfile(alias: string, brandName: string, primaryColor?: string, providers?: Array<string>, logo?: Blob, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse>;
53
+ /**
54
+ * Gets a specific verification profile by ID.
55
+ * @summary Get Verification Profile
56
+ * @param {string} id
57
+ * @param {*} [options] Override http request option.
58
+ * @throws {RequiredError}
59
+ * @memberof VerificationProfilesApiInterface
60
+ */
61
+ getVerificationProfileByIdRaw(requestParameters: GetVerificationProfileByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerificationProfileResponse>>;
62
+ /**
63
+ * Gets a specific verification profile by ID.
64
+ * Get Verification Profile
65
+ */
66
+ getVerificationProfileById(id: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VerificationProfileResponse>;
67
+ /**
68
+ * List the verification profiles for the current organization and environment.
69
+ * @summary List Verification Profiles
70
+ * @param {number} [page]
71
+ * @param {number} [pageSize] Size of the list to be returned. Accepted range from 1 to 100
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ * @memberof VerificationProfilesApiInterface
75
+ */
76
+ listVerificationProfilesRaw(requestParameters: ListVerificationProfilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListVerificationProfilesResponse>>;
77
+ /**
78
+ * List the verification profiles for the current organization and environment.
79
+ * List Verification Profiles
80
+ */
81
+ listVerificationProfiles(page?: number, pageSize?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListVerificationProfilesResponse>;
82
+ }
83
+ /**
84
+ *
85
+ */
86
+ export declare class VerificationProfilesApi extends runtime.BaseAPI implements VerificationProfilesApiInterface {
87
+ /**
88
+ * Creates a new verification profile within your organization.
89
+ * Create Verification Profile
90
+ */
91
+ createVerificationProfileRaw(requestParameters: CreateVerificationProfileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateVerificationProfileResponse>>;
92
+ /**
93
+ * Creates a new verification profile within your organization.
94
+ * Create Verification Profile
95
+ */
96
+ createVerificationProfile(alias: string, brandName: string, primaryColor?: string, providers?: Array<string>, logo?: Blob, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse>;
97
+ /**
98
+ * Gets a specific verification profile by ID.
99
+ * Get Verification Profile
100
+ */
101
+ getVerificationProfileByIdRaw(requestParameters: GetVerificationProfileByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerificationProfileResponse>>;
102
+ /**
103
+ * Gets a specific verification profile by ID.
104
+ * Get Verification Profile
105
+ */
106
+ getVerificationProfileById(id: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VerificationProfileResponse>;
107
+ /**
108
+ * List the verification profiles for the current organization and environment.
109
+ * List Verification Profiles
110
+ */
111
+ listVerificationProfilesRaw(requestParameters: ListVerificationProfilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListVerificationProfilesResponse>>;
112
+ /**
113
+ * List the verification profiles for the current organization and environment.
114
+ * List Verification Profiles
115
+ */
116
+ listVerificationProfiles(page?: number, pageSize?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListVerificationProfilesResponse>;
117
+ }
@@ -0,0 +1,179 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import * as runtime from '../runtime';
24
+ import { CreateVerificationProfileResponseFromJSON, ListVerificationProfilesResponseFromJSON, VerificationProfileResponseFromJSON, } from '../models/index';
25
+ /**
26
+ *
27
+ */
28
+ export class VerificationProfilesApi extends runtime.BaseAPI {
29
+ /**
30
+ * Creates a new verification profile within your organization.
31
+ * Create Verification Profile
32
+ */
33
+ createVerificationProfileRaw(requestParameters, initOverrides) {
34
+ return __awaiter(this, void 0, void 0, function* () {
35
+ if (requestParameters['alias'] == null) {
36
+ throw new runtime.RequiredError('alias', 'Required parameter "alias" was null or undefined when calling createVerificationProfile().');
37
+ }
38
+ if (requestParameters['brandName'] == null) {
39
+ throw new runtime.RequiredError('brandName', 'Required parameter "brandName" was null or undefined when calling createVerificationProfile().');
40
+ }
41
+ const queryParameters = {};
42
+ const headerParameters = {};
43
+ if (this.configuration && this.configuration.accessToken) {
44
+ const token = this.configuration.accessToken;
45
+ const tokenString = yield token("Bearer", []);
46
+ if (tokenString) {
47
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
48
+ }
49
+ }
50
+ const consumes = [
51
+ { contentType: 'multipart/form-data' },
52
+ ];
53
+ // @ts-ignore: canConsumeForm may be unused
54
+ const canConsumeForm = runtime.canConsumeForm(consumes);
55
+ let formParams;
56
+ let useForm = false;
57
+ // use FormData to transmit files using content-type "multipart/form-data"
58
+ useForm = canConsumeForm;
59
+ if (useForm) {
60
+ formParams = new FormData();
61
+ }
62
+ else {
63
+ formParams = new URLSearchParams();
64
+ }
65
+ if (requestParameters['alias'] != null) {
66
+ formParams.append('Alias', requestParameters['alias']);
67
+ }
68
+ if (requestParameters['brandName'] != null) {
69
+ formParams.append('BrandName', requestParameters['brandName']);
70
+ }
71
+ if (requestParameters['primaryColor'] != null) {
72
+ formParams.append('PrimaryColor', requestParameters['primaryColor']);
73
+ }
74
+ if (requestParameters['providers'] != null) {
75
+ requestParameters['providers'].forEach((element) => {
76
+ formParams.append('Providers', element);
77
+ });
78
+ }
79
+ if (requestParameters['logo'] != null) {
80
+ formParams.append('Logo', requestParameters['logo']);
81
+ }
82
+ const response = yield this.request({
83
+ path: `/api/valpha/verification-profiles`,
84
+ method: 'POST',
85
+ headers: headerParameters,
86
+ query: queryParameters,
87
+ body: formParams,
88
+ }, initOverrides);
89
+ return new runtime.JSONApiResponse(response, (jsonValue) => CreateVerificationProfileResponseFromJSON(jsonValue));
90
+ });
91
+ }
92
+ /**
93
+ * Creates a new verification profile within your organization.
94
+ * Create Verification Profile
95
+ */
96
+ createVerificationProfile(alias, brandName, primaryColor, providers, logo, initOverrides) {
97
+ return __awaiter(this, void 0, void 0, function* () {
98
+ const response = yield this.createVerificationProfileRaw({ alias: alias, brandName: brandName, primaryColor: primaryColor, providers: providers, logo: logo }, initOverrides);
99
+ return yield response.value();
100
+ });
101
+ }
102
+ /**
103
+ * Gets a specific verification profile by ID.
104
+ * Get Verification Profile
105
+ */
106
+ getVerificationProfileByIdRaw(requestParameters, initOverrides) {
107
+ return __awaiter(this, void 0, void 0, function* () {
108
+ if (requestParameters['id'] == null) {
109
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getVerificationProfileById().');
110
+ }
111
+ const queryParameters = {};
112
+ const headerParameters = {};
113
+ if (this.configuration && this.configuration.accessToken) {
114
+ const token = this.configuration.accessToken;
115
+ const tokenString = yield token("Bearer", []);
116
+ if (tokenString) {
117
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
118
+ }
119
+ }
120
+ const response = yield this.request({
121
+ path: `/api/valpha/verification-profiles/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
122
+ method: 'GET',
123
+ headers: headerParameters,
124
+ query: queryParameters,
125
+ }, initOverrides);
126
+ return new runtime.JSONApiResponse(response, (jsonValue) => VerificationProfileResponseFromJSON(jsonValue));
127
+ });
128
+ }
129
+ /**
130
+ * Gets a specific verification profile by ID.
131
+ * Get Verification Profile
132
+ */
133
+ getVerificationProfileById(id, initOverrides) {
134
+ return __awaiter(this, void 0, void 0, function* () {
135
+ const response = yield this.getVerificationProfileByIdRaw({ id: id }, initOverrides);
136
+ return yield response.value();
137
+ });
138
+ }
139
+ /**
140
+ * List the verification profiles for the current organization and environment.
141
+ * List Verification Profiles
142
+ */
143
+ listVerificationProfilesRaw(requestParameters, initOverrides) {
144
+ return __awaiter(this, void 0, void 0, function* () {
145
+ const queryParameters = {};
146
+ if (requestParameters['page'] != null) {
147
+ queryParameters['page'] = requestParameters['page'];
148
+ }
149
+ if (requestParameters['pageSize'] != null) {
150
+ queryParameters['pageSize'] = requestParameters['pageSize'];
151
+ }
152
+ const headerParameters = {};
153
+ if (this.configuration && this.configuration.accessToken) {
154
+ const token = this.configuration.accessToken;
155
+ const tokenString = yield token("Bearer", []);
156
+ if (tokenString) {
157
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
158
+ }
159
+ }
160
+ const response = yield this.request({
161
+ path: `/api/valpha/verification-profiles`,
162
+ method: 'GET',
163
+ headers: headerParameters,
164
+ query: queryParameters,
165
+ }, initOverrides);
166
+ return new runtime.JSONApiResponse(response, (jsonValue) => ListVerificationProfilesResponseFromJSON(jsonValue));
167
+ });
168
+ }
169
+ /**
170
+ * List the verification profiles for the current organization and environment.
171
+ * List Verification Profiles
172
+ */
173
+ listVerificationProfiles(page, pageSize, initOverrides) {
174
+ return __awaiter(this, void 0, void 0, function* () {
175
+ const response = yield this.listVerificationProfilesRaw({ page: page, pageSize: pageSize }, initOverrides);
176
+ return yield response.value();
177
+ });
178
+ }
179
+ }
@@ -1,4 +1,6 @@
1
1
  export * from './AttachmentsApi';
2
+ export * from './EnvironmentRedirectUrisApi';
2
3
  export * from './MdlApi';
3
4
  export * from './NetworkApi';
4
5
  export * from './SessionsApi';
6
+ export * from './VerificationProfilesApi';
@@ -1,6 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export * from './AttachmentsApi';
4
+ export * from './EnvironmentRedirectUrisApi';
4
5
  export * from './MdlApi';
5
6
  export * from './NetworkApi';
6
7
  export * from './SessionsApi';
8
+ export * from './VerificationProfilesApi';
@@ -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,43 @@
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 AddRedirectUriResponse interface.
16
+ */
17
+ export function instanceOfAddRedirectUriResponse(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function AddRedirectUriResponseFromJSON(json) {
23
+ return AddRedirectUriResponseFromJSONTyped(json, false);
24
+ }
25
+ export function AddRedirectUriResponseFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'id': json['id'],
31
+ };
32
+ }
33
+ export function AddRedirectUriResponseToJSON(json) {
34
+ return AddRedirectUriResponseToJSONTyped(json, false);
35
+ }
36
+ export function AddRedirectUriResponseToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'id': value['id'],
42
+ };
43
+ }
@@ -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}
@@ -18,6 +18,8 @@ import { FieldAvailabilityFromJSON, FieldAvailabilityToJSON, } from './FieldAvai
18
18
  export function instanceOfContractField(value) {
19
19
  if (!('name' in value) || value['name'] === undefined)
20
20
  return false;
21
+ if (!('scope' in value) || value['scope'] === undefined)
22
+ return false;
21
23
  if (!('outputted' in value) || value['outputted'] === undefined)
22
24
  return false;
23
25
  return true;
@@ -31,6 +33,7 @@ export function ContractFieldFromJSONTyped(json, ignoreDiscriminator) {
31
33
  }
32
34
  return {
33
35
  'name': json['name'],
36
+ 'scope': json['scope'],
34
37
  'outputted': FieldAvailabilityFromJSON(json['outputted']),
35
38
  };
36
39
  }
@@ -43,6 +46,7 @@ export function ContractFieldToJSONTyped(value, ignoreDiscriminator = false) {
43
46
  }
44
47
  return {
45
48
  'name': value['name'],
49
+ 'scope': value['scope'],
46
50
  'outputted': FieldAvailabilityToJSON(value['outputted']),
47
51
  };
48
52
  }
@@ -0,0 +1,45 @@
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 { FieldAvailability } from './FieldAvailability';
13
+ /**
14
+ * Information about an identifier a Provider returns in verification results.
15
+ * @export
16
+ * @interface ContractIdentifierField
17
+ */
18
+ export interface ContractIdentifierField {
19
+ /**
20
+ * The scope of the identifier as it appears in verification results.
21
+ * @type {string}
22
+ * @memberof ContractIdentifierField
23
+ */
24
+ scope: string;
25
+ /**
26
+ * Indicates when this field will be present in verification results.
27
+ * @type {FieldAvailability}
28
+ * @memberof ContractIdentifierField
29
+ */
30
+ outputted: FieldAvailability;
31
+ /**
32
+ * A human-readable description of the identifier, written by Trinsic.
33
+ * @type {string}
34
+ * @memberof ContractIdentifierField
35
+ */
36
+ description: string;
37
+ }
38
+ /**
39
+ * Check if a given object implements the ContractIdentifierField interface.
40
+ */
41
+ export declare function instanceOfContractIdentifierField(value: object): value is ContractIdentifierField;
42
+ export declare function ContractIdentifierFieldFromJSON(json: any): ContractIdentifierField;
43
+ export declare function ContractIdentifierFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractIdentifierField;
44
+ export declare function ContractIdentifierFieldToJSON(json: any): ContractIdentifierField;
45
+ export declare function ContractIdentifierFieldToJSONTyped(value?: ContractIdentifierField | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { FieldAvailabilityFromJSON, FieldAvailabilityToJSON, } from './FieldAvailability';
15
+ /**
16
+ * Check if a given object implements the ContractIdentifierField interface.
17
+ */
18
+ export function instanceOfContractIdentifierField(value) {
19
+ if (!('scope' in value) || value['scope'] === undefined)
20
+ return false;
21
+ if (!('outputted' in value) || value['outputted'] === undefined)
22
+ return false;
23
+ if (!('description' in value) || value['description'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function ContractIdentifierFieldFromJSON(json) {
28
+ return ContractIdentifierFieldFromJSONTyped(json, false);
29
+ }
30
+ export function ContractIdentifierFieldFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'scope': json['scope'],
36
+ 'outputted': FieldAvailabilityFromJSON(json['outputted']),
37
+ 'description': json['description'],
38
+ };
39
+ }
40
+ export function ContractIdentifierFieldToJSON(json) {
41
+ return ContractIdentifierFieldToJSONTyped(json, false);
42
+ }
43
+ export function ContractIdentifierFieldToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'scope': value['scope'],
49
+ 'outputted': FieldAvailabilityToJSON(value['outputted']),
50
+ 'description': value['description'],
51
+ };
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 CreateVerificationProfileResponse
16
+ */
17
+ export interface CreateVerificationProfileResponse {
18
+ /**
19
+ * The ID of the verification profile
20
+ * @type {string}
21
+ * @memberof CreateVerificationProfileResponse
22
+ */
23
+ id: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the CreateVerificationProfileResponse interface.
27
+ */
28
+ export declare function instanceOfCreateVerificationProfileResponse(value: object): value is CreateVerificationProfileResponse;
29
+ export declare function CreateVerificationProfileResponseFromJSON(json: any): CreateVerificationProfileResponse;
30
+ export declare function CreateVerificationProfileResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateVerificationProfileResponse;
31
+ export declare function CreateVerificationProfileResponseToJSON(json: any): CreateVerificationProfileResponse;
32
+ export declare function CreateVerificationProfileResponseToJSONTyped(value?: CreateVerificationProfileResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,43 @@
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 CreateVerificationProfileResponse interface.
16
+ */
17
+ export function instanceOfCreateVerificationProfileResponse(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function CreateVerificationProfileResponseFromJSON(json) {
23
+ return CreateVerificationProfileResponseFromJSONTyped(json, false);
24
+ }
25
+ export function CreateVerificationProfileResponseFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'id': json['id'],
31
+ };
32
+ }
33
+ export function CreateVerificationProfileResponseToJSON(json) {
34
+ return CreateVerificationProfileResponseToJSONTyped(json, false);
35
+ }
36
+ export function CreateVerificationProfileResponseToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'id': value['id'],
42
+ };
43
+ }
@@ -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 EnvironmentRedirectUrisAddRequest
16
+ */
17
+ export interface EnvironmentRedirectUrisAddRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof EnvironmentRedirectUrisAddRequest
22
+ */
23
+ uri: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the EnvironmentRedirectUrisAddRequest interface.
27
+ */
28
+ export declare function instanceOfEnvironmentRedirectUrisAddRequest(value: object): value is EnvironmentRedirectUrisAddRequest;
29
+ export declare function EnvironmentRedirectUrisAddRequestFromJSON(json: any): EnvironmentRedirectUrisAddRequest;
30
+ export declare function EnvironmentRedirectUrisAddRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnvironmentRedirectUrisAddRequest;
31
+ export declare function EnvironmentRedirectUrisAddRequestToJSON(json: any): EnvironmentRedirectUrisAddRequest;
32
+ export declare function EnvironmentRedirectUrisAddRequestToJSONTyped(value?: EnvironmentRedirectUrisAddRequest | null, ignoreDiscriminator?: boolean): any;