seatsio 90.8.0 → 90.10.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.
|
@@ -34,6 +34,7 @@ export declare class Events {
|
|
|
34
34
|
update(eventKey: string, params: UpdateEventParams): Promise<import("axios").AxiosResponse<any, Dict<any>, {}, any>>;
|
|
35
35
|
delete(eventKey: string): Promise<import("axios").AxiosResponse<any, any, {}, any>>;
|
|
36
36
|
moveEventToChartCopy(eventKey: string): Promise<Event>;
|
|
37
|
+
moveEventsToChartCopy(eventKeys: string[]): Promise<Event[]>;
|
|
37
38
|
listAll(requestParameters?: {}): import("../AsyncIterator.js").AsyncIterator<Event, EventJson>;
|
|
38
39
|
listFirstPage(pageSize?: number | null): Promise<Page<Event>>;
|
|
39
40
|
listPageAfter(afterId: number, pageSize?: number | null): Promise<Page<Event>>;
|
|
@@ -128,6 +128,13 @@ export class Events {
|
|
|
128
128
|
return this.client.post(`events/${encodeURIComponent(eventKey)}/actions/move-to-new-chart-copy`)
|
|
129
129
|
.then(res => new EventDeserializer().fromJson(res.data));
|
|
130
130
|
}
|
|
131
|
+
moveEventsToChartCopy(eventKeys) {
|
|
132
|
+
return this.client.post('/events/actions/move-to-new-chart-copy', { events: eventKeys })
|
|
133
|
+
.then(res => {
|
|
134
|
+
const deserializer = new EventDeserializer();
|
|
135
|
+
return res.data.events.map((event) => deserializer.fromJson(event));
|
|
136
|
+
});
|
|
137
|
+
}
|
|
131
138
|
listAll(requestParameters = {}) {
|
|
132
139
|
return this.iterator().all(requestParameters);
|
|
133
140
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "seatsio",
|
|
3
|
-
"version": "90.
|
|
3
|
+
"version": "90.10.0",
|
|
4
4
|
"main": "dist/src/index.js",
|
|
5
5
|
"types": "dist/src/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"url": "https://github.com/seatsio/seatsio-js"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"axios": "1.
|
|
22
|
+
"axios": "1.21.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@types/node": "26.6.
|
|
25
|
+
"@types/node": "26.6.6",
|
|
26
26
|
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
27
27
|
"@typescript-eslint/parser": "5.62.0",
|
|
28
28
|
"@vitest/browser": "4.1.11",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"eslint-plugin-import": "2.32.0",
|
|
35
35
|
"eslint-plugin-n": "16.6.2",
|
|
36
36
|
"eslint-plugin-promise": "6.6.0",
|
|
37
|
-
"playwright": "1.
|
|
38
|
-
"prettier": "3.9.
|
|
37
|
+
"playwright": "1.64.1",
|
|
38
|
+
"prettier": "3.9.10",
|
|
39
39
|
"semver": "7.8.5",
|
|
40
40
|
"typescript": "6.0.3",
|
|
41
41
|
"vitest": "4.1.11",
|