@trinsic/api 2.0.0-alpha3 → 2.0.0

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 (146) hide show
  1. package/.openapi-generator/FILES +11 -3
  2. package/dist/apis/AttachmentsApi.d.ts +4 -4
  3. package/dist/apis/AttachmentsApi.js +2 -2
  4. package/dist/apis/NetworkApi.d.ts +28 -5
  5. package/dist/apis/NetworkApi.js +36 -2
  6. package/dist/apis/SessionsApi.d.ts +8 -8
  7. package/dist/apis/SessionsApi.js +4 -4
  8. package/dist/esm/apis/AttachmentsApi.d.ts +4 -4
  9. package/dist/esm/apis/AttachmentsApi.js +2 -2
  10. package/dist/esm/apis/NetworkApi.d.ts +28 -5
  11. package/dist/esm/apis/NetworkApi.js +37 -3
  12. package/dist/esm/apis/SessionsApi.d.ts +8 -8
  13. package/dist/esm/apis/SessionsApi.js +4 -4
  14. package/dist/esm/models/CreateHostedProviderSessionResponse.d.ts +13 -1
  15. package/dist/esm/models/CreateHostedProviderSessionResponse.js +7 -1
  16. package/dist/esm/models/CreateWidgetSessionRequest.d.ts +6 -5
  17. package/dist/esm/models/CreateWidgetSessionRequest.js +3 -3
  18. package/dist/esm/models/CreateWidgetSessionResponse.d.ts +13 -1
  19. package/dist/esm/models/CreateWidgetSessionResponse.js +7 -1
  20. package/dist/esm/models/IdentityData.d.ts +6 -0
  21. package/dist/esm/models/IdentityData.js +2 -0
  22. package/dist/esm/models/IdinInput.d.ts +33 -0
  23. package/dist/esm/models/IdinInput.js +38 -0
  24. package/dist/esm/models/IntegrationLaunchMethod.d.ts +1 -1
  25. package/dist/esm/models/IntegrationLaunchMethod.js +1 -1
  26. package/dist/esm/models/Language.d.ts +26 -0
  27. package/dist/esm/models/Language.js +42 -0
  28. package/dist/esm/models/ListProviderContractsResponse.d.ts +32 -0
  29. package/dist/esm/models/ListProviderContractsResponse.js +41 -0
  30. package/dist/esm/models/MobileIdInput.d.ts +44 -0
  31. package/dist/esm/models/MobileIdInput.js +43 -0
  32. package/dist/esm/models/ProviderContract.d.ts +146 -0
  33. package/dist/esm/models/ProviderContract.js +97 -0
  34. package/dist/esm/models/ProviderInfo.d.ts +0 -6
  35. package/dist/esm/models/ProviderInfo.js +0 -2
  36. package/dist/esm/models/ProviderInformation.d.ts +4 -4
  37. package/dist/esm/models/ProviderInformation.js +1 -5
  38. package/dist/esm/models/ProviderInput.d.ts +62 -16
  39. package/dist/esm/models/ProviderInput.js +23 -5
  40. package/dist/esm/models/RecommendRequest.d.ts +4 -27
  41. package/dist/esm/models/RecommendRequest.js +3 -10
  42. package/dist/esm/models/RecommendationInfo.d.ts +55 -0
  43. package/dist/esm/models/RecommendationInfo.js +44 -0
  44. package/dist/esm/models/ResultCollection.d.ts +8 -2
  45. package/dist/esm/models/ResultCollection.js +3 -1
  46. package/dist/esm/models/SmartIdInput.d.ts +31 -0
  47. package/dist/esm/models/SmartIdInput.js +38 -0
  48. package/dist/esm/models/SpidInput.d.ts +33 -0
  49. package/dist/esm/models/SpidInput.js +38 -0
  50. package/dist/esm/models/SubProviderMetadata.d.ts +54 -0
  51. package/dist/esm/models/SubProviderMetadata.js +52 -0
  52. package/dist/esm/models/TrinsicTestDatabaseLookupInput.d.ts +66 -0
  53. package/dist/esm/models/TrinsicTestDatabaseLookupInput.js +44 -0
  54. package/dist/esm/models/TrinsicTestSubProvidersInput.d.ts +35 -0
  55. package/dist/esm/models/TrinsicTestSubProvidersInput.js +38 -0
  56. package/dist/esm/models/index.d.ts +11 -3
  57. package/dist/esm/models/index.js +11 -3
  58. package/dist/models/CreateHostedProviderSessionResponse.d.ts +13 -1
  59. package/dist/models/CreateHostedProviderSessionResponse.js +7 -1
  60. package/dist/models/CreateWidgetSessionRequest.d.ts +6 -5
  61. package/dist/models/CreateWidgetSessionRequest.js +3 -3
  62. package/dist/models/CreateWidgetSessionResponse.d.ts +13 -1
  63. package/dist/models/CreateWidgetSessionResponse.js +7 -1
  64. package/dist/models/IdentityData.d.ts +6 -0
  65. package/dist/models/IdentityData.js +2 -0
  66. package/dist/models/IdinInput.d.ts +33 -0
  67. package/dist/models/IdinInput.js +44 -0
  68. package/dist/models/IntegrationLaunchMethod.d.ts +1 -1
  69. package/dist/models/IntegrationLaunchMethod.js +1 -1
  70. package/dist/models/Language.d.ts +26 -0
  71. package/dist/models/Language.js +49 -0
  72. package/dist/models/ListProviderContractsResponse.d.ts +32 -0
  73. package/dist/models/ListProviderContractsResponse.js +47 -0
  74. package/dist/models/MobileIdInput.d.ts +44 -0
  75. package/dist/models/MobileIdInput.js +49 -0
  76. package/dist/models/ProviderContract.d.ts +146 -0
  77. package/dist/models/ProviderContract.js +103 -0
  78. package/dist/models/ProviderInfo.d.ts +0 -6
  79. package/dist/models/ProviderInfo.js +0 -2
  80. package/dist/models/ProviderInformation.d.ts +4 -4
  81. package/dist/models/ProviderInformation.js +1 -5
  82. package/dist/models/ProviderInput.d.ts +62 -16
  83. package/dist/models/ProviderInput.js +23 -5
  84. package/dist/models/RecommendRequest.d.ts +4 -27
  85. package/dist/models/RecommendRequest.js +3 -10
  86. package/dist/models/RecommendationInfo.d.ts +55 -0
  87. package/dist/models/RecommendationInfo.js +50 -0
  88. package/dist/models/ResultCollection.d.ts +8 -2
  89. package/dist/models/ResultCollection.js +3 -1
  90. package/dist/models/SmartIdInput.d.ts +31 -0
  91. package/dist/models/SmartIdInput.js +44 -0
  92. package/dist/models/SpidInput.d.ts +33 -0
  93. package/dist/models/SpidInput.js +44 -0
  94. package/dist/models/SubProviderMetadata.d.ts +54 -0
  95. package/dist/models/SubProviderMetadata.js +58 -0
  96. package/dist/models/TrinsicTestDatabaseLookupInput.d.ts +66 -0
  97. package/dist/models/TrinsicTestDatabaseLookupInput.js +50 -0
  98. package/dist/models/TrinsicTestSubProvidersInput.d.ts +35 -0
  99. package/dist/models/TrinsicTestSubProvidersInput.js +44 -0
  100. package/dist/models/index.d.ts +11 -3
  101. package/dist/models/index.js +11 -3
  102. package/package.json +1 -1
  103. package/src/apis/AttachmentsApi.ts +4 -4
  104. package/src/apis/NetworkApi.ts +58 -4
  105. package/src/apis/SessionsApi.ts +8 -8
  106. package/src/models/BrazilDigitalCnhInput.ts +8 -8
  107. package/src/models/CreateAdvancedProviderSessionRequest.ts +26 -26
  108. package/src/models/CreateHostedProviderSessionResponse.ts +24 -8
  109. package/src/models/CreateWidgetSessionRequest.ts +16 -15
  110. package/src/models/CreateWidgetSessionResponse.ts +22 -6
  111. package/src/models/IdentityData.ts +8 -0
  112. package/src/models/IdinInput.ts +62 -0
  113. package/src/models/IntegrationLaunchMethod.ts +1 -1
  114. package/src/models/Language.ts +51 -0
  115. package/src/models/ListProviderContractsResponse.ts +68 -0
  116. package/src/models/MobileIdInput.ts +85 -0
  117. package/src/models/ProviderContract.ts +235 -0
  118. package/src/models/ProviderInfo.ts +0 -8
  119. package/src/models/ProviderInformation.ts +4 -7
  120. package/src/models/ProviderInput.ts +128 -40
  121. package/src/models/RecommendRequest.ts +12 -37
  122. package/src/models/RecommendationInfo.ts +90 -0
  123. package/src/models/ResultCollection.ts +10 -3
  124. package/src/models/Session.ts +7 -7
  125. package/src/models/SmartIdInput.ts +60 -0
  126. package/src/models/SpidInput.ts +62 -0
  127. package/src/models/StepRefreshInfo.ts +2 -2
  128. package/src/models/SubProviderMetadata.ts +93 -0
  129. package/src/models/TrinsicTestDatabaseLookupInput.ts +101 -0
  130. package/src/models/TrinsicTestSubProvidersInput.ts +64 -0
  131. package/src/models/index.ts +11 -3
  132. package/dist/esm/models/KnownAddress.d.ts +0 -74
  133. package/dist/esm/models/KnownAddress.js +0 -52
  134. package/dist/esm/models/KnownIdentityData.d.ts +0 -34
  135. package/dist/esm/models/KnownIdentityData.js +0 -39
  136. package/dist/esm/models/KnownPersonData.d.ts +0 -74
  137. package/dist/esm/models/KnownPersonData.js +0 -53
  138. package/dist/models/KnownAddress.d.ts +0 -74
  139. package/dist/models/KnownAddress.js +0 -58
  140. package/dist/models/KnownIdentityData.d.ts +0 -34
  141. package/dist/models/KnownIdentityData.js +0 -45
  142. package/dist/models/KnownPersonData.d.ts +0 -74
  143. package/dist/models/KnownPersonData.js +0 -59
  144. package/src/models/KnownAddress.ts +0 -117
  145. package/src/models/KnownIdentityData.ts +0 -69
  146. package/src/models/KnownPersonData.ts +0 -123
@@ -31,17 +31,18 @@ src/models/GetSessionResultRequest.ts
31
31
  src/models/GetSessionResultResponse.ts
32
32
  src/models/HttpValidationProblemDetails.ts
33
33
  src/models/IdentityData.ts
34
+ src/models/IdinInput.ts
34
35
  src/models/IndonesiaNikInput.ts
35
36
  src/models/IntegrationCapability.ts
36
37
  src/models/IntegrationLaunchMethod.ts
37
38
  src/models/IntegrationStep.ts
38
39
  src/models/KenyaNidInput.ts
39
- src/models/KnownAddress.ts
40
- src/models/KnownIdentityData.ts
41
- src/models/KnownPersonData.ts
40
+ src/models/Language.ts
41
+ src/models/ListProviderContractsResponse.ts
42
42
  src/models/ListProvidersResponse.ts
43
43
  src/models/ListSessionsResponse.ts
44
44
  src/models/MexicoCurpInput.ts
45
+ src/models/MobileIdInput.ts
45
46
  src/models/NigeriaNinInput.ts
46
47
  src/models/OrderDirection.ts
47
48
  src/models/PersonData.ts
@@ -49,11 +50,13 @@ src/models/PhilippineMatchInput.ts
49
50
  src/models/PhilippineQRInput.ts
