@openscreen/internal-sdk 1.4.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/LICENSE +201 -0
- package/README.md +88 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -0
- package/dist/index.modern.js +2 -0
- package/dist/index.modern.js.map +1 -0
- package/dist/index.modern.mjs +2 -0
- package/dist/index.modern.mjs.map +1 -0
- package/package.json +69 -0
- package/typings/cloud-config.d.ts +13 -0
- package/typings/cloud-config.d.ts.map +1 -0
- package/typings/config.d.ts +7 -0
- package/typings/config.d.ts.map +1 -0
- package/typings/index.d.ts +3 -0
- package/typings/index.d.ts.map +1 -0
- package/typings/openscreen-session.d.ts +24 -0
- package/typings/openscreen-session.d.ts.map +1 -0
- package/typings/openscreen.d.ts +35 -0
- package/typings/openscreen.d.ts.map +1 -0
- package/typings/request-delete.d.ts +5 -0
- package/typings/request-delete.d.ts.map +1 -0
- package/typings/request-get.d.ts +5 -0
- package/typings/request-get.d.ts.map +1 -0
- package/typings/request-patch.d.ts +5 -0
- package/typings/request-patch.d.ts.map +1 -0
- package/typings/request-post.d.ts +5 -0
- package/typings/request-post.d.ts.map +1 -0
- package/typings/request.d.ts +16 -0
- package/typings/request.d.ts.map +1 -0
- package/typings/resource.d.ts +16 -0
- package/typings/resource.d.ts.map +1 -0
- package/typings/sdk.d.ts +6056 -0
- package/typings/sdk.d.ts.map +1 -0
- package/typings/user/index.d.ts +19 -0
- package/typings/user/index.d.ts.map +1 -0
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@openscreen/internal-sdk",
|
|
3
|
+
"version": "1.4.0",
|
|
4
|
+
"description": "Openscreen Software Development Kit (SDK)",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"qr",
|
|
7
|
+
"qrcode",
|
|
8
|
+
"qr-code",
|
|
9
|
+
"QR Code",
|
|
10
|
+
"QR Code Generator",
|
|
11
|
+
"barcode",
|
|
12
|
+
"node.js"
|
|
13
|
+
],
|
|
14
|
+
"homepage": "https://github.com/Openscreen-Inc/core-monorepo",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git://github.com/Openscreen-Inc/core-monorepo.git"
|
|
18
|
+
},
|
|
19
|
+
"license": "SEE LICENSE IN LICENSE.MD",
|
|
20
|
+
"author": {
|
|
21
|
+
"name": "Openscreen",
|
|
22
|
+
"url": "https://openscreen.com"
|
|
23
|
+
},
|
|
24
|
+
"exports": {
|
|
25
|
+
"require": "./dist/index.js",
|
|
26
|
+
"default": "./dist/index.modern.mjs"
|
|
27
|
+
},
|
|
28
|
+
"main": "./dist/index.js",
|
|
29
|
+
"module": "./dist/index.mjs",
|
|
30
|
+
"source": "./src/index.ts",
|
|
31
|
+
"types": "./typings/index.d.ts",
|
|
32
|
+
"files": [
|
|
33
|
+
"dist",
|
|
34
|
+
"typings"
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "./scripts/build.sh",
|
|
38
|
+
"build:watch": "tsc --watch",
|
|
39
|
+
"lint": "eslint src",
|
|
40
|
+
"test": "jest",
|
|
41
|
+
"test2": "jest --help",
|
|
42
|
+
"test:watch": "jest --watch"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"axios": "0.21.2",
|
|
46
|
+
"moment": "2.29.4"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@types/jest": "27.0.0",
|
|
50
|
+
"@types/node": "15.3.1",
|
|
51
|
+
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
52
|
+
"@typescript-eslint/parser": "5.62.0",
|
|
53
|
+
"dot-prop": "6.0.1",
|
|
54
|
+
"dotenv": "10.0.0",
|
|
55
|
+
"esbuild-jest": "0.5.0",
|
|
56
|
+
"eslint": "7.26.0",
|
|
57
|
+
"eslint-config-airbnb-typescript": "15.0.0",
|
|
58
|
+
"eslint-config-prettier": "8.3.0",
|
|
59
|
+
"eslint-plugin-import": "2.23.2",
|
|
60
|
+
"eslint-plugin-jest": "25.0.5",
|
|
61
|
+
"esm": "3.2.25",
|
|
62
|
+
"graceful-fs": "4.2.8",
|
|
63
|
+
"jest": "~29.7.0",
|
|
64
|
+
"lodash": "4.17.21",
|
|
65
|
+
"microbundle": "0.15.0",
|
|
66
|
+
"typescript": "~5.3.2",
|
|
67
|
+
"write-file-atomic": "3.0.3"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface IAxiosConfig {
|
|
2
|
+
timeout: number;
|
|
3
|
+
responseType: string;
|
|
4
|
+
maxContentLength: number;
|
|
5
|
+
maxBodyLength: number;
|
|
6
|
+
maxRedirects: number;
|
|
7
|
+
decompress: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface ICloudConfig {
|
|
10
|
+
endpoint: string;
|
|
11
|
+
axios: any;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=cloud-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloud-config.d.ts","sourceRoot":"","sources":["../src/cloud-config.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,gBAAgB,EAAE,MAAM,CAAA;IACxB,aAAa,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,GAAG,CAAA;CACX"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAA;AAE3C,MAAM,WAAW,OAAO;IACtB,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,YAAY,CAAA;CACpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAA;AACvC,cAAc,OAAO,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { AxiosInstance } from 'axios';
|
|
2
|
+
import { ICloudConfig } from './cloud-config';
|
|
3
|
+
import { IConfig } from './config';
|
|
4
|
+
import { OpenscreenUser, SignUpUser } from './user';
|
|
5
|
+
export interface IOpenscreenSession {
|
|
6
|
+
debugConfig: boolean;
|
|
7
|
+
debugAuth: boolean;
|
|
8
|
+
debugRequest: boolean;
|
|
9
|
+
debugResponse: boolean;
|
|
10
|
+
debugError: boolean;
|
|
11
|
+
debugQuery: boolean;
|
|
12
|
+
debugOptions: boolean;
|
|
13
|
+
exp: number;
|
|
14
|
+
getConfig(): IConfig;
|
|
15
|
+
getCloudConfig(): Promise<ICloudConfig>;
|
|
16
|
+
getAxios(): Promise<AxiosInstance>;
|
|
17
|
+
authorize(): Promise<void>;
|
|
18
|
+
getUser(): OpenscreenUser | undefined;
|
|
19
|
+
getSignedInUser(environment?: string): Promise<OpenscreenUser | undefined>;
|
|
20
|
+
signUpUser(signUpDetails: SignUpUser, environment?: string): Promise<boolean>;
|
|
21
|
+
changePassword(oldPassword: string, newPassword: string): Promise<boolean>;
|
|
22
|
+
signOut(): Promise<void>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=openscreen-session.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openscreen-session.d.ts","sourceRoot":"","sources":["../src/openscreen-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAA;AACnC,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAC,OAAO,EAAC,MAAM,UAAU,CAAA;AAChC,OAAO,EAAC,cAAc,EAAE,UAAU,EAAC,MAAM,QAAQ,CAAA;AAEjD,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,OAAO,CAAA;IACpB,SAAS,EAAE,OAAO,CAAA;IAClB,YAAY,EAAE,OAAO,CAAA;IACrB,aAAa,EAAE,OAAO,CAAA;IACtB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,YAAY,EAAE,OAAO,CAAA;IACrB,GAAG,EAAE,MAAM,CAAA;IAEX,SAAS,IAAI,OAAO,CAAA;IAEpB,cAAc,IAAI,OAAO,CAAC,YAAY,CAAC,CAAA;IAEvC,QAAQ,IAAI,OAAO,CAAC,aAAa,CAAC,CAAA;IAElC,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAE1B,OAAO,IAAI,cAAc,GAAG,SAAS,CAAA;IAErC,eAAe,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAA;IAE1E,UAAU,CAAC,aAAa,EAAE,UAAU,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAE7E,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAE1E,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;CACzB"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { AxiosInstance } from 'axios';
|
|
2
|
+
import { SdkResources } from './sdk';
|
|
3
|
+
import { ICloudConfig } from './cloud-config';
|
|
4
|
+
import { IConfig } from './config';
|
|
5
|
+
import { IOpenscreenSession } from './openscreen-session';
|
|
6
|
+
import { OpenscreenUser, SignUpUser } from './user';
|
|
7
|
+
export declare class Openscreen extends SdkResources implements IOpenscreenSession {
|
|
8
|
+
protected _config?: IConfig;
|
|
9
|
+
protected cloudConfigName?: string;
|
|
10
|
+
protected cloudConfig?: Promise<ICloudConfig>;
|
|
11
|
+
protected axios?: AxiosInstance;
|
|
12
|
+
debugConfig: boolean;
|
|
13
|
+
debugAuth: boolean;
|
|
14
|
+
debugRequest: boolean;
|
|
15
|
+
debugResponse: boolean;
|
|
16
|
+
debugError: boolean;
|
|
17
|
+
debugQuery: boolean;
|
|
18
|
+
debugOptions: boolean;
|
|
19
|
+
exp: number;
|
|
20
|
+
protected _user: OpenscreenUser;
|
|
21
|
+
constructor();
|
|
22
|
+
getSession(): this;
|
|
23
|
+
config(config: IConfig): Openscreen;
|
|
24
|
+
getConfig(): IConfig;
|
|
25
|
+
getSignedInUser(environment?: string): Promise<OpenscreenUser | undefined>;
|
|
26
|
+
signUpUser(signUpDetails: SignUpUser, environment?: string): Promise<boolean>;
|
|
27
|
+
checkSession(environment?: string): Promise<boolean>;
|
|
28
|
+
authorize(): Promise<void>;
|
|
29
|
+
getUser(): OpenscreenUser;
|
|
30
|
+
getCloudConfig(): Promise<ICloudConfig>;
|
|
31
|
+
getAxios(): Promise<AxiosInstance>;
|
|
32
|
+
changePassword(oldPassword: string, newPassword: string): Promise<boolean>;
|
|
33
|
+
signOut(): Promise<void>;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=openscreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openscreen.d.ts","sourceRoot":"","sources":["../src/openscreen.ts"],"names":[],"mappings":"AAAA,OAAc,EAAC,aAAa,EAAC,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAC,YAAY,EAAC,MAAM,OAAO,CAAA;AAClC,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAC,OAAO,EAAC,MAAM,UAAU,CAAA;AAChC,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAA;AACvD,OAAO,EAAC,cAAc,EAAE,UAAU,EAAC,MAAM,QAAQ,CAAA;AAmEjD,qBAAa,UAAW,SAAQ,YAAa,YAAW,kBAAkB;IACxE,SAAS,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;IAC3B,SAAS,CAAC,eAAe,CAAC,EAAE,MAAM,CAAA;IAClC,SAAS,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;IAC7C,SAAS,CAAC,KAAK,CAAC,EAAE,aAAa,CAAA;IACxB,WAAW,EAAE,OAAO,CAAQ;IAC5B,SAAS,EAAE,OAAO,CAAQ;IAC1B,YAAY,EAAE,OAAO,CAAQ;IAC7B,aAAa,EAAE,OAAO,CAAQ;IAC9B,UAAU,EAAE,OAAO,CAAQ;IAC3B,UAAU,EAAE,OAAO,CAAQ;IAC3B,YAAY,EAAE,OAAO,CAAQ;IAC7B,GAAG,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,KAAK,EAAE,cAAc,CAAA;;IA2D/B,UAAU;IAIV,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU;IAuBnC,SAAS,IAAI,OAAO;IAOd,eAAe,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC;IAqB1E,UAAU,CAAC,aAAa,EAAE,UAAU,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAkB7E,YAAY,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAcpD,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAuDhC,OAAO,IAAI,cAAc;IAInB,cAAc,IAAI,OAAO,CAAC,YAAY,CAAC;IAUvC,QAAQ,IAAI,OAAO,CAAC,aAAa,CAAC;IAelC,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAe1E,OAAO;CAQd"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Request } from './request';
|
|
2
|
+
export declare class RequestDelete<PathParameters, QueryParameters, ResponseBody> extends Request {
|
|
3
|
+
go(pathParameters: PathParameters, queryParameters: QueryParameters, options?: Object): Promise<ResponseBody>;
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=request-delete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-delete.d.ts","sourceRoot":"","sources":["../src/request-delete.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAA;AAEjC,qBAAa,aAAa,CAAC,cAAc,EAAE,eAAe,EAAE,YAAY,CAAE,SAAQ,OAAO;IACjF,EAAE,CAAC,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;CAapH"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Request } from './request';
|
|
2
|
+
export declare class RequestGet<PathParameters, QueryParameters, ResponseBody> extends Request {
|
|
3
|
+
go(pathParameters: PathParameters, queryParameters?: QueryParameters, options?: Object): Promise<ResponseBody>;
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=request-get.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-get.d.ts","sourceRoot":"","sources":["../src/request-get.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAA;AAEjC,qBAAa,UAAU,CAAC,cAAc,EAAE,eAAe,EAAE,YAAY,CAAE,SAAQ,OAAO;IAC9E,EAAE,CAAC,cAAc,EAAE,cAAc,EAAE,eAAe,CAAC,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;CAarH"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Request } from './request';
|
|
2
|
+
export declare class RequestPatch<PathParameters, QueryParameters, RequestBody, ResponseBody> extends Request {
|
|
3
|
+
go(pathParameters: PathParameters, queryParameters?: QueryParameters, body?: RequestBody, options?: Object): Promise<ResponseBody>;
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=request-patch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-patch.d.ts","sourceRoot":"","sources":["../src/request-patch.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAA;AAEjC,qBAAa,YAAY,CAAC,cAAc,EAAE,eAAe,EAAE,WAAW,EAAE,YAAY,CAAE,SAAQ,OAAO;IAC7F,EAAE,CACN,cAAc,EAAE,cAAc,EAC9B,eAAe,CAAC,EAAE,eAAe,EACjC,IAAI,CAAC,EAAE,WAAW,EAClB,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,YAAY,CAAC;CAazB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Request } from './request';
|
|
2
|
+
export declare class RequestPost<PathParameters, QueryParameters, RequestBody, ResponseBody> extends Request {
|
|
3
|
+
go(pathParameters: PathParameters, queryParameters?: QueryParameters, body?: RequestBody, options?: Object): Promise<ResponseBody>;
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=request-post.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-post.d.ts","sourceRoot":"","sources":["../src/request-post.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAA;AAEjC,qBAAa,WAAW,CAAC,cAAc,EAAE,eAAe,EAAE,WAAW,EAAE,YAAY,CAAE,SAAQ,OAAO;IAC5F,EAAE,CACN,cAAc,EAAE,cAAc,EAC9B,eAAe,CAAC,EAAE,eAAe,EACjC,IAAI,CAAC,EAAE,WAAW,EAClB,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,YAAY,CAAC;CAazB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IOpenscreenSession } from './openscreen-session';
|
|
2
|
+
export interface RequestRouteSegment {
|
|
3
|
+
parm?: string;
|
|
4
|
+
routePart: string;
|
|
5
|
+
sdkPartName: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class Request {
|
|
8
|
+
session: IOpenscreenSession;
|
|
9
|
+
routeSegments?: RequestRouteSegment[];
|
|
10
|
+
constructor(session: IOpenscreenSession);
|
|
11
|
+
makeUri(pathParameters?: any): Promise<string>;
|
|
12
|
+
debugRequest(method: string, url: string, queryParameters?: any, body?: any, options?: any): void;
|
|
13
|
+
debugResponse(response: any): void;
|
|
14
|
+
handleAndDebugErr(err: any): any;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../src/request.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAA;AAEvD,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,qBAAa,OAAO;IAClB,OAAO,EAAE,kBAAkB,CAAA;IAC3B,aAAa,CAAC,EAAE,mBAAmB,EAAE,CAAA;gBAEzB,OAAO,EAAE,kBAAkB;IAIjC,OAAO,CAAC,cAAc,GAAE,GAAQ;IAgBtC,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,GAAG;IAa1F,aAAa,CAAC,QAAQ,EAAE,GAAG;IAM3B,iBAAiB,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG;CAkBjC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IOpenscreenSession } from './openscreen-session';
|
|
2
|
+
export declare class Resources {
|
|
3
|
+
protected session: IOpenscreenSession;
|
|
4
|
+
protected pathParameters: any;
|
|
5
|
+
constructor(session: IOpenscreenSession, pathParameters: any);
|
|
6
|
+
self(): this;
|
|
7
|
+
getSession(): IOpenscreenSession;
|
|
8
|
+
}
|
|
9
|
+
export declare class Resource {
|
|
10
|
+
protected session: IOpenscreenSession;
|
|
11
|
+
protected pathParameters: any;
|
|
12
|
+
protected id?: string;
|
|
13
|
+
constructor(session: IOpenscreenSession, pathParameters: any);
|
|
14
|
+
getSession(): IOpenscreenSession;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=resource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../src/resource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAA;AAEvD,qBAAa,SAAS;IACpB,SAAS,CAAC,OAAO,EAAE,kBAAkB,CAAA;IACrC,SAAS,CAAC,cAAc,EAAE,GAAG,CAAA;gBAEjB,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,GAAG;IAK5D,IAAI;IAIJ,UAAU,IAAI,kBAAkB;CAGjC;AAED,qBAAa,QAAQ;IACnB,SAAS,CAAC,OAAO,EAAE,kBAAkB,CAAA;IACrC,SAAS,CAAC,cAAc,EAAE,GAAG,CAAA;IAC7B,SAAS,CAAC,EAAE,CAAC,EAAE,MAAM,CAAA;gBAET,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,GAAG;IAK5D,UAAU,IAAI,kBAAkB;CAGjC"}
|