@longvansoftware/service-js-client 1.15.8 → 1.15.9

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.
Files changed (86) hide show
  1. package/README.md +93 -93
  2. package/dist/src/graphql/accounting_service/mutations.js +96 -96
  3. package/dist/src/graphql/accounting_service/queries.js +57 -57
  4. package/dist/src/graphql/auth/mutations.js +235 -235
  5. package/dist/src/graphql/auth/queries.js +68 -68
  6. package/dist/src/graphql/campaign/mutations.d.ts +1 -0
  7. package/dist/src/graphql/campaign/mutations.js +34 -0
  8. package/dist/src/graphql/campaign/queries.d.ts +9 -0
  9. package/dist/src/graphql/campaign/queries.js +412 -0
  10. package/dist/src/graphql/cashbook/queries.d.ts +2 -0
  11. package/dist/src/graphql/cashbook/queries.js +99 -0
  12. package/dist/src/graphql/cloud/mutations.js +282 -282
  13. package/dist/src/graphql/cloud/queries.js +341 -341
  14. package/dist/src/graphql/computing/mutations.js +303 -303
  15. package/dist/src/graphql/computing/queries.js +548 -548
  16. package/dist/src/graphql/crm/mutations.d.ts +1 -0
  17. package/dist/src/graphql/crm/mutations.js +392 -375
  18. package/dist/src/graphql/crm/queries.d.ts +1 -0
  19. package/dist/src/graphql/crm/queries.js +359 -332
  20. package/dist/src/graphql/crm_camping/mutations.js +32 -32
  21. package/dist/src/graphql/crm_camping/queries.js +198 -198
  22. package/dist/src/graphql/orderGraphQL/mutations.js +351 -351
  23. package/dist/src/graphql/orderGraphQL/queries.js +387 -387
  24. package/dist/src/graphql/payment/mutations.js +45 -45
  25. package/dist/src/graphql/payment/queries.js +60 -60
  26. package/dist/src/graphql/paymentLV/mutations.js +19 -19
  27. package/dist/src/graphql/paymentLV/queries.js +75 -75
  28. package/dist/src/graphql/paymentV2/mutations.d.ts +3 -0
  29. package/dist/src/graphql/paymentV2/mutations.js +54 -0
  30. package/dist/src/graphql/paymentV2/queries.d.ts +6 -0
  31. package/dist/src/graphql/paymentV2/queries.js +186 -0
  32. package/dist/src/graphql/product/queries.js +891 -891
  33. package/dist/src/graphql/quicklab_service/mutations.js +154 -154
  34. package/dist/src/graphql/quicklab_service/queries.js +108 -108
  35. package/dist/src/graphql/resource_permission/mutations.js +57 -57
  36. package/dist/src/graphql/resource_permission/queries.js +13 -13
  37. package/dist/src/graphql/service/mutations.js +228 -228
  38. package/dist/src/graphql/service/queries.js +128 -128
  39. package/dist/src/graphql/store/mutations.d.ts +1 -0
  40. package/dist/src/graphql/store/mutations.js +29 -0
  41. package/dist/src/graphql/store/queries.d.ts +1 -0
  42. package/dist/src/graphql/store/queries.js +29 -0
  43. package/dist/src/graphql/user/mutations.js +214 -214
  44. package/dist/src/graphql/user/queries.js +312 -312
  45. package/dist/src/lib/accounting/index.d.ts +5 -0
  46. package/dist/src/lib/accounting/index.js +32 -0
  47. package/dist/src/lib/campaign/index.d.ts +20 -0
  48. package/dist/src/lib/campaign/index.js +213 -0
  49. package/dist/src/lib/cashbook/index.d.ts +6 -0
  50. package/dist/src/lib/cashbook/index.js +56 -0
  51. package/dist/src/lib/comhub/index.d.ts +6 -0
  52. package/dist/src/lib/comhub/index.js +50 -0
  53. package/dist/src/lib/crm/index.d.ts +2 -0
  54. package/dist/src/lib/crm/index.js +40 -0
  55. package/dist/src/lib/deepLinkVietQr/index.d.ts +6 -0
  56. package/dist/src/lib/deepLinkVietQr/index.js +45 -0
  57. package/dist/src/lib/getImage/index.d.ts +4 -0
  58. package/dist/src/lib/getImage/index.js +10 -0
  59. package/dist/src/lib/image/index.d.ts +7 -0
  60. package/dist/src/lib/image/index.js +49 -0
  61. package/dist/src/lib/omnigateway/index.d.ts +7 -0
  62. package/dist/src/lib/omnigateway/index.js +58 -0
  63. package/dist/src/lib/paymentV2/index.d.ts +13 -0
  64. package/dist/src/lib/paymentV2/index.js +163 -0
  65. package/dist/src/lib/portal/index.d.ts +21 -0
  66. package/dist/src/lib/portal/index.js +225 -0
  67. package/dist/src/lib/serviceSDK.js +12 -12
  68. package/dist/src/lib/store/index.d.ts +30 -0
  69. package/dist/src/lib/store/index.js +74 -0
  70. package/dist/src/lib/token/index.d.ts +5 -0
  71. package/dist/src/lib/token/index.js +32 -0
  72. package/dist/src/lib/upload/index.d.ts +5 -0
  73. package/dist/src/lib/upload/index.js +35 -0
  74. package/dist/src/lib/warehouseV2/index.d.ts +13 -0
  75. package/dist/src/lib/warehouseV2/index.js +54 -0
  76. package/dist/src/lib/zca/index.d.ts +12 -0
  77. package/dist/src/lib/zca/index.js +41 -0
  78. package/dist/src/types/campaign.d.ts +14 -0
  79. package/dist/src/types/campaign.js +2 -0
  80. package/dist/src/types/invoice.d.ts +13 -0
  81. package/dist/src/types/invoice.js +2 -0
  82. package/dist/src/types/store.d.ts +158 -0
  83. package/dist/src/types/store.js +3 -0
  84. package/dist/src/utils/validatePhoneNumber.d.ts +1 -0
  85. package/dist/src/utils/validatePhoneNumber.js +20 -0
  86. package/package.json +44 -43
