@managesome/knotr-toolkit 0.8.5 → 0.8.6

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.
@@ -47,6 +47,12 @@ export declare const InterestSchemaDefinition: {
47
47
  readonly required: true;
48
48
  readonly index: true;
49
49
  };
50
+ readonly actionType: {
51
+ readonly type: StringConstructor;
52
+ readonly enum: readonly ["like", "super_like", "pass"];
53
+ readonly required: true;
54
+ readonly default: "like";
55
+ };
50
56
  readonly status: {
51
57
  readonly type: StringConstructor;
52
58
  readonly enum: readonly ["pending", "accepted", "declined", "expired", "withdrawn", "blocked"];
@@ -74,6 +80,10 @@ export declare const InterestSchemaDefinition: {
74
80
  readonly declineReason: {
75
81
  readonly type: StringConstructor;
76
82
  };
83
+ readonly matchId: {
84
+ readonly type: StringConstructor;
85
+ readonly ref: "Match";
86
+ };
77
87
  readonly senderIsCompany: {
78
88
  readonly type: BooleanConstructor;
79
89
  readonly default: false;
@@ -1160,7 +1170,7 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
1160
1170
  id: string;
1161
1171
  }> | undefined;
1162
1172
  get?: import("mongoose").SchemaDefinitionProperty<{
1163
- <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T, type?: any, options?: any): (Omit<IInterest, "id"> & {
1173
+ <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "matchId" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "actionType" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T, type?: any, options?: any): (Omit<IInterest, "id"> & {
1164
1174
  _id: string;
1165
1175
  })[T];
1166
1176
  (path: string, type?: any, options?: any): any;
@@ -1319,7 +1329,7 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
1319
1329
  id: string;
1320
1330
  }> | undefined;
1321
1331
  invalidate?: import("mongoose").SchemaDefinitionProperty<{
1322
- <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1332
+ <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "matchId" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "actionType" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1323
1333
  (path: string, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
1324
1334
  }, import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
1325
1335
  _id: string;
@@ -1353,7 +1363,7 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
1353
1363
  id: string;
1354
1364
  }> | undefined;
1355
1365
  isDirectModified?: import("mongoose").SchemaDefinitionProperty<{
1356
- <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T | T[]): boolean;
1366
+ <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "matchId" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "actionType" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T | T[]): boolean;
1357
1367
  (path: string | Array<string>): boolean;
1358
1368
  }, import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
1359
1369
  _id: string;
@@ -1387,7 +1397,7 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
1387
1397
  id: string;
1388
1398
  }> | undefined;
1389
1399
  isDirectSelected?: import("mongoose").SchemaDefinitionProperty<{
1390
- <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T): boolean;
1400
+ <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "matchId" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "actionType" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T): boolean;
1391
1401
  (path: string): boolean;
1392
1402
  }, import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
1393
1403
  _id: string;
@@ -1421,7 +1431,7 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
1421
1431
  id: string;
1422
1432
  }> | undefined;
1423
1433
  isInit?: import("mongoose").SchemaDefinitionProperty<{
1424
- <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T): boolean;
1434
+ <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "matchId" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "actionType" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T): boolean;
1425
1435
  (path: string): boolean;
1426
1436
  }, import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
1427
1437
  _id: string;
@@ -1455,7 +1465,7 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
1455
1465
  id: string;
1456
1466
  }> | undefined;
1457
1467
  isModified?: import("mongoose").SchemaDefinitionProperty<{
1458
- <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path?: T | T[] | undefined, options?: {
1468
+ <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "matchId" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "actionType" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path?: T | T[] | undefined, options?: {
1459
1469
  ignoreAtomics?: boolean;
1460
1470
  } | null): boolean;
1461
1471
  (path?: string | Array<string>, options?: {
@@ -1524,7 +1534,7 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
1524
1534
  id: string;
1525
1535
  }> | undefined;
1526
1536
  isSelected?: import("mongoose").SchemaDefinitionProperty<{
1527
- <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T): boolean;
1537
+ <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "matchId" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "actionType" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T): boolean;
1528
1538
  (path: string): boolean;
1529
1539
  }, import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
1530
1540
  _id: string;
@@ -1558,7 +1568,7 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
1558
1568
  id: string;
1559
1569
  }> | undefined;
