import { QueryParticipantsRequest as QueryParticipantsRequest$1, QueryParticipantsResponse as QueryParticipantsResponse$1, ListParticipantsRequest as ListParticipantsRequest$1, ListParticipantsResponse as ListParticipantsResponse$1, JoinParticipantRequest as JoinParticipantRequest$1, JoinParticipantResponse as JoinParticipantResponse$1, AddParticipantRequest as AddParticipantRequest$1, AddParticipantResponse as AddParticipantResponse$1, AddParticipantsRequest as AddParticipantsRequest$1, AddParticipantsResponse as AddParticipantsResponse$1, AddAllParticipantRequest as AddAllParticipantRequest$1, AddAllParticipantResponse as AddAllParticipantResponse$1, CreateJoinRequestRequest as CreateJoinRequestRequest$1, CreateJoinRequestResponse as CreateJoinRequestResponse$1, InviteParticipantsRequest as InviteParticipantsRequest$1, InviteParticipantsResponse as InviteParticipantsResponse$1, InviteAllParticipantsRequest as InviteAllParticipantsRequest$1, InviteAllParticipantsResponse as InviteAllParticipantsResponse$1, GetParticipantRequest as GetParticipantRequest$1, GetParticipantResponse as GetParticipantResponse$1, UpdateParticipantRequest as UpdateParticipantRequest$1, UpdateParticipantResponse as UpdateParticipantResponse$1, DeleteParticipantRequest as DeleteParticipantRequest$1, DeleteParticipantResponse as DeleteParticipantResponse$1, ReviveParticipantRequest as ReviveParticipantRequest$1, ReviveParticipantResponse as ReviveParticipantResponse$1, ResetParticipantProgressRequest as ResetParticipantProgressRequest$1, ResetParticipantProgressResponse as ResetParticipantProgressResponse$1, IssueParticipantCertificateRequest as IssueParticipantCertificateRequest$1, IssueParticipantCertificateResponse as IssueParticipantCertificateResponse$1, IssueCertificateRequest as IssueCertificateRequest$1, IssueCertificateResponse as IssueCertificateResponse$1, GetCertificateRequest as GetCertificateRequest$1, GetCertificateResponse as GetCertificateResponse$1, CreatePaymentOrderRequest as CreatePaymentOrderRequest$1, CreatePaymentOrderResponse as CreatePaymentOrderResponse$1, ApplyCouponToOrderRequest as ApplyCouponToOrderRequest$1, ApplyCouponToOrderResponse as ApplyCouponToOrderResponse$1, RemoveCouponFromOrderRequest as RemoveCouponFromOrderRequest$1, RemoveCouponFromOrderResponse as RemoveCouponFromOrderResponse$1, ListParticipantStepsRequest as ListParticipantStepsRequest$1, ListParticipantStepsResponse as ListParticipantStepsResponse$1, GetParticipantStepRequest as GetParticipantStepRequest$1, GetParticipantStepResponse as GetParticipantStepResponse$1, ResolveParticipantStepRequest as ResolveParticipantStepRequest$1, ResolveParticipantStepResponse as ResolveParticipantStepResponse$1, UpdateStepFeedbackRequest as UpdateStepFeedbackRequest$1, UpdateStepFeedbackResponse as UpdateStepFeedbackResponse$1, GetMediaUploadInfoRequest as GetMediaUploadInfoRequest$1, GetMediaUploadInfoResponse as GetMediaUploadInfoResponse$1, ListParticipantSectionsRequest as ListParticipantSectionsRequest$1, ListParticipantSectionsResponse as ListParticipantSectionsResponse$1, GetParticipantSectionRequest as GetParticipantSectionRequest$1, GetParticipantSectionResponse as GetParticipantSectionResponse$1, MyProgramRequest as MyProgramRequest$1, MyProgramResponse as MyProgramResponse$1, MyProgramStepRequest as MyProgramStepRequest$1, MyProgramStepResponse as MyProgramStepResponse$1, MyProgramSectionRequest as MyProgramSectionRequest$1, MyProgramSectionResponse as MyProgramSectionResponse$1 } from './index.typings.mjs'; import '@wix/sdk-types'; interface Participant { /** @format GUID */ id?: string; member?: Member; challenge?: EntitySummary; timeFrame?: TimeInterval; stepsSummary?: StepsSummary; orderIds?: string[]; transitions?: StateTransition[]; timezone?: string; dateFrame?: DateInterval; socialGroupId?: string | null; performance?: number; joinPath?: JoinPath; /** Certificate issued to participant on successful program complete */ certificate?: Certificate; } interface StepEvent { stepId?: string; transition?: ParticipantStepStateTransition; } interface ParticipantStepStateTransition { state?: ParticipantStepStateWithLiterals; occurredAt?: Date | null; } declare enum ParticipantStepState { PENDING = "PENDING", RUNNING = "RUNNING", COMPLETED = "COMPLETED", SKIPPED = "SKIPPED", CONFIRMED = "CONFIRMED", REJECTED = "REJECTED", OVERDUE = "OVERDUE", FAILED = "FAILED" } /** @enumType */ type ParticipantStepStateWithLiterals = ParticipantStepState | 'PENDING' | 'RUNNING' | 'COMPLETED' | 'SKIPPED' | 'CONFIRMED' | 'REJECTED' | 'OVERDUE' | 'FAILED'; declare enum State { JOIN_REQUESTED = "JOIN_REQUESTED", INVITED = "INVITED", JOIN_REJECTED = "JOIN_REJECTED", PAYMENT_REQUESTED = "PAYMENT_REQUESTED", PAYMENT_STARTED = "PAYMENT_STARTED", JOINED = "JOINED", LEFT = "LEFT", REMOVED = "REMOVED", RUNNING = "RUNNING", COMPLETED = "COMPLETED", FAILED = "FAILED", PAYMENT_STARTED_OFFLINE = "PAYMENT_STARTED_OFFLINE", SUSPENDED = "SUSPENDED", AUTO_REMOVED = "AUTO_REMOVED" } /** @enumType */ type StateWithLiterals = State | 'JOIN_REQUESTED' | 'INVITED' | 'JOIN_REJECTED' | 'PAYMENT_REQUESTED' | 'PAYMENT_STARTED' | 'JOINED' | 'LEFT' | 'REMOVED' | 'RUNNING' | 'COMPLETED' | 'FAILED' | 'PAYMENT_STARTED_OFFLINE' | 'SUSPENDED' | 'AUTO_REMOVED'; interface Free { } interface Added { } interface SinglePayment { orderId?: string; } interface PaidPlan { planIds?: string[]; } interface FreeCoupon { couponId?: string; } interface Member { /** @format GUID */ id?: string; fullName?: string; imageUrl?: string | null; /** @format GUID */ contactId?: string | null; /** @format GUID */ userId?: string | null; } interface EntitySummary { id?: string; title?: string | null; media?: MediaItem; } /** Deprecated - Copy this message into your service, do not reference it */ interface MediaItem extends MediaItemMediaOneOf { /** WixMedia image */ image?: Image; /** WixMedia video */ video?: Video; /** WixMedia document */ document?: Document; } /** @oneof */ interface MediaItemMediaOneOf { /** WixMedia image */ image?: Image; /** WixMedia video */ video?: Video; /** WixMedia document */ document?: Document; } interface Image { /** WixMedia image ID. */ id?: string; /** Image URL. */ url?: string; /** * Original image height. * @readonly */ height?: number; /** * Original image width. * @readonly */ width?: number; /** Image alt text. */ altText?: string | null; /** * Image URL expiration date (when relevant). * @internal * @readonly */ urlExpirationDate?: Date | null; /** * Image filename. * @readonly */ filename?: string | null; /** * Image size in bytes. * @internal * @readonly * @format DECIMAL_VALUE */ sizeInBytes?: string | null; /** * Focal point of the image. * @internal */ focalPoint?: FocalPoint; } interface FocalPoint { /** X-coordinate of the focal point. */ x?: number; /** Y-coordinate of the focal point. */ y?: number; /** crop by height */ height?: number | null; /** crop by width */ width?: number | null; } /** Deprecated - use VideoV2 */ interface Video { /** WixMedia ID */ id?: string; /** URL of video */ url?: string; /** * Original image height * @readonly */ height?: number; /** * Original image width * @readonly */ width?: number; /** Video poster */ thumbnail?: Image; } interface Document { /** WixMedia ID. */ id?: string; /** Document URL. */ url?: string; /** * Document URL expiration date (when relevant). * @internal */ urlExpirationDate?: Date | null; /** * Document size in bytes. * @internal * @format DECIMAL_VALUE */ sizeInBytes?: string | null; /** Document filename. */ filename?: string | null; /** * Document thumbnail. * @internal * @readonly */ thumbnail?: Image; } interface TimeInterval { start?: Date | null; finish?: Date | null; } interface StepsSummary { stepsNumber?: number; completedStepsNumber?: number; failedStepsNumber?: number; postedFeedbacksNumber?: number; lastEvent?: StepEvent; } interface StateTransition { state?: StateWithLiterals; occurredAt?: Date | null; offlineTrxId?: string | null; } interface DateInterval { start?: string; finish?: string | null; } interface JoinPath extends JoinPathPathOneOf { free?: Free; added?: Added; singlePayment?: SinglePayment; paidPlan?: PaidPlan; freeCoupon?: FreeCoupon; } /** @oneof */ interface JoinPathPathOneOf { free?: Free; added?: Added; singlePayment?: SinglePayment; paidPlan?: PaidPlan; freeCoupon?: FreeCoupon; } interface Certificate { /** * when certificate was issued, UTC * @readonly */ issuedDate?: Date | null; } /** Site owner manually issued a certificate to the participant */ interface ParticipantCertificateIssued { participant?: Participant; } interface QueryParticipantsRequest { paging?: Paging; /** @format GUID */ challengeId: string; sorting?: QueryParticipantsRequestSorting; filter?: ParticipantsFilter; } interface ParticipantJoinDate { start?: string | null; end?: string | null; } declare enum ParticipationState { NotStarted = "NotStarted", InProgress = "InProgress", Finished = "Finished", Suspended = "Suspended", AutoRemoved = "AutoRemoved" } /** @enumType */ type ParticipationStateWithLiterals = ParticipationState | 'NotStarted' | 'InProgress' | 'Finished' | 'Suspended' | 'AutoRemoved'; interface ParticipantPerformance { /** @max 100 */ start?: number | null; /** @max 100 */ end?: number | null; } declare enum QueryParticipantsRequestJoinPath { UNKNOWN_JOIN_PATH = "UNKNOWN_JOIN_PATH", FREE = "FREE", ADDED = "ADDED", SINGLE_PAYMENT = "SINGLE_PAYMENT", PAID_PLAN = "PAID_PLAN" } /** @enumType */ type QueryParticipantsRequestJoinPathWithLiterals = QueryParticipantsRequestJoinPath | 'UNKNOWN_JOIN_PATH' | 'FREE' | 'ADDED' | 'SINGLE_PAYMENT' | 'PAID_PLAN'; declare enum QueryParticipantsRequestSortingCriterion { DEFAULT = "DEFAULT", JOIN_DATE = "JOIN_DATE", NAME = "NAME", LAST_EVENT = "LAST_EVENT", PERFORMANCE = "PERFORMANCE" } /** @enumType */ type QueryParticipantsRequestSortingCriterionWithLiterals = QueryParticipantsRequestSortingCriterion | 'DEFAULT' | 'JOIN_DATE' | 'NAME' | 'LAST_EVENT' | 'PERFORMANCE'; declare enum QueryParticipantsRequestSortingOrder { ORDER_DEFAULT = "ORDER_DEFAULT", ORDER_ASC = "ORDER_ASC", ORDER_DESC = "ORDER_DESC" } /** @enumType */ type QueryParticipantsRequestSortingOrderWithLiterals = QueryParticipantsRequestSortingOrder | 'ORDER_DEFAULT' | 'ORDER_ASC' | 'ORDER_DESC'; interface Paging { /** Number of items to load. */ limit?: number | null; /** Number of items to skip in the current sort order. */ offset?: number | null; } interface QueryParticipantsRequestSorting { criterion?: QueryParticipantsRequestSortingCriterionWithLiterals; order?: QueryParticipantsRequestSortingOrderWithLiterals; } interface ParticipantsFilter { /** @format GUID */ memberIds?: string[] | null; memberName?: string | null; states?: StateWithLiterals[]; joinedAt?: ParticipantJoinDate; participationStates?: ParticipationStateWithLiterals[]; performance?: ParticipantPerformance[]; joinPath?: QueryParticipantsRequestJoinPathWithLiterals; } interface QueryParticipantsResponse { totalCount?: number; participants?: Participant[]; } interface ListParticipantsRequest { paging?: Paging; /** @format GUID */ challengeId: string; /** * @format GUID * @deprecated */ memberId?: string | null; states?: StateWithLiterals[]; memberIds?: string[] | null; /** @deprecated */ sortingCriterion?: SortingCriterionWithLiterals; /** @minLength 2 */ memberName?: string | null; sorting?: Sorting; } declare enum SortingCriterion { DEFAULT = "DEFAULT", JOIN_DATE = "JOIN_DATE", NAME = "NAME", LAST_EVENT = "LAST_EVENT", PERFORMANCE = "PERFORMANCE" } /** @enumType */ type SortingCriterionWithLiterals = SortingCriterion | 'DEFAULT' | 'JOIN_DATE' | 'NAME' | 'LAST_EVENT' | 'PERFORMANCE'; declare enum SortingOrder { ORDER_DEFAULT = "ORDER_DEFAULT", ORDER_ASC = "ORDER_ASC", ORDER_DESC = "ORDER_DESC" } /** @enumType */ type SortingOrderWithLiterals = SortingOrder | 'ORDER_DEFAULT' | 'ORDER_ASC' | 'ORDER_DESC'; interface Sorting { criterion?: SortingCriterionWithLiterals; order?: SortingOrderWithLiterals; } interface ListParticipantsResponse { totalCount?: number; participants?: Participant[]; } interface JoinParticipantRequest { /** @format GUID */ challengeId: string; /** * ignored, taken from callScope instead * @format GUID * @deprecated ignored, taken from callScope instead * @targetRemovalDate 2024-09-01 */ memberId?: string; timeZone?: string; /** @format GUID */ actionId?: string; startDate?: string | null; } interface JoinParticipantResponse { /** @format GUID */ participantId?: string; /** @format GUID */ actionId?: string; participant?: Participant; } interface ParticipantJoined { participant?: Participant; /** * user id for program owner * @format GUID */ ownerId?: string; /** * owner's contact id * @format GUID */ ownerContactId?: string; /** paid price for the program. */ payment?: Price; } interface Price { /** @format DECIMAL_VALUE */ amount?: string; /** @format CURRENCY */ currency?: string; } /** Add participant */ interface AddParticipantRequest { /** @format GUID */ challengeId: string; /** @format GUID */ memberId?: string; /** @format GUID */ actionId?: string; } interface AddParticipantResponse { participant?: Participant; /** @format GUID */ actionId?: string; } /** Add participants */ interface AddParticipantsRequest { /** @format GUID */ challengeId: string; /** * @format GUID * @maxSize 1000 */ memberIds?: string[]; /** @format GUID */ actionId?: string; } interface AddParticipantsResponse { participants?: Participant[]; /** @format GUID */ actionId?: string; } interface AddAllParticipantRequest { /** @format GUID */ challengeId: string; /** @format GUID */ excludeIds?: string[]; } interface AddAllParticipantResponse { } interface CreateJoinRequestRequest { /** @format GUID */ challengeId: string; /** @format GUID */ memberId?: string; timeZone?: string; /** @format GUID */ actionId?: string; startDate?: string | null; } interface CreateJoinRequestResponse { /** @format GUID */ participantId?: string; /** @format GUID */ approvalRequestId?: string; /** @format GUID */ actionId?: string; participant?: Participant; } interface InviteParticipantsRequest { /** @format GUID */ challengeId: string; memberIds?: string[]; /** @format GUID */ actionId?: string; } interface InviteParticipantsResponse { invitations?: InvitationDetails[]; /** @format GUID */ actionId?: string; } interface InvitationDetails { /** @format GUID */ participantId?: string; /** @format GUID */ approvalRequestId?: string; } interface InviteAllParticipantsRequest { /** @format GUID */ challengeId: string; /** @format GUID */ excludeIds?: string[]; } interface InviteAllParticipantsResponse { } interface GetParticipantRequest { /** @format GUID */ challengeId: string; /** @format GUID */ participantId: string; } interface GetParticipantResponse { participant?: Participant; } interface UpdateParticipantRequest extends UpdateParticipantRequestUpdateOneOf { startDate?: string; /** @format GUID */ challengeId: string; /** @format GUID */ participantId: string; /** @format GUID */ actionId?: string; } /** @oneof */ interface UpdateParticipantRequestUpdateOneOf { startDate?: string; } interface UpdateParticipantResponse { participant?: Participant; /** @format GUID */ actionId?: string; } interface DeleteParticipantRequest { /** @format GUID */ challengeId: string; /** @format GUID */ participantId: string; /** @format GUID */ actionId?: string; } interface DeleteParticipantResponse { /** @format GUID */ actionId?: string; } interface ReviveParticipantRequest { /** @format GUID */ challengeId: string; /** @format GUID */ participantId: string; /** @format GUID */ actionId?: string; } interface ReviveParticipantResponse { participant?: Participant; /** @format GUID */ actionId?: string; } interface ResetParticipantProgressRequest { /** @format GUID */ challengeId: string; /** @format GUID */ participantId: string; timeZone?: string; startDate?: string | null; /** @format GUID */ actionId?: string; } interface ResetParticipantProgressResponse { participant?: Participant; /** @format GUID */ actionId?: string; } interface IssueParticipantCertificateRequest { /** * Participant to issue manually certificate * @format GUID */ participantId: string; /** * Program id. TODO: really bad to have it here, needed for url * @format GUID */ challengeId: string; } interface IssueParticipantCertificateResponse { /** Updated participant */ participant?: Participant; } interface IssueCertificateRequest { /** * Participant to get certificate * @format GUID */ participantId: string; /** * Program id. TODO: really bad to have it here, needed for url * @format GUID */ challengeId: string; } interface IssueCertificateResponse { /** Updated participant */ participant?: Participant; } interface GetCertificateRequest { /** * Participant to get certificate * @format GUID */ participantId: string; /** * Program id. TODO: really bad to have it here, needed for url * @format GUID */ challengeId: string; } interface GetCertificateResponse { /** * URL on media to get certificate * @format WEB_URL */ certificateUrl?: string; } interface CreatePaymentOrderRequest { /** @format GUID */ challengeId: string; /** @format GUID */ participantId: string; /** @format GUID */ actionId?: string; timeZone?: string | null; startDate?: string | null; paymentType?: PaymentTypeWithLiterals; } declare enum PaymentType { SINGLE_PAYMENT = "SINGLE_PAYMENT", PAID_PLANS = "PAID_PLANS" } /** @enumType */ type PaymentTypeWithLiterals = PaymentType | 'SINGLE_PAYMENT' | 'PAID_PLANS'; interface CreatePaymentOrderResponse { /** @format GUID */ orderId?: string; /** @format GUID */ actionId?: string; participant?: Participant; } interface ApplyCouponToOrderRequest { /** @format GUID */ challengeId: string; /** @format GUID */ participantId: string; /** @format GUID */ orderId: string; couponCode: string; /** @format GUID */ actionId?: string; } interface ApplyCouponToOrderResponse { /** @format GUID */ couponId?: string; subTotal?: string; discount?: string; total?: string; } interface RemoveCouponFromOrderRequest { /** @format GUID */ challengeId: string; /** @format GUID */ participantId: string; /** @format GUID */ orderId: string; /** @format GUID */ couponId: string; /** @format GUID */ actionId?: string; } interface RemoveCouponFromOrderResponse { total?: string; } interface ListParticipantStepsRequest { /** * Challenge/Program (tenant) ID. GUID. * @format GUID */ challengeId: string; /** * Participant entity ID within the challenge. GUID. * @format GUID */ participantId: string; /** Optional parent step ID to scope to sub-steps. */ parentId?: string; /** Optional absolute time window for time-based progress. */ timeInterval?: TimeInterval; /** Optional local date window for date-based progress. */ dateInterval?: DateInterval; /** Controls verbose description fields in response. */ descriptionFieldSet?: DescriptionFieldSetWithLiterals; } declare enum DescriptionFieldSet { /** title and detailed description. */ EXTENDED = "EXTENDED", /** title only. */ STANDARD = "STANDARD" } /** @enumType */ type DescriptionFieldSetWithLiterals = DescriptionFieldSet | 'EXTENDED' | 'STANDARD'; interface ListParticipantStepsResponse { /** Participant steps matching the query. */ steps?: ParticipantStep[]; } interface ParticipantStep { id?: string; source?: ChallengeStep; timeFrame?: TimeInterval; feedback?: Feedback; transitions?: ParticipantStepStateTransition[]; dateFrame?: DateInterval; quizSubmission?: QuizSubmission; } interface FeedbackItem extends FeedbackItemValueOneOf { number?: number | null; text?: string | null; media?: MediaItems; choice?: FeedbackItemChoice; quantity?: Quantity; multiSelect?: Choices; /** @format GUID */ feedbackItemSettingsId?: string; } /** @oneof */ interface FeedbackItemValueOneOf { number?: number | null; text?: string | null; media?: MediaItems; choice?: FeedbackItemChoice; quantity?: Quantity; multiSelect?: Choices; } interface MediaItems { mediaItems?: MediaItem[]; } interface FeedbackItemChoice { choiceId?: string; } interface Quantity { unitName?: string; amount?: number; } interface Choices { choiceIds?: string[]; } interface ChallengeStep { id?: string; settings?: ChallengeStepSettings; /** * @format GUID * @deprecated */ recurrenceSourceId?: string | null; createdAt?: Date | null; updatedAt?: Date | null; /** * @format GUID * @readonly */ sectionId?: string | null; } interface GeneralSettings extends GeneralSettingsStepTypeOneOf { individual?: IndividualSettings; /** @deprecated */ group?: GroupSettings; quiz?: QuizSettings; video?: VideoStepSettings; /** steps description: title, details, image and etc. */ description?: ObjectDescription; duration?: TimeDuration; /** @deprecated */ recurrenceSettings?: RecurrenceSettings; } /** @oneof */ interface GeneralSettingsStepTypeOneOf { individual?: IndividualSettings; /** @deprecated */ group?: GroupSettings; quiz?: QuizSettings; video?: VideoStepSettings; } interface ObjectDescription { /** @maxLength 150 */ title?: string | null; /** @maxLength 2000 */ details?: string | null; media?: MediaItem; } interface IndividualSettings { /** should be renamed, it's a flag whether the questionnaire section is enabled. */ confirmationRequired?: boolean; /** feedback list settings. */ feedbackSettings?: FeedbackItemSettings[]; /** whether the quiz section in enabled. */ showQuiz?: boolean; /** quiz list settings. */ quizSettings?: FeedbackItemSettings[]; } interface FeedbackItemSettings { id?: string; type?: FeedbackItemType; question?: string; isRequired?: boolean; correctAnswerMessage?: string | null; wrongAnswerMessage?: string | null; } interface NumericFeedbackItem { /** @min 1 */ maxValue?: number; } interface TextFeedbackItem { } interface MediaFeedbackItem { } interface MultipleChoiceFeedbackItem { choices?: Choice[]; } declare enum ChoiceRightness { NEUTRAL = "NEUTRAL", RIGHT = "RIGHT", WRONG = "WRONG" } /** @enumType */ type ChoiceRightnessWithLiterals = ChoiceRightness | 'NEUTRAL' | 'RIGHT' | 'WRONG'; interface Choice { id?: string; description?: ObjectDescription; rightness?: ChoiceRightnessWithLiterals; } interface QuantityFeedbackItem { unitName?: string | null; amount?: number; } interface FeedbackItemType extends FeedbackItemTypeTypeOneOf { numeric?: NumericFeedbackItem; text?: TextFeedbackItem; media?: MediaFeedbackItem; multipleChoice?: MultipleChoiceFeedbackItem; quantity?: QuantityFeedbackItem; multiSelect?: MultipleChoiceFeedbackItem; } /** @oneof */ interface FeedbackItemTypeTypeOneOf { numeric?: NumericFeedbackItem; text?: TextFeedbackItem; media?: MediaFeedbackItem; multipleChoice?: MultipleChoiceFeedbackItem; quantity?: QuantityFeedbackItem; multiSelect?: MultipleChoiceFeedbackItem; } interface GroupSettings { completionCriteria?: CompletionCriteria; } interface CompletionCriteria { completedSteps?: QuantityCriterion; completedMilestones?: QuantityCriterion; scoredPoints?: MinThreshold; } interface QuantityCriterion extends QuantityCriterionCriterionOneOf { all?: All; minThreshold?: MinThreshold; } /** @oneof */ interface QuantityCriterionCriterionOneOf { all?: All; minThreshold?: MinThreshold; } interface All { } interface MinThreshold { /** @min 1 */ value?: number; } interface QuizSettings { quizId?: string; questionCount?: number; passingGrade?: number | null; migrationDetails?: QuizMigrationDetails; } declare enum QuizType { QUIZ = "QUIZ", QUESTIONNAIRE = "QUESTIONNAIRE" } /** @enumType */ type QuizTypeWithLiterals = QuizType | 'QUIZ' | 'QUESTIONNAIRE'; interface QuizMigrationDetails { sourceStepId?: string; show?: boolean; quizType?: QuizTypeWithLiterals; } interface VideoStepSettings extends VideoStepSettingsVideoSourceOneOf { wixVideo?: WixVideo; video?: VideoV2; requiredCompletionPercentage?: number; coverImage?: Image; durationInMilliseconds?: number | null; deleted?: boolean; } /** @oneof */ interface VideoStepSettingsVideoSourceOneOf { wixVideo?: WixVideo; video?: VideoV2; } interface WixVideo { /** @format GUID */ id?: string; paid?: boolean; } interface VideoV2 { /** WixMedia ID. */ id?: string; /** * Original video URL. * @internal */ url?: string; /** * Available resolutions for the video, starting with the optimal resolution. * @readonly * @maxSize 100 */ resolutions?: VideoResolution[]; /** * Video filename. * @readonly */ filename?: string | null; /** * Video posters. * @internal * @readonly */ posters?: Image[]; /** * Original video size in bytes. * @internal * @readonly * @format DECIMAL_VALUE */ sizeInBytes?: string | null; /** * Video URL expiration date (when relevant). * @internal * @readonly */ urlExpirationDate?: Date | null; /** * Original video duration in milliseconds. * @internal * @readonly */ durationInMilliseconds?: number | null; /** * A short title for the video. will be used for SEO purposes. * @internal * @maxLength 300 */ title?: string | null; /** * A long description for the video. will be used for SEO purposes. * @internal * @maxLength 2000 */ description?: string | null; /** * Original video height. * @internal * @readonly */ height?: number | null; /** * Original video width. * @internal * @readonly */ width?: number | null; } interface VideoResolution { /** Video URL. */ url?: string; /** Video height. */ height?: number; /** Video width. */ width?: number; /** * Deprecated. Use the `posters` property in the parent entity instead. * @internal * @deprecated */ poster?: Image; /** Video format for example, mp4, hls. */ format?: string; /** * Deprecated. Use the `urlExpirationDate` property in the parent entity instead. * @internal * @deprecated */ urlExpirationDate?: Date | null; /** * Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution. * @internal * @format DECIMAL_VALUE * @deprecated */ sizeInBytes?: string | null; /** * Video quality. For example: 480p, 720p. * @internal */ quality?: string | null; /** * Video filename. * @internal */ filename?: string | null; /** * Video duration in seconds. * @internal * @readonly * @deprecated Video duration in seconds. * @replacedBy duration_in_milliseconds * @targetRemovalDate 2024-08-01 */ durationInSeconds?: number | null; /** * Video duration in milliseconds. * @internal * @readonly */ durationInMilliseconds?: number | null; /** * When true, this is a protected asset, and calling the URL will return a 403 error. * In order to access private assets, make a request to: * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request * @internal * @readonly */ private?: boolean | null; /** * Key to identify the video resolution's relationship to the original media in WixMedia. * Can be used to request a download for the specific video resolution. * For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4 * @internal * @readonly */ assetKey?: string | null; } interface TimeDuration { unit?: DurationUnitWithLiterals; value?: number; } declare enum DurationUnit { WEEKS = "WEEKS", DAYS = "DAYS", HOURS = "HOURS", MINUTES = "MINUTES" } /** @enumType */ type DurationUnitWithLiterals = DurationUnit | 'WEEKS' | 'DAYS' | 'HOURS' | 'MINUTES'; interface RecurrenceSettings { schedules?: RecurrenceSchedule[]; /** @min 1 */ recurrencesCount?: number | null; } interface RecurrenceSchedule { startDelay?: TimeDuration; interval?: TimeDuration; } interface EmbeddingSettings { /** step start delay. */ startConditions?: StartCondition[]; /** @deprecated */ isMilestone?: boolean; /** @deprecated */ points?: number | null; } interface StartCondition { /** whether the step should start on join. */ dependency?: StepDependency; /** step delay regarding the challenge start. */ delay?: TimeDuration; } interface StepDependency extends StepDependencyDependencyTypeOneOf { container?: Container; /** @deprecated */ step?: StepId; } /** @oneof */ interface StepDependencyDependencyTypeOneOf { container?: Container; /** @deprecated */ step?: StepId; } interface Container { } interface StepId { /** @format GUID */ stepId?: string; } interface ChallengeStepSettings { general?: GeneralSettings; embedding?: EmbeddingSettings; } interface Feedback { items?: FeedbackItem[]; createdAt?: Date | null; updatedAt?: Date | null; quiz?: FeedbackItem[]; } interface QuizSubmission { quizSubmissionId?: string; score?: number | null; grade?: number | null; rightAnswers?: number | null; passingGrade?: number | null; } interface GetParticipantStepRequest { /** * Challenge/Program (tenant) ID. GUID. * @format GUID */ challengeId: string; /** * Participant entity ID. GUID. * @format GUID */ participantId: string; /** Step ID (program step or resolved instance). */ stepId: string; /** Optional absolute time window for time-based progress. */ timeInterval?: TimeInterval; /** Controls verbose description fields in response. */ descriptionFieldSet?: DescriptionFieldSetWithLiterals; } interface GetParticipantStepResponse { /** Requested participant step details. */ step?: ParticipantStep; /** Immediate sub-steps for hierarchical steps (if any). */ subSteps?: ParticipantStep[]; } interface ResolveParticipantStepRequest { /** * Challenge/Program (tenant) ID. GUID. * @format GUID */ challengeId: string; /** * Participant entity ID. GUID. * @format GUID */ participantId: string; /** Target step ID to resolve. */ stepId: string; /** Resolution action to apply. */ status?: ResolutionStatusWithLiterals; /** Optional instructor feedback payload. */ feedback?: Feedback; /** Optional idempotency key for action tracking. */ actionId?: string; /** * Optional quiz submission to attach. GUID. * @format GUID */ quizSubmissionId?: string | null; } declare enum ResolutionStatus { COMPLETED = "COMPLETED", SKIPPED = "SKIPPED", UNDO = "UNDO", QUIZ_SUBMIT = "QUIZ_SUBMIT" } /** @enumType */ type ResolutionStatusWithLiterals = ResolutionStatus | 'COMPLETED' | 'SKIPPED' | 'UNDO' | 'QUIZ_SUBMIT'; interface ResolveParticipantStepResponse { /** Updated participant step after resolution. */ step?: ParticipantStep; /** * Server-generated action id. GUID. * @format GUID */ actionId?: string; } /** Deprecated. */ interface StepResolved { challengeId?: string; participantId?: string; memberId?: string; stepTitle?: string; participantStepId?: string; challengeStepId?: string; /** TODO why it is repeated? */ feedback?: Feedback[]; /** Title of the program. Used in Notifications */ programName?: string; /** * user id for program owner * @format GUID */ ownerId?: string; /** * owner's contact id * @format GUID */ ownerContactId?: string; /** * participants contact * @format GUID */ participantContactId?: string; /** info about quiz submission in that step */ quizSubmissionData?: QuizSubmissionData; /** info about if participant completed step successfully or not */ status?: StatusWithLiterals; } interface QuizSubmissionData { /** @format GUID */ submissionId?: string | null; earnedScore?: number | null; passingGrade?: number | null; } declare enum Status { /** step completed */ COMPLETED = "COMPLETED", /** participant failed to resolve step */ FAILED = "FAILED" } /** @enumType */ type StatusWithLiterals = Status | 'COMPLETED' | 'FAILED'; interface UpdateStepFeedbackRequest { /** * Challenge/Program (tenant) ID. GUID. * @format GUID */ challengeId: string; /** * Participant entity ID. GUID. * @format GUID */ participantId: string; /** Target step ID to update feedback for. */ stepId: string; /** New feedback payload. */ feedback?: Feedback; /** * Idempotency key for feedback update. GUID. * @format GUID */ actionId?: string; } interface UpdateStepFeedbackResponse { /** Participant step with updated feedback. */ step?: ParticipantStep; /** * Server-generated action id. GUID. * @format GUID */ actionId?: string; } interface GetMediaUploadInfoRequest { /** * Challenge/Program (tenant) ID. GUID. * @format GUID */ challengeId: string; /** * Participant entity ID. GUID. * @format GUID */ participantId: string; /** Original filename to derive content-type and path. */ fileName?: string; } interface GetMediaUploadInfoResponse { /** Pre-signed URL to upload media. */ uploadUrl?: string; /** Token required by media service for upload. */ uploadToken?: string; } interface ListParticipantSectionsRequest { /** * Challenge/Program (tenant) ID. GUID. * @format GUID */ challengeId: string; /** * Participant entity ID. GUID. * @format GUID */ participantId: string; /** Controls verbose description fields in response. */ descriptionFieldSet?: DescriptionFieldSetWithLiterals; } interface ListParticipantSectionsResponse { /** Participant sections for the program. */ sections?: ParticipantSection[]; } interface ParticipantSection { id?: string; source?: ChallengeSection; steps?: ParticipantStep[]; transitions?: ParticipantSectionStateTransition[]; progress?: Progress; } interface WaitingDate { startDate?: string; } interface WaitingDependency { sectionId?: string; } interface Running { dateInterval?: DateInterval; } interface Completed { } interface Overdue { } interface ChallengeSection { /** challenge section id. */ id?: string; /** challenge section settings. */ settings?: Settings; createdAt?: Date | null; updatedAt?: Date | null; /** list of challenge steps laying inside the section. */ steps?: ChallengeStep[]; } interface Settings { /** section description(title, details, image...) */ description?: ObjectDescription; /** condition for the section start. */ startCondition?: StartCondition; } interface ParticipantSectionStateTransition extends ParticipantSectionStateTransitionStateOneOf { waitingDate?: WaitingDate; waitingDependency?: WaitingDependency; running?: Running; completed?: Completed; overdue?: Overdue; occurredAt?: Date | null; } /** @oneof */ interface ParticipantSectionStateTransitionStateOneOf { waitingDate?: WaitingDate; waitingDependency?: WaitingDependency; running?: Running; completed?: Completed; overdue?: Overdue; } interface Progress { nTotalSteps?: string; nCompletedSteps?: string; } interface GetParticipantSectionRequest { /** * Challenge/Program (tenant) ID. GUID. * @format GUID */ challengeId: string; /** * Participant entity ID. GUID. * @format GUID */ participantId: string; /** * Section ID to fetch. GUID. * @format GUID */ sectionId: string; /** Controls verbose description fields in response. */ descriptionFieldSet?: DescriptionFieldSetWithLiterals; } interface GetParticipantSectionResponse { /** Requested participant section details. */ section?: ParticipantSection; } interface MyProgramRequest { programId: string; } interface MyProgramResponse { participant?: Participant; } interface MyProgramStepRequest { programId: string; programStepId: string; descriptionFieldSet?: DescriptionFieldSetWithLiterals; } interface MyProgramStepResponse { /** Viewer's participant step derived for the program step. */ participantStep?: ParticipantStep; } interface MyProgramSectionRequest { programId: string; programSectionId: string; descriptionFieldSet?: DescriptionFieldSetWithLiterals; } interface MyProgramSectionResponse { /** Viewer's participant section derived for the program section. */ participantSection?: ParticipantSection; } interface DomainEvent extends DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; /** Event ID. With this ID you can easily spot duplicated events and ignore them. */ id?: string; /** * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities. * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`. */ entityFqdn?: string; /** * Event action name, placed at the top level to make it easier for users to dispatch messages. * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`. */ slug?: string; /** ID of the entity associated with the event. */ entityId?: string; /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */ eventTime?: Date | null; /** * Whether the event was triggered as a result of a privacy regulation application * (for example, GDPR). */ triggeredByAnonymizeRequest?: boolean | null; /** If present, indicates the action that triggered the event. */ originatedFrom?: string | null; /** * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number. * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it. */ entityEventSequence?: string | null; } /** @oneof */ interface DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; } interface EntityCreatedEvent { entityAsJson?: string; /** * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity * @internal */ triggeredByUndelete?: boolean | null; /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */ restoreInfo?: RestoreInfo; /** * Optional domain-specific metadata defined by the API owner, encoded as JSON. * @internal */ additionalMetadataAsJson?: string | null; } interface RestoreInfo { deletedDate?: Date | null; } interface EntityUpdatedEvent { /** * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff. * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects. * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it. */ currentEntityAsJson?: string; /** * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard * wont populate it / have any reference to it in the API. * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed, * the developer should send only the new (current) entity. * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message. * @internal * @deprecated */ previousEntityAsJson?: string | null; /** * Map of fully qualified field paths to their previous values for fields that changed. * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format) * @internal */ modifiedFields?: Record; /** * Optional domain-specific metadata defined by the API owner, encoded as JSON. * @internal */ additionalMetadataAsJson?: string | null; } interface EntityDeletedEvent { /** * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled * @internal */ movedToTrash?: boolean | null; /** Entity that was deleted. */ deletedEntityAsJson?: string | null; /** * Optional domain-specific metadata defined by the API owner, encoded as JSON. * @internal */ additionalMetadataAsJson?: string | null; } interface ActionEvent { bodyAsJson?: string; } interface MessageEnvelope { /** * App instance ID. * @format GUID */ instanceId?: string | null; /** * Event type. * @maxLength 150 */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData; /** Stringify payload. */ data?: string; /** Details related to the account */ accountInfo?: AccountInfo; } interface IdentificationData extends IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; /** @readonly */ identityType?: WebhookIdentityTypeWithLiterals; } /** @oneof */ interface IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; } declare enum WebhookIdentityType { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } /** @enumType */ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP'; interface AccountInfo { /** * ID of the Wix account associated with the event. * @format GUID */ accountId?: string | null; /** * ID of the parent Wix account. Only included when accountId belongs to a child account. * @format GUID */ parentAccountId?: string | null; /** * ID of the Wix site associated with the event. Only included when the event is tied to a specific site. * @format GUID */ siteId?: string | null; } type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function queryParticipants(): __PublicMethodMetaInfo<'POST', { challengeId: string; }, QueryParticipantsRequest$1, QueryParticipantsRequest, QueryParticipantsResponse$1, QueryParticipantsResponse>; declare function listParticipants(): __PublicMethodMetaInfo<'GET', { challengeId: string; }, ListParticipantsRequest$1, ListParticipantsRequest, ListParticipantsResponse$1, ListParticipantsResponse>; declare function joinParticipant(): __PublicMethodMetaInfo<'POST', { challengeId: string; }, JoinParticipantRequest$1, JoinParticipantRequest, JoinParticipantResponse$1, JoinParticipantResponse>; declare function addParticipant(): __PublicMethodMetaInfo<'POST', { challengeId: string; }, AddParticipantRequest$1, AddParticipantRequest, AddParticipantResponse$1, AddParticipantResponse>; declare function addParticipants(): __PublicMethodMetaInfo<'POST', { challengeId: string; }, AddParticipantsRequest$1, AddParticipantsRequest, AddParticipantsResponse$1, AddParticipantsResponse>; declare function addAllParticipant(): __PublicMethodMetaInfo<'POST', { challengeId: string; }, AddAllParticipantRequest$1, AddAllParticipantRequest, AddAllParticipantResponse$1, AddAllParticipantResponse>; declare function createJoinRequest(): __PublicMethodMetaInfo<'POST', { challengeId: string; }, CreateJoinRequestRequest$1, CreateJoinRequestRequest, CreateJoinRequestResponse$1, CreateJoinRequestResponse>; declare function inviteParticipants(): __PublicMethodMetaInfo<'POST', { challengeId: string; }, InviteParticipantsRequest$1, InviteParticipantsRequest, InviteParticipantsResponse$1, InviteParticipantsResponse>; declare function inviteAllParticipants(): __PublicMethodMetaInfo<'POST', { challengeId: string; }, InviteAllParticipantsRequest$1, InviteAllParticipantsRequest, InviteAllParticipantsResponse$1, InviteAllParticipantsResponse>; declare function getParticipant(): __PublicMethodMetaInfo<'GET', { challengeId: string; participantId: string; }, GetParticipantRequest$1, GetParticipantRequest, GetParticipantResponse$1, GetParticipantResponse>; declare function updateParticipant(): __PublicMethodMetaInfo<'PATCH', { challengeId: string; participantId: string; }, UpdateParticipantRequest$1, UpdateParticipantRequest, UpdateParticipantResponse$1, UpdateParticipantResponse>; declare function deleteParticipant(): __PublicMethodMetaInfo<'DELETE', { challengeId: string; participantId: string; }, DeleteParticipantRequest$1, DeleteParticipantRequest, DeleteParticipantResponse$1, DeleteParticipantResponse>; declare function reviveParticipant(): __PublicMethodMetaInfo<'PATCH', { challengeId: string; participantId: string; }, ReviveParticipantRequest$1, ReviveParticipantRequest, ReviveParticipantResponse$1, ReviveParticipantResponse>; declare function resetParticipantProgress(): __PublicMethodMetaInfo<'PATCH', { challengeId: string; participantId: string; }, ResetParticipantProgressRequest$1, ResetParticipantProgressRequest, ResetParticipantProgressResponse$1, ResetParticipantProgressResponse>; declare function issueParticipantCertificate(): __PublicMethodMetaInfo<'POST', { challengeId: string; participantId: string; }, IssueParticipantCertificateRequest$1, IssueParticipantCertificateRequest, IssueParticipantCertificateResponse$1, IssueParticipantCertificateResponse>; declare function issueCertificate(): __PublicMethodMetaInfo<'POST', { challengeId: string; participantId: string; }, IssueCertificateRequest$1, IssueCertificateRequest, IssueCertificateResponse$1, IssueCertificateResponse>; declare function getCertificate(): __PublicMethodMetaInfo<'GET', { challengeId: string; participantId: string; }, GetCertificateRequest$1, GetCertificateRequest, GetCertificateResponse$1, GetCertificateResponse>; declare function createPaymentOrder(): __PublicMethodMetaInfo<'POST', { challengeId: string; participantId: string; }, CreatePaymentOrderRequest$1, CreatePaymentOrderRequest, CreatePaymentOrderResponse$1, CreatePaymentOrderResponse>; declare function applyCouponToOrder(): __PublicMethodMetaInfo<'POST', { challengeId: string; participantId: string; orderId: string; }, ApplyCouponToOrderRequest$1, ApplyCouponToOrderRequest, ApplyCouponToOrderResponse$1, ApplyCouponToOrderResponse>; declare function removeCouponFromOrder(): __PublicMethodMetaInfo<'DELETE', { challengeId: string; participantId: string; orderId: string; couponId: string; }, RemoveCouponFromOrderRequest$1, RemoveCouponFromOrderRequest, RemoveCouponFromOrderResponse$1, RemoveCouponFromOrderResponse>; declare function listSteps(): __PublicMethodMetaInfo<'GET', { challengeId: string; participantId: string; }, ListParticipantStepsRequest$1, ListParticipantStepsRequest, ListParticipantStepsResponse$1, ListParticipantStepsResponse>; declare function getStep(): __PublicMethodMetaInfo<'GET', { challengeId: string; participantId: string; stepId: string; }, GetParticipantStepRequest$1, GetParticipantStepRequest, GetParticipantStepResponse$1, GetParticipantStepResponse>; declare function resolveStep(): __PublicMethodMetaInfo<'PATCH', { challengeId: string; participantId: string; stepId: string; }, ResolveParticipantStepRequest$1, ResolveParticipantStepRequest, ResolveParticipantStepResponse$1, ResolveParticipantStepResponse>; declare function updateStepFeedback(): __PublicMethodMetaInfo<'PUT', { challengeId: string; participantId: string; stepId: string; }, UpdateStepFeedbackRequest$1, UpdateStepFeedbackRequest, UpdateStepFeedbackResponse$1, UpdateStepFeedbackResponse>; declare function getMediaUploadInfo(): __PublicMethodMetaInfo<'GET', { challengeId: string; participantId: string; }, GetMediaUploadInfoRequest$1, GetMediaUploadInfoRequest, GetMediaUploadInfoResponse$1, GetMediaUploadInfoResponse>; declare function listSections(): __PublicMethodMetaInfo<'GET', { challengeId: string; participantId: string; }, ListParticipantSectionsRequest$1, ListParticipantSectionsRequest, ListParticipantSectionsResponse$1, ListParticipantSectionsResponse>; declare function getSection(): __PublicMethodMetaInfo<'GET', { challengeId: string; participantId: string; sectionId: string; }, GetParticipantSectionRequest$1, GetParticipantSectionRequest, GetParticipantSectionResponse$1, GetParticipantSectionResponse>; declare function myProgram(): __PublicMethodMetaInfo<'GET', { programId: string; }, MyProgramRequest$1, MyProgramRequest, MyProgramResponse$1, MyProgramResponse>; declare function myProgramStep(): __PublicMethodMetaInfo<'GET', { programId: string; programStepId: string; }, MyProgramStepRequest$1, MyProgramStepRequest, MyProgramStepResponse$1, MyProgramStepResponse>; declare function myProgramSection(): __PublicMethodMetaInfo<'GET', { programId: string; programSectionId: string; }, MyProgramSectionRequest$1, MyProgramSectionRequest, MyProgramSectionResponse$1, MyProgramSectionResponse>; export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddAllParticipantRequest as AddAllParticipantRequestOriginal, type AddAllParticipantResponse as AddAllParticipantResponseOriginal, type AddParticipantRequest as AddParticipantRequestOriginal, type AddParticipantResponse as AddParticipantResponseOriginal, type AddParticipantsRequest as AddParticipantsRequestOriginal, type AddParticipantsResponse as AddParticipantsResponseOriginal, type Added as AddedOriginal, type All as AllOriginal, type ApplyCouponToOrderRequest as ApplyCouponToOrderRequestOriginal, type ApplyCouponToOrderResponse as ApplyCouponToOrderResponseOriginal, type Certificate as CertificateOriginal, type ChallengeSection as ChallengeSectionOriginal, type ChallengeStep as ChallengeStepOriginal, type ChallengeStepSettings as ChallengeStepSettingsOriginal, type Choice as ChoiceOriginal, ChoiceRightness as ChoiceRightnessOriginal, type ChoiceRightnessWithLiterals as ChoiceRightnessWithLiteralsOriginal, type Choices as ChoicesOriginal, type Completed as CompletedOriginal, type CompletionCriteria as CompletionCriteriaOriginal, type Container as ContainerOriginal, type CreateJoinRequestRequest as CreateJoinRequestRequestOriginal, type CreateJoinRequestResponse as CreateJoinRequestResponseOriginal, type CreatePaymentOrderRequest as CreatePaymentOrderRequestOriginal, type CreatePaymentOrderResponse as CreatePaymentOrderResponseOriginal, type DateInterval as DateIntervalOriginal, type DeleteParticipantRequest as DeleteParticipantRequestOriginal, type DeleteParticipantResponse as DeleteParticipantResponseOriginal, DescriptionFieldSet as DescriptionFieldSetOriginal, type DescriptionFieldSetWithLiterals as DescriptionFieldSetWithLiteralsOriginal, type Document as DocumentOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, DurationUnit as DurationUnitOriginal, type DurationUnitWithLiterals as DurationUnitWithLiteralsOriginal, type EmbeddingSettings as EmbeddingSettingsOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntitySummary as EntitySummaryOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type FeedbackItemChoice as FeedbackItemChoiceOriginal, type FeedbackItem as FeedbackItemOriginal, type FeedbackItemSettings as FeedbackItemSettingsOriginal, type FeedbackItemType as FeedbackItemTypeOriginal, type FeedbackItemTypeTypeOneOf as FeedbackItemTypeTypeOneOfOriginal, type FeedbackItemValueOneOf as FeedbackItemValueOneOfOriginal, type Feedback as FeedbackOriginal, type FocalPoint as FocalPointOriginal, type FreeCoupon as FreeCouponOriginal, type Free as FreeOriginal, type GeneralSettings as GeneralSettingsOriginal, type GeneralSettingsStepTypeOneOf as GeneralSettingsStepTypeOneOfOriginal, type GetCertificateRequest as GetCertificateRequestOriginal, type GetCertificateResponse as GetCertificateResponseOriginal, type GetMediaUploadInfoRequest as GetMediaUploadInfoRequestOriginal, type GetMediaUploadInfoResponse as GetMediaUploadInfoResponseOriginal, type GetParticipantRequest as GetParticipantRequestOriginal, type GetParticipantResponse as GetParticipantResponseOriginal, type GetParticipantSectionRequest as GetParticipantSectionRequestOriginal, type GetParticipantSectionResponse as GetParticipantSectionResponseOriginal, type GetParticipantStepRequest as GetParticipantStepRequestOriginal, type GetParticipantStepResponse as GetParticipantStepResponseOriginal, type GroupSettings as GroupSettingsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type IndividualSettings as IndividualSettingsOriginal, type InvitationDetails as InvitationDetailsOriginal, type InviteAllParticipantsRequest as InviteAllParticipantsRequestOriginal, type InviteAllParticipantsResponse as InviteAllParticipantsResponseOriginal, type InviteParticipantsRequest as InviteParticipantsRequestOriginal, type InviteParticipantsResponse as InviteParticipantsResponseOriginal, type IssueCertificateRequest as IssueCertificateRequestOriginal, type IssueCertificateResponse as IssueCertificateResponseOriginal, type IssueParticipantCertificateRequest as IssueParticipantCertificateRequestOriginal, type IssueParticipantCertificateResponse as IssueParticipantCertificateResponseOriginal, type JoinParticipantRequest as JoinParticipantRequestOriginal, type JoinParticipantResponse as JoinParticipantResponseOriginal, type JoinPath as JoinPathOriginal, type JoinPathPathOneOf as JoinPathPathOneOfOriginal, type ListParticipantSectionsRequest as ListParticipantSectionsRequestOriginal, type ListParticipantSectionsResponse as ListParticipantSectionsResponseOriginal, type ListParticipantStepsRequest as ListParticipantStepsRequestOriginal, type ListParticipantStepsResponse as ListParticipantStepsResponseOriginal, type ListParticipantsRequest as ListParticipantsRequestOriginal, type ListParticipantsResponse as ListParticipantsResponseOriginal, type MediaFeedbackItem as MediaFeedbackItemOriginal, type MediaItemMediaOneOf as MediaItemMediaOneOfOriginal, type MediaItem as MediaItemOriginal, type MediaItems as MediaItemsOriginal, type Member as MemberOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MinThreshold as MinThresholdOriginal, type MultipleChoiceFeedbackItem as MultipleChoiceFeedbackItemOriginal, type MyProgramRequest as MyProgramRequestOriginal, type MyProgramResponse as MyProgramResponseOriginal, type MyProgramSectionRequest as MyProgramSectionRequestOriginal, type MyProgramSectionResponse as MyProgramSectionResponseOriginal, type MyProgramStepRequest as MyProgramStepRequestOriginal, type MyProgramStepResponse as MyProgramStepResponseOriginal, type NumericFeedbackItem as NumericFeedbackItemOriginal, type ObjectDescription as ObjectDescriptionOriginal, type Overdue as OverdueOriginal, type Paging as PagingOriginal, type PaidPlan as PaidPlanOriginal, type ParticipantCertificateIssued as ParticipantCertificateIssuedOriginal, type ParticipantJoinDate as ParticipantJoinDateOriginal, type ParticipantJoined as ParticipantJoinedOriginal, type Participant as ParticipantOriginal, type ParticipantPerformance as ParticipantPerformanceOriginal, type ParticipantSection as ParticipantSectionOriginal, type ParticipantSectionStateTransition as ParticipantSectionStateTransitionOriginal, type ParticipantSectionStateTransitionStateOneOf as ParticipantSectionStateTransitionStateOneOfOriginal, type ParticipantStep as ParticipantStepOriginal, ParticipantStepState as ParticipantStepStateOriginal, type ParticipantStepStateTransition as ParticipantStepStateTransitionOriginal, type ParticipantStepStateWithLiterals as ParticipantStepStateWithLiteralsOriginal, type ParticipantsFilter as ParticipantsFilterOriginal, ParticipationState as ParticipationStateOriginal, type ParticipationStateWithLiterals as ParticipationStateWithLiteralsOriginal, PaymentType as PaymentTypeOriginal, type PaymentTypeWithLiterals as PaymentTypeWithLiteralsOriginal, type Price as PriceOriginal, type Progress as ProgressOriginal, type QuantityCriterionCriterionOneOf as QuantityCriterionCriterionOneOfOriginal, type QuantityCriterion as QuantityCriterionOriginal, type QuantityFeedbackItem as QuantityFeedbackItemOriginal, type Quantity as QuantityOriginal, QueryParticipantsRequestJoinPath as QueryParticipantsRequestJoinPathOriginal, type QueryParticipantsRequestJoinPathWithLiterals as QueryParticipantsRequestJoinPathWithLiteralsOriginal, type QueryParticipantsRequest as QueryParticipantsRequestOriginal, QueryParticipantsRequestSortingCriterion as QueryParticipantsRequestSortingCriterionOriginal, type QueryParticipantsRequestSortingCriterionWithLiterals as QueryParticipantsRequestSortingCriterionWithLiteralsOriginal, QueryParticipantsRequestSortingOrder as QueryParticipantsRequestSortingOrderOriginal, type QueryParticipantsRequestSortingOrderWithLiterals as QueryParticipantsRequestSortingOrderWithLiteralsOriginal, type QueryParticipantsRequestSorting as QueryParticipantsRequestSortingOriginal, type QueryParticipantsResponse as QueryParticipantsResponseOriginal, type QuizMigrationDetails as QuizMigrationDetailsOriginal, type QuizSettings as QuizSettingsOriginal, type QuizSubmissionData as QuizSubmissionDataOriginal, type QuizSubmission as QuizSubmissionOriginal, QuizType as QuizTypeOriginal, type QuizTypeWithLiterals as QuizTypeWithLiteralsOriginal, type RecurrenceSchedule as RecurrenceScheduleOriginal, type RecurrenceSettings as RecurrenceSettingsOriginal, type RemoveCouponFromOrderRequest as RemoveCouponFromOrderRequestOriginal, type RemoveCouponFromOrderResponse as RemoveCouponFromOrderResponseOriginal, type ResetParticipantProgressRequest as ResetParticipantProgressRequestOriginal, type ResetParticipantProgressResponse as ResetParticipantProgressResponseOriginal, ResolutionStatus as ResolutionStatusOriginal, type ResolutionStatusWithLiterals as ResolutionStatusWithLiteralsOriginal, type ResolveParticipantStepRequest as ResolveParticipantStepRequestOriginal, type ResolveParticipantStepResponse as ResolveParticipantStepResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type ReviveParticipantRequest as ReviveParticipantRequestOriginal, type ReviveParticipantResponse as ReviveParticipantResponseOriginal, type Running as RunningOriginal, type Settings as SettingsOriginal, type SinglePayment as SinglePaymentOriginal, SortingCriterion as SortingCriterionOriginal, type SortingCriterionWithLiterals as SortingCriterionWithLiteralsOriginal, SortingOrder as SortingOrderOriginal, type SortingOrderWithLiterals as SortingOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type StartCondition as StartConditionOriginal, State as StateOriginal, type StateTransition as StateTransitionOriginal, type StateWithLiterals as StateWithLiteralsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StepDependencyDependencyTypeOneOf as StepDependencyDependencyTypeOneOfOriginal, type StepDependency as StepDependencyOriginal, type StepEvent as StepEventOriginal, type StepId as StepIdOriginal, type StepResolved as StepResolvedOriginal, type StepsSummary as StepsSummaryOriginal, type TextFeedbackItem as TextFeedbackItemOriginal, type TimeDuration as TimeDurationOriginal, type TimeInterval as TimeIntervalOriginal, type UpdateParticipantRequest as UpdateParticipantRequestOriginal, type UpdateParticipantRequestUpdateOneOf as UpdateParticipantRequestUpdateOneOfOriginal, type UpdateParticipantResponse as UpdateParticipantResponseOriginal, type UpdateStepFeedbackRequest as UpdateStepFeedbackRequestOriginal, type UpdateStepFeedbackResponse as UpdateStepFeedbackResponseOriginal, type Video as VideoOriginal, type VideoResolution as VideoResolutionOriginal, type VideoStepSettings as VideoStepSettingsOriginal, type VideoStepSettingsVideoSourceOneOf as VideoStepSettingsVideoSourceOneOfOriginal, type VideoV2 as VideoV2Original, type WaitingDate as WaitingDateOriginal, type WaitingDependency as WaitingDependencyOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WixVideo as WixVideoOriginal, type __PublicMethodMetaInfo, addAllParticipant, addParticipant, addParticipants, applyCouponToOrder, createJoinRequest, createPaymentOrder, deleteParticipant, getCertificate, getMediaUploadInfo, getParticipant, getSection, getStep, inviteAllParticipants, inviteParticipants, issueCertificate, issueParticipantCertificate, joinParticipant, listParticipants, listSections, listSteps, myProgram, myProgramSection, myProgramStep, queryParticipants, removeCouponFromOrder, resetParticipantProgress, resolveStep, reviveParticipant, updateParticipant, updateStepFeedback };