@@ -1,391 +1,408 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LINKING_RESUME_DOMAIN_AND_CONTACT = exports.CLONE_RESUME = exports.LINKING_RESUME_SERVICE = exports.UPDATE_RESUME_CONTACT = exports.CREATE_RESUME = exports.ADD_COMMENT = exports.ADD_TICKED = exports.ADD_ATTACHMENT_FOR_WORK_EFFORT = exports.UPDATE_WORK_EFFORT_STATUS = exports.UPDATE_WORK_EFFORT_NAME = exports.UPDATE_WORK_EFFORT_DESCRIPTION = exports.UPDATE_STATUS_ATTACHMENT_BY_ID = exports.ADD_OPPORTUNITY_MUTATION = void 0;
3
+ exports.ADD_RESOURCE_RELATED = exports.LINKING_RESUME_DOMAIN_AND_CONTACT = exports.CLONE_RESUME = exports.LINKING_RESUME_SERVICE = exports.UPDATE_RESUME_CONTACT = exports.CREATE_RESUME = exports.ADD_COMMENT = exports.ADD_TICKED = exports.ADD_ATTACHMENT_FOR_WORK_EFFORT = exports.UPDATE_WORK_EFFORT_STATUS = exports.UPDATE_WORK_EFFORT_NAME = exports.UPDATE_WORK_EFFORT_DESCRIPTION = exports.UPDATE_STATUS_ATTACHMENT_BY_ID = exports.ADD_OPPORTUNITY_MUTATION = void 0;
4
4
  const graphql_tag_1 = require("graphql-tag");
