@unito/integrations-platform-client 1.1.0 → 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.
- package/dist/src/api.d.ts +9 -1
- package/package.json +1 -1
package/dist/src/api.d.ts
CHANGED
|
@@ -149,13 +149,21 @@ export type Credential = Base & {
|
|
|
149
149
|
/** The name of the integration. */
|
|
150
150
|
integrationName: string;
|
|
151
151
|
/** The display name of the integration. */
|
|
152
|
-
integrationDisplayName
|
|
152
|
+
integrationDisplayName?: string;
|
|
153
153
|
/** The id of the authorization. */
|
|
154
154
|
authorizationId: number;
|
|
155
155
|
/** The scope of the credential. */
|
|
156
156
|
scope: 'development' | 'compliance' | 'production' | 'service';
|
|
157
157
|
/** The id of the Unito User for which this credential belongs to. */
|
|
158
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;
|
|
159
167
|
/** The payload of the credential, which conforms to the schema (ex. variables) of the authorization. */
|
|
160
168
|
payload: {
|
|
161
169
|
[key: string]: any;
|