@gscdump/contracts 0.38.0 → 0.38.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/_chunks/endpoints.mjs +1 -1
- package/dist/v1/index.d.mts +14 -14
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ const partnerEndpoints = {
|
|
|
31
31
|
registerUser: defineEndpoint("POST", partnerRoutes.users.register, partnerControlEndpointSchemas.registerUser),
|
|
32
32
|
updateUserTokens: defineEndpoint("PATCH", partnerRoutes.users.tokens, partnerControlEndpointSchemas.updateUserTokens),
|
|
33
33
|
getUserStatus: defineEndpoint("GET", partnerRoutes.users.status, partnerControlEndpointSchemas.getUserStatus),
|
|
34
|
-
getUserLifecycle: defineEndpoint("GET", partnerRoutes.users.lifecycle, partnerControlEndpointSchemas.getUserLifecycle),
|
|
34
|
+
getUserLifecycle: defineEndpoint("GET", partnerRoutes.partner.users.lifecycle, partnerControlEndpointSchemas.getUserLifecycle),
|
|
35
35
|
getSyncStatus: defineEndpoint("GET", partnerRoutes.sites.syncStatus, noSchema),
|
|
36
36
|
getUserSites: defineEndpoint("GET", partnerRoutes.users.sites, partnerControlEndpointSchemas.getUserSites),
|
|
37
37
|
getAvailableSites: defineEndpoint("GET", partnerRoutes.users.availableSites, partnerControlEndpointSchemas.getAvailableSites),
|
package/dist/v1/index.d.mts
CHANGED
|
@@ -777,12 +777,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
777
777
|
readonly error: z.ZodObject<{
|
|
778
778
|
code: z.ZodEnum<{
|
|
779
779
|
internal_error: "internal_error";
|
|
780
|
-
rate_limited: "rate_limited";
|
|
781
780
|
invalid_request: "invalid_request";
|
|
782
781
|
unauthorized: "unauthorized";
|
|
783
782
|
forbidden: "forbidden";
|
|
784
783
|
user_not_found: "user_not_found";
|
|
785
784
|
site_not_found: "site_not_found";
|
|
785
|
+
rate_limited: "rate_limited";
|
|
786
786
|
realtime_unavailable: "realtime_unavailable";
|
|
787
787
|
contract_violation: "contract_violation";
|
|
788
788
|
}>;
|
|
@@ -795,12 +795,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
795
795
|
readonly error: z.ZodObject<{
|
|
796
796
|
code: z.ZodEnum<{
|
|
797
797
|
internal_error: "internal_error";
|
|
798
|
-
rate_limited: "rate_limited";
|
|
799
798
|
invalid_request: "invalid_request";
|
|
800
799
|
unauthorized: "unauthorized";
|
|
801
800
|
forbidden: "forbidden";
|
|
802
801
|
user_not_found: "user_not_found";
|
|
803
802
|
site_not_found: "site_not_found";
|
|
803
|
+
rate_limited: "rate_limited";
|
|
804
804
|
realtime_unavailable: "realtime_unavailable";
|
|
805
805
|
contract_violation: "contract_violation";
|
|
806
806
|
}>;
|
|
@@ -813,12 +813,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
813
813
|
analyticsRowsRequest: z.ZodObject<{
|
|
814
814
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
815
815
|
date: "date";
|
|
816
|
-
country: "country";
|
|
817
|
-
searchAppearance: "searchAppearance";
|
|
818
816
|
page: "page";
|
|
819
817
|
query: "query";
|
|
820
818
|
queryCanonical: "queryCanonical";
|
|
819
|
+
country: "country";
|
|
821
820
|
device: "device";
|
|
821
|
+
searchAppearance: "searchAppearance";
|
|
822
822
|
hour: "hour";
|
|
823
823
|
}>>;
|
|
824
824
|
metrics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -1626,11 +1626,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1626
1626
|
readonly error: z.ZodObject<{
|
|
1627
1627
|
code: z.ZodEnum<{
|
|
1628
1628
|
internal_error: "internal_error";
|
|
1629
|
-
rate_limited: "rate_limited";
|
|
1630
1629
|
invalid_request: "invalid_request";
|
|
1631
1630
|
unauthorized: "unauthorized";
|
|
1632
1631
|
forbidden: "forbidden";
|
|
1633
1632
|
user_not_found: "user_not_found";
|
|
1633
|
+
rate_limited: "rate_limited";
|
|
1634
1634
|
contract_violation: "contract_violation";
|
|
1635
1635
|
}>;
|
|
1636
1636
|
message: z.ZodString;
|
|
@@ -1642,11 +1642,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1642
1642
|
readonly error: z.ZodObject<{
|
|
1643
1643
|
code: z.ZodEnum<{
|
|
1644
1644
|
internal_error: "internal_error";
|
|
1645
|
-
rate_limited: "rate_limited";
|
|
1646
1645
|
invalid_request: "invalid_request";
|
|
1647
1646
|
unauthorized: "unauthorized";
|
|
1648
1647
|
forbidden: "forbidden";
|
|
1649
1648
|
user_not_found: "user_not_found";
|
|
1649
|
+
rate_limited: "rate_limited";
|
|
1650
1650
|
contract_violation: "contract_violation";
|
|
1651
1651
|
}>;
|
|
1652
1652
|
message: z.ZodString;
|
|
@@ -1736,12 +1736,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1736
1736
|
readonly body: z.ZodObject<{
|
|
1737
1737
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
1738
1738
|
date: "date";
|
|
1739
|
-
country: "country";
|
|
1740
|
-
searchAppearance: "searchAppearance";
|
|
1741
1739
|
page: "page";
|
|
1742
1740
|
query: "query";
|
|
1743
1741
|
queryCanonical: "queryCanonical";
|
|
1742
|
+
country: "country";
|
|
1744
1743
|
device: "device";
|
|
1744
|
+
searchAppearance: "searchAppearance";
|
|
1745
1745
|
hour: "hour";
|
|
1746
1746
|
}>>;
|
|
1747
1747
|
metrics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -1826,11 +1826,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1826
1826
|
readonly error: z.ZodObject<{
|
|
1827
1827
|
code: z.ZodEnum<{
|
|
1828
1828
|
internal_error: "internal_error";
|
|
1829
|
-
rate_limited: "rate_limited";
|
|
1830
1829
|
invalid_request: "invalid_request";
|
|
1831
1830
|
unauthorized: "unauthorized";
|
|
1832
1831
|
forbidden: "forbidden";
|
|
1833
1832
|
site_not_found: "site_not_found";
|
|
1833
|
+
rate_limited: "rate_limited";
|
|
1834
1834
|
contract_violation: "contract_violation";
|
|
1835
1835
|
}>;
|
|
1836
1836
|
message: z.ZodString;
|
|
@@ -1842,11 +1842,11 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1842
1842
|
readonly error: z.ZodObject<{
|
|
1843
1843
|
code: z.ZodEnum<{
|
|
1844
1844
|
internal_error: "internal_error";
|
|
1845
|
-
rate_limited: "rate_limited";
|
|
1846
1845
|
invalid_request: "invalid_request";
|
|
1847
1846
|
unauthorized: "unauthorized";
|
|
1848
1847
|
forbidden: "forbidden";
|
|
1849
1848
|
site_not_found: "site_not_found";
|
|
1849
|
+
rate_limited: "rate_limited";
|
|
1850
1850
|
contract_violation: "contract_violation";
|
|
1851
1851
|
}>;
|
|
1852
1852
|
message: z.ZodString;
|
|
@@ -1961,10 +1961,10 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1961
1961
|
readonly error: z.ZodObject<{
|
|
1962
1962
|
code: z.ZodEnum<{
|
|
1963
1963
|
internal_error: "internal_error";
|
|
1964
|
-
rate_limited: "rate_limited";
|
|
1965
1964
|
invalid_request: "invalid_request";
|
|
1966
1965
|
unauthorized: "unauthorized";
|
|
1967
1966
|
forbidden: "forbidden";
|
|
1967
|
+
rate_limited: "rate_limited";
|
|
1968
1968
|
realtime_unavailable: "realtime_unavailable";
|
|
1969
1969
|
contract_violation: "contract_violation";
|
|
1970
1970
|
}>;
|
|
@@ -1977,10 +1977,10 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1977
1977
|
readonly error: z.ZodObject<{
|
|
1978
1978
|
code: z.ZodEnum<{
|
|
1979
1979
|
internal_error: "internal_error";
|
|
1980
|
-
rate_limited: "rate_limited";
|
|
1981
1980
|
invalid_request: "invalid_request";
|
|
1982
1981
|
unauthorized: "unauthorized";
|
|
1983
1982
|
forbidden: "forbidden";
|
|
1983
|
+
rate_limited: "rate_limited";
|
|
1984
1984
|
realtime_unavailable: "realtime_unavailable";
|
|
1985
1985
|
contract_violation: "contract_violation";
|
|
1986
1986
|
}>;
|
|
@@ -2096,10 +2096,10 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2096
2096
|
readonly error: z.ZodObject<{
|
|
2097
2097
|
code: z.ZodEnum<{
|
|
2098
2098
|
internal_error: "internal_error";
|
|
2099
|
-
rate_limited: "rate_limited";
|
|
2100
2099
|
invalid_request: "invalid_request";
|
|
2101
2100
|
unauthorized: "unauthorized";
|
|
2102
2101
|
forbidden: "forbidden";
|
|
2102
|
+
rate_limited: "rate_limited";
|
|
2103
2103
|
realtime_unavailable: "realtime_unavailable";
|
|
2104
2104
|
contract_violation: "contract_violation";
|
|
2105
2105
|
}>;
|
|
@@ -2112,10 +2112,10 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2112
2112
|
readonly error: z.ZodObject<{
|
|
2113
2113
|
code: z.ZodEnum<{
|
|
2114
2114
|
internal_error: "internal_error";
|
|
2115
|
-
rate_limited: "rate_limited";
|
|
2116
2115
|
invalid_request: "invalid_request";
|
|
2117
2116
|
unauthorized: "unauthorized";
|
|
2118
2117
|
forbidden: "forbidden";
|
|
2118
|
+
rate_limited: "rate_limited";
|
|
2119
2119
|
realtime_unavailable: "realtime_unavailable";
|
|
2120
2120
|
contract_violation: "contract_violation";
|
|
2121
2121
|
}>;
|