@gscdump/contracts 0.35.11 → 0.36.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/_chunks/types.d.mts +6 -0
- package/package.json +1 -1
package/dist/_chunks/types.d.mts
CHANGED
|
@@ -173,6 +173,8 @@ interface PartnerLifecycleSite {
|
|
|
173
173
|
siteId: string;
|
|
174
174
|
/** Integer alias (`user_sites.int_id`) — the int JOIN key partners denormalize into their own catalog namespaces. Nullable only for pre-0029 unbackfilled rows. */
|
|
175
175
|
intId: number | null;
|
|
176
|
+
/** Team-scoped catalog identifier (`user_sites.catalog_site_id`). Defaults to `intId` for sites without a caller-supplied catalog ID. */
|
|
177
|
+
catalogSiteId: number | null;
|
|
176
178
|
externalSiteId: string | null;
|
|
177
179
|
requestedUrl: string;
|
|
178
180
|
gscPropertyUrl: string | null;
|
|
@@ -212,6 +214,7 @@ interface PartnerLifecycleResponse {
|
|
|
212
214
|
contractVersion: typeof GSCDUMP_ONBOARDING_CONTRACT_VERSION;
|
|
213
215
|
userId: string;
|
|
214
216
|
partnerId: string | null;
|
|
217
|
+
currentTeamId: string | null;
|
|
215
218
|
account: PartnerLifecycleAccount;
|
|
216
219
|
sites: PartnerLifecycleSite[];
|
|
217
220
|
}
|
|
@@ -726,6 +729,8 @@ interface GscdumpSiteRegistration {
|
|
|
726
729
|
siteId: string;
|
|
727
730
|
/** Integer alias (`user_sites.int_id`) — the int JOIN key partners denormalize into their own catalog namespaces. */
|
|
728
731
|
intId?: number | null;
|
|
732
|
+
/** Team-scoped catalog identifier (`user_sites.catalog_site_id`). Echoes caller input or defaults to `intId`. */
|
|
733
|
+
catalogSiteId?: number | null;
|
|
729
734
|
status: 'idle' | 'pending' | 'syncing' | 'synced' | 'error';
|
|
730
735
|
message?: string;
|
|
731
736
|
existing?: boolean;
|
|
@@ -1047,6 +1052,7 @@ interface RegisterPartnerSiteParams {
|
|
|
1047
1052
|
webhookEvents?: WebhookEventType[];
|
|
1048
1053
|
teamId?: string;
|
|
1049
1054
|
enabledSearchTypes?: GscSearchType[];
|
|
1055
|
+
catalogSiteId?: number;
|
|
1050
1056
|
}
|
|
1051
1057
|
interface BulkRegisterPartnerSitesParams {
|
|
1052
1058
|
userId?: string;
|