@temboplus/afloat 0.2.1-beta.8 → 0.2.1

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 (125) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +54 -207
  3. package/dist/index.cjs.js +1 -1
  4. package/dist/index.cjs.js.map +1 -1
  5. package/dist/index.d.ts +5 -4
  6. package/dist/index.d.ts.map +1 -0
  7. package/dist/index.esm.js +1 -1
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/lib/api/base-repository.d.ts +2 -2
  10. package/dist/lib/api/base-repository.d.ts.map +1 -0
  11. package/dist/lib/api/index.d.ts +1 -0
  12. package/dist/lib/api/index.d.ts.map +1 -0
  13. package/dist/lib/error/error.api.d.ts +3 -2
  14. package/dist/lib/error/error.api.d.ts.map +1 -0
  15. package/dist/lib/error/error.permission.d.ts +2 -1
  16. package/dist/lib/error/error.permission.d.ts.map +1 -0
  17. package/dist/lib/error/error.utils.d.ts +1 -0
  18. package/dist/lib/error/error.utils.d.ts.map +1 -0
  19. package/dist/lib/error/index.d.ts +1 -0
  20. package/dist/lib/error/index.d.ts.map +1 -0
  21. package/dist/lib/query/index.d.ts +3 -2
  22. package/dist/lib/query/index.d.ts.map +1 -0
  23. package/dist/lib/query/pagination/pagination.d.ts +1 -0
  24. package/dist/lib/query/pagination/pagination.d.ts.map +1 -0
  25. package/dist/lib/query/pagination/pagination.schemas.d.ts +8 -61
  26. package/dist/lib/query/pagination/pagination.schemas.d.ts.map +1 -0
  27. package/dist/lib/query/query.builder.d.ts +10 -3
  28. package/dist/lib/query/query.builder.d.ts.map +1 -0
  29. package/dist/lib/query/query.types.d.ts +1 -0
  30. package/dist/lib/query/query.types.d.ts.map +1 -0
  31. package/dist/modules/auth/auth.contract.d.ts +10 -69
  32. package/dist/modules/auth/auth.contract.d.ts.map +1 -0
  33. package/dist/modules/auth/auth.dtos.d.ts +8 -67
  34. package/dist/modules/auth/auth.dtos.d.ts.map +1 -0
  35. package/dist/modules/auth/auth.repository.d.ts +1 -0
  36. package/dist/modules/auth/auth.repository.d.ts.map +1 -0
  37. package/dist/modules/auth/company-membership.model.d.ts +7 -86
  38. package/dist/modules/auth/company-membership.model.d.ts.map +1 -0
  39. package/dist/modules/auth/index.d.ts +3 -2
  40. package/dist/modules/auth/index.d.ts.map +1 -0
  41. package/dist/modules/auth/user.model.d.ts +26 -163
  42. package/dist/modules/auth/user.model.d.ts.map +1 -0
  43. package/dist/modules/beneficiary/beneficiary-info.model.d.ts +30 -67
  44. package/dist/modules/beneficiary/beneficiary-info.model.d.ts.map +1 -0
  45. package/dist/modules/beneficiary/beneficiary-input-handler.d.ts +3 -2
  46. package/dist/modules/beneficiary/beneficiary-input-handler.d.ts.map +1 -0
  47. package/dist/modules/beneficiary/beneficiary.api-contract.d.ts +16 -115
  48. package/dist/modules/beneficiary/beneficiary.api-contract.d.ts.map +1 -0
  49. package/dist/modules/beneficiary/beneficiary.dtos.d.ts +6 -34
  50. package/dist/modules/beneficiary/beneficiary.dtos.d.ts.map +1 -0
  51. package/dist/modules/beneficiary/beneficiary.model.d.ts +5 -27
  52. package/dist/modules/beneficiary/beneficiary.model.d.ts.map +1 -0
  53. package/dist/modules/beneficiary/beneficiary.repository.d.ts +2 -1
  54. package/dist/modules/beneficiary/beneficiary.repository.d.ts.map +1 -0
  55. package/dist/modules/beneficiary/index.d.ts +5 -4
  56. package/dist/modules/beneficiary/index.d.ts.map +1 -0
  57. package/dist/modules/login/index.d.ts +1 -0
  58. package/dist/modules/login/index.d.ts.map +1 -0
  59. package/dist/modules/login/login.api-contract.d.ts +3 -28
  60. package/dist/modules/login/login.api-contract.d.ts.map +1 -0
  61. package/dist/modules/login/login.dtos.d.ts +5 -56
  62. package/dist/modules/login/login.dtos.d.ts.map +1 -0
  63. package/dist/modules/login/login.model.d.ts +7 -34
  64. package/dist/modules/login/login.model.d.ts.map +1 -0
  65. package/dist/modules/login/login.repository.d.ts +2 -1
  66. package/dist/modules/login/login.repository.d.ts.map +1 -0
  67. package/dist/modules/login/permission.type.d.ts +1 -0
  68. package/dist/modules/login/permission.type.d.ts.map +1 -0
  69. package/dist/modules/payout/index.d.ts +3 -2
  70. package/dist/modules/payout/index.d.ts.map +1 -0
  71. package/dist/modules/payout/payout-channel-handler.d.ts +5 -4
  72. package/dist/modules/payout/payout-channel-handler.d.ts.map +1 -0
  73. package/dist/modules/payout/payout.api-contract.d.ts +78 -666
  74. package/dist/modules/payout/payout.api-contract.d.ts.map +1 -0
  75. package/dist/modules/payout/payout.dtos.d.ts +99 -506
  76. package/dist/modules/payout/payout.dtos.d.ts.map +1 -0
  77. package/dist/modules/payout/payout.model.d.ts +8 -85
  78. package/dist/modules/payout/payout.model.d.ts.map +1 -0
  79. package/dist/modules/payout/payout.query.d.ts +3 -2
  80. package/dist/modules/payout/payout.query.d.ts.map +1 -0
  81. package/dist/modules/payout/payout.repository.d.ts +7 -6
  82. package/dist/modules/payout/payout.repository.d.ts.map +1 -0
  83. package/dist/modules/profile/index.d.ts +1 -0
  84. package/dist/modules/profile/index.d.ts.map +1 -0
  85. package/dist/modules/profile/profile.api-contract.d.ts +2 -19
  86. package/dist/modules/profile/profile.api-contract.d.ts.map +1 -0
  87. package/dist/modules/profile/profile.dtos.d.ts +3 -38
  88. package/dist/modules/profile/profile.dtos.d.ts.map +1 -0
  89. package/dist/modules/profile/profile.model.d.ts +5 -42
  90. package/dist/modules/profile/profile.model.d.ts.map +1 -0
  91. package/dist/modules/profile/profile.repository.d.ts +1 -0
  92. package/dist/modules/profile/profile.repository.d.ts.map +1 -0
  93. package/dist/modules/team-member/index.d.ts +3 -2
  94. package/dist/modules/team-member/index.d.ts.map +1 -0
  95. package/dist/modules/team-member/role.model.d.ts +6 -21
  96. package/dist/modules/team-member/role.model.d.ts.map +1 -0
  97. package/dist/modules/team-member/team-member.contract.d.ts +74 -615
  98. package/dist/modules/team-member/team-member.contract.d.ts.map +1 -0
  99. package/dist/modules/team-member/team-member.dtos.d.ts +15 -162
  100. package/dist/modules/team-member/team-member.dtos.d.ts.map +1 -0
  101. package/dist/modules/team-member/team-member.model.d.ts +7 -66
  102. package/dist/modules/team-member/team-member.model.d.ts.map +1 -0
  103. package/dist/modules/team-member/team-member.repository.d.ts +3 -2
  104. package/dist/modules/team-member/team-member.repository.d.ts.map +1 -0
  105. package/dist/modules/wallet/index.d.ts +4 -2
  106. package/dist/modules/wallet/index.d.ts.map +1 -0
  107. package/dist/modules/wallet/narration.model.d.ts +3 -8
  108. package/dist/modules/wallet/narration.model.d.ts.map +1 -0
  109. package/dist/modules/wallet/statement-entry.model.d.ts +14 -131
  110. package/dist/modules/wallet/statement-entry.model.d.ts.map +1 -0
  111. package/dist/modules/wallet/wallet.contract.d.ts +17 -90
  112. package/dist/modules/wallet/wallet.contract.d.ts.map +1 -0
  113. package/dist/modules/wallet/wallet.dtos.d.ts +33 -138
  114. package/dist/modules/wallet/wallet.dtos.d.ts.map +1 -0
  115. package/dist/modules/wallet/wallet.model.d.ts +5 -26
  116. package/dist/modules/wallet/wallet.model.d.ts.map +1 -0
  117. package/dist/modules/wallet/wallet.query.d.ts +2 -1
  118. package/dist/modules/wallet/wallet.query.d.ts.map +1 -0
  119. package/dist/modules/wallet/wallet.repository.d.ts +49 -25
  120. package/dist/modules/wallet/wallet.repository.d.ts.map +1 -0
  121. package/dist/modules/wallet/wallet.timezone.d.ts +87 -0
  122. package/dist/modules/wallet/wallet.timezone.d.ts.map +1 -0
  123. package/dist/modules/wallet/wallet.utils.d.ts +3 -2
  124. package/dist/modules/wallet/wallet.utils.d.ts.map +1 -0
  125. package/package.json +40 -29
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payout.dtos.d.ts","sourceRoot":"","sources":["../../../src/modules/payout/payout.dtos.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AACH,oBAAY,aAAa;IACvB,WAAW,gBAAgB;IAC3B,cAAc,mB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CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEzD;;GAEG;AACH,KAAK,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAEvE;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASnB,CAAC;AAEX;;;GAGG;AACH,YAAY,EAAE,mBAAmB,IAAI,gBAAgB,EAAE,SAAS,EAAE,aAAa,EAAE,cAAc,EAAE,oBAAoB,EAAE,CAAC"}
@@ -1,7 +1,7 @@
1
- import { PayoutDTO, PayoutStatus, PayoutApprovalStatus, PayoutAuthorizer } from "@/modules/payout/payout.dtos.js";
2
1
  import { Amount } from "@temboplus/frontend-core";
