@wix/auto_sdk_online-programs_participants 1.0.26 → 1.0.28

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 (23) hide show
  1. package/build/cjs/index.d.ts +12 -12
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +2 -2
  4. package/build/cjs/index.typings.js.map +1 -1
  5. package/build/cjs/meta.d.ts +81 -60
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/cjs/{online-programs-participants-v3-participant-participants.universal-Cpkfb79r.d.ts → online-programs-participants-v3-participant-participants.universal-BrdlJaIZ.d.ts} +119 -88
  8. package/build/es/index.d.mts +12 -12
  9. package/build/es/index.mjs.map +1 -1
  10. package/build/es/index.typings.d.mts +2 -2
  11. package/build/es/index.typings.mjs.map +1 -1
  12. package/build/es/meta.d.mts +81 -60
  13. package/build/es/meta.mjs.map +1 -1
  14. package/build/es/{online-programs-participants-v3-participant-participants.universal-Cpkfb79r.d.mts → online-programs-participants-v3-participant-participants.universal-BrdlJaIZ.d.mts} +119 -88
  15. package/build/internal/cjs/index.d.ts +12 -12
  16. package/build/internal/cjs/index.typings.d.ts +2 -2
  17. package/build/internal/cjs/meta.d.ts +81 -60
  18. package/build/internal/cjs/{online-programs-participants-v3-participant-participants.universal-Ch7bJyn2.d.ts → online-programs-participants-v3-participant-participants.universal-02Rnv8b6.d.ts} +119 -88
  19. package/build/internal/es/index.d.mts +12 -12
  20. package/build/internal/es/index.typings.d.mts +2 -2
  21. package/build/internal/es/meta.d.mts +81 -60
  22. package/build/internal/es/{online-programs-participants-v3-participant-participants.universal-Ch7bJyn2.d.mts → online-programs-participants-v3-participant-participants.universal-02Rnv8b6.d.mts} +119 -88
  23. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { P as Participant, C as CreateParticipantOptions, a as CreateParticipantApplicationErrors, U as UpdateParticipant, b as UpdateParticipantOptions, B as BulkCreateParticipantsOptions, c as BulkCreateParticipantsResponse, d as BulkCreateParticipantsApplicationErrors, e as BulkCreateParticipantsForAllMembersOptions, f as BulkCreateParticipantsForAllMembersResponse, I as IssueCertificateOptions, g as IssueCertificateResponse, h as IssueCertificateApplicationErrors, G as GetCertificateDownloadUrlResponse, i as GetCertificateDownloadUrlApplicationErrors, j as GetPremiumStatsResponse, k as GetParticipationStatsResponse, l as GetParticipantOptions, m as GetAccessStatusResponse, n as BulkUpdateParticipantTagsOptions, o as BulkUpdateParticipantTagsResponse, p as BulkUpdateParticipantTagsApplicationErrors, q as BulkUpdateParticipantTagsByFilterOptions, r as BulkUpdateParticipantTagsByFilterResponse, s as BulkUpdateParticipantTagsByFilterApplicationErrors, t as ParticipantSearch, S as SearchParticipantsOptions, u as SearchParticipantsResponse, v as ParticipantCompletedProgramEnvelope, w as ParticipantCreatedEnvelope, x as ParticipantDeletedEnvelope, y as ParticipantLeftEnvelope, z as ParticipantMissedProgramDeadlineEnvelope, A as ParticipantProgramDurationEndedEnvelope, D as ParticipantRemovedEnvelope, E as ParticipantTagsModifiedEnvelope, F as ParticipantUpdatedEnvelope, H as ParticipantQuery, Q as QueryParticipantsOptions, J as typedQueryParticipants, K as ParticipantsQueryBuilder } from './online-programs-participants-v3-participant-participants.universal-Ch7bJyn2.mjs';
3
- export { bT as AccountInfo, bY as AccountInfoMetadata, bO as ActionEvent, b7 as Aggregation, bn as AggregationData, b8 as AggregationKindOneOf, bG as AggregationResults, bH as AggregationResultsResultOneOf, bu as AggregationResultsScalarResult, $ as AggregationType, cd as AggregationTypeWithLiterals, av as ApplicationError, bW as BaseEventMetadata, aw as BulkActionMetadata, O as BulkActionType, c5 as BulkActionTypeWithLiterals, aH as BulkCreateParticipantsForAllMembersRequest, as as BulkCreateParticipantsRequest, aA as BulkParticipantMigrationResult, at as BulkParticipantResult, b3 as BulkUpdateParticipantTagsByFilterRequest, b1 as BulkUpdateParticipantTagsRequest, b2 as BulkUpdateParticipantTagsResult, ax as BulkUpsertParticipantsMigrationRequest, az as BulkUpsertParticipantsMigrationResponse, a6 as CertificateInfo, cg as CommonQueryWithEntityContext, ch as CommonSearchWithEntityContext, ao as CreateParticipantRequest, ap as CreateParticipantResponse, aY as CursorPaging, bm as CursorPagingMetadata, b5 as CursorSearch, b6 as CursorSearchPagingMethodOneOf, a$ as Cursors, bf as DateHistogramAggregation, bC as DateHistogramResult, bE as DateHistogramResults, ag as Delete, aB as DeleteAllParticipantsMigrationRequest, aC as DeleteAllParticipantsMigrationResponse, aI as DeleteParticipantRequest, aJ as DeleteParticipantResponse, bI as DomainEvent, bJ as DomainEventBodyOneOf, bP as Empty, a8 as EnrollmentInfo, a9 as EnrollmentInfoPricingTypeDetailsOneOf, M as EnrollmentStatus, c2 as EnrollmentStatusWithLiterals, bK as EntityCreatedEvent, bN as EntityDeletedEvent, bM as EntityUpdatedEvent, bX as EventMetadata, bU as ExportParticipantsStatsRequest, bV as ExportParticipantsStatsResponse, aa as ExtendedFields, a4 as FreeCouponDetails, b0 as GetAccessStatusRequest, aL as GetCertificateDownloadUrlRequest, aM as GetCompletionStatsRequest, aN as GetCompletionStatsResponse, aR as GetParticipantRequest, aS as GetParticipantResponse, aP as GetParticipationStatsRequest, aO as GetPremiumStatsRequest, bj as GroupByAggregation, bk as GroupByAggregationKindOneOf, bD as GroupByValueResults, bR as IdentificationData, bS as IdentificationDataIdOneOf, ba as IncludeMissingValuesOptions, _ as Interval, cc as IntervalWithLiterals, aK as IssueCertificateRequest, au as ItemMetadata, a7 as Member, bQ as MessageEnvelope, X as MissingValues, c9 as MissingValuesWithLiterals, a0 as Mode, ce as ModeWithLiterals, bi as NestedAggregation, bg as NestedAggregationItem, bh as NestedAggregationItemKindOneOf, bq as NestedAggregationResults, br as NestedAggregationResultsResultOneOf, Z as NestedAggregationType, cb as NestedAggregationTypeWithLiterals, bz as NestedResultValue, bA as NestedResultValueResultOneOf, bF as NestedResults, bv as NestedValueAggregationResult, aX as Paging, a_ as PagingMetadataV2, a3 as PaidPlanDetails, aj as ParticipantCompletedProgram, an as ParticipantLeft, ay as ParticipantMigration, ak as ParticipantMissedProgramDeadline, al as ParticipantProgramDurationEnded, b_ as ParticipantQuerySpec, am as ParticipantRemoved, b$ as ParticipantSearchSpec, ai as ParticipantTagsModified, bZ as ParticipantsQueryResult, L as PricingType, c1 as PricingTypeWithLiterals, aQ as ProgramParticipationStats, a5 as Progress, N as ProgressStatus, c3 as ProgressStatusWithLiterals, aT as QueryParticipantsRequest, aZ as QueryParticipantsResponse, aU as QueryV2, aV as QueryV2PagingMethodOneOf, bd as RangeAggregation, bp as RangeAggregationResult, b9 as RangeBucket, bx as RangeResult, bt as RangeResults, ad as ReindexMessage, ae as ReindexMessageActionOneOf, aD as ReindexParticipantsSearchRequest, aE as ReindexParticipantsSearchResponse, R as RequestedFields, c4 as RequestedFieldsWithLiterals, bL as RestoreInfo, bB as Results, be as ScalarAggregation, by as ScalarResult, Y as ScalarType, ca as ScalarTypeWithLiterals, ah as Schema, bl as SearchDetails, b4 as SearchParticipantsRequest, a2 as SinglePaymentDetails, W as SortDirection, c8 as SortDirectionWithLiterals, T as SortOrder, c6 as SortOrderWithLiterals, V as SortType, c7 as SortTypeWithLiterals, aW as Sorting, aF as SynchronizeTimeCapsuleTasksRequest, aG as SynchronizeTimeCapsuleTasksResponse, ac as TagList, ab as Tags, aq as UpdateParticipantRequest, ar as UpdateParticipantResponse, af as Upsert, bb as ValueAggregation, bc as ValueAggregationOptionsOneOf, bo as ValueAggregationResult, bw as ValueResult, bs as ValueResults, a1 as WebhookIdentityType, cf as WebhookIdentityTypeWithLiterals, c0 as utils } from './online-programs-participants-v3-participant-participants.universal-Ch7bJyn2.mjs';
2
+ import { P as Participant, C as CreateParticipantOptions, a as CreateParticipantApplicationErrors, U as UpdateParticipant, b as UpdateParticipantOptions, B as BulkCreateParticipantsOptions, c as BulkCreateParticipantsResponse, d as BulkCreateParticipantsApplicationErrors, e as BulkCreateParticipantsForAllMembersOptions, f as BulkCreateParticipantsForAllMembersResponse, I as IssueCertificateOptions, g as IssueCertificateResponse, h as IssueCertificateApplicationErrors, G as GetCertificateDownloadUrlResponse, i as GetCertificateDownloadUrlApplicationErrors, j as GetPremiumStatsResponse, k as GetParticipationStatsResponse, l as GetParticipantOptions, m as GetAccessStatusResponse, n as BulkUpdateParticipantTagsOptions, o as BulkUpdateParticipantTagsResponse, p as BulkUpdateParticipantTagsApplicationErrors, q as BulkUpdateParticipantTagsByFilterOptions, r as BulkUpdateParticipantTagsByFilterResponse, s as BulkUpdateParticipantTagsByFilterApplicationErrors, t as ParticipantSearch, S as SearchParticipantsOptions, u as SearchParticipantsResponse, v as ParticipantCompletedProgramEnvelope, w as ParticipantCreatedEnvelope, x as ParticipantDeletedEnvelope, y as ParticipantLeftEnvelope, z as ParticipantMissedProgramDeadlineEnvelope, A as ParticipantProgramDurationEndedEnvelope, D as ParticipantRemovedEnvelope, E as ParticipantTagsModifiedEnvelope, F as ParticipantUpdatedEnvelope, H as ParticipantQuery, Q as QueryParticipantsOptions, J as typedQueryParticipants, K as ParticipantsQueryBuilder } from './online-programs-participants-v3-participant-participants.universal-02Rnv8b6.mjs';
3
+ export { bT as AccountInfo, bY as AccountInfoMetadata, bO as ActionEvent, b7 as Aggregation, bn as AggregationData, b8 as AggregationKindOneOf, bG as AggregationResults, bH as AggregationResultsResultOneOf, bu as AggregationResultsScalarResult, $ as AggregationType, cd as AggregationTypeWithLiterals, av as ApplicationError, bW as BaseEventMetadata, aw as BulkActionMetadata, O as BulkActionType, c5 as BulkActionTypeWithLiterals, aH as BulkCreateParticipantsForAllMembersRequest, as as BulkCreateParticipantsRequest, aA as BulkParticipantMigrationResult, at as BulkParticipantResult, b3 as BulkUpdateParticipantTagsByFilterRequest, b1 as BulkUpdateParticipantTagsRequest, b2 as BulkUpdateParticipantTagsResult, ax as BulkUpsertParticipantsMigrationRequest, az as BulkUpsertParticipantsMigrationResponse, a6 as CertificateInfo, cg as CommonQueryWithEntityContext, ch as CommonSearchWithEntityContext, ao as CreateParticipantRequest, ap as CreateParticipantResponse, aY as CursorPaging, bm as CursorPagingMetadata, b5 as CursorSearch, b6 as CursorSearchPagingMethodOneOf, a$ as Cursors, bf as DateHistogramAggregation, bC as DateHistogramResult, bE as DateHistogramResults, ag as Delete, aB as DeleteAllParticipantsMigrationRequest, aC as DeleteAllParticipantsMigrationResponse, aI as DeleteParticipantRequest, aJ as DeleteParticipantResponse, bI as DomainEvent, bJ as DomainEventBodyOneOf, bP as Empty, a8 as EnrollmentInfo, a9 as EnrollmentInfoPricingTypeDetailsOneOf, M as EnrollmentStatus, c2 as EnrollmentStatusWithLiterals, bK as EntityCreatedEvent, bN as EntityDeletedEvent, bM as EntityUpdatedEvent, bX as EventMetadata, bU as ExportParticipantsStatsRequest, bV as ExportParticipantsStatsResponse, aa as ExtendedFields, a4 as FreeCouponDetails, b0 as GetAccessStatusRequest, aL as GetCertificateDownloadUrlRequest, aM as GetCompletionStatsRequest, aN as GetCompletionStatsResponse, aR as GetParticipantRequest, aS as GetParticipantResponse, aP as GetParticipationStatsRequest, aO as GetPremiumStatsRequest, bj as GroupByAggregation, bk as GroupByAggregationKindOneOf, bD as GroupByValueResults, bR as IdentificationData, bS as IdentificationDataIdOneOf, ba as IncludeMissingValuesOptions, _ as Interval, cc as IntervalWithLiterals, aK as IssueCertificateRequest, au as ItemMetadata, a7 as Member, bQ as MessageEnvelope, X as MissingValues, c9 as MissingValuesWithLiterals, a0 as Mode, ce as ModeWithLiterals, bi as NestedAggregation, bg as NestedAggregationItem, bh as NestedAggregationItemKindOneOf, bq as NestedAggregationResults, br as NestedAggregationResultsResultOneOf, Z as NestedAggregationType, cb as NestedAggregationTypeWithLiterals, bz as NestedResultValue, bA as NestedResultValueResultOneOf, bF as NestedResults, bv as NestedValueAggregationResult, aX as Paging, a_ as PagingMetadataV2, a3 as PaidPlanDetails, aj as ParticipantCompletedProgram, an as ParticipantLeft, ay as ParticipantMigration, ak as ParticipantMissedProgramDeadline, al as ParticipantProgramDurationEnded, b_ as ParticipantQuerySpec, am as ParticipantRemoved, b$ as ParticipantSearchSpec, ai as ParticipantTagsModified, bZ as ParticipantsQueryResult, L as PricingType, c1 as PricingTypeWithLiterals, aQ as ProgramParticipationStats, a5 as Progress, N as ProgressStatus, c3 as ProgressStatusWithLiterals, aT as QueryParticipantsRequest, aZ as QueryParticipantsResponse, aU as QueryV2, aV as QueryV2PagingMethodOneOf, bd as RangeAggregation, bp as RangeAggregationResult, b9 as RangeBucket, bx as RangeResult, bt as RangeResults, ad as ReindexMessage, ae as ReindexMessageActionOneOf, aD as ReindexParticipantsSearchRequest, aE as ReindexParticipantsSearchResponse, R as RequestedFields, c4 as RequestedFieldsWithLiterals, bL as RestoreInfo, bB as Results, be as ScalarAggregation, by as ScalarResult, Y as ScalarType, ca as ScalarTypeWithLiterals, ah as Schema, bl as SearchDetails, b4 as SearchParticipantsRequest, a2 as SinglePaymentDetails, W as SortDirection, c8 as SortDirectionWithLiterals, T as SortOrder, c6 as SortOrderWithLiterals, V as SortType, c7 as SortTypeWithLiterals, aW as Sorting, aF as SynchronizeTimeCapsuleTasksRequest, aG as SynchronizeTimeCapsuleTasksResponse, ac as TagList, ab as Tags, aq as UpdateParticipantRequest, ar as UpdateParticipantResponse, af as Upsert, bb as ValueAggregation, bc as ValueAggregationOptionsOneOf, bo as ValueAggregationResult, bw as ValueResult, bs as ValueResults, a1 as WebhookIdentityType, cf as WebhookIdentityTypeWithLiterals, c0 as utils } from './online-programs-participants-v3-participant-participants.universal-02Rnv8b6.mjs';
4
4
 
