@wix/auto_sdk_seo_llms-txt 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +50 -0
- package/build/cjs/index.js +383 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +324 -0
- package/build/cjs/index.typings.js +346 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +271 -0
- package/build/cjs/meta.js +312 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/schemas.d.ts +79 -0
- package/build/cjs/schemas.js +190 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/index.d.mts +50 -0
- package/build/es/index.mjs +355 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/index.typings.d.mts +324 -0
- package/build/es/index.typings.mjs +318 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +271 -0
- package/build/es/meta.mjs +281 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/schemas.d.mts +79 -0
- package/build/es/schemas.mjs +146 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/index.d.ts +50 -0
- package/build/internal/cjs/index.js +383 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +324 -0
- package/build/internal/cjs/index.typings.js +346 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +271 -0
- package/build/internal/cjs/meta.js +312 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/schemas.d.ts +79 -0
- package/build/internal/cjs/schemas.js +190 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/index.d.mts +50 -0
- package/build/internal/es/index.mjs +355 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/internal/es/index.typings.d.mts +324 -0
- package/build/internal/es/index.typings.mjs +318 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +271 -0
- package/build/internal/es/meta.mjs +281 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/build/internal/es/schemas.d.mts +79 -0
- package/build/internal/es/schemas.mjs +146 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +61 -0
- package/schemas/package.json +3 -0
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
// src/promote-seo-v2-llms-txt-llms-txt.universal.ts
|
|
2
|
+
import { transformError as sdkTransformError } from "@wix/sdk-runtime/transform-error";
|
|
3
|
+
import {
|
|
4
|
+
renameKeysFromSDKRequestToRESTRequest,
|
|
5
|
+
renameKeysFromRESTResponseToSDKResponse
|
|
6
|
+
} from "@wix/sdk-runtime/rename-all-nested-keys";
|
|
7
|
+
|
|
8
|
+
// src/promote-seo-v2-llms-txt-llms-txt.http.ts
|
|
9
|
+
import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
|
|
10
|
+
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
11
|
+
function resolveComWixpressPromoteSeoRobotsServerV2LlmsServiceV2Url(opts) {
|
|
12
|
+
const domainToMappings = {
|
|
13
|
+
"www._base_domain_": [
|
|
14
|
+
{
|
|
15
|
+
srcPath: "/_api/promote-seo-robots-server",
|
|
16
|
+
destPath: "/api"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
srcPath: "/_api/promote-seo-robots-server/v2/robots",
|
|
20
|
+
destPath: "/v2/robots"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
srcPath: "/_api/promote-seo-robots-server/v2/ads",
|
|
24
|
+
destPath: "/v2/ads"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
srcPath: "/_api/promote-seo-robots-server/v2/llms",
|
|
28
|
+
destPath: "/v2/llms"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"api._api_base_domain_": [
|
|
32
|
+
{
|
|
33
|
+
srcPath: "/promote-seo-robots-server",
|
|
34
|
+
destPath: ""
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"manage._base_domain_": [
|
|
38
|
+
{
|
|
39
|
+
srcPath: "/_api/promote-seo-robots-server",
|
|
40
|
+
destPath: "/api"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
srcPath: "/_api/promote-seo-robots-server/v2/robots",
|
|
44
|
+
destPath: "/v2/robots"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
srcPath: "/_api/promote-seo-robots-server/v2/ads",
|
|
48
|
+
destPath: "/v2/ads"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
srcPath: "/_api/promote-seo-robots-server/v2/llms",
|
|
52
|
+
destPath: "/v2/llms"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"www.wixapis.com": [
|
|
56
|
+
{
|
|
57
|
+
srcPath: "/promote-seo-robots-server/v2/robots",
|
|
58
|
+
destPath: "/v2/robots"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
srcPath: "/promote-seo-robots-server/v2/ads",
|
|
62
|
+
destPath: "/v2/ads"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
srcPath: "/promote-seo-txt-file-server/v2/ads",
|
|
66
|
+
destPath: "/v2/ads"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
srcPath: "/promote-seo-txt-file-server/v2/robots",
|
|
70
|
+
destPath: "/v2/robots"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
srcPath: "/promote-seo-robots-server/v2/llms",
|
|
74
|
+
destPath: "/v2/llms"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
srcPath: "/promote-seo-txt-file-server/v2/llms",
|
|
78
|
+
destPath: "/v2/llms"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"*.dev.wix-code.com": [
|
|
82
|
+
{
|
|
83
|
+
srcPath: "/promote/marketing/v2/ads",
|
|
84
|
+
destPath: "/v2/ads"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
srcPath: "/promote/seo/v2/llms",
|
|
88
|
+
destPath: "/v2/llms"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
srcPath: "/promote/seo/v2/robots",
|
|
92
|
+
destPath: "/v2/robots"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
_: [
|
|
96
|
+
{
|
|
97
|
+
srcPath: "/promote/marketing/v2/ads",
|
|
98
|
+
destPath: "/v2/ads"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
srcPath: "/promote/seo/v2/llms",
|
|
102
|
+
destPath: "/v2/llms"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
srcPath: "/promote/seo/v2/robots",
|
|
106
|
+
destPath: "/v2/robots"
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
};
|
|
110
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
111
|
+
}
|
|
112
|
+
var PACKAGE_NAME = "@wix/auto_sdk_seo_llms-txt";
|
|
113
|
+
function getLlmsTxt(payload) {
|
|
114
|
+
function __getLlmsTxt({ host }) {
|
|
115
|
+
const metadata = {
|
|
116
|
+
entityFqdn: "wix.promote.seo.v2.llms_txt",
|
|
117
|
+
method: "GET",
|
|
118
|
+
methodFqn: "com.wixpress.promote.seo.robots.server.v2.LlmsServiceV2.GetLlmsTxt",
|
|
119
|
+
packageName: PACKAGE_NAME,
|
|
120
|
+
migrationOptions: {
|
|
121
|
+
optInTransformResponse: true
|
|
122
|
+
},
|
|
123
|
+
url: resolveComWixpressPromoteSeoRobotsServerV2LlmsServiceV2Url({
|
|
124
|
+
protoPath: "/v2/llms",
|
|
125
|
+
data: payload,
|
|
126
|
+
host
|
|
127
|
+
}),
|
|
128
|
+
params: toURLSearchParams(payload)
|
|
129
|
+
};
|
|
130
|
+
return metadata;
|
|
131
|
+
}
|
|
132
|
+
return __getLlmsTxt;
|
|
133
|
+
}
|
|
134
|
+
function updateLlmsTxt(payload) {
|
|
135
|
+
function __updateLlmsTxt({ host }) {
|
|
136
|
+
const metadata = {
|
|
137
|
+
entityFqdn: "wix.promote.seo.v2.llms_txt",
|
|
138
|
+
method: "PUT",
|
|
139
|
+
methodFqn: "com.wixpress.promote.seo.robots.server.v2.LlmsServiceV2.UpdateLlmsTxt",
|
|
140
|
+
packageName: PACKAGE_NAME,
|
|
141
|
+
migrationOptions: {
|
|
142
|
+
optInTransformResponse: true
|
|
143
|
+
},
|
|
144
|
+
url: resolveComWixpressPromoteSeoRobotsServerV2LlmsServiceV2Url({
|
|
145
|
+
protoPath: "/v2/llms",
|
|
146
|
+
data: payload,
|
|
147
|
+
host
|
|
148
|
+
}),
|
|
149
|
+
data: payload
|
|
150
|
+
};
|
|
151
|
+
return metadata;
|
|
152
|
+
}
|
|
153
|
+
return __updateLlmsTxt;
|
|
154
|
+
}
|
|
155
|
+
function appendLlmsTxt(payload) {
|
|
156
|
+
function __appendLlmsTxt({ host }) {
|
|
157
|
+
const metadata = {
|
|
158
|
+
entityFqdn: "wix.promote.seo.v2.llms_txt",
|
|
159
|
+
method: "PATCH",
|
|
160
|
+
methodFqn: "com.wixpress.promote.seo.robots.server.v2.LlmsServiceV2.AppendLlmsTxt",
|
|
161
|
+
packageName: PACKAGE_NAME,
|
|
162
|
+
migrationOptions: {
|
|
163
|
+
optInTransformResponse: true
|
|
164
|
+
},
|
|
165
|
+
url: resolveComWixpressPromoteSeoRobotsServerV2LlmsServiceV2Url({
|
|
166
|
+
protoPath: "/v2/llms",
|
|
167
|
+
data: payload,
|
|
168
|
+
host
|
|
169
|
+
}),
|
|
170
|
+
data: payload
|
|
171
|
+
};
|
|
172
|
+
return metadata;
|
|
173
|
+
}
|
|
174
|
+
return __appendLlmsTxt;
|
|
175
|
+
}
|
|
176
|
+
function updateLlmsTxtHiddenStatus(payload) {
|
|
177
|
+
function __updateLlmsTxtHiddenStatus({ host }) {
|
|
178
|
+
const metadata = {
|
|
179
|
+
entityFqdn: "wix.promote.seo.v2.llms_txt",
|
|
180
|
+
method: "PATCH",
|
|
181
|
+
methodFqn: "com.wixpress.promote.seo.robots.server.v2.LlmsServiceV2.UpdateLlmsTxtHiddenStatus",
|
|
182
|
+
packageName: PACKAGE_NAME,
|
|
183
|
+
migrationOptions: {
|
|
184
|
+
optInTransformResponse: true
|
|
185
|
+
},
|
|
186
|
+
url: resolveComWixpressPromoteSeoRobotsServerV2LlmsServiceV2Url({
|
|
187
|
+
protoPath: "/v2/llms/hidden",
|
|
188
|
+
data: payload,
|
|
189
|
+
host
|
|
190
|
+
}),
|
|
191
|
+
data: payload
|
|
192
|
+
};
|
|
193
|
+
return metadata;
|
|
194
|
+
}
|
|
195
|
+
return __updateLlmsTxtHiddenStatus;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
// src/promote-seo-v2-llms-txt-llms-txt.universal.ts
|
|
199
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
200
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
201
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
202
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
203
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
204
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
205
|
+
return WebhookIdentityType2;
|
|
206
|
+
})(WebhookIdentityType || {});
|
|
207
|
+
async function getLlmsTxt2(options) {
|
|
208
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
209
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
210
|
+
subdomain: options?.subdomain
|
|
211
|
+
});
|
|
212
|
+
const reqOpts = getLlmsTxt(payload);
|
|
213
|
+
sideEffects?.onSiteCall?.();
|
|
214
|
+
try {
|
|
215
|
+
const result = await httpClient.request(reqOpts);
|
|
216
|
+
sideEffects?.onSuccess?.(result);
|
|
217
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
218
|
+
} catch (err) {
|
|
219
|
+
const transformedError = sdkTransformError(
|
|
220
|
+
err,
|
|
221
|
+
{
|
|
222
|
+
spreadPathsToArguments: {},
|
|
223
|
+
explicitPathsToArguments: { subdomain: "$[0].subdomain" },
|
|
224
|
+
singleArgumentUnchanged: false
|
|
225
|
+
},
|
|
226
|
+
["options"]
|
|
227
|
+
);
|
|
228
|
+
sideEffects?.onError?.(err);
|
|
229
|
+
throw transformedError;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
async function updateLlmsTxt2(options) {
|
|
233
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
234
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
235
|
+
llmsTxt: options?.llmsTxt
|
|
236
|
+
});
|
|
237
|
+
const reqOpts = updateLlmsTxt(payload);
|
|
238
|
+
sideEffects?.onSiteCall?.();
|
|
239
|
+
try {
|
|
240
|
+
const result = await httpClient.request(reqOpts);
|
|
241
|
+
sideEffects?.onSuccess?.(result);
|
|
242
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
243
|
+
} catch (err) {
|
|
244
|
+
const transformedError = sdkTransformError(
|
|
245
|
+
err,
|
|
246
|
+
{
|
|
247
|
+
spreadPathsToArguments: {},
|
|
248
|
+
explicitPathsToArguments: { llmsTxt: "$[0].llmsTxt" },
|
|
249
|
+
singleArgumentUnchanged: false
|
|
250
|
+
},
|
|
251
|
+
["options"]
|
|
252
|
+
);
|
|
253
|
+
sideEffects?.onError?.(err);
|
|
254
|
+
throw transformedError;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
async function appendLlmsTxt2(options) {
|
|
258
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
259
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
260
|
+
llmsTxt: options?.llmsTxt
|
|
261
|
+
});
|
|
262
|
+
const reqOpts = appendLlmsTxt(payload);
|
|
263
|
+
sideEffects?.onSiteCall?.();
|
|
264
|
+
try {
|
|
265
|
+
const result = await httpClient.request(reqOpts);
|
|
266
|
+
sideEffects?.onSuccess?.(result);
|
|
267
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
268
|
+
} catch (err) {
|
|
269
|
+
const transformedError = sdkTransformError(
|
|
270
|
+
err,
|
|
271
|
+
{
|
|
272
|
+
spreadPathsToArguments: {},
|
|
273
|
+
explicitPathsToArguments: { llmsTxt: "$[0].llmsTxt" },
|
|
274
|
+
singleArgumentUnchanged: false
|
|
275
|
+
},
|
|
276
|
+
["options"]
|
|
277
|
+
);
|
|
278
|
+
sideEffects?.onError?.(err);
|
|
279
|
+
throw transformedError;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
async function updateLlmsTxtHiddenStatus2(options) {
|
|
283
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
284
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
285
|
+
hidden: options?.hidden,
|
|
286
|
+
subdomain: options?.subdomain
|
|
287
|
+
});
|
|
288
|
+
const reqOpts = updateLlmsTxtHiddenStatus(payload);
|
|
289
|
+
sideEffects?.onSiteCall?.();
|
|
290
|
+
try {
|
|
291
|
+
const result = await httpClient.request(reqOpts);
|
|
292
|
+
sideEffects?.onSuccess?.(result);
|
|
293
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
294
|
+
} catch (err) {
|
|
295
|
+
const transformedError = sdkTransformError(
|
|
296
|
+
err,
|
|
297
|
+
{
|
|
298
|
+
spreadPathsToArguments: {},
|
|
299
|
+
explicitPathsToArguments: {
|
|
300
|
+
hidden: "$[0].hidden",
|
|
301
|
+
subdomain: "$[0].subdomain"
|
|
302
|
+
},
|
|
303
|
+
singleArgumentUnchanged: false
|
|
304
|
+
},
|
|
305
|
+
["options"]
|
|
306
|
+
);
|
|
307
|
+
sideEffects?.onError?.(err);
|
|
308
|
+
throw transformedError;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
// src/promote-seo-v2-llms-txt-llms-txt.public.ts
|
|
313
|
+
function getLlmsTxt3(httpClient) {
|
|
314
|
+
return (options) => getLlmsTxt2(
|
|
315
|
+
options,
|
|
316
|
+
// @ts-ignore
|
|
317
|
+
{ httpClient }
|
|
318
|
+
);
|
|
319
|
+
}
|
|
320
|
+
function updateLlmsTxt3(httpClient) {
|
|
321
|
+
return (options) => updateLlmsTxt2(
|
|
322
|
+
options,
|
|
323
|
+
// @ts-ignore
|
|
324
|
+
{ httpClient }
|
|
325
|
+
);
|
|
326
|
+
}
|
|
327
|
+
function appendLlmsTxt3(httpClient) {
|
|
328
|
+
return (options) => appendLlmsTxt2(
|
|
329
|
+
options,
|
|
330
|
+
// @ts-ignore
|
|
331
|
+
{ httpClient }
|
|
332
|
+
);
|
|
333
|
+
}
|
|
334
|
+
function updateLlmsTxtHiddenStatus3(httpClient) {
|
|
335
|
+
return (options) => updateLlmsTxtHiddenStatus2(
|
|
336
|
+
options,
|
|
337
|
+
// @ts-ignore
|
|
338
|
+
{ httpClient }
|
|
339
|
+
);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
// src/promote-seo-v2-llms-txt-llms-txt.context.ts
|
|
343
|
+
import { createRESTModule } from "@wix/sdk-runtime/rest-modules";
|
|
344
|
+
var getLlmsTxt4 = /* @__PURE__ */ createRESTModule(getLlmsTxt3);
|
|
345
|
+
var updateLlmsTxt4 = /* @__PURE__ */ createRESTModule(updateLlmsTxt3);
|
|
346
|
+
var appendLlmsTxt4 = /* @__PURE__ */ createRESTModule(appendLlmsTxt3);
|
|
347
|
+
var updateLlmsTxtHiddenStatus4 = /* @__PURE__ */ createRESTModule(updateLlmsTxtHiddenStatus3);
|
|
348
|
+
export {
|
|
349
|
+
WebhookIdentityType,
|
|
350
|
+
appendLlmsTxt4 as appendLlmsTxt,
|
|
351
|
+
getLlmsTxt4 as getLlmsTxt,
|
|
352
|
+
updateLlmsTxt4 as updateLlmsTxt,
|
|
353
|
+
updateLlmsTxtHiddenStatus4 as updateLlmsTxtHiddenStatus
|
|
354
|
+
};
|
|
355
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/promote-seo-v2-llms-txt-llms-txt.universal.ts","../../src/promote-seo-v2-llms-txt-llms-txt.http.ts","../../src/promote-seo-v2-llms-txt-llms-txt.public.ts","../../src/promote-seo-v2-llms-txt-llms-txt.context.ts"],"sourcesContent":["import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixPromoteSeoV2LlmsTxt from './promote-seo-v2-llms-txt-llms-txt.http.js';\n\nexport interface LlmsTxt {\n /**\n * CFull text content of the `llms.txt` file.\n * @maxLength 720000\n */\n content?: string;\n /** Whether this `llms.txt` file uses Wix's default content. */\n default?: boolean;\n /**\n * Target subdomain for the `llms.txt` file (for example, 'www', 'es', 'fr'). Default: 'www'\n * @maxLength 63\n */\n subdomain?: string;\n /**\n * Whether the llms.txt file should be hidden from public access.\n * @readonly\n */\n hidden?: boolean | null;\n /** Whether the content was manually edited by the user. If `true` in DB, update/append requests must also set `manually_edited=true` or they'll be rejected with `FAILED_PRECONDITION`. */\n manuallyEdited?: boolean;\n /**\n * ISO 639-1 language code detected for the site (e.g. en, fr). Used to localize the MCP documentation section when serving llms.txt.\n * @maxLength 2\n */\n detectedLanguage?: string;\n}\n\n/** The request to get the Llms.txt file content */\nexport interface GetLlmsTxtRequest {\n /**\n * Subdomain of the requested `llms.txt file`. For example, `www`, `es`, `fr`. Default: `www`.\n * @maxLength 63\n */\n subdomain?: string;\n}\n\n/** The response of the Llms.txt file request */\nexport interface GetLlmsTxtResponse {\n /** Retrieved `llms.txt` file entity. */\n llmsTxt?: LlmsTxt;\n}\n\n/** The request to update the content of the Llms.txt file */\nexport interface UpdateLlmsTxtRequest {\n /** `llms.txt` file to update. */\n llmsTxt?: LlmsTxt;\n}\n\nexport interface UpdateLlmsTxtResponse {\n /** Updated Llms txt object */\n llmsTxt?: LlmsTxt;\n}\n\n/** The request to append the content of the Llms.txt file */\nexport interface AppendLlmsTxtRequest {\n /** `llms.txt` file to append. */\n llmsTxt?: LlmsTxt;\n}\n\nexport interface AppendLlmsTxtResponse {\n /** Appended `llms.txt` file. */\n llmsTxt?: LlmsTxt;\n}\n\n/** The request to update the hidden state of Llms.txt file */\nexport interface UpdateLlmsTxtHiddenStatusRequest {\n /**\n * Hidden state to set for the Llms.txt file.\n * If true, the llms.txt file will be hidden from public access (returns 404).\n * If false, the llms.txt file will be publicly accessible.\n */\n hidden?: boolean;\n /**\n * Subdomain of Llms.txt, for example `www`, `es`, `fr`. Default is `www`.\n * @maxLength 63\n */\n subdomain?: string;\n}\n\n/** The response of updating the hidden state of Llms.txt file */\nexport interface UpdateLlmsTxtHiddenStatusResponse {\n /** Updated Llms txt object with new hidden state */\n llmsTxt?: LlmsTxt;\n}\n\n/** The request to update the manually_edited state of Llms.txt file */\nexport interface UpdateLlmsTxtManuallyEditedStatusRequest {\n /**\n * Manually edited state to set for the Llms.txt file.\n * If true, the llms.txt file is marked as manually edited, and update/append operations\n * that do not acknowledge the flag will be rejected.\n * If false, the llms.txt file is unlocked for auto-update operations.\n */\n manuallyEdited?: boolean;\n /**\n * Subdomain of Llms.txt, for example `www`, `es`, `fr`. Default is `www`.\n * @maxLength 63\n */\n subdomain?: string;\n}\n\n/** The response of updating the manually_edited state of Llms.txt file */\nexport interface UpdateLlmsTxtManuallyEditedStatusResponse {\n /** Updated Llms.txt file with new manually_edited state. */\n llmsTxt?: LlmsTxt;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/**\n * Retrieves the `llms.txt` file entity.\n * @public\n * @permissionId PROMOTE.LLMS_TXT_READ\n * @applicableIdentity APP\n * @returns The response of the Llms.txt file request\n * @fqn com.wixpress.promote.seo.robots.server.v2.LlmsServiceV2.GetLlmsTxt\n */\nexport async function getLlmsTxt(\n options?: GetLlmsTxtOptions\n): Promise<\n NonNullablePaths<\n GetLlmsTxtResponse,\n | `llmsTxt.content`\n | `llmsTxt.default`\n | `llmsTxt.subdomain`\n | `llmsTxt.manuallyEdited`\n | `llmsTxt.detectedLanguage`,\n 3\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n subdomain: options?.subdomain,\n });\n\n const reqOpts = ambassadorWixPromoteSeoV2LlmsTxt.getLlmsTxt(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { subdomain: '$[0].subdomain' },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface GetLlmsTxtOptions {\n /**\n * Subdomain of the requested `llms.txt file`. For example, `www`, `es`, `fr`. Default: `www`.\n * @maxLength 63\n */\n subdomain?: string;\n}\n\n/**\n * Updates the `llms.txt` file entity.\n *\n * The content can be set to an empty string to create a blank file.\n *\n * To restore Wix's default content, set the `default` field to `true` and omit the `content` field.\n * @public\n * @permissionId PROMOTE.LLMS_TXT_WRITE\n * @applicableIdentity APP\n * @fqn com.wixpress.promote.seo.robots.server.v2.LlmsServiceV2.UpdateLlmsTxt\n */\nexport async function updateLlmsTxt(\n options?: UpdateLlmsTxtOptions\n): Promise<\n NonNullablePaths<\n UpdateLlmsTxtResponse,\n | `llmsTxt.content`\n | `llmsTxt.default`\n | `llmsTxt.subdomain`\n | `llmsTxt.manuallyEdited`\n | `llmsTxt.detectedLanguage`,\n 3\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n llmsTxt: options?.llmsTxt,\n });\n\n const reqOpts = ambassadorWixPromoteSeoV2LlmsTxt.updateLlmsTxt(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { llmsTxt: '$[0].llmsTxt' },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdateLlmsTxtOptions {\n /** `llms.txt` file to update. */\n llmsTxt?: LlmsTxt;\n}\n\n/**\n * Appends additional content to the existing `llms.txt` file.\n *\n * The provided content will be added to the end of the current file content.\n *\n * To reset to Wix's default content instead, set `default` to `true` and omit the `content` field.\n * @public\n * @permissionId PROMOTE.LLMS_TXT_WRITE\n * @applicableIdentity APP\n * @fqn com.wixpress.promote.seo.robots.server.v2.LlmsServiceV2.AppendLlmsTxt\n */\nexport async function appendLlmsTxt(\n options?: AppendLlmsTxtOptions\n): Promise<\n NonNullablePaths<\n AppendLlmsTxtResponse,\n | `llmsTxt.content`\n | `llmsTxt.default`\n | `llmsTxt.subdomain`\n | `llmsTxt.manuallyEdited`\n | `llmsTxt.detectedLanguage`,\n 3\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n llmsTxt: options?.llmsTxt,\n });\n\n const reqOpts = ambassadorWixPromoteSeoV2LlmsTxt.appendLlmsTxt(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { llmsTxt: '$[0].llmsTxt' },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface AppendLlmsTxtOptions {\n /** `llms.txt` file to append. */\n llmsTxt?: LlmsTxt;\n}\n\n/**\n * Updates only the hidden state of the Llms.txt file.\n * Content remains unchanged - only visibility is modified.\n * @public\n * @permissionId PROMOTE.LLMS_TXT_WRITE\n * @applicableIdentity APP\n * @returns The response of updating the hidden state of Llms.txt file\n * @fqn com.wixpress.promote.seo.robots.server.v2.LlmsServiceV2.UpdateLlmsTxtHiddenStatus\n */\nexport async function updateLlmsTxtHiddenStatus(\n options?: UpdateLlmsTxtHiddenStatusOptions\n): Promise<\n NonNullablePaths<\n UpdateLlmsTxtHiddenStatusResponse,\n | `llmsTxt.content`\n | `llmsTxt.default`\n | `llmsTxt.subdomain`\n | `llmsTxt.manuallyEdited`\n | `llmsTxt.detectedLanguage`,\n 3\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n hidden: options?.hidden,\n subdomain: options?.subdomain,\n });\n\n const reqOpts =\n ambassadorWixPromoteSeoV2LlmsTxt.updateLlmsTxtHiddenStatus(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n hidden: '$[0].hidden',\n subdomain: '$[0].subdomain',\n },\n singleArgumentUnchanged: false,\n },\n ['options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdateLlmsTxtHiddenStatusOptions {\n /**\n * Hidden state to set for the Llms.txt file.\n * If true, the llms.txt file will be hidden from public access (returns 404).\n * If false, the llms.txt file will be publicly accessible.\n */\n hidden?: boolean;\n /**\n * Subdomain of Llms.txt, for example `www`, `es`, `fr`. Default is `www`.\n * @maxLength 63\n */\n subdomain?: string;\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixpressPromoteSeoRobotsServerV2LlmsServiceV2Url(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'www._base_domain_': [\n {\n srcPath: '/_api/promote-seo-robots-server',\n destPath: '/api',\n },\n {\n srcPath: '/_api/promote-seo-robots-server/v2/robots',\n destPath: '/v2/robots',\n },\n {\n srcPath: '/_api/promote-seo-robots-server/v2/ads',\n destPath: '/v2/ads',\n },\n {\n srcPath: '/_api/promote-seo-robots-server/v2/llms',\n destPath: '/v2/llms',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/promote-seo-robots-server',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/promote-seo-robots-server',\n destPath: '/api',\n },\n {\n srcPath: '/_api/promote-seo-robots-server/v2/robots',\n destPath: '/v2/robots',\n },\n {\n srcPath: '/_api/promote-seo-robots-server/v2/ads',\n destPath: '/v2/ads',\n },\n {\n srcPath: '/_api/promote-seo-robots-server/v2/llms',\n destPath: '/v2/llms',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/promote-seo-robots-server/v2/robots',\n destPath: '/v2/robots',\n },\n {\n srcPath: '/promote-seo-robots-server/v2/ads',\n destPath: '/v2/ads',\n },\n {\n srcPath: '/promote-seo-txt-file-server/v2/ads',\n destPath: '/v2/ads',\n },\n {\n srcPath: '/promote-seo-txt-file-server/v2/robots',\n destPath: '/v2/robots',\n },\n {\n srcPath: '/promote-seo-robots-server/v2/llms',\n destPath: '/v2/llms',\n },\n {\n srcPath: '/promote-seo-txt-file-server/v2/llms',\n destPath: '/v2/llms',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/promote/marketing/v2/ads',\n destPath: '/v2/ads',\n },\n {\n srcPath: '/promote/seo/v2/llms',\n destPath: '/v2/llms',\n },\n {\n srcPath: '/promote/seo/v2/robots',\n destPath: '/v2/robots',\n },\n ],\n _: [\n {\n srcPath: '/promote/marketing/v2/ads',\n destPath: '/v2/ads',\n },\n {\n srcPath: '/promote/seo/v2/llms',\n destPath: '/v2/llms',\n },\n {\n srcPath: '/promote/seo/v2/robots',\n destPath: '/v2/robots',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_seo_llms-txt';\n\n/** Retrieves the `llms.txt` file entity. */\nexport function getLlmsTxt(payload: object): RequestOptionsFactory<any> {\n function __getLlmsTxt({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.promote.seo.v2.llms_txt',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.promote.seo.robots.server.v2.LlmsServiceV2.GetLlmsTxt',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPromoteSeoRobotsServerV2LlmsServiceV2Url({\n protoPath: '/v2/llms',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getLlmsTxt;\n}\n\n/**\n * Updates the `llms.txt` file entity.\n *\n * The content can be set to an empty string to create a blank file.\n *\n * To restore Wix's default content, set the `default` field to `true` and omit the `content` field.\n */\nexport function updateLlmsTxt(payload: object): RequestOptionsFactory<any> {\n function __updateLlmsTxt({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.promote.seo.v2.llms_txt',\n method: 'PUT' as any,\n methodFqn:\n 'com.wixpress.promote.seo.robots.server.v2.LlmsServiceV2.UpdateLlmsTxt',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPromoteSeoRobotsServerV2LlmsServiceV2Url({\n protoPath: '/v2/llms',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __updateLlmsTxt;\n}\n\n/**\n * Appends additional content to the existing `llms.txt` file.\n *\n * The provided content will be added to the end of the current file content.\n *\n * To reset to Wix's default content instead, set `default` to `true` and omit the `content` field.\n */\nexport function appendLlmsTxt(payload: object): RequestOptionsFactory<any> {\n function __appendLlmsTxt({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.promote.seo.v2.llms_txt',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.promote.seo.robots.server.v2.LlmsServiceV2.AppendLlmsTxt',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPromoteSeoRobotsServerV2LlmsServiceV2Url({\n protoPath: '/v2/llms',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __appendLlmsTxt;\n}\n\n/**\n * Updates only the hidden state of the Llms.txt file.\n * Content remains unchanged - only visibility is modified.\n */\nexport function updateLlmsTxtHiddenStatus(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateLlmsTxtHiddenStatus({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.promote.seo.v2.llms_txt',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.promote.seo.robots.server.v2.LlmsServiceV2.UpdateLlmsTxtHiddenStatus',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPromoteSeoRobotsServerV2LlmsServiceV2Url({\n protoPath: '/v2/llms/hidden',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __updateLlmsTxtHiddenStatus;\n}\n","import { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n AppendLlmsTxtOptions,\n AppendLlmsTxtResponse,\n GetLlmsTxtOptions,\n GetLlmsTxtResponse,\n UpdateLlmsTxtHiddenStatusOptions,\n UpdateLlmsTxtHiddenStatusResponse,\n UpdateLlmsTxtOptions,\n UpdateLlmsTxtResponse,\n appendLlmsTxt as universalAppendLlmsTxt,\n getLlmsTxt as universalGetLlmsTxt,\n updateLlmsTxt as universalUpdateLlmsTxt,\n updateLlmsTxtHiddenStatus as universalUpdateLlmsTxtHiddenStatus,\n} from './promote-seo-v2-llms-txt-llms-txt.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/seo' };\n\nexport function getLlmsTxt(httpClient: HttpClient): GetLlmsTxtSignature {\n return (options?: GetLlmsTxtOptions) =>\n universalGetLlmsTxt(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetLlmsTxtSignature {\n /**\n * Retrieves the `llms.txt` file entity.\n * @returns The response of the Llms.txt file request\n */\n (options?: GetLlmsTxtOptions): Promise<\n NonNullablePaths<\n GetLlmsTxtResponse,\n | `llmsTxt.content`\n | `llmsTxt.default`\n | `llmsTxt.subdomain`\n | `llmsTxt.manuallyEdited`\n | `llmsTxt.detectedLanguage`,\n 3\n >\n >;\n}\n\nexport function updateLlmsTxt(httpClient: HttpClient): UpdateLlmsTxtSignature {\n return (options?: UpdateLlmsTxtOptions) =>\n universalUpdateLlmsTxt(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface UpdateLlmsTxtSignature {\n /**\n * Updates the `llms.txt` file entity.\n *\n * The content can be set to an empty string to create a blank file.\n *\n * To restore Wix's default content, set the `default` field to `true` and omit the `content` field.\n */\n (options?: UpdateLlmsTxtOptions): Promise<\n NonNullablePaths<\n UpdateLlmsTxtResponse,\n | `llmsTxt.content`\n | `llmsTxt.default`\n | `llmsTxt.subdomain`\n | `llmsTxt.manuallyEdited`\n | `llmsTxt.detectedLanguage`,\n 3\n >\n >;\n}\n\nexport function appendLlmsTxt(httpClient: HttpClient): AppendLlmsTxtSignature {\n return (options?: AppendLlmsTxtOptions) =>\n universalAppendLlmsTxt(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface AppendLlmsTxtSignature {\n /**\n * Appends additional content to the existing `llms.txt` file.\n *\n * The provided content will be added to the end of the current file content.\n *\n * To reset to Wix's default content instead, set `default` to `true` and omit the `content` field.\n */\n (options?: AppendLlmsTxtOptions): Promise<\n NonNullablePaths<\n AppendLlmsTxtResponse,\n | `llmsTxt.content`\n | `llmsTxt.default`\n | `llmsTxt.subdomain`\n | `llmsTxt.manuallyEdited`\n | `llmsTxt.detectedLanguage`,\n 3\n >\n >;\n}\n\nexport function updateLlmsTxtHiddenStatus(\n httpClient: HttpClient\n): UpdateLlmsTxtHiddenStatusSignature {\n return (options?: UpdateLlmsTxtHiddenStatusOptions) =>\n universalUpdateLlmsTxtHiddenStatus(\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface UpdateLlmsTxtHiddenStatusSignature {\n /**\n * Updates only the hidden state of the Llms.txt file.\n * Content remains unchanged - only visibility is modified.\n * @returns The response of updating the hidden state of Llms.txt file\n */\n (options?: UpdateLlmsTxtHiddenStatusOptions): Promise<\n NonNullablePaths<\n UpdateLlmsTxtHiddenStatusResponse,\n | `llmsTxt.content`\n | `llmsTxt.default`\n | `llmsTxt.subdomain`\n | `llmsTxt.manuallyEdited`\n | `llmsTxt.detectedLanguage`,\n 3\n >\n >;\n}\n\nexport {\n AccountInfo,\n ActionEvent,\n AppendLlmsTxtOptions,\n AppendLlmsTxtRequest,\n AppendLlmsTxtResponse,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n GetLlmsTxtOptions,\n GetLlmsTxtRequest,\n GetLlmsTxtResponse,\n IdentificationData,\n IdentificationDataIdOneOf,\n LlmsTxt,\n MessageEnvelope,\n RestoreInfo,\n UpdateLlmsTxtHiddenStatusOptions,\n UpdateLlmsTxtHiddenStatusRequest,\n UpdateLlmsTxtHiddenStatusResponse,\n UpdateLlmsTxtManuallyEditedStatusRequest,\n UpdateLlmsTxtManuallyEditedStatusResponse,\n UpdateLlmsTxtOptions,\n UpdateLlmsTxtRequest,\n UpdateLlmsTxtResponse,\n WebhookIdentityType,\n} from './promote-seo-v2-llms-txt-llms-txt.universal.js';\n","import {\n getLlmsTxt as publicGetLlmsTxt,\n updateLlmsTxt as publicUpdateLlmsTxt,\n appendLlmsTxt as publicAppendLlmsTxt,\n updateLlmsTxtHiddenStatus as publicUpdateLlmsTxtHiddenStatus,\n} from './promote-seo-v2-llms-txt-llms-txt.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\n\nexport const getLlmsTxt: MaybeContext<\n BuildRESTFunction<typeof publicGetLlmsTxt> & typeof publicGetLlmsTxt\n> = /*#__PURE__*/ createRESTModule(publicGetLlmsTxt);\nexport const updateLlmsTxt: MaybeContext<\n BuildRESTFunction<typeof publicUpdateLlmsTxt> & typeof publicUpdateLlmsTxt\n> = /*#__PURE__*/ createRESTModule(publicUpdateLlmsTxt);\nexport const appendLlmsTxt: MaybeContext<\n BuildRESTFunction<typeof publicAppendLlmsTxt> & typeof publicAppendLlmsTxt\n> = /*#__PURE__*/ createRESTModule(publicAppendLlmsTxt);\nexport const updateLlmsTxtHiddenStatus: MaybeContext<\n BuildRESTFunction<typeof publicUpdateLlmsTxtHiddenStatus> &\n typeof publicUpdateLlmsTxtHiddenStatus\n> = /*#__PURE__*/ createRESTModule(publicUpdateLlmsTxtHiddenStatus);\n\nexport { WebhookIdentityType } from './promote-seo-v2-llms-txt-llms-txt.universal.js';\nexport {\n LlmsTxt,\n GetLlmsTxtRequest,\n GetLlmsTxtResponse,\n UpdateLlmsTxtRequest,\n UpdateLlmsTxtResponse,\n AppendLlmsTxtRequest,\n AppendLlmsTxtResponse,\n UpdateLlmsTxtHiddenStatusRequest,\n UpdateLlmsTxtHiddenStatusResponse,\n UpdateLlmsTxtManuallyEditedStatusRequest,\n UpdateLlmsTxtManuallyEditedStatusResponse,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n AccountInfo,\n GetLlmsTxtOptions,\n UpdateLlmsTxtOptions,\n AppendLlmsTxtOptions,\n UpdateLlmsTxtHiddenStatusOptions,\n} from './promote-seo-v2-llms-txt-llms-txt.universal.js';\nexport { WebhookIdentityTypeWithLiterals } from './promote-seo-v2-llms-txt-llms-txt.universal.js';\n"],"mappings":";AAAA,SAAS,kBAAkB,yBAAyB;AACpD;AAAA,EACE;AAAA,EACA;AAAA,OACK;;;ACJP,SAAS,yBAAyB;AAClC,SAAS,kBAAkB;AAI3B,SAAS,2DACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,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AA,EACR;AACF;;;AErgBO,SAASC,YAAW,YAA6C;AACtE,SAAO,CAAC,YACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAoBO,SAASC,eAAc,YAAgD;AAC5E,SAAO,CAAC,YACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAuBO,SAASC,eAAc,YAAgD;AAC5E,SAAO,CAAC,YACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAuBO,SAASC,2BACd,YACoC;AACpC,SAAO,CAAC,YACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;;;AC5GA,SAAS,wBAAwB;AAG1B,IAAMC,cAEK,iCAAiBA,WAAgB;AAC5C,IAAMC,iBAEK,iCAAiBA,cAAmB;AAC/C,IAAMC,iBAEK,iCAAiBA,cAAmB;AAC/C,IAAMC,6BAGK,iCAAiBA,0BAA+B;","names":["WebhookIdentityType","getLlmsTxt","updateLlmsTxt","appendLlmsTxt","updateLlmsTxtHiddenStatus","getLlmsTxt","updateLlmsTxt","appendLlmsTxt","updateLlmsTxtHiddenStatus","getLlmsTxt","updateLlmsTxt","appendLlmsTxt","updateLlmsTxtHiddenStatus"]}
|