@ourskyai/astro-api 1.3.8815 → 1.4.123

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.
Files changed (105) hide show
  1. package/.openapi-generator/FILES +76 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +155 -4
  4. package/api.ts +869 -3218
  5. package/base.ts +14 -24
  6. package/common.ts +20 -44
  7. package/configuration.ts +37 -17
  8. package/dist/api.d.ts +449 -2852
  9. package/dist/api.js +640 -619
  10. package/dist/base.d.ts +11 -23
  11. package/dist/base.js +5 -18
  12. package/dist/common.d.ts +6 -37
  13. package/dist/common.js +18 -40
  14. package/dist/configuration.d.ts +30 -15
  15. package/dist/configuration.js +5 -3
  16. package/dist/esm/api.d.ts +449 -2852
  17. package/dist/esm/api.js +640 -619
  18. package/dist/esm/base.d.ts +11 -23
  19. package/dist/esm/base.js +4 -17
  20. package/dist/esm/common.d.ts +6 -37
  21. package/dist/esm/common.js +16 -39
  22. package/dist/esm/configuration.d.ts +30 -15
  23. package/dist/esm/configuration.js +5 -3
  24. package/dist/esm/index.d.ts +1 -1
  25. package/dist/esm/index.js +1 -1
  26. package/dist/index.d.ts +1 -1
  27. package/dist/index.js +1 -1
  28. package/docs/AssetFileType.md +18 -0
  29. package/docs/AssetType.md +16 -0
  30. package/docs/CalibrationMasterType.md +12 -0
  31. package/docs/DailyWeatherCity.md +22 -0
  32. package/docs/DailyWeatherForecastItem.md +40 -0
  33. package/docs/DailyWeatherForecastItemTemp.md +26 -0
  34. package/docs/DailyWeatherForecastItemWeatherInner.md +26 -0
  35. package/docs/DailyWeatherForecastListResponse.md +22 -0
  36. package/docs/DefaultApi.md +2560 -0
  37. package/docs/EmptySuccess.md +20 -0
  38. package/docs/FilterType.md +60 -0
  39. package/docs/FitsHeader.md +22 -0
  40. package/docs/ImageSetType.md +24 -0
  41. package/docs/IntegrationTime.md +27 -0
  42. package/docs/Location.md +25 -0
  43. package/docs/MountGeometry.md +10 -0
  44. package/docs/MountType.md +10 -0
  45. package/docs/NodeState.md +20 -0
  46. package/docs/OpticalTubeType.md +16 -0
  47. package/docs/ShutterType.md +10 -0
  48. package/docs/SuccessfulCreate.md +20 -0
  49. package/docs/TrackingType.md +12 -0
  50. package/docs/V1AstroProject.md +43 -0
  51. package/docs/V1AstroProjectAsset.md +41 -0
  52. package/docs/V1AstroProjectAssetMetadata.md +22 -0
  53. package/docs/V1AstroProjectAssetMetadataColorCombination.md +24 -0
  54. package/docs/V1AstroProjectJobLog.md +31 -0
  55. package/docs/V1AstroTarget.md +33 -0
  56. package/docs/V1CalibrationMaster.md +43 -0
  57. package/docs/V1Camera.md +47 -0
  58. package/docs/V1CreateAstroProjectImageSetRequest.md +24 -0
  59. package/docs/V1CreateAstroProjectRequest.md +30 -0
  60. package/docs/V1CreateAstroProjectResponse.md +23 -0
  61. package/docs/V1CreateCalibrationMasterRequest.md +42 -0
  62. package/docs/V1CreateCalibrationMasterResponse.md +22 -0
  63. package/docs/V1CreateCalibrationSetImageRequest.md +22 -0
  64. package/docs/V1CreateCalibrationSetImageResponse.md +22 -0
  65. package/docs/V1CreateCalibrationSetRequest.md +40 -0
  66. package/docs/V1CreateCalibrationSetResponse.md +20 -0
  67. package/docs/V1CreateImageSetImageRequest.md +32 -0
  68. package/docs/V1CreateImageSetImageResponse.md +23 -0
  69. package/docs/V1CreateImageSetRequest.md +28 -0
  70. package/docs/V1CreateNodeRequest.md +37 -0
  71. package/docs/V1CreateOpticalTrainInstanceRequest.md +28 -0
  72. package/docs/V1ElevationMaskPoint.md +25 -0
  73. package/docs/V1Focuser.md +27 -0
  74. package/docs/V1GainCurve.md +25 -0
  75. package/docs/V1GainCurvePoint.md +22 -0
  76. package/docs/V1GetAstroPlatformCreditBalanceResponse.md +21 -0
  77. package/docs/V1GetNodes.md +20 -0
  78. package/docs/V1GetOrCreateCameraRequest.md +60 -0
  79. package/docs/V1GetOrCreateFocuserRequest.md +24 -0
  80. package/docs/V1GetOrCreateMountRequest.md +24 -0
  81. package/docs/V1GetOrCreateOpticalTubeRequest.md +26 -0
  82. package/docs/V1ImageFileType.md +10 -0
  83. package/docs/V1ImageRejectionReason.md +64 -0
  84. package/docs/V1ImageSet.md +43 -0
  85. package/docs/V1ImageSetImage.md +77 -0
  86. package/docs/V1JobStatus.md +16 -0
  87. package/docs/V1Mount.md +23 -0
  88. package/docs/V1Node.md +59 -0
  89. package/docs/V1NodeWithLocation.md +23 -0
  90. package/docs/V1OpticalTrainInstance.md +43 -0
  91. package/docs/V1OpticalTube.md +27 -0
  92. package/docs/V1PlatformCredit.md +37 -0
  93. package/docs/V1PlatformCreditSource.md +14 -0
  94. package/docs/V1PlatformCreditType.md +8 -0
  95. package/docs/V1PlatformCreditUnit.md +8 -0
  96. package/docs/V1PredictedStreakLocation.md +26 -0
  97. package/docs/V1PutStackAstroProjectRequest.md +20 -0
  98. package/docs/V1PutStackAstroProjectResponse.md +23 -0
  99. package/docs/V1ReadNoisePoint.md +22 -0
  100. package/docs/V1SetupAction.md +23 -0
  101. package/docs/V1UpdateNodeRequest.md +51 -0
  102. package/docs/V1VideoModeFramerateProperty.md +28 -0
  103. package/docs/V2UpdateNodeRequest.md +43 -0
  104. package/index.ts +1 -1
  105. package/package.json +4 -4
