@wix/auto_sdk_online-programs_participants 1.0.9 → 1.0.11
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.
- package/build/cjs/index.d.ts +50 -12
- package/build/cjs/index.js +332 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +12 -1239
- package/build/cjs/index.typings.js +304 -11
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +736 -37
- package/build/cjs/meta.js +275 -13
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/online-programs-v3-participant-participants.universal-DRubTE1O.d.ts +2228 -0
- package/build/es/index.d.mts +50 -12
- package/build/es/index.mjs +319 -12
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +12 -1239
- package/build/es/index.typings.mjs +292 -11
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +736 -37
- package/build/es/meta.mjs +262 -12
- package/build/es/meta.mjs.map +1 -1
- package/build/es/online-programs-v3-participant-participants.universal-DRubTE1O.d.mts +2228 -0
- package/build/internal/cjs/index.d.ts +50 -12
- package/build/internal/cjs/index.js +332 -13
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +12 -1249
- package/build/internal/cjs/index.typings.js +304 -11
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +736 -37
- package/build/internal/cjs/meta.js +275 -13
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/online-programs-v3-participant-participants.universal-DUdmZP01.d.ts +2238 -0
- package/build/internal/es/index.d.mts +50 -12
- package/build/internal/es/index.mjs +319 -12
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +12 -1249
- package/build/internal/es/index.typings.mjs +292 -11
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +736 -37
- package/build/internal/es/meta.mjs +262 -12
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/online-programs-v3-participant-participants.universal-DUdmZP01.d.mts +2238 -0
- package/package.json +3 -3
|
@@ -523,6 +523,122 @@ function getAccessStatus(payload) {
|
|
|
523
523
|
}
|
|
524
524
|
return __getAccessStatus;
|
|
525
525
|
}
|
|
526
|
+
function bulkUpdateParticipantTags(payload) {
|
|
527
|
+
function __bulkUpdateParticipantTags({ host }) {
|
|
528
|
+
const metadata = {
|
|
529
|
+
entityFqdn: "wix.online_programs.v3.participant",
|
|
530
|
+
method: "POST",
|
|
531
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.BulkUpdateParticipantTags",
|
|
532
|
+
packageName: PACKAGE_NAME,
|
|
533
|
+
migrationOptions: {
|
|
534
|
+
optInTransformResponse: true
|
|
535
|
+
},
|
|
536
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
537
|
+
protoPath: "/v3/bulk/participants/update-tags",
|
|
538
|
+
data: payload,
|
|
539
|
+
host
|
|
540
|
+
}),
|
|
541
|
+
data: payload
|
|
542
|
+
};
|
|
543
|
+
return metadata;
|
|
544
|
+
}
|
|
545
|
+
return __bulkUpdateParticipantTags;
|
|
546
|
+
}
|
|
547
|
+
function bulkUpdateParticipantTagsByFilter(payload) {
|
|
548
|
+
function __bulkUpdateParticipantTagsByFilter({ host }) {
|
|
549
|
+
const metadata = {
|
|
550
|
+
entityFqdn: "wix.online_programs.v3.participant",
|
|
551
|
+
method: "POST",
|
|
552
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.BulkUpdateParticipantTagsByFilter",
|
|
553
|
+
packageName: PACKAGE_NAME,
|
|
554
|
+
migrationOptions: {
|
|
555
|
+
optInTransformResponse: true
|
|
556
|
+
},
|
|
557
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
558
|
+
protoPath: "/v3/bulk/participants/update-tags-by-filter",
|
|
559
|
+
data: payload,
|
|
560
|
+
host
|
|
561
|
+
}),
|
|
562
|
+
data: payload
|
|
563
|
+
};
|
|
564
|
+
return metadata;
|
|
565
|
+
}
|
|
566
|
+
return __bulkUpdateParticipantTagsByFilter;
|
|
567
|
+
}
|
|
568
|
+
function searchParticipants(payload) {
|
|
569
|
+
function __searchParticipants({ host }) {
|
|
570
|
+
const serializedData = transformPaths(payload, [
|
|
571
|
+
{
|
|
572
|
+
transformFn: transformSDKFloatToRESTFloat,
|
|
573
|
+
paths: [
|
|
574
|
+
{ path: "search.aggregations.range.buckets.from" },
|
|
575
|
+
{ path: "search.aggregations.range.buckets.to" },
|
|
576
|
+
{
|
|
577
|
+
path: "search.aggregations.nested.nestedAggregations.range.buckets.from"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
path: "search.aggregations.nested.nestedAggregations.range.buckets.to"
|
|
581
|
+
}
|
|
582
|
+
]
|
|
583
|
+
}
|
|
584
|
+
]);
|
|
585
|
+
const metadata = {
|
|
586
|
+
entityFqdn: "wix.online_programs.v3.participant",
|
|
587
|
+
method: "POST",
|
|
588
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.SearchParticipants",
|
|
589
|
+
packageName: PACKAGE_NAME,
|
|
590
|
+
migrationOptions: {
|
|
591
|
+
optInTransformResponse: true
|
|
592
|
+
},
|
|
593
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
594
|
+
protoPath: "/v3/participants/search",
|
|
595
|
+
data: serializedData,
|
|
596
|
+
host
|
|
597
|
+
}),
|
|
598
|
+
data: serializedData,
|
|
599
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
600
|
+
{
|
|
601
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
602
|
+
paths: [
|
|
603
|
+
{ path: "participants.createdDate" },
|
|
604
|
+
{ path: "participants.updatedDate" },
|
|
605
|
+
{ path: "participants.lastActivityDate" },
|
|
606
|
+
{ path: "participants.certificate.issuedDate" }
|
|
607
|
+
]
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
611
|
+
paths: [
|
|
612
|
+
{ path: "participants.progress.completionPercentage" },
|
|
613
|
+
{ path: "aggregationData.results.scalar.value" },
|
|
614
|
+
{
|
|
615
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
path: "aggregationData.results.nested.results.results.*.scalar.value"
|
|
619
|
+
},
|
|
620
|
+
{ path: "aggregationData.results.ranges.results.from" },
|
|
621
|
+
{ path: "aggregationData.results.ranges.results.to" },
|
|
622
|
+
{
|
|
623
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
path: "aggregationData.results.nested.results.results.*.range.from"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
path: "aggregationData.results.nested.results.results.*.range.to"
|
|
633
|
+
}
|
|
634
|
+
]
|
|
635
|
+
}
|
|
636
|
+
])
|
|
637
|
+
};
|
|
638
|
+
return metadata;
|
|
639
|
+
}
|
|
640
|
+
return __searchParticipants;
|
|
641
|
+
}
|
|
526
642
|
function bulkInviteToProgram(payload) {
|
|
527
643
|
function __bulkInviteToProgram({ host }) {
|
|
528
644
|
const metadata = {
|
|
@@ -705,22 +821,77 @@ var JoinPath = /* @__PURE__ */ ((JoinPath2) => {
|
|
|
705
821
|
JoinPath2["FREE_COUPON"] = "FREE_COUPON";
|
|
706
822
|
return JoinPath2;
|
|
707
823
|
})(JoinPath || {});
|
|
708
|
-
var
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
return
|
|
718
|
-
})(
|
|
824
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
825
|
+
Status2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
826
|
+
Status2["JOINED"] = "JOINED";
|
|
827
|
+
Status2["COMPLETED"] = "COMPLETED";
|
|
828
|
+
Status2["FAILED"] = "FAILED";
|
|
829
|
+
Status2["SUSPENDED"] = "SUSPENDED";
|
|
830
|
+
Status2["AUTO_REMOVED"] = "AUTO_REMOVED";
|
|
831
|
+
Status2["REMOVED"] = "REMOVED";
|
|
832
|
+
Status2["LEFT"] = "LEFT";
|
|
833
|
+
return Status2;
|
|
834
|
+
})(Status || {});
|
|
719
835
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
720
836
|
SortOrder2["ASC"] = "ASC";
|
|
721
837
|
SortOrder2["DESC"] = "DESC";
|
|
722
838
|
return SortOrder2;
|
|
723
839
|
})(SortOrder || {});
|
|
840
|
+
var SortType = /* @__PURE__ */ ((SortType2) => {
|
|
841
|
+
SortType2["COUNT"] = "COUNT";
|
|
842
|
+
SortType2["VALUE"] = "VALUE";
|
|
843
|
+
return SortType2;
|
|
844
|
+
})(SortType || {});
|
|
845
|
+
var SortDirection = /* @__PURE__ */ ((SortDirection2) => {
|
|
846
|
+
SortDirection2["DESC"] = "DESC";
|
|
847
|
+
SortDirection2["ASC"] = "ASC";
|
|
848
|
+
return SortDirection2;
|
|
849
|
+
})(SortDirection || {});
|
|
850
|
+
var MissingValues = /* @__PURE__ */ ((MissingValues2) => {
|
|
851
|
+
MissingValues2["EXCLUDE"] = "EXCLUDE";
|
|
852
|
+
MissingValues2["INCLUDE"] = "INCLUDE";
|
|
853
|
+
return MissingValues2;
|
|
854
|
+
})(MissingValues || {});
|
|
855
|
+
var ScalarType = /* @__PURE__ */ ((ScalarType2) => {
|
|
856
|
+
ScalarType2["UNKNOWN_SCALAR_TYPE"] = "UNKNOWN_SCALAR_TYPE";
|
|
857
|
+
ScalarType2["COUNT_DISTINCT"] = "COUNT_DISTINCT";
|
|
858
|
+
ScalarType2["MIN"] = "MIN";
|
|
859
|
+
ScalarType2["MAX"] = "MAX";
|
|
860
|
+
return ScalarType2;
|
|
861
|
+
})(ScalarType || {});
|
|
862
|
+
var NestedAggregationType = /* @__PURE__ */ ((NestedAggregationType2) => {
|
|
863
|
+
NestedAggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
864
|
+
NestedAggregationType2["VALUE"] = "VALUE";
|
|
865
|
+
NestedAggregationType2["RANGE"] = "RANGE";
|
|
866
|
+
NestedAggregationType2["SCALAR"] = "SCALAR";
|
|
867
|
+
NestedAggregationType2["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
|
|
868
|
+
return NestedAggregationType2;
|
|
869
|
+
})(NestedAggregationType || {});
|
|
870
|
+
var Interval = /* @__PURE__ */ ((Interval2) => {
|
|
871
|
+
Interval2["UNKNOWN_INTERVAL"] = "UNKNOWN_INTERVAL";
|
|
872
|
+
Interval2["YEAR"] = "YEAR";
|
|
873
|
+
Interval2["MONTH"] = "MONTH";
|
|
874
|
+
Interval2["WEEK"] = "WEEK";
|
|
875
|
+
Interval2["DAY"] = "DAY";
|
|
876
|
+
Interval2["HOUR"] = "HOUR";
|
|
877
|
+
Interval2["MINUTE"] = "MINUTE";
|
|
878
|
+
Interval2["SECOND"] = "SECOND";
|
|
879
|
+
return Interval2;
|
|
880
|
+
})(Interval || {});
|
|
881
|
+
var AggregationType = /* @__PURE__ */ ((AggregationType2) => {
|
|
882
|
+
AggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
883
|
+
AggregationType2["VALUE"] = "VALUE";
|
|
884
|
+
AggregationType2["RANGE"] = "RANGE";
|
|
885
|
+
AggregationType2["SCALAR"] = "SCALAR";
|
|
886
|
+
AggregationType2["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
|
|
887
|
+
AggregationType2["NESTED"] = "NESTED";
|
|
888
|
+
return AggregationType2;
|
|
889
|
+
})(AggregationType || {});
|
|
890
|
+
var Mode = /* @__PURE__ */ ((Mode2) => {
|
|
891
|
+
Mode2["OR"] = "OR";
|
|
892
|
+
Mode2["AND"] = "AND";
|
|
893
|
+
return Mode2;
|
|
894
|
+
})(Mode || {});
|
|
724
895
|
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
725
896
|
BenefitType2["UNDEFINED"] = "UNDEFINED";
|
|
726
897
|
BenefitType2["LIMITED"] = "LIMITED";
|
|
@@ -741,6 +912,17 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
741
912
|
WebhookIdentityType2["APP"] = "APP";
|
|
742
913
|
return WebhookIdentityType2;
|
|
743
914
|
})(WebhookIdentityType || {});
|
|
915
|
+
var State = /* @__PURE__ */ ((State2) => {
|
|
916
|
+
State2["UNKNOWN_STATE"] = "UNKNOWN_STATE";
|
|
917
|
+
State2["JOINED"] = "JOINED";
|
|
918
|
+
State2["COMPLETED"] = "COMPLETED";
|
|
919
|
+
State2["FAILED"] = "FAILED";
|
|
920
|
+
State2["SUSPENDED"] = "SUSPENDED";
|
|
921
|
+
State2["AUTO_REMOVED"] = "AUTO_REMOVED";
|
|
922
|
+
State2["REMOVED"] = "REMOVED";
|
|
923
|
+
State2["LEFT"] = "LEFT";
|
|
924
|
+
return State2;
|
|
925
|
+
})(State || {});
|
|
744
926
|
|
|
745
927
|
// src/online-programs-v3-participant-participants.meta.ts
|
|
746
928
|
function createParticipant2() {
|
|
@@ -923,6 +1105,62 @@ function getAccessStatus2() {
|
|
|
923
1105
|
__originalResponseType: null
|
|
924
1106
|
};
|
|
925
1107
|
}
|
|
1108
|
+
function bulkUpdateParticipantTags2() {
|
|
1109
|
+
const payload = {};
|
|
1110
|
+
const getRequestOptions = bulkUpdateParticipantTags(payload);
|
|
1111
|
+
const getUrl = (context) => {
|
|
1112
|
+
const { url } = getRequestOptions(context);
|
|
1113
|
+
return url;
|
|
1114
|
+
};
|
|
1115
|
+
return {
|
|
1116
|
+
getUrl,
|
|
1117
|
+
httpMethod: "POST",
|
|
1118
|
+
path: "/v3/bulk/participants/update-tags",
|
|
1119
|
+
pathParams: {},
|
|
1120
|
+
__requestType: null,
|
|
1121
|
+
__originalRequestType: null,
|
|
1122
|
+
__responseType: null,
|
|
1123
|
+
__originalResponseType: null
|
|
1124
|
+
};
|
|
1125
|
+
}
|
|
1126
|
+
function bulkUpdateParticipantTagsByFilter2() {
|
|
1127
|
+
const payload = {};
|
|
1128
|
+
const getRequestOptions = bulkUpdateParticipantTagsByFilter(
|
|
1129
|
+
payload
|
|
1130
|
+
);
|
|
1131
|
+
const getUrl = (context) => {
|
|
1132
|
+
const { url } = getRequestOptions(context);
|
|
1133
|
+
return url;
|
|
1134
|
+
};
|
|
1135
|
+
return {
|
|
1136
|
+
getUrl,
|
|
1137
|
+
httpMethod: "POST",
|
|
1138
|
+
path: "/v3/bulk/participants/update-tags-by-filter",
|
|
1139
|
+
pathParams: {},
|
|
1140
|
+
__requestType: null,
|
|
1141
|
+
__originalRequestType: null,
|
|
1142
|
+
__responseType: null,
|
|
1143
|
+
__originalResponseType: null
|
|
1144
|
+
};
|
|
1145
|
+
}
|
|
1146
|
+
function searchParticipants2() {
|
|
1147
|
+
const payload = {};
|
|
1148
|
+
const getRequestOptions = searchParticipants(payload);
|
|
1149
|
+
const getUrl = (context) => {
|
|
1150
|
+
const { url } = getRequestOptions(context);
|
|
1151
|
+
return url;
|
|
1152
|
+
};
|
|
1153
|
+
return {
|
|
1154
|
+
getUrl,
|
|
1155
|
+
httpMethod: "POST",
|
|
1156
|
+
path: "/v3/participants/search",
|
|
1157
|
+
pathParams: {},
|
|
1158
|
+
__requestType: null,
|
|
1159
|
+
__originalRequestType: null,
|
|
1160
|
+
__responseType: null,
|
|
1161
|
+
__originalResponseType: null
|
|
1162
|
+
};
|
|
1163
|
+
}
|
|
926
1164
|
function bulkInviteToProgram2() {
|
|
927
1165
|
const payload = {};
|
|
928
1166
|
const getRequestOptions = bulkInviteToProgram(payload);
|
|
@@ -1032,11 +1270,20 @@ function exportParticipantsStats2() {
|
|
|
1032
1270
|
};
|
|
1033
1271
|
}
|
|
1034
1272
|
export {
|
|
1273
|
+
AggregationType as AggregationTypeOriginal,
|
|
1035
1274
|
BenefitType as BenefitTypeOriginal,
|
|
1036
1275
|
Event as EventOriginal,
|
|
1276
|
+
Interval as IntervalOriginal,
|
|
1037
1277
|
JoinPath as JoinPathOriginal,
|
|
1278
|
+
MissingValues as MissingValuesOriginal,
|
|
1279
|
+
Mode as ModeOriginal,
|
|
1280
|
+
NestedAggregationType as NestedAggregationTypeOriginal,
|
|
1281
|
+
ScalarType as ScalarTypeOriginal,
|
|
1282
|
+
SortDirection as SortDirectionOriginal,
|
|
1038
1283
|
SortOrder as SortOrderOriginal,
|
|
1284
|
+
SortType as SortTypeOriginal,
|
|
1039
1285
|
State as StateOriginal,
|
|
1286
|
+
Status as StatusOriginal,
|
|
1040
1287
|
WebhookIdentityType as WebhookIdentityTypeOriginal,
|
|
1041
1288
|
bulkAddAllToProgram2 as bulkAddAllToProgram,
|
|
1042
1289
|
bulkAddToProgram2 as bulkAddToProgram,
|
|
@@ -1045,6 +1292,8 @@ export {
|
|
|
1045
1292
|
bulkCreateParticipant2 as bulkCreateParticipant,
|
|
1046
1293
|
bulkInviteAllToProgram2 as bulkInviteAllToProgram,
|
|
1047
1294
|
bulkInviteToProgram2 as bulkInviteToProgram,
|
|
1295
|
+
bulkUpdateParticipantTags2 as bulkUpdateParticipantTags,
|
|
1296
|
+
bulkUpdateParticipantTagsByFilter2 as bulkUpdateParticipantTagsByFilter,
|
|
1048
1297
|
createParticipant2 as createParticipant,
|
|
1049
1298
|
deleteParticipant2 as deleteParticipant,
|
|
1050
1299
|
exportParticipantsStats2 as exportParticipantsStats,
|
|
@@ -1053,6 +1302,7 @@ export {
|
|
|
1053
1302
|
getParticipant2 as getParticipant,
|
|
1054
1303
|
getPremiumStats2 as getPremiumStats,
|
|
1055
1304
|
issueCertificate2 as issueCertificate,
|
|
1056
|
-
queryParticipants2 as queryParticipants
|
|
1305
|
+
queryParticipants2 as queryParticipants,
|
|
1306
|
+
searchParticipants2 as searchParticipants
|
|
1057
1307
|
};
|
|
1058
1308
|
//# sourceMappingURL=meta.mjs.map
|