@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
@@ -571,12 +571,602 @@ interface RemoveCouponFromOrderRequest {
571
571
  interface RemoveCouponFromOrderResponse {
572
572
  total?: string;
573
573
  }
574
+ interface ListParticipantStepsRequest {
575
+ /**
576
+ * Challenge/Program (tenant) ID. GUID.
577
+ * @format GUID
578
+ */
579
+ challengeId: string;
580
+ /**
581
+ * Participant entity ID within the challenge. GUID.
582
+ * @format GUID
583
+ */
584
+ participantId: string;
585
+ /** Optional parent step ID to scope to sub-steps. */
586
+ parentId?: string;
587
+ /** Optional absolute time window for time-based progress. */
588
+ timeInterval?: TimeInterval;
589
+ /** Optional local date window for date-based progress. */
590
+ dateInterval?: DateInterval;
591
+ /** Controls verbose description fields in response. */
592
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
593
+ }
594
+ declare enum DescriptionFieldSet {
595
+ /** title and detailed description. */
596
+ EXTENDED = "EXTENDED",
597
+ /** title only. */
598
+ STANDARD = "STANDARD"
599
+ }
600
+ /** @enumType */
601
+ type DescriptionFieldSetWithLiterals = DescriptionFieldSet | 'EXTENDED' | 'STANDARD';
602
+ interface ListParticipantStepsResponse {
603
+ /** Participant steps matching the query. */
604
+ steps?: ParticipantStep[];
605
+ }
606
+ interface ParticipantStep {
607
+ _id?: string;
608
+ source?: ChallengeStep;
609
+ timeFrame?: TimeInterval;
610
+ feedback?: Feedback;
611
+ transitions?: ParticipantStepStateTransition[];
612
+ dateFrame?: DateInterval;
613
+ quizSubmission?: QuizSubmission;
614
+ }
615
+ interface FeedbackItem extends FeedbackItemValueOneOf {
616
+ number?: number | null;
617
+ text?: string | null;
618
+ media?: MediaItems;
619
+ choice?: FeedbackItemChoice;
620
+ quantity?: Quantity;
621
+ multiSelect?: Choices;
622
+ /** @format GUID */
623
+ feedbackItemSettingsId?: string;
624
+ }
625
+ /** @oneof */
626
+ interface FeedbackItemValueOneOf {
627
+ number?: number | null;
628
+ text?: string | null;
629
+ media?: MediaItems;
630
+ choice?: FeedbackItemChoice;
631
+ quantity?: Quantity;
632
+ multiSelect?: Choices;
633
+ }
634
+ interface MediaItems {
635
+ mediaItems?: MediaItem[];
636
+ }
637
+ interface FeedbackItemChoice {
638
+ choiceId?: string;
639
+ }
640
+ interface Quantity {
641
+ unitName?: string;
642
+ amount?: number;
643
+ }
644
+ interface Choices {
645
+ choiceIds?: string[];
646
+ }
647
+ interface ChallengeStep {
648
+ _id?: string;
649
+ settings?: ChallengeStepSettings;
650
+ /**
651
+ * @format GUID
652
+ * @deprecated
653
+ */
654
+ recurrenceSourceId?: string | null;
655
+ createdAt?: Date | null;
656
+ updatedAt?: Date | null;
657
+ /**
658
+ * @format GUID
659
+ * @readonly
660
+ */
661
+ sectionId?: string | null;
662
+ }
663
+ interface GeneralSettings extends GeneralSettingsStepTypeOneOf {
664
+ individual?: IndividualSettings;
665
+ /** @deprecated */
666
+ group?: GroupSettings;
667
+ quiz?: QuizSettings;
668
+ video?: VideoStepSettings;
669
+ /** steps description: title, details, image and etc. */
670
+ description?: ObjectDescription;
671
+ duration?: TimeDuration;
672
+ /** @deprecated */
673
+ recurrenceSettings?: RecurrenceSettings;
674
+ }
675
+ /** @oneof */
676
+ interface GeneralSettingsStepTypeOneOf {
677
+ individual?: IndividualSettings;
678
+ /** @deprecated */
679
+ group?: GroupSettings;
680
+ quiz?: QuizSettings;
681
+ video?: VideoStepSettings;
682
+ }
683
+ interface ObjectDescription {
684
+ /** @maxLength 150 */
685
+ title?: string | null;
686
+ /** @maxLength 2000 */
687
+ details?: string | null;
688
+ media?: MediaItem;
689
+ }
690
+ interface IndividualSettings {
691
+ /** should be renamed, it's a flag whether the questionnaire section is enabled. */
692
+ confirmationRequired?: boolean;
693
+ /** feedback list settings. */
694
+ feedbackSettings?: FeedbackItemSettings[];
695
+ /** whether the quiz section in enabled. */
696
+ showQuiz?: boolean;
697
+ /** quiz list settings. */
698
+ quizSettings?: FeedbackItemSettings[];
699
+ }
700
+ interface FeedbackItemSettings {
701
+ _id?: string;
702
+ type?: FeedbackItemType;
703
+ question?: string;
704
+ isRequired?: boolean;
705
+ correctAnswerMessage?: string | null;
706
+ wrongAnswerMessage?: string | null;
707
+ }
708
+ interface NumericFeedbackItem {
709
+ /** @min 1 */
710
+ maxValue?: number;
711
+ }
712
+ interface TextFeedbackItem {
713
+ }
714
+ interface MediaFeedbackItem {
715
+ }
716
+ interface MultipleChoiceFeedbackItem {
717
+ choices?: Choice[];
718
+ }
719
+ declare enum ChoiceRightness {
720
+ NEUTRAL = "NEUTRAL",
721
+ RIGHT = "RIGHT",
722
+ WRONG = "WRONG"
723
+ }
724
+ /** @enumType */
725
+ type ChoiceRightnessWithLiterals = ChoiceRightness | 'NEUTRAL' | 'RIGHT' | 'WRONG';
726
+ interface Choice {
727
+ _id?: string;
728
+ description?: ObjectDescription;
729
+ rightness?: ChoiceRightnessWithLiterals;
730
+ }
731
+ interface QuantityFeedbackItem {
732
+ unitName?: string | null;
733
+ amount?: number;
734
+ }
735
+ interface FeedbackItemType extends FeedbackItemTypeTypeOneOf {
736
+ numeric?: NumericFeedbackItem;
737
+ text?: TextFeedbackItem;
738
+ media?: MediaFeedbackItem;
739
+ multipleChoice?: MultipleChoiceFeedbackItem;
740
+ quantity?: QuantityFeedbackItem;
741
+ multiSelect?: MultipleChoiceFeedbackItem;
742
+ }
743
+ /** @oneof */
744
+ interface FeedbackItemTypeTypeOneOf {
745
+ numeric?: NumericFeedbackItem;
746
+ text?: TextFeedbackItem;
747
+ media?: MediaFeedbackItem;
748
+ multipleChoice?: MultipleChoiceFeedbackItem;
749
+ quantity?: QuantityFeedbackItem;
750
+ multiSelect?: MultipleChoiceFeedbackItem;
751
+ }
752
+ interface GroupSettings {
753
+ completionCriteria?: CompletionCriteria;
754
+ }
755
+ interface CompletionCriteria {
756
+ completedSteps?: QuantityCriterion;
757
+ completedMilestones?: QuantityCriterion;
758
+ scoredPoints?: MinThreshold;
759
+ }
760
+ interface QuantityCriterion extends QuantityCriterionCriterionOneOf {
761
+ all?: All;
762
+ minThreshold?: MinThreshold;
763
+ }
764
+ /** @oneof */
765
+ interface QuantityCriterionCriterionOneOf {
766
+ all?: All;
767
+ minThreshold?: MinThreshold;
768
+ }
769
+ interface All {
770
+ }
771
+ interface MinThreshold {
772
+ /** @min 1 */
773
+ value?: number;
774
+ }
775
+ interface QuizSettings {
776
+ quizId?: string;
777
+ questionCount?: number;
778
+ passingGrade?: number | null;
779
+ migrationDetails?: QuizMigrationDetails;
780
+ }
781
+ declare enum QuizType {
782
+ QUIZ = "QUIZ",
783
+ QUESTIONNAIRE = "QUESTIONNAIRE"
784
+ }
785
+ /** @enumType */
786
+ type QuizTypeWithLiterals = QuizType | 'QUIZ' | 'QUESTIONNAIRE';
787
+ interface QuizMigrationDetails {
788
+ sourceStepId?: string;
789
+ show?: boolean;
790
+ quizType?: QuizTypeWithLiterals;
791
+ }
792
+ interface VideoStepSettings extends VideoStepSettingsVideoSourceOneOf {
793
+ wixVideo?: WixVideo;
794
+ video?: string;
795
+ requiredCompletionPercentage?: number;
796
+ coverImage?: string;
797
+ durationInMilliseconds?: number | null;
798
+ deleted?: boolean;
799
+ }
800
+ /** @oneof */
801
+ interface VideoStepSettingsVideoSourceOneOf {
802
+ wixVideo?: WixVideo;
803
+ video?: string;
804
+ }
805
+ interface WixVideo {
806
+ /** @format GUID */
807
+ _id?: string;
808
+ paid?: boolean;
809
+ }
810
+ interface VideoResolution {
811
+ /** Video URL. */
812
+ url?: string;
813
+ /** Video height. */
814
+ height?: number;
815
+ /** Video width. */
816
+ width?: number;
817
+ /** Video format for example, mp4, hls. */
818
+ format?: string;
819
+ }
820
+ interface TimeDuration {
821
+ unit?: DurationUnitWithLiterals;
822
+ value?: number;
823
+ }
824
+ declare enum DurationUnit {
825
+ WEEKS = "WEEKS",
826
+ DAYS = "DAYS",
827
+ HOURS = "HOURS",
828
+ MINUTES = "MINUTES"
829
+ }
830
+ /** @enumType */
831
+ type DurationUnitWithLiterals = DurationUnit | 'WEEKS' | 'DAYS' | 'HOURS' | 'MINUTES';
832
+ interface RecurrenceSettings {
833
+ schedules?: RecurrenceSchedule[];
834
+ /** @min 1 */
835
+ recurrencesCount?: number | null;
836
+ }
837
+ interface RecurrenceSchedule {
838
+ startDelay?: TimeDuration;
839
+ interval?: TimeDuration;
840
+ }
841
+ interface EmbeddingSettings {
842
+ /** step start delay. */
843
+ startConditions?: StartCondition[];
844
+ /** @deprecated */
845
+ isMilestone?: boolean;
846
+ /** @deprecated */
847
+ points?: number | null;
848
+ }
849
+ interface StartCondition {
850
+ /** whether the step should start on join. */
851
+ dependency?: StepDependency;
852
+ /** step delay regarding the challenge start. */
853
+ delay?: TimeDuration;
854
+ }
855
+ interface StepDependency extends StepDependencyDependencyTypeOneOf {
856
+ container?: Container;
857
+ /** @deprecated */
858
+ step?: Step;
859
+ }
860
+ /** @oneof */
861
+ interface StepDependencyDependencyTypeOneOf {
862
+ container?: Container;
863
+ /** @deprecated */
864
+ step?: Step;
865
+ }
866
+ interface Container {
867
+ }
868
+ interface Step {
869
+ stepId?: string;
870
+ }
871
+ interface ChallengeStepSettings {
872
+ general?: GeneralSettings;
873
+ embedding?: EmbeddingSettings;
874
+ }
875
+ interface Feedback {
876
+ items?: FeedbackItem[];
877
+ createdAt?: Date | null;
878
+ updatedAt?: Date | null;
879
+ quiz?: FeedbackItem[];
880
+ }
881
+ interface QuizSubmission {
882
+ quizSubmissionId?: string;
883
+ score?: number | null;
884
+ grade?: number | null;
885
+ rightAnswers?: number | null;
886
+ passingGrade?: number | null;
887
+ }
888
+ interface GetParticipantStepRequest {
889
+ /**
890
+ * Challenge/Program (tenant) ID. GUID.
891
+ * @format GUID
892
+ */
893
+ challengeId: string;
894
+ /**
895
+ * Participant entity ID. GUID.
896
+ * @format GUID
897
+ */
898
+ participantId: string;
899
+ /** Step ID (program step or resolved instance). */
900
+ stepId: string;
901
+ /** Optional absolute time window for time-based progress. */
902
+ timeInterval?: TimeInterval;
903
+ /** Controls verbose description fields in response. */
904
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
905
+ }
906
+ interface GetParticipantStepResponse {
907
+ /** Requested participant step details. */
908
+ step?: ParticipantStep;
909
+ /** Immediate sub-steps for hierarchical steps (if any). */
910
+ subSteps?: ParticipantStep[];
911
+ }
912
+ interface ResolveParticipantStepRequest {
913
+ /**
914
+ * Challenge/Program (tenant) ID. GUID.
915
+ * @format GUID
916
+ */
917
+ challengeId: string;
918
+ /**
919
+ * Participant entity ID. GUID.
920
+ * @format GUID
921
+ */
922
+ participantId: string;
923
+ /** Target step ID to resolve. */
924
+ stepId: string;
925
+ /** Resolution action to apply. */
926
+ status?: ResolutionStatusWithLiterals;
927
+ /** Optional instructor feedback payload. */
928
+ feedback?: Feedback;
929
+ /** Optional idempotency key for action tracking. */
930
+ actionId?: string;
931
+ /**
932
+ * Optional quiz submission to attach. GUID.
933
+ * @format GUID
934
+ */
935
+ quizSubmissionId?: string | null;
936
+ }
937
+ declare enum ResolutionStatus {
938
+ COMPLETED = "COMPLETED",
939
+ SKIPPED = "SKIPPED",
940
+ UNDO = "UNDO",
941
+ QUIZ_SUBMIT = "QUIZ_SUBMIT"
942
+ }
943
+ /** @enumType */
944
+ type ResolutionStatusWithLiterals = ResolutionStatus | 'COMPLETED' | 'SKIPPED' | 'UNDO' | 'QUIZ_SUBMIT';
945
+ interface ResolveParticipantStepResponse {
946
+ /** Updated participant step after resolution. */
947
+ step?: ParticipantStep;
948
+ /**
949
+ * Server-generated action id. GUID.
950
+ * @format GUID
951
+ */
952
+ actionId?: string;
953
+ }
954
+ interface StepResolved {
955
+ challengeId?: string;
956
+ participantId?: string;
957
+ memberId?: string;
958
+ stepTitle?: string;
959
+ participantStepId?: string;
960
+ challengeStepId?: string;
961
+ /** TODO why it is repeated? */
962
+ feedback?: Feedback[];
963
+ /** Title of the program. Used in Notifications */
964
+ programName?: string;
965
+ /**
966
+ * user id for program owner
967
+ * @format GUID
968
+ */
969
+ ownerId?: string;
970
+ /**
971
+ * owner's contact id
972
+ * @format GUID
973
+ */
974
+ ownerContactId?: string;
975
+ /**
976
+ * participants contact
977
+ * @format GUID
978
+ */
979
+ participantContactId?: string;
980
+ /** info about quiz submission in that step */
981
+ quizSubmissionData?: QuizSubmissionData;
982
+ /** info about if participant completed step successfully or not */
983
+ status?: StatusWithLiterals;
984
+ }
985
+ interface QuizSubmissionData {
986
+ /** @format GUID */
987
+ submissionId?: string | null;
988
+ earnedScore?: number | null;
989
+ passingGrade?: number | null;
990
+ }
991
+ declare enum Status {
992
+ /** step completed */
993
+ COMPLETED = "COMPLETED",
994
+ /** participant failed to resolve step */
995
+ FAILED = "FAILED"
996
+ }
997
+ /** @enumType */
998
+ type StatusWithLiterals = Status | 'COMPLETED' | 'FAILED';
999
+ interface UpdateStepFeedbackRequest {
1000
+ /**
1001
+ * Challenge/Program (tenant) ID. GUID.
1002
+ * @format GUID
1003
+ */
1004
+ challengeId: string;
1005
+ /**
1006
+ * Participant entity ID. GUID.
1007
+ * @format GUID
1008
+ */
1009
+ participantId: string;
1010
+ /** Target step ID to update feedback for. */
1011
+ stepId: string;
1012
+ /** New feedback payload. */
1013
+ feedback?: Feedback;
1014
+ /**
1015
+ * Idempotency key for feedback update. GUID.
1016
+ * @format GUID
1017
+ */
1018
+ actionId?: string;
1019
+ }
1020
+ interface UpdateStepFeedbackResponse {
1021
+ /** Participant step with updated feedback. */
1022
+ step?: ParticipantStep;
1023
+ /**
1024
+ * Server-generated action id. GUID.
1025
+ * @format GUID
1026
+ */
1027
+ actionId?: string;
1028
+ }
1029
+ interface GetMediaUploadInfoRequest {
1030
+ /**
1031
+ * Challenge/Program (tenant) ID. GUID.
1032
+ * @format GUID
1033
+ */
1034
+ challengeId: string;
1035
+ /**
1036
+ * Participant entity ID. GUID.
1037
+ * @format GUID
1038
+ */
1039
+ participantId: string;
1040
+ /** Original filename to derive content-type and path. */
1041
+ fileName?: string;
1042
+ }
1043
+ interface GetMediaUploadInfoResponse {
1044
+ /** Pre-signed URL to upload media. */
1045
+ uploadUrl?: string;
1046
+ /** Token required by media service for upload. */
1047
+ uploadToken?: string;
1048
+ }
1049
+ interface ListParticipantSectionsRequest {
1050
+ /**
1051
+ * Challenge/Program (tenant) ID. GUID.
1052
+ * @format GUID
1053
+ */
1054
+ challengeId: string;
1055
+ /**
1056
+ * Participant entity ID. GUID.
1057
+ * @format GUID
1058
+ */
1059
+ participantId: string;
1060
+ /** Controls verbose description fields in response. */
1061
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
1062
+ }
1063
+ interface ListParticipantSectionsResponse {
1064
+ /** Participant sections for the program. */
1065
+ sections?: ParticipantSection[];
1066
+ }
1067
+ interface ParticipantSection {
1068
+ _id?: string;
1069
+ source?: ChallengeSection;
1070
+ steps?: ParticipantStep[];
1071
+ transitions?: ParticipantSectionStateTransition[];
1072
+ progress?: Progress;
1073
+ }
1074
+ interface WaitingDate {
1075
+ startDate?: string;
1076
+ }
1077
+ interface WaitingDependency {
1078
+ sectionId?: string;
1079
+ }
1080
+ interface Running {
1081
+ dateInterval?: DateInterval;
1082
+ }
1083
+ interface Completed {
1084
+ }
1085
+ interface Overdue {
1086
+ }
1087
+ interface ChallengeSection {
1088
+ /** challenge section id. */
1089
+ _id?: string;
1090
+ /** challenge section settings. */
1091
+ settings?: Settings;
1092
+ createdAt?: Date | null;
1093
+ updatedAt?: Date | null;
1094
+ /** list of challenge steps laying inside the section. */
1095
+ steps?: ChallengeStep[];
1096
+ }
1097
+ interface Settings {
1098
+ /** section description(title, details, image...) */
1099
+ description?: ObjectDescription;
1100
+ /** condition for the section start. */
1101
+ startCondition?: StartCondition;
1102
+ }
1103
+ interface ParticipantSectionStateTransition extends ParticipantSectionStateTransitionStateOneOf {
1104
+ waitingDate?: WaitingDate;
1105
+ waitingDependency?: WaitingDependency;
1106
+ running?: Running;
1107
+ completed?: Completed;
1108
+ overdue?: Overdue;
1109
+ occurredAt?: Date | null;
1110
+ }
1111
+ /** @oneof */
1112
+ interface ParticipantSectionStateTransitionStateOneOf {
1113
+ waitingDate?: WaitingDate;
1114
+ waitingDependency?: WaitingDependency;
1115
+ running?: Running;
1116
+ completed?: Completed;
1117
+ overdue?: Overdue;
1118
+ }
1119
+ interface Progress {
1120
+ nTotalSteps?: string;
1121
+ nCompletedSteps?: string;
1122
+ }
1123
+ interface GetParticipantSectionRequest {
1124
+ /**
1125
+ * Challenge/Program (tenant) ID. GUID.
1126
+ * @format GUID
1127
+ */
1128
+ challengeId: string;
1129
+ /**
1130
+ * Participant entity ID. GUID.
1131
+ * @format GUID
1132
+ */
1133
+ participantId: string;
1134
+ /**
1135
+ * Section ID to fetch. GUID.
1136
+ * @format GUID
1137
+ */
1138
+ sectionId: string;
1139
+ /** Controls verbose description fields in response. */
1140
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
1141
+ }
1142
+ interface GetParticipantSectionResponse {
1143
+ /** Requested participant section details. */
1144
+ section?: ParticipantSection;
1145
+ }
574
1146
  interface MyProgramRequest {
575
1147
  programId: string;
576
1148
  }
577
1149
  interface MyProgramResponse {
578
1150
  participant?: Participant;
579
1151
  }
1152
+ interface MyProgramStepRequest {
1153
+ programId: string;
1154
+ programStepId: string;
1155
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
1156
+ }
1157
+ interface MyProgramStepResponse {
1158
+ /** Viewer's participant step derived for the program step. */
1159
+ participantStep?: ParticipantStep;
1160
+ }
1161
+ interface MyProgramSectionRequest {
1162
+ programId: string;
1163
+ programSectionId: string;
1164
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
1165
+ }
1166
+ interface MyProgramSectionResponse {
1167
+ /** Viewer's participant section derived for the program section. */
1168
+ participantSection?: ParticipantSection;
1169
+ }
580
1170
  interface DomainEvent extends DomainEventBodyOneOf {
581
1171
  createdEvent?: EntityCreatedEvent;
582
1172
  updatedEvent?: EntityUpdatedEvent;
@@ -775,8 +1365,22 @@ interface ParticipantJoinedEnvelope {
775
1365
  * @slug participant_joined
776
1366
  */
777
1367
  declare function onParticipantJoined(handler: (event: ParticipantJoinedEnvelope) => void | Promise<void>): void;
1368
+ interface ParticipantStepResolvedEnvelope {
1369
+ data: StepResolved;
1370
+ metadata: EventMetadata;
1371
+ }
1372
+ /** @permissionId PARTICIPANTS.PARTICIPANT_READ
1373
+ * @webhook
1374
+ * @eventType wix.challenges.v1.participant_step_resolved
1375
+ * @serviceIdentifier com.wixpress.achievements.api.v1.ParticipantsService
1376
+ * @slug step_resolved
1377
+ */
1378
+ declare function onParticipantStepResolved(handler: (event: ParticipantStepResolvedEnvelope) => void | Promise<void>): void;
778
1379
  /** @public
779
1380
  * @requiredField challengeId
1381
+ * @permissionId CHALLENGE-PARTICIPATE.FIND-PARTICIPANT
1382
+ * @applicableIdentity APP
1383
+ * @applicableIdentity MEMBER
780
1384
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.QueryParticipants
781
1385
  */
782
1386
  declare function queryParticipants(challengeId: string, options?: QueryParticipantsOptions): Promise<NonNullablePaths<QueryParticipantsResponse, `totalCount` | `participants` | `participants.${number}._id` | `participants.${number}.member._id` | `participants.${number}.member.fullName` | `participants.${number}.challenge._id` | `participants.${number}.stepsSummary.stepsNumber` | `participants.${number}.stepsSummary.completedStepsNumber` | `participants.${number}.stepsSummary.failedStepsNumber` | `participants.${number}.stepsSummary.postedFeedbacksNumber` | `participants.${number}.stepsSummary.lastEvent.stepId` | `participants.${number}.timezone` | `participants.${number}.dateFrame.start` | `participants.${number}.performance` | `participants.${number}.joinPath.singlePayment.orderId` | `participants.${number}.joinPath.freeCoupon.couponId`, 6>>;
@@ -787,6 +1391,9 @@ interface QueryParticipantsOptions {
787
1391
  }
788
1392
  /** @public
789
1393
  * @requiredField challengeId
1394
+ * @permissionId CHALLENGE-PARTICIPATE.FIND-PARTICIPANT
1395
+ * @applicableIdentity APP
1396
+ * @applicableIdentity MEMBER
790
1397
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.ListParticipants
791
1398
  * @deprecated
792
1399
  */
@@ -808,6 +1415,9 @@ interface ListParticipantsOptions {
808
1415
  }
809
1416
  /** @public
810
1417
  * @requiredField challengeId
1418
+ * @permissionId ONLINE_PROGRAMS.PARTICIPANT_JOIN
1419
+ * @applicableIdentity APP
1420
+ * @applicableIdentity MEMBER
811
1421
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.JoinParticipant
812
1422
  */
813
1423
  declare function joinParticipant(challengeId: string, options?: JoinParticipantOptions): Promise<NonNullablePaths<JoinParticipantResponse, `participantId` | `actionId` | `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>>;
@@ -829,6 +1439,8 @@ interface JoinParticipantOptions {
829
1439
  * @public
830
1440
  * @documentationMaturity preview
831
1441
  * @requiredField challengeId
1442
+ * @permissionId ONLINE_PROGRAMS.PARTICIPANT_ADD
1443
+ * @applicableIdentity APP
832
1444
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.AddParticipant
833
1445
  */
834
1446
  declare function addParticipant(challengeId: string, options?: AddParticipantOptions): Promise<NonNullablePaths<AddParticipantResponse, `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` | `actionId`, 6>>;
@@ -843,6 +1455,8 @@ interface AddParticipantOptions {
843
1455
  * @public
844
1456
  * @documentationMaturity preview
845
1457
  * @requiredField challengeId
1458
+ * @permissionId ONLINE_PROGRAMS.PARTICIPANT_ADD
1459
+ * @applicableIdentity APP
846
1460
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.AddParticipants
847
1461
  */
848
1462
  declare function addParticipants(challengeId: string, options?: AddParticipantsOptions): Promise<NonNullablePaths<AddParticipantsResponse, `participants` | `participants.${number}._id` | `participants.${number}.member._id` | `participants.${number}.member.fullName` | `participants.${number}.challenge._id` | `participants.${number}.stepsSummary.stepsNumber` | `participants.${number}.stepsSummary.completedStepsNumber` | `participants.${number}.stepsSummary.failedStepsNumber` | `participants.${number}.stepsSummary.postedFeedbacksNumber` | `participants.${number}.stepsSummary.lastEvent.stepId` | `participants.${number}.timezone` | `participants.${number}.dateFrame.start` | `participants.${number}.performance` | `participants.${number}.joinPath.singlePayment.orderId` | `participants.${number}.joinPath.freeCoupon.couponId` | `actionId`, 6>>;
@@ -858,6 +1472,8 @@ interface AddParticipantsOptions {
858
1472
  /** @public
859
1473
  * @documentationMaturity preview
860
1474
  * @requiredField challengeId
1475
+ * @permissionId ONLINE_PROGRAMS.PARTICIPANT_ADD
1476
+ * @applicableIdentity APP
861
1477
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.AddAllParticipant
862
1478
  */
863
1479
  declare function addAllParticipant(challengeId: string, options?: AddAllParticipantOptions): Promise<void>;
@@ -867,6 +1483,9 @@ interface AddAllParticipantOptions {
867
1483
  }
868
1484
  /** @public
869
1485
  * @requiredField challengeId
1486
+ * @permissionId ONLINE_PROGRAMS.PARTICIPANT_JOIN
1487
+ * @applicableIdentity APP
1488
+ * @applicableIdentity MEMBER
870
1489
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.CreateJoinRequest
871
1490
  */
872
1491
  declare function createJoinRequest(challengeId: string, options?: CreateJoinRequestOptions): Promise<NonNullablePaths<CreateJoinRequestResponse, `participantId` | `approvalRequestId` | `actionId` | `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>>;
@@ -880,6 +1499,8 @@ interface CreateJoinRequestOptions {
880
1499
  }
881
1500
  /** @public
882
1501
  * @requiredField challengeId
1502
+ * @permissionId ONLINE_PROGRAMS.PARTICIPANT_ADD
1503
+ * @applicableIdentity APP
883
1504
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.InviteParticipants
884
1505
  */
885
1506
  declare function inviteParticipants(challengeId: string, options?: InviteParticipantsOptions): Promise<NonNullablePaths<InviteParticipantsResponse, `invitations` | `invitations.${number}.participantId` | `invitations.${number}.approvalRequestId` | `actionId`, 4>>;
@@ -890,6 +1511,8 @@ interface InviteParticipantsOptions {
890
1511
  }
891
1512
  /** @public
892
1513
  * @requiredField challengeId
1514
+ * @permissionId ONLINE_PROGRAMS.PARTICIPANT_ADD
1515
+ * @applicableIdentity APP
893
1516
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.InviteAllParticipants
894
1517
  */
895
1518
  declare function inviteAllParticipants(challengeId: string, options?: InviteAllParticipantsOptions): Promise<void>;
@@ -903,6 +1526,9 @@ interface InviteAllParticipantsOptions {
903
1526
  * @requiredField identifiers
904
1527
  * @requiredField identifiers.challengeId
905
1528
  * @requiredField identifiers.participantId
1529
+ * @permissionId ONLINE_PROGRAMS.PARTICIPANT_READ
1530
+ * @applicableIdentity APP
1531
+ * @applicableIdentity MEMBER
906
1532
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.GetParticipant
907
1533
  */
908
1534
  declare function getParticipant(identifiers: NonNullablePaths<GetParticipantIdentifiers, `challengeId` | `participantId`, 2>): Promise<NonNullablePaths<Participant, `_id` | `member._id` | `member.fullName` | `challenge._id` | `stepsSummary.stepsNumber` | `stepsSummary.completedStepsNumber` | `stepsSummary.failedStepsNumber` | `stepsSummary.postedFeedbacksNumber` | `stepsSummary.lastEvent.stepId` | `stepsSummary.lastEvent.transition.state` | `orderIds` | `transitions` | `transitions.${number}.state` | `timezone` | `dateFrame.start` | `performance` | `joinPath.singlePayment.orderId` | `joinPath.paidPlan.planIds` | `joinPath.freeCoupon.couponId`, 5>>;
@@ -916,6 +1542,7 @@ interface GetParticipantIdentifiers {
916
1542
  * @requiredField identifiers
917
1543
  * @requiredField identifiers.challengeId
918
1544
  * @requiredField identifiers.participantId
1545
+ * @permissionId CHALLENGE-PARTICIPATE.UPDATE-PARTICIPANT
919
1546
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.UpdateParticipant
920
1547
  */
921
1548
  declare function updateParticipant(identifiers: NonNullablePaths<UpdateParticipantIdentifiers, `challengeId` | `participantId`, 2>, options?: UpdateParticipantOptions): Promise<NonNullablePaths<UpdateParticipantResponse, `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` | `actionId`, 6>>;
@@ -944,6 +1571,9 @@ interface UpdateParticipantOptionsUpdateOneOf {
944
1571
  * @requiredField identifiers
945
1572
  * @requiredField identifiers.challengeId
946
1573
  * @requiredField identifiers.participantId
1574
+ * @permissionId ONLINE_PROGRAMS.PARTICIPANT_REMOVE
1575
+ * @applicableIdentity APP
1576
+ * @applicableIdentity MEMBER
947
1577
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.DeleteParticipant
948
1578
  */
949
1579
  declare function deleteParticipant(identifiers: NonNullablePaths<DeleteParticipantIdentifiers, `challengeId` | `participantId`, 2>, options?: DeleteParticipantOptions): Promise<NonNullablePaths<DeleteParticipantResponse, `actionId`, 2>>;
@@ -961,6 +1591,7 @@ interface DeleteParticipantOptions {
961
1591
  * @requiredField identifiers
962
1592
  * @requiredField identifiers.challengeId
963
1593
  * @requiredField identifiers.participantId
1594
+ * @permissionId CHALLENGE-PARTICIPATE.UPDATE-PARTICIPANT
964
1595
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.ReviveParticipant
965
1596
  */
966
1597
  declare function reviveParticipant(identifiers: NonNullablePaths<ReviveParticipantIdentifiers, `challengeId` | `participantId`, 2>, options?: ReviveParticipantOptions): Promise<NonNullablePaths<ReviveParticipantResponse, `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` | `actionId`, 6>>;
@@ -978,6 +1609,7 @@ interface ReviveParticipantOptions {
978
1609
  * @requiredField identifiers
979
1610
  * @requiredField identifiers.challengeId
980
1611
  * @requiredField identifiers.participantId
1612
+ * @permissionId CHALLENGE-PARTICIPATE.UPDATE-PARTICIPANT
981
1613
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.ResetParticipantProgress
982
1614
  */
983
1615
  declare function resetParticipantProgress(identifiers: NonNullablePaths<ResetParticipantProgressIdentifiers, `challengeId` | `participantId`, 2>, options?: ResetParticipantProgressOptions): Promise<NonNullablePaths<ResetParticipantProgressResponse, `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` | `actionId`, 6>>;
@@ -997,6 +1629,8 @@ interface ResetParticipantProgressOptions {
997
1629
  * @requiredField identifiers
998
1630
  * @requiredField identifiers.challengeId
999
1631
  * @requiredField identifiers.participantId
1632
+ * @permissionId ONLINE_PROGRAMS.PARTICIPANT_ISSUE_CERTIFICATE
1633
+ * @applicableIdentity APP
1000
1634
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.IssueParticipantCertificate
1001
1635
  */
1002
1636
  declare function issueParticipantCertificate(identifiers: NonNullablePaths<IssueParticipantCertificateIdentifiers, `challengeId` | `participantId`, 2>): Promise<NonNullablePaths<IssueParticipantCertificateResponse, `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>>;
@@ -1016,6 +1650,8 @@ interface IssueParticipantCertificateIdentifiers {
1016
1650
  * @requiredField identifiers
1017
1651
  * @requiredField identifiers.challengeId
1018
1652
  * @requiredField identifiers.participantId
1653
+ * @permissionId ONLINE_PROGRAMS.PARTICIPANT_ISSUE_CERTIFICATE
1654
+ * @applicableIdentity APP
1019
1655
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.IssueCertificate
1020
1656
  */
1021
1657
  declare function issueCertificate(identifiers: NonNullablePaths<IssueCertificateIdentifiers, `challengeId` | `participantId`, 2>): Promise<NonNullablePaths<IssueCertificateResponse, `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>>;
@@ -1035,6 +1671,9 @@ interface IssueCertificateIdentifiers {
1035
1671
  * @requiredField identifiers
1036
1672
  * @requiredField identifiers.challengeId
1037
1673
  * @requiredField identifiers.participantId
1674
+ * @permissionId ONLINE_PROGRAMS.PARTICIPANT_READ
1675
+ * @applicableIdentity APP
1676
+ * @applicableIdentity MEMBER
1038
1677
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.GetCertificate
1039
1678
  */
1040
1679
  declare function getCertificate(identifiers: NonNullablePaths<GetCertificateIdentifiers, `challengeId` | `participantId`, 2>): Promise<NonNullablePaths<GetCertificateResponse, `certificateUrl`, 2>>;
@@ -1054,6 +1693,9 @@ interface GetCertificateIdentifiers {
1054
1693
  * @requiredField identifiers
1055
1694
  * @requiredField identifiers.challengeId
1056
1695
  * @requiredField identifiers.participantId
1696
+ * @permissionId CHALLENGE-PARTICIPATE.CREATE-ORDER
1697
+ * @applicableIdentity APP
1698
+ * @applicableIdentity MEMBER
1057
1699
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.CreatePaymentOrder
1058
1700
  */
1059
1701
  declare function createPaymentOrder(identifiers: NonNullablePaths<CreatePaymentOrderIdentifiers, `challengeId` | `participantId`, 2>, options?: CreatePaymentOrderOptions): Promise<NonNullablePaths<CreatePaymentOrderResponse, `orderId` | `actionId` | `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>>;
@@ -1078,6 +1720,9 @@ interface CreatePaymentOrderOptions {
1078
1720
  * @requiredField identifiers.challengeId
1079
1721
  * @requiredField identifiers.orderId
1080
1722
  * @requiredField identifiers.participantId
1723
+ * @permissionId CHALLENGE-PARTICIPATE.CREATE-ORDER
1724
+ * @applicableIdentity APP
1725
+ * @applicableIdentity MEMBER
1081
1726
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.ApplyCouponToOrder
1082
1727
  */
1083
1728
  declare function applyCouponToOrder(identifiers: NonNullablePaths<ApplyCouponToOrderIdentifiers, `challengeId` | `orderId` | `participantId`, 2>, couponCode: string, options?: ApplyCouponToOrderOptions): Promise<NonNullablePaths<ApplyCouponToOrderResponse, `couponId` | `subTotal` | `discount` | `total`, 2>>;
@@ -1099,6 +1744,9 @@ interface ApplyCouponToOrderOptions {
1099
1744
  * @requiredField identifiers.couponId
1100
1745
  * @requiredField identifiers.orderId
1101
1746
  * @requiredField identifiers.participantId
1747
+ * @permissionId CHALLENGE-PARTICIPATE.CREATE-ORDER
1748
+ * @applicableIdentity APP
1749
+ * @applicableIdentity MEMBER
1102
1750
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.RemoveCouponFromOrder
1103
1751
  */
1104
1752
  declare function removeCouponFromOrder(identifiers: NonNullablePaths<RemoveCouponFromOrderIdentifiers, `challengeId` | `couponId` | `orderId` | `participantId`, 2>, options?: RemoveCouponFromOrderOptions): Promise<NonNullablePaths<RemoveCouponFromOrderResponse, `total`, 2>>;
@@ -1116,10 +1764,286 @@ interface RemoveCouponFromOrderOptions {
1116
1764
  /** @format GUID */
1117
1765
  actionId?: string;
1118
1766
  }
1767
+ /** @public
1768
+ * @requiredField identifiers
1769
+ * @requiredField identifiers.challengeId
1770
+ * @requiredField identifiers.participantId
1771
+ * @permissionId CHALLENGE-PARTICIPATE.FIND-PARTICIPANT
1772
+ * @applicableIdentity APP
1773
+ * @applicableIdentity MEMBER
1774
+ * @fqn com.wixpress.achievements.api.v1.ParticipantsService.ListSteps
1775
+ * @deprecated
1776
+ * @replacedBy Program Steps service List
1777
+ * @targetRemovalDate 2026-06-30
1778
+ */
1779
+ declare function listSteps(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>>;
1780
+ interface ListStepsIdentifiers {
1781
+ /**
1782
+ * Challenge/Program (tenant) ID. GUID.
1783
+ * @format GUID
1784
+ */
1785
+ challengeId: string;
1786
+ /**
1787
+ * Participant entity ID within the challenge. GUID.
1788
+ * @format GUID
1789
+ */
1790
+ participantId: string;
1791
+ }
1792
+ interface ListStepsOptions {
1793
+ /** Optional parent step ID to scope to sub-steps. */
1794
+ parentId?: string;
1795
+ /** Optional absolute time window for time-based progress. */
1796
+ timeInterval?: TimeInterval;
1797
+ /** Optional local date window for date-based progress. */
1798
+ dateInterval?: DateInterval;
1799
+ /** Controls verbose description fields in response. */
1800
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
1801
+ }
1802
+ /** @public
1803
+ * @requiredField identifiers
1804
+ * @requiredField identifiers.challengeId
1805
+ * @requiredField identifiers.participantId
1806
+ * @requiredField identifiers.stepId
1807
+ * @permissionId CHALLENGE-PARTICIPATE.FIND-PARTICIPANT
1808
+ * @applicableIdentity APP
1809
+ * @applicableIdentity MEMBER
1810
+ * @fqn com.wixpress.achievements.api.v1.ParticipantsService.GetStep
1811
+ * @deprecated
1812
+ * @replacedBy Program Steps service Get
1813
+ * @targetRemovalDate 2026-06-30
1814
+ */
1815
+ declare function getStep(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>>;
1816
+ interface GetStepIdentifiers {
1817
+ /**
1818
+ * Challenge/Program (tenant) ID. GUID.
1819
+ * @format GUID
1820
+ */
1821
+ challengeId: string;
1822
+ /**
1823
+ * Participant entity ID. GUID.
1824
+ * @format GUID
1825
+ */
1826
+ participantId: string;
1827
+ /** Step ID (program step or resolved instance). */
1828
+ stepId: string;
1829
+ }
1830
+ interface GetStepOptions {
1831
+ /** Optional absolute time window for time-based progress. */
1832
+ timeInterval?: TimeInterval;
1833
+ /** Controls verbose description fields in response. */
1834
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
1835
+ }
1836
+ /** @public
1837
+ * @requiredField identifiers
1838
+ * @requiredField identifiers.challengeId
1839
+ * @requiredField identifiers.participantId
1840
+ * @requiredField identifiers.stepId
1841
+ * @permissionId CHALLENGE-PARTICIPATE.COMPLETE-PARTICIPANT-STEP
1842
+ * @applicableIdentity APP
1843
+ * @applicableIdentity MEMBER
1844
+ * @fqn com.wixpress.achievements.api.v1.ParticipantsService.ResolveStep
1845
+ * @deprecated
1846
+ * @targetRemovalDate 2026-06-30
1847
+ */
1848
+ declare function resolveStep(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>>;
1849
+ interface ResolveStepIdentifiers {
1850
+ /**
1851
+ * Challenge/Program (tenant) ID. GUID.
1852
+ * @format GUID
1853
+ */
1854
+ challengeId: string;
1855
+ /**
1856
+ * Participant entity ID. GUID.
1857
+ * @format GUID
1858
+ */
1859
+ participantId: string;
1860
+ /** Target step ID to resolve. */
1861
+ stepId: string;
1862
+ }
1863
+ interface ResolveStepOptions {
1864
+ /** Resolution action to apply. */
1865
+ status?: ResolutionStatusWithLiterals;
1866
+ /** Optional instructor feedback payload. */
1867
+ feedback?: Feedback;
1868
+ /** Optional idempotency key for action tracking. */
1869
+ actionId?: string;
1870
+ /**
1871
+ * Optional quiz submission to attach. GUID.
1872
+ * @format GUID
1873
+ */
1874
+ quizSubmissionId?: string | null;
1875
+ }
1876
+ /** @public
1877
+ * @requiredField identifiers
1878
+ * @requiredField identifiers.challengeId
1879
+ * @requiredField identifiers.participantId
1880
+ * @requiredField identifiers.stepId
1881
+ * @permissionId CHALLENGE-PARTICIPATE.COMPLETE-PARTICIPANT-STEP
1882
+ * @applicableIdentity APP
1883
+ * @applicableIdentity MEMBER
1884
+ * @fqn com.wixpress.achievements.api.v1.ParticipantsService.UpdateStepFeedback
1885
+ * @deprecated
1886
+ * @targetRemovalDate 2026-06-30
1887
+ */
1888
+ declare function updateStepFeedback(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>>;
1889
+ interface UpdateStepFeedbackIdentifiers {
1890
+ /**
1891
+ * Challenge/Program (tenant) ID. GUID.
1892
+ * @format GUID
1893
+ */
1894
+ challengeId: string;
1895
+ /**
1896
+ * Participant entity ID. GUID.
1897
+ * @format GUID
1898
+ */
1899
+ participantId: string;
1900
+ /** Target step ID to update feedback for. */
1901
+ stepId: string;
1902
+ }
1903
+ interface UpdateStepFeedbackOptions {
1904
+ /** New feedback payload. */
1905
+ feedback?: Feedback;
1906
+ /**
1907
+ * Idempotency key for feedback update. GUID.
1908
+ * @format GUID
1909
+ */
1910
+ actionId?: string;
1911
+ }
1912
+ /** @public
1913
+ * @requiredField identifiers
1914
+ * @requiredField identifiers.challengeId
1915
+ * @requiredField identifiers.participantId
1916
+ * @permissionId CHALLENGE-PARTICIPATE.UPLOAD-MEDIA
1917
+ * @fqn com.wixpress.achievements.api.v1.ParticipantsService.GetMediaUploadInfo
1918
+ * @deprecated
1919
+ * @targetRemovalDate 2026-06-30
1920
+ */
1921
+ declare function getMediaUploadInfo(identifiers: NonNullablePaths<GetMediaUploadInfoIdentifiers, `challengeId` | `participantId`, 2>, options?: GetMediaUploadInfoOptions): Promise<NonNullablePaths<GetMediaUploadInfoResponse, `uploadUrl` | `uploadToken`, 2>>;
1922
+ interface GetMediaUploadInfoIdentifiers {
1923
+ /**
1924
+ * Challenge/Program (tenant) ID. GUID.
1925
+ * @format GUID
1926
+ */
1927
+ challengeId: string;
1928
+ /**
1929
+ * Participant entity ID. GUID.
1930
+ * @format GUID
1931
+ */
1932
+ participantId: string;
1933
+ }
1934
+ interface GetMediaUploadInfoOptions {
1935
+ /** Original filename to derive content-type and path. */
1936
+ fileName?: string;
1937
+ }
1938
+ /**
1939
+ * ---------------------------------------------------- Sections --------------------------------------------------------
1940
+ * @public
1941
+ * @requiredField identifiers
1942
+ * @requiredField identifiers.challengeId
1943
+ * @requiredField identifiers.participantId
1944
+ * @permissionId CHALLENGE-PARTICIPATE.FIND-PARTICIPANT
1945
+ * @applicableIdentity APP
1946
+ * @applicableIdentity MEMBER
1947
+ * @fqn com.wixpress.achievements.api.v1.ParticipantsService.ListSections
1948
+ * @deprecated
1949
+ * @targetRemovalDate 2026-06-30
1950
+ */
1951
+ declare function listSections(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>>;
1952
+ interface ListSectionsIdentifiers {
1953
+ /**
1954
+ * Challenge/Program (tenant) ID. GUID.
1955
+ * @format GUID
1956
+ */
1957
+ challengeId: string;
1958
+ /**
1959
+ * Participant entity ID. GUID.
1960
+ * @format GUID
1961
+ */
1962
+ participantId: string;
1963
+ }
1964
+ interface ListSectionsOptions {
1965
+ /** Controls verbose description fields in response. */
1966
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
1967
+ }
1968
+ /** @public
1969
+ * @requiredField identifiers
1970
+ * @requiredField identifiers.challengeId
1971
+ * @requiredField identifiers.participantId
1972
+ * @requiredField identifiers.sectionId
1973
+ * @permissionId CHALLENGE-PARTICIPATE.FIND-PARTICIPANT
1974
+ * @applicableIdentity APP
1975
+ * @applicableIdentity MEMBER
1976
+ * @fqn com.wixpress.achievements.api.v1.ParticipantsService.GetSection
1977
+ * @deprecated
1978
+ * @targetRemovalDate 2026-06-30
1979
+ */
1980
+ declare function getSection(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>>;
1981
+ interface GetSectionIdentifiers {
1982
+ /**
1983
+ * Challenge/Program (tenant) ID. GUID.
1984
+ * @format GUID
1985
+ */
1986
+ challengeId: string;
1987
+ /**
1988
+ * Participant entity ID. GUID.
1989
+ * @format GUID
1990
+ */
1991
+ participantId: string;
1992
+ /**
1993
+ * Section ID to fetch. GUID.
1994
+ * @format GUID
1995
+ */
1996
+ sectionId: string;
1997
+ }
1998
+ interface GetSectionOptions {
1999
+ /** Controls verbose description fields in response. */
2000
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
2001
+ }
1119
2002
  /** @public
1120
2003
  * @requiredField programId
2004
+ * @permissionId ONLINE_PROGRAMS.PARTICIPANT_READ
2005
+ * @applicableIdentity APP
2006
+ * @applicableIdentity MEMBER
1121
2007
  * @fqn com.wixpress.achievements.api.v1.ParticipantsService.MyProgram
1122
2008
  */
1123
2009
  declare function myProgram(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>>;
2010
+ /** @public
2011
+ * @requiredField identifiers
2012
+ * @requiredField identifiers.programId
2013
+ * @requiredField identifiers.programStepId
2014
+ * @permissionId ONLINE_PROGRAMS.PARTICIPANT_READ
2015
+ * @applicableIdentity APP
2016
+ * @applicableIdentity MEMBER
2017
+ * @fqn com.wixpress.achievements.api.v1.ParticipantsService.MyProgramStep
2018
+ * @deprecated
2019
+ * @targetRemovalDate 2026-06-30
2020
+ */
2021
+ declare function myProgramStep(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>>;
2022
+ interface MyProgramStepIdentifiers {
2023
+ programId: string;
2024
+ programStepId: string;
2025
+ }
2026
+ interface MyProgramStepOptions {
2027
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
2028
+ }
2029
+ /** @public
2030
+ * @requiredField identifiers
2031
+ * @requiredField identifiers.programId
2032
+ * @requiredField identifiers.programSectionId
2033
+ * @permissionId ONLINE_PROGRAMS.PARTICIPANT_READ
2034
+ * @applicableIdentity APP
2035
+ * @applicableIdentity MEMBER
2036
+ * @fqn com.wixpress.achievements.api.v1.ParticipantsService.MyProgramSection
2037
+ * @deprecated
2038
+ * @targetRemovalDate 2026-06-30
2039
+ */
2040
+ declare function myProgramSection(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>>;
2041
+ interface MyProgramSectionIdentifiers {
2042
+ programId: string;
2043
+ programSectionId: string;
2044
+ }
2045
+ interface MyProgramSectionOptions {
2046
+ descriptionFieldSet?: DescriptionFieldSetWithLiterals;
2047
+ }
1124
2048
 
1125
- export { type ActionEvent, type AddAllParticipantOptions, type AddAllParticipantRequest, type AddAllParticipantResponse, type AddParticipantOptions, type AddParticipantRequest, type AddParticipantResponse, type AddParticipantsOptions, type AddParticipantsRequest, type AddParticipantsResponse, type Added, type ApplyCouponToOrderIdentifiers, type ApplyCouponToOrderOptions, type ApplyCouponToOrderRequest, type ApplyCouponToOrderResponse, type BaseEventMetadata, type Certificate, type CreateJoinRequestOptions, type CreateJoinRequestRequest, type CreateJoinRequestResponse, type CreatePaymentOrderIdentifiers, type CreatePaymentOrderOptions, type CreatePaymentOrderRequest, type CreatePaymentOrderResponse, type DateInterval, type DeleteParticipantIdentifiers, type DeleteParticipantOptions, type DeleteParticipantRequest, type DeleteParticipantResponse, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntitySummary, type EntityUpdatedEvent, type EventMetadata, type FocalPoint, type Free, type FreeCoupon, type GetCertificateIdentifiers, type GetCertificateRequest, type GetCertificateResponse, type GetParticipantIdentifiers, type GetParticipantRequest, type GetParticipantResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvitationDetails, type InviteAllParticipantsOptions, type InviteAllParticipantsRequest, type InviteAllParticipantsResponse, type InviteParticipantsOptions, type InviteParticipantsRequest, type InviteParticipantsResponse, type IssueCertificateIdentifiers, type IssueCertificateRequest, type IssueCertificateResponse, type IssueParticipantCertificateIdentifiers, type IssueParticipantCertificateRequest, type IssueParticipantCertificateResponse, type JoinParticipantOptions, type JoinParticipantRequest, type JoinParticipantResponse, type JoinPath, type JoinPathPathOneOf, type ListParticipantsOptions, type ListParticipantsRequest, type ListParticipantsResponse, type MediaItem, type MediaItemMediaOneOf, type Member, type MessageEnvelope, type MyProgramRequest, type MyProgramResponse, type Paging, type PaidPlan, type Participant, type ParticipantDeletedEnvelope, type ParticipantJoinDate, type ParticipantJoined, type ParticipantJoinedEnvelope, type ParticipantPerformance, ParticipantStepState, type ParticipantStepStateTransition, type ParticipantStepStateWithLiterals, type ParticipantsFilter, ParticipationState, type ParticipationStateWithLiterals, PaymentType, type PaymentTypeWithLiterals, type Price, type QueryParticipantsOptions, type QueryParticipantsRequest, QueryParticipantsRequestJoinPath, type QueryParticipantsRequestJoinPathWithLiterals, type QueryParticipantsRequestSorting, QueryParticipantsRequestSortingCriterion, type QueryParticipantsRequestSortingCriterionWithLiterals, QueryParticipantsRequestSortingOrder, type QueryParticipantsRequestSortingOrderWithLiterals, type QueryParticipantsResponse, type RemoveCouponFromOrderIdentifiers, type RemoveCouponFromOrderOptions, type RemoveCouponFromOrderRequest, type RemoveCouponFromOrderResponse, type ResetParticipantProgressIdentifiers, type ResetParticipantProgressOptions, type ResetParticipantProgressRequest, type ResetParticipantProgressResponse, type RestoreInfo, type ReviveParticipantIdentifiers, type ReviveParticipantOptions, type ReviveParticipantRequest, type ReviveParticipantResponse, type SinglePayment, type Sorting, SortingCriterion, type SortingCriterionWithLiterals, SortingOrder, type SortingOrderWithLiterals, State, type StateTransition, type StateWithLiterals, type StepEvent, type StepsSummary, type TimeInterval, type UpdateParticipantIdentifiers, type UpdateParticipantIdentifiersUpdateOneOf, type UpdateParticipantOptions, type UpdateParticipantOptionsUpdateOneOf, type UpdateParticipantRequest, type UpdateParticipantRequestUpdateOneOf, type UpdateParticipantResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, addAllParticipant, addParticipant, addParticipants, applyCouponToOrder, createJoinRequest, createPaymentOrder, deleteParticipant, getCertificate, getParticipant, inviteAllParticipants, inviteParticipants, issueCertificate, issueParticipantCertificate, joinParticipant, listParticipants, myProgram, onParticipantDeleted, onParticipantJoined, queryParticipants, removeCouponFromOrder, resetParticipantProgress, reviveParticipant, updateParticipant };
2049
+ export { type ActionEvent, type AddAllParticipantOptions, type AddAllParticipantRequest, type AddAllParticipantResponse, type AddParticipantOptions, type AddParticipantRequest, type AddParticipantResponse, type AddParticipantsOptions, type AddParticipantsRequest, type AddParticipantsResponse, type Added, type All, type ApplyCouponToOrderIdentifiers, type ApplyCouponToOrderOptions, type ApplyCouponToOrderRequest, type ApplyCouponToOrderResponse, type BaseEventMetadata, type Certificate, type ChallengeSection, type ChallengeStep, type ChallengeStepSettings, type Choice, ChoiceRightness, type ChoiceRightnessWithLiterals, type Choices, type Completed, type CompletionCriteria, type Container, type CreateJoinRequestOptions, type CreateJoinRequestRequest, type CreateJoinRequestResponse, type CreatePaymentOrderIdentifiers, type CreatePaymentOrderOptions, type CreatePaymentOrderRequest, type CreatePaymentOrderResponse, type DateInterval, type DeleteParticipantIdentifiers, type DeleteParticipantOptions, type DeleteParticipantRequest, type DeleteParticipantResponse, DescriptionFieldSet, type DescriptionFieldSetWithLiterals, type DomainEvent, type DomainEventBodyOneOf, DurationUnit, type DurationUnitWithLiterals, type EmbeddingSettings, type EntityCreatedEvent, type EntityDeletedEvent, type EntitySummary, type EntityUpdatedEvent, type EventMetadata, type Feedback, type FeedbackItem, type FeedbackItemChoice, type FeedbackItemSettings, type FeedbackItemType, type FeedbackItemTypeTypeOneOf, type FeedbackItemValueOneOf, type FocalPoint, type Free, type FreeCoupon, type GeneralSettings, type GeneralSettingsStepTypeOneOf, type GetCertificateIdentifiers, type GetCertificateRequest, type GetCertificateResponse, type GetMediaUploadInfoIdentifiers, type GetMediaUploadInfoOptions, type GetMediaUploadInfoRequest, type GetMediaUploadInfoResponse, type GetParticipantIdentifiers, type GetParticipantRequest, type GetParticipantResponse, type GetParticipantSectionRequest, type GetParticipantSectionResponse, type GetParticipantStepRequest, type GetParticipantStepResponse, type GetSectionIdentifiers, type GetSectionOptions, type GetStepIdentifiers, type GetStepOptions, type GroupSettings, type IdentificationData, type IdentificationDataIdOneOf, type IndividualSettings, type InvitationDetails, type InviteAllParticipantsOptions, type InviteAllParticipantsRequest, type InviteAllParticipantsResponse, type InviteParticipantsOptions, type InviteParticipantsRequest, type InviteParticipantsResponse, type IssueCertificateIdentifiers, type IssueCertificateRequest, type IssueCertificateResponse, type IssueParticipantCertificateIdentifiers, type IssueParticipantCertificateRequest, type IssueParticipantCertificateResponse, type JoinParticipantOptions, type JoinParticipantRequest, type JoinParticipantResponse, type JoinPath, type JoinPathPathOneOf, type ListParticipantSectionsRequest, type ListParticipantSectionsResponse, type ListParticipantStepsRequest, type ListParticipantStepsResponse, type ListParticipantsOptions, type ListParticipantsRequest, type ListParticipantsResponse, type ListSectionsIdentifiers, type ListSectionsOptions, type ListStepsIdentifiers, type ListStepsOptions, type MediaFeedbackItem, type MediaItem, type MediaItemMediaOneOf, type MediaItems, type Member, type MessageEnvelope, type MinThreshold, type MultipleChoiceFeedbackItem, type MyProgramRequest, type MyProgramResponse, type MyProgramSectionIdentifiers, type MyProgramSectionOptions, type MyProgramSectionRequest, type MyProgramSectionResponse, type MyProgramStepIdentifiers, type MyProgramStepOptions, type MyProgramStepRequest, type MyProgramStepResponse, type NumericFeedbackItem, type ObjectDescription, type Overdue, type Paging, type PaidPlan, type Participant, type ParticipantDeletedEnvelope, type ParticipantJoinDate, type ParticipantJoined, type ParticipantJoinedEnvelope, type ParticipantPerformance, type ParticipantSection, type ParticipantSectionStateTransition, type ParticipantSectionStateTransitionStateOneOf, type ParticipantStep, type ParticipantStepResolvedEnvelope, ParticipantStepState, type ParticipantStepStateTransition, type ParticipantStepStateWithLiterals, type ParticipantsFilter, ParticipationState, type ParticipationStateWithLiterals, PaymentType, type PaymentTypeWithLiterals, type Price, type Progress, type Quantity, type QuantityCriterion, type QuantityCriterionCriterionOneOf, type QuantityFeedbackItem, type QueryParticipantsOptions, type QueryParticipantsRequest, QueryParticipantsRequestJoinPath, type QueryParticipantsRequestJoinPathWithLiterals, type QueryParticipantsRequestSorting, QueryParticipantsRequestSortingCriterion, type QueryParticipantsRequestSortingCriterionWithLiterals, QueryParticipantsRequestSortingOrder, type QueryParticipantsRequestSortingOrderWithLiterals, type QueryParticipantsResponse, type QuizMigrationDetails, type QuizSettings, type QuizSubmission, type QuizSubmissionData, QuizType, type QuizTypeWithLiterals, type RecurrenceSchedule, type RecurrenceSettings, type RemoveCouponFromOrderIdentifiers, type RemoveCouponFromOrderOptions, type RemoveCouponFromOrderRequest, type RemoveCouponFromOrderResponse, type ResetParticipantProgressIdentifiers, type ResetParticipantProgressOptions, type ResetParticipantProgressRequest, type ResetParticipantProgressResponse, ResolutionStatus, type ResolutionStatusWithLiterals, type ResolveParticipantStepRequest, type ResolveParticipantStepResponse, type ResolveStepIdentifiers, type ResolveStepOptions, type RestoreInfo, type ReviveParticipantIdentifiers, type ReviveParticipantOptions, type ReviveParticipantRequest, type ReviveParticipantResponse, type Running, type Settings, type SinglePayment, type Sorting, SortingCriterion, type SortingCriterionWithLiterals, SortingOrder, type SortingOrderWithLiterals, type StartCondition, State, type StateTransition, type StateWithLiterals, Status, type StatusWithLiterals, type Step, type StepDependency, type StepDependencyDependencyTypeOneOf, type StepEvent, type StepResolved, type StepsSummary, type TextFeedbackItem, type TimeDuration, type TimeInterval, type UpdateParticipantIdentifiers, type UpdateParticipantIdentifiersUpdateOneOf, type UpdateParticipantOptions, type UpdateParticipantOptionsUpdateOneOf, type UpdateParticipantRequest, type UpdateParticipantRequestUpdateOneOf, type UpdateParticipantResponse, type UpdateStepFeedbackIdentifiers, type UpdateStepFeedbackOptions, type UpdateStepFeedbackRequest, type UpdateStepFeedbackResponse, type VideoResolution, type VideoStepSettings, type VideoStepSettingsVideoSourceOneOf, type WaitingDate, type WaitingDependency, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixVideo, 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 };