@@ -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.8815
5
+ * The version of the OpenAPI document: 1.4.123
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,45 +10,33 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { Configuration } from './configuration';
13
- import type { AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
- /**
16
- *
17
- * @export
18
- */
19
15
  export declare const COLLECTION_FORMATS: {
20
16
  csv: string;
21
17
  ssv: string;
22
18
  tsv: string;
23
19
  pipes: string;
24
20
  };
25
- /**
26
- *
27
- * @export
28
- * @interface RequestArgs
29
- */
30
21
  export interface RequestArgs {
31
22
  url: string;
32
- options: AxiosRequestConfig;
23
+ options: RawAxiosRequestConfig;
33
24
  }
34
- /**
35
- *
36
- * @export
37
- * @class BaseAPI
38
- */
39
25
  export declare class BaseAPI {
40
26
  protected basePath: string;
41
27
  protected axios: AxiosInstance;
42
28
  protected configuration: Configuration | undefined;
43
29
  constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
44
30
  }
45
- /**
46
- *
47
- * @export
48
- * @class RequiredError
49
- * @extends {Error}
50
- */
51
31
  export declare class RequiredError extends Error {
52
32
  field: string;
53
33
  constructor(field: string, msg?: string);
54
34
  }
35
+ interface ServerMap {
36
+ [key: string]: {
37
+ url: string;
38
+ description: string;
39
+ }[];
40
+ }
41
+ export declare const operationServerMap: ServerMap;
42
+ export {};
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.8815
7
+ * The version of the OpenAPI document: 1.4.123
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,38 +13,24 @@
13
13
  */
14
14
  import globalAxios from 'axios';
15
15
  export const BASE_PATH = "https://api.prod.oursky.ai".replace(/\/+$/, "");
16
- /**
17
- *
18
- * @export
19
- */
20
16
  export const COLLECTION_FORMATS = {
21
17
  csv: ",",
22
18
  ssv: " ",
23
19
  tsv: "\t",
24
20
  pipes: "|",
25
21
  };
26
- /**
27
- *
28
- * @export
29
- * @class BaseAPI
30
- */
31
22
  export class BaseAPI {
32
23
  constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
24
+ var _a;
33
25
  this.basePath = basePath;
34
26
  this.axios = axios;
35
27
  if (configuration) {
36
28
  this.configuration = configuration;
37
- this.basePath = configuration.basePath || this.basePath;
29
+ this.basePath = (_a = configuration.basePath) !== null && _a !== void 0 ? _a : basePath;
38
30
  }
39
31
  }
40
32
  }
