@voyantjs/crm 0.62.2 → 0.63.0

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 (33) hide show
  1. package/dist/action-ledger-capabilities.d.ts +20 -0
  2. package/dist/action-ledger-capabilities.d.ts.map +1 -0
  3. package/dist/action-ledger-capabilities.js +16 -0
  4. package/dist/routes/accounts.d.ts +19 -19
  5. package/dist/routes/activities.d.ts +6 -6
  6. package/dist/routes/custom-fields.d.ts +7 -7
  7. package/dist/routes/customer-signals.d.ts +14 -14
  8. package/dist/routes/index.d.ts +112 -60
  9. package/dist/routes/index.d.ts.map +1 -1
  10. package/dist/routes/opportunities.d.ts +4 -4
  11. package/dist/routes/person-documents.d.ts +67 -7
  12. package/dist/routes/person-documents.d.ts.map +1 -1
  13. package/dist/routes/person-documents.js +80 -0
  14. package/dist/routes/person-relationships.d.ts +2 -2
  15. package/dist/routes/quotes.d.ts +2 -2
  16. package/dist/schema-activities.d.ts +4 -4
  17. package/dist/schema-signals.d.ts +2 -2
  18. package/dist/service/accounts-organizations.d.ts +3 -3
  19. package/dist/service/accounts-people.d.ts +10 -10
  20. package/dist/service/accounts.d.ts +13 -13
  21. package/dist/service/activities.d.ts +6 -6
  22. package/dist/service/custom-fields.d.ts +9 -9
  23. package/dist/service/customer-signals.d.ts +18 -18
  24. package/dist/service/index.d.ts +72 -65
  25. package/dist/service/index.d.ts.map +1 -1
  26. package/dist/service/opportunities.d.ts +4 -4
  27. package/dist/service/person-documents.d.ts +17 -4
  28. package/dist/service/person-documents.d.ts.map +1 -1
  29. package/dist/service/person-documents.js +16 -0
  30. package/dist/service/person-relationships.d.ts +3 -3
  31. package/dist/service/quotes.d.ts +2 -2
  32. package/dist/validation.d.ts +35 -35
  33. package/package.json +7 -6
@@ -45,13 +45,13 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
45
45
  input: {};
46
46
  output: {
47
47
  data: {
48
- source: string | null;
49
- relation: "partner" | "supplier" | "other" | "client" | null;
50
48
  name: string;
51
49
  id: string;
50
+ status: "active" | "inactive" | "archived";
52
51
  createdAt: string;
52
+ source: string | null;
53
+ relation: "partner" | "supplier" | "other" | "client" | null;
53
54
  updatedAt: string;
54
- status: "active" | "inactive" | "archived";
55
55
  notes: string | null;
56
56
  website: string | null;
57
57
  legalName: string | null;
@@ -228,12 +228,12 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
228
228
  };
229
229
  output: {
230
230
  data: {
231
+ id: string;
232
+ createdAt: string;
231
233
  value: string;
232
234
  metadata: {
233
235
  [x: string]: import("hono/utils/types").JSONValue;
234
236
  } | null;
235
- id: string;
236
- createdAt: string;
237
237
  updatedAt: string;
238
238
  notes: string | null;
239
239
  kind: "email" | "other" | "phone" | "website" | "mobile" | "whatsapp" | "sms" | "fax" | "social";
@@ -261,7 +261,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
261
261
  id: string;
262
262
  entityType: string;
263
263
  entityId: string;
264
- label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
264
+ label: "primary" | "service" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
265
265
  fullText: string | null;
266
266
  line1: string | null;
267
267
  line2: string | null;
@@ -295,18 +295,18 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
295
295
  };
296
296
  output: {
297
297
  data: {
298
+ id: string;
299
+ createdAt: string;
298
300
  metadata: {
299
301
  [x: string]: import("hono/utils/types").JSONValue;
300
302
  } | null;
301
- id: string;
302
- createdAt: string;
303
303
  updatedAt: string;
304
304
  notes: string | null;
305
305
  timezone: string | null;
306
306
  region: string | null;
307
307
  entityType: string;
308
308
  entityId: string;
309
- label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
309
+ label: "primary" | "service" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
310
310
  isPrimary: boolean;
311
311
  fullText: string | null;
312
312
  line1: string | null;
@@ -365,8 +365,8 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
365
365
  output: {
366
366
  data: {
367
367
  id: string;
368
- createdAt: string;
369
368
  organizationId: string;
369
+ createdAt: string;
370
370
  authorId: string;
371
371
  content: string;
372
372
  };
@@ -720,12 +720,12 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
720
720
  };
721
721
  output: {
722
722
  data: {
723
+ id: string;
724
+ createdAt: string;
723
725
  value: string;
724
726
  metadata: {
725
727
  [x: string]: import("hono/utils/types").JSONValue;
726
728
  } | null;
727
- id: string;
728
- createdAt: string;
729
729
  updatedAt: string;
730
730
  notes: string | null;
731
731
  kind: "email" | "other" | "phone" | "website" | "mobile" | "whatsapp" | "sms" | "fax" | "social";
@@ -753,7 +753,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
753
753
  id: string;
754
754
  entityType: string;
755
755
  entityId: string;
756
- label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
756
+ label: "primary" | "service" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
757
757
  fullText: string | null;
758
758
  line1: string | null;
759
759
  line2: string | null;
@@ -787,18 +787,18 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
787
787
  };
788
788
  output: {
789
789
  data: {
790
+ id: string;
791
+ createdAt: string;
790
792
  metadata: {
791
793
  [x: string]: import("hono/utils/types").JSONValue;
792
794
  } | null;
793
- id: string;
794
- createdAt: string;
795
795
  updatedAt: string;
796
796
  notes: string | null;
797
797
  timezone: string | null;
798
798
  region: string | null;
799
799
  entityType: string;
800
800
  entityId: string;
801
- label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
801
+ label: "primary" | "service" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
802
802
  isPrimary: boolean;
803
803
  fullText: string | null;
804
804
  line1: string | null;
@@ -1098,8 +1098,8 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
1098
1098
  output: {
1099
1099
  data: {
1100
1100
  id: string;
1101
- createdAt: string;
1102
1101
  organizationId: string | null;
1102
+ createdAt: string;
1103
1103
  personId: string;
1104
1104
  content: string | null;
1105
1105
  channel: "email" | "other" | "phone" | "whatsapp" | "sms" | "meeting";
@@ -1140,9 +1140,9 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
1140
1140
  data: {
1141
1141
  name: string;
1142
1142
  id: string;
1143
+ description: string | null;
1143
1144
  createdAt: string;
1144
1145
  updatedAt: string;
1145
- description: string | null;
1146
1146
  conditions: {
1147
1147
  [x: string]: import("hono/utils/types").JSONValue;
1148
1148
  } | null;
@@ -1300,7 +1300,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
1300
1300
  id: string;
1301
1301
  entityType: string;
1302
1302
  entityId: string;
1303
- label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
1303
+ label: "primary" | "service" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
1304
1304
  fullText: string | null;
1305
1305
  line1: string | null;
1306
1306
  line2: string | null;
@@ -1405,13 +1405,13 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
1405
1405
  };
1406
1406
  output: {
1407
1407
  data: {
1408
+ type: "passport" | "visa" | "other" | "id_card" | "driver_license";
1409
+ id: string;
1410
+ createdAt: string;
1408
1411
  metadata: {
1409
1412
  [x: string]: import("hono/utils/types").JSONValue;
1410
1413
  } | null;
1411
- id: string;
1412
- createdAt: string;
1413
1414
  updatedAt: string;
1414
- type: "passport" | "visa" | "other" | "id_card" | "driver_license";
1415
1415
  issuingAuthority: string | null;
1416
1416
  issuingCountry: string | null;
1417
1417
  expiryDate: string | null;
@@ -1716,13 +1716,13 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
1716
1716
  };
1717
1717
  output: {
1718
1718
  data: {
1719
+ type: "passport" | "visa" | "other" | "id_card" | "driver_license";
1720
+ id: string;
1721
+ createdAt: string;
1719
1722
  metadata: {
1720
1723
  [x: string]: import("hono/utils/types").JSONValue;
1721
1724
  } | null;
1722
- id: string;
1723
- createdAt: string;
1724
1725
  updatedAt: string;
1725
- type: "passport" | "visa" | "other" | "id_card" | "driver_license";
1726
1726
  issuingAuthority: string | null;
1727
1727
  issuingCountry: string | null;
1728
1728
  expiryDate: string | null;
@@ -1796,6 +1796,58 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
1796
1796
  status: import("hono/utils/http-status").ContentfulStatusCode;
1797
1797
  };
1798
1798
  };
1799
+ } & {
1800
+ "/person-documents/:id/reveal": {
1801
+ $get: {
1802
+ input: {
1803
+ param: {
1804
+ id: string;
1805
+ };
1806
+ };
1807
+ output: {
1808
+ error: string;
1809
+ };
1810
+ outputFormat: "json";
1811
+ status: 503;
1812
+ } | {
1813
+ input: {
1814
+ param: {
1815
+ id: string;
1816
+ };
1817
+ };
1818
+ output: {
1819
+ error: string;
1820
+ reason: import("@voyantjs/action-ledger").ActionLedgerCapabilityAccessReason;
1821
+ };
1822
+ outputFormat: "json";
1823
+ status: 403;
1824
+ } | {
1825
+ input: {
1826
+ param: {
1827
+ id: string;
1828
+ };
1829
+ };
1830
+ output: {
1831
+ error: string;
1832
+ };
1833
+ outputFormat: "json";
1834
+ status: 404;
1835
+ } | {
1836
+ input: {
1837
+ param: {
1838
+ id: string;
1839
+ };
1840
+ };
1841
+ output: {
1842
+ data: {
1843
+ documentId: string;
1844
+ number: string | null;
1845
+ };
1846
+ };
1847
+ outputFormat: "json";
1848
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1849
+ };
1850
+ };
1799
1851
  }, "/"> | import("hono/types").MergeSchemaPath<{
1800
1852
  "/people/:id/relationships": {
1801
1853
  $get: {
@@ -1847,11 +1899,11 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
1847
1899
  };
1848
1900
  output: {
1849
1901
  data: {
1902
+ id: string;
1903
+ createdAt: string;
1850
1904
  metadata: {
1851
1905
  [x: string]: import("hono/utils/types").JSONValue;
1852
1906
  } | null;
1853
- id: string;
1854
- createdAt: string;
1855
1907
  updatedAt: string;
1856
1908
  startDate: string | null;
1857
1909
  endDate: string | null;
@@ -1985,9 +2037,9 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
1985
2037
  personId: string;
1986
2038
  productId: string | null;
1987
2039
  optionUnitId: string | null;
1988
- kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
2040
+ kind: "notify" | "wishlist" | "inquiry" | "request_offer" | "referral";
1989
2041
  source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
1990
- status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
2042
+ status: "expired" | "new" | "contacted" | "qualified" | "converted" | "lost";
1991
2043
  priority: string;
1992
2044
  notes: string | null;
1993
2045
  tags: string[];
@@ -2022,16 +2074,16 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
2022
2074
  input: {};
2023
2075
  output: {
2024
2076
  data: {
2077
+ id: string;
2078
+ status: "expired" | "new" | "contacted" | "qualified" | "converted" | "lost";
2079
+ createdAt: string;
2025
2080
  source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
2026
2081
  metadata: {
2027
2082
  [x: string]: import("hono/utils/types").JSONValue;
2028
2083
  } | null;
2029
- id: string;
2030
- createdAt: string;
2031
2084
  updatedAt: string;
2032
- status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
2033
2085
  notes: string | null;
2034
- kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
2086
+ kind: "notify" | "wishlist" | "inquiry" | "request_offer" | "referral";
2035
2087
  tags: string[];
2036
2088
  personId: string;
2037
2089
  productId: string | null;
@@ -2072,9 +2124,9 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
2072
2124
  personId: string;
2073
2125
  productId: string | null;
2074
2126
  optionUnitId: string | null;
2075
- kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
2127
+ kind: "notify" | "wishlist" | "inquiry" | "request_offer" | "referral";
2076
2128
  source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
2077
- status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
2129
+ status: "expired" | "new" | "contacted" | "qualified" | "converted" | "lost";
2078
2130
  priority: string;
2079
2131
  notes: string | null;
2080
2132
  tags: string[];
@@ -2118,9 +2170,9 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
2118
2170
  personId: string;
2119
2171
  productId: string | null;
2120
2172
  optionUnitId: string | null;
2121
- kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
2173
+ kind: "notify" | "wishlist" | "inquiry" | "request_offer" | "referral";
2122
2174
  source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
2123
- status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
2175
+ status: "expired" | "new" | "contacted" | "qualified" | "converted" | "lost";
2124
2176
  priority: string;
2125
2177
  notes: string | null;
2126
2178
  tags: string[];
@@ -2190,9 +2242,9 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
2190
2242
  personId: string;
2191
2243
  productId: string | null;
2192
2244
  optionUnitId: string | null;
2193
- kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
2245
+ kind: "notify" | "wishlist" | "inquiry" | "request_offer" | "referral";
2194
2246
  source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
2195
- status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
2247
+ status: "expired" | "new" | "contacted" | "qualified" | "converted" | "lost";
2196
2248
  priority: string;
2197
2249
  notes: string | null;
2198
2250
  tags: string[];
@@ -2225,9 +2277,9 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
2225
2277
  personId: string;
2226
2278
  productId: string | null;
2227
2279
  optionUnitId: string | null;
2228
- kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
2280
+ kind: "notify" | "wishlist" | "inquiry" | "request_offer" | "referral";
2229
2281
  source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
2230
- status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
2282
+ status: "expired" | "new" | "contacted" | "qualified" | "converted" | "lost";
2231
2283
  priority: string;
2232
2284
  notes: string | null;
2233
2285
  tags: string[];
@@ -2568,12 +2620,12 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
2568
2620
  input: {};
2569
2621
  output: {
2570
2622
  data: {
2571
- source: string | null;
2572
2623
  id: string;
2624
+ status: "lost" | "archived" | "open" | "won";
2625
+ organizationId: string | null;
2573
2626
  createdAt: string;
2627
+ source: string | null;
2574
2628
  updatedAt: string;
2575
- organizationId: string | null;
2576
- status: "lost" | "archived" | "open" | "won";
2577
2629
  title: string;
2578
2630
  ownerId: string | null;
2579
2631
  sourceRef: string | null;
@@ -2821,10 +2873,10 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
2821
2873
  output: {
2822
2874
  data: {
2823
2875
  id: string;
2876
+ description: string | null;
2824
2877
  createdAt: string;
2825
2878
  updatedAt: string;
2826
2879
  currency: string | null;
2827
- description: string | null;
2828
2880
  opportunityId: string;
2829
2881
  productId: string | null;
2830
2882
  supplierServiceId: string | null;
@@ -2939,9 +2991,9 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
2939
2991
  output: {
2940
2992
  data: {
2941
2993
  id: string;
2994
+ status: "expired" | "archived" | "draft" | "sent" | "accepted" | "rejected";
2942
2995
  createdAt: string;
2943
2996
  updatedAt: string;
2944
- status: "expired" | "archived" | "draft" | "sent" | "accepted" | "rejected";
2945
2997
  currency: string;
2946
2998
  notes: string | null;
2947
2999
  opportunityId: string;
@@ -3098,10 +3150,10 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
3098
3150
  output: {
3099
3151
  data: {
3100
3152
  id: string;
3153
+ description: string;
3101
3154
  createdAt: string;
3102
3155
  updatedAt: string;
3103
3156
  currency: string;
3104
- description: string;
3105
3157
  quoteId: string;
3106
3158
  productId: string | null;
3107
3159
  supplierServiceId: string | null;
@@ -3188,7 +3240,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
3188
3240
  subject: string;
3189
3241
  type: "email" | "meeting" | "call" | "task" | "follow_up" | "note";
3190
3242
  ownerId: string | null;
3191
- status: "done" | "cancelled" | "planned";
3243
+ status: "cancelled" | "done" | "planned";
3192
3244
  dueAt: string | null;
3193
3245
  completedAt: string | null;
3194
3246
  location: string | null;
@@ -3210,12 +3262,12 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
3210
3262
  input: {};
3211
3263
  output: {
3212
3264
  data: {
3265
+ type: "email" | "meeting" | "call" | "task" | "follow_up" | "note";
3213
3266
  id: string;
3267
+ description: string | null;
3268
+ status: "cancelled" | "done" | "planned";
3214
3269
  createdAt: string;
3215
3270
  updatedAt: string;
3216
- status: "done" | "cancelled" | "planned";
3217
- type: "email" | "meeting" | "call" | "task" | "follow_up" | "note";
3218
- description: string | null;
3219
3271
  ownerId: string | null;
3220
3272
  subject: string;
3221
3273
  dueAt: string | null;
@@ -3252,7 +3304,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
3252
3304
  subject: string;
3253
3305
  type: "email" | "meeting" | "call" | "task" | "follow_up" | "note";
3254
3306
  ownerId: string | null;
3255
- status: "done" | "cancelled" | "planned";
3307
+ status: "cancelled" | "done" | "planned";
3256
3308
  dueAt: string | null;
3257
3309
  completedAt: string | null;
3258
3310
  location: string | null;
@@ -3290,7 +3342,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
3290
3342
  subject: string;
3291
3343
  type: "email" | "meeting" | "call" | "task" | "follow_up" | "note";
3292
3344
  ownerId: string | null;
3293
- status: "done" | "cancelled" | "planned";
3345
+ status: "cancelled" | "done" | "planned";
3294
3346
  dueAt: string | null;
3295
3347
  completedAt: string | null;
3296
3348
  location: string | null;
@@ -3477,7 +3529,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
3477
3529
  entityType: "organization" | "person" | "opportunity" | "quote" | "activity";
3478
3530
  key: string;
3479
3531
  label: string;
3480
- fieldType: "boolean" | "json" | "text" | "date" | "set" | "enum" | "phone" | "varchar" | "double" | "monetary" | "address";
3532
+ fieldType: "boolean" | "json" | "date" | "text" | "set" | "enum" | "phone" | "varchar" | "double" | "monetary" | "address";
3481
3533
  isRequired: boolean;
3482
3534
  isSearchable: boolean;
3483
3535
  options: {
@@ -3501,17 +3553,17 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
3501
3553
  input: {};
3502
3554
  output: {
3503
3555
  data: {
3504
- key: string;
3505
3556
  id: string;
3506
- createdAt: string;
3507
- updatedAt: string;
3508
3557
  options: {
3509
3558
  label: string;
3510
3559
  value: string;
3511
3560
  }[] | null;
3561
+ createdAt: string;
3562
+ key: string;
3563
+ updatedAt: string;
3512
3564
  entityType: "organization" | "person" | "opportunity" | "quote" | "activity";
3513
3565
  label: string;
3514
- fieldType: "boolean" | "json" | "text" | "date" | "set" | "enum" | "phone" | "varchar" | "double" | "monetary" | "address";
3566
+ fieldType: "boolean" | "json" | "date" | "text" | "set" | "enum" | "phone" | "varchar" | "double" | "monetary" | "address";
3515
3567
  isRequired: boolean;
3516
3568
  isSearchable: boolean;
3517
3569
  } | undefined;
@@ -3545,7 +3597,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
3545
3597
  entityType: "organization" | "person" | "opportunity" | "quote" | "activity";
3546
3598
  key: string;
3547
3599
  label: string;
3548
- fieldType: "boolean" | "json" | "text" | "date" | "set" | "enum" | "phone" | "varchar" | "double" | "monetary" | "address";
3600
+ fieldType: "boolean" | "json" | "date" | "text" | "set" | "enum" | "phone" | "varchar" | "double" | "monetary" | "address";
3549
3601
  isRequired: boolean;
3550
3602
  isSearchable: boolean;
3551
3603
  options: {
@@ -3585,7 +3637,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
3585
3637
  entityType: "organization" | "person" | "opportunity" | "quote" | "activity";
3586
3638
  key: string;
3587
3639
  label: string;
3588
- fieldType: "boolean" | "json" | "text" | "date" | "set" | "enum" | "phone" | "varchar" | "double" | "monetary" | "address";
3640
+ fieldType: "boolean" | "json" | "date" | "text" | "set" | "enum" | "phone" | "varchar" | "double" | "monetary" | "address";
3589
3641
  isRequired: boolean;
3590
3642
  isSearchable: boolean;
3591
3643
  options: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAajE,KAAK,GAAG,GAAG;IACT,SAAS,EAAE;QACT,EAAE,EAAE,kBAAkB,CAAA;QACtB,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;CACF,CAAA;AAED,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBASU,CAAA;AAEhC,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,CAAA"}
@@ -45,12 +45,12 @@ export declare const opportunityRoutes: import("hono/hono-base").HonoBase<Env, {
45
45
  input: {};
46
46
  output: {
47
47
  data: {
48
- source: string | null;
49
48
  id: string;
49
+ status: "lost" | "archived" | "open" | "won";
50
+ organizationId: string | null;
50
51
  createdAt: string;
52
+ source: string | null;
51
53
  updatedAt: string;
52
- organizationId: string | null;
53
- status: "lost" | "archived" | "open" | "won";
54
54
  title: string;
55
55
  ownerId: string | null;
56
56
  sourceRef: string | null;
@@ -298,10 +298,10 @@ export declare const opportunityRoutes: import("hono/hono-base").HonoBase<Env, {
298
298
  output: {
299
299
  data: {
300
300
  id: string;
301
+ description: string | null;
301
302
  createdAt: string;
302
303
  updatedAt: string;
303
304
  currency: string | null;
304
- description: string | null;
305
305
  opportunityId: string;
306
306
  productId: string | null;
307
307
  supplierServiceId: string | null;
@@ -5,6 +5,14 @@ type Env = {
5
5
  container?: ModuleContainer;
6
6
  db: PostgresJsDatabase;
7
7
  userId?: string;
8
+ sessionId?: string;
9
+ organizationId?: string | null;
10
+ actor?: string;
11
+ callerType?: string;
12
+ scopes?: string[] | null;
13
+ isInternalRequest?: boolean;
14
+ apiKeyId?: string;
15
+ apiTokenId?: string;
8
16
  };
9
17
  };
10
18
  export declare const personDocumentRoutes: import("hono/hono-base").HonoBase<Env, {
@@ -62,13 +70,13 @@ export declare const personDocumentRoutes: import("hono/hono-base").HonoBase<Env
62
70
  };
63
71
  output: {
64
72
  data: {
73
+ type: "passport" | "visa" | "other" | "id_card" | "driver_license";
74
+ id: string;
75
+ createdAt: string;
65
76
  metadata: {
66
77
  [x: string]: import("hono/utils/types").JSONValue;
67
78
  } | null;
68
- id: string;
69
- createdAt: string;
70
79
  updatedAt: string;
71
- type: "passport" | "visa" | "other" | "id_card" | "driver_license";
72
80
  issuingAuthority: string | null;
73
81
  issuingCountry: string | null;
74
82
  expiryDate: string | null;
@@ -373,13 +381,13 @@ export declare const personDocumentRoutes: import("hono/hono-base").HonoBase<Env
373
381
  };
374
382
  output: {
375
383
  data: {
384
+ type: "passport" | "visa" | "other" | "id_card" | "driver_license";
385
+ id: string;
386
+ createdAt: string;
376
387
  metadata: {
377
388
  [x: string]: import("hono/utils/types").JSONValue;
378
389
  } | null;
379
- id: string;
380
- createdAt: string;
381
390
  updatedAt: string;
382
- type: "passport" | "visa" | "other" | "id_card" | "driver_license";
383
391
  issuingAuthority: string | null;
384
392
  issuingCountry: string | null;
385
393
  expiryDate: string | null;
@@ -453,6 +461,58 @@ export declare const personDocumentRoutes: import("hono/hono-base").HonoBase<Env
453
461
  status: import("hono/utils/http-status").ContentfulStatusCode;
454
462
  };
455
463
  };
456
- }, "/", "/person-documents/:id/from-plaintext">;
464
+ } & {
465
+ "/person-documents/:id/reveal": {
466
+ $get: {
467
+ input: {
468
+ param: {
469
+ id: string;
470
+ };
471
+ };
472
+ output: {
473
+ error: string;
474
+ };
475
+ outputFormat: "json";
476
+ status: 503;
477
+ } | {
478
+ input: {
479
+ param: {
480
+ id: string;
481
+ };
482
+ };
483
+ output: {
484
+ error: string;
485
+ reason: import("@voyantjs/action-ledger").ActionLedgerCapabilityAccessReason;
486
+ };
487
+ outputFormat: "json";
488
+ status: 403;
489
+ } | {
490
+ input: {
491
+ param: {
492
+ id: string;
493
+ };
494
+ };
495
+ output: {
496
+ error: string;
497
+ };
498
+ outputFormat: "json";
499
+ status: 404;
500
+ } | {
501
+ input: {
502
+ param: {
503
+ id: string;
504
+ };
505
+ };
506
+ output: {
507
+ data: {
508
+ documentId: string;
509
+ number: string | null;
510
+ };
511
+ };
512
+ outputFormat: "json";
513
+ status: import("hono/utils/http-status").ContentfulStatusCode;
514
+ };
515
+ };
516
+ }, "/", "/person-documents/:id/reveal">;
457
517
  export {};
458
518
  //# sourceMappingURL=person-documents.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"person-documents.d.ts","sourceRoot":"","sources":["../../src/routes/person-documents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAIrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAejE,KAAK,GAAG,GAAG;IACT,SAAS,EAAE;QACT,SAAS,CAAC,EAAE,eAAe,CAAA;QAC3B,EAAE,EAAE,kBAAkB,CAAA;QACtB,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;CACF,CAAA;AAiBD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CA8I7B,CAAA"}
1
+ {"version":3,"file":"person-documents.d.ts","sourceRoot":"","sources":["../../src/routes/person-documents.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAIrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAs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