@emilgroup/setting-sdk 0.3.1-beta.20 → 0.3.1-beta.22

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
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/setting-sdk@0.3.1-beta.20 --save
20
+ npm install @emilgroup/setting-sdk@0.3.1-beta.22 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/setting-sdk@0.3.1-beta.20
24
+ yarn add @emilgroup/setting-sdk@0.3.1-beta.22
25
25
  ```
26
26
 
27
27
  And then you can import ``.
@@ -51,7 +51,7 @@ export const SettingKeysApiAxiosParamCreator = function (configuration?: Configu
51
51
  createSettingKey: async (createSettingKeyRequestDto: CreateSettingKeyRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
52
52
  // verify required parameter 'createSettingKeyRequestDto' is not null or undefined
53
53
  assertParamExists('createSettingKey', 'createSettingKeyRequestDto', createSettingKeyRequestDto)
54
- const localVarPath = `/settingservice/v2/setting-keys`;
54
+ const localVarPath = `/settingservice/v1/setting-keys`;
55
55
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
56
56
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
57
57
  let baseOptions;
@@ -100,7 +100,7 @@ export const SettingKeysApiAxiosParamCreator = function (configuration?: Configu
100
100
  assertParamExists('deleteSettingKey', 'code', code)
101
101
  // verify required parameter 'ifMatch' is not null or undefined
102
102
  assertParamExists('deleteSettingKey', 'ifMatch', ifMatch)
103
- const localVarPath = `/settingservice/v2/setting-keys/{code}`
103
+ const localVarPath = `/settingservice/v1/setting-keys/{code}`
104
104
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
105
105
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
106
106
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -151,7 +151,7 @@ export const SettingKeysApiAxiosParamCreator = function (configuration?: Configu
151
151
  getSettingKey: async (code: string, authorization?: string, version?: number, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
152
152
  // verify required parameter 'code' is not null or undefined
153
153
  assertParamExists('getSettingKey', 'code', code)
154
- const localVarPath = `/settingservice/v2/setting-keys/{code}`
154
+ const localVarPath = `/settingservice/v1/setting-keys/{code}`
155
155
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
156
156
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
157
157
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -206,7 +206,7 @@ export const SettingKeysApiAxiosParamCreator = function (configuration?: Configu
206
206
  getSettingKeyBySlug: async (slug: string, authorization?: string, version?: number, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
207
207
  // verify required parameter 'slug' is not null or undefined
208
208
  assertParamExists('getSettingKeyBySlug', 'slug', slug)
209
- const localVarPath = `/settingservice/v2/setting-keys/slugs/{slug}`
209
+ const localVarPath = `/settingservice/v1/setting-keys/slugs/{slug}`
210
210
  .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
211
211
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
212
212
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -263,7 +263,7 @@ export const SettingKeysApiAxiosParamCreator = function (configuration?: Configu
263
263
  * @throws {RequiredError}
264
264
  */
265
265
  listSettingKeys: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
266
- const localVarPath = `/settingservice/v2/setting-keys`;
266
+ const localVarPath = `/settingservice/v1/setting-keys`;
267
267
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
268
268
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
269
269
  let baseOptions;
@@ -341,7 +341,7 @@ export const SettingKeysApiAxiosParamCreator = function (configuration?: Configu
341
341
  assertParamExists('updateSettingKey', 'ifMatch', ifMatch)
342
342
  // verify required parameter 'updateSettingKeyRequestRestDto' is not null or undefined
343
343
  assertParamExists('updateSettingKey', 'updateSettingKeyRequestRestDto', updateSettingKeyRequestRestDto)
344
- const localVarPath = `/settingservice/v2/setting-keys/{code}`
344
+ const localVarPath = `/settingservice/v1/setting-keys/{code}`
345
345
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
346
346
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
347
347
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -109,7 +109,7 @@ var SettingKeysApiAxiosParamCreator = function (configuration) {
109
109
  case 0:
110
110
  // verify required parameter 'createSettingKeyRequestDto' is not null or undefined
111
111
  (0, common_1.assertParamExists)('createSettingKey', 'createSettingKeyRequestDto', createSettingKeyRequestDto);
112
- localVarPath = "/settingservice/v2/setting-keys";
112
+ localVarPath = "/settingservice/v1/setting-keys";
113
113
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
114
  if (configuration) {
115
115
  baseOptions = configuration.baseOptions;
@@ -160,7 +160,7 @@ var SettingKeysApiAxiosParamCreator = function (configuration) {
160
160
  (0, common_1.assertParamExists)('deleteSettingKey', 'code', code);
161
161
  // verify required parameter 'ifMatch' is not null or undefined
162
162
  (0, common_1.assertParamExists)('deleteSettingKey', 'ifMatch', ifMatch);
163
- localVarPath = "/settingservice/v2/setting-keys/{code}"
163
+ localVarPath = "/settingservice/v1/setting-keys/{code}"
164
164
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
165
165
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
166
166
  if (configuration) {
@@ -213,7 +213,7 @@ var SettingKeysApiAxiosParamCreator = function (configuration) {
213
213
  case 0:
214
214
  // verify required parameter 'code' is not null or undefined
215
215
  (0, common_1.assertParamExists)('getSettingKey', 'code', code);
216
- localVarPath = "/settingservice/v2/setting-keys/{code}"
216
+ localVarPath = "/settingservice/v1/setting-keys/{code}"
217
217
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
218
218
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
219
219
  if (configuration) {
@@ -269,7 +269,7 @@ var SettingKeysApiAxiosParamCreator = function (configuration) {
269
269
  case 0:
270
270
  // verify required parameter 'slug' is not null or undefined
271
271
  (0, common_1.assertParamExists)('getSettingKeyBySlug', 'slug', slug);
272
- localVarPath = "/settingservice/v2/setting-keys/slugs/{slug}"
272
+ localVarPath = "/settingservice/v1/setting-keys/slugs/{slug}"
273
273
  .replace("{".concat("slug", "}"), encodeURIComponent(String(slug)));
274
274
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
275
275
  if (configuration) {
@@ -327,7 +327,7 @@ var SettingKeysApiAxiosParamCreator = function (configuration) {
327
327
  return __generator(this, function (_a) {
328
328
  switch (_a.label) {
329
329
  case 0:
330
- localVarPath = "/settingservice/v2/setting-keys";
330
+ localVarPath = "/settingservice/v1/setting-keys";
331
331
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
332
332
  if (configuration) {
333
333
  baseOptions = configuration.baseOptions;
@@ -401,7 +401,7 @@ var SettingKeysApiAxiosParamCreator = function (configuration) {
401
401
  (0, common_1.assertParamExists)('updateSettingKey', 'ifMatch', ifMatch);
402
402
  // verify required parameter 'updateSettingKeyRequestRestDto' is not null or undefined
403
403
  (0, common_1.assertParamExists)('updateSettingKey', 'updateSettingKeyRequestRestDto', updateSettingKeyRequestRestDto);
404
- localVarPath = "/settingservice/v2/setting-keys/{code}"
404
+ localVarPath = "/settingservice/v1/setting-keys/{code}"
405
405
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
406
406
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
407
407
  if (configuration) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/setting-sdk",
3
- "version": "0.3.1-beta.20",
3
+ "version": "0.3.1-beta.22",
4
4
  "description": "OpenAPI client for @emilgroup/setting-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [