@longvansoftware/service-js-client 1.0.9 → 1.1.0
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.
@@ -6,20 +6,13 @@ exports.CHANGE_SERVICE_NAME = (0, graphql_tag_1.gql) `
|
|
6
6
|
mutation ChangeServiceName(
|
7
7
|
$serviceId: String!
|
8
8
|
$updateBy: String!
|
9
|
-
$
|
9
|
+
$updateData: String!
|
10
10
|
) {
|
11
|
-
changeServiceName(
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
endDate
|
17
|
-
actionRequest {
|
18
|
-
id
|
19
|
-
name
|
20
|
-
uri
|
21
|
-
}
|
22
|
-
}
|
11
|
+
changeServiceName(
|
12
|
+
serviceId: $serviceId
|
13
|
+
updateBy: $updateBy
|
14
|
+
updateData: $updateData
|
15
|
+
)
|
23
16
|
}
|
24
17
|
`;
|
25
18
|
exports.CREATE_USER_MAIL_HOSTING = (0, graphql_tag_1.gql) `
|
@@ -463,6 +463,7 @@ exports.GET_PRODUCTS = (0, graphql_tag_1.gql) `
|
|
463
463
|
$variant: Boolean
|
464
464
|
$deleteChild: Boolean
|
465
465
|
$display: String
|
466
|
+
$subType: String
|
466
467
|
$currentPage: Int
|
467
468
|
$maxResult: Int
|
468
469
|
$isSync: Boolean
|
@@ -501,6 +502,7 @@ exports.GET_PRODUCTS = (0, graphql_tag_1.gql) `
|
|
501
502
|
variant: $variant
|
502
503
|
deleteChild: $deleteChild
|
503
504
|
display: $display
|
505
|
+
subType: $subType
|
504
506
|
currentPage: $currentPage
|
505
507
|
maxResult: $maxResult
|
506
508
|
isSync: $isSync
|
@@ -11,7 +11,7 @@ export declare class CloudService extends Service {
|
|
11
11
|
setToken(token: string): void;
|
12
12
|
serviceDetail(serviceId: string): Promise<any>;
|
13
13
|
getMailResource(serviceId: string): Promise<any>;
|
14
|
-
changeServiceName(serviceId: string, updateBy: string,
|
14
|
+
changeServiceName(serviceId: string, updateBy: string, updateData: string): Promise<any>;
|
15
15
|
getUserMailHosting(serviceId: string): Promise<any>;
|
16
16
|
createUserMailHosting(payload: CreateUserMailHosting): Promise<any>;
|
17
17
|
updateUserPassword(payload: UpdateUserPassword): Promise<any>;
|
@@ -58,13 +58,13 @@ class CloudService extends serviceSDK_1.Service {
|
|
58
58
|
}
|
59
59
|
});
|
60
60
|
}
|
61
|
-
changeServiceName(serviceId, updateBy,
|
61
|
+
changeServiceName(serviceId, updateBy, updateData) {
|
62
62
|
return __awaiter(this, void 0, void 0, function* () {
|
63
63
|
const mutation = mutations_1.CHANGE_SERVICE_NAME;
|
64
64
|
const variables = {
|
65
65
|
serviceId,
|
66
66
|
updateBy,
|
67
|
-
|
67
|
+
updateData,
|
68
68
|
};
|
69
69
|
try {
|
70
70
|
const response = yield this.graphqlMutationV2(mutation, variables);
|