@wix/auto_sdk_seo_seo-patterns 1.0.8 → 1.0.9
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 +38 -10
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +81 -22
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +43 -12
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +38 -10
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +81 -22
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +43 -12
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +38 -10
- package/build/internal/cjs/index.typings.d.ts +81 -22
- package/build/internal/cjs/meta.d.ts +43 -12
- package/build/internal/es/index.d.mts +38 -10
- package/build/internal/es/index.typings.d.mts +81 -22
- package/build/internal/es/meta.d.mts +43 -12
- package/package.json +4 -11
- package/build/cjs/schemas.d.ts +0 -309
- package/build/cjs/schemas.js +0 -708
- package/build/cjs/schemas.js.map +0 -1
- package/build/es/schemas.d.mts +0 -309
- package/build/es/schemas.mjs +0 -660
- package/build/es/schemas.mjs.map +0 -1
- package/build/internal/cjs/index.js +0 -495
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.js +0 -438
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.js +0 -387
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/schemas.d.ts +0 -309
- package/build/internal/cjs/schemas.js +0 -708
- package/build/internal/cjs/schemas.js.map +0 -1
- package/build/internal/es/index.mjs +0 -463
- package/build/internal/es/index.mjs.map +0 -1
- package/build/internal/es/index.typings.mjs +0 -406
- package/build/internal/es/index.typings.mjs.map +0 -1
- package/build/internal/es/meta.mjs +0 -352
- package/build/internal/es/meta.mjs.map +0 -1
- package/build/internal/es/schemas.d.mts +0 -309
- package/build/internal/es/schemas.mjs +0 -660
- package/build/internal/es/schemas.mjs.map +0 -1
- package/schemas/package.json +0 -3
|
@@ -10,8 +10,14 @@ interface GetSeoPatternSignature {
|
|
|
10
10
|
* The response contains the site's own pattern in `pattern`, and the pattern Wix
|
|
11
11
|
* provides in `defaultPattern`. `source` reports which of the two is in effect.
|
|
12
12
|
* `pattern` is empty when the site has no pattern of its own.
|
|
13
|
-
* @param - Page type whose pattern to retrieve.
|
|
14
|
-
* `STORES_PRODUCT`.
|
|
13
|
+
* @param - Page type whose pattern to retrieve. Send a known page type name, such as
|
|
14
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
15
|
+
*
|
|
16
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`. A known page type whose Wix
|
|
17
|
+
* business solution isn't installed on the site fails with `PAGE_TYPE_NOT_ON_SITE`.
|
|
18
|
+
*
|
|
19
|
+
* See the list of [common page
|
|
20
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
15
21
|
*/
|
|
16
22
|
(pageType: string, options?: GetSeoPatternOptions): Promise<NonNullablePaths<GetSeoPatternResponse, `seoPattern.pageType` | `seoPattern.pattern.tags` | `seoPattern.pattern.tags.${number}.type` | `seoPattern.pattern.tags.${number}.children` | `seoPattern.pattern.tags.${number}.custom` | `seoPattern.pattern.tags.${number}.disabled` | `seoPattern.source` | `seoPattern.origin`, 6> & {
|
|
17
23
|
__applicationErrorsType?: GetSeoPatternApplicationErrors;
|
|
@@ -38,8 +44,14 @@ interface ListSeoPatternVariablesSignature {
|
|
|
38
44
|
*
|
|
39
45
|
* Variables for the page's own tags and variables for its structured data are returned
|
|
40
46
|
* in separate fields, and a pattern may use either.
|
|
41
|
-
* @param - Page type whose variables to retrieve.
|
|
42
|
-
* `STORES_PRODUCT`.
|
|
47
|
+
* @param - Page type whose variables to retrieve. Send a known page type name, such as
|
|
48
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
49
|
+
*
|
|
50
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`. A known page type whose Wix
|
|
51
|
+
* business solution isn't installed on the site fails with `PAGE_TYPE_NOT_ON_SITE`.
|
|
52
|
+
*
|
|
53
|
+
* See the list of [common page
|
|
54
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
43
55
|
*/
|
|
44
56
|
(pageType: string): Promise<NonNullablePaths<ListSeoPatternVariablesResponse, `variables` | `variables.${number}.key` | `variables.${number}.userVisible` | `structuredDataVariables` | `structuredDataVariables.${number}.key` | `structuredDataVariables.${number}.userVisible`, 4> & {
|
|
45
57
|
__applicationErrorsType?: ListSeoPatternVariablesApplicationErrors;
|
|
@@ -55,8 +67,14 @@ interface CreateSeoPatternSignature {
|
|
|
55
67
|
*
|
|
56
68
|
* To change a pattern that already exists, call [Set SEO
|
|
57
69
|
* Pattern](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/set-seo-pattern).
|
|
58
|
-
* @param - Page type to create a pattern for.
|
|
59
|
-
* `STORES_PRODUCT`.
|
|
70
|
+
* @param - Page type to create a pattern for. Send a known page type name, such as
|
|
71
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
72
|
+
*
|
|
73
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`. A known page type whose Wix
|
|
74
|
+
* business solution isn't installed on the site fails with `PAGE_TYPE_NOT_ON_SITE`.
|
|
75
|
+
*
|
|
76
|
+
* See the list of [common page
|
|
77
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
60
78
|
* @param - Pattern to create for the page type.
|
|
61
79
|
*
|
|
62
80
|
* `pattern` is the only field to send. The page type comes from the request path, and
|
|
@@ -86,8 +104,13 @@ interface SetSeoPatternSignature {
|
|
|
86
104
|
* A pattern has no revision, and the site's SEO settings in the dashboard write to the
|
|
87
105
|
* same pattern. The last write wins, so retrieve the pattern immediately before writing
|
|
88
106
|
* it.
|
|
89
|
-
* @param - Page type whose pattern to change.
|
|
90
|
-
* `STORES_PRODUCT`.
|
|
107
|
+
* @param - Page type whose pattern to change. Send a known page type name, such as
|
|
108
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
109
|
+
*
|
|
110
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`.
|
|
111
|
+
*
|
|
112
|
+
* See the list of [common page
|
|
113
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
91
114
|
* @param - Pattern to set for the page type.
|
|
92
115
|
*
|
|
93
116
|
* `pattern` is the only writable field, and setting it replaces the page type's tag
|
|
@@ -105,8 +128,13 @@ interface ResetSeoPatternToDefaultSignature {
|
|
|
105
128
|
*
|
|
106
129
|
* The response reports the page type after the reset, with an empty `pattern` and
|
|
107
130
|
* `source` of `PATTERN_SOURCE_DEFAULT`.
|
|
108
|
-
* @param - Page type whose pattern to reset.
|
|
109
|
-
* `STORES_PRODUCT`.
|
|
131
|
+
* @param - Page type whose pattern to reset. Send a known page type name, such as
|
|
132
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
133
|
+
*
|
|
134
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`.
|
|
135
|
+
*
|
|
136
|
+
* See the list of [common page
|
|
137
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
110
138
|
*/
|
|
111
139
|
(pageType: string, options?: ResetSeoPatternToDefaultOptions): Promise<NonNullablePaths<ResetSeoPatternToDefaultResponse, `seoPattern.pageType` | `seoPattern.pattern.tags` | `seoPattern.pattern.tags.${number}.type` | `seoPattern.pattern.tags.${number}.children` | `seoPattern.pattern.tags.${number}.custom` | `seoPattern.pattern.tags.${number}.disabled` | `seoPattern.source` | `seoPattern.origin`, 6> & {
|
|
112
140
|
__applicationErrorsType?: ResetSeoPatternToDefaultApplicationErrors;
|
|
@@ -24,8 +24,11 @@ interface SeoPattern {
|
|
|
24
24
|
*/
|
|
25
25
|
_id?: string | null;
|
|
26
26
|
/**
|
|
27
|
-
* Page type the pattern applies to.
|
|
28
|
-
* `STORES_PRODUCT`.
|
|
27
|
+
* Page type the pattern applies to. A known page type name, such as
|
|
28
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
29
|
+
*
|
|
30
|
+
* See the list of [common page
|
|
31
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
29
32
|
* @maxLength 100
|
|
30
33
|
* @readonly
|
|
31
34
|
*/
|
|
@@ -200,8 +203,14 @@ declare enum Origin {
|
|
|
200
203
|
type OriginWithLiterals = Origin | 'ORIGIN_UNSPECIFIED' | 'ORIGIN_USER' | 'ORIGIN_MIGRATION' | 'ORIGIN_AI';
|
|
201
204
|
interface GetSeoPatternRequest {
|
|
202
205
|
/**
|
|
203
|
-
* Page type whose pattern to retrieve.
|
|
204
|
-
* `STORES_PRODUCT`.
|
|
206
|
+
* Page type whose pattern to retrieve. Send a known page type name, such as
|
|
207
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
208
|
+
*
|
|
209
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`. A known page type whose Wix
|
|
210
|
+
* business solution isn't installed on the site fails with `PAGE_TYPE_NOT_ON_SITE`.
|
|
211
|
+
*
|
|
212
|
+
* See the list of [common page
|
|
213
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
205
214
|
* @maxLength 100
|
|
206
215
|
*/
|
|
207
216
|
pageType: string;
|
|
@@ -243,8 +252,14 @@ interface ListSeoPatternsResponse {
|
|
|
243
252
|
}
|
|
244
253
|
interface ListSeoPatternVariablesRequest {
|
|
245
254
|
/**
|
|
246
|
-
* Page type whose variables to retrieve.
|
|
247
|
-
* `STORES_PRODUCT`.
|
|
255
|
+
* Page type whose variables to retrieve. Send a known page type name, such as
|
|
256
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
257
|
+
*
|
|
258
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`. A known page type whose Wix
|
|
259
|
+
* business solution isn't installed on the site fails with `PAGE_TYPE_NOT_ON_SITE`.
|
|
260
|
+
*
|
|
261
|
+
* See the list of [common page
|
|
262
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
248
263
|
* @maxLength 100
|
|
249
264
|
*/
|
|
250
265
|
pageType: string;
|
|
@@ -290,8 +305,14 @@ interface SeoPatternVariable {
|
|
|
290
305
|
}
|
|
291
306
|
interface CreateSeoPatternRequest {
|
|
292
307
|
/**
|
|
293
|
-
* Page type to create a pattern for.
|
|
294
|
-
* `STORES_PRODUCT`.
|
|
308
|
+
* Page type to create a pattern for. Send a known page type name, such as
|
|
309
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
310
|
+
*
|
|
311
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`. A known page type whose Wix
|
|
312
|
+
* business solution isn't installed on the site fails with `PAGE_TYPE_NOT_ON_SITE`.
|
|
313
|
+
*
|
|
314
|
+
* See the list of [common page
|
|
315
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
295
316
|
* @maxLength 100
|
|
296
317
|
*/
|
|
297
318
|
pageType: string;
|
|
@@ -313,8 +334,13 @@ interface CreateSeoPatternResponse {
|
|
|
313
334
|
}
|
|
314
335
|
interface SetSeoPatternRequest {
|
|
315
336
|
/**
|
|
316
|
-
* Page type whose pattern to change.
|
|
317
|
-
* `STORES_PRODUCT`.
|
|
337
|
+
* Page type whose pattern to change. Send a known page type name, such as
|
|
338
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
339
|
+
*
|
|
340
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`.
|
|
341
|
+
*
|
|
342
|
+
* See the list of [common page
|
|
343
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
318
344
|
* @maxLength 100
|
|
319
345
|
*/
|
|
320
346
|
pageType: string;
|
|
@@ -359,8 +385,13 @@ interface SetSeoPatternResponse {
|
|
|
359
385
|
}
|
|
360
386
|
interface ResetSeoPatternToDefaultRequest {
|
|
361
387
|
/**
|
|
362
|
-
* Page type whose pattern to reset.
|
|
363
|
-
* `STORES_PRODUCT`.
|
|
388
|
+
* Page type whose pattern to reset. Send a known page type name, such as
|
|
389
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
390
|
+
*
|
|
391
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`.
|
|
392
|
+
*
|
|
393
|
+
* See the list of [common page
|
|
394
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
364
395
|
* @maxLength 100
|
|
365
396
|
*/
|
|
366
397
|
pageType: string;
|
|
@@ -641,8 +672,14 @@ type ResetSeoPatternToDefaultApplicationErrors = {
|
|
|
641
672
|
* The response contains the site's own pattern in `pattern`, and the pattern Wix
|
|
642
673
|
* provides in `defaultPattern`. `source` reports which of the two is in effect.
|
|
643
674
|
* `pattern` is empty when the site has no pattern of its own.
|
|
644
|
-
* @param pageType - Page type whose pattern to retrieve.
|
|
645
|
-
* `STORES_PRODUCT`.
|
|
675
|
+
* @param pageType - Page type whose pattern to retrieve. Send a known page type name, such as
|
|
676
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
677
|
+
*
|
|
678
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`. A known page type whose Wix
|
|
679
|
+
* business solution isn't installed on the site fails with `PAGE_TYPE_NOT_ON_SITE`.
|
|
680
|
+
*
|
|
681
|
+
* See the list of [common page
|
|
682
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
646
683
|
* @public
|
|
647
684
|
* @documentationMaturity preview
|
|
648
685
|
* @requiredField pageType
|
|
@@ -684,8 +721,14 @@ declare function listSeoPatterns(): Promise<NonNullablePaths<ListSeoPatternsResp
|
|
|
684
721
|
*
|
|
685
722
|
* Variables for the page's own tags and variables for its structured data are returned
|
|
686
723
|
* in separate fields, and a pattern may use either.
|
|
687
|
-
* @param pageType - Page type whose variables to retrieve.
|
|
688
|
-
* `STORES_PRODUCT`.
|
|
724
|
+
* @param pageType - Page type whose variables to retrieve. Send a known page type name, such as
|
|
725
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
726
|
+
*
|
|
727
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`. A known page type whose Wix
|
|
728
|
+
* business solution isn't installed on the site fails with `PAGE_TYPE_NOT_ON_SITE`.
|
|
729
|
+
*
|
|
730
|
+
* See the list of [common page
|
|
731
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
689
732
|
* @public
|
|
690
733
|
* @documentationMaturity preview
|
|
691
734
|
* @requiredField pageType
|
|
@@ -704,8 +747,14 @@ declare function listSeoPatternVariables(pageType: string): Promise<NonNullableP
|
|
|
704
747
|
*
|
|
705
748
|
* To change a pattern that already exists, call [Set SEO
|
|
706
749
|
* Pattern](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/set-seo-pattern).
|
|
707
|
-
* @param pageType - Page type to create a pattern for.
|
|
708
|
-
* `STORES_PRODUCT`.
|
|
750
|
+
* @param pageType - Page type to create a pattern for. Send a known page type name, such as
|
|
751
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
752
|
+
*
|
|
753
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`. A known page type whose Wix
|
|
754
|
+
* business solution isn't installed on the site fails with `PAGE_TYPE_NOT_ON_SITE`.
|
|
755
|
+
*
|
|
756
|
+
* See the list of [common page
|
|
757
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
709
758
|
* @param seoPattern - Pattern to create for the page type.
|
|
710
759
|
*
|
|
711
760
|
* `pattern` is the only field to send. The page type comes from the request path, and
|
|
@@ -739,8 +788,13 @@ declare function createSeoPattern(pageType: string, seoPattern: SeoPattern): Pro
|
|
|
739
788
|
* A pattern has no revision, and the site's SEO settings in the dashboard write to the
|
|
740
789
|
* same pattern. The last write wins, so retrieve the pattern immediately before writing
|
|
741
790
|
* it.
|
|
742
|
-
* @param pageType - Page type whose pattern to change.
|
|
743
|
-
* `STORES_PRODUCT`.
|
|
791
|
+
* @param pageType - Page type whose pattern to change. Send a known page type name, such as
|
|
792
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
793
|
+
*
|
|
794
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`.
|
|
795
|
+
*
|
|
796
|
+
* See the list of [common page
|
|
797
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
744
798
|
* @param seoPattern - Pattern to set for the page type.
|
|
745
799
|
*
|
|
746
800
|
* `pattern` is the only writable field, and setting it replaces the page type's tag
|
|
@@ -783,8 +837,13 @@ interface SetSeoPatternOptions {
|
|
|
783
837
|
*
|
|
784
838
|
* The response reports the page type after the reset, with an empty `pattern` and
|
|
785
839
|
* `source` of `PATTERN_SOURCE_DEFAULT`.
|
|
786
|
-
* @param pageType - Page type whose pattern to reset.
|
|
787
|
-
* `STORES_PRODUCT`.
|
|
840
|
+
* @param pageType - Page type whose pattern to reset. Send a known page type name, such as
|
|
841
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
842
|
+
*
|
|
843
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`.
|
|
844
|
+
*
|
|
845
|
+
* See the list of [common page
|
|
846
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
788
847
|
* @public
|
|
789
848
|
* @documentationMaturity preview
|
|
790
849
|
* @requiredField pageType
|
|
@@ -25,8 +25,11 @@ interface SeoPattern {
|
|
|
25
25
|
*/
|
|
26
26
|
id?: string | null;
|
|
27
27
|
/**
|
|
28
|
-
* Page type the pattern applies to.
|
|
29
|
-
* `STORES_PRODUCT`.
|
|
28
|
+
* Page type the pattern applies to. A known page type name, such as
|
|
29
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
30
|
+
*
|
|
31
|
+
* See the list of [common page
|
|
32
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
30
33
|
* @maxLength 100
|
|
31
34
|
* @readonly
|
|
32
35
|
*/
|
|
@@ -201,8 +204,14 @@ declare enum Origin {
|
|
|
201
204
|
type OriginWithLiterals = Origin | 'ORIGIN_UNSPECIFIED' | 'ORIGIN_USER' | 'ORIGIN_MIGRATION' | 'ORIGIN_AI';
|
|
202
205
|
interface GetSeoPatternRequest {
|
|
203
206
|
/**
|
|
204
|
-
* Page type whose pattern to retrieve.
|
|
205
|
-
* `STORES_PRODUCT`.
|
|
207
|
+
* Page type whose pattern to retrieve. Send a known page type name, such as
|
|
208
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
209
|
+
*
|
|
210
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`. A known page type whose Wix
|
|
211
|
+
* business solution isn't installed on the site fails with `PAGE_TYPE_NOT_ON_SITE`.
|
|
212
|
+
*
|
|
213
|
+
* See the list of [common page
|
|
214
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
206
215
|
* @maxLength 100
|
|
207
216
|
*/
|
|
208
217
|
pageType: string;
|
|
@@ -244,8 +253,14 @@ interface ListSeoPatternsResponse {
|
|
|
244
253
|
}
|
|
245
254
|
interface ListSeoPatternVariablesRequest {
|
|
246
255
|
/**
|
|
247
|
-
* Page type whose variables to retrieve.
|
|
248
|
-
* `STORES_PRODUCT`.
|
|
256
|
+
* Page type whose variables to retrieve. Send a known page type name, such as
|
|
257
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
258
|
+
*
|
|
259
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`. A known page type whose Wix
|
|
260
|
+
* business solution isn't installed on the site fails with `PAGE_TYPE_NOT_ON_SITE`.
|
|
261
|
+
*
|
|
262
|
+
* See the list of [common page
|
|
263
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
249
264
|
* @maxLength 100
|
|
250
265
|
*/
|
|
251
266
|
pageType: string;
|
|
@@ -291,8 +306,14 @@ interface SeoPatternVariable {
|
|
|
291
306
|
}
|
|
292
307
|
interface CreateSeoPatternRequest {
|
|
293
308
|
/**
|
|
294
|
-
* Page type to create a pattern for.
|
|
295
|
-
* `STORES_PRODUCT`.
|
|
309
|
+
* Page type to create a pattern for. Send a known page type name, such as
|
|
310
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
311
|
+
*
|
|
312
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`. A known page type whose Wix
|
|
313
|
+
* business solution isn't installed on the site fails with `PAGE_TYPE_NOT_ON_SITE`.
|
|
314
|
+
*
|
|
315
|
+
* See the list of [common page
|
|
316
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
296
317
|
* @maxLength 100
|
|
297
318
|
*/
|
|
298
319
|
pageType: string;
|
|
@@ -314,8 +335,13 @@ interface CreateSeoPatternResponse {
|
|
|
314
335
|
}
|
|
315
336
|
interface SetSeoPatternRequest {
|
|
316
337
|
/**
|
|
317
|
-
* Page type whose pattern to change.
|
|
318
|
-
* `STORES_PRODUCT`.
|
|
338
|
+
* Page type whose pattern to change. Send a known page type name, such as
|
|
339
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
340
|
+
*
|
|
341
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`.
|
|
342
|
+
*
|
|
343
|
+
* See the list of [common page
|
|
344
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
319
345
|
* @maxLength 100
|
|
320
346
|
*/
|
|
321
347
|
pageType: string;
|
|
@@ -360,8 +386,13 @@ interface SetSeoPatternResponse {
|
|
|
360
386
|
}
|
|
361
387
|
interface ResetSeoPatternToDefaultRequest {
|
|
362
388
|
/**
|
|
363
|
-
* Page type whose pattern to reset.
|
|
364
|
-
* `STORES_PRODUCT`.
|
|
389
|
+
* Page type whose pattern to reset. Send a known page type name, such as
|
|
390
|
+
* `STATIC_PAGE`, `BLOG_POST`, or `STORES_PRODUCT`.
|
|
391
|
+
*
|
|
392
|
+
* An unknown name fails with `UNSUPPORTED_PAGE_TYPE`.
|
|
393
|
+
*
|
|
394
|
+
* See the list of [common page
|
|
395
|
+
* types](https://dev.wix.com/docs/api-reference/business-management/seo/seo-pattern-v1/introduction#page-types).
|
|
365
396
|
* @maxLength 100
|
|
366
397
|
*/
|
|
367
398
|
pageType: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_seo_seo-patterns",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -21,23 +21,16 @@
|
|
|
21
21
|
"import": "./build/es/meta.mjs",
|
|
22
22
|
"require": "./build/cjs/meta.js",
|
|
23
23
|
"types": "./build/es/meta.d.mts"
|
|
24
|
-
},
|
|
25
|
-
"./schemas": {
|
|
26
|
-
"import": "./build/es/schemas.mjs",
|
|
27
|
-
"require": "./build/cjs/schemas.js",
|
|
28
|
-
"types": "./build/es/schemas.d.mts"
|
|
29
24
|
}
|
|
30
25
|
},
|
|
31
26
|
"files": [
|
|
32
27
|
"build",
|
|
33
28
|
"meta",
|
|
34
|
-
"service-plugins"
|
|
35
|
-
"schemas"
|
|
29
|
+
"service-plugins"
|
|
36
30
|
],
|
|
37
31
|
"dependencies": {
|
|
38
32
|
"@wix/sdk-runtime": "^1.0.24",
|
|
39
|
-
"@wix/sdk-types": "^1.17.11"
|
|
40
|
-
"zod": "^4.3.6"
|
|
33
|
+
"@wix/sdk-types": "^1.17.11"
|
|
41
34
|
},
|
|
42
35
|
"devDependencies": {
|
|
43
36
|
"tsup": "^8.4.0",
|
|
@@ -57,5 +50,5 @@
|
|
|
57
50
|
"fqdn": "wix.promote.seo.v1.seo_pattern"
|
|
58
51
|
}
|
|
59
52
|
},
|
|
60
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "fb180e7603bbbc149ad3f546bbfed4578a8cbac9efd73a6951e29263"
|
|
61
54
|
}
|