@wix/events_schedule-bookmarks
Advanced tools
Comparing version 1.0.36 to 1.0.37
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.deleteBookmark = exports.createBookmark = exports.listBookmarks = exports.rescheduleDraft = exports.publishDraft = exports.discardDraft = exports.deleteScheduleItem = exports.updateScheduleItem = exports.addScheduleItem = exports.getScheduleItem = exports.queryScheduleItems = exports.listScheduleItems = void 0; | ||
const metro_runtime_1 = require("@wix/metro-runtime"); | ||
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules"); | ||
const duration_1 = require("@wix/sdk-runtime/transformations/duration"); | ||
@@ -10,3 +10,3 @@ const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp"); | ||
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths"); | ||
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules"); | ||
const rest_modules_2 = require("@wix/sdk-runtime/rest-modules"); | ||
function resolveWixEventsScheduleBookmarkManagementUrl(opts) { | ||
@@ -85,3 +85,3 @@ const domainToMappings = { | ||
}; | ||
return (0, rest_modules_1.resolveUrl)(Object.assign(opts, { domainToMappings })); | ||
return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings })); | ||
} | ||
@@ -161,3 +161,3 @@ function resolveWixEventsScheduleScheduleManagementUrl(opts) { | ||
}; | ||
return (0, rest_modules_1.resolveUrl)(Object.assign(opts, { domainToMappings })); | ||
return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings })); | ||
} | ||
@@ -184,3 +184,3 @@ const PACKAGE_NAME = '@wix/events_schedule-bookmarks'; | ||
}), | ||
params: (0, metro_runtime_1.toURLSearchParams)(serializedData), | ||
params: (0, rest_modules_1.toURLSearchParams)(serializedData), | ||
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [ | ||
@@ -264,3 +264,3 @@ { | ||
}), | ||
params: (0, metro_runtime_1.toURLSearchParams)(payload), | ||
params: (0, rest_modules_1.toURLSearchParams)(payload), | ||
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [ | ||
@@ -381,3 +381,3 @@ { | ||
}), | ||
params: (0, metro_runtime_1.toURLSearchParams)(payload), | ||
params: (0, rest_modules_1.toURLSearchParams)(payload), | ||
}; | ||
@@ -402,3 +402,3 @@ return metadata; | ||
}), | ||
params: (0, metro_runtime_1.toURLSearchParams)(payload), | ||
params: (0, rest_modules_1.toURLSearchParams)(payload), | ||
}; | ||
@@ -469,3 +469,3 @@ return metadata; | ||
}), | ||
params: (0, metro_runtime_1.toURLSearchParams)(payload), | ||
params: (0, rest_modules_1.toURLSearchParams)(payload), | ||
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [ | ||
@@ -521,3 +521,3 @@ { | ||
}), | ||
params: (0, metro_runtime_1.toURLSearchParams)(payload), | ||
params: (0, rest_modules_1.toURLSearchParams)(payload), | ||
}; | ||
@@ -524,0 +524,0 @@ return metadata; |
@@ -27,3 +27,3 @@ import type { GoogleProtoDuration } from '@wix/metro-runtime/ambassador'; | ||
*/ | ||
createdDate?: Date; | ||
createdDate?: Date | null; | ||
/** | ||
@@ -33,3 +33,3 @@ * Schedule item modified timestamp. | ||
*/ | ||
updatedDate?: Date; | ||
updatedDate?: Date | null; | ||
/** | ||
@@ -49,5 +49,5 @@ * Event ID. | ||
/** Start of the interval. Inclusive. */ | ||
start?: Date; | ||
start?: Date | null; | ||
/** End of the interval. Non-inclusive. */ | ||
end?: Date; | ||
end?: Date | null; | ||
/** | ||
@@ -76,5 +76,5 @@ * Time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`. | ||
/** Filters schedule items starting on or after specified point in time. Inclusive. */ | ||
startingFrom?: Date; | ||
startingFrom?: Date | null; | ||
/** Filters schedule items starting before specified point in time. Non-inclusive. */ | ||
startingBefore?: Date; | ||
startingBefore?: Date | null; | ||
/** | ||
@@ -81,0 +81,0 @@ * Deprecated, use `paging`. |
@@ -30,3 +30,3 @@ /** Schedule item describes the schedule within an event. Each event may contain multiple schedule items. */ | ||
*/ | ||
_createdDate?: Date; | ||
_createdDate?: Date | null; | ||
/** | ||
@@ -36,3 +36,3 @@ * Date and time when the schedule item was updated. | ||
*/ | ||
_updatedDate?: Date; | ||
_updatedDate?: Date | null; | ||
/** | ||
@@ -52,5 +52,5 @@ * Event ID to which the schedule belongs. | ||
/** Start of the interval. Inclusive. */ | ||
start?: Date; | ||
start?: Date | null; | ||
/** End of the interval. Non-inclusive. */ | ||
end?: Date; | ||
end?: Date | null; | ||
/** | ||
@@ -81,5 +81,5 @@ * Time zone ID in the [TZ database](https://www.iana.org/time-zones) format. For example, `EST`, `America/Los_Angeles`. | ||
/** Filters schedule items starting on or after specified point in time. Inclusive. */ | ||
startingFrom?: Date; | ||
startingFrom?: Date | null; | ||
/** Filters schedule items starting before specified point in time. Non-inclusive. */ | ||
startingBefore?: Date; | ||
startingBefore?: Date | null; | ||
/** | ||
@@ -86,0 +86,0 @@ * Deprecated, use `paging`. |
import { listBookmarks as publicListBookmarks, createBookmark as publicCreateBookmark, deleteBookmark as publicDeleteBookmark, } from './events-schedule-v1-schedule-item-schedule-bookmarks.public'; | ||
import { createRESTModule } from '@wix/sdk-runtime/rest-modules'; | ||
export const listBookmarks = createRESTModule(publicListBookmarks); | ||
export const createBookmark = createRESTModule(publicCreateBookmark); | ||
export const deleteBookmark = createRESTModule(publicDeleteBookmark); | ||
export const listBookmarks = /*#__PURE__*/ createRESTModule(publicListBookmarks); | ||
export const createBookmark = /*#__PURE__*/ createRESTModule(publicCreateBookmark); | ||
export const deleteBookmark = /*#__PURE__*/ createRESTModule(publicDeleteBookmark); | ||
export { ScheduleStatus, StateFilter, SortOrder, } from './events-schedule-v1-schedule-item-schedule-bookmarks.universal'; | ||
//# sourceMappingURL=events-schedule-v1-schedule-item-schedule-bookmarks.context.js.map |
@@ -1,2 +0,2 @@ | ||
import { toURLSearchParams } from '@wix/metro-runtime'; | ||
import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules'; | ||
import { transformSDKDurationToRESTDuration } from '@wix/sdk-runtime/transformations/duration'; | ||
@@ -3,0 +3,0 @@ import { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp'; |
@@ -27,3 +27,3 @@ import type { GoogleProtoDuration } from '@wix/metro-runtime/ambassador'; | ||
*/ | ||
createdDate?: Date; | ||
createdDate?: Date | null; | ||
/** | ||
@@ -33,3 +33,3 @@ * Schedule item modified timestamp. | ||
*/ | ||
updatedDate?: Date; | ||
updatedDate?: Date | null; | ||
/** | ||
@@ -49,5 +49,5 @@ * Event ID. | ||
/** Start of the interval. Inclusive. */ | ||
start?: Date; | ||
start?: Date | null; | ||
/** End of the interval. Non-inclusive. */ | ||
end?: Date; | ||
end?: Date | null; | ||
/** | ||
@@ -76,5 +76,5 @@ * Time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`. | ||
/** Filters schedule items starting on or after specified point in time. Inclusive. */ | ||
startingFrom?: Date; | ||
startingFrom?: Date | null; | ||
/** Filters schedule items starting before specified point in time. Non-inclusive. */ | ||
startingBefore?: Date; | ||
startingBefore?: Date | null; | ||
/** | ||
@@ -81,0 +81,0 @@ * Deprecated, use `paging`. |
@@ -30,3 +30,3 @@ /** Schedule item describes the schedule within an event. Each event may contain multiple schedule items. */ | ||
*/ | ||
_createdDate?: Date; | ||
_createdDate?: Date | null; | ||
/** | ||
@@ -36,3 +36,3 @@ * Date and time when the schedule item was updated. | ||
*/ | ||
_updatedDate?: Date; | ||
_updatedDate?: Date | null; | ||
/** | ||
@@ -52,5 +52,5 @@ * Event ID to which the schedule belongs. | ||
/** Start of the interval. Inclusive. */ | ||
start?: Date; | ||
start?: Date | null; | ||
/** End of the interval. Non-inclusive. */ | ||
end?: Date; | ||
end?: Date | null; | ||
/** | ||
@@ -81,5 +81,5 @@ * Time zone ID in the [TZ database](https://www.iana.org/time-zones) format. For example, `EST`, `America/Los_Angeles`. | ||
/** Filters schedule items starting on or after specified point in time. Inclusive. */ | ||
startingFrom?: Date; | ||
startingFrom?: Date | null; | ||
/** Filters schedule items starting before specified point in time. Non-inclusive. */ | ||
startingBefore?: Date; | ||
startingBefore?: Date | null; | ||
/** | ||
@@ -86,0 +86,0 @@ * Deprecated, use `paging`. |
{ | ||
"name": "@wix/events_schedule-bookmarks", | ||
"version": "1.0.36", | ||
"version": "1.0.37", | ||
"publishConfig": { | ||
@@ -46,3 +46,3 @@ "registry": "https://registry.npmjs.org/", | ||
}, | ||
"falconPackageHash": "c311b73cfb077fac9d35d25c82bddb4350afa8ca518bf615f3ff95cf" | ||
"falconPackageHash": "d91c9892d38ade55f2c3c2a0c159e308413d711bbb46a3ddb4735504" | ||
} |
@@ -508,3 +508,3 @@ type HostModule<T, H extends Host> = { | ||
*/ | ||
_createdDate?: Date; | ||
_createdDate?: Date | null; | ||
/** | ||
@@ -514,3 +514,3 @@ * Date and time when the schedule item was updated. | ||
*/ | ||
_updatedDate?: Date; | ||
_updatedDate?: Date | null; | ||
/** | ||
@@ -530,5 +530,5 @@ * Event ID to which the schedule belongs. | ||
/** Start of the interval. Inclusive. */ | ||
start?: Date; | ||
start?: Date | null; | ||
/** End of the interval. Non-inclusive. */ | ||
end?: Date; | ||
end?: Date | null; | ||
/** | ||
@@ -559,5 +559,5 @@ * Time zone ID in the [TZ database](https://www.iana.org/time-zones) format. For example, `EST`, `America/Los_Angeles`. | ||
/** Filters schedule items starting on or after specified point in time. Inclusive. */ | ||
startingFrom?: Date; | ||
startingFrom?: Date | null; | ||
/** Filters schedule items starting before specified point in time. Non-inclusive. */ | ||
startingBefore?: Date; | ||
startingBefore?: Date | null; | ||
/** | ||
@@ -564,0 +564,0 @@ * Deprecated, use `paging`. |
@@ -508,3 +508,3 @@ type HostModule<T, H extends Host> = { | ||
*/ | ||
_createdDate?: Date; | ||
_createdDate?: Date | null; | ||
/** | ||
@@ -514,3 +514,3 @@ * Date and time when the schedule item was updated. | ||
*/ | ||
_updatedDate?: Date; | ||
_updatedDate?: Date | null; | ||
/** | ||
@@ -530,5 +530,5 @@ * Event ID to which the schedule belongs. | ||
/** Start of the interval. Inclusive. */ | ||
start?: Date; | ||
start?: Date | null; | ||
/** End of the interval. Non-inclusive. */ | ||
end?: Date; | ||
end?: Date | null; | ||
/** | ||
@@ -559,5 +559,5 @@ * Time zone ID in the [TZ database](https://www.iana.org/time-zones) format. For example, `EST`, `America/Los_Angeles`. | ||
/** Filters schedule items starting on or after specified point in time. Inclusive. */ | ||
startingFrom?: Date; | ||
startingFrom?: Date | null; | ||
/** Filters schedule items starting before specified point in time. Non-inclusive. */ | ||
startingBefore?: Date; | ||
startingBefore?: Date | null; | ||
/** | ||
@@ -564,0 +564,0 @@ * Deprecated, use `paging`. |
@@ -30,3 +30,3 @@ /** Schedule item describes the schedule within an event. Each event may contain multiple schedule items. */ | ||
*/ | ||
_createdDate?: Date; | ||
_createdDate?: Date | null; | ||
/** | ||
@@ -36,3 +36,3 @@ * Date and time when the schedule item was updated. | ||
*/ | ||
_updatedDate?: Date; | ||
_updatedDate?: Date | null; | ||
/** | ||
@@ -52,5 +52,5 @@ * Event ID to which the schedule belongs. | ||
/** Start of the interval. Inclusive. */ | ||
start?: Date; | ||
start?: Date | null; | ||
/** End of the interval. Non-inclusive. */ | ||
end?: Date; | ||
end?: Date | null; | ||
/** | ||
@@ -81,5 +81,5 @@ * Time zone ID in the [TZ database](https://www.iana.org/time-zones) format. For example, `EST`, `America/Los_Angeles`. | ||
/** Filters schedule items starting on or after specified point in time. Inclusive. */ | ||
startingFrom?: Date; | ||
startingFrom?: Date | null; | ||
/** Filters schedule items starting before specified point in time. Non-inclusive. */ | ||
startingBefore?: Date; | ||
startingBefore?: Date | null; | ||
/** | ||
@@ -86,0 +86,0 @@ * Deprecated, use `paging`. |
@@ -26,3 +26,3 @@ /** Schedule item describes the schedule within an event. Each event may contain multiple schedule items. */ | ||
*/ | ||
createdDate?: Date; | ||
createdDate?: Date | null; | ||
/** | ||
@@ -32,3 +32,3 @@ * Schedule item modified timestamp. | ||
*/ | ||
updatedDate?: Date; | ||
updatedDate?: Date | null; | ||
/** | ||
@@ -48,5 +48,5 @@ * Event ID. | ||
/** Start of the interval. Inclusive. */ | ||
start?: Date; | ||
start?: Date | null; | ||
/** End of the interval. Non-inclusive. */ | ||
end?: Date; | ||
end?: Date | null; | ||
/** | ||
@@ -132,3 +132,3 @@ * Time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`. | ||
*/ | ||
_createdDate?: Date; | ||
_createdDate?: Date | null; | ||
/** | ||
@@ -138,3 +138,3 @@ * Date and time when the schedule item was updated. | ||
*/ | ||
_updatedDate?: Date; | ||
_updatedDate?: Date | null; | ||
/** | ||
@@ -154,5 +154,5 @@ * Event ID to which the schedule belongs. | ||
/** Start of the interval. Inclusive. */ | ||
start?: Date; | ||
start?: Date | null; | ||
/** End of the interval. Non-inclusive. */ | ||
end?: Date; | ||
end?: Date | null; | ||
/** | ||
@@ -159,0 +159,0 @@ * Time zone ID in the [TZ database](https://www.iana.org/time-zones) format. For example, `EST`, `America/Los_Angeles`. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
252437