{"version":3,"sources":["../../../src/events-schedule-v1-schedule-item-schedule.http.ts","../../../src/events-schedule-v1-schedule-item-schedule.types.ts","../../../src/events-schedule-v1-schedule-item-schedule.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKDurationToRESTDuration } from '@wix/sdk-runtime/transformations/duration';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixEventsScheduleScheduleManagementUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'api._api_base_domain_': [\n      {\n        srcPath: '/wix-events-agenda',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/wix-events-schedule/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n      {\n        srcPath: '/_api/wix-events-web/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/wix-events-schedule/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n      {\n        srcPath: '/_api/wix-events-web/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/wix-events-schedule/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n      {\n        srcPath: '/_api/wix-events-web/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n    ],\n    '*.pub.wix-code.com': [\n      {\n        srcPath: '/_api/wix-events-schedule/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n      {\n        srcPath: '/_api/wix-events-web/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/wix-events-schedule/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/wix-events-schedule/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n      {\n        srcPath: '/_api/wix-events-web/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/wix-events-schedule/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n      {\n        srcPath: '/_api/wix-events-web/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/wix-events-schedule/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n      {\n        srcPath: '/_api/wix-events-web/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n    ],\n    'editor-flow.wixapps.net': [\n      {\n        srcPath: '/_api/wix-events-schedule/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n      {\n        srcPath: '/_api/wix-events-web/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/events/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n    ],\n    'api._base_domain_': [\n      {\n        srcPath: '/events/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/_api/wix-events-web/v1/schedule',\n        destPath: '/v1/schedule',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_events_schedule';\n\n/**\n * Retrieves a list of up to 100 schedule items, with basic filter support.\n *\n * Default filters to schedule items with a `state` of `PUBLISHED` and `VISIBLE`.\n */\nexport function listScheduleItems(payload: object): RequestOptionsFactory<any> {\n  function __listScheduleItems({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [{ path: 'startingFrom' }, { path: 'startingBefore' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.events.schedule.v1.schedule_item',\n      method: 'GET' as any,\n      methodFqn: 'wix.events.schedule.ScheduleManagement.ListScheduleItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEventsScheduleScheduleManagementUrl({\n        protoPath: '/v1/schedule',\n        data: serializedData,\n        host,\n      }),\n      params: toURLSearchParams(serializedData),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'items.createdDate' },\n              { path: 'items.updatedDate' },\n              { path: 'items.timeSlot.start' },\n              { path: 'items.timeSlot.end' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __listScheduleItems;\n}\n\n/**\n * Creates a query to retrieve a list of schedule items.\n *\n * The `queryScheduleItems( )` method builds a query to retrieve a list of schedule items and returns a `ItemsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is typically used to run the query using the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/events/schedule/items-query-builder/find) method.\n *\n * You can refine the query by chaining `ItemsQueryBuilder` methods onto the query. `ItemsQueryBuilder` methods enable you to sort, filter, and control the results `queryScheduleItems( )` returns.\n *\n * `queryScheduleItems( )` runs with these `ItemsQueryBuilder` defaults, which you can override:\n *\n *  - [`limit(100)`](https://dev.wix.com/docs/sdk/backend-modules/events/schedule/items-query-builder/limit)\n *  - [`descending(\"_createdDate\")`](https://dev.wix.com/docs/sdk/backend-modules/events/schedule/items-query-builder/descending)\n *\n * The methods that are chained to `queryScheduleItems( )` are applied in the order they're called. For example, if you apply `ascending('name')` and then `descending('stageName')`, the results are sorted first by the `name`, and then, if there are multiple results with the same `name`, the items are sorted by `stageName`.\n */\nexport function queryScheduleItems(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryScheduleItems({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.events.schedule.v1.schedule_item',\n      method: 'POST' as any,\n      methodFqn: 'wix.events.schedule.ScheduleManagement.QueryScheduleItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEventsScheduleScheduleManagementUrl({\n        protoPath: '/v1/schedule/query',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'items.createdDate' },\n              { path: 'items.updatedDate' },\n              { path: 'items.timeSlot.start' },\n              { path: 'items.timeSlot.end' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryScheduleItems;\n}\n\n/** Retrieves a schedule item. */\nexport function getScheduleItem(payload: object): RequestOptionsFactory<any> {\n  function __getScheduleItem({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.events.schedule.v1.schedule_item',\n      method: 'GET' as any,\n      methodFqn: 'wix.events.schedule.ScheduleManagement.GetScheduleItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEventsScheduleScheduleManagementUrl({\n        protoPath: '/v1/schedule/{itemId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'item.createdDate' },\n              { path: 'item.updatedDate' },\n              { path: 'item.timeSlot.start' },\n              { path: 'item.timeSlot.end' },\n              { path: 'draft.createdDate' },\n              { path: 'draft.updatedDate' },\n              { path: 'draft.timeSlot.start' },\n              { path: 'draft.timeSlot.end' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getScheduleItem;\n}\n\n/**\n * Adds a schedule item to a draft schedule.  For the same date and time you can have multiple items.\n *\n * Note that draft items are not publicly available unless published.\n */\nexport function addScheduleItem(payload: object): RequestOptionsFactory<any> {\n  function __addScheduleItem({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [{ path: 'item.timeSlot.start' }, { path: 'item.timeSlot.end' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.events.schedule.v1.schedule_item',\n      method: 'POST' as any,\n      methodFqn: 'wix.events.schedule.ScheduleManagement.AddScheduleItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEventsScheduleScheduleManagementUrl({\n        protoPath: '/v1/schedule/draft',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'item.createdDate' },\n              { path: 'item.updatedDate' },\n              { path: 'item.timeSlot.start' },\n              { path: 'item.timeSlot.end' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __addScheduleItem;\n}\n\n/**\n * Updates an existing schedule item.\n *\n * The changes are performed on a draft schedule item, even if the schedule item has already been published.\n */\nexport function updateScheduleItem(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __updateScheduleItem({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'fields' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [{ path: 'item.timeSlot.start' }, { path: 'item.timeSlot.end' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.events.schedule.v1.schedule_item',\n      method: 'PATCH' as any,\n      methodFqn: 'wix.events.schedule.ScheduleManagement.UpdateScheduleItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEventsScheduleScheduleManagementUrl({\n        protoPath: '/v1/schedule/draft/{itemId}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'item.createdDate' },\n              { path: 'item.updatedDate' },\n              { path: 'item.timeSlot.start' },\n              { path: 'item.timeSlot.end' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateScheduleItem;\n}\n\n/** Deletes a schedule item from a draft schedule. */\nexport function deleteScheduleItem(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __deleteScheduleItem({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.events.schedule.v1.schedule_item',\n      method: 'DELETE' as any,\n      methodFqn: 'wix.events.schedule.ScheduleManagement.DeleteScheduleItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEventsScheduleScheduleManagementUrl({\n        protoPath: '/v1/schedule/draft/items',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteScheduleItem;\n}\n\n/** Clears all changes to a draft schedule. */\nexport function discardDraft(payload: object): RequestOptionsFactory<any> {\n  function __discardDraft({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.events.schedule.v1.schedule_item',\n      method: 'DELETE' as any,\n      methodFqn: 'wix.events.schedule.ScheduleManagement.DiscardDraft',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEventsScheduleScheduleManagementUrl({\n        protoPath: '/v1/schedule/draft',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __discardDraft;\n}\n\n/** Publishes a draft schedule. */\nexport function publishDraft(payload: object): RequestOptionsFactory<any> {\n  function __publishDraft({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.events.schedule.v1.schedule_item',\n      method: 'POST' as any,\n      methodFqn: 'wix.events.schedule.ScheduleManagement.PublishDraft',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEventsScheduleScheduleManagementUrl({\n        protoPath: '/v1/schedule/publish',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __publishDraft;\n}\n\n/** Adjusts the time of all draft schedule items for an event at once. */\nexport function rescheduleDraft(payload: object): RequestOptionsFactory<any> {\n  function __rescheduleDraft({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKDurationToRESTDuration,\n        paths: [{ path: 'timeSlotOffset' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.events.schedule.v1.schedule_item',\n      method: 'POST' as any,\n      methodFqn: 'wix.events.schedule.ScheduleManagement.RescheduleDraft',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEventsScheduleScheduleManagementUrl({\n        protoPath: '/v1/schedule/draft/reschedule',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n    };\n\n    return metadata;\n  }\n\n  return __rescheduleDraft;\n}\n","import type { GoogleProtoDuration } from '@wix/metro-runtime/ambassador';\n\n/** Schedule item describes the schedule within an event. Each event may contain multiple schedule items. */\nexport interface ScheduleItem {\n  /**\n   * Schedule item ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string;\n  /** Whether a schedule item is hidden from guests. */\n  hidden?: boolean;\n  /**\n   * Schedule item name.\n   * @maxLength 120\n   */\n  name?: string;\n  /** Time slot of a schedule item. */\n  timeSlot?: TimeInterval;\n  /**\n   * Rich text schedule item description.\n   * @maxLength 10000\n   */\n  description?: string;\n  /**\n   * Stage or room name in which a session takes place.\n   * @maxLength 30\n   */\n  stageName?: string;\n  /**\n   * Schedule item tags. Used to organize the items by a theme.\n   * @maxSize 5\n   * @minLength 1\n   * @maxLength 30\n   */\n  tags?: string[];\n  /** Schedule item status. */\n  status?: ScheduleStatusWithLiterals;\n  /**\n   * Date and time the schedule item was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time the schedule item was updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Event ID to which the schedule item belongs.\n   * @format GUID\n   * @readonly\n   */\n  eventId?: string;\n  /**\n   * Whether the schedule item is a draft.\n   * @readonly\n   */\n  draft?: boolean;\n}\n\n/** Time interval on the timeline between two points in time. */\nexport interface TimeInterval {\n  /** Start of the time slot interval, inclusive. */\n  start?: Date | null;\n  /** End of the time slot interval, exclusive. */\n  end?: Date | null;\n  /**\n   * Time zone ID in TZ database format, e.g., `\"EST\"`, `\"America/Los_Angeles\"`.\n   * Defaults to `\"Etc/UTC\"` when not set.\n   * @minLength 1\n   * @maxLength 100\n   */\n  timeZoneId?: string | null;\n}\n\nexport enum ScheduleStatus {\n  /** Item is scheduled for a future date. */\n  SCHEDULED = 'SCHEDULED',\n  /** Item is canceled. */\n  CANCELED = 'CANCELED',\n}\n\n/** @enumType */\nexport type ScheduleStatusWithLiterals =\n  | ScheduleStatus\n  | 'SCHEDULED'\n  | 'CANCELED';\n\nexport interface ListScheduleItemsRequest {\n  /**\n   * Event ID to which the schedule items belong.\n   * @format GUID\n   * @maxSize 100\n   */\n  eventId?: string[];\n  /**\n   * Schedule item state filter.\n   *\n   * Defaults to `[\"PUBLISHED\", \"VISIBLE\"]` when no filters are specified. <br/>\n   * If neither `\"PUBLISHED\"` nor `\"DRAFT\"` are specified, assumes `\"PUBLISHED\"`, for example: [`\"HIDDEN\"`] becomes [`\"HIDDEN\"`, `\"PUBLISHED\"`].\n   * If neither `\"VISIBLE\"` nor `\"HIDDEN\"` are specified, assumes `\"VISIBLE\"`, for example: [`\"DRAFT\"`] becomes [`\"DRAFT\"`, `\"VISIBLE\"`].\n   * @maxSize 20\n   */\n  state?: StateFilterWithLiterals[];\n  /** Filters schedule items starting on or after specified point in time. Inclusive. */\n  startingFrom?: Date | null;\n  /** Filters schedule items starting before specified point in time. Non-inclusive. */\n  startingBefore?: Date | null;\n  /**\n   * *Deprecated:** Use `paging` instead.\n   * @max 1000\n   * @deprecated\n   */\n  offset?: number;\n  /**\n   * *Deprecated:** Use `paging` instead.\n   * @max 100\n   * @deprecated\n   */\n  limit?: number;\n  /**\n   * Filter facets.\n   * @minLength 1\n   * @maxLength 100\n   * @maxSize 20\n   */\n  facet?: string[];\n  /**\n   * Item IDs filter.\n   * @format GUID\n   * @maxSize 100\n   */\n  itemId?: string[];\n  /**\n   * Tags filter.\n   * @minLength 1\n   * @maxLength 30\n   * @maxSize 50\n   */\n  tag?: string[];\n  /**\n   * Stage names filter.\n   * @maxLength 30\n   * @maxSize 50\n   */\n  stageName?: string[];\n  /**\n   * Pointer to page of results using offset.\n   * See [Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging#paging).\n   */\n  paging?: Paging;\n}\n\nexport enum StateFilter {\n  /** Schedule item is published. */\n  PUBLISHED = 'PUBLISHED',\n  /** Schedule item is in draft. */\n  DRAFT = 'DRAFT',\n  /** Schedule item is visible to the event's guests. */\n  VISIBLE = 'VISIBLE',\n  /** Schedule item is hidden to the event's guests. */\n  HIDDEN = 'HIDDEN',\n}\n\n/** @enumType */\nexport type StateFilterWithLiterals =\n  | StateFilter\n  | 'PUBLISHED'\n  | 'DRAFT'\n  | 'VISIBLE'\n  | 'HIDDEN';\n\nexport interface Paging {\n  /**\n   * Number of items to load per page.\n   * @max 1000\n   */\n  limit?: number | null;\n  /** Number of items to skip in the current sort order. */\n  offset?: number | null;\n}\n\nexport interface ListScheduleItemsResponse {\n  /**\n   * *Deprecated:** Use `pagingMetadata.total` instead.\n   * @readonly\n   * @deprecated\n   */\n  total?: number;\n  /**\n   * *Deprecated.**\n   * @deprecated\n   */\n  limit?: number;\n  /**\n   * *Deprecated:** Use `pagingMetadata.offset` instead.\n   * @deprecated\n   */\n  offset?: number;\n  /** Schedule items. */\n  items?: ScheduleItem[];\n  /**\n   * Facets.\n   * @readonly\n   */\n  facets?: Record<string, FacetCounts>;\n  /**\n   * Whether there are draft changes which have not been published.\n   * @readonly\n   */\n  draftNotPublished?: boolean | null;\n  /** Paging metadata. */\n  pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface FacetCounts {\n  /** Facet counts aggregated per value. */\n  counts?: Record<string, number>;\n}\n\nexport interface PagingMetadataV2 {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Offset that was requested. */\n  offset?: number | null;\n  /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n  total?: number | null;\n  /** Flag that indicates the server failed to calculate the `total` field. */\n  tooManyToCount?: boolean | null;\n  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n  cursors?: Cursors;\n}\n\nexport interface Cursors {\n  /**\n   * Cursor string pointing to the next page in the list of results.\n   * @maxLength 16000\n   */\n  next?: string | null;\n  /**\n   * Cursor pointing to the previous page in the list of results.\n   * @maxLength 16000\n   */\n  prev?: string | null;\n}\n\nexport interface QueryScheduleItemsRequest {\n  query?: QueryV2;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n  /**\n   * Pointer to page of results using offset.\n   * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).\n   */\n  paging?: Paging;\n  /** 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). */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object in the form [{\"fieldName\":\"sortField1\"},{\"fieldName\":\"sortField2\",\"direction\":\"DESC\"}]\n   * 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).\n   * @maxSize 20\n   */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n  /**\n   * Pointer to page of results using offset.\n   * See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).\n   */\n  paging?: Paging;\n}\n\nexport interface Sorting {\n  /**\n   * Name of the field to sort by\n   * @maxLength 100\n   */\n  fieldName?: string;\n  /** Sort order (ASC/DESC). Defaults to ASC */\n  order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n  ASC = 'ASC',\n  DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface QueryScheduleItemsResponse {\n  pagingMetadata?: PagingMetadataV2;\n  /** Schedule items. */\n  items?: ScheduleItem[];\n}\n\nexport interface GetScheduleItemRequest {\n  /** Event ID to which the schedule item belongs. */\n  eventId?: string;\n  /**\n   * Schedule item ID.\n   * @format GUID\n   */\n  itemId: string;\n  /** Whether to include draft schedule items in the response. */\n  includeDraft?: boolean;\n}\n\nexport interface GetScheduleItemResponse {\n  /** Schedule item. */\n  item?: ScheduleItem;\n  /** Draft of the schedule item. */\n  draft?: ScheduleItem;\n}\n\nexport interface AddScheduleItemRequest {\n  /**\n   * Event ID to add the schedule item to.\n   * @format GUID\n   */\n  eventId: string;\n  /** Schedule item. */\n  item?: ScheduleItemData;\n}\n\n/** Schedule item describes the schedule within an event. Each event may contain multiple schedule items. */\nexport interface ScheduleItemData {\n  /** Whether the schedule item is hidden from guests. */\n  hidden?: boolean;\n  /**\n   * Schedule item name.\n   * @maxLength 120\n   */\n  name?: string;\n  /** Time slot of a schedule item. */\n  timeSlot?: TimeInterval;\n  /**\n   * Rich text schedule item description.\n   * @maxLength 10000\n   */\n  description?: string;\n  /**\n   * Stage or room name in which a session takes place.\n   * @maxLength 30\n   */\n  stageName?: string;\n  /**\n   * Schedule item tags. Used to organize the items by a theme.\n   * @maxSize 5\n   * @minLength 1\n   * @maxLength 30\n   */\n  tags?: string[];\n  /** Schedule item status. */\n  status?: ScheduleStatusWithLiterals;\n}\n\nexport interface AddScheduleItemResponse {\n  /** Schedule item. */\n  item?: ScheduleItem;\n}\n\nexport interface UpdateScheduleItemRequest {\n  /**\n   * Event ID to which the schedule item belongs.\n   * @format GUID\n   */\n  eventId: string;\n  /**\n   * Schedule item ID to update.\n   * @format GUID\n   */\n  itemId: string;\n  /** Schedule item info. */\n  item?: ScheduleItemData;\n  /**\n   * Set of field paths to update.\n   * When fields are empty, request is interpreted as full update.\n   * Behavior follows [google.protobuf.FieldMask](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask) semantics.\n   */\n  fields?: string[];\n}\n\nexport interface UpdateScheduleItemResponse {\n  /** Schedule item. */\n  item?: ScheduleItem;\n}\n\nexport interface DeleteScheduleItemRequest {\n  /**\n   * Event ID to which the schedule item belongs.\n   * @format GUID\n   */\n  eventId: string;\n  /**\n   * Schedule items to delete.\n   * @format GUID\n   * @minSize 1\n   * @maxSize 100\n   */\n  itemIds?: string[];\n}\n\nexport interface DeleteScheduleItemResponse {}\n\nexport interface DiscardDraftRequest {\n  /**\n   * Event ID to which the draft schedule item belongs.\n   * @format GUID\n   */\n  eventId: string;\n}\n\nexport interface DiscardDraftResponse {}\n\nexport interface PublishDraftRequest {\n  /**\n   * Event ID to which the draft schedule item belongs.\n   * @format GUID\n   */\n  eventId: string;\n}\n\nexport interface PublishDraftResponse {}\n\nexport interface RescheduleDraftRequest {\n  /**\n   * Event ID to which the draft schedule item belongs.\n   * @format GUID\n   */\n  eventId: string;\n  /**\n   * Time zone ID in TZ database format, e.g., `\"EST\"`, `\"America/Los_Angeles\"`.\n   * @maxLength 100\n   */\n  timeZoneId: string;\n  /** Offset added or subtracted from schedule item start & end times. */\n  timeSlotOffset?: GoogleProtoDuration;\n}\n\nexport interface RescheduleDraftResponse {}\n\nexport interface ListBookmarksRequest {\n  /**\n   * Event ID to which the schedule item belongs.\n   * @format GUID\n   */\n  eventId?: string;\n}\n\nexport interface ListBookmarksResponse {\n  /** Schedule items. */\n  items?: ScheduleItem[];\n}\n\nexport interface CreateBookmarkRequest {\n  /**\n   * Event ID to which the schedule item belongs.\n   * @format GUID\n   */\n  eventId?: string;\n  /**\n   * Schedule item ID.\n   * @format GUID\n   */\n  itemId?: string;\n}\n\nexport interface CreateBookmarkResponse {}\n\nexport interface DeleteBookmarkRequest {\n  /**\n   * Event ID to which the schedule item belongs.\n   * @format GUID\n   */\n  eventId?: string;\n  /**\n   * Schedule item ID.\n   * @format GUID\n   */\n  itemId?: string;\n}\n\nexport interface DeleteBookmarkResponse {}\n\n/** @docsIgnore */\nexport type QueryScheduleItemsApplicationErrors = {\n  code?: 'FILTER_PARSER_ERROR';\n  description?: string;\n  data?: Record<string, any>;\n};\n","import * as ambassadorWixEventsScheduleV1ScheduleItem from './events-schedule-v1-schedule-item-schedule.http.js';\nimport * as ambassadorWixEventsScheduleV1ScheduleItemTypes from './events-schedule-v1-schedule-item-schedule.types.js';\nimport * as ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes from './events-schedule-v1-schedule-item-schedule.universal.js';\n\nexport type __PublicMethodMetaInfo<\n  K = string,\n  M = unknown,\n  T = unknown,\n  S = unknown,\n  Q = unknown,\n  R = unknown\n> = {\n  getUrl: (context: any) => string;\n  httpMethod: K;\n  path: string;\n  pathParams: M;\n  __requestType: T;\n  __originalRequestType: S;\n  __responseType: Q;\n  __originalResponseType: R;\n};\n\nexport function listScheduleItems(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.ListScheduleItemsRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.ListScheduleItemsRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.ListScheduleItemsResponse,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.ListScheduleItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEventsScheduleV1ScheduleItem.listScheduleItems(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v1/schedule',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function queryScheduleItems(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.QueryScheduleItemsRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.QueryScheduleItemsRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.QueryScheduleItemsResponse,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.QueryScheduleItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEventsScheduleV1ScheduleItem.queryScheduleItems(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/schedule/query',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function getScheduleItem(): __PublicMethodMetaInfo<\n  'GET',\n  { itemId: string },\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.GetScheduleItemRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.GetScheduleItemRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.GetScheduleItemResponse,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.GetScheduleItemResponse\n> {\n  const payload = { itemId: ':itemId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixEventsScheduleV1ScheduleItem.getScheduleItem(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v1/schedule/{itemId}',\n    pathParams: { itemId: 'itemId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function addScheduleItem(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.AddScheduleItemRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.AddScheduleItemRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.AddScheduleItemResponse,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.AddScheduleItemResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEventsScheduleV1ScheduleItem.addScheduleItem(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/schedule/draft',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function updateScheduleItem(): __PublicMethodMetaInfo<\n  'PATCH',\n  { itemId: string },\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.UpdateScheduleItemRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.UpdateScheduleItemRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.UpdateScheduleItemResponse,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.UpdateScheduleItemResponse\n> {\n  const payload = { itemId: ':itemId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixEventsScheduleV1ScheduleItem.updateScheduleItem(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'PATCH',\n    path: '/v1/schedule/draft/{itemId}',\n    pathParams: { itemId: 'itemId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function deleteScheduleItem(): __PublicMethodMetaInfo<\n  'DELETE',\n  {},\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.DeleteScheduleItemRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.DeleteScheduleItemRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.DeleteScheduleItemResponse,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.DeleteScheduleItemResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEventsScheduleV1ScheduleItem.deleteScheduleItem(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'DELETE',\n    path: '/v1/schedule/draft/items',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function discardDraft(): __PublicMethodMetaInfo<\n  'DELETE',\n  {},\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.DiscardDraftRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.DiscardDraftRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.DiscardDraftResponse,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.DiscardDraftResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEventsScheduleV1ScheduleItem.discardDraft(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'DELETE',\n    path: '/v1/schedule/draft',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function publishDraft(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.PublishDraftRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.PublishDraftRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.PublishDraftResponse,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.PublishDraftResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEventsScheduleV1ScheduleItem.publishDraft(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/schedule/publish',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function rescheduleDraft(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.RescheduleDraftRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.RescheduleDraftRequest,\n  ambassadorWixEventsScheduleV1ScheduleItemUniversalTypes.RescheduleDraftResponse,\n  ambassadorWixEventsScheduleV1ScheduleItemTypes.RescheduleDraftResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEventsScheduleV1ScheduleItem.rescheduleDraft(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/schedule/draft/reschedule',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport {\n  ScheduleItem as ScheduleItemOriginal,\n  TimeInterval as TimeIntervalOriginal,\n  ScheduleStatus as ScheduleStatusOriginal,\n  ScheduleStatusWithLiterals as ScheduleStatusWithLiteralsOriginal,\n  ListScheduleItemsRequest as ListScheduleItemsRequestOriginal,\n  StateFilter as StateFilterOriginal,\n  StateFilterWithLiterals as StateFilterWithLiteralsOriginal,\n  Paging as PagingOriginal,\n  ListScheduleItemsResponse as ListScheduleItemsResponseOriginal,\n  FacetCounts as FacetCountsOriginal,\n  PagingMetadataV2 as PagingMetadataV2Original,\n  Cursors as CursorsOriginal,\n  QueryScheduleItemsRequest as QueryScheduleItemsRequestOriginal,\n  QueryV2 as QueryV2Original,\n  QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  QueryScheduleItemsResponse as QueryScheduleItemsResponseOriginal,\n  GetScheduleItemRequest as GetScheduleItemRequestOriginal,\n  GetScheduleItemResponse as GetScheduleItemResponseOriginal,\n  AddScheduleItemRequest as AddScheduleItemRequestOriginal,\n  ScheduleItemData as ScheduleItemDataOriginal,\n  AddScheduleItemResponse as AddScheduleItemResponseOriginal,\n  UpdateScheduleItemRequest as UpdateScheduleItemRequestOriginal,\n  UpdateScheduleItemResponse as UpdateScheduleItemResponseOriginal,\n  DeleteScheduleItemRequest as DeleteScheduleItemRequestOriginal,\n  DeleteScheduleItemResponse as DeleteScheduleItemResponseOriginal,\n  DiscardDraftRequest as DiscardDraftRequestOriginal,\n  DiscardDraftResponse as DiscardDraftResponseOriginal,\n  PublishDraftRequest as PublishDraftRequestOriginal,\n  PublishDraftResponse as PublishDraftResponseOriginal,\n  RescheduleDraftRequest as RescheduleDraftRequestOriginal,\n  RescheduleDraftResponse as RescheduleDraftResponseOriginal,\n  ListBookmarksRequest as ListBookmarksRequestOriginal,\n  ListBookmarksResponse as ListBookmarksResponseOriginal,\n  CreateBookmarkRequest as CreateBookmarkRequestOriginal,\n  CreateBookmarkResponse as CreateBookmarkResponseOriginal,\n  DeleteBookmarkRequest as DeleteBookmarkRequestOriginal,\n  DeleteBookmarkResponse as DeleteBookmarkResponseOriginal,\n  QueryScheduleItemsApplicationErrors as QueryScheduleItemsApplicationErrorsOriginal,\n} from './events-schedule-v1-schedule-item-schedule.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,0CAA0C;AACnD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/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AU,CAAC;AAEjB,QAAM,oBACsC,aAAa,OAAO;AAEhE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,gBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACsC,aAAa,OAAO;AAEhE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,mBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACsC,gBAAgB,OAAO;AAEnE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","ScheduleStatus","StateFilter","SortOrder","listScheduleItems","queryScheduleItems","getScheduleItem","addScheduleItem","updateScheduleItem","deleteScheduleItem","discardDraft","publishDraft","rescheduleDraft"]}