@uniswap/client-platform-service 0.0.31 → 0.0.32
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.
|
@@ -11,7 +11,12 @@ export declare enum ApiKeyTier {
|
|
|
11
11
|
*/
|
|
12
12
|
UNSPECIFIED = 0,
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Deprecated: legacy internal keys are stamped auth score 40 and rely on the
|
|
15
|
+
* shared x-internal-service-secret to pass score-gated services. Use
|
|
16
|
+
* API_KEY_TIER_INTERNAL_SECURED for new internal keys.
|
|
17
|
+
*
|
|
18
|
+
* @generated from enum value: API_KEY_TIER_INTERNAL = 1 [deprecated = true];
|
|
19
|
+
* @deprecated
|
|
15
20
|
*/
|
|
16
21
|
INTERNAL = 1,
|
|
17
22
|
/**
|
|
@@ -21,7 +26,14 @@ export declare enum ApiKeyTier {
|
|
|
21
26
|
/**
|
|
22
27
|
* @generated from enum value: API_KEY_TIER_DEV_PORTAL = 3;
|
|
23
28
|
*/
|
|
24
|
-
DEV_PORTAL = 3
|
|
29
|
+
DEV_PORTAL = 3,
|
|
30
|
+
/**
|
|
31
|
+
* Internal key trusted to pass score-gated services (Entry Gateway stamps
|
|
32
|
+
* auth score 60) without the shared internal-service secret.
|
|
33
|
+
*
|
|
34
|
+
* @generated from enum value: API_KEY_TIER_INTERNAL_SECURED = 4;
|
|
35
|
+
*/
|
|
36
|
+
INTERNAL_SECURED = 4
|
|
25
37
|
}
|
|
26
38
|
/**
|
|
27
39
|
* Application error codes for the API Key service (dev portal / API clients).
|
|
@@ -15,7 +15,12 @@ export var ApiKeyTier;
|
|
|
15
15
|
*/
|
|
16
16
|
ApiKeyTier[ApiKeyTier["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Deprecated: legacy internal keys are stamped auth score 40 and rely on the
|
|
19
|
+
* shared x-internal-service-secret to pass score-gated services. Use
|
|
20
|
+
* API_KEY_TIER_INTERNAL_SECURED for new internal keys.
|
|
21
|
+
*
|
|
22
|
+
* @generated from enum value: API_KEY_TIER_INTERNAL = 1 [deprecated = true];
|
|
23
|
+
* @deprecated
|
|
19
24
|
*/
|
|
20
25
|
ApiKeyTier[ApiKeyTier["INTERNAL"] = 1] = "INTERNAL";
|
|
21
26
|
/**
|
|
@@ -26,6 +31,13 @@ export var ApiKeyTier;
|
|
|
26
31
|
* @generated from enum value: API_KEY_TIER_DEV_PORTAL = 3;
|
|
27
32
|
*/
|
|
28
33
|
ApiKeyTier[ApiKeyTier["DEV_PORTAL"] = 3] = "DEV_PORTAL";
|
|
34
|
+
/**
|
|
35
|
+
* Internal key trusted to pass score-gated services (Entry Gateway stamps
|
|
36
|
+
* auth score 60) without the shared internal-service secret.
|
|
37
|
+
*
|
|
38
|
+
* @generated from enum value: API_KEY_TIER_INTERNAL_SECURED = 4;
|
|
39
|
+
*/
|
|
40
|
+
ApiKeyTier[ApiKeyTier["INTERNAL_SECURED"] = 4] = "INTERNAL_SECURED";
|
|
29
41
|
})(ApiKeyTier || (ApiKeyTier = {}));
|
|
30
42
|
// Retrieve enum metadata with: proto3.getEnumType(ApiKeyTier)
|
|
31
43
|
proto3.util.setEnumType(ApiKeyTier, "uniswap.platformservice.v1.ApiKeyTier", [
|
|
@@ -33,6 +45,7 @@ proto3.util.setEnumType(ApiKeyTier, "uniswap.platformservice.v1.ApiKeyTier", [
|
|
|
33
45
|
{ no: 1, name: "API_KEY_TIER_INTERNAL" },
|
|
34
46
|
{ no: 2, name: "API_KEY_TIER_PARTNER" },
|
|
35
47
|
{ no: 3, name: "API_KEY_TIER_DEV_PORTAL" },
|
|
48
|
+
{ no: 4, name: "API_KEY_TIER_INTERNAL_SECURED" },
|
|
36
49
|
]);
|
|
37
50
|
/**
|
|
38
51
|
* Application error codes for the API Key service (dev portal / API clients).
|