@or-sdk/hitl 0.27.1-beta.574.0 → 0.27.1-beta.575.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.
- package/dist/cjs/api/Commands.js.map +1 -1
- package/dist/esm/api/Commands.js.map +1 -1
- package/dist/types/api/Commands.d.ts +2 -2
- package/dist/types/api/Commands.d.ts.map +1 -1
- package/dist/types/types/commands.d.ts +1 -1
- package/dist/types/types/commands.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/api/Commands.ts +2 -2
- package/src/types/commands.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Commands.js","sourceRoot":"","sources":["../../../src/api/Commands.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAuB;AAIvB,uCAAsC;AAEtC;IAA8B,4BAAQ;IAAtC;;IAwBA,CAAC;IArBqB,8BAAqB,GAAzC,UACE,
|
|
1
|
+
{"version":3,"file":"Commands.js","sourceRoot":"","sources":["../../../src/api/Commands.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAuB;AAIvB,uCAAsC;AAEtC;IAA8B,4BAAQ;IAAtC;;IAwBA,CAAC;IArBqB,8BAAqB,GAAzC,UACE,OAA4B;;;;gBAEtB,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;gBACjC,MAAM,GAAG,gBAAC,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC,CAAC;gBACnD,IAAI,GAAG,gBAAC,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;gBAEvC,WAAO,IAAI,CAAC,OAAO,CAAC;wBAClB,MAAM,EAAE,MAAM;wBACd,KAAK,OAAA;wBACL,MAAM,QAAA;wBACN,IAAI,MAAA;qBACL,CAAC,EAAC;;;KACJ;IAEgB,mBAAU,GAA3B,UAA4B,OAA0B;QACpD,OAAO,mBAAQ,CAAC,UAAU,uBACrB,OAAO,KACV,MAAM,EAAE,IAAI,CAAC,UAAU,IACvB,CAAC;IACL,CAAC;IAtBgB,mBAAU,GAAG,UAAU,CAAC;IAuB3C,eAAC;CAAA,AAxBD,CAA8B,mBAAQ,GAwBrC;AAxBY,4BAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Commands.js","sourceRoot":"","sources":["../../../src/api/Commands.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AAIvB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,OAAO,QAAS,SAAQ,QAAQ;IAG7B,MAAM,CAAO,qBAAqB,CACvC,
|
|
1
|
+
{"version":3,"file":"Commands.js","sourceRoot":"","sources":["../../../src/api/Commands.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AAIvB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,OAAO,QAAS,SAAQ,QAAQ;IAG7B,MAAM,CAAO,qBAAqB,CACvC,OAA4B;;YAE5B,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;YACvC,MAAM,MAAM,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC,CAAC;YACzD,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;YAEvC,OAAO,IAAI,CAAC,OAAO,CAAC;gBAClB,MAAM,EAAE,MAAM;gBACd,KAAK;gBACL,MAAM;gBACN,IAAI;aACL,CAAC,CAAC;QACL,CAAC;KAAA;IAES,MAAM,CAAC,UAAU,CAAC,OAA0B;QACpD,OAAO,QAAQ,CAAC,UAAU,iCACrB,OAAO,KACV,MAAM,EAAE,IAAI,CAAC,UAAU,IACvB,CAAC;IACL,CAAC;;AAtBgB,mBAAU,GAAG,UAAU,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ApiVersionOptions } from '../types';
|
|
2
|
-
import {
|
|
2
|
+
import { ApplyCommandOptions } from '../types/commands';
|
|
3
3
|
import { HITLBase } from './HITLBase';
|
|
4
4
|
export declare class Commands extends HITLBase {
|
|
5
5
|
protected static MODULE_URL: string;
|
|
6
|
-
static applyCommandToSession(options:
|
|
6
|
+
static applyCommandToSession(options: ApplyCommandOptions): Promise<void>;
|
|
7
7
|
protected static getBaseUrl(options: ApiVersionOptions): string;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=Commands.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Commands.d.ts","sourceRoot":"","sources":["../../../src/api/Commands.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Commands.d.ts","sourceRoot":"","sources":["../../../src/api/Commands.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,QAAS,SAAQ,QAAQ;IACpC,SAAS,CAAC,MAAM,CAAC,UAAU,SAAc;WAErB,qBAAqB,CACvC,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,IAAI,CAAC;IAahB,SAAS,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO,EAAE,iBAAiB,GAAG,MAAM;CAMhE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Commands } from '@onereach/types-hitl-api';
|
|
2
2
|
import { ApiVersionOptions } from './common';
|
|
3
|
-
export declare type
|
|
3
|
+
export declare type ApplyCommandOptions = ApiVersionOptions & Commands.IApplyCommandQuery & Commands.IApplyCommandBody;
|
|
4
4
|
//# sourceMappingURL=commands.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../src/types/commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG7C,oBAAY,
|
|
1
|
+
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../src/types/commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG7C,oBAAY,mBAAmB,GAAG,iBAAiB,GAC/C,QAAQ,CAAC,kBAAkB,GAC3B,QAAQ,CAAC,iBAAiB,CAAC"}
|
package/package.json
CHANGED
package/src/api/Commands.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import _ from 'lodash';
|
|
2
2
|
|
|
3
3
|
import { ApiVersionOptions } from '../types';
|
|
4
|
-
import {
|
|
4
|
+
import { ApplyCommandOptions } from '../types/commands';
|
|
5
5
|
import { HITLBase } from './HITLBase';
|
|
6
6
|
|
|
7
7
|
export class Commands extends HITLBase {
|
|
8
8
|
protected static MODULE_URL = 'commands';
|
|
9
9
|
|
|
10
10
|
public static async applyCommandToSession(
|
|
11
|
-
options:
|
|
11
|
+
options: ApplyCommandOptions
|
|
12
12
|
): Promise<void> {
|
|
13
13
|
const route = this.getBaseUrl(options);
|
|
14
14
|
const params = _.pick(options, ['command', 'sessionId']);
|
package/src/types/commands.ts
CHANGED
|
@@ -2,6 +2,6 @@ import { Commands } from '@onereach/types-hitl-api';
|
|
|
2
2
|
import { ApiVersionOptions } from './common';
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/indent */
|
|
5
|
-
export type
|
|
5
|
+
export type ApplyCommandOptions = ApiVersionOptions
|
|
6
6
|
& Commands.IApplyCommandQuery
|
|
7
7
|
& Commands.IApplyCommandBody;
|