@wix/auto_sdk_sites_sites 1.0.0 → 1.0.2
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/src/site-list-v2-site-sites.types.d.ts +35 -8
- package/build/cjs/src/site-list-v2-site-sites.types.js +2 -0
- package/build/cjs/src/site-list-v2-site-sites.types.js.map +1 -1
- package/build/cjs/src/site-list-v2-site-sites.universal.d.ts +35 -8
- package/build/cjs/src/site-list-v2-site-sites.universal.js +2 -0
- package/build/cjs/src/site-list-v2-site-sites.universal.js.map +1 -1
- package/build/es/src/site-list-v2-site-sites.types.d.ts +35 -8
- package/build/es/src/site-list-v2-site-sites.types.js +2 -0
- package/build/es/src/site-list-v2-site-sites.types.js.map +1 -1
- package/build/es/src/site-list-v2-site-sites.universal.d.ts +35 -8
- package/build/es/src/site-list-v2-site-sites.universal.js +2 -0
- package/build/es/src/site-list-v2-site-sites.universal.js.map +1 -1
- package/build/internal/cjs/src/site-list-v2-site-sites.types.d.ts +35 -8
- package/build/internal/cjs/src/site-list-v2-site-sites.types.js +2 -0
- package/build/internal/cjs/src/site-list-v2-site-sites.types.js.map +1 -1
- package/build/internal/cjs/src/site-list-v2-site-sites.universal.d.ts +35 -8
- package/build/internal/cjs/src/site-list-v2-site-sites.universal.js +2 -0
- package/build/internal/cjs/src/site-list-v2-site-sites.universal.js.map +1 -1
- package/build/internal/es/src/site-list-v2-site-sites.types.d.ts +35 -8
- package/build/internal/es/src/site-list-v2-site-sites.types.js +2 -0
- package/build/internal/es/src/site-list-v2-site-sites.types.js.map +1 -1
- package/build/internal/es/src/site-list-v2-site-sites.universal.d.ts +35 -8
- package/build/internal/es/src/site-list-v2-site-sites.universal.js +2 -0
- package/build/internal/es/src/site-list-v2-site-sites.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export interface Site {
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Site ID.
|
|
4
|
+
* @format GUID
|
|
5
|
+
*/
|
|
3
6
|
id?: string;
|
|
4
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* HTML app ID for the site.
|
|
9
|
+
* @format GUID
|
|
10
|
+
*/
|
|
5
11
|
htmlAppId?: string | null;
|
|
6
12
|
/** Site name. Used in the site's URL. */
|
|
7
13
|
name?: string;
|
|
@@ -23,15 +29,26 @@ export interface Site {
|
|
|
23
29
|
editUrl?: string;
|
|
24
30
|
/** Site thumbnail. */
|
|
25
31
|
thumbnail?: string;
|
|
26
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Site owner's account ID.
|
|
34
|
+
* @format GUID
|
|
35
|
+
*/
|
|
27
36
|
ownerAccountId?: string;
|
|
28
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Site contributors' account IDs.
|
|
39
|
+
* @format GUID
|
|
40
|
+
* @minSize 1
|
|
41
|
+
* @maxSize 1000
|
|
42
|
+
*/
|
|
29
43
|
contributorAccountIds?: string[];
|
|
30
44
|
/** Site's Wix editor type. */
|
|
31
45
|
editorType?: EditorType;
|
|
32
46
|
/** Whether Wix has blocked this site due to legal issues. */
|
|
33
47
|
blocked?: boolean;
|
|
34
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Folder ID that contains this site. Empty if site is at root level.
|
|
50
|
+
* @format GUID
|
|
51
|
+
*/
|
|
35
52
|
folderId?: string | null;
|
|
36
53
|
/** Namespace of the site, for internal use. */
|
|
37
54
|
namespace?: Namespace;
|
|
@@ -119,7 +136,9 @@ export declare enum Namespace {
|
|
|
119
136
|
* Shared Blog Site is a unique single site across Enterprise account,
|
|
120
137
|
* This site will hold all Blog posts related to the Marketing product.
|
|
121
138
|
*/
|
|
122
|
-
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE"
|
|
139
|
+
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
|
|
140
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
141
|
+
STANDALONE_FORMS = "STANDALONE_FORMS"
|
|
123
142
|
}
|
|
124
143
|
export interface QuerySitesRequest {
|
|
125
144
|
/**
|
|
@@ -148,6 +167,7 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
148
167
|
/**
|
|
149
168
|
* Sort object with the following format:
|
|
150
169
|
* `[{"fieldName":"displayName","order":"ASC"},{"fieldName":"createdDate","order":"DESC"}]`
|
|
170
|
+
* @maxSize 4
|
|
151
171
|
*/
|
|
152
172
|
sort?: Sorting[];
|
|
153
173
|
}
|
|
@@ -161,7 +181,10 @@ export interface QueryV2PagingMethodOneOf {
|
|
|
161
181
|
cursorPaging?: CursorPaging;
|
|
162
182
|
}
|
|
163
183
|
export interface Sorting {
|
|
164
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Name of the field to sort by.
|
|
186
|
+
* @maxLength 512
|
|
187
|
+
*/
|
|
165
188
|
fieldName?: string;
|
|
166
189
|
/** Sort order. */
|
|
167
190
|
order?: SortOrder;
|
|
@@ -171,13 +194,17 @@ export declare enum SortOrder {
|
|
|
171
194
|
DESC = "DESC"
|
|
172
195
|
}
|
|
173
196
|
export interface CursorPaging {
|
|
174
|
-
/**
|
|
197
|
+
/**
|
|
198
|
+
* Maximum number of items to return in the results.
|
|
199
|
+
* @max 100
|
|
200
|
+
*/
|
|
175
201
|
limit?: number | null;
|
|
176
202
|
/**
|
|
177
203
|
* Pointer to the next or previous page in the list of results.
|
|
178
204
|
*
|
|
179
205
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
180
206
|
* Not relevant for the first request.
|
|
207
|
+
* @maxLength 16000
|
|
181
208
|
*/
|
|
182
209
|
cursor?: string | null;
|
|
183
210
|
}
|
|
@@ -85,6 +85,8 @@ var Namespace;
|
|
|
85
85
|
* This site will hold all Blog posts related to the Marketing product.
|
|
86
86
|
*/
|
|
87
87
|
Namespace["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
88
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
89
|
+
Namespace["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
88
90
|
})(Namespace || (exports.Namespace = Namespace = {}));
|
|
89
91
|
var SortOrder;
|
|
90
92
|
(function (SortOrder) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-list-v2-site-sites.types.js","sourceRoot":"","sources":["../../../src/site-list-v2-site-sites.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"site-list-v2-site-sites.types.js","sourceRoot":"","sources":["../../../src/site-list-v2-site-sites.types.ts"],"names":[],"mappings":";;;AA0DA,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;IACjB,yBAAW,CAAA;IACX,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;AACnB,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB;AAED,IAAY,SA6EX;AA7ED,WAAY,SAAS;IACnB,oDAAuC,CAAA;IACvC,qHAAqH;IACrH,wBAAW,CAAA;IACX,6KAA6K;IAC7K,oCAAuB,CAAA;IACvB,0KAA0K;IAC1K,8BAAiB,CAAA;IACjB,6RAA6R;IAC7R,4DAA+C,CAAA;IAC/C,wHAAwH;IACxH,8BAAiB,CAAA;IACjB,kJAAkJ;IAClJ,4BAAe,CAAA;IACf,2HAA2H;IAC3H,kDAAqC,CAAA;IACrC,iIAAiI;IACjI,kCAAqB,CAAA;IACrB,sJAAsJ;IACtJ,4BAAe,CAAA;IACf,wJAAwJ;IACxJ,wCAA2B,CAAA;IAC3B,0FAA0F;IAC1F,oDAAuC,CAAA;IACvC,0FAA0F;IAC1F,sDAAyC,CAAA;IACzC;;;;OAIG;IACH,sCAAyB,CAAA;IACzB;;;;OAIG;IACH,oDAAuC,CAAA;IACvC,oGAAoG;IACpG,gDAAmC,CAAA;IACnC,sDAAsD;IACtD,gDAAmC,CAAA;IACnC,2CAA2C;IAC3C,kCAAqB,CAAA;IACrB,uDAAuD;IACvD,kCAAqB,CAAA;IACrB;;;OAGG;IACH,sDAAyC,CAAA;IACzC,2EAA2E;IAC3E,0BAAa,CAAA;IACb;;;;OAIG;IACH,4CAA+B,CAAA;IAC/B,0EAA0E;IAC1E,8BAAiB,CAAA;IACjB;;;OAGG;IACH,0CAA6B,CAAA;IAC7B,2BAA2B;IAC3B,4BAAe,CAAA;IACf,gCAAgC;IAChC,0DAA6C,CAAA;IAC7C;;;OAGG;IACH,8DAAiD,CAAA;IACjD,uHAAuH;IACvH,kDAAqC,CAAA;AACvC,CAAC,EA7EW,SAAS,yBAAT,SAAS,QA6EpB;AAuDD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export interface Site {
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Site ID.
|
|
4
|
+
* @format GUID
|
|
5
|
+
*/
|
|
3
6
|
_id?: string;
|
|
4
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* HTML app ID for the site.
|
|
9
|
+
* @format GUID
|
|
10
|
+
*/
|
|
5
11
|
htmlAppId?: string | null;
|
|
6
12
|
/** Site name. Used in the site's URL. */
|
|
7
13
|
name?: string;
|
|
@@ -23,15 +29,26 @@ export interface Site {
|
|
|
23
29
|
editUrl?: string;
|
|
24
30
|
/** Site thumbnail. */
|
|
25
31
|
thumbnail?: string;
|
|
26
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Site owner's account ID.
|
|
34
|
+
* @format GUID
|
|
35
|
+
*/
|
|
27
36
|
ownerAccountId?: string;
|
|
28
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Site contributors' account IDs.
|
|
39
|
+
* @format GUID
|
|
40
|
+
* @minSize 1
|
|
41
|
+
* @maxSize 1000
|
|
42
|
+
*/
|
|
29
43
|
contributorAccountIds?: string[];
|
|
30
44
|
/** Site's Wix editor type. */
|
|
31
45
|
editorType?: EditorType;
|
|
32
46
|
/** Whether Wix has blocked this site due to legal issues. */
|
|
33
47
|
blocked?: boolean;
|
|
34
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Folder ID that contains this site. Empty if site is at root level.
|
|
50
|
+
* @format GUID
|
|
51
|
+
*/
|
|
35
52
|
folderId?: string | null;
|
|
36
53
|
/** Namespace of the site, for internal use. */
|
|
37
54
|
namespace?: Namespace;
|
|
@@ -119,7 +136,9 @@ export declare enum Namespace {
|
|
|
119
136
|
* Shared Blog Site is a unique single site across Enterprise account,
|
|
120
137
|
* This site will hold all Blog posts related to the Marketing product.
|
|
121
138
|
*/
|
|
122
|
-
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE"
|
|
139
|
+
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
|
|
140
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
141
|
+
STANDALONE_FORMS = "STANDALONE_FORMS"
|
|
123
142
|
}
|
|
124
143
|
export interface QuerySitesRequest {
|
|
125
144
|
/**
|
|
@@ -148,6 +167,7 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
148
167
|
/**
|
|
149
168
|
* Sort object with the following format:
|
|
150
169
|
* `[{"fieldName":"displayName","order":"ASC"},{"fieldName":"createdDate","order":"DESC"}]`
|
|
170
|
+
* @maxSize 4
|
|
151
171
|
*/
|
|
152
172
|
sort?: Sorting[];
|
|
153
173
|
}
|
|
@@ -161,7 +181,10 @@ export interface QueryV2PagingMethodOneOf {
|
|
|
161
181
|
cursorPaging?: CursorPaging;
|
|
162
182
|
}
|
|
163
183
|
export interface Sorting {
|
|
164
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Name of the field to sort by.
|
|
186
|
+
* @maxLength 512
|
|
187
|
+
*/
|
|
165
188
|
fieldName?: string;
|
|
166
189
|
/** Sort order. */
|
|
167
190
|
order?: SortOrder;
|
|
@@ -171,13 +194,17 @@ export declare enum SortOrder {
|
|
|
171
194
|
DESC = "DESC"
|
|
172
195
|
}
|
|
173
196
|
export interface CursorPaging {
|
|
174
|
-
/**
|
|
197
|
+
/**
|
|
198
|
+
* Maximum number of items to return in the results.
|
|
199
|
+
* @max 100
|
|
200
|
+
*/
|
|
175
201
|
limit?: number | null;
|
|
176
202
|
/**
|
|
177
203
|
* Pointer to the next or previous page in the list of results.
|
|
178
204
|
*
|
|
179
205
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
180
206
|
* Not relevant for the first request.
|
|
207
|
+
* @maxLength 16000
|
|
181
208
|
*/
|
|
182
209
|
cursor?: string | null;
|
|
183
210
|
}
|
|
@@ -111,6 +111,8 @@ var Namespace;
|
|
|
111
111
|
* This site will hold all Blog posts related to the Marketing product.
|
|
112
112
|
*/
|
|
113
113
|
Namespace["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
114
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
115
|
+
Namespace["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
114
116
|
})(Namespace || (exports.Namespace = Namespace = {}));
|
|
115
117
|
var SortOrder;
|
|
116
118
|
(function (SortOrder) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-list-v2-site-sites.universal.js","sourceRoot":"","sources":["../../../src/site-list-v2-site-sites.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,+FAAiF;
|
|
1
|
+
{"version":3,"file":"site-list-v2-site-sites.universal.js","sourceRoot":"","sources":["../../../src/site-list-v2-site-sites.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;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CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,MAAM,EAAE,OAAO,EAAE,MAAM;KACxB,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,2BAA2B,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IAEhE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE;YACnD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAnCD,gCAmCC"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export interface Site {
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Site ID.
|
|
4
|
+
* @format GUID
|
|
5
|
+
*/
|
|
3
6
|
id?: string;
|
|
4
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* HTML app ID for the site.
|
|
9
|
+
* @format GUID
|
|
10
|
+
*/
|
|
5
11
|
htmlAppId?: string | null;
|
|
6
12
|
/** Site name. Used in the site's URL. */
|
|
7
13
|
name?: string;
|
|
@@ -23,15 +29,26 @@ export interface Site {
|
|
|
23
29
|
editUrl?: string;
|
|
24
30
|
/** Site thumbnail. */
|
|
25
31
|
thumbnail?: string;
|
|
26
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Site owner's account ID.
|
|
34
|
+
* @format GUID
|
|
35
|
+
*/
|
|
27
36
|
ownerAccountId?: string;
|
|
28
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Site contributors' account IDs.
|
|
39
|
+
* @format GUID
|
|
40
|
+
* @minSize 1
|
|
41
|
+
* @maxSize 1000
|
|
42
|
+
*/
|
|
29
43
|
contributorAccountIds?: string[];
|
|
30
44
|
/** Site's Wix editor type. */
|
|
31
45
|
editorType?: EditorType;
|
|
32
46
|
/** Whether Wix has blocked this site due to legal issues. */
|
|
33
47
|
blocked?: boolean;
|
|
34
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Folder ID that contains this site. Empty if site is at root level.
|
|
50
|
+
* @format GUID
|
|
51
|
+
*/
|
|
35
52
|
folderId?: string | null;
|
|
36
53
|
/** Namespace of the site, for internal use. */
|
|
37
54
|
namespace?: Namespace;
|
|
@@ -119,7 +136,9 @@ export declare enum Namespace {
|
|
|
119
136
|
* Shared Blog Site is a unique single site across Enterprise account,
|
|
120
137
|
* This site will hold all Blog posts related to the Marketing product.
|
|
121
138
|
*/
|
|
122
|
-
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE"
|
|
139
|
+
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
|
|
140
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
141
|
+
STANDALONE_FORMS = "STANDALONE_FORMS"
|
|
123
142
|
}
|
|
124
143
|
export interface QuerySitesRequest {
|
|
125
144
|
/**
|
|
@@ -148,6 +167,7 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
148
167
|
/**
|
|
149
168
|
* Sort object with the following format:
|
|
150
169
|
* `[{"fieldName":"displayName","order":"ASC"},{"fieldName":"createdDate","order":"DESC"}]`
|
|
170
|
+
* @maxSize 4
|
|
151
171
|
*/
|
|
152
172
|
sort?: Sorting[];
|
|
153
173
|
}
|
|
@@ -161,7 +181,10 @@ export interface QueryV2PagingMethodOneOf {
|
|
|
161
181
|
cursorPaging?: CursorPaging;
|
|
162
182
|
}
|
|
163
183
|
export interface Sorting {
|
|
164
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Name of the field to sort by.
|
|
186
|
+
* @maxLength 512
|
|
187
|
+
*/
|
|
165
188
|
fieldName?: string;
|
|
166
189
|
/** Sort order. */
|
|
167
190
|
order?: SortOrder;
|
|
@@ -171,13 +194,17 @@ export declare enum SortOrder {
|
|
|
171
194
|
DESC = "DESC"
|
|
172
195
|
}
|
|
173
196
|
export interface CursorPaging {
|
|
174
|
-
/**
|
|
197
|
+
/**
|
|
198
|
+
* Maximum number of items to return in the results.
|
|
199
|
+
* @max 100
|
|
200
|
+
*/
|
|
175
201
|
limit?: number | null;
|
|
176
202
|
/**
|
|
177
203
|
* Pointer to the next or previous page in the list of results.
|
|
178
204
|
*
|
|
179
205
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
180
206
|
* Not relevant for the first request.
|
|
207
|
+
* @maxLength 16000
|
|
181
208
|
*/
|
|
182
209
|
cursor?: string | null;
|
|
183
210
|
}
|
|
@@ -82,6 +82,8 @@ export var Namespace;
|
|
|
82
82
|
* This site will hold all Blog posts related to the Marketing product.
|
|
83
83
|
*/
|
|
84
84
|
Namespace["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
85
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
86
|
+
Namespace["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
85
87
|
})(Namespace || (Namespace = {}));
|
|
86
88
|
export var SortOrder;
|
|
87
89
|
(function (SortOrder) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-list-v2-site-sites.types.js","sourceRoot":"","sources":["../../../src/site-list-v2-site-sites.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"site-list-v2-site-sites.types.js","sourceRoot":"","sources":["../../../src/site-list-v2-site-sites.types.ts"],"names":[],"mappings":"AA0DA,MAAM,CAAN,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;IACjB,yBAAW,CAAA;IACX,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;AACnB,CAAC,EANW,UAAU,KAAV,UAAU,QAMrB;AAED,MAAM,CAAN,IAAY,SA6EX;AA7ED,WAAY,SAAS;IACnB,oDAAuC,CAAA;IACvC,qHAAqH;IACrH,wBAAW,CAAA;IACX,6KAA6K;IAC7K,oCAAuB,CAAA;IACvB,0KAA0K;IAC1K,8BAAiB,CAAA;IACjB,6RAA6R;IAC7R,4DAA+C,CAAA;IAC/C,wHAAwH;IACxH,8BAAiB,CAAA;IACjB,kJAAkJ;IAClJ,4BAAe,CAAA;IACf,2HAA2H;IAC3H,kDAAqC,CAAA;IACrC,iIAAiI;IACjI,kCAAqB,CAAA;IACrB,sJAAsJ;IACtJ,4BAAe,CAAA;IACf,wJAAwJ;IACxJ,wCAA2B,CAAA;IAC3B,0FAA0F;IAC1F,oDAAuC,CAAA;IACvC,0FAA0F;IAC1F,sDAAyC,CAAA;IACzC;;;;OAIG;IACH,sCAAyB,CAAA;IACzB;;;;OAIG;IACH,oDAAuC,CAAA;IACvC,oGAAoG;IACpG,gDAAmC,CAAA;IACnC,sDAAsD;IACtD,gDAAmC,CAAA;IACnC,2CAA2C;IAC3C,kCAAqB,CAAA;IACrB,uDAAuD;IACvD,kCAAqB,CAAA;IACrB;;;OAGG;IACH,sDAAyC,CAAA;IACzC,2EAA2E;IAC3E,0BAAa,CAAA;IACb;;;;OAIG;IACH,4CAA+B,CAAA;IAC/B,0EAA0E;IAC1E,8BAAiB,CAAA;IACjB;;;OAGG;IACH,0CAA6B,CAAA;IAC7B,2BAA2B;IAC3B,4BAAe,CAAA;IACf,gCAAgC;IAChC,0DAA6C,CAAA;IAC7C;;;OAGG;IACH,8DAAiD,CAAA;IACjD,uHAAuH;IACvH,kDAAqC,CAAA;AACvC,CAAC,EA7EW,SAAS,KAAT,SAAS,QA6EpB;AAuDD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export interface Site {
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Site ID.
|
|
4
|
+
* @format GUID
|
|
5
|
+
*/
|
|
3
6
|
_id?: string;
|
|
4
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* HTML app ID for the site.
|
|
9
|
+
* @format GUID
|
|
10
|
+
*/
|
|
5
11
|
htmlAppId?: string | null;
|
|
6
12
|
/** Site name. Used in the site's URL. */
|
|
7
13
|
name?: string;
|
|
@@ -23,15 +29,26 @@ export interface Site {
|
|
|
23
29
|
editUrl?: string;
|
|
24
30
|
/** Site thumbnail. */
|
|
25
31
|
thumbnail?: string;
|
|
26
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Site owner's account ID.
|
|
34
|
+
* @format GUID
|
|
35
|
+
*/
|
|
27
36
|
ownerAccountId?: string;
|
|
28
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Site contributors' account IDs.
|
|
39
|
+
* @format GUID
|
|
40
|
+
* @minSize 1
|
|
41
|
+
* @maxSize 1000
|
|
42
|
+
*/
|
|
29
43
|
contributorAccountIds?: string[];
|
|
30
44
|
/** Site's Wix editor type. */
|
|
31
45
|
editorType?: EditorType;
|
|
32
46
|
/** Whether Wix has blocked this site due to legal issues. */
|
|
33
47
|
blocked?: boolean;
|
|
34
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Folder ID that contains this site. Empty if site is at root level.
|
|
50
|
+
* @format GUID
|
|
51
|
+
*/
|
|
35
52
|
folderId?: string | null;
|
|
36
53
|
/** Namespace of the site, for internal use. */
|
|
37
54
|
namespace?: Namespace;
|
|
@@ -119,7 +136,9 @@ export declare enum Namespace {
|
|
|
119
136
|
* Shared Blog Site is a unique single site across Enterprise account,
|
|
120
137
|
* This site will hold all Blog posts related to the Marketing product.
|
|
121
138
|
*/
|
|
122
|
-
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE"
|
|
139
|
+
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
|
|
140
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
141
|
+
STANDALONE_FORMS = "STANDALONE_FORMS"
|
|
123
142
|
}
|
|
124
143
|
export interface QuerySitesRequest {
|
|
125
144
|
/**
|
|
@@ -148,6 +167,7 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
148
167
|
/**
|
|
149
168
|
* Sort object with the following format:
|
|
150
169
|
* `[{"fieldName":"displayName","order":"ASC"},{"fieldName":"createdDate","order":"DESC"}]`
|
|
170
|
+
* @maxSize 4
|
|
151
171
|
*/
|
|
152
172
|
sort?: Sorting[];
|
|
153
173
|
}
|
|
@@ -161,7 +181,10 @@ export interface QueryV2PagingMethodOneOf {
|
|
|
161
181
|
cursorPaging?: CursorPaging;
|
|
162
182
|
}
|
|
163
183
|
export interface Sorting {
|
|
164
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Name of the field to sort by.
|
|
186
|
+
* @maxLength 512
|
|
187
|
+
*/
|
|
165
188
|
fieldName?: string;
|
|
166
189
|
/** Sort order. */
|
|
167
190
|
order?: SortOrder;
|
|
@@ -171,13 +194,17 @@ export declare enum SortOrder {
|
|
|
171
194
|
DESC = "DESC"
|
|
172
195
|
}
|
|
173
196
|
export interface CursorPaging {
|
|
174
|
-
/**
|
|
197
|
+
/**
|
|
198
|
+
* Maximum number of items to return in the results.
|
|
199
|
+
* @max 100
|
|
200
|
+
*/
|
|
175
201
|
limit?: number | null;
|
|
176
202
|
/**
|
|
177
203
|
* Pointer to the next or previous page in the list of results.
|
|
178
204
|
*
|
|
179
205
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
180
206
|
* Not relevant for the first request.
|
|
207
|
+
* @maxLength 16000
|
|
181
208
|
*/
|
|
182
209
|
cursor?: string | null;
|
|
183
210
|
}
|
|
@@ -85,6 +85,8 @@ export var Namespace;
|
|
|
85
85
|
* This site will hold all Blog posts related to the Marketing product.
|
|
86
86
|
*/
|
|
87
87
|
Namespace["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
88
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
89
|
+
Namespace["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
88
90
|
})(Namespace || (Namespace = {}));
|
|
89
91
|
export var SortOrder;
|
|
90
92
|
(function (SortOrder) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-list-v2-site-sites.universal.js","sourceRoot":"","sources":["../../../src/site-list-v2-site-sites.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,2BAA2B,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"site-list-v2-site-sites.universal.js","sourceRoot":"","sources":["../../../src/site-list-v2-site-sites.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,2BAA2B,MAAM,mCAAmC,CAAC;AA4DjF,MAAM,CAAN,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,iC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,EAAE,MAAM;KACxB,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,2BAA2B,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IAEhE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE;YACnD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export interface Site {
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Site ID.
|
|
4
|
+
* @format GUID
|
|
5
|
+
*/
|
|
3
6
|
id?: string;
|
|
4
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* HTML app ID for the site.
|
|
9
|
+
* @format GUID
|
|
10
|
+
*/
|
|
5
11
|
htmlAppId?: string | null;
|
|
6
12
|
/** Site name. Used in the site's URL. */
|
|
7
13
|
name?: string;
|
|
@@ -23,15 +29,26 @@ export interface Site {
|
|
|
23
29
|
editUrl?: string;
|
|
24
30
|
/** Site thumbnail. */
|
|
25
31
|
thumbnail?: string;
|
|
26
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Site owner's account ID.
|
|
34
|
+
* @format GUID
|
|
35
|
+
*/
|
|
27
36
|
ownerAccountId?: string;
|
|
28
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Site contributors' account IDs.
|
|
39
|
+
* @format GUID
|
|
40
|
+
* @minSize 1
|
|
41
|
+
* @maxSize 1000
|
|
42
|
+
*/
|
|
29
43
|
contributorAccountIds?: string[];
|
|
30
44
|
/** Site's Wix editor type. */
|
|
31
45
|
editorType?: EditorType;
|
|
32
46
|
/** Whether Wix has blocked this site due to legal issues. */
|
|
33
47
|
blocked?: boolean;
|
|
34
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Folder ID that contains this site. Empty if site is at root level.
|
|
50
|
+
* @format GUID
|
|
51
|
+
*/
|
|
35
52
|
folderId?: string | null;
|
|
36
53
|
/** Namespace of the site, for internal use. */
|
|
37
54
|
namespace?: Namespace;
|
|
@@ -119,7 +136,9 @@ export declare enum Namespace {
|
|
|
119
136
|
* Shared Blog Site is a unique single site across Enterprise account,
|
|
120
137
|
* This site will hold all Blog posts related to the Marketing product.
|
|
121
138
|
*/
|
|
122
|
-
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE"
|
|
139
|
+
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
|
|
140
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
141
|
+
STANDALONE_FORMS = "STANDALONE_FORMS"
|
|
123
142
|
}
|
|
124
143
|
export interface QuerySitesRequest {
|
|
125
144
|
/**
|
|
@@ -148,6 +167,7 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
148
167
|
/**
|
|
149
168
|
* Sort object with the following format:
|
|
150
169
|
* `[{"fieldName":"displayName","order":"ASC"},{"fieldName":"createdDate","order":"DESC"}]`
|
|
170
|
+
* @maxSize 4
|
|
151
171
|
*/
|
|
152
172
|
sort?: Sorting[];
|
|
153
173
|
}
|
|
@@ -161,7 +181,10 @@ export interface QueryV2PagingMethodOneOf {
|
|
|
161
181
|
cursorPaging?: CursorPaging;
|
|
162
182
|
}
|
|
163
183
|
export interface Sorting {
|
|
164
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Name of the field to sort by.
|
|
186
|
+
* @maxLength 512
|
|
187
|
+
*/
|
|
165
188
|
fieldName?: string;
|
|
166
189
|
/** Sort order. */
|
|
167
190
|
order?: SortOrder;
|
|
@@ -171,13 +194,17 @@ export declare enum SortOrder {
|
|
|
171
194
|
DESC = "DESC"
|
|
172
195
|
}
|
|
173
196
|
export interface CursorPaging {
|
|
174
|
-
/**
|
|
197
|
+
/**
|
|
198
|
+
* Maximum number of items to return in the results.
|
|
199
|
+
* @max 100
|
|
200
|
+
*/
|
|
175
201
|
limit?: number | null;
|
|
176
202
|
/**
|
|
177
203
|
* Pointer to the next or previous page in the list of results.
|
|
178
204
|
*
|
|
179
205
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
180
206
|
* Not relevant for the first request.
|
|
207
|
+
* @maxLength 16000
|
|
181
208
|
*/
|
|
182
209
|
cursor?: string | null;
|
|
183
210
|
}
|
|
@@ -85,6 +85,8 @@ var Namespace;
|
|
|
85
85
|
* This site will hold all Blog posts related to the Marketing product.
|
|
86
86
|
*/
|
|
87
87
|
Namespace["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
88
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
89
|
+
Namespace["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
88
90
|
})(Namespace || (exports.Namespace = Namespace = {}));
|
|
89
91
|
var SortOrder;
|
|
90
92
|
(function (SortOrder) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-list-v2-site-sites.types.js","sourceRoot":"","sources":["../../../../src/site-list-v2-site-sites.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"site-list-v2-site-sites.types.js","sourceRoot":"","sources":["../../../../src/site-list-v2-site-sites.types.ts"],"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AT,SAAS,QA6EpB;AAuDD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export interface Site {
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Site ID.
|
|
4
|
+
* @format GUID
|
|
5
|
+
*/
|
|
3
6
|
_id?: string;
|
|
4
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* HTML app ID for the site.
|
|
9
|
+
* @format GUID
|
|
10
|
+
*/
|
|
5
11
|
htmlAppId?: string | null;
|
|
6
12
|
/** Site name. Used in the site's URL. */
|
|
7
13
|
name?: string;
|
|
@@ -23,15 +29,26 @@ export interface Site {
|
|
|
23
29
|
editUrl?: string;
|
|
24
30
|
/** Site thumbnail. */
|
|
25
31
|
thumbnail?: string;
|
|
26
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Site owner's account ID.
|
|
34
|
+
* @format GUID
|
|
35
|
+
*/
|
|
27
36
|
ownerAccountId?: string;
|
|
28
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Site contributors' account IDs.
|
|
39
|
+
* @format GUID
|
|
40
|
+
* @minSize 1
|
|
41
|
+
* @maxSize 1000
|
|
42
|
+
*/
|
|
29
43
|
contributorAccountIds?: string[];
|
|
30
44
|
/** Site's Wix editor type. */
|
|
31
45
|
editorType?: EditorType;
|
|
32
46
|
/** Whether Wix has blocked this site due to legal issues. */
|
|
33
47
|
blocked?: boolean;
|
|
34
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Folder ID that contains this site. Empty if site is at root level.
|
|
50
|
+
* @format GUID
|
|
51
|
+
*/
|
|
35
52
|
folderId?: string | null;
|
|
36
53
|
/** Namespace of the site, for internal use. */
|
|
37
54
|
namespace?: Namespace;
|
|
@@ -119,7 +136,9 @@ export declare enum Namespace {
|
|
|
119
136
|
* Shared Blog Site is a unique single site across Enterprise account,
|
|
120
137
|
* This site will hold all Blog posts related to the Marketing product.
|
|
121
138
|
*/
|
|
122
|
-
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE"
|
|
139
|
+
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
|
|
140
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
141
|
+
STANDALONE_FORMS = "STANDALONE_FORMS"
|
|
123
142
|
}
|
|
124
143
|
export interface QuerySitesRequest {
|
|
125
144
|
/**
|
|
@@ -148,6 +167,7 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
148
167
|
/**
|
|
149
168
|
* Sort object with the following format:
|
|
150
169
|
* `[{"fieldName":"displayName","order":"ASC"},{"fieldName":"createdDate","order":"DESC"}]`
|
|
170
|
+
* @maxSize 4
|
|
151
171
|
*/
|
|
152
172
|
sort?: Sorting[];
|
|
153
173
|
}
|
|
@@ -161,7 +181,10 @@ export interface QueryV2PagingMethodOneOf {
|
|
|
161
181
|
cursorPaging?: CursorPaging;
|
|
162
182
|
}
|
|
163
183
|
export interface Sorting {
|
|
164
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Name of the field to sort by.
|
|
186
|
+
* @maxLength 512
|
|
187
|
+
*/
|
|
165
188
|
fieldName?: string;
|
|
166
189
|
/** Sort order. */
|
|
167
190
|
order?: SortOrder;
|
|
@@ -171,13 +194,17 @@ export declare enum SortOrder {
|
|
|
171
194
|
DESC = "DESC"
|
|
172
195
|
}
|
|
173
196
|
export interface CursorPaging {
|
|
174
|
-
/**
|
|
197
|
+
/**
|
|
198
|
+
* Maximum number of items to return in the results.
|
|
199
|
+
* @max 100
|
|
200
|
+
*/
|
|
175
201
|
limit?: number | null;
|
|
176
202
|
/**
|
|
177
203
|
* Pointer to the next or previous page in the list of results.
|
|
178
204
|
*
|
|
179
205
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
180
206
|
* Not relevant for the first request.
|
|
207
|
+
* @maxLength 16000
|
|
181
208
|
*/
|
|
182
209
|
cursor?: string | null;
|
|
183
210
|
}
|
|
@@ -111,6 +111,8 @@ var Namespace;
|
|
|
111
111
|
* This site will hold all Blog posts related to the Marketing product.
|
|
112
112
|
*/
|
|
113
113
|
Namespace["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
114
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
115
|
+
Namespace["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
114
116
|
})(Namespace || (exports.Namespace = Namespace = {}));
|
|
115
117
|
var SortOrder;
|
|
116
118
|
(function (SortOrder) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-list-v2-site-sites.universal.js","sourceRoot":"","sources":["../../../../src/site-list-v2-site-sites.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,+FAAiF;
|
|
1
|
+
{"version":3,"file":"site-list-v2-site-sites.universal.js","sourceRoot":"","sources":["../../../../src/site-list-v2-site-sites.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,+FAAiF;AA4DjF,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;IACjB,yBAAW,CAAA;IACX,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;AACnB,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB;AAED,IAAY,SA6EX;AA7ED,WAAY,SAAS;IACnB,oDAAuC,CAAA;IACvC,qHAAqH;IACrH,wBAAW,CAAA;IACX,6KAA6K;IAC7K,oCAAuB,CAAA;IACvB,0KAA0K;IAC1K,8BAAiB,CAAA;IACjB,6RAA6R;IAC7R,4DAA+C,CAAA;IAC/C,wHA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C;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE;YACnD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAnCD,gCAmCC"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export interface Site {
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Site ID.
|
|
4
|
+
* @format GUID
|
|
5
|
+
*/
|
|
3
6
|
id?: string;
|
|
4
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* HTML app ID for the site.
|
|
9
|
+
* @format GUID
|
|
10
|
+
*/
|
|
5
11
|
htmlAppId?: string | null;
|
|
6
12
|
/** Site name. Used in the site's URL. */
|
|
7
13
|
name?: string;
|
|
@@ -23,15 +29,26 @@ export interface Site {
|
|
|
23
29
|
editUrl?: string;
|
|
24
30
|
/** Site thumbnail. */
|
|
25
31
|
thumbnail?: string;
|
|
26
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Site owner's account ID.
|
|
34
|
+
* @format GUID
|
|
35
|
+
*/
|
|
27
36
|
ownerAccountId?: string;
|
|
28
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Site contributors' account IDs.
|
|
39
|
+
* @format GUID
|
|
40
|
+
* @minSize 1
|
|
41
|
+
* @maxSize 1000
|
|
42
|
+
*/
|
|
29
43
|
contributorAccountIds?: string[];
|
|
30
44
|
/** Site's Wix editor type. */
|
|
31
45
|
editorType?: EditorType;
|
|
32
46
|
/** Whether Wix has blocked this site due to legal issues. */
|
|
33
47
|
blocked?: boolean;
|
|
34
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Folder ID that contains this site. Empty if site is at root level.
|
|
50
|
+
* @format GUID
|
|
51
|
+
*/
|
|
35
52
|
folderId?: string | null;
|
|
36
53
|
/** Namespace of the site, for internal use. */
|
|
37
54
|
namespace?: Namespace;
|
|
@@ -119,7 +136,9 @@ export declare enum Namespace {
|
|
|
119
136
|
* Shared Blog Site is a unique single site across Enterprise account,
|
|
120
137
|
* This site will hold all Blog posts related to the Marketing product.
|
|
121
138
|
*/
|
|
122
|
-
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE"
|
|
139
|
+
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
|
|
140
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
141
|
+
STANDALONE_FORMS = "STANDALONE_FORMS"
|
|
123
142
|
}
|
|
124
143
|
export interface QuerySitesRequest {
|
|
125
144
|
/**
|
|
@@ -148,6 +167,7 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
148
167
|
/**
|
|
149
168
|
* Sort object with the following format:
|
|
150
169
|
* `[{"fieldName":"displayName","order":"ASC"},{"fieldName":"createdDate","order":"DESC"}]`
|
|
170
|
+
* @maxSize 4
|
|
151
171
|
*/
|
|
152
172
|
sort?: Sorting[];
|
|
153
173
|
}
|
|
@@ -161,7 +181,10 @@ export interface QueryV2PagingMethodOneOf {
|
|
|
161
181
|
cursorPaging?: CursorPaging;
|
|
162
182
|
}
|
|
163
183
|
export interface Sorting {
|
|
164
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Name of the field to sort by.
|
|
186
|
+
* @maxLength 512
|
|
187
|
+
*/
|
|
165
188
|
fieldName?: string;
|
|
166
189
|
/** Sort order. */
|
|
167
190
|
order?: SortOrder;
|
|
@@ -171,13 +194,17 @@ export declare enum SortOrder {
|
|
|
171
194
|
DESC = "DESC"
|
|
172
195
|
}
|
|
173
196
|
export interface CursorPaging {
|
|
174
|
-
/**
|
|
197
|
+
/**
|
|
198
|
+
* Maximum number of items to return in the results.
|
|
199
|
+
* @max 100
|
|
200
|
+
*/
|
|
175
201
|
limit?: number | null;
|
|
176
202
|
/**
|
|
177
203
|
* Pointer to the next or previous page in the list of results.
|
|
178
204
|
*
|
|
179
205
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
180
206
|
* Not relevant for the first request.
|
|
207
|
+
* @maxLength 16000
|
|
181
208
|
*/
|
|
182
209
|
cursor?: string | null;
|
|
183
210
|
}
|
|
@@ -82,6 +82,8 @@ export var Namespace;
|
|
|
82
82
|
* This site will hold all Blog posts related to the Marketing product.
|
|
83
83
|
*/
|
|
84
84
|
Namespace["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
85
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
86
|
+
Namespace["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
85
87
|
})(Namespace || (Namespace = {}));
|
|
86
88
|
export var SortOrder;
|
|
87
89
|
(function (SortOrder) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-list-v2-site-sites.types.js","sourceRoot":"","sources":["../../../../src/site-list-v2-site-sites.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"site-list-v2-site-sites.types.js","sourceRoot":"","sources":["../../../../src/site-list-v2-site-sites.types.ts"],"names":[],"mappings":"AA0DA,MAAM,CAAN,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;IACjB,yBAAW,CAAA;IACX,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;AACnB,CAAC,EANW,UAAU,KAAV,UAAU,QAMrB;AAED,MAAM,CAAN,IAAY,SA6EX;AA7ED,WAAY,SAAS;IACnB,oDAAuC,CAAA;IACvC,qHAAqH;IACrH,wBAAW,CAAA;IACX,6KAA6K;IAC7K,oCAA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|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* HTML app ID for the site.
|
|
9
|
+
* @format GUID
|
|
10
|
+
*/
|
|
5
11
|
htmlAppId?: string | null;
|
|
6
12
|
/** Site name. Used in the site's URL. */
|
|
7
13
|
name?: string;
|
|
@@ -23,15 +29,26 @@ export interface Site {
|
|
|
23
29
|
editUrl?: string;
|
|
24
30
|
/** Site thumbnail. */
|
|
25
31
|
thumbnail?: string;
|
|
26
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Site owner's account ID.
|
|
34
|
+
* @format GUID
|
|
35
|
+
*/
|
|
27
36
|
ownerAccountId?: string;
|
|
28
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Site contributors' account IDs.
|
|
39
|
+
* @format GUID
|
|
40
|
+
* @minSize 1
|
|
41
|
+
* @maxSize 1000
|
|
42
|
+
*/
|
|
29
43
|
contributorAccountIds?: string[];
|
|
30
44
|
/** Site's Wix editor type. */
|
|
31
45
|
editorType?: EditorType;
|
|
32
46
|
/** Whether Wix has blocked this site due to legal issues. */
|
|
33
47
|
blocked?: boolean;
|
|
34
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Folder ID that contains this site. Empty if site is at root level.
|
|
50
|
+
* @format GUID
|
|
51
|
+
*/
|
|
35
52
|
folderId?: string | null;
|
|
36
53
|
/** Namespace of the site, for internal use. */
|
|
37
54
|
namespace?: Namespace;
|
|
@@ -119,7 +136,9 @@ export declare enum Namespace {
|
|
|
119
136
|
* Shared Blog Site is a unique single site across Enterprise account,
|
|
120
137
|
* This site will hold all Blog posts related to the Marketing product.
|
|
121
138
|
*/
|
|
122
|
-
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE"
|
|
139
|
+
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
|
|
140
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
141
|
+
STANDALONE_FORMS = "STANDALONE_FORMS"
|
|
123
142
|
}
|
|
124
143
|
export interface QuerySitesRequest {
|
|
125
144
|
/**
|
|
@@ -148,6 +167,7 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
148
167
|
/**
|
|
149
168
|
* Sort object with the following format:
|
|
150
169
|
* `[{"fieldName":"displayName","order":"ASC"},{"fieldName":"createdDate","order":"DESC"}]`
|
|
170
|
+
* @maxSize 4
|
|
151
171
|
*/
|
|
152
172
|
sort?: Sorting[];
|
|
153
173
|
}
|
|
@@ -161,7 +181,10 @@ export interface QueryV2PagingMethodOneOf {
|
|
|
161
181
|
cursorPaging?: CursorPaging;
|
|
162
182
|
}
|
|
163
183
|
export interface Sorting {
|
|
164
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Name of the field to sort by.
|
|
186
|
+
* @maxLength 512
|
|
187
|
+
*/
|
|
165
188
|
fieldName?: string;
|
|
166
189
|
/** Sort order. */
|
|
167
190
|
order?: SortOrder;
|
|
@@ -171,13 +194,17 @@ export declare enum SortOrder {
|
|
|
171
194
|
DESC = "DESC"
|
|
172
195
|
}
|
|
173
196
|
export interface CursorPaging {
|
|
174
|
-
/**
|
|
197
|
+
/**
|
|
198
|
+
* Maximum number of items to return in the results.
|
|
199
|
+
* @max 100
|
|
200
|
+
*/
|
|
175
201
|
limit?: number | null;
|
|
176
202
|
/**
|
|
177
203
|
* Pointer to the next or previous page in the list of results.
|
|
178
204
|
*
|
|
179
205
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
180
206
|
* Not relevant for the first request.
|
|
207
|
+
* @maxLength 16000
|
|
181
208
|
*/
|
|
182
209
|
cursor?: string | null;
|
|
183
210
|
}
|
|
@@ -85,6 +85,8 @@ export var Namespace;
|
|
|
85
85
|
* This site will hold all Blog posts related to the Marketing product.
|
|
86
86
|
*/
|
|
87
87
|
Namespace["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
88
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
89
|
+
Namespace["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
88
90
|
})(Namespace || (Namespace = {}));
|
|
89
91
|
export var SortOrder;
|
|
90
92
|
(function (SortOrder) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-list-v2-site-sites.universal.js","sourceRoot":"","sources":["../../../../src/site-list-v2-site-sites.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,2BAA2B,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"site-list-v2-site-sites.universal.js","sourceRoot":"","sources":["../../../../src/site-list-v2-site-sites.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,2BAA2B,MAAM,mCAAmC,CAAC;AA4DjF,MAAM,CAAN,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;IACjB,yBAAW,CAAA;IACX,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;AACnB,CAAC,EANW,UAAU,KAAV,UAAU,QAMrB;AAED,MAAM,CAAN,IAAY,SA6EX;AA7ED,WAAY,SAAS;IACnB,oDAAuC,CAAA;IACvC,qHAAqH;IACrH,wBAAW,CAAA;IACX,6KAA6K;IAC7K,oCAAuB,CAAA;IACvB,0KAA0K;IAC1K,8BAAiB,CAAA;IACjB,6RAA6R;IAC7R,4DAA+C,CAAA;IAC/C,wHAAwH;IACxH,8BAAiB,CAAA;IACjB,kJAAkJ;IAClJ,4BAAe,CAAA;IACf,2HAA2H;I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GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE;YACnD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_sites_sites",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.site_list.v2.site"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "9b77736588a35b0172588ec5abedd412c61087dc64911b8671e78ac9"
|
|
52
52
|
}
|