@wirecat/hubspot-cli 0.0.0-stage → 0.1.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 (269) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/LICENSE +204 -0
  3. package/README.md +256 -2
  4. package/contracts/wirecat.json +1965 -0
  5. package/dist/bin/hubspot.d.ts +3 -0
  6. package/dist/bin/hubspot.d.ts.map +1 -0
  7. package/dist/bin/hubspot.js +40 -0
  8. package/dist/bin/hubspot.js.map +1 -0
  9. package/dist/bundle/all-profiles-64JAUYW4.js +279 -0
  10. package/dist/bundle/anthropic-VJOS4OUM.js +91 -0
  11. package/dist/bundle/app-server-422MCA7S.js +245 -0
  12. package/dist/bundle/bun-M3J2QTR3.js +169 -0
  13. package/dist/bundle/bun-sqlite-IX3XYA5F.js +76 -0
  14. package/dist/bundle/chunk-24ERVFJP.js +73 -0
  15. package/dist/bundle/chunk-2QZK5BEP.js +392 -0
  16. package/dist/bundle/chunk-2TWQIWWG.js +1328 -0
  17. package/dist/bundle/chunk-2VGD63G6.js +604 -0
  18. package/dist/bundle/chunk-2VGZRYEH.js +334 -0
  19. package/dist/bundle/chunk-36ITRDYY.js +63116 -0
  20. package/dist/bundle/chunk-43EKCUBJ.js +72 -0
  21. package/dist/bundle/chunk-4W6BMH45.js +731 -0
  22. package/dist/bundle/chunk-5A6ZYNAQ.js +2003 -0
  23. package/dist/bundle/chunk-5D4AEUVA.js +24783 -0
  24. package/dist/bundle/chunk-5GBUCHRU.js +274 -0
  25. package/dist/bundle/chunk-5K7QLJMM.js +4072 -0
  26. package/dist/bundle/chunk-65TWQ7BV.js +54 -0
  27. package/dist/bundle/chunk-7ELMWE3P.js +12066 -0
  28. package/dist/bundle/chunk-ADLS6FVG.js +24600 -0
  29. package/dist/bundle/chunk-B3MANLNK.js +602 -0
  30. package/dist/bundle/chunk-BKXDHU3G.js +1395 -0
  31. package/dist/bundle/chunk-C32AKHTY.js +2310 -0
  32. package/dist/bundle/chunk-CLAN3FES.js +1246 -0
  33. package/dist/bundle/chunk-CWXOXIWS.js +46 -0
  34. package/dist/bundle/chunk-D72URWJE.js +532 -0
  35. package/dist/bundle/chunk-DB2XKHI4.js +72 -0
  36. package/dist/bundle/chunk-DBEQI5YM.js +100 -0
  37. package/dist/bundle/chunk-DFCHHR5M.js +38 -0
  38. package/dist/bundle/chunk-DFDN6AUB.js +21 -0
  39. package/dist/bundle/chunk-DRWWJLI6.js +188 -0
  40. package/dist/bundle/chunk-DSP36YHQ.js +29 -0
  41. package/dist/bundle/chunk-E52JAS35.js +1028 -0
  42. package/dist/bundle/chunk-E5WLE7BM.js +78 -0
  43. package/dist/bundle/chunk-ECEZOLOD.js +230 -0
  44. package/dist/bundle/chunk-EH6ZEJGT.js +932 -0
  45. package/dist/bundle/chunk-FBCCBCFH.js +288 -0
  46. package/dist/bundle/chunk-FKA7DOCK.js +53 -0
  47. package/dist/bundle/chunk-FOZYMDRL.js +259 -0
  48. package/dist/bundle/chunk-FPUGMDJV.js +7 -0
  49. package/dist/bundle/chunk-FTFV3HFW.js +721 -0
  50. package/dist/bundle/chunk-H3TNVEQX.js +782 -0
  51. package/dist/bundle/chunk-HC5ZWE5X.js +193 -0
  52. package/dist/bundle/chunk-HCAZV5NP.js +95 -0
  53. package/dist/bundle/chunk-HTAN663T.js +4045 -0
  54. package/dist/bundle/chunk-HZRQLAHO.js +16 -0
  55. package/dist/bundle/chunk-IMJQRPLN.js +92 -0
  56. package/dist/bundle/chunk-JLDBMEKZ.js +106 -0
  57. package/dist/bundle/chunk-JRCPCVPI.js +9393 -0
  58. package/dist/bundle/chunk-LNV33FDC.js +786 -0
  59. package/dist/bundle/chunk-LOBVOGOE.js +66 -0
  60. package/dist/bundle/chunk-MVA5HVKL.js +1392 -0
  61. package/dist/bundle/chunk-N2XADGL4.js +76 -0
  62. package/dist/bundle/chunk-NHHJHXMQ.js +58 -0
  63. package/dist/bundle/chunk-NUU4WZVL.js +52 -0
  64. package/dist/bundle/chunk-NWHEHV3K.js +133 -0
  65. package/dist/bundle/chunk-NXERIDPJ.js +319 -0
  66. package/dist/bundle/chunk-O3DYRCIT.js +23 -0
  67. package/dist/bundle/chunk-O55RWNSH.js +161 -0
  68. package/dist/bundle/chunk-P5BHKKBI.js +206 -0
  69. package/dist/bundle/chunk-PPHBRESD.js +82 -0
  70. package/dist/bundle/chunk-PVKF24ZW.js +364 -0
  71. package/dist/bundle/chunk-QGFX5MXL.js +460 -0
  72. package/dist/bundle/chunk-QJW35N5V.js +761 -0
  73. package/dist/bundle/chunk-QU25DA5N.js +360 -0
  74. package/dist/bundle/chunk-RMIYKDUL.js +1068 -0
  75. package/dist/bundle/chunk-RR5MX5TM.js +142 -0
  76. package/dist/bundle/chunk-SAKK2YRU.js +218 -0
  77. package/dist/bundle/chunk-SDQGB4KB.js +185 -0
  78. package/dist/bundle/chunk-TBJYLC5K.js +2788 -0
  79. package/dist/bundle/chunk-TI46WQXQ.js +1197 -0
  80. package/dist/bundle/chunk-TKVL2C3B.js +170 -0
  81. package/dist/bundle/chunk-TOSCB4SO.js +1227 -0
  82. package/dist/bundle/chunk-TP7GDWVF.js +6848 -0
  83. package/dist/bundle/chunk-UUMUL4L3.js +72 -0
  84. package/dist/bundle/chunk-VIEYMDBR.js +41 -0
  85. package/dist/bundle/chunk-W53EJOFQ.js +63 -0
  86. package/dist/bundle/chunk-W7HM2VGO.js +24 -0
  87. package/dist/bundle/chunk-WE4UFASG.js +88 -0
  88. package/dist/bundle/chunk-WQBX7XYP.js +26174 -0
  89. package/dist/bundle/chunk-X2M6NIQG.js +18 -0
  90. package/dist/bundle/chunk-X7XUX7A4.js +1846 -0
  91. package/dist/bundle/chunk-XRREFEIW.js +372 -0
  92. package/dist/bundle/chunk-Y5E2WNWB.js +35 -0
  93. package/dist/bundle/chunk-ZBDSHFG4.js +40933 -0
  94. package/dist/bundle/chunk-ZVVMGPBJ.js +50 -0
  95. package/dist/bundle/command-contract-C6CBFXZF.js +40 -0
  96. package/dist/bundle/command-server-entry-DJKVVZCQ.js +169 -0
  97. package/dist/bundle/decode-FC65Y4IV.js +297 -0
  98. package/dist/bundle/definitions-MVPICAWV.js +2991 -0
  99. package/dist/bundle/dispatch-KOISQ5QJ.js +411 -0
  100. package/dist/bundle/dist-MYZZKZJ7.js +7577 -0
  101. package/dist/bundle/echarts-FVTUDXDU.js +42501 -0
  102. package/dist/bundle/embed-VNBZFPYH.js +38 -0
  103. package/dist/bundle/embedder-6U4NOFRO.js +111 -0
  104. package/dist/bundle/failure-FZ6VYKEQ.js +25 -0
  105. package/dist/bundle/first-run-RPIJZEDT.js +29 -0
  106. package/dist/bundle/first-screen-RTVMGHAE.js +40 -0
  107. package/dist/bundle/hubspot.js +198 -0
  108. package/dist/bundle/instructions-HET7BCYK.js +11 -0
  109. package/dist/bundle/mcp-RGNRW77S.js +167 -0
  110. package/dist/bundle/meeting-combined-L5AGBPYX.js +25 -0
  111. package/dist/bundle/meeting-model-NTB4RK3F.js +25 -0
  112. package/dist/bundle/meeting-semantic-JY3OGCBS.js +22 -0
  113. package/dist/bundle/node-CXZIFHZC.js +176 -0
  114. package/dist/bundle/node-P4E63KXA.js +2340 -0
  115. package/dist/bundle/node-TLZSIHIJ.js +21 -0
  116. package/dist/bundle/node-sqlite-P3O7XN7Q.js +74 -0
  117. package/dist/bundle/oauth-HNCY4B2S.js +20 -0
  118. package/dist/bundle/open-F4P6YV54.js +23 -0
  119. package/dist/bundle/openai-4AICLIK3.js +238 -0
  120. package/dist/bundle/process-5RUXWGYS.js +91 -0
  121. package/dist/bundle/program-POG5GHUQ.js +9241 -0
  122. package/dist/bundle/prompt-NFMDVBZ4.js +17 -0
  123. package/dist/bundle/recognize-DKN3RY4V.js +26 -0
  124. package/dist/bundle/remote-6QHAGQWY.js +31 -0
  125. package/dist/bundle/rerank-M4KHEHUZ.js +52 -0
  126. package/dist/bundle/schemas-JRL3DLMP.js +952 -0
  127. package/dist/bundle/serve-DNU43ND6.js +199 -0
  128. package/dist/bundle/server-C3ZHA7AZ.js +77 -0
  129. package/dist/bundle/server-XJSNF3K5.js +207 -0
  130. package/dist/bundle/source-A3SBLHC4.js +934 -0
  131. package/dist/bundle/sqlite-runtime-EMQAC63N.js +20 -0
  132. package/dist/bundle/state-T45CX7VY.js +36 -0
  133. package/dist/bundle/store-6LCEVBAZ.js +176 -0
  134. package/dist/bundle/store-6TZ2FCVA.js +295 -0
  135. package/dist/bundle/store-CCDNUB6A.js +32 -0
  136. package/dist/bundle/store-maintenance-command-BRCG6MNA.js +68 -0
  137. package/dist/commands/account.d.ts +3 -0
  138. package/dist/commands/account.d.ts.map +1 -0
  139. package/dist/commands/account.js +87 -0
  140. package/dist/commands/account.js.map +1 -0
  141. package/dist/commands/api.d.ts +9 -0
  142. package/dist/commands/api.d.ts.map +1 -0
  143. package/dist/commands/api.js +65 -0
  144. package/dist/commands/api.js.map +1 -0
  145. package/dist/commands/comments.d.ts +3 -0
  146. package/dist/commands/comments.d.ts.map +1 -0
  147. package/dist/commands/comments.js +114 -0
  148. package/dist/commands/comments.js.map +1 -0
  149. package/dist/commands/crm-shared.d.ts +8 -0
  150. package/dist/commands/crm-shared.d.ts.map +1 -0
  151. package/dist/commands/crm-shared.js +93 -0
  152. package/dist/commands/crm-shared.js.map +1 -0
  153. package/dist/commands/schedule.d.ts +3 -0
  154. package/dist/commands/schedule.d.ts.map +1 -0
  155. package/dist/commands/schedule.js +9 -0
  156. package/dist/commands/schedule.js.map +1 -0
  157. package/dist/commands/session.d.ts +14 -0
  158. package/dist/commands/session.d.ts.map +1 -0
  159. package/dist/commands/session.js +164 -0
  160. package/dist/commands/session.js.map +1 -0
  161. package/dist/config.d.ts +22 -0
  162. package/dist/config.d.ts.map +1 -0
  163. package/dist/config.js +28 -0
  164. package/dist/config.js.map +1 -0
  165. package/dist/context.d.ts +88 -0
  166. package/dist/context.d.ts.map +1 -0
  167. package/dist/context.js +137 -0
  168. package/dist/context.js.map +1 -0
  169. package/dist/crm/activities.d.ts +24 -0
  170. package/dist/crm/activities.d.ts.map +1 -0
  171. package/dist/crm/activities.js +214 -0
  172. package/dist/crm/activities.js.map +1 -0
  173. package/dist/crm/associations.d.ts +20 -0
  174. package/dist/crm/associations.d.ts.map +1 -0
  175. package/dist/crm/associations.js +47 -0
  176. package/dist/crm/associations.js.map +1 -0
  177. package/dist/crm/records.d.ts +63 -0
  178. package/dist/crm/records.d.ts.map +1 -0
  179. package/dist/crm/records.js +333 -0
  180. package/dist/crm/records.js.map +1 -0
  181. package/dist/crm/search.d.ts +57 -0
  182. package/dist/crm/search.d.ts.map +1 -0
  183. package/dist/crm/search.js +47 -0
  184. package/dist/crm/search.js.map +1 -0
  185. package/dist/crm/source.d.ts +32 -0
  186. package/dist/crm/source.d.ts.map +1 -0
  187. package/dist/crm/source.js +369 -0
  188. package/dist/crm/source.js.map +1 -0
  189. package/dist/generated/definitions.d.ts +3 -0
  190. package/dist/generated/definitions.d.ts.map +1 -0
  191. package/dist/generated/definitions.js +2987 -0
  192. package/dist/generated/definitions.js.map +1 -0
  193. package/dist/generated/manifest.d.ts +6 -0
  194. package/dist/generated/manifest.d.ts.map +1 -0
  195. package/dist/generated/manifest.js +6499 -0
  196. package/dist/generated/manifest.js.map +1 -0
  197. package/dist/generated/schemas.d.ts +205 -0
  198. package/dist/generated/schemas.d.ts.map +1 -0
  199. package/dist/generated/schemas.js +810 -0
  200. package/dist/generated/schemas.js.map +1 -0
  201. package/dist/generated/types.d.ts +1114 -0
  202. package/dist/generated/types.d.ts.map +1 -0
  203. package/dist/generated/types.js +5 -0
  204. package/dist/generated/types.js.map +1 -0
  205. package/dist/hubspot/account.d.ts +12 -0
  206. package/dist/hubspot/account.d.ts.map +1 -0
  207. package/dist/hubspot/account.js +23 -0
  208. package/dist/hubspot/account.js.map +1 -0
  209. package/dist/hubspot/transport.d.ts +76 -0
  210. package/dist/hubspot/transport.d.ts.map +1 -0
  211. package/dist/hubspot/transport.js +346 -0
  212. package/dist/hubspot/transport.js.map +1 -0
  213. package/dist/identity.d.ts +7 -0
  214. package/dist/identity.d.ts.map +1 -0
  215. package/dist/identity.js +32 -0
  216. package/dist/identity.js.map +1 -0
  217. package/dist/index.d.ts +3 -0
  218. package/dist/index.d.ts.map +1 -0
  219. package/dist/index.js +3 -0
  220. package/dist/index.js.map +1 -0
  221. package/dist/program.d.ts +6 -0
  222. package/dist/program.d.ts.map +1 -0
  223. package/dist/program.js +77 -0
  224. package/dist/program.js.map +1 -0
  225. package/dist/reasons.d.ts +10 -0
  226. package/dist/reasons.d.ts.map +1 -0
  227. package/dist/reasons.js +33 -0
  228. package/dist/reasons.js.map +1 -0
  229. package/dist/sample/comments.d.ts +61 -0
  230. package/dist/sample/comments.d.ts.map +1 -0
  231. package/dist/sample/comments.js +39 -0
  232. package/dist/sample/comments.js.map +1 -0
  233. package/dist/sample/records.d.ts +16 -0
  234. package/dist/sample/records.d.ts.map +1 -0
  235. package/dist/sample/records.js +22 -0
  236. package/dist/sample/records.js.map +1 -0
  237. package/dist/sample/transport.d.ts +42 -0
  238. package/dist/sample/transport.d.ts.map +1 -0
  239. package/dist/sample/transport.js +153 -0
  240. package/dist/sample/transport.js.map +1 -0
  241. package/dist/setup/flow.d.ts +2 -0
  242. package/dist/setup/flow.d.ts.map +1 -0
  243. package/dist/setup/flow.js +97 -0
  244. package/dist/setup/flow.js.map +1 -0
  245. package/dist/setup/texts.en.json +19 -0
  246. package/dist/setup/texts.es.json +19 -0
  247. package/dist/setup/texts.ru.json +19 -0
  248. package/dist/store.d.ts +16 -0
  249. package/dist/store.d.ts.map +1 -0
  250. package/dist/store.js +34 -0
  251. package/dist/store.js.map +1 -0
  252. package/dist/version.d.ts +2 -0
  253. package/dist/version.d.ts.map +1 -0
  254. package/dist/version.js +2 -0
  255. package/dist/version.js.map +1 -0
  256. package/dist/wcat.d.ts +3 -0
  257. package/dist/wcat.d.ts.map +1 -0
  258. package/dist/wcat.js +4 -0
  259. package/dist/wcat.js.map +1 -0
  260. package/dist/whoami.d.ts +19 -0
  261. package/dist/whoami.d.ts.map +1 -0
  262. package/dist/whoami.js +15 -0
  263. package/dist/whoami.js.map +1 -0
  264. package/package.json +98 -4
  265. package/skills/hubspot-cli/SKILL.md +97 -0
  266. package/skills/hubspot-cli/references/api/api-basic.md +462 -0
  267. package/skills/hubspot-cli/references/api/api-batch.md +149 -0
  268. package/skills/hubspot-cli/references/api/api-search.md +147 -0
  269. package/skills/hubspot-cli/references/api.md +15 -0
@@ -0,0 +1,810 @@
1
+ // GENERATED. DO NOT EDIT.
2
+ // Source: spec/hubspot/, checked against provenance.json
3
+ // Run: pnpm generate
4
+ import { int64, integer } from "@wirecat/cli-base/codegen/runtime";
5
+ import * as v from "valibot";
6
+ export const AssociatedId = v.looseObject({
7
+ id: v.string(),
8
+ type: v.string(),
9
+ });
10
+ export const AssociationSpec = v.looseObject({
11
+ associationCategory: v.picklist(["HUBSPOT_DEFINED", "INTEGRATOR_DEFINED", "USER_DEFINED", "WORK"]),
12
+ associationTypeId: integer(),
13
+ });
14
+ export const BatchInputSimplePublicObjectBatchInput = v.looseObject({
15
+ inputs: v.array(v.lazy(() => SimplePublicObjectBatchInput)),
16
+ });
17
+ export const BatchInputSimplePublicObjectBatchInputForCreate = v.looseObject({
18
+ inputs: v.array(v.lazy(() => SimplePublicObjectBatchInputForCreate)),
19
+ });
20
+ export const BatchInputSimplePublicObjectBatchInputUpsert = v.looseObject({
21
+ inputs: v.array(v.lazy(() => SimplePublicObjectBatchInputUpsert)),
22
+ });
23
+ export const BatchInputSimplePublicObjectId = v.looseObject({
24
+ inputs: v.array(v.lazy(() => SimplePublicObjectId)),
25
+ });
26
+ export const BatchReadInputSimplePublicObjectId = v.looseObject({
27
+ idProperty: v.optional(v.string()),
28
+ inputs: v.array(v.lazy(() => SimplePublicObjectId)),
29
+ properties: v.array(v.string()),
30
+ propertiesWithHistory: v.array(v.string()),
31
+ });
32
+ export const BatchResponsePublicDefaultAssociation = v.looseObject({
33
+ completedAt: v.string(),
34
+ errors: v.optional(v.array(v.lazy(() => StandardError))),
35
+ links: v.optional(v.record(v.string(), v.string())),
36
+ numErrors: v.optional(integer()),
37
+ requestedAt: v.optional(v.string()),
38
+ results: v.array(v.lazy(() => PublicDefaultAssociation)),
39
+ startedAt: v.string(),
40
+ status: v.picklist(["CANCELED", "COMPLETE", "PENDING", "PROCESSING"]),
41
+ });
42
+ export const BatchResponseSimplePublicObject = v.looseObject({
43
+ completedAt: v.string(),
44
+ links: v.optional(v.record(v.string(), v.string())),
45
+ requestedAt: v.optional(v.string()),
46
+ results: v.array(v.lazy(() => SimplePublicObject)),
47
+ startedAt: v.string(),
48
+ status: v.picklist(["CANCELED", "COMPLETE", "PENDING", "PROCESSING"]),
49
+ });
50
+ export const BatchResponseSimplePublicObjectWithErrors = v.looseObject({
51
+ completedAt: v.string(),
52
+ errors: v.optional(v.array(v.lazy(() => StandardError))),
53
+ links: v.optional(v.record(v.string(), v.string())),
54
+ numErrors: v.optional(integer()),
55
+ requestedAt: v.optional(v.string()),
56
+ results: v.array(v.lazy(() => SimplePublicObject)),
57
+ startedAt: v.string(),
58
+ status: v.picklist(["CANCELED", "COMPLETE", "PENDING", "PROCESSING"]),
59
+ });
60
+ export const BatchResponseSimplePublicUpsertObject = v.looseObject({
61
+ completedAt: v.string(),
62
+ links: v.optional(v.record(v.string(), v.string())),
63
+ requestedAt: v.optional(v.string()),
64
+ results: v.array(v.lazy(() => SimplePublicUpsertObject)),
65
+ startedAt: v.string(),
66
+ status: v.picklist(["CANCELED", "COMPLETE", "PENDING", "PROCESSING"]),
67
+ });
68
+ export const BatchResponseSimplePublicUpsertObjectWithErrors = v.looseObject({
69
+ completedAt: v.string(),
70
+ errors: v.optional(v.array(v.lazy(() => StandardError))),
71
+ links: v.optional(v.record(v.string(), v.string())),
72
+ numErrors: v.optional(integer()),
73
+ requestedAt: v.optional(v.string()),
74
+ results: v.array(v.lazy(() => SimplePublicUpsertObject)),
75
+ startedAt: v.string(),
76
+ status: v.picklist(["CANCELED", "COMPLETE", "PENDING", "PROCESSING"]),
77
+ });
78
+ export const CollectionResponseAssociatedId = v.looseObject({
79
+ paging: v.optional(v.lazy(() => Paging)),
80
+ results: v.array(v.lazy(() => AssociatedId)),
81
+ });
82
+ export const CollectionResponseSimplePublicObjectWithAssociationsForwardPaging = v.looseObject({
83
+ paging: v.optional(v.lazy(() => ForwardPaging)),
84
+ results: v.array(v.lazy(() => SimplePublicObjectWithAssociations)),
85
+ });
86
+ export const CollectionResponseWithTotalSimplePublicObject = v.looseObject({
87
+ paging: v.optional(v.lazy(() => Paging)),
88
+ results: v.array(v.lazy(() => SimplePublicObject)),
89
+ total: integer(),
90
+ });
91
+ export const ApiError = v.looseObject({
92
+ category: v.string(),
93
+ context: v.optional(v.record(v.string(), v.array(v.string()))),
94
+ correlationId: v.string(),
95
+ errors: v.optional(v.array(v.lazy(() => ErrorDetail))),
96
+ links: v.optional(v.record(v.string(), v.string())),
97
+ message: v.string(),
98
+ subCategory: v.optional(v.string()),
99
+ });
100
+ export const ErrorDetail = v.looseObject({
101
+ code: v.optional(v.string()),
102
+ context: v.optional(v.record(v.string(), v.array(v.string()))),
103
+ in: v.optional(v.string()),
104
+ message: v.string(),
105
+ subCategory: v.optional(v.string()),
106
+ });
107
+ export const Filter = v.looseObject({
108
+ highValue: v.optional(v.string()),
109
+ operator: v.picklist([
110
+ "BETWEEN",
111
+ "CONTAINS_TOKEN",
112
+ "EQ",
113
+ "GT",
114
+ "GTE",
115
+ "HAS_PROPERTY",
116
+ "IN",
117
+ "LT",
118
+ "LTE",
119
+ "NEQ",
120
+ "NOT_CONTAINS_TOKEN",
121
+ "NOT_HAS_PROPERTY",
122
+ "NOT_IN",
123
+ ]),
124
+ propertyName: v.string(),
125
+ value: v.optional(v.string()),
126
+ values: v.optional(v.array(v.string())),
127
+ });
128
+ export const FilterGroup = v.looseObject({
129
+ filters: v.array(v.lazy(() => Filter)),
130
+ });
131
+ export const ForwardPaging = v.looseObject({
132
+ next: v.optional(v.lazy(() => NextPage)),
133
+ });
134
+ export const LabelsBetweenObjectPair = v.looseObject({
135
+ fromObjectId: v.string(),
136
+ fromObjectTypeId: v.string(),
137
+ labels: v.array(v.string()),
138
+ toObjectId: v.string(),
139
+ toObjectTypeId: v.string(),
140
+ });
141
+ export const NextPage = v.looseObject({
142
+ after: v.string(),
143
+ link: v.optional(v.string()),
144
+ });
145
+ export const Paging = v.looseObject({
146
+ next: v.optional(v.lazy(() => NextPage)),
147
+ prev: v.optional(v.lazy(() => PreviousPage)),
148
+ });
149
+ export const PreviousPage = v.looseObject({
150
+ before: v.string(),
151
+ link: v.optional(v.string()),
152
+ });
153
+ export const PublicAssociationsForObject = v.looseObject({
154
+ to: v.lazy(() => PublicObjectId),
155
+ types: v.array(v.lazy(() => AssociationSpec)),
156
+ });
157
+ export const PublicDefaultAssociation = v.looseObject({
158
+ associationSpec: v.lazy(() => AssociationSpec),
159
+ from: v.lazy(() => PublicObjectId),
160
+ to: v.lazy(() => PublicObjectId),
161
+ });
162
+ export const PublicGdprDeleteInput = v.looseObject({
163
+ idProperty: v.optional(v.string()),
164
+ objectId: v.string(),
165
+ });
166
+ export const PublicMergeInput = v.looseObject({
167
+ objectIdToMerge: v.string(),
168
+ primaryObjectId: v.string(),
169
+ });
170
+ export const PublicObjectId = v.looseObject({
171
+ id: v.string(),
172
+ });
173
+ export const PublicObjectSearchRequest = v.looseObject({
174
+ after: v.optional(v.string()),
175
+ filterGroups: v.array(v.lazy(() => FilterGroup)),
176
+ limit: integer(),
177
+ properties: v.array(v.string()),
178
+ query: v.optional(v.string()),
179
+ sorts: v.array(v.looseObject({
180
+ propertyName: v.string(),
181
+ direction: v.optional(v.picklist(["ASCENDING", "DESCENDING"])),
182
+ })),
183
+ });
184
+ export const PublicObjectWarning = v.looseObject({
185
+ category: v.string(),
186
+ context: v.record(v.string(), v.string()),
187
+ message: v.string(),
188
+ });
189
+ export const SimplePublicObject = v.looseObject({
190
+ archived: v.boolean(),
191
+ archivedAt: v.optional(v.string()),
192
+ createdAt: v.string(),
193
+ id: v.string(),
194
+ objectWriteTraceId: v.optional(v.string()),
195
+ properties: v.record(v.string(), v.string()),
196
+ propertiesWithHistory: v.optional(v.record(v.string(), v.array(v.lazy(() => ValueWithTimestamp)))),
197
+ updatedAt: v.string(),
198
+ url: v.optional(v.string()),
199
+ warnings: v.optional(v.array(v.lazy(() => PublicObjectWarning))),
200
+ });
201
+ export const SimplePublicObjectBatchInput = v.looseObject({
202
+ id: v.string(),
203
+ idProperty: v.optional(v.string()),
204
+ objectWriteTraceId: v.optional(v.string()),
205
+ properties: v.record(v.string(), v.string()),
206
+ });
207
+ export const SimplePublicObjectBatchInputForCreate = v.looseObject({
208
+ associations: v.array(v.lazy(() => PublicAssociationsForObject)),
209
+ objectWriteTraceId: v.optional(v.string()),
210
+ properties: v.record(v.string(), v.string()),
211
+ });
212
+ export const SimplePublicObjectBatchInputUpsert = v.looseObject({
213
+ id: v.string(),
214
+ idProperty: v.optional(v.string()),
215
+ objectWriteTraceId: v.optional(v.string()),
216
+ properties: v.record(v.string(), v.string()),
217
+ });
218
+ export const SimplePublicObjectId = v.looseObject({
219
+ id: v.string(),
220
+ });
221
+ export const SimplePublicObjectInput = v.looseObject({
222
+ properties: v.record(v.string(), v.string()),
223
+ });
224
+ export const SimplePublicObjectInputForCreate = v.looseObject({
225
+ associations: v.array(v.lazy(() => PublicAssociationsForObject)),
226
+ properties: v.record(v.string(), v.string()),
227
+ });
228
+ export const SimplePublicObjectWithAssociations = v.looseObject({
229
+ archived: v.boolean(),
230
+ archivedAt: v.optional(v.string()),
231
+ associations: v.optional(v.record(v.string(), v.lazy(() => CollectionResponseAssociatedId))),
232
+ createdAt: v.string(),
233
+ id: v.string(),
234
+ objectWriteTraceId: v.optional(v.string()),
235
+ properties: v.record(v.string(), v.string()),
236
+ propertiesWithHistory: v.optional(v.record(v.string(), v.array(v.lazy(() => ValueWithTimestamp)))),
237
+ updatedAt: v.string(),
238
+ url: v.optional(v.string()),
239
+ warnings: v.optional(v.array(v.lazy(() => PublicObjectWarning))),
240
+ });
241
+ export const SimplePublicUpsertObject = v.looseObject({
242
+ archived: v.boolean(),
243
+ archivedAt: v.optional(v.string()),
244
+ createdAt: v.string(),
245
+ id: v.string(),
246
+ new: v.boolean(),
247
+ objectWriteTraceId: v.optional(v.string()),
248
+ properties: v.record(v.string(), v.string()),
249
+ propertiesWithHistory: v.optional(v.record(v.string(), v.array(v.lazy(() => ValueWithTimestamp)))),
250
+ updatedAt: v.string(),
251
+ url: v.optional(v.string()),
252
+ warnings: v.optional(v.array(v.lazy(() => PublicObjectWarning))),
253
+ });
254
+ export const StandardError = v.looseObject({
255
+ category: v.string(),
256
+ context: v.record(v.string(), v.array(v.string())),
257
+ errors: v.array(v.lazy(() => ErrorDetail)),
258
+ id: v.optional(v.string()),
259
+ links: v.record(v.string(), v.string()),
260
+ message: v.string(),
261
+ status: v.string(),
262
+ subCategory: v.optional(v.looseObject({})),
263
+ });
264
+ export const ValueWithTimestamp = v.looseObject({
265
+ sourceId: v.optional(v.string()),
266
+ sourceLabel: v.optional(v.string()),
267
+ sourceType: v.string(),
268
+ timestamp: v.string(),
269
+ updatedByUserId: v.optional(integer()),
270
+ value: v.string(),
271
+ });
272
+ export const CollectionResponsePublicOwnerForwardPaging = v.looseObject({
273
+ paging: v.optional(v.lazy(() => ForwardPaging)),
274
+ results: v.array(v.lazy(() => PublicOwner)),
275
+ });
276
+ export const PublicOwner = v.looseObject({
277
+ archived: v.boolean(),
278
+ createdAt: v.string(),
279
+ email: v.optional(v.string()),
280
+ firstName: v.optional(v.string()),
281
+ id: v.string(),
282
+ lastName: v.optional(v.string()),
283
+ teams: v.optional(v.array(v.lazy(() => PublicTeam))),
284
+ type: v.picklist(["PERSON", "QUEUE"]),
285
+ updatedAt: v.string(),
286
+ userId: v.optional(integer()),
287
+ userIdIncludingInactive: v.optional(integer()),
288
+ });
289
+ export const PublicTeam = v.looseObject({
290
+ id: v.string(),
291
+ name: v.string(),
292
+ primary: v.boolean(),
293
+ });
294
+ export const CollectionResponsePipelineNoPaging = v.looseObject({
295
+ results: v.array(v.lazy(() => Pipeline)),
296
+ });
297
+ export const CollectionResponsePipelineStageNoPaging = v.looseObject({
298
+ results: v.array(v.lazy(() => PipelineStage)),
299
+ });
300
+ export const CollectionResponsePublicAuditInfoNoPaging = v.looseObject({
301
+ results: v.array(v.lazy(() => PublicAuditInfo)),
302
+ });
303
+ export const Pipeline = v.looseObject({
304
+ archived: v.boolean(),
305
+ archivedAt: v.optional(v.string()),
306
+ createdAt: v.string(),
307
+ displayOrder: integer(),
308
+ id: v.string(),
309
+ label: v.string(),
310
+ stages: v.array(v.lazy(() => PipelineStage)),
311
+ updatedAt: v.string(),
312
+ });
313
+ export const PipelineInput = v.looseObject({
314
+ displayOrder: integer(),
315
+ label: v.string(),
316
+ pipelineId: v.optional(v.string()),
317
+ stages: v.array(v.lazy(() => PipelineStageInput)),
318
+ });
319
+ export const PipelinePatchInput = v.looseObject({
320
+ archived: v.optional(v.boolean()),
321
+ displayOrder: v.optional(integer()),
322
+ label: v.optional(v.string()),
323
+ });
324
+ export const PipelineReplaceInput = v.looseObject({
325
+ displayOrder: integer(),
326
+ label: v.string(),
327
+ stages: v.array(v.lazy(() => PipelineStageInput)),
328
+ });
329
+ export const PipelineStage = v.looseObject({
330
+ archived: v.boolean(),
331
+ archivedAt: v.optional(v.string()),
332
+ createdAt: v.string(),
333
+ displayOrder: integer(),
334
+ id: v.string(),
335
+ label: v.string(),
336
+ metadata: v.record(v.string(), v.string()),
337
+ updatedAt: v.string(),
338
+ writePermissions: v.picklist(["CRM_PERMISSIONS_ENFORCEMENT", "INTERNAL_ONLY", "READ_ONLY"]),
339
+ });
340
+ export const PipelineStageInput = v.looseObject({
341
+ displayOrder: integer(),
342
+ label: v.string(),
343
+ metadata: v.record(v.string(), v.string()),
344
+ stageId: v.optional(v.string()),
345
+ });
346
+ export const PipelineStagePatchInput = v.looseObject({
347
+ archived: v.optional(v.boolean()),
348
+ displayOrder: v.optional(integer()),
349
+ label: v.optional(v.string()),
350
+ metadata: v.record(v.string(), v.string()),
351
+ });
352
+ export const PipelineStageReplaceInput = v.looseObject({
353
+ displayOrder: integer(),
354
+ label: v.string(),
355
+ metadata: v.record(v.string(), v.string()),
356
+ });
357
+ export const PublicAuditInfo = v.looseObject({
358
+ action: v.string(),
359
+ fromUserId: v.optional(integer()),
360
+ identifier: v.string(),
361
+ message: v.optional(v.string()),
362
+ portalId: integer(),
363
+ rawObject: v.optional(v.looseObject({})),
364
+ timestamp: v.optional(v.string()),
365
+ });
366
+ export const BatchInputPropertyCreate = v.looseObject({
367
+ inputs: v.array(v.lazy(() => PropertyCreate)),
368
+ });
369
+ export const BatchInputPropertyName = v.looseObject({
370
+ inputs: v.array(v.lazy(() => PropertyName)),
371
+ });
372
+ export const BatchReadInputPropertyName = v.looseObject({
373
+ archived: v.boolean(),
374
+ dataSensitivity: v.picklist(["highly_sensitive", "non_sensitive", "sensitive"]),
375
+ inputs: v.array(v.lazy(() => PropertyName)),
376
+ });
377
+ export const BatchResponseProperty = v.looseObject({
378
+ completedAt: v.string(),
379
+ links: v.optional(v.record(v.string(), v.string())),
380
+ requestedAt: v.optional(v.string()),
381
+ results: v.array(v.lazy(() => Property)),
382
+ startedAt: v.string(),
383
+ status: v.picklist(["CANCELED", "COMPLETE", "PENDING", "PROCESSING"]),
384
+ });
385
+ export const BatchResponsePropertyWithErrors = v.looseObject({
386
+ completedAt: v.string(),
387
+ errors: v.optional(v.array(v.lazy(() => StandardError))),
388
+ links: v.optional(v.record(v.string(), v.string())),
389
+ numErrors: v.optional(integer()),
390
+ requestedAt: v.optional(v.string()),
391
+ results: v.array(v.lazy(() => Property)),
392
+ startedAt: v.string(),
393
+ status: v.picklist(["CANCELED", "COMPLETE", "PENDING", "PROCESSING"]),
394
+ });
395
+ export const CollectionResponsePropertyGroupNoPaging = v.looseObject({
396
+ results: v.array(v.lazy(() => PropertyGroup)),
397
+ });
398
+ export const CollectionResponsePropertyNoPaging = v.looseObject({
399
+ results: v.array(v.lazy(() => Property)),
400
+ });
401
+ export const Option = v.looseObject({
402
+ description: v.optional(v.string()),
403
+ displayOrder: v.optional(integer()),
404
+ hidden: v.boolean(),
405
+ label: v.string(),
406
+ value: v.string(),
407
+ });
408
+ export const OptionInput = v.looseObject({
409
+ description: v.optional(v.string()),
410
+ displayOrder: integer(),
411
+ hidden: v.boolean(),
412
+ label: v.string(),
413
+ value: v.string(),
414
+ });
415
+ export const Property = v.looseObject({
416
+ archived: v.optional(v.boolean()),
417
+ archivedAt: v.optional(v.string()),
418
+ calculated: v.optional(v.boolean()),
419
+ calculationFormula: v.optional(v.string()),
420
+ createdAt: v.optional(v.string()),
421
+ createdUserId: v.optional(v.string()),
422
+ currencyPropertyName: v.optional(v.string()),
423
+ dataSensitivity: v.optional(v.picklist(["highly_sensitive", "non_sensitive", "sensitive"])),
424
+ dateDisplayHint: v.optional(v.picklist(["absolute", "absolute_with_relative", "time_since", "time_until"])),
425
+ description: v.string(),
426
+ displayOrder: v.optional(integer()),
427
+ externalOptions: v.optional(v.boolean()),
428
+ fieldType: v.string(),
429
+ formField: v.optional(v.boolean()),
430
+ groupName: v.string(),
431
+ hasUniqueValue: v.optional(v.boolean()),
432
+ hidden: v.optional(v.boolean()),
433
+ hubspotDefined: v.optional(v.boolean()),
434
+ label: v.string(),
435
+ modificationMetadata: v.optional(v.lazy(() => PropertyModificationMetadata)),
436
+ name: v.string(),
437
+ numberDisplayHint: v.optional(v.picklist(["currency", "duration", "formatted", "percentage", "probability", "unformatted"])),
438
+ options: v.array(v.lazy(() => Option)),
439
+ referencedObjectType: v.optional(v.string()),
440
+ sensitiveDataCategories: v.optional(v.array(v.string())),
441
+ showCurrencySymbol: v.optional(v.boolean()),
442
+ textDisplayHint: v.optional(v.picklist([
443
+ "domain_name",
444
+ "email",
445
+ "ip_address",
446
+ "multi_line",
447
+ "phone_number",
448
+ "physical_address",
449
+ "postal_code",
450
+ "unformatted_single_line",
451
+ ])),
452
+ type: v.string(),
453
+ updatedAt: v.optional(v.string()),
454
+ updatedUserId: v.optional(v.string()),
455
+ });
456
+ export const PropertyCreate = v.looseObject({
457
+ calculationFormula: v.optional(v.string()),
458
+ currencyPropertyName: v.optional(v.string()),
459
+ dataSensitivity: v.optional(v.picklist(["highly_sensitive", "non_sensitive", "sensitive"])),
460
+ description: v.optional(v.string()),
461
+ displayOrder: v.optional(integer()),
462
+ externalOptions: v.optional(v.boolean()),
463
+ fieldType: v.picklist([
464
+ "booleancheckbox",
465
+ "calculation_equation",
466
+ "checkbox",
467
+ "date",
468
+ "file",
469
+ "html",
470
+ "number",
471
+ "phonenumber",
472
+ "radio",
473
+ "select",
474
+ "text",
475
+ "textarea",
476
+ ]),
477
+ formField: v.optional(v.boolean()),
478
+ groupName: v.string(),
479
+ hasUniqueValue: v.optional(v.boolean()),
480
+ hidden: v.optional(v.boolean()),
481
+ label: v.string(),
482
+ name: v.string(),
483
+ numberDisplayHint: v.optional(v.picklist(["currency", "duration", "formatted", "percentage", "probability", "unformatted"])),
484
+ options: v.optional(v.array(v.lazy(() => OptionInput))),
485
+ referencedObjectType: v.optional(v.string()),
486
+ showCurrencySymbol: v.optional(v.boolean()),
487
+ textDisplayHint: v.optional(v.picklist([
488
+ "domain_name",
489
+ "email",
490
+ "ip_address",
491
+ "multi_line",
492
+ "phone_number",
493
+ "physical_address",
494
+ "postal_code",
495
+ "unformatted_single_line",
496
+ ])),
497
+ type: v.picklist(["bool", "date", "datetime", "enumeration", "number", "phone_number", "string"]),
498
+ });
499
+ export const PropertyGroup = v.looseObject({
500
+ archived: v.boolean(),
501
+ displayOrder: v.optional(integer()),
502
+ label: v.string(),
503
+ name: v.string(),
504
+ });
505
+ export const PropertyGroupCreate = v.looseObject({
506
+ displayOrder: v.optional(integer()),
507
+ label: v.string(),
508
+ name: v.string(),
509
+ });
510
+ export const PropertyGroupUpdate = v.looseObject({
511
+ displayOrder: v.optional(integer()),
512
+ label: v.optional(v.string()),
513
+ });
514
+ export const PropertyModificationMetadata = v.looseObject({
515
+ archivable: v.boolean(),
516
+ readOnlyDefinition: v.boolean(),
517
+ readOnlyOptions: v.optional(v.boolean()),
518
+ readOnlyValue: v.boolean(),
519
+ });
520
+ export const PropertyName = v.looseObject({
521
+ name: v.string(),
522
+ });
523
+ export const PropertyUpdate = v.looseObject({
524
+ calculationFormula: v.optional(v.string()),
525
+ currencyPropertyName: v.optional(v.string()),
526
+ description: v.optional(v.string()),
527
+ displayOrder: v.optional(integer()),
528
+ fieldType: v.optional(v.picklist([
529
+ "booleancheckbox",
530
+ "calculation_equation",
531
+ "checkbox",
532
+ "date",
533
+ "file",
534
+ "html",
535
+ "number",
536
+ "phonenumber",
537
+ "radio",
538
+ "select",
539
+ "text",
540
+ "textarea",
541
+ ])),
542
+ formField: v.optional(v.boolean()),
543
+ groupName: v.optional(v.string()),
544
+ hidden: v.optional(v.boolean()),
545
+ label: v.optional(v.string()),
546
+ numberDisplayHint: v.optional(v.picklist(["currency", "duration", "formatted", "percentage", "probability", "unformatted"])),
547
+ options: v.optional(v.array(v.lazy(() => OptionInput))),
548
+ showCurrencySymbol: v.optional(v.boolean()),
549
+ textDisplayHint: v.optional(v.picklist([
550
+ "domain_name",
551
+ "email",
552
+ "ip_address",
553
+ "multi_line",
554
+ "phone_number",
555
+ "physical_address",
556
+ "postal_code",
557
+ "unformatted_single_line",
558
+ ])),
559
+ type: v.optional(v.picklist(["bool", "date", "datetime", "enumeration", "number", "phone_number", "string"])),
560
+ });
561
+ export const AssociationSpecWithLabel = v.looseObject({
562
+ category: v.picklist(["HUBSPOT_DEFINED", "INTEGRATOR_DEFINED", "USER_DEFINED", "WORK"]),
563
+ fromObjectTypeId: v.optional(v.string()),
564
+ label: v.optional(v.string()),
565
+ toObjectTypeId: v.optional(v.string()),
566
+ typeId: integer(),
567
+ });
568
+ export const BatchInputPublicAssociationMultiArchive = v.looseObject({
569
+ inputs: v.array(v.lazy(() => PublicAssociationMultiArchive)),
570
+ });
571
+ export const BatchInputPublicAssociationMultiPost = v.looseObject({
572
+ inputs: v.array(v.lazy(() => PublicAssociationMultiPost)),
573
+ });
574
+ export const BatchInputPublicDefaultAssociationMultiPost = v.looseObject({
575
+ inputs: v.array(v.lazy(() => PublicDefaultAssociationMultiPost)),
576
+ });
577
+ export const BatchInputPublicFetchAssociationsBatchRequest = v.looseObject({
578
+ inputs: v.array(v.lazy(() => PublicFetchAssociationsBatchRequest)),
579
+ });
580
+ export const BatchResponse = v.looseObject({
581
+ completedAt: v.string(),
582
+ errors: v.optional(v.array(v.lazy(() => StandardError))),
583
+ links: v.optional(v.record(v.string(), v.string())),
584
+ numErrors: v.optional(integer()),
585
+ requestedAt: v.optional(v.string()),
586
+ results: v.array(v.looseObject({})),
587
+ startedAt: v.string(),
588
+ status: v.picklist(["CANCELED", "COMPLETE", "PENDING", "PROCESSING"]),
589
+ });
590
+ export const BatchResponseLabelsBetweenObjectPair = v.looseObject({
591
+ completedAt: v.string(),
592
+ links: v.optional(v.record(v.string(), v.string())),
593
+ requestedAt: v.optional(v.string()),
594
+ results: v.array(v.lazy(() => LabelsBetweenObjectPair)),
595
+ startedAt: v.string(),
596
+ status: v.picklist(["CANCELED", "COMPLETE", "PENDING", "PROCESSING"]),
597
+ });
598
+ export const BatchResponseLabelsBetweenObjectPairWithErrors = v.looseObject({
599
+ completedAt: v.string(),
600
+ errors: v.optional(v.array(v.lazy(() => StandardError))),
601
+ links: v.optional(v.record(v.string(), v.string())),
602
+ numErrors: v.optional(integer()),
603
+ requestedAt: v.optional(v.string()),
604
+ results: v.array(v.lazy(() => LabelsBetweenObjectPair)),
605
+ startedAt: v.string(),
606
+ status: v.picklist(["CANCELED", "COMPLETE", "PENDING", "PROCESSING"]),
607
+ });
608
+ export const BatchResponsePublicAssociationMultiWithLabel = v.looseObject({
609
+ completedAt: v.string(),
610
+ links: v.optional(v.record(v.string(), v.string())),
611
+ requestedAt: v.optional(v.string()),
612
+ results: v.array(v.lazy(() => PublicAssociationMultiWithLabel)),
613
+ startedAt: v.string(),
614
+ status: v.picklist(["CANCELED", "COMPLETE", "PENDING", "PROCESSING"]),
615
+ });
616
+ export const BatchResponsePublicAssociationMultiWithLabelWithErrors = v.looseObject({
617
+ completedAt: v.string(),
618
+ errors: v.optional(v.array(v.lazy(() => StandardError))),
619
+ links: v.optional(v.record(v.string(), v.string())),
620
+ numErrors: v.optional(integer()),
621
+ requestedAt: v.optional(v.string()),
622
+ results: v.array(v.lazy(() => PublicAssociationMultiWithLabel)),
623
+ startedAt: v.string(),
624
+ status: v.picklist(["CANCELED", "COMPLETE", "PENDING", "PROCESSING"]),
625
+ });
626
+ export const AssociationsBatchResponsePublicDefaultAssociation = v.looseObject({
627
+ completedAt: v.string(),
628
+ errors: v.optional(v.array(v.lazy(() => StandardError))),
629
+ links: v.optional(v.record(v.string(), v.string())),
630
+ numErrors: v.optional(integer()),
631
+ requestedAt: v.optional(v.string()),
632
+ results: v.array(v.lazy(() => PublicDefaultAssociation1)),
633
+ startedAt: v.string(),
634
+ status: v.picklist(["CANCELED", "COMPLETE", "PENDING", "PROCESSING"]),
635
+ });
636
+ export const CollectionResponseMultiAssociatedObjectWithLabelForwardPaging = v.looseObject({
637
+ paging: v.optional(v.lazy(() => ForwardPaging)),
638
+ results: v.array(v.lazy(() => MultiAssociatedObjectWithLabel)),
639
+ });
640
+ export const DateTime = v.looseObject({
641
+ dateOnly: v.boolean(),
642
+ timeZoneShift: integer(),
643
+ value: int64(),
644
+ });
645
+ export const MultiAssociatedObjectWithLabel = v.looseObject({
646
+ associationTypes: v.array(v.lazy(() => AssociationSpecWithLabel)),
647
+ toObjectId: v.string(),
648
+ });
649
+ export const Paging1 = v.looseObject({
650
+ next: v.optional(v.lazy(() => NextPage)),
651
+ prev: v.optional(v.lazy(() => PreviousPage)),
652
+ });
653
+ export const PublicAssociationMultiArchive = v.looseObject({
654
+ from: v.lazy(() => PublicObjectId),
655
+ to: v.array(v.lazy(() => PublicObjectId)),
656
+ });
657
+ export const PublicAssociationMultiPost = v.looseObject({
658
+ from: v.lazy(() => PublicObjectId),
659
+ to: v.lazy(() => PublicObjectId),
660
+ types: v.array(v.lazy(() => AssociationSpec)),
661
+ });
662
+ export const PublicAssociationMultiWithLabel = v.looseObject({
663
+ from: v.lazy(() => PublicObjectId),
664
+ paging: v.optional(v.lazy(() => Paging1)),
665
+ to: v.array(v.lazy(() => MultiAssociatedObjectWithLabel)),
666
+ });
667
+ export const PublicDefaultAssociationMultiPost = v.looseObject({
668
+ from: v.lazy(() => PublicObjectId),
669
+ to: v.lazy(() => PublicObjectId),
670
+ });
671
+ export const PublicDefaultAssociation1 = v.looseObject({
672
+ associationSpec: v.lazy(() => AssociationSpec),
673
+ from: v.lazy(() => PublicObjectId),
674
+ to: v.lazy(() => PublicObjectId),
675
+ });
676
+ export const PublicFetchAssociationsBatchRequest = v.looseObject({
677
+ after: v.optional(v.string()),
678
+ id: v.string(),
679
+ });
680
+ export const ReportCreationResponse = v.looseObject({
681
+ enqueueTime: v.lazy(() => DateTime),
682
+ userEmail: v.string(),
683
+ userId: integer(),
684
+ });
685
+ export const ApiUsage = v.looseObject({
686
+ collectedAt: v.string(),
687
+ currentUsage: integer(),
688
+ fetchStatus: v.picklist(["CACHED", "FAILURE", "NOTFOUND", "SUCCESS", "TIMEOUT"]),
689
+ name: v.string(),
690
+ resetsAt: v.optional(v.string()),
691
+ usageLimit: integer(),
692
+ });
693
+ export const CollectionResponseApiUsageNoPaging = v.looseObject({
694
+ results: v.array(v.lazy(() => ApiUsage)),
695
+ });
696
+ export const PortalInformationResponse = v.looseObject({
697
+ accountType: v.picklist(["APP_DEVELOPER", "DEVELOPER_TEST", "SANDBOX", "STANDARD"]),
698
+ additionalCurrencies: v.array(v.string()),
699
+ companyCurrency: v.string(),
700
+ dataHostingLocation: v.string(),
701
+ portalId: integer(),
702
+ timeZone: v.string(),
703
+ uiDomain: v.string(),
704
+ utcOffset: v.string(),
705
+ utcOffsetMilliseconds: int64(),
706
+ });
707
+ export const PutCrmObjects202603ObjectTypeObjectIdAssociationsToObjectTypeToObjectIdCrmObjects202603ObjectTypeObjectIdAssociationsToObjectTypeToObjectIdRequest = v.array(v.lazy(() => AssociationSpec));
708
+ export const schemas = {
709
+ AssociatedId,
710
+ AssociationSpec,
711
+ BatchInputSimplePublicObjectBatchInput,
712
+ BatchInputSimplePublicObjectBatchInputForCreate,
713
+ BatchInputSimplePublicObjectBatchInputUpsert,
714
+ BatchInputSimplePublicObjectId,
715
+ BatchReadInputSimplePublicObjectId,
716
+ BatchResponsePublicDefaultAssociation,
717
+ BatchResponseSimplePublicObject,
718
+ BatchResponseSimplePublicObjectWithErrors,
719
+ BatchResponseSimplePublicUpsertObject,
720
+ BatchResponseSimplePublicUpsertObjectWithErrors,
721
+ CollectionResponseAssociatedId,
722
+ CollectionResponseSimplePublicObjectWithAssociationsForwardPaging,
723
+ CollectionResponseWithTotalSimplePublicObject,
724
+ ApiError,
725
+ ErrorDetail,
726
+ Filter,
727
+ FilterGroup,
728
+ ForwardPaging,
729
+ LabelsBetweenObjectPair,
730
+ NextPage,
731
+ Paging,
732
+ PreviousPage,
733
+ PublicAssociationsForObject,
734
+ PublicDefaultAssociation,
735
+ PublicGdprDeleteInput,
736
+ PublicMergeInput,
737
+ PublicObjectId,
738
+ PublicObjectSearchRequest,
739
+ PublicObjectWarning,
740
+ SimplePublicObject,
741
+ SimplePublicObjectBatchInput,
742
+ SimplePublicObjectBatchInputForCreate,
743
+ SimplePublicObjectBatchInputUpsert,
744
+ SimplePublicObjectId,
745
+ SimplePublicObjectInput,
746
+ SimplePublicObjectInputForCreate,
747
+ SimplePublicObjectWithAssociations,
748
+ SimplePublicUpsertObject,
749
+ StandardError,
750
+ ValueWithTimestamp,
751
+ CollectionResponsePublicOwnerForwardPaging,
752
+ PublicOwner,
753
+ PublicTeam,
754
+ CollectionResponsePipelineNoPaging,
755
+ CollectionResponsePipelineStageNoPaging,
756
+ CollectionResponsePublicAuditInfoNoPaging,
757
+ Pipeline,
758
+ PipelineInput,
759
+ PipelinePatchInput,
760
+ PipelineReplaceInput,
761
+ PipelineStage,
762
+ PipelineStageInput,
763
+ PipelineStagePatchInput,
764
+ PipelineStageReplaceInput,
765
+ PublicAuditInfo,
766
+ BatchInputPropertyCreate,
767
+ BatchInputPropertyName,
768
+ BatchReadInputPropertyName,
769
+ BatchResponseProperty,
770
+ BatchResponsePropertyWithErrors,
771
+ CollectionResponsePropertyGroupNoPaging,
772
+ CollectionResponsePropertyNoPaging,
773
+ Option,
774
+ OptionInput,
775
+ Property,
776
+ PropertyCreate,
777
+ PropertyGroup,
778
+ PropertyGroupCreate,
779
+ PropertyGroupUpdate,
780
+ PropertyModificationMetadata,
781
+ PropertyName,
782
+ PropertyUpdate,
783
+ AssociationSpecWithLabel,
784
+ BatchInputPublicAssociationMultiArchive,
785
+ BatchInputPublicAssociationMultiPost,
786
+ BatchInputPublicDefaultAssociationMultiPost,
787
+ BatchInputPublicFetchAssociationsBatchRequest,
788
+ BatchResponse,
789
+ BatchResponseLabelsBetweenObjectPair,
790
+ BatchResponseLabelsBetweenObjectPairWithErrors,
791
+ BatchResponsePublicAssociationMultiWithLabel,
792
+ BatchResponsePublicAssociationMultiWithLabelWithErrors,
793
+ AssociationsBatchResponsePublicDefaultAssociation,
794
+ CollectionResponseMultiAssociatedObjectWithLabelForwardPaging,
795
+ DateTime,
796
+ MultiAssociatedObjectWithLabel,
797
+ Paging1,
798
+ PublicAssociationMultiArchive,
799
+ PublicAssociationMultiPost,
800
+ PublicAssociationMultiWithLabel,
801
+ PublicDefaultAssociationMultiPost,
802
+ PublicDefaultAssociation1,
803
+ PublicFetchAssociationsBatchRequest,
804
+ ReportCreationResponse,
805
+ ApiUsage,
806
+ CollectionResponseApiUsageNoPaging,
807
+ PortalInformationResponse,
808
+ PutCrmObjects202603ObjectTypeObjectIdAssociationsToObjectTypeToObjectIdCrmObjects202603ObjectTypeObjectIdAssociationsToObjectTypeToObjectIdRequest,
809
+ };
810
+ //# sourceMappingURL=schemas.js.map