@wix/auto_sdk_bookings_categories 1.0.2 → 1.0.4
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/bookings-v1-category-categories.public.d.ts +1 -0
- package/build/cjs/src/bookings-v1-category-categories.public.js.map +1 -1
- package/build/cjs/src/bookings-v1-category-categories.types.d.ts +58 -14
- package/build/cjs/src/bookings-v1-category-categories.types.js.map +1 -1
- package/build/cjs/src/bookings-v1-category-categories.universal.d.ts +73 -17
- package/build/cjs/src/bookings-v1-category-categories.universal.js +1 -0
- package/build/cjs/src/bookings-v1-category-categories.universal.js.map +1 -1
- package/build/es/src/bookings-v1-category-categories.public.d.ts +1 -0
- package/build/es/src/bookings-v1-category-categories.public.js.map +1 -1
- package/build/es/src/bookings-v1-category-categories.types.d.ts +58 -14
- package/build/es/src/bookings-v1-category-categories.types.js.map +1 -1
- package/build/es/src/bookings-v1-category-categories.universal.d.ts +73 -17
- package/build/es/src/bookings-v1-category-categories.universal.js +1 -0
- package/build/es/src/bookings-v1-category-categories.universal.js.map +1 -1
- package/build/internal/cjs/src/bookings-v1-category-categories.public.d.ts +1 -0
- package/build/internal/cjs/src/bookings-v1-category-categories.public.js.map +1 -1
- package/build/internal/cjs/src/bookings-v1-category-categories.types.d.ts +58 -14
- package/build/internal/cjs/src/bookings-v1-category-categories.types.js.map +1 -1
- package/build/internal/cjs/src/bookings-v1-category-categories.universal.d.ts +73 -17
- package/build/internal/cjs/src/bookings-v1-category-categories.universal.js +1 -0
- package/build/internal/cjs/src/bookings-v1-category-categories.universal.js.map +1 -1
- package/build/internal/es/src/bookings-v1-category-categories.public.d.ts +1 -0
- package/build/internal/es/src/bookings-v1-category-categories.public.js.map +1 -1
- package/build/internal/es/src/bookings-v1-category-categories.types.d.ts +58 -14
- package/build/internal/es/src/bookings-v1-category-categories.types.js.map +1 -1
- package/build/internal/es/src/bookings-v1-category-categories.universal.d.ts +73 -17
- package/build/internal/es/src/bookings-v1-category-categories.universal.js +1 -0
- package/build/internal/es/src/bookings-v1-category-categories.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -7,6 +7,7 @@ export declare function listCategories(httpClient: HttpClient): ListCategoriesSi
|
|
|
7
7
|
interface ListCategoriesSignature {
|
|
8
8
|
/**
|
|
9
9
|
* Retrieves all categories.
|
|
10
|
+
* @param - Options to use when listing categories.
|
|
10
11
|
*/
|
|
11
12
|
(options?: ListCategoriesOptions | undefined): Promise<ListCategoryResponse & ListCategoryResponseNonNullableFields>;
|
|
12
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v1-category-categories.public.js","sourceRoot":"","sources":["../../../src/bookings-v1-category-categories.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,8CAA6D;AAC7D,iHAgBwD;AAE3C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,OAA+B,EAAE,EAAE,CACzC,IAAA,6DAAuB,EACrB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wCASC;
|
|
1
|
+
{"version":3,"file":"bookings-v1-category-categories.public.js","sourceRoot":"","sources":["../../../src/bookings-v1-category-categories.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,8CAA6D;AAC7D,iHAgBwD;AAE3C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,OAA+B,EAAE,EAAE,CACzC,IAAA,6DAAuB,EACrB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wCASC;AAYD,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,QAAkB,EAAE,EAAE,CAC5B,IAAA,6DAAuB,EACrB,QAAQ;IACR,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wCASC;AAWD,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,GAAkB,EAAE,QAAwB,EAAE,EAAE,CACtD,IAAA,6DAAuB,EACrB,GAAG,EACH,QAAQ;IACR,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAVD,wCAUC;AAkBD,SAAgB,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,GAAkB,EAAE,OAA+B,EAAE,EAAE,CAC7D,IAAA,6DAAuB,EACrB,GAAG,EACH,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAVD,wCAUC;AAkBY,QAAA,sBAAsB,GAAG,IAAA,2BAAe,EACnD,4DAA4D,EAC5D,KAAK,EACL,CAAC,KAAmC,EAAE,EAAE,CACtC,IAAA,gEAAuC,EAAC,KAAK,CAAC,CACjD,EAAgC,CAAC;AAElC,+GAgCwD;AAdtD,qIAAA,KAAK,OAAA;AAQL,sIAAA,MAAM,OAAA;AAKN,mJAAA,mBAAmB,OAAA"}
|
|
@@ -2,10 +2,14 @@
|
|
|
2
2
|
export interface Category {
|
|
3
3
|
/**
|
|
4
4
|
* Category ID.
|
|
5
|
+
* @format GUID
|
|
5
6
|
* @readonly
|
|
6
7
|
*/
|
|
7
8
|
id?: string | null;
|
|
8
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Category name.
|
|
11
|
+
* @maxLength 500
|
|
12
|
+
*/
|
|
9
13
|
name?: string | null;
|
|
10
14
|
/**
|
|
11
15
|
* Category status.
|
|
@@ -28,6 +32,7 @@ export interface ListCategoryRequest {
|
|
|
28
32
|
* IDs of the categories to retrieve.
|
|
29
33
|
*
|
|
30
34
|
* Default: All categories are retrieved.
|
|
35
|
+
* @format GUID
|
|
31
36
|
*/
|
|
32
37
|
categoryIds?: string[];
|
|
33
38
|
/**
|
|
@@ -79,7 +84,10 @@ export interface UpdateCategoryResponse {
|
|
|
79
84
|
category?: Category;
|
|
80
85
|
}
|
|
81
86
|
export interface DeleteCategoryRequest {
|
|
82
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* ID of the category to delete.
|
|
89
|
+
* @format GUID
|
|
90
|
+
*/
|
|
83
91
|
id: string | null;
|
|
84
92
|
/**
|
|
85
93
|
* Whether to delete all the services associated with the category.
|
|
@@ -89,11 +97,17 @@ export interface DeleteCategoryRequest {
|
|
|
89
97
|
deleteServices?: boolean | null;
|
|
90
98
|
}
|
|
91
99
|
export interface DeleteCategoryResponse {
|
|
92
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* ID of the deleted category.
|
|
102
|
+
* @format GUID
|
|
103
|
+
*/
|
|
93
104
|
id?: string | null;
|
|
94
105
|
}
|
|
95
106
|
export interface BatchDeleteCategoryRequest {
|
|
96
|
-
/**
|
|
107
|
+
/**
|
|
108
|
+
* IDs of the categories to delete.
|
|
109
|
+
* @format GUID
|
|
110
|
+
*/
|
|
97
111
|
ids?: string[] | null;
|
|
98
112
|
}
|
|
99
113
|
export interface BatchDeleteCategoryResponse {
|
|
@@ -107,9 +121,15 @@ export interface BatchUpdateCategoryRequest {
|
|
|
107
121
|
export interface BatchUpdateCategoryResponse {
|
|
108
122
|
}
|
|
109
123
|
export interface MessageEnvelope {
|
|
110
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* App instance ID.
|
|
126
|
+
* @format GUID
|
|
127
|
+
*/
|
|
111
128
|
instanceId?: string | null;
|
|
112
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Event type.
|
|
131
|
+
* @maxLength 150
|
|
132
|
+
*/
|
|
113
133
|
eventType?: string;
|
|
114
134
|
/** The identification type and identity data. */
|
|
115
135
|
identity?: IdentificationData;
|
|
@@ -117,26 +137,50 @@ export interface MessageEnvelope {
|
|
|
117
137
|
data?: string;
|
|
118
138
|
}
|
|
119
139
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
120
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* ID of a site visitor that has not logged in to the site.
|
|
142
|
+
* @format GUID
|
|
143
|
+
*/
|
|
121
144
|
anonymousVisitorId?: string;
|
|
122
|
-
/**
|
|
145
|
+
/**
|
|
146
|
+
* ID of a site visitor that has logged in to the site.
|
|
147
|
+
* @format GUID
|
|
148
|
+
*/
|
|
123
149
|
memberId?: string;
|
|
124
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
152
|
+
* @format GUID
|
|
153
|
+
*/
|
|
125
154
|
wixUserId?: string;
|
|
126
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* ID of an app.
|
|
157
|
+
* @format GUID
|
|
158
|
+
*/
|
|
127
159
|
appId?: string;
|
|
128
160
|
/** @readonly */
|
|
129
161
|
identityType?: WebhookIdentityType;
|
|
130
162
|
}
|
|
131
163
|
/** @oneof */
|
|
132
164
|
export interface IdentificationDataIdOneOf {
|
|
133
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* ID of a site visitor that has not logged in to the site.
|
|
167
|
+
* @format GUID
|
|
168
|
+
*/
|
|
134
169
|
anonymousVisitorId?: string;
|
|
135
|
-
/**
|
|
170
|
+
/**
|
|
171
|
+
* ID of a site visitor that has logged in to the site.
|
|
172
|
+
* @format GUID
|
|
173
|
+
*/
|
|
136
174
|
memberId?: string;
|
|
137
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
177
|
+
* @format GUID
|
|
178
|
+
*/
|
|
138
179
|
wixUserId?: string;
|
|
139
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* ID of an app.
|
|
182
|
+
* @format GUID
|
|
183
|
+
*/
|
|
140
184
|
appId?: string;
|
|
141
185
|
}
|
|
142
186
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v1-category-categories.types.js","sourceRoot":"","sources":["../../../src/bookings-v1-category-categories.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"bookings-v1-category-categories.types.js","sourceRoot":"","sources":["../../../src/bookings-v1-category-categories.types.ts"],"names":[],"mappings":";;;AAwBA,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,gCAAgC;IAChC,6BAAmB,CAAA;IACnB,gCAAgC;IAChC,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;AA6BD,IAAY,KAOX;AAPD,WAAY,KAAK;IACf,4BAA4B;IAC5B,4BAAmB,CAAA;IACnB,4BAA4B;IAC5B,4BAAmB,CAAA;IACnB,4BAA4B;IAC5B,4BAAmB,CAAA;AACrB,CAAC,EAPW,KAAK,qBAAL,KAAK,QAOhB;AA2ID,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -2,10 +2,14 @@
|
|
|
2
2
|
export interface Category {
|
|
3
3
|
/**
|
|
4
4
|
* Category ID.
|
|
5
|
+
* @format GUID
|
|
5
6
|
* @readonly
|
|
6
7
|
*/
|
|
7
8
|
_id?: string | null;
|
|
8
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Category name.
|
|
11
|
+
* @maxLength 500
|
|
12
|
+
*/
|
|
9
13
|
name?: string | null;
|
|
10
14
|
}
|
|
11
15
|
export declare enum Status {
|
|
@@ -19,6 +23,7 @@ export interface ListCategoryRequest {
|
|
|
19
23
|
* IDs of the categories to retrieve.
|
|
20
24
|
*
|
|
21
25
|
* Default: All categories are retrieved.
|
|
26
|
+
* @format GUID
|
|
22
27
|
*/
|
|
23
28
|
categoryIds?: string[];
|
|
24
29
|
}
|
|
@@ -64,7 +69,10 @@ export interface UpdateCategoryResponse {
|
|
|
64
69
|
category?: Category;
|
|
65
70
|
}
|
|
66
71
|
export interface DeleteCategoryRequest {
|
|
67
|
-
/**
|
|
72
|
+
/**
|
|
73
|
+
* ID of the category to delete.
|
|
74
|
+
* @format GUID
|
|
75
|
+
*/
|
|
68
76
|
_id: string | null;
|
|
69
77
|
/**
|
|
70
78
|
* Whether to delete all the services associated with the category.
|
|
@@ -74,11 +82,17 @@ export interface DeleteCategoryRequest {
|
|
|
74
82
|
deleteServices?: boolean | null;
|
|
75
83
|
}
|
|
76
84
|
export interface DeleteCategoryResponse {
|
|
77
|
-
/**
|
|
85
|
+
/**
|
|
86
|
+
* ID of the deleted category.
|
|
87
|
+
* @format GUID
|
|
88
|
+
*/
|
|
78
89
|
_id?: string | null;
|
|
79
90
|
}
|
|
80
91
|
export interface BatchDeleteCategoryRequest {
|
|
81
|
-
/**
|
|
92
|
+
/**
|
|
93
|
+
* IDs of the categories to delete.
|
|
94
|
+
* @format GUID
|
|
95
|
+
*/
|
|
82
96
|
ids?: string[] | null;
|
|
83
97
|
}
|
|
84
98
|
export interface BatchDeleteCategoryResponse {
|
|
@@ -92,9 +106,15 @@ export interface BatchUpdateCategoryRequest {
|
|
|
92
106
|
export interface BatchUpdateCategoryResponse {
|
|
93
107
|
}
|
|
94
108
|
export interface MessageEnvelope {
|
|
95
|
-
/**
|
|
109
|
+
/**
|
|
110
|
+
* App instance ID.
|
|
111
|
+
* @format GUID
|
|
112
|
+
*/
|
|
96
113
|
instanceId?: string | null;
|
|
97
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* Event type.
|
|
116
|
+
* @maxLength 150
|
|
117
|
+
*/
|
|
98
118
|
eventType?: string;
|
|
99
119
|
/** The identification type and identity data. */
|
|
100
120
|
identity?: IdentificationData;
|
|
@@ -102,26 +122,50 @@ export interface MessageEnvelope {
|
|
|
102
122
|
data?: string;
|
|
103
123
|
}
|
|
104
124
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
105
|
-
/**
|
|
125
|
+
/**
|
|
126
|
+
* ID of a site visitor that has not logged in to the site.
|
|
127
|
+
* @format GUID
|
|
128
|
+
*/
|
|
106
129
|
anonymousVisitorId?: string;
|
|
107
|
-
/**
|
|
130
|
+
/**
|
|
131
|
+
* ID of a site visitor that has logged in to the site.
|
|
132
|
+
* @format GUID
|
|
133
|
+
*/
|
|
108
134
|
memberId?: string;
|
|
109
|
-
/**
|
|
135
|
+
/**
|
|
136
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
137
|
+
* @format GUID
|
|
138
|
+
*/
|
|
110
139
|
wixUserId?: string;
|
|
111
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* ID of an app.
|
|
142
|
+
* @format GUID
|
|
143
|
+
*/
|
|
112
144
|
appId?: string;
|
|
113
145
|
/** @readonly */
|
|
114
146
|
identityType?: WebhookIdentityType;
|
|
115
147
|
}
|
|
116
148
|
/** @oneof */
|
|
117
149
|
export interface IdentificationDataIdOneOf {
|
|
118
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* ID of a site visitor that has not logged in to the site.
|
|
152
|
+
* @format GUID
|
|
153
|
+
*/
|
|
119
154
|
anonymousVisitorId?: string;
|
|
120
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* ID of a site visitor that has logged in to the site.
|
|
157
|
+
* @format GUID
|
|
158
|
+
*/
|
|
121
159
|
memberId?: string;
|
|
122
|
-
/**
|
|
160
|
+
/**
|
|
161
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
162
|
+
* @format GUID
|
|
163
|
+
*/
|
|
123
164
|
wixUserId?: string;
|
|
124
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* ID of an app.
|
|
167
|
+
* @format GUID
|
|
168
|
+
*/
|
|
125
169
|
appId?: string;
|
|
126
170
|
}
|
|
127
171
|
export declare enum WebhookIdentityType {
|
|
@@ -144,9 +188,15 @@ export interface UpdateCategoryResponseNonNullableFields {
|
|
|
144
188
|
category?: CategoryNonNullableFields;
|
|
145
189
|
}
|
|
146
190
|
export interface BaseEventMetadata {
|
|
147
|
-
/**
|
|
191
|
+
/**
|
|
192
|
+
* App instance ID.
|
|
193
|
+
* @format GUID
|
|
194
|
+
*/
|
|
148
195
|
instanceId?: string | null;
|
|
149
|
-
/**
|
|
196
|
+
/**
|
|
197
|
+
* Event type.
|
|
198
|
+
* @maxLength 150
|
|
199
|
+
*/
|
|
150
200
|
eventType?: string;
|
|
151
201
|
/** The identification type and identity data. */
|
|
152
202
|
identity?: IdentificationData;
|
|
@@ -179,6 +229,7 @@ export declare function onCategoryNotification(handler: (event: CategoryNotifica
|
|
|
179
229
|
* Retrieves all categories.
|
|
180
230
|
* @public
|
|
181
231
|
* @documentationMaturity preview
|
|
232
|
+
* @param options - Options to use when listing categories.
|
|
182
233
|
* @permissionId BOOKINGS.CATEGORIES_READ
|
|
183
234
|
* @permissionScope Read Bookings - Public Data
|
|
184
235
|
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
@@ -202,6 +253,7 @@ export interface ListCategoriesOptions {
|
|
|
202
253
|
* IDs of the categories to retrieve.
|
|
203
254
|
*
|
|
204
255
|
* Default: All categories are retrieved.
|
|
256
|
+
* @format GUID
|
|
205
257
|
*/
|
|
206
258
|
categoryIds?: string[];
|
|
207
259
|
}
|
|
@@ -248,10 +300,14 @@ export declare function updateCategory(_id: string | null, category: UpdateCateg
|
|
|
248
300
|
export interface UpdateCategory {
|
|
249
301
|
/**
|
|
250
302
|
* Category ID.
|
|
303
|
+
* @format GUID
|
|
251
304
|
* @readonly
|
|
252
305
|
*/
|
|
253
306
|
_id?: string | null;
|
|
254
|
-
/**
|
|
307
|
+
/**
|
|
308
|
+
* Category name.
|
|
309
|
+
* @maxLength 500
|
|
310
|
+
*/
|
|
255
311
|
name?: string | null;
|
|
256
312
|
}
|
|
257
313
|
/**
|
|
@@ -55,6 +55,7 @@ var WebhookIdentityType;
|
|
|
55
55
|
* Retrieves all categories.
|
|
56
56
|
* @public
|
|
57
57
|
* @documentationMaturity preview
|
|
58
|
+
* @param options - Options to use when listing categories.
|
|
58
59
|
* @permissionId BOOKINGS.CATEGORIES_READ
|
|
59
60
|
* @permissionScope Read Bookings - Public Data
|
|
60
61
|
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v1-category-categories.universal.js","sourceRoot":"","sources":["../../../src/bookings-v1-category-categories.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,2GAA6F;
|
|
1
|
+
{"version":3,"file":"bookings-v1-category-categories.universal.js","sourceRoot":"","sources":["../../../src/bookings-v1-category-categories.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,2GAA6F;AA2B7F,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,gCAAgC;IAChC,6BAAmB,CAAA;IACnB,gCAAgC;IAChC,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,sBAAN,MAAM,QAKjB;AA2BD,IAAY,KAOX;AAPD,WAAY,KAAK;IACf,4BAA4B;IAC5B,4BAAmB,CAAA;IACnB,4BAA4B;IAC5B,4BAAmB,CAAA;IACnB,4BAA4B;IAC5B,4BAAmB,CAAA;AACrB,CAAC,EAPW,KAAK,qBAAL,KAAK,QAOhB;AA2ID,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AA6DD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACI,KAAK,UAAU,cAAc,CAClC,OAA+B;IAE/B,aAAa;IACb,MAAM,EAAE,U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,qBAAqB;aACtC;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,KAAK,EAAE,SAAS,CAAC,CACnB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAxCD,wCAwCC"}
|
|
@@ -7,6 +7,7 @@ export declare function listCategories(httpClient: HttpClient): ListCategoriesSi
|
|
|
7
7
|
interface ListCategoriesSignature {
|
|
8
8
|
/**
|
|
9
9
|
* Retrieves all categories.
|
|
10
|
+
* @param - Options to use when listing categories.
|
|
10
11
|
*/
|
|
11
12
|
(options?: ListCategoriesOptions | undefined): Promise<ListCategoryResponse & ListCategoryResponseNonNullableFields>;
|
|
12
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v1-category-categories.public.js","sourceRoot":"","sources":["../../../src/bookings-v1-category-categories.public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uCAAuC,EAAE,MAAM,yCAAyC,CAAC;AAClG,OAAO,EAAE,eAAe,EAAc,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAYL,cAAc,IAAI,uBAAuB,EACzC,cAAc,IAAI,uBAAuB,EACzC,cAAc,IAAI,uBAAuB,EACzC,cAAc,IAAI,uBAAuB,GAC1C,MAAM,gDAAgD,CAAC;AAExD,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,MAAM,UAAU,cAAc,CAC5B,UAAsB;IAEtB,OAAO,CAAC,OAA+B,EAAE,EAAE,CACzC,uBAAuB,CACrB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;
|
|
1
|
+
{"version":3,"file":"bookings-v1-category-categories.public.js","sourceRoot":"","sources":["../../../src/bookings-v1-category-categories.public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uCAAuC,EAAE,MAAM,yCAA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|
|
2
2
|
export interface Category {
|
|
3
3
|
/**
|
|
4
4
|
* Category ID.
|
|
5
|
+
* @format GUID
|
|
5
6
|
* @readonly
|
|
6
7
|
*/
|
|
7
8
|
id?: string | null;
|
|
8
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Category name.
|
|
11
|
+
* @maxLength 500
|
|
12
|
+
*/
|
|
9
13
|
name?: string | null;
|
|
10
14
|
/**
|
|
11
15
|
* Category status.
|
|
@@ -28,6 +32,7 @@ export interface ListCategoryRequest {
|
|
|
28
32
|
* IDs of the categories to retrieve.
|
|
29
33
|
*
|
|
30
34
|
* Default: All categories are retrieved.
|
|
35
|
+
* @format GUID
|
|
31
36
|
*/
|
|
32
37
|
categoryIds?: string[];
|
|
33
38
|
/**
|
|
@@ -79,7 +84,10 @@ export interface UpdateCategoryResponse {
|
|
|
79
84
|
category?: Category;
|
|
80
85
|
}
|
|
81
86
|
export interface DeleteCategoryRequest {
|
|
82
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* ID of the category to delete.
|
|
89
|
+
* @format GUID
|
|
90
|
+
*/
|
|
83
91
|
id: string | null;
|
|
84
92
|
/**
|
|
85
93
|
* Whether to delete all the services associated with the category.
|
|
@@ -89,11 +97,17 @@ export interface DeleteCategoryRequest {
|
|
|
89
97
|
deleteServices?: boolean | null;
|
|
90
98
|
}
|
|
91
99
|
export interface DeleteCategoryResponse {
|
|
92
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* ID of the deleted category.
|
|
102
|
+
* @format GUID
|
|
103
|
+
*/
|
|
93
104
|
id?: string | null;
|
|
94
105
|
}
|
|
95
106
|
export interface BatchDeleteCategoryRequest {
|
|
96
|
-
/**
|
|
107
|
+
/**
|
|
108
|
+
* IDs of the categories to delete.
|
|
109
|
+
* @format GUID
|
|
110
|
+
*/
|
|
97
111
|
ids?: string[] | null;
|
|
98
112
|
}
|
|
99
113
|
export interface BatchDeleteCategoryResponse {
|
|
@@ -107,9 +121,15 @@ export interface BatchUpdateCategoryRequest {
|
|
|
107
121
|
export interface BatchUpdateCategoryResponse {
|
|
108
122
|
}
|
|
109
123
|
export interface MessageEnvelope {
|
|
110
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* App instance ID.
|
|
126
|
+
* @format GUID
|
|
127
|
+
*/
|
|
111
128
|
instanceId?: string | null;
|
|
112
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Event type.
|
|
131
|
+
* @maxLength 150
|
|
132
|
+
*/
|
|
113
133
|
eventType?: string;
|
|
114
134
|
/** The identification type and identity data. */
|
|
115
135
|
identity?: IdentificationData;
|
|
@@ -117,26 +137,50 @@ export interface MessageEnvelope {
|
|
|
117
137
|
data?: string;
|
|
118
138
|
}
|
|
119
139
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
120
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* ID of a site visitor that has not logged in to the site.
|
|
142
|
+
* @format GUID
|
|
143
|
+
*/
|
|
121
144
|
anonymousVisitorId?: string;
|
|
122
|
-
/**
|
|
145
|
+
/**
|
|
146
|
+
* ID of a site visitor that has logged in to the site.
|
|
147
|
+
* @format GUID
|
|
148
|
+
*/
|
|
123
149
|
memberId?: string;
|
|
124
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
152
|
+
* @format GUID
|
|
153
|
+
*/
|
|
125
154
|
wixUserId?: string;
|
|
126
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* ID of an app.
|
|
157
|
+
* @format GUID
|
|
158
|
+
*/
|
|
127
159
|
appId?: string;
|
|
128
160
|
/** @readonly */
|
|
129
161
|
identityType?: WebhookIdentityType;
|
|
130
162
|
}
|
|
131
163
|
/** @oneof */
|
|
132
164
|
export interface IdentificationDataIdOneOf {
|
|
133
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* ID of a site visitor that has not logged in to the site.
|
|
167
|
+
* @format GUID
|
|
168
|
+
*/
|
|
134
169
|
anonymousVisitorId?: string;
|
|
135
|
-
/**
|
|
170
|
+
/**
|
|
171
|
+
* ID of a site visitor that has logged in to the site.
|
|
172
|
+
* @format GUID
|
|
173
|
+
*/
|
|
136
174
|
memberId?: string;
|
|
137
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
177
|
+
* @format GUID
|
|
178
|
+
*/
|
|
138
179
|
wixUserId?: string;
|
|
139
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* ID of an app.
|
|
182
|
+
* @format GUID
|
|
183
|
+
*/
|
|
140
184
|
appId?: string;
|
|
141
185
|
}
|
|
142
186
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v1-category-categories.types.js","sourceRoot":"","sources":["../../../src/bookings-v1-category-categories.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bookings-v1-category-categories.types.js","sourceRoot":"","sources":["../../../src/bookings-v1-category-categories.types.ts"],"names":[],"mappings":"AAwBA,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,gCAAgC;IAChC,6BAAmB,CAAA;IACnB,gCAAgC;IAChC,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AA6BD,MAAM,CAAN,IAAY,KAOX;AAPD,WAAY,KAAK;IACf,4BAA4B;IAC5B,4BAAmB,CAAA;IACnB,4BAA4B;IAC5B,4BAAmB,CAAA;IACnB,4BAA4B;IAC5B,4BAAmB,CAAA;AACrB,CAAC,EAPW,KAAK,KAAL,KAAK,QAOhB;AA2ID,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|