@ourskyai/platform-api 1.3.3814 → 1.3.3830

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @ourskyai/platform-api@1.3.3814
1
+ ## @ourskyai/platform-api@1.3.3830
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @ourskyai/platform-api@1.3.3814 --save
39
+ npm install @ourskyai/platform-api@1.3.3830 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
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.3814
7
+ * The version of the OpenAPI document: 1.3.3830
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -815,6 +815,44 @@ export interface V1GainCurvePoint {
815
815
  */
816
816
  'eADU': number;
817
817
  }
818
+ /**
819
+ *
820
+ * @export
821
+ * @interface V1GetEmbeddedQueryUrlRequest
822
+ */
823
+ export interface V1GetEmbeddedQueryUrlRequest {
824
+ /**
825
+ *
826
+ * @type {string}
827
+ * @memberof V1GetEmbeddedQueryUrlRequest
828
+ */
829
+ 'questionType': string;
830
+ /**
831
+ *
832
+ * @type {string}
833
+ * @memberof V1GetEmbeddedQueryUrlRequest
834
+ */
835
+ 'nodeId'?: string;
836
+ /**
837
+ *
838
+ * @type {number}
839
+ * @memberof V1GetEmbeddedQueryUrlRequest
840
+ */
841
+ 'lookbackDays'?: number | null;
842
+ }
843
+ /**
844
+ *
845
+ * @export
846
+ * @interface V1GetEmbeddedQueryUrlResponse
847
+ */
848
+ export interface V1GetEmbeddedQueryUrlResponse {
849
+ /**
850
+ *
851
+ * @type {string}
852
+ * @memberof V1GetEmbeddedQueryUrlResponse
853
+ */
854
+ 'url'?: string;
855
+ }
818
856
  /**
819
857
  *
820
858
  * @export
@@ -3002,6 +3040,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3002
3040
  options: localVarRequestOptions,
3003
3041
  };
3004
3042
  },
3043
+ /**
3044
+ * Create an embedding URL for a dashboard or question
3045
+ * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
3046
+ * @param {*} [options] Override http request option.
3047
+ * @throws {RequiredError}
3048
+ */
3049
+ v1GetEmbeddedQueryUrl: async (v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3050
+ // verify required parameter 'v1GetEmbeddedQueryUrlRequest' is not null or undefined
3051
+ assertParamExists('v1GetEmbeddedQueryUrl', 'v1GetEmbeddedQueryUrlRequest', v1GetEmbeddedQueryUrlRequest)
3052
+ const localVarPath = `/v1/analytics`;
3053
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3054
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3055
+ let baseOptions;
3056
+ if (configuration) {
3057
+ baseOptions = configuration.baseOptions;
3058
+ }
3059
+
3060
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3061
+ const localVarHeaderParameter = {} as any;
3062
+ const localVarQueryParameter = {} as any;
3063
+
3064
+ // authentication Roles required
3065
+
3066
+ // authentication BearerToken required
3067
+ // http bearer authentication required
3068
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3069
+
3070
+
3071
+
3072
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3073
+
3074
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3075
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3076
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3077
+ localVarRequestOptions.data = serializeDataIfNeeded(v1GetEmbeddedQueryUrlRequest, localVarRequestOptions, configuration)
3078
+
3079
+ return {
3080
+ url: toPathString(localVarUrlObj),
3081
+ options: localVarRequestOptions,
3082
+ };
3083
+ },
3005
3084
  /**
3006
3085
  * Get an image set.
3007
3086
  * @param {string} id
@@ -3919,6 +3998,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3919
3998
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetCameras(options);
3920
3999
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3921
4000
  },
4001
+ /**
4002
+ * Create an embedding URL for a dashboard or question
4003
+ * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
4004
+ * @param {*} [options] Override http request option.
4005
+ * @throws {RequiredError}
4006
+ */
4007
+ async v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GetEmbeddedQueryUrlResponse>> {
4008
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest, options);
4009
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4010
+ },
3922
4011
  /**
3923
4012
  * Get an image set.
3924
4013
  * @param {string} id
@@ -4244,6 +4333,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4244
4333
  v1GetCameras(options?: AxiosRequestConfig): AxiosPromise<Array<V1Camera>> {
4245
4334
  return localVarFp.v1GetCameras(options).then((request) => request(axios, basePath));
4246
4335
  },
4336
+ /**
4337
+ * Create an embedding URL for a dashboard or question
4338
+ * @param {DefaultApiV1GetEmbeddedQueryUrlRequest} requestParameters Request parameters.
4339
+ * @param {*} [options] Override http request option.
4340
+ * @throws {RequiredError}
4341
+ */
4342
+ v1GetEmbeddedQueryUrl(requestParameters: DefaultApiV1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig): AxiosPromise<V1GetEmbeddedQueryUrlResponse> {
4343
+ return localVarFp.v1GetEmbeddedQueryUrl(requestParameters.v1GetEmbeddedQueryUrlRequest, options).then((request) => request(axios, basePath));
4344
+ },
4247
4345
  /**
4248
4346
  * Get an image set.
4249
4347
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
@@ -4639,6 +4737,20 @@ export interface DefaultApiV1DeleteImageSetImageRequest {
4639
4737
  readonly imageId: string
4640
4738
  }
4641
4739
 
4740
+ /**
4741
+ * Request parameters for v1GetEmbeddedQueryUrl operation in DefaultApi.
4742
+ * @export
4743
+ * @interface DefaultApiV1GetEmbeddedQueryUrlRequest
4744
+ */
4745
+ export interface DefaultApiV1GetEmbeddedQueryUrlRequest {
4746
+ /**
4747
+ *
4748
+ * @type {V1GetEmbeddedQueryUrlRequest}
4749
+ * @memberof DefaultApiV1GetEmbeddedQueryUrl
4750
+ */
4751
+ readonly v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest
4752
+ }
4753
+
4642
4754
  /**
4643
4755
  * Request parameters for v1GetImageSet operation in DefaultApi.
4644
4756
  * @export
@@ -5068,6 +5180,17 @@ export class DefaultApi extends BaseAPI {
5068
5180
  return DefaultApiFp(this.configuration).v1GetCameras(options).then((request) => request(this.axios, this.basePath));
5069
5181
  }
5070
5182
 
5183
+ /**
5184
+ * Create an embedding URL for a dashboard or question
5185
+ * @param {DefaultApiV1GetEmbeddedQueryUrlRequest} requestParameters Request parameters.
5186
+ * @param {*} [options] Override http request option.
5187
+ * @throws {RequiredError}
5188
+ * @memberof DefaultApi
5189
+ */
5190
+ public v1GetEmbeddedQueryUrl(requestParameters: DefaultApiV1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig) {
5191
+ return DefaultApiFp(this.configuration).v1GetEmbeddedQueryUrl(requestParameters.v1GetEmbeddedQueryUrlRequest, options).then((request) => request(this.axios, this.basePath));
5192
+ }
5193
+
5071
5194
  /**
5072
5195
  * Get an image set.
5073
5196
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
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.3814
7
+ * The version of the OpenAPI document: 1.3.3830
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
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.3814
7
+ * The version of the OpenAPI document: 1.3.3830
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
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.3814
7
+ * The version of the OpenAPI document: 1.3.3830
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
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.3814
5
+ * The version of the OpenAPI document: 1.3.3830
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -757,6 +757,44 @@ export interface V1GainCurvePoint {
757
757
  */
