@wix/crm 1.0.80 → 1.0.82
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/context.d.ts +5 -0
- package/build/cjs/context.js +32 -0
- package/build/cjs/context.js.map +1 -0
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +7 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +7 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +7 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/src/contacts-v4-contact.context.d.ts +9 -0
- package/build/cjs/src/contacts-v4-contact.context.js +82 -0
- package/build/cjs/src/contacts-v4-contact.context.js.map +1 -0
- package/build/cjs/src/contacts-v4-contact.http.d.ts +20 -94
- package/build/cjs/src/contacts-v4-contact.http.js +211 -249
- package/build/cjs/src/contacts-v4-contact.http.js.map +1 -1
- package/build/cjs/src/contacts-v4-contact.meta.d.ts +1 -1
- package/build/cjs/src/contacts-v4-contact.meta.js +5 -1
- package/build/cjs/src/contacts-v4-contact.meta.js.map +1 -1
- package/build/cjs/src/contacts-v4-contact.public.d.ts +7 -6
- package/build/cjs/src/contacts-v4-contact.public.js +10 -2
- package/build/cjs/src/contacts-v4-contact.public.js.map +1 -1
- package/build/cjs/src/contacts-v4-contact.types.d.ts +265 -5
- package/build/cjs/src/contacts-v4-contact.types.js +40 -19
- package/build/cjs/src/contacts-v4-contact.types.js.map +1 -1
- package/build/cjs/src/contacts-v4-contact.universal.d.ts +234 -155
- package/build/cjs/src/contacts-v4-contact.universal.js +145 -168
- package/build/cjs/src/contacts-v4-contact.universal.js.map +1 -1
- package/build/cjs/src/contacts-v4-extended-field.context.d.ts +7 -0
- package/build/cjs/src/contacts-v4-extended-field.context.js +60 -0
- package/build/cjs/src/contacts-v4-extended-field.context.js.map +1 -0
- package/build/cjs/src/contacts-v4-extended-field.http.d.ts +7 -14
- package/build/cjs/src/contacts-v4-extended-field.http.js +60 -70
- package/build/cjs/src/contacts-v4-extended-field.http.js.map +1 -1
- package/build/cjs/src/contacts-v4-extended-field.meta.d.ts +1 -1
- package/build/cjs/src/contacts-v4-extended-field.meta.js +5 -1
- package/build/cjs/src/contacts-v4-extended-field.meta.js.map +1 -1
- package/build/cjs/src/contacts-v4-extended-field.public.d.ts +2 -1
- package/build/cjs/src/contacts-v4-extended-field.public.js +5 -1
- package/build/cjs/src/contacts-v4-extended-field.public.js.map +1 -1
- package/build/cjs/src/contacts-v4-extended-field.types.d.ts +68 -1
- package/build/cjs/src/contacts-v4-extended-field.types.js +3 -3
- package/build/cjs/src/contacts-v4-extended-field.types.js.map +1 -1
- package/build/cjs/src/contacts-v4-extended-field.universal.d.ts +116 -30
- package/build/cjs/src/contacts-v4-extended-field.universal.js +62 -51
- package/build/cjs/src/contacts-v4-extended-field.universal.js.map +1 -1
- package/build/cjs/src/contacts-v4-label.context.d.ts +7 -0
- package/build/cjs/src/contacts-v4-label.context.js +60 -0
- package/build/cjs/src/contacts-v4-label.context.js.map +1 -0
- package/build/cjs/src/contacts-v4-label.http.d.ts +13 -14
- package/build/cjs/src/contacts-v4-label.http.js +66 -72
- package/build/cjs/src/contacts-v4-label.http.js.map +1 -1
- package/build/cjs/src/contacts-v4-label.meta.d.ts +1 -1
- package/build/cjs/src/contacts-v4-label.meta.js +5 -1
- package/build/cjs/src/contacts-v4-label.meta.js.map +1 -1
- package/build/cjs/src/contacts-v4-label.public.d.ts +6 -5
- package/build/cjs/src/contacts-v4-label.public.js +5 -1
- package/build/cjs/src/contacts-v4-label.public.js.map +1 -1
- package/build/cjs/src/contacts-v4-label.types.d.ts +76 -9
- package/build/cjs/src/contacts-v4-label.types.js +2 -2
- package/build/cjs/src/contacts-v4-label.types.js.map +1 -1
- package/build/cjs/src/contacts-v4-label.universal.d.ts +125 -40
- package/build/cjs/src/contacts-v4-label.universal.js +76 -62
- package/build/cjs/src/contacts-v4-label.universal.js.map +1 -1
- package/build/cjs/src/contacts-v4-submit-contact.context.d.ts +3 -0
- package/build/cjs/src/contacts-v4-submit-contact.context.js +16 -0
- package/build/cjs/src/contacts-v4-submit-contact.context.js.map +1 -0
- package/build/cjs/src/contacts-v4-submit-contact.http.js +20 -34
- package/build/cjs/src/contacts-v4-submit-contact.http.js.map +1 -1
- package/build/cjs/src/contacts-v4-submit-contact.meta.d.ts +1 -1
- package/build/cjs/src/contacts-v4-submit-contact.meta.js +5 -1
- package/build/cjs/src/contacts-v4-submit-contact.meta.js.map +1 -1
- package/build/cjs/src/contacts-v4-submit-contact.public.d.ts +2 -2
- package/build/cjs/src/contacts-v4-submit-contact.types.d.ts +8 -3
- package/build/cjs/src/contacts-v4-submit-contact.types.js +9 -9
- package/build/cjs/src/contacts-v4-submit-contact.types.js.map +1 -1
- package/build/cjs/src/contacts-v4-submit-contact.universal.d.ts +8 -9
- package/build/cjs/src/contacts-v4-submit-contact.universal.js +25 -28
- package/build/cjs/src/contacts-v4-submit-contact.universal.js.map +1 -1
- package/build/cjs/src/crm-tasks-v2-task.context.d.ts +9 -0
- package/build/cjs/src/crm-tasks-v2-task.context.js +82 -0
- package/build/cjs/src/crm-tasks-v2-task.context.js.map +1 -0
- package/build/cjs/src/crm-tasks-v2-task.http.d.ts +60 -0
- package/build/cjs/src/crm-tasks-v2-task.http.js +268 -0
- package/build/cjs/src/crm-tasks-v2-task.http.js.map +1 -0
- package/build/cjs/src/crm-tasks-v2-task.meta.d.ts +27 -0
- package/build/cjs/src/crm-tasks-v2-task.meta.js +161 -0
- package/build/cjs/src/crm-tasks-v2-task.meta.js.map +1 -0
- package/build/cjs/src/crm-tasks-v2-task.public.d.ts +30 -0
- package/build/cjs/src/crm-tasks-v2-task.public.js +58 -0
- package/build/cjs/src/crm-tasks-v2-task.public.js.map +1 -0
- package/build/cjs/src/crm-tasks-v2-task.types.d.ts +430 -0
- package/build/cjs/src/crm-tasks-v2-task.types.js +29 -0
- package/build/cjs/src/crm-tasks-v2-task.types.js.map +1 -0
- package/build/cjs/src/crm-tasks-v2-task.universal.d.ts +678 -0
- package/build/cjs/src/crm-tasks-v2-task.universal.js +520 -0
- package/build/cjs/src/crm-tasks-v2-task.universal.js.map +1 -0
- package/build/cjs/src/ping-notifications-v3-notification.public.d.ts +1 -1
- package/build/cjs/src/ping-notifications-v3-notification.types.js +1 -1
- package/build/cjs/src/ping-notifications-v3-notification.types.js.map +1 -1
- package/build/cjs/src/ping-notifications-v3-notification.universal.js +6 -2
- package/build/cjs/src/ping-notifications-v3-notification.universal.js.map +1 -1
- package/build/es/context.d.ts +5 -0
- package/build/es/context.js +6 -0
- package/build/es/context.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +1 -0
- package/build/es/index.js.map +1 -1
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +1 -0
- package/build/es/index.typings.js.map +1 -1
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +1 -0
- package/build/es/meta.js.map +1 -1
- package/build/es/src/contacts-v4-contact.context.d.ts +9 -0
- package/build/es/src/contacts-v4-contact.context.js +72 -0
- package/build/es/src/contacts-v4-contact.context.js.map +1 -0
- package/build/es/src/contacts-v4-contact.http.d.ts +20 -94
- package/build/es/src/contacts-v4-contact.http.js +211 -249
- package/build/es/src/contacts-v4-contact.http.js.map +1 -1
- package/build/es/src/contacts-v4-contact.meta.d.ts +1 -1
- package/build/es/src/contacts-v4-contact.public.d.ts +7 -6
- package/build/es/src/contacts-v4-contact.public.js +3 -2
- package/build/es/src/contacts-v4-contact.public.js.map +1 -1
- package/build/es/src/contacts-v4-contact.types.d.ts +265 -5
- package/build/es/src/contacts-v4-contact.types.js +21 -0
- package/build/es/src/contacts-v4-contact.types.js.map +1 -1
- package/build/es/src/contacts-v4-contact.universal.d.ts +234 -155
- package/build/es/src/contacts-v4-contact.universal.js +122 -149
- package/build/es/src/contacts-v4-contact.universal.js.map +1 -1
- package/build/es/src/contacts-v4-extended-field.context.d.ts +7 -0
- package/build/es/src/contacts-v4-extended-field.context.js +52 -0
- package/build/es/src/contacts-v4-extended-field.context.js.map +1 -0
- package/build/es/src/contacts-v4-extended-field.http.d.ts +7 -14
- package/build/es/src/contacts-v4-extended-field.http.js +60 -70
- package/build/es/src/contacts-v4-extended-field.http.js.map +1 -1
- package/build/es/src/contacts-v4-extended-field.meta.d.ts +1 -1
- package/build/es/src/contacts-v4-extended-field.public.d.ts +2 -1
- package/build/es/src/contacts-v4-extended-field.public.js +1 -0
- package/build/es/src/contacts-v4-extended-field.public.js.map +1 -1
- package/build/es/src/contacts-v4-extended-field.types.d.ts +68 -1
- package/build/es/src/contacts-v4-extended-field.universal.d.ts +116 -30
- package/build/es/src/contacts-v4-extended-field.universal.js +53 -46
- package/build/es/src/contacts-v4-extended-field.universal.js.map +1 -1
- package/build/es/src/contacts-v4-label.context.d.ts +7 -0
- package/build/es/src/contacts-v4-label.context.js +52 -0
- package/build/es/src/contacts-v4-label.context.js.map +1 -0
- package/build/es/src/contacts-v4-label.http.d.ts +13 -14
- package/build/es/src/contacts-v4-label.http.js +66 -72
- package/build/es/src/contacts-v4-label.http.js.map +1 -1
- package/build/es/src/contacts-v4-label.meta.d.ts +1 -1
- package/build/es/src/contacts-v4-label.public.d.ts +6 -5
- package/build/es/src/contacts-v4-label.public.js +1 -0
- package/build/es/src/contacts-v4-label.public.js.map +1 -1
- package/build/es/src/contacts-v4-label.types.d.ts +76 -9
- package/build/es/src/contacts-v4-label.universal.d.ts +125 -40
- package/build/es/src/contacts-v4-label.universal.js +68 -58
- package/build/es/src/contacts-v4-label.universal.js.map +1 -1
- package/build/es/src/contacts-v4-submit-contact.context.d.ts +3 -0
- package/build/es/src/contacts-v4-submit-contact.context.js +12 -0
- package/build/es/src/contacts-v4-submit-contact.context.js.map +1 -0
- package/build/es/src/contacts-v4-submit-contact.http.js +20 -34
- package/build/es/src/contacts-v4-submit-contact.http.js.map +1 -1
- package/build/es/src/contacts-v4-submit-contact.meta.d.ts +1 -1
- package/build/es/src/contacts-v4-submit-contact.public.d.ts +2 -2
- package/build/es/src/contacts-v4-submit-contact.types.d.ts +8 -3
- package/build/es/src/contacts-v4-submit-contact.types.js.map +1 -1
- package/build/es/src/contacts-v4-submit-contact.universal.d.ts +8 -9
- package/build/es/src/contacts-v4-submit-contact.universal.js +11 -18
- package/build/es/src/contacts-v4-submit-contact.universal.js.map +1 -1
- package/build/es/src/crm-tasks-v2-task.context.d.ts +9 -0
- package/build/es/src/crm-tasks-v2-task.context.js +72 -0
- package/build/es/src/crm-tasks-v2-task.context.js.map +1 -0
- package/build/es/src/crm-tasks-v2-task.http.d.ts +60 -0
- package/build/es/src/crm-tasks-v2-task.http.js +258 -0
- package/build/es/src/crm-tasks-v2-task.http.js.map +1 -0
- package/build/es/src/crm-tasks-v2-task.meta.d.ts +27 -0
- package/build/es/src/crm-tasks-v2-task.meta.js +128 -0
- package/build/es/src/crm-tasks-v2-task.meta.js.map +1 -0
- package/build/es/src/crm-tasks-v2-task.public.d.ts +30 -0
- package/build/es/src/crm-tasks-v2-task.public.js +40 -0
- package/build/es/src/crm-tasks-v2-task.public.js.map +1 -0
- package/build/es/src/crm-tasks-v2-task.types.d.ts +430 -0
- package/build/es/src/crm-tasks-v2-task.types.js +26 -0
- package/build/es/src/crm-tasks-v2-task.types.js.map +1 -0
- package/build/es/src/crm-tasks-v2-task.universal.d.ts +678 -0
- package/build/es/src/crm-tasks-v2-task.universal.js +487 -0
- package/build/es/src/crm-tasks-v2-task.universal.js.map +1 -0
- package/build/es/src/ping-notifications-v3-notification.public.d.ts +1 -1
- package/build/es/src/ping-notifications-v3-notification.universal.js.map +1 -1
- package/context/package.json +6 -0
- package/package.json +12 -6
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
verboseLogging: {
|
|
3
|
-
on: () => boolean;
|
|
4
|
-
off: () => boolean;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
1
|
+
import { EventDefinition } from '@wix/sdk-types';
|
|
7
2
|
/** Extended field that was found or created. */
|
|
8
3
|
export interface ExtendedField {
|
|
9
4
|
/**
|
|
10
5
|
* Extended field namespace.
|
|
11
6
|
*
|
|
12
|
-
* Extended fields created by site
|
|
7
|
+
* Extended fields created by site collaborators or 3rd-party apps
|
|
13
8
|
* are automatically assigned to the `custom` namespace.
|
|
14
9
|
* @readonly
|
|
15
10
|
*/
|
|
@@ -44,8 +39,8 @@ export interface ExtendedField {
|
|
|
44
39
|
* Indicates whether the extended field is a system field or custom field.
|
|
45
40
|
*
|
|
46
41
|
* One of:
|
|
47
|
-
* - `"SYSTEM"`:
|
|
48
|
-
* - `"USER_DEFINED"`:
|
|
42
|
+
* - `"SYSTEM"`: System field managed by Wix. System fields cannot be modified by 3rd-party apps or site contributors.
|
|
43
|
+
* - `"USER_DEFINED"`: Custom field that can be modified by 3rd-party apps or site admins.
|
|
49
44
|
* @readonly
|
|
50
45
|
*/
|
|
51
46
|
fieldType?: FieldType;
|
|
@@ -263,6 +258,81 @@ export interface QueryExtendedFieldsResponse {
|
|
|
263
258
|
/** Details on the paged set of results returned. */
|
|
264
259
|
pagingMetadata?: PagingMetadata;
|
|
265
260
|
}
|
|
261
|
+
export interface DomainEvent<T = string> extends DomainEventBodyOneOf<T> {
|
|
262
|
+
createdEvent?: EntityCreatedEvent<T>;
|
|
263
|
+
updatedEvent?: EntityUpdatedEvent<T>;
|
|
264
|
+
deletedEvent?: EntityDeletedEvent<T>;
|
|
265
|
+
actionEvent?: ActionEvent<T>;
|
|
266
|
+
/**
|
|
267
|
+
* Unique event ID.
|
|
268
|
+
* Allows clients to ignore duplicate webhooks.
|
|
269
|
+
*/
|
|
270
|
+
_id?: string;
|
|
271
|
+
/**
|
|
272
|
+
* Assumes actions are also always typed to an entity_type
|
|
273
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
274
|
+
*/
|
|
275
|
+
entityFqdn?: string;
|
|
276
|
+
/**
|
|
277
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
278
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
279
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
280
|
+
*/
|
|
281
|
+
slug?: string;
|
|
282
|
+
/** ID of the entity associated with the event. */
|
|
283
|
+
entityId?: string;
|
|
284
|
+
/** Event timestamp. */
|
|
285
|
+
eventTime?: Date;
|
|
286
|
+
/**
|
|
287
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
288
|
+
* (for example, GDPR).
|
|
289
|
+
*/
|
|
290
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
291
|
+
/** If present, indicates the action that triggered the event. */
|
|
292
|
+
originatedFrom?: string | null;
|
|
293
|
+
/**
|
|
294
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
295
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
296
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
297
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
298
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
299
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
300
|
+
*/
|
|
301
|
+
entityEventSequence?: string | null;
|
|
302
|
+
}
|
|
303
|
+
export interface DomainCreatedEvent<T> extends Omit<DomainEvent<T>, 'deletedEvent' | 'updatedEvent' | 'actionEvent'> {
|
|
304
|
+
}
|
|
305
|
+
export interface DomainDeletedEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'updatedEvent' | 'actionEvent'> {
|
|
306
|
+
}
|
|
307
|
+
export interface DomainUpdatedEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'deletedEvent' | 'actionEvent'> {
|
|
308
|
+
}
|
|
309
|
+
export interface DomainActionEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'deletedEvent' | 'updatedEvent'> {
|
|
310
|
+
}
|
|
311
|
+
/** @oneof */
|
|
312
|
+
export interface DomainEventBodyOneOf<T> {
|
|
313
|
+
createdEvent?: EntityCreatedEvent<T>;
|
|
314
|
+
updatedEvent?: EntityUpdatedEvent<T>;
|
|
315
|
+
deletedEvent?: EntityDeletedEvent<T>;
|
|
316
|
+
actionEvent?: ActionEvent<T>;
|
|
317
|
+
}
|
|
318
|
+
export interface EntityCreatedEvent<T> {
|
|
319
|
+
entity?: T;
|
|
320
|
+
}
|
|
321
|
+
export interface EntityUpdatedEvent<T> {
|
|
322
|
+
/**
|
|
323
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
324
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
325
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
326
|
+
*/
|
|
327
|
+
currentEntity?: T;
|
|
328
|
+
}
|
|
329
|
+
export interface EntityDeletedEvent<T> {
|
|
330
|
+
/** Entity that was deleted */
|
|
331
|
+
deletedEntity?: T | null;
|
|
332
|
+
}
|
|
333
|
+
export interface ActionEvent<T> {
|
|
334
|
+
body?: T;
|
|
335
|
+
}
|
|
266
336
|
export interface FindOrCreateExtendedFieldResponseNonNullableFields {
|
|
267
337
|
field?: {
|
|
268
338
|
key: string;
|
|
@@ -296,6 +366,9 @@ export interface QueryExtendedFieldsResponseNonNullableFields {
|
|
|
296
366
|
fieldType: FieldType;
|
|
297
367
|
}[];
|
|
298
368
|
}
|
|
369
|
+
export declare const onExtendedFieldCreated: EventDefinition<DomainCreatedEvent<ExtendedField>, "wix.contacts.v4.extended_field_created">;
|
|
370
|
+
export declare const onExtendedFieldUpdated: EventDefinition<DomainUpdatedEvent<ExtendedField>, "wix.contacts.v4.extended_field_updated">;
|
|
371
|
+
export declare const onExtendedFieldDeleted: EventDefinition<DomainDeletedEvent<ExtendedField>, "wix.contacts.v4.extended_field_deleted">;
|
|
299
372
|
/**
|
|
300
373
|
* Retrieves a custom field with a given name, or creates one if it doesn't exist.
|
|
301
374
|
*
|
|
@@ -303,9 +376,7 @@ export interface QueryExtendedFieldsResponseNonNullableFields {
|
|
|
303
376
|
*
|
|
304
377
|
* Successful calls to `findOrCreateExtendedField()` always return an extended field, which can be passed to subsequent function calls.
|
|
305
378
|
*
|
|
306
|
-
* To find an existing extended field without potentially creating a new one, use
|
|
307
|
-
*
|
|
308
|
-
* >**Note:** Only visitors with **Manage Contacts** permissions can find or create extended fields.
|
|
379
|
+
* To find an existing extended field without potentially creating a new one, use `getExtendedField()` or `queryExtendedFields()`.
|
|
309
380
|
*
|
|
310
381
|
* @param displayName - Display name to find or create.
|
|
311
382
|
*
|
|
@@ -322,9 +393,13 @@ export interface QueryExtendedFieldsResponseNonNullableFields {
|
|
|
322
393
|
* - `"DATE"`: Accepts dates formatted as `YYYY-MM-DD`.
|
|
323
394
|
* - `"URL"`: Accepts strings. Prepends `https://` if no protocol is included.
|
|
324
395
|
* @public
|
|
396
|
+
* @documentationMaturity preview
|
|
325
397
|
* @requiredField dataType
|
|
326
398
|
* @requiredField displayName
|
|
327
399
|
* @permissionScope Manage Contact Extended Fields
|
|
400
|
+
* @permissionScopeId SCOPE.DC-CONTACTS.MANAGE-EX-FIELDS
|
|
401
|
+
* @permissionScope Manage Members and Contacts - all permissions
|
|
402
|
+
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.MANAGE-MEMBERS-CONTACTS
|
|
328
403
|
* @applicableIdentity APP
|
|
329
404
|
* @returns Extended field that was found or created.
|
|
330
405
|
*/
|
|
@@ -334,7 +409,6 @@ export declare function findOrCreateExtendedField(displayName: string, dataType:
|
|
|
334
409
|
*
|
|
335
410
|
* The `getExtendedField()` function returns a Promise that resolves when the extended field is retrieved.
|
|
336
411
|
*
|
|
337
|
-
* >**Note:** Only visitors with **Manage Contacts** permissions can retrieve extended fields.
|
|
338
412
|
* @public
|
|
339
413
|
* @documentationMaturity preview
|
|
340
414
|
* @requiredField key
|
|
@@ -346,7 +420,12 @@ export declare function findOrCreateExtendedField(displayName: string, dataType:
|
|
|
346
420
|
* the value can be accessed at `fields["custom.notes"]`.
|
|
347
421
|
*
|
|
348
422
|
* Once set, `key` cannot be modified, even if `displayName` changes.
|
|
423
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
424
|
+
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
349
425
|
* @permissionScope Manage Contact Extended Fields
|
|
426
|
+
* @permissionScopeId SCOPE.DC-CONTACTS.MANAGE-EX-FIELDS
|
|
427
|
+
* @permissionScope Manage Members and Contacts - all permissions
|
|
428
|
+
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.MANAGE-MEMBERS-CONTACTS
|
|
350
429
|
* @applicableIdentity APP
|
|
351
430
|
* @returns The specified field.
|
|
352
431
|
*/
|
|
@@ -356,7 +435,6 @@ export declare function getExtendedField(key: string): Promise<ExtendedField & N
|
|
|
356
435
|
*
|
|
357
436
|
* The `renameExtendedField()` function returns a Promise that resolves when the specified extended field's display name is changed
|
|
358
437
|
*
|
|
359
|
-
* > **Note:** Only visitors with **Manage Contacts** permissions can rename extended fields.
|
|
360
438
|
* @public
|
|
361
439
|
* @documentationMaturity preview
|
|
362
440
|
* @requiredField field
|
|
@@ -370,8 +448,11 @@ export declare function getExtendedField(key: string): Promise<ExtendedField & N
|
|
|
370
448
|
* the value can be accessed at `fields["custom.notes"]`.
|
|
371
449
|
*
|
|
372
450
|
* Once set, `key` cannot be modified, even if `displayName` changes.
|
|
373
|
-
* @param field - Extended field
|
|
451
|
+
* @param field - Extended field to rename.
|
|
374
452
|
* @permissionScope Manage Contact Extended Fields
|
|
453
|
+
* @permissionScopeId SCOPE.DC-CONTACTS.MANAGE-EX-FIELDS
|
|
454
|
+
* @permissionScope Manage Members and Contacts - all permissions
|
|
455
|
+
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.MANAGE-MEMBERS-CONTACTS
|
|
375
456
|
* @applicableIdentity APP
|
|
376
457
|
* @returns Updated extended field.
|
|
377
458
|
*/
|
|
@@ -380,7 +461,7 @@ export interface RenameExtendedField {
|
|
|
380
461
|
/**
|
|
381
462
|
* Extended field namespace.
|
|
382
463
|
*
|
|
383
|
-
* Extended fields created by site
|
|
464
|
+
* Extended fields created by site collaborators or 3rd-party apps
|
|
384
465
|
* are automatically assigned to the `custom` namespace.
|
|
385
466
|
* @readonly
|
|
386
467
|
*/
|
|
@@ -402,8 +483,8 @@ export interface RenameExtendedField {
|
|
|
402
483
|
* Indicates whether the extended field is a system field or custom field.
|
|
403
484
|
*
|
|
404
485
|
* One of:
|
|
405
|
-
* - `"SYSTEM"`:
|
|
406
|
-
* - `"USER_DEFINED"`:
|
|
486
|
+
* - `"SYSTEM"`: System field managed by Wix. System fields cannot be modified by 3rd-party apps or site contributors.
|
|
487
|
+
* - `"USER_DEFINED"`: Custom field that can be modified by 3rd-party apps or site admins.
|
|
407
488
|
* @readonly
|
|
408
489
|
*/
|
|
409
490
|
fieldType?: FieldType;
|
|
@@ -430,42 +511,47 @@ export interface RenameExtendedField {
|
|
|
430
511
|
*
|
|
431
512
|
* When an extended field is deleted, any contact data stored in the field is permanently deleted as well.
|
|
432
513
|
*
|
|
433
|
-
* >**Note:** Only visitors with **Manage Contacts** permissions can delete extended fields.
|
|
434
514
|
* @param key - Extended field key.
|
|
435
515
|
* @public
|
|
436
516
|
* @documentationMaturity preview
|
|
437
517
|
* @requiredField key
|
|
438
518
|
* @permissionScope Manage Contact Extended Fields
|
|
519
|
+
* @permissionScopeId SCOPE.DC-CONTACTS.MANAGE-EX-FIELDS
|
|
520
|
+
* @permissionScope Manage Members and Contacts - all permissions
|
|
521
|
+
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.MANAGE-MEMBERS-CONTACTS
|
|
439
522
|
* @applicableIdentity APP
|
|
440
523
|
*/
|
|
441
524
|
export declare function deleteExtendedField(key: string): Promise<void>;
|
|
442
525
|
/**
|
|
443
526
|
* Creates a query to retrieve a list of extended fields.
|
|
444
527
|
*
|
|
445
|
-
* The `queryExtendedFields()` function builds a query to retrieve a list of extended fields and returns an
|
|
528
|
+
* The `queryExtendedFields()` function builds a query to retrieve a list of extended fields and returns an `FieldsQueryBuilder` object.
|
|
446
529
|
*
|
|
447
|
-
* The returned object contains the query definition, which is used to run the query using the
|
|
530
|
+
* The returned object contains the query definition, which is used to run the query using the `find()` function.
|
|
448
531
|
*
|
|
449
532
|
* You can refine the query by chaining `FieldsQueryBuilder` functions onto the query. `FieldsQueryBuilder` functions enable you to filter, sort, and control the results that `queryExtendedFields()` returns.
|
|
450
533
|
*
|
|
451
534
|
* `queryExtendedFields()` runs with these `FieldsQueryBuilder` defaults, which you can override:
|
|
452
|
-
* -
|
|
453
|
-
* -
|
|
454
|
-
* -
|
|
455
|
-
*
|
|
456
|
-
* > **Note:** Only visitors with **Manage Contacts** permissions can query extended fields.
|
|
535
|
+
* - `skip()`
|
|
536
|
+
* - `limit(50)`
|
|
537
|
+
* - `descending('_createdDate')`
|
|
457
538
|
*
|
|
458
|
-
* The following `FieldsQueryBuilder` functions are supported for `queryExtendedFields()`. For a full description of the `Extended Field` object, see the object returned for the
|
|
539
|
+
* The following `FieldsQueryBuilder` functions are supported for `queryExtendedFields()`. For a full description of the `Extended Field` object, see the object returned for the `items` property in `FieldsQueryResult`.
|
|
459
540
|
* @public
|
|
460
541
|
* @documentationMaturity preview
|
|
542
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
543
|
+
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
461
544
|
* @permissionScope Manage Contact Extended Fields
|
|
545
|
+
* @permissionScopeId SCOPE.DC-CONTACTS.MANAGE-EX-FIELDS
|
|
546
|
+
* @permissionScope Manage Members and Contacts - all permissions
|
|
547
|
+
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.MANAGE-MEMBERS-CONTACTS
|
|
462
548
|
* @applicableIdentity APP
|
|
463
549
|
*/
|
|
464
550
|
export declare function queryExtendedFields(): FieldsQueryBuilder;
|
|
465
551
|
interface QueryOffsetResult {
|
|
466
|
-
currentPage: number;
|
|
467
|
-
totalPages: number;
|
|
468
|
-
totalCount: number;
|
|
552
|
+
currentPage: number | undefined;
|
|
553
|
+
totalPages: number | undefined;
|
|
554
|
+
totalCount: number | undefined;
|
|
469
555
|
hasNext: () => boolean;
|
|
470
556
|
hasPrev: () => boolean;
|
|
471
557
|
length: number;
|
|
@@ -8,22 +8,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { serializer, transformError, resolveQueryFieldsTransformationPaths, } from '@wix/metro-runtime/velo';
|
|
11
|
+
import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';
|
|
12
|
+
import { EventDefinition } from '@wix/sdk-types';
|
|
11
13
|
import * as ambassadorWixContactsV4ExtendedField from './contacts-v4-extended-field.http';
|
|
12
14
|
// @ts-ignore
|
|
13
15
|
import { wrapWithQueryBuilder } from '@wix/motion-edm-autogen-query-wrapper';
|
|
14
|
-
let __verbose = false;
|
|
15
|
-
function __log(...args) {
|
|
16
|
-
__verbose && console.log(...args);
|
|
17
|
-
}
|
|
18
|
-
function __inspect(obj) {
|
|
19
|
-
return obj;
|
|
20
|
-
}
|
|
21
|
-
export const __debug = {
|
|
22
|
-
verboseLogging: {
|
|
23
|
-
on: () => (__verbose = true),
|
|
24
|
-
off: () => (__verbose = false),
|
|
25
|
-
},
|
|
26
|
-
};
|
|
27
16
|
const _toVeloEntity = '$';
|
|
28
17
|
const _fromVeloEntity = '$';
|
|
29
18
|
export var FieldDataType;
|
|
@@ -55,6 +44,9 @@ const _queryExtendedFieldsRequest = {};
|
|
|
55
44
|
const _queryExtendedFieldsResponse = {};
|
|
56
45
|
const _updateExtendedFieldRequest = {};
|
|
57
46
|
const _updateExtendedFieldResponse = {};
|
|
47
|
+
export const onExtendedFieldCreated = EventDefinition('wix.contacts.v4.extended_field_created')();
|
|
48
|
+
export const onExtendedFieldUpdated = EventDefinition('wix.contacts.v4.extended_field_updated')();
|
|
49
|
+
export const onExtendedFieldDeleted = EventDefinition('wix.contacts.v4.extended_field_deleted')();
|
|
58
50
|
/**
|
|
59
51
|
* Retrieves a custom field with a given name, or creates one if it doesn't exist.
|
|
60
52
|
*
|
|
@@ -62,9 +54,7 @@ const _updateExtendedFieldResponse = {};
|
|
|
62
54
|
*
|
|
63
55
|
* Successful calls to `findOrCreateExtendedField()` always return an extended field, which can be passed to subsequent function calls.
|
|
64
56
|
*
|
|
65
|
-
* To find an existing extended field without potentially creating a new one, use
|
|
66
|
-
*
|
|
67
|
-
* >**Note:** Only visitors with **Manage Contacts** permissions can find or create extended fields.
|
|
57
|
+
* To find an existing extended field without potentially creating a new one, use `getExtendedField()` or `queryExtendedFields()`.
|
|
68
58
|
*
|
|
69
59
|
* @param displayName - Display name to find or create.
|
|
70
60
|
*
|
|
@@ -81,9 +71,13 @@ const _updateExtendedFieldResponse = {};
|
|
|
81
71
|
* - `"DATE"`: Accepts dates formatted as `YYYY-MM-DD`.
|
|
82
72
|
* - `"URL"`: Accepts strings. Prepends `https://` if no protocol is included.
|
|
83
73
|
* @public
|
|
74
|
+
* @documentationMaturity preview
|
|
84
75
|
* @requiredField dataType
|
|
85
76
|
* @requiredField displayName
|
|
86
77
|
* @permissionScope Manage Contact Extended Fields
|
|
78
|
+
* @permissionScopeId SCOPE.DC-CONTACTS.MANAGE-EX-FIELDS
|
|
79
|
+
* @permissionScope Manage Members and Contacts - all permissions
|
|
80
|
+
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.MANAGE-MEMBERS-CONTACTS
|
|
87
81
|
* @applicableIdentity APP
|
|
88
82
|
* @returns Extended field that was found or created.
|
|
89
83
|
*/
|
|
@@ -114,7 +108,6 @@ export function findOrCreateExtendedField(displayName, dataType) {
|
|
|
114
108
|
});
|
|
115
109
|
const payload = toAmbassadorRequest([displayName, dataType]);
|
|
116
110
|
const reqOpts = ambassadorWixContactsV4ExtendedField.findOrCreateExtendedField(payload);
|
|
117
|
-
__log(`"FindOrCreateExtendedField" sending request with: ${__inspect(reqOpts)}`);
|
|
118
111
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
119
112
|
try {
|
|
120
113
|
const result = yield httpClient.request(reqOpts);
|
|
@@ -122,10 +115,11 @@ export function findOrCreateExtendedField(displayName, dataType) {
|
|
|
122
115
|
return fromJSON(result.data);
|
|
123
116
|
}
|
|
124
117
|
catch (err) {
|
|
125
|
-
const transformedError =
|
|
126
|
-
|
|
127
|
-
'dataType',
|
|
128
|
-
|
|
118
|
+
const transformedError = sdkTransformError(err, {
|
|
119
|
+
spreadPathsToArguments: {},
|
|
120
|
+
explicitPathsToArguments: { displayName: '$[0]', dataType: '$[1]' },
|
|
121
|
+
singleArgumentUnchanged: false,
|
|
122
|
+
}, ['displayName', 'dataType']);
|
|
129
123
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
130
124
|
throw transformedError;
|
|
131
125
|
}
|
|
@@ -136,7 +130,6 @@ export function findOrCreateExtendedField(displayName, dataType) {
|
|
|
136
130
|
*
|
|
137
131
|
* The `getExtendedField()` function returns a Promise that resolves when the extended field is retrieved.
|
|
138
132
|
*
|
|
139
|
-
* >**Note:** Only visitors with **Manage Contacts** permissions can retrieve extended fields.
|
|
140
133
|
* @public
|
|
141
134
|
* @documentationMaturity preview
|
|
142
135
|
* @requiredField key
|
|
@@ -148,7 +141,12 @@ export function findOrCreateExtendedField(displayName, dataType) {
|
|
|
148
141
|
* the value can be accessed at `fields["custom.notes"]`.
|
|
149
142
|
*
|
|
150
143
|
* Once set, `key` cannot be modified, even if `displayName` changes.
|
|
144
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
145
|
+
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
151
146
|
* @permissionScope Manage Contact Extended Fields
|
|
147
|
+
* @permissionScopeId SCOPE.DC-CONTACTS.MANAGE-EX-FIELDS
|
|
148
|
+
* @permissionScope Manage Members and Contacts - all permissions
|
|
149
|
+
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.MANAGE-MEMBERS-CONTACTS
|
|
152
150
|
* @applicableIdentity APP
|
|
153
151
|
* @returns The specified field.
|
|
154
152
|
*/
|
|
@@ -179,7 +177,6 @@ export function getExtendedField(key) {
|
|
|
179
177
|
});
|
|
180
178
|
const payload = toAmbassadorRequest([key]);
|
|
181
179
|
const reqOpts = ambassadorWixContactsV4ExtendedField.getExtendedField(payload);
|
|
182
|
-
__log(`"GetExtendedField" sending request with: ${__inspect(reqOpts)}`);
|
|
183
180
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
184
181
|
try {
|
|
185
182
|
const result = yield httpClient.request(reqOpts);
|
|
@@ -187,9 +184,11 @@ export function getExtendedField(key) {
|
|
|
187
184
|
return fromJSON(result.data);
|
|
188
185
|
}
|
|
189
186
|
catch (err) {
|
|
190
|
-
const transformedError =
|
|
191
|
-
|
|
192
|
-
|
|
187
|
+
const transformedError = sdkTransformError(err, {
|
|
188
|
+
spreadPathsToArguments: {},
|
|
189
|
+
explicitPathsToArguments: { key: '$[0]' },
|
|
190
|
+
singleArgumentUnchanged: false,
|
|
191
|
+
}, ['key']);
|
|
193
192
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
194
193
|
throw transformedError;
|
|
195
194
|
}
|
|
@@ -200,7 +199,6 @@ export function getExtendedField(key) {
|
|
|
200
199
|
*
|
|
201
200
|
* The `renameExtendedField()` function returns a Promise that resolves when the specified extended field's display name is changed
|
|
202
201
|
*
|
|
203
|
-
* > **Note:** Only visitors with **Manage Contacts** permissions can rename extended fields.
|
|
204
202
|
* @public
|
|
205
203
|
* @documentationMaturity preview
|
|
206
204
|
* @requiredField field
|
|
@@ -214,8 +212,11 @@ export function getExtendedField(key) {
|
|
|
214
212
|
* the value can be accessed at `fields["custom.notes"]`.
|
|
215
213
|
*
|
|
216
214
|
* Once set, `key` cannot be modified, even if `displayName` changes.
|
|
217
|
-
* @param field - Extended field
|
|
215
|
+
* @param field - Extended field to rename.
|
|
218
216
|
* @permissionScope Manage Contact Extended Fields
|
|
217
|
+
* @permissionScopeId SCOPE.DC-CONTACTS.MANAGE-EX-FIELDS
|
|
218
|
+
* @permissionScope Manage Members and Contacts - all permissions
|
|
219
|
+
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.MANAGE-MEMBERS-CONTACTS
|
|
219
220
|
* @applicableIdentity APP
|
|
220
221
|
* @returns Updated extended field.
|
|
221
222
|
*/
|
|
@@ -246,7 +247,6 @@ export function renameExtendedField(key, field) {
|
|
|
246
247
|
});
|
|
247
248
|
const payload = toAmbassadorRequest([key, field]);
|
|
248
249
|
const reqOpts = ambassadorWixContactsV4ExtendedField.updateExtendedField(payload);
|
|
249
|
-
__log(`"UpdateExtendedField" sending request with: ${__inspect(reqOpts)}`);
|
|
250
250
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
251
251
|
try {
|
|
252
252
|
const result = yield httpClient.request(reqOpts);
|
|
@@ -254,10 +254,11 @@ export function renameExtendedField(key, field) {
|
|
|
254
254
|
return fromJSON(result.data);
|
|
255
255
|
}
|
|
256
256
|
catch (err) {
|
|
257
|
-
const transformedError =
|
|
258
|
-
'
|
|
259
|
-
'field',
|
|
260
|
-
|
|
257
|
+
const transformedError = sdkTransformError(err, {
|
|
258
|
+
spreadPathsToArguments: { field: '$[1]' },
|
|
259
|
+
explicitPathsToArguments: { 'field.key': '$[0]' },
|
|
260
|
+
singleArgumentUnchanged: false,
|
|
261
|
+
}, ['key', 'field']);
|
|
261
262
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
262
263
|
throw transformedError;
|
|
263
264
|
}
|
|
@@ -270,12 +271,14 @@ export function renameExtendedField(key, field) {
|
|
|
270
271
|
*
|
|
271
272
|
* When an extended field is deleted, any contact data stored in the field is permanently deleted as well.
|
|
272
273
|
*
|
|
273
|
-
* >**Note:** Only visitors with **Manage Contacts** permissions can delete extended fields.
|
|
274
274
|
* @param key - Extended field key.
|
|
275
275
|
* @public
|
|
276
276
|
* @documentationMaturity preview
|
|
277
277
|
* @requiredField key
|
|
278
278
|
* @permissionScope Manage Contact Extended Fields
|
|
279
|
+
* @permissionScopeId SCOPE.DC-CONTACTS.MANAGE-EX-FIELDS
|
|
280
|
+
* @permissionScope Manage Members and Contacts - all permissions
|
|
281
|
+
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.MANAGE-MEMBERS-CONTACTS
|
|
279
282
|
* @applicableIdentity APP
|
|
280
283
|
*/
|
|
281
284
|
export function deleteExtendedField(key) {
|
|
@@ -305,16 +308,17 @@ export function deleteExtendedField(key) {
|
|
|
305
308
|
});
|
|
306
309
|
const payload = toAmbassadorRequest([key]);
|
|
307
310
|
const reqOpts = ambassadorWixContactsV4ExtendedField.deleteExtendedField(payload);
|
|
308
|
-
__log(`"DeleteExtendedField" sending request with: ${__inspect(reqOpts)}`);
|
|
309
311
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
310
312
|
try {
|
|
311
313
|
const result = yield httpClient.request(reqOpts);
|
|
312
314
|
(_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
|
|
313
315
|
}
|
|
314
316
|
catch (err) {
|
|
315
|
-
const transformedError =
|
|
316
|
-
|
|
317
|
-
|
|
317
|
+
const transformedError = sdkTransformError(err, {
|
|
318
|
+
spreadPathsToArguments: {},
|
|
319
|
+
explicitPathsToArguments: { key: '$[0]' },
|
|
320
|
+
singleArgumentUnchanged: false,
|
|
321
|
+
}, ['key']);
|
|
318
322
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
319
323
|
throw transformedError;
|
|
320
324
|
}
|
|
@@ -323,23 +327,26 @@ export function deleteExtendedField(key) {
|
|
|
323
327
|
/**
|
|
324
328
|
* Creates a query to retrieve a list of extended fields.
|
|
325
329
|
*
|
|
326
|
-
* The `queryExtendedFields()` function builds a query to retrieve a list of extended fields and returns an
|
|
330
|
+
* The `queryExtendedFields()` function builds a query to retrieve a list of extended fields and returns an `FieldsQueryBuilder` object.
|
|
327
331
|
*
|
|
328
|
-
* The returned object contains the query definition, which is used to run the query using the
|
|
332
|
+
* The returned object contains the query definition, which is used to run the query using the `find()` function.
|
|
329
333
|
*
|
|
330
334
|
* You can refine the query by chaining `FieldsQueryBuilder` functions onto the query. `FieldsQueryBuilder` functions enable you to filter, sort, and control the results that `queryExtendedFields()` returns.
|
|
331
335
|
*
|
|
332
336
|
* `queryExtendedFields()` runs with these `FieldsQueryBuilder` defaults, which you can override:
|
|
333
|
-
* -
|
|
334
|
-
* -
|
|
335
|
-
* -
|
|
336
|
-
*
|
|
337
|
-
* > **Note:** Only visitors with **Manage Contacts** permissions can query extended fields.
|
|
337
|
+
* - `skip()`
|
|
338
|
+
* - `limit(50)`
|
|
339
|
+
* - `descending('_createdDate')`
|
|
338
340
|
*
|
|
339
|
-
* The following `FieldsQueryBuilder` functions are supported for `queryExtendedFields()`. For a full description of the `Extended Field` object, see the object returned for the
|
|
341
|
+
* The following `FieldsQueryBuilder` functions are supported for `queryExtendedFields()`. For a full description of the `Extended Field` object, see the object returned for the `items` property in `FieldsQueryResult`.
|
|
340
342
|
* @public
|
|
341
343
|
* @documentationMaturity preview
|
|
344
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
345
|
+
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
342
346
|
* @permissionScope Manage Contact Extended Fields
|
|
347
|
+
* @permissionScopeId SCOPE.DC-CONTACTS.MANAGE-EX-FIELDS
|
|
348
|
+
* @permissionScope Manage Members and Contacts - all permissions
|
|
349
|
+
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.MANAGE-MEMBERS-CONTACTS
|
|
343
350
|
* @applicableIdentity APP
|
|
344
351
|
*/
|
|
345
352
|
export function queryExtendedFields() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contacts-v4-extended-field.universal.js","sourceRoot":"","sources":["../../../src/contacts-v4-extended-field.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"contacts-v4-extended-field.universal.js","sourceRoot":"","sources":["../../../src/contacts-v4-extended-field.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAc,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,KAAK,oCAAoC,MAAM,mCAAmC,CAAC;AAC1F,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAgE5B,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,wDAAuC,CAAA;IACvC,8BAAa,CAAA;IACb,kCAAiB,CAAA;IACjB,8BAAa,CAAA;IACb,4BAAW,CAAA;AACb,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB;AAED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C;gBAC5B,MAAM,GAAG,CAAC;YACZ,CAAC;QACH,CAAC,CAAA;QACD,kBAAkB,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,qCAAqC,CAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { findOrCreateLabel as publicFindOrCreateLabel, getLabel as publicGetLabel, renameLabel as publicRenameLabel, deleteLabel as publicDeleteLabel, queryLabels as publicQueryLabels } from './contacts-v4-label.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const findOrCreateLabel: BuildRESTFunction<typeof publicFindOrCreateLabel>;
|
|
4
|
+
export declare const getLabel: BuildRESTFunction<typeof publicGetLabel>;
|
|
5
|
+
export declare const renameLabel: BuildRESTFunction<typeof publicRenameLabel>;
|
|
6
|
+
export declare const deleteLabel: BuildRESTFunction<typeof publicDeleteLabel>;
|
|
7
|
+
export declare const queryLabels: BuildRESTFunction<typeof publicQueryLabels>;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { findOrCreateLabel as publicFindOrCreateLabel, getLabel as publicGetLabel, renameLabel as publicRenameLabel, deleteLabel as publicDeleteLabel, queryLabels as publicQueryLabels, } from './contacts-v4-label.public';
|
|
2
|
+
export const findOrCreateLabel = (...args) => {
|
|
3
|
+
// @ts-expect-error
|
|
4
|
+
if (!globalThis.__wix_context__) {
|
|
5
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
6
|
+
}
|
|
7
|
+
// @ts-expect-error
|
|
8
|
+
return globalThis.__wix_context__
|
|
9
|
+
.initWixModules(publicFindOrCreateLabel)
|
|
10
|
+
.apply(undefined, args);
|
|
11
|
+
};
|
|
12
|
+
export const getLabel = (...args) => {
|
|
13
|
+
// @ts-expect-error
|
|
14
|
+
if (!globalThis.__wix_context__) {
|
|
15
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
16
|
+
}
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
return globalThis.__wix_context__
|
|
19
|
+
.initWixModules(publicGetLabel)
|
|
20
|
+
.apply(undefined, args);
|
|
21
|
+
};
|
|
22
|
+
export const renameLabel = (...args) => {
|
|
23
|
+
// @ts-expect-error
|
|
24
|
+
if (!globalThis.__wix_context__) {
|
|
25
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
26
|
+
}
|
|
27
|
+
// @ts-expect-error
|
|
28
|
+
return globalThis.__wix_context__
|
|
29
|
+
.initWixModules(publicRenameLabel)
|
|
30
|
+
.apply(undefined, args);
|
|
31
|
+
};
|
|
32
|
+
export const deleteLabel = (...args) => {
|
|
33
|
+
// @ts-expect-error
|
|
34
|
+
if (!globalThis.__wix_context__) {
|
|
35
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
36
|
+
}
|
|
37
|
+
// @ts-expect-error
|
|
38
|
+
return globalThis.__wix_context__
|
|
39
|
+
.initWixModules(publicDeleteLabel)
|
|
40
|
+
.apply(undefined, args);
|
|
41
|
+
};
|
|
42
|
+
export const queryLabels = (...args) => {
|
|
43
|
+
// @ts-expect-error
|
|
44
|
+
if (!globalThis.__wix_context__) {
|
|
45
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
46
|
+
}
|
|
47
|
+
// @ts-expect-error
|
|
48
|
+
return globalThis.__wix_context__
|
|
49
|
+
.initWixModules(publicQueryLabels)
|
|
50
|
+
.apply(undefined, args);
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=contacts-v4-label.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contacts-v4-label.context.js","sourceRoot":"","sources":["../../../src/contacts-v4-label.context.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,IAAI,uBAAuB,EAC5C,QAAQ,IAAI,cAAc,EAC1B,WAAW,IAAI,iBAAiB,EAChC,WAAW,IAAI,iBAAiB,EAChC,WAAW,IAAI,iBAAiB,GACjC,MAAM,4BAA4B,CAAC;AAGpC,MAAM,CAAC,MAAM,iBAAiB,GAE1B,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,uBAAuB,CAAC;SACvC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,QAAQ,GAA6C,CAChE,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,cAAc,CAAC;SAC9B,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,WAAW,GAAgD,CACtE,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,e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