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

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