Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wix/events_schedule-bookmarks

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wix/events_schedule-bookmarks - npm Package Compare versions

Comparing version 1.0.23 to 1.0.24

2

build/cjs/index.d.ts

@@ -1,1 +0,1 @@

export * from './src/events-schedule-v1-schedule-item-schedule-bookmarks.public';
export * from './src/events-schedule-v1-schedule-item-schedule-bookmarks.context';

@@ -17,3 +17,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./src/events-schedule-v1-schedule-item-schedule-bookmarks.public"), exports);
__exportStar(require("./src/events-schedule-v1-schedule-item-schedule-bookmarks.context"), exports);
//# sourceMappingURL=index.js.map

@@ -6,1 +6,3 @@ import { listBookmarks as publicListBookmarks, createBookmark as publicCreateBookmark, deleteBookmark as publicDeleteBookmark } from './events-schedule-v1-schedule-item-schedule-bookmarks.public';

export declare const deleteBookmark: ReturnType<typeof createRESTModule<typeof publicDeleteBookmark>>;
export { ScheduleStatus, StateFilter, SortOrder, } from './events-schedule-v1-schedule-item-schedule-bookmarks.universal';
export { ScheduleItem, TimeInterval, ListScheduleItemsRequest, Paging, ListScheduleItemsResponse, FacetCounts, PagingMetadataV2, Cursors, QueryScheduleItemsRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, QueryScheduleItemsResponse, GetScheduleItemRequest, GetScheduleItemResponse, AddScheduleItemRequest, ScheduleItemData, AddScheduleItemResponse, UpdateScheduleItemRequest, UpdateScheduleItemResponse, DeleteScheduleItemRequest, DeleteScheduleItemResponse, DiscardDraftRequest, DiscardDraftResponse, PublishDraftRequest, PublishDraftResponse, RescheduleDraftRequest, RescheduleDraftResponse, ListBookmarksRequest, ListBookmarksResponse, CreateBookmarkRequest, CreateBookmarkResponse, DeleteBookmarkRequest, DeleteBookmarkResponse, ListScheduleItemsResponseNonNullableFields, QueryScheduleItemsResponseNonNullableFields, GetScheduleItemResponseNonNullableFields, AddScheduleItemResponseNonNullableFields, UpdateScheduleItemResponseNonNullableFields, ListBookmarksResponseNonNullableFields, } from './events-schedule-v1-schedule-item-schedule-bookmarks.universal';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.deleteBookmark = exports.createBookmark = exports.listBookmarks = void 0;
exports.SortOrder = exports.StateFilter = exports.ScheduleStatus = exports.deleteBookmark = exports.createBookmark = exports.listBookmarks = void 0;
const events_schedule_v1_schedule_item_schedule_bookmarks_public_1 = require("./events-schedule-v1-schedule-item-schedule-bookmarks.public");

@@ -9,2 +9,6 @@ const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");

exports.deleteBookmark = (0, rest_modules_1.createRESTModule)(events_schedule_v1_schedule_item_schedule_bookmarks_public_1.deleteBookmark);
var events_schedule_v1_schedule_item_schedule_bookmarks_universal_1 = require("./events-schedule-v1-schedule-item-schedule-bookmarks.universal");
Object.defineProperty(exports, "ScheduleStatus", { enumerable: true, get: function () { return events_schedule_v1_schedule_item_schedule_bookmarks_universal_1.ScheduleStatus; } });
Object.defineProperty(exports, "StateFilter", { enumerable: true, get: function () { return events_schedule_v1_schedule_item_schedule_bookmarks_universal_1.StateFilter; } });
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return events_schedule_v1_schedule_item_schedule_bookmarks_universal_1.SortOrder; } });
//# sourceMappingURL=events-schedule-v1-schedule-item-schedule-bookmarks.context.js.map

