@ibiliaze/global-vars 1.160.0 → 1.162.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.
@@ -522,7 +522,7 @@ export interface OccupanceBase<Id, TDate> {
522
522
  }
523
523
  export type FlatOccupanceWithSeat<Id, TDate> = SeatBase<Id, TDate> & OccupanceBase<Id, TDate>;
524
524
  export type FlatOccupanceWithSeatAndPrice<Id, TDate> = FlatOccupanceWithSeat<Id, TDate> & {
525
- price: number;
525
+ price?: number;
526
526
  };
527
527
  export type OccupanceWithFixture<Id, TDate> = Omit<OccupanceBase<Id, TDate>, 'fixtureId'> & {
528
528
  fixtureId: FixtureBase<Id, TDate>;
@@ -141,6 +141,7 @@ export declare const occupanceRoleDefs: <TId, TDate>() => readonly [{
141
141
  readonly role: "postOccupanceFreeById";
142
142
  readonly name: "Free occupance by ID";
143
143
  readonly response_200: {
144
+ itemId: string;
144
145
  occupance: OccupanceBase<TId, TDate>;
145
146
  message: string;
146
147
  };
@@ -162,6 +163,7 @@ export declare const occupanceRoleDefs: <TId, TDate>() => readonly [{
162
163
  readonly role: "postSeasonalOccupanceFreeById";
163
164
  readonly name: "Free seasonal occupance by ID";
164
165
  readonly response_200: {
166
+ itemId: string;
165
167
  occupance: OccupanceBase<TId, TDate>;
166
168
  message: string;
167
169
  };
@@ -2012,6 +2012,7 @@ export declare const apis: <TId, TDate>() => readonly [{
2012
2012
  readonly role: "postOccupanceFreeById";
2013
2013
  readonly name: "Free occupance by ID";
2014
2014
  readonly response_200: {
2015
+ itemId: string;
2015
2016
  occupance: import("./inputsDefault").OccupanceBase<TId_22, TDate_22>;
2016
2017
  message: string;
2017
2018
  };
@@ -2033,6 +2034,7 @@ export declare const apis: <TId, TDate>() => readonly [{
2033
2034
  readonly role: "postSeasonalOccupanceFreeById";
2034
2035
  readonly name: "Free seasonal occupance by ID";
2035
2036
  readonly response_200: {
2037
+ itemId: string;
2036
2038
  occupance: import("./inputsDefault").OccupanceBase<TId_22, TDate_22>;
2037
2039
  message: string;
2038
2040
  };
@@ -4607,6 +4609,7 @@ declare const allApis: readonly [{
4607
4609
  readonly role: "postOccupanceFreeById";
4608
4610
  readonly name: "Free occupance by ID";
4609
4611
  readonly response_200: {
4612
+ itemId: string;
4610
4613
  occupance: import("./inputsDefault").OccupanceBase<TId_21, TDate_21>;
4611
4614
  message: string;
4612
4615
  };
@@ -4628,6 +4631,7 @@ declare const allApis: readonly [{
4628
4631
  readonly role: "postSeasonalOccupanceFreeById";
4629
4632
  readonly name: "Free seasonal occupance by ID";
4630
4633
  readonly response_200: {
4634
+ itemId: string;
4631
4635
  occupance: import("./inputsDefault").OccupanceBase<TId_21, TDate_21>;
4632
4636
  message: string;
4633
4637
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.160.0",
3
+ "version": "1.162.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.160.0 -m 'v1.160.0'; git push origin v1.160.0; git push",
25
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.162.0 -m 'v1.162.0'; git push origin v1.162.0; git push",
26
26
  "push": "npm run build; npm run git; npm run pub"
27
27
  },
28
28
  "author": "Ibi Hasanli",