@ibiliaze/global-vars 1.165.0 → 1.167.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.
@@ -558,6 +558,7 @@ export type FlatOccupance<Id, TDate> = {
558
558
  seat: number;
559
559
  row: number;
560
560
  categoryName: string;
561
+ seasonId?: Id;
561
562
  reservedAt?: TDate;
562
563
  categoryId: Id;
563
564
  gate: string;
@@ -1,4 +1,4 @@
1
- import type { SeatBase, OccupanceBase, FlatOccupanceWithSeat, PopulatedOccupance, ItemBase } from '../inputsDefault';
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
- occupancies: PopulatedOccupance<TId, TDate>[];
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
- occupancies: import("./inputsDefault").PopulatedOccupance<TId_22, TDate_22>[];
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
- occupancies: import("./inputsDefault").PopulatedOccupance<TId_21, TDate_21>[];
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.165.0",
3
+ "version": "1.167.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.165.0 -m 'v1.165.0'; git push origin v1.165.0; git push",
25
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.167.0 -m 'v1.167.0'; git push origin v1.167.0; git push",
26
26
  "push": "npm run build; npm run git; npm run pub"
27
27
  },
28
28
  "author": "Ibi Hasanli",