@longvansoftware/service-js-client 1.16.1 → 1.16.2
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/src/graphql/accounting_service/mutations.js +96 -96
- package/dist/src/graphql/accounting_service/queries.js +57 -57
- package/dist/src/graphql/auth/mutations.js +235 -235
- package/dist/src/graphql/auth/queries.js +68 -68
- package/dist/src/graphql/cloud/mutations.js +282 -282
- package/dist/src/graphql/cloud/queries.js +341 -341
- package/dist/src/graphql/computing/mutations.js +303 -303
- package/dist/src/graphql/computing/queries.js +548 -548
- package/dist/src/graphql/crm/mutations.js +390 -390
- package/dist/src/graphql/crm/queries.js +357 -357
- package/dist/src/graphql/crm_camping/mutations.js +32 -32
- package/dist/src/graphql/crm_camping/queries.js +228 -199
- package/dist/src/graphql/orderGraphQL/mutations.js +351 -351
- package/dist/src/graphql/orderGraphQL/queries.js +387 -387
- package/dist/src/graphql/payment/mutations.js +45 -45
- package/dist/src/graphql/payment/queries.js +60 -60
- package/dist/src/graphql/paymentLV/mutations.js +19 -19
- package/dist/src/graphql/paymentLV/queries.js +75 -75
- package/dist/src/graphql/product/queries.d.ts +1 -0
- package/dist/src/graphql/product/queries.js +910 -892
- package/dist/src/graphql/quicklab_service/mutations.js +154 -154
- package/dist/src/graphql/quicklab_service/queries.js +108 -108
- package/dist/src/graphql/resource_permission/mutations.js +57 -57
- package/dist/src/graphql/resource_permission/queries.js +13 -13
- package/dist/src/graphql/service/mutations.js +228 -228
- package/dist/src/graphql/service/queries.js +128 -128
- package/dist/src/graphql/user/mutations.js +214 -214
- package/dist/src/graphql/user/queries.js +312 -312
- package/dist/src/lib/crm_camping/index.d.ts +1 -1
- package/dist/src/lib/crm_camping/index.js +10 -6
- package/dist/src/lib/product/index.d.ts +1 -0
- package/dist/src/lib/product/index.js +18 -0
- package/dist/src/lib/service.d.ts +14 -0
- package/dist/src/lib/service.js +101 -0
- package/dist/src/lib/serviceSDK.js +12 -12
- package/dist/src/utils/build-field-string.d.ts +1 -0
- package/dist/src/utils/build-field-string.js +16 -0
- package/package.json +43 -44
- package/dist/src/graphql/campaign/mutations.d.ts +0 -1
- package/dist/src/graphql/campaign/mutations.js +0 -34
- package/dist/src/graphql/campaign/queries.d.ts +0 -9
- package/dist/src/graphql/campaign/queries.js +0 -412
- package/dist/src/graphql/cashbook/queries.d.ts +0 -2
- package/dist/src/graphql/cashbook/queries.js +0 -99
- package/dist/src/graphql/paymentV2/mutations.d.ts +0 -3
- package/dist/src/graphql/paymentV2/mutations.js +0 -54
- package/dist/src/graphql/paymentV2/queries.d.ts +0 -6
- package/dist/src/graphql/paymentV2/queries.js +0 -186
- package/dist/src/graphql/store/mutations.d.ts +0 -1
- package/dist/src/graphql/store/mutations.js +0 -29
- package/dist/src/graphql/store/queries.d.ts +0 -1
- package/dist/src/graphql/store/queries.js +0 -29
- package/dist/src/lib/accounting/index.d.ts +0 -5
- package/dist/src/lib/accounting/index.js +0 -32
- package/dist/src/lib/campaign/index.d.ts +0 -20
- package/dist/src/lib/campaign/index.js +0 -213
- package/dist/src/lib/cashbook/index.d.ts +0 -6
- package/dist/src/lib/cashbook/index.js +0 -56
- package/dist/src/lib/comhub/index.d.ts +0 -6
- package/dist/src/lib/comhub/index.js +0 -50
- package/dist/src/lib/deepLinkVietQr/index.d.ts +0 -6
- package/dist/src/lib/deepLinkVietQr/index.js +0 -45
- package/dist/src/lib/getImage/index.d.ts +0 -4
- package/dist/src/lib/getImage/index.js +0 -10
- package/dist/src/lib/image/index.d.ts +0 -7
- package/dist/src/lib/image/index.js +0 -49
- package/dist/src/lib/omnigateway/index.d.ts +0 -7
- package/dist/src/lib/omnigateway/index.js +0 -58
- package/dist/src/lib/paymentV2/index.d.ts +0 -13
- package/dist/src/lib/paymentV2/index.js +0 -163
- package/dist/src/lib/portal/index.d.ts +0 -21
- package/dist/src/lib/portal/index.js +0 -225
- package/dist/src/lib/store/index.d.ts +0 -30
- package/dist/src/lib/store/index.js +0 -74
- package/dist/src/lib/token/index.d.ts +0 -5
- package/dist/src/lib/token/index.js +0 -32
- package/dist/src/lib/upload/index.d.ts +0 -5
- package/dist/src/lib/upload/index.js +0 -35
- package/dist/src/lib/warehouseV2/index.d.ts +0 -13
- package/dist/src/lib/warehouseV2/index.js +0 -54
- package/dist/src/lib/zca/index.d.ts +0 -12
- package/dist/src/lib/zca/index.js +0 -41
- package/dist/src/types/campaign.d.ts +0 -14
- package/dist/src/types/campaign.js +0 -2
- package/dist/src/types/invoice.d.ts +0 -13
- package/dist/src/types/invoice.js +0 -2
- package/dist/src/types/store.d.ts +0 -158
- package/dist/src/types/store.js +0 -3
- package/dist/src/utils/validatePhoneNumber.d.ts +0 -1
- package/dist/src/utils/validatePhoneNumber.js +0 -20
@@ -2,363 +2,363 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GET_ELASTIC_CLOUD_RESOURCE = exports.SEARCH_ACTIONS = exports.CHECK_DOMAIN_EXIST = exports.GET_DOMAIN_SUPPLIER = exports.GET_CONTACTS_BY_OWNER_ID = exports.GET_OWNERS_BY_CUSTOMER_ID = exports.GET_DOMAIN_CONTACTS = exports.GET_SERVICE_TYPE_LIST = exports.GET_SERVICES_BY_ORDER_ID = exports.GET_IPS_OF_SERVICE = exports.GET_PRODUCTS_OF_SERVICE = exports.SEARCH_SERVICE = exports.SERVICE_TYPE = exports.GET_USER_MAIL_HOSTING = exports.GET_MAIL_RESOURCE = exports.SERVICE_DETAIL = exports.GET_WHOIS_DOMAIN_INFO = exports.CHECK_DOMAIN_NAME_AVAILAVLE_VNNIC = exports.CHECK_DOMAIN_NAME_AVAILABLE = void 0;
|
4
4
|
const graphql_tag_1 = require("graphql-tag");
|
5
|
-
exports.CHECK_DOMAIN_NAME_AVAILABLE = (0, graphql_tag_1.gql) `
|
6
|
-
query CheckDomainNameAvailable($domainName: String!) {
|
7
|
-
checkDomainNameAvailable(domainName: $domainName) {
|
8
|
-
domainName
|
9
|
-
isAvailable
|
10
|
-
topDomain
|
11
|
-
message
|
12
|
-
}
|
13
|
-
}
|
5
|
+
exports.CHECK_DOMAIN_NAME_AVAILABLE = (0, graphql_tag_1.gql) `
|
6
|
+
query CheckDomainNameAvailable($domainName: String!) {
|
7
|
+
checkDomainNameAvailable(domainName: $domainName) {
|
8
|
+
domainName
|
9
|
+
isAvailable
|
10
|
+
topDomain
|
11
|
+
message
|
12
|
+
}
|
13
|
+
}
|
14
14
|
`;
|
15
|
-
exports.CHECK_DOMAIN_NAME_AVAILAVLE_VNNIC = (0, graphql_tag_1.gql) `
|
16
|
-
query CheckDomainNameAvailableVnnic($domainNames: [String!]!) {
|
17
|
-
checkDomainNameAvailableVnnic(domainNames: $domainNames) {
|
18
|
-
domainName
|
19
|
-
isAvailable
|
20
|
-
topDomain
|
21
|
-
}
|
22
|
-
}
|
15
|
+
exports.CHECK_DOMAIN_NAME_AVAILAVLE_VNNIC = (0, graphql_tag_1.gql) `
|
16
|
+
query CheckDomainNameAvailableVnnic($domainNames: [String!]!) {
|
17
|
+
checkDomainNameAvailableVnnic(domainNames: $domainNames) {
|
18
|
+
domainName
|
19
|
+
isAvailable
|
20
|
+
topDomain
|
21
|
+
}
|
22
|
+
}
|
23
23
|
`;
|
24
|
-
exports.GET_WHOIS_DOMAIN_INFO = (0, graphql_tag_1.gql) `
|
25
|
-
query GetWhoisDomainInfo($domainName: String!) {
|
26
|
-
getWhoisDomainInfo(domainName: $domainName) {
|
27
|
-
dnssec
|
28
|
-
domainName
|
29
|
-
existed
|
30
|
-
expiredDate
|
31
|
-
idnDomainName
|
32
|
-
issuedDate
|
33
|
-
dns
|
34
|
-
reason
|
35
|
-
registrantName
|
36
|
-
registrarEnUrl
|
37
|
-
registrarViUrl
|
38
|
-
renewalDeadline
|
39
|
-
status
|
40
|
-
registrarName
|
41
|
-
}
|
42
|
-
}
|
24
|
+
exports.GET_WHOIS_DOMAIN_INFO = (0, graphql_tag_1.gql) `
|
25
|
+
query GetWhoisDomainInfo($domainName: String!) {
|
26
|
+
getWhoisDomainInfo(domainName: $domainName) {
|
27
|
+
dnssec
|
28
|
+
domainName
|
29
|
+
existed
|
30
|
+
expiredDate
|
31
|
+
idnDomainName
|
32
|
+
issuedDate
|
33
|
+
dns
|
34
|
+
reason
|
35
|
+
registrantName
|
36
|
+
registrarEnUrl
|
37
|
+
registrarViUrl
|
38
|
+
renewalDeadline
|
39
|
+
status
|
40
|
+
registrarName
|
41
|
+
}
|
42
|
+
}
|
43
43
|
`;
|
44
|
-
exports.SERVICE_DETAIL = (0, graphql_tag_1.gql) `
|
45
|
-
query ServiceDetail($serviceId: String) {
|
46
|
-
serviceDetail(serviceId: $serviceId) {
|
47
|
-
service {
|
48
|
-
serviceId
|
49
|
-
partnerId
|
50
|
-
serviceName
|
51
|
-
type
|
52
|
-
typeName
|
53
|
-
status
|
54
|
-
ownerId
|
55
|
-
startDate
|
56
|
-
endDate
|
57
|
-
serviceType
|
58
|
-
actionRequest {
|
59
|
-
id
|
60
|
-
name
|
61
|
-
type
|
62
|
-
uri
|
63
|
-
}
|
64
|
-
urlPrivate
|
65
|
-
urlPublic
|
66
|
-
username
|
67
|
-
password
|
68
|
-
attrs
|
69
|
-
description
|
70
|
-
ips
|
71
|
-
}
|
72
|
-
resources {
|
73
|
-
type
|
74
|
-
name
|
75
|
-
total
|
76
|
-
unit
|
77
|
-
value
|
78
|
-
component
|
79
|
-
}
|
80
|
-
configs {
|
81
|
-
configId
|
82
|
-
name
|
83
|
-
configValue
|
84
|
-
}
|
85
|
-
extraData {
|
86
|
-
title
|
87
|
-
content {
|
88
|
-
name
|
89
|
-
type
|
90
|
-
value
|
91
|
-
action
|
92
|
-
}
|
93
|
-
}
|
94
|
-
}
|
95
|
-
}
|
44
|
+
exports.SERVICE_DETAIL = (0, graphql_tag_1.gql) `
|
45
|
+
query ServiceDetail($serviceId: String) {
|
46
|
+
serviceDetail(serviceId: $serviceId) {
|
47
|
+
service {
|
48
|
+
serviceId
|
49
|
+
partnerId
|
50
|
+
serviceName
|
51
|
+
type
|
52
|
+
typeName
|
53
|
+
status
|
54
|
+
ownerId
|
55
|
+
startDate
|
56
|
+
endDate
|
57
|
+
serviceType
|
58
|
+
actionRequest {
|
59
|
+
id
|
60
|
+
name
|
61
|
+
type
|
62
|
+
uri
|
63
|
+
}
|
64
|
+
urlPrivate
|
65
|
+
urlPublic
|
66
|
+
username
|
67
|
+
password
|
68
|
+
attrs
|
69
|
+
description
|
70
|
+
ips
|
71
|
+
}
|
72
|
+
resources {
|
73
|
+
type
|
74
|
+
name
|
75
|
+
total
|
76
|
+
unit
|
77
|
+
value
|
78
|
+
component
|
79
|
+
}
|
80
|
+
configs {
|
81
|
+
configId
|
82
|
+
name
|
83
|
+
configValue
|
84
|
+
}
|
85
|
+
extraData {
|
86
|
+
title
|
87
|
+
content {
|
88
|
+
name
|
89
|
+
type
|
90
|
+
value
|
91
|
+
action
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
96
|
`;
|
97
|
-
exports.GET_MAIL_RESOURCE = (0, graphql_tag_1.gql) `
|
98
|
-
query GetMailResource($serviceId: String!) {
|
99
|
-
getMailResource(serviceId: $serviceId) {
|
100
|
-
accountTotal
|
101
|
-
accountUsed
|
102
|
-
accountRemain
|
103
|
-
storageTotal
|
104
|
-
storageUsed
|
105
|
-
storageRemain
|
106
|
-
storageRemainUnit
|
107
|
-
storageTotalUnit
|
108
|
-
storageUsedUnit
|
109
|
-
enableAntiVirus
|
110
|
-
enableAntiSpam
|
111
|
-
attachmentLimitUnit
|
112
|
-
}
|
113
|
-
}
|
97
|
+
exports.GET_MAIL_RESOURCE = (0, graphql_tag_1.gql) `
|
98
|
+
query GetMailResource($serviceId: String!) {
|
99
|
+
getMailResource(serviceId: $serviceId) {
|
100
|
+
accountTotal
|
101
|
+
accountUsed
|
102
|
+
accountRemain
|
103
|
+
storageTotal
|
104
|
+
storageUsed
|
105
|
+
storageRemain
|
106
|
+
storageRemainUnit
|
107
|
+
storageTotalUnit
|
108
|
+
storageUsedUnit
|
109
|
+
enableAntiVirus
|
110
|
+
enableAntiSpam
|
111
|
+
attachmentLimitUnit
|
112
|
+
}
|
113
|
+
}
|
114
114
|
`;
|
115
|
-
exports.GET_USER_MAIL_HOSTING = (0, graphql_tag_1.gql) `
|
116
|
-
query GetUserMailResource($serviceId: String!) {
|
117
|
-
getUserMailHosting(serviceId: $serviceId) {
|
118
|
-
email
|
119
|
-
username
|
120
|
-
fullName
|
121
|
-
storageUsedUnit
|
122
|
-
storageUsed
|
123
|
-
}
|
124
|
-
}
|
115
|
+
exports.GET_USER_MAIL_HOSTING = (0, graphql_tag_1.gql) `
|
116
|
+
query GetUserMailResource($serviceId: String!) {
|
117
|
+
getUserMailHosting(serviceId: $serviceId) {
|
118
|
+
email
|
119
|
+
username
|
120
|
+
fullName
|
121
|
+
storageUsedUnit
|
122
|
+
storageUsed
|
123
|
+
}
|
124
|
+
}
|
125
125
|
`;
|
126
|
-
exports.SERVICE_TYPE = (0, graphql_tag_1.gql) `
|
127
|
-
query {
|
128
|
-
serviceTypes
|
129
|
-
}
|
126
|
+
exports.SERVICE_TYPE = (0, graphql_tag_1.gql) `
|
127
|
+
query {
|
128
|
+
serviceTypes
|
129
|
+
}
|
130
130
|
`;
|
131
|
-
exports.SEARCH_SERVICE = (0, graphql_tag_1.gql) `
|
132
|
-
query SearchService($filter: CloudServiceFilterInput) {
|
133
|
-
searchService(filter: $filter) {
|
134
|
-
total
|
135
|
-
offset
|
136
|
-
maxResult
|
137
|
-
resultList {
|
138
|
-
serviceId
|
139
|
-
partnerId
|
140
|
-
serviceName
|
141
|
-
type
|
142
|
-
typeName
|
143
|
-
status
|
144
|
-
ownerId
|
145
|
-
startDate
|
146
|
-
endDate
|
147
|
-
serviceType
|
148
|
-
actionRequest {
|
149
|
-
id
|
150
|
-
name
|
151
|
-
type
|
152
|
-
uri
|
153
|
-
}
|
154
|
-
urlPrivate
|
155
|
-
urlPublic
|
156
|
-
username
|
157
|
-
password
|
158
|
-
attrs
|
159
|
-
description
|
160
|
-
ips
|
161
|
-
}
|
162
|
-
}
|
163
|
-
}
|
131
|
+
exports.SEARCH_SERVICE = (0, graphql_tag_1.gql) `
|
132
|
+
query SearchService($filter: CloudServiceFilterInput) {
|
133
|
+
searchService(filter: $filter) {
|
134
|
+
total
|
135
|
+
offset
|
136
|
+
maxResult
|
137
|
+
resultList {
|
138
|
+
serviceId
|
139
|
+
partnerId
|
140
|
+
serviceName
|
141
|
+
type
|
142
|
+
typeName
|
143
|
+
status
|
144
|
+
ownerId
|
145
|
+
startDate
|
146
|
+
endDate
|
147
|
+
serviceType
|
148
|
+
actionRequest {
|
149
|
+
id
|
150
|
+
name
|
151
|
+
type
|
152
|
+
uri
|
153
|
+
}
|
154
|
+
urlPrivate
|
155
|
+
urlPublic
|
156
|
+
username
|
157
|
+
password
|
158
|
+
attrs
|
159
|
+
description
|
160
|
+
ips
|
161
|
+
}
|
162
|
+
}
|
163
|
+
}
|
164
164
|
`;
|
165
|
-
exports.GET_PRODUCTS_OF_SERVICE = (0, graphql_tag_1.gql) `
|
166
|
-
query GetProductsOfService($serviceId: String!) {
|
167
|
-
getProductsOfService(serviceId: $serviceId)
|
168
|
-
}
|
165
|
+
exports.GET_PRODUCTS_OF_SERVICE = (0, graphql_tag_1.gql) `
|
166
|
+
query GetProductsOfService($serviceId: String!) {
|
167
|
+
getProductsOfService(serviceId: $serviceId)
|
168
|
+
}
|
169
169
|
`;
|
170
|
-
exports.GET_IPS_OF_SERVICE = (0, graphql_tag_1.gql) `
|
171
|
-
query GetIpsOfService($serviceId: String!) {
|
172
|
-
getIpsOfService(serviceId: $serviceId)
|
173
|
-
}
|
170
|
+
exports.GET_IPS_OF_SERVICE = (0, graphql_tag_1.gql) `
|
171
|
+
query GetIpsOfService($serviceId: String!) {
|
172
|
+
getIpsOfService(serviceId: $serviceId)
|
173
|
+
}
|
174
174
|
`;
|
175
|
-
exports.GET_SERVICES_BY_ORDER_ID = (0, graphql_tag_1.gql) `
|
176
|
-
query GetServicesByOrderId($orderId: String!) {
|
177
|
-
getServicesByOrderId(orderId: $orderId) {
|
178
|
-
serviceId
|
179
|
-
partnerId
|
180
|
-
serviceName
|
181
|
-
type
|
182
|
-
typeName
|
183
|
-
status
|
184
|
-
ownerId
|
185
|
-
startDate
|
186
|
-
endDate
|
187
|
-
serviceType
|
188
|
-
actionRequest {
|
189
|
-
id
|
190
|
-
name
|
191
|
-
uri
|
192
|
-
type
|
193
|
-
}
|
194
|
-
urlPrivate
|
195
|
-
urlPublic
|
196
|
-
username
|
197
|
-
password
|
198
|
-
attrs
|
199
|
-
}
|
200
|
-
}
|
175
|
+
exports.GET_SERVICES_BY_ORDER_ID = (0, graphql_tag_1.gql) `
|
176
|
+
query GetServicesByOrderId($orderId: String!) {
|
177
|
+
getServicesByOrderId(orderId: $orderId) {
|
178
|
+
serviceId
|
179
|
+
partnerId
|
180
|
+
serviceName
|
181
|
+
type
|
182
|
+
typeName
|
183
|
+
status
|
184
|
+
ownerId
|
185
|
+
startDate
|
186
|
+
endDate
|
187
|
+
serviceType
|
188
|
+
actionRequest {
|
189
|
+
id
|
190
|
+
name
|
191
|
+
uri
|
192
|
+
type
|
193
|
+
}
|
194
|
+
urlPrivate
|
195
|
+
urlPublic
|
196
|
+
username
|
197
|
+
password
|
198
|
+
attrs
|
199
|
+
}
|
200
|
+
}
|
201
201
|
`;
|
202
|
-
exports.GET_SERVICE_TYPE_LIST = (0, graphql_tag_1.gql) `
|
203
|
-
query {
|
204
|
-
getServiceTypeList {
|
205
|
-
id
|
206
|
-
key
|
207
|
-
value
|
208
|
-
}
|
209
|
-
}
|
202
|
+
exports.GET_SERVICE_TYPE_LIST = (0, graphql_tag_1.gql) `
|
203
|
+
query {
|
204
|
+
getServiceTypeList {
|
205
|
+
id
|
206
|
+
key
|
207
|
+
value
|
208
|
+
}
|
209
|
+
}
|
210
210
|
`;
|
211
|
-
exports.GET_DOMAIN_CONTACTS = (0, graphql_tag_1.gql) `
|
212
|
-
query GetDomainContacts($serviceId: String!) {
|
213
|
-
getDomainContacts(serviceId: $serviceId) {
|
214
|
-
supplierId
|
215
|
-
domainContacts {
|
216
|
-
partyId
|
217
|
-
fullName
|
218
|
-
otherName
|
219
|
-
customerType
|
220
|
-
email
|
221
|
-
country
|
222
|
-
provinceId
|
223
|
-
province
|
224
|
-
districtId
|
225
|
-
district
|
226
|
-
wardId
|
227
|
-
ward
|
228
|
-
address
|
229
|
-
phone
|
230
|
-
contactType
|
231
|
-
taxCode
|
232
|
-
businessCode
|
233
|
-
idNumber
|
234
|
-
gender
|
235
|
-
birthday
|
236
|
-
level
|
237
|
-
}
|
238
|
-
}
|
239
|
-
}
|
211
|
+
exports.GET_DOMAIN_CONTACTS = (0, graphql_tag_1.gql) `
|
212
|
+
query GetDomainContacts($serviceId: String!) {
|
213
|
+
getDomainContacts(serviceId: $serviceId) {
|
214
|
+
supplierId
|
215
|
+
domainContacts {
|
216
|
+
partyId
|
217
|
+
fullName
|
218
|
+
otherName
|
219
|
+
customerType
|
220
|
+
email
|
221
|
+
country
|
222
|
+
provinceId
|
223
|
+
province
|
224
|
+
districtId
|
225
|
+
district
|
226
|
+
wardId
|
227
|
+
ward
|
228
|
+
address
|
229
|
+
phone
|
230
|
+
contactType
|
231
|
+
taxCode
|
232
|
+
businessCode
|
233
|
+
idNumber
|
234
|
+
gender
|
235
|
+
birthday
|
236
|
+
level
|
237
|
+
}
|
238
|
+
}
|
239
|
+
}
|
240
240
|
`;
|
241
|
-
exports.GET_OWNERS_BY_CUSTOMER_ID = (0, graphql_tag_1.gql) `
|
242
|
-
query GetOwnersByCustomerId($userId: String!) {
|
243
|
-
getOwnersByCustomerId(userId: $userId) {
|
244
|
-
id
|
245
|
-
name
|
246
|
-
type
|
247
|
-
phone
|
248
|
-
email
|
249
|
-
identityNumber
|
250
|
-
imageUrl
|
251
|
-
address
|
252
|
-
birthday
|
253
|
-
gender
|
254
|
-
status
|
255
|
-
}
|
256
|
-
}
|
241
|
+
exports.GET_OWNERS_BY_CUSTOMER_ID = (0, graphql_tag_1.gql) `
|
242
|
+
query GetOwnersByCustomerId($userId: String!) {
|
243
|
+
getOwnersByCustomerId(userId: $userId) {
|
244
|
+
id
|
245
|
+
name
|
246
|
+
type
|
247
|
+
phone
|
248
|
+
email
|
249
|
+
identityNumber
|
250
|
+
imageUrl
|
251
|
+
address
|
252
|
+
birthday
|
253
|
+
gender
|
254
|
+
status
|
255
|
+
}
|
256
|
+
}
|
257
257
|
`;
|
258
|
-
exports.GET_CONTACTS_BY_OWNER_ID = (0, graphql_tag_1.gql) `
|
259
|
-
query GetContactsByOwnerId($ownerId: String!) {
|
260
|
-
getContactsByOwnerId(ownerId: $ownerId) {
|
261
|
-
partyId
|
262
|
-
fullName
|
263
|
-
otherName
|
264
|
-
customerType
|
265
|
-
email
|
266
|
-
country
|
267
|
-
provinceId
|
268
|
-
province
|
269
|
-
districtId
|
270
|
-
district
|
271
|
-
wardId
|
272
|
-
ward
|
273
|
-
address
|
274
|
-
phone
|
275
|
-
contactType
|
276
|
-
taxCode
|
277
|
-
businessCode
|
278
|
-
idNumber
|
279
|
-
gender
|
280
|
-
birthday
|
281
|
-
level
|
282
|
-
}
|
283
|
-
}
|
258
|
+
exports.GET_CONTACTS_BY_OWNER_ID = (0, graphql_tag_1.gql) `
|
259
|
+
query GetContactsByOwnerId($ownerId: String!) {
|
260
|
+
getContactsByOwnerId(ownerId: $ownerId) {
|
261
|
+
partyId
|
262
|
+
fullName
|
263
|
+
otherName
|
264
|
+
customerType
|
265
|
+
email
|
266
|
+
country
|
267
|
+
provinceId
|
268
|
+
province
|
269
|
+
districtId
|
270
|
+
district
|
271
|
+
wardId
|
272
|
+
ward
|
273
|
+
address
|
274
|
+
phone
|
275
|
+
contactType
|
276
|
+
taxCode
|
277
|
+
businessCode
|
278
|
+
idNumber
|
279
|
+
gender
|
280
|
+
birthday
|
281
|
+
level
|
282
|
+
}
|
283
|
+
}
|
284
284
|
`;
|
285
|
-
exports.GET_DOMAIN_SUPPLIER = (0, graphql_tag_1.gql) `
|
286
|
-
query GetDomainSupplier($serviceId: String!) {
|
287
|
-
getDomainSupplier(serviceId: $serviceId)
|
288
|
-
}
|
285
|
+
exports.GET_DOMAIN_SUPPLIER = (0, graphql_tag_1.gql) `
|
286
|
+
query GetDomainSupplier($serviceId: String!) {
|
287
|
+
getDomainSupplier(serviceId: $serviceId)
|
288
|
+
}
|
289
289
|
`;
|
290
|
-
exports.CHECK_DOMAIN_EXIST = (0, graphql_tag_1.gql) `
|
291
|
-
query CheckDomainExist($domainName: String!) {
|
292
|
-
checkDomainExist(domainName: $domainName)
|
293
|
-
}
|
290
|
+
exports.CHECK_DOMAIN_EXIST = (0, graphql_tag_1.gql) `
|
291
|
+
query CheckDomainExist($domainName: String!) {
|
292
|
+
checkDomainExist(domainName: $domainName)
|
293
|
+
}
|
294
294
|
`;
|
295
|
-
exports.SEARCH_ACTIONS = (0, graphql_tag_1.gql) `
|
296
|
-
query SearchActions($parameter: ParameterSearchAction) {
|
297
|
-
searchActions(parameter: $parameter) {
|
298
|
-
content {
|
299
|
-
id
|
300
|
-
partyId
|
301
|
-
parentId
|
302
|
-
name
|
303
|
-
description
|
304
|
-
workEffortTypeId
|
305
|
-
targetId
|
306
|
-
targetType
|
307
|
-
targetUrl
|
308
|
-
status
|
309
|
-
endDateExpect
|
310
|
-
endDateActual
|
311
|
-
startDateActual
|
312
|
-
startDateExpect
|
313
|
-
totalTimeActual
|
314
|
-
source
|
315
|
-
ownerId
|
316
|
-
detailUrl
|
317
|
-
execDate
|
318
|
-
retryCount
|
319
|
-
exception
|
320
|
-
attributes
|
321
|
-
group
|
322
|
-
requesterId
|
323
|
-
receiverId
|
324
|
-
createdBy
|
325
|
-
createdStamp
|
326
|
-
updatedBy
|
327
|
-
updatedStamp
|
328
|
-
}
|
329
|
-
totalPages
|
330
|
-
totalElements
|
331
|
-
size
|
332
|
-
number
|
333
|
-
numberOfElements
|
334
|
-
first
|
335
|
-
last
|
336
|
-
empty
|
337
|
-
}
|
338
|
-
}
|
295
|
+
exports.SEARCH_ACTIONS = (0, graphql_tag_1.gql) `
|
296
|
+
query SearchActions($parameter: ParameterSearchAction) {
|
297
|
+
searchActions(parameter: $parameter) {
|
298
|
+
content {
|
299
|
+
id
|
300
|
+
partyId
|
301
|
+
parentId
|
302
|
+
name
|
303
|
+
description
|
304
|
+
workEffortTypeId
|
305
|
+
targetId
|
306
|
+
targetType
|
307
|
+
targetUrl
|
308
|
+
status
|
309
|
+
endDateExpect
|
310
|
+
endDateActual
|
311
|
+
startDateActual
|
312
|
+
startDateExpect
|
313
|
+
totalTimeActual
|
314
|
+
source
|
315
|
+
ownerId
|
316
|
+
detailUrl
|
317
|
+
execDate
|
318
|
+
retryCount
|
319
|
+
exception
|
320
|
+
attributes
|
321
|
+
group
|
322
|
+
requesterId
|
323
|
+
receiverId
|
324
|
+
createdBy
|
325
|
+
createdStamp
|
326
|
+
updatedBy
|
327
|
+
updatedStamp
|
328
|
+
}
|
329
|
+
totalPages
|
330
|
+
totalElements
|
331
|
+
size
|
332
|
+
number
|
333
|
+
numberOfElements
|
334
|
+
first
|
335
|
+
last
|
336
|
+
empty
|
337
|
+
}
|
338
|
+
}
|
339
339
|
`;
|
340
|
-
exports.GET_ELASTIC_CLOUD_RESOURCE = (0, graphql_tag_1.gql) `
|
341
|
-
query GetElasticCloudResource($serviceId: String!) {
|
342
|
-
getElasticCloudResource(serviceId: $serviceId) {
|
343
|
-
ram {
|
344
|
-
size
|
345
|
-
used
|
346
|
-
unit
|
347
|
-
}
|
348
|
-
cpu {
|
349
|
-
size
|
350
|
-
used
|
351
|
-
unit
|
352
|
-
}
|
353
|
-
disk {
|
354
|
-
size
|
355
|
-
used
|
356
|
-
unit
|
357
|
-
}
|
358
|
-
ip {
|
359
|
-
size
|
360
|
-
used
|
361
|
-
}
|
362
|
-
}
|
363
|
-
}
|
340
|
+
exports.GET_ELASTIC_CLOUD_RESOURCE = (0, graphql_tag_1.gql) `
|
341
|
+
query GetElasticCloudResource($serviceId: String!) {
|
342
|
+
getElasticCloudResource(serviceId: $serviceId) {
|
343
|
+
ram {
|
344
|
+
size
|
345
|
+
used
|
346
|
+
unit
|
347
|
+
}
|
348
|
+
cpu {
|
349
|
+
size
|
350
|
+
used
|
351
|
+
unit
|
352
|
+
}
|
353
|
+
disk {
|
354
|
+
size
|
355
|
+
used
|
356
|
+
unit
|
357
|
+
}
|
358
|
+
ip {
|
359
|
+
size
|
360
|
+
used
|
361
|
+
}
|
362
|
+
}
|
363
|
+
}
|
364
364
|
`;
|