@riverbankcms/sdk 0.1.0 → 0.2.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/cli/index.js +4840 -9
- package/dist/cli/index.js.map +1 -1
- package/dist/client/bookings.d.mts +82 -2
- package/dist/client/bookings.d.ts +82 -2
- package/dist/client/bookings.js +1623 -3
- package/dist/client/bookings.js.map +1 -1
- package/dist/client/bookings.mjs +1610 -5
- package/dist/client/bookings.mjs.map +1 -1
- package/dist/client/client.d.mts +8 -5
- package/dist/client/client.d.ts +8 -5
- package/dist/client/client.js +16856 -322
- package/dist/client/client.js.map +1 -1
- package/dist/client/client.mjs +16838 -307
- package/dist/client/client.mjs.map +1 -1
- package/dist/client/hooks.d.mts +10 -7
- package/dist/client/hooks.d.ts +10 -7
- package/dist/client/hooks.js +5074 -4
- package/dist/client/hooks.js.map +1 -1
- package/dist/client/hooks.mjs +5074 -4
- package/dist/client/hooks.mjs.map +1 -1
- package/dist/client/rendering/client.d.mts +7 -1
- package/dist/client/rendering/client.d.ts +7 -1
- package/dist/client/rendering/client.js +17388 -2
- package/dist/client/rendering/client.js.map +1 -1
- package/dist/client/rendering/client.mjs +17382 -2
- package/dist/client/rendering/client.mjs.map +1 -1
- package/dist/client/resolver-BhueZVxZ.d.mts +61 -0
- package/dist/client/resolver-BhueZVxZ.d.ts +61 -0
- package/dist/client/usePage-BBcFCxOU.d.ts +6297 -0
- package/dist/client/usePage-BydHcMYB.d.mts +6297 -0
- package/dist/server/Layout-CLg8oH_S.d.ts +44 -0
- package/dist/server/Layout-DK_9OOgb.d.mts +44 -0
- package/dist/server/chunk-3J46ILMJ.mjs +2111 -0
- package/dist/server/chunk-3J46ILMJ.mjs.map +1 -0
- package/dist/server/{chunk-JB4LIEFS.js → chunk-5R4NMVXA.js} +15 -8
- package/dist/server/chunk-5R4NMVXA.js.map +1 -0
- package/dist/server/{chunk-ADREPXFU.js → chunk-62ZJI564.js} +3 -3
- package/dist/server/{chunk-ADREPXFU.js.map → chunk-62ZJI564.js.map} +1 -1
- package/dist/server/chunk-7DS4Q3GA.mjs +333 -0
- package/dist/server/chunk-7DS4Q3GA.mjs.map +1 -0
- package/dist/server/chunk-BJTO5JO5.mjs +11 -0
- package/dist/server/{chunk-4Z5FBFRL.mjs → chunk-BPKYRPCQ.mjs} +7 -3
- package/dist/server/{chunk-4Z5FBFRL.mjs.map → chunk-BPKYRPCQ.mjs.map} +1 -1
- package/dist/server/chunk-DGUM43GV.js +11 -0
- package/dist/server/chunk-DGUM43GV.js.map +1 -0
- package/dist/server/chunk-EGTDJ4PL.js +5461 -0
- package/dist/server/chunk-EGTDJ4PL.js.map +1 -0
- package/dist/server/chunk-FK64TZBT.mjs +831 -0
- package/dist/server/chunk-FK64TZBT.mjs.map +1 -0
- package/dist/server/chunk-GKYNDDJS.js +2111 -0
- package/dist/server/chunk-GKYNDDJS.js.map +1 -0
- package/dist/server/chunk-HOY77YBF.js +333 -0
- package/dist/server/chunk-HOY77YBF.js.map +1 -0
- package/dist/server/chunk-INWKF3IC.js +831 -0
- package/dist/server/chunk-INWKF3IC.js.map +1 -0
- package/dist/server/{chunk-2RW5HAQQ.mjs → chunk-JTAERCX2.mjs} +2 -2
- package/dist/server/chunk-O5DC7MYW.mjs +9606 -0
- package/dist/server/chunk-O5DC7MYW.mjs.map +1 -0
- package/dist/server/{chunk-PEAXKTDU.mjs → chunk-OP2GHK27.mjs} +2 -2
- package/dist/server/{chunk-WKG57P2H.mjs → chunk-PN3CHDVX.mjs} +10 -3
- package/dist/server/{chunk-WKG57P2H.mjs.map → chunk-PN3CHDVX.mjs.map} +1 -1
- package/dist/server/chunk-SF63XAX7.js +9606 -0
- package/dist/server/chunk-SF63XAX7.js.map +1 -0
- package/dist/server/{chunk-F472SMKX.js → chunk-TO7FD6TQ.js} +4 -4
- package/dist/server/{chunk-F472SMKX.js.map → chunk-TO7FD6TQ.js.map} +1 -1
- package/dist/server/chunk-USQF2XTU.mjs +5461 -0
- package/dist/server/chunk-USQF2XTU.mjs.map +1 -0
- package/dist/server/{chunk-SW7LE4M3.js → chunk-XLVL5WPH.js} +12 -8
- package/dist/server/chunk-XLVL5WPH.js.map +1 -0
- package/dist/server/components-BzdA6NAc.d.mts +305 -0
- package/dist/server/components-DhIcstww.d.ts +305 -0
- package/dist/server/components.d.mts +13 -49
- package/dist/server/components.d.ts +13 -49
- package/dist/server/components.js +7 -4
- package/dist/server/components.js.map +1 -1
- package/dist/server/components.mjs +9 -6
- package/dist/server/components.mjs.map +1 -1
- package/dist/server/config-validation.d.mts +2 -2
- package/dist/server/config-validation.d.ts +2 -2
- package/dist/server/config-validation.js +6 -3
- package/dist/server/config-validation.js.map +1 -1
- package/dist/server/config-validation.mjs +5 -2
- package/dist/server/config.d.mts +3 -3
- package/dist/server/config.d.ts +3 -3
- package/dist/server/config.js +6 -3
- package/dist/server/config.js.map +1 -1
- package/dist/server/config.mjs +5 -2
- package/dist/server/config.mjs.map +1 -1
- package/dist/server/data.d.mts +9 -8
- package/dist/server/data.d.ts +9 -8
- package/dist/server/data.js +4 -2
- package/dist/server/data.js.map +1 -1
- package/dist/server/data.mjs +3 -1
- package/dist/server/{index-C6M0Wfjq.d.ts → index-BB28KAui.d.ts} +1 -1
- package/dist/server/{index-B0yI_V6Z.d.mts → index-C_FVup_o.d.mts} +1 -1
- package/dist/server/index.d.mts +1554 -5
- package/dist/server/index.d.ts +1554 -5
- package/dist/server/index.js +4 -4
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +4 -4
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/{loadContent-CJcbYF3J.d.ts → loadContent-AQOBf_gP.d.ts} +4 -4
- package/dist/server/{loadContent-zhlL4YSE.d.mts → loadContent-DBmprsB4.d.mts} +4 -4
- package/dist/server/loadPage-3ECPF426.js +11 -0
- package/dist/server/loadPage-3ECPF426.js.map +1 -0
- package/dist/server/{loadPage-CCf15nt8.d.mts → loadPage-BMg8PJxJ.d.ts} +146 -5
- package/dist/server/loadPage-LW273NYO.mjs +11 -0
- package/dist/server/loadPage-LW273NYO.mjs.map +1 -0
- package/dist/server/{loadPage-BYmVMk0V.d.ts → loadPage-pg4HimlK.d.mts} +146 -5
- package/dist/server/metadata.d.mts +9 -6
- package/dist/server/metadata.d.ts +9 -6
- package/dist/server/metadata.js +3 -1
- package/dist/server/metadata.js.map +1 -1
- package/dist/server/metadata.mjs +2 -0
- package/dist/server/metadata.mjs.map +1 -1
- package/dist/server/rendering/server.d.mts +9 -7
- package/dist/server/rendering/server.d.ts +9 -7
- package/dist/server/rendering/server.js +7 -4
- package/dist/server/rendering/server.js.map +1 -1
- package/dist/server/rendering/server.mjs +6 -3
- package/dist/server/rendering.d.mts +172 -9
- package/dist/server/rendering.d.ts +172 -9
- package/dist/server/rendering.js +12 -9
- package/dist/server/rendering.js.map +1 -1
- package/dist/server/rendering.mjs +14 -11
- package/dist/server/rendering.mjs.map +1 -1
- package/dist/server/routing.d.mts +9 -6
- package/dist/server/routing.d.ts +9 -6
- package/dist/server/routing.js +4 -2
- package/dist/server/routing.js.map +1 -1
- package/dist/server/routing.mjs +3 -1
- package/dist/server/routing.mjs.map +1 -1
- package/dist/server/schema-Bpy9N5ZI.d.mts +1870 -0
- package/dist/server/schema-Bpy9N5ZI.d.ts +1870 -0
- package/dist/server/server.d.mts +11 -8
- package/dist/server/server.d.ts +11 -8
- package/dist/server/server.js +7 -5
- package/dist/server/server.js.map +1 -1
- package/dist/server/server.mjs +6 -4
- package/dist/server/theme-bridge.js +13 -10
- package/dist/server/theme-bridge.js.map +1 -1
- package/dist/server/theme-bridge.mjs +10 -7
- package/dist/server/theme-bridge.mjs.map +1 -1
- package/dist/server/theme.js +3 -1
- package/dist/server/theme.js.map +1 -1
- package/dist/server/theme.mjs +2 -0
- package/dist/server/theme.mjs.map +1 -1
- package/dist/server/{types-BCeqWtI2.d.ts → types--u4GLCAY.d.ts} +1 -1
- package/dist/server/types-BprgZt-t.d.ts +4149 -0
- package/dist/server/types-C0G9IxWO.d.mts +4149 -0
- package/dist/server/{types-Bbo01M7P.d.mts → types-_nDnPHpv.d.mts} +27 -1
- package/dist/server/{types-Bbo01M7P.d.ts → types-_nDnPHpv.d.ts} +27 -1
- package/dist/server/{types-BCeqWtI2.d.mts → types-_zWJTgv0.d.mts} +1 -1
- package/package.json +15 -15
- package/dist/server/chunk-3KKZVGH4.mjs +0 -179
- package/dist/server/chunk-3KKZVGH4.mjs.map +0 -1
- package/dist/server/chunk-4Z3GPTCS.js +0 -179
- package/dist/server/chunk-4Z3GPTCS.js.map +0 -1
- package/dist/server/chunk-JB4LIEFS.js.map +0 -1
- package/dist/server/chunk-QQ6U4QX6.js +0 -120
- package/dist/server/chunk-QQ6U4QX6.js.map +0 -1
- package/dist/server/chunk-R5YGLRUG.mjs +0 -122
- package/dist/server/chunk-R5YGLRUG.mjs.map +0 -1
- package/dist/server/chunk-SW7LE4M3.js.map +0 -1
- package/dist/server/chunk-W3K7LVPS.mjs +0 -120
- package/dist/server/chunk-W3K7LVPS.mjs.map +0 -1
- package/dist/server/chunk-YHEZMVTS.js +0 -122
- package/dist/server/chunk-YHEZMVTS.js.map +0 -1
- package/dist/server/loadPage-DVH3DW6E.js +0 -9
- package/dist/server/loadPage-DVH3DW6E.js.map +0 -1
- package/dist/server/loadPage-PHQZ6XQZ.mjs +0 -9
- package/dist/server/types-C6gmRHLe.d.mts +0 -150
- package/dist/server/types-C6gmRHLe.d.ts +0 -150
- /package/dist/server/{loadPage-PHQZ6XQZ.mjs.map → chunk-BJTO5JO5.mjs.map} +0 -0
- /package/dist/server/{chunk-2RW5HAQQ.mjs.map → chunk-JTAERCX2.mjs.map} +0 -0
- /package/dist/server/{chunk-PEAXKTDU.mjs.map → chunk-OP2GHK27.mjs.map} +0 -0
package/dist/server/index.d.mts
CHANGED
|
@@ -1,5 +1,1554 @@
|
|
|
1
|
-
export { c as createRiverbankClient } from './index-
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export { c as createRiverbankClient } from './index-C_FVup_o.mjs';
|
|
2
|
+
import { A as APIEndpoints, c as APICallParams } from './types-C0G9IxWO.mjs';
|
|
3
|
+
export { E as EntriesResponse, b as EntryResponse, P as PageResponse, R as RiverbankClient, a as RiverbankClientConfig, S as SiteResponse } from './types-C0G9IxWO.mjs';
|
|
4
|
+
import './schema-Bpy9N5ZI.mjs';
|
|
5
|
+
export { e as ContainerAlignment, d as ContainerMaxWidth, C as ContainerOptionsConfig, R as RiverbankSiteConfig, a as SectionBackground, b as SectionOptionsConfig, c as SectionSpacing, S as SiteStyleConfig } from './types-_zWJTgv0.mjs';
|
|
6
|
+
import '@riverbankcms/ai';
|
|
7
|
+
import 'zod';
|
|
8
|
+
import '@riverbankcms/media-storage-supabase';
|
|
9
|
+
import '@riverbankcms/db';
|
|
10
|
+
|
|
11
|
+
type EndpointResponse<E extends keyof APIEndpoints> = APIEndpoints[E]['response'];
|
|
12
|
+
type ApiResponseFor<E extends keyof APIEndpoints> = EndpointResponse<E> extends undefined ? void : NonNullable<EndpointResponse<E>>;
|
|
13
|
+
type ApiClient = <E extends keyof APIEndpoints>(params: APICallParams<E>) => Promise<ApiResponseFor<E>>;
|
|
14
|
+
|
|
15
|
+
declare const API_ENDPOINTS: {
|
|
16
|
+
readonly aiContentUpdateChat: {
|
|
17
|
+
readonly path: "/ai/content-update-chat";
|
|
18
|
+
readonly method: "POST";
|
|
19
|
+
readonly auth: "user";
|
|
20
|
+
readonly responseKind: "stream";
|
|
21
|
+
};
|
|
22
|
+
readonly aiChat: {
|
|
23
|
+
readonly path: "/ai/chat";
|
|
24
|
+
readonly method: "POST";
|
|
25
|
+
readonly auth: "user";
|
|
26
|
+
readonly responseKind: "stream";
|
|
27
|
+
};
|
|
28
|
+
readonly applySeoChanges: {
|
|
29
|
+
readonly path: "/seo/apply";
|
|
30
|
+
readonly method: "POST";
|
|
31
|
+
readonly auth: "user";
|
|
32
|
+
readonly responseKind: "json";
|
|
33
|
+
};
|
|
34
|
+
readonly aiCreateBriefChat: {
|
|
35
|
+
readonly path: "/ai/chat/create-brief";
|
|
36
|
+
readonly method: "POST";
|
|
37
|
+
readonly auth: "user";
|
|
38
|
+
readonly responseKind: "json";
|
|
39
|
+
};
|
|
40
|
+
readonly aiPrototypeChat: {
|
|
41
|
+
readonly path: "/ai/chat/create-prototype";
|
|
42
|
+
readonly method: "POST";
|
|
43
|
+
readonly revalidate: 30;
|
|
44
|
+
readonly tags: ["ai-prototype"];
|
|
45
|
+
readonly auth: "user";
|
|
46
|
+
readonly responseKind: "json";
|
|
47
|
+
};
|
|
48
|
+
readonly aiPatchDryRun: {
|
|
49
|
+
readonly path: "/ai/patch/dry-run";
|
|
50
|
+
readonly method: "POST";
|
|
51
|
+
readonly auth: "user";
|
|
52
|
+
readonly responseKind: "json";
|
|
53
|
+
};
|
|
54
|
+
readonly aiPatchApply: {
|
|
55
|
+
readonly path: "/ai/patch/apply";
|
|
56
|
+
readonly method: "POST";
|
|
57
|
+
readonly auth: "user";
|
|
58
|
+
readonly responseKind: "json";
|
|
59
|
+
};
|
|
60
|
+
readonly aiPlaygroundPropose: {
|
|
61
|
+
readonly path: "/sites/{siteId}/ai/playground/propose";
|
|
62
|
+
readonly method: "POST";
|
|
63
|
+
readonly auth: "user";
|
|
64
|
+
readonly responseKind: "json";
|
|
65
|
+
};
|
|
66
|
+
readonly listGscPropertiesAdmin: {
|
|
67
|
+
readonly path: "/admin/seo/gsc/properties";
|
|
68
|
+
readonly method: "GET";
|
|
69
|
+
readonly auth: "admin";
|
|
70
|
+
readonly responseKind: "json";
|
|
71
|
+
};
|
|
72
|
+
readonly adminSetGscPersist: {
|
|
73
|
+
readonly path: "/admin/seo/gsc/meta/persist";
|
|
74
|
+
readonly method: "POST";
|
|
75
|
+
readonly auth: "admin";
|
|
76
|
+
readonly responseKind: "json";
|
|
77
|
+
};
|
|
78
|
+
readonly adminStartGscVerification: {
|
|
79
|
+
readonly path: "/admin/seo/gsc/properties/verify/start";
|
|
80
|
+
readonly method: "POST";
|
|
81
|
+
readonly auth: "admin";
|
|
82
|
+
readonly responseKind: "json";
|
|
83
|
+
};
|
|
84
|
+
readonly adminConfirmGscVerification: {
|
|
85
|
+
readonly path: "/admin/seo/gsc/properties/verify/confirm";
|
|
86
|
+
readonly method: "POST";
|
|
87
|
+
readonly auth: "admin";
|
|
88
|
+
readonly responseKind: "json";
|
|
89
|
+
};
|
|
90
|
+
readonly adminRunGscIngest: {
|
|
91
|
+
readonly path: "/admin/seo/ingest/run";
|
|
92
|
+
readonly method: "POST";
|
|
93
|
+
readonly auth: "admin";
|
|
94
|
+
readonly responseKind: "json";
|
|
95
|
+
};
|
|
96
|
+
readonly getSeoVerificationMeta: {
|
|
97
|
+
readonly path: "/public/seo/verification/meta";
|
|
98
|
+
readonly method: "GET";
|
|
99
|
+
readonly auth: "public";
|
|
100
|
+
readonly responseKind: "json";
|
|
101
|
+
};
|
|
102
|
+
readonly checkRedirect: {
|
|
103
|
+
readonly path: "/api/public/content/redirect";
|
|
104
|
+
readonly method: "GET";
|
|
105
|
+
readonly revalidate: 86400;
|
|
106
|
+
readonly tags: ["redirect"];
|
|
107
|
+
readonly auth: "public";
|
|
108
|
+
readonly responseKind: "json";
|
|
109
|
+
};
|
|
110
|
+
readonly listRedirectRules: {
|
|
111
|
+
readonly path: "/sites/{siteId}/redirects";
|
|
112
|
+
readonly method: "GET";
|
|
113
|
+
readonly auth: "user";
|
|
114
|
+
readonly responseKind: "json";
|
|
115
|
+
};
|
|
116
|
+
readonly createRedirectRule: {
|
|
117
|
+
readonly path: "/sites/{siteId}/redirects";
|
|
118
|
+
readonly method: "POST";
|
|
119
|
+
readonly auth: "user";
|
|
120
|
+
readonly responseKind: "json";
|
|
121
|
+
};
|
|
122
|
+
readonly deleteRedirectRule: {
|
|
123
|
+
readonly path: "/sites/{siteId}/redirects/{ruleId}";
|
|
124
|
+
readonly method: "DELETE";
|
|
125
|
+
readonly auth: "user";
|
|
126
|
+
readonly responseKind: "json";
|
|
127
|
+
};
|
|
128
|
+
readonly listApiKeys: {
|
|
129
|
+
readonly path: "/account/api-keys";
|
|
130
|
+
readonly method: "GET";
|
|
131
|
+
readonly auth: "user";
|
|
132
|
+
readonly responseKind: "json";
|
|
133
|
+
};
|
|
134
|
+
readonly createApiKey: {
|
|
135
|
+
readonly path: "/account/api-keys";
|
|
136
|
+
readonly method: "POST";
|
|
137
|
+
readonly auth: "user";
|
|
138
|
+
readonly responseKind: "json";
|
|
139
|
+
};
|
|
140
|
+
readonly revokeApiKey: {
|
|
141
|
+
readonly path: "/account/api-keys/{keyId}";
|
|
142
|
+
readonly method: "DELETE";
|
|
143
|
+
readonly auth: "user";
|
|
144
|
+
readonly responseKind: "json";
|
|
145
|
+
};
|
|
146
|
+
readonly listSiteApiKeys: {
|
|
147
|
+
readonly path: "/sites/{siteId}/api-keys";
|
|
148
|
+
readonly method: "GET";
|
|
149
|
+
readonly auth: "user";
|
|
150
|
+
readonly tags: ["site-{siteId}", "api-keys"];
|
|
151
|
+
readonly responseKind: "json";
|
|
152
|
+
};
|
|
153
|
+
readonly createSiteApiKey: {
|
|
154
|
+
readonly path: "/sites/{siteId}/api-keys";
|
|
155
|
+
readonly method: "POST";
|
|
156
|
+
readonly auth: "user";
|
|
157
|
+
readonly tags: ["site-{siteId}", "api-keys"];
|
|
158
|
+
readonly responseKind: "json";
|
|
159
|
+
};
|
|
160
|
+
readonly revokeSiteApiKey: {
|
|
161
|
+
readonly path: "/sites/{siteId}/api-keys/{keyId}";
|
|
162
|
+
readonly method: "DELETE";
|
|
163
|
+
readonly auth: "user";
|
|
164
|
+
readonly tags: ["site-{siteId}", "api-keys"];
|
|
165
|
+
readonly responseKind: "json";
|
|
166
|
+
};
|
|
167
|
+
readonly getSitePreviewKey: {
|
|
168
|
+
readonly path: "/sites/{siteId}/api-keys/preview";
|
|
169
|
+
readonly method: "GET";
|
|
170
|
+
readonly auth: "user";
|
|
171
|
+
readonly tags: ["site-{siteId}", "api-keys", "preview-key"];
|
|
172
|
+
readonly responseKind: "json";
|
|
173
|
+
};
|
|
174
|
+
readonly regenerateSitePreviewKey: {
|
|
175
|
+
readonly path: "/sites/{siteId}/api-keys/preview/regenerate";
|
|
176
|
+
readonly method: "POST";
|
|
177
|
+
readonly auth: "user";
|
|
178
|
+
readonly tags: ["site-{siteId}", "api-keys", "preview-key"];
|
|
179
|
+
readonly responseKind: "json";
|
|
180
|
+
};
|
|
181
|
+
readonly getSiteApiKeyAccessLogs: {
|
|
182
|
+
readonly path: "/sites/{siteId}/api-keys/access-logs";
|
|
183
|
+
readonly method: "GET";
|
|
184
|
+
readonly auth: "user";
|
|
185
|
+
readonly tags: ["site-{siteId}", "api-keys", "access-logs"];
|
|
186
|
+
readonly responseKind: "json";
|
|
187
|
+
};
|
|
188
|
+
readonly getBookingSettings: {
|
|
189
|
+
readonly path: "/sites/{siteId}/bookings/settings";
|
|
190
|
+
readonly method: "GET";
|
|
191
|
+
readonly auth: "user";
|
|
192
|
+
readonly responseKind: "json";
|
|
193
|
+
};
|
|
194
|
+
readonly updateBookingSettings: {
|
|
195
|
+
readonly path: "/sites/{siteId}/bookings/settings";
|
|
196
|
+
readonly method: "PUT";
|
|
197
|
+
readonly auth: "user";
|
|
198
|
+
readonly responseKind: "json";
|
|
199
|
+
};
|
|
200
|
+
readonly listAppointmentResources: {
|
|
201
|
+
readonly path: "/sites/{siteId}/bookings/resources";
|
|
202
|
+
readonly method: "GET";
|
|
203
|
+
readonly auth: "user";
|
|
204
|
+
readonly responseKind: "json";
|
|
205
|
+
};
|
|
206
|
+
readonly createAppointmentResource: {
|
|
207
|
+
readonly path: "/sites/{siteId}/bookings/resources";
|
|
208
|
+
readonly method: "POST";
|
|
209
|
+
readonly auth: "user";
|
|
210
|
+
readonly responseKind: "json";
|
|
211
|
+
};
|
|
212
|
+
readonly getAppointmentResource: {
|
|
213
|
+
readonly path: "/sites/{siteId}/bookings/resources/{resourceId}";
|
|
214
|
+
readonly method: "GET";
|
|
215
|
+
readonly auth: "user";
|
|
216
|
+
readonly responseKind: "json";
|
|
217
|
+
};
|
|
218
|
+
readonly updateAppointmentResource: {
|
|
219
|
+
readonly path: "/sites/{siteId}/bookings/resources/{resourceId}";
|
|
220
|
+
readonly method: "PUT";
|
|
221
|
+
readonly auth: "user";
|
|
222
|
+
readonly responseKind: "json";
|
|
223
|
+
};
|
|
224
|
+
readonly deleteAppointmentResource: {
|
|
225
|
+
readonly path: "/sites/{siteId}/bookings/resources/{resourceId}";
|
|
226
|
+
readonly method: "DELETE";
|
|
227
|
+
readonly auth: "user";
|
|
228
|
+
readonly responseKind: "json";
|
|
229
|
+
};
|
|
230
|
+
readonly listAppointmentServices: {
|
|
231
|
+
readonly path: "/sites/{siteId}/bookings/services";
|
|
232
|
+
readonly method: "GET";
|
|
233
|
+
readonly auth: "user";
|
|
234
|
+
readonly responseKind: "json";
|
|
235
|
+
};
|
|
236
|
+
readonly createAppointmentService: {
|
|
237
|
+
readonly path: "/sites/{siteId}/bookings/services";
|
|
238
|
+
readonly method: "POST";
|
|
239
|
+
readonly auth: "user";
|
|
240
|
+
readonly responseKind: "json";
|
|
241
|
+
};
|
|
242
|
+
readonly getAppointmentService: {
|
|
243
|
+
readonly path: "/sites/{siteId}/bookings/services/{serviceId}";
|
|
244
|
+
readonly method: "GET";
|
|
245
|
+
readonly auth: "user";
|
|
246
|
+
readonly responseKind: "json";
|
|
247
|
+
};
|
|
248
|
+
readonly updateAppointmentService: {
|
|
249
|
+
readonly path: "/sites/{siteId}/bookings/services/{serviceId}";
|
|
250
|
+
readonly method: "PUT";
|
|
251
|
+
readonly auth: "user";
|
|
252
|
+
readonly responseKind: "json";
|
|
253
|
+
};
|
|
254
|
+
readonly deleteAppointmentService: {
|
|
255
|
+
readonly path: "/sites/{siteId}/bookings/services/{serviceId}";
|
|
256
|
+
readonly method: "DELETE";
|
|
257
|
+
readonly auth: "user";
|
|
258
|
+
readonly responseKind: "json";
|
|
259
|
+
};
|
|
260
|
+
readonly getAppointmentServicesReference: {
|
|
261
|
+
readonly path: "/sites/{siteId}/bookings/services/reference";
|
|
262
|
+
readonly method: "GET";
|
|
263
|
+
readonly auth: "user";
|
|
264
|
+
readonly responseKind: "json";
|
|
265
|
+
};
|
|
266
|
+
readonly getAppointmentResourcesReference: {
|
|
267
|
+
readonly path: "/sites/{siteId}/bookings/resources/reference";
|
|
268
|
+
readonly method: "GET";
|
|
269
|
+
readonly auth: "user";
|
|
270
|
+
readonly responseKind: "json";
|
|
271
|
+
};
|
|
272
|
+
readonly getResourceServices: {
|
|
273
|
+
readonly path: "/sites/{siteId}/bookings/resources/{resourceId}/services";
|
|
274
|
+
readonly method: "GET";
|
|
275
|
+
readonly auth: "user";
|
|
276
|
+
readonly responseKind: "json";
|
|
277
|
+
};
|
|
278
|
+
readonly updateResourceServices: {
|
|
279
|
+
readonly path: "/sites/{siteId}/bookings/resources/{resourceId}/services";
|
|
280
|
+
readonly method: "PUT";
|
|
281
|
+
readonly auth: "user";
|
|
282
|
+
readonly responseKind: "json";
|
|
283
|
+
};
|
|
284
|
+
readonly getServiceResources: {
|
|
285
|
+
readonly path: "/sites/{siteId}/bookings/services/{serviceId}/resources";
|
|
286
|
+
readonly method: "GET";
|
|
287
|
+
readonly auth: "user";
|
|
288
|
+
readonly responseKind: "json";
|
|
289
|
+
};
|
|
290
|
+
readonly updateServiceResources: {
|
|
291
|
+
readonly path: "/sites/{siteId}/bookings/services/{serviceId}/resources";
|
|
292
|
+
readonly method: "PUT";
|
|
293
|
+
readonly auth: "user";
|
|
294
|
+
readonly responseKind: "json";
|
|
295
|
+
};
|
|
296
|
+
readonly listAvailabilityRules: {
|
|
297
|
+
readonly path: "/sites/{siteId}/bookings/resources/{resourceId}/availability";
|
|
298
|
+
readonly method: "GET";
|
|
299
|
+
readonly auth: "user";
|
|
300
|
+
readonly responseKind: "json";
|
|
301
|
+
};
|
|
302
|
+
readonly upsertAvailabilityRule: {
|
|
303
|
+
readonly path: "/sites/{siteId}/bookings/resources/{resourceId}/availability";
|
|
304
|
+
readonly method: "POST";
|
|
305
|
+
readonly auth: "user";
|
|
306
|
+
readonly responseKind: "json";
|
|
307
|
+
};
|
|
308
|
+
readonly deleteAvailabilityRule: {
|
|
309
|
+
readonly path: "/sites/{siteId}/bookings/resources/{resourceId}/availability/{ruleId}";
|
|
310
|
+
readonly method: "DELETE";
|
|
311
|
+
readonly auth: "user";
|
|
312
|
+
readonly responseKind: "json";
|
|
313
|
+
};
|
|
314
|
+
readonly listBlackouts: {
|
|
315
|
+
readonly path: "/sites/{siteId}/bookings/resources/{resourceId}/blackouts";
|
|
316
|
+
readonly method: "GET";
|
|
317
|
+
readonly auth: "user";
|
|
318
|
+
readonly responseKind: "json";
|
|
319
|
+
};
|
|
320
|
+
readonly createBlackout: {
|
|
321
|
+
readonly path: "/sites/{siteId}/bookings/resources/{resourceId}/blackouts";
|
|
322
|
+
readonly method: "POST";
|
|
323
|
+
readonly auth: "user";
|
|
324
|
+
readonly responseKind: "json";
|
|
325
|
+
};
|
|
326
|
+
readonly deleteBlackout: {
|
|
327
|
+
readonly path: "/sites/{siteId}/bookings/resources/{resourceId}/blackouts/{blackoutId}";
|
|
328
|
+
readonly method: "DELETE";
|
|
329
|
+
readonly auth: "user";
|
|
330
|
+
readonly responseKind: "json";
|
|
331
|
+
};
|
|
332
|
+
readonly getAvailableSlots: {
|
|
333
|
+
readonly path: "/sites/{siteId}/bookings/availability/slots";
|
|
334
|
+
readonly method: "GET";
|
|
335
|
+
readonly auth: "user";
|
|
336
|
+
readonly responseKind: "json";
|
|
337
|
+
};
|
|
338
|
+
readonly createAppointment: {
|
|
339
|
+
readonly path: "/sites/{siteId}/bookings/appointments";
|
|
340
|
+
readonly method: "POST";
|
|
341
|
+
readonly auth: "user";
|
|
342
|
+
readonly responseKind: "json";
|
|
343
|
+
};
|
|
344
|
+
readonly getBrief: {
|
|
345
|
+
readonly path: "/briefs";
|
|
346
|
+
readonly method: "GET";
|
|
347
|
+
readonly revalidate: 120;
|
|
348
|
+
readonly tags: ["brief"];
|
|
349
|
+
readonly auth: "user";
|
|
350
|
+
readonly responseKind: "json";
|
|
351
|
+
};
|
|
352
|
+
readonly getSite: {
|
|
353
|
+
readonly path: "/sites";
|
|
354
|
+
readonly method: "GET";
|
|
355
|
+
readonly revalidate: 900;
|
|
356
|
+
readonly tags: ["site"];
|
|
357
|
+
readonly auth: "user";
|
|
358
|
+
readonly responseKind: "json";
|
|
359
|
+
};
|
|
360
|
+
readonly getSiteBySlug: {
|
|
361
|
+
readonly path: "/sites/by-slug/{slug}";
|
|
362
|
+
readonly method: "GET";
|
|
363
|
+
readonly revalidate: 900;
|
|
364
|
+
readonly tags: ["site", "site-{slug}"];
|
|
365
|
+
readonly auth: "user";
|
|
366
|
+
readonly responseKind: "json";
|
|
367
|
+
};
|
|
368
|
+
readonly getSiteByDomain: {
|
|
369
|
+
readonly path: "/sites/by-domain/{domain}";
|
|
370
|
+
readonly method: "GET";
|
|
371
|
+
readonly revalidate: 900;
|
|
372
|
+
readonly tags: ["site", "site-domain-{domain}"];
|
|
373
|
+
readonly auth: "user";
|
|
374
|
+
readonly responseKind: "json";
|
|
375
|
+
};
|
|
376
|
+
readonly createBriefTurn: {
|
|
377
|
+
readonly path: "/brief-turns";
|
|
378
|
+
readonly method: "POST";
|
|
379
|
+
readonly tags: ["brief"];
|
|
380
|
+
readonly auth: "user";
|
|
381
|
+
readonly responseKind: "json";
|
|
382
|
+
};
|
|
383
|
+
readonly upsertBrief: {
|
|
384
|
+
readonly path: "/briefs";
|
|
385
|
+
readonly method: "PUT";
|
|
386
|
+
readonly tags: ["brief"];
|
|
387
|
+
readonly auth: "user";
|
|
388
|
+
readonly responseKind: "json";
|
|
389
|
+
};
|
|
390
|
+
readonly aiBriefToSpec: {
|
|
391
|
+
readonly path: "/ai/actions/brief-to-spec";
|
|
392
|
+
readonly method: "POST";
|
|
393
|
+
readonly tags: ["brief", "spec"];
|
|
394
|
+
readonly auth: "user";
|
|
395
|
+
readonly responseKind: "json";
|
|
396
|
+
};
|
|
397
|
+
readonly createSite: {
|
|
398
|
+
readonly path: "/sites";
|
|
399
|
+
readonly method: "POST";
|
|
400
|
+
readonly tags: ["site"];
|
|
401
|
+
readonly auth: "user";
|
|
402
|
+
readonly responseKind: "json";
|
|
403
|
+
};
|
|
404
|
+
readonly createSiteManual: {
|
|
405
|
+
readonly path: "/sites/manual";
|
|
406
|
+
readonly method: "POST";
|
|
407
|
+
readonly tags: ["site"];
|
|
408
|
+
readonly auth: "user";
|
|
409
|
+
readonly responseKind: "json";
|
|
410
|
+
};
|
|
411
|
+
readonly updateSite: {
|
|
412
|
+
readonly path: "/sites";
|
|
413
|
+
readonly method: "PUT";
|
|
414
|
+
readonly tags: ["site"];
|
|
415
|
+
readonly auth: "user";
|
|
416
|
+
readonly responseKind: "json";
|
|
417
|
+
};
|
|
418
|
+
readonly deleteSite: {
|
|
419
|
+
readonly path: "/sites/{siteId}";
|
|
420
|
+
readonly method: "DELETE";
|
|
421
|
+
readonly tags: ["site", "site-{siteId}"];
|
|
422
|
+
readonly auth: "user";
|
|
423
|
+
readonly responseKind: "json";
|
|
424
|
+
};
|
|
425
|
+
readonly listSiteMembers: {
|
|
426
|
+
readonly path: "/sites/{siteId}/members";
|
|
427
|
+
readonly method: "GET";
|
|
428
|
+
readonly tags: ["site-{siteId}", "site-members-{siteId}"];
|
|
429
|
+
readonly auth: "user";
|
|
430
|
+
readonly responseKind: "json";
|
|
431
|
+
};
|
|
432
|
+
readonly inviteSiteMember: {
|
|
433
|
+
readonly path: "/sites/{siteId}/members";
|
|
434
|
+
readonly method: "POST";
|
|
435
|
+
readonly tags: ["site-{siteId}", "site-members-{siteId}"];
|
|
436
|
+
readonly auth: "user";
|
|
437
|
+
readonly responseKind: "json";
|
|
438
|
+
};
|
|
439
|
+
readonly updateSiteMemberRole: {
|
|
440
|
+
readonly path: "/sites/{siteId}/members/{memberId}";
|
|
441
|
+
readonly method: "PATCH";
|
|
442
|
+
readonly tags: ["site-{siteId}", "site-members-{siteId}", "site-member-{memberId}"];
|
|
443
|
+
readonly auth: "user";
|
|
444
|
+
readonly responseKind: "json";
|
|
445
|
+
};
|
|
446
|
+
readonly authLogin: {
|
|
447
|
+
readonly path: "/auth/login/submit";
|
|
448
|
+
readonly method: "POST";
|
|
449
|
+
readonly tags: ["auth"];
|
|
450
|
+
readonly auth: "public";
|
|
451
|
+
readonly responseKind: "json";
|
|
452
|
+
};
|
|
453
|
+
readonly authForgotPassword: {
|
|
454
|
+
readonly path: "/auth/forgot/submit";
|
|
455
|
+
readonly method: "POST";
|
|
456
|
+
readonly tags: ["auth"];
|
|
457
|
+
readonly auth: "public";
|
|
458
|
+
readonly responseKind: "json";
|
|
459
|
+
};
|
|
460
|
+
readonly authRegister: {
|
|
461
|
+
readonly path: "/auth/register/submit";
|
|
462
|
+
readonly method: "POST";
|
|
463
|
+
readonly tags: ["auth"];
|
|
464
|
+
readonly auth: "public";
|
|
465
|
+
readonly responseKind: "json";
|
|
466
|
+
};
|
|
467
|
+
readonly authReauthenticate: {
|
|
468
|
+
readonly path: "/auth/reauth/submit";
|
|
469
|
+
readonly method: "POST";
|
|
470
|
+
readonly tags: ["auth"];
|
|
471
|
+
readonly auth: "public";
|
|
472
|
+
readonly responseKind: "json";
|
|
473
|
+
};
|
|
474
|
+
readonly lookupSiteDomains: {
|
|
475
|
+
readonly path: "/sites/{siteId}/domains/lookup";
|
|
476
|
+
readonly method: "POST";
|
|
477
|
+
readonly tags: ["site-{siteId}", "site-domains"];
|
|
478
|
+
readonly auth: "user";
|
|
479
|
+
readonly responseKind: "json";
|
|
480
|
+
};
|
|
481
|
+
readonly registerSiteDomain: {
|
|
482
|
+
readonly path: "/sites/{siteId}/domains/register";
|
|
483
|
+
readonly method: "POST";
|
|
484
|
+
readonly tags: ["site-{siteId}", "site-domains"];
|
|
485
|
+
readonly auth: "user";
|
|
486
|
+
readonly responseKind: "json";
|
|
487
|
+
};
|
|
488
|
+
readonly addCustomDomain: {
|
|
489
|
+
readonly path: "/sites/{siteId}/domains/custom";
|
|
490
|
+
readonly method: "POST";
|
|
491
|
+
readonly tags: ["site-{siteId}", "site-domains"];
|
|
492
|
+
readonly auth: "user";
|
|
493
|
+
readonly responseKind: "json";
|
|
494
|
+
};
|
|
495
|
+
readonly removeCustomDomain: {
|
|
496
|
+
readonly path: "/sites/{siteId}/domains/custom";
|
|
497
|
+
readonly method: "DELETE";
|
|
498
|
+
readonly tags: ["site-{siteId}", "site-domains"];
|
|
499
|
+
readonly auth: "user";
|
|
500
|
+
readonly responseKind: "json";
|
|
501
|
+
};
|
|
502
|
+
readonly syncCustomDomainToEdgeConfig: {
|
|
503
|
+
readonly path: "/sites/{siteId}/domains/custom/sync";
|
|
504
|
+
readonly method: "POST";
|
|
505
|
+
readonly tags: ["site-{siteId}", "site-domains"];
|
|
506
|
+
readonly auth: "user";
|
|
507
|
+
readonly responseKind: "json";
|
|
508
|
+
};
|
|
509
|
+
readonly removeSiteMember: {
|
|
510
|
+
readonly path: "/sites/{siteId}/members/{memberId}";
|
|
511
|
+
readonly method: "DELETE";
|
|
512
|
+
readonly tags: ["site-{siteId}", "site-members-{siteId}", "site-member-{memberId}"];
|
|
513
|
+
readonly auth: "user";
|
|
514
|
+
readonly responseKind: "json";
|
|
515
|
+
};
|
|
516
|
+
readonly revokeSiteInvitation: {
|
|
517
|
+
readonly path: "/sites/{siteId}/members/invitations/{invitationId}";
|
|
518
|
+
readonly method: "DELETE";
|
|
519
|
+
readonly tags: ["site-{siteId}", "site-members-{siteId}", "site-invite-{invitationId}"];
|
|
520
|
+
readonly auth: "user";
|
|
521
|
+
readonly responseKind: "json";
|
|
522
|
+
};
|
|
523
|
+
readonly transferSiteOwnership: {
|
|
524
|
+
readonly path: "/sites/{siteId}/members/transfer-ownership";
|
|
525
|
+
readonly method: "POST";
|
|
526
|
+
readonly tags: ["site-{siteId}", "site-members-{siteId}"];
|
|
527
|
+
readonly auth: "user";
|
|
528
|
+
readonly responseKind: "json";
|
|
529
|
+
};
|
|
530
|
+
readonly listContentEntries: {
|
|
531
|
+
readonly path: "/sites/{siteId}/content/{type}";
|
|
532
|
+
readonly method: "GET";
|
|
533
|
+
readonly revalidate: 60;
|
|
534
|
+
readonly tags: ["site-{siteId}", "content-{siteId}-{type}"];
|
|
535
|
+
readonly auth: "user";
|
|
536
|
+
readonly responseKind: "json";
|
|
537
|
+
};
|
|
538
|
+
readonly getContentTemplate: {
|
|
539
|
+
readonly path: "/sites/{siteId}/content/types/{type}/template";
|
|
540
|
+
readonly method: "GET";
|
|
541
|
+
readonly revalidate: 60;
|
|
542
|
+
readonly tags: ["site-{siteId}", "content-template-{siteId}-{type}"];
|
|
543
|
+
readonly auth: "user";
|
|
544
|
+
readonly responseKind: "json";
|
|
545
|
+
};
|
|
546
|
+
readonly updateContentTemplateBlock: {
|
|
547
|
+
readonly path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}";
|
|
548
|
+
readonly method: "PATCH";
|
|
549
|
+
readonly tags: ["site-{siteId}", "content-template-{siteId}-{type}", "content-template-block-{blockId}"];
|
|
550
|
+
readonly auth: "user";
|
|
551
|
+
readonly responseKind: "json";
|
|
552
|
+
};
|
|
553
|
+
readonly applyContentTemplateAddon: {
|
|
554
|
+
readonly path: "/sites/{siteId}/content/types/{type}/template/addons";
|
|
555
|
+
readonly method: "POST";
|
|
556
|
+
readonly tags: ["site-{siteId}", "content-template-{siteId}-{type}"];
|
|
557
|
+
readonly auth: "user";
|
|
558
|
+
readonly responseKind: "json";
|
|
559
|
+
};
|
|
560
|
+
readonly updateContentTemplateBlockBindings: {
|
|
561
|
+
readonly path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}/bindings";
|
|
562
|
+
readonly method: "PATCH";
|
|
563
|
+
readonly tags: ["site-{siteId}", "content-template-{siteId}-{type}", "content-template-block-{blockId}"];
|
|
564
|
+
readonly auth: "user";
|
|
565
|
+
readonly responseKind: "json";
|
|
566
|
+
};
|
|
567
|
+
readonly createTemplateBlock: {
|
|
568
|
+
readonly path: "/sites/{siteId}/content/types/{type}/template/blocks";
|
|
569
|
+
readonly method: "POST";
|
|
570
|
+
readonly tags: ["site-{siteId}", "content-template-{siteId}-{type}"];
|
|
571
|
+
readonly auth: "user";
|
|
572
|
+
readonly responseKind: "json";
|
|
573
|
+
};
|
|
574
|
+
readonly deleteTemplateBlock: {
|
|
575
|
+
readonly path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}";
|
|
576
|
+
readonly method: "DELETE";
|
|
577
|
+
readonly tags: ["site-{siteId}", "content-template-{siteId}-{type}", "content-template-block-{blockId}"];
|
|
578
|
+
readonly auth: "user";
|
|
579
|
+
readonly responseKind: "json";
|
|
580
|
+
};
|
|
581
|
+
readonly reorderTemplateBlocks: {
|
|
582
|
+
readonly path: "/sites/{siteId}/content/types/{type}/template/blocks/reorder";
|
|
583
|
+
readonly method: "POST";
|
|
584
|
+
readonly tags: ["site-{siteId}", "content-template-{siteId}-{type}"];
|
|
585
|
+
readonly auth: "user";
|
|
586
|
+
readonly responseKind: "json";
|
|
587
|
+
};
|
|
588
|
+
readonly getTransforms: {
|
|
589
|
+
readonly path: "/transforms";
|
|
590
|
+
readonly method: "GET";
|
|
591
|
+
readonly revalidate: 3600;
|
|
592
|
+
readonly tags: ["transforms"];
|
|
593
|
+
readonly auth: "public";
|
|
594
|
+
readonly responseKind: "json";
|
|
595
|
+
};
|
|
596
|
+
readonly createContentEntry: {
|
|
597
|
+
readonly path: "/sites/{siteId}/content/{type}";
|
|
598
|
+
readonly method: "POST";
|
|
599
|
+
readonly tags: ["site-{siteId}", "content-{siteId}-{type}"];
|
|
600
|
+
readonly auth: "user";
|
|
601
|
+
readonly responseKind: "json";
|
|
602
|
+
};
|
|
603
|
+
readonly getContentEntry: {
|
|
604
|
+
readonly path: "/sites/{siteId}/content/{type}/{entryId}";
|
|
605
|
+
readonly method: "GET";
|
|
606
|
+
readonly tags: ["site-{siteId}", "content-{siteId}-{type}", "content-entry-{entryId}"];
|
|
607
|
+
readonly auth: "user";
|
|
608
|
+
readonly responseKind: "json";
|
|
609
|
+
};
|
|
610
|
+
readonly updateContentEntry: {
|
|
611
|
+
readonly path: "/sites/{siteId}/content/{type}/{entryId}";
|
|
612
|
+
readonly method: "PUT";
|
|
613
|
+
readonly tags: ["site-{siteId}", "content-{siteId}-{type}", "content-entry-{entryId}"];
|
|
614
|
+
readonly auth: "user";
|
|
615
|
+
readonly responseKind: "json";
|
|
616
|
+
};
|
|
617
|
+
readonly updateContentEntryContent: {
|
|
618
|
+
readonly path: "/sites/{siteId}/content/{type}/{entryId}/content";
|
|
619
|
+
readonly method: "PUT";
|
|
620
|
+
readonly tags: ["site-{siteId}", "content-{siteId}-{type}", "content-entry-{entryId}"];
|
|
621
|
+
readonly auth: "user";
|
|
622
|
+
readonly responseKind: "json";
|
|
623
|
+
};
|
|
624
|
+
readonly updateRouteMetadata: {
|
|
625
|
+
readonly path: "/sites/{siteId}/routes/{routeId}/metadata";
|
|
626
|
+
readonly method: "PATCH";
|
|
627
|
+
readonly tags: ["site-{siteId}", "route-{routeId}"];
|
|
628
|
+
readonly auth: "user";
|
|
629
|
+
readonly responseKind: "json";
|
|
630
|
+
};
|
|
631
|
+
readonly publishContentEntry: {
|
|
632
|
+
readonly path: "/sites/{siteId}/content/{type}/{entryId}/publish";
|
|
633
|
+
readonly method: "POST";
|
|
634
|
+
readonly tags: ["site-{siteId}", "content-{siteId}-{type}", "content-entry-{entryId}"];
|
|
635
|
+
readonly auth: "user";
|
|
636
|
+
readonly responseKind: "json";
|
|
637
|
+
};
|
|
638
|
+
readonly discardContentEntry: {
|
|
639
|
+
readonly path: "/sites/{siteId}/content/{type}/{entryId}/discard";
|
|
640
|
+
readonly method: "POST";
|
|
641
|
+
readonly tags: ["site-{siteId}", "content-{siteId}-{type}", "content-entry-{entryId}"];
|
|
642
|
+
readonly auth: "user";
|
|
643
|
+
readonly responseKind: "json";
|
|
644
|
+
};
|
|
645
|
+
readonly unpublishContentEntry: {
|
|
646
|
+
readonly path: "/sites/{siteId}/content/{type}/{entryId}/unpublish";
|
|
647
|
+
readonly method: "POST";
|
|
648
|
+
readonly tags: ["site-{siteId}", "content-{siteId}-{type}", "content-entry-{entryId}"];
|
|
649
|
+
readonly auth: "user";
|
|
650
|
+
readonly responseKind: "json";
|
|
651
|
+
};
|
|
652
|
+
readonly listContentTypes: {
|
|
653
|
+
readonly path: "/sites/{siteId}/content-types";
|
|
654
|
+
readonly method: "GET";
|
|
655
|
+
readonly revalidate: 120;
|
|
656
|
+
readonly tags: ["site-{siteId}", "content-types"];
|
|
657
|
+
readonly auth: "user";
|
|
658
|
+
readonly responseKind: "json";
|
|
659
|
+
};
|
|
660
|
+
readonly enableContentType: {
|
|
661
|
+
readonly path: "/sites/{siteId}/content-types/{key}/enable";
|
|
662
|
+
readonly method: "POST";
|
|
663
|
+
readonly tags: ["site-{siteId}", "content-types", "content-type-{key}"];
|
|
664
|
+
readonly auth: "user";
|
|
665
|
+
readonly responseKind: "json";
|
|
666
|
+
};
|
|
667
|
+
readonly setupContentType: {
|
|
668
|
+
readonly path: "/sites/{siteId}/content-types/{key}/setup";
|
|
669
|
+
readonly method: "POST";
|
|
670
|
+
readonly tags: ["site-{siteId}", "content-types", "content-type-{key}"];
|
|
671
|
+
readonly auth: "user";
|
|
672
|
+
readonly responseKind: "json";
|
|
673
|
+
};
|
|
674
|
+
readonly deleteContentEntry: {
|
|
675
|
+
readonly path: "/sites/{siteId}/content/{type}/{entryId}";
|
|
676
|
+
readonly method: "DELETE";
|
|
677
|
+
readonly tags: ["site-{siteId}", "content-{siteId}-{type}", "content-entry-{entryId}"];
|
|
678
|
+
readonly auth: "user";
|
|
679
|
+
readonly responseKind: "json";
|
|
680
|
+
};
|
|
681
|
+
readonly updateSiteGeneralSettings: {
|
|
682
|
+
readonly path: "/sites/{siteId}/settings/general";
|
|
683
|
+
readonly method: "POST";
|
|
684
|
+
readonly tags: ["site-{siteId}", "site-settings-{siteId}"];
|
|
685
|
+
readonly auth: "user";
|
|
686
|
+
readonly responseKind: "json";
|
|
687
|
+
};
|
|
688
|
+
readonly getSiteLayoutSettings: {
|
|
689
|
+
readonly path: "/sites/{siteId}/settings/layout";
|
|
690
|
+
readonly method: "GET";
|
|
691
|
+
readonly revalidate: 120;
|
|
692
|
+
readonly tags: ["site-{siteId}", "site-settings-{siteId}"];
|
|
693
|
+
readonly auth: "user";
|
|
694
|
+
readonly responseKind: "json";
|
|
695
|
+
};
|
|
696
|
+
readonly updateSiteLayoutSettings: {
|
|
697
|
+
readonly path: "/sites/{siteId}/settings/layout";
|
|
698
|
+
readonly method: "POST";
|
|
699
|
+
readonly tags: ["site-{siteId}", "site-settings-{siteId}"];
|
|
700
|
+
readonly auth: "user";
|
|
701
|
+
readonly responseKind: "json";
|
|
702
|
+
};
|
|
703
|
+
readonly getMaintenanceSettings: {
|
|
704
|
+
readonly path: "/sites/{siteId}/settings/maintenance";
|
|
705
|
+
readonly method: "GET";
|
|
706
|
+
readonly revalidate: 120;
|
|
707
|
+
readonly tags: ["site-{siteId}", "site-settings-{siteId}"];
|
|
708
|
+
readonly auth: "user";
|
|
709
|
+
readonly responseKind: "json";
|
|
710
|
+
};
|
|
711
|
+
readonly updateMaintenanceSettings: {
|
|
712
|
+
readonly path: "/sites/{siteId}/settings/maintenance";
|
|
713
|
+
readonly method: "POST";
|
|
714
|
+
readonly tags: ["site-{siteId}", "site-settings-{siteId}"];
|
|
715
|
+
readonly auth: "user";
|
|
716
|
+
readonly responseKind: "json";
|
|
717
|
+
};
|
|
718
|
+
readonly setHomepage: {
|
|
719
|
+
readonly path: "/sites/{siteId}/settings/homepage";
|
|
720
|
+
readonly method: "POST";
|
|
721
|
+
readonly tags: ["site-{siteId}", "site-homepage"];
|
|
722
|
+
readonly auth: "user";
|
|
723
|
+
readonly responseKind: "json";
|
|
724
|
+
};
|
|
725
|
+
readonly listAccountDomains: {
|
|
726
|
+
readonly path: "/domains";
|
|
727
|
+
readonly method: "GET";
|
|
728
|
+
readonly tags: ["domains"];
|
|
729
|
+
readonly auth: "user";
|
|
730
|
+
readonly responseKind: "json";
|
|
731
|
+
};
|
|
732
|
+
readonly searchDomains: {
|
|
733
|
+
readonly path: "/domains/search";
|
|
734
|
+
readonly method: "POST";
|
|
735
|
+
readonly tags: ["domains"];
|
|
736
|
+
readonly auth: "user";
|
|
737
|
+
readonly responseKind: "json";
|
|
738
|
+
};
|
|
739
|
+
readonly registerDomain: {
|
|
740
|
+
readonly path: "/domains/register";
|
|
741
|
+
readonly method: "POST";
|
|
742
|
+
readonly tags: ["domains"];
|
|
743
|
+
readonly auth: "user";
|
|
744
|
+
readonly responseKind: "json";
|
|
745
|
+
};
|
|
746
|
+
readonly assignDomain: {
|
|
747
|
+
readonly path: "/domains/{domainId}/assign";
|
|
748
|
+
readonly method: "POST";
|
|
749
|
+
readonly tags: ["domains", "domain-{domainId}"];
|
|
750
|
+
readonly auth: "user";
|
|
751
|
+
readonly responseKind: "json";
|
|
752
|
+
};
|
|
753
|
+
readonly adminStartImpersonation: {
|
|
754
|
+
readonly path: "/admin/impersonation/start";
|
|
755
|
+
readonly method: "POST";
|
|
756
|
+
readonly tags: ["admin", "impersonation"];
|
|
757
|
+
readonly auth: "user";
|
|
758
|
+
readonly responseKind: "json";
|
|
759
|
+
};
|
|
760
|
+
readonly adminStopImpersonation: {
|
|
761
|
+
readonly path: "/admin/impersonation/stop";
|
|
762
|
+
readonly method: "POST";
|
|
763
|
+
readonly tags: ["admin", "impersonation"];
|
|
764
|
+
readonly auth: "user";
|
|
765
|
+
readonly responseKind: "json";
|
|
766
|
+
};
|
|
767
|
+
readonly adminAssignRole: {
|
|
768
|
+
readonly path: "/admin/roles/assign";
|
|
769
|
+
readonly method: "POST";
|
|
770
|
+
readonly tags: ["admin", "roles"];
|
|
771
|
+
readonly auth: "user";
|
|
772
|
+
readonly responseKind: "json";
|
|
773
|
+
};
|
|
774
|
+
readonly adminRevokeRole: {
|
|
775
|
+
readonly path: "/admin/roles/revoke";
|
|
776
|
+
readonly method: "POST";
|
|
777
|
+
readonly tags: ["admin", "roles"];
|
|
778
|
+
readonly auth: "user";
|
|
779
|
+
readonly responseKind: "json";
|
|
780
|
+
};
|
|
781
|
+
readonly adminChangePlan: {
|
|
782
|
+
readonly path: "/admin/billing/plan";
|
|
783
|
+
readonly method: "POST";
|
|
784
|
+
readonly tags: ["admin", "billing"];
|
|
785
|
+
readonly auth: "user";
|
|
786
|
+
readonly responseKind: "json";
|
|
787
|
+
};
|
|
788
|
+
readonly changePlan: {
|
|
789
|
+
readonly path: "/billing/plan/change";
|
|
790
|
+
readonly method: "POST";
|
|
791
|
+
readonly tags: ["billing"];
|
|
792
|
+
readonly auth: "user";
|
|
793
|
+
readonly responseKind: "json";
|
|
794
|
+
};
|
|
795
|
+
readonly mfaTotpEnroll: {
|
|
796
|
+
readonly path: "/auth/mfa/totp/enroll";
|
|
797
|
+
readonly method: "POST";
|
|
798
|
+
readonly tags: ["mfa"];
|
|
799
|
+
readonly auth: "user";
|
|
800
|
+
readonly responseKind: "json";
|
|
801
|
+
};
|
|
802
|
+
readonly mfaTotpVerify: {
|
|
803
|
+
readonly path: "/auth/mfa/totp/verify";
|
|
804
|
+
readonly method: "POST";
|
|
805
|
+
readonly tags: ["mfa"];
|
|
806
|
+
readonly auth: "user";
|
|
807
|
+
readonly responseKind: "json";
|
|
808
|
+
};
|
|
809
|
+
readonly mfaTotpActivate: {
|
|
810
|
+
readonly path: "/auth/mfa/totp/activate";
|
|
811
|
+
readonly method: "POST";
|
|
812
|
+
readonly tags: ["mfa"];
|
|
813
|
+
readonly auth: "user";
|
|
814
|
+
readonly responseKind: "json";
|
|
815
|
+
};
|
|
816
|
+
readonly mfaDeleteFactor: {
|
|
817
|
+
readonly path: "/auth/mfa/factors/{factorId}";
|
|
818
|
+
readonly method: "DELETE";
|
|
819
|
+
readonly tags: ["mfa"];
|
|
820
|
+
readonly auth: "user";
|
|
821
|
+
readonly responseKind: "json";
|
|
822
|
+
};
|
|
823
|
+
readonly mfaBackupCodesGet: {
|
|
824
|
+
readonly path: "/auth/mfa/backup-codes";
|
|
825
|
+
readonly method: "GET";
|
|
826
|
+
readonly tags: ["mfa"];
|
|
827
|
+
readonly auth: "user";
|
|
828
|
+
readonly responseKind: "json";
|
|
829
|
+
};
|
|
830
|
+
readonly mfaBackupCodesRotate: {
|
|
831
|
+
readonly path: "/auth/mfa/backup-codes/rotate";
|
|
832
|
+
readonly method: "POST";
|
|
833
|
+
readonly tags: ["mfa"];
|
|
834
|
+
readonly auth: "user";
|
|
835
|
+
readonly responseKind: "json";
|
|
836
|
+
};
|
|
837
|
+
readonly mfaPhoneEnroll: {
|
|
838
|
+
readonly path: "/auth/mfa/phone/enroll";
|
|
839
|
+
readonly method: "POST";
|
|
840
|
+
readonly tags: ["mfa"];
|
|
841
|
+
readonly auth: "user";
|
|
842
|
+
readonly responseKind: "json";
|
|
843
|
+
};
|
|
844
|
+
readonly mfaPhoneChallenge: {
|
|
845
|
+
readonly path: "/auth/mfa/phone/challenge";
|
|
846
|
+
readonly method: "POST";
|
|
847
|
+
readonly tags: ["mfa"];
|
|
848
|
+
readonly auth: "user";
|
|
849
|
+
readonly responseKind: "json";
|
|
850
|
+
};
|
|
851
|
+
readonly mfaPhoneVerify: {
|
|
852
|
+
readonly path: "/auth/mfa/phone/verify";
|
|
853
|
+
readonly method: "POST";
|
|
854
|
+
readonly tags: ["mfa"];
|
|
855
|
+
readonly auth: "user";
|
|
856
|
+
readonly responseKind: "json";
|
|
857
|
+
};
|
|
858
|
+
readonly accountUpdatePassword: {
|
|
859
|
+
readonly path: "/account/password/update";
|
|
860
|
+
readonly method: "POST";
|
|
861
|
+
readonly tags: ["account"];
|
|
862
|
+
readonly auth: "user";
|
|
863
|
+
readonly responseKind: "json";
|
|
864
|
+
};
|
|
865
|
+
readonly accountRevokeSessions: {
|
|
866
|
+
readonly path: "/account/sessions/revoke";
|
|
867
|
+
readonly method: "POST";
|
|
868
|
+
readonly tags: ["account"];
|
|
869
|
+
readonly auth: "user";
|
|
870
|
+
readonly responseKind: "json";
|
|
871
|
+
};
|
|
872
|
+
readonly adminListInvites: {
|
|
873
|
+
readonly path: "/admin/invites";
|
|
874
|
+
readonly method: "GET";
|
|
875
|
+
readonly tags: ["admin", "invites"];
|
|
876
|
+
readonly auth: "user";
|
|
877
|
+
readonly responseKind: "json";
|
|
878
|
+
};
|
|
879
|
+
readonly adminCreateInvite: {
|
|
880
|
+
readonly path: "/admin/invites";
|
|
881
|
+
readonly method: "POST";
|
|
882
|
+
readonly tags: ["admin", "invites"];
|
|
883
|
+
readonly auth: "user";
|
|
884
|
+
readonly responseKind: "json";
|
|
885
|
+
};
|
|
886
|
+
readonly adminRevokeInvite: {
|
|
887
|
+
readonly path: "/admin/invites/{inviteId}";
|
|
888
|
+
readonly method: "DELETE";
|
|
889
|
+
readonly tags: ["admin", "invites"];
|
|
890
|
+
readonly auth: "user";
|
|
891
|
+
readonly responseKind: "json";
|
|
892
|
+
};
|
|
893
|
+
readonly adminCreateUser: {
|
|
894
|
+
readonly path: "/admin/users";
|
|
895
|
+
readonly method: "POST";
|
|
896
|
+
readonly tags: ["admin", "users"];
|
|
897
|
+
readonly auth: "admin";
|
|
898
|
+
readonly responseKind: "json";
|
|
899
|
+
};
|
|
900
|
+
readonly adminListAllowedDomains: {
|
|
901
|
+
readonly path: "/admin/allowed-domains";
|
|
902
|
+
readonly method: "GET";
|
|
903
|
+
readonly tags: ["admin", "allowed-domains"];
|
|
904
|
+
readonly auth: "user";
|
|
905
|
+
readonly responseKind: "json";
|
|
906
|
+
};
|
|
907
|
+
readonly adminAddAllowedDomain: {
|
|
908
|
+
readonly path: "/admin/allowed-domains";
|
|
909
|
+
readonly method: "POST";
|
|
910
|
+
readonly tags: ["admin", "allowed-domains"];
|
|
911
|
+
readonly auth: "user";
|
|
912
|
+
readonly responseKind: "json";
|
|
913
|
+
};
|
|
914
|
+
readonly adminDeleteAllowedDomain: {
|
|
915
|
+
readonly path: "/admin/allowed-domains/{domainId}";
|
|
916
|
+
readonly method: "DELETE";
|
|
917
|
+
readonly tags: ["admin", "allowed-domains"];
|
|
918
|
+
readonly auth: "user";
|
|
919
|
+
readonly responseKind: "json";
|
|
920
|
+
};
|
|
921
|
+
readonly authAcceptInvite: {
|
|
922
|
+
readonly path: "/auth/invite/accept";
|
|
923
|
+
readonly method: "POST";
|
|
924
|
+
readonly tags: ["auth", "invite"];
|
|
925
|
+
readonly auth: "user";
|
|
926
|
+
readonly responseKind: "json";
|
|
927
|
+
};
|
|
928
|
+
readonly acceptSiteInvitation: {
|
|
929
|
+
readonly path: "/sites/invitations/accept";
|
|
930
|
+
readonly method: "POST";
|
|
931
|
+
readonly tags: ["site-invitations"];
|
|
932
|
+
readonly auth: "user";
|
|
933
|
+
readonly responseKind: "json";
|
|
934
|
+
};
|
|
935
|
+
readonly getNavigationMenus: {
|
|
936
|
+
readonly path: "/sites/{siteId}/navigation/menus";
|
|
937
|
+
readonly method: "GET";
|
|
938
|
+
readonly tags: ["site-{siteId}", "navigation"];
|
|
939
|
+
readonly auth: "user";
|
|
940
|
+
readonly responseKind: "json";
|
|
941
|
+
};
|
|
942
|
+
readonly createNavigationMenu: {
|
|
943
|
+
readonly path: "/sites/{siteId}/navigation/menus";
|
|
944
|
+
readonly method: "POST";
|
|
945
|
+
readonly tags: ["site-{siteId}", "navigation"];
|
|
946
|
+
readonly auth: "user";
|
|
947
|
+
readonly responseKind: "json";
|
|
948
|
+
};
|
|
949
|
+
readonly updateNavigationMenu: {
|
|
950
|
+
readonly path: "/sites/{siteId}/navigation/menus/{menuId}";
|
|
951
|
+
readonly method: "PATCH";
|
|
952
|
+
readonly tags: ["site-{siteId}", "navigation", "navigation-menu-{menuId}"];
|
|
953
|
+
readonly auth: "user";
|
|
954
|
+
readonly responseKind: "json";
|
|
955
|
+
};
|
|
956
|
+
readonly deleteNavigationMenu: {
|
|
957
|
+
readonly path: "/sites/{siteId}/navigation/menus/{menuId}";
|
|
958
|
+
readonly method: "DELETE";
|
|
959
|
+
readonly tags: ["site-{siteId}", "navigation", "navigation-menu-{menuId}"];
|
|
960
|
+
readonly auth: "user";
|
|
961
|
+
readonly responseKind: "json";
|
|
962
|
+
};
|
|
963
|
+
readonly createNavigationItem: {
|
|
964
|
+
readonly path: "/sites/{siteId}/navigation/menus/{menuId}/items";
|
|
965
|
+
readonly method: "POST";
|
|
966
|
+
readonly tags: ["site-{siteId}", "navigation", "navigation-menu-{menuId}"];
|
|
967
|
+
readonly auth: "user";
|
|
968
|
+
readonly responseKind: "json";
|
|
969
|
+
};
|
|
970
|
+
readonly updateNavigationItem: {
|
|
971
|
+
readonly path: "/sites/{siteId}/navigation/menus/{menuId}/items/{itemId}";
|
|
972
|
+
readonly method: "PATCH";
|
|
973
|
+
readonly tags: ["site-{siteId}", "navigation", "navigation-menu-{menuId}", "navigation-item-{itemId}"];
|
|
974
|
+
readonly auth: "user";
|
|
975
|
+
readonly responseKind: "json";
|
|
976
|
+
};
|
|
977
|
+
readonly deleteNavigationItem: {
|
|
978
|
+
readonly path: "/sites/{siteId}/navigation/menus/{menuId}/items/{itemId}";
|
|
979
|
+
readonly method: "DELETE";
|
|
980
|
+
readonly tags: ["site-{siteId}", "navigation", "navigation-menu-{menuId}", "navigation-item-{itemId}"];
|
|
981
|
+
readonly auth: "user";
|
|
982
|
+
readonly responseKind: "json";
|
|
983
|
+
};
|
|
984
|
+
readonly reorderNavigationItems: {
|
|
985
|
+
readonly path: "/sites/{siteId}/navigation/menus/{menuId}/items/reorder";
|
|
986
|
+
readonly method: "POST";
|
|
987
|
+
readonly tags: ["site-{siteId}", "navigation", "navigation-menu-{menuId}"];
|
|
988
|
+
readonly auth: "user";
|
|
989
|
+
readonly responseKind: "json";
|
|
990
|
+
};
|
|
991
|
+
readonly getRoutableContent: {
|
|
992
|
+
readonly path: "/sites/{siteId}/routable-content";
|
|
993
|
+
readonly method: "GET";
|
|
994
|
+
readonly revalidate: 60;
|
|
995
|
+
readonly tags: ["site-{siteId}", "routable-content-{siteId}"];
|
|
996
|
+
readonly auth: "user";
|
|
997
|
+
readonly responseKind: "json";
|
|
998
|
+
};
|
|
999
|
+
readonly getPublishedEntryPreview: {
|
|
1000
|
+
readonly path: "/public/content/{siteId}/{type}/{slug}/preview";
|
|
1001
|
+
readonly method: "GET";
|
|
1002
|
+
readonly revalidate: 60;
|
|
1003
|
+
readonly tags: ["content-{siteId}-{type}-{slug}"];
|
|
1004
|
+
readonly auth: "public";
|
|
1005
|
+
readonly responseKind: "json";
|
|
1006
|
+
};
|
|
1007
|
+
readonly listPublishedEntries: {
|
|
1008
|
+
readonly path: "/public/content/{siteId}/{type}/entries";
|
|
1009
|
+
readonly method: "GET";
|
|
1010
|
+
readonly revalidate: 60;
|
|
1011
|
+
readonly tags: ["content-{siteId}-{type}"];
|
|
1012
|
+
readonly auth: "public";
|
|
1013
|
+
readonly responseKind: "json";
|
|
1014
|
+
};
|
|
1015
|
+
readonly getPublishedPostPreview: {
|
|
1016
|
+
readonly path: "/public/posts/{siteId}/{slug}/preview";
|
|
1017
|
+
readonly method: "GET";
|
|
1018
|
+
readonly revalidate: 60;
|
|
1019
|
+
readonly tags: ["blog-post:{siteId}:{slug}"];
|
|
1020
|
+
readonly auth: "public";
|
|
1021
|
+
readonly responseKind: "json";
|
|
1022
|
+
};
|
|
1023
|
+
readonly proposalsSelect: {
|
|
1024
|
+
readonly path: "/proposals/select";
|
|
1025
|
+
readonly method: "POST";
|
|
1026
|
+
readonly tags: ["proposal", "site"];
|
|
1027
|
+
readonly auth: "user";
|
|
1028
|
+
readonly responseKind: "json";
|
|
1029
|
+
};
|
|
1030
|
+
readonly createTheme: {
|
|
1031
|
+
readonly path: "/ai/chat/create-theme";
|
|
1032
|
+
readonly method: "POST";
|
|
1033
|
+
readonly revalidate: 60;
|
|
1034
|
+
readonly tags: ["theme", "ai-theme"];
|
|
1035
|
+
readonly auth: "user";
|
|
1036
|
+
readonly responseKind: "json";
|
|
1037
|
+
};
|
|
1038
|
+
readonly generateThemes: {
|
|
1039
|
+
readonly path: "/theme/generate";
|
|
1040
|
+
readonly method: "POST";
|
|
1041
|
+
readonly tags: ["theme"];
|
|
1042
|
+
readonly auth: "user";
|
|
1043
|
+
readonly responseKind: "json";
|
|
1044
|
+
};
|
|
1045
|
+
readonly extractThemeFromInspiration: {
|
|
1046
|
+
readonly path: "/theme/extract-from-inspiration";
|
|
1047
|
+
readonly method: "POST";
|
|
1048
|
+
readonly tags: ["theme", "preferences"];
|
|
1049
|
+
readonly auth: "user";
|
|
1050
|
+
readonly responseKind: "json";
|
|
1051
|
+
};
|
|
1052
|
+
readonly saveSiteTheme: {
|
|
1053
|
+
readonly path: "/sites/{siteId}/theme/save";
|
|
1054
|
+
readonly method: "POST";
|
|
1055
|
+
readonly tags: ["site-{siteId}", "theme"];
|
|
1056
|
+
readonly auth: "user";
|
|
1057
|
+
readonly responseKind: "json";
|
|
1058
|
+
};
|
|
1059
|
+
readonly uploadSiteLogo: {
|
|
1060
|
+
readonly path: "/storage/upload-site-logo";
|
|
1061
|
+
readonly method: "POST";
|
|
1062
|
+
readonly tags: ["site", "logo"];
|
|
1063
|
+
readonly auth: "user";
|
|
1064
|
+
readonly responseKind: "json";
|
|
1065
|
+
};
|
|
1066
|
+
readonly upsertThemePreferences: {
|
|
1067
|
+
readonly path: "/theme-preferences/upsert";
|
|
1068
|
+
readonly method: "POST";
|
|
1069
|
+
readonly tags: ["theme", "preferences"];
|
|
1070
|
+
readonly auth: "user";
|
|
1071
|
+
readonly responseKind: "json";
|
|
1072
|
+
};
|
|
1073
|
+
readonly finalizeSite: {
|
|
1074
|
+
readonly path: "/sites/finalize";
|
|
1075
|
+
readonly method: "POST";
|
|
1076
|
+
readonly tags: ["site"];
|
|
1077
|
+
readonly auth: "user";
|
|
1078
|
+
readonly responseKind: "json";
|
|
1079
|
+
};
|
|
1080
|
+
readonly instagramUploadZip: {
|
|
1081
|
+
readonly path: "/api/instagram/upload-zip";
|
|
1082
|
+
readonly method: "POST";
|
|
1083
|
+
readonly tags: ["instagram-import"];
|
|
1084
|
+
readonly auth: "user";
|
|
1085
|
+
readonly responseKind: "json";
|
|
1086
|
+
};
|
|
1087
|
+
readonly getAnalyticsReport: {
|
|
1088
|
+
readonly path: "/sites/{siteId}/analytics/report";
|
|
1089
|
+
readonly method: "GET";
|
|
1090
|
+
readonly revalidate: 300;
|
|
1091
|
+
readonly tags: ["site-{siteId}", "analytics-{siteId}"];
|
|
1092
|
+
readonly auth: "user";
|
|
1093
|
+
readonly responseKind: "json";
|
|
1094
|
+
};
|
|
1095
|
+
readonly getSeoOverview: {
|
|
1096
|
+
readonly path: "/sites/{siteId}/seo/overview";
|
|
1097
|
+
readonly method: "GET";
|
|
1098
|
+
readonly revalidate: 300;
|
|
1099
|
+
readonly tags: ["site-{siteId}", "seo-overview-{siteId}"];
|
|
1100
|
+
readonly auth: "user";
|
|
1101
|
+
readonly responseKind: "json";
|
|
1102
|
+
};
|
|
1103
|
+
readonly getSeoPages: {
|
|
1104
|
+
readonly path: "/sites/{siteId}/seo/pages";
|
|
1105
|
+
readonly method: "GET";
|
|
1106
|
+
readonly revalidate: 300;
|
|
1107
|
+
readonly tags: ["site-{siteId}", "seo-pages-{siteId}"];
|
|
1108
|
+
readonly auth: "user";
|
|
1109
|
+
readonly responseKind: "json";
|
|
1110
|
+
};
|
|
1111
|
+
readonly getSeoQueries: {
|
|
1112
|
+
readonly path: "/sites/{siteId}/seo/queries";
|
|
1113
|
+
readonly method: "GET";
|
|
1114
|
+
readonly revalidate: 300;
|
|
1115
|
+
readonly tags: ["site-{siteId}", "seo-queries-{siteId}"];
|
|
1116
|
+
readonly auth: "user";
|
|
1117
|
+
readonly responseKind: "json";
|
|
1118
|
+
};
|
|
1119
|
+
readonly getPerformanceOverview: {
|
|
1120
|
+
readonly path: "/sites/{siteId}/performance/overview";
|
|
1121
|
+
readonly method: "GET";
|
|
1122
|
+
readonly revalidate: 300;
|
|
1123
|
+
readonly tags: ["site-{siteId}", "performance-overview-{siteId}"];
|
|
1124
|
+
readonly auth: "user";
|
|
1125
|
+
readonly responseKind: "json";
|
|
1126
|
+
};
|
|
1127
|
+
readonly createMediaAsset: {
|
|
1128
|
+
readonly path: "/media";
|
|
1129
|
+
readonly method: "POST";
|
|
1130
|
+
readonly tags: ["media"];
|
|
1131
|
+
readonly auth: "user";
|
|
1132
|
+
readonly responseKind: "json";
|
|
1133
|
+
};
|
|
1134
|
+
readonly mediaList: {
|
|
1135
|
+
readonly path: "/media";
|
|
1136
|
+
readonly method: "GET";
|
|
1137
|
+
readonly tags: ["media"];
|
|
1138
|
+
readonly auth: "user";
|
|
1139
|
+
readonly responseKind: "json";
|
|
1140
|
+
};
|
|
1141
|
+
readonly mediaGet: {
|
|
1142
|
+
readonly path: "/media/{assetId}";
|
|
1143
|
+
readonly method: "GET";
|
|
1144
|
+
readonly tags: ["media", "media-{assetId}"];
|
|
1145
|
+
readonly auth: "user";
|
|
1146
|
+
readonly responseKind: "json";
|
|
1147
|
+
};
|
|
1148
|
+
readonly mediaUpdate: {
|
|
1149
|
+
readonly path: "/media/{assetId}";
|
|
1150
|
+
readonly method: "PATCH";
|
|
1151
|
+
readonly tags: ["media", "media-{assetId}"];
|
|
1152
|
+
readonly auth: "user";
|
|
1153
|
+
readonly responseKind: "json";
|
|
1154
|
+
};
|
|
1155
|
+
readonly mediaDelete: {
|
|
1156
|
+
readonly path: "/media/{assetId}";
|
|
1157
|
+
readonly method: "DELETE";
|
|
1158
|
+
readonly tags: ["media", "media-{assetId}"];
|
|
1159
|
+
readonly auth: "user";
|
|
1160
|
+
readonly responseKind: "void";
|
|
1161
|
+
};
|
|
1162
|
+
readonly mediaBulkDelete: {
|
|
1163
|
+
readonly path: "/media/bulk-delete";
|
|
1164
|
+
readonly method: "POST";
|
|
1165
|
+
readonly tags: ["media"];
|
|
1166
|
+
readonly auth: "user";
|
|
1167
|
+
readonly responseKind: "json";
|
|
1168
|
+
};
|
|
1169
|
+
readonly mediaGetSignedUrl: {
|
|
1170
|
+
readonly path: "/media/{assetId}/signed-url";
|
|
1171
|
+
readonly method: "GET";
|
|
1172
|
+
readonly tags: ["media", "media-{assetId}"];
|
|
1173
|
+
readonly auth: "user";
|
|
1174
|
+
readonly responseKind: "json";
|
|
1175
|
+
};
|
|
1176
|
+
readonly mediaUpload: {
|
|
1177
|
+
readonly path: "/media/upload";
|
|
1178
|
+
readonly method: "POST";
|
|
1179
|
+
readonly tags: ["media"];
|
|
1180
|
+
readonly auth: "user";
|
|
1181
|
+
readonly responseKind: "json";
|
|
1182
|
+
};
|
|
1183
|
+
readonly getMediaLabels: {
|
|
1184
|
+
readonly path: "/media/labels";
|
|
1185
|
+
readonly method: "GET";
|
|
1186
|
+
readonly tags: ["media", "media-labels"];
|
|
1187
|
+
readonly auth: "user";
|
|
1188
|
+
readonly responseKind: "json";
|
|
1189
|
+
};
|
|
1190
|
+
readonly getMediaSettings: {
|
|
1191
|
+
readonly path: "/media/settings";
|
|
1192
|
+
readonly method: "GET";
|
|
1193
|
+
readonly tags: ["media-settings"];
|
|
1194
|
+
readonly auth: "user";
|
|
1195
|
+
readonly responseKind: "json";
|
|
1196
|
+
};
|
|
1197
|
+
readonly updateMediaSettings: {
|
|
1198
|
+
readonly path: "/media/settings";
|
|
1199
|
+
readonly method: "POST";
|
|
1200
|
+
readonly tags: ["media-settings"];
|
|
1201
|
+
readonly auth: "user";
|
|
1202
|
+
readonly responseKind: "json";
|
|
1203
|
+
};
|
|
1204
|
+
readonly mediaSearch: {
|
|
1205
|
+
readonly path: "/media/search";
|
|
1206
|
+
readonly method: "POST";
|
|
1207
|
+
readonly tags: ["media-search"];
|
|
1208
|
+
readonly auth: "user";
|
|
1209
|
+
readonly responseKind: "json";
|
|
1210
|
+
};
|
|
1211
|
+
readonly classifyMediaAsset: {
|
|
1212
|
+
readonly path: "/media/{assetId}/classify";
|
|
1213
|
+
readonly method: "POST";
|
|
1214
|
+
readonly tags: ["media", "media-{assetId}"];
|
|
1215
|
+
readonly auth: "user";
|
|
1216
|
+
readonly responseKind: "json";
|
|
1217
|
+
};
|
|
1218
|
+
readonly classifyMediaBatch: {
|
|
1219
|
+
readonly path: "/media/classify";
|
|
1220
|
+
readonly method: "POST";
|
|
1221
|
+
readonly tags: ["media"];
|
|
1222
|
+
readonly auth: "user";
|
|
1223
|
+
readonly responseKind: "json";
|
|
1224
|
+
};
|
|
1225
|
+
readonly mediaJobsStatus: {
|
|
1226
|
+
readonly path: "/media/jobs/status";
|
|
1227
|
+
readonly method: "GET";
|
|
1228
|
+
readonly tags: ["media"];
|
|
1229
|
+
readonly auth: "user";
|
|
1230
|
+
readonly responseKind: "json";
|
|
1231
|
+
};
|
|
1232
|
+
readonly enqueueMediaClassifyJob: {
|
|
1233
|
+
readonly path: "/media/jobs";
|
|
1234
|
+
readonly method: "POST";
|
|
1235
|
+
readonly tags: ["media"];
|
|
1236
|
+
readonly auth: "user";
|
|
1237
|
+
readonly responseKind: "json";
|
|
1238
|
+
};
|
|
1239
|
+
readonly runMediaClassifyJob: {
|
|
1240
|
+
readonly path: "/media/jobs/run";
|
|
1241
|
+
readonly method: "POST";
|
|
1242
|
+
readonly tags: ["media"];
|
|
1243
|
+
readonly auth: "user";
|
|
1244
|
+
readonly responseKind: "json";
|
|
1245
|
+
};
|
|
1246
|
+
readonly runAllMediaClassifyJobs: {
|
|
1247
|
+
readonly path: "/media/jobs/run-all";
|
|
1248
|
+
readonly method: "POST";
|
|
1249
|
+
readonly tags: ["media"];
|
|
1250
|
+
readonly auth: "user";
|
|
1251
|
+
readonly responseKind: "json";
|
|
1252
|
+
};
|
|
1253
|
+
readonly initSiteContent: {
|
|
1254
|
+
readonly path: "/sites/{siteId}/content/init";
|
|
1255
|
+
readonly method: "POST";
|
|
1256
|
+
readonly tags: ["site", "content"];
|
|
1257
|
+
readonly auth: "user";
|
|
1258
|
+
readonly responseKind: "json";
|
|
1259
|
+
};
|
|
1260
|
+
readonly updateBlockContent: {
|
|
1261
|
+
readonly path: "/blocks/{blockId}/content";
|
|
1262
|
+
readonly method: "POST";
|
|
1263
|
+
readonly tags: ["block", "block-{blockId}", "content"];
|
|
1264
|
+
readonly auth: "user";
|
|
1265
|
+
readonly responseKind: "json";
|
|
1266
|
+
};
|
|
1267
|
+
readonly saveBlockContent: {
|
|
1268
|
+
readonly path: "/blocks/{blockId}/content";
|
|
1269
|
+
readonly method: "POST";
|
|
1270
|
+
readonly tags: ["block", "block-{blockId}", "content"];
|
|
1271
|
+
readonly auth: "user";
|
|
1272
|
+
readonly responseKind: "json";
|
|
1273
|
+
};
|
|
1274
|
+
readonly createBlock: {
|
|
1275
|
+
readonly path: "/sites/{siteId}/pages/{pageId}/blocks";
|
|
1276
|
+
readonly method: "POST";
|
|
1277
|
+
readonly tags: ["site-{siteId}", "page-{pageId}", "blocks"];
|
|
1278
|
+
readonly auth: "user";
|
|
1279
|
+
readonly responseKind: "json";
|
|
1280
|
+
};
|
|
1281
|
+
readonly reorderBlocks: {
|
|
1282
|
+
readonly path: "/sites/{siteId}/pages/{pageId}/blocks/reorder";
|
|
1283
|
+
readonly method: "POST";
|
|
1284
|
+
readonly tags: ["site-{siteId}", "page-{pageId}", "blocks"];
|
|
1285
|
+
readonly auth: "user";
|
|
1286
|
+
readonly responseKind: "json";
|
|
1287
|
+
};
|
|
1288
|
+
readonly deleteBlock: {
|
|
1289
|
+
readonly path: "/sites/{siteId}/pages/{pageId}/blocks/{blockId}";
|
|
1290
|
+
readonly method: "DELETE";
|
|
1291
|
+
readonly tags: ["site-{siteId}", "page-{pageId}", "blocks"];
|
|
1292
|
+
readonly auth: "user";
|
|
1293
|
+
readonly responseKind: "json";
|
|
1294
|
+
};
|
|
1295
|
+
readonly listBlocks: {
|
|
1296
|
+
readonly path: "/sites/{siteId}/pages/{pageId}/blocks";
|
|
1297
|
+
readonly method: "GET";
|
|
1298
|
+
readonly tags: ["site-{siteId}", "page-{pageId}", "blocks"];
|
|
1299
|
+
readonly auth: "user";
|
|
1300
|
+
readonly responseKind: "json";
|
|
1301
|
+
};
|
|
1302
|
+
readonly getBlockContent: {
|
|
1303
|
+
readonly path: "/blocks/{blockId}/content";
|
|
1304
|
+
readonly method: "GET";
|
|
1305
|
+
readonly tags: ["block-{blockId}", "content"];
|
|
1306
|
+
readonly auth: "user";
|
|
1307
|
+
readonly responseKind: "json";
|
|
1308
|
+
};
|
|
1309
|
+
readonly getSiteById: {
|
|
1310
|
+
readonly path: "/sites/by-id/{id}";
|
|
1311
|
+
readonly method: "GET";
|
|
1312
|
+
readonly revalidate: 900;
|
|
1313
|
+
readonly tags: ["site-{id}"];
|
|
1314
|
+
readonly auth: "user";
|
|
1315
|
+
readonly responseKind: "json";
|
|
1316
|
+
};
|
|
1317
|
+
readonly getPageById: {
|
|
1318
|
+
readonly path: "/sites/{siteId}/pages/{pageId}";
|
|
1319
|
+
readonly method: "GET";
|
|
1320
|
+
readonly revalidate: 900;
|
|
1321
|
+
readonly tags: ["site-{siteId}", "page-{pageId}"];
|
|
1322
|
+
readonly auth: "user";
|
|
1323
|
+
readonly responseKind: "json";
|
|
1324
|
+
};
|
|
1325
|
+
readonly getContentByPath: {
|
|
1326
|
+
readonly path: "/sites/{siteId}/pages";
|
|
1327
|
+
readonly method: "GET";
|
|
1328
|
+
readonly tags: ["site-{siteId}", "routable-content-{siteId}"];
|
|
1329
|
+
readonly auth: "public";
|
|
1330
|
+
readonly responseKind: "json";
|
|
1331
|
+
};
|
|
1332
|
+
readonly getPageByPath: {
|
|
1333
|
+
readonly path: "/sites/{siteId}/pages";
|
|
1334
|
+
readonly method: "GET";
|
|
1335
|
+
readonly tags: ["site-{siteId}"];
|
|
1336
|
+
readonly auth: "user";
|
|
1337
|
+
readonly responseKind: "json";
|
|
1338
|
+
};
|
|
1339
|
+
readonly listForms: {
|
|
1340
|
+
readonly path: "/sites/{siteId}/forms";
|
|
1341
|
+
readonly method: "GET";
|
|
1342
|
+
readonly tags: ["site-{siteId}", "forms"];
|
|
1343
|
+
readonly auth: "user";
|
|
1344
|
+
readonly responseKind: "json";
|
|
1345
|
+
};
|
|
1346
|
+
readonly listBookingForms: {
|
|
1347
|
+
readonly path: "/sites/{siteId}/bookings/forms";
|
|
1348
|
+
readonly method: "GET";
|
|
1349
|
+
readonly tags: ["site-{siteId}", "forms"];
|
|
1350
|
+
readonly auth: "user";
|
|
1351
|
+
readonly responseKind: "json";
|
|
1352
|
+
};
|
|
1353
|
+
readonly createForm: {
|
|
1354
|
+
readonly path: "/sites/{siteId}/forms";
|
|
1355
|
+
readonly method: "POST";
|
|
1356
|
+
readonly tags: ["site-{siteId}", "forms"];
|
|
1357
|
+
readonly auth: "user";
|
|
1358
|
+
readonly responseKind: "json";
|
|
1359
|
+
};
|
|
1360
|
+
readonly updateForm: {
|
|
1361
|
+
readonly path: "/sites/{siteId}/forms/{slug}";
|
|
1362
|
+
readonly method: "PATCH";
|
|
1363
|
+
readonly tags: ["site-{siteId}", "forms", "form-{slug}"];
|
|
1364
|
+
readonly auth: "user";
|
|
1365
|
+
readonly responseKind: "json";
|
|
1366
|
+
};
|
|
1367
|
+
readonly deleteForm: {
|
|
1368
|
+
readonly path: "/sites/{siteId}/forms/{slug}";
|
|
1369
|
+
readonly method: "DELETE";
|
|
1370
|
+
readonly tags: ["site-{siteId}", "forms", "form-{slug}"];
|
|
1371
|
+
readonly auth: "user";
|
|
1372
|
+
readonly responseKind: "json";
|
|
1373
|
+
};
|
|
1374
|
+
readonly listFormSubmissions: {
|
|
1375
|
+
readonly path: "/sites/{siteId}/forms/{slug}/submissions";
|
|
1376
|
+
readonly method: "GET";
|
|
1377
|
+
readonly revalidate: 30;
|
|
1378
|
+
readonly tags: ["site-{siteId}", "form-{slug}", "form-submissions-{slug}"];
|
|
1379
|
+
readonly auth: "user";
|
|
1380
|
+
readonly responseKind: "json";
|
|
1381
|
+
};
|
|
1382
|
+
readonly submitForm: {
|
|
1383
|
+
readonly path: "/forms/submit";
|
|
1384
|
+
readonly method: "POST";
|
|
1385
|
+
readonly tags: ["forms-submit"];
|
|
1386
|
+
readonly auth: "public";
|
|
1387
|
+
readonly responseKind: "json";
|
|
1388
|
+
};
|
|
1389
|
+
readonly getPublicFormById: {
|
|
1390
|
+
readonly path: "/public/forms/{formId}";
|
|
1391
|
+
readonly method: "GET";
|
|
1392
|
+
readonly revalidate: 60;
|
|
1393
|
+
readonly tags: ["form-{formId}"];
|
|
1394
|
+
readonly auth: "public";
|
|
1395
|
+
readonly responseKind: "json";
|
|
1396
|
+
};
|
|
1397
|
+
readonly getPublicBookingServices: {
|
|
1398
|
+
readonly path: "/public/bookings/services";
|
|
1399
|
+
readonly method: "GET";
|
|
1400
|
+
readonly revalidate: 60;
|
|
1401
|
+
readonly tags: ["site-{siteId}"];
|
|
1402
|
+
readonly auth: "public";
|
|
1403
|
+
readonly responseKind: "json";
|
|
1404
|
+
};
|
|
1405
|
+
readonly devToolsImpersonateAdmin: {
|
|
1406
|
+
readonly path: "/dev-tools/impersonate/admin";
|
|
1407
|
+
readonly method: "POST";
|
|
1408
|
+
readonly auth: "admin";
|
|
1409
|
+
readonly responseKind: "json";
|
|
1410
|
+
};
|
|
1411
|
+
readonly devToolsImpersonateRandom: {
|
|
1412
|
+
readonly path: "/dev-tools/impersonate/random";
|
|
1413
|
+
readonly method: "POST";
|
|
1414
|
+
readonly auth: "admin";
|
|
1415
|
+
readonly responseKind: "json";
|
|
1416
|
+
};
|
|
1417
|
+
readonly devToolsSeedDemoData: {
|
|
1418
|
+
readonly path: "/dev-tools/seed";
|
|
1419
|
+
readonly method: "POST";
|
|
1420
|
+
readonly auth: "admin";
|
|
1421
|
+
readonly responseKind: "json";
|
|
1422
|
+
};
|
|
1423
|
+
readonly analyticsCollect: {
|
|
1424
|
+
readonly path: "/api/analytics/collect";
|
|
1425
|
+
readonly method: "POST";
|
|
1426
|
+
readonly auth: "public";
|
|
1427
|
+
readonly responseKind: "json";
|
|
1428
|
+
};
|
|
1429
|
+
readonly listPublicEvents: {
|
|
1430
|
+
readonly path: "/public/sites/{siteId}/events";
|
|
1431
|
+
readonly method: "GET";
|
|
1432
|
+
readonly revalidate: 60;
|
|
1433
|
+
readonly tags: ["public-events-{siteId}"];
|
|
1434
|
+
readonly auth: "public";
|
|
1435
|
+
readonly responseKind: "json";
|
|
1436
|
+
};
|
|
1437
|
+
readonly registerForEvent: {
|
|
1438
|
+
readonly path: "/public/sites/{siteId}/events/register";
|
|
1439
|
+
readonly method: "POST";
|
|
1440
|
+
readonly tags: ["public-events-{siteId}", "event-registration"];
|
|
1441
|
+
readonly auth: "public";
|
|
1442
|
+
readonly responseKind: "json";
|
|
1443
|
+
};
|
|
1444
|
+
readonly listSiteContentTypes: {
|
|
1445
|
+
readonly path: "/sites/{siteId}/content-types";
|
|
1446
|
+
readonly method: "GET";
|
|
1447
|
+
readonly revalidate: 60;
|
|
1448
|
+
readonly tags: ["site-{siteId}", "content-types-{siteId}"];
|
|
1449
|
+
readonly auth: "user";
|
|
1450
|
+
readonly responseKind: "json";
|
|
1451
|
+
};
|
|
1452
|
+
readonly getContentType: {
|
|
1453
|
+
readonly path: "/sites/{siteId}/content-types/by-id/{typeId}";
|
|
1454
|
+
readonly method: "GET";
|
|
1455
|
+
readonly revalidate: 60;
|
|
1456
|
+
readonly tags: ["site-{siteId}", "content-type-{typeId}"];
|
|
1457
|
+
readonly auth: "user";
|
|
1458
|
+
readonly responseKind: "json";
|
|
1459
|
+
};
|
|
1460
|
+
readonly createContentType: {
|
|
1461
|
+
readonly path: "/sites/{siteId}/content-types";
|
|
1462
|
+
readonly method: "POST";
|
|
1463
|
+
readonly tags: ["site-{siteId}", "content-types-{siteId}"];
|
|
1464
|
+
readonly auth: "user";
|
|
1465
|
+
readonly responseKind: "json";
|
|
1466
|
+
};
|
|
1467
|
+
readonly updateContentType: {
|
|
1468
|
+
readonly path: "/sites/{siteId}/content-types/by-id/{typeId}";
|
|
1469
|
+
readonly method: "PATCH";
|
|
1470
|
+
readonly tags: ["site-{siteId}", "content-type-{typeId}", "content-types-{siteId}"];
|
|
1471
|
+
readonly auth: "user";
|
|
1472
|
+
readonly responseKind: "json";
|
|
1473
|
+
};
|
|
1474
|
+
readonly deleteContentType: {
|
|
1475
|
+
readonly path: "/sites/{siteId}/content-types/by-id/{typeId}";
|
|
1476
|
+
readonly method: "DELETE";
|
|
1477
|
+
readonly tags: ["site-{siteId}", "content-type-{typeId}", "content-types-{sideId}"];
|
|
1478
|
+
readonly auth: "user";
|
|
1479
|
+
readonly responseKind: "json";
|
|
1480
|
+
};
|
|
1481
|
+
readonly duplicateContentType: {
|
|
1482
|
+
readonly path: "/sites/{siteId}/content-types/by-id/{typeId}/duplicate";
|
|
1483
|
+
readonly method: "POST";
|
|
1484
|
+
readonly tags: ["site-{siteId}", "content-type-{typeId}", "content-types-{siteId}"];
|
|
1485
|
+
readonly auth: "user";
|
|
1486
|
+
readonly responseKind: "json";
|
|
1487
|
+
};
|
|
1488
|
+
readonly adminCreateSite: {
|
|
1489
|
+
readonly path: "/admin/sites";
|
|
1490
|
+
readonly method: "POST";
|
|
1491
|
+
readonly tags: ["admin", "sites"];
|
|
1492
|
+
readonly auth: "admin";
|
|
1493
|
+
readonly responseKind: "json";
|
|
1494
|
+
};
|
|
1495
|
+
readonly refreshSdkConfig: {
|
|
1496
|
+
readonly path: "/sites/{siteId}/refresh-sdk-config";
|
|
1497
|
+
readonly method: "POST";
|
|
1498
|
+
readonly tags: ["site-{siteId}", "sdk-config"];
|
|
1499
|
+
readonly auth: "user";
|
|
1500
|
+
readonly responseKind: "json";
|
|
1501
|
+
};
|
|
1502
|
+
readonly stripeConnectAuthorize: {
|
|
1503
|
+
readonly path: "/sites/{siteId}/billing/connect/authorize";
|
|
1504
|
+
readonly method: "POST";
|
|
1505
|
+
readonly tags: ["site-{siteId}", "stripe-connect"];
|
|
1506
|
+
readonly auth: "user";
|
|
1507
|
+
readonly responseKind: "json";
|
|
1508
|
+
};
|
|
1509
|
+
readonly stripeConnectStatus: {
|
|
1510
|
+
readonly path: "/sites/{siteId}/billing/connect/status";
|
|
1511
|
+
readonly method: "GET";
|
|
1512
|
+
readonly tags: ["site-{siteId}", "stripe-connect"];
|
|
1513
|
+
readonly auth: "user";
|
|
1514
|
+
readonly responseKind: "json";
|
|
1515
|
+
};
|
|
1516
|
+
readonly stripeConnectDisconnect: {
|
|
1517
|
+
readonly path: "/sites/{siteId}/billing/connect/disconnect";
|
|
1518
|
+
readonly method: "DELETE";
|
|
1519
|
+
readonly tags: ["site-{siteId}", "stripe-connect"];
|
|
1520
|
+
readonly auth: "user";
|
|
1521
|
+
readonly responseKind: "json";
|
|
1522
|
+
};
|
|
1523
|
+
readonly importSiteBackup: {
|
|
1524
|
+
readonly path: "/sites/{siteId}/backup/import";
|
|
1525
|
+
readonly method: "POST";
|
|
1526
|
+
readonly tags: ["site-{siteId}", "backup"];
|
|
1527
|
+
readonly auth: "user";
|
|
1528
|
+
readonly responseKind: "json";
|
|
1529
|
+
};
|
|
1530
|
+
readonly adminGetPriceOverride: {
|
|
1531
|
+
readonly path: "/admin/billing/price-override";
|
|
1532
|
+
readonly method: "GET";
|
|
1533
|
+
readonly tags: ["admin", "billing", "price-override"];
|
|
1534
|
+
readonly auth: "admin";
|
|
1535
|
+
readonly responseKind: "json";
|
|
1536
|
+
};
|
|
1537
|
+
readonly adminUpsertPriceOverride: {
|
|
1538
|
+
readonly path: "/admin/billing/price-override";
|
|
1539
|
+
readonly method: "POST";
|
|
1540
|
+
readonly tags: ["admin", "billing", "price-override"];
|
|
1541
|
+
readonly auth: "admin";
|
|
1542
|
+
readonly responseKind: "json";
|
|
1543
|
+
};
|
|
1544
|
+
readonly adminDeletePriceOverride: {
|
|
1545
|
+
readonly path: "/admin/billing/price-override";
|
|
1546
|
+
readonly method: "DELETE";
|
|
1547
|
+
readonly tags: ["admin", "billing", "price-override"];
|
|
1548
|
+
readonly auth: "admin";
|
|
1549
|
+
readonly responseKind: "json";
|
|
1550
|
+
};
|
|
1551
|
+
};
|
|
1552
|
+
declare function buildEndpointURL(baseURL: string, endpoint: keyof APIEndpoints): string;
|
|
1553
|
+
|
|
1554
|
+
export { API_ENDPOINTS, type ApiClient, buildEndpointURL };
|