@parra/parra-js-sdk 0.2.69 → 0.2.70
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/ParraAPI.d.ts +9 -3
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -114,6 +114,12 @@ export interface Audience {
|
|
|
114
114
|
export interface CreateSubscriberRequestBody {
|
|
115
115
|
email: string;
|
|
116
116
|
}
|
|
117
|
+
export interface AuthToken {
|
|
118
|
+
access_token: string;
|
|
119
|
+
}
|
|
120
|
+
export interface CreateAuthTokenRequestBody {
|
|
121
|
+
user_id: string;
|
|
122
|
+
}
|
|
117
123
|
export interface Entitlement {
|
|
118
124
|
}
|
|
119
125
|
export declare type Entitlements = Array<Entitlement>;
|
|
@@ -155,6 +161,7 @@ export interface TenantMetrics {
|
|
|
155
161
|
export interface CreateApiKeyRequestBody {
|
|
156
162
|
name: string;
|
|
157
163
|
description?: string | null;
|
|
164
|
+
is_public: boolean;
|
|
158
165
|
}
|
|
159
166
|
export interface ApiKey {
|
|
160
167
|
id: string;
|
|
@@ -163,6 +170,7 @@ export interface ApiKey {
|
|
|
163
170
|
deleted_at?: string | null;
|
|
164
171
|
name: string;
|
|
165
172
|
description?: string | null;
|
|
173
|
+
is_public: boolean;
|
|
166
174
|
tenant_id: string;
|
|
167
175
|
}
|
|
168
176
|
export interface ApiKeyWithSecretResponse {
|
|
@@ -172,6 +180,7 @@ export interface ApiKeyWithSecretResponse {
|
|
|
172
180
|
deleted_at?: string | null;
|
|
173
181
|
name: string;
|
|
174
182
|
description?: string | null;
|
|
183
|
+
is_public: boolean;
|
|
175
184
|
tenant_id: string;
|
|
176
185
|
secret: string;
|
|
177
186
|
}
|
|
@@ -456,9 +465,6 @@ export interface UserCollectionResponse {
|
|
|
456
465
|
export interface CheckAuthorizationRequestBody {
|
|
457
466
|
scope: string;
|
|
458
467
|
}
|
|
459
|
-
export interface AuthToken {
|
|
460
|
-
access_token: string;
|
|
461
|
-
}
|
|
462
468
|
export interface CheckAuthorization {
|
|
463
469
|
allowed: boolean;
|
|
464
470
|
}
|