5
- exports.ADD_OPPORTUNITY_MUTATION = (0, graphql_tag_1.gql) `
6
- mutation AddOpportunity(
7
- $partyId: String!
8
- $addOpportunityRequest: AddOpportunityRequest!
9
- $performerId: String!
10
- ) {
11
- addOpportunity(
12
- partyId: $partyId
13
- addOpportunityRequest: $addOpportunityRequest
14
- performerId: $performerId
15
- ) {
16
- goal
17
- campaignId
18
- valueReal
19
- valueExpect
20
- successRate
21
- referName
22
- referPhone
23
- referEmail
24
- id
25
- createdBy
26
- ownerId
27
- workEffortTypeId
28
- partyId
29
- name
30
- description
31
- parentId
32
- status
33
- stmId
34
- createdStamp
35
- updatedStamp
36
- endDateExpect
37
- priorityName
38
- targetId
39
- targetType
40
- targetUrl
41
- extSource
42
- connectorId
43
- processResult
44
- }
45
- }
5
+ exports.ADD_OPPORTUNITY_MUTATION = (0, graphql_tag_1.gql) `
6
+ mutation AddOpportunity(
7
+ $partyId: String!
8
+ $addOpportunityRequest: AddOpportunityRequest!
9
+ $performerId: String!
10
+ ) {
11
+ addOpportunity(
12
+ partyId: $partyId
13
+ addOpportunityRequest: $addOpportunityRequest
14
+ performerId: $performerId
15
+ ) {
16
+ goal
17
+ campaignId
18
+ valueReal
19
+ valueExpect
20
+ successRate
21
+ referName
22
+ referPhone
23
+ referEmail
24
+ id
25
+ createdBy
26
+ ownerId
27
+ workEffortTypeId
28
+ partyId
29
+ name
30
+ description
31
+ parentId
32
+ status
33
+ stmId
34
+ createdStamp
35
+ updatedStamp
36
+ endDateExpect
37
+ priorityName
38
+ targetId
39
+ targetType
40
+ targetUrl
41
+ extSource
42
+ connectorId
43
+ processResult
44
+ }
45
+ }
46
46
  `;
47
- exports.UPDATE_STATUS_ATTACHMENT_BY_ID = (0, graphql_tag_1.gql) `
48
- mutation UpdateStatusAttachmentById(
49
- $performerId: String!
50
- $attachmentId: String!
51
- $status: String!
52
- ) {
53
- updateStatusAttachmentById(
54
- performerId: $performerId
55
- attachmentId: $attachmentId
56
- status: $status
57
- ) {
58
- id
59
- createdStamp
60
- updatedStamp
61
- updatedBy
62
- createdBy
63
- partyId
64
- path
65
- srcId
66
- srcName
67
- srcPath
68
- srcConfigPathId
69
- name
70
- fileType
71
- type
72
- status
73
- referId
74
- }
75
- }
47
+ exports.UPDATE_STATUS_ATTACHMENT_BY_ID = (0, graphql_tag_1.gql) `
48
+ mutation UpdateStatusAttachmentById(
49
+ $performerId: String!
50
+ $attachmentId: String!
51
+ $status: String!
52
+ ) {
53
+ updateStatusAttachmentById(
54
+ performerId: $performerId
55
+ attachmentId: $attachmentId
56
+ status: $status
57
+ ) {
58
+ id
59
+ createdStamp
60
+ updatedStamp
61
+ updatedBy
62
+ createdBy
63
+ partyId
64
+ path
65
+ srcId
66
+ srcName
67
+ srcPath
68
+ srcConfigPathId
69
+ name
70
+ fileType
71
+ type
72
+ status
73
+ referId
74
+ }
75
+ }
76
76
  `;
