@serve.zone/interfaces 1.0.80 → 1.1.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.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '1.0.80',
6
+ version: '1.1.0',
7
7
  description: 'interfaces for working with containers'
8
8
  };
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHdDQUF3QztDQUN0RCxDQUFBIn0=
9
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHdDQUF3QztDQUN0RCxDQUFBIn0=
@@ -4,16 +4,10 @@ export interface ICluster {
4
4
  id: string;
5
5
  data: {
6
6
  name: string;
7
- initialJumpToken: string;
8
7
  /**
9
8
  * a cluster has a machine user that governs access rights.
10
9
  */
11
10
  userId: string;
12
- /**
13
- * when was the jump code used
14
- * avoid replay attacks
15
- */
16
- initialJumpTokenUsedAt?: number;
17
11
  /**
18
12
  * how can the cluster reach cloudly
19
13
  */
@@ -1,5 +1,6 @@
1
1
  import * as aibridge from './aibridge.js';
2
2
  import * as letter from './letter.js';
3
3
  import * as mta from './mta.js';
4
+ import * as pushnotification from './pushnotification.js';
4
5
  import * as sms from './sms.js';
5
- export { aibridge, letter, mta, sms, };
6
+ export { aibridge, letter, mta, pushnotification, sms, };
@@ -1,6 +1,7 @@
1
1
  import * as aibridge from './aibridge.js';
2
2
  import * as letter from './letter.js';
3
3
  import * as mta from './mta.js';
4
+ import * as pushnotification from './pushnotification.js';
4
5
  import * as sms from './sms.js';
5
- export { aibridge, letter, mta, sms, };
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9wbGF0Zm9ybXNlcnZpY2UvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLFFBQVEsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxLQUFLLE1BQU0sTUFBTSxhQUFhLENBQUM7QUFDdEMsT0FBTyxLQUFLLEdBQUcsTUFBTSxVQUFVLENBQUM7QUFDaEMsT0FBTyxLQUFLLEdBQUcsTUFBTSxVQUFVLENBQUM7QUFFaEMsT0FBTyxFQUNMLFFBQVEsRUFDUixNQUFNLEVBQ04sR0FBRyxFQUNILEdBQUcsR0FDSixDQUFBIn0=
6
+ export { aibridge, letter, mta, pushnotification, sms, };
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9wbGF0Zm9ybXNlcnZpY2UvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLFFBQVEsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxLQUFLLE1BQU0sTUFBTSxhQUFhLENBQUM7QUFDdEMsT0FBTyxLQUFLLEdBQUcsTUFBTSxVQUFVLENBQUM7QUFDaEMsT0FBTyxLQUFLLGdCQUFnQixNQUFNLHVCQUF1QixDQUFDO0FBQzFELE9BQU8sS0FBSyxHQUFHLE1BQU0sVUFBVSxDQUFDO0FBRWhDLE9BQU8sRUFDTCxRQUFRLEVBQ1IsTUFBTSxFQUNOLEdBQUcsRUFDSCxnQkFBZ0IsRUFDaEIsR0FBRyxHQUNKLENBQUEifQ==
@@ -0,0 +1,15 @@
1
+ import * as plugins from '../plugins.js';
2
+ export interface IRequest_SendPushNotification extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_SendPushNotification> {
3
+ method: 'sendPushNotification';
4
+ request: {
5
+ data: {
6
+ deviceToken: string;
7
+ message: string;
8
+ };
9
+ };
10
+ response: {
11
+ data: {
12
+ success: boolean;
13
+ };
14
+ };
15
+ }
@@ -0,0 +1,2 @@
1
+ import * as plugins from '../plugins.js';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVzaG5vdGlmaWNhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL3BsYXRmb3Jtc2VydmljZS9wdXNobm90aWZpY2F0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZUFBZSxDQUFDIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "1.0.80",
3
+ "version": "1.1.0",
4
4
  "private": false,
5
5
  "description": "interfaces for working with containers",
6
6
  "main": "dist_ts/index.js",
@@ -8,16 +8,16 @@
8
8
  "author": "Lossless GmbH",
9
9
  "license": "MIT",
10
10
  "devDependencies": {
11
- "@git.zone/tsbuild": "^2.1.80",
11
+ "@git.zone/tsbuild": "^2.1.84",
12
12
  "@git.zone/tsbundle": "^2.0.8",
13
13
  "@git.zone/tstest": "^1.0.90",
14
- "@push.rocks/tapbundle": "^5.0.23",
15
- "@types/node": "^20.12.14"
14
+ "@push.rocks/tapbundle": "^5.3.0",
15
+ "@types/node": "^22.7.4"
16
16
  },
17
17
  "dependencies": {
18
18
  "@api.global/typedrequest-interfaces": "^3.0.19",
19
- "@push.rocks/smartlog-interfaces": "^3.0.0",
20
- "@tsclass/tsclass": "^4.0.54"
19
+ "@push.rocks/smartlog-interfaces": "^3.0.2",
20
+ "@tsclass/tsclass": "^4.1.2"
21
21
  },
22
22
  "browserslist": [
23
23
  "last 1 chrome versions"
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '1.0.80',
6
+ version: '1.1.0',
7
7
  description: 'interfaces for working with containers'
8
8
  }
@@ -7,18 +7,11 @@ export interface ICluster {
7
7
  id: string;
8
8
  data: {
9
9
  name: string;
10
- initialJumpToken: string;
11
10
 
12
11
  /**
13
12
  * a cluster has a machine user that governs access rights.
14
13
  */
15
14
  userId: string;
16
-
17
- /**
18
- * when was the jump code used
19
- * avoid replay attacks
20
- */
21
- initialJumpTokenUsedAt?: number;
22
15
 
23
16
  /**
24
17
  * how can the cluster reach cloudly
@@ -1,11 +1,13 @@
1
1
  import * as aibridge from './aibridge.js';
2
2
  import * as letter from './letter.js';
3
3
  import * as mta from './mta.js';
4
+ import * as pushnotification from './pushnotification.js';
4
5
  import * as sms from './sms.js';
5
6
 
6
7
  export {
7
8
  aibridge,
8
9
  letter,
9
10
  mta,
11
+ pushnotification,
10
12
  sms,
11
13
  }
@@ -0,0 +1,19 @@
1
+ import * as plugins from '../plugins.js';
2
+
3
+ export interface IRequest_SendPushNotification extends plugins.typedrequestInterfaces.implementsTR<
4
+ plugins.typedrequestInterfaces.ITypedRequest,
5
+ IRequest_SendPushNotification
6
+ > {
7
+ method: 'sendPushNotification';
8
+ request: {
9
+ data: {
10
+ deviceToken: string;
11
+ message: string;
12
+ };
13
+ }
14
+ response: {
15
+ data: {
16
+ success: boolean;
17
+ };
18
+ }
19
+ }