@wix/auto_sdk_members_user-member 1.0.16 → 1.0.18
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/members-usermembers-v1-user-member-user-member.context.d.ts +1 -1
- package/build/cjs/src/members-usermembers-v1-user-member-user-member.public.d.ts +1 -1
- package/build/cjs/src/members-usermembers-v1-user-member-user-member.public.js.map +1 -1
- package/build/cjs/src/members-usermembers-v1-user-member-user-member.types.d.ts +63 -27
- package/build/cjs/src/members-usermembers-v1-user-member-user-member.types.js.map +1 -1
- package/build/cjs/src/members-usermembers-v1-user-member-user-member.universal.d.ts +67 -31
- package/build/cjs/src/members-usermembers-v1-user-member-user-member.universal.js +3 -1
- package/build/cjs/src/members-usermembers-v1-user-member-user-member.universal.js.map +1 -1
- package/build/es/src/members-usermembers-v1-user-member-user-member.context.d.ts +1 -1
- package/build/es/src/members-usermembers-v1-user-member-user-member.public.d.ts +1 -1
- package/build/es/src/members-usermembers-v1-user-member-user-member.public.js.map +1 -1
- package/build/es/src/members-usermembers-v1-user-member-user-member.types.d.ts +63 -27
- package/build/es/src/members-usermembers-v1-user-member-user-member.types.js.map +1 -1
- package/build/es/src/members-usermembers-v1-user-member-user-member.universal.d.ts +67 -31
- package/build/es/src/members-usermembers-v1-user-member-user-member.universal.js +3 -1
- package/build/es/src/members-usermembers-v1-user-member-user-member.universal.js.map +1 -1
- package/build/internal/cjs/src/members-usermembers-v1-user-member-user-member.context.d.ts +1 -1
- package/build/internal/cjs/src/members-usermembers-v1-user-member-user-member.public.d.ts +1 -1
- package/build/internal/cjs/src/members-usermembers-v1-user-member-user-member.public.js.map +1 -1
- package/build/internal/cjs/src/members-usermembers-v1-user-member-user-member.types.d.ts +63 -27
- package/build/internal/cjs/src/members-usermembers-v1-user-member-user-member.types.js.map +1 -1
- package/build/internal/cjs/src/members-usermembers-v1-user-member-user-member.universal.d.ts +67 -31
- package/build/internal/cjs/src/members-usermembers-v1-user-member-user-member.universal.js +3 -1
- package/build/internal/cjs/src/members-usermembers-v1-user-member-user-member.universal.js.map +1 -1
- package/build/internal/es/src/members-usermembers-v1-user-member-user-member.context.d.ts +1 -1
- package/build/internal/es/src/members-usermembers-v1-user-member-user-member.public.d.ts +1 -1
- package/build/internal/es/src/members-usermembers-v1-user-member-user-member.public.js.map +1 -1
- package/build/internal/es/src/members-usermembers-v1-user-member-user-member.types.d.ts +63 -27
- package/build/internal/es/src/members-usermembers-v1-user-member-user-member.types.js.map +1 -1
- package/build/internal/es/src/members-usermembers-v1-user-member-user-member.universal.d.ts +67 -31
- package/build/internal/es/src/members-usermembers-v1-user-member-user-member.universal.js +3 -1
- package/build/internal/es/src/members-usermembers-v1-user-member-user-member.universal.js.map +1 -1
- package/package.json +4 -4
|
@@ -2,4 +2,4 @@ import { queryUserMembers as publicQueryUserMembers } from './members-usermember
|
|
|
2
2
|
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
3
3
|
export declare const queryUserMembers: MaybeContext<BuildRESTFunction<typeof publicQueryUserMembers> & typeof publicQueryUserMembers>;
|
|
4
4
|
export { PrivacyStatusStatus, Status, ActivityStatusStatus, SortOrder, State, SiteCreatedContext, Namespace, DeleteStatus, } from './members-usermembers-v1-user-member-user-member.universal.js';
|
|
5
|
-
export { UserMember, Image, QueryUserMembersRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryUserMembersResponse, CursorPagingMetadata, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Asset, SiteCreated, SiteTransferred, SiteDeleted, DeleteContext, SiteUndeleted, SitePublished, SiteUnpublished, SiteMarkedAsTemplate, SiteMarkedAsWixSite, ServiceProvisioned, ServiceRemoved, SiteRenamed, SiteHardDeleted, NamespaceChanged, StudioAssigned, StudioUnassigned, SiteUrlChanged, SitePurgedExternally, UserMembersQueryResult, UserMembersQueryBuilder, } from './members-usermembers-v1-user-member-user-member.universal.js';
|
|
5
|
+
export { UserMember, Image, QueryUserMembersRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryUserMembersResponse, CursorPagingMetadata, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Asset, SiteCreated, SiteTransferred, SiteDeleted, DeleteContext, SiteUndeleted, SitePublished, SiteUnpublished, SiteMarkedAsTemplate, SiteMarkedAsWixSite, ServiceProvisioned, ServiceRemoved, SiteRenamed, SiteHardDeleted, NamespaceChanged, StudioAssigned, StudioUnassigned, SiteUrlChanged, SitePurgedExternally, OdeditorAssigned, OdeditorUnassigned, PicassoAssigned, PicassoUnassigned, UserMembersQueryResult, UserMembersQueryBuilder, } from './members-usermembers-v1-user-member-user-member.universal.js';
|
|
@@ -20,4 +20,4 @@ interface QueryUserMembersSignature {
|
|
|
20
20
|
*/
|
|
21
21
|
(): UserMembersQueryBuilder;
|
|
22
22
|
}
|
|
23
|
-
export { ActionEvent, ActivityStatusStatus, Asset, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteContext, DeleteStatus, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Image, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, PrivacyStatusStatus, QueryUserMembersRequest, QueryUserMembersResponse, RestoreInfo, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, Sorting, State, Status, StudioAssigned, StudioUnassigned, UserMember, UserMembersQueryBuilder, UserMembersQueryResult, } from './members-usermembers-v1-user-member-user-member.universal.js';
|
|
23
|
+
export { ActionEvent, ActivityStatusStatus, Asset, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteContext, DeleteStatus, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Image, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, OdeditorAssigned, OdeditorUnassigned, PicassoAssigned, PicassoUnassigned, PrivacyStatusStatus, QueryUserMembersRequest, QueryUserMembersResponse, RestoreInfo, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, Sorting, State, Status, StudioAssigned, StudioUnassigned, UserMember, UserMembersQueryBuilder, UserMembersQueryResult, } from './members-usermembers-v1-user-member-user-member.universal.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"members-usermembers-v1-user-member-user-member.public.js","sourceRoot":"","sources":["../../../src/members-usermembers-v1-user-member-user-member.public.ts"],"names":[],"mappings":";;;AACA,+IAGuE;AAE1D,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AAE3D,SAAgB,gBAAgB,CAC9B,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,IAAA,8EAAyB;IACvB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,4CAQC;AAmBD,
|
|
1
|
+
{"version":3,"file":"members-usermembers-v1-user-member-user-member.public.js","sourceRoot":"","sources":["../../../src/members-usermembers-v1-user-member-user-member.public.ts"],"names":[],"mappings":";;;AACA,+IAGuE;AAE1D,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AAE3D,SAAgB,gBAAgB,CAC9B,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,IAAA,8EAAyB;IACvB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,4CAQC;AAmBD,6IAsDuE;AApDrE,mKAAA,oBAAoB,OAAA;AAQpB,2JAAA,YAAY,OAAA;AAUZ,wJAAA,SAAS,OAAA;AAMT,kKAAA,mBAAmB,OAAA;AAOnB,iKAAA,kBAAkB,OAAA;AAYlB,wJAAA,SAAS,OAAA;AAET,oJAAA,KAAK,OAAA;AACL,qJAAA,MAAM,OAAA"}
|
|
@@ -40,7 +40,7 @@ export interface UserMember {
|
|
|
40
40
|
* User member profile privacy status.
|
|
41
41
|
* @readonly
|
|
42
42
|
*/
|
|
43
|
-
privacyStatus?:
|
|
43
|
+
privacyStatus?: PrivacyStatusStatusWithLiterals;
|
|
44
44
|
/**
|
|
45
45
|
* Date and time the user member was created.
|
|
46
46
|
* @readonly
|
|
@@ -55,12 +55,12 @@ export interface UserMember {
|
|
|
55
55
|
* User member site access status.
|
|
56
56
|
* @readonly
|
|
57
57
|
*/
|
|
58
|
-
status?:
|
|
58
|
+
status?: StatusWithLiterals;
|
|
59
59
|
/**
|
|
60
60
|
* User member activity status.
|
|
61
61
|
* @readonly
|
|
62
62
|
*/
|
|
63
|
-
activityStatus?:
|
|
63
|
+
activityStatus?: ActivityStatusStatusWithLiterals;
|
|
64
64
|
}
|
|
65
65
|
export interface Image {
|
|
66
66
|
/**
|
|
@@ -95,6 +95,8 @@ export declare enum PrivacyStatusStatus {
|
|
|
95
95
|
/** User member is visible to everyone. */
|
|
96
96
|
PUBLIC = "PUBLIC"
|
|
97
97
|
}
|
|
98
|
+
/** @enumType */
|
|
99
|
+
export type PrivacyStatusStatusWithLiterals = PrivacyStatusStatus | 'UNKNOWN' | 'PRIVATE' | 'PUBLIC';
|
|
98
100
|
export declare enum Status {
|
|
99
101
|
/** Unknown status. This value isn't used. */
|
|
100
102
|
UNKNOWN = "UNKNOWN",
|
|
@@ -107,6 +109,8 @@ export declare enum Status {
|
|
|
107
109
|
/** User member is a [guest author](https://support.wix.com/en/article/wix-blog-adding-managed-writers-to-your-blog) for the site blog and can't log in to the site. */
|
|
108
110
|
OFFLINE = "OFFLINE"
|
|
109
111
|
}
|
|
112
|
+
/** @enumType */
|
|
113
|
+
export type StatusWithLiterals = Status | 'UNKNOWN' | 'PENDING' | 'APPROVED' | 'BLOCKED' | 'OFFLINE';
|
|
110
114
|
export declare enum ActivityStatusStatus {
|
|
111
115
|
/** Unknown status. This value isn't used. */
|
|
112
116
|
UNKNOWN = "UNKNOWN",
|
|
@@ -115,6 +119,8 @@ export declare enum ActivityStatusStatus {
|
|
|
115
119
|
/** User member can't participate in site activities, such as writing blog posts and forum comments. */
|
|
116
120
|
MUTED = "MUTED"
|
|
117
121
|
}
|
|
122
|
+
/** @enumType */
|
|
123
|
+
export type ActivityStatusStatusWithLiterals = ActivityStatusStatus | 'UNKNOWN' | 'ACTIVE' | 'MUTED';
|
|
118
124
|
export interface QueryUserMembersRequest {
|
|
119
125
|
/** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more details. */
|
|
120
126
|
query?: CursorQuery;
|
|
@@ -146,7 +152,7 @@ export interface Sorting {
|
|
|
146
152
|
/** Name of the field to sort by. */
|
|
147
153
|
fieldName?: string;
|
|
148
154
|
/** Sort order. */
|
|
149
|
-
order?:
|
|
155
|
+
order?: SortOrderWithLiterals;
|
|
150
156
|
}
|
|
151
157
|
export declare enum SortOrder {
|
|
152
158
|
/** Sorting is in ascending order. */
|
|
@@ -154,6 +160,8 @@ export declare enum SortOrder {
|
|
|
154
160
|
/** Sorting is in descending order. */
|
|
155
161
|
DESC = "DESC"
|
|
156
162
|
}
|
|
163
|
+
/** @enumType */
|
|
164
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
157
165
|
export interface CursorPaging {
|
|
158
166
|
/**
|
|
159
167
|
* Number of items to load.
|
|
@@ -205,25 +213,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
205
213
|
updatedEvent?: EntityUpdatedEvent;
|
|
206
214
|
deletedEvent?: EntityDeletedEvent;
|
|
207
215
|
actionEvent?: ActionEvent;
|
|
208
|
-
/**
|
|
209
|
-
* Unique event ID.
|
|
210
|
-
* Allows clients to ignore duplicate webhooks.
|
|
211
|
-
*/
|
|
216
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
212
217
|
id?: string;
|
|
213
218
|
/**
|
|
214
|
-
*
|
|
215
|
-
*
|
|
219
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
220
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
216
221
|
*/
|
|
217
222
|
entityFqdn?: string;
|
|
218
223
|
/**
|
|
219
|
-
*
|
|
220
|
-
*
|
|
221
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
224
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
225
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
222
226
|
*/
|
|
223
227
|
slug?: string;
|
|
224
228
|
/** ID of the entity associated with the event. */
|
|
225
229
|
entityId?: string;
|
|
226
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
230
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
227
231
|
eventTime?: Date | null;
|
|
228
232
|
/**
|
|
229
233
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -233,12 +237,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
233
237
|
/** If present, indicates the action that triggered the event. */
|
|
234
238
|
originatedFrom?: string | null;
|
|
235
239
|
/**
|
|
236
|
-
* A sequence number
|
|
237
|
-
*
|
|
238
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
239
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
240
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
241
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
240
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
241
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
242
242
|
*/
|
|
243
243
|
entityEventSequence?: string | null;
|
|
244
244
|
}
|
|
@@ -266,7 +266,7 @@ export interface EntityUpdatedEvent {
|
|
|
266
266
|
currentEntityAsJson?: string;
|
|
267
267
|
}
|
|
268
268
|
export interface EntityDeletedEvent {
|
|
269
|
-
/** Entity that was deleted */
|
|
269
|
+
/** Entity that was deleted. */
|
|
270
270
|
deletedEntityAsJson?: string | null;
|
|
271
271
|
}
|
|
272
272
|
export interface ActionEvent {
|
|
@@ -315,6 +315,14 @@ export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
|
315
315
|
urlChanged?: SiteUrlChanged;
|
|
316
316
|
/** Site is marked as PurgedExternally */
|
|
317
317
|
sitePurgedExternally?: SitePurgedExternally;
|
|
318
|
+
/** Emitted when Odeditor is attached. */
|
|
319
|
+
odeditorAssigned?: OdeditorAssigned;
|
|
320
|
+
/** Emitted when Odeditor is detached. */
|
|
321
|
+
odeditorUnassigned?: OdeditorUnassigned;
|
|
322
|
+
/** Emitted when Picasso is attached. */
|
|
323
|
+
picassoAssigned?: PicassoAssigned;
|
|
324
|
+
/** Emitted when Picasso is detached. */
|
|
325
|
+
picassoUnassigned?: PicassoUnassigned;
|
|
318
326
|
/**
|
|
319
327
|
* A meta site id.
|
|
320
328
|
* @format GUID
|
|
@@ -373,6 +381,14 @@ export interface MetaSiteSpecialEventPayloadOneOf {
|
|
|
373
381
|
urlChanged?: SiteUrlChanged;
|
|
374
382
|
/** Site is marked as PurgedExternally */
|
|
375
383
|
sitePurgedExternally?: SitePurgedExternally;
|
|
384
|
+
/** Emitted when Odeditor is attached. */
|
|
385
|
+
odeditorAssigned?: OdeditorAssigned;
|
|
386
|
+
/** Emitted when Odeditor is detached. */
|
|
387
|
+
odeditorUnassigned?: OdeditorUnassigned;
|
|
388
|
+
/** Emitted when Picasso is attached. */
|
|
389
|
+
picassoAssigned?: PicassoAssigned;
|
|
390
|
+
/** Emitted when Picasso is detached. */
|
|
391
|
+
picassoUnassigned?: PicassoUnassigned;
|
|
376
392
|
}
|
|
377
393
|
export interface Asset {
|
|
378
394
|
/**
|
|
@@ -386,7 +402,7 @@ export interface Asset {
|
|
|
386
402
|
*/
|
|
387
403
|
instanceId?: string;
|
|
388
404
|
/** An application state. */
|
|
389
|
-
state?:
|
|
405
|
+
state?: StateWithLiterals;
|
|
390
406
|
}
|
|
391
407
|
export declare enum State {
|
|
392
408
|
UNKNOWN = "UNKNOWN",
|
|
@@ -395,6 +411,8 @@ export declare enum State {
|
|
|
395
411
|
PENDING = "PENDING",
|
|
396
412
|
DEMO = "DEMO"
|
|
397
413
|
}
|
|
414
|
+
/** @enumType */
|
|
415
|
+
export type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
|
|
398
416
|
export interface SiteCreated {
|
|
399
417
|
/**
|
|
400
418
|
* A template identifier (empty if not created from a template).
|
|
@@ -407,7 +425,7 @@ export interface SiteCreated {
|
|
|
407
425
|
*/
|
|
408
426
|
ownerId?: string;
|
|
409
427
|
/** A context in which meta site was created. */
|
|
410
|
-
context?:
|
|
428
|
+
context?: SiteCreatedContextWithLiterals;
|
|
411
429
|
/**
|
|
412
430
|
* A meta site id from which this site was created.
|
|
413
431
|
*
|
|
@@ -422,7 +440,7 @@ export interface SiteCreated {
|
|
|
422
440
|
*/
|
|
423
441
|
siteName?: string;
|
|
424
442
|
/** A namespace. */
|
|
425
|
-
namespace?:
|
|
443
|
+
namespace?: NamespaceWithLiterals;
|
|
426
444
|
}
|
|
427
445
|
export declare enum SiteCreatedContext {
|
|
428
446
|
/** A valid option, we don't expose all reasons why site might be created. */
|
|
@@ -438,6 +456,8 @@ export declare enum SiteCreatedContext {
|
|
|
438
456
|
/** deprecated A meta site was created for Flash editor. */
|
|
439
457
|
FLASH = "FLASH"
|
|
440
458
|
}
|
|
459
|
+
/** @enumType */
|
|
460
|
+
export type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
|
|
441
461
|
export declare enum Namespace {
|
|
442
462
|
UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
|
|
443
463
|
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
@@ -520,6 +540,8 @@ export declare enum Namespace {
|
|
|
520
540
|
/** MIMIR - Siteless account for MIMIR Ai Job runner. */
|
|
521
541
|
MIMIR = "MIMIR"
|
|
522
542
|
}
|
|
543
|
+
/** @enumType */
|
|
544
|
+
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';
|
|
523
545
|
/** Site transferred to another user. */
|
|
524
546
|
export interface SiteTransferred {
|
|
525
547
|
/**
|
|
@@ -542,7 +564,7 @@ export interface DeleteContext {
|
|
|
542
564
|
/** When the meta site was deleted. */
|
|
543
565
|
dateDeleted?: Date | null;
|
|
544
566
|
/** A status. */
|
|
545
|
-
deleteStatus?:
|
|
567
|
+
deleteStatus?: DeleteStatusWithLiterals;
|
|
546
568
|
/**
|
|
547
569
|
* A reason (flow).
|
|
548
570
|
* @maxLength 255
|
|
@@ -561,6 +583,8 @@ export declare enum DeleteStatus {
|
|
|
561
583
|
PENDING_PURGE = "PENDING_PURGE",
|
|
562
584
|
PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
|
|
563
585
|
}
|
|
586
|
+
/** @enumType */
|
|
587
|
+
export type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
|
|
564
588
|
/** Restoration of the meta site. */
|
|
565
589
|
export interface SiteUndeleted {
|
|
566
590
|
}
|
|
@@ -662,9 +686,9 @@ export interface SiteHardDeleted {
|
|
|
662
686
|
}
|
|
663
687
|
export interface NamespaceChanged {
|
|
664
688
|
/** A previous namespace. */
|
|
665
|
-
oldNamespace?:
|
|
689
|
+
oldNamespace?: NamespaceWithLiterals;
|
|
666
690
|
/** A new namespace. */
|
|
667
|
-
newNamespace?:
|
|
691
|
+
newNamespace?: NamespaceWithLiterals;
|
|
668
692
|
}
|
|
669
693
|
/** Assigned Studio editor */
|
|
670
694
|
export interface StudioAssigned {
|
|
@@ -695,3 +719,15 @@ export interface SitePurgedExternally {
|
|
|
695
719
|
*/
|
|
696
720
|
appDefId?: string[];
|
|
697
721
|
}
|
|
722
|
+
/** Assigned Odeditor */
|
|
723
|
+
export interface OdeditorAssigned {
|
|
724
|
+
}
|
|
725
|
+
/** Unassigned Odeditor */
|
|
726
|
+
export interface OdeditorUnassigned {
|
|
727
|
+
}
|
|
728
|
+
/** Assigned Picasso editor */
|
|
729
|
+
export interface PicassoAssigned {
|
|
730
|
+
}
|
|
731
|
+
/** Unassigned Picasso */
|
|
732
|
+
export interface PicassoUnassigned {
|
|
733
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"members-usermembers-v1-user-member-user-member.types.js","sourceRoot":"","sources":["../../../src/members-usermembers-v1-user-member-user-member.types.ts"],"names":[],"mappings":";;;AA2FA,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,6CAA6C;IAC7C,0CAAmB,CAAA;IACnB,mJAAmJ;IACnJ,0CAAmB,CAAA;IACnB,0CAA0C;IAC1C,wCAAiB,CAAA;AACnB,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;
|
|
1
|
+
{"version":3,"file":"members-usermembers-v1-user-member-user-member.types.js","sourceRoot":"","sources":["../../../src/members-usermembers-v1-user-member-user-member.types.ts"],"names":[],"mappings":";;;AA2FA,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,6CAA6C;IAC7C,0CAAmB,CAAA;IACnB,mJAAmJ;IACnJ,0CAAmB,CAAA;IACnB,0CAA0C;IAC1C,wCAAiB,CAAA;AACnB,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;AASD,IAAY,MAWX;AAXD,WAAY,MAAM;IAChB,6CAA6C;IAC7C,6BAAmB,CAAA;IACnB,8DAA8D;IAC9D,6BAAmB,CAAA;IACnB,0DAA0D;IAC1D,+BAAqB,CAAA;IACrB,4DAA4D;IAC5D,6BAAmB,CAAA;IACnB,uKAAuK;IACvK,6BAAmB,CAAA;AACrB,CAAC,EAXW,MAAM,sBAAN,MAAM,QAWjB;AAWD,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,6CAA6C;IAC7C,2CAAmB,CAAA;IACnB,qG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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;IACrC,wHAAwH;IACxH,oDAAuC,CAAA;IACvC,wDAAwD;IACxD,4BAAe,CAAA;AACjB,CAAC,EAjFW,SAAS,yBAAT,SAAS,QAiFpB;AAyED,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;IAC/B,uDAAuC,CAAA;AACzC,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB"}
|
|
@@ -40,7 +40,7 @@ export interface UserMember {
|
|
|
40
40
|
* User member profile privacy status.
|
|
41
41
|
* @readonly
|
|
42
42
|
*/
|
|
43
|
-
privacyStatus?:
|
|
43
|
+
privacyStatus?: PrivacyStatusStatusWithLiterals;
|
|
44
44
|
/**
|
|
45
45
|
* Date and time the user member was created.
|
|
46
46
|
* @readonly
|
|
@@ -55,12 +55,12 @@ export interface UserMember {
|
|
|
55
55
|
* User member site access status.
|
|
56
56
|
* @readonly
|
|
57
57
|
*/
|
|
58
|
-
status?:
|
|
58
|
+
status?: StatusWithLiterals;
|
|
59
59
|
/**
|
|
60
60
|
* User member activity status.
|
|
61
61
|
* @readonly
|
|
62
62
|
*/
|
|
63
|
-
activityStatus?:
|
|
63
|
+
activityStatus?: ActivityStatusStatusWithLiterals;
|
|
64
64
|
}
|
|
65
65
|
export interface Image {
|
|
66
66
|
/**
|
|
@@ -95,6 +95,8 @@ export declare enum PrivacyStatusStatus {
|
|
|
95
95
|
/** User member is visible to everyone. */
|
|
96
96
|
PUBLIC = "PUBLIC"
|
|
97
97
|
}
|
|
98
|
+
/** @enumType */
|
|
99
|
+
export type PrivacyStatusStatusWithLiterals = PrivacyStatusStatus | 'UNKNOWN' | 'PRIVATE' | 'PUBLIC';
|
|
98
100
|
export declare enum Status {
|
|
99
101
|
/** Unknown status. This value isn't used. */
|
|
100
102
|
UNKNOWN = "UNKNOWN",
|
|
@@ -107,6 +109,8 @@ export declare enum Status {
|
|
|
107
109
|
/** User member is a [guest author](https://support.wix.com/en/article/wix-blog-adding-managed-writers-to-your-blog) for the site blog and can't log in to the site. */
|
|
108
110
|
OFFLINE = "OFFLINE"
|
|
109
111
|
}
|
|
112
|
+
/** @enumType */
|
|
113
|
+
export type StatusWithLiterals = Status | 'UNKNOWN' | 'PENDING' | 'APPROVED' | 'BLOCKED' | 'OFFLINE';
|
|
110
114
|
export declare enum ActivityStatusStatus {
|
|
111
115
|
/** Unknown status. This value isn't used. */
|
|
112
116
|
UNKNOWN = "UNKNOWN",
|
|
@@ -115,6 +119,8 @@ export declare enum ActivityStatusStatus {
|
|
|
115
119
|
/** User member can't participate in site activities, such as writing blog posts and forum comments. */
|
|
116
120
|
MUTED = "MUTED"
|
|
117
121
|
}
|
|
122
|
+
/** @enumType */
|
|
123
|
+
export type ActivityStatusStatusWithLiterals = ActivityStatusStatus | 'UNKNOWN' | 'ACTIVE' | 'MUTED';
|
|
118
124
|
export interface QueryUserMembersRequest {
|
|
119
125
|
/** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more details. */
|
|
120
126
|
query?: CursorQuery;
|
|
@@ -146,7 +152,7 @@ export interface Sorting {
|
|
|
146
152
|
/** Name of the field to sort by. */
|
|
147
153
|
fieldName?: string;
|
|
148
154
|
/** Sort order. */
|
|
149
|
-
order?:
|
|
155
|
+
order?: SortOrderWithLiterals;
|
|
150
156
|
}
|
|
151
157
|
export declare enum SortOrder {
|
|
152
158
|
/** Sorting is in ascending order. */
|
|
@@ -154,6 +160,8 @@ export declare enum SortOrder {
|
|
|
154
160
|
/** Sorting is in descending order. */
|
|
155
161
|
DESC = "DESC"
|
|
156
162
|
}
|
|
163
|
+
/** @enumType */
|
|
164
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
157
165
|
export interface CursorPaging {
|
|
158
166
|
/**
|
|
159
167
|
* Number of items to load.
|
|
@@ -205,25 +213,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
205
213
|
updatedEvent?: EntityUpdatedEvent;
|
|
206
214
|
deletedEvent?: EntityDeletedEvent;
|
|
207
215
|
actionEvent?: ActionEvent;
|
|
208
|
-
/**
|
|
209
|
-
* Unique event ID.
|
|
210
|
-
* Allows clients to ignore duplicate webhooks.
|
|
211
|
-
*/
|
|
216
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
212
217
|
_id?: string;
|
|
213
218
|
/**
|
|
214
|
-
*
|
|
215
|
-
*
|
|
219
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
220
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
216
221
|
*/
|
|
217
222
|
entityFqdn?: string;
|
|
218
223
|
/**
|
|
219
|
-
*
|
|
220
|
-
*
|
|
221
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
224
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
225
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
222
226
|
*/
|
|
223
227
|
slug?: string;
|
|
224
228
|
/** ID of the entity associated with the event. */
|
|
225
229
|
entityId?: string;
|
|
226
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
230
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
227
231
|
eventTime?: Date | null;
|
|
228
232
|
/**
|
|
229
233
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -233,12 +237,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
233
237
|
/** If present, indicates the action that triggered the event. */
|
|
234
238
|
originatedFrom?: string | null;
|
|
235
239
|
/**
|
|
236
|
-
* A sequence number
|
|
237
|
-
*
|
|
238
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
239
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
240
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
241
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
240
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
241
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
242
242
|
*/
|
|
243
243
|
entityEventSequence?: string | null;
|
|
244
244
|
}
|
|
@@ -264,7 +264,7 @@ export interface EntityUpdatedEvent {
|
|
|
264
264
|
currentEntity?: string;
|
|
265
265
|
}
|
|
266
266
|
export interface EntityDeletedEvent {
|
|
267
|
-
/** Entity that was deleted */
|
|
267
|
+
/** Entity that was deleted. */
|
|
268
268
|
deletedEntity?: string | null;
|
|
269
269
|
}
|
|
270
270
|
export interface ActionEvent {
|
|
@@ -313,6 +313,14 @@ export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
|
313
313
|
urlChanged?: SiteUrlChanged;
|
|
314
314
|
/** Site is marked as PurgedExternally */
|
|
315
315
|
sitePurgedExternally?: SitePurgedExternally;
|
|
316
|
+
/** Emitted when Odeditor is attached. */
|
|
317
|
+
odeditorAssigned?: OdeditorAssigned;
|
|
318
|
+
/** Emitted when Odeditor is detached. */
|
|
319
|
+
odeditorUnassigned?: OdeditorUnassigned;
|
|
320
|
+
/** Emitted when Picasso is attached. */
|
|
321
|
+
picassoAssigned?: PicassoAssigned;
|
|
322
|
+
/** Emitted when Picasso is detached. */
|
|
323
|
+
picassoUnassigned?: PicassoUnassigned;
|
|
316
324
|
/**
|
|
317
325
|
* A meta site id.
|
|
318
326
|
* @format GUID
|
|
@@ -371,6 +379,14 @@ export interface MetaSiteSpecialEventPayloadOneOf {
|
|
|
371
379
|
urlChanged?: SiteUrlChanged;
|
|
372
380
|
/** Site is marked as PurgedExternally */
|
|
373
381
|
sitePurgedExternally?: SitePurgedExternally;
|
|
382
|
+
/** Emitted when Odeditor is attached. */
|
|
383
|
+
odeditorAssigned?: OdeditorAssigned;
|
|
384
|
+
/** Emitted when Odeditor is detached. */
|
|
385
|
+
odeditorUnassigned?: OdeditorUnassigned;
|
|
386
|
+
/** Emitted when Picasso is attached. */
|
|
387
|
+
picassoAssigned?: PicassoAssigned;
|
|
388
|
+
/** Emitted when Picasso is detached. */
|
|
389
|
+
picassoUnassigned?: PicassoUnassigned;
|
|
374
390
|
}
|
|
375
391
|
export interface Asset {
|
|
376
392
|
/**
|
|
@@ -384,7 +400,7 @@ export interface Asset {
|
|
|
384
400
|
*/
|
|
385
401
|
instanceId?: string;
|
|
386
402
|
/** An application state. */
|
|
387
|
-
state?:
|
|
403
|
+
state?: StateWithLiterals;
|
|
388
404
|
}
|
|
389
405
|
export declare enum State {
|
|
390
406
|
UNKNOWN = "UNKNOWN",
|
|
@@ -393,6 +409,8 @@ export declare enum State {
|
|
|
393
409
|
PENDING = "PENDING",
|
|
394
410
|
DEMO = "DEMO"
|
|
395
411
|
}
|
|
412
|
+
/** @enumType */
|
|
413
|
+
export type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
|
|
396
414
|
export interface SiteCreated {
|
|
397
415
|
/**
|
|
398
416
|
* A template identifier (empty if not created from a template).
|
|
@@ -405,7 +423,7 @@ export interface SiteCreated {
|
|
|
405
423
|
*/
|
|
406
424
|
ownerId?: string;
|
|
407
425
|
/** A context in which meta site was created. */
|
|
408
|
-
context?:
|
|
426
|
+
context?: SiteCreatedContextWithLiterals;
|
|
409
427
|
/**
|
|
410
428
|
* A meta site id from which this site was created.
|
|
411
429
|
*
|
|
@@ -420,7 +438,7 @@ export interface SiteCreated {
|
|
|
420
438
|
*/
|
|
421
439
|
siteName?: string;
|
|
422
440
|
/** A namespace. */
|
|
423
|
-
namespace?:
|
|
441
|
+
namespace?: NamespaceWithLiterals;
|
|
424
442
|
}
|
|
425
443
|
export declare enum SiteCreatedContext {
|
|
426
444
|
/** A valid option, we don't expose all reasons why site might be created. */
|
|
@@ -436,6 +454,8 @@ export declare enum SiteCreatedContext {
|
|
|
436
454
|
/** deprecated A meta site was created for Flash editor. */
|
|
437
455
|
FLASH = "FLASH"
|
|
438
456
|
}
|
|
457
|
+
/** @enumType */
|
|
458
|
+
export type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
|
|
439
459
|
export declare enum Namespace {
|
|
440
460
|
UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
|
|
441
461
|
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
@@ -518,6 +538,8 @@ export declare enum Namespace {
|
|
|
518
538
|
/** MIMIR - Siteless account for MIMIR Ai Job runner. */
|
|
519
539
|
MIMIR = "MIMIR"
|
|
520
540
|
}
|
|
541
|
+
/** @enumType */
|
|
542
|
+
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';
|
|
521
543
|
/** Site transferred to another user. */
|
|
522
544
|
export interface SiteTransferred {
|
|
523
545
|
/**
|
|
@@ -540,7 +562,7 @@ export interface DeleteContext {
|
|
|
540
562
|
/** When the meta site was deleted. */
|
|
541
563
|
dateDeleted?: Date | null;
|
|
542
564
|
/** A status. */
|
|
543
|
-
deleteStatus?:
|
|
565
|
+
deleteStatus?: DeleteStatusWithLiterals;
|
|
544
566
|
/**
|
|
545
567
|
* A reason (flow).
|
|
546
568
|
* @maxLength 255
|
|
@@ -559,6 +581,8 @@ export declare enum DeleteStatus {
|
|
|
559
581
|
PENDING_PURGE = "PENDING_PURGE",
|
|
560
582
|
PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
|
|
561
583
|
}
|
|
584
|
+
/** @enumType */
|
|
585
|
+
export type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
|
|
562
586
|
/** Restoration of the meta site. */
|
|
563
587
|
export interface SiteUndeleted {
|
|
564
588
|
}
|
|
@@ -660,9 +684,9 @@ export interface SiteHardDeleted {
|
|
|
660
684
|
}
|
|
661
685
|
export interface NamespaceChanged {
|
|
662
686
|
/** A previous namespace. */
|
|
663
|
-
oldNamespace?:
|
|
687
|
+
oldNamespace?: NamespaceWithLiterals;
|
|
664
688
|
/** A new namespace. */
|
|
665
|
-
newNamespace?:
|
|
689
|
+
newNamespace?: NamespaceWithLiterals;
|
|
666
690
|
}
|
|
667
691
|
/** Assigned Studio editor */
|
|
668
692
|
export interface StudioAssigned {
|
|
@@ -693,6 +717,18 @@ export interface SitePurgedExternally {
|
|
|
693
717
|
*/
|
|
694
718
|
appDefId?: string[];
|
|
695
719
|
}
|
|
720
|
+
/** Assigned Odeditor */
|
|
721
|
+
export interface OdeditorAssigned {
|
|
722
|
+
}
|
|
723
|
+
/** Unassigned Odeditor */
|
|
724
|
+
export interface OdeditorUnassigned {
|
|
725
|
+
}
|
|
726
|
+
/** Assigned Picasso editor */
|
|
727
|
+
export interface PicassoAssigned {
|
|
728
|
+
}
|
|
729
|
+
/** Unassigned Picasso */
|
|
730
|
+
export interface PicassoUnassigned {
|
|
731
|
+
}
|
|
696
732
|
/**
|
|
697
733
|
* Creates a query to retrieve a list of user members.
|
|
698
734
|
*
|
|
@@ -742,22 +778,22 @@ export interface UserMembersQueryBuilder {
|
|
|
742
778
|
* @param value - Value to compare against.
|
|
743
779
|
* @documentationMaturity preview
|
|
744
780
|
*/
|
|
745
|
-
ge: (propertyName: '_createdDate', value: any) => UserMembersQueryBuilder;
|
|
781
|
+
ge: (propertyName: 'memberId' | 'userId' | 'siteMembersInstanceId' | 'metaSiteId' | '_createdDate', value: any) => UserMembersQueryBuilder;
|
|
746
782
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
747
783
|
* @param value - Value to compare against.
|
|
748
784
|
* @documentationMaturity preview
|
|
749
785
|
*/
|
|
750
|
-
gt: (propertyName: '_createdDate', value: any) => UserMembersQueryBuilder;
|
|
786
|
+
gt: (propertyName: 'memberId' | 'userId' | 'siteMembersInstanceId' | 'metaSiteId' | '_createdDate', value: any) => UserMembersQueryBuilder;
|
|
751
787
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
752
788
|
* @param value - Value to compare against.
|
|
753
789
|
* @documentationMaturity preview
|
|
754
790
|
*/
|
|
755
|
-
le: (propertyName: '_createdDate', value: any) => UserMembersQueryBuilder;
|
|
791
|
+
le: (propertyName: 'memberId' | 'userId' | 'siteMembersInstanceId' | 'metaSiteId' | '_createdDate', value: any) => UserMembersQueryBuilder;
|
|
756
792
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
757
793
|
* @param value - Value to compare against.
|
|
758
794
|
* @documentationMaturity preview
|
|
759
795
|
*/
|
|
760
|
-
lt: (propertyName: '_createdDate', value: any) => UserMembersQueryBuilder;
|
|
796
|
+
lt: (propertyName: 'memberId' | 'userId' | 'siteMembersInstanceId' | 'metaSiteId' | '_createdDate', value: any) => UserMembersQueryBuilder;
|
|
761
797
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
762
798
|
* @param string - String to compare against. Case-insensitive.
|
|
763
799
|
* @documentationMaturity preview
|
|
@@ -28,6 +28,8 @@ const transform_error_1 = require("@wix/sdk-runtime/transform-error");
|
|
|
28
28
|
const query_builder_1 = require("@wix/sdk-runtime/query-builder");
|
|
29
29
|
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
30
30
|
const ambassadorWixMembersUsermembersV1UserMember = __importStar(require("./members-usermembers-v1-user-member-user-member.http.js"));
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
31
33
|
var PrivacyStatusStatus;
|
|
32
34
|
(function (PrivacyStatusStatus) {
|
|
33
35
|
/** Unknown status. This value isn't used. */
|
|
@@ -225,7 +227,7 @@ function queryUserMembers() {
|
|
|
225
227
|
});
|
|
226
228
|
},
|
|
227
229
|
responseTransformer: ({ data }) => {
|
|
228
|
-
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(data);
|
|
230
|
+
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(data, []));
|
|
229
231
|
return {
|
|
230
232
|
items: transformedData?.userMembers,
|
|
231
233
|
pagingMetadata: transformedData?.metadata,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"members-usermembers-v1-user-member-user-member.universal.js","sourceRoot":"","sources":["../../../src/members-usermembers-v1-user-member-user-member.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,sIAAwH;
|
|
1
|
+
{"version":3,"file":"members-usermembers-v1-user-member-user-member.universal.js","sourceRoot":"","sources":["../../../src/members-usermembers-v1-user-member-user-member.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,sIAAwH;AACxH,aAAa;AACb,sFAAkF;AA6FlF,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,6CAA6C;IAC7C,0CAAmB,CAAA;IACnB,mJAAmJ;IACnJ,0CAAmB,CAAA;IACnB,0CAA0C;IAC1C,wCAAiB,CAAA;AACnB,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;AASD,IAAY,MAWX;AAXD,WAAY,MAAM;IAChB,6CAA6C;IAC7C,6BAAmB,CAAA;IACnB,8DAA8D;IAC9D,6BAAmB,CAAA;IACnB,0DAA0D;IAC1D,+BAAqB,CAAA;IACrB,4DAA4D;IAC5D,6BAAmB,CAAA;IACnB,uKAAuK;IACvK,6BAAmB,CAAA;AACrB,CAAC,EAXW,MAAM,sBAAN,MAAM,QAWjB;AAWD,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,6CAA6C;IAC7C,2CAAmB,CAAA;IACnB,qGAAqG;IACrG,yCAAiB,CAAA;IACjB,uGAAuG;IACvG,uCAAe,CAAA;AACjB,CAAC,EAPW,oBAAoB,oCAApB,oBAAoB,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;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;YACZ,CAAC;QACH,CAAC;QACD,kBAAkB,EAAE,CAAC,KAAuC,EAAE,EAAE;YAC9D,MAAM,IAAI,GAAG,CAAC,KAAK,EAAE,EAAE,CAA2C,CAAC;YACnE,OAAO,IAAA,8DAAqC,EAAC;gBAC3C,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC;gBACZ,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;aACjB,CAAC,CAAC;QACL,CAAC;QACD,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAA0C,EAAE,EAAE;YACxE,MAAM,eAAe,GAAG,IAAA,gEAAuC,EAC7D,IAAA,gCAAc,EAAC,IAAI,EAAE,EAAE,CAAC,CACzB,CAAC;YAEF,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,WAAW;gBACnC,cAAc,EAAE,eAAe,EAAE,QAAQ;aAC1C,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AAxDD,4CAwDC"}
|
|
@@ -2,4 +2,4 @@ import { queryUserMembers as publicQueryUserMembers } from './members-usermember
|
|
|
2
2
|
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
3
3
|
export declare const queryUserMembers: MaybeContext<BuildRESTFunction<typeof publicQueryUserMembers> & typeof publicQueryUserMembers>;
|
|
4
4
|
export { PrivacyStatusStatus, Status, ActivityStatusStatus, SortOrder, State, SiteCreatedContext, Namespace, DeleteStatus, } from './members-usermembers-v1-user-member-user-member.universal.js';
|
|
5
|
-
export { UserMember, Image, QueryUserMembersRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryUserMembersResponse, CursorPagingMetadata, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Asset, SiteCreated, SiteTransferred, SiteDeleted, DeleteContext, SiteUndeleted, SitePublished, SiteUnpublished, SiteMarkedAsTemplate, SiteMarkedAsWixSite, ServiceProvisioned, ServiceRemoved, SiteRenamed, SiteHardDeleted, NamespaceChanged, StudioAssigned, StudioUnassigned, SiteUrlChanged, SitePurgedExternally, UserMembersQueryResult, UserMembersQueryBuilder, } from './members-usermembers-v1-user-member-user-member.universal.js';
|
|
5
|
+
export { UserMember, Image, QueryUserMembersRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryUserMembersResponse, CursorPagingMetadata, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Asset, SiteCreated, SiteTransferred, SiteDeleted, DeleteContext, SiteUndeleted, SitePublished, SiteUnpublished, SiteMarkedAsTemplate, SiteMarkedAsWixSite, ServiceProvisioned, ServiceRemoved, SiteRenamed, SiteHardDeleted, NamespaceChanged, StudioAssigned, StudioUnassigned, SiteUrlChanged, SitePurgedExternally, OdeditorAssigned, OdeditorUnassigned, PicassoAssigned, PicassoUnassigned, UserMembersQueryResult, UserMembersQueryBuilder, } from './members-usermembers-v1-user-member-user-member.universal.js';
|
|
@@ -20,4 +20,4 @@ interface QueryUserMembersSignature {
|
|
|
20
20
|
*/
|
|
21
21
|
(): UserMembersQueryBuilder;
|
|
22
22
|
}
|
|
23
|
-
export { ActionEvent, ActivityStatusStatus, Asset, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteContext, DeleteStatus, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Image, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, PrivacyStatusStatus, QueryUserMembersRequest, QueryUserMembersResponse, RestoreInfo, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, Sorting, State, Status, StudioAssigned, StudioUnassigned, UserMember, UserMembersQueryBuilder, UserMembersQueryResult, } from './members-usermembers-v1-user-member-user-member.universal.js';
|
|
23
|
+
export { ActionEvent, ActivityStatusStatus, Asset, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteContext, DeleteStatus, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Image, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, OdeditorAssigned, OdeditorUnassigned, PicassoAssigned, PicassoUnassigned, PrivacyStatusStatus, QueryUserMembersRequest, QueryUserMembersResponse, RestoreInfo, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, Sorting, State, Status, StudioAssigned, StudioUnassigned, UserMember, UserMembersQueryBuilder, UserMembersQueryResult, } from './members-usermembers-v1-user-member-user-member.universal.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"members-usermembers-v1-user-member-user-member.public.js","sourceRoot":"","sources":["../../../src/members-usermembers-v1-user-member-user-member.public.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,gBAAgB,IAAI,yBAAyB,GAC9C,MAAM,+DAA+D,CAAC;AAEvE,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AAE3D,MAAM,UAAU,gBAAgB,CAC9B,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,yBAAyB;IACvB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAmBD,OAAO,EAEL,oBAAoB,EAQpB,YAAY,EAUZ,SAAS,
|
|
1
|
+
{"version":3,"file":"members-usermembers-v1-user-member-user-member.public.js","sourceRoot":"","sources":["../../../src/members-usermembers-v1-user-member-user-member.public.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,gBAAgB,IAAI,yBAAyB,GAC9C,MAAM,+DAA+D,CAAC;AAEvE,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AAE3D,MAAM,UAAU,gBAAgB,CAC9B,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,yBAAyB;IACvB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAmBD,OAAO,EAEL,oBAAoB,EAQpB,YAAY,EAUZ,SAAS,EAMT,mBAAmB,EAOnB,kBAAkB,EAYlB,SAAS,EAET,KAAK,EACL,MAAM,GAMP,MAAM,+DAA+D,CAAC"}
|