linkbreakers 1.144.0 → 1.146.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 (941) hide show
  1. package/dist/apis/APIScopesApi.d.ts +59 -0
  2. package/dist/apis/APIScopesApi.js +88 -0
  3. package/dist/apis/AnalyticsDashboardApi.d.ts +25 -16
  4. package/dist/apis/AnalyticsDashboardApi.js +43 -13
  5. package/dist/apis/AnalyticsDataApi.d.ts +45 -45
  6. package/dist/apis/AnalyticsDataApi.js +78 -34
  7. package/dist/apis/AssistantApi.d.ts +17 -17
  8. package/dist/apis/AssistantApi.js +29 -13
  9. package/dist/apis/CustomDomainsApi.d.ts +33 -33
  10. package/dist/apis/CustomDomainsApi.js +57 -25
  11. package/dist/apis/DirectoriesApi.d.ts +21 -21
  12. package/dist/apis/DirectoriesApi.js +36 -16
  13. package/dist/apis/EventsApi.d.ts +9 -9
  14. package/dist/apis/EventsApi.js +15 -7
  15. package/dist/apis/GoogleFormsIntegrationsApi.d.ts +29 -29
  16. package/dist/apis/GoogleFormsIntegrationsApi.js +50 -22
  17. package/dist/apis/IntegrationsServiceApi.d.ts +1 -1
  18. package/dist/apis/IntegrationsServiceApi.js +1 -8
  19. package/dist/apis/LinkSettingsApi.d.ts +9 -9
  20. package/dist/apis/LinkSettingsApi.js +15 -7
  21. package/dist/apis/LinksApi.d.ts +45 -45
  22. package/dist/apis/LinksApi.js +78 -34
  23. package/dist/apis/MediaApi.d.ts +17 -17
  24. package/dist/apis/MediaApi.js +29 -13
  25. package/dist/apis/MembersApi.d.ts +41 -41
  26. package/dist/apis/MembersApi.js +71 -31
  27. package/dist/apis/PageThemeTemplatesApi.d.ts +37 -37
  28. package/dist/apis/PageThemeTemplatesApi.js +64 -42
  29. package/dist/apis/PageThemesApi.d.ts +21 -21
  30. package/dist/apis/PageThemesApi.js +36 -16
  31. package/dist/apis/PricingApi.d.ts +59 -0
  32. package/dist/apis/PricingApi.js +88 -0
  33. package/dist/apis/QRCodeDesignsApi.d.ts +17 -17
  34. package/dist/apis/QRCodeDesignsApi.js +29 -20
  35. package/dist/apis/QRCodeTemplatesApi.d.ts +33 -33
  36. package/dist/apis/QRCodeTemplatesApi.js +57 -39
  37. package/dist/apis/SlackIntegrationsApi.d.ts +29 -29
  38. package/dist/apis/SlackIntegrationsApi.js +50 -22
  39. package/dist/apis/TagsApi.d.ts +9 -9
  40. package/dist/apis/TagsApi.js +15 -7
  41. package/dist/apis/TimeSeriesApi.d.ts +5 -2
  42. package/dist/apis/TimeSeriesApi.js +8 -2
  43. package/dist/apis/VisitorsApi.d.ts +33 -33
  44. package/dist/apis/VisitorsApi.js +57 -25
  45. package/dist/apis/WebhooksApi.d.ts +21 -21
  46. package/dist/apis/WebhooksApi.js +36 -16
  47. package/dist/apis/WorkflowStepsApi.d.ts +41 -38
  48. package/dist/apis/WorkflowStepsApi.js +71 -29
  49. package/dist/apis/WorkspaceMetricsApi.d.ts +13 -13
  50. package/dist/apis/WorkspaceMetricsApi.js +22 -10
  51. package/dist/apis/WorkspaceTokensApi.d.ts +59 -18
  52. package/dist/apis/WorkspaceTokensApi.js +80 -13
  53. package/dist/apis/WorkspacesApi.d.ts +29 -29
  54. package/dist/apis/WorkspacesApi.js +50 -29
  55. package/dist/apis/index.d.ts +2 -0
  56. package/dist/apis/index.js +2 -0
  57. package/dist/models/Action.d.ts +1 -1
  58. package/dist/models/Action.js +1 -1
  59. package/dist/models/AnalyticsDashboard.d.ts +1 -1
  60. package/dist/models/AnalyticsDashboard.js +1 -1
  61. package/dist/models/AnalyticsDashboardServiceGenerateWidgetSummaryBody.d.ts +1 -1
  62. package/dist/models/AnalyticsDashboardServiceGenerateWidgetSummaryBody.js +1 -1
  63. package/dist/models/AnalyticsDashboardServiceUpdateDashboardBody.d.ts +1 -1
  64. package/dist/models/AnalyticsDashboardServiceUpdateDashboardBody.js +1 -1
  65. package/dist/models/AnalyticsWidgetResult.d.ts +1 -1
  66. package/dist/models/AnalyticsWidgetResult.js +1 -1
  67. package/dist/models/ApiScope.d.ts +86 -0
  68. package/dist/models/ApiScope.js +112 -0
  69. package/dist/models/ApiScopeAccess.d.ts +30 -0
  70. package/dist/models/ApiScopeAccess.js +56 -0
  71. package/dist/models/ApiScopeInfo.d.ts +58 -0
  72. package/dist/models/ApiScopeInfo.js +58 -0
  73. package/dist/models/ApiTag.d.ts +1 -1
  74. package/dist/models/ApiTag.js +1 -1
  75. package/dist/models/ApplyPageThemeTemplateRequest.d.ts +1 -1
  76. package/dist/models/ApplyPageThemeTemplateRequest.js +1 -1
  77. package/dist/models/ApplyPageThemeTemplateResponse.d.ts +1 -1
  78. package/dist/models/ApplyPageThemeTemplateResponse.js +1 -1
  79. package/dist/models/ApplyQrcodeTemplateRequest.d.ts +1 -1
  80. package/dist/models/ApplyQrcodeTemplateRequest.js +1 -1
  81. package/dist/models/ApplyQrcodeTemplateResponse.d.ts +1 -1
  82. package/dist/models/ApplyQrcodeTemplateResponse.js +1 -1
  83. package/dist/models/AssistantContextType.d.ts +1 -1
  84. package/dist/models/AssistantContextType.js +1 -1
  85. package/dist/models/AssistantDisplayMessage.d.ts +1 -1
  86. package/dist/models/AssistantDisplayMessage.js +1 -1
  87. package/dist/models/AssistantDisplayMessageAttachment.d.ts +1 -1
  88. package/dist/models/AssistantDisplayMessageAttachment.js +1 -1
  89. package/dist/models/AssistantGetConversationResponse.d.ts +1 -1
  90. package/dist/models/AssistantGetConversationResponse.js +1 -1
  91. package/dist/models/AssistantMarkConversationReadRequest.d.ts +1 -1
  92. package/dist/models/AssistantMarkConversationReadRequest.js +1 -1
  93. package/dist/models/AssistantMarkConversationReadResponse.d.ts +1 -1
  94. package/dist/models/AssistantMarkConversationReadResponse.js +1 -1
  95. package/dist/models/AssistantUploadFileRequest.d.ts +1 -1
  96. package/dist/models/AssistantUploadFileRequest.js +1 -1
  97. package/dist/models/AssistantUploadFileResponse.d.ts +1 -1
  98. package/dist/models/AssistantUploadFileResponse.js +1 -1
  99. package/dist/models/AttributeCapture.d.ts +1 -1
  100. package/dist/models/AttributeCapture.js +1 -1
  101. package/dist/models/AttributeValueDataPoint.d.ts +1 -1
  102. package/dist/models/AttributeValueDataPoint.js +1 -1
  103. package/dist/models/AttributeValueEntry.d.ts +1 -1
  104. package/dist/models/AttributeValueEntry.js +1 -1
  105. package/dist/models/AttributeWrite.d.ts +1 -1
  106. package/dist/models/AttributeWrite.js +1 -1
  107. package/dist/models/AttributeWriteMode.d.ts +1 -1
  108. package/dist/models/AttributeWriteMode.js +1 -1
  109. package/dist/models/AutoLayoutWorkflowResponse.d.ts +1 -1
  110. package/dist/models/AutoLayoutWorkflowResponse.js +1 -1
  111. package/dist/models/BackgroundOptions.d.ts +1 -1
  112. package/dist/models/BackgroundOptions.js +1 -1
  113. package/dist/models/BillingInterval.d.ts +30 -0
  114. package/dist/models/BillingInterval.js +56 -0
  115. package/dist/models/BreakdownDataPoint.d.ts +1 -1
  116. package/dist/models/BreakdownDataPoint.js +1 -1
  117. package/dist/models/CanvasPosition.d.ts +1 -1
  118. package/dist/models/CanvasPosition.js +1 -1
  119. package/dist/models/ChatDisplayMessage.d.ts +1 -1
  120. package/dist/models/ChatDisplayMessage.js +1 -1
  121. package/dist/models/ChatUIAction.d.ts +1 -1
  122. package/dist/models/ChatUIAction.js +1 -1
  123. package/dist/models/ChatUIOption.d.ts +1 -1
  124. package/dist/models/ChatUIOption.js +1 -1
  125. package/dist/models/CheckCustomDomainResponse.d.ts +1 -1
  126. package/dist/models/CheckCustomDomainResponse.js +1 -1
  127. package/dist/models/ClientRedirectPayload.d.ts +1 -1
  128. package/dist/models/ClientRedirectPayload.js +1 -1
  129. package/dist/models/CompleteGoogleFormsOAuthRequest.d.ts +1 -1
  130. package/dist/models/CompleteGoogleFormsOAuthRequest.js +1 -1
  131. package/dist/models/CompleteGoogleFormsOAuthResponse.d.ts +1 -1
  132. package/dist/models/CompleteGoogleFormsOAuthResponse.js +1 -1
  133. package/dist/models/CompleteSlackOAuthRequest.d.ts +1 -1
  134. package/dist/models/CompleteSlackOAuthRequest.js +1 -1
  135. package/dist/models/CompleteSlackOAuthResponse.d.ts +1 -1
  136. package/dist/models/CompleteSlackOAuthResponse.js +1 -1
  137. package/dist/models/ConnectWorkflowStepResponse.d.ts +1 -1
  138. package/dist/models/ConnectWorkflowStepResponse.js +1 -1
  139. package/dist/models/ContactCardTraceCard.d.ts +1 -1
  140. package/dist/models/ContactCardTraceCard.js +1 -1
  141. package/dist/models/ContactCardTraceData.d.ts +1 -1
  142. package/dist/models/ContactCardTraceData.js +1 -1
  143. package/dist/models/ContainerConfig.d.ts +1 -1
  144. package/dist/models/ContainerConfig.js +1 -1
  145. package/dist/models/CornersDotOptions.d.ts +1 -1
  146. package/dist/models/CornersDotOptions.js +1 -1
  147. package/dist/models/CornersDotType.d.ts +1 -1
  148. package/dist/models/CornersDotType.js +1 -1
  149. package/dist/models/CornersSquareOptions.d.ts +1 -1
  150. package/dist/models/CornersSquareOptions.js +1 -1
  151. package/dist/models/CornersSquareType.d.ts +1 -1
  152. package/dist/models/CornersSquareType.js +1 -1
  153. package/dist/models/CountryConditionOutcome.d.ts +1 -1
  154. package/dist/models/CountryConditionOutcome.js +1 -1
  155. package/dist/models/CountryConditionPayload.d.ts +1 -1
  156. package/dist/models/CountryConditionPayload.js +1 -1
  157. package/dist/models/CountryConditionTraceData.d.ts +1 -1
  158. package/dist/models/CountryConditionTraceData.js +1 -1
  159. package/dist/models/CountryConditionTraceOption.d.ts +1 -1
  160. package/dist/models/CountryConditionTraceOption.js +1 -1
  161. package/dist/models/CreateBulkLinksRequest.d.ts +1 -1
  162. package/dist/models/CreateBulkLinksRequest.js +1 -1
  163. package/dist/models/CreateBulkLinksResponse.d.ts +1 -1
  164. package/dist/models/CreateBulkLinksResponse.js +1 -1
  165. package/dist/models/CreateContactLinkRequest.d.ts +1 -1
  166. package/dist/models/CreateContactLinkRequest.js +1 -1
  167. package/dist/models/CreateContactLinkResponse.d.ts +1 -1
  168. package/dist/models/CreateContactLinkResponse.js +1 -1
  169. package/dist/models/CreateCustomDomainRequest.d.ts +1 -1
  170. package/dist/models/CreateCustomDomainRequest.js +1 -1
  171. package/dist/models/CreateCustomDomainResponse.d.ts +1 -1
  172. package/dist/models/CreateCustomDomainResponse.js +1 -1
  173. package/dist/models/CreateDashboardRequest.d.ts +1 -1
  174. package/dist/models/CreateDashboardRequest.js +1 -1
  175. package/dist/models/CreateDashboardResponse.d.ts +1 -1
  176. package/dist/models/CreateDashboardResponse.js +1 -1
  177. package/dist/models/CreateDirectoryRequest.d.ts +1 -1
  178. package/dist/models/CreateDirectoryRequest.js +1 -1
  179. package/dist/models/CreateDirectoryResponse.d.ts +1 -1
  180. package/dist/models/CreateDirectoryResponse.js +1 -1
  181. package/dist/models/CreateEventTraceResponse.d.ts +1 -1
  182. package/dist/models/CreateEventTraceResponse.js +1 -1
  183. package/dist/models/CreateLinkRequest.d.ts +1 -1
  184. package/dist/models/CreateLinkRequest.js +1 -1
  185. package/dist/models/CreateLinkResponse.d.ts +1 -1
  186. package/dist/models/CreateLinkResponse.js +1 -1
  187. package/dist/models/CreateMediaRequest.d.ts +1 -1
  188. package/dist/models/CreateMediaRequest.js +1 -1
  189. package/dist/models/CreateMediaResponse.d.ts +1 -1
  190. package/dist/models/CreateMediaResponse.js +1 -1
  191. package/dist/models/CreatePageThemeTemplateRequest.d.ts +1 -1
  192. package/dist/models/CreatePageThemeTemplateRequest.js +1 -1
  193. package/dist/models/CreatePageThemeTemplateResponse.d.ts +1 -1
  194. package/dist/models/CreatePageThemeTemplateResponse.js +1 -1
  195. package/dist/models/CreateQrcodeTemplateRequest.d.ts +1 -1
  196. package/dist/models/CreateQrcodeTemplateRequest.js +1 -1
  197. package/dist/models/CreateQrcodeTemplateResponse.d.ts +1 -1
  198. package/dist/models/CreateQrcodeTemplateResponse.js +1 -1
  199. package/dist/models/CreateThankYouLinkRequest.d.ts +1 -1
  200. package/dist/models/CreateThankYouLinkRequest.js +1 -1
  201. package/dist/models/CreateThankYouLinkResponse.d.ts +1 -1
  202. package/dist/models/CreateThankYouLinkResponse.js +1 -1
  203. package/dist/models/CreateWebhookRequest.d.ts +1 -1
  204. package/dist/models/CreateWebhookRequest.js +1 -1
  205. package/dist/models/CreateWebhookResponse.d.ts +1 -1
  206. package/dist/models/CreateWebhookResponse.js +1 -1
  207. package/dist/models/CreateWorkflowStepResponse.d.ts +1 -1
  208. package/dist/models/CreateWorkflowStepResponse.js +1 -1
  209. package/dist/models/CreateWorkspaceTokenRequest.d.ts +10 -1
  210. package/dist/models/CreateWorkspaceTokenRequest.js +4 -1
  211. package/dist/models/CreateWorkspaceTokenResponse.d.ts +1 -1
  212. package/dist/models/CreateWorkspaceTokenResponse.js +1 -1
  213. package/dist/models/CreditTopup.d.ts +39 -0
  214. package/dist/models/CreditTopup.js +51 -0
  215. package/dist/models/CustomDomain.d.ts +1 -1
  216. package/dist/models/CustomDomain.js +1 -1
  217. package/dist/models/CustomDomainDnsRecord.d.ts +1 -1
  218. package/dist/models/CustomDomainDnsRecord.js +1 -1
  219. package/dist/models/CustomDomainOneClickSetup.d.ts +1 -1
  220. package/dist/models/CustomDomainOneClickSetup.js +1 -1
  221. package/dist/models/CustomDomainSetupGuide.d.ts +1 -1
  222. package/dist/models/CustomDomainSetupGuide.js +1 -1
  223. package/dist/models/CustomDomainSetupHint.d.ts +1 -1
  224. package/dist/models/CustomDomainSetupHint.js +1 -1
  225. package/dist/models/CustomDomainStatus.d.ts +1 -1
  226. package/dist/models/CustomDomainStatus.js +1 -1
  227. package/dist/models/CustomDomainsServiceUpdateBody.d.ts +1 -1
  228. package/dist/models/CustomDomainsServiceUpdateBody.js +1 -1
  229. package/dist/models/DashboardConfig.d.ts +1 -1
  230. package/dist/models/DashboardConfig.js +1 -1
  231. package/dist/models/DashboardScope.d.ts +1 -1
  232. package/dist/models/DashboardScope.js +1 -1
  233. package/dist/models/DashboardWidget.d.ts +1 -1
  234. package/dist/models/DashboardWidget.js +1 -1
  235. package/dist/models/DataCollection.d.ts +1 -1
  236. package/dist/models/DataCollection.js +1 -1
  237. package/dist/models/DayOfMonthConditionPayload.d.ts +1 -1
  238. package/dist/models/DayOfMonthConditionPayload.js +1 -1
  239. package/dist/models/DayOfMonthConditionTraceData.d.ts +1 -1
  240. package/dist/models/DayOfMonthConditionTraceData.js +1 -1
  241. package/dist/models/DayOfMonthConditionTraceOption.d.ts +1 -1
  242. package/dist/models/DayOfMonthConditionTraceOption.js +1 -1
  243. package/dist/models/DayOfMonthOption.d.ts +1 -1
  244. package/dist/models/DayOfMonthOption.js +1 -1
  245. package/dist/models/DayOfWeekConditionPayload.d.ts +1 -1
  246. package/dist/models/DayOfWeekConditionPayload.js +1 -1
  247. package/dist/models/DayOfWeekConditionTraceData.d.ts +1 -1
  248. package/dist/models/DayOfWeekConditionTraceData.js +1 -1
  249. package/dist/models/DayOfWeekConditionTraceOption.d.ts +1 -1
  250. package/dist/models/DayOfWeekConditionTraceOption.js +1 -1
  251. package/dist/models/DayOfWeekOption.d.ts +1 -1
  252. package/dist/models/DayOfWeekOption.js +1 -1
  253. package/dist/models/DeleteAttributeResponse.d.ts +1 -1
  254. package/dist/models/DeleteAttributeResponse.js +1 -1
  255. package/dist/models/DeleteVisitorResponse.d.ts +1 -1
  256. package/dist/models/DeleteVisitorResponse.js +1 -1
  257. package/dist/models/DetectedGoogleForm.d.ts +1 -1
  258. package/dist/models/DetectedGoogleForm.js +1 -1
  259. package/dist/models/Device.d.ts +1 -1
  260. package/dist/models/Device.js +1 -1
  261. package/dist/models/DeviceActor.d.ts +1 -1
  262. package/dist/models/DeviceActor.js +1 -1
  263. package/dist/models/DeviceActorConditionOption.d.ts +1 -1
  264. package/dist/models/DeviceActorConditionOption.js +1 -1
  265. package/dist/models/DeviceActorConditionPayload.d.ts +1 -1
  266. package/dist/models/DeviceActorConditionPayload.js +1 -1
  267. package/dist/models/DeviceActorConditionTraceData.d.ts +1 -1
  268. package/dist/models/DeviceActorConditionTraceData.js +1 -1
  269. package/dist/models/DeviceActorConditionTraceOption.d.ts +1 -1
  270. package/dist/models/DeviceActorConditionTraceOption.js +1 -1
  271. package/dist/models/DeviceActorConditionValue.d.ts +1 -1
  272. package/dist/models/DeviceActorConditionValue.js +1 -1
  273. package/dist/models/DeviceBrandConditionOption.d.ts +1 -1
  274. package/dist/models/DeviceBrandConditionOption.js +1 -1
  275. package/dist/models/DeviceBrandConditionPayload.d.ts +1 -1
  276. package/dist/models/DeviceBrandConditionPayload.js +1 -1
  277. package/dist/models/DeviceBrandConditionTraceData.d.ts +1 -1
  278. package/dist/models/DeviceBrandConditionTraceData.js +1 -1
  279. package/dist/models/DeviceBrandConditionTraceOption.d.ts +1 -1
  280. package/dist/models/DeviceBrandConditionTraceOption.js +1 -1
  281. package/dist/models/DeviceBrandConditionValue.d.ts +1 -1
  282. package/dist/models/DeviceBrandConditionValue.js +1 -1
  283. package/dist/models/DeviceBrowserConditionOption.d.ts +1 -1
  284. package/dist/models/DeviceBrowserConditionOption.js +1 -1
  285. package/dist/models/DeviceBrowserConditionPayload.d.ts +1 -1
  286. package/dist/models/DeviceBrowserConditionPayload.js +1 -1
  287. package/dist/models/DeviceBrowserConditionTraceData.d.ts +1 -1
  288. package/dist/models/DeviceBrowserConditionTraceData.js +1 -1
  289. package/dist/models/DeviceBrowserConditionTraceOption.d.ts +1 -1
  290. package/dist/models/DeviceBrowserConditionTraceOption.js +1 -1
  291. package/dist/models/DeviceBrowserConditionValue.d.ts +1 -1
  292. package/dist/models/DeviceBrowserConditionValue.js +1 -1
  293. package/dist/models/DeviceDataPoint.d.ts +1 -1
  294. package/dist/models/DeviceDataPoint.js +1 -1
  295. package/dist/models/DeviceInput.d.ts +1 -1
  296. package/dist/models/DeviceInput.js +1 -1
  297. package/dist/models/DevicePlatformConditionOption.d.ts +1 -1
  298. package/dist/models/DevicePlatformConditionOption.js +1 -1
  299. package/dist/models/DevicePlatformConditionPayload.d.ts +1 -1
  300. package/dist/models/DevicePlatformConditionPayload.js +1 -1
  301. package/dist/models/DevicePlatformConditionTraceData.d.ts +1 -1
  302. package/dist/models/DevicePlatformConditionTraceData.js +1 -1
  303. package/dist/models/DevicePlatformConditionTraceOption.d.ts +1 -1
  304. package/dist/models/DevicePlatformConditionTraceOption.js +1 -1
  305. package/dist/models/DevicePlatformConditionValue.d.ts +1 -1
  306. package/dist/models/DevicePlatformConditionValue.js +1 -1
  307. package/dist/models/DeviceType.d.ts +1 -1
  308. package/dist/models/DeviceType.js +1 -1
  309. package/dist/models/DeviceTypeConditionOption.d.ts +1 -1
  310. package/dist/models/DeviceTypeConditionOption.js +1 -1
  311. package/dist/models/DeviceTypeConditionPayload.d.ts +1 -1
  312. package/dist/models/DeviceTypeConditionPayload.js +1 -1
  313. package/dist/models/DeviceTypeConditionTraceData.d.ts +1 -1
  314. package/dist/models/DeviceTypeConditionTraceData.js +1 -1
  315. package/dist/models/DeviceTypeConditionTraceOption.d.ts +1 -1
  316. package/dist/models/DeviceTypeConditionTraceOption.js +1 -1
  317. package/dist/models/DeviceTypeConditionValue.d.ts +1 -1
  318. package/dist/models/DeviceTypeConditionValue.js +1 -1
  319. package/dist/models/DigestFrequency.d.ts +1 -1
  320. package/dist/models/DigestFrequency.js +1 -1
  321. package/dist/models/DirectoriesServiceUpdateBody.d.ts +1 -1
  322. package/dist/models/DirectoriesServiceUpdateBody.js +1 -1
  323. package/dist/models/Directory.d.ts +1 -1
  324. package/dist/models/Directory.js +1 -1
  325. package/dist/models/DisconnectWorkflowStepResponse.d.ts +1 -1
  326. package/dist/models/DisconnectWorkflowStepResponse.js +1 -1
  327. package/dist/models/DnsProvider.d.ts +1 -1
  328. package/dist/models/DnsProvider.js +1 -1
  329. package/dist/models/DnsRecordPurpose.d.ts +1 -1
  330. package/dist/models/DnsRecordPurpose.js +1 -1
  331. package/dist/models/DnsRecordType.d.ts +1 -1
  332. package/dist/models/DnsRecordType.js +1 -1
  333. package/dist/models/DotsOptions.d.ts +1 -1
  334. package/dist/models/DotsOptions.js +1 -1
  335. package/dist/models/DotsType.d.ts +1 -1
  336. package/dist/models/DotsType.js +1 -1
  337. package/dist/models/EntryAccessTraceData.d.ts +1 -1
  338. package/dist/models/EntryAccessTraceData.js +1 -1
  339. package/dist/models/ErrorResponse.d.ts +1 -1
  340. package/dist/models/ErrorResponse.js +1 -1
  341. package/dist/models/Event.d.ts +1 -1
  342. package/dist/models/Event.js +1 -1
  343. package/dist/models/EventAction.d.ts +1 -1
  344. package/dist/models/EventAction.js +1 -1
  345. package/dist/models/EventTrace.d.ts +1 -1
  346. package/dist/models/EventTrace.js +1 -1
  347. package/dist/models/EventTraceData.d.ts +1 -1
  348. package/dist/models/EventTraceData.js +1 -1
  349. package/dist/models/EventsMetric.d.ts +1 -1
  350. package/dist/models/EventsMetric.js +1 -1
  351. package/dist/models/EventsServiceCreateEventTraceBody.d.ts +1 -1
  352. package/dist/models/EventsServiceCreateEventTraceBody.js +1 -1
  353. package/dist/models/EventsServiceUpdateDeviceBody.d.ts +1 -1
  354. package/dist/models/EventsServiceUpdateDeviceBody.js +1 -1
  355. package/dist/models/EventsTimeSeries.d.ts +1 -1
  356. package/dist/models/EventsTimeSeries.js +1 -1
  357. package/dist/models/EventsTimeSeriesData.d.ts +1 -1
  358. package/dist/models/EventsTimeSeriesData.js +1 -1
  359. package/dist/models/FindMatchingPageThemeTemplateResponse.d.ts +1 -1
  360. package/dist/models/FindMatchingPageThemeTemplateResponse.js +1 -1
  361. package/dist/models/FontConfig.d.ts +1 -1
  362. package/dist/models/FontConfig.js +1 -1
  363. package/dist/models/FormField.d.ts +1 -1
  364. package/dist/models/FormField.js +1 -1
  365. package/dist/models/FormFieldOption.d.ts +1 -1
  366. package/dist/models/FormFieldOption.js +1 -1
  367. package/dist/models/FormFieldType.d.ts +1 -1
  368. package/dist/models/FormFieldType.js +1 -1
  369. package/dist/models/FormPayload.d.ts +1 -1
  370. package/dist/models/FormPayload.js +1 -1
  371. package/dist/models/FormTraceData.d.ts +1 -1
  372. package/dist/models/FormTraceData.js +1 -1
  373. package/dist/models/FormTraceDataField.d.ts +1 -1
  374. package/dist/models/FormTraceDataField.js +1 -1
  375. package/dist/models/FunnelBranch.d.ts +1 -1
  376. package/dist/models/FunnelBranch.js +1 -1
  377. package/dist/models/FunnelStep.d.ts +1 -1
  378. package/dist/models/FunnelStep.js +1 -1
  379. package/dist/models/GenerateWidgetSummaryResponse.d.ts +1 -1
  380. package/dist/models/GenerateWidgetSummaryResponse.js +1 -1
  381. package/dist/models/GeoDataPoint.d.ts +1 -1
  382. package/dist/models/GeoDataPoint.js +1 -1
  383. package/dist/models/GetAttributeDistributionRequest.d.ts +1 -1
  384. package/dist/models/GetAttributeDistributionRequest.js +1 -1
  385. package/dist/models/GetAttributeDistributionResponse.d.ts +1 -1
  386. package/dist/models/GetAttributeDistributionResponse.js +1 -1
  387. package/dist/models/GetAttributeMetricRequest.d.ts +1 -1
  388. package/dist/models/GetAttributeMetricRequest.js +1 -1
  389. package/dist/models/GetAttributeMetricResponse.d.ts +1 -1
  390. package/dist/models/GetAttributeMetricResponse.js +1 -1
  391. package/dist/models/GetAttributeValuesRequest.d.ts +1 -1
  392. package/dist/models/GetAttributeValuesRequest.js +1 -1
  393. package/dist/models/GetAttributeValuesResponse.d.ts +1 -1
  394. package/dist/models/GetAttributeValuesResponse.js +1 -1
  395. package/dist/models/GetBreakdownRequest.d.ts +1 -1
  396. package/dist/models/GetBreakdownRequest.js +1 -1
  397. package/dist/models/GetBreakdownResponse.d.ts +1 -1
  398. package/dist/models/GetBreakdownResponse.js +1 -1
  399. package/dist/models/GetCustomDomainResponse.d.ts +1 -1
  400. package/dist/models/GetCustomDomainResponse.js +1 -1
  401. package/dist/models/GetCustomDomainSetupGuideResponse.d.ts +1 -1
  402. package/dist/models/GetCustomDomainSetupGuideResponse.js +1 -1
  403. package/dist/models/GetDeviceDistributionRequest.d.ts +1 -1
  404. package/dist/models/GetDeviceDistributionRequest.js +1 -1
  405. package/dist/models/GetDeviceDistributionResponse.d.ts +1 -1
  406. package/dist/models/GetDeviceDistributionResponse.js +1 -1
  407. package/dist/models/GetDirectoryResponse.d.ts +1 -1
  408. package/dist/models/GetDirectoryResponse.js +1 -1
  409. package/dist/models/GetEventsTimeSeriesRequest.d.ts +1 -1
  410. package/dist/models/GetEventsTimeSeriesRequest.js +1 -1
  411. package/dist/models/GetEventsTimeSeriesResponse.d.ts +1 -1
  412. package/dist/models/GetEventsTimeSeriesResponse.js +1 -1
  413. package/dist/models/GetGeoBreakdownRequest.d.ts +1 -1
  414. package/dist/models/GetGeoBreakdownRequest.js +1 -1
  415. package/dist/models/GetGeoBreakdownResponse.d.ts +1 -1
  416. package/dist/models/GetGeoBreakdownResponse.js +1 -1
  417. package/dist/models/GetGoogleFormsIntegrationResponse.d.ts +1 -1
  418. package/dist/models/GetGoogleFormsIntegrationResponse.js +1 -1
  419. package/dist/models/GetGoogleFormsOAuthURLResponse.d.ts +1 -1
  420. package/dist/models/GetGoogleFormsOAuthURLResponse.js +1 -1
  421. package/dist/models/GetGroupedTimeSeriesRequest.d.ts +1 -1
  422. package/dist/models/GetGroupedTimeSeriesRequest.js +1 -1
  423. package/dist/models/GetGroupedTimeSeriesResponse.d.ts +1 -1
  424. package/dist/models/GetGroupedTimeSeriesResponse.js +1 -1
  425. package/dist/models/GetHourOfDayDistributionRequest.d.ts +1 -1
  426. package/dist/models/GetHourOfDayDistributionRequest.js +1 -1
  427. package/dist/models/GetHourOfDayDistributionResponse.d.ts +1 -1
  428. package/dist/models/GetHourOfDayDistributionResponse.js +1 -1
  429. package/dist/models/GetLinkResponse.d.ts +1 -1
  430. package/dist/models/GetLinkResponse.js +1 -1
  431. package/dist/models/GetLinkSettingResponse.d.ts +1 -1
  432. package/dist/models/GetLinkSettingResponse.js +1 -1
  433. package/dist/models/GetMediaResponse.d.ts +1 -1
  434. package/dist/models/GetMediaResponse.js +1 -1
  435. package/dist/models/GetPageThemeResponse.d.ts +1 -1
  436. package/dist/models/GetPageThemeResponse.js +1 -1
  437. package/dist/models/GetQrcodeDesignResponse.d.ts +1 -1
  438. package/dist/models/GetQrcodeDesignResponse.js +1 -1
  439. package/dist/models/GetSlackIntegrationResponse.d.ts +1 -1
  440. package/dist/models/GetSlackIntegrationResponse.js +1 -1
  441. package/dist/models/GetSlackOAuthURLResponse.d.ts +1 -1
  442. package/dist/models/GetSlackOAuthURLResponse.js +1 -1
  443. package/dist/models/GetStepFunnelRequest.d.ts +1 -1
  444. package/dist/models/GetStepFunnelRequest.js +1 -1
  445. package/dist/models/GetStepFunnelResponse.d.ts +1 -1
  446. package/dist/models/GetStepFunnelResponse.js +1 -1
  447. package/dist/models/GetTopLinksRequest.d.ts +1 -1
  448. package/dist/models/GetTopLinksRequest.js +1 -1
  449. package/dist/models/GetTopLinksResponse.d.ts +1 -1
  450. package/dist/models/GetTopLinksResponse.js +1 -1
  451. package/dist/models/GetVisitorTrendsRequest.d.ts +1 -1
  452. package/dist/models/GetVisitorTrendsRequest.js +1 -1
  453. package/dist/models/GetVisitorTrendsResponse.d.ts +1 -1
  454. package/dist/models/GetVisitorTrendsResponse.js +1 -1
  455. package/dist/models/GetWebhookResponse.d.ts +1 -1
  456. package/dist/models/GetWebhookResponse.js +1 -1
  457. package/dist/models/GetWidgetSummaryResponse.d.ts +1 -1
  458. package/dist/models/GetWidgetSummaryResponse.js +1 -1
  459. package/dist/models/GetWorkflowStepResponse.d.ts +1 -1
  460. package/dist/models/GetWorkflowStepResponse.js +1 -1
  461. package/dist/models/GetWorkspaceTokenResponse.d.ts +1 -1
  462. package/dist/models/GetWorkspaceTokenResponse.js +1 -1
  463. package/dist/models/GoogleFormsIntegration.d.ts +1 -1
  464. package/dist/models/GoogleFormsIntegration.js +1 -1
  465. package/dist/models/GoogleFormsIntegrationStatus.d.ts +1 -1
  466. package/dist/models/GoogleFormsIntegrationStatus.js +1 -1
  467. package/dist/models/GooglerpcStatus.d.ts +1 -1
  468. package/dist/models/GooglerpcStatus.js +1 -1
  469. package/dist/models/GroupByDimension.d.ts +1 -1
  470. package/dist/models/GroupByDimension.js +1 -1
  471. package/dist/models/HourOfDayDataPoint.d.ts +1 -1
  472. package/dist/models/HourOfDayDataPoint.js +1 -1
  473. package/dist/models/IdentifyRequest.d.ts +1 -1
  474. package/dist/models/IdentifyRequest.js +1 -1
  475. package/dist/models/IdentifyResponse.d.ts +1 -1
  476. package/dist/models/IdentifyResponse.js +1 -1
  477. package/dist/models/IdentifyVisitorTraceData.d.ts +1 -1
  478. package/dist/models/IdentifyVisitorTraceData.js +1 -1
  479. package/dist/models/ImportPageThemeTemplateRequest.d.ts +1 -1
  480. package/dist/models/ImportPageThemeTemplateRequest.js +1 -1
  481. package/dist/models/ImportPageThemeTemplateResponse.d.ts +1 -1
  482. package/dist/models/ImportPageThemeTemplateResponse.js +1 -1
  483. package/dist/models/ImportQrcodeTemplateRequest.d.ts +1 -1
  484. package/dist/models/ImportQrcodeTemplateRequest.js +1 -1
  485. package/dist/models/ImportQrcodeTemplateResponse.d.ts +1 -1
  486. package/dist/models/ImportQrcodeTemplateResponse.js +1 -1
  487. package/dist/models/InviteMemberRequest.d.ts +1 -1
  488. package/dist/models/InviteMemberRequest.js +1 -1
  489. package/dist/models/JourneyProgress.d.ts +1 -1
  490. package/dist/models/JourneyProgress.js +1 -1
  491. package/dist/models/Link.d.ts +1 -1
  492. package/dist/models/Link.js +1 -1
  493. package/dist/models/LinkSetting.d.ts +1 -1
  494. package/dist/models/LinkSetting.js +1 -1
  495. package/dist/models/LinkSortField.d.ts +1 -1
  496. package/dist/models/LinkSortField.js +1 -1
  497. package/dist/models/LinkView.d.ts +1 -1
  498. package/dist/models/LinkView.js +1 -1
  499. package/dist/models/LinksServiceUpdateBody.d.ts +1 -1
  500. package/dist/models/LinksServiceUpdateBody.js +1 -1
  501. package/dist/models/ListApiScopesResponse.d.ts +33 -0
  502. package/dist/models/ListApiScopesResponse.js +49 -0
  503. package/dist/models/ListCustomDomainsResponse.d.ts +1 -1
  504. package/dist/models/ListCustomDomainsResponse.js +1 -1
  505. package/dist/models/ListDashboardsResponse.d.ts +1 -1
  506. package/dist/models/ListDashboardsResponse.js +1 -1
  507. package/dist/models/ListDetectedGoogleFormsResponse.d.ts +1 -1
  508. package/dist/models/ListDetectedGoogleFormsResponse.js +1 -1
  509. package/dist/models/ListDirectoriesResponse.d.ts +1 -1
  510. package/dist/models/ListDirectoriesResponse.js +1 -1
  511. package/dist/models/ListEventTracesResponse.d.ts +1 -1
  512. package/dist/models/ListEventTracesResponse.js +1 -1
  513. package/dist/models/ListEventsCsvResponse.d.ts +1 -1
  514. package/dist/models/ListEventsCsvResponse.js +1 -1
  515. package/dist/models/ListEventsJsonResponse.d.ts +1 -1
  516. package/dist/models/ListEventsJsonResponse.js +1 -1
  517. package/dist/models/ListEventsResponse.d.ts +1 -1
  518. package/dist/models/ListEventsResponse.js +1 -1
  519. package/dist/models/ListLinksResponse.d.ts +1 -1
  520. package/dist/models/ListLinksResponse.js +1 -1
  521. package/dist/models/ListMediaResponse.d.ts +1 -1
  522. package/dist/models/ListMediaResponse.js +1 -1
  523. package/dist/models/ListPageThemeTemplatesResponse.d.ts +1 -1
  524. package/dist/models/ListPageThemeTemplatesResponse.js +1 -1
  525. package/dist/models/ListPageThemesResponse.d.ts +1 -1
  526. package/dist/models/ListPageThemesResponse.js +1 -1
  527. package/dist/models/ListPricingPlansResponse.d.ts +52 -0
  528. package/dist/models/ListPricingPlansResponse.js +56 -0
  529. package/dist/models/ListQrcodeTemplatesResponse.d.ts +1 -1
  530. package/dist/models/ListQrcodeTemplatesResponse.js +1 -1
  531. package/dist/models/ListResponse.d.ts +1 -1
  532. package/dist/models/ListResponse.js +1 -1
  533. package/dist/models/ListSlackChannelsResponse.d.ts +1 -1
  534. package/dist/models/ListSlackChannelsResponse.js +1 -1
  535. package/dist/models/ListTagsResponse.d.ts +1 -1
  536. package/dist/models/ListTagsResponse.js +1 -1
  537. package/dist/models/ListVisitorAttributeKeysResponse.d.ts +1 -1
  538. package/dist/models/ListVisitorAttributeKeysResponse.js +1 -1
  539. package/dist/models/ListVisitorsCsvResponse.d.ts +1 -1
  540. package/dist/models/ListVisitorsCsvResponse.js +1 -1
  541. package/dist/models/ListVisitorsJsonResponse.d.ts +1 -1
  542. package/dist/models/ListVisitorsJsonResponse.js +1 -1
  543. package/dist/models/ListVisitorsRequest.d.ts +1 -1
  544. package/dist/models/ListVisitorsRequest.js +1 -1
  545. package/dist/models/ListVisitorsResponse.d.ts +1 -1
  546. package/dist/models/ListVisitorsResponse.js +1 -1
  547. package/dist/models/ListWebhooksResponse.d.ts +1 -1
  548. package/dist/models/ListWebhooksResponse.js +1 -1
  549. package/dist/models/ListWorkflowStepsResponse.d.ts +1 -1
  550. package/dist/models/ListWorkflowStepsResponse.js +1 -1
  551. package/dist/models/ListWorkspaceTokensResponse.d.ts +1 -1
  552. package/dist/models/ListWorkspaceTokensResponse.js +1 -1
  553. package/dist/models/Media.d.ts +1 -1
  554. package/dist/models/Media.js +1 -1
  555. package/dist/models/MediaSelection.d.ts +1 -1
  556. package/dist/models/MediaSelection.js +1 -1
  557. package/dist/models/MediaType.d.ts +1 -1
  558. package/dist/models/MediaType.js +1 -1
  559. package/dist/models/MediaVisibility.d.ts +1 -1
  560. package/dist/models/MediaVisibility.js +1 -1
  561. package/dist/models/Member.d.ts +1 -1
  562. package/dist/models/Member.js +1 -1
  563. package/dist/models/MembersServiceUpdateBody.d.ts +1 -1
  564. package/dist/models/MembersServiceUpdateBody.js +1 -1
  565. package/dist/models/MessagePageNavigationType.d.ts +1 -1
  566. package/dist/models/MessagePageNavigationType.js +1 -1
  567. package/dist/models/MessagePagePayload.d.ts +1 -1
  568. package/dist/models/MessagePagePayload.js +1 -1
  569. package/dist/models/MeteredPrice.d.ts +40 -0
  570. package/dist/models/MeteredPrice.js +52 -0
  571. package/dist/models/MeteredUnit.d.ts +32 -0
  572. package/dist/models/MeteredUnit.js +58 -0
  573. package/dist/models/ModelHTTPMethod.d.ts +1 -1
  574. package/dist/models/ModelHTTPMethod.js +1 -1
  575. package/dist/models/Money.d.ts +38 -0
  576. package/dist/models/Money.js +50 -0
  577. package/dist/models/MultiLinkButton.d.ts +1 -1
  578. package/dist/models/MultiLinkButton.js +1 -1
  579. package/dist/models/MultiLinkPayload.d.ts +1 -1
  580. package/dist/models/MultiLinkPayload.js +1 -1
  581. package/dist/models/MultiLinkTraceButton.d.ts +1 -1
  582. package/dist/models/MultiLinkTraceButton.js +1 -1
  583. package/dist/models/MultiLinkTraceData.d.ts +1 -1
  584. package/dist/models/MultiLinkTraceData.js +1 -1
  585. package/dist/models/MultiLinkTraceSelectedButton.d.ts +1 -1
  586. package/dist/models/MultiLinkTraceSelectedButton.js +1 -1
  587. package/dist/models/OutputFileFormat.d.ts +1 -1
  588. package/dist/models/OutputFileFormat.js +1 -1
  589. package/dist/models/PageTheme.d.ts +1 -1
  590. package/dist/models/PageTheme.js +1 -1
  591. package/dist/models/PageThemeBadgeShape.d.ts +1 -1
  592. package/dist/models/PageThemeBadgeShape.js +1 -1
  593. package/dist/models/PageThemeBorderStyle.d.ts +1 -1
  594. package/dist/models/PageThemeBorderStyle.js +1 -1
  595. package/dist/models/PageThemeCanvasCoverMode.d.ts +1 -1
  596. package/dist/models/PageThemeCanvasCoverMode.js +1 -1
  597. package/dist/models/PageThemeContainerVariant.d.ts +1 -1
  598. package/dist/models/PageThemeContainerVariant.js +1 -1
  599. package/dist/models/PageThemeFontFamily.d.ts +1 -1
  600. package/dist/models/PageThemeFontFamily.js +1 -1
  601. package/dist/models/PageThemeStyling.d.ts +1 -1
  602. package/dist/models/PageThemeStyling.js +1 -1
  603. package/dist/models/PageThemeTemplate.d.ts +1 -1
  604. package/dist/models/PageThemeTemplate.js +1 -1
  605. package/dist/models/PageThemeTemplateImages.d.ts +1 -1
  606. package/dist/models/PageThemeTemplateImages.js +1 -1
  607. package/dist/models/PageThemeTemplateScope.d.ts +1 -1
  608. package/dist/models/PageThemeTemplateScope.js +1 -1
  609. package/dist/models/PageThemeTemplatesServiceUpdatePageThemeTemplateBody.d.ts +1 -1
  610. package/dist/models/PageThemeTemplatesServiceUpdatePageThemeTemplateBody.js +1 -1
  611. package/dist/models/PageThemeTemplatesServiceUpdatePageThemeTemplateStylingBody.d.ts +1 -1
  612. package/dist/models/PageThemeTemplatesServiceUpdatePageThemeTemplateStylingBody.js +1 -1
  613. package/dist/models/PageThemesServiceUpdatePageThemeBody.d.ts +1 -1
  614. package/dist/models/PageThemesServiceUpdatePageThemeBody.js +1 -1
  615. package/dist/models/PasswordPayload.d.ts +1 -1
  616. package/dist/models/PasswordPayload.js +1 -1
  617. package/dist/models/PasswordTraceData.d.ts +1 -1
  618. package/dist/models/PasswordTraceData.js +1 -1
  619. package/dist/models/PlanFeature.d.ts +26 -0
  620. package/dist/models/PlanFeature.js +52 -0
  621. package/dist/models/PlanLimit.d.ts +46 -0
  622. package/dist/models/PlanLimit.js +54 -0
  623. package/dist/models/PlanLimitKey.d.ts +40 -0
  624. package/dist/models/PlanLimitKey.js +66 -0
  625. package/dist/models/PlanLimitKind.d.ts +34 -0
  626. package/dist/models/PlanLimitKind.js +60 -0
  627. package/dist/models/PlanPrice.d.ts +46 -0
  628. package/dist/models/PlanPrice.js +54 -0
  629. package/dist/models/PreferredLinkType.d.ts +1 -1
  630. package/dist/models/PreferredLinkType.js +1 -1
  631. package/dist/models/PricingPlan.d.ts +68 -0
  632. package/dist/models/PricingPlan.js +63 -0
  633. package/dist/models/PricingPlanId.d.ts +32 -0
  634. package/dist/models/PricingPlanId.js +58 -0
  635. package/dist/models/ProtobufAny.d.ts +1 -1
  636. package/dist/models/ProtobufAny.js +1 -1
  637. package/dist/models/ProtobufNullValue.d.ts +1 -1
  638. package/dist/models/ProtobufNullValue.js +1 -1
  639. package/dist/models/PublicCreateQrcodeDesignRequest.d.ts +1 -1
  640. package/dist/models/PublicCreateQrcodeDesignRequest.js +1 -1
  641. package/dist/models/PublicCreateQrcodeDesignResponse.d.ts +1 -1
  642. package/dist/models/PublicCreateQrcodeDesignResponse.js +1 -1
  643. package/dist/models/PublicListPageThemeTemplatesResponse.d.ts +1 -1
  644. package/dist/models/PublicListPageThemeTemplatesResponse.js +1 -1
  645. package/dist/models/PublicListQrcodeTemplatesResponse.d.ts +1 -1
  646. package/dist/models/PublicListQrcodeTemplatesResponse.js +1 -1
  647. package/dist/models/PublicPageThemeTemplate.d.ts +1 -1
  648. package/dist/models/PublicPageThemeTemplate.js +1 -1
  649. package/dist/models/PublicQrcodeTemplate.d.ts +1 -1
  650. package/dist/models/PublicQrcodeTemplate.js +1 -1
  651. package/dist/models/PublicWorkspace.d.ts +1 -1
  652. package/dist/models/PublicWorkspace.js +1 -1
  653. package/dist/models/PublishPageThemeTemplateResponse.d.ts +1 -1
  654. package/dist/models/PublishPageThemeTemplateResponse.js +1 -1
  655. package/dist/models/PublishQrcodeTemplateResponse.d.ts +1 -1
  656. package/dist/models/PublishQrcodeTemplateResponse.js +1 -1
  657. package/dist/models/QrcodeDesign.d.ts +1 -1
  658. package/dist/models/QrcodeDesign.js +1 -1
  659. package/dist/models/QrcodeDesignServiceUpdateBody.d.ts +1 -1
  660. package/dist/models/QrcodeDesignServiceUpdateBody.js +1 -1
  661. package/dist/models/QrcodeTemplate.d.ts +1 -1
  662. package/dist/models/QrcodeTemplate.js +1 -1
  663. package/dist/models/QrcodeTemplateScope.d.ts +1 -1
  664. package/dist/models/QrcodeTemplateScope.js +1 -1
  665. package/dist/models/QrcodeTemplatesServiceUpdateQrcodeTemplateBody.d.ts +1 -1
  666. package/dist/models/QrcodeTemplatesServiceUpdateQrcodeTemplateBody.js +1 -1
  667. package/dist/models/RedirectTraceData.d.ts +1 -1
  668. package/dist/models/RedirectTraceData.js +1 -1
  669. package/dist/models/RequestWorkspaceEnrollmentRequest.d.ts +1 -1
  670. package/dist/models/RequestWorkspaceEnrollmentRequest.js +1 -1
  671. package/dist/models/ResolvePageThemeTemplateImagesRequest.d.ts +1 -1
  672. package/dist/models/ResolvePageThemeTemplateImagesRequest.js +1 -1
  673. package/dist/models/ResolvePageThemeTemplateImagesResponse.d.ts +1 -1
  674. package/dist/models/ResolvePageThemeTemplateImagesResponse.js +1 -1
  675. package/dist/models/ResolveQrcodeImagesRequest.d.ts +1 -1
  676. package/dist/models/ResolveQrcodeImagesRequest.js +1 -1
  677. package/dist/models/ResolveQrcodeImagesResponse.d.ts +1 -1
  678. package/dist/models/ResolveQrcodeImagesResponse.js +1 -1
  679. package/dist/models/ResolveQrcodeTemplateImagesRequest.d.ts +1 -1
  680. package/dist/models/ResolveQrcodeTemplateImagesRequest.js +1 -1
  681. package/dist/models/ResolveQrcodeTemplateImagesResponse.d.ts +1 -1
  682. package/dist/models/ResolveQrcodeTemplateImagesResponse.js +1 -1
  683. package/dist/models/ResolveStepCollisionsResponse.d.ts +1 -1
  684. package/dist/models/ResolveStepCollisionsResponse.js +1 -1
  685. package/dist/models/ResponseFormat.d.ts +1 -1
  686. package/dist/models/ResponseFormat.js +1 -1
  687. package/dist/models/Role.d.ts +1 -1
  688. package/dist/models/Role.js +1 -1
  689. package/dist/models/SettingsServiceUpdateLinkSettingBody.d.ts +1 -1
  690. package/dist/models/SettingsServiceUpdateLinkSettingBody.js +1 -1
  691. package/dist/models/Shape.d.ts +1 -1
  692. package/dist/models/Shape.js +1 -1
  693. package/dist/models/ShortlinkAvailabilityResponse.d.ts +1 -1
  694. package/dist/models/ShortlinkAvailabilityResponse.js +1 -1
  695. package/dist/models/ShortlinkRandomResponse.d.ts +1 -1
  696. package/dist/models/ShortlinkRandomResponse.js +1 -1
  697. package/dist/models/SlackChannel.d.ts +1 -1
  698. package/dist/models/SlackChannel.js +1 -1
  699. package/dist/models/SlackIntegration.d.ts +1 -1
  700. package/dist/models/SlackIntegration.js +1 -1
  701. package/dist/models/SlackIntegrationStatus.d.ts +1 -1
  702. package/dist/models/SlackIntegrationStatus.js +1 -1
  703. package/dist/models/SocialLinkButton.d.ts +1 -1
  704. package/dist/models/SocialLinkButton.js +1 -1
  705. package/dist/models/SocialLinkTraceButton.d.ts +1 -1
  706. package/dist/models/SocialLinkTraceButton.js +1 -1
  707. package/dist/models/SocialLinksDisplayStyle.d.ts +1 -1
  708. package/dist/models/SocialLinksDisplayStyle.js +1 -1
  709. package/dist/models/SocialLinksPayload.d.ts +1 -1
  710. package/dist/models/SocialLinksPayload.js +1 -1
  711. package/dist/models/SocialLinksTraceData.d.ts +1 -1
  712. package/dist/models/SocialLinksTraceData.js +1 -1
  713. package/dist/models/SocketAssistantErrorMessage.d.ts +1 -1
  714. package/dist/models/SocketAssistantErrorMessage.js +1 -1
  715. package/dist/models/SocketAssistantProgressMessage.d.ts +1 -1
  716. package/dist/models/SocketAssistantProgressMessage.js +1 -1
  717. package/dist/models/SocketAssistantResponseMessage.d.ts +1 -1
  718. package/dist/models/SocketAssistantResponseMessage.js +1 -1
  719. package/dist/models/SocketAssistantSendRequest.d.ts +1 -1
  720. package/dist/models/SocketAssistantSendRequest.js +1 -1
  721. package/dist/models/SocketConnectedMessage.d.ts +1 -1
  722. package/dist/models/SocketConnectedMessage.js +1 -1
  723. package/dist/models/SocketContract.d.ts +1 -1
  724. package/dist/models/SocketContract.js +1 -1
  725. package/dist/models/SocketErrorCode.d.ts +1 -1
  726. package/dist/models/SocketErrorCode.js +1 -1
  727. package/dist/models/SocketEventMessage.d.ts +1 -1
  728. package/dist/models/SocketEventMessage.js +1 -1
  729. package/dist/models/SocketMessageType.d.ts +1 -1
  730. package/dist/models/SocketMessageType.js +1 -1
  731. package/dist/models/SocketPingRequest.d.ts +1 -1
  732. package/dist/models/SocketPingRequest.js +1 -1
  733. package/dist/models/SocketPongMessage.d.ts +1 -1
  734. package/dist/models/SocketPongMessage.js +1 -1
  735. package/dist/models/SocketSubscribeDeniedMessage.d.ts +1 -1
  736. package/dist/models/SocketSubscribeDeniedMessage.js +1 -1
  737. package/dist/models/SocketSubscribeRequest.d.ts +1 -1
  738. package/dist/models/SocketSubscribeRequest.js +1 -1
  739. package/dist/models/SocketSubscribedMessage.d.ts +1 -1
  740. package/dist/models/SocketSubscribedMessage.js +1 -1
  741. package/dist/models/SocketUnsubscribeRequest.d.ts +1 -1
  742. package/dist/models/SocketUnsubscribeRequest.js +1 -1
  743. package/dist/models/SortDirection.d.ts +1 -1
  744. package/dist/models/SortDirection.js +1 -1
  745. package/dist/models/SpecificDateConditionPayload.d.ts +1 -1
  746. package/dist/models/SpecificDateConditionPayload.js +1 -1
  747. package/dist/models/SpecificDateConditionTraceData.d.ts +1 -1
  748. package/dist/models/SpecificDateConditionTraceData.js +1 -1
  749. package/dist/models/SpecificDateConditionTraceOption.d.ts +1 -1
  750. package/dist/models/SpecificDateConditionTraceOption.js +1 -1
  751. package/dist/models/SpecificDateOption.d.ts +1 -1
  752. package/dist/models/SpecificDateOption.js +1 -1
  753. package/dist/models/SubscriptionType.d.ts +1 -1
  754. package/dist/models/SubscriptionType.js +1 -1
  755. package/dist/models/SyncGoogleFormsResponse.d.ts +1 -1
  756. package/dist/models/SyncGoogleFormsResponse.js +1 -1
  757. package/dist/models/TestSlackIntegrationResponse.d.ts +1 -1
  758. package/dist/models/TestSlackIntegrationResponse.js +1 -1
  759. package/dist/models/ThankYouPagePayload.d.ts +1 -1
  760. package/dist/models/ThankYouPagePayload.js +1 -1
  761. package/dist/models/ThemeColor.d.ts +1 -1
  762. package/dist/models/ThemeColor.js +1 -1
  763. package/dist/models/ThemeColorThemeColorType.d.ts +1 -1
  764. package/dist/models/ThemeColorThemeColorType.js +1 -1
  765. package/dist/models/TimeOfDayConditionPayload.d.ts +1 -1
  766. package/dist/models/TimeOfDayConditionPayload.js +1 -1
  767. package/dist/models/TimeOfDayConditionTraceData.d.ts +1 -1
  768. package/dist/models/TimeOfDayConditionTraceData.js +1 -1
  769. package/dist/models/TimeOfDayConditionTraceRange.d.ts +1 -1
  770. package/dist/models/TimeOfDayConditionTraceRange.js +1 -1
  771. package/dist/models/TimeOfDayRange.d.ts +1 -1
  772. package/dist/models/TimeOfDayRange.js +1 -1
  773. package/dist/models/TimeSeriesPoint.d.ts +1 -1
  774. package/dist/models/TimeSeriesPoint.js +1 -1
  775. package/dist/models/TimeSeriesSeries.d.ts +1 -1
  776. package/dist/models/TimeSeriesSeries.js +1 -1
  777. package/dist/models/TopLinkDataPoint.d.ts +1 -1
  778. package/dist/models/TopLinkDataPoint.js +1 -1
  779. package/dist/models/TriggeredBy.d.ts +1 -1
  780. package/dist/models/TriggeredBy.js +1 -1
  781. package/dist/models/UpdateCustomDomainResponse.d.ts +1 -1
  782. package/dist/models/UpdateCustomDomainResponse.js +1 -1
  783. package/dist/models/UpdateDashboardResponse.d.ts +1 -1
  784. package/dist/models/UpdateDashboardResponse.js +1 -1
  785. package/dist/models/UpdateDeviceResponse.d.ts +1 -1
  786. package/dist/models/UpdateDeviceResponse.js +1 -1
  787. package/dist/models/UpdateDirectoryResponse.d.ts +1 -1
  788. package/dist/models/UpdateDirectoryResponse.js +1 -1
  789. package/dist/models/UpdateGoogleFormsIntegrationRequest.d.ts +1 -1
  790. package/dist/models/UpdateGoogleFormsIntegrationRequest.js +1 -1
  791. package/dist/models/UpdateGoogleFormsIntegrationResponse.d.ts +1 -1
  792. package/dist/models/UpdateGoogleFormsIntegrationResponse.js +1 -1
  793. package/dist/models/UpdateLinkResponse.d.ts +1 -1
  794. package/dist/models/UpdateLinkResponse.js +1 -1
  795. package/dist/models/UpdateLinkSettingResponse.d.ts +1 -1
  796. package/dist/models/UpdateLinkSettingResponse.js +1 -1
  797. package/dist/models/UpdateMeRequest.d.ts +1 -1
  798. package/dist/models/UpdateMeRequest.js +1 -1
  799. package/dist/models/UpdatePageThemeResponse.d.ts +1 -1
  800. package/dist/models/UpdatePageThemeResponse.js +1 -1
  801. package/dist/models/UpdatePageThemeTemplateResponse.d.ts +1 -1
  802. package/dist/models/UpdatePageThemeTemplateResponse.js +1 -1
  803. package/dist/models/UpdatePageThemeTemplateStylingResponse.d.ts +1 -1
  804. package/dist/models/UpdatePageThemeTemplateStylingResponse.js +1 -1
  805. package/dist/models/UpdateQrcodeDesignResponse.d.ts +1 -1
  806. package/dist/models/UpdateQrcodeDesignResponse.js +1 -1
  807. package/dist/models/UpdateQrcodeTemplateResponse.d.ts +1 -1
  808. package/dist/models/UpdateQrcodeTemplateResponse.js +1 -1
  809. package/dist/models/UpdateSlackIntegrationRequest.d.ts +1 -1
  810. package/dist/models/UpdateSlackIntegrationRequest.js +1 -1
  811. package/dist/models/UpdateSlackIntegrationResponse.d.ts +1 -1
  812. package/dist/models/UpdateSlackIntegrationResponse.js +1 -1
  813. package/dist/models/UpdateWebhookResponse.d.ts +1 -1
  814. package/dist/models/UpdateWebhookResponse.js +1 -1
  815. package/dist/models/UpdateWorkflowStepResponse.d.ts +1 -1
  816. package/dist/models/UpdateWorkflowStepResponse.js +1 -1
  817. package/dist/models/UpdateWorkspaceOriginInquiryRequest.d.ts +1 -1
  818. package/dist/models/UpdateWorkspaceOriginInquiryRequest.js +1 -1
  819. package/dist/models/UpdateWorkspaceOriginPurposeRequest.d.ts +1 -1
  820. package/dist/models/UpdateWorkspaceOriginPurposeRequest.js +1 -1
  821. package/dist/models/UpdateWorkspaceRequest.d.ts +1 -1
  822. package/dist/models/UpdateWorkspaceRequest.js +1 -1
  823. package/dist/models/UpdateWorkspaceTokenResponse.d.ts +33 -0
  824. package/dist/models/UpdateWorkspaceTokenResponse.js +49 -0
  825. package/dist/models/VCardData.d.ts +1 -1
  826. package/dist/models/VCardData.js +1 -1
  827. package/dist/models/VCardPayload.d.ts +1 -1
  828. package/dist/models/VCardPayload.js +1 -1
  829. package/dist/models/VCardSocialLink.d.ts +1 -1
  830. package/dist/models/VCardSocialLink.js +1 -1
  831. package/dist/models/ValidateWorkflowResponse.d.ts +1 -1
  832. package/dist/models/ValidateWorkflowResponse.js +1 -1
  833. package/dist/models/ValidationInstructionsCustomDomainResponse.d.ts +1 -1
  834. package/dist/models/ValidationInstructionsCustomDomainResponse.js +1 -1
  835. package/dist/models/ValidationInstructionsCustomDomainResponseValidation.d.ts +1 -1
  836. package/dist/models/ValidationInstructionsCustomDomainResponseValidation.js +1 -1
  837. package/dist/models/ValidationInstructionsCustomDomainResponseValidationType.d.ts +1 -1
  838. package/dist/models/ValidationInstructionsCustomDomainResponseValidationType.js +1 -1
  839. package/dist/models/ValidationPurpose.d.ts +1 -1
  840. package/dist/models/ValidationPurpose.js +1 -1
  841. package/dist/models/VisitType.d.ts +1 -1
  842. package/dist/models/VisitType.js +1 -1
  843. package/dist/models/VisitTypeConditionOption.d.ts +1 -1
  844. package/dist/models/VisitTypeConditionOption.js +1 -1
  845. package/dist/models/VisitTypeConditionPayload.d.ts +1 -1
  846. package/dist/models/VisitTypeConditionPayload.js +1 -1
  847. package/dist/models/VisitTypeConditionTraceData.d.ts +1 -1
  848. package/dist/models/VisitTypeConditionTraceData.js +1 -1
  849. package/dist/models/VisitTypeConditionTraceOption.d.ts +1 -1
  850. package/dist/models/VisitTypeConditionTraceOption.js +1 -1
  851. package/dist/models/Visitor.d.ts +1 -1
  852. package/dist/models/Visitor.js +1 -1
  853. package/dist/models/VisitorAttribute.d.ts +1 -1
  854. package/dist/models/VisitorAttribute.js +1 -1
  855. package/dist/models/VisitorAttributeFilter.d.ts +1 -1
  856. package/dist/models/VisitorAttributeFilter.js +1 -1
  857. package/dist/models/VisitorAttributeFilterOperator.d.ts +1 -1
  858. package/dist/models/VisitorAttributeFilterOperator.js +1 -1
  859. package/dist/models/VisitorAttributeKey.d.ts +1 -1
  860. package/dist/models/VisitorAttributeKey.js +1 -1
  861. package/dist/models/VisitorAttributeType.d.ts +1 -1
  862. package/dist/models/VisitorAttributeType.js +1 -1
  863. package/dist/models/VisitorDataConditionOption.d.ts +1 -1
  864. package/dist/models/VisitorDataConditionOption.js +1 -1
  865. package/dist/models/VisitorDataConditionPayload.d.ts +1 -1
  866. package/dist/models/VisitorDataConditionPayload.js +1 -1
  867. package/dist/models/VisitorDataConditionTraceData.d.ts +1 -1
  868. package/dist/models/VisitorDataConditionTraceData.js +1 -1
  869. package/dist/models/VisitorDataConditionTraceOption.d.ts +1 -1
  870. package/dist/models/VisitorDataConditionTraceOption.js +1 -1
  871. package/dist/models/VisitorEvent.d.ts +1 -1
  872. package/dist/models/VisitorEvent.js +1 -1
  873. package/dist/models/VisitorInput.d.ts +1 -1
  874. package/dist/models/VisitorInput.js +1 -1
  875. package/dist/models/VisitorLink.d.ts +1 -1
  876. package/dist/models/VisitorLink.js +1 -1
  877. package/dist/models/VisitorSortField.d.ts +1 -1
  878. package/dist/models/VisitorSortField.js +1 -1
  879. package/dist/models/VisitorTrendDataPoint.d.ts +1 -1
  880. package/dist/models/VisitorTrendDataPoint.js +1 -1
  881. package/dist/models/VisitorsServiceUpdateBody.d.ts +1 -1
  882. package/dist/models/VisitorsServiceUpdateBody.js +1 -1
  883. package/dist/models/Webhook.d.ts +1 -1
  884. package/dist/models/Webhook.js +1 -1
  885. package/dist/models/WebhookSource.d.ts +1 -1
  886. package/dist/models/WebhookSource.js +1 -1
  887. package/dist/models/WebhookStatus.d.ts +1 -1
  888. package/dist/models/WebhookStatus.js +1 -1
  889. package/dist/models/WebhooksServiceUpdateBody.d.ts +1 -1
  890. package/dist/models/WebhooksServiceUpdateBody.js +1 -1
  891. package/dist/models/WidgetDataSource.d.ts +1 -1
  892. package/dist/models/WidgetDataSource.js +1 -1
  893. package/dist/models/WidgetFieldMapping.d.ts +1 -1
  894. package/dist/models/WidgetFieldMapping.js +1 -1
  895. package/dist/models/WidgetPosition.d.ts +1 -1
  896. package/dist/models/WidgetPosition.js +1 -1
  897. package/dist/models/WidgetSize.d.ts +1 -1
  898. package/dist/models/WidgetSize.js +1 -1
  899. package/dist/models/WidgetTab.d.ts +1 -1
  900. package/dist/models/WidgetTab.js +1 -1
  901. package/dist/models/WidgetTabMode.d.ts +1 -1
  902. package/dist/models/WidgetTabMode.js +1 -1
  903. package/dist/models/WidgetTabView.d.ts +1 -1
  904. package/dist/models/WidgetTabView.js +1 -1
  905. package/dist/models/WidgetVisualization.d.ts +1 -1
  906. package/dist/models/WidgetVisualization.js +1 -1
  907. package/dist/models/WorkflowIssue.d.ts +1 -1
  908. package/dist/models/WorkflowIssue.js +1 -1
  909. package/dist/models/WorkflowStep.d.ts +1 -1
  910. package/dist/models/WorkflowStep.js +1 -1
  911. package/dist/models/WorkflowStepBranch.d.ts +1 -1
  912. package/dist/models/WorkflowStepBranch.js +1 -1
  913. package/dist/models/WorkflowStepKind.d.ts +1 -1
  914. package/dist/models/WorkflowStepKind.js +1 -1
  915. package/dist/models/WorkflowStepNodeType.d.ts +1 -1
  916. package/dist/models/WorkflowStepNodeType.js +1 -1
  917. package/dist/models/WorkflowStepPayload.d.ts +1 -1
  918. package/dist/models/WorkflowStepPayload.js +1 -1
  919. package/dist/models/WorkflowStepsServiceConnectStepBody.d.ts +1 -1
  920. package/dist/models/WorkflowStepsServiceConnectStepBody.js +1 -1
  921. package/dist/models/WorkflowStepsServiceCreateBody.d.ts +1 -1
  922. package/dist/models/WorkflowStepsServiceCreateBody.js +1 -1
  923. package/dist/models/WorkflowStepsServiceUpdateBody.d.ts +1 -1
  924. package/dist/models/WorkflowStepsServiceUpdateBody.js +1 -1
  925. package/dist/models/Workspace.d.ts +1 -1
  926. package/dist/models/Workspace.js +1 -1
  927. package/dist/models/WorkspaceInsight.d.ts +1 -1
  928. package/dist/models/WorkspaceInsight.js +1 -1
  929. package/dist/models/WorkspaceMetric.d.ts +1 -1
  930. package/dist/models/WorkspaceMetric.js +1 -1
  931. package/dist/models/WorkspaceToken.d.ts +16 -2
  932. package/dist/models/WorkspaceToken.js +5 -1
  933. package/dist/models/WorkspaceTokenKeyType.d.ts +1 -1
  934. package/dist/models/WorkspaceTokenKeyType.js +1 -1
  935. package/dist/models/WorkspaceTokensServiceUpdateBody.d.ts +45 -0
  936. package/dist/models/WorkspaceTokensServiceUpdateBody.js +53 -0
  937. package/dist/models/index.d.ts +19 -0
  938. package/dist/models/index.js +19 -0
  939. package/dist/runtime.d.ts +1 -1
  940. package/dist/runtime.js +1 -1
  941. package/package.json +1 -1
