@wandelbots/nova-api 26.6.0-dev.44 → 26.6.0-dev.45
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/v2/index.cjs +71 -12
- package/dist/v2/index.js +38 -1
- package/package.json +1 -6
- package/dist/defineProperty-6Ts4XR6h.js +0 -39
- package/dist/defineProperty-D0JvJyYC.cjs +0 -72
- package/dist/v1/index.cjs +0 -10324
- package/dist/v1/index.d.cts +0 -11386
- package/dist/v1/index.d.ts +0 -11386
- package/dist/v1/index.js +0 -10135
package/dist/v2/index.cjs
CHANGED
|
@@ -1,7 +1,66 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
2
|
+
//#region \0rolldown/runtime.js
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
+
key = keys[i];
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
|
+
get: ((k) => from[k]).bind(null, key),
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
20
|
+
value: mod,
|
|
21
|
+
enumerable: true
|
|
22
|
+
}) : target, mod));
|
|
23
|
+
//#endregion
|
|
3
24
|
let axios = require("axios");
|
|
4
|
-
axios =
|
|
25
|
+
axios = __toESM(axios, 1);
|
|
26
|
+
//#region \0@oxc-project+runtime@0.126.0/helpers/typeof.js
|
|
27
|
+
function _typeof(o) {
|
|
28
|
+
"@babel/helpers - typeof";
|
|
29
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
30
|
+
return typeof o;
|
|
31
|
+
} : function(o) {
|
|
32
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
33
|
+
}, _typeof(o);
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region \0@oxc-project+runtime@0.126.0/helpers/toPrimitive.js
|
|
37
|
+
function toPrimitive(t, r) {
|
|
38
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
39
|
+
var e = t[Symbol.toPrimitive];
|
|
40
|
+
if (void 0 !== e) {
|
|
41
|
+
var i = e.call(t, r || "default");
|
|
42
|
+
if ("object" != _typeof(i)) return i;
|
|
43
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
44
|
+
}
|
|
45
|
+
return ("string" === r ? String : Number)(t);
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region \0@oxc-project+runtime@0.126.0/helpers/toPropertyKey.js
|
|
49
|
+
function toPropertyKey(t) {
|
|
50
|
+
var i = toPrimitive(t, "string");
|
|
51
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
52
|
+
}
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region \0@oxc-project+runtime@0.126.0/helpers/defineProperty.js
|
|
55
|
+
function _defineProperty(e, r, t) {
|
|
56
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
57
|
+
value: t,
|
|
58
|
+
enumerable: !0,
|
|
59
|
+
configurable: !0,
|
|
60
|
+
writable: !0
|
|
61
|
+
}) : e[r] = t, e;
|
|
62
|
+
}
|
|
63
|
+
//#endregion
|
|
5
64
|
//#region v2/base.ts
|
|
6
65
|
const BASE_PATH = "/api/v2".replace(/\/+$/, "");
|
|
7
66
|
const COLLECTION_FORMATS = {
|
|
@@ -14,7 +73,7 @@ var BaseAPI = class {
|
|
|
14
73
|
constructor(configuration, basePath = BASE_PATH, axios$196 = axios.default) {
|
|
15
74
|
this.basePath = basePath;
|
|
16
75
|
this.axios = axios$196;
|
|
17
|
-
|
|
76
|
+
_defineProperty(this, "configuration", void 0);
|
|
18
77
|
if (configuration) {
|
|
19
78
|
this.configuration = configuration;
|
|
20
79
|
this.basePath = configuration.basePath ?? basePath;
|
|
@@ -9312,7 +9371,7 @@ var VirtualControllerInputsOutputsApi = class extends BaseAPI {
|
|
|
9312
9371
|
//#region v2/configuration.ts
|
|
9313
9372
|
var Configuration = class {
|
|
9314
9373
|
constructor(param = {}) {
|
|
9315
|
-
|
|
9374
|
+
_defineProperty(
|
|
9316
9375
|
this,
|
|
9317
9376
|
/**
|
|
9318
9377
|
* parameter for apiKey security
|
|
@@ -9321,7 +9380,7 @@ var Configuration = class {
|
|
|
9321
9380
|
"apiKey",
|
|
9322
9381
|
void 0
|
|
9323
9382
|
);
|
|
9324
|
-
|
|
9383
|
+
_defineProperty(
|
|
9325
9384
|
this,
|
|
9326
9385
|
/**
|
|
9327
9386
|
* parameter for basic security
|
|
@@ -9329,7 +9388,7 @@ var Configuration = class {
|
|
|
9329
9388
|
"username",
|
|
9330
9389
|
void 0
|
|
9331
9390
|
);
|
|
9332
|
-
|
|
9391
|
+
_defineProperty(
|
|
9333
9392
|
this,
|
|
9334
9393
|
/**
|
|
9335
9394
|
* parameter for basic security
|
|
@@ -9337,7 +9396,7 @@ var Configuration = class {
|
|
|
9337
9396
|
"password",
|
|
9338
9397
|
void 0
|
|
9339
9398
|
);
|
|
9340
|
-
|
|
9399
|
+
_defineProperty(
|
|
9341
9400
|
this,
|
|
9342
9401
|
/**
|
|
9343
9402
|
* parameter for oauth2 security
|
|
@@ -9347,7 +9406,7 @@ var Configuration = class {
|
|
|
9347
9406
|
"accessToken",
|
|
9348
9407
|
void 0
|
|
9349
9408
|
);
|
|
9350
|
-
|
|
9409
|
+
_defineProperty(
|
|
9351
9410
|
this,
|
|
9352
9411
|
/**
|
|
9353
9412
|
* parameter for aws4 signature security
|
|
@@ -9362,7 +9421,7 @@ var Configuration = class {
|
|
|
9362
9421
|
"awsv4",
|
|
9363
9422
|
void 0
|
|
9364
9423
|
);
|
|
9365
|
-
|
|
9424
|
+
_defineProperty(
|
|
9366
9425
|
this,
|
|
9367
9426
|
/**
|
|
9368
9427
|
* override base path
|
|
@@ -9370,7 +9429,7 @@ var Configuration = class {
|
|
|
9370
9429
|
"basePath",
|
|
9371
9430
|
void 0
|
|
9372
9431
|
);
|
|
9373
|
-
|
|
9432
|
+
_defineProperty(
|
|
9374
9433
|
this,
|
|
9375
9434
|
/**
|
|
9376
9435
|
* override server index
|
|
@@ -9378,7 +9437,7 @@ var Configuration = class {
|
|
|
9378
9437
|
"serverIndex",
|
|
9379
9438
|
void 0
|
|
9380
9439
|
);
|
|
9381
|
-
|
|
9440
|
+
_defineProperty(
|
|
9382
9441
|
this,
|
|
9383
9442
|
/**
|
|
9384
9443
|
* base options for axios calls
|
|
@@ -9386,7 +9445,7 @@ var Configuration = class {
|
|
|
9386
9445
|
"baseOptions",
|
|
9387
9446
|
void 0
|
|
9388
9447
|
);
|
|
9389
|
-
|
|
9448
|
+
_defineProperty(
|
|
9390
9449
|
this,
|
|
9391
9450
|
/**
|
|
9392
9451
|
* The FormData constructor that will be used to create multipart form data
|
package/dist/v2/index.js
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
|
-
import { t as _defineProperty } from "../defineProperty-6Ts4XR6h.js";
|
|
2
1
|
import globalAxios from "axios";
|
|
2
|
+
//#region \0@oxc-project+runtime@0.126.0/helpers/typeof.js
|
|
3
|
+
function _typeof(o) {
|
|
4
|
+
"@babel/helpers - typeof";
|
|
5
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
6
|
+
return typeof o;
|
|
7
|
+
} : function(o) {
|
|
8
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
9
|
+
}, _typeof(o);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region \0@oxc-project+runtime@0.126.0/helpers/toPrimitive.js
|
|
13
|
+
function toPrimitive(t, r) {
|
|
14
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
15
|
+
var e = t[Symbol.toPrimitive];
|
|
16
|
+
if (void 0 !== e) {
|
|
17
|
+
var i = e.call(t, r || "default");
|
|
18
|
+
if ("object" != _typeof(i)) return i;
|
|
19
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
20
|
+
}
|
|
21
|
+
return ("string" === r ? String : Number)(t);
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region \0@oxc-project+runtime@0.126.0/helpers/toPropertyKey.js
|
|
25
|
+
function toPropertyKey(t) {
|
|
26
|
+
var i = toPrimitive(t, "string");
|
|
27
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region \0@oxc-project+runtime@0.126.0/helpers/defineProperty.js
|
|
31
|
+
function _defineProperty(e, r, t) {
|
|
32
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
33
|
+
value: t,
|
|
34
|
+
enumerable: !0,
|
|
35
|
+
configurable: !0,
|
|
36
|
+
writable: !0
|
|
37
|
+
}) : e[r] = t, e;
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
3
40
|
//#region v2/base.ts
|
|
4
41
|
const BASE_PATH = "/api/v2".replace(/\/+$/, "");
|
|
5
42
|
const COLLECTION_FORMATS = {
|
package/package.json
CHANGED
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wandelbots/nova-api",
|
|
3
|
-
"version": "26.6.0-dev.
|
|
3
|
+
"version": "26.6.0-dev.45",
|
|
4
4
|
"description": "API Client to interact with Wandelbots Public API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
9
9
|
"exports": {
|
|
10
|
-
"./v1": {
|
|
11
|
-
"types": "./dist/v1/index.d.ts",
|
|
12
|
-
"import": "./dist/v1/index.js",
|
|
13
|
-
"require": "./dist/v1/index.cjs"
|
|
14
|
-
},
|
|
15
10
|
"./v2": {
|
|
16
11
|
"types": "./dist/v2/index.d.ts",
|
|
17
12
|
"import": "./dist/v2/index.js",
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.126.0/helpers/typeof.js
|
|
2
|
-
function _typeof(o) {
|
|
3
|
-
"@babel/helpers - typeof";
|
|
4
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
5
|
-
return typeof o;
|
|
6
|
-
} : function(o) {
|
|
7
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8
|
-
}, _typeof(o);
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region \0@oxc-project+runtime@0.126.0/helpers/toPrimitive.js
|
|
12
|
-
function toPrimitive(t, r) {
|
|
13
|
-
if ("object" != _typeof(t) || !t) return t;
|
|
14
|
-
var e = t[Symbol.toPrimitive];
|
|
15
|
-
if (void 0 !== e) {
|
|
16
|
-
var i = e.call(t, r || "default");
|
|
17
|
-
if ("object" != _typeof(i)) return i;
|
|
18
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
19
|
-
}
|
|
20
|
-
return ("string" === r ? String : Number)(t);
|
|
21
|
-
}
|
|
22
|
-
//#endregion
|
|
23
|
-
//#region \0@oxc-project+runtime@0.126.0/helpers/toPropertyKey.js
|
|
24
|
-
function toPropertyKey(t) {
|
|
25
|
-
var i = toPrimitive(t, "string");
|
|
26
|
-
return "symbol" == _typeof(i) ? i : i + "";
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
|
-
//#region \0@oxc-project+runtime@0.126.0/helpers/defineProperty.js
|
|
30
|
-
function _defineProperty(e, r, t) {
|
|
31
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
32
|
-
value: t,
|
|
33
|
-
enumerable: !0,
|
|
34
|
-
configurable: !0,
|
|
35
|
-
writable: !0
|
|
36
|
-
}) : e[r] = t, e;
|
|
37
|
-
}
|
|
38
|
-
//#endregion
|
|
39
|
-
export { _defineProperty as t };
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
10
|
-
key = keys[i];
|
|
11
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
12
|
-
get: ((k) => from[k]).bind(null, key),
|
|
13
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
19
|
-
value: mod,
|
|
20
|
-
enumerable: true
|
|
21
|
-
}) : target, mod));
|
|
22
|
-
//#endregion
|
|
23
|
-
//#region \0@oxc-project+runtime@0.126.0/helpers/typeof.js
|
|
24
|
-
function _typeof(o) {
|
|
25
|
-
"@babel/helpers - typeof";
|
|
26
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
27
|
-
return typeof o;
|
|
28
|
-
} : function(o) {
|
|
29
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
30
|
-
}, _typeof(o);
|
|
31
|
-
}
|
|
32
|
-
//#endregion
|
|
33
|
-
//#region \0@oxc-project+runtime@0.126.0/helpers/toPrimitive.js
|
|
34
|
-
function toPrimitive(t, r) {
|
|
35
|
-
if ("object" != _typeof(t) || !t) return t;
|
|
36
|
-
var e = t[Symbol.toPrimitive];
|
|
37
|
-
if (void 0 !== e) {
|
|
38
|
-
var i = e.call(t, r || "default");
|
|
39
|
-
if ("object" != _typeof(i)) return i;
|
|
40
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
41
|
-
}
|
|
42
|
-
return ("string" === r ? String : Number)(t);
|
|
43
|
-
}
|
|
44
|
-
//#endregion
|
|
45
|
-
//#region \0@oxc-project+runtime@0.126.0/helpers/toPropertyKey.js
|
|
46
|
-
function toPropertyKey(t) {
|
|
47
|
-
var i = toPrimitive(t, "string");
|
|
48
|
-
return "symbol" == _typeof(i) ? i : i + "";
|
|
49
|
-
}
|
|
50
|
-
//#endregion
|
|
51
|
-
//#region \0@oxc-project+runtime@0.126.0/helpers/defineProperty.js
|
|
52
|
-
function _defineProperty(e, r, t) {
|
|
53
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
54
|
-
value: t,
|
|
55
|
-
enumerable: !0,
|
|
56
|
-
configurable: !0,
|
|
57
|
-
writable: !0
|
|
58
|
-
}) : e[r] = t, e;
|
|
59
|
-
}
|
|
60
|
-
//#endregion
|
|
61
|
-
Object.defineProperty(exports, "__toESM", {
|
|
62
|
-
enumerable: true,
|
|
63
|
-
get: function() {
|
|
64
|
-
return __toESM;
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
Object.defineProperty(exports, "_defineProperty", {
|
|
68
|
-
enumerable: true,
|
|
69
|
-
get: function() {
|
|
70
|
-
return _defineProperty;
|
|
71
|
-
}
|
|
72
|
-
});
|