@gscdump/contracts 3.4.4 → 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.
@@ -1970,8 +1970,8 @@ declare const gscdumpSyncProgressResponseSchema: z.ZodObject<{
1970
1970
  authFailureCount: z.ZodNumber;
1971
1971
  currentPhase: z.ZodEnum<{
1972
1972
  complete: "complete";
1973
- initial: "initial";
1974
1973
  backfill: "backfill";
1974
+ initial: "initial";
1975
1975
  }>;
1976
1976
  isStalled: z.ZodBoolean;
1977
1977
  stallDays: z.ZodNumber;
@@ -3429,8 +3429,8 @@ declare const partnerControlEndpointSchemas: {
3429
3429
  authFailureCount: z.ZodNumber;
3430
3430
  currentPhase: z.ZodEnum<{
3431
3431
  complete: "complete";
3432
- initial: "initial";
3433
3432
  backfill: "backfill";
3433
+ initial: "initial";
3434
3434
  }>;
3435
3435
  isStalled: z.ZodBoolean;
3436
3436
  stallDays: z.ZodNumber;
@@ -5128,8 +5128,8 @@ declare const partnerEndpointSchemas: {
5128
5128
  authFailureCount: z.ZodNumber;
5129
5129
  currentPhase: z.ZodEnum<{
5130
5130
  complete: "complete";
5131
- initial: "initial";
5132
5131
  backfill: "backfill";
5132
+ initial: "initial";
5133
5133
  }>;
5134
5134
  isStalled: z.ZodBoolean;
5135
5135
  stallDays: z.ZodNumber;
@@ -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 };
@@ -15,12 +15,12 @@ declare const GSCDUMP_V1_ANALYTICS_DIMENSIONS: readonly ["page", "query", "query
15
15
  declare function createGscdumpV1BrowserSchemas(realtimeSchemas?: RealtimeV1Schemas): {
16
16
  analyticsRowsRequest: z.ZodObject<{
17
17
  dimensions: z.ZodArray<z.ZodEnum<{
18
- date: "date";
19
18
  page: "page";
20
19
  query: "query";
21
20
  queryCanonical: "queryCanonical";
22
21
  country: "country";
23
22
  device: "device";
23
+ date: "date";
24
24
  searchAppearance: "searchAppearance";
25
25
  hour: "hour";
26
26
  }>>;
@@ -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(document.required ?? [])
51
+ required: new Set(inputDocument.required ?? [])
51
52
  };
52
53
  }
53
54
  function requestParameters(operation) {
@@ -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 };
@@ -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 };