758
758
  'eADU': number;
759
759
  }
760
+ /**
761
+ *
762
+ * @export
763
+ * @interface V1GetEmbeddedQueryUrlRequest
764
+ */
765
+ export interface V1GetEmbeddedQueryUrlRequest {
766
+ /**
767
+ *
768
+ * @type {string}
769
+ * @memberof V1GetEmbeddedQueryUrlRequest
770
+ */
771
+ 'questionType': string;
772
+ /**
773
+ *
774
+ * @type {string}
775
+ * @memberof V1GetEmbeddedQueryUrlRequest
776
+ */
777
+ 'nodeId'?: string;
778
+ /**
779
+ *
780
+ * @type {number}
781
+ * @memberof V1GetEmbeddedQueryUrlRequest
782
+ */
783
+ 'lookbackDays'?: number | null;
784
+ }
785
+ /**
786
+ *
787
+ * @export
788
+ * @interface V1GetEmbeddedQueryUrlResponse
789
+ */
790
+ export interface V1GetEmbeddedQueryUrlResponse {
791
+ /**
792
+ *
793
+ * @type {string}
794
+ * @memberof V1GetEmbeddedQueryUrlResponse
795
+ */
796
+ 'url'?: string;
797
+ }
760
798
  /**
761
799
  *
762
800
  * @export
@@ -2376,6 +2414,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2376
2414
  * @throws {RequiredError}
2377
2415
  */
