lancer-shared 1.2.220 → 1.2.222

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 (367) hide show
  1. package/dist/bundle.cjs.js +8516 -8532
  2. package/dist/bundle.esm.js +23747 -0
  3. package/package.json +5 -8
  4. package/dist/constants/account-status.d.ts +0 -3
  5. package/dist/constants/account-status.js +0 -17
  6. package/dist/constants/campaign-notifications.d.ts +0 -2
  7. package/dist/constants/campaign-webhook-types.d.ts +0 -2
  8. package/dist/constants/collections.d.ts +0 -13
  9. package/dist/constants/collections.js +0 -16
  10. package/dist/constants/common-questions.d.ts +0 -5
  11. package/dist/constants/common-questions.js +0 -60
  12. package/dist/constants/index.d.ts +0 -9
  13. package/dist/constants/index.js +0 -40
  14. package/dist/constants/invoice.d.ts +0 -2
  15. package/dist/constants/job-filter-options.d.ts +0 -68
  16. package/dist/constants/job-filter-options.js +0 -268
  17. package/dist/constants/job-status.d.ts +0 -4
  18. package/dist/constants/job-status.js +0 -26
  19. package/dist/constants/mappings/countryMapping.d.ts +0 -2
  20. package/dist/constants/mappings/countryMapping.js +0 -122
  21. package/dist/constants/mappings/regionMapping.d.ts +0 -2
  22. package/dist/constants/mappings/regionMapping.js +0 -242
  23. package/dist/constants/organization.d.ts +0 -2
  24. package/dist/constants/plan.d.ts +0 -3
  25. package/dist/constants/proxies.d.ts +0 -4
  26. package/dist/constants/routes.d.ts +0 -257
  27. package/dist/constants/routes.js +0 -114
  28. package/dist/constants/upwork-accounts.d.ts +0 -4
  29. package/dist/constants/upwork-accounts.js +0 -21
  30. package/dist/constants/upwork-filters.d.ts +0 -5
  31. package/dist/constants/upwork-filters.js +0 -75
  32. package/dist/index.js +0 -20
  33. package/dist/schemas/account/account-status.d.ts +0 -3
  34. package/dist/schemas/account/account-status.js +0 -11
  35. package/dist/schemas/account/bidder-account.d.ts +0 -585
  36. package/dist/schemas/account/bidder-account.js +0 -37
  37. package/dist/schemas/account/exceptions/bidder-account-alreay-connected.exception.d.ts +0 -6
  38. package/dist/schemas/account/exceptions/index.d.ts +0 -4
  39. package/dist/schemas/account/exceptions/invalid-google-oauth-token.exception.d.ts +0 -5
  40. package/dist/schemas/account/exceptions/no-bidder-accounts-available.d.ts +0 -5
  41. package/dist/schemas/account/exceptions/no-bidder-accounts-available.exception.d.ts +0 -5
  42. package/dist/schemas/account/exceptions/no-google-oauth-tokens-found.exception.d.ts +0 -5
  43. package/dist/schemas/account/index.d.ts +0 -4
  44. package/dist/schemas/account/index.js +0 -19
  45. package/dist/schemas/account/manager-account.d.ts +0 -116
  46. package/dist/schemas/account/manager-account.js +0 -38
  47. package/dist/schemas/account/scraper-account.d.ts +0 -130
  48. package/dist/schemas/account/scraper-account.js +0 -37
  49. package/dist/schemas/agent/index.d.ts +0 -1128
  50. package/dist/schemas/agent/proposal.d.ts +0 -27
  51. package/dist/schemas/ai/ai-config.d.ts +0 -36
  52. package/dist/schemas/ai/ai-config.js +0 -12
  53. package/dist/schemas/ai/index.d.ts +0 -3
  54. package/dist/schemas/ai/index.js +0 -19
  55. package/dist/schemas/ai/proposal.d.ts +0 -82
  56. package/dist/schemas/ai/proposal.js +0 -16
  57. package/dist/schemas/ai/suitability.d.ts +0 -37
  58. package/dist/schemas/ai/suitability.js +0 -17
  59. package/dist/schemas/ai-config/ai-config.d.ts +0 -39
  60. package/dist/schemas/ai-config/ai-config.js +0 -12
  61. package/dist/schemas/ai-config/index.d.ts +0 -1
  62. package/dist/schemas/ai-config/index.js +0 -17
  63. package/dist/schemas/bid/bid-result.d.ts +0 -30
  64. package/dist/schemas/bid/bid-result.js +0 -15
  65. package/dist/schemas/bid/bid-status.d.ts +0 -30
  66. package/dist/schemas/bid/bid-status.js +0 -15
  67. package/dist/schemas/bid/bid.d.ts +0 -8010
  68. package/dist/schemas/bid/bid.js +0 -36
  69. package/dist/schemas/bid/exceptions/base-exception.d.ts +0 -4
  70. package/dist/schemas/bid/exceptions/cloudflare-challenge-failed.exception.d.ts +0 -5
  71. package/dist/schemas/bid/exceptions/delete-multilogin-profile.exception.d.ts +0 -5
  72. package/dist/schemas/bid/exceptions/dropdown-option-not-present.exception.d.ts +0 -5
  73. package/dist/schemas/bid/exceptions/element-not-clickable.exception.d.ts +0 -5
  74. package/dist/schemas/bid/exceptions/evalaute-element.exception.d.ts +0 -5
  75. package/dist/schemas/bid/exceptions/evaluate-function.exception.d.ts +0 -5
  76. package/dist/schemas/bid/exceptions/evalute-element.exception.d.ts +0 -5
  77. package/dist/schemas/bid/exceptions/get-multilogin-browser.exception.d.ts +0 -5
  78. package/dist/schemas/bid/exceptions/incorrect-security-question-answer.exception.d.ts +0 -5
  79. package/dist/schemas/bid/exceptions/index.d.ts +0 -63
  80. package/dist/schemas/bid/exceptions/init-browser.exception.d.ts +0 -5
  81. package/dist/schemas/bid/exceptions/insufficient-connects.exception.d.ts +0 -5
  82. package/dist/schemas/bid/exceptions/invalid-credentials.exception.d.ts +0 -5
  83. package/dist/schemas/bid/exceptions/invalid-job-url.exception.d.ts +0 -5
  84. package/dist/schemas/bid/exceptions/login-failed.exception.d.ts +0 -5
  85. package/dist/schemas/bid/exceptions/multilogin-authentication.exception.d.ts +0 -5
  86. package/dist/schemas/bid/exceptions/navigation-timeout.exception.d.ts +0 -5
  87. package/dist/schemas/bid/exceptions/new-browser-page.exception.d.ts +0 -5
  88. package/dist/schemas/bid/exceptions/new-page.exception.d.ts +0 -5
  89. package/dist/schemas/bid/exceptions/open-new-url.exception.d.ts +0 -15
  90. package/dist/schemas/bid/exceptions/parse-connects.exception.d.ts +0 -5
  91. package/dist/schemas/bid/exceptions/proposal-error-alert.exception.d.ts +0 -5
  92. package/dist/schemas/bid/exceptions/proposal-form-warning-alert.exception.d.ts +0 -5
  93. package/dist/schemas/bid/exceptions/proposal-generation-failed.exception.d.ts +0 -5
  94. package/dist/schemas/bid/exceptions/proposal-submit-failed.exception.d.ts +0 -5
  95. package/dist/schemas/bid/exceptions/pupeteer-conection-error.exception.d.ts +0 -5
  96. package/dist/schemas/bid/exceptions/question-pair-not-matching.exception.d.ts +0 -5
  97. package/dist/schemas/bid/exceptions/select-agency.exception.d.ts +0 -5
  98. package/dist/schemas/bid/exceptions/select-contractor.exception.d.ts +0 -5
  99. package/dist/schemas/bid/exceptions/selector-not-found.exception.d.ts +0 -5
  100. package/dist/schemas/bid/exceptions/typed-value-not-matching.exception.d.ts +0 -5
  101. package/dist/schemas/bid/exceptions/typing-input-field.exception.d.ts +0 -5
  102. package/dist/schemas/bid/exceptions/wait-for-function-timeout.d.ts +0 -5
  103. package/dist/schemas/bid/exceptions/wait-for-function-timeout.exception.d.ts +0 -5
  104. package/dist/schemas/bid/index.d.ts +0 -3
  105. package/dist/schemas/bid/index.js +0 -18
  106. package/dist/schemas/bidder/bid-result.d.ts +0 -30
  107. package/dist/schemas/bidder/bid.d.ts +0 -8982
  108. package/dist/schemas/bidder/exceptions/boost-above-max-connects.exception.d.ts +0 -5
  109. package/dist/schemas/bidder/exceptions/cloudflare-challenge-failed.exception.d.ts +0 -5
  110. package/dist/schemas/bidder/exceptions/delete-multilogin-profile.exception.d.ts +0 -5
  111. package/dist/schemas/bidder/exceptions/dropdown-option-not-present.exception.d.ts +0 -5
  112. package/dist/schemas/bidder/exceptions/element-not-clickable.exception.d.ts +0 -5
  113. package/dist/schemas/bidder/exceptions/evalaute-element.exception.d.ts +0 -5
  114. package/dist/schemas/bidder/exceptions/evaluate-function.exception.d.ts +0 -5
  115. package/dist/schemas/bidder/exceptions/get-multilogin-browser.exception.d.ts +0 -5
  116. package/dist/schemas/bidder/exceptions/incorrect-security-question-answer.exception.d.ts +0 -5
  117. package/dist/schemas/bidder/exceptions/index.d.ts +0 -73
  118. package/dist/schemas/bidder/exceptions/init-browser.exception.d.ts +0 -5
  119. package/dist/schemas/bidder/exceptions/insufficient-connects.exception.d.ts +0 -5
  120. package/dist/schemas/bidder/exceptions/invalid-credentials.exception.d.ts +0 -5
  121. package/dist/schemas/bidder/exceptions/invalid-job-url.exception.d.ts +0 -5
  122. package/dist/schemas/bidder/exceptions/job-already-bidded-on.exception.d.ts +0 -5
  123. package/dist/schemas/bidder/exceptions/job-already-processed-in-another-campaign.exception.d.ts +0 -5
  124. package/dist/schemas/bidder/exceptions/job-no-longer-available.exception.d.ts +0 -5
  125. package/dist/schemas/bidder/exceptions/login-failed.exception.d.ts +0 -5
  126. package/dist/schemas/bidder/exceptions/multilogin-authentication.exception.d.ts +0 -5
  127. package/dist/schemas/bidder/exceptions/navigation-timeout.exception.d.ts +0 -5
  128. package/dist/schemas/bidder/exceptions/new-browser-page.exception.d.ts +0 -5
  129. package/dist/schemas/bidder/exceptions/new-page.exception.d.ts +0 -5
  130. package/dist/schemas/bidder/exceptions/open-new-url.exception.d.ts +0 -15
  131. package/dist/schemas/bidder/exceptions/parse-connects.exception.d.ts +0 -5
  132. package/dist/schemas/bidder/exceptions/private-job.exception.d.ts +0 -5
  133. package/dist/schemas/bidder/exceptions/proposal-error-alert.exception.d.ts +0 -5
  134. package/dist/schemas/bidder/exceptions/proposal-form-warning-alert.exception.d.ts +0 -5
  135. package/dist/schemas/bidder/exceptions/proposal-generation-failed.exception.d.ts +0 -5
  136. package/dist/schemas/bidder/exceptions/proposal-submit-failed.exception.d.ts +0 -5
  137. package/dist/schemas/bidder/exceptions/pupeteer-conection-error.exception.d.ts +0 -5
  138. package/dist/schemas/bidder/exceptions/question-pair-not-matching.exception.d.ts +0 -5
  139. package/dist/schemas/bidder/exceptions/select-agency.exception.d.ts +0 -5
  140. package/dist/schemas/bidder/exceptions/select-contractor.exception.d.ts +0 -5
  141. package/dist/schemas/bidder/exceptions/selector-not-found.exception.d.ts +0 -5
  142. package/dist/schemas/bidder/exceptions/typed-value-not-matching.exception.d.ts +0 -5
  143. package/dist/schemas/bidder/exceptions/typing-input-field.exception.d.ts +0 -5
  144. package/dist/schemas/bidder/exceptions/wait-for-function-timeout.exception.d.ts +0 -5
  145. package/dist/schemas/bidder/index.d.ts +0 -4
  146. package/dist/schemas/bidder/sync-proposal-status.d.ts +0 -12
  147. package/dist/schemas/bidding/index.d.ts +0 -1
  148. package/dist/schemas/bidding/index.js +0 -17
  149. package/dist/schemas/bidding/proposal-bidding-status.d.ts +0 -26
  150. package/dist/schemas/bidding/proposal-bidding-status.js +0 -18
  151. package/dist/schemas/bidding/proposal-dto.d.ts +0 -26
  152. package/dist/schemas/bidding/proposal-dto.js +0 -18
  153. package/dist/schemas/campaign/campaign-ai-metrics.d.ts +0 -16
  154. package/dist/schemas/campaign/campaign-ai-metrics.js +0 -9
  155. package/dist/schemas/campaign/campaign-analytics.d.ts +0 -8432
  156. package/dist/schemas/campaign/campaign-analytics.js +0 -41
  157. package/dist/schemas/campaign/campaign-chat-bot.d.ts +0 -186
  158. package/dist/schemas/campaign/campaign-expenses.d.ts +0 -15
  159. package/dist/schemas/campaign/campaign-expenses.js +0 -9
  160. package/dist/schemas/campaign/campaign-insights.d.ts +0 -122
  161. package/dist/schemas/campaign/campaign-insights.js +0 -31
  162. package/dist/schemas/campaign/campaign-integrations.d.ts +0 -82
  163. package/dist/schemas/campaign/campaign-integrations.js +0 -16
  164. package/dist/schemas/campaign/campaign-job-count.d.ts +0 -2
  165. package/dist/schemas/campaign/campaign-job-count.js +0 -6
  166. package/dist/schemas/campaign/campaign-notifications.d.ts +0 -9
  167. package/dist/schemas/campaign/campaign-search.d.ts +0 -88
  168. package/dist/schemas/campaign/campaign-webhooks.d.ts +0 -0
  169. package/dist/schemas/campaign/campaign.d.ts +0 -1894
  170. package/dist/schemas/campaign/campaign.js +0 -44
  171. package/dist/schemas/campaign/index.d.ts +0 -8
  172. package/dist/schemas/campaign/index.js +0 -23
  173. package/dist/schemas/campaign/sequence/bid-node.d.ts +0 -6
  174. package/dist/schemas/campaign/sequence/boost-node.d.ts +0 -26
  175. package/dist/schemas/campaign/sequence/budget-node.d.ts +0 -294
  176. package/dist/schemas/campaign/sequence/client-size-node.d.ts +0 -45
  177. package/dist/schemas/campaign/sequence/client-size.d.ts +0 -45
  178. package/dist/schemas/campaign/sequence/client-spent-node.d.ts +0 -92
  179. package/dist/schemas/campaign/sequence/edges.d.ts +0 -24
  180. package/dist/schemas/campaign/sequence/fixed-budget-node.d.ts +0 -91
  181. package/dist/schemas/campaign/sequence/hire-rate-node.d.ts +0 -91
  182. package/dist/schemas/campaign/sequence/hire-rate.d.ts +0 -91
  183. package/dist/schemas/campaign/sequence/hourly-budget-node.d.ts +0 -91
  184. package/dist/schemas/campaign/sequence/hourly-rate-node.d.ts +0 -91
  185. package/dist/schemas/campaign/sequence/hourly-rate.d.ts +0 -91
  186. package/dist/schemas/campaign/sequence/index.d.ts +0 -10
  187. package/dist/schemas/campaign/sequence/node-types.d.ts +0 -3
  188. package/dist/schemas/campaign/sequence/payment-type-node.d.ts +0 -45
  189. package/dist/schemas/campaign/sequence/payment-type.d.ts +0 -45
  190. package/dist/schemas/campaign/sequence/rating-node.d.ts +0 -91
  191. package/dist/schemas/campaign/sequence/start-node.d.ts +0 -16
  192. package/dist/schemas/campaign/sequence/suitability-node.d.ts +0 -90
  193. package/dist/schemas/campaign/sequence/suitability.d.ts +0 -90
  194. package/dist/schemas/chat-message/chat-message.d.ts +0 -31
  195. package/dist/schemas/chat-message/chat-message.js +0 -13
  196. package/dist/schemas/chat-message/index.d.ts +0 -1
  197. package/dist/schemas/chat-message/index.js +0 -17
  198. package/dist/schemas/config/agency-config.d.ts +0 -17
  199. package/dist/schemas/config/agency-config.js +0 -10
  200. package/dist/schemas/config/index.d.ts +0 -1
  201. package/dist/schemas/config/index.js +0 -17
  202. package/dist/schemas/dashboard/index.d.ts +0 -372
  203. package/dist/schemas/index.d.ts +0 -24
  204. package/dist/schemas/index.js +0 -32
  205. package/dist/schemas/infrastructure/index.d.ts +0 -90
  206. package/dist/schemas/invoice/index.d.ts +0 -264
  207. package/dist/schemas/job/feed-job.d.ts +0 -866
  208. package/dist/schemas/job/index.d.ts +0 -977
  209. package/dist/schemas/job/index.js +0 -19
  210. package/dist/schemas/job/job-api.d.ts +0 -87
  211. package/dist/schemas/job/job-details.d.ts +0 -5741
  212. package/dist/schemas/job/job-details.js +0 -29
  213. package/dist/schemas/job/job-exceptions.d.ts +0 -10
  214. package/dist/schemas/job/job-filters.d.ts +0 -289
  215. package/dist/schemas/job/job-listing.d.ts +0 -866
  216. package/dist/schemas/job/job-note.d.ts +0 -83
  217. package/dist/schemas/job/job-note.js +0 -30
  218. package/dist/schemas/job/job-pipeline.d.ts +0 -74
  219. package/dist/schemas/job/job-pipeline.js +0 -29
  220. package/dist/schemas/job/job-status.d.ts +0 -3
  221. package/dist/schemas/job/job-status.js +0 -27
  222. package/dist/schemas/job/job-suitability.d.ts +0 -12
  223. package/dist/schemas/job/job-suitability.js +0 -13
  224. package/dist/schemas/job/job.d.ts +0 -1160
  225. package/dist/schemas/job/job.js +0 -90
  226. package/dist/schemas/job/nuxt.d.ts +0 -1667
  227. package/dist/schemas/job/pipeline-job.d.ts +0 -608
  228. package/dist/schemas/job/pipeline-job.js +0 -43
  229. package/dist/schemas/job/upwork-job.d.ts +0 -334
  230. package/dist/schemas/job/upwork-job.js +0 -60
  231. package/dist/schemas/job-filters/index.d.ts +0 -1
  232. package/dist/schemas/job-filters/index.js +0 -17
  233. package/dist/schemas/job-filters/job-filters.d.ts +0 -241
  234. package/dist/schemas/job-filters/job-filters.js +0 -87
  235. package/dist/schemas/knowledge-object/index.d.ts +0 -1
  236. package/dist/schemas/knowledge-object/index.js +0 -17
  237. package/dist/schemas/knowledge-object/knowledge-object.d.ts +0 -128
  238. package/dist/schemas/knowledge-object/knowledge-object.js +0 -47
  239. package/dist/schemas/lead/index.d.ts +0 -4080
  240. package/dist/schemas/lead/index.js +0 -19
  241. package/dist/schemas/lead/lead-note.d.ts +0 -83
  242. package/dist/schemas/lead/lead-note.js +0 -30
  243. package/dist/schemas/lead/lead-status.d.ts +0 -42
  244. package/dist/schemas/lead/lead-status.js +0 -26
  245. package/dist/schemas/lead/lead.d.ts +0 -1897
  246. package/dist/schemas/lead/lead.js +0 -143
  247. package/dist/schemas/lead/nuxt.d.ts +0 -1664
  248. package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +0 -93
  249. package/dist/schemas/logger/feed/feed-enrich.d.ts +0 -87
  250. package/dist/schemas/logger/feed/feed-job-enrich.d.ts +0 -1624
  251. package/dist/schemas/logger/feed/feed-scrape.d.ts +0 -72
  252. package/dist/schemas/logger/feed/index.d.ts +0 -4
  253. package/dist/schemas/logger/index.d.ts +0 -3
  254. package/dist/schemas/logger/index.js +0 -17
  255. package/dist/schemas/logger/log-event.d.ts +0 -457
  256. package/dist/schemas/logger/log-event.js +0 -66
  257. package/dist/schemas/logger/scraper-events.d.ts +0 -518
  258. package/dist/schemas/notifications/index.d.ts +0 -21
  259. package/dist/schemas/organization/billing.d.ts +0 -51
  260. package/dist/schemas/organization/cover-letter.d.ts +0 -37
  261. package/dist/schemas/organization/index.d.ts +0 -1064
  262. package/dist/schemas/organization/index.js +0 -17
  263. package/dist/schemas/organization/member.d.ts +0 -18
  264. package/dist/schemas/organization/onboarding.d.ts +0 -21
  265. package/dist/schemas/organization/organization.d.ts +0 -70
  266. package/dist/schemas/organization/organization.js +0 -19
  267. package/dist/schemas/organization/subscription.d.ts +0 -198
  268. package/dist/schemas/plan/index.d.ts +0 -166
  269. package/dist/schemas/proxy/index.d.ts +0 -3
  270. package/dist/schemas/proxy/index.js +0 -17
  271. package/dist/schemas/proxy/proxy-available-replacements.d.ts +0 -4
  272. package/dist/schemas/proxy/proxy-country.d.ts +0 -2
  273. package/dist/schemas/proxy/proxy.d.ts +0 -104
  274. package/dist/schemas/proxy/proxy.js +0 -23
  275. package/dist/schemas/saved-search/index.d.ts +0 -22
  276. package/dist/schemas/saved-search/index.js +0 -12
  277. package/dist/schemas/scraper/exceptions.d.ts +0 -33
  278. package/dist/schemas/scraper/index.d.ts +0 -4
  279. package/dist/schemas/scraper/index.js +0 -18
  280. package/dist/schemas/scraper/scrape-payload.d.ts +0 -2751
  281. package/dist/schemas/scraper/scrape-payload.js +0 -16
  282. package/dist/schemas/scraper/scrape-response.d.ts +0 -345
  283. package/dist/schemas/scraper/scrape-response.js +0 -9
  284. package/dist/schemas/scraper/scrape-result.d.ts +0 -813
  285. package/dist/schemas/scraper/scrape-result.js +0 -23
  286. package/dist/schemas/scraper/upwork-profile.d.ts +0 -101
  287. package/dist/schemas/shared.d.ts +0 -14
  288. package/dist/schemas/shared.js +0 -16
  289. package/dist/schemas/system/index.d.ts +0 -45
  290. package/dist/schemas/talent/index.d.ts +0 -2408
  291. package/dist/schemas/time-filter/index.d.ts +0 -3
  292. package/dist/schemas/time-filter/index.js +0 -9
  293. package/dist/schemas/transaction/index.d.ts +0 -102
  294. package/dist/schemas/upwork-account/index.d.ts +0 -3
  295. package/dist/schemas/upwork-account/index.js +0 -19
  296. package/dist/schemas/upwork-account/upwork-account-status.d.ts +0 -2
  297. package/dist/schemas/upwork-account/upwork-account-status.js +0 -11
  298. package/dist/schemas/upwork-account/upwork-business-manager-account.d.ts +0 -95
  299. package/dist/schemas/upwork-account/upwork-business-manager-account.js +0 -35
  300. package/dist/schemas/upwork-account/upwork-scraper-account.d.ts +0 -92
  301. package/dist/schemas/upwork-account/upwork-scraper-account.js +0 -31
  302. package/dist/schemas/upwork-account/upwork-scraping-account.d.ts +0 -90
  303. package/dist/schemas/upwork-account/upwork-scraping-account.js +0 -30
  304. package/dist/schemas/usage/index.d.ts +0 -77
  305. package/dist/schemas/usage-event/index.d.ts +0 -62
  306. package/dist/schemas/user/index.d.ts +0 -88
  307. package/dist/schemas/user/index.js +0 -55
  308. package/dist/types/account/account-status.js +0 -2
  309. package/dist/types/account/bidder-account.js +0 -2
  310. package/dist/types/account/index.js +0 -19
  311. package/dist/types/account/manager-account.js +0 -2
  312. package/dist/types/account/scraper-account.js +0 -2
  313. package/dist/types/ai/ai-config.js +0 -2
  314. package/dist/types/ai/index.js +0 -19
  315. package/dist/types/ai/proposal.js +0 -2
  316. package/dist/types/ai/suitability.js +0 -2
  317. package/dist/types/ai-config/ai-config.js +0 -2
  318. package/dist/types/ai-config/index.js +0 -17
  319. package/dist/types/bid/bid-result.js +0 -2
  320. package/dist/types/bid/bid-status.js +0 -2
  321. package/dist/types/bid/bid.js +0 -2
  322. package/dist/types/bid/index.js +0 -18
  323. package/dist/types/bidding/index.js +0 -17
  324. package/dist/types/bidding/proposal-bidding-status.js +0 -2
  325. package/dist/types/bidding/proposal-dto.js +0 -2
  326. package/dist/types/campaign/campaign-analytics.js +0 -2
  327. package/dist/types/campaign/campaign-expenses.js +0 -2
  328. package/dist/types/campaign/campaign-insights.js +0 -2
  329. package/dist/types/campaign/campaign-integrations.js +0 -2
  330. package/dist/types/campaign/campaign-job-count.js +0 -2
  331. package/dist/types/campaign/campaign.js +0 -2
  332. package/dist/types/campaign/index.js +0 -22
  333. package/dist/types/chat-message/chat-message.js +0 -2
  334. package/dist/types/chat-message/index.js +0 -17
  335. package/dist/types/config/agency-config.js +0 -2
  336. package/dist/types/config/index.js +0 -17
  337. package/dist/types/index.js +0 -29
  338. package/dist/types/job/index.js +0 -19
  339. package/dist/types/job/job-details.js +0 -2
  340. package/dist/types/job/job-note.js +0 -2
  341. package/dist/types/job/job-pipeline.js +0 -2
  342. package/dist/types/job/job-status.js +0 -12
  343. package/dist/types/job/job-suitability.js +0 -2
  344. package/dist/types/job/job.js +0 -2
  345. package/dist/types/job-filters/index.js +0 -17
  346. package/dist/types/job-filters/job-filters.js +0 -2
  347. package/dist/types/knowledge-object/index.js +0 -17
  348. package/dist/types/knowledge-object/knowledge-object.js +0 -2
  349. package/dist/types/logger/index.js +0 -17
  350. package/dist/types/logger/log-event.js +0 -2
  351. package/dist/types/saved-search/index.js +0 -2
  352. package/dist/types/scraper/index.js +0 -18
  353. package/dist/types/scraper/scrape-payload.js +0 -2
  354. package/dist/types/scraper/scrape-response.js +0 -2
  355. package/dist/types/scraper/scrape-result.js +0 -2
  356. package/dist/types/time-filter/index.js +0 -2
  357. package/dist/types/upwork-account/index.js +0 -19
  358. package/dist/types/upwork-account/upwork-account-status.js +0 -2
  359. package/dist/types/upwork-account/upwork-business-manager-account.js +0 -2
  360. package/dist/types/upwork-account/upwork-scraping-account.js +0 -2
  361. package/dist/types/user/index.js +0 -2
  362. package/dist/utils/index.d.ts +0 -3
  363. package/dist/utils/index.js +0 -17
  364. package/dist/utils/shared.d.ts +0 -7
  365. package/dist/utils/timezones.d.ts +0 -6
  366. package/dist/utils/try-catch.d.ts +0 -10
  367. package/dist/utils/try-catch.js +0 -25
