@rivascva/dt-idl 1.1.170 → 1.1.172

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.
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ import { ClientOptions } from 'openapi-fetch';
6
6
  * Do not make direct changes to the file.
7
7
  */
8
8
  interface paths$3 {
9
- "/market/metadata": {
9
+ "/markets/metadata": {
10
10
  parameters: {
11
11
  query?: never;
12
12
  header?: never;
@@ -359,6 +359,16 @@ interface components$3 {
359
359
  * @example 30
360
360
  */
361
361
  stockHistoryRefreshIntervalSeconds: number;
362
+ marketHours: components$3["schemas"]["MarketHours"];
363
+ };
364
+ /** @description The market operating hours */
365
+ MarketHours: {
366
+ /** @example America/New_York */
367
+ timezone: string;
368
+ /** @example 9:30 */
369
+ openTime: string;
370
+ /** @example 16:00 */
371
+ closeTime: string;
362
372
  };
363
373
  /** @description A generic error */
364
374
  Error: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivascva/dt-idl",
3
- "version": "1.1.170",
3
+ "version": "1.1.172",
4
4
  "description": "Dream Trade - Interface Definition Language",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -9,12 +9,12 @@ servers:
9
9
  - url: http://localhost:8082/v1
10
10
 
11
11
  paths:
12
- /market/metadata:
12
+ /markets/metadata:
13
13
  get:
14
14
  description: Gets metadata about the market
15
15
  operationId: getMarketMetadata
16
16
  tags:
17
- - Market
17
+ - Markets
18
18
  responses:
19
19
  200:
20
20
  description: Success
@@ -554,9 +554,29 @@ components:
554
554
  type: integer
555
555
  format: int64
556
556
  example: 30
557
+ marketHours:
558
+ $ref: '#/components/schemas/MarketHours'
557
559
  required:
558
560
  - stockQuoteRefreshIntervalSeconds
559
561
  - stockHistoryRefreshIntervalSeconds
562
+ - marketHours
563
+
564
+ MarketHours:
565
+ description: The market operating hours
566
+ properties:
567
+ timezone:
568
+ type: string
569
+ example: America/New_York
570
+ openTime:
571
+ type: string
572
+ example: 9:30
573
+ closeTime:
574
+ type: string
575
+ example: 16:00
576
+ required:
577
+ - timezone
578
+ - openTime
579
+ - closeTime
560
580
 
561
581
  Error:
562
582
  description: A generic error
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  export interface paths {
7
- "/market/metadata": {
7
+ "/markets/metadata": {
8
8
  parameters: {
9
9
  query?: never;
10
10
  header?: never;
@@ -358,6 +358,16 @@ export interface components {
358
358
  * @example 30
359
359
  */
360
360
  stockHistoryRefreshIntervalSeconds: number;
361
+ marketHours: components["schemas"]["MarketHours"];
362
+ };
363
+ /** @description The market operating hours */
364
+ MarketHours: {
365
+ /** @example America/New_York */
366
+ timezone: string;
367
+ /** @example 9:30 */
368
+ openTime: string;
369
+ /** @example 16:00 */
370
+ closeTime: string;
361
371
  };
362
372
  /** @description A generic error */
363
373
  Error: {