@wix/crm 1.0.0 → 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.
Files changed (79) hide show
  1. package/build/cjs/index.d.ts +4 -1
  2. package/build/cjs/index.js +5 -2
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/src/contacts-v4-contact.http.d.ts +192 -0
  5. package/build/cjs/src/contacts-v4-contact.http.js +522 -0
  6. package/build/cjs/src/contacts-v4-contact.http.js.map +1 -0
  7. package/build/cjs/src/contacts-v4-contact.public.d.ts +14 -0
  8. package/build/cjs/src/contacts-v4-contact.public.js +64 -0
  9. package/build/cjs/src/contacts-v4-contact.public.js.map +1 -0
  10. package/build/cjs/src/contacts-v4-contact.types.d.ts +1310 -0
  11. package/build/cjs/src/contacts-v4-contact.types.js +202 -0
  12. package/build/cjs/src/contacts-v4-contact.types.js.map +1 -0
  13. package/build/cjs/src/contacts-v4-contact.universal.d.ts +1663 -0
  14. package/build/cjs/src/contacts-v4-contact.universal.js +903 -0
  15. package/build/cjs/src/contacts-v4-contact.universal.js.map +1 -0
  16. package/build/cjs/src/contacts-v4-extended-field.http.d.ts +31 -0
  17. package/build/cjs/src/contacts-v4-extended-field.http.js +215 -0
  18. package/build/cjs/src/contacts-v4-extended-field.http.js.map +1 -0
  19. package/build/cjs/src/contacts-v4-extended-field.public.d.ts +12 -0
  20. package/build/cjs/src/contacts-v4-extended-field.public.js +40 -0
  21. package/build/cjs/src/contacts-v4-extended-field.public.js.map +1 -0
  22. package/build/cjs/src/contacts-v4-extended-field.types.d.ts +257 -0
  23. package/build/cjs/src/contacts-v4-extended-field.types.js +23 -0
  24. package/build/cjs/src/contacts-v4-extended-field.types.js.map +1 -0
  25. package/build/cjs/src/contacts-v4-extended-field.universal.d.ts +476 -0
  26. package/build/cjs/src/contacts-v4-extended-field.universal.js +393 -0
  27. package/build/cjs/src/contacts-v4-extended-field.universal.js.map +1 -0
  28. package/build/cjs/src/contacts-v4-label.http.d.ts +31 -0
  29. package/build/cjs/src/contacts-v4-label.http.js +191 -0
  30. package/build/cjs/src/contacts-v4-label.http.js.map +1 -0
  31. package/build/cjs/src/contacts-v4-label.public.d.ts +11 -0
  32. package/build/cjs/src/contacts-v4-label.public.js +33 -0
  33. package/build/cjs/src/contacts-v4-label.public.js.map +1 -0
  34. package/build/cjs/src/contacts-v4-label.types.d.ts +253 -0
  35. package/build/cjs/src/contacts-v4-label.types.js +17 -0
  36. package/build/cjs/src/contacts-v4-label.types.js.map +1 -0
  37. package/build/cjs/src/contacts-v4-label.universal.d.ts +442 -0
  38. package/build/cjs/src/contacts-v4-label.universal.js +326 -0
  39. package/build/cjs/src/contacts-v4-label.universal.js.map +1 -0
  40. package/build/es/index.d.ts +4 -1
  41. package/build/es/index.js +4 -1
  42. package/build/es/index.js.map +1 -1
  43. package/build/es/src/contacts-v4-contact.http.d.ts +192 -0
  44. package/build/es/src/contacts-v4-contact.http.js +512 -0
  45. package/build/es/src/contacts-v4-contact.http.js.map +1 -0
  46. package/build/es/src/contacts-v4-contact.public.d.ts +14 -0
  47. package/build/es/src/contacts-v4-contact.public.js +39 -0
  48. package/build/es/src/contacts-v4-contact.public.js.map +1 -0
  49. package/build/es/src/contacts-v4-contact.types.d.ts +1310 -0
  50. package/build/es/src/contacts-v4-contact.types.js +199 -0
  51. package/build/es/src/contacts-v4-contact.types.js.map +1 -0
  52. package/build/es/src/contacts-v4-contact.universal.d.ts +1663 -0
  53. package/build/es/src/contacts-v4-contact.universal.js +874 -0
  54. package/build/es/src/contacts-v4-contact.universal.js.map +1 -0
  55. package/build/es/src/contacts-v4-extended-field.http.d.ts +31 -0
  56. package/build/es/src/contacts-v4-extended-field.http.js +207 -0
  57. package/build/es/src/contacts-v4-extended-field.http.js.map +1 -0
  58. package/build/es/src/contacts-v4-extended-field.public.d.ts +12 -0
  59. package/build/es/src/contacts-v4-extended-field.public.js +29 -0
  60. package/build/es/src/contacts-v4-extended-field.public.js.map +1 -0
  61. package/build/es/src/contacts-v4-extended-field.types.d.ts +257 -0
  62. package/build/es/src/contacts-v4-extended-field.types.js +20 -0
  63. package/build/es/src/contacts-v4-extended-field.types.js.map +1 -0
  64. package/build/es/src/contacts-v4-extended-field.universal.d.ts +476 -0
  65. package/build/es/src/contacts-v4-extended-field.universal.js +366 -0
  66. package/build/es/src/contacts-v4-extended-field.universal.js.map +1 -0
  67. package/build/es/src/contacts-v4-label.http.d.ts +31 -0
  68. package/build/es/src/contacts-v4-label.http.js +184 -0
  69. package/build/es/src/contacts-v4-label.http.js.map +1 -0
  70. package/build/es/src/contacts-v4-label.public.d.ts +11 -0
  71. package/build/es/src/contacts-v4-label.public.js +24 -0
  72. package/build/es/src/contacts-v4-label.public.js.map +1 -0
  73. package/build/es/src/contacts-v4-label.types.d.ts +253 -0
  74. package/build/es/src/contacts-v4-label.types.js +14 -0
  75. package/build/es/src/contacts-v4-label.types.js.map +1 -0
  76. package/build/es/src/contacts-v4-label.universal.d.ts +442 -0
  77. package/build/es/src/contacts-v4-label.universal.js +300 -0
  78. package/build/es/src/contacts-v4-label.universal.js.map +1 -0
  79. package/package.json +2 -2
@@ -0,0 +1,476 @@
1
+ export declare const __debug: {
2
+ verboseLogging: {
3
+ on: () => boolean;
4
+ off: () => boolean;
5
+ };
6
+ };
7
+ /** Extended field that was found or created. */
8
+ export interface ExtendedField {
9
+ /**
10
+ * Extended field namespace.
11
+ *
12
+ * Extended fields created by site contributors or 3rd-party apps
13
+ * are automatically assigned to the `custom` namespace.
14
+ * @readonly
15
+ */
16
+ namespace?: string | null;
17
+ /**
18
+ * Extended field key.
19
+ *
20
+ * When accessing contact data,
21
+ * extended field data is available at `extendedFields[key]`.
22
+ * For example, if the key is "custom.notes",
23
+ * the value can be accessed at `extendedFields["custom.notes"]`.
24
+ *
25
+ * `key` is generated when the extended field is created
26
+ * and cannot be modified, even if `displayName` changes.
27
+ * @readonly
28
+ */
29
+ key?: string;
30
+ /** Display name shown in the Contact List. */
31
+ displayName?: string;
32
+ /**
33
+ * Type of data the field holds.
34
+ *
35
+ * - `TEXT`: Accepts strings.
36
+ * - `NUMBER`: Accepts floats.
37
+ * - `DATE`: Accepts dates formatted as `YYYY-MM-DD`.
38
+ * - `URL`: Accepts strings. Prepends `https://` if no protocol is included.
39
+ * @readonly
40
+ */
41
+ dataType?: FieldDataType;
42
+ /**
43
+ * Indicates whether the extended field is a system field or custom field.
44
+ *
45
+ * - `SYSTEM`: The field is a system field managed by Wix. System fields cannot be modified by 3rd-party apps or site contributors.
46
+ * - `USER_DEFINED`: The field is a custom field and can be modified by 3rd-party apps or site contributors.
47
+ * @readonly
48
+ */
49
+ fieldType?: FieldType;
50
+ /**
51
+ * Date and time the field was created.
52
+ * @readonly
53
+ */
54
+ _createdDate?: Date;
55
+ /**
56
+ * Date and time the field was last updated.
57
+ * @readonly
58
+ */
59
+ _updatedDate?: Date;
60
+ /**
61
+ * Field description, if the field is a system field.
62
+ * @readonly
63
+ */
64
+ description?: string | null;
65
+ }
66
+ export declare enum FieldDataType {
67
+ UNKNOWN_DATA_TYPE = "UNKNOWN_DATA_TYPE",
68
+ TEXT = "TEXT",
69
+ NUMBER = "NUMBER",
70
+ DATE = "DATE",
71
+ URL = "URL"
72
+ }
73
+ export declare enum FieldType {
74
+ UNKNOWN = "UNKNOWN",
75
+ SYSTEM = "SYSTEM",
76
+ USER_DEFINED = "USER_DEFINED"
77
+ }
78
+ /** Extended field filter options. */
79
+ export interface ListExtendedFieldsRequest {
80
+ /** Filter for fields of the specified type. */
81
+ fieldType?: FieldType;
82
+ /**
83
+ * Filter for fields in the specified namespace.
84
+ * Fields created by site contributors or 3rd-party apps
85
+ * are automatically assigned to the `custom` namespace.
86
+ */
87
+ namespace?: string | null;
88
+ /** Filter for fields where `displayName` starts with the specified case-sensitive string. */
89
+ startsWith?: string | null;
90
+ /** Sorting options. */
91
+ sort?: Sorting;
92
+ /** Paging options. */
93
+ paging?: Paging;
94
+ }
95
+ export interface Sorting {
96
+ /** Name of the field to sort by. */
97
+ fieldName?: string;
98
+ /**
99
+ * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
100
+ *
101
+ * Defaults to `ASC`.
102
+ */
103
+ order?: SortOrder;
104
+ }
105
+ export declare enum SortOrder {
106
+ ASC = "ASC",
107
+ DESC = "DESC"
108
+ }
109
+ export interface Paging {
110
+ /**
111
+ * Number of items to return.
112
+ *
113
+ * Defaults to `100`.
114
+ */
115
+ limit?: number | null;
116
+ /**
117
+ * Number of items to skip in the current sort order.
118
+ *
119
+ * Defaults to `0`.
120
+ */
121
+ offset?: number | null;
122
+ }
123
+ /** List of extended fields. */
124
+ export interface ListExtendedFieldsResponse {
125
+ /** List of extended fields. */
126
+ fields?: ExtendedField[];
127
+ /** Metadata for the page of results. */
128
+ metadata?: PagingMetadata;
129
+ }
130
+ export interface PagingMetadata {
131
+ /** Number of items returned. */
132
+ count?: number | null;
133
+ /** Requested offset. */
134
+ offset?: number | null;
135
+ /** Number of items that matched the query. */
136
+ total?: number | null;
137
+ /**
138
+ * Indicates if `total` calculation timed out before the response was sent.
139
+ * Typically this happens if there is a large set of results.
140
+ */
141
+ tooManyToCount?: boolean | null;
142
+ }
143
+ /** Custom field to find or create. */
144
+ export interface FindOrCreateExtendedFieldRequest {
145
+ /**
146
+ * Display name to find or create.
147
+ *
148
+ * If an existing custom field is an exact match
149
+ * for the specified `displayName`,
150
+ * the existing field is returned.
151
+ * If not, a new field is created and returned.
152
+ */
153
+ displayName: string;
154
+ /**
155
+ * Type of data the field holds.
156
+ * Ignored if an existing field is an exact match
157
+ * for the specified display name.
158
+ *
159
+ * - `TEXT`: Accepts strings.
160
+ * - `NUMBER`: Accepts floats.
161
+ * - `DATE`: Accepts dates formatted as `YYYY-MM-DD`.
162
+ * - `URL`: Accepts strings. Prepends `https://` if no protocol is included.
163
+ */
164
+ dataType?: FieldDataType;
165
+ }
166
+ /** Extended field that was found or created. */
167
+ export interface FindOrCreateExtendedFieldResponse {
168
+ /** Extended field that was found or created. */
169
+ field?: ExtendedField;
170
+ /**
171
+ * Indicates whether the extended field was just created or already existed.
172
+ *
173
+ * If the field was just created, returns `true`.
174
+ * If it already existed, returns `false`.
175
+ */
176
+ newField?: boolean;
177
+ }
178
+ export interface GetExtendedFieldRequest {
179
+ /**
180
+ * Extended field key.
181
+ *
182
+ * When accessing contact data,
183
+ * extended field values are available at `info.extendedFields.items[key]`.
184
+ * For example, if the key is "custom.patronus",
185
+ * the value can be accessed at `info.extendedFields.items["custom.patronus"]`.
186
+ *
187
+ * Once set, `key` cannot be modified, even if `displayName` changes.
188
+ */
189
+ key: string;
190
+ }
191
+ /** The specified field. */
192
+ export interface GetExtendedFieldResponse {
193
+ /** The specified field. */
194
+ field?: ExtendedField;
195
+ }
196
+ export interface GetExtendedFieldByLegacyIdRequest {
197
+ legacyId?: string;
198
+ }
199
+ export interface GetExtendedFieldByLegacyIdResponse {
200
+ field?: ExtendedField;
201
+ }
202
+ export interface UpdateExtendedFieldRequest {
203
+ /** Field to update. */
204
+ field?: ExtendedField;
205
+ }
206
+ /** Updated extended field. */
207
+ export interface UpdateExtendedFieldResponse {
208
+ /** Updated extended field. */
209
+ field?: ExtendedField;
210
+ }
211
+ export interface DeleteExtendedFieldRequest {
212
+ /** Extended field key. */
213
+ key: string;
214
+ }
215
+ export interface DeleteExtendedFieldResponse {
216
+ }
217
+ export interface PurgeRequest {
218
+ instanceId?: string;
219
+ }
220
+ export interface PurgeResponse {
221
+ deletedItems?: number;
222
+ }
223
+ export interface GdprListRequest {
224
+ instanceId?: string;
225
+ }
226
+ export interface GdprListResponse {
227
+ fields?: ExtendedField[];
228
+ }
229
+ export interface QueryExtendedFieldsRequest {
230
+ /** Query options. */
231
+ query?: Query;
232
+ }
233
+ export interface Query {
234
+ /**
235
+ * ilter object.
236
+ *
237
+ * Possible filters: `$eq`, `$gt`, `$gte`, `$in`, `$lt`, `$lte`, `$ne`, `$startsWith`.
238
+ *
239
+ * For a detailed list of supported filters, see [sorting and filtering for extended fields](https://dev.wix.com/api/rest/contacts/extended-fields/sort-and-filter).
240
+ *
241
+ * Example: `{ "filter": {
242
+ * "displayName": {
243
+ * "$startsWith": "Referral"
244
+ * }
245
+ * }
246
+ * }`
247
+ */
248
+ filter?: Record<string, any> | null;
249
+ /**
250
+ * Sorting options. Currently supports sorting on one field only.
251
+ *
252
+ * Example: `{ "sort": [{"fieldName": "displayName", "order": "DESC"}] }`
253
+ */
254
+ sort?: Sorting[];
255
+ /** Pagination options. */
256
+ paging?: Paging;
257
+ }
258
+ export interface QueryExtendedFieldsResponse {
259
+ /** List of extended fields. */
260
+ fields?: ExtendedField[];
261
+ /** Details on the paged set of results returned. */
262
+ pagingMetadata?: PagingMetadata;
263
+ }
264
+ /**
265
+ * Retrieves a custom field with a given name, or creates one if it doesn't exist.
266
+ *
267
+ * Successful calls to this endpoint always return a field,
268
+ * which can be passed to subsequent requests.
269
+ *
270
+ * To find an existing custom field without potentially creating a new one, use
271
+ * [Get Extended Field](https:dev.wix.com/api/rest/contacts/extended-fields/get-extended-field) or
272
+ * [List Extended Fields](https:dev.wix.com/api/rest/contacts/extended-fields/list-extended-fields).
273
+ *
274
+ * This function is not a universal function and runs only on the backend.
275
+ * @param displayName - Display name to find or create.
276
+ *
277
+ * If an existing custom field is an exact match
278
+ * for the specified `displayName`,
279
+ * the existing field is returned.
280
+ * If not, a new field is created and returned.
281
+ * @public
282
+ * @documentationMaturity preview
283
+ * @requiredField displayName
284
+ * @returns Extended field that was found or created.
285
+ */
286
+ export declare function findOrCreateExtendedField(displayName: string, options?: FindOrCreateExtendedFieldOptions): Promise<FindOrCreateExtendedFieldResponse>;
287
+ export interface FindOrCreateExtendedFieldOptions {
288
+ /**
289
+ * Type of data the field holds.
290
+ * Ignored if an existing field is an exact match
291
+ * for the specified display name.
292
+ *
293
+ * - `TEXT`: Accepts strings.
294
+ * - `NUMBER`: Accepts floats.
295
+ * - `DATE`: Accepts dates formatted as `YYYY-MM-DD`.
296
+ * - `URL`: Accepts strings. Prepends `https://` if no protocol is included.
297
+ */
298
+ dataType?: FieldDataType;
299
+ }
300
+ /**
301
+ * Retrieves an extended field.
302
+ *
303
+ * This function is not a universal function and runs only on the backend.
304
+ * @param key - Extended field key.
305
+ *
306
+ * When accessing contact data,
307
+ * extended field values are available at `info.extendedFields.items[key]`.
308
+ * For example, if the key is "custom.patronus",
309
+ * the value can be accessed at `info.extendedFields.items["custom.patronus"]`.
310
+ *
311
+ * Once set, `key` cannot be modified, even if `displayName` changes.
312
+ * @public
313
+ * @documentationMaturity preview
314
+ * @requiredField key
315
+ * @returns The specified field.
316
+ */
317
+ export declare function getExtendedField(key: string): Promise<ExtendedField>;
318
+ /**
319
+ * Updates an extended field's specified properties.
320
+ *
321
+ * This function is not a universal function and runs only on the backend.
322
+ * @param key - Extended field key.
323
+ *
324
+ * When accessing contact data,
325
+ * extended field data is available at `extendedFields[key]`.
326
+ * For example, if the key is "custom.notes",
327
+ * the value can be accessed at `extendedFields["custom.notes"]`.
328
+ *
329
+ * `key` is generated when the extended field is created
330
+ * and cannot be modified, even if `displayName` changes.
331
+ * @public
332
+ * @documentationMaturity preview
333
+ * @requiredField key
334
+ * @requiredField options.field.displayName
335
+ * @returns Updated extended field.
336
+ */
337
+ export declare function renameExtendedField(key: string, options?: RenameExtendedFieldOptions): Promise<ExtendedField>;
338
+ export interface RenameExtendedFieldOptions {
339
+ field: {
340
+ /**
341
+ * Extended field namespace.
342
+ *
343
+ * Extended fields created by site contributors or 3rd-party apps
344
+ * are automatically assigned to the `custom` namespace.
345
+ * @readonly
346
+ */
347
+ namespace?: string | null;
348
+ /** Display name shown in the Contact List. */
349
+ displayName?: string;
350
+ /**
351
+ * Type of data the field holds.
352
+ *
353
+ * - `TEXT`: Accepts strings.
354
+ * - `NUMBER`: Accepts floats.
355
+ * - `DATE`: Accepts dates formatted as `YYYY-MM-DD`.
356
+ * - `URL`: Accepts strings. Prepends `https://` if no protocol is included.
357
+ * @readonly
358
+ */
359
+ dataType?: FieldDataType;
360
+ /**
361
+ * Indicates whether the extended field is a system field or custom field.
362
+ *
363
+ * - `SYSTEM`: The field is a system field managed by Wix. System fields cannot be modified by 3rd-party apps or site contributors.
364
+ * - `USER_DEFINED`: The field is a custom field and can be modified by 3rd-party apps or site contributors.
365
+ * @readonly
366
+ */
367
+ fieldType?: FieldType;
368
+ /**
369
+ * Date and time the field was created.
370
+ * @readonly
371
+ */
372
+ _createdDate?: Date;
373
+ /**
374
+ * Date and time the field was last updated.
375
+ * @readonly
376
+ */
377
+ _updatedDate?: Date;
378
+ /**
379
+ * Field description, if the field is a system field.
380
+ * @readonly
381
+ */
382
+ description?: string | null;
383
+ };
384
+ }
385
+ /**
386
+ * Deletes an extended field.
387
+ *
388
+ * When an extended field is deleted,
389
+ * any contact data stored in the field is permanently deleted as well.
390
+ *
391
+ * This function is not a universal function and runs only on the backend.
392
+ * @param key - Extended field key.
393
+ * @public
394
+ * @documentationMaturity preview
395
+ * @requiredField key
396
+ */
397
+ export declare function deleteExtendedField(key: string): Promise<void>;
398
+ /**
399
+ * Retrieves a list of extended fields.
400
+ *
401
+ * For a detailed list of supported operations, see [sorting and filtering for extended fields](https://dev.wix.com/api/rest/contacts/extended-fields/sort-and-filter). To learn more about query language, see
402
+ * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).
403
+ *
404
+ * This function is not a universal function and runs only on the backend.
405
+ * @public
406
+ * @documentationMaturity preview
407
+ */
408
+ export declare function queryExtendedFields(): FieldsQueryBuilder;
409
+ interface QueryOffsetResult {
410
+ currentPage: number;
411
+ totalPages: number;
412
+ totalCount: number;
413
+ hasNext: () => boolean;
414
+ hasPrev: () => boolean;
415
+ length: number;
416
+ pageSize: number;
417
+ }
418
+ export interface FieldsQueryResult extends QueryOffsetResult {
419
+ items: ExtendedField[];
420
+ query: FieldsQueryBuilder;
421
+ next: () => Promise<FieldsQueryResult>;
422
+ prev: () => Promise<FieldsQueryResult>;
423
+ }
424
+ export interface FieldsQueryBuilder {
425
+ /** @param propertyName - Property whose value is compared with `value`.
426
+ * @param value - Value to compare against.
427
+ * @documentationMaturity preview
428
+ */
429
+ eq: (propertyName: 'namespace' | 'key' | 'displayName' | 'dataType' | 'fieldType' | '_createdDate' | '_updatedDate', value: any) => FieldsQueryBuilder;
430
+ /** @param propertyName - Property whose value is compared with `value`.
431
+ * @param value - Value to compare against.
432
+ * @documentationMaturity preview
433
+ */
434
+ ne: (propertyName: 'namespace' | 'key' | 'displayName' | 'dataType' | '_createdDate' | '_updatedDate', value: any) => FieldsQueryBuilder;
435
+ /** @param propertyName - Property whose value is compared with `value`.
436
+ * @param value - Value to compare against.
437
+ * @documentationMaturity preview
438
+ */
439
+ gt: (propertyName: '_createdDate' | '_updatedDate', value: any) => FieldsQueryBuilder;
440
+ /** @param propertyName - Property whose value is compared with `value`.
441
+ * @param value - Value to compare against.
442
+ * @documentationMaturity preview
443
+ */
444
+ le: (propertyName: '_createdDate' | '_updatedDate', value: any) => FieldsQueryBuilder;
445
+ /** @param propertyName - Property whose value is compared with `value`.
446
+ * @param value - Value to compare against.
447
+ * @documentationMaturity preview
448
+ */
449
+ lt: (propertyName: '_createdDate' | '_updatedDate', value: any) => FieldsQueryBuilder;
450
+ /** @param propertyName - Property whose value is compared with `string`.
451
+ * @param string - String to compare against. Case-insensitive.
452
+ * @documentationMaturity preview
453
+ */
454
+ startsWith: (propertyName: 'displayName', value: string) => FieldsQueryBuilder;
455
+ /** @documentationMaturity preview */
456
+ in: (propertyName: 'key' | 'displayName', value: any) => FieldsQueryBuilder;
457
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
458
+ * @documentationMaturity preview
459
+ */
460
+ ascending: (...propertyNames: Array<'displayName' | '_createdDate' | '_updatedDate'>) => FieldsQueryBuilder;
461
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
462
+ * @documentationMaturity preview
463
+ */
464
+ descending: (...propertyNames: Array<'displayName' | '_createdDate' | '_updatedDate'>) => FieldsQueryBuilder;
465
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
466
+ * @documentationMaturity preview
467
+ */
468
+ limit: (limit: number) => FieldsQueryBuilder;
469
+ /** @param skip - Number of items to skip in the query results before returning the results.
470
+ * @documentationMaturity preview
471
+ */
472
+ skip: (skip: number) => FieldsQueryBuilder;
473
+ /** @documentationMaturity preview */
474
+ find: () => Promise<FieldsQueryResult>;
475
+ }
476
+ export {};