@wix/auto_sdk_online-programs_participants 1.0.9 → 1.0.11

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 (41) hide show
  1. package/build/cjs/index.d.ts +50 -12
  2. package/build/cjs/index.js +332 -13
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +12 -1239
  5. package/build/cjs/index.typings.js +304 -11
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +736 -37
  8. package/build/cjs/meta.js +275 -13
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/online-programs-v3-participant-participants.universal-DRubTE1O.d.ts +2228 -0
  11. package/build/es/index.d.mts +50 -12
  12. package/build/es/index.mjs +319 -12
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +12 -1239
  15. package/build/es/index.typings.mjs +292 -11
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +736 -37
  18. package/build/es/meta.mjs +262 -12
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/online-programs-v3-participant-participants.universal-DRubTE1O.d.mts +2228 -0
  21. package/build/internal/cjs/index.d.ts +50 -12
  22. package/build/internal/cjs/index.js +332 -13
  23. package/build/internal/cjs/index.js.map +1 -1
  24. package/build/internal/cjs/index.typings.d.ts +12 -1249
  25. package/build/internal/cjs/index.typings.js +304 -11
  26. package/build/internal/cjs/index.typings.js.map +1 -1
  27. package/build/internal/cjs/meta.d.ts +736 -37
  28. package/build/internal/cjs/meta.js +275 -13
  29. package/build/internal/cjs/meta.js.map +1 -1
  30. package/build/internal/cjs/online-programs-v3-participant-participants.universal-DUdmZP01.d.ts +2238 -0
  31. package/build/internal/es/index.d.mts +50 -12
  32. package/build/internal/es/index.mjs +319 -12
  33. package/build/internal/es/index.mjs.map +1 -1
  34. package/build/internal/es/index.typings.d.mts +12 -1249
  35. package/build/internal/es/index.typings.mjs +292 -11
  36. package/build/internal/es/index.typings.mjs.map +1 -1
  37. package/build/internal/es/meta.d.mts +736 -37
  38. package/build/internal/es/meta.mjs +262 -12
  39. package/build/internal/es/meta.mjs.map +1 -1
  40. package/build/internal/es/online-programs-v3-participant-participants.universal-DUdmZP01.d.mts +2238 -0
  41. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { CreateParticipantRequest as CreateParticipantRequest$1, CreateParticipantResponse as CreateParticipantResponse$1, BulkCreateParticipantRequest as BulkCreateParticipantRequest$1, BulkCreateParticipantResponse as BulkCreateParticipantResponse$1, BulkAddAllToProgramRequest as BulkAddAllToProgramRequest$1, BulkAddAllToProgramResponse as BulkAddAllToProgramResponse$1, DeleteParticipantRequest as DeleteParticipantRequest$1, DeleteParticipantResponse as DeleteParticipantResponse$1, IssueCertificateRequest as IssueCertificateRequest$1, IssueCertificateResponse as IssueCertificateResponse$1, GetCompletionStatsRequest as GetCompletionStatsRequest$1, GetCompletionStatsResponse as GetCompletionStatsResponse$1, GetPremiumStatsRequest as GetPremiumStatsRequest$1, GetPremiumStatsResponse as GetPremiumStatsResponse$1, GetParticipantRequest as GetParticipantRequest$1, GetParticipantResponse as GetParticipantResponse$1, QueryParticipantsRequest as QueryParticipantsRequest$1, QueryParticipantsResponse as QueryParticipantsResponse$1, GetAccessStatusRequest as GetAccessStatusRequest$1, GetAccessStatusResponse as GetAccessStatusResponse$1, BulkInviteToProgramRequest as BulkInviteToProgramRequest$1, BulkInviteToProgramResponse as BulkInviteToProgramResponse$1, BulkInviteAllToProgramRequest as BulkInviteAllToProgramRequest$1, BulkInviteAllToProgramResponse as BulkInviteAllToProgramResponse$1, BulkAddToProgramRequest as BulkAddToProgramRequest$1, BulkAddToProgramResponse as BulkAddToProgramResponse$1, BulkApproveParticipantRequest as BulkApproveParticipantRequest$1, BulkApproveParticipantResponse as BulkApproveParticipantResponse$1, BulkApproveAllParticipantRequest as BulkApproveAllParticipantRequest$1, BulkApproveAllParticipantResponse as BulkApproveAllParticipantResponse$1, ExportParticipantsStatsRequest as ExportParticipantsStatsRequest$1, ExportParticipantsStatsResponse as ExportParticipantsStatsResponse$1 } from './index.typings.mjs';
1
+ import { a8 as CreateParticipantRequest$1, a9 as CreateParticipantResponse$1, aa as BulkCreateParticipantRequest$1, a as BulkCreateParticipantResponse$1, af as BulkAddAllToProgramRequest$1, c as BulkAddAllToProgramResponse$1, ag as DeleteParticipantRequest$1, ah as DeleteParticipantResponse$1, ai as IssueCertificateRequest$1, I as IssueCertificateResponse$1, aj as GetCompletionStatsRequest$1, G as GetCompletionStatsResponse$1, ak as GetPremiumStatsRequest$1, d as GetPremiumStatsResponse$1, al as GetParticipantRequest$1, am as GetParticipantResponse$1, an as QueryParticipantsRequest$1, as as QueryParticipantsResponse$1, av as GetAccessStatusRequest$1, e as GetAccessStatusResponse$1, aw as BulkUpdateParticipantTagsRequest$1, g as BulkUpdateParticipantTagsResponse$1, ay as BulkUpdateParticipantTagsByFilterRequest$1, j as BulkUpdateParticipantTagsByFilterResponse$1, az as SearchParticipantsRequest$1, S as SearchParticipantsResponse$1, bs as BulkInviteToProgramRequest$1, n as BulkInviteToProgramResponse$1, bx as BulkInviteAllToProgramRequest$1, p as BulkInviteAllToProgramResponse$1, by as BulkAddToProgramRequest$1, r as BulkAddToProgramResponse$1, bA as BulkApproveParticipantRequest$1, t as BulkApproveParticipantResponse$1, bD as BulkApproveAllParticipantRequest$1, v as BulkApproveAllParticipantResponse$1, bE as ExportParticipantsStatsRequest$1, bF as ExportParticipantsStatsResponse$1 } from './online-programs-v3-participant-participants.universal-DUdmZP01.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  interface Participant {
@@ -8,11 +8,20 @@ interface Participant {
8
8
  * @readonly
9
9
  */
10
10
  id?: string | null;
11
- /** @readonly */
11
+ /**
12
+ * Participant revision (for optimistic concurrency control).
13
+ * @readonly
14
+ */
12
15
  revision?: string | null;
13
- /** @readonly */
16
+ /**
17
+ * Participant creation date
18
+ * @readonly
19
+ */
14
20
  createdDate?: Date | null;
15
- /** @readonly */
21
+ /**
22
+ * Participant last update date
23
+ * @readonly
24
+ */
16
25
  updatedDate?: Date | null;
17
26
  /**
18
27
  * Member ID of participant on site
@@ -31,103 +40,143 @@ interface Participant {
31
40
  * @readonly
32
41
  */
33
42
  progress?: Progress;
34
- /** state of participation in the program */
35
- state?: StateWithLiterals;
43
+ /**
44
+ * status of participation in the program
45
+ * @readonly
46
+ */
47
+ status?: StatusWithLiterals;
36
48
  /**
37
49
  * Certificate issued to participant
38
50
  * @readonly
39
51
  */
40
52
  certificate?: Certificate;
53
+ /** Additional info about when and how participant joined the program and which timeframes participant has to complete program. */
41
54
  joinedInfo?: JoinedInfo;
42
- /** @readonly */
55
+ /**
56
+ * Site member info snapshot for the participant
57
+ * @readonly
58
+ */
43
59
  member?: Member;
44
- /** @readonly */
60
+ /**
61
+ * Last activity date of the participant in the program (can either be status change or step resolution).
62
+ * @readonly
63
+ */
45
64
  lastActivityDate?: Date | null;
65
+ /** Extended fields for participant (can be used for storing custom data). */
46
66
  extendedFields?: ExtendedFields;
67
+ /** Tags for categorizing and organizing participants. */
68
+ tags?: Tags;
47
69
  }
48
70
  declare enum JoinPath {
71
+ /** Default value. This value is unused. */
49
72
  UNKNOWN_JOIN_PATH = "UNKNOWN_JOIN_PATH",
50
- /** Member joined to the program for free */
73
+ /** Member joined to the program for free. */
51
74
  FREE = "FREE",
52
- /** Member was added to the program by site owner */
75
+ /** Member was added to the program by site owner. */
53
76
  ADDED = "ADDED",
54
- /** Member paid once to join the program */
77
+ /** Member paid once to join the program. */
55
78
  SINGLE_PAYMENT = "SINGLE_PAYMENT",
56
- /** Member has Paid Plan to join */
79
+ /** Member has Paid Plan to join. */
57
80
  PAID_PLAN = "PAID_PLAN",
58
- /** Member joined with the Free Coupon */
81
+ /** Member joined with the Free Coupon. */
59
82
  FREE_COUPON = "FREE_COUPON"
60
83
  }
61
84
  /** @enumType */
62
85
  type JoinPathWithLiterals = JoinPath | 'UNKNOWN_JOIN_PATH' | 'FREE' | 'ADDED' | 'SINGLE_PAYMENT' | 'PAID_PLAN' | 'FREE_COUPON';
63
86
  interface SinglePaymentDetails {
64
- /** @format GUID */
87
+ /**
88
+ * ID of the cashier order which was used to pay for joining the program.
89
+ * @format GUID
90
+ * @immutable
91
+ */
65
92
  paymentOrderId?: string;
66
- /** @format GUID */
93
+ /**
94
+ * ID of the offline transaction if offline payment flow from cashier was used.
95
+ * @format GUID
96
+ * @immutable
97
+ */
67
98
  offlineTransactionId?: string | null;
68
99
  }
69
100
  interface PaidPlanDetails {
70
- /** @format GUID */
101
+ /**
102
+ * ID of the Paid Plan for which member has paid to join the program.
103
+ * @format GUID
104
+ * @immutable
105
+ */
71
106
  paidPlanId?: string;
72
107
  }
73
108
  interface FreeCouponDetails {
74
- /** @format GUID */
109
+ /**
110
+ * ID of the coupon which was applied and gave 100% discount to join the program for free.
111
+ * @format GUID
112
+ * @immutable
113
+ */
75
114
  freeCouponId?: string;
76
115
  }
77
116
  interface Progress {
78
- /** Number of program steps completed by member */
117
+ /** Number of program steps completed by member. */
79
118
  totalStepsCompleted?: number;
80
- /** Total number of program steps available to resolve */
119
+ /** Total number of program steps available to resolve. */
81
120
  totalStepsAvailable?: number;
82
121
  /**
83
- * Completion percentage
122
+ * Completion percentage.
84
123
  * @max 100
85
124
  */
86
125
  completionPercentage?: number;
87
126
  }
88
- declare enum State {
89
- /** Unknown state */
90
- UNKNOWN_STATE = "UNKNOWN_STATE",
91
- /** Member joined the program and became participant */
127
+ declare enum Status {
128
+ /** Default value. This value is unused. */
129
+ UNKNOWN_STATUS = "UNKNOWN_STATUS",
130
+ /** Member joined the program and became participant. */
92
131
  JOINED = "JOINED",
93
- /** Participant completed the program, and could join again */
132
+ /** Participant completed the program, and could join again. */
94
133
  COMPLETED = "COMPLETED",
95
- /** Participant failed to complete the program, and could join again */
134
+ /** Participant failed to complete the program, and could join again. */
96
135
  FAILED = "FAILED",
97
- /** Participant with ended pricing plan (PP), will be joined as renew PP */
136
+ /** Participant with ended pricing plan (PP), will be joined as renew PP. */
98
137
  SUSPENDED = "SUSPENDED",
99
- /** Participant removed automatically after some program condition */
138
+ /** Participant removed automatically after some program condition. */
100
139
  AUTO_REMOVED = "AUTO_REMOVED",
101
- /** Participant removed by site owner */
140
+ /** Participant removed by site owner. */
102
141
  REMOVED = "REMOVED",
103
- /** Participant left the program by himself */
142
+ /** Participant left the program by himself. */
104
143
  LEFT = "LEFT"
105
144
  }
106
145
  /** @enumType */
107
- type StateWithLiterals = State | 'UNKNOWN_STATE' | 'JOINED' | 'COMPLETED' | 'FAILED' | 'SUSPENDED' | 'AUTO_REMOVED' | 'REMOVED' | 'LEFT';
146
+ type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'JOINED' | 'COMPLETED' | 'FAILED' | 'SUSPENDED' | 'AUTO_REMOVED' | 'REMOVED' | 'LEFT';
108
147
  interface Certificate {
109
148
  /**
110
- * when certificate was issued, UTC
149
+ * when certificate was issued, UTC.
111
150
  * @readonly
112
151
  */
113
152
  issuedDate?: Date | null;
114
153
  }
115
154
  interface JoinedInfo extends JoinedInfoJoinPathDetailsOneOf {
155
+ /** Details about Single Payment join path. */
116
156
  singlePaymentDetails?: SinglePaymentDetails;
157
+ /** Details about Paid Plan join path. */
117
158
  paidPlanDetails?: PaidPlanDetails;
159
+ /** Details about Free Coupon join path. */
118
160
  freeCouponDetails?: FreeCouponDetails;
119
161
  /**
162
+ * Time zone for site on which member joined the program.
120
163
  * @maxLength 50
121
164
  * @readonly
122
165
  */
123
166
  timeZone?: string;
124
167
  /**
168
+ * Date when participant starts the program (is the same as join date if program does not have start date, otherwise can be later).
125
169
  * @format LOCAL_DATE
126
170
  * @readonly
127
171
  */
128
172
  startDate?: string;
173
+ /**
174
+ * How participant joined the program.
175
+ * @immutable
176
+ */
129
177
  joinPath?: JoinPathWithLiterals;
130
178
  /**
179
+ * Date before which participant has to finish the program (is not empty only if program itself has finish date).
131
180
  * @format LOCAL_DATE
132
181
  * @readonly
133
182
  */
@@ -135,29 +184,40 @@ interface JoinedInfo extends JoinedInfoJoinPathDetailsOneOf {
135
184
  }
136
185
  /** @oneof */
137
186
  interface JoinedInfoJoinPathDetailsOneOf {
187
+ /** Details about Single Payment join path. */
138
188
  singlePaymentDetails?: SinglePaymentDetails;
189
+ /** Details about Paid Plan join path. */
139
190
  paidPlanDetails?: PaidPlanDetails;
191
+ /** Details about Free Coupon join path. */
140
192
  freeCouponDetails?: FreeCouponDetails;
141
193
  }
142
194
  interface Member {
143
195
  /**
196
+ * First name of the site member.
144
197
  * @readonly
145
- * @maxLength 100
198
+ * @maxLength 1000
146
199
  */
147
200
  firstName?: string | null;
148
201
  /**
202
+ * Last name of the site member.
149
203
  * @readonly
150
- * @maxLength 100
204
+ * @maxLength 1000
151
205
  */
152
206
  lastName?: string | null;
153
207
  /**
208
+ * Email of the site member.
154
209
  * @readonly
155
210
  * @format EMAIL
156
211
  */
157
212
  email?: string | null;
158
- /** @format GUID */
213
+ /**
214
+ * Contact ID of the site member.
215
+ * @format GUID
216
+ * @readonly
217
+ */
159
218
  contactId?: string;
160
219
  /**
220
+ * Profile image URL of the site member.
161
221
  * @readonly
162
222
  * @format WEB_URL
163
223
  */
@@ -174,6 +234,43 @@ interface ExtendedFields {
174
234
  */
175
235
  namespaces?: Record<string, Record<string, any>>;
176
236
  }
237
+ /**
238
+ * Common object for tags.
239
+ * Should be use as in this example:
240
+ * message Foo {
241
+ * option (.wix.api.decomposite_of) = "wix.commons.v2.tags.Foo";
242
+ * string id = 1;
243
+ * ...
244
+ * Tags tags = 5
245
+ * }
246
+ *
247
+ * example of taggable entity
248
+ * {
249
+ * id: "123"
250
+ * tags: {
251
+ * public_tags: {
252
+ * tag_ids:["11","22"]
253
+ * },
254
+ * private_tags: {
255
+ * tag_ids: ["33", "44"]
256
+ * }
257
+ * }
258
+ * }
259
+ */
260
+ interface Tags {
261
+ /** Tags that require an additional permission in order to access them, typically restricted from site members and visitors. */
262
+ privateTags?: TagList;
263
+ /** Tags that are exposed to anyone with access to the entity, including site members and visitors. */
264
+ publicTags?: TagList;
265
+ }
266
+ interface TagList {
267
+ /**
268
+ * List of tag IDs.
269
+ * @maxSize 100
270
+ * @maxLength 5
271
+ */
272
+ tagIds?: string[];
273
+ }
177
274
  interface ParticipantAdded {
178
275
  /**
179
276
  * Program ID which participant was added
@@ -186,6 +283,15 @@ interface ParticipantAdded {
186
283
  */
187
284
  memberId?: string;
188
285
  }
286
+ /** Domain event emitted when tags are modified */
287
+ interface TagsModified {
288
+ /** The Participant with updated tags */
289
+ participant?: Participant;
290
+ /** Tags that were assigned */
291
+ assignedTags?: Tags;
292
+ /** Tags that were unassigned */
293
+ unassignedTags?: Tags;
294
+ }
189
295
  interface CreateParticipantRequest {
190
296
  /** Participant to create */
191
297
  participant: Participant;
@@ -419,7 +525,565 @@ interface GetAccessStatusRequest {
419
525
  }
420
526
  interface GetAccessStatusResponse {
421
527
  /** True if participants cannot access online programs due to some limitations */
422
- isBlocked?: boolean;
528
+ blocked?: boolean;
529
+ }
530
+ interface BulkUpdateParticipantTagsRequest {
531
+ /**
532
+ * Participant IDs to update tags for (1-100 items)
533
+ * @minSize 1
534
+ * @maxSize 100
535
+ * @format GUID
536
+ */
537
+ participantIds: string[];
538
+ /** Tags to assign to the Participants */
539
+ assignTags?: Tags;
540
+ /** Tags to unassign from the Participants */
541
+ unassignTags?: Tags;
542
+ }
543
+ interface BulkUpdateParticipantTagsResponse {
544
+ /**
545
+ * Results for each Participant
546
+ * @minSize 1
547
+ * @maxSize 100
548
+ */
549
+ results?: BulkUpdateParticipantTagsResult[];
550
+ /** Metadata about the bulk operation */
551
+ bulkActionMetadata?: CommonBulkActionMetadata;
552
+ }
553
+ interface BulkUpdateParticipantTagsResult {
554
+ /** Metadata for this specific item */
555
+ itemMetadata?: CommonItemMetadata;
556
+ }
557
+ interface BulkUpdateParticipantTagsByFilterRequest {
558
+ /** WQL filter to select Participants */
559
+ filter: Record<string, any> | null;
560
+ /** Tags to assign to matching Participants */
561
+ assignTags?: Tags;
562
+ /** Tags to unassign from matching Participants */
563
+ unassignTags?: Tags;
564
+ }
565
+ interface BulkUpdateParticipantTagsByFilterResponse {
566
+ /**
567
+ * Job ID for tracking the async operation
568
+ * @format GUID
569
+ */
570
+ jobId?: string;
571
+ }
572
+ interface SearchParticipantsRequest {
573
+ /** Query to search programs */
574
+ search?: CursorSearch;
575
+ }
576
+ interface CursorSearch extends CursorSearchPagingMethodOneOf {
577
+ /**
578
+ * Cursor paging options.
579
+ *
580
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
581
+ */
582
+ cursorPaging?: CursorPaging;
583
+ /**
584
+ * Filter object.
585
+ *
586
+ * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
587
+ */
588
+ filter?: Record<string, any> | null;
589
+ /**
590
+ * List of sort objects.
591
+ *
592
+ * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).
593
+ * @maxSize 10
594
+ */
595
+ sort?: Sorting[];
596
+ /**
597
+ * Logical groupings of data into facets, with summaries for each facet. For example, use aggregations to allow site visitors to narrow down their search results by selecting specific categories.
598
+ * @maxSize 10
599
+ */
600
+ aggregations?: Aggregation[];
601
+ /** Free text to match in searchable fields. */
602
+ search?: SearchDetails;
603
+ /**
604
+ * Time zone to adjust date-time-based filters and aggregations, in ISO 8601 (including offsets) or IANA time zone database (including time zone IDs) format.
605
+ * Applies to all relevant filters and aggregations, unless overridden by providing timestamps including time zone. For example, "2023-12-20T10:52:34.795Z".
606
+ * @maxLength 50
607
+ */
608
+ timeZone?: string | null;
609
+ }
610
+ /** @oneof */
611
+ interface CursorSearchPagingMethodOneOf {
612
+ /**
613
+ * Cursor paging options.
614
+ *
615
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
616
+ */
617
+ cursorPaging?: CursorPaging;
618
+ }
619
+ interface Aggregation extends AggregationKindOneOf {
620
+ /** A value aggregation calculates metrics such as count for specific fields within a dataset, providing insights into the overall distribution and key statistics of those values. For example, use a value aggregation to get the number (count) of products for each price listed in the store. */
621
+ value?: ValueAggregation;
622
+ /** A range aggregation calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. For example, use a range aggregation to compare the number of reservations made for parties of 4 or less to the number of reservations made for parties with 5 or more. */
623
+ range?: RangeAggregation;
624
+ /** A scalar aggregation calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */
625
+ scalar?: ScalarAggregation;
626
+ /** A date histogram calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.) For example, use a date histogram to find how many reservations have been made at a restaurant each week. */
627
+ dateHistogram?: DateHistogramAggregation;
628
+ /** A nested aggregation is applied within the results of another aggregation. Rather than aggregating directly on the primary dataset, first group data using one aggregation and then apply another aggregation within each group. It allows for more complex analyses where you can summarize data at different levels of detail or hierarchy. For example, to get the number of products that are in stock and out of stock for each price listed, first perform a value aggregation on `discountedPriceNumeric`, and a second value aggregation on `inStock`. */
629
+ nested?: NestedAggregation;
630
+ /**
631
+ * Aggregation name, returned in `aggregations.results.name`.
632
+ * @maxLength 100
633
+ */
634
+ name?: string | null;
635
+ /** Type of aggregation to perform. Must align with the corresponding aggregation field. */
636
+ type?: AggregationTypeWithLiterals;
637
+ /**
638
+ * Field to aggregate by. Use dot notation to specify a JSON path. For example, `order.address.streetName`.
639
+ * @maxLength 200
640
+ */
641
+ fieldPath?: string;
642
+ /**
643
+ * Deprecated. Use `nested` instead.
644
+ * @deprecated Deprecated. Use `nested` instead.
645
+ * @replacedBy kind.nested
646
+ * @targetRemovalDate 2024-03-30
647
+ */
648
+ groupBy?: GroupByAggregation;
649
+ }
650
+ /** @oneof */
651
+ interface AggregationKindOneOf {
652
+ /** A value aggregation calculates metrics such as count for specific fields within a dataset, providing insights into the overall distribution and key statistics of those values. For example, use a value aggregation to get the number (count) of products for each price listed in the store. */
653
+ value?: ValueAggregation;
654
+ /** A range aggregation calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. For example, use a range aggregation to compare the number of reservations made for parties of 4 or less to the number of reservations made for parties with 5 or more. */
655
+ range?: RangeAggregation;
656
+ /** A scalar aggregation calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */
657
+ scalar?: ScalarAggregation;
658
+ /** A date histogram calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.) For example, use a date histogram to find how many reservations have been made at a restaurant each week. */
659
+ dateHistogram?: DateHistogramAggregation;
660
+ /** A nested aggregation is applied within the results of another aggregation. Rather than aggregating directly on the primary dataset, first group data using one aggregation and then apply another aggregation within each group. It allows for more complex analyses where you can summarize data at different levels of detail or hierarchy. For example, to get the number of products that are in stock and out of stock for each price listed, first perform a value aggregation on `discountedPriceNumeric`, and a second value aggregation on `inStock`. */
661
+ nested?: NestedAggregation;
662
+ }
663
+ interface RangeBucket {
664
+ /** Inclusive lower bound of the range. Required if `to` is not provided. */
665
+ from?: number | null;
666
+ /** Exclusive upper bound of the range. Required if `from` is not provided. */
667
+ to?: number | null;
668
+ }
669
+ declare enum SortType {
670
+ /** Number of matches in the results. */
671
+ COUNT = "COUNT",
672
+ /** Alphabetically by the field value. */
673
+ VALUE = "VALUE"
674
+ }
675
+ /** @enumType */
676
+ type SortTypeWithLiterals = SortType | 'COUNT' | 'VALUE';
677
+ declare enum SortDirection {
678
+ /** Descending order. */
679
+ DESC = "DESC",
680
+ /** Ascending order. */
681
+ ASC = "ASC"
682
+ }
683
+ /** @enumType */
684
+ type SortDirectionWithLiterals = SortDirection | 'DESC' | 'ASC';
685
+ declare enum MissingValues {
686
+ /** Exclude missing values from the aggregation results. */
687
+ EXCLUDE = "EXCLUDE",
688
+ /** Include missing values in the aggregation results. */
689
+ INCLUDE = "INCLUDE"
690
+ }
691
+ /** @enumType */
692
+ type MissingValuesWithLiterals = MissingValues | 'EXCLUDE' | 'INCLUDE';
693
+ interface IncludeMissingValuesOptions {
694
+ /**
695
+ * Specify a custom name for the bucket containing the missing values. Defaults are `"N/A"` for strings, `0` for integers, and `false` for booleans.
696
+ * @maxLength 20
697
+ */
698
+ addToBucket?: string;
699
+ }
700
+ declare enum ScalarType {
701
+ UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
702
+ /** Total number of distinct values. */
703
+ COUNT_DISTINCT = "COUNT_DISTINCT",
704
+ /** Minimum value. */
705
+ MIN = "MIN",
706
+ /** Maximum value. */
707
+ MAX = "MAX"
708
+ }
709
+ /** @enumType */
710
+ type ScalarTypeWithLiterals = ScalarType | 'UNKNOWN_SCALAR_TYPE' | 'COUNT_DISTINCT' | 'MIN' | 'MAX';
711
+ interface ValueAggregation extends ValueAggregationOptionsOneOf {
712
+ /** Options for including missing values in results. */
713
+ includeOptions?: IncludeMissingValuesOptions;
714
+ /** Sort type. */
715
+ sortType?: SortTypeWithLiterals;
716
+ /** Sort direction. */
717
+ sortDirection?: SortDirectionWithLiterals;
718
+ /**
719
+ * Number of aggregation results to return.
720
+ * Min: `1`
721
+ * Max: `250`
722
+ * Default: `10`
723
+ */
724
+ limit?: number | null;
725
+ /**
726
+ * Whether to include or exclude missing values in the aggregation results.
727
+ * Default: `EXCLUDE`.
728
+ */
729
+ missingValues?: MissingValuesWithLiterals;
730
+ }
731
+ /** @oneof */
732
+ interface ValueAggregationOptionsOneOf {
733
+ /** Options for including missing values in results. */
734
+ includeOptions?: IncludeMissingValuesOptions;
735
+ }
736
+ declare enum NestedAggregationType {
737
+ UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
738
+ /** Calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. */
739
+ VALUE = "VALUE",
740
+ /** Calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. */
741
+ RANGE = "RANGE",
742
+ /** Calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */
743
+ SCALAR = "SCALAR",
744
+ /** Calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.). */
745
+ DATE_HISTOGRAM = "DATE_HISTOGRAM"
746
+ }
747
+ /** @enumType */
748
+ type NestedAggregationTypeWithLiterals = NestedAggregationType | 'UNKNOWN_AGGREGATION_TYPE' | 'VALUE' | 'RANGE' | 'SCALAR' | 'DATE_HISTOGRAM';
749
+ interface RangeAggregation {
750
+ /**
751
+ * List of range buckets. During aggregation each entity is placed in the first bucket its value falls into, based on the provided range bounds.
752
+ * @maxSize 50
753
+ */
754
+ buckets?: RangeBucket[];
755
+ }
756
+ interface ScalarAggregation {
757
+ /** Operator type for the scalar aggregation. */
758
+ type?: ScalarTypeWithLiterals;
759
+ }
760
+ interface DateHistogramAggregation {
761
+ /** Interval for date histogram aggregation. */
762
+ interval?: IntervalWithLiterals;
763
+ }
764
+ declare enum Interval {
765
+ UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL",
766
+ YEAR = "YEAR",
767
+ MONTH = "MONTH",
768
+ WEEK = "WEEK",
769
+ DAY = "DAY",
770
+ HOUR = "HOUR",
771
+ MINUTE = "MINUTE",
772
+ SECOND = "SECOND"
773
+ }
774
+ /** @enumType */
775
+ type IntervalWithLiterals = Interval | 'UNKNOWN_INTERVAL' | 'YEAR' | 'MONTH' | 'WEEK' | 'DAY' | 'HOUR' | 'MINUTE' | 'SECOND';
776
+ interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
777
+ /** A value aggregation calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. For example, use a value aggregation to get the number (count) of orders for each order status. */
778
+ value?: ValueAggregation;
779
+ /** A range aggregation calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. For example, use a range aggregation to compare the number of reservations made for parties of 4 or less to the number of reservations made for parties with 5 or more. If ranges overlap, a record that fits more than one range will only be counted in the first range that matches the criteria. */
780
+ range?: RangeAggregation;
781
+ /** A scalar aggregation calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */
782
+ scalar?: ScalarAggregation;
783
+ /** A date histogram calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.). For example, use a date histogram to determine how many reservations have been made at a restaurant each week. If ranges overlap, a record that fits more than one range will only be counted in the first range that matches the criteria. */
784
+ dateHistogram?: DateHistogramAggregation;
785
+ /**
786
+ * Unique, caller-defined aggregation name, returned in `aggregations.results`.
787
+ * @maxLength 100
788
+ */
789
+ name?: string | null;
790
+ /** Type of aggregation to perform. The matching aggregation field must be passed. */
791
+ type?: NestedAggregationTypeWithLiterals;
792
+ /**
793
+ * Field to aggregate by. Use dot notation to specify a JSON path. For example, `order.address.streetName`.
794
+ * @maxLength 200
795
+ */
796
+ fieldPath?: string;
797
+ }
798
+ /** @oneof */
799
+ interface NestedAggregationItemKindOneOf {
800
+ /** A value aggregation calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. For example, use a value aggregation to get the number (count) of orders for each order status. */
801
+ value?: ValueAggregation;
802
+ /** A range aggregation calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. For example, use a range aggregation to compare the number of reservations made for parties of 4 or less to the number of reservations made for parties with 5 or more. If ranges overlap, a record that fits more than one range will only be counted in the first range that matches the criteria. */
803
+ range?: RangeAggregation;
804
+ /** A scalar aggregation calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */
805
+ scalar?: ScalarAggregation;
806
+ /** A date histogram calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.). For example, use a date histogram to determine how many reservations have been made at a restaurant each week. If ranges overlap, a record that fits more than one range will only be counted in the first range that matches the criteria. */
807
+ dateHistogram?: DateHistogramAggregation;
808
+ }
809
+ declare enum AggregationType {
810
+ UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
811
+ /** Calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. */
812
+ VALUE = "VALUE",
813
+ /** Calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. */
814
+ RANGE = "RANGE",
815
+ /** Calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */
816
+ SCALAR = "SCALAR",
817
+ /** Calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.). */
818
+ DATE_HISTOGRAM = "DATE_HISTOGRAM",
819
+ /** Flattened list of aggregations, where each aggregation is nested within previous one. */
820
+ NESTED = "NESTED"
821
+ }
822
+ /** @enumType */
823
+ type AggregationTypeWithLiterals = AggregationType | 'UNKNOWN_AGGREGATION_TYPE' | 'VALUE' | 'RANGE' | 'SCALAR' | 'DATE_HISTOGRAM' | 'NESTED';
824
+ /** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one. */
825
+ interface NestedAggregation {
826
+ /**
827
+ * Flattened list of aggregations, where each aggregation is nested within previous one.
828
+ * @minSize 2
829
+ * @maxSize 3
830
+ */
831
+ nestedAggregations?: NestedAggregationItem[];
832
+ }
833
+ interface GroupByAggregation extends GroupByAggregationKindOneOf {
834
+ /** Value aggregation configuration. */
835
+ value?: ValueAggregation;
836
+ /**
837
+ * Unique, caller-defined aggregation name, returned in `aggregations.results`.
838
+ * @maxLength 100
839
+ */
840
+ name?: string | null;
841
+ /**
842
+ * Field to aggregate by.
843
+ * @maxLength 200
844
+ */
845
+ fieldPath?: string;
846
+ }
847
+ /** @oneof */
848
+ interface GroupByAggregationKindOneOf {
849
+ /** Value aggregation configuration. */
850
+ value?: ValueAggregation;
851
+ }
852
+ interface SearchDetails {
853
+ /** Search mode. Defines the search logic for combining multiple terms in the `expression`. */
854
+ mode?: ModeWithLiterals;
855
+ /**
856
+ * Search term or expression.
857
+ * @maxLength 100
858
+ */
859
+ expression?: string | null;
860
+ /**
861
+ * Fields to search in. If the array is empty, all searchable fields are searched. Use dot notation to specify a JSON path. For example, `order.address.streetName`.
862
+ * @maxLength 200
863
+ * @maxSize 20
864
+ */
865
+ fields?: string[];
866
+ /** Whether to enable the search function to use an algorithm to automatically find results that are close to the search expression, such as typos and declensions. */
867
+ fuzzy?: boolean;
868
+ }
869
+ declare enum Mode {
870
+ /** At least one of the search terms must be present. */
871
+ OR = "OR",
872
+ /** All search terms must be present. */
873
+ AND = "AND"
874
+ }
875
+ /** @enumType */
876
+ type ModeWithLiterals = Mode | 'OR' | 'AND';
877
+ interface SearchParticipantsResponse {
878
+ /** Participants matching the search criteria. */
879
+ participants?: Participant[];
880
+ /** Paging metadata. */
881
+ pagingMetadata?: CursorPagingMetadata;
882
+ /** Aggregation data in case aggregations were requested. */
883
+ aggregationData?: AggregationData;
884
+ }
885
+ interface AggregationData {
886
+ /**
887
+ * key = aggregation name (as derived from search request).
888
+ * @maxSize 10000
889
+ */
890
+ results?: AggregationResults[];
891
+ }
892
+ interface ValueAggregationResult {
893
+ /**
894
+ * Value of the field.
895
+ * @maxLength 100
896
+ */
897
+ value?: string;
898
+ /** Count of entities with this value. */
899
+ count?: number;
900
+ }
901
+ interface RangeAggregationResult {
902
+ /** Inclusive lower bound of the range. */
903
+ from?: number | null;
904
+ /** Exclusive upper bound of the range. */
905
+ to?: number | null;
906
+ /** Count of entities in this range. */
907
+ count?: number;
908
+ }
909
+ interface NestedAggregationResults extends NestedAggregationResultsResultOneOf {
910
+ /** Value aggregation results. */
911
+ values?: ValueResults;
912
+ /** Range aggregation results. */
913
+ ranges?: RangeResults;
914
+ /** Scalar aggregation results. */
915
+ scalar?: AggregationResultsScalarResult;
916
+ /**
917
+ * User-defined name of aggregation, matches the one provided in request.
918
+ * @maxLength 100
919
+ */
920
+ name?: string;
921
+ /** Type of aggregation that matches result. */
922
+ type?: AggregationTypeWithLiterals;
923
+ /**
924
+ * Field to aggregate by, matches the one provided in request.
925
+ * @maxLength 200
926
+ */
927
+ fieldPath?: string;
928
+ }
929
+ /** @oneof */
930
+ interface NestedAggregationResultsResultOneOf {
931
+ /** Value aggregation results. */
932
+ values?: ValueResults;
933
+ /** Range aggregation results. */
934
+ ranges?: RangeResults;
935
+ /** Scalar aggregation results. */
936
+ scalar?: AggregationResultsScalarResult;
937
+ }
938
+ interface ValueResults {
939
+ /**
940
+ * List of value aggregations.
941
+ * @maxSize 250
942
+ */
943
+ results?: ValueAggregationResult[];
944
+ }
945
+ interface RangeResults {
946
+ /**
947
+ * List of ranges returned in same order as requested.
948
+ * @maxSize 50
949
+ */
950
+ results?: RangeAggregationResult[];
951
+ }
952
+ interface AggregationResultsScalarResult {
953
+ /** Type of scalar aggregation. */
954
+ type?: ScalarTypeWithLiterals;
955
+ /** Value of the scalar aggregation. */
956
+ value?: number;
957
+ }
958
+ interface NestedValueAggregationResult {
959
+ /**
960
+ * Value of the field.
961
+ * @maxLength 1000
962
+ */
963
+ value?: string;
964
+ /** Nested aggregations. */
965
+ nestedResults?: NestedAggregationResults;
966
+ }
967
+ interface ValueResult {
968
+ /**
969
+ * Value of the field.
970
+ * @maxLength 1000
971
+ */
972
+ value?: string;
973
+ /** Count of entities with this value. */
974
+ count?: number | null;
975
+ }
976
+ interface RangeResult {
977
+ /** Inclusive lower bound of the range. */
978
+ from?: number | null;
979
+ /** Exclusive upper bound of the range. */
980
+ to?: number | null;
981
+ /** Count of entities in this range. */
982
+ count?: number | null;
983
+ }
984
+ interface ScalarResult {
985
+ /** Value of the scalar aggregation. */
986
+ value?: number;
987
+ }
988
+ interface NestedResultValue extends NestedResultValueResultOneOf {
989
+ /** Value aggregation result. */
990
+ value?: ValueResult;
991
+ /** Range aggregation result. */
992
+ range?: RangeResult;
993
+ /** Scalar aggregation result. */
994
+ scalar?: ScalarResult;
995
+ /** Date histogram aggregation result. */
996
+ dateHistogram?: ValueResult;
997
+ }
998
+ /** @oneof */
999
+ interface NestedResultValueResultOneOf {
1000
+ /** Value aggregation result. */
1001
+ value?: ValueResult;
1002
+ /** Range aggregation result. */
1003
+ range?: RangeResult;
1004
+ /** Scalar aggregation result. */
1005
+ scalar?: ScalarResult;
1006
+ /** Date histogram aggregation result. */
1007
+ dateHistogram?: ValueResult;
1008
+ }
1009
+ interface Results {
1010
+ /** List of nested aggregations. */
1011
+ results?: Record<string, NestedResultValue>;
1012
+ }
1013
+ interface DateHistogramResult {
1014
+ /**
1015
+ * Date in ISO 8601 format.
1016
+ * @maxLength 100
1017
+ */
1018
+ value?: string;
1019
+ /** Count of documents in the bucket. */
1020
+ count?: number;
1021
+ }
1022
+ interface GroupByValueResults {
1023
+ /**
1024
+ * List of value aggregations.
1025
+ * @maxSize 1000
1026
+ */
1027
+ results?: NestedValueAggregationResult[];
1028
+ }
1029
+ interface DateHistogramResults {
1030
+ /**
1031
+ * List of date histogram aggregations.
1032
+ * @maxSize 200
1033
+ */
1034
+ results?: DateHistogramResult[];
1035
+ }
1036
+ /**
1037
+ * Results of `NESTED` aggregation type in a flattened form.
1038
+ * Aggregations in resulting array are keyed by requested aggregation `name`.
1039
+ */
1040
+ interface NestedResults {
1041
+ /**
1042
+ * List of nested aggregations.
1043
+ * @maxSize 1000
1044
+ */
1045
+ results?: Results[];
1046
+ }
1047
+ interface AggregationResults extends AggregationResultsResultOneOf {
1048
+ /** Value aggregation results. */
1049
+ values?: ValueResults;
1050
+ /** Range aggregation results. */
1051
+ ranges?: RangeResults;
1052
+ /** Scalar aggregation results. */
1053
+ scalar?: AggregationResultsScalarResult;
1054
+ /** Group by value aggregation results. */
1055
+ groupedByValue?: GroupByValueResults;
1056
+ /** Date histogram aggregation results. */
1057
+ dateHistogram?: DateHistogramResults;
1058
+ /** Nested aggregation results. */
1059
+ nested?: NestedResults;
1060
+ /**
1061
+ * User-defined name of aggregation as derived from search request.
1062
+ * @maxLength 100
1063
+ */
1064
+ name?: string;
1065
+ /** Type of aggregation that must match provided kind as derived from search request. */
1066
+ type?: AggregationTypeWithLiterals;
1067
+ /**
1068
+ * Field to aggregate by as derived from search request.
1069
+ * @maxLength 200
1070
+ */
1071
+ fieldPath?: string;
1072
+ }
1073
+ /** @oneof */
1074
+ interface AggregationResultsResultOneOf {
1075
+ /** Value aggregation results. */
1076
+ values?: ValueResults;
1077
+ /** Range aggregation results. */
1078
+ ranges?: RangeResults;
1079
+ /** Scalar aggregation results. */
1080
+ scalar?: AggregationResultsScalarResult;
1081
+ /** Group by value aggregation results. */
1082
+ groupedByValue?: GroupByValueResults;
1083
+ /** Date histogram aggregation results. */
1084
+ dateHistogram?: DateHistogramResults;
1085
+ /** Nested aggregation results. */
1086
+ nested?: NestedResults;
423
1087
  }
424
1088
  interface DomainEvent extends DomainEventBodyOneOf {
425
1089
  createdEvent?: EntityCreatedEvent;
@@ -666,6 +1330,26 @@ declare enum WebhookIdentityType {
666
1330
  }
667
1331
  /** @enumType */
668
1332
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1333
+ declare enum State {
1334
+ /** Unknown state */
1335
+ UNKNOWN_STATE = "UNKNOWN_STATE",
1336
+ /** Member joined the program and became participant */
1337
+ JOINED = "JOINED",
1338
+ /** Participant completed the program, and could join again */
1339
+ COMPLETED = "COMPLETED",
1340
+ /** Participant failed to complete the program, and could join again */
1341
+ FAILED = "FAILED",
1342
+ /** Participant with ended pricing plan (PP), will be joined as renew PP */
1343
+ SUSPENDED = "SUSPENDED",
1344
+ /** Participant removed automatically after some program condition */
1345
+ AUTO_REMOVED = "AUTO_REMOVED",
1346
+ /** Participant removed by site owner */
1347
+ REMOVED = "REMOVED",
1348
+ /** Participant left the program by himself */
1349
+ LEFT = "LEFT"
1350
+ }
1351
+ /** @enumType */
1352
+ type StateWithLiterals = State | 'UNKNOWN_STATE' | 'JOINED' | 'COMPLETED' | 'FAILED' | 'SUSPENDED' | 'AUTO_REMOVED' | 'REMOVED' | 'LEFT';
669
1353
  interface BulkInviteToProgramRequest {
670
1354
  /**
671
1355
  * Program to which bulk invite participants.
@@ -862,6 +1546,18 @@ type CreateParticipantApplicationErrors = {
862
1546
  description?: string;
863
1547
  data?: Record<string, any>;
864
1548
  };
1549
+ /** @docsIgnore */
1550
+ type BulkUpdateParticipantTagsApplicationErrors = {
1551
+ code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
1552
+ description?: string;
1553
+ data?: Record<string, any>;
1554
+ };
1555
+ /** @docsIgnore */
1556
+ type BulkUpdateParticipantTagsByFilterApplicationErrors = {
1557
+ code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
1558
+ description?: string;
1559
+ data?: Record<string, any>;
1560
+ };
865
1561
 
866
1562
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
867
1563
  getUrl: (context: any) => string;
@@ -891,6 +1587,9 @@ declare function getParticipant(): __PublicMethodMetaInfo<'GET', {
891
1587
  }, GetParticipantRequest$1, GetParticipantRequest, GetParticipantResponse$1, GetParticipantResponse>;
892
1588
  declare function queryParticipants(): __PublicMethodMetaInfo<'POST', {}, QueryParticipantsRequest$1, QueryParticipantsRequest, QueryParticipantsResponse$1, QueryParticipantsResponse>;
893
1589
  declare function getAccessStatus(): __PublicMethodMetaInfo<'GET', {}, GetAccessStatusRequest$1, GetAccessStatusRequest, GetAccessStatusResponse$1, GetAccessStatusResponse>;
1590
+ declare function bulkUpdateParticipantTags(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateParticipantTagsRequest$1, BulkUpdateParticipantTagsRequest, BulkUpdateParticipantTagsResponse$1, BulkUpdateParticipantTagsResponse>;
1591
+ declare function bulkUpdateParticipantTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateParticipantTagsByFilterRequest$1, BulkUpdateParticipantTagsByFilterRequest, BulkUpdateParticipantTagsByFilterResponse$1, BulkUpdateParticipantTagsByFilterResponse>;
1592
+ declare function searchParticipants(): __PublicMethodMetaInfo<'POST', {}, SearchParticipantsRequest$1, SearchParticipantsRequest, SearchParticipantsResponse$1, SearchParticipantsResponse>;
894
1593
  declare function bulkInviteToProgram(): __PublicMethodMetaInfo<'POST', {}, BulkInviteToProgramRequest$1, BulkInviteToProgramRequest, BulkInviteToProgramResponse$1, BulkInviteToProgramResponse>;
895
1594
  declare function bulkInviteAllToProgram(): __PublicMethodMetaInfo<'POST', {}, BulkInviteAllToProgramRequest$1, BulkInviteAllToProgramRequest, BulkInviteAllToProgramResponse$1, BulkInviteAllToProgramResponse>;
896
1595
  declare function bulkAddToProgram(): __PublicMethodMetaInfo<'POST', {}, BulkAddToProgramRequest$1, BulkAddToProgramRequest, BulkAddToProgramResponse$1, BulkAddToProgramResponse>;
@@ -900,4 +1599,4 @@ declare function exportParticipantsStats(): __PublicMethodMetaInfo<'GET', {
900
1599
  programId: string;
901
1600
  }, ExportParticipantsStatsRequest$1, ExportParticipantsStatsRequest, ExportParticipantsStatsResponse$1, ExportParticipantsStatsResponse>;
902
1601
 
903
- export { type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type BehaviorBehaviorOneOf as BehaviorBehaviorOneOfOriginal, type Behavior as BehaviorOriginal, type BenefitNotification as BenefitNotificationOriginal, type Benefit as BenefitOriginal, BenefitType as BenefitTypeOriginal, type BenefitTypeWithLiterals as BenefitTypeWithLiteralsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkAddAllToProgramRequest as BulkAddAllToProgramRequestOriginal, type BulkAddAllToProgramResponse as BulkAddAllToProgramResponseOriginal, type BulkAddToProgramRequest as BulkAddToProgramRequestOriginal, type BulkAddToProgramResponse as BulkAddToProgramResponseOriginal, type BulkAddToProgramResult as BulkAddToProgramResultOriginal, type BulkApproveAllParticipantRequest as BulkApproveAllParticipantRequestOriginal, type BulkApproveAllParticipantResponse as BulkApproveAllParticipantResponseOriginal, type BulkApproveParticipantRequest as BulkApproveParticipantRequestOriginal, type BulkApproveParticipantResponse as BulkApproveParticipantResponseOriginal, type BulkApproveParticipantResult as BulkApproveParticipantResultOriginal, type BulkCreateParticipantRequest as BulkCreateParticipantRequestOriginal, type BulkCreateParticipantResponse as BulkCreateParticipantResponseOriginal, type BulkInviteAllToProgramRequest as BulkInviteAllToProgramRequestOriginal, type BulkInviteAllToProgramResponse as BulkInviteAllToProgramResponseOriginal, type BulkInviteToProgramRequest as BulkInviteToProgramRequestOriginal, type BulkInviteToProgramResponse as BulkInviteToProgramResponseOriginal, type BulkInviteToProgramResult as BulkInviteToProgramResultOriginal, type BulkParticipantResult as BulkParticipantResultOriginal, type Certificate as CertificateOriginal, type CommonBulkActionMetadata as CommonBulkActionMetadataOriginal, type CommonItemMetadata as CommonItemMetadataOriginal, type CreateParticipantApplicationErrors as CreateParticipantApplicationErrorsOriginal, type CreateParticipantRequest as CreateParticipantRequestOriginal, type CreateParticipantResponse as CreateParticipantResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DeleteParticipantRequest as DeleteParticipantRequestOriginal, type DeleteParticipantResponse as DeleteParticipantResponseOriginal, type DiscountDiscountOneOf as DiscountDiscountOneOfOriginal, type Discount as DiscountOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EntryPass as EntryPassOriginal, Event as EventOriginal, type EventWithLiterals as EventWithLiteralsOriginal, type ExportParticipantsStatsRequest as ExportParticipantsStatsRequestOriginal, type ExportParticipantsStatsResponse as ExportParticipantsStatsResponseOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FreeCouponDetails as FreeCouponDetailsOriginal, type GetAccessStatusRequest as GetAccessStatusRequestOriginal, type GetAccessStatusResponse as GetAccessStatusResponseOriginal, type GetCompletionStatsRequest as GetCompletionStatsRequestOriginal, type GetCompletionStatsResponse as GetCompletionStatsResponseOriginal, type GetParticipantRequest as GetParticipantRequestOriginal, type GetParticipantResponse as GetParticipantResponseOriginal, type GetPremiumStatsRequest as GetPremiumStatsRequestOriginal, type GetPremiumStatsResponse as GetPremiumStatsResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type IssueCertificateRequest as IssueCertificateRequestOriginal, type IssueCertificateResponse as IssueCertificateResponseOriginal, type ItemMetadata as ItemMetadataOriginal, JoinPath as JoinPathOriginal, type JoinPathWithLiterals as JoinPathWithLiteralsOriginal, type JoinedInfoJoinPathDetailsOneOf as JoinedInfoJoinPathDetailsOneOfOriginal, type JoinedInfo as JoinedInfoOriginal, type Member as MemberOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type PaidPlanDetails as PaidPlanDetailsOriginal, type ParticipantAdded as ParticipantAddedOriginal, type ParticipantApproved as ParticipantApprovedOriginal, type ParticipantExportsFinished as ParticipantExportsFinishedOriginal, type ParticipantInvited as ParticipantInvitedOriginal, type Participant as ParticipantOriginal, type Progress as ProgressOriginal, type QueryParticipantsRequest as QueryParticipantsRequestOriginal, type QueryParticipantsResponse as QueryParticipantsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type SinglePaymentDetails as SinglePaymentDetailsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkAddAllToProgram, bulkAddToProgram, bulkApproveAllParticipant, bulkApproveParticipant, bulkCreateParticipant, bulkInviteAllToProgram, bulkInviteToProgram, createParticipant, deleteParticipant, exportParticipantsStats, getAccessStatus, getCompletionStats, getParticipant, getPremiumStats, issueCertificate, queryParticipants };
1602
+ export { type ActionEvent as ActionEventOriginal, type AggregationData as AggregationDataOriginal, type AggregationKindOneOf as AggregationKindOneOfOriginal, type Aggregation as AggregationOriginal, type AggregationResults as AggregationResultsOriginal, type AggregationResultsResultOneOf as AggregationResultsResultOneOfOriginal, type AggregationResultsScalarResult as AggregationResultsScalarResultOriginal, AggregationType as AggregationTypeOriginal, type AggregationTypeWithLiterals as AggregationTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type BehaviorBehaviorOneOf as BehaviorBehaviorOneOfOriginal, type Behavior as BehaviorOriginal, type BenefitNotification as BenefitNotificationOriginal, type Benefit as BenefitOriginal, BenefitType as BenefitTypeOriginal, type BenefitTypeWithLiterals as BenefitTypeWithLiteralsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkAddAllToProgramRequest as BulkAddAllToProgramRequestOriginal, type BulkAddAllToProgramResponse as BulkAddAllToProgramResponseOriginal, type BulkAddToProgramRequest as BulkAddToProgramRequestOriginal, type BulkAddToProgramResponse as BulkAddToProgramResponseOriginal, type BulkAddToProgramResult as BulkAddToProgramResultOriginal, type BulkApproveAllParticipantRequest as BulkApproveAllParticipantRequestOriginal, type BulkApproveAllParticipantResponse as BulkApproveAllParticipantResponseOriginal, type BulkApproveParticipantRequest as BulkApproveParticipantRequestOriginal, type BulkApproveParticipantResponse as BulkApproveParticipantResponseOriginal, type BulkApproveParticipantResult as BulkApproveParticipantResultOriginal, type BulkCreateParticipantRequest as BulkCreateParticipantRequestOriginal, type BulkCreateParticipantResponse as BulkCreateParticipantResponseOriginal, type BulkInviteAllToProgramRequest as BulkInviteAllToProgramRequestOriginal, type BulkInviteAllToProgramResponse as BulkInviteAllToProgramResponseOriginal, type BulkInviteToProgramRequest as BulkInviteToProgramRequestOriginal, type BulkInviteToProgramResponse as BulkInviteToProgramResponseOriginal, type BulkInviteToProgramResult as BulkInviteToProgramResultOriginal, type BulkParticipantResult as BulkParticipantResultOriginal, type BulkUpdateParticipantTagsApplicationErrors as BulkUpdateParticipantTagsApplicationErrorsOriginal, type BulkUpdateParticipantTagsByFilterApplicationErrors as BulkUpdateParticipantTagsByFilterApplicationErrorsOriginal, type BulkUpdateParticipantTagsByFilterRequest as BulkUpdateParticipantTagsByFilterRequestOriginal, type BulkUpdateParticipantTagsByFilterResponse as BulkUpdateParticipantTagsByFilterResponseOriginal, type BulkUpdateParticipantTagsRequest as BulkUpdateParticipantTagsRequestOriginal, type BulkUpdateParticipantTagsResponse as BulkUpdateParticipantTagsResponseOriginal, type BulkUpdateParticipantTagsResult as BulkUpdateParticipantTagsResultOriginal, type Certificate as CertificateOriginal, type CommonBulkActionMetadata as CommonBulkActionMetadataOriginal, type CommonItemMetadata as CommonItemMetadataOriginal, type CreateParticipantApplicationErrors as CreateParticipantApplicationErrorsOriginal, type CreateParticipantRequest as CreateParticipantRequestOriginal, type CreateParticipantResponse as CreateParticipantResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type CursorSearch as CursorSearchOriginal, type CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DateHistogramAggregation as DateHistogramAggregationOriginal, type DateHistogramResult as DateHistogramResultOriginal, type DateHistogramResults as DateHistogramResultsOriginal, type DeleteParticipantRequest as DeleteParticipantRequestOriginal, type DeleteParticipantResponse as DeleteParticipantResponseOriginal, type DiscountDiscountOneOf as DiscountDiscountOneOfOriginal, type Discount as DiscountOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EntryPass as EntryPassOriginal, Event as EventOriginal, type EventWithLiterals as EventWithLiteralsOriginal, type ExportParticipantsStatsRequest as ExportParticipantsStatsRequestOriginal, type ExportParticipantsStatsResponse as ExportParticipantsStatsResponseOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FreeCouponDetails as FreeCouponDetailsOriginal, type GetAccessStatusRequest as GetAccessStatusRequestOriginal, type GetAccessStatusResponse as GetAccessStatusResponseOriginal, type GetCompletionStatsRequest as GetCompletionStatsRequestOriginal, type GetCompletionStatsResponse as GetCompletionStatsResponseOriginal, type GetParticipantRequest as GetParticipantRequestOriginal, type GetParticipantResponse as GetParticipantResponseOriginal, type GetPremiumStatsRequest as GetPremiumStatsRequestOriginal, type GetPremiumStatsResponse as GetPremiumStatsResponseOriginal, type GroupByAggregationKindOneOf as GroupByAggregationKindOneOfOriginal, type GroupByAggregation as GroupByAggregationOriginal, type GroupByValueResults as GroupByValueResultsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type IncludeMissingValuesOptions as IncludeMissingValuesOptionsOriginal, Interval as IntervalOriginal, type IntervalWithLiterals as IntervalWithLiteralsOriginal, type IssueCertificateRequest as IssueCertificateRequestOriginal, type IssueCertificateResponse as IssueCertificateResponseOriginal, type ItemMetadata as ItemMetadataOriginal, JoinPath as JoinPathOriginal, type JoinPathWithLiterals as JoinPathWithLiteralsOriginal, type JoinedInfoJoinPathDetailsOneOf as JoinedInfoJoinPathDetailsOneOfOriginal, type JoinedInfo as JoinedInfoOriginal, type Member as MemberOriginal, type MessageEnvelope as MessageEnvelopeOriginal, MissingValues as MissingValuesOriginal, type MissingValuesWithLiterals as MissingValuesWithLiteralsOriginal, Mode as ModeOriginal, type ModeWithLiterals as ModeWithLiteralsOriginal, type NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOfOriginal, type NestedAggregationItem as NestedAggregationItemOriginal, type NestedAggregation as NestedAggregationOriginal, type NestedAggregationResults as NestedAggregationResultsOriginal, type NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOfOriginal, NestedAggregationType as NestedAggregationTypeOriginal, type NestedAggregationTypeWithLiterals as NestedAggregationTypeWithLiteralsOriginal, type NestedResultValue as NestedResultValueOriginal, type NestedResultValueResultOneOf as NestedResultValueResultOneOfOriginal, type NestedResults as NestedResultsOriginal, type NestedValueAggregationResult as NestedValueAggregationResultOriginal, type PaidPlanDetails as PaidPlanDetailsOriginal, type ParticipantAdded as ParticipantAddedOriginal, type ParticipantApproved as ParticipantApprovedOriginal, type ParticipantExportsFinished as ParticipantExportsFinishedOriginal, type ParticipantInvited as ParticipantInvitedOriginal, type Participant as ParticipantOriginal, type Progress as ProgressOriginal, type QueryParticipantsRequest as QueryParticipantsRequestOriginal, type QueryParticipantsResponse as QueryParticipantsResponseOriginal, type RangeAggregation as RangeAggregationOriginal, type RangeAggregationResult as RangeAggregationResultOriginal, type RangeBucket as RangeBucketOriginal, type RangeResult as RangeResultOriginal, type RangeResults as RangeResultsOriginal, type RestoreInfo as RestoreInfoOriginal, type Results as ResultsOriginal, type ScalarAggregation as ScalarAggregationOriginal, type ScalarResult as ScalarResultOriginal, ScalarType as ScalarTypeOriginal, type ScalarTypeWithLiterals as ScalarTypeWithLiteralsOriginal, type SearchDetails as SearchDetailsOriginal, type SearchParticipantsRequest as SearchParticipantsRequestOriginal, type SearchParticipantsResponse as SearchParticipantsResponseOriginal, type SinglePaymentDetails as SinglePaymentDetailsOriginal, SortDirection as SortDirectionOriginal, type SortDirectionWithLiterals as SortDirectionWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, SortType as SortTypeOriginal, type SortTypeWithLiterals as SortTypeWithLiteralsOriginal, type Sorting as SortingOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type TagList as TagListOriginal, type TagsModified as TagsModifiedOriginal, type Tags as TagsOriginal, type ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOfOriginal, type ValueAggregation as ValueAggregationOriginal, type ValueAggregationResult as ValueAggregationResultOriginal, type ValueResult as ValueResultOriginal, type ValueResults as ValueResultsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkAddAllToProgram, bulkAddToProgram, bulkApproveAllParticipant, bulkApproveParticipant, bulkCreateParticipant, bulkInviteAllToProgram, bulkInviteToProgram, bulkUpdateParticipantTags, bulkUpdateParticipantTagsByFilter, createParticipant, deleteParticipant, exportParticipantsStats, getAccessStatus, getCompletionStats, getParticipant, getPremiumStats, issueCertificate, queryParticipants, searchParticipants };