@wix/auto_sdk_sites_sites 1.0.13 → 1.0.14

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 (134) 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/package.json +0 -3
  66. package/build/es/src/site-list-v2-site-sites.context.d.ts +0 -6
  67. package/build/es/src/site-list-v2-site-sites.context.js +0 -6
  68. package/build/es/src/site-list-v2-site-sites.context.js.map +0 -1
  69. package/build/es/src/site-list-v2-site-sites.http.d.ts +0 -13
  70. package/build/es/src/site-list-v2-site-sites.http.js +0 -166
  71. package/build/es/src/site-list-v2-site-sites.http.js.map +0 -1
  72. package/build/es/src/site-list-v2-site-sites.meta.d.ts +0 -14
  73. package/build/es/src/site-list-v2-site-sites.meta.js +0 -38
  74. package/build/es/src/site-list-v2-site-sites.meta.js.map +0 -1
  75. package/build/es/src/site-list-v2-site-sites.public.d.ts +0 -24
  76. package/build/es/src/site-list-v2-site-sites.public.js +0 -14
  77. package/build/es/src/site-list-v2-site-sites.public.js.map +0 -1
  78. package/build/es/src/site-list-v2-site-sites.types.js +0 -99
  79. package/build/es/src/site-list-v2-site-sites.types.js.map +0 -1
  80. package/build/es/src/site-list-v2-site-sites.universal.d.ts +0 -295
  81. package/build/es/src/site-list-v2-site-sites.universal.js +0 -164
  82. package/build/es/src/site-list-v2-site-sites.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/site-list-v2-site-sites.context.d.ts +0 -6
  93. package/build/internal/cjs/src/site-list-v2-site-sites.context.js +0 -12
  94. package/build/internal/cjs/src/site-list-v2-site-sites.context.js.map +0 -1
  95. package/build/internal/cjs/src/site-list-v2-site-sites.http.d.ts +0 -13
  96. package/build/internal/cjs/src/site-list-v2-site-sites.http.js +0 -171
  97. package/build/internal/cjs/src/site-list-v2-site-sites.http.js.map +0 -1
  98. package/build/internal/cjs/src/site-list-v2-site-sites.meta.d.ts +0 -14
  99. package/build/internal/cjs/src/site-list-v2-site-sites.meta.js +0 -66
  100. package/build/internal/cjs/src/site-list-v2-site-sites.meta.js.map +0 -1
  101. package/build/internal/cjs/src/site-list-v2-site-sites.public.d.ts +0 -24
  102. package/build/internal/cjs/src/site-list-v2-site-sites.public.js +0 -22
  103. package/build/internal/cjs/src/site-list-v2-site-sites.public.js.map +0 -1
  104. package/build/internal/cjs/src/site-list-v2-site-sites.types.js +0 -102
  105. package/build/internal/cjs/src/site-list-v2-site-sites.types.js.map +0 -1
  106. package/build/internal/cjs/src/site-list-v2-site-sites.universal.d.ts +0 -295
  107. package/build/internal/cjs/src/site-list-v2-site-sites.universal.js +0 -192
  108. package/build/internal/cjs/src/site-list-v2-site-sites.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/site-list-v2-site-sites.context.d.ts +0 -6
  119. package/build/internal/es/src/site-list-v2-site-sites.context.js +0 -6
  120. package/build/internal/es/src/site-list-v2-site-sites.context.js.map +0 -1
  121. package/build/internal/es/src/site-list-v2-site-sites.http.d.ts +0 -13
  122. package/build/internal/es/src/site-list-v2-site-sites.http.js +0 -166
  123. package/build/internal/es/src/site-list-v2-site-sites.http.js.map +0 -1
  124. package/build/internal/es/src/site-list-v2-site-sites.meta.d.ts +0 -14
  125. package/build/internal/es/src/site-list-v2-site-sites.meta.js +0 -38
  126. package/build/internal/es/src/site-list-v2-site-sites.meta.js.map +0 -1
  127. package/build/internal/es/src/site-list-v2-site-sites.public.d.ts +0 -24
  128. package/build/internal/es/src/site-list-v2-site-sites.public.js +0 -14
  129. package/build/internal/es/src/site-list-v2-site-sites.public.js.map +0 -1
  130. package/build/internal/es/src/site-list-v2-site-sites.types.js +0 -99
  131. package/build/internal/es/src/site-list-v2-site-sites.types.js.map +0 -1
  132. package/build/internal/es/src/site-list-v2-site-sites.universal.d.ts +0 -295
  133. package/build/internal/es/src/site-list-v2-site-sites.universal.js +0 -164
  134. package/build/internal/es/src/site-list-v2-site-sites.universal.js.map +0 -1