5
5
  declare function createParticipant$1(httpClient: HttpClient): CreateParticipantSignature;
6
6
  interface CreateParticipantSignature {
@@ -8,9 +8,9 @@ interface CreateParticipantSignature {
8
8
  * Creates a participant.
9
9
  *
10
10
  * Returns an error if the member is already a participant in the specified program.
11
- * Use UpdateParticipant to modify existing participants.
12
- * @param - Participant to create
13
- * @returns Created participant
11
+ * Use [Update Participant](https://dev.wix.com/docs/api-reference/business-management/online-programs/participants/update-participant) to modify existing participants.
12
+ * @param - Participant to create.
13
+ * @returns Created participant.
14
14
  */
15
15
  (participant: NonNullablePaths<Participant, `enrollmentInfo` | `enrollmentInfo.pricingType` | `memberId` | `programId`, 1>, options?: CreateParticipantOptions): Promise<NonNullablePaths<Participant, `memberId` | `programId` | `progress.totalStepsCompleted` | `progress.totalStepsAvailable` | `progress.completionPercentage` | `enrollmentStatus` | `progressStatus` | `enrollmentInfo.singlePaymentDetails.paymentOrderId` | `enrollmentInfo.paidPlanDetails.paidPlanId` | `enrollmentInfo.freeCouponDetails.freeCouponId` | `enrollmentInfo.timeZone` | `enrollmentInfo.startDate` | `enrollmentInfo.pricingType` | `tags.privateTags.tagIds`, 2> & {
16
16
  __applicationErrorsType?: CreateParticipantApplicationErrors;
@@ -27,7 +27,7 @@ interface UpdateParticipantSignature {
27
27
  * `SUSPENDED` or `JOINED`. To remove a participant, use `DeleteParticipant`.
28
28
  * Progress status is calculated from the participant's resolved steps and can't be updated.
29
29
  * @param - Participant ID.
30
- * @returns Updated participant
30
+ * @returns Updated participant.
31
31
  */
32
32
  (_id: string, participant: NonNullablePaths<UpdateParticipant, `revision`, 0>, options?: UpdateParticipantOptions): Promise<NonNullablePaths<Participant, `memberId` | `programId` | `progress.totalStepsCompleted` | `progress.totalStepsAvailable` | `progress.completionPercentage` | `enrollmentStatus` | `progressStatus` | `enrollmentInfo.singlePaymentDetails.paymentOrderId` | `enrollmentInfo.paidPlanDetails.paidPlanId` | `enrollmentInfo.freeCouponDetails.freeCouponId` | `enrollmentInfo.timeZone` | `enrollmentInfo.startDate` | `enrollmentInfo.pricingType` | `tags.privateTags.tagIds`, 2>>;
33
33
  }
@@ -39,10 +39,10 @@ interface BulkCreateParticipantsSignature {
39
39
  * All participants in a single bulk create request must belong to the same program.
40
40
  * Returns an error if the member is already a participant in the specified program.
41
41
  *
42
- * When `pricing_type` is `SINGLE_PAYMENT`, provide `single_payment_details`.
43
- * When `pricing_type` is `PAID_PLAN`, provide `paid_plan_details`.
44
- * When `pricing_type` is `FREE_COUPON`, provide `free_coupon_details`.
45
- * Other pricing types (`FREE`, `ADDED_MANUALLY`) do not require details.
42
+ * When `pricingType` is `SINGLE_PAYMENT`, provide `singlePaymentDetails`.
43
+ * When `pricingType` is `PAID_PLAN`, provide `paidPlanDetails`.
44
+ * When `pricingType` is `FREE_COUPON`, provide `freeCouponDetails`.
45
+ * Other pricing types (`FREE`, `ADDED_MANUALLY`) don't require details.
46
46
  * @param - List of participants to create.
47
47
  */
48
48
  (participants: NonNullablePaths<Participant, `enrollmentInfo` | `enrollmentInfo.pricingType` | `memberId` | `programId`, 1>[], options?: BulkCreateParticipantsOptions): Promise<NonNullablePaths<BulkCreateParticipantsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.memberId` | `results.${number}.item.programId` | `results.${number}.item.progress.totalStepsCompleted` | `results.${number}.item.progress.totalStepsAvailable` | `results.${number}.item.progress.completionPercentage` | `results.${number}.item.enrollmentStatus` | `results.${number}.item.progressStatus` | `results.${number}.item.enrollmentInfo.timeZone` | `results.${number}.item.enrollmentInfo.startDate` | `results.${number}.item.enrollmentInfo.pricingType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4> & {
@@ -137,7 +137,7 @@ interface BulkUpdateParticipantTagsSignature {
137
137
  * Adds or removes tags on multiple participants.
138
138
  *
139
139
  * Specify which tags to assign and which tags to unassign. At least one of `assignTags` or `unassignTags` must be provided.
140
- * @param - Participant IDs to update tags for (1-100 items)
140
+ * @param - IDs of the participants to update tags for. Provide 1 to 100 IDs.
141
141
  */
142
142
  (participantIds: string[], options?: BulkUpdateParticipantTagsOptions): Promise<NonNullablePaths<BulkUpdateParticipantTagsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4> & {
143
143
  __applicationErrorsType?: BulkUpdateParticipantTagsApplicationErrors;
@@ -149,7 +149,7 @@ interface BulkUpdateParticipantTagsByFilterSignature {
149
149
  * Asynchronously updates tags on multiple participants that match the provided filter criteria.
150
150
  *
151
151
  * To check the status of the bulk update, pass the returned `jobId` to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job).
152
- * @param - WQL filter to select Participants
152
+ * @param - WQL filter that selects the participants to update.
153
153
  */
154
154
  (filter: Record<string, any>, options?: BulkUpdateParticipantTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateParticipantTagsByFilterResponse, `jobId`, 0> & {
155
155
  __applicationErrorsType?: BulkUpdateParticipantTagsByFilterApplicationErrors;
@@ -1,5 +1,5 @@
1
- import { b5 as CursorSearch, S as SearchParticipantsOptions, u as SearchParticipantsResponse } from './online-programs-participants-v3-participant-participants.universal-Ch7bJyn2.mjs';
2
- export { bT as AccountInfo, bY as AccountInfoMetadata, bO as ActionEvent, b7 as Aggregation, bn as AggregationData, b8 as AggregationKindOneOf, bG as AggregationResults, bH as AggregationResultsResultOneOf, bu as AggregationResultsScalarResult, $ as AggregationType, cd as AggregationTypeWithLiterals, av as ApplicationError, bW as BaseEventMetadata, aw as BulkActionMetadata, O as BulkActionType, c5 as BulkActionTypeWithLiterals, d as BulkCreateParticipantsApplicationErrors, e as BulkCreateParticipantsForAllMembersOptions, aH as BulkCreateParticipantsForAllMembersRequest, f as BulkCreateParticipantsForAllMembersResponse, B as BulkCreateParticipantsOptions, as as BulkCreateParticipantsRequest, c as BulkCreateParticipantsResponse, aA as BulkParticipantMigrationResult, at as BulkParticipantResult, p as BulkUpdateParticipantTagsApplicationErrors, s as BulkUpdateParticipantTagsByFilterApplicationErrors, q as BulkUpdateParticipantTagsByFilterOptions, b3 as BulkUpdateParticipantTagsByFilterRequest, r as BulkUpdateParticipantTagsByFilterResponse, n as BulkUpdateParticipantTagsOptions, b1 as BulkUpdateParticipantTagsRequest, o as BulkUpdateParticipantTagsResponse, b2 as BulkUpdateParticipantTagsResult, ax as BulkUpsertParticipantsMigrationRequest, az as BulkUpsertParticipantsMigrationResponse, a6 as CertificateInfo, cg as CommonQueryWithEntityContext, ch as CommonSearchWithEntityContext, a as CreateParticipantApplicationErrors, C as CreateParticipantOptions, ao as CreateParticipantRequest, ap as CreateParticipantResponse, aY as CursorPaging, bm as CursorPagingMetadata, b6 as CursorSearchPagingMethodOneOf, a$ as Cursors, bf as DateHistogramAggregation, bC as DateHistogramResult, bE as DateHistogramResults, ag as Delete, aB as DeleteAllParticipantsMigrationRequest, aC as DeleteAllParticipantsMigrationResponse, aI as DeleteParticipantRequest, aJ as DeleteParticipantResponse, bI as DomainEvent, bJ as DomainEventBodyOneOf, bP as Empty, a8 as EnrollmentInfo, a9 as EnrollmentInfoPricingTypeDetailsOneOf, M as EnrollmentStatus, c2 as EnrollmentStatusWithLiterals, bK as EntityCreatedEvent, bN as EntityDeletedEvent, bM as EntityUpdatedEvent, bX as EventMetadata, bU as ExportParticipantsStatsRequest, bV as ExportParticipantsStatsResponse, aa as ExtendedFields, a4 as FreeCouponDetails, b0 as GetAccessStatusRequest, m as GetAccessStatusResponse, i as GetCertificateDownloadUrlApplicationErrors, aL as GetCertificateDownloadUrlRequest, G as GetCertificateDownloadUrlResponse, aM as GetCompletionStatsRequest, aN as GetCompletionStatsResponse, l as GetParticipantOptions, aR as GetParticipantRequest, aS as GetParticipantResponse, aP as GetParticipationStatsRequest, k as GetParticipationStatsResponse, aO as GetPremiumStatsRequest, j as GetPremiumStatsResponse, bj as GroupByAggregation, bk as GroupByAggregationKindOneOf, bD as GroupByValueResults, bR as IdentificationData, bS as IdentificationDataIdOneOf, ba as IncludeMissingValuesOptions, _ as Interval, cc as IntervalWithLiterals, h as IssueCertificateApplicationErrors, I as IssueCertificateOptions, aK as IssueCertificateRequest, g as IssueCertificateResponse, au as ItemMetadata, a7 as Member, bQ as MessageEnvelope, X as MissingValues, c9 as MissingValuesWithLiterals, a0 as Mode, ce as ModeWithLiterals, bi as NestedAggregation, bg as NestedAggregationItem, bh as NestedAggregationItemKindOneOf, bq as NestedAggregationResults, br as NestedAggregationResultsResultOneOf, Z as NestedAggregationType, cb as NestedAggregationTypeWithLiterals, bz as NestedResultValue, bA as NestedResultValueResultOneOf, bF as NestedResults, bv as NestedValueAggregationResult, aX as Paging, a_ as PagingMetadataV2, a3 as PaidPlanDetails, P as Participant, aj as ParticipantCompletedProgram, v as ParticipantCompletedProgramEnvelope, w as ParticipantCreatedEnvelope, x as ParticipantDeletedEnvelope, an as ParticipantLeft, y as ParticipantLeftEnvelope, ay as ParticipantMigration, ak as ParticipantMissedProgramDeadline, z as ParticipantMissedProgramDeadlineEnvelope, al as ParticipantProgramDurationEnded, A as ParticipantProgramDurationEndedEnvelope, H as ParticipantQuery, b_ as ParticipantQuerySpec, am as ParticipantRemoved, D as ParticipantRemovedEnvelope, b$ as ParticipantSearchSpec, ai as ParticipantTagsModified, E as ParticipantTagsModifiedEnvelope, F as ParticipantUpdatedEnvelope, K as ParticipantsQueryBuilder, bZ as ParticipantsQueryResult, L as PricingType, c1 as PricingTypeWithLiterals, aQ as ProgramParticipationStats, a5 as Progress, N as ProgressStatus, c3 as ProgressStatusWithLiterals, Q as QueryParticipantsOptions, aT as QueryParticipantsRequest, aZ as QueryParticipantsResponse, aU as QueryV2, aV as QueryV2PagingMethodOneOf, bd as RangeAggregation, bp as RangeAggregationResult, b9 as RangeBucket, bx as RangeResult, bt as RangeResults, ad as ReindexMessage, ae as ReindexMessageActionOneOf, aD as ReindexParticipantsSearchRequest, aE as ReindexParticipantsSearchResponse, R as RequestedFields, c4 as RequestedFieldsWithLiterals, bL as RestoreInfo, bB as Results, be as ScalarAggregation, by as ScalarResult, Y as ScalarType, ca as ScalarTypeWithLiterals, ah as Schema, bl as SearchDetails, b4 as SearchParticipantsRequest, a2 as SinglePaymentDetails, W as SortDirection, c8 as SortDirectionWithLiterals, T as SortOrder, c6 as SortOrderWithLiterals, V as SortType, c7 as SortTypeWithLiterals, aW as Sorting, aF as SynchronizeTimeCapsuleTasksRequest, aG as SynchronizeTimeCapsuleTasksResponse, ac as TagList, ab as Tags, U as UpdateParticipant, b as UpdateParticipantOptions, aq as UpdateParticipantRequest, ar as UpdateParticipantResponse, af as Upsert, bb as ValueAggregation, bc as ValueAggregationOptionsOneOf, bo as ValueAggregationResult, bw as ValueResult, bs as ValueResults, a1 as WebhookIdentityType, cf as WebhookIdentityTypeWithLiterals, ct as bulkCreateParticipants, cu as bulkCreateParticipantsForAllMembers, cD as bulkUpdateParticipantTags, cE as bulkUpdateParticipantTagsByFilter, cr as createParticipant, cv as deleteParticipant, cF as exportParticipantsStats, cC as getAccessStatus, cx as getCertificateDownloadUrl, cA as getParticipant, cz as getParticipationStats, cy as getPremiumStats, cw as issueCertificate, ci as onParticipantCompletedProgram, cj as onParticipantCreated, ck as onParticipantDeleted, cl as onParticipantLeft, cm as onParticipantMissedProgramDeadline, cn as onParticipantProgramDurationEnded, co as onParticipantRemoved, cp as onParticipantTagsModified, cq as onParticipantUpdated, cB as queryParticipants, J as typedQueryParticipants, cs as updateParticipant, c0 as utils } from './online-programs-participants-v3-participant-participants.universal-Ch7bJyn2.mjs';
1
+ import { b5 as CursorSearch, S as SearchParticipantsOptions, u as SearchParticipantsResponse } from './online-programs-participants-v3-participant-participants.universal-02Rnv8b6.mjs';
2
+ export { bT as AccountInfo, bY as AccountInfoMetadata, bO as ActionEvent, b7 as Aggregation, bn as AggregationData, b8 as AggregationKindOneOf, bG as AggregationResults, bH as AggregationResultsResultOneOf, bu as AggregationResultsScalarResult, $ as AggregationType, cd as AggregationTypeWithLiterals, av as ApplicationError, bW as BaseEventMetadata, aw as BulkActionMetadata, O as BulkActionType, c5 as BulkActionTypeWithLiterals, d as BulkCreateParticipantsApplicationErrors, e as BulkCreateParticipantsForAllMembersOptions, aH as BulkCreateParticipantsForAllMembersRequest, f as BulkCreateParticipantsForAllMembersResponse, B as BulkCreateParticipantsOptions, as as BulkCreateParticipantsRequest, c as BulkCreateParticipantsResponse, aA as BulkParticipantMigrationResult, at as BulkParticipantResult, p as BulkUpdateParticipantTagsApplicationErrors, s as BulkUpdateParticipantTagsByFilterApplicationErrors, q as BulkUpdateParticipantTagsByFilterOptions, b3 as BulkUpdateParticipantTagsByFilterRequest, r as BulkUpdateParticipantTagsByFilterResponse, n as BulkUpdateParticipantTagsOptions, b1 as BulkUpdateParticipantTagsRequest, o as BulkUpdateParticipantTagsResponse, b2 as BulkUpdateParticipantTagsResult, ax as BulkUpsertParticipantsMigrationRequest, az as BulkUpsertParticipantsMigrationResponse, a6 as CertificateInfo, cg as CommonQueryWithEntityContext, ch as CommonSearchWithEntityContext, a as CreateParticipantApplicationErrors, C as CreateParticipantOptions, ao as CreateParticipantRequest, ap as CreateParticipantResponse, aY as CursorPaging, bm as CursorPagingMetadata, b6 as CursorSearchPagingMethodOneOf, a$ as Cursors, bf as DateHistogramAggregation, bC as DateHistogramResult, bE as DateHistogramResults, ag as Delete, aB as DeleteAllParticipantsMigrationRequest, aC as DeleteAllParticipantsMigrationResponse, aI as DeleteParticipantRequest, aJ as DeleteParticipantResponse, bI as DomainEvent, bJ as DomainEventBodyOneOf, bP as Empty, a8 as EnrollmentInfo, a9 as EnrollmentInfoPricingTypeDetailsOneOf, M as EnrollmentStatus, c2 as EnrollmentStatusWithLiterals, bK as EntityCreatedEvent, bN as EntityDeletedEvent, bM as EntityUpdatedEvent, bX as EventMetadata, bU as ExportParticipantsStatsRequest, bV as ExportParticipantsStatsResponse, aa as ExtendedFields, a4 as FreeCouponDetails, b0 as GetAccessStatusRequest, m as GetAccessStatusResponse, i as GetCertificateDownloadUrlApplicationErrors, aL as GetCertificateDownloadUrlRequest, G as GetCertificateDownloadUrlResponse, aM as GetCompletionStatsRequest, aN as GetCompletionStatsResponse, l as GetParticipantOptions, aR as GetParticipantRequest, aS as GetParticipantResponse, aP as GetParticipationStatsRequest, k as GetParticipationStatsResponse, aO as GetPremiumStatsRequest, j as GetPremiumStatsResponse, bj as GroupByAggregation, bk as GroupByAggregationKindOneOf, bD as GroupByValueResults, bR as IdentificationData, bS as IdentificationDataIdOneOf, ba as IncludeMissingValuesOptions, _ as Interval, cc as IntervalWithLiterals, h as IssueCertificateApplicationErrors, I as IssueCertificateOptions, aK as IssueCertificateRequest, g as IssueCertificateResponse, au as ItemMetadata, a7 as Member, bQ as MessageEnvelope, X as MissingValues, c9 as MissingValuesWithLiterals, a0 as Mode, ce as ModeWithLiterals, bi as NestedAggregation, bg as NestedAggregationItem, bh as NestedAggregationItemKindOneOf, bq as NestedAggregationResults, br as NestedAggregationResultsResultOneOf, Z as NestedAggregationType, cb as NestedAggregationTypeWithLiterals, bz as NestedResultValue, bA as NestedResultValueResultOneOf, bF as NestedResults, bv as NestedValueAggregationResult, aX as Paging, a_ as PagingMetadataV2, a3 as PaidPlanDetails, P as Participant, aj as ParticipantCompletedProgram, v as ParticipantCompletedProgramEnvelope, w as ParticipantCreatedEnvelope, x as ParticipantDeletedEnvelope, an as ParticipantLeft, y as ParticipantLeftEnvelope, ay as ParticipantMigration, ak as ParticipantMissedProgramDeadline, z as ParticipantMissedProgramDeadlineEnvelope, al as ParticipantProgramDurationEnded, A as ParticipantProgramDurationEndedEnvelope, H as ParticipantQuery, b_ as ParticipantQuerySpec, am as ParticipantRemoved, D as ParticipantRemovedEnvelope, b$ as ParticipantSearchSpec, ai as ParticipantTagsModified, E as ParticipantTagsModifiedEnvelope, F as ParticipantUpdatedEnvelope, K as ParticipantsQueryBuilder, bZ as ParticipantsQueryResult, L as PricingType, c1 as PricingTypeWithLiterals, aQ as ProgramParticipationStats, a5 as Progress, N as ProgressStatus, c3 as ProgressStatusWithLiterals, Q as QueryParticipantsOptions, aT as QueryParticipantsRequest, aZ as QueryParticipantsResponse, aU as QueryV2, aV as QueryV2PagingMethodOneOf, bd as RangeAggregation, bp as RangeAggregationResult, b9 as RangeBucket, bx as RangeResult, bt as RangeResults, ad as ReindexMessage, ae as ReindexMessageActionOneOf, aD as ReindexParticipantsSearchRequest, aE as ReindexParticipantsSearchResponse, R as RequestedFields, c4 as RequestedFieldsWithLiterals, bL as RestoreInfo, bB as Results, be as ScalarAggregation, by as ScalarResult, Y as ScalarType, ca as ScalarTypeWithLiterals, ah as Schema, bl as SearchDetails, b4 as SearchParticipantsRequest, a2 as SinglePaymentDetails, W as SortDirection, c8 as SortDirectionWithLiterals, T as SortOrder, c6 as SortOrderWithLiterals, V as SortType, c7 as SortTypeWithLiterals, aW as Sorting, aF as SynchronizeTimeCapsuleTasksRequest, aG as SynchronizeTimeCapsuleTasksResponse, ac as TagList, ab as Tags, U as UpdateParticipant, b as UpdateParticipantOptions, aq as UpdateParticipantRequest, ar as UpdateParticipantResponse, af as Upsert, bb as ValueAggregation, bc as ValueAggregationOptionsOneOf, bo as ValueAggregationResult, bw as ValueResult, bs as ValueResults, a1 as WebhookIdentityType, cf as WebhookIdentityTypeWithLiterals, ct as bulkCreateParticipants, cu as bulkCreateParticipantsForAllMembers, cD as bulkUpdateParticipantTags, cE as bulkUpdateParticipantTagsByFilter, cr as createParticipant, cv as deleteParticipant, cF as exportParticipantsStats, cC as getAccessStatus, cx as getCertificateDownloadUrl, cA as getParticipant, cz as getParticipationStats, cy as getPremiumStats, cw as issueCertificate, ci as onParticipantCompletedProgram, cj as onParticipantCreated, ck as onParticipantDeleted, cl as onParticipantLeft, cm as onParticipantMissedProgramDeadline, cn as onParticipantProgramDurationEnded, co as onParticipantRemoved, cp as onParticipantTagsModified, cq as onParticipantUpdated, cB as queryParticipants, J as typedQueryParticipants, cs as updateParticipant, c0 as utils } from './online-programs-participants-v3-participant-participants.universal-02Rnv8b6.mjs';
3
3
  import '@wix/sdk-types';
4
4
 
5
5
  /** @hidden */
@@ -1,8 +1,8 @@
1
- import { ao as CreateParticipantRequest$1, ap as CreateParticipantResponse$1, aq as UpdateParticipantRequest$1, ar as UpdateParticipantResponse$1, as as BulkCreateParticipantsRequest$1, c as BulkCreateParticipantsResponse$1, aH as BulkCreateParticipantsForAllMembersRequest$1, f as BulkCreateParticipantsForAllMembersResponse$1, aI as DeleteParticipantRequest$1, aJ as DeleteParticipantResponse$1, aK as IssueCertificateRequest$1, g as IssueCertificateResponse$1, aL as GetCertificateDownloadUrlRequest$1, G as GetCertificateDownloadUrlResponse$1, aO as GetPremiumStatsRequest$1, j as GetPremiumStatsResponse$1, aP as GetParticipationStatsRequest$1, k as GetParticipationStatsResponse$1, aR as GetParticipantRequest$1, aS as GetParticipantResponse$1, aT as QueryParticipantsRequest$1, aZ as QueryParticipantsResponse$1, b0 as GetAccessStatusRequest$1, m as GetAccessStatusResponse$1, b1 as BulkUpdateParticipantTagsRequest$1, o as BulkUpdateParticipantTagsResponse$1, b3 as BulkUpdateParticipantTagsByFilterRequest$1, r as BulkUpdateParticipantTagsByFilterResponse$1, b4 as SearchParticipantsRequest$1, u as SearchParticipantsResponse$1, bU as ExportParticipantsStatsRequest$1, bV as ExportParticipantsStatsResponse$1 } from './online-programs-participants-v3-participant-participants.universal-Ch7bJyn2.mjs';
1
+ import { ao as CreateParticipantRequest$1, ap as CreateParticipantResponse$1, aq as UpdateParticipantRequest$1, ar as UpdateParticipantResponse$1, as as BulkCreateParticipantsRequest$1, c as BulkCreateParticipantsResponse$1, aH as BulkCreateParticipantsForAllMembersRequest$1, f as BulkCreateParticipantsForAllMembersResponse$1, aI as DeleteParticipantRequest$1, aJ as DeleteParticipantResponse$1, aK as IssueCertificateRequest$1, g as IssueCertificateResponse$1, aL as GetCertificateDownloadUrlRequest$1, G as GetCertificateDownloadUrlResponse$1, aO as GetPremiumStatsRequest$1, j as GetPremiumStatsResponse$1, aP as GetParticipationStatsRequest$1, k as GetParticipationStatsResponse$1, aR as GetParticipantRequest$1, aS as GetParticipantResponse$1, aT as QueryParticipantsRequest$1, aZ as QueryParticipantsResponse$1, b0 as GetAccessStatusRequest$1, m as GetAccessStatusResponse$1, b1 as BulkUpdateParticipantTagsRequest$1, o as BulkUpdateParticipantTagsResponse$1, b3 as BulkUpdateParticipantTagsByFilterRequest$1, r as BulkUpdateParticipantTagsByFilterResponse$1, b4 as SearchParticipantsRequest$1, u as SearchParticipantsResponse$1, bU as ExportParticipantsStatsRequest$1, bV as ExportParticipantsStatsResponse$1 } from './online-programs-participants-v3-participant-participants.universal-02Rnv8b6.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
5
- * Participant entity represents a site member who takes part in a specific Online Program.
5
+ * A participant entity represents a site member who takes part in a specific Online Program.
6
6
  * Participants have access to the program's content and progress through the program by completing its steps.
7
7
  * A participant can join through a join application flow or be manually added by the program owner.
8
8
  * A participant's status depends on their progress and the program's settings (e.g., start and end dates). Participation may also be temporarily suspended.
@@ -15,17 +15,20 @@ interface Participant {
15
15
  */
16
16
  id?: string | null;
17
17
  /**
18
- * Participant revision (for optimistic concurrency control).
18
+ * Revision number, which increments by 1 each time the participant is updated.
19
+ * To prevent conflicting changes, the current revision must be specified when updating the participant.
20
+ *
21
+ * Ignored when creating a participant.
19
22
  * @readonly
20
23
  */
21
24
  revision?: string | null;
22
25
  /**
23
- * Participant creation date.
26
+ * Date and time the participant was created.
24
27
  * @readonly
25
28
  */
26
29
  createdDate?: Date | null;
27
30
  /**
28
- * Date the participant was last updated.
31
+ * Date and time the participant was updated.
29
32
  * @readonly
30
33
  */
31
34
  updatedDate?: Date | null;
@@ -42,17 +45,19 @@ interface Participant {
42
45
  */
43
46
  programId?: string;
44
47
  /**
45
- * Program completion progress. This field is conditional and must be explicitly requested via `fields` parameter.
48
+ * Program completion progress. This field is conditional and must be explicitly requested using the `fields` parameter.
46
49
  * @readonly
47
50
  */
48
51
  progress?: Progress;
49
52
  /**
50
- * Certificate info for participant
53
+ * Information about the participant's certificate.
54
+ *
55
+ * Returned only when a certificate has been issued to the participant.
51
56
  * @readonly
52
57
  */
53
58
  certificateInfo?: CertificateInfo;
54
59
  /**
55
- * Site member info snapshot for the participant
60
+ * Snapshot of the site member identified by `memberId`, copied from the Members API. It isn't the authoritative member record.
56
61
  * @readonly
57
62
  */
58
63
  member?: Member;
@@ -73,7 +78,11 @@ interface Participant {
73
78
  progressStatus?: ProgressStatusWithLiterals;
74
79
  /** Additional information about the participant's enrollment and completion timeframe in the program. */
75
80
  enrollmentInfo?: EnrollmentInfo;
76
- /** Extended fields for participant (can be used for storing custom data). */
81
+ /**
82
+ * Custom field data for the participant object.
83
+ *
84
+ * [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.
85
+ */
77
86
  extendedFields?: ExtendedFields;
78
87
  /** Tags for categorizing and organizing participants. */
79
88
  tags?: Tags;
@@ -100,7 +109,9 @@ interface SinglePaymentDetails {
100
109
  */
101
110
  paymentOrderId?: string;
102
111
  /**
103
- * ID of the offline transaction if the participant used an offline payment method (e.g., cash, check). Null if online payment was used.
112
+ * ID of the offline transaction.
113
+ *
114
+ * Available only when the participant paid with an offline payment method, such as cash or check.
104
115
  * @format GUID
105
116
  * @immutable
106
117
  */
@@ -128,8 +139,8 @@ interface Progress {
128
139
  /** Total number of program steps available to resolve. */
129
140
  totalStepsAvailable?: number;
130
141
  /**
131
- * Participant's completion percentage. For completed participants, this is 100.0. Otherwise, it is calculated as
132
- * (total_steps_completed / total_steps_available) * 100, capped at 100, and rounded to 1 decimal place.
142
+ * Participant's completion percentage. For participants who completed the program, this is `100.0`.
143
+ * Otherwise, it's calculated as (`totalStepsCompleted` / `totalStepsAvailable`) * 100, capped at `100`, and rounded to 1 decimal place.
133
144
  * @max 100
134
145
  */
135
146
  completionPercentage?: number;
@@ -143,31 +154,41 @@ interface CertificateInfo {
143
154
  }
144
155
  interface Member {
145
156
  /**
146
- * First name of the site member. Null if the member has not provided this information in their profile.
157
+ * First name of the site member.
158
+ *
159
+ * Returned only when the member has provided it in their profile.
147
160
  * @readonly
148
161
  * @maxLength 1000
149
162
  */
150
163
  firstName?: string | null;
151
164
  /**
152
- * Last name of the site member. Null if the member has not provided this information in their profile.
165
+ * Last name of the site member.
166
+ *
167
+ * Returned only when the member has provided it in their profile.
153
168
  * @readonly
154
169
  * @maxLength 1000
155
170
  */
156
171
  lastName?: string | null;
157
172
  /**
158
- * Email of the site member. Null if the member has not provided this information in their profile.
173
+ * Email of the site member.
174
+ *
175
+ * Returned only when the member has provided it in their profile.
159
176
  * @readonly
160
177
  * @format EMAIL
161
178
  */
162
179
  email?: string | null;
163
180
  /**
164
- * Contact ID for accessing additional member information via the Contacts API. Use this to retrieve extended contact details like phone numbers, addresses, and custom fields. Null if the member has not provided this information in their profile.
181
+ * Contact ID for accessing additional member information with the Contacts API, such as phone numbers, addresses, and custom fields.
182
+ *
183
+ * Returned only when the member has provided this information in their profile.
165
184
  * @format GUID
166
185
  * @readonly
167
186
  */
168
187
  contactId?: string | null;
169
188
  /**
170
- * Member nickname. Null if the member has not provided this information in their profile.
189
+ * Member nickname.
190
+ *
191
+ * Returned only when the member has provided it in their profile.
171
192
  * @readonly
172
193
  * @maxLength 1000
173
194
  */
@@ -202,7 +223,7 @@ declare enum ProgressStatus {
202
223
  COMPLETED = "COMPLETED",
203
224
  /** Participant failed to complete the program within the deadline. */
204
225
  FAILED = "FAILED",
205
- /** Progress tracking is not applicable — participant left, was removed, or was auto-removed. */
226
+ /** Progress tracking isn't applicable because the participant left, was removed, or was auto-removed. */
206
227
  NOT_APPLICABLE = "NOT_APPLICABLE"
207
228
  }
208
229
  /** @enumType */
@@ -221,7 +242,8 @@ interface EnrollmentInfo extends EnrollmentInfoPricingTypeDetailsOneOf {
221
242
  */
222
243
  timeZone?: string;
223
244
  /**
224
- * Date when the participant's program timeline begins. If the program's `timeline.startDate` is set, this is that date. Otherwise, it is the local calendar date when the participant is created, based on the site's time zone.
245
+ * Date when the participant's program timeline begins, in `YYYY-MM-DD` format.
246
+ * If the program's `timeline.startDate` is set, this is that date. Otherwise, it's the local calendar date when the participant is created, based on the site's time zone.
225
247
  * @format LOCAL_DATE
226
248
  * @readonly
227
249
  */
@@ -229,7 +251,9 @@ interface EnrollmentInfo extends EnrollmentInfoPricingTypeDetailsOneOf {
229
251
  /** Pricing type used for the participant's enrollment in the program. */
230
252
  pricingType?: PricingTypeWithLiterals;
231
253
  /**
232
- * Date by which the participant must complete the program. Null if the program has no deadline. Set if the program has a fixed end date or a duration-based deadline calculated from the participant's start date.
254
+ * Date by which the participant must complete the program, in `YYYY-MM-DD` format.
255
+ *
256
+ * Returned only when the program has a fixed end date, or a duration-based deadline calculated from the participant's start date.
233
257
  * @format LOCAL_DATE
234
258
  * @readonly
235
259
  */
@@ -321,16 +345,13 @@ interface Schema {
321
345
  label?: string;
322
346
  clusterName?: string;
323
347
  }
324
- /**
325
- * Domain event emitted when a participant's tags are modified.
326
- * Pre-publication rename from TagsModified; no consumers of the legacy FQN are known.
327
- */
348
+ /** Domain event emitted when a participant's tags are modified. */
328
349
  interface ParticipantTagsModified {
329
- /** The Participant with updated tags */
350
+ /** The participant with the updated tags. */
330
351
  participant?: Participant;
331
- /** Tags that were assigned */
352
+ /** Tags that were assigned. */
332
353
  assignedTags?: Tags;
333
- /** Tags that were unassigned */
354
+ /** Tags that were unassigned. */
334
355
  unassignedTags?: Tags;
335
356
  }
336
357
  /** Domain event emitted when a participant completes a program. */
@@ -434,11 +455,11 @@ interface ParticipantLeft {
434
455
  participant?: Participant;
435
456
  }
436
457
  interface CreateParticipantRequest {
437
- /** Participant to create */
458
+ /** Participant to create. */
438
459
  participant: Participant;
439
460
  /**
440
461
  * Array of conditional fields to include in the response.
441
- * Use `RequestedFields.PROGRESS` to include the progress field, which requires calculating completion statistics across all program steps. Only request this field when you need current progress data, as it impacts performance.
462
+ * Use `RequestedFields.PROGRESS` to include the `progress` field, which requires calculating completion statistics across all program steps. Only request this field when you need current progress data, as it impacts performance.
442
463
  * @maxSize 1
443
464
  */
444
465
  fields?: RequestedFieldsWithLiterals[];
@@ -454,7 +475,7 @@ declare enum RequestedFields {
454
475
  /** @enumType */
455
476
  type RequestedFieldsWithLiterals = RequestedFields | 'PROGRESS';
456
477
  interface CreateParticipantResponse {
457
- /** Created participant */
478
+ /** Created participant. */
458
479
  participant?: Participant;
459
480
  }
460
481
  interface UpdateParticipantRequest {
@@ -462,7 +483,7 @@ interface UpdateParticipantRequest {
462
483
  participant: Participant;
463
484
  /**
464
485
  * Array of conditional fields to include in the response.
465
- * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.
486
+ * Use `RequestedFields.PROGRESS` to include the `progress` field, which isn't returned by default.
466
487
  * @maxSize 1
467
488
  */
468
489
  fields?: RequestedFieldsWithLiterals[];
@@ -473,7 +494,7 @@ interface UpdateParticipantRequest {
473
494
  fieldMask?: string[];
474
495
  }
475
496
  interface UpdateParticipantResponse {
476
- /** Updated participant */
497
+ /** Updated participant. */
477
498
  participant?: Participant;
478
499
  }
479
500
  interface BulkCreateParticipantsRequest {
@@ -483,11 +504,11 @@ interface BulkCreateParticipantsRequest {
483
504
  * @maxSize 100
484
505
  */
485
506
  participants: Participant[];
486
- /** Whether to return entities in response or not. */
507
+ /** Whether to return the created participants in the response. */
487
508
  returnEntity?: boolean;
488
509
  /**
489
510
  * Array of conditional fields to include in the response.
490
- * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.
511
+ * Use `RequestedFields.PROGRESS` to include the `progress` field, which isn't returned by default.
491
512
  * @maxSize 1
492
513
  */
493
514
  fields?: RequestedFieldsWithLiterals[];
@@ -505,7 +526,7 @@ interface BulkCreateParticipantsResponse {
505
526
  interface BulkParticipantResult {
506
527
  /** Metadata for the item. */
507
528
  itemMetadata?: ItemMetadata;
508
- /** The participant entity. Empty if `return_entity` is `false`. */
529
+ /** The participant entity. Empty if `returnEntity` is `false`. */
509
530
  item?: Participant;
510
531
  }
511
532
  interface ItemMetadata {
@@ -565,7 +586,7 @@ interface BulkUpsertParticipantsMigrationResponse {
565
586
  interface BulkParticipantMigrationResult {
566
587
  /** Metadata for the item. */
567
588
  itemMetadata?: ItemMetadata;
568
- /** Action type of bulk action (INSERT OR UPDATE) for that endpoint. */
589
+ /** Action type of the bulk action (INSERT or UPDATE) for that method. */
569
590
  action?: BulkActionTypeWithLiterals;
570
591
  }
571
592
  declare enum BulkActionType {
@@ -601,7 +622,7 @@ interface SynchronizeTimeCapsuleTasksRequest {
601
622
  }
602
623
  interface SynchronizeTimeCapsuleTasksResponse {
603
624
  /**
604
- * ID of the asynchronous job that will process the request. Pass this ID to Get Async Job to track the operation status.
625
+ * Job ID. Pass this ID to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job) to retrieve the status of the asynchronous operation.
605
626
  * @format GUID
606
627
  */
607
628
  jobId?: string;
@@ -621,7 +642,7 @@ interface BulkCreateParticipantsForAllMembersRequest {
621
642
  }
622
643
  interface BulkCreateParticipantsForAllMembersResponse {
623
644
  /**
624
- * ID of the asynchronous job that will process the request. Pass this ID to Get Async Job to track the operation status.
645
+ * Job ID. Pass this ID to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job) to retrieve the status of the asynchronous operation.
625
646
  * @format GUID
626
647
  */
627
648
  jobId?: string;
@@ -643,13 +664,13 @@ interface IssueCertificateRequest {
643
664
  participantId: string;
644
665
  /**
645
666
  * Array of conditional fields to include in the response.
646
- * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.
667
+ * Use `RequestedFields.PROGRESS` to include the `progress` field, which isn't returned by default.
647
668
  * @maxSize 1
648
669
  */
649
670
  fields?: RequestedFieldsWithLiterals[];
650
671
  }
651
672
  interface IssueCertificateResponse {
652
- /** Updated participant */
673
+ /** Updated participant. */
653
674
  participant?: Participant;
654
675
  }
655
676
  interface GetCertificateDownloadUrlRequest {
@@ -676,19 +697,19 @@ interface GetCompletionStatsRequest {
676
697
  programId?: string;
677
698
  }
678
699
  interface GetCompletionStatsResponse {
679
- /** Number of participants that completed the program */
700
+ /** Number of participants who completed the program. */
680
701
  completedParticipantsCount?: number;
681
- /** Percentage of participants that completed the program */
702
+ /** Percentage of participants who completed the program. */
682
703
  completionRate?: number;
683
704
  }
684
705
  interface GetPremiumStatsRequest {
685
706
  }
686
707
  interface GetPremiumStatsResponse {
687
- /** True if site has Online Programs premium feature */
708
+ /** Whether the site has the Online Programs premium feature. */
688
709
  premiumEnabled?: boolean;
689
- /** Count of active participants on the site */
710
+ /** Number of active participants on the site. */
690
711
  activeParticipantsCount?: number;
691
- /** Limit of active participants on a site without premium */
712
+ /** Maximum number of active participants allowed on a site without premium. */
692
713
  activeParticipantsLimit?: number;
693
714
  }
694
715
  interface GetParticipationStatsRequest {
@@ -726,7 +747,7 @@ interface GetParticipantRequest {
726
747
  participantId: string;
727
748
  /**
728
749
  * Array of conditional fields to include in the response.
729
- * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.
750
+ * Use `RequestedFields.PROGRESS` to include the `progress` field, which isn't returned by default.
730
751
  * @maxSize 1
731
752
  */
732
753
  fields?: RequestedFieldsWithLiterals[];
@@ -736,11 +757,11 @@ interface GetParticipantResponse {
736
757
  participant?: Participant;
737
758
  }
738
759
  interface QueryParticipantsRequest {
739
- /** Platformized query */
760
+ /** Query options. */
740
761
  query?: QueryV2;
741
762
  /**
742
763
  * Array of conditional fields to include in the response.
743
- * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.
764
+ * Use `RequestedFields.PROGRESS` to include the `progress` field, which isn't returned by default.
744
765
  * @maxSize 1
745
766
  */
746
767
  fields?: RequestedFieldsWithLiterals[];
@@ -859,47 +880,47 @@ interface Cursors {
859
880
  interface GetAccessStatusRequest {
860
881
  }
861
882
  interface GetAccessStatusResponse {
862
- /** True if participants cannot access online programs due to some limitations */
883
+ /** Whether participants are blocked from accessing online programs because of site limitations. */
863
884
  accessBlocked?: boolean;
864
885
  }
865
886
  interface BulkUpdateParticipantTagsRequest {
866
887
  /**
867
- * Participant IDs to update tags for (1-100 items)
888
+ * IDs of the participants to update tags for. Provide 1 to 100 IDs.
868
889
  * @minSize 1
869
890
  * @maxSize 100
870
891
  * @format GUID
871
892
  */
872
893
  participantIds: string[];
873
- /** Tags to assign to the Participants */
894
+ /** Tags to assign to the participants. */
874
895
  assignTags?: Tags;
875
- /** Tags to unassign from the Participants */
896
+ /** Tags to unassign from the participants. */
876
897
  unassignTags?: Tags;
877
898
  }
878
899
  interface BulkUpdateParticipantTagsResponse {
879
900
  /**
880
- * Results for each Participant
901
+ * Results for each participant.
881
902
  * @minSize 1
882
903
  * @maxSize 100
883
904
  */
884
905
  results?: BulkUpdateParticipantTagsResult[];
885
- /** Metadata about the bulk operation */
906
+ /** Metadata about the bulk operation. */
886
907
  bulkActionMetadata?: BulkActionMetadata;
887
908
  }
888
909
  interface BulkUpdateParticipantTagsResult {
889
- /** Metadata for this specific item */
910
+ /** Metadata for this specific item. */
890
911
  itemMetadata?: ItemMetadata;
891
912
  }
892
913
  interface BulkUpdateParticipantTagsByFilterRequest {
893
- /** WQL filter to select Participants */
914
+ /** WQL filter that selects the participants to update. */
894
915
  filter: Record<string, any> | null;
895
- /** Tags to assign to matching Participants */
916
+ /** Tags to assign to matching participants. */
896
917
  assignTags?: Tags;
897
- /** Tags to unassign from matching Participants */
918
+ /** Tags to unassign from matching participants. */
898
919
  unassignTags?: Tags;
899
920
  }
900
921
  interface BulkUpdateParticipantTagsByFilterResponse {
901
922
  /**
902
- * Job ID for tracking the async operation. Pass this ID to Get Async Job to track the operation status.
923
+ * Job ID. Pass this ID to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job) to retrieve the status of the asynchronous operation.
903
924
  * @format GUID
904
925
  */
905
926
  jobId?: string;
@@ -909,7 +930,7 @@ interface SearchParticipantsRequest {
909
930
  search?: CursorSearch;
910
931
  /**
911
932
  * Array of conditional fields to include in the response.
912
- * Use RequestedFields.PROGRESS to include the progress field which is conditionally returned.
933
+ * Use `RequestedFields.PROGRESS` to include the `progress` field, which isn't returned by default.
913
934
  * @maxSize 1
914
935
  */
915
936
  fields?: RequestedFieldsWithLiterals[];