@unito/integrations-platform-client 1.0.2 → 1.1.1

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 (2) hide show
  1. package/dist/src/api.d.ts +10 -0
  2. package/package.json +1 -1
package/dist/src/api.d.ts CHANGED
@@ -148,12 +148,22 @@ export type Credential = Base & {
148
148
  integrationId: number;
149
149
  /** The name of the integration. */
150
150
  integrationName: string;
151
+ /** The display name of the integration. */
152
+ integrationDisplayName?: string;
151
153
  /** The id of the authorization. */
152
154
  authorizationId: number;
153
155
  /** The scope of the credential. */
154
156
  scope: 'development' | 'compliance' | 'production' | 'service';
155
157
  /** The id of the Unito User for which this credential belongs to. */
156
158
  unitoUserId: string | null;
159
+ /** The id of the credential account. */
160
+ credentialAccountId?: string | null;
161
+ /** The last time we tried to obtain the latest credential account. */
162
+ lastCredentialAccountAccessAt?: string | null;
163
+ /** The first time obtaining the latest credential account failed. */
164
+ firstFailedCredentialAccountAccessAt?: string | null;
165
+ /** The last time the credential was refreshed. */
166
+ lastRefreshedAt?: string | null;
157
167
  /** The payload of the credential, which conforms to the schema (ex. variables) of the authorization. */
158
168
  payload: {
159
169
  [key: string]: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integrations-platform-client",
3
- "version": "1.0.2",
3
+ "version": "1.1.1",
4
4
  "description": "The Unito Integrations Platform Client",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",