@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.
@@ -74,6 +74,9 @@ function queryParticipants(payload) {
74
74
  method: "POST",
75
75
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.QueryParticipants",
76
76
  packageName: PACKAGE_NAME,
77
+ migrationOptions: {
78
+ optInTransformResponse: true
79
+ },
77
80
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
78
81
  protoPath: "/api/v1/participants/{challengeId}/query",
79
82
  data: payload,
@@ -136,6 +139,9 @@ function listParticipants(payload) {
136
139
  method: "GET",
137
140
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListParticipants",
138
141
  packageName: PACKAGE_NAME,
142
+ migrationOptions: {
143
+ optInTransformResponse: true
144
+ },
139
145
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
140
146
  protoPath: "/api/v1/participants/{challengeId}",
141
147
  data: payload,
@@ -209,6 +215,9 @@ function joinParticipant(payload) {
209
215
  method: "POST",
210
216
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.JoinParticipant",
211
217
  packageName: PACKAGE_NAME,
218
+ migrationOptions: {
219
+ optInTransformResponse: true
220
+ },
212
221
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
213
222
  protoPath: "/api/v1/participants/{challengeId}",
214
223
  data: payload,
@@ -271,6 +280,9 @@ function addParticipant(payload) {
271
280
  method: "POST",
272
281
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.AddParticipant",
273
282
  packageName: PACKAGE_NAME,
283
+ migrationOptions: {
284
+ optInTransformResponse: true
285
+ },
274
286
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
275
287
  protoPath: "/api/v1/participants/{challengeId}/add",
276
288
  data: payload,
@@ -333,6 +345,9 @@ function addParticipants(payload) {
333
345
  method: "POST",
334
346
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.AddParticipants",
335
347
  packageName: PACKAGE_NAME,
348
+ migrationOptions: {
349
+ optInTransformResponse: true
350
+ },
336
351
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
337
352
  protoPath: "/api/v1/participants/{challengeId}/bulk-add",
338
353
  data: payload,
@@ -395,6 +410,9 @@ function addAllParticipant(payload) {
395
410
  method: "POST",
396
411
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.AddAllParticipant",
397
412
  packageName: PACKAGE_NAME,
413
+ migrationOptions: {
414
+ optInTransformResponse: true
415
+ },
398
416
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
399
417
  protoPath: "/api/v1/participants/{challengeId}/add-all",
400
418
  data: payload,
@@ -413,6 +431,9 @@ function createJoinRequest(payload) {
413
431
  method: "POST",
414
432
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.CreateJoinRequest",
415
433
  packageName: PACKAGE_NAME,
434
+ migrationOptions: {
435
+ optInTransformResponse: true
436
+ },
416
437
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
417
438
  protoPath: "/api/v1/participants/{challengeId}/join-requests",
418
439
  data: payload,
@@ -475,6 +496,9 @@ function inviteParticipants(payload) {
475
496
  method: "POST",
476
497
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.InviteParticipants",
477
498
  packageName: PACKAGE_NAME,
499
+ migrationOptions: {
500
+ optInTransformResponse: true
501
+ },
478
502
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
479
503
  protoPath: "/api/v1/participants/{challengeId}/invitations",
480
504
  data: payload,
@@ -493,6 +517,9 @@ function inviteAllParticipants(payload) {
493
517
  method: "POST",
494
518
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.InviteAllParticipants",
495
519
  packageName: PACKAGE_NAME,
520
+ migrationOptions: {
521
+ optInTransformResponse: true
522
+ },
496
523
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
497
524
  protoPath: "/api/v1/participants/{challengeId}/invite-all",
498
525
  data: payload,
@@ -511,6 +538,9 @@ function getParticipant(payload) {
511
538
  method: "GET",
512
539
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetParticipant",
513
540
  packageName: PACKAGE_NAME,
541
+ migrationOptions: {
542
+ optInTransformResponse: true
543
+ },
514
544
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
515
545
  protoPath: "/api/v1/participants/{challengeId}/{participantId}",
516
546
  data: payload,
@@ -584,6 +614,9 @@ function updateParticipant(payload) {
584
614
  method: "PATCH",
585
615
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.UpdateParticipant",
586
616
  packageName: PACKAGE_NAME,
617
+ migrationOptions: {
618
+ optInTransformResponse: true
619
+ },
587
620
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
588
621
  protoPath: "/api/v1/participants/{challengeId}/{participantId}",
589
622
  data: payload,
@@ -646,6 +679,9 @@ function deleteParticipant(payload) {
646
679
  method: "DELETE",
647
680
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.DeleteParticipant",
648
681
  packageName: PACKAGE_NAME,
682
+ migrationOptions: {
683
+ optInTransformResponse: true
684
+ },
649
685
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
650
686
  protoPath: "/api/v1/participants/{challengeId}/{participantId}",
651
687
  data: payload,
@@ -664,6 +700,9 @@ function reviveParticipant(payload) {
664
700
  method: "PATCH",
665
701
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ReviveParticipant",
666
702
  packageName: PACKAGE_NAME,
703
+ migrationOptions: {
704
+ optInTransformResponse: true
705
+ },
667
706
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
668
707
  protoPath: "/api/v1/participants/{challengeId}/revive/{participantId}",
669
708
  data: payload,
@@ -726,6 +765,9 @@ function resetParticipantProgress(payload) {
726
765
  method: "PATCH",
727
766
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ResetParticipantProgress",
728
767
  packageName: PACKAGE_NAME,
768
+ migrationOptions: {
769
+ optInTransformResponse: true
770
+ },
729
771
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
730
772
  protoPath: "/api/v1/participants/{challengeId}/reset/{participantId}",
731
773
  data: payload,
@@ -788,6 +830,9 @@ function issueParticipantCertificate(payload) {
788
830
  method: "POST",
789
831
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.IssueParticipantCertificate",
790
832
  packageName: PACKAGE_NAME,
833
+ migrationOptions: {
834
+ optInTransformResponse: true
835
+ },
791
836
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
792
837
  protoPath: "/api/v1/participants/{challengeId}/issue_certificate/{participantId}",
793
838
  data: payload,
@@ -850,6 +895,9 @@ function issueCertificate(payload) {
850
895
  method: "POST",
851
896
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.IssueCertificate",
852
897
  packageName: PACKAGE_NAME,
898
+ migrationOptions: {
899
+ optInTransformResponse: true
900
+ },
853
901
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
854
902
  protoPath: "/api/v1/participants/{challengeId}/get_certificate/{participantId}",
855
903
  data: payload,
@@ -912,6 +960,9 @@ function getCertificate(payload) {
912
960
  method: "GET",
913
961
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetCertificate",
914
962
  packageName: PACKAGE_NAME,
963
+ migrationOptions: {
964
+ optInTransformResponse: true
965
+ },
915
966
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
916
967
  protoPath: "/api/v1/participants/{challengeId}/certificate/{participantId}",
917
968
  data: payload,
@@ -941,6 +992,9 @@ function createPaymentOrder(payload) {
941
992
  method: "POST",
942
993
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.CreatePaymentOrder",
943
994
  packageName: PACKAGE_NAME,
995
+ migrationOptions: {
996
+ optInTransformResponse: true
997
+ },
944
998
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
945
999
  protoPath: "/api/v1/participants/{challengeId}/payment-orders/{participantId}",
946
1000
  data: payload,
@@ -1003,6 +1057,9 @@ function applyCouponToOrder(payload) {
1003
1057
  method: "POST",
1004
1058
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ApplyCouponToOrder",
1005
1059
  packageName: PACKAGE_NAME,
1060
+ migrationOptions: {
1061
+ optInTransformResponse: true
1062
+ },
1006
1063
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1007
1064
  protoPath: "/api/v1/participants/{challengeId}/payment-orders/{participantId}/coupons/{orderId}",
1008
1065
  data: payload,
@@ -1021,6 +1078,9 @@ function removeCouponFromOrder(payload) {
1021
1078
  method: "DELETE",
1022
1079
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.RemoveCouponFromOrder",
1023
1080
  packageName: PACKAGE_NAME,
1081
+ migrationOptions: {
1082
+ optInTransformResponse: true
1083
+ },
1024
1084
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1025
1085
  protoPath: "/api/v1/participants/{challengeId}/payment-orders/{participantId}/coupons/{orderId}/{couponId}",
1026
1086
  data: payload,
@@ -1048,6 +1108,9 @@ function listSteps(payload) {
1048
1108
  method: "GET",
1049
1109
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListSteps",
1050
1110
  packageName: PACKAGE_NAME,
1111
+ migrationOptions: {
1112
+ optInTransformResponse: true
1113
+ },
1051
1114
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1052
1115
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}",
1053
1116
  data: serializedData,
@@ -1360,6 +1423,9 @@ function getStep(payload) {
1360
1423
  method: "GET",
1361
1424
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetStep",
1362
1425
  packageName: PACKAGE_NAME,
1426
+ migrationOptions: {
1427
+ optInTransformResponse: true
1428
+ },
1363
1429
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1364
1430
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/{stepId}",
1365
1431
  data: serializedData,
@@ -1987,6 +2053,9 @@ function resolveStep(payload) {
1987
2053
  method: "PATCH",
1988
2054
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ResolveStep",
1989
2055
  packageName: PACKAGE_NAME,
2056
+ migrationOptions: {
2057
+ optInTransformResponse: true
2058
+ },
1990
2059
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1991
2060
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/{stepId}",
1992
2061
  data: serializedData,
@@ -2341,6 +2410,9 @@ function updateStepFeedback(payload) {
2341
2410
  method: "PUT",
2342
2411
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.UpdateStepFeedback",
2343
2412
  packageName: PACKAGE_NAME,
2413
+ migrationOptions: {
2414
+ optInTransformResponse: true
2415
+ },
2344
2416
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2345
2417
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/feedback/{stepId}",
2346
2418
  data: serializedData,
@@ -2633,6 +2705,9 @@ function getMediaUploadInfo(payload) {
2633
2705
  method: "GET",
2634
2706
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetMediaUploadInfo",
2635
2707
  packageName: PACKAGE_NAME,
2708
+ migrationOptions: {
2709
+ optInTransformResponse: true
2710
+ },
2636
2711
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2637
2712
  protoPath: "/api/v1/participants/{challengeId}/media/upload_info/{participantId}",
2638
2713
  data: payload,
@@ -2662,6 +2737,9 @@ function listSections(payload) {
2662
2737
  method: "GET",
2663
2738
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListSections",
2664
2739
  packageName: PACKAGE_NAME,
2740
+ migrationOptions: {
2741
+ optInTransformResponse: true
2742
+ },
2665
2743
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2666
2744
  protoPath: "/api/v1/participants/{challengeId}/sections/{participantId}",
2667
2745
  data: payload,
@@ -3192,6 +3270,9 @@ function getSection(payload) {
3192
3270
  method: "GET",
3193
3271
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetSection",
3194
3272
  packageName: PACKAGE_NAME,
3273
+ migrationOptions: {
3274
+ optInTransformResponse: true
3275
+ },
3195
3276
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3196
3277
  protoPath: "/api/v1/participants/{challengeId}/sections/{participantId}/{sectionId}",
3197
3278
  data: payload,
@@ -3722,6 +3803,9 @@ function myProgram(payload) {
3722
3803
  method: "GET",
3723
3804
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgram",
3724
3805
  packageName: PACKAGE_NAME,
3806
+ migrationOptions: {
3807
+ optInTransformResponse: true
3808
+ },
3725
3809
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3726
3810
  protoPath: "/api/v1/participants/my_program/{programId}",
3727
3811
  data: payload,
@@ -3795,6 +3879,9 @@ function myProgramStep(payload) {
3795
3879
  method: "GET",
3796
3880
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgramStep",
3797
3881
  packageName: PACKAGE_NAME,
3882
+ migrationOptions: {
3883
+ optInTransformResponse: true
3884
+ },
3798
3885
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3799
3886
  protoPath: "/api/v1/participants/my_program/{programId}/step/{programStepId}",
3800
3887
  data: payload,
@@ -4098,6 +4185,9 @@ function myProgramSection(payload) {
4098
4185
  method: "GET",
4099
4186
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgramSection",
4100
4187
  packageName: PACKAGE_NAME,
4188
+ migrationOptions: {
4189
+ optInTransformResponse: true
4190
+ },
4101
4191
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
4102
4192
  protoPath: "/api/v1/participants/my_program/{programId}/section/{programSectionId}",
4103
4193
  data: payload,