@ibiliaze/global-vars 1.141.0 → 1.143.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.
@@ -71,7 +71,7 @@ export declare const campaignRoleDefs: <TId, TDate>() => readonly [{
71
71
  readonly response_200: {
72
72
  stages: (CampaignJobStage & {
73
73
  stageId: string;
74
- }[]) | null;
74
+ })[] | null;
75
75
  };
76
76
  readonly response_400: {
77
77
  message: string;
@@ -1,4 +1,5 @@
1
1
  import type { CampaignBase, GroupBase, JobBase } from '../inputsDefault';
2
+ import type { JobAttributes } from 'agenda';
2
3
  export declare const jobRoleDefs: <TId, TDate>() => readonly [{
3
4
  readonly method: "post";
4
5
  readonly path: "/job";
@@ -31,7 +32,7 @@ export declare const jobRoleDefs: <TId, TDate>() => readonly [{
31
32
  readonly role: "postJobStartById";
32
33
  readonly name: "Run job by ID";
33
34
  readonly response_201: {
34
- job: JobBase<TId, TDate>;
35
+ job: JobAttributes;
35
36
  message: string;
36
37
  };
37
38
  readonly response_404: {
@@ -445,7 +445,7 @@ export declare const apis: <TId, TDate>() => readonly [{
445
445
  readonly response_200: {
446
446
  stages: (import("./inputsDefault").CampaignJobStage & {
447
447
  stageId: string;
448
- }[]) | null;
448
+ })[] | null;
449
449
  };
450
450
  readonly response_400: {
451
451
  message: string;
@@ -1053,7 +1053,7 @@ export declare const apis: <TId, TDate>() => readonly [{
1053
1053
  readonly role: "postJobStartById";
1054
1054
  readonly name: "Run job by ID";
1055
1055
  readonly response_201: {
1056
- job: import("./inputsDefault").JobBase<TId_11, TDate_11>;
1056
+ job: import("agenda").JobAttributes;
1057
1057
  message: string;
1058
1058
  };
1059
1059
  readonly response_404: {
@@ -3284,7 +3284,7 @@ declare const allApis: readonly [{
3284
3284
  readonly response_200: {
3285
3285
  stages: (import("./inputsDefault").CampaignJobStage & {
3286
3286
  stageId: string;
3287
- }[]) | null;
3287
+ })[] | null;
3288
3288
  };
3289
3289
  readonly response_400: {
3290
3290
  message: string;
@@ -3892,7 +3892,7 @@ declare const allApis: readonly [{
3892
3892
  readonly role: "postJobStartById";
3893
3893
  readonly name: "Run job by ID";
3894
3894
  readonly response_201: {
3895
- job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
3895
+ job: import("agenda").JobAttributes;
3896
3896
  message: string;
3897
3897
  };
3898
3898
  readonly response_404: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.141.0",
3
+ "version": "1.143.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": false,
@@ -22,12 +22,15 @@
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.141.0 -m 'v1.141.0'; git push origin v1.141.0; git push",
25
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.143.0 -m 'v1.143.0'; git push origin v1.143.0; git push",
26
26
  "push": "npm run build; npm run git; npm run pub"
27
27
  },
28
28
  "author": "Ibi Hasanli",
29
29
  "license": "ISC",
30
30
  "devDependencies": {
31
31
  "typescript": "^5.0.0"
32
+ },
33
+ "dependencies": {
34
+ "@types/agenda": "^3.0.2"
32
35
  }
33
36
  }