@wix/auto_sdk_calendar_events 1.0.34 → 1.0.36
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.js +13 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +49 -25
- package/build/cjs/index.typings.js +13 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +33 -21
- package/build/es/index.mjs +13 -9
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +49 -25
- package/build/es/index.typings.mjs +13 -9
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +33 -21
- package/build/internal/cjs/index.js +13 -9
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +49 -25
- package/build/internal/cjs/index.typings.js +13 -9
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +33 -21
- package/build/internal/es/index.mjs +13 -9
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +49 -25
- package/build/internal/es/index.typings.mjs +13 -9
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +33 -21
- package/package.json +3 -2
package/build/cjs/index.js
CHANGED
|
@@ -795,6 +795,11 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
795
795
|
WebhookIdentityType2["APP"] = "APP";
|
|
796
796
|
return WebhookIdentityType2;
|
|
797
797
|
})(WebhookIdentityType || {});
|
|
798
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
799
|
+
SortOrder2["ASC"] = "ASC";
|
|
800
|
+
SortOrder2["DESC"] = "DESC";
|
|
801
|
+
return SortOrder2;
|
|
802
|
+
})(SortOrder || {});
|
|
798
803
|
var PlacementType = /* @__PURE__ */ ((PlacementType2) => {
|
|
799
804
|
PlacementType2["BEFORE"] = "BEFORE";
|
|
800
805
|
PlacementType2["AFTER"] = "AFTER";
|
|
@@ -823,11 +828,6 @@ var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
|
823
828
|
RequestedFields2["OWN_PI_FIELDS"] = "OWN_PI_FIELDS";
|
|
824
829
|
return RequestedFields2;
|
|
825
830
|
})(RequestedFields || {});
|
|
826
|
-
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
827
|
-
SortOrder2["ASC"] = "ASC";
|
|
828
|
-
SortOrder2["DESC"] = "DESC";
|
|
829
|
-
return SortOrder2;
|
|
830
|
-
})(SortOrder || {});
|
|
831
831
|
async function listEventsByContactId2(contactId, options) {
|
|
832
832
|
const { httpClient, sideEffects } = arguments[2];
|
|
833
833
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -836,7 +836,8 @@ async function listEventsByContactId2(contactId, options) {
|
|
|
836
836
|
toLocalDate: options?.toLocalDate,
|
|
837
837
|
timeZone: options?.timeZone,
|
|
838
838
|
appId: options?.appId,
|
|
839
|
-
cursorPaging: options?.cursorPaging
|
|
839
|
+
cursorPaging: options?.cursorPaging,
|
|
840
|
+
sort: options?.sort
|
|
840
841
|
});
|
|
841
842
|
const reqOpts = listEventsByContactId(payload);
|
|
842
843
|
sideEffects?.onSiteCall?.();
|
|
@@ -855,7 +856,8 @@ async function listEventsByContactId2(contactId, options) {
|
|
|
855
856
|
toLocalDate: "$[1].toLocalDate",
|
|
856
857
|
timeZone: "$[1].timeZone",
|
|
857
858
|
appId: "$[1].appId",
|
|
858
|
-
cursorPaging: "$[1].cursorPaging"
|
|
859
|
+
cursorPaging: "$[1].cursorPaging",
|
|
860
|
+
sort: "$[1].sort"
|
|
859
861
|
},
|
|
860
862
|
singleArgumentUnchanged: false
|
|
861
863
|
},
|
|
@@ -874,7 +876,8 @@ async function listEventsByMemberId2(memberId, options) {
|
|
|
874
876
|
timeZone: options?.timeZone,
|
|
875
877
|
appId: options?.appId,
|
|
876
878
|
cursorPaging: options?.cursorPaging,
|
|
877
|
-
eventIds: options?.eventIds
|
|
879
|
+
eventIds: options?.eventIds,
|
|
880
|
+
sort: options?.sort
|
|
878
881
|
});
|
|
879
882
|
const reqOpts = listEventsByMemberId(payload);
|
|
880
883
|
sideEffects?.onSiteCall?.();
|
|
@@ -894,7 +897,8 @@ async function listEventsByMemberId2(memberId, options) {
|
|
|
894
897
|
timeZone: "$[1].timeZone",
|
|
895
898
|
appId: "$[1].appId",
|
|
896
899
|
cursorPaging: "$[1].cursorPaging",
|
|
897
|
-
eventIds: "$[1].eventIds"
|
|
900
|
+
eventIds: "$[1].eventIds",
|
|
901
|
+
sort: "$[1].sort"
|
|
898
902
|
},
|
|
899
903
|
singleArgumentUnchanged: false
|
|
900
904
|
},
|