npm-pkg-hook 1.0.2 → 1.0.5

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 (85) hide show
  1. package/.babelrc +13 -13
  2. package/.env +1 -0
  3. package/.eslintrc.js +132 -0
  4. package/.eslintrc.json +107 -107
  5. package/.github/pull_request_template.md +17 -17
  6. package/.github/workflows/pepeline.yaml +29 -29
  7. package/.vscode/extensions.json +6 -0
  8. package/.vscode/settings.json +12 -0
  9. package/README.md +1 -1
  10. package/jsconfig.json +27 -27
  11. package/next.config.js +128 -128
  12. package/package.json +8 -6
  13. package/script.txt +7 -0
  14. package/src/cookies/index.ts +3 -3
  15. package/src/hooks/index.js +47 -19
  16. package/src/hooks/updateExtProductFoodsOptional/index.js +38 -0
  17. package/src/hooks/useAcumulateDate/index.js +16 -16
  18. package/src/hooks/useAnimationText/index.jsx +31 -30
  19. package/src/hooks/useBanner/index.js +19 -0
  20. package/src/hooks/useCatWithProduct/index.js +42 -0
  21. package/src/hooks/useCatWithProduct/queries.js +172 -0
  22. package/src/hooks/useCategoryInStore/index.js +94 -0
  23. package/src/hooks/{useGetCategorieStore → useCategoryInStore}/queries.js +77 -77
  24. package/src/hooks/useCategoryStore/index.js +7 -7
  25. package/src/hooks/useCategoryStore/queries.js +16 -16
  26. package/src/hooks/useChartData/index.js +170 -0
  27. package/src/hooks/useCheckbox/index.js +114 -114
  28. package/src/hooks/useClients/index.js +13 -13
  29. package/src/hooks/useClients/queries.js +117 -117
  30. package/src/hooks/useConnection/index.js +23 -0
  31. package/src/hooks/useCreateProduct/helpers/useEditImageProduct/index.js +165 -0
  32. package/src/hooks/useCreateProduct/index.js +268 -0
  33. package/src/hooks/useDessert/index.js +141 -0
  34. package/src/hooks/useDrag/index.js +62 -57
  35. package/src/hooks/useEvent/index.js +33 -33
  36. package/src/hooks/useFetchJson/index.js +24 -24
  37. package/src/hooks/useFetchMoreInteractions/index.jsx +37 -34
  38. package/src/hooks/useFormTools/index.js +83 -70
  39. package/src/hooks/useFormatDate/index.js +34 -0
  40. package/src/hooks/useFullScreenMode/index.js +65 -65
  41. package/src/hooks/useHover/index.js +28 -28
  42. package/src/hooks/useImageOptimization/index.js +28 -0
  43. package/src/hooks/useImageWeight/index.js +52 -0
  44. package/src/hooks/useImagesStore/index.js +171 -0
  45. package/src/hooks/useImagesStore/queries.js +216 -0
  46. package/src/hooks/useInnerHtml/index.js +37 -37
  47. package/src/hooks/useIntersection/index.js +84 -31
  48. package/src/hooks/useKeypress/index.js +27 -27
  49. package/src/hooks/useLazyScript/index.js +72 -0
  50. package/src/hooks/useLocalSorage/index.js +35 -35
  51. package/src/hooks/useLocationNavigate/index.js +54 -54
  52. package/src/hooks/useMobile/index.js +37 -37
  53. package/src/hooks/useMutateHeight/index.js +37 -0
  54. package/src/hooks/useProductsFood/index.js +190 -0
  55. package/src/hooks/{useGetProductsFood → useProductsFood}/queriesStore.js +780 -765
  56. package/src/hooks/useProductsFood/usetagsProducts.js +57 -0
  57. package/src/hooks/useReactToPrint/index.js +1201 -0
  58. package/src/hooks/useReport/index.js +35 -0
  59. package/src/hooks/useReport/queries.js +122 -0
  60. package/src/hooks/useRestaurant/index.js +19 -19
  61. package/src/hooks/useRestaurant/queries.js +79 -69
  62. package/src/hooks/useSales/index.js +589 -489
  63. package/src/hooks/useSales/queries.js +290 -229
  64. package/src/hooks/useSales/useGetSale.js +12 -0
  65. package/src/hooks/useSales/useTotalSales.js +17 -0
  66. package/src/hooks/useSaveAvailableProduct/helpers/index.js +30 -0
  67. package/src/hooks/useSaveAvailableProduct/index.js +26 -0
  68. package/src/hooks/useSaveAvailableProduct/queries.js +10 -0
  69. package/src/hooks/useSchedule/index.jsx +23 -0
  70. package/src/hooks/useSetState/index.js +24 -24
  71. package/src/hooks/useStore/index.js +17 -17
  72. package/src/hooks/useStore/queries.js +135 -135
  73. package/src/hooks/useStoreCalendar/index.js +7 -0
  74. package/src/hooks/useTimeAgo/useTimeAgo.js +39 -39
  75. package/src/hooks/useUpdateCart/index.js +124 -124
  76. package/src/hooks/useUpdateExtProductFoodsSubOptional/index.js +37 -0
  77. package/src/hooks/useUser/index.js +7 -3
  78. package/src/hooks/useUser/queries.js +69 -0
  79. package/src/hooks/useWindowSize/index.js +37 -37
  80. package/src/index.jsx +2 -1
  81. package/src/mock/dessert/index.js +16 -0
  82. package/src/mock/index.js +2 -0
  83. package/src/utils/index.js +106 -54
  84. package/src/hooks/useGetCategorieStore/index.js +0 -21
  85. package/src/hooks/useGetProductsFood/index.js +0 -46
