@wix/auto_sdk_online-programs_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.
@@ -207,6 +207,9 @@ function joinProgram(payload) {
207
207
  method: "POST",
208
208
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.JoinProgram",
209
209
  packageName: PACKAGE_NAME,
210
+ migrationOptions: {
211
+ optInTransformResponse: true
212
+ },
210
213
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
211
214
  protoPath: "/v3/participants/join",
212
215
  data: payload,
@@ -239,6 +242,9 @@ function getParticipant(payload) {
239
242
  method: "GET",
240
243
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetParticipant",
241
244
  packageName: PACKAGE_NAME,
245
+ migrationOptions: {
246
+ optInTransformResponse: true
247
+ },
242
248
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
243
249
  protoPath: "/v3/participants/{participantId}",
244
250
  data: payload,
@@ -271,6 +277,9 @@ function leaveProgram(payload) {
271
277
  method: "POST",
272
278
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.LeaveProgram",
273
279
  packageName: PACKAGE_NAME,
280
+ migrationOptions: {
281
+ optInTransformResponse: true
282
+ },
274
283
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
275
284
  protoPath: "/v3/participants/{participantId}/leave",
276
285
  data: payload,
@@ -289,6 +298,9 @@ function queryParticipants(payload) {
289
298
  method: "POST",
290
299
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.QueryParticipants",
291
300
  packageName: PACKAGE_NAME,
301
+ migrationOptions: {
302
+ optInTransformResponse: true
303
+ },
292
304
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
293
305
  protoPath: "/v3/participants/query",
294
306
  data: payload,
@@ -321,6 +333,9 @@ function getAccessStatus(payload) {
321
333
  method: "GET",
322
334
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetAccessStatus",
323
335
  packageName: PACKAGE_NAME,
336
+ migrationOptions: {
337
+ optInTransformResponse: true
338
+ },
324
339
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
325
340
  protoPath: "/v3/participants/access",
326
341
  data: payload,
@@ -339,6 +354,9 @@ function applyCoupon(payload) {
339
354
  method: "POST",
340
355
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.ApplyCoupon",
341
356
  packageName: PACKAGE_NAME,
357
+ migrationOptions: {
358
+ optInTransformResponse: true
359
+ },
342
360
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
343
361
  protoPath: "/v3/participants/{participantId}/coupons/{couponCode}/apply",
344
362
  data: payload,
@@ -367,6 +385,9 @@ function revertCoupon(payload) {
367
385
  method: "POST",
368
386
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.RevertCoupon",
369
387
  packageName: PACKAGE_NAME,
388
+ migrationOptions: {
389
+ optInTransformResponse: true
390
+ },
370
391
  url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
371
392
  protoPath: "/v3/participants/{participantId}/coupons/{couponId}/revert",
372
393
  data: payload,
@@ -391,6 +412,9 @@ function bulkInviteToProgram(payload) {
391
412
  method: "POST",
392
413
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkInviteToProgram",
393
414
  packageName: PACKAGE_NAME,
415
+ migrationOptions: {
416
+ optInTransformResponse: true
417
+ },
394
418
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
395
419
  protoPath: "/v3/bulk/participants/invite",
396
420
  data: payload,
@@ -423,6 +447,9 @@ function bulkInviteAllToProgram(payload) {
423
447
  method: "POST",
424
448
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkInviteAllToProgram",
425
449
  packageName: PACKAGE_NAME,
450
+ migrationOptions: {
451
+ optInTransformResponse: true
452
+ },
426
453
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
427
454
  protoPath: "/v3/bulk/participants/invite-all",
428
455
  data: payload,
@@ -441,6 +468,9 @@ function bulkAddToProgram(payload) {
441
468
  method: "POST",
442
469
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkAddToProgram",
443
470
  packageName: PACKAGE_NAME,
471
+ migrationOptions: {
472
+ optInTransformResponse: true
473
+ },
444
474
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
445
475
  protoPath: "/v3/bulk/participants/add",
446
476
  data: payload,
@@ -473,6 +503,9 @@ function bulkAddAllToProgram(payload) {
473
503
  method: "POST",
474
504
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkAddAllToProgram",
475
505
  packageName: PACKAGE_NAME,
506
+ migrationOptions: {
507
+ optInTransformResponse: true
508
+ },
476
509
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
477
510
  protoPath: "/v3/bulk/participants/add-all",
478
511
  data: payload,
@@ -491,6 +524,9 @@ function bulkApproveParticipant(payload) {
491
524
  method: "POST",
492
525
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkApproveParticipant",
493
526
  packageName: PACKAGE_NAME,
527
+ migrationOptions: {
528
+ optInTransformResponse: true
529
+ },
494
530
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
495
531
  protoPath: "/v3/bulk/participants/approve",
496
532
  data: payload,
@@ -523,6 +559,9 @@ function bulkApproveAllParticipant(payload) {
523
559
  method: "POST",
524
560
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.BulkApproveAllParticipant",
525
561
  packageName: PACKAGE_NAME,
562
+ migrationOptions: {
563
+ optInTransformResponse: true
564
+ },
526
565
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
527
566
  protoPath: "/v3/bulk/participants/approve-all",
528
567
  data: payload,
@@ -541,6 +580,9 @@ function deleteParticipant(payload) {
541
580
  method: "DELETE",
542
581
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.DeleteParticipant",
543
582
  packageName: PACKAGE_NAME,
583
+ migrationOptions: {
584
+ optInTransformResponse: true
585
+ },
544
586
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
545
587
  protoPath: "/v3/participants/{participantId}",
546
588
  data: payload,
@@ -559,6 +601,9 @@ function issueCertificate(payload) {
559
601
  method: "POST",
560
602
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.IssueCertificate",
561
603
  packageName: PACKAGE_NAME,
604
+ migrationOptions: {
605
+ optInTransformResponse: true
606
+ },
562
607
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
563
608
  protoPath: "/v3/participants/{participantId}/issue-certificate",
564
609
  data: payload,
@@ -591,6 +636,9 @@ function getCompletionStats(payload) {
591
636
  method: "GET",
592
637
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.GetCompletionStats",
593
638
  packageName: PACKAGE_NAME,
639
+ migrationOptions: {
640
+ optInTransformResponse: true
641
+ },
594
642
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
595
643
  protoPath: "/v3/stats/completion/{programId}",
596
644
  data: payload,
@@ -615,6 +663,9 @@ function getPremiumStats(payload) {
615
663
  method: "GET",
616
664
  methodFqn: "wix.onlineprograms.participants.v3.ManageParticipantsService.GetPremiumStats",
617
665
  packageName: PACKAGE_NAME,
666
+ migrationOptions: {
667
+ optInTransformResponse: true
668
+ },
618
669
  url: resolveWixOnlineprogramsParticipantsV3ManageParticipantsServiceUrl({
619
670
  protoPath: "/v3/stats/premium",
620
671
  data: payload,
@@ -633,6 +684,9 @@ function exportParticipantsStats(payload) {
633
684
  method: "GET",
634
685
  methodFqn: "wix.onlineprograms.participants.v3.ParticipantExportsService.ExportParticipantsStats",
635
686
  packageName: PACKAGE_NAME,
687
+ migrationOptions: {
688
+ optInTransformResponse: true
689
+ },
636
690
  url: resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl({
637
691
  protoPath: "/v3/participants/export/{programId}",
638
692
  data: payload,
@@ -645,6 +699,134 @@ function exportParticipantsStats(payload) {
645
699
  return __exportParticipantsStats;
646
700
  }
647
701
 
702
+ // src/online-programs-v3-participant-participants.types.ts
703
+ var JoinPath = /* @__PURE__ */ ((JoinPath2) => {
704
+ JoinPath2["UNKNOWN_JOIN_PATH"] = "UNKNOWN_JOIN_PATH";
705
+ JoinPath2["FREE"] = "FREE";
706
+ JoinPath2["ADDED"] = "ADDED";
707
+ JoinPath2["SINGLE_PAYMENT"] = "SINGLE_PAYMENT";
708
+ JoinPath2["PAID_PLAN"] = "PAID_PLAN";
709
+ JoinPath2["FREE_COUPON"] = "FREE_COUPON";
710
+ return JoinPath2;
711
+ })(JoinPath || {});
712
+ var State = /* @__PURE__ */ ((State2) => {
713
+ State2["UNKNOWN_STATE"] = "UNKNOWN_STATE";
714
+ State2["INVITED"] = "INVITED";
715
+ State2["APPROVAL_PENDING"] = "APPROVAL_PENDING";
716
+ State2["PAYMENT_PENDING"] = "PAYMENT_PENDING";
717
+ State2["JOINED"] = "JOINED";
718
+ State2["COMPLETED"] = "COMPLETED";
719
+ State2["FAILED"] = "FAILED";
720
+ State2["SUSPENDED"] = "SUSPENDED";
721
+ State2["AUTO_REMOVED"] = "AUTO_REMOVED";
722
+ return State2;
723
+ })(State || {});
724
+ var RemovalReason = /* @__PURE__ */ ((RemovalReason2) => {
725
+ RemovalReason2["UNKNOWN_REMOVAL_REASON"] = "UNKNOWN_REMOVAL_REASON";
726
+ RemovalReason2["LEGITIMATE_LEAVE"] = "LEGITIMATE_LEAVE";
727
+ RemovalReason2["CLEANUP_FOR_REJOIN"] = "CLEANUP_FOR_REJOIN";
728
+ RemovalReason2["CLEANUP_FOR_MANUAL_ADD"] = "CLEANUP_FOR_MANUAL_ADD";
729
+ return RemovalReason2;
730
+ })(RemovalReason || {});
731
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
732
+ SortOrder2["ASC"] = "ASC";
733
+ SortOrder2["DESC"] = "DESC";
734
+ return SortOrder2;
735
+ })(SortOrder || {});
736
+ var EventType = /* @__PURE__ */ ((EventType2) => {
737
+ EventType2["UNDEFINED"] = "UNDEFINED";
738
+ EventType2["TRANSACTION_STATUS_CHANGED"] = "TRANSACTION_STATUS_CHANGED";
739
+ EventType2["REFUND_STATUS_CHANGED"] = "REFUND_STATUS_CHANGED";
740
+ EventType2["RECURRING_PAYMENT_STATUS_CHANGED"] = "RECURRING_PAYMENT_STATUS_CHANGED";
741
+ EventType2["TRANSACTION_UPDATED"] = "TRANSACTION_UPDATED";
742
+ EventType2["TRANSACTION_CREATED"] = "TRANSACTION_CREATED";
743
+ return EventType2;
744
+ })(EventType || {});
745
+ var OrderItemCategory = /* @__PURE__ */ ((OrderItemCategory2) => {
746
+ OrderItemCategory2["UNDEFINED"] = "UNDEFINED";
747
+ OrderItemCategory2["PHYSICAL"] = "PHYSICAL";
748
+ OrderItemCategory2["DIGITAL"] = "DIGITAL";
749
+ return OrderItemCategory2;
750
+ })(OrderItemCategory || {});
751
+ var SubdivisionType = /* @__PURE__ */ ((SubdivisionType2) => {
752
+ SubdivisionType2["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
753
+ SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
754
+ SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
755
+ SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
756
+ SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
757
+ SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
758
+ SubdivisionType2["COUNTRY"] = "COUNTRY";
759
+ return SubdivisionType2;
760
+ })(SubdivisionType || {});
761
+ var VatType = /* @__PURE__ */ ((VatType2) => {
762
+ VatType2["UNSPECIFIED"] = "UNSPECIFIED";
763
+ VatType2["CPF"] = "CPF";
764
+ VatType2["CNPJ"] = "CNPJ";
765
+ return VatType2;
766
+ })(VatType || {});
767
+ var TransactionStatus = /* @__PURE__ */ ((TransactionStatus2) => {
768
+ TransactionStatus2["UNDEFINED"] = "UNDEFINED";
769
+ TransactionStatus2["APPROVED"] = "APPROVED";
770
+ TransactionStatus2["PENDING"] = "PENDING";
771
+ TransactionStatus2["PENDING_MERCHANT"] = "PENDING_MERCHANT";
772
+ TransactionStatus2["CANCELED"] = "CANCELED";
773
+ TransactionStatus2["DECLINED"] = "DECLINED";
774
+ TransactionStatus2["REFUNDED"] = "REFUNDED";
775
+ TransactionStatus2["PARTIALLY_REFUNDED"] = "PARTIALLY_REFUNDED";
776
+ TransactionStatus2["AUTHORIZED"] = "AUTHORIZED";
777
+ TransactionStatus2["VOIDED"] = "VOIDED";
778
+ return TransactionStatus2;
779
+ })(TransactionStatus || {});
780
+ var ScheduledActionType = /* @__PURE__ */ ((ScheduledActionType2) => {
781
+ ScheduledActionType2["VOID"] = "VOID";
782
+ ScheduledActionType2["CAPTURE"] = "CAPTURE";
783
+ return ScheduledActionType2;
784
+ })(ScheduledActionType || {});
785
+ var RefundStatus = /* @__PURE__ */ ((RefundStatus2) => {
786
+ RefundStatus2["UNDEFINED"] = "UNDEFINED";
787
+ RefundStatus2["APPROVED"] = "APPROVED";
788
+ RefundStatus2["PENDING"] = "PENDING";
789
+ RefundStatus2["DECLINED"] = "DECLINED";
790
+ return RefundStatus2;
791
+ })(RefundStatus || {});
792
+ var Status = /* @__PURE__ */ ((Status2) => {
793
+ Status2["UNDEFINED"] = "UNDEFINED";
794
+ Status2["PENDING"] = "PENDING";
795
+ Status2["ACTIVE"] = "ACTIVE";
796
+ Status2["CANCELLED"] = "CANCELLED";
797
+ Status2["FINISHED"] = "FINISHED";
798
+ Status2["SUSPENDED"] = "SUSPENDED";
799
+ return Status2;
800
+ })(Status || {});
801
+ var Initiator = /* @__PURE__ */ ((Initiator2) => {
802
+ Initiator2["UNDEFINED"] = "UNDEFINED";
803
+ Initiator2["BUYER"] = "BUYER";
804
+ Initiator2["MERCHANT"] = "MERCHANT";
805
+ Initiator2["PAYMENT"] = "PAYMENT";
806
+ Initiator2["SETUP"] = "SETUP";
807
+ return Initiator2;
808
+ })(Initiator || {});
809
+ var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
810
+ BenefitType2["UNDEFINED"] = "UNDEFINED";
811
+ BenefitType2["LIMITED"] = "LIMITED";
812
+ BenefitType2["UNLIMITED"] = "UNLIMITED";
813
+ return BenefitType2;
814
+ })(BenefitType || {});
815
+ var Event = /* @__PURE__ */ ((Event2) => {
816
+ Event2["Updated"] = "Updated";
817
+ Event2["Deleted"] = "Deleted";
818
+ Event2["Created"] = "Created";
819
+ return Event2;
820
+ })(Event || {});
821
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
822
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
823
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
824
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
825
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
826
+ WebhookIdentityType2["APP"] = "APP";
827
+ return WebhookIdentityType2;
828
+ })(WebhookIdentityType || {});
829
+
648
830
  // src/online-programs-v3-participant-participants.meta.ts
649
831
  function joinProgram2() {
650
832
  const payload = {};
@@ -977,6 +1159,22 @@ function exportParticipantsStats2() {
977
1159
  };
978
1160
  }
979
1161
  export {
1162
+ BenefitType as BenefitTypeOriginal,
1163
+ Event as EventOriginal,
1164
+ EventType as EventTypeOriginal,
1165
+ Initiator as InitiatorOriginal,
1166
+ JoinPath as JoinPathOriginal,
1167
+ OrderItemCategory as OrderItemCategoryOriginal,
1168
+ RefundStatus as RefundStatusOriginal,
1169
+ RemovalReason as RemovalReasonOriginal,
1170
+ ScheduledActionType as ScheduledActionTypeOriginal,
1171
+ SortOrder as SortOrderOriginal,
1172
+ State as StateOriginal,
1173
+ Status as StatusOriginal,
1174
+ SubdivisionType as SubdivisionTypeOriginal,
1175
+ TransactionStatus as TransactionStatusOriginal,
1176
+ VatType as VatTypeOriginal,
1177
+ WebhookIdentityType as WebhookIdentityTypeOriginal,
980
1178
  applyCoupon2 as applyCoupon,
981
1179
  bulkAddAllToProgram2 as bulkAddAllToProgram,
982
1180
  bulkAddToProgram2 as bulkAddToProgram,