@wix/online-programs 1.0.28 → 1.0.30

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 (36) hide show
  1. package/build/cjs/meta.d.ts +1 -0
  2. package/build/cjs/meta.js +14 -0
  3. package/build/cjs/meta.js.map +1 -0
  4. package/build/cjs/src/challenges-v1-participant.http.d.ts +4 -2
  5. package/build/cjs/src/challenges-v1-participant.http.js +40 -1
  6. package/build/cjs/src/challenges-v1-participant.http.js.map +1 -1
  7. package/build/cjs/src/challenges-v1-participant.meta.d.ts +21 -0
  8. package/build/cjs/src/challenges-v1-participant.meta.js +81 -0
  9. package/build/cjs/src/challenges-v1-participant.meta.js.map +1 -0
  10. package/build/cjs/src/challenges-v1-participant.public.d.ts +5 -4
  11. package/build/cjs/src/challenges-v1-participant.public.js +8 -2
  12. package/build/cjs/src/challenges-v1-participant.public.js.map +1 -1
  13. package/build/cjs/src/challenges-v1-participant.types.d.ts +150 -0
  14. package/build/cjs/src/challenges-v1-participant.types.js.map +1 -1
  15. package/build/cjs/src/challenges-v1-participant.universal.d.ts +128 -2
  16. package/build/cjs/src/challenges-v1-participant.universal.js +66 -5
  17. package/build/cjs/src/challenges-v1-participant.universal.js.map +1 -1
  18. package/build/es/meta.d.ts +1 -0
  19. package/build/es/meta.js +2 -0
  20. package/build/es/meta.js.map +1 -0
  21. package/build/es/src/challenges-v1-participant.http.d.ts +4 -2
  22. package/build/es/src/challenges-v1-participant.http.js +38 -0
  23. package/build/es/src/challenges-v1-participant.http.js.map +1 -1
  24. package/build/es/src/challenges-v1-participant.meta.d.ts +21 -0
  25. package/build/es/src/challenges-v1-participant.meta.js +56 -0
  26. package/build/es/src/challenges-v1-participant.meta.js.map +1 -0
  27. package/build/es/src/challenges-v1-participant.public.d.ts +5 -4
  28. package/build/es/src/challenges-v1-participant.public.js +7 -2
  29. package/build/es/src/challenges-v1-participant.public.js.map +1 -1
  30. package/build/es/src/challenges-v1-participant.types.d.ts +150 -0
  31. package/build/es/src/challenges-v1-participant.types.js.map +1 -1
  32. package/build/es/src/challenges-v1-participant.universal.d.ts +128 -2
  33. package/build/es/src/challenges-v1-participant.universal.js +64 -4
  34. package/build/es/src/challenges-v1-participant.universal.js.map +1 -1
  35. package/meta/package.json +6 -0
  36. package/package.json +4 -3
@@ -0,0 +1 @@
1
+ export * from './src/challenges-v1-participant.meta';
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./src/challenges-v1-participant.meta"), exports);
14
+ //# sourceMappingURL=meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAAqD"}
@@ -1,5 +1,7 @@
1
1
  import { RequestOptionsFactory } from '@wix/sdk-types';
2
- import { AddParticipantRequest, AddParticipantResponse, AddAllParticipantRequest, AddAllParticipantResponse } from './challenges-v1-participant.types';
2
+ import { AddParticipantRequest, AddParticipantResponse, AddAllParticipantRequest, AddAllParticipantResponse, AddParticipantResponseNonNullableFields, AddParticipantsRequest, AddParticipantsResponse, AddParticipantsResponseNonNullableFields } from './challenges-v1-participant.types';
3
3
  /** owner adds participant to the challenge */
4
- export declare function addParticipant(payload: AddParticipantRequest): RequestOptionsFactory<AddParticipantResponse>;
4
+ export declare function addParticipant(payload: AddParticipantRequest): RequestOptionsFactory<AddParticipantResponse & AddParticipantResponseNonNullableFields>;
5
+ /** owner adds participants to the challenge */
6
+ export declare function addParticipants(payload: AddParticipantsRequest): RequestOptionsFactory<AddParticipantsResponse & AddParticipantsResponseNonNullableFields>;
5
7
  export declare function addAllParticipant(payload: AddAllParticipantRequest): RequestOptionsFactory<AddAllParticipantResponse>;
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.addAllParticipant = exports.addParticipant = void 0;
3
+ exports.addAllParticipant = exports.addParticipants = exports.addParticipant = void 0;
4
4
  const ambassador_1 = require("@wix/metro-runtime/ambassador");
5
5
  const metro_runtime_1 = require("@wix/metro-runtime");
6
6
  const _addAllParticipantRequest = {};
7
7
  const _addAllParticipantResponse = {};
8
8
  const _addParticipantRequest = {};
9
9
  const _addParticipantResponse = { participant: '_participant' };
10
+ const _addParticipantsRequest = {};
11
+ const _addParticipantsResponse = { participants: '_participant' };
10
12
  const _certificate = { issuedDate: 'google.protobuf.Timestamp' };
