@longvansoftware/storefront-js-client 1.4.0 → 1.4.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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const CREATE_SERVICE: import("graphql").DocumentNode;
|
|
2
2
|
export declare const UPDATE_SERVICE: import("graphql").DocumentNode;
|
|
3
3
|
export declare const DELETE_SERVICE: import("graphql").DocumentNode;
|
|
4
|
-
export declare const UPDATE_ATTR_VALUE: import("graphql").DocumentNode;
|
|
5
4
|
export declare const DELETE_ATTR_VALUE: import("graphql").DocumentNode;
|
|
6
5
|
export declare const UPDATE_SUCCESS_ACTION_PROCESS_STATUS: import("graphql").DocumentNode;
|
|
7
6
|
export declare const UPDATE_FAIL_ACTION_PROCESS_STATUS: import("graphql").DocumentNode;
|
|
8
7
|
export declare const CREATE_SERVICE_TICKET: import("graphql").DocumentNode;
|
|
9
8
|
export declare const CREATE_SERVICE_ACTION: import("graphql").DocumentNode;
|
|
9
|
+
export declare const UPDATE_ATTR_VALUE: import("graphql").DocumentNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
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.
|
|
3
|
+
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
5
|
exports.CREATE_SERVICE = (0, graphql_tag_1.gql) `
|
|
6
6
|
mutation CreateService($partnerId: String!, $createModel: ServiceRequest!) {
|
|
@@ -97,23 +97,23 @@ exports.DELETE_SERVICE = (0, graphql_tag_1.gql) `
|
|
|
97
97
|
)
|
|
98
98
|
}
|
|
99
99
|
`;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
`;
|
|
100
|
+
// export const UPDATE_ATTR_VALUE = gql`
|
|
101
|
+
// mutation UpdateAttrValue(
|
|
102
|
+
// $partnerId: String!
|
|
103
|
+
// $serviceId: String!
|
|
104
|
+
// $attrName: String!
|
|
105
|
+
// $attrValue: String!
|
|
106
|
+
// $updatedBy: String!
|
|
107
|
+
// ) {
|
|
108
|
+
// updateAttrValue(
|
|
109
|
+
// partnerId: $partnerId
|
|
110
|
+
// serviceId: $serviceId
|
|
111
|
+
// attrName: $attrName
|
|
112
|
+
// attrValue: $attrValue
|
|
113
|
+
// updatedBy: $updatedBy
|
|
114
|
+
// )
|
|
115
|
+
// }
|
|
116
|
+
// `;
|
|
117
117
|
exports.DELETE_ATTR_VALUE = (0, graphql_tag_1.gql) `
|
|
118
118
|
mutation DeleteAttrValue(
|
|
119
119
|
$partnerId: String!
|
|
@@ -239,3 +239,31 @@ exports.CREATE_SERVICE_ACTION = (0, graphql_tag_1.gql) `
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
`;
|
|
242
|
+
// const mutation = gql`
|
|
243
|
+
// mutation UpdateAttrValue {
|
|
244
|
+
// updateAttrValue(
|
|
245
|
+
// partnerId: "PKH"
|
|
246
|
+
// serviceId: "20.5791"
|
|
247
|
+
// attrName: "test"
|
|
248
|
+
// attrValue: "123123"
|
|
249
|
+
// updatedBy: "20.5791"
|
|
250
|
+
// )
|
|
251
|
+
// }
|
|
252
|
+
// `;
|
|
253
|
+
exports.UPDATE_ATTR_VALUE = (0, graphql_tag_1.gql) `
|
|
254
|
+
mutation UpdateAttrValue(
|
|
255
|
+
$partnerId: String!
|
|
256
|
+
$serviceId: String!
|
|
257
|
+
$attrName: String!
|
|
258
|
+
$attrValue: String!
|
|
259
|
+
$updatedBy: String!
|
|
260
|
+
) {
|
|
261
|
+
updateAttrValue(
|
|
262
|
+
partnerId: $partnerId
|
|
263
|
+
serviceId: $serviceId
|
|
264
|
+
attrName: $attrName
|
|
265
|
+
attrValue: $attrValue
|
|
266
|
+
updatedBy: $updatedBy
|
|
267
|
+
)
|
|
268
|
+
}
|
|
269
|
+
`;
|
|
@@ -33,21 +33,21 @@ export interface CampaignPromotion {
|
|
|
33
33
|
export interface OrderQuery {
|
|
34
34
|
order_id: string;
|
|
35
35
|
status: [number];
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
status_ignore: [number];
|
|
37
|
+
sub_status: string;
|
|
38
|
+
ffm_status: string;
|
|
39
|
+
sub_type: string;
|
|
40
|
+
payment_method: string;
|
|
41
41
|
keyword: string;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
42
|
+
customer_multi_value: string;
|
|
43
|
+
product_multi_value: string;
|
|
44
|
+
customer_id: string;
|
|
45
|
+
created_by: string;
|
|
46
|
+
date_create_from: number;
|
|
47
|
+
date_create_to: number;
|
|
48
|
+
date_update_from: number;
|
|
49
|
+
date_update_to: number;
|
|
50
|
+
employee_assign: string;
|
|
51
51
|
currentPage: number;
|
|
52
52
|
maxResult: number;
|
|
53
53
|
}
|