@wix/auto_sdk_online-programs_participants 1.0.10 → 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
|
@@ -20,11 +20,20 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// index.typings.ts
|
|
21
21
|
var index_typings_exports = {};
|
|
22
22
|
__export(index_typings_exports, {
|
|
23
|
+
AggregationType: () => AggregationType,
|
|
23
24
|
BenefitType: () => BenefitType,
|
|
24
25
|
Event: () => Event,
|
|
26
|
+
Interval: () => Interval,
|
|
25
27
|
JoinPath: () => JoinPath,
|
|
28
|
+
MissingValues: () => MissingValues,
|
|
29
|
+
Mode: () => Mode,
|
|
30
|
+
NestedAggregationType: () => NestedAggregationType,
|
|
31
|
+
ScalarType: () => ScalarType,
|
|
32
|
+
SortDirection: () => SortDirection,
|
|
26
33
|
SortOrder: () => SortOrder,
|
|
34
|
+
SortType: () => SortType,
|
|
27
35
|
State: () => State,
|
|
36
|
+
Status: () => Status,
|
|
28
37
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
29
38
|
bulkAddAllToProgram: () => bulkAddAllToProgram2,
|
|
30
39
|
bulkAddToProgram: () => bulkAddToProgram2,
|
|
@@ -33,6 +42,8 @@ __export(index_typings_exports, {
|
|
|
33
42
|
bulkCreateParticipant: () => bulkCreateParticipant2,
|
|
34
43
|
bulkInviteAllToProgram: () => bulkInviteAllToProgram2,
|
|
35
44
|
bulkInviteToProgram: () => bulkInviteToProgram2,
|
|
45
|
+
bulkUpdateParticipantTags: () => bulkUpdateParticipantTags2,
|
|
46
|
+
bulkUpdateParticipantTagsByFilter: () => bulkUpdateParticipantTagsByFilter2,
|
|
36
47
|
createParticipant: () => createParticipant2,
|
|
37
48
|
deleteParticipant: () => deleteParticipant2,
|
|
38
49
|
exportParticipantsStats: () => exportParticipantsStats2,
|
|
@@ -42,6 +53,7 @@ __export(index_typings_exports, {
|
|
|
42
53
|
getPremiumStats: () => getPremiumStats2,
|
|
43
54
|
issueCertificate: () => issueCertificate2,
|
|
44
55
|
queryParticipants: () => queryParticipants2,
|
|
56
|
+
searchParticipants: () => searchParticipants2,
|
|
45
57
|
typedQueryParticipants: () => typedQueryParticipants
|
|
46
58
|
});
|
|
47
59
|
module.exports = __toCommonJS(index_typings_exports);
|
|
@@ -576,6 +588,122 @@ function getAccessStatus(payload) {
|
|
|
576
588
|
}
|
|
577
589
|
return __getAccessStatus;
|
|
578
590
|
}
|
|
591
|
+
function bulkUpdateParticipantTags(payload) {
|
|
592
|
+
function __bulkUpdateParticipantTags({ host }) {
|
|
593
|
+
const metadata = {
|
|
594
|
+
entityFqdn: "wix.online_programs.v3.participant",
|
|
595
|
+
method: "POST",
|
|
596
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.BulkUpdateParticipantTags",
|
|
597
|
+
packageName: PACKAGE_NAME,
|
|
598
|
+
migrationOptions: {
|
|
599
|
+
optInTransformResponse: true
|
|
600
|
+
},
|
|
601
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
602
|
+
protoPath: "/v3/bulk/participants/update-tags",
|
|
603
|
+
data: payload,
|
|
604
|
+
host
|
|
605
|
+
}),
|
|
606
|
+
data: payload
|
|
607
|
+
};
|
|
608
|
+
return metadata;
|
|
609
|
+
}
|
|
610
|
+
return __bulkUpdateParticipantTags;
|
|
611
|
+
}
|
|
612
|
+
function bulkUpdateParticipantTagsByFilter(payload) {
|
|
613
|
+
function __bulkUpdateParticipantTagsByFilter({ host }) {
|
|
614
|
+
const metadata = {
|
|
615
|
+
entityFqdn: "wix.online_programs.v3.participant",
|
|
616
|
+
method: "POST",
|
|
617
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.BulkUpdateParticipantTagsByFilter",
|
|
618
|
+
packageName: PACKAGE_NAME,
|
|
619
|
+
migrationOptions: {
|
|
620
|
+
optInTransformResponse: true
|
|
621
|
+
},
|
|
622
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
623
|
+
protoPath: "/v3/bulk/participants/update-tags-by-filter",
|
|
624
|
+
data: payload,
|
|
625
|
+
host
|
|
626
|
+
}),
|
|
627
|
+
data: payload
|
|
628
|
+
};
|
|
629
|
+
return metadata;
|
|
630
|
+
}
|
|
631
|
+
return __bulkUpdateParticipantTagsByFilter;
|
|
632
|
+
}
|
|
633
|
+
function searchParticipants(payload) {
|
|
634
|
+
function __searchParticipants({ host }) {
|
|
635
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
636
|
+
{
|
|
637
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
638
|
+
paths: [
|
|
639
|
+
{ path: "search.aggregations.range.buckets.from" },
|
|
640
|
+
{ path: "search.aggregations.range.buckets.to" },
|
|
641
|
+
{
|
|
642
|
+
path: "search.aggregations.nested.nestedAggregations.range.buckets.from"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
path: "search.aggregations.nested.nestedAggregations.range.buckets.to"
|
|
646
|
+
}
|
|
647
|
+
]
|
|
648
|
+
}
|
|
649
|
+
]);
|
|
650
|
+
const metadata = {
|
|
651
|
+
entityFqdn: "wix.online_programs.v3.participant",
|
|
652
|
+
method: "POST",
|
|
653
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.SearchParticipants",
|
|
654
|
+
packageName: PACKAGE_NAME,
|
|
655
|
+
migrationOptions: {
|
|
656
|
+
optInTransformResponse: true
|
|
657
|
+
},
|
|
658
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
659
|
+
protoPath: "/v3/participants/search",
|
|
660
|
+
data: serializedData,
|
|
661
|
+
host
|
|
662
|
+
}),
|
|
663
|
+
data: serializedData,
|
|
664
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
665
|
+
{
|
|
666
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
667
|
+
paths: [
|
|
668
|
+
{ path: "participants.createdDate" },
|
|
669
|
+
{ path: "participants.updatedDate" },
|
|
670
|
+
{ path: "participants.lastActivityDate" },
|
|
671
|
+
{ path: "participants.certificate.issuedDate" }
|
|
672
|
+
]
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
676
|
+
paths: [
|
|
677
|
+
{ path: "participants.progress.completionPercentage" },
|
|
678
|
+
{ path: "aggregationData.results.scalar.value" },
|
|
679
|
+
{
|
|
680
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
path: "aggregationData.results.nested.results.results.*.scalar.value"
|
|
684
|
+
},
|
|
685
|
+
{ path: "aggregationData.results.ranges.results.from" },
|
|
686
|
+
{ path: "aggregationData.results.ranges.results.to" },
|
|
687
|
+
{
|
|
688
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
path: "aggregationData.results.nested.results.results.*.range.from"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
path: "aggregationData.results.nested.results.results.*.range.to"
|
|
698
|
+
}
|
|
699
|
+
]
|
|
700
|
+
}
|
|
701
|
+
])
|
|
702
|
+
};
|
|
703
|
+
return metadata;
|
|
704
|
+
}
|
|
705
|
+
return __searchParticipants;
|
|
706
|
+
}
|
|
579
707
|
function bulkInviteToProgram(payload) {
|
|
580
708
|
function __bulkInviteToProgram({ host }) {
|
|
581
709
|
const metadata = {
|
|
@@ -759,22 +887,77 @@ var JoinPath = /* @__PURE__ */ ((JoinPath2) => {
|
|
|
759
887
|
JoinPath2["FREE_COUPON"] = "FREE_COUPON";
|
|
760
888
|
return JoinPath2;
|
|
761
889
|
})(JoinPath || {});
|
|
762
|
-
var
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
return
|
|
772
|
-
})(
|
|
890
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
891
|
+
Status2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
892
|
+
Status2["JOINED"] = "JOINED";
|
|
893
|
+
Status2["COMPLETED"] = "COMPLETED";
|
|
894
|
+
Status2["FAILED"] = "FAILED";
|
|
895
|
+
Status2["SUSPENDED"] = "SUSPENDED";
|
|
896
|
+
Status2["AUTO_REMOVED"] = "AUTO_REMOVED";
|
|
897
|
+
Status2["REMOVED"] = "REMOVED";
|
|
898
|
+
Status2["LEFT"] = "LEFT";
|
|
899
|
+
return Status2;
|
|
900
|
+
})(Status || {});
|
|
773
901
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
774
902
|
SortOrder2["ASC"] = "ASC";
|
|
775
903
|
SortOrder2["DESC"] = "DESC";
|
|
776
904
|
return SortOrder2;
|
|
777
905
|
})(SortOrder || {});
|
|
906
|
+
var SortType = /* @__PURE__ */ ((SortType2) => {
|
|
907
|
+
SortType2["COUNT"] = "COUNT";
|
|
908
|
+
SortType2["VALUE"] = "VALUE";
|
|
909
|
+
return SortType2;
|
|
910
|
+
})(SortType || {});
|
|
911
|
+
var SortDirection = /* @__PURE__ */ ((SortDirection2) => {
|
|
912
|
+
SortDirection2["DESC"] = "DESC";
|
|
913
|
+
SortDirection2["ASC"] = "ASC";
|
|
914
|
+
return SortDirection2;
|
|
915
|
+
})(SortDirection || {});
|
|
916
|
+
var MissingValues = /* @__PURE__ */ ((MissingValues2) => {
|
|
917
|
+
MissingValues2["EXCLUDE"] = "EXCLUDE";
|
|
918
|
+
MissingValues2["INCLUDE"] = "INCLUDE";
|
|
919
|
+
return MissingValues2;
|
|
920
|
+
})(MissingValues || {});
|
|
921
|
+
var ScalarType = /* @__PURE__ */ ((ScalarType2) => {
|
|
922
|
+
ScalarType2["UNKNOWN_SCALAR_TYPE"] = "UNKNOWN_SCALAR_TYPE";
|
|
923
|
+
ScalarType2["COUNT_DISTINCT"] = "COUNT_DISTINCT";
|
|
924
|
+
ScalarType2["MIN"] = "MIN";
|
|
925
|
+
ScalarType2["MAX"] = "MAX";
|
|
926
|
+
return ScalarType2;
|
|
927
|
+
})(ScalarType || {});
|
|
928
|
+
var NestedAggregationType = /* @__PURE__ */ ((NestedAggregationType2) => {
|
|
929
|
+
NestedAggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
930
|
+
NestedAggregationType2["VALUE"] = "VALUE";
|
|
931
|
+
NestedAggregationType2["RANGE"] = "RANGE";
|
|
932
|
+
NestedAggregationType2["SCALAR"] = "SCALAR";
|
|
933
|
+
NestedAggregationType2["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
|
|
934
|
+
return NestedAggregationType2;
|
|
935
|
+
})(NestedAggregationType || {});
|
|
936
|
+
var Interval = /* @__PURE__ */ ((Interval2) => {
|
|
937
|
+
Interval2["UNKNOWN_INTERVAL"] = "UNKNOWN_INTERVAL";
|
|
938
|
+
Interval2["YEAR"] = "YEAR";
|
|
939
|
+
Interval2["MONTH"] = "MONTH";
|
|
940
|
+
Interval2["WEEK"] = "WEEK";
|
|
941
|
+
Interval2["DAY"] = "DAY";
|
|
942
|
+
Interval2["HOUR"] = "HOUR";
|
|
943
|
+
Interval2["MINUTE"] = "MINUTE";
|
|
944
|
+
Interval2["SECOND"] = "SECOND";
|
|
945
|
+
return Interval2;
|
|
946
|
+
})(Interval || {});
|
|
947
|
+
var AggregationType = /* @__PURE__ */ ((AggregationType2) => {
|
|
948
|
+
AggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
949
|
+
AggregationType2["VALUE"] = "VALUE";
|
|
950
|
+
AggregationType2["RANGE"] = "RANGE";
|
|
951
|
+
AggregationType2["SCALAR"] = "SCALAR";
|
|
952
|
+
AggregationType2["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
|
|
953
|
+
AggregationType2["NESTED"] = "NESTED";
|
|
954
|
+
return AggregationType2;
|
|
955
|
+
})(AggregationType || {});
|
|
956
|
+
var Mode = /* @__PURE__ */ ((Mode2) => {
|
|
957
|
+
Mode2["OR"] = "OR";
|
|
958
|
+
Mode2["AND"] = "AND";
|
|
959
|
+
return Mode2;
|
|
960
|
+
})(Mode || {});
|
|
778
961
|
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
779
962
|
BenefitType2["UNDEFINED"] = "UNDEFINED";
|
|
780
963
|
BenefitType2["LIMITED"] = "LIMITED";
|
|
@@ -795,6 +978,17 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
795
978
|
WebhookIdentityType2["APP"] = "APP";
|
|
796
979
|
return WebhookIdentityType2;
|
|
797
980
|
})(WebhookIdentityType || {});
|
|
981
|
+
var State = /* @__PURE__ */ ((State2) => {
|
|
982
|
+
State2["UNKNOWN_STATE"] = "UNKNOWN_STATE";
|
|
983
|
+
State2["JOINED"] = "JOINED";
|
|
984
|
+
State2["COMPLETED"] = "COMPLETED";
|
|
985
|
+
State2["FAILED"] = "FAILED";
|
|
986
|
+
State2["SUSPENDED"] = "SUSPENDED";
|
|
987
|
+
State2["AUTO_REMOVED"] = "AUTO_REMOVED";
|
|
988
|
+
State2["REMOVED"] = "REMOVED";
|
|
989
|
+
State2["LEFT"] = "LEFT";
|
|
990
|
+
return State2;
|
|
991
|
+
})(State || {});
|
|
798
992
|
async function createParticipant2(participant) {
|
|
799
993
|
const { httpClient, sideEffects } = arguments[1];
|
|
800
994
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -1091,6 +1285,93 @@ async function getAccessStatus2() {
|
|
|
1091
1285
|
throw transformedError;
|
|
1092
1286
|
}
|
|
1093
1287
|
}
|
|
1288
|
+
async function bulkUpdateParticipantTags2(participantIds, options) {
|
|
1289
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1290
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1291
|
+
participantIds,
|
|
1292
|
+
assignTags: options?.assignTags,
|
|
1293
|
+
unassignTags: options?.unassignTags
|
|
1294
|
+
});
|
|
1295
|
+
const reqOpts = bulkUpdateParticipantTags(payload);
|
|
1296
|
+
sideEffects?.onSiteCall?.();
|
|
1297
|
+
try {
|
|
1298
|
+
const result = await httpClient.request(reqOpts);
|
|
1299
|
+
sideEffects?.onSuccess?.(result);
|
|
1300
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1301
|
+
} catch (err) {
|
|
1302
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1303
|
+
err,
|
|
1304
|
+
{
|
|
1305
|
+
spreadPathsToArguments: {},
|
|
1306
|
+
explicitPathsToArguments: {
|
|
1307
|
+
participantIds: "$[0]",
|
|
1308
|
+
assignTags: "$[1].assignTags",
|
|
1309
|
+
unassignTags: "$[1].unassignTags"
|
|
1310
|
+
},
|
|
1311
|
+
singleArgumentUnchanged: false
|
|
1312
|
+
},
|
|
1313
|
+
["participantIds", "options"]
|
|
1314
|
+
);
|
|
1315
|
+
sideEffects?.onError?.(err);
|
|
1316
|
+
throw transformedError;
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
async function bulkUpdateParticipantTagsByFilter2(filter, options) {
|
|
1320
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1321
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1322
|
+
filter,
|
|
1323
|
+
assignTags: options?.assignTags,
|
|
1324
|
+
unassignTags: options?.unassignTags
|
|
1325
|
+
});
|
|
1326
|
+
const reqOpts = bulkUpdateParticipantTagsByFilter(
|
|
1327
|
+
payload
|
|
1328
|
+
);
|
|
1329
|
+
sideEffects?.onSiteCall?.();
|
|
1330
|
+
try {
|
|
1331
|
+
const result = await httpClient.request(reqOpts);
|
|
1332
|
+
sideEffects?.onSuccess?.(result);
|
|
1333
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1334
|
+
} catch (err) {
|
|
1335
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1336
|
+
err,
|
|
1337
|
+
{
|
|
1338
|
+
spreadPathsToArguments: {},
|
|
1339
|
+
explicitPathsToArguments: {
|
|
1340
|
+
filter: "$[0]",
|
|
1341
|
+
assignTags: "$[1].assignTags",
|
|
1342
|
+
unassignTags: "$[1].unassignTags"
|
|
1343
|
+
},
|
|
1344
|
+
singleArgumentUnchanged: false
|
|
1345
|
+
},
|
|
1346
|
+
["filter", "options"]
|
|
1347
|
+
);
|
|
1348
|
+
sideEffects?.onError?.(err);
|
|
1349
|
+
throw transformedError;
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
async function searchParticipants2(search) {
|
|
1353
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
1354
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ search });
|
|
1355
|
+
const reqOpts = searchParticipants(payload);
|
|
1356
|
+
sideEffects?.onSiteCall?.();
|
|
1357
|
+
try {
|
|
1358
|
+
const result = await httpClient.request(reqOpts);
|
|
1359
|
+
sideEffects?.onSuccess?.(result);
|
|
1360
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1361
|
+
} catch (err) {
|
|
1362
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1363
|
+
err,
|
|
1364
|
+
{
|
|
1365
|
+
spreadPathsToArguments: {},
|
|
1366
|
+
explicitPathsToArguments: { search: "$[0]" },
|
|
1367
|
+
singleArgumentUnchanged: false
|
|
1368
|
+
},
|
|
1369
|
+
["search"]
|
|
1370
|
+
);
|
|
1371
|
+
sideEffects?.onError?.(err);
|
|
1372
|
+
throw transformedError;
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1094
1375
|
async function bulkInviteToProgram2(programId, options) {
|
|
1095
1376
|
const { httpClient, sideEffects } = arguments[2];
|
|
1096
1377
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -1268,11 +1549,20 @@ async function exportParticipantsStats2(programId) {
|
|
|
1268
1549
|
}
|
|
1269
1550
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1270
1551
|
0 && (module.exports = {
|
|
1552
|
+
AggregationType,
|
|
1271
1553
|
BenefitType,
|
|
1272
1554
|
Event,
|
|
1555
|
+
Interval,
|
|
1273
1556
|
JoinPath,
|
|
1557
|
+
MissingValues,
|
|
1558
|
+
Mode,
|
|
1559
|
+
NestedAggregationType,
|
|
1560
|
+
ScalarType,
|
|
1561
|
+
SortDirection,
|
|
1274
1562
|
SortOrder,
|
|
1563
|
+
SortType,
|
|
1275
1564
|
State,
|
|
1565
|
+
Status,
|
|
1276
1566
|
WebhookIdentityType,
|
|
1277
1567
|
bulkAddAllToProgram,
|
|
1278
1568
|
bulkAddToProgram,
|
|
@@ -1281,6 +1571,8 @@ async function exportParticipantsStats2(programId) {
|
|
|
1281
1571
|
bulkCreateParticipant,
|
|
1282
1572
|
bulkInviteAllToProgram,
|
|
1283
1573
|
bulkInviteToProgram,
|
|
1574
|
+
bulkUpdateParticipantTags,
|
|
1575
|
+
bulkUpdateParticipantTagsByFilter,
|
|
1284
1576
|
createParticipant,
|
|
1285
1577
|
deleteParticipant,
|
|
1286
1578
|
exportParticipantsStats,
|
|
@@ -1290,6 +1582,7 @@ async function exportParticipantsStats2(programId) {
|
|
|
1290
1582
|
getPremiumStats,
|
|
1291
1583
|
issueCertificate,
|
|
1292
1584
|
queryParticipants,
|
|
1585
|
+
searchParticipants,
|
|
1293
1586
|
typedQueryParticipants
|
|
1294
1587
|
});
|
|
1295
1588
|
//# sourceMappingURL=index.typings.js.map
|