@@ -1,295 +0,0 @@
1
- import { NonNullablePaths } from '@wix/sdk-types';
2
- export interface Site {
3
- /**
4
- * Site ID.
5
- * @format GUID
6
- */
7
- _id?: string;
8
- /**
9
- * HTML app ID for the site.
10
- * @format GUID
11
- */
12
- htmlAppId?: string | null;
13
- /** Site name. Used in the site's URL. */
14
- name?: string;
15
- /** Site display name. Used for display purposes, such as in the browser's tab name. */
16
- displayName?: string;
17
- /** Site creation date. */
18
- _createdDate?: Date | null;
19
- /** Site updated date. */
20
- _updatedDate?: Date | null;
21
- /** Site trashed date. */
22
- trashedDate?: Date | null;
23
- /** Whether the site is published. */
24
- published?: boolean;
25
- /** Whether the site has a Wix Premium (paid) plan. */
26
- premium?: boolean;
27
- /** Live site URL. */
28
- viewUrl?: string;
29
- /** Editor site URL. */
30
- editUrl?: string;
31
- /** Site thumbnail. */
32
- thumbnail?: string;
33
- /**
34
- * Site owner's account ID.
35
- * @format GUID
36
- */
37
- ownerAccountId?: string;
38
- /**
39
- * Site contributors' account IDs.
40
- * @format GUID
41
- * @minSize 1
42
- * @maxSize 1000
43
- */
44
- contributorAccountIds?: string[];
45
- /** Site's Wix editor type. */
46
- editorType?: EditorTypeWithLiterals;
47
- /** Whether Wix has blocked this site due to legal issues. */
48
- blocked?: boolean;
49
- /**
50
- * Folder ID that contains this site. Empty if site is at root level.
51
- * @format GUID
52
- */
53
- folderId?: string | null;
54
- /** Namespace of the site, for internal use. */
55
- namespace?: NamespaceWithLiterals;
56
- /** Whether the site has a connected domain. */
57
- domainConnected?: boolean;
58
- }
59
- export declare enum EditorType {
60
- UNKNOWN = "UNKNOWN",
61
- EDITOR = "EDITOR",
62
- ADI = "ADI",
63
- EDITORX = "EDITORX",
64
- STUDIO = "STUDIO",
65
- ODEDITOR = "ODEDITOR",
66
- PICASSO = "PICASSO"
67
- }
68
- /** @enumType */
69
- export type EditorTypeWithLiterals = EditorType | 'UNKNOWN' | 'EDITOR' | 'ADI' | 'EDITORX' | 'STUDIO' | 'ODEDITOR' | 'PICASSO';
70
- export declare enum Namespace {
71
- UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
72
- /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
73
- WIX = "WIX",
74
- /** 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. */
75
- SHOUT_OUT = "SHOUT_OUT",
76
- /** 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. */
77
- ALBUMS = "ALBUMS",
78
- /** 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. */
79
- WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
80
- /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
81
- HOTELS = "HOTELS",
82
- /** 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. */
83
- CLUBS = "CLUBS",
84
- /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
85
- ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
86
- /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
87
- DEV_SITE = "DEV_SITE",
88
- /** 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. */
89
- LOGOS = "LOGOS",
90
- /** 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. */
91
- VIDEO_MAKER = "VIDEO_MAKER",
92
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
93
- PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
94
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
95
- DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
96
- /**
97
- * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
98
- *
99
- * Meta site with this namespace will *not* be shown in a user's site list by default.
100
- */
101
- HTML_DRAFT = "HTML_DRAFT",
102
- /**
103
- * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
104
- * Will be accessible from Site List and will not have a website app.
105
- * Once the user attaches a site, the site will become a regular wixsite.
106
- */
107
- SITELESS_BUSINESS = "SITELESS_BUSINESS",
108
- /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
109
- CREATOR_ECONOMY = "CREATOR_ECONOMY",
110
- /** It is to be used in the Business First efforts. */
111
- DASHBOARD_FIRST = "DASHBOARD_FIRST",
112
- /** Bookings business flow with no site. */
113
- ANYWHERE = "ANYWHERE",
114
- /** Namespace for Headless Backoffice with no editor */
115
- HEADLESS = "HEADLESS",
116
- /**
117
- * Namespace for master site that will exist in parent account that will be referenced by subaccounts
118
- * The site will be used for account level CSM feature for enterprise
119
- */
120
- ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
121
- /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
122
- RISE = "RISE",
123
- /**
124
- * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
125
- * There's a blank site behind the scene but it's blank).
126
- * The Mobile company will be the owner of this namespace.
127
- */
128
- BRANDED_FIRST = "BRANDED_FIRST",
129
- /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
130
- NOWNIA = "NOWNIA",
131
- /**
132
- * UGC Templates are templates that are created by users for personal use and to sale to other users.
133
- * The Partners company owns this namespace.
134
- */
135
- UGC_TEMPLATE = "UGC_TEMPLATE",
136
- /** Codux Headless Sites */
137
- CODUX = "CODUX",
138
- /** Bobb - AI Design Creator. */
139
- MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR",
140
- /**
141
- * Shared Blog Site is a unique single site across Enterprise account,
142
- * This site will hold all Blog posts related to the Marketing product.
143
- */
144
- SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
145
- /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
146
- STANDALONE_FORMS = "STANDALONE_FORMS",
147
- /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
148
- STANDALONE_EVENTS = "STANDALONE_EVENTS",
149
- /** MIMIR - Siteless account for MIMIR Ai Job runner. */
150
- MIMIR = "MIMIR"
151
- }
152
- /** @enumType */
153
- 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';
154
- export interface QuerySitesRequest {
155
- /**
156
- * Filter and sorting with the following format:
157
- * `"filter" : { "displayName": "my-site" }`
158
- */
159
- query?: QueryV2;
160
- }
161
- export interface QueryV2 extends QueryV2PagingMethodOneOf {
162
- /**
163
- * Paging options to limit and offset the number of items.
164
- * wix.common.Paging paging = 3;
165
- * Cursor token pointing to a page of results. Used in all calls following the first request.
166
- */
167
- cursorPaging?: CursorPaging;
168
- /**
169
- * Filter object with the following format:
170
- * `"filter" : {
171
- * "displayName": "my-site",
172
- * "namespace":{"$in":["value1", "value2"]},
173
- * "folderId": {"$exists": false}
174
- * }`
175
- * Example of operators: `$in`, `$hasSome`, `$hasAll`, `$exists`
176
- */
177
- filter?: Record<string, any> | null;
178
- /**
179
- * Sort object with the following format:
180
- * `[{"fieldName":"displayName","order":"ASC"},{"fieldName":"createdDate","order":"DESC"}]`
181
- * @maxSize 4
182
- */
183
- sort?: Sorting[];
184
- }
185
- /** @oneof */
186
- export interface QueryV2PagingMethodOneOf {
187
- /**
188
- * Paging options to limit and offset the number of items.
189
- * wix.common.Paging paging = 3;
190
- * Cursor token pointing to a page of results. Used in all calls following the first request.
191
- */
192
- cursorPaging?: CursorPaging;
193
- }
194
- export interface Sorting {
195
- /**
196
- * Name of the field to sort by.
197
- * @maxLength 512
198
- */
199
- fieldName?: string;
200
- /** Sort order. */
201
- order?: SortOrderWithLiterals;
202
- }
203
- export declare enum SortOrder {
204
- ASC = "ASC",
205
- DESC = "DESC"
206
- }
207
- /** @enumType */
208
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
209
- export interface CursorPaging {
210
- /**
211
- * Maximum number of items to return in the results.
212
- * @max 100
213
- */
214
- limit?: number | null;
215
- /**
216
- * Pointer to the next or previous page in the list of results.
217
- *
218
- * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
219
- * Not relevant for the first request.
220
- * @maxLength 16000
221
- */
222
- cursor?: string | null;
223
- }
224
- export interface QuerySitesResponse {
225
- /** List of retrieved sites. */
226
- sites?: Site[];
227
- /**
228
- * Paging information.
229
- * @deprecated
230
- */
231
- cursorPaging?: CursorPaging;
232
- /** Meta data about the returned sites */
233
- metadata?: PagingMetadataV2;
234
- }
235
- export interface PagingMetadataV2 {
236
- /** Number of items returned in the response. */
237
- count?: number | null;
238
- /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
239
- cursors?: Cursors;
240
- }
241
- export interface Cursors {
242
- /** Cursor pointing to next page in the list of results. */
243
- next?: string | null;
244
- }
245
- export interface CountSitesRequest {
246
- /**
247
- * Filter object. See [Filter and Sort](https://dev.wix.com/api/rest/account-level-apis/sites/filter-&-sort) documentation.
248
- * Note: the `premium` and `appIds` filters are not supported in this endpoint.
249
- */
250
- filter?: Record<string, any> | null;
251
- }
252
- export interface CountSitesResponse {
253
- /**
254
- * Number of sites retrieved basd on the filter.
255
- * Free Wix accounts are limited to max 1,000 sites.
256
- * Premium accounts can have an unlimited number of sites.
257
- */
258
- count?: number;
259
- }
260
- type SiteNonNullablePaths = `_id` | `name` | `displayName` | `published` | `premium` | `viewUrl` | `editUrl` | `thumbnail` | `ownerAccountId` | `contributorAccountIds` | `editorType` | `blocked` | `namespace` | `domainConnected`;
261
- /**
262
- * Retrieves a list of up to 1,000 sites, given the provided [paging, sorting and filtering](https://dev.wix.com/api/rest/account-level-apis/sites/filter-&-sort).
263
- *
264
- * > **Important**: You can only call this method when authenticated as a Wix user or by using an account level API key.
265
- * @public
266
- * @permissionId SITE_LIST.READ
267
- * @fqn com.wixpress.sitelist.api.SiteListServiceV2.QuerySites
268
- */
269
- export declare function querySites(options?: QuerySitesOptions): Promise<NonNullablePaths<QuerySitesResponse, {
270
- [P in SiteNonNullablePaths]: `sites.${number}.${P}`;
271
- }[SiteNonNullablePaths]>>;
272
- export interface QuerySitesOptions {
273
- /**
274
- * Filter and sorting with the following format:
275
- * `"filter" : { "displayName": "my-site" }`
276
- */
277
- query?: QueryV2;
278
- }
279
- /**
280
- * Retrieves the number of sites, given the provided [filtering](https://dev.wix.com/api/rest/account-level-apis/sites/filter-&-sort).
281
- *
282
- * > **Important**: You can only call this method when authenticated as a Wix user or by using an account level API key.
283
- * @public
284
- * @permissionId SITE_LIST.READ
285
- * @fqn com.wixpress.sitelist.api.SiteListServiceV2.CountSites
286
- */
287
- export declare function countSites(options?: CountSitesOptions): Promise<NonNullablePaths<CountSitesResponse, `count`>>;
288
- export interface CountSitesOptions {
289
- /**
290
- * Filter object. See [Filter and Sort](https://dev.wix.com/api/rest/account-level-apis/sites/filter-&-sort) documentation.
291
- * Note: the `premium` and `appIds` filters are not supported in this endpoint.
292
- */
293
- filter?: Record<string, any> | null;
294
- }
295
- export {};
@@ -1,164 +0,0 @@
1
- import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';
2
- import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys';
3
- import * as ambassadorWixSiteListV2Site from './site-list-v2-site-sites.http.js';
4
- export var EditorType;
5
- (function (EditorType) {
6
- EditorType["UNKNOWN"] = "UNKNOWN";
7
- EditorType["EDITOR"] = "EDITOR";
8
- EditorType["ADI"] = "ADI";
9
- EditorType["EDITORX"] = "EDITORX";
10
- EditorType["STUDIO"] = "STUDIO";
11
- EditorType["ODEDITOR"] = "ODEDITOR";
12
- EditorType["PICASSO"] = "PICASSO";
13
- })(EditorType || (EditorType = {}));
14
- export var Namespace;
15
- (function (Namespace) {
16
- Namespace["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
17
- /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
18
- Namespace["WIX"] = "WIX";
19
- /** 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. */
20
- Namespace["SHOUT_OUT"] = "SHOUT_OUT";
21
- /** 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. */
22
- Namespace["ALBUMS"] = "ALBUMS";
23
- /** 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. */
24
- Namespace["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
25
- /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
26
- Namespace["HOTELS"] = "HOTELS";
27
- /** 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. */
28
- Namespace["CLUBS"] = "CLUBS";
29
- /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
30
- Namespace["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
31
- /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
32
- Namespace["DEV_SITE"] = "DEV_SITE";
33
- /** 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. */
34
- Namespace["LOGOS"] = "LOGOS";
35
- /** 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. */
36
- Namespace["VIDEO_MAKER"] = "VIDEO_MAKER";
37
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
38
- Namespace["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
39
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
40
- Namespace["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
41
- /**
42
- * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
43
- *
44
- * Meta site with this namespace will *not* be shown in a user's site list by default.
45
- */
46
- Namespace["HTML_DRAFT"] = "HTML_DRAFT";
47
- /**
48
- * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
49
- * Will be accessible from Site List and will not have a website app.
50
- * Once the user attaches a site, the site will become a regular wixsite.
51
- */
52
- Namespace["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
53
- /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
54
- Namespace["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
55
- /** It is to be used in the Business First efforts. */
56
- Namespace["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
57
- /** Bookings business flow with no site. */
58
- Namespace["ANYWHERE"] = "ANYWHERE";
59
- /** Namespace for Headless Backoffice with no editor */
60
- Namespace["HEADLESS"] = "HEADLESS";
61
- /**
62
- * Namespace for master site that will exist in parent account that will be referenced by subaccounts
63
- * The site will be used for account level CSM feature for enterprise
64
- */
65
- Namespace["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
66
- /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
67
- Namespace["RISE"] = "RISE";
68
- /**
69
- * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
70
- * There's a blank site behind the scene but it's blank).
71
- * The Mobile company will be the owner of this namespace.
72
- */
73
- Namespace["BRANDED_FIRST"] = "BRANDED_FIRST";
74
- /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
75
- Namespace["NOWNIA"] = "NOWNIA";
76
- /**
77
- * UGC Templates are templates that are created by users for personal use and to sale to other users.
78
- * The Partners company owns this namespace.
79
- */
80
- Namespace["UGC_TEMPLATE"] = "UGC_TEMPLATE";
81
- /** Codux Headless Sites */
82
- Namespace["CODUX"] = "CODUX";
83
- /** Bobb - AI Design Creator. */
84
- Namespace["MEDIA_DESIGN_CREATOR"] = "MEDIA_DESIGN_CREATOR";
85
- /**
86
- * Shared Blog Site is a unique single site across Enterprise account,
87
- * This site will hold all Blog posts related to the Marketing product.
88
- */
89
- Namespace["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
90
- /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
91
- Namespace["STANDALONE_FORMS"] = "STANDALONE_FORMS";
92
- /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
93
- Namespace["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
94
- /** MIMIR - Siteless account for MIMIR Ai Job runner. */
95
- Namespace["MIMIR"] = "MIMIR";
96
- })(Namespace || (Namespace = {}));
97
- export var SortOrder;
98
- (function (SortOrder) {
99
- SortOrder["ASC"] = "ASC";
100
- SortOrder["DESC"] = "DESC";
101
- })(SortOrder || (SortOrder = {}));
102
- /**
103
- * Retrieves a list of up to 1,000 sites, given the provided [paging, sorting and filtering](https://dev.wix.com/api/rest/account-level-apis/sites/filter-&-sort).
104
- *
105
- * > **Important**: You can only call this method when authenticated as a Wix user or by using an account level API key.
106
- * @public
107
- * @permissionId SITE_LIST.READ
108
- * @fqn com.wixpress.sitelist.api.SiteListServiceV2.QuerySites
109
- */
110
- export async function querySites(options) {
111
- // @ts-ignore
112
- const { httpClient, sideEffects } = arguments[1];
113
- const payload = renameKeysFromSDKRequestToRESTRequest({
114
- query: options?.query,
115
- });
116
- const reqOpts = ambassadorWixSiteListV2Site.querySites(payload);
117
- sideEffects?.onSiteCall?.();
118
- try {
119
- const result = await httpClient.request(reqOpts);
120
- sideEffects?.onSuccess?.(result);
121
- return renameKeysFromRESTResponseToSDKResponse(result.data);
122
- }
123
- catch (err) {
124
- const transformedError = sdkTransformError(err, {
125
- spreadPathsToArguments: {},
126
- explicitPathsToArguments: { query: '$[0].query' },
127
- singleArgumentUnchanged: false,
128
- }, ['options']);
129
- sideEffects?.onError?.(err);
130
- throw transformedError;
131
- }
132
- }
133
- /**
134
- * Retrieves the number of sites, given the provided [filtering](https://dev.wix.com/api/rest/account-level-apis/sites/filter-&-sort).
135
- *
136
- * > **Important**: You can only call this method when authenticated as a Wix user or by using an account level API key.
137
- * @public
138
- * @permissionId SITE_LIST.READ
139
- * @fqn com.wixpress.sitelist.api.SiteListServiceV2.CountSites
140
- */
141
- export async function countSites(options) {
142
- // @ts-ignore
143
- const { httpClient, sideEffects } = arguments[1];
144
- const payload = renameKeysFromSDKRequestToRESTRequest({
145
- filter: options?.filter,
146
- });
147
- const reqOpts = ambassadorWixSiteListV2Site.countSites(payload);
148
- sideEffects?.onSiteCall?.();
149
- try {
150
- const result = await httpClient.request(reqOpts);
151
- sideEffects?.onSuccess?.(result);
152
- return renameKeysFromRESTResponseToSDKResponse(result.data);
153
- }
154
- catch (err) {
155
- const transformedError = sdkTransformError(err, {
156
- spreadPathsToArguments: {},
157
- explicitPathsToArguments: { filter: '$[0].filter' },
158
- singleArgumentUnchanged: false,
159
- }, ['options']);
160
- sideEffects?.onError?.(err);
161
- throw transformedError;
162
- }
163
- }
164
- //# sourceMappingURL=site-list-v2-site-sites.universal.js.map
@@ -1 +0,0 @@
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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"}
@@ -1 +0,0 @@
1
- export * from './src/site-list-v2-site-sites.context.js';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/site-list-v2-site-sites.context.js"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2EAAyD"}
@@ -1 +0,0 @@
1
- export * from './src/site-list-v2-site-sites.universal.js';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/site-list-v2-site-sites.universal.js"), exports);
18
- //# sourceMappingURL=index.typings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6EAA2D"}
@@ -1 +0,0 @@
1
- export * from './src/site-list-v2-site-sites.meta.js';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/site-list-v2-site-sites.meta.js"), exports);
18
- //# sourceMappingURL=meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wEAAsD"}
@@ -1,6 +0,0 @@
1
- import { querySites as publicQuerySites, countSites as publicCountSites } from './site-list-v2-site-sites.public.js';
2
- import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
3
- export declare const querySites: MaybeContext<BuildRESTFunction<typeof publicQuerySites> & typeof publicQuerySites>;
4
- export declare const countSites: MaybeContext<BuildRESTFunction<typeof publicCountSites> & typeof publicCountSites>;
5
- export { EditorType, Namespace, SortOrder, } from './site-list-v2-site-sites.universal.js';
6
- export { Site, QuerySitesRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, CursorPaging, QuerySitesResponse, PagingMetadataV2, Cursors, CountSitesRequest, CountSitesResponse, QuerySitesOptions, CountSitesOptions, } from './site-list-v2-site-sites.universal.js';
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SortOrder = exports.Namespace = exports.EditorType = exports.countSites = exports.querySites = void 0;
4
- const site_list_v2_site_sites_public_js_1 = require("./site-list-v2-site-sites.public.js");
5
- const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
6
- exports.querySites = (0, rest_modules_1.createRESTModule)(site_list_v2_site_sites_public_js_1.querySites);
7
- exports.countSites = (0, rest_modules_1.createRESTModule)(site_list_v2_site_sites_public_js_1.countSites);
8
- var site_list_v2_site_sites_universal_js_1 = require("./site-list-v2-site-sites.universal.js");
9
- Object.defineProperty(exports, "EditorType", { enumerable: true, get: function () { return site_list_v2_site_sites_universal_js_1.EditorType; } });
10
- Object.defineProperty(exports, "Namespace", { enumerable: true, get: function () { return site_list_v2_site_sites_universal_js_1.Namespace; } });
11
- Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return site_list_v2_site_sites_universal_js_1.SortOrder; } });
12
- //# sourceMappingURL=site-list-v2-site-sites.context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"site-list-v2-site-sites.context.js","sourceRoot":"","sources":["../../../../src/site-list-v2-site-sites.context.ts"],"names":[],"mappings":";;;AAAA,2FAG6C;AAC7C,gEAAiE;AAGpD,QAAA,UAAU,GAEL,IAAA,+BAAgB,EAAC,8CAAgB,CAAC,CAAC;AACxC,QAAA,UAAU,GAEL,IAAA,+BAAgB,EAAC,8CAAgB,CAAC,CAAC;AAErD,+FAIgD;AAH9C,kIAAA,UAAU,OAAA;AACV,iIAAA,SAAS,OAAA;AACT,iIAAA,SAAS,OAAA"}
@@ -1,13 +0,0 @@
1
- import { RequestOptionsFactory } from '@wix/sdk-types';
2
- /**
3
- * Retrieves a list of up to 1,000 sites, given the provided [paging, sorting and filtering](https://dev.wix.com/api/rest/account-level-apis/sites/filter-&-sort).
4
- *
5
- * > **Important**: You can only call this method when authenticated as a Wix user or by using an account level API key.
6
- */
7
- export declare function querySites(payload: object): RequestOptionsFactory<any>;
8
- /**
9
- * Retrieves the number of sites, given the provided [filtering](https://dev.wix.com/api/rest/account-level-apis/sites/filter-&-sort).
10
- *
11
- * > **Important**: You can only call this method when authenticated as a Wix user or by using an account level API key.
12
- */
13
- export declare function countSites(payload: object): RequestOptionsFactory<any>;