seatsio 78.1.0 → 79.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/Events/Event.js
CHANGED
|
@@ -24,6 +24,7 @@ var Event = /** @class */ (function () {
|
|
|
24
24
|
this.categories = json.categories ? json.categories.map(function (c) { return Category_1.Category.fromJson(c); }) : null;
|
|
25
25
|
this.name = json.name || null;
|
|
26
26
|
this.date = json.date ? LocalDate_1.LocalDate.parse(json.date) : null;
|
|
27
|
+
this.isInThePast = json.isInThePast;
|
|
27
28
|
}
|
|
28
29
|
Event.prototype.isSeason = function () {
|
|
29
30
|
return false;
|
|
@@ -149,6 +149,9 @@ var Events = /** @class */ (function () {
|
|
|
149
149
|
if (params.date !== undefined) {
|
|
150
150
|
requestParameters.date = params.date.toString();
|
|
151
151
|
}
|
|
152
|
+
if (params.isInThePast !== undefined) {
|
|
153
|
+
requestParameters.isInThePast = params.isInThePast;
|
|
154
|
+
}
|
|
152
155
|
return this.client.post("events/".concat(encodeURIComponent(eventKey)), requestParameters);
|
|
153
156
|
};
|
|
154
157
|
Events.prototype.delete = function (eventKey) {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { AbstractEventParams } from './AbstractEventParams';
|
|
2
2
|
export declare class UpdateEventParams extends AbstractEventParams {
|
|
3
3
|
chartKey?: string;
|
|
4
|
+
isInThePast?: boolean;
|
|
4
5
|
withChartKey(chartKey: string): this;
|
|
6
|
+
withIsInThePast(isInThePast: boolean): this;
|
|
5
7
|
}
|
|
@@ -26,6 +26,10 @@ var UpdateEventParams = /** @class */ (function (_super) {
|
|
|
26
26
|
this.chartKey = chartKey;
|
|
27
27
|
return this;
|
|
28
28
|
};
|
|
29
|
+
UpdateEventParams.prototype.withIsInThePast = function (isInThePast) {
|
|
30
|
+
this.isInThePast = isInThePast;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
29
33
|
return UpdateEventParams;
|
|
30
34
|
}(AbstractEventParams_1.AbstractEventParams));
|
|
31
35
|
exports.UpdateEventParams = UpdateEventParams;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "seatsio",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "79.1.0",
|
|
4
4
|
"main": "dist/src/index.js",
|
|
5
5
|
"types": "dist/src/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -18,25 +18,25 @@
|
|
|
18
18
|
"url": "https://github.com/seatsio/seatsio-js"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "1.5.
|
|
21
|
+
"axios": "1.5.1"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@jest/globals": "29.
|
|
25
|
-
"@types/jest": "29.5.
|
|
26
|
-
"@types/node": "20.
|
|
27
|
-
"@types/uuid": "9.0.
|
|
24
|
+
"@jest/globals": "29.7.0",
|
|
25
|
+
"@types/jest": "29.5.5",
|
|
26
|
+
"@types/node": "20.8.2",
|
|
27
|
+
"@types/uuid": "9.0.4",
|
|
28
28
|
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
29
29
|
"@typescript-eslint/parser": "5.62.0",
|
|
30
|
-
"eslint": "8.
|
|
30
|
+
"eslint": "8.50.0",
|
|
31
31
|
"eslint-config-standard": "17.1.0",
|
|
32
32
|
"eslint-plugin-import": "2.28.1",
|
|
33
|
-
"eslint-plugin-n": "16.0
|
|
33
|
+
"eslint-plugin-n": "16.1.0",
|
|
34
34
|
"eslint-plugin-promise": "6.1.1",
|
|
35
|
-
"jest": "29.
|
|
36
|
-
"jest-cli": "29.
|
|
35
|
+
"jest": "29.7.0",
|
|
36
|
+
"jest-cli": "29.7.0",
|
|
37
37
|
"ts-jest": "29.1.1",
|
|
38
38
|
"typescript": "5.2.2",
|
|
39
39
|
"ctix": "1.8.2",
|
|
40
|
-
"uuid": "9.0.
|
|
40
|
+
"uuid": "9.0.1"
|
|
41
41
|
}
|
|
42
42
|
}
|