@longvansoftware/storefront-js-client 2.9.5 → 2.9.6
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 +185 -185
- package/dist/config/config.d.ts +2 -0
- package/dist/config/config.js +2 -0
- package/dist/src/graphql/auth/mutations.js +130 -130
- package/dist/src/graphql/auth/queries.js +55 -55
- package/dist/src/graphql/campaign/mutations.js +26 -26
- package/dist/src/graphql/campaign/queries.js +375 -375
- package/dist/src/graphql/cashbook/queries.d.ts +2 -0
- package/dist/src/graphql/cashbook/queries.js +99 -0
- 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 +813 -813
- package/dist/src/graphql/crm/queries.js +661 -661
- package/dist/src/graphql/payment/mutations.js +146 -146
- package/dist/src/graphql/payment/queries.js +116 -116
- package/dist/src/graphql/paymentV2/mutations.js +47 -47
- package/dist/src/graphql/paymentV2/queries.js +176 -176
- package/dist/src/graphql/product/mutations.js +94 -94
- package/dist/src/graphql/product/queries.js +468 -468
- 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 +142 -142
- package/dist/src/graphql/user/queries.js +298 -298
- package/dist/src/lib/SDK.d.ts +3 -0
- package/dist/src/lib/SDK.js +5 -0
- package/dist/src/lib/cashbook/index.d.ts +6 -0
- package/dist/src/lib/cashbook/index.js +56 -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 -44
|
@@ -2,109 +2,109 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DELETE_SNAPSHOT = exports.ROLLBACK_SNAPSHOT = exports.CREATE_SNAP_SHOT = exports.POWER_OFF = exports.POWER_ON = exports.REMOVE_PORT_NAT = exports.UPDATE_PORT_NAT = exports.CREATE_PORT_NAT = exports.UPDATE_DESCRIPTION_PORTNAT = exports.RESTARTVM = void 0;
|
|
4
4
|
const graphql_tag_1 = require("graphql-tag");
|
|
5
|
-
exports.RESTARTVM = (0, graphql_tag_1.gql) `
|
|
6
|
-
mutation Restart($computingId: String!, $actor: String!) {
|
|
7
|
-
restart(computingId: $computingId, actor: $actor)
|
|
8
|
-
}
|
|
5
|
+
exports.RESTARTVM = (0, graphql_tag_1.gql) `
|
|
6
|
+
mutation Restart($computingId: String!, $actor: String!) {
|
|
7
|
+
restart(computingId: $computingId, actor: $actor)
|
|
8
|
+
}
|
|
9
9
|
`;
|
|
10
|
-
exports.UPDATE_DESCRIPTION_PORTNAT = (0, graphql_tag_1.gql) `
|
|
11
|
-
mutation UpdateDescriptionPortNat(
|
|
12
|
-
$portNatId: String!
|
|
13
|
-
$description: String!
|
|
14
|
-
$updateBy: String
|
|
15
|
-
) {
|
|
16
|
-
updateDescriptionPortNat(
|
|
17
|
-
portNatId: $portNatId
|
|
18
|
-
description: $description
|
|
19
|
-
updateBy: $updateBy
|
|
20
|
-
)
|
|
21
|
-
}
|
|
10
|
+
exports.UPDATE_DESCRIPTION_PORTNAT = (0, graphql_tag_1.gql) `
|
|
11
|
+
mutation UpdateDescriptionPortNat(
|
|
12
|
+
$portNatId: String!
|
|
13
|
+
$description: String!
|
|
14
|
+
$updateBy: String
|
|
15
|
+
) {
|
|
16
|
+
updateDescriptionPortNat(
|
|
17
|
+
portNatId: $portNatId
|
|
18
|
+
description: $description
|
|
19
|
+
updateBy: $updateBy
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
22
|
`;
|
|
23
|
-
exports.CREATE_PORT_NAT = (0, graphql_tag_1.gql) `
|
|
24
|
-
mutation CreatePortNat(
|
|
25
|
-
$portNatId: String!
|
|
26
|
-
$translatedPort: String!
|
|
27
|
-
$createBy: String
|
|
28
|
-
) {
|
|
29
|
-
createPortNat(
|
|
30
|
-
portNatId: $portNatId
|
|
31
|
-
translatedPort: $translatedPort
|
|
32
|
-
createBy: $createBy
|
|
33
|
-
)
|
|
34
|
-
}
|
|
23
|
+
exports.CREATE_PORT_NAT = (0, graphql_tag_1.gql) `
|
|
24
|
+
mutation CreatePortNat(
|
|
25
|
+
$portNatId: String!
|
|
26
|
+
$translatedPort: String!
|
|
27
|
+
$createBy: String
|
|
28
|
+
) {
|
|
29
|
+
createPortNat(
|
|
30
|
+
portNatId: $portNatId
|
|
31
|
+
translatedPort: $translatedPort
|
|
32
|
+
createBy: $createBy
|
|
33
|
+
)
|
|
34
|
+
}
|
|
35
35
|
`;
|
|
36
|
-
exports.UPDATE_PORT_NAT = (0, graphql_tag_1.gql) `
|
|
37
|
-
mutation UpdatePortNat(
|
|
38
|
-
$portNatId: String!
|
|
39
|
-
$translatedPort: String!
|
|
40
|
-
$updateBy: String
|
|
41
|
-
) {
|
|
42
|
-
updatePortNat(
|
|
43
|
-
portNatId: $portNatId
|
|
44
|
-
translatedPort: $translatedPort
|
|
45
|
-
updateBy: $updateBy
|
|
46
|
-
)
|
|
47
|
-
}
|
|
36
|
+
exports.UPDATE_PORT_NAT = (0, graphql_tag_1.gql) `
|
|
37
|
+
mutation UpdatePortNat(
|
|
38
|
+
$portNatId: String!
|
|
39
|
+
$translatedPort: String!
|
|
40
|
+
$updateBy: String
|
|
41
|
+
) {
|
|
42
|
+
updatePortNat(
|
|
43
|
+
portNatId: $portNatId
|
|
44
|
+
translatedPort: $translatedPort
|
|
45
|
+
updateBy: $updateBy
|
|
46
|
+
)
|
|
47
|
+
}
|
|
48
48
|
`;
|
|
49
|
-
exports.REMOVE_PORT_NAT = (0, graphql_tag_1.gql) `
|
|
50
|
-
mutation RemovePortNat($portNatId: String!, $updateBy: String) {
|
|
51
|
-
removePortNat(portNatId: $portNatId, updateBy: $updateBy)
|
|
52
|
-
}
|
|
49
|
+
exports.REMOVE_PORT_NAT = (0, graphql_tag_1.gql) `
|
|
50
|
+
mutation RemovePortNat($portNatId: String!, $updateBy: String) {
|
|
51
|
+
removePortNat(portNatId: $portNatId, updateBy: $updateBy)
|
|
52
|
+
}
|
|
53
53
|
`;
|
|
54
|
-
exports.POWER_ON = (0, graphql_tag_1.gql) `
|
|
55
|
-
mutation PowerOn($computingId: String!, $actor: String!) {
|
|
56
|
-
powerOn(computingId: $computingId, actor: $actor)
|
|
57
|
-
}
|
|
54
|
+
exports.POWER_ON = (0, graphql_tag_1.gql) `
|
|
55
|
+
mutation PowerOn($computingId: String!, $actor: String!) {
|
|
56
|
+
powerOn(computingId: $computingId, actor: $actor)
|
|
57
|
+
}
|
|
58
58
|
`;
|
|
59
|
-
exports.POWER_OFF = (0, graphql_tag_1.gql) `
|
|
60
|
-
mutation PowerOff($computingId: String!, $actor: String!) {
|
|
61
|
-
powerOff(computingId: $computingId, actor: $actor)
|
|
62
|
-
}
|
|
59
|
+
exports.POWER_OFF = (0, graphql_tag_1.gql) `
|
|
60
|
+
mutation PowerOff($computingId: String!, $actor: String!) {
|
|
61
|
+
powerOff(computingId: $computingId, actor: $actor)
|
|
62
|
+
}
|
|
63
63
|
`;
|
|
64
|
-
exports.CREATE_SNAP_SHOT = (0, graphql_tag_1.gql) `
|
|
65
|
-
mutation CreateSnapshot(
|
|
66
|
-
$computingId: String!
|
|
67
|
-
$snapshotName: String!
|
|
68
|
-
$createBy: String
|
|
69
|
-
) {
|
|
70
|
-
createSnapshot(
|
|
71
|
-
computingId: $computingId
|
|
72
|
-
snapshotName: $snapshotName
|
|
73
|
-
createBy: $createBy
|
|
74
|
-
) {
|
|
75
|
-
id
|
|
76
|
-
computingId
|
|
77
|
-
snapshotId
|
|
78
|
-
name
|
|
79
|
-
status
|
|
80
|
-
createdStamp
|
|
81
|
-
endDate
|
|
82
|
-
}
|
|
83
|
-
}
|
|
64
|
+
exports.CREATE_SNAP_SHOT = (0, graphql_tag_1.gql) `
|
|
65
|
+
mutation CreateSnapshot(
|
|
66
|
+
$computingId: String!
|
|
67
|
+
$snapshotName: String!
|
|
68
|
+
$createBy: String
|
|
69
|
+
) {
|
|
70
|
+
createSnapshot(
|
|
71
|
+
computingId: $computingId
|
|
72
|
+
snapshotName: $snapshotName
|
|
73
|
+
createBy: $createBy
|
|
74
|
+
) {
|
|
75
|
+
id
|
|
76
|
+
computingId
|
|
77
|
+
snapshotId
|
|
78
|
+
name
|
|
79
|
+
status
|
|
80
|
+
createdStamp
|
|
81
|
+
endDate
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
84
|
`;
|
|
85
|
-
exports.ROLLBACK_SNAPSHOT = (0, graphql_tag_1.gql) `
|
|
86
|
-
mutation RollbackSnapshot(
|
|
87
|
-
$computingId: String!
|
|
88
|
-
$snapshotId: String!
|
|
89
|
-
$createBy: String
|
|
90
|
-
) {
|
|
91
|
-
rollbackSnapshot(
|
|
92
|
-
computingId: $computingId
|
|
93
|
-
snapshotId: $snapshotId
|
|
94
|
-
createBy: $createBy
|
|
95
|
-
)
|
|
96
|
-
}
|
|
85
|
+
exports.ROLLBACK_SNAPSHOT = (0, graphql_tag_1.gql) `
|
|
86
|
+
mutation RollbackSnapshot(
|
|
87
|
+
$computingId: String!
|
|
88
|
+
$snapshotId: String!
|
|
89
|
+
$createBy: String
|
|
90
|
+
) {
|
|
91
|
+
rollbackSnapshot(
|
|
92
|
+
computingId: $computingId
|
|
93
|
+
snapshotId: $snapshotId
|
|
94
|
+
createBy: $createBy
|
|
95
|
+
)
|
|
96
|
+
}
|
|
97
97
|
`;
|
|
98
|
-
exports.DELETE_SNAPSHOT = (0, graphql_tag_1.gql) `
|
|
99
|
-
mutation DeleteSnapshot(
|
|
100
|
-
$computingId: String!
|
|
101
|
-
$snapshotId: String!
|
|
102
|
-
$updateBy: String
|
|
103
|
-
) {
|
|
104
|
-
deleteSnapshot(
|
|
105
|
-
computingId: $computingId
|
|
106
|
-
snapshotId: $snapshotId
|
|
107
|
-
updateBy: $updateBy
|
|
108
|
-
)
|
|
109
|
-
}
|
|
98
|
+
exports.DELETE_SNAPSHOT = (0, graphql_tag_1.gql) `
|
|
99
|
+
mutation DeleteSnapshot(
|
|
100
|
+
$computingId: String!
|
|
101
|
+
$snapshotId: String!
|
|
102
|
+
$updateBy: String
|
|
103
|
+
) {
|
|
104
|
+
deleteSnapshot(
|
|
105
|
+
computingId: $computingId
|
|
106
|
+
snapshotId: $snapshotId
|
|
107
|
+
updateBy: $updateBy
|
|
108
|
+
)
|
|
109
|
+
}
|
|
110
110
|
`;
|
|
@@ -2,47 +2,47 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SNAP_SHOTS = exports.PORTNATS = exports.COMPUTING_DETAIL = void 0;
|
|
4
4
|
const graphql_tag_1 = require("graphql-tag");
|
|
5
|
-
exports.COMPUTING_DETAIL = (0, graphql_tag_1.gql) `
|
|
6
|
-
query ComputingDetail($computingId: String!) {
|
|
7
|
-
computingDetail(computingId: $computingId) {
|
|
8
|
-
id
|
|
9
|
-
name
|
|
10
|
-
username
|
|
11
|
-
password
|
|
12
|
-
state
|
|
13
|
-
os
|
|
14
|
-
ips
|
|
15
|
-
province
|
|
16
|
-
console
|
|
17
|
-
existPortNat
|
|
18
|
-
}
|
|
19
|
-
}
|
|
5
|
+
exports.COMPUTING_DETAIL = (0, graphql_tag_1.gql) `
|
|
6
|
+
query ComputingDetail($computingId: String!) {
|
|
7
|
+
computingDetail(computingId: $computingId) {
|
|
8
|
+
id
|
|
9
|
+
name
|
|
10
|
+
username
|
|
11
|
+
password
|
|
12
|
+
state
|
|
13
|
+
os
|
|
14
|
+
ips
|
|
15
|
+
province
|
|
16
|
+
console
|
|
17
|
+
existPortNat
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
20
|
`;
|
|
21
|
-
exports.PORTNATS = (0, graphql_tag_1.gql) `
|
|
22
|
-
query PortNats($computingId: String!) {
|
|
23
|
-
portNats(computingId: $computingId) {
|
|
24
|
-
id
|
|
25
|
-
action
|
|
26
|
-
protocol
|
|
27
|
-
originalAddress
|
|
28
|
-
originalPort
|
|
29
|
-
translatedAddress
|
|
30
|
-
translatedPort
|
|
31
|
-
description
|
|
32
|
-
status
|
|
33
|
-
}
|
|
34
|
-
}
|
|
21
|
+
exports.PORTNATS = (0, graphql_tag_1.gql) `
|
|
22
|
+
query PortNats($computingId: String!) {
|
|
23
|
+
portNats(computingId: $computingId) {
|
|
24
|
+
id
|
|
25
|
+
action
|
|
26
|
+
protocol
|
|
27
|
+
originalAddress
|
|
28
|
+
originalPort
|
|
29
|
+
translatedAddress
|
|
30
|
+
translatedPort
|
|
31
|
+
description
|
|
32
|
+
status
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
35
|
`;
|
|
36
|
-
exports.SNAP_SHOTS = (0, graphql_tag_1.gql) `
|
|
37
|
-
query Snapshots($computingId: String!) {
|
|
38
|
-
snapshots(computingId: $computingId) {
|
|
39
|
-
id
|
|
40
|
-
computingId
|
|
41
|
-
snapshotId
|
|
42
|
-
name
|
|
43
|
-
status
|
|
44
|
-
createdStamp
|
|
45
|
-
endDate
|
|
46
|
-
}
|
|
47
|
-
}
|
|
36
|
+
exports.SNAP_SHOTS = (0, graphql_tag_1.gql) `
|
|
37
|
+
query Snapshots($computingId: String!) {
|
|
38
|
+
snapshots(computingId: $computingId) {
|
|
39
|
+
id
|
|
40
|
+
computingId
|
|
41
|
+
snapshotId
|
|
42
|
+
name
|
|
43
|
+
status
|
|
44
|
+
createdStamp
|
|
45
|
+
endDate
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
48
|
`;
|