@zauru-sdk/graphql 1.0.33 → 1.0.48
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/dist/{GraphQL.queries.js → cjs/GraphQL.queries.js} +58 -44
- package/dist/cjs/index.js +17 -0
- package/{src/GraphQL.queries.ts → dist/esm/GraphQL.queries.js} +186 -292
- package/dist/esm/index.js +17 -0
- package/package.json +11 -9
- package/CHANGELOG.md +0 -64
- package/dist/index.js +0 -1
- package/src/index.ts +0 -1
- package/tsconfig.json +0 -23
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCasesByResponsibleIdStringQuery = exports.getInvoicesByAgencyIdStringQuery = exports.getPaymentTermByIdStringQuery = exports.getPaymentTermsStringQuery = exports.getSuggestedPricesStringQuery = exports.getCurrenciesStringQuery = exports.getInvoiceFormSubmissionsByInvoiceIdStringQuery = exports.getLastInvoiceFormSubmissionStringQuery = exports.getInvoiceFormSubmissionsByAgencyIdStringQuery = exports.getFormSubmissionByIdStringQuery = exports.getMyCaseFormSubmissionsStringQuery = exports.getFormsByDocumentTypeStringQuery = exports.getFormsStringQuery = exports.getFormByNameStringQuery = exports.getShipmentsStringQuery = exports.getItemByNameStringQuery = exports.getBundleByNameStringQuery = exports.getBundlesByItemCategoryIdStringQuery = exports.getEmployeesByAgencyIdStringQuery = exports.getEmployeeProfileStringQuery = exports.getConsolidatesBetweenDatesStringQuery = exports.getItemsBySuperCategoryStringQuery = exports.getItemsStringQuery = exports.getItemsByCategoryStringQuery = exports.getItemCategoryByIdStringQuery = exports.getSuperCategoryByIdStringQuery = exports.getPayeeByIdStringQuery = exports.getClientCategoriesStringQuery = exports.getProviderCategoriesStringQuery = exports.getPayeeCategoriesStringQuery = exports.getPayeeCategoriesByNotesMatchStringQuery = exports.getPayeeCategoryByIdStringQuery = exports.getWebAppRowsByWebAppTableIdStringQuery = exports.getWebAppRowStringQuery = exports.getAgenciesStringQuery = exports.getProvidersStringQuery = exports.getPayeesStringQuery = exports.getPurchaseOrdersBetweenDatesStringQuery = exports.getLotStocksByAgencyIdStringQuery = exports.getLotsByNameStringQuery = exports.getShipmentsByToAgencyLast100StringQuery = exports.getPurchaseOrderStringQuery = exports.getPurchaseOrderByIdNumberStringQuery = exports.getLast100ReceptionsStringQuery = void 0;
|
|
4
|
+
exports.getLast100ReceptionsStringQuery = `
|
|
2
5
|
query getLast100Receptions($agencyId: Int) @cached {
|
|
3
6
|
purchase_orders(limit: 100, order_by: {created_at: desc}, where: {voided: {_eq: false}, agency_id: {_eq: $agencyId}}) {
|
|
4
7
|
id
|
|
@@ -28,7 +31,7 @@ query getLast100Receptions($agencyId: Int) @cached {
|
|
|
28
31
|
}
|
|
29
32
|
}
|
|
30
33
|
`;
|
|
31
|
-
|
|
34
|
+
exports.getPurchaseOrderByIdNumberStringQuery = `
|
|
32
35
|
query getPurchaseOrderByIdNumber($id_number: String) @cached {
|
|
33
36
|
purchase_orders(where: {id_number: {_eq: $id_number}}) {
|
|
34
37
|
id
|
|
@@ -72,7 +75,7 @@ query getPurchaseOrderByIdNumber($id_number: String) @cached {
|
|
|
72
75
|
}
|
|
73
76
|
}
|
|
74
77
|
`;
|
|
75
|
-
|
|
78
|
+
const getPurchaseOrderStringQuery = (config = { withLotStocks: false }) => `
|
|
76
79
|
query getPurchaseOrder($id: Int) @cached {
|
|
77
80
|
purchase_orders(where: {id: {_eq: $id}}) {
|
|
78
81
|
id
|
|
@@ -142,7 +145,8 @@ query getPurchaseOrder($id: Int) @cached {
|
|
|
142
145
|
}
|
|
143
146
|
}
|
|
144
147
|
`;
|
|
145
|
-
|
|
148
|
+
exports.getPurchaseOrderStringQuery = getPurchaseOrderStringQuery;
|
|
149
|
+
exports.getShipmentsByToAgencyLast100StringQuery = `
|
|
146
150
|
query getShipmentsByToAgencyLast100(
|
|
147
151
|
$agency_to_id: Int
|
|
148
152
|
){
|
|
@@ -173,7 +177,7 @@ query getShipmentsByToAgencyLast100(
|
|
|
173
177
|
}
|
|
174
178
|
}
|
|
175
179
|
`;
|
|
176
|
-
|
|
180
|
+
exports.getLotsByNameStringQuery = `
|
|
177
181
|
query getLots($name: String, $entity_id: Int){
|
|
178
182
|
lots (limit: 100, order_by: {id: desc}, where: {entity_id: {_eq: $entity_id}, name: {_eq: $name}}) {
|
|
179
183
|
id
|
|
@@ -182,7 +186,7 @@ query getLots($name: String, $entity_id: Int){
|
|
|
182
186
|
}
|
|
183
187
|
}
|
|
184
188
|
`;
|
|
185
|
-
|
|
189
|
+
exports.getLotStocksByAgencyIdStringQuery = `
|
|
186
190
|
query getLotStocksByAgencyId($agency_id: Int){
|
|
187
191
|
lot_stocks (
|
|
188
192
|
order_by: { id: desc },
|
|
@@ -199,7 +203,7 @@ query getLotStocksByAgencyId($agency_id: Int){
|
|
|
199
203
|
}
|
|
200
204
|
}
|
|
201
205
|
`;
|
|
202
|
-
|
|
206
|
+
const getPurchaseOrdersBetweenDatesStringQuery = (config = {
|
|
203
207
|
agencyFilter: false,
|
|
204
208
|
payeeCategoryFilter: false,
|
|
205
209
|
itemIdFilter: false,
|
|
@@ -282,7 +286,8 @@ query getPurchaseOrdersBetweenDates(
|
|
|
282
286
|
}
|
|
283
287
|
}
|
|
284
288
|
`;
|
|
285
|
-
|
|
289
|
+
exports.getPurchaseOrdersBetweenDatesStringQuery = getPurchaseOrdersBetweenDatesStringQuery;
|
|
290
|
+
exports.getPayeesStringQuery = `
|
|
286
291
|
query getPayees {
|
|
287
292
|
payees {
|
|
288
293
|
id
|
|
@@ -294,7 +299,7 @@ query getPayees {
|
|
|
294
299
|
}
|
|
295
300
|
}
|
|
296
301
|
`;
|
|
297
|
-
|
|
302
|
+
exports.getProvidersStringQuery = `
|
|
298
303
|
query getProviders {
|
|
299
304
|
payees (where: {vendor: {_eq: true}}) {
|
|
300
305
|
id
|
|
@@ -305,7 +310,7 @@ query getProviders {
|
|
|
305
310
|
}
|
|
306
311
|
}
|
|
307
312
|
`;
|
|
308
|
-
|
|
313
|
+
exports.getAgenciesStringQuery = `
|
|
309
314
|
query getAgencies {
|
|
310
315
|
agencies {
|
|
311
316
|
id
|
|
@@ -313,14 +318,14 @@ query getAgencies {
|
|
|
313
318
|
}
|
|
314
319
|
}
|
|
315
320
|
`;
|
|
316
|
-
|
|
321
|
+
exports.getWebAppRowStringQuery = `
|
|
317
322
|
query getWebAppRow($id: Int){
|
|
318
323
|
webapp_rows(where: {id: {_eq: $id}}) {
|
|
319
324
|
data
|
|
320
325
|
}
|
|
321
326
|
}
|
|
322
327
|
`;
|
|
323
|
-
|
|
328
|
+
exports.getWebAppRowsByWebAppTableIdStringQuery = `
|
|
324
329
|
query getWebAppRowsByWebAppTableId ($webapp_table_id: Int) {
|
|
325
330
|
webapp_rows (where: {webapp_table_id: {_eq: $webapp_table_id }}) {
|
|
326
331
|
id
|
|
@@ -329,7 +334,7 @@ query getWebAppRowsByWebAppTableId ($webapp_table_id: Int) {
|
|
|
329
334
|
}
|
|
330
335
|
}
|
|
331
336
|
`;
|
|
332
|
-
|
|
337
|
+
exports.getPayeeCategoryByIdStringQuery = `
|
|
333
338
|
query getPayeeCategoryById ($id: Int) {
|
|
334
339
|
payee_categories (where: {id: {_eq: $id }}) {
|
|
335
340
|
payees (order_by: { id: desc }) {
|
|
@@ -345,7 +350,7 @@ query getPayeeCategoryById ($id: Int) {
|
|
|
345
350
|
}
|
|
346
351
|
}
|
|
347
352
|
`;
|
|
348
|
-
|
|
353
|
+
const getPayeeCategoriesByNotesMatchStringQuery = (match) => `
|
|
349
354
|
query getPayeeCategoriesByNotesMatch {
|
|
350
355
|
payee_categories(where: {notes: {_ilike: "%${match}%" }}) {
|
|
351
356
|
id
|
|
@@ -373,7 +378,8 @@ query getPayeeCategoriesByNotesMatch {
|
|
|
373
378
|
}
|
|
374
379
|
}
|
|
375
380
|
`;
|
|
376
|
-
|
|
381
|
+
exports.getPayeeCategoriesByNotesMatchStringQuery = getPayeeCategoriesByNotesMatchStringQuery;
|
|
382
|
+
exports.getPayeeCategoriesStringQuery = `
|
|
377
383
|
query getPayeeCategories {
|
|
378
384
|
payee_categories {
|
|
379
385
|
id
|
|
@@ -384,7 +390,7 @@ query getPayeeCategories {
|
|
|
384
390
|
}
|
|
385
391
|
}
|
|
386
392
|
`;
|
|
387
|
-
|
|
393
|
+
exports.getProviderCategoriesStringQuery = `
|
|
388
394
|
query getProviderCategories {
|
|
389
395
|
payee_categories (where: {vendor: {_eq: true}}) {
|
|
390
396
|
id
|
|
@@ -395,7 +401,7 @@ query getProviderCategories {
|
|
|
395
401
|
}
|
|
396
402
|
}
|
|
397
403
|
`;
|
|
398
|
-
|
|
404
|
+
exports.getClientCategoriesStringQuery = `
|
|
399
405
|
query getClientCategories {
|
|
400
406
|
payee_categories (where: {vendor: {_eq: false}}) {
|
|
401
407
|
id
|
|
@@ -406,7 +412,7 @@ query getClientCategories {
|
|
|
406
412
|
}
|
|
407
413
|
}
|
|
408
414
|
`;
|
|
409
|
-
|
|
415
|
+
exports.getPayeeByIdStringQuery = `
|
|
410
416
|
query getPayeeById ($id: Int) {
|
|
411
417
|
payees (where: {id: {_eq: $id }}) {
|
|
412
418
|
id
|
|
@@ -420,7 +426,7 @@ query getPayeeById ($id: Int) {
|
|
|
420
426
|
}
|
|
421
427
|
}
|
|
422
428
|
`;
|
|
423
|
-
|
|
429
|
+
exports.getSuperCategoryByIdStringQuery = `
|
|
424
430
|
query getSuperCategoryById ($id: Int) {
|
|
425
431
|
item_super_categories (where: {id: {_eq: $id }}) {
|
|
426
432
|
item_categories {
|
|
@@ -432,7 +438,7 @@ query getSuperCategoryById ($id: Int) {
|
|
|
432
438
|
}
|
|
433
439
|
}
|
|
434
440
|
`;
|
|
435
|
-
|
|
441
|
+
exports.getItemCategoryByIdStringQuery = `
|
|
436
442
|
query getItemCategoryById ($id: Int) {
|
|
437
443
|
item_categories (where: {id: {_eq: $id }}) {
|
|
438
444
|
id
|
|
@@ -442,7 +448,7 @@ query getItemCategoryById ($id: Int) {
|
|
|
442
448
|
}
|
|
443
449
|
}
|
|
444
450
|
`;
|
|
445
|
-
|
|
451
|
+
exports.getItemsByCategoryStringQuery = `
|
|
446
452
|
query getItemsByCategory ($id: Int) {
|
|
447
453
|
item_categories (where: {id: {_eq: $id }}) {
|
|
448
454
|
items (where: {active: {_eq: true }}) {
|
|
@@ -455,7 +461,7 @@ query getItemsByCategory ($id: Int) {
|
|
|
455
461
|
}
|
|
456
462
|
}
|
|
457
463
|
`;
|
|
458
|
-
|
|
464
|
+
exports.getItemsStringQuery = `
|
|
459
465
|
query getItems {
|
|
460
466
|
items (where: {active: {_eq: true }}) {
|
|
461
467
|
id,
|
|
@@ -463,7 +469,7 @@ query getItems {
|
|
|
463
469
|
}
|
|
464
470
|
}
|
|
465
471
|
`;
|
|
466
|
-
|
|
472
|
+
exports.getItemsBySuperCategoryStringQuery = `
|
|
467
473
|
query getItemsBySuperCategory ($id: Int, $agency_id: Int) {
|
|
468
474
|
item_super_categories (where: {id: {_eq: $id }}, order_by: {id: desc}) {
|
|
469
475
|
item_categories {
|
|
@@ -487,7 +493,7 @@ query getItemsBySuperCategory ($id: Int, $agency_id: Int) {
|
|
|
487
493
|
}
|
|
488
494
|
}
|
|
489
495
|
`;
|
|
490
|
-
|
|
496
|
+
exports.getConsolidatesBetweenDatesStringQuery = `
|
|
491
497
|
query getConsolidatesBetweenDates ($startDate: timestamp, $endDate: timestamp) {
|
|
492
498
|
consolidates (order_by: {id: desc}, where: {created_at: {_gte: $startDate, _lte: $endDate}}) {
|
|
493
499
|
id
|
|
@@ -501,7 +507,7 @@ query getConsolidatesBetweenDates ($startDate: timestamp, $endDate: timestamp) {
|
|
|
501
507
|
}
|
|
502
508
|
}
|
|
503
509
|
`;
|
|
504
|
-
|
|
510
|
+
exports.getEmployeeProfileStringQuery = `
|
|
505
511
|
query getEmployeeProfile ($id: Int) {
|
|
506
512
|
employees(where: {id: {_eq: $id}}) {
|
|
507
513
|
agency_id
|
|
@@ -513,7 +519,7 @@ query getEmployeeProfile ($id: Int) {
|
|
|
513
519
|
}
|
|
514
520
|
}
|
|
515
521
|
`;
|
|
516
|
-
|
|
522
|
+
exports.getEmployeesByAgencyIdStringQuery = `
|
|
517
523
|
query getEmployeesByAgencyId ($id: Int) {
|
|
518
524
|
employees(where: {agency_id: {_eq: $id}}) {
|
|
519
525
|
name
|
|
@@ -522,7 +528,7 @@ query getEmployeesByAgencyId ($id: Int) {
|
|
|
522
528
|
}
|
|
523
529
|
}
|
|
524
530
|
`;
|
|
525
|
-
|
|
531
|
+
exports.getBundlesByItemCategoryIdStringQuery = `
|
|
526
532
|
query getBundlesByItemCategoryId ($id: Int) {
|
|
527
533
|
bundles(where: {active: {_eq: true}, item_category_id: {_eq: $id}}) {
|
|
528
534
|
id
|
|
@@ -540,14 +546,14 @@ query getBundlesByItemCategoryId ($id: Int) {
|
|
|
540
546
|
}
|
|
541
547
|
}
|
|
542
548
|
`;
|
|
543
|
-
|
|
549
|
+
exports.getBundleByNameStringQuery = `
|
|
544
550
|
query getBundleByName ($name: String) {
|
|
545
551
|
bundles (where: {name: {_eq: $name }}) {
|
|
546
552
|
id
|
|
547
553
|
}
|
|
548
554
|
}
|
|
549
555
|
`;
|
|
550
|
-
|
|
556
|
+
exports.getItemByNameStringQuery = `
|
|
551
557
|
query getItemByName ($name: String) {
|
|
552
558
|
items (where: {active: {_eq: true }, name: {_eq: $name }}) {
|
|
553
559
|
id
|
|
@@ -558,7 +564,7 @@ query getItemByName ($name: String) {
|
|
|
558
564
|
}
|
|
559
565
|
}
|
|
560
566
|
`;
|
|
561
|
-
|
|
567
|
+
const getShipmentsStringQuery = (wheres = []) => {
|
|
562
568
|
const additionalWheres = wheres.join(",");
|
|
563
569
|
return `query getShipments {
|
|
564
570
|
shipments (${additionalWheres.length > 0 ? `where: {${additionalWheres}},` : ""} order_by: {id: desc}) {
|
|
@@ -580,7 +586,8 @@ export const getShipmentsStringQuery = (wheres = []) => {
|
|
|
580
586
|
}
|
|
581
587
|
`;
|
|
582
588
|
};
|
|
583
|
-
|
|
589
|
+
exports.getShipmentsStringQuery = getShipmentsStringQuery;
|
|
590
|
+
exports.getFormByNameStringQuery = `
|
|
584
591
|
query getFormByName ($name: String) {
|
|
585
592
|
settings_forms (
|
|
586
593
|
where: {name: {_eq: $name }},
|
|
@@ -612,7 +619,7 @@ query getFormByName ($name: String) {
|
|
|
612
619
|
}
|
|
613
620
|
}
|
|
614
621
|
`;
|
|
615
|
-
|
|
622
|
+
exports.getFormsStringQuery = `
|
|
616
623
|
query getForms {
|
|
617
624
|
settings_forms (
|
|
618
625
|
order_by: {zid: desc, version: desc}
|
|
@@ -643,7 +650,7 @@ query getForms {
|
|
|
643
650
|
}
|
|
644
651
|
}
|
|
645
652
|
`;
|
|
646
|
-
|
|
653
|
+
const getFormsByDocumentTypeStringQuery = (filters = {}) => `
|
|
647
654
|
query getFormsByDocumentType ($document_type: String) {
|
|
648
655
|
settings_forms (
|
|
649
656
|
where: {
|
|
@@ -684,7 +691,8 @@ query getFormsByDocumentType ($document_type: String) {
|
|
|
684
691
|
}
|
|
685
692
|
}
|
|
686
693
|
`;
|
|
687
|
-
|
|
694
|
+
exports.getFormsByDocumentTypeStringQuery = getFormsByDocumentTypeStringQuery;
|
|
695
|
+
const getMyCaseFormSubmissionsStringQuery = (filters = {}) => `
|
|
688
696
|
query getMyCaseFormSubmissions ($responsible_id: Int) {
|
|
689
697
|
submission_cases (
|
|
690
698
|
limit: 500,
|
|
@@ -755,7 +763,8 @@ query getMyCaseFormSubmissions ($responsible_id: Int) {
|
|
|
755
763
|
}
|
|
756
764
|
}
|
|
757
765
|
`;
|
|
758
|
-
|
|
766
|
+
exports.getMyCaseFormSubmissionsStringQuery = getMyCaseFormSubmissionsStringQuery;
|
|
767
|
+
exports.getFormSubmissionByIdStringQuery = `
|
|
759
768
|
query getFormSubmissionById ($formId: bigint) {
|
|
760
769
|
settings_form_submissions (where: {id: { _eq: $formId }}) {
|
|
761
770
|
id
|
|
@@ -789,7 +798,7 @@ query getFormSubmissionById ($formId: bigint) {
|
|
|
789
798
|
}
|
|
790
799
|
}
|
|
791
800
|
`;
|
|
792
|
-
|
|
801
|
+
const getInvoiceFormSubmissionsByAgencyIdStringQuery = (filters) => {
|
|
793
802
|
return `
|
|
794
803
|
query getInvoiceFormSubmissionsByAgencyId (
|
|
795
804
|
$agency_id: Int
|
|
@@ -877,7 +886,8 @@ query getInvoiceFormSubmissionsByAgencyId (
|
|
|
877
886
|
}
|
|
878
887
|
`;
|
|
879
888
|
};
|
|
880
|
-
|
|
889
|
+
exports.getInvoiceFormSubmissionsByAgencyIdStringQuery = getInvoiceFormSubmissionsByAgencyIdStringQuery;
|
|
890
|
+
const getLastInvoiceFormSubmissionStringQuery = (filters = {}) => `
|
|
881
891
|
query getLastInvoiceFormSubmission {
|
|
882
892
|
submission_invoices(
|
|
883
893
|
where: {
|
|
@@ -898,7 +908,8 @@ query getLastInvoiceFormSubmission {
|
|
|
898
908
|
}
|
|
899
909
|
}
|
|
900
910
|
`;
|
|
901
|
-
|
|
911
|
+
exports.getLastInvoiceFormSubmissionStringQuery = getLastInvoiceFormSubmissionStringQuery;
|
|
912
|
+
const getInvoiceFormSubmissionsByInvoiceIdStringQuery = (filters = {}) => `
|
|
902
913
|
query getInvoiceFormSubmissionsByInvoiceId ($invoice_id: bigint) {
|
|
903
914
|
submission_invoices(
|
|
904
915
|
where: {
|
|
@@ -951,7 +962,8 @@ query getInvoiceFormSubmissionsByInvoiceId ($invoice_id: bigint) {
|
|
|
951
962
|
}
|
|
952
963
|
}
|
|
953
964
|
`;
|
|
954
|
-
|
|
965
|
+
exports.getInvoiceFormSubmissionsByInvoiceIdStringQuery = getInvoiceFormSubmissionsByInvoiceIdStringQuery;
|
|
966
|
+
exports.getCurrenciesStringQuery = `
|
|
955
967
|
query getCurrencies {
|
|
956
968
|
currencies {
|
|
957
969
|
id
|
|
@@ -963,7 +975,7 @@ query getCurrencies {
|
|
|
963
975
|
}
|
|
964
976
|
}
|
|
965
977
|
`;
|
|
966
|
-
|
|
978
|
+
const getSuggestedPricesStringQuery = (config = {
|
|
967
979
|
notNullPriceList: false,
|
|
968
980
|
withItems: false,
|
|
969
981
|
withItemCategories: false,
|
|
@@ -1017,7 +1029,8 @@ query getSuggestedPrices {
|
|
|
1017
1029
|
}
|
|
1018
1030
|
}
|
|
1019
1031
|
`;
|
|
1020
|
-
|
|
1032
|
+
exports.getSuggestedPricesStringQuery = getSuggestedPricesStringQuery;
|
|
1033
|
+
exports.getPaymentTermsStringQuery = `
|
|
1021
1034
|
query getPaymentTerms {
|
|
1022
1035
|
payment_terms {
|
|
1023
1036
|
active
|
|
@@ -1027,7 +1040,7 @@ query getPaymentTerms {
|
|
|
1027
1040
|
}
|
|
1028
1041
|
}
|
|
1029
1042
|
`;
|
|
1030
|
-
|
|
1043
|
+
exports.getPaymentTermByIdStringQuery = `
|
|
1031
1044
|
query getPaymentTermById ($id: Int) {
|
|
1032
1045
|
payment_terms (where: {id: {_eq: $id }}) {
|
|
1033
1046
|
active
|
|
@@ -1042,7 +1055,7 @@ query getPaymentTermById ($id: Int) {
|
|
|
1042
1055
|
}
|
|
1043
1056
|
}
|
|
1044
1057
|
`;
|
|
1045
|
-
|
|
1058
|
+
exports.getInvoicesByAgencyIdStringQuery = `
|
|
1046
1059
|
query getInvoicesByAgencyId($id: Int) {
|
|
1047
1060
|
invoices(limit: 1000, where: {agency_id: {_eq: $id}, voided: {_eq: false}}, order_by: {id: desc}) {
|
|
1048
1061
|
id
|
|
@@ -1089,7 +1102,7 @@ query getInvoicesByAgencyId($id: Int) {
|
|
|
1089
1102
|
}
|
|
1090
1103
|
}
|
|
1091
1104
|
`;
|
|
1092
|
-
|
|
1105
|
+
const getCasesByResponsibleIdStringQuery = (wheres = []) => {
|
|
1093
1106
|
const additionalWheres = wheres.join(",");
|
|
1094
1107
|
return `
|
|
1095
1108
|
query getCasesByResponsibleId($responsible_id: Int) {
|
|
@@ -1130,3 +1143,4 @@ export const getCasesByResponsibleIdStringQuery = (wheres = []) => {
|
|
|
1130
1143
|
}
|
|
1131
1144
|
`;
|
|
1132
1145
|
};
|
|
1146
|
+
exports.getCasesByResponsibleIdStringQuery = getCasesByResponsibleIdStringQuery;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./GraphQL.queries.js"), exports);
|