@distilled.cloud/vercel 0.0.0 → 1.0.0-rc.4
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/lib/credentials.d.ts +21 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +40 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +80 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +50 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +15 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +15 -0
- package/lib/index.js.map +1 -0
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +69 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +54 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +47 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/access_groups.d.ts +459 -0
- package/lib/services/access_groups.d.ts.map +1 -0
- package/lib/services/access_groups.js +453 -0
- package/lib/services/access_groups.js.map +1 -0
- package/lib/services/ai_gateway.d.ts +124 -0
- package/lib/services/ai_gateway.d.ts.map +1 -0
- package/lib/services/ai_gateway.js +126 -0
- package/lib/services/ai_gateway.js.map +1 -0
- package/lib/services/aliases.d.ts +591 -0
- package/lib/services/aliases.d.ts.map +1 -0
- package/lib/services/aliases.js +508 -0
- package/lib/services/aliases.js.map +1 -0
- package/lib/services/artifacts.d.ts +228 -0
- package/lib/services/artifacts.d.ts.map +1 -0
- package/lib/services/artifacts.js +216 -0
- package/lib/services/artifacts.js.map +1 -0
- package/lib/services/authentication.d.ts +373 -0
- package/lib/services/authentication.d.ts.map +1 -0
- package/lib/services/authentication.js +310 -0
- package/lib/services/authentication.js.map +1 -0
- package/lib/services/billing.d.ts +792 -0
- package/lib/services/billing.d.ts.map +1 -0
- package/lib/services/billing.js +616 -0
- package/lib/services/billing.js.map +1 -0
- package/lib/services/bulk_redirects.d.ts +308 -0
- package/lib/services/bulk_redirects.d.ts.map +1 -0
- package/lib/services/bulk_redirects.js +306 -0
- package/lib/services/bulk_redirects.js.map +1 -0
- package/lib/services/certs.d.ts +171 -0
- package/lib/services/certs.d.ts.map +1 -0
- package/lib/services/certs.js +165 -0
- package/lib/services/certs.js.map +1 -0
- package/lib/services/checks_v2.d.ts +1162 -0
- package/lib/services/checks_v2.d.ts.map +1 -0
- package/lib/services/checks_v2.js +1252 -0
- package/lib/services/checks_v2.js.map +1 -0
- package/lib/services/connect.d.ts +1034 -0
- package/lib/services/connect.d.ts.map +1 -0
- package/lib/services/connect.js +993 -0
- package/lib/services/connect.js.map +1 -0
- package/lib/services/deployments.d.ts +9111 -0
- package/lib/services/deployments.d.ts.map +1 -0
- package/lib/services/deployments.js +8664 -0
- package/lib/services/deployments.js.map +1 -0
- package/lib/services/dns.d.ts +279 -0
- package/lib/services/dns.d.ts.map +1 -0
- package/lib/services/dns.js +282 -0
- package/lib/services/dns.js.map +1 -0
- package/lib/services/domains.d.ts +539 -0
- package/lib/services/domains.d.ts.map +1 -0
- package/lib/services/domains.js +464 -0
- package/lib/services/domains.js.map +1 -0
- package/lib/services/domains_registrar.d.ts +798 -0
- package/lib/services/domains_registrar.d.ts.map +1 -0
- package/lib/services/domains_registrar.js +968 -0
- package/lib/services/domains_registrar.js.map +1 -0
- package/lib/services/drains.d.ts +2263 -0
- package/lib/services/drains.d.ts.map +1 -0
- package/lib/services/drains.js +2406 -0
- package/lib/services/drains.js.map +1 -0
- package/lib/services/edge_cache.d.ts +125 -0
- package/lib/services/edge_cache.d.ts.map +1 -0
- package/lib/services/edge_cache.js +140 -0
- package/lib/services/edge_cache.js.map +1 -0
- package/lib/services/environment.d.ts +1020 -0
- package/lib/services/environment.d.ts.map +1 -0
- package/lib/services/environment.js +842 -0
- package/lib/services/environment.js.map +1 -0
- package/lib/services/feature_flags.d.ts +3109 -0
- package/lib/services/feature_flags.d.ts.map +1 -0
- package/lib/services/feature_flags.js +3074 -0
- package/lib/services/feature_flags.js.map +1 -0
- package/lib/services/global_config.d.ts +618 -0
- package/lib/services/global_config.d.ts.map +1 -0
- package/lib/services/global_config.js +716 -0
- package/lib/services/global_config.js.map +1 -0
- package/lib/services/index.d.ts +39 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +40 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/integrations.d.ts +2987 -0
- package/lib/services/integrations.d.ts.map +1 -0
- package/lib/services/integrations.js +2903 -0
- package/lib/services/integrations.js.map +1 -0
- package/lib/services/log_drains.d.ts +848 -0
- package/lib/services/log_drains.d.ts.map +1 -0
- package/lib/services/log_drains.js +866 -0
- package/lib/services/log_drains.js.map +1 -0
- package/lib/services/logs.d.ts +40 -0
- package/lib/services/logs.d.ts.map +1 -0
- package/lib/services/logs.js +43 -0
- package/lib/services/logs.js.map +1 -0
- package/lib/services/marketplace.d.ts +991 -0
- package/lib/services/marketplace.d.ts.map +1 -0
- package/lib/services/marketplace.js +1044 -0
- package/lib/services/marketplace.js.map +1 -0
- package/lib/services/microfrontends.d.ts +3210 -0
- package/lib/services/microfrontends.d.ts.map +1 -0
- package/lib/services/microfrontends.js +3300 -0
- package/lib/services/microfrontends.js.map +1 -0
- package/lib/services/networking.d.ts +239 -0
- package/lib/services/networking.d.ts.map +1 -0
- package/lib/services/networking.js +224 -0
- package/lib/services/networking.js.map +1 -0
- package/lib/services/observability.d.ts +168 -0
- package/lib/services/observability.d.ts.map +1 -0
- package/lib/services/observability.js +191 -0
- package/lib/services/observability.js.map +1 -0
- package/lib/services/project_members.d.ts +142 -0
- package/lib/services/project_members.d.ts.map +1 -0
- package/lib/services/project_members.js +139 -0
- package/lib/services/project_members.js.map +1 -0
- package/lib/services/project_routes.d.ts +1990 -0
- package/lib/services/project_routes.d.ts.map +1 -0
- package/lib/services/project_routes.js +2026 -0
- package/lib/services/project_routes.js.map +1 -0
- package/lib/services/projects.d.ts +23449 -0
- package/lib/services/projects.d.ts.map +1 -0
- package/lib/services/projects.js +23570 -0
- package/lib/services/projects.js.map +1 -0
- package/lib/services/rolling_release.d.ts +764 -0
- package/lib/services/rolling_release.d.ts.map +1 -0
- package/lib/services/rolling_release.js +630 -0
- package/lib/services/rolling_release.js.map +1 -0
- package/lib/services/sandboxes.d.ts +2183 -0
- package/lib/services/sandboxes.d.ts.map +1 -0
- package/lib/services/sandboxes.js +1756 -0
- package/lib/services/sandboxes.js.map +1 -0
- package/lib/services/security.d.ts +3932 -0
- package/lib/services/security.d.ts.map +1 -0
- package/lib/services/security.js +4411 -0
- package/lib/services/security.js.map +1 -0
- package/lib/services/storage.d.ts +251 -0
- package/lib/services/storage.d.ts.map +1 -0
- package/lib/services/storage.js +270 -0
- package/lib/services/storage.js.map +1 -0
- package/lib/services/teams.d.ts +1577 -0
- package/lib/services/teams.d.ts.map +1 -0
- package/lib/services/teams.js +1359 -0
- package/lib/services/teams.js.map +1 -0
- package/lib/services/user.d.ts +7972 -0
- package/lib/services/user.d.ts.map +1 -0
- package/lib/services/user.js +7093 -0
- package/lib/services/user.js.map +1 -0
- package/lib/services/vcr.d.ts +793 -0
- package/lib/services/vcr.d.ts.map +1 -0
- package/lib/services/vcr.js +882 -0
- package/lib/services/vcr.js.map +1 -0
- package/lib/services/web_analytics.d.ts +694 -0
- package/lib/services/web_analytics.d.ts.map +1 -0
- package/lib/services/web_analytics.js +695 -0
- package/lib/services/web_analytics.js.map +1 -0
- package/lib/services/webhooks.d.ts +207 -0
- package/lib/services/webhooks.d.ts.map +1 -0
- package/lib/services/webhooks.js +171 -0
- package/lib/services/webhooks.js.map +1 -0
- package/lib/traits.d.ts +10 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +11 -0
- package/lib/traits.js.map +1 -0
- package/package.json +77 -7
- package/src/credentials.ts +70 -0
- package/src/errors.ts +93 -0
- package/src/index.ts +18 -0
- package/src/protocol.ts +98 -0
- package/src/retry.ts +78 -0
- package/src/services/access_groups.ts +1165 -0
- package/src/services/ai_gateway.ts +272 -0
- package/src/services/aliases.ts +1323 -0
- package/src/services/artifacts.ts +542 -0
- package/src/services/authentication.ts +829 -0
- package/src/services/billing.ts +1776 -0
- package/src/services/bulk_redirects.ts +748 -0
- package/src/services/certs.ts +377 -0
- package/src/services/checks_v2.ts +3136 -0
- package/src/services/connect.ts +2607 -0
- package/src/services/deployments.ts +23682 -0
- package/src/services/dns.ts +718 -0
- package/src/services/domains.ts +1209 -0
- package/src/services/domains_registrar.ts +2290 -0
- package/src/services/drains.ts +5989 -0
- package/src/services/edge_cache.ts +303 -0
- package/src/services/environment.ts +2388 -0
- package/src/services/feature_flags.ts +8302 -0
- package/src/services/global_config.ts +1668 -0
- package/src/services/index.ts +39 -0
- package/src/services/integrations.ts +8846 -0
- package/src/services/log_drains.ts +2413 -0
- package/src/services/logs.ts +78 -0
- package/src/services/marketplace.ts +2626 -0
- package/src/services/microfrontends.ts +9650 -0
- package/src/services/networking.ts +530 -0
- package/src/services/observability.ts +436 -0
- package/src/services/project_members.ts +328 -0
- package/src/services/project_routes.ts +5259 -0
- package/src/services/projects.ts +67377 -0
- package/src/services/rolling_release.ts +1869 -0
- package/src/services/sandboxes.ts +5259 -0
- package/src/services/security.ts +12408 -0
- package/src/services/storage.ts +849 -0
- package/src/services/teams.ts +3995 -0
- package/src/services/user.ts +21687 -0
- package/src/services/vcr.ts +2165 -0
- package/src/services/web_analytics.ts +1570 -0
- package/src/services/webhooks.ts +1073 -0
- package/src/traits.ts +44 -0
- package/README.md +0 -15
- package/bun.lock +0 -26
- package/index.ts +0 -1
- package/tsconfig.json +0 -29
|
@@ -0,0 +1,695 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/openapi.json). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as C from "@distilled.cloud/core/category";
|
|
5
|
+
import * as T from "../traits.js";
|
|
6
|
+
import { VercelProtocol, } from "../protocol.js";
|
|
7
|
+
import * as Retry from "../retry.js";
|
|
8
|
+
export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
9
|
+
/*@__PURE__*/ S.TaggedError()("BadRequest", {
|
|
10
|
+
code: S.Number,
|
|
11
|
+
message: S.String,
|
|
12
|
+
}).pipe(C.withBadRequestError), [{ status: 400 }]) {
|
|
13
|
+
}
|
|
14
|
+
export class Forbidden extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
15
|
+
/*@__PURE__*/ S.TaggedError()("Forbidden", {
|
|
16
|
+
code: S.Number,
|
|
17
|
+
message: S.String,
|
|
18
|
+
}).pipe(C.withAuthError), [{ status: 403 }]) {
|
|
19
|
+
}
|
|
20
|
+
export class PaymentRequired extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
21
|
+
/*@__PURE__*/ S.TaggedError()("PaymentRequired", {
|
|
22
|
+
code: S.Number,
|
|
23
|
+
message: S.String,
|
|
24
|
+
}).pipe(C.withQuotaError), [{ status: 402 }]) {
|
|
25
|
+
}
|
|
26
|
+
export const AggregateEventsRequestByItemCase0 = /*@__PURE__*/ S.String;
|
|
27
|
+
export const AggregateEventsRequestByItem =
|
|
28
|
+
/*@__PURE__*/ S.Unknown;
|
|
29
|
+
export const AggregateEventsRequestByList = /*@__PURE__*/ S.Array(AggregateEventsRequestByItem);
|
|
30
|
+
export const AggregateEventsRequestSince =
|
|
31
|
+
/*@__PURE__*/ S.Unknown;
|
|
32
|
+
export const AggregateEventsRequestUntil =
|
|
33
|
+
/*@__PURE__*/ S.Unknown;
|
|
34
|
+
export const AggregateEventsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
35
|
+
projectId: S.String.pipe(T.Query()),
|
|
36
|
+
by: AggregateEventsRequestByList.pipe(T.Query()),
|
|
37
|
+
since: AggregateEventsRequestSince.pipe(T.Query()),
|
|
38
|
+
until: AggregateEventsRequestUntil.pipe(T.Query()),
|
|
39
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
40
|
+
filter: S.optional(S.String.pipe(T.Query())),
|
|
41
|
+
teamId: S.optional(S.String.pipe(T.Query())),
|
|
42
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
43
|
+
}).pipe(T.Http({
|
|
44
|
+
method: "GET",
|
|
45
|
+
uri: "/v1/query/web-analytics/events/aggregate",
|
|
46
|
+
code: 200,
|
|
47
|
+
}))).annotate({
|
|
48
|
+
identifier: "AggregateEventsRequest",
|
|
49
|
+
});
|
|
50
|
+
export const AggregateEventsResponseQueryGroupByItemCase1 =
|
|
51
|
+
/*@__PURE__*/ S.String;
|
|
52
|
+
export const AggregateEventsResponseQueryGroupByItem =
|
|
53
|
+
/*@__PURE__*/ S.Unknown;
|
|
54
|
+
export const AggregateEventsResponseQueryGroupByList = /*@__PURE__*/ S.Array(AggregateEventsResponseQueryGroupByItem);
|
|
55
|
+
export const AggregateEventsResponseQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
56
|
+
since: S.String,
|
|
57
|
+
until: S.String,
|
|
58
|
+
groupBy: S.optional(AggregateEventsResponseQueryGroupByList),
|
|
59
|
+
filter: S.optional(S.String),
|
|
60
|
+
limit: S.Number,
|
|
61
|
+
})).annotate({
|
|
62
|
+
identifier: "AggregateEventsResponseQuery",
|
|
63
|
+
});
|
|
64
|
+
export const AggregateEventsResponseDataCase0Item = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
65
|
+
projectId: S.optional(S.String),
|
|
66
|
+
country: S.optional(S.String),
|
|
67
|
+
deviceType: S.optional(S.String),
|
|
68
|
+
environment: S.optional(S.String),
|
|
69
|
+
requestPath: S.optional(S.String),
|
|
70
|
+
referrerHostname: S.optional(S.String),
|
|
71
|
+
osName: S.optional(S.String),
|
|
72
|
+
browserName: S.optional(S.String),
|
|
73
|
+
route: S.optional(S.String),
|
|
74
|
+
utmSource: S.optional(S.String),
|
|
75
|
+
utmMedium: S.optional(S.String),
|
|
76
|
+
utmCampaign: S.optional(S.String),
|
|
77
|
+
utmContent: S.optional(S.String),
|
|
78
|
+
utmTerm: S.optional(S.String),
|
|
79
|
+
flags: S.optional(S.String),
|
|
80
|
+
errorMessage: S.optional(S.String),
|
|
81
|
+
entryRevalidateSeconds: S.optional(S.String),
|
|
82
|
+
projectName: S.optional(S.String),
|
|
83
|
+
deploymentId: S.optional(S.String),
|
|
84
|
+
pathType: S.optional(S.String),
|
|
85
|
+
pathTypeVariant: S.optional(S.String),
|
|
86
|
+
requestHostname: S.optional(S.String),
|
|
87
|
+
requestResolvedIp: S.optional(S.String),
|
|
88
|
+
requestMethod: S.optional(S.String),
|
|
89
|
+
requestExtension: S.optional(S.String),
|
|
90
|
+
requestId: S.optional(S.String),
|
|
91
|
+
requestApi: S.optional(S.String),
|
|
92
|
+
referrerUrl: S.optional(S.String),
|
|
93
|
+
serverActionName: S.optional(S.String),
|
|
94
|
+
httpStatus: S.optional(S.String),
|
|
95
|
+
errorCode: S.optional(S.String),
|
|
96
|
+
source: S.optional(S.String),
|
|
97
|
+
edgeType: S.optional(S.String),
|
|
98
|
+
reason: S.optional(S.String),
|
|
99
|
+
edgeNetworkRegion: S.optional(S.String),
|
|
100
|
+
functionRegion: S.optional(S.String),
|
|
101
|
+
imageTransformationRegion: S.optional(S.String),
|
|
102
|
+
dataCacheRegion: S.optional(S.String),
|
|
103
|
+
cause: S.optional(S.String),
|
|
104
|
+
runtime: S.optional(S.String),
|
|
105
|
+
provider: S.optional(S.String),
|
|
106
|
+
isrCacheRegion: S.optional(S.String),
|
|
107
|
+
isrAction: S.optional(S.String),
|
|
108
|
+
cacheResult: S.optional(S.String),
|
|
109
|
+
cacheOperation: S.optional(S.String),
|
|
110
|
+
cacheHostname: S.optional(S.String),
|
|
111
|
+
cachePath: S.optional(S.String),
|
|
112
|
+
cacheHitState: S.optional(S.String),
|
|
113
|
+
cacheHitLevel: S.optional(S.String),
|
|
114
|
+
cacheApi: S.optional(S.String),
|
|
115
|
+
cacheReason: S.optional(S.String),
|
|
116
|
+
clientIp: S.optional(S.String),
|
|
117
|
+
clientIpCountry: S.optional(S.String),
|
|
118
|
+
clientUserAgent: S.optional(S.String),
|
|
119
|
+
httpAccept: S.optional(S.String),
|
|
120
|
+
clientJa4Digest: S.optional(S.String),
|
|
121
|
+
asnId: S.optional(S.String),
|
|
122
|
+
asnName: S.optional(S.String),
|
|
123
|
+
botName: S.optional(S.String),
|
|
124
|
+
botCategory: S.optional(S.String),
|
|
125
|
+
botCategoryLegacy: S.optional(S.String),
|
|
126
|
+
botVerified: S.optional(S.String),
|
|
127
|
+
botCheckResult: S.optional(S.String),
|
|
128
|
+
deepAnalysisCheck: S.optional(S.String),
|
|
129
|
+
wafAction: S.optional(S.String),
|
|
130
|
+
wafRuleId: S.optional(S.String),
|
|
131
|
+
skewProtection: S.optional(S.String),
|
|
132
|
+
functionStartType: S.optional(S.String),
|
|
133
|
+
functionDispatcher: S.optional(S.String),
|
|
134
|
+
isAdditionalRequest: S.optional(S.String),
|
|
135
|
+
originHostname: S.optional(S.String),
|
|
136
|
+
originPath: S.optional(S.String),
|
|
137
|
+
originRoute: S.optional(S.String),
|
|
138
|
+
fetchType: S.optional(S.String),
|
|
139
|
+
fetchIndex: S.optional(S.String),
|
|
140
|
+
imageSource: S.optional(S.String),
|
|
141
|
+
sourceImage: S.optional(S.String),
|
|
142
|
+
sourceImagePathname: S.optional(S.String),
|
|
143
|
+
sourceImageHostname: S.optional(S.String),
|
|
144
|
+
sourceImageHash: S.optional(S.String),
|
|
145
|
+
optimizedQuality: S.optional(S.String),
|
|
146
|
+
optimizedWidthPixels: S.optional(S.String),
|
|
147
|
+
optimizedFormatMimeType: S.optional(S.String),
|
|
148
|
+
vdcOperationOrigin: S.optional(S.String),
|
|
149
|
+
entryName: S.optional(S.String),
|
|
150
|
+
entryId: S.optional(S.String),
|
|
151
|
+
entryItemId: S.optional(S.String),
|
|
152
|
+
tagName: S.optional(S.String),
|
|
153
|
+
cacheTags: S.optional(S.String),
|
|
154
|
+
storeId: S.optional(S.String),
|
|
155
|
+
storeName: S.optional(S.String),
|
|
156
|
+
blobOperationType: S.optional(S.String),
|
|
157
|
+
blobOperationLevel: S.optional(S.String),
|
|
158
|
+
visitorId: S.optional(S.String),
|
|
159
|
+
eventName: S.optional(S.String),
|
|
160
|
+
attributionTarget: S.optional(S.String),
|
|
161
|
+
attributionEventName: S.optional(S.String),
|
|
162
|
+
metricName: S.optional(S.String),
|
|
163
|
+
attributes: S.optional(S.String),
|
|
164
|
+
flagKey: S.optional(S.String),
|
|
165
|
+
flagVariant: S.optional(S.String),
|
|
166
|
+
flagEvaluationReason: S.optional(S.String),
|
|
167
|
+
flagClientName: S.optional(S.String),
|
|
168
|
+
sdkKeyId: S.optional(S.String),
|
|
169
|
+
sdkKeyEnvironment: S.optional(S.String),
|
|
170
|
+
reportingProjectId: S.optional(S.String),
|
|
171
|
+
reportingProjectName: S.optional(S.String),
|
|
172
|
+
eventData: S.optional(S.String),
|
|
173
|
+
middlewareAction: S.optional(S.String),
|
|
174
|
+
middlewareActionTarget: S.optional(S.String),
|
|
175
|
+
aiModel: S.optional(S.String),
|
|
176
|
+
aiGatewayModelId: S.optional(S.String),
|
|
177
|
+
aiProvider: S.optional(S.String),
|
|
178
|
+
aiModelType: S.optional(S.String),
|
|
179
|
+
servedSpeed: S.optional(S.String),
|
|
180
|
+
virtualModelSlug: S.optional(S.String),
|
|
181
|
+
virtualModelKind: S.optional(S.String),
|
|
182
|
+
inferenceEndpointSlug: S.optional(S.String),
|
|
183
|
+
inferenceScope: S.optional(S.String),
|
|
184
|
+
inferenceGeoRegion: S.optional(S.String),
|
|
185
|
+
inferenceProviderRegion: S.optional(S.String),
|
|
186
|
+
requestedInferenceRegion: S.optional(S.String),
|
|
187
|
+
costCurrency: S.optional(S.String),
|
|
188
|
+
marketCostCurrency: S.optional(S.String),
|
|
189
|
+
cachedInputTokensCurrency: S.optional(S.String),
|
|
190
|
+
cacheCreationInputTokensCurrency: S.optional(S.String),
|
|
191
|
+
cacheCreation1hInputTokensCurrency: S.optional(S.String),
|
|
192
|
+
surchargeCostCurrency: S.optional(S.String),
|
|
193
|
+
gatewayCostCurrency: S.optional(S.String),
|
|
194
|
+
keyId: S.optional(S.String),
|
|
195
|
+
keyName: S.optional(S.String),
|
|
196
|
+
authMethod: S.optional(S.String),
|
|
197
|
+
appName: S.optional(S.String),
|
|
198
|
+
codingAgent: S.optional(S.String),
|
|
199
|
+
isByok: S.optional(S.String),
|
|
200
|
+
isPrivateModel: S.optional(S.String),
|
|
201
|
+
isRequestZdr: S.optional(S.String),
|
|
202
|
+
hipaaRequested: S.optional(S.String),
|
|
203
|
+
quotaRequested: S.optional(S.String),
|
|
204
|
+
quotaEntityId: S.optional(S.String),
|
|
205
|
+
quotaEntityType: S.optional(S.String),
|
|
206
|
+
videoResolution: S.optional(S.String),
|
|
207
|
+
videoAspectRatio: S.optional(S.String),
|
|
208
|
+
piiRedactionApplied: S.optional(S.String),
|
|
209
|
+
moderationApplied: S.optional(S.String),
|
|
210
|
+
queueName: S.optional(S.String),
|
|
211
|
+
consumerGroup: S.optional(S.String),
|
|
212
|
+
messageId: S.optional(S.String),
|
|
213
|
+
eventType: S.optional(S.String),
|
|
214
|
+
notificationUrl: S.optional(S.String),
|
|
215
|
+
sandboxSessionId: S.optional(S.String),
|
|
216
|
+
sandboxName: S.optional(S.String),
|
|
217
|
+
workflowRunId: S.optional(S.String),
|
|
218
|
+
workflowName: S.optional(S.String),
|
|
219
|
+
workflowStatus: S.optional(S.String),
|
|
220
|
+
stepRunId: S.optional(S.String),
|
|
221
|
+
workflowStepName: S.optional(S.String),
|
|
222
|
+
workflowEventType: S.optional(S.String),
|
|
223
|
+
region: S.optional(S.String),
|
|
224
|
+
specVersion: S.optional(S.String),
|
|
225
|
+
contentType: S.optional(S.String),
|
|
226
|
+
rewriteDestinationHostname: S.optional(S.String),
|
|
227
|
+
externalRewriteTargetHost: S.optional(S.String),
|
|
228
|
+
externalRewriteTargetPath: S.optional(S.String),
|
|
229
|
+
commitSha: S.optional(S.String),
|
|
230
|
+
reviewConclusion: S.optional(S.String),
|
|
231
|
+
pullRequestNumber: S.optional(S.String),
|
|
232
|
+
repositoryName: S.optional(S.String),
|
|
233
|
+
repositoryOwner: S.optional(S.String),
|
|
234
|
+
reviewStatus: S.optional(S.String),
|
|
235
|
+
pullRequestState: S.optional(S.String),
|
|
236
|
+
triggeringTag: S.optional(S.String),
|
|
237
|
+
redirectLocation: S.optional(S.String),
|
|
238
|
+
microfrontendsResponseReason: S.optional(S.String),
|
|
239
|
+
microfrontendsMatchedPath: S.optional(S.String),
|
|
240
|
+
microfrontendsDefaultAppDeploymentId: S.optional(S.String),
|
|
241
|
+
microfrontendsDefaultAppProjectId: S.optional(S.String),
|
|
242
|
+
service: S.optional(S.String),
|
|
243
|
+
isPrefetchRequest: S.optional(S.String),
|
|
244
|
+
spendReportGroupBy: S.optional(S.String),
|
|
245
|
+
spendReportDatePart: S.optional(S.String),
|
|
246
|
+
providerAttemptCanonicalSlug: S.optional(S.String),
|
|
247
|
+
providerAttemptCredentialType: S.optional(S.String),
|
|
248
|
+
providerAttemptSuccess: S.optional(S.String),
|
|
249
|
+
providerAttemptStatusCode: S.optional(S.String),
|
|
250
|
+
providerAttemptTimeout: S.optional(S.String),
|
|
251
|
+
providerAttemptIsFinal: S.optional(S.String),
|
|
252
|
+
providerAttemptNumber: S.optional(S.String),
|
|
253
|
+
providerAttemptTotalInRequest: S.optional(S.String),
|
|
254
|
+
generationId: S.optional(S.String),
|
|
255
|
+
sessionId: S.optional(S.String),
|
|
256
|
+
contentCaptureStatus: S.optional(S.String),
|
|
257
|
+
contentCaptureInputs: S.optional(S.String),
|
|
258
|
+
contentCaptureOutputs: S.optional(S.String),
|
|
259
|
+
transcriptStatus: S.optional(S.String),
|
|
260
|
+
transcriptInputs: S.optional(S.String),
|
|
261
|
+
transcriptOutputs: S.optional(S.String),
|
|
262
|
+
providerAttemptError: S.optional(S.String),
|
|
263
|
+
providerAttemptSafetyIdentifier: S.optional(S.String),
|
|
264
|
+
providerAttemptDevSafetyIdentifier: S.optional(S.String),
|
|
265
|
+
providerAttemptRegion: S.optional(S.String),
|
|
266
|
+
providerAttemptModelIndex: S.optional(S.String),
|
|
267
|
+
toolCallType: S.optional(S.String),
|
|
268
|
+
toolCallProvider: S.optional(S.String),
|
|
269
|
+
toolCallSuccess: S.optional(S.String),
|
|
270
|
+
toolCallErrorType: S.optional(S.String),
|
|
271
|
+
toolCallStatusCode: S.optional(S.String),
|
|
272
|
+
environmentId: S.optional(S.String),
|
|
273
|
+
billableRegion: S.optional(S.String),
|
|
274
|
+
direction: S.optional(S.String),
|
|
275
|
+
networkTenancy: S.optional(S.String),
|
|
276
|
+
trafficSource: S.optional(S.String),
|
|
277
|
+
networkId: S.optional(S.String),
|
|
278
|
+
privatelinkEndpointId: S.optional(S.String),
|
|
279
|
+
privatelinkDnsName: S.optional(S.String),
|
|
280
|
+
privatelinkIpAddress: S.optional(S.String),
|
|
281
|
+
timestamp: S.String,
|
|
282
|
+
})).annotate({
|
|
283
|
+
identifier: "AggregateEventsResponseDataCase0Item",
|
|
284
|
+
});
|
|
285
|
+
export const AggregateEventsResponseDataCase0List = /*@__PURE__*/ S.Array(AggregateEventsResponseDataCase0Item);
|
|
286
|
+
export const AggregateEventsResponseDataCase1Item = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
287
|
+
projectId: S.String,
|
|
288
|
+
country: S.String,
|
|
289
|
+
deviceType: S.String,
|
|
290
|
+
environment: S.String,
|
|
291
|
+
requestPath: S.String,
|
|
292
|
+
referrerHostname: S.String,
|
|
293
|
+
osName: S.String,
|
|
294
|
+
browserName: S.String,
|
|
295
|
+
route: S.String,
|
|
296
|
+
utmSource: S.String,
|
|
297
|
+
utmMedium: S.String,
|
|
298
|
+
utmCampaign: S.String,
|
|
299
|
+
utmContent: S.String,
|
|
300
|
+
utmTerm: S.String,
|
|
301
|
+
flags: S.String,
|
|
302
|
+
errorMessage: S.String,
|
|
303
|
+
entryRevalidateSeconds: S.String,
|
|
304
|
+
projectName: S.String,
|
|
305
|
+
deploymentId: S.String,
|
|
306
|
+
pathType: S.String,
|
|
307
|
+
pathTypeVariant: S.String,
|
|
308
|
+
requestHostname: S.String,
|
|
309
|
+
requestResolvedIp: S.String,
|
|
310
|
+
requestMethod: S.String,
|
|
311
|
+
requestExtension: S.String,
|
|
312
|
+
requestId: S.String,
|
|
313
|
+
requestApi: S.String,
|
|
314
|
+
referrerUrl: S.String,
|
|
315
|
+
serverActionName: S.String,
|
|
316
|
+
httpStatus: S.String,
|
|
317
|
+
errorCode: S.String,
|
|
318
|
+
source: S.String,
|
|
319
|
+
edgeType: S.String,
|
|
320
|
+
reason: S.String,
|
|
321
|
+
edgeNetworkRegion: S.String,
|
|
322
|
+
functionRegion: S.String,
|
|
323
|
+
imageTransformationRegion: S.String,
|
|
324
|
+
dataCacheRegion: S.String,
|
|
325
|
+
cause: S.String,
|
|
326
|
+
runtime: S.String,
|
|
327
|
+
provider: S.String,
|
|
328
|
+
isrCacheRegion: S.String,
|
|
329
|
+
isrAction: S.String,
|
|
330
|
+
cacheResult: S.String,
|
|
331
|
+
cacheOperation: S.String,
|
|
332
|
+
cacheHostname: S.String,
|
|
333
|
+
cachePath: S.String,
|
|
334
|
+
cacheHitState: S.String,
|
|
335
|
+
cacheHitLevel: S.String,
|
|
336
|
+
cacheApi: S.String,
|
|
337
|
+
cacheReason: S.String,
|
|
338
|
+
clientIp: S.String,
|
|
339
|
+
clientIpCountry: S.String,
|
|
340
|
+
clientUserAgent: S.String,
|
|
341
|
+
httpAccept: S.String,
|
|
342
|
+
clientJa4Digest: S.String,
|
|
343
|
+
asnId: S.String,
|
|
344
|
+
asnName: S.String,
|
|
345
|
+
botName: S.String,
|
|
346
|
+
botCategory: S.String,
|
|
347
|
+
botCategoryLegacy: S.String,
|
|
348
|
+
botVerified: S.String,
|
|
349
|
+
botCheckResult: S.String,
|
|
350
|
+
deepAnalysisCheck: S.String,
|
|
351
|
+
wafAction: S.String,
|
|
352
|
+
wafRuleId: S.String,
|
|
353
|
+
skewProtection: S.String,
|
|
354
|
+
functionStartType: S.String,
|
|
355
|
+
functionDispatcher: S.String,
|
|
356
|
+
isAdditionalRequest: S.String,
|
|
357
|
+
originHostname: S.String,
|
|
358
|
+
originPath: S.String,
|
|
359
|
+
originRoute: S.String,
|
|
360
|
+
fetchType: S.String,
|
|
361
|
+
fetchIndex: S.String,
|
|
362
|
+
imageSource: S.String,
|
|
363
|
+
sourceImage: S.String,
|
|
364
|
+
sourceImagePathname: S.String,
|
|
365
|
+
sourceImageHostname: S.String,
|
|
366
|
+
sourceImageHash: S.String,
|
|
367
|
+
optimizedQuality: S.String,
|
|
368
|
+
optimizedWidthPixels: S.String,
|
|
369
|
+
optimizedFormatMimeType: S.String,
|
|
370
|
+
vdcOperationOrigin: S.String,
|
|
371
|
+
entryName: S.String,
|
|
372
|
+
entryId: S.String,
|
|
373
|
+
entryItemId: S.String,
|
|
374
|
+
tagName: S.String,
|
|
375
|
+
cacheTags: S.String,
|
|
376
|
+
storeId: S.String,
|
|
377
|
+
storeName: S.String,
|
|
378
|
+
blobOperationType: S.String,
|
|
379
|
+
blobOperationLevel: S.String,
|
|
380
|
+
visitorId: S.String,
|
|
381
|
+
eventName: S.String,
|
|
382
|
+
attributionTarget: S.String,
|
|
383
|
+
attributionEventName: S.String,
|
|
384
|
+
metricName: S.String,
|
|
385
|
+
attributes: S.String,
|
|
386
|
+
flagKey: S.String,
|
|
387
|
+
flagVariant: S.String,
|
|
388
|
+
flagEvaluationReason: S.String,
|
|
389
|
+
flagClientName: S.String,
|
|
390
|
+
sdkKeyId: S.String,
|
|
391
|
+
sdkKeyEnvironment: S.String,
|
|
392
|
+
reportingProjectId: S.String,
|
|
393
|
+
reportingProjectName: S.String,
|
|
394
|
+
eventData: S.String,
|
|
395
|
+
middlewareAction: S.String,
|
|
396
|
+
middlewareActionTarget: S.String,
|
|
397
|
+
aiModel: S.String,
|
|
398
|
+
aiGatewayModelId: S.String,
|
|
399
|
+
aiProvider: S.String,
|
|
400
|
+
aiModelType: S.String,
|
|
401
|
+
servedSpeed: S.String,
|
|
402
|
+
virtualModelSlug: S.String,
|
|
403
|
+
virtualModelKind: S.String,
|
|
404
|
+
inferenceEndpointSlug: S.String,
|
|
405
|
+
inferenceScope: S.String,
|
|
406
|
+
inferenceGeoRegion: S.String,
|
|
407
|
+
inferenceProviderRegion: S.String,
|
|
408
|
+
requestedInferenceRegion: S.String,
|
|
409
|
+
costCurrency: S.String,
|
|
410
|
+
marketCostCurrency: S.String,
|
|
411
|
+
cachedInputTokensCurrency: S.String,
|
|
412
|
+
cacheCreationInputTokensCurrency: S.String,
|
|
413
|
+
cacheCreation1hInputTokensCurrency: S.String,
|
|
414
|
+
surchargeCostCurrency: S.String,
|
|
415
|
+
gatewayCostCurrency: S.String,
|
|
416
|
+
keyId: S.String,
|
|
417
|
+
keyName: S.String,
|
|
418
|
+
authMethod: S.String,
|
|
419
|
+
appName: S.String,
|
|
420
|
+
codingAgent: S.String,
|
|
421
|
+
isByok: S.String,
|
|
422
|
+
isPrivateModel: S.String,
|
|
423
|
+
isRequestZdr: S.String,
|
|
424
|
+
hipaaRequested: S.String,
|
|
425
|
+
quotaRequested: S.String,
|
|
426
|
+
quotaEntityId: S.String,
|
|
427
|
+
quotaEntityType: S.String,
|
|
428
|
+
videoResolution: S.String,
|
|
429
|
+
videoAspectRatio: S.String,
|
|
430
|
+
piiRedactionApplied: S.String,
|
|
431
|
+
moderationApplied: S.String,
|
|
432
|
+
queueName: S.String,
|
|
433
|
+
consumerGroup: S.String,
|
|
434
|
+
messageId: S.String,
|
|
435
|
+
eventType: S.String,
|
|
436
|
+
notificationUrl: S.String,
|
|
437
|
+
sandboxSessionId: S.String,
|
|
438
|
+
sandboxName: S.String,
|
|
439
|
+
workflowRunId: S.String,
|
|
440
|
+
workflowName: S.String,
|
|
441
|
+
workflowStatus: S.String,
|
|
442
|
+
stepRunId: S.String,
|
|
443
|
+
workflowStepName: S.String,
|
|
444
|
+
workflowEventType: S.String,
|
|
445
|
+
region: S.String,
|
|
446
|
+
specVersion: S.String,
|
|
447
|
+
contentType: S.String,
|
|
448
|
+
rewriteDestinationHostname: S.String,
|
|
449
|
+
externalRewriteTargetHost: S.String,
|
|
450
|
+
externalRewriteTargetPath: S.String,
|
|
451
|
+
commitSha: S.String,
|
|
452
|
+
reviewConclusion: S.String,
|
|
453
|
+
pullRequestNumber: S.String,
|
|
454
|
+
repositoryName: S.String,
|
|
455
|
+
repositoryOwner: S.String,
|
|
456
|
+
reviewStatus: S.String,
|
|
457
|
+
pullRequestState: S.String,
|
|
458
|
+
triggeringTag: S.String,
|
|
459
|
+
redirectLocation: S.String,
|
|
460
|
+
microfrontendsResponseReason: S.String,
|
|
461
|
+
microfrontendsMatchedPath: S.String,
|
|
462
|
+
microfrontendsDefaultAppDeploymentId: S.String,
|
|
463
|
+
microfrontendsDefaultAppProjectId: S.String,
|
|
464
|
+
service: S.String,
|
|
465
|
+
isPrefetchRequest: S.String,
|
|
466
|
+
spendReportGroupBy: S.String,
|
|
467
|
+
spendReportDatePart: S.String,
|
|
468
|
+
providerAttemptCanonicalSlug: S.String,
|
|
469
|
+
providerAttemptCredentialType: S.String,
|
|
470
|
+
providerAttemptSuccess: S.String,
|
|
471
|
+
providerAttemptStatusCode: S.String,
|
|
472
|
+
providerAttemptTimeout: S.String,
|
|
473
|
+
providerAttemptIsFinal: S.String,
|
|
474
|
+
providerAttemptNumber: S.String,
|
|
475
|
+
providerAttemptTotalInRequest: S.String,
|
|
476
|
+
generationId: S.String,
|
|
477
|
+
sessionId: S.String,
|
|
478
|
+
contentCaptureStatus: S.String,
|
|
479
|
+
contentCaptureInputs: S.String,
|
|
480
|
+
contentCaptureOutputs: S.String,
|
|
481
|
+
transcriptStatus: S.String,
|
|
482
|
+
transcriptInputs: S.String,
|
|
483
|
+
transcriptOutputs: S.String,
|
|
484
|
+
providerAttemptError: S.String,
|
|
485
|
+
providerAttemptSafetyIdentifier: S.String,
|
|
486
|
+
providerAttemptDevSafetyIdentifier: S.String,
|
|
487
|
+
providerAttemptRegion: S.String,
|
|
488
|
+
providerAttemptModelIndex: S.String,
|
|
489
|
+
toolCallType: S.String,
|
|
490
|
+
toolCallProvider: S.String,
|
|
491
|
+
toolCallSuccess: S.String,
|
|
492
|
+
toolCallErrorType: S.String,
|
|
493
|
+
toolCallStatusCode: S.String,
|
|
494
|
+
environmentId: S.String,
|
|
495
|
+
billableRegion: S.String,
|
|
496
|
+
direction: S.String,
|
|
497
|
+
networkTenancy: S.String,
|
|
498
|
+
trafficSource: S.String,
|
|
499
|
+
networkId: S.String,
|
|
500
|
+
privatelinkEndpointId: S.String,
|
|
501
|
+
privatelinkDnsName: S.String,
|
|
502
|
+
privatelinkIpAddress: S.String,
|
|
503
|
+
})).annotate({
|
|
504
|
+
identifier: "AggregateEventsResponseDataCase1Item",
|
|
505
|
+
});
|
|
506
|
+
export const AggregateEventsResponseDataCase1List = /*@__PURE__*/ S.Array(AggregateEventsResponseDataCase1Item);
|
|
507
|
+
export const AggregateEventsResponseData =
|
|
508
|
+
/*@__PURE__*/ S.Unknown;
|
|
509
|
+
export const AggregateEventsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
510
|
+
version: S.Number,
|
|
511
|
+
query: AggregateEventsResponseQuery,
|
|
512
|
+
data: AggregateEventsResponseData,
|
|
513
|
+
})).annotate({
|
|
514
|
+
identifier: "AggregateEventsResponse",
|
|
515
|
+
});
|
|
516
|
+
export const AggregatePageviewsRequestByItemCase0 = /*@__PURE__*/ S.String;
|
|
517
|
+
export const AggregatePageviewsRequestByItem =
|
|
518
|
+
/*@__PURE__*/ S.Unknown;
|
|
519
|
+
export const AggregatePageviewsRequestByList = /*@__PURE__*/ S.Array(AggregatePageviewsRequestByItem);
|
|
520
|
+
export const AggregatePageviewsRequestSince =
|
|
521
|
+
/*@__PURE__*/ S.Unknown;
|
|
522
|
+
export const AggregatePageviewsRequestUntil =
|
|
523
|
+
/*@__PURE__*/ S.Unknown;
|
|
524
|
+
export const AggregatePageviewsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
525
|
+
projectId: S.String.pipe(T.Query()),
|
|
526
|
+
by: AggregatePageviewsRequestByList.pipe(T.Query()),
|
|
527
|
+
since: AggregatePageviewsRequestSince.pipe(T.Query()),
|
|
528
|
+
until: AggregatePageviewsRequestUntil.pipe(T.Query()),
|
|
529
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
530
|
+
filter: S.optional(S.String.pipe(T.Query())),
|
|
531
|
+
teamId: S.optional(S.String.pipe(T.Query())),
|
|
532
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
533
|
+
}).pipe(T.Http({
|
|
534
|
+
method: "GET",
|
|
535
|
+
uri: "/v1/query/web-analytics/visits/aggregate",
|
|
536
|
+
code: 200,
|
|
537
|
+
}))).annotate({
|
|
538
|
+
identifier: "AggregatePageviewsRequest",
|
|
539
|
+
});
|
|
540
|
+
export const AggregatePageviewsResponseQueryGroupByItemCase1 =
|
|
541
|
+
/*@__PURE__*/ S.String;
|
|
542
|
+
export const AggregatePageviewsResponseQueryGroupByItem =
|
|
543
|
+
/*@__PURE__*/ S.Unknown;
|
|
544
|
+
export const AggregatePageviewsResponseQueryGroupByList = /*@__PURE__*/ S.Array(AggregatePageviewsResponseQueryGroupByItem);
|
|
545
|
+
export const AggregatePageviewsResponseQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
546
|
+
since: S.String,
|
|
547
|
+
until: S.String,
|
|
548
|
+
groupBy: S.optional(AggregatePageviewsResponseQueryGroupByList),
|
|
549
|
+
filter: S.optional(S.String),
|
|
550
|
+
limit: S.Number,
|
|
551
|
+
})).annotate({
|
|
552
|
+
identifier: "AggregatePageviewsResponseQuery",
|
|
553
|
+
});
|
|
554
|
+
export const AggregatePageviewsResponseDataCase0Item = AggregateEventsResponseDataCase0Item;
|
|
555
|
+
export const AggregatePageviewsResponseDataCase0List = /*@__PURE__*/ S.Array(AggregateEventsResponseDataCase0Item);
|
|
556
|
+
export const AggregatePageviewsResponseDataCase1Item = AggregateEventsResponseDataCase1Item;
|
|
557
|
+
export const AggregatePageviewsResponseDataCase1List = /*@__PURE__*/ S.Array(AggregateEventsResponseDataCase1Item);
|
|
558
|
+
export const AggregatePageviewsResponseData =
|
|
559
|
+
/*@__PURE__*/ S.Unknown;
|
|
560
|
+
export const AggregatePageviewsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
561
|
+
version: S.Number,
|
|
562
|
+
query: AggregatePageviewsResponseQuery,
|
|
563
|
+
data: AggregatePageviewsResponseData,
|
|
564
|
+
})).annotate({
|
|
565
|
+
identifier: "AggregatePageviewsResponse",
|
|
566
|
+
});
|
|
567
|
+
export const CountEventsRequestSince =
|
|
568
|
+
/*@__PURE__*/ S.Unknown;
|
|
569
|
+
export const CountEventsRequestUntil =
|
|
570
|
+
/*@__PURE__*/ S.Unknown;
|
|
571
|
+
export const CountEventsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
572
|
+
projectId: S.String.pipe(T.Query()),
|
|
573
|
+
since: S.optional(CountEventsRequestSince.pipe(T.Query())),
|
|
574
|
+
until: S.optional(CountEventsRequestUntil.pipe(T.Query())),
|
|
575
|
+
filter: S.optional(S.String.pipe(T.Query())),
|
|
576
|
+
teamId: S.optional(S.String.pipe(T.Query())),
|
|
577
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
578
|
+
}).pipe(T.Http({
|
|
579
|
+
method: "GET",
|
|
580
|
+
uri: "/v1/query/web-analytics/events/count",
|
|
581
|
+
code: 200,
|
|
582
|
+
}))).annotate({
|
|
583
|
+
identifier: "CountEventsRequest",
|
|
584
|
+
});
|
|
585
|
+
export const CountEventsResponseQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
586
|
+
since: S.String,
|
|
587
|
+
until: S.String,
|
|
588
|
+
filter: S.optional(S.String),
|
|
589
|
+
})).annotate({
|
|
590
|
+
identifier: "CountEventsResponseQuery",
|
|
591
|
+
});
|
|
592
|
+
export const CountEventsResponseData = AggregateEventsResponseDataCase1Item;
|
|
593
|
+
export const CountEventsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
594
|
+
version: S.Number,
|
|
595
|
+
query: CountEventsResponseQuery,
|
|
596
|
+
data: AggregateEventsResponseDataCase1Item,
|
|
597
|
+
})).annotate({
|
|
598
|
+
identifier: "CountEventsResponse",
|
|
599
|
+
});
|
|
600
|
+
export const CountPageviewsRequestSince =
|
|
601
|
+
/*@__PURE__*/ S.Unknown;
|
|
602
|
+
export const CountPageviewsRequestUntil =
|
|
603
|
+
/*@__PURE__*/ S.Unknown;
|
|
604
|
+
export const CountPageviewsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
605
|
+
projectId: S.String.pipe(T.Query()),
|
|
606
|
+
since: S.optional(CountPageviewsRequestSince.pipe(T.Query())),
|
|
607
|
+
until: S.optional(CountPageviewsRequestUntil.pipe(T.Query())),
|
|
608
|
+
filter: S.optional(S.String.pipe(T.Query())),
|
|
609
|
+
teamId: S.optional(S.String.pipe(T.Query())),
|
|
610
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
611
|
+
}).pipe(T.Http({
|
|
612
|
+
method: "GET",
|
|
613
|
+
uri: "/v1/query/web-analytics/visits/count",
|
|
614
|
+
code: 200,
|
|
615
|
+
}))).annotate({
|
|
616
|
+
identifier: "CountPageviewsRequest",
|
|
617
|
+
});
|
|
618
|
+
export const CountPageviewsResponseQuery = CountEventsResponseQuery;
|
|
619
|
+
export const CountPageviewsResponseData = AggregateEventsResponseDataCase1Item;
|
|
620
|
+
export const CountPageviewsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
621
|
+
version: S.Number,
|
|
622
|
+
query: CountEventsResponseQuery,
|
|
623
|
+
data: AggregateEventsResponseDataCase1Item,
|
|
624
|
+
})).annotate({
|
|
625
|
+
identifier: "CountPageviewsResponse",
|
|
626
|
+
});
|
|
627
|
+
export const CreateSpeedInsightsToggleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
628
|
+
projectId: S.String.pipe(T.Query()),
|
|
629
|
+
value: S.Boolean,
|
|
630
|
+
}).pipe(T.Http({ method: "POST", uri: "/speed-insights/toggle", code: 200 }))).annotate({
|
|
631
|
+
identifier: "CreateSpeedInsightsToggleRequest",
|
|
632
|
+
});
|
|
633
|
+
export const CreateSpeedInsightsToggleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
634
|
+
value: S.Boolean,
|
|
635
|
+
})).annotate({
|
|
636
|
+
identifier: "CreateSpeedInsightsToggleResponse",
|
|
637
|
+
});
|
|
638
|
+
export const CreateWebInsightsToggleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
639
|
+
projectId: S.String.pipe(T.Query()),
|
|
640
|
+
value: S.Boolean,
|
|
641
|
+
}).pipe(T.Http({ method: "POST", uri: "/web/insights/toggle", code: 200 }))).annotate({
|
|
642
|
+
identifier: "CreateWebInsightsToggleRequest",
|
|
643
|
+
});
|
|
644
|
+
export const CreateWebInsightsToggleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
645
|
+
value: S.Boolean,
|
|
646
|
+
})).annotate({
|
|
647
|
+
identifier: "CreateWebInsightsToggleResponse",
|
|
648
|
+
});
|
|
649
|
+
/** Aggregates custom events Counts custom events on a project, within the requested date range. Results are either aggregated or broken down over time. Results can additionally be broken down by one dimension, and filtered by multiple dimensions. */
|
|
650
|
+
export const aggregateEvents = /*@__PURE__*/ API.make(() => ({
|
|
651
|
+
input: AggregateEventsRequest,
|
|
652
|
+
output: AggregateEventsResponse,
|
|
653
|
+
errors: [BadRequest, PaymentRequired, Forbidden],
|
|
654
|
+
protocol: VercelProtocol,
|
|
655
|
+
retry: Retry.Retry,
|
|
656
|
+
}));
|
|
657
|
+
/** Aggregates page views Counts pageviews on a project, within the requested date range. Results are either aggregated or broken down over time. Results can additionally be broken down by one dimension, and filtered by multiple dimensions. */
|
|
658
|
+
export const aggregatePageviews = /*@__PURE__*/ API.make(() => ({
|
|
659
|
+
input: AggregatePageviewsRequest,
|
|
660
|
+
output: AggregatePageviewsResponse,
|
|
661
|
+
errors: [BadRequest, PaymentRequired, Forbidden],
|
|
662
|
+
protocol: VercelProtocol,
|
|
663
|
+
retry: Retry.Retry,
|
|
664
|
+
}));
|
|
665
|
+
/** Counts custom events Counts the number of custom events on a project (production only), since Web Analytics was enabled. Results can be filtered on supported dimensions. */
|
|
666
|
+
export const countEvents = /*@__PURE__*/ API.make(() => ({
|
|
667
|
+
input: CountEventsRequest,
|
|
668
|
+
output: CountEventsResponse,
|
|
669
|
+
errors: [BadRequest, PaymentRequired, Forbidden],
|
|
670
|
+
protocol: VercelProtocol,
|
|
671
|
+
retry: Retry.Retry,
|
|
672
|
+
}));
|
|
673
|
+
/** Counts page views Counts the number of page views on a project (production only), since Web Analytics was enabled. Results can be filtered on supported dimensions. */
|
|
674
|
+
export const countPageviews = /*@__PURE__*/ API.make(() => ({
|
|
675
|
+
input: CountPageviewsRequest,
|
|
676
|
+
output: CountPageviewsResponse,
|
|
677
|
+
errors: [BadRequest, PaymentRequired, Forbidden],
|
|
678
|
+
protocol: VercelProtocol,
|
|
679
|
+
retry: Retry.Retry,
|
|
680
|
+
}));
|
|
681
|
+
export const createSpeedInsightsToggle = /*@__PURE__*/ API.make(() => ({
|
|
682
|
+
input: CreateSpeedInsightsToggleRequest,
|
|
683
|
+
output: CreateSpeedInsightsToggleResponse,
|
|
684
|
+
errors: [BadRequest, PaymentRequired, Forbidden],
|
|
685
|
+
protocol: VercelProtocol,
|
|
686
|
+
retry: Retry.Retry,
|
|
687
|
+
}));
|
|
688
|
+
export const createWebInsightsToggle = /*@__PURE__*/ API.make(() => ({
|
|
689
|
+
input: CreateWebInsightsToggleRequest,
|
|
690
|
+
output: CreateWebInsightsToggleResponse,
|
|
691
|
+
errors: [BadRequest, Forbidden],
|
|
692
|
+
protocol: VercelProtocol,
|
|
693
|
+
retry: Retry.Retry,
|
|
694
|
+
}));
|
|
695
|
+
//# sourceMappingURL=web_analytics.js.map
|