@ourskyai/astro-api 1.3.2078 → 1.3.2151

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/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Astro
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.2078
7
+ * The version of the OpenAPI document: 1.3.2151
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -549,6 +549,74 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
549
549
  options: localVarRequestOptions,
550
550
  };
551
551
  }),
552
+ /**
553
+ * Delete an image set.
554
+ * @param {string} id
555
+ * @param {*} [options] Override http request option.
556
+ * @throws {RequiredError}
557
+ */
558
+ v1DeleteImageSet: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
559
+ // verify required parameter 'id' is not null or undefined
560
+ assertParamExists('v1DeleteImageSet', 'id', id);
561
+ const localVarPath = `/v1/image-set`;
562
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
563
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
564
+ let baseOptions;
565
+ if (configuration) {
566
+ baseOptions = configuration.baseOptions;
567
+ }
568
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
569
+ const localVarHeaderParameter = {};
570
+ const localVarQueryParameter = {};
571
+ // authentication Roles required
572
+ // authentication BearerToken required
573
+ // http bearer authentication required
574
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
575
+ if (id !== undefined) {
576
+ localVarQueryParameter['id'] = id;
577
+ }
578
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
579
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
580
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
581
+ return {
582
+ url: toPathString(localVarUrlObj),
583
+ options: localVarRequestOptions,
584
+ };
585
+ }),
586
+ /**
587
+ * Delete an image.
588
+ * @param {string} imageId
589
+ * @param {*} [options] Override http request option.
590
+ * @throws {RequiredError}
591
+ */
592
+ v1DeleteImageSetImage: (imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
593
+ // verify required parameter 'imageId' is not null or undefined
594
+ assertParamExists('v1DeleteImageSetImage', 'imageId', imageId);
595
+ const localVarPath = `/v1/image-set-image`;
596
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
597
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
598
+ let baseOptions;
599
+ if (configuration) {
600
+ baseOptions = configuration.baseOptions;
601
+ }
602
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
603
+ const localVarHeaderParameter = {};
604
+ const localVarQueryParameter = {};
605
+ // authentication Roles required
606
+ // authentication BearerToken required
607
+ // http bearer authentication required
608
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
609
+ if (imageId !== undefined) {
610
+ localVarQueryParameter['imageId'] = imageId;
611
+ }
612
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
613
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
614
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
615
+ return {
616
+ url: toPathString(localVarUrlObj),
617
+ options: localVarRequestOptions,
618
+ };
619
+ }),
552
620
  /**
553
621
  * Get an astro camera.
554
622
  * @param {string} id
@@ -1085,34 +1153,6 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1085
1153
  options: localVarRequestOptions,
1086
1154
  };
1087
1155
  }),
1088
- /**
1089
- * Get mounts.
1090
- * @param {*} [options] Override http request option.
1091
- * @throws {RequiredError}
1092
- */
1093
- v1GetMounts: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1094
- const localVarPath = `/v1/mounts`;
1095
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1096
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1097
- let baseOptions;
1098
- if (configuration) {
1099
- baseOptions = configuration.baseOptions;
1100
- }
1101
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1102
- const localVarHeaderParameter = {};
1103
- const localVarQueryParameter = {};
1104
- // authentication Roles required
1105
- // authentication BearerToken required
1106
- // http bearer authentication required
1107
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1108
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1109
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1110
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1111
- return {
1112
- url: toPathString(localVarUrlObj),
1113
- options: localVarRequestOptions,
1114
- };
1115
- }),
1116
1156
  /**
1117
1157
  * Get nodes.
1118
1158
  * @param {*} [options] Override http request option.
@@ -1588,6 +1628,30 @@ export const DefaultApiFp = function (configuration) {
1588
1628
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1589
1629
  });
1590
1630
  },
1631
+ /**
1632
+ * Delete an image set.
1633
+ * @param {string} id
1634
+ * @param {*} [options] Override http request option.
1635
+ * @throws {RequiredError}
1636
+ */
1637
+ v1DeleteImageSet(id, options) {
1638
+ return __awaiter(this, void 0, void 0, function* () {
1639
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteImageSet(id, options);
1640
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1641
+ });
1642
+ },
1643
+ /**
1644
+ * Delete an image.
1645
+ * @param {string} imageId
1646
+ * @param {*} [options] Override http request option.
1647
+ * @throws {RequiredError}
1648
+ */
1649
+ v1DeleteImageSetImage(imageId, options) {
1650
+ return __awaiter(this, void 0, void 0, function* () {
1651
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteImageSetImage(imageId, options);
1652
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1653
+ });
1654
+ },
1591
1655
  /**
1592
1656
  * Get an astro camera.
1593
1657
  * @param {string} id
@@ -1781,17 +1845,6 @@ export const DefaultApiFp = function (configuration) {
1781
1845
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1782
1846
  });
1783
1847
  },
1784
- /**
1785
- * Get mounts.
1786
- * @param {*} [options] Override http request option.
1787
- * @throws {RequiredError}
1788
- */
1789
- v1GetMounts(options) {
1790
- return __awaiter(this, void 0, void 0, function* () {
1791
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetMounts(options);
1792
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1793
- });
1794
- },
1795
1848
  /**
1796
1849
  * Get nodes.
1797
1850
  * @param {*} [options] Override http request option.
@@ -2013,6 +2066,24 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2013
2066
  v1CreateNode(requestParameters, options) {
2014
2067
  return localVarFp.v1CreateNode(requestParameters.v1CreateNodeRequest, options).then((request) => request(axios, basePath));
2015
2068
  },
2069
+ /**
2070
+ * Delete an image set.
2071
+ * @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
2072
+ * @param {*} [options] Override http request option.
2073
+ * @throws {RequiredError}
2074
+ */
2075
+ v1DeleteImageSet(requestParameters, options) {
2076
+ return localVarFp.v1DeleteImageSet(requestParameters.id, options).then((request) => request(axios, basePath));
2077
+ },
2078
+ /**
2079
+ * Delete an image.
2080
+ * @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
2081
+ * @param {*} [options] Override http request option.
2082
+ * @throws {RequiredError}
2083
+ */
2084
+ v1DeleteImageSetImage(requestParameters, options) {
2085
+ return localVarFp.v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
2086
+ },
2016
2087
  /**
2017
2088
  * Get an astro camera.
2018
2089
  * @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
@@ -2153,14 +2224,6 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2153
2224
  v1GetJobLogs(requestParameters, options) {
2154
2225
  return localVarFp.v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(axios, basePath));
2155
2226
  },
2156
- /**
2157
- * Get mounts.
2158
- * @param {*} [options] Override http request option.
2159
- * @throws {RequiredError}
2160
- */
2161
- v1GetMounts(options) {
2162
- return localVarFp.v1GetMounts(options).then((request) => request(axios, basePath));
2163
- },
2164
2227
  /**
2165
2228
  * Get nodes.
2166
2229
  * @param {*} [options] Override http request option.
@@ -2358,6 +2421,26 @@ export class DefaultApi extends BaseAPI {
2358
2421
  v1CreateNode(requestParameters, options) {
2359
2422
  return DefaultApiFp(this.configuration).v1CreateNode(requestParameters.v1CreateNodeRequest, options).then((request) => request(this.axios, this.basePath));
2360
2423
  }
2424
+ /**
2425
+ * Delete an image set.
2426
+ * @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
2427
+ * @param {*} [options] Override http request option.
2428
+ * @throws {RequiredError}
2429
+ * @memberof DefaultApi
2430
+ */
2431
+ v1DeleteImageSet(requestParameters, options) {
2432
+ return DefaultApiFp(this.configuration).v1DeleteImageSet(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
2433
+ }
2434
+ /**
2435
+ * Delete an image.
2436
+ * @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
2437
+ * @param {*} [options] Override http request option.
2438
+ * @throws {RequiredError}
2439
+ * @memberof DefaultApi
2440
+ */
2441
+ v1DeleteImageSetImage(requestParameters, options) {
2442
+ return DefaultApiFp(this.configuration).v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
2443
+ }
2361
2444
  /**
2362
2445
  * Get an astro camera.
2363
2446
  * @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
@@ -2514,15 +2597,6 @@ export class DefaultApi extends BaseAPI {
2514
2597
  v1GetJobLogs(requestParameters, options) {
2515
2598
  return DefaultApiFp(this.configuration).v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
2516
2599
  }
2517
- /**
2518
- * Get mounts.
2519
- * @param {*} [options] Override http request option.
2520
- * @throws {RequiredError}
2521
- * @memberof DefaultApi
2522
- */
2523
- v1GetMounts(options) {
2524
- return DefaultApiFp(this.configuration).v1GetMounts(options).then((request) => request(this.axios, this.basePath));
2525
- }
2526
2600
  /**
2527
2601
  * Get nodes.
2528
2602
  * @param {*} [options] Override http request option.
@@ -2,7 +2,7 @@
2
2
  * OurSky Astro
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.2078
5
+ * The version of the OpenAPI document: 1.3.2151
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Astro
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.2078
7
+ * The version of the OpenAPI document: 1.3.2151
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * OurSky Astro
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.2078
5
+ * The version of the OpenAPI document: 1.3.2151
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * OurSky Astro
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.2078
7
+ * The version of the OpenAPI document: 1.3.2151
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * OurSky Astro
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.2078
5
+ * The version of the OpenAPI document: 1.3.2151
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * OurSky Astro
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.2078
7
+ * The version of the OpenAPI document: 1.3.2151
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * OurSky Astro
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.2078
5
+ * The version of the OpenAPI document: 1.3.2151
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Astro
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.2078
7
+ * The version of the OpenAPI document: 1.3.2151
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OurSky Astro
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.2078
5
+ * The version of the OpenAPI document: 1.3.2151
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * OurSky Astro
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.3.2078
8
+ * The version of the OpenAPI document: 1.3.2151
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Astro
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.2078
7
+ * The version of the OpenAPI document: 1.3.2151
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ourskyai/astro-api",
3
- "version": "1.3.2078",
3
+ "version": "1.3.2151",
4
4
  "description": "OpenAPI client for @ourskyai/astro-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {