@wix/auto_sdk_online-programs_participants 1.0.11 → 1.0.13

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 +6 -134
  2. package/build/cjs/index.js +161 -1489
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +691 -12
  5. package/build/cjs/index.typings.js +174 -1372
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +184 -1274
  8. package/build/cjs/meta.js +19 -1060
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +6 -134
  11. package/build/es/index.mjs +144 -1446
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +691 -12
  14. package/build/es/index.typings.mjs +166 -1337
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +184 -1274
  17. package/build/es/meta.mjs +10 -1025
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +6 -145
  20. package/build/internal/cjs/index.js +161 -1489
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +691 -12
  23. package/build/internal/cjs/index.typings.js +174 -1372
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +184 -1274
  26. package/build/internal/cjs/meta.js +19 -1060
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +6 -145
  29. package/build/internal/es/index.mjs +144 -1446
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +691 -12
  32. package/build/internal/es/index.typings.mjs +166 -1337
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +184 -1274
  35. package/build/internal/es/meta.mjs +10 -1025
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
  38. package/build/cjs/online-programs-v3-participant-participants.universal-DRubTE1O.d.ts +0 -2228
  39. package/build/es/online-programs-v3-participant-participants.universal-DRubTE1O.d.mts +0 -2228
  40. package/build/internal/cjs/online-programs-v3-participant-participants.universal-DUdmZP01.d.ts +0 -2238
  41. package/build/internal/es/online-programs-v3-participant-participants.universal-DUdmZP01.d.mts +0 -2238
