@gscdump/contracts 4.6.0 → 4.7.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/README.md +1 -1
- package/dist/analytics.d.mts +2 -2
- package/dist/endpoints.d.mts +14 -0
- package/dist/entitlements.d.mts +90 -0
- package/dist/entitlements.mjs +55 -0
- package/dist/index.d.mts +3 -2
- package/dist/index.mjs +2 -1
- package/dist/onboarding.d.mts +3 -0
- package/dist/partner.d.mts +2 -2
- package/dist/schemas.d.mts +55 -3
- package/dist/schemas.mjs +11 -1
- package/dist/types.d.mts +14 -1
- package/dist/v1/browser.d.mts +13 -1
- package/dist/v1/browser.mjs +3 -0
- package/dist/v1/http.d.mts +2 -2
- package/dist/v1/index.d.mts +2 -2
- package/dist/v1/operations.d.mts +351 -11
- package/dist/v1/operations.mjs +129 -0
- package/dist/v1/route-catalog.d.mts +5 -0
- package/dist/v1/route-catalog.mjs +5 -0
- package/dist/webhook-constants.d.mts +2 -2
- package/dist/webhook-constants.mjs +2 -1
- package/package.json +1 -1
package/dist/schemas.d.mts
CHANGED
|
@@ -965,6 +965,12 @@ export declare const partnerLifecycleSiteSchema: z.ZodObject<{
|
|
|
965
965
|
retry_indexing: "retry_indexing";
|
|
966
966
|
}>;
|
|
967
967
|
}, z.core.$loose>;
|
|
968
|
+
hold: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
969
|
+
size_limit: "size_limit";
|
|
970
|
+
sitemap_limit: "sitemap_limit";
|
|
971
|
+
size_unknown: "size_unknown";
|
|
972
|
+
size_pending: "size_pending";
|
|
973
|
+
}>>>;
|
|
968
974
|
latestError: z.ZodNullable<z.ZodObject<{
|
|
969
975
|
code: z.ZodEnum<{
|
|
970
976
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -1118,6 +1124,12 @@ export declare const partnerLifecycleResponseSchema: z.ZodObject<{
|
|
|
1118
1124
|
retry_indexing: "retry_indexing";
|
|
1119
1125
|
}>;
|
|
1120
1126
|
}, z.core.$loose>;
|
|
1127
|
+
hold: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
1128
|
+
size_limit: "size_limit";
|
|
1129
|
+
sitemap_limit: "sitemap_limit";
|
|
1130
|
+
size_unknown: "size_unknown";
|
|
1131
|
+
size_pending: "size_pending";
|
|
1132
|
+
}>>>;
|
|
1121
1133
|
latestError: z.ZodNullable<z.ZodObject<{
|
|
1122
1134
|
code: z.ZodEnum<{
|
|
1123
1135
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -1305,6 +1317,12 @@ export declare const gscdumpSiteRegistrationSchema: z.ZodObject<{
|
|
|
1305
1317
|
retry_indexing: "retry_indexing";
|
|
1306
1318
|
}>;
|
|
1307
1319
|
}, z.core.$loose>;
|
|
1320
|
+
hold: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
1321
|
+
size_limit: "size_limit";
|
|
1322
|
+
sitemap_limit: "sitemap_limit";
|
|
1323
|
+
size_unknown: "size_unknown";
|
|
1324
|
+
size_pending: "size_pending";
|
|
1325
|
+
}>>>;
|
|
1308
1326
|
latestError: z.ZodNullable<z.ZodObject<{
|
|
1309
1327
|
code: z.ZodEnum<{
|
|
1310
1328
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -1342,6 +1360,7 @@ export declare const registerPartnerSiteSchema: z.ZodObject<{
|
|
|
1342
1360
|
"site.indexing.ready": "site.indexing.ready";
|
|
1343
1361
|
"site.auth.failed": "site.auth.failed";
|
|
1344
1362
|
"job.failed": "job.failed";
|
|
1363
|
+
"user.allowance.notice": "user.allowance.notice";
|
|
1345
1364
|
}>>>;
|
|
1346
1365
|
teamId: z.ZodOptional<z.ZodString>;
|
|
1347
1366
|
enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -1371,6 +1390,7 @@ export declare const bulkRegisterPartnerSitesSchema: z.ZodObject<{
|
|
|
1371
1390
|
"site.indexing.ready": "site.indexing.ready";
|
|
1372
1391
|
"site.auth.failed": "site.auth.failed";
|
|
1373
1392
|
"job.failed": "job.failed";
|
|
1393
|
+
"user.allowance.notice": "user.allowance.notice";
|
|
1374
1394
|
}>>>;
|
|
1375
1395
|
enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1376
1396
|
readonly WEB: "web";
|
|
@@ -2105,8 +2125,8 @@ export declare const gscdumpSyncProgressResponseSchema: z.ZodObject<{
|
|
|
2105
2125
|
authFailureCount: z.ZodNumber;
|
|
2106
2126
|
currentPhase: z.ZodEnum<{
|
|
2107
2127
|
complete: "complete";
|
|
2108
|
-
initial: "initial";
|
|
2109
2128
|
backfill: "backfill";
|
|
2129
|
+
initial: "initial";
|
|
2110
2130
|
}>;
|
|
2111
2131
|
isStalled: z.ZodBoolean;
|
|
2112
2132
|
stallDays: z.ZodNumber;
|
|
@@ -2809,6 +2829,7 @@ export declare const canonicalWebhookEventTypeSchema: z.ZodEnum<{
|
|
|
2809
2829
|
"site.indexing.ready": "site.indexing.ready";
|
|
2810
2830
|
"site.auth.failed": "site.auth.failed";
|
|
2811
2831
|
"job.failed": "job.failed";
|
|
2832
|
+
"user.allowance.notice": "user.allowance.notice";
|
|
2812
2833
|
}>;
|
|
2813
2834
|
export declare const partnerWebhookDataSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2814
2835
|
export declare const partnerWebhookEnvelopeSchema: z.ZodObject<{
|
|
@@ -2821,6 +2842,7 @@ export declare const partnerWebhookEnvelopeSchema: z.ZodObject<{
|
|
|
2821
2842
|
"site.indexing.ready": "site.indexing.ready";
|
|
2822
2843
|
"site.auth.failed": "site.auth.failed";
|
|
2823
2844
|
"job.failed": "job.failed";
|
|
2845
|
+
"user.allowance.notice": "user.allowance.notice";
|
|
2824
2846
|
}>;
|
|
2825
2847
|
partnerId: z.ZodString;
|
|
2826
2848
|
userId: z.ZodNullable<z.ZodString>;
|
|
@@ -3599,8 +3621,8 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
3599
3621
|
authFailureCount: z.ZodNumber;
|
|
3600
3622
|
currentPhase: z.ZodEnum<{
|
|
3601
3623
|
complete: "complete";
|
|
3602
|
-
initial: "initial";
|
|
3603
3624
|
backfill: "backfill";
|
|
3625
|
+
initial: "initial";
|
|
3604
3626
|
}>;
|
|
3605
3627
|
isStalled: z.ZodBoolean;
|
|
3606
3628
|
stallDays: z.ZodNumber;
|
|
@@ -3909,6 +3931,12 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
3909
3931
|
retry_indexing: "retry_indexing";
|
|
3910
3932
|
}>;
|
|
3911
3933
|
}, z.core.$loose>;
|
|
3934
|
+
hold: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
3935
|
+
size_limit: "size_limit";
|
|
3936
|
+
sitemap_limit: "sitemap_limit";
|
|
3937
|
+
size_unknown: "size_unknown";
|
|
3938
|
+
size_pending: "size_pending";
|
|
3939
|
+
}>>>;
|
|
3912
3940
|
latestError: z.ZodNullable<z.ZodObject<{
|
|
3913
3941
|
code: z.ZodEnum<{
|
|
3914
3942
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -3992,6 +4020,7 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
3992
4020
|
"site.indexing.ready": "site.indexing.ready";
|
|
3993
4021
|
"site.auth.failed": "site.auth.failed";
|
|
3994
4022
|
"job.failed": "job.failed";
|
|
4023
|
+
"user.allowance.notice": "user.allowance.notice";
|
|
3995
4024
|
}>>>;
|
|
3996
4025
|
teamId: z.ZodOptional<z.ZodString>;
|
|
3997
4026
|
enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -4133,6 +4162,12 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
4133
4162
|
retry_indexing: "retry_indexing";
|
|
4134
4163
|
}>;
|
|
4135
4164
|
}, z.core.$loose>;
|
|
4165
|
+
hold: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
4166
|
+
size_limit: "size_limit";
|
|
4167
|
+
sitemap_limit: "sitemap_limit";
|
|
4168
|
+
size_unknown: "size_unknown";
|
|
4169
|
+
size_pending: "size_pending";
|
|
4170
|
+
}>>>;
|
|
4136
4171
|
latestError: z.ZodNullable<z.ZodObject<{
|
|
4137
4172
|
code: z.ZodEnum<{
|
|
4138
4173
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -4174,6 +4209,7 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
4174
4209
|
"site.indexing.ready": "site.indexing.ready";
|
|
4175
4210
|
"site.auth.failed": "site.auth.failed";
|
|
4176
4211
|
"job.failed": "job.failed";
|
|
4212
|
+
"user.allowance.notice": "user.allowance.notice";
|
|
4177
4213
|
}>>>;
|
|
4178
4214
|
enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4179
4215
|
readonly WEB: "web";
|
|
@@ -5289,6 +5325,7 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
5289
5325
|
"site.indexing.ready": "site.indexing.ready";
|
|
5290
5326
|
"site.auth.failed": "site.auth.failed";
|
|
5291
5327
|
"job.failed": "job.failed";
|
|
5328
|
+
"user.allowance.notice": "user.allowance.notice";
|
|
5292
5329
|
}>;
|
|
5293
5330
|
partnerId: z.ZodString;
|
|
5294
5331
|
userId: z.ZodNullable<z.ZodString>;
|
|
@@ -5390,8 +5427,8 @@ export declare const partnerEndpointSchemas: {
|
|
|
5390
5427
|
authFailureCount: z.ZodNumber;
|
|
5391
5428
|
currentPhase: z.ZodEnum<{
|
|
5392
5429
|
complete: "complete";
|
|
5393
|
-
initial: "initial";
|
|
5394
5430
|
backfill: "backfill";
|
|
5431
|
+
initial: "initial";
|
|
5395
5432
|
}>;
|
|
5396
5433
|
isStalled: z.ZodBoolean;
|
|
5397
5434
|
stallDays: z.ZodNumber;
|
|
@@ -5700,6 +5737,12 @@ export declare const partnerEndpointSchemas: {
|
|
|
5700
5737
|
retry_indexing: "retry_indexing";
|
|
5701
5738
|
}>;
|
|
5702
5739
|
}, z.core.$loose>;
|
|
5740
|
+
hold: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
5741
|
+
size_limit: "size_limit";
|
|
5742
|
+
sitemap_limit: "sitemap_limit";
|
|
5743
|
+
size_unknown: "size_unknown";
|
|
5744
|
+
size_pending: "size_pending";
|
|
5745
|
+
}>>>;
|
|
5703
5746
|
latestError: z.ZodNullable<z.ZodObject<{
|
|
5704
5747
|
code: z.ZodEnum<{
|
|
5705
5748
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -5783,6 +5826,7 @@ export declare const partnerEndpointSchemas: {
|
|
|
5783
5826
|
"site.indexing.ready": "site.indexing.ready";
|
|
5784
5827
|
"site.auth.failed": "site.auth.failed";
|
|
5785
5828
|
"job.failed": "job.failed";
|
|
5829
|
+
"user.allowance.notice": "user.allowance.notice";
|
|
5786
5830
|
}>>>;
|
|
5787
5831
|
teamId: z.ZodOptional<z.ZodString>;
|
|
5788
5832
|
enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -5924,6 +5968,12 @@ export declare const partnerEndpointSchemas: {
|
|
|
5924
5968
|
retry_indexing: "retry_indexing";
|
|
5925
5969
|
}>;
|
|
5926
5970
|
}, z.core.$loose>;
|
|
5971
|
+
hold: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
5972
|
+
size_limit: "size_limit";
|
|
5973
|
+
sitemap_limit: "sitemap_limit";
|
|
5974
|
+
size_unknown: "size_unknown";
|
|
5975
|
+
size_pending: "size_pending";
|
|
5976
|
+
}>>>;
|
|
5927
5977
|
latestError: z.ZodNullable<z.ZodObject<{
|
|
5928
5978
|
code: z.ZodEnum<{
|
|
5929
5979
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -5965,6 +6015,7 @@ export declare const partnerEndpointSchemas: {
|
|
|
5965
6015
|
"site.indexing.ready": "site.indexing.ready";
|
|
5966
6016
|
"site.auth.failed": "site.auth.failed";
|
|
5967
6017
|
"job.failed": "job.failed";
|
|
6018
|
+
"user.allowance.notice": "user.allowance.notice";
|
|
5968
6019
|
}>>>;
|
|
5969
6020
|
enabledSearchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5970
6021
|
readonly WEB: "web";
|
|
@@ -7080,6 +7131,7 @@ export declare const partnerEndpointSchemas: {
|
|
|
7080
7131
|
"site.indexing.ready": "site.indexing.ready";
|
|
7081
7132
|
"site.auth.failed": "site.auth.failed";
|
|
7082
7133
|
"job.failed": "job.failed";
|
|
7134
|
+
"user.allowance.notice": "user.allowance.notice";
|
|
7083
7135
|
}>;
|
|
7084
7136
|
partnerId: z.ZodString;
|
|
7085
7137
|
userId: z.ZodNullable<z.ZodString>;
|
package/dist/schemas.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { siteHoldReasonSchema, userAllowanceNoticeDataSchema } from "./entitlements.mjs";
|
|
1
2
|
import { coverageStatesPointSchema, indexingCaptureSchema } from "./indexing-coverage.mjs";
|
|
2
3
|
import { GSCDUMP_ONBOARDING_CONTRACT_VERSION, accountNextActions, accountStatuses, analyticsNextActions, analyticsStatuses, indexingNextActions, indexingStatuses, lifecycleErrorCodes, propertyNextActions, propertyStatuses, querySourceModes, sitemapNextActions, sitemapStatuses } from "./onboarding.mjs";
|
|
3
4
|
import { GSC_SEARCH_TYPES } from "./search-types.mjs";
|
|
@@ -469,6 +470,7 @@ const partnerLifecycleSiteSchema = z.object({
|
|
|
469
470
|
progress: lifecycleProgressSchema,
|
|
470
471
|
nextAction: z.enum(indexingNextActions)
|
|
471
472
|
}).loose(),
|
|
473
|
+
hold: siteHoldReasonSchema.nullable().default(null),
|
|
472
474
|
latestError: lifecycleErrorSchema.nullable(),
|
|
473
475
|
lifecycleRevision: z.number(),
|
|
474
476
|
updatedAt: z.string()
|
|
@@ -1467,7 +1469,15 @@ const partnerWebhookEnvelopeSchema = z.object({
|
|
|
1467
1469
|
lifecycleRevision: z.number().int(),
|
|
1468
1470
|
occurredAt: z.iso.datetime(),
|
|
1469
1471
|
data: partnerWebhookDataSchema
|
|
1470
|
-
}).loose()
|
|
1472
|
+
}).loose().superRefine((envelope, context) => {
|
|
1473
|
+
if (envelope.event !== "user.allowance.notice") return;
|
|
1474
|
+
const data = userAllowanceNoticeDataSchema.safeParse(envelope.data);
|
|
1475
|
+
for (const issue of data.error?.issues ?? []) context.addIssue({
|
|
1476
|
+
code: "custom",
|
|
1477
|
+
message: issue.message,
|
|
1478
|
+
path: ["data", ...issue.path]
|
|
1479
|
+
});
|
|
1480
|
+
});
|
|
1471
1481
|
const analyticsEndpointSchemas = {
|
|
1472
1482
|
analyticsWhoami: { response: whoamiResponseSchema },
|
|
1473
1483
|
analyticsSites: { response: z.array(siteListItemSchema) },
|
package/dist/types.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GscSearchType } from "./search-types.mjs";
|
|
2
|
+
import { UserAllowanceNoticeData } from "./entitlements.mjs";
|
|
2
3
|
import { FileResolutionResponse } from "./file-resolution.mjs";
|
|
3
4
|
import { CoverageStatesPoint, IndexingCapture } from "./indexing-coverage.mjs";
|
|
4
5
|
import { AccountNextAction, AccountStatus, PartnerLifecycleAccount, PartnerLifecycleResponse, PartnerLifecycleSite } from "./onboarding.mjs";
|
|
@@ -1394,7 +1395,7 @@ export interface BindPartnerTeamCatalogResponse {
|
|
|
1394
1395
|
bucket: string;
|
|
1395
1396
|
namespace: string;
|
|
1396
1397
|
}
|
|
1397
|
-
export type CanonicalWebhookEventType = 'user.lifecycle.changed' | 'site.lifecycle.changed' | 'site.analytics.ready' | 'site.indexing.ready' | 'site.auth.failed' | 'job.failed';
|
|
1398
|
+
export type CanonicalWebhookEventType = 'user.lifecycle.changed' | 'site.lifecycle.changed' | 'site.analytics.ready' | 'site.indexing.ready' | 'site.auth.failed' | 'job.failed' | 'user.allowance.notice';
|
|
1398
1399
|
export type WebhookEventType = CanonicalWebhookEventType;
|
|
1399
1400
|
export interface WebhookEnvelope<TData extends Record<string, unknown> = Record<string, unknown>> {
|
|
1400
1401
|
contractVersion: string;
|
|
@@ -1410,6 +1411,18 @@ export interface WebhookEnvelope<TData extends Record<string, unknown> = Record<
|
|
|
1410
1411
|
data: TData;
|
|
1411
1412
|
}
|
|
1412
1413
|
export type PartnerWebhookData = Record<string, unknown>;
|
|
1414
|
+
/**
|
|
1415
|
+
* The `data` type of each canonical webhook event. An event with a typed
|
|
1416
|
+
* payload has its own entry; every other event carries `PartnerWebhookData`.
|
|
1417
|
+
*/
|
|
1418
|
+
export type CanonicalWebhookEventData<TEvent extends CanonicalWebhookEventType> = TEvent extends 'user.allowance.notice' ? UserAllowanceNoticeData : PartnerWebhookData;
|
|
1419
|
+
/**
|
|
1420
|
+
* A parsed webhook envelope, discriminated on `event`. Narrow on `event` to
|
|
1421
|
+
* read a typed `data`, for example `UserAllowanceNoticeData`.
|
|
1422
|
+
*/
|
|
1423
|
+
export type CanonicalWebhookEnvelope = { [TEvent in CanonicalWebhookEventType]: WebhookEnvelope<CanonicalWebhookEventData<TEvent>> & {
|
|
1424
|
+
event: TEvent;
|
|
1425
|
+
}; }[CanonicalWebhookEventType];
|
|
1413
1426
|
export interface CreateWebhookEnvelopeOptions<TData extends Record<string, unknown> = Record<string, unknown>> {
|
|
1414
1427
|
event: CanonicalWebhookEventType;
|
|
1415
1428
|
partnerId: string;
|
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";
|
|
21
20
|
page: "page";
|
|
22
21
|
query: "query";
|
|
23
22
|
queryCanonical: "queryCanonical";
|
|
24
23
|
country: "country";
|
|
25
24
|
device: "device";
|
|
25
|
+
date: "date";
|
|
26
26
|
searchAppearance: "searchAppearance";
|
|
27
27
|
hour: "hour";
|
|
28
28
|
}>>;
|
|
@@ -260,6 +260,12 @@ export declare function createGscdumpV1BrowserSchemas(realtimeSchemas?: Realtime
|
|
|
260
260
|
retry_indexing: "retry_indexing";
|
|
261
261
|
}>;
|
|
262
262
|
}, z.core.$strip>;
|
|
263
|
+
readonly hold: z.ZodNullable<z.ZodEnum<{
|
|
264
|
+
size_limit: "size_limit";
|
|
265
|
+
sitemap_limit: "sitemap_limit";
|
|
266
|
+
size_unknown: "size_unknown";
|
|
267
|
+
size_pending: "size_pending";
|
|
268
|
+
}>>;
|
|
263
269
|
readonly latestError: z.ZodNullable<z.ZodObject<{
|
|
264
270
|
readonly code: z.ZodEnum<{
|
|
265
271
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -416,6 +422,12 @@ export declare function createGscdumpV1BrowserSchemas(realtimeSchemas?: Realtime
|
|
|
416
422
|
retry_indexing: "retry_indexing";
|
|
417
423
|
}>;
|
|
418
424
|
}, z.core.$strip>;
|
|
425
|
+
readonly hold: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
426
|
+
size_limit: "size_limit";
|
|
427
|
+
sitemap_limit: "sitemap_limit";
|
|
428
|
+
size_unknown: "size_unknown";
|
|
429
|
+
size_pending: "size_pending";
|
|
430
|
+
}>>>;
|
|
419
431
|
readonly latestError: z.ZodNullable<z.ZodObject<{
|
|
420
432
|
readonly code: z.ZodEnum<{
|
|
421
433
|
missing_refresh_token: "missing_refresh_token";
|
package/dist/v1/browser.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { siteHoldReasonSchema } from "../entitlements.mjs";
|
|
1
2
|
import { accountNextActions, accountStatuses, analyticsNextActions, analyticsStatuses, indexingNextActions, indexingStatuses, lifecycleErrorCodes, propertyNextActions, propertyStatuses, querySourceModes, sitemapNextActions, sitemapStatuses } from "../onboarding.mjs";
|
|
2
3
|
import { GSC_SEARCH_TYPES } from "../search-types.mjs";
|
|
3
4
|
import "./version.mjs";
|
|
@@ -83,6 +84,7 @@ function lifecycleResponseSchemas(ids) {
|
|
|
83
84
|
analytics: analytics.producer,
|
|
84
85
|
sitemaps: sitemaps.producer,
|
|
85
86
|
indexing: indexing.producer,
|
|
87
|
+
hold: siteHoldReasonSchema.nullable(),
|
|
86
88
|
latestError: latestError.producer.nullable(),
|
|
87
89
|
updatedAt: z.iso.datetime()
|
|
88
90
|
}, {
|
|
@@ -95,6 +97,7 @@ function lifecycleResponseSchemas(ids) {
|
|
|
95
97
|
analytics: analytics.client,
|
|
96
98
|
sitemaps: sitemaps.client,
|
|
97
99
|
indexing: indexing.client,
|
|
100
|
+
hold: siteHoldReasonSchema.nullable().default(null),
|
|
98
101
|
latestError: latestError.client.nullable(),
|
|
99
102
|
updatedAt: z.iso.datetime()
|
|
100
103
|
});
|
package/dist/v1/http.d.mts
CHANGED
|
@@ -4,5 +4,5 @@ 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 { IndexNowConnectionV1, IndexNowSubmissionReceiptV1, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema } from "./indexnow.mjs";
|
|
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, PartnerWatchedUrlsChangeV1Response, PartnerWatchedUrlsV1Response, createGscdumpV1Protocol } from "./operations.mjs";
|
|
8
|
-
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, IndexNowConnectionV1, IndexNowSubmissionReceiptV1, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, PartnerUserLifecycleV1Response, PartnerWatchedUrlsChangeV1Response, PartnerWatchedUrlsV1Response, ResolvedHttpV1Operation, type UnknownHttpV1OperationError, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, buildHttpOperationPath, createGscdumpV1Protocol, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation };
|
|
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, PartnerUserEntitlementsV1, PartnerUserEntitlementsV1Response, PartnerUserLifecycleV1Response, PartnerWatchedUrlsChangeV1Response, PartnerWatchedUrlsV1Response, createGscdumpV1Protocol } from "./operations.mjs";
|
|
8
|
+
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, IndexNowConnectionV1, IndexNowSubmissionReceiptV1, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, PartnerUserEntitlementsV1, PartnerUserEntitlementsV1Response, PartnerUserLifecycleV1Response, PartnerWatchedUrlsChangeV1Response, PartnerWatchedUrlsV1Response, ResolvedHttpV1Operation, type UnknownHttpV1OperationError, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, buildHttpOperationPath, createGscdumpV1Protocol, createHttpV1Registry, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation };
|
package/dist/v1/index.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ 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 { IndexNowConnectionV1, IndexNowSubmissionReceiptV1, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema } from "./indexnow.mjs";
|
|
8
|
-
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, PartnerWatchedUrlsChangeV1Response, PartnerWatchedUrlsV1Response, createGscdumpV1Protocol } from "./operations.mjs";
|
|
8
|
+
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
9
|
import "./http.mjs";
|
|
10
10
|
import { ContractDocument, createGscdumpV1Documents, serializeContractDocument } from "./documents.mjs";
|
|
11
|
-
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, IndexNowConnectionV1, IndexNowSubmissionReceiptV1, PartnerAnalysisBundleV1Response, PartnerAnalysisV1Response, PartnerAvailableSitesV1Response, PartnerBingConnectionV1Response, PartnerBingIndexingEvidenceV1Response, PartnerIndexingDiagnosticsV1Response, PartnerIndexingTransitionsV1Response, PartnerIndexingUrlsV1Response, PartnerIndexingV1Response, PartnerSiteDeletionV1Response, PartnerSiteRegistrationV1Response, PartnerSitemapChangesV1Response, PartnerSitemapsV1Response, 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, type UnknownHttpV1OperationError, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, buildHttpOperationPath, createGscdumpV1Documents, createGscdumpV1Protocol, createHttpV1Registry, createRealtimeV1Schemas, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation, serializeContractDocument };
|
|
11
|
+
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, 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, type UnknownHttpV1OperationError, bingCnameVerificationV1Schema, bingConnectionV1Schema, bingDataQueryV1Schema, bingDataV1Schemas, buildHttpOperationPath, createGscdumpV1Documents, createGscdumpV1Protocol, createHttpV1Registry, createRealtimeV1Schemas, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse, indexNowConfigureV1Schema, indexNowConnectionV1Schema, indexNowConnectionV1Schemas, indexNowKeyV1Schema, indexNowSubmissionReceiptV1Schema, indexNowSubmissionReceiptV1Schemas, indexNowSubmitV1Schema, isUnknownHttpV1OperationError, listHttpOperations, resolveHttpOperation, serializeContractDocument };
|