@blockscout/autoscout-types 1.6.1 → 1.6.2-alpha.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/v1/autoscout.d.ts +11 -0
- package/dist/v1/autoscout.ts +15 -0
- package/dist/v1/config.d.ts +15 -1
- package/dist/v1/config.js +8 -1
- package/dist/v1/config.ts +20 -2
- package/package.json +1 -1
package/dist/v1/autoscout.d.ts
CHANGED
|
@@ -321,6 +321,16 @@ export interface RegularPromocodeRequest {
|
|
|
321
321
|
export interface RegularPromocodeResponse {
|
|
322
322
|
reward_amount: string;
|
|
323
323
|
}
|
|
324
|
+
export interface CreateUserAcquisitionSourceRequest {
|
|
325
|
+
referrer?: string | undefined;
|
|
326
|
+
utm_source: string;
|
|
327
|
+
utm_medium?: string | undefined;
|
|
328
|
+
utm_campaign?: string | undefined;
|
|
329
|
+
utm_term?: string | undefined;
|
|
330
|
+
utm_content?: string | undefined;
|
|
331
|
+
}
|
|
332
|
+
export interface CreateUserAcquisitionSourceResponse {
|
|
333
|
+
}
|
|
324
334
|
export interface CreateCoinbaseDepositRequest {
|
|
325
335
|
amount_cents: number;
|
|
326
336
|
promocode?: string | undefined;
|
|
@@ -418,6 +428,7 @@ export interface Autoscout {
|
|
|
418
428
|
AcceptTermsOfService(request: AcceptTermsOfServiceRequest): Promise<TermsOfService>;
|
|
419
429
|
PreviewRegularPromocode(request: RegularPromocodeRequest): Promise<RegularPromocodeResponse>;
|
|
420
430
|
ActivateRegularPromocode(request: RegularPromocodeRequest): Promise<RegularPromocodeResponse>;
|
|
431
|
+
CreateUserAcquisitionSource(request: CreateUserAcquisitionSourceRequest): Promise<CreateUserAcquisitionSourceResponse>;
|
|
421
432
|
ListDeposits(request: ListDepositsRequest): Promise<ListDepositsResponse>;
|
|
422
433
|
PreviewDeposit(request: PreviewDepositRequest): Promise<PreviewDepositResponse>;
|
|
423
434
|
CreateCoinbaseDeposit(request: CreateCoinbaseDepositRequest): Promise<CreateCoinbaseDepositResponse>;
|
package/dist/v1/autoscout.ts
CHANGED
|
@@ -387,6 +387,18 @@ export interface RegularPromocodeResponse {
|
|
|
387
387
|
reward_amount: string;
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
+
export interface CreateUserAcquisitionSourceRequest {
|
|
391
|
+
referrer?: string | undefined;
|
|
392
|
+
utm_source: string;
|
|
393
|
+
utm_medium?: string | undefined;
|
|
394
|
+
utm_campaign?: string | undefined;
|
|
395
|
+
utm_term?: string | undefined;
|
|
396
|
+
utm_content?: string | undefined;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export interface CreateUserAcquisitionSourceResponse {
|
|
400
|
+
}
|
|
401
|
+
|
|
390
402
|
export interface CreateCoinbaseDepositRequest {
|
|
391
403
|
amount_cents: number;
|
|
392
404
|
promocode?: string | undefined;
|
|
@@ -499,6 +511,9 @@ export interface Autoscout {
|
|
|
499
511
|
AcceptTermsOfService(request: AcceptTermsOfServiceRequest): Promise<TermsOfService>;
|
|
500
512
|
PreviewRegularPromocode(request: RegularPromocodeRequest): Promise<RegularPromocodeResponse>;
|
|
501
513
|
ActivateRegularPromocode(request: RegularPromocodeRequest): Promise<RegularPromocodeResponse>;
|
|
514
|
+
CreateUserAcquisitionSource(
|
|
515
|
+
request: CreateUserAcquisitionSourceRequest,
|
|
516
|
+
): Promise<CreateUserAcquisitionSourceResponse>;
|
|
502
517
|
ListDeposits(request: ListDepositsRequest): Promise<ListDepositsResponse>;
|
|
503
518
|
PreviewDeposit(request: PreviewDepositRequest): Promise<PreviewDepositResponse>;
|
|
504
519
|
CreateCoinbaseDeposit(request: CreateCoinbaseDepositRequest): Promise<CreateCoinbaseDepositResponse>;
|
package/dist/v1/config.d.ts
CHANGED
|
@@ -50,6 +50,12 @@ export declare enum AdBannerProvider {
|
|
|
50
50
|
BANNER_NONE = "BANNER_NONE",
|
|
51
51
|
UNRECOGNIZED = "UNRECOGNIZED"
|
|
52
52
|
}
|
|
53
|
+
export declare enum IndexerBlockTransformer {
|
|
54
|
+
UNSPECIFIED_BLOCK_TRANSFORMER = "UNSPECIFIED_BLOCK_TRANSFORMER",
|
|
55
|
+
BASE = "BASE",
|
|
56
|
+
CLIQUE = "CLIQUE",
|
|
57
|
+
UNRECOGNIZED = "UNRECOGNIZED"
|
|
58
|
+
}
|
|
53
59
|
export interface DeployConfig {
|
|
54
60
|
rpc_url: string;
|
|
55
61
|
server_size: string;
|
|
@@ -58,7 +64,7 @@ export interface DeployConfig {
|
|
|
58
64
|
chain_id?: string | undefined;
|
|
59
65
|
token_symbol?: string | undefined;
|
|
60
66
|
custom_domain?: string | undefined;
|
|
61
|
-
redirect_from_domain
|
|
67
|
+
redirect_from_domain: string[];
|
|
62
68
|
logo_url?: string | undefined;
|
|
63
69
|
logo_url_dark?: string | undefined;
|
|
64
70
|
chain_name?: string | undefined;
|
|
@@ -96,6 +102,9 @@ export interface DeployConfig {
|
|
|
96
102
|
wait_for_correct_cname?: boolean | undefined;
|
|
97
103
|
indexer?: IndexerConfig | undefined;
|
|
98
104
|
hero_banner?: HeroBanner | undefined;
|
|
105
|
+
google_analytics_property_id?: string | undefined;
|
|
106
|
+
production_ready?: boolean | undefined;
|
|
107
|
+
api_docs_tabs?: StringList | undefined;
|
|
99
108
|
}
|
|
100
109
|
export interface Footer {
|
|
101
110
|
columns: FooterColumn[];
|
|
@@ -129,6 +138,9 @@ export interface MenuItem {
|
|
|
129
138
|
text: string;
|
|
130
139
|
url: string;
|
|
131
140
|
}
|
|
141
|
+
export interface StringList {
|
|
142
|
+
values: string[];
|
|
143
|
+
}
|
|
132
144
|
export interface HeroBanner {
|
|
133
145
|
background: string[];
|
|
134
146
|
text_color: string[];
|
|
@@ -167,6 +179,8 @@ export interface IndexerConfig {
|
|
|
167
179
|
token_balances_concurrency?: string | undefined;
|
|
168
180
|
/** INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER */
|
|
169
181
|
disable_pending_fetcher?: boolean | undefined;
|
|
182
|
+
/** BLOCK_TRANSFORMER */
|
|
183
|
+
block_transformer: IndexerBlockTransformer;
|
|
170
184
|
}
|
|
171
185
|
/** https://github.com/blockscout/docs/blob/df6996a0f8e553c2d4b1c3dcda6ef2518a8b39f9/for-developers/information-and-settings/env-variables/backend-envs-chain-specific.md?plain=1#L102-L119 */
|
|
172
186
|
export interface OptimismConfig {
|
package/dist/v1/config.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc v4.23.4
|
|
6
6
|
// source: v1/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.AdBannerProvider = exports.AdTextProvider = exports.Identicon = exports.ColorTheme = exports.NavigationLayout = exports.NodeType = exports.ChainType = void 0;
|
|
8
|
+
exports.IndexerBlockTransformer = exports.AdBannerProvider = exports.AdTextProvider = exports.Identicon = exports.ColorTheme = exports.NavigationLayout = exports.NodeType = exports.ChainType = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
var ChainType;
|
|
11
11
|
(function (ChainType) {
|
|
@@ -66,3 +66,10 @@ var AdBannerProvider;
|
|
|
66
66
|
AdBannerProvider["BANNER_NONE"] = "BANNER_NONE";
|
|
67
67
|
AdBannerProvider["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
68
68
|
})(AdBannerProvider || (exports.AdBannerProvider = AdBannerProvider = {}));
|
|
69
|
+
var IndexerBlockTransformer;
|
|
70
|
+
(function (IndexerBlockTransformer) {
|
|
71
|
+
IndexerBlockTransformer["UNSPECIFIED_BLOCK_TRANSFORMER"] = "UNSPECIFIED_BLOCK_TRANSFORMER";
|
|
72
|
+
IndexerBlockTransformer["BASE"] = "BASE";
|
|
73
|
+
IndexerBlockTransformer["CLIQUE"] = "CLIQUE";
|
|
74
|
+
IndexerBlockTransformer["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
75
|
+
})(IndexerBlockTransformer || (exports.IndexerBlockTransformer = IndexerBlockTransformer = {}));
|
package/dist/v1/config.ts
CHANGED
|
@@ -65,6 +65,13 @@ export enum AdBannerProvider {
|
|
|
65
65
|
UNRECOGNIZED = "UNRECOGNIZED",
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
+
export enum IndexerBlockTransformer {
|
|
69
|
+
UNSPECIFIED_BLOCK_TRANSFORMER = "UNSPECIFIED_BLOCK_TRANSFORMER",
|
|
70
|
+
BASE = "BASE",
|
|
71
|
+
CLIQUE = "CLIQUE",
|
|
72
|
+
UNRECOGNIZED = "UNRECOGNIZED",
|
|
73
|
+
}
|
|
74
|
+
|
|
68
75
|
export interface DeployConfig {
|
|
69
76
|
rpc_url: string;
|
|
70
77
|
server_size: string;
|
|
@@ -73,7 +80,7 @@ export interface DeployConfig {
|
|
|
73
80
|
chain_id?: string | undefined;
|
|
74
81
|
token_symbol?: string | undefined;
|
|
75
82
|
custom_domain?: string | undefined;
|
|
76
|
-
redirect_from_domain
|
|
83
|
+
redirect_from_domain: string[];
|
|
77
84
|
logo_url?: string | undefined;
|
|
78
85
|
logo_url_dark?: string | undefined;
|
|
79
86
|
chain_name?: string | undefined;
|
|
@@ -113,6 +120,9 @@ export interface DeployConfig {
|
|
|
113
120
|
wait_for_correct_cname?: boolean | undefined;
|
|
114
121
|
indexer?: IndexerConfig | undefined;
|
|
115
122
|
hero_banner?: HeroBanner | undefined;
|
|
123
|
+
google_analytics_property_id?: string | undefined;
|
|
124
|
+
production_ready?: boolean | undefined;
|
|
125
|
+
api_docs_tabs?: StringList | undefined;
|
|
116
126
|
}
|
|
117
127
|
|
|
118
128
|
export interface Footer {
|
|
@@ -155,6 +165,10 @@ export interface MenuItem {
|
|
|
155
165
|
url: string;
|
|
156
166
|
}
|
|
157
167
|
|
|
168
|
+
export interface StringList {
|
|
169
|
+
values: string[];
|
|
170
|
+
}
|
|
171
|
+
|
|
158
172
|
export interface HeroBanner {
|
|
159
173
|
background: string[];
|
|
160
174
|
text_color: string[];
|
|
@@ -215,7 +229,11 @@ export interface IndexerConfig {
|
|
|
215
229
|
| string
|
|
216
230
|
| undefined;
|
|
217
231
|
/** INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER */
|
|
218
|
-
disable_pending_fetcher?:
|
|
232
|
+
disable_pending_fetcher?:
|
|
233
|
+
| boolean
|
|
234
|
+
| undefined;
|
|
235
|
+
/** BLOCK_TRANSFORMER */
|
|
236
|
+
block_transformer: IndexerBlockTransformer;
|
|
219
237
|
}
|
|
220
238
|
|
|
221
239
|
/** https://github.com/blockscout/docs/blob/df6996a0f8e553c2d4b1c3dcda6ef2518a8b39f9/for-developers/information-and-settings/env-variables/backend-envs-chain-specific.md?plain=1#L102-L119 */
|