@@ -5,7 +5,7 @@
5
5
  * Linkbreakers API
6
6
  * This is a documentation of all the APIs of Linkbreakers
7
7
  *
8
- * The version of the OpenAPI document: 1.144.0
8
+ * The version of the OpenAPI document: 1.146.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -66,9 +66,13 @@ class WorkflowStepsApi extends runtime.BaseAPI {
66
66
  const queryParameters = {};
67
67
  const headerParameters = {};
68
68
  headerParameters['Content-Type'] = 'application/json';
69
+ if (this.configuration && this.configuration.accessToken) {
70
+ // oauth required
71
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", ["workflows:write"]);
72
+ }
69
73
  if (this.configuration && this.configuration.accessToken) {
70
74
  const token = this.configuration.accessToken;
71
- const tokenString = await token("bearerAuth", []);
75
+ const tokenString = await token("bearerAuth", ["workflows:write"]);
72
76
  if (tokenString) {
73
77
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
74
78
  }
@@ -84,7 +88,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
84
88
  };
85
89
  }
86
90
  /**
87
- * Arranges all workflow steps in a clean left-to-right DAG layout. Useful after building a workflow from scratch.
91
+ * Arranges all workflow steps in a clean left-to-right DAG layout. Useful after building a workflow from scratch. Requires the `workflows:write` scope.
88
92
  * Auto-layout workflow
89
93
  */
90
94
  async workflowStepsServiceAutoLayoutWorkflowRaw(requestParameters, initOverrides) {
@@ -93,7 +97,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
93
97
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AutoLayoutWorkflowResponseFromJSON)(jsonValue));
94
98
  }
95
99
  /**
96
- * Arranges all workflow steps in a clean left-to-right DAG layout. Useful after building a workflow from scratch.
100
+ * Arranges all workflow steps in a clean left-to-right DAG layout. Useful after building a workflow from scratch. Requires the `workflows:write` scope.
97
101
  * Auto-layout workflow
98
102
  */
99
103
  async workflowStepsServiceAutoLayoutWorkflow(requestParameters, initOverrides) {
@@ -119,9 +123,13 @@ class WorkflowStepsApi extends runtime.BaseAPI {
119
123
  const queryParameters = {};
120
124
  const headerParameters = {};
121
125
  headerParameters['Content-Type'] = 'application/json';
126
+ if (this.configuration && this.configuration.accessToken) {
127
+ // oauth required
128
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", ["workflows:write"]);
129
+ }
122
130
  if (this.configuration && this.configuration.accessToken) {
123
131
  const token = this.configuration.accessToken;
124
- const tokenString = await token("bearerAuth", []);
132
+ const tokenString = await token("bearerAuth", ["workflows:write"]);
125
133
  if (tokenString) {
126
134
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
127
135
  }
@@ -139,7 +147,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
139
147
  };
140
148
  }
141
149
  /**
142
- * Every workflow step is connected the same way: name the branch it leaves from, and the step it leads to. Atomic steps (redirect, password, form, message page) have exactly one branch, \"next\". Composite steps (multi-link, conditions) have one branch per button, option or range, plus \"else\" for a condition\'s fallback. Exit steps end the journey and have no branches at all. Read a step to see its branches, their ids and their current destinations. Idempotent: connecting a branch to the step it already leads to is a no-op.
150
+ * Every workflow step is connected the same way: name the branch it leaves from, and the step it leads to. Atomic steps (redirect, password, form, message page) have exactly one branch, \"next\". Composite steps (multi-link, conditions) have one branch per button, option or range, plus \"else\" for a condition\'s fallback. Exit steps end the journey and have no branches at all. Read a step to see its branches, their ids and their current destinations. Idempotent: connecting a branch to the step it already leads to is a no-op. Requires the `workflows:write` scope.
143
151
  * Connect one exit of a workflow step to another step
144
152
  */
145
153
  async workflowStepsServiceConnectStepRaw(requestParameters, initOverrides) {
@@ -148,7 +156,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
148
156
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ConnectWorkflowStepResponseFromJSON)(jsonValue));
149
157
  }
150
158
  /**
151
- * Every workflow step is connected the same way: name the branch it leaves from, and the step it leads to. Atomic steps (redirect, password, form, message page) have exactly one branch, \"next\". Composite steps (multi-link, conditions) have one branch per button, option or range, plus \"else\" for a condition\'s fallback. Exit steps end the journey and have no branches at all. Read a step to see its branches, their ids and their current destinations. Idempotent: connecting a branch to the step it already leads to is a no-op.
159
+ * Every workflow step is connected the same way: name the branch it leaves from, and the step it leads to. Atomic steps (redirect, password, form, message page) have exactly one branch, \"next\". Composite steps (multi-link, conditions) have one branch per button, option or range, plus \"else\" for a condition\'s fallback. Exit steps end the journey and have no branches at all. Read a step to see its branches, their ids and their current destinations. Idempotent: connecting a branch to the step it already leads to is a no-op. Requires the `workflows:write` scope.
152
160
  * Connect one exit of a workflow step to another step
153
161
  */
154
162
  async workflowStepsServiceConnectStep(requestParameters, initOverrides) {
@@ -168,9 +176,13 @@ class WorkflowStepsApi extends runtime.BaseAPI {
168
176
  const queryParameters = {};
169
177
  const headerParameters = {};
170
178
  headerParameters['Content-Type'] = 'application/json';
179
+ if (this.configuration && this.configuration.accessToken) {
180
+ // oauth required
181
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", ["workflows:write"]);
182
+ }
171
183
  if (this.configuration && this.configuration.accessToken) {
172
184
  const token = this.configuration.accessToken;
173
- const tokenString = await token("bearerAuth", []);
185
+ const tokenString = await token("bearerAuth", ["workflows:write"]);
174
186
  if (tokenString) {
175
187
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
176
188
  }
@@ -186,7 +198,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
186
198
  };
187
199
  }
188
200
  /**
189
- * This endpoint allows users to create a new workflow step for a link. Workflow steps define the behavior of links, such as redirection destinations.
201
+ * This endpoint allows users to create a new workflow step for a link. Workflow steps define the behavior of links, such as redirection destinations. Requires the `workflows:write` scope.
190
202
  * Create a new workflow step
191
203
  */
192
204
  async workflowStepsServiceCreateRaw(requestParameters, initOverrides) {
@@ -195,7 +207,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
195
207
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CreateWorkflowStepResponseFromJSON)(jsonValue));
196
208
  }
197
209
  /**
198
- * This endpoint allows users to create a new workflow step for a link. Workflow steps define the behavior of links, such as redirection destinations.
210
+ * This endpoint allows users to create a new workflow step for a link. Workflow steps define the behavior of links, such as redirection destinations. Requires the `workflows:write` scope.
199
211
  * Create a new workflow step
200
212
  */
201
213
  async workflowStepsServiceCreate(requestParameters, initOverrides) {
@@ -214,9 +226,13 @@ class WorkflowStepsApi extends runtime.BaseAPI {
214
226
  }
215
227
  const queryParameters = {};
216
228
  const headerParameters = {};
229
+ if (this.configuration && this.configuration.accessToken) {
230
+ // oauth required
231
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", ["workflows:write"]);
232
+ }
217
233
  if (this.configuration && this.configuration.accessToken) {
218
234
  const token = this.configuration.accessToken;
219
- const tokenString = await token("bearerAuth", []);
235
+ const tokenString = await token("bearerAuth", ["workflows:write"]);
220
236
  if (tokenString) {
221
237
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
222
238
  }
@@ -232,7 +248,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
232
248
  };
233
249
  }
234
250
  /**
235
- * Removes a workflow step from the link. This operation cannot be undone.
251
+ * Removes a workflow step from the link. This operation cannot be undone. Requires the `workflows:write` scope.
236
252
  * Delete a workflow step
237
253
  */
238
254
  async workflowStepsServiceDeleteRaw(requestParameters, initOverrides) {
@@ -241,7 +257,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
241
257
  return new runtime.JSONApiResponse(response);
242
258
  }
243
259
  /**
244
- * Removes a workflow step from the link. This operation cannot be undone.
260
+ * Removes a workflow step from the link. This operation cannot be undone. Requires the `workflows:write` scope.
245
261
  * Delete a workflow step
246
262
  */
247
263
  async workflowStepsServiceDelete(requestParameters, initOverrides) {
@@ -263,9 +279,13 @@ class WorkflowStepsApi extends runtime.BaseAPI {
263
279
  }
264
280
  const queryParameters = {};
265
281
  const headerParameters = {};
282
+ if (this.configuration && this.configuration.accessToken) {
283
+ // oauth required
284
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", ["workflows:write"]);
285
+ }
266
286
  if (this.configuration && this.configuration.accessToken) {
267
287
  const token = this.configuration.accessToken;
268
- const tokenString = await token("bearerAuth", []);
288
+ const tokenString = await token("bearerAuth", ["workflows:write"]);
269
289
  if (tokenString) {
270
290
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
271
291
  }
@@ -282,7 +302,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
282
302
  };
283
303
  }
284
304
  /**
285
- * Leaves the branch with no destination. Clearing a branch that is already clear succeeds. See ConnectStep for what a branch id is.
305
+ * Leaves the branch with no destination. Clearing a branch that is already clear succeeds. See ConnectStep for what a branch id is. Requires the `workflows:write` scope.
286
306
  * Clear one exit of a workflow step
287
307
  */