11
13
  const _document = { urlExpirationDate: 'google.protobuf.Timestamp' };
12
14
  const _entitySummary = { media: '_mediaItem' };
@@ -179,6 +181,43 @@ function addParticipant(payload) {
179
181
  return __addParticipant;
180
182
  }
181
183
  exports.addParticipant = addParticipant;
184
+ /** owner adds participants to the challenge */
185
+ function addParticipants(payload) {
186
+ const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_addParticipantsRequest, {});
187
+ const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_addParticipantsResponse, {
188
+ _certificate,
189
+ _document,
190
+ _entitySummary,
191
+ _image,
192
+ _mediaItem,
193
+ _participant,
194
+ _participantStepStateTransition,
195
+ _stateTransition,
196
+ _stepEvent,
197
+ _stepsSummary,
198
+ _timeInterval,
199
+ _video,
200
+ });
201
+ function __addParticipants({ host }) {
202
+ const serializedData = toReq(payload);
203
+ const metadata = {
204
+ entityFqdn: 'wix.challenges.v1.participant',
205
+ method: 'POST',
206
+ methodFqn: 'com.wixpress.achievements.api.v1.ParticipantsService.AddParticipants',
207
+ url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
208
+ protoPath: '/api/v1/challenges/{challengeId}/participants/bulk-add',
209
+ data: serializedData,
210
+ host,
211
+ }),
212
+ data: serializedData,
213
+ transformResponse: fromRes,
214
+ };
215
+ return metadata;
216
+ }
217
+ __addParticipants.fromReq = fromReq;
218
+ return __addParticipants;
219
+ }
220
+ exports.addParticipants = addParticipants;
182
221
  function addAllParticipant(payload) {
183
222
  const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_addAllParticipantRequest, {});
184
223
  const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_addAllParticipantResponse, {});