3
- import { type BeneficiaryInfo } from "../beneficiary/beneficiary-info.model.js";
4
2
  import z from "zod";
3
+ import { PayoutApprovalStatus, type PayoutAuthorizer, type PayoutDTO, PayoutStatus } from "@/modules/payout/payout.dtos.js";
4
+ import { type BeneficiaryInfo } from "../beneficiary/beneficiary-info.model.js";
5
5
  /**
6
6
  * Zod schema for Payout JSON serialization
7
7
  * This mirrors the PayoutDTO structure but is specifically for JSON serialization
@@ -17,105 +17,27 @@ export declare const PayoutJSONSchema: z.ZodObject<{
17
17
  countryCode: z.ZodString;
18
18
  description: z.ZodString;
19
19
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- status: z.ZodNativeEnum<typeof PayoutStatus>;
20
+ status: z.ZodEnum<typeof PayoutStatus>;
21
21
  statusMessage: z.ZodString;
22
22
  partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  createdAt: z.ZodString;
24
24
  updatedAt: z.ZodString;
25
25
  actionedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
- approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
26
+ approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PayoutApprovalStatus>>>;
27
27
  createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  actionedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
30
  id: z.ZodString;
31
31
  name: z.ZodString;
32
32
  identity: z.ZodString;
33
- }, "strip", z.ZodTypeAny, {
34
- name: string;
35
- id: string;
36
- identity: string;
37
- }, {
38
- name: string;
39
- id: string;
40
- identity: string;
41
- }>>>;
33
+ }, z.z.core.$strip>>>;
42
34
  actionedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
35
  id: z.ZodString;
44
36
  name: z.ZodString;
45
37
  identity: z.ZodString;
46
- }, "strip", z.ZodTypeAny, {
47
- name: string;
48
- id: string;
49
- identity: string;
50
- }, {
51
- name: string;
52
- id: string;
53
- identity: string;
54
- }>>>;
38
+ }, z.z.core.$strip>>>;
55
39
  _version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
56
- }, "strip", z.ZodTypeAny, {
57
- status: PayoutStatus;
58
- createdAt: string;
59
- id: string;
60
- _version: string;
61
- profileId: string;
62
- updatedAt: string;
63
- description: string;
64
- channel: string;
65
- msisdn: string;
66
- amount: number;
67
- payeeName: string;
68
- countryCode: string;
69
- currencyCode: string;
70
- statusMessage: string;
71
- notes?: string | null | undefined;
72
- partnerReference?: string | null | undefined;
73
- actionedAt?: string | null | undefined;
74
- approvalStatus?: PayoutApprovalStatus | null | undefined;
75
- createdById?: string | null | undefined;
76
- actionedById?: string | null | undefined;
77
- createdBy?: {
78
- name: string;
79
- id: string;
80
- identity: string;
81
- } | null | undefined;
82
- actionedBy?: {
83
- name: string;
84
- id: string;
85
- identity: string;
86
- } | null | undefined;
87
- }, {
88
- status: PayoutStatus;
89
- createdAt: string;
90
- id: string;
91
- profileId: string;
92
- updatedAt: string;
93
- description: string;
94
- channel: string;
95
- msisdn: string;
96
- amount: number;
97
- payeeName: string;
98
- countryCode: string;
99
- currencyCode: string;
100
- statusMessage: string;
101
- _version?: string | undefined;
102
- notes?: string | null | undefined;
103
- partnerReference?: string | null | undefined;
104
- actionedAt?: string | null | undefined;
105
- approvalStatus?: PayoutApprovalStatus | null | undefined;
106
- createdById?: string | null | undefined;
107
- actionedById?: string | null | undefined;
108
- createdBy?: {
109
- name: string;
110
- id: string;
111
- identity: string;
112
- } | null | undefined;
113
- actionedBy?: {
114
- name: string;
115
- id: string;
116
- identity: string;
117
- } | null | undefined;
118
- }>;
40
+ }, z.z.core.$strip>;
119
41
  /**
120
42
  * Infer the PayoutJSON type from the schema
121
43
  */
@@ -412,3 +334,4 @@ export declare class Payout {
412
334
  static toJSONArray(payouts: Payout[]): PayoutJSON[];
413
335
  private toDTO;
414
336
  }
337
+ //# sourceMappingURL=payout.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payout.model.d.ts","sourceRoot":"","sources":["../../../src/modules/payout/payout.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAmC,MAAM,0BAA0B,CAAC;AACnF,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EACL,oBAAoB,EACpB,KAAK,gBAAgB,EACrB,KAAK,SAAS,EAEd,YAAY,EACb,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,KAAK,eAAe,EAA0B,MAAM,0CAA0C,CAAC;AAExG;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAuB3B,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D;;GAEG;AACH,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAS;IAC7B,OAAO,CAAC,QAAQ,CAAC,UA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,EAAE,OAAO,GAAG,GAAG,IAAI,SAAS;IAU1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;WACW,EAAE,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,MAAM;IAa7C;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,IAAI,UAAU;IA2BpB;;;;;;;;;;;;;;;;;;;OAmBG;IACH,YAAY,IAAI,MAAM;IAItB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACH,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS;IA4D9D;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,UAAU;IAIpD;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,aAAa,CAAC,SAAS,EAAE,UAAU,EAAE,GAAG,MAAM,GAAG,MAAM,EAAE;IAgBhE;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE;IAInD,OAAO,CAAC,KAAK;CAyBd"}
@@ -1,6 +1,6 @@
1
- import { QueryBuilder } from "@/lib/query/index.js";
2
- import { PayoutStatus, PayoutApprovalStatus, PayoutFilters } from "./payout.dtos.js";
3
1
  import { Amount } from "@temboplus/frontend-core";
2
+ import { QueryBuilder } from "@/lib/query/index.js";
3
+ import { PayoutApprovalStatus, type PayoutFilters, PayoutStatus } from "./payout.dtos.js";
4
4
  type PayoutUrlParams = Record<string, string | string[]>;
5
5
  /**
6
6
  * Represents an active filter with its label and value
@@ -231,3 +231,4 @@ export declare class PayoutQuery extends QueryBuilder {
231
231
  private isValidApprovalStatus;
232
232
  }
233
233
  export {};
234
+ //# sourceMappingURL=payout.query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payout.query.d.ts","sourceRoot":"","s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I/B;;OAEG;IACH,SAAS,IAAI,WAAW;IAMxB;;OAEG;IACH,UAAU,IAAI,OAAO;IA2BrB;;;;OAIG;IACH,eAAe,CAAC,OAAO,CAAC,EAAE,sBAAsB,GAAG,YAAY,EAAE;IAmHjE;;;OAGG;IACH,qBAAqB,IAAI,MAAM,EAAE;IAIjC;;OAEG;IACH,OAAO,CAAC,eAAe;IAgBvB;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAM5B;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAkD3B;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAKxB;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAKxB,OAAO,CAAC,aAAa;IAQrB,OAAO,CAAC,gBAAgB;IAKxB,OAAO,CAAC,wBAAwB;IAOhC;;OAEG;IACH,OAAO,CAAC,aAAa;IAIrB;;OAEG;IACH,OAAO,CAAC,qBAAqB;CAG9B"}
@@ -1,12 +1,12 @@
1
+ import { type Amount } from "@temboplus/frontend-core";
1
2
  import { BaseRepository } from "@/lib/api/index.js";
3
+ import { type Paged } from "@/lib/query/index.js";
2
4
  import { Payout } from "@/modules/payout/payout.model.js";
3
- import { Amount } from "@temboplus/frontend-core";
4
- import { PayoutAPI } from "./payout.api-contract.js";
5
+ import type { BeneficiaryInfo } from "../beneficiary/beneficiary-info.model.js";
6
+ import type { Wallet } from "../wallet/wallet.model.js";
7
+ import { type PayoutAPI } from "./payout.api-contract.js";
8
+ import type { PayoutFilters } from "./payout.dtos.js";
5
9
  import { PayoutQuery } from "./payout.query.js";
6
- import { PayoutFilters } from "./payout.dtos.js";
7
- import { Paged } from "@/lib/query/index.js";
8
- import { Wallet } from "../wallet/wallet.model.js";
9
- import { BeneficiaryInfo } from "../beneficiary/beneficiary-info.model.js";
10
10
  /**
11
11
  * Input type for payout creation mutation.
12
12
  *
@@ -203,3 +203,4 @@ export declare class PayoutRepository extends BaseRepository<PayoutAPI> {
203
203
  */
204
204
  exists(query?: PayoutQueryInput): Promise<boolean>;
205
205
  }
206
+ //# sourceMappingURL=payout.repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payout.repository.d.ts","sourceRoot":"","sources":["../../../src/modules/payout/payout.repository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAuC,MAAM,0BAA0B,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,KAAK,KAAK,EAAc,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,EAAa,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGhD;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAChC,6BAA6B;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,kDAAkD;IAClD,QAAQ,EAAE,eAAe,CAAC;IAC1B,4BAA4B;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,WAAW,GACX,aAAa,GACb,MAAM,CAAC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,4 @@
1
1
  export * from "./profile.dtos.js";
2
2
  export * from "./profile.model.js";
3
3
  export * from "./profile.repository.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/profile/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC"}
@@ -15,25 +15,8 @@ export declare const profileContract: {
15
15
  accountNo: import("zod").ZodString;
16
16
  email: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
17
17
  autoApprove: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
18
- }, "strip", import("zod").ZodTypeAny, {
19
- id: string;
20
- displayName: string;
21
- accountNo: string;
22
- firstName?: string | null | undefined;
23
- lastName?: string | null | undefined;
24
- phone?: string | null | undefined;
25
- email?: string | null | undefined;
26
- autoApprove?: boolean | null | undefined;
27
- }, {
28
- id: string;
29
- displayName: string;
30
- accountNo: string;
31
- firstName?: string | null | undefined;
32
- lastName?: string | null | undefined;
33
- phone?: string | null | undefined;
34
- email?: string | null | undefined;
35
- autoApprove?: boolean | null | undefined;
36
- }>;
18
+ }, import("zod/v4/core").$strip>;
37
19
  };
38
20
  };
39
21
  };
22
+ //# sourceMappingURL=profile.api-contract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.api-contract.d.ts","sourceRoot":"","sources":["../../../src/modules/profile/profile.api-contract.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;CAQ1B,CAAC"}
@@ -23,25 +23,7 @@ declare const profileDTOSchema: z.ZodObject<{
23
23
  accountNo: z.ZodString;
24
24
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  autoApprove: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
- }, "strip", z.ZodTypeAny, {
27
- id: string;
28
- displayName: string;
29
- accountNo: string;
30
- firstName?: string | null | undefined;
31
- lastName?: string | null | undefined;
32
- phone?: string | null | undefined;
33
- email?: string | null | undefined;
34
- autoApprove?: boolean | null | undefined;
35
- }, {
36
- id: string;
37
- displayName: string;
38
- accountNo: string;
39
- firstName?: string | null | undefined;
40
- lastName?: string | null | undefined;
41
- phone?: string | null | undefined;
42
- email?: string | null | undefined;
43
- autoApprove?: boolean | null | undefined;
44
- }>;
26
+ }, z.core.$strip>;
45
27
  /**
46
28
  * TypeScript type representing a validated user profile.
47
29
  * Use this type for profile instances that have been validated against the schema.
@@ -57,24 +39,7 @@ export declare const ProfileDTOSchemas: {
57
39
  accountNo: z.ZodString;
58
40
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
41
  autoApprove: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
60
- }, "strip", z.ZodTypeAny, {
61
- id: string;
62
- displayName: string;
63
- accountNo: string;
64
- firstName?: string | null | undefined;
65
- lastName?: string | null | undefined;
66
- phone?: string | null | undefined;
67
- email?: string | null | undefined;
68
- autoApprove?: boolean | null | undefined;
69
- }, {
70
- id: string;
71
- displayName: string;
72
- accountNo: string;
73
- firstName?: string | null | undefined;
74
- lastName?: string | null | undefined;
75
- phone?: string | null | undefined;
76
- email?: string | null | undefined;
77
- autoApprove?: boolean | null | undefined;
78
- }>;
42
+ }, z.core.$strip>;
79
43
  };
80
44
  export {};
45
+ //# sourceMappingURL=profile.dtos.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.dtos.d.ts","sourceRoot":"","sources":["../../../src/modules/profile/profile.dtos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,gBAAgB;;;;;;;;;iBASpB,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,iBAAiB;;;;;;;;;;;CAE7B,CAAC"}
@@ -12,27 +12,7 @@ export declare const ProfileJSONSchema: z.ZodObject<{
12
12
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  autoApprove: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
14
  _version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15
- }, "strip", z.ZodTypeAny, {
16
- id: string;
17
- displayName: string;
18
- accountNo: string;
19
- _version: string;
20
- firstName?: string | null | undefined;
21
- lastName?: string | null | undefined;
22
- phone?: string | null | undefined;
23
- email?: string | null | undefined;
24
- autoApprove?: boolean | null | undefined;
25
- }, {
26
- id: string;
27
- displayName: string;
28
- accountNo: string;
29
- firstName?: string | null | undefined;
30
- lastName?: string | null | undefined;
31
- phone?: string | null | undefined;
32
- email?: string | null | undefined;
33
- autoApprove?: boolean | null | undefined;
34
- _version?: string | undefined;
35
- }>;
15
+ }, z.core.$strip>;
36
16
  /**
37
17
  * Infer the ProfileJSON type from the schema
38
18
  */
