linkbreakers 1.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (471) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +87 -0
  3. package/dist/apis/CustomDomainsApi.d.ts +254 -0
  4. package/dist/apis/CustomDomainsApi.js +309 -0
  5. package/dist/apis/EventsApi.d.ts +161 -0
  6. package/dist/apis/EventsApi.js +205 -0
  7. package/dist/apis/IntegrationsServiceApi.d.ts +60 -0
  8. package/dist/apis/IntegrationsServiceApi.js +96 -0
  9. package/dist/apis/LinkSettingsApi.d.ts +105 -0
  10. package/dist/apis/LinkSettingsApi.js +146 -0
  11. package/dist/apis/LinksApi.d.ts +431 -0
  12. package/dist/apis/LinksApi.js +510 -0
  13. package/dist/apis/MediaApi.d.ts +181 -0
  14. package/dist/apis/MediaApi.js +231 -0
  15. package/dist/apis/MembersApi.d.ts +408 -0
  16. package/dist/apis/MembersApi.js +491 -0
  17. package/dist/apis/PageThemesApi.d.ts +138 -0
  18. package/dist/apis/PageThemesApi.js +184 -0
  19. package/dist/apis/QRCodeDesignsApi.d.ts +181 -0
  20. package/dist/apis/QRCodeDesignsApi.js +231 -0
  21. package/dist/apis/QRCodeTemplatesApi.d.ts +401 -0
  22. package/dist/apis/QRCodeTemplatesApi.js +472 -0
  23. package/dist/apis/TagsApi.d.ts +108 -0
  24. package/dist/apis/TagsApi.js +151 -0
  25. package/dist/apis/TimeSeriesApi.d.ts +61 -0
  26. package/dist/apis/TimeSeriesApi.js +98 -0
  27. package/dist/apis/VisitorsApi.d.ts +281 -0
  28. package/dist/apis/VisitorsApi.js +339 -0
  29. package/dist/apis/WebhooksApi.d.ts +219 -0
  30. package/dist/apis/WebhooksApi.js +272 -0
  31. package/dist/apis/WorkflowStepsApi.d.ts +325 -0
  32. package/dist/apis/WorkflowStepsApi.js +396 -0
  33. package/dist/apis/WorkspaceMetricsApi.d.ts +136 -0
  34. package/dist/apis/WorkspaceMetricsApi.js +180 -0
  35. package/dist/apis/WorkspaceTokensApi.d.ts +173 -0
  36. package/dist/apis/WorkspaceTokensApi.js +222 -0
  37. package/dist/apis/WorkspacesApi.d.ts +320 -0
  38. package/dist/apis/WorkspacesApi.js +389 -0
  39. package/dist/apis/index.d.ts +18 -0
  40. package/dist/apis/index.js +36 -0
  41. package/dist/index.d.ts +3 -0
  42. package/dist/index.js +21 -0
  43. package/dist/models/Action.d.ts +28 -0
  44. package/dist/models/Action.js +54 -0
  45. package/dist/models/AddWorkflowStepRelationshipResponse.d.ts +32 -0
  46. package/dist/models/AddWorkflowStepRelationshipResponse.js +48 -0
  47. package/dist/models/ApiTag.d.ts +51 -0
  48. package/dist/models/ApiTag.js +52 -0
  49. package/dist/models/BackgroundOptions.d.ts +33 -0
  50. package/dist/models/BackgroundOptions.js +49 -0
  51. package/dist/models/CanvasPosition.d.ts +38 -0
  52. package/dist/models/CanvasPosition.js +50 -0
  53. package/dist/models/CheckCustomDomainResponse.d.ts +33 -0
  54. package/dist/models/CheckCustomDomainResponse.js +49 -0
  55. package/dist/models/ClientRedirectPayload.d.ts +38 -0
  56. package/dist/models/ClientRedirectPayload.js +50 -0
  57. package/dist/models/ContactCardTraceCard.d.ts +104 -0
  58. package/dist/models/ContactCardTraceCard.js +72 -0
  59. package/dist/models/ContactCardTraceData.d.ts +33 -0
  60. package/dist/models/ContactCardTraceData.js +49 -0
  61. package/dist/models/ContainerConfig.d.ts +85 -0
  62. package/dist/models/ContainerConfig.js +80 -0
  63. package/dist/models/CornersDotOptions.d.ts +39 -0
  64. package/dist/models/CornersDotOptions.js +51 -0
  65. package/dist/models/CornersSquareOptions.d.ts +39 -0
  66. package/dist/models/CornersSquareOptions.js +51 -0
  67. package/dist/models/CountryConditionOutcome.d.ts +38 -0
  68. package/dist/models/CountryConditionOutcome.js +50 -0
  69. package/dist/models/CountryConditionPayload.d.ts +39 -0
  70. package/dist/models/CountryConditionPayload.js +51 -0
  71. package/dist/models/CountryConditionTraceData.d.ts +39 -0
  72. package/dist/models/CountryConditionTraceData.js +51 -0
  73. package/dist/models/CountryConditionTraceOption.d.ts +38 -0
  74. package/dist/models/CountryConditionTraceOption.js +50 -0
  75. package/dist/models/CreateBulkLinksRequest.d.ts +34 -0
  76. package/dist/models/CreateBulkLinksRequest.js +51 -0
  77. package/dist/models/CreateBulkLinksResponse.d.ts +33 -0
  78. package/dist/models/CreateBulkLinksResponse.js +49 -0
  79. package/dist/models/CreateContactLinkRequest.d.ts +108 -0
  80. package/dist/models/CreateContactLinkRequest.js +73 -0
  81. package/dist/models/CreateContactLinkResponse.d.ts +33 -0
  82. package/dist/models/CreateContactLinkResponse.js +49 -0
  83. package/dist/models/CreateCustomDomainRequest.d.ts +32 -0
  84. package/dist/models/CreateCustomDomainRequest.js +48 -0
  85. package/dist/models/CreateCustomDomainResponse.d.ts +33 -0
  86. package/dist/models/CreateCustomDomainResponse.js +49 -0
  87. package/dist/models/CreateEventTraceResponse.d.ts +33 -0
  88. package/dist/models/CreateEventTraceResponse.js +49 -0
  89. package/dist/models/CreateLinkRequest.d.ts +107 -0
  90. package/dist/models/CreateLinkRequest.js +72 -0
  91. package/dist/models/CreateLinkResponse.d.ts +33 -0
  92. package/dist/models/CreateLinkResponse.js +49 -0
  93. package/dist/models/CreateMediaRequest.d.ts +54 -0
  94. package/dist/models/CreateMediaRequest.js +56 -0
  95. package/dist/models/CreateMediaResponse.d.ts +33 -0
  96. package/dist/models/CreateMediaResponse.js +49 -0
  97. package/dist/models/CreateQrcodeTemplateRequest.d.ts +63 -0
  98. package/dist/models/CreateQrcodeTemplateRequest.js +58 -0
  99. package/dist/models/CreateQrcodeTemplateResponse.d.ts +33 -0
  100. package/dist/models/CreateQrcodeTemplateResponse.js +49 -0
  101. package/dist/models/CreateWebhookRequest.d.ts +62 -0
  102. package/dist/models/CreateWebhookRequest.js +62 -0
  103. package/dist/models/CreateWebhookResponse.d.ts +33 -0
  104. package/dist/models/CreateWebhookResponse.js +49 -0
  105. package/dist/models/CreateWorkflowStepResponse.d.ts +33 -0
  106. package/dist/models/CreateWorkflowStepResponse.js +49 -0
  107. package/dist/models/CreateWorkspaceTokenRequest.d.ts +32 -0
  108. package/dist/models/CreateWorkspaceTokenRequest.js +48 -0
  109. package/dist/models/CreateWorkspaceTokenResponse.d.ts +40 -0
  110. package/dist/models/CreateWorkspaceTokenResponse.js +51 -0
  111. package/dist/models/CustomDomain.d.ts +94 -0
  112. package/dist/models/CustomDomain.js +70 -0
  113. package/dist/models/CustomDomainStatus.d.ts +36 -0
  114. package/dist/models/CustomDomainStatus.js +62 -0
  115. package/dist/models/DataCollection.d.ts +32 -0
  116. package/dist/models/DataCollection.js +58 -0
  117. package/dist/models/DayOfMonthConditionPayload.d.ts +39 -0
  118. package/dist/models/DayOfMonthConditionPayload.js +51 -0
  119. package/dist/models/DayOfMonthConditionTraceData.d.ts +39 -0
  120. package/dist/models/DayOfMonthConditionTraceData.js +51 -0
  121. package/dist/models/DayOfMonthConditionTraceOption.d.ts +50 -0
  122. package/dist/models/DayOfMonthConditionTraceOption.js +54 -0
  123. package/dist/models/DayOfMonthOption.d.ts +50 -0
  124. package/dist/models/DayOfMonthOption.js +54 -0
  125. package/dist/models/DayOfWeekConditionPayload.d.ts +39 -0
  126. package/dist/models/DayOfWeekConditionPayload.js +51 -0
  127. package/dist/models/DayOfWeekConditionTraceData.d.ts +39 -0
  128. package/dist/models/DayOfWeekConditionTraceData.js +51 -0
  129. package/dist/models/DayOfWeekConditionTraceOption.d.ts +50 -0
  130. package/dist/models/DayOfWeekConditionTraceOption.js +54 -0
  131. package/dist/models/DayOfWeekOption.d.ts +50 -0
  132. package/dist/models/DayOfWeekOption.js +54 -0
  133. package/dist/models/DeleteAttributeResponse.d.ts +32 -0
  134. package/dist/models/DeleteAttributeResponse.js +48 -0
  135. package/dist/models/DeleteVisitorResponse.d.ts +32 -0
  136. package/dist/models/DeleteVisitorResponse.js +48 -0
  137. package/dist/models/Device.d.ts +232 -0
  138. package/dist/models/Device.js +121 -0
  139. package/dist/models/DeviceInput.d.ts +134 -0
  140. package/dist/models/DeviceInput.js +82 -0
  141. package/dist/models/DeviceType.d.ts +36 -0
  142. package/dist/models/DeviceType.js +62 -0
  143. package/dist/models/DotsOptions.d.ts +39 -0
  144. package/dist/models/DotsOptions.js +51 -0
  145. package/dist/models/EntryAccessTraceData.d.ts +56 -0
  146. package/dist/models/EntryAccessTraceData.js +56 -0
  147. package/dist/models/ErrorResponse.d.ts +50 -0
  148. package/dist/models/ErrorResponse.js +62 -0
  149. package/dist/models/Event.d.ts +170 -0
  150. package/dist/models/Event.js +101 -0
  151. package/dist/models/EventAction.d.ts +50 -0
  152. package/dist/models/EventAction.js +76 -0
  153. package/dist/models/EventTrace.d.ts +94 -0
  154. package/dist/models/EventTrace.js +69 -0
  155. package/dist/models/EventTraceData.d.ts +110 -0
  156. package/dist/models/EventTraceData.js +82 -0
  157. package/dist/models/EventsMetric.d.ts +105 -0
  158. package/dist/models/EventsMetric.js +79 -0
  159. package/dist/models/EventsServiceCreateEventTraceBody.d.ts +45 -0
  160. package/dist/models/EventsServiceCreateEventTraceBody.js +53 -0
  161. package/dist/models/EventsServiceUpdateDeviceBody.d.ts +33 -0
  162. package/dist/models/EventsServiceUpdateDeviceBody.js +49 -0
  163. package/dist/models/EventsTimeSeries.d.ts +45 -0
  164. package/dist/models/EventsTimeSeries.js +53 -0
  165. package/dist/models/EventsTimeSeriesData.d.ts +38 -0
  166. package/dist/models/EventsTimeSeriesData.js +50 -0
  167. package/dist/models/FontConfig.d.ts +71 -0
  168. package/dist/models/FontConfig.js +71 -0
  169. package/dist/models/FormField.d.ts +94 -0
  170. package/dist/models/FormField.js +70 -0
  171. package/dist/models/FormFieldOption.d.ts +38 -0
  172. package/dist/models/FormFieldOption.js +50 -0
  173. package/dist/models/FormFieldType.d.ts +34 -0
  174. package/dist/models/FormFieldType.js +60 -0
  175. package/dist/models/FormPayload.d.ts +69 -0
  176. package/dist/models/FormPayload.js +61 -0
  177. package/dist/models/FormTraceData.d.ts +75 -0
  178. package/dist/models/FormTraceData.js +63 -0
  179. package/dist/models/FormTraceDataField.d.ts +56 -0
  180. package/dist/models/FormTraceDataField.js +56 -0
  181. package/dist/models/GetCustomDomainResponse.d.ts +33 -0
  182. package/dist/models/GetCustomDomainResponse.js +49 -0
  183. package/dist/models/GetEventsTimeSeriesRequest.d.ts +50 -0
  184. package/dist/models/GetEventsTimeSeriesRequest.js +54 -0
  185. package/dist/models/GetEventsTimeSeriesResponse.d.ts +33 -0
  186. package/dist/models/GetEventsTimeSeriesResponse.js +49 -0
  187. package/dist/models/GetLeadScoreExplanationResponse.d.ts +51 -0
  188. package/dist/models/GetLeadScoreExplanationResponse.js +55 -0
  189. package/dist/models/GetLinkResponse.d.ts +33 -0
  190. package/dist/models/GetLinkResponse.js +49 -0
  191. package/dist/models/GetLinkSettingResponse.d.ts +33 -0
  192. package/dist/models/GetLinkSettingResponse.js +49 -0
  193. package/dist/models/GetMediaResponse.d.ts +33 -0
  194. package/dist/models/GetMediaResponse.js +49 -0
  195. package/dist/models/GetPageThemeResponse.d.ts +33 -0
  196. package/dist/models/GetPageThemeResponse.js +49 -0
  197. package/dist/models/GetQrcodeDesignResponse.d.ts +33 -0
  198. package/dist/models/GetQrcodeDesignResponse.js +49 -0
  199. package/dist/models/GetWebhookResponse.d.ts +33 -0
  200. package/dist/models/GetWebhookResponse.js +49 -0
  201. package/dist/models/GetWorkflowStepResponse.d.ts +33 -0
  202. package/dist/models/GetWorkflowStepResponse.js +49 -0
  203. package/dist/models/GetWorkspaceTokenResponse.d.ts +33 -0
  204. package/dist/models/GetWorkspaceTokenResponse.js +49 -0
  205. package/dist/models/GooglerpcStatus.d.ts +45 -0
  206. package/dist/models/GooglerpcStatus.js +53 -0
  207. package/dist/models/IdentifyRequest.d.ts +45 -0
  208. package/dist/models/IdentifyRequest.js +53 -0
  209. package/dist/models/IdentifyResponse.d.ts +39 -0
  210. package/dist/models/IdentifyResponse.js +51 -0
  211. package/dist/models/ImportQrcodeTemplateRequest.d.ts +32 -0
  212. package/dist/models/ImportQrcodeTemplateRequest.js +48 -0
  213. package/dist/models/ImportQrcodeTemplateResponse.d.ts +33 -0
  214. package/dist/models/ImportQrcodeTemplateResponse.js +49 -0
  215. package/dist/models/InviteMemberRequest.d.ts +44 -0
  216. package/dist/models/InviteMemberRequest.js +52 -0
  217. package/dist/models/LeadScore.d.ts +111 -0
  218. package/dist/models/LeadScore.js +74 -0
  219. package/dist/models/LeadScoreBreakdown.d.ts +56 -0
  220. package/dist/models/LeadScoreBreakdown.js +56 -0
  221. package/dist/models/Link.d.ts +182 -0
  222. package/dist/models/Link.js +88 -0
  223. package/dist/models/LinkSetting.d.ts +51 -0
  224. package/dist/models/LinkSetting.js +55 -0
  225. package/dist/models/LinkSortField.d.ts +34 -0
  226. package/dist/models/LinkSortField.js +60 -0
  227. package/dist/models/LinksServiceUpdateBody.d.ts +84 -0
  228. package/dist/models/LinksServiceUpdateBody.js +64 -0
  229. package/dist/models/ListCustomDomainsResponse.d.ts +33 -0
  230. package/dist/models/ListCustomDomainsResponse.js +49 -0
  231. package/dist/models/ListEventTracesResponse.d.ts +33 -0
  232. package/dist/models/ListEventTracesResponse.js +49 -0
  233. package/dist/models/ListEventsCsvResponse.d.ts +38 -0
  234. package/dist/models/ListEventsCsvResponse.js +50 -0
  235. package/dist/models/ListEventsJsonResponse.d.ts +51 -0
  236. package/dist/models/ListEventsJsonResponse.js +55 -0
  237. package/dist/models/ListEventsResponse.d.ts +40 -0
  238. package/dist/models/ListEventsResponse.js +52 -0
  239. package/dist/models/ListLinksResponse.d.ts +45 -0
  240. package/dist/models/ListLinksResponse.js +53 -0
  241. package/dist/models/ListMediaResponse.d.ts +39 -0
  242. package/dist/models/ListMediaResponse.js +51 -0
  243. package/dist/models/ListPageThemesResponse.d.ts +33 -0
  244. package/dist/models/ListPageThemesResponse.js +49 -0
  245. package/dist/models/ListQrcodeTemplatesResponse.d.ts +45 -0
  246. package/dist/models/ListQrcodeTemplatesResponse.js +53 -0
  247. package/dist/models/ListResponse.d.ts +33 -0
  248. package/dist/models/ListResponse.js +49 -0
  249. package/dist/models/ListTagsResponse.d.ts +39 -0
  250. package/dist/models/ListTagsResponse.js +51 -0
  251. package/dist/models/ListVisitorsCsvResponse.d.ts +38 -0
  252. package/dist/models/ListVisitorsCsvResponse.js +50 -0
  253. package/dist/models/ListVisitorsJsonResponse.d.ts +51 -0
  254. package/dist/models/ListVisitorsJsonResponse.js +55 -0
  255. package/dist/models/ListVisitorsResponse.d.ts +40 -0
  256. package/dist/models/ListVisitorsResponse.js +52 -0
  257. package/dist/models/ListWebhooksResponse.d.ts +33 -0
  258. package/dist/models/ListWebhooksResponse.js +49 -0
  259. package/dist/models/ListWorkflowStepsResponse.d.ts +39 -0
  260. package/dist/models/ListWorkflowStepsResponse.js +51 -0
  261. package/dist/models/ListWorkspaceTokensResponse.d.ts +33 -0
  262. package/dist/models/ListWorkspaceTokensResponse.js +49 -0
  263. package/dist/models/Media.d.ts +96 -0
  264. package/dist/models/Media.js +65 -0
  265. package/dist/models/MediaSelection.d.ts +38 -0
  266. package/dist/models/MediaSelection.js +50 -0
  267. package/dist/models/MediaType.d.ts +30 -0
  268. package/dist/models/MediaType.js +56 -0
  269. package/dist/models/MediaVisibility.d.ts +29 -0
  270. package/dist/models/MediaVisibility.js +55 -0
  271. package/dist/models/Member.d.ts +124 -0
  272. package/dist/models/Member.js +79 -0
  273. package/dist/models/MembersServiceUpdateBody.d.ts +57 -0
  274. package/dist/models/MembersServiceUpdateBody.js +57 -0
  275. package/dist/models/ModelHTTPMethod.d.ts +31 -0
  276. package/dist/models/ModelHTTPMethod.js +57 -0
  277. package/dist/models/MultiLinkButton.d.ts +50 -0
  278. package/dist/models/MultiLinkButton.js +54 -0
  279. package/dist/models/MultiLinkPayload.d.ts +45 -0
  280. package/dist/models/MultiLinkPayload.js +53 -0
  281. package/dist/models/MultiLinkSelectedButton.d.ts +44 -0
  282. package/dist/models/MultiLinkSelectedButton.js +52 -0
  283. package/dist/models/MultiLinkTraceData.d.ts +33 -0
  284. package/dist/models/MultiLinkTraceData.js +49 -0
  285. package/dist/models/OutputFileFormat.d.ts +32 -0
  286. package/dist/models/OutputFileFormat.js +58 -0
  287. package/dist/models/PageTheme.d.ts +145 -0
  288. package/dist/models/PageTheme.js +96 -0
  289. package/dist/models/PageThemeBadgeShape.d.ts +27 -0
  290. package/dist/models/PageThemeBadgeShape.js +53 -0
  291. package/dist/models/PageThemeBorderStyle.d.ts +30 -0
  292. package/dist/models/PageThemeBorderStyle.js +56 -0
  293. package/dist/models/PageThemeCanvasCoverMode.d.ts +27 -0
  294. package/dist/models/PageThemeCanvasCoverMode.js +53 -0
  295. package/dist/models/PageThemeContainerVariant.d.ts +26 -0
  296. package/dist/models/PageThemeContainerVariant.js +52 -0
  297. package/dist/models/PageThemeFontFamily.d.ts +31 -0
  298. package/dist/models/PageThemeFontFamily.js +57 -0
  299. package/dist/models/PageThemesServiceUpdatePageThemeBody.d.ts +122 -0
  300. package/dist/models/PageThemesServiceUpdatePageThemeBody.js +93 -0
  301. package/dist/models/PasswordPayload.d.ts +44 -0
  302. package/dist/models/PasswordPayload.js +52 -0
  303. package/dist/models/PasswordTraceData.d.ts +32 -0
  304. package/dist/models/PasswordTraceData.js +48 -0
  305. package/dist/models/PreferredLinkType.d.ts +32 -0
  306. package/dist/models/PreferredLinkType.js +58 -0
  307. package/dist/models/ProtobufAny.d.ts +33 -0
  308. package/dist/models/ProtobufAny.js +50 -0
  309. package/dist/models/ProtobufNullValue.d.ts +29 -0
  310. package/dist/models/ProtobufNullValue.js +55 -0
  311. package/dist/models/PublicCreateQrcodeDesignRequest.d.ts +134 -0
  312. package/dist/models/PublicCreateQrcodeDesignRequest.js +95 -0
  313. package/dist/models/PublicCreateQrcodeDesignResponse.d.ts +33 -0
  314. package/dist/models/PublicCreateQrcodeDesignResponse.js +49 -0
  315. package/dist/models/PublicListQrcodeTemplatesResponse.d.ts +45 -0
  316. package/dist/models/PublicListQrcodeTemplatesResponse.js +53 -0
  317. package/dist/models/PublicQrcodeTemplate.d.ts +87 -0
  318. package/dist/models/PublicQrcodeTemplate.js +67 -0
  319. package/dist/models/PublicWorkspace.d.ts +74 -0
  320. package/dist/models/PublicWorkspace.js +62 -0
  321. package/dist/models/PublishQrcodeTemplateResponse.d.ts +33 -0
  322. package/dist/models/PublishQrcodeTemplateResponse.js +49 -0
  323. package/dist/models/QrcodeDesign.d.ts +157 -0
  324. package/dist/models/QrcodeDesign.js +98 -0
  325. package/dist/models/QrcodeDesignServiceUpdateBody.d.ts +140 -0
  326. package/dist/models/QrcodeDesignServiceUpdateBody.js +97 -0
  327. package/dist/models/QrcodeTemplate.d.ts +135 -0
  328. package/dist/models/QrcodeTemplate.js +81 -0
  329. package/dist/models/QrcodeTemplatesServiceUpdateQrcodeTemplateBody.d.ts +62 -0
  330. package/dist/models/QrcodeTemplatesServiceUpdateQrcodeTemplateBody.js +58 -0
  331. package/dist/models/RedirectTraceData.d.ts +44 -0
  332. package/dist/models/RedirectTraceData.js +52 -0
  333. package/dist/models/RemoveWorkflowStepRelationshipResponse.d.ts +32 -0
  334. package/dist/models/RemoveWorkflowStepRelationshipResponse.js +48 -0
  335. package/dist/models/RequestWorkspaceEnrollmentRequest.d.ts +32 -0
  336. package/dist/models/RequestWorkspaceEnrollmentRequest.js +48 -0
  337. package/dist/models/ResponseFormat.d.ts +30 -0
  338. package/dist/models/ResponseFormat.js +56 -0
  339. package/dist/models/Role.d.ts +29 -0
  340. package/dist/models/Role.js +55 -0
  341. package/dist/models/SettingsServiceUpdateLinkSettingBody.d.ts +33 -0
  342. package/dist/models/SettingsServiceUpdateLinkSettingBody.js +49 -0
  343. package/dist/models/Shape.d.ts +28 -0
  344. package/dist/models/Shape.js +54 -0
  345. package/dist/models/ShortlinkAvailabilityResponse.d.ts +32 -0
  346. package/dist/models/ShortlinkAvailabilityResponse.js +48 -0
  347. package/dist/models/ShortlinkRandomResponse.d.ts +32 -0
  348. package/dist/models/ShortlinkRandomResponse.js +48 -0
  349. package/dist/models/SocialLinkButton.d.ts +50 -0
  350. package/dist/models/SocialLinkButton.js +54 -0
  351. package/dist/models/SocialLinksDisplayStyle.d.ts +27 -0
  352. package/dist/models/SocialLinksDisplayStyle.js +53 -0
  353. package/dist/models/SocialLinksPayload.d.ts +52 -0
  354. package/dist/models/SocialLinksPayload.js +56 -0
  355. package/dist/models/SortDirection.d.ts +28 -0
  356. package/dist/models/SortDirection.js +54 -0
  357. package/dist/models/SpecificDateConditionPayload.d.ts +39 -0
  358. package/dist/models/SpecificDateConditionPayload.js +51 -0
  359. package/dist/models/SpecificDateConditionTraceData.d.ts +39 -0
  360. package/dist/models/SpecificDateConditionTraceData.js +51 -0
  361. package/dist/models/SpecificDateConditionTraceOption.d.ts +62 -0
  362. package/dist/models/SpecificDateConditionTraceOption.js +58 -0
  363. package/dist/models/SpecificDateOption.d.ts +62 -0
  364. package/dist/models/SpecificDateOption.js +58 -0
  365. package/dist/models/SubscriptionType.d.ts +34 -0
  366. package/dist/models/SubscriptionType.js +60 -0
  367. package/dist/models/ThemeColor.d.ts +61 -0
  368. package/dist/models/ThemeColor.js +68 -0
  369. package/dist/models/ThemeColorThemeColorType.d.ts +27 -0
  370. package/dist/models/ThemeColorThemeColorType.js +53 -0
  371. package/dist/models/TimeOfDayConditionPayload.d.ts +39 -0
  372. package/dist/models/TimeOfDayConditionPayload.js +51 -0
  373. package/dist/models/TimeOfDayConditionTraceData.d.ts +39 -0
  374. package/dist/models/TimeOfDayConditionTraceData.js +51 -0
  375. package/dist/models/TimeOfDayConditionTraceRange.d.ts +56 -0
  376. package/dist/models/TimeOfDayConditionTraceRange.js +56 -0
  377. package/dist/models/TimeOfDayRange.d.ts +56 -0
  378. package/dist/models/TimeOfDayRange.js +56 -0
  379. package/dist/models/TriggeredBy.d.ts +26 -0
  380. package/dist/models/TriggeredBy.js +52 -0
  381. package/dist/models/UpdateDeviceResponse.d.ts +32 -0
  382. package/dist/models/UpdateDeviceResponse.js +48 -0
  383. package/dist/models/UpdateLinkResponse.d.ts +33 -0
  384. package/dist/models/UpdateLinkResponse.js +49 -0
  385. package/dist/models/UpdateLinkSettingResponse.d.ts +33 -0
  386. package/dist/models/UpdateLinkSettingResponse.js +49 -0
  387. package/dist/models/UpdateMeRequest.d.ts +50 -0
  388. package/dist/models/UpdateMeRequest.js +54 -0
  389. package/dist/models/UpdatePageThemeResponse.d.ts +33 -0
  390. package/dist/models/UpdatePageThemeResponse.js +49 -0
  391. package/dist/models/UpdateQrcodeDesignResponse.d.ts +33 -0
  392. package/dist/models/UpdateQrcodeDesignResponse.js +49 -0
  393. package/dist/models/UpdateQrcodeTemplateResponse.d.ts +33 -0
  394. package/dist/models/UpdateQrcodeTemplateResponse.js +49 -0
  395. package/dist/models/UpdateWebhookResponse.d.ts +33 -0
  396. package/dist/models/UpdateWebhookResponse.js +49 -0
  397. package/dist/models/UpdateWorkflowStepResponse.d.ts +33 -0
  398. package/dist/models/UpdateWorkflowStepResponse.js +49 -0
  399. package/dist/models/UpdateWorkspaceOriginInquiryRequest.d.ts +32 -0
  400. package/dist/models/UpdateWorkspaceOriginInquiryRequest.js +48 -0
  401. package/dist/models/UpdateWorkspaceOriginPurposeRequest.d.ts +32 -0
  402. package/dist/models/UpdateWorkspaceOriginPurposeRequest.js +48 -0
  403. package/dist/models/UpdateWorkspaceRequest.d.ts +74 -0
  404. package/dist/models/UpdateWorkspaceRequest.js +62 -0
  405. package/dist/models/VCardData.d.ts +104 -0
  406. package/dist/models/VCardData.js +72 -0
  407. package/dist/models/VCardPayload.d.ts +104 -0
  408. package/dist/models/VCardPayload.js +72 -0
  409. package/dist/models/ValidationInstructionsCustomDomainResponse.d.ts +33 -0
  410. package/dist/models/ValidationInstructionsCustomDomainResponse.js +49 -0
  411. package/dist/models/ValidationInstructionsCustomDomainResponseValidation.d.ts +52 -0
  412. package/dist/models/ValidationInstructionsCustomDomainResponseValidation.js +56 -0
  413. package/dist/models/ValidationInstructionsCustomDomainResponseValidationType.d.ts +26 -0
  414. package/dist/models/ValidationInstructionsCustomDomainResponseValidationType.js +52 -0
  415. package/dist/models/ValidationPurpose.d.ts +28 -0
  416. package/dist/models/ValidationPurpose.js +54 -0
  417. package/dist/models/VisitType.d.ts +28 -0
  418. package/dist/models/VisitType.js +54 -0
  419. package/dist/models/VisitTypeConditionOption.d.ts +38 -0
  420. package/dist/models/VisitTypeConditionOption.js +50 -0
  421. package/dist/models/VisitTypeConditionPayload.d.ts +39 -0
  422. package/dist/models/VisitTypeConditionPayload.js +51 -0
  423. package/dist/models/VisitTypeConditionTraceData.d.ts +45 -0
  424. package/dist/models/VisitTypeConditionTraceData.js +53 -0
  425. package/dist/models/VisitTypeConditionTraceOption.d.ts +38 -0
  426. package/dist/models/VisitTypeConditionTraceOption.js +50 -0
  427. package/dist/models/Visitor.d.ts +102 -0
  428. package/dist/models/Visitor.js +73 -0
  429. package/dist/models/VisitorEvent.d.ts +62 -0
  430. package/dist/models/VisitorEvent.js +58 -0
  431. package/dist/models/VisitorInput.d.ts +34 -0
  432. package/dist/models/VisitorInput.js +48 -0
  433. package/dist/models/VisitorLink.d.ts +68 -0
  434. package/dist/models/VisitorLink.js +60 -0
  435. package/dist/models/VisitorsServiceUpdateBody.d.ts +33 -0
  436. package/dist/models/VisitorsServiceUpdateBody.js +49 -0
  437. package/dist/models/Webhook.d.ts +128 -0
  438. package/dist/models/Webhook.js +73 -0
  439. package/dist/models/WebhookSource.d.ts +30 -0
  440. package/dist/models/WebhookSource.js +56 -0
  441. package/dist/models/WebhookStatus.d.ts +30 -0
  442. package/dist/models/WebhookStatus.js +56 -0
  443. package/dist/models/WebhooksServiceUpdateBody.d.ts +69 -0
  444. package/dist/models/WebhooksServiceUpdateBody.js +61 -0
  445. package/dist/models/WorkflowStep.d.ts +149 -0
  446. package/dist/models/WorkflowStep.js +97 -0
  447. package/dist/models/WorkflowStepKind.d.ts +32 -0
  448. package/dist/models/WorkflowStepKind.js +58 -0
  449. package/dist/models/WorkflowStepNodeType.d.ts +56 -0
  450. package/dist/models/WorkflowStepNodeType.js +82 -0
  451. package/dist/models/WorkflowStepPayload.d.ts +116 -0
  452. package/dist/models/WorkflowStepPayload.js +84 -0
  453. package/dist/models/WorkflowStepsServiceAddRelationshipBody.d.ts +32 -0
  454. package/dist/models/WorkflowStepsServiceAddRelationshipBody.js +48 -0
  455. package/dist/models/WorkflowStepsServiceCreateBody.d.ts +85 -0
  456. package/dist/models/WorkflowStepsServiceCreateBody.js +76 -0
  457. package/dist/models/WorkflowStepsServiceUpdateBody.d.ts +40 -0
  458. package/dist/models/WorkflowStepsServiceUpdateBody.js +52 -0
  459. package/dist/models/Workspace.d.ts +158 -0
  460. package/dist/models/Workspace.js +96 -0
  461. package/dist/models/WorkspaceInsight.d.ts +34 -0
  462. package/dist/models/WorkspaceInsight.js +49 -0
  463. package/dist/models/WorkspaceMetric.d.ts +68 -0
  464. package/dist/models/WorkspaceMetric.js +60 -0
  465. package/dist/models/WorkspaceToken.d.ts +69 -0
  466. package/dist/models/WorkspaceToken.js +57 -0
  467. package/dist/models/index.d.ts +212 -0
  468. package/dist/models/index.js +230 -0
  469. package/dist/runtime.d.ts +184 -0
  470. package/dist/runtime.js +338 -0
  471. package/package.json +40 -0
@@ -0,0 +1,146 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Linkbreakers API
6
+ * This is a documentation of all the APIs of Linkbreakers
7
+ *
8
+ * The version of the OpenAPI document: 1.34.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
27
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
28
+ }) : function(o, v) {
29
+ o["default"] = v;
30
+ });
31
+ var __importStar = (this && this.__importStar) || (function () {
32
+ var ownKeys = function(o) {
33
+ ownKeys = Object.getOwnPropertyNames || function (o) {
34
+ var ar = [];
35
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
+ return ar;
37
+ };
38
+ return ownKeys(o);
39
+ };
40
+ return function (mod) {
41
+ if (mod && mod.__esModule) return mod;
42
+ var result = {};
43
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
+ __setModuleDefault(result, mod);
45
+ return result;
46
+ };
47
+ })();
48
+ Object.defineProperty(exports, "__esModule", { value: true });
49
+ exports.LinkSettingsApi = void 0;
50
+ const runtime = __importStar(require("../runtime"));
51
+ const index_1 = require("../models/index");
52
+ /**
53
+ *
54
+ */
55
+ class LinkSettingsApi extends runtime.BaseAPI {
56
+ /**
57
+ * Creates request options for settingsServiceGetLinkSetting without sending the request
58
+ */
59
+ async settingsServiceGetLinkSettingRequestOpts(requestParameters) {
60
+ if (requestParameters['id'] == null) {
61
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling settingsServiceGetLinkSetting().');
62
+ }
63
+ const queryParameters = {};
64
+ const headerParameters = {};
65
+ if (this.configuration && this.configuration.accessToken) {
66
+ const token = this.configuration.accessToken;
67
+ const tokenString = await token("bearerAuth", []);
68
+ if (tokenString) {
69
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
70
+ }
71
+ }
72
+ let urlPath = `/v1/settings/link-setting/{id}`;
73
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
74
+ return {
75
+ path: urlPath,
76
+ method: 'GET',
77
+ headers: headerParameters,
78
+ query: queryParameters,
79
+ };
80
+ }
81
+ /**
82
+ * Retrieve the current visitor data collection configuration for a link.
83
+ * Get a link setting
84
+ */
85
+ async settingsServiceGetLinkSettingRaw(requestParameters, initOverrides) {
86
+ const requestOptions = await this.settingsServiceGetLinkSettingRequestOpts(requestParameters);
87
+ const response = await this.request(requestOptions, initOverrides);
88
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetLinkSettingResponseFromJSON)(jsonValue));
89
+ }
90
+ /**
91
+ * Retrieve the current visitor data collection configuration for a link.
92
+ * Get a link setting
93
+ */
94
+ async settingsServiceGetLinkSetting(requestParameters, initOverrides) {
95
+ const response = await this.settingsServiceGetLinkSettingRaw(requestParameters, initOverrides);
96
+ return await response.value();
97
+ }
98
+ /**
99
+ * Creates request options for settingsServiceUpdateLinkSetting without sending the request
100
+ */
101
+ async settingsServiceUpdateLinkSettingRequestOpts(requestParameters) {
102
+ if (requestParameters['id'] == null) {
103
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling settingsServiceUpdateLinkSetting().');
104
+ }
105
+ if (requestParameters['settingsServiceUpdateLinkSettingBody'] == null) {
106
+ throw new runtime.RequiredError('settingsServiceUpdateLinkSettingBody', 'Required parameter "settingsServiceUpdateLinkSettingBody" was null or undefined when calling settingsServiceUpdateLinkSetting().');
107
+ }
108
+ const queryParameters = {};
109
+ const headerParameters = {};
110
+ headerParameters['Content-Type'] = 'application/json';
111
+ if (this.configuration && this.configuration.accessToken) {
112
+ const token = this.configuration.accessToken;
113
+ const tokenString = await token("bearerAuth", []);
114
+ if (tokenString) {
115
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
116
+ }
117
+ }
118
+ let urlPath = `/v1/settings/link-setting/{id}`;
119
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
120
+ return {
121
+ path: urlPath,
122
+ method: 'PUT',
123
+ headers: headerParameters,
124
+ query: queryParameters,
125
+ body: (0, index_1.SettingsServiceUpdateLinkSettingBodyToJSON)(requestParameters['settingsServiceUpdateLinkSettingBody']),
126
+ };
127
+ }
128
+ /**
129
+ * Adjust the data collection policy associated with a specific link.
130
+ * Update a link setting
131
+ */
132
+ async settingsServiceUpdateLinkSettingRaw(requestParameters, initOverrides) {
133
+ const requestOptions = await this.settingsServiceUpdateLinkSettingRequestOpts(requestParameters);
134
+ const response = await this.request(requestOptions, initOverrides);
135
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UpdateLinkSettingResponseFromJSON)(jsonValue));
136
+ }
137
+ /**
138
+ * Adjust the data collection policy associated with a specific link.
139
+ * Update a link setting
140
+ */
141
+ async settingsServiceUpdateLinkSetting(requestParameters, initOverrides) {
142
+ const response = await this.settingsServiceUpdateLinkSettingRaw(requestParameters, initOverrides);
143
+ return await response.value();
144
+ }
145
+ }
146
+ exports.LinkSettingsApi = LinkSettingsApi;
@@ -0,0 +1,431 @@
1
+ /**
2
+ * Linkbreakers API
3
+ * This is a documentation of all the APIs of Linkbreakers
4
+ *
5
+ * The version of the OpenAPI document: 1.34.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import type { CreateBulkLinksRequest, CreateBulkLinksResponse, CreateContactLinkRequest, CreateContactLinkResponse, CreateLinkRequest, CreateLinkResponse, GetLeadScoreExplanationResponse, GetLinkResponse, LinksServiceUpdateBody, ListLinksResponse, ShortlinkAvailabilityResponse, ShortlinkRandomResponse, UpdateLinkResponse } from '../models/index';
14
+ export interface LinksServiceCreateRequest {
15
+ createLinkRequest: CreateLinkRequest;
16
+ }
17
+ export interface LinksServiceCreateBulkRequest {
18
+ createBulkLinksRequest: CreateBulkLinksRequest;
19
+ }
20
+ export interface LinksServiceCreateContactLinkRequest {
21
+ createContactLinkRequest: CreateContactLinkRequest;
22
+ }
23
+ export interface LinksServiceDeleteRequest {
24
+ id: string;
25
+ }
26
+ export interface LinksServiceGetRequest {
27
+ id: string;
28
+ include?: Array<string>;
29
+ }
30
+ export interface LinksServiceGetLeadScoreExplanationRequest {
31
+ linkId: string;
32
+ eventId: string;
33
+ }
34
+ export interface LinksServiceListRequest {
35
+ pageSize: number;
36
+ pageToken?: string;
37
+ include?: Array<string>;
38
+ tags?: Array<string>;
39
+ search?: string;
40
+ sortBy?: string;
41
+ sortDirection?: string;
42
+ }
43
+ export interface LinksServiceShortlinkAvailabilityRequest {
44
+ shortlink?: string;
45
+ customDomainId?: string;
46
+ }
47
+ export interface LinksServiceUpdateRequest {
48
+ id: string;
49
+ linksServiceUpdateBody: LinksServiceUpdateBody;
50
+ }
51
+ /**
52
+ * LinksApi - interface
53
+ *
54
+ * @export
55
+ * @interface LinksApiInterface
56
+ */
57
+ export interface LinksApiInterface {
58
+ /**
59
+ * Creates request options for linksServiceCreate without sending the request
60
+ * @param {CreateLinkRequest} createLinkRequest
61
+ * @throws {RequiredError}
62
+ * @memberof LinksApiInterface
63
+ */
64
+ linksServiceCreateRequestOpts(requestParameters: LinksServiceCreateRequest): Promise<runtime.RequestOpts>;
65
+ /**
66
+ * This endpoint allows users to create a new shortened URL link in their Linkbreakers workspace. The URL will be checked for malicious content before being shortened.
67
+ * @summary Create a new link
68
+ * @param {CreateLinkRequest} createLinkRequest
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ * @memberof LinksApiInterface
72
+ */
73
+ linksServiceCreateRaw(requestParameters: LinksServiceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateLinkResponse>>;
74
+ /**
75
+ * This endpoint allows users to create a new shortened URL link in their Linkbreakers workspace. The URL will be checked for malicious content before being shortened.
76
+ * Create a new link
77
+ */
78
+ linksServiceCreate(requestParameters: LinksServiceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateLinkResponse>;
79
+ /**
80
+ * Creates request options for linksServiceCreateBulk without sending the request
81
+ * @param {CreateBulkLinksRequest} createBulkLinksRequest
82
+ * @throws {RequiredError}
83
+ * @memberof LinksApiInterface
84
+ */
85
+ linksServiceCreateBulkRequestOpts(requestParameters: LinksServiceCreateBulkRequest): Promise<runtime.RequestOpts>;
86
+ /**
87
+ * Creates links in batch using the same per-link options as Create. This operation is transactional: if one link fails validation or insertion, no links from the batch are created.
88
+ * @summary Create multiple links in a single request
89
+ * @param {CreateBulkLinksRequest} createBulkLinksRequest
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ * @memberof LinksApiInterface
93
+ */
94
+ linksServiceCreateBulkRaw(requestParameters: LinksServiceCreateBulkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateBulkLinksResponse>>;
95
+ /**
96
+ * Creates links in batch using the same per-link options as Create. This operation is transactional: if one link fails validation or insertion, no links from the batch are created.
97
+ * Create multiple links in a single request
98
+ */
99
+ linksServiceCreateBulk(requestParameters: LinksServiceCreateBulkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateBulkLinksResponse>;
100
+ /**
101
+ * Creates request options for linksServiceCreateContactLink without sending the request
102
+ * @param {CreateContactLinkRequest} createContactLinkRequest
103
+ * @throws {RequiredError}
104
+ * @memberof LinksApiInterface
105
+ */
106
+ linksServiceCreateContactLinkRequestOpts(requestParameters: LinksServiceCreateContactLinkRequest): Promise<runtime.RequestOpts>;
107
+ /**
108
+ * This endpoint allows users to create a new vCard contact link in their Linkbreakers workspace. The link will generate a vCard file for contact information sharing.
109
+ * @summary Create a new contact card link
110
+ * @param {CreateContactLinkRequest} createContactLinkRequest
111
+ * @param {*} [options] Override http request option.
112
+ * @throws {RequiredError}
113
+ * @memberof LinksApiInterface
114
+ */
115
+ linksServiceCreateContactLinkRaw(requestParameters: LinksServiceCreateContactLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateContactLinkResponse>>;
116
+ /**
117
+ * This endpoint allows users to create a new vCard contact link in their Linkbreakers workspace. The link will generate a vCard file for contact information sharing.
118
+ * Create a new contact card link
119
+ */
120
+ linksServiceCreateContactLink(requestParameters: LinksServiceCreateContactLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateContactLinkResponse>;
121
+ /**
122
+ * Creates request options for linksServiceDelete without sending the request
123
+ * @param {string} id The ID of the link to delete (UUID)
124
+ * @throws {RequiredError}
125
+ * @memberof LinksApiInterface
126
+ */
127
+ linksServiceDeleteRequestOpts(requestParameters: LinksServiceDeleteRequest): Promise<runtime.RequestOpts>;
128
+ /**
129
+ * Removes a shortened link from the workspace. This operation cannot be undone.
130
+ * @summary Delete a link
131
+ * @param {string} id The ID of the link to delete (UUID)
132
+ * @param {*} [options] Override http request option.
133
+ * @throws {RequiredError}
134
+ * @memberof LinksApiInterface
135
+ */
136
+ linksServiceDeleteRaw(requestParameters: LinksServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
137
+ /**
138
+ * Removes a shortened link from the workspace. This operation cannot be undone.
139
+ * Delete a link
140
+ */
141
+ linksServiceDelete(requestParameters: LinksServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
142
+ /**
143
+ * Creates request options for linksServiceGet without sending the request
144
+ * @param {string} id The ID of the link to retrieve (UUID)
145
+ * @param {Array<string>} [include] List of related resources to include in the response. Supported values: \&quot;customDomain\&quot;, \&quot;qrcodeDesign\&quot;, \&quot;qrcodeSignedUrl\&quot;, \&quot;tags\&quot;, \&quot;pageTheme\&quot;. Use \&quot;qrcodeSignedUrl\&quot; to fetch signed QR image URLs—they are omitted by default to keep requests fast.
146
+ * @throws {RequiredError}
147
+ * @memberof LinksApiInterface
148
+ */
149
+ linksServiceGetRequestOpts(requestParameters: LinksServiceGetRequest): Promise<runtime.RequestOpts>;
150
+ /**
151
+ * Retrieves information about a shortened link including its metadata and metrics.
152
+ * @summary Get link details
153
+ * @param {string} id The ID of the link to retrieve (UUID)
154
+ * @param {Array<string>} [include] List of related resources to include in the response. Supported values: \&quot;customDomain\&quot;, \&quot;qrcodeDesign\&quot;, \&quot;qrcodeSignedUrl\&quot;, \&quot;tags\&quot;, \&quot;pageTheme\&quot;. Use \&quot;qrcodeSignedUrl\&quot; to fetch signed QR image URLs—they are omitted by default to keep requests fast.
155
+ * @param {*} [options] Override http request option.
156
+ * @throws {RequiredError}
157
+ * @memberof LinksApiInterface
158
+ */
159
+ linksServiceGetRaw(requestParameters: LinksServiceGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetLinkResponse>>;
160
+ /**
161
+ * Retrieves information about a shortened link including its metadata and metrics.
162
+ * Get link details
163
+ */
164
+ linksServiceGet(requestParameters: LinksServiceGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetLinkResponse>;
165
+ /**
166
+ * Creates request options for linksServiceGetLeadScoreExplanation without sending the request
167
+ * @param {string} linkId The ID of the link (UUID)
168
+ * @param {string} eventId The ID of the event for which to generate the explanation (UUID)
169
+ * @throws {RequiredError}
170
+ * @memberof LinksApiInterface
171
+ */
172
+ linksServiceGetLeadScoreExplanationRequestOpts(requestParameters: LinksServiceGetLeadScoreExplanationRequest): Promise<runtime.RequestOpts>;
173
+ /**
174
+ * Generates an AI-powered explanation for a lead score result based on event data.
175
+ * @summary Get lead score explanation
176
+ * @param {string} linkId The ID of the link (UUID)
177
+ * @param {string} eventId The ID of the event for which to generate the explanation (UUID)
178
+ * @param {*} [options] Override http request option.
179
+ * @throws {RequiredError}
180
+ * @memberof LinksApiInterface
181
+ */
182
+ linksServiceGetLeadScoreExplanationRaw(requestParameters: LinksServiceGetLeadScoreExplanationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetLeadScoreExplanationResponse>>;
183
+ /**
184
+ * Generates an AI-powered explanation for a lead score result based on event data.
185
+ * Get lead score explanation
186
+ */
187
+ linksServiceGetLeadScoreExplanation(requestParameters: LinksServiceGetLeadScoreExplanationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetLeadScoreExplanationResponse>;
188
+ /**
189
+ * Creates request options for linksServiceList without sending the request
190
+ * @param {number} pageSize The maximum number of links to return.
191
+ * @param {string} [pageToken] The token for retrieving the next page of results If not provided, the first page of results will be returned
192
+ * @param {Array<string>} [include] List of related resources to include in the response. Supported values: \&quot;customDomain\&quot;, \&quot;qrcodeDesign\&quot;, \&quot;qrcodeSignedUrl\&quot;, \&quot;tags\&quot;, \&quot;pageTheme\&quot;. Use \&quot;qrcodeSignedUrl\&quot; to fetch signed QR image URLs—they are omitted by default to keep requests fast.
193
+ * @param {Array<string>} [tags] Tags to filter links by (matches links containing any of the provided tags)
194
+ * @param {string} [search] Search query to filter links by name or shortlink Search query to filter links by name or shortlink
195
+ * @param {string} [sortBy] Field to sort links by (defaults to updated_at if not specified) Field to sort links by - LINK_SORT_FIELD_UNSPECIFIED: Sort field not specified (defaults to updated_at) - LINK_SORT_FIELD_CREATED_AT: Sort by creation date - LINK_SORT_FIELD_UPDATED_AT: Sort by last update date - LINK_SORT_FIELD_SHORTLINK: Sort by shortlink name - LINK_SORT_FIELD_NAME: Sort by link name - LINK_SORT_FIELD_EVENT_COUNT: Sort by event count
196
+ * @param {string} [sortDirection] Sort direction (defaults to descending if not specified) Sort direction (ascending or descending) - SORT_DIRECTION_UNSPECIFIED: Sort direction not specified (defaults to descending) - SORT_DIRECTION_ASC: Sort in ascending order - SORT_DIRECTION_DESC: Sort in descending order
197
+ * @throws {RequiredError}
198
+ * @memberof LinksApiInterface
199
+ */
200
+ linksServiceListRequestOpts(requestParameters: LinksServiceListRequest): Promise<runtime.RequestOpts>;
201
+ /**
202
+ * Retrieves the shortened links for your workspace
203
+ * @summary List links
204
+ * @param {number} pageSize The maximum number of links to return.
205
+ * @param {string} [pageToken] The token for retrieving the next page of results If not provided, the first page of results will be returned
206
+ * @param {Array<string>} [include] List of related resources to include in the response. Supported values: \&quot;customDomain\&quot;, \&quot;qrcodeDesign\&quot;, \&quot;qrcodeSignedUrl\&quot;, \&quot;tags\&quot;, \&quot;pageTheme\&quot;. Use \&quot;qrcodeSignedUrl\&quot; to fetch signed QR image URLs—they are omitted by default to keep requests fast.
207
+ * @param {Array<string>} [tags] Tags to filter links by (matches links containing any of the provided tags)
208
+ * @param {string} [search] Search query to filter links by name or shortlink Search query to filter links by name or shortlink
209
+ * @param {string} [sortBy] Field to sort links by (defaults to updated_at if not specified) Field to sort links by - LINK_SORT_FIELD_UNSPECIFIED: Sort field not specified (defaults to updated_at) - LINK_SORT_FIELD_CREATED_AT: Sort by creation date - LINK_SORT_FIELD_UPDATED_AT: Sort by last update date - LINK_SORT_FIELD_SHORTLINK: Sort by shortlink name - LINK_SORT_FIELD_NAME: Sort by link name - LINK_SORT_FIELD_EVENT_COUNT: Sort by event count
210
+ * @param {string} [sortDirection] Sort direction (defaults to descending if not specified) Sort direction (ascending or descending) - SORT_DIRECTION_UNSPECIFIED: Sort direction not specified (defaults to descending) - SORT_DIRECTION_ASC: Sort in ascending order - SORT_DIRECTION_DESC: Sort in descending order
211
+ * @param {*} [options] Override http request option.
212
+ * @throws {RequiredError}
213
+ * @memberof LinksApiInterface
214
+ */
215
+ linksServiceListRaw(requestParameters: LinksServiceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListLinksResponse>>;
216
+ /**
217
+ * Retrieves the shortened links for your workspace
218
+ * List links
219
+ */
220
+ linksServiceList(requestParameters: LinksServiceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListLinksResponse>;
221
+ /**
222
+ * Creates request options for linksServiceShortlinkAvailability without sending the request
223
+ * @param {string} [shortlink] The shortlink to check availability for.
224
+ * @param {string} [customDomainId] The ID of the custom domain to check against (UUID) If not provided, checks against the default domain
225
+ * @throws {RequiredError}
226
+ * @memberof LinksApiInterface
227
+ */
228
+ linksServiceShortlinkAvailabilityRequestOpts(requestParameters: LinksServiceShortlinkAvailabilityRequest): Promise<runtime.RequestOpts>;
229
+ /**
230
+ * Checks if a shortlink is available for use to create a new link. A custom domain can be provided to check against. It typically checks the shortlink slugs and shortlink IDs already present within the system.
231
+ * @summary Check shortlink availability
232
+ * @param {string} [shortlink] The shortlink to check availability for.
233
+ * @param {string} [customDomainId] The ID of the custom domain to check against (UUID) If not provided, checks against the default domain
234
+ * @param {*} [options] Override http request option.
235
+ * @throws {RequiredError}
236
+ * @memberof LinksApiInterface
237
+ */
238
+ linksServiceShortlinkAvailabilityRaw(requestParameters: LinksServiceShortlinkAvailabilityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ShortlinkAvailabilityResponse>>;
239
+ /**
240
+ * Checks if a shortlink is available for use to create a new link. A custom domain can be provided to check against. It typically checks the shortlink slugs and shortlink IDs already present within the system.
241
+ * Check shortlink availability
242
+ */
243
+ linksServiceShortlinkAvailability(requestParameters: LinksServiceShortlinkAvailabilityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ShortlinkAvailabilityResponse>;
244
+ /**
245
+ * Creates request options for linksServiceShortlinkRandom without sending the request
246
+ * @throws {RequiredError}
247
+ * @memberof LinksApiInterface
248
+ */
249
+ linksServiceShortlinkRandomRequestOpts(): Promise<runtime.RequestOpts>;
250
+ /**
251
+ * Generates a random availableshortlink for a new link.
252
+ * @summary Get a random shortlink
253
+ * @param {*} [options] Override http request option.
254
+ * @throws {RequiredError}
255
+ * @memberof LinksApiInterface
256
+ */
257
+ linksServiceShortlinkRandomRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ShortlinkRandomResponse>>;
258
+ /**
259
+ * Generates a random availableshortlink for a new link.
260
+ * Get a random shortlink
261
+ */
262
+ linksServiceShortlinkRandom(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ShortlinkRandomResponse>;
263
+ /**
264
+ * Creates request options for linksServiceUpdate without sending the request
265
+ * @param {string} id The ID of the link to update (UUID)
266
+ * @param {LinksServiceUpdateBody} linksServiceUpdateBody
267
+ * @throws {RequiredError}
268
+ * @memberof LinksApiInterface
269
+ */
270
+ linksServiceUpdateRequestOpts(requestParameters: LinksServiceUpdateRequest): Promise<runtime.RequestOpts>;
271
+ /**
272
+ * Updates an existing shortened link in your Linkbreakers workspace.
273
+ * @summary Update a link
274
+ * @param {string} id The ID of the link to update (UUID)
275
+ * @param {LinksServiceUpdateBody} linksServiceUpdateBody
276
+ * @param {*} [options] Override http request option.
277
+ * @throws {RequiredError}
278
+ * @memberof LinksApiInterface
279
+ */
280
+ linksServiceUpdateRaw(requestParameters: LinksServiceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UpdateLinkResponse>>;
281
+ /**
282
+ * Updates an existing shortened link in your Linkbreakers workspace.
283
+ * Update a link
284
+ */
285
+ linksServiceUpdate(requestParameters: LinksServiceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UpdateLinkResponse>;
286
+ }
287
+ /**
288
+ *
289
+ */
290
+ export declare class LinksApi extends runtime.BaseAPI implements LinksApiInterface {
291
+ /**
292
+ * Creates request options for linksServiceCreate without sending the request
293
+ */
294
+ linksServiceCreateRequestOpts(requestParameters: LinksServiceCreateRequest): Promise<runtime.RequestOpts>;
295
+ /**
296
+ * This endpoint allows users to create a new shortened URL link in their Linkbreakers workspace. The URL will be checked for malicious content before being shortened.
297
+ * Create a new link
298
+ */
299
+ linksServiceCreateRaw(requestParameters: LinksServiceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateLinkResponse>>;
300
+ /**
301
+ * This endpoint allows users to create a new shortened URL link in their Linkbreakers workspace. The URL will be checked for malicious content before being shortened.
302
+ * Create a new link
303
+ */
304
+ linksServiceCreate(requestParameters: LinksServiceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateLinkResponse>;
305
+ /**
306
+ * Creates request options for linksServiceCreateBulk without sending the request
307
+ */
308
+ linksServiceCreateBulkRequestOpts(requestParameters: LinksServiceCreateBulkRequest): Promise<runtime.RequestOpts>;
309
+ /**
310
+ * Creates links in batch using the same per-link options as Create. This operation is transactional: if one link fails validation or insertion, no links from the batch are created.
311
+ * Create multiple links in a single request
312
+ */
313
+ linksServiceCreateBulkRaw(requestParameters: LinksServiceCreateBulkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateBulkLinksResponse>>;
314
+ /**
315
+ * Creates links in batch using the same per-link options as Create. This operation is transactional: if one link fails validation or insertion, no links from the batch are created.
316
+ * Create multiple links in a single request
317
+ */
318
+ linksServiceCreateBulk(requestParameters: LinksServiceCreateBulkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateBulkLinksResponse>;
319
+ /**
320
+ * Creates request options for linksServiceCreateContactLink without sending the request
321
+ */
322
+ linksServiceCreateContactLinkRequestOpts(requestParameters: LinksServiceCreateContactLinkRequest): Promise<runtime.RequestOpts>;
323
+ /**
324
+ * This endpoint allows users to create a new vCard contact link in their Linkbreakers workspace. The link will generate a vCard file for contact information sharing.
325
+ * Create a new contact card link
326
+ */
327
+ linksServiceCreateContactLinkRaw(requestParameters: LinksServiceCreateContactLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateContactLinkResponse>>;
328
+ /**
329
+ * This endpoint allows users to create a new vCard contact link in their Linkbreakers workspace. The link will generate a vCard file for contact information sharing.
330
+ * Create a new contact card link
331
+ */
332
+ linksServiceCreateContactLink(requestParameters: LinksServiceCreateContactLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateContactLinkResponse>;
333
+ /**
334
+ * Creates request options for linksServiceDelete without sending the request
335
+ */
336
+ linksServiceDeleteRequestOpts(requestParameters: LinksServiceDeleteRequest): Promise<runtime.RequestOpts>;
337
+ /**
338
+ * Removes a shortened link from the workspace. This operation cannot be undone.
339
+ * Delete a link
340
+ */
341
+ linksServiceDeleteRaw(requestParameters: LinksServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
342
+ /**
343
+ * Removes a shortened link from the workspace. This operation cannot be undone.
344
+ * Delete a link
345
+ */
346
+ linksServiceDelete(requestParameters: LinksServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
347
+ /**
348
+ * Creates request options for linksServiceGet without sending the request
349
+ */
350
+ linksServiceGetRequestOpts(requestParameters: LinksServiceGetRequest): Promise<runtime.RequestOpts>;
351
+ /**
352
+ * Retrieves information about a shortened link including its metadata and metrics.
353
+ * Get link details
354
+ */
355
+ linksServiceGetRaw(requestParameters: LinksServiceGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetLinkResponse>>;
356
+ /**
357
+ * Retrieves information about a shortened link including its metadata and metrics.
358
+ * Get link details
359
+ */
360
+ linksServiceGet(requestParameters: LinksServiceGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetLinkResponse>;
361
+ /**
362
+ * Creates request options for linksServiceGetLeadScoreExplanation without sending the request
363
+ */
364
+ linksServiceGetLeadScoreExplanationRequestOpts(requestParameters: LinksServiceGetLeadScoreExplanationRequest): Promise<runtime.RequestOpts>;
365
+ /**
366
+ * Generates an AI-powered explanation for a lead score result based on event data.
367
+ * Get lead score explanation
368
+ */
369
+ linksServiceGetLeadScoreExplanationRaw(requestParameters: LinksServiceGetLeadScoreExplanationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetLeadScoreExplanationResponse>>;
370
+ /**
371
+ * Generates an AI-powered explanation for a lead score result based on event data.
372
+ * Get lead score explanation
373
+ */
374
+ linksServiceGetLeadScoreExplanation(requestParameters: LinksServiceGetLeadScoreExplanationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetLeadScoreExplanationResponse>;
375
+ /**
376
+ * Creates request options for linksServiceList without sending the request
377
+ */
378
+ linksServiceListRequestOpts(requestParameters: LinksServiceListRequest): Promise<runtime.RequestOpts>;
379
+ /**
380
+ * Retrieves the shortened links for your workspace
381
+ * List links
382
+ */
383
+ linksServiceListRaw(requestParameters: LinksServiceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListLinksResponse>>;
384
+ /**
385
+ * Retrieves the shortened links for your workspace
386
+ * List links
387
+ */
388
+ linksServiceList(requestParameters: LinksServiceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListLinksResponse>;
389
+ /**
390
+ * Creates request options for linksServiceShortlinkAvailability without sending the request
391
+ */
392
+ linksServiceShortlinkAvailabilityRequestOpts(requestParameters: LinksServiceShortlinkAvailabilityRequest): Promise<runtime.RequestOpts>;
393
+ /**
394
+ * Checks if a shortlink is available for use to create a new link. A custom domain can be provided to check against. It typically checks the shortlink slugs and shortlink IDs already present within the system.
395
+ * Check shortlink availability
396
+ */
397
+ linksServiceShortlinkAvailabilityRaw(requestParameters: LinksServiceShortlinkAvailabilityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ShortlinkAvailabilityResponse>>;
398
+ /**
399
+ * Checks if a shortlink is available for use to create a new link. A custom domain can be provided to check against. It typically checks the shortlink slugs and shortlink IDs already present within the system.
400
+ * Check shortlink availability
401
+ */
402
+ linksServiceShortlinkAvailability(requestParameters?: LinksServiceShortlinkAvailabilityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ShortlinkAvailabilityResponse>;
403
+ /**
404
+ * Creates request options for linksServiceShortlinkRandom without sending the request
405
+ */
406
+ linksServiceShortlinkRandomRequestOpts(): Promise<runtime.RequestOpts>;
407
+ /**
408
+ * Generates a random availableshortlink for a new link.
409
+ * Get a random shortlink
410
+ */
411
+ linksServiceShortlinkRandomRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ShortlinkRandomResponse>>;
412
+ /**
413
+ * Generates a random availableshortlink for a new link.
414
+ * Get a random shortlink
415
+ */
416
+ linksServiceShortlinkRandom(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ShortlinkRandomResponse>;
417
+ /**
418
+ * Creates request options for linksServiceUpdate without sending the request
419
+ */
420
+ linksServiceUpdateRequestOpts(requestParameters: LinksServiceUpdateRequest): Promise<runtime.RequestOpts>;
421
+ /**
422
+ * Updates an existing shortened link in your Linkbreakers workspace.
423
+ * Update a link
424
+ */
425
+ linksServiceUpdateRaw(requestParameters: LinksServiceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UpdateLinkResponse>>;
426
+ /**
427
+ * Updates an existing shortened link in your Linkbreakers workspace.
428
+ * Update a link
429
+ */
430
+ linksServiceUpdate(requestParameters: LinksServiceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UpdateLinkResponse>;
431
+ }