@closerplatform/spinner-openapi 0.11.350

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.
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Spinner API
3
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4
+ *
5
+ * OpenAPI spec version: 0.0.1
6
+ *
7
+ *
8
+ * NOTE: This file is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the file manually.
11
+ */
12
+ export interface ConfigurationParameters {
13
+ apiKey?: string | ((name: string) => string);
14
+ username?: string;
15
+ password?: string;
16
+ accessToken?: string | ((name: string, scopes?: string[]) => string);
17
+ basePath?: string;
18
+ }
19
+ export declare class Configuration {
20
+ /**
21
+ * parameter for apiKey security
22
+ * @param name security name
23
+ * @memberof Configuration
24
+ */
25
+ apiKey?: string | ((name: string) => string);
26
+ /**
27
+ * parameter for basic security
28
+ *
29
+ * @type {string}
30
+ * @memberof Configuration
31
+ */
32
+ username?: string;
33
+ /**
34
+ * parameter for basic security
35
+ *
36
+ * @type {string}
37
+ * @memberof Configuration
38
+ */
39
+ password?: string;
40
+ /**
41
+ * parameter for oauth2 security
42
+ * @param name security name
43
+ * @param scopes oauth2 scope
44
+ * @memberof Configuration
45
+ */
46
+ accessToken?: string | ((name: string, scopes?: string[]) => string);
47
+ /**
48
+ * override base path
49
+ *
50
+ * @type {string}
51
+ * @memberof Configuration
52
+ */
53
+ basePath?: string;
54
+ constructor(param?: ConfigurationParameters);
55
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ // tslint:disable
3
+ /**
4
+ * Spinner API
5
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
+ *
7
+ * OpenAPI spec version: 0.0.1
8
+ *
9
+ *
10
+ * NOTE: This file is auto generated by the swagger code generator program.
11
+ * https://github.com/swagger-api/swagger-codegen.git
12
+ * Do not edit the file manually.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.Configuration = void 0;
16
+ class Configuration {
17
+ constructor(param = {}) {
18
+ this.apiKey = param.apiKey;
19
+ this.username = param.username;
20
+ this.password = param.password;
21
+ this.accessToken = param.accessToken;
22
+ this.basePath = param.basePath;
23
+ }
24
+ }
25
+ exports.Configuration = Configuration;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Spinner API
3
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4
+ *
5
+ * OpenAPI spec version: 0.0.1
6
+ *
7
+ *
8
+ * NOTE: This file is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the file manually.
11
+ */
12
+ export * from "./api";
13
+ export * from "./configuration";
package/dist/index.js ADDED
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ // tslint:disable
3
+ /**
4
+ * Spinner API
5
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
+ *
7
+ * OpenAPI spec version: 0.0.1
8
+ *
9
+ *
10
+ * NOTE: This file is auto generated by the swagger code generator program.
11
+ * https://github.com/swagger-api/swagger-codegen.git
12
+ * Do not edit the file manually.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
22
+ for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ __exportStar(require("./api"), exports);
26
+ __exportStar(require("./configuration"), exports);
package/package.json ADDED
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "@closerplatform/spinner-openapi",
3
+ "version": "0.11.350",
4
+ "description": "swagger client for @closerplatform/spinner-openapi",
5
+ "author": "Swagger Codegen Contributors",
6
+ "keywords": [
7
+ "fetch",
8
+ "typescript",
9
+ "swagger-client",
10
+ "@closerplatform/spinner-openapi"
11
+ ],
12
+ "license": "Unlicense",
13
+ "main": "./dist/index.js",
14
+ "typings": "./dist/index.d.ts",
15
+ "scripts": {
16
+ "build": "tsc --outDir dist/",
17
+ "test": "jest",
18
+ "prepublishOnly": "npm run build"
19
+ },
20
+ "private": false,
21
+ "files": [
22
+ "/dist"
23
+ ],
24
+ "publishConfig": {
25
+ "access": "public"
26
+ },
27
+ "dependencies": {
28
+ "isomorphic-fetch": "^3.0.0"
29
+ },
30
+ "devDependencies": {
31
+ "@types/jest": "^25.2.1",
32
+ "@types/node": "^13.13.0",
33
+ "jest": "^25.4.0",
34
+ "ts-jest": "^25.4.0",
35
+ "typescript": "^3.8.3"
36
+ },
37
+ "jest": {
38
+ "transform": {
39
+ "^.+\\.tsx?$": "ts-jest"
40
+ },
41
+ "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
42
+ "moduleFileExtensions": [
43
+ "ts",
44
+ "tsx",
45
+ "js",
46
+ "jsx",
47
+ "json",
48
+ "node"
49
+ ]
50
+ }
51
+ }