@wix/auto_sdk_online-programs_online-program-participants 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/cjs/meta.js CHANGED
@@ -122,6 +122,9 @@ function queryParticipants(payload) {
122
122
  method: "POST",
123
123
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.QueryParticipants",
124
124
  packageName: PACKAGE_NAME,
125
+ migrationOptions: {
126
+ optInTransformResponse: true
127
+ },
125
128
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
126
129
  protoPath: "/api/v1/participants/{challengeId}/query",
127
130
  data: payload,
@@ -184,6 +187,9 @@ function listParticipants(payload) {
184
187
  method: "GET",
185
188
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListParticipants",
186
189
  packageName: PACKAGE_NAME,
190
+ migrationOptions: {
191
+ optInTransformResponse: true
192
+ },
187
193
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
188
194
  protoPath: "/api/v1/participants/{challengeId}",
189
195
  data: payload,
@@ -257,6 +263,9 @@ function joinParticipant(payload) {
257
263
  method: "POST",
258
264
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.JoinParticipant",
259
265
  packageName: PACKAGE_NAME,
266
+ migrationOptions: {
267
+ optInTransformResponse: true
268
+ },
260
269
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
261
270
  protoPath: "/api/v1/participants/{challengeId}",
262
271
  data: payload,
@@ -319,6 +328,9 @@ function addParticipant(payload) {
319
328
  method: "POST",
320
329
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.AddParticipant",
321
330
  packageName: PACKAGE_NAME,
331
+ migrationOptions: {
332
+ optInTransformResponse: true
333
+ },
322
334
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
323
335
  protoPath: "/api/v1/participants/{challengeId}/add",
324
336
  data: payload,
@@ -381,6 +393,9 @@ function addParticipants(payload) {
381
393
  method: "POST",
382
394
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.AddParticipants",
383
395
  packageName: PACKAGE_NAME,
396
+ migrationOptions: {
397
+ optInTransformResponse: true
398
+ },
384
399
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
385
400
  protoPath: "/api/v1/participants/{challengeId}/bulk-add",
386
401
  data: payload,
@@ -443,6 +458,9 @@ function addAllParticipant(payload) {
443
458
  method: "POST",
444
459
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.AddAllParticipant",
445
460
  packageName: PACKAGE_NAME,
461
+ migrationOptions: {
462
+ optInTransformResponse: true
463
+ },
446
464
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
447
465
  protoPath: "/api/v1/participants/{challengeId}/add-all",
448
466
  data: payload,
@@ -461,6 +479,9 @@ function createJoinRequest(payload) {
461
479
  method: "POST",
462
480
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.CreateJoinRequest",
463
481
  packageName: PACKAGE_NAME,
482
+ migrationOptions: {
483
+ optInTransformResponse: true
484
+ },
464
485
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
465
486
  protoPath: "/api/v1/participants/{challengeId}/join-requests",
466
487
  data: payload,
@@ -523,6 +544,9 @@ function inviteParticipants(payload) {
523
544
  method: "POST",
524
545
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.InviteParticipants",
525
546
  packageName: PACKAGE_NAME,
547
+ migrationOptions: {
548
+ optInTransformResponse: true
549
+ },
526
550
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
527
551
  protoPath: "/api/v1/participants/{challengeId}/invitations",
528
552
  data: payload,
@@ -541,6 +565,9 @@ function inviteAllParticipants(payload) {
541
565
  method: "POST",
542
566
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.InviteAllParticipants",
543
567
  packageName: PACKAGE_NAME,
568
+ migrationOptions: {
569
+ optInTransformResponse: true
570
+ },
544
571
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
545
572
  protoPath: "/api/v1/participants/{challengeId}/invite-all",
546
573
  data: payload,
@@ -559,6 +586,9 @@ function getParticipant(payload) {
559
586
  method: "GET",
560
587
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetParticipant",
561
588
  packageName: PACKAGE_NAME,
589
+ migrationOptions: {
590
+ optInTransformResponse: true
591
+ },
562
592
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
563
593
  protoPath: "/api/v1/participants/{challengeId}/{participantId}",
564
594
  data: payload,
@@ -632,6 +662,9 @@ function updateParticipant(payload) {
632
662
  method: "PATCH",
633
663
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.UpdateParticipant",
634
664
  packageName: PACKAGE_NAME,
665
+ migrationOptions: {
666
+ optInTransformResponse: true
667
+ },
635
668
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
636
669
  protoPath: "/api/v1/participants/{challengeId}/{participantId}",
637
670
  data: payload,
@@ -694,6 +727,9 @@ function deleteParticipant(payload) {
694
727
  method: "DELETE",
695
728
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.DeleteParticipant",
696
729
  packageName: PACKAGE_NAME,
730
+ migrationOptions: {
731
+ optInTransformResponse: true
732
+ },
697
733
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
698
734
  protoPath: "/api/v1/participants/{challengeId}/{participantId}",
699
735
  data: payload,
@@ -712,6 +748,9 @@ function reviveParticipant(payload) {
712
748
  method: "PATCH",
713
749
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ReviveParticipant",
714
750
  packageName: PACKAGE_NAME,
751
+ migrationOptions: {
752
+ optInTransformResponse: true
753
+ },
715
754
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
716
755
  protoPath: "/api/v1/participants/{challengeId}/revive/{participantId}",
717
756
  data: payload,
@@ -774,6 +813,9 @@ function resetParticipantProgress(payload) {
774
813
  method: "PATCH",
775
814
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ResetParticipantProgress",
776
815
  packageName: PACKAGE_NAME,
816
+ migrationOptions: {
817
+ optInTransformResponse: true
818
+ },
777
819
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
778
820
  protoPath: "/api/v1/participants/{challengeId}/reset/{participantId}",
779
821
  data: payload,
@@ -836,6 +878,9 @@ function issueParticipantCertificate(payload) {
836
878
  method: "POST",
837
879
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.IssueParticipantCertificate",
838
880
  packageName: PACKAGE_NAME,
881
+ migrationOptions: {
882
+ optInTransformResponse: true
883
+ },
839
884
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
840
885
  protoPath: "/api/v1/participants/{challengeId}/issue_certificate/{participantId}",
841
886
  data: payload,
@@ -898,6 +943,9 @@ function issueCertificate(payload) {
898
943
  method: "POST",
899
944
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.IssueCertificate",
900
945
  packageName: PACKAGE_NAME,
946
+ migrationOptions: {
947
+ optInTransformResponse: true
948
+ },
901
949
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
902
950
  protoPath: "/api/v1/participants/{challengeId}/get_certificate/{participantId}",
903
951
  data: payload,
@@ -960,6 +1008,9 @@ function getCertificate(payload) {
960
1008
  method: "GET",
961
1009
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetCertificate",
962
1010
  packageName: PACKAGE_NAME,
1011
+ migrationOptions: {
1012
+ optInTransformResponse: true
1013
+ },
963
1014
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
964
1015
  protoPath: "/api/v1/participants/{challengeId}/certificate/{participantId}",
965
1016
  data: payload,
@@ -989,6 +1040,9 @@ function createPaymentOrder(payload) {
989
1040
  method: "POST",
990
1041
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.CreatePaymentOrder",
991
1042
  packageName: PACKAGE_NAME,
1043
+ migrationOptions: {
1044
+ optInTransformResponse: true
1045
+ },
992
1046
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
993
1047
  protoPath: "/api/v1/participants/{challengeId}/payment-orders/{participantId}",
994
1048
  data: payload,
@@ -1051,6 +1105,9 @@ function applyCouponToOrder(payload) {
1051
1105
  method: "POST",
1052
1106
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ApplyCouponToOrder",
1053
1107
  packageName: PACKAGE_NAME,
1108
+ migrationOptions: {
1109
+ optInTransformResponse: true
1110
+ },
1054
1111
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1055
1112
  protoPath: "/api/v1/participants/{challengeId}/payment-orders/{participantId}/coupons/{orderId}",
1056
1113
  data: payload,
@@ -1069,6 +1126,9 @@ function removeCouponFromOrder(payload) {
1069
1126
  method: "DELETE",
1070
1127
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.RemoveCouponFromOrder",
1071
1128
  packageName: PACKAGE_NAME,
1129
+ migrationOptions: {
1130
+ optInTransformResponse: true
1131
+ },
1072
1132
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1073
1133
  protoPath: "/api/v1/participants/{challengeId}/payment-orders/{participantId}/coupons/{orderId}/{couponId}",
1074
1134
  data: payload,
@@ -1096,6 +1156,9 @@ function listSteps(payload) {
1096
1156
  method: "GET",
1097
1157
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListSteps",
1098
1158
  packageName: PACKAGE_NAME,
1159
+ migrationOptions: {
1160
+ optInTransformResponse: true
1161
+ },
1099
1162
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1100
1163
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}",
1101
1164
  data: serializedData,
@@ -1408,6 +1471,9 @@ function getStep(payload) {
1408
1471
  method: "GET",
1409
1472
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetStep",
1410
1473
  packageName: PACKAGE_NAME,
1474
+ migrationOptions: {
1475
+ optInTransformResponse: true
1476
+ },
1411
1477
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1412
1478
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/{stepId}",
1413
1479
  data: serializedData,
@@ -2035,6 +2101,9 @@ function resolveStep(payload) {
2035
2101
  method: "PATCH",
2036
2102
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ResolveStep",
2037
2103
  packageName: PACKAGE_NAME,
2104
+ migrationOptions: {
2105
+ optInTransformResponse: true
2106
+ },
2038
2107
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2039
2108
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/{stepId}",
2040
2109
  data: serializedData,
@@ -2389,6 +2458,9 @@ function updateStepFeedback(payload) {
2389
2458
  method: "PUT",
2390
2459
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.UpdateStepFeedback",
2391
2460
  packageName: PACKAGE_NAME,
2461
+ migrationOptions: {
2462
+ optInTransformResponse: true
2463
+ },
2392
2464
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2393
2465
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/feedback/{stepId}",
2394
2466
  data: serializedData,
@@ -2681,6 +2753,9 @@ function getMediaUploadInfo(payload) {
2681
2753
  method: "GET",
2682
2754
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetMediaUploadInfo",
2683
2755
  packageName: PACKAGE_NAME,
2756
+ migrationOptions: {
2757
+ optInTransformResponse: true
2758
+ },
2684
2759
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2685
2760
  protoPath: "/api/v1/participants/{challengeId}/media/upload_info/{participantId}",
2686
2761
  data: payload,
@@ -2710,6 +2785,9 @@ function listSections(payload) {
2710
2785
  method: "GET",
2711
2786
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListSections",
2712
2787
  packageName: PACKAGE_NAME,
2788
+ migrationOptions: {
2789
+ optInTransformResponse: true
2790
+ },
2713
2791
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2714
2792
  protoPath: "/api/v1/participants/{challengeId}/sections/{participantId}",
2715
2793
  data: payload,
@@ -3240,6 +3318,9 @@ function getSection(payload) {
3240
3318
  method: "GET",
3241
3319
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetSection",
3242
3320
  packageName: PACKAGE_NAME,
3321
+ migrationOptions: {
3322
+ optInTransformResponse: true
3323
+ },
3243
3324
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3244
3325
  protoPath: "/api/v1/participants/{challengeId}/sections/{participantId}/{sectionId}",
3245
3326
  data: payload,
@@ -3770,6 +3851,9 @@ function myProgram(payload) {
3770
3851
  method: "GET",
3771
3852
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgram",
3772
3853
  packageName: PACKAGE_NAME,
3854
+ migrationOptions: {
3855
+ optInTransformResponse: true
3856
+ },
3773
3857
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3774
3858
  protoPath: "/api/v1/participants/my_program/{programId}",
3775
3859
  data: payload,
@@ -3843,6 +3927,9 @@ function myProgramStep(payload) {
3843
3927
  method: "GET",
3844
3928
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgramStep",
3845
3929
  packageName: PACKAGE_NAME,
3930
+ migrationOptions: {
3931
+ optInTransformResponse: true
3932
+ },
3846
3933
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3847
3934
  protoPath: "/api/v1/participants/my_program/{programId}/step/{programStepId}",
3848
3935
  data: payload,
@@ -4146,6 +4233,9 @@ function myProgramSection(payload) {
4146
4233
  method: "GET",
4147
4234
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgramSection",
4148
4235
  packageName: PACKAGE_NAME,
4236
+ migrationOptions: {
4237
+ optInTransformResponse: true
4238
+ },
4149
4239
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
4150
4240
  protoPath: "/api/v1/participants/my_program/{programId}/section/{programSectionId}",
4151
4241
  data: payload,