@managesome/knotr-toolkit 0.1.1 → 0.8.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 (300) hide show
  1. package/dist/backend/config.d.ts +43 -0
  2. package/dist/backend/config.d.ts.map +1 -0
  3. package/dist/backend/config.js +82 -0
  4. package/dist/backend/config.js.map +1 -0
  5. package/dist/backend/database.d.ts +28 -0
  6. package/dist/backend/database.d.ts.map +1 -0
  7. package/dist/backend/database.js +112 -0
  8. package/dist/backend/database.js.map +1 -0
  9. package/dist/backend/firebase.d.ts +68 -0
  10. package/dist/backend/firebase.d.ts.map +1 -0
  11. package/dist/backend/firebase.js +233 -0
  12. package/dist/backend/firebase.js.map +1 -0
  13. package/dist/backend/index.d.ts +8 -0
  14. package/dist/backend/index.d.ts.map +1 -0
  15. package/dist/backend/index.js +19 -0
  16. package/dist/backend/index.js.map +1 -0
  17. package/dist/backend/logger.d.ts +23 -0
  18. package/dist/backend/logger.d.ts.map +1 -0
  19. package/dist/backend/logger.js +107 -0
  20. package/dist/backend/logger.js.map +1 -0
  21. package/dist/backend/redis.d.ts +59 -0
  22. package/dist/backend/redis.d.ts.map +1 -0
  23. package/dist/backend/redis.js +169 -0
  24. package/dist/backend/redis.js.map +1 -0
  25. package/dist/backend/socket.d.ts +81 -0
  26. package/dist/backend/socket.d.ts.map +1 -0
  27. package/dist/backend/socket.js +132 -0
  28. package/dist/backend/socket.js.map +1 -0
  29. package/dist/backend/worker-queue.d.ts +40 -0
  30. package/dist/backend/worker-queue.d.ts.map +1 -0
  31. package/dist/backend/worker-queue.js +140 -0
  32. package/dist/backend/worker-queue.js.map +1 -0
  33. package/dist/client/api-client.d.ts +101 -0
  34. package/dist/client/api-client.d.ts.map +1 -0
  35. package/dist/client/api-client.js +261 -0
  36. package/dist/client/api-client.js.map +1 -0
  37. package/dist/client/api-error.d.ts +100 -0
  38. package/dist/client/api-error.d.ts.map +1 -0
  39. package/dist/client/api-error.js +111 -0
  40. package/dist/client/api-error.js.map +1 -0
  41. package/dist/client/endpoints.d.ts +510 -0
  42. package/dist/client/endpoints.d.ts.map +1 -0
  43. package/dist/client/endpoints.js +306 -0
  44. package/dist/client/endpoints.js.map +1 -0
  45. package/dist/client/index.d.ts +4 -0
  46. package/dist/client/index.d.ts.map +1 -0
  47. package/dist/client/index.js +7 -0
  48. package/dist/client/index.js.map +1 -0
  49. package/dist/constants/index.d.ts +2 -1
  50. package/dist/constants/index.d.ts.map +1 -1
  51. package/dist/constants/index.js +2 -1
  52. package/dist/constants/index.js.map +1 -1
  53. package/dist/constants/socket.d.ts +165 -0
  54. package/dist/constants/socket.d.ts.map +1 -0
  55. package/dist/constants/socket.js +204 -0
  56. package/dist/constants/socket.js.map +1 -0
  57. package/dist/helpers/ApiError.d.ts +74 -0
  58. package/dist/helpers/ApiError.d.ts.map +1 -0
  59. package/dist/helpers/ApiError.js +105 -0
  60. package/dist/helpers/ApiError.js.map +1 -0
  61. package/dist/helpers/asyncHandler.d.ts +42 -0
  62. package/dist/helpers/asyncHandler.d.ts.map +1 -0
  63. package/dist/helpers/asyncHandler.js +47 -0
  64. package/dist/helpers/asyncHandler.js.map +1 -0
  65. package/dist/helpers/id-generator.d.ts +98 -0
  66. package/dist/helpers/id-generator.d.ts.map +1 -0
  67. package/dist/helpers/id-generator.js +128 -0
  68. package/dist/helpers/id-generator.js.map +1 -0
  69. package/dist/helpers/index.d.ts +5 -0
  70. package/dist/helpers/index.d.ts.map +1 -0
  71. package/dist/helpers/index.js +8 -0
  72. package/dist/helpers/index.js.map +1 -0
  73. package/dist/helpers/response-timing.d.ts +91 -0
  74. package/dist/helpers/response-timing.d.ts.map +1 -0
  75. package/dist/helpers/response-timing.js +176 -0
  76. package/dist/helpers/response-timing.js.map +1 -0
  77. package/dist/index.d.ts +7 -3
  78. package/dist/index.d.ts.map +1 -1
  79. package/dist/index.js +21 -3
  80. package/dist/index.js.map +1 -1
  81. package/dist/schemas/account.schema.d.ts +4500 -0
  82. package/dist/schemas/account.schema.d.ts.map +1 -0
  83. package/dist/schemas/account.schema.js +123 -0
  84. package/dist/schemas/account.schema.js.map +1 -0
  85. package/dist/schemas/chat.schema.d.ts +4796 -0
  86. package/dist/schemas/chat.schema.d.ts.map +1 -0
  87. package/dist/schemas/chat.schema.js +107 -0
  88. package/dist/schemas/chat.schema.js.map +1 -0
  89. package/dist/schemas/collaboration-request.schema.d.ts +3960 -0
  90. package/dist/schemas/collaboration-request.schema.d.ts.map +1 -0
  91. package/dist/schemas/collaboration-request.schema.js +92 -0
  92. package/dist/schemas/collaboration-request.schema.js.map +1 -0
  93. package/dist/schemas/company-review.schema.d.ts +3465 -0
  94. package/dist/schemas/company-review.schema.d.ts.map +1 -0
  95. package/dist/schemas/company-review.schema.js +73 -0
  96. package/dist/schemas/company-review.schema.js.map +1 -0
  97. package/dist/schemas/company.schema.d.ts +6152 -0
  98. package/dist/schemas/company.schema.d.ts.map +1 -0
  99. package/dist/schemas/company.schema.js +192 -0
  100. package/dist/schemas/company.schema.js.map +1 -0
  101. package/dist/schemas/contract.schema.d.ts +5286 -0
  102. package/dist/schemas/contract.schema.d.ts.map +1 -0
  103. package/dist/schemas/contract.schema.js +115 -0
  104. package/dist/schemas/contract.schema.js.map +1 -0
  105. package/dist/schemas/dispute-evidence.schema.d.ts +3788 -0
  106. package/dist/schemas/dispute-evidence.schema.d.ts.map +1 -0
  107. package/dist/schemas/dispute-evidence.schema.js +71 -0
  108. package/dist/schemas/dispute-evidence.schema.js.map +1 -0
  109. package/dist/schemas/dispute.schema.d.ts +4970 -0
  110. package/dist/schemas/dispute.schema.d.ts.map +1 -0
  111. package/dist/schemas/dispute.schema.js +152 -0
  112. package/dist/schemas/dispute.schema.js.map +1 -0
  113. package/dist/schemas/donation.schema.d.ts +3594 -0
  114. package/dist/schemas/donation.schema.d.ts.map +1 -0
  115. package/dist/schemas/donation.schema.js +95 -0
  116. package/dist/schemas/donation.schema.js.map +1 -0
  117. package/dist/schemas/escrow.schema.d.ts +4322 -0
  118. package/dist/schemas/escrow.schema.d.ts.map +1 -0
  119. package/dist/schemas/escrow.schema.js +93 -0
  120. package/dist/schemas/escrow.schema.js.map +1 -0
  121. package/dist/schemas/flag.schema.d.ts +4375 -0
  122. package/dist/schemas/flag.schema.d.ts.map +1 -0
  123. package/dist/schemas/flag.schema.js +133 -0
  124. package/dist/schemas/flag.schema.js.map +1 -0
  125. package/dist/schemas/index.d.ts +33 -0
  126. package/dist/schemas/index.d.ts.map +1 -0
  127. package/dist/schemas/index.js +39 -0
  128. package/dist/schemas/index.js.map +1 -0
  129. package/dist/schemas/interest.schema.d.ts +3804 -0
  130. package/dist/schemas/interest.schema.d.ts.map +1 -0
  131. package/dist/schemas/interest.schema.js +107 -0
  132. package/dist/schemas/interest.schema.js.map +1 -0
  133. package/dist/schemas/match.schema.d.ts +4013 -0
  134. package/dist/schemas/match.schema.d.ts.map +1 -0
  135. package/dist/schemas/match.schema.js +118 -0
  136. package/dist/schemas/match.schema.js.map +1 -0
  137. package/dist/schemas/message.schema.d.ts +4213 -0
  138. package/dist/schemas/message.schema.d.ts.map +1 -0
  139. package/dist/schemas/message.schema.js +134 -0
  140. package/dist/schemas/message.schema.js.map +1 -0
  141. package/dist/schemas/milestone.schema.d.ts +4310 -0
  142. package/dist/schemas/milestone.schema.d.ts.map +1 -0
  143. package/dist/schemas/milestone.schema.js +99 -0
  144. package/dist/schemas/milestone.schema.js.map +1 -0
  145. package/dist/schemas/notification.schema.d.ts +4641 -0
  146. package/dist/schemas/notification.schema.d.ts.map +1 -0
  147. package/dist/schemas/notification.schema.js +139 -0
  148. package/dist/schemas/notification.schema.js.map +1 -0
  149. package/dist/schemas/profile.schema.d.ts +9589 -0
  150. package/dist/schemas/profile.schema.d.ts.map +1 -0
  151. package/dist/schemas/profile.schema.js +360 -0
  152. package/dist/schemas/profile.schema.js.map +1 -0
  153. package/dist/schemas/profit-share-agreement.schema.d.ts +3789 -0
  154. package/dist/schemas/profit-share-agreement.schema.d.ts.map +1 -0
  155. package/dist/schemas/profit-share-agreement.schema.js +76 -0
  156. package/dist/schemas/profit-share-agreement.schema.js.map +1 -0
  157. package/dist/schemas/profit-share.schema.d.ts +4051 -0
  158. package/dist/schemas/profit-share.schema.d.ts.map +1 -0
  159. package/dist/schemas/profit-share.schema.js +96 -0
  160. package/dist/schemas/profit-share.schema.js.map +1 -0
  161. package/dist/schemas/promo-code.schema.d.ts +3924 -0
  162. package/dist/schemas/promo-code.schema.d.ts.map +1 -0
  163. package/dist/schemas/promo-code.schema.js +112 -0
  164. package/dist/schemas/promo-code.schema.js.map +1 -0
  165. package/dist/schemas/proposal.schema.d.ts +5182 -0
  166. package/dist/schemas/proposal.schema.d.ts.map +1 -0
  167. package/dist/schemas/proposal.schema.js +114 -0
  168. package/dist/schemas/proposal.schema.js.map +1 -0
  169. package/dist/schemas/purchase.schema.d.ts +3724 -0
  170. package/dist/schemas/purchase.schema.d.ts.map +1 -0
  171. package/dist/schemas/purchase.schema.js +89 -0
  172. package/dist/schemas/purchase.schema.js.map +1 -0
  173. package/dist/schemas/requirement-post.schema.d.ts +6315 -0
  174. package/dist/schemas/requirement-post.schema.d.ts.map +1 -0
  175. package/dist/schemas/requirement-post.schema.js +153 -0
  176. package/dist/schemas/requirement-post.schema.js.map +1 -0
  177. package/dist/schemas/review.schema.d.ts +4512 -0
  178. package/dist/schemas/review.schema.d.ts.map +1 -0
  179. package/dist/schemas/review.schema.js +121 -0
  180. package/dist/schemas/review.schema.js.map +1 -0
  181. package/dist/schemas/service-listing.schema.d.ts +5152 -0
  182. package/dist/schemas/service-listing.schema.d.ts.map +1 -0
  183. package/dist/schemas/service-listing.schema.js +137 -0
  184. package/dist/schemas/service-listing.schema.js.map +1 -0
  185. package/dist/schemas/subscription.schema.d.ts +3985 -0
  186. package/dist/schemas/subscription.schema.d.ts.map +1 -0
  187. package/dist/schemas/subscription.schema.js +94 -0
  188. package/dist/schemas/subscription.schema.js.map +1 -0
  189. package/dist/schemas/tmc-application.schema.d.ts +4357 -0
  190. package/dist/schemas/tmc-application.schema.d.ts.map +1 -0
  191. package/dist/schemas/tmc-application.schema.js +96 -0
  192. package/dist/schemas/tmc-application.schema.js.map +1 -0
  193. package/dist/schemas/tmc-membership.schema.d.ts +3985 -0
  194. package/dist/schemas/tmc-membership.schema.d.ts.map +1 -0
  195. package/dist/schemas/tmc-membership.schema.js +84 -0
  196. package/dist/schemas/tmc-membership.schema.js.map +1 -0
  197. package/dist/schemas/trust-badge.schema.d.ts +3919 -0
  198. package/dist/schemas/trust-badge.schema.d.ts.map +1 -0
  199. package/dist/schemas/trust-badge.schema.js +83 -0
  200. package/dist/schemas/trust-badge.schema.js.map +1 -0
  201. package/dist/schemas/verification.schema.d.ts +4606 -0
  202. package/dist/schemas/verification.schema.d.ts.map +1 -0
  203. package/dist/schemas/verification.schema.js +114 -0
  204. package/dist/schemas/verification.schema.js.map +1 -0
  205. package/dist/schemas/webhook-event.schema.d.ts +3534 -0
  206. package/dist/schemas/webhook-event.schema.d.ts.map +1 -0
  207. package/dist/schemas/webhook-event.schema.js +83 -0
  208. package/dist/schemas/webhook-event.schema.js.map +1 -0
  209. package/dist/types/account.d.ts +30 -7
  210. package/dist/types/account.d.ts.map +1 -1
  211. package/dist/types/account.js +3 -1
  212. package/dist/types/account.js.map +1 -1
  213. package/dist/types/admin.d.ts +20 -10
  214. package/dist/types/admin.d.ts.map +1 -1
  215. package/dist/types/admin.js +3 -1
  216. package/dist/types/admin.js.map +1 -1
  217. package/dist/types/api.d.ts +184 -109
  218. package/dist/types/api.d.ts.map +1 -1
  219. package/dist/types/api.js +2 -1
  220. package/dist/types/api.js.map +1 -1
  221. package/dist/types/chat.d.ts +38 -20
  222. package/dist/types/chat.d.ts.map +1 -1
  223. package/dist/types/chat.js +3 -1
  224. package/dist/types/chat.js.map +1 -1
  225. package/dist/types/common.d.ts +39 -12
  226. package/dist/types/common.d.ts.map +1 -1
  227. package/dist/types/common.js +4 -1
  228. package/dist/types/common.js.map +1 -1
  229. package/dist/types/company.d.ts +61 -44
  230. package/dist/types/company.d.ts.map +1 -1
  231. package/dist/types/company.js +3 -1
  232. package/dist/types/company.js.map +1 -1
  233. package/dist/types/flag.d.ts +19 -8
  234. package/dist/types/flag.d.ts.map +1 -1
  235. package/dist/types/flag.js +3 -1
  236. package/dist/types/flag.js.map +1 -1
  237. package/dist/types/forms.d.ts +334 -0
  238. package/dist/types/forms.d.ts.map +1 -0
  239. package/dist/types/forms.js +5 -0
  240. package/dist/types/forms.js.map +1 -0
  241. package/dist/types/index.d.ts +18 -13
  242. package/dist/types/index.d.ts.map +1 -1
  243. package/dist/types/index.js +18 -13
  244. package/dist/types/index.js.map +1 -1
  245. package/dist/types/marketplace.d.ts +174 -104
  246. package/dist/types/marketplace.d.ts.map +1 -1
  247. package/dist/types/marketplace.js +2 -0
  248. package/dist/types/marketplace.js.map +1 -1
  249. package/dist/types/match.d.ts +36 -19
  250. package/dist/types/match.d.ts.map +1 -1
  251. package/dist/types/match.js +3 -1
  252. package/dist/types/match.js.map +1 -1
  253. package/dist/types/navigation.d.ts +305 -0
  254. package/dist/types/navigation.d.ts.map +1 -0
  255. package/dist/types/navigation.js +18 -0
  256. package/dist/types/navigation.js.map +1 -0
  257. package/dist/types/notification.d.ts +92 -0
  258. package/dist/types/notification.d.ts.map +1 -0
  259. package/dist/types/notification.js +5 -0
  260. package/dist/types/notification.js.map +1 -0
  261. package/dist/types/payment.d.ts +70 -38
  262. package/dist/types/payment.d.ts.map +1 -1
  263. package/dist/types/payment.js +3 -1
  264. package/dist/types/payment.js.map +1 -1
  265. package/dist/types/policy.d.ts +173 -80
  266. package/dist/types/policy.d.ts.map +1 -1
  267. package/dist/types/policy.js.map +1 -1
  268. package/dist/types/profile.d.ts +48 -37
  269. package/dist/types/profile.d.ts.map +1 -1
  270. package/dist/types/profile.js +3 -1
  271. package/dist/types/profile.js.map +1 -1
  272. package/dist/types/socket.d.ts +431 -0
  273. package/dist/types/socket.d.ts.map +1 -0
  274. package/dist/types/socket.js +5 -0
  275. package/dist/types/socket.js.map +1 -0
  276. package/dist/types/verification.d.ts +18 -9
  277. package/dist/types/verification.d.ts.map +1 -1
  278. package/dist/types/verification.js +3 -1
  279. package/dist/types/verification.js.map +1 -1
  280. package/dist/types/worker.d.ts +452 -0
  281. package/dist/types/worker.d.ts.map +1 -0
  282. package/dist/types/worker.js +5 -0
  283. package/dist/types/worker.js.map +1 -0
  284. package/dist/validation/index.d.ts +5 -0
  285. package/dist/validation/index.d.ts.map +1 -0
  286. package/dist/validation/index.js +9 -0
  287. package/dist/validation/index.js.map +1 -0
  288. package/dist/validation/messages.d.ts +124 -0
  289. package/dist/validation/messages.d.ts.map +1 -0
  290. package/dist/validation/messages.js +160 -0
  291. package/dist/validation/messages.js.map +1 -0
  292. package/dist/validation/schemas.d.ts +1127 -0
  293. package/dist/validation/schemas.d.ts.map +1 -0
  294. package/dist/validation/schemas.js +376 -0
  295. package/dist/validation/schemas.js.map +1 -0
  296. package/dist/validation/validators.d.ts +229 -0
  297. package/dist/validation/validators.d.ts.map +1 -0
  298. package/dist/validation/validators.js +307 -0
  299. package/dist/validation/validators.js.map +1 -0
  300. package/package.json +37 -3
@@ -0,0 +1,4051 @@
1
+ import { HydratedDocument, Model, Schema } from 'mongoose';
2
+ import { IProfitShare, ProfitShareStatus } from '../types/marketplace.js';
3
+ export type ProfitShareDocument = HydratedDocument<Omit<IProfitShare, 'id'> & {
4
+ _id: string;
5
+ }>;
6
+ export interface ProfitShareModel extends Model<ProfitShareDocument> {
7
+ findByAgreementId(agreementId: string): Promise<ProfitShareDocument[]>;
8
+ findByTMCId(tmcCompanyId: string): Promise<ProfitShareDocument[]>;
9
+ findByCompanyId(companyId: string): Promise<ProfitShareDocument[]>;
10
+ findPending(): Promise<ProfitShareDocument[]>;
11
+ findByStatus(status: ProfitShareStatus): Promise<ProfitShareDocument[]>;
12
+ getTotalByTMC(tmcCompanyId: string): Promise<number>;
13
+ }
14
+ export declare function createProfitShareSchema(): Schema<ProfitShareDocument, ProfitShareModel>;
15
+ export declare const ProfitShareSchema: Schema<import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
16
+ _id: string;
17
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
18
+ _id: string;
19
+ } & Required<{
20
+ _id: string;
21
+ }> & {
22
+ __v: number;
23
+ } & {
24
+ id: string;
25
+ }, ProfitShareModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
26
+ _id: string;
27
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
28
+ _id: string;
29
+ } & Required<{
30
+ _id: string;
31
+ }> & {
32
+ __v: number;
33
+ } & {
34
+ id: string;
35
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
36
+ _id: string;
37
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
38
+ _id: string;
39
+ } & Required<{
40
+ _id: string;
41
+ }> & {
42
+ __v: number;
43
+ } & {
44
+ id: string;
45
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
46
+ _id: string;
47
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
48
+ _id: string;
49
+ } & Required<{
50
+ _id: string;
51
+ }> & {
52
+ __v: number;
53
+ } & {
54
+ id: string;
55
+ }, {
56
+ _id?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
57
+ _id: string;
58
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
59
+ _id: string;
60
+ } & Required<{
61
+ _id: string;
62
+ }> & {
63
+ __v: number;
64
+ } & {
65
+ id: string;
66
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
67
+ _id: string;
68
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
69
+ _id: string;
70
+ } & Required<{
71
+ _id: string;
72
+ }> & {
73
+ __v: number;
74
+ } & {
75
+ id: string;
76
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
77
+ _id: string;
78
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
79
+ _id: string;
80
+ } & Required<{
81
+ _id: string;
82
+ }> & {
83
+ __v: number;
84
+ } & {
85
+ id: string;
86
+ }> | undefined;
87
+ $assertPopulated?: import("mongoose").SchemaDefinitionProperty<(<Paths = {}>(path: string | string[], values?: Partial<Paths> | undefined) => Omit<import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
88
+ _id: string;
89
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
90
+ _id: string;
91
+ } & Required<{
92
+ _id: string;
93
+ }> & {
94
+ __v: number;
95
+ } & {
96
+ id: string;
97
+ }, keyof Paths> & Paths), import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
98
+ _id: string;
99
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
100
+ _id: string;
101
+ } & Required<{
102
+ _id: string;
103
+ }> & {
104
+ __v: number;
105
+ } & {
106
+ id: string;
107
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
108
+ _id: string;
109
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
110
+ _id: string;
111
+ } & Required<{
112
+ _id: string;
113
+ }> & {
114
+ __v: number;
115
+ } & {
116
+ id: string;
117
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
118
+ _id: string;
119
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
120
+ _id: string;
121
+ } & Required<{
122
+ _id: string;
123
+ }> & {
124
+ __v: number;
125
+ } & {
126
+ id: string;
127
+ }> | undefined;
128
+ $clearModifiedPaths?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
129
+ _id: string;
130
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
131
+ _id: string;
132
+ } & Required<{
133
+ _id: string;
134
+ }> & {
135
+ __v: number;
136
+ } & {
137
+ id: string;
138
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
139
+ _id: string;
140
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
141
+ _id: string;
142
+ } & Required<{
143
+ _id: string;
144
+ }> & {
145
+ __v: number;
146
+ } & {
147
+ id: string;
148
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
149
+ _id: string;
150
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
151
+ _id: string;
152
+ } & Required<{
153
+ _id: string;
154
+ }> & {
155
+ __v: number;
156
+ } & {
157
+ id: string;
158
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
159
+ _id: string;
160
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
161
+ _id: string;
162
+ } & Required<{
163
+ _id: string;
164
+ }> & {
165
+ __v: number;
166
+ } & {
167
+ id: string;
168
+ }> | undefined;
169
+ $clone?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
170
+ _id: string;
171
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
172
+ _id: string;
173
+ } & Required<{
174
+ _id: string;
175
+ }> & {
176
+ __v: number;
177
+ } & {
178
+ id: string;
179
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
180
+ _id: string;
181
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
182
+ _id: string;
183
+ } & Required<{
184
+ _id: string;
185
+ }> & {
186
+ __v: number;
187
+ } & {
188
+ id: string;
189
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
190
+ _id: string;
191
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
192
+ _id: string;
193
+ } & Required<{
194
+ _id: string;
195
+ }> & {
196
+ __v: number;
197
+ } & {
198
+ id: string;
199
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
200
+ _id: string;
201
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
202
+ _id: string;
203
+ } & Required<{
204
+ _id: string;
205
+ }> & {
206
+ __v: number;
207
+ } & {
208
+ id: string;
209
+ }> | undefined;
210
+ $createModifiedPathsSnapshot?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").ModifiedPathsSnapshot, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
211
+ _id: string;
212
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
213
+ _id: string;
214
+ } & Required<{
215
+ _id: string;
216
+ }> & {
217
+ __v: number;
218
+ } & {
219
+ id: string;
220
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
221
+ _id: string;
222
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
223
+ _id: string;
224
+ } & Required<{
225
+ _id: string;
226
+ }> & {
227
+ __v: number;
228
+ } & {
229
+ id: string;
230
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
231
+ _id: string;
232
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
233
+ _id: string;
234
+ } & Required<{
235
+ _id: string;
236
+ }> & {
237
+ __v: number;
238
+ } & {
239
+ id: string;
240
+ }> | undefined;
241
+ $getAllSubdocs?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document[], import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
242
+ _id: string;
243
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
244
+ _id: string;
245
+ } & Required<{
246
+ _id: string;
247
+ }> & {
248
+ __v: number;
249
+ } & {
250
+ id: string;
251
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
252
+ _id: string;
253
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
254
+ _id: string;
255
+ } & Required<{
256
+ _id: string;
257
+ }> & {
258
+ __v: number;
259
+ } & {
260
+ id: string;
261
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
262
+ _id: string;
263
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
264
+ _id: string;
265
+ } & Required<{
266
+ _id: string;
267
+ }> & {
268
+ __v: number;
269
+ } & {
270
+ id: string;
271
+ }> | undefined;
272
+ $ignore?: import("mongoose").SchemaDefinitionProperty<(path: string) => void, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
273
+ _id: string;
274
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
275
+ _id: string;
276
+ } & Required<{
277
+ _id: string;
278
+ }> & {
279
+ __v: number;
280
+ } & {
281
+ id: string;
282
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
283
+ _id: string;
284
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
285
+ _id: string;
286
+ } & Required<{
287
+ _id: string;
288
+ }> & {
289
+ __v: number;
290
+ } & {
291
+ id: string;
292
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
293
+ _id: string;
294
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
295
+ _id: string;
296
+ } & Required<{
297
+ _id: string;
298
+ }> & {
299
+ __v: number;
300
+ } & {
301
+ id: string;
302
+ }> | undefined;
303
+ $isDefault?: import("mongoose").SchemaDefinitionProperty<(path?: string) => boolean, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
304
+ _id: string;
305
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
306
+ _id: string;
307
+ } & Required<{
308
+ _id: string;
309
+ }> & {
310
+ __v: number;
311
+ } & {
312
+ id: string;
313
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
314
+ _id: string;
315
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
316
+ _id: string;
317
+ } & Required<{
318
+ _id: string;
319
+ }> & {
320
+ __v: number;
321
+ } & {
322
+ id: string;
323
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
324
+ _id: string;
325
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
326
+ _id: string;
327
+ } & Required<{
328
+ _id: string;
329
+ }> & {
330
+ __v: number;
331
+ } & {
332
+ id: string;
333
+ }> | undefined;
334
+ $isDeleted?: import("mongoose").SchemaDefinitionProperty<(val?: boolean) => boolean, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
335
+ _id: string;
336
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
337
+ _id: string;
338
+ } & Required<{
339
+ _id: string;
340
+ }> & {
341
+ __v: number;
342
+ } & {
343
+ id: string;
344
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
345
+ _id: string;
346
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
347
+ _id: string;
348
+ } & Required<{
349
+ _id: string;
350
+ }> & {
351
+ __v: number;
352
+ } & {
353
+ id: string;
354
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
355
+ _id: string;
356
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
357
+ _id: string;
358
+ } & Required<{
359
+ _id: string;
360
+ }> & {
361
+ __v: number;
362
+ } & {
363
+ id: string;
364
+ }> | undefined;
365
+ $getPopulatedDocs?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document[], import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
366
+ _id: string;
367
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
368
+ _id: string;
369
+ } & Required<{
370
+ _id: string;
371
+ }> & {
372
+ __v: number;
373
+ } & {
374
+ id: string;
375
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
376
+ _id: string;
377
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
378
+ _id: string;
379
+ } & Required<{
380
+ _id: string;
381
+ }> & {
382
+ __v: number;
383
+ } & {
384
+ id: string;
385
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
386
+ _id: string;
387
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
388
+ _id: string;
389
+ } & Required<{
390
+ _id: string;
391
+ }> & {
392
+ __v: number;
393
+ } & {
394
+ id: string;
395
+ }> | undefined;
396
+ $inc?: import("mongoose").SchemaDefinitionProperty<(path: string | string[], val?: number) => import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
397
+ _id: string;
398
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
399
+ _id: string;
400
+ } & Required<{
401
+ _id: string;
402
+ }> & {
403
+ __v: number;
404
+ } & {
405
+ id: string;
406
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
407
+ _id: string;
408
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
409
+ _id: string;
410
+ } & Required<{
411
+ _id: string;
412
+ }> & {
413
+ __v: number;
414
+ } & {
415
+ id: string;
416
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
417
+ _id: string;
418
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
419
+ _id: string;
420
+ } & Required<{
421
+ _id: string;
422
+ }> & {
423
+ __v: number;
424
+ } & {
425
+ id: string;
426
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
427
+ _id: string;
428
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
429
+ _id: string;
430
+ } & Required<{
431
+ _id: string;
432
+ }> & {
433
+ __v: number;
434
+ } & {
435
+ id: string;
436
+ }> | undefined;
437
+ $isEmpty?: import("mongoose").SchemaDefinitionProperty<(path: string) => boolean, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
438
+ _id: string;
439
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
440
+ _id: string;
441
+ } & Required<{
442
+ _id: string;
443
+ }> & {
444
+ __v: number;
445
+ } & {
446
+ id: string;
447
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
448
+ _id: string;
449
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
450
+ _id: string;
451
+ } & Required<{
452
+ _id: string;
453
+ }> & {
454
+ __v: number;
455
+ } & {
456
+ id: string;
457
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
458
+ _id: string;
459
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
460
+ _id: string;
461
+ } & Required<{
462
+ _id: string;
463
+ }> & {
464
+ __v: number;
465
+ } & {
466
+ id: string;
467
+ }> | undefined;
468
+ $isValid?: import("mongoose").SchemaDefinitionProperty<(path: string) => boolean, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
469
+ _id: string;
470
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
471
+ _id: string;
472
+ } & Required<{
473
+ _id: string;
474
+ }> & {
475
+ __v: number;
476
+ } & {
477
+ id: string;
478
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
479
+ _id: string;
480
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
481
+ _id: string;
482
+ } & Required<{
483
+ _id: string;
484
+ }> & {
485
+ __v: number;
486
+ } & {
487
+ id: string;
488
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
489
+ _id: string;
490
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
491
+ _id: string;
492
+ } & Required<{
493
+ _id: string;
494
+ }> & {
495
+ __v: number;
496
+ } & {
497
+ id: string;
498
+ }> | undefined;
499
+ $locals?: import("mongoose").SchemaDefinitionProperty<Record<string, unknown>, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
500
+ _id: string;
501
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
502
+ _id: string;
503
+ } & Required<{
504
+ _id: string;
505
+ }> & {
506
+ __v: number;
507
+ } & {
508
+ id: string;
509
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
510
+ _id: string;
511
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
512
+ _id: string;
513
+ } & Required<{
514
+ _id: string;
515
+ }> & {
516
+ __v: number;
517
+ } & {
518
+ id: string;
519
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
520
+ _id: string;
521
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
522
+ _id: string;
523
+ } & Required<{
524
+ _id: string;
525
+ }> & {
526
+ __v: number;
527
+ } & {
528
+ id: string;
529
+ }> | undefined;
530
+ $markValid?: import("mongoose").SchemaDefinitionProperty<(path: string) => void, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
531
+ _id: string;
532
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
533
+ _id: string;
534
+ } & Required<{
535
+ _id: string;
536
+ }> & {
537
+ __v: number;
538
+ } & {
539
+ id: string;
540
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
541
+ _id: string;
542
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
543
+ _id: string;
544
+ } & Required<{
545
+ _id: string;
546
+ }> & {
547
+ __v: number;
548
+ } & {
549
+ id: string;
550
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
551
+ _id: string;
552
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
553
+ _id: string;
554
+ } & Required<{
555
+ _id: string;
556
+ }> & {
557
+ __v: number;
558
+ } & {
559
+ id: string;
560
+ }> | undefined;
561
+ $model?: import("mongoose").SchemaDefinitionProperty<{
562
+ <ModelType = Model<unknown, {}, {}, {}, import("mongoose").Document<unknown, {}, unknown, {}, import("mongoose").DefaultSchemaOptions> & {
563
+ _id: import("mongoose").Types.ObjectId;
564
+ } & {
565
+ __v: number;
566
+ } & {
567
+ id: string;
568
+ }, any, unknown>>(name: string): ModelType;
569
+ <ModelType = Model<Omit<IProfitShare, "id"> & {
570
+ _id: string;
571
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
572
+ _id: string;
573
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
574
+ _id: string;
575
+ } & Required<{
576
+ _id: string;
577
+ }> & {
578
+ __v: number;
579
+ } & {
580
+ id: string;
581
+ }, any, Omit<IProfitShare, "id"> & {
582
+ _id: string;
583
+ }>>(): ModelType;
584
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
585
+ _id: string;
586
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
587
+ _id: string;
588
+ } & Required<{
589
+ _id: string;
590
+ }> & {
591
+ __v: number;
592
+ } & {
593
+ id: string;
594
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
595
+ _id: string;
596
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
597
+ _id: string;
598
+ } & Required<{
599
+ _id: string;
600
+ }> & {
601
+ __v: number;
602
+ } & {
603
+ id: string;
604
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
605
+ _id: string;
606
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
607
+ _id: string;
608
+ } & Required<{
609
+ _id: string;
610
+ }> & {
611
+ __v: number;
612
+ } & {
613
+ id: string;
614
+ }> | undefined;
615
+ $op?: import("mongoose").SchemaDefinitionProperty<"save" | "validate" | "remove" | null, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
616
+ _id: string;
617
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
618
+ _id: string;
619
+ } & Required<{
620
+ _id: string;
621
+ }> & {
622
+ __v: number;
623
+ } & {
624
+ id: string;
625
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
626
+ _id: string;
627
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
628
+ _id: string;
629
+ } & Required<{
630
+ _id: string;
631
+ }> & {
632
+ __v: number;
633
+ } & {
634
+ id: string;
635
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
636
+ _id: string;
637
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
638
+ _id: string;
639
+ } & Required<{
640
+ _id: string;
641
+ }> & {
642
+ __v: number;
643
+ } & {
644
+ id: string;
645
+ }> | undefined;
646
+ $restoreModifiedPathsSnapshot?: import("mongoose").SchemaDefinitionProperty<(snapshot: import("mongoose").ModifiedPathsSnapshot) => import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
647
+ _id: string;
648
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
649
+ _id: string;
650
+ } & Required<{
651
+ _id: string;
652
+ }> & {
653
+ __v: number;
654
+ } & {
655
+ id: string;
656
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
657
+ _id: string;
658
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
659
+ _id: string;
660
+ } & Required<{
661
+ _id: string;
662
+ }> & {
663
+ __v: number;
664
+ } & {
665
+ id: string;
666
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
667
+ _id: string;
668
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
669
+ _id: string;
670
+ } & Required<{
671
+ _id: string;
672
+ }> & {
673
+ __v: number;
674
+ } & {
675
+ id: string;
676
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
677
+ _id: string;
678
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
679
+ _id: string;
680
+ } & Required<{
681
+ _id: string;
682
+ }> & {
683
+ __v: number;
684
+ } & {
685
+ id: string;
686
+ }> | undefined;
687
+ $session?: import("mongoose").SchemaDefinitionProperty<(session?: import("mongoose").ClientSession | null) => import("mongoose").ClientSession | null, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
688
+ _id: string;
689
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
690
+ _id: string;
691
+ } & Required<{
692
+ _id: string;
693
+ }> & {
694
+ __v: number;
695
+ } & {
696
+ id: string;
697
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
698
+ _id: string;
699
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
700
+ _id: string;
701
+ } & Required<{
702
+ _id: string;
703
+ }> & {
704
+ __v: number;
705
+ } & {
706
+ id: string;
707
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
708
+ _id: string;
709
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
710
+ _id: string;
711
+ } & Required<{
712
+ _id: string;
713
+ }> & {
714
+ __v: number;
715
+ } & {
716
+ id: string;
717
+ }> | undefined;
718
+ $set?: import("mongoose").SchemaDefinitionProperty<{
719
+ (path: string | Record<string, any>, val: any, type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
720
+ _id: string;
721
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
722
+ _id: string;
723
+ } & Required<{
724
+ _id: string;
725
+ }> & {
726
+ __v: number;
727
+ } & {
728
+ id: string;
729
+ };
730
+ (path: string | Record<string, any>, val: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
731
+ _id: string;
732
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
733
+ _id: string;
734
+ } & Required<{
735
+ _id: string;
736
+ }> & {
737
+ __v: number;
738
+ } & {
739
+ id: string;
740
+ };
741
+ (value: string | Record<string, any>): import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
742
+ _id: string;
743
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
744
+ _id: string;
745
+ } & Required<{
746
+ _id: string;
747
+ }> & {
748
+ __v: number;
749
+ } & {
750
+ id: string;
751
+ };
752
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
753
+ _id: string;
754
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
755
+ _id: string;
756
+ } & Required<{
757
+ _id: string;
758
+ }> & {
759
+ __v: number;
760
+ } & {
761
+ id: string;
762
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
763
+ _id: string;
764
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
765
+ _id: string;
766
+ } & Required<{
767
+ _id: string;
768
+ }> & {
769
+ __v: number;
770
+ } & {
771
+ id: string;
772
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
773
+ _id: string;
774
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
775
+ _id: string;
776
+ } & Required<{
777
+ _id: string;
778
+ }> & {
779
+ __v: number;
780
+ } & {
781
+ id: string;
782
+ }> | undefined;
783
+ $where?: import("mongoose").SchemaDefinitionProperty<Record<string, unknown>, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
784
+ _id: string;
785
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
786
+ _id: string;
787
+ } & Required<{
788
+ _id: string;
789
+ }> & {
790
+ __v: number;
791
+ } & {
792
+ id: string;
793
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
794
+ _id: string;
795
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
796
+ _id: string;
797
+ } & Required<{
798
+ _id: string;
799
+ }> & {
800
+ __v: number;
801
+ } & {
802
+ id: string;
803
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
804
+ _id: string;
805
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
806
+ _id: string;
807
+ } & Required<{
808
+ _id: string;
809
+ }> & {
810
+ __v: number;
811
+ } & {
812
+ id: string;
813
+ }> | undefined;
814
+ baseModelName?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
815
+ _id: string;
816
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
817
+ _id: string;
818
+ } & Required<{
819
+ _id: string;
820
+ }> & {
821
+ __v: number;
822
+ } & {
823
+ id: string;
824
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
825
+ _id: string;
826
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
827
+ _id: string;
828
+ } & Required<{
829
+ _id: string;
830
+ }> & {
831
+ __v: number;
832
+ } & {
833
+ id: string;
834
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
835
+ _id: string;
836
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
837
+ _id: string;
838
+ } & Required<{
839
+ _id: string;
840
+ }> & {
841
+ __v: number;
842
+ } & {
843
+ id: string;
844
+ }> | undefined;
845
+ collection?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Collection<import("bson").Document>, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
846
+ _id: string;
847
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
848
+ _id: string;
849
+ } & Required<{
850
+ _id: string;
851
+ }> & {
852
+ __v: number;
853
+ } & {
854
+ id: string;
855
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
856
+ _id: string;
857
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
858
+ _id: string;
859
+ } & Required<{
860
+ _id: string;
861
+ }> & {
862
+ __v: number;
863
+ } & {
864
+ id: string;
865
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
866
+ _id: string;
867
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
868
+ _id: string;
869
+ } & Required<{
870
+ _id: string;
871
+ }> & {
872
+ __v: number;
873
+ } & {
874
+ id: string;
875
+ }> | undefined;
876
+ db?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Connection, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
877
+ _id: string;
878
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
879
+ _id: string;
880
+ } & Required<{
881
+ _id: string;
882
+ }> & {
883
+ __v: number;
884
+ } & {
885
+ id: string;
886
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
887
+ _id: string;
888
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
889
+ _id: string;
890
+ } & Required<{
891
+ _id: string;
892
+ }> & {
893
+ __v: number;
894
+ } & {
895
+ id: string;
896
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
897
+ _id: string;
898
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
899
+ _id: string;
900
+ } & Required<{
901
+ _id: string;
902
+ }> & {
903
+ __v: number;
904
+ } & {
905
+ id: string;
906
+ }> | undefined;
907
+ deleteOne?: import("mongoose").SchemaDefinitionProperty<(options?: import("mongoose").QueryOptions) => import("mongoose").Query<import("mongodb").DeleteResult, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
908
+ _id: string;
909
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
910
+ _id: string;
911
+ } & Required<{
912
+ _id: string;
913
+ }> & {
914
+ __v: number;
915
+ } & {
916
+ id: string;
917
+ }, {}, Omit<IProfitShare, "id"> & {
918
+ _id: string;
919
+ }, "deleteOne", Record<string, never>>, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
920
+ _id: string;
921
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
922
+ _id: string;
923
+ } & Required<{
924
+ _id: string;
925
+ }> & {
926
+ __v: number;
927
+ } & {
928
+ id: string;
929
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
930
+ _id: string;
931
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
932
+ _id: string;
933
+ } & Required<{
934
+ _id: string;
935
+ }> & {
936
+ __v: number;
937
+ } & {
938
+ id: string;
939
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
940
+ _id: string;
941
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
942
+ _id: string;
943
+ } & Required<{
944
+ _id: string;
945
+ }> & {
946
+ __v: number;
947
+ } & {
948
+ id: string;
949
+ }> | undefined;
950
+ depopulate?: import("mongoose").SchemaDefinitionProperty<(<Paths = {}>(path?: string | string[]) => import("mongoose").MergeType<import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
951
+ _id: string;
952
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
953
+ _id: string;
954
+ } & Required<{
955
+ _id: string;
956
+ }> & {
957
+ __v: number;
958
+ } & {
959
+ id: string;
960
+ }, Paths>), import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
961
+ _id: string;
962
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
963
+ _id: string;
964
+ } & Required<{
965
+ _id: string;
966
+ }> & {
967
+ __v: number;
968
+ } & {
969
+ id: string;
970
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
971
+ _id: string;
972
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
973
+ _id: string;
974
+ } & Required<{
975
+ _id: string;
976
+ }> & {
977
+ __v: number;
978
+ } & {
979
+ id: string;
980
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
981
+ _id: string;
982
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
983
+ _id: string;
984
+ } & Required<{
985
+ _id: string;
986
+ }> & {
987
+ __v: number;
988
+ } & {
989
+ id: string;
990
+ }> | undefined;
991
+ directModifiedPaths?: import("mongoose").SchemaDefinitionProperty<() => Array<string>, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
992
+ _id: string;
993
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
994
+ _id: string;
995
+ } & Required<{
996
+ _id: string;
997
+ }> & {
998
+ __v: number;
999
+ } & {
1000
+ id: string;
1001
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1002
+ _id: string;
1003
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1004
+ _id: string;
1005
+ } & Required<{
1006
+ _id: string;
1007
+ }> & {
1008
+ __v: number;
1009
+ } & {
1010
+ id: string;
1011
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1012
+ _id: string;
1013
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1014
+ _id: string;
1015
+ } & Required<{
1016
+ _id: string;
1017
+ }> & {
1018
+ __v: number;
1019
+ } & {
1020
+ id: string;
1021
+ }> | undefined;
1022
+ equals?: import("mongoose").SchemaDefinitionProperty<(doc: import("mongoose").Document<unknown, any, any, Record<string, any>, {}>) => boolean, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1023
+ _id: string;
1024
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1025
+ _id: string;
1026
+ } & Required<{
1027
+ _id: string;
1028
+ }> & {
1029
+ __v: number;
1030
+ } & {
1031
+ id: string;
1032
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1033
+ _id: string;
1034
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1035
+ _id: string;
1036
+ } & Required<{
1037
+ _id: string;
1038
+ }> & {
1039
+ __v: number;
1040
+ } & {
1041
+ id: string;
1042
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1043
+ _id: string;
1044
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1045
+ _id: string;
1046
+ } & Required<{
1047
+ _id: string;
1048
+ }> & {
1049
+ __v: number;
1050
+ } & {
1051
+ id: string;
1052
+ }> | undefined;
1053
+ errors?: import("mongoose").SchemaDefinitionProperty<import("mongoose").Error.ValidationError | undefined, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1054
+ _id: string;
1055
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1056
+ _id: string;
1057
+ } & Required<{
1058
+ _id: string;
1059
+ }> & {
1060
+ __v: number;
1061
+ } & {
1062
+ id: string;
1063
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1064
+ _id: string;
1065
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1066
+ _id: string;
1067
+ } & Required<{
1068
+ _id: string;
1069
+ }> & {
1070
+ __v: number;
1071
+ } & {
1072
+ id: string;
1073
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1074
+ _id: string;
1075
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1076
+ _id: string;
1077
+ } & Required<{
1078
+ _id: string;
1079
+ }> & {
1080
+ __v: number;
1081
+ } & {
1082
+ id: string;
1083
+ }> | undefined;
1084
+ get?: import("mongoose").SchemaDefinitionProperty<{
1085
+ <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T, type?: any, options?: any): (Omit<IProfitShare, "id"> & {
1086
+ _id: string;
1087
+ })[T];
1088
+ (path: string, type?: any, options?: any): any;
1089
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1090
+ _id: string;
1091
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1092
+ _id: string;
1093
+ } & Required<{
1094
+ _id: string;
1095
+ }> & {
1096
+ __v: number;
1097
+ } & {
1098
+ id: string;
1099
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1100
+ _id: string;
1101
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1102
+ _id: string;
1103
+ } & Required<{
1104
+ _id: string;
1105
+ }> & {
1106
+ __v: number;
1107
+ } & {
1108
+ id: string;
1109
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1110
+ _id: string;
1111
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1112
+ _id: string;
1113
+ } & Required<{
1114
+ _id: string;
1115
+ }> & {
1116
+ __v: number;
1117
+ } & {
1118
+ id: string;
1119
+ }> | undefined;
1120
+ getChanges?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").UpdateQuery<import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1121
+ _id: string;
1122
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1123
+ _id: string;
1124
+ } & Required<{
1125
+ _id: string;
1126
+ }> & {
1127
+ __v: number;
1128
+ } & {
1129
+ id: string;
1130
+ }>, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1131
+ _id: string;
1132
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1133
+ _id: string;
1134
+ } & Required<{
1135
+ _id: string;
1136
+ }> & {
1137
+ __v: number;
1138
+ } & {
1139
+ id: string;
1140
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1141
+ _id: string;
1142
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1143
+ _id: string;
1144
+ } & Required<{
1145
+ _id: string;
1146
+ }> & {
1147
+ __v: number;
1148
+ } & {
1149
+ id: string;
1150
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1151
+ _id: string;
1152
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1153
+ _id: string;
1154
+ } & Required<{
1155
+ _id: string;
1156
+ }> & {
1157
+ __v: number;
1158
+ } & {
1159
+ id: string;
1160
+ }> | undefined;
1161
+ increment?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1162
+ _id: string;
1163
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1164
+ _id: string;
1165
+ } & Required<{
1166
+ _id: string;
1167
+ }> & {
1168
+ __v: number;
1169
+ } & {
1170
+ id: string;
1171
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1172
+ _id: string;
1173
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1174
+ _id: string;
1175
+ } & Required<{
1176
+ _id: string;
1177
+ }> & {
1178
+ __v: number;
1179
+ } & {
1180
+ id: string;
1181
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1182
+ _id: string;
1183
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1184
+ _id: string;
1185
+ } & Required<{
1186
+ _id: string;
1187
+ }> & {
1188
+ __v: number;
1189
+ } & {
1190
+ id: string;
1191
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1192
+ _id: string;
1193
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1194
+ _id: string;
1195
+ } & Required<{
1196
+ _id: string;
1197
+ }> & {
1198
+ __v: number;
1199
+ } & {
1200
+ id: string;
1201
+ }> | undefined;
1202
+ init?: import("mongoose").SchemaDefinitionProperty<(obj: import("mongoose").AnyObject, opts?: import("mongoose").AnyObject) => import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1203
+ _id: string;
1204
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1205
+ _id: string;
1206
+ } & Required<{
1207
+ _id: string;
1208
+ }> & {
1209
+ __v: number;
1210
+ } & {
1211
+ id: string;
1212
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1213
+ _id: string;
1214
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1215
+ _id: string;
1216
+ } & Required<{
1217
+ _id: string;
1218
+ }> & {
1219
+ __v: number;
1220
+ } & {
1221
+ id: string;
1222
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1223
+ _id: string;
1224
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1225
+ _id: string;
1226
+ } & Required<{
1227
+ _id: string;
1228
+ }> & {
1229
+ __v: number;
1230
+ } & {
1231
+ id: string;
1232
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1233
+ _id: string;
1234
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1235
+ _id: string;
1236
+ } & Required<{
1237
+ _id: string;
1238
+ }> & {
1239
+ __v: number;
1240
+ } & {
1241
+ id: string;
1242
+ }> | undefined;
1243
+ invalidate?: import("mongoose").SchemaDefinitionProperty<{
1244
+ <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1245
+ (path: string, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1246
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1247
+ _id: string;
1248
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1249
+ _id: string;
1250
+ } & Required<{
1251
+ _id: string;
1252
+ }> & {
1253
+ __v: number;
1254
+ } & {
1255
+ id: string;
1256
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1257
+ _id: string;
1258
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1259
+ _id: string;
1260
+ } & Required<{
1261
+ _id: string;
1262
+ }> & {
1263
+ __v: number;
1264
+ } & {
1265
+ id: string;
1266
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1267
+ _id: string;
1268
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1269
+ _id: string;
1270
+ } & Required<{
1271
+ _id: string;
1272
+ }> & {
1273
+ __v: number;
1274
+ } & {
1275
+ id: string;
1276
+ }> | undefined;
1277
+ isDirectModified?: import("mongoose").SchemaDefinitionProperty<{
1278
+ <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T | T[]): boolean;
1279
+ (path: string | Array<string>): boolean;
1280
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1281
+ _id: string;
1282
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1283
+ _id: string;
1284
+ } & Required<{
1285
+ _id: string;
1286
+ }> & {
1287
+ __v: number;
1288
+ } & {
1289
+ id: string;
1290
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1291
+ _id: string;
1292
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1293
+ _id: string;
1294
+ } & Required<{
1295
+ _id: string;
1296
+ }> & {
1297
+ __v: number;
1298
+ } & {
1299
+ id: string;
1300
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1301
+ _id: string;
1302
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1303
+ _id: string;
1304
+ } & Required<{
1305
+ _id: string;
1306
+ }> & {
1307
+ __v: number;
1308
+ } & {
1309
+ id: string;
1310
+ }> | undefined;
1311
+ isDirectSelected?: import("mongoose").SchemaDefinitionProperty<{
1312
+ <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T): boolean;
1313
+ (path: string): boolean;
1314
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1315
+ _id: string;
1316
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1317
+ _id: string;
1318
+ } & Required<{
1319
+ _id: string;
1320
+ }> & {
1321
+ __v: number;
1322
+ } & {
1323
+ id: string;
1324
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1325
+ _id: string;
1326
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1327
+ _id: string;
1328
+ } & Required<{
1329
+ _id: string;
1330
+ }> & {
1331
+ __v: number;
1332
+ } & {
1333
+ id: string;
1334
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1335
+ _id: string;
1336
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1337
+ _id: string;
1338
+ } & Required<{
1339
+ _id: string;
1340
+ }> & {
1341
+ __v: number;
1342
+ } & {
1343
+ id: string;
1344
+ }> | undefined;
1345
+ isInit?: import("mongoose").SchemaDefinitionProperty<{
1346
+ <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T): boolean;
1347
+ (path: string): boolean;
1348
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1349
+ _id: string;
1350
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1351
+ _id: string;
1352
+ } & Required<{
1353
+ _id: string;
1354
+ }> & {
1355
+ __v: number;
1356
+ } & {
1357
+ id: string;
1358
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1359
+ _id: string;
1360
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1361
+ _id: string;
1362
+ } & Required<{
1363
+ _id: string;
1364
+ }> & {
1365
+ __v: number;
1366
+ } & {
1367
+ id: string;
1368
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1369
+ _id: string;
1370
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1371
+ _id: string;
1372
+ } & Required<{
1373
+ _id: string;
1374
+ }> & {
1375
+ __v: number;
1376
+ } & {
1377
+ id: string;
1378
+ }> | undefined;
1379
+ isModified?: import("mongoose").SchemaDefinitionProperty<{
1380
+ <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path?: T | T[] | undefined, options?: {
1381
+ ignoreAtomics?: boolean;
1382
+ } | null): boolean;
1383
+ (path?: string | Array<string>, options?: {
1384
+ ignoreAtomics?: boolean;
1385
+ } | null): boolean;
1386
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1387
+ _id: string;
1388
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1389
+ _id: string;
1390
+ } & Required<{
1391
+ _id: string;
1392
+ }> & {
1393
+ __v: number;
1394
+ } & {
1395
+ id: string;
1396
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1397
+ _id: string;
1398
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1399
+ _id: string;
1400
+ } & Required<{
1401
+ _id: string;
1402
+ }> & {
1403
+ __v: number;
1404
+ } & {
1405
+ id: string;
1406
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1407
+ _id: string;
1408
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1409
+ _id: string;
1410
+ } & Required<{
1411
+ _id: string;
1412
+ }> & {
1413
+ __v: number;
1414
+ } & {
1415
+ id: string;
1416
+ }> | undefined;
1417
+ isNew?: import("mongoose").SchemaDefinitionProperty<boolean, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1418
+ _id: string;
1419
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1420
+ _id: string;
1421
+ } & Required<{
1422
+ _id: string;
1423
+ }> & {
1424
+ __v: number;
1425
+ } & {
1426
+ id: string;
1427
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1428
+ _id: string;
1429
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1430
+ _id: string;
1431
+ } & Required<{
1432
+ _id: string;
1433
+ }> & {
1434
+ __v: number;
1435
+ } & {
1436
+ id: string;
1437
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1438
+ _id: string;
1439
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1440
+ _id: string;
1441
+ } & Required<{
1442
+ _id: string;
1443
+ }> & {
1444
+ __v: number;
1445
+ } & {
1446
+ id: string;
1447
+ }> | undefined;
1448
+ isSelected?: import("mongoose").SchemaDefinitionProperty<{
1449
+ <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T): boolean;
1450
+ (path: string): boolean;
1451
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1452
+ _id: string;
1453
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1454
+ _id: string;
1455
+ } & Required<{
1456
+ _id: string;
1457
+ }> & {
1458
+ __v: number;
1459
+ } & {
1460
+ id: string;
1461
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1462
+ _id: string;
1463
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1464
+ _id: string;
1465
+ } & Required<{
1466
+ _id: string;
1467
+ }> & {
1468
+ __v: number;
1469
+ } & {
1470
+ id: string;
1471
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1472
+ _id: string;
1473
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1474
+ _id: string;
1475
+ } & Required<{
1476
+ _id: string;
1477
+ }> & {
1478
+ __v: number;
1479
+ } & {
1480
+ id: string;
1481
+ }> | undefined;
1482
+ markModified?: import("mongoose").SchemaDefinitionProperty<{
1483
+ <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T, scope?: any): void;
1484
+ (path: string, scope?: any): void;
1485
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1486
+ _id: string;
1487
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1488
+ _id: string;
1489
+ } & Required<{
1490
+ _id: string;
1491
+ }> & {
1492
+ __v: number;
1493
+ } & {
1494
+ id: string;
1495
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1496
+ _id: string;
1497
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1498
+ _id: string;
1499
+ } & Required<{
1500
+ _id: string;
1501
+ }> & {
1502
+ __v: number;
1503
+ } & {
1504
+ id: string;
1505
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1506
+ _id: string;
1507
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1508
+ _id: string;
1509
+ } & Required<{
1510
+ _id: string;
1511
+ }> & {
1512
+ __v: number;
1513
+ } & {
1514
+ id: string;
1515
+ }> | undefined;
1516
+ model?: import("mongoose").SchemaDefinitionProperty<{
1517
+ <ModelType = Model<unknown, {}, {}, {}, import("mongoose").Document<unknown, {}, unknown, {}, import("mongoose").DefaultSchemaOptions> & {
1518
+ _id: import("mongoose").Types.ObjectId;
1519
+ } & {
1520
+ __v: number;
1521
+ } & {
1522
+ id: string;
1523
+ }, any, unknown>>(name: string): ModelType;
1524
+ <ModelType = Model<Omit<IProfitShare, "id"> & {
1525
+ _id: string;
1526
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1527
+ _id: string;
1528
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1529
+ _id: string;
1530
+ } & Required<{
1531
+ _id: string;
1532
+ }> & {
1533
+ __v: number;
1534
+ } & {
1535
+ id: string;
1536
+ }, any, Omit<IProfitShare, "id"> & {
1537
+ _id: string;
1538
+ }>>(): ModelType;
1539
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1540
+ _id: string;
1541
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1542
+ _id: string;
1543
+ } & Required<{
1544
+ _id: string;
1545
+ }> & {
1546
+ __v: number;
1547
+ } & {
1548
+ id: string;
1549
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1550
+ _id: string;
1551
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1552
+ _id: string;
1553
+ } & Required<{
1554
+ _id: string;
1555
+ }> & {
1556
+ __v: number;
1557
+ } & {
1558
+ id: string;
1559
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1560
+ _id: string;
1561
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1562
+ _id: string;
1563
+ } & Required<{
1564
+ _id: string;
1565
+ }> & {
1566
+ __v: number;
1567
+ } & {
1568
+ id: string;
1569
+ }> | undefined;
1570
+ modifiedPaths?: import("mongoose").SchemaDefinitionProperty<(options?: {
1571
+ includeChildren?: boolean;
1572
+ }) => Array<string>, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1573
+ _id: string;
1574
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1575
+ _id: string;
1576
+ } & Required<{
1577
+ _id: string;
1578
+ }> & {
1579
+ __v: number;
1580
+ } & {
1581
+ id: string;
1582
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1583
+ _id: string;
1584
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1585
+ _id: string;
1586
+ } & Required<{
1587
+ _id: string;
1588
+ }> & {
1589
+ __v: number;
1590
+ } & {
1591
+ id: string;
1592
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1593
+ _id: string;
1594
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1595
+ _id: string;
1596
+ } & Required<{
1597
+ _id: string;
1598
+ }> & {
1599
+ __v: number;
1600
+ } & {
1601
+ id: string;
1602
+ }> | undefined;
1603
+ overwrite?: import("mongoose").SchemaDefinitionProperty<(obj: import("mongoose").AnyObject) => import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1604
+ _id: string;
1605
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1606
+ _id: string;
1607
+ } & Required<{
1608
+ _id: string;
1609
+ }> & {
1610
+ __v: number;
1611
+ } & {
1612
+ id: string;
1613
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1614
+ _id: string;
1615
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1616
+ _id: string;
1617
+ } & Required<{
1618
+ _id: string;
1619
+ }> & {
1620
+ __v: number;
1621
+ } & {
1622
+ id: string;
1623
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1624
+ _id: string;
1625
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1626
+ _id: string;
1627
+ } & Required<{
1628
+ _id: string;
1629
+ }> & {
1630
+ __v: number;
1631
+ } & {
1632
+ id: string;
1633
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1634
+ _id: string;
1635
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1636
+ _id: string;
1637
+ } & Required<{
1638
+ _id: string;
1639
+ }> & {
1640
+ __v: number;
1641
+ } & {
1642
+ id: string;
1643
+ }> | undefined;
1644
+ $parent?: import("mongoose").SchemaDefinitionProperty<() => import("mongoose").Document | undefined, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1645
+ _id: string;
1646
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1647
+ _id: string;
1648
+ } & Required<{
1649
+ _id: string;
1650
+ }> & {
1651
+ __v: number;
1652
+ } & {
1653
+ id: string;
1654
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1655
+ _id: string;
1656
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1657
+ _id: string;
1658
+ } & Required<{
1659
+ _id: string;
1660
+ }> & {
1661
+ __v: number;
1662
+ } & {
1663
+ id: string;
1664
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1665
+ _id: string;
1666
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1667
+ _id: string;
1668
+ } & Required<{
1669
+ _id: string;
1670
+ }> & {
1671
+ __v: number;
1672
+ } & {
1673
+ id: string;
1674
+ }> | undefined;
1675
+ populate?: import("mongoose").SchemaDefinitionProperty<{
1676
+ <Paths = {}>(path: string | import("mongoose").PopulateOptions | (string | import("mongoose").PopulateOptions)[]): Promise<import("mongoose").MergeType<import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1677
+ _id: string;
1678
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1679
+ _id: string;
1680
+ } & Required<{
1681
+ _id: string;
1682
+ }> & {
1683
+ __v: number;
1684
+ } & {
1685
+ id: string;
1686
+ }, Paths>>;
1687
+ <Paths = {}>(path: string, select?: string | import("mongoose").AnyObject, model?: Model<any>, match?: import("mongoose").AnyObject, options?: import("mongoose").PopulateOptions): Promise<import("mongoose").MergeType<import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1688
+ _id: string;
1689
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1690
+ _id: string;
1691
+ } & Required<{
1692
+ _id: string;
1693
+ }> & {
1694
+ __v: number;
1695
+ } & {
1696
+ id: string;
1697
+ }, Paths>>;
1698
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1699
+ _id: string;
1700
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1701
+ _id: string;
1702
+ } & Required<{
1703
+ _id: string;
1704
+ }> & {
1705
+ __v: number;
1706
+ } & {
1707
+ id: string;
1708
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1709
+ _id: string;
1710
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1711
+ _id: string;
1712
+ } & Required<{
1713
+ _id: string;
1714
+ }> & {
1715
+ __v: number;
1716
+ } & {
1717
+ id: string;
1718
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1719
+ _id: string;
1720
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1721
+ _id: string;
1722
+ } & Required<{
1723
+ _id: string;
1724
+ }> & {
1725
+ __v: number;
1726
+ } & {
1727
+ id: string;
1728
+ }> | undefined;
1729
+ populated?: import("mongoose").SchemaDefinitionProperty<(path: string) => any, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1730
+ _id: string;
1731
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1732
+ _id: string;
1733
+ } & Required<{
1734
+ _id: string;
1735
+ }> & {
1736
+ __v: number;
1737
+ } & {
1738
+ id: string;
1739
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1740
+ _id: string;
1741
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1742
+ _id: string;
1743
+ } & Required<{
1744
+ _id: string;
1745
+ }> & {
1746
+ __v: number;
1747
+ } & {
1748
+ id: string;
1749
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1750
+ _id: string;
1751
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1752
+ _id: string;
1753
+ } & Required<{
1754
+ _id: string;
1755
+ }> & {
1756
+ __v: number;
1757
+ } & {
1758
+ id: string;
1759
+ }> | undefined;
1760
+ replaceOne?: import("mongoose").SchemaDefinitionProperty<(replacement?: import("mongoose").AnyObject, options?: import("mongoose").QueryOptions | null) => import("mongoose").Query<any, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1761
+ _id: string;
1762
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1763
+ _id: string;
1764
+ } & Required<{
1765
+ _id: string;
1766
+ }> & {
1767
+ __v: number;
1768
+ } & {
1769
+ id: string;
1770
+ }, {}, unknown, "find", Record<string, never>>, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1771
+ _id: string;
1772
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1773
+ _id: string;
1774
+ } & Required<{
1775
+ _id: string;
1776
+ }> & {
1777
+ __v: number;
1778
+ } & {
1779
+ id: string;
1780
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1781
+ _id: string;
1782
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1783
+ _id: string;
1784
+ } & Required<{
1785
+ _id: string;
1786
+ }> & {
1787
+ __v: number;
1788
+ } & {
1789
+ id: string;
1790
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1791
+ _id: string;
1792
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1793
+ _id: string;
1794
+ } & Required<{
1795
+ _id: string;
1796
+ }> & {
1797
+ __v: number;
1798
+ } & {
1799
+ id: string;
1800
+ }> | undefined;
1801
+ save?: import("mongoose").SchemaDefinitionProperty<(options?: import("mongoose").SaveOptions) => Promise<import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1802
+ _id: string;
1803
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1804
+ _id: string;
1805
+ } & Required<{
1806
+ _id: string;
1807
+ }> & {
1808
+ __v: number;
1809
+ } & {
1810
+ id: string;
1811
+ }>, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1812
+ _id: string;
1813
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1814
+ _id: string;
1815
+ } & Required<{
1816
+ _id: string;
1817
+ }> & {
1818
+ __v: number;
1819
+ } & {
1820
+ id: string;
1821
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1822
+ _id: string;
1823
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1824
+ _id: string;
1825
+ } & Required<{
1826
+ _id: string;
1827
+ }> & {
1828
+ __v: number;
1829
+ } & {
1830
+ id: string;
1831
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1832
+ _id: string;
1833
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1834
+ _id: string;
1835
+ } & Required<{
1836
+ _id: string;
1837
+ }> & {
1838
+ __v: number;
1839
+ } & {
1840
+ id: string;
1841
+ }> | undefined;
1842
+ schema?: import("mongoose").SchemaDefinitionProperty<Schema<any, Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
1843
+ [x: number]: unknown;
1844
+ [x: symbol]: unknown;
1845
+ [x: string]: unknown;
1846
+ }, import("mongoose").Document<unknown, {}, {
1847
+ [x: number]: unknown;
1848
+ [x: symbol]: unknown;
1849
+ [x: string]: unknown;
1850
+ }, {
1851
+ id: string;
1852
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<{
1853
+ [x: number]: unknown;
1854
+ [x: symbol]: unknown;
1855
+ [x: string]: unknown;
1856
+ } & Required<{
1857
+ _id: unknown;
1858
+ }> & {
1859
+ __v: number;
1860
+ }, "id"> & {
1861
+ id: string;
1862
+ }, {
1863
+ [path: string]: import("mongoose").SchemaDefinitionProperty<undefined, any, any>;
1864
+ } | {
1865
+ [x: string]: import("mongoose").SchemaDefinitionProperty<any, any, import("mongoose").Document<unknown, {}, {
1866
+ [x: number]: unknown;
1867
+ [x: symbol]: unknown;
1868
+ [x: string]: unknown;
1869
+ }, {
1870
+ id: string;
1871
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<{
1872
+ [x: number]: unknown;
1873
+ [x: symbol]: unknown;
1874
+ [x: string]: unknown;
1875
+ } & Required<{
1876
+ _id: unknown;
1877
+ }> & {
1878
+ __v: number;
1879
+ }, "id"> & {
1880
+ id: string;
1881
+ }> | undefined;
1882
+ }, {
1883
+ [x: number]: {};
1884
+ [x: symbol]: {};
1885
+ [x: string]: {};
1886
+ } & Required<{
1887
+ _id: unknown;
1888
+ }> & {
1889
+ __v: number;
1890
+ }>, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1891
+ _id: string;
1892
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1893
+ _id: string;
1894
+ } & Required<{
1895
+ _id: string;
1896
+ }> & {
1897
+ __v: number;
1898
+ } & {
1899
+ id: string;
1900
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1901
+ _id: string;
1902
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1903
+ _id: string;
1904
+ } & Required<{
1905
+ _id: string;
1906
+ }> & {
1907
+ __v: number;
1908
+ } & {
1909
+ id: string;
1910
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1911
+ _id: string;
1912
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1913
+ _id: string;
1914
+ } & Required<{
1915
+ _id: string;
1916
+ }> & {
1917
+ __v: number;
1918
+ } & {
1919
+ id: string;
1920
+ }> | undefined;
1921
+ set?: import("mongoose").SchemaDefinitionProperty<{
1922
+ <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T, val: (Omit<IProfitShare, "id"> & {
1923
+ _id: string;
1924
+ })[T], type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1925
+ _id: string;
1926
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1927
+ _id: string;
1928
+ } & Required<{
1929
+ _id: string;
1930
+ }> & {
1931
+ __v: number;
1932
+ } & {
1933
+ id: string;
1934
+ };
1935
+ (path: string | Record<string, any>, val: any, type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1936
+ _id: string;
1937
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1938
+ _id: string;
1939
+ } & Required<{
1940
+ _id: string;
1941
+ }> & {
1942
+ __v: number;
1943
+ } & {
1944
+ id: string;
1945
+ };
1946
+ (path: string | Record<string, any>, val: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1947
+ _id: string;
1948
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1949
+ _id: string;
1950
+ } & Required<{
1951
+ _id: string;
1952
+ }> & {
1953
+ __v: number;
1954
+ } & {
1955
+ id: string;
1956
+ };
1957
+ (value: string | Record<string, any>): import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1958
+ _id: string;
1959
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1960
+ _id: string;
1961
+ } & Required<{
1962
+ _id: string;
1963
+ }> & {
1964
+ __v: number;
1965
+ } & {
1966
+ id: string;
1967
+ };
1968
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1969
+ _id: string;
1970
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1971
+ _id: string;
1972
+ } & Required<{
1973
+ _id: string;
1974
+ }> & {
1975
+ __v: number;
1976
+ } & {
1977
+ id: string;
1978
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1979
+ _id: string;
1980
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1981
+ _id: string;
1982
+ } & Required<{
1983
+ _id: string;
1984
+ }> & {
1985
+ __v: number;
1986
+ } & {
1987
+ id: string;
1988
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
1989
+ _id: string;
1990
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
1991
+ _id: string;
1992
+ } & Required<{
1993
+ _id: string;
1994
+ }> & {
1995
+ __v: number;
1996
+ } & {
1997
+ id: string;
1998
+ }> | undefined;
1999
+ toJSON?: import("mongoose").SchemaDefinitionProperty<{
2000
+ (options: import("mongoose").ToObjectOptions & {
2001
+ flattenMaps: false;
2002
+ flattenObjectIds: true;
2003
+ virtuals: true;
2004
+ versionKey: false;
2005
+ }): {
2006
+ status: ProfitShareStatus;
2007
+ currency: string;
2008
+ companyId: string;
2009
+ createdAt: Date;
2010
+ updatedAt: Date;
2011
+ _id: string;
2012
+ platformFee: number;
2013
+ processedAt?: Date | undefined;
2014
+ paidAt?: Date | undefined;
2015
+ tmcCompanyId: string;
2016
+ sharePercentage: number;
2017
+ agreementId: string;
2018
+ triggerType: import("../index.js").ProfitShareTriggerType;
2019
+ triggerId: string;
2020
+ originalAmount: number;
2021
+ grossShareAmount: number;
2022
+ netShareAmount: number;
2023
+ failureReason?: string | undefined;
2024
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2025
+ stripeTransferId?: string | undefined;
2026
+ };
2027
+ (options: import("mongoose").ToObjectOptions & {
2028
+ flattenMaps: false;
2029
+ flattenObjectIds: true;
2030
+ virtuals: true;
2031
+ }): {
2032
+ status: ProfitShareStatus;
2033
+ currency: string;
2034
+ companyId: string;
2035
+ createdAt: Date;
2036
+ updatedAt: Date;
2037
+ platformFee: number;
2038
+ processedAt?: Date | undefined;
2039
+ paidAt?: Date | undefined;
2040
+ tmcCompanyId: string;
2041
+ sharePercentage: number;
2042
+ agreementId: string;
2043
+ triggerType: import("../index.js").ProfitShareTriggerType;
2044
+ triggerId: string;
2045
+ originalAmount: number;
2046
+ grossShareAmount: number;
2047
+ netShareAmount: number;
2048
+ failureReason?: string | undefined;
2049
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2050
+ stripeTransferId?: string | undefined;
2051
+ _id: string;
2052
+ };
2053
+ (options: import("mongoose").ToObjectOptions & {
2054
+ flattenMaps: false;
2055
+ flattenObjectIds: false;
2056
+ virtuals: true;
2057
+ versionKey: false;
2058
+ }): Omit<Omit<IProfitShare, "id"> & {
2059
+ _id: string;
2060
+ } & Required<{
2061
+ _id: string;
2062
+ }>, "__v">;
2063
+ (options: import("mongoose").ToObjectOptions & {
2064
+ flattenMaps: false;
2065
+ flattenObjectIds: false;
2066
+ virtuals: true;
2067
+ }): Omit<IProfitShare, "id"> & {
2068
+ _id: string;
2069
+ } & Required<{
2070
+ _id: string;
2071
+ }>;
2072
+ (options: import("mongoose").ToObjectOptions & {
2073
+ flattenMaps: false;
2074
+ flattenObjectIds: true;
2075
+ virtuals: false;
2076
+ versionKey: false;
2077
+ }): {
2078
+ status: ProfitShareStatus;
2079
+ currency: string;
2080
+ companyId: string;
2081
+ createdAt: Date;
2082
+ updatedAt: Date;
2083
+ _id: string;
2084
+ platformFee: number;
2085
+ processedAt?: Date | undefined;
2086
+ paidAt?: Date | undefined;
2087
+ tmcCompanyId: string;
2088
+ sharePercentage: number;
2089
+ agreementId: string;
2090
+ triggerType: import("../index.js").ProfitShareTriggerType;
2091
+ triggerId: string;
2092
+ originalAmount: number;
2093
+ grossShareAmount: number;
2094
+ netShareAmount: number;
2095
+ failureReason?: string | undefined;
2096
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2097
+ stripeTransferId?: string | undefined;
2098
+ };
2099
+ (options: import("mongoose").ToObjectOptions & {
2100
+ flattenMaps: false;
2101
+ flattenObjectIds: true;
2102
+ virtuals: false;
2103
+ }): {
2104
+ status: ProfitShareStatus;
2105
+ currency: string;
2106
+ companyId: string;
2107
+ createdAt: Date;
2108
+ updatedAt: Date;
2109
+ platformFee: number;
2110
+ processedAt?: Date | undefined;
2111
+ paidAt?: Date | undefined;
2112
+ tmcCompanyId: string;
2113
+ sharePercentage: number;
2114
+ agreementId: string;
2115
+ triggerType: import("../index.js").ProfitShareTriggerType;
2116
+ triggerId: string;
2117
+ originalAmount: number;
2118
+ grossShareAmount: number;
2119
+ netShareAmount: number;
2120
+ failureReason?: string | undefined;
2121
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2122
+ stripeTransferId?: string | undefined;
2123
+ _id: string;
2124
+ };
2125
+ (options: import("mongoose").ToObjectOptions & {
2126
+ flattenMaps: false;
2127
+ flattenObjectIds: false;
2128
+ virtuals: false;
2129
+ versionKey: false;
2130
+ }): Omit<Omit<IProfitShare, "id"> & {
2131
+ _id: string;
2132
+ } & Required<{
2133
+ _id: string;
2134
+ }>, "__v">;
2135
+ (options: import("mongoose").ToObjectOptions & {
2136
+ flattenMaps: false;
2137
+ flattenObjectIds: false;
2138
+ virtuals: false;
2139
+ }): Omit<IProfitShare, "id"> & {
2140
+ _id: string;
2141
+ } & Required<{
2142
+ _id: string;
2143
+ }>;
2144
+ (options: import("mongoose").ToObjectOptions & {
2145
+ flattenMaps: true;
2146
+ flattenObjectIds: true;
2147
+ virtuals: true;
2148
+ versionKey: false;
2149
+ }): {
2150
+ status: ProfitShareStatus;
2151
+ currency: string;
2152
+ companyId: string;
2153
+ createdAt: Date;
2154
+ updatedAt: Date;
2155
+ _id: string;
2156
+ platformFee: number;
2157
+ processedAt?: Date | undefined;
2158
+ paidAt?: Date | undefined;
2159
+ tmcCompanyId: string;
2160
+ sharePercentage: number;
2161
+ agreementId: string;
2162
+ triggerType: import("../index.js").ProfitShareTriggerType;
2163
+ triggerId: string;
2164
+ originalAmount: number;
2165
+ grossShareAmount: number;
2166
+ netShareAmount: number;
2167
+ failureReason?: string | undefined;
2168
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2169
+ stripeTransferId?: string | undefined;
2170
+ };
2171
+ (options: import("mongoose").ToObjectOptions & {
2172
+ flattenMaps: true;
2173
+ flattenObjectIds: true;
2174
+ virtuals: true;
2175
+ }): {
2176
+ status: ProfitShareStatus;
2177
+ currency: string;
2178
+ companyId: string;
2179
+ createdAt: Date;
2180
+ updatedAt: Date;
2181
+ platformFee: number;
2182
+ processedAt?: Date | undefined;
2183
+ paidAt?: Date | undefined;
2184
+ tmcCompanyId: string;
2185
+ sharePercentage: number;
2186
+ agreementId: string;
2187
+ triggerType: import("../index.js").ProfitShareTriggerType;
2188
+ triggerId: string;
2189
+ originalAmount: number;
2190
+ grossShareAmount: number;
2191
+ netShareAmount: number;
2192
+ failureReason?: string | undefined;
2193
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2194
+ stripeTransferId?: string | undefined;
2195
+ _id: string;
2196
+ };
2197
+ (options: import("mongoose").ToObjectOptions & {
2198
+ flattenMaps: true;
2199
+ flattenObjectIds: false;
2200
+ virtuals: true;
2201
+ versionKey: false;
2202
+ }): Omit<import("mongoose").FlattenMaps<Omit<IProfitShare, "id"> & {
2203
+ _id: string;
2204
+ } & Required<{
2205
+ _id: string;
2206
+ }>>, "__v">;
2207
+ (options: import("mongoose").ToObjectOptions & {
2208
+ flattenMaps: true;
2209
+ flattenObjectIds: false;
2210
+ virtuals: true;
2211
+ }): import("mongoose").FlattenMaps<Omit<IProfitShare, "id"> & {
2212
+ _id: string;
2213
+ } & Required<{
2214
+ _id: string;
2215
+ }>>;
2216
+ (options: import("mongoose").ToObjectOptions & {
2217
+ flattenMaps: true;
2218
+ flattenObjectIds: true;
2219
+ virtuals: false;
2220
+ versionKey: false;
2221
+ }): {
2222
+ status: ProfitShareStatus;
2223
+ currency: string;
2224
+ companyId: string;
2225
+ createdAt: Date;
2226
+ updatedAt: Date;
2227
+ _id: string;
2228
+ platformFee: number;
2229
+ processedAt?: Date | undefined;
2230
+ paidAt?: Date | undefined;
2231
+ tmcCompanyId: string;
2232
+ sharePercentage: number;
2233
+ agreementId: string;
2234
+ triggerType: import("../index.js").ProfitShareTriggerType;
2235
+ triggerId: string;
2236
+ originalAmount: number;
2237
+ grossShareAmount: number;
2238
+ netShareAmount: number;
2239
+ failureReason?: string | undefined;
2240
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2241
+ stripeTransferId?: string | undefined;
2242
+ };
2243
+ (options: import("mongoose").ToObjectOptions & {
2244
+ flattenMaps: true;
2245
+ flattenObjectIds: true;
2246
+ virtuals: false;
2247
+ }): {
2248
+ status: ProfitShareStatus;
2249
+ currency: string;
2250
+ companyId: string;
2251
+ createdAt: Date;
2252
+ updatedAt: Date;
2253
+ platformFee: number;
2254
+ processedAt?: Date | undefined;
2255
+ paidAt?: Date | undefined;
2256
+ tmcCompanyId: string;
2257
+ sharePercentage: number;
2258
+ agreementId: string;
2259
+ triggerType: import("../index.js").ProfitShareTriggerType;
2260
+ triggerId: string;
2261
+ originalAmount: number;
2262
+ grossShareAmount: number;
2263
+ netShareAmount: number;
2264
+ failureReason?: string | undefined;
2265
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2266
+ stripeTransferId?: string | undefined;
2267
+ _id: string;
2268
+ };
2269
+ (options: import("mongoose").ToObjectOptions & {
2270
+ flattenMaps: true;
2271
+ flattenObjectIds: false;
2272
+ virtuals: false;
2273
+ versionKey: false;
2274
+ }): Omit<import("mongoose").FlattenMaps<Omit<IProfitShare, "id"> & {
2275
+ _id: string;
2276
+ } & Required<{
2277
+ _id: string;
2278
+ }>>, "__v">;
2279
+ (options: import("mongoose").ToObjectOptions & {
2280
+ flattenMaps: true;
2281
+ flattenObjectIds: false;
2282
+ virtuals: false;
2283
+ }): import("mongoose").FlattenMaps<Omit<IProfitShare, "id"> & {
2284
+ _id: string;
2285
+ } & Required<{
2286
+ _id: string;
2287
+ }>>;
2288
+ (options: import("mongoose").ToObjectOptions & {
2289
+ flattenMaps: true;
2290
+ flattenObjectIds: true;
2291
+ virtuals: true;
2292
+ }): {
2293
+ status: ProfitShareStatus;
2294
+ currency: string;
2295
+ companyId: string;
2296
+ createdAt: Date;
2297
+ updatedAt: Date;
2298
+ platformFee: number;
2299
+ processedAt?: Date | undefined;
2300
+ paidAt?: Date | undefined;
2301
+ tmcCompanyId: string;
2302
+ sharePercentage: number;
2303
+ agreementId: string;
2304
+ triggerType: import("../index.js").ProfitShareTriggerType;
2305
+ triggerId: string;
2306
+ originalAmount: number;
2307
+ grossShareAmount: number;
2308
+ netShareAmount: number;
2309
+ failureReason?: string | undefined;
2310
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2311
+ stripeTransferId?: string | undefined;
2312
+ _id: string;
2313
+ };
2314
+ (options: import("mongoose").ToObjectOptions & {
2315
+ flattenMaps: true;
2316
+ flattenObjectIds: true;
2317
+ }): {
2318
+ status: ProfitShareStatus;
2319
+ currency: string;
2320
+ companyId: string;
2321
+ createdAt: Date;
2322
+ updatedAt: Date;
2323
+ platformFee: number;
2324
+ processedAt?: Date | undefined;
2325
+ paidAt?: Date | undefined;
2326
+ tmcCompanyId: string;
2327
+ sharePercentage: number;
2328
+ agreementId: string;
2329
+ triggerType: import("../index.js").ProfitShareTriggerType;
2330
+ triggerId: string;
2331
+ originalAmount: number;
2332
+ grossShareAmount: number;
2333
+ netShareAmount: number;
2334
+ failureReason?: string | undefined;
2335
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2336
+ stripeTransferId?: string | undefined;
2337
+ _id: string;
2338
+ };
2339
+ (options: import("mongoose").ToObjectOptions & {
2340
+ flattenObjectIds: true;
2341
+ virtuals: true;
2342
+ }): {
2343
+ status: ProfitShareStatus;
2344
+ currency: string;
2345
+ companyId: string;
2346
+ createdAt: Date;
2347
+ updatedAt: Date;
2348
+ platformFee: number;
2349
+ processedAt?: Date | undefined;
2350
+ paidAt?: Date | undefined;
2351
+ tmcCompanyId: string;
2352
+ sharePercentage: number;
2353
+ agreementId: string;
2354
+ triggerType: import("../index.js").ProfitShareTriggerType;
2355
+ triggerId: string;
2356
+ originalAmount: number;
2357
+ grossShareAmount: number;
2358
+ netShareAmount: number;
2359
+ failureReason?: string | undefined;
2360
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2361
+ stripeTransferId?: string | undefined;
2362
+ _id: string;
2363
+ };
2364
+ (options: import("mongoose").ToObjectOptions & {
2365
+ flattenObjectIds: true;
2366
+ }): {
2367
+ status: ProfitShareStatus;
2368
+ currency: string;
2369
+ companyId: string;
2370
+ createdAt: Date;
2371
+ updatedAt: Date;
2372
+ platformFee: number;
2373
+ processedAt?: Date | undefined;
2374
+ paidAt?: Date | undefined;
2375
+ tmcCompanyId: string;
2376
+ sharePercentage: number;
2377
+ agreementId: string;
2378
+ triggerType: import("../index.js").ProfitShareTriggerType;
2379
+ triggerId: string;
2380
+ originalAmount: number;
2381
+ grossShareAmount: number;
2382
+ netShareAmount: number;
2383
+ failureReason?: string | undefined;
2384
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2385
+ stripeTransferId?: string | undefined;
2386
+ _id: string;
2387
+ };
2388
+ (options: import("mongoose").ToObjectOptions & {
2389
+ flattenMaps: true;
2390
+ virtuals: true;
2391
+ }): import("mongoose").FlattenMaps<Omit<IProfitShare, "id"> & {
2392
+ _id: string;
2393
+ } & Required<{
2394
+ _id: string;
2395
+ }>>;
2396
+ (options: import("mongoose").ToObjectOptions & {
2397
+ flattenMaps: true;
2398
+ }): import("mongoose").FlattenMaps<Omit<IProfitShare, "id"> & {
2399
+ _id: string;
2400
+ } & Required<{
2401
+ _id: string;
2402
+ }>>;
2403
+ (options: import("mongoose").ToObjectOptions & {
2404
+ versionKey: false;
2405
+ flattenMaps: true;
2406
+ flattenObjectIds: true;
2407
+ virtuals: true;
2408
+ }): {
2409
+ status: ProfitShareStatus;
2410
+ currency: string;
2411
+ companyId: string;
2412
+ createdAt: Date;
2413
+ updatedAt: Date;
2414
+ _id: string;
2415
+ platformFee: number;
2416
+ processedAt?: Date | undefined;
2417
+ paidAt?: Date | undefined;
2418
+ tmcCompanyId: string;
2419
+ sharePercentage: number;
2420
+ agreementId: string;
2421
+ triggerType: import("../index.js").ProfitShareTriggerType;
2422
+ triggerId: string;
2423
+ originalAmount: number;
2424
+ grossShareAmount: number;
2425
+ netShareAmount: number;
2426
+ failureReason?: string | undefined;
2427
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2428
+ stripeTransferId?: string | undefined;
2429
+ };
2430
+ (options: import("mongoose").ToObjectOptions & {
2431
+ versionKey: false;
2432
+ flattenMaps: false;
2433
+ flattenObjectIds: true;
2434
+ virtuals: true;
2435
+ }): {
2436
+ status: ProfitShareStatus;
2437
+ currency: string;
2438
+ companyId: string;
2439
+ createdAt: Date;
2440
+ updatedAt: Date;
2441
+ _id: string;
2442
+ platformFee: number;
2443
+ processedAt?: Date | undefined;
2444
+ paidAt?: Date | undefined;
2445
+ tmcCompanyId: string;
2446
+ sharePercentage: number;
2447
+ agreementId: string;
2448
+ triggerType: import("../index.js").ProfitShareTriggerType;
2449
+ triggerId: string;
2450
+ originalAmount: number;
2451
+ grossShareAmount: number;
2452
+ netShareAmount: number;
2453
+ failureReason?: string | undefined;
2454
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2455
+ stripeTransferId?: string | undefined;
2456
+ };
2457
+ (options: import("mongoose").ToObjectOptions & {
2458
+ versionKey: false;
2459
+ flattenMaps: true;
2460
+ virtuals: true;
2461
+ }): Omit<import("mongoose").FlattenMaps<Omit<IProfitShare, "id"> & {
2462
+ _id: string;
2463
+ } & Required<{
2464
+ _id: string;
2465
+ }>>, "__v">;
2466
+ (options: import("mongoose").ToObjectOptions & {
2467
+ versionKey: false;
2468
+ flattenObjectIds: true;
2469
+ virtuals: true;
2470
+ }): {
2471
+ status: ProfitShareStatus;
2472
+ currency: string;
2473
+ companyId: string;
2474
+ createdAt: Date;
2475
+ updatedAt: Date;
2476
+ _id: string;
2477
+ platformFee: number;
2478
+ processedAt?: Date | undefined;
2479
+ paidAt?: Date | undefined;
2480
+ tmcCompanyId: string;
2481
+ sharePercentage: number;
2482
+ agreementId: string;
2483
+ triggerType: import("../index.js").ProfitShareTriggerType;
2484
+ triggerId: string;
2485
+ originalAmount: number;
2486
+ grossShareAmount: number;
2487
+ netShareAmount: number;
2488
+ failureReason?: string | undefined;
2489
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2490
+ stripeTransferId?: string | undefined;
2491
+ };
2492
+ (options: import("mongoose").ToObjectOptions & {
2493
+ versionKey: false;
2494
+ virtuals: true;
2495
+ }): Omit<Omit<IProfitShare, "id"> & {
2496
+ _id: string;
2497
+ } & Required<{
2498
+ _id: string;
2499
+ }>, "__v">;
2500
+ (options: import("mongoose").ToObjectOptions & {
2501
+ versionKey: false;
2502
+ flattenMaps: true;
2503
+ flattenObjectIds: true;
2504
+ }): {
2505
+ status: ProfitShareStatus;
2506
+ currency: string;
2507
+ companyId: string;
2508
+ createdAt: Date;
2509
+ updatedAt: Date;
2510
+ _id: string;
2511
+ platformFee: number;
2512
+ processedAt?: Date | undefined;
2513
+ paidAt?: Date | undefined;
2514
+ tmcCompanyId: string;
2515
+ sharePercentage: number;
2516
+ agreementId: string;
2517
+ triggerType: import("../index.js").ProfitShareTriggerType;
2518
+ triggerId: string;
2519
+ originalAmount: number;
2520
+ grossShareAmount: number;
2521
+ netShareAmount: number;
2522
+ failureReason?: string | undefined;
2523
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2524
+ stripeTransferId?: string | undefined;
2525
+ };
2526
+ (options: import("mongoose").ToObjectOptions & {
2527
+ versionKey: false;
2528
+ flattenObjectIds: true;
2529
+ }): {
2530
+ status: ProfitShareStatus;
2531
+ currency: string;
2532
+ companyId: string;
2533
+ createdAt: Date;
2534
+ updatedAt: Date;
2535
+ _id: string;
2536
+ platformFee: number;
2537
+ processedAt?: Date | undefined;
2538
+ paidAt?: Date | undefined;
2539
+ tmcCompanyId: string;
2540
+ sharePercentage: number;
2541
+ agreementId: string;
2542
+ triggerType: import("../index.js").ProfitShareTriggerType;
2543
+ triggerId: string;
2544
+ originalAmount: number;
2545
+ grossShareAmount: number;
2546
+ netShareAmount: number;
2547
+ failureReason?: string | undefined;
2548
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2549
+ stripeTransferId?: string | undefined;
2550
+ };
2551
+ (options: import("mongoose").ToObjectOptions & {
2552
+ versionKey: false;
2553
+ flattenMaps: true;
2554
+ }): Omit<import("mongoose").FlattenMaps<Omit<IProfitShare, "id"> & {
2555
+ _id: string;
2556
+ } & Required<{
2557
+ _id: string;
2558
+ }>>, "__v">;
2559
+ (options: import("mongoose").ToObjectOptions & {
2560
+ versionKey: false;
2561
+ }): Omit<Omit<IProfitShare, "id"> & {
2562
+ _id: string;
2563
+ } & Required<{
2564
+ _id: string;
2565
+ }>, "__v">;
2566
+ (options: import("mongoose").ToObjectOptions & {
2567
+ virtuals: true;
2568
+ }): Omit<IProfitShare, "id"> & {
2569
+ _id: string;
2570
+ } & Required<{
2571
+ _id: string;
2572
+ }>;
2573
+ (options?: import("mongoose").ToObjectOptions): Omit<IProfitShare, "id"> & {
2574
+ _id: string;
2575
+ } & Required<{
2576
+ _id: string;
2577
+ }> & {
2578
+ __v: number;
2579
+ };
2580
+ <T>(options?: import("mongoose").ToObjectOptions): import("mongoose").Require_id<T> & {
2581
+ __v: number;
2582
+ };
2583
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
2584
+ _id: string;
2585
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
2586
+ _id: string;
2587
+ } & Required<{
2588
+ _id: string;
2589
+ }> & {
2590
+ __v: number;
2591
+ } & {
2592
+ id: string;
2593
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
2594
+ _id: string;
2595
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
2596
+ _id: string;
2597
+ } & Required<{
2598
+ _id: string;
2599
+ }> & {
2600
+ __v: number;
2601
+ } & {
2602
+ id: string;
2603
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
2604
+ _id: string;
2605
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
2606
+ _id: string;
2607
+ } & Required<{
2608
+ _id: string;
2609
+ }> & {
2610
+ __v: number;
2611
+ } & {
2612
+ id: string;
2613
+ }> | undefined;
2614
+ toObject?: import("mongoose").SchemaDefinitionProperty<{
2615
+ (options: import("mongoose").ToObjectOptions & {
2616
+ flattenMaps: false;
2617
+ flattenObjectIds: true;
2618
+ virtuals: true;
2619
+ versionKey: false;
2620
+ }): {
2621
+ status: ProfitShareStatus;
2622
+ currency: string;
2623
+ companyId: string;
2624
+ createdAt: Date;
2625
+ updatedAt: Date;
2626
+ _id: string;
2627
+ platformFee: number;
2628
+ processedAt?: Date | undefined;
2629
+ paidAt?: Date | undefined;
2630
+ tmcCompanyId: string;
2631
+ sharePercentage: number;
2632
+ agreementId: string;
2633
+ triggerType: import("../index.js").ProfitShareTriggerType;
2634
+ triggerId: string;
2635
+ originalAmount: number;
2636
+ grossShareAmount: number;
2637
+ netShareAmount: number;
2638
+ failureReason?: string | undefined;
2639
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2640
+ stripeTransferId?: string | undefined;
2641
+ };
2642
+ (options: import("mongoose").ToObjectOptions & {
2643
+ flattenMaps: false;
2644
+ flattenObjectIds: true;
2645
+ virtuals: true;
2646
+ }): {
2647
+ status: ProfitShareStatus;
2648
+ currency: string;
2649
+ companyId: string;
2650
+ createdAt: Date;
2651
+ updatedAt: Date;
2652
+ platformFee: number;
2653
+ processedAt?: Date | undefined;
2654
+ paidAt?: Date | undefined;
2655
+ tmcCompanyId: string;
2656
+ sharePercentage: number;
2657
+ agreementId: string;
2658
+ triggerType: import("../index.js").ProfitShareTriggerType;
2659
+ triggerId: string;
2660
+ originalAmount: number;
2661
+ grossShareAmount: number;
2662
+ netShareAmount: number;
2663
+ failureReason?: string | undefined;
2664
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2665
+ stripeTransferId?: string | undefined;
2666
+ _id: string;
2667
+ };
2668
+ (options: import("mongoose").ToObjectOptions & {
2669
+ flattenMaps: false;
2670
+ flattenObjectIds: false;
2671
+ virtuals: true;
2672
+ versionKey: false;
2673
+ }): Omit<Omit<IProfitShare, "id"> & {
2674
+ _id: string;
2675
+ } & Required<{
2676
+ _id: string;
2677
+ }>, "__v">;
2678
+ (options: import("mongoose").ToObjectOptions & {
2679
+ flattenMaps: false;
2680
+ flattenObjectIds: false;
2681
+ virtuals: true;
2682
+ }): Omit<IProfitShare, "id"> & {
2683
+ _id: string;
2684
+ } & Required<{
2685
+ _id: string;
2686
+ }>;
2687
+ (options: import("mongoose").ToObjectOptions & {
2688
+ flattenMaps: false;
2689
+ flattenObjectIds: true;
2690
+ virtuals: false;
2691
+ versionKey: false;
2692
+ }): {
2693
+ status: ProfitShareStatus;
2694
+ currency: string;
2695
+ companyId: string;
2696
+ createdAt: Date;
2697
+ updatedAt: Date;
2698
+ _id: string;
2699
+ platformFee: number;
2700
+ processedAt?: Date | undefined;
2701
+ paidAt?: Date | undefined;
2702
+ tmcCompanyId: string;
2703
+ sharePercentage: number;
2704
+ agreementId: string;
2705
+ triggerType: import("../index.js").ProfitShareTriggerType;
2706
+ triggerId: string;
2707
+ originalAmount: number;
2708
+ grossShareAmount: number;
2709
+ netShareAmount: number;
2710
+ failureReason?: string | undefined;
2711
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2712
+ stripeTransferId?: string | undefined;
2713
+ };
2714
+ (options: import("mongoose").ToObjectOptions & {
2715
+ flattenMaps: false;
2716
+ flattenObjectIds: true;
2717
+ virtuals: false;
2718
+ }): {
2719
+ status: ProfitShareStatus;
2720
+ currency: string;
2721
+ companyId: string;
2722
+ createdAt: Date;
2723
+ updatedAt: Date;
2724
+ platformFee: number;
2725
+ processedAt?: Date | undefined;
2726
+ paidAt?: Date | undefined;
2727
+ tmcCompanyId: string;
2728
+ sharePercentage: number;
2729
+ agreementId: string;
2730
+ triggerType: import("../index.js").ProfitShareTriggerType;
2731
+ triggerId: string;
2732
+ originalAmount: number;
2733
+ grossShareAmount: number;
2734
+ netShareAmount: number;
2735
+ failureReason?: string | undefined;
2736
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2737
+ stripeTransferId?: string | undefined;
2738
+ _id: string;
2739
+ };
2740
+ (options: import("mongoose").ToObjectOptions & {
2741
+ flattenMaps: false;
2742
+ flattenObjectIds: false;
2743
+ virtuals: false;
2744
+ versionKey: false;
2745
+ }): Omit<Omit<IProfitShare, "id"> & {
2746
+ _id: string;
2747
+ } & Required<{
2748
+ _id: string;
2749
+ }>, "__v">;
2750
+ (options: import("mongoose").ToObjectOptions & {
2751
+ flattenMaps: false;
2752
+ flattenObjectIds: false;
2753
+ virtuals: false;
2754
+ }): Omit<IProfitShare, "id"> & {
2755
+ _id: string;
2756
+ } & Required<{
2757
+ _id: string;
2758
+ }>;
2759
+ (options: import("mongoose").ToObjectOptions & {
2760
+ flattenMaps: true;
2761
+ flattenObjectIds: true;
2762
+ virtuals: true;
2763
+ versionKey: false;
2764
+ }): {
2765
+ status: ProfitShareStatus;
2766
+ currency: string;
2767
+ companyId: string;
2768
+ createdAt: Date;
2769
+ updatedAt: Date;
2770
+ _id: string;
2771
+ platformFee: number;
2772
+ processedAt?: Date | undefined;
2773
+ paidAt?: Date | undefined;
2774
+ tmcCompanyId: string;
2775
+ sharePercentage: number;
2776
+ agreementId: string;
2777
+ triggerType: import("../index.js").ProfitShareTriggerType;
2778
+ triggerId: string;
2779
+ originalAmount: number;
2780
+ grossShareAmount: number;
2781
+ netShareAmount: number;
2782
+ failureReason?: string | undefined;
2783
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2784
+ stripeTransferId?: string | undefined;
2785
+ };
2786
+ (options: import("mongoose").ToObjectOptions & {
2787
+ flattenMaps: true;
2788
+ flattenObjectIds: true;
2789
+ virtuals: true;
2790
+ }): {
2791
+ status: ProfitShareStatus;
2792
+ currency: string;
2793
+ companyId: string;
2794
+ createdAt: Date;
2795
+ updatedAt: Date;
2796
+ platformFee: number;
2797
+ processedAt?: Date | undefined;
2798
+ paidAt?: Date | undefined;
2799
+ tmcCompanyId: string;
2800
+ sharePercentage: number;
2801
+ agreementId: string;
2802
+ triggerType: import("../index.js").ProfitShareTriggerType;
2803
+ triggerId: string;
2804
+ originalAmount: number;
2805
+ grossShareAmount: number;
2806
+ netShareAmount: number;
2807
+ failureReason?: string | undefined;
2808
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2809
+ stripeTransferId?: string | undefined;
2810
+ _id: string;
2811
+ };
2812
+ (options: import("mongoose").ToObjectOptions & {
2813
+ flattenMaps: true;
2814
+ flattenObjectIds: false;
2815
+ virtuals: true;
2816
+ versionKey: false;
2817
+ }): Omit<import("mongoose").FlattenMaps<Omit<IProfitShare, "id"> & {
2818
+ _id: string;
2819
+ } & Required<{
2820
+ _id: string;
2821
+ }>>, "__v">;
2822
+ (options: import("mongoose").ToObjectOptions & {
2823
+ flattenMaps: true;
2824
+ flattenObjectIds: false;
2825
+ virtuals: true;
2826
+ }): import("mongoose").FlattenMaps<Omit<IProfitShare, "id"> & {
2827
+ _id: string;
2828
+ } & Required<{
2829
+ _id: string;
2830
+ }>>;
2831
+ (options: import("mongoose").ToObjectOptions & {
2832
+ flattenMaps: true;
2833
+ flattenObjectIds: true;
2834
+ virtuals: false;
2835
+ versionKey: false;
2836
+ }): {
2837
+ status: ProfitShareStatus;
2838
+ currency: string;
2839
+ companyId: string;
2840
+ createdAt: Date;
2841
+ updatedAt: Date;
2842
+ _id: string;
2843
+ platformFee: number;
2844
+ processedAt?: Date | undefined;
2845
+ paidAt?: Date | undefined;
2846
+ tmcCompanyId: string;
2847
+ sharePercentage: number;
2848
+ agreementId: string;
2849
+ triggerType: import("../index.js").ProfitShareTriggerType;
2850
+ triggerId: string;
2851
+ originalAmount: number;
2852
+ grossShareAmount: number;
2853
+ netShareAmount: number;
2854
+ failureReason?: string | undefined;
2855
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2856
+ stripeTransferId?: string | undefined;
2857
+ };
2858
+ (options: import("mongoose").ToObjectOptions & {
2859
+ flattenMaps: true;
2860
+ flattenObjectIds: true;
2861
+ virtuals: false;
2862
+ }): {
2863
+ status: ProfitShareStatus;
2864
+ currency: string;
2865
+ companyId: string;
2866
+ createdAt: Date;
2867
+ updatedAt: Date;
2868
+ platformFee: number;
2869
+ processedAt?: Date | undefined;
2870
+ paidAt?: Date | undefined;
2871
+ tmcCompanyId: string;
2872
+ sharePercentage: number;
2873
+ agreementId: string;
2874
+ triggerType: import("../index.js").ProfitShareTriggerType;
2875
+ triggerId: string;
2876
+ originalAmount: number;
2877
+ grossShareAmount: number;
2878
+ netShareAmount: number;
2879
+ failureReason?: string | undefined;
2880
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2881
+ stripeTransferId?: string | undefined;
2882
+ _id: string;
2883
+ };
2884
+ (options: import("mongoose").ToObjectOptions & {
2885
+ flattenMaps: true;
2886
+ flattenObjectIds: false;
2887
+ virtuals: false;
2888
+ versionKey: false;
2889
+ }): Omit<import("mongoose").FlattenMaps<Omit<IProfitShare, "id"> & {
2890
+ _id: string;
2891
+ } & Required<{
2892
+ _id: string;
2893
+ }>>, "__v">;
2894
+ (options: import("mongoose").ToObjectOptions & {
2895
+ flattenMaps: true;
2896
+ flattenObjectIds: false;
2897
+ virtuals: false;
2898
+ }): import("mongoose").FlattenMaps<Omit<IProfitShare, "id"> & {
2899
+ _id: string;
2900
+ } & Required<{
2901
+ _id: string;
2902
+ }>>;
2903
+ (options: import("mongoose").ToObjectOptions & {
2904
+ flattenMaps: true;
2905
+ flattenObjectIds: true;
2906
+ virtuals: true;
2907
+ }): {
2908
+ status: ProfitShareStatus;
2909
+ currency: string;
2910
+ companyId: string;
2911
+ createdAt: Date;
2912
+ updatedAt: Date;
2913
+ platformFee: number;
2914
+ processedAt?: Date | undefined;
2915
+ paidAt?: Date | undefined;
2916
+ tmcCompanyId: string;
2917
+ sharePercentage: number;
2918
+ agreementId: string;
2919
+ triggerType: import("../index.js").ProfitShareTriggerType;
2920
+ triggerId: string;
2921
+ originalAmount: number;
2922
+ grossShareAmount: number;
2923
+ netShareAmount: number;
2924
+ failureReason?: string | undefined;
2925
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2926
+ stripeTransferId?: string | undefined;
2927
+ _id: string;
2928
+ };
2929
+ (options: import("mongoose").ToObjectOptions & {
2930
+ flattenMaps: true;
2931
+ flattenObjectIds: true;
2932
+ }): {
2933
+ status: ProfitShareStatus;
2934
+ currency: string;
2935
+ companyId: string;
2936
+ createdAt: Date;
2937
+ updatedAt: Date;
2938
+ platformFee: number;
2939
+ processedAt?: Date | undefined;
2940
+ paidAt?: Date | undefined;
2941
+ tmcCompanyId: string;
2942
+ sharePercentage: number;
2943
+ agreementId: string;
2944
+ triggerType: import("../index.js").ProfitShareTriggerType;
2945
+ triggerId: string;
2946
+ originalAmount: number;
2947
+ grossShareAmount: number;
2948
+ netShareAmount: number;
2949
+ failureReason?: string | undefined;
2950
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2951
+ stripeTransferId?: string | undefined;
2952
+ _id: string;
2953
+ };
2954
+ (options: import("mongoose").ToObjectOptions & {
2955
+ flattenObjectIds: true;
2956
+ virtuals: true;
2957
+ }): {
2958
+ status: ProfitShareStatus;
2959
+ currency: string;
2960
+ companyId: string;
2961
+ createdAt: Date;
2962
+ updatedAt: Date;
2963
+ platformFee: number;
2964
+ processedAt?: Date | undefined;
2965
+ paidAt?: Date | undefined;
2966
+ tmcCompanyId: string;
2967
+ sharePercentage: number;
2968
+ agreementId: string;
2969
+ triggerType: import("../index.js").ProfitShareTriggerType;
2970
+ triggerId: string;
2971
+ originalAmount: number;
2972
+ grossShareAmount: number;
2973
+ netShareAmount: number;
2974
+ failureReason?: string | undefined;
2975
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
2976
+ stripeTransferId?: string | undefined;
2977
+ _id: string;
2978
+ };
2979
+ (options: import("mongoose").ToObjectOptions & {
2980
+ flattenObjectIds: true;
2981
+ }): {
2982
+ status: ProfitShareStatus;
2983
+ currency: string;
2984
+ companyId: string;
2985
+ createdAt: Date;
2986
+ updatedAt: Date;
2987
+ platformFee: number;
2988
+ processedAt?: Date | undefined;
2989
+ paidAt?: Date | undefined;
2990
+ tmcCompanyId: string;
2991
+ sharePercentage: number;
2992
+ agreementId: string;
2993
+ triggerType: import("../index.js").ProfitShareTriggerType;
2994
+ triggerId: string;
2995
+ originalAmount: number;
2996
+ grossShareAmount: number;
2997
+ netShareAmount: number;
2998
+ failureReason?: string | undefined;
2999
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
3000
+ stripeTransferId?: string | undefined;
3001
+ _id: string;
3002
+ };
3003
+ (options: import("mongoose").ToObjectOptions & {
3004
+ flattenMaps: true;
3005
+ virtuals: true;
3006
+ }): import("mongoose").FlattenMaps<Omit<IProfitShare, "id"> & {
3007
+ _id: string;
3008
+ } & Required<{
3009
+ _id: string;
3010
+ }>>;
3011
+ (options: import("mongoose").ToObjectOptions & {
3012
+ flattenMaps: true;
3013
+ }): import("mongoose").FlattenMaps<Omit<IProfitShare, "id"> & {
3014
+ _id: string;
3015
+ } & Required<{
3016
+ _id: string;
3017
+ }>>;
3018
+ (options: import("mongoose").ToObjectOptions & {
3019
+ versionKey: false;
3020
+ flattenMaps: true;
3021
+ flattenObjectIds: true;
3022
+ virtuals: true;
3023
+ }): {
3024
+ status: ProfitShareStatus;
3025
+ currency: string;
3026
+ companyId: string;
3027
+ createdAt: Date;
3028
+ updatedAt: Date;
3029
+ _id: string;
3030
+ platformFee: number;
3031
+ processedAt?: Date | undefined;
3032
+ paidAt?: Date | undefined;
3033
+ tmcCompanyId: string;
3034
+ sharePercentage: number;
3035
+ agreementId: string;
3036
+ triggerType: import("../index.js").ProfitShareTriggerType;
3037
+ triggerId: string;
3038
+ originalAmount: number;
3039
+ grossShareAmount: number;
3040
+ netShareAmount: number;
3041
+ failureReason?: string | undefined;
3042
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
3043
+ stripeTransferId?: string | undefined;
3044
+ };
3045
+ (options: import("mongoose").ToObjectOptions & {
3046
+ versionKey: false;
3047
+ flattenMaps: false;
3048
+ flattenObjectIds: true;
3049
+ virtuals: true;
3050
+ }): {
3051
+ status: ProfitShareStatus;
3052
+ currency: string;
3053
+ companyId: string;
3054
+ createdAt: Date;
3055
+ updatedAt: Date;
3056
+ _id: string;
3057
+ platformFee: number;
3058
+ processedAt?: Date | undefined;
3059
+ paidAt?: Date | undefined;
3060
+ tmcCompanyId: string;
3061
+ sharePercentage: number;
3062
+ agreementId: string;
3063
+ triggerType: import("../index.js").ProfitShareTriggerType;
3064
+ triggerId: string;
3065
+ originalAmount: number;
3066
+ grossShareAmount: number;
3067
+ netShareAmount: number;
3068
+ failureReason?: string | undefined;
3069
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
3070
+ stripeTransferId?: string | undefined;
3071
+ };
3072
+ (options: import("mongoose").ToObjectOptions & {
3073
+ versionKey: false;
3074
+ flattenMaps: true;
3075
+ virtuals: true;
3076
+ }): Omit<import("mongoose").FlattenMaps<Omit<IProfitShare, "id"> & {
3077
+ _id: string;
3078
+ } & Required<{
3079
+ _id: string;
3080
+ }>>, "__v">;
3081
+ (options: import("mongoose").ToObjectOptions & {
3082
+ versionKey: false;
3083
+ flattenObjectIds: true;
3084
+ virtuals: true;
3085
+ }): {
3086
+ status: ProfitShareStatus;
3087
+ currency: string;
3088
+ companyId: string;
3089
+ createdAt: Date;
3090
+ updatedAt: Date;
3091
+ _id: string;
3092
+ platformFee: number;
3093
+ processedAt?: Date | undefined;
3094
+ paidAt?: Date | undefined;
3095
+ tmcCompanyId: string;
3096
+ sharePercentage: number;
3097
+ agreementId: string;
3098
+ triggerType: import("../index.js").ProfitShareTriggerType;
3099
+ triggerId: string;
3100
+ originalAmount: number;
3101
+ grossShareAmount: number;
3102
+ netShareAmount: number;
3103
+ failureReason?: string | undefined;
3104
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
3105
+ stripeTransferId?: string | undefined;
3106
+ };
3107
+ (options: import("mongoose").ToObjectOptions & {
3108
+ versionKey: false;
3109
+ virtuals: true;
3110
+ }): Omit<Omit<IProfitShare, "id"> & {
3111
+ _id: string;
3112
+ } & Required<{
3113
+ _id: string;
3114
+ }>, "__v">;
3115
+ (options: import("mongoose").ToObjectOptions & {
3116
+ versionKey: false;
3117
+ flattenMaps: true;
3118
+ flattenObjectIds: true;
3119
+ }): {
3120
+ status: ProfitShareStatus;
3121
+ currency: string;
3122
+ companyId: string;
3123
+ createdAt: Date;
3124
+ updatedAt: Date;
3125
+ _id: string;
3126
+ platformFee: number;
3127
+ processedAt?: Date | undefined;
3128
+ paidAt?: Date | undefined;
3129
+ tmcCompanyId: string;
3130
+ sharePercentage: number;
3131
+ agreementId: string;
3132
+ triggerType: import("../index.js").ProfitShareTriggerType;
3133
+ triggerId: string;
3134
+ originalAmount: number;
3135
+ grossShareAmount: number;
3136
+ netShareAmount: number;
3137
+ failureReason?: string | undefined;
3138
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
3139
+ stripeTransferId?: string | undefined;
3140
+ };
3141
+ (options: import("mongoose").ToObjectOptions & {
3142
+ versionKey: false;
3143
+ flattenObjectIds: true;
3144
+ }): {
3145
+ status: ProfitShareStatus;
3146
+ currency: string;
3147
+ companyId: string;
3148
+ createdAt: Date;
3149
+ updatedAt: Date;
3150
+ _id: string;
3151
+ platformFee: number;
3152
+ processedAt?: Date | undefined;
3153
+ paidAt?: Date | undefined;
3154
+ tmcCompanyId: string;
3155
+ sharePercentage: number;
3156
+ agreementId: string;
3157
+ triggerType: import("../index.js").ProfitShareTriggerType;
3158
+ triggerId: string;
3159
+ originalAmount: number;
3160
+ grossShareAmount: number;
3161
+ netShareAmount: number;
3162
+ failureReason?: string | undefined;
3163
+ payoutMethod: import("../index.js").ProfitSharePayoutMethod;
3164
+ stripeTransferId?: string | undefined;
3165
+ };
3166
+ (options: import("mongoose").ToObjectOptions & {
3167
+ versionKey: false;
3168
+ flattenMaps: true;
3169
+ }): Omit<import("mongoose").FlattenMaps<Omit<IProfitShare, "id"> & {
3170
+ _id: string;
3171
+ } & Required<{
3172
+ _id: string;
3173
+ }>>, "__v">;
3174
+ (options: import("mongoose").ToObjectOptions & {
3175
+ versionKey: false;
3176
+ }): Omit<Omit<IProfitShare, "id"> & {
3177
+ _id: string;
3178
+ } & Required<{
3179
+ _id: string;
3180
+ }>, "__v">;
3181
+ (options: import("mongoose").ToObjectOptions & {
3182
+ virtuals: true;
3183
+ }): Omit<IProfitShare, "id"> & {
3184
+ _id: string;
3185
+ } & Required<{
3186
+ _id: string;
3187
+ }>;
3188
+ (options?: import("mongoose").ToObjectOptions): Omit<IProfitShare, "id"> & {
3189
+ _id: string;
3190
+ } & Required<{
3191
+ _id: string;
3192
+ }> & {
3193
+ __v: number;
3194
+ };
3195
+ <T>(options?: import("mongoose").ToObjectOptions): import("mongoose").Require_id<T> & {
3196
+ __v: number;
3197
+ };
3198
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3199
+ _id: string;
3200
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3201
+ _id: string;
3202
+ } & Required<{
3203
+ _id: string;
3204
+ }> & {
3205
+ __v: number;
3206
+ } & {
3207
+ id: string;
3208
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3209
+ _id: string;
3210
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3211
+ _id: string;
3212
+ } & Required<{
3213
+ _id: string;
3214
+ }> & {
3215
+ __v: number;
3216
+ } & {
3217
+ id: string;
3218
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3219
+ _id: string;
3220
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3221
+ _id: string;
3222
+ } & Required<{
3223
+ _id: string;
3224
+ }> & {
3225
+ __v: number;
3226
+ } & {
3227
+ id: string;
3228
+ }> | undefined;
3229
+ unmarkModified?: import("mongoose").SchemaDefinitionProperty<{
3230
+ <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(path: T): void;
3231
+ (path: string): void;
3232
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3233
+ _id: string;
3234
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3235
+ _id: string;
3236
+ } & Required<{
3237
+ _id: string;
3238
+ }> & {
3239
+ __v: number;
3240
+ } & {
3241
+ id: string;
3242
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3243
+ _id: string;
3244
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3245
+ _id: string;
3246
+ } & Required<{
3247
+ _id: string;
3248
+ }> & {
3249
+ __v: number;
3250
+ } & {
3251
+ id: string;
3252
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3253
+ _id: string;
3254
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3255
+ _id: string;
3256
+ } & Required<{
3257
+ _id: string;
3258
+ }> & {
3259
+ __v: number;
3260
+ } & {
3261
+ id: string;
3262
+ }> | undefined;
3263
+ updateOne?: import("mongoose").SchemaDefinitionProperty<(update?: import("mongoose").UpdateWithAggregationPipeline | import("mongoose").UpdateQuery<import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3264
+ _id: string;
3265
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3266
+ _id: string;
3267
+ } & Required<{
3268
+ _id: string;
3269
+ }> & {
3270
+ __v: number;
3271
+ } & {
3272
+ id: string;
3273
+ }> | undefined, options?: import("mongoose").QueryOptions | null) => import("mongoose").Query<any, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3274
+ _id: string;
3275
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3276
+ _id: string;
3277
+ } & Required<{
3278
+ _id: string;
3279
+ }> & {
3280
+ __v: number;
3281
+ } & {
3282
+ id: string;
3283
+ }, {}, unknown, "find", Record<string, never>>, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3284
+ _id: string;
3285
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3286
+ _id: string;
3287
+ } & Required<{
3288
+ _id: string;
3289
+ }> & {
3290
+ __v: number;
3291
+ } & {
3292
+ id: string;
3293
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3294
+ _id: string;
3295
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3296
+ _id: string;
3297
+ } & Required<{
3298
+ _id: string;
3299
+ }> & {
3300
+ __v: number;
3301
+ } & {
3302
+ id: string;
3303
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3304
+ _id: string;
3305
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3306
+ _id: string;
3307
+ } & Required<{
3308
+ _id: string;
3309
+ }> & {
3310
+ __v: number;
3311
+ } & {
3312
+ id: string;
3313
+ }> | undefined;
3314
+ validate?: import("mongoose").SchemaDefinitionProperty<{
3315
+ <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
3316
+ (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
3317
+ (options: {
3318
+ pathsToSkip?: import("mongoose").pathsToSkip;
3319
+ }): Promise<void>;
3320
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3321
+ _id: string;
3322
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3323
+ _id: string;
3324
+ } & Required<{
3325
+ _id: string;
3326
+ }> & {
3327
+ __v: number;
3328
+ } & {
3329
+ id: string;
3330
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3331
+ _id: string;
3332
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3333
+ _id: string;
3334
+ } & Required<{
3335
+ _id: string;
3336
+ }> & {
3337
+ __v: number;
3338
+ } & {
3339
+ id: string;
3340
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3341
+ _id: string;
3342
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3343
+ _id: string;
3344
+ } & Required<{
3345
+ _id: string;
3346
+ }> & {
3347
+ __v: number;
3348
+ } & {
3349
+ id: string;
3350
+ }> | undefined;
3351
+ validateSync?: import("mongoose").SchemaDefinitionProperty<{
3352
+ (options: {
3353
+ pathsToSkip?: import("mongoose").pathsToSkip;
3354
+ [k: string]: any;
3355
+ }): import("mongoose").Error.ValidationError | null;
3356
+ <T extends "status" | "currency" | "companyId" | "createdAt" | "updatedAt" | "_id" | "platformFee" | "processedAt" | "paidAt" | "tmcCompanyId" | "sharePercentage" | "agreementId" | "triggerType" | "triggerId" | "originalAmount" | "grossShareAmount" | "netShareAmount" | "failureReason" | "payoutMethod" | "stripeTransferId">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
3357
+ (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
3358
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3359
+ _id: string;
3360
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3361
+ _id: string;
3362
+ } & Required<{
3363
+ _id: string;
3364
+ }> & {
3365
+ __v: number;
3366
+ } & {
3367
+ id: string;
3368
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3369
+ _id: string;
3370
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3371
+ _id: string;
3372
+ } & Required<{
3373
+ _id: string;
3374
+ }> & {
3375
+ __v: number;
3376
+ } & {
3377
+ id: string;
3378
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3379
+ _id: string;
3380
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3381
+ _id: string;
3382
+ } & Required<{
3383
+ _id: string;
3384
+ }> & {
3385
+ __v: number;
3386
+ } & {
3387
+ id: string;
3388
+ }> | undefined;
3389
+ status?: import("mongoose").SchemaDefinitionProperty<ProfitShareStatus, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3390
+ _id: string;
3391
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3392
+ _id: string;
3393
+ } & Required<{
3394
+ _id: string;
3395
+ }> & {
3396
+ __v: number;
3397
+ } & {
3398
+ id: string;
3399
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3400
+ _id: string;
3401
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3402
+ _id: string;
3403
+ } & Required<{
3404
+ _id: string;
3405
+ }> & {
3406
+ __v: number;
3407
+ } & {
3408
+ id: string;
3409
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3410
+ _id: string;
3411
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3412
+ _id: string;
3413
+ } & Required<{
3414
+ _id: string;
3415
+ }> & {
3416
+ __v: number;
3417
+ } & {
3418
+ id: string;
3419
+ }> | undefined;
3420
+ currency?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3421
+ _id: string;
3422
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3423
+ _id: string;
3424
+ } & Required<{
3425
+ _id: string;
3426
+ }> & {
3427
+ __v: number;
3428
+ } & {
3429
+ id: string;
3430
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3431
+ _id: string;
3432
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3433
+ _id: string;
3434
+ } & Required<{
3435
+ _id: string;
3436
+ }> & {
3437
+ __v: number;
3438
+ } & {
3439
+ id: string;
3440
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3441
+ _id: string;
3442
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3443
+ _id: string;
3444
+ } & Required<{
3445
+ _id: string;
3446
+ }> & {
3447
+ __v: number;
3448
+ } & {
3449
+ id: string;
3450
+ }> | undefined;
3451
+ companyId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3452
+ _id: string;
3453
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3454
+ _id: string;
3455
+ } & Required<{
3456
+ _id: string;
3457
+ }> & {
3458
+ __v: number;
3459
+ } & {
3460
+ id: string;
3461
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3462
+ _id: string;
3463
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3464
+ _id: string;
3465
+ } & Required<{
3466
+ _id: string;
3467
+ }> & {
3468
+ __v: number;
3469
+ } & {
3470
+ id: string;
3471
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3472
+ _id: string;
3473
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3474
+ _id: string;
3475
+ } & Required<{
3476
+ _id: string;
3477
+ }> & {
3478
+ __v: number;
3479
+ } & {
3480
+ id: string;
3481
+ }> | undefined;
3482
+ createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3483
+ _id: string;
3484
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3485
+ _id: string;
3486
+ } & Required<{
3487
+ _id: string;
3488
+ }> & {
3489
+ __v: number;
3490
+ } & {
3491
+ id: string;
3492
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3493
+ _id: string;
3494
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3495
+ _id: string;
3496
+ } & Required<{
3497
+ _id: string;
3498
+ }> & {
3499
+ __v: number;
3500
+ } & {
3501
+ id: string;
3502
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3503
+ _id: string;
3504
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3505
+ _id: string;
3506
+ } & Required<{
3507
+ _id: string;
3508
+ }> & {
3509
+ __v: number;
3510
+ } & {
3511
+ id: string;
3512
+ }> | undefined;
3513
+ updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3514
+ _id: string;
3515
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3516
+ _id: string;
3517
+ } & Required<{
3518
+ _id: string;
3519
+ }> & {
3520
+ __v: number;
3521
+ } & {
3522
+ id: string;
3523
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3524
+ _id: string;
3525
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3526
+ _id: string;
3527
+ } & Required<{
3528
+ _id: string;
3529
+ }> & {
3530
+ __v: number;
3531
+ } & {
3532
+ id: string;
3533
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3534
+ _id: string;
3535
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3536
+ _id: string;
3537
+ } & Required<{
3538
+ _id: string;
3539
+ }> & {
3540
+ __v: number;
3541
+ } & {
3542
+ id: string;
3543
+ }> | undefined;
3544
+ platformFee?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3545
+ _id: string;
3546
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3547
+ _id: string;
3548
+ } & Required<{
3549
+ _id: string;
3550
+ }> & {
3551
+ __v: number;
3552
+ } & {
3553
+ id: string;
3554
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3555
+ _id: string;
3556
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3557
+ _id: string;
3558
+ } & Required<{
3559
+ _id: string;
3560
+ }> & {
3561
+ __v: number;
3562
+ } & {
3563
+ id: string;
3564
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3565
+ _id: string;
3566
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3567
+ _id: string;
3568
+ } & Required<{
3569
+ _id: string;
3570
+ }> & {
3571
+ __v: number;
3572
+ } & {
3573
+ id: string;
3574
+ }> | undefined;
3575
+ processedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3576
+ _id: string;
3577
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3578
+ _id: string;
3579
+ } & Required<{
3580
+ _id: string;
3581
+ }> & {
3582
+ __v: number;
3583
+ } & {
3584
+ id: string;
3585
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3586
+ _id: string;
3587
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3588
+ _id: string;
3589
+ } & Required<{
3590
+ _id: string;
3591
+ }> & {
3592
+ __v: number;
3593
+ } & {
3594
+ id: string;
3595
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3596
+ _id: string;
3597
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3598
+ _id: string;
3599
+ } & Required<{
3600
+ _id: string;
3601
+ }> & {
3602
+ __v: number;
3603
+ } & {
3604
+ id: string;
3605
+ }> | undefined;
3606
+ paidAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3607
+ _id: string;
3608
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3609
+ _id: string;
3610
+ } & Required<{
3611
+ _id: string;
3612
+ }> & {
3613
+ __v: number;
3614
+ } & {
3615
+ id: string;
3616
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3617
+ _id: string;
3618
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3619
+ _id: string;
3620
+ } & Required<{
3621
+ _id: string;
3622
+ }> & {
3623
+ __v: number;
3624
+ } & {
3625
+ id: string;
3626
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3627
+ _id: string;
3628
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3629
+ _id: string;
3630
+ } & Required<{
3631
+ _id: string;
3632
+ }> & {
3633
+ __v: number;
3634
+ } & {
3635
+ id: string;
3636
+ }> | undefined;
3637
+ tmcCompanyId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3638
+ _id: string;
3639
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3640
+ _id: string;
3641
+ } & Required<{
3642
+ _id: string;
3643
+ }> & {
3644
+ __v: number;
3645
+ } & {
3646
+ id: string;
3647
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3648
+ _id: string;
3649
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3650
+ _id: string;
3651
+ } & Required<{
3652
+ _id: string;
3653
+ }> & {
3654
+ __v: number;
3655
+ } & {
3656
+ id: string;
3657
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3658
+ _id: string;
3659
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3660
+ _id: string;
3661
+ } & Required<{
3662
+ _id: string;
3663
+ }> & {
3664
+ __v: number;
3665
+ } & {
3666
+ id: string;
3667
+ }> | undefined;
3668
+ sharePercentage?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3669
+ _id: string;
3670
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3671
+ _id: string;
3672
+ } & Required<{
3673
+ _id: string;
3674
+ }> & {
3675
+ __v: number;
3676
+ } & {
3677
+ id: string;
3678
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3679
+ _id: string;
3680
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3681
+ _id: string;
3682
+ } & Required<{
3683
+ _id: string;
3684
+ }> & {
3685
+ __v: number;
3686
+ } & {
3687
+ id: string;
3688
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3689
+ _id: string;
3690
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3691
+ _id: string;
3692
+ } & Required<{
3693
+ _id: string;
3694
+ }> & {
3695
+ __v: number;
3696
+ } & {
3697
+ id: string;
3698
+ }> | undefined;
3699
+ agreementId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3700
+ _id: string;
3701
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3702
+ _id: string;
3703
+ } & Required<{
3704
+ _id: string;
3705
+ }> & {
3706
+ __v: number;
3707
+ } & {
3708
+ id: string;
3709
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3710
+ _id: string;
3711
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3712
+ _id: string;
3713
+ } & Required<{
3714
+ _id: string;
3715
+ }> & {
3716
+ __v: number;
3717
+ } & {
3718
+ id: string;
3719
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3720
+ _id: string;
3721
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3722
+ _id: string;
3723
+ } & Required<{
3724
+ _id: string;
3725
+ }> & {
3726
+ __v: number;
3727
+ } & {
3728
+ id: string;
3729
+ }> | undefined;
3730
+ triggerType?: import("mongoose").SchemaDefinitionProperty<import("../index.js").ProfitShareTriggerType, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3731
+ _id: string;
3732
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3733
+ _id: string;
3734
+ } & Required<{
3735
+ _id: string;
3736
+ }> & {
3737
+ __v: number;
3738
+ } & {
3739
+ id: string;
3740
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3741
+ _id: string;
3742
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3743
+ _id: string;
3744
+ } & Required<{
3745
+ _id: string;
3746
+ }> & {
3747
+ __v: number;
3748
+ } & {
3749
+ id: string;
3750
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3751
+ _id: string;
3752
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3753
+ _id: string;
3754
+ } & Required<{
3755
+ _id: string;
3756
+ }> & {
3757
+ __v: number;
3758
+ } & {
3759
+ id: string;
3760
+ }> | undefined;
3761
+ triggerId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3762
+ _id: string;
3763
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3764
+ _id: string;
3765
+ } & Required<{
3766
+ _id: string;
3767
+ }> & {
3768
+ __v: number;
3769
+ } & {
3770
+ id: string;
3771
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3772
+ _id: string;
3773
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3774
+ _id: string;
3775
+ } & Required<{
3776
+ _id: string;
3777
+ }> & {
3778
+ __v: number;
3779
+ } & {
3780
+ id: string;
3781
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3782
+ _id: string;
3783
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3784
+ _id: string;
3785
+ } & Required<{
3786
+ _id: string;
3787
+ }> & {
3788
+ __v: number;
3789
+ } & {
3790
+ id: string;
3791
+ }> | undefined;
3792
+ originalAmount?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3793
+ _id: string;
3794
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3795
+ _id: string;
3796
+ } & Required<{
3797
+ _id: string;
3798
+ }> & {
3799
+ __v: number;
3800
+ } & {
3801
+ id: string;
3802
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3803
+ _id: string;
3804
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3805
+ _id: string;
3806
+ } & Required<{
3807
+ _id: string;
3808
+ }> & {
3809
+ __v: number;
3810
+ } & {
3811
+ id: string;
3812
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3813
+ _id: string;
3814
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3815
+ _id: string;
3816
+ } & Required<{
3817
+ _id: string;
3818
+ }> & {
3819
+ __v: number;
3820
+ } & {
3821
+ id: string;
3822
+ }> | undefined;
3823
+ grossShareAmount?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3824
+ _id: string;
3825
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3826
+ _id: string;
3827
+ } & Required<{
3828
+ _id: string;
3829
+ }> & {
3830
+ __v: number;
3831
+ } & {
3832
+ id: string;
3833
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3834
+ _id: string;
3835
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3836
+ _id: string;
3837
+ } & Required<{
3838
+ _id: string;
3839
+ }> & {
3840
+ __v: number;
3841
+ } & {
3842
+ id: string;
3843
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3844
+ _id: string;
3845
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3846
+ _id: string;
3847
+ } & Required<{
3848
+ _id: string;
3849
+ }> & {
3850
+ __v: number;
3851
+ } & {
3852
+ id: string;
3853
+ }> | undefined;
3854
+ netShareAmount?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3855
+ _id: string;
3856
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3857
+ _id: string;
3858
+ } & Required<{
3859
+ _id: string;
3860
+ }> & {
3861
+ __v: number;
3862
+ } & {
3863
+ id: string;
3864
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3865
+ _id: string;
3866
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3867
+ _id: string;
3868
+ } & Required<{
3869
+ _id: string;
3870
+ }> & {
3871
+ __v: number;
3872
+ } & {
3873
+ id: string;
3874
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3875
+ _id: string;
3876
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3877
+ _id: string;
3878
+ } & Required<{
3879
+ _id: string;
3880
+ }> & {
3881
+ __v: number;
3882
+ } & {
3883
+ id: string;
3884
+ }> | undefined;
3885
+ failureReason?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3886
+ _id: string;
3887
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3888
+ _id: string;
3889
+ } & Required<{
3890
+ _id: string;
3891
+ }> & {
3892
+ __v: number;
3893
+ } & {
3894
+ id: string;
3895
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3896
+ _id: string;
3897
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3898
+ _id: string;
3899
+ } & Required<{
3900
+ _id: string;
3901
+ }> & {
3902
+ __v: number;
3903
+ } & {
3904
+ id: string;
3905
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3906
+ _id: string;
3907
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3908
+ _id: string;
3909
+ } & Required<{
3910
+ _id: string;
3911
+ }> & {
3912
+ __v: number;
3913
+ } & {
3914
+ id: string;
3915
+ }> | undefined;
3916
+ payoutMethod?: import("mongoose").SchemaDefinitionProperty<import("../index.js").ProfitSharePayoutMethod, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3917
+ _id: string;
3918
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3919
+ _id: string;
3920
+ } & Required<{
3921
+ _id: string;
3922
+ }> & {
3923
+ __v: number;
3924
+ } & {
3925
+ id: string;
3926
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3927
+ _id: string;
3928
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3929
+ _id: string;
3930
+ } & Required<{
3931
+ _id: string;
3932
+ }> & {
3933
+ __v: number;
3934
+ } & {
3935
+ id: string;
3936
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3937
+ _id: string;
3938
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3939
+ _id: string;
3940
+ } & Required<{
3941
+ _id: string;
3942
+ }> & {
3943
+ __v: number;
3944
+ } & {
3945
+ id: string;
3946
+ }> | undefined;
3947
+ stripeTransferId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3948
+ _id: string;
3949
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3950
+ _id: string;
3951
+ } & Required<{
3952
+ _id: string;
3953
+ }> & {
3954
+ __v: number;
3955
+ } & {
3956
+ id: string;
3957
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3958
+ _id: string;
3959
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3960
+ _id: string;
3961
+ } & Required<{
3962
+ _id: string;
3963
+ }> & {
3964
+ __v: number;
3965
+ } & {
3966
+ id: string;
3967
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3968
+ _id: string;
3969
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3970
+ _id: string;
3971
+ } & Required<{
3972
+ _id: string;
3973
+ }> & {
3974
+ __v: number;
3975
+ } & {
3976
+ id: string;
3977
+ }> | undefined;
3978
+ __v?: import("mongoose").SchemaDefinitionProperty<number, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3979
+ _id: string;
3980
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3981
+ _id: string;
3982
+ } & Required<{
3983
+ _id: string;
3984
+ }> & {
3985
+ __v: number;
3986
+ } & {
3987
+ id: string;
3988
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3989
+ _id: string;
3990
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
3991
+ _id: string;
3992
+ } & Required<{
3993
+ _id: string;
3994
+ }> & {
3995
+ __v: number;
3996
+ } & {
3997
+ id: string;
3998
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
3999
+ _id: string;
4000
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
4001
+ _id: string;
4002
+ } & Required<{
4003
+ _id: string;
4004
+ }> & {
4005
+ __v: number;
4006
+ } & {
4007
+ id: string;
4008
+ }> | undefined;
4009
+ id?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
4010
+ _id: string;
4011
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
4012
+ _id: string;
4013
+ } & Required<{
4014
+ _id: string;
4015
+ }> & {
4016
+ __v: number;
4017
+ } & {
4018
+ id: string;
4019
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
4020
+ _id: string;
4021
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
4022
+ _id: string;
4023
+ } & Required<{
4024
+ _id: string;
4025
+ }> & {
4026
+ __v: number;
4027
+ } & {
4028
+ id: string;
4029
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
4030
+ _id: string;
4031
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
4032
+ _id: string;
4033
+ } & Required<{
4034
+ _id: string;
4035
+ }> & {
4036
+ __v: number;
4037
+ } & {
4038
+ id: string;
4039
+ }> | undefined;
4040
+ }, import("mongoose").Document<unknown, {}, Omit<IProfitShare, "id"> & {
4041
+ _id: string;
4042
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IProfitShare, "id"> & {
4043
+ _id: string;
4044
+ } & Required<{
4045
+ _id: string;
4046
+ }> & {
4047
+ __v: number;
4048
+ } & {
4049
+ id: string;
4050
+ }>;
4051
+ //# sourceMappingURL=profit-share.schema.d.ts.map