@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.
@@ -155,6 +155,9 @@ function queryParticipants(payload) {
155
155
  method: "POST",
156
156
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.QueryParticipants",
157
157
  packageName: PACKAGE_NAME,
158
+ migrationOptions: {
159
+ optInTransformResponse: true
160
+ },
158
161
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
159
162
  protoPath: "/api/v1/participants/{challengeId}/query",
160
163
  data: payload,
@@ -217,6 +220,9 @@ function listParticipants(payload) {
217
220
  method: "GET",
218
221
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListParticipants",
219
222
  packageName: PACKAGE_NAME,
223
+ migrationOptions: {
224
+ optInTransformResponse: true
225
+ },
220
226
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
221
227
  protoPath: "/api/v1/participants/{challengeId}",
222
228
  data: payload,
@@ -290,6 +296,9 @@ function joinParticipant(payload) {
290
296
  method: "POST",
291
297
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.JoinParticipant",
292
298
  packageName: PACKAGE_NAME,
299
+ migrationOptions: {
300
+ optInTransformResponse: true
301
+ },
293
302
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
294
303
  protoPath: "/api/v1/participants/{challengeId}",
295
304
  data: payload,
@@ -352,6 +361,9 @@ function addParticipant(payload) {
352
361
  method: "POST",
353
362
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.AddParticipant",
354
363
  packageName: PACKAGE_NAME,
364
+ migrationOptions: {
365
+ optInTransformResponse: true
366
+ },
355
367
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
356
368
  protoPath: "/api/v1/participants/{challengeId}/add",
357
369
  data: payload,
@@ -414,6 +426,9 @@ function addParticipants(payload) {
414
426
  method: "POST",
415
427
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.AddParticipants",
416
428
  packageName: PACKAGE_NAME,
429
+ migrationOptions: {
430
+ optInTransformResponse: true
431
+ },
417
432
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
418
433
  protoPath: "/api/v1/participants/{challengeId}/bulk-add",
419
434
  data: payload,
@@ -476,6 +491,9 @@ function addAllParticipant(payload) {
476
491
  method: "POST",
477
492
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.AddAllParticipant",
478
493
  packageName: PACKAGE_NAME,
494
+ migrationOptions: {
495
+ optInTransformResponse: true
496
+ },
479
497
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
480
498
  protoPath: "/api/v1/participants/{challengeId}/add-all",
481
499
  data: payload,
@@ -494,6 +512,9 @@ function createJoinRequest(payload) {
494
512
  method: "POST",
495
513
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.CreateJoinRequest",
496
514
  packageName: PACKAGE_NAME,
515
+ migrationOptions: {
516
+ optInTransformResponse: true
517
+ },
497
518
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
498
519
  protoPath: "/api/v1/participants/{challengeId}/join-requests",
499
520
  data: payload,
@@ -556,6 +577,9 @@ function inviteParticipants(payload) {
556
577
  method: "POST",
557
578
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.InviteParticipants",
558
579
  packageName: PACKAGE_NAME,
580
+ migrationOptions: {
581
+ optInTransformResponse: true
582
+ },
559
583
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
560
584
  protoPath: "/api/v1/participants/{challengeId}/invitations",
561
585
  data: payload,
@@ -574,6 +598,9 @@ function inviteAllParticipants(payload) {
574
598
  method: "POST",
575
599
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.InviteAllParticipants",
576
600
  packageName: PACKAGE_NAME,
601
+ migrationOptions: {
602
+ optInTransformResponse: true
603
+ },
577
604
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
578
605
  protoPath: "/api/v1/participants/{challengeId}/invite-all",
579
606
  data: payload,
@@ -592,6 +619,9 @@ function getParticipant(payload) {
592
619
  method: "GET",
593
620
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetParticipant",
594
621
  packageName: PACKAGE_NAME,
622
+ migrationOptions: {
623
+ optInTransformResponse: true
624
+ },
595
625
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
596
626
  protoPath: "/api/v1/participants/{challengeId}/{participantId}",
597
627
  data: payload,
@@ -665,6 +695,9 @@ function updateParticipant(payload) {
665
695
  method: "PATCH",
666
696
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.UpdateParticipant",
667
697
  packageName: PACKAGE_NAME,
698
+ migrationOptions: {
699
+ optInTransformResponse: true
700
+ },
668
701
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
669
702
  protoPath: "/api/v1/participants/{challengeId}/{participantId}",
670
703
  data: payload,
@@ -727,6 +760,9 @@ function deleteParticipant(payload) {
727
760
  method: "DELETE",
728
761
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.DeleteParticipant",
729
762
  packageName: PACKAGE_NAME,
763
+ migrationOptions: {
764
+ optInTransformResponse: true
765
+ },
730
766
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
731
767
  protoPath: "/api/v1/participants/{challengeId}/{participantId}",
732
768
  data: payload,
@@ -745,6 +781,9 @@ function reviveParticipant(payload) {
745
781
  method: "PATCH",
746
782
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ReviveParticipant",
747
783
  packageName: PACKAGE_NAME,
784
+ migrationOptions: {
785
+ optInTransformResponse: true
786
+ },
748
787
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
749
788
  protoPath: "/api/v1/participants/{challengeId}/revive/{participantId}",
750
789
  data: payload,
@@ -807,6 +846,9 @@ function resetParticipantProgress(payload) {
807
846
  method: "PATCH",
808
847
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ResetParticipantProgress",
809
848
  packageName: PACKAGE_NAME,
849
+ migrationOptions: {
850
+ optInTransformResponse: true
851
+ },
810
852
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
811
853
  protoPath: "/api/v1/participants/{challengeId}/reset/{participantId}",
812
854
  data: payload,
@@ -869,6 +911,9 @@ function issueParticipantCertificate(payload) {
869
911
  method: "POST",
870
912
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.IssueParticipantCertificate",
871
913
  packageName: PACKAGE_NAME,
914
+ migrationOptions: {
915
+ optInTransformResponse: true
916
+ },
872
917
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
873
918
  protoPath: "/api/v1/participants/{challengeId}/issue_certificate/{participantId}",
874
919
  data: payload,
@@ -931,6 +976,9 @@ function issueCertificate(payload) {
931
976
  method: "POST",
932
977
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.IssueCertificate",
933
978
  packageName: PACKAGE_NAME,
979
+ migrationOptions: {
980
+ optInTransformResponse: true
981
+ },
934
982
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
935
983
  protoPath: "/api/v1/participants/{challengeId}/get_certificate/{participantId}",
936
984
  data: payload,
@@ -993,6 +1041,9 @@ function getCertificate(payload) {
993
1041
  method: "GET",
994
1042
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetCertificate",
995
1043
  packageName: PACKAGE_NAME,
1044
+ migrationOptions: {
1045
+ optInTransformResponse: true
1046
+ },
996
1047
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
997
1048
  protoPath: "/api/v1/participants/{challengeId}/certificate/{participantId}",
998
1049
  data: payload,
@@ -1022,6 +1073,9 @@ function createPaymentOrder(payload) {
1022
1073
  method: "POST",
1023
1074
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.CreatePaymentOrder",
1024
1075
  packageName: PACKAGE_NAME,
1076
+ migrationOptions: {
1077
+ optInTransformResponse: true
1078
+ },
1025
1079
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1026
1080
  protoPath: "/api/v1/participants/{challengeId}/payment-orders/{participantId}",
1027
1081
  data: payload,
@@ -1084,6 +1138,9 @@ function applyCouponToOrder(payload) {
1084
1138
  method: "POST",
1085
1139
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ApplyCouponToOrder",
1086
1140
  packageName: PACKAGE_NAME,
1141
+ migrationOptions: {
1142
+ optInTransformResponse: true
1143
+ },
1087
1144
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1088
1145
  protoPath: "/api/v1/participants/{challengeId}/payment-orders/{participantId}/coupons/{orderId}",
1089
1146
  data: payload,
@@ -1102,6 +1159,9 @@ function removeCouponFromOrder(payload) {
1102
1159
  method: "DELETE",
1103
1160
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.RemoveCouponFromOrder",
1104
1161
  packageName: PACKAGE_NAME,
1162
+ migrationOptions: {
1163
+ optInTransformResponse: true
1164
+ },
1105
1165
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1106
1166
  protoPath: "/api/v1/participants/{challengeId}/payment-orders/{participantId}/coupons/{orderId}/{couponId}",
1107
1167
  data: payload,
@@ -1129,6 +1189,9 @@ function listSteps(payload) {
1129
1189
  method: "GET",
1130
1190
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListSteps",
1131
1191
  packageName: PACKAGE_NAME,
1192
+ migrationOptions: {
1193
+ optInTransformResponse: true
1194
+ },
1132
1195
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1133
1196
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}",
1134
1197
  data: serializedData,
@@ -1441,6 +1504,9 @@ function getStep(payload) {
1441
1504
  method: "GET",
1442
1505
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetStep",
1443
1506
  packageName: PACKAGE_NAME,
1507
+ migrationOptions: {
1508
+ optInTransformResponse: true
1509
+ },
1444
1510
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
1445
1511
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/{stepId}",
1446
1512
  data: serializedData,
@@ -2068,6 +2134,9 @@ function resolveStep(payload) {
2068
2134
  method: "PATCH",
2069
2135
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ResolveStep",
2070
2136
  packageName: PACKAGE_NAME,
2137
+ migrationOptions: {
2138
+ optInTransformResponse: true
2139
+ },
2071
2140
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2072
2141
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/{stepId}",
2073
2142
  data: serializedData,
@@ -2422,6 +2491,9 @@ function updateStepFeedback(payload) {
2422
2491
  method: "PUT",
2423
2492
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.UpdateStepFeedback",
2424
2493
  packageName: PACKAGE_NAME,
2494
+ migrationOptions: {
2495
+ optInTransformResponse: true
2496
+ },
2425
2497
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2426
2498
  protoPath: "/api/v1/participants/{challengeId}/steps/{participantId}/feedback/{stepId}",
2427
2499
  data: serializedData,
@@ -2714,6 +2786,9 @@ function getMediaUploadInfo(payload) {
2714
2786
  method: "GET",
2715
2787
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetMediaUploadInfo",
2716
2788
  packageName: PACKAGE_NAME,
2789
+ migrationOptions: {
2790
+ optInTransformResponse: true
2791
+ },
2717
2792
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2718
2793
  protoPath: "/api/v1/participants/{challengeId}/media/upload_info/{participantId}",
2719
2794
  data: payload,
@@ -2743,6 +2818,9 @@ function listSections(payload) {
2743
2818
  method: "GET",
2744
2819
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.ListSections",
2745
2820
  packageName: PACKAGE_NAME,
2821
+ migrationOptions: {
2822
+ optInTransformResponse: true
2823
+ },
2746
2824
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
2747
2825
  protoPath: "/api/v1/participants/{challengeId}/sections/{participantId}",
2748
2826
  data: payload,
@@ -3273,6 +3351,9 @@ function getSection(payload) {
3273
3351
  method: "GET",
3274
3352
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.GetSection",
3275
3353
  packageName: PACKAGE_NAME,
3354
+ migrationOptions: {
3355
+ optInTransformResponse: true
3356
+ },
3276
3357
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3277
3358
  protoPath: "/api/v1/participants/{challengeId}/sections/{participantId}/{sectionId}",
3278
3359
  data: payload,
@@ -3803,6 +3884,9 @@ function myProgram(payload) {
3803
3884
  method: "GET",
3804
3885
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgram",
3805
3886
  packageName: PACKAGE_NAME,
3887
+ migrationOptions: {
3888
+ optInTransformResponse: true
3889
+ },
3806
3890
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3807
3891
  protoPath: "/api/v1/participants/my_program/{programId}",
3808
3892
  data: payload,
@@ -3876,6 +3960,9 @@ function myProgramStep(payload) {
3876
3960
  method: "GET",
3877
3961
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgramStep",
3878
3962
  packageName: PACKAGE_NAME,
3963
+ migrationOptions: {
3964
+ optInTransformResponse: true
3965
+ },
3879
3966
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
3880
3967
  protoPath: "/api/v1/participants/my_program/{programId}/step/{programStepId}",
3881
3968
  data: payload,
@@ -4179,6 +4266,9 @@ function myProgramSection(payload) {
4179
4266
  method: "GET",
4180
4267
  methodFqn: "com.wixpress.achievements.api.v1.ParticipantsService.MyProgramSection",
4181
4268
  packageName: PACKAGE_NAME,
4269
+ migrationOptions: {
4270
+ optInTransformResponse: true
4271
+ },
4182
4272
  url: resolveComWixpressAchievementsApiV1ParticipantsServiceUrl({
4183
4273
  protoPath: "/api/v1/participants/my_program/{programId}/section/{programSectionId}",
4184
4274
  data: payload,