77
- exports.UPDATE_WORK_EFFORT_DESCRIPTION = (0, graphql_tag_1.gql) `
78
- mutation UpdateWorkEffortDescription(
79
- $performerId: String!
80
- $workEffortId: String!
81
- $description: String!
82
- ) {
83
- updateWorkEffortDescription(
84
- performerId: $performerId
85
- workEffortId: $workEffortId
86
- description: $description
87
- ) {
88
- id
89
- createdStamp
90
- updatedStamp
91
- createdBy
92
- updatedBy
93
- name
94
- partyId
95
- targetId
96
- targetType
97
- targetUrl
98
- description
99
- status
100
- parentId
101
- workEffortTypeId
102
- stmId
103
- workflowId
104
- endDateExpect
105
- endDateActual
106
- startDateActual
107
- startDateExpect
108
- source
109
- ownerId
110
- priorityName
111
- priorityValue
112
- extSource
113
- extSourceTopicId
114
- extSourceSocialAppId
115
- extSourceSupportChannelType
116
- extSourceSocialChannelType
117
- extSourceSocialAppName
118
- extSourceTopicUrl
119
- connectorId
120
- mode
121
- partyGroupIds
122
- tagIds
123
- processResult
124
- }
125
- }
77
+ exports.UPDATE_WORK_EFFORT_DESCRIPTION = (0, graphql_tag_1.gql) `
78
+ mutation UpdateWorkEffortDescription(
79
+ $performerId: String!
80
+ $workEffortId: String!
81
+ $description: String!
82
+ ) {
83
+ updateWorkEffortDescription(
84
+ performerId: $performerId
85
+ workEffortId: $workEffortId
86
+ description: $description
87
+ ) {
88
+ id
89
+ createdStamp
90
+ updatedStamp
91
+ createdBy
92
+ updatedBy
93
+ name
94
+ partyId
95
+ targetId
96
+ targetType
97
+ targetUrl
98
+ description
99
+ status
100
+ parentId
101
+ workEffortTypeId
102
+ stmId
103
+ workflowId
104
+ endDateExpect
105
+ endDateActual
106
+ startDateActual
107
+ startDateExpect
108
+ source
109
+ ownerId
110
+ priorityName
111
+ priorityValue
112
+ extSource
113
+ extSourceTopicId
114
+ extSourceSocialAppId
115
+ extSourceSupportChannelType
116
+ extSourceSocialChannelType
117
+ extSourceSocialAppName
118
+ extSourceTopicUrl
119
+ connectorId
120
+ mode
121
+ partyGroupIds
122
+ tagIds
123
+ processResult
124
+ }
125
+ }
126
126
  `;
127
- exports.UPDATE_WORK_EFFORT_NAME = (0, graphql_tag_1.gql) `
128
- mutation UpdateWorkEffortName(
129
- $partyId: String!
130
- $performerId: String!
131
- $workEffortId: String!
132
- $newName: String!
133
- ) {
134
- updateWorkEffortName(
135
- partyId: $partyId
136
- performerId: $performerId
137
- workEffortId: $workEffortId
138
- newName: $newName
139
- ) {
140
- id
141
- createdStamp
142
- updatedStamp
143
- createdBy
144
- updatedBy
145
- name
146
- partyId
147
- targetId
148
- targetType
149
- targetUrl
150
- description
151
- status
152
- parentId
153
- workEffortTypeId
154
- stmId
155
- workflowId
156
- endDateExpect
157
- endDateActual
158
- startDateActual
159
- startDateExpect
160
- source
161
- ownerId
162
- priorityName
163
- priorityValue
164
- extSource
165
- extSourceTopicId
166
- extSourceSocialAppId
167
- extSourceSupportChannelType
168
- extSourceSocialChannelType
169
- extSourceSocialAppName
170
- extSourceTopicUrl
171
- connectorId
172
- mode
173
- partyGroupIds
174
- tagIds
175
- processResult
176
- }
177
- }
127
+ exports.UPDATE_WORK_EFFORT_NAME = (0, graphql_tag_1.gql) `
128
+ mutation UpdateWorkEffortName(
129
+ $partyId: String!
130
+ $performerId: String!
131
+ $workEffortId: String!
132
+ $newName: String!
133
+ ) {
134
+ updateWorkEffortName(
135
+ partyId: $partyId
136
+ performerId: $performerId
137
+ workEffortId: $workEffortId
138
+ newName: $newName
139
+ ) {
140
+ id
141
+ createdStamp
142
+ updatedStamp
143
+ createdBy
144
+ updatedBy
145
+ name
146
+ partyId
147
+ targetId
148
+ targetType
149
+ targetUrl
150
+ description
151
+ status
152
+ parentId
153
+ workEffortTypeId
154
+ stmId
155
+ workflowId
156
+ endDateExpect
157
+ endDateActual
158
+ startDateActual
159
+ startDateExpect
160
+ source
161
+ ownerId
162
+ priorityName
163
+ priorityValue
164
+ extSource
165
+ extSourceTopicId
166
+ extSourceSocialAppId
167
+ extSourceSupportChannelType
168
+ extSourceSocialChannelType
169
+ extSourceSocialAppName
170
+ extSourceTopicUrl
171
+ connectorId
172
+ mode
173
+ partyGroupIds
174
+ tagIds
175
+ processResult
176
+ }
177
+ }
178
178
  `;
