@wix/crm 1.0.85 → 1.0.87
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 -5
- package/build/cjs/context.js +5 -5
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +5 -5
- package/build/cjs/index.js +5 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -5
- package/build/cjs/meta.js +5 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +5 -5
- package/build/es/context.js +5 -5
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +5 -5
- package/build/es/index.js +5 -5
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +5 -5
- package/build/es/meta.js +5 -5
- package/build/es/meta.js.map +1 -1
- package/package.json +15 -9
- package/build/cjs/index.typings.d.ts +0 -5
- package/build/cjs/index.typings.js +0 -32
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/src/contacts-v4-contact.context.d.ts +0 -9
- package/build/cjs/src/contacts-v4-contact.context.js +0 -124
- package/build/cjs/src/contacts-v4-contact.context.js.map +0 -1
- package/build/cjs/src/contacts-v4-contact.http.d.ts +0 -94
- package/build/cjs/src/contacts-v4-contact.http.js +0 -485
- package/build/cjs/src/contacts-v4-contact.http.js.map +0 -1
- package/build/cjs/src/contacts-v4-contact.meta.d.ts +0 -31
- package/build/cjs/src/contacts-v4-contact.meta.js +0 -161
- package/build/cjs/src/contacts-v4-contact.meta.js.map +0 -1
- package/build/cjs/src/contacts-v4-contact.public.d.ts +0 -49
- package/build/cjs/src/contacts-v4-contact.public.js +0 -76
- package/build/cjs/src/contacts-v4-contact.public.js.map +0 -1
- package/build/cjs/src/contacts-v4-contact.types.d.ts +0 -2199
- package/build/cjs/src/contacts-v4-contact.types.js +0 -270
- package/build/cjs/src/contacts-v4-contact.types.js.map +0 -1
- package/build/cjs/src/contacts-v4-contact.universal.d.ts +0 -2069
- package/build/cjs/src/contacts-v4-contact.universal.js +0 -930
- package/build/cjs/src/contacts-v4-contact.universal.js.map +0 -1
- package/build/cjs/src/contacts-v4-extended-field.context.d.ts +0 -7
- package/build/cjs/src/contacts-v4-extended-field.context.js +0 -90
- package/build/cjs/src/contacts-v4-extended-field.context.js.map +0 -1
- package/build/cjs/src/contacts-v4-extended-field.http.d.ts +0 -52
- package/build/cjs/src/contacts-v4-extended-field.http.js +0 -234
- package/build/cjs/src/contacts-v4-extended-field.http.js.map +0 -1
- package/build/cjs/src/contacts-v4-extended-field.meta.d.ts +0 -23
- package/build/cjs/src/contacts-v4-extended-field.meta.js +0 -123
- package/build/cjs/src/contacts-v4-extended-field.meta.js.map +0 -1
- package/build/cjs/src/contacts-v4-extended-field.public.d.ts +0 -23
- package/build/cjs/src/contacts-v4-extended-field.public.js +0 -44
- package/build/cjs/src/contacts-v4-extended-field.public.js.map +0 -1
- package/build/cjs/src/contacts-v4-extended-field.types.d.ts +0 -357
- package/build/cjs/src/contacts-v4-extended-field.types.js +0 -23
- package/build/cjs/src/contacts-v4-extended-field.types.js.map +0 -1
- package/build/cjs/src/contacts-v4-extended-field.universal.d.ts +0 -623
- package/build/cjs/src/contacts-v4-extended-field.universal.js +0 -434
- package/build/cjs/src/contacts-v4-extended-field.universal.js.map +0 -1
- package/build/cjs/src/contacts-v4-label.context.d.ts +0 -7
- package/build/cjs/src/contacts-v4-label.context.js +0 -90
- package/build/cjs/src/contacts-v4-label.context.js.map +0 -1
- package/build/cjs/src/contacts-v4-label.http.d.ts +0 -53
- package/build/cjs/src/contacts-v4-label.http.js +0 -235
- package/build/cjs/src/contacts-v4-label.http.js.map +0 -1
- package/build/cjs/src/contacts-v4-label.meta.d.ts +0 -23
- package/build/cjs/src/contacts-v4-label.meta.js +0 -123
- package/build/cjs/src/contacts-v4-label.meta.js.map +0 -1
- package/build/cjs/src/contacts-v4-label.public.d.ts +0 -21
- package/build/cjs/src/contacts-v4-label.public.js +0 -43
- package/build/cjs/src/contacts-v4-label.public.js.map +0 -1
- package/build/cjs/src/contacts-v4-label.types.d.ts +0 -349
- package/build/cjs/src/contacts-v4-label.types.js +0 -17
- package/build/cjs/src/contacts-v4-label.types.js.map +0 -1
- package/build/cjs/src/contacts-v4-label.universal.d.ts +0 -627
- package/build/cjs/src/contacts-v4-label.universal.js +0 -428
- package/build/cjs/src/contacts-v4-label.universal.js.map +0 -1
- package/build/cjs/src/contacts-v4-submit-contact.context.d.ts +0 -3
- package/build/cjs/src/contacts-v4-submit-contact.context.js +0 -22
- package/build/cjs/src/contacts-v4-submit-contact.context.js.map +0 -1
- package/build/cjs/src/contacts-v4-submit-contact.http.d.ts +0 -8
- package/build/cjs/src/contacts-v4-submit-contact.http.js +0 -90
- package/build/cjs/src/contacts-v4-submit-contact.http.js.map +0 -1
- package/build/cjs/src/contacts-v4-submit-contact.meta.d.ts +0 -13
- package/build/cjs/src/contacts-v4-submit-contact.meta.js +0 -47
- package/build/cjs/src/contacts-v4-submit-contact.meta.js.map +0 -1
- package/build/cjs/src/contacts-v4-submit-contact.public.d.ts +0 -8
- package/build/cjs/src/contacts-v4-submit-contact.public.js +0 -22
- package/build/cjs/src/contacts-v4-submit-contact.public.js.map +0 -1
- package/build/cjs/src/contacts-v4-submit-contact.types.d.ts +0 -541
- package/build/cjs/src/contacts-v4-submit-contact.types.js +0 -174
- package/build/cjs/src/contacts-v4-submit-contact.types.js.map +0 -1
- package/build/cjs/src/contacts-v4-submit-contact.universal.d.ts +0 -555
- package/build/cjs/src/contacts-v4-submit-contact.universal.js +0 -288
- package/build/cjs/src/contacts-v4-submit-contact.universal.js.map +0 -1
- package/build/cjs/src/crm-tasks-v2-task.context.d.ts +0 -9
- package/build/cjs/src/crm-tasks-v2-task.context.js +0 -124
- package/build/cjs/src/crm-tasks-v2-task.context.js.map +0 -1
- package/build/cjs/src/crm-tasks-v2-task.http.d.ts +0 -59
- package/build/cjs/src/crm-tasks-v2-task.http.js +0 -268
- package/build/cjs/src/crm-tasks-v2-task.http.js.map +0 -1
- package/build/cjs/src/crm-tasks-v2-task.meta.d.ts +0 -27
- package/build/cjs/src/crm-tasks-v2-task.meta.js +0 -161
- package/build/cjs/src/crm-tasks-v2-task.meta.js.map +0 -1
- package/build/cjs/src/crm-tasks-v2-task.public.d.ts +0 -30
- package/build/cjs/src/crm-tasks-v2-task.public.js +0 -58
- package/build/cjs/src/crm-tasks-v2-task.public.js.map +0 -1
- package/build/cjs/src/crm-tasks-v2-task.types.d.ts +0 -430
- package/build/cjs/src/crm-tasks-v2-task.types.js +0 -29
- package/build/cjs/src/crm-tasks-v2-task.types.js.map +0 -1
- package/build/cjs/src/crm-tasks-v2-task.universal.d.ts +0 -678
- package/build/cjs/src/crm-tasks-v2-task.universal.js +0 -520
- package/build/cjs/src/crm-tasks-v2-task.universal.js.map +0 -1
- package/build/cjs/src/ping-notifications-v3-notification.http.d.ts +0 -15
- package/build/cjs/src/ping-notifications-v3-notification.http.js +0 -87
- package/build/cjs/src/ping-notifications-v3-notification.http.js.map +0 -1
- package/build/cjs/src/ping-notifications-v3-notification.public.d.ts +0 -8
- package/build/cjs/src/ping-notifications-v3-notification.public.js +0 -14
- package/build/cjs/src/ping-notifications-v3-notification.public.js.map +0 -1
- package/build/cjs/src/ping-notifications-v3-notification.types.d.ts +0 -113
- package/build/cjs/src/ping-notifications-v3-notification.types.js +0 -15
- package/build/cjs/src/ping-notifications-v3-notification.types.js.map +0 -1
- package/build/cjs/src/ping-notifications-v3-notification.universal.d.ts +0 -146
- package/build/cjs/src/ping-notifications-v3-notification.universal.js +0 -136
- package/build/cjs/src/ping-notifications-v3-notification.universal.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -5
- package/build/es/index.typings.js +0 -6
- package/build/es/index.typings.js.map +0 -1
- package/build/es/src/contacts-v4-contact.context.d.ts +0 -9
- package/build/es/src/contacts-v4-contact.context.js +0 -114
- package/build/es/src/contacts-v4-contact.context.js.map +0 -1
- package/build/es/src/contacts-v4-contact.http.d.ts +0 -94
- package/build/es/src/contacts-v4-contact.http.js +0 -475
- package/build/es/src/contacts-v4-contact.http.js.map +0 -1
- package/build/es/src/contacts-v4-contact.meta.d.ts +0 -31
- package/build/es/src/contacts-v4-contact.meta.js +0 -128
- package/build/es/src/contacts-v4-contact.meta.js.map +0 -1
- package/build/es/src/contacts-v4-contact.public.d.ts +0 -49
- package/build/es/src/contacts-v4-contact.public.js +0 -40
- package/build/es/src/contacts-v4-contact.public.js.map +0 -1
- package/build/es/src/contacts-v4-contact.types.d.ts +0 -2199
- package/build/es/src/contacts-v4-contact.types.js +0 -267
- package/build/es/src/contacts-v4-contact.types.js.map +0 -1
- package/build/es/src/contacts-v4-contact.universal.d.ts +0 -2069
- package/build/es/src/contacts-v4-contact.universal.js +0 -897
- package/build/es/src/contacts-v4-contact.universal.js.map +0 -1
- package/build/es/src/contacts-v4-extended-field.context.d.ts +0 -7
- package/build/es/src/contacts-v4-extended-field.context.js +0 -82
- package/build/es/src/contacts-v4-extended-field.context.js.map +0 -1
- package/build/es/src/contacts-v4-extended-field.http.d.ts +0 -52
- package/build/es/src/contacts-v4-extended-field.http.js +0 -226
- package/build/es/src/contacts-v4-extended-field.http.js.map +0 -1
- package/build/es/src/contacts-v4-extended-field.meta.d.ts +0 -23
- package/build/es/src/contacts-v4-extended-field.meta.js +0 -92
- package/build/es/src/contacts-v4-extended-field.meta.js.map +0 -1
- package/build/es/src/contacts-v4-extended-field.public.d.ts +0 -23
- package/build/es/src/contacts-v4-extended-field.public.js +0 -30
- package/build/es/src/contacts-v4-extended-field.public.js.map +0 -1
- package/build/es/src/contacts-v4-extended-field.types.d.ts +0 -357
- package/build/es/src/contacts-v4-extended-field.types.js +0 -20
- package/build/es/src/contacts-v4-extended-field.types.js.map +0 -1
- package/build/es/src/contacts-v4-extended-field.universal.d.ts +0 -623
- package/build/es/src/contacts-v4-extended-field.universal.js +0 -403
- package/build/es/src/contacts-v4-extended-field.universal.js.map +0 -1
- package/build/es/src/contacts-v4-label.context.d.ts +0 -7
- package/build/es/src/contacts-v4-label.context.js +0 -82
- package/build/es/src/contacts-v4-label.context.js.map +0 -1
- package/build/es/src/contacts-v4-label.http.d.ts +0 -53
- package/build/es/src/contacts-v4-label.http.js +0 -227
- package/build/es/src/contacts-v4-label.http.js.map +0 -1
- package/build/es/src/contacts-v4-label.meta.d.ts +0 -23
- package/build/es/src/contacts-v4-label.meta.js +0 -92
- package/build/es/src/contacts-v4-label.meta.js.map +0 -1
- package/build/es/src/contacts-v4-label.public.d.ts +0 -21
- package/build/es/src/contacts-v4-label.public.js +0 -30
- package/build/es/src/contacts-v4-label.public.js.map +0 -1
- package/build/es/src/contacts-v4-label.types.d.ts +0 -349
- package/build/es/src/contacts-v4-label.types.js +0 -14
- package/build/es/src/contacts-v4-label.types.js.map +0 -1
- package/build/es/src/contacts-v4-label.universal.d.ts +0 -627
- package/build/es/src/contacts-v4-label.universal.js +0 -397
- package/build/es/src/contacts-v4-label.universal.js.map +0 -1
- package/build/es/src/contacts-v4-submit-contact.context.d.ts +0 -3
- package/build/es/src/contacts-v4-submit-contact.context.js +0 -18
- package/build/es/src/contacts-v4-submit-contact.context.js.map +0 -1
- package/build/es/src/contacts-v4-submit-contact.http.d.ts +0 -8
- package/build/es/src/contacts-v4-submit-contact.http.js +0 -86
- package/build/es/src/contacts-v4-submit-contact.http.js.map +0 -1
- package/build/es/src/contacts-v4-submit-contact.meta.d.ts +0 -13
- package/build/es/src/contacts-v4-submit-contact.meta.js +0 -20
- package/build/es/src/contacts-v4-submit-contact.meta.js.map +0 -1
- package/build/es/src/contacts-v4-submit-contact.public.d.ts +0 -8
- package/build/es/src/contacts-v4-submit-contact.public.js +0 -9
- package/build/es/src/contacts-v4-submit-contact.public.js.map +0 -1
- package/build/es/src/contacts-v4-submit-contact.types.d.ts +0 -541
- package/build/es/src/contacts-v4-submit-contact.types.js +0 -171
- package/build/es/src/contacts-v4-submit-contact.types.js.map +0 -1
- package/build/es/src/contacts-v4-submit-contact.universal.d.ts +0 -555
- package/build/es/src/contacts-v4-submit-contact.universal.js +0 -261
- package/build/es/src/contacts-v4-submit-contact.universal.js.map +0 -1
- package/build/es/src/crm-tasks-v2-task.context.d.ts +0 -9
- package/build/es/src/crm-tasks-v2-task.context.js +0 -114
- package/build/es/src/crm-tasks-v2-task.context.js.map +0 -1
- package/build/es/src/crm-tasks-v2-task.http.d.ts +0 -59
- package/build/es/src/crm-tasks-v2-task.http.js +0 -258
- package/build/es/src/crm-tasks-v2-task.http.js.map +0 -1
- package/build/es/src/crm-tasks-v2-task.meta.d.ts +0 -27
- package/build/es/src/crm-tasks-v2-task.meta.js +0 -128
- package/build/es/src/crm-tasks-v2-task.meta.js.map +0 -1
- package/build/es/src/crm-tasks-v2-task.public.d.ts +0 -30
- package/build/es/src/crm-tasks-v2-task.public.js +0 -40
- package/build/es/src/crm-tasks-v2-task.public.js.map +0 -1
- package/build/es/src/crm-tasks-v2-task.types.d.ts +0 -430
- package/build/es/src/crm-tasks-v2-task.types.js +0 -26
- package/build/es/src/crm-tasks-v2-task.types.js.map +0 -1
- package/build/es/src/crm-tasks-v2-task.universal.d.ts +0 -678
- package/build/es/src/crm-tasks-v2-task.universal.js +0 -487
- package/build/es/src/crm-tasks-v2-task.universal.js.map +0 -1
- package/build/es/src/ping-notifications-v3-notification.http.d.ts +0 -15
- package/build/es/src/ping-notifications-v3-notification.http.js +0 -83
- package/build/es/src/ping-notifications-v3-notification.http.js.map +0 -1
- package/build/es/src/ping-notifications-v3-notification.public.d.ts +0 -8
- package/build/es/src/ping-notifications-v3-notification.public.js +0 -9
- package/build/es/src/ping-notifications-v3-notification.public.js.map +0 -1
- package/build/es/src/ping-notifications-v3-notification.types.d.ts +0 -113
- package/build/es/src/ping-notifications-v3-notification.types.js +0 -12
- package/build/es/src/ping-notifications-v3-notification.types.js.map +0 -1
- package/build/es/src/ping-notifications-v3-notification.universal.d.ts +0 -146
- package/build/es/src/ping-notifications-v3-notification.universal.js +0 -109
- package/build/es/src/ping-notifications-v3-notification.universal.js.map +0 -1
|
@@ -1,627 +0,0 @@
|
|
|
1
|
-
import { EventDefinition } from '@wix/sdk-types';
|
|
2
|
-
/** Label that was found or created. */
|
|
3
|
-
export interface ContactLabel {
|
|
4
|
-
/**
|
|
5
|
-
* Label namespace.
|
|
6
|
-
*
|
|
7
|
-
* Labels created by site admins or 3rd-party apps
|
|
8
|
-
* are automatically assigned to the `custom` namespace.
|
|
9
|
-
* @readonly
|
|
10
|
-
*/
|
|
11
|
-
namespace?: string | null;
|
|
12
|
-
/**
|
|
13
|
-
* Display name for the namespace,
|
|
14
|
-
* used to organize the list of labels in the site Dashboard.
|
|
15
|
-
* @readonly
|
|
16
|
-
*/
|
|
17
|
-
namespaceDisplayName?: string | null;
|
|
18
|
-
/**
|
|
19
|
-
* Label key.
|
|
20
|
-
*
|
|
21
|
-
* `key` is generated when the label is created.
|
|
22
|
-
* It cannot be modified, even if `displayName` is updated.
|
|
23
|
-
* @readonly
|
|
24
|
-
*/
|
|
25
|
-
key?: string;
|
|
26
|
-
/** Label display name shown in the Dashboard. */
|
|
27
|
-
displayName?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Label type.
|
|
30
|
-
*
|
|
31
|
-
* - `"SYSTEM"`: The label is a default system label for the Contact List.
|
|
32
|
-
* - `"USER_DEFINED"`: The label was created by a site contributor or 3rd-party app.
|
|
33
|
-
* - `"WIX_APP_DEFINED"`: The label was created by a Wix app.
|
|
34
|
-
* @readonly
|
|
35
|
-
*/
|
|
36
|
-
labelType?: LabelType;
|
|
37
|
-
/**
|
|
38
|
-
* Date and time the label was created.
|
|
39
|
-
* @readonly
|
|
40
|
-
*/
|
|
41
|
-
_createdDate?: Date;
|
|
42
|
-
/**
|
|
43
|
-
* Date and time the label was last updated.
|
|
44
|
-
* @readonly
|
|
45
|
-
*/
|
|
46
|
-
_updatedDate?: Date;
|
|
47
|
-
}
|
|
48
|
-
export declare enum LabelType {
|
|
49
|
-
/** Need UNKNOWN to be able to fetch all labels */
|
|
50
|
-
UNKNOWN = "UNKNOWN",
|
|
51
|
-
SYSTEM = "SYSTEM",
|
|
52
|
-
USER_DEFINED = "USER_DEFINED",
|
|
53
|
-
WIX_APP_DEFINED = "WIX_APP_DEFINED"
|
|
54
|
-
}
|
|
55
|
-
/** Label filter options. */
|
|
56
|
-
export interface ListLabelsRequest {
|
|
57
|
-
/** Filter for labels of the specified type. */
|
|
58
|
-
labelType?: LabelType;
|
|
59
|
-
/** Filter for labels in the specified namespace. */
|
|
60
|
-
namespace?: string | null;
|
|
61
|
-
/** Filter for labels where `displayName` starts with the specified case-sensitive string. */
|
|
62
|
-
startsWith?: string | null;
|
|
63
|
-
/** Sorting options. */
|
|
64
|
-
sort?: Sorting;
|
|
65
|
-
/** Paging options. */
|
|
66
|
-
paging?: Paging;
|
|
67
|
-
/** Language for localization. */
|
|
68
|
-
language?: string | null;
|
|
69
|
-
}
|
|
70
|
-
export interface Sorting {
|
|
71
|
-
/** Name of the field to sort by. */
|
|
72
|
-
fieldName?: string;
|
|
73
|
-
/**
|
|
74
|
-
* Sort order. Use `ASC` for ascending order or `DESC` for descending order.
|
|
75
|
-
*
|
|
76
|
-
* Defaults to `ASC`.
|
|
77
|
-
*/
|
|
78
|
-
order?: SortOrder;
|
|
79
|
-
}
|
|
80
|
-
export declare enum SortOrder {
|
|
81
|
-
ASC = "ASC",
|
|
82
|
-
DESC = "DESC"
|
|
83
|
-
}
|
|
84
|
-
export interface Paging {
|
|
85
|
-
/**
|
|
86
|
-
* Number of items to return.
|
|
87
|
-
*
|
|
88
|
-
* Defaults to `1000`. <br>
|
|
89
|
-
* Maximum: `2000`.
|
|
90
|
-
*/
|
|
91
|
-
limit?: number | null;
|
|
92
|
-
/** Number of items to skip in the current sort order. */
|
|
93
|
-
offset?: number | null;
|
|
94
|
-
}
|
|
95
|
-
/** List of labels. */
|
|
96
|
-
export interface ListLabelsResponse {
|
|
97
|
-
/** List of labels. */
|
|
98
|
-
labels?: ContactLabel[];
|
|
99
|
-
/** Metadata for the page of results. */
|
|
100
|
-
metadata?: PagingMetadata;
|
|
101
|
-
}
|
|
102
|
-
export interface PagingMetadata {
|
|
103
|
-
/** Number of items returned. */
|
|
104
|
-
count?: number | null;
|
|
105
|
-
/** Requested offset. */
|
|
106
|
-
offset?: number | null;
|
|
107
|
-
/** Number of items that matched the query. */
|
|
108
|
-
total?: number | null;
|
|
109
|
-
/**
|
|
110
|
-
* Indicates if `total` calculation timed out before the response was sent.
|
|
111
|
-
* Typically this happens if there is a large set of results.
|
|
112
|
-
*/
|
|
113
|
-
tooManyToCount?: boolean | null;
|
|
114
|
-
}
|
|
115
|
-
/** Label to find or create. */
|
|
116
|
-
export interface FindOrCreateLabelRequest {
|
|
117
|
-
/**
|
|
118
|
-
* Display name to retrieve or create.
|
|
119
|
-
*
|
|
120
|
-
* If an existing label is an exact match
|
|
121
|
-
* for the specified display name,
|
|
122
|
-
* the existing label is returned.
|
|
123
|
-
* If not, a new label is created and returned.
|
|
124
|
-
*/
|
|
125
|
-
displayName: string;
|
|
126
|
-
/** Language for localization. */
|
|
127
|
-
language?: string | null;
|
|
128
|
-
}
|
|
129
|
-
/** Label that was found or created. */
|
|
130
|
-
export interface FindOrCreateLabelResponse {
|
|
131
|
-
/** Label that was found or created. */
|
|
132
|
-
label?: ContactLabel;
|
|
133
|
-
/**
|
|
134
|
-
* Indicates whether the label was just created or already existed.
|
|
135
|
-
*
|
|
136
|
-
* If the label was just created, returns `true`.
|
|
137
|
-
* If it already existed, returns `false`.
|
|
138
|
-
*/
|
|
139
|
-
newLabel?: boolean;
|
|
140
|
-
}
|
|
141
|
-
export interface LabelsQuotaReached {
|
|
142
|
-
labelsQuota?: string | null;
|
|
143
|
-
labelsCurrentTotal?: string | null;
|
|
144
|
-
}
|
|
145
|
-
export interface ListLabelNamespacesRequest {
|
|
146
|
-
/** Language for localization */
|
|
147
|
-
language?: string | null;
|
|
148
|
-
}
|
|
149
|
-
export interface ListLabelNamespacesResponse {
|
|
150
|
-
namespaces?: ContactLabelNamespace[];
|
|
151
|
-
}
|
|
152
|
-
export interface ContactLabelNamespace {
|
|
153
|
-
/**
|
|
154
|
-
* Namespace key
|
|
155
|
-
* @readonly
|
|
156
|
-
*/
|
|
157
|
-
key?: string;
|
|
158
|
-
/**
|
|
159
|
-
* Namespace display name
|
|
160
|
-
* @readonly
|
|
161
|
-
*/
|
|
162
|
-
displayName?: string | null;
|
|
163
|
-
}
|
|
164
|
-
export interface GetLabelRequest {
|
|
165
|
-
/**
|
|
166
|
-
* Label key.
|
|
167
|
-
*
|
|
168
|
-
* `key` is generated when the label is created.
|
|
169
|
-
* It cannot be modified, even if `displayName` is updated.
|
|
170
|
-
*/
|
|
171
|
-
key: string;
|
|
172
|
-
/** Language for localization. */
|
|
173
|
-
language?: string | null;
|
|
174
|
-
}
|
|
175
|
-
/** The specified label. */
|
|
176
|
-
export interface GetLabelResponse {
|
|
177
|
-
/** The specified label. */
|
|
178
|
-
label?: ContactLabel;
|
|
179
|
-
}
|
|
180
|
-
export interface GetLabelByLegacyIdRequest {
|
|
181
|
-
legacyId?: string;
|
|
182
|
-
/** Language for localization */
|
|
183
|
-
language?: string | null;
|
|
184
|
-
}
|
|
185
|
-
export interface GetLabelByLegacyIdResponse {
|
|
186
|
-
label?: ContactLabel;
|
|
187
|
-
}
|
|
188
|
-
export interface UpdateLabelRequest {
|
|
189
|
-
/** Label details to update. */
|
|
190
|
-
label?: ContactLabel;
|
|
191
|
-
/** Language for localization. */
|
|
192
|
-
language?: string | null;
|
|
193
|
-
}
|
|
194
|
-
/** Updated label. */
|
|
195
|
-
export interface UpdateLabelResponse {
|
|
196
|
-
/** Updated label. */
|
|
197
|
-
label?: ContactLabel;
|
|
198
|
-
}
|
|
199
|
-
export interface DeleteLabelRequest {
|
|
200
|
-
/** Label key to delete. */
|
|
201
|
-
key: string;
|
|
202
|
-
}
|
|
203
|
-
export interface DeleteLabelResponse {
|
|
204
|
-
}
|
|
205
|
-
export interface PurgeRequest {
|
|
206
|
-
instanceId?: string;
|
|
207
|
-
exludingLabelKeys?: string[];
|
|
208
|
-
}
|
|
209
|
-
export interface PurgeResponse {
|
|
210
|
-
deletedItems?: number;
|
|
211
|
-
}
|
|
212
|
-
export interface GdprListRequest {
|
|
213
|
-
instanceId?: string;
|
|
214
|
-
}
|
|
215
|
-
export interface GdprListResponse {
|
|
216
|
-
labels?: ContactLabel[];
|
|
217
|
-
}
|
|
218
|
-
export interface QueryLabelsRequest {
|
|
219
|
-
/** Query options. */
|
|
220
|
-
query?: Query;
|
|
221
|
-
/** Language for localization. */
|
|
222
|
-
language?: string | null;
|
|
223
|
-
}
|
|
224
|
-
export interface Query {
|
|
225
|
-
/**
|
|
226
|
-
* ilter object.
|
|
227
|
-
*
|
|
228
|
-
* Possible filters: `$eq`, `$gt`, `$gte`, `$in`, `$lt`, `$lte`, `$ne`, `$startsWith`.
|
|
229
|
-
*
|
|
230
|
-
* For a detailed list of supported filters, see [sorting and filtering for labels](https://dev.wix.com/api/rest/contacts/labels/sort-and-filter).
|
|
231
|
-
*
|
|
232
|
-
* Example: `{ "filter": {
|
|
233
|
-
* "displayName": {
|
|
234
|
-
* "$startsWith": "Referral"
|
|
235
|
-
* }
|
|
236
|
-
* }
|
|
237
|
-
* }`
|
|
238
|
-
*/
|
|
239
|
-
filter?: Record<string, any> | null;
|
|
240
|
-
/**
|
|
241
|
-
* Sorting options. For a list of fields that can be sorted, see [sorting and filtering for labels](https://dev.wix.com/api/rest/contacts/labels/sort-and-filter).
|
|
242
|
-
*
|
|
243
|
-
* Example: `{ "sort": [{"fieldName": "displayName", "order": "DESC"}] }`
|
|
244
|
-
*/
|
|
245
|
-
sort?: Sorting[];
|
|
246
|
-
/** Pagination options. */
|
|
247
|
-
paging?: Paging;
|
|
248
|
-
}
|
|
249
|
-
export interface QueryLabelsResponse {
|
|
250
|
-
/** List of labels */
|
|
251
|
-
labels?: ContactLabel[];
|
|
252
|
-
/** Details on the paged set of results returned. */
|
|
253
|
-
pagingMetadata?: PagingMetadata;
|
|
254
|
-
}
|
|
255
|
-
export interface DomainEvent<T = string> extends DomainEventBodyOneOf<T> {
|
|
256
|
-
createdEvent?: EntityCreatedEvent<T>;
|
|
257
|
-
updatedEvent?: EntityUpdatedEvent<T>;
|
|
258
|
-
deletedEvent?: EntityDeletedEvent<T>;
|
|
259
|
-
actionEvent?: ActionEvent<T>;
|
|
260
|
-
/**
|
|
261
|
-
* Unique event ID.
|
|
262
|
-
* Allows clients to ignore duplicate webhooks.
|
|
263
|
-
*/
|
|
264
|
-
_id?: string;
|
|
265
|
-
/**
|
|
266
|
-
* Assumes actions are also always typed to an entity_type
|
|
267
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
268
|
-
*/
|
|
269
|
-
entityFqdn?: string;
|
|
270
|
-
/**
|
|
271
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
272
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
273
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
274
|
-
*/
|
|
275
|
-
slug?: string;
|
|
276
|
-
/** ID of the entity associated with the event. */
|
|
277
|
-
entityId?: string;
|
|
278
|
-
/** Event timestamp. */
|
|
279
|
-
eventTime?: Date;
|
|
280
|
-
/**
|
|
281
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
282
|
-
* (for example, GDPR).
|
|
283
|
-
*/
|
|
284
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
285
|
-
/** If present, indicates the action that triggered the event. */
|
|
286
|
-
originatedFrom?: string | null;
|
|
287
|
-
/**
|
|
288
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
289
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
290
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
291
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
292
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
293
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
294
|
-
*/
|
|
295
|
-
entityEventSequence?: string | null;
|
|
296
|
-
}
|
|
297
|
-
export interface DomainCreatedEvent<T> extends Omit<DomainEvent<T>, 'deletedEvent' | 'updatedEvent' | 'actionEvent'> {
|
|
298
|
-
}
|
|
299
|
-
export interface DomainDeletedEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'updatedEvent' | 'actionEvent'> {
|
|
300
|
-
}
|
|
301
|
-
export interface DomainUpdatedEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'deletedEvent' | 'actionEvent'> {
|
|
302
|
-
}
|
|
303
|
-
export interface DomainActionEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'deletedEvent' | 'updatedEvent'> {
|
|
304
|
-
}
|
|
305
|
-
/** @oneof */
|
|
306
|
-
export interface DomainEventBodyOneOf<T> {
|
|
307
|
-
createdEvent?: EntityCreatedEvent<T>;
|
|
308
|
-
updatedEvent?: EntityUpdatedEvent<T>;
|
|
309
|
-
deletedEvent?: EntityDeletedEvent<T>;
|
|
310
|
-
actionEvent?: ActionEvent<T>;
|
|
311
|
-
}
|
|
312
|
-
export interface EntityCreatedEvent<T> {
|
|
313
|
-
entity?: T;
|
|
314
|
-
}
|
|
315
|
-
export interface EntityUpdatedEvent<T> {
|
|
316
|
-
/**
|
|
317
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
318
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
319
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
320
|
-
*/
|
|
321
|
-
currentEntity?: T;
|
|
322
|
-
}
|
|
323
|
-
export interface EntityDeletedEvent<T> {
|
|
324
|
-
/** Entity that was deleted */
|
|
325
|
-
deletedEntity?: T | null;
|
|
326
|
-
}
|
|
327
|
-
export interface ActionEvent<T> {
|
|
328
|
-
body?: T;
|
|
329
|
-
}
|
|
330
|
-
export interface FindOrCreateLabelResponseNonNullableFields {
|
|
331
|
-
label?: {
|
|
332
|
-
key: string;
|
|
333
|
-
displayName: string;
|
|
334
|
-
labelType: LabelType;
|
|
335
|
-
};
|
|
336
|
-
newLabel: boolean;
|
|
337
|
-
}
|
|
338
|
-
export interface GetLabelResponseNonNullableFields {
|
|
339
|
-
label?: {
|
|
340
|
-
key: string;
|
|
341
|
-
displayName: string;
|
|
342
|
-
labelType: LabelType;
|
|
343
|
-
};
|
|
344
|
-
}
|
|
345
|
-
export interface UpdateLabelResponseNonNullableFields {
|
|
346
|
-
label?: {
|
|
347
|
-
key: string;
|
|
348
|
-
displayName: string;
|
|
349
|
-
labelType: LabelType;
|
|
350
|
-
};
|
|
351
|
-
}
|
|
352
|
-
export interface QueryLabelsResponseNonNullableFields {
|
|
353
|
-
labels: {
|
|
354
|
-
key: string;
|
|
355
|
-
displayName: string;
|
|
356
|
-
labelType: LabelType;
|
|
357
|
-
}[];
|
|
358
|
-
}
|
|
359
|
-
export declare const onLabelCreated: EventDefinition<DomainCreatedEvent<ContactLabel>, "wix.contacts.v4.label_created">;
|
|
360
|
-
export declare const onLabelUpdated: EventDefinition<DomainUpdatedEvent<ContactLabel>, "wix.contacts.v4.label_updated">;
|
|
361
|
-
export declare const onLabelDeleted: EventDefinition<DomainDeletedEvent<ContactLabel>, "wix.contacts.v4.label_deleted">;
|
|
362
|
-
/**
|
|
363
|
-
* Retrieves a label with a given name, or creates one if it doesn't exist.
|
|
364
|
-
*
|
|
365
|
-
* The `findOrCreateLabel()` function returns a Promise that resolves when the specified label is found or created.
|
|
366
|
-
*
|
|
367
|
-
* Successful calls to `findOrCreateLabel()` always returns a label, which can be passed to subsequent function calls.
|
|
368
|
-
*
|
|
369
|
-
* To find an existing label without potentially creating a new one, use `getLabel()` or `queryLabels()`.
|
|
370
|
-
*
|
|
371
|
-
*
|
|
372
|
-
* @param displayName - Display name to retrieve or create.
|
|
373
|
-
*
|
|
374
|
-
* If an existing label is an exact match
|
|
375
|
-
* for the specified display name,
|
|
376
|
-
* the existing label is returned.
|
|
377
|
-
* If not, a new label is created and returned.
|
|
378
|
-
* @public
|
|
379
|
-
* @documentationMaturity preview
|
|
380
|
-
* @requiredField displayName
|
|
381
|
-
* @param options - Language options.
|
|
382
|
-
* @permissionScope Manage Contact Labels
|
|
383
|
-
* @permissionScopeId SCOPE.DC-CONTACTS.MANAGE-LABELS
|
|
384
|
-
* @permissionScope Manage Members and Contacts - all permissions
|
|
385
|
-
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.MANAGE-MEMBERS-CONTACTS
|
|
386
|
-
* @applicableIdentity APP
|
|
387
|
-
* @returns Label that was found or created.
|
|
388
|
-
*/
|
|
389
|
-
export declare function findOrCreateLabel(displayName: string, options?: FindOrCreateLabelOptions): Promise<FindOrCreateLabelResponse & FindOrCreateLabelResponseNonNullableFields>;
|
|
390
|
-
export interface FindOrCreateLabelOptions {
|
|
391
|
-
/**
|
|
392
|
-
* Language for localization.
|
|
393
|
-
*
|
|
394
|
-
* 2-letter language code in
|
|
395
|
-
* [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
396
|
-
*/
|
|
397
|
-
language?: string | null;
|
|
398
|
-
}
|
|
399
|
-
/**
|
|
400
|
-
* Retrieves a label by the specified label key.
|
|
401
|
-
*
|
|
402
|
-
* The `getLabel()` function returns a Promise that resolves when the specified label is retrieved.
|
|
403
|
-
* @param key - Label key.
|
|
404
|
-
*
|
|
405
|
-
* `key` is generated when the label is created.
|
|
406
|
-
* It cannot be modified, even if `displayName` is updated.
|
|
407
|
-
* @public
|
|
408
|
-
* @documentationMaturity preview
|
|
409
|
-
* @requiredField key
|
|
410
|
-
* @param options - Language options.
|
|
411
|
-
* @permissionScope Manage Bookings Services and Settings
|
|
412
|
-
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
413
|
-
* @permissionScope Manage Contact Labels
|
|
414
|
-
* @permissionScopeId SCOPE.DC-CONTACTS.MANAGE-LABELS
|
|
415
|
-
* @permissionScope Manage Members and Contacts - all permissions
|
|
416
|
-
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.MANAGE-MEMBERS-CONTACTS
|
|
417
|
-
* @applicableIdentity APP
|
|
418
|
-
* @returns The specified label.
|
|
419
|
-
*/
|
|
420
|
-
export declare function getLabel(key: string, options?: GetLabelOptions): Promise<ContactLabel & NonNullable<GetLabelResponseNonNullableFields>['label']>;
|
|
421
|
-
export interface GetLabelOptions {
|
|
422
|
-
/**
|
|
423
|
-
* Language for localization.
|
|
424
|
-
*
|
|
425
|
-
* 2-letter language code in
|
|
426
|
-
* [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
427
|
-
*/
|
|
428
|
-
language?: string | null;
|
|
429
|
-
}
|
|
430
|
-
/**
|
|
431
|
-
* Renames a label.
|
|
432
|
-
*
|
|
433
|
-
* The `renameLabel()` function returns a Promise that resolves when the specified label's display name is changed.
|
|
434
|
-
*
|
|
435
|
-
* @param key - Label key.
|
|
436
|
-
*
|
|
437
|
-
* `key` is generated when the label is created.
|
|
438
|
-
* It cannot be modified, even if `displayName` is updated.
|
|
439
|
-
* @public
|
|
440
|
-
* @documentationMaturity preview
|
|
441
|
-
* @requiredField key
|
|
442
|
-
* @requiredField label
|
|
443
|
-
* @requiredField label.displayName
|
|
444
|
-
* @param options - Language options.
|
|
445
|
-
* @param label - Label to rename.
|
|
446
|
-
* @permissionScope Manage Contact Labels
|
|
447
|
-
* @permissionScopeId SCOPE.DC-CONTACTS.MANAGE-LABELS
|
|
448
|
-
* @permissionScope Manage Members and Contacts - all permissions
|
|
449
|
-
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.MANAGE-MEMBERS-CONTACTS
|
|
450
|
-
* @applicableIdentity APP
|
|
451
|
-
* @returns
|
|
452
|
-
*/
|
|
453
|
-
export declare function renameLabel(key: string, label: RenameLabel, options?: RenameLabelOptions): Promise<ContactLabel & NonNullable<UpdateLabelResponseNonNullableFields>['label']>;
|
|
454
|
-
export interface RenameLabel {
|
|
455
|
-
/**
|
|
456
|
-
* Label namespace.
|
|
457
|
-
*
|
|
458
|
-
* Labels created by site admins or 3rd-party apps
|
|
459
|
-
* are automatically assigned to the `custom` namespace.
|
|
460
|
-
* @readonly
|
|
461
|
-
*/
|
|
462
|
-
namespace?: string | null;
|
|
463
|
-
/**
|
|
464
|
-
* Display name for the namespace,
|
|
465
|
-
* used to organize the list of labels in the site Dashboard.
|
|
466
|
-
* @readonly
|
|
467
|
-
*/
|
|
468
|
-
namespaceDisplayName?: string | null;
|
|
469
|
-
/** Label display name shown in the Dashboard. */
|
|
470
|
-
displayName?: string;
|
|
471
|
-
/**
|
|
472
|
-
* Label type.
|
|
473
|
-
*
|
|
474
|
-
* - `"SYSTEM"`: The label is a default system label for the Contact List.
|
|
475
|
-
* - `"USER_DEFINED"`: The label was created by a site contributor or 3rd-party app.
|
|
476
|
-
* - `"WIX_APP_DEFINED"`: The label was created by a Wix app.
|
|
477
|
-
* @readonly
|
|
478
|
-
*/
|
|
479
|
-
labelType?: LabelType;
|
|
480
|
-
/**
|
|
481
|
-
* Date and time the label was created.
|
|
482
|
-
* @readonly
|
|
483
|
-
*/
|
|
484
|
-
_createdDate?: Date;
|
|
485
|
-
/**
|
|
486
|
-
* Date and time the label was last updated.
|
|
487
|
-
* @readonly
|
|
488
|
-
*/
|
|
489
|
-
_updatedDate?: Date;
|
|
490
|
-
}
|
|
491
|
-
export interface RenameLabelOptions {
|
|
492
|
-
/**
|
|
493
|
-
* Language for localization.
|
|
494
|
-
*
|
|
495
|
-
* 2-letter language code in
|
|
496
|
-
* [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
497
|
-
*/
|
|
498
|
-
language?: string | null;
|
|
499
|
-
}
|
|
500
|
-
/**
|
|
501
|
-
* Deletes a label from the site and removes it from contacts it applies to.
|
|
502
|
-
*
|
|
503
|
-
* The `deleteLabel()` function returns a Promise that resolves when the specified label is deleted.
|
|
504
|
-
*
|
|
505
|
-
*
|
|
506
|
-
* @param key - Label key to delete.
|
|
507
|
-
* @public
|
|
508
|
-
* @documentationMaturity preview
|
|
509
|
-
* @requiredField key
|
|
510
|
-
* @permissionScope Manage Contact Labels
|
|
511
|
-
* @permissionScopeId SCOPE.DC-CONTACTS.MANAGE-LABELS
|
|
512
|
-
* @permissionScope Manage Members and Contacts - all permissions
|
|
513
|
-
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.MANAGE-MEMBERS-CONTACTS
|
|
514
|
-
* @applicableIdentity APP
|
|
515
|
-
*/
|
|
516
|
-
export declare function deleteLabel(key: string): Promise<void>;
|
|
517
|
-
/**
|
|
518
|
-
* Creates a query to retrieve a list of labels.
|
|
519
|
-
*
|
|
520
|
-
* The `queryLabels()` function builds a query to retrieve a list of labels and returns a `LabelsQueryBuilder` object.
|
|
521
|
-
*
|
|
522
|
-
* The returned object contains the query definition, which is used to run the query using the `find()` function.
|
|
523
|
-
*
|
|
524
|
-
* You can refine the query by chaining `LabelsQueryBuilder` functions onto the query. `LabelsQueryBuilder` functions enable you to filter, sort, and control the results that `queryLabels()` returns.
|
|
525
|
-
*
|
|
526
|
-
* `queryLabels()` runs with the following `LabelsQueryBuilder` defaults, which you can override:
|
|
527
|
-
* - `skip(0)`
|
|
528
|
-
* - `limit(50)`
|
|
529
|
-
* - `descending('_createdDate')`
|
|
530
|
-
*
|
|
531
|
-
* The following `LabelsQueryBuilder` functions are supported for `queryLabels()`. For a full description of the `Labels` object, see the object returned for the `items` property in `LabelsQueryResult`.
|
|
532
|
-
*
|
|
533
|
-
*
|
|
534
|
-
* @public
|
|
535
|
-
* @documentationMaturity preview
|
|
536
|
-
* @param options - Language options.
|
|
537
|
-
* @permissionScope Manage Bookings Services and Settings
|
|
538
|
-
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
539
|
-
* @permissionScope Manage Contact Labels
|
|
540
|
-
* @permissionScopeId SCOPE.DC-CONTACTS.MANAGE-LABELS
|
|
541
|
-
* @permissionScope Manage Members and Contacts - all permissions
|
|
542
|
-
* @permissionScopeId SCOPE.DC-CONTACTS-MEGA.MANAGE-MEMBERS-CONTACTS
|
|
543
|
-
* @applicableIdentity APP
|
|
544
|
-
*/
|
|
545
|
-
export declare function queryLabels(options?: QueryLabelsOptions): LabelsQueryBuilder;
|
|
546
|
-
export interface QueryLabelsOptions {
|
|
547
|
-
/**
|
|
548
|
-
* Language for localization.
|
|
549
|
-
*
|
|
550
|
-
* 2-letter language code in
|
|
551
|
-
* [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
552
|
-
*/
|
|
553
|
-
language?: string | null | undefined;
|
|
554
|
-
}
|
|
555
|
-
interface QueryOffsetResult {
|
|
556
|
-
currentPage: number | undefined;
|
|
557
|
-
totalPages: number | undefined;
|
|
558
|
-
totalCount: number | undefined;
|
|
559
|
-
hasNext: () => boolean;
|
|
560
|
-
hasPrev: () => boolean;
|
|
561
|
-
length: number;
|
|
562
|
-
pageSize: number;
|
|
563
|
-
}
|
|
564
|
-
export interface LabelsQueryResult extends QueryOffsetResult {
|
|
565
|
-
items: ContactLabel[];
|
|
566
|
-
query: LabelsQueryBuilder;
|
|
567
|
-
next: () => Promise<LabelsQueryResult>;
|
|
568
|
-
prev: () => Promise<LabelsQueryResult>;
|
|
569
|
-
}
|
|
570
|
-
export interface LabelsQueryBuilder {
|
|
571
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
572
|
-
* @param value - Value to compare against.
|
|
573
|
-
* @documentationMaturity preview
|
|
574
|
-
*/
|
|
575
|
-
eq: (propertyName: 'namespace' | 'key' | 'displayName' | 'labelType' | '_createdDate' | '_updatedDate', value: any) => LabelsQueryBuilder;
|
|
576
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
577
|
-
* @param value - Value to compare against.
|
|
578
|
-
* @documentationMaturity preview
|
|
579
|
-
*/
|
|
580
|
-
ne: (propertyName: 'namespace' | 'key' | 'displayName' | '_createdDate' | '_updatedDate', value: any) => LabelsQueryBuilder;
|
|
581
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
582
|
-
* @param value - Value to compare against.
|
|
583
|
-
* @documentationMaturity preview
|
|
584
|
-
*/
|
|
585
|
-
ge: (propertyName: '_createdDate' | '_updatedDate', value: any) => LabelsQueryBuilder;
|
|
586
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
587
|
-
* @param value - Value to compare against.
|
|
588
|
-
* @documentationMaturity preview
|
|
589
|
-
*/
|
|
590
|
-
gt: (propertyName: '_createdDate' | '_updatedDate', value: any) => LabelsQueryBuilder;
|
|
591
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
592
|
-
* @param value - Value to compare against.
|
|
593
|
-
* @documentationMaturity preview
|
|
594
|
-
*/
|
|
595
|
-
le: (propertyName: '_createdDate' | '_updatedDate', value: any) => LabelsQueryBuilder;
|
|
596
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
597
|
-
* @param value - Value to compare against.
|
|
598
|
-
* @documentationMaturity preview
|
|
599
|
-
*/
|
|
600
|
-
lt: (propertyName: '_createdDate' | '_updatedDate', value: any) => LabelsQueryBuilder;
|
|
601
|
-
/** @param propertyName - Property whose value is compared with `string`.
|
|
602
|
-
* @param string - String to compare against. Case-insensitive.
|
|
603
|
-
* @documentationMaturity preview
|
|
604
|
-
*/
|
|
605
|
-
startsWith: (propertyName: 'displayName', value: string) => LabelsQueryBuilder;
|
|
606
|
-
/** @documentationMaturity preview */
|
|
607
|
-
in: (propertyName: 'key' | 'displayName', value: any) => LabelsQueryBuilder;
|
|
608
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
609
|
-
* @documentationMaturity preview
|
|
610
|
-
*/
|
|
611
|
-
ascending: (...propertyNames: Array<'displayName' | '_createdDate' | '_updatedDate'>) => LabelsQueryBuilder;
|
|
612
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
613
|
-
* @documentationMaturity preview
|
|
614
|
-
*/
|
|
615
|
-
descending: (...propertyNames: Array<'displayName' | '_createdDate' | '_updatedDate'>) => LabelsQueryBuilder;
|
|
616
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
617
|
-
* @documentationMaturity preview
|
|
618
|
-
*/
|
|
619
|
-
limit: (limit: number) => LabelsQueryBuilder;
|
|
620
|
-
/** @param skip - Number of items to skip in the query results before returning the results.
|
|
621
|
-
* @documentationMaturity preview
|
|
622
|
-
*/
|
|
623
|
-
skip: (skip: number) => LabelsQueryBuilder;
|
|
624
|
-
/** @documentationMaturity preview */
|
|
625
|
-
find: () => Promise<LabelsQueryResult>;
|
|
626
|
-
}
|
|
627
|
-
export {};
|