@be-logixpair/api 0.0.6 → 0.0.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1533 -1251
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -233,110 +233,19 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
233
233
  output: string;
234
234
  meta: object;
235
235
  }>;
236
- locations: import("@trpc/server").TRPCBuiltRouter<{
236
+ settings: import("@trpc/server").TRPCBuiltRouter<{
237
237
  ctx: Context$1;
238
238
  meta: object;
239
239
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
240
240
  transformer: false;
241
241
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
242
- unLocodes: import("@trpc/server").TRPCBuiltRouter<{
242
+ references: import("@trpc/server").TRPCBuiltRouter<{
243
243
  ctx: Context$1;
244
244
  meta: object;
245
245
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
246
246
  transformer: false;
247
247
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
248
- get: import("@trpc/server").TRPCMutationProcedure<{
249
- input: {
250
- search?: string | null | undefined;
251
- take?: number | null | undefined;
252
- skip?: number | null | undefined;
253
- is_active?: boolean[] | null | undefined;
254
- ids_include?: number[] | null | undefined;
255
- ids_exclude?: number[] | null | undefined;
256
- ids_string_include?: string[] | null | undefined;
257
- ids_string_exclude?: string[] | null | undefined;
258
- logic_codes_include?: string[] | null | undefined;
259
- logic_codes_exclude?: string[] | null | undefined;
260
- };
261
- output: {
262
- data: {
263
- id: number;
264
- is_active: boolean | null;
265
- id_city: number | null;
266
- id_country: number | null;
267
- id_state: number | null;
268
- created_at: Date | null;
269
- created_by: string | null;
270
- updated_at: Date | null;
271
- updated_by: string | null;
272
- logic_code: string | null;
273
- un_code: string | null;
274
- iata_code: string | null;
275
- iata_region_code: string | null;
276
- latitude: Decimal | null;
277
- longitude: Decimal | null;
278
- port_name: string | null;
279
- proper_name: string | null;
280
- is_system: boolean | null;
281
- is_system_updatable: boolean | null;
282
- has_post: boolean | null;
283
- has_customs: boolean | null;
284
- has_unload: boolean | null;
285
- has_airport: boolean | null;
286
- has_railway: boolean | null;
287
- has_road: boolean | null;
288
- has_store: boolean | null;
289
- has_terminal: boolean | null;
290
- has_discharge: boolean | null;
291
- has_seaport: boolean | null;
292
- has_outport: boolean | null;
293
- }[] | undefined;
294
- total: number | undefined;
295
- };
296
- meta: object;
297
- }>;
298
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
299
- input: {
300
- id?: number | null | undefined;
301
- id_string?: string | null | undefined;
302
- };
303
- output: {
304
- data: {
305
- id: number;
306
- is_active: boolean | null;
307
- id_city: number | null;
308
- id_country: number | null;
309
- id_state: number | null;
310
- created_at: Date | null;
311
- created_by: string | null;
312
- updated_at: Date | null;
313
- updated_by: string | null;
314
- logic_code: string | null;
315
- un_code: string | null;
316
- iata_code: string | null;
317
- iata_region_code: string | null;
318
- latitude: Decimal | null;
319
- longitude: Decimal | null;
320
- port_name: string | null;
321
- proper_name: string | null;
322
- is_system: boolean | null;
323
- is_system_updatable: boolean | null;
324
- has_post: boolean | null;
325
- has_customs: boolean | null;
326
- has_unload: boolean | null;
327
- has_airport: boolean | null;
328
- has_railway: boolean | null;
329
- has_road: boolean | null;
330
- has_store: boolean | null;
331
- has_terminal: boolean | null;
332
- has_discharge: boolean | null;
333
- has_seaport: boolean | null;
334
- has_outport: boolean | null;
335
- } | undefined;
336
- };
337
- meta: object;
338
- }>;
339
- histories: import("@trpc/server").TRPCBuiltRouter<{
248
+ currencies: import("@trpc/server").TRPCBuiltRouter<{
340
249
  ctx: Context$1;
341
250
  meta: object;
342
251
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
@@ -354,24 +263,168 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
354
263
  ids_string_exclude?: string[] | null | undefined;
355
264
  logic_codes_include?: string[] | null | undefined;
356
265
  logic_codes_exclude?: string[] | null | undefined;
357
- id_log_type?: number | null | undefined;
358
- ids_log_type?: number[] | null | undefined;
359
- id_un_locode?: number | null | undefined;
360
- ids_un_locode?: number[] | null | undefined;
361
266
  };
362
267
  output: {
363
- data: ({
364
- log_type: {
268
+ data: {
269
+ symbol: string | null;
270
+ id: number;
271
+ name: string | null;
272
+ is_active: boolean | null;
273
+ created_at: Date | null;
274
+ created_by: string | null;
275
+ updated_at: Date | null;
276
+ updated_by: string | null;
277
+ logic_code: string | null;
278
+ currency_code: string | null;
279
+ currency_name: string | null;
280
+ major_unit: string | null;
281
+ minor_unit: string | null;
282
+ decimal_unit: number | null;
283
+ iso_decimal: number | null;
284
+ }[] | undefined;
285
+ total: number | undefined;
286
+ };
287
+ meta: object;
288
+ }>;
289
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
290
+ input: {
291
+ id?: number | null | undefined;
292
+ id_string?: string | null | undefined;
293
+ };
294
+ output: {
295
+ data: {
296
+ symbol: string | null;
297
+ id: number;
298
+ name: string | null;
299
+ is_active: boolean | null;
300
+ created_at: Date | null;
301
+ created_by: string | null;
302
+ updated_at: Date | null;
303
+ updated_by: string | null;
304
+ logic_code: string | null;
305
+ currency_code: string | null;
306
+ currency_name: string | null;
307
+ major_unit: string | null;
308
+ minor_unit: string | null;
309
+ decimal_unit: number | null;
310
+ iso_decimal: number | null;
311
+ } | undefined;
312
+ };
313
+ meta: object;
314
+ }>;
315
+ histories: import("@trpc/server").TRPCBuiltRouter<{
316
+ ctx: Context$1;
317
+ meta: object;
318
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
319
+ transformer: false;
320
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
321
+ get: import("@trpc/server").TRPCMutationProcedure<{
322
+ input: {
323
+ search?: string | null | undefined;
324
+ take?: number | null | undefined;
325
+ skip?: number | null | undefined;
326
+ is_active?: boolean[] | null | undefined;
327
+ ids_include?: number[] | null | undefined;
328
+ ids_exclude?: number[] | null | undefined;
329
+ ids_string_include?: string[] | null | undefined;
330
+ ids_string_exclude?: string[] | null | undefined;
331
+ logic_codes_include?: string[] | null | undefined;
332
+ logic_codes_exclude?: string[] | null | undefined;
333
+ id_log_type?: number | null | undefined;
334
+ ids_log_type?: number[] | null | undefined;
335
+ id_currency?: number | null | undefined;
336
+ ids_currency?: number[] | null | undefined;
337
+ };
338
+ output: {
339
+ data: ({
340
+ log_type: {
341
+ id: number;
342
+ name: string | null;
343
+ is_active: boolean | null;
344
+ created_at: Date | null;
345
+ created_by: string | null;
346
+ updated_at: Date | null;
347
+ updated_by: string | null;
348
+ logic_code: string | null;
349
+ } | null;
350
+ } & {
365
351
  id: number;
366
- name: string | null;
367
- is_active: boolean | null;
368
- created_at: Date | null;
369
- created_by: string | null;
370
- updated_at: Date | null;
371
- updated_by: string | null;
372
- logic_code: string | null;
373
- } | null;
374
- } & {
352
+ url: string | null;
353
+ id_log_type: number | null;
354
+ action: string | null;
355
+ params: JsonValue | null;
356
+ action_by: string | null;
357
+ action_id: string | null;
358
+ action_at: Date | null;
359
+ id_currency: number | null;
360
+ })[] | undefined;
361
+ total: number | undefined;
362
+ };
363
+ meta: object;
364
+ }>;
365
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
366
+ input: {
367
+ id?: number | null | undefined;
368
+ id_string?: string | null | undefined;
369
+ };
370
+ output: {
371
+ data: ({
372
+ log_type: {
373
+ id: number;
374
+ name: string | null;
375
+ is_active: boolean | null;
376
+ created_at: Date | null;
377
+ created_by: string | null;
378
+ updated_at: Date | null;
379
+ updated_by: string | null;
380
+ logic_code: string | null;
381
+ } | null;
382
+ } & {
383
+ id: number;
384
+ url: string | null;
385
+ id_log_type: number | null;
386
+ action: string | null;
387
+ params: JsonValue | null;
388
+ action_by: string | null;
389
+ action_id: string | null;
390
+ action_at: Date | null;
391
+ id_currency: number | null;
392
+ }) | undefined;
393
+ };
394
+ meta: object;
395
+ }>;
396
+ }>>;
397
+ create: import("@trpc/server").TRPCMutationProcedure<{
398
+ input: {
399
+ is_active?: boolean | undefined;
400
+ name?: string | null | undefined;
401
+ currency_code?: string | null | undefined;
402
+ currency_name?: string | null | undefined;
403
+ major_unit?: string | null | undefined;
404
+ minor_unit?: string | null | undefined;
405
+ decimal_unit?: number | null | undefined;
406
+ iso_decimal?: number | null | undefined;
407
+ symbol?: string | null | undefined;
408
+ };
409
+ output: {
410
+ data: {
411
+ symbol: string | null;
412
+ id: number;
413
+ name: string | null;
414
+ is_active: boolean | null;
415
+ created_at: Date | null;
416
+ created_by: string | null;
417
+ updated_at: Date | null;
418
+ updated_by: string | null;
419
+ logic_code: string | null;
420
+ currency_code: string | null;
421
+ currency_name: string | null;
422
+ major_unit: string | null;
423
+ minor_unit: string | null;
424
+ decimal_unit: number | null;
425
+ iso_decimal: number | null;
426
+ } | undefined;
427
+ log: {
375
428
  id: number;
376
429
  url: string | null;
377
430
  id_log_type: number | null;
@@ -380,30 +433,44 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
380
433
  action_by: string | null;
381
434
  action_id: string | null;
382
435
  action_at: Date | null;
383
- id_un_locode: number | null;
384
- })[] | undefined;
385
- total: number | undefined;
436
+ id_currency: number | null;
437
+ } | undefined;
386
438
  };
387
439
  meta: object;
388
440
  }>;
389
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
441
+ update: import("@trpc/server").TRPCMutationProcedure<{
390
442
  input: {
391
443
  id?: number | null | undefined;
392
444
  id_string?: string | null | undefined;
445
+ is_active?: boolean | undefined;
446
+ name?: string | null | undefined;
447
+ currency_code?: string | null | undefined;
448
+ currency_name?: string | null | undefined;
449
+ major_unit?: string | null | undefined;
450
+ minor_unit?: string | null | undefined;
451
+ decimal_unit?: number | null | undefined;
452
+ iso_decimal?: number | null | undefined;
453
+ symbol?: string | null | undefined;
393
454
  };
394
455
  output: {
395
- data: ({
396
- log_type: {
397
- id: number;
398
- name: string | null;
399
- is_active: boolean | null;
400
- created_at: Date | null;
401
- created_by: string | null;
402
- updated_at: Date | null;
403
- updated_by: string | null;
404
- logic_code: string | null;
405
- } | null;
406
- } & {
456
+ data: {
457
+ symbol: string | null;
458
+ id: number;
459
+ name: string | null;
460
+ is_active: boolean | null;
461
+ created_at: Date | null;
462
+ created_by: string | null;
463
+ updated_at: Date | null;
464
+ updated_by: string | null;
465
+ logic_code: string | null;
466
+ currency_code: string | null;
467
+ currency_name: string | null;
468
+ major_unit: string | null;
469
+ minor_unit: string | null;
470
+ decimal_unit: number | null;
471
+ iso_decimal: number | null;
472
+ } | undefined;
473
+ log: {
407
474
  id: number;
408
475
  url: string | null;
409
476
  id_log_type: number | null;
@@ -412,272 +479,48 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
412
479
  action_by: string | null;
413
480
  action_id: string | null;
414
481
  action_at: Date | null;
415
- id_un_locode: number | null;
416
- }) | undefined;
482
+ id_currency: number | null;
483
+ } | undefined;
484
+ };
485
+ meta: object;
486
+ }>;
487
+ delete: import("@trpc/server").TRPCMutationProcedure<{
488
+ input: {
489
+ id?: number | null | undefined;
490
+ ids?: number[] | null | undefined;
491
+ id_string?: string | null | undefined;
492
+ ids_string?: string[] | null | undefined;
493
+ };
494
+ output: {
495
+ data: ({
496
+ symbol: string | null;
497
+ id: number;
498
+ name: string | null;
499
+ is_active: boolean | null;
500
+ created_at: Date | null;
501
+ created_by: string | null;
502
+ updated_at: Date | null;
503
+ updated_by: string | null;
504
+ logic_code: string | null;
505
+ currency_code: string | null;
506
+ currency_name: string | null;
507
+ major_unit: string | null;
508
+ minor_unit: string | null;
509
+ decimal_unit: number | null;
510
+ iso_decimal: number | null;
511
+ } | undefined)[];
417
512
  };
418
513
  meta: object;
419
514
  }>;
420
515
  }>>;