@@ -1,118 +1,7 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { P as Participant, C as CreateParticipantApplicationErrors, B as BulkCreateParticipantOptions, a as BulkCreateParticipantResponse, b as BulkAddAllToProgramOptions, c as BulkAddAllToProgramResponse, I as IssueCertificateResponse, G as GetCompletionStatsResponse, d as GetPremiumStatsResponse, e as GetAccessStatusResponse, f as BulkUpdateParticipantTagsOptions, g as BulkUpdateParticipantTagsResponse, h as BulkUpdateParticipantTagsApplicationErrors, i as BulkUpdateParticipantTagsByFilterOptions, j as BulkUpdateParticipantTagsByFilterResponse, k as BulkUpdateParticipantTagsByFilterApplicationErrors, l as ParticipantSearch, S as SearchParticipantsResponse, m as BulkInviteToProgramOptions, n as BulkInviteToProgramResponse, o as BulkInviteAllToProgramOptions, p as BulkInviteAllToProgramResponse, q as BulkAddToProgramOptions, r as BulkAddToProgramResponse, s as BulkApproveParticipantOptions, t as BulkApproveParticipantResponse, u as BulkApproveAllParticipantOptions, v as BulkApproveAllParticipantResponse, w as ParticipantAddedEnvelope, x as ParticipantApprovedEnvelope, y as ParticipantInvitedEnvelope, z as ParticipantsQueryBuilder, A as ParticipantQuery, D as typedQueryParticipants } from './online-programs-v3-participant-participants.universal-DRubTE1O.js';
3
- export { bg as ActionEvent, aC as Aggregation, aR as AggregationData, aD as AggregationKindOneOf, b8 as AggregationResults, b9 as AggregationResultsResultOneOf, aY as AggregationResultsScalarResult, Q as AggregationType, bV as AggregationTypeWithLiterals, ad as ApplicationError, bH as BaseEventMetadata, bn as Behavior, bo as BehaviorBehaviorOneOf, bj as Benefit, bi as BenefitNotification, T as BenefitType, bX as BenefitTypeWithLiterals, bv as BulkActionMetadata, af as BulkAddAllToProgramRequest, by as BulkAddToProgramRequest, bz as BulkAddToProgramResult, bD as BulkApproveAllParticipantRequest, bA as BulkApproveParticipantRequest, bB as BulkApproveParticipantResult, aa as BulkCreateParticipantRequest, bx as BulkInviteAllToProgramRequest, bs as BulkInviteToProgramRequest, bu as BulkInviteToProgramResult, ab as BulkParticipantResult, ay as BulkUpdateParticipantTagsByFilterRequest, aw as BulkUpdateParticipantTagsRequest, ax as BulkUpdateParticipantTagsResult, $ as Certificate, ae as CommonBulkActionMetadata, ac as CommonItemMetadata, b$ as CommonQueryWithEntityContext, c0 as CommonSearchWithEntityContext, a8 as CreateParticipantRequest, a9 as CreateParticipantResponse, ar as CursorPaging, at as CursorPagingMetadata, ao as CursorQuery, ap as CursorQueryPagingMethodOneOf, aA as CursorSearch, aB as CursorSearchPagingMethodOneOf, au as Cursors, aK as DateHistogramAggregation, b4 as DateHistogramResult, b6 as DateHistogramResults, ag as DeleteParticipantRequest, ah as DeleteParticipantResponse, bl as Discount, bm as DiscountDiscountOneOf, ba as DomainEvent, bb as DomainEventBodyOneOf, bh as Empty, bc as EntityCreatedEvent, bf as EntityDeletedEvent, be as EntityUpdatedEvent, bk as EntryPass, U as Event, bI as EventMetadata, bY as EventWithLiterals, bE as ExportParticipantsStatsRequest, bF as ExportParticipantsStatsResponse, a3 as ExtendedFields, Z as FreeCouponDetails, av as GetAccessStatusRequest, aj as GetCompletionStatsRequest, al as GetParticipantRequest, am as GetParticipantResponse, ak as GetPremiumStatsRequest, aO as GroupByAggregation, aP as GroupByAggregationKindOneOf, b5 as GroupByValueResults, bq as IdentificationData, br as IdentificationDataIdOneOf, aF as IncludeMissingValuesOptions, O as Interval, bU as IntervalWithLiterals, ai as IssueCertificateRequest, bt as ItemMetadata, J as JoinPath, bM as JoinPathWithLiterals, a0 as JoinedInfo, a1 as JoinedInfoJoinPathDetailsOneOf, a2 as Member, bp as MessageEnvelope, M as MissingValues, bR as MissingValuesWithLiterals, R as Mode, bW as ModeWithLiterals, aN as NestedAggregation, aL as NestedAggregationItem, aM as NestedAggregationItemKindOneOf, aU as NestedAggregationResults, aV as NestedAggregationResultsResultOneOf, N as NestedAggregationType, bT as NestedAggregationTypeWithLiterals, b1 as NestedResultValue, b2 as NestedResultValueResultOneOf, b7 as NestedResults, aZ as NestedValueAggregationResult, Y as PaidPlanDetails, a6 as ParticipantAdded, bC as ParticipantApproved, bG as ParticipantExportsFinished, bw as ParticipantInvited, bK as ParticipantQuerySpec, bL as ParticipantSearchSpec, bJ as ParticipantsQueryResult, _ as Progress, an as QueryParticipantsRequest, as as QueryParticipantsResponse, aI as RangeAggregation, aT as RangeAggregationResult, aE as RangeBucket, a$ as RangeResult, aX as RangeResults, bd as RestoreInfo, b3 as Results, aJ as ScalarAggregation, b0 as ScalarResult, L as ScalarType, bS as ScalarTypeWithLiterals, aQ as SearchDetails, az as SearchParticipantsRequest, X as SinglePaymentDetails, K as SortDirection, bQ as SortDirectionWithLiterals, F as SortOrder, bO as SortOrderWithLiterals, H as SortType, bP as SortTypeWithLiterals, aq as Sorting, V as State, b_ as StateWithLiterals, E as Status, bN as StatusWithLiterals, a5 as TagList, a4 as Tags, a7 as TagsModified, aG as ValueAggregation, aH as ValueAggregationOptionsOneOf, aS as ValueAggregationResult, a_ as ValueResult, aW as ValueResults, W as WebhookIdentityType, bZ as WebhookIdentityTypeWithLiterals } from './online-programs-v3-participant-participants.universal-DRubTE1O.js';
2
+ import { BulkInviteToProgramOptions, BulkInviteToProgramResponse, BulkInviteAllToProgramOptions, BulkInviteAllToProgramResponse, BulkAddToProgramOptions, BulkAddToProgramResponse, BulkApproveParticipantOptions, BulkApproveParticipantResponse, BulkApproveAllParticipantOptions, BulkApproveAllParticipantResponse, ParticipantAddedEnvelope, ParticipantApprovedEnvelope, ParticipantInvitedEnvelope } from './index.typings.js';
3
+ export { ActionEvent, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkAddToProgramRequest, BulkAddToProgramResult, BulkApproveAllParticipantRequest, BulkApproveParticipantRequest, BulkApproveParticipantResult, BulkInviteAllToProgramRequest, BulkInviteToProgramRequest, BulkInviteToProgramResult, Certificate, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, FreeCouponDetails, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, JoinPath, JoinPathWithLiterals, JoinedInfo, JoinedInfoJoinPathDetailsOneOf, Member, MessageEnvelope, PaidPlanDetails, Participant, ParticipantAdded, ParticipantApproved, ParticipantInvited, Progress, RestoreInfo, SinglePaymentDetails, State, StateWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
4
4
 
5
- declare function createParticipant$1(httpClient: HttpClient): CreateParticipantSignature;
6
- interface CreateParticipantSignature {
7
- /**
8
- * Create one participant.
9
- * @param - Participant to create
10
- * @returns Created participant
11
- */
12
- (participant: NonNullablePaths<Participant, `joinedInfo.joinPath` | `memberId` | `programId`, 3>): Promise<NonNullablePaths<Participant, `memberId` | `programId` | `progress.totalStepsCompleted` | `progress.totalStepsAvailable` | `progress.completionPercentage` | `status` | `joinedInfo.singlePaymentDetails.paymentOrderId` | `joinedInfo.paidPlanDetails.paidPlanId` | `joinedInfo.freeCouponDetails.freeCouponId` | `joinedInfo.timeZone` | `joinedInfo.startDate` | `joinedInfo.joinPath` | `member.contactId` | `tags.privateTags.tagIds`, 4> & {
13
- __applicationErrorsType?: CreateParticipantApplicationErrors;
14
- }>;
15
- }
16
- declare function bulkCreateParticipant$1(httpClient: HttpClient): BulkCreateParticipantSignature;
17
- interface BulkCreateParticipantSignature {
18
- /**
19
- * Creates participants in bulk.
20
- * @param - List of participants you want to create
21
- */
22
- (participants: NonNullablePaths<Participant, `joinedInfo.joinPath` | `memberId` | `programId`, 3>[], options?: BulkCreateParticipantOptions): Promise<NonNullablePaths<BulkCreateParticipantResponse, `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.status` | `results.${number}.item.joinedInfo.timeZone` | `results.${number}.item.joinedInfo.startDate` | `results.${number}.item.joinedInfo.joinPath` | `results.${number}.item.member.contactId` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
23
- }
24
- declare function bulkAddAllToProgram$1(httpClient: HttpClient): BulkAddAllToProgramSignature;
25
- interface BulkAddAllToProgramSignature {
26
- /**
27
- * Bulk adds all site members to program, but not more then 1000.
28
- * Participant will be either created in state Joined, or updated to that state
29
- * from pending one.
30
- * @param - Program to which bulk add participants.
31
- */
32
- (programId: string, options?: BulkAddAllToProgramOptions): Promise<NonNullablePaths<BulkAddAllToProgramResponse, `jobId`, 2>>;
33
- }
34
- declare function deleteParticipant$1(httpClient: HttpClient): DeleteParticipantSignature;
35
- interface DeleteParticipantSignature {
36
- /**
37
- * Delete participant from program. Removes participant from member
38
- * group. Leaves him in Social Group.
39
- * @param - Participants to delete
40
- */
41
- (participantId: string): Promise<void>;
42
- }
43
- declare function issueCertificate$1(httpClient: HttpClient): IssueCertificateSignature;
44
- interface IssueCertificateSignature {
45
- /**
46
- * Issue certificate by site admin
47
- * @param - Participant to get certificate
48
- */
49
- (participantId: string): Promise<NonNullablePaths<IssueCertificateResponse, `participant.memberId` | `participant.programId` | `participant.progress.totalStepsCompleted` | `participant.progress.totalStepsAvailable` | `participant.progress.completionPercentage` | `participant.status` | `participant.joinedInfo.singlePaymentDetails.paymentOrderId` | `participant.joinedInfo.paidPlanDetails.paidPlanId` | `participant.joinedInfo.freeCouponDetails.freeCouponId` | `participant.joinedInfo.timeZone` | `participant.joinedInfo.startDate` | `participant.joinedInfo.joinPath` | `participant.member.contactId` | `participant.tags.privateTags.tagIds`, 5>>;
50
- }
51
- declare function getCompletionStats$1(httpClient: HttpClient): GetCompletionStatsSignature;
52
- interface GetCompletionStatsSignature {
53
- /**
54
- * Get program's completion stats
55
- * @param - program id to get stats for
56
- */
57
- (programId: string): Promise<NonNullablePaths<GetCompletionStatsResponse, `completedAll` | `completionRate`, 2>>;
58
- }
59
- declare function getPremiumStats$1(httpClient: HttpClient): GetPremiumStatsSignature;
60
- interface GetPremiumStatsSignature {
61
- /**
62
- * Get premium stats
63
- */
64
- (): Promise<NonNullablePaths<GetPremiumStatsResponse, `hasPremium` | `activeParticipantsCount` | `activeParticipantsLimit`, 2>>;
65
- }
66
- declare function getParticipant$1(httpClient: HttpClient): GetParticipantSignature;
67
- interface GetParticipantSignature {
68
- /**
69
- * Returns participant.
70
- * @param - Participant id to fetch
71
- * @returns existing participant
72
- */
73
- (participantId: string): Promise<NonNullablePaths<Participant, `memberId` | `programId` | `progress.totalStepsCompleted` | `progress.totalStepsAvailable` | `progress.completionPercentage` | `status` | `joinedInfo.singlePaymentDetails.paymentOrderId` | `joinedInfo.paidPlanDetails.paidPlanId` | `joinedInfo.freeCouponDetails.freeCouponId` | `joinedInfo.timeZone` | `joinedInfo.startDate` | `joinedInfo.joinPath` | `member.contactId` | `tags.privateTags.tagIds`, 4>>;
74
- }
75
- declare function getAccessStatus$1(httpClient: HttpClient): GetAccessStatusSignature;
76
- interface GetAccessStatusSignature {
77
- /**
78
- * Get access status
79
- */
80
- (): Promise<NonNullablePaths<GetAccessStatusResponse, `blocked`, 2>>;
81
- }
82
- declare function bulkUpdateParticipantTags$1(httpClient: HttpClient): BulkUpdateParticipantTagsSignature;
83
- interface BulkUpdateParticipantTagsSignature {
84
- /**
85
- * Updates tags for multiple Participants by IDs.
86
- *
87
- * Allows assigning and/or unassigning tags in a single operation.
88
- * At least one of assign_tags or unassign_tags must be provided.
89
- * @param - Participant IDs to update tags for (1-100 items)
90
- */
91
- (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`, 6> & {
92
- __applicationErrorsType?: BulkUpdateParticipantTagsApplicationErrors;
93
- }>;
94
- }
95
- declare function bulkUpdateParticipantTagsByFilter$1(httpClient: HttpClient): BulkUpdateParticipantTagsByFilterSignature;
96
- interface BulkUpdateParticipantTagsByFilterSignature {
97
- /**
98
- * Updates tags for Participants matching a filter.
99
- *
100
- * Allows assigning and/or unassigning tags for all Participants matching the filter.
101
- * Returns a job ID for tracking the async operation.
102
- * @param - WQL filter to select Participants
103
- */
104
- (filter: Record<string, any>, options?: BulkUpdateParticipantTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateParticipantTagsByFilterResponse, `jobId`, 2> & {
105
- __applicationErrorsType?: BulkUpdateParticipantTagsByFilterApplicationErrors;
106
- }>;
107
- }
108
- declare function searchParticipants$1(httpClient: HttpClient): SearchParticipantsSignature;
109
- interface SearchParticipantsSignature {
110
- /**
111
- * Retrieves a list of programs according to search criteria
112
- * @param - Query to search programs
113
- */
114
- (search: ParticipantSearch): Promise<NonNullablePaths<SearchParticipantsResponse, `participants` | `participants.${number}.memberId` | `participants.${number}.programId` | `participants.${number}.progress.totalStepsCompleted` | `participants.${number}.progress.totalStepsAvailable` | `participants.${number}.progress.completionPercentage` | `participants.${number}.status` | `participants.${number}.joinedInfo.singlePaymentDetails.paymentOrderId` | `participants.${number}.joinedInfo.paidPlanDetails.paidPlanId` | `participants.${number}.joinedInfo.freeCouponDetails.freeCouponId` | `participants.${number}.joinedInfo.timeZone` | `participants.${number}.joinedInfo.startDate` | `participants.${number}.joinedInfo.joinPath` | `participants.${number}.member.contactId` | `aggregationData.results` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`, 6>>;
115
- }
116
5
  declare function bulkInviteToProgram$1(httpClient: HttpClient): BulkInviteToProgramSignature;
117
6
  interface BulkInviteToProgramSignature {
118
7
  /**
@@ -120,7 +9,7 @@ interface BulkInviteToProgramSignature {
120
9
  * For each member participant in Invited state is created.
121
10
  * @param - Program to which bulk invite participants.
122
11
  */
123
- (programId: string, options?: BulkInviteToProgramOptions): Promise<NonNullablePaths<BulkInviteToProgramResponse, `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.status` | `results.${number}.item.joinedInfo.timeZone` | `results.${number}.item.joinedInfo.startDate` | `results.${number}.item.joinedInfo.joinPath` | `results.${number}.item.member.contactId` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
12
+ (programId: string, options?: BulkInviteToProgramOptions): Promise<NonNullablePaths<BulkInviteToProgramResponse, `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.state` | `results.${number}.item.joinedInfo.timeZone` | `results.${number}.item.joinedInfo.startDate` | `results.${number}.item.joinedInfo.joinPath` | `results.${number}.item.member.contactId` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
124
13
  }
125
14
  declare function bulkInviteAllToProgram$1(httpClient: HttpClient): BulkInviteAllToProgramSignature;
126
15
  interface BulkInviteAllToProgramSignature {
@@ -139,7 +28,7 @@ interface BulkAddToProgramSignature {
139
28
  * from pending one.
140
29
  * @param - Program to which bulk add participants.
141
30
  */
142
- (programId: string, options?: BulkAddToProgramOptions): Promise<NonNullablePaths<BulkAddToProgramResponse, `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.status` | `results.${number}.item.joinedInfo.timeZone` | `results.${number}.item.joinedInfo.startDate` | `results.${number}.item.joinedInfo.joinPath` | `results.${number}.item.member.contactId` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
31
+ (programId: string, options?: BulkAddToProgramOptions): Promise<NonNullablePaths<BulkAddToProgramResponse, `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.state` | `results.${number}.item.joinedInfo.timeZone` | `results.${number}.item.joinedInfo.startDate` | `results.${number}.item.joinedInfo.joinPath` | `results.${number}.item.member.contactId` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
143
32
  }
144
33
  declare function bulkApproveParticipant$1(httpClient: HttpClient): BulkApproveParticipantSignature;
145
34
  interface BulkApproveParticipantSignature {
@@ -149,7 +38,7 @@ interface BulkApproveParticipantSignature {
149
38
  * error returned.
150
39
  * @param - Participants to add
151
40
  */
152
- (participantIds: string[], options?: BulkApproveParticipantOptions): Promise<NonNullablePaths<BulkApproveParticipantResponse, `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.status` | `results.${number}.item.joinedInfo.timeZone` | `results.${number}.item.joinedInfo.startDate` | `results.${number}.item.joinedInfo.joinPath` | `results.${number}.item.member.contactId` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
41
+ (participantIds: string[], options?: BulkApproveParticipantOptions): Promise<NonNullablePaths<BulkApproveParticipantResponse, `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.state` | `results.${number}.item.joinedInfo.timeZone` | `results.${number}.item.joinedInfo.startDate` | `results.${number}.item.joinedInfo.joinPath` | `results.${number}.item.member.contactId` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
153
42
  }
154
43
  declare function bulkApproveAllParticipant$1(httpClient: HttpClient): BulkApproveAllParticipantSignature;
155
44
  interface BulkApproveAllParticipantSignature {
@@ -163,28 +52,11 @@ declare const onParticipantAdded$1: EventDefinition<ParticipantAddedEnvelope, "w
163
52
  declare const onParticipantApproved$1: EventDefinition<ParticipantApprovedEnvelope, "wix.online_programs.v3.participant_participant_approved">;
164
53
  declare const onParticipantInvited$1: EventDefinition<ParticipantInvitedEnvelope, "wix.online_programs.v3.participant_participant_invited">;
165
54
 
166
- declare function customQueryParticipants(httpClient: HttpClient): {
167
- (): ParticipantsQueryBuilder;
168
- (query: ParticipantQuery): ReturnType<typeof typedQueryParticipants>;
169
- };
170
- declare const createParticipant: MaybeContext<BuildRESTFunction<typeof createParticipant$1> & typeof createParticipant$1>;
171
- declare const bulkCreateParticipant: MaybeContext<BuildRESTFunction<typeof bulkCreateParticipant$1> & typeof bulkCreateParticipant$1>;
172
- declare const bulkAddAllToProgram: MaybeContext<BuildRESTFunction<typeof bulkAddAllToProgram$1> & typeof bulkAddAllToProgram$1>;
173
- declare const deleteParticipant: MaybeContext<BuildRESTFunction<typeof deleteParticipant$1> & typeof deleteParticipant$1>;
174
- declare const issueCertificate: MaybeContext<BuildRESTFunction<typeof issueCertificate$1> & typeof issueCertificate$1>;
175
- declare const getCompletionStats: MaybeContext<BuildRESTFunction<typeof getCompletionStats$1> & typeof getCompletionStats$1>;
176
- declare const getPremiumStats: MaybeContext<BuildRESTFunction<typeof getPremiumStats$1> & typeof getPremiumStats$1>;
177
- declare const getParticipant: MaybeContext<BuildRESTFunction<typeof getParticipant$1> & typeof getParticipant$1>;
178
- declare const getAccessStatus: MaybeContext<BuildRESTFunction<typeof getAccessStatus$1> & typeof getAccessStatus$1>;
179
- declare const bulkUpdateParticipantTags: MaybeContext<BuildRESTFunction<typeof bulkUpdateParticipantTags$1> & typeof bulkUpdateParticipantTags$1>;
180
- declare const bulkUpdateParticipantTagsByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdateParticipantTagsByFilter$1> & typeof bulkUpdateParticipantTagsByFilter$1>;
181
- declare const searchParticipants: MaybeContext<BuildRESTFunction<typeof searchParticipants$1> & typeof searchParticipants$1>;
182
55
  declare const bulkInviteToProgram: MaybeContext<BuildRESTFunction<typeof bulkInviteToProgram$1> & typeof bulkInviteToProgram$1>;
183
56
  declare const bulkInviteAllToProgram: MaybeContext<BuildRESTFunction<typeof bulkInviteAllToProgram$1> & typeof bulkInviteAllToProgram$1>;
184
57
  declare const bulkAddToProgram: MaybeContext<BuildRESTFunction<typeof bulkAddToProgram$1> & typeof bulkAddToProgram$1>;
185
58
  declare const bulkApproveParticipant: MaybeContext<BuildRESTFunction<typeof bulkApproveParticipant$1> & typeof bulkApproveParticipant$1>;
186
59
  declare const bulkApproveAllParticipant: MaybeContext<BuildRESTFunction<typeof bulkApproveAllParticipant$1> & typeof bulkApproveAllParticipant$1>;
187
- declare const queryParticipants: MaybeContext<BuildRESTFunction<typeof customQueryParticipants> & typeof customQueryParticipants>;
188
60
  /** */
189
61
  declare const onParticipantAdded: BuildEventDefinition<typeof onParticipantAdded$1> & typeof onParticipantAdded$1;
190
62
  /** */
@@ -192,4 +64,4 @@ declare const onParticipantApproved: BuildEventDefinition<typeof onParticipantAp
192
64
  /** */
193
65
  declare const onParticipantInvited: BuildEventDefinition<typeof onParticipantInvited$1> & typeof onParticipantInvited$1;
194
66
 
195
- export { BulkAddAllToProgramOptions, BulkAddAllToProgramResponse, BulkAddToProgramOptions, BulkAddToProgramResponse, BulkApproveAllParticipantOptions, BulkApproveAllParticipantResponse, BulkApproveParticipantOptions, BulkApproveParticipantResponse, BulkCreateParticipantOptions, BulkCreateParticipantResponse, BulkInviteAllToProgramOptions, BulkInviteAllToProgramResponse, BulkInviteToProgramOptions, BulkInviteToProgramResponse, BulkUpdateParticipantTagsApplicationErrors, BulkUpdateParticipantTagsByFilterApplicationErrors, BulkUpdateParticipantTagsByFilterOptions, BulkUpdateParticipantTagsByFilterResponse, BulkUpdateParticipantTagsOptions, BulkUpdateParticipantTagsResponse, CreateParticipantApplicationErrors, GetAccessStatusResponse, GetCompletionStatsResponse, GetPremiumStatsResponse, IssueCertificateResponse, Participant, ParticipantAddedEnvelope, ParticipantApprovedEnvelope, ParticipantInvitedEnvelope, ParticipantQuery, ParticipantSearch, ParticipantsQueryBuilder, SearchParticipantsResponse, bulkAddAllToProgram, bulkAddToProgram, bulkApproveAllParticipant, bulkApproveParticipant, bulkCreateParticipant, bulkInviteAllToProgram, bulkInviteToProgram, bulkUpdateParticipantTags, bulkUpdateParticipantTagsByFilter, createParticipant, deleteParticipant, getAccessStatus, getCompletionStats, getParticipant, getPremiumStats, issueCertificate, onParticipantAdded, onParticipantApproved, onParticipantInvited, queryParticipants, searchParticipants };
67
+ export { BulkAddToProgramOptions, BulkAddToProgramResponse, BulkApproveAllParticipantOptions, BulkApproveAllParticipantResponse, BulkApproveParticipantOptions, BulkApproveParticipantResponse, BulkInviteAllToProgramOptions, BulkInviteAllToProgramResponse, BulkInviteToProgramOptions, BulkInviteToProgramResponse, ParticipantAddedEnvelope, ParticipantApprovedEnvelope, ParticipantInvitedEnvelope, bulkAddToProgram, bulkApproveAllParticipant, bulkApproveParticipant, bulkInviteAllToProgram, bulkInviteToProgram, onParticipantAdded, onParticipantApproved, onParticipantInvited };