@wix/online-programs 1.0.0
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.
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +14 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/src/challenges-v1-participant.http.d.ts +3 -0
- package/build/cjs/src/challenges-v1-participant.http.js +174 -0
- package/build/cjs/src/challenges-v1-participant.http.js.map +1 -0
- package/build/cjs/src/challenges-v1-participant.public.d.ts +5 -0
- package/build/cjs/src/challenges-v1-participant.public.js +24 -0
- package/build/cjs/src/challenges-v1-participant.public.js.map +1 -0
- package/build/cjs/src/challenges-v1-participant.types.d.ts +750 -0
- package/build/cjs/src/challenges-v1-participant.types.js +99 -0
- package/build/cjs/src/challenges-v1-participant.types.js.map +1 -0
- package/build/cjs/src/challenges-v1-participant.universal.d.ts +714 -0
- package/build/cjs/src/challenges-v1-participant.universal.js +201 -0
- package/build/cjs/src/challenges-v1-participant.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/src/challenges-v1-participant.http.d.ts +3 -0
- package/build/es/src/challenges-v1-participant.http.js +170 -0
- package/build/es/src/challenges-v1-participant.http.js.map +1 -0
- package/build/es/src/challenges-v1-participant.public.d.ts +5 -0
- package/build/es/src/challenges-v1-participant.public.js +8 -0
- package/build/es/src/challenges-v1-participant.public.js.map +1 -0
- package/build/es/src/challenges-v1-participant.types.d.ts +750 -0
- package/build/es/src/challenges-v1-participant.types.js +96 -0
- package/build/es/src/challenges-v1-participant.types.js.map +1 -0
- package/build/es/src/challenges-v1-participant.universal.d.ts +714 -0
- package/build/es/src/challenges-v1-participant.universal.js +178 -0
- package/build/es/src/challenges-v1-participant.universal.js.map +1 -0
- package/package.json +37 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/challenges-v1-participant.public';
|
|
@@ -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.public"), exports);
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yEAAuD"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
+
import { AddParticipantRequest, AddParticipantResponse } from './challenges-v1-participant.types';
|
|
3
|
+
export declare function addParticipant(payload: AddParticipantRequest): RequestOptionsFactory<AddParticipantResponse>;
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.addParticipant = void 0;
|
|
4
|
+
const ambassador_1 = require("@wix/metro-runtime/ambassador");
|
|
5
|
+
const metro_runtime_1 = require("@wix/metro-runtime");
|
|
6
|
+
const _addParticipantRequest = {};
|
|
7
|
+
const _addParticipantResponse = { participant: '_participant' };
|
|
8
|
+
const _document = { urlExpirationDate: 'google.protobuf.Timestamp' };
|
|
9
|
+
const _entitySummary = { media: '_mediaItem' };
|
|
10
|
+
const _image = { urlExpirationDate: 'google.protobuf.Timestamp' };
|
|
11
|
+
const _mediaItem = { image: '_image', video: '_video', document: '_document' };
|
|
12
|
+
const _participant = {
|
|
13
|
+
performance: 'DOUBLE',
|
|
14
|
+
challenge: '_entitySummary',
|
|
15
|
+
timeFrame: '_timeInterval',
|
|
16
|
+
stepsSummary: '_stepsSummary',
|
|
17
|
+
transitions: '_stateTransition',
|
|
18
|
+
};
|
|
19
|
+
const _participantStepStateTransition = {
|
|
20
|
+
occurredAt: 'google.protobuf.Timestamp',
|
|
21
|
+
};
|
|
22
|
+
const _stateTransition = { occurredAt: 'google.protobuf.Timestamp' };
|
|
23
|
+
const _stepEvent = { transition: '_participantStepStateTransition' };
|
|
24
|
+
const _stepsSummary = { lastEvent: '_stepEvent' };
|
|
25
|
+
const _timeInterval = {
|
|
26
|
+
start: 'google.protobuf.Timestamp',
|
|
27
|
+
finish: 'google.protobuf.Timestamp',
|
|
28
|
+
};
|
|
29
|
+
const _video = { thumbnail: '_image' };
|
|
30
|
+
function resolveComWixpressAchievementsApiV1ParticipantsServiceUrl(opts) {
|
|
31
|
+
const domainToMappings = {
|
|
32
|
+
'api._api_base_domain_': [
|
|
33
|
+
{
|
|
34
|
+
srcPath: '/challenge-service-web',
|
|
35
|
+
destPath: '',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
srcPath: '/_api/challenge-service-web/api/v2',
|
|
39
|
+
destPath: '/v2',
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
'www._base_domain_': [
|
|
43
|
+
{
|
|
44
|
+
srcPath: '/_api/challenge-service-web',
|
|
45
|
+
destPath: '',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
srcPath: '/challenges/api/v1',
|
|
49
|
+
destPath: '/api/v1',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
srcPath: '/_api/challenge-service-web/api/v2',
|
|
53
|
+
destPath: '/v2',
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
_: [
|
|
57
|
+
{
|
|
58
|
+
srcPath: '/_api/challenge-service-web',
|
|
59
|
+
destPath: '',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
srcPath: '/challenges/api/v1',
|
|
63
|
+
destPath: '/api/v1',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
srcPath: '/_api/challenge-service-web/api/v2',
|
|
67
|
+
destPath: '/v2',
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
'challenges.wixapps.net': [
|
|
71
|
+
{
|
|
72
|
+
srcPath: '/challenge-service-web/api',
|
|
73
|
+
destPath: '',
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
srcPath: '/challenge-service-web/api/v1',
|
|
77
|
+
destPath: '/api/v1',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
srcPath: '/api/v1',
|
|
81
|
+
destPath: '/api/v1',
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
'manage._base_domain_': [
|
|
85
|
+
{
|
|
86
|
+
srcPath: '/_api/challenge-service-web',
|
|
87
|
+
destPath: '',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
srcPath: '/_api/challenge-service-web/api/v2',
|
|
91
|
+
destPath: '/v2',
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
'editor-flow.wixapps.net': [
|
|
95
|
+
{
|
|
96
|
+
srcPath: '/_api/challenge-service-web',
|
|
97
|
+
destPath: '',
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
'editor.wixapps.net': [
|
|
101
|
+
{
|
|
102
|
+
srcPath: '/_api/challenge-service-web',
|
|
103
|
+
destPath: '',
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
'*.dev.wix-code.com': [
|
|
107
|
+
{
|
|
108
|
+
srcPath: '/_api/challenge-service-web',
|
|
109
|
+
destPath: '',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
srcPath: '/challenge-service-web/api/v1',
|
|
113
|
+
destPath: '/api/v1',
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
srcPath: '/_api/challenge-service-web/api/v2',
|
|
117
|
+
destPath: '/v2',
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
'editor._base_domain_': [
|
|
121
|
+
{
|
|
122
|
+
srcPath: '/_api/challenge-service-web',
|
|
123
|
+
destPath: '',
|
|
124
|
+
},
|
|
125
|
+
],
|
|
126
|
+
'blocks._base_domain_': [
|
|
127
|
+
{
|
|
128
|
+
srcPath: '/_api/challenge-service-web',
|
|
129
|
+
destPath: '',
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
'create.editorx': [
|
|
133
|
+
{
|
|
134
|
+
srcPath: '/_api/challenge-service-web',
|
|
135
|
+
destPath: '',
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
};
|
|
139
|
+
return metro_runtime_1.resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
140
|
+
}
|
|
141
|
+
function addParticipant(payload) {
|
|
142
|
+
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_addParticipantRequest, {});
|
|
143
|
+
const { fromJSON: fromRes } = ambassador_1.serializer(_addParticipantResponse, {
|
|
144
|
+
_document,
|
|
145
|
+
_entitySummary,
|
|
146
|
+
_image,
|
|
147
|
+
_mediaItem,
|
|
148
|
+
_participant,
|
|
149
|
+
_participantStepStateTransition,
|
|
150
|
+
_stateTransition,
|
|
151
|
+
_stepEvent,
|
|
152
|
+
_stepsSummary,
|
|
153
|
+
_timeInterval,
|
|
154
|
+
_video,
|
|
155
|
+
});
|
|
156
|
+
function __addParticipant({ host }) {
|
|
157
|
+
const serializedData = toReq(payload);
|
|
158
|
+
const metadata = {
|
|
159
|
+
method: 'POST',
|
|
160
|
+
url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
|
|
161
|
+
protoPath: '/api/v1/challenges/{challengeId}/participants/add',
|
|
162
|
+
data: serializedData,
|
|
163
|
+
host,
|
|
164
|
+
}),
|
|
165
|
+
data: serializedData,
|
|
166
|
+
transformResponse: fromRes,
|
|
167
|
+
};
|
|
168
|
+
return metadata;
|
|
169
|
+
}
|
|
170
|
+
__addParticipant.fromReq = fromReq;
|
|
171
|
+
return __addParticipant;
|
|
172
|
+
}
|
|
173
|
+
exports.addParticipant = addParticipant;
|
|
174
|
+
//# sourceMappingURL=challenges-v1-participant.http.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"challenges-v1-participant.http.js","sourceRoot":"","sources":["../../../src/challenges-v1-participant.http.ts"],"names":[],"mappings":";;;AAAA,8DAA2D;AAC3D,sDAAgD;AAQhD,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAClC,MAAM,uBAAuB,GAAG,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;AAChE,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,YAAY,EAAE,eAAe;IAC7B,WAAW,EAAE,kBAAkB;CAChC,CAAC;AACF,MAAM,+BAA+B,GAAG;IACtC,UAAU,EAAE,2BAA2B;CACxC,CAAC;AACF,MAAM,gBAAgB,GAAG,EAAE,UAAU,EAAE,2BAA2B,EAAE,CAAC;AACrE,MAAM,UAAU,GAAG,EAAE,UAAU,EAAE,iCAAiC,EAAE,CAAC;AACrE,MAAM,aAAa,GAAG,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;AAClD,MAAM,aAAa,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yDAAyD,CAAC;gBAC7D,SAAS,EAAE,mDAAmD;gBAC9D,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,gBAAgB,CAAC,OAAO,GAAG,OAAO,CAAC;IAEnC,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAxCD,wCAwCC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { HttpClient } from '@wix/sdk-types';
|
|
2
|
+
import { AddParticipantOptions } from './challenges-v1-participant.universal';
|
|
3
|
+
export declare function addParticipant(httpClient: HttpClient): (challengeId: string, options?: AddParticipantOptions | undefined) => Promise<import("./challenges-v1-participant.universal").AddParticipantResponse>;
|
|
4
|
+
export { ParticipantStepState, State, ParticipationState, QueryParticipantsRequestJoinPath, QueryParticipantsRequestSortingCriterion, QueryParticipantsRequestSortingOrder, SortingCriterion, SortingOrder, PaymentType, ChoiceRightness, DurationUnit, ResolutionStatus, } from './challenges-v1-participant.universal';
|
|
5
|
+
export { Participant, StepEvent, ParticipantStepStateTransition, Free, Added, SinglePayment, PaidPlan, Member, EntitySummary, MediaItem, MediaItemMediaOneOf, TimeInterval, StepsSummary, StateTransition, DateInterval, JoinPath, JoinPathPathOneOf, QueryParticipantsRequest, ParticipantJoinDate, ParticipantPerformance, Paging, QueryParticipantsRequestSorting, ParticipantsFilter, QueryParticipantsResponse, ListParticipantsRequest, Sorting, ListParticipantsResponse, JoinParticipantRequest, JoinParticipantResponse, ParticipantJoined, AddParticipantRequest, AddParticipantResponse, CreateJoinRequestRequest, CreateJoinRequestResponse, InviteParticipantsRequest, InviteParticipantsResponse, InvitationDetails, GetParticipantRequest, GetParticipantResponse, UpdateParticipantRequest, UpdateParticipantRequestUpdateOneOf, UpdateParticipantResponse, DeleteParticipantRequest, DeleteParticipantResponse, ReviveParticipantRequest, ReviveParticipantResponse, ResetParticipantProgressRequest, ResetParticipantProgressResponse, CreatePaymentOrderRequest, CreatePaymentOrderResponse, 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, 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';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResolutionStatus = exports.DurationUnit = exports.ChoiceRightness = exports.PaymentType = exports.SortingOrder = exports.SortingCriterion = exports.QueryParticipantsRequestSortingOrder = exports.QueryParticipantsRequestSortingCriterion = exports.QueryParticipantsRequestJoinPath = exports.ParticipationState = exports.State = exports.ParticipantStepState = exports.addParticipant = void 0;
|
|
4
|
+
const challenges_v1_participant_universal_1 = require("./challenges-v1-participant.universal");
|
|
5
|
+
function addParticipant(httpClient) {
|
|
6
|
+
return (challengeId, options) => challenges_v1_participant_universal_1.addParticipant(challengeId, options,
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
{ httpClient });
|
|
9
|
+
}
|
|
10
|
+
exports.addParticipant = addParticipant;
|
|
11
|
+
var challenges_v1_participant_universal_2 = require("./challenges-v1-participant.universal");
|
|
12
|
+
Object.defineProperty(exports, "ParticipantStepState", { enumerable: true, get: function () { return challenges_v1_participant_universal_2.ParticipantStepState; } });
|
|
13
|
+
Object.defineProperty(exports, "State", { enumerable: true, get: function () { return challenges_v1_participant_universal_2.State; } });
|
|
14
|
+
Object.defineProperty(exports, "ParticipationState", { enumerable: true, get: function () { return challenges_v1_participant_universal_2.ParticipationState; } });
|
|
15
|
+
Object.defineProperty(exports, "QueryParticipantsRequestJoinPath", { enumerable: true, get: function () { return challenges_v1_participant_universal_2.QueryParticipantsRequestJoinPath; } });
|
|
16
|
+
Object.defineProperty(exports, "QueryParticipantsRequestSortingCriterion", { enumerable: true, get: function () { return challenges_v1_participant_universal_2.QueryParticipantsRequestSortingCriterion; } });
|
|
17
|
+
Object.defineProperty(exports, "QueryParticipantsRequestSortingOrder", { enumerable: true, get: function () { return challenges_v1_participant_universal_2.QueryParticipantsRequestSortingOrder; } });
|
|
18
|
+
Object.defineProperty(exports, "SortingCriterion", { enumerable: true, get: function () { return challenges_v1_participant_universal_2.SortingCriterion; } });
|
|
19
|
+
Object.defineProperty(exports, "SortingOrder", { enumerable: true, get: function () { return challenges_v1_participant_universal_2.SortingOrder; } });
|
|
20
|
+
Object.defineProperty(exports, "PaymentType", { enumerable: true, get: function () { return challenges_v1_participant_universal_2.PaymentType; } });
|
|
21
|
+
Object.defineProperty(exports, "ChoiceRightness", { enumerable: true, get: function () { return challenges_v1_participant_universal_2.ChoiceRightness; } });
|
|
22
|
+
Object.defineProperty(exports, "DurationUnit", { enumerable: true, get: function () { return challenges_v1_participant_universal_2.DurationUnit; } });
|
|
23
|
+
Object.defineProperty(exports, "ResolutionStatus", { enumerable: true, get: function () { return challenges_v1_participant_universal_2.ResolutionStatus; } });
|
|
24
|
+
//# sourceMappingURL=challenges-v1-participant.public.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"challenges-v1-participant.public.js","sourceRoot":"","sources":["../../../src/challenges-v1-participant.public.ts"],"names":[],"mappings":";;;AACA,+FAG+C;AAE/C,SAAgB,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,WAAmB,EAAE,OAA+B,EAAE,EAAE,CAC9D,oDAAuB,CACrB,WAAW,EACX,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wCAQC;AAED,6FAa+C;AAZ7C,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,mIAAA,YAAY,OAAA;AACZ,uIAAA,gBAAgB,OAAA"}
|