@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.
@@ -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 ListExternalDepositsRequest {
329
+ export interface ListDepositsRequest {
329
330
  page?: number | undefined;
330
331
  per_page?: number | undefined;
332
+ type: DepositType;
331
333
  }
332
- export interface ListExternalDepositsResponse {
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
- ListExternalDeposits(request: ListExternalDepositsRequest): Promise<ListExternalDepositsResponse>;
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>;
@@ -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 = {}));
@@ -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 ListExternalDepositsRequest {
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 ListExternalDepositsResponse {
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
- ListExternalDeposits(request: ListExternalDepositsRequest): Promise<ListExternalDepositsResponse>;
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>;
@@ -13,6 +13,7 @@ export declare enum NodeType {
13
13
  GETH = "GETH",
14
14
  BESU = "BESU",
15
15
  GANACHE = "GANACHE",
16
+ ANVIL = "ANVIL",
16
17
  UNRECOGNIZED = "UNRECOGNIZED"
17
18
  }
18
19
  export declare enum NavigationLayout {
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
@@ -22,6 +22,7 @@ export enum NodeType {
22
22
  GETH = "GETH",
23
23
  BESU = "BESU",
24
24
  GANACHE = "GANACHE",
25
+ ANVIL = "ANVIL",
25
26
  UNRECOGNIZED = "UNRECOGNIZED",
26
27
  }
27
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockscout/autoscout-types",
3
- "version": "1.5.0",
3
+ "version": "1.6.0-alpha.1",
4
4
  "description": "TypeScript definitions for Autoscout microservice",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",