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

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.
@@ -84,6 +84,9 @@ function queryParticipants(payload) {
84
84
  method: "POST",
85
85
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.QueryParticipants",
86
86
  packageName: PACKAGE_NAME,
87
+ migrationOptions: {
88
+ optInTransformResponse: true
89
+ },
87
90
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
88
91
  protoPath: "/api/v1/participants/{challengeId}/query",
89
92
  data: payload,
@@ -146,6 +149,9 @@ function listParticipants(payload) {
146
149
  method: "GET",
147
150
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListParticipants",
148
151
  packageName: PACKAGE_NAME,
152
+ migrationOptions: {
153
+ optInTransformResponse: true
154
+ },
149
155
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
150
156
  protoPath: "/api/v1/participants/{challengeId}",
151
157
  data: payload,
@@ -219,6 +225,9 @@ function joinParticipant(payload) {
219
225
  method: "POST",
220
226
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.JoinParticipant",
221
227
  packageName: PACKAGE_NAME,
228
+ migrationOptions: {
229
+ optInTransformResponse: true
230
+ },
222
231
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
223
232
  protoPath: "/api/v1/participants/{challengeId}",
224
233
  data: payload,
@@ -281,6 +290,9 @@ function addParticipant(payload) {
281
290
  method: "POST",
282
291
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.AddParticipant",
283
292
  packageName: PACKAGE_NAME,
293
+ migrationOptions: {
294
+ optInTransformResponse: true
295
+ },
284
296
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
285
297
  protoPath: "/api/v1/participants/{challengeId}/add",
286
298
  data: payload,
@@ -343,6 +355,9 @@ function addParticipants(payload) {
343
355
  method: "POST",
344
356
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.AddParticipants",
345
357
  packageName: PACKAGE_NAME,
358
+ migrationOptions: {
359
+ optInTransformResponse: true
360
+ },
346
361
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
347
362
  protoPath: "/api/v1/participants/{challengeId}/bulk-add",
348
363
  data: payload,
@@ -405,6 +420,9 @@ function addAllParticipant(payload) {
405
420
  method: "POST",
406
421
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.AddAllParticipant",
407
422
  packageName: PACKAGE_NAME,
423
+ migrationOptions: {
424
+ optInTransformResponse: true
425
+ },
408
426
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
409
427
  protoPath: "/api/v1/participants/{challengeId}/add-all",
410
428
  data: payload,
@@ -423,6 +441,9 @@ function createJoinRequest(payload) {
423
441
  method: "POST",
424
442
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.CreateJoinRequest",
425
443
  packageName: PACKAGE_NAME,
444
+ migrationOptions: {
445
+ optInTransformResponse: true
446
+ },
426
447
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
427
448
  protoPath: "/api/v1/participants/{challengeId}/join-requests",
428
449
  data: payload,
@@ -485,6 +506,9 @@ function inviteParticipants(payload) {
485
506
  method: "POST",
486
507
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.InviteParticipants",
487
508
  packageName: PACKAGE_NAME,
509
+ migrationOptions: {
510
+ optInTransformResponse: true
511
+ },
488
512
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
489
513
  protoPath: "/api/v1/participants/{challengeId}/invitations",
490
514
  data: payload,
@@ -503,6 +527,9 @@ function inviteAllParticipants(payload) {
503
527
  method: "POST",
504
528
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.InviteAllParticipants",
505
529
  packageName: PACKAGE_NAME,
530
+ migrationOptions: {
531
+ optInTransformResponse: true
532
+ },
506
533
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
507
534
  protoPath: "/api/v1/participants/{challengeId}/invite-all",
508
535
  data: payload,
@@ -521,6 +548,9 @@ function getParticipant(payload) {
521
548
  method: "GET",
522
549
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetParticipant",
523
550
  packageName: PACKAGE_NAME,
551
+ migrationOptions: {
552
+ optInTransformResponse: true
553
+ },
524
554
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
525
555
  protoPath: "/api/v1/participants/{challengeId}/{participantId}",
526
556
  data: payload,
@@ -594,6 +624,9 @@ function updateParticipant(payload) {
594
624
  method: "PATCH",
595
625
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.UpdateParticipant",
596
626
  packageName: PACKAGE_NAME,
627
+ migrationOptions: {
628
+ optInTransformResponse: true
629
+ },
597
630
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
598
631
  protoPath: "/api/v1/participants/{challengeId}/{participantId}",
599
632
  data: payload,
@@ -656,6 +689,9 @@ function deleteParticipant(payload) {
656
689
  method: "DELETE",
657
690
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.DeleteParticipant",
658
691
  packageName: PACKAGE_NAME,
692
+ migrationOptions: {
693
+ optInTransformResponse: true
694
+ },
659
695
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
660
696
  protoPath: "/api/v1/participants/{challengeId}/{participantId}",
661
697
  data: payload,
@@ -674,6 +710,9 @@ function reviveParticipant(payload) {
674
710
  method: "PATCH",
675
711
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ReviveParticipant",
676
712
  packageName: PACKAGE_NAME,
713
+ migrationOptions: {
714
+ optInTransformResponse: true
715
+ },
677
716
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
678
717
  protoPath: "/api/v1/participants/{challengeId}/revive/{participantId}",
679
718
  data: payload,
@@ -736,6 +775,9 @@ function resetParticipantProgress(payload) {
736
775
  method: "PATCH",
737
776
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ResetParticipantProgress",
738
777
  packageName: PACKAGE_NAME,
778
+ migrationOptions: {
779
+ optInTransformResponse: true
780
+ },
739
781
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
740
782
  protoPath: "/api/v1/participants/{challengeId}/reset/{participantId}",
741
783
  data: payload,
@@ -798,6 +840,9 @@ function issueParticipantCertificate(payload) {
798
840
  method: "POST",
799
841
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.IssueParticipantCertificate",
800
842
  packageName: PACKAGE_NAME,
843
+ migrationOptions: {
844
+ optInTransformResponse: true
845
+ },
801
846
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
802
847
  protoPath: "/api/v1/participants/{challengeId}/issue_certificate/{participantId}",
803
848
  data: payload,
@@ -860,6 +905,9 @@ function issueCertificate(payload) {
860
905
  method: "POST",
861
906
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.IssueCertificate",
862
907
  packageName: PACKAGE_NAME,
908
+ migrationOptions: {
909
+ optInTransformResponse: true
910
+ },
863
911
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
864
912
  protoPath: "/api/v1/participants/{challengeId}/get_certificate/{participantId}",
865
913
  data: payload,
@@ -922,6 +970,9 @@ function getCertificate(payload) {
922
970
  method: "GET",
923
971
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetCertificate",
924
972
  packageName: PACKAGE_NAME,
973
+ migrationOptions: {
974
+ optInTransformResponse: true
975
+ },
925
976
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
926
977
  protoPath: "/api/v1/participants/{challengeId}/certificate/{participantId}",
927
978
  data: payload,
@@ -951,6 +1002,9 @@ function createPaymentOrder(payload) {
951
1002
  method: "POST",
952
1003
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.CreatePaymentOrder",
953
1004
  packageName: PACKAGE_NAME,
1005
+ migrationOptions: {
1006
+ optInTransformResponse: true
1007
+ },
954
1008
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
955
1009
  protoPath: "/api/v1/participants/{challengeId}/payment-orders/{participantId}",
956
1010
  data: payload,
@@ -1013,6 +1067,9 @@ function applyCouponToOrder(payload) {
1013
1067
  method: "POST",
1014
1068
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ApplyCouponToOrder",
1015
1069
  packageName: PACKAGE_NAME,
1070
+ migrationOptions: {
1071
+ optInTransformResponse: true
1072
+ },
1016
1073
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1017
1074
  protoPath: "/api/v1/participants/{challengeId}/payment-orders/{participantId}/coupons/{orderId}",
1018
1075
  data: payload,
@@ -1031,6 +1088,9 @@ function removeCouponFromOrder(payload) {
1031
1088
  method: "DELETE",
1032
1089
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.RemoveCouponFromOrder",
1033
1090
  packageName: PACKAGE_NAME,
1091
+ migrationOptions: {
1092
+ optInTransformResponse: true
1093
+ },
1034
1094
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1035
1095
  protoPath: "/api/v1/participants/{challengeId}/payment-orders/{participantId}/coupons/{orderId}/{couponId}",
1036
1096
  data: payload,
@@ -1058,6 +1118,9 @@ function listSteps(payload) {
1058
1118
  method: "GET",
1059
1119
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListSteps",
1060
1120
  packageName: PACKAGE_NAME,
1121
+ migrationOptions: {
1122
+ optInTransformResponse: true
1123
+ },
1061
1124
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1062
1125
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}",
1063
1126
  data: serializedData,
@@ -1370,6 +1433,9 @@ function getStep(payload) {
1370
1433
  method: "GET",
1371
1434
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetStep",
1372
1435
  packageName: PACKAGE_NAME,
1436
+ migrationOptions: {
1437
+ optInTransformResponse: true
1438
+ },
1373
1439
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1374
1440
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/{stepId}",
1375
1441
  data: serializedData,
@@ -1997,6 +2063,9 @@ function resolveStep(payload) {
1997
2063
  method: "PATCH",
1998
2064
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ResolveStep",
1999
2065
  packageName: PACKAGE_NAME,
2066
+ migrationOptions: {
2067
+ optInTransformResponse: true
2068
+ },
2000
2069
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2001
2070
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/{stepId}",
2002
2071
  data: serializedData,
@@ -2351,6 +2420,9 @@ function updateStepFeedback(payload) {
2351
2420
  method: "PUT",
2352
2421
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.UpdateStepFeedback",
2353
2422
  packageName: PACKAGE_NAME,
2423
+ migrationOptions: {
2424
+ optInTransformResponse: true
2425
+ },
2354
2426
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2355
2427
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/feedback/{stepId}",
2356
2428
  data: serializedData,
@@ -2643,6 +2715,9 @@ function getMediaUploadInfo(payload) {
2643
2715
  method: "GET",
2644
2716
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetMediaUploadInfo",
2645
2717
  packageName: PACKAGE_NAME,
2718
+ migrationOptions: {
2719
+ optInTransformResponse: true
2720
+ },
2646
2721
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2647
2722
  protoPath: "/api/v1/participants/{challengeId}/media/upload_info/{participantId}",
2648
2723
  data: payload,
@@ -2672,6 +2747,9 @@ function listSections(payload) {
2672
2747
  method: "GET",
2673
2748
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListSections",
2674
2749
  packageName: PACKAGE_NAME,
2750
+ migrationOptions: {
2751
+ optInTransformResponse: true
2752
+ },
2675
2753
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2676
2754
  protoPath: "/api/v1/participants/{challengeId}/sections/{participantId}",
2677
2755
  data: payload,
@@ -3202,6 +3280,9 @@ function getSection(payload) {
3202
3280
  method: "GET",
3203
3281
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetSection",
3204
3282
  packageName: PACKAGE_NAME,
3283
+ migrationOptions: {
3284
+ optInTransformResponse: true
3285
+ },
3205
3286
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3206
3287
  protoPath: "/api/v1/participants/{challengeId}/sections/{participantId}/{sectionId}",
3207
3288
  data: payload,
@@ -3732,6 +3813,9 @@ function myProgram(payload) {
3732
3813
  method: "GET",
3733
3814
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgram",
3734
3815
  packageName: PACKAGE_NAME,
3816
+ migrationOptions: {
3817
+ optInTransformResponse: true
3818
+ },
3735
3819
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3736
3820
  protoPath: "/api/v1/participants/my_program/{programId}",
3737
3821
  data: payload,
@@ -3805,6 +3889,9 @@ function myProgramStep(payload) {
3805
3889
  method: "GET",
3806
3890
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgramStep",
3807
3891
  packageName: PACKAGE_NAME,
3892
+ migrationOptions: {
3893
+ optInTransformResponse: true
3894
+ },
3808
3895
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3809
3896
  protoPath: "/api/v1/participants/my_program/{programId}/step/{programStepId}",
3810
3897
  data: payload,
@@ -4108,6 +4195,9 @@ function myProgramSection(payload) {
4108
4195
  method: "GET",
4109
4196
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgramSection",
4110
4197
  packageName: PACKAGE_NAME,
4198
+ migrationOptions: {
4199
+ optInTransformResponse: true
4200
+ },
4111
4201
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
4112
4202
  protoPath: "/api/v1/participants/my_program/{programId}/section/{programSectionId}",
4113
4203
  data: payload,