@seekora-ai/admin-api 1.0.18 → 1.0.20
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 +2 -3
- package/api.ts +48 -72
- package/dist/api.d.ts +48 -33
- package/dist/api.js +0 -68
- package/dist/esm/api.d.ts +48 -33
- package/dist/esm/api.js +0 -68
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.20.tgz +0 -0
- package/seekora-ai-admin-api-1.0.18.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @seekora-ai/admin-api@1.0.
|
|
1
|
+
## @seekora-ai/admin-api@1.0.20
|
|
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 @seekora-ai/admin-api@1.0.
|
|
39
|
+
npm install @seekora-ai/admin-api@1.0.20 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -167,7 +167,6 @@ Class | Method | HTTP request | Description
|
|
|
167
167
|
*SearchApi* | [**v1IndexIndexnameDefaultsGet**](docs/SearchApi.md#v1indexindexnamedefaultsget) | **GET** /v1/index/{indexname}/defaults | Get Schema-Based Defaults
|
|
168
168
|
*SearchApi* | [**v1SearchPost**](docs/SearchApi.md#v1searchpost) | **POST** /v1/search | Public Search API
|
|
169
169
|
*StoresApi* | [**adminStoresGet**](docs/StoresApi.md#adminstoresget) | **GET** /admin/Stores | Fetches list of all stores
|
|
170
|
-
*StoresApi* | [**adminStoresGetStoreStoreIDGet**](docs/StoresApi.md#adminstoresgetstorestoreidget) | **GET** /admin/Stores/GetStore/{storeID} | Fetches stores by id
|
|
171
170
|
*StoresApi* | [**adminStoresGetStoreXStoreIDGet**](docs/StoresApi.md#adminstoresgetstorexstoreidget) | **GET** /admin/Stores/GetStore/{xStoreID} | Fetches stores by xStoreID
|
|
172
171
|
*StoresApi* | [**adminStoresPost**](docs/StoresApi.md#adminstorespost) | **POST** /admin/Stores | Creates a new store
|
|
173
172
|
*StoresApi* | [**adminStoresStoreIDPut**](docs/StoresApi.md#adminstoresstoreidput) | **PUT** /admin/Stores/{storeID} | Update an existing store
|
package/api.ts
CHANGED
|
@@ -1894,6 +1894,18 @@ export interface DataTypesLoginResponse {
|
|
|
1894
1894
|
* @memberof DataTypesLoginResponse
|
|
1895
1895
|
*/
|
|
1896
1896
|
'email'?: string;
|
|
1897
|
+
/**
|
|
1898
|
+
*
|
|
1899
|
+
* @type {string}
|
|
1900
|
+
* @memberof DataTypesLoginResponse
|
|
1901
|
+
*/
|
|
1902
|
+
'firstName'?: string;
|
|
1903
|
+
/**
|
|
1904
|
+
*
|
|
1905
|
+
* @type {string}
|
|
1906
|
+
* @memberof DataTypesLoginResponse
|
|
1907
|
+
*/
|
|
1908
|
+
'lastName'?: string;
|
|
1897
1909
|
/**
|
|
1898
1910
|
*
|
|
1899
1911
|
* @type {Array<DataTypesMenuAccess>}
|
|
@@ -1912,6 +1924,12 @@ export interface DataTypesLoginResponse {
|
|
|
1912
1924
|
* @memberof DataTypesLoginResponse
|
|
1913
1925
|
*/
|
|
1914
1926
|
'onboardingStep'?: string;
|
|
1927
|
+
/**
|
|
1928
|
+
*
|
|
1929
|
+
* @type {string}
|
|
1930
|
+
* @memberof DataTypesLoginResponse
|
|
1931
|
+
*/
|
|
1932
|
+
'profileImage'?: string;
|
|
1915
1933
|
/**
|
|
1916
1934
|
*
|
|
1917
1935
|
* @type {number}
|
|
@@ -1936,6 +1954,12 @@ export interface DataTypesLoginResponse {
|
|
|
1936
1954
|
* @memberof DataTypesLoginResponse
|
|
1937
1955
|
*/
|
|
1938
1956
|
'userId'?: number;
|
|
1957
|
+
/**
|
|
1958
|
+
*
|
|
1959
|
+
* @type {string}
|
|
1960
|
+
* @memberof DataTypesLoginResponse
|
|
1961
|
+
*/
|
|
1962
|
+
'userName'?: string;
|
|
1939
1963
|
}
|
|
1940
1964
|
/**
|
|
1941
1965
|
*
|
|
@@ -5090,6 +5114,12 @@ export interface DataTypesUser {
|
|
|
5090
5114
|
* @memberof DataTypesUser
|
|
5091
5115
|
*/
|
|
5092
5116
|
'createdUserId'?: number;
|
|
5117
|
+
/**
|
|
5118
|
+
*
|
|
5119
|
+
* @type {string}
|
|
5120
|
+
* @memberof DataTypesUser
|
|
5121
|
+
*/
|
|
5122
|
+
'firstName'?: string;
|
|
5093
5123
|
/**
|
|
5094
5124
|
*
|
|
5095
5125
|
* @type {boolean}
|
|
@@ -5114,6 +5144,12 @@ export interface DataTypesUser {
|
|
|
5114
5144
|
* @memberof DataTypesUser
|
|
5115
5145
|
*/
|
|
5116
5146
|
'lastLogin'?: string;
|
|
5147
|
+
/**
|
|
5148
|
+
*
|
|
5149
|
+
* @type {string}
|
|
5150
|
+
* @memberof DataTypesUser
|
|
5151
|
+
*/
|
|
5152
|
+
'lastName'?: string;
|
|
5117
5153
|
/**
|
|
5118
5154
|
*
|
|
5119
5155
|
* @type {number}
|
|
@@ -5132,6 +5168,18 @@ export interface DataTypesUser {
|
|
|
5132
5168
|
* @memberof DataTypesUser
|
|
5133
5169
|
*/
|
|
5134
5170
|
'modifiedUserId'?: number;
|
|
5171
|
+
/**
|
|
5172
|
+
*
|
|
5173
|
+
* @type {string}
|
|
5174
|
+
* @memberof DataTypesUser
|
|
5175
|
+
*/
|
|
5176
|
+
'onboardingVisibleStep'?: string;
|
|
5177
|
+
/**
|
|
5178
|
+
*
|
|
5179
|
+
* @type {string}
|
|
5180
|
+
* @memberof DataTypesUser
|
|
5181
|
+
*/
|
|
5182
|
+
'onboardingdata'?: string;
|
|
5135
5183
|
/**
|
|
5136
5184
|
*
|
|
5137
5185
|
* @type {string}
|
|
@@ -14749,43 +14797,6 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
14749
14797
|
|
|
14750
14798
|
|
|
14751
14799
|
|
|
14752
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14753
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14754
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14755
|
-
|
|
14756
|
-
return {
|
|
14757
|
-
url: toPathString(localVarUrlObj),
|
|
14758
|
-
options: localVarRequestOptions,
|
|
14759
|
-
};
|
|
14760
|
-
},
|
|
14761
|
-
/**
|
|
14762
|
-
* Fetches stores by id
|
|
14763
|
-
* @summary Fetches stores by id
|
|
14764
|
-
* @param {number} storeID Stores ID
|
|
14765
|
-
* @param {*} [options] Override http request option.
|
|
14766
|
-
* @throws {RequiredError}
|
|
14767
|
-
*/
|
|
14768
|
-
adminStoresGetStoreStoreIDGet: async (storeID: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14769
|
-
// verify required parameter 'storeID' is not null or undefined
|
|
14770
|
-
assertParamExists('adminStoresGetStoreStoreIDGet', 'storeID', storeID)
|
|
14771
|
-
const localVarPath = `/admin/Stores/GetStore/{storeID}`
|
|
14772
|
-
.replace(`{${"storeID"}}`, encodeURIComponent(String(storeID)));
|
|
14773
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14774
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14775
|
-
let baseOptions;
|
|
14776
|
-
if (configuration) {
|
|
14777
|
-
baseOptions = configuration.baseOptions;
|
|
14778
|
-
}
|
|
14779
|
-
|
|
14780
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14781
|
-
const localVarHeaderParameter = {} as any;
|
|
14782
|
-
const localVarQueryParameter = {} as any;
|
|
14783
|
-
|
|
14784
|
-
// authentication BearerAuth required
|
|
14785
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
14786
|
-
|
|
14787
|
-
|
|
14788
|
-
|
|
14789
14800
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14790
14801
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14791
14802
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -15131,19 +15142,6 @@ export const StoresApiFp = function(configuration?: Configuration) {
|
|
|
15131
15142
|
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresGet']?.[localVarOperationServerIndex]?.url;
|
|
15132
15143
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15133
15144
|
},
|
|
15134
|
-
/**
|
|
15135
|
-
* Fetches stores by id
|
|
15136
|
-
* @summary Fetches stores by id
|
|
15137
|
-
* @param {number} storeID Stores ID
|
|
15138
|
-
* @param {*} [options] Override http request option.
|
|
15139
|
-
* @throws {RequiredError}
|
|
15140
|
-
*/
|
|
15141
|
-
async adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoreResponse>> {
|
|
15142
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresGetStoreStoreIDGet(storeID, options);
|
|
15143
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15144
|
-
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresGetStoreStoreIDGet']?.[localVarOperationServerIndex]?.url;
|
|
15145
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15146
|
-
},
|
|
15147
15145
|
/**
|
|
15148
15146
|
* Fetches stores by xStoreID
|
|
15149
15147
|
* @summary Fetches stores by xStoreID
|
|
@@ -15270,16 +15268,6 @@ export const StoresApiFactory = function (configuration?: Configuration, basePat
|
|
|
15270
15268
|
adminStoresGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoresListResponse> {
|
|
15271
15269
|
return localVarFp.adminStoresGet(options).then((request) => request(axios, basePath));
|
|
15272
15270
|
},
|
|
15273
|
-
/**
|
|
15274
|
-
* Fetches stores by id
|
|
15275
|
-
* @summary Fetches stores by id
|
|
15276
|
-
* @param {number} storeID Stores ID
|
|
15277
|
-
* @param {*} [options] Override http request option.
|
|
15278
|
-
* @throws {RequiredError}
|
|
15279
|
-
*/
|
|
15280
|
-
adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoreResponse> {
|
|
15281
|
-
return localVarFp.adminStoresGetStoreStoreIDGet(storeID, options).then((request) => request(axios, basePath));
|
|
15282
|
-
},
|
|
15283
15271
|
/**
|
|
15284
15272
|
* Fetches stores by xStoreID
|
|
15285
15273
|
* @summary Fetches stores by xStoreID
|
|
@@ -15384,18 +15372,6 @@ export class StoresApi extends BaseAPI {
|
|
|
15384
15372
|
return StoresApiFp(this.configuration).adminStoresGet(options).then((request) => request(this.axios, this.basePath));
|
|
15385
15373
|
}
|
|
15386
15374
|
|
|
15387
|
-
/**
|
|
15388
|
-
* Fetches stores by id
|
|
15389
|
-
* @summary Fetches stores by id
|
|
15390
|
-
* @param {number} storeID Stores ID
|
|
15391
|
-
* @param {*} [options] Override http request option.
|
|
15392
|
-
* @throws {RequiredError}
|
|
15393
|
-
* @memberof StoresApi
|
|
15394
|
-
*/
|
|
15395
|
-
public adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig) {
|
|
15396
|
-
return StoresApiFp(this.configuration).adminStoresGetStoreStoreIDGet(storeID, options).then((request) => request(this.axios, this.basePath));
|
|
15397
|
-
}
|
|
15398
|
-
|
|
15399
15375
|
/**
|
|
15400
15376
|
* Fetches stores by xStoreID
|
|
15401
15377
|
* @summary Fetches stores by xStoreID
|
package/dist/api.d.ts
CHANGED
|
@@ -1889,6 +1889,18 @@ export interface DataTypesLoginResponse {
|
|
|
1889
1889
|
* @memberof DataTypesLoginResponse
|
|
1890
1890
|
*/
|
|
1891
1891
|
'email'?: string;
|
|
1892
|
+
/**
|
|
1893
|
+
*
|
|
1894
|
+
* @type {string}
|
|
1895
|
+
* @memberof DataTypesLoginResponse
|
|
1896
|
+
*/
|
|
1897
|
+
'firstName'?: string;
|
|
1898
|
+
/**
|
|
1899
|
+
*
|
|
1900
|
+
* @type {string}
|
|
1901
|
+
* @memberof DataTypesLoginResponse
|
|
1902
|
+
*/
|
|
1903
|
+
'lastName'?: string;
|
|
1892
1904
|
/**
|
|
1893
1905
|
*
|
|
1894
1906
|
* @type {Array<DataTypesMenuAccess>}
|
|
@@ -1907,6 +1919,12 @@ export interface DataTypesLoginResponse {
|
|
|
1907
1919
|
* @memberof DataTypesLoginResponse
|
|
1908
1920
|
*/
|
|
1909
1921
|
'onboardingStep'?: string;
|
|
1922
|
+
/**
|
|
1923
|
+
*
|
|
1924
|
+
* @type {string}
|
|
1925
|
+
* @memberof DataTypesLoginResponse
|
|
1926
|
+
*/
|
|
1927
|
+
'profileImage'?: string;
|
|
1910
1928
|
/**
|
|
1911
1929
|
*
|
|
1912
1930
|
* @type {number}
|
|
@@ -1931,6 +1949,12 @@ export interface DataTypesLoginResponse {
|
|
|
1931
1949
|
* @memberof DataTypesLoginResponse
|
|
1932
1950
|
*/
|
|
1933
1951
|
'userId'?: number;
|
|
1952
|
+
/**
|
|
1953
|
+
*
|
|
1954
|
+
* @type {string}
|
|
1955
|
+
* @memberof DataTypesLoginResponse
|
|
1956
|
+
*/
|
|
1957
|
+
'userName'?: string;
|
|
1934
1958
|
}
|
|
1935
1959
|
/**
|
|
1936
1960
|
*
|
|
@@ -5093,6 +5117,12 @@ export interface DataTypesUser {
|
|
|
5093
5117
|
* @memberof DataTypesUser
|
|
5094
5118
|
*/
|
|
5095
5119
|
'createdUserId'?: number;
|
|
5120
|
+
/**
|
|
5121
|
+
*
|
|
5122
|
+
* @type {string}
|
|
5123
|
+
* @memberof DataTypesUser
|
|
5124
|
+
*/
|
|
5125
|
+
'firstName'?: string;
|
|
5096
5126
|
/**
|
|
5097
5127
|
*
|
|
5098
5128
|
* @type {boolean}
|
|
@@ -5117,6 +5147,12 @@ export interface DataTypesUser {
|
|
|
5117
5147
|
* @memberof DataTypesUser
|
|
5118
5148
|
*/
|
|
5119
5149
|
'lastLogin'?: string;
|
|
5150
|
+
/**
|
|
5151
|
+
*
|
|
5152
|
+
* @type {string}
|
|
5153
|
+
* @memberof DataTypesUser
|
|
5154
|
+
*/
|
|
5155
|
+
'lastName'?: string;
|
|
5120
5156
|
/**
|
|
5121
5157
|
*
|
|
5122
5158
|
* @type {number}
|
|
@@ -5135,6 +5171,18 @@ export interface DataTypesUser {
|
|
|
5135
5171
|
* @memberof DataTypesUser
|
|
5136
5172
|
*/
|
|
5137
5173
|
'modifiedUserId'?: number;
|
|
5174
|
+
/**
|
|
5175
|
+
*
|
|
5176
|
+
* @type {string}
|
|
5177
|
+
* @memberof DataTypesUser
|
|
5178
|
+
*/
|
|
5179
|
+
'onboardingVisibleStep'?: string;
|
|
5180
|
+
/**
|
|
5181
|
+
*
|
|
5182
|
+
* @type {string}
|
|
5183
|
+
* @memberof DataTypesUser
|
|
5184
|
+
*/
|
|
5185
|
+
'onboardingdata'?: string;
|
|
5138
5186
|
/**
|
|
5139
5187
|
*
|
|
5140
5188
|
* @type {string}
|
|
@@ -9917,14 +9965,6 @@ export declare const StoresApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
9917
9965
|
* @throws {RequiredError}
|
|
9918
9966
|
*/
|
|
9919
9967
|
adminStoresGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9920
|
-
/**
|
|
9921
|
-
* Fetches stores by id
|
|
9922
|
-
* @summary Fetches stores by id
|
|
9923
|
-
* @param {number} storeID Stores ID
|
|
9924
|
-
* @param {*} [options] Override http request option.
|
|
9925
|
-
* @throws {RequiredError}
|
|
9926
|
-
*/
|
|
9927
|
-
adminStoresGetStoreStoreIDGet: (storeID: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9928
9968
|
/**
|
|
9929
9969
|
* Fetches stores by xStoreID
|
|
9930
9970
|
* @summary Fetches stores by xStoreID
|
|
@@ -10005,14 +10045,6 @@ export declare const StoresApiFp: (configuration?: Configuration) => {
|
|
|
10005
10045
|
* @throws {RequiredError}
|
|
10006
10046
|
*/
|
|
10007
10047
|
adminStoresGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoresListResponse>>;
|
|
10008
|
-
/**
|
|
10009
|
-
* Fetches stores by id
|
|
10010
|
-
* @summary Fetches stores by id
|
|
10011
|
-
* @param {number} storeID Stores ID
|
|
10012
|
-
* @param {*} [options] Override http request option.
|
|
10013
|
-
* @throws {RequiredError}
|
|
10014
|
-
*/
|
|
10015
|
-
adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoreResponse>>;
|
|
10016
10048
|
/**
|
|
10017
10049
|
* Fetches stores by xStoreID
|
|
10018
10050
|
* @summary Fetches stores by xStoreID
|
|
@@ -10093,14 +10125,6 @@ export declare const StoresApiFactory: (configuration?: Configuration, basePath?
|
|
|
10093
10125
|
* @throws {RequiredError}
|
|
10094
10126
|
*/
|
|
10095
10127
|
adminStoresGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoresListResponse>;
|
|
10096
|
-
/**
|
|
10097
|
-
* Fetches stores by id
|
|
10098
|
-
* @summary Fetches stores by id
|
|
10099
|
-
* @param {number} storeID Stores ID
|
|
10100
|
-
* @param {*} [options] Override http request option.
|
|
10101
|
-
* @throws {RequiredError}
|
|
10102
|
-
*/
|
|
10103
|
-
adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoreResponse>;
|
|
10104
10128
|
/**
|
|
10105
10129
|
* Fetches stores by xStoreID
|
|
10106
10130
|
* @summary Fetches stores by xStoreID
|
|
@@ -10184,15 +10208,6 @@ export declare class StoresApi extends BaseAPI {
|
|
|
10184
10208
|
* @memberof StoresApi
|
|
10185
10209
|
*/
|
|
10186
10210
|
adminStoresGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesStoresListResponse, any>>;
|
|
10187
|
-
/**
|
|
10188
|
-
* Fetches stores by id
|
|
10189
|
-
* @summary Fetches stores by id
|
|
10190
|
-
* @param {number} storeID Stores ID
|
|
10191
|
-
* @param {*} [options] Override http request option.
|
|
10192
|
-
* @throws {RequiredError}
|
|
10193
|
-
* @memberof StoresApi
|
|
10194
|
-
*/
|
|
10195
|
-
adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesStoreResponse, any>>;
|
|
10196
10211
|
/**
|
|
10197
10212
|
* Fetches stores by xStoreID
|
|
10198
10213
|
* @summary Fetches stores by xStoreID
|
package/dist/api.js
CHANGED
|
@@ -8752,37 +8752,6 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8752
8752
|
options: localVarRequestOptions,
|
|
8753
8753
|
};
|
|
8754
8754
|
}),
|
|
8755
|
-
/**
|
|
8756
|
-
* Fetches stores by id
|
|
8757
|
-
* @summary Fetches stores by id
|
|
8758
|
-
* @param {number} storeID Stores ID
|
|
8759
|
-
* @param {*} [options] Override http request option.
|
|
8760
|
-
* @throws {RequiredError}
|
|
8761
|
-
*/
|
|
8762
|
-
adminStoresGetStoreStoreIDGet: (storeID_1, ...args_1) => __awaiter(this, [storeID_1, ...args_1], void 0, function* (storeID, options = {}) {
|
|
8763
|
-
// verify required parameter 'storeID' is not null or undefined
|
|
8764
|
-
(0, common_1.assertParamExists)('adminStoresGetStoreStoreIDGet', 'storeID', storeID);
|
|
8765
|
-
const localVarPath = `/admin/Stores/GetStore/{storeID}`
|
|
8766
|
-
.replace(`{${"storeID"}}`, encodeURIComponent(String(storeID)));
|
|
8767
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8768
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8769
|
-
let baseOptions;
|
|
8770
|
-
if (configuration) {
|
|
8771
|
-
baseOptions = configuration.baseOptions;
|
|
8772
|
-
}
|
|
8773
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8774
|
-
const localVarHeaderParameter = {};
|
|
8775
|
-
const localVarQueryParameter = {};
|
|
8776
|
-
// authentication BearerAuth required
|
|
8777
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8778
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8779
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8780
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8781
|
-
return {
|
|
8782
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8783
|
-
options: localVarRequestOptions,
|
|
8784
|
-
};
|
|
8785
|
-
}),
|
|
8786
8755
|
/**
|
|
8787
8756
|
* Fetches stores by xStoreID
|
|
8788
8757
|
* @summary Fetches stores by xStoreID
|
|
@@ -9071,22 +9040,6 @@ const StoresApiFp = function (configuration) {
|
|
|
9071
9040
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9072
9041
|
});
|
|
9073
9042
|
},
|
|
9074
|
-
/**
|
|
9075
|
-
* Fetches stores by id
|
|
9076
|
-
* @summary Fetches stores by id
|
|
9077
|
-
* @param {number} storeID Stores ID
|
|
9078
|
-
* @param {*} [options] Override http request option.
|
|
9079
|
-
* @throws {RequiredError}
|
|
9080
|
-
*/
|
|
9081
|
-
adminStoresGetStoreStoreIDGet(storeID, options) {
|
|
9082
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9083
|
-
var _a, _b, _c;
|
|
9084
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresGetStoreStoreIDGet(storeID, options);
|
|
9085
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9086
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresGetStoreStoreIDGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9087
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9088
|
-
});
|
|
9089
|
-
},
|
|
9090
9043
|
/**
|
|
9091
9044
|
* Fetches stores by xStoreID
|
|
9092
9045
|
* @summary Fetches stores by xStoreID
|
|
@@ -9237,16 +9190,6 @@ const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
9237
9190
|
adminStoresGet(options) {
|
|
9238
9191
|
return localVarFp.adminStoresGet(options).then((request) => request(axios, basePath));
|
|
9239
9192
|
},
|
|
9240
|
-
/**
|
|
9241
|
-
* Fetches stores by id
|
|
9242
|
-
* @summary Fetches stores by id
|
|
9243
|
-
* @param {number} storeID Stores ID
|
|
9244
|
-
* @param {*} [options] Override http request option.
|
|
9245
|
-
* @throws {RequiredError}
|
|
9246
|
-
*/
|
|
9247
|
-
adminStoresGetStoreStoreIDGet(storeID, options) {
|
|
9248
|
-
return localVarFp.adminStoresGetStoreStoreIDGet(storeID, options).then((request) => request(axios, basePath));
|
|
9249
|
-
},
|
|
9250
9193
|
/**
|
|
9251
9194
|
* Fetches stores by xStoreID
|
|
9252
9195
|
* @summary Fetches stores by xStoreID
|
|
@@ -9350,17 +9293,6 @@ class StoresApi extends base_1.BaseAPI {
|
|
|
9350
9293
|
adminStoresGet(options) {
|
|
9351
9294
|
return (0, exports.StoresApiFp)(this.configuration).adminStoresGet(options).then((request) => request(this.axios, this.basePath));
|
|
9352
9295
|
}
|
|
9353
|
-
/**
|
|
9354
|
-
* Fetches stores by id
|
|
9355
|
-
* @summary Fetches stores by id
|
|
9356
|
-
* @param {number} storeID Stores ID
|
|
9357
|
-
* @param {*} [options] Override http request option.
|
|
9358
|
-
* @throws {RequiredError}
|
|
9359
|
-
* @memberof StoresApi
|
|
9360
|
-
*/
|
|
9361
|
-
adminStoresGetStoreStoreIDGet(storeID, options) {
|
|
9362
|
-
return (0, exports.StoresApiFp)(this.configuration).adminStoresGetStoreStoreIDGet(storeID, options).then((request) => request(this.axios, this.basePath));
|
|
9363
|
-
}
|
|
9364
9296
|
/**
|
|
9365
9297
|
* Fetches stores by xStoreID
|
|
9366
9298
|
* @summary Fetches stores by xStoreID
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1889,6 +1889,18 @@ export interface DataTypesLoginResponse {
|
|
|
1889
1889
|
* @memberof DataTypesLoginResponse
|
|
1890
1890
|
*/
|
|
1891
1891
|
'email'?: string;
|
|
1892
|
+
/**
|
|
1893
|
+
*
|
|
1894
|
+
* @type {string}
|
|
1895
|
+
* @memberof DataTypesLoginResponse
|
|
1896
|
+
*/
|
|
1897
|
+
'firstName'?: string;
|
|
1898
|
+
/**
|
|
1899
|
+
*
|
|
1900
|
+
* @type {string}
|
|
1901
|
+
* @memberof DataTypesLoginResponse
|
|
1902
|
+
*/
|
|
1903
|
+
'lastName'?: string;
|
|
1892
1904
|
/**
|
|
1893
1905
|
*
|
|
1894
1906
|
* @type {Array<DataTypesMenuAccess>}
|
|
@@ -1907,6 +1919,12 @@ export interface DataTypesLoginResponse {
|
|
|
1907
1919
|
* @memberof DataTypesLoginResponse
|
|
1908
1920
|
*/
|
|
1909
1921
|
'onboardingStep'?: string;
|
|
1922
|
+
/**
|
|
1923
|
+
*
|
|
1924
|
+
* @type {string}
|
|
1925
|
+
* @memberof DataTypesLoginResponse
|
|
1926
|
+
*/
|
|
1927
|
+
'profileImage'?: string;
|
|
1910
1928
|
/**
|
|
1911
1929
|
*
|
|
1912
1930
|
* @type {number}
|
|
@@ -1931,6 +1949,12 @@ export interface DataTypesLoginResponse {
|
|
|
1931
1949
|
* @memberof DataTypesLoginResponse
|
|
1932
1950
|
*/
|
|
1933
1951
|
'userId'?: number;
|
|
1952
|
+
/**
|
|
1953
|
+
*
|
|
1954
|
+
* @type {string}
|
|
1955
|
+
* @memberof DataTypesLoginResponse
|
|
1956
|
+
*/
|
|
1957
|
+
'userName'?: string;
|
|
1934
1958
|
}
|
|
1935
1959
|
/**
|
|
1936
1960
|
*
|
|
@@ -5093,6 +5117,12 @@ export interface DataTypesUser {
|
|
|
5093
5117
|
* @memberof DataTypesUser
|
|
5094
5118
|
*/
|
|
5095
5119
|
'createdUserId'?: number;
|
|
5120
|
+
/**
|
|
5121
|
+
*
|
|
5122
|
+
* @type {string}
|
|
5123
|
+
* @memberof DataTypesUser
|
|
5124
|
+
*/
|
|
5125
|
+
'firstName'?: string;
|
|
5096
5126
|
/**
|
|
5097
5127
|
*
|
|
5098
5128
|
* @type {boolean}
|
|
@@ -5117,6 +5147,12 @@ export interface DataTypesUser {
|
|
|
5117
5147
|
* @memberof DataTypesUser
|
|
5118
5148
|
*/
|
|
5119
5149
|
'lastLogin'?: string;
|
|
5150
|
+
/**
|
|
5151
|
+
*
|
|
5152
|
+
* @type {string}
|
|
5153
|
+
* @memberof DataTypesUser
|
|
5154
|
+
*/
|
|
5155
|
+
'lastName'?: string;
|
|
5120
5156
|
/**
|
|
5121
5157
|
*
|
|
5122
5158
|
* @type {number}
|
|
@@ -5135,6 +5171,18 @@ export interface DataTypesUser {
|
|
|
5135
5171
|
* @memberof DataTypesUser
|
|
5136
5172
|
*/
|
|
5137
5173
|
'modifiedUserId'?: number;
|
|
5174
|
+
/**
|
|
5175
|
+
*
|
|
5176
|
+
* @type {string}
|
|
5177
|
+
* @memberof DataTypesUser
|
|
5178
|
+
*/
|
|
5179
|
+
'onboardingVisibleStep'?: string;
|
|
5180
|
+
/**
|
|
5181
|
+
*
|
|
5182
|
+
* @type {string}
|
|
5183
|
+
* @memberof DataTypesUser
|
|
5184
|
+
*/
|
|
5185
|
+
'onboardingdata'?: string;
|
|
5138
5186
|
/**
|
|
5139
5187
|
*
|
|
5140
5188
|
* @type {string}
|
|
@@ -9917,14 +9965,6 @@ export declare const StoresApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
9917
9965
|
* @throws {RequiredError}
|
|
9918
9966
|
*/
|
|
9919
9967
|
adminStoresGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9920
|
-
/**
|
|
9921
|
-
* Fetches stores by id
|
|
9922
|
-
* @summary Fetches stores by id
|
|
9923
|
-
* @param {number} storeID Stores ID
|
|
9924
|
-
* @param {*} [options] Override http request option.
|
|
9925
|
-
* @throws {RequiredError}
|
|
9926
|
-
*/
|
|
9927
|
-
adminStoresGetStoreStoreIDGet: (storeID: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9928
9968
|
/**
|
|
9929
9969
|
* Fetches stores by xStoreID
|
|
9930
9970
|
* @summary Fetches stores by xStoreID
|
|
@@ -10005,14 +10045,6 @@ export declare const StoresApiFp: (configuration?: Configuration) => {
|
|
|
10005
10045
|
* @throws {RequiredError}
|
|
10006
10046
|
*/
|
|
10007
10047
|
adminStoresGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoresListResponse>>;
|
|
10008
|
-
/**
|
|
10009
|
-
* Fetches stores by id
|
|
10010
|
-
* @summary Fetches stores by id
|
|
10011
|
-
* @param {number} storeID Stores ID
|
|
10012
|
-
* @param {*} [options] Override http request option.
|
|
10013
|
-
* @throws {RequiredError}
|
|
10014
|
-
*/
|
|
10015
|
-
adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesStoreResponse>>;
|
|
10016
10048
|
/**
|
|
10017
10049
|
* Fetches stores by xStoreID
|
|
10018
10050
|
* @summary Fetches stores by xStoreID
|
|
@@ -10093,14 +10125,6 @@ export declare const StoresApiFactory: (configuration?: Configuration, basePath?
|
|
|
10093
10125
|
* @throws {RequiredError}
|
|
10094
10126
|
*/
|
|
10095
10127
|
adminStoresGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoresListResponse>;
|
|
10096
|
-
/**
|
|
10097
|
-
* Fetches stores by id
|
|
10098
|
-
* @summary Fetches stores by id
|
|
10099
|
-
* @param {number} storeID Stores ID
|
|
10100
|
-
* @param {*} [options] Override http request option.
|
|
10101
|
-
* @throws {RequiredError}
|
|
10102
|
-
*/
|
|
10103
|
-
adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesStoreResponse>;
|
|
10104
10128
|
/**
|
|
10105
10129
|
* Fetches stores by xStoreID
|
|
10106
10130
|
* @summary Fetches stores by xStoreID
|
|
@@ -10184,15 +10208,6 @@ export declare class StoresApi extends BaseAPI {
|
|
|
10184
10208
|
* @memberof StoresApi
|
|
10185
10209
|
*/
|
|
10186
10210
|
adminStoresGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesStoresListResponse, any>>;
|
|
10187
|
-
/**
|
|
10188
|
-
* Fetches stores by id
|
|
10189
|
-
* @summary Fetches stores by id
|
|
10190
|
-
* @param {number} storeID Stores ID
|
|
10191
|
-
* @param {*} [options] Override http request option.
|
|
10192
|
-
* @throws {RequiredError}
|
|
10193
|
-
* @memberof StoresApi
|
|
10194
|
-
*/
|
|
10195
|
-
adminStoresGetStoreStoreIDGet(storeID: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesStoreResponse, any>>;
|
|
10196
10211
|
/**
|
|
10197
10212
|
* Fetches stores by xStoreID
|
|
10198
10213
|
* @summary Fetches stores by xStoreID
|
package/dist/esm/api.js
CHANGED
|
@@ -8672,37 +8672,6 @@ export const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
8672
8672
|
options: localVarRequestOptions,
|
|
8673
8673
|
};
|
|
8674
8674
|
}),
|
|
8675
|
-
/**
|
|
8676
|
-
* Fetches stores by id
|
|
8677
|
-
* @summary Fetches stores by id
|
|
8678
|
-
* @param {number} storeID Stores ID
|
|
8679
|
-
* @param {*} [options] Override http request option.
|
|
8680
|
-
* @throws {RequiredError}
|
|
8681
|
-
*/
|
|
8682
|
-
adminStoresGetStoreStoreIDGet: (storeID_1, ...args_1) => __awaiter(this, [storeID_1, ...args_1], void 0, function* (storeID, options = {}) {
|
|
8683
|
-
// verify required parameter 'storeID' is not null or undefined
|
|
8684
|
-
assertParamExists('adminStoresGetStoreStoreIDGet', 'storeID', storeID);
|
|
8685
|
-
const localVarPath = `/admin/Stores/GetStore/{storeID}`
|
|
8686
|
-
.replace(`{${"storeID"}}`, encodeURIComponent(String(storeID)));
|
|
8687
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8688
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8689
|
-
let baseOptions;
|
|
8690
|
-
if (configuration) {
|
|
8691
|
-
baseOptions = configuration.baseOptions;
|
|
8692
|
-
}
|
|
8693
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8694
|
-
const localVarHeaderParameter = {};
|
|
8695
|
-
const localVarQueryParameter = {};
|
|
8696
|
-
// authentication BearerAuth required
|
|
8697
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
8698
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8699
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8700
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8701
|
-
return {
|
|
8702
|
-
url: toPathString(localVarUrlObj),
|
|
8703
|
-
options: localVarRequestOptions,
|
|
8704
|
-
};
|
|
8705
|
-
}),
|
|
8706
8675
|
/**
|
|
8707
8676
|
* Fetches stores by xStoreID
|
|
8708
8677
|
* @summary Fetches stores by xStoreID
|
|
@@ -8990,22 +8959,6 @@ export const StoresApiFp = function (configuration) {
|
|
|
8990
8959
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8991
8960
|
});
|
|
8992
8961
|
},
|
|
8993
|
-
/**
|
|
8994
|
-
* Fetches stores by id
|
|
8995
|
-
* @summary Fetches stores by id
|
|
8996
|
-
* @param {number} storeID Stores ID
|
|
8997
|
-
* @param {*} [options] Override http request option.
|
|
8998
|
-
* @throws {RequiredError}
|
|
8999
|
-
*/
|
|
9000
|
-
adminStoresGetStoreStoreIDGet(storeID, options) {
|
|
9001
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9002
|
-
var _a, _b, _c;
|
|
9003
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresGetStoreStoreIDGet(storeID, options);
|
|
9004
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9005
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresGetStoreStoreIDGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9006
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9007
|
-
});
|
|
9008
|
-
},
|
|
9009
8962
|
/**
|
|
9010
8963
|
* Fetches stores by xStoreID
|
|
9011
8964
|
* @summary Fetches stores by xStoreID
|
|
@@ -9155,16 +9108,6 @@ export const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
9155
9108
|
adminStoresGet(options) {
|
|
9156
9109
|
return localVarFp.adminStoresGet(options).then((request) => request(axios, basePath));
|
|
9157
9110
|
},
|
|
9158
|
-
/**
|
|
9159
|
-
* Fetches stores by id
|
|
9160
|
-
* @summary Fetches stores by id
|
|
9161
|
-
* @param {number} storeID Stores ID
|
|
9162
|
-
* @param {*} [options] Override http request option.
|
|
9163
|
-
* @throws {RequiredError}
|
|
9164
|
-
*/
|
|
9165
|
-
adminStoresGetStoreStoreIDGet(storeID, options) {
|
|
9166
|
-
return localVarFp.adminStoresGetStoreStoreIDGet(storeID, options).then((request) => request(axios, basePath));
|
|
9167
|
-
},
|
|
9168
9111
|
/**
|
|
9169
9112
|
* Fetches stores by xStoreID
|
|
9170
9113
|
* @summary Fetches stores by xStoreID
|
|
@@ -9267,17 +9210,6 @@ export class StoresApi extends BaseAPI {
|
|
|
9267
9210
|
adminStoresGet(options) {
|
|
9268
9211
|
return StoresApiFp(this.configuration).adminStoresGet(options).then((request) => request(this.axios, this.basePath));
|
|
9269
9212
|
}
|
|
9270
|
-
/**
|
|
9271
|
-
* Fetches stores by id
|
|
9272
|
-
* @summary Fetches stores by id
|
|
9273
|
-
* @param {number} storeID Stores ID
|
|
9274
|
-
* @param {*} [options] Override http request option.
|
|
9275
|
-
* @throws {RequiredError}
|
|
9276
|
-
* @memberof StoresApi
|
|
9277
|
-
*/
|
|
9278
|
-
adminStoresGetStoreStoreIDGet(storeID, options) {
|
|
9279
|
-
return StoresApiFp(this.configuration).adminStoresGetStoreStoreIDGet(storeID, options).then((request) => request(this.axios, this.basePath));
|
|
9280
|
-
}
|
|
9281
9213
|
/**
|
|
9282
9214
|
* Fetches stores by xStoreID
|
|
9283
9215
|
* @summary Fetches stores by xStoreID
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|