@admc-go-th/admc-library 1.0.129 → 1.0.132

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 (94) hide show
  1. package/appQueue-HW5J6Gb9.d.ts +162 -0
  2. package/{authAssignment-BAUCoEP6.d.ts → authAssignment-De3034JH.d.ts} +16 -0
  3. package/databases/schema/appQueue.ts +93 -3
  4. package/databases/schema/appReportCorruption.ts +1 -1
  5. package/databases/schema/appScore.ts +8 -0
  6. package/databases/schema/files.ts +7 -0
  7. package/databases/schema/formFaq.ts +126 -126
  8. package/databases/schema/index.ts +10 -5
  9. package/databases/schema/informationIndex.ts +211 -211
  10. package/databases/schema/informationIndexGroup.ts +103 -103
  11. package/databases/schema/mdBanner.ts +8 -0
  12. package/databases/schema/mdDownloadBk.ts +136 -136
  13. package/databases/schema/mdEbookGroup.ts +8 -0
  14. package/databases/schema/msConsultCase.ts +0 -8
  15. package/databases/schema/msConsultChannels.ts +14 -1
  16. package/databases/schema/msConsultSiteCase.ts +91 -0
  17. package/databases/schema/msConsultSiteIssue.ts +84 -0
  18. package/databases/schema/msExecutiveActing.ts +75 -0
  19. package/databases/schema/msExecutiveBoard.ts +82 -82
  20. package/databases/schema/msExecutiveBoardBk.ts +83 -0
  21. package/databases/schema/msExecutivePosition.ts +117 -117
  22. package/databases/schema/msExecutivePositionBk.ts +112 -0
  23. package/databases/schema/msGuidelines.ts +88 -88
  24. package/databases/schema/msOrganization.ts +139 -0
  25. package/databases/schema/msPosition.ts +76 -0
  26. package/databases/schema/msQueueTourFaq.ts +90 -0
  27. package/databases/schema/msQueueTourGuidelines.ts +90 -0
  28. package/databases/schema/msWebsite.ts +7 -1
  29. package/databases/schema/setting.ts +73 -73
  30. package/databases/schema/userPermissionV.ts +78 -0
  31. package/databases/schema/users.ts +62 -0
  32. package/databases/tables/appQueue.d.ts +2 -62
  33. package/databases/tables/appQueue.js +380 -54
  34. package/databases/tables/appReportCorruption.js +1 -1
  35. package/databases/tables/appReportCorruptionTransaction.js +1 -1
  36. package/databases/tables/appScore.d.ts +2 -0
  37. package/databases/tables/appScore.js +7 -0
  38. package/databases/tables/authAssignment.d.ts +1 -1
  39. package/databases/tables/authAssignment.js +54 -0
  40. package/databases/tables/authRole.d.ts +1 -1
  41. package/databases/tables/authRole.js +54 -0
  42. package/databases/tables/authRoleChild.d.ts +1 -1
  43. package/databases/tables/authRoleChild.js +54 -0
  44. package/databases/tables/files.d.ts +1 -1
  45. package/databases/tables/files.js +13 -0
  46. package/databases/tables/index.d.ts +15 -11
  47. package/databases/tables/index.js +4440 -3810
  48. package/databases/tables/mdBanner.d.ts +1 -1
  49. package/databases/tables/mdBanner.js +13 -0
  50. package/databases/tables/mdContent.d.ts +1 -1
  51. package/databases/tables/mdContent.js +54 -0
  52. package/databases/tables/mdContentGroup.d.ts +1 -1
  53. package/databases/tables/mdContentGroup.js +54 -0
  54. package/databases/tables/mdEbook.d.ts +1 -1
  55. package/databases/tables/mdEbook.js +7 -0
  56. package/databases/tables/mdEbookGroup.d.ts +1 -1
  57. package/databases/tables/mdEbookGroup.js +7 -0
  58. package/databases/tables/mdQuestionnaire.d.ts +1 -1
  59. package/databases/tables/mdQuestionnaire.js +54 -0
  60. package/databases/tables/mdQuestionnaireData.d.ts +1 -1
  61. package/databases/tables/mdQuestionnaireData.js +54 -0
  62. package/databases/tables/msConsultCase.d.ts +0 -2
  63. package/databases/tables/msConsultCase.js +0 -7
  64. package/databases/tables/msConsultChannels.d.ts +2 -24
  65. package/databases/tables/msConsultChannels.js +469 -13
  66. package/databases/tables/msConsultSiteCase.d.ts +28 -0
  67. package/databases/tables/msConsultSiteCase.js +113 -0
  68. package/databases/tables/msConsultSiteIssue.d.ts +26 -0
  69. package/databases/tables/msConsultSiteIssue.js +107 -0
  70. package/databases/tables/msExecutiveActing.d.ts +24 -0
  71. package/databases/tables/msExecutiveActing.js +99 -0
  72. package/databases/tables/msExecutiveBoardBk.d.ts +26 -0
  73. package/databases/tables/msExecutiveBoardBk.js +106 -0
  74. package/databases/tables/msExecutivePositionBk.d.ts +34 -0
  75. package/databases/tables/msExecutivePositionBk.js +131 -0
  76. package/databases/tables/msOrganization.d.ts +40 -0
  77. package/databases/tables/msOrganization.js +155 -0
  78. package/databases/tables/msPosition.d.ts +24 -0
  79. package/databases/tables/msPosition.js +100 -0
  80. package/databases/tables/msQueueTourFaq.d.ts +28 -0
  81. package/databases/tables/msQueueTourFaq.js +112 -0
  82. package/databases/tables/msQueueTourGuidelines.d.ts +28 -0
  83. package/databases/tables/msQueueTourGuidelines.js +112 -0
  84. package/databases/tables/msWebsite.d.ts +2 -56
  85. package/databases/tables/msWebsite.js +400 -46
  86. package/databases/tables/userPermissionV.d.ts +26 -0
  87. package/databases/tables/userPermissionV.js +101 -0
  88. package/databases/tables/users.d.ts +1 -1
  89. package/databases/tables/users.js +54 -0
  90. package/databases/tables/usersVerify.d.ts +1 -1
  91. package/databases/tables/usersVerify.js +54 -0
  92. package/{files-Dp2zDQAj.d.ts → files-CXIMD4Bk.d.ts} +4 -0
  93. package/{mdEbook-yzNQjFhx.d.ts → mdEbook-DVvRlFVe.d.ts} +2 -0
  94. package/package.json +1 -1
@@ -886,6 +886,13 @@ __decorateClass([
886
886
  type: import_sequelize_typescript9.DataType.STRING(10)
887
887
  })
888
888
  ], users.prototype, "prefix", 2);
889
+ __decorateClass([
890
+ (0, import_sequelize_typescript9.Column)({
891
+ field: "prefix_id",
892
+ allowNull: true,
893
+ type: import_sequelize_typescript9.DataType.INTEGER
894
+ })
895
+ ], users.prototype, "prefixId", 2);
889
896
  __decorateClass([
890
897
  (0, import_sequelize_typescript9.Column)({
891
898
  field: "first_name",
@@ -900,12 +907,59 @@ __decorateClass([
900
907
  type: import_sequelize_typescript9.DataType.STRING(100)
901
908
  })
902
909
  ], users.prototype, "lastName", 2);
910
+ __decorateClass([
911
+ (0, import_sequelize_typescript9.Column)({
912
+ field: "first_name_en",
913
+ allowNull: true,
914
+ type: import_sequelize_typescript9.DataType.STRING(100)
915
+ })
916
+ ], users.prototype, "firstNameEn", 2);
917
+ __decorateClass([
918
+ (0, import_sequelize_typescript9.Column)({
919
+ field: "last_name_en",
920
+ allowNull: true,
921
+ type: import_sequelize_typescript9.DataType.STRING(100)
922
+ })
923
+ ], users.prototype, "lastNameEn", 2);
903
924
  __decorateClass([
904
925
  (0, import_sequelize_typescript9.Column)({
905
926
  allowNull: true,
906
927
  type: import_sequelize_typescript9.DataType.STRING(20)
907
928
  })
908
929
  ], users.prototype, "phone", 2);
930
+ __decorateClass([
931
+ (0, import_sequelize_typescript9.Column)({
932
+ field: "organization_id",
933
+ allowNull: true,
934
+ type: import_sequelize_typescript9.DataType.INTEGER
935
+ })
936
+ ], users.prototype, "organizationId", 2);
937
+ __decorateClass([
938
+ (0, import_sequelize_typescript9.Column)({
939
+ allowNull: true,
940
+ type: import_sequelize_typescript9.DataType.STRING(255)
941
+ })
942
+ ], users.prototype, "occupation", 2);
943
+ __decorateClass([
944
+ (0, import_sequelize_typescript9.Column)({
945
+ allowNull: true,
946
+ type: import_sequelize_typescript9.DataType.STRING(255)
947
+ })
948
+ ], users.prototype, "position", 2);
949
+ __decorateClass([
950
+ (0, import_sequelize_typescript9.Column)({
951
+ field: "position_id",
952
+ allowNull: true,
953
+ type: import_sequelize_typescript9.DataType.INTEGER
954
+ })
955
+ ], users.prototype, "positionId", 2);
956
+ __decorateClass([
957
+ (0, import_sequelize_typescript9.Column)({
958
+ field: "gender_code",
959
+ allowNull: true,
960
+ type: import_sequelize_typescript9.DataType.STRING(1)
961
+ })
962
+ ], users.prototype, "genderCode", 2);
909
963
  __decorateClass([
910
964
  (0, import_sequelize_typescript9.Column)({
911
965
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { q as usersVerify, p as usersVerifyAttributes } from '../../authAssignment-BAUCoEP6.js';
2
+ export { q as usersVerify, p as usersVerifyAttributes } from '../../authAssignment-De3034JH.js';
@@ -825,6 +825,13 @@ __decorateClass([
825
825
  type: import_sequelize_typescript8.DataType.STRING(10)
826
826
  })
827
827
  ], users.prototype, "prefix", 2);
828
+ __decorateClass([
829
+ (0, import_sequelize_typescript8.Column)({
830
+ field: "prefix_id",
831
+ allowNull: true,
832
+ type: import_sequelize_typescript8.DataType.INTEGER
833
+ })
834
+ ], users.prototype, "prefixId", 2);
828
835
  __decorateClass([
829
836
  (0, import_sequelize_typescript8.Column)({
830
837
  field: "first_name",
@@ -839,12 +846,59 @@ __decorateClass([
839
846
  type: import_sequelize_typescript8.DataType.STRING(100)
840
847
  })
841
848
  ], users.prototype, "lastName", 2);
849
+ __decorateClass([
850
+ (0, import_sequelize_typescript8.Column)({
851
+ field: "first_name_en",
852
+ allowNull: true,
853
+ type: import_sequelize_typescript8.DataType.STRING(100)
854
+ })
855
+ ], users.prototype, "firstNameEn", 2);
856
+ __decorateClass([
857
+ (0, import_sequelize_typescript8.Column)({
858
+ field: "last_name_en",
859
+ allowNull: true,
860
+ type: import_sequelize_typescript8.DataType.STRING(100)
861
+ })
862
+ ], users.prototype, "lastNameEn", 2);
842
863
  __decorateClass([
843
864
  (0, import_sequelize_typescript8.Column)({
844
865
  allowNull: true,
845
866
  type: import_sequelize_typescript8.DataType.STRING(20)
846
867
  })
847
868
  ], users.prototype, "phone", 2);
869
+ __decorateClass([
870
+ (0, import_sequelize_typescript8.Column)({
871
+ field: "organization_id",
872
+ allowNull: true,
873
+ type: import_sequelize_typescript8.DataType.INTEGER
874
+ })
875
+ ], users.prototype, "organizationId", 2);
876
+ __decorateClass([
877
+ (0, import_sequelize_typescript8.Column)({
878
+ allowNull: true,
879
+ type: import_sequelize_typescript8.DataType.STRING(255)
880
+ })
881
+ ], users.prototype, "occupation", 2);
882
+ __decorateClass([
883
+ (0, import_sequelize_typescript8.Column)({
884
+ allowNull: true,
885
+ type: import_sequelize_typescript8.DataType.STRING(255)
886
+ })
887
+ ], users.prototype, "position", 2);
888
+ __decorateClass([
889
+ (0, import_sequelize_typescript8.Column)({
890
+ field: "position_id",
891
+ allowNull: true,
892
+ type: import_sequelize_typescript8.DataType.INTEGER
893
+ })
894
+ ], users.prototype, "positionId", 2);
895
+ __decorateClass([
896
+ (0, import_sequelize_typescript8.Column)({
897
+ field: "gender_code",
898
+ allowNull: true,
899
+ type: import_sequelize_typescript8.DataType.STRING(1)
900
+ })
901
+ ], users.prototype, "genderCode", 2);
848
902
  __decorateClass([
849
903
  (0, import_sequelize_typescript8.Column)({
850
904
  allowNull: true,
@@ -3,6 +3,7 @@ import { Model } from 'sequelize-typescript';
3
3
  interface mdBannerAttributes {
4
4
  id?: number;
5
5
  uuid?: string;
6
+ groupId?: number;
6
7
  keyName?: string;
7
8
  title?: string;
8
9
  description?: string;
@@ -26,6 +27,7 @@ interface mdBannerAttributes {
26
27
  declare class mdBanner extends Model<mdBannerAttributes, mdBannerAttributes> implements mdBannerAttributes {
27
28
  id?: number;
28
29
  uuid?: string;
30
+ groupId?: number;
29
31
  keyName?: string;
30
32
  title?: string;
31
33
  description?: string;
@@ -66,6 +68,7 @@ interface filesAttributes {
66
68
  updatedBy?: string;
67
69
  updatedDate?: Date;
68
70
  refId?: number;
71
+ sequence?: number;
69
72
  }
70
73
  declare class files extends Model<filesAttributes, filesAttributes> implements filesAttributes {
71
74
  id?: number;
@@ -85,6 +88,7 @@ declare class files extends Model<filesAttributes, filesAttributes> implements f
85
88
  updatedBy?: string;
86
89
  updatedDate?: Date;
87
90
  refId?: number;
91
+ sequence?: number;
88
92
  mdBanner?: mdBanner;
89
93
  }
90
94
 
@@ -5,6 +5,7 @@ interface mdEbookGroupAttributes {
5
5
  uuid?: string;
6
6
  keyName?: string;
7
7
  userId?: number;
8
+ typeId?: number;
8
9
  name: string;
9
10
  description?: string;
10
11
  sort?: number;
@@ -19,6 +20,7 @@ declare class mdEbookGroup extends Model<mdEbookGroupAttributes, mdEbookGroupAtt
19
20
  uuid?: string;
20
21
  keyName?: string;
21
22
  userId?: number;
23
+ typeId?: number;
22
24
  name: string;
23
25
  description?: string;
24
26
  sort?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.129",
3
+ "version": "1.0.132",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",