@longvansoftware/storefront-js-client 1.9.8 → 2.0.1
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 +93 -93
- package/dist/config/config.js +3 -3
- package/dist/src/graphql/auth/mutations.js +88 -88
- package/dist/src/graphql/auth/queries.js +20 -20
- package/dist/src/graphql/campaign/queries.js +170 -170
- package/dist/src/graphql/cloud/mutations.js +103 -103
- package/dist/src/graphql/cloud/queries.js +112 -112
- package/dist/src/graphql/computing/mutations.js +96 -96
- package/dist/src/graphql/computing/queries.js +41 -41
- package/dist/src/graphql/crm/mutations.js +790 -790
- package/dist/src/graphql/crm/queries.js +580 -580
- package/dist/src/graphql/payment/mutations.js +39 -39
- package/dist/src/graphql/payment/queries.js +57 -57
- package/dist/src/graphql/paymentV2/mutations.js +4 -4
- package/dist/src/graphql/paymentV2/queries.js +59 -59
- package/dist/src/graphql/product/queries.js +342 -342
- package/dist/src/graphql/service/mutations.js +304 -304
- package/dist/src/graphql/service/queries.js +131 -131
- package/dist/src/graphql/user/mutations.js +110 -110
- package/dist/src/graphql/user/queries.js +279 -279
- package/dist/src/lib/order/index.d.ts +1 -0
- package/dist/src/lib/order/index.js +14 -0
- package/dist/src/lib/serviceSDK.js +12 -12
- package/dist/src/lib/shareZalo/index.d.ts +5 -0
- package/dist/src/lib/shareZalo/index.js +32 -0
- package/package.json +43 -43
|
@@ -2,177 +2,177 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GET_CAMPAIGN_ACTIVE_NOW = exports.CHECK_VALID_VOUCHER = exports.GET_VOUCHERS = exports.GET_CAMPAIGN_ACTION_ACTIVE_NOW = void 0;
|
|
4
4
|
const graphql_tag_1 = require("graphql-tag");
|
|
5
|
-
exports.GET_CAMPAIGN_ACTION_ACTIVE_NOW = (0, graphql_tag_1.gql) `
|
|
6
|
-
query GetCampaignActionActiveNow(
|
|
7
|
-
$partyId: String!
|
|
8
|
-
$customerId: String
|
|
9
|
-
$campaignActionType: String
|
|
10
|
-
$productStoreId: String
|
|
11
|
-
) {
|
|
12
|
-
getCampaignActionActiveNow(
|
|
13
|
-
checkCampaignActiveRequest: {
|
|
14
|
-
partyId: $partyId
|
|
15
|
-
customerId: $customerId
|
|
16
|
-
campaignActionType: $campaignActionType
|
|
17
|
-
productStoreId: $productStoreId
|
|
18
|
-
}
|
|
19
|
-
) {
|
|
20
|
-
campaignId
|
|
21
|
-
campaignName
|
|
22
|
-
statusCampaign
|
|
23
|
-
campaignDescription
|
|
24
|
-
fromDate
|
|
25
|
-
toDate
|
|
26
|
-
campaignActionId
|
|
27
|
-
campaignActionName
|
|
28
|
-
type
|
|
29
|
-
campaignActionDescription
|
|
30
|
-
priorityLevel
|
|
31
|
-
}
|
|
32
|
-
}
|
|
5
|
+
exports.GET_CAMPAIGN_ACTION_ACTIVE_NOW = (0, graphql_tag_1.gql) `
|
|
6
|
+
query GetCampaignActionActiveNow(
|
|
7
|
+
$partyId: String!
|
|
8
|
+
$customerId: String
|
|
9
|
+
$campaignActionType: String
|
|
10
|
+
$productStoreId: String
|
|
11
|
+
) {
|
|
12
|
+
getCampaignActionActiveNow(
|
|
13
|
+
checkCampaignActiveRequest: {
|
|
14
|
+
partyId: $partyId
|
|
15
|
+
customerId: $customerId
|
|
16
|
+
campaignActionType: $campaignActionType
|
|
17
|
+
productStoreId: $productStoreId
|
|
18
|
+
}
|
|
19
|
+
) {
|
|
20
|
+
campaignId
|
|
21
|
+
campaignName
|
|
22
|
+
statusCampaign
|
|
23
|
+
campaignDescription
|
|
24
|
+
fromDate
|
|
25
|
+
toDate
|
|
26
|
+
campaignActionId
|
|
27
|
+
campaignActionName
|
|
28
|
+
type
|
|
29
|
+
campaignActionDescription
|
|
30
|
+
priorityLevel
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
33
|
`;
|
|
34
|
-
exports.GET_VOUCHERS = (0, graphql_tag_1.gql) `
|
|
35
|
-
query SearchVoucher(
|
|
36
|
-
$partyId: String
|
|
37
|
-
$storeId: String
|
|
38
|
-
$campaignId: String
|
|
39
|
-
$campaignActionId: String
|
|
40
|
-
$campaignActionType: String
|
|
41
|
-
$customerId: String
|
|
42
|
-
$excludeExpired: Boolean
|
|
43
|
-
$pageNumber: Int
|
|
44
|
-
$pageSize: Int
|
|
45
|
-
) {
|
|
46
|
-
searchVoucher(
|
|
47
|
-
searchVoucherRequest: {
|
|
48
|
-
partyId: $partyId
|
|
49
|
-
storeId: $storeId
|
|
50
|
-
campaignId: $campaignId
|
|
51
|
-
campaignActionId: $campaignActionId
|
|
52
|
-
campaignActionType: $campaignActionType
|
|
53
|
-
customerId: $customerId
|
|
54
|
-
excludeExpired: $excludeExpired
|
|
55
|
-
pageNumber:$pageNumber
|
|
56
|
-
pageSize:$pageSize
|
|
57
|
-
}
|
|
58
|
-
) {
|
|
59
|
-
total
|
|
60
|
-
totalPages
|
|
61
|
-
totalElements
|
|
62
|
-
last
|
|
63
|
-
first
|
|
64
|
-
number
|
|
65
|
-
numberOfElements
|
|
66
|
-
size
|
|
67
|
-
empty
|
|
68
|
-
content {
|
|
69
|
-
campaignActionId
|
|
70
|
-
campaignId
|
|
71
|
-
partyId
|
|
72
|
-
voucherCode
|
|
73
|
-
voucherType
|
|
74
|
-
status
|
|
75
|
-
discountAmount
|
|
76
|
-
discountPercent
|
|
77
|
-
usageLimitPerVoucher
|
|
78
|
-
maximumDiscount
|
|
79
|
-
numberOfTimeUsed
|
|
80
|
-
id
|
|
81
|
-
createdStamp
|
|
82
|
-
updatedStamp
|
|
83
|
-
updatedBy
|
|
84
|
-
createdBy
|
|
85
|
-
isBirthday
|
|
86
|
-
customerId
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
34
|
+
exports.GET_VOUCHERS = (0, graphql_tag_1.gql) `
|
|
35
|
+
query SearchVoucher(
|
|
36
|
+
$partyId: String
|
|
37
|
+
$storeId: String
|
|
38
|
+
$campaignId: String
|
|
39
|
+
$campaignActionId: String
|
|
40
|
+
$campaignActionType: String
|
|
41
|
+
$customerId: String
|
|
42
|
+
$excludeExpired: Boolean
|
|
43
|
+
$pageNumber: Int
|
|
44
|
+
$pageSize: Int
|
|
45
|
+
) {
|
|
46
|
+
searchVoucher(
|
|
47
|
+
searchVoucherRequest: {
|
|
48
|
+
partyId: $partyId
|
|
49
|
+
storeId: $storeId
|
|
50
|
+
campaignId: $campaignId
|
|
51
|
+
campaignActionId: $campaignActionId
|
|
52
|
+
campaignActionType: $campaignActionType
|
|
53
|
+
customerId: $customerId
|
|
54
|
+
excludeExpired: $excludeExpired
|
|
55
|
+
pageNumber:$pageNumber
|
|
56
|
+
pageSize:$pageSize
|
|
57
|
+
}
|
|
58
|
+
) {
|
|
59
|
+
total
|
|
60
|
+
totalPages
|
|
61
|
+
totalElements
|
|
62
|
+
last
|
|
63
|
+
first
|
|
64
|
+
number
|
|
65
|
+
numberOfElements
|
|
66
|
+
size
|
|
67
|
+
empty
|
|
68
|
+
content {
|
|
69
|
+
campaignActionId
|
|
70
|
+
campaignId
|
|
71
|
+
partyId
|
|
72
|
+
voucherCode
|
|
73
|
+
voucherType
|
|
74
|
+
status
|
|
75
|
+
discountAmount
|
|
76
|
+
discountPercent
|
|
77
|
+
usageLimitPerVoucher
|
|
78
|
+
maximumDiscount
|
|
79
|
+
numberOfTimeUsed
|
|
80
|
+
id
|
|
81
|
+
createdStamp
|
|
82
|
+
updatedStamp
|
|
83
|
+
updatedBy
|
|
84
|
+
createdBy
|
|
85
|
+
isBirthday
|
|
86
|
+
customerId
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
90
|
`;
|
|
91
|
-
exports.CHECK_VALID_VOUCHER = (0, graphql_tag_1.gql) `
|
|
92
|
-
query CheckValidVoucher(
|
|
93
|
-
$partyId: String
|
|
94
|
-
$customerId: String
|
|
95
|
-
$voucherCode: String!
|
|
96
|
-
) {
|
|
97
|
-
checkValidVoucher(
|
|
98
|
-
checkValidVoucherRequest: {
|
|
99
|
-
customerId: $customerId
|
|
100
|
-
voucherCode: $voucherCode
|
|
101
|
-
}
|
|
102
|
-
partyId: $partyId
|
|
103
|
-
) {
|
|
104
|
-
campaignActionId
|
|
105
|
-
campaignId
|
|
106
|
-
partyId
|
|
107
|
-
voucherCode
|
|
108
|
-
voucherType
|
|
109
|
-
status
|
|
110
|
-
discountAmount
|
|
111
|
-
discountPercent
|
|
112
|
-
usageLimitPerVoucher
|
|
113
|
-
maximumDiscount
|
|
114
|
-
numberOfTimeUsed
|
|
115
|
-
id
|
|
116
|
-
createdStamp
|
|
117
|
-
updatedStamp
|
|
118
|
-
updatedBy
|
|
119
|
-
createdBy
|
|
120
|
-
}
|
|
121
|
-
}
|
|
91
|
+
exports.CHECK_VALID_VOUCHER = (0, graphql_tag_1.gql) `
|
|
92
|
+
query CheckValidVoucher(
|
|
93
|
+
$partyId: String
|
|
94
|
+
$customerId: String
|
|
95
|
+
$voucherCode: String!
|
|
96
|
+
) {
|
|
97
|
+
checkValidVoucher(
|
|
98
|
+
checkValidVoucherRequest: {
|
|
99
|
+
customerId: $customerId
|
|
100
|
+
voucherCode: $voucherCode
|
|
101
|
+
}
|
|
102
|
+
partyId: $partyId
|
|
103
|
+
) {
|
|
104
|
+
campaignActionId
|
|
105
|
+
campaignId
|
|
106
|
+
partyId
|
|
107
|
+
voucherCode
|
|
108
|
+
voucherType
|
|
109
|
+
status
|
|
110
|
+
discountAmount
|
|
111
|
+
discountPercent
|
|
112
|
+
usageLimitPerVoucher
|
|
113
|
+
maximumDiscount
|
|
114
|
+
numberOfTimeUsed
|
|
115
|
+
id
|
|
116
|
+
createdStamp
|
|
117
|
+
updatedStamp
|
|
118
|
+
updatedBy
|
|
119
|
+
createdBy
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
122
|
`;
|
|
123
|
-
exports.GET_CAMPAIGN_ACTIVE_NOW = (0, graphql_tag_1.gql) `
|
|
124
|
-
query GetCampaignActiveNow(
|
|
125
|
-
$partyId: String!
|
|
126
|
-
$productStoreId: String
|
|
127
|
-
$campaignActionType: String
|
|
128
|
-
$customerId: String
|
|
129
|
-
) {
|
|
130
|
-
getCampaignActiveNow(
|
|
131
|
-
checkCampaignActiveRequest: {
|
|
132
|
-
partyId: $partyId
|
|
133
|
-
customerId: $customerId
|
|
134
|
-
campaignActionType: $campaignActionType
|
|
135
|
-
productStoreId: $productStoreId
|
|
136
|
-
}
|
|
137
|
-
) {
|
|
138
|
-
campaign {
|
|
139
|
-
id
|
|
140
|
-
createdStamp
|
|
141
|
-
updatedStamp
|
|
142
|
-
updatedBy
|
|
143
|
-
createdBy
|
|
144
|
-
useForAll
|
|
145
|
-
description
|
|
146
|
-
partyId
|
|
147
|
-
name
|
|
148
|
-
type
|
|
149
|
-
domain
|
|
150
|
-
fromDate
|
|
151
|
-
toDate
|
|
152
|
-
status
|
|
153
|
-
}
|
|
154
|
-
campaignActions {
|
|
155
|
-
name
|
|
156
|
-
description
|
|
157
|
-
partyId
|
|
158
|
-
type
|
|
159
|
-
viewTemplateId
|
|
160
|
-
urlTemplate
|
|
161
|
-
shortCode
|
|
162
|
-
uriPattern
|
|
163
|
-
parameterPattern
|
|
164
|
-
status
|
|
165
|
-
extendDaysForHeadReview
|
|
166
|
-
priorityLevel
|
|
167
|
-
positionConnectionType
|
|
168
|
-
baseCommissionPercent
|
|
169
|
-
targetType
|
|
170
|
-
id
|
|
171
|
-
createdStamp
|
|
172
|
-
updatedStamp
|
|
173
|
-
updatedBy
|
|
174
|
-
createdBy
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
123
|
+
exports.GET_CAMPAIGN_ACTIVE_NOW = (0, graphql_tag_1.gql) `
|
|
124
|
+
query GetCampaignActiveNow(
|
|
125
|
+
$partyId: String!
|
|
126
|
+
$productStoreId: String
|
|
127
|
+
$campaignActionType: String
|
|
128
|
+
$customerId: String
|
|
129
|
+
) {
|
|
130
|
+
getCampaignActiveNow(
|
|
131
|
+
checkCampaignActiveRequest: {
|
|
132
|
+
partyId: $partyId
|
|
133
|
+
customerId: $customerId
|
|
134
|
+
campaignActionType: $campaignActionType
|
|
135
|
+
productStoreId: $productStoreId
|
|
136
|
+
}
|
|
137
|
+
) {
|
|
138
|
+
campaign {
|
|
139
|
+
id
|
|
140
|
+
createdStamp
|
|
141
|
+
updatedStamp
|
|
142
|
+
updatedBy
|
|
143
|
+
createdBy
|
|
144
|
+
useForAll
|
|
145
|
+
description
|
|
146
|
+
partyId
|
|
147
|
+
name
|
|
148
|
+
type
|
|
149
|
+
domain
|
|
150
|
+
fromDate
|
|
151
|
+
toDate
|
|
152
|
+
status
|
|
153
|
+
}
|
|
154
|
+
campaignActions {
|
|
155
|
+
name
|
|
156
|
+
description
|
|
157
|
+
partyId
|
|
158
|
+
type
|
|
159
|
+
viewTemplateId
|
|
160
|
+
urlTemplate
|
|
161
|
+
shortCode
|
|
162
|
+
uriPattern
|
|
163
|
+
parameterPattern
|
|
164
|
+
status
|
|
165
|
+
extendDaysForHeadReview
|
|
166
|
+
priorityLevel
|
|
167
|
+
positionConnectionType
|
|
168
|
+
baseCommissionPercent
|
|
169
|
+
targetType
|
|
170
|
+
id
|
|
171
|
+
createdStamp
|
|
172
|
+
updatedStamp
|
|
173
|
+
updatedBy
|
|
174
|
+
createdBy
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
178
|
`;
|
|
@@ -2,114 +2,114 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UPDATE_DNS = exports.UPDATE_USER_PASSWORD = exports.UPDATE_PASSWORD = exports.UPDATE_USER_NAME = exports.UPDATE_DOMAIN_NAME = exports.DELETE_USER_MAIL_HOSTING = exports.CREATE_USER_MAIL_HOSTING = exports.CHANGE_SERVICE_NAME = void 0;
|
|
4
4
|
const graphql_tag_1 = require("graphql-tag");
|
|
5
|
-
exports.CHANGE_SERVICE_NAME = (0, graphql_tag_1.gql) `
|
|
6
|
-
mutation ChangeServiceName(
|
|
7
|
-
$serviceId: String!
|
|
8
|
-
$updateBy: String!
|
|
9
|
-
$name: String!
|
|
10
|
-
) {
|
|
11
|
-
changeServiceName(serviceId: $serviceId, updateBy: $updateBy, name: $name) {
|
|
12
|
-
partnerId
|
|
13
|
-
status
|
|
14
|
-
ownerId
|
|
15
|
-
startDate
|
|
16
|
-
endDate
|
|
17
|
-
actionRequest {
|
|
18
|
-
id
|
|
19
|
-
name
|
|
20
|
-
uri
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
5
|
+
exports.CHANGE_SERVICE_NAME = (0, graphql_tag_1.gql) `
|
|
6
|
+
mutation ChangeServiceName(
|
|
7
|
+
$serviceId: String!
|
|
8
|
+
$updateBy: String!
|
|
9
|
+
$name: String!
|
|
10
|
+
) {
|
|
11
|
+
changeServiceName(serviceId: $serviceId, updateBy: $updateBy, name: $name) {
|
|
12
|
+
partnerId
|
|
13
|
+
status
|
|
14
|
+
ownerId
|
|
15
|
+
startDate
|
|
16
|
+
endDate
|
|
17
|
+
actionRequest {
|
|
18
|
+
id
|
|
19
|
+
name
|
|
20
|
+
uri
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
24
|
`;
|
|
25
|
-
exports.CREATE_USER_MAIL_HOSTING = (0, graphql_tag_1.gql) `
|
|
26
|
-
mutation CreateUserMailHosting(
|
|
27
|
-
$serviceId: String!
|
|
28
|
-
$username: String!
|
|
29
|
-
$password: String!
|
|
30
|
-
$fullName: String!
|
|
31
|
-
) {
|
|
32
|
-
createUserMailHosting(
|
|
33
|
-
serviceId: $serviceId
|
|
34
|
-
username: $username
|
|
35
|
-
password: $password
|
|
36
|
-
fullName: $fullName
|
|
37
|
-
)
|
|
38
|
-
}
|
|
25
|
+
exports.CREATE_USER_MAIL_HOSTING = (0, graphql_tag_1.gql) `
|
|
26
|
+
mutation CreateUserMailHosting(
|
|
27
|
+
$serviceId: String!
|
|
28
|
+
$username: String!
|
|
29
|
+
$password: String!
|
|
30
|
+
$fullName: String!
|
|
31
|
+
) {
|
|
32
|
+
createUserMailHosting(
|
|
33
|
+
serviceId: $serviceId
|
|
34
|
+
username: $username
|
|
35
|
+
password: $password
|
|
36
|
+
fullName: $fullName
|
|
37
|
+
)
|
|
38
|
+
}
|
|
39
39
|
`;
|
|
40
|
-
exports.DELETE_USER_MAIL_HOSTING = (0, graphql_tag_1.gql) `
|
|
41
|
-
mutation DeleteUserMailHosting($serviceId: String!, $username: String!) {
|
|
42
|
-
deleteUserMailHosting(serviceId: $serviceId, username: $username)
|
|
43
|
-
}
|
|
40
|
+
exports.DELETE_USER_MAIL_HOSTING = (0, graphql_tag_1.gql) `
|
|
41
|
+
mutation DeleteUserMailHosting($serviceId: String!, $username: String!) {
|
|
42
|
+
deleteUserMailHosting(serviceId: $serviceId, username: $username)
|
|
43
|
+
}
|
|
44
44
|
`;
|
|
45
|
-
exports.UPDATE_DOMAIN_NAME = (0, graphql_tag_1.gql) `
|
|
46
|
-
mutation UpdateDomainName(
|
|
47
|
-
$serviceId: String!
|
|
48
|
-
$updateBy: String!
|
|
49
|
-
$updateData: String!
|
|
50
|
-
) {
|
|
51
|
-
updateDomainName(
|
|
52
|
-
serviceId: $serviceId
|
|
53
|
-
updateBy: $updateBy
|
|
54
|
-
updateData: $updateData
|
|
55
|
-
)
|
|
56
|
-
}
|
|
45
|
+
exports.UPDATE_DOMAIN_NAME = (0, graphql_tag_1.gql) `
|
|
46
|
+
mutation UpdateDomainName(
|
|
47
|
+
$serviceId: String!
|
|
48
|
+
$updateBy: String!
|
|
49
|
+
$updateData: String!
|
|
50
|
+
) {
|
|
51
|
+
updateDomainName(
|
|
52
|
+
serviceId: $serviceId
|
|
53
|
+
updateBy: $updateBy
|
|
54
|
+
updateData: $updateData
|
|
55
|
+
)
|
|
56
|
+
}
|
|
57
57
|
`;
|
|
58
|
-
exports.UPDATE_USER_NAME = (0, graphql_tag_1.gql) `
|
|
59
|
-
mutation UpdateUserName(
|
|
60
|
-
$serviceId: String!
|
|
61
|
-
$updateBy: String!
|
|
62
|
-
$updateData: String!
|
|
63
|
-
) {
|
|
64
|
-
updateUsername(
|
|
65
|
-
serviceId: $serviceId
|
|
66
|
-
updateBy: $updateBy
|
|
67
|
-
updateData: $updateData
|
|
68
|
-
)
|
|
69
|
-
}
|
|
58
|
+
exports.UPDATE_USER_NAME = (0, graphql_tag_1.gql) `
|
|
59
|
+
mutation UpdateUserName(
|
|
60
|
+
$serviceId: String!
|
|
61
|
+
$updateBy: String!
|
|
62
|
+
$updateData: String!
|
|
63
|
+
) {
|
|
64
|
+
updateUsername(
|
|
65
|
+
serviceId: $serviceId
|
|
66
|
+
updateBy: $updateBy
|
|
67
|
+
updateData: $updateData
|
|
68
|
+
)
|
|
69
|
+
}
|
|
70
70
|
`;
|
|
71
|
-
exports.UPDATE_PASSWORD = (0, graphql_tag_1.gql) `
|
|
72
|
-
mutation UpdatePassword(
|
|
73
|
-
$serviceId: String!
|
|
74
|
-
$updateBy: String!
|
|
75
|
-
$updateData: String!
|
|
76
|
-
) {
|
|
77
|
-
updatePassword(
|
|
78
|
-
serviceId: $serviceId
|
|
79
|
-
updateBy: $updateBy
|
|
80
|
-
updateData: $updateData
|
|
81
|
-
)
|
|
82
|
-
}
|
|
71
|
+
exports.UPDATE_PASSWORD = (0, graphql_tag_1.gql) `
|
|
72
|
+
mutation UpdatePassword(
|
|
73
|
+
$serviceId: String!
|
|
74
|
+
$updateBy: String!
|
|
75
|
+
$updateData: String!
|
|
76
|
+
) {
|
|
77
|
+
updatePassword(
|
|
78
|
+
serviceId: $serviceId
|
|
79
|
+
updateBy: $updateBy
|
|
80
|
+
updateData: $updateData
|
|
81
|
+
)
|
|
82
|
+
}
|
|
83
83
|
`;
|
|
84
|
-
exports.UPDATE_USER_PASSWORD = (0, graphql_tag_1.gql) `
|
|
85
|
-
mutation UpdateUserPassword(
|
|
86
|
-
$serviceId: String!
|
|
87
|
-
$username: String!
|
|
88
|
-
$password: String!
|
|
89
|
-
) {
|
|
90
|
-
updateUserPassword(
|
|
91
|
-
serviceId: $serviceId
|
|
92
|
-
username: $username
|
|
93
|
-
password: $password
|
|
94
|
-
)
|
|
95
|
-
}
|
|
84
|
+
exports.UPDATE_USER_PASSWORD = (0, graphql_tag_1.gql) `
|
|
85
|
+
mutation UpdateUserPassword(
|
|
86
|
+
$serviceId: String!
|
|
87
|
+
$username: String!
|
|
88
|
+
$password: String!
|
|
89
|
+
) {
|
|
90
|
+
updateUserPassword(
|
|
91
|
+
serviceId: $serviceId
|
|
92
|
+
username: $username
|
|
93
|
+
password: $password
|
|
94
|
+
)
|
|
95
|
+
}
|
|
96
96
|
`;
|
|
97
|
-
exports.UPDATE_DNS = (0, graphql_tag_1.gql) `
|
|
98
|
-
mutation UpdateDNS(
|
|
99
|
-
$serviceId: String!
|
|
100
|
-
$dns1: String
|
|
101
|
-
$dns2: String
|
|
102
|
-
$dns3: String
|
|
103
|
-
$dns4: String
|
|
104
|
-
$createBy: String
|
|
105
|
-
) {
|
|
106
|
-
updateDNS(
|
|
107
|
-
serviceId: $serviceId
|
|
108
|
-
dns1: $dns1
|
|
109
|
-
dns2: $dns2
|
|
110
|
-
dns3: $dns3
|
|
111
|
-
dns4: $dns4
|
|
112
|
-
createBy: $createBy
|
|
113
|
-
)
|
|
114
|
-
}
|
|
97
|
+
exports.UPDATE_DNS = (0, graphql_tag_1.gql) `
|
|
98
|
+
mutation UpdateDNS(
|
|
99
|
+
$serviceId: String!
|
|
100
|
+
$dns1: String
|
|
101
|
+
$dns2: String
|
|
102
|
+
$dns3: String
|
|
103
|
+
$dns4: String
|
|
104
|
+
$createBy: String
|
|
105
|
+
) {
|
|
106
|
+
updateDNS(
|
|
107
|
+
serviceId: $serviceId
|
|
108
|
+
dns1: $dns1
|
|
109
|
+
dns2: $dns2
|
|
110
|
+
dns3: $dns3
|
|
111
|
+
dns4: $dns4
|
|
112
|
+
createBy: $createBy
|
|
113
|
+
)
|
|
114
|
+
}
|
|
115
115
|
`;
|