41
33
  ;
42
- /**
43
- *
44
- * @export
45
- * @class RequiredError
46
- * @extends {Error}
47
- */
48
34
  export class RequiredError extends Error {
49
35
  constructor(field, msg) {
50
36
  super(msg);
@@ -52,3 +38,4 @@ export class RequiredError extends Error {
52
38
  this.name = "RequiredError";
53
39
  }
54
40
  }
41
+ export const operationServerMap = {};
@@ -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.8815
5
+ * The version of the OpenAPI document: 1.4.123
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,54 +12,23 @@
12
12
  import type { Configuration } from "./configuration";
13
13
  import type { RequestArgs } from "./base";
14
14
  import type { AxiosInstance, AxiosResponse } from 'axios';
15
- /**
16
- *
17
- * @export
18
- */
19
15
  export declare const DUMMY_BASE_URL = "https://example.com";
20
16
  /**
21
17
  *
22
18
  * @throws {RequiredError}
23
- * @export
24
19
  */
25
20
  export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
26
- /**
27
- *
28
- * @export
29
- */
30
21
  export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
31
- /**
32
- *
33
- * @export
34
- */
35
22
  export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
36
- /**
37
- *
38
- * @export
39
- */
40
23
  export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
41
- /**
42
- *
43
- * @export
44
- */
45
24
  export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
46
- /**
47
- *
48
- * @export
49
- */
50
25
  export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
51
26
  /**
52
- *
53
- * @export
27
+ * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
28
+ * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
29
+ * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
54
30
  */
31
+ export declare const replaceWithSerializableTypeIfNeeded: (key: any, value: any) => any;
55
32
  export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
56
- /**
57
- *
58
- * @export
59
- */
60
33
  export declare const toPathString: (url: URL) => string;
61
- /**
62
- *
63
- * @export
64
- */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
34
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -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.8815
7
+ * The version of the OpenAPI document: 1.4.123
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -21,25 +21,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import { RequiredError } from "./base";
24
- /**
25
- *
26
- * @export
27
- */
28
24
  export const DUMMY_BASE_URL = 'https://example.com';
29
25
  /**
30
26
  *
31
27
  * @throws {RequiredError}
32
- * @export
33
28
  */
34
29
  export const assertParamExists = function (functionName, paramName, paramValue) {
35
30
  if (paramValue === null || paramValue === undefined) {
36
31
  throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
37
32
  }
38
33
  };
39
- /**
40
- *
41
- * @export
42
- */
43
34
  export const setApiKeyToObject = function (object, keyParamName, configuration) {
44
35
  return __awaiter(this, void 0, void 0, function* () {
45
36
  if (configuration && configuration.apiKey) {
@@ -50,19 +41,11 @@ export const setApiKeyToObject = function (object, keyParamName, configuration)
50
41
  }
51
42
  });
52
43
  };
53
- /**
54
- *
55
- * @export
56
- */
57
44
  export const setBasicAuthToObject = function (object, configuration) {
58
45
  if (configuration && (configuration.username || configuration.password)) {
59
46
  object["auth"] = { username: configuration.username, password: configuration.password };
60
47
  }
61
48
  };
62
- /**
63
- *
64
- * @export
65
- */
66
49
  export const setBearerAuthToObject = function (object, configuration) {
67
50
  return __awaiter(this, void 0, void 0, function* () {
68
51
  if (configuration && configuration.accessToken) {
@@ -73,10 +56,6 @@ export const setBearerAuthToObject = function (object, configuration) {
73
56
  }
74
57
  });
75
58
  };
76
- /**
77
- *
78
- * @export
79
- */
80
59
  export const setOAuthToObject = function (object, name, scopes, configuration) {
81
60
  return __awaiter(this, void 0, void 0, function* () {
82
61
  if (configuration && configuration.accessToken) {
@@ -91,7 +70,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
91
70
  if (parameter == null)
92
71
  return;
93
72
  if (typeof parameter === "object") {
94
- if (Array.isArray(parameter)) {
73
+ if (Array.isArray(parameter) || parameter instanceof Set) {
95
74
  parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
96
75
  }
97
76
  else {
@@ -107,42 +86,40 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
107
86
  }
108
87
  }
109
88
  }
110
- /**
111
- *
112
- * @export
113
- */
114
89
  export const setSearchParams = function (url, ...objects) {
115
90
  const searchParams = new URLSearchParams(url.search);
116
91
  setFlattenedQueryParams(searchParams, objects);
117
92
  url.search = searchParams.toString();
118
93
  };
119
94
  /**
120
- *
121
- * @export
95
+ * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
96
+ * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
97
+ * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
122
98
  */
99
+ export const replaceWithSerializableTypeIfNeeded = function (key, value) {
100
+ if (value instanceof Set) {
101
+ return Array.from(value);
102
+ }
103
+ else {
104
+ return value;
105
+ }
106
+ };
123
107
  export const serializeDataIfNeeded = function (value, requestOptions, configuration) {
124
108
  const nonString = typeof value !== 'string';
125
109
  const needsSerialization = nonString && configuration && configuration.isJsonMime
126
110
  ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
127
111
  : nonString;
128
112
  return needsSerialization
129
- ? JSON.stringify(value !== undefined ? value : {})
113
+ ? JSON.stringify(value !== undefined ? value : {}, replaceWithSerializableTypeIfNeeded)
130
114
  : (value || "");
131
115
  };
132
- /**
133
- *
134
- * @export
135
- */
136
116
  export const toPathString = function (url) {
137
117
  return url.pathname + url.search + url.hash;
138
118
  };
139
- /**
140
- *
141
- * @export
142
- */
143
119
  export const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
144
120
  return (axios = globalAxios, basePath = BASE_PATH) => {
145
- const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || axios.defaults.baseURL || basePath) + axiosArgs.url });
121
+ var _a;
122
+ const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: (axios.defaults.baseURL ? '' : (_a = configuration === null || configuration === void 0 ? void 0 : configuration.basePath) !== null && _a !== void 0 ? _a : basePath) + axiosArgs.url });
146
123
  return axios.request(axiosRequestArgs);
147
124
  };
148
125
  };
