@gscdump/contracts 5.0.0 → 5.2.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/v1/bing-sites.d.mts +14 -14
- package/dist/v1/browser.d.mts +1 -1
- package/dist/v1/google-indexing.d.mts +225 -0
- package/dist/v1/google-indexing.mjs +119 -0
- 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 +1225 -190
- package/dist/v1/operations.mjs +328 -0
- package/dist/v1/route-catalog.d.mts +25 -0
- package/dist/v1/route-catalog.mjs +25 -0
- package/dist/v1/sitemap-submission.d.mts +10 -10
- package/package.json +1 -1
package/dist/v1/bing-sites.d.mts
CHANGED
|
@@ -101,8 +101,8 @@ export declare const bingSiteStateV1Schemas: {
|
|
|
101
101
|
}, z.core.$strip>, z.ZodObject<{
|
|
102
102
|
readonly _tag: z.ZodLiteral<"grant-required">;
|
|
103
103
|
readonly reason: z.ZodEnum<{
|
|
104
|
-
"reauthorization-required": "reauthorization-required";
|
|
105
104
|
"grant-missing": "grant-missing";
|
|
105
|
+
"reauthorization-required": "reauthorization-required";
|
|
106
106
|
}>;
|
|
107
107
|
}, z.core.$strip>, z.ZodObject<{
|
|
108
108
|
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
@@ -159,8 +159,8 @@ export declare const bingSiteStateV1Schemas: {
|
|
|
159
159
|
}, z.core.$strip>, z.ZodObject<{
|
|
160
160
|
readonly _tag: z.ZodLiteral<"grant-required">;
|
|
161
161
|
readonly reason: z.ZodEnum<{
|
|
162
|
-
"reauthorization-required": "reauthorization-required";
|
|
163
162
|
"grant-missing": "grant-missing";
|
|
163
|
+
"reauthorization-required": "reauthorization-required";
|
|
164
164
|
}>;
|
|
165
165
|
}, z.core.$strip>, z.ZodObject<{
|
|
166
166
|
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
@@ -228,8 +228,8 @@ export declare const bingSiteV1Schemas: CompatibleResponseSchema<z.ZodObject<{
|
|
|
228
228
|
}, z.core.$strip>, z.ZodObject<{
|
|
229
229
|
readonly _tag: z.ZodLiteral<"grant-required">;
|
|
230
230
|
readonly reason: z.ZodEnum<{
|
|
231
|
-
"reauthorization-required": "reauthorization-required";
|
|
232
231
|
"grant-missing": "grant-missing";
|
|
232
|
+
"reauthorization-required": "reauthorization-required";
|
|
233
233
|
}>;
|
|
234
234
|
}, z.core.$strip>, z.ZodObject<{
|
|
235
235
|
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
@@ -291,8 +291,8 @@ export declare const bingSiteV1Schemas: CompatibleResponseSchema<z.ZodObject<{
|
|
|
291
291
|
}, z.core.$strip>, z.ZodObject<{
|
|
292
292
|
readonly _tag: z.ZodLiteral<"grant-required">;
|
|
293
293
|
readonly reason: z.ZodEnum<{
|
|
294
|
-
"reauthorization-required": "reauthorization-required";
|
|
295
294
|
"grant-missing": "grant-missing";
|
|
295
|
+
"reauthorization-required": "reauthorization-required";
|
|
296
296
|
}>;
|
|
297
297
|
}, z.core.$strip>, z.ZodObject<{
|
|
298
298
|
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
@@ -384,8 +384,8 @@ export declare const bingSitesV1Schemas: CompatibleResponseSchema<z.ZodObject<{
|
|
|
384
384
|
}, z.core.$strip>, z.ZodObject<{
|
|
385
385
|
readonly _tag: z.ZodLiteral<"grant-required">;
|
|
386
386
|
readonly reason: z.ZodEnum<{
|
|
387
|
-
"reauthorization-required": "reauthorization-required";
|
|
388
387
|
"grant-missing": "grant-missing";
|
|
388
|
+
"reauthorization-required": "reauthorization-required";
|
|
389
389
|
}>;
|
|
390
390
|
}, z.core.$strip>, z.ZodObject<{
|
|
391
391
|
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
@@ -458,8 +458,8 @@ export declare const bingSitesV1Schemas: CompatibleResponseSchema<z.ZodObject<{
|
|
|
458
458
|
}, z.core.$strip>, z.ZodObject<{
|
|
459
459
|
readonly _tag: z.ZodLiteral<"grant-required">;
|
|
460
460
|
readonly reason: z.ZodEnum<{
|
|
461
|
-
"reauthorization-required": "reauthorization-required";
|
|
462
461
|
"grant-missing": "grant-missing";
|
|
462
|
+
"reauthorization-required": "reauthorization-required";
|
|
463
463
|
}>;
|
|
464
464
|
}, z.core.$strip>, z.ZodObject<{
|
|
465
465
|
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
@@ -526,8 +526,8 @@ export declare const bingLinkResultV1Schemas: {
|
|
|
526
526
|
}, z.core.$strip>, z.ZodObject<{
|
|
527
527
|
readonly _tag: z.ZodLiteral<"grant-required">;
|
|
528
528
|
readonly reason: z.ZodEnum<{
|
|
529
|
-
"reauthorization-required": "reauthorization-required";
|
|
530
529
|
"grant-missing": "grant-missing";
|
|
530
|
+
"reauthorization-required": "reauthorization-required";
|
|
531
531
|
}>;
|
|
532
532
|
}, z.core.$strip>, z.ZodObject<{
|
|
533
533
|
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
@@ -542,8 +542,8 @@ export declare const bingLinkResultV1Schemas: {
|
|
|
542
542
|
}, z.core.$strip>, z.ZodObject<{
|
|
543
543
|
readonly _tag: z.ZodLiteral<"grant-required">;
|
|
544
544
|
readonly reason: z.ZodEnum<{
|
|
545
|
-
"reauthorization-required": "reauthorization-required";
|
|
546
545
|
"grant-missing": "grant-missing";
|
|
546
|
+
"reauthorization-required": "reauthorization-required";
|
|
547
547
|
}>;
|
|
548
548
|
}, z.core.$strip>, z.ZodObject<{
|
|
549
549
|
readonly _tag: z.ZodLiteral<"failed">;
|
|
@@ -608,8 +608,8 @@ export declare const bingLinkResultV1Schemas: {
|
|
|
608
608
|
}, z.core.$strip>, z.ZodObject<{
|
|
609
609
|
readonly _tag: z.ZodLiteral<"grant-required">;
|
|
610
610
|
readonly reason: z.ZodEnum<{
|
|
611
|
-
"reauthorization-required": "reauthorization-required";
|
|
612
611
|
"grant-missing": "grant-missing";
|
|
612
|
+
"reauthorization-required": "reauthorization-required";
|
|
613
613
|
}>;
|
|
614
614
|
}, z.core.$strip>, z.ZodObject<{
|
|
615
615
|
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
@@ -624,8 +624,8 @@ export declare const bingLinkResultV1Schemas: {
|
|
|
624
624
|
}, z.core.$strip>, z.ZodObject<{
|
|
625
625
|
readonly _tag: z.ZodLiteral<"grant-required">;
|
|
626
626
|
readonly reason: z.ZodEnum<{
|
|
627
|
-
"reauthorization-required": "reauthorization-required";
|
|
628
627
|
"grant-missing": "grant-missing";
|
|
628
|
+
"reauthorization-required": "reauthorization-required";
|
|
629
629
|
}>;
|
|
630
630
|
}, z.core.$strip>, z.ZodObject<{
|
|
631
631
|
readonly _tag: z.ZodLiteral<"failed">;
|
|
@@ -690,11 +690,11 @@ export declare const bingSitemapSubmitResultV1Schemas: {
|
|
|
690
690
|
}, z.core.$strip>, z.ZodObject<{
|
|
691
691
|
readonly _tag: z.ZodLiteral<"failed">;
|
|
692
692
|
readonly reason: z.ZodEnum<{
|
|
693
|
+
"no-sitemap-found": "no-sitemap-found";
|
|
694
|
+
"provider-unavailable": "provider-unavailable";
|
|
693
695
|
"grant-required": "grant-required";
|
|
694
696
|
"site-unverified": "site-unverified";
|
|
695
|
-
"no-sitemap-found": "no-sitemap-found";
|
|
696
697
|
throttled: "throttled";
|
|
697
|
-
"provider-unavailable": "provider-unavailable";
|
|
698
698
|
}>;
|
|
699
699
|
readonly retryable: z.ZodBoolean;
|
|
700
700
|
}, z.core.$strip>], "_tag">;
|
|
@@ -728,11 +728,11 @@ export declare const bingSitemapSubmitResultV1Schemas: {
|
|
|
728
728
|
}, z.core.$strip>, z.ZodObject<{
|
|
729
729
|
readonly _tag: z.ZodLiteral<"failed">;
|
|
730
730
|
readonly reason: z.ZodEnum<{
|
|
731
|
+
"no-sitemap-found": "no-sitemap-found";
|
|
732
|
+
"provider-unavailable": "provider-unavailable";
|
|
731
733
|
"grant-required": "grant-required";
|
|
732
734
|
"site-unverified": "site-unverified";
|
|
733
|
-
"no-sitemap-found": "no-sitemap-found";
|
|
734
735
|
throttled: "throttled";
|
|
735
|
-
"provider-unavailable": "provider-unavailable";
|
|
736
736
|
}>;
|
|
737
737
|
readonly retryable: z.ZodBoolean;
|
|
738
738
|
}, z.core.$strip>], "_tag">;
|
package/dist/v1/browser.d.mts
CHANGED
|
@@ -17,12 +17,12 @@ export declare const GSCDUMP_V1_ANALYTICS_DIMENSIONS: readonly ["page", "query",
|
|
|
17
17
|
export declare function createGscdumpV1BrowserSchemas(realtimeSchemas?: RealtimeV1Schemas): {
|
|
18
18
|
analyticsRowsRequest: z.ZodObject<{
|
|
19
19
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
20
|
+
date: "date";
|
|
20
21
|
page: "page";
|
|
21
22
|
query: "query";
|
|
22
23
|
queryCanonical: "queryCanonical";
|
|
23
24
|
country: "country";
|
|
24
25
|
device: "device";
|
|
25
|
-
date: "date";
|
|
26
26
|
searchAppearance: "searchAppearance";
|
|
27
27
|
hour: "hour";
|
|
28
28
|
}>>;
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Notifications one Site may send in one Pacific day. */
|
|
3
|
+
export declare const GOOGLE_SUBMISSION_SITE_DAILY_LIMIT = 5;
|
|
4
|
+
/** Days after an accepted notification before the same URL may be sent again. */
|
|
5
|
+
export declare const GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS = 7;
|
|
6
|
+
/** Google's default publish quota for one Cloud project in one Pacific day. */
|
|
7
|
+
export declare const GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT = 200;
|
|
8
|
+
/** Attempts one idempotency key may make before its receipt stays `failed`. */
|
|
9
|
+
export declare const GOOGLE_SUBMISSION_MAX_ATTEMPTS = 3;
|
|
10
|
+
/**
|
|
11
|
+
* `partner.users.indexing.google.grant.update`. The partner runs Google's
|
|
12
|
+
* consent with its dedicated Indexing API client, then hands over the refresh
|
|
13
|
+
* token and the scopes Google granted. gscdump refuses a grant whose `scope`
|
|
14
|
+
* lacks `https://www.googleapis.com/auth/indexing`.
|
|
15
|
+
*/
|
|
16
|
+
export declare const indexingApiGrantUpdateV1Schema: z.ZodObject<{
|
|
17
|
+
refreshToken: z.ZodString;
|
|
18
|
+
scope: z.ZodString;
|
|
19
|
+
googleEmail: z.ZodNullable<z.ZodEmail>;
|
|
20
|
+
}, z.core.$strict>;
|
|
21
|
+
export declare const indexingApiGrantV1Schemas: {
|
|
22
|
+
producer: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
23
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
readonly _tag: z.ZodLiteral<"granted">;
|
|
26
|
+
readonly googleEmail: z.ZodNullable<z.ZodString>;
|
|
27
|
+
readonly grantedAt: z.ZodISODateTime;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
30
|
+
readonly googleEmail: z.ZodNullable<z.ZodString>;
|
|
31
|
+
}, z.core.$strip>], "_tag">;
|
|
32
|
+
client: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
33
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
readonly _tag: z.ZodLiteral<"granted">;
|
|
36
|
+
readonly googleEmail: z.ZodNullable<z.ZodString>;
|
|
37
|
+
readonly grantedAt: z.ZodISODateTime;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
40
|
+
readonly googleEmail: z.ZodNullable<z.ZodString>;
|
|
41
|
+
}, z.core.$strip>], "_tag">;
|
|
42
|
+
};
|
|
43
|
+
export declare const indexingApiGrantV1Schema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
44
|
+
readonly _tag: z.ZodLiteral<"missing">;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
readonly _tag: z.ZodLiteral<"granted">;
|
|
47
|
+
readonly googleEmail: z.ZodNullable<z.ZodString>;
|
|
48
|
+
readonly grantedAt: z.ZodISODateTime;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
readonly _tag: z.ZodLiteral<"reauthorization-required">;
|
|
51
|
+
readonly googleEmail: z.ZodNullable<z.ZodString>;
|
|
52
|
+
}, z.core.$strip>], "_tag">;
|
|
53
|
+
export type IndexingApiGrantV1 = z.infer<typeof indexingApiGrantV1Schema>;
|
|
54
|
+
/** `partner.sites.indexing.google.submissions.create`. One URL per request. */
|
|
55
|
+
export declare const googleSubmitV1Schema: z.ZodObject<{
|
|
56
|
+
url: z.ZodURL;
|
|
57
|
+
idempotencyKey: z.ZodString;
|
|
58
|
+
}, z.core.$strict>;
|
|
59
|
+
/**
|
|
60
|
+
* Why Google refused a notification. gscdump never retries a rejection.
|
|
61
|
+
*
|
|
62
|
+
* - `not-owner`: the grant's Google account does not own the property.
|
|
63
|
+
* - `access-revoked`: Google disabled the Indexing API for the partner's
|
|
64
|
+
* Cloud project. gscdump pauses the partner's Google delivery.
|
|
65
|
+
* - `quota-exhausted`: Google's project quota is spent until the next Pacific day.
|
|
66
|
+
* - `reauthorization-required`: Google refused the stored grant.
|
|
67
|
+
*/
|
|
68
|
+
export declare const GOOGLE_SUBMISSION_REJECTION_REASONS: readonly ["not-owner", "access-revoked", "quota-exhausted", "reauthorization-required"];
|
|
69
|
+
export type GoogleSubmissionRejectionReason = typeof GOOGLE_SUBMISSION_REJECTION_REASONS[number];
|
|
70
|
+
export declare const googleSubmissionReceiptV1Schemas: {
|
|
71
|
+
producer: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
72
|
+
readonly httpStatus: z.ZodLiteral<200>;
|
|
73
|
+
readonly reason: z.ZodNull;
|
|
74
|
+
readonly id: z.ZodString;
|
|
75
|
+
readonly url: z.ZodURL;
|
|
76
|
+
readonly createdAt: z.ZodISODateTime;
|
|
77
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
78
|
+
readonly attempts: z.ZodNumber;
|
|
79
|
+
readonly _tag: z.ZodLiteral<"accepted">;
|
|
80
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
81
|
+
readonly httpStatus: z.ZodNullable<z.ZodNumber>;
|
|
82
|
+
readonly reason: z.ZodEnum<{
|
|
83
|
+
"reauthorization-required": "reauthorization-required";
|
|
84
|
+
"not-owner": "not-owner";
|
|
85
|
+
"access-revoked": "access-revoked";
|
|
86
|
+
"quota-exhausted": "quota-exhausted";
|
|
87
|
+
}>;
|
|
88
|
+
readonly id: z.ZodString;
|
|
89
|
+
readonly url: z.ZodURL;
|
|
90
|
+
readonly createdAt: z.ZodISODateTime;
|
|
91
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
92
|
+
readonly attempts: z.ZodNumber;
|
|
93
|
+
readonly _tag: z.ZodLiteral<"rejected">;
|
|
94
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
95
|
+
readonly httpStatus: z.ZodNullable<z.ZodNumber>;
|
|
96
|
+
readonly reason: z.ZodString;
|
|
97
|
+
readonly id: z.ZodString;
|
|
98
|
+
readonly url: z.ZodURL;
|
|
99
|
+
readonly createdAt: z.ZodISODateTime;
|
|
100
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
101
|
+
readonly attempts: z.ZodNumber;
|
|
102
|
+
readonly _tag: z.ZodLiteral<"failed">;
|
|
103
|
+
}, z.core.$strip>], "_tag">;
|
|
104
|
+
client: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
105
|
+
readonly httpStatus: z.ZodLiteral<200>;
|
|
106
|
+
readonly reason: z.ZodNull;
|
|
107
|
+
readonly id: z.ZodString;
|
|
108
|
+
readonly url: z.ZodURL;
|
|
109
|
+
readonly createdAt: z.ZodISODateTime;
|
|
110
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
111
|
+
readonly attempts: z.ZodNumber;
|
|
112
|
+
readonly _tag: z.ZodLiteral<"accepted">;
|
|
113
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
114
|
+
readonly httpStatus: z.ZodNullable<z.ZodNumber>;
|
|
115
|
+
readonly reason: z.ZodEnum<{
|
|
116
|
+
"reauthorization-required": "reauthorization-required";
|
|
117
|
+
"not-owner": "not-owner";
|
|
118
|
+
"access-revoked": "access-revoked";
|
|
119
|
+
"quota-exhausted": "quota-exhausted";
|
|
120
|
+
}>;
|
|
121
|
+
readonly id: z.ZodString;
|
|
122
|
+
readonly url: z.ZodURL;
|
|
123
|
+
readonly createdAt: z.ZodISODateTime;
|
|
124
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
125
|
+
readonly attempts: z.ZodNumber;
|
|
126
|
+
readonly _tag: z.ZodLiteral<"rejected">;
|
|
127
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
128
|
+
readonly httpStatus: z.ZodNullable<z.ZodNumber>;
|
|
129
|
+
readonly reason: z.ZodString;
|
|
130
|
+
readonly id: z.ZodString;
|
|
131
|
+
readonly url: z.ZodURL;
|
|
132
|
+
readonly createdAt: z.ZodISODateTime;
|
|
133
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
134
|
+
readonly attempts: z.ZodNumber;
|
|
135
|
+
readonly _tag: z.ZodLiteral<"failed">;
|
|
136
|
+
}, z.core.$strip>], "_tag">;
|
|
137
|
+
};
|
|
138
|
+
export declare const googleSubmissionReceiptV1Schema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
139
|
+
readonly httpStatus: z.ZodLiteral<200>;
|
|
140
|
+
readonly reason: z.ZodNull;
|
|
141
|
+
readonly id: z.ZodString;
|
|
142
|
+
readonly url: z.ZodURL;
|
|
143
|
+
readonly createdAt: z.ZodISODateTime;
|
|
144
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
145
|
+
readonly attempts: z.ZodNumber;
|
|
146
|
+
readonly _tag: z.ZodLiteral<"accepted">;
|
|
147
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
148
|
+
readonly httpStatus: z.ZodNullable<z.ZodNumber>;
|
|
149
|
+
readonly reason: z.ZodEnum<{
|
|
150
|
+
"reauthorization-required": "reauthorization-required";
|
|
151
|
+
"not-owner": "not-owner";
|
|
152
|
+
"access-revoked": "access-revoked";
|
|
153
|
+
"quota-exhausted": "quota-exhausted";
|
|
154
|
+
}>;
|
|
155
|
+
readonly id: z.ZodString;
|
|
156
|
+
readonly url: z.ZodURL;
|
|
157
|
+
readonly createdAt: z.ZodISODateTime;
|
|
158
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
159
|
+
readonly attempts: z.ZodNumber;
|
|
160
|
+
readonly _tag: z.ZodLiteral<"rejected">;
|
|
161
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
162
|
+
readonly httpStatus: z.ZodNullable<z.ZodNumber>;
|
|
163
|
+
readonly reason: z.ZodString;
|
|
164
|
+
readonly id: z.ZodString;
|
|
165
|
+
readonly url: z.ZodURL;
|
|
166
|
+
readonly createdAt: z.ZodISODateTime;
|
|
167
|
+
readonly updatedAt: z.ZodISODateTime;
|
|
168
|
+
readonly attempts: z.ZodNumber;
|
|
169
|
+
readonly _tag: z.ZodLiteral<"failed">;
|
|
170
|
+
}, z.core.$strip>], "_tag">;
|
|
171
|
+
export type GoogleSubmissionReceiptV1 = z.infer<typeof googleSubmissionReceiptV1Schema>;
|
|
172
|
+
/**
|
|
173
|
+
* The `details.reason` values of a v1 error envelope that refuses a Google
|
|
174
|
+
* Submission before gscdump sends anything. They are snake_case, like the
|
|
175
|
+
* entitlement refusals.
|
|
176
|
+
*/
|
|
177
|
+
export declare const GOOGLE_SUBMISSION_REFUSAL_REASONS: readonly ["indexing_api_unavailable", "needs_indexing_api_grant", "url_outside_site", "cooling_down", "site_daily_limit", "project_quota_spent"];
|
|
178
|
+
export type GoogleSubmissionRefusalReason = typeof GOOGLE_SUBMISSION_REFUSAL_REASONS[number];
|
|
179
|
+
/**
|
|
180
|
+
* The `details` of a v1 error envelope that refuses a Google Submission.
|
|
181
|
+
*
|
|
182
|
+
* - `indexing_api_unavailable` (409 `invalid_request`): the partner has no
|
|
183
|
+
* Indexing API client, or gscdump paused its Google delivery.
|
|
184
|
+
* - `needs_indexing_api_grant` (409 `invalid_request`): the Site's user holds
|
|
185
|
+
* no usable Indexing API grant for this partner. `grant` says which.
|
|
186
|
+
* - `url_outside_site` (400 `invalid_request`): the URL is not on the
|
|
187
|
+
* registered Site host, or not inside its URL-prefix property.
|
|
188
|
+
* - `cooling_down` (409 `invalid_request`): Google accepted this URL at
|
|
189
|
+
* `lastAcceptedAt`. It may be sent again at `availableAt`.
|
|
190
|
+
* - `site_daily_limit` (429 `rate_limited`): the Site sent `limit`
|
|
191
|
+
* notifications this Pacific day. The count resets at `resetsAt`.
|
|
192
|
+
* - `project_quota_spent` (429 `rate_limited`): the partner's Cloud project
|
|
193
|
+
* has no quota left this Pacific day. It resets at `resetsAt`.
|
|
194
|
+
*
|
|
195
|
+
* Unknown `details` keys are dropped, so a newer host can add keys.
|
|
196
|
+
*/
|
|
197
|
+
export declare const googleSubmissionRefusalSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
198
|
+
reason: z.ZodLiteral<"indexing_api_unavailable">;
|
|
199
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
200
|
+
reason: z.ZodLiteral<"needs_indexing_api_grant">;
|
|
201
|
+
grant: z.ZodEnum<{
|
|
202
|
+
"reauthorization-required": "reauthorization-required";
|
|
203
|
+
missing: "missing";
|
|
204
|
+
}>;
|
|
205
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
206
|
+
reason: z.ZodLiteral<"url_outside_site">;
|
|
207
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
208
|
+
reason: z.ZodLiteral<"cooling_down">;
|
|
209
|
+
lastAcceptedAt: z.ZodISODateTime;
|
|
210
|
+
availableAt: z.ZodISODateTime;
|
|
211
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
212
|
+
reason: z.ZodLiteral<"site_daily_limit">;
|
|
213
|
+
limit: z.ZodNumber;
|
|
214
|
+
resetsAt: z.ZodISODateTime;
|
|
215
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
216
|
+
reason: z.ZodLiteral<"project_quota_spent">;
|
|
217
|
+
resetsAt: z.ZodISODateTime;
|
|
218
|
+
}, z.core.$strip>], "reason">;
|
|
219
|
+
export type GoogleSubmissionRefusal = z.infer<typeof googleSubmissionRefusalSchema>;
|
|
220
|
+
/**
|
|
221
|
+
* Read a Google Submission refusal from the `details` of a v1 error envelope,
|
|
222
|
+
* such as `GscdumpV1Error.details`. Returns `null` when the details describe a
|
|
223
|
+
* different failure, or a refusal this contract version does not know.
|
|
224
|
+
*/
|
|
225
|
+
export declare function parseGoogleSubmissionRefusal(details: unknown): GoogleSubmissionRefusal | null;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { defineResponseObject } from "./http-core.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const GOOGLE_SUBMISSION_SITE_DAILY_LIMIT = 5;
|
|
4
|
+
const GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS = 7;
|
|
5
|
+
const GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT = 200;
|
|
6
|
+
const GOOGLE_SUBMISSION_MAX_ATTEMPTS = 3;
|
|
7
|
+
const count = z.number().int().nonnegative();
|
|
8
|
+
const pageUrl = z.url({ protocol: /^https?$/ });
|
|
9
|
+
const indexingApiGrantUpdateV1Schema = z.strictObject({
|
|
10
|
+
refreshToken: z.string().min(1),
|
|
11
|
+
scope: z.string().min(1),
|
|
12
|
+
googleEmail: z.email().nullable()
|
|
13
|
+
});
|
|
14
|
+
const missingGrant = defineResponseObject({ _tag: z.literal("missing") });
|
|
15
|
+
const grantedGrant = defineResponseObject({
|
|
16
|
+
_tag: z.literal("granted"),
|
|
17
|
+
googleEmail: z.string().nullable(),
|
|
18
|
+
grantedAt: z.iso.datetime()
|
|
19
|
+
});
|
|
20
|
+
const reauthorizationGrant = defineResponseObject({
|
|
21
|
+
_tag: z.literal("reauthorization-required"),
|
|
22
|
+
googleEmail: z.string().nullable()
|
|
23
|
+
});
|
|
24
|
+
const indexingApiGrantV1Schemas = {
|
|
25
|
+
producer: z.discriminatedUnion("_tag", [
|
|
26
|
+
missingGrant.producer,
|
|
27
|
+
grantedGrant.producer,
|
|
28
|
+
reauthorizationGrant.producer
|
|
29
|
+
]),
|
|
30
|
+
client: z.discriminatedUnion("_tag", [
|
|
31
|
+
missingGrant.client,
|
|
32
|
+
grantedGrant.client,
|
|
33
|
+
reauthorizationGrant.client
|
|
34
|
+
])
|
|
35
|
+
};
|
|
36
|
+
const indexingApiGrantV1Schema = indexingApiGrantV1Schemas.producer;
|
|
37
|
+
const googleSubmitV1Schema = z.strictObject({
|
|
38
|
+
url: pageUrl,
|
|
39
|
+
idempotencyKey: z.string().min(1).max(128)
|
|
40
|
+
});
|
|
41
|
+
const GOOGLE_SUBMISSION_REJECTION_REASONS = [
|
|
42
|
+
"not-owner",
|
|
43
|
+
"access-revoked",
|
|
44
|
+
"quota-exhausted",
|
|
45
|
+
"reauthorization-required"
|
|
46
|
+
];
|
|
47
|
+
const receiptShape = {
|
|
48
|
+
id: z.string().min(1),
|
|
49
|
+
url: pageUrl,
|
|
50
|
+
createdAt: z.iso.datetime(),
|
|
51
|
+
updatedAt: z.iso.datetime(),
|
|
52
|
+
attempts: z.number().int().min(1).max(3)
|
|
53
|
+
};
|
|
54
|
+
const acceptedReceipt = defineResponseObject({
|
|
55
|
+
_tag: z.literal("accepted"),
|
|
56
|
+
...receiptShape,
|
|
57
|
+
httpStatus: z.literal(200),
|
|
58
|
+
reason: z.null()
|
|
59
|
+
});
|
|
60
|
+
const rejectedReceipt = defineResponseObject({
|
|
61
|
+
_tag: z.literal("rejected"),
|
|
62
|
+
...receiptShape,
|
|
63
|
+
httpStatus: z.number().int().min(400).max(499).nullable(),
|
|
64
|
+
reason: z.enum(GOOGLE_SUBMISSION_REJECTION_REASONS)
|
|
65
|
+
});
|
|
66
|
+
const failedReceipt = defineResponseObject({
|
|
67
|
+
_tag: z.literal("failed"),
|
|
68
|
+
...receiptShape,
|
|
69
|
+
httpStatus: z.number().int().min(100).max(599).nullable(),
|
|
70
|
+
reason: z.string().min(1)
|
|
71
|
+
});
|
|
72
|
+
const googleSubmissionReceiptV1Schemas = {
|
|
73
|
+
producer: z.discriminatedUnion("_tag", [
|
|
74
|
+
acceptedReceipt.producer,
|
|
75
|
+
rejectedReceipt.producer,
|
|
76
|
+
failedReceipt.producer
|
|
77
|
+
]),
|
|
78
|
+
client: z.discriminatedUnion("_tag", [
|
|
79
|
+
acceptedReceipt.client,
|
|
80
|
+
rejectedReceipt.client,
|
|
81
|
+
failedReceipt.client
|
|
82
|
+
])
|
|
83
|
+
};
|
|
84
|
+
const googleSubmissionReceiptV1Schema = googleSubmissionReceiptV1Schemas.producer;
|
|
85
|
+
const GOOGLE_SUBMISSION_REFUSAL_REASONS = [
|
|
86
|
+
"indexing_api_unavailable",
|
|
87
|
+
"needs_indexing_api_grant",
|
|
88
|
+
"url_outside_site",
|
|
89
|
+
"cooling_down",
|
|
90
|
+
"site_daily_limit",
|
|
91
|
+
"project_quota_spent"
|
|
92
|
+
];
|
|
93
|
+
const googleSubmissionRefusalSchema = z.discriminatedUnion("reason", [
|
|
94
|
+
z.object({ reason: z.literal("indexing_api_unavailable") }),
|
|
95
|
+
z.object({
|
|
96
|
+
reason: z.literal("needs_indexing_api_grant"),
|
|
97
|
+
grant: z.enum(["missing", "reauthorization-required"])
|
|
98
|
+
}),
|
|
99
|
+
z.object({ reason: z.literal("url_outside_site") }),
|
|
100
|
+
z.object({
|
|
101
|
+
reason: z.literal("cooling_down"),
|
|
102
|
+
lastAcceptedAt: z.iso.datetime(),
|
|
103
|
+
availableAt: z.iso.datetime()
|
|
104
|
+
}),
|
|
105
|
+
z.object({
|
|
106
|
+
reason: z.literal("site_daily_limit"),
|
|
107
|
+
limit: count,
|
|
108
|
+
resetsAt: z.iso.datetime()
|
|
109
|
+
}),
|
|
110
|
+
z.object({
|
|
111
|
+
reason: z.literal("project_quota_spent"),
|
|
112
|
+
resetsAt: z.iso.datetime()
|
|
113
|
+
})
|
|
114
|
+
]);
|
|
115
|
+
function parseGoogleSubmissionRefusal(details) {
|
|
116
|
+
const parsed = googleSubmissionRefusalSchema.safeParse(details);
|
|
117
|
+
return parsed.success ? parsed.data : null;
|
|
118
|
+
}
|
|
119
|
+
export { GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMPTS, GOOGLE_SUBMISSION_REFUSAL_REASONS, GOOGLE_SUBMISSION_REJECTION_REASONS, GOOGLE_SUBMISSION_SITE_DAILY_LIMIT, GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, parseGoogleSubmissionRefusal };
|
package/dist/v1/http.d.mts
CHANGED
|
@@ -4,7 +4,8 @@ import { CompatibleResponseSchema, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPE
|
|
|
4
4
|
import { BingCnameVerificationV1, BingConnectionV1, bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mjs";
|
|
5
5
|
import { BingDataQueryV1, BingDataV1, bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
6
6
|
import { BingAuthorizationRequestV1, BingAuthorizationV1, BingGrantV1, BingLinkResultV1, BingSiteStateV1, BingSiteV1, BingSitemapSubmitRequestV1, BingSitemapSubmitResultV1, BingSitemapViewV1, BingSitesQueryV1, BingSitesV1, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas } from "./bing-sites.mjs";
|
|
7
|
+
import { GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMPTS, GOOGLE_SUBMISSION_REFUSAL_REASONS, GOOGLE_SUBMISSION_REJECTION_REASONS, GOOGLE_SUBMISSION_SITE_DAILY_LIMIT, GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS, GoogleSubmissionReceiptV1, GoogleSubmissionRefusal, GoogleSubmissionRefusalReason, GoogleSubmissionRejectionReason, IndexingApiGrantV1, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, parseGoogleSubmissionRefusal } from "./google-indexing.mjs";
|
|
7
8
|
import { IndexNowConnectionV1, IndexNowSubmissionReceiptV1, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema } from "./indexnow.mjs";
|
|
8
9
|
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, PartnerUserEntitlementsV1, PartnerUserEntitlementsV1Response, PartnerUserLifecycleV1Response, PartnerWatchedUrlsChangeV1Response, PartnerWatchedUrlsV1Response, createGscdumpV1Protocol } from "./operations.mjs";
|
|
9
10
|
import { GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, SitemapGrantHolderV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
10
|
-
export { AnalyticsReportDetailV1Request, AnalyticsReportDetailV1Response, AnalyticsReportV1Request, AnalyticsReportV1Response, AnalyticsRowsV1Request, AnalyticsRowsV1Response, BingAuthorizationRequestV1, BingAuthorizationV1, type BingCnameVerificationV1, type BingConnectionV1, type BingDataQueryV1, type BingDataV1, BingGrantV1, BingLinkResultV1, BingSiteStateV1, BingSiteV1, BingSitemapSubmitRequestV1, BingSitemapSubmitResultV1, BingSitemapViewV1, BingSitesQueryV1, BingSitesV1, CompatibleResponseSchema, GSCDUMP_HTTP_V1_VERSION, GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, 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, IndexNowConnectionV1, IndexNowSubmissionReceiptV1, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, PartnerUserEntitlementsV1, PartnerUserEntitlementsV1Response, PartnerUserLifecycleV1Response, PartnerWatchedUrlsChangeV1Response, PartnerWatchedUrlsV1Response, ResolvedHttpV1Operation, SitemapGrantHolderV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, type UnknownHttpV1OperationError, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Protocol, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
|
11
|
+
export { AnalyticsReportDetailV1Request, AnalyticsReportDetailV1Response, AnalyticsReportV1Request, AnalyticsReportV1Response, AnalyticsRowsV1Request, AnalyticsRowsV1Response, BingAuthorizationRequestV1, BingAuthorizationV1, type BingCnameVerificationV1, type BingConnectionV1, type BingDataQueryV1, type BingDataV1, BingGrantV1, BingLinkResultV1, BingSiteStateV1, BingSiteV1, BingSitemapSubmitRequestV1, BingSitemapSubmitResultV1, BingSitemapViewV1, BingSitesQueryV1, BingSitesV1, CompatibleResponseSchema, GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMPTS, GOOGLE_SUBMISSION_REFUSAL_REASONS, GOOGLE_SUBMISSION_REJECTION_REASONS, GOOGLE_SUBMISSION_SITE_DAILY_LIMIT, GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS, GSCDUMP_HTTP_V1_VERSION, GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, GoogleSubmissionReceiptV1, GoogleSubmissionRefusal, GoogleSubmissionRefusalReason, GoogleSubmissionRejectionReason, 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, IndexNowConnectionV1, IndexNowSubmissionReceiptV1, IndexingApiGrantV1, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, PartnerUserEntitlementsV1, PartnerUserEntitlementsV1Response, PartnerUserLifecycleV1Response, PartnerWatchedUrlsChangeV1Response, PartnerWatchedUrlsV1Response, ResolvedHttpV1Operation, SitemapGrantHolderV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, type UnknownHttpV1OperationError, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Protocol, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, isUnknownHttpV1OperationError, listHttpOperations, parseGoogleSubmissionRefusal, resolveHttpOperation, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
package/dist/v1/http.mjs
CHANGED
|
@@ -4,7 +4,8 @@ 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
5
|
import { bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
6
6
|
import { bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas } from "./bing-sites.mjs";
|
|
7
|
+
import { GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMPTS, GOOGLE_SUBMISSION_REFUSAL_REASONS, GOOGLE_SUBMISSION_REJECTION_REASONS, GOOGLE_SUBMISSION_SITE_DAILY_LIMIT, GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, parseGoogleSubmissionRefusal } from "./google-indexing.mjs";
|
|
7
8
|
import { indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema } from "./indexnow.mjs";
|
|
8
9
|
import { GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
9
10
|
import { createGscdumpV1Protocol } from "./operations.mjs";
|
|
10
|
-
export { GSCDUMP_HTTP_V1_VERSION, GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Protocol, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
|
11
|
+
export { GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMPTS, GOOGLE_SUBMISSION_REFUSAL_REASONS, GOOGLE_SUBMISSION_REJECTION_REASONS, GOOGLE_SUBMISSION_SITE_DAILY_LIMIT, GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS, GSCDUMP_HTTP_V1_VERSION, GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HTTP_V1_METHODS, HTTP_V1_SCOPES, HTTP_V1_SURFACES, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Protocol, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, isUnknownHttpV1OperationError, listHttpOperations, parseGoogleSubmissionRefusal, resolveHttpOperation, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
package/dist/v1/index.d.mts
CHANGED
|
@@ -5,9 +5,10 @@ import { GSCDUMP_REALTIME_ACK_POLICY, GSCDUMP_REALTIME_CLOSE_CODES, GSCDUMP_REAL
|
|
|
5
5
|
import { BingCnameVerificationV1, BingConnectionV1, bingCnameVerificationV1Schema, bingConnectionV1Schema } from "./bing.mjs";
|
|
6
6
|
import { BingDataQueryV1, BingDataV1, bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
7
7
|
import { BingAuthorizationRequestV1, BingAuthorizationV1, BingGrantV1, BingLinkResultV1, BingSiteStateV1, BingSiteV1, BingSitemapSubmitRequestV1, BingSitemapSubmitResultV1, BingSitemapViewV1, BingSitesQueryV1, BingSitesV1, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas } from "./bing-sites.mjs";
|
|
8
|
+
import { GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMPTS, GOOGLE_SUBMISSION_REFUSAL_REASONS, GOOGLE_SUBMISSION_REJECTION_REASONS, GOOGLE_SUBMISSION_SITE_DAILY_LIMIT, GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS, GoogleSubmissionReceiptV1, GoogleSubmissionRefusal, GoogleSubmissionRefusalReason, GoogleSubmissionRejectionReason, IndexingApiGrantV1, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, parseGoogleSubmissionRefusal } from "./google-indexing.mjs";
|
|
8
9
|
import { IndexNowConnectionV1, IndexNowSubmissionReceiptV1, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema } from "./indexnow.mjs";
|
|
9
10
|
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, PartnerUserEntitlementsV1, PartnerUserEntitlementsV1Response, PartnerUserLifecycleV1Response, PartnerWatchedUrlsChangeV1Response, PartnerWatchedUrlsV1Response, createGscdumpV1Protocol } from "./operations.mjs";
|
|
10
11
|
import { GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, SitemapGrantHolderV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
11
12
|
import "./http.mjs";
|
|
12
13
|
import { ContractDocument, createGscdumpV1Documents, serializeContractDocument } from "./documents.mjs";
|
|
13
|
-
export { AnalyticsReportDetailV1Request, AnalyticsReportDetailV1Response, AnalyticsReportV1Request, AnalyticsReportV1Response, AnalyticsRowsV1Request, AnalyticsRowsV1Response, BingAuthorizationRequestV1, BingAuthorizationV1, type BingCnameVerificationV1, type BingConnectionV1, type BingDataQueryV1, type BingDataV1, BingGrantV1, BingLinkResultV1, BingSiteStateV1, BingSiteV1, BingSitemapSubmitRequestV1, BingSitemapSubmitResultV1, BingSitemapViewV1, BingSitesQueryV1, BingSitesV1, 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, GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, 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, IndexNowConnectionV1, IndexNowSubmissionReceiptV1, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, PartnerUserEntitlementsV1, PartnerUserEntitlementsV1Response, PartnerUserLifecycleV1Response, PartnerWatchedUrlsChangeV1Response, PartnerWatchedUrlsV1Response, REALTIME_V1_EVENT_NAMES, REALTIME_V1_EVENT_SEMANTICS, REALTIME_V1_RESOURCE_TYPES, RealtimeTicketV1Response, RealtimeV1ClientFrame, RealtimeV1Cursor, RealtimeV1Event, RealtimeV1ResourceChange, RealtimeV1Schemas, RealtimeV1ServerFrame, RealtimeV1StreamHead, RealtimeV1StreamId, RealtimeV1TicketClaims, RealtimeV1TicketRequest, ResolvedHttpV1Operation, SitemapGrantHolderV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, type UnknownHttpV1OperationError, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Documents, createGscdumpV1Protocol, createHttpV1Registry, createRealtimeV1Schemas, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation, serializeContractDocument, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
|
14
|
+
export { AnalyticsReportDetailV1Request, AnalyticsReportDetailV1Response, AnalyticsReportV1Request, AnalyticsReportV1Response, AnalyticsRowsV1Request, AnalyticsRowsV1Response, BingAuthorizationRequestV1, BingAuthorizationV1, type BingCnameVerificationV1, type BingConnectionV1, type BingDataQueryV1, type BingDataV1, BingGrantV1, BingLinkResultV1, BingSiteStateV1, BingSiteV1, BingSitemapSubmitRequestV1, BingSitemapSubmitResultV1, BingSitemapViewV1, BingSitesQueryV1, BingSitesV1, CompatibleResponseSchema, ContractDocument, GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMPTS, GOOGLE_SUBMISSION_REFUSAL_REASONS, GOOGLE_SUBMISSION_REJECTION_REASONS, GOOGLE_SUBMISSION_SITE_DAILY_LIMIT, GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS, 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, GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, GoogleSubmissionReceiptV1, GoogleSubmissionRefusal, GoogleSubmissionRefusalReason, GoogleSubmissionRejectionReason, 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, IndexNowConnectionV1, IndexNowSubmissionReceiptV1, IndexingApiGrantV1, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, PartnerUserEntitlementsV1, PartnerUserEntitlementsV1Response, PartnerUserLifecycleV1Response, PartnerWatchedUrlsChangeV1Response, PartnerWatchedUrlsV1Response, REALTIME_V1_EVENT_NAMES, REALTIME_V1_EVENT_SEMANTICS, REALTIME_V1_RESOURCE_TYPES, RealtimeTicketV1Response, RealtimeV1ClientFrame, RealtimeV1Cursor, RealtimeV1Event, RealtimeV1ResourceChange, RealtimeV1Schemas, RealtimeV1ServerFrame, RealtimeV1StreamHead, RealtimeV1StreamId, RealtimeV1TicketClaims, RealtimeV1TicketRequest, ResolvedHttpV1Operation, SitemapGrantHolderV1, SitemapSubmissionStateV1, SitemapSubmissionV1, SitemapSubmitResultV1, type UnknownHttpV1OperationError, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Documents, createGscdumpV1Protocol, createHttpV1Registry, createRealtimeV1Schemas, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, isUnknownHttpV1OperationError, listHttpOperations, parseGoogleSubmissionRefusal, resolveHttpOperation, serializeContractDocument, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
package/dist/v1/index.mjs
CHANGED
|
@@ -5,9 +5,10 @@ import { HTTP_V1_CREDENTIALS, HTTP_V1_CREDENTIAL_SCOPES, HTTP_V1_ERROR_CODES, HT
|
|
|
5
5
|
import { bingDataQueryV1Schema, bingDataV1Schemas } from "./bing-data.mjs";
|
|
6
6
|
import { bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas } from "./bing-sites.mjs";
|
|
7
7
|
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";
|
|
8
|
+
import { GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMPTS, GOOGLE_SUBMISSION_REFUSAL_REASONS, GOOGLE_SUBMISSION_REJECTION_REASONS, GOOGLE_SUBMISSION_SITE_DAILY_LIMIT, GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, parseGoogleSubmissionRefusal } from "./google-indexing.mjs";
|
|
8
9
|
import { indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema } from "./indexnow.mjs";
|
|
9
10
|
import { GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas } from "./sitemap-submission.mjs";
|
|
10
11
|
import { createGscdumpV1Protocol } from "./operations.mjs";
|
|
11
12
|
import { createGscdumpV1Documents, serializeContractDocument } from "./documents.mjs";
|
|
12
13
|
import "./http.mjs";
|
|
13
|
-
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, GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, 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, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Documents, createGscdumpV1Protocol, createHttpV1Registry, createRealtimeV1Schemas, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation, serializeContractDocument, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|
|
14
|
+
export { GOOGLE_INDEXING_API_PROJECT_DAILY_DEFAULT, GOOGLE_SUBMISSION_MAX_ATTEMPTS, GOOGLE_SUBMISSION_REFUSAL_REASONS, GOOGLE_SUBMISSION_REJECTION_REASONS, GOOGLE_SUBMISSION_SITE_DAILY_LIMIT, GOOGLE_SUBMISSION_URL_COOLDOWN_DAYS, 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, GSC_SITEMAP_SUBMIT_PERMISSION_LEVELS, GSC_SITEMAP_SUBMIT_SCOPE, 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, bingAuthorizationRequestV1Schema, bingAuthorizationV1Schemas, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, bingGrantV1Schemas, bingLinkResultV1Schemas, bingSiteStateV1Schemas, bingSiteV1Schemas, bingSitemapSubmitRequestV1Schema, bingSitemapSubmitResultV1Schemas, bingSitemapViewV1Schemas, bingSitesQueryV1Schema, bingSitesV1Schemas, buildHttpOperationPath, createGscdumpV1Documents, createGscdumpV1Protocol, createHttpV1Registry, createRealtimeV1Schemas, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, googleSubmissionReceiptV1Schema, googleSubmissionReceiptV1Schemas, googleSubmissionRefusalSchema, googleSubmitV1Schema, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, indexingApiGrantUpdateV1Schema, indexingApiGrantV1Schema, indexingApiGrantV1Schemas, isUnknownHttpV1OperationError, listHttpOperations, parseGoogleSubmissionRefusal, resolveHttpOperation, serializeContractDocument, sitemapGrantHolderV1Schemas, sitemapSubmissionStateV1Schemas, sitemapSubmissionV1Schemas, sitemapSubmitResultV1Schemas };
|