@wix/auto_sdk_sites_sites 1.0.13 → 1.0.15

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.
Files changed (133) hide show
  1. package/build/index.d.mts +27 -0
  2. package/build/index.d.ts +27 -0
  3. package/build/index.js +320 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +292 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +27 -0
  8. package/build/internal/index.d.ts +27 -0
  9. package/build/internal/index.js +320 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +292 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/{es/src/site-list-v2-site-sites.types.d.ts → internal/meta.d.mts} +34 -17
  14. package/build/internal/{cjs/src/site-list-v2-site-sites.types.d.ts → meta.d.ts} +34 -17
  15. package/build/internal/meta.js +227 -0
  16. package/build/internal/meta.js.map +1 -0
  17. package/build/internal/meta.mjs +199 -0
  18. package/build/internal/meta.mjs.map +1 -0
  19. package/build/internal/site-list-v2-site-sites.universal-DMSHEe0v.d.mts +274 -0
  20. package/build/internal/site-list-v2-site-sites.universal-DMSHEe0v.d.ts +274 -0
  21. package/build/{internal/es/src/site-list-v2-site-sites.types.d.ts → meta.d.mts} +34 -17
  22. package/build/{cjs/src/site-list-v2-site-sites.types.d.ts → meta.d.ts} +34 -17
  23. package/build/meta.js +227 -0
  24. package/build/meta.js.map +1 -0
  25. package/build/meta.mjs +199 -0
  26. package/build/meta.mjs.map +1 -0
  27. package/build/site-list-v2-site-sites.universal-DMSHEe0v.d.mts +274 -0
  28. package/build/site-list-v2-site-sites.universal-DMSHEe0v.d.ts +274 -0
  29. package/package.json +12 -11
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/site-list-v2-site-sites.context.d.ts +0 -6
  40. package/build/cjs/src/site-list-v2-site-sites.context.js +0 -12
  41. package/build/cjs/src/site-list-v2-site-sites.context.js.map +0 -1
  42. package/build/cjs/src/site-list-v2-site-sites.http.d.ts +0 -13
  43. package/build/cjs/src/site-list-v2-site-sites.http.js +0 -171
  44. package/build/cjs/src/site-list-v2-site-sites.http.js.map +0 -1
  45. package/build/cjs/src/site-list-v2-site-sites.meta.d.ts +0 -14
  46. package/build/cjs/src/site-list-v2-site-sites.meta.js +0 -66
  47. package/build/cjs/src/site-list-v2-site-sites.meta.js.map +0 -1
  48. package/build/cjs/src/site-list-v2-site-sites.public.d.ts +0 -24
  49. package/build/cjs/src/site-list-v2-site-sites.public.js +0 -22
  50. package/build/cjs/src/site-list-v2-site-sites.public.js.map +0 -1
  51. package/build/cjs/src/site-list-v2-site-sites.types.js +0 -102
  52. package/build/cjs/src/site-list-v2-site-sites.types.js.map +0 -1
  53. package/build/cjs/src/site-list-v2-site-sites.universal.d.ts +0 -295
  54. package/build/cjs/src/site-list-v2-site-sites.universal.js +0 -192
  55. package/build/cjs/src/site-list-v2-site-sites.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/src/site-list-v2-site-sites.context.d.ts +0 -6
  66. package/build/es/src/site-list-v2-site-sites.context.js +0 -6
  67. package/build/es/src/site-list-v2-site-sites.context.js.map +0 -1
  68. package/build/es/src/site-list-v2-site-sites.http.d.ts +0 -13
  69. package/build/es/src/site-list-v2-site-sites.http.js +0 -166
  70. package/build/es/src/site-list-v2-site-sites.http.js.map +0 -1
  71. package/build/es/src/site-list-v2-site-sites.meta.d.ts +0 -14
  72. package/build/es/src/site-list-v2-site-sites.meta.js +0 -38
  73. package/build/es/src/site-list-v2-site-sites.meta.js.map +0 -1
  74. package/build/es/src/site-list-v2-site-sites.public.d.ts +0 -24
  75. package/build/es/src/site-list-v2-site-sites.public.js +0 -14
  76. package/build/es/src/site-list-v2-site-sites.public.js.map +0 -1
  77. package/build/es/src/site-list-v2-site-sites.types.js +0 -99
  78. package/build/es/src/site-list-v2-site-sites.types.js.map +0 -1
  79. package/build/es/src/site-list-v2-site-sites.universal.d.ts +0 -295
  80. package/build/es/src/site-list-v2-site-sites.universal.js +0 -164
  81. package/build/es/src/site-list-v2-site-sites.universal.js.map +0 -1
  82. package/build/internal/cjs/index.d.ts +0 -1
  83. package/build/internal/cjs/index.js +0 -18
  84. package/build/internal/cjs/index.js.map +0 -1
  85. package/build/internal/cjs/index.typings.d.ts +0 -1
  86. package/build/internal/cjs/index.typings.js +0 -18
  87. package/build/internal/cjs/index.typings.js.map +0 -1
  88. package/build/internal/cjs/meta.d.ts +0 -1
  89. package/build/internal/cjs/meta.js +0 -18
  90. package/build/internal/cjs/meta.js.map +0 -1
  91. package/build/internal/cjs/src/site-list-v2-site-sites.context.d.ts +0 -6
  92. package/build/internal/cjs/src/site-list-v2-site-sites.context.js +0 -12
  93. package/build/internal/cjs/src/site-list-v2-site-sites.context.js.map +0 -1
  94. package/build/internal/cjs/src/site-list-v2-site-sites.http.d.ts +0 -13
  95. package/build/internal/cjs/src/site-list-v2-site-sites.http.js +0 -171
  96. package/build/internal/cjs/src/site-list-v2-site-sites.http.js.map +0 -1
  97. package/build/internal/cjs/src/site-list-v2-site-sites.meta.d.ts +0 -14
  98. package/build/internal/cjs/src/site-list-v2-site-sites.meta.js +0 -66
  99. package/build/internal/cjs/src/site-list-v2-site-sites.meta.js.map +0 -1
  100. package/build/internal/cjs/src/site-list-v2-site-sites.public.d.ts +0 -24
  101. package/build/internal/cjs/src/site-list-v2-site-sites.public.js +0 -22
  102. package/build/internal/cjs/src/site-list-v2-site-sites.public.js.map +0 -1
  103. package/build/internal/cjs/src/site-list-v2-site-sites.types.js +0 -102
  104. package/build/internal/cjs/src/site-list-v2-site-sites.types.js.map +0 -1
  105. package/build/internal/cjs/src/site-list-v2-site-sites.universal.d.ts +0 -295
  106. package/build/internal/cjs/src/site-list-v2-site-sites.universal.js +0 -192
  107. package/build/internal/cjs/src/site-list-v2-site-sites.universal.js.map +0 -1
  108. package/build/internal/es/index.d.ts +0 -1
  109. package/build/internal/es/index.js +0 -2
  110. package/build/internal/es/index.js.map +0 -1
  111. package/build/internal/es/index.typings.d.ts +0 -1
  112. package/build/internal/es/index.typings.js +0 -2
  113. package/build/internal/es/index.typings.js.map +0 -1
  114. package/build/internal/es/meta.d.ts +0 -1
  115. package/build/internal/es/meta.js +0 -2
  116. package/build/internal/es/meta.js.map +0 -1
  117. package/build/internal/es/src/site-list-v2-site-sites.context.d.ts +0 -6
  118. package/build/internal/es/src/site-list-v2-site-sites.context.js +0 -6
  119. package/build/internal/es/src/site-list-v2-site-sites.context.js.map +0 -1
  120. package/build/internal/es/src/site-list-v2-site-sites.http.d.ts +0 -13
  121. package/build/internal/es/src/site-list-v2-site-sites.http.js +0 -166
  122. package/build/internal/es/src/site-list-v2-site-sites.http.js.map +0 -1
  123. package/build/internal/es/src/site-list-v2-site-sites.meta.d.ts +0 -14
  124. package/build/internal/es/src/site-list-v2-site-sites.meta.js +0 -38
  125. package/build/internal/es/src/site-list-v2-site-sites.meta.js.map +0 -1
  126. package/build/internal/es/src/site-list-v2-site-sites.public.d.ts +0 -24
  127. package/build/internal/es/src/site-list-v2-site-sites.public.js +0 -14
  128. package/build/internal/es/src/site-list-v2-site-sites.public.js.map +0 -1
  129. package/build/internal/es/src/site-list-v2-site-sites.types.js +0 -99
  130. package/build/internal/es/src/site-list-v2-site-sites.types.js.map +0 -1
  131. package/build/internal/es/src/site-list-v2-site-sites.universal.d.ts +0 -295
  132. package/build/internal/es/src/site-list-v2-site-sites.universal.js +0 -164
  133. package/build/internal/es/src/site-list-v2-site-sites.universal.js.map +0 -1