2378
2416
  v1GetCameras: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2417
+ /**
2418
+ * Create an embedding URL for a dashboard or question
2419
+ * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
2420
+ * @param {*} [options] Override http request option.
2421
+ * @throws {RequiredError}
2422
+ */
2423
+ v1GetEmbeddedQueryUrl: (v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2379
2424
  /**
2380
2425
  * Get an image set.
2381
2426
  * @param {string} id
@@ -2620,6 +2665,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2620
2665
  * @throws {RequiredError}
2621
2666
  */
2622
2667
  v1GetCameras(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1Camera>>>;
2668
+ /**
2669
+ * Create an embedding URL for a dashboard or question
2670
+ * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
2671
+ * @param {*} [options] Override http request option.
2672
+ * @throws {RequiredError}
2673
+ */
2674
+ v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GetEmbeddedQueryUrlResponse>>;
2623
2675
  /**
2624
2676
  * Get an image set.
2625
2677
  * @param {string} id
@@ -2857,6 +2909,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2857
2909
  * @throws {RequiredError}
2858
2910
  */
2859
2911
  v1GetCameras(options?: AxiosRequestConfig): AxiosPromise<Array<V1Camera>>;
2912
+ /**
2913
+ * Create an embedding URL for a dashboard or question
2914
+ * @param {DefaultApiV1GetEmbeddedQueryUrlRequest} requestParameters Request parameters.
2915
+ * @param {*} [options] Override http request option.
2916
+ * @throws {RequiredError}
2917
+ */
2918
+ v1GetEmbeddedQueryUrl(requestParameters: DefaultApiV1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig): AxiosPromise<V1GetEmbeddedQueryUrlResponse>;
2860
2919
  /**
2861
2920
  * Get an image set.
2862
2921
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
@@ -3194,6 +3253,19 @@ export interface DefaultApiV1DeleteImageSetImageRequest {
3194
3253
  */
3195
3254
  readonly imageId: string;
3196
3255
  }
3256
+ /**
3257
+ * Request parameters for v1GetEmbeddedQueryUrl operation in DefaultApi.
3258
+ * @export
3259
+ * @interface DefaultApiV1GetEmbeddedQueryUrlRequest
3260
+ */
3261
+ export interface DefaultApiV1GetEmbeddedQueryUrlRequest {
3262
+ /**
3263
+ *
3264
+ * @type {V1GetEmbeddedQueryUrlRequest}
3265
+ * @memberof DefaultApiV1GetEmbeddedQueryUrl
3266
+ */
3267
+ readonly v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest;
3268
+ }
3197
3269
  /**
3198
3270
  * Request parameters for v1GetImageSet operation in DefaultApi.
3199
3271
  * @export
@@ -3558,6 +3630,14 @@ export declare class DefaultApi extends BaseAPI {
3558
3630
  * @memberof DefaultApi
3559
3631
  */
3560
3632
  v1GetCameras(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1Camera[], any>>;
3633
+ /**
3634
+ * Create an embedding URL for a dashboard or question
3635
+ * @param {DefaultApiV1GetEmbeddedQueryUrlRequest} requestParameters Request parameters.
3636
+ * @param {*} [options] Override http request option.
3637
+ * @throws {RequiredError}
3638
+ * @memberof DefaultApi
3639
+ */
3640
+ v1GetEmbeddedQueryUrl(requestParameters: DefaultApiV1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1GetEmbeddedQueryUrlResponse, any>>;
3561
3641
  /**
3562
3642
  * Get an image set.
3563
3643
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * OurSky Platform
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.3814
8
+ * The version of the OpenAPI document: 1.3.3830
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -696,6 +696,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
696
696
  options: localVarRequestOptions,
697
697
  };
698
698
  }),
699
+ /**
700
+ * Create an embedding URL for a dashboard or question
701
+ * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
702
+ * @param {*} [options] Override http request option.
703
+ * @throws {RequiredError}
704
+ */
705
+ v1GetEmbeddedQueryUrl: (v1GetEmbeddedQueryUrlRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
706
+ // verify required parameter 'v1GetEmbeddedQueryUrlRequest' is not null or undefined
707
+ (0, common_1.assertParamExists)('v1GetEmbeddedQueryUrl', 'v1GetEmbeddedQueryUrlRequest', v1GetEmbeddedQueryUrlRequest);
708
+ const localVarPath = `/v1/analytics`;
709
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
710
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
711
+ let baseOptions;
712
+ if (configuration) {
713
+ baseOptions = configuration.baseOptions;
714
+ }
715
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
716
+ const localVarHeaderParameter = {};
717
+ const localVarQueryParameter = {};
718
+ // authentication Roles required
719
+ // authentication BearerToken required
720
+ // http bearer authentication required
721
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
722
+ localVarHeaderParameter['Content-Type'] = 'application/json';
723
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
724
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
725
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
726
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1GetEmbeddedQueryUrlRequest, localVarRequestOptions, configuration);
727
+ return {
728
+ url: (0, common_1.toPathString)(localVarUrlObj),
729
+ options: localVarRequestOptions,
730
+ };
731
+ }),
699
732
  /**
700
733
  * Get an image set.
701
734
  * @param {string} id
@@ -1497,6 +1530,18 @@ const DefaultApiFp = function (configuration) {
1497
1530
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1498
1531
  });
1499
1532
  },
1533
+ /**
1534
+ * Create an embedding URL for a dashboard or question
1535
+ * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
1536
+ * @param {*} [options] Override http request option.
1537
+ * @throws {RequiredError}
1538
+ */
1539
+ v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest, options) {
1540
+ return __awaiter(this, void 0, void 0, function* () {
1541
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest, options);
1542
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1543
+ });
1544
+ },
1500
1545
  /**
1501
1546
  * Get an image set.
1502
1547
  * @param {string} id
@@ -1858,6 +1903,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1858
1903
  v1GetCameras(options) {
1859
1904
  return localVarFp.v1GetCameras(options).then((request) => request(axios, basePath));
1860
1905
  },
1906
+ /**
1907
+ * Create an embedding URL for a dashboard or question
1908
+ * @param {DefaultApiV1GetEmbeddedQueryUrlRequest} requestParameters Request parameters.
1909
+ * @param {*} [options] Override http request option.
1910
+ * @throws {RequiredError}
1911
+ */
1912
+ v1GetEmbeddedQueryUrl(requestParameters, options) {
1913
+ return localVarFp.v1GetEmbeddedQueryUrl(requestParameters.v1GetEmbeddedQueryUrlRequest, options).then((request) => request(axios, basePath));
1914
+ },
1861
1915
  /**
1862
1916
  * Get an image set.
1863
1917
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
@@ -2177,6 +2231,16 @@ class DefaultApi extends base_1.BaseAPI {
2177
2231
  v1GetCameras(options) {
2178
2232
  return (0, exports.DefaultApiFp)(this.configuration).v1GetCameras(options).then((request) => request(this.axios, this.basePath));
2179
2233
  }
2234
+ /**
2235
+ * Create an embedding URL for a dashboard or question
2236
+ * @param {DefaultApiV1GetEmbeddedQueryUrlRequest} requestParameters Request parameters.
2237
+ * @param {*} [options] Override http request option.
2238
+ * @throws {RequiredError}
2239
+ * @memberof DefaultApi
2240
+ */
2241
+ v1GetEmbeddedQueryUrl(requestParameters, options) {
2242
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetEmbeddedQueryUrl(requestParameters.v1GetEmbeddedQueryUrlRequest, options).then((request) => request(this.axios, this.basePath));
2243
+ }
2180
2244
  /**
2181
2245
  * Get an image set.
2182
2246
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
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.3814
5
+ * The version of the OpenAPI document: 1.3.3830
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * OurSky Platform
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.3814
8
+ * The version of the OpenAPI document: 1.3.3830
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
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.3814
5
+ * The version of the OpenAPI document: 1.3.3830
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * OurSky Platform
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.3814
8
+ * The version of the OpenAPI document: 1.3.3830
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
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.3814
5
+ * The version of the OpenAPI document: 1.3.3830
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * OurSky Platform
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.3814
8
+ * The version of the OpenAPI document: 1.3.3830
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
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.3814
5
+ * The version of the OpenAPI document: 1.3.3830
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -757,6 +757,44 @@ export interface V1GainCurvePoint {
757
757
  */