@@ -2,19 +2,32 @@
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.8815
5
+ * The version of the OpenAPI document: 1.4.123
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ interface AWSv4Configuration {
13
+ options?: {
14
+ region?: string;
15
+ service?: string;
16
+ };
17
+ credentials?: {
18
+ accessKeyId?: string;
19
+ secretAccessKey?: string;
20
+ sessionToken?: string;
21
+ };
22
+ }
12
23
  export interface ConfigurationParameters {
13
24
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
14
25
  username?: string;
15
26
  password?: string;
16
27
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
28
+ awsv4?: AWSv4Configuration;
17
29
  basePath?: string;
30
+ serverIndex?: number;
18
31
  baseOptions?: any;
19
32
  formDataCtor?: new () => any;
20
33
  }
@@ -22,42 +35,43 @@ export declare class Configuration {
22
35
  /**
23
36
  * parameter for apiKey security
24
37
  * @param name security name
25
- * @memberof Configuration
26
38
  */
27
39
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
28
40
  /**
29
41
  * parameter for basic security
30
- *
31
- * @type {string}
32
- * @memberof Configuration
33
42
  */
34
43
  username?: string;
35
44
  /**
36
45
  * parameter for basic security
37
- *
38
- * @type {string}
39
- * @memberof Configuration
40
46
  */
41
47
  password?: string;
42
48
  /**
43
49
  * parameter for oauth2 security
44
50
  * @param name security name
45
51
  * @param scopes oauth2 scope
46
- * @memberof Configuration
47
52
  */
48
53
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
49
54
  /**
50
- * override base path
51
- *
52
- * @type {string}
55
+ * parameter for aws4 signature security
56
+ * @param {Object} AWS4Signature - AWS4 Signature security
57
+ * @param {string} options.region - aws region
58
+ * @param {string} options.service - name of the service.
59
+ * @param {string} credentials.accessKeyId - aws access key id
60
+ * @param {string} credentials.secretAccessKey - aws access key
61
+ * @param {string} credentials.sessionToken - aws session token
53
62
  * @memberof Configuration
54
63
  */
64
+ awsv4?: AWSv4Configuration;
65
+ /**
66
+ * override base path
67
+ */
55
68
  basePath?: string;
69
+ /**
70
+ * override server index
71
+ */
72
+ serverIndex?: number;
56
73
  /**
57
74
  * base options for axios calls
58
- *
59
- * @type {any}
60
- * @memberof Configuration
61
75
  */
62
76
  baseOptions?: any;
63
77
  /**
@@ -81,3 +95,4 @@ export declare class Configuration {
81
95
  */
82
96
  isJsonMime(mime: string): boolean;
83
97
  }