@@ -72,25 +52,7 @@ export declare class Profile {
72
52
  accountNo: z.ZodString;
73
53
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
54
  autoApprove: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
75
- }, "strip", z.ZodTypeAny, {
76
- id: string;
77
- displayName: string;
78
- accountNo: string;
79
- firstName?: string | null | undefined;
80
- lastName?: string | null | undefined;
81
- phone?: string | null | undefined;
82
- email?: string | null | undefined;
83
- autoApprove?: boolean | null | undefined;
84
- }, {
85
- id: string;
86
- displayName: string;
87
- accountNo: string;
88
- firstName?: string | null | undefined;
89
- lastName?: string | null | undefined;
90
- phone?: string | null | undefined;
91
- email?: string | null | undefined;
92
- autoApprove?: boolean | null | undefined;
93
- }>;
55
+ }, z.core.$strip>;
94
56
  /**
95
57
  * Creates a new Profile instance with the provided data.
96
58
  *
@@ -172,8 +134,8 @@ export declare class Profile {
172
134
  */
173
135
  static is(obj: unknown): obj is Profile;
174
136
  /**
175
- * Serializes the Profile instance to a JSON-compatible object
176
- */
137
+ * Serializes the Profile instance to a JSON-compatible object
138
+ */
177
139
  toJSON(): ProfileJSON;
178
140
  /**
179
141
  * Serializes the Profile instance to a JSON string
@@ -188,3 +150,4 @@ export declare class Profile {
188
150
  */
189
151
  static isProfileJSON(obj: unknown): obj is ProfileJSON;
190
152
  }
153
+ //# sourceMappingURL=profile.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.model.d.ts","sourceRoot":"","sources":["../../../src/modules/profile/profile.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;iBAU5B,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;;;;GAKG;AACH,qBAAa,OAAO;IAClB,wCAAwC;IACxC,OAAO,CAAC,GAAG,CAAS;IACpB,wBAAwB;IACxB,OAAO,CAAC,UAAU,CAAC,CAAgB;IACnC,uBAAuB;IACvB,OAAO,CAAC,SAAS,CAAC,CAAgB;IAClC,wDAAwD;IACxD,OAAO,CAAC,YAAY,CAAS;IAC7B,0BAA0B;IAC1B,OAAO,CAAC,MAAM,CAAC,CAAgB;IAC/B,4BAA4B;IAC5B,OAAO,CAAC,UAAU,CAAS;IAC3B,2BAA2B;IAC3B,OAAO,CAAC,MAAM,CAAC,CAAgB;IAC/B,4BAA4B;IAC5B,OAAO,CAAC,YAAY,CAAC,CAAiB;IAEtC;;OAEG;IACH,MAAM,KAAK,MAAM;;;;;;;;;sBAEhB;IAED;;;;;;OAMG;IACH,OAAO;IAoBP;;;;OAIG;IACH,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE;QAClB,EAAE,EAAE,MAAM,CAAC;QACX,SAAS,CAAC,EAAE,MA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G,SAAS;IAuBhE;;OAEG;IACH,MAAM,CAAC,aAAa,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,WAAW;CAGvD"}
@@ -54,3 +54,4 @@ export declare class ProfileRepository extends BaseRepository<typeof profileCont
54
54
  */