@@ -1,518 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const scrapeJobsCompletedEventMetadata: z.ZodObject<{
3
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
4
- feedScraperAccountId: z.ZodString;
5
- feedScraperAccountEmail: z.ZodString;
6
- uniqueJobsFound: z.ZodNumber;
7
- duration: z.ZodString;
8
- successfulEnrichJobCount: z.ZodNumber;
9
- failedEnrichJobCount: z.ZodNumber;
10
- }, "strip", z.ZodTypeAny, {
11
- region: "USOnly" | "UKOnly" | "Worldwide";
12
- feedScraperAccountId: string;
13
- feedScraperAccountEmail: string;
14
- uniqueJobsFound: number;
15
- duration: string;
16
- successfulEnrichJobCount: number;
17
- failedEnrichJobCount: number;
18
- }, {
19
- region: "USOnly" | "UKOnly" | "Worldwide";
20
- feedScraperAccountId: string;
21
- feedScraperAccountEmail: string;
22
- uniqueJobsFound: number;
23
- duration: string;
24
- successfulEnrichJobCount: number;
25
- failedEnrichJobCount: number;
26
- }>;
27
- export declare const jobActivityScrapedEventMetadata: z.ZodObject<{
28
- activity: z.ZodObject<{
29
- proposals: z.ZodObject<{
30
- min: z.ZodNullable<z.ZodNumber>;
31
- max: z.ZodNullable<z.ZodNumber>;
32
- }, "strip", z.ZodTypeAny, {
33
- min: number | null;
34
- max: number | null;
35
- }, {
36
- min: number | null;
37
- max: number | null;
38
- }>;
39
- lastViewedByClient: z.ZodNullable<z.ZodString>;
40
- lastViewedByClientTimestamp: z.ZodNullable<z.ZodNumber>;
41
- hires: z.ZodNullable<z.ZodNumber>;
42
- interviewing: z.ZodNullable<z.ZodNumber>;
43
- invitesSent: z.ZodNullable<z.ZodNumber>;
44
- unansweredInvites: z.ZodNullable<z.ZodNumber>;
45
- updatedAt: z.ZodNullable<z.ZodNumber>;
46
- }, "strip", z.ZodTypeAny, {
47
- proposals: {
48
- min: number | null;
49
- max: number | null;
50
- };
51
- lastViewedByClient: string | null;
52
- lastViewedByClientTimestamp: number | null;
53
- hires: number | null;
54
- interviewing: number | null;
55
- invitesSent: number | null;
56
- unansweredInvites: number | null;
57
- updatedAt: number | null;
58
- }, {
59
- proposals: {
60
- min: number | null;
61
- max: number | null;
62
- };
63
- lastViewedByClient: string | null;
64
- lastViewedByClientTimestamp: number | null;
65
- hires: number | null;
66
- interviewing: number | null;
67
- invitesSent: number | null;
68
- unansweredInvites: number | null;
69
- updatedAt: number | null;
70
- }>;
71
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
72
- offsetHour: z.ZodType<4 | 24, z.ZodTypeDef, 4 | 24>;
73
- scrapedAt: z.ZodNumber;
74
- }, "strip", z.ZodTypeAny, {
75
- region: "USOnly" | "UKOnly" | "Worldwide";
76
- activity: {
77
- proposals: {
78
- min: number | null;
79
- max: number | null;
80
- };
81
- lastViewedByClient: string | null;
82
- lastViewedByClientTimestamp: number | null;
83
- hires: number | null;
84
- interviewing: number | null;
85
- invitesSent: number | null;
86
- unansweredInvites: number | null;
87
- updatedAt: number | null;
88
- };
89
- offsetHour: 4 | 24;
90
- scrapedAt: number;
91
- }, {
92
- region: "USOnly" | "UKOnly" | "Worldwide";
93
- activity: {
94
- proposals: {
95
- min: number | null;
96
- max: number | null;
97
- };
98
- lastViewedByClient: string | null;
99
- lastViewedByClientTimestamp: number | null;
100
- hires: number | null;
101
- interviewing: number | null;
102
- invitesSent: number | null;
103
- unansweredInvites: number | null;
104
- updatedAt: number | null;
105
- };
106
- offsetHour: 4 | 24;
107
- scrapedAt: number;
108
- }>;
109
- export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
110
- listing: z.ZodObject<{
111
- uid: z.ZodString;
112
- ciphertext: z.ZodString;
113
- title: z.ZodString;
114
- category: z.ZodOptional<z.ZodString>;
115
- jobUrl: z.ZodOptional<z.ZodString>;
116
- description: z.ZodString;
117
- createdOn: z.ZodString;
118
- publishedOn: z.ZodString;
119
- renewedOn: z.ZodNullable<z.ZodString>;
120
- type: z.ZodNumber;
121
- durationLabel: z.ZodNullable<z.ZodString>;
122
- engagement: z.ZodNullable<z.ZodString>;
123
- amount: z.ZodObject<{
124
- amount: z.ZodNumber;
125
- }, "strip", z.ZodTypeAny, {
126
- amount: number;
127
- }, {
128
- amount: number;
129
- }>;
130
- connectPrice: z.ZodNullable<z.ZodNumber>;
131
- client: z.ZodObject<{
132
- location: z.ZodObject<{
133
- country: z.ZodNullable<z.ZodString>;
134
- }, "strip", z.ZodTypeAny, {
135
- country: string | null;
136
- }, {
137
- country: string | null;
138
- }>;
139
- isPaymentVerified: z.ZodBoolean;
140
- totalSpent: z.ZodNullable<z.ZodString>;
141
- totalReviews: z.ZodNumber;
142
- totalFeedback: z.ZodNumber;
143
- hasFinancialPrivacy: z.ZodBoolean;
144
- }, "strip", z.ZodTypeAny, {
145
- location: {
146
- country: string | null;
147
- };
148
- isPaymentVerified: boolean;
149
- totalSpent: string | null;
150
- totalReviews: number;
151
- totalFeedback: number;
152
- hasFinancialPrivacy: boolean;
153
- }, {
154
- location: {
155
- country: string | null;
156
- };
157
- isPaymentVerified: boolean;
158
- totalSpent: string | null;
159
- totalReviews: number;
160
- totalFeedback: number;
161
- hasFinancialPrivacy: boolean;
162
- }>;
163
- clientRelation: z.ZodNullable<z.ZodAny>;
164
- freelancersToHire: z.ZodNumber;
165
- relevanceEncoded: z.ZodString;
166
- enterpriseJob: z.ZodBoolean;
167
- tierText: z.ZodNullable<z.ZodString>;
168
- isApplied: z.ZodBoolean;
169
- proposalsTier: z.ZodNullable<z.ZodString>;
170
- premium: z.ZodBoolean;
171
- attrs: z.ZodArray<z.ZodObject<{
172
- uid: z.ZodString;
173
- parentSkillUid: z.ZodNullable<z.ZodString>;
174
- prefLabel: z.ZodString;
175
- prettyName: z.ZodString;
176
- freeText: z.ZodNullable<z.ZodAny>;
177
- highlighted: z.ZodBoolean;
178
- }, "strip", z.ZodTypeAny, {
179
- uid: string;
180
- parentSkillUid: string | null;
181
- prefLabel: string;
182
- prettyName: string;
183
- highlighted: boolean;
184
- freeText?: any;
185
- }, {
186
- uid: string;
187
- parentSkillUid: string | null;
188
- prefLabel: string;
189
- prettyName: string;
190
- highlighted: boolean;
191
- freeText?: any;
192
- }>, "many">;
193
- hourlyBudget: z.ZodObject<{
194
- min: z.ZodNumber;
195
- max: z.ZodNumber;
196
- }, "strip", z.ZodTypeAny, {
197
- min: number;
198
- max: number;
199
- }, {
200
- min: number;
201
- max: number;
202
- }>;
203
- weeklyBudget: z.ZodObject<{
204
- amount: z.ZodNumber;
205
- }, "strip", z.ZodTypeAny, {
206
- amount: number;
207
- }, {
208
- amount: number;
209
- }>;
210
- isSTSVectorSearchResult: z.ZodBoolean;
211
- }, "strip", z.ZodTypeAny, {
212
- type: number;
213
- uid: string;
214
- ciphertext: string;
215
- title: string;
216
- description: string;
217
- createdOn: string;
218
- publishedOn: string;
219
- renewedOn: string | null;
220
- durationLabel: string | null;
221
- engagement: string | null;
222
- amount: {
223
- amount: number;
224
- };
225
- connectPrice: number | null;
226
- client: {
227
- location: {
228
- country: string | null;
229
- };
230
- isPaymentVerified: boolean;
231
- totalSpent: string | null;
232
- totalReviews: number;
233
- totalFeedback: number;
234
- hasFinancialPrivacy: boolean;
235
- };
236
- freelancersToHire: number;
237
- relevanceEncoded: string;
238
- enterpriseJob: boolean;
239
- tierText: string | null;
240
- isApplied: boolean;
241
- proposalsTier: string | null;
242
- premium: boolean;
243
- attrs: {
244
- uid: string;
245
- parentSkillUid: string | null;
246
- prefLabel: string;
247
- prettyName: string;
248
- highlighted: boolean;
249
- freeText?: any;
250
- }[];
251
- hourlyBudget: {
252
- min: number;
253
- max: number;
254
- };
255
- weeklyBudget: {
256
- amount: number;
257
- };
258
- isSTSVectorSearchResult: boolean;
259
- category?: string | undefined;
260
- jobUrl?: string | undefined;
261
- clientRelation?: any;
262
- }, {
263
- type: number;
264
- uid: string;
265
- ciphertext: string;
266
- title: string;
267
- description: string;
268
- createdOn: string;
269
- publishedOn: string;
270
- renewedOn: string | null;
271
- durationLabel: string | null;
272
- engagement: string | null;
273
- amount: {
274
- amount: number;
275
- };
276
- connectPrice: number | null;
277
- client: {
278
- location: {
279
- country: string | null;
280
- };
281
- isPaymentVerified: boolean;
282
- totalSpent: string | null;
283
- totalReviews: number;
284
- totalFeedback: number;
285
- hasFinancialPrivacy: boolean;
286
- };
287
- freelancersToHire: number;
288
- relevanceEncoded: string;
289
- enterpriseJob: boolean;
290
- tierText: string | null;
291
- isApplied: boolean;
292
- proposalsTier: string | null;
293
- premium: boolean;
294
- attrs: {
295
- uid: string;
296
- parentSkillUid: string | null;
297
- prefLabel: string;
298
- prettyName: string;
299
- highlighted: boolean;
300
- freeText?: any;
301
- }[];
302
- hourlyBudget: {
303
- min: number;
304
- max: number;
305
- };
306
- weeklyBudget: {
307
- amount: number;
308
- };
309
- isSTSVectorSearchResult: boolean;
310
- category?: string | undefined;
311
- jobUrl?: string | undefined;
312
- clientRelation?: any;
313
- }>;
314
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
315
- offsetHour: z.ZodType<4 | 24, z.ZodTypeDef, 4 | 24>;
316
- }, "strip", z.ZodTypeAny, {
317
- region: "USOnly" | "UKOnly" | "Worldwide";
318
- offsetHour: 4 | 24;
319
- listing: {
320
- type: number;
321
- uid: string;
322
- ciphertext: string;
323
- title: string;
324
- description: string;
325
- createdOn: string;
326
- publishedOn: string;
327
- renewedOn: string | null;
328
- durationLabel: string | null;
329
- engagement: string | null;
330
- amount: {
331
- amount: number;
332
- };
333
- connectPrice: number | null;
334
- client: {
335
- location: {
336
- country: string | null;
337
- };
338
- isPaymentVerified: boolean;
339
- totalSpent: string | null;
340
- totalReviews: number;
341
- totalFeedback: number;
342
- hasFinancialPrivacy: boolean;
343
- };
344
- freelancersToHire: number;
345
- relevanceEncoded: string;
346
- enterpriseJob: boolean;
347
- tierText: string | null;
348
- isApplied: boolean;
349
- proposalsTier: string | null;
350
- premium: boolean;
351
- attrs: {
352
- uid: string;
353
- parentSkillUid: string | null;
354
- prefLabel: string;
355
- prettyName: string;
356
- highlighted: boolean;
357
- freeText?: any;
358
- }[];
359
- hourlyBudget: {
360
- min: number;
361
- max: number;
362
- };
363
- weeklyBudget: {
364
- amount: number;
365
- };
366
- isSTSVectorSearchResult: boolean;
367
- category?: string | undefined;
368
- jobUrl?: string | undefined;
369
- clientRelation?: any;
370
- };
371
- }, {
372
- region: "USOnly" | "UKOnly" | "Worldwide";
373
- offsetHour: 4 | 24;
374
- listing: {
375
- type: number;
376
- uid: string;
377
- ciphertext: string;
378
- title: string;
379
- description: string;
380
- createdOn: string;
381
- publishedOn: string;
382
- renewedOn: string | null;
383
- durationLabel: string | null;
384
- engagement: string | null;
385
- amount: {
386
- amount: number;
387
- };
388
- connectPrice: number | null;
389
- client: {
390
- location: {
391
- country: string | null;
392
- };
393
- isPaymentVerified: boolean;
394
- totalSpent: string | null;
395
- totalReviews: number;
396
- totalFeedback: number;
397
- hasFinancialPrivacy: boolean;
398
- };
399
- freelancersToHire: number;
400
- relevanceEncoded: string;
401
- enterpriseJob: boolean;
402
- tierText: string | null;
403
- isApplied: boolean;
404
- proposalsTier: string | null;
405
- premium: boolean;
406
- attrs: {
407
- uid: string;
408
- parentSkillUid: string | null;
409
- prefLabel: string;
410
- prettyName: string;
411
- highlighted: boolean;
412
- freeText?: any;
413
- }[];
414
- hourlyBudget: {
415
- min: number;
416
- max: number;
417
- };
418
- weeklyBudget: {
419
- amount: number;
420
- };
421
- isSTSVectorSearchResult: boolean;
422
- category?: string | undefined;
423
- jobUrl?: string | undefined;
424
- clientRelation?: any;
425
- };
426
- }>;
427
- export declare const scraperAccountErrorEventMetadata: z.ZodObject<{
428
- errorStack: z.ZodString;
429
- errorCode: z.ZodString;
430
- errorMessage: z.ZodString;
431
- }, "strip", z.ZodTypeAny, {
432
- errorStack: string;
433
- errorCode: string;
434
- errorMessage: string;
435
- }, {
436
- errorStack: string;
437
- errorCode: string;
438
- errorMessage: string;
439
- }>;
440
- export declare const scraperAccountSwapStartedEventMetadata: z.ZodObject<{
441
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
442
- type: z.ZodEnum<["feed", "job", "status", "activity", "profile", "unauthenticated"]>;
443
- accountId: z.ZodString;
444
- accountEmail: z.ZodString;
445
- }, "strip", z.ZodTypeAny, {
446
- type: "status" | "activity" | "feed" | "job" | "profile" | "unauthenticated";
447
- region: "USOnly" | "UKOnly" | "Worldwide";
448
- accountId: string;
449
- accountEmail: string;
450
- }, {
451
- type: "status" | "activity" | "feed" | "job" | "profile" | "unauthenticated";
452
- region: "USOnly" | "UKOnly" | "Worldwide";
453
- accountId: string;
454
- accountEmail: string;
455
- }>;
456
- export declare const scraperAccountSwapCompletedEventMetadata: z.ZodObject<z.objectUtil.extendShape<Pick<{
457
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
458
- type: z.ZodEnum<["feed", "job", "status", "activity", "profile", "unauthenticated"]>;
459
- accountId: z.ZodString;
460
- accountEmail: z.ZodString;
461
- }, "type" | "region" | "accountId" | "accountEmail">, {
462
- newAccountId: z.ZodString;
463
- newAccountEmail: z.ZodString;
464
- }>, "strip", z.ZodTypeAny, {
465
- type: "status" | "activity" | "feed" | "job" | "profile" | "unauthenticated";
466
- region: "USOnly" | "UKOnly" | "Worldwide";
467
- accountId: string;
468
- accountEmail: string;
469
- newAccountId: string;
470
- newAccountEmail: string;
471
- }, {
472
- type: "status" | "activity" | "feed" | "job" | "profile" | "unauthenticated";
473
- region: "USOnly" | "UKOnly" | "Worldwide";
474
- accountId: string;
475
- accountEmail: string;
476
- newAccountId: string;
477
- newAccountEmail: string;
478
- }>;
479
- export declare const scraperAccountSwapFailedEventMetadata: z.ZodObject<z.objectUtil.extendShape<Pick<{
480
- region: z.ZodUnion<[z.ZodLiteral<"USOnly">, z.ZodLiteral<"UKOnly">, z.ZodLiteral<"Worldwide">]>;
481
- type: z.ZodEnum<["feed", "job", "status", "activity", "profile", "unauthenticated"]>;
482
- accountId: z.ZodString;
483
- accountEmail: z.ZodString;
484
- }, "type" | "region" | "accountId" | "accountEmail">, {
485
- errorStack: z.ZodString;
486
- errorCode: z.ZodString;
487
- errorMessage: z.ZodString;
488
- }>, "strip", z.ZodTypeAny, {
489
- type: "status" | "activity" | "feed" | "job" | "profile" | "unauthenticated";
490
- region: "USOnly" | "UKOnly" | "Worldwide";
491
- errorStack: string;
492
- errorCode: string;
493
- errorMessage: string;
494
- accountId: string;
495
- accountEmail: string;
496
- }, {
497
- type: "status" | "activity" | "feed" | "job" | "profile" | "unauthenticated";
498
- region: "USOnly" | "UKOnly" | "Worldwide";
499
- errorStack: string;
500
- errorCode: string;
501
- errorMessage: string;
502
- accountId: string;
503
- accountEmail: string;
504
- }>;
505
- export interface ScrapeJobsCompletedEventMetadata extends z.infer<typeof scrapeJobsCompletedEventMetadata> {
506
- }
507
- export interface JobActivityScrapedEventMetadata extends z.infer<typeof jobActivityScrapedEventMetadata> {
508
- }
509
- export interface JobActivityScrapeFailedEventMetadata extends z.infer<typeof jobActivityScrapeFailedEventMetadata> {
510
- }
511
- export interface ScraperAccountErrorEventMetadata extends z.infer<typeof scraperAccountErrorEventMetadata> {
512
- }
513
- export interface ScraperAccountSwapStartedEventMetadata extends z.infer<typeof scraperAccountSwapStartedEventMetadata> {
514
- }
515
- export interface ScraperAccountSwapCompletedEventMetadata extends z.infer<typeof scraperAccountSwapCompletedEventMetadata> {
516
- }
517
- export interface ScraperAccountSwapFailedEventMetadata extends z.infer<typeof scraperAccountSwapFailedEventMetadata> {
518
- }
@@ -1,21 +0,0 @@
1
- import { z } from "zod";
2
- export declare const sendAlertPayloadSchema: z.ZodObject<{
3
- type: z.ZodUnion<[z.ZodLiteral<"suitability">, z.ZodLiteral<"proposal">, z.ZodLiteral<"bidding">, z.ZodLiteral<"scraper">]>;
4
- organizationId: z.ZodNullable<z.ZodString>;
5
- campaignId: z.ZodNullable<z.ZodString>;
6
- leadId: z.ZodNullable<z.ZodString>;
7
- errorMessage: z.ZodString;
8
- }, "strip", z.ZodTypeAny, {
9
- type: "suitability" | "proposal" | "bidding" | "scraper";
10
- organizationId: string | null;
11
- campaignId: string | null;
12
- leadId: string | null;
13
- errorMessage: string;
14
- }, {
15
- type: "suitability" | "proposal" | "bidding" | "scraper";
16
- organizationId: string | null;
17
- campaignId: string | null;
18
- leadId: string | null;
19
- errorMessage: string;
20
- }>;
21
- export type SendAlertPayload = z.infer<typeof sendAlertPayloadSchema>;
@@ -1,51 +0,0 @@
1
- export declare const billingStripeMetadataSchema: import("zod").ZodObject<{
2
- customer: import("zod").ZodObject<{
3
- id: import("zod").ZodNullable<import("zod").ZodString>;
4
- }, "strip", import("zod").ZodTypeAny, {
5
- id: string | null;
6
- }, {
7
- id: string | null;
8
- }>;
9
- }, "strip", import("zod").ZodTypeAny, {
10
- customer: {
11
- id: string | null;
12
- };
13
- }, {
14
- customer: {
15
- id: string | null;
16
- };
17
- }>;
18
- export declare const billingSchema: import("zod").ZodObject<{
19
- savedCard: import("zod").ZodBoolean;
20
- stripe: import("zod").ZodObject<{
21
- customer: import("zod").ZodObject<{
22
- id: import("zod").ZodNullable<import("zod").ZodString>;
23
- }, "strip", import("zod").ZodTypeAny, {
24
- id: string | null;
25
- }, {
26
- id: string | null;
27
- }>;
28
- }, "strip", import("zod").ZodTypeAny, {
29
- customer: {
30
- id: string | null;
31
- };
32
- }, {
33
- customer: {
34
- id: string | null;
35
- };
36
- }>;
37
- }, "strip", import("zod").ZodTypeAny, {
38
- savedCard: boolean;
39
- stripe: {
40
- customer: {
41
- id: string | null;
42
- };
43
- };
44
- }, {
45
- savedCard: boolean;
46
- stripe: {
47
- customer: {
48
- id: string | null;
49
- };
50
- };
51
- }>;
@@ -1,37 +0,0 @@
1
- import { z } from "zod";
2
- export declare const coverLetterTemplateSchema: z.ZodObject<{
3
- id: z.ZodString;
4
- name: z.ZodString;
5
- description: z.ZodNullable<z.ZodString>;
6
- template: z.ZodString;
7
- instructions: z.ZodString;
8
- }, "strip", z.ZodTypeAny, {
9
- id: string;
10
- name: string;
11
- description: string | null;
12
- template: string;
13
- instructions: string;
14
- }, {
15
- id: string;
16
- name: string;
17
- description: string | null;
18
- template: string;
19
- instructions: string;
20
- }>;
21
- export declare const createCoverLetterTemplateSchema: z.ZodObject<Pick<{
22
- id: z.ZodString;
23
- name: z.ZodString;
24
- description: z.ZodNullable<z.ZodString>;
25
- template: z.ZodString;
26
- instructions: z.ZodString;
27
- }, "name" | "template" | "instructions">, "strip", z.ZodTypeAny, {
28
- name: string;
29
- template: string;
30
- instructions: string;
31
- }, {
32
- name: string;
33
- template: string;
34
- instructions: string;
35
- }>;
36
- export type CoverLetterTemplate = z.infer<typeof coverLetterTemplateSchema>;
37
- export type CreateCoverLetterTemplate = z.infer<typeof createCoverLetterTemplateSchema>;