@@ -0,0 +1,274 @@
1
+ interface Site {
2
+ /**
3
+ * Site ID.
4
+ * @format GUID
5
+ */
6
+ _id?: string;
7
+ /**
8
+ * HTML app ID for the site.
9
+ * @format GUID
10
+ */
11
+ htmlAppId?: string | null;
12
+ /** Site name. Used in the site's URL. */
13
+ name?: string;
14
+ /** Site display name. Used for display purposes, such as in the browser's tab name. */
15
+ displayName?: string;
16
+ /** Site creation date. */
17
+ _createdDate?: Date | null;
18
+ /** Site updated date. */
19
+ _updatedDate?: Date | null;
20
+ /** Site trashed date. */
21
+ trashedDate?: Date | null;
22
+ /** Whether the site is published. */
23
+ published?: boolean;
24
+ /** Whether the site has a Wix Premium (paid) plan. */
25
+ premium?: boolean;
26
+ /** Live site URL. */
27
+ viewUrl?: string;
28
+ /** Editor site URL. */
29
+ editUrl?: string;
30
+ /** Site thumbnail. */
31
+ thumbnail?: string;
32
+ /**
33
+ * Site owner's account ID.
34
+ * @format GUID
35
+ */
36
+ ownerAccountId?: string;
37
+ /**
38
+ * Site contributors' account IDs.
39
+ * @format GUID
40
+ * @minSize 1
41
+ * @maxSize 1000
42
+ */
43
+ contributorAccountIds?: string[];
44
+ /** Site's Wix editor type. */
45
+ editorType?: EditorTypeWithLiterals;
46
+ /** Whether Wix has blocked this site due to legal issues. */
47
+ blocked?: boolean;
48
+ /**
49
+ * Folder ID that contains this site. Empty if site is at root level.
50
+ * @format GUID
51
+ */
52
+ folderId?: string | null;
53
+ /** Namespace of the site, for internal use. */
54
+ namespace?: NamespaceWithLiterals;
55
+ /** Whether the site has a connected domain. */
56
+ domainConnected?: boolean;
57
+ }
58
+ declare enum EditorType {
59
+ UNKNOWN = "UNKNOWN",
60
+ EDITOR = "EDITOR",
61
+ ADI = "ADI",
62
+ EDITORX = "EDITORX",
63
+ STUDIO = "STUDIO",
64
+ ODEDITOR = "ODEDITOR",
65
+ PICASSO = "PICASSO"
66
+ }
67
+ /** @enumType */
68
+ type EditorTypeWithLiterals = EditorType | 'UNKNOWN' | 'EDITOR' | 'ADI' | 'EDITORX' | 'STUDIO' | 'ODEDITOR' | 'PICASSO';
69
+ declare enum Namespace {
70
+ UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
71
+ /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
72
+ WIX = "WIX",
73
+ /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
74
+ SHOUT_OUT = "SHOUT_OUT",
75
+ /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
76
+ ALBUMS = "ALBUMS",
77
+ /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
78
+ WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
79
+ /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
80
+ HOTELS = "HOTELS",
81
+ /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
82
+ CLUBS = "CLUBS",
83
+ /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
84
+ ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
85
+ /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
86
+ DEV_SITE = "DEV_SITE",
87
+ /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
88
+ LOGOS = "LOGOS",
89
+ /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
90
+ VIDEO_MAKER = "VIDEO_MAKER",
91
+ /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
92
+ PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
93
+ /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
94
+ DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
95
+ /**
96
+ * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
97
+ *
98
+ * Meta site with this namespace will *not* be shown in a user's site list by default.
99
+ */
100
+ HTML_DRAFT = "HTML_DRAFT",
101
+ /**
102
+ * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
103
+ * Will be accessible from Site List and will not have a website app.
104
+ * Once the user attaches a site, the site will become a regular wixsite.
105
+ */
106
+ SITELESS_BUSINESS = "SITELESS_BUSINESS",
107
+ /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
108
+ CREATOR_ECONOMY = "CREATOR_ECONOMY",
109
+ /** It is to be used in the Business First efforts. */
110
+ DASHBOARD_FIRST = "DASHBOARD_FIRST",
111
+ /** Bookings business flow with no site. */
112
+ ANYWHERE = "ANYWHERE",
113
+ /** Namespace for Headless Backoffice with no editor */
114
+ HEADLESS = "HEADLESS",
115
+ /**
116
+ * Namespace for master site that will exist in parent account that will be referenced by subaccounts
117
+ * The site will be used for account level CSM feature for enterprise
118
+ */
119
+ ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
120
+ /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
121
+ RISE = "RISE",
122
+ /**
123
+ * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
124
+ * There's a blank site behind the scene but it's blank).
125
+ * The Mobile company will be the owner of this namespace.
126
+ */
127
+ BRANDED_FIRST = "BRANDED_FIRST",
128
+ /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
129
+ NOWNIA = "NOWNIA",
130
+ /**
131
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
132
+ * The Partners company owns this namespace.
133
+ */
134
+ UGC_TEMPLATE = "UGC_TEMPLATE",
135
+ /** Codux Headless Sites */
136
+ CODUX = "CODUX",
137
+ /** Bobb - AI Design Creator. */
138
+ MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR",
139
+ /**
140
+ * Shared Blog Site is a unique single site across Enterprise account,
141
+ * This site will hold all Blog posts related to the Marketing product.
142
+ */
143
+ SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
144
+ /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
145
+ STANDALONE_FORMS = "STANDALONE_FORMS",
146
+ /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
147
+ STANDALONE_EVENTS = "STANDALONE_EVENTS",
148
+ /** MIMIR - Siteless account for MIMIR Ai Job runner. */
149
+ MIMIR = "MIMIR"
150
+ }
151
+ /** @enumType */
152
+ type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR';
153
+ interface QuerySitesRequest {
154
+ /**
155
+ * Filter and sorting with the following format:
156
+ * `"filter" : { "displayName": "my-site" }`
157
+ */
158
+ query?: QueryV2;
159
+ }
160
+ interface QueryV2 extends QueryV2PagingMethodOneOf {
161
+ /**
162
+ * Paging options to limit and offset the number of items.
163
+ * wix.common.Paging paging = 3;
164
+ * Cursor token pointing to a page of results. Used in all calls following the first request.
165
+ */
166
+ cursorPaging?: CursorPaging;
167
+ /**
168
+ * Filter object with the following format:
169
+ * `"filter" : {
170
+ * "displayName": "my-site",
171
+ * "namespace":{"$in":["value1", "value2"]},
172
+ * "folderId": {"$exists": false}
173
+ * }`
174
+ * Example of operators: `$in`, `$hasSome`, `$hasAll`, `$exists`
175
+ */
176
+ filter?: Record<string, any> | null;
177
+ /**
178
+ * Sort object with the following format:
179
+ * `[{"fieldName":"displayName","order":"ASC"},{"fieldName":"createdDate","order":"DESC"}]`
180
+ * @maxSize 4
181
+ */
182
+ sort?: Sorting[];
183
+ }
184
+ /** @oneof */
185
+ interface QueryV2PagingMethodOneOf {
186
+ /**
187
+ * Paging options to limit and offset the number of items.
188
+ * wix.common.Paging paging = 3;
189
+ * Cursor token pointing to a page of results. Used in all calls following the first request.
190
+ */
191
+ cursorPaging?: CursorPaging;
192
+ }
193
+ interface Sorting {
194
+ /**
195
+ * Name of the field to sort by.
196
+ * @maxLength 512
197
+ */
198
+ fieldName?: string;
199
+ /** Sort order. */
200
+ order?: SortOrderWithLiterals;
201
+ }
202
+ declare enum SortOrder {
203
+ ASC = "ASC",
204
+ DESC = "DESC"
205
+ }
206
+ /** @enumType */
207
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
208
+ interface CursorPaging {
209
+ /**
210
+ * Maximum number of items to return in the results.
211
+ * @max 100
212
+ */
213
+ limit?: number | null;
214
+ /**
215
+ * Pointer to the next or previous page in the list of results.
216
+ *
217
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
218
+ * Not relevant for the first request.
219
+ * @maxLength 16000
220
+ */
221
+ cursor?: string | null;
222
+ }
223
+ interface QuerySitesResponse {
224
+ /** List of retrieved sites. */
225
+ sites?: Site[];
226
+ /**
227
+ * Paging information.
228
+ * @deprecated
229
+ */
230
+ cursorPaging?: CursorPaging;
231
+ /** Meta data about the returned sites */
232
+ metadata?: PagingMetadataV2;
233
+ }
234
+ interface PagingMetadataV2 {
235
+ /** Number of items returned in the response. */
236
+ count?: number | null;
237
+ /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
238
+ cursors?: Cursors;
239
+ }
240
+ interface Cursors {
241
+ /** Cursor pointing to next page in the list of results. */
242
+ next?: string | null;
243
+ }
244
+ interface CountSitesRequest {
245
+ /**
246
+ * Filter object. See [Filter and Sort](https://dev.wix.com/api/rest/account-level-apis/sites/filter-&-sort) documentation.
247
+ * Note: the `premium` and `appIds` filters are not supported in this endpoint.
248
+ */
249
+ filter?: Record<string, any> | null;
250
+ }
251
+ interface CountSitesResponse {
252
+ /**
253
+ * Number of sites retrieved basd on the filter.
254
+ * Free Wix accounts are limited to max 1,000 sites.
255
+ * Premium accounts can have an unlimited number of sites.
256
+ */
257
+ count?: number;
258
+ }
259
+ interface QuerySitesOptions {
260
+ /**
261
+ * Filter and sorting with the following format:
262
+ * `"filter" : { "displayName": "my-site" }`
263
+ */
264
+ query?: QueryV2;
265
+ }
266
+ interface CountSitesOptions {
267
+ /**
268
+ * Filter object. See [Filter and Sort](https://dev.wix.com/api/rest/account-level-apis/sites/filter-&-sort) documentation.
269
+ * Note: the `premium` and `appIds` filters are not supported in this endpoint.
270
+ */
271
+ filter?: Record<string, any> | null;
272
+ }
273
+
274
+ export { type CountSitesOptions as C, EditorType as E, Namespace as N, type PagingMetadataV2 as P, type QuerySitesOptions as Q, SortOrder as S, type QuerySitesResponse as a, type CountSitesResponse as b, type Site as c, type QuerySitesRequest as d, type QueryV2 as e, type QueryV2PagingMethodOneOf as f, type Sorting as g, type CursorPaging as h, type Cursors as i, type CountSitesRequest as j };
@@ -1,4 +1,6 @@
1
- export interface Site {
1
+ import { d as QuerySitesRequest$1, a as QuerySitesResponse$1, j as CountSitesRequest$1, b as CountSitesResponse$1 } from './site-list-v2-site-sites.universal-DMSHEe0v.mjs';
2
+
3
+ interface Site {
2
4
  /**
3
5
  * Site ID.
4
6
  * @format GUID
@@ -55,7 +57,7 @@ export interface Site {
55
57
  /** Whether the site has a connected domain. */
56
58
  domainConnected?: boolean;
57
59
  }
58
- export declare enum EditorType {
60
+ declare enum EditorType {
59
61
  UNKNOWN = "UNKNOWN",
60
62
  EDITOR = "EDITOR",
61
63
  ADI = "ADI",
@@ -65,8 +67,8 @@ export declare enum EditorType {
65
67
  PICASSO = "PICASSO"
66
68
  }
67
69
  /** @enumType */
68
- export type EditorTypeWithLiterals = EditorType | 'UNKNOWN' | 'EDITOR' | 'ADI' | 'EDITORX' | 'STUDIO' | 'ODEDITOR' | 'PICASSO';
69
- export declare enum Namespace {
70
+ type EditorTypeWithLiterals = EditorType | 'UNKNOWN' | 'EDITOR' | 'ADI' | 'EDITORX' | 'STUDIO' | 'ODEDITOR' | 'PICASSO';
71
+ declare enum Namespace {
70
72
  UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
71
73
  /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
72
74
  WIX = "WIX",
@@ -149,15 +151,15 @@ export declare enum Namespace {
149
151
  MIMIR = "MIMIR"
150
152
  }
151
153
  /** @enumType */
152
- export type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR';
153
- export interface QuerySitesRequest {
154
+ type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR';
155
+ interface QuerySitesRequest {
154
156
  /**
155
157
  * Filter and sorting with the following format:
156
158
  * `"filter" : { "displayName": "my-site" }`
157
159
  */
158
160
  query?: QueryV2;
159
161
  }
160
- export interface QueryV2 extends QueryV2PagingMethodOneOf {
162
+ interface QueryV2 extends QueryV2PagingMethodOneOf {
161
163
  /**
162
164
  * Paging options to limit and offset the number of items.
163
165
  * wix.common.Paging paging = 3;
@@ -182,7 +184,7 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
182
184
  sort?: Sorting[];
183
185
  }
184
186
  /** @oneof */
185
- export interface QueryV2PagingMethodOneOf {
187
+ interface QueryV2PagingMethodOneOf {
186
188
  /**
187
189
  * Paging options to limit and offset the number of items.
188
190
  * wix.common.Paging paging = 3;
@@ -190,7 +192,7 @@ export interface QueryV2PagingMethodOneOf {
190
192
  */
191
193
  cursorPaging?: CursorPaging;
192
194
  }
193
- export interface Sorting {
195
+ interface Sorting {
194
196
  /**
195
197
  * Name of the field to sort by.
196
198
  * @maxLength 512
@@ -199,13 +201,13 @@ export interface Sorting {
199
201
  /** Sort order. */
200
202
  order?: SortOrderWithLiterals;
201
203
  }
202
- export declare enum SortOrder {
204
+ declare enum SortOrder {
203
205
  ASC = "ASC",
204
206
  DESC = "DESC"
205
207
  }
206
208
  /** @enumType */
207
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
208
- export interface CursorPaging {
209
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
210
+ interface CursorPaging {
209
211
  /**
210
212
  * Maximum number of items to return in the results.
211
213
  * @max 100
@@ -220,7 +222,7 @@ export interface CursorPaging {
220
222
  */
221
223
  cursor?: string | null;
222
224
  }
223
- export interface QuerySitesResponse {
225
+ interface QuerySitesResponse {
224
226
  /** List of retrieved sites. */
225
227
  sites?: Site[];
226
228
  /**
@@ -231,24 +233,24 @@ export interface QuerySitesResponse {
231
233
  /** Meta data about the returned sites */
232
234
  metadata?: PagingMetadataV2;
233
235
  }
234
- export interface PagingMetadataV2 {
236
+ interface PagingMetadataV2 {
235
237
  /** Number of items returned in the response. */
236
238
  count?: number | null;
237
239
  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
238
240
  cursors?: Cursors;
239
241
  }
240
- export interface Cursors {
242
+ interface Cursors {
241
243
  /** Cursor pointing to next page in the list of results. */
242
244
  next?: string | null;
243
245
  }
244
- export interface CountSitesRequest {
246
+ interface CountSitesRequest {
245
247
  /**
246
248
  * Filter object. See [Filter and Sort](https://dev.wix.com/api/rest/account-level-apis/sites/filter-&-sort) documentation.
247
249
  * Note: the `premium` and `appIds` filters are not supported in this endpoint.
248
250
  */
249
251
  filter?: Record<string, any> | null;
250
252
  }
251
- export interface CountSitesResponse {
253
+ interface CountSitesResponse {
252
254
  /**
253
255
  * Number of sites retrieved basd on the filter.
254
256
  * Free Wix accounts are limited to max 1,000 sites.
@@ -256,3 +258,18 @@ export interface CountSitesResponse {
256
258
  */
257
259
  count?: number;
258
260
  }
261
+
262
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
263
+ getUrl: (context: any) => string;
264
+ httpMethod: K;
265
+ path: string;
266
+ pathParams: M;
267
+ __requestType: T;
268
+ __originalRequestType: S;
269
+ __responseType: Q;
270
+ __originalResponseType: R;
271
+ };
272
+ declare function querySites(): __PublicMethodMetaInfo<'POST', {}, QuerySitesRequest$1, QuerySitesRequest, QuerySitesResponse$1, QuerySitesResponse>;
273
+ declare function countSites(): __PublicMethodMetaInfo<'POST', {}, CountSitesRequest$1, CountSitesRequest, CountSitesResponse$1, CountSitesResponse>;
274
+
275
+ export { type __PublicMethodMetaInfo, countSites, querySites };
@@ -1,4 +1,6 @@
1
- export interface Site {
1
+ import { d as QuerySitesRequest$1, a as QuerySitesResponse$1, j as CountSitesRequest$1, b as CountSitesResponse$1 } from './site-list-v2-site-sites.universal-DMSHEe0v.js';
2
+
3
+ interface Site {
2
4
  /**
3
5
  * Site ID.
4
6
  * @format GUID
@@ -55,7 +57,7 @@ export interface Site {
55
57
  /** Whether the site has a connected domain. */
56
58
  domainConnected?: boolean;
57
59
  }
58
- export declare enum EditorType {
60
+ declare enum EditorType {
59
61
  UNKNOWN = "UNKNOWN",
60
62
  EDITOR = "EDITOR",
61
63
  ADI = "ADI",
@@ -65,8 +67,8 @@ export declare enum EditorType {
65
67
  PICASSO = "PICASSO"
66
68
  }
67
69
  /** @enumType */
68
- export type EditorTypeWithLiterals = EditorType | 'UNKNOWN' | 'EDITOR' | 'ADI' | 'EDITORX' | 'STUDIO' | 'ODEDITOR' | 'PICASSO';
69
- export declare enum Namespace {
70
+ type EditorTypeWithLiterals = EditorType | 'UNKNOWN' | 'EDITOR' | 'ADI' | 'EDITORX' | 'STUDIO' | 'ODEDITOR' | 'PICASSO';
71
+ declare enum Namespace {
70
72
  UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
71
73
  /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
72
74
  WIX = "WIX",
@@ -149,15 +151,15 @@ export declare enum Namespace {
149
151
  MIMIR = "MIMIR"
150
152
  }
151
153
  /** @enumType */
152
- export type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR';
153
- export interface QuerySitesRequest {
154
+ type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR';
155
+ interface QuerySitesRequest {
154
156
  /**
155
157
  * Filter and sorting with the following format:
156
158
  * `"filter" : { "displayName": "my-site" }`
157
159
  */
158
160
  query?: QueryV2;
159
161
  }
160
- export interface QueryV2 extends QueryV2PagingMethodOneOf {
162
+ interface QueryV2 extends QueryV2PagingMethodOneOf {
161
163
  /**
162
164
  * Paging options to limit and offset the number of items.
163
165
  * wix.common.Paging paging = 3;
@@ -182,7 +184,7 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
182
184
  sort?: Sorting[];
183
185
  }
184
186
  /** @oneof */
185
- export interface QueryV2PagingMethodOneOf {
187
+ interface QueryV2PagingMethodOneOf {
186
188
  /**
187
189
  * Paging options to limit and offset the number of items.
188
190
  * wix.common.Paging paging = 3;
@@ -190,7 +192,7 @@ export interface QueryV2PagingMethodOneOf {
190
192
  */
191
193
  cursorPaging?: CursorPaging;
192
194
  }
193
- export interface Sorting {
195
+ interface Sorting {
194
196
  /**
195
197
  * Name of the field to sort by.
196
198
  * @maxLength 512
@@ -199,13 +201,13 @@ export interface Sorting {
199
201
  /** Sort order. */
200
202
  order?: SortOrderWithLiterals;
201
203
  }
202
- export declare enum SortOrder {
204
+ declare enum SortOrder {
203
205
  ASC = "ASC",
204
206
  DESC = "DESC"
205
207
  }
206
208
  /** @enumType */
207
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
208
- export interface CursorPaging {
209
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
210
+ interface CursorPaging {
209
211
  /**
210
212
  * Maximum number of items to return in the results.
211
213
  * @max 100
@@ -220,7 +222,7 @@ export interface CursorPaging {
220
222
  */
221
223
  cursor?: string | null;
222
224
  }
223
- export interface QuerySitesResponse {
225
+ interface QuerySitesResponse {
224
226
  /** List of retrieved sites. */
225
227
  sites?: Site[];
226
228
  /**
@@ -231,24 +233,24 @@ export interface QuerySitesResponse {
231
233
  /** Meta data about the returned sites */
232
234
  metadata?: PagingMetadataV2;
233
235
  }
234
- export interface PagingMetadataV2 {
236
+ interface PagingMetadataV2 {
235
237
  /** Number of items returned in the response. */
236
238
  count?: number | null;
237
239
  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
238
240
  cursors?: Cursors;
239
241
  }
240
- export interface Cursors {
242
+ interface Cursors {
241
243
  /** Cursor pointing to next page in the list of results. */
242
244
  next?: string | null;
243
245
  }
244
- export interface CountSitesRequest {
246
+ interface CountSitesRequest {
245
247
  /**
246
248
  * Filter object. See [Filter and Sort](https://dev.wix.com/api/rest/account-level-apis/sites/filter-&-sort) documentation.
247
249
  * Note: the `premium` and `appIds` filters are not supported in this endpoint.
248
250
  */
249
251
  filter?: Record<string, any> | null;
250
252
  }
251
- export interface CountSitesResponse {
253
+ interface CountSitesResponse {
252
254
  /**
253
255
  * Number of sites retrieved basd on the filter.
254
256
  * Free Wix accounts are limited to max 1,000 sites.
@@ -256,3 +258,18 @@ export interface CountSitesResponse {
256
258
  */
257
259
  count?: number;
258
260
  }
261
+
262
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
263
+ getUrl: (context: any) => string;
264
+ httpMethod: K;
265
+ path: string;
266
+ pathParams: M;
267
+ __requestType: T;
268
+ __originalRequestType: S;
269
+ __responseType: Q;
270
+ __originalResponseType: R;
271
+ };
272
+ declare function querySites(): __PublicMethodMetaInfo<'POST', {}, QuerySitesRequest$1, QuerySitesRequest, QuerySitesResponse$1, QuerySitesResponse>;
273
+ declare function countSites(): __PublicMethodMetaInfo<'POST', {}, CountSitesRequest$1, CountSitesRequest, CountSitesResponse$1, CountSitesResponse>;
274
+
275
+ export { type __PublicMethodMetaInfo, countSites, querySites };