421
- create: import("@trpc/server").TRPCMutationProcedure<{
422
- input: {
423
- is_active?: boolean | undefined;
424
- id_country?: number | null | undefined;
425
- id_state?: number | null | undefined;
426
- id_city?: number | null | undefined;
427
- logic_code?: string | null | undefined;
428
- un_code?: string | null | undefined;
429
- iata_code?: string | null | undefined;
430
- iata_region_code?: string | null | undefined;
431
- latitude?: string | null | undefined;
432
- longitude?: string | null | undefined;
433
- port_name?: string | null | undefined;
434
- proper_name?: string | null | undefined;
435
- is_system?: boolean | null | undefined;
436
- is_system_updatable?: boolean | null | undefined;
437
- has_post?: boolean | null | undefined;
438
- has_customs?: boolean | null | undefined;
439
- has_unload?: boolean | null | undefined;
440
- has_airport?: boolean | null | undefined;
441
- has_railway?: boolean | null | undefined;
442
- has_road?: boolean | null | undefined;
443
- has_store?: boolean | null | undefined;
444
- has_terminal?: boolean | null | undefined;
445
- has_discharge?: boolean | null | undefined;
446
- has_seaport?: boolean | null | undefined;
447
- has_outport?: boolean | null | undefined;
448
- };
449
- output: {
450
- data: {
451
- id: number;
452
- is_active: boolean | null;
453
- id_city: number | null;
454
- id_country: number | null;
455
- id_state: number | null;
456
- created_at: Date | null;
457
- created_by: string | null;
458
- updated_at: Date | null;
459
- updated_by: string | null;
460
- logic_code: string | null;
461
- un_code: string | null;
462
- iata_code: string | null;
463
- iata_region_code: string | null;
464
- latitude: Decimal | null;
465
- longitude: Decimal | null;
466
- port_name: string | null;
467
- proper_name: string | null;
468
- is_system: boolean | null;
469
- is_system_updatable: boolean | null;
470
- has_post: boolean | null;
471
- has_customs: boolean | null;
472
- has_unload: boolean | null;
473
- has_airport: boolean | null;
474
- has_railway: boolean | null;
475
- has_road: boolean | null;
476
- has_store: boolean | null;
477
- has_terminal: boolean | null;
478
- has_discharge: boolean | null;
479
- has_seaport: boolean | null;
480
- has_outport: boolean | null;
481
- } | undefined;
482
- log: {
483
- id: number;
484
- url: string | null;
485
- id_log_type: number | null;
486
- action: string | null;
487
- params: JsonValue | null;
488
- action_by: string | null;
489
- action_id: string | null;
490
- action_at: Date | null;
491
- id_un_locode: number | null;
492
- } | undefined;
493
- };
494
- meta: object;
495
- }>;
496
- update: import("@trpc/server").TRPCMutationProcedure<{
497
- input: {
498
- id?: number | null | undefined;
499
- id_string?: string | null | undefined;
500
- is_active?: boolean | undefined;
501
- id_country?: number | null | undefined;
502
- id_state?: number | null | undefined;
503
- id_city?: number | null | undefined;
504
- logic_code?: string | null | undefined;
505
- un_code?: string | null | undefined;
506
- iata_code?: string | null | undefined;
507
- iata_region_code?: string | null | undefined;
508
- latitude?: string | null | undefined;
509
- longitude?: string | null | undefined;
510
- port_name?: string | null | undefined;
511
- proper_name?: string | null | undefined;
512
- is_system?: boolean | null | undefined;
513
- is_system_updatable?: boolean | null | undefined;
514
- has_post?: boolean | null | undefined;
515
- has_customs?: boolean | null | undefined;
516
- has_unload?: boolean | null | undefined;
517
- has_airport?: boolean | null | undefined;
518
- has_railway?: boolean | null | undefined;
519
- has_road?: boolean | null | undefined;
520
- has_store?: boolean | null | undefined;
521
- has_terminal?: boolean | null | undefined;
522
- has_discharge?: boolean | null | undefined;
523
- has_seaport?: boolean | null | undefined;
524
- has_outport?: boolean | null | undefined;
525
- };
526
- output: {
527
- data: {
528
- id: number;
529
- is_active: boolean | null;
530
- id_city: number | null;
531
- id_country: number | null;
532
- id_state: number | null;
533
- created_at: Date | null;
534
- created_by: string | null;
535
- updated_at: Date | null;
536
- updated_by: string | null;
537
- logic_code: string | null;
538
- un_code: string | null;
539
- iata_code: string | null;
540
- iata_region_code: string | null;
541
- latitude: Decimal | null;
542
- longitude: Decimal | null;
543
- port_name: string | null;
544
- proper_name: string | null;
545
- is_system: boolean | null;
546
- is_system_updatable: boolean | null;
547
- has_post: boolean | null;
548
- has_customs: boolean | null;
549
- has_unload: boolean | null;
550
- has_airport: boolean | null;
551
- has_railway: boolean | null;
552
- has_road: boolean | null;
553
- has_store: boolean | null;
554
- has_terminal: boolean | null;
555
- has_discharge: boolean | null;
556
- has_seaport: boolean | null;
557
- has_outport: boolean | null;
558
- } | undefined;
559
- log: {
560
- id: number;
561
- url: string | null;
562
- id_log_type: number | null;
563
- action: string | null;
564
- params: JsonValue | null;
565
- action_by: string | null;
566
- action_id: string | null;
567
- action_at: Date | null;
568
- id_un_locode: number | null;
569
- } | undefined;
570
- };
571
- meta: object;
572
- }>;
573
- delete: import("@trpc/server").TRPCMutationProcedure<{
574
- input: {
575
- id?: number | null | undefined;
576
- ids?: number[] | null | undefined;
577
- id_string?: string | null | undefined;
578
- ids_string?: string[] | null | undefined;
579
- };
580
- output: {
581
- data: ({
582
- id: number;
583
- is_active: boolean | null;
584
- id_city: number | null;
585
- id_country: number | null;
586
- id_state: number | null;
587
- created_at: Date | null;
588
- created_by: string | null;
589
- updated_at: Date | null;
590
- updated_by: string | null;
591
- logic_code: string | null;
592
- un_code: string | null;
593
- iata_code: string | null;
594
- iata_region_code: string | null;
595
- latitude: Decimal | null;
596
- longitude: Decimal | null;
597
- port_name: string | null;
598
- proper_name: string | null;
599
- is_system: boolean | null;
600
- is_system_updatable: boolean | null;
601
- has_post: boolean | null;
602
- has_customs: boolean | null;
603
- has_unload: boolean | null;
604
- has_airport: boolean | null;
605
- has_railway: boolean | null;
606
- has_road: boolean | null;
607
- has_store: boolean | null;
608
- has_terminal: boolean | null;
609
- has_discharge: boolean | null;
610
- has_seaport: boolean | null;
611
- has_outport: boolean | null;
612
- } | undefined)[];
613
- };
614
- meta: object;
615
- }>;
616
516
  }>>;
617
- countries: import("@trpc/server").TRPCBuiltRouter<{
517
+ locations: import("@trpc/server").TRPCBuiltRouter<{
618
518
  ctx: Context$1;
619
519
  meta: object;
620
520
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
621
521
  transformer: false;
622
522
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
623
- get: import("@trpc/server").TRPCMutationProcedure<{
624
- input: {
625
- search?: string | null | undefined;
626
- take?: number | null | undefined;
627
- skip?: number | null | undefined;
628
- is_active?: boolean[] | null | undefined;
629
- ids_include?: number[] | null | undefined;
630
- ids_exclude?: number[] | null | undefined;
631
- ids_string_include?: string[] | null | undefined;
632
- ids_string_exclude?: string[] | null | undefined;
633
- logic_codes_include?: string[] | null | undefined;
634
- logic_codes_exclude?: string[] | null | undefined;
635
- };
636
- output: {
637
- data: {
638
- id: number;
639
- name: string | null;
640
- is_active: boolean | null;
641
- created_at: Date | null;
642
- created_by: string | null;
643
- updated_at: Date | null;
644
- updated_by: string | null;
645
- logic_code: string | null;
646
- id_currency: number | null;
647
- iso2_code: string | null;
648
- iso3_code: string | null;
649
- iso3_numeric: string | null;
650
- is_sanctioned: boolean | null;
651
- }[] | undefined;
652
- total: number | undefined;
653
- };
654
- meta: object;
655
- }>;
656
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
657
- input: {
658
- id?: number | null | undefined;
659
- id_string?: string | null | undefined;
660
- };
661
- output: {
662
- data: {
663
- id: number;
664
- name: string | null;
665
- is_active: boolean | null;
666
- created_at: Date | null;
667
- created_by: string | null;
668
- updated_at: Date | null;
669
- updated_by: string | null;
670
- logic_code: string | null;
671
- id_currency: number | null;
672
- iso2_code: string | null;
673
- iso3_code: string | null;
674
- iso3_numeric: string | null;
675
- is_sanctioned: boolean | null;
676
- } | undefined;
677
- };
678
- meta: object;
679
- }>;
680
- histories: import("@trpc/server").TRPCBuiltRouter<{
523
+ unLocodes: import("@trpc/server").TRPCBuiltRouter<{
681
524
  ctx: Context$1;
682
525
  meta: object;
683
526
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
@@ -695,34 +538,398 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
695
538
  ids_string_exclude?: string[] | null | undefined;
696
539
  logic_codes_include?: string[] | null | undefined;
697
540
  logic_codes_exclude?: string[] | null | undefined;
698
- id_log_type?: number | null | undefined;
699
- ids_log_type?: number[] | null | undefined;
700
- id_country?: number | null | undefined;
701
- ids_country?: number[] | null | undefined;
702
541
  };
703
542
  output: {
704
- data: ({
705
- log_type: {
543
+ data: {
544
+ id: number;
545
+ is_active: boolean | null;
546
+ id_city: number | null;
547
+ id_country: number | null;
548
+ id_state: number | null;
549
+ created_at: Date | null;
550
+ created_by: string | null;
551
+ updated_at: Date | null;
552
+ updated_by: string | null;
553
+ logic_code: string | null;
554
+ un_code: string | null;
555
+ iata_code: string | null;
556
+ iata_region_code: string | null;
557
+ latitude: Decimal | null;
558
+ longitude: Decimal | null;
559
+ port_name: string | null;
560
+ proper_name: string | null;
561
+ is_system: boolean | null;
562
+ is_system_updatable: boolean | null;
563
+ has_post: boolean | null;
564
+ has_customs: boolean | null;
565
+ has_unload: boolean | null;
566
+ has_airport: boolean | null;
567
+ has_railway: boolean | null;
568
+ has_road: boolean | null;
569
+ has_store: boolean | null;
570
+ has_terminal: boolean | null;
571
+ has_discharge: boolean | null;
572
+ has_seaport: boolean | null;
573
+ has_outport: boolean | null;
574
+ }[] | undefined;
575
+ total: number | undefined;
576
+ };
577
+ meta: object;
578
+ }>;
579
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
580
+ input: {
581
+ id?: number | null | undefined;
582
+ id_string?: string | null | undefined;
583
+ };
584
+ output: {
585
+ data: {
586
+ id: number;
587
+ is_active: boolean | null;
588
+ id_city: number | null;
589
+ id_country: number | null;
590
+ id_state: number | null;
591
+ created_at: Date | null;
592
+ created_by: string | null;
593
+ updated_at: Date | null;
594
+ updated_by: string | null;
595
+ logic_code: string | null;
596
+ un_code: string | null;
597
+ iata_code: string | null;
598
+ iata_region_code: string | null;
599
+ latitude: Decimal | null;
600
+ longitude: Decimal | null;
601
+ port_name: string | null;
602
+ proper_name: string | null;
603
+ is_system: boolean | null;
604
+ is_system_updatable: boolean | null;
605
+ has_post: boolean | null;
606
+ has_customs: boolean | null;
607
+ has_unload: boolean | null;
608
+ has_airport: boolean | null;
609
+ has_railway: boolean | null;
610
+ has_road: boolean | null;
611
+ has_store: boolean | null;
612
+ has_terminal: boolean | null;
613
+ has_discharge: boolean | null;
614
+ has_seaport: boolean | null;
615
+ has_outport: boolean | null;
616
+ } | undefined;
617
+ };
618
+ meta: object;
619
+ }>;
620
+ histories: import("@trpc/server").TRPCBuiltRouter<{
621
+ ctx: Context$1;
622
+ meta: object;
623
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
624
+ transformer: false;
625
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
626
+ get: import("@trpc/server").TRPCMutationProcedure<{
627
+ input: {
628
+ search?: string | null | undefined;
629
+ take?: number | null | undefined;
630
+ skip?: number | null | undefined;
631
+ is_active?: boolean[] | null | undefined;
632
+ ids_include?: number[] | null | undefined;
633
+ ids_exclude?: number[] | null | undefined;
634
+ ids_string_include?: string[] | null | undefined;
635
+ ids_string_exclude?: string[] | null | undefined;
636
+ logic_codes_include?: string[] | null | undefined;
637
+ logic_codes_exclude?: string[] | null | undefined;
638
+ id_log_type?: number | null | undefined;
639
+ ids_log_type?: number[] | null | undefined;
640
+ id_un_locode?: number | null | undefined;
641
+ ids_un_locode?: number[] | null | undefined;
642
+ };
643
+ output: {
644
+ data: ({
645
+ log_type: {
646
+ id: number;
647
+ name: string | null;
648
+ is_active: boolean | null;
649
+ created_at: Date | null;
650
+ created_by: string | null;
651
+ updated_at: Date | null;
652
+ updated_by: string | null;
653
+ logic_code: string | null;
654
+ } | null;
655
+ } & {
706
656
  id: number;
707
- name: string | null;
708
- is_active: boolean | null;
709
- created_at: Date | null;
710
- created_by: string | null;
711
- updated_at: Date | null;
712
- updated_by: string | null;
713
- logic_code: string | null;
714
- } | null;
715
- } & {
657
+ url: string | null;
658
+ id_log_type: number | null;
659
+ action: string | null;
660
+ params: JsonValue | null;
661
+ action_by: string | null;
662
+ action_id: string | null;
663
+ action_at: Date | null;
664
+ id_un_locode: number | null;
665
+ })[] | undefined;
666
+ total: number | undefined;
667
+ };
668
+ meta: object;
669
+ }>;
670
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
671
+ input: {
672
+ id?: number | null | undefined;
673
+ id_string?: string | null | undefined;
674
+ };
675
+ output: {
676
+ data: ({
677
+ log_type: {
678
+ id: number;
679
+ name: string | null;
680
+ is_active: boolean | null;
681
+ created_at: Date | null;
682
+ created_by: string | null;
683
+ updated_at: Date | null;
684
+ updated_by: string | null;
685
+ logic_code: string | null;
686
+ } | null;
687
+ } & {
688
+ id: number;
689
+ url: string | null;
690
+ id_log_type: number | null;
691
+ action: string | null;
692
+ params: JsonValue | null;
693
+ action_by: string | null;
694
+ action_id: string | null;
695
+ action_at: Date | null;
696
+ id_un_locode: number | null;
697
+ }) | undefined;
698
+ };
699
+ meta: object;
700
+ }>;
701
+ }>>;
702
+ create: import("@trpc/server").TRPCMutationProcedure<{
703
+ input: {
704
+ is_active?: boolean | undefined;
705
+ id_country?: number | null | undefined;
706
+ id_state?: number | null | undefined;
707
+ id_city?: number | null | undefined;
708
+ logic_code?: string | null | undefined;
709
+ un_code?: string | null | undefined;
710
+ iata_code?: string | null | undefined;
711
+ iata_region_code?: string | null | undefined;
712
+ latitude?: string | null | undefined;
713
+ longitude?: string | null | undefined;
714
+ port_name?: string | null | undefined;
715
+ proper_name?: string | null | undefined;
716
+ is_system?: boolean | null | undefined;
717
+ is_system_updatable?: boolean | null | undefined;
718
+ has_post?: boolean | null | undefined;
719
+ has_customs?: boolean | null | undefined;
720
+ has_unload?: boolean | null | undefined;
721
+ has_airport?: boolean | null | undefined;
722
+ has_railway?: boolean | null | undefined;
723
+ has_road?: boolean | null | undefined;
724
+ has_store?: boolean | null | undefined;
725
+ has_terminal?: boolean | null | undefined;
726
+ has_discharge?: boolean | null | undefined;
727
+ has_seaport?: boolean | null | undefined;
728
+ has_outport?: boolean | null | undefined;
729
+ };
730
+ output: {
731
+ data: {
732
+ id: number;
733
+ is_active: boolean | null;
734
+ id_city: number | null;
735
+ id_country: number | null;
736
+ id_state: number | null;
737
+ created_at: Date | null;
738
+ created_by: string | null;
739
+ updated_at: Date | null;
740
+ updated_by: string | null;
741
+ logic_code: string | null;
742
+ un_code: string | null;
743
+ iata_code: string | null;
744
+ iata_region_code: string | null;
745
+ latitude: Decimal | null;
746
+ longitude: Decimal | null;
747
+ port_name: string | null;
748
+ proper_name: string | null;
749
+ is_system: boolean | null;
750
+ is_system_updatable: boolean | null;
751
+ has_post: boolean | null;
752
+ has_customs: boolean | null;
753
+ has_unload: boolean | null;
754
+ has_airport: boolean | null;
755
+ has_railway: boolean | null;
756
+ has_road: boolean | null;
757
+ has_store: boolean | null;
758
+ has_terminal: boolean | null;
759
+ has_discharge: boolean | null;
760
+ has_seaport: boolean | null;
761
+ has_outport: boolean | null;
762
+ } | undefined;
763
+ log: {
716
764
  id: number;
717
765
  url: string | null;
718
766
  id_log_type: number | null;
767
+ action: string | null;
768
+ params: JsonValue | null;
769
+ action_by: string | null;
770
+ action_id: string | null;
771
+ action_at: Date | null;
772
+ id_un_locode: number | null;
773
+ } | undefined;
774
+ };
775
+ meta: object;
776
+ }>;
777
+ update: import("@trpc/server").TRPCMutationProcedure<{
778
+ input: {
779
+ id?: number | null | undefined;
780
+ id_string?: string | null | undefined;
781
+ is_active?: boolean | undefined;
782
+ id_country?: number | null | undefined;
783
+ id_state?: number | null | undefined;
784
+ id_city?: number | null | undefined;
785
+ logic_code?: string | null | undefined;
786
+ un_code?: string | null | undefined;
787
+ iata_code?: string | null | undefined;
788
+ iata_region_code?: string | null | undefined;
789
+ latitude?: string | null | undefined;
790
+ longitude?: string | null | undefined;
791
+ port_name?: string | null | undefined;
792
+ proper_name?: string | null | undefined;
793
+ is_system?: boolean | null | undefined;
794
+ is_system_updatable?: boolean | null | undefined;
795
+ has_post?: boolean | null | undefined;
796
+ has_customs?: boolean | null | undefined;
797
+ has_unload?: boolean | null | undefined;
798
+ has_airport?: boolean | null | undefined;
799
+ has_railway?: boolean | null | undefined;
800
+ has_road?: boolean | null | undefined;
801
+ has_store?: boolean | null | undefined;
802
+ has_terminal?: boolean | null | undefined;
803
+ has_discharge?: boolean | null | undefined;
804
+ has_seaport?: boolean | null | undefined;
805
+ has_outport?: boolean | null | undefined;
806
+ };
807
+ output: {
808
+ data: {
809
+ id: number;
810
+ is_active: boolean | null;
811
+ id_city: number | null;
719
812
  id_country: number | null;
813
+ id_state: number | null;
814
+ created_at: Date | null;
815
+ created_by: string | null;
816
+ updated_at: Date | null;
817
+ updated_by: string | null;
818
+ logic_code: string | null;
819
+ un_code: string | null;
820
+ iata_code: string | null;
821
+ iata_region_code: string | null;
822
+ latitude: Decimal | null;
823
+ longitude: Decimal | null;
824
+ port_name: string | null;
825
+ proper_name: string | null;
826
+ is_system: boolean | null;
827
+ is_system_updatable: boolean | null;
828
+ has_post: boolean | null;
829
+ has_customs: boolean | null;
830
+ has_unload: boolean | null;
831
+ has_airport: boolean | null;
832
+ has_railway: boolean | null;
833
+ has_road: boolean | null;
834
+ has_store: boolean | null;
835
+ has_terminal: boolean | null;
836
+ has_discharge: boolean | null;
837
+ has_seaport: boolean | null;
838
+ has_outport: boolean | null;
839
+ } | undefined;
840
+ log: {
841
+ id: number;
842
+ url: string | null;
843
+ id_log_type: number | null;
720
844
  action: string | null;
721
845
  params: JsonValue | null;
722
846
  action_by: string | null;
723
847
  action_id: string | null;
724
848
  action_at: Date | null;
725
- })[] | undefined;
849
+ id_un_locode: number | null;
850
+ } | undefined;
851
+ };
852
+ meta: object;
853
+ }>;
854
+ delete: import("@trpc/server").TRPCMutationProcedure<{
855
+ input: {
856
+ id?: number | null | undefined;
857
+ ids?: number[] | null | undefined;
858
+ id_string?: string | null | undefined;
859
+ ids_string?: string[] | null | undefined;
860
+ };
861
+ output: {
862
+ data: ({
863
+ id: number;
864
+ is_active: boolean | null;
865
+ id_city: number | null;
866
+ id_country: number | null;
867
+ id_state: number | null;
868
+ created_at: Date | null;
869
+ created_by: string | null;
870
+ updated_at: Date | null;
871
+ updated_by: string | null;
872
+ logic_code: string | null;
873
+ un_code: string | null;
874
+ iata_code: string | null;
875
+ iata_region_code: string | null;
876
+ latitude: Decimal | null;
877
+ longitude: Decimal | null;
878
+ port_name: string | null;
879
+ proper_name: string | null;
880
+ is_system: boolean | null;
881
+ is_system_updatable: boolean | null;
882
+ has_post: boolean | null;
883
+ has_customs: boolean | null;
884
+ has_unload: boolean | null;
885
+ has_airport: boolean | null;
886
+ has_railway: boolean | null;
887
+ has_road: boolean | null;
888
+ has_store: boolean | null;
889
+ has_terminal: boolean | null;
890
+ has_discharge: boolean | null;
891
+ has_seaport: boolean | null;
892
+ has_outport: boolean | null;
893
+ } | undefined)[];
894
+ };
895
+ meta: object;
896
+ }>;
897
+ }>>;
898
+ countries: import("@trpc/server").TRPCBuiltRouter<{
899
+ ctx: Context$1;
900
+ meta: object;
901
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
902
+ transformer: false;
903
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
904
+ get: import("@trpc/server").TRPCMutationProcedure<{
905
+ input: {
906
+ search?: string | null | undefined;
907
+ take?: number | null | undefined;
908
+ skip?: number | null | undefined;
909
+ is_active?: boolean[] | null | undefined;
910
+ ids_include?: number[] | null | undefined;
911
+ ids_exclude?: number[] | null | undefined;
912
+ ids_string_include?: string[] | null | undefined;
913
+ ids_string_exclude?: string[] | null | undefined;
914
+ logic_codes_include?: string[] | null | undefined;
915
+ logic_codes_exclude?: string[] | null | undefined;
916
+ };
917
+ output: {
918
+ data: {
919
+ id: number;
920
+ name: string | null;
921
+ is_active: boolean | null;
922
+ created_at: Date | null;
923
+ created_by: string | null;
924
+ updated_at: Date | null;
925
+ updated_by: string | null;
926
+ logic_code: string | null;
927
+ id_currency: number | null;
928
+ iso2_code: string | null;
929
+ iso3_code: string | null;
930
+ iso3_numeric: string | null;
931
+ is_sanctioned: boolean | null;
932
+ }[] | undefined;
726
933
  total: number | undefined;
727
934
  };
728
935
  meta: object;
@@ -733,18 +940,175 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
733
940
  id_string?: string | null | undefined;
734
941
  };
735
942
  output: {
736
- data: ({
737
- log_type: {
943
+ data: {
944
+ id: number;
945
+ name: string | null;
946
+ is_active: boolean | null;
947
+ created_at: Date | null;
948
+ created_by: string | null;
949
+ updated_at: Date | null;
950
+ updated_by: string | null;
951
+ logic_code: string | null;
952
+ id_currency: number | null;
953
+ iso2_code: string | null;
954
+ iso3_code: string | null;
955
+ iso3_numeric: string | null;
956
+ is_sanctioned: boolean | null;
957
+ } | undefined;
958
+ };
959
+ meta: object;
960
+ }>;
961
+ histories: import("@trpc/server").TRPCBuiltRouter<{
962
+ ctx: Context$1;
963
+ meta: object;
964
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
965
+ transformer: false;
966
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
967
+ get: import("@trpc/server").TRPCMutationProcedure<{
968
+ input: {
969
+ search?: string | null | undefined;
970
+ take?: number | null | undefined;
971
+ skip?: number | null | undefined;
972
+ is_active?: boolean[] | null | undefined;
973
+ ids_include?: number[] | null | undefined;
974
+ ids_exclude?: number[] | null | undefined;
975
+ ids_string_include?: string[] | null | undefined;
976
+ ids_string_exclude?: string[] | null | undefined;
977
+ logic_codes_include?: string[] | null | undefined;
978
+ logic_codes_exclude?: string[] | null | undefined;
979
+ id_log_type?: number | null | undefined;
980
+ ids_log_type?: number[] | null | undefined;
981
+ id_country?: number | null | undefined;
982
+ ids_country?: number[] | null | undefined;
983
+ };
984
+ output: {
985
+ data: ({
986
+ log_type: {
987
+ id: number;
988
+ name: string | null;
989
+ is_active: boolean | null;
990
+ created_at: Date | null;
991
+ created_by: string | null;
992
+ updated_at: Date | null;
993
+ updated_by: string | null;
994
+ logic_code: string | null;
995
+ } | null;
996
+ } & {
738
997
  id: number;
739
- name: string | null;
740
- is_active: boolean | null;
741
- created_at: Date | null;
742
- created_by: string | null;
743
- updated_at: Date | null;
744
- updated_by: string | null;
745
- logic_code: string | null;
746
- } | null;
747
- } & {
998
+ url: string | null;
999
+ id_log_type: number | null;
1000
+ id_country: number | null;
1001
+ action: string | null;
1002
+ params: JsonValue | null;
1003
+ action_by: string | null;
1004
+ action_id: string | null;
1005
+ action_at: Date | null;
1006
+ })[] | undefined;
1007
+ total: number | undefined;
1008
+ };
1009
+ meta: object;
1010
+ }>;
1011
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1012
+ input: {
1013
+ id?: number | null | undefined;
1014
+ id_string?: string | null | undefined;
1015
+ };
1016
+ output: {
1017
+ data: ({
1018
+ log_type: {
1019
+ id: number;
1020
+ name: string | null;
1021
+ is_active: boolean | null;
1022
+ created_at: Date | null;
1023
+ created_by: string | null;
1024
+ updated_at: Date | null;
1025
+ updated_by: string | null;
1026
+ logic_code: string | null;
1027
+ } | null;
1028
+ } & {
1029
+ id: number;
1030
+ url: string | null;
1031
+ id_log_type: number | null;
1032
+ id_country: number | null;
1033
+ action: string | null;
1034
+ params: JsonValue | null;
1035
+ action_by: string | null;
1036
+ action_id: string | null;
1037
+ action_at: Date | null;
1038
+ }) | undefined;
1039
+ };
1040
+ meta: object;
1041
+ }>;
1042
+ }>>;
1043
+ create: import("@trpc/server").TRPCMutationProcedure<{
1044
+ input: {
1045
+ id_currency?: number | null | undefined;
1046
+ is_active?: boolean | undefined;
1047
+ name?: string | null | undefined;
1048
+ iso2_code?: string | null | undefined;
1049
+ iso3_code?: string | null | undefined;
1050
+ iso3_numeric?: string | null | undefined;
1051
+ is_sanctioned?: boolean | null | undefined;
1052
+ };
1053
+ output: {
1054
+ data: {
1055
+ id: number;
1056
+ name: string | null;
1057
+ is_active: boolean | null;
1058
+ created_at: Date | null;
1059
+ created_by: string | null;
1060
+ updated_at: Date | null;
1061
+ updated_by: string | null;
1062
+ logic_code: string | null;
1063
+ id_currency: number | null;
1064
+ iso2_code: string | null;
1065
+ iso3_code: string | null;
1066
+ iso3_numeric: string | null;
1067
+ is_sanctioned: boolean | null;
1068
+ } | undefined;
1069
+ log: {
1070
+ id: number;
1071
+ url: string | null;
1072
+ id_log_type: number | null;
1073
+ id_country: number | null;
1074
+ action: string | null;
1075
+ params: JsonValue | null;
1076
+ action_by: string | null;
1077
+ action_id: string | null;
1078
+ action_at: Date | null;
1079
+ } | undefined;
1080
+ };
1081
+ meta: object;
1082
+ }>;
1083
+ update: import("@trpc/server").TRPCMutationProcedure<{
1084
+ input: {
1085
+ id?: number | null | undefined;
1086
+ id_string?: string | null | undefined;
1087
+ id_currency?: number | null | undefined;
1088
+ is_active?: boolean | undefined;
1089
+ name?: string | null | undefined;
1090
+ iso2_code?: string | null | undefined;
1091
+ iso3_code?: string | null | undefined;
1092
+ iso3_numeric?: string | null | undefined;
1093
+ is_sanctioned?: boolean | null | undefined;
1094
+ };
1095
+ output: {
1096
+ data: {
1097
+ id: number;
1098
+ name: string | null;
1099
+ is_active: boolean | null;
1100
+ created_at: Date | null;
1101
+ created_by: string | null;
1102
+ updated_at: Date | null;
1103
+ updated_by: string | null;
1104
+ logic_code: string | null;
1105
+ id_currency: number | null;
1106
+ iso2_code: string | null;
1107
+ iso3_code: string | null;
1108
+ iso3_numeric: string | null;
1109
+ is_sanctioned: boolean | null;
1110
+ } | undefined;
1111
+ log: {
748
1112
  id: number;
749
1113
  url: string | null;
750
1114
  id_log_type: number | null;
@@ -754,178 +1118,38 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
754
1118
  action_by: string | null;
755
1119
  action_id: string | null;
756
1120
  action_at: Date | null;
757
- }) | undefined;
1121
+ } | undefined;
1122
+ };
1123
+ meta: object;
1124
+ }>;
1125
+ delete: import("@trpc/server").TRPCMutationProcedure<{
1126
+ input: {
1127
+ id?: number | null | undefined;
1128
+ ids?: number[] | null | undefined;
1129
+ id_string?: string | null | undefined;
1130
+ ids_string?: string[] | null | undefined;
1131
+ };
1132
+ output: {
1133
+ data: ({
1134
+ id: number;
1135
+ name: string | null;
1136
+ is_active: boolean | null;
1137
+ created_at: Date | null;
1138
+ created_by: string | null;
1139
+ updated_at: Date | null;
1140
+ updated_by: string | null;
1141
+ logic_code: string | null;
1142
+ id_currency: number | null;
1143
+ iso2_code: string | null;
1144
+ iso3_code: string | null;
1145
+ iso3_numeric: string | null;
1146
+ is_sanctioned: boolean | null;
1147
+ } | undefined)[];
758
1148
  };
759
1149
  meta: object;
760
1150
  }>;
761
1151
  }>>;
762
- create: import("@trpc/server").TRPCMutationProcedure<{
763
- input: {
764
- id_currency?: number | null | undefined;
765
- is_active?: boolean | undefined;
766
- name?: string | null | undefined;
767
- iso2_code?: string | null | undefined;
768
- iso3_code?: string | null | undefined;
769
- iso3_numeric?: string | null | undefined;
770
- is_sanctioned?: boolean | null | undefined;
771
- };
772
- output: {
773
- data: {
774
- id: number;
775
- name: string | null;
776
- is_active: boolean | null;
777
- created_at: Date | null;
778
- created_by: string | null;
779
- updated_at: Date | null;
780
- updated_by: string | null;
781
- logic_code: string | null;
782
- id_currency: number | null;
783
- iso2_code: string | null;
784
- iso3_code: string | null;
785
- iso3_numeric: string | null;
786
- is_sanctioned: boolean | null;
787
- } | undefined;
788
- log: {
789
- id: number;
790
- url: string | null;
791
- id_log_type: number | null;
792
- id_country: number | null;
793
- action: string | null;
794
- params: JsonValue | null;
795
- action_by: string | null;
796
- action_id: string | null;
797
- action_at: Date | null;
798
- } | undefined;
799
- };
800
- meta: object;
801
- }>;
802
- update: import("@trpc/server").TRPCMutationProcedure<{
803
- input: {
804
- id?: number | null | undefined;
805
- id_string?: string | null | undefined;
806
- id_currency?: number | null | undefined;
807
- is_active?: boolean | undefined;
808
- name?: string | null | undefined;
809
- iso2_code?: string | null | undefined;
810
- iso3_code?: string | null | undefined;
811
- iso3_numeric?: string | null | undefined;
812
- is_sanctioned?: boolean | null | undefined;
813
- };
814
- output: {
815
- data: {
816
- id: number;
817
- name: string | null;
818
- is_active: boolean | null;
819
- created_at: Date | null;
820
- created_by: string | null;
821
- updated_at: Date | null;
822
- updated_by: string | null;
823
- logic_code: string | null;
824
- id_currency: number | null;
825
- iso2_code: string | null;
826
- iso3_code: string | null;
827
- iso3_numeric: string | null;
828
- is_sanctioned: boolean | null;
829
- } | undefined;
830
- log: {
831
- id: number;
832
- url: string | null;
833
- id_log_type: number | null;
834
- id_country: number | null;
835
- action: string | null;
836
- params: JsonValue | null;
837
- action_by: string | null;
838
- action_id: string | null;
839
- action_at: Date | null;
840
- } | undefined;
841
- };
842
- meta: object;
843
- }>;
844
- delete: import("@trpc/server").TRPCMutationProcedure<{
845
- input: {
846
- id?: number | null | undefined;
847
- ids?: number[] | null | undefined;
848
- id_string?: string | null | undefined;
849
- ids_string?: string[] | null | undefined;
850
- };
851
- output: {
852
- data: ({
853
- id: number;
854
- name: string | null;
855
- is_active: boolean | null;
856
- created_at: Date | null;
857
- created_by: string | null;
858
- updated_at: Date | null;
859
- updated_by: string | null;
860
- logic_code: string | null;
861
- id_currency: number | null;
862
- iso2_code: string | null;
863
- iso3_code: string | null;
864
- iso3_numeric: string | null;
865
- is_sanctioned: boolean | null;
866
- } | undefined)[];
867
- };
868
- meta: object;
869
- }>;
870
- }>>;
871
- states: import("@trpc/server").TRPCBuiltRouter<{
872
- ctx: Context$1;
873
- meta: object;
874
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
875
- transformer: false;
876
- }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
877
- get: import("@trpc/server").TRPCMutationProcedure<{
878
- input: {
879
- search?: string | null | undefined;
880
- take?: number | null | undefined;
881
- skip?: number | null | undefined;
882
- is_active?: boolean[] | null | undefined;
883
- ids_include?: number[] | null | undefined;
884
- ids_exclude?: number[] | null | undefined;
885
- ids_string_include?: string[] | null | undefined;
886
- ids_string_exclude?: string[] | null | undefined;
887
- logic_codes_include?: string[] | null | undefined;
888
- logic_codes_exclude?: string[] | null | undefined;
889
- };
890
- output: {
891
- data: {
892
- id: number;
893
- name: string | null;
894
- is_active: boolean | null;
895
- id_country: number | null;
896
- code: string | null;
897
- created_at: Date | null;
898
- created_by: string | null;
899
- updated_at: Date | null;
900
- updated_by: string | null;
901
- logic_code: string | null;
902
- }[] | undefined;
903
- total: number | undefined;
904
- };
905
- meta: object;
906
- }>;
907
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
908
- input: {
909
- id?: number | null | undefined;
910
- id_string?: string | null | undefined;
911
- };
912
- output: {
913
- data: {
914
- id: number;
915
- name: string | null;
916
- is_active: boolean | null;
917
- id_country: number | null;
918
- code: string | null;
919
- created_at: Date | null;
920
- created_by: string | null;
921
- updated_at: Date | null;
922
- updated_by: string | null;
923
- logic_code: string | null;
924
- } | undefined;
925
- };
926
- meta: object;
927
- }>;
928
- histories: import("@trpc/server").TRPCBuiltRouter<{
1152
+ states: import("@trpc/server").TRPCBuiltRouter<{
929
1153
  ctx: Context$1;
930
1154
  meta: object;
931
1155
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
@@ -943,24 +1167,148 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
943
1167
  ids_string_exclude?: string[] | null | undefined;
944
1168
  logic_codes_include?: string[] | null | undefined;
945
1169
  logic_codes_exclude?: string[] | null | undefined;
946
- id_log_type?: number | null | undefined;
947
- ids_log_type?: number[] | null | undefined;
948
- id_state?: number | null | undefined;
949
- ids_state?: number[] | null | undefined;
950
1170
  };
951
1171
  output: {
952
- data: ({
953
- log_type: {
1172
+ data: {
1173
+ id: number;
1174
+ name: string | null;
1175
+ is_active: boolean | null;
1176
+ id_country: number | null;
1177
+ code: string | null;
1178
+ created_at: Date | null;
1179
+ created_by: string | null;
1180
+ updated_at: Date | null;
1181
+ updated_by: string | null;
1182
+ logic_code: string | null;
1183
+ }[] | undefined;
1184
+ total: number | undefined;
1185
+ };
1186
+ meta: object;
1187
+ }>;
1188
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1189
+ input: {
1190
+ id?: number | null | undefined;
1191
+ id_string?: string | null | undefined;
1192
+ };
1193
+ output: {
1194
+ data: {
1195
+ id: number;
1196
+ name: string | null;
1197
+ is_active: boolean | null;
1198
+ id_country: number | null;
1199
+ code: string | null;
1200
+ created_at: Date | null;
1201
+ created_by: string | null;
1202
+ updated_at: Date | null;
1203
+ updated_by: string | null;
1204
+ logic_code: string | null;
1205
+ } | undefined;
1206
+ };
1207
+ meta: object;
1208
+ }>;
1209
+ histories: import("@trpc/server").TRPCBuiltRouter<{
1210
+ ctx: Context$1;
1211
+ meta: object;
1212
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1213
+ transformer: false;
1214
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1215
+ get: import("@trpc/server").TRPCMutationProcedure<{
1216
+ input: {
1217
+ search?: string | null | undefined;
1218
+ take?: number | null | undefined;
1219
+ skip?: number | null | undefined;
1220
+ is_active?: boolean[] | null | undefined;
1221
+ ids_include?: number[] | null | undefined;
1222
+ ids_exclude?: number[] | null | undefined;
1223
+ ids_string_include?: string[] | null | undefined;
1224
+ ids_string_exclude?: string[] | null | undefined;
1225
+ logic_codes_include?: string[] | null | undefined;
1226
+ logic_codes_exclude?: string[] | null | undefined;
1227
+ id_log_type?: number | null | undefined;
1228
+ ids_log_type?: number[] | null | undefined;
1229
+ id_state?: number | null | undefined;
1230
+ ids_state?: number[] | null | undefined;
1231
+ };
1232
+ output: {
1233
+ data: ({
1234
+ log_type: {
1235
+ id: number;
1236
+ name: string | null;
1237
+ is_active: boolean | null;
1238
+ created_at: Date | null;
1239
+ created_by: string | null;
1240
+ updated_at: Date | null;
1241
+ updated_by: string | null;
1242
+ logic_code: string | null;
1243
+ } | null;
1244
+ } & {
1245
+ id: number;
1246
+ url: string | null;
1247
+ id_log_type: number | null;
1248
+ id_state: number | null;
1249
+ action: string | null;
1250
+ params: JsonValue | null;
1251
+ action_by: string | null;
1252
+ action_id: string | null;
1253
+ action_at: Date | null;
1254
+ })[] | undefined;
1255
+ total: number | undefined;
1256
+ };
1257
+ meta: object;
1258
+ }>;
1259
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1260
+ input: {
1261
+ id?: number | null | undefined;
1262
+ id_string?: string | null | undefined;
1263
+ };
1264
+ output: {
1265
+ data: ({
1266
+ log_type: {
1267
+ id: number;
1268
+ name: string | null;
1269
+ is_active: boolean | null;
1270
+ created_at: Date | null;
1271
+ created_by: string | null;
1272
+ updated_at: Date | null;
1273
+ updated_by: string | null;
1274
+ logic_code: string | null;
1275
+ } | null;
1276
+ } & {
954
1277
  id: number;
955
- name: string | null;
956
- is_active: boolean | null;
957
- created_at: Date | null;
958
- created_by: string | null;
959
- updated_at: Date | null;
960
- updated_by: string | null;
961
- logic_code: string | null;
962
- } | null;
963
- } & {
1278
+ url: string | null;
1279
+ id_log_type: number | null;
1280
+ action: string | null;
1281
+ params: JsonValue | null;
1282
+ action_by: string | null;
1283
+ action_id: string | null;
1284
+ action_at: Date | null;
1285
+ id_time_zone: number | null;
1286
+ }) | undefined;
1287
+ };
1288
+ meta: object;
1289
+ }>;
1290
+ }>>;
1291
+ create: import("@trpc/server").TRPCMutationProcedure<{
1292
+ input: {
1293
+ is_active?: boolean | undefined;
1294
+ id_country?: number | null | undefined;
1295
+ code?: string | null | undefined;
1296
+ name?: string | null | undefined;
1297
+ };
1298
+ output: {
1299
+ data: {
1300
+ id: number;
1301
+ name: string | null;
1302
+ is_active: boolean | null;
1303
+ id_country: number | null;
1304
+ code: string | null;
1305
+ created_at: Date | null;
1306
+ created_by: string | null;
1307
+ updated_at: Date | null;
1308
+ updated_by: string | null;
1309
+ logic_code: string | null;
1310
+ } | undefined;
1311
+ log: {
964
1312
  id: number;
965
1313
  url: string | null;
966
1314
  id_log_type: number | null;
@@ -970,197 +1318,71 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
970
1318
  action_by: string | null;
971
1319
  action_id: string | null;
972
1320
  action_at: Date | null;
973
- })[] | undefined;
974
- total: number | undefined;
1321
+ } | undefined;
975
1322
  };
976
1323
  meta: object;
977
1324
  }>;
978
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
1325
+ update: import("@trpc/server").TRPCMutationProcedure<{
979
1326
  input: {
980
1327
  id?: number | null | undefined;
981
1328
  id_string?: string | null | undefined;
1329
+ is_active?: boolean | undefined;
1330
+ id_country?: number | null | undefined;
1331
+ code?: string | null | undefined;
1332
+ name?: string | null | undefined;
982
1333
  };
983
1334
  output: {
984
- data: ({
985
- log_type: {
986
- id: number;
987
- name: string | null;
988
- is_active: boolean | null;
989
- created_at: Date | null;
990
- created_by: string | null;
991
- updated_at: Date | null;
992
- updated_by: string | null;
993
- logic_code: string | null;
994
- } | null;
995
- } & {
1335
+ data: {
1336
+ id: number;
1337
+ name: string | null;
1338
+ is_active: boolean | null;
1339
+ id_country: number | null;
1340
+ code: string | null;
1341
+ created_at: Date | null;
1342
+ created_by: string | null;
1343
+ updated_at: Date | null;
1344
+ updated_by: string | null;
1345
+ logic_code: string | null;
1346
+ } | undefined;
1347
+ log: {
996
1348
  id: number;
997
1349
  url: string | null;
998
1350
  id_log_type: number | null;
1351
+ id_state: number | null;
999
1352
  action: string | null;
1000
1353
  params: JsonValue | null;
1001
1354
  action_by: string | null;
1002
1355
  action_id: string | null;
1003
1356
  action_at: Date | null;
1004
- id_time_zone: number | null;
1005
- }) | undefined;
1357
+ } | undefined;
1358
+ };
1359
+ meta: object;
1360
+ }>;
1361
+ delete: import("@trpc/server").TRPCMutationProcedure<{
1362
+ input: {
1363
+ id?: number | null | undefined;
1364
+ ids?: number[] | null | undefined;
1365
+ id_string?: string | null | undefined;
1366
+ ids_string?: string[] | null | undefined;
1367
+ };
1368
+ output: {
1369
+ data: ({
1370
+ id: number;
1371
+ name: string | null;
1372
+ is_active: boolean | null;
1373
+ id_country: number | null;
1374
+ code: string | null;
1375
+ created_at: Date | null;
1376
+ created_by: string | null;
1377
+ updated_at: Date | null;
1378
+ updated_by: string | null;
1379
+ logic_code: string | null;
1380
+ } | undefined)[];
1006
1381
  };
1007
1382
  meta: object;
1008
1383
  }>;
1009
1384
  }>>;