@@ -1 +1 @@
1
- {"version":3,"file":"challenges-v1-participant.http.js","sourceRoot":"","sources":["../../../src/challenges-v1-participant.http.ts"],"names":[],"mappings":";;;AAAA,8DAA2D;AAC3D,sDAAgD;AAUhD,MAAM,yBAAyB,GAAG,EAAE,CAAC;AACrC,MAAM,0BAA0B,GAAG,EAAE,CAAC;AACtC,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAClC,MAAM,uBAAuB,GAAG,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;AAChE,MAAM,YAAY,GAAG,EAAE,UAAU,EAAE,2BAA2B,EAAE,CAAC;AACjE,MAAM,SAAS,GAAG,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,CAAC;AACrE,MAAM,cAAc,GAAG,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC;AAC/C,MAAM,MAAM,GAAG,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,CAAC;AAClE,MAAM,UAAU,GAAG,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC;AAC/E,MAAM,YAAY,GAAG;IACnB,WAAW,EAAE,QAAQ;IACrB,SAAS,EAAE,gBAAgB;IAC3B,SAAS,EAAE,eAAe;IAC1B,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engesV1ParticipantUniversalTypes from './challenges-v1-participant.universal';
3
+ export declare type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
4
+ getUrl: (context: any) => string;
5
+ httpMethod: K;
6
+ path: string;
7
+ pathParams: M;
8
+ __requestType: T;
9
+ __originalRequestType: S;
10
+ __responseType: Q;
11
+ __originalResponseType: R;
12
+ };
13
+ export declare function addParticipant(): __PublicMethodMetaInfo<'POST', {
14
+ challengeId: string;
15
+ }, ambassadorWixChallengesV1ParticipantUniversalTypes.AddParticipantRequest, ambassadorWixChallengesV1ParticipantTypes.AddParticipantRequest, ambassadorWixChallengesV1ParticipantUniversalTypes.AddParticipantResponse & ambassadorWixChallengesV1ParticipantUniversalTypes.AddParticipantResponseNonNullableFields, ambassadorWixChallengesV1ParticipantTypes.AddParticipantResponse & ambassadorWixChallengesV1ParticipantTypes.AddParticipantResponseNonNullableFields>;
16
+ export declare function addParticipants(): __PublicMethodMetaInfo<'POST', {
17
+ challengeId: string;
18
+ }, ambassadorWixChallengesV1ParticipantUniversalTypes.AddParticipantsRequest, ambassadorWixChallengesV1ParticipantTypes.AddParticipantsRequest, ambassadorWixChallengesV1ParticipantUniversalTypes.AddParticipantsResponse & ambassadorWixChallengesV1ParticipantUniversalTypes.AddParticipantsResponseNonNullableFields, ambassadorWixChallengesV1ParticipantTypes.AddParticipantsResponse & ambassadorWixChallengesV1ParticipantTypes.AddParticipantsResponseNonNullableFields>;
19
+ export declare function addAllParticipant(): __PublicMethodMetaInfo<'POST', {
20
+ challengeId: string;
21
+ }, ambassadorWixChallengesV1ParticipantUniversalTypes.AddAllParticipantRequest, ambassadorWixChallengesV1ParticipantTypes.AddAllParticipantRequest, ambassadorWixChallengesV1ParticipantUniversalTypes.AddAllParticipantResponse, ambassadorWixChallengesV1ParticipantTypes.AddAllParticipantResponse>;
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.addAllParticipant = exports.addParticipants = exports.addParticipant = void 0;
23
+ const ambassadorWixChallengesV1Participant = __importStar(require("./challenges-v1-participant.http"));
24
+ function addParticipant() {
25
+ const payload = { challengeId: ':challengeId' };
26
+ const getRequestOptions = ambassadorWixChallengesV1Participant.addParticipant(payload);
27
+ const getUrl = (context) => {
28
+ const { url } = getRequestOptions(context);
29
+ return url;
30
+ };
31
+ return {
32
+ getUrl,
33
+ httpMethod: 'POST',
34
+ path: '/api/v1/challenges/{challengeId}/participants/add',
35
+ pathParams: { challengeId: 'challengeId' },
36
+ __requestType: null,
37
+ __originalRequestType: null,
38
+ __responseType: null,
39
+ __originalResponseType: null,
40
+ };
41
+ }
42
+ exports.addParticipant = addParticipant;
43
+ function addParticipants() {
44
+ const payload = { challengeId: ':challengeId' };
45
+ const getRequestOptions = ambassadorWixChallengesV1Participant.addParticipants(payload);
46
+ const getUrl = (context) => {
47
+ const { url } = getRequestOptions(context);
48
+ return url;
49
+ };
50
+ return {
51
+ getUrl,
52
+ httpMethod: 'POST',
53
+ path: '/api/v1/challenges/{challengeId}/participants/bulk-add',
54
+ pathParams: { challengeId: 'challengeId' },
55
+ __requestType: null,
56
+ __originalRequestType: null,
57
+ __responseType: null,
58
+ __originalResponseType: null,
59
+ };
60
+ }
61
+ exports.addParticipants = addParticipants;
62
+ function addAllParticipant() {
63
+ const payload = { challengeId: ':challengeId' };
64
+ const getRequestOptions = ambassadorWixChallengesV1Participant.addAllParticipant(payload);
65
+ const getUrl = (context) => {
66
+ const { url } = getRequestOptions(context);
67
+ return url;
68
+ };
69
+ return {
70
+ getUrl,
71
+ httpMethod: 'POST',
72
+ path: '/api/v1/challenges/{challengeId}/participants/add-all',
73
+ pathParams: { challengeId: 'challengeId' },
74
+ __requestType: null,
75
+ __originalRequestType: null,
76
+ __responseType: null,
77
+ __originalResponseType: null,
78
+ };
79
+ }
80
+ exports.addAllParticipant = addAllParticipant;
81
+ //# sourceMappingURL=challenges-v1-participant.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"challenges-v1-participant.meta.js","sourceRoot":"","sources":["../../../src/challenges-v1-participant.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uGAAyF;AAsBzF,SAAgB,cAAc;IAU5B,MAAM,OAAO,GAAG,EAAE,WAAW,EAAE,cAAc,EAAS,CAAC;IAEvD,MAAM,iBAAiB,GACrB,oCAAoC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAE/D,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,mDAAmD;QACzD,UAAU,EAAE,EAAE,WAAW,EAAE,aAAa,EAAE;QAC1C,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,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ipantOptions } from './challenges-v1-participant.universal';
2
+ import { AddAllParticipantOptions, AddParticipantOptions, AddParticipantsOptions } from './challenges-v1-participant.universal';
3
3
  export declare const __metadata: {
4
4
  PACKAGE_NAME: string;
5
5
  };
6
- export declare function addParticipant(httpClient: HttpClient): (challengeId: string, options?: AddParticipantOptions | undefined) => Promise<import("./challenges-v1-participant.universal").AddParticipantResponse>;
7
- export declare function addAllParticipant(httpClient: HttpClient): (challengeId: string) => Promise<void>;
6
+ export declare function addParticipant(httpClient: HttpClient): (challengeId: string, options?: AddParticipantOptions | undefined) => Promise<import("./challenges-v1-participant.universal").AddParticipantResponse & import("./challenges-v1-participant.universal").AddParticipantResponseNonNullableFields>;
7
+ export declare function addParticipants(httpClient: HttpClient): (challengeId: string, options?: AddParticipantsOptions | undefined) => Promise<import("./challenges-v1-participant.universal").AddParticipantsResponse & import("./challenges-v1-participant.universal").AddParticipantsResponseNonNullableFields>;
8
+ export declare function addAllParticipant(httpClient: HttpClient): (challengeId: string, options?: AddAllParticipantOptions | undefined) => Promise<void>;
8
9
  export { ParticipantStepState, State, ParticipationState, QueryParticipantsRequestJoinPath, QueryParticipantsRequestSortingCriterion, QueryParticipantsRequestSortingOrder, SortingCriterion, SortingOrder, PaymentType, ChoiceRightness, QuizType, DurationUnit, ResolutionStatus, } from './challenges-v1-participant.universal';
