@wix/auto_sdk_online-programs_online-program-participants 1.0.1 → 1.0.2

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.
@@ -125,6 +125,16 @@ interface Image {
125
125
  */
126
126
  filename?: string | null;
127
127
  }
128
+ interface FocalPoint {
129
+ /** X-coordinate of the focal point. */
130
+ x?: number;
131
+ /** Y-coordinate of the focal point. */
132
+ y?: number;
133
+ /** crop by height */
134
+ height?: number | null;
135
+ /** crop by width */
136
+ width?: number | null;
137
+ }
128
138
  /** Deprecated - use VideoV2 */
129
139
  interface Video {
130
140
  /** WixMedia ID */
@@ -332,6 +342,27 @@ interface JoinParticipantResponse {
332
342
  actionId?: string;
333
343
  participant?: Participant;
334
344
  }
345
+ interface ParticipantJoined {
346
+ participant?: Participant;
347
+ /**
348
+ * user id for program owner
349
+ * @format GUID
350
+ */
351
+ ownerId?: string;
352
+ /**
353
+ * owner's contact id
354
+ * @format GUID
355
+ */
356
+ ownerContactId?: string;
357
+ /** paid price for the program. */
358
+ payment?: Price;
359
+ }
360
+ interface Price {
361
+ /** @format DECIMAL_VALUE */
362
+ amount?: string;
363
+ /** @format CURRENCY */
364
+ currency?: string;
365
+ }
335
366
  /** Add participant */
336
367
  interface AddParticipantRequest {
337
368
  /** @format GUID */
@@ -947,6 +978,51 @@ interface ResolveParticipantStepResponse {
947
978
  /** @format GUID */
948
979
  actionId?: string;
949
980
  }
981
+ interface StepResolved {
982
+ challengeId?: string;
983
+ participantId?: string;
984
+ memberId?: string;
985
+ stepTitle?: string;
986
+ participantStepId?: string;
987
+ challengeStepId?: string;
988
+ /** TODO why it is repeated? */
989
+ feedback?: Feedback[];
990
+ /** Title of the program. Used in Notifications */
991
+ programName?: string;
992
+ /**
993
+ * user id for program owner
994
+ * @format GUID
995
+ */
996
+ ownerId?: string;
997
+ /**
998
+ * owner's contact id
999
+ * @format GUID
1000
+ */
1001
+ ownerContactId?: string;
1002
+ /**
1003
+ * participants contact
1004
+ * @format GUID
1005
+ */
1006
+ participantContactId?: string;
1007
+ /** info about quiz submission in that step */
1008
+ quizSubmissionData?: QuizSubmissionData;
1009
+ /** info about if participant completed step successfully or not */
1010
+ status?: StatusWithLiterals;
1011
+ }
1012
+ interface QuizSubmissionData {
1013
+ /** @format GUID */
1014
+ submissionId?: string | null;
1015
+ earnedScore?: number | null;
1016
+ passingGrade?: number | null;
1017
+ }
1018
+ declare enum Status {
1019
+ /** step completed */
1020
+ COMPLETED = "COMPLETED",
1021
+ /** participant failed to resolve step */
1022
+ FAILED = "FAILED"
1023
+ }
1024
+ /** @enumType */
1025
+ type StatusWithLiterals = Status | 'COMPLETED' | 'FAILED';
950
1026
  interface UpdateStepFeedbackRequest {
951
1027
  /** @format GUID */
952
1028
  challengeId: string;
@@ -1073,6 +1149,142 @@ interface MyProgramSectionRequest {
1073
1149
  interface MyProgramSectionResponse {
1074
1150
  participantSection?: ParticipantSection;
1075
1151
  }
1152
+ interface DomainEvent extends DomainEventBodyOneOf {
1153
+ createdEvent?: EntityCreatedEvent;
1154
+ updatedEvent?: EntityUpdatedEvent;
1155
+ deletedEvent?: EntityDeletedEvent;
1156
+ actionEvent?: ActionEvent;
1157
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1158
+ id?: string;
1159
+ /**
1160
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1161
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1162
+ */
1163
+ entityFqdn?: string;
1164
+ /**
1165
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1166
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1167
+ */
1168
+ slug?: string;
1169
+ /** ID of the entity associated with the event. */
1170
+ entityId?: string;
1171
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1172
+ eventTime?: Date | null;
1173
+ /**
1174
+ * Whether the event was triggered as a result of a privacy regulation application
1175
+ * (for example, GDPR).
1176
+ */
1177
+ triggeredByAnonymizeRequest?: boolean | null;
1178
+ /** If present, indicates the action that triggered the event. */
1179
+ originatedFrom?: string | null;
1180
+ /**
1181
+ * 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.
1182
+ * 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.
1183
+ */
1184
+ entityEventSequence?: string | null;
1185
+ }
1186
+ /** @oneof */
1187
+ interface DomainEventBodyOneOf {
1188
+ createdEvent?: EntityCreatedEvent;
1189
+ updatedEvent?: EntityUpdatedEvent;
1190
+ deletedEvent?: EntityDeletedEvent;
1191
+ actionEvent?: ActionEvent;
1192
+ }
1193
+ interface EntityCreatedEvent {
1194
+ entityAsJson?: string;
1195
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
1196
+ restoreInfo?: RestoreInfo;
1197
+ }
1198
+ interface RestoreInfo {
1199
+ deletedDate?: Date | null;
1200
+ }
1201
+ interface EntityUpdatedEvent {
1202
+ /**
1203
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1204
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1205
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1206
+ */
1207
+ currentEntityAsJson?: string;
1208
+ }
1209
+ interface EntityDeletedEvent {
1210
+ /** Entity that was deleted. */
1211
+ deletedEntityAsJson?: string | null;
1212
+ }
1213
+ interface ActionEvent {
1214
+ bodyAsJson?: string;
1215
+ }
1216
+ interface MessageEnvelope {
1217
+ /**
1218
+ * App instance ID.
1219
+ * @format GUID
1220
+ */
1221
+ instanceId?: string | null;
1222
+ /**
1223
+ * Event type.
1224
+ * @maxLength 150
1225
+ */
1226
+ eventType?: string;
1227
+ /** The identification type and identity data. */
1228
+ identity?: IdentificationData;
1229
+ /** Stringify payload. */
1230
+ data?: string;
1231
+ }
1232
+ interface IdentificationData extends IdentificationDataIdOneOf {
1233
+ /**
1234
+ * ID of a site visitor that has not logged in to the site.
1235
+ * @format GUID
1236
+ */
1237
+ anonymousVisitorId?: string;
1238
+ /**
1239
+ * ID of a site visitor that has logged in to the site.
1240
+ * @format GUID
1241
+ */
1242
+ memberId?: string;
1243
+ /**
1244
+ * ID of a Wix user (site owner, contributor, etc.).
1245
+ * @format GUID
1246
+ */
1247
+ wixUserId?: string;
1248
+ /**
1249
+ * ID of an app.
1250
+ * @format GUID
1251
+ */
1252
+ appId?: string;
1253
+ /** @readonly */
1254
+ identityType?: WebhookIdentityTypeWithLiterals;
1255
+ }
1256
+ /** @oneof */
1257
+ interface IdentificationDataIdOneOf {
1258
+ /**
1259
+ * ID of a site visitor that has not logged in to the site.
1260
+ * @format GUID
1261
+ */
1262
+ anonymousVisitorId?: string;
1263
+ /**
1264
+ * ID of a site visitor that has logged in to the site.
1265
+ * @format GUID
1266
+ */
1267
+ memberId?: string;
1268
+ /**
1269
+ * ID of a Wix user (site owner, contributor, etc.).
1270
+ * @format GUID
1271
+ */
1272
+ wixUserId?: string;
1273
+ /**
1274
+ * ID of an app.
1275
+ * @format GUID
1276
+ */
1277
+ appId?: string;
1278
+ }
1279
+ declare enum WebhookIdentityType {
1280
+ UNKNOWN = "UNKNOWN",
1281
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1282
+ MEMBER = "MEMBER",
1283
+ WIX_USER = "WIX_USER",
1284
+ APP = "APP"
1285
+ }
1286
+ /** @enumType */
1287
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1076
1288
 
1077
1289
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
1078
1290
  getUrl: (context: any) => string;
@@ -1202,4 +1414,4 @@ declare function myProgramSection(): __PublicMethodMetaInfo<'GET', {
1202
1414
  programSectionId: string;
1203
1415
  }, MyProgramSectionRequest$1, MyProgramSectionRequest, MyProgramSectionResponse$1, MyProgramSectionResponse>;
1204
1416
 
1205
- export { 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 };
1417
+ export { 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 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 Step as StepOriginal, 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 };
package/build/es/meta.mjs CHANGED
@@ -4709,6 +4709,128 @@ function myProgramSection(payload) {
4709
4709
  return __myProgramSection;
4710
4710
  }
4711
4711
 
4712
+ // src/challenges-v1-participant-online-program-participants.types.ts
4713
+ var ParticipantStepState = /* @__PURE__ */ ((ParticipantStepState2) => {
4714
+ ParticipantStepState2["PENDING"] = "PENDING";
4715
+ ParticipantStepState2["RUNNING"] = "RUNNING";
4716
+ ParticipantStepState2["COMPLETED"] = "COMPLETED";
4717
+ ParticipantStepState2["SKIPPED"] = "SKIPPED";
4718
+ ParticipantStepState2["CONFIRMED"] = "CONFIRMED";
4719
+ ParticipantStepState2["REJECTED"] = "REJECTED";
4720
+ ParticipantStepState2["OVERDUE"] = "OVERDUE";
4721
+ ParticipantStepState2["FAILED"] = "FAILED";
4722
+ return ParticipantStepState2;
4723
+ })(ParticipantStepState || {});
4724
+ var State = /* @__PURE__ */ ((State2) => {
4725
+ State2["JOIN_REQUESTED"] = "JOIN_REQUESTED";
4726
+ State2["INVITED"] = "INVITED";
4727
+ State2["JOIN_REJECTED"] = "JOIN_REJECTED";
4728
+ State2["PAYMENT_REQUESTED"] = "PAYMENT_REQUESTED";
4729
+ State2["PAYMENT_STARTED"] = "PAYMENT_STARTED";
4730
+ State2["JOINED"] = "JOINED";
4731
+ State2["LEFT"] = "LEFT";
4732
+ State2["REMOVED"] = "REMOVED";
4733
+ State2["RUNNING"] = "RUNNING";
4734
+ State2["COMPLETED"] = "COMPLETED";
4735
+ State2["FAILED"] = "FAILED";
4736
+ State2["PAYMENT_STARTED_OFFLINE"] = "PAYMENT_STARTED_OFFLINE";
4737
+ State2["SUSPENDED"] = "SUSPENDED";
4738
+ State2["AUTO_REMOVED"] = "AUTO_REMOVED";
4739
+ return State2;
4740
+ })(State || {});
4741
+ var ParticipationState = /* @__PURE__ */ ((ParticipationState2) => {
4742
+ ParticipationState2["NotStarted"] = "NotStarted";
4743
+ ParticipationState2["InProgress"] = "InProgress";
4744
+ ParticipationState2["Finished"] = "Finished";
4745
+ ParticipationState2["Suspended"] = "Suspended";
4746
+ ParticipationState2["AutoRemoved"] = "AutoRemoved";
4747
+ return ParticipationState2;
4748
+ })(ParticipationState || {});
4749
+ var QueryParticipantsRequestJoinPath = /* @__PURE__ */ ((QueryParticipantsRequestJoinPath2) => {
4750
+ QueryParticipantsRequestJoinPath2["UNKNOWN_JOIN_PATH"] = "UNKNOWN_JOIN_PATH";
4751
+ QueryParticipantsRequestJoinPath2["FREE"] = "FREE";
4752
+ QueryParticipantsRequestJoinPath2["ADDED"] = "ADDED";
4753
+ QueryParticipantsRequestJoinPath2["SINGLE_PAYMENT"] = "SINGLE_PAYMENT";
4754
+ QueryParticipantsRequestJoinPath2["PAID_PLAN"] = "PAID_PLAN";
4755
+ return QueryParticipantsRequestJoinPath2;
4756
+ })(QueryParticipantsRequestJoinPath || {});
4757
+ var QueryParticipantsRequestSortingCriterion = /* @__PURE__ */ ((QueryParticipantsRequestSortingCriterion2) => {
4758
+ QueryParticipantsRequestSortingCriterion2["DEFAULT"] = "DEFAULT";
4759
+ QueryParticipantsRequestSortingCriterion2["JOIN_DATE"] = "JOIN_DATE";
4760
+ QueryParticipantsRequestSortingCriterion2["NAME"] = "NAME";
4761
+ QueryParticipantsRequestSortingCriterion2["LAST_EVENT"] = "LAST_EVENT";
4762
+ QueryParticipantsRequestSortingCriterion2["PERFORMANCE"] = "PERFORMANCE";
4763
+ return QueryParticipantsRequestSortingCriterion2;
4764
+ })(QueryParticipantsRequestSortingCriterion || {});
4765
+ var QueryParticipantsRequestSortingOrder = /* @__PURE__ */ ((QueryParticipantsRequestSortingOrder2) => {
4766
+ QueryParticipantsRequestSortingOrder2["ORDER_DEFAULT"] = "ORDER_DEFAULT";
4767
+ QueryParticipantsRequestSortingOrder2["ORDER_ASC"] = "ORDER_ASC";
4768
+ QueryParticipantsRequestSortingOrder2["ORDER_DESC"] = "ORDER_DESC";
4769
+ return QueryParticipantsRequestSortingOrder2;
4770
+ })(QueryParticipantsRequestSortingOrder || {});
4771
+ var SortingCriterion = /* @__PURE__ */ ((SortingCriterion2) => {
4772
+ SortingCriterion2["DEFAULT"] = "DEFAULT";
4773
+ SortingCriterion2["JOIN_DATE"] = "JOIN_DATE";
4774
+ SortingCriterion2["NAME"] = "NAME";
4775
+ SortingCriterion2["LAST_EVENT"] = "LAST_EVENT";
4776
+ SortingCriterion2["PERFORMANCE"] = "PERFORMANCE";
4777
+ return SortingCriterion2;
4778
+ })(SortingCriterion || {});
4779
+ var SortingOrder = /* @__PURE__ */ ((SortingOrder2) => {
4780
+ SortingOrder2["ORDER_DEFAULT"] = "ORDER_DEFAULT";
4781
+ SortingOrder2["ORDER_ASC"] = "ORDER_ASC";
4782
+ SortingOrder2["ORDER_DESC"] = "ORDER_DESC";
4783
+ return SortingOrder2;
4784
+ })(SortingOrder || {});
4785
+ var PaymentType = /* @__PURE__ */ ((PaymentType2) => {
4786
+ PaymentType2["SINGLE_PAYMENT"] = "SINGLE_PAYMENT";
4787
+ PaymentType2["PAID_PLANS"] = "PAID_PLANS";
4788
+ return PaymentType2;
4789
+ })(PaymentType || {});
4790
+ var DescriptionFieldSet = /* @__PURE__ */ ((DescriptionFieldSet2) => {
4791
+ DescriptionFieldSet2["EXTENDED"] = "EXTENDED";
4792
+ DescriptionFieldSet2["STANDARD"] = "STANDARD";
4793
+ return DescriptionFieldSet2;
4794
+ })(DescriptionFieldSet || {});
4795
+ var ChoiceRightness = /* @__PURE__ */ ((ChoiceRightness2) => {
4796
+ ChoiceRightness2["NEUTRAL"] = "NEUTRAL";
4797
+ ChoiceRightness2["RIGHT"] = "RIGHT";
4798
+ ChoiceRightness2["WRONG"] = "WRONG";
4799
+ return ChoiceRightness2;
4800
+ })(ChoiceRightness || {});
4801
+ var QuizType = /* @__PURE__ */ ((QuizType2) => {
4802
+ QuizType2["QUIZ"] = "QUIZ";
4803
+ QuizType2["QUESTIONNAIRE"] = "QUESTIONNAIRE";
4804
+ return QuizType2;
4805
+ })(QuizType || {});
4806
+ var DurationUnit = /* @__PURE__ */ ((DurationUnit2) => {
4807
+ DurationUnit2["WEEKS"] = "WEEKS";
4808
+ DurationUnit2["DAYS"] = "DAYS";
4809
+ DurationUnit2["HOURS"] = "HOURS";
4810
+ DurationUnit2["MINUTES"] = "MINUTES";
4811
+ return DurationUnit2;
4812
+ })(DurationUnit || {});
4813
+ var ResolutionStatus = /* @__PURE__ */ ((ResolutionStatus2) => {
4814
+ ResolutionStatus2["COMPLETED"] = "COMPLETED";
4815
+ ResolutionStatus2["SKIPPED"] = "SKIPPED";
4816
+ ResolutionStatus2["UNDO"] = "UNDO";
4817
+ ResolutionStatus2["QUIZ_SUBMIT"] = "QUIZ_SUBMIT";
4818
+ return ResolutionStatus2;
4819
+ })(ResolutionStatus || {});
4820
+ var Status = /* @__PURE__ */ ((Status2) => {
4821
+ Status2["COMPLETED"] = "COMPLETED";
4822
+ Status2["FAILED"] = "FAILED";
4823
+ return Status2;
4824
+ })(Status || {});
4825
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
4826
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
4827
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
4828
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
4829
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
4830
+ WebhookIdentityType2["APP"] = "APP";
4831
+ return WebhookIdentityType2;
4832
+ })(WebhookIdentityType || {});
4833
+
4712
4834
  // src/challenges-v1-participant-online-program-participants.meta.ts
4713
4835
  function queryParticipants2() {
4714
4836
  const payload = { challengeId: ":challengeId" };
@@ -5346,6 +5468,22 @@ function myProgramSection2() {
5346
5468
  };
5347
5469
  }
5348
5470
  export {
5471
+ ChoiceRightness as ChoiceRightnessOriginal,
5472
+ DescriptionFieldSet as DescriptionFieldSetOriginal,
5473
+ DurationUnit as DurationUnitOriginal,
5474
+ ParticipantStepState as ParticipantStepStateOriginal,
5475
+ ParticipationState as ParticipationStateOriginal,
5476
+ PaymentType as PaymentTypeOriginal,
5477
+ QueryParticipantsRequestJoinPath as QueryParticipantsRequestJoinPathOriginal,
5478
+ QueryParticipantsRequestSortingCriterion as QueryParticipantsRequestSortingCriterionOriginal,
5479
+ QueryParticipantsRequestSortingOrder as QueryParticipantsRequestSortingOrderOriginal,
5480
+ QuizType as QuizTypeOriginal,
5481
+ ResolutionStatus as ResolutionStatusOriginal,
5482
+ SortingCriterion as SortingCriterionOriginal,
5483
+ SortingOrder as SortingOrderOriginal,
5484
+ State as StateOriginal,
5485
+ Status as StatusOriginal,
5486
+ WebhookIdentityType as WebhookIdentityTypeOriginal,
5349
5487
  addAllParticipant2 as addAllParticipant,
5350
5488
  addParticipant2 as addParticipant,
5351
5489
  addParticipants2 as addParticipants,