1010
- create: import("@trpc/server").TRPCMutationProcedure<{
1011
- input: {
1012
- is_active?: boolean | undefined;
1013
- id_country?: number | null | undefined;
1014
- code?: string | null | undefined;
1015
- name?: string | null | undefined;
1016
- };
1017
- output: {
1018
- data: {
1019
- id: number;
1020
- name: string | null;
1021
- is_active: boolean | null;
1022
- id_country: number | null;
1023
- code: string | null;
1024
- created_at: Date | null;
1025
- created_by: string | null;
1026
- updated_at: Date | null;
1027
- updated_by: string | null;
1028
- logic_code: string | null;
1029
- } | undefined;
1030
- log: {
1031
- id: number;
1032
- url: string | null;
1033
- id_log_type: number | null;
1034
- id_state: number | null;
1035
- action: string | null;
1036
- params: JsonValue | null;
1037
- action_by: string | null;
1038
- action_id: string | null;
1039
- action_at: Date | null;
1040
- } | undefined;
1041
- };
1042
- meta: object;
1043
- }>;
1044
- update: import("@trpc/server").TRPCMutationProcedure<{
1045
- input: {
1046
- id?: number | null | undefined;
1047
- id_string?: string | null | undefined;
1048
- is_active?: boolean | undefined;
1049
- id_country?: number | null | undefined;
1050
- code?: string | null | undefined;
1051
- name?: string | null | undefined;
1052
- };
1053
- output: {
1054
- data: {
1055
- id: number;
1056
- name: string | null;
1057
- is_active: boolean | null;
1058
- id_country: number | null;
1059
- code: string | null;
1060
- created_at: Date | null;
1061
- created_by: string | null;
1062
- updated_at: Date | null;
1063
- updated_by: string | null;
1064
- logic_code: string | null;
1065
- } | undefined;
1066
- log: {
1067
- id: number;
1068
- url: string | null;
1069
- id_log_type: number | null;
1070
- id_state: number | null;
1071
- action: string | null;
1072
- params: JsonValue | null;
1073
- action_by: string | null;
1074
- action_id: string | null;
1075
- action_at: Date | null;
1076
- } | undefined;
1077
- };
1078
- meta: object;
1079
- }>;
1080
- delete: import("@trpc/server").TRPCMutationProcedure<{
1081
- input: {
1082
- id?: number | null | undefined;
1083
- ids?: number[] | null | undefined;
1084
- id_string?: string | null | undefined;
1085
- ids_string?: string[] | null | undefined;
1086
- };
1087
- output: {
1088
- data: ({
1089
- id: number;
1090
- name: string | null;
1091
- is_active: boolean | null;
1092
- id_country: number | null;
1093
- code: string | null;
1094
- created_at: Date | null;
1095
- created_by: string | null;
1096
- updated_at: Date | null;
1097
- updated_by: string | null;
1098
- logic_code: string | null;
1099
- } | undefined)[];
1100
- };
1101
- meta: object;
1102
- }>;
1103
- }>>;
1104
- cities: import("@trpc/server").TRPCBuiltRouter<{
1105
- ctx: Context$1;
1106
- meta: object;
1107
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1108
- transformer: false;
1109
- }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1110
- get: import("@trpc/server").TRPCMutationProcedure<{
1111
- input: {
1112
- search?: string | null | undefined;
1113
- take?: number | null | undefined;
1114
- skip?: number | null | undefined;
1115
- is_active?: boolean[] | null | undefined;
1116
- ids_include?: number[] | null | undefined;
1117
- ids_exclude?: number[] | null | undefined;
1118
- ids_string_include?: string[] | null | undefined;
1119
- ids_string_exclude?: string[] | null | undefined;
1120
- logic_codes_include?: string[] | null | undefined;
1121
- logic_codes_exclude?: string[] | null | undefined;
1122
- };
1123
- output: {
1124
- data: {
1125
- id: number;
1126
- name: string | null;
1127
- is_active: boolean | null;
1128
- id_country: number | null;
1129
- id_state: number | null;
1130
- code: string | null;
1131
- created_at: Date | null;
1132
- created_by: string | null;
1133
- updated_at: Date | null;
1134
- updated_by: string | null;
1135
- logic_code: string | null;
1136
- }[] | undefined;
1137
- total: number | undefined;
1138
- };
1139
- meta: object;
1140
- }>;
1141
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
1142
- input: {
1143
- id?: number | null | undefined;
1144
- id_string?: string | null | undefined;
1145
- };
1146
- output: {
1147
- data: {
1148
- id: number;
1149
- name: string | null;
1150
- is_active: boolean | null;
1151
- id_country: number | null;
1152
- id_state: number | null;
1153
- code: string | null;
1154
- created_at: Date | null;
1155
- created_by: string | null;
1156
- updated_at: Date | null;
1157
- updated_by: string | null;
1158
- logic_code: string | null;
1159
- } | undefined;
1160
- };
1161
- meta: object;
1162
- }>;
1163
- histories: import("@trpc/server").TRPCBuiltRouter<{
1385
+ cities: import("@trpc/server").TRPCBuiltRouter<{
1164
1386
  ctx: Context$1;
1165
1387
  meta: object;
1166
1388
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
@@ -1178,24 +1400,152 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1178
1400
  ids_string_exclude?: string[] | null | undefined;
1179
1401
  logic_codes_include?: string[] | null | undefined;
1180
1402
  logic_codes_exclude?: string[] | null | undefined;
1181
- id_log_type?: number | null | undefined;
1182
- ids_log_type?: number[] | null | undefined;
1183
- id_city?: number | null | undefined;
1184
- ids_city?: number[] | null | undefined;
1185
1403
  };
1186
1404
  output: {
1187
- data: ({
1188
- log_type: {
1405
+ data: {
1406
+ id: number;
1407
+ name: string | null;
1408
+ is_active: boolean | null;
1409
+ id_country: number | null;
1410
+ id_state: number | null;
1411
+ code: string | null;
1412
+ created_at: Date | null;
1413
+ created_by: string | null;
1414
+ updated_at: Date | null;
1415
+ updated_by: string | null;
1416
+ logic_code: string | null;
1417
+ }[] | undefined;
1418
+ total: number | undefined;
1419
+ };
1420
+ meta: object;
1421
+ }>;
1422
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1423
+ input: {
1424
+ id?: number | null | undefined;
1425
+ id_string?: string | null | undefined;
1426
+ };
1427
+ output: {
1428
+ data: {
1429
+ id: number;
1430
+ name: string | null;
1431
+ is_active: boolean | null;
1432
+ id_country: number | null;
1433
+ id_state: number | null;
1434
+ code: string | null;
1435
+ created_at: Date | null;
1436
+ created_by: string | null;
1437
+ updated_at: Date | null;
1438
+ updated_by: string | null;
1439
+ logic_code: string | null;
1440
+ } | undefined;
1441
+ };
1442
+ meta: object;
1443
+ }>;
1444
+ histories: import("@trpc/server").TRPCBuiltRouter<{
1445
+ ctx: Context$1;
1446
+ meta: object;
1447
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1448
+ transformer: false;
1449
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1450
+ get: import("@trpc/server").TRPCMutationProcedure<{
1451
+ input: {
1452
+ search?: string | null | undefined;
1453
+ take?: number | null | undefined;
1454
+ skip?: number | null | undefined;
1455
+ is_active?: boolean[] | null | undefined;
1456
+ ids_include?: number[] | null | undefined;
1457
+ ids_exclude?: number[] | null | undefined;
1458
+ ids_string_include?: string[] | null | undefined;
1459
+ ids_string_exclude?: string[] | null | undefined;
1460
+ logic_codes_include?: string[] | null | undefined;
1461
+ logic_codes_exclude?: string[] | null | undefined;
1462
+ id_log_type?: number | null | undefined;
1463
+ ids_log_type?: number[] | null | undefined;
1464
+ id_city?: number | null | undefined;
1465
+ ids_city?: number[] | null | undefined;
1466
+ };
1467
+ output: {
1468
+ data: ({
1469
+ log_type: {
1470
+ id: number;
1471
+ name: string | null;
1472
+ is_active: boolean | null;
1473
+ created_at: Date | null;
1474
+ created_by: string | null;
1475
+ updated_at: Date | null;
1476
+ updated_by: string | null;
1477
+ logic_code: string | null;
1478
+ } | null;
1479
+ } & {
1480
+ id: number;
1481
+ url: string | null;
1482
+ id_log_type: number | null;
1483
+ id_city: number | null;
1484
+ action: string | null;
1485
+ params: JsonValue | null;
1486
+ action_by: string | null;
1487
+ action_id: string | null;
1488
+ action_at: Date | null;
1489
+ })[] | undefined;
1490
+ total: number | undefined;
1491
+ };
1492
+ meta: object;
1493
+ }>;
1494
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1495
+ input: {
1496
+ id?: number | null | undefined;
1497
+ id_string?: string | null | undefined;
1498
+ };
1499
+ output: {
1500
+ data: ({
1501
+ log_type: {
1502
+ id: number;
1503
+ name: string | null;
1504
+ is_active: boolean | null;
1505
+ created_at: Date | null;
1506
+ created_by: string | null;
1507
+ updated_at: Date | null;
1508
+ updated_by: string | null;
1509
+ logic_code: string | null;
1510
+ } | null;
1511
+ } & {
1189
1512
  id: number;
1190
- name: string | null;
1191
- is_active: boolean | null;
1192
- created_at: Date | null;
1193
- created_by: string | null;
1194
- updated_at: Date | null;
1195
- updated_by: string | null;
1196
- logic_code: string | null;
1197
- } | null;
1198
- } & {
1513
+ url: string | null;
1514
+ id_log_type: number | null;
1515
+ id_city: number | null;
1516
+ action: string | null;
1517
+ params: JsonValue | null;
1518
+ action_by: string | null;
1519
+ action_id: string | null;
1520
+ action_at: Date | null;
1521
+ }) | undefined;
1522
+ };
1523
+ meta: object;
1524
+ }>;
1525
+ }>>;
1526
+ create: import("@trpc/server").TRPCMutationProcedure<{
1527
+ input: {
1528
+ is_active?: boolean | undefined;
1529
+ id_country?: number | null | undefined;
1530
+ id_state?: number | null | undefined;
1531
+ code?: string | null | undefined;
1532
+ name?: string | null | undefined;
1533
+ };
1534
+ output: {
1535
+ data: {
1536
+ id: number;
1537
+ name: string | null;
1538
+ is_active: boolean | null;
1539
+ id_country: number | null;
1540
+ id_state: number | null;
1541
+ code: string | null;
1542
+ created_at: Date | null;
1543
+ created_by: string | null;
1544
+ updated_at: Date | null;
1545
+ updated_by: string | null;
1546
+ logic_code: string | null;
1547
+ } | undefined;
1548
+ log: {
1199
1549
  id: number;
1200
1550
  url: string | null;
1201
1551
  id_log_type: number | null;
@@ -1205,197 +1555,73 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1205
1555
  action_by: string | null;
1206
1556
  action_id: string | null;
1207
1557
  action_at: Date | null;
1208
- })[] | undefined;
1209
- total: number | undefined;
1558
+ } | undefined;
1210
1559
  };
1211
1560
  meta: object;
1212
1561
  }>;
1213
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
1562
+ update: import("@trpc/server").TRPCMutationProcedure<{
1214
1563
  input: {
1215
1564
  id?: number | null | undefined;
1216
1565
  id_string?: string | null | undefined;
1566
+ is_active?: boolean | undefined;
1567
+ id_country?: number | null | undefined;
1568
+ id_state?: number | null | undefined;
1569
+ code?: string | null | undefined;
1570
+ name?: string | null | undefined;
1217
1571
  };
1218
1572
  output: {
1219
- data: ({
1220
- log_type: {
1221
- id: number;
1222
- name: string | null;
1223
- is_active: boolean | null;
1224
- created_at: Date | null;
1225
- created_by: string | null;
1226
- updated_at: Date | null;
1227
- updated_by: string | null;
1228
- logic_code: string | null;
1229
- } | null;
1230
- } & {
1573
+ data: {
1574
+ id: number;
1575
+ name: string | null;
1576
+ is_active: boolean | null;
1577
+ id_country: number | null;
1578
+ id_state: number | null;
1579
+ code: string | null;
1580
+ created_at: Date | null;
1581
+ created_by: string | null;
1582
+ updated_at: Date | null;
1583
+ updated_by: string | null;
1584
+ logic_code: string | null;
1585
+ } | undefined;
1586
+ log: {
1231
1587
  id: number;
1232
1588
  url: string | null;
1233
1589
  id_log_type: number | null;
1234
- id_city: number | null;
1590
+ id_state: number | null;
1235
1591
  action: string | null;
1236
1592
  params: JsonValue | null;
1237
1593
  action_by: string | null;
1238
1594
  action_id: string | null;
1239
1595
  action_at: Date | null;
1240
- }) | undefined;
1596
+ } | undefined;
1597
+ };
1598
+ meta: object;
1599
+ }>;
1600
+ delete: import("@trpc/server").TRPCMutationProcedure<{
1601
+ input: {
1602
+ id?: number | null | undefined;
1603
+ ids?: number[] | null | undefined;
1604
+ id_string?: string | null | undefined;
1605
+ ids_string?: string[] | null | undefined;
1606
+ };
1607
+ output: {
1608
+ data: ({
1609
+ id: number;
1610
+ name: string | null;
1611
+ is_active: boolean | null;
1612
+ id_country: number | null;
1613
+ code: string | null;
1614
+ created_at: Date | null;
1615
+ created_by: string | null;
1616
+ updated_at: Date | null;
1617
+ updated_by: string | null;
1618
+ logic_code: string | null;
1619
+ } | undefined)[];
1241
1620
  };
1242
1621
  meta: object;
1243
1622
  }>;
1244
1623
  }>>;
