seatsio 87.11.0 → 88.1.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.
- package/dist/src/Accounts/Account.d.ts +2 -2
- package/dist/src/Accounts/Account.js +1 -1
- package/dist/src/Accounts/AccountSettings.d.ts +3 -3
- package/dist/src/Accounts/AccountSettings.js +2 -2
- package/dist/src/Accounts/Accounts.d.ts +1 -1
- package/dist/src/Accounts/Accounts.js +1 -1
- package/dist/src/Accounts/ChartValidationSettings.d.ts +1 -1
- package/dist/src/Accounts/DefaultRendererSettings.d.ts +1 -1
- package/dist/src/AsyncIterator.d.ts +1 -1
- package/dist/src/Charts/Category.d.ts +1 -1
- package/dist/src/Charts/Chart.d.ts +4 -4
- package/dist/src/Charts/Chart.js +3 -3
- package/dist/src/Charts/ChartObjectInfo.d.ts +4 -4
- package/dist/src/Charts/ChartObjectInfo.js +3 -3
- package/dist/src/Charts/ChartValidation.d.ts +1 -1
- package/dist/src/Charts/Charts.d.ts +7 -7
- package/dist/src/Charts/Charts.js +3 -3
- package/dist/src/Common/Labels.d.ts +1 -1
- package/dist/src/EventLog/EventLog.d.ts +5 -5
- package/dist/src/EventLog/EventLog.js +3 -3
- package/dist/src/EventLog/EventLogItem.d.ts +1 -1
- package/dist/src/Events/AbstractEventParams.d.ts +2 -2
- package/dist/src/Events/BestAvailableObjects.d.ts +1 -1
- package/dist/src/Events/BestAvailableObjects.js +1 -1
- package/dist/src/Events/BestAvailableParams.d.ts +1 -1
- package/dist/src/Events/ChangeObjectStatusResult.d.ts +2 -2
- package/dist/src/Events/ChangeObjectStatusResult.js +1 -1
- package/dist/src/Events/Channel.d.ts +1 -1
- package/dist/src/Events/Channels.d.ts +2 -2
- package/dist/src/Events/CreateEventParams.d.ts +4 -4
- package/dist/src/Events/CreateEventParams.js +1 -1
- package/dist/src/Events/EditForSaleConfigResult.d.ts +2 -2
- package/dist/src/Events/EditForSaleConfigResult.js +2 -2
- package/dist/src/Events/Event.d.ts +6 -6
- package/dist/src/Events/Event.js +4 -4
- package/dist/src/Events/EventDeserializer.d.ts +1 -1
- package/dist/src/Events/EventDeserializer.js +2 -2
- package/dist/src/Events/EventObjectInfo.d.ts +4 -4
- package/dist/src/Events/EventObjectInfo.js +3 -3
- package/dist/src/Events/Events.d.ts +16 -16
- package/dist/src/Events/Events.js +10 -10
- package/dist/src/Events/ForSaleConfig.d.ts +1 -1
- package/dist/src/Events/ForSaleConfigParams.d.ts +1 -1
- package/dist/src/Events/StatusChange.d.ts +2 -2
- package/dist/src/Events/StatusChangeOrigin.d.ts +1 -1
- package/dist/src/Events/StatusChangeRequest.d.ts +1 -1
- package/dist/src/Events/UpdateEventParams.d.ts +2 -2
- package/dist/src/Events/UpdateEventParams.js +1 -1
- package/dist/src/HoldTokens/HoldToken.d.ts +1 -1
- package/dist/src/HoldTokens/HoldTokens.d.ts +1 -1
- package/dist/src/HoldTokens/HoldTokens.js +1 -1
- package/dist/src/Lister.d.ts +3 -3
- package/dist/src/Lister.js +2 -2
- package/dist/src/PageFetcher.d.ts +2 -2
- package/dist/src/Reports/ChartReports.d.ts +7 -7
- package/dist/src/Reports/ChartReports.js +1 -1
- package/dist/src/Reports/EventReports.d.ts +12 -12
- package/dist/src/Reports/EventReports.js +1 -1
- package/dist/src/Seasons/CreateSeasonParams.d.ts +4 -4
- package/dist/src/Seasons/Season.d.ts +2 -2
- package/dist/src/Seasons/Season.js +1 -1
- package/dist/src/Seasons/Seasons.d.ts +5 -5
- package/dist/src/Seasons/Seasons.js +2 -2
- package/dist/src/Seasons/UpdateSeasonParams.d.ts +1 -1
- package/dist/src/Seasons/UpdateSeasonParams.js +1 -1
- package/dist/src/SeatsioClient.d.ts +12 -12
- package/dist/src/SeatsioClient.js +12 -12
- package/dist/src/TicketBuyers/TicketBuyers.d.ts +5 -5
- package/dist/src/TicketBuyers/TicketBuyers.js +4 -4
- package/dist/src/Workspaces/Workspace.d.ts +1 -1
- package/dist/src/Workspaces/Workspaces.d.ts +6 -6
- package/dist/src/Workspaces/Workspaces.js +3 -3
- package/dist/src/index.d.ts +63 -63
- package/dist/src/index.js +63 -63
- package/dist/src/utilities/helperFunctions.d.ts +1 -1
- package/dist/src/utilities/helperFunctions.js +2 -2
- package/dist/src/utilities/reportUtility.d.ts +3 -3
- package/dist/src/utilities/reportUtility.js +2 -2
- package/package.json +6 -7
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { Axios } from 'axios';
|
|
2
|
-
import { CategoryKey } from '../Charts/Category';
|
|
2
|
+
import { CategoryKey } from '../Charts/Category.js';
|
|
3
3
|
export declare class EventReports {
|
|
4
4
|
client: Axios;
|
|
5
5
|
constructor(client: Axios);
|
|
6
|
-
byStatus(eventKey: string, status?: string | null): Promise<import("
|
|
6
|
+
byStatus(eventKey: string, status?: string | null): Promise<import("../Dict.js").Dict<import("../index.js").EventObjectInfo[]>>;
|
|
7
7
|
summaryByStatus(eventKey: string): Promise<any>;
|
|
8
8
|
deepSummaryByStatus(eventKey: string): Promise<any>;
|
|
9
|
-
byObjectType(eventKey: string, objectType?: string | null): Promise<import("
|
|
9
|
+
byObjectType(eventKey: string, objectType?: string | null): Promise<import("../Dict.js").Dict<import("../index.js").EventObjectInfo[]>>;
|
|
10
10
|
summaryByObjectType(eventKey: string): Promise<any>;
|
|
11
11
|
deepSummaryByObjectType(eventKey: string): Promise<any>;
|
|
12
|
-
byCategoryLabel(eventKey: string, categoryLabel?: string | null): Promise<import("
|
|
12
|
+
byCategoryLabel(eventKey: string, categoryLabel?: string | null): Promise<import("../Dict.js").Dict<import("../index.js").EventObjectInfo[]>>;
|
|
13
13
|
summaryByCategoryLabel(eventKey: string): Promise<any>;
|
|
14
14
|
deepSummaryByCategoryLabel(eventKey: string): Promise<any>;
|
|
15
|
-
byCategoryKey(eventKey: string, categoryKey?: CategoryKey | null): Promise<import("
|
|
15
|
+
byCategoryKey(eventKey: string, categoryKey?: CategoryKey | null): Promise<import("../Dict.js").Dict<import("../index.js").EventObjectInfo[]>>;
|
|
16
16
|
summaryByCategoryKey(eventKey: string): Promise<any>;
|
|
17
17
|
deepSummaryByCategoryKey(eventKey: string): Promise<any>;
|
|
18
|
-
byLabel(eventKey: string, label?: string | null): Promise<import("
|
|
19
|
-
byOrderId(eventKey: string, orderId?: string | null): Promise<import("
|
|
20
|
-
bySection(eventKey: string, section?: string | null): Promise<import("
|
|
18
|
+
byLabel(eventKey: string, label?: string | null): Promise<import("../Dict.js").Dict<import("../index.js").EventObjectInfo[]>>;
|
|
19
|
+
byOrderId(eventKey: string, orderId?: string | null): Promise<import("../Dict.js").Dict<import("../index.js").EventObjectInfo[]>>;
|
|
20
|
+
bySection(eventKey: string, section?: string | null): Promise<import("../Dict.js").Dict<import("../index.js").EventObjectInfo[]>>;
|
|
21
21
|
summaryBySection(eventKey: string): Promise<any>;
|
|
22
22
|
deepSummaryBySection(eventKey: string): Promise<any>;
|
|
23
|
-
byZone(eventKey: string, zone?: string | null): Promise<import("
|
|
23
|
+
byZone(eventKey: string, zone?: string | null): Promise<import("../Dict.js").Dict<import("../index.js").EventObjectInfo[]>>;
|
|
24
24
|
summaryByZone(eventKey: string): Promise<any>;
|
|
25
25
|
deepSummaryByZone(eventKey: string): Promise<any>;
|
|
26
|
-
byAvailability(eventKey: string, availability?: string | null): Promise<import("
|
|
27
|
-
byAvailabilityReason(eventKey: string, availabilityReason?: string | null): Promise<import("
|
|
26
|
+
byAvailability(eventKey: string, availability?: string | null): Promise<import("../Dict.js").Dict<import("../index.js").EventObjectInfo[]>>;
|
|
27
|
+
byAvailabilityReason(eventKey: string, availabilityReason?: string | null): Promise<import("../Dict.js").Dict<import("../index.js").EventObjectInfo[]>>;
|
|
28
28
|
summaryByAvailability(eventKey: string): Promise<any>;
|
|
29
29
|
summaryByAvailabilityReason(eventKey: string): Promise<any>;
|
|
30
30
|
deepSummaryByAvailability(eventKey: string): Promise<any>;
|
|
31
31
|
deepSummaryByAvailabilityReason(eventKey: string): Promise<any>;
|
|
32
|
-
byChannel(eventKey: string, channel?: string | null): Promise<import("
|
|
32
|
+
byChannel(eventKey: string, channel?: string | null): Promise<import("../Dict.js").Dict<import("../index.js").EventObjectInfo[]>>;
|
|
33
33
|
summaryByChannel(eventKey: string): Promise<any>;
|
|
34
34
|
deepSummaryByChannel(eventKey: string): Promise<any>;
|
|
35
35
|
static reportUrl(reportType: string, eventKey: string, filter: string | number | null): string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TableBookingConfig } from '../Events/TableBookingConfig';
|
|
2
|
-
import { ChannelCreationParams } from '../Events/Channel';
|
|
3
|
-
import { ForSaleConfig } from '../Events/ForSaleConfig';
|
|
4
|
-
import { Category } from '../Charts/Category';
|
|
1
|
+
import { TableBookingConfig } from '../Events/TableBookingConfig.js';
|
|
2
|
+
import { ChannelCreationParams } from '../Events/Channel.js';
|
|
3
|
+
import { ForSaleConfig } from '../Events/ForSaleConfig.js';
|
|
4
|
+
import { Category } from '../Charts/Category.js';
|
|
5
5
|
export declare class CreateSeasonParams {
|
|
6
6
|
_eventKeys?: string[];
|
|
7
7
|
_key?: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Season } from './Season';
|
|
1
|
+
import { Season } from './Season.js';
|
|
2
2
|
import { Axios } from 'axios';
|
|
3
|
-
import { SeatsioClient } from '../SeatsioClient';
|
|
4
|
-
import { CreateSeasonParams } from './CreateSeasonParams';
|
|
5
|
-
import { UpdateSeasonParams } from './UpdateSeasonParams';
|
|
3
|
+
import { SeatsioClient } from '../SeatsioClient.js';
|
|
4
|
+
import { CreateSeasonParams } from './CreateSeasonParams.js';
|
|
5
|
+
import { UpdateSeasonParams } from './UpdateSeasonParams.js';
|
|
6
6
|
export declare class Seasons {
|
|
7
7
|
client: Axios;
|
|
8
8
|
seatsioClient: SeatsioClient;
|
|
@@ -13,5 +13,5 @@ export declare class Seasons {
|
|
|
13
13
|
createEvents(key: string, numberOfEvents?: number | null, eventKeys?: string[] | null): Promise<any>;
|
|
14
14
|
addEventsToPartialSeason(topLevelSeasonKey: string, partialSeasonKey: string, eventKeys: string[]): Promise<Season>;
|
|
15
15
|
removeEventFromPartialSeason(topLevelSeasonKey: string, partialSeasonKey: string, eventKey: string): Promise<Season>;
|
|
16
|
-
retrieve(key: string): Promise<import("
|
|
16
|
+
retrieve(key: string): Promise<import("../Events/Event.js").Event>;
|
|
17
17
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbstractEventParams } from '../Events/AbstractEventParams';
|
|
1
|
+
import { AbstractEventParams } from '../Events/AbstractEventParams.js';
|
|
2
2
|
export declare class UpdateSeasonParams extends AbstractEventParams {
|
|
3
3
|
forSalePropagated?: boolean;
|
|
4
4
|
withForSalePropagated(forSalePropagated: boolean): this;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbstractEventParams } from '../Events/AbstractEventParams';
|
|
1
|
+
import { AbstractEventParams } from '../Events/AbstractEventParams.js';
|
|
2
2
|
export class UpdateSeasonParams extends AbstractEventParams {
|
|
3
3
|
forSalePropagated;
|
|
4
4
|
withForSalePropagated(forSalePropagated) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Axios, type AxiosRequestConfig, type RawAxiosRequestHeaders } from 'axios';
|
|
2
|
-
import { Accounts } from './Accounts/Accounts';
|
|
3
|
-
import { Charts } from './Charts/Charts';
|
|
4
|
-
import { EventLog } from './EventLog/EventLog';
|
|
5
|
-
import { Events } from './Events/Events';
|
|
6
|
-
import { HoldTokens } from './HoldTokens/HoldTokens';
|
|
7
|
-
import { Region } from './Region';
|
|
8
|
-
import { ChartReports } from './Reports/ChartReports';
|
|
9
|
-
import { EventReports } from './Reports/EventReports';
|
|
10
|
-
import { UsageReports } from './Reports/UsageReports';
|
|
11
|
-
import { Seasons } from './Seasons/Seasons';
|
|
12
|
-
import { TicketBuyers } from './TicketBuyers/TicketBuyers';
|
|
13
|
-
import { Workspaces } from './Workspaces/Workspaces';
|
|
2
|
+
import { Accounts } from './Accounts/Accounts.js';
|
|
3
|
+
import { Charts } from './Charts/Charts.js';
|
|
4
|
+
import { EventLog } from './EventLog/EventLog.js';
|
|
5
|
+
import { Events } from './Events/Events.js';
|
|
6
|
+
import { HoldTokens } from './HoldTokens/HoldTokens.js';
|
|
7
|
+
import { Region } from './Region.js';
|
|
8
|
+
import { ChartReports } from './Reports/ChartReports.js';
|
|
9
|
+
import { EventReports } from './Reports/EventReports.js';
|
|
10
|
+
import { UsageReports } from './Reports/UsageReports.js';
|
|
11
|
+
import { Seasons } from './Seasons/Seasons.js';
|
|
12
|
+
import { TicketBuyers } from './TicketBuyers/TicketBuyers.js';
|
|
13
|
+
import { Workspaces } from './Workspaces/Workspaces.js';
|
|
14
14
|
export declare class SeatsioClient {
|
|
15
15
|
accounts: Accounts;
|
|
16
16
|
chartReports: ChartReports;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
|
-
import { Accounts } from './Accounts/Accounts';
|
|
3
|
-
import { Charts } from './Charts/Charts';
|
|
4
|
-
import { errorResponseHandler } from './errorInterceptor';
|
|
5
|
-
import { EventLog } from './EventLog/EventLog';
|
|
6
|
-
import { Events } from './Events/Events';
|
|
7
|
-
import { HoldTokens } from './HoldTokens/HoldTokens';
|
|
8
|
-
import { ChartReports } from './Reports/ChartReports';
|
|
9
|
-
import { EventReports } from './Reports/EventReports';
|
|
10
|
-
import { UsageReports } from './Reports/UsageReports';
|
|
11
|
-
import { Seasons } from './Seasons/Seasons';
|
|
12
|
-
import { TicketBuyers } from './TicketBuyers/TicketBuyers';
|
|
13
|
-
import { Workspaces } from './Workspaces/Workspaces';
|
|
2
|
+
import { Accounts } from './Accounts/Accounts.js';
|
|
3
|
+
import { Charts } from './Charts/Charts.js';
|
|
4
|
+
import { errorResponseHandler } from './errorInterceptor.js';
|
|
5
|
+
import { EventLog } from './EventLog/EventLog.js';
|
|
6
|
+
import { Events } from './Events/Events.js';
|
|
7
|
+
import { HoldTokens } from './HoldTokens/HoldTokens.js';
|
|
8
|
+
import { ChartReports } from './Reports/ChartReports.js';
|
|
9
|
+
import { EventReports } from './Reports/EventReports.js';
|
|
10
|
+
import { UsageReports } from './Reports/UsageReports.js';
|
|
11
|
+
import { Seasons } from './Seasons/Seasons.js';
|
|
12
|
+
import { TicketBuyers } from './TicketBuyers/TicketBuyers.js';
|
|
13
|
+
import { Workspaces } from './Workspaces/Workspaces.js';
|
|
14
14
|
const TEN_SECONDS = 10000;
|
|
15
15
|
export class SeatsioClient {
|
|
16
16
|
accounts;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Axios } from 'axios';
|
|
2
|
-
import { SeatsioClient } from '../SeatsioClient';
|
|
3
|
-
import { AddTicketBuyerIdsResponse } from './AddTicketBuyerIdsResponse';
|
|
4
|
-
import { RemoveTicketBuyerIdsResponse } from './RemoveTicketBuyerIdsResponse';
|
|
5
|
-
import { Lister } from '../Lister';
|
|
2
|
+
import { SeatsioClient } from '../SeatsioClient.js';
|
|
3
|
+
import { AddTicketBuyerIdsResponse } from './AddTicketBuyerIdsResponse.js';
|
|
4
|
+
import { RemoveTicketBuyerIdsResponse } from './RemoveTicketBuyerIdsResponse.js';
|
|
5
|
+
import { Lister } from '../Lister.js';
|
|
6
6
|
export declare class TicketBuyers {
|
|
7
7
|
client: Axios;
|
|
8
8
|
seatsioClient: SeatsioClient;
|
|
9
9
|
constructor(client: Axios, seatsioClient: SeatsioClient);
|
|
10
10
|
add(ids: string[]): Promise<AddTicketBuyerIdsResponse>;
|
|
11
11
|
remove(ids: string[]): Promise<RemoveTicketBuyerIdsResponse>;
|
|
12
|
-
listAll(): import("
|
|
12
|
+
listAll(): import("../AsyncIterator.js").AsyncIterator<string, string>;
|
|
13
13
|
iterator(): Lister<string, string>;
|
|
14
14
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AddTicketBuyerIdsResponse } from './AddTicketBuyerIdsResponse';
|
|
2
|
-
import { RemoveTicketBuyerIdsResponse } from './RemoveTicketBuyerIdsResponse';
|
|
3
|
-
import { Lister } from '../Lister';
|
|
4
|
-
import { Page } from '../Page';
|
|
1
|
+
import { AddTicketBuyerIdsResponse } from './AddTicketBuyerIdsResponse.js';
|
|
2
|
+
import { RemoveTicketBuyerIdsResponse } from './RemoveTicketBuyerIdsResponse.js';
|
|
3
|
+
import { Lister } from '../Lister.js';
|
|
4
|
+
import { Page } from '../Page.js';
|
|
5
5
|
export class TicketBuyers {
|
|
6
6
|
client;
|
|
7
7
|
seatsioClient;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Workspace, WorkspaceJson } from './Workspace';
|
|
2
|
-
import { Lister } from '../Lister';
|
|
3
|
-
import { Page } from '../Page';
|
|
1
|
+
import { Workspace, WorkspaceJson } from './Workspace.js';
|
|
2
|
+
import { Lister } from '../Lister.js';
|
|
3
|
+
import { Page } from '../Page.js';
|
|
4
4
|
import { Axios } from 'axios';
|
|
5
5
|
export declare class Workspaces {
|
|
6
6
|
client: Axios;
|
|
@@ -13,15 +13,15 @@ export declare class Workspaces {
|
|
|
13
13
|
deactivate(key: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
14
14
|
delete(key: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
15
15
|
retrieve(key: string): Promise<Workspace>;
|
|
16
|
-
listAll(filter?: string | null): import("
|
|
16
|
+
listAll(filter?: string | null): import("../AsyncIterator.js").AsyncIterator<Workspace, WorkspaceJson>;
|
|
17
17
|
listFirstPage(filter?: string | null, pageSize?: number | null): Promise<Page<Workspace>>;
|
|
18
18
|
listPageAfter(afterId: number, filter?: string | null, pageSize?: number | null): Promise<Page<Workspace>>;
|
|
19
19
|
listPageBefore(beforeId: number, filter?: string | null, pageSize?: number | null): Promise<Page<Workspace>>;
|
|
20
|
-
listActive(filter?: string | null): import("
|
|
20
|
+
listActive(filter?: string | null): import("../AsyncIterator.js").AsyncIterator<Workspace, WorkspaceJson>;
|
|
21
21
|
listActiveFirstPage(filter?: string | null, pageSize?: number | null): Promise<Page<Workspace>>;
|
|
22
22
|
listActivePageAfter(afterId: number, filter?: string | null, pageSize?: number | null): Promise<Page<Workspace>>;
|
|
23
23
|
listActivePageBefore(beforeId: number, filter?: string | null, pageSize?: number | null): Promise<Page<Workspace>>;
|
|
24
|
-
listInactive(filter?: string | null): import("
|
|
24
|
+
listInactive(filter?: string | null): import("../AsyncIterator.js").AsyncIterator<Workspace, WorkspaceJson>;
|
|
25
25
|
listInactiveFirstPage(filter?: string | null, pageSize?: number | null): Promise<Page<Workspace>>;
|
|
26
26
|
listInactivePageAfter(afterId: number, filter?: string | null, pageSize?: number | null): Promise<Page<Workspace>>;
|
|
27
27
|
listInactivePageBefore(beforeId: number, filter?: string | null, pageSize?: number | null): Promise<Page<Workspace>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Workspace } from './Workspace';
|
|
2
|
-
import { Lister } from '../Lister';
|
|
3
|
-
import { Page } from '../Page';
|
|
1
|
+
import { Workspace } from './Workspace.js';
|
|
2
|
+
import { Lister } from '../Lister.js';
|
|
3
|
+
import { Page } from '../Page.js';
|
|
4
4
|
export class Workspaces {
|
|
5
5
|
client;
|
|
6
6
|
constructor(client) {
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
export * from './AsyncIterator';
|
|
2
|
-
export * from './Dict';
|
|
3
|
-
export * from './Lister';
|
|
4
|
-
export * from './LocalDate';
|
|
5
|
-
export * from './Page';
|
|
6
|
-
export * from './PageFetcher';
|
|
7
|
-
export * from './Region';
|
|
8
|
-
export * from './SeatsioClient';
|
|
9
|
-
export * from './Accounts/Account';
|
|
10
|
-
export * from './Accounts/Accounts';
|
|
11
|
-
export * from './Accounts/AccountSettings';
|
|
12
|
-
export * from './Accounts/ChartValidationSettings';
|
|
13
|
-
export * from './Accounts/DefaultRendererSettings';
|
|
14
|
-
export * from './Charts/Category';
|
|
15
|
-
export * from './Charts/CategoryUpdateParams';
|
|
16
|
-
export * from './Charts/Chart';
|
|
17
|
-
export * from './Charts/ChartListParams';
|
|
18
|
-
export * from './Charts/ChartObjectInfo';
|
|
19
|
-
export * from './Charts/Charts';
|
|
20
|
-
export * from './Charts/ChartValidation';
|
|
21
|
-
export * from './Charts/Zone';
|
|
22
|
-
export * from './Common/Floor';
|
|
23
|
-
export * from './Common/IDs';
|
|
24
|
-
export * from './Common/LabelAndType';
|
|
25
|
-
export * from './Common/Labels';
|
|
26
|
-
export * from './EventLog/EventLog';
|
|
27
|
-
export * from './EventLog/EventLogItem';
|
|
28
|
-
export * from './Events/AbstractEventParams';
|
|
29
|
-
export * from './Events/BestAvailableObjects';
|
|
30
|
-
export * from './Events/BestAvailableParams';
|
|
31
|
-
export * from './Events/ChangeObjectStatusResult';
|
|
32
|
-
export * from './Events/Channel';
|
|
33
|
-
export * from './Events/Channels';
|
|
34
|
-
export * from './Events/CreateEventParams';
|
|
35
|
-
export * from './Events/EditForSaleConfigResult';
|
|
36
|
-
export * from './Events/Event';
|
|
37
|
-
export * from './Events/EventDeserializer';
|
|
38
|
-
export * from './Events/EventObjectInfo';
|
|
39
|
-
export * from './Events/Events';
|
|
40
|
-
export * from './Events/ForSaleConfig';
|
|
41
|
-
export * from './Events/ForSaleConfigParams';
|
|
42
|
-
export * from './Events/ForSaleRateLimitInfo';
|
|
43
|
-
export * from './Events/ObjectProperties';
|
|
44
|
-
export * from './Events/StatusChange';
|
|
45
|
-
export * from './Events/StatusChangeOrigin';
|
|
46
|
-
export * from './Events/StatusChangeRequest';
|
|
47
|
-
export * from './Events/StatusChangesParams';
|
|
48
|
-
export * from './Events/TableBookingConfig';
|
|
49
|
-
export * from './Events/UpdateEventParams';
|
|
50
|
-
export * from './HoldTokens/HoldToken';
|
|
51
|
-
export * from './HoldTokens/HoldTokens';
|
|
52
|
-
export * from './Reports/ChartReports';
|
|
53
|
-
export * from './Reports/EventReports';
|
|
54
|
-
export * from './Reports/UsageReports';
|
|
55
|
-
export * from './Seasons/CreateSeasonParams';
|
|
56
|
-
export * from './Seasons/Season';
|
|
57
|
-
export * from './Seasons/Seasons';
|
|
58
|
-
export * from './Seasons/UpdateSeasonParams';
|
|
59
|
-
export * from './TicketBuyers/AddTicketBuyerIdsResponse';
|
|
60
|
-
export * from './TicketBuyers/RemoveTicketBuyerIdsResponse';
|
|
61
|
-
export * from './TicketBuyers/TicketBuyers';
|
|
62
|
-
export * from './Workspaces/Workspace';
|
|
63
|
-
export * from './Workspaces/Workspaces';
|
|
1
|
+
export * from './AsyncIterator.js';
|
|
2
|
+
export * from './Dict.js';
|
|
3
|
+
export * from './Lister.js';
|
|
4
|
+
export * from './LocalDate.js';
|
|
5
|
+
export * from './Page.js';
|
|
6
|
+
export * from './PageFetcher.js';
|
|
7
|
+
export * from './Region.js';
|
|
8
|
+
export * from './SeatsioClient.js';
|
|
9
|
+
export * from './Accounts/Account.js';
|
|
10
|
+
export * from './Accounts/Accounts.js';
|
|
11
|
+
export * from './Accounts/AccountSettings.js';
|
|
12
|
+
export * from './Accounts/ChartValidationSettings.js';
|
|
13
|
+
export * from './Accounts/DefaultRendererSettings.js';
|
|
14
|
+
export * from './Charts/Category.js';
|
|
15
|
+
export * from './Charts/CategoryUpdateParams.js';
|
|
16
|
+
export * from './Charts/Chart.js';
|
|
17
|
+
export * from './Charts/ChartListParams.js';
|
|
18
|
+
export * from './Charts/ChartObjectInfo.js';
|
|
19
|
+
export * from './Charts/Charts.js';
|
|
20
|
+
export * from './Charts/ChartValidation.js';
|
|
21
|
+
export * from './Charts/Zone.js';
|
|
22
|
+
export * from './Common/Floor.js';
|
|
23
|
+
export * from './Common/IDs.js';
|
|
24
|
+
export * from './Common/LabelAndType.js';
|
|
25
|
+
export * from './Common/Labels.js';
|
|
26
|
+
export * from './EventLog/EventLog.js';
|
|
27
|
+
export * from './EventLog/EventLogItem.js';
|
|
28
|
+
export * from './Events/AbstractEventParams.js';
|
|
29
|
+
export * from './Events/BestAvailableObjects.js';
|
|
30
|
+
export * from './Events/BestAvailableParams.js';
|
|
31
|
+
export * from './Events/ChangeObjectStatusResult.js';
|
|
32
|
+
export * from './Events/Channel.js';
|
|
33
|
+
export * from './Events/Channels.js';
|
|
34
|
+
export * from './Events/CreateEventParams.js';
|
|
35
|
+
export * from './Events/EditForSaleConfigResult.js';
|
|
36
|
+
export * from './Events/Event.js';
|
|
37
|
+
export * from './Events/EventDeserializer.js';
|
|
38
|
+
export * from './Events/EventObjectInfo.js';
|
|
39
|
+
export * from './Events/Events.js';
|
|
40
|
+
export * from './Events/ForSaleConfig.js';
|
|
41
|
+
export * from './Events/ForSaleConfigParams.js';
|
|
42
|
+
export * from './Events/ForSaleRateLimitInfo.js';
|
|
43
|
+
export * from './Events/ObjectProperties.js';
|
|
44
|
+
export * from './Events/StatusChange.js';
|
|
45
|
+
export * from './Events/StatusChangeOrigin.js';
|
|
46
|
+
export * from './Events/StatusChangeRequest.js';
|
|
47
|
+
export * from './Events/StatusChangesParams.js';
|
|
48
|
+
export * from './Events/TableBookingConfig.js';
|
|
49
|
+
export * from './Events/UpdateEventParams.js';
|
|
50
|
+
export * from './HoldTokens/HoldToken.js';
|
|
51
|
+
export * from './HoldTokens/HoldTokens.js';
|
|
52
|
+
export * from './Reports/ChartReports.js';
|
|
53
|
+
export * from './Reports/EventReports.js';
|
|
54
|
+
export * from './Reports/UsageReports.js';
|
|
55
|
+
export * from './Seasons/CreateSeasonParams.js';
|
|
56
|
+
export * from './Seasons/Season.js';
|
|
57
|
+
export * from './Seasons/Seasons.js';
|
|
58
|
+
export * from './Seasons/UpdateSeasonParams.js';
|
|
59
|
+
export * from './TicketBuyers/AddTicketBuyerIdsResponse.js';
|
|
60
|
+
export * from './TicketBuyers/RemoveTicketBuyerIdsResponse.js';
|
|
61
|
+
export * from './TicketBuyers/TicketBuyers.js';
|
|
62
|
+
export * from './Workspaces/Workspace.js';
|
|
63
|
+
export * from './Workspaces/Workspaces.js';
|
package/dist/src/index.js
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
export * from './AsyncIterator';
|
|
2
|
-
export * from './Dict';
|
|
3
|
-
export * from './Lister';
|
|
4
|
-
export * from './LocalDate';
|
|
5
|
-
export * from './Page';
|
|
6
|
-
export * from './PageFetcher';
|
|
7
|
-
export * from './Region';
|
|
8
|
-
export * from './SeatsioClient';
|
|
9
|
-
export * from './Accounts/Account';
|
|
10
|
-
export * from './Accounts/Accounts';
|
|
11
|
-
export * from './Accounts/AccountSettings';
|
|
12
|
-
export * from './Accounts/ChartValidationSettings';
|
|
13
|
-
export * from './Accounts/DefaultRendererSettings';
|
|
14
|
-
export * from './Charts/Category';
|
|
15
|
-
export * from './Charts/CategoryUpdateParams';
|
|
16
|
-
export * from './Charts/Chart';
|
|
17
|
-
export * from './Charts/ChartListParams';
|
|
18
|
-
export * from './Charts/ChartObjectInfo';
|
|
19
|
-
export * from './Charts/Charts';
|
|
20
|
-
export * from './Charts/ChartValidation';
|
|
21
|
-
export * from './Charts/Zone';
|
|
22
|
-
export * from './Common/Floor';
|
|
23
|
-
export * from './Common/IDs';
|
|
24
|
-
export * from './Common/LabelAndType';
|
|
25
|
-
export * from './Common/Labels';
|
|
26
|
-
export * from './EventLog/EventLog';
|
|
27
|
-
export * from './EventLog/EventLogItem';
|
|
28
|
-
export * from './Events/AbstractEventParams';
|
|
29
|
-
export * from './Events/BestAvailableObjects';
|
|
30
|
-
export * from './Events/BestAvailableParams';
|
|
31
|
-
export * from './Events/ChangeObjectStatusResult';
|
|
32
|
-
export * from './Events/Channel';
|
|
33
|
-
export * from './Events/Channels';
|
|
34
|
-
export * from './Events/CreateEventParams';
|
|
35
|
-
export * from './Events/EditForSaleConfigResult';
|
|
36
|
-
export * from './Events/Event';
|
|
37
|
-
export * from './Events/EventDeserializer';
|
|
38
|
-
export * from './Events/EventObjectInfo';
|
|
39
|
-
export * from './Events/Events';
|
|
40
|
-
export * from './Events/ForSaleConfig';
|
|
41
|
-
export * from './Events/ForSaleConfigParams';
|
|
42
|
-
export * from './Events/ForSaleRateLimitInfo';
|
|
43
|
-
export * from './Events/ObjectProperties';
|
|
44
|
-
export * from './Events/StatusChange';
|
|
45
|
-
export * from './Events/StatusChangeOrigin';
|
|
46
|
-
export * from './Events/StatusChangeRequest';
|
|
47
|
-
export * from './Events/StatusChangesParams';
|
|
48
|
-
export * from './Events/TableBookingConfig';
|
|
49
|
-
export * from './Events/UpdateEventParams';
|
|
50
|
-
export * from './HoldTokens/HoldToken';
|
|
51
|
-
export * from './HoldTokens/HoldTokens';
|
|
52
|
-
export * from './Reports/ChartReports';
|
|
53
|
-
export * from './Reports/EventReports';
|
|
54
|
-
export * from './Reports/UsageReports';
|
|
55
|
-
export * from './Seasons/CreateSeasonParams';
|
|
56
|
-
export * from './Seasons/Season';
|
|
57
|
-
export * from './Seasons/Seasons';
|
|
58
|
-
export * from './Seasons/UpdateSeasonParams';
|
|
59
|
-
export * from './TicketBuyers/AddTicketBuyerIdsResponse';
|
|
60
|
-
export * from './TicketBuyers/RemoveTicketBuyerIdsResponse';
|
|
61
|
-
export * from './TicketBuyers/TicketBuyers';
|
|
62
|
-
export * from './Workspaces/Workspace';
|
|
63
|
-
export * from './Workspaces/Workspaces';
|
|
1
|
+
export * from './AsyncIterator.js';
|
|
2
|
+
export * from './Dict.js';
|
|
3
|
+
export * from './Lister.js';
|
|
4
|
+
export * from './LocalDate.js';
|
|
5
|
+
export * from './Page.js';
|
|
6
|
+
export * from './PageFetcher.js';
|
|
7
|
+
export * from './Region.js';
|
|
8
|
+
export * from './SeatsioClient.js';
|
|
9
|
+
export * from './Accounts/Account.js';
|
|
10
|
+
export * from './Accounts/Accounts.js';
|
|
11
|
+
export * from './Accounts/AccountSettings.js';
|
|
12
|
+
export * from './Accounts/ChartValidationSettings.js';
|
|
13
|
+
export * from './Accounts/DefaultRendererSettings.js';
|
|
14
|
+
export * from './Charts/Category.js';
|
|
15
|
+
export * from './Charts/CategoryUpdateParams.js';
|
|
16
|
+
export * from './Charts/Chart.js';
|
|
17
|
+
export * from './Charts/ChartListParams.js';
|
|
18
|
+
export * from './Charts/ChartObjectInfo.js';
|
|
19
|
+
export * from './Charts/Charts.js';
|
|
20
|
+
export * from './Charts/ChartValidation.js';
|
|
21
|
+
export * from './Charts/Zone.js';
|
|
22
|
+
export * from './Common/Floor.js';
|
|
23
|
+
export * from './Common/IDs.js';
|
|
24
|
+
export * from './Common/LabelAndType.js';
|
|
25
|
+
export * from './Common/Labels.js';
|
|
26
|
+
export * from './EventLog/EventLog.js';
|
|
27
|
+
export * from './EventLog/EventLogItem.js';
|
|
28
|
+
export * from './Events/AbstractEventParams.js';
|
|
29
|
+
export * from './Events/BestAvailableObjects.js';
|
|
30
|
+
export * from './Events/BestAvailableParams.js';
|
|
31
|
+
export * from './Events/ChangeObjectStatusResult.js';
|
|
32
|
+
export * from './Events/Channel.js';
|
|
33
|
+
export * from './Events/Channels.js';
|
|
34
|
+
export * from './Events/CreateEventParams.js';
|
|
35
|
+
export * from './Events/EditForSaleConfigResult.js';
|
|
36
|
+
export * from './Events/Event.js';
|
|
37
|
+
export * from './Events/EventDeserializer.js';
|
|
38
|
+
export * from './Events/EventObjectInfo.js';
|
|
39
|
+
export * from './Events/Events.js';
|
|
40
|
+
export * from './Events/ForSaleConfig.js';
|
|
41
|
+
export * from './Events/ForSaleConfigParams.js';
|
|
42
|
+
export * from './Events/ForSaleRateLimitInfo.js';
|
|
43
|
+
export * from './Events/ObjectProperties.js';
|
|
44
|
+
export * from './Events/StatusChange.js';
|
|
45
|
+
export * from './Events/StatusChangeOrigin.js';
|
|
46
|
+
export * from './Events/StatusChangeRequest.js';
|
|
47
|
+
export * from './Events/StatusChangesParams.js';
|
|
48
|
+
export * from './Events/TableBookingConfig.js';
|
|
49
|
+
export * from './Events/UpdateEventParams.js';
|
|
50
|
+
export * from './HoldTokens/HoldToken.js';
|
|
51
|
+
export * from './HoldTokens/HoldTokens.js';
|
|
52
|
+
export * from './Reports/ChartReports.js';
|
|
53
|
+
export * from './Reports/EventReports.js';
|
|
54
|
+
export * from './Reports/UsageReports.js';
|
|
55
|
+
export * from './Seasons/CreateSeasonParams.js';
|
|
56
|
+
export * from './Seasons/Season.js';
|
|
57
|
+
export * from './Seasons/Seasons.js';
|
|
58
|
+
export * from './Seasons/UpdateSeasonParams.js';
|
|
59
|
+
export * from './TicketBuyers/AddTicketBuyerIdsResponse.js';
|
|
60
|
+
export * from './TicketBuyers/RemoveTicketBuyerIdsResponse.js';
|
|
61
|
+
export * from './TicketBuyers/TicketBuyers.js';
|
|
62
|
+
export * from './Workspaces/Workspace.js';
|
|
63
|
+
export * from './Workspaces/Workspaces.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Labels } from '../Common/Labels';
|
|
2
|
-
import { LabelAndType } from '../Common/LabelAndType';
|
|
1
|
+
import { Labels } from '../Common/Labels.js';
|
|
2
|
+
import { LabelAndType } from '../Common/LabelAndType.js';
|
|
3
3
|
export class HelperFunctions {
|
|
4
4
|
static labelCreator(json) {
|
|
5
5
|
let labels;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChartObjectInfo, ChartObjectInfoJson } from '../Charts/ChartObjectInfo';
|
|
2
|
-
import { EventObjectInfo, EventObjectInfoJson } from '../Events/EventObjectInfo';
|
|
3
|
-
import { Dict } from '../Dict';
|
|
1
|
+
import { ChartObjectInfo, ChartObjectInfoJson } from '../Charts/ChartObjectInfo.js';
|
|
2
|
+
import { EventObjectInfo, EventObjectInfoJson } from '../Events/EventObjectInfo.js';
|
|
3
|
+
import { Dict } from '../Dict.js';
|
|
4
4
|
export declare class Utilities {
|
|
5
5
|
static createChangeObjectStatusDetails(data: Dict<EventObjectInfoJson>): Dict<EventObjectInfo>;
|
|
6
6
|
static createEventReport(reportsData: Dict<EventObjectInfoJson[]>): Dict<EventObjectInfo[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChartObjectInfo } from '../Charts/ChartObjectInfo';
|
|
2
|
-
import { EventObjectInfo } from '../Events/EventObjectInfo';
|
|
1
|
+
import { ChartObjectInfo } from '../Charts/ChartObjectInfo.js';
|
|
2
|
+
import { EventObjectInfo } from '../Events/EventObjectInfo.js';
|
|
3
3
|
export class Utilities {
|
|
4
4
|
static createChangeObjectStatusDetails(data) {
|
|
5
5
|
const objectDetails = {};
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "seatsio",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "88.1.0",
|
|
4
4
|
"main": "dist/src/index.js",
|
|
5
5
|
"types": "dist/src/index.d.ts",
|
|
6
|
+
"type": "module",
|
|
6
7
|
"files": [
|
|
7
8
|
"/dist/src"
|
|
8
9
|
],
|
|
@@ -10,7 +11,7 @@
|
|
|
10
11
|
"license": "MIT",
|
|
11
12
|
"scripts": {
|
|
12
13
|
"lint": "eslint './src/**/*.ts' './tests/**/*.ts'",
|
|
13
|
-
"test": "
|
|
14
|
+
"test": "vitest run",
|
|
14
15
|
"build": "ctix build --mode bundle && tsc --outDir dist --declaration"
|
|
15
16
|
},
|
|
16
17
|
"repository": {
|
|
@@ -21,23 +22,21 @@
|
|
|
21
22
|
"axios": "1.16.1"
|
|
22
23
|
},
|
|
23
24
|
"devDependencies": {
|
|
24
|
-
"@jest/globals": "30.4.1",
|
|
25
|
-
"@types/jest": "30.0.0",
|
|
26
25
|
"@types/node": "25.9.1",
|
|
27
26
|
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
28
27
|
"@typescript-eslint/parser": "5.62.0",
|
|
29
28
|
"ctix": "2.8.1",
|
|
30
29
|
"eslint": "8.57.1",
|
|
31
30
|
"eslint-config-standard": "17.1.0",
|
|
31
|
+
"eslint-import-resolver-typescript": "4.4.5",
|
|
32
32
|
"eslint-plugin-import": "2.32.0",
|
|
33
33
|
"eslint-plugin-n": "16.6.2",
|
|
34
34
|
"eslint-plugin-promise": "6.6.0",
|
|
35
|
-
"
|
|
36
|
-
"jest-cli": "30.4.2",
|
|
35
|
+
"jsdom": "29.1.1",
|
|
37
36
|
"prettier": "3.8.3",
|
|
38
37
|
"semver": "7.8.1",
|
|
39
|
-
"ts-jest": "29.4.11",
|
|
40
38
|
"typescript": "6.0.3",
|
|
39
|
+
"vitest": "3.2.6",
|
|
41
40
|
"zx": "8.8.5"
|
|
42
41
|
}
|
|
43
42
|
}
|