50
51
  src/models/ProblemDetails.ts
51
52
  src/models/ProviderAttachments.ts
53
+ src/models/ProviderContract.ts
52
54
  src/models/ProviderInfo.ts
53
55
  src/models/ProviderInformation.ts
54
56
  src/models/ProviderInput.ts
55
57
  src/models/RecommendRequest.ts
56
58
  src/models/RecommendResponse.ts
59
+ src/models/RecommendationInfo.ts
57
60
  src/models/RefreshStepContentRequest.ts
58
61
  src/models/RefreshStepContentResponse.ts
59
62
  src/models/ResultCollection.ts
@@ -62,8 +65,13 @@ src/models/Session.ts
62
65
  src/models/SessionErrorCode.ts
63
66
  src/models/SessionOrdering.ts
64
67
  src/models/Sex.ts
68
+ src/models/SmartIdInput.ts
65
69
  src/models/SouthAfricaNidInput.ts
70
+ src/models/SpidInput.ts
66
71
  src/models/StepRefreshInfo.ts
72
+ src/models/SubProviderMetadata.ts
73
+ src/models/TrinsicTestDatabaseLookupInput.ts
74
+ src/models/TrinsicTestSubProvidersInput.ts
67
75
  src/models/index.ts
68
76
  src/runtime.ts
