@wix/auto_sdk_online-programs_online-program-participants 1.0.4 → 1.0.5

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 (37) hide show
  1. package/build/cjs/index.d.ts +63 -3
  2. package/build/cjs/index.js +5364 -450
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +925 -1
  5. package/build/cjs/index.typings.js +5260 -476
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +647 -2
  8. package/build/cjs/meta.js +3881 -55
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +63 -3
  11. package/build/es/index.mjs +5304 -406
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +925 -1
  14. package/build/es/index.typings.mjs +5155 -386
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +647 -2
  17. package/build/es/meta.mjs +3838 -27
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +63 -3
  20. package/build/internal/cjs/index.js +5364 -450
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +925 -1
  23. package/build/internal/cjs/index.typings.js +5260 -476
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +647 -2
  26. package/build/internal/cjs/meta.js +3881 -55
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +63 -3
  29. package/build/internal/es/index.mjs +5304 -406
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +925 -1
  32. package/build/internal/es/index.typings.mjs +5155 -386
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +647 -2
  35. package/build/internal/es/meta.mjs +3838 -27
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { QueryParticipantsOptions, QueryParticipantsResponse, ListParticipantsOptions, ListParticipantsResponse, JoinParticipantOptions, JoinParticipantResponse, AddParticipantOptions, AddParticipantResponse, AddParticipantsOptions, AddParticipantsResponse, AddAllParticipantOptions, CreateJoinRequestOptions, CreateJoinRequestResponse, InviteParticipantsOptions, InviteParticipantsResponse, InviteAllParticipantsOptions, GetParticipantIdentifiers, Participant, UpdateParticipantIdentifiers, UpdateParticipantOptions, UpdateParticipantResponse, DeleteParticipantIdentifiers, DeleteParticipantOptions, DeleteParticipantResponse, ReviveParticipantIdentifiers, ReviveParticipantOptions, ReviveParticipantResponse, ResetParticipantProgressIdentifiers, ResetParticipantProgressOptions, ResetParticipantProgressResponse, IssueParticipantCertificateIdentifiers, IssueParticipantCertificateResponse, IssueCertificateIdentifiers, IssueCertificateResponse, GetCertificateIdentifiers, GetCertificateResponse, CreatePaymentOrderIdentifiers, CreatePaymentOrderOptions, CreatePaymentOrderResponse, ApplyCouponToOrderIdentifiers, ApplyCouponToOrderOptions, ApplyCouponToOrderResponse, RemoveCouponFromOrderIdentifiers, RemoveCouponFromOrderOptions, RemoveCouponFromOrderResponse, MyProgramResponse, ParticipantDeletedEnvelope, ParticipantJoinedEnvelope } from './index.typings.js';
3
- export { ActionEvent, AddAllParticipantRequest, AddAllParticipantResponse, AddParticipantRequest, AddParticipantsRequest, Added, ApplyCouponToOrderRequest, BaseEventMetadata, Certificate, CreateJoinRequestRequest, CreatePaymentOrderRequest, DateInterval, DeleteParticipantRequest, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntitySummary, EntityUpdatedEvent, EventMetadata, FocalPoint, Free, FreeCoupon, GetCertificateRequest, GetParticipantRequest, GetParticipantResponse, IdentificationData, IdentificationDataIdOneOf, InvitationDetails, InviteAllParticipantsRequest, InviteAllParticipantsResponse, InviteParticipantsRequest, IssueCertificateRequest, IssueParticipantCertificateRequest, JoinParticipantRequest, JoinPath, JoinPathPathOneOf, ListParticipantsRequest, MediaItem, MediaItemMediaOneOf, Member, MessageEnvelope, MyProgramRequest, Paging, PaidPlan, ParticipantJoinDate, ParticipantJoined, ParticipantPerformance, ParticipantStepState, ParticipantStepStateTransition, ParticipantStepStateWithLiterals, ParticipantsFilter, ParticipationState, ParticipationStateWithLiterals, PaymentType, PaymentTypeWithLiterals, Price, QueryParticipantsRequest, QueryParticipantsRequestJoinPath, QueryParticipantsRequestJoinPathWithLiterals, QueryParticipantsRequestSorting, QueryParticipantsRequestSortingCriterion, QueryParticipantsRequestSortingCriterionWithLiterals, QueryParticipantsRequestSortingOrder, QueryParticipantsRequestSortingOrderWithLiterals, RemoveCouponFromOrderRequest, ResetParticipantProgressRequest, RestoreInfo, ReviveParticipantRequest, SinglePayment, Sorting, SortingCriterion, SortingCriterionWithLiterals, SortingOrder, SortingOrderWithLiterals, State, StateTransition, StateWithLiterals, StepEvent, StepsSummary, TimeInterval, UpdateParticipantIdentifiersUpdateOneOf, UpdateParticipantOptionsUpdateOneOf, UpdateParticipantRequest, UpdateParticipantRequestUpdateOneOf, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
2
+ import { QueryParticipantsOptions, QueryParticipantsResponse, ListParticipantsOptions, ListParticipantsResponse, JoinParticipantOptions, JoinParticipantResponse, AddParticipantOptions, AddParticipantResponse, AddParticipantsOptions, AddParticipantsResponse, AddAllParticipantOptions, CreateJoinRequestOptions, CreateJoinRequestResponse, InviteParticipantsOptions, InviteParticipantsResponse, InviteAllParticipantsOptions, GetParticipantIdentifiers, Participant, UpdateParticipantIdentifiers, UpdateParticipantOptions, UpdateParticipantResponse, DeleteParticipantIdentifiers, DeleteParticipantOptions, DeleteParticipantResponse, ReviveParticipantIdentifiers, ReviveParticipantOptions, ReviveParticipantResponse, ResetParticipantProgressIdentifiers, ResetParticipantProgressOptions, ResetParticipantProgressResponse, IssueParticipantCertificateIdentifiers, IssueParticipantCertificateResponse, IssueCertificateIdentifiers, IssueCertificateResponse, GetCertificateIdentifiers, GetCertificateResponse, CreatePaymentOrderIdentifiers, CreatePaymentOrderOptions, CreatePaymentOrderResponse, ApplyCouponToOrderIdentifiers, ApplyCouponToOrderOptions, ApplyCouponToOrderResponse, RemoveCouponFromOrderIdentifiers, RemoveCouponFromOrderOptions, RemoveCouponFromOrderResponse, ListStepsIdentifiers, ListStepsOptions, ListParticipantStepsResponse, GetStepIdentifiers, GetStepOptions, GetParticipantStepResponse, ResolveStepIdentifiers, ResolveStepOptions, ResolveParticipantStepResponse, UpdateStepFeedbackIdentifiers, UpdateStepFeedbackOptions, UpdateStepFeedbackResponse, GetMediaUploadInfoIdentifiers, GetMediaUploadInfoOptions, GetMediaUploadInfoResponse, ListSectionsIdentifiers, ListSectionsOptions, ListParticipantSectionsResponse, GetSectionIdentifiers, GetSectionOptions, GetParticipantSectionResponse, MyProgramResponse, MyProgramStepIdentifiers, MyProgramStepOptions, MyProgramStepResponse, MyProgramSectionIdentifiers, MyProgramSectionOptions, MyProgramSectionResponse, ParticipantDeletedEnvelope, ParticipantJoinedEnvelope, ParticipantStepResolvedEnvelope } from './index.typings.js';
3
+ export { ActionEvent, AddAllParticipantRequest, AddAllParticipantResponse, AddParticipantRequest, AddParticipantsRequest, Added, All, ApplyCouponToOrderRequest, BaseEventMetadata, Certificate, ChallengeSection, ChallengeStep, ChallengeStepSettings, Choice, ChoiceRightness, ChoiceRightnessWithLiterals, Choices, Completed, CompletionCriteria, Container, CreateJoinRequestRequest, CreatePaymentOrderRequest, DateInterval, DeleteParticipantRequest, DescriptionFieldSet, DescriptionFieldSetWithLiterals, DomainEvent, DomainEventBodyOneOf, DurationUnit, DurationUnitWithLiterals, EmbeddingSettings, EntityCreatedEvent, EntityDeletedEvent, EntitySummary, EntityUpdatedEvent, EventMetadata, Feedback, FeedbackItem, FeedbackItemChoice, FeedbackItemSettings, FeedbackItemType, FeedbackItemTypeTypeOneOf, FeedbackItemValueOneOf, FocalPoint, Free, FreeCoupon, GeneralSettings, GeneralSettingsStepTypeOneOf, GetCertificateRequest, GetMediaUploadInfoRequest, GetParticipantRequest, GetParticipantResponse, GetParticipantSectionRequest, GetParticipantStepRequest, GroupSettings, IdentificationData, IdentificationDataIdOneOf, IndividualSettings, InvitationDetails, InviteAllParticipantsRequest, InviteAllParticipantsResponse, InviteParticipantsRequest, IssueCertificateRequest, IssueParticipantCertificateRequest, JoinParticipantRequest, JoinPath, JoinPathPathOneOf, ListParticipantSectionsRequest, ListParticipantStepsRequest, ListParticipantsRequest, MediaFeedbackItem, MediaItem, MediaItemMediaOneOf, MediaItems, Member, MessageEnvelope, MinThreshold, MultipleChoiceFeedbackItem, MyProgramRequest, MyProgramSectionRequest, MyProgramStepRequest, NumericFeedbackItem, ObjectDescription, Overdue, Paging, PaidPlan, ParticipantJoinDate, ParticipantJoined, ParticipantPerformance, ParticipantSection, ParticipantSectionStateTransition, ParticipantSectionStateTransitionStateOneOf, ParticipantStep, ParticipantStepState, ParticipantStepStateTransition, ParticipantStepStateWithLiterals, ParticipantsFilter, ParticipationState, ParticipationStateWithLiterals, PaymentType, PaymentTypeWithLiterals, Price, Progress, Quantity, QuantityCriterion, QuantityCriterionCriterionOneOf, QuantityFeedbackItem, QueryParticipantsRequest, QueryParticipantsRequestJoinPath, QueryParticipantsRequestJoinPathWithLiterals, QueryParticipantsRequestSorting, QueryParticipantsRequestSortingCriterion, QueryParticipantsRequestSortingCriterionWithLiterals, QueryParticipantsRequestSortingOrder, QueryParticipantsRequestSortingOrderWithLiterals, QuizMigrationDetails, QuizSettings, QuizSubmission, QuizSubmissionData, QuizType, QuizTypeWithLiterals, RecurrenceSchedule, RecurrenceSettings, RemoveCouponFromOrderRequest, ResetParticipantProgressRequest, ResolutionStatus, ResolutionStatusWithLiterals, ResolveParticipantStepRequest, RestoreInfo, ReviveParticipantRequest, Running, Settings, SinglePayment, Sorting, SortingCriterion, SortingCriterionWithLiterals, SortingOrder, SortingOrderWithLiterals, StartCondition, State, StateTransition, StateWithLiterals, Status, StatusWithLiterals, Step, StepDependency, StepDependencyDependencyTypeOneOf, StepEvent, StepResolved, StepsSummary, TextFeedbackItem, TimeDuration, TimeInterval, UpdateParticipantIdentifiersUpdateOneOf, UpdateParticipantOptionsUpdateOneOf, UpdateParticipantRequest, UpdateParticipantRequestUpdateOneOf, UpdateStepFeedbackRequest, VideoResolution, VideoStepSettings, VideoStepSettingsVideoSourceOneOf, WaitingDate, WaitingDependency, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixVideo } from './index.typings.js';
4
4
 
5
5
  declare function queryParticipants$1(httpClient: HttpClient): QueryParticipantsSignature;
6
6
  interface QueryParticipantsSignature {
@@ -112,13 +112,62 @@ interface RemoveCouponFromOrderSignature {
112
112
  /** */
113
113
  (identifiers: NonNullablePaths<RemoveCouponFromOrderIdentifiers, `challengeId` | `couponId` | `orderId` | `participantId`, 2>, options?: RemoveCouponFromOrderOptions): Promise<NonNullablePaths<RemoveCouponFromOrderResponse, `total`, 2>>;
114
114
  }
115
+ declare function listSteps$1(httpClient: HttpClient): ListStepsSignature;
116
+ interface ListStepsSignature {
117
+ /** @deprecated */
118
+ (identifiers: NonNullablePaths<ListStepsIdentifiers, `challengeId` | `participantId`, 2>, options?: ListStepsOptions): Promise<NonNullablePaths<ListParticipantStepsResponse, `steps` | `steps.${number}._id` | `steps.${number}.source._id` | `steps.${number}.dateFrame.start` | `steps.${number}.quizSubmission.quizSubmissionId`, 5>>;
119
+ }
120
+ declare function getStep$1(httpClient: HttpClient): GetStepSignature;
121
+ interface GetStepSignature {
122
+ /** @deprecated */
123
+ (identifiers: NonNullablePaths<GetStepIdentifiers, `challengeId` | `participantId` | `stepId`, 2>, options?: GetStepOptions): Promise<NonNullablePaths<GetParticipantStepResponse, `step._id` | `step.source._id` | `step.source.settings.general.individual.confirmationRequired` | `step.source.settings.general.individual.feedbackSettings` | `step.source.settings.general.individual.feedbackSettings.${number}._id` | `step.source.settings.general.individual.feedbackSettings.${number}.type.numeric.maxValue` | `step.source.settings.general.individual.feedbackSettings.${number}.type.quantity.amount` | `step.source.settings.general.individual.feedbackSettings.${number}.question` | `step.source.settings.general.individual.feedbackSettings.${number}.isRequired` | `step.source.settings.general.individual.showQuiz` | `step.source.settings.general.individual.quizSettings` | `step.source.settings.general.group.completionCriteria.completedSteps.minThreshold.value` | `step.source.settings.general.quiz.quizId` | `step.source.settings.general.quiz.questionCount` | `step.source.settings.general.quiz.migrationDetails.sourceStepId` | `step.source.settings.general.quiz.migrationDetails.show` | `step.source.settings.general.quiz.migrationDetails.quizType` | `step.source.settings.general.video.wixVideo._id` | `step.source.settings.general.video.wixVideo.paid` | `step.source.settings.general.video.requiredCompletionPercentage` | `step.source.settings.general.video.deleted` | `step.source.settings.general.duration.unit` | `step.source.settings.general.duration.value` | `step.source.settings.general.recurrenceSettings.schedules` | `step.source.settings.embedding.startConditions` | `step.source.settings.embedding.startConditions.${number}.dependency.step.stepId` | `step.source.settings.embedding.isMilestone` | `step.feedback.items` | `step.feedback.items.${number}.choice.choiceId` | `step.feedback.items.${number}.quantity.unitName` | `step.feedback.items.${number}.quantity.amount` | `step.feedback.items.${number}.feedbackItemSettingsId` | `step.feedback.quiz` | `step.transitions` | `step.transitions.${number}.state` | `step.dateFrame.start` | `step.quizSubmission.quizSubmissionId` | `subSteps` | `subSteps.${number}._id` | `subSteps.${number}.source._id` | `subSteps.${number}.dateFrame.start` | `subSteps.${number}.quizSubmission.quizSubmissionId`, 11>>;
124
+ }
125
+ declare function resolveStep$1(httpClient: HttpClient): ResolveStepSignature;
126
+ interface ResolveStepSignature {
127
+ /** @deprecated */
128
+ (identifiers: NonNullablePaths<ResolveStepIdentifiers, `challengeId` | `participantId` | `stepId`, 2>, options?: ResolveStepOptions): Promise<NonNullablePaths<ResolveParticipantStepResponse, `step._id` | `step.source._id` | `step.source.settings.general.individual.confirmationRequired` | `step.source.settings.general.individual.feedbackSettings` | `step.source.settings.general.individual.feedbackSettings.${number}._id` | `step.source.settings.general.individual.feedbackSettings.${number}.type.numeric.maxValue` | `step.source.settings.general.individual.feedbackSettings.${number}.type.quantity.amount` | `step.source.settings.general.individual.feedbackSettings.${number}.question` | `step.source.settings.general.individual.feedbackSettings.${number}.isRequired` | `step.source.settings.general.individual.showQuiz` | `step.source.settings.general.individual.quizSettings` | `step.source.settings.general.group.completionCriteria.completedSteps.minThreshold.value` | `step.source.settings.general.quiz.quizId` | `step.source.settings.general.quiz.questionCount` | `step.source.settings.general.quiz.migrationDetails.sourceStepId` | `step.source.settings.general.quiz.migrationDetails.show` | `step.source.settings.general.quiz.migrationDetails.quizType` | `step.source.settings.general.video.wixVideo._id` | `step.source.settings.general.video.wixVideo.paid` | `step.source.settings.general.video.requiredCompletionPercentage` | `step.source.settings.general.video.deleted` | `step.source.settings.general.duration.unit` | `step.source.settings.general.duration.value` | `step.source.settings.general.recurrenceSettings.schedules` | `step.source.settings.embedding.startConditions` | `step.source.settings.embedding.startConditions.${number}.dependency.step.stepId` | `step.source.settings.embedding.isMilestone` | `step.feedback.items` | `step.feedback.items.${number}.choice.choiceId` | `step.feedback.items.${number}.quantity.unitName` | `step.feedback.items.${number}.quantity.amount` | `step.feedback.items.${number}.feedbackItemSettingsId` | `step.feedback.quiz` | `step.transitions` | `step.transitions.${number}.state` | `step.dateFrame.start` | `step.quizSubmission.quizSubmissionId` | `actionId`, 11>>;
129
+ }
130
+ declare function updateStepFeedback$1(httpClient: HttpClient): UpdateStepFeedbackSignature;
131
+ interface UpdateStepFeedbackSignature {
132
+ /** @deprecated */
133
+ (identifiers: NonNullablePaths<UpdateStepFeedbackIdentifiers, `challengeId` | `participantId` | `stepId`, 2>, options?: UpdateStepFeedbackOptions): Promise<NonNullablePaths<UpdateStepFeedbackResponse, `step._id` | `step.source._id` | `step.source.settings.general.individual.confirmationRequired` | `step.source.settings.general.individual.feedbackSettings` | `step.source.settings.general.individual.feedbackSettings.${number}._id` | `step.source.settings.general.individual.feedbackSettings.${number}.type.numeric.maxValue` | `step.source.settings.general.individual.feedbackSettings.${number}.type.quantity.amount` | `step.source.settings.general.individual.feedbackSettings.${number}.question` | `step.source.settings.general.individual.feedbackSettings.${number}.isRequired` | `step.source.settings.general.individual.showQuiz` | `step.source.settings.general.individual.quizSettings` | `step.source.settings.general.group.completionCriteria.completedSteps.minThreshold.value` | `step.source.settings.general.quiz.quizId` | `step.source.settings.general.quiz.questionCount` | `step.source.settings.general.quiz.migrationDetails.sourceStepId` | `step.source.settings.general.quiz.migrationDetails.show` | `step.source.settings.general.quiz.migrationDetails.quizType` | `step.source.settings.general.video.wixVideo._id` | `step.source.settings.general.video.wixVideo.paid` | `step.source.settings.general.video.requiredCompletionPercentage` | `step.source.settings.general.video.deleted` | `step.source.settings.general.duration.unit` | `step.source.settings.general.duration.value` | `step.source.settings.general.recurrenceSettings.schedules` | `step.source.settings.embedding.startConditions` | `step.source.settings.embedding.startConditions.${number}.dependency.step.stepId` | `step.source.settings.embedding.isMilestone` | `step.feedback.items` | `step.feedback.items.${number}.choice.choiceId` | `step.feedback.items.${number}.quantity.unitName` | `step.feedback.items.${number}.quantity.amount` | `step.feedback.items.${number}.feedbackItemSettingsId` | `step.feedback.quiz` | `step.transitions` | `step.transitions.${number}.state` | `step.dateFrame.start` | `step.quizSubmission.quizSubmissionId` | `actionId`, 11>>;
134
+ }
135
+ declare function getMediaUploadInfo$1(httpClient: HttpClient): GetMediaUploadInfoSignature;
136
+ interface GetMediaUploadInfoSignature {
137
+ /** @deprecated */
138
+ (identifiers: NonNullablePaths<GetMediaUploadInfoIdentifiers, `challengeId` | `participantId`, 2>, options?: GetMediaUploadInfoOptions): Promise<NonNullablePaths<GetMediaUploadInfoResponse, `uploadUrl` | `uploadToken`, 2>>;
139
+ }
140
+ declare function listSections$1(httpClient: HttpClient): ListSectionsSignature;
141
+ interface ListSectionsSignature {
142
+ /**
143
+ * ---------------------------------------------------- Sections --------------------------------------------------------
144
+ * @deprecated
145
+ */
146
+ (identifiers: NonNullablePaths<ListSectionsIdentifiers, `challengeId` | `participantId`, 2>, options?: ListSectionsOptions): Promise<NonNullablePaths<ListParticipantSectionsResponse, `sections` | `sections.${number}._id` | `sections.${number}.source._id` | `sections.${number}.progress.nTotalSteps` | `sections.${number}.progress.nCompletedSteps`, 5>>;
147
+ }
148
+ declare function getSection$1(httpClient: HttpClient): GetSectionSignature;
149
+ interface GetSectionSignature {
150
+ /** @deprecated */
151
+ (identifiers: NonNullablePaths<GetSectionIdentifiers, `challengeId` | `participantId` | `sectionId`, 2>, options?: GetSectionOptions): Promise<NonNullablePaths<GetParticipantSectionResponse, `section._id` | `section.source._id` | `section.source.settings.startCondition.dependency.step.stepId` | `section.source.settings.startCondition.delay.unit` | `section.source.settings.startCondition.delay.value` | `section.source.steps` | `section.source.steps.${number}._id` | `section.source.steps.${number}.settings.embedding.isMilestone` | `section.steps` | `section.steps.${number}._id` | `section.steps.${number}.dateFrame.start` | `section.steps.${number}.quizSubmission.quizSubmissionId` | `section.transitions` | `section.transitions.${number}.waitingDate.startDate` | `section.transitions.${number}.waitingDependency.sectionId` | `section.progress.nTotalSteps` | `section.progress.nCompletedSteps`, 8>>;
152
+ }
115
153
  declare function myProgram$1(httpClient: HttpClient): MyProgramSignature;
116
154
  interface MyProgramSignature {
117
155
  /** */
118
156
  (programId: string): Promise<NonNullablePaths<MyProgramResponse, `participant._id` | `participant.member._id` | `participant.member.fullName` | `participant.challenge._id` | `participant.stepsSummary.stepsNumber` | `participant.stepsSummary.completedStepsNumber` | `participant.stepsSummary.failedStepsNumber` | `participant.stepsSummary.postedFeedbacksNumber` | `participant.stepsSummary.lastEvent.stepId` | `participant.stepsSummary.lastEvent.transition.state` | `participant.orderIds` | `participant.transitions` | `participant.transitions.${number}.state` | `participant.timezone` | `participant.dateFrame.start` | `participant.performance` | `participant.joinPath.singlePayment.orderId` | `participant.joinPath.paidPlan.planIds` | `participant.joinPath.freeCoupon.couponId`, 6>>;
119
157
  }
158
+ declare function myProgramStep$1(httpClient: HttpClient): MyProgramStepSignature;
159
+ interface MyProgramStepSignature {
160
+ /** @deprecated */
161
+ (identifiers: NonNullablePaths<MyProgramStepIdentifiers, `programId` | `programStepId`, 2>, options?: MyProgramStepOptions): Promise<NonNullablePaths<MyProgramStepResponse, `participantStep._id` | `participantStep.source._id` | `participantStep.source.settings.general.individual.confirmationRequired` | `participantStep.source.settings.general.individual.feedbackSettings` | `participantStep.source.settings.general.individual.feedbackSettings.${number}._id` | `participantStep.source.settings.general.individual.feedbackSettings.${number}.type.numeric.maxValue` | `participantStep.source.settings.general.individual.feedbackSettings.${number}.type.quantity.amount` | `participantStep.source.settings.general.individual.feedbackSettings.${number}.question` | `participantStep.source.settings.general.individual.feedbackSettings.${number}.isRequired` | `participantStep.source.settings.general.individual.showQuiz` | `participantStep.source.settings.general.individual.quizSettings` | `participantStep.source.settings.general.group.completionCriteria.completedSteps.minThreshold.value` | `participantStep.source.settings.general.quiz.quizId` | `participantStep.source.settings.general.quiz.questionCount` | `participantStep.source.settings.general.quiz.migrationDetails.sourceStepId` | `participantStep.source.settings.general.quiz.migrationDetails.show` | `participantStep.source.settings.general.quiz.migrationDetails.quizType` | `participantStep.source.settings.general.video.wixVideo._id` | `participantStep.source.settings.general.video.wixVideo.paid` | `participantStep.source.settings.general.video.requiredCompletionPercentage` | `participantStep.source.settings.general.video.deleted` | `participantStep.source.settings.general.duration.unit` | `participantStep.source.settings.general.duration.value` | `participantStep.source.settings.general.recurrenceSettings.schedules` | `participantStep.source.settings.embedding.startConditions` | `participantStep.source.settings.embedding.startConditions.${number}.dependency.step.stepId` | `participantStep.source.settings.embedding.isMilestone` | `participantStep.feedback.items` | `participantStep.feedback.items.${number}.choice.choiceId` | `participantStep.feedback.items.${number}.quantity.unitName` | `participantStep.feedback.items.${number}.quantity.amount` | `participantStep.feedback.items.${number}.feedbackItemSettingsId` | `participantStep.feedback.quiz` | `participantStep.transitions` | `participantStep.transitions.${number}.state` | `participantStep.dateFrame.start` | `participantStep.quizSubmission.quizSubmissionId`, 11>>;
162
+ }
163
+ declare function myProgramSection$1(httpClient: HttpClient): MyProgramSectionSignature;
164
+ interface MyProgramSectionSignature {
165
+ /** @deprecated */
166
+ (identifiers: NonNullablePaths<MyProgramSectionIdentifiers, `programId` | `programSectionId`, 2>, options?: MyProgramSectionOptions): Promise<NonNullablePaths<MyProgramSectionResponse, `participantSection._id` | `participantSection.source._id` | `participantSection.source.settings.startCondition.dependency.step.stepId` | `participantSection.source.settings.startCondition.delay.unit` | `participantSection.source.settings.startCondition.delay.value` | `participantSection.source.steps` | `participantSection.source.steps.${number}._id` | `participantSection.source.steps.${number}.settings.embedding.isMilestone` | `participantSection.steps` | `participantSection.steps.${number}._id` | `participantSection.steps.${number}.dateFrame.start` | `participantSection.steps.${number}.quizSubmission.quizSubmissionId` | `participantSection.transitions` | `participantSection.transitions.${number}.waitingDate.startDate` | `participantSection.transitions.${number}.waitingDependency.sectionId` | `participantSection.progress.nTotalSteps` | `participantSection.progress.nCompletedSteps`, 8>>;
167
+ }
120
168
  declare const onParticipantDeleted$1: EventDefinition<ParticipantDeletedEnvelope, "wix.challenges.v1.participant_deleted">;
121
169
  declare const onParticipantJoined$1: EventDefinition<ParticipantJoinedEnvelope, "wix.challenges.v1.participant_participant_joined">;
170
+ declare const onParticipantStepResolved$1: EventDefinition<ParticipantStepResolvedEnvelope, "wix.challenges.v1.participant_step_resolved">;
122
171
 
123
172
  declare const queryParticipants: MaybeContext<BuildRESTFunction<typeof queryParticipants$1> & typeof queryParticipants$1>;
124
173
  declare const listParticipants: MaybeContext<BuildRESTFunction<typeof listParticipants$1> & typeof listParticipants$1>;
@@ -140,10 +189,21 @@ declare const getCertificate: MaybeContext<BuildRESTFunction<typeof getCertifica
140
189
  declare const createPaymentOrder: MaybeContext<BuildRESTFunction<typeof createPaymentOrder$1> & typeof createPaymentOrder$1>;
141
190
  declare const applyCouponToOrder: MaybeContext<BuildRESTFunction<typeof applyCouponToOrder$1> & typeof applyCouponToOrder$1>;
142
191
  declare const removeCouponFromOrder: MaybeContext<BuildRESTFunction<typeof removeCouponFromOrder$1> & typeof removeCouponFromOrder$1>;
192
+ declare const listSteps: MaybeContext<BuildRESTFunction<typeof listSteps$1> & typeof listSteps$1>;
193
+ declare const getStep: MaybeContext<BuildRESTFunction<typeof getStep$1> & typeof getStep$1>;
194
+ declare const resolveStep: MaybeContext<BuildRESTFunction<typeof resolveStep$1> & typeof resolveStep$1>;
195
+ declare const updateStepFeedback: MaybeContext<BuildRESTFunction<typeof updateStepFeedback$1> & typeof updateStepFeedback$1>;
196
+ declare const getMediaUploadInfo: MaybeContext<BuildRESTFunction<typeof getMediaUploadInfo$1> & typeof getMediaUploadInfo$1>;
197
+ declare const listSections: MaybeContext<BuildRESTFunction<typeof listSections$1> & typeof listSections$1>;
198
+ declare const getSection: MaybeContext<BuildRESTFunction<typeof getSection$1> & typeof getSection$1>;
143
199
  declare const myProgram: MaybeContext<BuildRESTFunction<typeof myProgram$1> & typeof myProgram$1>;
200
+ declare const myProgramStep: MaybeContext<BuildRESTFunction<typeof myProgramStep$1> & typeof myProgramStep$1>;
201
+ declare const myProgramSection: MaybeContext<BuildRESTFunction<typeof myProgramSection$1> & typeof myProgramSection$1>;
144
202
  /** */
145
203
  declare const onParticipantDeleted: BuildEventDefinition<typeof onParticipantDeleted$1> & typeof onParticipantDeleted$1;
146
204
  /** */
147
205
  declare const onParticipantJoined: BuildEventDefinition<typeof onParticipantJoined$1> & typeof onParticipantJoined$1;
206
+ /** */
207
+ declare const onParticipantStepResolved: BuildEventDefinition<typeof onParticipantStepResolved$1> & typeof onParticipantStepResolved$1;
148
208
 
149
- export { AddAllParticipantOptions, AddParticipantOptions, AddParticipantResponse, AddParticipantsOptions, AddParticipantsResponse, ApplyCouponToOrderIdentifiers, ApplyCouponToOrderOptions, ApplyCouponToOrderResponse, CreateJoinRequestOptions, CreateJoinRequestResponse, CreatePaymentOrderIdentifiers, CreatePaymentOrderOptions, CreatePaymentOrderResponse, DeleteParticipantIdentifiers, DeleteParticipantOptions, DeleteParticipantResponse, GetCertificateIdentifiers, GetCertificateResponse, GetParticipantIdentifiers, InviteAllParticipantsOptions, InviteParticipantsOptions, InviteParticipantsResponse, IssueCertificateIdentifiers, IssueCertificateResponse, IssueParticipantCertificateIdentifiers, IssueParticipantCertificateResponse, JoinParticipantOptions, JoinParticipantResponse, ListParticipantsOptions, ListParticipantsResponse, MyProgramResponse, Participant, ParticipantDeletedEnvelope, ParticipantJoinedEnvelope, QueryParticipantsOptions, QueryParticipantsResponse, RemoveCouponFromOrderIdentifiers, RemoveCouponFromOrderOptions, RemoveCouponFromOrderResponse, ResetParticipantProgressIdentifiers, ResetParticipantProgressOptions, ResetParticipantProgressResponse, ReviveParticipantIdentifiers, ReviveParticipantOptions, ReviveParticipantResponse, UpdateParticipantIdentifiers, UpdateParticipantOptions, UpdateParticipantResponse, addAllParticipant, addParticipant, addParticipants, applyCouponToOrder, createJoinRequest, createPaymentOrder, deleteParticipant, getCertificate, getParticipant, inviteAllParticipants, inviteParticipants, issueCertificate, issueParticipantCertificate, joinParticipant, listParticipants, myProgram, onParticipantDeleted, onParticipantJoined, queryParticipants, removeCouponFromOrder, resetParticipantProgress, reviveParticipant, updateParticipant };
209
+ export { AddAllParticipantOptions, AddParticipantOptions, AddParticipantResponse, AddParticipantsOptions, AddParticipantsResponse, ApplyCouponToOrderIdentifiers, ApplyCouponToOrderOptions, ApplyCouponToOrderResponse, CreateJoinRequestOptions, CreateJoinRequestResponse, CreatePaymentOrderIdentifiers, CreatePaymentOrderOptions, CreatePaymentOrderResponse, DeleteParticipantIdentifiers, DeleteParticipantOptions, DeleteParticipantResponse, GetCertificateIdentifiers, GetCertificateResponse, GetMediaUploadInfoIdentifiers, GetMediaUploadInfoOptions, GetMediaUploadInfoResponse, GetParticipantIdentifiers, GetParticipantSectionResponse, GetParticipantStepResponse, GetSectionIdentifiers, GetSectionOptions, GetStepIdentifiers, GetStepOptions, InviteAllParticipantsOptions, InviteParticipantsOptions, InviteParticipantsResponse, IssueCertificateIdentifiers, IssueCertificateResponse, IssueParticipantCertificateIdentifiers, IssueParticipantCertificateResponse, JoinParticipantOptions, JoinParticipantResponse, ListParticipantSectionsResponse, ListParticipantStepsResponse, ListParticipantsOptions, ListParticipantsResponse, ListSectionsIdentifiers, ListSectionsOptions, ListStepsIdentifiers, ListStepsOptions, MyProgramResponse, MyProgramSectionIdentifiers, MyProgramSectionOptions, MyProgramSectionResponse, MyProgramStepIdentifiers, MyProgramStepOptions, MyProgramStepResponse, Participant, ParticipantDeletedEnvelope, ParticipantJoinedEnvelope, ParticipantStepResolvedEnvelope, QueryParticipantsOptions, QueryParticipantsResponse, RemoveCouponFromOrderIdentifiers, RemoveCouponFromOrderOptions, RemoveCouponFromOrderResponse, ResetParticipantProgressIdentifiers, ResetParticipantProgressOptions, ResetParticipantProgressResponse, ResolveParticipantStepResponse, ResolveStepIdentifiers, ResolveStepOptions, ReviveParticipantIdentifiers, ReviveParticipantOptions, ReviveParticipantResponse, UpdateParticipantIdentifiers, UpdateParticipantOptions, UpdateParticipantResponse, UpdateStepFeedbackIdentifiers, UpdateStepFeedbackOptions, UpdateStepFeedbackResponse, addAllParticipant, addParticipant, addParticipants, applyCouponToOrder, createJoinRequest, createPaymentOrder, deleteParticipant, getCertificate, getMediaUploadInfo, getParticipant, getSection, getStep, inviteAllParticipants, inviteParticipants, issueCertificate, issueParticipantCertificate, joinParticipant, listParticipants, listSections, listSteps, myProgram, myProgramSection, myProgramStep, onParticipantDeleted, onParticipantJoined, onParticipantStepResolved, queryParticipants, removeCouponFromOrder, resetParticipantProgress, resolveStep, reviveParticipant, updateParticipant, updateStepFeedback };