@types/ari-client 2.2.7 → 2.2.9

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.
ari-client/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for ari-client (https://github.com/asteri
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ari-client.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 25 Nov 2021 21:01:10 GMT
11
+ * Last updated: Fri, 01 Sep 2023 01:33:05 GMT
12
12
  * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
13
13
  * Global values: none
14
14
 
ari-client/index.d.ts CHANGED
@@ -355,9 +355,9 @@ export interface Event extends Message {
355
355
  application: string;
356
356
 
357
357
  /**
358
- * Time at which this event was created.
358
+ * ISO 8601 date/time at which this event was created.
359
359
  */
360
- timestamp: Date;
360
+ timestamp: string;
361
361
  }
362
362
  export interface ContactInfo {
363
363
  /**
@@ -1801,10 +1801,10 @@ export interface Resource {
1801
1801
  removeListener(event: AnyEventType, handler: (...args: any[]) => void): void;
1802
1802
 
1803
1803
  /**
1804
- * Removes all listeners, or those of the specified event type.
1804
+ * Removes all listeners of the specified event type.
1805
1805
  * @param [event] - The event type.
1806
1806
  */
1807
- removeAllListeners(event?: AnyEventType): void;
1807
+ removeAllListeners(event: AnyEventType): void;
1808
1808
  }
1809
1809
  export interface Applications {
1810
1810
  /**
@@ -2383,14 +2383,14 @@ export interface ConfigInfo {
2383
2383
  }
2384
2384
  export interface StatusInfo {
2385
2385
  /**
2386
- * Time when Asterisk was started.
2386
+ * ISO 8601 date/time when Asterisk was started.
2387
2387
  */
2388
- startup_time: Date;
2388
+ startup_time: string;
2389
2389
 
2390
2390
  /**
2391
- * Time when Asterisk was last reloaded.
2391
+ * ISO 8601 date/time when Asterisk was last reloaded.
2392
2392
  */
2393
- last_reload_time: Date;
2393
+ last_reload_time: string;
2394
2394
  }
2395
2395
  export interface AsteriskInfo {
2396
2396
  /**
@@ -2885,9 +2885,9 @@ export interface Bridge extends Resource {
2885
2885
  video_source_id?: string | undefined;
2886
2886
 
2887
2887
  /**
2888
- * Timestamp when bridge was created.
2888
+ * ISO 8601 date/time when the bridge was created.
2889
2889
  */
2890
- creationtime: Date;
2890
+ creationtime: string;
2891
2891
 
2892
2892
  /**
2893
2893
  * List all active bridges in Asterisk.
@@ -4286,9 +4286,9 @@ export interface Channel extends Resource {
4286
4286
  dialplan: DialplanCEP;
4287
4287
 
4288
4288
  /**
4289
- * Timestamp when channel was created.
4289
+ * ISO 8601 date/time when the channel was created.
4290
4290
  */
4291
- creationtime: Date;
4291
+ creationtime: string;
4292
4292
 
4293
4293
  /**
4294
4294
  * The default spoken language.
ari-client/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/ari-client",
3
- "version": "2.2.7",
3
+ "version": "2.2.9",
4
4
  "description": "TypeScript definitions for ari-client",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ari-client",
6
6
  "license": "MIT",
@@ -22,6 +22,6 @@
22
22
  "dependencies": {
23
23
  "@types/node": "*"
24
24
  },
25
- "typesPublisherContentHash": "9d0c715a527071ed025639308513700a800d8f800663e73aa9f7785246cfb574",
26
- "typeScriptVersion": "3.8"
25
+ "typesPublisherContentHash": "a7ec812ad768ecb5ee09d6af5ea0cca59f3e67270a1461d54fbdba082afee642",
26
+ "typeScriptVersion": "4.3"
27
27
  }