@seekora-ai/admin-api 1.0.7 → 1.0.9

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/api.ts CHANGED
@@ -960,6 +960,50 @@ export interface DataTypesGenericStringArrayResponse {
960
960
  */
961
961
  'status'?: number;
962
962
  }
963
+ /**
964
+ *
965
+ * @export
966
+ * @interface DataTypesJobStatusResponse
967
+ */
968
+ export interface DataTypesJobStatusResponse {
969
+ /**
970
+ *
971
+ * @type {string}
972
+ * @memberof DataTypesJobStatusResponse
973
+ */
974
+ 'jobId'?: string;
975
+ /**
976
+ *
977
+ * @type {string}
978
+ * @memberof DataTypesJobStatusResponse
979
+ */
980
+ 'jobStatus'?: string;
981
+ }
982
+ /**
983
+ *
984
+ * @export
985
+ * @interface DataTypesJobStatusResponseWrapper
986
+ */
987
+ export interface DataTypesJobStatusResponseWrapper {
988
+ /**
989
+ *
990
+ * @type {DataTypesJobStatusResponse}
991
+ * @memberof DataTypesJobStatusResponseWrapper
992
+ */
993
+ 'data'?: DataTypesJobStatusResponse;
994
+ /**
995
+ *
996
+ * @type {string}
997
+ * @memberof DataTypesJobStatusResponseWrapper
998
+ */
999
+ 'message'?: string;
1000
+ /**
1001
+ *
1002
+ * @type {number}
1003
+ * @memberof DataTypesJobStatusResponseWrapper
1004
+ */
1005
+ 'status'?: number;
1006
+ }
963
1007
  /**
964
1008
  *
965
1009
  * @export
@@ -1713,6 +1757,143 @@ export interface DataTypesOnboardingRequest {
1713
1757
  */
1714
1758
  'step': string;
1715
1759
  }
1760
+ /**
1761
+ *
1762
+ * @export
1763
+ * @interface DataTypesOnboardingResponse
1764
+ */
1765
+ export interface DataTypesOnboardingResponse {
1766
+ /**
1767
+ *
1768
+ * @type {string}
1769
+ * @memberof DataTypesOnboardingResponse
1770
+ */
1771
+ 'jobId'?: string;
1772
+ /**
1773
+ *
1774
+ * @type {object}
1775
+ * @memberof DataTypesOnboardingResponse
1776
+ */
1777
+ 'state'?: object;
1778
+ /**
1779
+ *
1780
+ * @type {string}
1781
+ * @memberof DataTypesOnboardingResponse
1782
+ */
1783
+ 'step'?: string;
1784
+ }
1785
+ /**
1786
+ *
1787
+ * @export
1788
+ * @interface DataTypesOnboardingResponseWrapper
1789
+ */
1790
+ export interface DataTypesOnboardingResponseWrapper {
1791
+ /**
1792
+ *
1793
+ * @type {DataTypesOnboardingResponse}
1794
+ * @memberof DataTypesOnboardingResponseWrapper
1795
+ */
1796
+ 'data'?: DataTypesOnboardingResponse;
1797
+ /**
1798
+ *
1799
+ * @type {string}
1800
+ * @memberof DataTypesOnboardingResponseWrapper
1801
+ */
1802
+ 'message'?: string;
1803
+ /**
1804
+ *
1805
+ * @type {number}
1806
+ * @memberof DataTypesOnboardingResponseWrapper
1807
+ */
1808
+ 'status'?: number;
1809
+ }
1810
+ /**
1811
+ *
1812
+ * @export
1813
+ * @interface DataTypesOnboardingTestSearchResponse
1814
+ */
1815
+ export interface DataTypesOnboardingTestSearchResponse {
1816
+ /**
1817
+ *
1818
+ * @type {number}
1819
+ * @memberof DataTypesOnboardingTestSearchResponse
1820
+ */
1821
+ 'page': number;
1822
+ /**
1823
+ *
1824
+ * @type {number}
1825
+ * @memberof DataTypesOnboardingTestSearchResponse
1826
+ */
1827
+ 'perPage': number;
1828
+ /**
1829
+ *
1830
+ * @type {Array<DataTypesOnboardingTestSearchResultItem>}
1831
+ * @memberof DataTypesOnboardingTestSearchResponse
1832
+ */
1833
+ 'results': Array<DataTypesOnboardingTestSearchResultItem>;
1834
+ /**
1835
+ *
1836
+ * @type {number}
1837
+ * @memberof DataTypesOnboardingTestSearchResponse
1838
+ */
1839
+ 'totalResults': number;
1840
+ }
1841
+ /**
1842
+ *
1843
+ * @export
1844
+ * @interface DataTypesOnboardingTestSearchResponseWrapper
1845
+ */
1846
+ export interface DataTypesOnboardingTestSearchResponseWrapper {
1847
+ /**
1848
+ *
1849
+ * @type {DataTypesOnboardingTestSearchResponse}
1850
+ * @memberof DataTypesOnboardingTestSearchResponseWrapper
1851
+ */
1852
+ 'data'?: DataTypesOnboardingTestSearchResponse;
1853
+ /**
1854
+ *
1855
+ * @type {string}
1856
+ * @memberof DataTypesOnboardingTestSearchResponseWrapper
1857
+ */
1858
+ 'message'?: string;
1859
+ /**
1860
+ *
1861
+ * @type {number}
1862
+ * @memberof DataTypesOnboardingTestSearchResponseWrapper
1863
+ */
1864
+ 'status'?: number;
1865
+ }
1866
+ /**
1867
+ *
1868
+ * @export
1869
+ * @interface DataTypesOnboardingTestSearchResultItem
1870
+ */
1871
+ export interface DataTypesOnboardingTestSearchResultItem {
1872
+ /**
1873
+ *
1874
+ * @type {string}
1875
+ * @memberof DataTypesOnboardingTestSearchResultItem
1876
+ */
1877
+ 'image_url'?: string;
1878
+ /**
1879
+ *
1880
+ * @type {string}
1881
+ * @memberof DataTypesOnboardingTestSearchResultItem
1882
+ */
1883
+ 'primary_text'?: string;
1884
+ /**
1885
+ *
1886
+ * @type {string}
1887
+ * @memberof DataTypesOnboardingTestSearchResultItem
1888
+ */
1889
+ 'secondary_text'?: string;
1890
+ /**
1891
+ *
1892
+ * @type {string}
1893
+ * @memberof DataTypesOnboardingTestSearchResultItem
1894
+ */
1895
+ 'tertiary_text'?: string;
1896
+ }
1716
1897
  /**
1717
1898
  *
1718
1899
  * @export
@@ -2598,6 +2779,56 @@ export interface DataTypesRolesListResponse {
2598
2779
  */
2599
2780
  'status'?: number;
2600
2781
  }
2782
+ /**
2783
+ *
2784
+ * @export
2785
+ * @interface DataTypesSchemaOptionsResponse
2786
+ */
2787
+ export interface DataTypesSchemaOptionsResponse {
2788
+ /**
2789
+ *
2790
+ * @type {Array<string>}
2791
+ * @memberof DataTypesSchemaOptionsResponse
2792
+ */
2793
+ 'displayAttributesOptions'?: Array<string>;
2794
+ /**
2795
+ *
2796
+ * @type {Array<string>}
2797
+ * @memberof DataTypesSchemaOptionsResponse
2798
+ */
2799
+ 'relevancyOrderOptions'?: Array<string>;
2800
+ /**
2801
+ *
2802
+ * @type {Array<string>}
2803
+ * @memberof DataTypesSchemaOptionsResponse
2804
+ */
2805
+ 'searchableAttributesOptions'?: Array<string>;
2806
+ }
2807
+ /**
2808
+ *
2809
+ * @export
2810
+ * @interface DataTypesSchemaOptionsResponseWrapper
2811
+ */
2812
+ export interface DataTypesSchemaOptionsResponseWrapper {
2813
+ /**
2814
+ *
2815
+ * @type {DataTypesSchemaOptionsResponse}
2816
+ * @memberof DataTypesSchemaOptionsResponseWrapper
2817
+ */
2818
+ 'data'?: DataTypesSchemaOptionsResponse;
2819
+ /**
2820
+ *
2821
+ * @type {string}
2822
+ * @memberof DataTypesSchemaOptionsResponseWrapper
2823
+ */
2824
+ 'message'?: string;
2825
+ /**
2826
+ *
2827
+ * @type {number}
2828
+ * @memberof DataTypesSchemaOptionsResponseWrapper
2829
+ */
2830
+ 'status'?: number;
2831
+ }
2601
2832
  /**
2602
2833
  *
2603
2834
  * @export
@@ -3027,6 +3258,50 @@ export interface DataTypesStore {
3027
3258
  */
3028
3259
  'StoreName'?: string;
3029
3260
  }
3261
+ /**
3262
+ *
3263
+ * @export
3264
+ * @interface DataTypesStoreKeyResponse
3265
+ */
3266
+ export interface DataTypesStoreKeyResponse {
3267
+ /**
3268
+ *
3269
+ * @type {string}
3270
+ * @memberof DataTypesStoreKeyResponse
3271
+ */
3272
+ 'storeId'?: string;
3273
+ /**
3274
+ *
3275
+ * @type {string}
3276
+ * @memberof DataTypesStoreKeyResponse
3277
+ */
3278
+ 'storeSecret'?: string;
3279
+ }
3280
+ /**
3281
+ *
3282
+ * @export
3283
+ * @interface DataTypesStoreKeyResponseWrapper
3284
+ */
3285
+ export interface DataTypesStoreKeyResponseWrapper {
3286
+ /**
3287
+ *
3288
+ * @type {DataTypesStoreKeyResponse}
3289
+ * @memberof DataTypesStoreKeyResponseWrapper
3290
+ */
3291
+ 'data'?: DataTypesStoreKeyResponse;
3292
+ /**
3293
+ *
3294
+ * @type {string}
3295
+ * @memberof DataTypesStoreKeyResponseWrapper
3296
+ */
3297
+ 'message'?: string;
3298
+ /**
3299
+ *
3300
+ * @type {number}
3301
+ * @memberof DataTypesStoreKeyResponseWrapper
3302
+ */
3303
+ 'status'?: number;
3304
+ }
3030
3305
  /**
3031
3306
  *
3032
3307
  * @export
@@ -3619,28 +3894,72 @@ export interface DataTypesUpdateSchemaResponse {
3619
3894
  /**
3620
3895
  *
3621
3896
  * @export
3622
- * @interface DataTypesUploadSourceDataResponse
3897
+ * @interface DataTypesUpdateSourceConfigResponseWrapper
3623
3898
  */
3624
- export interface DataTypesUploadSourceDataResponse {
3899
+ export interface DataTypesUpdateSourceConfigResponseWrapper {
3625
3900
  /**
3626
3901
  *
3627
3902
  * @type {DataTypesSource}
3628
- * @memberof DataTypesUploadSourceDataResponse
3903
+ * @memberof DataTypesUpdateSourceConfigResponseWrapper
3629
3904
  */
3630
3905
  'data'?: DataTypesSource;
3631
3906
  /**
3632
3907
  *
3633
3908
  * @type {string}
3634
- * @memberof DataTypesUploadSourceDataResponse
3909
+ * @memberof DataTypesUpdateSourceConfigResponseWrapper
3635
3910
  */
3636
3911
  'message'?: string;
3637
3912
  /**
3638
3913
  *
3639
3914
  * @type {number}
3640
- * @memberof DataTypesUploadSourceDataResponse
3915
+ * @memberof DataTypesUpdateSourceConfigResponseWrapper
3641
3916
  */
3642
3917
  'status'?: number;
3643
3918
  }
3919
+ /**
3920
+ *
3921
+ * @export
3922
+ * @interface DataTypesUploadSourceDataResponseWrapper
3923
+ */
3924
+ export interface DataTypesUploadSourceDataResponseWrapper {
3925
+ /**
3926
+ *
3927
+ * @type {DataTypesUploadsourceDataResponse}
3928
+ * @memberof DataTypesUploadSourceDataResponseWrapper
3929
+ */
3930
+ 'data'?: DataTypesUploadsourceDataResponse;
3931
+ /**
3932
+ *
3933
+ * @type {string}
3934
+ * @memberof DataTypesUploadSourceDataResponseWrapper
3935
+ */
3936
+ 'message'?: string;
3937
+ /**
3938
+ *
3939
+ * @type {number}
3940
+ * @memberof DataTypesUploadSourceDataResponseWrapper
3941
+ */
3942
+ 'status'?: number;
3943
+ }
3944
+ /**
3945
+ *
3946
+ * @export
3947
+ * @interface DataTypesUploadsourceDataResponse
3948
+ */
3949
+ export interface DataTypesUploadsourceDataResponse {
3950
+ /**
3951
+ *
3952
+ * @type {string}
3953
+ * @memberof DataTypesUploadsourceDataResponse
3954
+ */
3955
+ 'JobId'?: string;
3956
+ /**
3957
+ *
3958
+ * @type {DataTypesSource}
3959
+ * @memberof DataTypesUploadsourceDataResponse
3960
+ */
3961
+ 'Source'?: DataTypesSource;
3962
+ }
3644
3963
  /**
3645
3964
  *
3646
3965
  * @export
@@ -5494,7 +5813,7 @@ export const ConnectorsApiFp = function(configuration?: Configuration) {
5494
5813
  * @param {*} [options] Override http request option.
5495
5814
  * @throws {RequiredError}
5496
5815
  */
5497
- async v1ConnectorsSourcesSourceIdGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUploadSourceDataResponse>> {
5816
+ async v1ConnectorsSourcesSourceIdGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateSourceConfigResponseWrapper>> {
5498
5817
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1ConnectorsSourcesSourceIdGet(options);
5499
5818
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5500
5819
  const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.v1ConnectorsSourcesSourceIdGet']?.[localVarOperationServerIndex]?.url;
@@ -5521,7 +5840,7 @@ export const ConnectorsApiFp = function(configuration?: Configuration) {
5521
5840
  * @param {*} [options] Override http request option.
5522
5841
  * @throws {RequiredError}
5523
5842
  */
5524
- async v1ConnectorsSourcesSourceidUploaddataPost(v1ConnectorsSourcesSourceidUploaddataPostRequest: V1ConnectorsSourcesSourceidUploaddataPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUploadSourceDataResponse>> {
5843
+ async v1ConnectorsSourcesSourceidUploaddataPost(v1ConnectorsSourcesSourceidUploaddataPostRequest: V1ConnectorsSourcesSourceidUploaddataPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUploadSourceDataResponseWrapper>> {
5525
5844
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1ConnectorsSourcesSourceidUploaddataPost(v1ConnectorsSourcesSourceidUploaddataPostRequest, options);
5526
5845
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5527
5846
  const localVarOperationServerBasePath = operationServerMap['ConnectorsApi.v1ConnectorsSourcesSourceidUploaddataPost']?.[localVarOperationServerIndex]?.url;
@@ -5611,7 +5930,7 @@ export const ConnectorsApiFactory = function (configuration?: Configuration, bas
5611
5930
  * @param {*} [options] Override http request option.
5612
5931
  * @throws {RequiredError}
5613
5932
  */
5614
- v1ConnectorsSourcesSourceIdGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUploadSourceDataResponse> {
5933
+ v1ConnectorsSourcesSourceIdGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateSourceConfigResponseWrapper> {
5615
5934
  return localVarFp.v1ConnectorsSourcesSourceIdGet(options).then((request) => request(axios, basePath));
5616
5935
  },
5617
5936
  /**
@@ -5632,7 +5951,7 @@ export const ConnectorsApiFactory = function (configuration?: Configuration, bas
5632
5951
  * @param {*} [options] Override http request option.
5633
5952
  * @throws {RequiredError}
5634
5953
  */
5635
- v1ConnectorsSourcesSourceidUploaddataPost(v1ConnectorsSourcesSourceidUploaddataPostRequest: V1ConnectorsSourcesSourceidUploaddataPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUploadSourceDataResponse> {
5954
+ v1ConnectorsSourcesSourceidUploaddataPost(v1ConnectorsSourcesSourceidUploaddataPostRequest: V1ConnectorsSourcesSourceidUploaddataPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUploadSourceDataResponseWrapper> {
5636
5955
  return localVarFp.v1ConnectorsSourcesSourceidUploaddataPost(v1ConnectorsSourcesSourceidUploaddataPostRequest, options).then((request) => request(axios, basePath));
5637
5956
  },
5638
5957
  /**
@@ -8535,6 +8854,43 @@ export const OnboardingApiAxiosParamCreator = function (configuration?: Configur
8535
8854
 
8536
8855
 
8537
8856
 
8857
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8858
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8859
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8860
+
8861
+ return {
8862
+ url: toPathString(localVarUrlObj),
8863
+ options: localVarRequestOptions,
8864
+ };
8865
+ },
8866
+ /**
8867
+ * Get job status
8868
+ * @summary Get job status
8869
+ * @param {string} jobid Job ID
8870
+ * @param {*} [options] Override http request option.
8871
+ * @throws {RequiredError}
8872
+ */
8873
+ adminV1UsersOnboardingJobstatusJobidGet: async (jobid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8874
+ // verify required parameter 'jobid' is not null or undefined
8875
+ assertParamExists('adminV1UsersOnboardingJobstatusJobidGet', 'jobid', jobid)
8876
+ const localVarPath = `/admin/v1/users/onboarding/jobstatus/{jobid}`
8877
+ .replace(`{${"jobid"}}`, encodeURIComponent(String(jobid)));
8878
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8879
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8880
+ let baseOptions;
8881
+ if (configuration) {
8882
+ baseOptions = configuration.baseOptions;
8883
+ }
8884
+
8885
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8886
+ const localVarHeaderParameter = {} as any;
8887
+ const localVarQueryParameter = {} as any;
8888
+
8889
+ // authentication BearerAuth required
8890
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
8891
+
8892
+
8893
+
8538
8894
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8539
8895
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8540
8896
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -8627,6 +8983,39 @@ export const OnboardingApiAxiosParamCreator = function (configuration?: Configur
8627
8983
  options: localVarRequestOptions,
8628
8984
  };
8629
8985
  },
8986
+ /**
8987
+ * Get schema options
8988
+ * @summary Get schema options
8989
+ * @param {*} [options] Override http request option.
8990
+ * @throws {RequiredError}
8991
+ */
8992
+ adminV1UsersOnboardingSchemaoptionsGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8993
+ const localVarPath = `/admin/v1/users/onboarding/schemaoptions`;
8994
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8995
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8996
+ let baseOptions;
8997
+ if (configuration) {
8998
+ baseOptions = configuration.baseOptions;
8999
+ }
9000
+
9001
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9002
+ const localVarHeaderParameter = {} as any;
9003
+ const localVarQueryParameter = {} as any;
9004
+
9005
+ // authentication BearerAuth required
9006
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
9007
+
9008
+
9009
+
9010
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9011
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9012
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9013
+
9014
+ return {
9015
+ url: toPathString(localVarUrlObj),
9016
+ options: localVarRequestOptions,
9017
+ };
9018
+ },
8630
9019
  /**
8631
9020
  * Test search endpoint
8632
9021
  * @summary Test search
@@ -8658,6 +9047,39 @@ export const OnboardingApiAxiosParamCreator = function (configuration?: Configur
8658
9047
 
8659
9048
 
8660
9049
 
9050
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9051
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9052
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9053
+
9054
+ return {
9055
+ url: toPathString(localVarUrlObj),
9056
+ options: localVarRequestOptions,
9057
+ };
9058
+ },
9059
+ /**
9060
+ * Get store key
9061
+ * @summary Get store key
9062
+ * @param {*} [options] Override http request option.
9063
+ * @throws {RequiredError}
9064
+ */
9065
+ adminV1UsersOnboardingStorekeyGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9066
+ const localVarPath = `/admin/v1/users/onboarding/storekey`;
9067
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9068
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9069
+ let baseOptions;
9070
+ if (configuration) {
9071
+ baseOptions = configuration.baseOptions;
9072
+ }
9073
+
9074
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9075
+ const localVarHeaderParameter = {} as any;
9076
+ const localVarQueryParameter = {} as any;
9077
+
9078
+ // authentication BearerAuth required
9079
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
9080
+
9081
+
9082
+
8661
9083
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8662
9084
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8663
9085
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -8701,6 +9123,39 @@ export const OnboardingApiAxiosParamCreator = function (configuration?: Configur
8701
9123
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8702
9124
  localVarRequestOptions.data = serializeDataIfNeeded(adminV1UsersOnboardingUploaddataPostRequest, localVarRequestOptions, configuration)
8703
9125
 
9126
+ return {
9127
+ url: toPathString(localVarUrlObj),
9128
+ options: localVarRequestOptions,
9129
+ };
9130
+ },
9131
+ /**
9132
+ * Get sample datasets
9133
+ * @summary Get sample datasets
9134
+ * @param {*} [options] Override http request option.
9135
+ * @throws {RequiredError}
9136
+ */
9137
+ adminV1UsersSampledatasetsGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9138
+ const localVarPath = `/admin/v1/users/sampledatasets`;
9139
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9140
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9141
+ let baseOptions;
9142
+ if (configuration) {
9143
+ baseOptions = configuration.baseOptions;
9144
+ }
9145
+
9146
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9147
+ const localVarHeaderParameter = {} as any;
9148
+ const localVarQueryParameter = {} as any;
9149
+
9150
+ // authentication BearerAuth required
9151
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
9152
+
9153
+
9154
+
9155
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9156
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9157
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9158
+
8704
9159
  return {
8705
9160
  url: toPathString(localVarUrlObj),
8706
9161
  options: localVarRequestOptions,
@@ -8722,12 +9177,25 @@ export const OnboardingApiFp = function(configuration?: Configuration) {
8722
9177
  * @param {*} [options] Override http request option.
8723
9178
  * @throws {RequiredError}
8724
9179
  */
8725
- async adminV1UsersOnboardingGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
9180
+ async adminV1UsersOnboardingGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOnboardingResponseWrapper>> {
8726
9181
  const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1UsersOnboardingGet(options);
8727
9182
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8728
9183
  const localVarOperationServerBasePath = operationServerMap['OnboardingApi.adminV1UsersOnboardingGet']?.[localVarOperationServerIndex]?.url;
8729
9184
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8730
9185
  },
9186
+ /**
9187
+ * Get job status
9188
+ * @summary Get job status
9189
+ * @param {string} jobid Job ID
9190
+ * @param {*} [options] Override http request option.
9191
+ * @throws {RequiredError}
9192
+ */
9193
+ async adminV1UsersOnboardingJobstatusJobidGet(jobid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesJobStatusResponseWrapper>> {
9194
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1UsersOnboardingJobstatusJobidGet(jobid, options);
9195
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9196
+ const localVarOperationServerBasePath = operationServerMap['OnboardingApi.adminV1UsersOnboardingJobstatusJobidGet']?.[localVarOperationServerIndex]?.url;
9197
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9198
+ },
8731
9199
  /**
8732
9200
  * Updates onboardingstep and merges new data into onboardingdata JSON
8733
9201
  * @summary Update user onboarding step
@@ -8735,7 +9203,7 @@ export const OnboardingApiFp = function(configuration?: Configuration) {
8735
9203
  * @param {*} [options] Override http request option.
8736
9204
  * @throws {RequiredError}
8737
9205
  */
8738
- async adminV1UsersOnboardingPost(body: DataTypesOnboardingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
9206
+ async adminV1UsersOnboardingPost(body: DataTypesOnboardingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOnboardingResponseWrapper>> {
8739
9207
  const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1UsersOnboardingPost(body, options);
8740
9208
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8741
9209
  const localVarOperationServerBasePath = operationServerMap['OnboardingApi.adminV1UsersOnboardingPost']?.[localVarOperationServerIndex]?.url;
@@ -8754,6 +9222,18 @@ export const OnboardingApiFp = function(configuration?: Configuration) {
8754
9222
  const localVarOperationServerBasePath = operationServerMap['OnboardingApi.adminV1UsersOnboardingSchemaUploadPost']?.[localVarOperationServerIndex]?.url;
8755
9223
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8756
9224
  },
9225
+ /**
9226
+ * Get schema options
9227
+ * @summary Get schema options
9228
+ * @param {*} [options] Override http request option.
9229
+ * @throws {RequiredError}
9230
+ */
9231
+ async adminV1UsersOnboardingSchemaoptionsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSchemaOptionsResponseWrapper>> {
9232
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1UsersOnboardingSchemaoptionsGet(options);
9233
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9234
+ const localVarOperationServerBasePath = operationServerMap['OnboardingApi.adminV1UsersOnboardingSchemaoptionsGet']?.[localVarOperationServerIndex]?.url;
9235
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9236
+ },
8757
9237
  /**
8758
9238
  * Test search endpoint
8759
9239
  * @summary Test search
@@ -8761,12 +9241,24 @@ export const OnboardingApiFp = function(configuration?: Configuration) {
8761
9241
  * @param {*} [options] Override http request option.
8762
9242
  * @throws {RequiredError}
8763
9243
  */
8764
- async adminV1UsersOnboardingSearchGet(q: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
9244
+ async adminV1UsersOnboardingSearchGet(q: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOnboardingTestSearchResponseWrapper>> {
8765
9245
  const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1UsersOnboardingSearchGet(q, options);
8766
9246
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8767
9247
  const localVarOperationServerBasePath = operationServerMap['OnboardingApi.adminV1UsersOnboardingSearchGet']?.[localVarOperationServerIndex]?.url;
8768
9248
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8769
9249
  },
9250
+ /**
9251
+ * Get store key
9252
+ * @summary Get store key
9253
+ * @param {*} [options] Override http request option.
9254
+ * @throws {RequiredError}
9255
+ */
9256
+ async adminV1UsersOnboardingStorekeyGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoreKeyResponseWrapper>> {
9257
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1UsersOnboardingStorekeyGet(options);
9258
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9259
+ const localVarOperationServerBasePath = operationServerMap['OnboardingApi.adminV1UsersOnboardingStorekeyGet']?.[localVarOperationServerIndex]?.url;
9260
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9261
+ },
8770
9262
  /**
8771
9263
  * Upload source data
8772
9264
  * @summary Upload source data
@@ -8774,12 +9266,24 @@ export const OnboardingApiFp = function(configuration?: Configuration) {
8774
9266
  * @param {*} [options] Override http request option.
8775
9267
  * @throws {RequiredError}
8776
9268
  */
8777
- async adminV1UsersOnboardingUploaddataPost(adminV1UsersOnboardingUploaddataPostRequest: AdminV1UsersOnboardingUploaddataPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUploadSourceDataResponse>> {
9269
+ async adminV1UsersOnboardingUploaddataPost(adminV1UsersOnboardingUploaddataPostRequest: AdminV1UsersOnboardingUploaddataPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUploadSourceDataResponseWrapper>> {
8778
9270
  const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1UsersOnboardingUploaddataPost(adminV1UsersOnboardingUploaddataPostRequest, options);
8779
9271
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8780
9272
  const localVarOperationServerBasePath = operationServerMap['OnboardingApi.adminV1UsersOnboardingUploaddataPost']?.[localVarOperationServerIndex]?.url;
8781
9273
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8782
9274
  },
9275
+ /**
9276
+ * Get sample datasets
9277
+ * @summary Get sample datasets
9278
+ * @param {*} [options] Override http request option.
9279
+ * @throws {RequiredError}
9280
+ */
9281
+ async adminV1UsersSampledatasetsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
9282
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1UsersSampledatasetsGet(options);
9283
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9284
+ const localVarOperationServerBasePath = operationServerMap['OnboardingApi.adminV1UsersSampledatasetsGet']?.[localVarOperationServerIndex]?.url;
9285
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9286
+ },
8783
9287
  }
8784
9288
  };
8785
9289
 
@@ -8796,9 +9300,19 @@ export const OnboardingApiFactory = function (configuration?: Configuration, bas
8796
9300
  * @param {*} [options] Override http request option.
8797
9301
  * @throws {RequiredError}
8798
9302
  */
8799
- adminV1UsersOnboardingGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
9303
+ adminV1UsersOnboardingGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOnboardingResponseWrapper> {
8800
9304
  return localVarFp.adminV1UsersOnboardingGet(options).then((request) => request(axios, basePath));
8801
9305
  },
9306
+ /**
9307
+ * Get job status
9308
+ * @summary Get job status
9309
+ * @param {string} jobid Job ID
9310
+ * @param {*} [options] Override http request option.
9311
+ * @throws {RequiredError}
9312
+ */
9313
+ adminV1UsersOnboardingJobstatusJobidGet(jobid: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesJobStatusResponseWrapper> {
9314
+ return localVarFp.adminV1UsersOnboardingJobstatusJobidGet(jobid, options).then((request) => request(axios, basePath));
9315
+ },
8802
9316
  /**
8803
9317
  * Updates onboardingstep and merges new data into onboardingdata JSON
8804
9318
  * @summary Update user onboarding step
@@ -8806,7 +9320,7 @@ export const OnboardingApiFactory = function (configuration?: Configuration, bas
8806
9320
  * @param {*} [options] Override http request option.
8807
9321
  * @throws {RequiredError}
8808
9322
  */
8809
- adminV1UsersOnboardingPost(body: DataTypesOnboardingRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
9323
+ adminV1UsersOnboardingPost(body: DataTypesOnboardingRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOnboardingResponseWrapper> {
8810
9324
  return localVarFp.adminV1UsersOnboardingPost(body, options).then((request) => request(axios, basePath));
8811
9325
  },
8812
9326
  /**
@@ -8819,6 +9333,15 @@ export const OnboardingApiFactory = function (configuration?: Configuration, bas
8819
9333
  adminV1UsersOnboardingSchemaUploadPost(file: File, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
8820
9334
  return localVarFp.adminV1UsersOnboardingSchemaUploadPost(file, options).then((request) => request(axios, basePath));
8821
9335
  },
9336
+ /**
9337
+ * Get schema options
9338
+ * @summary Get schema options
9339
+ * @param {*} [options] Override http request option.
9340
+ * @throws {RequiredError}
9341
+ */
9342
+ adminV1UsersOnboardingSchemaoptionsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSchemaOptionsResponseWrapper> {
9343
+ return localVarFp.adminV1UsersOnboardingSchemaoptionsGet(options).then((request) => request(axios, basePath));
9344
+ },
8822
9345
  /**
8823
9346
  * Test search endpoint
8824
9347
  * @summary Test search
@@ -8826,9 +9349,18 @@ export const OnboardingApiFactory = function (configuration?: Configuration, bas
8826
9349
  * @param {*} [options] Override http request option.
8827
9350
  * @throws {RequiredError}
8828
9351
  */
8829
- adminV1UsersOnboardingSearchGet(q: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
9352
+ adminV1UsersOnboardingSearchGet(q: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOnboardingTestSearchResponseWrapper> {
8830
9353
  return localVarFp.adminV1UsersOnboardingSearchGet(q, options).then((request) => request(axios, basePath));
8831
9354
  },
9355
+ /**
9356
+ * Get store key
9357
+ * @summary Get store key
9358
+ * @param {*} [options] Override http request option.
9359
+ * @throws {RequiredError}
9360
+ */
9361
+ adminV1UsersOnboardingStorekeyGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoreKeyResponseWrapper> {
9362
+ return localVarFp.adminV1UsersOnboardingStorekeyGet(options).then((request) => request(axios, basePath));
9363
+ },
8832
9364
  /**
8833
9365
  * Upload source data
8834
9366
  * @summary Upload source data
@@ -8836,9 +9368,18 @@ export const OnboardingApiFactory = function (configuration?: Configuration, bas
8836
9368
  * @param {*} [options] Override http request option.
8837
9369
  * @throws {RequiredError}
8838
9370
  */
8839
- adminV1UsersOnboardingUploaddataPost(adminV1UsersOnboardingUploaddataPostRequest: AdminV1UsersOnboardingUploaddataPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUploadSourceDataResponse> {
9371
+ adminV1UsersOnboardingUploaddataPost(adminV1UsersOnboardingUploaddataPostRequest: AdminV1UsersOnboardingUploaddataPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUploadSourceDataResponseWrapper> {
8840
9372
  return localVarFp.adminV1UsersOnboardingUploaddataPost(adminV1UsersOnboardingUploaddataPostRequest, options).then((request) => request(axios, basePath));
8841
9373
  },
9374
+ /**
9375
+ * Get sample datasets
9376
+ * @summary Get sample datasets
9377
+ * @param {*} [options] Override http request option.
9378
+ * @throws {RequiredError}
9379
+ */
9380
+ adminV1UsersSampledatasetsGet(options?: RawAxiosRequestConfig): AxiosPromise<object> {
9381
+ return localVarFp.adminV1UsersSampledatasetsGet(options).then((request) => request(axios, basePath));
9382
+ },
8842
9383
  };
8843
9384
  };
8844
9385
 
@@ -8860,6 +9401,18 @@ export class OnboardingApi extends BaseAPI {
8860
9401
  return OnboardingApiFp(this.configuration).adminV1UsersOnboardingGet(options).then((request) => request(this.axios, this.basePath));
8861
9402
  }
8862
9403
 
9404
+ /**
9405
+ * Get job status
9406
+ * @summary Get job status
9407
+ * @param {string} jobid Job ID
9408
+ * @param {*} [options] Override http request option.
9409
+ * @throws {RequiredError}
9410
+ * @memberof OnboardingApi
9411
+ */
9412
+ public adminV1UsersOnboardingJobstatusJobidGet(jobid: string, options?: RawAxiosRequestConfig) {
9413
+ return OnboardingApiFp(this.configuration).adminV1UsersOnboardingJobstatusJobidGet(jobid, options).then((request) => request(this.axios, this.basePath));
9414
+ }
9415
+
8863
9416
  /**
8864
9417
  * Updates onboardingstep and merges new data into onboardingdata JSON
8865
9418
  * @summary Update user onboarding step
@@ -8884,6 +9437,17 @@ export class OnboardingApi extends BaseAPI {
8884
9437
  return OnboardingApiFp(this.configuration).adminV1UsersOnboardingSchemaUploadPost(file, options).then((request) => request(this.axios, this.basePath));
8885
9438
  }
8886
9439
 
9440
+ /**
9441
+ * Get schema options
9442
+ * @summary Get schema options
9443
+ * @param {*} [options] Override http request option.
9444
+ * @throws {RequiredError}
9445
+ * @memberof OnboardingApi
9446
+ */
9447
+ public adminV1UsersOnboardingSchemaoptionsGet(options?: RawAxiosRequestConfig) {
9448
+ return OnboardingApiFp(this.configuration).adminV1UsersOnboardingSchemaoptionsGet(options).then((request) => request(this.axios, this.basePath));
9449
+ }
9450
+
8887
9451
  /**
8888
9452
  * Test search endpoint
8889
9453
  * @summary Test search
@@ -8896,6 +9460,17 @@ export class OnboardingApi extends BaseAPI {
8896
9460
  return OnboardingApiFp(this.configuration).adminV1UsersOnboardingSearchGet(q, options).then((request) => request(this.axios, this.basePath));
8897
9461
  }
8898
9462
 
9463
+ /**
9464
+ * Get store key
9465
+ * @summary Get store key
9466
+ * @param {*} [options] Override http request option.
9467
+ * @throws {RequiredError}
9468
+ * @memberof OnboardingApi
9469
+ */
9470
+ public adminV1UsersOnboardingStorekeyGet(options?: RawAxiosRequestConfig) {
9471
+ return OnboardingApiFp(this.configuration).adminV1UsersOnboardingStorekeyGet(options).then((request) => request(this.axios, this.basePath));
9472
+ }
9473
+
8899
9474
  /**
8900
9475
  * Upload source data
8901
9476
  * @summary Upload source data
@@ -8907,6 +9482,17 @@ export class OnboardingApi extends BaseAPI {
8907
9482
  public adminV1UsersOnboardingUploaddataPost(adminV1UsersOnboardingUploaddataPostRequest: AdminV1UsersOnboardingUploaddataPostRequest, options?: RawAxiosRequestConfig) {
8908
9483
  return OnboardingApiFp(this.configuration).adminV1UsersOnboardingUploaddataPost(adminV1UsersOnboardingUploaddataPostRequest, options).then((request) => request(this.axios, this.basePath));
8909
9484
  }
9485
+
9486
+ /**
9487
+ * Get sample datasets
9488
+ * @summary Get sample datasets
9489
+ * @param {*} [options] Override http request option.
9490
+ * @throws {RequiredError}
9491
+ * @memberof OnboardingApi
9492
+ */
9493
+ public adminV1UsersSampledatasetsGet(options?: RawAxiosRequestConfig) {
9494
+ return OnboardingApiFp(this.configuration).adminV1UsersSampledatasetsGet(options).then((request) => request(this.axios, this.basePath));
9495
+ }
8910
9496
  }
8911
9497
 
8912
9498