@emilgroup/setting-sdk-node 0.3.1-beta.19 → 0.3.1-beta.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 -2
- package/api/setting-keys-api.ts +6 -6
- package/dist/api/setting-keys-api.js +6 -6
- package/package.json +1 -1
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-node@0.3.1-beta.
|
|
20
|
+
npm install @emilgroup/setting-sdk-node@0.3.1-beta.20 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/setting-sdk-node@0.3.1-beta.
|
|
24
|
+
yarn add @emilgroup/setting-sdk-node@0.3.1-beta.20
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
package/api/setting-keys-api.ts
CHANGED
|
@@ -55,7 +55,7 @@ export const SettingKeysApiAxiosParamCreator = function (configuration?: Configu
|
|
|
55
55
|
createSettingKey: async (createSettingKeyRequestDto: CreateSettingKeyRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
56
56
|
// verify required parameter 'createSettingKeyRequestDto' is not null or undefined
|
|
57
57
|
assertParamExists('createSettingKey', 'createSettingKeyRequestDto', createSettingKeyRequestDto)
|
|
58
|
-
const localVarPath = `/settingservice/
|
|
58
|
+
const localVarPath = `/settingservice/v1/setting-keys`;
|
|
59
59
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60
60
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61
61
|
let baseOptions;
|
|
@@ -104,7 +104,7 @@ export const SettingKeysApiAxiosParamCreator = function (configuration?: Configu
|
|
|
104
104
|
assertParamExists('deleteSettingKey', 'code', code)
|
|
105
105
|
// verify required parameter 'ifMatch' is not null or undefined
|
|
106
106
|
assertParamExists('deleteSettingKey', 'ifMatch', ifMatch)
|
|
107
|
-
const localVarPath = `/settingservice/
|
|
107
|
+
const localVarPath = `/settingservice/v1/setting-keys/{code}`
|
|
108
108
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
109
109
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
110
110
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -155,7 +155,7 @@ export const SettingKeysApiAxiosParamCreator = function (configuration?: Configu
|
|
|
155
155
|
getSettingKey: async (code: string, authorization?: string, version?: number, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
156
156
|
// verify required parameter 'code' is not null or undefined
|
|
157
157
|
assertParamExists('getSettingKey', 'code', code)
|
|
158
|
-
const localVarPath = `/settingservice/
|
|
158
|
+
const localVarPath = `/settingservice/v1/setting-keys/{code}`
|
|
159
159
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
160
160
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
161
161
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -210,7 +210,7 @@ export const SettingKeysApiAxiosParamCreator = function (configuration?: Configu
|
|
|
210
210
|
getSettingKeyBySlug: async (slug: string, authorization?: string, version?: number, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
211
211
|
// verify required parameter 'slug' is not null or undefined
|
|
212
212
|
assertParamExists('getSettingKeyBySlug', 'slug', slug)
|
|
213
|
-
const localVarPath = `/settingservice/
|
|
213
|
+
const localVarPath = `/settingservice/v1/setting-keys/slugs/{slug}`
|
|
214
214
|
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
215
215
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
216
216
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -267,7 +267,7 @@ export const SettingKeysApiAxiosParamCreator = function (configuration?: Configu
|
|
|
267
267
|
* @throws {RequiredError}
|
|
268
268
|
*/
|
|
269
269
|
listSettingKeys: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
270
|
-
const localVarPath = `/settingservice/
|
|
270
|
+
const localVarPath = `/settingservice/v1/setting-keys`;
|
|
271
271
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
272
272
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
273
273
|
let baseOptions;
|
|
@@ -345,7 +345,7 @@ export const SettingKeysApiAxiosParamCreator = function (configuration?: Configu
|
|
|
345
345
|
assertParamExists('updateSettingKey', 'ifMatch', ifMatch)
|
|
346
346
|
// verify required parameter 'updateSettingKeyRequestRestDto' is not null or undefined
|
|
347
347
|
assertParamExists('updateSettingKey', 'updateSettingKeyRequestRestDto', updateSettingKeyRequestRestDto)
|
|
348
|
-
const localVarPath = `/settingservice/
|
|
348
|
+
const localVarPath = `/settingservice/v1/setting-keys/{code}`
|
|
349
349
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
350
350
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
351
351
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -113,7 +113,7 @@ var SettingKeysApiAxiosParamCreator = function (configuration) {
|
|
|
113
113
|
case 0:
|
|
114
114
|
// verify required parameter 'createSettingKeyRequestDto' is not null or undefined
|
|
115
115
|
(0, common_1.assertParamExists)('createSettingKey', 'createSettingKeyRequestDto', createSettingKeyRequestDto);
|
|
116
|
-
localVarPath = "/settingservice/
|
|
116
|
+
localVarPath = "/settingservice/v1/setting-keys";
|
|
117
117
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
118
|
if (configuration) {
|
|
119
119
|
baseOptions = configuration.baseOptions;
|
|
@@ -164,7 +164,7 @@ var SettingKeysApiAxiosParamCreator = function (configuration) {
|
|
|
164
164
|
(0, common_1.assertParamExists)('deleteSettingKey', 'code', code);
|
|
165
165
|
// verify required parameter 'ifMatch' is not null or undefined
|
|
166
166
|
(0, common_1.assertParamExists)('deleteSettingKey', 'ifMatch', ifMatch);
|
|
167
|
-
localVarPath = "/settingservice/
|
|
167
|
+
localVarPath = "/settingservice/v1/setting-keys/{code}"
|
|
168
168
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
169
169
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
170
170
|
if (configuration) {
|
|
@@ -217,7 +217,7 @@ var SettingKeysApiAxiosParamCreator = function (configuration) {
|
|
|
217
217
|
case 0:
|
|
218
218
|
// verify required parameter 'code' is not null or undefined
|
|
219
219
|
(0, common_1.assertParamExists)('getSettingKey', 'code', code);
|
|
220
|
-
localVarPath = "/settingservice/
|
|
220
|
+
localVarPath = "/settingservice/v1/setting-keys/{code}"
|
|
221
221
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
222
222
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
223
223
|
if (configuration) {
|
|
@@ -273,7 +273,7 @@ var SettingKeysApiAxiosParamCreator = function (configuration) {
|
|
|
273
273
|
case 0:
|
|
274
274
|
// verify required parameter 'slug' is not null or undefined
|
|
275
275
|
(0, common_1.assertParamExists)('getSettingKeyBySlug', 'slug', slug);
|
|
276
|
-
localVarPath = "/settingservice/
|
|
276
|
+
localVarPath = "/settingservice/v1/setting-keys/slugs/{slug}"
|
|
277
277
|
.replace("{".concat("slug", "}"), encodeURIComponent(String(slug)));
|
|
278
278
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
279
279
|
if (configuration) {
|
|
@@ -331,7 +331,7 @@ var SettingKeysApiAxiosParamCreator = function (configuration) {
|
|
|
331
331
|
return __generator(this, function (_a) {
|
|
332
332
|
switch (_a.label) {
|
|
333
333
|
case 0:
|
|
334
|
-
localVarPath = "/settingservice/
|
|
334
|
+
localVarPath = "/settingservice/v1/setting-keys";
|
|
335
335
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
336
336
|
if (configuration) {
|
|
337
337
|
baseOptions = configuration.baseOptions;
|
|
@@ -405,7 +405,7 @@ var SettingKeysApiAxiosParamCreator = function (configuration) {
|
|
|
405
405
|
(0, common_1.assertParamExists)('updateSettingKey', 'ifMatch', ifMatch);
|
|
406
406
|
// verify required parameter 'updateSettingKeyRequestRestDto' is not null or undefined
|
|
407
407
|
(0, common_1.assertParamExists)('updateSettingKey', 'updateSettingKeyRequestRestDto', updateSettingKeyRequestRestDto);
|
|
408
|
-
localVarPath = "/settingservice/
|
|
408
|
+
localVarPath = "/settingservice/v1/setting-keys/{code}"
|
|
409
409
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
410
410
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
411
411
|
if (configuration) {
|