@@ -324,2 +324,13 @@ import type { GoogleProtoDuration } from '@wix/metro-runtime/ambassador';

}
interface ScheduleItemNonNullableFields {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}
export interface ListScheduleItemsResponseNonNullableFields {

@@ -329,89 +340,20 @@ total: number;

offset: number;
items: {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}
export interface QueryScheduleItemsResponseNonNullableFields {
items: {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}
export interface GetScheduleItemResponseNonNullableFields {
item?: {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
draft?: {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
draft?: ScheduleItemNonNullableFields;
}
export interface AddScheduleItemResponseNonNullableFields {
item?: {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
}
export interface UpdateScheduleItemResponseNonNullableFields {
item?: {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
}
export interface ListBookmarksResponseNonNullableFields {
items: {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}
export {};

@@ -338,2 +338,13 @@ /** Schedule item describes the schedule within an event. Each event may contain multiple schedule items. */

}
interface ScheduleItemNonNullableFields {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}
export interface ListScheduleItemsResponseNonNullableFields {

@@ -343,89 +354,19 @@ total: number;

offset: number;
items: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}
export interface QueryScheduleItemsResponseNonNullableFields {
items: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}
export interface GetScheduleItemResponseNonNullableFields {
item?: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
draft?: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
draft?: ScheduleItemNonNullableFields;
}
export interface AddScheduleItemResponseNonNullableFields {
item?: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
}
export interface UpdateScheduleItemResponseNonNullableFields {
item?: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
}
export interface ListBookmarksResponseNonNullableFields {
items: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}

@@ -432,0 +373,0 @@ type GoogleProtoDuration = any;

@@ -1,1 +0,1 @@

export * from './src/events-schedule-v1-schedule-item-schedule-bookmarks.public';
export * from './src/events-schedule-v1-schedule-item-schedule-bookmarks.context';

@@ -1,2 +0,2 @@

export * from './src/events-schedule-v1-schedule-item-schedule-bookmarks.public';
export * from './src/events-schedule-v1-schedule-item-schedule-bookmarks.context';
//# sourceMappingURL=index.js.map

@@ -6,1 +6,3 @@ import { listBookmarks as publicListBookmarks, createBookmark as publicCreateBookmark, deleteBookmark as publicDeleteBookmark } from './events-schedule-v1-schedule-item-schedule-bookmarks.public';

export declare const deleteBookmark: ReturnType<typeof createRESTModule<typeof publicDeleteBookmark>>;
export { ScheduleStatus, StateFilter, SortOrder, } from './events-schedule-v1-schedule-item-schedule-bookmarks.universal';
export { ScheduleItem, TimeInterval, ListScheduleItemsRequest, Paging, ListScheduleItemsResponse, FacetCounts, PagingMetadataV2, Cursors, QueryScheduleItemsRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, QueryScheduleItemsResponse, GetScheduleItemRequest, GetScheduleItemResponse, AddScheduleItemRequest, ScheduleItemData, AddScheduleItemResponse, UpdateScheduleItemRequest, UpdateScheduleItemResponse, DeleteScheduleItemRequest, DeleteScheduleItemResponse, DiscardDraftRequest, DiscardDraftResponse, PublishDraftRequest, PublishDraftResponse, RescheduleDraftRequest, RescheduleDraftResponse, ListBookmarksRequest, ListBookmarksResponse, CreateBookmarkRequest, CreateBookmarkResponse, DeleteBookmarkRequest, DeleteBookmarkResponse, ListScheduleItemsResponseNonNullableFields, QueryScheduleItemsResponseNonNullableFields, GetScheduleItemResponseNonNullableFields, AddScheduleItemResponseNonNullableFields, UpdateScheduleItemResponseNonNullableFields, ListBookmarksResponseNonNullableFields, } from './events-schedule-v1-schedule-item-schedule-bookmarks.universal';

@@ -6,2 +6,3 @@ import { listBookmarks as publicListBookmarks, createBookmark as publicCreateBookmark, deleteBookmark as publicDeleteBookmark, } from './events-schedule-v1-schedule-item-schedule-bookmarks.public';

export const deleteBookmark = 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

@@ -324,2 +324,13 @@ import type { GoogleProtoDuration } from '@wix/metro-runtime/ambassador';

}
interface ScheduleItemNonNullableFields {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}
export interface ListScheduleItemsResponseNonNullableFields {

@@ -329,89 +340,20 @@ total: number;

offset: number;
items: {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}
export interface QueryScheduleItemsResponseNonNullableFields {
items: {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}
export interface GetScheduleItemResponseNonNullableFields {
item?: {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
draft?: {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
draft?: ScheduleItemNonNullableFields;
}
export interface AddScheduleItemResponseNonNullableFields {
item?: {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
}
export interface UpdateScheduleItemResponseNonNullableFields {
item?: {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
}
export interface ListBookmarksResponseNonNullableFields {
items: {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}
export {};

@@ -338,2 +338,13 @@ /** Schedule item describes the schedule within an event. Each event may contain multiple schedule items. */

}
interface ScheduleItemNonNullableFields {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}
export interface ListScheduleItemsResponseNonNullableFields {

@@ -343,89 +354,19 @@ total: number;

offset: number;
items: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}
export interface QueryScheduleItemsResponseNonNullableFields {
items: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}
export interface GetScheduleItemResponseNonNullableFields {
item?: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
draft?: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
draft?: ScheduleItemNonNullableFields;
}
export interface AddScheduleItemResponseNonNullableFields {
item?: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
}
export interface UpdateScheduleItemResponseNonNullableFields {
item?: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
}
export interface ListBookmarksResponseNonNullableFields {
items: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}

@@ -432,0 +373,0 @@ type GoogleProtoDuration = any;

{
"name": "@wix/events_schedule-bookmarks",
"version": "1.0.23",
"version": "1.0.24",
"publishConfig": {

@@ -23,3 +23,3 @@ "registry": "https://registry.npmjs.org/",

"@wix/motion-edm-autogen-query-wrapper": "^1.0.37",
"@wix/sdk-runtime": "^0.3.11",
"@wix/sdk-runtime": "^0.3.14",
"@wix/sdk-types": "^1.9.2"

@@ -48,3 +48,3 @@ },

},
"falconPackageHash": "d687e082b5a001f74602651f3504ee6d294666e9be1925a9818f1ed0"
"falconPackageHash": "7e31c049e7dc85a1c79e40afd3bcc721f38e582e1afdc3ade017072e"
}

@@ -0,1 +1,373 @@

/** Schedule item describes the schedule within an event. Each event may contain multiple schedule items. */
interface ScheduleItem {
/**
* Schedule item ID.
* @readonly
*/
_id?: string;
/** Whether a schedule item is hidden from guests. */
hidden?: boolean;
/** Schedule item name. */
name?: string;
/** Time slot of a schedule item. */
timeSlot?: TimeInterval;
/** Rich text schedule item description. */
description?: string;
/** Stage or room name in which the session takes place. */
stageName?: string;
/** Schedule item tags. They're used to organize the items to a theme. */
tags?: string[];
/**
* Schedule item status. Possible values:
* - `SCHEDULED`: An item is scheduled.
* - `CANCELED`: An item is canceled.
*/
status?: ScheduleStatus;
/**
* Date and time when the schedule item was created.
* @readonly
*/
_createdDate?: Date;
/**
* Date and time when the schedule item was updated.
* @readonly
*/
_updatedDate?: Date;
/**
* Event ID to which the schedule belongs.
* @readonly
*/
eventId?: string;
/**
* Whether the schedule item is draft.
* @readonly
*/
draft?: boolean;
}
/** Time interval on the timeline between two points in time. */
interface TimeInterval {
/** Start of the interval. Inclusive. */
start?: Date;
/** End of the interval. Non-inclusive. */
end?: Date;
/**
* Time zone ID in the [TZ database](https://www.iana.org/time-zones) format. For example, `EST`, `America/Los_Angeles`.
* Default: `Etc/UTC`.
*/
timeZoneId?: string | null;
}
declare enum ScheduleStatus {
/** Item is scheduled for a future date */
SCHEDULED = "SCHEDULED",
/** Item was canceled */
CANCELED = "CANCELED"
}
interface ListScheduleItemsRequest {
/** Event ID to which the schedule belongs. */
eventId?: string[];
/**
* Schedule item state filter. Possible values:
* - `PUBLISHED`: The schedule item is published.
* - `DRAFT`: The schedule item is in the draft. You need the "WIX_EVENTS.MANAGE_AGENDA" permissions to change this state.
* - `VISIBLE`: The schedule item is visible to guests.
* - `HIDDEN`: The schedule item is hidden from guests. You need the "WIX_EVENTS.MANAGE_AGENDA" permissions to change this state.
* Default: Filters by the `PUBLISHED` and `VISIBLE` states.
*/
state?: StateFilter[];
/** Filters schedule items starting on or after specified point in time. Inclusive. */
startingFrom?: Date;
/** Filters schedule items starting before specified point in time. Non-inclusive. */
startingBefore?: Date;
/**
* Deprecated, use `paging`.
* Number of items to skip. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
* @deprecated
*/
offset?: number;
/**
* Deprecated, use `paging`.
* Number of items to load per page. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
* @deprecated
*/
limit?: number;
/**
* Filter facets.
* See [supported facets](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-schedule-items).
*/
facet?: string[];
/** Schedule item ID. */
itemId?: string[];
/** Schedule item tags. They're used to organize the items to a theme. */
tag?: string[];
/** Stage or room name in which the session takes place. */
stageName?: string[];
/**
* Pointer to page of results using offset.
* See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
*/
paging?: Paging;
}
declare enum StateFilter {
/** Schedule item is published. */
PUBLISHED = "PUBLISHED",
/** Opposite of `PUBLISHED`. Requires `WIX_EVENTS.MANAGE_AGENDA` permission. */
DRAFT = "DRAFT",
/** Schedule item is visible to the public. */
VISIBLE = "VISIBLE",
/** Opposite of `VISIBLE`. Requires `WIX_EVENTS.MANAGE_AGENDA` permission. */
HIDDEN = "HIDDEN"
}
interface Paging {
/** Number of items to load per page. */
limit?: number | null;
/** Number of items to skip in the current sort order. */
offset?: number | null;
}
interface ListScheduleItemsResponse {
/**
* Deprecated, use `paging_metadata.total`.
* Total schedule items matching the given filters.
* @readonly
* @deprecated
*/
total?: number;
/**
* Deprecated.
* Limit.
* @deprecated
*/
limit?: number;
/**
* Deprecated, use `paging_metadata.offset`.
* Offset.
* @deprecated
*/
offset?: number;
/** Schedule items. */
items?: ScheduleItem[];
/**
* Facets.
* @readonly
*/
facets?: Record<string, FacetCounts>;
/**
* Whether there are draft changes which have not been published yet.
* Returned only when filtering by single `event_id` with `WIX_EVENTS.MANAGE_AGENDA` permission.
* @readonly
*/
draftNotPublished?: boolean | null;
/** Paging metadata. */
pagingMetadata?: PagingMetadataV2;
}
interface FacetCounts {
/** Facet counts aggregated per value */
counts?: Record<string, number>;
}
interface PagingMetadataV2 {
/** Number of items returned in the response. */
count?: number | null;
/** Offset that was requested. */
offset?: number | null;
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
total?: number | null;
/** Flag that indicates the server failed to calculate the `total` field. */
tooManyToCount?: boolean | null;
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
cursors?: Cursors;
}
interface Cursors {
/** Cursor string pointing to the next page in the list of results. */
next?: string | null;
/** Cursor pointing to the previous page in the list of results. */
prev?: string | null;
}
interface QueryScheduleItemsRequest {
query?: QueryV2;
}
interface QueryV2 extends QueryV2PagingMethodOneOf {
/**
* Pointer to page of results using offset.
* See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
*/
paging?: Paging;
/** Filter. See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-events). */
filter?: Record<string, any> | null;
/**
* Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]
* See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-events).
*/
sort?: Sorting[];
}
/** @oneof */
interface QueryV2PagingMethodOneOf {
/**
* Pointer to page of results using offset.
* See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
*/
paging?: Paging;
}
interface Sorting {
/** Name of the field to sort by */
fieldName?: string;
/** Sort order (ASC/DESC). Defaults to ASC */
order?: SortOrder;
}
declare enum SortOrder {
ASC = "ASC",
DESC = "DESC"
}
interface QueryScheduleItemsResponse {
pagingMetadata?: PagingMetadataV2;
/** Schedule items. */
items?: ScheduleItem[];
}
interface GetScheduleItemRequest {
/** Event ID to which the schedule belongs. */
eventId?: string;
/** Schedule item ID. */
itemId: string;
/** Whether to include draft schedules in the response. */
includeDraft?: boolean;
}
interface GetScheduleItemResponse {
/** Schedule item. */
item?: ScheduleItem;
/** Draft of the Schedule item. */
draft?: ScheduleItem;
}
interface AddScheduleItemRequest {
/** Event ID to which the schedule belongs. */
eventId: string;
/** Schedule item. */
item?: ScheduleItemData;
}
/** Schedule item describes the schedule within an event. Each event may contain multiple schedule items. */
interface ScheduleItemData {
/** Whether a schedule item is hidden from guests. */
hidden?: boolean;
/** Schedule item name. */
name?: string;
/** Time slot of a schedule item. */
timeSlot?: TimeInterval;
/** Rich text schedule item description. */
description?: string;
/** Stage or room name in which the session takes place. */
stageName?: string;
/** Schedule item tags. They're used to organize the items to a theme. */
tags?: string[];
/**
* Schedule item status. Possible values:
* - `SCHEDULED`: An item is scheduled.
* - `CANCELED`: An item is canceled.
*/
status?: ScheduleStatus;
}
interface AddScheduleItemResponse {
/** Schedule item. */
item?: ScheduleItem;
}
interface UpdateScheduleItemRequest {
/** Event ID to which the schedule belongs. */
eventId: string;
/** Schedule item ID. */
itemId: string;
/** Schedule item. */
item?: ScheduleItemData;
}
interface UpdateScheduleItemResponse {
/** Schedule item. */
item?: ScheduleItem;
}
interface DeleteScheduleItemRequest {
/** Event ID to which the schedule belongs. */
eventId: string;
/** Schedule items to delete. */
itemIds?: string[];
}
interface DeleteScheduleItemResponse {
}
interface DiscardDraftRequest {
/** Event ID to which the schedule belongs. */
eventId: string;
}
interface DiscardDraftResponse {
}
interface PublishDraftRequest {
/** Event ID to which the schedule belongs. */
eventId: string;
}
interface PublishDraftResponse {
}
interface RescheduleDraftRequest {
/** Event ID to which the schedule belongs. */
eventId: string;
/**
* Time zone ID in the [TZ database](https://www.iana.org/time-zones) format. For example, `EST`, `America/Los_Angeles`.
* Default: `Etc/UTC`.
*/
timeZoneId: string;
/** Offset added or subtracted from the start and end times of schedule items. */
timeSlotOffset?: GoogleProtoDuration;
}
interface RescheduleDraftResponse {
}
interface ListBookmarksRequest {
/** Event ID to which the schedule belongs. */
eventId: string;
}
interface ListBookmarksResponse {
/** Schedule items. */
items?: ScheduleItem[];
}
interface CreateBookmarkRequest {
/** Event ID to which the schedule belongs. */
eventId: string;
/** Schedule item ID. */
itemId: string;
}
interface CreateBookmarkResponse {
}
interface DeleteBookmarkRequest {
/** Event ID to which the schedule belongs. */
eventId: string;
/** Schedule item ID. */
itemId: string;
}
interface DeleteBookmarkResponse {
}
interface ScheduleItemNonNullableFields {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}
interface ListScheduleItemsResponseNonNullableFields {
total: number;
limit: number;
offset: number;
items: ScheduleItemNonNullableFields[];
}
interface QueryScheduleItemsResponseNonNullableFields {
items: ScheduleItemNonNullableFields[];
}
interface GetScheduleItemResponseNonNullableFields {
item?: ScheduleItemNonNullableFields;
draft?: ScheduleItemNonNullableFields;
}
interface AddScheduleItemResponseNonNullableFields {
item?: ScheduleItemNonNullableFields;
}
interface UpdateScheduleItemResponseNonNullableFields {
item?: ScheduleItemNonNullableFields;
}
interface ListBookmarksResponseNonNullableFields {
items: ScheduleItemNonNullableFields[];
}
type GoogleProtoDuration = any;
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;

@@ -41,2 +413,2 @@ interface HttpClient {

export { createBookmark, deleteBookmark, listBookmarks };
export { type AddScheduleItemRequest, type AddScheduleItemResponse, type AddScheduleItemResponseNonNullableFields, type CreateBookmarkRequest, type CreateBookmarkResponse, type Cursors, type DeleteBookmarkRequest, type DeleteBookmarkResponse, type DeleteScheduleItemRequest, type DeleteScheduleItemResponse, type DiscardDraftRequest, type DiscardDraftResponse, type FacetCounts, type GetScheduleItemRequest, type GetScheduleItemResponse, type GetScheduleItemResponseNonNullableFields, type ListBookmarksRequest, type ListBookmarksResponse, type ListBookmarksResponseNonNullableFields, type ListScheduleItemsRequest, type ListScheduleItemsResponse, type ListScheduleItemsResponseNonNullableFields, type Paging, type PagingMetadataV2, type PublishDraftRequest, type PublishDraftResponse, type QueryScheduleItemsRequest, type QueryScheduleItemsResponse, type QueryScheduleItemsResponseNonNullableFields, type QueryV2, type QueryV2PagingMethodOneOf, type RescheduleDraftRequest, type RescheduleDraftResponse, type ScheduleItem, type ScheduleItemData, ScheduleStatus, SortOrder, type Sorting, StateFilter, type TimeInterval, type UpdateScheduleItemRequest, type UpdateScheduleItemResponse, type UpdateScheduleItemResponseNonNullableFields, createBookmark, deleteBookmark, listBookmarks };

@@ -338,2 +338,13 @@ /** Schedule item describes the schedule within an event. Each event may contain multiple schedule items. */

}
interface ScheduleItemNonNullableFields {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}
interface ListScheduleItemsResponseNonNullableFields {

@@ -343,92 +354,23 @@ total: number;

offset: number;
items: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}
interface QueryScheduleItemsResponseNonNullableFields {
items: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}
interface GetScheduleItemResponseNonNullableFields {
item?: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
draft?: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
draft?: ScheduleItemNonNullableFields;
}
interface AddScheduleItemResponseNonNullableFields {
item?: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
}
interface UpdateScheduleItemResponseNonNullableFields {
item?: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
}
interface ListBookmarksResponseNonNullableFields {
items: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}
type GoogleProtoDuration = any;
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
interface HttpClient {

@@ -458,2 +400,3 @@ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;

};
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;

@@ -467,9 +410,8 @@ declare global {

declare const __metadata: {
PACKAGE_NAME: string;
};
declare function listBookmarks(httpClient: HttpClient): (eventId: string) => Promise<ListBookmarksResponse & ListBookmarksResponseNonNullableFields>;
declare function createBookmark(httpClient: HttpClient): (itemId: string, eventId: string) => Promise<void>;
declare function deleteBookmark(httpClient: HttpClient): (itemId: string, eventId: string) => Promise<void>;
declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
export { type AddScheduleItemRequest, type AddScheduleItemResponse, type AddScheduleItemResponseNonNullableFields, type CreateBookmarkRequest, type CreateBookmarkResponse, type Cursors, type DeleteBookmarkRequest, type DeleteBookmarkResponse, type DeleteScheduleItemRequest, type DeleteScheduleItemResponse, type DiscardDraftRequest, type DiscardDraftResponse, type FacetCounts, type GetScheduleItemRequest, type GetScheduleItemResponse, type GetScheduleItemResponseNonNullableFields, type ListBookmarksRequest, type ListBookmarksResponse, type ListBookmarksResponseNonNullableFields, type ListScheduleItemsRequest, type ListScheduleItemsResponse, type ListScheduleItemsResponseNonNullableFields, type Paging, type PagingMetadataV2, type PublishDraftRequest, type PublishDraftResponse, type QueryScheduleItemsRequest, type QueryScheduleItemsResponse, type QueryScheduleItemsResponseNonNullableFields, type QueryV2, type QueryV2PagingMethodOneOf, type RescheduleDraftRequest, type RescheduleDraftResponse, type ScheduleItem, type ScheduleItemData, ScheduleStatus, SortOrder, type Sorting, StateFilter, type TimeInterval, type UpdateScheduleItemRequest, type UpdateScheduleItemResponse, type UpdateScheduleItemResponseNonNullableFields, __metadata, createBookmark, deleteBookmark, listBookmarks };
declare const listBookmarks: ReturnType<typeof createRESTModule<typeof publicListBookmarks>>;
declare const createBookmark: ReturnType<typeof createRESTModule<typeof publicCreateBookmark>>;
declare const deleteBookmark: ReturnType<typeof createRESTModule<typeof publicDeleteBookmark>>;
export { type AddScheduleItemRequest, type AddScheduleItemResponse, type AddScheduleItemResponseNonNullableFields, type CreateBookmarkRequest, type CreateBookmarkResponse, type Cursors, type DeleteBookmarkRequest, type DeleteBookmarkResponse, type DeleteScheduleItemRequest, type DeleteScheduleItemResponse, type DiscardDraftRequest, type DiscardDraftResponse, type FacetCounts, type GetScheduleItemRequest, type GetScheduleItemResponse, type GetScheduleItemResponseNonNullableFields, type ListBookmarksRequest, type ListBookmarksResponse, type ListBookmarksResponseNonNullableFields, type ListScheduleItemsRequest, type ListScheduleItemsResponse, type ListScheduleItemsResponseNonNullableFields, type Paging, type PagingMetadataV2, type PublishDraftRequest, type PublishDraftResponse, type QueryScheduleItemsRequest, type QueryScheduleItemsResponse, type QueryScheduleItemsResponseNonNullableFields, type QueryV2, type QueryV2PagingMethodOneOf, type RescheduleDraftRequest, type RescheduleDraftResponse, type ScheduleItem, type ScheduleItemData, ScheduleStatus, SortOrder, type Sorting, StateFilter, type TimeInterval, type UpdateScheduleItemRequest, type UpdateScheduleItemResponse, type UpdateScheduleItemResponseNonNullableFields, createBookmark, deleteBookmark, listBookmarks };

@@ -338,2 +338,13 @@ /** Schedule item describes the schedule within an event. Each event may contain multiple schedule items. */

}
interface ScheduleItemNonNullableFields {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}
interface ListScheduleItemsResponseNonNullableFields {

@@ -343,89 +354,19 @@ total: number;

offset: number;
items: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}
interface QueryScheduleItemsResponseNonNullableFields {
items: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}
interface GetScheduleItemResponseNonNullableFields {
item?: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
draft?: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
draft?: ScheduleItemNonNullableFields;
}
interface AddScheduleItemResponseNonNullableFields {
item?: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
}
interface UpdateScheduleItemResponseNonNullableFields {
item?: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
};
item?: ScheduleItemNonNullableFields;
}
interface ListBookmarksResponseNonNullableFields {
items: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}

@@ -432,0 +373,0 @@ type GoogleProtoDuration = any;

@@ -1409,14 +1409,15 @@ module.exports = Long;

}
interface ScheduleItemNonNullableFields$1 {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus$1;
eventId: string;
draft: boolean;
}
interface ListBookmarksResponseNonNullableFields$1 {
items: {
id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus$1;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields$1[];
}

@@ -1512,14 +1513,15 @@

}
interface ScheduleItemNonNullableFields {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}
interface ListBookmarksResponseNonNullableFields {
items: {
_id: string;
hidden: boolean;
name: string;
description: string;
stageName: string;
tags: string[];
status: ScheduleStatus;
eventId: string;
draft: boolean;
}[];
items: ScheduleItemNonNullableFields[];
}

@@ -1526,0 +1528,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc