@wildix/wim-wilma-client 0.0.9 → 0.0.11
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/dist-cjs/protocols/Aws_restJson1.js +8 -7
- package/dist-es/protocols/Aws_restJson1.js +8 -7
- package/dist-types/commands/DeleteGuidelinesDirectoryCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGuidelinesDirectoryCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +5 -5
- package/package.json +1 -1
|
@@ -63,7 +63,7 @@ const se_CreateGuidelinesDirectoryCommand = async (input, context) => {
|
|
|
63
63
|
const headers = {
|
|
64
64
|
'content-type': 'application/json',
|
|
65
65
|
};
|
|
66
|
-
b.bp("/v1/wilma/guidelines
|
|
66
|
+
b.bp("/v1/wilma/guidelines-directories");
|
|
67
67
|
const query = (0, smithy_client_1.map)({
|
|
68
68
|
[_c]: [, input[_c]],
|
|
69
69
|
[_u]: [, input[_u]],
|
|
@@ -132,11 +132,11 @@ exports.se_DeleteGuidelineCommand = se_DeleteGuidelineCommand;
|
|
|
132
132
|
const se_DeleteGuidelinesDirectoryCommand = async (input, context) => {
|
|
133
133
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
134
134
|
const headers = {};
|
|
135
|
-
b.bp("/v1/wilma/guidelines
|
|
136
|
-
b.p('directoryPath', () => input.directoryPath, '{directoryPath+}', true);
|
|
135
|
+
b.bp("/v1/wilma/guidelines-directories");
|
|
137
136
|
const query = (0, smithy_client_1.map)({
|
|
138
137
|
[_c]: [, input[_c]],
|
|
139
138
|
[_u]: [, input[_u]],
|
|
139
|
+
[_p]: [, (0, smithy_client_1.expectNonNull)(input[_p], `path`)],
|
|
140
140
|
});
|
|
141
141
|
let body;
|
|
142
142
|
b.m("DELETE")
|
|
@@ -396,7 +396,7 @@ exports.se_ListGuidelinesCommand = se_ListGuidelinesCommand;
|
|
|
396
396
|
const se_ListGuidelinesDirectoriesCommand = async (input, context) => {
|
|
397
397
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
398
398
|
const headers = {};
|
|
399
|
-
b.bp("/v1/wilma/guidelines
|
|
399
|
+
b.bp("/v1/wilma/guidelines-directories");
|
|
400
400
|
const query = (0, smithy_client_1.map)({
|
|
401
401
|
[_c]: [, input[_c]],
|
|
402
402
|
[_u]: [, input[_u]],
|
|
@@ -550,15 +550,15 @@ const se_UpdateGuidelinesDirectoryCommand = async (input, context) => {
|
|
|
550
550
|
const headers = {
|
|
551
551
|
'content-type': 'application/json',
|
|
552
552
|
};
|
|
553
|
-
b.bp("/v1/wilma/guidelines
|
|
554
|
-
b.p('directoryPath', () => input.directoryPath, '{directoryPath+}', true);
|
|
553
|
+
b.bp("/v1/wilma/guidelines-directories");
|
|
555
554
|
const query = (0, smithy_client_1.map)({
|
|
556
555
|
[_c]: [, input[_c]],
|
|
557
556
|
[_u]: [, input[_u]],
|
|
558
557
|
});
|
|
559
558
|
let body;
|
|
560
559
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
561
|
-
'
|
|
560
|
+
'currentPath': [],
|
|
561
|
+
'newPath': [],
|
|
562
562
|
}));
|
|
563
563
|
b.m("PUT")
|
|
564
564
|
.h(headers)
|
|
@@ -1121,4 +1121,5 @@ const deserializeMetadata = (output) => ({
|
|
|
1121
1121
|
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then(body => context.utf8Encoder(body));
|
|
1122
1122
|
const _c = "company";
|
|
1123
1123
|
const _eSK = "exclusiveStartKey";
|
|
1124
|
+
const _p = "path";
|
|
1124
1125
|
const _u = "user";
|
|
@@ -57,7 +57,7 @@ export const se_CreateGuidelinesDirectoryCommand = async (input, context) => {
|
|
|
57
57
|
const headers = {
|
|
58
58
|
'content-type': 'application/json',
|
|
59
59
|
};
|
|
60
|
-
b.bp("/v1/wilma/guidelines
|
|
60
|
+
b.bp("/v1/wilma/guidelines-directories");
|
|
61
61
|
const query = map({
|
|
62
62
|
[_c]: [, input[_c]],
|
|
63
63
|
[_u]: [, input[_u]],
|
|
@@ -122,11 +122,11 @@ export const se_DeleteGuidelineCommand = async (input, context) => {
|
|
|
122
122
|
export const se_DeleteGuidelinesDirectoryCommand = async (input, context) => {
|
|
123
123
|
const b = rb(input, context);
|
|
124
124
|
const headers = {};
|
|
125
|
-
b.bp("/v1/wilma/guidelines
|
|
126
|
-
b.p('directoryPath', () => input.directoryPath, '{directoryPath+}', true);
|
|
125
|
+
b.bp("/v1/wilma/guidelines-directories");
|
|
127
126
|
const query = map({
|
|
128
127
|
[_c]: [, input[_c]],
|
|
129
128
|
[_u]: [, input[_u]],
|
|
129
|
+
[_p]: [, __expectNonNull(input[_p], `path`)],
|
|
130
130
|
});
|
|
131
131
|
let body;
|
|
132
132
|
b.m("DELETE")
|
|
@@ -371,7 +371,7 @@ export const se_ListGuidelinesCommand = async (input, context) => {
|
|
|
371
371
|
export const se_ListGuidelinesDirectoriesCommand = async (input, context) => {
|
|
372
372
|
const b = rb(input, context);
|
|
373
373
|
const headers = {};
|
|
374
|
-
b.bp("/v1/wilma/guidelines
|
|
374
|
+
b.bp("/v1/wilma/guidelines-directories");
|
|
375
375
|
const query = map({
|
|
376
376
|
[_c]: [, input[_c]],
|
|
377
377
|
[_u]: [, input[_u]],
|
|
@@ -518,15 +518,15 @@ export const se_UpdateGuidelinesDirectoryCommand = async (input, context) => {
|
|
|
518
518
|
const headers = {
|
|
519
519
|
'content-type': 'application/json',
|
|
520
520
|
};
|
|
521
|
-
b.bp("/v1/wilma/guidelines
|
|
522
|
-
b.p('directoryPath', () => input.directoryPath, '{directoryPath+}', true);
|
|
521
|
+
b.bp("/v1/wilma/guidelines-directories");
|
|
523
522
|
const query = map({
|
|
524
523
|
[_c]: [, input[_c]],
|
|
525
524
|
[_u]: [, input[_u]],
|
|
526
525
|
});
|
|
527
526
|
let body;
|
|
528
527
|
body = JSON.stringify(take(input, {
|
|
529
|
-
'
|
|
528
|
+
'currentPath': [],
|
|
529
|
+
'newPath': [],
|
|
530
530
|
}));
|
|
531
531
|
b.m("PUT")
|
|
532
532
|
.h(headers)
|
|
@@ -1059,4 +1059,5 @@ const deserializeMetadata = (output) => ({
|
|
|
1059
1059
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then(body => context.utf8Encoder(body));
|
|
1060
1060
|
const _c = "company";
|
|
1061
1061
|
const _eSK = "exclusiveStartKey";
|
|
1062
|
+
const _p = "path";
|
|
1062
1063
|
const _u = "user";
|
|
@@ -37,7 +37,7 @@ declare const DeleteGuidelinesDirectoryCommand_base: {
|
|
|
37
37
|
* const input = { // DeleteGuidelinesDirectoryInput
|
|
38
38
|
* company: "STRING_VALUE",
|
|
39
39
|
* user: "STRING_VALUE",
|
|
40
|
-
*
|
|
40
|
+
* path: "STRING_VALUE", // required
|
|
41
41
|
* };
|
|
42
42
|
* const command = new DeleteGuidelinesDirectoryCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
@@ -37,8 +37,8 @@ declare const UpdateGuidelinesDirectoryCommand_base: {
|
|
|
37
37
|
* const input = { // UpdateGuidelinesDirectoryInput
|
|
38
38
|
* company: "STRING_VALUE",
|
|
39
39
|
* user: "STRING_VALUE",
|
|
40
|
-
*
|
|
41
|
-
*
|
|
40
|
+
* currentPath: "STRING_VALUE", // required
|
|
41
|
+
* newPath: "STRING_VALUE", // required
|
|
42
42
|
* };
|
|
43
43
|
* const command = new UpdateGuidelinesDirectoryCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
@@ -464,7 +464,7 @@ export interface CreateGuidelinesDirectoryInput {
|
|
|
464
464
|
*/
|
|
465
465
|
user?: string | undefined;
|
|
466
466
|
/**
|
|
467
|
-
*
|
|
467
|
+
* Directory path to create.
|
|
468
468
|
* @public
|
|
469
469
|
*/
|
|
470
470
|
path: string;
|
|
@@ -554,10 +554,10 @@ export interface DeleteGuidelinesDirectoryInput {
|
|
|
554
554
|
*/
|
|
555
555
|
user?: string | undefined;
|
|
556
556
|
/**
|
|
557
|
-
*
|
|
557
|
+
* Directory path to delete.
|
|
558
558
|
* @public
|
|
559
559
|
*/
|
|
560
|
-
|
|
560
|
+
path: string;
|
|
561
561
|
}
|
|
562
562
|
/**
|
|
563
563
|
* @public
|
|
@@ -1127,12 +1127,12 @@ export interface UpdateGuidelinesDirectoryInput {
|
|
|
1127
1127
|
* Current directory path.
|
|
1128
1128
|
* @public
|
|
1129
1129
|
*/
|
|
1130
|
-
|
|
1130
|
+
currentPath: string;
|
|
1131
1131
|
/**
|
|
1132
1132
|
* New directory path.
|
|
1133
1133
|
* @public
|
|
1134
1134
|
*/
|
|
1135
|
-
|
|
1135
|
+
newPath: string;
|
|
1136
1136
|
}
|
|
1137
1137
|
/**
|
|
1138
1138
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wim-wilma-client",
|
|
3
3
|
"description": "@wildix/wim-wilma-client client",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.11",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|