179
- exports.UPDATE_WORK_EFFORT_STATUS = (0, graphql_tag_1.gql) `
180
- mutation UpdateWorkEffortStatus(
181
- $partyId: String!
182
- $performerId: String!
183
- $workEffortId: String!
184
- $source: String!
185
- $status: String!
186
- ) {
187
- updateWorkEffortStatus(
188
- partyId: $partyId
189
- performerId: $performerId
190
- workEffortId: $workEffortId
191
- source: $source
192
- status: $status
193
- ) {
194
- id
195
- createdStamp
196
- updatedStamp
197
- createdBy
198
- updatedBy
199
- name
200
- partyId
201
- targetId
202
- targetType
203
- targetUrl
204
- description
205
- status
206
- parentId
207
- workEffortTypeId
208
- stmId
209
- workflowId
210
- endDateExpect
211
- endDateActual
212
- startDateActual
213
- startDateExpect
214
- source
215
- ownerId
216
- priorityName
217
- priorityValue
218
- extSource
219
- extSourceTopicId
220
- extSourceSocialAppId
221
- extSourceSupportChannelType
222
- extSourceSocialChannelType
223
- extSourceSocialAppName
224
- extSourceTopicUrl
225
- connectorId
226
- mode
227
- partyGroupIds
228
- tagIds
229
- processResult
230
- }
231
- }
179
+ exports.UPDATE_WORK_EFFORT_STATUS = (0, graphql_tag_1.gql) `
180
+ mutation UpdateWorkEffortStatus(
181
+ $partyId: String!
182
+ $performerId: String!
183
+ $workEffortId: String!
184
+ $source: String!
185
+ $status: String!
186
+ ) {
187
+ updateWorkEffortStatus(
188
+ partyId: $partyId
189
+ performerId: $performerId
190
+ workEffortId: $workEffortId
191
+ source: $source
192
+ status: $status
193
+ ) {
194
+ id
195
+ createdStamp
196
+ updatedStamp
197
+ createdBy
198
+ updatedBy
199
+ name
200
+ partyId
201
+ targetId
202
+ targetType
203
+ targetUrl
204
+ description
205
+ status
206
+ parentId
207
+ workEffortTypeId
208
+ stmId
209
+ workflowId
210
+ endDateExpect
211
+ endDateActual
212
+ startDateActual
213
+ startDateExpect
214
+ source
215
+ ownerId
216
+ priorityName
217
+ priorityValue
218
+ extSource
219
+ extSourceTopicId
220
+ extSourceSocialAppId
221
+ extSourceSupportChannelType
222
+ extSourceSocialChannelType
223
+ extSourceSocialAppName
224
+ extSourceTopicUrl
225
+ connectorId
226
+ mode
227
+ partyGroupIds
228
+ tagIds
229
+ processResult
230
+ }
231
+ }
232
232
  `;
233
- exports.ADD_ATTACHMENT_FOR_WORK_EFFORT = (0, graphql_tag_1.gql) `
234
- mutation (
235
- $partyId: String!
236
- $performerId: String!
237
- $workEffortId: String!
238
- $attachments: [AddAttachmentRequest]
239
- ) {
240
- addAttachmentForWorkEffort(
241
- partyId: $partyId
242
- performerId: $performerId
243
- workEffortId: $workEffortId
244
- addAttachmentRequest: $attachments
245
- ) {
246
- id
247
- createdStamp
248
- updatedStamp
249
- updatedBy
250
- createdBy
251
- partyId
252
- path
253
- srcId
254
- srcName
255
- srcPath
256
- srcConfigPathId
257
- name
258
- fileType
259
- type
260
- referId
261
- }
262
- }
233
+ exports.ADD_ATTACHMENT_FOR_WORK_EFFORT = (0, graphql_tag_1.gql) `
234
+ mutation (
235
+ $partyId: String!
236
+ $performerId: String!
237
+ $workEffortId: String!
238
+ $attachments: [AddAttachmentRequest]
239
+ ) {
240
+ addAttachmentForWorkEffort(
241
+ partyId: $partyId
242
+ performerId: $performerId
243
+ workEffortId: $workEffortId
244
+ addAttachmentRequest: $attachments
245
+ ) {
246
+ id
247
+ createdStamp
248
+ updatedStamp
249
+ updatedBy
250
+ createdBy
251
+ partyId
252
+ path
253
+ srcId
254
+ srcName
255
+ srcPath
256
+ srcConfigPathId
257
+ name
258
+ fileType
259
+ type
260
+ referId
261
+ }
262
+ }
263
263
  `;
