@gscdump/contracts 1.3.2 → 1.4.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.
- package/dist/analytics.d.mts +5 -3
- package/dist/analytics.mjs +3 -3
- package/dist/archetypes.d.mts +1 -1
- package/dist/{_chunks/endpoints.d.mts → endpoints.d.mts} +204 -204
- package/dist/file-resolution.d.mts +155 -0
- package/dist/index.d.mts +6 -3
- package/dist/index.mjs +4 -2
- package/dist/onboarding.d.mts +113 -0
- package/dist/onboarding.mjs +122 -0
- package/dist/partner.d.mts +6 -4
- package/dist/partner.mjs +5 -3
- package/dist/routes.d.mts +88 -0
- package/dist/{_chunks/schemas.d.mts → schemas.d.mts} +2556 -2643
- package/dist/{_chunks/schemas.mjs → schemas.mjs} +3 -137
- package/dist/{_chunks/types.d.mts → types.d.mts} +3 -266
- package/dist/v1/documents.d.mts +4 -0
- package/dist/v1/documents.mjs +227 -0
- package/dist/v1/http.d.mts +94 -0
- package/dist/v1/http.mjs +162 -0
- package/dist/v1/index.d.mts +4 -12440
- package/dist/v1/index.mjs +4 -5107
- package/dist/v1/operations.d.mts +11699 -0
- package/dist/v1/operations.mjs +4282 -0
- package/dist/v1/realtime.d.mts +650 -0
- package/dist/v1/realtime.mjs +447 -0
- package/dist/webhook-constants.mjs +16 -0
- package/package.json +2 -2
- package/dist/{_chunks/endpoints.mjs → endpoints.mjs} +1 -1
- /package/dist/{_chunks/routes.mjs → routes.mjs} +0 -0
- /package/dist/{_chunks/webhook-constants.d.mts → webhook-constants.d.mts} +0 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
declare const partnerRoutes: {
|
|
2
|
+
readonly partner: {
|
|
3
|
+
readonly users: {
|
|
4
|
+
readonly byId: (userId: string) => string;
|
|
5
|
+
readonly lifecycle: (userId: string) => string;
|
|
6
|
+
readonly siteTeam: (userId: string, siteId: string) => string;
|
|
7
|
+
readonly siteIntIdCrosswalk: (userId: string) => string;
|
|
8
|
+
};
|
|
9
|
+
readonly sites: {
|
|
10
|
+
readonly register: '/partner/sites/register';
|
|
11
|
+
readonly bulkRegister: '/partner/sites/bulk-register';
|
|
12
|
+
readonly verificationToken: '/partner/sites/verification-token';
|
|
13
|
+
readonly addAndVerify: '/partner/sites/add-and-verify';
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
readonly users: {
|
|
17
|
+
readonly register: '/users/register';
|
|
18
|
+
readonly tokens: (userId: string) => string;
|
|
19
|
+
readonly status: (userId: string) => string;
|
|
20
|
+
readonly lifecycle: (userId: string) => string;
|
|
21
|
+
readonly sites: (userId: string) => string;
|
|
22
|
+
readonly availableSites: (userId: string) => string;
|
|
23
|
+
readonly siteTeam: (userId: string, siteId: string) => string;
|
|
24
|
+
};
|
|
25
|
+
readonly sites: {
|
|
26
|
+
readonly register: '/sites/register';
|
|
27
|
+
readonly bulkRegister: '/sites/bulk-register';
|
|
28
|
+
readonly byId: (siteId: string) => string;
|
|
29
|
+
readonly analysisSources: (siteId: string) => string;
|
|
30
|
+
readonly syncStatus: (siteId: string) => string;
|
|
31
|
+
readonly data: (siteId: string) => string;
|
|
32
|
+
readonly dataDetail: (siteId: string) => string;
|
|
33
|
+
readonly sitemaps: (siteId: string) => string;
|
|
34
|
+
readonly sitemapChanges: (siteId: string) => string;
|
|
35
|
+
readonly sitemapMembership: (siteId: string) => string;
|
|
36
|
+
readonly indexing: (siteId: string) => string;
|
|
37
|
+
readonly indexingUrls: (siteId: string) => string;
|
|
38
|
+
readonly indexingDiagnostics: (siteId: string) => string;
|
|
39
|
+
readonly indexingInspect: (siteId: string) => string;
|
|
40
|
+
readonly recoverPermission: (siteId: string) => string;
|
|
41
|
+
readonly canonicalMismatches: (siteId: string) => string;
|
|
42
|
+
readonly topAssociation: (siteId: string) => string;
|
|
43
|
+
readonly keywordSparklines: (siteId: string) => string;
|
|
44
|
+
readonly queryTrend: (siteId: string) => string;
|
|
45
|
+
readonly pageTrend: (siteId: string) => string;
|
|
46
|
+
readonly indexPercent: (siteId: string) => string;
|
|
47
|
+
};
|
|
48
|
+
readonly settings: {
|
|
49
|
+
readonly user: '/user/settings';
|
|
50
|
+
};
|
|
51
|
+
readonly teams: {
|
|
52
|
+
readonly create: '/partner/teams';
|
|
53
|
+
readonly byId: (teamId: string) => string;
|
|
54
|
+
readonly catalog: (teamId: string) => string;
|
|
55
|
+
readonly members: (teamId: string) => string;
|
|
56
|
+
readonly member: (teamId: string, userId: string) => string;
|
|
57
|
+
};
|
|
58
|
+
readonly realtime: {
|
|
59
|
+
readonly partner: '/ws/partner';
|
|
60
|
+
readonly user: '/ws/user';
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
declare const analyticsRoutes: {
|
|
64
|
+
readonly whoami: '/api/__gsc/whoami';
|
|
65
|
+
readonly sites: '/api/__gsc/sites';
|
|
66
|
+
readonly bulkSources: '/api/__gsc/bulk-sources';
|
|
67
|
+
readonly site: {
|
|
68
|
+
readonly sourceInfo: (siteId: string) => string;
|
|
69
|
+
readonly analysisSources: (siteId: string) => string;
|
|
70
|
+
readonly queryDimSource: (siteId: string) => string;
|
|
71
|
+
readonly analyze: (siteId: string) => string;
|
|
72
|
+
readonly rollup: (siteId: string, rollupId: string) => string;
|
|
73
|
+
readonly backfill: (siteId: string) => string;
|
|
74
|
+
readonly sitemaps: (siteId: string) => string;
|
|
75
|
+
readonly sitemapHistory: (siteId: string, hash: string) => string;
|
|
76
|
+
readonly sitemapChanges: (siteId: string) => string;
|
|
77
|
+
readonly inspections: (siteId: string) => string;
|
|
78
|
+
readonly inspectionHistory: (siteId: string, hash: string) => string;
|
|
79
|
+
readonly indexingUrls: (siteId: string) => string;
|
|
80
|
+
readonly indexingDiagnostics: (siteId: string) => string;
|
|
81
|
+
readonly indexingInspect: (siteId: string) => string;
|
|
82
|
+
readonly countries: (siteId: string) => string;
|
|
83
|
+
readonly searchAppearance: (siteId: string) => string;
|
|
84
|
+
readonly topAssociation: (siteId: string) => string;
|
|
85
|
+
};
|
|
86
|
+
readonly syncProgress: '/api/sync-progress';
|
|
87
|
+
};
|
|
88
|
+
export { analyticsRoutes, partnerRoutes };
|