@@ -1,766 +1,781 @@
1
- import { gql } from '@apollo/client'
2
-
3
- export const CREATE_SCHEDULE_STORE = gql`
4
- mutation setStoreSchedule($input: IsStoreSchedule!){
5
- setStoreSchedule(input: $input){
6
- success
7
- message
8
- }
9
- }
10
- `
11
- export const GET_SCHEDULE_STORE = gql`
12
- query getStoreSchedules($schDay: Int, $idStore: ID) {
13
- getStoreSchedules(schDay: $schDay, idStore: $idStore){
14
- schId
15
- idStore
16
- schDay
17
- schHoSta
18
- schHoEnd
19
- schState
20
- }
21
- }
22
- `
23
- export const GET_ONE_SCHEDULE_STORE = gql`
24
- query getOneStoreSchedules($schDay: Int, $idStore: ID) {
25
- getOneStoreSchedules(schDay: $schDay, idStore: $idStore){
26
- schId
27
- schDay
28
- schHoSta
29
- schHoEnd
30
- schState
31
- }
32
- }
33
- `
34
- export const GET_CAT_OF_PRODUCTS = gql`
35
- query getAllCatOfProducts($idStore: ID) {
36
- getAllCatOfProducts(idStore: $idStore) {
37
- id
38
- cpId
39
- catName
40
- catDescription
41
- schState
42
-
43
- }
44
- }
45
- `
46
- export const REGISTER_CAT_OF_PRODUCTS = gql`
47
- mutation updatedProducts($input: InputCatProducts){
48
- updatedProducts(input: $input){
49
- success
50
- message
51
- }
52
- }
53
- `
54
- export const REGISTER_CONTRACT_STORE = gql`
55
- mutation createOneContract($input: InputContractType) {
56
- createOneContract(input: $input) {
57
- success
58
- message
59
- }
60
- }
61
- `
62
- export const GET_ALL_EMPLOYEE_STORE = gql`
63
- query employees ($umId: ID, $cId: ID, $aId: ID){
64
- employees(umId: $umId, cId: $cId, aId: $aId) {
65
- eId
66
- idStore
67
- id
68
- idEmployee
69
- eSalary
70
- typeContract
71
- uEmail
72
- termContract
73
- eDatAdm
74
- eState
75
-
76
- }
77
- }
78
- `
79
- export const GET_ALL_PRODUCT_STORE = gql`
80
- query productFoodsAll($search: String, $min: Int, $max: Int, $gender: [String], $pState: Int, $desc: [String], $categories: [ID], $fromDate: DateTime, $toDate: DateTime ) {
81
- productFoodsAll(search: $search, min: $min, max: $max, gender: $gender, desc: $desc, pState: $pState categories: $categories, toDate: $toDate, fromDate: $fromDate) {
82
- pId
83
- sizeId #Talla
84
- colorId #Color
85
- cId #Country
86
- dId #Department
87
- ctId #Cuidad
88
- fId #Características
89
- pName
90
- ProPrice
91
- ProDescuento
92
- free
93
- ProUniDisponibles
94
- ProDescription
95
- ProProtegido
96
- ProAssurance
97
- ValueDelivery
98
- ProStar
99
- sTateLogistic
100
- ProImage
101
- ProWidth
102
- ProHeight
103
- ProLength
104
- ProWeight
105
- ProQuantity
106
- ProOutstanding
107
- pDatCre
108
- pDatMod
109
- ProDelivery
110
- ProVoltaje
111
- pState
112
- feat {
113
- fId
114
- thpId
115
- hpqrQuestion
116
- }
117
- area {
118
- aId
119
- aName
120
- }
121
-
122
- }
123
- }
124
-
125
- `
126
- export const GET_ALL_RATING_START_STORE = gql`
127
- query getAllRatingStar($idStore: ID){
128
- getAllRatingStar(idStore: $idStore){
129
- rSId
130
- rScore
131
- idStore
132
- createAt
133
- }
134
- }
135
- `
136
- export const GET_ALL_VISITOR_STORE = gql`
137
- query getAllVisitorStore($idStore: ID, $search: String, $min: Int, $max: Int, $fromDate: DateTime, $toDate: DateTime) {
138
- getAllVisitorStore(idStore: $idStore, search: $search, min: $min, max: $max, fromDate: $fromDate, toDate: $toDate) {
139
- visitStoreId
140
- id
141
- idStore
142
- createAt
143
- updateAt
144
- }
145
- }
146
- `
147
- export const GET_MIN_PEDIDO = gql`
148
- query getMinPrice($idStore: ID){
149
- getMinPrice(idStore: $idStore)
150
- }
151
- `
152
-
153
- export const GET_All_RATING_STORE = gql`
154
- query getAllRating($idStore: ID){
155
- getAllRating(idStore: $idStore){
156
- idStore
157
- rId
158
- id
159
- rAppearance
160
- rTasty
161
- rGoodTemperature
162
- rGoodCondition
163
- rState
164
- createAt
165
- updateAt
166
- }
167
- }
168
- `
169
- export const CREATE_LOGO = gql`
170
- mutation setALogoStore($logo: Upload, $idStore: ID) {
171
- setALogoStore(logo: $logo, idStore: $idStore) {
172
- success
173
- message
174
- }
175
- }
176
- `
177
- export const CREATE_BANNER_STORE = gql`
178
- mutation registerBanner($input: IBanner) {
179
- registerBanner(input: $input) {
180
- success
181
- message
182
-
183
- }
184
- }
185
- `
186
- export const DELETE_ONE_LOGO_STORE = gql`
187
- mutation deleteALogoStore($idStore: ID, $Image: String) {
188
- deleteALogoStore(idStore: $idStore, Image: $Image) {
189
- message
190
- success
191
- }
192
-
193
- }
194
- `
195
- export const GET_ONE_BANNER_STORE = gql`
196
- query getOneBanners($idStore: ID, $id: ID) {
197
- getOneBanners(idStore: $idStore, id: $id) {
198
- bnId
199
- id
200
- path
201
- bnImageFileName
202
- idStore
203
- bnState
204
- createAt
205
- updateAt
206
- }
207
- }
208
- `
209
- export const DELETE_ONE_BANNER_STORE = gql`
210
- mutation DeleteOneBanner($bnState: Int, $idStore: ID, $bnId: ID, $bnImage: String, $bnImageFileName: String) {
211
- DeleteOneBanner(bnState: $bnState, idStore: $idStore, bnId: $bnId, bnImage: $bnImage, bnImageFileName: $bnImageFileName ) {
212
- success
213
- message
214
-
215
- }
216
- }
217
- `
218
-
219
- export const GET_ALL_PQR = gql`
220
- query getOnePqr($hpqrId: ID, $thpId: ID){
221
- getOnePqr(hpqrId: $hpqrId, thpId: $thpId ){
222
- hpqrId
223
- thpId
224
- hpqrQuestion
225
- }
226
- }
227
- `
228
- export const GET_ONE_COLOR = gql`
229
- query getAllColor{
230
- getAllColor{
231
- colorId
232
- colorName
233
- colorState
234
- }
235
- }
236
- `
237
- export const UPDATE = gql`
238
- mutation updateProducts($input: InputProduct){
239
- updateProducts(input: $input){
240
- pId
241
- sizeId #Talla
242
- colorId #Color
243
- cId #Country
244
- dId #Department
245
- ctId #Cuidad
246
- fId #Características
247
- pName
248
- ProPrice
249
- ProDescuento
250
- ProUniDisponibles
251
- ProDescription
252
- ProProtegido
253
- ProAssurance
254
- ProStar
255
- pState
256
- ProImage
257
- ProWidth
258
- ProHeight
259
- ProLength
260
- ProWeight
261
- ProQuantity
262
- ProOutstanding
263
- ProDelivery
264
- ProVoltaje
265
- }
266
- }
267
- `
268
- export const UPDATE_IMAGE_PRODUCT_FOOD = gql`
269
- mutation setImageProducts($input: IFileImageProductFood) {
270
- setImageProducts(input: $input) {
271
- success
272
- message
273
-
274
- }
275
- }
276
- `
277
- export const UPDATE_PRODUCT_FOOD = gql`
278
- mutation updateProductFoods($input: InputProductFood){
279
- updateProductFoods(input: $input){
280
- pId
281
- sizeId #Talla
282
- colorId #Color
283
- cId #Country
284
- dId #Department
285
- ctId #Cuidad
286
- fId #Características
287
- pName
288
- pCode
289
- ProPrice
290
- carProId
291
- ProDescuento
292
- ProUniDisponibles
293
- ValueDelivery
294
- ProDescription
295
- ProProtegido
296
- ProAssurance
297
- ProStar
298
- pState
299
- ProImage
300
- ProWidth
301
- ProHeight
302
- ProLength
303
- ProWeight
304
- ProQuantity
305
- ProOutstanding
306
- ProDelivery
307
- ProVoltaje
308
- }
309
- }
310
- `
311
- // UPDATE EXTRAS
312
- export const UPDATE_EXTRAS_PRODUCT_FOOD = gql`
313
- mutation updateExtProductFoods($input: InputExtProductFood){
314
- updateExtProductFoods(input: $input){
315
- pId
316
- exPid
317
- exState
318
- extraName
319
- extraPrice
320
- state
321
- pDatCre
322
- pDatMod
323
- }
324
- }
325
- `
326
- // EXTRA PRODUCTS
327
- export const UPDATE_EXTRAS_PRODUCT_FOOD_OPTIONAL = gql`
328
- mutation updateExtProductFoodsOptional($input: InputExtProductFoodOptional){
329
- updateExtProductFoodsOptional(input: $input){
330
- pId
331
- opExPid
332
- OptionalProName
333
- code
334
- required
335
- state
336
- numbersOptionalOnly
337
- }
338
- }
339
- `
340
- export const GET_EXTRAS_PRODUCT_FOOD_OPTIONAL = gql`
341
- query ExtProductFoodsOptionalAll($search: String, $min: Int, $max: Int, $pId: ID) {
342
- ExtProductFoodsOptionalAll(search: $search, min: $min, max: $max, pId: $pId) {
343
- pId
344
- opExPid
345
- OptionalProName
346
- state
347
- code
348
- numbersOptionalOnly
349
- pDatCre
350
- required
351
- pDatMod
352
- ExtProductFoodsSubOptionalAll {
353
- pId
354
- opExPid
355
- idStore
356
- opSubExPid
357
- OptionalSubProName
358
- exCodeOptionExtra
359
- exCode
360
- state
361
- pDatCre
362
- pDatMod
363
- }
364
-
365
- }
366
- }
367
- `
368
- export const GET_EXTRAS_PRODUCT_FOOD_SUB_OPTIONAL = gql`
369
- mutation updateExtProductFoodsSubOptional($input: InputExtProductFoodSubOptional){
370
- updateExtProductFoodsSubOptional(input: $input){
371
- pId
372
- opExPid
373
- idStore
374
- opSubExPid
375
- OptionalSubProName
376
- exCodeOptionExtra
377
- exCode
378
- state
379
- pDatCre
380
- pDatMod
381
- }
382
- }
383
- `
384
-
385
- // CREATE EXTRAS PRODUCT
386
- export const UPDATE_MULTI_EXTRAS_PRODUCT_FOOD = gql`
387
- mutation updateMultipleExtProductFoods($inputLineItems: ILineItemsExtraFinal){
388
- updateMultipleExtProductFoods(inputLineItems: $inputLineItems){
389
- pId
390
- exPid
391
- exState
392
- extraName
393
- extraPrice
394
- state
395
- pDatCre
396
- pDatMod
397
- }
398
- }
399
- `
400
-
401
- export const DELETE_ONE_PRODUCT = gql`
402
- mutation deleteProducts($input: IDeleteProduct){
403
- deleteProducts(input: $input){
404
- pId
405
- }
406
- }
407
- `
408
- export const GET_ALL_PRODUCTS = gql`
409
- query productsAll($search: String, $min: Int, $max: Int, $gender: [String], $desc: [String], $categories: [ID], ) {
410
- productsAll(search: $search, min: $min, max: $max, gender: $gender, desc: $desc, categories: $categories,) {
411
- pId
412
- sizeId #Talla
413
- colorId #Color
414
- cId #Country
415
- dId #Department
416
- ctId #Cuidad
417
- fId #Características
418
- pName
419
- ProPrice
420
- ProDescuento
421
- ProUniDisponibles
422
- ProDescription
423
- ProProtegido
424
- ProAssurance
425
- ProStar
426
- sTateLogistic
427
- ProImage
428
- ProWidth
429
- ProHeight
430
- ProLength
431
- ProWeight
432
- ProQuantity
433
- ProOutstanding
434
- ProDelivery
435
- ProVoltaje
436
- pState
437
- feat {
438
- fId
439
- thpId
440
- hpqrQuestion
441
- }
442
- area {
443
- aId
444
- aName
445
- }
446
-
447
- }
448
- }
449
- `
450
- export const GET_ALL_FOOD_PRODUCTS = gql`
451
- query getFoodAllProduct($search: String, $min: Int, $max: Int, $gender: [String], $desc: [String], $categories: [ID], ) {
452
- getFoodAllProduct(search: $search, min: $min, max: $max, gender: $gender, desc: $desc, categories: $categories,) {
453
- id
454
- pfId
455
- idStore
456
- ProPrice
457
- ProDescuento
458
- ProDescription
459
- pName
460
- pState
461
- sTateLogistic
462
- ProStar
463
- ProImage
464
- ProHeight
465
- ProWeight
466
- ProOutstanding
467
- ProDelivery
468
- pDatCre
469
- pDatMod
470
- }
471
- }
472
- `
473
-
474
-
475
- export const EDIT_PRODUCT = gql`
476
- mutation editProductFoods($input: InputProductFood) {
477
- editProductFoods(input: $input) {
478
- success
479
- message
480
- }
481
- }
482
- `
483
- export const SET_EDIT_STORE_NAME = gql`
484
- mutation setEditNameStore($StoreName: String){
485
- setEditNameStore(StoreName: $StoreName){
486
- success
487
- message
488
- }
489
- }
490
- `
491
- export const GET_ONE_PRODUCTS_FOOD = gql`
492
- query productFoodsOne($pId: ID){
493
- productFoodsOne(pId: $pId ){
494
- pId
495
- carProId
496
- pCode
497
- sizeId
498
- colorId
499
- idStore
500
- cId
501
- caId
502
- dId
503
- ctId
504
- tpId
505
-
506
- fId
507
- pName
508
- ProPrice
509
- ProDescuento
510
- ValueDelivery
511
- ProUniDisponibles
512
- ProDescription
513
- ProProtegido
514
- ProAssurance
515
- ProImage
516
- ProStar
517
- ProWidth
518
- ProHeight
519
- ProLength
520
- ProWeight
521
- ProQuantity
522
- ProOutstanding
523
- ProDelivery
524
- ProVoltaje
525
- pState
526
- sTateLogistic
527
- pDatCre
528
- pDatMod
529
- ExtProductFoodsAll {
530
- pId
531
- exPid
532
- exState
533
- extraName
534
- extraPrice
535
- state
536
- pDatCre
537
- pDatMod
538
- }
539
- getStore {
540
- idStore
541
- cId
542
- id
543
- dId
544
- ctId
545
- catStore
546
- neighborhoodStore
547
- Viaprincipal
548
- storeOwner
549
- storeName
550
- emailStore
551
- storePhone
552
- socialRaz
553
- Image
554
- banner
555
- documentIdentifier
556
- uPhoNum
557
- ULocation
558
- upLat
559
- upLon
560
- uState
561
- siteWeb
562
- description
563
- NitStore
564
- typeRegiments
565
- typeContribute
566
- secVia
567
- addressStore
568
- createdAt
569
- department {
570
- dId
571
- cId
572
- dName
573
- dDatCre
574
- dDatMod
575
- dState
576
- }
577
- pais {
578
- cId
579
- cName
580
- cCalCod
581
- cState
582
-
583
- }
584
- city {
585
- ctId
586
- dId
587
- cName
588
- cState
589
- cDatCre
590
- cDatMod
591
- }
592
- }
593
-
594
- }
595
- }
596
- `
597
-
598
-
599
- export const CREATE_FOOD_PRODUCT = gql`
600
- mutation newRegisterFoodProduct($input: FoodProductInput){
601
- newRegisterFoodProduct(input: $input){
602
- success
603
- message
604
- }
605
- }
606
- `
607
- export const GET_BANNER_PROMO_DASHBOARD = gql`
608
- query getPromoStoreAdmin($min: Int, $max: Int){
609
- getPromoStoreAdmin(min: $min, max: $max){
610
- pSoId
611
- comments
612
- mainName
613
- metaTags
614
- urlImage
615
- bPromoState
616
- createAt
617
- updateAt
618
- }
619
- }
620
- `
621
-
622
- export const CREATE_STORE_CALENDAR = gql`
623
- mutation setStoreSchedule($input: ITstoreSchedule!){
624
- setStoreSchedule(input: $input){
625
- message
626
- success
627
- }
628
- }
629
- `
630
- export const DELETE_ONE_CAT_PRODUCTS = gql`
631
- mutation deleteCatOfProducts($idPc: ID!, $pState: Int){
632
- deleteCatOfProducts(idPc: $idPc, pState: $pState){
633
- success
634
- message
635
- }
636
- }
637
- `
638
- export const DELETE_ONE_CAT_PRODUCTS_FINAL = gql`
639
-
640
- mutation deleteCatFinalOfProducts($idPc: ID){
641
- deleteCatFinalOfProducts(idPc: $idPc){
642
- success
643
- message
644
- }
645
- }
646
- `
647
- export const DELETE_EXTRA_PRODUCTS = gql`
648
- mutation deleteextraproductfoods($id: ID, $state: Int){
649
- deleteextraproductfoods(id: $id, state: $state){
650
- success,
651
- message
652
- }
653
- }
654
- `
655
- export const EDIT_EXTRA_PRODUCTS = gql`
656
- mutation editExtProductFoods($input: InputExtProductFood!) {
657
- editExtProductFoods(input: $input) {
658
- success
659
- message
660
- }
661
- }
662
- `
663
- export const DELETE_CAT_EXTRA_PRODUCTS = gql`
664
- mutation DeleteExtProductFoodsOptional($opExPid: ID, $state: Int){
665
- DeleteExtProductFoodsOptional(opExPid: $opExPid, state: $state){
666
- success,
667
- message
668
- }
669
- }
670
- `
671
- export const DELETE_CAT_EXTRA_SUB_OPTIONAL_PRODUCTS = gql`
672
- mutation DeleteExtFoodSubsOptional($opSubExPid: ID, $state: Int){
673
- DeleteExtFoodSubsOptional(opSubExPid: $opSubExPid, state: $state){
674
- success,
675
- message
676
- }
677
- }
678
- `
679
- export const UPDATE_CAT_IN_PRODUCT = gql`
680
- mutation updatedCatWithProducts($input: LineItemsIdPro){
681
- updatedCatWithProducts(input: $input){
682
- success
683
- message
684
- }
685
- }
686
- `
687
- export const GET_ULTIMATE_CATEGORY_PRODUCTS = gql`
688
- query catProductsAll($search: String, $min: Int, $max: Int, $gender: [String], $desc: [String], $categories: [ID], ) {
689
- catProductsAll(search: $search, min: $min, max: $max, gender: $gender, desc: $desc, categories: $categories,) {
690
- carProId
691
- idStore
692
- pName
693
- ProDescription
694
- ProImage
695
- pState
696
- pDatCre
697
- pDatMod
698
- }
699
- }
700
- `
701
- export const GET_ALL_EXTRA_PRODUCT = gql`
702
- query ExtProductFoodsAll($search: String, $min: Int, $max: Int, $pId: ID) {
703
- ExtProductFoodsAll(search: $search, min: $min, max: $max, pId: $pId) {
704
- pId
705
- exPid
706
- exState
707
- extraName
708
- extraPrice
709
- state
710
- pDatCre
711
- pDatMod
712
- }
713
- }
714
- `
715
- export const GET_ALL_CATEGORIES_WITH_PRODUCT = gql`
716
- query getCatProductsWithProduct($search: String, $min: Int, $max: Int, $gender: [String], $desc: [String], $categories: [ID], ) {
717
- getCatProductsWithProduct(search: $search, min: $min, max: $max, gender: $gender, desc: $desc, categories: $categories,) {
718
- carProId
719
- pState
720
- pState
721
- ProImage
722
- idStore
723
- pName
724
- ProDescription
725
- ProImage
726
- pState
727
- pDatCre
728
- pDatMod
729
- productFoodsAll {
730
- pId
731
- sizeId
732
- colorId
733
- carProId
734
- cId
735
- dId
736
- ctId
737
- idStore
738
- caId
739
- fId
740
- pName
741
- ProPrice
742
- ProDescuento
743
- ProUniDisponibles
744
- ProDescription
745
- ProProtegido
746
- ProAssurance
747
- ProImage
748
- ProStar
749
- ProWidth
750
- ProHeight
751
- ProLength
752
- ProWeight
753
- ProQuantity
754
- ProOutstanding
755
- ProDelivery
756
- ProVoltaje
757
- pState
758
- sTateLogistic
759
- pDatCre
760
- pDatMod
761
-
762
- }
763
-
764
- }
765
- }
1
+ import { gql } from '@apollo/client'
2
+
3
+ export const CREATE_SCHEDULE_STORE = gql`
4
+ mutation setStoreSchedule($input: IsStoreSchedule!){
5
+ setStoreSchedule(input: $input){
6
+ success
7
+ message
8
+ }
9
+ }
10
+ `
11
+ export const GET_SCHEDULE_STORE = gql`
12
+ query getStoreSchedules($schDay: Int, $idStore: ID) {
13
+ getStoreSchedules(schDay: $schDay, idStore: $idStore){
14
+ schId
15
+ idStore
16
+ schDay
17
+ schHoSta
18
+ schHoEnd
19
+ schState
20
+ }
21
+ }
22
+ `
23
+ export const GET_ONE_SCHEDULE_STORE = gql`
24
+ query getOneStoreSchedules($schDay: Int, $idStore: ID) {
25
+ getOneStoreSchedules(schDay: $schDay, idStore: $idStore){
26
+ schId
27
+ schDay
28
+ schHoSta
29
+ schHoEnd
30
+ schState
31
+ }
32
+ }
33
+ `
34
+ export const GET_CAT_OF_PRODUCTS = gql`
35
+ query getAllCatOfProducts($idStore: ID) {
36
+ getAllCatOfProducts(idStore: $idStore) {
37
+ id
38
+ cpId
39
+ catName
40
+ catDescription
41
+ schState
42
+ }
43
+ }
44
+ `
45
+ export const REGISTER_CAT_OF_PRODUCTS = gql`
46
+ mutation updatedProducts($input: InputCatProducts){
47
+ updatedProducts(input: $input){
48
+ success
49
+ message
50
+ }
51
+ }
52
+ `
53
+ export const REGISTER_CONTRACT_STORE = gql`
54
+ mutation createOneContract($input: InputContractType) {
55
+ createOneContract(input: $input) {
56
+ success
57
+ message
58
+ }
59
+ }
60
+ `
61
+ export const GET_ALL_EMPLOYEE_STORE = gql`
62
+ query employees ($umId: ID, $cId: ID, $aId: ID){
63
+ employees(umId: $umId, cId: $cId, aId: $aId) {
64
+ eId
65
+ idStore
66
+ id
67
+ idEmployee
68
+ eSalary
69
+ typeContract
70
+ uEmail
71
+ termContract
72
+ eDatAdm
73
+ eState
74
+ }
75
+ }
76
+ `
77
+
78
+ export const GET_ALL_PRODUCT_STORE = gql`
79
+ query productFoodsAll($search: String, $min: Int, $max: Int, $gender: [String], $pState: Int, $desc: [String], $categories: [ID], $fromDate: DateTime, $toDate: DateTime ) {
80
+ productFoodsAll(search: $search, min: $min, max: $max, gender: $gender, desc: $desc, pState: $pState categories: $categories, toDate: $toDate, fromDate: $fromDate) {
81
+ pId
82
+ sizeId #Talla
83
+ colorId #Color
84
+ cId #Country
85
+ dId #Department
86
+ ctId #Cuidad
87
+ fId #Características
88
+ pName
89
+ getOneTags {
90
+ tPsId
91
+ idUser
92
+ idStore
93
+ pId
94
+ nameTag
95
+ }
96
+ ProPrice
97
+ ProDescuento
98
+ free
99
+ ProUniDisponibles
100
+ ProDescription
101
+ ProProtegido
102
+ ProAssurance
103
+ ValueDelivery
104
+ ProStar
105
+ sTateLogistic
106
+ ProImage
107
+ ProWidth
108
+ ProHeight
109
+ ProLength
110
+ ProWeight
111
+ ProQuantity
112
+ ProOutstanding
113
+ pDatCre
114
+ pDatMod
115
+ ProDelivery
116
+ ProVoltaje
117
+ pState
118
+ feat {
119
+ fId
120
+ thpId
121
+ hpqrQuestion
122
+ }
123
+ area {
124
+ aId
125
+ aName
126
+ }
127
+ }
128
+ }
129
+ `
130
+ export const GET_ALL_RATING_START_STORE = gql`
131
+ query getAllRatingStar($idStore: ID){
132
+ getAllRatingStar(idStore: $idStore){
133
+ rSId
134
+ rScore
135
+ idStore
136
+ createAt
137
+ }
138
+ }
139
+ `
140
+ export const GET_ALL_VISITOR_STORE = gql`
141
+ query getAllVisitorStore($idStore: ID, $search: String, $min: Int, $max: Int, $fromDate: DateTime, $toDate: DateTime) {
142
+ getAllVisitorStore(idStore: $idStore, search: $search, min: $min, max: $max, fromDate: $fromDate, toDate: $toDate) {
143
+ visitStoreId
144
+ id
145
+ idStore
146
+ createAt
147
+ updateAt
148
+ }
149
+ }
150
+ `
151
+ export const GET_MIN_PEDIDO = gql`
152
+ query getMinPrice($idStore: ID){
153
+ getMinPrice(idStore: $idStore)
154
+ }
155
+ `
156
+
157
+ export const GET_All_RATING_STORE = gql`
158
+ query getAllRating($idStore: ID){
159
+ getAllRating(idStore: $idStore){
160
+ idStore
161
+ rId
162
+ id
163
+ rAppearance
164
+ rTasty
165
+ rGoodTemperature
166
+ rGoodCondition
167
+ rState
168
+ createAt
169
+ updateAt
170
+ }
171
+ }
172
+ `
173
+ export const CREATE_LOGO = gql`
174
+ mutation setALogoStore($logo: Upload, $idStore: ID) {
175
+ setALogoStore(logo: $logo, idStore: $idStore) {
176
+ success
177
+ message
178
+ }
179
+ }
180
+ `
181
+ export const CREATE_BANNER_STORE = gql`
182
+ mutation registerBanner($input: IBanner) {
183
+ registerBanner(input: $input) {
184
+ success
185
+ message
186
+
187
+ }
188
+ }
189
+ `
190
+ export const DELETE_ONE_LOGO_STORE = gql`
191
+ mutation deleteALogoStore($idStore: ID, $Image: String) {
192
+ deleteALogoStore(idStore: $idStore, Image: $Image) {
193
+ message
194
+ success
195
+ }
196
+
197
+ }
198
+ `
199
+ export const GET_ONE_BANNER_STORE = gql`
200
+ query getOneBanners($idStore: ID, $id: ID) {
201
+ getOneBanners(idStore: $idStore, id: $id) {
202
+ bnId
203
+ id
204
+ path
205
+ bnImageFileName
206
+ idStore
207
+ bnState
208
+ createAt
209
+ updateAt
210
+ }
211
+ }
212
+ `
213
+ export const DELETE_ONE_BANNER_STORE = gql`
214
+ mutation DeleteOneBanner($bnState: Int, $idStore: ID, $bnId: ID, $bnImage: String, $bnImageFileName: String) {
215
+ DeleteOneBanner(bnState: $bnState, idStore: $idStore, bnId: $bnId, bnImage: $bnImage, bnImageFileName: $bnImageFileName ) {
216
+ success
217
+ message
218
+
219
+ }
220
+ }
221
+ `
222
+
223
+ export const GET_ALL_PQR = gql`
224
+ query getOnePqr($hpqrId: ID, $thpId: ID){
225
+ getOnePqr(hpqrId: $hpqrId, thpId: $thpId ){
226
+ hpqrId
227
+ thpId
228
+ hpqrQuestion
229
+ }
230
+ }
231
+ `
232
+ export const GET_ONE_COLOR = gql`
233
+ query getAllColor{
234
+ getAllColor{
235
+ colorId
236
+ colorName
237
+ colorState
238
+ }
239
+ }
240
+ `
241
+ export const UPDATE = gql`
242
+ mutation updateProducts($input: InputProduct){
243
+ updateProducts(input: $input){
244
+ pId
245
+ sizeId #Talla
246
+ colorId #Color
247
+ cId #Country
248
+ dId #Department
249
+ ctId #Cuidad
250
+ fId #Características
251
+ pName
252
+ ProPrice
253
+ ProDescuento
254
+ ProUniDisponibles
255
+ ProDescription
256
+ ProProtegido
257
+ ProAssurance
258
+ ProStar
259
+ pState
260
+ ProImage
261
+ ProWidth
262
+ ProHeight
263
+ ProLength
264
+ ProWeight
265
+ ProQuantity
266
+ ProOutstanding
267
+ ProDelivery
268
+ ProVoltaje
269
+ }
270
+ }
271
+ `
272
+ export const UPDATE_IMAGE_PRODUCT_FOOD = gql`
273
+ mutation setImageProducts($input: IFileImageProductFood) {
274
+ setImageProducts(input: $input) {
275
+ success
276
+ message
277
+
278
+ }
279
+ }
280
+ `
281
+ export const UPDATE_PRODUCT_FOOD = gql`
282
+ mutation updateProductFoods($input: InputProductFood){
283
+ updateProductFoods(input: $input){
284
+ pId
285
+ sizeId #Talla
286
+ colorId #Color
287
+ cId #Country
288
+ dId #Department
289
+ ctId #Cuidad
290
+ fId #Características
291
+ pName
292
+ pCode
293
+ ProPrice
294
+ carProId
295
+ ProDescuento
296
+ ProUniDisponibles
297
+ ValueDelivery
298
+ ProDescription
299
+ ProProtegido
300
+ ProAssurance
301
+ ProStar
302
+ pState
303
+ ProImage
304
+ ProWidth
305
+ ProHeight
306
+ ProLength
307
+ ProWeight
308
+ ProQuantity
309
+ ProOutstanding
310
+ ProDelivery
311
+ ProVoltaje
312
+ }
313
+ }
314
+ `
315
+ // UPDATE EXTRAS
316
+ export const UPDATE_EXTRAS_PRODUCT_FOOD = gql`
317
+ mutation updateExtProductFoods($input: InputExtProductFood){
318
+ updateExtProductFoods(input: $input){
319
+ pId
320
+ exPid
321
+ exState
322
+ extraName
323
+ extraPrice
324
+ state
325
+ pDatCre
326
+ pDatMod
327
+ }
328
+ }
329
+ `
330
+ // EXTRA PRODUCTS
331
+ export const UPDATE_EXTRAS_PRODUCT_FOOD_OPTIONAL = gql`
332
+ mutation updateExtProductFoodsOptional($input: InputExtProductFoodOptional){
333
+ updateExtProductFoodsOptional(input: $input){
334
+ pId
335
+ opExPid
336
+ OptionalProName
337
+ code
338
+ required
339
+ state
340
+ numbersOptionalOnly
341
+ }
342
+ }
343
+ `
344
+ export const GET_EXTRAS_PRODUCT_FOOD_OPTIONAL = gql`
345
+ query ExtProductFoodsOptionalAll($search: String, $min: Int, $max: Int, $pId: ID) {
346
+ ExtProductFoodsOptionalAll(search: $search, min: $min, max: $max, pId: $pId) {
347
+ pId
348
+ opExPid
349
+ OptionalProName
350
+ state
351
+ code
352
+ numbersOptionalOnly
353
+ pDatCre
354
+ required
355
+ pDatMod
356
+ ExtProductFoodsSubOptionalAll {
357
+ pId
358
+ opExPid
359
+ idStore
360
+ opSubExPid
361
+ OptionalSubProName
362
+ exCodeOptionExtra
363
+ exCode
364
+ state
365
+ pDatCre
366
+ pDatMod
367
+ }
368
+
369
+ }
370
+ }
371
+ `
372
+ export const GET_EXTRAS_PRODUCT_FOOD_SUB_OPTIONAL = gql`
373
+ mutation updateExtProductFoodsSubOptional($input: InputExtProductFoodSubOptional){
374
+ updateExtProductFoodsSubOptional(input: $input){
375
+ pId
376
+ opExPid
377
+ idStore
378
+ opSubExPid
379
+ OptionalSubProName
380
+ exCodeOptionExtra
381
+ exCode
382
+ state
383
+ pDatCre
384
+ pDatMod
385
+ }
386
+ }
387
+ `
388
+
389
+ // CREATE EXTRAS PRODUCT
390
+ export const UPDATE_MULTI_EXTRAS_PRODUCT_FOOD = gql`
391
+ mutation updateMultipleExtProductFoods($inputLineItems: ILineItemsExtraFinal){
392
+ updateMultipleExtProductFoods(inputLineItems: $inputLineItems){
393
+ pId
394
+ exPid
395
+ exState
396
+ extraName
397
+ extraPrice
398
+ state
399
+ pDatCre
400
+ pDatMod
401
+ }
402
+ }
403
+ `
404
+
405
+ export const DELETE_ONE_PRODUCT = gql`
406
+ mutation deleteProducts($input: IDeleteProduct){
407
+ deleteProducts(input: $input){
408
+ pId
409
+ }
410
+ }
411
+ `
412
+ export const GET_ALL_PRODUCTS = gql`
413
+ query productsAll($search: String, $min: Int, $max: Int, $gender: [String], $desc: [String], $categories: [ID], ) {
414
+ productsAll(search: $search, min: $min, max: $max, gender: $gender, desc: $desc, categories: $categories,) {
415
+ pId
416
+ sizeId #Talla
417
+ colorId #Color
418
+ cId #Country
419
+ dId #Department
420
+ ctId #Cuidad
421
+ fId #Características
422
+ pName
423
+ ProPrice
424
+ ProDescuento
425
+ ProUniDisponibles
426
+ ProDescription
427
+ ProProtegido
428
+ ProAssurance
429
+ ProStar
430
+ sTateLogistic
431
+ ProImage
432
+ ProWidth
433
+ ProHeight
434
+ ProLength
435
+ ProWeight
436
+ ProQuantity
437
+ ProOutstanding
438
+ ProDelivery
439
+ ProVoltaje
440
+ pState
441
+ feat {
442
+ fId
443
+ thpId
444
+ hpqrQuestion
445
+ }
446
+ area {
447
+ aId
448
+ aName
449
+ }
450
+
451
+ }
452
+ }
453
+ `
454
+ export const GET_ALL_FOOD_PRODUCTS = gql`
455
+ query getFoodAllProduct($search: String, $min: Int, $max: Int, $gender: [String], $desc: [String], $categories: [ID], ) {
456
+ getFoodAllProduct(search: $search, min: $min, max: $max, gender: $gender, desc: $desc, categories: $categories,) {
457
+ id
458
+ pfId
459
+ idStore
460
+ ProPrice
461
+ ProDescuento
462
+ ProDescription
463
+ pName
464
+ pState
465
+ sTateLogistic
466
+ ProStar
467
+ ProImage
468
+ ProHeight
469
+ ProWeight
470
+ ProOutstanding
471
+ ProDelivery
472
+ pDatCre
473
+ pDatMod
474
+ }
475
+ }
476
+ `
477
+
478
+
479
+ export const EDIT_PRODUCT = gql`
480
+ mutation editProductFoods($input: InputProductFood) {
481
+ editProductFoods(input: $input) {
482
+ success
483
+ message
484
+ }
485
+ }
486
+ `
487
+ export const SET_EDIT_STORE_NAME = gql`
488
+ mutation setEditNameStore($StoreName: String){
489
+ setEditNameStore(StoreName: $StoreName){
490
+ success
491
+ message
492
+ }
493
+ }
494
+ `
495
+ export const GET_ONE_PRODUCTS_FOOD = gql`
496
+ query productFoodsOne($pId: ID){
497
+ productFoodsOne(pId: $pId ){
498
+ pId
499
+ carProId
500
+ pCode
501
+ sizeId
502
+ colorId
503
+ idStore
504
+ cId
505
+ caId
506
+ dId
507
+ ctId
508
+ tpId
509
+
510
+ fId
511
+ pName
512
+ ProPrice
513
+ ProDescuento
514
+ ValueDelivery
515
+ ProUniDisponibles
516
+ ProDescription
517
+ ProProtegido
518
+ ProAssurance
519
+ ProImage
520
+ ProStar
521
+ ProWidth
522
+ ProHeight
523
+ ProLength
524
+ ProWeight
525
+ ProQuantity
526
+ ProOutstanding
527
+ ProDelivery
528
+ ProVoltaje
529
+ pState
530
+ sTateLogistic
531
+ pDatCre
532
+ pDatMod
533
+ ExtProductFoodsAll {
534
+ pId
535
+ exPid
536
+ exState
537
+ extraName
538
+ extraPrice
539
+ state
540
+ pDatCre
541
+ pDatMod
542
+ }
543
+ getStore {
544
+ idStore
545
+ cId
546
+ id
547
+ dId
548
+ ctId
549
+ catStore
550
+ neighborhoodStore
551
+ Viaprincipal
552
+ storeOwner
553
+ storeName
554
+ emailStore
555
+ storePhone
556
+ socialRaz
557
+ Image
558
+ banner
559
+ documentIdentifier
560
+ uPhoNum
561
+ ULocation
562
+ upLat
563
+ upLon
564
+ uState
565
+ siteWeb
566
+ description
567
+ NitStore
568
+ typeRegiments
569
+ typeContribute
570
+ secVia
571
+ addressStore
572
+ createdAt
573
+ department {
574
+ dId
575
+ cId
576
+ dName
577
+ dDatCre
578
+ dDatMod
579
+ dState
580
+ }
581
+ pais {
582
+ cId
583
+ cName
584
+ cCalCod
585
+ cState
586
+
587
+ }
588
+ city {
589
+ ctId
590
+ dId
591
+ cName
592
+ cState
593
+ cDatCre
594
+ cDatMod
595
+ }
596
+ }
597
+
598
+ }
599
+ }
600
+ `
601
+
602
+
603
+ export const CREATE_FOOD_PRODUCT = gql`
604
+ mutation newRegisterFoodProduct($input: FoodProductInput){
605
+ newRegisterFoodProduct(input: $input){
606
+ success
607
+ message
608
+ }
609
+ }
610
+ `
611
+ export const GET_BANNER_PROMO_DASHBOARD = gql`
612
+ query getPromoStoreAdmin($min: Int, $max: Int){
613
+ getPromoStoreAdmin(min: $min, max: $max){
614
+ pSoId
615
+ comments
616
+ mainName
617
+ metaTags
618
+ urlImage
619
+ bPromoState
620
+ createAt
621
+ updateAt
622
+ }
623
+ }
624
+ `
625
+
626
+ export const CREATE_STORE_CALENDAR = gql`
627
+ mutation setStoreSchedule($input: ITstoreSchedule!){
628
+ setStoreSchedule(input: $input){
629
+ message
630
+ success
631
+ }
632
+ }
633
+ `
634
+ export const DELETE_ONE_CAT_PRODUCTS = gql`
635
+ mutation deleteCatOfProducts($idPc: ID!, $pState: Int){
636
+ deleteCatOfProducts(idPc: $idPc, pState: $pState){
637
+ success
638
+ message
639
+ }
640
+ }
641
+ `
642
+ export const DELETE_ONE_CAT_PRODUCTS_FINAL = gql`
643
+
644
+ mutation deleteCatFinalOfProducts($idPc: ID){
645
+ deleteCatFinalOfProducts(idPc: $idPc){
646
+ success
647
+ message
648
+ }
649
+ }
650
+ `
651
+ export const DELETE_EXTRA_PRODUCTS = gql`
652
+ mutation deleteextraproductfoods($id: ID, $state: Int){
653
+ deleteextraproductfoods(id: $id, state: $state){
654
+ success,
655
+ message
656
+ }
657
+ }
658
+ `
659
+ export const EDIT_EXTRA_PRODUCTS = gql`
660
+ mutation editExtProductFoods($input: InputExtProductFood!) {
661
+ editExtProductFoods(input: $input) {
662
+ success
663
+ message
664
+ }
665
+ }
666
+ `
667
+ export const DELETE_CAT_EXTRA_PRODUCTS = gql`
668
+ mutation DeleteExtProductFoodsOptional($opExPid: ID, $state: Int){
669
+ DeleteExtProductFoodsOptional(opExPid: $opExPid, state: $state){
670
+ success,
671
+ message
672
+ }
673
+ }
674
+ `
675
+ export const DELETE_CAT_EXTRA_SUB_OPTIONAL_PRODUCTS = gql`
676
+ mutation DeleteExtFoodSubsOptional($opSubExPid: ID, $state: Int){
677
+ DeleteExtFoodSubsOptional(opSubExPid: $opSubExPid, state: $state){
678
+ success,
679
+ message
680
+ }
681
+ }
682
+ `
683
+ export const UPDATE_CAT_IN_PRODUCT = gql`
684
+ mutation updatedCatWithProducts($input: LineItemsIdPro){
685
+ updatedCatWithProducts(input: $input){
686
+ success
687
+ message
688
+ }
689
+ }
690
+ `
691
+ export const GET_ULTIMATE_CATEGORY_PRODUCTS = gql`
692
+ query catProductsAll($search: String, $min: Int, $max: Int, $gender: [String], $desc: [String], $categories: [ID], ) {
693
+ catProductsAll(search: $search, min: $min, max: $max, gender: $gender, desc: $desc, categories: $categories,) {
694
+ carProId
695
+ idStore
696
+ pName
697
+ ProDescription
698
+ ProImage
699
+ pState
700
+ pDatCre
701
+ pDatMod
702
+ }
703
+ }
704
+ `
705
+ export const GET_ALL_EXTRA_PRODUCT = gql`
706
+ query ExtProductFoodsAll($search: String, $min: Int, $max: Int, $pId: ID) {
707
+ ExtProductFoodsAll(search: $search, min: $min, max: $max, pId: $pId) {
708
+ pId
709
+ exPid
710
+ exState
711
+ extraName
712
+ extraPrice
713
+ state
714
+ pDatCre
715
+ pDatMod
716
+ }
717
+ }
718
+ `
719
+ export const GET_ALL_CATEGORIES_WITH_PRODUCT = gql`
720
+ query getCatProductsWithProduct($search: String, $min: Int, $max: Int, $gender: [String], $desc: [String], $categories: [ID], ) {
721
+ getCatProductsWithProduct(search: $search, min: $min, max: $max, gender: $gender, desc: $desc, categories: $categories,) {
722
+ carProId
723
+ pState
724
+ pState
725
+ ProImage
726
+ idStore
727
+ pName
728
+ ProDescription
729
+ ProImage
730
+ pState
731
+ pDatCre
732
+ pDatMod
733
+ productFoodsAll {
734
+ pId
735
+ sizeId
736
+ colorId
737
+ carProId
738
+ cId
739
+ dId
740
+ ctId
741
+ idStore
742
+ caId
743
+ fId
744
+ pName
745
+ ProPrice
746
+ ProDescuento
747
+ ProUniDisponibles
748
+ ProDescription
749
+ ProProtegido
750
+ ProAssurance
751
+ ProImage
752
+ ProStar
753
+ ProWidth
754
+ ProHeight
755
+ ProLength
756
+ ProWeight
757
+ ProQuantity
758
+ ProOutstanding
759
+ ProDelivery
760
+ ProVoltaje
761
+ pState
762
+ sTateLogistic
763
+ pDatCre
764
+ pDatMod
765
+ }
766
+ }
767
+ }
768
+ `
769
+
770
+ export const REGISTER_TAGS_PRODUCT = gql`
771
+ mutation registerTag($input: ITag) {
772
+ registerTag(input: $input) {
773
+ tPsId
774
+ idUser
775
+ idStore
776
+ pId
777
+ nameTag
778
+ aName
779
+ }
780
+ }
766
781
  `