@wix/auto_sdk_faq_category 1.0.1 → 1.0.2
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/faq-category-v2-category-category.types.d.ts +72 -17
- package/build/cjs/src/faq-category-v2-category-category.types.js.map +1 -1
- package/build/cjs/src/faq-category-v2-category-category.universal.d.ts +86 -20
- package/build/cjs/src/faq-category-v2-category-category.universal.js.map +1 -1
- package/build/es/src/faq-category-v2-category-category.types.d.ts +72 -17
- package/build/es/src/faq-category-v2-category-category.types.js.map +1 -1
- package/build/es/src/faq-category-v2-category-category.universal.d.ts +86 -20
- package/build/es/src/faq-category-v2-category-category.universal.js.map +1 -1
- package/build/internal/cjs/src/faq-category-v2-category-category.types.d.ts +72 -17
- package/build/internal/cjs/src/faq-category-v2-category-category.types.js.map +1 -1
- package/build/internal/cjs/src/faq-category-v2-category-category.universal.d.ts +86 -20
- package/build/internal/cjs/src/faq-category-v2-category-category.universal.js.map +1 -1
- package/build/internal/es/src/faq-category-v2-category-category.types.d.ts +72 -17
- package/build/internal/es/src/faq-category-v2-category-category.types.js.map +1 -1
- package/build/internal/es/src/faq-category-v2-category-category.universal.d.ts +86 -20
- package/build/internal/es/src/faq-category-v2-category-category.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
export interface Category {
|
|
6
6
|
/**
|
|
7
7
|
* Category ID.
|
|
8
|
+
* @format GUID
|
|
8
9
|
* @readonly
|
|
9
10
|
*/
|
|
10
11
|
id?: string | null;
|
|
@@ -27,7 +28,11 @@ export interface Category {
|
|
|
27
28
|
* @readonly
|
|
28
29
|
*/
|
|
29
30
|
updatedDate?: Date | null;
|
|
30
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Category title.
|
|
33
|
+
* @maxLength 500
|
|
34
|
+
* @minLength 1
|
|
35
|
+
*/
|
|
31
36
|
title?: string | null;
|
|
32
37
|
/** Order of category within a site. */
|
|
33
38
|
sortOrder?: number | null;
|
|
@@ -54,7 +59,10 @@ export interface CreateCategoryResponse {
|
|
|
54
59
|
category?: Category;
|
|
55
60
|
}
|
|
56
61
|
export interface GetCategoryRequest {
|
|
57
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* ID of the Category to retrieve.
|
|
64
|
+
* @format GUID
|
|
65
|
+
*/
|
|
58
66
|
categoryId: string;
|
|
59
67
|
}
|
|
60
68
|
export interface GetCategoryResponse {
|
|
@@ -70,7 +78,10 @@ export interface UpdateCategoryResponse {
|
|
|
70
78
|
category?: Category;
|
|
71
79
|
}
|
|
72
80
|
export interface DeleteCategoryRequest {
|
|
73
|
-
/**
|
|
81
|
+
/**
|
|
82
|
+
* Id of the Category to delete.
|
|
83
|
+
* @format GUID
|
|
84
|
+
*/
|
|
74
85
|
categoryId: string;
|
|
75
86
|
}
|
|
76
87
|
export interface DeleteCategoryResponse {
|
|
@@ -80,13 +91,17 @@ export interface ListCategoriesRequest {
|
|
|
80
91
|
paging?: CursorPaging;
|
|
81
92
|
}
|
|
82
93
|
export interface CursorPaging {
|
|
83
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* Maximum number of items to return in the results.
|
|
96
|
+
* @max 100
|
|
97
|
+
*/
|
|
84
98
|
limit?: number | null;
|
|
85
99
|
/**
|
|
86
100
|
* Pointer to the next or previous page in the list of results.
|
|
87
101
|
*
|
|
88
102
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
89
103
|
* Not relevant for the first request.
|
|
104
|
+
* @maxLength 16000
|
|
90
105
|
*/
|
|
91
106
|
cursor?: string | null;
|
|
92
107
|
}
|
|
@@ -109,9 +124,15 @@ export interface PagingMetadataV2 {
|
|
|
109
124
|
cursors?: Cursors;
|
|
110
125
|
}
|
|
111
126
|
export interface Cursors {
|
|
112
|
-
/**
|
|
127
|
+
/**
|
|
128
|
+
* Cursor string pointing to the next page in the list of results.
|
|
129
|
+
* @maxLength 16000
|
|
130
|
+
*/
|
|
113
131
|
next?: string | null;
|
|
114
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* Cursor pointing to the previous page in the list of results.
|
|
134
|
+
* @maxLength 16000
|
|
135
|
+
*/
|
|
115
136
|
prev?: string | null;
|
|
116
137
|
}
|
|
117
138
|
export interface QueryCategoriesRequest {
|
|
@@ -135,6 +156,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
135
156
|
* Sort object.
|
|
136
157
|
*
|
|
137
158
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
159
|
+
* @maxSize 5
|
|
138
160
|
*/
|
|
139
161
|
sort?: Sorting[];
|
|
140
162
|
}
|
|
@@ -148,7 +170,10 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
148
170
|
cursorPaging?: CursorPaging;
|
|
149
171
|
}
|
|
150
172
|
export interface Sorting {
|
|
151
|
-
/**
|
|
173
|
+
/**
|
|
174
|
+
* Name of the field to sort by.
|
|
175
|
+
* @maxLength 512
|
|
176
|
+
*/
|
|
152
177
|
fieldName?: string;
|
|
153
178
|
/** Sort order. */
|
|
154
179
|
order?: SortOrder;
|
|
@@ -261,9 +286,15 @@ export interface ActionEvent {
|
|
|
261
286
|
bodyAsJson?: string;
|
|
262
287
|
}
|
|
263
288
|
export interface MessageEnvelope {
|
|
264
|
-
/**
|
|
289
|
+
/**
|
|
290
|
+
* App instance ID.
|
|
291
|
+
* @format GUID
|
|
292
|
+
*/
|
|
265
293
|
instanceId?: string | null;
|
|
266
|
-
/**
|
|
294
|
+
/**
|
|
295
|
+
* Event type.
|
|
296
|
+
* @maxLength 150
|
|
297
|
+
*/
|
|
267
298
|
eventType?: string;
|
|
268
299
|
/** The identification type and identity data. */
|
|
269
300
|
identity?: IdentificationData;
|
|
@@ -271,26 +302,50 @@ export interface MessageEnvelope {
|
|
|
271
302
|
data?: string;
|
|
272
303
|
}
|
|
273
304
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
274
|
-
/**
|
|
305
|
+
/**
|
|
306
|
+
* ID of a site visitor that has not logged in to the site.
|
|
307
|
+
* @format GUID
|
|
308
|
+
*/
|
|
275
309
|
anonymousVisitorId?: string;
|
|
276
|
-
/**
|
|
310
|
+
/**
|
|
311
|
+
* ID of a site visitor that has logged in to the site.
|
|
312
|
+
* @format GUID
|
|
313
|
+
*/
|
|
277
314
|
memberId?: string;
|
|
278
|
-
/**
|
|
315
|
+
/**
|
|
316
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
317
|
+
* @format GUID
|
|
318
|
+
*/
|
|
279
319
|
wixUserId?: string;
|
|
280
|
-
/**
|
|
320
|
+
/**
|
|
321
|
+
* ID of an app.
|
|
322
|
+
* @format GUID
|
|
323
|
+
*/
|
|
281
324
|
appId?: string;
|
|
282
325
|
/** @readonly */
|
|
283
326
|
identityType?: WebhookIdentityType;
|
|
284
327
|
}
|
|
285
328
|
/** @oneof */
|
|
286
329
|
export interface IdentificationDataIdOneOf {
|
|
287
|
-
/**
|
|
330
|
+
/**
|
|
331
|
+
* ID of a site visitor that has not logged in to the site.
|
|
332
|
+
* @format GUID
|
|
333
|
+
*/
|
|
288
334
|
anonymousVisitorId?: string;
|
|
289
|
-
/**
|
|
335
|
+
/**
|
|
336
|
+
* ID of a site visitor that has logged in to the site.
|
|
337
|
+
* @format GUID
|
|
338
|
+
*/
|
|
290
339
|
memberId?: string;
|
|
291
|
-
/**
|
|
340
|
+
/**
|
|
341
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
342
|
+
* @format GUID
|
|
343
|
+
*/
|
|
292
344
|
wixUserId?: string;
|
|
293
|
-
/**
|
|
345
|
+
/**
|
|
346
|
+
* ID of an app.
|
|
347
|
+
* @format GUID
|
|
348
|
+
*/
|
|
294
349
|
appId?: string;
|
|
295
350
|
}
|
|
296
351
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"faq-category-v2-category-category.types.js","sourceRoot":"","sources":["../../../src/faq-category-v2-category-category.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"faq-category-v2-category-category.types.js","sourceRoot":"","sources":["../../../src/faq-category-v2-category-category.types.ts"],"names":[],"mappings":";;;AAsMA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAsLD,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"}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
export interface Category {
|
|
6
6
|
/**
|
|
7
7
|
* Category ID.
|
|
8
|
+
* @format GUID
|
|
8
9
|
* @readonly
|
|
9
10
|
*/
|
|
10
11
|
_id?: string | null;
|
|
@@ -27,7 +28,11 @@ export interface Category {
|
|
|
27
28
|
* @readonly
|
|
28
29
|
*/
|
|
29
30
|
_updatedDate?: Date | null;
|
|
30
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Category title.
|
|
33
|
+
* @maxLength 500
|
|
34
|
+
* @minLength 1
|
|
35
|
+
*/
|
|
31
36
|
title?: string | null;
|
|
32
37
|
/** Order of category within a site. */
|
|
33
38
|
sortOrder?: number | null;
|
|
@@ -54,7 +59,10 @@ export interface CreateCategoryResponse {
|
|
|
54
59
|
category?: Category;
|
|
55
60
|
}
|
|
56
61
|
export interface GetCategoryRequest {
|
|
57
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* ID of the Category to retrieve.
|
|
64
|
+
* @format GUID
|
|
65
|
+
*/
|
|
58
66
|
categoryId: string;
|
|
59
67
|
}
|
|
60
68
|
export interface GetCategoryResponse {
|
|
@@ -70,7 +78,10 @@ export interface UpdateCategoryResponse {
|
|
|
70
78
|
category?: Category;
|
|
71
79
|
}
|
|
72
80
|
export interface DeleteCategoryRequest {
|
|
73
|
-
/**
|
|
81
|
+
/**
|
|
82
|
+
* Id of the Category to delete.
|
|
83
|
+
* @format GUID
|
|
84
|
+
*/
|
|
74
85
|
categoryId: string;
|
|
75
86
|
}
|
|
76
87
|
export interface DeleteCategoryResponse {
|
|
@@ -80,13 +91,17 @@ export interface ListCategoriesRequest {
|
|
|
80
91
|
paging?: CursorPaging;
|
|
81
92
|
}
|
|
82
93
|
export interface CursorPaging {
|
|
83
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* Maximum number of items to return in the results.
|
|
96
|
+
* @max 100
|
|
97
|
+
*/
|
|
84
98
|
limit?: number | null;
|
|
85
99
|
/**
|
|
86
100
|
* Pointer to the next or previous page in the list of results.
|
|
87
101
|
*
|
|
88
102
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
89
103
|
* Not relevant for the first request.
|
|
104
|
+
* @maxLength 16000
|
|
90
105
|
*/
|
|
91
106
|
cursor?: string | null;
|
|
92
107
|
}
|
|
@@ -109,9 +124,15 @@ export interface PagingMetadataV2 {
|
|
|
109
124
|
cursors?: Cursors;
|
|
110
125
|
}
|
|
111
126
|
export interface Cursors {
|
|
112
|
-
/**
|
|
127
|
+
/**
|
|
128
|
+
* Cursor string pointing to the next page in the list of results.
|
|
129
|
+
* @maxLength 16000
|
|
130
|
+
*/
|
|
113
131
|
next?: string | null;
|
|
114
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* Cursor pointing to the previous page in the list of results.
|
|
134
|
+
* @maxLength 16000
|
|
135
|
+
*/
|
|
115
136
|
prev?: string | null;
|
|
116
137
|
}
|
|
117
138
|
export interface QueryCategoriesRequest {
|
|
@@ -135,6 +156,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
135
156
|
* Sort object.
|
|
136
157
|
*
|
|
137
158
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
159
|
+
* @maxSize 5
|
|
138
160
|
*/
|
|
139
161
|
sort?: Sorting[];
|
|
140
162
|
}
|
|
@@ -148,7 +170,10 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
148
170
|
cursorPaging?: CursorPaging;
|
|
149
171
|
}
|
|
150
172
|
export interface Sorting {
|
|
151
|
-
/**
|
|
173
|
+
/**
|
|
174
|
+
* Name of the field to sort by.
|
|
175
|
+
* @maxLength 512
|
|
176
|
+
*/
|
|
152
177
|
fieldName?: string;
|
|
153
178
|
/** Sort order. */
|
|
154
179
|
order?: SortOrder;
|
|
@@ -259,9 +284,15 @@ export interface ActionEvent {
|
|
|
259
284
|
body?: string;
|
|
260
285
|
}
|
|
261
286
|
export interface MessageEnvelope {
|
|
262
|
-
/**
|
|
287
|
+
/**
|
|
288
|
+
* App instance ID.
|
|
289
|
+
* @format GUID
|
|
290
|
+
*/
|
|
263
291
|
instanceId?: string | null;
|
|
264
|
-
/**
|
|
292
|
+
/**
|
|
293
|
+
* Event type.
|
|
294
|
+
* @maxLength 150
|
|
295
|
+
*/
|
|
265
296
|
eventType?: string;
|
|
266
297
|
/** The identification type and identity data. */
|
|
267
298
|
identity?: IdentificationData;
|
|
@@ -269,26 +300,50 @@ export interface MessageEnvelope {
|
|
|
269
300
|
data?: string;
|
|
270
301
|
}
|
|
271
302
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
272
|
-
/**
|
|
303
|
+
/**
|
|
304
|
+
* ID of a site visitor that has not logged in to the site.
|
|
305
|
+
* @format GUID
|
|
306
|
+
*/
|
|
273
307
|
anonymousVisitorId?: string;
|
|
274
|
-
/**
|
|
308
|
+
/**
|
|
309
|
+
* ID of a site visitor that has logged in to the site.
|
|
310
|
+
* @format GUID
|
|
311
|
+
*/
|
|
275
312
|
memberId?: string;
|
|
276
|
-
/**
|
|
313
|
+
/**
|
|
314
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
315
|
+
* @format GUID
|
|
316
|
+
*/
|
|
277
317
|
wixUserId?: string;
|
|
278
|
-
/**
|
|
318
|
+
/**
|
|
319
|
+
* ID of an app.
|
|
320
|
+
* @format GUID
|
|
321
|
+
*/
|
|
279
322
|
appId?: string;
|
|
280
323
|
/** @readonly */
|
|
281
324
|
identityType?: WebhookIdentityType;
|
|
282
325
|
}
|
|
283
326
|
/** @oneof */
|
|
284
327
|
export interface IdentificationDataIdOneOf {
|
|
285
|
-
/**
|
|
328
|
+
/**
|
|
329
|
+
* ID of a site visitor that has not logged in to the site.
|
|
330
|
+
* @format GUID
|
|
331
|
+
*/
|
|
286
332
|
anonymousVisitorId?: string;
|
|
287
|
-
/**
|
|
333
|
+
/**
|
|
334
|
+
* ID of a site visitor that has logged in to the site.
|
|
335
|
+
* @format GUID
|
|
336
|
+
*/
|
|
288
337
|
memberId?: string;
|
|
289
|
-
/**
|
|
338
|
+
/**
|
|
339
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
340
|
+
* @format GUID
|
|
341
|
+
*/
|
|
290
342
|
wixUserId?: string;
|
|
291
|
-
/**
|
|
343
|
+
/**
|
|
344
|
+
* ID of an app.
|
|
345
|
+
* @format GUID
|
|
346
|
+
*/
|
|
292
347
|
appId?: string;
|
|
293
348
|
}
|
|
294
349
|
export declare enum WebhookIdentityType {
|
|
@@ -299,9 +354,15 @@ export declare enum WebhookIdentityType {
|
|
|
299
354
|
APP = "APP"
|
|
300
355
|
}
|
|
301
356
|
export interface BaseEventMetadata {
|
|
302
|
-
/**
|
|
357
|
+
/**
|
|
358
|
+
* App instance ID.
|
|
359
|
+
* @format GUID
|
|
360
|
+
*/
|
|
303
361
|
instanceId?: string | null;
|
|
304
|
-
/**
|
|
362
|
+
/**
|
|
363
|
+
* Event type.
|
|
364
|
+
* @maxLength 150
|
|
365
|
+
*/
|
|
305
366
|
eventType?: string;
|
|
306
367
|
/** The identification type and identity data. */
|
|
307
368
|
identity?: IdentificationData;
|
|
@@ -440,6 +501,7 @@ export declare function updateCategory(_id: string | null, category: UpdateCateg
|
|
|
440
501
|
export interface UpdateCategory {
|
|
441
502
|
/**
|
|
442
503
|
* Category ID.
|
|
504
|
+
* @format GUID
|
|
443
505
|
* @readonly
|
|
444
506
|
*/
|
|
445
507
|
_id?: string | null;
|
|
@@ -462,7 +524,11 @@ export interface UpdateCategory {
|
|
|
462
524
|
* @readonly
|
|
463
525
|
*/
|
|
464
526
|
_updatedDate?: Date | null;
|
|
465
|
-
/**
|
|
527
|
+
/**
|
|
528
|
+
* Category title.
|
|
529
|
+
* @maxLength 500
|
|
530
|
+
* @minLength 1
|
|
531
|
+
*/
|
|
466
532
|
title?: string | null;
|
|
467
533
|
/** Order of category within a site. */
|
|
468
534
|
sortOrder?: number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"faq-category-v2-category-category.universal.js","sourceRoot":"","sources":["../../../src/faq-category-v2-category-category.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,gHAAkG;
|
|
1
|
+
{"version":3,"file":"faq-category-v2-category-category.universal.js","sourceRoot":"","sources":["../../../src/faq-category-v2-category-category.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,gHAAkG;AAyMlG,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAoLD,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;AAgHD;;;;;;;;;;;;GAYG;AACI,KAAK,UAAU,c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|
*/
|
|
10
11
|
id?: string | null;
|
|
@@ -27,7 +28,11 @@ export interface Category {
|
|
|
27
28
|
* @readonly
|
|
28
29
|
*/
|
|
29
30
|
updatedDate?: Date | null;
|
|
30
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Category title.
|
|
33
|
+
* @maxLength 500
|
|
34
|
+
* @minLength 1
|
|
35
|
+
*/
|
|
31
36
|
title?: string | null;
|
|
32
37
|
/** Order of category within a site. */
|
|
33
38
|
sortOrder?: number | null;
|
|
@@ -54,7 +59,10 @@ export interface CreateCategoryResponse {
|
|
|
54
59
|
category?: Category;
|
|
55
60
|
}
|
|
56
61
|
export interface GetCategoryRequest {
|
|
57
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* ID of the Category to retrieve.
|
|
64
|
+
* @format GUID
|
|
65
|
+
*/
|
|
58
66
|
categoryId: string;
|
|
59
67
|
}
|
|
60
68
|
export interface GetCategoryResponse {
|
|
@@ -70,7 +78,10 @@ export interface UpdateCategoryResponse {
|
|
|
70
78
|
category?: Category;
|
|
71
79
|
}
|
|
72
80
|
export interface DeleteCategoryRequest {
|
|
73
|
-
/**
|
|
81
|
+
/**
|
|
82
|
+
* Id of the Category to delete.
|
|
83
|
+
* @format GUID
|
|
84
|
+
*/
|
|
74
85
|
categoryId: string;
|
|
75
86
|
}
|
|
76
87
|
export interface DeleteCategoryResponse {
|
|
@@ -80,13 +91,17 @@ export interface ListCategoriesRequest {
|
|
|
80
91
|
paging?: CursorPaging;
|
|
81
92
|
}
|
|
82
93
|
export interface CursorPaging {
|
|
83
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* Maximum number of items to return in the results.
|
|
96
|
+
* @max 100
|
|
97
|
+
*/
|
|
84
98
|
limit?: number | null;
|
|
85
99
|
/**
|
|
86
100
|
* Pointer to the next or previous page in the list of results.
|
|
87
101
|
*
|
|
88
102
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
89
103
|
* Not relevant for the first request.
|
|
104
|
+
* @maxLength 16000
|
|
90
105
|
*/
|
|
91
106
|
cursor?: string | null;
|
|
92
107
|
}
|
|
@@ -109,9 +124,15 @@ export interface PagingMetadataV2 {
|
|
|
109
124
|
cursors?: Cursors;
|
|
110
125
|
}
|
|
111
126
|
export interface Cursors {
|
|
112
|
-
/**
|
|
127
|
+
/**
|
|
128
|
+
* Cursor string pointing to the next page in the list of results.
|
|
129
|
+
* @maxLength 16000
|
|
130
|
+
*/
|
|
113
131
|
next?: string | null;
|
|
114
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* Cursor pointing to the previous page in the list of results.
|
|
134
|
+
* @maxLength 16000
|
|
135
|
+
*/
|
|
115
136
|
prev?: string | null;
|
|
116
137
|
}
|
|
117
138
|
export interface QueryCategoriesRequest {
|
|
@@ -135,6 +156,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
135
156
|
* Sort object.
|
|
136
157
|
*
|
|
137
158
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
159
|
+
* @maxSize 5
|
|
138
160
|
*/
|
|
139
161
|
sort?: Sorting[];
|
|
140
162
|
}
|
|
@@ -148,7 +170,10 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
148
170
|
cursorPaging?: CursorPaging;
|
|
149
171
|
}
|
|
150
172
|
export interface Sorting {
|
|
151
|
-
/**
|
|
173
|
+
/**
|
|
174
|
+
* Name of the field to sort by.
|
|
175
|
+
* @maxLength 512
|
|
176
|
+
*/
|
|
152
177
|
fieldName?: string;
|
|
153
178
|
/** Sort order. */
|
|
154
179
|
order?: SortOrder;
|
|
@@ -261,9 +286,15 @@ export interface ActionEvent {
|
|
|
261
286
|
bodyAsJson?: string;
|
|
262
287
|
}
|
|
263
288
|
export interface MessageEnvelope {
|
|
264
|
-
/**
|
|
289
|
+
/**
|
|
290
|
+
* App instance ID.
|
|
291
|
+
* @format GUID
|
|
292
|
+
*/
|
|
265
293
|
instanceId?: string | null;
|
|
266
|
-
/**
|
|
294
|
+
/**
|
|
295
|
+
* Event type.
|
|
296
|
+
* @maxLength 150
|
|
297
|
+
*/
|
|
267
298
|
eventType?: string;
|
|
268
299
|
/** The identification type and identity data. */
|
|
269
300
|
identity?: IdentificationData;
|
|
@@ -271,26 +302,50 @@ export interface MessageEnvelope {
|
|
|
271
302
|
data?: string;
|
|
272
303
|
}
|
|
273
304
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
274
|
-
/**
|
|
305
|
+
/**
|
|
306
|
+
* ID of a site visitor that has not logged in to the site.
|
|
307
|
+
* @format GUID
|
|
308
|
+
*/
|
|
275
309
|
anonymousVisitorId?: string;
|
|
276
|
-
/**
|
|
310
|
+
/**
|
|
311
|
+
* ID of a site visitor that has logged in to the site.
|
|
312
|
+
* @format GUID
|
|
313
|
+
*/
|
|
277
314
|
memberId?: string;
|
|
278
|
-
/**
|
|
315
|
+
/**
|
|
316
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
317
|
+
* @format GUID
|
|
318
|
+
*/
|
|
279
319
|
wixUserId?: string;
|
|
280
|
-
/**
|
|
320
|
+
/**
|
|
321
|
+
* ID of an app.
|
|
322
|
+
* @format GUID
|
|
323
|
+
*/
|
|
281
324
|
appId?: string;
|
|
282
325
|
/** @readonly */
|
|
283
326
|
identityType?: WebhookIdentityType;
|
|
284
327
|
}
|
|
285
328
|
/** @oneof */
|
|
286
329
|
export interface IdentificationDataIdOneOf {
|
|
287
|
-
/**
|
|
330
|
+
/**
|
|
331
|
+
* ID of a site visitor that has not logged in to the site.
|
|
332
|
+
* @format GUID
|
|
333
|
+
*/
|
|
288
334
|
anonymousVisitorId?: string;
|
|
289
|
-
/**
|
|
335
|
+
/**
|
|
336
|
+
* ID of a site visitor that has logged in to the site.
|
|
337
|
+
* @format GUID
|
|
338
|
+
*/
|
|
290
339
|
memberId?: string;
|
|
291
|
-
/**
|
|
340
|
+
/**
|
|
341
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
342
|
+
* @format GUID
|
|
343
|
+
*/
|
|
292
344
|
wixUserId?: string;
|
|
293
|
-
/**
|
|
345
|
+
/**
|
|
346
|
+
* ID of an app.
|
|
347
|
+
* @format GUID
|
|
348
|
+
*/
|
|
294
349
|
appId?: string;
|
|
295
350
|
}
|
|
296
351
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"faq-category-v2-category-category.types.js","sourceRoot":"","sources":["../../../src/faq-category-v2-category-category.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"faq-category-v2-category-category.types.js","sourceRoot":"","sources":["../../../src/faq-category-v2-category-category.types.ts"],"names":[],"mappings":"AAsMA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAsLD,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"}
|