@longvansoftware/service-js-client 2.6.9 → 2.7.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.
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CONVERT_PRODUCT_RESOURCE_OUTPUTS_TO_PRODUCT_JSON_LIST = exports.CHECK_BUSINESS_BY_TAX_CODE_DYNAMIC = exports.CHECK_ENTERPRISE_BY_TAX_CODE_DYNAMIC = exports.UPDATE_URL_PUBLIC = exports.UPDATE_SERVICE_READY_DEPLOY = exports.UPDATE_SERVICE_NEW = exports.UPDATE_SERVICE_COMPLETED = exports.UPDATE_ACTION_CUSTOM_ATTRIBUTE = exports.UPDATE_ACTION_STATUS = exports.CREATE_ACTION_CHANGE_IP_OF_SERVICE = exports.GET_ORDER_CHANGE_RESOURCE_TERM = exports.CREATE_DOMAIN_CONTACT = 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 = exports.CHECK_DOMAIN_NAME = exports.CHECK_LIST_DOMAIN_NAME = exports.GET_DOMAIN_INFO = void 0;
|
|
4
4
|
const graphql_tag_1 = require("graphql-tag");
|
|
5
5
|
exports.GET_DOMAIN_INFO = (0, graphql_tag_1.gql) `
|
|
6
|
-
mutation GetDomainInfo($domainName: String!) {
|
|
7
|
-
getDomainInfo(domainName: $domainName) {
|
|
6
|
+
mutation GetDomainInfo($domainName: String! $isClearCache: Boolean) {
|
|
7
|
+
getDomainInfo(domainName: $domainName isClearCache: $isClearCache) {
|
|
8
8
|
dnssec
|
|
9
9
|
domainName
|
|
10
10
|
existed
|
|
@@ -23,8 +23,8 @@ exports.GET_DOMAIN_INFO = (0, graphql_tag_1.gql) `
|
|
|
23
23
|
}
|
|
24
24
|
`;
|
|
25
25
|
exports.CHECK_LIST_DOMAIN_NAME = (0, graphql_tag_1.gql) `
|
|
26
|
-
mutation CheckListDomainName($domainNames: [String!]!) {
|
|
27
|
-
checkListDomainName(domainNames: $domainNames) {
|
|
26
|
+
mutation CheckListDomainName($domainNames: [String!]! $isClearCache: Boolean) {
|
|
27
|
+
checkListDomainName(domainNames: $domainNames isClearCache: $isClearCache) {
|
|
28
28
|
domainName
|
|
29
29
|
isAvailable
|
|
30
30
|
topDomain
|
|
@@ -32,8 +32,8 @@ exports.CHECK_LIST_DOMAIN_NAME = (0, graphql_tag_1.gql) `
|
|
|
32
32
|
}
|
|
33
33
|
`;
|
|
34
34
|
exports.CHECK_DOMAIN_NAME = (0, graphql_tag_1.gql) `
|
|
35
|
-
mutation CheckDomainName($domainName: String!) {
|
|
36
|
-
checkDomainName(domainName: $domainName) {
|
|
35
|
+
mutation CheckDomainName($domainName: String! $isClearCache: Boolean) {
|
|
36
|
+
checkDomainName(domainName: $domainName isClearCache: $isClearCache) {
|
|
37
37
|
domainName
|
|
38
38
|
isAvailable
|
|
39
39
|
topDomain
|
|
@@ -31,17 +31,17 @@ export declare class CloudService extends Service {
|
|
|
31
31
|
getProductsOfService(serviceId: string): Promise<any>;
|
|
32
32
|
getIpsOfService(serviceId: string): Promise<any>;
|
|
33
33
|
getServicesByOrderId(orderId: string): Promise<any>;
|
|
34
|
-
checkDomainNameAvailable(domainName: string): Promise<any>;
|
|
35
|
-
checkDomainNameAvailableVnnic(domainNames: [string]): Promise<any>;
|
|
36
|
-
checkDomainName(domainName: string): Promise<any>;
|
|
37
|
-
checkListDomainName(domainNames: [string]): Promise<any>;
|
|
34
|
+
checkDomainNameAvailable(domainName: string, isClearCache: Boolean): Promise<any>;
|
|
35
|
+
checkDomainNameAvailableVnnic(domainNames: [string], isClearCache: Boolean): Promise<any>;
|
|
36
|
+
checkDomainName(domainName: string, isClearCache: Boolean): Promise<any>;
|
|
37
|
+
checkListDomainName(domainNames: [string], isClearCache: Boolean): Promise<any>;
|
|
38
38
|
getServiceTypeList(): Promise<any>;
|
|
39
39
|
createDomainContact(serviceId: string, domainContacts: any): Promise<any>;
|
|
40
40
|
getDomainContacts(serviceId: string): Promise<any>;
|
|
41
41
|
getOwnersByCustomerId(userId: string): Promise<any>;
|
|
42
42
|
getContactsByOwnerId(ownerId: string): Promise<any>;
|
|
43
|
-
getWhoisDomainInfo(domainName: string): Promise<any>;
|
|
44
|
-
getDomainInfo(domainName: string): Promise<any>;
|
|
43
|
+
getWhoisDomainInfo(domainName: string, isClearCache: Boolean): Promise<any>;
|
|
44
|
+
getDomainInfo(domainName: string, isClearCache: Boolean): Promise<any>;
|
|
45
45
|
getDomainSupplier(serviceId: string): Promise<any>;
|
|
46
46
|
checkDomainExist(domainName: string): Promise<any>;
|
|
47
47
|
checkEnterpriseByTaxCodeDynamic(domainName: string, taxCode: string, checkPromotion: boolean, domainResumeId: string | null, fields: string[]): Promise<any>;
|
|
@@ -380,11 +380,11 @@ class CloudService extends serviceSDK_1.Service {
|
|
|
380
380
|
}
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
checkDomainNameAvailable(domainName) {
|
|
383
|
+
checkDomainNameAvailable(domainName, isClearCache) {
|
|
384
384
|
return __awaiter(this, void 0, void 0, function* () {
|
|
385
385
|
const mutation = mutations_1.CHECK_DOMAIN_NAME;
|
|
386
386
|
const variables = {
|
|
387
|
-
domainName,
|
|
387
|
+
domainName, isClearCache
|
|
388
388
|
};
|
|
389
389
|
try {
|
|
390
390
|
const response = yield this.graphqlMutationV2(mutation, variables);
|
|
@@ -396,11 +396,11 @@ class CloudService extends serviceSDK_1.Service {
|
|
|
396
396
|
}
|
|
397
397
|
});
|
|
398
398
|
}
|
|
399
|
-
checkDomainNameAvailableVnnic(domainNames) {
|
|
399
|
+
checkDomainNameAvailableVnnic(domainNames, isClearCache) {
|
|
400
400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
401
401
|
const mutation = mutations_1.CHECK_LIST_DOMAIN_NAME;
|
|
402
402
|
const variables = {
|
|
403
|
-
domainNames,
|
|
403
|
+
domainNames, isClearCache
|
|
404
404
|
};
|
|
405
405
|
try {
|
|
406
406
|
const response = yield this.graphqlMutationV2(mutation, variables);
|
|
@@ -412,11 +412,11 @@ class CloudService extends serviceSDK_1.Service {
|
|
|
412
412
|
}
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
|
-
checkDomainName(domainName) {
|
|
415
|
+
checkDomainName(domainName, isClearCache) {
|
|
416
416
|
return __awaiter(this, void 0, void 0, function* () {
|
|
417
417
|
const mutation = mutations_1.CHECK_DOMAIN_NAME;
|
|
418
418
|
const variables = {
|
|
419
|
-
domainName,
|
|
419
|
+
domainName, isClearCache
|
|
420
420
|
};
|
|
421
421
|
try {
|
|
422
422
|
const response = yield this.graphqlMutationV2(mutation, variables);
|
|
@@ -428,11 +428,11 @@ class CloudService extends serviceSDK_1.Service {
|
|
|
428
428
|
}
|
|
429
429
|
});
|
|
430
430
|
}
|
|
431
|
-
checkListDomainName(domainNames) {
|
|
431
|
+
checkListDomainName(domainNames, isClearCache) {
|
|
432
432
|
return __awaiter(this, void 0, void 0, function* () {
|
|
433
433
|
const mutation = mutations_1.CHECK_LIST_DOMAIN_NAME;
|
|
434
434
|
const variables = {
|
|
435
|
-
domainNames,
|
|
435
|
+
domainNames, isClearCache
|
|
436
436
|
};
|
|
437
437
|
try {
|
|
438
438
|
const response = yield this.graphqlMutationV2(mutation, variables);
|
|
@@ -540,10 +540,10 @@ class CloudService extends serviceSDK_1.Service {
|
|
|
540
540
|
}
|
|
541
541
|
});
|
|
542
542
|
}
|
|
543
|
-
getWhoisDomainInfo(domainName) {
|
|
543
|
+
getWhoisDomainInfo(domainName, isClearCache) {
|
|
544
544
|
return __awaiter(this, void 0, void 0, function* () {
|
|
545
545
|
const mutation = mutations_1.GET_DOMAIN_INFO;
|
|
546
|
-
const variables = { domainName };
|
|
546
|
+
const variables = { domainName, isClearCache };
|
|
547
547
|
try {
|
|
548
548
|
const response = yield this.graphqlMutationV2(mutation, variables);
|
|
549
549
|
return response.getDomainInfo;
|
|
@@ -554,10 +554,10 @@ class CloudService extends serviceSDK_1.Service {
|
|
|
554
554
|
}
|
|
555
555
|
});
|
|
556
556
|
}
|
|
557
|
-
getDomainInfo(domainName) {
|
|
557
|
+
getDomainInfo(domainName, isClearCache) {
|
|
558
558
|
return __awaiter(this, void 0, void 0, function* () {
|
|
559
559
|
const mutation = mutations_1.GET_DOMAIN_INFO;
|
|
560
|
-
const variables = { domainName };
|
|
560
|
+
const variables = { domainName, isClearCache };
|
|
561
561
|
try {
|
|
562
562
|
const response = yield this.graphqlMutationV2(mutation, variables);
|
|
563
563
|
return response.getDomainInfo;
|