@wix/auto_sdk_online-programs_online-program-participants 1.0.3 → 1.0.4

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 +3 -63
  2. package/build/cjs/index.js +477 -5391
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1 -697
  5. package/build/cjs/index.typings.js +482 -5266
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +2 -563
  8. package/build/cjs/meta.js +72 -3898
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +3 -63
  11. package/build/es/index.mjs +565 -5463
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +1 -697
  14. package/build/es/index.typings.mjs +412 -5181
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +2 -563
  17. package/build/es/meta.mjs +45 -3856
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +3 -63
  20. package/build/internal/cjs/index.js +477 -5391
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +1 -697
  23. package/build/internal/cjs/index.typings.js +482 -5266
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +2 -563
  26. package/build/internal/cjs/meta.js +72 -3898
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +3 -63
  29. package/build/internal/es/index.mjs +565 -5463
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +1 -697
  32. package/build/internal/es/index.typings.mjs +412 -5181
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +2 -563
  35. package/build/internal/es/meta.mjs +45 -3856
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
package/build/cjs/meta.js CHANGED
@@ -20,21 +20,15 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // meta.ts
21
21
  var meta_exports = {};
22
22
  __export(meta_exports, {
23
- ChoiceRightnessOriginal: () => ChoiceRightness,
24
- DescriptionFieldSetOriginal: () => DescriptionFieldSet,
25
- DurationUnitOriginal: () => DurationUnit,
26
23
  ParticipantStepStateOriginal: () => ParticipantStepState,
27
24
  ParticipationStateOriginal: () => ParticipationState,
28
25
  PaymentTypeOriginal: () => PaymentType,
29
26
  QueryParticipantsRequestJoinPathOriginal: () => QueryParticipantsRequestJoinPath,
30
27
  QueryParticipantsRequestSortingCriterionOriginal: () => QueryParticipantsRequestSortingCriterion,
31
28
  QueryParticipantsRequestSortingOrderOriginal: () => QueryParticipantsRequestSortingOrder,
32
- QuizTypeOriginal: () => QuizType,
33
- ResolutionStatusOriginal: () => ResolutionStatus,
34
29
  SortingCriterionOriginal: () => SortingCriterion,
35
30
  SortingOrderOriginal: () => SortingOrder,
36
31
  StateOriginal: () => State,
37
- StatusOriginal: () => Status,
38
32
  WebhookIdentityTypeOriginal: () => WebhookIdentityType,
39
33
  addAllParticipant: () => addAllParticipant2,
40
34
  addParticipant: () => addParticipant2,
@@ -44,37 +38,26 @@ __export(meta_exports, {
44
38
  createPaymentOrder: () => createPaymentOrder2,
45
39
  deleteParticipant: () => deleteParticipant2,
46
40
  getCertificate: () => getCertificate2,
47
- getMediaUploadInfo: () => getMediaUploadInfo2,
48
41
  getParticipant: () => getParticipant2,
49
- getSection: () => getSection2,
50
- getStep: () => getStep2,
51
42
  inviteAllParticipants: () => inviteAllParticipants2,
52
43
  inviteParticipants: () => inviteParticipants2,
53
44
  issueCertificate: () => issueCertificate2,
54
45
  issueParticipantCertificate: () => issueParticipantCertificate2,
55
46
  joinParticipant: () => joinParticipant2,
56
47
  listParticipants: () => listParticipants2,
57
- listSections: () => listSections2,
58
- listSteps: () => listSteps2,
59
48
  myProgram: () => myProgram2,
60
- myProgramSection: () => myProgramSection2,
61
- myProgramStep: () => myProgramStep2,
62
49
  queryParticipants: () => queryParticipants2,
63
50
  removeCouponFromOrder: () => removeCouponFromOrder2,
64
51
  resetParticipantProgress: () => resetParticipantProgress2,
65
- resolveStep: () => resolveStep2,
66
52
  reviveParticipant: () => reviveParticipant2,
67
- updateParticipant: () => updateParticipant2,
68
- updateStepFeedback: () => updateStepFeedback2
53
+ updateParticipant: () => updateParticipant2
69
54
  });
70
55
  module.exports = __toCommonJS(meta_exports);
71
56
 
72
57
  // src/challenges-v1-participant-online-program-participants.http.ts
73
58
  var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
74
59
  var import_float = require("@wix/sdk-runtime/transformations/float");
75
- var import_float2 = require("@wix/sdk-runtime/transformations/float");
76
60
  var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
77
- var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
78
61
  var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
79
62
  var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
80
63
  function resolveComWixpressAchievementsApiV1ParticipantsServiceUrl(opts) {
@@ -149,7 +132,7 @@ function queryParticipants(payload) {
149
132
  data: payload,
150
133
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
151
134
  {
152
- transformFn: import_float2.transformRESTFloatToSDKFloat,
135
+ transformFn: import_float.transformRESTFloatToSDKFloat,
153
136
  paths: [
154
137
  { path: "participants.performance" },
155
138
  { path: "participants.challenge.media.image.focalPoint.x" },
@@ -169,7 +152,7 @@ function queryParticipants(payload) {
169
152
  ]
170
153
  },
171
154
  {
172
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
155
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
173
156
  paths: [
174
157
  { path: "participants.challenge.media.image.urlExpirationDate" },
175
158
  {
@@ -214,7 +197,7 @@ function listParticipants(payload) {
214
197
  params: (0, import_rest_modules.toURLSearchParams)(payload),
215
198
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
216
199
  {
217
- transformFn: import_float2.transformRESTFloatToSDKFloat,
200
+ transformFn: import_float.transformRESTFloatToSDKFloat,
218
201
  paths: [
219
202
  { path: "participants.performance" },
220
203
  { path: "participants.challenge.media.image.focalPoint.x" },
@@ -234,7 +217,7 @@ function listParticipants(payload) {
234
217
  ]
235
218
  },
236
219
  {
237
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
220
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
238
221
  paths: [
239
222
  { path: "participants.challenge.media.image.urlExpirationDate" },
240
223
  {
@@ -290,7 +273,7 @@ function joinParticipant(payload) {
290
273
  data: payload,
291
274
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
292
275
  {
293
- transformFn: import_float2.transformRESTFloatToSDKFloat,
276
+ transformFn: import_float.transformRESTFloatToSDKFloat,
294
277
  paths: [
295
278
  { path: "participant.performance" },
296
279
  { path: "participant.challenge.media.image.focalPoint.x" },
@@ -310,7 +293,7 @@ function joinParticipant(payload) {
310
293
  ]
311
294
  },
312
295
  {
313
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
296
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
314
297
  paths: [
315
298
  { path: "participant.challenge.media.image.urlExpirationDate" },
316
299
  {
@@ -355,7 +338,7 @@ function addParticipant(payload) {
355
338
  data: payload,
356
339
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
357
340
  {
358
- transformFn: import_float2.transformRESTFloatToSDKFloat,
341
+ transformFn: import_float.transformRESTFloatToSDKFloat,
359
342
  paths: [
360
343
  { path: "participant.performance" },
361
344
  { path: "participant.challenge.media.image.focalPoint.x" },
@@ -375,7 +358,7 @@ function addParticipant(payload) {
375
358
  ]
376
359
  },
377
360
  {
378
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
361
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
379
362
  paths: [
380
363
  { path: "participant.challenge.media.image.urlExpirationDate" },
381
364
  {
@@ -420,7 +403,7 @@ function addParticipants(payload) {
420
403
  data: payload,
421
404
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
422
405
  {
423
- transformFn: import_float2.transformRESTFloatToSDKFloat,
406
+ transformFn: import_float.transformRESTFloatToSDKFloat,
424
407
  paths: [
425
408
  { path: "participants.performance" },
426
409
  { path: "participants.challenge.media.image.focalPoint.x" },
@@ -440,7 +423,7 @@ function addParticipants(payload) {
440
423
  ]
441
424
  },
442
425
  {
443
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
426
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
444
427
  paths: [
445
428
  { path: "participants.challenge.media.image.urlExpirationDate" },
446
429
  {
@@ -506,7 +489,7 @@ function createJoinRequest(payload) {
506
489
  data: payload,
507
490
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
508
491
  {
509
- transformFn: import_float2.transformRESTFloatToSDKFloat,
492
+ transformFn: import_float.transformRESTFloatToSDKFloat,
510
493
  paths: [
511
494
  { path: "participant.performance" },
512
495
  { path: "participant.challenge.media.image.focalPoint.x" },
@@ -526,7 +509,7 @@ function createJoinRequest(payload) {
526
509
  ]
527
510
  },
528
511
  {
529
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
512
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
530
513
  paths: [
531
514
  { path: "participant.challenge.media.image.urlExpirationDate" },
532
515
  {
@@ -613,7 +596,7 @@ function getParticipant(payload) {
613
596
  params: (0, import_rest_modules.toURLSearchParams)(payload),
614
597
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
615
598
  {
616
- transformFn: import_float2.transformRESTFloatToSDKFloat,
599
+ transformFn: import_float.transformRESTFloatToSDKFloat,
617
600
  paths: [
618
601
  { path: "participant.performance" },
619
602
  { path: "participant.challenge.media.image.focalPoint.x" },
@@ -633,7 +616,7 @@ function getParticipant(payload) {
633
616
  ]
634
617
  },
635
618
  {
636
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
619
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
637
620
  paths: [
638
621
  { path: "participant.challenge.media.image.urlExpirationDate" },
639
622
  {
@@ -689,7 +672,7 @@ function updateParticipant(payload) {
689
672
  data: payload,
690
673
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
691
674
  {
692
- transformFn: import_float2.transformRESTFloatToSDKFloat,
675
+ transformFn: import_float.transformRESTFloatToSDKFloat,
693
676
  paths: [
694
677
  { path: "participant.performance" },
695
678
  { path: "participant.challenge.media.image.focalPoint.x" },
@@ -709,7 +692,7 @@ function updateParticipant(payload) {
709
692
  ]
710
693
  },
711
694
  {
712
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
695
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
713
696
  paths: [
714
697
  { path: "participant.challenge.media.image.urlExpirationDate" },
715
698
  {
@@ -775,7 +758,7 @@ function reviveParticipant(payload) {
775
758
  data: payload,
776
759
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
777
760
  {
778
- transformFn: import_float2.transformRESTFloatToSDKFloat,
761
+ transformFn: import_float.transformRESTFloatToSDKFloat,
779
762
  paths: [
780
763
  { path: "participant.performance" },
781
764
  { path: "participant.challenge.media.image.focalPoint.x" },
@@ -795,7 +778,7 @@ function reviveParticipant(payload) {
795
778
  ]
796
779
  },
797
780
  {
798
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
781
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
799
782
  paths: [
800
783
  { path: "participant.challenge.media.image.urlExpirationDate" },
801
784
  {
@@ -840,7 +823,7 @@ function resetParticipantProgress(payload) {
840
823
  data: payload,
841
824
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
842
825
  {
843
- transformFn: import_float2.transformRESTFloatToSDKFloat,
826
+ transformFn: import_float.transformRESTFloatToSDKFloat,
844
827
  paths: [
845
828
  { path: "participant.performance" },
846
829
  { path: "participant.challenge.media.image.focalPoint.x" },
@@ -860,7 +843,7 @@ function resetParticipantProgress(payload) {
860
843
  ]
861
844
  },
862
845
  {
863
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
846
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
864
847
  paths: [
865
848
  { path: "participant.challenge.media.image.urlExpirationDate" },
866
849
  {
@@ -905,7 +888,7 @@ function issueParticipantCertificate(payload) {
905
888
  data: payload,
906
889
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
907
890
  {
908
- transformFn: import_float2.transformRESTFloatToSDKFloat,
891
+ transformFn: import_float.transformRESTFloatToSDKFloat,
909
892
  paths: [
910
893
  { path: "participant.performance" },
911
894
  { path: "participant.challenge.media.image.focalPoint.x" },
@@ -925,7 +908,7 @@ function issueParticipantCertificate(payload) {
925
908
  ]
926
909
  },
927
910
  {
928
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
911
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
929
912
  paths: [
930
913
  { path: "participant.challenge.media.image.urlExpirationDate" },
931
914
  {
@@ -970,7 +953,7 @@ function issueCertificate(payload) {
970
953
  data: payload,
971
954
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
972
955
  {
973
- transformFn: import_float2.transformRESTFloatToSDKFloat,
956
+ transformFn: import_float.transformRESTFloatToSDKFloat,
974
957
  paths: [
975
958
  { path: "participant.performance" },
976
959
  { path: "participant.challenge.media.image.focalPoint.x" },
@@ -990,7 +973,7 @@ function issueCertificate(payload) {
990
973
  ]
991
974
  },
992
975
  {
993
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
976
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
994
977
  paths: [
995
978
  { path: "participant.challenge.media.image.urlExpirationDate" },
996
979
  {
@@ -1067,7 +1050,7 @@ function createPaymentOrder(payload) {
1067
1050
  data: payload,
1068
1051
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1069
1052
  {
1070
- transformFn: import_float2.transformRESTFloatToSDKFloat,
1053
+ transformFn: import_float.transformRESTFloatToSDKFloat,
1071
1054
  paths: [
1072
1055
  { path: "participant.performance" },
1073
1056
  { path: "participant.challenge.media.image.focalPoint.x" },
@@ -1087,7 +1070,7 @@ function createPaymentOrder(payload) {
1087
1070
  ]
1088
1071
  },
1089
1072
  {
1090
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1073
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
1091
1074
  paths: [
1092
1075
  { path: "participant.challenge.media.image.urlExpirationDate" },
1093
1076
  {
@@ -1156,3610 +1139,63 @@ function removeCouponFromOrder(payload) {
1156
1139
  }
1157
1140
  return __removeCouponFromOrder;
1158
1141
  }
1159
- function listSteps(payload) {
1160
- function __listSteps({ host }) {
1161
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
1162
- {
1163
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
1164
- paths: [
1165
- { path: "timeInterval.start" },
1166
- { path: "timeInterval.finish" }
1167
- ]
1168
- }
1169
- ]);
1170
- const metadata = {
1171
- entityFqdn: "wix.challenges.v1.participant",
1172
- method: "GET",
1173
- methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListSteps",
1174
- packageName: PACKAGE_NAME,
1175
- migrationOptions: {
1176
- optInTransformResponse: true
1177
- },
1178
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1179
- protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}",
1180
- data: serializedData,
1181
- host
1182
- }),
1183
- params: (0, import_rest_modules.toURLSearchParams)(serializedData),
1184
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1185
- {
1186
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1187
- paths: [
1188
- { path: "steps.source.createdAt" },
1189
- { path: "steps.source.updatedAt" },
1190
- {
1191
- path: "steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
1192
- },
1193
- {
1194
- path: "steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
1195
- },
1196
- {
1197
- path: "steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
1198
- },
1199
- {
1200
- path: "steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
1201
- },
1202
- {
1203
- path: "steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
1204
- },
1205
- {
1206
- path: "steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
1207
- },
1208
- {
1209
- path: "steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
1210
- },
1211
- {
1212
- path: "steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
1213
- },
1214
- {
1215
- path: "steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
1216
- },
1217
- {
1218
- path: "steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
1219
- },
1220
- {
1221
- path: "steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
1222
- },
1223
- {
1224
- path: "steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
1225
- },
1226
- {
1227
- path: "steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
1228
- },
1229
- {
1230
- path: "steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
1231
- },
1232
- {
1233
- path: "steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
1234
- },
1235
- {
1236
- path: "steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
1237
- },
1238
- {
1239
- path: "steps.source.settings.general.video.video.urlExpirationDate"
1240
- },
1241
- {
1242
- path: "steps.source.settings.general.video.video.resolutions.urlExpirationDate"
1243
- },
1244
- {
1245
- path: "steps.source.settings.general.video.video.resolutions.poster.urlExpirationDate"
1246
- },
1247
- {
1248
- path: "steps.source.settings.general.video.video.posters.urlExpirationDate"
1249
- },
1250
- {
1251
- path: "steps.source.settings.general.video.coverImage.urlExpirationDate"
1252
- },
1253
- {
1254
- path: "steps.source.settings.general.description.media.image.urlExpirationDate"
1255
- },
1256
- {
1257
- path: "steps.source.settings.general.description.media.video.thumbnail.urlExpirationDate"
1258
- },
1259
- {
1260
- path: "steps.source.settings.general.description.media.document.urlExpirationDate"
1261
- },
1262
- {
1263
- path: "steps.source.settings.general.description.media.document.thumbnail.urlExpirationDate"
1264
- },
1265
- { path: "steps.timeFrame.start" },
1266
- { path: "steps.timeFrame.finish" },
1267
- { path: "steps.feedback.createdAt" },
1268
- { path: "steps.feedback.updatedAt" },
1269
- {
1270
- path: "steps.feedback.items.media.mediaItems.image.urlExpirationDate"
1271
- },
1272
- {
1273
- path: "steps.feedback.items.media.mediaItems.video.thumbnail.urlExpirationDate"
1274
- },
1275
- {
1276
- path: "steps.feedback.items.media.mediaItems.document.urlExpirationDate"
1277
- },
1278
- {
1279
- path: "steps.feedback.items.media.mediaItems.document.thumbnail.urlExpirationDate"
1280
- },
1281
- {
1282
- path: "steps.feedback.quiz.media.mediaItems.image.urlExpirationDate"
1283
- },
1284
- {
1285
- path: "steps.feedback.quiz.media.mediaItems.video.thumbnail.urlExpirationDate"
1286
- },
1287
- {
1288
- path: "steps.feedback.quiz.media.mediaItems.document.urlExpirationDate"
1289
- },
1290
- {
1291
- path: "steps.feedback.quiz.media.mediaItems.document.thumbnail.urlExpirationDate"
1292
- },
1293
- { path: "steps.transitions.occurredAt" }
1294
- ]
1295
- },
1296
- {
1297
- transformFn: import_float2.transformRESTFloatToSDKFloat,
1298
- paths: [
1299
- {
1300
- path: "steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
1301
- },
1302
- {
1303
- path: "steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
1304
- },
1305
- {
1306
- path: "steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
1307
- },
1308
- {
1309
- path: "steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
1310
- },
1311
- {
1312
- path: "steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
1313
- },
1314
- {
1315
- path: "steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
1316
- },
1317
- {
1318
- path: "steps.source.settings.general.individual.feedbackSettings.type.quantity.amount"
1319
- },
1320
- {
1321
- path: "steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
1322
- },
1323
- {
1324
- path: "steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
1325
- },
1326
- {
1327
- path: "steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
1328
- },
1329
- {
1330
- path: "steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
1331
- },
1332
- {
1333
- path: "steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
1334
- },
1335
- {
1336
- path: "steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
1337
- },
1338
- {
1339
- path: "steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
1340
- },
1341
- {
1342
- path: "steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
1343
- },
1344
- {
1345
- path: "steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
1346
- },
1347
- {
1348
- path: "steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
1349
- },
1350
- {
1351
- path: "steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
1352
- },
1353
- {
1354
- path: "steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
1355
- },
1356
- {
1357
- path: "steps.source.settings.general.individual.quizSettings.type.quantity.amount"
1358
- },
1359
- {
1360
- path: "steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
1361
- },
1362
- {
1363
- path: "steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
1364
- },
1365
- {
1366
- path: "steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
1367
- },
1368
- {
1369
- path: "steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
1370
- },
1371
- {
1372
- path: "steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
1373
- },
1374
- {
1375
- path: "steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
1376
- },
1377
- {
1378
- path: "steps.source.settings.general.video.requiredCompletionPercentage"
1379
- },
1380
- {
1381
- path: "steps.source.settings.general.video.video.resolutions.poster.focalPoint.x"
1382
- },
1383
- {
1384
- path: "steps.source.settings.general.video.video.resolutions.poster.focalPoint.y"
1385
- },
1386
- {
1387
- path: "steps.source.settings.general.video.video.posters.focalPoint.x"
1388
- },
1389
- {
1390
- path: "steps.source.settings.general.video.video.posters.focalPoint.y"
1391
- },
1392
- {
1393
- path: "steps.source.settings.general.video.coverImage.focalPoint.x"
1394
- },
1395
- {
1396
- path: "steps.source.settings.general.video.coverImage.focalPoint.y"
1397
- },
1398
- {
1399
- path: "steps.source.settings.general.description.media.image.focalPoint.x"
1400
- },
1401
- {
1402
- path: "steps.source.settings.general.description.media.image.focalPoint.y"
1403
- },
1404
- {
1405
- path: "steps.source.settings.general.description.media.video.thumbnail.focalPoint.x"
1406
- },
1407
- {
1408
- path: "steps.source.settings.general.description.media.video.thumbnail.focalPoint.y"
1409
- },
1410
- {
1411
- path: "steps.source.settings.general.description.media.document.thumbnail.focalPoint.x"
1412
- },
1413
- {
1414
- path: "steps.source.settings.general.description.media.document.thumbnail.focalPoint.y"
1415
- },
1416
- {
1417
- path: "steps.feedback.items.media.mediaItems.image.focalPoint.x"
1418
- },
1419
- {
1420
- path: "steps.feedback.items.media.mediaItems.image.focalPoint.y"
1421
- },
1422
- {
1423
- path: "steps.feedback.items.media.mediaItems.video.thumbnail.focalPoint.x"
1424
- },
1425
- {
1426
- path: "steps.feedback.items.media.mediaItems.video.thumbnail.focalPoint.y"
1427
- },
1428
- {
1429
- path: "steps.feedback.items.media.mediaItems.document.thumbnail.focalPoint.x"
1430
- },
1431
- {
1432
- path: "steps.feedback.items.media.mediaItems.document.thumbnail.focalPoint.y"
1433
- },
1434
- { path: "steps.feedback.items.quantity.amount" },
1435
- {
1436
- path: "steps.feedback.quiz.media.mediaItems.image.focalPoint.x"
1437
- },
1438
- {
1439
- path: "steps.feedback.quiz.media.mediaItems.image.focalPoint.y"
1440
- },
1441
- {
1442
- path: "steps.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.x"
1443
- },
1444
- {
1445
- path: "steps.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.y"
1446
- },
1447
- {
1448
- path: "steps.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.x"
1449
- },
1450
- {
1451
- path: "steps.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.y"
1452
- },
1453
- { path: "steps.feedback.quiz.quantity.amount" },
1454
- { path: "steps.quizSubmission.score" }
1455
- ]
1456
- }
1457
- ]),
1458
- fallback: [
1459
- {
1460
- method: "GET",
1461
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1462
- protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}",
1463
- data: serializedData,
1464
- host
1465
- }),
1466
- params: (0, import_rest_modules.toURLSearchParams)(serializedData)
1467
- }
1468
- ]
1469
- };
1470
- return metadata;
1471
- }
1472
- return __listSteps;
1473
- }
1474
- function getStep(payload) {
1475
- function __getStep({ host }) {
1476
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
1477
- {
1478
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
1479
- paths: [
1480
- { path: "timeInterval.start" },
1481
- { path: "timeInterval.finish" }
1482
- ]
1483
- }
1484
- ]);
1485
- const metadata = {
1486
- entityFqdn: "wix.challenges.v1.participant",
1487
- method: "GET",
1488
- methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetStep",
1489
- packageName: PACKAGE_NAME,
1490
- migrationOptions: {
1491
- optInTransformResponse: true
1492
- },
1493
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1494
- protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/{stepId}",
1495
- data: serializedData,
1496
- host
1497
- }),
1498
- params: (0, import_rest_modules.toURLSearchParams)(serializedData),
1499
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1500
- {
1501
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1502
- paths: [
1503
- { path: "step.source.createdAt" },
1504
- { path: "step.source.updatedAt" },
1505
- {
1506
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
1507
- },
1508
- {
1509
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
1510
- },
1511
- {
1512
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
1513
- },
1514
- {
1515
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
1516
- },
1517
- {
1518
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
1519
- },
1520
- {
1521
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
1522
- },
1523
- {
1524
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
1525
- },
1526
- {
1527
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
1528
- },
1529
- {
1530
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
1531
- },
1532
- {
1533
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
1534
- },
1535
- {
1536
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
1537
- },
1538
- {
1539
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
1540
- },
1541
- {
1542
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
1543
- },
1544
- {
1545
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
1546
- },
1547
- {
1548
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
1549
- },
1550
- {
1551
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
1552
- },
1553
- {
1554
- path: "step.source.settings.general.video.video.urlExpirationDate"
1555
- },
1556
- {
1557
- path: "step.source.settings.general.video.video.resolutions.urlExpirationDate"
1558
- },
1559
- {
1560
- path: "step.source.settings.general.video.video.resolutions.poster.urlExpirationDate"
1561
- },
1562
- {
1563
- path: "step.source.settings.general.video.video.posters.urlExpirationDate"
1564
- },
1565
- {
1566
- path: "step.source.settings.general.video.coverImage.urlExpirationDate"
1567
- },
1568
- {
1569
- path: "step.source.settings.general.description.media.image.urlExpirationDate"
1570
- },
1571
- {
1572
- path: "step.source.settings.general.description.media.video.thumbnail.urlExpirationDate"
1573
- },
1574
- {
1575
- path: "step.source.settings.general.description.media.document.urlExpirationDate"
1576
- },
1577
- {
1578
- path: "step.source.settings.general.description.media.document.thumbnail.urlExpirationDate"
1579
- },
1580
- { path: "step.timeFrame.start" },
1581
- { path: "step.timeFrame.finish" },
1582
- { path: "step.feedback.createdAt" },
1583
- { path: "step.feedback.updatedAt" },
1584
- {
1585
- path: "step.feedback.items.media.mediaItems.image.urlExpirationDate"
1586
- },
1587
- {
1588
- path: "step.feedback.items.media.mediaItems.video.thumbnail.urlExpirationDate"
1589
- },
1590
- {
1591
- path: "step.feedback.items.media.mediaItems.document.urlExpirationDate"
1592
- },
1593
- {
1594
- path: "step.feedback.items.media.mediaItems.document.thumbnail.urlExpirationDate"
1595
- },
1596
- {
1597
- path: "step.feedback.quiz.media.mediaItems.image.urlExpirationDate"
1598
- },
1599
- {
1600
- path: "step.feedback.quiz.media.mediaItems.video.thumbnail.urlExpirationDate"
1601
- },
1602
- {
1603
- path: "step.feedback.quiz.media.mediaItems.document.urlExpirationDate"
1604
- },
1605
- {
1606
- path: "step.feedback.quiz.media.mediaItems.document.thumbnail.urlExpirationDate"
1607
- },
1608
- { path: "step.transitions.occurredAt" },
1609
- { path: "subSteps.source.createdAt" },
1610
- { path: "subSteps.source.updatedAt" },
1611
- {
1612
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
1613
- },
1614
- {
1615
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
1616
- },
1617
- {
1618
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
1619
- },
1620
- {
1621
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
1622
- },
1623
- {
1624
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
1625
- },
1626
- {
1627
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
1628
- },
1629
- {
1630
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
1631
- },
1632
- {
1633
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
1634
- },
1635
- {
1636
- path: "subSteps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
1637
- },
1638
- {
1639
- path: "subSteps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
1640
- },
1641
- {
1642
- path: "subSteps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
1643
- },
1644
- {
1645
- path: "subSteps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
1646
- },
1647
- {
1648
- path: "subSteps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
1649
- },
1650
- {
1651
- path: "subSteps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
1652
- },
1653
- {
1654
- path: "subSteps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
1655
- },
1656
- {
1657
- path: "subSteps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
1658
- },
1659
- {
1660
- path: "subSteps.source.settings.general.video.video.urlExpirationDate"
1661
- },
1662
- {
1663
- path: "subSteps.source.settings.general.video.video.resolutions.urlExpirationDate"
1664
- },
1665
- {
1666
- path: "subSteps.source.settings.general.video.video.resolutions.poster.urlExpirationDate"
1667
- },
1668
- {
1669
- path: "subSteps.source.settings.general.video.video.posters.urlExpirationDate"
1670
- },
1671
- {
1672
- path: "subSteps.source.settings.general.video.coverImage.urlExpirationDate"
1673
- },
1674
- {
1675
- path: "subSteps.source.settings.general.description.media.image.urlExpirationDate"
1676
- },
1677
- {
1678
- path: "subSteps.source.settings.general.description.media.video.thumbnail.urlExpirationDate"
1679
- },
1680
- {
1681
- path: "subSteps.source.settings.general.description.media.document.urlExpirationDate"
1682
- },
1683
- {
1684
- path: "subSteps.source.settings.general.description.media.document.thumbnail.urlExpirationDate"
1685
- },
1686
- { path: "subSteps.timeFrame.start" },
1687
- { path: "subSteps.timeFrame.finish" },
1688
- { path: "subSteps.feedback.createdAt" },
1689
- { path: "subSteps.feedback.updatedAt" },
1690
- {
1691
- path: "subSteps.feedback.items.media.mediaItems.image.urlExpirationDate"
1692
- },
1693
- {
1694
- path: "subSteps.feedback.items.media.mediaItems.video.thumbnail.urlExpirationDate"
1695
- },
1696
- {
1697
- path: "subSteps.feedback.items.media.mediaItems.document.urlExpirationDate"
1698
- },
1699
- {
1700
- path: "subSteps.feedback.items.media.mediaItems.document.thumbnail.urlExpirationDate"
1701
- },
1702
- {
1703
- path: "subSteps.feedback.quiz.media.mediaItems.image.urlExpirationDate"
1704
- },
1705
- {
1706
- path: "subSteps.feedback.quiz.media.mediaItems.video.thumbnail.urlExpirationDate"
1707
- },
1708
- {
1709
- path: "subSteps.feedback.quiz.media.mediaItems.document.urlExpirationDate"
1710
- },
1711
- {
1712
- path: "subSteps.feedback.quiz.media.mediaItems.document.thumbnail.urlExpirationDate"
1713
- },
1714
- { path: "subSteps.transitions.occurredAt" }
1715
- ]
1716
- },
1717
- {
1718
- transformFn: import_float2.transformRESTFloatToSDKFloat,
1719
- paths: [
1720
- {
1721
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
1722
- },
1723
- {
1724
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
1725
- },
1726
- {
1727
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
1728
- },
1729
- {
1730
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
1731
- },
1732
- {
1733
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
1734
- },
1735
- {
1736
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
1737
- },
1738
- {
1739
- path: "step.source.settings.general.individual.feedbackSettings.type.quantity.amount"
1740
- },
1741
- {
1742
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
1743
- },
1744
- {
1745
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
1746
- },
1747
- {
1748
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
1749
- },
1750
- {
1751
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
1752
- },
1753
- {
1754
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
1755
- },
1756
- {
1757
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
1758
- },
1759
- {
1760
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
1761
- },
1762
- {
1763
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
1764
- },
1765
- {
1766
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
1767
- },
1768
- {
1769
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
1770
- },
1771
- {
1772
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
1773
- },
1774
- {
1775
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
1776
- },
1777
- {
1778
- path: "step.source.settings.general.individual.quizSettings.type.quantity.amount"
1779
- },
1780
- {
1781
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
1782
- },
1783
- {
1784
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
1785
- },
1786
- {
1787
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
1788
- },
1789
- {
1790
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
1791
- },
1792
- {
1793
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
1794
- },
1795
- {
1796
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
1797
- },
1798
- {
1799
- path: "step.source.settings.general.video.requiredCompletionPercentage"
1800
- },
1801
- {
1802
- path: "step.source.settings.general.video.video.resolutions.poster.focalPoint.x"
1803
- },
1804
- {
1805
- path: "step.source.settings.general.video.video.resolutions.poster.focalPoint.y"
1806
- },
1807
- {
1808
- path: "step.source.settings.general.video.video.posters.focalPoint.x"
1809
- },
1810
- {
1811
- path: "step.source.settings.general.video.video.posters.focalPoint.y"
1812
- },
1813
- {
1814
- path: "step.source.settings.general.video.coverImage.focalPoint.x"
1815
- },
1816
- {
1817
- path: "step.source.settings.general.video.coverImage.focalPoint.y"
1818
- },
1819
- {
1820
- path: "step.source.settings.general.description.media.image.focalPoint.x"
1821
- },
1822
- {
1823
- path: "step.source.settings.general.description.media.image.focalPoint.y"
1824
- },
1825
- {
1826
- path: "step.source.settings.general.description.media.video.thumbnail.focalPoint.x"
1827
- },
1828
- {
1829
- path: "step.source.settings.general.description.media.video.thumbnail.focalPoint.y"
1830
- },
1831
- {
1832
- path: "step.source.settings.general.description.media.document.thumbnail.focalPoint.x"
1833
- },
1834
- {
1835
- path: "step.source.settings.general.description.media.document.thumbnail.focalPoint.y"
1836
- },
1837
- {
1838
- path: "step.feedback.items.media.mediaItems.image.focalPoint.x"
1839
- },
1840
- {
1841
- path: "step.feedback.items.media.mediaItems.image.focalPoint.y"
1842
- },
1843
- {
1844
- path: "step.feedback.items.media.mediaItems.video.thumbnail.focalPoint.x"
1845
- },
1846
- {
1847
- path: "step.feedback.items.media.mediaItems.video.thumbnail.focalPoint.y"
1848
- },
1849
- {
1850
- path: "step.feedback.items.media.mediaItems.document.thumbnail.focalPoint.x"
1851
- },
1852
- {
1853
- path: "step.feedback.items.media.mediaItems.document.thumbnail.focalPoint.y"
1854
- },
1855
- { path: "step.feedback.items.quantity.amount" },
1856
- {
1857
- path: "step.feedback.quiz.media.mediaItems.image.focalPoint.x"
1858
- },
1859
- {
1860
- path: "step.feedback.quiz.media.mediaItems.image.focalPoint.y"
1861
- },
1862
- {
1863
- path: "step.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.x"
1864
- },
1865
- {
1866
- path: "step.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.y"
1867
- },
1868
- {
1869
- path: "step.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.x"
1870
- },
1871
- {
1872
- path: "step.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.y"
1873
- },
1874
- { path: "step.feedback.quiz.quantity.amount" },
1875
- {
1876
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
1877
- },
1878
- {
1879
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
1880
- },
1881
- {
1882
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
1883
- },
1884
- {
1885
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
1886
- },
1887
- {
1888
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
1889
- },
1890
- {
1891
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
1892
- },
1893
- {
1894
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.quantity.amount"
1895
- },
1896
- {
1897
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
1898
- },
1899
- {
1900
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
1901
- },
1902
- {
1903
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
1904
- },
1905
- {
1906
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
1907
- },
1908
- {
1909
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
1910
- },
1911
- {
1912
- path: "subSteps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
1913
- },
1914
- {
1915
- path: "subSteps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
1916
- },
1917
- {
1918
- path: "subSteps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
1919
- },
1920
- {
1921
- path: "subSteps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
1922
- },
1923
- {
1924
- path: "subSteps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
1925
- },
1926
- {
1927
- path: "subSteps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
1928
- },
1929
- {
1930
- path: "subSteps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
1931
- },
1932
- {
1933
- path: "subSteps.source.settings.general.individual.quizSettings.type.quantity.amount"
1934
- },
1935
- {
1936
- path: "subSteps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
1937
- },
1938
- {
1939
- path: "subSteps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
1940
- },
1941
- {
1942
- path: "subSteps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
1943
- },
1944
- {
1945
- path: "subSteps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
1946
- },
1947
- {
1948
- path: "subSteps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
1949
- },
1950
- {
1951
- path: "subSteps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
1952
- },
1953
- {
1954
- path: "subSteps.source.settings.general.video.requiredCompletionPercentage"
1955
- },
1956
- {
1957
- path: "subSteps.source.settings.general.video.video.resolutions.poster.focalPoint.x"
1958
- },
1959
- {
1960
- path: "subSteps.source.settings.general.video.video.resolutions.poster.focalPoint.y"
1961
- },
1962
- {
1963
- path: "subSteps.source.settings.general.video.video.posters.focalPoint.x"
1964
- },
1965
- {
1966
- path: "subSteps.source.settings.general.video.video.posters.focalPoint.y"
1967
- },
1968
- {
1969
- path: "subSteps.source.settings.general.video.coverImage.focalPoint.x"
1970
- },
1971
- {
1972
- path: "subSteps.source.settings.general.video.coverImage.focalPoint.y"
1973
- },
1974
- {
1975
- path: "subSteps.source.settings.general.description.media.image.focalPoint.x"
1976
- },
1977
- {
1978
- path: "subSteps.source.settings.general.description.media.image.focalPoint.y"
1979
- },
1980
- {
1981
- path: "subSteps.source.settings.general.description.media.video.thumbnail.focalPoint.x"
1982
- },
1983
- {
1984
- path: "subSteps.source.settings.general.description.media.video.thumbnail.focalPoint.y"
1985
- },
1986
- {
1987
- path: "subSteps.source.settings.general.description.media.document.thumbnail.focalPoint.x"
1988
- },
1989
- {
1990
- path: "subSteps.source.settings.general.description.media.document.thumbnail.focalPoint.y"
1991
- },
1992
- {
1993
- path: "subSteps.feedback.items.media.mediaItems.image.focalPoint.x"
1994
- },
1995
- {
1996
- path: "subSteps.feedback.items.media.mediaItems.image.focalPoint.y"
1997
- },
1998
- {
1999
- path: "subSteps.feedback.items.media.mediaItems.video.thumbnail.focalPoint.x"
2000
- },
2001
- {
2002
- path: "subSteps.feedback.items.media.mediaItems.video.thumbnail.focalPoint.y"
2003
- },
2004
- {
2005
- path: "subSteps.feedback.items.media.mediaItems.document.thumbnail.focalPoint.x"
2006
- },
2007
- {
2008
- path: "subSteps.feedback.items.media.mediaItems.document.thumbnail.focalPoint.y"
2009
- },
2010
- { path: "subSteps.feedback.items.quantity.amount" },
2011
- {
2012
- path: "subSteps.feedback.quiz.media.mediaItems.image.focalPoint.x"
2013
- },
2014
- {
2015
- path: "subSteps.feedback.quiz.media.mediaItems.image.focalPoint.y"
2016
- },
2017
- {
2018
- path: "subSteps.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.x"
2019
- },
2020
- {
2021
- path: "subSteps.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.y"
2022
- },
2023
- {
2024
- path: "subSteps.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.x"
2025
- },
2026
- {
2027
- path: "subSteps.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.y"
2028
- },
2029
- { path: "subSteps.feedback.quiz.quantity.amount" },
2030
- { path: "step.quizSubmission.score" },
2031
- { path: "subSteps.quizSubmission.score" }
2032
- ]
2033
- }
2034
- ]),
2035
- fallback: [
2036
- {
2037
- method: "GET",
2038
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2039
- protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/{stepId}",
2040
- data: serializedData,
2041
- host
2042
- }),
2043
- params: (0, import_rest_modules.toURLSearchParams)(serializedData)
2044
- }
2045
- ]
2046
- };
2047
- return metadata;
2048
- }
2049
- return __getStep;
2050
- }
2051
- function resolveStep(payload) {
2052
- function __resolveStep({ host }) {
2053
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
2054
- {
2055
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
2056
- paths: [
2057
- { path: "feedback.createdAt" },
2058
- { path: "feedback.updatedAt" },
2059
- { path: "feedback.items.media.mediaItems.image.urlExpirationDate" },
2060
- {
2061
- path: "feedback.items.media.mediaItems.video.thumbnail.urlExpirationDate"
2062
- },
2063
- {
2064
- path: "feedback.items.media.mediaItems.document.urlExpirationDate"
2065
- },
2066
- {
2067
- path: "feedback.items.media.mediaItems.document.thumbnail.urlExpirationDate"
2068
- },
2069
- { path: "feedback.quiz.media.mediaItems.image.urlExpirationDate" },
2070
- {
2071
- path: "feedback.quiz.media.mediaItems.video.thumbnail.urlExpirationDate"
2072
- },
2073
- { path: "feedback.quiz.media.mediaItems.document.urlExpirationDate" },
2074
- {
2075
- path: "feedback.quiz.media.mediaItems.document.thumbnail.urlExpirationDate"
2076
- }
2077
- ]
2078
- },
2079
- {
2080
- transformFn: import_float.transformSDKFloatToRESTFloat,
2081
- paths: [
2082
- { path: "feedback.items.media.mediaItems.image.focalPoint.x" },
2083
- { path: "feedback.items.media.mediaItems.image.focalPoint.y" },
2084
- {
2085
- path: "feedback.items.media.mediaItems.video.thumbnail.focalPoint.x"
2086
- },
2087
- {
2088
- path: "feedback.items.media.mediaItems.video.thumbnail.focalPoint.y"
2089
- },
2090
- {
2091
- path: "feedback.items.media.mediaItems.document.thumbnail.focalPoint.x"
2092
- },
2093
- {
2094
- path: "feedback.items.media.mediaItems.document.thumbnail.focalPoint.y"
2095
- },
2096
- { path: "feedback.items.quantity.amount" },
2097
- { path: "feedback.quiz.media.mediaItems.image.focalPoint.x" },
2098
- { path: "feedback.quiz.media.mediaItems.image.focalPoint.y" },
2099
- {
2100
- path: "feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.x"
2101
- },
2102
- {
2103
- path: "feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.y"
2104
- },
2105
- {
2106
- path: "feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.x"
2107
- },
2108
- {
2109
- path: "feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.y"
2110
- },
2111
- { path: "feedback.quiz.quantity.amount" }
2112
- ]
2113
- }
2114
- ]);
2115
- const metadata = {
2116
- entityFqdn: "wix.challenges.v1.participant",
2117
- method: "PATCH",
2118
- methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ResolveStep",
2119
- packageName: PACKAGE_NAME,
2120
- migrationOptions: {
2121
- optInTransformResponse: true
2122
- },
2123
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2124
- protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/{stepId}",
2125
- data: serializedData,
2126
- host
2127
- }),
2128
- data: serializedData,
2129
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
2130
- {
2131
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
2132
- paths: [
2133
- { path: "step.source.createdAt" },
2134
- { path: "step.source.updatedAt" },
2135
- {
2136
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
2137
- },
2138
- {
2139
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
2140
- },
2141
- {
2142
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
2143
- },
2144
- {
2145
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
2146
- },
2147
- {
2148
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
2149
- },
2150
- {
2151
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
2152
- },
2153
- {
2154
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
2155
- },
2156
- {
2157
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
2158
- },
2159
- {
2160
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
2161
- },
2162
- {
2163
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
2164
- },
2165
- {
2166
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
2167
- },
2168
- {
2169
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
2170
- },
2171
- {
2172
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
2173
- },
2174
- {
2175
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
2176
- },
2177
- {
2178
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
2179
- },
2180
- {
2181
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
2182
- },
2183
- {
2184
- path: "step.source.settings.general.video.video.urlExpirationDate"
2185
- },
2186
- {
2187
- path: "step.source.settings.general.video.video.resolutions.urlExpirationDate"
2188
- },
2189
- {
2190
- path: "step.source.settings.general.video.video.resolutions.poster.urlExpirationDate"
2191
- },
2192
- {
2193
- path: "step.source.settings.general.video.video.posters.urlExpirationDate"
2194
- },
2195
- {
2196
- path: "step.source.settings.general.video.coverImage.urlExpirationDate"
2197
- },
2198
- {
2199
- path: "step.source.settings.general.description.media.image.urlExpirationDate"
2200
- },
2201
- {
2202
- path: "step.source.settings.general.description.media.video.thumbnail.urlExpirationDate"
2203
- },
2204
- {
2205
- path: "step.source.settings.general.description.media.document.urlExpirationDate"
2206
- },
2207
- {
2208
- path: "step.source.settings.general.description.media.document.thumbnail.urlExpirationDate"
2209
- },
2210
- { path: "step.timeFrame.start" },
2211
- { path: "step.timeFrame.finish" },
2212
- { path: "step.feedback.createdAt" },
2213
- { path: "step.feedback.updatedAt" },
2214
- {
2215
- path: "step.feedback.items.media.mediaItems.image.urlExpirationDate"
2216
- },
2217
- {
2218
- path: "step.feedback.items.media.mediaItems.video.thumbnail.urlExpirationDate"
2219
- },
2220
- {
2221
- path: "step.feedback.items.media.mediaItems.document.urlExpirationDate"
2222
- },
2223
- {
2224
- path: "step.feedback.items.media.mediaItems.document.thumbnail.urlExpirationDate"
2225
- },
2226
- {
2227
- path: "step.feedback.quiz.media.mediaItems.image.urlExpirationDate"
2228
- },
2229
- {
2230
- path: "step.feedback.quiz.media.mediaItems.video.thumbnail.urlExpirationDate"
2231
- },
2232
- {
2233
- path: "step.feedback.quiz.media.mediaItems.document.urlExpirationDate"
2234
- },
2235
- {
2236
- path: "step.feedback.quiz.media.mediaItems.document.thumbnail.urlExpirationDate"
2237
- },
2238
- { path: "step.transitions.occurredAt" }
2239
- ]
2240
- },
2241
- {
2242
- transformFn: import_float2.transformRESTFloatToSDKFloat,
2243
- paths: [
2244
- {
2245
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
2246
- },
2247
- {
2248
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
2249
- },
2250
- {
2251
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
2252
- },
2253
- {
2254
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
2255
- },
2256
- {
2257
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
2258
- },
2259
- {
2260
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
2261
- },
2262
- {
2263
- path: "step.source.settings.general.individual.feedbackSettings.type.quantity.amount"
2264
- },
2265
- {
2266
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
2267
- },
2268
- {
2269
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
2270
- },
2271
- {
2272
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
2273
- },
2274
- {
2275
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
2276
- },
2277
- {
2278
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
2279
- },
2280
- {
2281
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
2282
- },
2283
- {
2284
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
2285
- },
2286
- {
2287
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
2288
- },
2289
- {
2290
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
2291
- },
2292
- {
2293
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
2294
- },
2295
- {
2296
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
2297
- },
2298
- {
2299
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
2300
- },
2301
- {
2302
- path: "step.source.settings.general.individual.quizSettings.type.quantity.amount"
2303
- },
2304
- {
2305
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
2306
- },
2307
- {
2308
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
2309
- },
2310
- {
2311
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
2312
- },
2313
- {
2314
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
2315
- },
2316
- {
2317
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
2318
- },
2319
- {
2320
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
2321
- },
2322
- {
2323
- path: "step.source.settings.general.video.requiredCompletionPercentage"
2324
- },
2325
- {
2326
- path: "step.source.settings.general.video.video.resolutions.poster.focalPoint.x"
2327
- },
2328
- {
2329
- path: "step.source.settings.general.video.video.resolutions.poster.focalPoint.y"
2330
- },
2331
- {
2332
- path: "step.source.settings.general.video.video.posters.focalPoint.x"
2333
- },
2334
- {
2335
- path: "step.source.settings.general.video.video.posters.focalPoint.y"
2336
- },
2337
- {
2338
- path: "step.source.settings.general.video.coverImage.focalPoint.x"
2339
- },
2340
- {
2341
- path: "step.source.settings.general.video.coverImage.focalPoint.y"
2342
- },
2343
- {
2344
- path: "step.source.settings.general.description.media.image.focalPoint.x"
2345
- },
2346
- {
2347
- path: "step.source.settings.general.description.media.image.focalPoint.y"
2348
- },
2349
- {
2350
- path: "step.source.settings.general.description.media.video.thumbnail.focalPoint.x"
2351
- },
2352
- {
2353
- path: "step.source.settings.general.description.media.video.thumbnail.focalPoint.y"
2354
- },
2355
- {
2356
- path: "step.source.settings.general.description.media.document.thumbnail.focalPoint.x"
2357
- },
2358
- {
2359
- path: "step.source.settings.general.description.media.document.thumbnail.focalPoint.y"
2360
- },
2361
- {
2362
- path: "step.feedback.items.media.mediaItems.image.focalPoint.x"
2363
- },
2364
- {
2365
- path: "step.feedback.items.media.mediaItems.image.focalPoint.y"
2366
- },
2367
- {
2368
- path: "step.feedback.items.media.mediaItems.video.thumbnail.focalPoint.x"
2369
- },
2370
- {
2371
- path: "step.feedback.items.media.mediaItems.video.thumbnail.focalPoint.y"
2372
- },
2373
- {
2374
- path: "step.feedback.items.media.mediaItems.document.thumbnail.focalPoint.x"
2375
- },
2376
- {
2377
- path: "step.feedback.items.media.mediaItems.document.thumbnail.focalPoint.y"
2378
- },
2379
- { path: "step.feedback.items.quantity.amount" },
2380
- {
2381
- path: "step.feedback.quiz.media.mediaItems.image.focalPoint.x"
2382
- },
2383
- {
2384
- path: "step.feedback.quiz.media.mediaItems.image.focalPoint.y"
2385
- },
2386
- {
2387
- path: "step.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.x"
2388
- },
2389
- {
2390
- path: "step.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.y"
2391
- },
2392
- {
2393
- path: "step.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.x"
2394
- },
2395
- {
2396
- path: "step.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.y"
2397
- },
2398
- { path: "step.feedback.quiz.quantity.amount" },
2399
- { path: "step.quizSubmission.score" }
2400
- ]
2401
- }
2402
- ])
2403
- };
2404
- return metadata;
2405
- }
2406
- return __resolveStep;
2407
- }
2408
- function updateStepFeedback(payload) {
2409
- function __updateStepFeedback({ host }) {
2410
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
2411
- {
2412
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
2413
- paths: [
2414
- { path: "feedback.createdAt" },
2415
- { path: "feedback.updatedAt" },
2416
- { path: "feedback.items.media.mediaItems.image.urlExpirationDate" },
2417
- {
2418
- path: "feedback.items.media.mediaItems.video.thumbnail.urlExpirationDate"
2419
- },
2420
- {
2421
- path: "feedback.items.media.mediaItems.document.urlExpirationDate"
2422
- },
2423
- {
2424
- path: "feedback.items.media.mediaItems.document.thumbnail.urlExpirationDate"
2425
- },
2426
- { path: "feedback.quiz.media.mediaItems.image.urlExpirationDate" },
2427
- {
2428
- path: "feedback.quiz.media.mediaItems.video.thumbnail.urlExpirationDate"
2429
- },
2430
- { path: "feedback.quiz.media.mediaItems.document.urlExpirationDate" },
2431
- {
2432
- path: "feedback.quiz.media.mediaItems.document.thumbnail.urlExpirationDate"
2433
- }
2434
- ]
2435
- },
2436
- {
2437
- transformFn: import_float.transformSDKFloatToRESTFloat,
2438
- paths: [
2439
- { path: "feedback.items.media.mediaItems.image.focalPoint.x" },
2440
- { path: "feedback.items.media.mediaItems.image.focalPoint.y" },
2441
- {
2442
- path: "feedback.items.media.mediaItems.video.thumbnail.focalPoint.x"
2443
- },
2444
- {
2445
- path: "feedback.items.media.mediaItems.video.thumbnail.focalPoint.y"
2446
- },
2447
- {
2448
- path: "feedback.items.media.mediaItems.document.thumbnail.focalPoint.x"
2449
- },
2450
- {
2451
- path: "feedback.items.media.mediaItems.document.thumbnail.focalPoint.y"
2452
- },
2453
- { path: "feedback.items.quantity.amount" },
2454
- { path: "feedback.quiz.media.mediaItems.image.focalPoint.x" },
2455
- { path: "feedback.quiz.media.mediaItems.image.focalPoint.y" },
2456
- {
2457
- path: "feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.x"
2458
- },
2459
- {
2460
- path: "feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.y"
2461
- },
2462
- {
2463
- path: "feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.x"
2464
- },
2465
- {
2466
- path: "feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.y"
2467
- },
2468
- { path: "feedback.quiz.quantity.amount" }
2469
- ]
2470
- }
2471
- ]);
2472
- const metadata = {
2473
- entityFqdn: "wix.challenges.v1.participant",
2474
- method: "PUT",
2475
- methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.UpdateStepFeedback",
2476
- packageName: PACKAGE_NAME,
2477
- migrationOptions: {
2478
- optInTransformResponse: true
2479
- },
2480
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2481
- protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/feedback/{stepId}",
2482
- data: serializedData,
2483
- host
2484
- }),
2485
- data: serializedData,
2486
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
2487
- {
2488
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
2489
- paths: [
2490
- { path: "step.source.createdAt" },
2491
- { path: "step.source.updatedAt" },
2492
- {
2493
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
2494
- },
2495
- {
2496
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
2497
- },
2498
- {
2499
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
2500
- },
2501
- {
2502
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
2503
- },
2504
- {
2505
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
2506
- },
2507
- {
2508
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
2509
- },
2510
- {
2511
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
2512
- },
2513
- {
2514
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
2515
- },
2516
- {
2517
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
2518
- },
2519
- {
2520
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
2521
- },
2522
- {
2523
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
2524
- },
2525
- {
2526
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
2527
- },
2528
- {
2529
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
2530
- },
2531
- {
2532
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
2533
- },
2534
- {
2535
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
2536
- },
2537
- {
2538
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
2539
- },
2540
- {
2541
- path: "step.source.settings.general.video.video.urlExpirationDate"
2542
- },
2543
- {
2544
- path: "step.source.settings.general.video.video.resolutions.urlExpirationDate"
2545
- },
2546
- {
2547
- path: "step.source.settings.general.video.video.resolutions.poster.urlExpirationDate"
2548
- },
2549
- {
2550
- path: "step.source.settings.general.video.video.posters.urlExpirationDate"
2551
- },
2552
- {
2553
- path: "step.source.settings.general.video.coverImage.urlExpirationDate"
2554
- },
2555
- {
2556
- path: "step.source.settings.general.description.media.image.urlExpirationDate"
2557
- },
2558
- {
2559
- path: "step.source.settings.general.description.media.video.thumbnail.urlExpirationDate"
2560
- },
2561
- {
2562
- path: "step.source.settings.general.description.media.document.urlExpirationDate"
2563
- },
2564
- {
2565
- path: "step.source.settings.general.description.media.document.thumbnail.urlExpirationDate"
2566
- },
2567
- { path: "step.timeFrame.start" },
2568
- { path: "step.timeFrame.finish" },
2569
- { path: "step.feedback.createdAt" },
2570
- { path: "step.feedback.updatedAt" },
2571
- {
2572
- path: "step.feedback.items.media.mediaItems.image.urlExpirationDate"
2573
- },
2574
- {
2575
- path: "step.feedback.items.media.mediaItems.video.thumbnail.urlExpirationDate"
2576
- },
2577
- {
2578
- path: "step.feedback.items.media.mediaItems.document.urlExpirationDate"
2579
- },
2580
- {
2581
- path: "step.feedback.items.media.mediaItems.document.thumbnail.urlExpirationDate"
2582
- },
2583
- {
2584
- path: "step.feedback.quiz.media.mediaItems.image.urlExpirationDate"
2585
- },
2586
- {
2587
- path: "step.feedback.quiz.media.mediaItems.video.thumbnail.urlExpirationDate"
2588
- },
2589
- {
2590
- path: "step.feedback.quiz.media.mediaItems.document.urlExpirationDate"
2591
- },
2592
- {
2593
- path: "step.feedback.quiz.media.mediaItems.document.thumbnail.urlExpirationDate"
2594
- },
2595
- { path: "step.transitions.occurredAt" }
2596
- ]
2597
- },
2598
- {
2599
- transformFn: import_float2.transformRESTFloatToSDKFloat,
2600
- paths: [
2601
- {
2602
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
2603
- },
2604
- {
2605
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
2606
- },
2607
- {
2608
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
2609
- },
2610
- {
2611
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
2612
- },
2613
- {
2614
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
2615
- },
2616
- {
2617
- path: "step.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
2618
- },
2619
- {
2620
- path: "step.source.settings.general.individual.feedbackSettings.type.quantity.amount"
2621
- },
2622
- {
2623
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
2624
- },
2625
- {
2626
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
2627
- },
2628
- {
2629
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
2630
- },
2631
- {
2632
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
2633
- },
2634
- {
2635
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
2636
- },
2637
- {
2638
- path: "step.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
2639
- },
2640
- {
2641
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
2642
- },
2643
- {
2644
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
2645
- },
2646
- {
2647
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
2648
- },
2649
- {
2650
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
2651
- },
2652
- {
2653
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
2654
- },
2655
- {
2656
- path: "step.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
2657
- },
2658
- {
2659
- path: "step.source.settings.general.individual.quizSettings.type.quantity.amount"
2660
- },
2661
- {
2662
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
2663
- },
2664
- {
2665
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
2666
- },
2667
- {
2668
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
2669
- },
2670
- {
2671
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
2672
- },
2673
- {
2674
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
2675
- },
2676
- {
2677
- path: "step.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
2678
- },
2679
- {
2680
- path: "step.source.settings.general.video.requiredCompletionPercentage"
2681
- },
2682
- {
2683
- path: "step.source.settings.general.video.video.resolutions.poster.focalPoint.x"
2684
- },
2685
- {
2686
- path: "step.source.settings.general.video.video.resolutions.poster.focalPoint.y"
2687
- },
2688
- {
2689
- path: "step.source.settings.general.video.video.posters.focalPoint.x"
2690
- },
2691
- {
2692
- path: "step.source.settings.general.video.video.posters.focalPoint.y"
2693
- },
2694
- {
2695
- path: "step.source.settings.general.video.coverImage.focalPoint.x"
2696
- },
2697
- {
2698
- path: "step.source.settings.general.video.coverImage.focalPoint.y"
2699
- },
2700
- {
2701
- path: "step.source.settings.general.description.media.image.focalPoint.x"
2702
- },
2703
- {
2704
- path: "step.source.settings.general.description.media.image.focalPoint.y"
2705
- },
2706
- {
2707
- path: "step.source.settings.general.description.media.video.thumbnail.focalPoint.x"
2708
- },
2709
- {
2710
- path: "step.source.settings.general.description.media.video.thumbnail.focalPoint.y"
2711
- },
2712
- {
2713
- path: "step.source.settings.general.description.media.document.thumbnail.focalPoint.x"
2714
- },
2715
- {
2716
- path: "step.source.settings.general.description.media.document.thumbnail.focalPoint.y"
2717
- },
2718
- {
2719
- path: "step.feedback.items.media.mediaItems.image.focalPoint.x"
2720
- },
2721
- {
2722
- path: "step.feedback.items.media.mediaItems.image.focalPoint.y"
2723
- },
2724
- {
2725
- path: "step.feedback.items.media.mediaItems.video.thumbnail.focalPoint.x"
2726
- },
2727
- {
2728
- path: "step.feedback.items.media.mediaItems.video.thumbnail.focalPoint.y"
2729
- },
2730
- {
2731
- path: "step.feedback.items.media.mediaItems.document.thumbnail.focalPoint.x"
2732
- },
2733
- {
2734
- path: "step.feedback.items.media.mediaItems.document.thumbnail.focalPoint.y"
2735
- },
2736
- { path: "step.feedback.items.quantity.amount" },
2737
- {
2738
- path: "step.feedback.quiz.media.mediaItems.image.focalPoint.x"
2739
- },
2740
- {
2741
- path: "step.feedback.quiz.media.mediaItems.image.focalPoint.y"
2742
- },
2743
- {
2744
- path: "step.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.x"
2745
- },
2746
- {
2747
- path: "step.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.y"
2748
- },
2749
- {
2750
- path: "step.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.x"
2751
- },
2752
- {
2753
- path: "step.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.y"
2754
- },
2755
- { path: "step.feedback.quiz.quantity.amount" },
2756
- { path: "step.quizSubmission.score" }
2757
- ]
2758
- }
2759
- ])
2760
- };
2761
- return metadata;
2762
- }
2763
- return __updateStepFeedback;
2764
- }
2765
- function getMediaUploadInfo(payload) {
2766
- function __getMediaUploadInfo({ host }) {
2767
- const metadata = {
2768
- entityFqdn: "wix.challenges.v1.participant",
2769
- method: "GET",
2770
- methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetMediaUploadInfo",
2771
- packageName: PACKAGE_NAME,
2772
- migrationOptions: {
2773
- optInTransformResponse: true
2774
- },
2775
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2776
- protoPath: "/api/v1/participants/{challengeId}/media/upload_info/{participantId}",
2777
- data: payload,
2778
- host
2779
- }),
2780
- params: (0, import_rest_modules.toURLSearchParams)(payload),
2781
- fallback: [
2782
- {
2783
- method: "GET",
2784
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2785
- protoPath: "/api/v1/participants/{challengeId}/media/upload_info/{participantId}",
2786
- data: payload,
2787
- host
2788
- }),
2789
- params: (0, import_rest_modules.toURLSearchParams)(payload)
2790
- }
2791
- ]
2792
- };
2793
- return metadata;
2794
- }
2795
- return __getMediaUploadInfo;
2796
- }
2797
- function listSections(payload) {
2798
- function __listSections({ host }) {
2799
- const metadata = {
2800
- entityFqdn: "wix.challenges.v1.participant",
2801
- method: "GET",
2802
- methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListSections",
2803
- packageName: PACKAGE_NAME,
2804
- migrationOptions: {
2805
- optInTransformResponse: true
2806
- },
2807
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2808
- protoPath: "/api/v1/participants/{challengeId}/sections/{participantId}",
2809
- data: payload,
2810
- host
2811
- }),
2812
- params: (0, import_rest_modules.toURLSearchParams)(payload),
2813
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
2814
- {
2815
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
2816
- paths: [
2817
- { path: "sections.source.createdAt" },
2818
- { path: "sections.source.updatedAt" },
2819
- {
2820
- path: "sections.source.settings.description.media.image.urlExpirationDate"
2821
- },
2822
- {
2823
- path: "sections.source.settings.description.media.video.thumbnail.urlExpirationDate"
2824
- },
2825
- {
2826
- path: "sections.source.settings.description.media.document.urlExpirationDate"
2827
- },
2828
- {
2829
- path: "sections.source.settings.description.media.document.thumbnail.urlExpirationDate"
2830
- },
2831
- { path: "sections.source.steps.createdAt" },
2832
- { path: "sections.source.steps.updatedAt" },
2833
- {
2834
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
2835
- },
2836
- {
2837
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
2838
- },
2839
- {
2840
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
2841
- },
2842
- {
2843
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
2844
- },
2845
- {
2846
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
2847
- },
2848
- {
2849
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
2850
- },
2851
- {
2852
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
2853
- },
2854
- {
2855
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
2856
- },
2857
- {
2858
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
2859
- },
2860
- {
2861
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
2862
- },
2863
- {
2864
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
2865
- },
2866
- {
2867
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
2868
- },
2869
- {
2870
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
2871
- },
2872
- {
2873
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
2874
- },
2875
- {
2876
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
2877
- },
2878
- {
2879
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
2880
- },
2881
- {
2882
- path: "sections.source.steps.settings.general.video.video.urlExpirationDate"
2883
- },
2884
- {
2885
- path: "sections.source.steps.settings.general.video.video.resolutions.urlExpirationDate"
2886
- },
2887
- {
2888
- path: "sections.source.steps.settings.general.video.video.resolutions.poster.urlExpirationDate"
2889
- },
2890
- {
2891
- path: "sections.source.steps.settings.general.video.video.posters.urlExpirationDate"
2892
- },
2893
- {
2894
- path: "sections.source.steps.settings.general.video.coverImage.urlExpirationDate"
2895
- },
2896
- {
2897
- path: "sections.source.steps.settings.general.description.media.image.urlExpirationDate"
2898
- },
2899
- {
2900
- path: "sections.source.steps.settings.general.description.media.video.thumbnail.urlExpirationDate"
2901
- },
2902
- {
2903
- path: "sections.source.steps.settings.general.description.media.document.urlExpirationDate"
2904
- },
2905
- {
2906
- path: "sections.source.steps.settings.general.description.media.document.thumbnail.urlExpirationDate"
2907
- },
2908
- { path: "sections.steps.source.createdAt" },
2909
- { path: "sections.steps.source.updatedAt" },
2910
- {
2911
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
2912
- },
2913
- {
2914
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
2915
- },
2916
- {
2917
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
2918
- },
2919
- {
2920
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
2921
- },
2922
- {
2923
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
2924
- },
2925
- {
2926
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
2927
- },
2928
- {
2929
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
2930
- },
2931
- {
2932
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
2933
- },
2934
- {
2935
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
2936
- },
2937
- {
2938
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
2939
- },
2940
- {
2941
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
2942
- },
2943
- {
2944
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
2945
- },
2946
- {
2947
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
2948
- },
2949
- {
2950
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
2951
- },
2952
- {
2953
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
2954
- },
2955
- {
2956
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
2957
- },
2958
- {
2959
- path: "sections.steps.source.settings.general.video.video.urlExpirationDate"
2960
- },
2961
- {
2962
- path: "sections.steps.source.settings.general.video.video.resolutions.urlExpirationDate"
2963
- },
2964
- {
2965
- path: "sections.steps.source.settings.general.video.video.resolutions.poster.urlExpirationDate"
2966
- },
2967
- {
2968
- path: "sections.steps.source.settings.general.video.video.posters.urlExpirationDate"
2969
- },
2970
- {
2971
- path: "sections.steps.source.settings.general.video.coverImage.urlExpirationDate"
2972
- },
2973
- {
2974
- path: "sections.steps.source.settings.general.description.media.image.urlExpirationDate"
2975
- },
2976
- {
2977
- path: "sections.steps.source.settings.general.description.media.video.thumbnail.urlExpirationDate"
2978
- },
2979
- {
2980
- path: "sections.steps.source.settings.general.description.media.document.urlExpirationDate"
2981
- },
2982
- {
2983
- path: "sections.steps.source.settings.general.description.media.document.thumbnail.urlExpirationDate"
2984
- },
2985
- { path: "sections.steps.timeFrame.start" },
2986
- { path: "sections.steps.timeFrame.finish" },
2987
- { path: "sections.steps.feedback.createdAt" },
2988
- { path: "sections.steps.feedback.updatedAt" },
2989
- {
2990
- path: "sections.steps.feedback.items.media.mediaItems.image.urlExpirationDate"
2991
- },
2992
- {
2993
- path: "sections.steps.feedback.items.media.mediaItems.video.thumbnail.urlExpirationDate"
2994
- },
2995
- {
2996
- path: "sections.steps.feedback.items.media.mediaItems.document.urlExpirationDate"
2997
- },
2998
- {
2999
- path: "sections.steps.feedback.items.media.mediaItems.document.thumbnail.urlExpirationDate"
3000
- },
3001
- {
3002
- path: "sections.steps.feedback.quiz.media.mediaItems.image.urlExpirationDate"
3003
- },
3004
- {
3005
- path: "sections.steps.feedback.quiz.media.mediaItems.video.thumbnail.urlExpirationDate"
3006
- },
3007
- {
3008
- path: "sections.steps.feedback.quiz.media.mediaItems.document.urlExpirationDate"
3009
- },
3010
- {
3011
- path: "sections.steps.feedback.quiz.media.mediaItems.document.thumbnail.urlExpirationDate"
3012
- },
3013
- { path: "sections.steps.transitions.occurredAt" },
3014
- { path: "sections.transitions.occurredAt" }
3015
- ]
3016
- },
3017
- {
3018
- transformFn: import_float2.transformRESTFloatToSDKFloat,
3019
- paths: [
3020
- {
3021
- path: "sections.source.settings.description.media.image.focalPoint.x"
3022
- },
3023
- {
3024
- path: "sections.source.settings.description.media.image.focalPoint.y"
3025
- },
3026
- {
3027
- path: "sections.source.settings.description.media.video.thumbnail.focalPoint.x"
3028
- },
3029
- {
3030
- path: "sections.source.settings.description.media.video.thumbnail.focalPoint.y"
3031
- },
3032
- {
3033
- path: "sections.source.settings.description.media.document.thumbnail.focalPoint.x"
3034
- },
3035
- {
3036
- path: "sections.source.settings.description.media.document.thumbnail.focalPoint.y"
3037
- },
3038
- {
3039
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
3040
- },
3041
- {
3042
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
3043
- },
3044
- {
3045
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
3046
- },
3047
- {
3048
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
3049
- },
3050
- {
3051
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
3052
- },
3053
- {
3054
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
3055
- },
3056
- {
3057
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.quantity.amount"
3058
- },
3059
- {
3060
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
3061
- },
3062
- {
3063
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
3064
- },
3065
- {
3066
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
3067
- },
3068
- {
3069
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
3070
- },
3071
- {
3072
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
3073
- },
3074
- {
3075
- path: "sections.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
3076
- },
3077
- {
3078
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
3079
- },
3080
- {
3081
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
3082
- },
3083
- {
3084
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
3085
- },
3086
- {
3087
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
3088
- },
3089
- {
3090
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
3091
- },
3092
- {
3093
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
3094
- },
3095
- {
3096
- path: "sections.source.steps.settings.general.individual.quizSettings.type.quantity.amount"
3097
- },
3098
- {
3099
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
3100
- },
3101
- {
3102
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
3103
- },
3104
- {
3105
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
3106
- },
3107
- {
3108
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
3109
- },
3110
- {
3111
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
3112
- },
3113
- {
3114
- path: "sections.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
3115
- },
3116
- {
3117
- path: "sections.source.steps.settings.general.video.requiredCompletionPercentage"
3118
- },
3119
- {
3120
- path: "sections.source.steps.settings.general.video.video.resolutions.poster.focalPoint.x"
3121
- },
3122
- {
3123
- path: "sections.source.steps.settings.general.video.video.resolutions.poster.focalPoint.y"
3124
- },
3125
- {
3126
- path: "sections.source.steps.settings.general.video.video.posters.focalPoint.x"
3127
- },
3128
- {
3129
- path: "sections.source.steps.settings.general.video.video.posters.focalPoint.y"
3130
- },
3131
- {
3132
- path: "sections.source.steps.settings.general.video.coverImage.focalPoint.x"
3133
- },
3134
- {
3135
- path: "sections.source.steps.settings.general.video.coverImage.focalPoint.y"
3136
- },
3137
- {
3138
- path: "sections.source.steps.settings.general.description.media.image.focalPoint.x"
3139
- },
3140
- {
3141
- path: "sections.source.steps.settings.general.description.media.image.focalPoint.y"
3142
- },
3143
- {
3144
- path: "sections.source.steps.settings.general.description.media.video.thumbnail.focalPoint.x"
3145
- },
3146
- {
3147
- path: "sections.source.steps.settings.general.description.media.video.thumbnail.focalPoint.y"
3148
- },
3149
- {
3150
- path: "sections.source.steps.settings.general.description.media.document.thumbnail.focalPoint.x"
3151
- },
3152
- {
3153
- path: "sections.source.steps.settings.general.description.media.document.thumbnail.focalPoint.y"
3154
- },
3155
- {
3156
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
3157
- },
3158
- {
3159
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
3160
- },
3161
- {
3162
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
3163
- },
3164
- {
3165
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
3166
- },
3167
- {
3168
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
3169
- },
3170
- {
3171
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
3172
- },
3173
- {
3174
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.quantity.amount"
3175
- },
3176
- {
3177
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
3178
- },
3179
- {
3180
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
3181
- },
3182
- {
3183
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
3184
- },
3185
- {
3186
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
3187
- },
3188
- {
3189
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
3190
- },
3191
- {
3192
- path: "sections.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
3193
- },
3194
- {
3195
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
3196
- },
3197
- {
3198
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
3199
- },
3200
- {
3201
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
3202
- },
3203
- {
3204
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
3205
- },
3206
- {
3207
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
3208
- },
3209
- {
3210
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
3211
- },
3212
- {
3213
- path: "sections.steps.source.settings.general.individual.quizSettings.type.quantity.amount"
3214
- },
3215
- {
3216
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
3217
- },
3218
- {
3219
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
3220
- },
3221
- {
3222
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
3223
- },
3224
- {
3225
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
3226
- },
3227
- {
3228
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
3229
- },
3230
- {
3231
- path: "sections.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
3232
- },
3233
- {
3234
- path: "sections.steps.source.settings.general.video.requiredCompletionPercentage"
3235
- },
3236
- {
3237
- path: "sections.steps.source.settings.general.video.video.resolutions.poster.focalPoint.x"
3238
- },
3239
- {
3240
- path: "sections.steps.source.settings.general.video.video.resolutions.poster.focalPoint.y"
3241
- },
3242
- {
3243
- path: "sections.steps.source.settings.general.video.video.posters.focalPoint.x"
3244
- },
3245
- {
3246
- path: "sections.steps.source.settings.general.video.video.posters.focalPoint.y"
3247
- },
3248
- {
3249
- path: "sections.steps.source.settings.general.video.coverImage.focalPoint.x"
3250
- },
3251
- {
3252
- path: "sections.steps.source.settings.general.video.coverImage.focalPoint.y"
3253
- },
3254
- {
3255
- path: "sections.steps.source.settings.general.description.media.image.focalPoint.x"
3256
- },
3257
- {
3258
- path: "sections.steps.source.settings.general.description.media.image.focalPoint.y"
3259
- },
3260
- {
3261
- path: "sections.steps.source.settings.general.description.media.video.thumbnail.focalPoint.x"
3262
- },
3263
- {
3264
- path: "sections.steps.source.settings.general.description.media.video.thumbnail.focalPoint.y"
3265
- },
3266
- {
3267
- path: "sections.steps.source.settings.general.description.media.document.thumbnail.focalPoint.x"
3268
- },
3269
- {
3270
- path: "sections.steps.source.settings.general.description.media.document.thumbnail.focalPoint.y"
3271
- },
3272
- {
3273
- path: "sections.steps.feedback.items.media.mediaItems.image.focalPoint.x"
3274
- },
3275
- {
3276
- path: "sections.steps.feedback.items.media.mediaItems.image.focalPoint.y"
3277
- },
3278
- {
3279
- path: "sections.steps.feedback.items.media.mediaItems.video.thumbnail.focalPoint.x"
3280
- },
3281
- {
3282
- path: "sections.steps.feedback.items.media.mediaItems.video.thumbnail.focalPoint.y"
3283
- },
3284
- {
3285
- path: "sections.steps.feedback.items.media.mediaItems.document.thumbnail.focalPoint.x"
3286
- },
3287
- {
3288
- path: "sections.steps.feedback.items.media.mediaItems.document.thumbnail.focalPoint.y"
3289
- },
3290
- { path: "sections.steps.feedback.items.quantity.amount" },
3291
- {
3292
- path: "sections.steps.feedback.quiz.media.mediaItems.image.focalPoint.x"
3293
- },
3294
- {
3295
- path: "sections.steps.feedback.quiz.media.mediaItems.image.focalPoint.y"
3296
- },
3297
- {
3298
- path: "sections.steps.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.x"
3299
- },
3300
- {
3301
- path: "sections.steps.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.y"
3302
- },
3303
- {
3304
- path: "sections.steps.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.x"
3305
- },
3306
- {
3307
- path: "sections.steps.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.y"
3308
- },
3309
- { path: "sections.steps.feedback.quiz.quantity.amount" },
3310
- { path: "sections.steps.quizSubmission.score" }
3311
- ]
3312
- }
3313
- ]),
3314
- fallback: [
3315
- {
3316
- method: "GET",
3317
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3318
- protoPath: "/api/v1/participants/{challengeId}/sections/{participantId}",
3319
- data: payload,
3320
- host
3321
- }),
3322
- params: (0, import_rest_modules.toURLSearchParams)(payload)
3323
- }
3324
- ]
3325
- };
3326
- return metadata;
3327
- }
3328
- return __listSections;
3329
- }
3330
- function getSection(payload) {
3331
- function __getSection({ host }) {
3332
- const metadata = {
3333
- entityFqdn: "wix.challenges.v1.participant",
3334
- method: "GET",
3335
- methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetSection",
3336
- packageName: PACKAGE_NAME,
3337
- migrationOptions: {
3338
- optInTransformResponse: true
3339
- },
3340
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3341
- protoPath: "/api/v1/participants/{challengeId}/sections/{participantId}/{sectionId}",
3342
- data: payload,
3343
- host
3344
- }),
3345
- params: (0, import_rest_modules.toURLSearchParams)(payload),
3346
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
3347
- {
3348
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
3349
- paths: [
3350
- { path: "section.source.createdAt" },
3351
- { path: "section.source.updatedAt" },
3352
- {
3353
- path: "section.source.settings.description.media.image.urlExpirationDate"
3354
- },
3355
- {
3356
- path: "section.source.settings.description.media.video.thumbnail.urlExpirationDate"
3357
- },
3358
- {
3359
- path: "section.source.settings.description.media.document.urlExpirationDate"
3360
- },
3361
- {
3362
- path: "section.source.settings.description.media.document.thumbnail.urlExpirationDate"
3363
- },
3364
- { path: "section.source.steps.createdAt" },
3365
- { path: "section.source.steps.updatedAt" },
3366
- {
3367
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
3368
- },
3369
- {
3370
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
3371
- },
3372
- {
3373
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
3374
- },
3375
- {
3376
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
3377
- },
3378
- {
3379
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
3380
- },
3381
- {
3382
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
3383
- },
3384
- {
3385
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
3386
- },
3387
- {
3388
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
3389
- },
3390
- {
3391
- path: "section.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
3392
- },
3393
- {
3394
- path: "section.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
3395
- },
3396
- {
3397
- path: "section.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
3398
- },
3399
- {
3400
- path: "section.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
3401
- },
3402
- {
3403
- path: "section.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
3404
- },
3405
- {
3406
- path: "section.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
3407
- },
3408
- {
3409
- path: "section.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
3410
- },
3411
- {
3412
- path: "section.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
3413
- },
3414
- {
3415
- path: "section.source.steps.settings.general.video.video.urlExpirationDate"
3416
- },
3417
- {
3418
- path: "section.source.steps.settings.general.video.video.resolutions.urlExpirationDate"
3419
- },
3420
- {
3421
- path: "section.source.steps.settings.general.video.video.resolutions.poster.urlExpirationDate"
3422
- },
3423
- {
3424
- path: "section.source.steps.settings.general.video.video.posters.urlExpirationDate"
3425
- },
3426
- {
3427
- path: "section.source.steps.settings.general.video.coverImage.urlExpirationDate"
3428
- },
3429
- {
3430
- path: "section.source.steps.settings.general.description.media.image.urlExpirationDate"
3431
- },
3432
- {
3433
- path: "section.source.steps.settings.general.description.media.video.thumbnail.urlExpirationDate"
3434
- },
3435
- {
3436
- path: "section.source.steps.settings.general.description.media.document.urlExpirationDate"
3437
- },
3438
- {
3439
- path: "section.source.steps.settings.general.description.media.document.thumbnail.urlExpirationDate"
3440
- },
3441
- { path: "section.steps.source.createdAt" },
3442
- { path: "section.steps.source.updatedAt" },
3443
- {
3444
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
3445
- },
3446
- {
3447
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
3448
- },
3449
- {
3450
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
3451
- },
3452
- {
3453
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
3454
- },
3455
- {
3456
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
3457
- },
3458
- {
3459
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
3460
- },
3461
- {
3462
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
3463
- },
3464
- {
3465
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
3466
- },
3467
- {
3468
- path: "section.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
3469
- },
3470
- {
3471
- path: "section.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
3472
- },
3473
- {
3474
- path: "section.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
3475
- },
3476
- {
3477
- path: "section.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
3478
- },
3479
- {
3480
- path: "section.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
3481
- },
3482
- {
3483
- path: "section.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
3484
- },
3485
- {
3486
- path: "section.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
3487
- },
3488
- {
3489
- path: "section.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
3490
- },
3491
- {
3492
- path: "section.steps.source.settings.general.video.video.urlExpirationDate"
3493
- },
3494
- {
3495
- path: "section.steps.source.settings.general.video.video.resolutions.urlExpirationDate"
3496
- },
3497
- {
3498
- path: "section.steps.source.settings.general.video.video.resolutions.poster.urlExpirationDate"
3499
- },
3500
- {
3501
- path: "section.steps.source.settings.general.video.video.posters.urlExpirationDate"
3502
- },
3503
- {
3504
- path: "section.steps.source.settings.general.video.coverImage.urlExpirationDate"
3505
- },
3506
- {
3507
- path: "section.steps.source.settings.general.description.media.image.urlExpirationDate"
3508
- },
3509
- {
3510
- path: "section.steps.source.settings.general.description.media.video.thumbnail.urlExpirationDate"
3511
- },
3512
- {
3513
- path: "section.steps.source.settings.general.description.media.document.urlExpirationDate"
3514
- },
3515
- {
3516
- path: "section.steps.source.settings.general.description.media.document.thumbnail.urlExpirationDate"
3517
- },
3518
- { path: "section.steps.timeFrame.start" },
3519
- { path: "section.steps.timeFrame.finish" },
3520
- { path: "section.steps.feedback.createdAt" },
3521
- { path: "section.steps.feedback.updatedAt" },
3522
- {
3523
- path: "section.steps.feedback.items.media.mediaItems.image.urlExpirationDate"
3524
- },
3525
- {
3526
- path: "section.steps.feedback.items.media.mediaItems.video.thumbnail.urlExpirationDate"
3527
- },
3528
- {
3529
- path: "section.steps.feedback.items.media.mediaItems.document.urlExpirationDate"
3530
- },
3531
- {
3532
- path: "section.steps.feedback.items.media.mediaItems.document.thumbnail.urlExpirationDate"
3533
- },
3534
- {
3535
- path: "section.steps.feedback.quiz.media.mediaItems.image.urlExpirationDate"
3536
- },
3537
- {
3538
- path: "section.steps.feedback.quiz.media.mediaItems.video.thumbnail.urlExpirationDate"
3539
- },
3540
- {
3541
- path: "section.steps.feedback.quiz.media.mediaItems.document.urlExpirationDate"
3542
- },
3543
- {
3544
- path: "section.steps.feedback.quiz.media.mediaItems.document.thumbnail.urlExpirationDate"
3545
- },
3546
- { path: "section.steps.transitions.occurredAt" },
3547
- { path: "section.transitions.occurredAt" }
3548
- ]
3549
- },
3550
- {
3551
- transformFn: import_float2.transformRESTFloatToSDKFloat,
3552
- paths: [
3553
- {
3554
- path: "section.source.settings.description.media.image.focalPoint.x"
3555
- },
3556
- {
3557
- path: "section.source.settings.description.media.image.focalPoint.y"
3558
- },
3559
- {
3560
- path: "section.source.settings.description.media.video.thumbnail.focalPoint.x"
3561
- },
3562
- {
3563
- path: "section.source.settings.description.media.video.thumbnail.focalPoint.y"
3564
- },
3565
- {
3566
- path: "section.source.settings.description.media.document.thumbnail.focalPoint.x"
3567
- },
3568
- {
3569
- path: "section.source.settings.description.media.document.thumbnail.focalPoint.y"
3570
- },
3571
- {
3572
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
3573
- },
3574
- {
3575
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
3576
- },
3577
- {
3578
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
3579
- },
3580
- {
3581
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
3582
- },
3583
- {
3584
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
3585
- },
3586
- {
3587
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
3588
- },
3589
- {
3590
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.quantity.amount"
3591
- },
3592
- {
3593
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
3594
- },
3595
- {
3596
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
3597
- },
3598
- {
3599
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
3600
- },
3601
- {
3602
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
3603
- },
3604
- {
3605
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
3606
- },
3607
- {
3608
- path: "section.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
3609
- },
3610
- {
3611
- path: "section.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
3612
- },
3613
- {
3614
- path: "section.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
3615
- },
3616
- {
3617
- path: "section.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
3618
- },
3619
- {
3620
- path: "section.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
3621
- },
3622
- {
3623
- path: "section.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
3624
- },
3625
- {
3626
- path: "section.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
3627
- },
3628
- {
3629
- path: "section.source.steps.settings.general.individual.quizSettings.type.quantity.amount"
3630
- },
3631
- {
3632
- path: "section.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
3633
- },
3634
- {
3635
- path: "section.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
3636
- },
3637
- {
3638
- path: "section.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
3639
- },
3640
- {
3641
- path: "section.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
3642
- },
3643
- {
3644
- path: "section.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
3645
- },
3646
- {
3647
- path: "section.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
3648
- },
3649
- {
3650
- path: "section.source.steps.settings.general.video.requiredCompletionPercentage"
3651
- },
3652
- {
3653
- path: "section.source.steps.settings.general.video.video.resolutions.poster.focalPoint.x"
3654
- },
3655
- {
3656
- path: "section.source.steps.settings.general.video.video.resolutions.poster.focalPoint.y"
3657
- },
3658
- {
3659
- path: "section.source.steps.settings.general.video.video.posters.focalPoint.x"
3660
- },
3661
- {
3662
- path: "section.source.steps.settings.general.video.video.posters.focalPoint.y"
3663
- },
3664
- {
3665
- path: "section.source.steps.settings.general.video.coverImage.focalPoint.x"
3666
- },
3667
- {
3668
- path: "section.source.steps.settings.general.video.coverImage.focalPoint.y"
3669
- },
3670
- {
3671
- path: "section.source.steps.settings.general.description.media.image.focalPoint.x"
3672
- },
3673
- {
3674
- path: "section.source.steps.settings.general.description.media.image.focalPoint.y"
3675
- },
3676
- {
3677
- path: "section.source.steps.settings.general.description.media.video.thumbnail.focalPoint.x"
3678
- },
3679
- {
3680
- path: "section.source.steps.settings.general.description.media.video.thumbnail.focalPoint.y"
3681
- },
3682
- {
3683
- path: "section.source.steps.settings.general.description.media.document.thumbnail.focalPoint.x"
3684
- },
3685
- {
3686
- path: "section.source.steps.settings.general.description.media.document.thumbnail.focalPoint.y"
3687
- },
3688
- {
3689
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
3690
- },
3691
- {
3692
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
3693
- },
3694
- {
3695
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
3696
- },
3697
- {
3698
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
3699
- },
3700
- {
3701
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
3702
- },
3703
- {
3704
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
3705
- },
3706
- {
3707
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.quantity.amount"
3708
- },
3709
- {
3710
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
3711
- },
3712
- {
3713
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
3714
- },
3715
- {
3716
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
3717
- },
3718
- {
3719
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
3720
- },
3721
- {
3722
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
3723
- },
3724
- {
3725
- path: "section.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
3726
- },
3727
- {
3728
- path: "section.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
3729
- },
3730
- {
3731
- path: "section.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
3732
- },
3733
- {
3734
- path: "section.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
3735
- },
3736
- {
3737
- path: "section.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
3738
- },
3739
- {
3740
- path: "section.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
3741
- },
3742
- {
3743
- path: "section.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
3744
- },
3745
- {
3746
- path: "section.steps.source.settings.general.individual.quizSettings.type.quantity.amount"
3747
- },
3748
- {
3749
- path: "section.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
3750
- },
3751
- {
3752
- path: "section.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
3753
- },
3754
- {
3755
- path: "section.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
3756
- },
3757
- {
3758
- path: "section.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
3759
- },
3760
- {
3761
- path: "section.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
3762
- },
3763
- {
3764
- path: "section.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
3765
- },
3766
- {
3767
- path: "section.steps.source.settings.general.video.requiredCompletionPercentage"
3768
- },
3769
- {
3770
- path: "section.steps.source.settings.general.video.video.resolutions.poster.focalPoint.x"
3771
- },
3772
- {
3773
- path: "section.steps.source.settings.general.video.video.resolutions.poster.focalPoint.y"
3774
- },
3775
- {
3776
- path: "section.steps.source.settings.general.video.video.posters.focalPoint.x"
3777
- },
3778
- {
3779
- path: "section.steps.source.settings.general.video.video.posters.focalPoint.y"
3780
- },
3781
- {
3782
- path: "section.steps.source.settings.general.video.coverImage.focalPoint.x"
3783
- },
3784
- {
3785
- path: "section.steps.source.settings.general.video.coverImage.focalPoint.y"
3786
- },
3787
- {
3788
- path: "section.steps.source.settings.general.description.media.image.focalPoint.x"
3789
- },
3790
- {
3791
- path: "section.steps.source.settings.general.description.media.image.focalPoint.y"
3792
- },
3793
- {
3794
- path: "section.steps.source.settings.general.description.media.video.thumbnail.focalPoint.x"
3795
- },
3796
- {
3797
- path: "section.steps.source.settings.general.description.media.video.thumbnail.focalPoint.y"
3798
- },
3799
- {
3800
- path: "section.steps.source.settings.general.description.media.document.thumbnail.focalPoint.x"
3801
- },
3802
- {
3803
- path: "section.steps.source.settings.general.description.media.document.thumbnail.focalPoint.y"
3804
- },
3805
- {
3806
- path: "section.steps.feedback.items.media.mediaItems.image.focalPoint.x"
3807
- },
3808
- {
3809
- path: "section.steps.feedback.items.media.mediaItems.image.focalPoint.y"
3810
- },
3811
- {
3812
- path: "section.steps.feedback.items.media.mediaItems.video.thumbnail.focalPoint.x"
3813
- },
3814
- {
3815
- path: "section.steps.feedback.items.media.mediaItems.video.thumbnail.focalPoint.y"
3816
- },
3817
- {
3818
- path: "section.steps.feedback.items.media.mediaItems.document.thumbnail.focalPoint.x"
3819
- },
3820
- {
3821
- path: "section.steps.feedback.items.media.mediaItems.document.thumbnail.focalPoint.y"
3822
- },
3823
- { path: "section.steps.feedback.items.quantity.amount" },
3824
- {
3825
- path: "section.steps.feedback.quiz.media.mediaItems.image.focalPoint.x"
3826
- },
3827
- {
3828
- path: "section.steps.feedback.quiz.media.mediaItems.image.focalPoint.y"
3829
- },
3830
- {
3831
- path: "section.steps.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.x"
3832
- },
3833
- {
3834
- path: "section.steps.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.y"
3835
- },
3836
- {
3837
- path: "section.steps.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.x"
3838
- },
3839
- {
3840
- path: "section.steps.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.y"
3841
- },
3842
- { path: "section.steps.feedback.quiz.quantity.amount" },
3843
- { path: "section.steps.quizSubmission.score" }
3844
- ]
3845
- }
3846
- ]),
3847
- fallback: [
3848
- {
3849
- method: "GET",
3850
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3851
- protoPath: "/api/v1/participants/{challengeId}/sections/{participantId}/{sectionId}",
3852
- data: payload,
3853
- host
3854
- }),
3855
- params: (0, import_rest_modules.toURLSearchParams)(payload)
3856
- }
3857
- ]
3858
- };
3859
- return metadata;
3860
- }
3861
- return __getSection;
3862
- }
3863
- function myProgram(payload) {
3864
- function __myProgram({ host }) {
3865
- const metadata = {
3866
- entityFqdn: "wix.challenges.v1.participant",
3867
- method: "GET",
3868
- methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgram",
3869
- packageName: PACKAGE_NAME,
3870
- migrationOptions: {
3871
- optInTransformResponse: true
3872
- },
3873
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3874
- protoPath: "/api/v1/participants/my_program/{programId}",
3875
- data: payload,
3876
- host
3877
- }),
3878
- params: (0, import_rest_modules.toURLSearchParams)(payload),
3879
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
3880
- {
3881
- transformFn: import_float2.transformRESTFloatToSDKFloat,
3882
- paths: [
3883
- { path: "participant.performance" },
3884
- { path: "participant.challenge.media.image.focalPoint.x" },
3885
- { path: "participant.challenge.media.image.focalPoint.y" },
3886
- {
3887
- path: "participant.challenge.media.video.thumbnail.focalPoint.x"
3888
- },
3889
- {
3890
- path: "participant.challenge.media.video.thumbnail.focalPoint.y"
3891
- },
3892
- {
3893
- path: "participant.challenge.media.document.thumbnail.focalPoint.x"
3894
- },
3895
- {
3896
- path: "participant.challenge.media.document.thumbnail.focalPoint.y"
3897
- }
3898
- ]
3899
- },
3900
- {
3901
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
3902
- paths: [
3903
- { path: "participant.challenge.media.image.urlExpirationDate" },
3904
- {
3905
- path: "participant.challenge.media.video.thumbnail.urlExpirationDate"
3906
- },
3907
- {
3908
- path: "participant.challenge.media.document.urlExpirationDate"
3909
- },
3910
- {
3911
- path: "participant.challenge.media.document.thumbnail.urlExpirationDate"
3912
- },
3913
- { path: "participant.timeFrame.start" },
3914
- { path: "participant.timeFrame.finish" },
3915
- {
3916
- path: "participant.stepsSummary.lastEvent.transition.occurredAt"
3917
- },
3918
- { path: "participant.transitions.occurredAt" },
3919
- { path: "participant.certificate.issuedDate" }
3920
- ]
3921
- }
3922
- ]),
3923
- fallback: [
3924
- {
3925
- method: "GET",
3926
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3927
- protoPath: "/api/v1/participants/my_program/{programId}",
3928
- data: payload,
3929
- host
3930
- }),
3931
- params: (0, import_rest_modules.toURLSearchParams)(payload)
3932
- }
3933
- ]
3934
- };
3935
- return metadata;
3936
- }
3937
- return __myProgram;
3938
- }
3939
- function myProgramStep(payload) {
3940
- function __myProgramStep({ host }) {
3941
- const metadata = {
3942
- entityFqdn: "wix.challenges.v1.participant",
3943
- method: "GET",
3944
- methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgramStep",
3945
- packageName: PACKAGE_NAME,
3946
- migrationOptions: {
3947
- optInTransformResponse: true
3948
- },
3949
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3950
- protoPath: "/api/v1/participants/my_program/{programId}/step/{programStepId}",
3951
- data: payload,
3952
- host
3953
- }),
3954
- params: (0, import_rest_modules.toURLSearchParams)(payload),
3955
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
3956
- {
3957
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
3958
- paths: [
3959
- { path: "participantStep.source.createdAt" },
3960
- { path: "participantStep.source.updatedAt" },
3961
- {
3962
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
3963
- },
3964
- {
3965
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
3966
- },
3967
- {
3968
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
3969
- },
3970
- {
3971
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
3972
- },
3973
- {
3974
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
3975
- },
3976
- {
3977
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
3978
- },
3979
- {
3980
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
3981
- },
3982
- {
3983
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
3984
- },
3985
- {
3986
- path: "participantStep.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
3987
- },
3988
- {
3989
- path: "participantStep.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
3990
- },
3991
- {
3992
- path: "participantStep.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
3993
- },
3994
- {
3995
- path: "participantStep.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
3996
- },
3997
- {
3998
- path: "participantStep.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
3999
- },
4000
- {
4001
- path: "participantStep.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
4002
- },
4003
- {
4004
- path: "participantStep.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
4005
- },
4006
- {
4007
- path: "participantStep.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
4008
- },
4009
- {
4010
- path: "participantStep.source.settings.general.video.video.urlExpirationDate"
4011
- },
4012
- {
4013
- path: "participantStep.source.settings.general.video.video.resolutions.urlExpirationDate"
4014
- },
4015
- {
4016
- path: "participantStep.source.settings.general.video.video.resolutions.poster.urlExpirationDate"
4017
- },
4018
- {
4019
- path: "participantStep.source.settings.general.video.video.posters.urlExpirationDate"
4020
- },
4021
- {
4022
- path: "participantStep.source.settings.general.video.coverImage.urlExpirationDate"
4023
- },
4024
- {
4025
- path: "participantStep.source.settings.general.description.media.image.urlExpirationDate"
4026
- },
4027
- {
4028
- path: "participantStep.source.settings.general.description.media.video.thumbnail.urlExpirationDate"
4029
- },
4030
- {
4031
- path: "participantStep.source.settings.general.description.media.document.urlExpirationDate"
4032
- },
4033
- {
4034
- path: "participantStep.source.settings.general.description.media.document.thumbnail.urlExpirationDate"
4035
- },
4036
- { path: "participantStep.timeFrame.start" },
4037
- { path: "participantStep.timeFrame.finish" },
4038
- { path: "participantStep.feedback.createdAt" },
4039
- { path: "participantStep.feedback.updatedAt" },
4040
- {
4041
- path: "participantStep.feedback.items.media.mediaItems.image.urlExpirationDate"
4042
- },
4043
- {
4044
- path: "participantStep.feedback.items.media.mediaItems.video.thumbnail.urlExpirationDate"
4045
- },
4046
- {
4047
- path: "participantStep.feedback.items.media.mediaItems.document.urlExpirationDate"
4048
- },
4049
- {
4050
- path: "participantStep.feedback.items.media.mediaItems.document.thumbnail.urlExpirationDate"
4051
- },
4052
- {
4053
- path: "participantStep.feedback.quiz.media.mediaItems.image.urlExpirationDate"
4054
- },
4055
- {
4056
- path: "participantStep.feedback.quiz.media.mediaItems.video.thumbnail.urlExpirationDate"
4057
- },
4058
- {
4059
- path: "participantStep.feedback.quiz.media.mediaItems.document.urlExpirationDate"
4060
- },
4061
- {
4062
- path: "participantStep.feedback.quiz.media.mediaItems.document.thumbnail.urlExpirationDate"
4063
- },
4064
- { path: "participantStep.transitions.occurredAt" }
4065
- ]
4066
- },
4067
- {
4068
- transformFn: import_float2.transformRESTFloatToSDKFloat,
4069
- paths: [
4070
- {
4071
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
4072
- },
4073
- {
4074
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
4075
- },
4076
- {
4077
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
4078
- },
4079
- {
4080
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
4081
- },
4082
- {
4083
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
4084
- },
4085
- {
4086
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
4087
- },
4088
- {
4089
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.quantity.amount"
4090
- },
4091
- {
4092
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
4093
- },
4094
- {
4095
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
4096
- },
4097
- {
4098
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
4099
- },
4100
- {
4101
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
4102
- },
4103
- {
4104
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
4105
- },
4106
- {
4107
- path: "participantStep.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
4108
- },
4109
- {
4110
- path: "participantStep.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
4111
- },
4112
- {
4113
- path: "participantStep.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
4114
- },
4115
- {
4116
- path: "participantStep.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
4117
- },
4118
- {
4119
- path: "participantStep.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
4120
- },
4121
- {
4122
- path: "participantStep.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
4123
- },
4124
- {
4125
- path: "participantStep.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
4126
- },
4127
- {
4128
- path: "participantStep.source.settings.general.individual.quizSettings.type.quantity.amount"
4129
- },
4130
- {
4131
- path: "participantStep.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
4132
- },
4133
- {
4134
- path: "participantStep.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
4135
- },
4136
- {
4137
- path: "participantStep.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
4138
- },
4139
- {
4140
- path: "participantStep.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
4141
- },
4142
- {
4143
- path: "participantStep.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
4144
- },
4145
- {
4146
- path: "participantStep.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
4147
- },
4148
- {
4149
- path: "participantStep.source.settings.general.video.requiredCompletionPercentage"
4150
- },
4151
- {
4152
- path: "participantStep.source.settings.general.video.video.resolutions.poster.focalPoint.x"
4153
- },
4154
- {
4155
- path: "participantStep.source.settings.general.video.video.resolutions.poster.focalPoint.y"
4156
- },
4157
- {
4158
- path: "participantStep.source.settings.general.video.video.posters.focalPoint.x"
4159
- },
4160
- {
4161
- path: "participantStep.source.settings.general.video.video.posters.focalPoint.y"
4162
- },
4163
- {
4164
- path: "participantStep.source.settings.general.video.coverImage.focalPoint.x"
4165
- },
4166
- {
4167
- path: "participantStep.source.settings.general.video.coverImage.focalPoint.y"
4168
- },
4169
- {
4170
- path: "participantStep.source.settings.general.description.media.image.focalPoint.x"
4171
- },
4172
- {
4173
- path: "participantStep.source.settings.general.description.media.image.focalPoint.y"
4174
- },
4175
- {
4176
- path: "participantStep.source.settings.general.description.media.video.thumbnail.focalPoint.x"
4177
- },
4178
- {
4179
- path: "participantStep.source.settings.general.description.media.video.thumbnail.focalPoint.y"
4180
- },
4181
- {
4182
- path: "participantStep.source.settings.general.description.media.document.thumbnail.focalPoint.x"
4183
- },
4184
- {
4185
- path: "participantStep.source.settings.general.description.media.document.thumbnail.focalPoint.y"
4186
- },
4187
- {
4188
- path: "participantStep.feedback.items.media.mediaItems.image.focalPoint.x"
4189
- },
4190
- {
4191
- path: "participantStep.feedback.items.media.mediaItems.image.focalPoint.y"
4192
- },
4193
- {
4194
- path: "participantStep.feedback.items.media.mediaItems.video.thumbnail.focalPoint.x"
4195
- },
4196
- {
4197
- path: "participantStep.feedback.items.media.mediaItems.video.thumbnail.focalPoint.y"
4198
- },
4199
- {
4200
- path: "participantStep.feedback.items.media.mediaItems.document.thumbnail.focalPoint.x"
4201
- },
4202
- {
4203
- path: "participantStep.feedback.items.media.mediaItems.document.thumbnail.focalPoint.y"
4204
- },
4205
- { path: "participantStep.feedback.items.quantity.amount" },
4206
- {
4207
- path: "participantStep.feedback.quiz.media.mediaItems.image.focalPoint.x"
4208
- },
4209
- {
4210
- path: "participantStep.feedback.quiz.media.mediaItems.image.focalPoint.y"
4211
- },
4212
- {
4213
- path: "participantStep.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.x"
4214
- },
4215
- {
4216
- path: "participantStep.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.y"
4217
- },
4218
- {
4219
- path: "participantStep.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.x"
4220
- },
4221
- {
4222
- path: "participantStep.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.y"
4223
- },
4224
- { path: "participantStep.feedback.quiz.quantity.amount" },
4225
- { path: "participantStep.quizSubmission.score" }
4226
- ]
4227
- }
4228
- ]),
4229
- fallback: [
4230
- {
4231
- method: "GET",
4232
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
4233
- protoPath: "/api/v1/participants/my_program/{programId}/step/{programStepId}",
4234
- data: payload,
4235
- host
4236
- }),
4237
- params: (0, import_rest_modules.toURLSearchParams)(payload)
4238
- }
4239
- ]
4240
- };
4241
- return metadata;
4242
- }
4243
- return __myProgramStep;
4244
- }
4245
- function myProgramSection(payload) {
4246
- function __myProgramSection({ host }) {
4247
- const metadata = {
4248
- entityFqdn: "wix.challenges.v1.participant",
4249
- method: "GET",
4250
- methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgramSection",
4251
- packageName: PACKAGE_NAME,
4252
- migrationOptions: {
4253
- optInTransformResponse: true
4254
- },
4255
- url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
4256
- protoPath: "/api/v1/participants/my_program/{programId}/section/{programSectionId}",
4257
- data: payload,
4258
- host
4259
- }),
4260
- params: (0, import_rest_modules.toURLSearchParams)(payload),
4261
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
4262
- {
4263
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
4264
- paths: [
4265
- { path: "participantSection.source.createdAt" },
4266
- { path: "participantSection.source.updatedAt" },
4267
- {
4268
- path: "participantSection.source.settings.description.media.image.urlExpirationDate"
4269
- },
4270
- {
4271
- path: "participantSection.source.settings.description.media.video.thumbnail.urlExpirationDate"
4272
- },
4273
- {
4274
- path: "participantSection.source.settings.description.media.document.urlExpirationDate"
4275
- },
4276
- {
4277
- path: "participantSection.source.settings.description.media.document.thumbnail.urlExpirationDate"
4278
- },
4279
- { path: "participantSection.source.steps.createdAt" },
4280
- { path: "participantSection.source.steps.updatedAt" },
4281
- {
4282
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
4283
- },
4284
- {
4285
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
4286
- },
4287
- {
4288
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
4289
- },
4290
- {
4291
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
4292
- },
4293
- {
4294
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
4295
- },
4296
- {
4297
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
4298
- },
4299
- {
4300
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
4301
- },
4302
- {
4303
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
4304
- },
4305
- {
4306
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
4307
- },
4308
- {
4309
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
4310
- },
4311
- {
4312
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
4313
- },
4314
- {
4315
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
4316
- },
4317
- {
4318
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
4319
- },
4320
- {
4321
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
4322
- },
4323
- {
4324
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
4325
- },
4326
- {
4327
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
4328
- },
4329
- {
4330
- path: "participantSection.source.steps.settings.general.video.video.urlExpirationDate"
4331
- },
4332
- {
4333
- path: "participantSection.source.steps.settings.general.video.video.resolutions.urlExpirationDate"
4334
- },
4335
- {
4336
- path: "participantSection.source.steps.settings.general.video.video.resolutions.poster.urlExpirationDate"
4337
- },
4338
- {
4339
- path: "participantSection.source.steps.settings.general.video.video.posters.urlExpirationDate"
4340
- },
4341
- {
4342
- path: "participantSection.source.steps.settings.general.video.coverImage.urlExpirationDate"
4343
- },
4344
- {
4345
- path: "participantSection.source.steps.settings.general.description.media.image.urlExpirationDate"
4346
- },
4347
- {
4348
- path: "participantSection.source.steps.settings.general.description.media.video.thumbnail.urlExpirationDate"
4349
- },
4350
- {
4351
- path: "participantSection.source.steps.settings.general.description.media.document.urlExpirationDate"
4352
- },
4353
- {
4354
- path: "participantSection.source.steps.settings.general.description.media.document.thumbnail.urlExpirationDate"
4355
- },
4356
- { path: "participantSection.steps.source.createdAt" },
4357
- { path: "participantSection.steps.source.updatedAt" },
4358
- {
4359
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
4360
- },
4361
- {
4362
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
4363
- },
4364
- {
4365
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
4366
- },
4367
- {
4368
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
4369
- },
4370
- {
4371
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
4372
- },
4373
- {
4374
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
4375
- },
4376
- {
4377
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
4378
- },
4379
- {
4380
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
4381
- },
4382
- {
4383
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.urlExpirationDate"
4384
- },
4385
- {
4386
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.urlExpirationDate"
4387
- },
4388
- {
4389
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.urlExpirationDate"
4390
- },
4391
- {
4392
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.urlExpirationDate"
4393
- },
4394
- {
4395
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.urlExpirationDate"
4396
- },
4397
- {
4398
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.urlExpirationDate"
4399
- },
4400
- {
4401
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.urlExpirationDate"
4402
- },
4403
- {
4404
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.urlExpirationDate"
4405
- },
4406
- {
4407
- path: "participantSection.steps.source.settings.general.video.video.urlExpirationDate"
4408
- },
4409
- {
4410
- path: "participantSection.steps.source.settings.general.video.video.resolutions.urlExpirationDate"
4411
- },
4412
- {
4413
- path: "participantSection.steps.source.settings.general.video.video.resolutions.poster.urlExpirationDate"
4414
- },
4415
- {
4416
- path: "participantSection.steps.source.settings.general.video.video.posters.urlExpirationDate"
4417
- },
4418
- {
4419
- path: "participantSection.steps.source.settings.general.video.coverImage.urlExpirationDate"
4420
- },
4421
- {
4422
- path: "participantSection.steps.source.settings.general.description.media.image.urlExpirationDate"
4423
- },
4424
- {
4425
- path: "participantSection.steps.source.settings.general.description.media.video.thumbnail.urlExpirationDate"
4426
- },
4427
- {
4428
- path: "participantSection.steps.source.settings.general.description.media.document.urlExpirationDate"
4429
- },
4430
- {
4431
- path: "participantSection.steps.source.settings.general.description.media.document.thumbnail.urlExpirationDate"
4432
- },
4433
- { path: "participantSection.steps.timeFrame.start" },
4434
- { path: "participantSection.steps.timeFrame.finish" },
4435
- { path: "participantSection.steps.feedback.createdAt" },
4436
- { path: "participantSection.steps.feedback.updatedAt" },
4437
- {
4438
- path: "participantSection.steps.feedback.items.media.mediaItems.image.urlExpirationDate"
4439
- },
4440
- {
4441
- path: "participantSection.steps.feedback.items.media.mediaItems.video.thumbnail.urlExpirationDate"
4442
- },
4443
- {
4444
- path: "participantSection.steps.feedback.items.media.mediaItems.document.urlExpirationDate"
4445
- },
4446
- {
4447
- path: "participantSection.steps.feedback.items.media.mediaItems.document.thumbnail.urlExpirationDate"
4448
- },
4449
- {
4450
- path: "participantSection.steps.feedback.quiz.media.mediaItems.image.urlExpirationDate"
4451
- },
4452
- {
4453
- path: "participantSection.steps.feedback.quiz.media.mediaItems.video.thumbnail.urlExpirationDate"
4454
- },
4455
- {
4456
- path: "participantSection.steps.feedback.quiz.media.mediaItems.document.urlExpirationDate"
4457
- },
4458
- {
4459
- path: "participantSection.steps.feedback.quiz.media.mediaItems.document.thumbnail.urlExpirationDate"
4460
- },
4461
- { path: "participantSection.steps.transitions.occurredAt" },
4462
- { path: "participantSection.transitions.occurredAt" }
4463
- ]
4464
- },
4465
- {
4466
- transformFn: import_float2.transformRESTFloatToSDKFloat,
4467
- paths: [
4468
- {
4469
- path: "participantSection.source.settings.description.media.image.focalPoint.x"
4470
- },
4471
- {
4472
- path: "participantSection.source.settings.description.media.image.focalPoint.y"
4473
- },
4474
- {
4475
- path: "participantSection.source.settings.description.media.video.thumbnail.focalPoint.x"
4476
- },
4477
- {
4478
- path: "participantSection.source.settings.description.media.video.thumbnail.focalPoint.y"
4479
- },
4480
- {
4481
- path: "participantSection.source.settings.description.media.document.thumbnail.focalPoint.x"
4482
- },
4483
- {
4484
- path: "participantSection.source.settings.description.media.document.thumbnail.focalPoint.y"
4485
- },
4486
- {
4487
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
4488
- },
4489
- {
4490
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
4491
- },
4492
- {
4493
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
4494
- },
4495
- {
4496
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
4497
- },
4498
- {
4499
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
4500
- },
4501
- {
4502
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
4503
- },
4504
- {
4505
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.quantity.amount"
4506
- },
4507
- {
4508
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
4509
- },
4510
- {
4511
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
4512
- },
4513
- {
4514
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
4515
- },
4516
- {
4517
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
4518
- },
4519
- {
4520
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
4521
- },
4522
- {
4523
- path: "participantSection.source.steps.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
4524
- },
4525
- {
4526
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
4527
- },
4528
- {
4529
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
4530
- },
4531
- {
4532
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
4533
- },
4534
- {
4535
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
4536
- },
4537
- {
4538
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
4539
- },
4540
- {
4541
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
4542
- },
4543
- {
4544
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.quantity.amount"
4545
- },
4546
- {
4547
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
4548
- },
4549
- {
4550
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
4551
- },
4552
- {
4553
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
4554
- },
4555
- {
4556
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
4557
- },
4558
- {
4559
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
4560
- },
4561
- {
4562
- path: "participantSection.source.steps.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
4563
- },
4564
- {
4565
- path: "participantSection.source.steps.settings.general.video.requiredCompletionPercentage"
4566
- },
4567
- {
4568
- path: "participantSection.source.steps.settings.general.video.video.resolutions.poster.focalPoint.x"
4569
- },
4570
- {
4571
- path: "participantSection.source.steps.settings.general.video.video.resolutions.poster.focalPoint.y"
4572
- },
4573
- {
4574
- path: "participantSection.source.steps.settings.general.video.video.posters.focalPoint.x"
4575
- },
4576
- {
4577
- path: "participantSection.source.steps.settings.general.video.video.posters.focalPoint.y"
4578
- },
4579
- {
4580
- path: "participantSection.source.steps.settings.general.video.coverImage.focalPoint.x"
4581
- },
4582
- {
4583
- path: "participantSection.source.steps.settings.general.video.coverImage.focalPoint.y"
4584
- },
4585
- {
4586
- path: "participantSection.source.steps.settings.general.description.media.image.focalPoint.x"
4587
- },
4588
- {
4589
- path: "participantSection.source.steps.settings.general.description.media.image.focalPoint.y"
4590
- },
4591
- {
4592
- path: "participantSection.source.steps.settings.general.description.media.video.thumbnail.focalPoint.x"
4593
- },
4594
- {
4595
- path: "participantSection.source.steps.settings.general.description.media.video.thumbnail.focalPoint.y"
4596
- },
4597
- {
4598
- path: "participantSection.source.steps.settings.general.description.media.document.thumbnail.focalPoint.x"
4599
- },
4600
- {
4601
- path: "participantSection.source.steps.settings.general.description.media.document.thumbnail.focalPoint.y"
4602
- },
4603
- {
4604
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
4605
- },
4606
- {
4607
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
4608
- },
4609
- {
4610
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
4611
- },
4612
- {
4613
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
4614
- },
4615
- {
4616
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
4617
- },
4618
- {
4619
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
4620
- },
4621
- {
4622
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.quantity.amount"
4623
- },
4624
- {
4625
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
4626
- },
4627
- {
4628
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
4629
- },
4630
- {
4631
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
4632
- },
4633
- {
4634
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
4635
- },
4636
- {
4637
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
4638
- },
4639
- {
4640
- path: "participantSection.steps.source.settings.general.individual.feedbackSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
4641
- },
4642
- {
4643
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.x"
4644
- },
4645
- {
4646
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.image.focalPoint.y"
4647
- },
4648
- {
4649
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.x"
4650
- },
4651
- {
4652
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.video.thumbnail.focalPoint.y"
4653
- },
4654
- {
4655
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.x"
4656
- },
4657
- {
4658
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multipleChoice.choices.description.media.document.thumbnail.focalPoint.y"
4659
- },
4660
- {
4661
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.quantity.amount"
4662
- },
4663
- {
4664
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.x"
4665
- },
4666
- {
4667
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.image.focalPoint.y"
4668
- },
4669
- {
4670
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.x"
4671
- },
4672
- {
4673
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.video.thumbnail.focalPoint.y"
4674
- },
4675
- {
4676
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.x"
4677
- },
4678
- {
4679
- path: "participantSection.steps.source.settings.general.individual.quizSettings.type.multiSelect.choices.description.media.document.thumbnail.focalPoint.y"
4680
- },
4681
- {
4682
- path: "participantSection.steps.source.settings.general.video.requiredCompletionPercentage"
4683
- },
4684
- {
4685
- path: "participantSection.steps.source.settings.general.video.video.resolutions.poster.focalPoint.x"
4686
- },
4687
- {
4688
- path: "participantSection.steps.source.settings.general.video.video.resolutions.poster.focalPoint.y"
4689
- },
4690
- {
4691
- path: "participantSection.steps.source.settings.general.video.video.posters.focalPoint.x"
4692
- },
4693
- {
4694
- path: "participantSection.steps.source.settings.general.video.video.posters.focalPoint.y"
4695
- },
4696
- {
4697
- path: "participantSection.steps.source.settings.general.video.coverImage.focalPoint.x"
4698
- },
4699
- {
4700
- path: "participantSection.steps.source.settings.general.video.coverImage.focalPoint.y"
4701
- },
4702
- {
4703
- path: "participantSection.steps.source.settings.general.description.media.image.focalPoint.x"
4704
- },
4705
- {
4706
- path: "participantSection.steps.source.settings.general.description.media.image.focalPoint.y"
4707
- },
4708
- {
4709
- path: "participantSection.steps.source.settings.general.description.media.video.thumbnail.focalPoint.x"
4710
- },
4711
- {
4712
- path: "participantSection.steps.source.settings.general.description.media.video.thumbnail.focalPoint.y"
4713
- },
4714
- {
4715
- path: "participantSection.steps.source.settings.general.description.media.document.thumbnail.focalPoint.x"
4716
- },
4717
- {
4718
- path: "participantSection.steps.source.settings.general.description.media.document.thumbnail.focalPoint.y"
4719
- },
4720
- {
4721
- path: "participantSection.steps.feedback.items.media.mediaItems.image.focalPoint.x"
4722
- },
4723
- {
4724
- path: "participantSection.steps.feedback.items.media.mediaItems.image.focalPoint.y"
4725
- },
4726
- {
4727
- path: "participantSection.steps.feedback.items.media.mediaItems.video.thumbnail.focalPoint.x"
4728
- },
4729
- {
4730
- path: "participantSection.steps.feedback.items.media.mediaItems.video.thumbnail.focalPoint.y"
4731
- },
4732
- {
4733
- path: "participantSection.steps.feedback.items.media.mediaItems.document.thumbnail.focalPoint.x"
4734
- },
4735
- {
4736
- path: "participantSection.steps.feedback.items.media.mediaItems.document.thumbnail.focalPoint.y"
4737
- },
1142
+ function myProgram(payload) {
1143
+ function __myProgram({ host }) {
1144
+ const metadata = {
1145
+ entityFqdn: "wix.challenges.v1.participant",
1146
+ method: "GET",
1147
+ methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgram",
1148
+ packageName: PACKAGE_NAME,
1149
+ migrationOptions: {
1150
+ optInTransformResponse: true
1151
+ },
1152
+ url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1153
+ protoPath: "/api/v1/participants/my_program/{programId}",
1154
+ data: payload,
1155
+ host
1156
+ }),
1157
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
1158
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1159
+ {
1160
+ transformFn: import_float.transformRESTFloatToSDKFloat,
1161
+ paths: [
1162
+ { path: "participant.performance" },
1163
+ { path: "participant.challenge.media.image.focalPoint.x" },
1164
+ { path: "participant.challenge.media.image.focalPoint.y" },
4738
1165
  {
4739
- path: "participantSection.steps.feedback.items.quantity.amount"
1166
+ path: "participant.challenge.media.video.thumbnail.focalPoint.x"
4740
1167
  },
4741
1168
  {
4742
- path: "participantSection.steps.feedback.quiz.media.mediaItems.image.focalPoint.x"
1169
+ path: "participant.challenge.media.video.thumbnail.focalPoint.y"
4743
1170
  },
4744
1171
  {
4745
- path: "participantSection.steps.feedback.quiz.media.mediaItems.image.focalPoint.y"
1172
+ path: "participant.challenge.media.document.thumbnail.focalPoint.x"
4746
1173
  },
4747
1174
  {
4748
- path: "participantSection.steps.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.x"
4749
- },
1175
+ path: "participant.challenge.media.document.thumbnail.focalPoint.y"
1176
+ }
1177
+ ]
1178
+ },
1179
+ {
1180
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
1181
+ paths: [
1182
+ { path: "participant.challenge.media.image.urlExpirationDate" },
4750
1183
  {
4751
- path: "participantSection.steps.feedback.quiz.media.mediaItems.video.thumbnail.focalPoint.y"
1184
+ path: "participant.challenge.media.video.thumbnail.urlExpirationDate"
4752
1185
  },
4753
1186
  {
4754
- path: "participantSection.steps.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.x"
1187
+ path: "participant.challenge.media.document.urlExpirationDate"
4755
1188
  },
4756
1189
  {
4757
- path: "participantSection.steps.feedback.quiz.media.mediaItems.document.thumbnail.focalPoint.y"
1190
+ path: "participant.challenge.media.document.thumbnail.urlExpirationDate"
4758
1191
  },
1192
+ { path: "participant.timeFrame.start" },
1193
+ { path: "participant.timeFrame.finish" },
4759
1194
  {
4760
- path: "participantSection.steps.feedback.quiz.quantity.amount"
1195
+ path: "participant.stepsSummary.lastEvent.transition.occurredAt"
4761
1196
  },
4762
- { path: "participantSection.steps.quizSubmission.score" }
1197
+ { path: "participant.transitions.occurredAt" },
1198
+ { path: "participant.certificate.issuedDate" }
4763
1199
  ]
4764
1200
  }
4765
1201
  ]),
@@ -4767,7 +1203,7 @@ function myProgramSection(payload) {
4767
1203
  {
4768
1204
  method: "GET",
4769
1205
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
4770
- protoPath: "/api/v1/participants/my_program/{programId}/section/{programSectionId}",
1206
+ protoPath: "/api/v1/participants/my_program/{programId}",
4771
1207
  data: payload,
4772
1208
  host
4773
1209
  }),
@@ -4777,7 +1213,7 @@ function myProgramSection(payload) {
4777
1213
  };
4778
1214
  return metadata;
4779
1215
  }
4780
- return __myProgramSection;
1216
+ return __myProgram;
4781
1217
  }
4782
1218
 
4783
1219
  // src/challenges-v1-participant-online-program-participants.types.ts
@@ -4858,41 +1294,6 @@ var PaymentType = /* @__PURE__ */ ((PaymentType2) => {
4858
1294
  PaymentType2["PAID_PLANS"] = "PAID_PLANS";
4859
1295
  return PaymentType2;
4860
1296
  })(PaymentType || {});
4861
- var DescriptionFieldSet = /* @__PURE__ */ ((DescriptionFieldSet2) => {
4862
- DescriptionFieldSet2["EXTENDED"] = "EXTENDED";
4863
- DescriptionFieldSet2["STANDARD"] = "STANDARD";
4864
- return DescriptionFieldSet2;
4865
- })(DescriptionFieldSet || {});
4866
- var ChoiceRightness = /* @__PURE__ */ ((ChoiceRightness2) => {
4867
- ChoiceRightness2["NEUTRAL"] = "NEUTRAL";
4868
- ChoiceRightness2["RIGHT"] = "RIGHT";
4869
- ChoiceRightness2["WRONG"] = "WRONG";
4870
- return ChoiceRightness2;
4871
- })(ChoiceRightness || {});
4872
- var QuizType = /* @__PURE__ */ ((QuizType2) => {
4873
- QuizType2["QUIZ"] = "QUIZ";
4874
- QuizType2["QUESTIONNAIRE"] = "QUESTIONNAIRE";
4875
- return QuizType2;
4876
- })(QuizType || {});
4877
- var DurationUnit = /* @__PURE__ */ ((DurationUnit2) => {
4878
- DurationUnit2["WEEKS"] = "WEEKS";
4879
- DurationUnit2["DAYS"] = "DAYS";
4880
- DurationUnit2["HOURS"] = "HOURS";
4881
- DurationUnit2["MINUTES"] = "MINUTES";
4882
- return DurationUnit2;
4883
- })(DurationUnit || {});
4884
- var ResolutionStatus = /* @__PURE__ */ ((ResolutionStatus2) => {
4885
- ResolutionStatus2["COMPLETED"] = "COMPLETED";
4886
- ResolutionStatus2["SKIPPED"] = "SKIPPED";
4887
- ResolutionStatus2["UNDO"] = "UNDO";
4888
- ResolutionStatus2["QUIZ_SUBMIT"] = "QUIZ_SUBMIT";
4889
- return ResolutionStatus2;
4890
- })(ResolutionStatus || {});
4891
- var Status = /* @__PURE__ */ ((Status2) => {
4892
- Status2["COMPLETED"] = "COMPLETED";
4893
- Status2["FAILED"] = "FAILED";
4894
- return Status2;
4895
- })(Status || {});
4896
1297
  var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
4897
1298
  WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
4898
1299
  WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
@@ -5308,173 +1709,6 @@ function removeCouponFromOrder2() {
5308
1709
  __originalResponseType: null
5309
1710
  };
5310
1711
  }
5311
- function listSteps2() {
5312
- const payload = {
5313
- challengeId: ":challengeId",
5314
- participantId: ":participantId"
5315
- };
5316
- const getRequestOptions = listSteps(payload);
5317
- const getUrl = (context) => {
5318
- const { url } = getRequestOptions(context);
5319
- return url;
5320
- };
5321
- return {
5322
- getUrl,
5323
- httpMethod: "GET",
5324
- path: "/api/v1/participants/{challengeId}/steps/{participantId}",
5325
- pathParams: { challengeId: "challengeId", participantId: "participantId" },
5326
- __requestType: null,
5327
- __originalRequestType: null,
5328
- __responseType: null,
5329
- __originalResponseType: null
5330
- };
5331
- }
5332
- function getStep2() {
5333
- const payload = {
5334
- challengeId: ":challengeId",
5335
- participantId: ":participantId",
5336
- stepId: ":stepId"
5337
- };
5338
- const getRequestOptions = getStep(payload);
5339
- const getUrl = (context) => {
5340
- const { url } = getRequestOptions(context);
5341
- return url;
5342
- };
5343
- return {
5344
- getUrl,
5345
- httpMethod: "GET",
5346
- path: "/api/v1/participants/{challengeId}/steps/{participantId}/{stepId}",
5347
- pathParams: {
5348
- challengeId: "challengeId",
5349
- participantId: "participantId",
5350
- stepId: "stepId"
5351
- },
5352
- __requestType: null,
5353
- __originalRequestType: null,
5354
- __responseType: null,
5355
- __originalResponseType: null
5356
- };
5357
- }
5358
- function resolveStep2() {
5359
- const payload = {
5360
- challengeId: ":challengeId",
5361
- participantId: ":participantId",
5362
- stepId: ":stepId"
5363
- };
5364
- const getRequestOptions = resolveStep(payload);
5365
- const getUrl = (context) => {
5366
- const { url } = getRequestOptions(context);
5367
- return url;
5368
- };
5369
- return {
5370
- getUrl,
5371
- httpMethod: "PATCH",
5372
- path: "/api/v1/participants/{challengeId}/steps/{participantId}/{stepId}",
5373
- pathParams: {
5374
- challengeId: "challengeId",
5375
- participantId: "participantId",
5376
- stepId: "stepId"
5377
- },
5378
- __requestType: null,
5379
- __originalRequestType: null,
5380
- __responseType: null,
5381
- __originalResponseType: null
5382
- };
5383
- }
5384
- function updateStepFeedback2() {
5385
- const payload = {
5386
- challengeId: ":challengeId",
5387
- participantId: ":participantId",
5388
- stepId: ":stepId"
5389
- };
5390
- const getRequestOptions = updateStepFeedback(payload);
5391
- const getUrl = (context) => {
5392
- const { url } = getRequestOptions(context);
5393
- return url;
5394
- };
5395
- return {
5396
- getUrl,
5397
- httpMethod: "PUT",
5398
- path: "/api/v1/participants/{challengeId}/steps/{participantId}/feedback/{stepId}",
5399
- pathParams: {
5400
- challengeId: "challengeId",
5401
- participantId: "participantId",
5402
- stepId: "stepId"
5403
- },
5404
- __requestType: null,
5405
- __originalRequestType: null,
5406
- __responseType: null,
5407
- __originalResponseType: null
5408
- };
5409
- }
5410
- function getMediaUploadInfo2() {
5411
- const payload = {
5412
- challengeId: ":challengeId",
5413
- participantId: ":participantId"
5414
- };
5415
- const getRequestOptions = getMediaUploadInfo(payload);
5416
- const getUrl = (context) => {
5417
- const { url } = getRequestOptions(context);
5418
- return url;
5419
- };
5420
- return {
5421
- getUrl,
5422
- httpMethod: "GET",
5423
- path: "/api/v1/participants/{challengeId}/media/upload_info/{participantId}",
5424
- pathParams: { challengeId: "challengeId", participantId: "participantId" },
5425
- __requestType: null,
5426
- __originalRequestType: null,
5427
- __responseType: null,
5428
- __originalResponseType: null
5429
- };
5430
- }
5431
- function listSections2() {
5432
- const payload = {
5433
- challengeId: ":challengeId",
5434
- participantId: ":participantId"
5435
- };
5436
- const getRequestOptions = listSections(payload);
5437
- const getUrl = (context) => {
5438
- const { url } = getRequestOptions(context);
5439
- return url;
5440
- };
5441
- return {
5442
- getUrl,
5443
- httpMethod: "GET",
5444
- path: "/api/v1/participants/{challengeId}/sections/{participantId}",
5445
- pathParams: { challengeId: "challengeId", participantId: "participantId" },
5446
- __requestType: null,
5447
- __originalRequestType: null,
5448
- __responseType: null,
5449
- __originalResponseType: null
5450
- };
5451
- }
5452
- function getSection2() {
5453
- const payload = {
5454
- challengeId: ":challengeId",
5455
- participantId: ":participantId",
5456
- sectionId: ":sectionId"
5457
- };
5458
- const getRequestOptions = getSection(payload);
5459
- const getUrl = (context) => {
5460
- const { url } = getRequestOptions(context);
5461
- return url;
5462
- };
5463
- return {
5464
- getUrl,
5465
- httpMethod: "GET",
5466
- path: "/api/v1/participants/{challengeId}/sections/{participantId}/{sectionId}",
5467
- pathParams: {
5468
- challengeId: "challengeId",
5469
- participantId: "participantId",
5470
- sectionId: "sectionId"
5471
- },
5472
- __requestType: null,
5473
- __originalRequestType: null,
5474
- __responseType: null,
5475
- __originalResponseType: null
5476
- };
5477
- }
5478
1712
  function myProgram2() {
5479
1713
  const payload = { programId: ":programId" };
5480
1714
  const getRequestOptions = myProgram(payload);
@@ -5493,68 +1727,17 @@ function myProgram2() {
5493
1727
  __originalResponseType: null
5494
1728
  };
5495
1729
  }
5496
- function myProgramStep2() {
5497
- const payload = {
5498
- programId: ":programId",
5499
- programStepId: ":programStepId"
5500
- };
5501
- const getRequestOptions = myProgramStep(payload);
5502
- const getUrl = (context) => {
5503
- const { url } = getRequestOptions(context);
5504
- return url;
5505
- };
5506
- return {
5507
- getUrl,
5508
- httpMethod: "GET",
5509
- path: "/api/v1/participants/my_program/{programId}/step/{programStepId}",
5510
- pathParams: { programId: "programId", programStepId: "programStepId" },
5511
- __requestType: null,
5512
- __originalRequestType: null,
5513
- __responseType: null,
5514
- __originalResponseType: null
5515
- };
5516
- }
5517
- function myProgramSection2() {
5518
- const payload = {
5519
- programId: ":programId",
5520
- programSectionId: ":programSectionId"
5521
- };
5522
- const getRequestOptions = myProgramSection(payload);
5523
- const getUrl = (context) => {
5524
- const { url } = getRequestOptions(context);
5525
- return url;
5526
- };
5527
- return {
5528
- getUrl,
5529
- httpMethod: "GET",
5530
- path: "/api/v1/participants/my_program/{programId}/section/{programSectionId}",
5531
- pathParams: {
5532
- programId: "programId",
5533
- programSectionId: "programSectionId"
5534
- },
5535
- __requestType: null,
5536
- __originalRequestType: null,
5537
- __responseType: null,
5538
- __originalResponseType: null
5539
- };
5540
- }
5541
1730
  // Annotate the CommonJS export names for ESM import in node:
5542
1731
  0 && (module.exports = {
5543
- ChoiceRightnessOriginal,
5544
- DescriptionFieldSetOriginal,
5545
- DurationUnitOriginal,
5546
1732
  ParticipantStepStateOriginal,
5547
1733
  ParticipationStateOriginal,
5548
1734
  PaymentTypeOriginal,
5549
1735
  QueryParticipantsRequestJoinPathOriginal,
5550
1736
  QueryParticipantsRequestSortingCriterionOriginal,
5551
1737
  QueryParticipantsRequestSortingOrderOriginal,
5552
- QuizTypeOriginal,
5553
- ResolutionStatusOriginal,
5554
1738
  SortingCriterionOriginal,
5555
1739
  SortingOrderOriginal,
5556
1740
  StateOriginal,
5557
- StatusOriginal,
5558
1741
  WebhookIdentityTypeOriginal,
5559
1742
  addAllParticipant,
5560
1743
  addParticipant,
@@ -5564,27 +1747,18 @@ function myProgramSection2() {
5564
1747
  createPaymentOrder,
5565
1748
  deleteParticipant,
5566
1749
  getCertificate,
5567
- getMediaUploadInfo,
5568
1750
  getParticipant,
5569
- getSection,
5570
- getStep,
5571
1751
  inviteAllParticipants,
5572
1752
  inviteParticipants,
5573
1753
  issueCertificate,
5574
1754
  issueParticipantCertificate,
5575
1755
  joinParticipant,
5576
1756
  listParticipants,
5577
- listSections,
5578
- listSteps,
5579
1757
  myProgram,
5580
- myProgramSection,
5581
- myProgramStep,
5582
1758
  queryParticipants,
5583
1759
  removeCouponFromOrder,
5584
1760
  resetParticipantProgress,
5585
- resolveStep,
5586
1761
  reviveParticipant,
5587
- updateParticipant,
5588
- updateStepFeedback
1762
+ updateParticipant
5589
1763
  });
5590
1764
  //# sourceMappingURL=meta.js.map