@gscdump/contracts 0.35.12 → 0.36.1

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.
@@ -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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gscdump/contracts",
3
3
  "type": "module",
4
- "version": "0.35.12",
4
+ "version": "0.36.1",
5
5
  "description": "Shared gscdump.com API, webhook, realtime, and lifecycle contracts.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",