@blockscout/autoscout-types 1.5.0 → 1.6.0-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 +5 -3
- package/dist/v1/autoscout.js +1 -0
- package/dist/v1/autoscout.ts +5 -3
- package/dist/v1/config.d.ts +1 -0
- package/dist/v1/config.js +1 -0
- package/dist/v1/config.ts +1 -0
- package/package.json +1 -1
package/dist/v1/autoscout.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export declare enum DepositType {
|
|
|
32
32
|
DEPOSIT_TYPE_STRIPE = "DEPOSIT_TYPE_STRIPE",
|
|
33
33
|
DEPOSIT_TYPE_COINBASE = "DEPOSIT_TYPE_COINBASE",
|
|
34
34
|
DEPOSIT_TYPE_DAIMO = "DEPOSIT_TYPE_DAIMO",
|
|
35
|
+
DEPOSIT_TYPE_PROMOTION_FLAT_BONUS = "DEPOSIT_TYPE_PROMOTION_FLAT_BONUS",
|
|
35
36
|
UNRECOGNIZED = "UNRECOGNIZED"
|
|
36
37
|
}
|
|
37
38
|
export interface HealthStatus {
|
|
@@ -325,11 +326,12 @@ export interface CreateDaimoDepositResponse {
|
|
|
325
326
|
id: string;
|
|
326
327
|
url: string;
|
|
327
328
|
}
|
|
328
|
-
export interface
|
|
329
|
+
export interface ListDepositsRequest {
|
|
329
330
|
page?: number | undefined;
|
|
330
331
|
per_page?: number | undefined;
|
|
332
|
+
type: DepositType;
|
|
331
333
|
}
|
|
332
|
-
export interface
|
|
334
|
+
export interface ListDepositsResponse {
|
|
333
335
|
items: Deposit[];
|
|
334
336
|
pagination: PaginationResult | undefined;
|
|
335
337
|
}
|
|
@@ -382,7 +384,7 @@ export interface Autoscout {
|
|
|
382
384
|
AcceptTermsOfService(request: AcceptTermsOfServiceRequest): Promise<TermsOfService>;
|
|
383
385
|
PreviewRegularPromocode(request: RegularPromocodeRequest): Promise<RegularPromocodeResponse>;
|
|
384
386
|
ActivateRegularPromocode(request: RegularPromocodeRequest): Promise<RegularPromocodeResponse>;
|
|
385
|
-
|
|
387
|
+
ListDeposits(request: ListDepositsRequest): Promise<ListDepositsResponse>;
|
|
386
388
|
PreviewDeposit(request: PreviewDepositRequest): Promise<PreviewDepositResponse>;
|
|
387
389
|
CreateCoinbaseDeposit(request: CreateCoinbaseDepositRequest): Promise<CreateCoinbaseDepositResponse>;
|
|
388
390
|
GetCoinbaseDeposit(request: GetCoinbaseDepositRequest): Promise<Deposit>;
|
package/dist/v1/autoscout.js
CHANGED
|
@@ -42,5 +42,6 @@ var DepositType;
|
|
|
42
42
|
DepositType["DEPOSIT_TYPE_STRIPE"] = "DEPOSIT_TYPE_STRIPE";
|
|
43
43
|
DepositType["DEPOSIT_TYPE_COINBASE"] = "DEPOSIT_TYPE_COINBASE";
|
|
44
44
|
DepositType["DEPOSIT_TYPE_DAIMO"] = "DEPOSIT_TYPE_DAIMO";
|
|
45
|
+
DepositType["DEPOSIT_TYPE_PROMOTION_FLAT_BONUS"] = "DEPOSIT_TYPE_PROMOTION_FLAT_BONUS";
|
|
45
46
|
DepositType["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
46
47
|
})(DepositType || (exports.DepositType = DepositType = {}));
|
package/dist/v1/autoscout.ts
CHANGED
|
@@ -43,6 +43,7 @@ export enum DepositType {
|
|
|
43
43
|
DEPOSIT_TYPE_STRIPE = "DEPOSIT_TYPE_STRIPE",
|
|
44
44
|
DEPOSIT_TYPE_COINBASE = "DEPOSIT_TYPE_COINBASE",
|
|
45
45
|
DEPOSIT_TYPE_DAIMO = "DEPOSIT_TYPE_DAIMO",
|
|
46
|
+
DEPOSIT_TYPE_PROMOTION_FLAT_BONUS = "DEPOSIT_TYPE_PROMOTION_FLAT_BONUS",
|
|
46
47
|
UNRECOGNIZED = "UNRECOGNIZED",
|
|
47
48
|
}
|
|
48
49
|
|
|
@@ -396,12 +397,13 @@ export interface CreateDaimoDepositResponse {
|
|
|
396
397
|
url: string;
|
|
397
398
|
}
|
|
398
399
|
|
|
399
|
-
export interface
|
|
400
|
+
export interface ListDepositsRequest {
|
|
400
401
|
page?: number | undefined;
|
|
401
402
|
per_page?: number | undefined;
|
|
403
|
+
type: DepositType;
|
|
402
404
|
}
|
|
403
405
|
|
|
404
|
-
export interface
|
|
406
|
+
export interface ListDepositsResponse {
|
|
405
407
|
items: Deposit[];
|
|
406
408
|
pagination: PaginationResult | undefined;
|
|
407
409
|
}
|
|
@@ -457,7 +459,7 @@ export interface Autoscout {
|
|
|
457
459
|
AcceptTermsOfService(request: AcceptTermsOfServiceRequest): Promise<TermsOfService>;
|
|
458
460
|
PreviewRegularPromocode(request: RegularPromocodeRequest): Promise<RegularPromocodeResponse>;
|
|
459
461
|
ActivateRegularPromocode(request: RegularPromocodeRequest): Promise<RegularPromocodeResponse>;
|
|
460
|
-
|
|
462
|
+
ListDeposits(request: ListDepositsRequest): Promise<ListDepositsResponse>;
|
|
461
463
|
PreviewDeposit(request: PreviewDepositRequest): Promise<PreviewDepositResponse>;
|
|
462
464
|
CreateCoinbaseDeposit(request: CreateCoinbaseDepositRequest): Promise<CreateCoinbaseDepositResponse>;
|
|
463
465
|
GetCoinbaseDeposit(request: GetCoinbaseDepositRequest): Promise<Deposit>;
|
package/dist/v1/config.d.ts
CHANGED
package/dist/v1/config.js
CHANGED
|
@@ -24,6 +24,7 @@ var NodeType;
|
|
|
24
24
|
NodeType["GETH"] = "GETH";
|
|
25
25
|
NodeType["BESU"] = "BESU";
|
|
26
26
|
NodeType["GANACHE"] = "GANACHE";
|
|
27
|
+
NodeType["ANVIL"] = "ANVIL";
|
|
27
28
|
NodeType["UNRECOGNIZED"] = "UNRECOGNIZED";
|
|
28
29
|
})(NodeType || (exports.NodeType = NodeType = {}));
|
|
29
30
|
var NavigationLayout;
|
package/dist/v1/config.ts
CHANGED