264
- exports.ADD_TICKED = (0, graphql_tag_1.gql) `
265
- mutation AddTicket(
266
- $partyId: String!
267
- $performerId: String!
268
- $addTicketRequest: AddTicketRequest!
269
- $addAttachmentRequest: [AddAttachmentRequest]
270
- ) {
271
- addTicket(
272
- partyId: $partyId
273
- performerId: $performerId
274
- addTicketRequest: $addTicketRequest
275
- addAttachmentRequest: $addAttachmentRequest
276
- ) {
277
- id
278
- partyId
279
- name
280
- description
281
- status
282
- parentId
283
- stmId
284
- createdStamp
285
- updatedStamp
286
- endDateExpect
287
- priorityName
288
- targetId
289
- targetType
290
- extSource
291
- connectorId
292
- }
293
- }
264
+ exports.ADD_TICKED = (0, graphql_tag_1.gql) `
265
+ mutation AddTicket(
266
+ $partyId: String!
267
+ $performerId: String!
268
+ $addTicketRequest: AddTicketRequest!
269
+ $addAttachmentRequest: [AddAttachmentRequest]
270
+ ) {
271
+ addTicket(
272
+ partyId: $partyId
273
+ performerId: $performerId
274
+ addTicketRequest: $addTicketRequest
275
+ addAttachmentRequest: $addAttachmentRequest
276
+ ) {
277
+ id
278
+ partyId
279
+ name
280
+ description
281
+ status
282
+ parentId
283
+ stmId
284
+ createdStamp
285
+ updatedStamp
286
+ endDateExpect
287
+ priorityName
288
+ targetId
289
+ targetType
290
+ extSource
291
+ connectorId
292
+ }
293
+ }
294
294
  `;
295
- exports.ADD_COMMENT = (0, graphql_tag_1.gql) `
296
- mutation AddComment(
297
- $partyId: String!
298
- $performerId: String!
299
- $format: CommentFormat!
300
- $content: String
301
- $referId: String!
302
- $addAttachmentRequest: [AddAttachmentRequest]
303
- ) {
304
- addComment(
305
- partyId: $partyId
306
- performerId: $performerId
307
- format: $format
308
- content: $content
309
- referId: $referId
310
- addAttachmentRequest: $addAttachmentRequest
311
- ) {
312
- id
313
- content
314
- }
315
- }
295
+ exports.ADD_COMMENT = (0, graphql_tag_1.gql) `
296
+ mutation AddComment(
297
+ $partyId: String!
298
+ $performerId: String!
299
+ $format: CommentFormat!
300
+ $content: String
301
+ $referId: String!
302
+ $addAttachmentRequest: [AddAttachmentRequest]
303
+ ) {
304
+ addComment(
305
+ partyId: $partyId
306
+ performerId: $performerId
307
+ format: $format
308
+ content: $content
309
+ referId: $referId
310
+ addAttachmentRequest: $addAttachmentRequest
311
+ ) {
312
+ id
313
+ content
314
+ }
315
+ }
316
316
  `;
317
- exports.CREATE_RESUME = (0, graphql_tag_1.gql) `
318
- mutation CreateResume(
319
- $name: String
320
- $customerId: String!
321
- $domain: String
322
- $resumeTemplateId: String!
323
- $partyId: String!
324
- $createdBy: String!
325
- ) {
326
- createResume(
327
- name: $name
328
- customerId: $customerId
329
- domain: $domain
330
- resumeTemplateId: $resumeTemplateId
331
- partyId: $partyId
332
- createdBy: $createdBy
333
- )
334
- }
317
+ exports.CREATE_RESUME = (0, graphql_tag_1.gql) `
318
+ mutation CreateResume(
319
+ $name: String
320
+ $customerId: String!
321
+ $domain: String
322
+ $resumeTemplateId: String!
323
+ $partyId: String!
324
+ $createdBy: String!
325
+ ) {
326
+ createResume(
327
+ name: $name
328
+ customerId: $customerId
329
+ domain: $domain
330
+ resumeTemplateId: $resumeTemplateId
331
+ partyId: $partyId
332
+ createdBy: $createdBy
333
+ )
334
+ }
335
335
  `;
336
- exports.UPDATE_RESUME_CONTACT = (0, graphql_tag_1.gql) `
337
- mutation UpdateResumeContact(
338
- $resumeId: String
339
- $contactType: String
340
- $updateResumeContact: UpdateResumeContact
341
- $updatedBy: String
342
- ) {
343
- updateResumeContact(
344
- resumeId: $resumeId
345
- contactType: $contactType
346
- updateResumeContact: $updateResumeContact
347
- updatedBy: $updatedBy
348
- )
349
- }
336
+ exports.UPDATE_RESUME_CONTACT = (0, graphql_tag_1.gql) `
337
+ mutation UpdateResumeContact(
338
+ $resumeId: String
339
+ $contactType: String
340
+ $updateResumeContact: UpdateResumeContact
341
+ $updatedBy: String
342
+ ) {
343
+ updateResumeContact(
344
+ resumeId: $resumeId
345
+ contactType: $contactType
346
+ updateResumeContact: $updateResumeContact
347
+ updatedBy: $updatedBy
348
+ )
349
+ }
350
350
  `;
