@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.
@@ -142,6 +142,9 @@ function queryParticipants(payload) {
142
142
  method: "POST",
143
143
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.QueryParticipants",
144
144
  packageName: PACKAGE_NAME,
145
+ migrationOptions: {
146
+ optInTransformResponse: true
147
+ },
145
148
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
146
149
  protoPath: "/api/v1/participants/{challengeId}/query",
147
150
  data: payload,
@@ -204,6 +207,9 @@ function listParticipants(payload) {
204
207
  method: "GET",
205
208
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListParticipants",
206
209
  packageName: PACKAGE_NAME,
210
+ migrationOptions: {
211
+ optInTransformResponse: true
212
+ },
207
213
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
208
214
  protoPath: "/api/v1/participants/{challengeId}",
209
215
  data: payload,
@@ -277,6 +283,9 @@ function joinParticipant(payload) {
277
283
  method: "POST",
278
284
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.JoinParticipant",
279
285
  packageName: PACKAGE_NAME,
286
+ migrationOptions: {
287
+ optInTransformResponse: true
288
+ },
280
289
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
281
290
  protoPath: "/api/v1/participants/{challengeId}",
282
291
  data: payload,
@@ -339,6 +348,9 @@ function addParticipant(payload) {
339
348
  method: "POST",
340
349
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.AddParticipant",
341
350
  packageName: PACKAGE_NAME,
351
+ migrationOptions: {
352
+ optInTransformResponse: true
353
+ },
342
354
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
343
355
  protoPath: "/api/v1/participants/{challengeId}/add",
344
356
  data: payload,
@@ -401,6 +413,9 @@ function addParticipants(payload) {
401
413
  method: "POST",
402
414
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.AddParticipants",
403
415
  packageName: PACKAGE_NAME,
416
+ migrationOptions: {
417
+ optInTransformResponse: true
418
+ },
404
419
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
405
420
  protoPath: "/api/v1/participants/{challengeId}/bulk-add",
406
421
  data: payload,
@@ -463,6 +478,9 @@ function addAllParticipant(payload) {
463
478
  method: "POST",
464
479
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.AddAllParticipant",
465
480
  packageName: PACKAGE_NAME,
481
+ migrationOptions: {
482
+ optInTransformResponse: true
483
+ },
466
484
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
467
485
  protoPath: "/api/v1/participants/{challengeId}/add-all",
468
486
  data: payload,
@@ -481,6 +499,9 @@ function createJoinRequest(payload) {
481
499
  method: "POST",
482
500
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.CreateJoinRequest",
483
501
  packageName: PACKAGE_NAME,
502
+ migrationOptions: {
503
+ optInTransformResponse: true
504
+ },
484
505
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
485
506
  protoPath: "/api/v1/participants/{challengeId}/join-requests",
486
507
  data: payload,
@@ -543,6 +564,9 @@ function inviteParticipants(payload) {
543
564
  method: "POST",
544
565
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.InviteParticipants",
545
566
  packageName: PACKAGE_NAME,
567
+ migrationOptions: {
568
+ optInTransformResponse: true
569
+ },
546
570
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
547
571
  protoPath: "/api/v1/participants/{challengeId}/invitations",
548
572
  data: payload,
@@ -561,6 +585,9 @@ function inviteAllParticipants(payload) {
561
585
  method: "POST",
562
586
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.InviteAllParticipants",
563
587
  packageName: PACKAGE_NAME,
588
+ migrationOptions: {
589
+ optInTransformResponse: true
590
+ },
564
591
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
565
592
  protoPath: "/api/v1/participants/{challengeId}/invite-all",
566
593
  data: payload,
@@ -579,6 +606,9 @@ function getParticipant(payload) {
579
606
  method: "GET",
580
607
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetParticipant",
581
608
  packageName: PACKAGE_NAME,
609
+ migrationOptions: {
610
+ optInTransformResponse: true
611
+ },
582
612
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
583
613
  protoPath: "/api/v1/participants/{challengeId}/{participantId}",
584
614
  data: payload,
@@ -652,6 +682,9 @@ function updateParticipant(payload) {
652
682
  method: "PATCH",
653
683
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.UpdateParticipant",
654
684
  packageName: PACKAGE_NAME,
685
+ migrationOptions: {
686
+ optInTransformResponse: true
687
+ },
655
688
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
656
689
  protoPath: "/api/v1/participants/{challengeId}/{participantId}",
657
690
  data: payload,
@@ -714,6 +747,9 @@ function deleteParticipant(payload) {
714
747
  method: "DELETE",
715
748
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.DeleteParticipant",
716
749
  packageName: PACKAGE_NAME,
750
+ migrationOptions: {
751
+ optInTransformResponse: true
752
+ },
717
753
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
718
754
  protoPath: "/api/v1/participants/{challengeId}/{participantId}",
719
755
  data: payload,
@@ -732,6 +768,9 @@ function reviveParticipant(payload) {
732
768
  method: "PATCH",
733
769
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ReviveParticipant",
734
770
  packageName: PACKAGE_NAME,
771
+ migrationOptions: {
772
+ optInTransformResponse: true
773
+ },
735
774
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
736
775
  protoPath: "/api/v1/participants/{challengeId}/revive/{participantId}",
737
776
  data: payload,
@@ -794,6 +833,9 @@ function resetParticipantProgress(payload) {
794
833
  method: "PATCH",
795
834
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ResetParticipantProgress",
796
835
  packageName: PACKAGE_NAME,
836
+ migrationOptions: {
837
+ optInTransformResponse: true
838
+ },
797
839
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
798
840
  protoPath: "/api/v1/participants/{challengeId}/reset/{participantId}",
799
841
  data: payload,
@@ -856,6 +898,9 @@ function issueParticipantCertificate(payload) {
856
898
  method: "POST",
857
899
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.IssueParticipantCertificate",
858
900
  packageName: PACKAGE_NAME,
901
+ migrationOptions: {
902
+ optInTransformResponse: true
903
+ },
859
904
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
860
905
  protoPath: "/api/v1/participants/{challengeId}/issue_certificate/{participantId}",
861
906
  data: payload,
@@ -918,6 +963,9 @@ function issueCertificate(payload) {
918
963
  method: "POST",
919
964
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.IssueCertificate",
920
965
  packageName: PACKAGE_NAME,
966
+ migrationOptions: {
967
+ optInTransformResponse: true
968
+ },
921
969
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
922
970
  protoPath: "/api/v1/participants/{challengeId}/get_certificate/{participantId}",
923
971
  data: payload,
@@ -980,6 +1028,9 @@ function getCertificate(payload) {
980
1028
  method: "GET",
981
1029
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetCertificate",
982
1030
  packageName: PACKAGE_NAME,
1031
+ migrationOptions: {
1032
+ optInTransformResponse: true
1033
+ },
983
1034
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
984
1035
  protoPath: "/api/v1/participants/{challengeId}/certificate/{participantId}",
985
1036
  data: payload,
@@ -1009,6 +1060,9 @@ function createPaymentOrder(payload) {
1009
1060
  method: "POST",
1010
1061
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.CreatePaymentOrder",
1011
1062
  packageName: PACKAGE_NAME,
1063
+ migrationOptions: {
1064
+ optInTransformResponse: true
1065
+ },
1012
1066
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1013
1067
  protoPath: "/api/v1/participants/{challengeId}/payment-orders/{participantId}",
1014
1068
  data: payload,
@@ -1071,6 +1125,9 @@ function applyCouponToOrder(payload) {
1071
1125
  method: "POST",
1072
1126
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ApplyCouponToOrder",
1073
1127
  packageName: PACKAGE_NAME,
1128
+ migrationOptions: {
1129
+ optInTransformResponse: true
1130
+ },
1074
1131
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1075
1132
  protoPath: "/api/v1/participants/{challengeId}/payment-orders/{participantId}/coupons/{orderId}",
1076
1133
  data: payload,
@@ -1089,6 +1146,9 @@ function removeCouponFromOrder(payload) {
1089
1146
  method: "DELETE",
1090
1147
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.RemoveCouponFromOrder",
1091
1148
  packageName: PACKAGE_NAME,
1149
+ migrationOptions: {
1150
+ optInTransformResponse: true
1151
+ },
1092
1152
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1093
1153
  protoPath: "/api/v1/participants/{challengeId}/payment-orders/{participantId}/coupons/{orderId}/{couponId}",
1094
1154
  data: payload,
@@ -1116,6 +1176,9 @@ function listSteps(payload) {
1116
1176
  method: "GET",
1117
1177
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListSteps",
1118
1178
  packageName: PACKAGE_NAME,
1179
+ migrationOptions: {
1180
+ optInTransformResponse: true
1181
+ },
1119
1182
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1120
1183
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}",
1121
1184
  data: serializedData,
@@ -1428,6 +1491,9 @@ function getStep(payload) {
1428
1491
  method: "GET",
1429
1492
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetStep",
1430
1493
  packageName: PACKAGE_NAME,
1494
+ migrationOptions: {
1495
+ optInTransformResponse: true
1496
+ },
1431
1497
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1432
1498
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/{stepId}",
1433
1499
  data: serializedData,
@@ -2055,6 +2121,9 @@ function resolveStep(payload) {
2055
2121
  method: "PATCH",
2056
2122
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ResolveStep",
2057
2123
  packageName: PACKAGE_NAME,
2124
+ migrationOptions: {
2125
+ optInTransformResponse: true
2126
+ },
2058
2127
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2059
2128
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/{stepId}",
2060
2129
  data: serializedData,
@@ -2409,6 +2478,9 @@ function updateStepFeedback(payload) {
2409
2478
  method: "PUT",
2410
2479
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.UpdateStepFeedback",
2411
2480
  packageName: PACKAGE_NAME,
2481
+ migrationOptions: {
2482
+ optInTransformResponse: true
2483
+ },
2412
2484
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2413
2485
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/feedback/{stepId}",
2414
2486
  data: serializedData,
@@ -2701,6 +2773,9 @@ function getMediaUploadInfo(payload) {
2701
2773
  method: "GET",
2702
2774
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetMediaUploadInfo",
2703
2775
  packageName: PACKAGE_NAME,
2776
+ migrationOptions: {
2777
+ optInTransformResponse: true
2778
+ },
2704
2779
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2705
2780
  protoPath: "/api/v1/participants/{challengeId}/media/upload_info/{participantId}",
2706
2781
  data: payload,
@@ -2730,6 +2805,9 @@ function listSections(payload) {
2730
2805
  method: "GET",
2731
2806
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListSections",
2732
2807
  packageName: PACKAGE_NAME,
2808
+ migrationOptions: {
2809
+ optInTransformResponse: true
2810
+ },
2733
2811
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2734
2812
  protoPath: "/api/v1/participants/{challengeId}/sections/{participantId}",
2735
2813
  data: payload,
@@ -3260,6 +3338,9 @@ function getSection(payload) {
3260
3338
  method: "GET",
3261
3339
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetSection",
3262
3340
  packageName: PACKAGE_NAME,
3341
+ migrationOptions: {
3342
+ optInTransformResponse: true
3343
+ },
3263
3344
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3264
3345
  protoPath: "/api/v1/participants/{challengeId}/sections/{participantId}/{sectionId}",
3265
3346
  data: payload,
@@ -3790,6 +3871,9 @@ function myProgram(payload) {
3790
3871
  method: "GET",
3791
3872
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgram",
3792
3873
  packageName: PACKAGE_NAME,
3874
+ migrationOptions: {
3875
+ optInTransformResponse: true
3876
+ },
3793
3877
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3794
3878
  protoPath: "/api/v1/participants/my_program/{programId}",
3795
3879
  data: payload,
@@ -3863,6 +3947,9 @@ function myProgramStep(payload) {
3863
3947
  method: "GET",
3864
3948
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgramStep",
3865
3949
  packageName: PACKAGE_NAME,
3950
+ migrationOptions: {
3951
+ optInTransformResponse: true
3952
+ },
3866
3953
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3867
3954
  protoPath: "/api/v1/participants/my_program/{programId}/step/{programStepId}",
3868
3955
  data: payload,
@@ -4166,6 +4253,9 @@ function myProgramSection(payload) {
4166
4253
  method: "GET",
4167
4254
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgramSection",
4168
4255
  packageName: PACKAGE_NAME,
4256
+ migrationOptions: {
4257
+ optInTransformResponse: true
4258
+ },
4169
4259
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
4170
4260
  protoPath: "/api/v1/participants/my_program/{programId}/section/{programSectionId}",
4171
4261
  data: payload,