@longvansoftware/storefront-js-client 3.1.6 → 3.1.7
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 +221 -221
- package/dist/src/graphql/auth/mutations.d.ts +0 -1
- package/dist/src/graphql/auth/mutations.js +220 -225
- package/dist/src/graphql/auth/queries.d.ts +1 -0
- package/dist/src/graphql/auth/queries.js +65 -60
- package/dist/src/graphql/campaign/mutations.js +26 -26
- package/dist/src/graphql/campaign/queries.js +375 -375
- package/dist/src/graphql/cashbook/queries.js +93 -93
- 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 +472 -472
- package/dist/src/graphql/service/mutations.js +304 -304
- package/dist/src/graphql/service/queries.js +131 -131
- package/dist/src/graphql/store/mutations.js +24 -24
- package/dist/src/graphql/store/queries.js +24 -24
- package/dist/src/graphql/user/mutations.js +142 -142
- package/dist/src/graphql/user/queries.d.ts +0 -1
- package/dist/src/graphql/user/queries.js +299 -319
- package/dist/src/lib/auth/index.d.ts +13 -2
- package/dist/src/lib/auth/index.js +31 -2
- package/dist/src/lib/serviceSDK.js +12 -12
- package/dist/src/lib/store/index.js +1 -1
- package/dist/src/lib/user/index.d.ts +1 -2
- package/dist/src/lib/user/index.js +2 -20
- package/package.json +44 -44
- package/dist/src/graphql/fragments/product.d.ts +0 -38
- package/dist/src/graphql/fragments/product.js +0 -196
- package/dist/src/lib/shareZalo/index.d.ts +0 -5
- package/dist/src/lib/shareZalo/index.js +0 -32
- package/dist/src/types/common.d.ts +0 -264
- package/dist/src/types/common.js +0 -35
- package/dist/src/utils/errorHandler.d.ts +0 -64
- package/dist/src/utils/errorHandler.js +0 -197
|
@@ -2,100 +2,100 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ADD_ACTION_ATTRIBUTE = exports.UPDATE_ATTR_VALUE = exports.CREATE_SERVICE_ACTION = exports.CREATE_SERVICE_TICKET = exports.UPDATE_FAIL_ACTION_PROCESS_STATUS = exports.UPDATE_SUCCESS_ACTION_PROCESS_STATUS = exports.DELETE_ATTR_VALUE = exports.DELETE_SERVICE = exports.UPDATE_SERVICE = exports.CREATE_SERVICE = void 0;
|
|
4
4
|
const graphql_tag_1 = require("graphql-tag");
|
|
5
|
-
exports.CREATE_SERVICE = (0, graphql_tag_1.gql) `
|
|
6
|
-
mutation CreateService($partnerId: String!, $createModel: ServiceRequest!) {
|
|
7
|
-
createCompany(partnerId: $partnerId, createModel: $createModel) {
|
|
8
|
-
createdStamp: DateCustom
|
|
9
|
-
updatedStamp: DateCustom
|
|
10
|
-
updatedBy: String
|
|
11
|
-
createdBy: String
|
|
12
|
-
partnerId: String
|
|
13
|
-
serviceName: String
|
|
14
|
-
serviceId: String
|
|
15
|
-
type: String
|
|
16
|
-
typeName: String
|
|
17
|
-
orderId: String
|
|
18
|
-
orderLineItemId: String
|
|
19
|
-
orderItemTermId: String
|
|
20
|
-
status: String
|
|
21
|
-
ownerId: String
|
|
22
|
-
ownerName: String
|
|
23
|
-
ownerEmail: String
|
|
24
|
-
ownerPhone: String
|
|
25
|
-
saleName: String
|
|
26
|
-
salePartyId: String
|
|
27
|
-
startDate: DateCustom
|
|
28
|
-
endDate: DateCustom
|
|
29
|
-
version: String
|
|
30
|
-
location: String
|
|
31
|
-
description: String
|
|
32
|
-
username: String
|
|
33
|
-
password: String
|
|
34
|
-
urlPrivate: String
|
|
35
|
-
urlPublic: String
|
|
36
|
-
serviceType: Int
|
|
37
|
-
actionResult: String
|
|
38
|
-
}
|
|
39
|
-
}
|
|
5
|
+
exports.CREATE_SERVICE = (0, graphql_tag_1.gql) `
|
|
6
|
+
mutation CreateService($partnerId: String!, $createModel: ServiceRequest!) {
|
|
7
|
+
createCompany(partnerId: $partnerId, createModel: $createModel) {
|
|
8
|
+
createdStamp: DateCustom
|
|
9
|
+
updatedStamp: DateCustom
|
|
10
|
+
updatedBy: String
|
|
11
|
+
createdBy: String
|
|
12
|
+
partnerId: String
|
|
13
|
+
serviceName: String
|
|
14
|
+
serviceId: String
|
|
15
|
+
type: String
|
|
16
|
+
typeName: String
|
|
17
|
+
orderId: String
|
|
18
|
+
orderLineItemId: String
|
|
19
|
+
orderItemTermId: String
|
|
20
|
+
status: String
|
|
21
|
+
ownerId: String
|
|
22
|
+
ownerName: String
|
|
23
|
+
ownerEmail: String
|
|
24
|
+
ownerPhone: String
|
|
25
|
+
saleName: String
|
|
26
|
+
salePartyId: String
|
|
27
|
+
startDate: DateCustom
|
|
28
|
+
endDate: DateCustom
|
|
29
|
+
version: String
|
|
30
|
+
location: String
|
|
31
|
+
description: String
|
|
32
|
+
username: String
|
|
33
|
+
password: String
|
|
34
|
+
urlPrivate: String
|
|
35
|
+
urlPublic: String
|
|
36
|
+
serviceType: Int
|
|
37
|
+
actionResult: String
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
40
|
`;
|
|
41
|
-
exports.UPDATE_SERVICE = (0, graphql_tag_1.gql) `
|
|
42
|
-
mutation UpdateService(
|
|
43
|
-
$partnerId: String!
|
|
44
|
-
$serviceId: String!
|
|
45
|
-
$updateModel: ServiceRequest!
|
|
46
|
-
$updatedBy: String!
|
|
47
|
-
) {
|
|
48
|
-
updateService(
|
|
49
|
-
partnerId: $partnerId
|
|
50
|
-
serviceId: $serviceId
|
|
51
|
-
updateModel: $updateModel
|
|
52
|
-
updatedBy: $updateBy
|
|
53
|
-
) {
|
|
54
|
-
createdStamp: DateCustom
|
|
55
|
-
updatedStamp: DateCustom
|
|
56
|
-
updatedBy: String
|
|
57
|
-
createdBy: String
|
|
58
|
-
partnerId: String
|
|
59
|
-
serviceName: String
|
|
60
|
-
serviceId: String
|
|
61
|
-
type: String
|
|
62
|
-
typeName: String
|
|
63
|
-
orderId: String
|
|
64
|
-
orderLineItemId: String
|
|
65
|
-
orderItemTermId: String
|
|
66
|
-
status: String
|
|
67
|
-
ownerId: String
|
|
68
|
-
ownerName: String
|
|
69
|
-
ownerEmail: String
|
|
70
|
-
ownerPhone: String
|
|
71
|
-
saleName: String
|
|
72
|
-
salePartyId: String
|
|
73
|
-
startDate: DateCustom
|
|
74
|
-
endDate: DateCustom
|
|
75
|
-
version: String
|
|
76
|
-
location: String
|
|
77
|
-
description: String
|
|
78
|
-
username: String
|
|
79
|
-
password: String
|
|
80
|
-
urlPrivate: String
|
|
81
|
-
urlPublic: String
|
|
82
|
-
serviceType: Int
|
|
83
|
-
actionResult: String
|
|
84
|
-
}
|
|
85
|
-
}
|
|
41
|
+
exports.UPDATE_SERVICE = (0, graphql_tag_1.gql) `
|
|
42
|
+
mutation UpdateService(
|
|
43
|
+
$partnerId: String!
|
|
44
|
+
$serviceId: String!
|
|
45
|
+
$updateModel: ServiceRequest!
|
|
46
|
+
$updatedBy: String!
|
|
47
|
+
) {
|
|
48
|
+
updateService(
|
|
49
|
+
partnerId: $partnerId
|
|
50
|
+
serviceId: $serviceId
|
|
51
|
+
updateModel: $updateModel
|
|
52
|
+
updatedBy: $updateBy
|
|
53
|
+
) {
|
|
54
|
+
createdStamp: DateCustom
|
|
55
|
+
updatedStamp: DateCustom
|
|
56
|
+
updatedBy: String
|
|
57
|
+
createdBy: String
|
|
58
|
+
partnerId: String
|
|
59
|
+
serviceName: String
|
|
60
|
+
serviceId: String
|
|
61
|
+
type: String
|
|
62
|
+
typeName: String
|
|
63
|
+
orderId: String
|
|
64
|
+
orderLineItemId: String
|
|
65
|
+
orderItemTermId: String
|
|
66
|
+
status: String
|
|
67
|
+
ownerId: String
|
|
68
|
+
ownerName: String
|
|
69
|
+
ownerEmail: String
|
|
70
|
+
ownerPhone: String
|
|
71
|
+
saleName: String
|
|
72
|
+
salePartyId: String
|
|
73
|
+
startDate: DateCustom
|
|
74
|
+
endDate: DateCustom
|
|
75
|
+
version: String
|
|
76
|
+
location: String
|
|
77
|
+
description: String
|
|
78
|
+
username: String
|
|
79
|
+
password: String
|
|
80
|
+
urlPrivate: String
|
|
81
|
+
urlPublic: String
|
|
82
|
+
serviceType: Int
|
|
83
|
+
actionResult: String
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
86
|
`;
|
|
87
|
-
exports.DELETE_SERVICE = (0, graphql_tag_1.gql) `
|
|
88
|
-
mutation UpdateService(
|
|
89
|
-
$partnerId: String!
|
|
90
|
-
$serviceId: String!
|
|
91
|
-
$deletedBy: String!
|
|
92
|
-
) {
|
|
93
|
-
updateService(
|
|
94
|
-
partnerId: $partnerId
|
|
95
|
-
serviceId: $serviceId
|
|
96
|
-
deletedBy: $deletedBy
|
|
97
|
-
)
|
|
98
|
-
}
|
|
87
|
+
exports.DELETE_SERVICE = (0, graphql_tag_1.gql) `
|
|
88
|
+
mutation UpdateService(
|
|
89
|
+
$partnerId: String!
|
|
90
|
+
$serviceId: String!
|
|
91
|
+
$deletedBy: String!
|
|
92
|
+
) {
|
|
93
|
+
updateService(
|
|
94
|
+
partnerId: $partnerId
|
|
95
|
+
serviceId: $serviceId
|
|
96
|
+
deletedBy: $deletedBy
|
|
97
|
+
)
|
|
98
|
+
}
|
|
99
99
|
`;
|
|
100
100
|
// export const UPDATE_ATTR_VALUE = gql`
|
|
101
101
|
// mutation UpdateAttrValue(
|
|
@@ -114,124 +114,124 @@ exports.DELETE_SERVICE = (0, graphql_tag_1.gql) `
|
|
|
114
114
|
// )
|
|
115
115
|
// }
|
|
116
116
|
// `;
|
|
117
|
-
exports.DELETE_ATTR_VALUE = (0, graphql_tag_1.gql) `
|
|
118
|
-
mutation DeleteAttrValue(
|
|
119
|
-
$partnerId: String!
|
|
120
|
-
$serviceId: String!
|
|
121
|
-
$attrName: String!
|
|
122
|
-
$updatedBy: String!
|
|
123
|
-
) {
|
|
124
|
-
deleteAttrValue(
|
|
125
|
-
partnerId: $partnerId
|
|
126
|
-
serviceId: $serviceId
|
|
127
|
-
attrName: $attrName
|
|
128
|
-
updatedBy: $updatedBy
|
|
129
|
-
){
|
|
130
|
-
createdStamp
|
|
131
|
-
updatedStamp
|
|
132
|
-
updatedBy
|
|
133
|
-
createdBy
|
|
134
|
-
partnerId
|
|
135
|
-
serviceName
|
|
136
|
-
serviceId
|
|
137
|
-
type
|
|
138
|
-
typeName
|
|
139
|
-
orderId
|
|
140
|
-
orderLineItemId
|
|
141
|
-
orderItemTermId
|
|
142
|
-
status
|
|
143
|
-
ownerId
|
|
144
|
-
ownerName
|
|
145
|
-
ownerEmail
|
|
146
|
-
ownerPhone
|
|
147
|
-
saleName
|
|
148
|
-
salePartyId
|
|
149
|
-
startDate
|
|
150
|
-
endDate
|
|
151
|
-
version
|
|
152
|
-
location
|
|
153
|
-
description
|
|
154
|
-
username
|
|
155
|
-
password
|
|
156
|
-
urlPrivate
|
|
157
|
-
urlPublic
|
|
158
|
-
serviceType
|
|
159
|
-
actionResult
|
|
160
|
-
attrs
|
|
161
|
-
}
|
|
162
|
-
}
|
|
117
|
+
exports.DELETE_ATTR_VALUE = (0, graphql_tag_1.gql) `
|
|
118
|
+
mutation DeleteAttrValue(
|
|
119
|
+
$partnerId: String!
|
|
120
|
+
$serviceId: String!
|
|
121
|
+
$attrName: String!
|
|
122
|
+
$updatedBy: String!
|
|
123
|
+
) {
|
|
124
|
+
deleteAttrValue(
|
|
125
|
+
partnerId: $partnerId
|
|
126
|
+
serviceId: $serviceId
|
|
127
|
+
attrName: $attrName
|
|
128
|
+
updatedBy: $updatedBy
|
|
129
|
+
){
|
|
130
|
+
createdStamp
|
|
131
|
+
updatedStamp
|
|
132
|
+
updatedBy
|
|
133
|
+
createdBy
|
|
134
|
+
partnerId
|
|
135
|
+
serviceName
|
|
136
|
+
serviceId
|
|
137
|
+
type
|
|
138
|
+
typeName
|
|
139
|
+
orderId
|
|
140
|
+
orderLineItemId
|
|
141
|
+
orderItemTermId
|
|
142
|
+
status
|
|
143
|
+
ownerId
|
|
144
|
+
ownerName
|
|
145
|
+
ownerEmail
|
|
146
|
+
ownerPhone
|
|
147
|
+
saleName
|
|
148
|
+
salePartyId
|
|
149
|
+
startDate
|
|
150
|
+
endDate
|
|
151
|
+
version
|
|
152
|
+
location
|
|
153
|
+
description
|
|
154
|
+
username
|
|
155
|
+
password
|
|
156
|
+
urlPrivate
|
|
157
|
+
urlPublic
|
|
158
|
+
serviceType
|
|
159
|
+
actionResult
|
|
160
|
+
attrs
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
163
|
`;
|
|
164
|
-
exports.UPDATE_SUCCESS_ACTION_PROCESS_STATUS = (0, graphql_tag_1.gql) `
|
|
165
|
-
mutation UpdateSuccessActionProcessStatus(
|
|
166
|
-
$serviceActionId: String!
|
|
167
|
-
$updatedBy: String!
|
|
168
|
-
) {
|
|
169
|
-
updateSuccessActionProcessStatus(
|
|
170
|
-
serviceActionId: $serviceActionId
|
|
171
|
-
updatedBy: $updatedBy
|
|
172
|
-
) {
|
|
173
|
-
id
|
|
174
|
-
serviceId
|
|
175
|
-
actionType
|
|
176
|
-
description
|
|
177
|
-
status
|
|
178
|
-
processStatus
|
|
179
|
-
createdBy
|
|
180
|
-
createdStamp
|
|
181
|
-
updatedBy
|
|
182
|
-
updatedStamp
|
|
183
|
-
}
|
|
184
|
-
}
|
|
164
|
+
exports.UPDATE_SUCCESS_ACTION_PROCESS_STATUS = (0, graphql_tag_1.gql) `
|
|
165
|
+
mutation UpdateSuccessActionProcessStatus(
|
|
166
|
+
$serviceActionId: String!
|
|
167
|
+
$updatedBy: String!
|
|
168
|
+
) {
|
|
169
|
+
updateSuccessActionProcessStatus(
|
|
170
|
+
serviceActionId: $serviceActionId
|
|
171
|
+
updatedBy: $updatedBy
|
|
172
|
+
) {
|
|
173
|
+
id
|
|
174
|
+
serviceId
|
|
175
|
+
actionType
|
|
176
|
+
description
|
|
177
|
+
status
|
|
178
|
+
processStatus
|
|
179
|
+
createdBy
|
|
180
|
+
createdStamp
|
|
181
|
+
updatedBy
|
|
182
|
+
updatedStamp
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
185
|
`;
|
|
186
|
-
exports.UPDATE_FAIL_ACTION_PROCESS_STATUS = (0, graphql_tag_1.gql) `
|
|
187
|
-
mutation UpdateFailActionProcessStatus(
|
|
188
|
-
$serviceActionId: String!
|
|
189
|
-
$decription: String
|
|
190
|
-
$updatedBy: String!
|
|
191
|
-
) {
|
|
192
|
-
updateFailActionProcessStatus(
|
|
193
|
-
serviceActionId: $serviceActionId
|
|
194
|
-
description: $decription
|
|
195
|
-
updatedBy: $updatedBy
|
|
196
|
-
) {
|
|
197
|
-
id
|
|
198
|
-
serviceId
|
|
199
|
-
actionType
|
|
200
|
-
description
|
|
201
|
-
status
|
|
202
|
-
processStatus
|
|
203
|
-
createdBy
|
|
204
|
-
createdStamp
|
|
205
|
-
updatedBy
|
|
206
|
-
updatedStamp
|
|
207
|
-
}
|
|
208
|
-
}
|
|
186
|
+
exports.UPDATE_FAIL_ACTION_PROCESS_STATUS = (0, graphql_tag_1.gql) `
|
|
187
|
+
mutation UpdateFailActionProcessStatus(
|
|
188
|
+
$serviceActionId: String!
|
|
189
|
+
$decription: String
|
|
190
|
+
$updatedBy: String!
|
|
191
|
+
) {
|
|
192
|
+
updateFailActionProcessStatus(
|
|
193
|
+
serviceActionId: $serviceActionId
|
|
194
|
+
description: $decription
|
|
195
|
+
updatedBy: $updatedBy
|
|
196
|
+
) {
|
|
197
|
+
id
|
|
198
|
+
serviceId
|
|
199
|
+
actionType
|
|
200
|
+
description
|
|
201
|
+
status
|
|
202
|
+
processStatus
|
|
203
|
+
createdBy
|
|
204
|
+
createdStamp
|
|
205
|
+
updatedBy
|
|
206
|
+
updatedStamp
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
209
|
`;
|
|
210
|
-
exports.CREATE_SERVICE_TICKET = (0, graphql_tag_1.gql) `
|
|
211
|
-
mutation CreateServiceTicket(
|
|
212
|
-
$serviceId: String!
|
|
213
|
-
$name: String!
|
|
214
|
-
$createdBy: String!
|
|
215
|
-
$description: String
|
|
216
|
-
) {
|
|
217
|
-
createServiceTicket(
|
|
218
|
-
serviceId: $serviceId
|
|
219
|
-
name: $name
|
|
220
|
-
createdBy: $createdBy
|
|
221
|
-
description: $description
|
|
222
|
-
) {
|
|
223
|
-
id
|
|
224
|
-
serviceId
|
|
225
|
-
status
|
|
226
|
-
processStatus
|
|
227
|
-
name
|
|
228
|
-
description
|
|
229
|
-
createdBy
|
|
230
|
-
createdStamp
|
|
231
|
-
updatedBy
|
|
232
|
-
updatedStamp
|
|
233
|
-
}
|
|
234
|
-
}
|
|
210
|
+
exports.CREATE_SERVICE_TICKET = (0, graphql_tag_1.gql) `
|
|
211
|
+
mutation CreateServiceTicket(
|
|
212
|
+
$serviceId: String!
|
|
213
|
+
$name: String!
|
|
214
|
+
$createdBy: String!
|
|
215
|
+
$description: String
|
|
216
|
+
) {
|
|
217
|
+
createServiceTicket(
|
|
218
|
+
serviceId: $serviceId
|
|
219
|
+
name: $name
|
|
220
|
+
createdBy: $createdBy
|
|
221
|
+
description: $description
|
|
222
|
+
) {
|
|
223
|
+
id
|
|
224
|
+
serviceId
|
|
225
|
+
status
|
|
226
|
+
processStatus
|
|
227
|
+
name
|
|
228
|
+
description
|
|
229
|
+
createdBy
|
|
230
|
+
createdStamp
|
|
231
|
+
updatedBy
|
|
232
|
+
updatedStamp
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
235
|
`;
|
|
236
236
|
// mutation CreateServiceAction {
|
|
237
237
|
// createServiceAction(serviceId: null, actionType: null, createdBy: null) {
|
|
@@ -247,103 +247,103 @@ exports.CREATE_SERVICE_TICKET = (0, graphql_tag_1.gql) `
|
|
|
247
247
|
// updatedStamp
|
|
248
248
|
// }
|
|
249
249
|
// }
|
|
250
|
-
exports.CREATE_SERVICE_ACTION = (0, graphql_tag_1.gql) `
|
|
251
|
-
mutation CreateServiceAction(
|
|
252
|
-
$serviceId: String!
|
|
253
|
-
$actionType: String!
|
|
254
|
-
$attributes : JSON
|
|
255
|
-
$createdBy: String!
|
|
256
|
-
) {
|
|
257
|
-
createServiceAction(
|
|
258
|
-
serviceId: $serviceId
|
|
259
|
-
actionType: $actionType
|
|
260
|
-
attributes: $attributes
|
|
261
|
-
createdBy: $createdBy
|
|
262
|
-
) {
|
|
263
|
-
id
|
|
264
|
-
serviceId
|
|
265
|
-
actionType
|
|
266
|
-
description
|
|
267
|
-
status
|
|
268
|
-
processStatus
|
|
269
|
-
createdBy
|
|
270
|
-
createdStamp
|
|
271
|
-
updatedBy
|
|
272
|
-
updatedStamp
|
|
273
|
-
attributes
|
|
274
|
-
}
|
|
275
|
-
}
|
|
250
|
+
exports.CREATE_SERVICE_ACTION = (0, graphql_tag_1.gql) `
|
|
251
|
+
mutation CreateServiceAction(
|
|
252
|
+
$serviceId: String!
|
|
253
|
+
$actionType: String!
|
|
254
|
+
$attributes : JSON
|
|
255
|
+
$createdBy: String!
|
|
256
|
+
) {
|
|
257
|
+
createServiceAction(
|
|
258
|
+
serviceId: $serviceId
|
|
259
|
+
actionType: $actionType
|
|
260
|
+
attributes: $attributes
|
|
261
|
+
createdBy: $createdBy
|
|
262
|
+
) {
|
|
263
|
+
id
|
|
264
|
+
serviceId
|
|
265
|
+
actionType
|
|
266
|
+
description
|
|
267
|
+
status
|
|
268
|
+
processStatus
|
|
269
|
+
createdBy
|
|
270
|
+
createdStamp
|
|
271
|
+
updatedBy
|
|
272
|
+
updatedStamp
|
|
273
|
+
attributes
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
276
|
`;
|
|
277
|
-
exports.UPDATE_ATTR_VALUE = (0, graphql_tag_1.gql) `
|
|
278
|
-
mutation UpdateAttrValue(
|
|
279
|
-
$partnerId: String!
|
|
280
|
-
$serviceId: String!
|
|
281
|
-
$attr: JSON!
|
|
282
|
-
$updatedBy: String!
|
|
283
|
-
) {
|
|
284
|
-
updateAttrValue(
|
|
285
|
-
partnerId: $partnerId
|
|
286
|
-
serviceId: $serviceId
|
|
287
|
-
attr: $attr
|
|
288
|
-
updatedBy: $updatedBy
|
|
289
|
-
){
|
|
290
|
-
createdStamp
|
|
291
|
-
updatedStamp
|
|
292
|
-
updatedBy
|
|
293
|
-
createdBy
|
|
294
|
-
partnerId
|
|
295
|
-
serviceName
|
|
296
|
-
serviceId
|
|
297
|
-
type
|
|
298
|
-
typeName
|
|
299
|
-
orderId
|
|
300
|
-
orderLineItemId
|
|
301
|
-
orderItemTermId
|
|
302
|
-
status
|
|
303
|
-
ownerId
|
|
304
|
-
ownerName
|
|
305
|
-
ownerEmail
|
|
306
|
-
ownerPhone
|
|
307
|
-
saleName
|
|
308
|
-
salePartyId
|
|
309
|
-
startDate
|
|
310
|
-
endDate
|
|
311
|
-
version
|
|
312
|
-
location
|
|
313
|
-
description
|
|
314
|
-
username
|
|
315
|
-
password
|
|
316
|
-
urlPrivate
|
|
317
|
-
urlPublic
|
|
318
|
-
serviceType
|
|
319
|
-
actionResult
|
|
320
|
-
attrs
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
}
|
|
277
|
+
exports.UPDATE_ATTR_VALUE = (0, graphql_tag_1.gql) `
|
|
278
|
+
mutation UpdateAttrValue(
|
|
279
|
+
$partnerId: String!
|
|
280
|
+
$serviceId: String!
|
|
281
|
+
$attr: JSON!
|
|
282
|
+
$updatedBy: String!
|
|
283
|
+
) {
|
|
284
|
+
updateAttrValue(
|
|
285
|
+
partnerId: $partnerId
|
|
286
|
+
serviceId: $serviceId
|
|
287
|
+
attr: $attr
|
|
288
|
+
updatedBy: $updatedBy
|
|
289
|
+
){
|
|
290
|
+
createdStamp
|
|
291
|
+
updatedStamp
|
|
292
|
+
updatedBy
|
|
293
|
+
createdBy
|
|
294
|
+
partnerId
|
|
295
|
+
serviceName
|
|
296
|
+
serviceId
|
|
297
|
+
type
|
|
298
|
+
typeName
|
|
299
|
+
orderId
|
|
300
|
+
orderLineItemId
|
|
301
|
+
orderItemTermId
|
|
302
|
+
status
|
|
303
|
+
ownerId
|
|
304
|
+
ownerName
|
|
305
|
+
ownerEmail
|
|
306
|
+
ownerPhone
|
|
307
|
+
saleName
|
|
308
|
+
salePartyId
|
|
309
|
+
startDate
|
|
310
|
+
endDate
|
|
311
|
+
version
|
|
312
|
+
location
|
|
313
|
+
description
|
|
314
|
+
username
|
|
315
|
+
password
|
|
316
|
+
urlPrivate
|
|
317
|
+
urlPublic
|
|
318
|
+
serviceType
|
|
319
|
+
actionResult
|
|
320
|
+
attrs
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
}
|
|
324
324
|
`;
|
|
325
|
-
exports.ADD_ACTION_ATTRIBUTE = (0, graphql_tag_1.gql) `
|
|
326
|
-
mutation AddActionAttribute(
|
|
327
|
-
$actionId: String!
|
|
328
|
-
$attribute : JSON!
|
|
329
|
-
$createdBy: String!
|
|
330
|
-
) {
|
|
331
|
-
addActionAttribute(
|
|
332
|
-
actionId: $actionId
|
|
333
|
-
attribute: $attribute
|
|
334
|
-
createdBy: $createdBy
|
|
335
|
-
){
|
|
336
|
-
id
|
|
337
|
-
serviceId
|
|
338
|
-
actionType
|
|
339
|
-
description
|
|
340
|
-
status
|
|
341
|
-
processStatus
|
|
342
|
-
createdBy
|
|
343
|
-
createdStamp
|
|
344
|
-
updatedBy
|
|
345
|
-
updatedStamp
|
|
346
|
-
attributes
|
|
347
|
-
}
|
|
348
|
-
}
|
|
325
|
+
exports.ADD_ACTION_ATTRIBUTE = (0, graphql_tag_1.gql) `
|
|
326
|
+
mutation AddActionAttribute(
|
|
327
|
+
$actionId: String!
|
|
328
|
+
$attribute : JSON!
|
|
329
|
+
$createdBy: String!
|
|
330
|
+
) {
|
|
331
|
+
addActionAttribute(
|
|
332
|
+
actionId: $actionId
|
|
333
|
+
attribute: $attribute
|
|
334
|
+
createdBy: $createdBy
|
|
335
|
+
){
|
|
336
|
+
id
|
|
337
|
+
serviceId
|
|
338
|
+
actionType
|
|
339
|
+
description
|
|
340
|
+
status
|
|
341
|
+
processStatus
|
|
342
|
+
createdBy
|
|
343
|
+
createdStamp
|
|
344
|
+
updatedBy
|
|
345
|
+
updatedStamp
|
|
346
|
+
attributes
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
349
|
`;
|