758
758
  'eADU': number;
759
759
  }
760
+ /**
761
+ *
762
+ * @export
763
+ * @interface V1GetEmbeddedQueryUrlRequest
764
+ */
765
+ export interface V1GetEmbeddedQueryUrlRequest {
766
+ /**
767
+ *
768
+ * @type {string}
769
+ * @memberof V1GetEmbeddedQueryUrlRequest
770
+ */
771
+ 'questionType': string;
772
+ /**
773
+ *
774
+ * @type {string}
775
+ * @memberof V1GetEmbeddedQueryUrlRequest
776
+ */
777
+ 'nodeId'?: string;
778
+ /**
779
+ *
780
+ * @type {number}
781
+ * @memberof V1GetEmbeddedQueryUrlRequest
782
+ */
783
+ 'lookbackDays'?: number | null;
784
+ }
785
+ /**
786
+ *
787
+ * @export
788
+ * @interface V1GetEmbeddedQueryUrlResponse
789
+ */
790
+ export interface V1GetEmbeddedQueryUrlResponse {
791
+ /**
792
+ *
793
+ * @type {string}
794
+ * @memberof V1GetEmbeddedQueryUrlResponse
795
+ */
796
+ 'url'?: string;
797
+ }
760
798
  /**
761
799
  *
762
800
  * @export
@@ -2376,6 +2414,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2376
2414
  * @throws {RequiredError}
2377
2415
  */
2378
2416
  v1GetCameras: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2417
+ /**
2418
+ * Create an embedding URL for a dashboard or question
2419
+ * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
2420
+ * @param {*} [options] Override http request option.
2421
+ * @throws {RequiredError}
2422
+ */
2423
+ v1GetEmbeddedQueryUrl: (v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2379
2424
  /**
2380
2425
  * Get an image set.
2381
2426
  * @param {string} id
@@ -2620,6 +2665,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2620
2665
  * @throws {RequiredError}
2621
2666
  */
2622
2667
  v1GetCameras(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1Camera>>>;
2668
+ /**
2669
+ * Create an embedding URL for a dashboard or question
2670
+ * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
2671
+ * @param {*} [options] Override http request option.
2672
+ * @throws {RequiredError}
2673
+ */
2674
+ v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GetEmbeddedQueryUrlResponse>>;
2623
2675
  /**
2624
2676
  * Get an image set.
2625
2677
  * @param {string} id
@@ -2857,6 +2909,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2857
2909
  * @throws {RequiredError}
2858
2910
  */
2859
2911
  v1GetCameras(options?: AxiosRequestConfig): AxiosPromise<Array<V1Camera>>;
2912
+ /**
2913
+ * Create an embedding URL for a dashboard or question
2914
+ * @param {DefaultApiV1GetEmbeddedQueryUrlRequest} requestParameters Request parameters.
2915
+ * @param {*} [options] Override http request option.
2916
+ * @throws {RequiredError}
2917
+ */
2918
+ v1GetEmbeddedQueryUrl(requestParameters: DefaultApiV1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig): AxiosPromise<V1GetEmbeddedQueryUrlResponse>;
2860
2919
  /**
2861
2920
  * Get an image set.
2862
2921
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
@@ -3194,6 +3253,19 @@ export interface DefaultApiV1DeleteImageSetImageRequest {
3194
3253
  */
3195
3254
  readonly imageId: string;
3196
3255
  }
3256
+ /**
3257
+ * Request parameters for v1GetEmbeddedQueryUrl operation in DefaultApi.
3258
+ * @export
3259
+ * @interface DefaultApiV1GetEmbeddedQueryUrlRequest
3260
+ */
3261
+ export interface DefaultApiV1GetEmbeddedQueryUrlRequest {
3262
+ /**
3263
+ *
3264
+ * @type {V1GetEmbeddedQueryUrlRequest}
3265
+ * @memberof DefaultApiV1GetEmbeddedQueryUrl
3266
+ */
3267
+ readonly v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest;
3268
+ }
3197
3269
  /**
3198
3270
  * Request parameters for v1GetImageSet operation in DefaultApi.
3199
3271
  * @export
@@ -3558,6 +3630,14 @@ export declare class DefaultApi extends BaseAPI {
3558
3630
  * @memberof DefaultApi
3559
3631
  */
3560
3632
  v1GetCameras(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1Camera[], any>>;
3633
+ /**
3634
+ * Create an embedding URL for a dashboard or question
3635
+ * @param {DefaultApiV1GetEmbeddedQueryUrlRequest} requestParameters Request parameters.
3636
+ * @param {*} [options] Override http request option.
3637
+ * @throws {RequiredError}
3638
+ * @memberof DefaultApi
3639
+ */
3640
+ v1GetEmbeddedQueryUrl(requestParameters: DefaultApiV1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1GetEmbeddedQueryUrlResponse, any>>;
3561
3641
  /**
3562
3642
  * Get an image set.
3563
3643
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
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.3814
7
+ * The version of the OpenAPI document: 1.3.3830
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -693,6 +693,39 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
693
693
  options: localVarRequestOptions,
694
694
  };
695
695
  }),
696
+ /**
697
+ * Create an embedding URL for a dashboard or question
698
+ * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
699
+ * @param {*} [options] Override http request option.
700
+ * @throws {RequiredError}
701
+ */
702
+ v1GetEmbeddedQueryUrl: (v1GetEmbeddedQueryUrlRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
703
+ // verify required parameter 'v1GetEmbeddedQueryUrlRequest' is not null or undefined
704
+ assertParamExists('v1GetEmbeddedQueryUrl', 'v1GetEmbeddedQueryUrlRequest', v1GetEmbeddedQueryUrlRequest);
705
+ const localVarPath = `/v1/analytics`;
706
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
707
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
708
+ let baseOptions;
709
+ if (configuration) {
710
+ baseOptions = configuration.baseOptions;
711
+ }
712
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
713
+ const localVarHeaderParameter = {};
714
+ const localVarQueryParameter = {};
715
+ // authentication Roles required
716
+ // authentication BearerToken required
717
+ // http bearer authentication required
718
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
719
+ localVarHeaderParameter['Content-Type'] = 'application/json';
720
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
721
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
722
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
723
+ localVarRequestOptions.data = serializeDataIfNeeded(v1GetEmbeddedQueryUrlRequest, localVarRequestOptions, configuration);
724
+ return {
725
+ url: toPathString(localVarUrlObj),
726
+ options: localVarRequestOptions,
727
+ };
728
+ }),
696
729
  /**
697
730
  * Get an image set.
698
731
  * @param {string} id
@@ -1493,6 +1526,18 @@ export const DefaultApiFp = function (configuration) {
1493
1526
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1494
1527
  });
1495
1528
  },
1529
+ /**
1530
+ * Create an embedding URL for a dashboard or question
1531
+ * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
1532
+ * @param {*} [options] Override http request option.
1533
+ * @throws {RequiredError}
1534
+ */
1535
+ v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest, options) {
1536
+ return __awaiter(this, void 0, void 0, function* () {
1537
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest, options);
1538
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1539
+ });
1540
+ },
1496
1541
  /**
1497
1542
  * Get an image set.
1498
1543
  * @param {string} id
@@ -1853,6 +1898,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
1853
1898
  v1GetCameras(options) {
1854
1899
  return localVarFp.v1GetCameras(options).then((request) => request(axios, basePath));
1855
1900
  },
1901
+ /**
1902
+ * Create an embedding URL for a dashboard or question
1903
+ * @param {DefaultApiV1GetEmbeddedQueryUrlRequest} requestParameters Request parameters.
1904
+ * @param {*} [options] Override http request option.
1905
+ * @throws {RequiredError}
1906
+ */
1907
+ v1GetEmbeddedQueryUrl(requestParameters, options) {
1908
+ return localVarFp.v1GetEmbeddedQueryUrl(requestParameters.v1GetEmbeddedQueryUrlRequest, options).then((request) => request(axios, basePath));
1909
+ },
1856
1910
  /**
1857
1911
  * Get an image set.
1858
1912
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
@@ -2171,6 +2225,16 @@ export class DefaultApi extends BaseAPI {
2171
2225
  v1GetCameras(options) {
2172
2226
  return DefaultApiFp(this.configuration).v1GetCameras(options).then((request) => request(this.axios, this.basePath));
2173
2227
  }
2228
+ /**
2229
+ * Create an embedding URL for a dashboard or question
2230
+ * @param {DefaultApiV1GetEmbeddedQueryUrlRequest} requestParameters Request parameters.
2231
+ * @param {*} [options] Override http request option.
2232
+ * @throws {RequiredError}
2233
+ * @memberof DefaultApi
2234
+ */
2235
+ v1GetEmbeddedQueryUrl(requestParameters, options) {
2236
+ return DefaultApiFp(this.configuration).v1GetEmbeddedQueryUrl(requestParameters.v1GetEmbeddedQueryUrlRequest, options).then((request) => request(this.axios, this.basePath));
2237
+ }
2174
2238
  /**
2175
2239
  * Get an image set.
2176
2240
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
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.3814
5
+ * The version of the OpenAPI document: 1.3.3830
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 Platform
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.3814
7
+ * The version of the OpenAPI document: 1.3.3830
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 Platform
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.3814
5
+ * The version of the OpenAPI document: 1.3.3830
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 Platform
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.3814
7
+ * The version of the OpenAPI document: 1.3.3830
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 Platform
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.3814
5
+ * The version of the OpenAPI document: 1.3.3830
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 Platform
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.3814
7
+ * The version of the OpenAPI document: 1.3.3830
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 Platform
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.3814
5
+ * The version of the OpenAPI document: 1.3.3830
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 Platform
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.3814
7
+ * The version of the OpenAPI document: 1.3.3830
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 Platform
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.3814
5
+ * The version of the OpenAPI document: 1.3.3830
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 Platform
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.3814
8
+ * The version of the OpenAPI document: 1.3.3830
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 Platform
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.3814
7
+ * The version of the OpenAPI document: 1.3.3830
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/platform-api",
3
- "version": "1.3.3814",
3
+ "version": "1.3.3830",
4
4
  "description": "OpenAPI client for @ourskyai/platform-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {