@ibiliaze/global-vars 1.144.0 → 1.146.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.
@@ -521,6 +521,9 @@ export interface OccupanceBase<Id, TDate> {
521
521
  updatedAt?: TDate;
522
522
  }
523
523
  export type FlatOccupanceWithSeat<Id, TDate> = SeatBase<Id, TDate> & Partial<OccupanceBase<Id, TDate>>;
524
+ export type FlatOccupanceWithSeatAndPrice<Id, TDate> = FlatOccupanceWithSeat<Id, TDate> & {
525
+ price: number;
526
+ };
524
527
  export type OccupanceWithFixture<Id, TDate> = Omit<OccupanceBase<Id, TDate>, 'fixtureId'> & {
525
528
  fixtureId: FixtureBase<Id, TDate>;
526
529
  };
@@ -1,5 +1,5 @@
1
- import type { CampaignBase, GroupBase, JobBase } from '../inputsDefault';
2
- import type { JobAttributes, JobAttributesData } from 'agenda';
1
+ import type { AgendaJobData, CampaignBase, GroupBase, JobBase } from '../inputsDefault';
2
+ import type { JobAttributes } from 'agenda';
3
3
  export declare const jobRoleDefs: <TId, TDate>() => readonly [{
4
4
  readonly method: "post";
5
5
  readonly path: "/job";
@@ -32,7 +32,7 @@ export declare const jobRoleDefs: <TId, TDate>() => readonly [{
32
32
  readonly role: "postJobStartById";
33
33
  readonly name: "Run job by ID";
34
34
  readonly response_201: {
35
- job: JobAttributes<JobAttributesData>;
35
+ job: JobAttributes<AgendaJobData<TId, TDate>>;
36
36
  message: string;
37
37
  };
38
38
  readonly response_404: {
@@ -67,6 +67,9 @@ export declare const occupanceRoleDefs: <TId, TDate>() => readonly [{
67
67
  readonly response_400: {
68
68
  message: string;
69
69
  };
70
+ readonly response_404: {
71
+ message: string;
72
+ };
70
73
  readonly response_500: {
71
74
  message: string;
72
75
  error: string;
@@ -43,6 +43,7 @@ const occupanceRoleDefs = () => {
43
43
  name: 'Get occupance info by order id',
44
44
  response_200: {},
45
45
  response_400: {},
46
+ response_404: {},
46
47
  response_500: {},
47
48
  },
48
49
  {
@@ -1042,7 +1042,7 @@ export declare const apis: <TId, TDate>() => readonly [{
1042
1042
  readonly role: "postJobStartById";
1043
1043
  readonly name: "Run job by ID";
1044
1044
  readonly response_201: {
1045
- job: import("agenda").JobAttributes<import("agenda").JobAttributesData>;
1045
+ job: import("agenda").JobAttributes<import("./inputsDefault").AgendaJobData<TId_11, TDate_11>>;
1046
1046
  message: string;
1047
1047
  };
1048
1048
  readonly response_404: {
@@ -1924,6 +1924,9 @@ export declare const apis: <TId, TDate>() => readonly [{
1924
1924
  readonly response_400: {
1925
1925
  message: string;
1926
1926
  };
1927
+ readonly response_404: {
1928
+ message: string;
1929
+ };
1927
1930
  readonly response_500: {
1928
1931
  message: string;
1929
1932
  error: string;
@@ -3638,7 +3641,7 @@ declare const allApis: readonly [{
3638
3641
  readonly role: "postJobStartById";
3639
3642
  readonly name: "Run job by ID";
3640
3643
  readonly response_201: {
3641
- job: import("agenda").JobAttributes<import("agenda").JobAttributesData>;
3644
+ job: import("agenda").JobAttributes<import("./inputsDefault").AgendaJobData<TId_10, TDate_10>>;
3642
3645
  message: string;
3643
3646
  };
3644
3647
  readonly response_404: {
@@ -4520,6 +4523,9 @@ declare const allApis: readonly [{
4520
4523
  readonly response_400: {
4521
4524
  message: string;
4522
4525
  };
4526
+ readonly response_404: {
4527
+ message: string;
4528
+ };
4523
4529
  readonly response_500: {
4524
4530
  message: string;
4525
4531
  error: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.144.0",
3
+ "version": "1.146.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.144.0 -m 'v1.144.0'; git push origin v1.144.0; git push",
25
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.146.0 -m 'v1.146.0'; git push origin v1.146.0; git push",
26
26
  "push": "npm run build; npm run git; npm run pub"
27
27
  },
28
28
  "author": "Ibi Hasanli",