@ibiliaze/global-vars 1.182.0 → 1.183.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.
@@ -21,6 +21,9 @@ export declare const eventRoleDefs: <TId, TDate>() => readonly [{
21
21
  event: EventBase<TId, TDate>;
22
22
  message: string;
23
23
  };
24
+ readonly response_404: {
25
+ message: string;
26
+ };
24
27
  readonly response_500: {
25
28
  message: string;
26
29
  error: string;
@@ -17,6 +17,7 @@ const eventRoleDefs = () => {
17
17
  role: 'postEventOccupanciesById',
18
18
  name: 'Create event seats',
19
19
  response_201: {},
20
+ response_404: {},
20
21
  response_500: {},
21
22
  },
22
23
  {
@@ -12,6 +12,22 @@ export declare const sectionRoleDefs: <TId, TDate>() => readonly [{
12
12
  message: string;
13
13
  error: string;
14
14
  };
15
+ }, {
16
+ readonly method: "post";
17
+ readonly path: "/section/seats/:id";
18
+ readonly role: "postSectionSeatsById";
19
+ readonly name: "Create section seats";
20
+ readonly response_201: {
21
+ section: SectionBase<TId, TDate>;
22
+ message: string;
23
+ };
24
+ readonly response_404: {
25
+ message: string;
26
+ };
27
+ readonly response_500: {
28
+ message: string;
29
+ error: string;
30
+ };
15
31
  }, {
16
32
  readonly method: "get";
17
33
  readonly path: "/section";
@@ -11,6 +11,15 @@ const sectionRoleDefs = () => {
11
11
  response_201: {},
12
12
  response_500: {},
13
13
  },
14
+ {
15
+ method: 'post',
16
+ path: '/section/seats/:id',
17
+ role: 'postSectionSeatsById',
18
+ name: 'Create section seats',
19
+ response_201: {},
20
+ response_404: {},
21
+ response_500: {},
22
+ },
14
23
  {
15
24
  method: 'get',
16
25
  path: '/section',
@@ -773,6 +773,9 @@ export declare const apis: <TId, TDate>() => readonly [{
773
773
  event: import("./inputsDefault").EventBase<TId_9, TDate_9>;
774
774
  message: string;
775
775
  };
776
+ readonly response_404: {
777
+ message: string;
778
+ };
776
779
  readonly response_500: {
777
780
  message: string;
778
781
  error: string;
@@ -1969,6 +1972,22 @@ export declare const apis: <TId, TDate>() => readonly [{
1969
1972
  message: string;
1970
1973
  error: string;
1971
1974
  };
1975
+ }, {
1976
+ readonly method: "post";
1977
+ readonly path: "/section/seats/:id";
1978
+ readonly role: "postSectionSeatsById";
1979
+ readonly name: "Create section seats";
1980
+ readonly response_201: {
1981
+ section: import("./inputsDefault").SectionBase<TId_22, TDate_22>;
1982
+ message: string;
1983
+ };
1984
+ readonly response_404: {
1985
+ message: string;
1986
+ };
1987
+ readonly response_500: {
1988
+ message: string;
1989
+ error: string;
1990
+ };
1972
1991
  }, {
1973
1992
  readonly method: "get";
1974
1993
  readonly path: "/section";
@@ -3246,6 +3265,9 @@ declare const allApis: readonly [{
3246
3265
  event: import("./inputsDefault").EventBase<TId_8, TDate_8>;
3247
3266
  message: string;
3248
3267
  };
3268
+ readonly response_404: {
3269
+ message: string;
3270
+ };
3249
3271
  readonly response_500: {
3250
3272
  message: string;
3251
3273
  error: string;
@@ -4442,6 +4464,22 @@ declare const allApis: readonly [{
4442
4464
  message: string;
4443
4465
  error: string;
4444
4466
  };
4467
+ }, {
4468
+ readonly method: "post";
4469
+ readonly path: "/section/seats/:id";
4470
+ readonly role: "postSectionSeatsById";
4471
+ readonly name: "Create section seats";
4472
+ readonly response_201: {
4473
+ section: import("./inputsDefault").SectionBase<TId_21, TDate_21>;
4474
+ message: string;
4475
+ };
4476
+ readonly response_404: {
4477
+ message: string;
4478
+ };
4479
+ readonly response_500: {
4480
+ message: string;
4481
+ error: string;
4482
+ };
4445
4483
  }, {
4446
4484
  readonly method: "get";
4447
4485
  readonly path: "/section";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.182.0",
3
+ "version": "1.183.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.182.0 -m 'v1.182.0'; git push origin v1.182.0; git push",
25
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.183.0 -m 'v1.183.0'; git push origin v1.183.0; git push",
26
26
  "push": "npm run build; npm run git; npm run pub"
27
27
  },
28
28
  "author": "Ibi Hasanli",