288
308
  async workflowStepsServiceDisconnectStepRaw(requestParameters, initOverrides) {
@@ -291,7 +311,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
291
311
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.DisconnectWorkflowStepResponseFromJSON)(jsonValue));
292
312
  }
293
313
  /**
294
- * Leaves the branch with no destination. Clearing a branch that is already clear succeeds. See ConnectStep for what a branch id is.
314
+ * Leaves the branch with no destination. Clearing a branch that is already clear succeeds. See ConnectStep for what a branch id is. Requires the `workflows:write` scope.
295
315
  * Clear one exit of a workflow step
296
316
  */
297
317
  async workflowStepsServiceDisconnectStep(requestParameters, initOverrides) {
@@ -310,9 +330,13 @@ class WorkflowStepsApi extends runtime.BaseAPI {
310
330
  }
311
331
  const queryParameters = {};
312
332
  const headerParameters = {};
333
+ if (this.configuration && this.configuration.accessToken) {
334
+ // oauth required
335
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", ["workflows:read"]);
336
+ }
313
337
  if (this.configuration && this.configuration.accessToken) {
314
338
  const token = this.configuration.accessToken;
315
- const tokenString = await token("bearerAuth", []);
339
+ const tokenString = await token("bearerAuth", ["workflows:read"]);
316
340
  if (tokenString) {
317
341
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
318
342
  }
@@ -328,7 +352,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
328
352
  };
329
353
  }
330
354
  /**
331
- * Retrieves information about a specific workflow step.
355
+ * Retrieves information about a specific workflow step. Requires the `workflows:read` scope.
332
356
  * Get workflow step details
333
357
  */
334
358
  async workflowStepsServiceGetRaw(requestParameters, initOverrides) {
@@ -337,7 +361,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
337
361
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetWorkflowStepResponseFromJSON)(jsonValue));
338
362
  }
339
363
  /**
340
- * Retrieves information about a specific workflow step.
364
+ * Retrieves information about a specific workflow step. Requires the `workflows:read` scope.
341
365
  * Get workflow step details
342
366
  */
343
367
  async workflowStepsServiceGet(requestParameters, initOverrides) {
@@ -359,9 +383,13 @@ class WorkflowStepsApi extends runtime.BaseAPI {
359
383
  queryParameters['pageToken'] = requestParameters['pageToken'];
360
384
  }
361
385
  const headerParameters = {};
386
+ if (this.configuration && this.configuration.accessToken) {
387
+ // oauth required
388
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", ["workflows:read"]);
389
+ }
362
390
  if (this.configuration && this.configuration.accessToken) {
363
391
  const token = this.configuration.accessToken;
364
- const tokenString = await token("bearerAuth", []);
392
+ const tokenString = await token("bearerAuth", ["workflows:read"]);
365
393
  if (tokenString) {
366
394
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
367
395
  }
@@ -376,7 +404,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
376
404
  };
377
405
  }
378
406
  /**
379
- * Retrieves all workflow steps for a specific link
407
+ * Retrieves all workflow steps for a specific link Requires the `workflows:read` scope.
380
408
  * List workflow steps for a link
381
409
  */
382
410
  async workflowStepsServiceListRaw(requestParameters, initOverrides) {
@@ -385,7 +413,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
385
413
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListWorkflowStepsResponseFromJSON)(jsonValue));
386
414
  }
387
415
  /**
388
- * Retrieves all workflow steps for a specific link
416
+ * Retrieves all workflow steps for a specific link Requires the `workflows:read` scope.
389
417
  * List workflow steps for a link
390
418
  */
391
419
  async workflowStepsServiceList(requestParameters, initOverrides) {
@@ -408,9 +436,13 @@ class WorkflowStepsApi extends runtime.BaseAPI {
408
436
  const queryParameters = {};
409
437
  const headerParameters = {};
410
438
  headerParameters['Content-Type'] = 'application/json';
439
+ if (this.configuration && this.configuration.accessToken) {
440
+ // oauth required
441
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", ["workflows:write"]);
442
+ }
411
443
  if (this.configuration && this.configuration.accessToken) {
412
444
  const token = this.configuration.accessToken;
413
- const tokenString = await token("bearerAuth", []);
445
+ const tokenString = await token("bearerAuth", ["workflows:write"]);
414
446
  if (tokenString) {
415
447
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
416
448
  }
@@ -427,7 +459,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
427
459
  };
428
460
  }
429
461
  /**
430
- * Pushes overlapping steps away from a given anchor step using iterative radial repulsion. The anchor step stays fixed. Use after adding or moving individual steps to preserve the existing layout.
462
+ * Pushes overlapping steps away from a given anchor step using iterative radial repulsion. The anchor step stays fixed. Use after adding or moving individual steps to preserve the existing layout. Requires the `workflows:write` scope.
431
463
  * Resolve step collisions
432
464
  */
433
465
  async workflowStepsServiceResolveStepCollisionsRaw(requestParameters, initOverrides) {
@@ -436,7 +468,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
436
468
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ResolveStepCollisionsResponseFromJSON)(jsonValue));
437
469
  }
438
470
  /**
439
- * Pushes overlapping steps away from a given anchor step using iterative radial repulsion. The anchor step stays fixed. Use after adding or moving individual steps to preserve the existing layout.
471
+ * Pushes overlapping steps away from a given anchor step using iterative radial repulsion. The anchor step stays fixed. Use after adding or moving individual steps to preserve the existing layout. Requires the `workflows:write` scope.
440
472
  * Resolve step collisions
441
473
  */
442
474
  async workflowStepsServiceResolveStepCollisions(requestParameters, initOverrides) {
@@ -459,9 +491,13 @@ class WorkflowStepsApi extends runtime.BaseAPI {
459
491
  const queryParameters = {};
460
492
  const headerParameters = {};
461
493
  headerParameters['Content-Type'] = 'application/json';
494
+ if (this.configuration && this.configuration.accessToken) {
495
+ // oauth required
496
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", ["workflows:write"]);
497
+ }
462
498
  if (this.configuration && this.configuration.accessToken) {
463
499
  const token = this.configuration.accessToken;
464
- const tokenString = await token("bearerAuth", []);
500
+ const tokenString = await token("bearerAuth", ["workflows:write"]);
465
501
  if (tokenString) {
466
502
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
467
503
  }
@@ -478,7 +514,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
478
514
  };
479
515
  }
480
516
  /**
481
- * Updates an existing workflow step for a link.
517
+ * Updates an existing workflow step for a link. Requires the `workflows:write` scope.
482
518
  * Update a workflow step
483
519
  */
484
520
  async workflowStepsServiceUpdateRaw(requestParameters, initOverrides) {
@@ -487,7 +523,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
487
523
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UpdateWorkflowStepResponseFromJSON)(jsonValue));
488
524
  }
489
525
  /**
490
- * Updates an existing workflow step for a link.
526
+ * Updates an existing workflow step for a link. Requires the `workflows:write` scope.
491
527
  * Update a workflow step
492
528
  */
493
529
  async workflowStepsServiceUpdate(requestParameters, initOverrides) {
@@ -503,9 +539,13 @@ class WorkflowStepsApi extends runtime.BaseAPI {
503
539
  }
504
540
  const queryParameters = {};
505
541
  const headerParameters = {};
542
+ if (this.configuration && this.configuration.accessToken) {
543
+ // oauth required
544
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", ["workflows:read"]);
545
+ }
506
546
  if (this.configuration && this.configuration.accessToken) {
507
547
  const token = this.configuration.accessToken;
508
- const tokenString = await token("bearerAuth", []);
548
+ const tokenString = await token("bearerAuth", ["workflows:read"]);
509
549
  if (tokenString) {
510
550
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
511
551
  }
@@ -520,6 +560,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
520
560
  };
521
561
  }
522
562
  /**
563
+ * Requires the `workflows:read` scope.
523
564
  */
524
565
  async workflowStepsServiceValidateWorkflowRaw(requestParameters, initOverrides) {
525
566
  const requestOptions = await this.workflowStepsServiceValidateWorkflowRequestOpts(requestParameters);
@@ -527,6 +568,7 @@ class WorkflowStepsApi extends runtime.BaseAPI {
527
568
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ValidateWorkflowResponseFromJSON)(jsonValue));
528
569
  }