69
77
  tsconfig.esm.json
@@ -22,7 +22,7 @@ export interface GetAttachmentOperationRequest {
22
22
  */
23
23
  export interface AttachmentsApiInterface {
24
24
  /**
25
- * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
25
+ * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
26
26
  * @summary Get Attachment
27
27
  * @param {GetAttachmentRequest} [getAttachmentRequest]
28
28
  * @param {*} [options] Override http request option.
@@ -31,7 +31,7 @@ export interface AttachmentsApiInterface {
31
31
  */
32
32
  getAttachmentRaw(requestParameters: GetAttachmentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAttachmentResponse>>;
33
33
  /**
34
- * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
34
+ * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
35
35
  * Get Attachment
36
36
  */
37
37
  getAttachment(getAttachmentRequest?: GetAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAttachmentResponse>;
@@ -41,12 +41,12 @@ export interface AttachmentsApiInterface {
41
41
  */
42
42
  export declare class AttachmentsApi extends runtime.BaseAPI implements AttachmentsApiInterface {
43
43
  /**
44
- * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
44
+ * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
45
45
  * Get Attachment
46
46
  */
47
47
  getAttachmentRaw(requestParameters: GetAttachmentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAttachmentResponse>>;
48
48
  /**
49
- * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
49
+ * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
50
50
  * Get Attachment
51
51
  */
52
52
  getAttachment(getAttachmentRequest?: GetAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAttachmentResponse>;
@@ -30,7 +30,7 @@ const index_1 = require("../models/index");
30
30
  */
31
31
  class AttachmentsApi extends runtime.BaseAPI {
32
32
  /**
33
- * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
33
+ * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
34
34
  * Get Attachment
35
35
  */
36
36
  getAttachmentRaw(requestParameters, initOverrides) {
@@ -56,7 +56,7 @@ class AttachmentsApi extends runtime.BaseAPI {
56
56
  });
57
57
  }
58
58
  /**
59
- * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
59
+ * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
60
60
  * Get Attachment
61
61
  */
62
62
  getAttachment(getAttachmentRequest, initOverrides) {
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { ListProvidersResponse, RecommendRequest, RecommendResponse } from '../models/index';
13
+ import type { ListProviderContractsResponse, ListProvidersResponse, RecommendRequest, RecommendResponse } from '../models/index';
14
14
  export interface RecommendProvidersRequest {
15
15
  recommendRequest?: RecommendRequest;
16
16
  }
@@ -21,9 +21,22 @@ export interface RecommendProvidersRequest {
21
21
  * @interface NetworkApiInterface
22
22
  */
23
23
  export interface NetworkApiInterface {
24
+ /**
25
+ * List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
26
+ * @summary List Provider Contracts
27
+ * @param {*} [options] Override http request option.
28
+ * @throws {RequiredError}
29
+ * @memberof NetworkApiInterface
30
+ */
31
+ listProviderContractsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProviderContractsResponse>>;
32
+ /**
33
+ * List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
34
+ * List Provider Contracts
35
+ */
36
+ listProviderContracts(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProviderContractsResponse>;
24
37
  /**
25
38
  * List all identity providers available for use
26
- * @summary List Identity Providers
39
+ * @summary List Providers
27
40
  * @param {*} [options] Override http request option.
28
41
  * @throws {RequiredError}
29
42
  * @memberof NetworkApiInterface
@@ -31,7 +44,7 @@ export interface NetworkApiInterface {
31
44
  listProvidersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProvidersResponse>>;
32
45
  /**
33
46
  * List all identity providers available for use
34
- * List Identity Providers
47
+ * List Providers
35
48
  */
36
49
  listProviders(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProvidersResponse>;
37
50
  /**
@@ -53,14 +66,24 @@ export interface NetworkApiInterface {
53
66
  *
54
67
  */
55
68
  export declare class NetworkApi extends runtime.BaseAPI implements NetworkApiInterface {
69
+ /**
70
+ * List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
71
+ * List Provider Contracts
72
+ */
73
+ listProviderContractsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProviderContractsResponse>>;
74
+ /**
75
+ * List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
76
+ * List Provider Contracts
77
+ */
78
+ listProviderContracts(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProviderContractsResponse>;
56
79
  /**
57
80
  * List all identity providers available for use
58
- * List Identity Providers
81
+ * List Providers
59
82
  */
60
83
  listProvidersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProvidersResponse>>;
61
84
  /**
62
85
  * List all identity providers available for use
63
- * List Identity Providers
86
+ * List Providers
64
87
  */
65
88
  listProviders(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProvidersResponse>;
66
89
  /**
@@ -29,9 +29,43 @@ const index_1 = require("../models/index");
29
29
  *
30
30
  */
31
31
  class NetworkApi extends runtime.BaseAPI {
32
+ /**
33
+ * List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
34
+ * List Provider Contracts
35
+ */
36
+ listProviderContractsRaw(initOverrides) {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ const queryParameters = {};
39
+ const headerParameters = {};
40
+ if (this.configuration && this.configuration.accessToken) {
41
+ const token = this.configuration.accessToken;
42
+ const tokenString = yield token("Bearer", []);
43
+ if (tokenString) {
44
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
45
+ }
46
+ }
47
+ const response = yield this.request({
48
+ path: `/api/v1/network/providers/contracts`,
49
+ method: 'GET',
50
+ headers: headerParameters,
51
+ query: queryParameters,
52
+ }, initOverrides);
53
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListProviderContractsResponseFromJSON)(jsonValue));
54
+ });
55
+ }
56
+ /**
57
+ * List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
58
+ * List Provider Contracts
59
+ */
60
+ listProviderContracts(initOverrides) {
61
+ return __awaiter(this, void 0, void 0, function* () {
62
+ const response = yield this.listProviderContractsRaw(initOverrides);
63
+ return yield response.value();
64
+ });
65
+ }
32
66
  /**
33
67
  * List all identity providers available for use
34
- * List Identity Providers
68
+ * List Providers
35
69
  */
36
70
  listProvidersRaw(initOverrides) {
37
71
  return __awaiter(this, void 0, void 0, function* () {
@@ -55,7 +89,7 @@ class NetworkApi extends runtime.BaseAPI {
55
89
  }
56
90
  /**
57
91
  * List all identity providers available for use
58
- * List Identity Providers
92
+ * List Providers
59
93
  */
60
94
  listProviders(initOverrides) {
61
95
  return __awaiter(this, void 0, void 0, function* () {
@@ -65,7 +65,7 @@ export interface SessionsApiInterface {
65
65
  */
66
66
  cancelSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CancelSessionResponse>;
67
67
  /**
68
- * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
68
+ * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
69
69
  * @summary Create Advanced Provider Session
70
70
  * @param {CreateAdvancedProviderSessionRequest} [createAdvancedProviderSessionRequest]
71
71
  * @param {*} [options] Override http request option.
@@ -74,7 +74,7 @@ export interface SessionsApiInterface {
74
74
  */
75
75
  createAdvancedProviderSessionRaw(requestParameters: CreateAdvancedProviderSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateAdvancedProviderSessionResponse>>;
76
76
  /**
77
- * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
77
+ * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
78
78
  * Create Advanced Provider Session
79
79
  */
80
80
  createAdvancedProviderSession(createAdvancedProviderSessionRequest?: CreateAdvancedProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateAdvancedProviderSessionResponse>;
@@ -152,7 +152,7 @@ export interface SessionsApiInterface {
152
152
  */
153
153
  listSessions(orderBy?: SessionOrdering, orderDirection?: OrderDirection, pageSize?: number, page?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListSessionsResponse>;
154
154
  /**
155
- * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
155
+ * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
156
156
  * @summary Redact Session
157
157
  * @param {string} sessionId
158
158
  * @param {*} [options] Override http request option.
@@ -161,7 +161,7 @@ export interface SessionsApiInterface {
161
161
  */
162
162
  redactSessionRaw(requestParameters: RedactSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
163
163
  /**
164
- * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
164
+ * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
165
165
  * Redact Session
166
166
  */
167
167
  redactSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
@@ -196,12 +196,12 @@ export declare class SessionsApi extends runtime.BaseAPI implements SessionsApiI
196
196
  */
197
197
  cancelSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CancelSessionResponse>;
198
198
  /**
199
- * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
199
+ * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
200
200
  * Create Advanced Provider Session
201
201
  */
202
202
  createAdvancedProviderSessionRaw(requestParameters: CreateAdvancedProviderSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateAdvancedProviderSessionResponse>>;
203
203
  /**
204
- * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
204
+ * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
205
205
  * Create Advanced Provider Session
206
206
  */
207
207
  createAdvancedProviderSession(createAdvancedProviderSessionRequest?: CreateAdvancedProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateAdvancedProviderSessionResponse>;
@@ -254,12 +254,12 @@ export declare class SessionsApi extends runtime.BaseAPI implements SessionsApiI
254
254
  */
255
255
  listSessions(orderBy?: SessionOrdering, orderDirection?: OrderDirection, pageSize?: number, page?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListSessionsResponse>;
256
256
  /**
257
- * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
257
+ * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
258
258
  * Redact Session
259
259
  */
260
260
  redactSessionRaw(requestParameters: RedactSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
261
261
  /**
262
- * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
262
+ * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
263
263
  * Redact Session
264
264
  */
265
265
  redactSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
@@ -67,7 +67,7 @@ class SessionsApi extends runtime.BaseAPI {
67
67
  });
68
68
  }
69
69
  /**
70
- * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
70
+ * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
71
71
  * Create Advanced Provider Session
72
72
  */
73
73
  createAdvancedProviderSessionRaw(requestParameters, initOverrides) {
@@ -93,7 +93,7 @@ class SessionsApi extends runtime.BaseAPI {
93
93
  });
94
94
  }
95
95
  /**
96
- * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
96
+ * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
97
97
  * Create Advanced Provider Session
98
98
  */
99
99
  createAdvancedProviderSession(createAdvancedProviderSessionRequest, initOverrides) {
@@ -295,7 +295,7 @@ class SessionsApi extends runtime.BaseAPI {
295
295
  });
296
296
  }
297
297
  /**
298
- * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
298
+ * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
299
299
  * Redact Session
300
300
  */
301
301
  redactSessionRaw(requestParameters, initOverrides) {
@@ -322,7 +322,7 @@ class SessionsApi extends runtime.BaseAPI {
322
322
  });
323
323
  }
324
324
  /**
325
- * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
325
+ * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
326
326
  * Redact Session
327
327
  */
328
328
  redactSession(sessionId, initOverrides) {
@@ -22,7 +22,7 @@ export interface GetAttachmentOperationRequest {
22
22
  */
23
23
  export interface AttachmentsApiInterface {
24
24
  /**
25
- * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
25
+ * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
26
26
  * @summary Get Attachment
27
27
  * @param {GetAttachmentRequest} [getAttachmentRequest]
28
28
  * @param {*} [options] Override http request option.
@@ -31,7 +31,7 @@ export interface AttachmentsApiInterface {
31
31
  */
32
32
  getAttachmentRaw(requestParameters: GetAttachmentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAttachmentResponse>>;
33
33
  /**
34
- * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
34
+ * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
35
35
  * Get Attachment
36
36
  */
37
37
  getAttachment(getAttachmentRequest?: GetAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAttachmentResponse>;
@@ -41,12 +41,12 @@ export interface AttachmentsApiInterface {
41
41
  */
42
42
  export declare class AttachmentsApi extends runtime.BaseAPI implements AttachmentsApiInterface {
43
43
  /**
44
- * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
44
+ * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
45
45
  * Get Attachment
46
46
  */
47
47
  getAttachmentRaw(requestParameters: GetAttachmentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAttachmentResponse>>;
48
48
  /**
49
- * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
49
+ * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
50
50
  * Get Attachment
51
51
  */
52
52
  getAttachment(getAttachmentRequest?: GetAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAttachmentResponse>;
@@ -27,7 +27,7 @@ import { GetAttachmentRequestToJSON, GetAttachmentResponseFromJSON, } from '../m
27
27
  */
28
28
  export class AttachmentsApi extends runtime.BaseAPI {
29
29
  /**
30
- * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
30
+ * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
31
31
  * Get Attachment
32
32
  */
33
33
  getAttachmentRaw(requestParameters, initOverrides) {
@@ -53,7 +53,7 @@ export class AttachmentsApi extends runtime.BaseAPI {
53
53
  });
54
54
  }
55
55
  /**
56
- * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
56
+ * Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
57
57
  * Get Attachment
58
58
  */
59
59
  getAttachment(getAttachmentRequest, initOverrides) {
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { ListProvidersResponse, RecommendRequest, RecommendResponse } from '../models/index';
13
+ import type { ListProviderContractsResponse, ListProvidersResponse, RecommendRequest, RecommendResponse } from '../models/index';
14
14
  export interface RecommendProvidersRequest {
15
15
  recommendRequest?: RecommendRequest;
16
16
  }
@@ -21,9 +21,22 @@ export interface RecommendProvidersRequest {
21
21
  * @interface NetworkApiInterface
22
22
  */
23
23
  export interface NetworkApiInterface {
24
+ /**
25
+ * List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
26
+ * @summary List Provider Contracts
27
+ * @param {*} [options] Override http request option.
28
+ * @throws {RequiredError}
29
+ * @memberof NetworkApiInterface
30
+ */
31
+ listProviderContractsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProviderContractsResponse>>;
32
+ /**
33
+ * List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
34
+ * List Provider Contracts
35
+ */
36
+ listProviderContracts(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProviderContractsResponse>;
24
37
  /**
25
38
  * List all identity providers available for use
26
- * @summary List Identity Providers
39
+ * @summary List Providers
27
40
  * @param {*} [options] Override http request option.
28
41
  * @throws {RequiredError}
29
42
  * @memberof NetworkApiInterface
@@ -31,7 +44,7 @@ export interface NetworkApiInterface {
31
44
  listProvidersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProvidersResponse>>;
32
45
  /**
33
46
  * List all identity providers available for use
34
- * List Identity Providers
47
+ * List Providers
35
48
  */
36
49
  listProviders(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProvidersResponse>;
37
50
  /**
@@ -53,14 +66,24 @@ export interface NetworkApiInterface {
53
66
  *
54
67
  */
55
68
  export declare class NetworkApi extends runtime.BaseAPI implements NetworkApiInterface {
69
+ /**
70
+ * List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
71
+ * List Provider Contracts
72
+ */
73
+ listProviderContractsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProviderContractsResponse>>;
74
+ /**
75
+ * List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
76
+ * List Provider Contracts
77
+ */
78
+ listProviderContracts(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProviderContractsResponse>;
56
79
  /**
57
80
  * List all identity providers available for use
58
- * List Identity Providers
81
+ * List Providers
59
82
  */
60
83
  listProvidersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProvidersResponse>>;
61
84
  /**
62
85
  * List all identity providers available for use
63
- * List Identity Providers
86
+ * List Providers
64
87
  */
65
88
  listProviders(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProvidersResponse>;
66
89
  /**
@@ -21,14 +21,48 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
- import { ListProvidersResponseFromJSON, RecommendRequestToJSON, RecommendResponseFromJSON, } from '../models/index';
24
+ import { ListProviderContractsResponseFromJSON, ListProvidersResponseFromJSON, RecommendRequestToJSON, RecommendResponseFromJSON, } from '../models/index';
25
25
  /**
26
26
  *
27
27
  */
28
28
  export class NetworkApi extends runtime.BaseAPI {
29
+ /**
30
+ * List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
31
+ * List Provider Contracts
32
+ */
33
+ listProviderContractsRaw(initOverrides) {
34
+ return __awaiter(this, void 0, void 0, function* () {
35
+ const queryParameters = {};
36
+ const headerParameters = {};
37
+ if (this.configuration && this.configuration.accessToken) {
38
+ const token = this.configuration.accessToken;
39
+ const tokenString = yield token("Bearer", []);
40
+ if (tokenString) {
41
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
42
+ }
43
+ }
44
+ const response = yield this.request({
45
+ path: `/api/v1/network/providers/contracts`,
46
+ method: 'GET',
47
+ headers: headerParameters,
48
+ query: queryParameters,
49
+ }, initOverrides);
50
+ return new runtime.JSONApiResponse(response, (jsonValue) => ListProviderContractsResponseFromJSON(jsonValue));
51
+ });
52
+ }
53
+ /**
54
+ * List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
55
+ * List Provider Contracts
56
+ */
57
+ listProviderContracts(initOverrides) {
58
+ return __awaiter(this, void 0, void 0, function* () {
59
+ const response = yield this.listProviderContractsRaw(initOverrides);
60
+ return yield response.value();
61
+ });
62
+ }
29
63
  /**
30
64
  * List all identity providers available for use
31
- * List Identity Providers
65
+ * List Providers
32
66
  */
33
67
  listProvidersRaw(initOverrides) {
34
68
  return __awaiter(this, void 0, void 0, function* () {
@@ -52,7 +86,7 @@ export class NetworkApi extends runtime.BaseAPI {
52
86
  }
53
87
  /**
54
88
  * List all identity providers available for use
55
- * List Identity Providers
89
+ * List Providers
56
90
  */
57
91
  listProviders(initOverrides) {
58
92
  return __awaiter(this, void 0, void 0, function* () {
@@ -65,7 +65,7 @@ export interface SessionsApiInterface {
65
65
  */
66
66
  cancelSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CancelSessionResponse>;
67
67
  /**
68
- * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
68
+ * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
69
69
  * @summary Create Advanced Provider Session
70
70
  * @param {CreateAdvancedProviderSessionRequest} [createAdvancedProviderSessionRequest]
71
71
  * @param {*} [options] Override http request option.
@@ -74,7 +74,7 @@ export interface SessionsApiInterface {
74
74
  */
75
75
  createAdvancedProviderSessionRaw(requestParameters: CreateAdvancedProviderSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateAdvancedProviderSessionResponse>>;
76
76
  /**
77
- * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
77
+ * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
78
78
  * Create Advanced Provider Session
79
79
  */
80
80
  createAdvancedProviderSession(createAdvancedProviderSessionRequest?: CreateAdvancedProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateAdvancedProviderSessionResponse>;
@@ -152,7 +152,7 @@ export interface SessionsApiInterface {
152
152
  */
153
153
  listSessions(orderBy?: SessionOrdering, orderDirection?: OrderDirection, pageSize?: number, page?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListSessionsResponse>;
154
154
  /**
155
- * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
155
+ * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
156
156
  * @summary Redact Session
157
157
  * @param {string} sessionId
158
158
  * @param {*} [options] Override http request option.
@@ -161,7 +161,7 @@ export interface SessionsApiInterface {
161
161
  */
162
162
  redactSessionRaw(requestParameters: RedactSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
163
163
  /**
164
- * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
164
+ * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
165
165
  * Redact Session
166
166
  */
167
167
  redactSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
@@ -196,12 +196,12 @@ export declare class SessionsApi extends runtime.BaseAPI implements SessionsApiI
196
196
  */
197
197
  cancelSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CancelSessionResponse>;
198
198
  /**
199
- * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
199
+ * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
200
200
  * Create Advanced Provider Session
201
201
  */
202
202
  createAdvancedProviderSessionRaw(requestParameters: CreateAdvancedProviderSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateAdvancedProviderSessionResponse>>;
203
203
  /**
204
- * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
204
+ * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
205
205
  * Create Advanced Provider Session
206
206
  */
207
207
  createAdvancedProviderSession(createAdvancedProviderSessionRequest?: CreateAdvancedProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateAdvancedProviderSessionResponse>;
@@ -254,12 +254,12 @@ export declare class SessionsApi extends runtime.BaseAPI implements SessionsApiI
254
254
  */
255
255
  listSessions(orderBy?: SessionOrdering, orderDirection?: OrderDirection, pageSize?: number, page?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListSessionsResponse>;
256
256
  /**
257
- * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
257
+ * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
258
258
  * Redact Session
259
259
  */
260
260
  redactSessionRaw(requestParameters: RedactSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
261
261
  /**
262
- * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
262
+ * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
263
263
  * Redact Session
264
264
  */
265
265
  redactSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;