seatsio 87.10.0 → 88.0.0

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.
Files changed (81) hide show
  1. package/dist/src/Accounts/Account.d.ts +2 -2
  2. package/dist/src/Accounts/Account.js +1 -1
  3. package/dist/src/Accounts/AccountSettings.d.ts +3 -3
  4. package/dist/src/Accounts/AccountSettings.js +2 -2
  5. package/dist/src/Accounts/Accounts.d.ts +1 -1
  6. package/dist/src/Accounts/Accounts.js +1 -1
  7. package/dist/src/Accounts/ChartValidationSettings.d.ts +1 -1
  8. package/dist/src/Accounts/DefaultRendererSettings.d.ts +1 -1
  9. package/dist/src/AsyncIterator.d.ts +1 -1
  10. package/dist/src/Charts/Category.d.ts +1 -1
  11. package/dist/src/Charts/Chart.d.ts +4 -4
  12. package/dist/src/Charts/Chart.js +3 -3
  13. package/dist/src/Charts/ChartObjectInfo.d.ts +4 -4
  14. package/dist/src/Charts/ChartObjectInfo.js +3 -3
  15. package/dist/src/Charts/ChartValidation.d.ts +1 -1
  16. package/dist/src/Charts/Charts.d.ts +7 -7
  17. package/dist/src/Charts/Charts.js +3 -3
  18. package/dist/src/Common/Labels.d.ts +1 -1
  19. package/dist/src/EventLog/EventLog.d.ts +5 -5
  20. package/dist/src/EventLog/EventLog.js +3 -3
  21. package/dist/src/EventLog/EventLogItem.d.ts +1 -1
  22. package/dist/src/Events/AbstractEventParams.d.ts +2 -2
  23. package/dist/src/Events/BestAvailableObjects.d.ts +1 -1
  24. package/dist/src/Events/BestAvailableObjects.js +1 -1
  25. package/dist/src/Events/BestAvailableParams.d.ts +1 -1
  26. package/dist/src/Events/ChangeObjectStatusResult.d.ts +2 -2
  27. package/dist/src/Events/ChangeObjectStatusResult.js +1 -1
  28. package/dist/src/Events/Channel.d.ts +1 -1
  29. package/dist/src/Events/Channels.d.ts +2 -2
  30. package/dist/src/Events/CreateEventParams.d.ts +4 -4
  31. package/dist/src/Events/CreateEventParams.js +1 -1
  32. package/dist/src/Events/EditForSaleConfigResult.d.ts +2 -2
  33. package/dist/src/Events/EditForSaleConfigResult.js +2 -2
  34. package/dist/src/Events/Event.d.ts +6 -6
  35. package/dist/src/Events/Event.js +4 -4
  36. package/dist/src/Events/EventDeserializer.d.ts +1 -1
  37. package/dist/src/Events/EventDeserializer.js +2 -2
  38. package/dist/src/Events/EventObjectInfo.d.ts +4 -4
  39. package/dist/src/Events/EventObjectInfo.js +3 -3
  40. package/dist/src/Events/Events.d.ts +16 -16
  41. package/dist/src/Events/Events.js +10 -10
  42. package/dist/src/Events/ForSaleConfig.d.ts +1 -1
  43. package/dist/src/Events/ForSaleConfigParams.d.ts +1 -1
  44. package/dist/src/Events/StatusChange.d.ts +2 -2
  45. package/dist/src/Events/StatusChangeOrigin.d.ts +1 -1
  46. package/dist/src/Events/StatusChangeRequest.d.ts +1 -1
  47. package/dist/src/Events/UpdateEventParams.d.ts +2 -2
  48. package/dist/src/Events/UpdateEventParams.js +1 -1
  49. package/dist/src/HoldTokens/HoldToken.d.ts +1 -1
  50. package/dist/src/HoldTokens/HoldTokens.d.ts +1 -1
  51. package/dist/src/HoldTokens/HoldTokens.js +1 -1
  52. package/dist/src/Lister.d.ts +3 -3
  53. package/dist/src/Lister.js +2 -2
  54. package/dist/src/PageFetcher.d.ts +2 -2
  55. package/dist/src/Reports/ChartReports.d.ts +7 -7
  56. package/dist/src/Reports/ChartReports.js +1 -1
  57. package/dist/src/Reports/EventReports.d.ts +12 -12
  58. package/dist/src/Reports/EventReports.js +1 -1
  59. package/dist/src/Reports/UsageReports.d.ts +2 -0
  60. package/dist/src/Reports/UsageReports.js +8 -0
  61. package/dist/src/Seasons/CreateSeasonParams.d.ts +4 -4
  62. package/dist/src/Seasons/Season.d.ts +2 -2
  63. package/dist/src/Seasons/Season.js +1 -1
  64. package/dist/src/Seasons/Seasons.d.ts +5 -5
  65. package/dist/src/Seasons/Seasons.js +2 -2
  66. package/dist/src/Seasons/UpdateSeasonParams.d.ts +1 -1
  67. package/dist/src/Seasons/UpdateSeasonParams.js +1 -1
  68. package/dist/src/SeatsioClient.d.ts +12 -12
  69. package/dist/src/SeatsioClient.js +12 -12
  70. package/dist/src/TicketBuyers/TicketBuyers.d.ts +5 -5
  71. package/dist/src/TicketBuyers/TicketBuyers.js +4 -4
  72. package/dist/src/Workspaces/Workspace.d.ts +1 -1
  73. package/dist/src/Workspaces/Workspaces.d.ts +6 -6
  74. package/dist/src/Workspaces/Workspaces.js +3 -3
  75. package/dist/src/index.d.ts +63 -63
  76. package/dist/src/index.js +63 -63
  77. package/dist/src/utilities/helperFunctions.d.ts +1 -1
  78. package/dist/src/utilities/helperFunctions.js +2 -2
  79. package/dist/src/utilities/reportUtility.d.ts +3 -3
  80. package/dist/src/utilities/reportUtility.js +2 -2
  81. package/package.json +3 -1
@@ -1,5 +1,5 @@
1
- import { AccountSettings } from './AccountSettings';
2
- import { Dict } from '../Dict';
1
+ import { AccountSettings } from './AccountSettings.js';
2
+ import { Dict } from '../Dict.js';
3
3
  type AccountJson = Dict<any>;
4
4
  export declare class Account {
5
5
  company: any;
@@ -1,4 +1,4 @@
1
- import { AccountSettings } from './AccountSettings';
1
+ import { AccountSettings } from './AccountSettings.js';
2
2
  export class Account {
3
3
  company;
4
4
  designerKey;
@@ -1,6 +1,6 @@
1
- import { ChartValidationSettings } from './ChartValidationSettings';
2
- import { DefaultRendererSettings } from './DefaultRendererSettings';
3
- import { Dict } from '../Dict';
1
+ import { ChartValidationSettings } from './ChartValidationSettings.js';
2
+ import { DefaultRendererSettings } from './DefaultRendererSettings.js';
3
+ import { Dict } from '../Dict.js';
4
4
  type AccountSettingsJson = Dict<any>;
5
5
  export declare class AccountSettings {
6
6
  chartValidation: ChartValidationSettings;
@@ -1,5 +1,5 @@
1
- import { ChartValidationSettings } from './ChartValidationSettings';
2
- import { DefaultRendererSettings } from './DefaultRendererSettings';
1
+ import { ChartValidationSettings } from './ChartValidationSettings.js';
2
+ import { DefaultRendererSettings } from './DefaultRendererSettings.js';
3
3
  export class AccountSettings {
4
4
  chartValidation;
5
5
  defaultRendererSettings;
@@ -1,4 +1,4 @@
1
- import { Account } from './Account';
1
+ import { Account } from './Account.js';
2
2
  import { Axios } from 'axios';
3
3
  export declare class Accounts {
4
4
  private client;
@@ -1,4 +1,4 @@
1
- import { Account } from './Account';
1
+ import { Account } from './Account.js';
2
2
  const baseUrl = '/accounts/me';
3
3
  export class Accounts {
4
4
  client;
@@ -1,4 +1,4 @@
1
- import { Dict } from '../Dict';
1
+ import { Dict } from '../Dict.js';
2
2
  type ChartValidationSettingsJson = Dict<any>;
3
3
  export declare class ChartValidationSettings {
4
4
  VALIDATE_DUPLICATE_LABELS: string;
@@ -1,4 +1,4 @@
1
- import { Dict } from '../Dict';
1
+ import { Dict } from '../Dict.js';
2
2
  type DefaultRendererSettingsJson = Dict<any>;
3
3
  export declare class DefaultRendererSettings {
4
4
  multiSelectEnabled: boolean;
@@ -1,4 +1,4 @@
1
- import { Page } from './Page';
1
+ import { Page } from './Page.js';
2
2
  import { Axios } from 'axios';
3
3
  export interface PaginatedJson<T> {
4
4
  items: T[];
@@ -1,4 +1,4 @@
1
- import { Dict } from '../Dict';
1
+ import { Dict } from '../Dict.js';
2
2
  export type CategoryJson = Dict<any>;
3
3
  export type CategoryKey = string | number;
4
4
  export declare class Category {
@@ -1,7 +1,7 @@
1
- import { Dict } from '../Dict';
2
- import { Event } from '../Events/Event';
3
- import { ChartValidation } from './ChartValidation';
4
- import { Zone } from './Zone';
1
+ import { Dict } from '../Dict.js';
2
+ import { Event } from '../Events/Event.js';
3
+ import { ChartValidation } from './ChartValidation.js';
4
+ import { Zone } from './Zone.js';
5
5
  export type ChartJson = Dict<any>;
6
6
  export type Venue = 'SIMPLE' | 'WITH_SECTIONS_AND_FLOORS' | 'WITH_ZONES';
7
7
  export declare class Chart {
@@ -1,6 +1,6 @@
1
- import { EventDeserializer } from '../Events/EventDeserializer';
2
- import { ChartValidation } from './ChartValidation';
3
- import { Zone } from './Zone';
1
+ import { EventDeserializer } from '../Events/EventDeserializer.js';
2
+ import { ChartValidation } from './ChartValidation.js';
3
+ import { Zone } from './Zone.js';
4
4
  export class Chart {
5
5
  archived;
6
6
  draftVersionThumbnailUrl;
@@ -1,7 +1,7 @@
1
- import { IDs } from '../Common/IDs';
2
- import { Labels } from '../Common/Labels';
3
- import { Dict } from '../Dict';
4
- import { Floor } from '../Common/Floor';
1
+ import { IDs } from '../Common/IDs.js';
2
+ import { Labels } from '../Common/Labels.js';
3
+ import { Dict } from '../Dict.js';
4
+ import { Floor } from '../Common/Floor.js';
5
5
  export type ChartObjectInfoJson = Dict<any>;
6
6
  export declare class ChartObjectInfo {
7
7
  bookAsAWhole?: boolean;
@@ -1,6 +1,6 @@
1
- import { HelperFunctions } from '../utilities/helperFunctions';
2
- import { IDs } from '../Common/IDs';
3
- import { Floor } from '../Common/Floor';
1
+ import { HelperFunctions } from '../utilities/helperFunctions.js';
2
+ import { IDs } from '../Common/IDs.js';
3
+ import { Floor } from '../Common/Floor.js';
4
4
  export class ChartObjectInfo {
5
5
  bookAsAWhole;
6
6
  capacity;
@@ -1,4 +1,4 @@
1
- import { Dict } from '../Dict';
1
+ import { Dict } from '../Dict.js';
2
2
  export declare class ChartValidation {
3
3
  errors: string[];
4
4
  warnings: string[];
@@ -1,10 +1,10 @@
1
1
  import { Axios } from 'axios';
2
- import { Lister } from '../Lister';
3
- import { Page } from '../Page';
4
- import { CategoryJson, CategoryKey } from './Category';
5
- import { CategoryUpdateParams } from './CategoryUpdateParams';
6
- import { Chart, ChartJson, Venue } from './Chart';
7
- import { ChartListParams } from './ChartListParams';
2
+ import { Lister } from '../Lister.js';
3
+ import { Page } from '../Page.js';
4
+ import { CategoryJson, CategoryKey } from './Category.js';
5
+ import { CategoryUpdateParams } from './CategoryUpdateParams.js';
6
+ import { Chart, ChartJson, Venue } from './Chart.js';
7
+ import { ChartListParams } from './ChartListParams.js';
8
8
  export declare class Charts {
9
9
  archive: Lister<Chart, ChartJson>;
10
10
  client: Axios;
@@ -34,7 +34,7 @@ export declare class Charts {
34
34
  listAllTags(): Promise<any>;
35
35
  addTag(key: string, tag: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
36
36
  removeTag(key: string, tag: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
37
- listAll(chartListParams?: ChartListParams | null): import("..").AsyncIterator<Chart, ChartJson>;
37
+ listAll(chartListParams?: ChartListParams | null): import("../AsyncIterator.js").AsyncIterator<Chart, ChartJson>;
38
38
  listFirstPage(chartListParams?: ChartListParams | null, pageSize?: number | null): Promise<Page<Chart>>;
39
39
  listPageAfter(afterId: number, chartListParams?: ChartListParams | null, pageSize?: number | null): Promise<Page<Chart>>;
40
40
  listPageBefore(beforeId: number, chartListParams?: ChartListParams | null, pageSize?: number | null): Promise<Page<Chart>>;
@@ -1,6 +1,6 @@
1
- import { Lister } from '../Lister';
2
- import { Page } from '../Page';
3
- import { Chart } from './Chart';
1
+ import { Lister } from '../Lister.js';
2
+ import { Page } from '../Page.js';
3
+ import { Chart } from './Chart.js';
4
4
  export class Charts {
5
5
  archive;
6
6
  client;
@@ -1,4 +1,4 @@
1
- import { LabelAndType } from './LabelAndType';
1
+ import { LabelAndType } from './LabelAndType.js';
2
2
  export declare class Labels {
3
3
  own: LabelAndType;
4
4
  parent: LabelAndType | null;
@@ -1,13 +1,13 @@
1
1
  import { Axios } from 'axios';
2
- import { SeatsioClient } from '../SeatsioClient';
3
- import { Lister } from '../Lister';
4
- import { Page } from '../Page';
5
- import { EventLogItem, EventLogItemJson } from './EventLogItem';
2
+ import { SeatsioClient } from '../SeatsioClient.js';
3
+ import { Lister } from '../Lister.js';
4
+ import { Page } from '../Page.js';
5
+ import { EventLogItem, EventLogItemJson } from './EventLogItem.js';
6
6
  export declare class EventLog {
7
7
  client: Axios;
8
8
  seatsioClient: SeatsioClient;
9
9
  constructor(client: Axios, seatsioClient: SeatsioClient);
10
- listAll(): import("..").AsyncIterator<EventLogItem, EventLogItemJson>;
10
+ listAll(): import("../AsyncIterator.js").AsyncIterator<EventLogItem, EventLogItemJson>;
11
11
  listFirstPage(pageSize?: number | null): Promise<Page<EventLogItem>>;
12
12
  listPageAfter(afterId: number, pageSize?: number | null): Promise<Page<EventLogItem>>;
13
13
  listPageBefore(beforeId: number, pageSize?: number | null): Promise<Page<EventLogItem>>;
@@ -1,6 +1,6 @@
1
- import { Lister } from '../Lister';
2
- import { Page } from '../Page';
3
- import { EventLogItem } from './EventLogItem';
1
+ import { Lister } from '../Lister.js';
2
+ import { Page } from '../Page.js';
3
+ import { EventLogItem } from './EventLogItem.js';
4
4
  export class EventLog {
5
5
  client;
6
6
  seatsioClient;
@@ -1,4 +1,4 @@
1
- import { Dict } from '../Dict';
1
+ import { Dict } from '../Dict.js';
2
2
  export type EventLogItemJson = Dict<any>;
3
3
  export declare class EventLogItem {
4
4
  id: number;
@@ -1,5 +1,5 @@
1
- import { TableBookingConfig } from './TableBookingConfig';
2
- import { Category } from '../Charts/Category';
1
+ import { TableBookingConfig } from './TableBookingConfig.js';
2
+ import { Category } from '../Charts/Category.js';
3
3
  export declare abstract class AbstractEventParams {
4
4
  key?: string;
5
5
  tableBookingConfig?: TableBookingConfig;
@@ -1,4 +1,4 @@
1
- import { Dict } from '../Dict';
1
+ import { Dict } from '../Dict.js';
2
2
  export declare class BestAvailableObjects {
3
3
  nextToEachOther: boolean;
4
4
  objectDetails: object;
@@ -1,4 +1,4 @@
1
- import { Utilities } from '../utilities/reportUtility';
1
+ import { Utilities } from '../utilities/reportUtility.js';
2
2
  export class BestAvailableObjects {
3
3
  nextToEachOther;
4
4
  objectDetails;
@@ -1,4 +1,4 @@
1
- import { Dict } from '../Dict';
1
+ import { Dict } from '../Dict.js';
2
2
  export declare class BestAvailableParams {
3
3
  number?: number;
4
4
  categories?: string[];
@@ -1,5 +1,5 @@
1
- import { EventObjectInfo, EventObjectInfoJson } from './EventObjectInfo';
2
- import { Dict } from '../Dict';
1
+ import { EventObjectInfo, EventObjectInfoJson } from './EventObjectInfo.js';
2
+ import { Dict } from '../Dict.js';
3
3
  export declare class ChangeObjectStatusResult {
4
4
  objects: Dict<EventObjectInfo>;
5
5
  constructor(objects: Dict<EventObjectInfoJson>);
@@ -1,4 +1,4 @@
1
- import { Utilities } from '../utilities/reportUtility';
1
+ import { Utilities } from '../utilities/reportUtility.js';
2
2
  export class ChangeObjectStatusResult {
3
3
  objects;
4
4
  constructor(objects) {
@@ -1,4 +1,4 @@
1
- import { Dict } from '../Dict';
1
+ import { Dict } from '../Dict.js';
2
2
  export type ChannelJson = Dict<any>;
3
3
  export interface ChannelCreationParams {
4
4
  key: string;
@@ -1,6 +1,6 @@
1
1
  import { Axios } from 'axios';
2
- import { ChannelCreationParams } from './Channel';
3
- import { Dict } from '../Dict';
2
+ import { ChannelCreationParams } from './Channel.js';
3
+ import { Dict } from '../Dict.js';
4
4
  export declare class Channels {
5
5
  client: Axios;
6
6
  constructor(client: Axios);
@@ -1,7 +1,7 @@
1
- import { AbstractEventParams } from './AbstractEventParams';
2
- import { ChannelCreationParams } from './Channel';
3
- import { ForSaleConfig } from './ForSaleConfig';
4
- import { LocalDate } from '../LocalDate';
1
+ import { AbstractEventParams } from './AbstractEventParams.js';
2
+ import { ChannelCreationParams } from './Channel.js';
3
+ import { ForSaleConfig } from './ForSaleConfig.js';
4
+ import { LocalDate } from '../LocalDate.js';
5
5
  export declare class CreateEventParams extends AbstractEventParams {
6
6
  channels?: ChannelCreationParams[];
7
7
  forSaleConfig?: ForSaleConfig;
@@ -1,4 +1,4 @@
1
- import { AbstractEventParams } from './AbstractEventParams';
1
+ import { AbstractEventParams } from './AbstractEventParams.js';
2
2
  export class CreateEventParams extends AbstractEventParams {
3
3
  channels;
4
4
  forSaleConfig;
@@ -1,5 +1,5 @@
1
- import { ForSaleConfig } from './ForSaleConfig';
2
- import { ForSaleRateLimitInfo } from './ForSaleRateLimitInfo';
1
+ import { ForSaleConfig } from './ForSaleConfig.js';
2
+ import { ForSaleRateLimitInfo } from './ForSaleRateLimitInfo.js';
3
3
  export declare class EditForSaleConfigResult {
4
4
  forSaleConfig: ForSaleConfig;
5
5
  rateLimitInfo: ForSaleRateLimitInfo;
@@ -1,5 +1,5 @@
1
- import { ForSaleConfig } from './ForSaleConfig';
2
- import { ForSaleRateLimitInfo } from './ForSaleRateLimitInfo';
1
+ import { ForSaleConfig } from './ForSaleConfig.js';
2
+ import { ForSaleRateLimitInfo } from './ForSaleRateLimitInfo.js';
3
3
  export class EditForSaleConfigResult {
4
4
  forSaleConfig;
5
5
  rateLimitInfo;
@@ -1,9 +1,9 @@
1
- import { ForSaleConfig } from './ForSaleConfig';
2
- import { Channel } from './Channel';
3
- import { Category } from '../Charts/Category';
4
- import { TableBookingConfig } from './TableBookingConfig';
5
- import { Dict } from '../Dict';
6
- import { LocalDate } from '../LocalDate';
1
+ import { ForSaleConfig } from './ForSaleConfig.js';
2
+ import { Channel } from './Channel.js';
3
+ import { Category } from '../Charts/Category.js';
4
+ import { TableBookingConfig } from './TableBookingConfig.js';
5
+ import { Dict } from '../Dict.js';
6
+ import { LocalDate } from '../LocalDate.js';
7
7
  export type EventJson = Dict<any>;
8
8
  export declare class Event {
9
9
  categories: Category[] | null;
@@ -1,7 +1,7 @@
1
- import { ForSaleConfig } from './ForSaleConfig';
2
- import { Channel } from './Channel';
3
- import { Category } from '../Charts/Category';
4
- import { LocalDate } from '../LocalDate';
1
+ import { ForSaleConfig } from './ForSaleConfig.js';
2
+ import { Channel } from './Channel.js';
3
+ import { Category } from '../Charts/Category.js';
4
+ import { LocalDate } from '../LocalDate.js';
5
5
  export class Event {
6
6
  categories;
7
7
  channels;
@@ -1,4 +1,4 @@
1
- import { Event, EventJson } from './Event';
1
+ import { Event, EventJson } from './Event.js';
2
2
  export declare class EventDeserializer {
3
3
  fromJson(json: EventJson): Event;
4
4
  }
@@ -1,5 +1,5 @@
1
- import { Season } from '../Seasons/Season';
2
- import { Event } from './Event';
1
+ import { Season } from '../Seasons/Season.js';
2
+ import { Event } from './Event.js';
3
3
  export class EventDeserializer {
4
4
  fromJson(json) {
5
5
  if (json.isSeason) {
@@ -1,7 +1,7 @@
1
- import { IDs } from '../Common/IDs';
2
- import { Labels } from '../Common/Labels';
3
- import { Dict } from '../Dict';
4
- import { Floor } from '../Common/Floor';
1
+ import { IDs } from '../Common/IDs.js';
2
+ import { Labels } from '../Common/Labels.js';
3
+ import { Dict } from '../Dict.js';
4
+ import { Floor } from '../Common/Floor.js';
5
5
  export type EventObjectInfoJson = Dict<any>;
6
6
  export declare class EventObjectInfo {
7
7
  static FREE: string;
@@ -1,6 +1,6 @@
1
- import { HelperFunctions } from '../utilities/helperFunctions';
2
- import { IDs } from '../Common/IDs';
3
- import { Floor } from '../Common/Floor';
1
+ import { HelperFunctions } from '../utilities/helperFunctions.js';
2
+ import { IDs } from '../Common/IDs.js';
3
+ import { Floor } from '../Common/Floor.js';
4
4
  export class EventObjectInfo {
5
5
  static FREE = 'free';
6
6
  static BOOKED = 'booked';
@@ -1,19 +1,19 @@
1
- import { Page } from '../Page';
2
- import { Lister } from '../Lister';
3
- import { EventObjectInfo } from './EventObjectInfo';
4
- import { Channels } from './Channels';
5
- import { StatusChange, StatusChangeJson } from './StatusChange';
6
- import { ChangeObjectStatusResult } from './ChangeObjectStatusResult';
7
- import { BestAvailableObjects } from './BestAvailableObjects';
8
- import { Event, EventJson } from './Event';
1
+ import { Page } from '../Page.js';
2
+ import { Lister } from '../Lister.js';
3
+ import { EventObjectInfo } from './EventObjectInfo.js';
4
+ import { Channels } from './Channels.js';
5
+ import { StatusChange, StatusChangeJson } from './StatusChange.js';
6
+ import { ChangeObjectStatusResult } from './ChangeObjectStatusResult.js';
7
+ import { BestAvailableObjects } from './BestAvailableObjects.js';
8
+ import { Event, EventJson } from './Event.js';
9
9
  import { Axios } from 'axios';
10
- import { Dict } from '../Dict';
11
- import { StatusChangeRequest } from './StatusChangeRequest';
12
- import { CreateEventParams } from './CreateEventParams';
13
- import { UpdateEventParams } from './UpdateEventParams';
14
- import { BestAvailableParams } from './BestAvailableParams';
15
- import { ForSaleConfigParams } from './ForSaleConfigParams';
16
- import { EditForSaleConfigResult } from './EditForSaleConfigResult';
10
+ import { Dict } from '../Dict.js';
11
+ import { StatusChangeRequest } from './StatusChangeRequest.js';
12
+ import { CreateEventParams } from './CreateEventParams.js';
13
+ import { UpdateEventParams } from './UpdateEventParams.js';
14
+ import { BestAvailableParams } from './BestAvailableParams.js';
15
+ import { ForSaleConfigParams } from './ForSaleConfigParams.js';
16
+ import { EditForSaleConfigResult } from './EditForSaleConfigResult.js';
17
17
  export interface ObjectAndQuantity {
18
18
  object: string;
19
19
  quantity?: number;
@@ -34,7 +34,7 @@ export declare class Events {
34
34
  update(eventKey: string, params: UpdateEventParams): Promise<import("axios").AxiosResponse<any, any, {}>>;
35
35
  delete(eventKey: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
36
36
  moveEventToChartCopy(eventKey: string): Promise<Event>;
37
- listAll(requestParameters?: {}): import("..").AsyncIterator<Event, EventJson>;
37
+ listAll(requestParameters?: {}): import("../AsyncIterator.js").AsyncIterator<Event, EventJson>;
38
38
  listFirstPage(pageSize?: number | null): Promise<Page<Event>>;
39
39
  listPageAfter(afterId: number, pageSize?: number | null): Promise<Page<Event>>;
40
40
  listPageBefore(beforeId: number, pageSize?: number | null): Promise<Page<Event>>;
@@ -1,13 +1,13 @@
1
- import { Page } from '../Page';
2
- import { Lister } from '../Lister';
3
- import { EventObjectInfo } from './EventObjectInfo';
4
- import { Channels } from './Channels';
5
- import { StatusChange } from './StatusChange';
6
- import { EventDeserializer } from './EventDeserializer';
7
- import { ChangeObjectStatusResult } from './ChangeObjectStatusResult';
8
- import { BestAvailableObjects } from './BestAvailableObjects';
9
- import { StatusChangeRequest } from './StatusChangeRequest';
10
- import { EditForSaleConfigResult } from './EditForSaleConfigResult';
1
+ import { Page } from '../Page.js';
2
+ import { Lister } from '../Lister.js';
3
+ import { EventObjectInfo } from './EventObjectInfo.js';
4
+ import { Channels } from './Channels.js';
5
+ import { StatusChange } from './StatusChange.js';
6
+ import { EventDeserializer } from './EventDeserializer.js';
7
+ import { ChangeObjectStatusResult } from './ChangeObjectStatusResult.js';
8
+ import { BestAvailableObjects } from './BestAvailableObjects.js';
9
+ import { StatusChangeRequest } from './StatusChangeRequest.js';
10
+ import { EditForSaleConfigResult } from './EditForSaleConfigResult.js';
11
11
  export class Events {
12
12
  channels;
13
13
  client;
@@ -1,4 +1,4 @@
1
- import { Dict } from '../Dict';
1
+ import { Dict } from '../Dict.js';
2
2
  export declare class ForSaleConfig {
3
3
  areaPlaces: Dict<number>;
4
4
  categories: string[];
@@ -1,4 +1,4 @@
1
- import { ObjectAndQuantity } from './Events';
1
+ import { ObjectAndQuantity } from './Events.js';
2
2
  export declare class ForSaleConfigParams {
3
3
  forSale?: ObjectAndQuantity[];
4
4
  notForSale?: ObjectAndQuantity[];
@@ -1,5 +1,5 @@
1
- import { StatusChangeOrigin } from './StatusChangeOrigin';
2
- import { Dict } from '../Dict';
1
+ import { StatusChangeOrigin } from './StatusChangeOrigin.js';
2
+ import { Dict } from '../Dict.js';
3
3
  export type StatusChangeJson = Dict<any>;
4
4
  export declare class StatusChange {
5
5
  date: Date;
@@ -1,4 +1,4 @@
1
- import { Dict } from '../Dict';
1
+ import { Dict } from '../Dict.js';
2
2
  type StatusChangeOriginJson = Dict<any>;
3
3
  export declare class StatusChangeOrigin {
4
4
  type: string;
@@ -1,4 +1,4 @@
1
- import { ObjectOrObjects } from './Events';
1
+ import { ObjectOrObjects } from './Events.js';
2
2
  export declare class StatusChangeRequest {
3
3
  static TYPE_RELEASE: string;
4
4
  static TYPE_CHANGE_STATUS_TO: string;
@@ -1,5 +1,5 @@
1
- import { AbstractEventParams } from './AbstractEventParams';
2
- import { LocalDate } from '../LocalDate';
1
+ import { AbstractEventParams } from './AbstractEventParams.js';
2
+ import { LocalDate } from '../LocalDate.js';
3
3
  export declare class UpdateEventParams extends AbstractEventParams {
4
4
  isInThePast?: boolean;
5
5
  date?: LocalDate;
@@ -1,4 +1,4 @@
1
- import { AbstractEventParams } from './AbstractEventParams';
1
+ import { AbstractEventParams } from './AbstractEventParams.js';
2
2
  export class UpdateEventParams extends AbstractEventParams {
3
3
  isInThePast;
4
4
  date;
@@ -1,4 +1,4 @@
1
- import { Dict } from '../Dict';
1
+ import { Dict } from '../Dict.js';
2
2
  type HoldTokenJson = Dict<any>;
3
3
  export declare class HoldToken {
4
4
  expiresAt: Date;
@@ -1,4 +1,4 @@
1
- import { HoldToken } from './HoldToken';
1
+ import { HoldToken } from './HoldToken.js';
2
2
  import { Axios } from 'axios';
3
3
  export declare class HoldTokens {
4
4
  client: Axios;
@@ -1,4 +1,4 @@
1
- import { HoldToken } from './HoldToken';
1
+ import { HoldToken } from './HoldToken.js';
2
2
  export class HoldTokens {
3
3
  client;
4
4
  constructor(client) {
@@ -1,7 +1,7 @@
1
- import { PageFetcher } from './PageFetcher';
2
- import { AsyncIterator, PaginatedJson } from './AsyncIterator';
1
+ import { PageFetcher } from './PageFetcher.js';
2
+ import { AsyncIterator, PaginatedJson } from './AsyncIterator.js';
3
3
  import { Axios } from 'axios';
4
- import { Page } from './Page';
4
+ import { Page } from './Page.js';
5
5
  export declare class Lister<T, Y> {
6
6
  client: Axios;
7
7
  pageFetcher: PageFetcher<T, Y>;
@@ -1,5 +1,5 @@
1
- import { PageFetcher } from './PageFetcher';
2
- import { AsyncIterator } from './AsyncIterator';
1
+ import { PageFetcher } from './PageFetcher.js';
2
+ import { AsyncIterator } from './AsyncIterator.js';
3
3
  export class Lister {
4
4
  client;
5
5
  pageFetcher;
@@ -1,6 +1,6 @@
1
1
  import { Axios } from 'axios';
2
- import { Page } from './Page';
3
- import { PaginatedJson } from './AsyncIterator';
2
+ import { Page } from './Page.js';
3
+ import { PaginatedJson } from './AsyncIterator.js';
4
4
  export declare class PageFetcher<T, Y> {
5
5
  client: Axios;
6
6
  pageCreator: (data: PaginatedJson<Y>) => Page<T>;
@@ -6,17 +6,17 @@ export declare class Versions {
6
6
  export declare class ChartReports {
7
7
  client: Axios;
8
8
  constructor(client: Axios);
9
- byLabel(chartKey: string, bookWholeTables?: string, version?: string): Promise<import("..").Dict<import("..").ChartObjectInfo[]>>;
10
- byObjectType(chartKey: string, bookWholeTables?: string, version?: string): Promise<import("..").Dict<import("..").ChartObjectInfo[]>>;
9
+ byLabel(chartKey: string, bookWholeTables?: string, version?: string): Promise<import("../Dict.js").Dict<import("../index.js").ChartObjectInfo[]>>;
10
+ byObjectType(chartKey: string, bookWholeTables?: string, version?: string): Promise<import("../Dict.js").Dict<import("../index.js").ChartObjectInfo[]>>;
11
11
  summaryByObjectType(chartKey: string, bookWholeTables?: string, version?: string): Promise<any>;
12
- byCategoryLabel(chartKey: string, bookWholeTables?: string, version?: string): Promise<import("..").Dict<import("..").ChartObjectInfo[]>>;
12
+ byCategoryLabel(chartKey: string, bookWholeTables?: string, version?: string): Promise<import("../Dict.js").Dict<import("../index.js").ChartObjectInfo[]>>;
13
13
  summaryByCategoryLabel(chartKey: string, bookWholeTables?: string, version?: string): Promise<any>;
14
- byCategoryKey(chartKey: string, bookWholeTables?: string, version?: string): Promise<import("..").Dict<import("..").ChartObjectInfo[]>>;
14
+ byCategoryKey(chartKey: string, bookWholeTables?: string, version?: string): Promise<import("../Dict.js").Dict<import("../index.js").ChartObjectInfo[]>>;
15
15
  summaryByCategoryKey(chartKey: string, bookWholeTables?: string, version?: string): Promise<any>;
16
- bySection(chartKey: string, bookWholeTables?: string, version?: string): Promise<import("..").Dict<import("..").ChartObjectInfo[]>>;
17
- byZone(chartKey: string, bookWholeTables?: string, version?: string): Promise<import("..").Dict<import("..").ChartObjectInfo[]>>;
16
+ bySection(chartKey: string, bookWholeTables?: string, version?: string): Promise<import("../Dict.js").Dict<import("../index.js").ChartObjectInfo[]>>;
17
+ byZone(chartKey: string, bookWholeTables?: string, version?: string): Promise<import("../Dict.js").Dict<import("../index.js").ChartObjectInfo[]>>;
18
18
  summaryBySection(chartKey: string, bookWholeTables?: string, version?: string): Promise<any>;
19
19
  summaryByZone(chartKey: string, bookWholeTables?: string, version?: string): Promise<any>;
20
- fetchReport(reportType: string, chartKey: string, bookWholeTables?: string, version?: string): Promise<import("..").Dict<import("..").ChartObjectInfo[]>>;
20
+ fetchReport(reportType: string, chartKey: string, bookWholeTables?: string, version?: string): Promise<import("../Dict.js").Dict<import("../index.js").ChartObjectInfo[]>>;
21
21
  fetchSummaryReport(reportType: string, chartKey: string, bookWholeTables?: string, version?: string): Promise<any>;
22
22
  }
@@ -1,4 +1,4 @@
1
- import { Utilities } from '../utilities/reportUtility';
1
+ import { Utilities } from '../utilities/reportUtility.js';
2
2
  export class Versions {
3
3
  static publishedVersion = 'published';
4
4
  static draftVersion = 'draft';