@admc-go-th/admc-library 1.0.130 → 1.0.133

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 (84) hide show
  1. package/{appQueue-QJ9ECucz.d.ts → appQueue-HW5J6Gb9.d.ts} +6 -2
  2. package/{authAssignment-BAUCoEP6.d.ts → authAssignment-De3034JH.d.ts} +16 -0
  3. package/databases/schema/appQueue.ts +24 -8
  4. package/databases/schema/appScore.ts +8 -0
  5. package/databases/schema/formFaq.ts +126 -126
  6. package/databases/schema/index.ts +8 -5
  7. package/databases/schema/informationIndex.ts +211 -211
  8. package/databases/schema/informationIndexGroup.ts +103 -103
  9. package/databases/schema/mdDownloadBk.ts +136 -136
  10. package/databases/schema/msConsultCase.ts +0 -8
  11. package/databases/schema/msConsultSiteCase.ts +91 -0
  12. package/databases/schema/msConsultSiteIssue.ts +84 -0
  13. package/databases/schema/msExecutive.ts +0 -5
  14. package/databases/schema/msExecutiveActing.ts +75 -0
  15. package/databases/schema/msExecutiveBoard.ts +82 -82
  16. package/databases/schema/msExecutiveBoardBk.ts +83 -0
  17. package/databases/schema/msExecutivePosition.ts +117 -117
  18. package/databases/schema/msExecutivePositionBk.ts +112 -0
  19. package/databases/schema/msGuidelines.ts +88 -88
  20. package/databases/schema/msOrganization.ts +139 -0
  21. package/databases/schema/msPosition.ts +76 -0
  22. package/databases/schema/msQueueTourFaq.ts +90 -0
  23. package/databases/schema/msQueueTourGuidelines.ts +90 -0
  24. package/databases/schema/setting.ts +73 -73
  25. package/databases/schema/userPermissionV.ts +78 -0
  26. package/databases/schema/users.ts +62 -0
  27. package/databases/tables/appQueue.d.ts +1 -1
  28. package/databases/tables/appQueue.js +21 -7
  29. package/databases/tables/appScore.d.ts +2 -0
  30. package/databases/tables/appScore.js +7 -0
  31. package/databases/tables/authAssignment.d.ts +1 -1
  32. package/databases/tables/authAssignment.js +54 -0
  33. package/databases/tables/authRole.d.ts +1 -1
  34. package/databases/tables/authRole.js +54 -0
  35. package/databases/tables/authRoleChild.d.ts +1 -1
  36. package/databases/tables/authRoleChild.js +54 -0
  37. package/databases/tables/index.d.ts +11 -7
  38. package/databases/tables/index.js +942 -690
  39. package/databases/tables/mdContent.d.ts +1 -1
  40. package/databases/tables/mdContent.js +54 -0
  41. package/databases/tables/mdContentGroup.d.ts +1 -1
  42. package/databases/tables/mdContentGroup.js +54 -0
  43. package/databases/tables/mdQuestionnaire.d.ts +1 -1
  44. package/databases/tables/mdQuestionnaire.js +54 -0
  45. package/databases/tables/mdQuestionnaireData.d.ts +1 -1
  46. package/databases/tables/mdQuestionnaireData.js +54 -0
  47. package/databases/tables/msConsultCase.d.ts +0 -2
  48. package/databases/tables/msConsultCase.js +0 -7
  49. package/databases/tables/msConsultChannels.d.ts +1 -1
  50. package/databases/tables/msConsultChannels.js +21 -7
  51. package/databases/tables/msConsultSiteCase.d.ts +28 -0
  52. package/databases/tables/msConsultSiteCase.js +113 -0
  53. package/databases/tables/msConsultSiteIssue.d.ts +26 -0
  54. package/databases/tables/msConsultSiteIssue.js +107 -0
  55. package/databases/tables/msExecutive.d.ts +1 -1
  56. package/databases/tables/msExecutive.js +47 -152
  57. package/databases/tables/msExecutiveActing.d.ts +24 -0
  58. package/databases/tables/msExecutiveActing.js +99 -0
  59. package/databases/tables/msExecutiveBoardBk.d.ts +26 -0
  60. package/databases/tables/msExecutiveBoardBk.js +106 -0
  61. package/databases/tables/msExecutiveGroup.d.ts +1 -1
  62. package/databases/tables/msExecutiveGroup.js +77 -184
  63. package/databases/tables/msExecutivePosition.d.ts +36 -2
  64. package/databases/tables/msExecutivePosition.js +0 -4
  65. package/databases/tables/msExecutivePositionBk.d.ts +34 -0
  66. package/databases/tables/msExecutivePositionBk.js +131 -0
  67. package/databases/tables/msOrganization.d.ts +40 -0
  68. package/databases/tables/msOrganization.js +155 -0
  69. package/databases/tables/msPosition.d.ts +24 -0
  70. package/databases/tables/msPosition.js +100 -0
  71. package/databases/tables/msQueueTourFaq.d.ts +28 -0
  72. package/databases/tables/msQueueTourFaq.js +112 -0
  73. package/databases/tables/msQueueTourGuidelines.d.ts +28 -0
  74. package/databases/tables/msQueueTourGuidelines.js +112 -0
  75. package/databases/tables/msWebsite.d.ts +1 -1
  76. package/databases/tables/msWebsite.js +21 -7
  77. package/databases/tables/userPermissionV.d.ts +26 -0
  78. package/databases/tables/userPermissionV.js +101 -0
  79. package/databases/tables/users.d.ts +1 -1
  80. package/databases/tables/users.js +54 -0
  81. package/databases/tables/usersVerify.d.ts +1 -1
  82. package/databases/tables/usersVerify.js +54 -0
  83. package/{msExecutive-BFeU4P0-.d.ts → msExecutive-Yxx8Wpkj.d.ts} +1 -34
  84. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { g as mdContent, m as mdContentAttributes } from '../../authAssignment-BAUCoEP6.js';
2
+ export { g as mdContent, m as mdContentAttributes } from '../../authAssignment-De3034JH.js';
@@ -617,6 +617,13 @@ __decorateClass([
617
617
  type: import_sequelize_typescript7.DataType.STRING(10)
618
618
  })
619
619
  ], users.prototype, "prefix", 2);
620
+ __decorateClass([
621
+ (0, import_sequelize_typescript7.Column)({
622
+ field: "prefix_id",
623
+ allowNull: true,
624
+ type: import_sequelize_typescript7.DataType.INTEGER
625
+ })
626
+ ], users.prototype, "prefixId", 2);
620
627
  __decorateClass([
621
628
  (0, import_sequelize_typescript7.Column)({
622
629
  field: "first_name",
@@ -631,12 +638,59 @@ __decorateClass([
631
638
  type: import_sequelize_typescript7.DataType.STRING(100)
632
639
  })
633
640
  ], users.prototype, "lastName", 2);
641
+ __decorateClass([
642
+ (0, import_sequelize_typescript7.Column)({
643
+ field: "first_name_en",
644
+ allowNull: true,
645
+ type: import_sequelize_typescript7.DataType.STRING(100)
646
+ })
647
+ ], users.prototype, "firstNameEn", 2);
648
+ __decorateClass([
649
+ (0, import_sequelize_typescript7.Column)({
650
+ field: "last_name_en",
651
+ allowNull: true,
652
+ type: import_sequelize_typescript7.DataType.STRING(100)
653
+ })
654
+ ], users.prototype, "lastNameEn", 2);
634
655
  __decorateClass([
635
656
  (0, import_sequelize_typescript7.Column)({
636
657
  allowNull: true,
637
658
  type: import_sequelize_typescript7.DataType.STRING(20)
638
659
  })
639
660
  ], users.prototype, "phone", 2);
661
+ __decorateClass([
662
+ (0, import_sequelize_typescript7.Column)({
663
+ field: "organization_id",
664
+ allowNull: true,
665
+ type: import_sequelize_typescript7.DataType.INTEGER
666
+ })
667
+ ], users.prototype, "organizationId", 2);
668
+ __decorateClass([
669
+ (0, import_sequelize_typescript7.Column)({
670
+ allowNull: true,
671
+ type: import_sequelize_typescript7.DataType.STRING(255)
672
+ })
673
+ ], users.prototype, "occupation", 2);
674
+ __decorateClass([
675
+ (0, import_sequelize_typescript7.Column)({
676
+ allowNull: true,
677
+ type: import_sequelize_typescript7.DataType.STRING(255)
678
+ })
679
+ ], users.prototype, "position", 2);
680
+ __decorateClass([
681
+ (0, import_sequelize_typescript7.Column)({
682
+ field: "position_id",
683
+ allowNull: true,
684
+ type: import_sequelize_typescript7.DataType.INTEGER
685
+ })
686
+ ], users.prototype, "positionId", 2);
687
+ __decorateClass([
688
+ (0, import_sequelize_typescript7.Column)({
689
+ field: "gender_code",
690
+ allowNull: true,
691
+ type: import_sequelize_typescript7.DataType.STRING(1)
692
+ })
693
+ ], users.prototype, "genderCode", 2);
640
694
  __decorateClass([
641
695
  (0, import_sequelize_typescript7.Column)({
642
696
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { i as mdContentGroup, h as mdContentGroupAttributes } from '../../authAssignment-BAUCoEP6.js';
2
+ export { i as mdContentGroup, h as mdContentGroupAttributes } from '../../authAssignment-De3034JH.js';
@@ -620,6 +620,13 @@ __decorateClass([
620
620
  type: import_sequelize_typescript7.DataType.STRING(10)
621
621
  })
622
622
  ], users.prototype, "prefix", 2);
623
+ __decorateClass([
624
+ (0, import_sequelize_typescript7.Column)({
625
+ field: "prefix_id",
626
+ allowNull: true,
627
+ type: import_sequelize_typescript7.DataType.INTEGER
628
+ })
629
+ ], users.prototype, "prefixId", 2);
623
630
  __decorateClass([
624
631
  (0, import_sequelize_typescript7.Column)({
625
632
  field: "first_name",
@@ -634,12 +641,59 @@ __decorateClass([
634
641
  type: import_sequelize_typescript7.DataType.STRING(100)
635
642
  })
636
643
  ], users.prototype, "lastName", 2);
644
+ __decorateClass([
645
+ (0, import_sequelize_typescript7.Column)({
646
+ field: "first_name_en",
647
+ allowNull: true,
648
+ type: import_sequelize_typescript7.DataType.STRING(100)
649
+ })
650
+ ], users.prototype, "firstNameEn", 2);
651
+ __decorateClass([
652
+ (0, import_sequelize_typescript7.Column)({
653
+ field: "last_name_en",
654
+ allowNull: true,
655
+ type: import_sequelize_typescript7.DataType.STRING(100)
656
+ })
657
+ ], users.prototype, "lastNameEn", 2);
637
658
  __decorateClass([
638
659
  (0, import_sequelize_typescript7.Column)({
639
660
  allowNull: true,
640
661
  type: import_sequelize_typescript7.DataType.STRING(20)
641
662
  })
642
663
  ], users.prototype, "phone", 2);
664
+ __decorateClass([
665
+ (0, import_sequelize_typescript7.Column)({
666
+ field: "organization_id",
667
+ allowNull: true,
668
+ type: import_sequelize_typescript7.DataType.INTEGER
669
+ })
670
+ ], users.prototype, "organizationId", 2);
671
+ __decorateClass([
672
+ (0, import_sequelize_typescript7.Column)({
673
+ allowNull: true,
674
+ type: import_sequelize_typescript7.DataType.STRING(255)
675
+ })
676
+ ], users.prototype, "occupation", 2);
677
+ __decorateClass([
678
+ (0, import_sequelize_typescript7.Column)({
679
+ allowNull: true,
680
+ type: import_sequelize_typescript7.DataType.STRING(255)
681
+ })
682
+ ], users.prototype, "position", 2);
683
+ __decorateClass([
684
+ (0, import_sequelize_typescript7.Column)({
685
+ field: "position_id",
686
+ allowNull: true,
687
+ type: import_sequelize_typescript7.DataType.INTEGER
688
+ })
689
+ ], users.prototype, "positionId", 2);
690
+ __decorateClass([
691
+ (0, import_sequelize_typescript7.Column)({
692
+ field: "gender_code",
693
+ allowNull: true,
694
+ type: import_sequelize_typescript7.DataType.STRING(1)
695
+ })
696
+ ], users.prototype, "genderCode", 2);
643
697
  __decorateClass([
644
698
  (0, import_sequelize_typescript7.Column)({
645
699
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { k as mdQuestionnaire, j as mdQuestionnaireAttributes } from '../../authAssignment-BAUCoEP6.js';
2
+ export { k as mdQuestionnaire, j as mdQuestionnaireAttributes } from '../../authAssignment-De3034JH.js';
@@ -659,6 +659,13 @@ __decorateClass([
659
659
  type: import_sequelize_typescript7.DataType.STRING(10)
660
660
  })
661
661
  ], users.prototype, "prefix", 2);
662
+ __decorateClass([
663
+ (0, import_sequelize_typescript7.Column)({
664
+ field: "prefix_id",
665
+ allowNull: true,
666
+ type: import_sequelize_typescript7.DataType.INTEGER
667
+ })
668
+ ], users.prototype, "prefixId", 2);
662
669
  __decorateClass([
663
670
  (0, import_sequelize_typescript7.Column)({
664
671
  field: "first_name",
@@ -673,12 +680,59 @@ __decorateClass([
673
680
  type: import_sequelize_typescript7.DataType.STRING(100)
674
681
  })
675
682
  ], users.prototype, "lastName", 2);
683
+ __decorateClass([
684
+ (0, import_sequelize_typescript7.Column)({
685
+ field: "first_name_en",
686
+ allowNull: true,
687
+ type: import_sequelize_typescript7.DataType.STRING(100)
688
+ })
689
+ ], users.prototype, "firstNameEn", 2);
690
+ __decorateClass([
691
+ (0, import_sequelize_typescript7.Column)({
692
+ field: "last_name_en",
693
+ allowNull: true,
694
+ type: import_sequelize_typescript7.DataType.STRING(100)
695
+ })
696
+ ], users.prototype, "lastNameEn", 2);
676
697
  __decorateClass([
677
698
  (0, import_sequelize_typescript7.Column)({
678
699
  allowNull: true,
679
700
  type: import_sequelize_typescript7.DataType.STRING(20)
680
701
  })
681
702
  ], users.prototype, "phone", 2);
703
+ __decorateClass([
704
+ (0, import_sequelize_typescript7.Column)({
705
+ field: "organization_id",
706
+ allowNull: true,
707
+ type: import_sequelize_typescript7.DataType.INTEGER
708
+ })
709
+ ], users.prototype, "organizationId", 2);
710
+ __decorateClass([
711
+ (0, import_sequelize_typescript7.Column)({
712
+ allowNull: true,
713
+ type: import_sequelize_typescript7.DataType.STRING(255)
714
+ })
715
+ ], users.prototype, "occupation", 2);
716
+ __decorateClass([
717
+ (0, import_sequelize_typescript7.Column)({
718
+ allowNull: true,
719
+ type: import_sequelize_typescript7.DataType.STRING(255)
720
+ })
721
+ ], users.prototype, "position", 2);
722
+ __decorateClass([
723
+ (0, import_sequelize_typescript7.Column)({
724
+ field: "position_id",
725
+ allowNull: true,
726
+ type: import_sequelize_typescript7.DataType.INTEGER
727
+ })
728
+ ], users.prototype, "positionId", 2);
729
+ __decorateClass([
730
+ (0, import_sequelize_typescript7.Column)({
731
+ field: "gender_code",
732
+ allowNull: true,
733
+ type: import_sequelize_typescript7.DataType.STRING(1)
734
+ })
735
+ ], users.prototype, "genderCode", 2);
682
736
  __decorateClass([
683
737
  (0, import_sequelize_typescript7.Column)({
684
738
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { n as mdQuestionnaireData, l as mdQuestionnaireDataAttributes } from '../../authAssignment-BAUCoEP6.js';
2
+ export { n as mdQuestionnaireData, l as mdQuestionnaireDataAttributes } from '../../authAssignment-De3034JH.js';
@@ -662,6 +662,13 @@ __decorateClass([
662
662
  type: import_sequelize_typescript7.DataType.STRING(10)
663
663
  })
664
664
  ], users.prototype, "prefix", 2);
665
+ __decorateClass([
666
+ (0, import_sequelize_typescript7.Column)({
667
+ field: "prefix_id",
668
+ allowNull: true,
669
+ type: import_sequelize_typescript7.DataType.INTEGER
670
+ })
671
+ ], users.prototype, "prefixId", 2);
665
672
  __decorateClass([
666
673
  (0, import_sequelize_typescript7.Column)({
667
674
  field: "first_name",
@@ -676,12 +683,59 @@ __decorateClass([
676
683
  type: import_sequelize_typescript7.DataType.STRING(100)
677
684
  })
678
685
  ], users.prototype, "lastName", 2);
686
+ __decorateClass([
687
+ (0, import_sequelize_typescript7.Column)({
688
+ field: "first_name_en",
689
+ allowNull: true,
690
+ type: import_sequelize_typescript7.DataType.STRING(100)
691
+ })
692
+ ], users.prototype, "firstNameEn", 2);
693
+ __decorateClass([
694
+ (0, import_sequelize_typescript7.Column)({
695
+ field: "last_name_en",
696
+ allowNull: true,
697
+ type: import_sequelize_typescript7.DataType.STRING(100)
698
+ })
699
+ ], users.prototype, "lastNameEn", 2);
679
700
  __decorateClass([
680
701
  (0, import_sequelize_typescript7.Column)({
681
702
  allowNull: true,
682
703
  type: import_sequelize_typescript7.DataType.STRING(20)
683
704
  })
684
705
  ], users.prototype, "phone", 2);
706
+ __decorateClass([
707
+ (0, import_sequelize_typescript7.Column)({
708
+ field: "organization_id",
709
+ allowNull: true,
710
+ type: import_sequelize_typescript7.DataType.INTEGER
711
+ })
712
+ ], users.prototype, "organizationId", 2);
713
+ __decorateClass([
714
+ (0, import_sequelize_typescript7.Column)({
715
+ allowNull: true,
716
+ type: import_sequelize_typescript7.DataType.STRING(255)
717
+ })
718
+ ], users.prototype, "occupation", 2);
719
+ __decorateClass([
720
+ (0, import_sequelize_typescript7.Column)({
721
+ allowNull: true,
722
+ type: import_sequelize_typescript7.DataType.STRING(255)
723
+ })
724
+ ], users.prototype, "position", 2);
725
+ __decorateClass([
726
+ (0, import_sequelize_typescript7.Column)({
727
+ field: "position_id",
728
+ allowNull: true,
729
+ type: import_sequelize_typescript7.DataType.INTEGER
730
+ })
731
+ ], users.prototype, "positionId", 2);
732
+ __decorateClass([
733
+ (0, import_sequelize_typescript7.Column)({
734
+ field: "gender_code",
735
+ allowNull: true,
736
+ type: import_sequelize_typescript7.DataType.STRING(1)
737
+ })
738
+ ], users.prototype, "genderCode", 2);
685
739
  __decorateClass([
686
740
  (0, import_sequelize_typescript7.Column)({
687
741
  allowNull: true,
@@ -2,7 +2,6 @@ import { Model } from 'sequelize-typescript';
2
2
 
3
3
  interface msConsultCaseAttributes {
4
4
  id?: number;
5
- siteId?: number;
6
5
  name?: string;
7
6
  sort?: number;
8
7
  status?: number;
@@ -13,7 +12,6 @@ interface msConsultCaseAttributes {
13
12
  }
14
13
  declare class msConsultCase extends Model<msConsultCaseAttributes, msConsultCaseAttributes> implements msConsultCaseAttributes {
15
14
  id?: number;
16
- siteId?: number;
17
15
  name?: string;
18
16
  sort?: number;
19
17
  status?: number;
@@ -41,13 +41,6 @@ __decorateClass([
41
41
  type: import_sequelize_typescript.DataType.INTEGER
42
42
  })
43
43
  ], msConsultCase.prototype, "id", 2);
44
- __decorateClass([
45
- (0, import_sequelize_typescript.Column)({
46
- field: "site_id",
47
- allowNull: true,
48
- type: import_sequelize_typescript.DataType.INTEGER
49
- })
50
- ], msConsultCase.prototype, "siteId", 2);
51
44
  __decorateClass([
52
45
  (0, import_sequelize_typescript.Column)({
53
46
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { c as msConsultChannels, m as msConsultChannelsAttributes } from '../../appQueue-QJ9ECucz.js';
2
+ export { c as msConsultChannels, m as msConsultChannelsAttributes } from '../../appQueue-HW5J6Gb9.js';
@@ -366,13 +366,6 @@ __decorateClass([
366
366
  type: import_sequelize_typescript2.DataType.STRING(30)
367
367
  })
368
368
  ], appQueue.prototype, "ipAddress", 2);
369
- __decorateClass([
370
- (0, import_sequelize_typescript2.Column)({
371
- field: "staff_id",
372
- allowNull: true,
373
- type: import_sequelize_typescript2.DataType.INTEGER
374
- })
375
- ], appQueue.prototype, "staffId", 2);
376
369
  __decorateClass([
377
370
  (0, import_sequelize_typescript2.Column)({
378
371
  allowNull: true,
@@ -407,6 +400,27 @@ __decorateClass([
407
400
  type: import_sequelize_typescript2.DataType.INTEGER
408
401
  })
409
402
  ], appQueue.prototype, "caseJurisdiction", 2);
403
+ __decorateClass([
404
+ (0, import_sequelize_typescript2.Column)({
405
+ field: "staff_id",
406
+ allowNull: true,
407
+ type: import_sequelize_typescript2.DataType.INTEGER
408
+ })
409
+ ], appQueue.prototype, "staffId", 2);
410
+ __decorateClass([
411
+ (0, import_sequelize_typescript2.Column)({
412
+ field: "staff_channel_id",
413
+ allowNull: true,
414
+ type: import_sequelize_typescript2.DataType.INTEGER
415
+ })
416
+ ], appQueue.prototype, "staffChannelId", 2);
417
+ __decorateClass([
418
+ (0, import_sequelize_typescript2.Column)({
419
+ field: "staff_channel",
420
+ allowNull: true,
421
+ type: import_sequelize_typescript2.DataType.JSON
422
+ })
423
+ ], appQueue.prototype, "staffChannel", 2);
410
424
  __decorateClass([
411
425
  (0, import_sequelize_typescript2.Column)({
412
426
  field: "staff_issues",
@@ -0,0 +1,28 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface msConsultSiteCaseAttributes {
4
+ id?: number;
5
+ siteId?: number;
6
+ caseId?: number;
7
+ name?: string;
8
+ detail?: string;
9
+ status?: number;
10
+ createdBy?: string;
11
+ createdDate?: Date;
12
+ updatedBy?: string;
13
+ updatedDate?: Date;
14
+ }
15
+ declare class msConsultSiteCase extends Model<msConsultSiteCaseAttributes, msConsultSiteCaseAttributes> implements msConsultSiteCaseAttributes {
16
+ id?: number;
17
+ siteId?: number;
18
+ caseId?: number;
19
+ name?: string;
20
+ detail?: string;
21
+ status?: number;
22
+ createdBy?: string;
23
+ createdDate?: Date;
24
+ updatedBy?: string;
25
+ updatedDate?: Date;
26
+ }
27
+
28
+ export { msConsultSiteCase, type msConsultSiteCaseAttributes };
@@ -0,0 +1,113 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var __decorateClass = (decorators, target, key, kind) => {
20
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
21
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
22
+ if (decorator = decorators[i])
23
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
24
+ if (kind && result) __defProp(target, key, result);
25
+ return result;
26
+ };
27
+
28
+ // src/databases/tables/msConsultSiteCase.ts
29
+ var msConsultSiteCase_exports = {};
30
+ __export(msConsultSiteCase_exports, {
31
+ msConsultSiteCase: () => msConsultSiteCase
32
+ });
33
+ module.exports = __toCommonJS(msConsultSiteCase_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var msConsultSiteCase = class extends import_sequelize_typescript.Model {
36
+ };
37
+ __decorateClass([
38
+ (0, import_sequelize_typescript.Column)({
39
+ primaryKey: true,
40
+ autoIncrement: true,
41
+ type: import_sequelize_typescript.DataType.INTEGER
42
+ })
43
+ ], msConsultSiteCase.prototype, "id", 2);
44
+ __decorateClass([
45
+ (0, import_sequelize_typescript.Column)({
46
+ field: "site_id",
47
+ allowNull: true,
48
+ type: import_sequelize_typescript.DataType.INTEGER
49
+ })
50
+ ], msConsultSiteCase.prototype, "siteId", 2);
51
+ __decorateClass([
52
+ (0, import_sequelize_typescript.Column)({
53
+ field: "case_id",
54
+ allowNull: true,
55
+ type: import_sequelize_typescript.DataType.INTEGER
56
+ })
57
+ ], msConsultSiteCase.prototype, "caseId", 2);
58
+ __decorateClass([
59
+ (0, import_sequelize_typescript.Column)({
60
+ allowNull: true,
61
+ type: import_sequelize_typescript.DataType.STRING(255)
62
+ })
63
+ ], msConsultSiteCase.prototype, "name", 2);
64
+ __decorateClass([
65
+ (0, import_sequelize_typescript.Column)({
66
+ allowNull: true,
67
+ type: import_sequelize_typescript.DataType.STRING
68
+ })
69
+ ], msConsultSiteCase.prototype, "detail", 2);
70
+ __decorateClass([
71
+ (0, import_sequelize_typescript.Column)({
72
+ allowNull: true,
73
+ type: import_sequelize_typescript.DataType.INTEGER
74
+ })
75
+ ], msConsultSiteCase.prototype, "status", 2);
76
+ __decorateClass([
77
+ (0, import_sequelize_typescript.Column)({
78
+ field: "created_by",
79
+ allowNull: true,
80
+ type: import_sequelize_typescript.DataType.STRING(60)
81
+ })
82
+ ], msConsultSiteCase.prototype, "createdBy", 2);
83
+ __decorateClass([
84
+ (0, import_sequelize_typescript.Column)({
85
+ field: "created_date",
86
+ allowNull: true,
87
+ type: import_sequelize_typescript.DataType.DATE
88
+ })
89
+ ], msConsultSiteCase.prototype, "createdDate", 2);
90
+ __decorateClass([
91
+ (0, import_sequelize_typescript.Column)({
92
+ field: "updated_by",
93
+ allowNull: true,
94
+ type: import_sequelize_typescript.DataType.STRING(60)
95
+ })
96
+ ], msConsultSiteCase.prototype, "updatedBy", 2);
97
+ __decorateClass([
98
+ (0, import_sequelize_typescript.Column)({
99
+ field: "updated_date",
100
+ allowNull: true,
101
+ type: import_sequelize_typescript.DataType.DATE
102
+ })
103
+ ], msConsultSiteCase.prototype, "updatedDate", 2);
104
+ msConsultSiteCase = __decorateClass([
105
+ (0, import_sequelize_typescript.Table)({
106
+ tableName: "ms_consult_site_case",
107
+ timestamps: false
108
+ })
109
+ ], msConsultSiteCase);
110
+ // Annotate the CommonJS export names for ESM import in node:
111
+ 0 && (module.exports = {
112
+ msConsultSiteCase
113
+ });
@@ -0,0 +1,26 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface msConsultSiteIssueAttributes {
4
+ id?: number;
5
+ siteId?: number;
6
+ name?: string;
7
+ detail?: string;
8
+ status?: number;
9
+ createdBy?: string;
10
+ createdDate?: Date;
11
+ updatedBy?: string;
12
+ updatedDate?: Date;
13
+ }
14
+ declare class msConsultSiteIssue extends Model<msConsultSiteIssueAttributes, msConsultSiteIssueAttributes> implements msConsultSiteIssueAttributes {
15
+ id?: number;
16
+ siteId?: number;
17
+ name?: string;
18
+ detail?: string;
19
+ status?: number;
20
+ createdBy?: string;
21
+ createdDate?: Date;
22
+ updatedBy?: string;
23
+ updatedDate?: Date;
24
+ }
25
+
26
+ export { msConsultSiteIssue, type msConsultSiteIssueAttributes };
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var __decorateClass = (decorators, target, key, kind) => {
20
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
21
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
22
+ if (decorator = decorators[i])
23
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
24
+ if (kind && result) __defProp(target, key, result);
25
+ return result;
26
+ };
27
+
28
+ // src/databases/tables/msConsultSiteIssue.ts
29
+ var msConsultSiteIssue_exports = {};
30
+ __export(msConsultSiteIssue_exports, {
31
+ msConsultSiteIssue: () => msConsultSiteIssue
32
+ });
33
+ module.exports = __toCommonJS(msConsultSiteIssue_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var msConsultSiteIssue = class extends import_sequelize_typescript.Model {
36
+ };
37
+ __decorateClass([
38
+ (0, import_sequelize_typescript.Column)({
39
+ primaryKey: true,
40
+ autoIncrement: true,
41
+ type: import_sequelize_typescript.DataType.INTEGER
42
+ })
43
+ ], msConsultSiteIssue.prototype, "id", 2);
44
+ __decorateClass([
45
+ (0, import_sequelize_typescript.Column)({
46
+ field: "site_id",
47
+ allowNull: true,
48
+ type: import_sequelize_typescript.DataType.INTEGER
49
+ })
50
+ ], msConsultSiteIssue.prototype, "siteId", 2);
51
+ __decorateClass([
52
+ (0, import_sequelize_typescript.Column)({
53
+ allowNull: true,
54
+ type: import_sequelize_typescript.DataType.STRING(255)
55
+ })
56
+ ], msConsultSiteIssue.prototype, "name", 2);
57
+ __decorateClass([
58
+ (0, import_sequelize_typescript.Column)({
59
+ allowNull: true,
60
+ type: import_sequelize_typescript.DataType.STRING
61
+ })
62
+ ], msConsultSiteIssue.prototype, "detail", 2);
63
+ __decorateClass([
64
+ (0, import_sequelize_typescript.Column)({
65
+ allowNull: true,
66
+ type: import_sequelize_typescript.DataType.INTEGER,
67
+ defaultValue: "1"
68
+ })
69
+ ], msConsultSiteIssue.prototype, "status", 2);
70
+ __decorateClass([
71
+ (0, import_sequelize_typescript.Column)({
72
+ field: "created_by",
73
+ allowNull: true,
74
+ type: import_sequelize_typescript.DataType.STRING(60)
75
+ })
76
+ ], msConsultSiteIssue.prototype, "createdBy", 2);
77
+ __decorateClass([
78
+ (0, import_sequelize_typescript.Column)({
79
+ field: "created_date",
80
+ allowNull: true,
81
+ type: import_sequelize_typescript.DataType.DATE
82
+ })
83
+ ], msConsultSiteIssue.prototype, "createdDate", 2);
84
+ __decorateClass([
85
+ (0, import_sequelize_typescript.Column)({
86
+ field: "updated_by",
87
+ allowNull: true,
88
+ type: import_sequelize_typescript.DataType.STRING(60)
89
+ })
90
+ ], msConsultSiteIssue.prototype, "updatedBy", 2);
91
+ __decorateClass([
92
+ (0, import_sequelize_typescript.Column)({
93
+ field: "updated_date",
94
+ allowNull: true,
95
+ type: import_sequelize_typescript.DataType.DATE
96
+ })
97
+ ], msConsultSiteIssue.prototype, "updatedDate", 2);
98
+ msConsultSiteIssue = __decorateClass([
99
+ (0, import_sequelize_typescript.Table)({
100
+ tableName: "ms_consult_site_issue",
101
+ timestamps: false
102
+ })
103
+ ], msConsultSiteIssue);
104
+ // Annotate the CommonJS export names for ESM import in node:
105
+ 0 && (module.exports = {
106
+ msConsultSiteIssue
107
+ });
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { a as msExecutive, m as msExecutiveAttributes } from '../../msExecutive-BFeU4P0-.js';
2
+ export { a as msExecutive, m as msExecutiveAttributes } from '../../msExecutive-Yxx8Wpkj.js';