@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.
Files changed (43) hide show
  1. package/.openapi-generator/FILES +1 -2
  2. package/dist/apis/index.d.ts +0 -1
  3. package/dist/apis/index.js +0 -1
  4. package/dist/esm/apis/index.d.ts +0 -1
  5. package/dist/esm/apis/index.js +0 -1
  6. package/dist/esm/models/BangladeshNidInput.d.ts +58 -0
  7. package/dist/esm/models/{BangladeshNationalIdInput.js → BangladeshNidInput.js} +12 -10
  8. package/dist/esm/models/BrazilDigitalCnhInput.d.ts +0 -6
  9. package/dist/esm/models/HttpValidationProblemDetails.d.ts +5 -5
  10. package/dist/esm/models/ProblemDetails.d.ts +5 -5
  11. package/dist/esm/models/ProviderInput.d.ts +3 -3
  12. package/dist/esm/models/ProviderInput.js +3 -3
  13. package/dist/esm/models/RefreshStepContentRequest.d.ts +1 -1
  14. package/dist/esm/models/RefreshStepContentRequest.js +3 -1
  15. package/dist/esm/models/index.d.ts +1 -1
  16. package/dist/esm/models/index.js +1 -1
  17. package/dist/models/BangladeshNidInput.d.ts +58 -0
  18. package/dist/models/{BangladeshNationalIdInput.js → BangladeshNidInput.js} +17 -15
  19. package/dist/models/BrazilDigitalCnhInput.d.ts +0 -6
  20. package/dist/models/HttpValidationProblemDetails.d.ts +5 -5
  21. package/dist/models/ProblemDetails.d.ts +5 -5
  22. package/dist/models/ProviderInput.d.ts +3 -3
  23. package/dist/models/ProviderInput.js +3 -3
  24. package/dist/models/RefreshStepContentRequest.d.ts +1 -1
  25. package/dist/models/RefreshStepContentRequest.js +3 -1
  26. package/dist/models/index.d.ts +1 -1
  27. package/dist/models/index.js +1 -1
  28. package/package.json +1 -1
  29. package/src/apis/index.ts +0 -1
  30. package/src/models/{BangladeshNationalIdInput.ts → BangladeshNidInput.ts} +28 -18
  31. package/src/models/BrazilDigitalCnhInput.ts +0 -6
  32. package/src/models/HttpValidationProblemDetails.ts +5 -5
  33. package/src/models/ProblemDetails.ts +5 -5
  34. package/src/models/ProviderInput.ts +11 -11
  35. package/src/models/RefreshStepContentRequest.ts +3 -2
  36. package/src/models/index.ts +1 -1
  37. package/dist/apis/WellKnownApi.d.ts +0 -41
  38. package/dist/apis/WellKnownApi.js +0 -61
  39. package/dist/esm/apis/WellKnownApi.d.ts +0 -41
  40. package/dist/esm/apis/WellKnownApi.js +0 -57
  41. package/dist/esm/models/BangladeshNationalIdInput.d.ts +0 -50
  42. package/dist/models/BangladeshNationalIdInput.d.ts +0 -50
  43. package/src/apis/WellKnownApi.ts +0 -82
@@ -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
- }