55
55
  getCurrentProfile(): Promise<Profile>;
56
56
  }
57
+ //# sourceMappingURL=profile.repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.repository.d.ts","sourceRoot":"","sources":["../../../src/modules/profile/profile.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C;;;;;;;;;;;;;;GAcG;AACH,qBAAa,iBAAkB,SAAQ,cAAc,CAAC,OAAO,eAAe,CAAC;IAC3E;;;;;;;;;;;;;;OAcG;gBACS,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;IAIvD;;;;;;;;;;;;;;;OAeG;IACG,iBAAiB,IAAI,OAAO,CAAC,OAAO,CAAC;CAa5C"}
@@ -1,4 +1,5 @@
1
- export * from "./team-member.repository.js";
1
+ export * from "./role.model.js";
2
2
  export * from "./team-member.dtos.js";
3
3
  export * from "./team-member.model.js";
4
- export * from "./role.model.js";
4
+ export * from "./team-member.repository.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/team-member/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import z from "zod";
2
- import { RoleDTO } from "./team-member.dtos.js";
2
+ import type { RoleDTO } from "./team-member.dtos.js";
3
3
  /**
4
4
  * Zod schema for Role JSON serialization
5
5
  */
@@ -7,27 +7,11 @@ export declare const RoleJSONSchema: z.ZodObject<{
7
7
  id: z.ZodString;
8
8
  name: z.ZodString;
9
9
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- access: z.ZodArray<z.ZodString, "many">;
10
+ access: z.ZodArray<z.ZodString>;
11
11
  createdAt: z.ZodString;
12
12
  updatedAt: z.ZodString;
13
13
  _version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
14
- }, "strip", z.ZodTypeAny, {
15
- name: string;
16
- createdAt: string;
17
- id: string;
18
- _version: string;
19
- updatedAt: string;
20
- access: string[];
21
- description?: string | null | undefined;
22
- }, {
23
- name: string;
24
- createdAt: string;
25
- id: string;
26
- updatedAt: string;
27
- access: string[];
28
- _version?: string | undefined;
29
- description?: string | null | undefined;
30
- }>;
14
+ }, z.z.core.$strip>;
31
15
  /**
32
16
  * Infer the RoleJSON type from the schema
33
17
  */
@@ -43,8 +27,8 @@ export declare class Role {
43
27
  hasPermission(permission: string): boolean;
44
28
  static from(data: RoleDTO): Role | undefined;
45
29
  /**
46
- * Serializes the Role instance to a JSON-compatible object
47
- */
30
+ * Serializes the Role instance to a JSON-compatible object
31
+ */
48
32
  toJSON(): RoleJSON;
49
33
  /**
50
34
  * Serializes the Role instance to a JSON string
@@ -59,3 +43,4 @@ export declare class Role {
59
43
  */
60
44
  static isRoleJSON(obj: unknown): obj is RoleJSON;
61
45
  }
46
+ //# sourceMappingURL=role.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role.model.d.ts","sourceRoot":"","sources":["../../../src/modules/team-member/role.model.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;mBAQzB,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAGtD,qBAAa,IAAI;IACf,SAAgB,EAAE,EAAE,MAAM,CAAC;IAC3B,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B,SAAgB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,SAAgB,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjD,SAAgB,SAAS,EAAE,IAAI,CAAC;IAChC,SAAgB,SAAS,EAAE,IAAI,CAAC;gBAEpB,IAAI,EAAE,OAAO;IASzB,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAI1C,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS;IAY5C;;OAEG;IACH,MAAM,IAAI,QAAQ;IAYlB;;OAEG;IACH,YAAY,IAAI,MAAM;IAItB;;OAEG;IACH,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS;IA8B1D;;OAEG;IACH,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,QAAQ;CAGjD"}