@blockscout/autoscout-types 1.2.0 → 1.3.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.
- package/dist/v1/autoscout.d.ts +16 -1
- package/dist/v1/autoscout.js +1 -1
- package/dist/v1/autoscout.ts +20 -2
- package/dist/v1/config.js +1 -1
- package/dist/v1/config.ts +1 -1
- package/dist/v1/config_schema.js +1 -1
- package/dist/v1/config_schema.ts +1 -1
- package/package.json +1 -1
package/dist/v1/autoscout.d.ts
CHANGED
|
@@ -114,6 +114,8 @@ export interface AuthToken {
|
|
|
114
114
|
name: string;
|
|
115
115
|
token_value: string;
|
|
116
116
|
created_at: string;
|
|
117
|
+
id: string;
|
|
118
|
+
expires_at?: string | undefined;
|
|
117
119
|
}
|
|
118
120
|
export interface Deposit {
|
|
119
121
|
id: string;
|
|
@@ -236,8 +238,13 @@ export interface GetDeploymentLogRequest {
|
|
|
236
238
|
}
|
|
237
239
|
export interface GetProfileRequest {
|
|
238
240
|
}
|
|
241
|
+
export interface ListAuthTokensRequest {
|
|
242
|
+
page?: number | undefined;
|
|
243
|
+
per_page?: number | undefined;
|
|
244
|
+
}
|
|
239
245
|
export interface ListAuthTokensResponse {
|
|
240
246
|
items: AuthToken[];
|
|
247
|
+
pagination: PaginationResult | undefined;
|
|
241
248
|
}
|
|
242
249
|
export interface RegisterProfileRequest {
|
|
243
250
|
email: string;
|
|
@@ -250,6 +257,12 @@ export interface RegisterProfileResponse {
|
|
|
250
257
|
}
|
|
251
258
|
export interface CreateAuthTokenRequest {
|
|
252
259
|
name: string;
|
|
260
|
+
lifetime_days?: number | undefined;
|
|
261
|
+
}
|
|
262
|
+
export interface DeleteAuthTokenRequest {
|
|
263
|
+
token_id: string;
|
|
264
|
+
}
|
|
265
|
+
export interface DeleteAuthTokenResponse {
|
|
253
266
|
}
|
|
254
267
|
export interface GetLatestTermsOfServiceRequest {
|
|
255
268
|
}
|
|
@@ -328,7 +341,9 @@ export interface Autoscout {
|
|
|
328
341
|
/** Generate auth api token for current account */
|
|
329
342
|
CreateAuthToken(request: CreateAuthTokenRequest): Promise<AuthToken>;
|
|
330
343
|
/** Get list of all auth tokens for current account */
|
|
331
|
-
ListAuthTokens(request:
|
|
344
|
+
ListAuthTokens(request: ListAuthTokensRequest): Promise<ListAuthTokensResponse>;
|
|
345
|
+
/** Delete an auth token from current account */
|
|
346
|
+
DeleteAuthToken(request: DeleteAuthTokenRequest): Promise<DeleteAuthTokenResponse>;
|
|
332
347
|
GetLatestTermsOfService(request: GetLatestTermsOfServiceRequest): Promise<TermsOfService>;
|
|
333
348
|
AcceptTermsOfService(request: AcceptTermsOfServiceRequest): Promise<TermsOfService>;
|
|
334
349
|
ListExternalDeposits(request: ListExternalDepositsRequest): Promise<ListExternalDepositsResponse>;
|
package/dist/v1/autoscout.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.176.2
|
|
5
|
-
// protoc
|
|
5
|
+
// protoc v5.27.0
|
|
6
6
|
// source: v1/autoscout.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.DepositType = exports.DepositStatus = exports.UpdateInstanceAction = exports.DeploymentStatus = void 0;
|
package/dist/v1/autoscout.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
3
|
// protoc-gen-ts_proto v1.176.2
|
|
4
|
-
// protoc
|
|
4
|
+
// protoc v5.27.0
|
|
5
5
|
// source: v1/autoscout.proto
|
|
6
6
|
|
|
7
7
|
/* eslint-disable */
|
|
@@ -133,6 +133,8 @@ export interface AuthToken {
|
|
|
133
133
|
name: string;
|
|
134
134
|
token_value: string;
|
|
135
135
|
created_at: string;
|
|
136
|
+
id: string;
|
|
137
|
+
expires_at?: string | undefined;
|
|
136
138
|
}
|
|
137
139
|
|
|
138
140
|
export interface Deposit {
|
|
@@ -283,8 +285,14 @@ export interface GetDeploymentLogRequest {
|
|
|
283
285
|
export interface GetProfileRequest {
|
|
284
286
|
}
|
|
285
287
|
|
|
288
|
+
export interface ListAuthTokensRequest {
|
|
289
|
+
page?: number | undefined;
|
|
290
|
+
per_page?: number | undefined;
|
|
291
|
+
}
|
|
292
|
+
|
|
286
293
|
export interface ListAuthTokensResponse {
|
|
287
294
|
items: AuthToken[];
|
|
295
|
+
pagination: PaginationResult | undefined;
|
|
288
296
|
}
|
|
289
297
|
|
|
290
298
|
export interface RegisterProfileRequest {
|
|
@@ -300,6 +308,14 @@ export interface RegisterProfileResponse {
|
|
|
300
308
|
|
|
301
309
|
export interface CreateAuthTokenRequest {
|
|
302
310
|
name: string;
|
|
311
|
+
lifetime_days?: number | undefined;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export interface DeleteAuthTokenRequest {
|
|
315
|
+
token_id: string;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export interface DeleteAuthTokenResponse {
|
|
303
319
|
}
|
|
304
320
|
|
|
305
321
|
export interface GetLatestTermsOfServiceRequest {
|
|
@@ -393,7 +409,9 @@ export interface Autoscout {
|
|
|
393
409
|
/** Generate auth api token for current account */
|
|
394
410
|
CreateAuthToken(request: CreateAuthTokenRequest): Promise<AuthToken>;
|
|
395
411
|
/** Get list of all auth tokens for current account */
|
|
396
|
-
ListAuthTokens(request:
|
|
412
|
+
ListAuthTokens(request: ListAuthTokensRequest): Promise<ListAuthTokensResponse>;
|
|
413
|
+
/** Delete an auth token from current account */
|
|
414
|
+
DeleteAuthToken(request: DeleteAuthTokenRequest): Promise<DeleteAuthTokenResponse>;
|
|
397
415
|
GetLatestTermsOfService(request: GetLatestTermsOfServiceRequest): Promise<TermsOfService>;
|
|
398
416
|
AcceptTermsOfService(request: AcceptTermsOfServiceRequest): Promise<TermsOfService>;
|
|
399
417
|
ListExternalDeposits(request: ListExternalDepositsRequest): Promise<ListExternalDepositsResponse>;
|
package/dist/v1/config.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.176.2
|
|
5
|
-
// protoc
|
|
5
|
+
// protoc v5.27.0
|
|
6
6
|
// source: v1/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.AdBannerProvider = exports.AdTextProvider = exports.Identicon = exports.ColorTheme = exports.NavigationLayout = exports.NodeType = exports.ChainType = void 0;
|
package/dist/v1/config.ts
CHANGED
package/dist/v1/config_schema.js
CHANGED
package/dist/v1/config_schema.ts
CHANGED