98
+ export {};
@@ -1,10 +1,9 @@
1
1
  /* tslint:disable */
2
- /* eslint-disable */
3
2
  /**
4
3
  * OurSky Astro
5
4
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
5
  *
7
- * The version of the OpenAPI document: 1.3.8815
6
+ * The version of the OpenAPI document: 1.4.123
8
7
  *
9
8
  *
10
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,12 +12,15 @@
13
12
  */
14
13
  export class Configuration {
15
14
  constructor(param = {}) {
15
+ var _a;
16
16
  this.apiKey = param.apiKey;
17
17
  this.username = param.username;
18
18
  this.password = param.password;
19
19
  this.accessToken = param.accessToken;
20
+ this.awsv4 = param.awsv4;
20
21
  this.basePath = param.basePath;
21
- this.baseOptions = param.baseOptions;
22
+ this.serverIndex = param.serverIndex;
23
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
22
24
  this.formDataCtor = param.formDataCtor;
23
25
  }
24
26
  /**
@@ -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.8815
5
+ * The version of the OpenAPI document: 1.4.123
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.8815
7
+ * The version of the OpenAPI document: 1.4.123
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.8815
5
+ * The version of the OpenAPI document: 1.4.123
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.8815
8
+ * The version of the OpenAPI document: 1.4.123
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,18 @@
1
+ # AssetFileType
2
+
3
+
4
+ ## Enum
5
+
6
+ * `FITS` (value: `'FITS'`)
7
+
8
+ * `TIFF` (value: `'TIFF'`)
9
+
10
+ * `PNG` (value: `'PNG'`)
11
+
12
+ * `JPEG` (value: `'JPEG'`)
13
+
14
+ * `JSON` (value: `'JSON'`)
15
+
16
+ * `TXT` (value: `'TXT'`)
17
+
18
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,16 @@
1
+ # AssetType
2
+
3
+
4
+ ## Enum
5
+
6
+ * `STACK_RESULT` (value: `'STACK_RESULT'`)
7
+
8
+ * `PROJECT_UNBEAUTIFIED` (value: `'PROJECT_UNBEAUTIFIED'`)
9
+
10
+ * `PROJECT_BEAUTIFIED` (value: `'PROJECT_BEAUTIFIED'`)
11
+
12
+ * `IMAGE_THUMBNAIL` (value: `'IMAGE_THUMBNAIL'`)
13
+
14
+ * `PROJECT_BEAUTIFIED_THUMBNAIL` (value: `'PROJECT_BEAUTIFIED_THUMBNAIL'`)
15
+
16
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,12 @@
1
+ # CalibrationMasterType
2
+
3
+
4
+ ## Enum
5
+
6
+ * `FLAT` (value: `'FLAT'`)
7
+
8
+ * `DARK` (value: `'DARK'`)
9
+
10
+ * `BIAS` (value: `'BIAS'`)
11
+
12
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # DailyWeatherCity
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | City name | [optional] [default to undefined]
9
+ **country** | **string** | Country code | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DailyWeatherCity } from '@ourskyai/astro-api';
15
+
16
+ const instance: DailyWeatherCity = {
17
+ name,
18
+ country,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,40 @@
1
+ # DailyWeatherForecastItem
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **dt** | **number** | Timestamp of the weather data in UNIX timestamp | [optional] [default to undefined]
9
+ **sunrise** | **number** | Sunrise time in UNIX timestamp | [optional] [default to undefined]
10
+ **sunset** | **number** | Sunset time in UNIX timestamp | [optional] [default to undefined]
11
+ **temp** | [**DailyWeatherForecastItemTemp**](DailyWeatherForecastItemTemp.md) | | [optional] [default to undefined]
12
+ **humidity** | **number** | Humidity percentage | [optional] [default to undefined]
13
+ **weather** | [**Array&lt;DailyWeatherForecastItemWeatherInner&gt;**](DailyWeatherForecastItemWeatherInner.md) | | [optional] [default to undefined]
14
+ **speed** | **number** | Wind speed in m/s | [optional] [default to undefined]
15
+ **deg** | **number** | Wind direction in degrees | [optional] [default to undefined]
16
+ **clouds** | **number** | Cloudiness percentage | [optional] [default to undefined]
17
+ **pop** | **number** | Probability of precipitation in % | [optional] [default to undefined]
18
+ **rain** | **number** | Rain volume for the last 3 hours in mm/h | [optional] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { DailyWeatherForecastItem } from '@ourskyai/astro-api';
24
+
25
+ const instance: DailyWeatherForecastItem = {
26
+ dt,
27
+ sunrise,
28
+ sunset,
29
+ temp,
30
+ humidity,
31
+ weather,
32
+ speed,
33
+ deg,
34
+ clouds,
35
+ pop,
36
+ rain,
37
+ };
38
+ ```
39
+
40
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # DailyWeatherForecastItemTemp
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **day** | **number** | Day temperature in Celcius | [optional] [default to undefined]
9
+ **min** | **number** | Minimum temperature in Celcius | [optional] [default to undefined]
10
+ **max** | **number** | Maximum temperature in Celcius | [optional] [default to undefined]
11
+ **night** | **number** | Night temperature in Celcius | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { DailyWeatherForecastItemTemp } from '@ourskyai/astro-api';
17
+
18
+ const instance: DailyWeatherForecastItemTemp = {
19
+ day,
20
+ min,
21
+ max,
22
+ night,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # DailyWeatherForecastItemWeatherInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | Weather condition id | [optional] [default to undefined]
9
+ **main** | **string** | Group of weather parameters | [optional] [default to undefined]
10
+ **description** | **string** | Weather condition description | [optional] [default to undefined]
11
+ **icon** | **string** | Weather icon id | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { DailyWeatherForecastItemWeatherInner } from '@ourskyai/astro-api';
17
+
18
+ const instance: DailyWeatherForecastItemWeatherInner = {
19
+ id,
20
+ main,
21
+ description,
22
+ icon,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # DailyWeatherForecastListResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **city** | [**DailyWeatherCity**](DailyWeatherCity.md) | | [optional] [default to undefined]
9
+ **days** | [**Array&lt;DailyWeatherForecastItem&gt;**](DailyWeatherForecastItem.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DailyWeatherForecastListResponse } from '@ourskyai/astro-api';
15
+
16
+ const instance: DailyWeatherForecastListResponse = {
17
+ city,
18
+ days,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)