9
- export { Participant, StepEvent, ParticipantStepStateTransition, Free, Added, SinglePayment, PaidPlan, FreeCoupon, Member, EntitySummary, MediaItem, MediaItemMediaOneOf, TimeInterval, StepsSummary, StateTransition, DateInterval, JoinPath, JoinPathPathOneOf, Certificate, QueryParticipantsRequest, ParticipantJoinDate, ParticipantPerformance, Paging, QueryParticipantsRequestSorting, ParticipantsFilter, QueryParticipantsResponse, ListParticipantsRequest, Sorting, ListParticipantsResponse, JoinParticipantRequest, JoinParticipantResponse, ParticipantJoined, AddParticipantRequest, AddParticipantResponse, AddAllParticipantRequest, AddAllParticipantResponse, CreateJoinRequestRequest, CreateJoinRequestResponse, InviteParticipantsRequest, InviteParticipantsResponse, InvitationDetails, InviteAllParticipantsRequest, InviteAllParticipantsResponse, GetParticipantRequest, GetParticipantResponse, UpdateParticipantRequest, UpdateParticipantRequestUpdateOneOf, UpdateParticipantResponse, DeleteParticipantRequest, DeleteParticipantResponse, ReviveParticipantRequest, ReviveParticipantResponse, ResetParticipantProgressRequest, ResetParticipantProgressResponse, IssueParticipantCertificateRequest, IssueParticipantCertificateResponse, IssueCertificateRequest, IssueCertificateResponse, GetCertificateRequest, GetCertificateResponse, CreatePaymentOrderRequest, CreatePaymentOrderResponse, ApplyCouponToOrderRequest, ApplyCouponToOrderResponse, RemoveCouponFromOrderRequest, RemoveCouponFromOrderResponse, ListParticipantStepsRequest, ListParticipantStepsResponse, ParticipantStep, FeedbackItem, FeedbackItemValueOneOf, MediaItems, FeedbackItemChoice, Quantity, Choices, ChallengeStep, GeneralSettings, GeneralSettingsStepTypeOneOf, ObjectDescription, IndividualSettings, FeedbackItemSettings, NumericFeedbackItem, TextFeedbackItem, MediaFeedbackItem, MultipleChoiceFeedbackItem, Choice, QuantityFeedbackItem, FeedbackItemType, FeedbackItemTypeTypeOneOf, GroupSettings, CompletionCriteria, QuantityCriterion, QuantityCriterionCriterionOneOf, All, MinThreshold, QuizSettings, QuizMigrationDetails, TimeDuration, RecurrenceSettings, RecurrenceSchedule, EmbeddingSettings, StartCondition, StepDependency, StepDependencyDependencyTypeOneOf, Container, Step, ChallengeStepSettings, Feedback, QuizSubmission, GetParticipantStepRequest, GetParticipantStepResponse, ResolveParticipantStepRequest, ResolveParticipantStepResponse, StepResolved, UpdateStepFeedbackRequest, UpdateStepFeedbackResponse, GetMediaUploadInfoRequest, GetMediaUploadInfoResponse, ListParticipantSectionsRequest, ListParticipantSectionsResponse, ParticipantSection, WaitingDate, WaitingDependency, Running, Completed, Overdue, ChallengeSection, Settings, ParticipantSectionStateTransition, ParticipantSectionStateTransitionStateOneOf, Progress, GetParticipantSectionRequest, GetParticipantSectionResponse, MyProgramRequest, MyProgramResponse, MyProgramStepRequest, MyProgramStepResponse, MyProgramSectionRequest, MyProgramSectionResponse, AddParticipantOptions, } from './challenges-v1-participant.universal';
10
+ export { Participant, StepEvent, ParticipantStepStateTransition, Free, Added, SinglePayment, PaidPlan, FreeCoupon, Member, EntitySummary, MediaItem, MediaItemMediaOneOf, TimeInterval, StepsSummary, StateTransition, DateInterval, JoinPath, JoinPathPathOneOf, Certificate, QueryParticipantsRequest, ParticipantJoinDate, ParticipantPerformance, Paging, QueryParticipantsRequestSorting, ParticipantsFilter, QueryParticipantsResponse, ListParticipantsRequest, Sorting, ListParticipantsResponse, JoinParticipantRequest, JoinParticipantResponse, ParticipantJoined, AddParticipantRequest, AddParticipantResponse, AddParticipantsRequest, AddParticipantsResponse, AddAllParticipantRequest, AddAllParticipantResponse, CreateJoinRequestRequest, CreateJoinRequestResponse, InviteParticipantsRequest, InviteParticipantsResponse, InvitationDetails, InviteAllParticipantsRequest, InviteAllParticipantsResponse, GetParticipantRequest, GetParticipantResponse, UpdateParticipantRequest, UpdateParticipantRequestUpdateOneOf, UpdateParticipantResponse, DeleteParticipantRequest, DeleteParticipantResponse, ReviveParticipantRequest, ReviveParticipantResponse, ResetParticipantProgressRequest, ResetParticipantProgressResponse, IssueParticipantCertificateRequest, IssueParticipantCertificateResponse, IssueCertificateRequest, IssueCertificateResponse, GetCertificateRequest, GetCertificateResponse, CreatePaymentOrderRequest, CreatePaymentOrderResponse, ApplyCouponToOrderRequest, ApplyCouponToOrderResponse, RemoveCouponFromOrderRequest, RemoveCouponFromOrderResponse, ListParticipantStepsRequest, ListParticipantStepsResponse, ParticipantStep, FeedbackItem, FeedbackItemValueOneOf, MediaItems, FeedbackItemChoice, Quantity, Choices, ChallengeStep, GeneralSettings, GeneralSettingsStepTypeOneOf, ObjectDescription, IndividualSettings, FeedbackItemSettings, NumericFeedbackItem, TextFeedbackItem, MediaFeedbackItem, MultipleChoiceFeedbackItem, Choice, QuantityFeedbackItem, FeedbackItemType, FeedbackItemTypeTypeOneOf, GroupSettings, CompletionCriteria, QuantityCriterion, QuantityCriterionCriterionOneOf, All, MinThreshold, QuizSettings, QuizMigrationDetails, TimeDuration, RecurrenceSettings, RecurrenceSchedule, EmbeddingSettings, StartCondition, StepDependency, StepDependencyDependencyTypeOneOf, Container, Step, ChallengeStepSettings, Feedback, QuizSubmission, GetParticipantStepRequest, GetParticipantStepResponse, ResolveParticipantStepRequest, ResolveParticipantStepResponse, StepResolved, UpdateStepFeedbackRequest, UpdateStepFeedbackResponse, GetMediaUploadInfoRequest, GetMediaUploadInfoResponse, ListParticipantSectionsRequest, ListParticipantSectionsResponse, ParticipantSection, WaitingDate, WaitingDependency, Running, Completed, Overdue, ChallengeSection, Settings, ParticipantSectionStateTransition, ParticipantSectionStateTransitionStateOneOf, Progress, GetParticipantSectionRequest, GetParticipantSectionResponse, MyProgramRequest, MyProgramResponse, MyProgramStepRequest, MyProgramStepResponse, MyProgramSectionRequest, MyProgramSectionResponse, AddParticipantResponseNonNullableFields, AddParticipantsResponseNonNullableFields, AddParticipantOptions, AddParticipantsOptions, AddAllParticipantOptions, } from './challenges-v1-participant.universal';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResolutionStatus = exports.DurationUnit = exports.QuizType = exports.ChoiceRightness = exports.PaymentType = exports.SortingOrder = exports.SortingCriterion = exports.QueryParticipantsRequestSortingOrder = exports.QueryParticipantsRequestSortingCriterion = exports.QueryParticipantsRequestJoinPath = exports.ParticipationState = exports.State = exports.ParticipantStepState = exports.addAllParticipant = exports.addParticipant = exports.__metadata = void 0;
3
+ exports.ResolutionStatus = exports.DurationUnit = exports.QuizType = exports.ChoiceRightness = exports.PaymentType = exports.SortingOrder = exports.SortingCriterion = exports.QueryParticipantsRequestSortingOrder = exports.QueryParticipantsRequestSortingCriterion = exports.QueryParticipantsRequestJoinPath = exports.ParticipationState = exports.State = exports.ParticipantStepState = exports.addAllParticipant = exports.addParticipants = exports.addParticipant = exports.__metadata = void 0;
4
4
  const challenges_v1_participant_universal_1 = require("./challenges-v1-participant.universal");
5
5
  exports.__metadata = { PACKAGE_NAME: '@wix/online-programs' };
6
6
  function addParticipant(httpClient) {
@@ -9,8 +9,14 @@ function addParticipant(httpClient) {
9
9
  { httpClient });
10
10
  }
11
11
  exports.addParticipant = addParticipant;
12
+ function addParticipants(httpClient) {
13
+ return (challengeId, options) => (0, challenges_v1_participant_universal_1.addParticipants)(challengeId, options,
14
+ // @ts-ignore
15
+ { httpClient });
16
+ }
17
+ exports.addParticipants = addParticipants;
12
18
  function addAllParticipant(httpClient) {
13
- return (challengeId) => (0, challenges_v1_participant_universal_1.addAllParticipant)(challengeId,
19
+ return (challengeId, options) => (0, challenges_v1_participant_universal_1.addAllParticipant)(challengeId, options,
14
20
  // @ts-ignore
15
21
  { httpClient });
16
22
  }
@@ -1 +1 @@
1
- {"version":3,"file":"challenges-v1-participant.public.js","sourceRoot":"","sources":["../../../src/challenges-v1-participant.public.ts"],"names":[],"mappings":";;;AACA,+FAI+C;AAElC,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,sBAAsB,EAAE,CAAC;AAEnE,SAAgB,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,WAAmB,EAAE,OAA+B,EAAE,EAAE,CAC9D,IAAA,oDAAuB,EACrB,WAAW,EACX,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wCAQC;AAED,SAAgB,iBAAiB,CAAC,UAAsB;IACtD,OAAO,CAAC,WAAmB,EAAE,EAAE,CAC7B,IAAA,uDAA0B,EACxB,WAAW;IACX,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,8CAOC;AAED,6FAc+C;AAb7C,2IAAA,oBAAoB,OAAA;AACpB,4HAAA,KAAK,OAAA;AACL,yIAAA,kBAAkB,OAAA;AAClB,uJAAA,gCAAgC,OAAA;AAChC,+JAAA,wCAAwC,OAAA;AACxC,2JAAA,oCAAoC,OAAA;AACpC,uIAAA,gBAAgB,OAAA;AAChB,mIAAA,YAAY,OAAA;AACZ,kIAAA,WAAW,OAAA;AACX,sIAAA,eAAe,OAAA;AACf,+HAAA,QAAQ,OAAA;AACR,mIAAA,YAAY,OAAA;AACZ,uIAAA,gBAAgB,OAAA"}
1
+ {"version":3,"file":"challenges-v1-participant.public.js","sourceRoot":"","sources":["../../../src/challenges-v1-participant.public.ts"],"names":[],"mappings":";;;AACA,+FAO+C;AAElC,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,sBAAsB,EAAE,CAAC;AAEnE,SAAgB,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,WAAmB,EAAE,OAA+B,EAAE,EAAE,CAC9D,IAAA,oDAAuB,EACrB,WAAW,EACX,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wCAQC;AAED,SAAgB,eAAe,CAAC,UAAsB;IACpD,OAAO,CAAC,WAAmB,EAAE,OAAgC,EAAE,EAAE,CAC/D,IAAA,qDAAwB,EACtB,WAAW,EACX,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,0CAQC;AAED,SAAgB,iBAAiB,CAAC,UAAsB;IACtD,OAAO,CAAC,WAAmB,EAAE,OAAkC,EAAE,EAAE,CACjE,IAAA,uDAA0B,EACxB,WAAW,EACX,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,8CAQC;AAED,6FAc+C;AAb7C,2IAAA,oBAAoB,OAAA;AACpB,4HAAA,KAAK,OAAA;AACL,yIAAA,kBAAkB,OAAA;AAClB,uJAAA,gCAAgC,OAAA;AAChC,+JAAA,wCAAwC,OAAA;AACxC,2JAAA,oCAAoC,OAAA;AACpC,uIAAA,gBAAgB,OAAA;AAChB,mIAAA,YAAY,OAAA;AACZ,kIAAA,WAAW,OAAA;AACX,sIAAA,eAAe,OAAA;AACf,+HAAA,QAAQ,OAAA;AACR,mIAAA,YAAY,OAAA;AACZ,uIAAA,gBAAgB,OAAA"}
@@ -303,8 +303,19 @@ export interface AddParticipantResponse {
303
303
  participant?: Participant;
304
304
  actionId?: string;
305
305
  }
306
+ /** Add participants */
307
+ export interface AddParticipantsRequest {
308
+ challengeId: string;
309
+ memberIds?: string[];
310
+ actionId?: string;
311
+ }
312
+ export interface AddParticipantsResponse {
313
+ participants?: Participant[];
314
+ actionId?: string;
315
+ }
306
316
  export interface AddAllParticipantRequest {
307
317
  challengeId: string;
318
+ excludeIds?: string[];
308
319
  }
309
320
  export interface AddAllParticipantResponse {
310
321
  }
@@ -336,6 +347,7 @@ export interface InvitationDetails {
336
347
  }
337
348
  export interface InviteAllParticipantsRequest {
338
349
  challengeId?: string;
350
+ excludeIds?: string[];
339
351
  }
340
352
  export interface InviteAllParticipantsResponse {
341
353
  }
@@ -852,3 +864,141 @@ export interface MyProgramSectionRequest {
852
864
  export interface MyProgramSectionResponse {
853
865
  participantSection?: ParticipantSection;
854
866
  }
867
+ export interface AddParticipantResponseNonNullableFields {
868
+ participant?: {
869
+ id: string;
870
+ member?: {
871
+ id: string;
872
+ fullName: string;
873
+ };
874
+ challenge?: {
875
+ id: string;
876
+ media?: {
877
+ image?: {
878
+ id: string;
879
+ url: string;
880
+ height: number;
881
+ width: number;
882
+ };
883
+ video?: {
884
+ id: string;
885
+ url: string;
886
+ height: number;
887
+ width: number;
888
+ thumbnail?: {
889
+ id: string;
890
+ url: string;
891
+ height: number;
892
+ width: number;
893
+ };
894
+ };
895
+ document?: {
896
+ id: string;
897
+ url: string;
898
+ };
899
+ };
900
+ };
901
+ stepsSummary?: {
902
+ stepsNumber: number;
903
+ completedStepsNumber: number;
904
+ failedStepsNumber: number;
905
+ postedFeedbacksNumber: number;
906
+ lastEvent?: {
907
+ stepId: string;
908
+ transition?: {
909
+ state: ParticipantStepState;
910
+ };
911
+ };
912
+ };
913
+ orderIds: string[];
914
+ transitions: {
915
+ state: State;
916
+ }[];
917
+ timezone: string;
918
+ dateFrame?: {
919
+ start: string;
920
+ };
921
+ performance: number;
922
+ joinPath?: {
923
+ singlePayment?: {
924
+ orderId: string;
925
+ };
926
+ paidPlan?: {
927
+ planIds: string[];
928
+ };
929
+ freeCoupon?: {
930
+ couponId: string;
931
+ };
932
+ };
933
+ };
934
+ actionId: string;
935
+ }
936
+ export interface AddParticipantsResponseNonNullableFields {
937
+ participants: {
938
+ id: string;
939
+ member?: {
940
+ id: string;
941
+ fullName: string;
942
+ };
943
+ challenge?: {
944
+ id: string;
945
+ media?: {
946
+ image?: {
947
+ id: string;
948
+ url: string;
949
+ height: number;
950
+ width: number;
951
+ };
952
+ video?: {
953
+ id: string;
954
+ url: string;
955
+ height: number;
956
+ width: number;
957
+ thumbnail?: {
958
+ id: string;
959
+ url: string;
960
+ height: number;
961
+ width: number;
962
+ };
963
+ };
964
+ document?: {
965
+ id: string;
966
+ url: string;
967
+ };
968
+ };
969
+ };
970
+ stepsSummary?: {
971
+ stepsNumber: number;
972
+ completedStepsNumber: number;
973
+ failedStepsNumber: number;
974
+ postedFeedbacksNumber: number;
975
+ lastEvent?: {
976
+ stepId: string;
977
+ transition?: {
978
+ state: ParticipantStepState;
979
+ };
980
+ };
981
+ };
982
+ orderIds: string[];
983
+ transitions: {
984
+ state: State;
985
+ }[];
986
+ timezone: string;
987
+ dateFrame?: {
988
+ start: string;
989
+ };
990
+ performance: number;
991
+ joinPath?: {
992
+ singlePayment?: {
993
+ orderId: string;
994
+ };
995
+ paidPlan?: {
996
+ planIds: string[];
997
+ };
998
+ freeCoupon?: {
999
+ couponId: string;
1000
+ };
1001
+ };
1002
+ }[];
1003
+ actionId: string;
1004
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"challenges-v1-participant.types.js","sourceRoot":"","sources":["../../../src/challenges-v1-participant.types.ts"],"names":[],"mappings":";;;AA2BA,IAAY,oBASX;AATD,WAAY,oBAAoB;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wBAAgB,QAK3B"}
1
+ {"version":3,"file":"challenges-v1-participant.types.js","sourceRoot":"","sources":["../../../src/challenges-v1-participant.types.ts"],"names":[],"mappings":";;;AA2BA,IAAY,oBASX;AATD,WAAY,oBAAoB;IAC9B,2CAAmB,CAAA;IACnB,2CAAmB,CAAA;IACnB,+CAAuB,CAAA;IACvB,2CAAmB,CAAA;IACnB,+CAAuB,CAAA;IACvB,6CAAqB,CAAA;IACrB,2CAAmB,CAAA;IACnB,yCAAiB,CAAA;AACnB,CAAC,EATW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAS/B;AAED,IAAY,KAcX;AAdD,WAAY,KAAK;IACf,0CAAiC,CAAA;IACjC,4BAAmB,CAAA;IACnB,wCAA+B,CAAA;IAC/B,gDAAuC,CAAA;IACvC,4CAAmC,CAAA;IACnC,0BAAiB,CAAA;IACjB,sBAAa,CAAA;IACb,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,gCAAuB,CAAA;IACvB,0BAAiB,CAAA;IACjB,4DAAmD,CAAA;IACnD,gCAAuB,CAAA;AACzB,CAAC,EAdW,KAAK,GAAL,aAAK,KAAL,aAAK,QAchB;AAsKD,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,+CAAyB,CAAA;IACzB,+CAAyB,CAAA;IACzB,2CAAqB,CAAA;IACrB,6CAAuB,CAAA;AACzB,CAAC,EALW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAK7B;AAOD,IAAY,gCAMX;AAND,WAAY,gCAAgC;IAC1C,2EAAuC,CAAA;IACvC,iDAAa,CAAA;IACb,mDAAe,CAAA;IACf,qEAAiC,CAAA;IACjC,2DAAuB,CAAA;AACzB,CAAC,EANW,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAM3C;AAED,IAAY,wCAMX;AAND,WAAY,wCAAwC;IAClD,+DAAmB,CAAA;IACnB,mEAAuB,CAAA;IACvB,yDAAa,CAAA;IACb,qEAAyB,CAAA;IAC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,WAAY,gBAAgB;IAC1B,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;IACnB,iCAAa,CAAA;IACb,+CAA2B,CAAA;AAC7B,CAAC,EALW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAK3B"}
@@ -259,8 +259,19 @@ export interface AddParticipantResponse {
259
259
  participant?: Participant;
260
260
  actionId?: string;
261
261
  }
262
+ /** Add participants */
263
+ export interface AddParticipantsRequest {
264
+ challengeId: string;
265
+ memberIds?: string[];
266
+ actionId?: string;
267
+ }
268
+ export interface AddParticipantsResponse {
269
+ participants?: Participant[];
270
+ actionId?: string;
271
+ }
262
272
  export interface AddAllParticipantRequest {
263
273
  challengeId: string;
274
+ excludeIds?: string[];
264
275
  }
265
276
  export interface AddAllParticipantResponse {
266
277
  }
@@ -292,6 +303,7 @@ export interface InvitationDetails {
292
303
  }
293
304
  export interface InviteAllParticipantsRequest {
294
305
  challengeId?: string;
306
+ excludeIds?: string[];
295
307
  }
296
308
  export interface InviteAllParticipantsResponse {
297
309
  }
@@ -808,19 +820,133 @@ export interface MyProgramSectionRequest {
808
820
  export interface MyProgramSectionResponse {
809
821
  participantSection?: ParticipantSection;
810
822
  }
823
+ export interface AddParticipantResponseNonNullableFields {
824
+ participant?: {
825
+ _id: string;
826
+ member?: {
827
+ _id: string;
828
+ fullName: string;
829
+ };
830
+ challenge?: {
831
+ _id: string;
832
+ media?: {
833
+ image: string;
834
+ video: string;
835
+ document: string;
836
+ };
837
+ };
838
+ stepsSummary?: {
839
+ stepsNumber: number;
840
+ completedStepsNumber: number;
841
+ failedStepsNumber: number;
842
+ postedFeedbacksNumber: number;
843
+ lastEvent?: {
844
+ stepId: string;
845
+ transition?: {
846
+ state: ParticipantStepState;
847
+ };
848
+ };
849
+ };
850
+ orderIds: string[];
851
+ transitions: {
852
+ state: State;
853
+ }[];
854
+ timezone: string;
855
+ dateFrame?: {
856
+ start: string;
857
+ };
858
+ performance: number;
859
+ joinPath?: {
860
+ singlePayment?: {
861
+ orderId: string;
862
+ };
863
+ paidPlan?: {
864
+ planIds: string[];
865
+ };
866
+ freeCoupon?: {
867
+ couponId: string;
868
+ };
869
+ };
870
+ };
871
+ actionId: string;
872
+ }
873
+ export interface AddParticipantsResponseNonNullableFields {
874
+ participants: {
875
+ _id: string;
876
+ member?: {
877
+ _id: string;
878
+ fullName: string;
879
+ };
880
+ challenge?: {
881
+ _id: string;
882
+ media?: {
883
+ image: string;
884
+ video: string;
885
+ document: string;
886
+ };
887
+ };
888
+ stepsSummary?: {
889
+ stepsNumber: number;
890
+ completedStepsNumber: number;
891
+ failedStepsNumber: number;
892
+ postedFeedbacksNumber: number;
893
+ lastEvent?: {
894
+ stepId: string;
895
+ transition?: {
896
+ state: ParticipantStepState;
897
+ };
898
+ };
899
+ };
900
+ orderIds: string[];
901
+ transitions: {
902
+ state: State;
903
+ }[];
904
+ timezone: string;
905
+ dateFrame?: {
906
+ start: string;
907
+ };
908
+ performance: number;
909
+ joinPath?: {
910
+ singlePayment?: {
911
+ orderId: string;
912
+ };
913
+ paidPlan?: {
914
+ planIds: string[];
915
+ };
916
+ freeCoupon?: {
917
+ couponId: string;
918
+ };
919
+ };
920
+ }[];
921
+ actionId: string;
922
+ }
811
923
  /**
812
924
  * owner adds participant to the challenge
813
925
  * @public
814
926
  * @documentationMaturity preview
815
927
  * @requiredField challengeId
816
928
  */
817
- export declare function addParticipant(challengeId: string, options?: AddParticipantOptions): Promise<AddParticipantResponse>;
929
+ export declare function addParticipant(challengeId: string, options?: AddParticipantOptions): Promise<AddParticipantResponse & AddParticipantResponseNonNullableFields>;
818
930
  export interface AddParticipantOptions {
819
931
  memberId?: string;
820
932
  actionId?: string;
821
933
  }
934
+ /**
935
+ * owner adds participants to the challenge
936
+ * @public
937
+ * @documentationMaturity preview
938
+ * @requiredField challengeId
939
+ */
940
+ export declare function addParticipants(challengeId: string, options?: AddParticipantsOptions): Promise<AddParticipantsResponse & AddParticipantsResponseNonNullableFields>;
941
+ export interface AddParticipantsOptions {
942
+ memberIds?: string[];
943
+ actionId?: string;
944
+ }
822
945
  /** @public
823
946
  * @documentationMaturity preview
824
947
  * @requiredField challengeId
825
948
  */
826
- export declare function addAllParticipant(challengeId: string): Promise<void>;
949
+ export declare function addAllParticipant(challengeId: string, options?: AddAllParticipantOptions): Promise<void>;
950
+ export interface AddAllParticipantOptions {
951
+ excludeIds?: string[];
952
+ }