529
570
  /**
571
+ * Requires the `workflows:read` scope.
530
572
  */
531
573
  async workflowStepsServiceValidateWorkflow(requestParameters, initOverrides) {
532
574
  const response = await this.workflowStepsServiceValidateWorkflowRaw(requestParameters, initOverrides);
@@ -2,7 +2,7 @@
2
2
  * Linkbreakers API
3
3
  * This is a documentation of all the APIs of Linkbreakers
4
4
  *
5
- * The version of the OpenAPI document: 1.144.0
5
+ * The version of the OpenAPI document: 1.146.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -33,7 +33,7 @@ export interface WorkspaceMetricsApiInterface {
33
33
  */
34
34
  metricsServiceGetEventsMetricRequestOpts(requestParameters: MetricsServiceGetEventsMetricRequest): Promise<runtime.RequestOpts>;
35
35
  /**
36
- * Retrieve aggregated event analytics for the provided time window and optional link filter.
36
+ * Retrieve aggregated event analytics for the provided time window and optional link filter. Requires the `analytics:read` scope.
37
37
  * @summary Get events metric
38
38
  * @param {Date} [startDate] Inclusive start timestamp for the aggregation
39
39
  * @param {Date} [endDate] Inclusive end timestamp for the aggregation
@@ -44,7 +44,7 @@ export interface WorkspaceMetricsApiInterface {
44
44
  */
45
45
  metricsServiceGetEventsMetricRaw(requestParameters: MetricsServiceGetEventsMetricRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EventsMetric>>;
46
46
  /**
47
- * Retrieve aggregated event analytics for the provided time window and optional link filter.
47
+ * Retrieve aggregated event analytics for the provided time window and optional link filter. Requires the `analytics:read` scope.
48
48
  * Get events metric
49
49
  */
50
50
  metricsServiceGetEventsMetric(requestParameters: MetricsServiceGetEventsMetricRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EventsMetric>;
@@ -55,7 +55,7 @@ export interface WorkspaceMetricsApiInterface {
55
55
  */
56
56
  metricsServiceGetWorkspaceInsightRequestOpts(): Promise<runtime.RequestOpts>;
57
57
  /**
58
- * Return workspace usage insights including the preferred link type based on historical link creation patterns.
58
+ * Return workspace usage insights including the preferred link type based on historical link creation patterns. Requires the `analytics:read` scope.
59
59
  * @summary Get workspace insight
60
60
  * @param {*} [options] Override http request option.
61
61
  * @throws {RequiredError}
@@ -63,7 +63,7 @@ export interface WorkspaceMetricsApiInterface {
63
63
  */
64
64
  metricsServiceGetWorkspaceInsightRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkspaceInsight>>;
65
65
  /**
66
- * Return workspace usage insights including the preferred link type based on historical link creation patterns.
66
+ * Return workspace usage insights including the preferred link type based on historical link creation patterns. Requires the `analytics:read` scope.
67
67
  * Get workspace insight
68
68
  */
69
69
  metricsServiceGetWorkspaceInsight(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkspaceInsight>;
@@ -74,7 +74,7 @@ export interface WorkspaceMetricsApiInterface {
74
74
  */
75
75
  metricsServiceGetWorkspaceMetricRequestOpts(): Promise<runtime.RequestOpts>;
76
76
  /**
77
- * Return high-level workspace totals covering members, links, and activity volume.
77
+ * Return high-level workspace totals covering members, links, and activity volume. Requires the `analytics:read` scope.
78
78
  * @summary Get workspace metric
79
79
  * @param {*} [options] Override http request option.
80
80
  * @throws {RequiredError}
@@ -82,7 +82,7 @@ export interface WorkspaceMetricsApiInterface {
82
82
  */
83
83
  metricsServiceGetWorkspaceMetricRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkspaceMetric>>;
84
84
  /**
85
- * Return high-level workspace totals covering members, links, and activity volume.
85
+ * Return high-level workspace totals covering members, links, and activity volume. Requires the `analytics:read` scope.
86
86
  * Get workspace metric
87
87
  */
88
88
  metricsServiceGetWorkspaceMetric(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkspaceMetric>;
@@ -96,12 +96,12 @@ export declare class WorkspaceMetricsApi extends runtime.BaseAPI implements Work
96
96
  */
97
97
  metricsServiceGetEventsMetricRequestOpts(requestParameters: MetricsServiceGetEventsMetricRequest): Promise<runtime.RequestOpts>;
98
98
  /**
99
- * Retrieve aggregated event analytics for the provided time window and optional link filter.
99
+ * Retrieve aggregated event analytics for the provided time window and optional link filter. Requires the `analytics:read` scope.
100
100
  * Get events metric
101
101
  */
102
102
  metricsServiceGetEventsMetricRaw(requestParameters: MetricsServiceGetEventsMetricRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EventsMetric>>;
103
103
  /**
104
- * Retrieve aggregated event analytics for the provided time window and optional link filter.
104
+ * Retrieve aggregated event analytics for the provided time window and optional link filter. Requires the `analytics:read` scope.
105
105
  * Get events metric
106
106
  */
107
107
  metricsServiceGetEventsMetric(requestParameters?: MetricsServiceGetEventsMetricRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EventsMetric>;
@@ -110,12 +110,12 @@ export declare class WorkspaceMetricsApi extends runtime.BaseAPI implements Work
110
110
  */
111
111
  metricsServiceGetWorkspaceInsightRequestOpts(): Promise<runtime.RequestOpts>;
112
112
  /**
113
- * Return workspace usage insights including the preferred link type based on historical link creation patterns.
113
+ * Return workspace usage insights including the preferred link type based on historical link creation patterns. Requires the `analytics:read` scope.
114
114
  * Get workspace insight
115
115
  */
116
116
  metricsServiceGetWorkspaceInsightRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkspaceInsight>>;
117
117
  /**
118
- * Return workspace usage insights including the preferred link type based on historical link creation patterns.
118
+ * Return workspace usage insights including the preferred link type based on historical link creation patterns. Requires the `analytics:read` scope.
119
119
  * Get workspace insight
120
120
  */
121
121
  metricsServiceGetWorkspaceInsight(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkspaceInsight>;
@@ -124,12 +124,12 @@ export declare class WorkspaceMetricsApi extends runtime.BaseAPI implements Work
124
124
  */
125
125
  metricsServiceGetWorkspaceMetricRequestOpts(): Promise<runtime.RequestOpts>;
126
126
  /**
127
- * Return high-level workspace totals covering members, links, and activity volume.
127
+ * Return high-level workspace totals covering members, links, and activity volume. Requires the `analytics:read` scope.
128
128
  * Get workspace metric
129
129
  */
130
130
  metricsServiceGetWorkspaceMetricRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkspaceMetric>>;
131
131
  /**
132
- * Return high-level workspace totals covering members, links, and activity volume.
132
+ * Return high-level workspace totals covering members, links, and activity volume. Requires the `analytics:read` scope.
133
133
  * Get workspace metric
134
134
  */
135
135
  metricsServiceGetWorkspaceMetric(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkspaceMetric>;
@@ -5,7 +5,7 @@
5
5
  * Linkbreakers API
6
6
  * This is a documentation of all the APIs of Linkbreakers
7
7
  *
8
- * The version of the OpenAPI document: 1.144.0
8
+ * The version of the OpenAPI document: 1.146.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -68,9 +68,13 @@ class WorkspaceMetricsApi extends runtime.BaseAPI {
68
68
  queryParameters['linkId'] = requestParameters['linkId'];
69
69
  }
70
70
  const headerParameters = {};
71
+ if (this.configuration && this.configuration.accessToken) {
72
+ // oauth required
73
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", ["analytics:read"]);
74
+ }
71
75
  if (this.configuration && this.configuration.accessToken) {
72
76
  const token = this.configuration.accessToken;
73
- const tokenString = await token("bearerAuth", []);
77
+ const tokenString = await token("bearerAuth", ["analytics:read"]);
74
78
  if (tokenString) {
75
79
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
76
80
  }
@@ -84,7 +88,7 @@ class WorkspaceMetricsApi extends runtime.BaseAPI {
84
88
  };
85
89
  }
86
90
  /**
87
- * Retrieve aggregated event analytics for the provided time window and optional link filter.
91
+ * Retrieve aggregated event analytics for the provided time window and optional link filter. Requires the `analytics:read` scope.
88
92
  * Get events metric
89
93
  */
90
94
  async metricsServiceGetEventsMetricRaw(requestParameters, initOverrides) {
@@ -93,7 +97,7 @@ class WorkspaceMetricsApi extends runtime.BaseAPI {
93
97
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EventsMetricFromJSON)(jsonValue));
94
98
  }
95
99
  /**
96
- * Retrieve aggregated event analytics for the provided time window and optional link filter.
100
+ * Retrieve aggregated event analytics for the provided time window and optional link filter. Requires the `analytics:read` scope.
97
101
  * Get events metric
98
102
  */
99
103
  async metricsServiceGetEventsMetric(requestParameters = {}, initOverrides) {
@@ -106,9 +110,13 @@ class WorkspaceMetricsApi extends runtime.BaseAPI {
106
110
  async metricsServiceGetWorkspaceInsightRequestOpts() {
107
111
  const queryParameters = {};
108
112
  const headerParameters = {};
113
+ if (this.configuration && this.configuration.accessToken) {
114
+ // oauth required
115
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", ["analytics:read"]);
116
+ }
109
117
  if (this.configuration && this.configuration.accessToken) {
110
118
  const token = this.configuration.accessToken;
111
- const tokenString = await token("bearerAuth", []);
119
+ const tokenString = await token("bearerAuth", ["analytics:read"]);
112
120
  if (tokenString) {
113
121
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
114
122
  }
@@ -122,7 +130,7 @@ class WorkspaceMetricsApi extends runtime.BaseAPI {
122
130
  };
123
131
  }
124
132
  /**
125
- * Return workspace usage insights including the preferred link type based on historical link creation patterns.
133
+ * Return workspace usage insights including the preferred link type based on historical link creation patterns. Requires the `analytics:read` scope.
126
134
  * Get workspace insight
127
135
  */
128
136
  async metricsServiceGetWorkspaceInsightRaw(initOverrides) {
@@ -131,7 +139,7 @@ class WorkspaceMetricsApi extends runtime.BaseAPI {
131
139
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.WorkspaceInsightFromJSON)(jsonValue));
132
140
  }
133
141
  /**
134
- * Return workspace usage insights including the preferred link type based on historical link creation patterns.
142
+ * Return workspace usage insights including the preferred link type based on historical link creation patterns. Requires the `analytics:read` scope.
135
143
  * Get workspace insight
136
144
  */
137
145
  async metricsServiceGetWorkspaceInsight(initOverrides) {
@@ -144,9 +152,13 @@ class WorkspaceMetricsApi extends runtime.BaseAPI {
144
152
  async metricsServiceGetWorkspaceMetricRequestOpts() {
145
153
  const queryParameters = {};
146
154
  const headerParameters = {};
155
+ if (this.configuration && this.configuration.accessToken) {
156
+ // oauth required
157
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", ["analytics:read"]);
158
+ }
147
159
  if (this.configuration && this.configuration.accessToken) {
148
160
  const token = this.configuration.accessToken;
149
- const tokenString = await token("bearerAuth", []);
161
+ const tokenString = await token("bearerAuth", ["analytics:read"]);
150
162
  if (tokenString) {
151
163
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
152
164
  }
@@ -160,7 +172,7 @@ class WorkspaceMetricsApi extends runtime.BaseAPI {
160
172
  };
161
173
  }
162
174
  /**
163
- * Return high-level workspace totals covering members, links, and activity volume.
175
+ * Return high-level workspace totals covering members, links, and activity volume. Requires the `analytics:read` scope.
164
176
  * Get workspace metric
165
177
  */
166
178
  async metricsServiceGetWorkspaceMetricRaw(initOverrides) {
@@ -169,7 +181,7 @@ class WorkspaceMetricsApi extends runtime.BaseAPI {
169
181
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.WorkspaceMetricFromJSON)(jsonValue));
170
182
  }
171
183
  /**
172
- * Return high-level workspace totals covering members, links, and activity volume.
184
+ * Return high-level workspace totals covering members, links, and activity volume. Requires the `analytics:read` scope.
173
185
  * Get workspace metric
174
186
  */
175
187
  async metricsServiceGetWorkspaceMetric(initOverrides) {