@gscdump/contracts 3.4.3 → 3.5.0
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/endpoints.d.mts +4 -4
- package/dist/schemas.d.mts +19 -19
- package/dist/v1/bing-data.d.mts +196 -0
- package/dist/v1/bing-data.mjs +129 -0
- package/dist/v1/documents.mjs +2 -1
- package/dist/v1/http.d.mts +2 -1
- package/dist/v1/http.mjs +2 -1
- package/dist/v1/index.d.mts +2 -1
- package/dist/v1/index.mjs +2 -1
- package/dist/v1/operations.d.mts +568 -136
- package/dist/v1/operations.mjs +78 -0
- package/dist/v1/route-catalog.d.mts +5 -0
- package/dist/v1/route-catalog.mjs +5 -0
- package/package.json +1 -1
package/dist/endpoints.d.mts
CHANGED
|
@@ -1069,8 +1069,8 @@ declare const partnerEndpoints: {
|
|
|
1069
1069
|
siteUrl: import("zod").ZodString;
|
|
1070
1070
|
site: import("zod").ZodObject<{
|
|
1071
1071
|
type: import("zod").ZodEnum<{
|
|
1072
|
-
INET_DOMAIN: "INET_DOMAIN";
|
|
1073
1072
|
SITE: "SITE";
|
|
1073
|
+
INET_DOMAIN: "INET_DOMAIN";
|
|
1074
1074
|
}>;
|
|
1075
1075
|
identifier: import("zod").ZodString;
|
|
1076
1076
|
}, import("zod/v4/core").$strip>;
|
|
@@ -1114,8 +1114,8 @@ declare const partnerEndpoints: {
|
|
|
1114
1114
|
siteUrl: import("zod").ZodString;
|
|
1115
1115
|
site: import("zod").ZodObject<{
|
|
1116
1116
|
type: import("zod").ZodEnum<{
|
|
1117
|
-
INET_DOMAIN: "INET_DOMAIN";
|
|
1118
1117
|
SITE: "SITE";
|
|
1118
|
+
INET_DOMAIN: "INET_DOMAIN";
|
|
1119
1119
|
}>;
|
|
1120
1120
|
identifier: import("zod").ZodString;
|
|
1121
1121
|
}, import("zod/v4/core").$strip>;
|
|
@@ -1413,9 +1413,9 @@ declare const partnerEndpoints: {
|
|
|
1413
1413
|
siteUrl: import("zod").ZodString;
|
|
1414
1414
|
syncStatus: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1415
1415
|
indexingStatus: import("zod").ZodEnum<{
|
|
1416
|
+
complete: "complete";
|
|
1416
1417
|
pending: "pending";
|
|
1417
1418
|
partial: "partial";
|
|
1418
|
-
complete: "complete";
|
|
1419
1419
|
}>;
|
|
1420
1420
|
indexingProgress: import("zod").ZodNumber;
|
|
1421
1421
|
sitemapTotal: import("zod").ZodNumber;
|
|
@@ -1434,8 +1434,8 @@ declare const partnerEndpoints: {
|
|
|
1434
1434
|
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1435
1435
|
offset: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1436
1436
|
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1437
|
-
pending: "pending";
|
|
1438
1437
|
indexed: "indexed";
|
|
1438
|
+
pending: "pending";
|
|
1439
1439
|
not_indexed: "not_indexed";
|
|
1440
1440
|
}>>;
|
|
1441
1441
|
issue: import("zod").ZodOptional<import("zod").ZodString>;
|
package/dist/schemas.d.mts
CHANGED
|
@@ -349,12 +349,12 @@ declare const indexingUrlsResponseSchema: z.ZodObject<{
|
|
|
349
349
|
}, z.core.$loose>;
|
|
350
350
|
declare const GSCDUMP_INDEXING_TRANSITION_FIELDS: readonly ["indexStatus", "coverageState", "robotsTxtState", "indexingState", "pageFetchState", "googleCanonical"];
|
|
351
351
|
declare const gscdumpIndexingTransitionFieldSchema: z.ZodEnum<{
|
|
352
|
+
indexStatus: "indexStatus";
|
|
353
|
+
googleCanonical: "googleCanonical";
|
|
352
354
|
coverageState: "coverageState";
|
|
353
|
-
indexingState: "indexingState";
|
|
354
355
|
robotsTxtState: "robotsTxtState";
|
|
356
|
+
indexingState: "indexingState";
|
|
355
357
|
pageFetchState: "pageFetchState";
|
|
356
|
-
googleCanonical: "googleCanonical";
|
|
357
|
-
indexStatus: "indexStatus";
|
|
358
358
|
}>;
|
|
359
359
|
declare const indexingIssueSchema: z.ZodObject<{
|
|
360
360
|
type: z.ZodString;
|
|
@@ -1705,8 +1705,8 @@ declare const indexingUrlsParamsSchema: z.ZodOptional<z.ZodObject<{
|
|
|
1705
1705
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1706
1706
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1707
1707
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1708
|
-
pending: "pending";
|
|
1709
1708
|
indexed: "indexed";
|
|
1709
|
+
pending: "pending";
|
|
1710
1710
|
not_indexed: "not_indexed";
|
|
1711
1711
|
}>>;
|
|
1712
1712
|
issue: z.ZodOptional<z.ZodString>;
|
|
@@ -1773,9 +1773,9 @@ declare const gscdumpIndexingResponseSchema: z.ZodObject<{
|
|
|
1773
1773
|
siteUrl: z.ZodString;
|
|
1774
1774
|
syncStatus: z.ZodNullable<z.ZodString>;
|
|
1775
1775
|
indexingStatus: z.ZodEnum<{
|
|
1776
|
+
complete: "complete";
|
|
1776
1777
|
pending: "pending";
|
|
1777
1778
|
partial: "partial";
|
|
1778
|
-
complete: "complete";
|
|
1779
1779
|
}>;
|
|
1780
1780
|
indexingProgress: z.ZodNumber;
|
|
1781
1781
|
sitemapTotal: z.ZodNumber;
|
|
@@ -1969,8 +1969,8 @@ declare const gscdumpSyncProgressResponseSchema: z.ZodObject<{
|
|
|
1969
1969
|
needsReauth: z.ZodBoolean;
|
|
1970
1970
|
authFailureCount: z.ZodNumber;
|
|
1971
1971
|
currentPhase: z.ZodEnum<{
|
|
1972
|
-
backfill: "backfill";
|
|
1973
1972
|
complete: "complete";
|
|
1973
|
+
backfill: "backfill";
|
|
1974
1974
|
initial: "initial";
|
|
1975
1975
|
}>;
|
|
1976
1976
|
isStalled: z.ZodBoolean;
|
|
@@ -2483,8 +2483,8 @@ declare const gscVerificationMethodSchema: z.ZodEnum<{
|
|
|
2483
2483
|
}>;
|
|
2484
2484
|
declare const gscVerificationSiteSchema: z.ZodObject<{
|
|
2485
2485
|
type: z.ZodEnum<{
|
|
2486
|
-
INET_DOMAIN: "INET_DOMAIN";
|
|
2487
2486
|
SITE: "SITE";
|
|
2487
|
+
INET_DOMAIN: "INET_DOMAIN";
|
|
2488
2488
|
}>;
|
|
2489
2489
|
identifier: z.ZodString;
|
|
2490
2490
|
}, z.core.$strip>;
|
|
@@ -2512,8 +2512,8 @@ declare const gscVerificationTokenResponseSchema: z.ZodObject<{
|
|
|
2512
2512
|
siteUrl: z.ZodString;
|
|
2513
2513
|
site: z.ZodObject<{
|
|
2514
2514
|
type: z.ZodEnum<{
|
|
2515
|
-
INET_DOMAIN: "INET_DOMAIN";
|
|
2516
2515
|
SITE: "SITE";
|
|
2516
|
+
INET_DOMAIN: "INET_DOMAIN";
|
|
2517
2517
|
}>;
|
|
2518
2518
|
identifier: z.ZodString;
|
|
2519
2519
|
}, z.core.$strip>;
|
|
@@ -2540,8 +2540,8 @@ declare const gscAddAndVerifyResponseSchema: z.ZodObject<{
|
|
|
2540
2540
|
siteUrl: z.ZodString;
|
|
2541
2541
|
site: z.ZodObject<{
|
|
2542
2542
|
type: z.ZodEnum<{
|
|
2543
|
-
INET_DOMAIN: "INET_DOMAIN";
|
|
2544
2543
|
SITE: "SITE";
|
|
2544
|
+
INET_DOMAIN: "INET_DOMAIN";
|
|
2545
2545
|
}>;
|
|
2546
2546
|
identifier: z.ZodString;
|
|
2547
2547
|
}, z.core.$strip>;
|
|
@@ -3428,8 +3428,8 @@ declare const partnerControlEndpointSchemas: {
|
|
|
3428
3428
|
needsReauth: z.ZodBoolean;
|
|
3429
3429
|
authFailureCount: z.ZodNumber;
|
|
3430
3430
|
currentPhase: z.ZodEnum<{
|
|
3431
|
-
backfill: "backfill";
|
|
3432
3431
|
complete: "complete";
|
|
3432
|
+
backfill: "backfill";
|
|
3433
3433
|
initial: "initial";
|
|
3434
3434
|
}>;
|
|
3435
3435
|
isStalled: z.ZodBoolean;
|
|
@@ -4318,9 +4318,9 @@ declare const partnerControlEndpointSchemas: {
|
|
|
4318
4318
|
siteUrl: z.ZodString;
|
|
4319
4319
|
syncStatus: z.ZodNullable<z.ZodString>;
|
|
4320
4320
|
indexingStatus: z.ZodEnum<{
|
|
4321
|
+
complete: "complete";
|
|
4321
4322
|
pending: "pending";
|
|
4322
4323
|
partial: "partial";
|
|
4323
|
-
complete: "complete";
|
|
4324
4324
|
}>;
|
|
4325
4325
|
indexingProgress: z.ZodNumber;
|
|
4326
4326
|
sitemapTotal: z.ZodNumber;
|
|
@@ -4336,8 +4336,8 @@ declare const partnerControlEndpointSchemas: {
|
|
|
4336
4336
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
4337
4337
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
4338
4338
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4339
|
-
pending: "pending";
|
|
4340
4339
|
indexed: "indexed";
|
|
4340
|
+
pending: "pending";
|
|
4341
4341
|
not_indexed: "not_indexed";
|
|
4342
4342
|
}>>;
|
|
4343
4343
|
issue: z.ZodOptional<z.ZodString>;
|
|
@@ -4844,8 +4844,8 @@ declare const partnerControlEndpointSchemas: {
|
|
|
4844
4844
|
siteUrl: z.ZodString;
|
|
4845
4845
|
site: z.ZodObject<{
|
|
4846
4846
|
type: z.ZodEnum<{
|
|
4847
|
-
INET_DOMAIN: "INET_DOMAIN";
|
|
4848
4847
|
SITE: "SITE";
|
|
4848
|
+
INET_DOMAIN: "INET_DOMAIN";
|
|
4849
4849
|
}>;
|
|
4850
4850
|
identifier: z.ZodString;
|
|
4851
4851
|
}, z.core.$strip>;
|
|
@@ -4886,8 +4886,8 @@ declare const partnerControlEndpointSchemas: {
|
|
|
4886
4886
|
siteUrl: z.ZodString;
|
|
4887
4887
|
site: z.ZodObject<{
|
|
4888
4888
|
type: z.ZodEnum<{
|
|
4889
|
-
INET_DOMAIN: "INET_DOMAIN";
|
|
4890
4889
|
SITE: "SITE";
|
|
4890
|
+
INET_DOMAIN: "INET_DOMAIN";
|
|
4891
4891
|
}>;
|
|
4892
4892
|
identifier: z.ZodString;
|
|
4893
4893
|
}, z.core.$strip>;
|
|
@@ -5127,8 +5127,8 @@ declare const partnerEndpointSchemas: {
|
|
|
5127
5127
|
needsReauth: z.ZodBoolean;
|
|
5128
5128
|
authFailureCount: z.ZodNumber;
|
|
5129
5129
|
currentPhase: z.ZodEnum<{
|
|
5130
|
-
backfill: "backfill";
|
|
5131
5130
|
complete: "complete";
|
|
5131
|
+
backfill: "backfill";
|
|
5132
5132
|
initial: "initial";
|
|
5133
5133
|
}>;
|
|
5134
5134
|
isStalled: z.ZodBoolean;
|
|
@@ -6017,9 +6017,9 @@ declare const partnerEndpointSchemas: {
|
|
|
6017
6017
|
siteUrl: z.ZodString;
|
|
6018
6018
|
syncStatus: z.ZodNullable<z.ZodString>;
|
|
6019
6019
|
indexingStatus: z.ZodEnum<{
|
|
6020
|
+
complete: "complete";
|
|
6020
6021
|
pending: "pending";
|
|
6021
6022
|
partial: "partial";
|
|
6022
|
-
complete: "complete";
|
|
6023
6023
|
}>;
|
|
6024
6024
|
indexingProgress: z.ZodNumber;
|
|
6025
6025
|
sitemapTotal: z.ZodNumber;
|
|
@@ -6035,8 +6035,8 @@ declare const partnerEndpointSchemas: {
|
|
|
6035
6035
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
6036
6036
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
6037
6037
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6038
|
-
pending: "pending";
|
|
6039
6038
|
indexed: "indexed";
|
|
6039
|
+
pending: "pending";
|
|
6040
6040
|
not_indexed: "not_indexed";
|
|
6041
6041
|
}>>;
|
|
6042
6042
|
issue: z.ZodOptional<z.ZodString>;
|
|
@@ -6543,8 +6543,8 @@ declare const partnerEndpointSchemas: {
|
|
|
6543
6543
|
siteUrl: z.ZodString;
|
|
6544
6544
|
site: z.ZodObject<{
|
|
6545
6545
|
type: z.ZodEnum<{
|
|
6546
|
-
INET_DOMAIN: "INET_DOMAIN";
|
|
6547
6546
|
SITE: "SITE";
|
|
6547
|
+
INET_DOMAIN: "INET_DOMAIN";
|
|
6548
6548
|
}>;
|
|
6549
6549
|
identifier: z.ZodString;
|
|
6550
6550
|
}, z.core.$strip>;
|
|
@@ -6585,8 +6585,8 @@ declare const partnerEndpointSchemas: {
|
|
|
6585
6585
|
siteUrl: z.ZodString;
|
|
6586
6586
|
site: z.ZodObject<{
|
|
6587
6587
|
type: z.ZodEnum<{
|
|
6588
|
-
INET_DOMAIN: "INET_DOMAIN";
|
|
6589
6588
|
SITE: "SITE";
|
|
6589
|
+
INET_DOMAIN: "INET_DOMAIN";
|
|
6590
6590
|
}>;
|
|
6591
6591
|
identifier: z.ZodString;
|
|
6592
6592
|
}, z.core.$strip>;
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { CompatibleResponseSchema } from "./http-core.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
declare const bingDataQueryV1Schema: z.ZodObject<{
|
|
4
|
+
dataset: z.ZodEnum<{
|
|
5
|
+
keywords: "keywords";
|
|
6
|
+
pages: "pages";
|
|
7
|
+
traffic: "traffic";
|
|
8
|
+
crawl: "crawl";
|
|
9
|
+
}>;
|
|
10
|
+
startDate: z.ZodISODate;
|
|
11
|
+
endDate: z.ZodISODate;
|
|
12
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
13
|
+
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
14
|
+
}, z.core.$strict>;
|
|
15
|
+
declare const sync: {
|
|
16
|
+
producer: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
18
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
+
readonly observedAt: z.ZodISODateTime;
|
|
20
|
+
readonly providerStartDate: z.ZodNullable<z.ZodISODate>;
|
|
21
|
+
readonly providerEndDate: z.ZodNullable<z.ZodISODate>;
|
|
22
|
+
readonly _tag: z.ZodLiteral<"ready">;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
readonly observedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
25
|
+
readonly lastAttemptAt: z.ZodISODateTime;
|
|
26
|
+
readonly reason: z.ZodString;
|
|
27
|
+
readonly providerStartDate: z.ZodNullable<z.ZodISODate>;
|
|
28
|
+
readonly providerEndDate: z.ZodNullable<z.ZodISODate>;
|
|
29
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
30
|
+
}, z.core.$strip>], "_tag">;
|
|
31
|
+
client: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
32
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
33
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
+
readonly observedAt: z.ZodISODateTime;
|
|
35
|
+
readonly providerStartDate: z.ZodNullable<z.ZodISODate>;
|
|
36
|
+
readonly providerEndDate: z.ZodNullable<z.ZodISODate>;
|
|
37
|
+
readonly _tag: z.ZodLiteral<"ready">;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
readonly observedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
40
|
+
readonly lastAttemptAt: z.ZodISODateTime;
|
|
41
|
+
readonly reason: z.ZodString;
|
|
42
|
+
readonly providerStartDate: z.ZodNullable<z.ZodISODate>;
|
|
43
|
+
readonly providerEndDate: z.ZodNullable<z.ZodISODate>;
|
|
44
|
+
readonly _tag: z.ZodLiteral<"unavailable">;
|
|
45
|
+
}, z.core.$strip>], "_tag">;
|
|
46
|
+
};
|
|
47
|
+
declare const pagination: CompatibleResponseSchema<z.ZodObject<{
|
|
48
|
+
readonly total: z.ZodNumber;
|
|
49
|
+
readonly limit: z.ZodNumber;
|
|
50
|
+
readonly offset: z.ZodNumber;
|
|
51
|
+
readonly hasMore: z.ZodBoolean;
|
|
52
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
+
readonly total: z.ZodNumber;
|
|
54
|
+
readonly limit: z.ZodNumber;
|
|
55
|
+
readonly offset: z.ZodNumber;
|
|
56
|
+
readonly hasMore: z.ZodBoolean;
|
|
57
|
+
}, z.core.$strip>>;
|
|
58
|
+
declare const bingDataV1Schemas: {
|
|
59
|
+
producer: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
60
|
+
searchEngine: z.ZodLiteral<"bing">;
|
|
61
|
+
siteUrl: z.ZodURL;
|
|
62
|
+
dataset: z.ZodLiteral<"traffic">;
|
|
63
|
+
semantics: z.ZodLiteral<"site-totals">;
|
|
64
|
+
sync: typeof sync.producer;
|
|
65
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
66
|
+
readonly date: z.ZodISODate;
|
|
67
|
+
readonly clicks: z.ZodNumber;
|
|
68
|
+
readonly impressions: z.ZodNumber;
|
|
69
|
+
}, z.core.$strip>>;
|
|
70
|
+
pagination: typeof pagination.producer;
|
|
71
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
72
|
+
searchEngine: z.ZodLiteral<"bing">;
|
|
73
|
+
siteUrl: z.ZodURL;
|
|
74
|
+
dataset: z.ZodLiteral<"pages">;
|
|
75
|
+
semantics: z.ZodLiteral<"ranked-pages">;
|
|
76
|
+
sync: typeof sync.producer;
|
|
77
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
78
|
+
readonly averageClickPosition: z.ZodNullable<z.ZodNumber>;
|
|
79
|
+
readonly averageImpressionPosition: z.ZodNullable<z.ZodNumber>;
|
|
80
|
+
readonly page: z.ZodURL;
|
|
81
|
+
readonly date: z.ZodISODate;
|
|
82
|
+
readonly clicks: z.ZodNumber;
|
|
83
|
+
readonly impressions: z.ZodNumber;
|
|
84
|
+
}, z.core.$strip>>;
|
|
85
|
+
pagination: typeof pagination.producer;
|
|
86
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
87
|
+
searchEngine: z.ZodLiteral<"bing">;
|
|
88
|
+
siteUrl: z.ZodURL;
|
|
89
|
+
dataset: z.ZodLiteral<"keywords">;
|
|
90
|
+
semantics: z.ZodLiteral<"ranked-keywords">;
|
|
91
|
+
sync: typeof sync.producer;
|
|
92
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
93
|
+
readonly averageClickPosition: z.ZodNullable<z.ZodNumber>;
|
|
94
|
+
readonly averageImpressionPosition: z.ZodNullable<z.ZodNumber>;
|
|
95
|
+
readonly keyword: z.ZodString;
|
|
96
|
+
readonly date: z.ZodISODate;
|
|
97
|
+
readonly clicks: z.ZodNumber;
|
|
98
|
+
readonly impressions: z.ZodNumber;
|
|
99
|
+
}, z.core.$strip>>;
|
|
100
|
+
pagination: typeof pagination.producer;
|
|
101
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
102
|
+
searchEngine: z.ZodLiteral<"bing">;
|
|
103
|
+
siteUrl: z.ZodURL;
|
|
104
|
+
dataset: z.ZodLiteral<"crawl">;
|
|
105
|
+
semantics: z.ZodLiteral<"crawl-statistics">;
|
|
106
|
+
sync: typeof sync.producer;
|
|
107
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
108
|
+
readonly date: z.ZodISODate;
|
|
109
|
+
readonly crawledPages: z.ZodNumber;
|
|
110
|
+
readonly inIndex: z.ZodNumber;
|
|
111
|
+
readonly inLinks: z.ZodNumber;
|
|
112
|
+
readonly crawlErrors: z.ZodNumber;
|
|
113
|
+
readonly blockedByRobotsTxt: z.ZodNumber;
|
|
114
|
+
readonly containsMalware: z.ZodNumber;
|
|
115
|
+
readonly code2xx: z.ZodNumber;
|
|
116
|
+
readonly code301: z.ZodNumber;
|
|
117
|
+
readonly code302: z.ZodNumber;
|
|
118
|
+
readonly code4xx: z.ZodNumber;
|
|
119
|
+
readonly code5xx: z.ZodNumber;
|
|
120
|
+
readonly allOtherCodes: z.ZodNumber;
|
|
121
|
+
readonly connectionTimeout: z.ZodNullable<z.ZodNumber>;
|
|
122
|
+
readonly dnsFailures: z.ZodNullable<z.ZodNumber>;
|
|
123
|
+
}, z.core.$strip>>;
|
|
124
|
+
pagination: typeof pagination.producer;
|
|
125
|
+
}, z.core.$strip>], "dataset">;
|
|
126
|
+
client: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
127
|
+
searchEngine: z.ZodLiteral<"bing">;
|
|
128
|
+
siteUrl: z.ZodURL;
|
|
129
|
+
dataset: z.ZodLiteral<"traffic">;
|
|
130
|
+
semantics: z.ZodLiteral<"site-totals">;
|
|
131
|
+
sync: typeof sync.producer;
|
|
132
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
133
|
+
readonly date: z.ZodISODate;
|
|
134
|
+
readonly clicks: z.ZodNumber;
|
|
135
|
+
readonly impressions: z.ZodNumber;
|
|
136
|
+
}, z.core.$strip>>;
|
|
137
|
+
pagination: typeof pagination.producer;
|
|
138
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
139
|
+
searchEngine: z.ZodLiteral<"bing">;
|
|
140
|
+
siteUrl: z.ZodURL;
|
|
141
|
+
dataset: z.ZodLiteral<"pages">;
|
|
142
|
+
semantics: z.ZodLiteral<"ranked-pages">;
|
|
143
|
+
sync: typeof sync.producer;
|
|
144
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
145
|
+
readonly averageClickPosition: z.ZodNullable<z.ZodNumber>;
|
|
146
|
+
readonly averageImpressionPosition: z.ZodNullable<z.ZodNumber>;
|
|
147
|
+
readonly page: z.ZodURL;
|
|
148
|
+
readonly date: z.ZodISODate;
|
|
149
|
+
readonly clicks: z.ZodNumber;
|
|
150
|
+
readonly impressions: z.ZodNumber;
|
|
151
|
+
}, z.core.$strip>>;
|
|
152
|
+
pagination: typeof pagination.producer;
|
|
153
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
154
|
+
searchEngine: z.ZodLiteral<"bing">;
|
|
155
|
+
siteUrl: z.ZodURL;
|
|
156
|
+
dataset: z.ZodLiteral<"keywords">;
|
|
157
|
+
semantics: z.ZodLiteral<"ranked-keywords">;
|
|
158
|
+
sync: typeof sync.producer;
|
|
159
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
160
|
+
readonly averageClickPosition: z.ZodNullable<z.ZodNumber>;
|
|
161
|
+
readonly averageImpressionPosition: z.ZodNullable<z.ZodNumber>;
|
|
162
|
+
readonly keyword: z.ZodString;
|
|
163
|
+
readonly date: z.ZodISODate;
|
|
164
|
+
readonly clicks: z.ZodNumber;
|
|
165
|
+
readonly impressions: z.ZodNumber;
|
|
166
|
+
}, z.core.$strip>>;
|
|
167
|
+
pagination: typeof pagination.producer;
|
|
168
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
169
|
+
searchEngine: z.ZodLiteral<"bing">;
|
|
170
|
+
siteUrl: z.ZodURL;
|
|
171
|
+
dataset: z.ZodLiteral<"crawl">;
|
|
172
|
+
semantics: z.ZodLiteral<"crawl-statistics">;
|
|
173
|
+
sync: typeof sync.producer;
|
|
174
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
175
|
+
readonly date: z.ZodISODate;
|
|
176
|
+
readonly crawledPages: z.ZodNumber;
|
|
177
|
+
readonly inIndex: z.ZodNumber;
|
|
178
|
+
readonly inLinks: z.ZodNumber;
|
|
179
|
+
readonly crawlErrors: z.ZodNumber;
|
|
180
|
+
readonly blockedByRobotsTxt: z.ZodNumber;
|
|
181
|
+
readonly containsMalware: z.ZodNumber;
|
|
182
|
+
readonly code2xx: z.ZodNumber;
|
|
183
|
+
readonly code301: z.ZodNumber;
|
|
184
|
+
readonly code302: z.ZodNumber;
|
|
185
|
+
readonly code4xx: z.ZodNumber;
|
|
186
|
+
readonly code5xx: z.ZodNumber;
|
|
187
|
+
readonly allOtherCodes: z.ZodNumber;
|
|
188
|
+
readonly connectionTimeout: z.ZodNullable<z.ZodNumber>;
|
|
189
|
+
readonly dnsFailures: z.ZodNullable<z.ZodNumber>;
|
|
190
|
+
}, z.core.$strip>>;
|
|
191
|
+
pagination: typeof pagination.producer;
|
|
192
|
+
}, z.core.$strip>], "dataset">;
|
|
193
|
+
};
|
|
194
|
+
type BingDataV1 = z.infer<typeof bingDataV1Schemas.producer>;
|
|
195
|
+
type BingDataQueryV1 = z.infer<typeof bingDataQueryV1Schema>;
|
|
196
|
+
export { BingDataQueryV1, BingDataV1, bingDataQueryV1Schema, bingDataV1Schemas };
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { defineResponseObject } from "./http-core.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const bingDataQueryV1Schema = z.strictObject({
|
|
4
|
+
dataset: z.enum([
|
|
5
|
+
"traffic",
|
|
6
|
+
"pages",
|
|
7
|
+
"keywords",
|
|
8
|
+
"crawl"
|
|
9
|
+
]),
|
|
10
|
+
startDate: z.iso.date(),
|
|
11
|
+
endDate: z.iso.date(),
|
|
12
|
+
limit: z.coerce.number().int().min(1).max(500).default(100),
|
|
13
|
+
offset: z.coerce.number().int().min(0).max(1e5).default(0)
|
|
14
|
+
}).refine((value) => value.endDate >= value.startDate && Date.parse(value.endDate) - Date.parse(value.startDate) <= 316224e5, {
|
|
15
|
+
message: "The date range must be ordered and span at most 366 days.",
|
|
16
|
+
path: ["endDate"]
|
|
17
|
+
});
|
|
18
|
+
const observed = {
|
|
19
|
+
observedAt: z.iso.datetime(),
|
|
20
|
+
providerStartDate: z.iso.date().nullable(),
|
|
21
|
+
providerEndDate: z.iso.date().nullable()
|
|
22
|
+
};
|
|
23
|
+
const missing = defineResponseObject({ _tag: z.literal("missing") });
|
|
24
|
+
const ready = defineResponseObject({
|
|
25
|
+
_tag: z.literal("ready"),
|
|
26
|
+
...observed
|
|
27
|
+
});
|
|
28
|
+
const unavailable = defineResponseObject({
|
|
29
|
+
_tag: z.literal("unavailable"),
|
|
30
|
+
...observed,
|
|
31
|
+
observedAt: z.iso.datetime().nullable(),
|
|
32
|
+
lastAttemptAt: z.iso.datetime(),
|
|
33
|
+
reason: z.string().min(1)
|
|
34
|
+
});
|
|
35
|
+
const sync = {
|
|
36
|
+
producer: z.discriminatedUnion("_tag", [
|
|
37
|
+
missing.producer,
|
|
38
|
+
ready.producer,
|
|
39
|
+
unavailable.producer
|
|
40
|
+
]),
|
|
41
|
+
client: z.discriminatedUnion("_tag", [
|
|
42
|
+
missing.client,
|
|
43
|
+
ready.client,
|
|
44
|
+
unavailable.client
|
|
45
|
+
])
|
|
46
|
+
};
|
|
47
|
+
const pagination = defineResponseObject({
|
|
48
|
+
total: z.number().int().nonnegative(),
|
|
49
|
+
limit: z.number().int().min(1).max(500),
|
|
50
|
+
offset: z.number().int().nonnegative(),
|
|
51
|
+
hasMore: z.boolean()
|
|
52
|
+
});
|
|
53
|
+
const traffic = defineResponseObject({
|
|
54
|
+
date: z.iso.date(),
|
|
55
|
+
clicks: z.number().nonnegative(),
|
|
56
|
+
impressions: z.number().nonnegative()
|
|
57
|
+
});
|
|
58
|
+
const positions = {
|
|
59
|
+
averageClickPosition: z.number().nonnegative().nullable(),
|
|
60
|
+
averageImpressionPosition: z.number().nonnegative().nullable()
|
|
61
|
+
};
|
|
62
|
+
const pages = defineResponseObject({
|
|
63
|
+
...traffic.producer.shape,
|
|
64
|
+
page: z.url(),
|
|
65
|
+
...positions
|
|
66
|
+
});
|
|
67
|
+
const keywords = defineResponseObject({
|
|
68
|
+
...traffic.producer.shape,
|
|
69
|
+
keyword: z.string(),
|
|
70
|
+
...positions
|
|
71
|
+
});
|
|
72
|
+
const count = z.number().int().nonnegative();
|
|
73
|
+
const crawl = defineResponseObject({
|
|
74
|
+
date: z.iso.date(),
|
|
75
|
+
crawledPages: count,
|
|
76
|
+
inIndex: count,
|
|
77
|
+
inLinks: count,
|
|
78
|
+
crawlErrors: count,
|
|
79
|
+
blockedByRobotsTxt: count,
|
|
80
|
+
containsMalware: count,
|
|
81
|
+
code2xx: count,
|
|
82
|
+
code301: count,
|
|
83
|
+
code302: count,
|
|
84
|
+
code4xx: count,
|
|
85
|
+
code5xx: count,
|
|
86
|
+
allOtherCodes: count,
|
|
87
|
+
connectionTimeout: count.nullable(),
|
|
88
|
+
dnsFailures: count.nullable()
|
|
89
|
+
});
|
|
90
|
+
function dataset(name, semantics, rows) {
|
|
91
|
+
const common = {
|
|
92
|
+
searchEngine: z.literal("bing"),
|
|
93
|
+
siteUrl: z.url(),
|
|
94
|
+
dataset: z.literal(name),
|
|
95
|
+
semantics: z.literal(semantics)
|
|
96
|
+
};
|
|
97
|
+
return defineResponseObject({
|
|
98
|
+
...common,
|
|
99
|
+
sync: sync.producer,
|
|
100
|
+
rows: z.array(rows.producer),
|
|
101
|
+
pagination: pagination.producer
|
|
102
|
+
}, {
|
|
103
|
+
...common,
|
|
104
|
+
sync: sync.client,
|
|
105
|
+
rows: z.array(rows.client),
|
|
106
|
+
pagination: pagination.client
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
const datasets = [
|
|
110
|
+
dataset("traffic", "site-totals", traffic),
|
|
111
|
+
dataset("pages", "ranked-pages", pages),
|
|
112
|
+
dataset("keywords", "ranked-keywords", keywords),
|
|
113
|
+
dataset("crawl", "crawl-statistics", crawl)
|
|
114
|
+
];
|
|
115
|
+
const bingDataV1Schemas = {
|
|
116
|
+
producer: z.discriminatedUnion("dataset", [
|
|
117
|
+
datasets[0].producer,
|
|
118
|
+
datasets[1].producer,
|
|
119
|
+
datasets[2].producer,
|
|
120
|
+
datasets[3].producer
|
|
121
|
+
]),
|
|
122
|
+
client: z.discriminatedUnion("dataset", [
|
|
123
|
+
datasets[0].client,
|
|
124
|
+
datasets[1].client,
|
|
125
|
+
datasets[2].client,
|
|
126
|
+
datasets[3].client
|
|
127
|
+
])
|
|
128
|
+
};
|
|
129
|
+
export { bingDataQueryV1Schema, bingDataV1Schemas };
|
package/dist/v1/documents.mjs
CHANGED
|
@@ -45,9 +45,10 @@ function registerComponentSchema(schema, prefix, components) {
|
|
|
45
45
|
}
|
|
46
46
|
function objectSchemaProperties(schema) {
|
|
47
47
|
const document = jsonSchema(schema);
|
|
48
|
+
const inputDocument = z.toJSONSchema(schema, { io: "input" });
|
|
48
49
|
return {
|
|
49
50
|
properties: document.properties ?? {},
|
|
50
|
-
required: new Set(
|
|
51
|
+
required: new Set(inputDocument.required ?? [])
|
|
51
52
|
};
|
|
52
53
|
}
|
|
53
54
|
function requestParameters(operation) {
|
package/dist/v1/http.d.mts
CHANGED
|
@@ -2,5 +2,6 @@ import { UnknownHttpV1OperationError, isUnknownHttpV1OperationError } from "./ht
|
|
|
2
2
|
import { GSCDUMP_HTTP_V1_VERSION } from "./version.mjs";
|
|
3
3
|
import { CompatibleResponseSchema, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, HttpV1Credential, HttpV1ErrorCode, HttpV1Method, HttpV1OperationDefinition, HttpV1OperationEntry, HttpV1OperationRequest, HttpV1OwnershipRule, HttpV1ProtocolLike, HttpV1ProtocolOperation, HttpV1Registry, HttpV1RegistryOperationEntry, HttpV1RegistryOperationId, HttpV1RegistryPathOptions, HttpV1RegistryPathParams, HttpV1RequestSchemas, HttpV1ResourceReference, HttpV1ResourceType, HttpV1Scope, HttpV1Semantics, HttpV1Surface, HttpV1SurfaceName, HttpV1Visibility, ResolvedHttpV1Operation, buildHttpOperationPath, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, listHttpOperations, resolveHttpOperation } from "./http-core.mjs";
|
|
4
4
|
import { BingCnameVerificationV1, BingConnectionV1, bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mjs";
|
|
5
|
+
import { BingDataQueryV1, BingDataV1, bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
5
6
|
import { AnalyticsReportDetailV1Request, AnalyticsReportDetailV1Response, AnalyticsReportV1Request, AnalyticsReportV1Response, AnalyticsRowsV1Request, AnalyticsRowsV1Response, GscdumpV1ErrorEnvelope, GscdumpV1Operation, GscdumpV1OperationId, GscdumpV1Protocol, GscdumpV1RequestMetadata, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, PartnerUserLifecycleV1Response, createGscdumpV1Protocol } from "./operations.mjs";
|
|
6
|
-
export { AnalyticsReportDetailV1Request, AnalyticsReportDetailV1Response, AnalyticsReportV1Request, AnalyticsReportV1Response, AnalyticsRowsV1Request, AnalyticsRowsV1Response, type BingCnameVerificationV1, type BingConnectionV1, CompatibleResponseSchema, GSCDUMP_HTTP_V1_VERSION, GscdumpV1ErrorEnvelope, GscdumpV1Operation, GscdumpV1OperationId, GscdumpV1Protocol, GscdumpV1RequestMetadata, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, HttpV1Credential, HttpV1ErrorCode, HttpV1Method, HttpV1OperationDefinition, HttpV1OperationEntry, HttpV1OperationRequest, HttpV1OwnershipRule, HttpV1ProtocolLike, HttpV1ProtocolOperation, HttpV1Registry, HttpV1RegistryOperationEntry, HttpV1RegistryOperationId, HttpV1RegistryPathOptions, HttpV1RegistryPathParams, HttpV1RequestSchemas, HttpV1ResourceReference, HttpV1ResourceType, HttpV1Scope, HttpV1Semantics, HttpV1Surface, HttpV1SurfaceName, HttpV1Visibility, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, PartnerUserLifecycleV1Response, ResolvedHttpV1Operation, type UnknownHttpV1OperationError, bingCnameVerificationV1Schema, bingConnectionV1Schema, buildHttpOperationPath, createGscdumpV1Protocol, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation };
|
|
7
|
+
export { AnalyticsReportDetailV1Request, AnalyticsReportDetailV1Response, AnalyticsReportV1Request, AnalyticsReportV1Response, AnalyticsRowsV1Request, AnalyticsRowsV1Response, type BingCnameVerificationV1, type BingConnectionV1, type BingDataQueryV1, type BingDataV1, CompatibleResponseSchema, GSCDUMP_HTTP_V1_VERSION, GscdumpV1ErrorEnvelope, GscdumpV1Operation, GscdumpV1OperationId, GscdumpV1Protocol, GscdumpV1RequestMetadata, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, HttpV1Credential, HttpV1ErrorCode, HttpV1Method, HttpV1OperationDefinition, HttpV1OperationEntry, HttpV1OperationRequest, HttpV1OwnershipRule, HttpV1ProtocolLike, HttpV1ProtocolOperation, HttpV1Registry, HttpV1RegistryOperationEntry, HttpV1RegistryOperationId, HttpV1RegistryPathOptions, HttpV1RegistryPathParams, HttpV1RequestSchemas, HttpV1ResourceReference, HttpV1ResourceType, HttpV1Scope, HttpV1Semantics, HttpV1Surface, HttpV1SurfaceName, HttpV1Visibility, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, PartnerUserLifecycleV1Response, ResolvedHttpV1Operation, type UnknownHttpV1OperationError, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, buildHttpOperationPath, createGscdumpV1Protocol, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation };
|
package/dist/v1/http.mjs
CHANGED
|
@@ -2,5 +2,6 @@ import { bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mj
|
|
|
2
2
|
import { isUnknownHttpV1OperationError } from "./http-operation-error.mjs";
|
|
3
3
|
import { GSCDUMP_HTTP_V1_VERSION } from "./version.mjs";
|
|
4
4
|
import { HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, buildHttpOperationPath, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, listHttpOperations, resolveHttpOperation } from "./http-core.mjs";
|
|
5
|
+
import { bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
5
6
|
import { createGscdumpV1Protocol } from "./operations.mjs";
|
|
6
|
-
export { GSCDUMP_HTTP_V1_VERSION, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, bingCnameVerificationV1Schema, bingConnectionV1Schema, buildHttpOperationPath, createGscdumpV1Protocol, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation };
|
|
7
|
+
export { GSCDUMP_HTTP_V1_VERSION, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, buildHttpOperationPath, createGscdumpV1Protocol, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation };
|
package/dist/v1/index.d.mts
CHANGED
|
@@ -3,7 +3,8 @@ import { GSCDUMP_HTTP_V1_VERSION } from "./version.mjs";
|
|
|
3
3
|
import { CompatibleResponseSchema, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, HttpV1Credential, HttpV1ErrorCode, HttpV1Method, HttpV1OperationDefinition, HttpV1OperationEntry, HttpV1OperationRequest, HttpV1OwnershipRule, HttpV1ProtocolLike, HttpV1ProtocolOperation, HttpV1Registry, HttpV1RegistryOperationEntry, HttpV1RegistryOperationId, HttpV1RegistryPathOptions, HttpV1RegistryPathParams, HttpV1RequestSchemas, HttpV1ResourceReference, HttpV1ResourceType, HttpV1Scope, HttpV1Semantics, HttpV1Surface, HttpV1SurfaceName, HttpV1Visibility, ResolvedHttpV1Operation, buildHttpOperationPath, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, listHttpOperations, resolveHttpOperation } from "./http-core.mjs";
|
|
4
4
|
import { GSCDUMP_REALTIME_ACK_POLICY, GSCDUMP_REALTIME_CLOSE_CODES, GSCDUMP_REALTIME_CONNECTION_POLICY, GSCDUMP_REALTIME_LIMITS, GSCDUMP_REALTIME_MAX_CONNECTION_SECONDS, GSCDUMP_REALTIME_PING, GSCDUMP_REALTIME_PONG, GSCDUMP_REALTIME_PROTOCOL_VERSION, GSCDUMP_REALTIME_REPLAY_POLICY, GSCDUMP_REALTIME_SUBPROTOCOL, GSCDUMP_REALTIME_TICKET_AUDIENCE, GSCDUMP_REALTIME_TICKET_ISSUER, GSCDUMP_REALTIME_TICKET_POLICY, GSCDUMP_REALTIME_TICKET_PREFIX, GSCDUMP_REALTIME_TICKET_TTL_SECONDS, REALTIME_V1_EVENT_NAMES, REALTIME_V1_EVENT_SEMANTICS, REALTIME_V1_RESOURCE_TYPES, RealtimeTicketV1Response, RealtimeV1ClientFrame, RealtimeV1Cursor, RealtimeV1Event, RealtimeV1ResourceChange, RealtimeV1Schemas, RealtimeV1ServerFrame, RealtimeV1StreamHead, RealtimeV1StreamId, RealtimeV1TicketClaims, RealtimeV1TicketRequest, createRealtimeV1Schemas } from "./realtime.mjs";
|
|
5
5
|
import { BingCnameVerificationV1, BingConnectionV1, bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mjs";
|
|
6
|
+
import { BingDataQueryV1, BingDataV1, bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
6
7
|
import { AnalyticsReportDetailV1Request, AnalyticsReportDetailV1Response, AnalyticsReportV1Request, AnalyticsReportV1Response, AnalyticsRowsV1Request, AnalyticsRowsV1Response, GscdumpV1ErrorEnvelope, GscdumpV1Operation, GscdumpV1OperationId, GscdumpV1Protocol, GscdumpV1RequestMetadata, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, PartnerUserLifecycleV1Response, createGscdumpV1Protocol } from "./operations.mjs";
|
|
7
8
|
import "./http.mjs";
|
|
8
9
|
import { ContractDocument, createGscdumpV1Documents, serializeContractDocument } from "./documents.mjs";
|
|
9
|
-
export { AnalyticsReportDetailV1Request, AnalyticsReportDetailV1Response, AnalyticsReportV1Request, AnalyticsReportV1Response, AnalyticsRowsV1Request, AnalyticsRowsV1Response, type BingCnameVerificationV1, type BingConnectionV1, CompatibleResponseSchema, ContractDocument, GSCDUMP_HTTP_V1_VERSION, GSCDUMP_REALTIME_ACK_POLICY, GSCDUMP_REALTIME_CLOSE_CODES, GSCDUMP_REALTIME_CONNECTION_POLICY, GSCDUMP_REALTIME_LIMITS, GSCDUMP_REALTIME_MAX_CONNECTION_SECONDS, GSCDUMP_REALTIME_PING, GSCDUMP_REALTIME_PONG, GSCDUMP_REALTIME_PROTOCOL_VERSION, GSCDUMP_REALTIME_REPLAY_POLICY, GSCDUMP_REALTIME_SUBPROTOCOL, GSCDUMP_REALTIME_TICKET_AUDIENCE, GSCDUMP_REALTIME_TICKET_ISSUER, GSCDUMP_REALTIME_TICKET_POLICY, GSCDUMP_REALTIME_TICKET_PREFIX, GSCDUMP_REALTIME_TICKET_TTL_SECONDS, GscdumpV1ErrorEnvelope, GscdumpV1Operation, GscdumpV1OperationId, GscdumpV1Protocol, GscdumpV1RequestMetadata, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, HttpV1Credential, HttpV1ErrorCode, HttpV1Method, HttpV1OperationDefinition, HttpV1OperationEntry, HttpV1OperationRequest, HttpV1OwnershipRule, HttpV1ProtocolLike, HttpV1ProtocolOperation, HttpV1Registry, HttpV1RegistryOperationEntry, HttpV1RegistryOperationId, HttpV1RegistryPathOptions, HttpV1RegistryPathParams, HttpV1RequestSchemas, HttpV1ResourceReference, HttpV1ResourceType, HttpV1Scope, HttpV1Semantics, HttpV1Surface, HttpV1SurfaceName, HttpV1Visibility, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, PartnerUserLifecycleV1Response, REALTIME_V1_EVENT_NAMES, REALTIME_V1_EVENT_SEMANTICS, REALTIME_V1_RESOURCE_TYPES, RealtimeTicketV1Response, RealtimeV1ClientFrame, RealtimeV1Cursor, RealtimeV1Event, RealtimeV1ResourceChange, RealtimeV1Schemas, RealtimeV1ServerFrame, RealtimeV1StreamHead, RealtimeV1StreamId, RealtimeV1TicketClaims, RealtimeV1TicketRequest, ResolvedHttpV1Operation, type UnknownHttpV1OperationError, bingCnameVerificationV1Schema, bingConnectionV1Schema, buildHttpOperationPath, createGscdumpV1Documents, createGscdumpV1Protocol, createHttpV1Registry, createRealtimeV1Schemas, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation, serializeContractDocument };
|
|
10
|
+
export { AnalyticsReportDetailV1Request, AnalyticsReportDetailV1Response, AnalyticsReportV1Request, AnalyticsReportV1Response, AnalyticsRowsV1Request, AnalyticsRowsV1Response, type BingCnameVerificationV1, type BingConnectionV1, type BingDataQueryV1, type BingDataV1, CompatibleResponseSchema, ContractDocument, GSCDUMP_HTTP_V1_VERSION, GSCDUMP_REALTIME_ACK_POLICY, GSCDUMP_REALTIME_CLOSE_CODES, GSCDUMP_REALTIME_CONNECTION_POLICY, GSCDUMP_REALTIME_LIMITS, GSCDUMP_REALTIME_MAX_CONNECTION_SECONDS, GSCDUMP_REALTIME_PING, GSCDUMP_REALTIME_PONG, GSCDUMP_REALTIME_PROTOCOL_VERSION, GSCDUMP_REALTIME_REPLAY_POLICY, GSCDUMP_REALTIME_SUBPROTOCOL, GSCDUMP_REALTIME_TICKET_AUDIENCE, GSCDUMP_REALTIME_TICKET_ISSUER, GSCDUMP_REALTIME_TICKET_POLICY, GSCDUMP_REALTIME_TICKET_PREFIX, GSCDUMP_REALTIME_TICKET_TTL_SECONDS, GscdumpV1ErrorEnvelope, GscdumpV1Operation, GscdumpV1OperationId, GscdumpV1Protocol, GscdumpV1RequestMetadata, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, HttpV1Credential, HttpV1ErrorCode, HttpV1Method, HttpV1OperationDefinition, HttpV1OperationEntry, HttpV1OperationRequest, HttpV1OwnershipRule, HttpV1ProtocolLike, HttpV1ProtocolOperation, HttpV1Registry, HttpV1RegistryOperationEntry, HttpV1RegistryOperationId, HttpV1RegistryPathOptions, HttpV1RegistryPathParams, HttpV1RequestSchemas, HttpV1ResourceReference, HttpV1ResourceType, HttpV1Scope, HttpV1Semantics, HttpV1Surface, HttpV1SurfaceName, HttpV1Visibility, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, PartnerUserLifecycleV1Response, REALTIME_V1_EVENT_NAMES, REALTIME_V1_EVENT_SEMANTICS, REALTIME_V1_RESOURCE_TYPES, RealtimeTicketV1Response, RealtimeV1ClientFrame, RealtimeV1Cursor, RealtimeV1Event, RealtimeV1ResourceChange, RealtimeV1Schemas, RealtimeV1ServerFrame, RealtimeV1StreamHead, RealtimeV1StreamId, RealtimeV1TicketClaims, RealtimeV1TicketRequest, ResolvedHttpV1Operation, type UnknownHttpV1OperationError, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, buildHttpOperationPath, createGscdumpV1Documents, createGscdumpV1Protocol, createHttpV1Registry, createRealtimeV1Schemas, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation, serializeContractDocument };
|
package/dist/v1/index.mjs
CHANGED
|
@@ -2,8 +2,9 @@ import { bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mj
|
|
|
2
2
|
import { isUnknownHttpV1OperationError } from "./http-operation-error.mjs";
|
|
3
3
|
import { GSCDUMP_HTTP_V1_VERSION } from "./version.mjs";
|
|
4
4
|
import { HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, buildHttpOperationPath, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, listHttpOperations, resolveHttpOperation } from "./http-core.mjs";
|
|
5
|
+
import { bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
5
6
|
import { GSCDUMP_REALTIME_ACK_POLICY, GSCDUMP_REALTIME_CLOSE_CODES, GSCDUMP_REALTIME_CONNECTION_POLICY, GSCDUMP_REALTIME_LIMITS, GSCDUMP_REALTIME_MAX_CONNECTION_SECONDS, GSCDUMP_REALTIME_PING, GSCDUMP_REALTIME_PONG, GSCDUMP_REALTIME_PROTOCOL_VERSION, GSCDUMP_REALTIME_REPLAY_POLICY, GSCDUMP_REALTIME_SUBPROTOCOL, GSCDUMP_REALTIME_TICKET_AUDIENCE, GSCDUMP_REALTIME_TICKET_ISSUER, GSCDUMP_REALTIME_TICKET_POLICY, GSCDUMP_REALTIME_TICKET_PREFIX, GSCDUMP_REALTIME_TICKET_TTL_SECONDS, REALTIME_V1_EVENT_NAMES, REALTIME_V1_EVENT_SEMANTICS, REALTIME_V1_RESOURCE_TYPES, createRealtimeV1Schemas } from "./realtime.mjs";
|
|
6
7
|
import { createGscdumpV1Protocol } from "./operations.mjs";
|
|
7
8
|
import { createGscdumpV1Documents, serializeContractDocument } from "./documents.mjs";
|
|
8
9
|
import "./http.mjs";
|
|
9
|
-
export { GSCDUMP_HTTP_V1_VERSION, GSCDUMP_REALTIME_ACK_POLICY, GSCDUMP_REALTIME_CLOSE_CODES, GSCDUMP_REALTIME_CONNECTION_POLICY, GSCDUMP_REALTIME_LIMITS, GSCDUMP_REALTIME_MAX_CONNECTION_SECONDS, GSCDUMP_REALTIME_PING, GSCDUMP_REALTIME_PONG, GSCDUMP_REALTIME_PROTOCOL_VERSION, GSCDUMP_REALTIME_REPLAY_POLICY, GSCDUMP_REALTIME_SUBPROTOCOL, GSCDUMP_REALTIME_TICKET_AUDIENCE, GSCDUMP_REALTIME_TICKET_ISSUER, GSCDUMP_REALTIME_TICKET_POLICY, GSCDUMP_REALTIME_TICKET_PREFIX, GSCDUMP_REALTIME_TICKET_TTL_SECONDS, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, REALTIME_V1_EVENT_NAMES, REALTIME_V1_EVENT_SEMANTICS, REALTIME_V1_RESOURCE_TYPES, bingCnameVerificationV1Schema, bingConnectionV1Schema, buildHttpOperationPath, createGscdumpV1Documents, createGscdumpV1Protocol, createHttpV1Registry, createRealtimeV1Schemas, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation, serializeContractDocument };
|
|
10
|
+
export { GSCDUMP_HTTP_V1_VERSION, GSCDUMP_REALTIME_ACK_POLICY, GSCDUMP_REALTIME_CLOSE_CODES, GSCDUMP_REALTIME_CONNECTION_POLICY, GSCDUMP_REALTIME_LIMITS, GSCDUMP_REALTIME_MAX_CONNECTION_SECONDS, GSCDUMP_REALTIME_PING, GSCDUMP_REALTIME_PONG, GSCDUMP_REALTIME_PROTOCOL_VERSION, GSCDUMP_REALTIME_REPLAY_POLICY, GSCDUMP_REALTIME_SUBPROTOCOL, GSCDUMP_REALTIME_TICKET_AUDIENCE, GSCDUMP_REALTIME_TICKET_ISSUER, GSCDUMP_REALTIME_TICKET_POLICY, GSCDUMP_REALTIME_TICKET_PREFIX, GSCDUMP_REALTIME_TICKET_TTL_SECONDS, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, REALTIME_V1_EVENT_NAMES, REALTIME_V1_EVENT_SEMANTICS, REALTIME_V1_RESOURCE_TYPES, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, buildHttpOperationPath, createGscdumpV1Documents, createGscdumpV1Protocol, createHttpV1Registry, createRealtimeV1Schemas, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation, serializeContractDocument };
|