1560
1570
  markModified?: import("mongoose").SchemaDefinitionProperty<{
1561
- <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T, scope?: any): void;
1571
+ <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "matchId" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "actionType" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T, scope?: any): void;
1562
1572
  (path: string, scope?: any): void;
1563
1573
  }, import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
1564
1574
  _id: string;
@@ -1997,7 +2007,7 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
1997
2007
  id: string;
1998
2008
  }> | undefined;
1999
2009
  set?: import("mongoose").SchemaDefinitionProperty<{
2000
- <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T, val: (Omit<IInterest, "id"> & {
2010
+ <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "matchId" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "actionType" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T, val: (Omit<IInterest, "id"> & {
2001
2011
  _id: string;
2002
2012
  })[T], type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
2003
2013
  _id: string;
@@ -2086,11 +2096,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2086
2096
  createdAt: Date;
2087
2097
  updatedAt: Date;
2088
2098
  _id: string;
2099
+ matchId?: string | undefined;
2089
2100
  respondedAt?: Date | undefined;
2090
2101
  senderProfileId: string;
2091
2102
  senderAccountId: string;
2092
2103
  recipientProfileId: string;
2093
2104
  recipientAccountId: string;
2105
+ actionType: import("../index.js").InterestActionType;
2094
2106
  introMessage?: string | undefined;
2095
2107
  sentAt: Date;
2096
2108
  declineReason?: string | undefined;
@@ -2106,11 +2118,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2106
2118
  responseDeadline: Date;
2107
2119
  createdAt: Date;
2108
2120
  updatedAt: Date;
2121
+ matchId?: string | undefined;
2109
2122
  respondedAt?: Date | undefined;
2110
2123
  senderProfileId: string;
2111
2124
  senderAccountId: string;
2112
2125
  recipientProfileId: string;
2113
2126
  recipientAccountId: string;
2127
+ actionType: import("../index.js").InterestActionType;
2114
2128
  introMessage?: string | undefined;
2115
2129
  sentAt: Date;
2116
2130
  declineReason?: string | undefined;
@@ -2148,11 +2162,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2148
2162
  createdAt: Date;
2149
2163
  updatedAt: Date;
2150
2164
  _id: string;
2165
+ matchId?: string | undefined;
2151
2166
  respondedAt?: Date | undefined;
2152
2167
  senderProfileId: string;
2153
2168
  senderAccountId: string;
2154
2169
  recipientProfileId: string;
2155
2170
  recipientAccountId: string;
2171
+ actionType: import("../index.js").InterestActionType;
2156
2172
  introMessage?: string | undefined;
2157
2173
  sentAt: Date;
2158
2174
  declineReason?: string | undefined;
@@ -2168,11 +2184,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2168
2184
  responseDeadline: Date;
2169
2185
  createdAt: Date;
2170
2186
  updatedAt: Date;
2187
+ matchId?: string | undefined;
2171
2188
  respondedAt?: Date | undefined;
2172
2189
  senderProfileId: string;
2173
2190
  senderAccountId: string;
2174
2191
  recipientProfileId: string;
2175
2192
  recipientAccountId: string;
2193
+ actionType: import("../index.js").InterestActionType;
2176
2194
  introMessage?: string | undefined;
2177
2195
  sentAt: Date;
2178
2196
  declineReason?: string | undefined;
@@ -2210,11 +2228,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2210
2228
  createdAt: Date;
2211
2229
  updatedAt: Date;
2212
2230
  _id: string;
2231
+ matchId?: string | undefined;
2213
2232
  respondedAt?: Date | undefined;
2214
2233
  senderProfileId: string;
2215
2234
  senderAccountId: string;
2216
2235
  recipientProfileId: string;
2217
2236
  recipientAccountId: string;
2237
+ actionType: import("../index.js").InterestActionType;
2218
2238
  introMessage?: string | undefined;
2219
2239
  sentAt: Date;
2220
2240
  declineReason?: string | undefined;
@@ -2230,11 +2250,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2230
2250
  responseDeadline: Date;
2231
2251
  createdAt: Date;
2232
2252
  updatedAt: Date;
2253
+ matchId?: string | undefined;
2233
2254
  respondedAt?: Date | undefined;
2234
2255
  senderProfileId: string;
2235
2256
  senderAccountId: string;
2236
2257
  recipientProfileId: string;
2237
2258
  recipientAccountId: string;
2259
+ actionType: import("../index.js").InterestActionType;
2238
2260
  introMessage?: string | undefined;
2239
2261
  sentAt: Date;
2240
2262
  declineReason?: string | undefined;
@@ -2272,11 +2294,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2272
2294
  createdAt: Date;
2273
2295
  updatedAt: Date;
2274
2296
  _id: string;
2297
+ matchId?: string | undefined;
2275
2298
  respondedAt?: Date | undefined;
2276
2299
  senderProfileId: string;
2277
2300
  senderAccountId: string;
2278
2301
  recipientProfileId: string;
2279
2302
  recipientAccountId: string;
2303
+ actionType: import("../index.js").InterestActionType;
2280
2304
  introMessage?: string | undefined;
2281
2305
  sentAt: Date;
2282
2306
  declineReason?: string | undefined;
@@ -2292,11 +2316,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2292
2316
  responseDeadline: Date;
2293
2317
  createdAt: Date;
2294
2318
  updatedAt: Date;
2319
+ matchId?: string | undefined;
2295
2320
  respondedAt?: Date | undefined;
2296
2321
  senderProfileId: string;
2297
2322
  senderAccountId: string;
2298
2323
  recipientProfileId: string;
2299
2324
  recipientAccountId: string;
2325
+ actionType: import("../index.js").InterestActionType;
2300
2326
  introMessage?: string | undefined;
2301
2327
  sentAt: Date;
2302
2328
  declineReason?: string | undefined;
@@ -2332,11 +2358,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2332
2358
  responseDeadline: Date;
2333
2359
  createdAt: Date;
2334
2360
  updatedAt: Date;
2361
+ matchId?: string | undefined;
2335
2362
  respondedAt?: Date | undefined;
2336
2363
  senderProfileId: string;
2337
2364
  senderAccountId: string;
2338
2365
  recipientProfileId: string;
2339
2366
  recipientAccountId: string;
2367
+ actionType: import("../index.js").InterestActionType;
2340
2368
  introMessage?: string | undefined;
2341
2369
  sentAt: Date;
2342
2370
  declineReason?: string | undefined;
@@ -2352,11 +2380,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2352
2380
  responseDeadline: Date;
2353
2381
  createdAt: Date;
2354
2382
  updatedAt: Date;
2383
+ matchId?: string | undefined;
2355
2384
  respondedAt?: Date | undefined;
2356
2385
  senderProfileId: string;
2357
2386
  senderAccountId: string;
2358
2387
  recipientProfileId: string;
2359
2388
  recipientAccountId: string;
2389
+ actionType: import("../index.js").InterestActionType;
2360
2390
  introMessage?: string | undefined;
2361
2391
  sentAt: Date;
2362
2392
  declineReason?: string | undefined;
@@ -2372,11 +2402,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2372
2402
  responseDeadline: Date;
2373
2403
  createdAt: Date;
2374
2404
  updatedAt: Date;
2405
+ matchId?: string | undefined;
2375
2406
  respondedAt?: Date | undefined;
2376
2407
  senderProfileId: string;
2377
2408
  senderAccountId: string;
2378
2409
  recipientProfileId: string;
2379
2410
  recipientAccountId: string;
2411
+ actionType: import("../index.js").InterestActionType;
2380
2412
  introMessage?: string | undefined;
2381
2413
  sentAt: Date;
2382
2414
  declineReason?: string | undefined;
@@ -2391,11 +2423,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2391
2423
  responseDeadline: Date;
2392
2424
  createdAt: Date;
2393
2425
  updatedAt: Date;
2426
+ matchId?: string | undefined;
2394
2427
  respondedAt?: Date | undefined;
2395
2428
  senderProfileId: string;
2396
2429
  senderAccountId: string;
2397
2430
  recipientProfileId: string;
2398
2431
  recipientAccountId: string;
2432
+ actionType: import("../index.js").InterestActionType;
2399
2433
  introMessage?: string | undefined;
2400
2434
  sentAt: Date;
2401
2435
  declineReason?: string | undefined;
@@ -2429,11 +2463,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2429
2463
  createdAt: Date;
2430
2464
  updatedAt: Date;
2431
2465
  _id: string;
2466
+ matchId?: string | undefined;
2432
2467
  respondedAt?: Date | undefined;
2433
2468
  senderProfileId: string;
2434
2469
  senderAccountId: string;
2435
2470
  recipientProfileId: string;
2436
2471
  recipientAccountId: string;
2472
+ actionType: import("../index.js").InterestActionType;
2437
2473
  introMessage?: string | undefined;
2438
2474
  sentAt: Date;
2439
2475
  declineReason?: string | undefined;
@@ -2451,11 +2487,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2451
2487
  createdAt: Date;
2452
2488
  updatedAt: Date;
2453
2489
  _id: string;
2490
+ matchId?: string | undefined;
2454
2491
  respondedAt?: Date | undefined;
2455
2492
  senderProfileId: string;
2456
2493
  senderAccountId: string;
2457
2494
  recipientProfileId: string;
2458
2495
  recipientAccountId: string;
2496
+ actionType: import("../index.js").InterestActionType;
2459
2497
  introMessage?: string | undefined;
2460
2498
  sentAt: Date;
2461
2499
  declineReason?: string | undefined;
@@ -2481,11 +2519,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2481
2519
  createdAt: Date;
2482
2520
  updatedAt: Date;
2483
2521
  _id: string;
2522
+ matchId?: string | undefined;
2484
2523
  respondedAt?: Date | undefined;
2485
2524
  senderProfileId: string;
2486
2525
  senderAccountId: string;
2487
2526
  recipientProfileId: string;
2488
2527
  recipientAccountId: string;
2528
+ actionType: import("../index.js").InterestActionType;
2489
2529
  introMessage?: string | undefined;
2490
2530
  sentAt: Date;
2491
2531
  declineReason?: string | undefined;
@@ -2510,11 +2550,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2510
2550
  createdAt: Date;
2511
2551
  updatedAt: Date;
2512
2552
  _id: string;
2553
+ matchId?: string | undefined;
2513
2554
  respondedAt?: Date | undefined;
2514
2555
  senderProfileId: string;
2515
2556
  senderAccountId: string;
2516
2557
  recipientProfileId: string;
2517
2558
  recipientAccountId: string;
2559
+ actionType: import("../index.js").InterestActionType;
2518
2560
  introMessage?: string | undefined;
2519
2561
  sentAt: Date;
2520
2562
  declineReason?: string | undefined;
@@ -2530,11 +2572,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2530
2572
  createdAt: Date;
2531
2573
  updatedAt: Date;
2532
2574
  _id: string;
2575
+ matchId?: string | undefined;
2533
2576
  respondedAt?: Date | undefined;
2534
2577
  senderProfileId: string;
2535
2578
  senderAccountId: string;
2536
2579
  recipientProfileId: string;
2537
2580
  recipientAccountId: string;
2581
+ actionType: import("../index.js").InterestActionType;
2538
2582
  introMessage?: string | undefined;
2539
2583
  sentAt: Date;
2540
2584
  declineReason?: string | undefined;
@@ -2616,11 +2660,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2616
2660
  createdAt: Date;
2617
2661
  updatedAt: Date;
2618
2662
  _id: string;
2663
+ matchId?: string | undefined;
2619
2664
  respondedAt?: Date | undefined;
2620
2665
  senderProfileId: string;
2621
2666
  senderAccountId: string;
2622
2667
  recipientProfileId: string;
2623
2668
  recipientAccountId: string;
2669
+ actionType: import("../index.js").InterestActionType;
2624
2670
  introMessage?: string | undefined;
2625
2671
  sentAt: Date;
2626
2672
  declineReason?: string | undefined;
@@ -2636,11 +2682,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2636
2682
  responseDeadline: Date;
2637
2683
  createdAt: Date;
2638
2684
  updatedAt: Date;
2685
+ matchId?: string | undefined;
2639
2686
  respondedAt?: Date | undefined;
2640
2687
  senderProfileId: string;
2641
2688
  senderAccountId: string;
2642
2689
  recipientProfileId: string;
2643
2690
  recipientAccountId: string;
2691
+ actionType: import("../index.js").InterestActionType;
2644
2692
  introMessage?: string | undefined;
2645
2693
  sentAt: Date;
2646
2694
  declineReason?: string | undefined;
@@ -2678,11 +2726,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2678
2726
  createdAt: Date;
2679
2727
  updatedAt: Date;
2680
2728
  _id: string;
2729
+ matchId?: string | undefined;
2681
2730
  respondedAt?: Date | undefined;
2682
2731
  senderProfileId: string;
2683
2732
  senderAccountId: string;
2684
2733
  recipientProfileId: string;
2685
2734
  recipientAccountId: string;
2735
+ actionType: import("../index.js").InterestActionType;
2686
2736
  introMessage?: string | undefined;
2687
2737
  sentAt: Date;
2688
2738
  declineReason?: string | undefined;
@@ -2698,11 +2748,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2698
2748
  responseDeadline: Date;
2699
2749
  createdAt: Date;
2700
2750
  updatedAt: Date;
2751
+ matchId?: string | undefined;
2701
2752
  respondedAt?: Date | undefined;
2702
2753
  senderProfileId: string;
2703
2754
  senderAccountId: string;
2704
2755
  recipientProfileId: string;
2705
2756
  recipientAccountId: string;
2757
+ actionType: import("../index.js").InterestActionType;
2706
2758
  introMessage?: string | undefined;
2707
2759
  sentAt: Date;
2708
2760
  declineReason?: string | undefined;
@@ -2740,11 +2792,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2740
2792
  createdAt: Date;
2741
2793
  updatedAt: Date;
2742
2794
  _id: string;
2795
+ matchId?: string | undefined;
2743
2796
  respondedAt?: Date | undefined;
2744
2797
  senderProfileId: string;
2745
2798
  senderAccountId: string;
2746
2799
  recipientProfileId: string;
2747
2800
  recipientAccountId: string;
2801
+ actionType: import("../index.js").InterestActionType;
2748
2802
  introMessage?: string | undefined;
2749
2803
  sentAt: Date;
2750
2804
  declineReason?: string | undefined;
@@ -2760,11 +2814,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2760
2814
  responseDeadline: Date;
2761
2815
  createdAt: Date;
2762
2816
  updatedAt: Date;
2817
+ matchId?: string | undefined;
2763
2818
  respondedAt?: Date | undefined;
2764
2819
  senderProfileId: string;
2765
2820
  senderAccountId: string;
2766
2821
  recipientProfileId: string;
2767
2822
  recipientAccountId: string;
2823
+ actionType: import("../index.js").InterestActionType;
2768
2824
  introMessage?: string | undefined;
2769
2825
  sentAt: Date;
2770
2826
  declineReason?: string | undefined;
@@ -2802,11 +2858,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2802
2858
  createdAt: Date;
2803
2859
  updatedAt: Date;
2804
2860
  _id: string;
2861
+ matchId?: string | undefined;
2805
2862
  respondedAt?: Date | undefined;
2806
2863
  senderProfileId: string;
2807
2864
  senderAccountId: string;
2808
2865
  recipientProfileId: string;
2809
2866
  recipientAccountId: string;
2867
+ actionType: import("../index.js").InterestActionType;
2810
2868
  introMessage?: string | undefined;
2811
2869
  sentAt: Date;
2812
2870
  declineReason?: string | undefined;
@@ -2822,11 +2880,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2822
2880
  responseDeadline: Date;
2823
2881
  createdAt: Date;
2824
2882
  updatedAt: Date;
2883
+ matchId?: string | undefined;
2825
2884
  respondedAt?: Date | undefined;
2826
2885
  senderProfileId: string;
2827
2886
  senderAccountId: string;
2828
2887
  recipientProfileId: string;
2829
2888
  recipientAccountId: string;
2889
+ actionType: import("../index.js").InterestActionType;
2830
2890
  introMessage?: string | undefined;
2831
2891
  sentAt: Date;
2832
2892
  declineReason?: string | undefined;
@@ -2862,11 +2922,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2862
2922
  responseDeadline: Date;
2863
2923
  createdAt: Date;
2864
2924
  updatedAt: Date;
2925
+ matchId?: string | undefined;
2865
2926
  respondedAt?: Date | undefined;
2866
2927
  senderProfileId: string;
2867
2928
  senderAccountId: string;
2868
2929
  recipientProfileId: string;
2869
2930
  recipientAccountId: string;
2931
+ actionType: import("../index.js").InterestActionType;
2870
2932
  introMessage?: string | undefined;
2871
2933
  sentAt: Date;
2872
2934
  declineReason?: string | undefined;
@@ -2882,11 +2944,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2882
2944
  responseDeadline: Date;
2883
2945
  createdAt: Date;
2884
2946
  updatedAt: Date;
2947
+ matchId?: string | undefined;
2885
2948
  respondedAt?: Date | undefined;
2886
2949
  senderProfileId: string;
2887
2950
  senderAccountId: string;
2888
2951
  recipientProfileId: string;
2889
2952
  recipientAccountId: string;
2953
+ actionType: import("../index.js").InterestActionType;
2890
2954
  introMessage?: string | undefined;
2891
2955
  sentAt: Date;
2892
2956
  declineReason?: string | undefined;
@@ -2902,11 +2966,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2902
2966
  responseDeadline: Date;
2903
2967
  createdAt: Date;
2904
2968
  updatedAt: Date;
2969
+ matchId?: string | undefined;
2905
2970
  respondedAt?: Date | undefined;
2906
2971
  senderProfileId: string;
2907
2972
  senderAccountId: string;
2908
2973
  recipientProfileId: string;
2909
2974
  recipientAccountId: string;
2975
+ actionType: import("../index.js").InterestActionType;
2910
2976
  introMessage?: string | undefined;
2911
2977
  sentAt: Date;
2912
2978
  declineReason?: string | undefined;
@@ -2921,11 +2987,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2921
2987
  responseDeadline: Date;
2922
2988
  createdAt: Date;
2923
2989
  updatedAt: Date;
2990
+ matchId?: string | undefined;
2924
2991
  respondedAt?: Date | undefined;
2925
2992
  senderProfileId: string;
2926
2993
  senderAccountId: string;
2927
2994
  recipientProfileId: string;
2928
2995
  recipientAccountId: string;
2996
+ actionType: import("../index.js").InterestActionType;
2929
2997
  introMessage?: string | undefined;
2930
2998
  sentAt: Date;
2931
2999
  declineReason?: string | undefined;
@@ -2959,11 +3027,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2959
3027
  createdAt: Date;
2960
3028
  updatedAt: Date;
2961
3029
  _id: string;
3030
+ matchId?: string | undefined;
2962
3031
  respondedAt?: Date | undefined;
2963
3032
  senderProfileId: string;
2964
3033
  senderAccountId: string;
2965
3034
  recipientProfileId: string;
2966
3035
  recipientAccountId: string;
3036
+ actionType: import("../index.js").InterestActionType;
2967
3037
  introMessage?: string | undefined;
2968
3038
  sentAt: Date;
2969
3039
  declineReason?: string | undefined;
@@ -2981,11 +3051,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
2981
3051
  createdAt: Date;
2982
3052
  updatedAt: Date;
2983
3053
  _id: string;
3054
+ matchId?: string | undefined;
2984
3055
  respondedAt?: Date | undefined;
2985
3056
  senderProfileId: string;
2986
3057
  senderAccountId: string;
2987
3058
  recipientProfileId: string;
2988
3059
  recipientAccountId: string;
3060
+ actionType: import("../index.js").InterestActionType;
2989
3061
  introMessage?: string | undefined;
2990
3062
  sentAt: Date;
2991
3063
  declineReason?: string | undefined;
@@ -3011,11 +3083,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
3011
3083
  createdAt: Date;
3012
3084
  updatedAt: Date;
3013
3085
  _id: string;
3086
+ matchId?: string | undefined;
3014
3087
  respondedAt?: Date | undefined;
3015
3088
  senderProfileId: string;
3016
3089
  senderAccountId: string;
3017
3090
  recipientProfileId: string;
3018
3091
  recipientAccountId: string;
3092
+ actionType: import("../index.js").InterestActionType;
3019
3093
  introMessage?: string | undefined;
3020
3094
  sentAt: Date;
3021
3095
  declineReason?: string | undefined;
@@ -3040,11 +3114,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
3040
3114
  createdAt: Date;
3041
3115
  updatedAt: Date;
3042
3116
  _id: string;
3117
+ matchId?: string | undefined;
3043
3118
  respondedAt?: Date | undefined;
3044
3119
  senderProfileId: string;
3045
3120
  senderAccountId: string;
3046
3121
  recipientProfileId: string;
3047
3122
  recipientAccountId: string;
3123
+ actionType: import("../index.js").InterestActionType;
3048
3124
  introMessage?: string | undefined;
3049
3125
  sentAt: Date;
3050
3126
  declineReason?: string | undefined;
@@ -3060,11 +3136,13 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
3060
3136
  createdAt: Date;
3061
3137
  updatedAt: Date;
3062
3138
  _id: string;
3139
+ matchId?: string | undefined;
3063
3140
  respondedAt?: Date | undefined;
3064
3141
  senderProfileId: string;
3065
3142
  senderAccountId: string;
3066
3143
  recipientProfileId: string;
3067
3144
  recipientAccountId: string;
3145
+ actionType: import("../index.js").InterestActionType;
3068
3146
  introMessage?: string | undefined;
3069
3147
  sentAt: Date;
3070
3148
  declineReason?: string | undefined;
@@ -3135,7 +3213,7 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
3135
3213
  id: string;
3136
3214
  }> | undefined;
3137
3215
  unmarkModified?: import("mongoose").SchemaDefinitionProperty<{
3138
- <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T): void;
3216
+ <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "matchId" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "actionType" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(path: T): void;
3139
3217
  (path: string): void;
3140
3218
  }, import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
3141
3219
  _id: string;
@@ -3220,7 +3298,7 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
3220
3298
  id: string;
3221
3299
  }> | undefined;
