@trinsic/api 2.0.2 → 2.0.3
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.
- package/.openapi-generator/FILES +1 -2
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/esm/apis/index.d.ts +0 -1
- package/dist/esm/apis/index.js +0 -1
- package/dist/esm/models/BangladeshNidInput.d.ts +58 -0
- package/dist/esm/models/{BangladeshNationalIdInput.js → BangladeshNidInput.js} +12 -10
- package/dist/esm/models/BrazilDigitalCnhInput.d.ts +0 -6
- package/dist/esm/models/HttpValidationProblemDetails.d.ts +5 -5
- package/dist/esm/models/ProblemDetails.d.ts +5 -5
- package/dist/esm/models/ProviderInput.d.ts +3 -3
- package/dist/esm/models/ProviderInput.js +3 -3
- package/dist/esm/models/RefreshStepContentRequest.d.ts +1 -1
- package/dist/esm/models/RefreshStepContentRequest.js +3 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/models/BangladeshNidInput.d.ts +58 -0
- package/dist/models/{BangladeshNationalIdInput.js → BangladeshNidInput.js} +17 -15
- package/dist/models/BrazilDigitalCnhInput.d.ts +0 -6
- package/dist/models/HttpValidationProblemDetails.d.ts +5 -5
- package/dist/models/ProblemDetails.d.ts +5 -5
- package/dist/models/ProviderInput.d.ts +3 -3
- package/dist/models/ProviderInput.js +3 -3
- package/dist/models/RefreshStepContentRequest.d.ts +1 -1
- package/dist/models/RefreshStepContentRequest.js +3 -1
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/package.json +1 -1
- package/src/apis/index.ts +0 -1
- package/src/models/{BangladeshNationalIdInput.ts → BangladeshNidInput.ts} +28 -18
- package/src/models/BrazilDigitalCnhInput.ts +0 -6
- package/src/models/HttpValidationProblemDetails.ts +5 -5
- package/src/models/ProblemDetails.ts +5 -5
- package/src/models/ProviderInput.ts +11 -11
- package/src/models/RefreshStepContentRequest.ts +3 -2
- package/src/models/index.ts +1 -1
- package/dist/apis/WellKnownApi.d.ts +0 -41
- package/dist/apis/WellKnownApi.js +0 -61
- package/dist/esm/apis/WellKnownApi.d.ts +0 -41
- package/dist/esm/apis/WellKnownApi.js +0 -57
- package/dist/esm/models/BangladeshNationalIdInput.d.ts +0 -50
- package/dist/models/BangladeshNationalIdInput.d.ts +0 -50
- package/src/apis/WellKnownApi.ts +0 -82
package/src/apis/WellKnownApi.ts
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
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
|
-
import * as runtime from '../runtime';
|
|
17
|
-
import type {
|
|
18
|
-
ProblemDetails,
|
|
19
|
-
} from '../models/index';
|
|
20
|
-
import {
|
|
21
|
-
ProblemDetailsFromJSON,
|
|
22
|
-
ProblemDetailsToJSON,
|
|
23
|
-
} from '../models/index';
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* WellKnownApi - interface
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
* @interface WellKnownApiInterface
|
|
30
|
-
*/
|
|
31
|
-
export interface WellKnownApiInterface {
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @param {*} [options] Override http request option.
|
|
35
|
-
* @throws {RequiredError}
|
|
36
|
-
* @memberof WellKnownApiInterface
|
|
37
|
-
*/
|
|
38
|
-
interacJwkRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
*/
|
|
42
|
-
interacJwk(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class WellKnownApi extends runtime.BaseAPI implements WellKnownApiInterface {
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
*/
|
|
53
|
-
async interacJwkRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
54
|
-
const queryParameters: any = {};
|
|
55
|
-
|
|
56
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
57
|
-
|
|
58
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
59
|
-
const token = this.configuration.accessToken;
|
|
60
|
-
const tokenString = await token("Bearer", []);
|
|
61
|
-
|
|
62
|
-
if (tokenString) {
|
|
63
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
const response = await this.request({
|
|
67
|
-
path: `/api/integrations/v1/interac/.well-known/jwks.json`,
|
|
68
|
-
method: 'GET',
|
|
69
|
-
headers: headerParameters,
|
|
70
|
-
query: queryParameters,
|
|
71
|
-
}, initOverrides);
|
|
72
|
-
|
|
73
|
-
return new runtime.VoidApiResponse(response);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
*/
|
|
78
|
-
async interacJwk(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
79
|
-
await this.interacJwkRaw(initOverrides);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
}
|