1245
- create: import("@trpc/server").TRPCMutationProcedure<{
1246
- input: {
1247
- is_active?: boolean | undefined;
1248
- id_country?: number | null | undefined;
1249
- id_state?: number | null | undefined;
1250
- code?: string | null | undefined;
1251
- name?: string | null | undefined;
1252
- };
1253
- output: {
1254
- data: {
1255
- id: number;
1256
- name: string | null;
1257
- is_active: boolean | null;
1258
- id_country: number | null;
1259
- id_state: number | null;
1260
- code: string | null;
1261
- created_at: Date | null;
1262
- created_by: string | null;
1263
- updated_at: Date | null;
1264
- updated_by: string | null;
1265
- logic_code: string | null;
1266
- } | undefined;
1267
- log: {
1268
- id: number;
1269
- url: string | null;
1270
- id_log_type: number | null;
1271
- id_city: number | null;
1272
- action: string | null;
1273
- params: JsonValue | null;
1274
- action_by: string | null;
1275
- action_id: string | null;
1276
- action_at: Date | null;
1277
- } | undefined;
1278
- };
1279
- meta: object;
1280
- }>;
1281
- update: import("@trpc/server").TRPCMutationProcedure<{
1282
- input: {
1283
- id?: number | null | undefined;
1284
- id_string?: string | null | undefined;
1285
- is_active?: boolean | undefined;
1286
- id_country?: number | null | undefined;
1287
- id_state?: number | null | undefined;
1288
- code?: string | null | undefined;
1289
- name?: string | null | undefined;
1290
- };
1291
- output: {
1292
- data: {
1293
- id: number;
1294
- name: string | null;
1295
- is_active: boolean | null;
1296
- id_country: number | null;
1297
- id_state: number | null;
1298
- code: string | null;
1299
- created_at: Date | null;
1300
- created_by: string | null;
1301
- updated_at: Date | null;
1302
- updated_by: string | null;
1303
- logic_code: string | null;
1304
- } | undefined;
1305
- log: {
1306
- id: number;
1307
- url: string | null;
1308
- id_log_type: number | null;
1309
- id_state: number | null;
1310
- action: string | null;
1311
- params: JsonValue | null;
1312
- action_by: string | null;
1313
- action_id: string | null;
1314
- action_at: Date | null;
1315
- } | undefined;
1316
- };
1317
- meta: object;
1318
- }>;
1319
- delete: import("@trpc/server").TRPCMutationProcedure<{
1320
- input: {
1321
- id?: number | null | undefined;
1322
- ids?: number[] | null | undefined;
1323
- id_string?: string | null | undefined;
1324
- ids_string?: string[] | null | undefined;
1325
- };
1326
- output: {
1327
- data: ({
1328
- id: number;
1329
- name: string | null;
1330
- is_active: boolean | null;
1331
- id_country: number | null;
1332
- code: string | null;
1333
- created_at: Date | null;
1334
- created_by: string | null;
1335
- updated_at: Date | null;
1336
- updated_by: string | null;
1337
- logic_code: string | null;
1338
- } | undefined)[];
1339
- };
1340
- meta: object;
1341
- }>;
1342
- }>>;
1343
- postalCodes: import("@trpc/server").TRPCBuiltRouter<{
1344
- ctx: Context$1;
1345
- meta: object;
1346
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1347
- transformer: false;
1348
- }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1349
- get: import("@trpc/server").TRPCMutationProcedure<{
1350
- input: {
1351
- search?: string | null | undefined;
1352
- take?: number | null | undefined;
1353
- skip?: number | null | undefined;
1354
- is_active?: boolean[] | null | undefined;
1355
- ids_include?: number[] | null | undefined;
1356
- ids_exclude?: number[] | null | undefined;
1357
- ids_string_include?: string[] | null | undefined;
1358
- ids_string_exclude?: string[] | null | undefined;
1359
- logic_codes_include?: string[] | null | undefined;
1360
- logic_codes_exclude?: string[] | null | undefined;
1361
- };
1362
- output: {
1363
- data: {
1364
- id: number;
1365
- is_active: boolean | null;
1366
- id_country: number | null;
1367
- code: string | null;
1368
- created_at: Date | null;
1369
- created_by: string | null;
1370
- updated_at: Date | null;
1371
- updated_by: string | null;
1372
- logic_code: string | null;
1373
- }[] | undefined;
1374
- total: number | undefined;
1375
- };
1376
- meta: object;
1377
- }>;
1378
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
1379
- input: {
1380
- id?: number | null | undefined;
1381
- id_string?: string | null | undefined;
1382
- };
1383
- output: {
1384
- data: {
1385
- id: number;
1386
- is_active: boolean | null;
1387
- id_country: number | null;
1388
- code: string | null;
1389
- created_at: Date | null;
1390
- created_by: string | null;
1391
- updated_at: Date | null;
1392
- updated_by: string | null;
1393
- logic_code: string | null;
1394
- } | undefined;
1395
- };
1396
- meta: object;
1397
- }>;
1398
- histories: import("@trpc/server").TRPCBuiltRouter<{
1624
+ postalCodes: import("@trpc/server").TRPCBuiltRouter<{
1399
1625
  ctx: Context$1;
1400
1626
  meta: object;
1401
1627
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
@@ -1413,24 +1639,144 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1413
1639
  ids_string_exclude?: string[] | null | undefined;
1414
1640
  logic_codes_include?: string[] | null | undefined;
1415
1641
  logic_codes_exclude?: string[] | null | undefined;
1416
- id_log_type?: number | null | undefined;
1417
- ids_log_type?: number[] | null | undefined;
1418
- id_postal_code?: number | null | undefined;
1419
- ids_postal_code?: number[] | null | undefined;
1420
1642
  };
1421
1643
  output: {
1422
- data: ({
1423
- log_type: {
1644
+ data: {
1645
+ id: number;
1646
+ is_active: boolean | null;
1647
+ id_country: number | null;
1648
+ code: string | null;
1649
+ created_at: Date | null;
1650
+ created_by: string | null;
1651
+ updated_at: Date | null;
1652
+ updated_by: string | null;
1653
+ logic_code: string | null;
1654
+ }[] | undefined;
1655
+ total: number | undefined;
1656
+ };
1657
+ meta: object;
1658
+ }>;
1659
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1660
+ input: {
1661
+ id?: number | null | undefined;
1662
+ id_string?: string | null | undefined;
1663
+ };
1664
+ output: {
1665
+ data: {
1666
+ id: number;
1667
+ is_active: boolean | null;
1668
+ id_country: number | null;
1669
+ code: string | null;
1670
+ created_at: Date | null;
1671
+ created_by: string | null;
1672
+ updated_at: Date | null;
1673
+ updated_by: string | null;
1674
+ logic_code: string | null;
1675
+ } | undefined;
1676
+ };
1677
+ meta: object;
1678
+ }>;
1679
+ histories: import("@trpc/server").TRPCBuiltRouter<{
1680
+ ctx: Context$1;
1681
+ meta: object;
1682
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1683
+ transformer: false;
1684
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1685
+ get: import("@trpc/server").TRPCMutationProcedure<{
1686
+ input: {
1687
+ search?: string | null | undefined;
1688
+ take?: number | null | undefined;
1689
+ skip?: number | null | undefined;
1690
+ is_active?: boolean[] | null | undefined;
1691
+ ids_include?: number[] | null | undefined;
1692
+ ids_exclude?: number[] | null | undefined;
1693
+ ids_string_include?: string[] | null | undefined;
1694
+ ids_string_exclude?: string[] | null | undefined;
1695
+ logic_codes_include?: string[] | null | undefined;
1696
+ logic_codes_exclude?: string[] | null | undefined;
1697
+ id_log_type?: number | null | undefined;
1698
+ ids_log_type?: number[] | null | undefined;
1699
+ id_postal_code?: number | null | undefined;
1700
+ ids_postal_code?: number[] | null | undefined;
1701
+ };
1702
+ output: {
1703
+ data: ({
1704
+ log_type: {
1705
+ id: number;
1706
+ name: string | null;
1707
+ is_active: boolean | null;
1708
+ created_at: Date | null;
1709
+ created_by: string | null;
1710
+ updated_at: Date | null;
1711
+ updated_by: string | null;
1712
+ logic_code: string | null;
1713
+ } | null;
1714
+ } & {
1715
+ id: number;
1716
+ url: string | null;
1717
+ id_log_type: number | null;
1718
+ action: string | null;
1719
+ params: JsonValue | null;
1720
+ action_by: string | null;
1721
+ action_id: string | null;
1722
+ action_at: Date | null;
1723
+ id_postal_code: number | null;
1724
+ })[] | undefined;
1725
+ total: number | undefined;
1726
+ };
1727
+ meta: object;
1728
+ }>;
1729
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1730
+ input: {
1731
+ id?: number | null | undefined;
1732
+ id_string?: string | null | undefined;
1733
+ };
1734
+ output: {
1735
+ data: ({
1736
+ log_type: {
1737
+ id: number;
1738
+ name: string | null;
1739
+ is_active: boolean | null;
1740
+ created_at: Date | null;
1741
+ created_by: string | null;
1742
+ updated_at: Date | null;
1743
+ updated_by: string | null;
1744
+ logic_code: string | null;
1745
+ } | null;
1746
+ } & {
1424
1747
  id: number;
1425
- name: string | null;
1426
- is_active: boolean | null;
1427
- created_at: Date | null;
1428
- created_by: string | null;
1429
- updated_at: Date | null;
1430
- updated_by: string | null;
1431
- logic_code: string | null;
1432
- } | null;
1433
- } & {
1748
+ url: string | null;
1749
+ id_log_type: number | null;
1750
+ action: string | null;
1751
+ params: JsonValue | null;
1752
+ action_by: string | null;
1753
+ action_id: string | null;
1754
+ action_at: Date | null;
1755
+ id_postal_code: number | null;
1756
+ }) | undefined;
1757
+ };
1758
+ meta: object;
1759
+ }>;
1760
+ }>>;
1761
+ create: import("@trpc/server").TRPCMutationProcedure<{
1762
+ input: {
1763
+ is_active?: boolean | undefined;
1764
+ id_country?: number | null | undefined;
1765
+ code?: string | null | undefined;
1766
+ };
1767
+ output: {
1768
+ data: {
1769
+ id: number;
1770
+ is_active: boolean | null;
1771
+ id_country: number | null;
1772
+ code: string | null;
1773
+ created_at: Date | null;
1774
+ created_by: string | null;
1775
+ updated_at: Date | null;
1776
+ updated_by: string | null;
1777
+ logic_code: string | null;
1778
+ } | undefined;
1779
+ log: {
1434
1780
  id: number;
1435
1781
  url: string | null;
1436
1782
  id_log_type: number | null;
@@ -1440,190 +1786,68 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1440
1786
  action_id: string | null;
1441
1787
  action_at: Date | null;
1442
1788
  id_postal_code: number | null;
1443
- })[] | undefined;
1444
- total: number | undefined;
1789
+ } | undefined;
1445
1790
  };
1446
1791
  meta: object;
1447
1792
  }>;
1448
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
1793
+ update: import("@trpc/server").TRPCMutationProcedure<{
1449
1794
  input: {
1450
1795
  id?: number | null | undefined;
1451
1796
  id_string?: string | null | undefined;
1797
+ is_active?: boolean | undefined;
1798
+ id_country?: number | null | undefined;
1799
+ code?: string | null | undefined;
1452
1800
  };
1453
1801
  output: {
1454
- data: ({
1455
- log_type: {
1456
- id: number;
1457
- name: string | null;
1458
- is_active: boolean | null;
1459
- created_at: Date | null;
1460
- created_by: string | null;
1461
- updated_at: Date | null;
1462
- updated_by: string | null;
1463
- logic_code: string | null;
1464
- } | null;
1465
- } & {
1802
+ data: {
1803
+ id: number;
1804
+ is_active: boolean | null;
1805
+ id_country: number | null;
1806
+ code: string | null;
1807
+ created_at: Date | null;
1808
+ created_by: string | null;
1809
+ updated_at: Date | null;
1810
+ updated_by: string | null;
1811
+ logic_code: string | null;
1812
+ } | undefined;
1813
+ log: {
1466
1814
  id: number;
1467
1815
  url: string | null;
1468
1816
  id_log_type: number | null;
1817
+ id_country: number | null;
1469
1818
  action: string | null;
1470
1819
  params: JsonValue | null;
1471
1820
  action_by: string | null;
1472
1821
  action_id: string | null;
1473
1822
  action_at: Date | null;
1474
- id_postal_code: number | null;
1475
- }) | undefined;
1823
+ } | undefined;
1824
+ };
1825
+ meta: object;
1826
+ }>;
1827
+ delete: import("@trpc/server").TRPCMutationProcedure<{
1828
+ input: {
1829
+ id?: number | null | undefined;
1830
+ ids?: number[] | null | undefined;
1831
+ id_string?: string | null | undefined;
1832
+ ids_string?: string[] | null | undefined;
1833
+ };
1834
+ output: {
1835
+ data: ({
1836
+ id: number;
1837
+ is_active: boolean | null;
1838
+ id_country: number | null;
1839
+ code: string | null;
1840
+ created_at: Date | null;
1841
+ created_by: string | null;
1842
+ updated_at: Date | null;
1843
+ updated_by: string | null;
1844
+ logic_code: string | null;
1845
+ } | undefined)[];
1476
1846
  };
1477
1847
  meta: object;
1478
1848
  }>;
1479
1849
  }>>;
1480
- create: import("@trpc/server").TRPCMutationProcedure<{
1481
- input: {
1482
- is_active?: boolean | undefined;
1483
- id_country?: number | null | undefined;
1484
- code?: string | null | undefined;
1485
- };
1486
- output: {
1487
- data: {
1488
- id: number;
1489
- is_active: boolean | null;
1490
- id_country: number | null;
1491
- code: string | null;
1492
- created_at: Date | null;
1493
- created_by: string | null;
1494
- updated_at: Date | null;
1495
- updated_by: string | null;
1496
- logic_code: string | null;
1497
- } | undefined;
1498
- log: {
1499
- id: number;
1500
- url: string | null;
1501
- id_log_type: number | null;
1502
- action: string | null;
1503
- params: JsonValue | null;
1504
- action_by: string | null;
1505
- action_id: string | null;
1506
- action_at: Date | null;
1507
- id_postal_code: number | null;
1508
- } | undefined;
1509
- };
1510
- meta: object;
1511
- }>;
1512
- update: import("@trpc/server").TRPCMutationProcedure<{
1513
- input: {
1514
- id?: number | null | undefined;
1515
- id_string?: string | null | undefined;
1516
- is_active?: boolean | undefined;
1517
- id_country?: number | null | undefined;
1518
- code?: string | null | undefined;
1519
- };
1520
- output: {
1521
- data: {
1522
- id: number;
1523
- is_active: boolean | null;
1524
- id_country: number | null;
1525
- code: string | null;
1526
- created_at: Date | null;
1527
- created_by: string | null;
1528
- updated_at: Date | null;
1529
- updated_by: string | null;
1530
- logic_code: string | null;
1531
- } | undefined;
1532
- log: {
1533
- id: number;
1534
- url: string | null;
1535
- id_log_type: number | null;
1536
- id_country: number | null;
1537
- action: string | null;
1538
- params: JsonValue | null;
1539
- action_by: string | null;
1540
- action_id: string | null;
1541
- action_at: Date | null;
1542
- } | undefined;
1543
- };
1544
- meta: object;
1545
- }>;
1546
- delete: import("@trpc/server").TRPCMutationProcedure<{
1547
- input: {
1548
- id?: number | null | undefined;
1549
- ids?: number[] | null | undefined;
1550
- id_string?: string | null | undefined;
1551
- ids_string?: string[] | null | undefined;
1552
- };
1553
- output: {
1554
- data: ({
1555
- id: number;
1556
- is_active: boolean | null;
1557
- id_country: number | null;
1558
- code: string | null;
1559
- created_at: Date | null;
1560
- created_by: string | null;
1561
- updated_at: Date | null;
1562
- updated_by: string | null;
1563
- logic_code: string | null;
1564
- } | undefined)[];
1565
- };
1566
- meta: object;
1567
- }>;
1568
- }>>;
1569
- timeZones: import("@trpc/server").TRPCBuiltRouter<{
1570
- ctx: Context$1;
1571
- meta: object;
1572
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1573
- transformer: false;
1574
- }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1575
- get: import("@trpc/server").TRPCMutationProcedure<{
1576
- input: {
1577
- search?: string | null | undefined;
1578
- take?: number | null | undefined;
1579
- skip?: number | null | undefined;
1580
- is_active?: boolean[] | null | undefined;
1581
- ids_include?: number[] | null | undefined;
1582
- ids_exclude?: number[] | null | undefined;
1583
- ids_string_include?: string[] | null | undefined;
1584
- ids_string_exclude?: string[] | null | undefined;
1585
- logic_codes_include?: string[] | null | undefined;
1586
- logic_codes_exclude?: string[] | null | undefined;
1587
- };
1588
- output: {
1589
- data: {
1590
- id: number;
1591
- name: string | null;
1592
- is_active: boolean | null;
1593
- code: string | null;
1594
- created_at: Date | null;
1595
- created_by: string | null;
1596
- updated_at: Date | null;
1597
- updated_by: string | null;
1598
- logic_code: string | null;
1599
- utc_offset: Decimal | null;
1600
- }[] | undefined;
1601
- total: number | undefined;
1602
- };
1603
- meta: object;
1604
- }>;
1605
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
1606
- input: {
1607
- id?: number | null | undefined;
1608
- id_string?: string | null | undefined;
1609
- };
1610
- output: {
1611
- data: {
1612
- id: number;
1613
- name: string | null;
1614
- is_active: boolean | null;
1615
- code: string | null;
1616
- created_at: Date | null;
1617
- created_by: string | null;
1618
- updated_at: Date | null;
1619
- updated_by: string | null;
1620
- logic_code: string | null;
1621
- utc_offset: Decimal | null;
1622
- } | undefined;
1623
- };
1624
- meta: object;
1625
- }>;
1626
- histories: import("@trpc/server").TRPCBuiltRouter<{
1850
+ timeZones: import("@trpc/server").TRPCBuiltRouter<{
1627
1851
  ctx: Context$1;
1628
1852
  meta: object;
1629
1853
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
@@ -1641,24 +1865,148 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1641
1865
  ids_string_exclude?: string[] | null | undefined;
1642
1866
  logic_codes_include?: string[] | null | undefined;
1643
1867
  logic_codes_exclude?: string[] | null | undefined;
1644
- id_log_type?: number | null | undefined;
1645
- ids_log_type?: number[] | null | undefined;
1646
- id_time_zone?: number | null | undefined;
1647
- ids_time_zone?: number[] | null | undefined;
1648
1868
  };
1649
1869
  output: {
1650
- data: ({
1651
- log_type: {
1870
+ data: {
1871
+ id: number;
1872
+ name: string | null;
1873
+ is_active: boolean | null;
1874
+ code: string | null;
1875
+ created_at: Date | null;
1876
+ created_by: string | null;
1877
+ updated_at: Date | null;
1878
+ updated_by: string | null;
1879
+ logic_code: string | null;
1880
+ utc_offset: Decimal | null;
1881
+ }[] | undefined;
1882
+ total: number | undefined;
1883
+ };
1884
+ meta: object;
1885
+ }>;
1886
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1887
+ input: {
1888
+ id?: number | null | undefined;
1889
+ id_string?: string | null | undefined;
1890
+ };
1891
+ output: {
1892
+ data: {
1893
+ id: number;
1894
+ name: string | null;
1895
+ is_active: boolean | null;
1896
+ code: string | null;
1897
+ created_at: Date | null;
1898
+ created_by: string | null;
1899
+ updated_at: Date | null;
1900
+ updated_by: string | null;
1901
+ logic_code: string | null;
1902
+ utc_offset: Decimal | null;
1903
+ } | undefined;
1904
+ };
1905
+ meta: object;
1906
+ }>;
1907
+ histories: import("@trpc/server").TRPCBuiltRouter<{
1908
+ ctx: Context$1;
1909
+ meta: object;
1910
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1911
+ transformer: false;
1912
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1913
+ get: import("@trpc/server").TRPCMutationProcedure<{
1914
+ input: {
1915
+ search?: string | null | undefined;
1916
+ take?: number | null | undefined;
1917
+ skip?: number | null | undefined;
1918
+ is_active?: boolean[] | null | undefined;
1919
+ ids_include?: number[] | null | undefined;
1920
+ ids_exclude?: number[] | null | undefined;
1921
+ ids_string_include?: string[] | null | undefined;
1922
+ ids_string_exclude?: string[] | null | undefined;
1923
+ logic_codes_include?: string[] | null | undefined;
1924
+ logic_codes_exclude?: string[] | null | undefined;
1925
+ id_log_type?: number | null | undefined;
1926
+ ids_log_type?: number[] | null | undefined;
1927
+ id_time_zone?: number | null | undefined;
1928
+ ids_time_zone?: number[] | null | undefined;
1929
+ };
1930
+ output: {
1931
+ data: ({
1932
+ log_type: {
1933
+ id: number;
1934
+ name: string | null;
1935
+ is_active: boolean | null;
1936
+ created_at: Date | null;
1937
+ created_by: string | null;
1938
+ updated_at: Date | null;
1939
+ updated_by: string | null;
1940
+ logic_code: string | null;
1941
+ } | null;
1942
+ } & {
1943
+ id: number;
1944
+ url: string | null;
1945
+ id_log_type: number | null;
1946
+ action: string | null;
1947
+ params: JsonValue | null;
1948
+ action_by: string | null;
1949
+ action_id: string | null;
1950
+ action_at: Date | null;
1951
+ id_time_zone: number | null;
1952
+ })[] | undefined;
1953
+ total: number | undefined;
1954
+ };
1955
+ meta: object;
1956
+ }>;
1957
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1958
+ input: {
1959
+ id?: number | null | undefined;
1960
+ id_string?: string | null | undefined;
1961
+ };
1962
+ output: {
1963
+ data: ({
1964
+ log_type: {
1965
+ id: number;
1966
+ name: string | null;
1967
+ is_active: boolean | null;
1968
+ created_at: Date | null;
1969
+ created_by: string | null;
1970
+ updated_at: Date | null;
1971
+ updated_by: string | null;
1972
+ logic_code: string | null;
1973
+ } | null;
1974
+ } & {
1652
1975
  id: number;
1653
- name: string | null;
1654
- is_active: boolean | null;
1655
- created_at: Date | null;
1656
- created_by: string | null;
1657
- updated_at: Date | null;
1658
- updated_by: string | null;
1659
- logic_code: string | null;
1660
- } | null;
1661
- } & {
1976
+ url: string | null;
1977
+ id_log_type: number | null;
1978
+ action: string | null;
1979
+ params: JsonValue | null;
1980
+ action_by: string | null;
1981
+ action_id: string | null;
1982
+ action_at: Date | null;
1983
+ id_time_zone: number | null;
1984
+ }) | undefined;
1985
+ };
1986
+ meta: object;
1987
+ }>;
1988
+ }>>;
1989
+ create: import("@trpc/server").TRPCMutationProcedure<{
1990
+ input: {
1991
+ is_active?: boolean | undefined;
1992
+ code?: string | null | undefined;
1993
+ name?: string | null | undefined;
1994
+ utc_offset?: string | null | undefined;
1995
+ };
1996
+ output: {
1997
+ data: {
1998
+ id: number;
1999
+ name: string | null;
2000
+ is_active: boolean | null;
2001
+ code: string | null;
2002
+ created_at: Date | null;
2003
+ created_by: string | null;
2004
+ updated_at: Date | null;
2005
+ updated_by: string | null;
2006
+ logic_code: string | null;
2007
+ utc_offset: Decimal | null;
2008
+ } | undefined;
2009
+ log: {
1662
2010
  id: number;
1663
2011
  url: string | null;
1664
2012
  id_log_type: number | null;
@@ -1668,29 +2016,33 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1668
2016
  action_id: string | null;
1669
2017
  action_at: Date | null;
1670
2018
  id_time_zone: number | null;
1671
- })[] | undefined;
1672
- total: number | undefined;
2019
+ } | undefined;
1673
2020
  };
1674
2021
  meta: object;
1675
2022
  }>;
1676
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
2023
+ update: import("@trpc/server").TRPCMutationProcedure<{
1677
2024
  input: {
1678
2025
  id?: number | null | undefined;
1679
2026
  id_string?: string | null | undefined;
2027
+ is_active?: boolean | undefined;
2028
+ code?: string | null | undefined;
2029
+ name?: string | null | undefined;
2030
+ utc_offset?: string | null | undefined;
1680
2031
  };
1681
2032
  output: {
1682
- data: ({
1683
- log_type: {
1684
- id: number;
1685
- name: string | null;
1686
- is_active: boolean | null;
1687
- created_at: Date | null;
1688
- created_by: string | null;
1689
- updated_at: Date | null;
1690
- updated_by: string | null;
1691
- logic_code: string | null;
1692
- } | null;
1693
- } & {
2033
+ data: {
2034
+ id: number;
2035
+ name: string | null;
2036
+ is_active: boolean | null;
2037
+ code: string | null;
2038
+ created_at: Date | null;
2039
+ created_by: string | null;
2040
+ updated_at: Date | null;
2041
+ updated_by: string | null;
2042
+ logic_code: string | null;
2043
+ utc_offset: Decimal | null;
2044
+ } | undefined;
2045
+ log: {
1694
2046
  id: number;
1695
2047
  url: string | null;
1696
2048
  id_log_type: number | null;
@@ -1700,104 +2052,34 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1700
2052
  action_id: string | null;
1701
2053
  action_at: Date | null;
1702
2054
  id_time_zone: number | null;
1703
- }) | undefined;
2055
+ } | undefined;
2056
+ };
2057
+ meta: object;
2058
+ }>;
2059
+ delete: import("@trpc/server").TRPCMutationProcedure<{
2060
+ input: {
2061
+ id?: number | null | undefined;
2062
+ ids?: number[] | null | undefined;
2063
+ id_string?: string | null | undefined;
2064
+ ids_string?: string[] | null | undefined;
2065
+ };
2066
+ output: {
2067
+ data: ({
2068
+ id: number;
2069
+ name: string | null;
2070
+ is_active: boolean | null;
2071
+ code: string | null;
2072
+ created_at: Date | null;
2073
+ created_by: string | null;
2074
+ updated_at: Date | null;
2075
+ updated_by: string | null;
2076
+ logic_code: string | null;
2077
+ utc_offset: Decimal | null;
2078
+ } | undefined)[];
1704
2079
  };
1705
2080
  meta: object;
1706
2081
  }>;
1707
2082
  }>>;
1708
- create: import("@trpc/server").TRPCMutationProcedure<{
1709
- input: {
1710
- is_active?: boolean | undefined;
1711
- code?: string | null | undefined;
1712
- name?: string | null | undefined;
1713
- utc_offset?: string | null | undefined;
1714
- };
1715
- output: {
1716
- data: {
1717
- id: number;
1718
- name: string | null;
1719
- is_active: boolean | null;
1720
- code: string | null;
1721
- created_at: Date | null;
1722
- created_by: string | null;
1723
- updated_at: Date | null;
1724
- updated_by: string | null;
1725
- logic_code: string | null;
1726
- utc_offset: Decimal | null;
1727
- } | undefined;
1728
- log: {
1729
- id: number;
1730
- url: string | null;
1731
- id_log_type: number | null;
1732
- action: string | null;
1733
- params: JsonValue | null;
1734
- action_by: string | null;
1735
- action_id: string | null;
1736
- action_at: Date | null;
1737
- id_time_zone: number | null;
1738
- } | undefined;
1739
- };
1740
- meta: object;
1741
- }>;
1742
- update: import("@trpc/server").TRPCMutationProcedure<{
1743
- input: {
1744
- id?: number | null | undefined;
1745
- id_string?: string | null | undefined;
1746
- is_active?: boolean | undefined;
1747
- code?: string | null | undefined;
1748
- name?: string | null | undefined;
1749
- utc_offset?: string | null | undefined;
1750
- };
1751
- output: {
1752
- data: {
1753
- id: number;
1754
- name: string | null;
1755
- is_active: boolean | null;
1756
- code: string | null;
1757
- created_at: Date | null;
1758
- created_by: string | null;
1759
- updated_at: Date | null;
1760
- updated_by: string | null;
1761
- logic_code: string | null;
1762
- utc_offset: Decimal | null;
1763
- } | undefined;
1764
- log: {
1765
- id: number;
1766
- url: string | null;
1767
- id_log_type: number | null;
1768
- action: string | null;
1769
- params: JsonValue | null;
1770
- action_by: string | null;
1771
- action_id: string | null;
1772
- action_at: Date | null;
1773
- id_time_zone: number | null;
1774
- } | undefined;
1775
- };
1776
- meta: object;
1777
- }>;
1778
- delete: import("@trpc/server").TRPCMutationProcedure<{
1779
- input: {
1780
- id?: number | null | undefined;
1781
- ids?: number[] | null | undefined;
1782
- id_string?: string | null | undefined;
1783
- ids_string?: string[] | null | undefined;
1784
- };
1785
- output: {
1786
- data: ({
1787
- id: number;
1788
- name: string | null;
1789
- is_active: boolean | null;
1790
- code: string | null;
1791
- created_at: Date | null;
1792
- created_by: string | null;
1793
- updated_at: Date | null;
1794
- updated_by: string | null;
1795
- logic_code: string | null;
1796
- utc_offset: Decimal | null;
1797
- } | undefined)[];
1798
- };
1799
- meta: object;
1800
- }>;
1801
2083
  }>>;
1802
2084
  }>>;
1803
2085
  }>>;