@wix/auto_sdk_members_members 1.0.56 → 1.0.58
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-v1-member-members.context.d.ts +1 -1
- package/build/cjs/src/members-v1-member-members.public.d.ts +1 -1
- package/build/cjs/src/members-v1-member-members.public.js.map +1 -1
- package/build/cjs/src/members-v1-member-members.types.d.ts +72 -32
- package/build/cjs/src/members-v1-member-members.types.js.map +1 -1
- package/build/cjs/src/members-v1-member-members.universal.d.ts +130 -56
- package/build/cjs/src/members-v1-member-members.universal.js +23 -1
- package/build/cjs/src/members-v1-member-members.universal.js.map +1 -1
- package/build/es/src/members-v1-member-members.context.d.ts +1 -1
- package/build/es/src/members-v1-member-members.public.d.ts +1 -1
- package/build/es/src/members-v1-member-members.public.js.map +1 -1
- package/build/es/src/members-v1-member-members.types.d.ts +72 -32
- package/build/es/src/members-v1-member-members.types.js.map +1 -1
- package/build/es/src/members-v1-member-members.universal.d.ts +130 -56
- package/build/es/src/members-v1-member-members.universal.js +23 -1
- package/build/es/src/members-v1-member-members.universal.js.map +1 -1
- package/build/internal/cjs/src/members-v1-member-members.context.d.ts +1 -1
- package/build/internal/cjs/src/members-v1-member-members.public.d.ts +1 -1
- package/build/internal/cjs/src/members-v1-member-members.public.js.map +1 -1
- package/build/internal/cjs/src/members-v1-member-members.types.d.ts +72 -32
- package/build/internal/cjs/src/members-v1-member-members.types.js.map +1 -1
- package/build/internal/cjs/src/members-v1-member-members.universal.d.ts +130 -56
- package/build/internal/cjs/src/members-v1-member-members.universal.js +23 -1
- package/build/internal/cjs/src/members-v1-member-members.universal.js.map +1 -1
- package/build/internal/es/src/members-v1-member-members.context.d.ts +1 -1
- package/build/internal/es/src/members-v1-member-members.public.d.ts +1 -1
- package/build/internal/es/src/members-v1-member-members.public.js.map +1 -1
- package/build/internal/es/src/members-v1-member-members.types.d.ts +72 -32
- package/build/internal/es/src/members-v1-member-members.types.js.map +1 -1
- package/build/internal/es/src/members-v1-member-members.universal.d.ts +130 -56
- package/build/internal/es/src/members-v1-member-members.universal.js +23 -1
- package/build/internal/es/src/members-v1-member-members.universal.js.map +1 -1
- package/package.json +4 -4
|
@@ -20,7 +20,7 @@ export interface Member {
|
|
|
20
20
|
* Member site access status.
|
|
21
21
|
* @readonly
|
|
22
22
|
*/
|
|
23
|
-
status?:
|
|
23
|
+
status?: StatusWithLiterals;
|
|
24
24
|
/**
|
|
25
25
|
* Contact ID.
|
|
26
26
|
* @format GUID
|
|
@@ -38,12 +38,12 @@ export interface Member {
|
|
|
38
38
|
/** Profile display details. */
|
|
39
39
|
profile?: Profile;
|
|
40
40
|
/** Member privacy status. */
|
|
41
|
-
privacyStatus?:
|
|
41
|
+
privacyStatus?: PrivacyStatusStatusWithLiterals;
|
|
42
42
|
/**
|
|
43
43
|
* Member activity status.
|
|
44
44
|
* @readonly
|
|
45
45
|
*/
|
|
46
|
-
activityStatus?:
|
|
46
|
+
activityStatus?: ActivityStatusStatusWithLiterals;
|
|
47
47
|
/**
|
|
48
48
|
* Date and time when the member was created.
|
|
49
49
|
* @readonly
|
|
@@ -72,6 +72,8 @@ export declare enum Status {
|
|
|
72
72
|
/** 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. */
|
|
73
73
|
OFFLINE = "OFFLINE"
|
|
74
74
|
}
|
|
75
|
+
/** @enumType */
|
|
76
|
+
export type StatusWithLiterals = Status | 'UNKNOWN' | 'PENDING' | 'APPROVED' | 'BLOCKED' | 'OFFLINE';
|
|
75
77
|
/** Contact info associated with the member. */
|
|
76
78
|
export interface Contact {
|
|
77
79
|
/** Contact's first name. */
|
|
@@ -239,6 +241,8 @@ export declare enum PrivacyStatusStatus {
|
|
|
239
241
|
/** Member is visible to everyone. */
|
|
240
242
|
PUBLIC = "PUBLIC"
|
|
241
243
|
}
|
|
244
|
+
/** @enumType */
|
|
245
|
+
export type PrivacyStatusStatusWithLiterals = PrivacyStatusStatus | 'UNKNOWN' | 'PRIVATE' | 'PUBLIC';
|
|
242
246
|
export declare enum ActivityStatusStatus {
|
|
243
247
|
/** Insufficient permissions to get the status. */
|
|
244
248
|
UNKNOWN = "UNKNOWN",
|
|
@@ -247,6 +251,8 @@ export declare enum ActivityStatusStatus {
|
|
|
247
251
|
/** Member can't write forum posts or blog comments. */
|
|
248
252
|
MUTED = "MUTED"
|
|
249
253
|
}
|
|
254
|
+
/** @enumType */
|
|
255
|
+
export type ActivityStatusStatusWithLiterals = ActivityStatusStatus | 'UNKNOWN' | 'ACTIVE' | 'MUTED';
|
|
250
256
|
export interface ExtendedFields {
|
|
251
257
|
/**
|
|
252
258
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -440,7 +446,7 @@ export interface GetMyMemberRequest {
|
|
|
440
446
|
* Default: `"PUBLIC"`.
|
|
441
447
|
* @maxSize 3
|
|
442
448
|
*/
|
|
443
|
-
fieldsets?:
|
|
449
|
+
fieldsets?: SetWithLiterals[];
|
|
444
450
|
}
|
|
445
451
|
export declare enum Set {
|
|
446
452
|
/**
|
|
@@ -453,6 +459,8 @@ export declare enum Set {
|
|
|
453
459
|
/** Includes all fields. */
|
|
454
460
|
FULL = "FULL"
|
|
455
461
|
}
|
|
462
|
+
/** @enumType */
|
|
463
|
+
export type SetWithLiterals = Set | 'PUBLIC' | 'EXTENDED' | 'FULL';
|
|
456
464
|
/** Member profile. */
|
|
457
465
|
export interface GetMyMemberResponse {
|
|
458
466
|
/** The retrieved member. */
|
|
@@ -470,7 +478,7 @@ export interface GetMemberRequest {
|
|
|
470
478
|
* Defaults to `"PUBLIC"`.
|
|
471
479
|
* @maxSize 3
|
|
472
480
|
*/
|
|
473
|
-
fieldsets?:
|
|
481
|
+
fieldsets?: SetWithLiterals[];
|
|
474
482
|
}
|
|
475
483
|
export interface GetMemberResponse {
|
|
476
484
|
/** The requested member. */
|
|
@@ -491,7 +499,7 @@ export interface ListMembersRequest {
|
|
|
491
499
|
* Default: `"PUBLIC"`.
|
|
492
500
|
* @maxSize 3
|
|
493
501
|
*/
|
|
494
|
-
fieldsets?:
|
|
502
|
+
fieldsets?: SetWithLiterals[];
|
|
495
503
|
sorting?: Sorting[];
|
|
496
504
|
}
|
|
497
505
|
export interface Paging {
|
|
@@ -507,12 +515,14 @@ export interface Sorting {
|
|
|
507
515
|
*/
|
|
508
516
|
fieldName?: string;
|
|
509
517
|
/** Sort order. */
|
|
510
|
-
order?:
|
|
518
|
+
order?: SortOrderWithLiterals;
|
|
511
519
|
}
|
|
512
520
|
export declare enum SortOrder {
|
|
513
521
|
ASC = "ASC",
|
|
514
522
|
DESC = "DESC"
|
|
515
523
|
}
|
|
524
|
+
/** @enumType */
|
|
525
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
516
526
|
export interface CursorPaging {
|
|
517
527
|
/**
|
|
518
528
|
* Maximum number of items to return in the results.
|
|
@@ -578,7 +588,7 @@ export interface QueryMembersRequest {
|
|
|
578
588
|
* Default: `"PUBLIC"`.
|
|
579
589
|
* @maxSize 3
|
|
580
590
|
*/
|
|
581
|
-
fieldsets?:
|
|
591
|
+
fieldsets?: SetWithLiterals[];
|
|
582
592
|
/** Plain text search. */
|
|
583
593
|
search?: Search;
|
|
584
594
|
}
|
|
@@ -913,25 +923,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
913
923
|
updatedEvent?: EntityUpdatedEvent;
|
|
914
924
|
deletedEvent?: EntityDeletedEvent;
|
|
915
925
|
actionEvent?: ActionEvent;
|
|
916
|
-
/**
|
|
917
|
-
* Unique event ID.
|
|
918
|
-
* Allows clients to ignore duplicate webhooks.
|
|
919
|
-
*/
|
|
926
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
920
927
|
_id?: string;
|
|
921
928
|
/**
|
|
922
|
-
*
|
|
923
|
-
*
|
|
929
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
930
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
924
931
|
*/
|
|
925
932
|
entityFqdn?: string;
|
|
926
933
|
/**
|
|
927
|
-
*
|
|
928
|
-
*
|
|
929
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
934
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
935
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
930
936
|
*/
|
|
931
937
|
slug?: string;
|
|
932
938
|
/** ID of the entity associated with the event. */
|
|
933
939
|
entityId?: string;
|
|
934
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
940
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
935
941
|
eventTime?: Date | null;
|
|
936
942
|
/**
|
|
937
943
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -941,12 +947,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
941
947
|
/** If present, indicates the action that triggered the event. */
|
|
942
948
|
originatedFrom?: string | null;
|
|
943
949
|
/**
|
|
944
|
-
* A sequence number
|
|
945
|
-
*
|
|
946
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
947
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
948
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
949
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
950
|
+
* 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.
|
|
951
|
+
* 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.
|
|
950
952
|
*/
|
|
951
953
|
entityEventSequence?: string | null;
|
|
952
954
|
}
|
|
@@ -972,7 +974,7 @@ export interface EntityUpdatedEvent {
|
|
|
972
974
|
currentEntity?: string;
|
|
973
975
|
}
|
|
974
976
|
export interface EntityDeletedEvent {
|
|
975
|
-
/** Entity that was deleted */
|
|
977
|
+
/** Entity that was deleted. */
|
|
976
978
|
deletedEntity?: string | null;
|
|
977
979
|
}
|
|
978
980
|
export interface ActionEvent {
|
|
@@ -1019,6 +1021,14 @@ export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
|
1019
1021
|
urlChanged?: SiteUrlChanged;
|
|
1020
1022
|
/** Site is marked as PurgedExternally */
|
|
1021
1023
|
sitePurgedExternally?: SitePurgedExternally;
|
|
1024
|
+
/** Emitted when Odeditor is attached. */
|
|
1025
|
+
odeditorAssigned?: OdeditorAssigned;
|
|
1026
|
+
/** Emitted when Odeditor is detached. */
|
|
1027
|
+
odeditorUnassigned?: OdeditorUnassigned;
|
|
1028
|
+
/** Emitted when Picasso is attached. */
|
|
1029
|
+
picassoAssigned?: PicassoAssigned;
|
|
1030
|
+
/** Emitted when Picasso is detached. */
|
|
1031
|
+
picassoUnassigned?: PicassoUnassigned;
|
|
1022
1032
|
/**
|
|
1023
1033
|
* A meta site id.
|
|
1024
1034
|
* @format GUID
|
|
@@ -1077,6 +1087,14 @@ export interface MetaSiteSpecialEventPayloadOneOf {
|
|
|
1077
1087
|
urlChanged?: SiteUrlChanged;
|
|
1078
1088
|
/** Site is marked as PurgedExternally */
|
|
1079
1089
|
sitePurgedExternally?: SitePurgedExternally;
|
|
1090
|
+
/** Emitted when Odeditor is attached. */
|
|
1091
|
+
odeditorAssigned?: OdeditorAssigned;
|
|
1092
|
+
/** Emitted when Odeditor is detached. */
|
|
1093
|
+
odeditorUnassigned?: OdeditorUnassigned;
|
|
1094
|
+
/** Emitted when Picasso is attached. */
|
|
1095
|
+
picassoAssigned?: PicassoAssigned;
|
|
1096
|
+
/** Emitted when Picasso is detached. */
|
|
1097
|
+
picassoUnassigned?: PicassoUnassigned;
|
|
1080
1098
|
}
|
|
1081
1099
|
export interface Asset {
|
|
1082
1100
|
/**
|
|
@@ -1090,7 +1108,7 @@ export interface Asset {
|
|
|
1090
1108
|
*/
|
|
1091
1109
|
instanceId?: string;
|
|
1092
1110
|
/** An application state. */
|
|
1093
|
-
state?:
|
|
1111
|
+
state?: StateWithLiterals;
|
|
1094
1112
|
}
|
|
1095
1113
|
export declare enum State {
|
|
1096
1114
|
UNKNOWN = "UNKNOWN",
|
|
@@ -1099,6 +1117,8 @@ export declare enum State {
|
|
|
1099
1117
|
PENDING = "PENDING",
|
|
1100
1118
|
DEMO = "DEMO"
|
|
1101
1119
|
}
|
|
1120
|
+
/** @enumType */
|
|
1121
|
+
export type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
|
|
1102
1122
|
export interface SiteCreated {
|
|
1103
1123
|
/**
|
|
1104
1124
|
* A template identifier (empty if not created from a template).
|
|
@@ -1111,7 +1131,7 @@ export interface SiteCreated {
|
|
|
1111
1131
|
*/
|
|
1112
1132
|
ownerId?: string;
|
|
1113
1133
|
/** A context in which meta site was created. */
|
|
1114
|
-
context?:
|
|
1134
|
+
context?: SiteCreatedContextWithLiterals;
|
|
1115
1135
|
/**
|
|
1116
1136
|
* A meta site id from which this site was created.
|
|
1117
1137
|
*
|
|
@@ -1126,7 +1146,7 @@ export interface SiteCreated {
|
|
|
1126
1146
|
*/
|
|
1127
1147
|
siteName?: string;
|
|
1128
1148
|
/** A namespace. */
|
|
1129
|
-
namespace?:
|
|
1149
|
+
namespace?: NamespaceWithLiterals;
|
|
1130
1150
|
}
|
|
1131
1151
|
export declare enum SiteCreatedContext {
|
|
1132
1152
|
/** A valid option, we don't expose all reasons why site might be created. */
|
|
@@ -1142,6 +1162,8 @@ export declare enum SiteCreatedContext {
|
|
|
1142
1162
|
/** deprecated A meta site was created for Flash editor. */
|
|
1143
1163
|
FLASH = "FLASH"
|
|
1144
1164
|
}
|
|
1165
|
+
/** @enumType */
|
|
1166
|
+
export type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
|
|
1145
1167
|
export declare enum Namespace {
|
|
1146
1168
|
UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
|
|
1147
1169
|
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
@@ -1224,6 +1246,8 @@ export declare enum Namespace {
|
|
|
1224
1246
|
/** MIMIR - Siteless account for MIMIR Ai Job runner. */
|
|
1225
1247
|
MIMIR = "MIMIR"
|
|
1226
1248
|
}
|
|
1249
|
+
/** @enumType */
|
|
1250
|
+
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';
|
|
1227
1251
|
/** Site transferred to another user. */
|
|
1228
1252
|
export interface SiteTransferred {
|
|
1229
1253
|
/**
|
|
@@ -1246,7 +1270,7 @@ export interface DeleteContext {
|
|
|
1246
1270
|
/** When the meta site was deleted. */
|
|
1247
1271
|
dateDeleted?: Date | null;
|
|
1248
1272
|
/** A status. */
|
|
1249
|
-
deleteStatus?:
|
|
1273
|
+
deleteStatus?: DeleteStatusWithLiterals;
|
|
1250
1274
|
/**
|
|
1251
1275
|
* A reason (flow).
|
|
1252
1276
|
* @maxLength 255
|
|
@@ -1265,6 +1289,8 @@ export declare enum DeleteStatus {
|
|
|
1265
1289
|
PENDING_PURGE = "PENDING_PURGE",
|
|
1266
1290
|
PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
|
|
1267
1291
|
}
|
|
1292
|
+
/** @enumType */
|
|
1293
|
+
export type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
|
|
1268
1294
|
/** Restoration of the meta site. */
|
|
1269
1295
|
export interface SiteUndeleted {
|
|
1270
1296
|
}
|
|
@@ -1366,9 +1392,9 @@ export interface SiteHardDeleted {
|
|
|
1366
1392
|
}
|
|
1367
1393
|
export interface NamespaceChanged {
|
|
1368
1394
|
/** A previous namespace. */
|
|
1369
|
-
oldNamespace?:
|
|
1395
|
+
oldNamespace?: NamespaceWithLiterals;
|
|
1370
1396
|
/** A new namespace. */
|
|
1371
|
-
newNamespace?:
|
|
1397
|
+
newNamespace?: NamespaceWithLiterals;
|
|
1372
1398
|
}
|
|
1373
1399
|
/** Assigned Studio editor */
|
|
1374
1400
|
export interface StudioAssigned {
|
|
@@ -1399,6 +1425,18 @@ export interface SitePurgedExternally {
|
|
|
1399
1425
|
*/
|
|
1400
1426
|
appDefId?: string[];
|
|
1401
1427
|
}
|
|
1428
|
+
/** Assigned Odeditor */
|
|
1429
|
+
export interface OdeditorAssigned {
|
|
1430
|
+
}
|
|
1431
|
+
/** Unassigned Odeditor */
|
|
1432
|
+
export interface OdeditorUnassigned {
|
|
1433
|
+
}
|
|
1434
|
+
/** Assigned Picasso editor */
|
|
1435
|
+
export interface PicassoAssigned {
|
|
1436
|
+
}
|
|
1437
|
+
/** Unassigned Picasso */
|
|
1438
|
+
export interface PicassoUnassigned {
|
|
1439
|
+
}
|
|
1402
1440
|
export interface MemberOwnershipTransferred {
|
|
1403
1441
|
fromMember?: Member;
|
|
1404
1442
|
toMember?: Member;
|
|
@@ -1447,7 +1485,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
1447
1485
|
*/
|
|
1448
1486
|
appId?: string;
|
|
1449
1487
|
/** @readonly */
|
|
1450
|
-
identityType?:
|
|
1488
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
1451
1489
|
}
|
|
1452
1490
|
/** @oneof */
|
|
1453
1491
|
export interface IdentificationDataIdOneOf {
|
|
@@ -1479,6 +1517,8 @@ export declare enum WebhookIdentityType {
|
|
|
1479
1517
|
WIX_USER = "WIX_USER",
|
|
1480
1518
|
APP = "APP"
|
|
1481
1519
|
}
|
|
1520
|
+
/** @enumType */
|
|
1521
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1482
1522
|
export interface BaseEventMetadata {
|
|
1483
1523
|
/**
|
|
1484
1524
|
* App instance ID.
|
|
@@ -1494,25 +1534,21 @@ export interface BaseEventMetadata {
|
|
|
1494
1534
|
identity?: IdentificationData;
|
|
1495
1535
|
}
|
|
1496
1536
|
export interface EventMetadata extends BaseEventMetadata {
|
|
1497
|
-
/**
|
|
1498
|
-
* Unique event ID.
|
|
1499
|
-
* Allows clients to ignore duplicate webhooks.
|
|
1500
|
-
*/
|
|
1537
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
1501
1538
|
_id?: string;
|
|
1502
1539
|
/**
|
|
1503
|
-
*
|
|
1504
|
-
*
|
|
1540
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
1541
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
1505
1542
|
*/
|
|
1506
1543
|
entityFqdn?: string;
|
|
1507
1544
|
/**
|
|
1508
|
-
*
|
|
1509
|
-
*
|
|
1510
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
1545
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
1546
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
1511
1547
|
*/
|
|
1512
1548
|
slug?: string;
|
|
1513
1549
|
/** ID of the entity associated with the event. */
|
|
1514
1550
|
entityId?: string;
|
|
1515
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
1551
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
1516
1552
|
eventTime?: Date | null;
|
|
1517
1553
|
/**
|
|
1518
1554
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1522,12 +1558,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
1522
1558
|
/** If present, indicates the action that triggered the event. */
|
|
1523
1559
|
originatedFrom?: string | null;
|
|
1524
1560
|
/**
|
|
1525
|
-
* A sequence number
|
|
1526
|
-
*
|
|
1527
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
1528
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
1529
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
1530
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
1561
|
+
* 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.
|
|
1562
|
+
* 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.
|
|
1531
1563
|
*/
|
|
1532
1564
|
entityEventSequence?: string | null;
|
|
1533
1565
|
}
|
|
@@ -1541,6 +1573,8 @@ export interface MemberCreatedEnvelope {
|
|
|
1541
1573
|
* The site owner can configure the site to automatically approve members or require manual approval.
|
|
1542
1574
|
*
|
|
1543
1575
|
* A member who has been approved either automatically or manually has a `status` of `"APPROVED"`. A created member waiting for approval has a `status` of `"PENDING"`. A `"PENDING"` member can't log in to the site.
|
|
1576
|
+
* @permissionScope Manage Stores
|
|
1577
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1544
1578
|
* @permissionScope Manage Members
|
|
1545
1579
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
1546
1580
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1575,6 +1609,8 @@ export interface MemberDeletedEnvelope {
|
|
|
1575
1609
|
}
|
|
1576
1610
|
/**
|
|
1577
1611
|
* Triggered when a member is deleted.
|
|
1612
|
+
* @permissionScope Manage Stores
|
|
1613
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1578
1614
|
* @permissionScope Manage Members
|
|
1579
1615
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
1580
1616
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1608,7 +1644,9 @@ export interface MemberUpdatedEnvelope {
|
|
|
1608
1644
|
entity: Member;
|
|
1609
1645
|
metadata: EventMetadata;
|
|
1610
1646
|
}
|
|
1611
|
-
/** @permissionScope Manage
|
|
1647
|
+
/** @permissionScope Manage Stores
|
|
1648
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1649
|
+
* @permissionScope Manage Members
|
|
1612
1650
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
1613
1651
|
* @permissionScope Manage Bookings Services and Settings
|
|
1614
1652
|
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
@@ -1650,6 +1688,8 @@ type MemberNonNullablePaths = `status` | `contact.phones` | `contact.emails` | `
|
|
|
1650
1688
|
* @public
|
|
1651
1689
|
* @requiredField slug
|
|
1652
1690
|
* @permissionId MEMBERS.MEMBER_UPDATE
|
|
1691
|
+
* @permissionScope Manage Stores
|
|
1692
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1653
1693
|
* @permissionScope Manage Members
|
|
1654
1694
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
1655
1695
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1681,6 +1721,8 @@ export declare function updateCurrentMemberSlug(slug: string): Promise<NonNullab
|
|
|
1681
1721
|
* @requiredField _id
|
|
1682
1722
|
* @requiredField slug
|
|
1683
1723
|
* @permissionId MEMBERS.MEMBER_UPDATE
|
|
1724
|
+
* @permissionScope Manage Stores
|
|
1725
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1684
1726
|
* @permissionScope Manage Members
|
|
1685
1727
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
1686
1728
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1760,6 +1802,8 @@ export declare function leaveCommunity(): Promise<NonNullablePaths<LeaveCommunit
|
|
|
1760
1802
|
* >This method requires [visitor or member authentication](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities).
|
|
1761
1803
|
* @public
|
|
1762
1804
|
* @permissionId MEMBERS.MEMBER_READ
|
|
1805
|
+
* @permissionScope Manage Stores
|
|
1806
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1763
1807
|
* @permissionScope Manage Members
|
|
1764
1808
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
1765
1809
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1797,7 +1841,7 @@ export interface GetCurrentMemberOptions {
|
|
|
1797
1841
|
* Default: `"PUBLIC"`.
|
|
1798
1842
|
* @maxSize 3
|
|
1799
1843
|
*/
|
|
1800
|
-
fieldsets?:
|
|
1844
|
+
fieldsets?: SetWithLiterals[];
|
|
1801
1845
|
}
|
|
1802
1846
|
/**
|
|
1803
1847
|
* Retrieves a member by ID.
|
|
@@ -1809,6 +1853,8 @@ export interface GetCurrentMemberOptions {
|
|
|
1809
1853
|
* @requiredField _id
|
|
1810
1854
|
* @param options - Fieldset options.
|
|
1811
1855
|
* @permissionId MEMBERS.MEMBER_READ
|
|
1856
|
+
* @permissionScope Manage Stores
|
|
1857
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1812
1858
|
* @permissionScope Manage Members
|
|
1813
1859
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
1814
1860
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1844,13 +1890,15 @@ export interface GetMemberOptions {
|
|
|
1844
1890
|
* Defaults to `"PUBLIC"`.
|
|
1845
1891
|
* @maxSize 3
|
|
1846
1892
|
*/
|
|
1847
|
-
fieldsets?:
|
|
1893
|
+
fieldsets?: SetWithLiterals[];
|
|
1848
1894
|
}
|
|
1849
1895
|
/**
|
|
1850
1896
|
* Lists site members, given the provided paging and fieldsets.
|
|
1851
1897
|
* @public
|
|
1852
1898
|
* @param options - Options for paging, sorting, and specifying fields to return.
|
|
1853
1899
|
* @permissionId MEMBERS.MEMBER_READ
|
|
1900
|
+
* @permissionScope Manage Stores
|
|
1901
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1854
1902
|
* @permissionScope Manage Members
|
|
1855
1903
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
1856
1904
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1889,7 +1937,7 @@ export interface ListMembersOptions {
|
|
|
1889
1937
|
* Default: `"PUBLIC"`.
|
|
1890
1938
|
* @maxSize 3
|
|
1891
1939
|
*/
|
|
1892
|
-
fieldsets?:
|
|
1940
|
+
fieldsets?: SetWithLiterals[];
|
|
1893
1941
|
/** Sorting options. */
|
|
1894
1942
|
sorting?: Sorting[];
|
|
1895
1943
|
}
|
|
@@ -1914,6 +1962,8 @@ export interface ListMembersOptions {
|
|
|
1914
1962
|
* The following `MembersQueryBuilder` methods are supported for the `queryMembers()` method. For a full description of the Locations object, see the returned for the `items` property in `MembersQueryResult`.
|
|
1915
1963
|
* @public
|
|
1916
1964
|
* @param options - Query options.
|
|
1965
|
+
* @permissionScope Manage Stores
|
|
1966
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1917
1967
|
* @permissionScope Manage Members
|
|
1918
1968
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
1919
1969
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1949,7 +1999,7 @@ export interface QueryMembersOptions {
|
|
|
1949
1999
|
* Default: `"PUBLIC"`.
|
|
1950
2000
|
* @maxSize 3
|
|
1951
2001
|
*/
|
|
1952
|
-
fieldsets?:
|
|
2002
|
+
fieldsets?: SetWithLiterals[] | undefined;
|
|
1953
2003
|
/** Plain text search. */
|
|
1954
2004
|
search?: Search | undefined;
|
|
1955
2005
|
}
|
|
@@ -1977,6 +2027,22 @@ export interface MembersQueryBuilder {
|
|
|
1977
2027
|
* @param value - Value to compare against.
|
|
1978
2028
|
*/
|
|
1979
2029
|
ne: (propertyName: '_id' | 'loginEmail' | 'contactId' | 'contact.firstName' | 'contact.lastName' | 'profile.nickname' | 'profile.slug' | 'privacyStatus', value: any) => MembersQueryBuilder;
|
|
2030
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
2031
|
+
* @param value - Value to compare against.
|
|
2032
|
+
*/
|
|
2033
|
+
ge: (propertyName: '_id' | 'loginEmail' | 'contactId' | 'contact.firstName' | 'contact.lastName' | 'profile.nickname' | 'profile.slug', value: any) => MembersQueryBuilder;
|
|
2034
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
2035
|
+
* @param value - Value to compare against.
|
|
2036
|
+
*/
|
|
2037
|
+
gt: (propertyName: '_id' | 'loginEmail' | 'contactId' | 'contact.firstName' | 'contact.lastName' | 'profile.nickname' | 'profile.slug', value: any) => MembersQueryBuilder;
|
|
2038
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
2039
|
+
* @param value - Value to compare against.
|
|
2040
|
+
*/
|
|
2041
|
+
le: (propertyName: '_id' | 'loginEmail' | 'contactId' | 'contact.firstName' | 'contact.lastName' | 'profile.nickname' | 'profile.slug', value: any) => MembersQueryBuilder;
|
|
2042
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
2043
|
+
* @param value - Value to compare against.
|
|
2044
|
+
*/
|
|
2045
|
+
lt: (propertyName: '_id' | 'loginEmail' | 'contactId' | 'contact.firstName' | 'contact.lastName' | 'profile.nickname' | 'profile.slug', value: any) => MembersQueryBuilder;
|
|
1980
2046
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
1981
2047
|
* @param string - String to compare against. Case-insensitive.
|
|
1982
2048
|
*/
|
|
@@ -2241,6 +2307,8 @@ export interface CreateMemberOptions {
|
|
|
2241
2307
|
* @requiredField member
|
|
2242
2308
|
* @param options - Member to update.
|
|
2243
2309
|
* @permissionId MEMBERS.MEMBER_UPDATE
|
|
2310
|
+
* @permissionScope Manage Stores
|
|
2311
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
2244
2312
|
* @permissionScope Manage Members
|
|
2245
2313
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
2246
2314
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -2284,7 +2352,7 @@ export interface UpdateMember {
|
|
|
2284
2352
|
* Member site access status.
|
|
2285
2353
|
* @readonly
|
|
2286
2354
|
*/
|
|
2287
|
-
status?:
|
|
2355
|
+
status?: StatusWithLiterals;
|
|
2288
2356
|
/**
|
|
2289
2357
|
* Contact ID.
|
|
2290
2358
|
* @format GUID
|
|
@@ -2302,12 +2370,12 @@ export interface UpdateMember {
|
|
|
2302
2370
|
/** Profile display details. */
|
|
2303
2371
|
profile?: Profile;
|
|
2304
2372
|
/** Member privacy status. */
|
|
2305
|
-
privacyStatus?:
|
|
2373
|
+
privacyStatus?: PrivacyStatusStatusWithLiterals;
|
|
2306
2374
|
/**
|
|
2307
2375
|
* Member activity status.
|
|
2308
2376
|
* @readonly
|
|
2309
2377
|
*/
|
|
2310
|
-
activityStatus?:
|
|
2378
|
+
activityStatus?: ActivityStatusStatusWithLiterals;
|
|
2311
2379
|
/**
|
|
2312
2380
|
* Date and time when the member was created.
|
|
2313
2381
|
* @readonly
|
|
@@ -2336,6 +2404,8 @@ export interface UpdateMember {
|
|
|
2336
2404
|
* @public
|
|
2337
2405
|
* @requiredField _id
|
|
2338
2406
|
* @permissionId MEMBERS.MEMBER_UPDATE
|
|
2407
|
+
* @permissionScope Manage Stores
|
|
2408
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
2339
2409
|
* @permissionScope Manage Members
|
|
2340
2410
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
2341
2411
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -2374,6 +2444,8 @@ export declare function deleteMemberPhones(_id: string): Promise<NonNullablePath
|
|
|
2374
2444
|
* @public
|
|
2375
2445
|
* @requiredField _id
|
|
2376
2446
|
* @permissionId MEMBERS.MEMBER_UPDATE
|
|
2447
|
+
* @permissionScope Manage Stores
|
|
2448
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
2377
2449
|
* @permissionScope Manage Members
|
|
2378
2450
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
2379
2451
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -2409,6 +2481,8 @@ export declare function deleteMemberEmails(_id: string): Promise<NonNullablePath
|
|
|
2409
2481
|
* @public
|
|
2410
2482
|
* @requiredField _id
|
|
2411
2483
|
* @permissionId MEMBERS.MEMBER_UPDATE
|
|
2484
|
+
* @permissionScope Manage Stores
|
|
2485
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
2412
2486
|
* @permissionScope Manage Members
|
|
2413
2487
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
2414
2488
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -2,6 +2,8 @@ import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-
|
|
|
2
2
|
import { queryBuilder } from '@wix/sdk-runtime/query-builder';
|
|
3
3
|
import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys';
|
|
4
4
|
import * as ambassadorWixMembersV1Member from './members-v1-member-members.http.js';
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
|
|
5
7
|
export var Status;
|
|
6
8
|
(function (Status) {
|
|
7
9
|
/** Insufficient permissions to get the status. */
|
|
@@ -184,6 +186,8 @@ export var WebhookIdentityType;
|
|
|
184
186
|
* @public
|
|
185
187
|
* @requiredField slug
|
|
186
188
|
* @permissionId MEMBERS.MEMBER_UPDATE
|
|
189
|
+
* @permissionScope Manage Stores
|
|
190
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
187
191
|
* @permissionScope Manage Members
|
|
188
192
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
189
193
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -233,6 +237,8 @@ export async function updateCurrentMemberSlug(slug) {
|
|
|
233
237
|
* @requiredField _id
|
|
234
238
|
* @requiredField slug
|
|
235
239
|
* @permissionId MEMBERS.MEMBER_UPDATE
|
|
240
|
+
* @permissionScope Manage Stores
|
|
241
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
236
242
|
* @permissionScope Manage Members
|
|
237
243
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
238
244
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -369,6 +375,8 @@ export async function leaveCommunity() {
|
|
|
369
375
|
* >This method requires [visitor or member authentication](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities).
|
|
370
376
|
* @public
|
|
371
377
|
* @permissionId MEMBERS.MEMBER_READ
|
|
378
|
+
* @permissionScope Manage Stores
|
|
379
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
372
380
|
* @permissionScope Manage Members
|
|
373
381
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
374
382
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -429,6 +437,8 @@ export async function getCurrentMember(options) {
|
|
|
429
437
|
* @requiredField _id
|
|
430
438
|
* @param options - Fieldset options.
|
|
431
439
|
* @permissionId MEMBERS.MEMBER_READ
|
|
440
|
+
* @permissionScope Manage Stores
|
|
441
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
432
442
|
* @permissionScope Manage Members
|
|
433
443
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
434
444
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -485,6 +495,8 @@ export async function getMember(_id, options) {
|
|
|
485
495
|
* @public
|
|
486
496
|
* @param options - Options for paging, sorting, and specifying fields to return.
|
|
487
497
|
* @permissionId MEMBERS.MEMBER_READ
|
|
498
|
+
* @permissionScope Manage Stores
|
|
499
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
488
500
|
* @permissionScope Manage Members
|
|
489
501
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
490
502
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -561,6 +573,8 @@ export async function listMembers(options) {
|
|
|
561
573
|
* The following `MembersQueryBuilder` methods are supported for the `queryMembers()` method. For a full description of the Locations object, see the returned for the `items` property in `MembersQueryResult`.
|
|
562
574
|
* @public
|
|
563
575
|
* @param options - Query options.
|
|
576
|
+
* @permissionScope Manage Stores
|
|
577
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
564
578
|
* @permissionScope Manage Members
|
|
565
579
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
566
580
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -616,7 +630,7 @@ export function queryMembers(options) {
|
|
|
616
630
|
});
|
|
617
631
|
},
|
|
618
632
|
responseTransformer: ({ data }) => {
|
|
619
|
-
const transformedData = renameKeysFromRESTResponseToSDKResponse(data);
|
|
633
|
+
const transformedData = renameKeysFromRESTResponseToSDKResponse(transformPaths(data, []));
|
|
620
634
|
return {
|
|
621
635
|
items: transformedData?.members,
|
|
622
636
|
pagingMetadata: transformedData?.metadata,
|
|
@@ -1106,6 +1120,8 @@ export async function createMember(options) {
|
|
|
1106
1120
|
* @requiredField member
|
|
1107
1121
|
* @param options - Member to update.
|
|
1108
1122
|
* @permissionId MEMBERS.MEMBER_UPDATE
|
|
1123
|
+
* @permissionScope Manage Stores
|
|
1124
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1109
1125
|
* @permissionScope Manage Members
|
|
1110
1126
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
1111
1127
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1162,6 +1178,8 @@ export async function updateMember(_id, member) {
|
|
|
1162
1178
|
* @public
|
|
1163
1179
|
* @requiredField _id
|
|
1164
1180
|
* @permissionId MEMBERS.MEMBER_UPDATE
|
|
1181
|
+
* @permissionScope Manage Stores
|
|
1182
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1165
1183
|
* @permissionScope Manage Members
|
|
1166
1184
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
1167
1185
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1218,6 +1236,8 @@ export async function deleteMemberPhones(_id) {
|
|
|
1218
1236
|
* @public
|
|
1219
1237
|
* @requiredField _id
|
|
1220
1238
|
* @permissionId MEMBERS.MEMBER_UPDATE
|
|
1239
|
+
* @permissionScope Manage Stores
|
|
1240
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1221
1241
|
* @permissionScope Manage Members
|
|
1222
1242
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
1223
1243
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1271,6 +1291,8 @@ export async function deleteMemberEmails(_id) {
|
|
|
1271
1291
|
* @public
|
|
1272
1292
|
* @requiredField _id
|
|
1273
1293
|
* @permissionId MEMBERS.MEMBER_UPDATE
|
|
1294
|
+
* @permissionScope Manage Stores
|
|
1295
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1274
1296
|
* @permissionScope Manage Members
|
|
1275
1297
|
* @permissionScopeId SCOPE.DC-MEMBERS.MANAGE-MEMBERS
|
|
1276
1298
|
* @permissionScope Manage Bookings Services and Settings
|