351
- exports.LINKING_RESUME_SERVICE = (0, graphql_tag_1.gql) `
352
- mutation LinkingResumeService(
353
- $resumeId: String
354
- $serviceId: String
355
- $linkedBy: String
356
- ) {
357
- linkingResumeService(
358
- resumeId: $resumeId
359
- serviceId: $serviceId
360
- linkedBy: $linkedBy
361
- )
362
- }
351
+ exports.LINKING_RESUME_SERVICE = (0, graphql_tag_1.gql) `
352
+ mutation LinkingResumeService(
353
+ $resumeId: String
354
+ $serviceId: String
355
+ $linkedBy: String
356
+ ) {
357
+ linkingResumeService(
358
+ resumeId: $resumeId
359
+ serviceId: $serviceId
360
+ linkedBy: $linkedBy
361
+ )
362
+ }
363
363
  `;
364
- exports.CLONE_RESUME = (0, graphql_tag_1.gql) `
365
- mutation CloneResume(
366
- $resumeOriginalId: String
367
- $domain: String
368
- $createdBy: String
369
- ) {
370
- cloneResume(
371
- resumeOriginalId: $resumeOriginalId
372
- domain: $domain
373
- createdBy: $createdBy
374
- )
375
- }
364
+ exports.CLONE_RESUME = (0, graphql_tag_1.gql) `
365
+ mutation CloneResume(
366
+ $resumeOriginalId: String
367
+ $domain: String
368
+ $createdBy: String
369
+ ) {
370
+ cloneResume(
371
+ resumeOriginalId: $resumeOriginalId
372
+ domain: $domain
373
+ createdBy: $createdBy
374
+ )
375
+ }
376
376
  `;
377
- exports.LINKING_RESUME_DOMAIN_AND_CONTACT = (0, graphql_tag_1.gql) `
378
- mutation CloneResume(
379
- $resumeDomainId: String
380
- $resumeContactId: String
381
- $contactType: String
382
- $linkedBy: String
383
- ) {
384
- linkingResumeDomainAndContact(
385
- resumeDomainId: $resumeDomainId
386
- resumeContactId: $resumeContactId
387
- contactType: $contactType
388
- linkedBy: $linkedBy
389
- )
390
- }
377
+ exports.LINKING_RESUME_DOMAIN_AND_CONTACT = (0, graphql_tag_1.gql) `
378
+ mutation CloneResume(
379
+ $resumeDomainId: String
380
+ $resumeContactId: String
381
+ $contactType: String
382
+ $linkedBy: String
383
+ ) {
384
+ linkingResumeDomainAndContact(
385
+ resumeDomainId: $resumeDomainId
386
+ resumeContactId: $resumeContactId
387
+ contactType: $contactType
388
+ linkedBy: $linkedBy
389
+ )
390
+ }
391
+ `;
392
+ exports.ADD_RESOURCE_RELATED = (0, graphql_tag_1.gql) `
393
+ mutation AddResourceRelated(
394
+ $fromId: String!
395
+ $fromResourceType: String!
396
+ $toIds: [String]!
397
+ $toResourceType: String!
398
+ $createdBy: String!
399
+ ) {
400
+ addResourceRelated(
401
+ fromId: $fromId
402
+ fromResourceType: $fromResourceType
403
+ toIds: $toIds
404
+ toResourceType: $toResourceType
405
+ createdBy: $createdBy
406
+ )
407
+ }
391
408
  `;