@interfere/attio 0.1.2 → 0.1.3

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 (242) hide show
  1. package/dist/commonjs/lib/config.d.ts +3 -3
  2. package/dist/commonjs/lib/config.js +3 -3
  3. package/dist/commonjs/lib/config.js.map +1 -1
  4. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.d.ts +4402 -0
  5. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.d.ts.map +1 -0
  6. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.js +3773 -0
  7. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.js.map +1 -0
  8. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.d.ts +538 -0
  9. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.d.ts.map +1 -0
  10. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.js +499 -0
  11. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.js.map +1 -0
  12. package/dist/commonjs/models/operations/index.d.ts +6 -2
  13. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  14. package/dist/commonjs/models/operations/index.js +6 -2
  15. package/dist/commonjs/models/operations/index.js.map +1 -1
  16. package/dist/commonjs/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.d.ts +3854 -0
  17. package/dist/commonjs/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.d.ts.map +1 -0
  18. package/dist/commonjs/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.js +3221 -0
  19. package/dist/commonjs/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.js.map +1 -0
  20. package/dist/commonjs/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.d.ts +3675 -0
  21. package/dist/commonjs/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.d.ts.map +1 -0
  22. package/dist/commonjs/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.js +3065 -0
  23. package/dist/commonjs/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.js.map +1 -0
  24. package/dist/commonjs/models/operations/patch-v2-tasks-task-id-response.d.ts +539 -0
  25. package/dist/commonjs/models/operations/patch-v2-tasks-task-id-response.d.ts.map +1 -0
  26. package/dist/commonjs/models/operations/patch-v2-tasks-task-id-response.js +541 -0
  27. package/dist/commonjs/models/operations/patch-v2-tasks-task-id-response.js.map +1 -0
  28. package/dist/commonjs/models/operations/post-v2-tasks-data.d.ts +4072 -0
  29. package/dist/commonjs/models/operations/post-v2-tasks-data.d.ts.map +1 -0
  30. package/dist/commonjs/models/operations/post-v2-tasks-data.js +3464 -0
  31. package/dist/commonjs/models/operations/post-v2-tasks-data.js.map +1 -0
  32. package/dist/esm/lib/config.d.ts +3 -3
  33. package/dist/esm/lib/config.js +3 -3
  34. package/dist/esm/lib/config.js.map +1 -1
  35. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.d.ts +4402 -0
  36. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.d.ts.map +1 -0
  37. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.js +3639 -0
  38. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.js.map +1 -0
  39. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.d.ts +538 -0
  40. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.d.ts.map +1 -0
  41. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.js +445 -0
  42. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.js.map +1 -0
  43. package/dist/esm/models/operations/index.d.ts +6 -2
  44. package/dist/esm/models/operations/index.d.ts.map +1 -1
  45. package/dist/esm/models/operations/index.js +6 -2
  46. package/dist/esm/models/operations/index.js.map +1 -1
  47. package/dist/esm/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.d.ts +3854 -0
  48. package/dist/esm/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.d.ts.map +1 -0
  49. package/dist/esm/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.js +3085 -0
  50. package/dist/esm/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.js.map +1 -0
  51. package/dist/esm/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.d.ts +3675 -0
  52. package/dist/esm/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.d.ts.map +1 -0
  53. package/dist/esm/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.js +2932 -0
  54. package/dist/esm/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.js.map +1 -0
  55. package/dist/esm/models/operations/patch-v2-tasks-task-id-response.d.ts +539 -0
  56. package/dist/esm/models/operations/patch-v2-tasks-task-id-response.d.ts.map +1 -0
  57. package/dist/esm/models/operations/patch-v2-tasks-task-id-response.js +487 -0
  58. package/dist/esm/models/operations/patch-v2-tasks-task-id-response.js.map +1 -0
  59. package/dist/esm/models/operations/post-v2-tasks-data.d.ts +4072 -0
  60. package/dist/esm/models/operations/post-v2-tasks-data.d.ts.map +1 -0
  61. package/dist/esm/models/operations/post-v2-tasks-data.js +3325 -0
  62. package/dist/esm/models/operations/post-v2-tasks-data.js.map +1 -0
  63. package/jsr.json +1 -1
  64. package/package.json +1 -1
  65. package/src/lib/config.ts +3 -3
  66. package/src/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.ts +8164 -0
  67. package/src/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.ts +1446 -0
  68. package/src/models/operations/index.ts +6 -2
  69. package/src/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.ts +7440 -0
  70. package/src/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.ts +6858 -0
  71. package/src/models/operations/patch-v2-tasks-task-id-response.ts +1046 -0
  72. package/src/models/operations/{get-v2-objects-object.ts → post-v2-tasks-data.ts} +2696 -10568
  73. package/.devcontainer/devcontainer.json +0 -45
  74. package/dist/commonjs/models/operations/get-v2-lists-list.d.ts +0 -8779
  75. package/dist/commonjs/models/operations/get-v2-lists-list.d.ts.map +0 -1
  76. package/dist/commonjs/models/operations/get-v2-lists-list.js +0 -7398
  77. package/dist/commonjs/models/operations/get-v2-lists-list.js.map +0 -1
  78. package/dist/commonjs/models/operations/get-v2-objects-object.d.ts +0 -8272
  79. package/dist/commonjs/models/operations/get-v2-objects-object.d.ts.map +0 -1
  80. package/dist/commonjs/models/operations/get-v2-objects-object.js +0 -6977
  81. package/dist/commonjs/models/operations/get-v2-objects-object.js.map +0 -1
  82. package/dist/esm/models/operations/get-v2-lists-list.d.ts +0 -8779
  83. package/dist/esm/models/operations/get-v2-lists-list.d.ts.map +0 -1
  84. package/dist/esm/models/operations/get-v2-lists-list.js +0 -7146
  85. package/dist/esm/models/operations/get-v2-lists-list.js.map +0 -1
  86. package/dist/esm/models/operations/get-v2-objects-object.d.ts +0 -8272
  87. package/dist/esm/models/operations/get-v2-objects-object.d.ts.map +0 -1
  88. package/dist/esm/models/operations/get-v2-objects-object.js +0 -6723
  89. package/dist/esm/models/operations/get-v2-objects-object.js.map +0 -1
  90. package/examples/node_modules/.package-lock.json +0 -174
  91. package/examples/node_modules/@esbuild/darwin-arm64/package.json +0 -20
  92. package/examples/node_modules/@types/node/assert/strict.d.ts +0 -8
  93. package/examples/node_modules/@types/node/assert.d.ts +0 -1062
  94. package/examples/node_modules/@types/node/async_hooks.d.ts +0 -605
  95. package/examples/node_modules/@types/node/buffer.buffer.d.ts +0 -471
  96. package/examples/node_modules/@types/node/buffer.d.ts +0 -1936
  97. package/examples/node_modules/@types/node/child_process.d.ts +0 -1475
  98. package/examples/node_modules/@types/node/cluster.d.ts +0 -577
  99. package/examples/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  100. package/examples/node_modules/@types/node/compatibility/index.d.ts +0 -9
  101. package/examples/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  102. package/examples/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  103. package/examples/node_modules/@types/node/console.d.ts +0 -452
  104. package/examples/node_modules/@types/node/constants.d.ts +0 -21
  105. package/examples/node_modules/@types/node/crypto.d.ts +0 -4590
  106. package/examples/node_modules/@types/node/dgram.d.ts +0 -597
  107. package/examples/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  108. package/examples/node_modules/@types/node/dns/promises.d.ts +0 -479
  109. package/examples/node_modules/@types/node/dns.d.ts +0 -871
  110. package/examples/node_modules/@types/node/domain.d.ts +0 -170
  111. package/examples/node_modules/@types/node/events.d.ts +0 -977
  112. package/examples/node_modules/@types/node/fs/promises.d.ts +0 -1270
  113. package/examples/node_modules/@types/node/fs.d.ts +0 -4375
  114. package/examples/node_modules/@types/node/globals.d.ts +0 -172
  115. package/examples/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  116. package/examples/node_modules/@types/node/http.d.ts +0 -2049
  117. package/examples/node_modules/@types/node/http2.d.ts +0 -2631
  118. package/examples/node_modules/@types/node/https.d.ts +0 -578
  119. package/examples/node_modules/@types/node/index.d.ts +0 -93
  120. package/examples/node_modules/@types/node/inspector.generated.d.ts +0 -3966
  121. package/examples/node_modules/@types/node/module.d.ts +0 -539
  122. package/examples/node_modules/@types/node/net.d.ts +0 -1012
  123. package/examples/node_modules/@types/node/os.d.ts +0 -506
  124. package/examples/node_modules/@types/node/package.json +0 -140
  125. package/examples/node_modules/@types/node/path.d.ts +0 -200
  126. package/examples/node_modules/@types/node/perf_hooks.d.ts +0 -961
  127. package/examples/node_modules/@types/node/process.d.ts +0 -1966
  128. package/examples/node_modules/@types/node/punycode.d.ts +0 -117
  129. package/examples/node_modules/@types/node/querystring.d.ts +0 -152
  130. package/examples/node_modules/@types/node/readline/promises.d.ts +0 -162
  131. package/examples/node_modules/@types/node/readline.d.ts +0 -589
  132. package/examples/node_modules/@types/node/repl.d.ts +0 -430
  133. package/examples/node_modules/@types/node/sea.d.ts +0 -153
  134. package/examples/node_modules/@types/node/stream/consumers.d.ts +0 -38
  135. package/examples/node_modules/@types/node/stream/promises.d.ts +0 -90
  136. package/examples/node_modules/@types/node/stream/web.d.ts +0 -533
  137. package/examples/node_modules/@types/node/stream.d.ts +0 -1675
  138. package/examples/node_modules/@types/node/string_decoder.d.ts +0 -67
  139. package/examples/node_modules/@types/node/test.d.ts +0 -1787
  140. package/examples/node_modules/@types/node/timers/promises.d.ts +0 -108
  141. package/examples/node_modules/@types/node/timers.d.ts +0 -286
  142. package/examples/node_modules/@types/node/tls.d.ts +0 -1259
  143. package/examples/node_modules/@types/node/trace_events.d.ts +0 -197
  144. package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  145. package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  146. package/examples/node_modules/@types/node/ts5.6/index.d.ts +0 -93
  147. package/examples/node_modules/@types/node/tty.d.ts +0 -208
  148. package/examples/node_modules/@types/node/url.d.ts +0 -964
  149. package/examples/node_modules/@types/node/util.d.ts +0 -2331
  150. package/examples/node_modules/@types/node/v8.d.ts +0 -809
  151. package/examples/node_modules/@types/node/vm.d.ts +0 -1001
  152. package/examples/node_modules/@types/node/wasi.d.ts +0 -181
  153. package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  154. package/examples/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  155. package/examples/node_modules/@types/node/web-globals/events.d.ts +0 -97
  156. package/examples/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  157. package/examples/node_modules/@types/node/worker_threads.d.ts +0 -715
  158. package/examples/node_modules/@types/node/zlib.d.ts +0 -540
  159. package/examples/node_modules/dotenv/config.d.ts +0 -1
  160. package/examples/node_modules/dotenv/config.js +0 -9
  161. package/examples/node_modules/dotenv/lib/cli-options.js +0 -17
  162. package/examples/node_modules/dotenv/lib/env-options.js +0 -28
  163. package/examples/node_modules/dotenv/lib/main.d.ts +0 -162
  164. package/examples/node_modules/dotenv/lib/main.js +0 -386
  165. package/examples/node_modules/dotenv/package.json +0 -62
  166. package/examples/node_modules/esbuild/install.js +0 -289
  167. package/examples/node_modules/esbuild/lib/main.d.ts +0 -716
  168. package/examples/node_modules/esbuild/lib/main.js +0 -2242
  169. package/examples/node_modules/esbuild/package.json +0 -49
  170. package/examples/node_modules/fsevents/fsevents.d.ts +0 -46
  171. package/examples/node_modules/fsevents/fsevents.js +0 -83
  172. package/examples/node_modules/fsevents/package.json +0 -62
  173. package/examples/node_modules/get-tsconfig/dist/index.mjs +0 -7
  174. package/examples/node_modules/get-tsconfig/package.json +0 -46
  175. package/examples/node_modules/resolve-pkg-maps/dist/index.mjs +0 -1
  176. package/examples/node_modules/resolve-pkg-maps/package.json +0 -42
  177. package/examples/node_modules/tsx/dist/cjs/api/index.mjs +0 -1
  178. package/examples/node_modules/tsx/dist/cjs/index.mjs +0 -1
  179. package/examples/node_modules/tsx/dist/cli.mjs +0 -55
  180. package/examples/node_modules/tsx/dist/client-BQVF1NaW.mjs +0 -1
  181. package/examples/node_modules/tsx/dist/esm/api/index.mjs +0 -1
  182. package/examples/node_modules/tsx/dist/esm/index.mjs +0 -2
  183. package/examples/node_modules/tsx/dist/get-pipe-path-BHW2eJdv.mjs +0 -1
  184. package/examples/node_modules/tsx/dist/index-7AaEi15b.mjs +0 -14
  185. package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +0 -1
  186. package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +0 -3
  187. package/examples/node_modules/tsx/dist/loader.mjs +0 -1
  188. package/examples/node_modules/tsx/dist/node-features-_8ZFwP_x.mjs +0 -1
  189. package/examples/node_modules/tsx/dist/package-CeBgXWuR.mjs +0 -1
  190. package/examples/node_modules/tsx/dist/patch-repl.mjs +0 -1
  191. package/examples/node_modules/tsx/dist/preflight.mjs +0 -1
  192. package/examples/node_modules/tsx/dist/register-B7jrtLTO.mjs +0 -1
  193. package/examples/node_modules/tsx/dist/register-CFH5oNdT.mjs +0 -4
  194. package/examples/node_modules/tsx/dist/repl.mjs +0 -3
  195. package/examples/node_modules/tsx/dist/require-DQxpCAr4.mjs +0 -1
  196. package/examples/node_modules/tsx/dist/suppress-warnings.mjs +0 -1
  197. package/examples/node_modules/tsx/dist/temporary-directory-CwHp0_NW.mjs +0 -1
  198. package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +0 -5
  199. package/examples/node_modules/tsx/package.json +0 -68
  200. package/examples/node_modules/undici-types/agent.d.ts +0 -31
  201. package/examples/node_modules/undici-types/api.d.ts +0 -43
  202. package/examples/node_modules/undici-types/balanced-pool.d.ts +0 -29
  203. package/examples/node_modules/undici-types/cache.d.ts +0 -36
  204. package/examples/node_modules/undici-types/client.d.ts +0 -108
  205. package/examples/node_modules/undici-types/connector.d.ts +0 -34
  206. package/examples/node_modules/undici-types/content-type.d.ts +0 -21
  207. package/examples/node_modules/undici-types/cookies.d.ts +0 -28
  208. package/examples/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  209. package/examples/node_modules/undici-types/dispatcher.d.ts +0 -256
  210. package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  211. package/examples/node_modules/undici-types/errors.d.ts +0 -149
  212. package/examples/node_modules/undici-types/eventsource.d.ts +0 -61
  213. package/examples/node_modules/undici-types/fetch.d.ts +0 -209
  214. package/examples/node_modules/undici-types/file.d.ts +0 -39
  215. package/examples/node_modules/undici-types/filereader.d.ts +0 -54
  216. package/examples/node_modules/undici-types/formdata.d.ts +0 -108
  217. package/examples/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  218. package/examples/node_modules/undici-types/global-origin.d.ts +0 -7
  219. package/examples/node_modules/undici-types/handlers.d.ts +0 -15
  220. package/examples/node_modules/undici-types/header.d.ts +0 -4
  221. package/examples/node_modules/undici-types/index.d.ts +0 -71
  222. package/examples/node_modules/undici-types/interceptors.d.ts +0 -17
  223. package/examples/node_modules/undici-types/mock-agent.d.ts +0 -50
  224. package/examples/node_modules/undici-types/mock-client.d.ts +0 -25
  225. package/examples/node_modules/undici-types/mock-errors.d.ts +0 -12
  226. package/examples/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  227. package/examples/node_modules/undici-types/mock-pool.d.ts +0 -25
  228. package/examples/node_modules/undici-types/package.json +0 -55
  229. package/examples/node_modules/undici-types/patch.d.ts +0 -33
  230. package/examples/node_modules/undici-types/pool-stats.d.ts +0 -19
  231. package/examples/node_modules/undici-types/pool.d.ts +0 -39
  232. package/examples/node_modules/undici-types/proxy-agent.d.ts +0 -28
  233. package/examples/node_modules/undici-types/readable.d.ts +0 -65
  234. package/examples/node_modules/undici-types/retry-agent.d.ts +0 -8
  235. package/examples/node_modules/undici-types/retry-handler.d.ts +0 -116
  236. package/examples/node_modules/undici-types/util.d.ts +0 -18
  237. package/examples/node_modules/undici-types/webidl.d.ts +0 -228
  238. package/examples/node_modules/undici-types/websocket.d.ts +0 -150
  239. package/examples/package-lock.json +0 -611
  240. package/examples/package.json +0 -18
  241. package/src/models/operations/get-v2-lists-list.ts +0 -17016
  242. package/tsconfig.json +0 -40
@@ -0,0 +1,3085 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4-mini";
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { discriminatedUnion } from "../../types/discriminated-union.js";
8
+ import * as openEnums from "../../types/enums.js";
9
+ import * as types from "../../types/primitives.js";
10
+ import { smartUnion } from "../../types/smart-union.js";
11
+ import * as models from "../index.js";
12
+ /**
13
+ * The direction to sort the results by.
14
+ */
15
+ export const PostV2ListsListEntriesQueryDirection2 = {
16
+ Asc: "asc",
17
+ Desc: "desc",
18
+ };
19
+ /**
20
+ * The direction to sort the results by.
21
+ */
22
+ export const PostV2ListsListEntriesQueryDirection1 = {
23
+ Asc: "asc",
24
+ Desc: "desc",
25
+ };
26
+ /**
27
+ * The type of actor. [Read more information on actor types here](/docs/actors).
28
+ */
29
+ export const PostV2ListsListEntriesQueryCreatedByActorType17 = {
30
+ ApiToken: "api-token",
31
+ WorkspaceMember: "workspace-member",
32
+ System: "system",
33
+ App: "app",
34
+ };
35
+ /**
36
+ * The type of actor. [Read more information on actor types here](/docs/actors).
37
+ */
38
+ export const PostV2ListsListEntriesQueryCreatedByActorType16 = {
39
+ ApiToken: "api-token",
40
+ WorkspaceMember: "workspace-member",
41
+ System: "system",
42
+ App: "app",
43
+ };
44
+ /**
45
+ * The type of actor. [Read more information on actor types here](/docs/actors).
46
+ */
47
+ export const PostV2ListsListEntriesQueryCreatedByActorType15 = {
48
+ ApiToken: "api-token",
49
+ WorkspaceMember: "workspace-member",
50
+ System: "system",
51
+ App: "app",
52
+ };
53
+ /**
54
+ * The type of actor. [Read more information on actor types here](/docs/actors).
55
+ */
56
+ export const PostV2ListsListEntriesQueryCreatedByActorType14 = {
57
+ ApiToken: "api-token",
58
+ WorkspaceMember: "workspace-member",
59
+ System: "system",
60
+ App: "app",
61
+ };
62
+ /**
63
+ * The type of actor. [Read more information on actor types here](/docs/actors).
64
+ */
65
+ export const PostV2ListsListEntriesQueryCreatedByActorType13 = {
66
+ ApiToken: "api-token",
67
+ WorkspaceMember: "workspace-member",
68
+ System: "system",
69
+ App: "app",
70
+ };
71
+ /**
72
+ * The type of actor. [Read more information on actor types here](/docs/actors).
73
+ */
74
+ export const PostV2ListsListEntriesQueryCreatedByActorType12 = {
75
+ ApiToken: "api-token",
76
+ WorkspaceMember: "workspace-member",
77
+ System: "system",
78
+ App: "app",
79
+ };
80
+ /**
81
+ * The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.
82
+ */
83
+ export const PostV2ListsListEntriesQueryCountryCode2 = {
84
+ Af: "AF",
85
+ Ax: "AX",
86
+ Al: "AL",
87
+ Dz: "DZ",
88
+ As: "AS",
89
+ Ad: "AD",
90
+ Ao: "AO",
91
+ Ai: "AI",
92
+ Aq: "AQ",
93
+ Ag: "AG",
94
+ Ar: "AR",
95
+ Am: "AM",
96
+ Aw: "AW",
97
+ Au: "AU",
98
+ At: "AT",
99
+ Az: "AZ",
100
+ Bs: "BS",
101
+ Bh: "BH",
102
+ Bd: "BD",
103
+ Bb: "BB",
104
+ By: "BY",
105
+ Be: "BE",
106
+ Bz: "BZ",
107
+ Bj: "BJ",
108
+ Bm: "BM",
109
+ Bt: "BT",
110
+ Bo: "BO",
111
+ Ba: "BA",
112
+ Bw: "BW",
113
+ Bv: "BV",
114
+ Br: "BR",
115
+ Io: "IO",
116
+ Bn: "BN",
117
+ Bg: "BG",
118
+ Bf: "BF",
119
+ Bi: "BI",
120
+ Kh: "KH",
121
+ Cm: "CM",
122
+ Ca: "CA",
123
+ Cv: "CV",
124
+ Ky: "KY",
125
+ Cf: "CF",
126
+ Td: "TD",
127
+ Cl: "CL",
128
+ Cn: "CN",
129
+ Cx: "CX",
130
+ Cc: "CC",
131
+ Co: "CO",
132
+ Km: "KM",
133
+ Cg: "CG",
134
+ Cd: "CD",
135
+ Ck: "CK",
136
+ Cr: "CR",
137
+ Ci: "CI",
138
+ Hr: "HR",
139
+ Cu: "CU",
140
+ Cw: "CW",
141
+ Cy: "CY",
142
+ Cz: "CZ",
143
+ Dk: "DK",
144
+ Dj: "DJ",
145
+ Dm: "DM",
146
+ Do: "DO",
147
+ Ec: "EC",
148
+ Eg: "EG",
149
+ Sv: "SV",
150
+ Gq: "GQ",
151
+ Er: "ER",
152
+ Ee: "EE",
153
+ Et: "ET",
154
+ Fk: "FK",
155
+ Fo: "FO",
156
+ Fj: "FJ",
157
+ Fi: "FI",
158
+ Fr: "FR",
159
+ Gf: "GF",
160
+ Pf: "PF",
161
+ Tf: "TF",
162
+ Ga: "GA",
163
+ Gm: "GM",
164
+ Ge: "GE",
165
+ De: "DE",
166
+ Gh: "GH",
167
+ Gi: "GI",
168
+ Gr: "GR",
169
+ Gl: "GL",
170
+ Gd: "GD",
171
+ Gp: "GP",
172
+ Gu: "GU",
173
+ Gt: "GT",
174
+ Gg: "GG",
175
+ Gn: "GN",
176
+ Gw: "GW",
177
+ Gy: "GY",
178
+ Ht: "HT",
179
+ Hm: "HM",
180
+ Va: "VA",
181
+ Hn: "HN",
182
+ Hk: "HK",
183
+ Hu: "HU",
184
+ Is: "IS",
185
+ In: "IN",
186
+ Id: "ID",
187
+ Ir: "IR",
188
+ Iq: "IQ",
189
+ Ie: "IE",
190
+ Im: "IM",
191
+ Il: "IL",
192
+ It: "IT",
193
+ Jm: "JM",
194
+ Jp: "JP",
195
+ Je: "JE",
196
+ Jo: "JO",
197
+ Kz: "KZ",
198
+ Ke: "KE",
199
+ Ki: "KI",
200
+ Kr: "KR",
201
+ Kw: "KW",
202
+ Kg: "KG",
203
+ La: "LA",
204
+ Lv: "LV",
205
+ Lb: "LB",
206
+ Ls: "LS",
207
+ Lr: "LR",
208
+ Ly: "LY",
209
+ Li: "LI",
210
+ Lt: "LT",
211
+ Lu: "LU",
212
+ Mo: "MO",
213
+ Mk: "MK",
214
+ Mg: "MG",
215
+ Mw: "MW",
216
+ My: "MY",
217
+ Mv: "MV",
218
+ Ml: "ML",
219
+ Mt: "MT",
220
+ Mh: "MH",
221
+ Mq: "MQ",
222
+ Mr: "MR",
223
+ Mu: "MU",
224
+ Yt: "YT",
225
+ Mx: "MX",
226
+ Fm: "FM",
227
+ Md: "MD",
228
+ Mc: "MC",
229
+ Mn: "MN",
230
+ Me: "ME",
231
+ Ms: "MS",
232
+ Ma: "MA",
233
+ Mz: "MZ",
234
+ Mm: "MM",
235
+ Na: "NA",
236
+ Nr: "NR",
237
+ Np: "NP",
238
+ Nl: "NL",
239
+ An: "AN",
240
+ Nc: "NC",
241
+ Nz: "NZ",
242
+ Ni: "NI",
243
+ Ne: "NE",
244
+ Ng: "NG",
245
+ Nu: "NU",
246
+ Nf: "NF",
247
+ Mp: "MP",
248
+ No: "NO",
249
+ Om: "OM",
250
+ Pk: "PK",
251
+ Pw: "PW",
252
+ Ps: "PS",
253
+ Pa: "PA",
254
+ Pg: "PG",
255
+ Py: "PY",
256
+ Pe: "PE",
257
+ Ph: "PH",
258
+ Pn: "PN",
259
+ Pl: "PL",
260
+ Pt: "PT",
261
+ Pr: "PR",
262
+ Qa: "QA",
263
+ Re: "RE",
264
+ Ro: "RO",
265
+ Ru: "RU",
266
+ Rw: "RW",
267
+ Bl: "BL",
268
+ Sh: "SH",
269
+ Kn: "KN",
270
+ Lc: "LC",
271
+ Mf: "MF",
272
+ Pm: "PM",
273
+ Vc: "VC",
274
+ Ws: "WS",
275
+ Sm: "SM",
276
+ St: "ST",
277
+ Sa: "SA",
278
+ Sn: "SN",
279
+ Ss: "SS",
280
+ Rs: "RS",
281
+ Sc: "SC",
282
+ Sl: "SL",
283
+ Sg: "SG",
284
+ Sk: "SK",
285
+ Si: "SI",
286
+ Sb: "SB",
287
+ So: "SO",
288
+ Za: "ZA",
289
+ Gs: "GS",
290
+ Es: "ES",
291
+ Lk: "LK",
292
+ Sd: "SD",
293
+ Sr: "SR",
294
+ Sj: "SJ",
295
+ Sz: "SZ",
296
+ Se: "SE",
297
+ Ch: "CH",
298
+ Sy: "SY",
299
+ Tw: "TW",
300
+ Tj: "TJ",
301
+ Tz: "TZ",
302
+ Th: "TH",
303
+ Tl: "TL",
304
+ Tg: "TG",
305
+ Tk: "TK",
306
+ To: "TO",
307
+ Tt: "TT",
308
+ Tn: "TN",
309
+ Tr: "TR",
310
+ Tm: "TM",
311
+ Tc: "TC",
312
+ Tv: "TV",
313
+ Ug: "UG",
314
+ Ua: "UA",
315
+ Ae: "AE",
316
+ Gb: "GB",
317
+ Us: "US",
318
+ Um: "UM",
319
+ Uy: "UY",
320
+ Uz: "UZ",
321
+ Vu: "VU",
322
+ Ve: "VE",
323
+ Vn: "VN",
324
+ Vg: "VG",
325
+ Vi: "VI",
326
+ Wf: "WF",
327
+ Eh: "EH",
328
+ Ye: "YE",
329
+ Zm: "ZM",
330
+ Zw: "ZW",
331
+ Bq: "BQ",
332
+ Kp: "KP",
333
+ Sx: "SX",
334
+ Xk: "XK",
335
+ Ac: "AC",
336
+ };
337
+ /**
338
+ * The type of actor. [Read more information on actor types here](/docs/actors).
339
+ */
340
+ export const PostV2ListsListEntriesQueryCreatedByActorType11 = {
341
+ ApiToken: "api-token",
342
+ WorkspaceMember: "workspace-member",
343
+ System: "system",
344
+ App: "app",
345
+ };
346
+ /**
347
+ * The type of actor. [Read more information on actor types here](/docs/actors).
348
+ */
349
+ export const PostV2ListsListEntriesQueryCreatedByActorType10 = {
350
+ ApiToken: "api-token",
351
+ WorkspaceMember: "workspace-member",
352
+ System: "system",
353
+ App: "app",
354
+ };
355
+ /**
356
+ * The type of actor. [Read more information on actor types here](/docs/actors).
357
+ */
358
+ export const PostV2ListsListEntriesQueryCreatedByActorType9 = {
359
+ ApiToken: "api-token",
360
+ WorkspaceMember: "workspace-member",
361
+ System: "system",
362
+ App: "app",
363
+ };
364
+ /**
365
+ * The ISO 3166-1 alpha-2 country code for the country this location is in.
366
+ */
367
+ export const PostV2ListsListEntriesQueryCountryCode1 = {
368
+ Af: "AF",
369
+ Ax: "AX",
370
+ Al: "AL",
371
+ Dz: "DZ",
372
+ As: "AS",
373
+ Ad: "AD",
374
+ Ao: "AO",
375
+ Ai: "AI",
376
+ Aq: "AQ",
377
+ Ag: "AG",
378
+ Ar: "AR",
379
+ Am: "AM",
380
+ Aw: "AW",
381
+ Au: "AU",
382
+ At: "AT",
383
+ Az: "AZ",
384
+ Bs: "BS",
385
+ Bh: "BH",
386
+ Bd: "BD",
387
+ Bb: "BB",
388
+ By: "BY",
389
+ Be: "BE",
390
+ Bz: "BZ",
391
+ Bj: "BJ",
392
+ Bm: "BM",
393
+ Bt: "BT",
394
+ Bo: "BO",
395
+ Ba: "BA",
396
+ Bw: "BW",
397
+ Bv: "BV",
398
+ Br: "BR",
399
+ Io: "IO",
400
+ Bn: "BN",
401
+ Bg: "BG",
402
+ Bf: "BF",
403
+ Bi: "BI",
404
+ Kh: "KH",
405
+ Cm: "CM",
406
+ Ca: "CA",
407
+ Cv: "CV",
408
+ Ky: "KY",
409
+ Cf: "CF",
410
+ Td: "TD",
411
+ Cl: "CL",
412
+ Cn: "CN",
413
+ Cx: "CX",
414
+ Cc: "CC",
415
+ Co: "CO",
416
+ Km: "KM",
417
+ Cg: "CG",
418
+ Cd: "CD",
419
+ Ck: "CK",
420
+ Cr: "CR",
421
+ Ci: "CI",
422
+ Hr: "HR",
423
+ Cu: "CU",
424
+ Cw: "CW",
425
+ Cy: "CY",
426
+ Cz: "CZ",
427
+ Dk: "DK",
428
+ Dj: "DJ",
429
+ Dm: "DM",
430
+ Do: "DO",
431
+ Ec: "EC",
432
+ Eg: "EG",
433
+ Sv: "SV",
434
+ Gq: "GQ",
435
+ Er: "ER",
436
+ Ee: "EE",
437
+ Et: "ET",
438
+ Fk: "FK",
439
+ Fo: "FO",
440
+ Fj: "FJ",
441
+ Fi: "FI",
442
+ Fr: "FR",
443
+ Gf: "GF",
444
+ Pf: "PF",
445
+ Tf: "TF",
446
+ Ga: "GA",
447
+ Gm: "GM",
448
+ Ge: "GE",
449
+ De: "DE",
450
+ Gh: "GH",
451
+ Gi: "GI",
452
+ Gr: "GR",
453
+ Gl: "GL",
454
+ Gd: "GD",
455
+ Gp: "GP",
456
+ Gu: "GU",
457
+ Gt: "GT",
458
+ Gg: "GG",
459
+ Gn: "GN",
460
+ Gw: "GW",
461
+ Gy: "GY",
462
+ Ht: "HT",
463
+ Hm: "HM",
464
+ Va: "VA",
465
+ Hn: "HN",
466
+ Hk: "HK",
467
+ Hu: "HU",
468
+ Is: "IS",
469
+ In: "IN",
470
+ Id: "ID",
471
+ Ir: "IR",
472
+ Iq: "IQ",
473
+ Ie: "IE",
474
+ Im: "IM",
475
+ Il: "IL",
476
+ It: "IT",
477
+ Jm: "JM",
478
+ Jp: "JP",
479
+ Je: "JE",
480
+ Jo: "JO",
481
+ Kz: "KZ",
482
+ Ke: "KE",
483
+ Ki: "KI",
484
+ Kr: "KR",
485
+ Kw: "KW",
486
+ Kg: "KG",
487
+ La: "LA",
488
+ Lv: "LV",
489
+ Lb: "LB",
490
+ Ls: "LS",
491
+ Lr: "LR",
492
+ Ly: "LY",
493
+ Li: "LI",
494
+ Lt: "LT",
495
+ Lu: "LU",
496
+ Mo: "MO",
497
+ Mk: "MK",
498
+ Mg: "MG",
499
+ Mw: "MW",
500
+ My: "MY",
501
+ Mv: "MV",
502
+ Ml: "ML",
503
+ Mt: "MT",
504
+ Mh: "MH",
505
+ Mq: "MQ",
506
+ Mr: "MR",
507
+ Mu: "MU",
508
+ Yt: "YT",
509
+ Mx: "MX",
510
+ Fm: "FM",
511
+ Md: "MD",
512
+ Mc: "MC",
513
+ Mn: "MN",
514
+ Me: "ME",
515
+ Ms: "MS",
516
+ Ma: "MA",
517
+ Mz: "MZ",
518
+ Mm: "MM",
519
+ Na: "NA",
520
+ Nr: "NR",
521
+ Np: "NP",
522
+ Nl: "NL",
523
+ An: "AN",
524
+ Nc: "NC",
525
+ Nz: "NZ",
526
+ Ni: "NI",
527
+ Ne: "NE",
528
+ Ng: "NG",
529
+ Nu: "NU",
530
+ Nf: "NF",
531
+ Mp: "MP",
532
+ No: "NO",
533
+ Om: "OM",
534
+ Pk: "PK",
535
+ Pw: "PW",
536
+ Ps: "PS",
537
+ Pa: "PA",
538
+ Pg: "PG",
539
+ Py: "PY",
540
+ Pe: "PE",
541
+ Ph: "PH",
542
+ Pn: "PN",
543
+ Pl: "PL",
544
+ Pt: "PT",
545
+ Pr: "PR",
546
+ Qa: "QA",
547
+ Re: "RE",
548
+ Ro: "RO",
549
+ Ru: "RU",
550
+ Rw: "RW",
551
+ Bl: "BL",
552
+ Sh: "SH",
553
+ Kn: "KN",
554
+ Lc: "LC",
555
+ Mf: "MF",
556
+ Pm: "PM",
557
+ Vc: "VC",
558
+ Ws: "WS",
559
+ Sm: "SM",
560
+ St: "ST",
561
+ Sa: "SA",
562
+ Sn: "SN",
563
+ Ss: "SS",
564
+ Rs: "RS",
565
+ Sc: "SC",
566
+ Sl: "SL",
567
+ Sg: "SG",
568
+ Sk: "SK",
569
+ Si: "SI",
570
+ Sb: "SB",
571
+ So: "SO",
572
+ Za: "ZA",
573
+ Gs: "GS",
574
+ Es: "ES",
575
+ Lk: "LK",
576
+ Sd: "SD",
577
+ Sr: "SR",
578
+ Sj: "SJ",
579
+ Sz: "SZ",
580
+ Se: "SE",
581
+ Ch: "CH",
582
+ Sy: "SY",
583
+ Tw: "TW",
584
+ Tj: "TJ",
585
+ Tz: "TZ",
586
+ Th: "TH",
587
+ Tl: "TL",
588
+ Tg: "TG",
589
+ Tk: "TK",
590
+ To: "TO",
591
+ Tt: "TT",
592
+ Tn: "TN",
593
+ Tr: "TR",
594
+ Tm: "TM",
595
+ Tc: "TC",
596
+ Tv: "TV",
597
+ Ug: "UG",
598
+ Ua: "UA",
599
+ Ae: "AE",
600
+ Gb: "GB",
601
+ Us: "US",
602
+ Um: "UM",
603
+ Uy: "UY",
604
+ Uz: "UZ",
605
+ Vu: "VU",
606
+ Ve: "VE",
607
+ Vn: "VN",
608
+ Vg: "VG",
609
+ Vi: "VI",
610
+ Wf: "WF",
611
+ Eh: "EH",
612
+ Ye: "YE",
613
+ Zm: "ZM",
614
+ Zw: "ZW",
615
+ Bq: "BQ",
616
+ Kp: "KP",
617
+ Sx: "SX",
618
+ Xk: "XK",
619
+ Ac: "AC",
620
+ };
621
+ /**
622
+ * The type of actor. [Read more information on actor types here](/docs/actors).
623
+ */
624
+ export const PostV2ListsListEntriesQueryCreatedByActorType8 = {
625
+ ApiToken: "api-token",
626
+ WorkspaceMember: "workspace-member",
627
+ System: "system",
628
+ App: "app",
629
+ };
630
+ /**
631
+ * The type of interaction e.g. calendar or email.
632
+ */
633
+ export const PostV2ListsListEntriesQueryInteractionType = {
634
+ CalendarEvent: "calendar-event",
635
+ Call: "call",
636
+ ChatThread: "chat-thread",
637
+ Email: "email",
638
+ InPersonMeeting: "in-person-meeting",
639
+ Meeting: "meeting",
640
+ };
641
+ /**
642
+ * The type of actor. [Read more information on actor types here](/docs/actors).
643
+ */
644
+ export const PostV2ListsListEntriesQueryOwnerActorType = {
645
+ ApiToken: "api-token",
646
+ WorkspaceMember: "workspace-member",
647
+ System: "system",
648
+ App: "app",
649
+ };
650
+ /**
651
+ * The type of actor. [Read more information on actor types here](/docs/actors).
652
+ */
653
+ export const PostV2ListsListEntriesQueryCreatedByActorType7 = {
654
+ ApiToken: "api-token",
655
+ WorkspaceMember: "workspace-member",
656
+ System: "system",
657
+ App: "app",
658
+ };
659
+ /**
660
+ * The type of actor. [Read more information on actor types here](/docs/actors).
661
+ */
662
+ export const PostV2ListsListEntriesQueryCreatedByActorType6 = {
663
+ ApiToken: "api-token",
664
+ WorkspaceMember: "workspace-member",
665
+ System: "system",
666
+ App: "app",
667
+ };
668
+ /**
669
+ * The type of actor. [Read more information on actor types here](/docs/actors).
670
+ */
671
+ export const PostV2ListsListEntriesQueryCreatedByActorType5 = {
672
+ ApiToken: "api-token",
673
+ WorkspaceMember: "workspace-member",
674
+ System: "system",
675
+ App: "app",
676
+ };
677
+ /**
678
+ * The type of actor. [Read more information on actor types here](/docs/actors).
679
+ */
680
+ export const PostV2ListsListEntriesQueryCreatedByActorType4 = {
681
+ ApiToken: "api-token",
682
+ WorkspaceMember: "workspace-member",
683
+ System: "system",
684
+ App: "app",
685
+ };
686
+ /**
687
+ * The type of actor. [Read more information on actor types here](/docs/actors).
688
+ */
689
+ export const PostV2ListsListEntriesQueryCreatedByActorType3 = {
690
+ ApiToken: "api-token",
691
+ WorkspaceMember: "workspace-member",
692
+ System: "system",
693
+ App: "app",
694
+ };
695
+ /**
696
+ * The ISO4217 currency code representing the currency that the value is stored in.
697
+ */
698
+ export const PostV2ListsListEntriesQueryCurrencyCode = {
699
+ Ars: "ARS",
700
+ Aud: "AUD",
701
+ Brl: "BRL",
702
+ Bgn: "BGN",
703
+ Cad: "CAD",
704
+ Clp: "CLP",
705
+ Cny: "CNY",
706
+ Cop: "COP",
707
+ Czk: "CZK",
708
+ Dkk: "DKK",
709
+ Eur: "EUR",
710
+ Hkd: "HKD",
711
+ Huf: "HUF",
712
+ Isk: "ISK",
713
+ Inr: "INR",
714
+ Ils: "ILS",
715
+ Jpy: "JPY",
716
+ Kes: "KES",
717
+ Krw: "KRW",
718
+ Myr: "MYR",
719
+ Mxn: "MXN",
720
+ Ntd: "NTD",
721
+ Nzd: "NZD",
722
+ Ngn: "NGN",
723
+ Nok: "NOK",
724
+ Xpf: "XPF",
725
+ Pen: "PEN",
726
+ Php: "PHP",
727
+ Pln: "PLN",
728
+ Gbp: "GBP",
729
+ Rwf: "RWF",
730
+ Sar: "SAR",
731
+ Sgd: "SGD",
732
+ Zar: "ZAR",
733
+ Sek: "SEK",
734
+ Chf: "CHF",
735
+ Thb: "THB",
736
+ Aed: "AED",
737
+ Uyu: "UYU",
738
+ Usd: "USD",
739
+ };
740
+ /**
741
+ * The type of actor. [Read more information on actor types here](/docs/actors).
742
+ */
743
+ export const PostV2ListsListEntriesQueryCreatedByActorType2 = {
744
+ ApiToken: "api-token",
745
+ WorkspaceMember: "workspace-member",
746
+ System: "system",
747
+ App: "app",
748
+ };
749
+ /**
750
+ * The type of actor. [Read more information on actor types here](/docs/actors).
751
+ */
752
+ export const PostV2ListsListEntriesQueryCreatedByActorType1 = {
753
+ ApiToken: "api-token",
754
+ WorkspaceMember: "workspace-member",
755
+ System: "system",
756
+ App: "app",
757
+ };
758
+ /**
759
+ * The type of the referenced actor. [Read more information on actor types here](/docs/actors).
760
+ */
761
+ export const PostV2ListsListEntriesQueryReferencedActorType = {
762
+ ApiToken: "api-token",
763
+ WorkspaceMember: "workspace-member",
764
+ System: "system",
765
+ App: "app",
766
+ };
767
+ /**
768
+ * The type of actor. [Read more information on actor types here](/docs/actors).
769
+ */
770
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType17 = {
771
+ ApiToken: "api-token",
772
+ WorkspaceMember: "workspace-member",
773
+ System: "system",
774
+ App: "app",
775
+ };
776
+ /**
777
+ * The type of actor. [Read more information on actor types here](/docs/actors).
778
+ */
779
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType16 = {
780
+ ApiToken: "api-token",
781
+ WorkspaceMember: "workspace-member",
782
+ System: "system",
783
+ App: "app",
784
+ };
785
+ /**
786
+ * The type of actor. [Read more information on actor types here](/docs/actors).
787
+ */
788
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType15 = {
789
+ ApiToken: "api-token",
790
+ WorkspaceMember: "workspace-member",
791
+ System: "system",
792
+ App: "app",
793
+ };
794
+ /**
795
+ * The type of actor. [Read more information on actor types here](/docs/actors).
796
+ */
797
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType14 = {
798
+ ApiToken: "api-token",
799
+ WorkspaceMember: "workspace-member",
800
+ System: "system",
801
+ App: "app",
802
+ };
803
+ /**
804
+ * The type of actor. [Read more information on actor types here](/docs/actors).
805
+ */
806
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType13 = {
807
+ ApiToken: "api-token",
808
+ WorkspaceMember: "workspace-member",
809
+ System: "system",
810
+ App: "app",
811
+ };
812
+ /**
813
+ * The type of actor. [Read more information on actor types here](/docs/actors).
814
+ */
815
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType12 = {
816
+ ApiToken: "api-token",
817
+ WorkspaceMember: "workspace-member",
818
+ System: "system",
819
+ App: "app",
820
+ };
821
+ /**
822
+ * The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.
823
+ */
824
+ export const GetV2ListsListEntriesEntryIdCountryCode2 = {
825
+ Af: "AF",
826
+ Ax: "AX",
827
+ Al: "AL",
828
+ Dz: "DZ",
829
+ As: "AS",
830
+ Ad: "AD",
831
+ Ao: "AO",
832
+ Ai: "AI",
833
+ Aq: "AQ",
834
+ Ag: "AG",
835
+ Ar: "AR",
836
+ Am: "AM",
837
+ Aw: "AW",
838
+ Au: "AU",
839
+ At: "AT",
840
+ Az: "AZ",
841
+ Bs: "BS",
842
+ Bh: "BH",
843
+ Bd: "BD",
844
+ Bb: "BB",
845
+ By: "BY",
846
+ Be: "BE",
847
+ Bz: "BZ",
848
+ Bj: "BJ",
849
+ Bm: "BM",
850
+ Bt: "BT",
851
+ Bo: "BO",
852
+ Ba: "BA",
853
+ Bw: "BW",
854
+ Bv: "BV",
855
+ Br: "BR",
856
+ Io: "IO",
857
+ Bn: "BN",
858
+ Bg: "BG",
859
+ Bf: "BF",
860
+ Bi: "BI",
861
+ Kh: "KH",
862
+ Cm: "CM",
863
+ Ca: "CA",
864
+ Cv: "CV",
865
+ Ky: "KY",
866
+ Cf: "CF",
867
+ Td: "TD",
868
+ Cl: "CL",
869
+ Cn: "CN",
870
+ Cx: "CX",
871
+ Cc: "CC",
872
+ Co: "CO",
873
+ Km: "KM",
874
+ Cg: "CG",
875
+ Cd: "CD",
876
+ Ck: "CK",
877
+ Cr: "CR",
878
+ Ci: "CI",
879
+ Hr: "HR",
880
+ Cu: "CU",
881
+ Cw: "CW",
882
+ Cy: "CY",
883
+ Cz: "CZ",
884
+ Dk: "DK",
885
+ Dj: "DJ",
886
+ Dm: "DM",
887
+ Do: "DO",
888
+ Ec: "EC",
889
+ Eg: "EG",
890
+ Sv: "SV",
891
+ Gq: "GQ",
892
+ Er: "ER",
893
+ Ee: "EE",
894
+ Et: "ET",
895
+ Fk: "FK",
896
+ Fo: "FO",
897
+ Fj: "FJ",
898
+ Fi: "FI",
899
+ Fr: "FR",
900
+ Gf: "GF",
901
+ Pf: "PF",
902
+ Tf: "TF",
903
+ Ga: "GA",
904
+ Gm: "GM",
905
+ Ge: "GE",
906
+ De: "DE",
907
+ Gh: "GH",
908
+ Gi: "GI",
909
+ Gr: "GR",
910
+ Gl: "GL",
911
+ Gd: "GD",
912
+ Gp: "GP",
913
+ Gu: "GU",
914
+ Gt: "GT",
915
+ Gg: "GG",
916
+ Gn: "GN",
917
+ Gw: "GW",
918
+ Gy: "GY",
919
+ Ht: "HT",
920
+ Hm: "HM",
921
+ Va: "VA",
922
+ Hn: "HN",
923
+ Hk: "HK",
924
+ Hu: "HU",
925
+ Is: "IS",
926
+ In: "IN",
927
+ Id: "ID",
928
+ Ir: "IR",
929
+ Iq: "IQ",
930
+ Ie: "IE",
931
+ Im: "IM",
932
+ Il: "IL",
933
+ It: "IT",
934
+ Jm: "JM",
935
+ Jp: "JP",
936
+ Je: "JE",
937
+ Jo: "JO",
938
+ Kz: "KZ",
939
+ Ke: "KE",
940
+ Ki: "KI",
941
+ Kr: "KR",
942
+ Kw: "KW",
943
+ Kg: "KG",
944
+ La: "LA",
945
+ Lv: "LV",
946
+ Lb: "LB",
947
+ Ls: "LS",
948
+ Lr: "LR",
949
+ Ly: "LY",
950
+ Li: "LI",
951
+ Lt: "LT",
952
+ Lu: "LU",
953
+ Mo: "MO",
954
+ Mk: "MK",
955
+ Mg: "MG",
956
+ Mw: "MW",
957
+ My: "MY",
958
+ Mv: "MV",
959
+ Ml: "ML",
960
+ Mt: "MT",
961
+ Mh: "MH",
962
+ Mq: "MQ",
963
+ Mr: "MR",
964
+ Mu: "MU",
965
+ Yt: "YT",
966
+ Mx: "MX",
967
+ Fm: "FM",
968
+ Md: "MD",
969
+ Mc: "MC",
970
+ Mn: "MN",
971
+ Me: "ME",
972
+ Ms: "MS",
973
+ Ma: "MA",
974
+ Mz: "MZ",
975
+ Mm: "MM",
976
+ Na: "NA",
977
+ Nr: "NR",
978
+ Np: "NP",
979
+ Nl: "NL",
980
+ An: "AN",
981
+ Nc: "NC",
982
+ Nz: "NZ",
983
+ Ni: "NI",
984
+ Ne: "NE",
985
+ Ng: "NG",
986
+ Nu: "NU",
987
+ Nf: "NF",
988
+ Mp: "MP",
989
+ No: "NO",
990
+ Om: "OM",
991
+ Pk: "PK",
992
+ Pw: "PW",
993
+ Ps: "PS",
994
+ Pa: "PA",
995
+ Pg: "PG",
996
+ Py: "PY",
997
+ Pe: "PE",
998
+ Ph: "PH",
999
+ Pn: "PN",
1000
+ Pl: "PL",
1001
+ Pt: "PT",
1002
+ Pr: "PR",
1003
+ Qa: "QA",
1004
+ Re: "RE",
1005
+ Ro: "RO",
1006
+ Ru: "RU",
1007
+ Rw: "RW",
1008
+ Bl: "BL",
1009
+ Sh: "SH",
1010
+ Kn: "KN",
1011
+ Lc: "LC",
1012
+ Mf: "MF",
1013
+ Pm: "PM",
1014
+ Vc: "VC",
1015
+ Ws: "WS",
1016
+ Sm: "SM",
1017
+ St: "ST",
1018
+ Sa: "SA",
1019
+ Sn: "SN",
1020
+ Ss: "SS",
1021
+ Rs: "RS",
1022
+ Sc: "SC",
1023
+ Sl: "SL",
1024
+ Sg: "SG",
1025
+ Sk: "SK",
1026
+ Si: "SI",
1027
+ Sb: "SB",
1028
+ So: "SO",
1029
+ Za: "ZA",
1030
+ Gs: "GS",
1031
+ Es: "ES",
1032
+ Lk: "LK",
1033
+ Sd: "SD",
1034
+ Sr: "SR",
1035
+ Sj: "SJ",
1036
+ Sz: "SZ",
1037
+ Se: "SE",
1038
+ Ch: "CH",
1039
+ Sy: "SY",
1040
+ Tw: "TW",
1041
+ Tj: "TJ",
1042
+ Tz: "TZ",
1043
+ Th: "TH",
1044
+ Tl: "TL",
1045
+ Tg: "TG",
1046
+ Tk: "TK",
1047
+ To: "TO",
1048
+ Tt: "TT",
1049
+ Tn: "TN",
1050
+ Tr: "TR",
1051
+ Tm: "TM",
1052
+ Tc: "TC",
1053
+ Tv: "TV",
1054
+ Ug: "UG",
1055
+ Ua: "UA",
1056
+ Ae: "AE",
1057
+ Gb: "GB",
1058
+ Us: "US",
1059
+ Um: "UM",
1060
+ Uy: "UY",
1061
+ Uz: "UZ",
1062
+ Vu: "VU",
1063
+ Ve: "VE",
1064
+ Vn: "VN",
1065
+ Vg: "VG",
1066
+ Vi: "VI",
1067
+ Wf: "WF",
1068
+ Eh: "EH",
1069
+ Ye: "YE",
1070
+ Zm: "ZM",
1071
+ Zw: "ZW",
1072
+ Bq: "BQ",
1073
+ Kp: "KP",
1074
+ Sx: "SX",
1075
+ Xk: "XK",
1076
+ Ac: "AC",
1077
+ };
1078
+ /**
1079
+ * The type of actor. [Read more information on actor types here](/docs/actors).
1080
+ */
1081
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType11 = {
1082
+ ApiToken: "api-token",
1083
+ WorkspaceMember: "workspace-member",
1084
+ System: "system",
1085
+ App: "app",
1086
+ };
1087
+ /**
1088
+ * The type of actor. [Read more information on actor types here](/docs/actors).
1089
+ */
1090
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType10 = {
1091
+ ApiToken: "api-token",
1092
+ WorkspaceMember: "workspace-member",
1093
+ System: "system",
1094
+ App: "app",
1095
+ };
1096
+ /**
1097
+ * The type of actor. [Read more information on actor types here](/docs/actors).
1098
+ */
1099
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType9 = {
1100
+ ApiToken: "api-token",
1101
+ WorkspaceMember: "workspace-member",
1102
+ System: "system",
1103
+ App: "app",
1104
+ };
1105
+ /**
1106
+ * The ISO 3166-1 alpha-2 country code for the country this location is in.
1107
+ */
1108
+ export const GetV2ListsListEntriesEntryIdCountryCode1 = {
1109
+ Af: "AF",
1110
+ Ax: "AX",
1111
+ Al: "AL",
1112
+ Dz: "DZ",
1113
+ As: "AS",
1114
+ Ad: "AD",
1115
+ Ao: "AO",
1116
+ Ai: "AI",
1117
+ Aq: "AQ",
1118
+ Ag: "AG",
1119
+ Ar: "AR",
1120
+ Am: "AM",
1121
+ Aw: "AW",
1122
+ Au: "AU",
1123
+ At: "AT",
1124
+ Az: "AZ",
1125
+ Bs: "BS",
1126
+ Bh: "BH",
1127
+ Bd: "BD",
1128
+ Bb: "BB",
1129
+ By: "BY",
1130
+ Be: "BE",
1131
+ Bz: "BZ",
1132
+ Bj: "BJ",
1133
+ Bm: "BM",
1134
+ Bt: "BT",
1135
+ Bo: "BO",
1136
+ Ba: "BA",
1137
+ Bw: "BW",
1138
+ Bv: "BV",
1139
+ Br: "BR",
1140
+ Io: "IO",
1141
+ Bn: "BN",
1142
+ Bg: "BG",
1143
+ Bf: "BF",
1144
+ Bi: "BI",
1145
+ Kh: "KH",
1146
+ Cm: "CM",
1147
+ Ca: "CA",
1148
+ Cv: "CV",
1149
+ Ky: "KY",
1150
+ Cf: "CF",
1151
+ Td: "TD",
1152
+ Cl: "CL",
1153
+ Cn: "CN",
1154
+ Cx: "CX",
1155
+ Cc: "CC",
1156
+ Co: "CO",
1157
+ Km: "KM",
1158
+ Cg: "CG",
1159
+ Cd: "CD",
1160
+ Ck: "CK",
1161
+ Cr: "CR",
1162
+ Ci: "CI",
1163
+ Hr: "HR",
1164
+ Cu: "CU",
1165
+ Cw: "CW",
1166
+ Cy: "CY",
1167
+ Cz: "CZ",
1168
+ Dk: "DK",
1169
+ Dj: "DJ",
1170
+ Dm: "DM",
1171
+ Do: "DO",
1172
+ Ec: "EC",
1173
+ Eg: "EG",
1174
+ Sv: "SV",
1175
+ Gq: "GQ",
1176
+ Er: "ER",
1177
+ Ee: "EE",
1178
+ Et: "ET",
1179
+ Fk: "FK",
1180
+ Fo: "FO",
1181
+ Fj: "FJ",
1182
+ Fi: "FI",
1183
+ Fr: "FR",
1184
+ Gf: "GF",
1185
+ Pf: "PF",
1186
+ Tf: "TF",
1187
+ Ga: "GA",
1188
+ Gm: "GM",
1189
+ Ge: "GE",
1190
+ De: "DE",
1191
+ Gh: "GH",
1192
+ Gi: "GI",
1193
+ Gr: "GR",
1194
+ Gl: "GL",
1195
+ Gd: "GD",
1196
+ Gp: "GP",
1197
+ Gu: "GU",
1198
+ Gt: "GT",
1199
+ Gg: "GG",
1200
+ Gn: "GN",
1201
+ Gw: "GW",
1202
+ Gy: "GY",
1203
+ Ht: "HT",
1204
+ Hm: "HM",
1205
+ Va: "VA",
1206
+ Hn: "HN",
1207
+ Hk: "HK",
1208
+ Hu: "HU",
1209
+ Is: "IS",
1210
+ In: "IN",
1211
+ Id: "ID",
1212
+ Ir: "IR",
1213
+ Iq: "IQ",
1214
+ Ie: "IE",
1215
+ Im: "IM",
1216
+ Il: "IL",
1217
+ It: "IT",
1218
+ Jm: "JM",
1219
+ Jp: "JP",
1220
+ Je: "JE",
1221
+ Jo: "JO",
1222
+ Kz: "KZ",
1223
+ Ke: "KE",
1224
+ Ki: "KI",
1225
+ Kr: "KR",
1226
+ Kw: "KW",
1227
+ Kg: "KG",
1228
+ La: "LA",
1229
+ Lv: "LV",
1230
+ Lb: "LB",
1231
+ Ls: "LS",
1232
+ Lr: "LR",
1233
+ Ly: "LY",
1234
+ Li: "LI",
1235
+ Lt: "LT",
1236
+ Lu: "LU",
1237
+ Mo: "MO",
1238
+ Mk: "MK",
1239
+ Mg: "MG",
1240
+ Mw: "MW",
1241
+ My: "MY",
1242
+ Mv: "MV",
1243
+ Ml: "ML",
1244
+ Mt: "MT",
1245
+ Mh: "MH",
1246
+ Mq: "MQ",
1247
+ Mr: "MR",
1248
+ Mu: "MU",
1249
+ Yt: "YT",
1250
+ Mx: "MX",
1251
+ Fm: "FM",
1252
+ Md: "MD",
1253
+ Mc: "MC",
1254
+ Mn: "MN",
1255
+ Me: "ME",
1256
+ Ms: "MS",
1257
+ Ma: "MA",
1258
+ Mz: "MZ",
1259
+ Mm: "MM",
1260
+ Na: "NA",
1261
+ Nr: "NR",
1262
+ Np: "NP",
1263
+ Nl: "NL",
1264
+ An: "AN",
1265
+ Nc: "NC",
1266
+ Nz: "NZ",
1267
+ Ni: "NI",
1268
+ Ne: "NE",
1269
+ Ng: "NG",
1270
+ Nu: "NU",
1271
+ Nf: "NF",
1272
+ Mp: "MP",
1273
+ No: "NO",
1274
+ Om: "OM",
1275
+ Pk: "PK",
1276
+ Pw: "PW",
1277
+ Ps: "PS",
1278
+ Pa: "PA",
1279
+ Pg: "PG",
1280
+ Py: "PY",
1281
+ Pe: "PE",
1282
+ Ph: "PH",
1283
+ Pn: "PN",
1284
+ Pl: "PL",
1285
+ Pt: "PT",
1286
+ Pr: "PR",
1287
+ Qa: "QA",
1288
+ Re: "RE",
1289
+ Ro: "RO",
1290
+ Ru: "RU",
1291
+ Rw: "RW",
1292
+ Bl: "BL",
1293
+ Sh: "SH",
1294
+ Kn: "KN",
1295
+ Lc: "LC",
1296
+ Mf: "MF",
1297
+ Pm: "PM",
1298
+ Vc: "VC",
1299
+ Ws: "WS",
1300
+ Sm: "SM",
1301
+ St: "ST",
1302
+ Sa: "SA",
1303
+ Sn: "SN",
1304
+ Ss: "SS",
1305
+ Rs: "RS",
1306
+ Sc: "SC",
1307
+ Sl: "SL",
1308
+ Sg: "SG",
1309
+ Sk: "SK",
1310
+ Si: "SI",
1311
+ Sb: "SB",
1312
+ So: "SO",
1313
+ Za: "ZA",
1314
+ Gs: "GS",
1315
+ Es: "ES",
1316
+ Lk: "LK",
1317
+ Sd: "SD",
1318
+ Sr: "SR",
1319
+ Sj: "SJ",
1320
+ Sz: "SZ",
1321
+ Se: "SE",
1322
+ Ch: "CH",
1323
+ Sy: "SY",
1324
+ Tw: "TW",
1325
+ Tj: "TJ",
1326
+ Tz: "TZ",
1327
+ Th: "TH",
1328
+ Tl: "TL",
1329
+ Tg: "TG",
1330
+ Tk: "TK",
1331
+ To: "TO",
1332
+ Tt: "TT",
1333
+ Tn: "TN",
1334
+ Tr: "TR",
1335
+ Tm: "TM",
1336
+ Tc: "TC",
1337
+ Tv: "TV",
1338
+ Ug: "UG",
1339
+ Ua: "UA",
1340
+ Ae: "AE",
1341
+ Gb: "GB",
1342
+ Us: "US",
1343
+ Um: "UM",
1344
+ Uy: "UY",
1345
+ Uz: "UZ",
1346
+ Vu: "VU",
1347
+ Ve: "VE",
1348
+ Vn: "VN",
1349
+ Vg: "VG",
1350
+ Vi: "VI",
1351
+ Wf: "WF",
1352
+ Eh: "EH",
1353
+ Ye: "YE",
1354
+ Zm: "ZM",
1355
+ Zw: "ZW",
1356
+ Bq: "BQ",
1357
+ Kp: "KP",
1358
+ Sx: "SX",
1359
+ Xk: "XK",
1360
+ Ac: "AC",
1361
+ };
1362
+ /**
1363
+ * The type of actor. [Read more information on actor types here](/docs/actors).
1364
+ */
1365
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType8 = {
1366
+ ApiToken: "api-token",
1367
+ WorkspaceMember: "workspace-member",
1368
+ System: "system",
1369
+ App: "app",
1370
+ };
1371
+ /**
1372
+ * The type of interaction e.g. calendar or email.
1373
+ */
1374
+ export const GetV2ListsListEntriesEntryIdInteractionType = {
1375
+ CalendarEvent: "calendar-event",
1376
+ Call: "call",
1377
+ ChatThread: "chat-thread",
1378
+ Email: "email",
1379
+ InPersonMeeting: "in-person-meeting",
1380
+ Meeting: "meeting",
1381
+ };
1382
+ /**
1383
+ * The type of actor. [Read more information on actor types here](/docs/actors).
1384
+ */
1385
+ export const GetV2ListsListEntriesEntryIdOwnerActorType = {
1386
+ ApiToken: "api-token",
1387
+ WorkspaceMember: "workspace-member",
1388
+ System: "system",
1389
+ App: "app",
1390
+ };
1391
+ /**
1392
+ * The type of actor. [Read more information on actor types here](/docs/actors).
1393
+ */
1394
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType7 = {
1395
+ ApiToken: "api-token",
1396
+ WorkspaceMember: "workspace-member",
1397
+ System: "system",
1398
+ App: "app",
1399
+ };
1400
+ /**
1401
+ * The type of actor. [Read more information on actor types here](/docs/actors).
1402
+ */
1403
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType6 = {
1404
+ ApiToken: "api-token",
1405
+ WorkspaceMember: "workspace-member",
1406
+ System: "system",
1407
+ App: "app",
1408
+ };
1409
+ /**
1410
+ * The type of actor. [Read more information on actor types here](/docs/actors).
1411
+ */
1412
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType5 = {
1413
+ ApiToken: "api-token",
1414
+ WorkspaceMember: "workspace-member",
1415
+ System: "system",
1416
+ App: "app",
1417
+ };
1418
+ /**
1419
+ * The type of actor. [Read more information on actor types here](/docs/actors).
1420
+ */
1421
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType4 = {
1422
+ ApiToken: "api-token",
1423
+ WorkspaceMember: "workspace-member",
1424
+ System: "system",
1425
+ App: "app",
1426
+ };
1427
+ /**
1428
+ * The type of actor. [Read more information on actor types here](/docs/actors).
1429
+ */
1430
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType3 = {
1431
+ ApiToken: "api-token",
1432
+ WorkspaceMember: "workspace-member",
1433
+ System: "system",
1434
+ App: "app",
1435
+ };
1436
+ /**
1437
+ * The ISO4217 currency code representing the currency that the value is stored in.
1438
+ */
1439
+ export const GetV2ListsListEntriesEntryIdCurrencyCode = {
1440
+ Ars: "ARS",
1441
+ Aud: "AUD",
1442
+ Brl: "BRL",
1443
+ Bgn: "BGN",
1444
+ Cad: "CAD",
1445
+ Clp: "CLP",
1446
+ Cny: "CNY",
1447
+ Cop: "COP",
1448
+ Czk: "CZK",
1449
+ Dkk: "DKK",
1450
+ Eur: "EUR",
1451
+ Hkd: "HKD",
1452
+ Huf: "HUF",
1453
+ Isk: "ISK",
1454
+ Inr: "INR",
1455
+ Ils: "ILS",
1456
+ Jpy: "JPY",
1457
+ Kes: "KES",
1458
+ Krw: "KRW",
1459
+ Myr: "MYR",
1460
+ Mxn: "MXN",
1461
+ Ntd: "NTD",
1462
+ Nzd: "NZD",
1463
+ Ngn: "NGN",
1464
+ Nok: "NOK",
1465
+ Xpf: "XPF",
1466
+ Pen: "PEN",
1467
+ Php: "PHP",
1468
+ Pln: "PLN",
1469
+ Gbp: "GBP",
1470
+ Rwf: "RWF",
1471
+ Sar: "SAR",
1472
+ Sgd: "SGD",
1473
+ Zar: "ZAR",
1474
+ Sek: "SEK",
1475
+ Chf: "CHF",
1476
+ Thb: "THB",
1477
+ Aed: "AED",
1478
+ Uyu: "UYU",
1479
+ Usd: "USD",
1480
+ };
1481
+ /**
1482
+ * The type of actor. [Read more information on actor types here](/docs/actors).
1483
+ */
1484
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType2 = {
1485
+ ApiToken: "api-token",
1486
+ WorkspaceMember: "workspace-member",
1487
+ System: "system",
1488
+ App: "app",
1489
+ };
1490
+ /**
1491
+ * The type of actor. [Read more information on actor types here](/docs/actors).
1492
+ */
1493
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType1 = {
1494
+ ApiToken: "api-token",
1495
+ WorkspaceMember: "workspace-member",
1496
+ System: "system",
1497
+ App: "app",
1498
+ };
1499
+ /**
1500
+ * The type of the referenced actor. [Read more information on actor types here](/docs/actors).
1501
+ */
1502
+ export const GetV2ListsListEntriesEntryIdReferencedActorType = {
1503
+ ApiToken: "api-token",
1504
+ WorkspaceMember: "workspace-member",
1505
+ System: "system",
1506
+ App: "app",
1507
+ };
1508
+ export const PatchV2ListsListEntriesEntryIdBadRequestType = {
1509
+ InvalidRequestError: "invalid_request_error",
1510
+ };
1511
+ export const PatchV2ListsListEntriesEntryIdCodeImmutableValue = {
1512
+ ImmutableValue: "immutable_value",
1513
+ };
1514
+ /**
1515
+ * The type of actor. [Read more information on actor types here](/docs/actors).
1516
+ */
1517
+ export const PatchV2ListsListEntriesEntryIdCreatedByActorType17 = {
1518
+ ApiToken: "api-token",
1519
+ WorkspaceMember: "workspace-member",
1520
+ System: "system",
1521
+ App: "app",
1522
+ };
1523
+ /**
1524
+ * The type of actor. [Read more information on actor types here](/docs/actors).
1525
+ */
1526
+ export const PatchV2ListsListEntriesEntryIdCreatedByActorType16 = {
1527
+ ApiToken: "api-token",
1528
+ WorkspaceMember: "workspace-member",
1529
+ System: "system",
1530
+ App: "app",
1531
+ };
1532
+ /**
1533
+ * The type of actor. [Read more information on actor types here](/docs/actors).
1534
+ */
1535
+ export const PatchV2ListsListEntriesEntryIdCreatedByActorType15 = {
1536
+ ApiToken: "api-token",
1537
+ WorkspaceMember: "workspace-member",
1538
+ System: "system",
1539
+ App: "app",
1540
+ };
1541
+ /**
1542
+ * The type of actor. [Read more information on actor types here](/docs/actors).
1543
+ */
1544
+ export const PatchV2ListsListEntriesEntryIdCreatedByActorType14 = {
1545
+ ApiToken: "api-token",
1546
+ WorkspaceMember: "workspace-member",
1547
+ System: "system",
1548
+ App: "app",
1549
+ };
1550
+ /** @internal */
1551
+ export const PostV2ListsListEntriesQueryDirection2$outboundSchema = z.enum(PostV2ListsListEntriesQueryDirection2);
1552
+ /** @internal */
1553
+ export const PostV2ListsListEntriesQuerySort2$outboundSchema = z.object({
1554
+ direction: PostV2ListsListEntriesQueryDirection2$outboundSchema,
1555
+ path: z.array(z.array(z.string())),
1556
+ field: z.optional(z.string()),
1557
+ });
1558
+ export function postV2ListsListEntriesQuerySort2ToJSON(postV2ListsListEntriesQuerySort2) {
1559
+ return JSON.stringify(PostV2ListsListEntriesQuerySort2$outboundSchema.parse(postV2ListsListEntriesQuerySort2));
1560
+ }
1561
+ /** @internal */
1562
+ export const PostV2ListsListEntriesQueryDirection1$outboundSchema = z.enum(PostV2ListsListEntriesQueryDirection1);
1563
+ /** @internal */
1564
+ export const PostV2ListsListEntriesQuerySort1$outboundSchema = z.object({
1565
+ direction: PostV2ListsListEntriesQueryDirection1$outboundSchema,
1566
+ attribute: z.string(),
1567
+ field: z.optional(z.string()),
1568
+ });
1569
+ export function postV2ListsListEntriesQuerySort1ToJSON(postV2ListsListEntriesQuerySort1) {
1570
+ return JSON.stringify(PostV2ListsListEntriesQuerySort1$outboundSchema.parse(postV2ListsListEntriesQuerySort1));
1571
+ }
1572
+ /** @internal */
1573
+ export const PostV2ListsListEntriesQuerySortUnion$outboundSchema = smartUnion([
1574
+ z.lazy(() => PostV2ListsListEntriesQuerySort1$outboundSchema),
1575
+ z.lazy(() => PostV2ListsListEntriesQuerySort2$outboundSchema),
1576
+ ]);
1577
+ export function postV2ListsListEntriesQuerySortUnionToJSON(postV2ListsListEntriesQuerySortUnion) {
1578
+ return JSON.stringify(PostV2ListsListEntriesQuerySortUnion$outboundSchema.parse(postV2ListsListEntriesQuerySortUnion));
1579
+ }
1580
+ /** @internal */
1581
+ export const PostV2ListsListEntriesQueryRequestBody$outboundSchema = z.object({
1582
+ filter: z.optional(z.record(z.string(), z.any())),
1583
+ sorts: z.optional(z.array(smartUnion([
1584
+ z.lazy(() => PostV2ListsListEntriesQuerySort1$outboundSchema),
1585
+ z.lazy(() => PostV2ListsListEntriesQuerySort2$outboundSchema),
1586
+ ]))),
1587
+ limit: z.optional(z.number()),
1588
+ offset: z.optional(z.number()),
1589
+ });
1590
+ export function postV2ListsListEntriesQueryRequestBodyToJSON(postV2ListsListEntriesQueryRequestBody) {
1591
+ return JSON.stringify(PostV2ListsListEntriesQueryRequestBody$outboundSchema.parse(postV2ListsListEntriesQueryRequestBody));
1592
+ }
1593
+ /** @internal */
1594
+ export const PostV2ListsListEntriesQueryRequest$outboundSchema = z.object({
1595
+ list: z.string(),
1596
+ body: z.lazy(() => PostV2ListsListEntriesQueryRequestBody$outboundSchema),
1597
+ });
1598
+ export function postV2ListsListEntriesQueryRequestToJSON(postV2ListsListEntriesQueryRequest) {
1599
+ return JSON.stringify(PostV2ListsListEntriesQueryRequest$outboundSchema.parse(postV2ListsListEntriesQueryRequest));
1600
+ }
1601
+ /** @internal */
1602
+ export const PostV2ListsListEntriesQueryId$inboundSchema = z.pipe(z.object({
1603
+ workspace_id: types.string(),
1604
+ list_id: types.string(),
1605
+ entry_id: types.string(),
1606
+ }), z.transform((v) => {
1607
+ return remap$(v, {
1608
+ "workspace_id": "workspaceId",
1609
+ "list_id": "listId",
1610
+ "entry_id": "entryId",
1611
+ });
1612
+ }));
1613
+ export function postV2ListsListEntriesQueryIdFromJSON(jsonString) {
1614
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryId' from JSON`);
1615
+ }
1616
+ /** @internal */
1617
+ export const PostV2ListsListEntriesQueryCreatedByActorType17$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType17);
1618
+ /** @internal */
1619
+ export const PostV2ListsListEntriesQueryCreatedByActor17$inboundSchema = z
1620
+ .object({
1621
+ id: z.optional(z.nullable(types.string())),
1622
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType17$inboundSchema)),
1623
+ });
1624
+ export function postV2ListsListEntriesQueryCreatedByActor17FromJSON(jsonString) {
1625
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor17$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor17' from JSON`);
1626
+ }
1627
+ /** @internal */
1628
+ export const PostV2ListsListEntriesQueryEntryValueTimestamp$inboundSchema = z
1629
+ .pipe(z.object({
1630
+ active_from: types.date(),
1631
+ active_until: types.nullable(types.date()),
1632
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor17$inboundSchema),
1633
+ attribute_type: types.literal("timestamp"),
1634
+ value: types.date(),
1635
+ }), z.transform((v) => {
1636
+ return remap$(v, {
1637
+ "active_from": "activeFrom",
1638
+ "active_until": "activeUntil",
1639
+ "created_by_actor": "createdByActor",
1640
+ "attribute_type": "attributeType",
1641
+ });
1642
+ }));
1643
+ export function postV2ListsListEntriesQueryEntryValueTimestampFromJSON(jsonString) {
1644
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValueTimestamp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValueTimestamp' from JSON`);
1645
+ }
1646
+ /** @internal */
1647
+ export const PostV2ListsListEntriesQueryCreatedByActorType16$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType16);
1648
+ /** @internal */
1649
+ export const PostV2ListsListEntriesQueryCreatedByActor16$inboundSchema = z
1650
+ .object({
1651
+ id: z.optional(z.nullable(types.string())),
1652
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType16$inboundSchema)),
1653
+ });
1654
+ export function postV2ListsListEntriesQueryCreatedByActor16FromJSON(jsonString) {
1655
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor16$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor16' from JSON`);
1656
+ }
1657
+ /** @internal */
1658
+ export const PostV2ListsListEntriesQueryEntryValueText$inboundSchema = z.pipe(z.object({
1659
+ active_from: types.date(),
1660
+ active_until: types.nullable(types.date()),
1661
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor16$inboundSchema),
1662
+ value: types.string(),
1663
+ attribute_type: types.literal("text"),
1664
+ }), z.transform((v) => {
1665
+ return remap$(v, {
1666
+ "active_from": "activeFrom",
1667
+ "active_until": "activeUntil",
1668
+ "created_by_actor": "createdByActor",
1669
+ "attribute_type": "attributeType",
1670
+ });
1671
+ }));
1672
+ export function postV2ListsListEntriesQueryEntryValueTextFromJSON(jsonString) {
1673
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValueText$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValueText' from JSON`);
1674
+ }
1675
+ /** @internal */
1676
+ export const PostV2ListsListEntriesQueryCreatedByActorType15$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType15);
1677
+ /** @internal */
1678
+ export const PostV2ListsListEntriesQueryCreatedByActor15$inboundSchema = z
1679
+ .object({
1680
+ id: z.optional(z.nullable(types.string())),
1681
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType15$inboundSchema)),
1682
+ });
1683
+ export function postV2ListsListEntriesQueryCreatedByActor15FromJSON(jsonString) {
1684
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor15$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor15' from JSON`);
1685
+ }
1686
+ /** @internal */
1687
+ export const PostV2ListsListEntriesQueryEntryValueSelect$inboundSchema = z.pipe(z.object({
1688
+ active_from: types.date(),
1689
+ active_until: types.nullable(types.date()),
1690
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor15$inboundSchema),
1691
+ option: models.SelectOption$inboundSchema,
1692
+ attribute_type: types.literal("select"),
1693
+ }), z.transform((v) => {
1694
+ return remap$(v, {
1695
+ "active_from": "activeFrom",
1696
+ "active_until": "activeUntil",
1697
+ "created_by_actor": "createdByActor",
1698
+ "attribute_type": "attributeType",
1699
+ });
1700
+ }));
1701
+ export function postV2ListsListEntriesQueryEntryValueSelectFromJSON(jsonString) {
1702
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValueSelect$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValueSelect' from JSON`);
1703
+ }
1704
+ /** @internal */
1705
+ export const PostV2ListsListEntriesQueryCreatedByActorType14$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType14);
1706
+ /** @internal */
1707
+ export const PostV2ListsListEntriesQueryCreatedByActor14$inboundSchema = z
1708
+ .object({
1709
+ id: z.optional(z.nullable(types.string())),
1710
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType14$inboundSchema)),
1711
+ });
1712
+ export function postV2ListsListEntriesQueryCreatedByActor14FromJSON(jsonString) {
1713
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor14$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor14' from JSON`);
1714
+ }
1715
+ /** @internal */
1716
+ export const PostV2ListsListEntriesQueryEntryValueRating$inboundSchema = z.pipe(z.object({
1717
+ active_from: types.date(),
1718
+ active_until: types.nullable(types.date()),
1719
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor14$inboundSchema),
1720
+ value: types.number(),
1721
+ attribute_type: types.literal("rating"),
1722
+ }), z.transform((v) => {
1723
+ return remap$(v, {
1724
+ "active_from": "activeFrom",
1725
+ "active_until": "activeUntil",
1726
+ "created_by_actor": "createdByActor",
1727
+ "attribute_type": "attributeType",
1728
+ });
1729
+ }));
1730
+ export function postV2ListsListEntriesQueryEntryValueRatingFromJSON(jsonString) {
1731
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValueRating$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValueRating' from JSON`);
1732
+ }
1733
+ /** @internal */
1734
+ export const PostV2ListsListEntriesQueryCreatedByActorType13$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType13);
1735
+ /** @internal */
1736
+ export const PostV2ListsListEntriesQueryCreatedByActor13$inboundSchema = z
1737
+ .object({
1738
+ id: z.optional(z.nullable(types.string())),
1739
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType13$inboundSchema)),
1740
+ });
1741
+ export function postV2ListsListEntriesQueryCreatedByActor13FromJSON(jsonString) {
1742
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor13$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor13' from JSON`);
1743
+ }
1744
+ /** @internal */
1745
+ export const PostV2ListsListEntriesQueryEntryValueStatus$inboundSchema = z.pipe(z.object({
1746
+ active_from: types.date(),
1747
+ active_until: types.nullable(types.date()),
1748
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor13$inboundSchema),
1749
+ status: models.Status$inboundSchema,
1750
+ attribute_type: types.literal("status"),
1751
+ }), z.transform((v) => {
1752
+ return remap$(v, {
1753
+ "active_from": "activeFrom",
1754
+ "active_until": "activeUntil",
1755
+ "created_by_actor": "createdByActor",
1756
+ "attribute_type": "attributeType",
1757
+ });
1758
+ }));
1759
+ export function postV2ListsListEntriesQueryEntryValueStatusFromJSON(jsonString) {
1760
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValueStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValueStatus' from JSON`);
1761
+ }
1762
+ /** @internal */
1763
+ export const PostV2ListsListEntriesQueryCreatedByActorType12$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType12);
1764
+ /** @internal */
1765
+ export const PostV2ListsListEntriesQueryCreatedByActor12$inboundSchema = z
1766
+ .object({
1767
+ id: z.optional(z.nullable(types.string())),
1768
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType12$inboundSchema)),
1769
+ });
1770
+ export function postV2ListsListEntriesQueryCreatedByActor12FromJSON(jsonString) {
1771
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor12$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor12' from JSON`);
1772
+ }
1773
+ /** @internal */
1774
+ export const PostV2ListsListEntriesQueryCountryCode2$inboundSchema = openEnums
1775
+ .inboundSchema(PostV2ListsListEntriesQueryCountryCode2);
1776
+ /** @internal */
1777
+ export const PostV2ListsListEntriesQueryEntryValuePhoneNumber$inboundSchema = z
1778
+ .pipe(z.object({
1779
+ active_from: types.date(),
1780
+ active_until: types.nullable(types.date()),
1781
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor12$inboundSchema),
1782
+ original_phone_number: types.string(),
1783
+ country_code: PostV2ListsListEntriesQueryCountryCode2$inboundSchema,
1784
+ phone_number: types.string(),
1785
+ attribute_type: types.literal("phone-number"),
1786
+ }), z.transform((v) => {
1787
+ return remap$(v, {
1788
+ "active_from": "activeFrom",
1789
+ "active_until": "activeUntil",
1790
+ "created_by_actor": "createdByActor",
1791
+ "original_phone_number": "originalPhoneNumber",
1792
+ "country_code": "countryCode",
1793
+ "phone_number": "phoneNumber",
1794
+ "attribute_type": "attributeType",
1795
+ });
1796
+ }));
1797
+ export function postV2ListsListEntriesQueryEntryValuePhoneNumberFromJSON(jsonString) {
1798
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValuePhoneNumber$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValuePhoneNumber' from JSON`);
1799
+ }
1800
+ /** @internal */
1801
+ export const PostV2ListsListEntriesQueryCreatedByActorType11$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType11);
1802
+ /** @internal */
1803
+ export const PostV2ListsListEntriesQueryCreatedByActor11$inboundSchema = z
1804
+ .object({
1805
+ id: z.optional(z.nullable(types.string())),
1806
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType11$inboundSchema)),
1807
+ });
1808
+ export function postV2ListsListEntriesQueryCreatedByActor11FromJSON(jsonString) {
1809
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor11$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor11' from JSON`);
1810
+ }
1811
+ /** @internal */
1812
+ export const PostV2ListsListEntriesQueryEntryValuePersonalName$inboundSchema = z
1813
+ .pipe(z.object({
1814
+ active_from: types.date(),
1815
+ active_until: types.nullable(types.date()),
1816
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor11$inboundSchema),
1817
+ first_name: types.string(),
1818
+ last_name: types.string(),
1819
+ full_name: types.string(),
1820
+ attribute_type: types.literal("personal-name"),
1821
+ }), z.transform((v) => {
1822
+ return remap$(v, {
1823
+ "active_from": "activeFrom",
1824
+ "active_until": "activeUntil",
1825
+ "created_by_actor": "createdByActor",
1826
+ "first_name": "firstName",
1827
+ "last_name": "lastName",
1828
+ "full_name": "fullName",
1829
+ "attribute_type": "attributeType",
1830
+ });
1831
+ }));
1832
+ export function postV2ListsListEntriesQueryEntryValuePersonalNameFromJSON(jsonString) {
1833
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValuePersonalName$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValuePersonalName' from JSON`);
1834
+ }
1835
+ /** @internal */
1836
+ export const PostV2ListsListEntriesQueryCreatedByActorType10$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType10);
1837
+ /** @internal */
1838
+ export const PostV2ListsListEntriesQueryCreatedByActor10$inboundSchema = z
1839
+ .object({
1840
+ id: z.optional(z.nullable(types.string())),
1841
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType10$inboundSchema)),
1842
+ });
1843
+ export function postV2ListsListEntriesQueryCreatedByActor10FromJSON(jsonString) {
1844
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor10$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor10' from JSON`);
1845
+ }
1846
+ /** @internal */
1847
+ export const PostV2ListsListEntriesQueryEntryValueNumber$inboundSchema = z.pipe(z.object({
1848
+ active_from: types.date(),
1849
+ active_until: types.nullable(types.date()),
1850
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor10$inboundSchema),
1851
+ value: types.number(),
1852
+ attribute_type: types.literal("number"),
1853
+ }), z.transform((v) => {
1854
+ return remap$(v, {
1855
+ "active_from": "activeFrom",
1856
+ "active_until": "activeUntil",
1857
+ "created_by_actor": "createdByActor",
1858
+ "attribute_type": "attributeType",
1859
+ });
1860
+ }));
1861
+ export function postV2ListsListEntriesQueryEntryValueNumberFromJSON(jsonString) {
1862
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValueNumber$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValueNumber' from JSON`);
1863
+ }
1864
+ /** @internal */
1865
+ export const PostV2ListsListEntriesQueryCreatedByActorType9$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType9);
1866
+ /** @internal */
1867
+ export const PostV2ListsListEntriesQueryCreatedByActor9$inboundSchema = z.object({
1868
+ id: z.optional(z.nullable(types.string())),
1869
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType9$inboundSchema)),
1870
+ });
1871
+ export function postV2ListsListEntriesQueryCreatedByActor9FromJSON(jsonString) {
1872
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor9$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor9' from JSON`);
1873
+ }
1874
+ /** @internal */
1875
+ export const PostV2ListsListEntriesQueryCountryCode1$inboundSchema = openEnums
1876
+ .inboundSchema(PostV2ListsListEntriesQueryCountryCode1);
1877
+ /** @internal */
1878
+ export const PostV2ListsListEntriesQueryEntryValueLocation$inboundSchema = z
1879
+ .pipe(z.object({
1880
+ active_from: types.date(),
1881
+ active_until: types.nullable(types.date()),
1882
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor9$inboundSchema),
1883
+ line_1: types.nullable(types.string()),
1884
+ line_2: types.nullable(types.string()),
1885
+ line_3: types.nullable(types.string()),
1886
+ line_4: types.nullable(types.string()),
1887
+ locality: types.nullable(types.string()),
1888
+ region: types.nullable(types.string()),
1889
+ postcode: types.nullable(types.string()),
1890
+ country_code: types.nullable(PostV2ListsListEntriesQueryCountryCode1$inboundSchema),
1891
+ latitude: types.nullable(types.string()),
1892
+ longitude: types.nullable(types.string()),
1893
+ attribute_type: types.literal("location"),
1894
+ }), z.transform((v) => {
1895
+ return remap$(v, {
1896
+ "active_from": "activeFrom",
1897
+ "active_until": "activeUntil",
1898
+ "created_by_actor": "createdByActor",
1899
+ "line_1": "line1",
1900
+ "line_2": "line2",
1901
+ "line_3": "line3",
1902
+ "line_4": "line4",
1903
+ "country_code": "countryCode",
1904
+ "attribute_type": "attributeType",
1905
+ });
1906
+ }));
1907
+ export function postV2ListsListEntriesQueryEntryValueLocationFromJSON(jsonString) {
1908
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValueLocation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValueLocation' from JSON`);
1909
+ }
1910
+ /** @internal */
1911
+ export const PostV2ListsListEntriesQueryCreatedByActorType8$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType8);
1912
+ /** @internal */
1913
+ export const PostV2ListsListEntriesQueryCreatedByActor8$inboundSchema = z.object({
1914
+ id: z.optional(z.nullable(types.string())),
1915
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType8$inboundSchema)),
1916
+ });
1917
+ export function postV2ListsListEntriesQueryCreatedByActor8FromJSON(jsonString) {
1918
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor8$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor8' from JSON`);
1919
+ }
1920
+ /** @internal */
1921
+ export const PostV2ListsListEntriesQueryInteractionType$inboundSchema = openEnums
1922
+ .inboundSchema(PostV2ListsListEntriesQueryInteractionType);
1923
+ /** @internal */
1924
+ export const PostV2ListsListEntriesQueryOwnerActorType$inboundSchema = openEnums
1925
+ .inboundSchema(PostV2ListsListEntriesQueryOwnerActorType);
1926
+ /** @internal */
1927
+ export const PostV2ListsListEntriesQueryOwnerActor$inboundSchema = z.object({
1928
+ id: z.optional(z.nullable(types.string())),
1929
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryOwnerActorType$inboundSchema)),
1930
+ });
1931
+ export function postV2ListsListEntriesQueryOwnerActorFromJSON(jsonString) {
1932
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryOwnerActor$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryOwnerActor' from JSON`);
1933
+ }
1934
+ /** @internal */
1935
+ export const PostV2ListsListEntriesQueryEntryValueInteraction$inboundSchema = z
1936
+ .pipe(z.object({
1937
+ active_from: types.date(),
1938
+ active_until: types.nullable(types.date()),
1939
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor8$inboundSchema),
1940
+ interaction_type: PostV2ListsListEntriesQueryInteractionType$inboundSchema,
1941
+ interacted_at: types.date(),
1942
+ owner_actor: z.lazy(() => PostV2ListsListEntriesQueryOwnerActor$inboundSchema),
1943
+ attribute_type: types.literal("interaction"),
1944
+ }), z.transform((v) => {
1945
+ return remap$(v, {
1946
+ "active_from": "activeFrom",
1947
+ "active_until": "activeUntil",
1948
+ "created_by_actor": "createdByActor",
1949
+ "interaction_type": "interactionType",
1950
+ "interacted_at": "interactedAt",
1951
+ "owner_actor": "ownerActor",
1952
+ "attribute_type": "attributeType",
1953
+ });
1954
+ }));
1955
+ export function postV2ListsListEntriesQueryEntryValueInteractionFromJSON(jsonString) {
1956
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValueInteraction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValueInteraction' from JSON`);
1957
+ }
1958
+ /** @internal */
1959
+ export const PostV2ListsListEntriesQueryCreatedByActorType7$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType7);
1960
+ /** @internal */
1961
+ export const PostV2ListsListEntriesQueryCreatedByActor7$inboundSchema = z.object({
1962
+ id: z.optional(z.nullable(types.string())),
1963
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType7$inboundSchema)),
1964
+ });
1965
+ export function postV2ListsListEntriesQueryCreatedByActor7FromJSON(jsonString) {
1966
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor7$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor7' from JSON`);
1967
+ }
1968
+ /** @internal */
1969
+ export const PostV2ListsListEntriesQueryEntryValueRecordReference$inboundSchema = z.pipe(z.object({
1970
+ active_from: types.date(),
1971
+ active_until: types.nullable(types.date()),
1972
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor7$inboundSchema),
1973
+ target_object: types.string(),
1974
+ target_record_id: types.string(),
1975
+ attribute_type: types.literal("record-reference"),
1976
+ }), z.transform((v) => {
1977
+ return remap$(v, {
1978
+ "active_from": "activeFrom",
1979
+ "active_until": "activeUntil",
1980
+ "created_by_actor": "createdByActor",
1981
+ "target_object": "targetObject",
1982
+ "target_record_id": "targetRecordId",
1983
+ "attribute_type": "attributeType",
1984
+ });
1985
+ }));
1986
+ export function postV2ListsListEntriesQueryEntryValueRecordReferenceFromJSON(jsonString) {
1987
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValueRecordReference$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValueRecordReference' from JSON`);
1988
+ }
1989
+ /** @internal */
1990
+ export const PostV2ListsListEntriesQueryCreatedByActorType6$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType6);
1991
+ /** @internal */
1992
+ export const PostV2ListsListEntriesQueryCreatedByActor6$inboundSchema = z.object({
1993
+ id: z.optional(z.nullable(types.string())),
1994
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType6$inboundSchema)),
1995
+ });
1996
+ export function postV2ListsListEntriesQueryCreatedByActor6FromJSON(jsonString) {
1997
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor6$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor6' from JSON`);
1998
+ }
1999
+ /** @internal */
2000
+ export const PostV2ListsListEntriesQueryEntryValueEmailAddress$inboundSchema = z
2001
+ .pipe(z.object({
2002
+ active_from: types.date(),
2003
+ active_until: types.nullable(types.date()),
2004
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor6$inboundSchema),
2005
+ original_email_address: types.string(),
2006
+ email_address: types.string(),
2007
+ email_domain: types.string(),
2008
+ email_root_domain: types.string(),
2009
+ email_local_specifier: types.string(),
2010
+ attribute_type: types.literal("email-address"),
2011
+ }), z.transform((v) => {
2012
+ return remap$(v, {
2013
+ "active_from": "activeFrom",
2014
+ "active_until": "activeUntil",
2015
+ "created_by_actor": "createdByActor",
2016
+ "original_email_address": "originalEmailAddress",
2017
+ "email_address": "emailAddress",
2018
+ "email_domain": "emailDomain",
2019
+ "email_root_domain": "emailRootDomain",
2020
+ "email_local_specifier": "emailLocalSpecifier",
2021
+ "attribute_type": "attributeType",
2022
+ });
2023
+ }));
2024
+ export function postV2ListsListEntriesQueryEntryValueEmailAddressFromJSON(jsonString) {
2025
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValueEmailAddress$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValueEmailAddress' from JSON`);
2026
+ }
2027
+ /** @internal */
2028
+ export const PostV2ListsListEntriesQueryCreatedByActorType5$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType5);
2029
+ /** @internal */
2030
+ export const PostV2ListsListEntriesQueryCreatedByActor5$inboundSchema = z.object({
2031
+ id: z.optional(z.nullable(types.string())),
2032
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType5$inboundSchema)),
2033
+ });
2034
+ export function postV2ListsListEntriesQueryCreatedByActor5FromJSON(jsonString) {
2035
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor5' from JSON`);
2036
+ }
2037
+ /** @internal */
2038
+ export const PostV2ListsListEntriesQueryEntryValueDomain$inboundSchema = z.pipe(z.object({
2039
+ active_from: types.date(),
2040
+ active_until: types.nullable(types.date()),
2041
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor5$inboundSchema),
2042
+ domain: types.string(),
2043
+ root_domain: types.string(),
2044
+ attribute_type: types.literal("domain"),
2045
+ }), z.transform((v) => {
2046
+ return remap$(v, {
2047
+ "active_from": "activeFrom",
2048
+ "active_until": "activeUntil",
2049
+ "created_by_actor": "createdByActor",
2050
+ "root_domain": "rootDomain",
2051
+ "attribute_type": "attributeType",
2052
+ });
2053
+ }));
2054
+ export function postV2ListsListEntriesQueryEntryValueDomainFromJSON(jsonString) {
2055
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValueDomain$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValueDomain' from JSON`);
2056
+ }
2057
+ /** @internal */
2058
+ export const PostV2ListsListEntriesQueryCreatedByActorType4$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType4);
2059
+ /** @internal */
2060
+ export const PostV2ListsListEntriesQueryCreatedByActor4$inboundSchema = z.object({
2061
+ id: z.optional(z.nullable(types.string())),
2062
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType4$inboundSchema)),
2063
+ });
2064
+ export function postV2ListsListEntriesQueryCreatedByActor4FromJSON(jsonString) {
2065
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor4' from JSON`);
2066
+ }
2067
+ /** @internal */
2068
+ export const PostV2ListsListEntriesQueryEntryValueDate$inboundSchema = z.pipe(z.object({
2069
+ active_from: types.date(),
2070
+ active_until: types.nullable(types.date()),
2071
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor4$inboundSchema),
2072
+ attribute_type: types.literal("date"),
2073
+ value: types.string(),
2074
+ }), z.transform((v) => {
2075
+ return remap$(v, {
2076
+ "active_from": "activeFrom",
2077
+ "active_until": "activeUntil",
2078
+ "created_by_actor": "createdByActor",
2079
+ "attribute_type": "attributeType",
2080
+ });
2081
+ }));
2082
+ export function postV2ListsListEntriesQueryEntryValueDateFromJSON(jsonString) {
2083
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValueDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValueDate' from JSON`);
2084
+ }
2085
+ /** @internal */
2086
+ export const PostV2ListsListEntriesQueryCreatedByActorType3$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType3);
2087
+ /** @internal */
2088
+ export const PostV2ListsListEntriesQueryCreatedByActor3$inboundSchema = z.object({
2089
+ id: z.optional(z.nullable(types.string())),
2090
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType3$inboundSchema)),
2091
+ });
2092
+ export function postV2ListsListEntriesQueryCreatedByActor3FromJSON(jsonString) {
2093
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor3' from JSON`);
2094
+ }
2095
+ /** @internal */
2096
+ export const PostV2ListsListEntriesQueryCurrencyCode$inboundSchema = openEnums
2097
+ .inboundSchema(PostV2ListsListEntriesQueryCurrencyCode);
2098
+ /** @internal */
2099
+ export const PostV2ListsListEntriesQueryEntryValueCurrency$inboundSchema = z
2100
+ .pipe(z.object({
2101
+ active_from: types.date(),
2102
+ active_until: types.nullable(types.date()),
2103
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor3$inboundSchema),
2104
+ currency_value: types.number(),
2105
+ currency_code: z.optional(z.nullable(PostV2ListsListEntriesQueryCurrencyCode$inboundSchema)),
2106
+ attribute_type: types.literal("currency"),
2107
+ }), z.transform((v) => {
2108
+ return remap$(v, {
2109
+ "active_from": "activeFrom",
2110
+ "active_until": "activeUntil",
2111
+ "created_by_actor": "createdByActor",
2112
+ "currency_value": "currencyValue",
2113
+ "currency_code": "currencyCode",
2114
+ "attribute_type": "attributeType",
2115
+ });
2116
+ }));
2117
+ export function postV2ListsListEntriesQueryEntryValueCurrencyFromJSON(jsonString) {
2118
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValueCurrency$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValueCurrency' from JSON`);
2119
+ }
2120
+ /** @internal */
2121
+ export const PostV2ListsListEntriesQueryCreatedByActorType2$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType2);
2122
+ /** @internal */
2123
+ export const PostV2ListsListEntriesQueryCreatedByActor2$inboundSchema = z.object({
2124
+ id: z.optional(z.nullable(types.string())),
2125
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType2$inboundSchema)),
2126
+ });
2127
+ export function postV2ListsListEntriesQueryCreatedByActor2FromJSON(jsonString) {
2128
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor2' from JSON`);
2129
+ }
2130
+ /** @internal */
2131
+ export const PostV2ListsListEntriesQueryEntryValueCheckbox$inboundSchema = z
2132
+ .pipe(z.object({
2133
+ active_from: types.date(),
2134
+ active_until: types.nullable(types.date()),
2135
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor2$inboundSchema),
2136
+ value: types.boolean(),
2137
+ attribute_type: types.literal("checkbox"),
2138
+ }), z.transform((v) => {
2139
+ return remap$(v, {
2140
+ "active_from": "activeFrom",
2141
+ "active_until": "activeUntil",
2142
+ "created_by_actor": "createdByActor",
2143
+ "attribute_type": "attributeType",
2144
+ });
2145
+ }));
2146
+ export function postV2ListsListEntriesQueryEntryValueCheckboxFromJSON(jsonString) {
2147
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValueCheckbox$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValueCheckbox' from JSON`);
2148
+ }
2149
+ /** @internal */
2150
+ export const PostV2ListsListEntriesQueryCreatedByActorType1$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryCreatedByActorType1);
2151
+ /** @internal */
2152
+ export const PostV2ListsListEntriesQueryCreatedByActor1$inboundSchema = z.object({
2153
+ id: z.optional(z.nullable(types.string())),
2154
+ type: z.optional(z.nullable(PostV2ListsListEntriesQueryCreatedByActorType1$inboundSchema)),
2155
+ });
2156
+ export function postV2ListsListEntriesQueryCreatedByActor1FromJSON(jsonString) {
2157
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryCreatedByActor1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryCreatedByActor1' from JSON`);
2158
+ }
2159
+ /** @internal */
2160
+ export const PostV2ListsListEntriesQueryReferencedActorType$inboundSchema = openEnums.inboundSchema(PostV2ListsListEntriesQueryReferencedActorType);
2161
+ /** @internal */
2162
+ export const PostV2ListsListEntriesQueryEntryValueActorReference$inboundSchema = z.pipe(z.object({
2163
+ active_from: types.date(),
2164
+ active_until: types.nullable(types.date()),
2165
+ created_by_actor: z.lazy(() => PostV2ListsListEntriesQueryCreatedByActor1$inboundSchema),
2166
+ referenced_actor_type: PostV2ListsListEntriesQueryReferencedActorType$inboundSchema,
2167
+ referenced_actor_id: types.nullable(types.string()),
2168
+ attribute_type: types.literal("actor-reference"),
2169
+ }), z.transform((v) => {
2170
+ return remap$(v, {
2171
+ "active_from": "activeFrom",
2172
+ "active_until": "activeUntil",
2173
+ "created_by_actor": "createdByActor",
2174
+ "referenced_actor_type": "referencedActorType",
2175
+ "referenced_actor_id": "referencedActorId",
2176
+ "attribute_type": "attributeType",
2177
+ });
2178
+ }));
2179
+ export function postV2ListsListEntriesQueryEntryValueActorReferenceFromJSON(jsonString) {
2180
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValueActorReference$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValueActorReference' from JSON`);
2181
+ }
2182
+ /** @internal */
2183
+ export const PostV2ListsListEntriesQueryEntryValueUnion$inboundSchema = discriminatedUnion("attribute_type", {
2184
+ ["actor-reference"]: z.lazy(() => PostV2ListsListEntriesQueryEntryValueActorReference$inboundSchema),
2185
+ checkbox: z.lazy(() => PostV2ListsListEntriesQueryEntryValueCheckbox$inboundSchema),
2186
+ currency: z.lazy(() => PostV2ListsListEntriesQueryEntryValueCurrency$inboundSchema),
2187
+ date: z.lazy(() => PostV2ListsListEntriesQueryEntryValueDate$inboundSchema),
2188
+ domain: z.lazy(() => PostV2ListsListEntriesQueryEntryValueDomain$inboundSchema),
2189
+ ["email-address"]: z.lazy(() => PostV2ListsListEntriesQueryEntryValueEmailAddress$inboundSchema),
2190
+ ["record-reference"]: z.lazy(() => PostV2ListsListEntriesQueryEntryValueRecordReference$inboundSchema),
2191
+ interaction: z.lazy(() => PostV2ListsListEntriesQueryEntryValueInteraction$inboundSchema),
2192
+ location: z.lazy(() => PostV2ListsListEntriesQueryEntryValueLocation$inboundSchema),
2193
+ number: z.lazy(() => PostV2ListsListEntriesQueryEntryValueNumber$inboundSchema),
2194
+ ["personal-name"]: z.lazy(() => PostV2ListsListEntriesQueryEntryValuePersonalName$inboundSchema),
2195
+ ["phone-number"]: z.lazy(() => PostV2ListsListEntriesQueryEntryValuePhoneNumber$inboundSchema),
2196
+ status: z.lazy(() => PostV2ListsListEntriesQueryEntryValueStatus$inboundSchema),
2197
+ rating: z.lazy(() => PostV2ListsListEntriesQueryEntryValueRating$inboundSchema),
2198
+ select: z.lazy(() => PostV2ListsListEntriesQueryEntryValueSelect$inboundSchema),
2199
+ text: z.lazy(() => PostV2ListsListEntriesQueryEntryValueText$inboundSchema),
2200
+ timestamp: z.lazy(() => PostV2ListsListEntriesQueryEntryValueTimestamp$inboundSchema),
2201
+ }, { outputPropertyName: "attributeType" });
2202
+ export function postV2ListsListEntriesQueryEntryValueUnionFromJSON(jsonString) {
2203
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryEntryValueUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryEntryValueUnion' from JSON`);
2204
+ }
2205
+ /** @internal */
2206
+ export const PostV2ListsListEntriesQueryData$inboundSchema = z.pipe(z.object({
2207
+ id: z.lazy(() => PostV2ListsListEntriesQueryId$inboundSchema),
2208
+ parent_record_id: types.string(),
2209
+ parent_object: types.string(),
2210
+ created_at: types.string(),
2211
+ entry_values: z.record(z.string(), z.array(discriminatedUnion("attribute_type", {
2212
+ ["actor-reference"]: z.lazy(() => PostV2ListsListEntriesQueryEntryValueActorReference$inboundSchema),
2213
+ checkbox: z.lazy(() => PostV2ListsListEntriesQueryEntryValueCheckbox$inboundSchema),
2214
+ currency: z.lazy(() => PostV2ListsListEntriesQueryEntryValueCurrency$inboundSchema),
2215
+ date: z.lazy(() => PostV2ListsListEntriesQueryEntryValueDate$inboundSchema),
2216
+ domain: z.lazy(() => PostV2ListsListEntriesQueryEntryValueDomain$inboundSchema),
2217
+ ["email-address"]: z.lazy(() => PostV2ListsListEntriesQueryEntryValueEmailAddress$inboundSchema),
2218
+ ["record-reference"]: z.lazy(() => PostV2ListsListEntriesQueryEntryValueRecordReference$inboundSchema),
2219
+ interaction: z.lazy(() => PostV2ListsListEntriesQueryEntryValueInteraction$inboundSchema),
2220
+ location: z.lazy(() => PostV2ListsListEntriesQueryEntryValueLocation$inboundSchema),
2221
+ number: z.lazy(() => PostV2ListsListEntriesQueryEntryValueNumber$inboundSchema),
2222
+ ["personal-name"]: z.lazy(() => PostV2ListsListEntriesQueryEntryValuePersonalName$inboundSchema),
2223
+ ["phone-number"]: z.lazy(() => PostV2ListsListEntriesQueryEntryValuePhoneNumber$inboundSchema),
2224
+ status: z.lazy(() => PostV2ListsListEntriesQueryEntryValueStatus$inboundSchema),
2225
+ rating: z.lazy(() => PostV2ListsListEntriesQueryEntryValueRating$inboundSchema),
2226
+ select: z.lazy(() => PostV2ListsListEntriesQueryEntryValueSelect$inboundSchema),
2227
+ text: z.lazy(() => PostV2ListsListEntriesQueryEntryValueText$inboundSchema),
2228
+ timestamp: z.lazy(() => PostV2ListsListEntriesQueryEntryValueTimestamp$inboundSchema),
2229
+ }, { outputPropertyName: "attributeType" }))),
2230
+ }), z.transform((v) => {
2231
+ return remap$(v, {
2232
+ "parent_record_id": "parentRecordId",
2233
+ "parent_object": "parentObject",
2234
+ "created_at": "createdAt",
2235
+ "entry_values": "entryValues",
2236
+ });
2237
+ }));
2238
+ export function postV2ListsListEntriesQueryDataFromJSON(jsonString) {
2239
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryData' from JSON`);
2240
+ }
2241
+ /** @internal */
2242
+ export const PostV2ListsListEntriesQueryResponse$inboundSchema = z.object({
2243
+ data: z.array(z.lazy(() => PostV2ListsListEntriesQueryData$inboundSchema)),
2244
+ });
2245
+ export function postV2ListsListEntriesQueryResponseFromJSON(jsonString) {
2246
+ return safeParse(jsonString, (x) => PostV2ListsListEntriesQueryResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostV2ListsListEntriesQueryResponse' from JSON`);
2247
+ }
2248
+ /** @internal */
2249
+ export const GetV2ListsListEntriesEntryIdRequest$outboundSchema = z.pipe(z.object({
2250
+ list: z.string(),
2251
+ entryId: z.string(),
2252
+ }), z.transform((v) => {
2253
+ return remap$(v, {
2254
+ entryId: "entry_id",
2255
+ });
2256
+ }));
2257
+ export function getV2ListsListEntriesEntryIdRequestToJSON(getV2ListsListEntriesEntryIdRequest) {
2258
+ return JSON.stringify(GetV2ListsListEntriesEntryIdRequest$outboundSchema.parse(getV2ListsListEntriesEntryIdRequest));
2259
+ }
2260
+ /** @internal */
2261
+ export const GetV2ListsListEntriesEntryIdId$inboundSchema = z.pipe(z.object({
2262
+ workspace_id: types.string(),
2263
+ list_id: types.string(),
2264
+ entry_id: types.string(),
2265
+ }), z.transform((v) => {
2266
+ return remap$(v, {
2267
+ "workspace_id": "workspaceId",
2268
+ "list_id": "listId",
2269
+ "entry_id": "entryId",
2270
+ });
2271
+ }));
2272
+ export function getV2ListsListEntriesEntryIdIdFromJSON(jsonString) {
2273
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdId' from JSON`);
2274
+ }
2275
+ /** @internal */
2276
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType17$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType17);
2277
+ /** @internal */
2278
+ export const GetV2ListsListEntriesEntryIdCreatedByActor17$inboundSchema = z
2279
+ .object({
2280
+ id: z.optional(z.nullable(types.string())),
2281
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType17$inboundSchema)),
2282
+ });
2283
+ export function getV2ListsListEntriesEntryIdCreatedByActor17FromJSON(jsonString) {
2284
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor17$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor17' from JSON`);
2285
+ }
2286
+ /** @internal */
2287
+ export const GetV2ListsListEntriesEntryIdEntryValueTimestamp$inboundSchema = z
2288
+ .pipe(z.object({
2289
+ active_from: types.date(),
2290
+ active_until: types.nullable(types.date()),
2291
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor17$inboundSchema),
2292
+ attribute_type: types.literal("timestamp"),
2293
+ value: types.date(),
2294
+ }), z.transform((v) => {
2295
+ return remap$(v, {
2296
+ "active_from": "activeFrom",
2297
+ "active_until": "activeUntil",
2298
+ "created_by_actor": "createdByActor",
2299
+ "attribute_type": "attributeType",
2300
+ });
2301
+ }));
2302
+ export function getV2ListsListEntriesEntryIdEntryValueTimestampFromJSON(jsonString) {
2303
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValueTimestamp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValueTimestamp' from JSON`);
2304
+ }
2305
+ /** @internal */
2306
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType16$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType16);
2307
+ /** @internal */
2308
+ export const GetV2ListsListEntriesEntryIdCreatedByActor16$inboundSchema = z
2309
+ .object({
2310
+ id: z.optional(z.nullable(types.string())),
2311
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType16$inboundSchema)),
2312
+ });
2313
+ export function getV2ListsListEntriesEntryIdCreatedByActor16FromJSON(jsonString) {
2314
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor16$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor16' from JSON`);
2315
+ }
2316
+ /** @internal */
2317
+ export const GetV2ListsListEntriesEntryIdEntryValueText$inboundSchema = z.pipe(z.object({
2318
+ active_from: types.date(),
2319
+ active_until: types.nullable(types.date()),
2320
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor16$inboundSchema),
2321
+ value: types.string(),
2322
+ attribute_type: types.literal("text"),
2323
+ }), z.transform((v) => {
2324
+ return remap$(v, {
2325
+ "active_from": "activeFrom",
2326
+ "active_until": "activeUntil",
2327
+ "created_by_actor": "createdByActor",
2328
+ "attribute_type": "attributeType",
2329
+ });
2330
+ }));
2331
+ export function getV2ListsListEntriesEntryIdEntryValueTextFromJSON(jsonString) {
2332
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValueText$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValueText' from JSON`);
2333
+ }
2334
+ /** @internal */
2335
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType15$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType15);
2336
+ /** @internal */
2337
+ export const GetV2ListsListEntriesEntryIdCreatedByActor15$inboundSchema = z
2338
+ .object({
2339
+ id: z.optional(z.nullable(types.string())),
2340
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType15$inboundSchema)),
2341
+ });
2342
+ export function getV2ListsListEntriesEntryIdCreatedByActor15FromJSON(jsonString) {
2343
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor15$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor15' from JSON`);
2344
+ }
2345
+ /** @internal */
2346
+ export const GetV2ListsListEntriesEntryIdEntryValueSelect$inboundSchema = z.pipe(z.object({
2347
+ active_from: types.date(),
2348
+ active_until: types.nullable(types.date()),
2349
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor15$inboundSchema),
2350
+ option: models.SelectOption$inboundSchema,
2351
+ attribute_type: types.literal("select"),
2352
+ }), z.transform((v) => {
2353
+ return remap$(v, {
2354
+ "active_from": "activeFrom",
2355
+ "active_until": "activeUntil",
2356
+ "created_by_actor": "createdByActor",
2357
+ "attribute_type": "attributeType",
2358
+ });
2359
+ }));
2360
+ export function getV2ListsListEntriesEntryIdEntryValueSelectFromJSON(jsonString) {
2361
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValueSelect$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValueSelect' from JSON`);
2362
+ }
2363
+ /** @internal */
2364
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType14$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType14);
2365
+ /** @internal */
2366
+ export const GetV2ListsListEntriesEntryIdCreatedByActor14$inboundSchema = z
2367
+ .object({
2368
+ id: z.optional(z.nullable(types.string())),
2369
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType14$inboundSchema)),
2370
+ });
2371
+ export function getV2ListsListEntriesEntryIdCreatedByActor14FromJSON(jsonString) {
2372
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor14$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor14' from JSON`);
2373
+ }
2374
+ /** @internal */
2375
+ export const GetV2ListsListEntriesEntryIdEntryValueRating$inboundSchema = z.pipe(z.object({
2376
+ active_from: types.date(),
2377
+ active_until: types.nullable(types.date()),
2378
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor14$inboundSchema),
2379
+ value: types.number(),
2380
+ attribute_type: types.literal("rating"),
2381
+ }), z.transform((v) => {
2382
+ return remap$(v, {
2383
+ "active_from": "activeFrom",
2384
+ "active_until": "activeUntil",
2385
+ "created_by_actor": "createdByActor",
2386
+ "attribute_type": "attributeType",
2387
+ });
2388
+ }));
2389
+ export function getV2ListsListEntriesEntryIdEntryValueRatingFromJSON(jsonString) {
2390
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValueRating$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValueRating' from JSON`);
2391
+ }
2392
+ /** @internal */
2393
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType13$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType13);
2394
+ /** @internal */
2395
+ export const GetV2ListsListEntriesEntryIdCreatedByActor13$inboundSchema = z
2396
+ .object({
2397
+ id: z.optional(z.nullable(types.string())),
2398
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType13$inboundSchema)),
2399
+ });
2400
+ export function getV2ListsListEntriesEntryIdCreatedByActor13FromJSON(jsonString) {
2401
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor13$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor13' from JSON`);
2402
+ }
2403
+ /** @internal */
2404
+ export const GetV2ListsListEntriesEntryIdEntryValueStatus$inboundSchema = z.pipe(z.object({
2405
+ active_from: types.date(),
2406
+ active_until: types.nullable(types.date()),
2407
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor13$inboundSchema),
2408
+ status: models.Status$inboundSchema,
2409
+ attribute_type: types.literal("status"),
2410
+ }), z.transform((v) => {
2411
+ return remap$(v, {
2412
+ "active_from": "activeFrom",
2413
+ "active_until": "activeUntil",
2414
+ "created_by_actor": "createdByActor",
2415
+ "attribute_type": "attributeType",
2416
+ });
2417
+ }));
2418
+ export function getV2ListsListEntriesEntryIdEntryValueStatusFromJSON(jsonString) {
2419
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValueStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValueStatus' from JSON`);
2420
+ }
2421
+ /** @internal */
2422
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType12$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType12);
2423
+ /** @internal */
2424
+ export const GetV2ListsListEntriesEntryIdCreatedByActor12$inboundSchema = z
2425
+ .object({
2426
+ id: z.optional(z.nullable(types.string())),
2427
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType12$inboundSchema)),
2428
+ });
2429
+ export function getV2ListsListEntriesEntryIdCreatedByActor12FromJSON(jsonString) {
2430
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor12$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor12' from JSON`);
2431
+ }
2432
+ /** @internal */
2433
+ export const GetV2ListsListEntriesEntryIdCountryCode2$inboundSchema = openEnums
2434
+ .inboundSchema(GetV2ListsListEntriesEntryIdCountryCode2);
2435
+ /** @internal */
2436
+ export const GetV2ListsListEntriesEntryIdEntryValuePhoneNumber$inboundSchema = z
2437
+ .pipe(z.object({
2438
+ active_from: types.date(),
2439
+ active_until: types.nullable(types.date()),
2440
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor12$inboundSchema),
2441
+ original_phone_number: types.string(),
2442
+ country_code: GetV2ListsListEntriesEntryIdCountryCode2$inboundSchema,
2443
+ phone_number: types.string(),
2444
+ attribute_type: types.literal("phone-number"),
2445
+ }), z.transform((v) => {
2446
+ return remap$(v, {
2447
+ "active_from": "activeFrom",
2448
+ "active_until": "activeUntil",
2449
+ "created_by_actor": "createdByActor",
2450
+ "original_phone_number": "originalPhoneNumber",
2451
+ "country_code": "countryCode",
2452
+ "phone_number": "phoneNumber",
2453
+ "attribute_type": "attributeType",
2454
+ });
2455
+ }));
2456
+ export function getV2ListsListEntriesEntryIdEntryValuePhoneNumberFromJSON(jsonString) {
2457
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValuePhoneNumber$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValuePhoneNumber' from JSON`);
2458
+ }
2459
+ /** @internal */
2460
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType11$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType11);
2461
+ /** @internal */
2462
+ export const GetV2ListsListEntriesEntryIdCreatedByActor11$inboundSchema = z
2463
+ .object({
2464
+ id: z.optional(z.nullable(types.string())),
2465
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType11$inboundSchema)),
2466
+ });
2467
+ export function getV2ListsListEntriesEntryIdCreatedByActor11FromJSON(jsonString) {
2468
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor11$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor11' from JSON`);
2469
+ }
2470
+ /** @internal */
2471
+ export const GetV2ListsListEntriesEntryIdEntryValuePersonalName$inboundSchema = z
2472
+ .pipe(z.object({
2473
+ active_from: types.date(),
2474
+ active_until: types.nullable(types.date()),
2475
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor11$inboundSchema),
2476
+ first_name: types.string(),
2477
+ last_name: types.string(),
2478
+ full_name: types.string(),
2479
+ attribute_type: types.literal("personal-name"),
2480
+ }), z.transform((v) => {
2481
+ return remap$(v, {
2482
+ "active_from": "activeFrom",
2483
+ "active_until": "activeUntil",
2484
+ "created_by_actor": "createdByActor",
2485
+ "first_name": "firstName",
2486
+ "last_name": "lastName",
2487
+ "full_name": "fullName",
2488
+ "attribute_type": "attributeType",
2489
+ });
2490
+ }));
2491
+ export function getV2ListsListEntriesEntryIdEntryValuePersonalNameFromJSON(jsonString) {
2492
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValuePersonalName$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValuePersonalName' from JSON`);
2493
+ }
2494
+ /** @internal */
2495
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType10$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType10);
2496
+ /** @internal */
2497
+ export const GetV2ListsListEntriesEntryIdCreatedByActor10$inboundSchema = z
2498
+ .object({
2499
+ id: z.optional(z.nullable(types.string())),
2500
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType10$inboundSchema)),
2501
+ });
2502
+ export function getV2ListsListEntriesEntryIdCreatedByActor10FromJSON(jsonString) {
2503
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor10$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor10' from JSON`);
2504
+ }
2505
+ /** @internal */
2506
+ export const GetV2ListsListEntriesEntryIdEntryValueNumber$inboundSchema = z.pipe(z.object({
2507
+ active_from: types.date(),
2508
+ active_until: types.nullable(types.date()),
2509
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor10$inboundSchema),
2510
+ value: types.number(),
2511
+ attribute_type: types.literal("number"),
2512
+ }), z.transform((v) => {
2513
+ return remap$(v, {
2514
+ "active_from": "activeFrom",
2515
+ "active_until": "activeUntil",
2516
+ "created_by_actor": "createdByActor",
2517
+ "attribute_type": "attributeType",
2518
+ });
2519
+ }));
2520
+ export function getV2ListsListEntriesEntryIdEntryValueNumberFromJSON(jsonString) {
2521
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValueNumber$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValueNumber' from JSON`);
2522
+ }
2523
+ /** @internal */
2524
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType9$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType9);
2525
+ /** @internal */
2526
+ export const GetV2ListsListEntriesEntryIdCreatedByActor9$inboundSchema = z
2527
+ .object({
2528
+ id: z.optional(z.nullable(types.string())),
2529
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType9$inboundSchema)),
2530
+ });
2531
+ export function getV2ListsListEntriesEntryIdCreatedByActor9FromJSON(jsonString) {
2532
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor9$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor9' from JSON`);
2533
+ }
2534
+ /** @internal */
2535
+ export const GetV2ListsListEntriesEntryIdCountryCode1$inboundSchema = openEnums
2536
+ .inboundSchema(GetV2ListsListEntriesEntryIdCountryCode1);
2537
+ /** @internal */
2538
+ export const GetV2ListsListEntriesEntryIdEntryValueLocation$inboundSchema = z
2539
+ .pipe(z.object({
2540
+ active_from: types.date(),
2541
+ active_until: types.nullable(types.date()),
2542
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor9$inboundSchema),
2543
+ line_1: types.nullable(types.string()),
2544
+ line_2: types.nullable(types.string()),
2545
+ line_3: types.nullable(types.string()),
2546
+ line_4: types.nullable(types.string()),
2547
+ locality: types.nullable(types.string()),
2548
+ region: types.nullable(types.string()),
2549
+ postcode: types.nullable(types.string()),
2550
+ country_code: types.nullable(GetV2ListsListEntriesEntryIdCountryCode1$inboundSchema),
2551
+ latitude: types.nullable(types.string()),
2552
+ longitude: types.nullable(types.string()),
2553
+ attribute_type: types.literal("location"),
2554
+ }), z.transform((v) => {
2555
+ return remap$(v, {
2556
+ "active_from": "activeFrom",
2557
+ "active_until": "activeUntil",
2558
+ "created_by_actor": "createdByActor",
2559
+ "line_1": "line1",
2560
+ "line_2": "line2",
2561
+ "line_3": "line3",
2562
+ "line_4": "line4",
2563
+ "country_code": "countryCode",
2564
+ "attribute_type": "attributeType",
2565
+ });
2566
+ }));
2567
+ export function getV2ListsListEntriesEntryIdEntryValueLocationFromJSON(jsonString) {
2568
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValueLocation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValueLocation' from JSON`);
2569
+ }
2570
+ /** @internal */
2571
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType8$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType8);
2572
+ /** @internal */
2573
+ export const GetV2ListsListEntriesEntryIdCreatedByActor8$inboundSchema = z
2574
+ .object({
2575
+ id: z.optional(z.nullable(types.string())),
2576
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType8$inboundSchema)),
2577
+ });
2578
+ export function getV2ListsListEntriesEntryIdCreatedByActor8FromJSON(jsonString) {
2579
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor8$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor8' from JSON`);
2580
+ }
2581
+ /** @internal */
2582
+ export const GetV2ListsListEntriesEntryIdInteractionType$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdInteractionType);
2583
+ /** @internal */
2584
+ export const GetV2ListsListEntriesEntryIdOwnerActorType$inboundSchema = openEnums
2585
+ .inboundSchema(GetV2ListsListEntriesEntryIdOwnerActorType);
2586
+ /** @internal */
2587
+ export const GetV2ListsListEntriesEntryIdOwnerActor$inboundSchema = z.object({
2588
+ id: z.optional(z.nullable(types.string())),
2589
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdOwnerActorType$inboundSchema)),
2590
+ });
2591
+ export function getV2ListsListEntriesEntryIdOwnerActorFromJSON(jsonString) {
2592
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdOwnerActor$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdOwnerActor' from JSON`);
2593
+ }
2594
+ /** @internal */
2595
+ export const GetV2ListsListEntriesEntryIdEntryValueInteraction$inboundSchema = z
2596
+ .pipe(z.object({
2597
+ active_from: types.date(),
2598
+ active_until: types.nullable(types.date()),
2599
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor8$inboundSchema),
2600
+ interaction_type: GetV2ListsListEntriesEntryIdInteractionType$inboundSchema,
2601
+ interacted_at: types.date(),
2602
+ owner_actor: z.lazy(() => GetV2ListsListEntriesEntryIdOwnerActor$inboundSchema),
2603
+ attribute_type: types.literal("interaction"),
2604
+ }), z.transform((v) => {
2605
+ return remap$(v, {
2606
+ "active_from": "activeFrom",
2607
+ "active_until": "activeUntil",
2608
+ "created_by_actor": "createdByActor",
2609
+ "interaction_type": "interactionType",
2610
+ "interacted_at": "interactedAt",
2611
+ "owner_actor": "ownerActor",
2612
+ "attribute_type": "attributeType",
2613
+ });
2614
+ }));
2615
+ export function getV2ListsListEntriesEntryIdEntryValueInteractionFromJSON(jsonString) {
2616
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValueInteraction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValueInteraction' from JSON`);
2617
+ }
2618
+ /** @internal */
2619
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType7$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType7);
2620
+ /** @internal */
2621
+ export const GetV2ListsListEntriesEntryIdCreatedByActor7$inboundSchema = z
2622
+ .object({
2623
+ id: z.optional(z.nullable(types.string())),
2624
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType7$inboundSchema)),
2625
+ });
2626
+ export function getV2ListsListEntriesEntryIdCreatedByActor7FromJSON(jsonString) {
2627
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor7$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor7' from JSON`);
2628
+ }
2629
+ /** @internal */
2630
+ export const GetV2ListsListEntriesEntryIdEntryValueRecordReference$inboundSchema = z.pipe(z.object({
2631
+ active_from: types.date(),
2632
+ active_until: types.nullable(types.date()),
2633
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor7$inboundSchema),
2634
+ target_object: types.string(),
2635
+ target_record_id: types.string(),
2636
+ attribute_type: types.literal("record-reference"),
2637
+ }), z.transform((v) => {
2638
+ return remap$(v, {
2639
+ "active_from": "activeFrom",
2640
+ "active_until": "activeUntil",
2641
+ "created_by_actor": "createdByActor",
2642
+ "target_object": "targetObject",
2643
+ "target_record_id": "targetRecordId",
2644
+ "attribute_type": "attributeType",
2645
+ });
2646
+ }));
2647
+ export function getV2ListsListEntriesEntryIdEntryValueRecordReferenceFromJSON(jsonString) {
2648
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValueRecordReference$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValueRecordReference' from JSON`);
2649
+ }
2650
+ /** @internal */
2651
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType6$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType6);
2652
+ /** @internal */
2653
+ export const GetV2ListsListEntriesEntryIdCreatedByActor6$inboundSchema = z
2654
+ .object({
2655
+ id: z.optional(z.nullable(types.string())),
2656
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType6$inboundSchema)),
2657
+ });
2658
+ export function getV2ListsListEntriesEntryIdCreatedByActor6FromJSON(jsonString) {
2659
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor6$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor6' from JSON`);
2660
+ }
2661
+ /** @internal */
2662
+ export const GetV2ListsListEntriesEntryIdEntryValueEmailAddress$inboundSchema = z
2663
+ .pipe(z.object({
2664
+ active_from: types.date(),
2665
+ active_until: types.nullable(types.date()),
2666
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor6$inboundSchema),
2667
+ original_email_address: types.string(),
2668
+ email_address: types.string(),
2669
+ email_domain: types.string(),
2670
+ email_root_domain: types.string(),
2671
+ email_local_specifier: types.string(),
2672
+ attribute_type: types.literal("email-address"),
2673
+ }), z.transform((v) => {
2674
+ return remap$(v, {
2675
+ "active_from": "activeFrom",
2676
+ "active_until": "activeUntil",
2677
+ "created_by_actor": "createdByActor",
2678
+ "original_email_address": "originalEmailAddress",
2679
+ "email_address": "emailAddress",
2680
+ "email_domain": "emailDomain",
2681
+ "email_root_domain": "emailRootDomain",
2682
+ "email_local_specifier": "emailLocalSpecifier",
2683
+ "attribute_type": "attributeType",
2684
+ });
2685
+ }));
2686
+ export function getV2ListsListEntriesEntryIdEntryValueEmailAddressFromJSON(jsonString) {
2687
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValueEmailAddress$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValueEmailAddress' from JSON`);
2688
+ }
2689
+ /** @internal */
2690
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType5$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType5);
2691
+ /** @internal */
2692
+ export const GetV2ListsListEntriesEntryIdCreatedByActor5$inboundSchema = z
2693
+ .object({
2694
+ id: z.optional(z.nullable(types.string())),
2695
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType5$inboundSchema)),
2696
+ });
2697
+ export function getV2ListsListEntriesEntryIdCreatedByActor5FromJSON(jsonString) {
2698
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor5' from JSON`);
2699
+ }
2700
+ /** @internal */
2701
+ export const GetV2ListsListEntriesEntryIdEntryValueDomain$inboundSchema = z.pipe(z.object({
2702
+ active_from: types.date(),
2703
+ active_until: types.nullable(types.date()),
2704
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor5$inboundSchema),
2705
+ domain: types.string(),
2706
+ root_domain: types.string(),
2707
+ attribute_type: types.literal("domain"),
2708
+ }), z.transform((v) => {
2709
+ return remap$(v, {
2710
+ "active_from": "activeFrom",
2711
+ "active_until": "activeUntil",
2712
+ "created_by_actor": "createdByActor",
2713
+ "root_domain": "rootDomain",
2714
+ "attribute_type": "attributeType",
2715
+ });
2716
+ }));
2717
+ export function getV2ListsListEntriesEntryIdEntryValueDomainFromJSON(jsonString) {
2718
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValueDomain$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValueDomain' from JSON`);
2719
+ }
2720
+ /** @internal */
2721
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType4$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType4);
2722
+ /** @internal */
2723
+ export const GetV2ListsListEntriesEntryIdCreatedByActor4$inboundSchema = z
2724
+ .object({
2725
+ id: z.optional(z.nullable(types.string())),
2726
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType4$inboundSchema)),
2727
+ });
2728
+ export function getV2ListsListEntriesEntryIdCreatedByActor4FromJSON(jsonString) {
2729
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor4' from JSON`);
2730
+ }
2731
+ /** @internal */
2732
+ export const GetV2ListsListEntriesEntryIdEntryValueDate$inboundSchema = z.pipe(z.object({
2733
+ active_from: types.date(),
2734
+ active_until: types.nullable(types.date()),
2735
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor4$inboundSchema),
2736
+ attribute_type: types.literal("date"),
2737
+ value: types.string(),
2738
+ }), z.transform((v) => {
2739
+ return remap$(v, {
2740
+ "active_from": "activeFrom",
2741
+ "active_until": "activeUntil",
2742
+ "created_by_actor": "createdByActor",
2743
+ "attribute_type": "attributeType",
2744
+ });
2745
+ }));
2746
+ export function getV2ListsListEntriesEntryIdEntryValueDateFromJSON(jsonString) {
2747
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValueDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValueDate' from JSON`);
2748
+ }
2749
+ /** @internal */
2750
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType3$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType3);
2751
+ /** @internal */
2752
+ export const GetV2ListsListEntriesEntryIdCreatedByActor3$inboundSchema = z
2753
+ .object({
2754
+ id: z.optional(z.nullable(types.string())),
2755
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType3$inboundSchema)),
2756
+ });
2757
+ export function getV2ListsListEntriesEntryIdCreatedByActor3FromJSON(jsonString) {
2758
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor3' from JSON`);
2759
+ }
2760
+ /** @internal */
2761
+ export const GetV2ListsListEntriesEntryIdCurrencyCode$inboundSchema = openEnums
2762
+ .inboundSchema(GetV2ListsListEntriesEntryIdCurrencyCode);
2763
+ /** @internal */
2764
+ export const GetV2ListsListEntriesEntryIdEntryValueCurrency$inboundSchema = z
2765
+ .pipe(z.object({
2766
+ active_from: types.date(),
2767
+ active_until: types.nullable(types.date()),
2768
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor3$inboundSchema),
2769
+ currency_value: types.number(),
2770
+ currency_code: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCurrencyCode$inboundSchema)),
2771
+ attribute_type: types.literal("currency"),
2772
+ }), z.transform((v) => {
2773
+ return remap$(v, {
2774
+ "active_from": "activeFrom",
2775
+ "active_until": "activeUntil",
2776
+ "created_by_actor": "createdByActor",
2777
+ "currency_value": "currencyValue",
2778
+ "currency_code": "currencyCode",
2779
+ "attribute_type": "attributeType",
2780
+ });
2781
+ }));
2782
+ export function getV2ListsListEntriesEntryIdEntryValueCurrencyFromJSON(jsonString) {
2783
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValueCurrency$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValueCurrency' from JSON`);
2784
+ }
2785
+ /** @internal */
2786
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType2$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType2);
2787
+ /** @internal */
2788
+ export const GetV2ListsListEntriesEntryIdCreatedByActor2$inboundSchema = z
2789
+ .object({
2790
+ id: z.optional(z.nullable(types.string())),
2791
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType2$inboundSchema)),
2792
+ });
2793
+ export function getV2ListsListEntriesEntryIdCreatedByActor2FromJSON(jsonString) {
2794
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor2' from JSON`);
2795
+ }
2796
+ /** @internal */
2797
+ export const GetV2ListsListEntriesEntryIdEntryValueCheckbox$inboundSchema = z
2798
+ .pipe(z.object({
2799
+ active_from: types.date(),
2800
+ active_until: types.nullable(types.date()),
2801
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor2$inboundSchema),
2802
+ value: types.boolean(),
2803
+ attribute_type: types.literal("checkbox"),
2804
+ }), z.transform((v) => {
2805
+ return remap$(v, {
2806
+ "active_from": "activeFrom",
2807
+ "active_until": "activeUntil",
2808
+ "created_by_actor": "createdByActor",
2809
+ "attribute_type": "attributeType",
2810
+ });
2811
+ }));
2812
+ export function getV2ListsListEntriesEntryIdEntryValueCheckboxFromJSON(jsonString) {
2813
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValueCheckbox$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValueCheckbox' from JSON`);
2814
+ }
2815
+ /** @internal */
2816
+ export const GetV2ListsListEntriesEntryIdCreatedByActorType1$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdCreatedByActorType1);
2817
+ /** @internal */
2818
+ export const GetV2ListsListEntriesEntryIdCreatedByActor1$inboundSchema = z
2819
+ .object({
2820
+ id: z.optional(z.nullable(types.string())),
2821
+ type: z.optional(z.nullable(GetV2ListsListEntriesEntryIdCreatedByActorType1$inboundSchema)),
2822
+ });
2823
+ export function getV2ListsListEntriesEntryIdCreatedByActor1FromJSON(jsonString) {
2824
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdCreatedByActor1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdCreatedByActor1' from JSON`);
2825
+ }
2826
+ /** @internal */
2827
+ export const GetV2ListsListEntriesEntryIdReferencedActorType$inboundSchema = openEnums.inboundSchema(GetV2ListsListEntriesEntryIdReferencedActorType);
2828
+ /** @internal */
2829
+ export const GetV2ListsListEntriesEntryIdEntryValueActorReference$inboundSchema = z.pipe(z.object({
2830
+ active_from: types.date(),
2831
+ active_until: types.nullable(types.date()),
2832
+ created_by_actor: z.lazy(() => GetV2ListsListEntriesEntryIdCreatedByActor1$inboundSchema),
2833
+ referenced_actor_type: GetV2ListsListEntriesEntryIdReferencedActorType$inboundSchema,
2834
+ referenced_actor_id: types.nullable(types.string()),
2835
+ attribute_type: types.literal("actor-reference"),
2836
+ }), z.transform((v) => {
2837
+ return remap$(v, {
2838
+ "active_from": "activeFrom",
2839
+ "active_until": "activeUntil",
2840
+ "created_by_actor": "createdByActor",
2841
+ "referenced_actor_type": "referencedActorType",
2842
+ "referenced_actor_id": "referencedActorId",
2843
+ "attribute_type": "attributeType",
2844
+ });
2845
+ }));
2846
+ export function getV2ListsListEntriesEntryIdEntryValueActorReferenceFromJSON(jsonString) {
2847
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValueActorReference$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValueActorReference' from JSON`);
2848
+ }
2849
+ /** @internal */
2850
+ export const GetV2ListsListEntriesEntryIdEntryValueUnion$inboundSchema = discriminatedUnion("attribute_type", {
2851
+ ["actor-reference"]: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueActorReference$inboundSchema),
2852
+ checkbox: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueCheckbox$inboundSchema),
2853
+ currency: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueCurrency$inboundSchema),
2854
+ date: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueDate$inboundSchema),
2855
+ domain: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueDomain$inboundSchema),
2856
+ ["email-address"]: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueEmailAddress$inboundSchema),
2857
+ ["record-reference"]: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueRecordReference$inboundSchema),
2858
+ interaction: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueInteraction$inboundSchema),
2859
+ location: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueLocation$inboundSchema),
2860
+ number: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueNumber$inboundSchema),
2861
+ ["personal-name"]: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValuePersonalName$inboundSchema),
2862
+ ["phone-number"]: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValuePhoneNumber$inboundSchema),
2863
+ status: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueStatus$inboundSchema),
2864
+ rating: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueRating$inboundSchema),
2865
+ select: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueSelect$inboundSchema),
2866
+ text: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueText$inboundSchema),
2867
+ timestamp: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueTimestamp$inboundSchema),
2868
+ }, { outputPropertyName: "attributeType" });
2869
+ export function getV2ListsListEntriesEntryIdEntryValueUnionFromJSON(jsonString) {
2870
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdEntryValueUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdEntryValueUnion' from JSON`);
2871
+ }
2872
+ /** @internal */
2873
+ export const GetV2ListsListEntriesEntryIdData$inboundSchema = z.pipe(z.object({
2874
+ id: z.lazy(() => GetV2ListsListEntriesEntryIdId$inboundSchema),
2875
+ parent_record_id: types.string(),
2876
+ parent_object: types.string(),
2877
+ created_at: types.string(),
2878
+ entry_values: z.record(z.string(), z.array(discriminatedUnion("attribute_type", {
2879
+ ["actor-reference"]: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueActorReference$inboundSchema),
2880
+ checkbox: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueCheckbox$inboundSchema),
2881
+ currency: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueCurrency$inboundSchema),
2882
+ date: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueDate$inboundSchema),
2883
+ domain: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueDomain$inboundSchema),
2884
+ ["email-address"]: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueEmailAddress$inboundSchema),
2885
+ ["record-reference"]: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueRecordReference$inboundSchema),
2886
+ interaction: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueInteraction$inboundSchema),
2887
+ location: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueLocation$inboundSchema),
2888
+ number: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueNumber$inboundSchema),
2889
+ ["personal-name"]: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValuePersonalName$inboundSchema),
2890
+ ["phone-number"]: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValuePhoneNumber$inboundSchema),
2891
+ status: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueStatus$inboundSchema),
2892
+ rating: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueRating$inboundSchema),
2893
+ select: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueSelect$inboundSchema),
2894
+ text: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueText$inboundSchema),
2895
+ timestamp: z.lazy(() => GetV2ListsListEntriesEntryIdEntryValueTimestamp$inboundSchema),
2896
+ }, { outputPropertyName: "attributeType" }))),
2897
+ }), z.transform((v) => {
2898
+ return remap$(v, {
2899
+ "parent_record_id": "parentRecordId",
2900
+ "parent_object": "parentObject",
2901
+ "created_at": "createdAt",
2902
+ "entry_values": "entryValues",
2903
+ });
2904
+ }));
2905
+ export function getV2ListsListEntriesEntryIdDataFromJSON(jsonString) {
2906
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdData' from JSON`);
2907
+ }
2908
+ /** @internal */
2909
+ export const GetV2ListsListEntriesEntryIdResponse$inboundSchema = z.object({
2910
+ data: z.lazy(() => GetV2ListsListEntriesEntryIdData$inboundSchema),
2911
+ });
2912
+ export function getV2ListsListEntriesEntryIdResponseFromJSON(jsonString) {
2913
+ return safeParse(jsonString, (x) => GetV2ListsListEntriesEntryIdResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetV2ListsListEntriesEntryIdResponse' from JSON`);
2914
+ }
2915
+ /** @internal */
2916
+ export const PatchV2ListsListEntriesEntryIdDataRequest$outboundSchema = z.pipe(z.object({
2917
+ entryValues: z.record(z.string(), z.array(z.any())),
2918
+ }), z.transform((v) => {
2919
+ return remap$(v, {
2920
+ entryValues: "entry_values",
2921
+ });
2922
+ }));
2923
+ export function patchV2ListsListEntriesEntryIdDataRequestToJSON(patchV2ListsListEntriesEntryIdDataRequest) {
2924
+ return JSON.stringify(PatchV2ListsListEntriesEntryIdDataRequest$outboundSchema.parse(patchV2ListsListEntriesEntryIdDataRequest));
2925
+ }
2926
+ /** @internal */
2927
+ export const PatchV2ListsListEntriesEntryIdRequestBody$outboundSchema = z.object({
2928
+ data: z.lazy(() => PatchV2ListsListEntriesEntryIdDataRequest$outboundSchema),
2929
+ });
2930
+ export function patchV2ListsListEntriesEntryIdRequestBodyToJSON(patchV2ListsListEntriesEntryIdRequestBody) {
2931
+ return JSON.stringify(PatchV2ListsListEntriesEntryIdRequestBody$outboundSchema.parse(patchV2ListsListEntriesEntryIdRequestBody));
2932
+ }
2933
+ /** @internal */
2934
+ export const PatchV2ListsListEntriesEntryIdRequest$outboundSchema = z.pipe(z.object({
2935
+ list: z.string(),
2936
+ entryId: z.string(),
2937
+ body: z.lazy(() => PatchV2ListsListEntriesEntryIdRequestBody$outboundSchema),
2938
+ }), z.transform((v) => {
2939
+ return remap$(v, {
2940
+ entryId: "entry_id",
2941
+ });
2942
+ }));
2943
+ export function patchV2ListsListEntriesEntryIdRequestToJSON(patchV2ListsListEntriesEntryIdRequest) {
2944
+ return JSON.stringify(PatchV2ListsListEntriesEntryIdRequest$outboundSchema.parse(patchV2ListsListEntriesEntryIdRequest));
2945
+ }
2946
+ /** @internal */
2947
+ export const PatchV2ListsListEntriesEntryIdBadRequestType$inboundSchema = z.enum(PatchV2ListsListEntriesEntryIdBadRequestType);
2948
+ /** @internal */
2949
+ export const PatchV2ListsListEntriesEntryIdCodeImmutableValue$inboundSchema = z
2950
+ .enum(PatchV2ListsListEntriesEntryIdCodeImmutableValue);
2951
+ /** @internal */
2952
+ export const PatchV2ListsListEntriesEntryIdId$inboundSchema = z.pipe(z.object({
2953
+ workspace_id: types.string(),
2954
+ list_id: types.string(),
2955
+ entry_id: types.string(),
2956
+ }), z.transform((v) => {
2957
+ return remap$(v, {
2958
+ "workspace_id": "workspaceId",
2959
+ "list_id": "listId",
2960
+ "entry_id": "entryId",
2961
+ });
2962
+ }));
2963
+ export function patchV2ListsListEntriesEntryIdIdFromJSON(jsonString) {
2964
+ return safeParse(jsonString, (x) => PatchV2ListsListEntriesEntryIdId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PatchV2ListsListEntriesEntryIdId' from JSON`);
2965
+ }
2966
+ /** @internal */
2967
+ export const PatchV2ListsListEntriesEntryIdCreatedByActorType17$inboundSchema = openEnums.inboundSchema(PatchV2ListsListEntriesEntryIdCreatedByActorType17);
2968
+ /** @internal */
2969
+ export const PatchV2ListsListEntriesEntryIdCreatedByActor17$inboundSchema = z
2970
+ .object({
2971
+ id: z.optional(z.nullable(types.string())),
2972
+ type: z.optional(z.nullable(PatchV2ListsListEntriesEntryIdCreatedByActorType17$inboundSchema)),
2973
+ });
2974
+ export function patchV2ListsListEntriesEntryIdCreatedByActor17FromJSON(jsonString) {
2975
+ return safeParse(jsonString, (x) => PatchV2ListsListEntriesEntryIdCreatedByActor17$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PatchV2ListsListEntriesEntryIdCreatedByActor17' from JSON`);
2976
+ }
2977
+ /** @internal */
2978
+ export const PatchV2ListsListEntriesEntryIdEntryValueTimestamp$inboundSchema = z
2979
+ .pipe(z.object({
2980
+ active_from: types.date(),
2981
+ active_until: types.nullable(types.date()),
2982
+ created_by_actor: z.lazy(() => PatchV2ListsListEntriesEntryIdCreatedByActor17$inboundSchema),
2983
+ attribute_type: types.literal("timestamp"),
2984
+ value: types.date(),
2985
+ }), z.transform((v) => {
2986
+ return remap$(v, {
2987
+ "active_from": "activeFrom",
2988
+ "active_until": "activeUntil",
2989
+ "created_by_actor": "createdByActor",
2990
+ "attribute_type": "attributeType",
2991
+ });
2992
+ }));
2993
+ export function patchV2ListsListEntriesEntryIdEntryValueTimestampFromJSON(jsonString) {
2994
+ return safeParse(jsonString, (x) => PatchV2ListsListEntriesEntryIdEntryValueTimestamp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PatchV2ListsListEntriesEntryIdEntryValueTimestamp' from JSON`);
2995
+ }
2996
+ /** @internal */
2997
+ export const PatchV2ListsListEntriesEntryIdCreatedByActorType16$inboundSchema = openEnums.inboundSchema(PatchV2ListsListEntriesEntryIdCreatedByActorType16);
2998
+ /** @internal */
2999
+ export const PatchV2ListsListEntriesEntryIdCreatedByActor16$inboundSchema = z
3000
+ .object({
3001
+ id: z.optional(z.nullable(types.string())),
3002
+ type: z.optional(z.nullable(PatchV2ListsListEntriesEntryIdCreatedByActorType16$inboundSchema)),
3003
+ });
3004
+ export function patchV2ListsListEntriesEntryIdCreatedByActor16FromJSON(jsonString) {
3005
+ return safeParse(jsonString, (x) => PatchV2ListsListEntriesEntryIdCreatedByActor16$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PatchV2ListsListEntriesEntryIdCreatedByActor16' from JSON`);
3006
+ }
3007
+ /** @internal */
3008
+ export const PatchV2ListsListEntriesEntryIdEntryValueText$inboundSchema = z.pipe(z.object({
3009
+ active_from: types.date(),
3010
+ active_until: types.nullable(types.date()),
3011
+ created_by_actor: z.lazy(() => PatchV2ListsListEntriesEntryIdCreatedByActor16$inboundSchema),
3012
+ value: types.string(),
3013
+ attribute_type: types.literal("text"),
3014
+ }), z.transform((v) => {
3015
+ return remap$(v, {
3016
+ "active_from": "activeFrom",
3017
+ "active_until": "activeUntil",
3018
+ "created_by_actor": "createdByActor",
3019
+ "attribute_type": "attributeType",
3020
+ });
3021
+ }));
3022
+ export function patchV2ListsListEntriesEntryIdEntryValueTextFromJSON(jsonString) {
3023
+ return safeParse(jsonString, (x) => PatchV2ListsListEntriesEntryIdEntryValueText$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PatchV2ListsListEntriesEntryIdEntryValueText' from JSON`);
3024
+ }
3025
+ /** @internal */
3026
+ export const PatchV2ListsListEntriesEntryIdCreatedByActorType15$inboundSchema = openEnums.inboundSchema(PatchV2ListsListEntriesEntryIdCreatedByActorType15);
3027
+ /** @internal */
3028
+ export const PatchV2ListsListEntriesEntryIdCreatedByActor15$inboundSchema = z
3029
+ .object({
3030
+ id: z.optional(z.nullable(types.string())),
3031
+ type: z.optional(z.nullable(PatchV2ListsListEntriesEntryIdCreatedByActorType15$inboundSchema)),
3032
+ });
3033
+ export function patchV2ListsListEntriesEntryIdCreatedByActor15FromJSON(jsonString) {
3034
+ return safeParse(jsonString, (x) => PatchV2ListsListEntriesEntryIdCreatedByActor15$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PatchV2ListsListEntriesEntryIdCreatedByActor15' from JSON`);
3035
+ }
3036
+ /** @internal */
3037
+ export const PatchV2ListsListEntriesEntryIdEntryValueSelect$inboundSchema = z
3038
+ .pipe(z.object({
3039
+ active_from: types.date(),
3040
+ active_until: types.nullable(types.date()),
3041
+ created_by_actor: z.lazy(() => PatchV2ListsListEntriesEntryIdCreatedByActor15$inboundSchema),
3042
+ option: models.SelectOption$inboundSchema,
3043
+ attribute_type: types.literal("select"),
3044
+ }), z.transform((v) => {
3045
+ return remap$(v, {
3046
+ "active_from": "activeFrom",
3047
+ "active_until": "activeUntil",
3048
+ "created_by_actor": "createdByActor",
3049
+ "attribute_type": "attributeType",
3050
+ });
3051
+ }));
3052
+ export function patchV2ListsListEntriesEntryIdEntryValueSelectFromJSON(jsonString) {
3053
+ return safeParse(jsonString, (x) => PatchV2ListsListEntriesEntryIdEntryValueSelect$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PatchV2ListsListEntriesEntryIdEntryValueSelect' from JSON`);
3054
+ }
3055
+ /** @internal */
3056
+ export const PatchV2ListsListEntriesEntryIdCreatedByActorType14$inboundSchema = openEnums.inboundSchema(PatchV2ListsListEntriesEntryIdCreatedByActorType14);
3057
+ /** @internal */
3058
+ export const PatchV2ListsListEntriesEntryIdCreatedByActor14$inboundSchema = z
3059
+ .object({
3060
+ id: z.optional(z.nullable(types.string())),
3061
+ type: z.optional(z.nullable(PatchV2ListsListEntriesEntryIdCreatedByActorType14$inboundSchema)),
3062
+ });
3063
+ export function patchV2ListsListEntriesEntryIdCreatedByActor14FromJSON(jsonString) {
3064
+ return safeParse(jsonString, (x) => PatchV2ListsListEntriesEntryIdCreatedByActor14$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PatchV2ListsListEntriesEntryIdCreatedByActor14' from JSON`);
3065
+ }
3066
+ /** @internal */
3067
+ export const PatchV2ListsListEntriesEntryIdEntryValueRating$inboundSchema = z
3068
+ .pipe(z.object({
3069
+ active_from: types.date(),
3070
+ active_until: types.nullable(types.date()),
3071
+ created_by_actor: z.lazy(() => PatchV2ListsListEntriesEntryIdCreatedByActor14$inboundSchema),
3072
+ value: types.number(),
3073
+ attribute_type: types.literal("rating"),
3074
+ }), z.transform((v) => {
3075
+ return remap$(v, {
3076
+ "active_from": "activeFrom",
3077
+ "active_until": "activeUntil",
3078
+ "created_by_actor": "createdByActor",
3079
+ "attribute_type": "attributeType",
3080
+ });
3081
+ }));
3082
+ export function patchV2ListsListEntriesEntryIdEntryValueRatingFromJSON(jsonString) {
3083
+ return safeParse(jsonString, (x) => PatchV2ListsListEntriesEntryIdEntryValueRating$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PatchV2ListsListEntriesEntryIdEntryValueRating' from JSON`);
3084
+ }
3085
+ //# sourceMappingURL=patch-v2-lists-list-entries-entry-id-entry-value-rating.js.map