@ibiliaze/global-vars 1.166.0 → 1.168.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.
|
@@ -505,6 +505,7 @@ export interface OccupanceBase<Id, TDate> {
|
|
|
505
505
|
seatId: Id;
|
|
506
506
|
sectionId: Id;
|
|
507
507
|
fixtureId: Id;
|
|
508
|
+
seasonId?: Id;
|
|
508
509
|
category?: {
|
|
509
510
|
categoryId: Id;
|
|
510
511
|
name: string;
|
|
@@ -516,7 +517,6 @@ export interface OccupanceBase<Id, TDate> {
|
|
|
516
517
|
reserved?: boolean;
|
|
517
518
|
reservedAt?: TDate;
|
|
518
519
|
reservationId?: string;
|
|
519
|
-
seasonal?: boolean;
|
|
520
520
|
createdAt?: TDate;
|
|
521
521
|
updatedAt?: TDate;
|
|
522
522
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SeatBase, OccupanceBase, FlatOccupanceWithSeat,
|
|
1
|
+
import type { SeatBase, OccupanceBase, FlatOccupanceWithSeat, ItemBase, FlatOccupance } from '../inputsDefault';
|
|
2
2
|
export declare const occupanceRoleDefs: <TId, TDate>() => readonly [{
|
|
3
3
|
readonly method: "get";
|
|
4
4
|
readonly path: "/seat";
|
|
@@ -60,7 +60,7 @@ export declare const occupanceRoleDefs: <TId, TDate>() => readonly [{
|
|
|
60
60
|
readonly role: "getOccupanceInfoByOrderId";
|
|
61
61
|
readonly name: "Get occupance info by order id";
|
|
62
62
|
readonly response_200: {
|
|
63
|
-
|
|
63
|
+
tickets: FlatOccupance<TId, TDate>[];
|
|
64
64
|
message: string;
|
|
65
65
|
};
|
|
66
66
|
readonly response_400: {
|
|
@@ -1931,7 +1931,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1931
1931
|
readonly role: "getOccupanceInfoByOrderId";
|
|
1932
1932
|
readonly name: "Get occupance info by order id";
|
|
1933
1933
|
readonly response_200: {
|
|
1934
|
-
|
|
1934
|
+
tickets: import("./inputsDefault").FlatOccupance<TId_22, TDate_22>[];
|
|
1935
1935
|
message: string;
|
|
1936
1936
|
};
|
|
1937
1937
|
readonly response_400: {
|
|
@@ -4525,7 +4525,7 @@ declare const allApis: readonly [{
|
|
|
4525
4525
|
readonly role: "getOccupanceInfoByOrderId";
|
|
4526
4526
|
readonly name: "Get occupance info by order id";
|
|
4527
4527
|
readonly response_200: {
|
|
4528
|
-
|
|
4528
|
+
tickets: import("./inputsDefault").FlatOccupance<TId_21, TDate_21>[];
|
|
4529
4529
|
message: string;
|
|
4530
4530
|
};
|
|
4531
4531
|
readonly response_400: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiliaze/global-vars",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.168.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build": "tsc",
|
|
24
24
|
"pub": "npm publish --access public",
|
|
25
|
-
"git": "git add .; git commit -m 'changes'; git tag -a v1.
|
|
25
|
+
"git": "git add .; git commit -m 'changes'; git tag -a v1.168.0 -m 'v1.168.0'; git push origin v1.168.0; git push",
|
|
26
26
|
"push": "npm run build; npm run git; npm run pub"
|
|
27
27
|
},
|
|
28
28
|
"author": "Ibi Hasanli",
|