3222
3300
  validate?: import("mongoose").SchemaDefinitionProperty<{
3223
- <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
3301
+ <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "matchId" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "actionType" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
3224
3302
  (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
3225
3303
  (options: {
3226
3304
  pathsToSkip?: import("mongoose").pathsToSkip;
@@ -3261,7 +3339,7 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
3261
3339
  pathsToSkip?: import("mongoose").pathsToSkip;
3262
3340
  [k: string]: any;
3263
3341
  }): import("mongoose").Error.ValidationError | null;
3264
- <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
3342
+ <T extends "status" | "responseDeadline" | "createdAt" | "updatedAt" | "_id" | "matchId" | "respondedAt" | "senderProfileId" | "senderAccountId" | "recipientProfileId" | "recipientAccountId" | "actionType" | "introMessage" | "sentAt" | "declineReason" | "senderIsCompany" | "recipientIsCompany">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
3265
3343
  (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
3266
3344
  }, import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
3267
3345
  _id: string;
@@ -3418,6 +3496,37 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
3418
3496
  } & {
3419
3497
  id: string;
3420
3498
  }> | undefined;
3499
+ matchId?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
3500
+ _id: string;
3501
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IInterest, "id"> & {
3502
+ _id: string;
3503
+ } & Required<{
3504
+ _id: string;
3505
+ }> & {
3506
+ __v: number;
3507
+ } & {
3508
+ id: string;
3509
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
3510
+ _id: string;
3511
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IInterest, "id"> & {
3512
+ _id: string;
3513
+ } & Required<{
3514
+ _id: string;
3515
+ }> & {
3516
+ __v: number;
3517
+ } & {
3518
+ id: string;
3519
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
3520
+ _id: string;
3521
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IInterest, "id"> & {
3522
+ _id: string;
3523
+ } & Required<{
3524
+ _id: string;
3525
+ }> & {
3526
+ __v: number;
3527
+ } & {
3528
+ id: string;
3529
+ }> | undefined;
3421
3530
  respondedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
3422
3531
  _id: string;
3423
3532
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IInterest, "id"> & {
@@ -3573,6 +3682,37 @@ export declare const InterestSchema: Schema<import("mongoose").Document<unknown,
3573
3682
  } & {
3574
3683
  id: string;
3575
3684
  }> | undefined;
3685
+ actionType?: import("mongoose").SchemaDefinitionProperty<import("../index.js").InterestActionType, import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
3686
+ _id: string;
3687
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IInterest, "id"> & {
3688
+ _id: string;
3689
+ } & Required<{
3690
+ _id: string;
3691
+ }> & {
3692
+ __v: number;
3693
+ } & {
3694
+ id: string;
3695
+ }, import("mongoose").Document<unknown, {}, import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
3696
+ _id: string;
3697
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IInterest, "id"> & {
3698
+ _id: string;
3699
+ } & Required<{
3700
+ _id: string;
3701
+ }> & {
3702
+ __v: number;
3703
+ } & {
3704
+ id: string;
3705
+ }, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
3706
+ _id: string;
3707
+ }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IInterest, "id"> & {
3708
+ _id: string;
3709
+ } & Required<{
3710
+ _id: string;
3711
+ }> & {
3712
+ __v: number;
3713
+ } & {
3714
+ id: string;
3715
+ }> | undefined;
3576
3716
  introMessage?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IInterest, "id"> & {
3577
3717
  _id: string;
3578
3718
  }, {}, import("mongoose").DefaultSchemaOptions> & Omit<IInterest, "id"> & {