@widgetic/api-sdk-ts 0.0.0-stage → 1.11.109

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 (1068) hide show
  1. package/README.md +98 -2
  2. package/dist/apis/CanvasesApi.d.ts +92 -0
  3. package/dist/apis/CanvasesApi.js +253 -0
  4. package/dist/apis/CompositionsApi.d.ts +637 -0
  5. package/dist/apis/CompositionsApi.js +1726 -0
  6. package/dist/apis/CreditsApi.d.ts +47 -0
  7. package/dist/apis/CreditsApi.js +132 -0
  8. package/dist/apis/EntitlementsApi.d.ts +50 -0
  9. package/dist/apis/EntitlementsApi.js +141 -0
  10. package/dist/apis/InvoicesApi.d.ts +49 -0
  11. package/dist/apis/InvoicesApi.js +113 -0
  12. package/dist/apis/ManagedUsersApi.d.ts +253 -0
  13. package/dist/apis/ManagedUsersApi.js +695 -0
  14. package/dist/apis/OperationsApi.d.ts +31 -0
  15. package/dist/apis/OperationsApi.js +90 -0
  16. package/dist/apis/PartnerApi.d.ts +2595 -0
  17. package/dist/apis/PartnerApi.js +6749 -0
  18. package/dist/apis/PartnersApi.d.ts +600 -0
  19. package/dist/apis/PartnersApi.js +1604 -0
  20. package/dist/apis/PublicEmbedApi.d.ts +159 -0
  21. package/dist/apis/PublicEmbedApi.js +370 -0
  22. package/dist/apis/TokensApi.d.ts +26 -0
  23. package/dist/apis/TokensApi.js +88 -0
  24. package/dist/apis/UploadsApi.d.ts +116 -0
  25. package/dist/apis/UploadsApi.js +285 -0
  26. package/dist/apis/UsersApi.d.ts +206 -0
  27. package/dist/apis/UsersApi.js +558 -0
  28. package/dist/apis/WidgetsApi.d.ts +77 -0
  29. package/dist/apis/WidgetsApi.js +222 -0
  30. package/dist/apis/WorkflowsApi.d.ts +394 -0
  31. package/dist/apis/WorkflowsApi.js +1056 -0
  32. package/dist/apis/WorkspacesApi.d.ts +352 -0
  33. package/dist/apis/WorkspacesApi.js +946 -0
  34. package/dist/apis/index.d.ts +16 -0
  35. package/dist/apis/index.js +34 -0
  36. package/dist/esm/apis/CanvasesApi.js +216 -0
  37. package/dist/esm/apis/CompositionsApi.js +1689 -0
  38. package/dist/esm/apis/CreditsApi.js +95 -0
  39. package/dist/esm/apis/EntitlementsApi.js +104 -0
  40. package/dist/esm/apis/InvoicesApi.js +76 -0
  41. package/dist/esm/apis/ManagedUsersApi.js +658 -0
  42. package/dist/esm/apis/OperationsApi.js +53 -0
  43. package/dist/esm/apis/PartnerApi.js +6712 -0
  44. package/dist/esm/apis/PartnersApi.js +1567 -0
  45. package/dist/esm/apis/PublicEmbedApi.js +333 -0
  46. package/dist/esm/apis/TokensApi.js +51 -0
  47. package/dist/esm/apis/UploadsApi.js +248 -0
  48. package/dist/esm/apis/UsersApi.js +521 -0
  49. package/dist/esm/apis/WidgetsApi.js +185 -0
  50. package/dist/esm/apis/WorkflowsApi.js +1019 -0
  51. package/dist/esm/apis/WorkspacesApi.js +909 -0
  52. package/dist/esm/apis/index.js +18 -0
  53. package/dist/esm/index.js +5 -0
  54. package/dist/esm/models/AccountCreditBalance.js +49 -0
  55. package/dist/esm/models/AccountCreditBalanceResponse.js +51 -0
  56. package/dist/esm/models/AccountCreditTransaction.js +53 -0
  57. package/dist/esm/models/AdapterConnection.js +87 -0
  58. package/dist/esm/models/AdapterConnectionRemoval.js +43 -0
  59. package/dist/esm/models/AddAiAnswersKnowledgeDocument201Response.js +51 -0
  60. package/dist/esm/models/AddAiAnswersKnowledgeDocumentRequest.js +47 -0
  61. package/dist/esm/models/AddDomainRequest.js +43 -0
  62. package/dist/esm/models/AiAnswersKnowledge.js +49 -0
  63. package/dist/esm/models/AiAnswersKnowledgeDocument.js +74 -0
  64. package/dist/esm/models/AiAnswersKnowledgeRemoval.js +43 -0
  65. package/dist/esm/models/AiAnswersKnowledgeTotals.js +55 -0
  66. package/dist/esm/models/ApiKeyScope.js +74 -0
  67. package/dist/esm/models/Canvas.js +63 -0
  68. package/dist/esm/models/CanvasResponse.js +51 -0
  69. package/dist/esm/models/CheckCompositionAccessResponse.js +51 -0
  70. package/dist/esm/models/CheckCompositionAccessResponseData.js +43 -0
  71. package/dist/esm/models/Composition.js +98 -0
  72. package/dist/esm/models/CompositionDataSource.js +47 -0
  73. package/dist/esm/models/CompositionDataSourceResponse.js +51 -0
  74. package/dist/esm/models/CompositionEntriesDescription.js +52 -0
  75. package/dist/esm/models/CompositionEntriesDescriptionResponse.js +51 -0
  76. package/dist/esm/models/CompositionEntriesReading.js +75 -0
  77. package/dist/esm/models/CompositionEntriesReadingResponse.js +51 -0
  78. package/dist/esm/models/CompositionEntryAggregateTally.js +51 -0
  79. package/dist/esm/models/CompositionEntryAggregatesBlock.js +50 -0
  80. package/dist/esm/models/CompositionEntryColumn.js +47 -0
  81. package/dist/esm/models/CompositionEntryDeleteSuccess.js +48 -0
  82. package/dist/esm/models/CompositionEntryDeleteSuccessData.js +43 -0
  83. package/dist/esm/models/CompositionEntryItem.js +57 -0
  84. package/dist/esm/models/CompositionEntryItemsMeta.js +55 -0
  85. package/dist/esm/models/CompositionEntryItemsPageSuccess.js +53 -0
  86. package/dist/esm/models/CompositionEntryTable.js +52 -0
  87. package/dist/esm/models/CompositionEntryTally.js +47 -0
  88. package/dist/esm/models/CompositionLastEditedBy.js +43 -0
  89. package/dist/esm/models/CompositionResponse.js +51 -0
  90. package/dist/esm/models/CompositionVersion.js +49 -0
  91. package/dist/esm/models/ConfirmAdapterConnectionRequest.js +43 -0
  92. package/dist/esm/models/ContentCheckFinding.js +51 -0
  93. package/dist/esm/models/ContentItemWriteResult.js +52 -0
  94. package/dist/esm/models/ContentItemWriteResultValidationResult.js +45 -0
  95. package/dist/esm/models/CopyPartnerPresetRequest.js +41 -0
  96. package/dist/esm/models/CreateCanvasRequest.js +53 -0
  97. package/dist/esm/models/CreateCompositionContentItem201Response.js +51 -0
  98. package/dist/esm/models/CreateCompositionContentItemRequest.js +43 -0
  99. package/dist/esm/models/CreateCompositionDatabaseRecord201Response.js +50 -0
  100. package/dist/esm/models/CreateCompositionFromPresetRequest.js +51 -0
  101. package/dist/esm/models/CreateCompositionFromWidget201Response.js +51 -0
  102. package/dist/esm/models/CreateCompositionFromWidgetRequest.js +53 -0
  103. package/dist/esm/models/CreateUserApiKeyRequest.js +58 -0
  104. package/dist/esm/models/CreateWidget201Response.js +51 -0
  105. package/dist/esm/models/CreateWidget201ResponseData.js +90 -0
  106. package/dist/esm/models/CreateWorkspaceWorkflowFromPreset201Response.js +51 -0
  107. package/dist/esm/models/CreateWorkspaceWorkflowFromPresetRequest.js +45 -0
  108. package/dist/esm/models/CreateWorkspaceWorkflowRequest.js +47 -0
  109. package/dist/esm/models/CreatedUserApiKey.js +83 -0
  110. package/dist/esm/models/CreatedUserApiKeyResponse.js +51 -0
  111. package/dist/esm/models/DeleteCompositionContentItemResponse.js +51 -0
  112. package/dist/esm/models/DeleteCompositionContentItemResponseData.js +43 -0
  113. package/dist/esm/models/DeleteCompositionDataSourceResponse.js +51 -0
  114. package/dist/esm/models/DeleteCompositionDataSourceResponseData.js +43 -0
  115. package/dist/esm/models/DeleteManagedUser200Response.js +51 -0
  116. package/dist/esm/models/DeletePersonalWorkspaceDomainResponse.js +51 -0
  117. package/dist/esm/models/DeletePersonalWorkspaceDomainResponseData.js +41 -0
  118. package/dist/esm/models/DeleteUserApiKeyResponse.js +51 -0
  119. package/dist/esm/models/DeleteUserApiKeyResponseData.js +41 -0
  120. package/dist/esm/models/DeleteWorkspaceWorkflow200Response.js +51 -0
  121. package/dist/esm/models/DesignDefaults.js +43 -0
  122. package/dist/esm/models/DuplicateComposition202Response.js +51 -0
  123. package/dist/esm/models/DuplicateComposition202ResponseData.js +41 -0
  124. package/dist/esm/models/DuplicateCompositionRequest.js +43 -0
  125. package/dist/esm/models/EditorSession.js +80 -0
  126. package/dist/esm/models/EditorSessionResponse.js +51 -0
  127. package/dist/esm/models/Entitlement.js +71 -0
  128. package/dist/esm/models/ErrorDetail.js +63 -0
  129. package/dist/esm/models/ErrorResponse.js +54 -0
  130. package/dist/esm/models/ExportCompositionEntryItems200Response.js +53 -0
  131. package/dist/esm/models/ExportCompositionEntryItems200ResponseMeta.js +47 -0
  132. package/dist/esm/models/GetAiAnswersKnowledge200Response.js +51 -0
  133. package/dist/esm/models/GetAllCanvasesResponse.js +51 -0
  134. package/dist/esm/models/GetAllCanvasesResponseData.js +48 -0
  135. package/dist/esm/models/GetAllCompositions200Response.js +51 -0
  136. package/dist/esm/models/GetAllManagedUsers200Response.js +51 -0
  137. package/dist/esm/models/GetCompositionContentResponse.js +50 -0
  138. package/dist/esm/models/GetCompositionContentSchemaResponse.js +51 -0
  139. package/dist/esm/models/GetCompositionContentSchemaResponseData.js +51 -0
  140. package/dist/esm/models/GetCompositionDataSourceResponse.js +51 -0
  141. package/dist/esm/models/GetCompositionDatabaseRecords200Response.js +50 -0
  142. package/dist/esm/models/GetCompositionDesignResponse.js +50 -0
  143. package/dist/esm/models/GetCompositionDesignSchemaResponse.js +51 -0
  144. package/dist/esm/models/GetCompositionDesignSchemaResponseData.js +51 -0
  145. package/dist/esm/models/GetCompositionEmbedSchemaResponse.js +51 -0
  146. package/dist/esm/models/GetCompositionEmbedSchemaResponseData.js +57 -0
  147. package/dist/esm/models/GetCompositionEmbedSettingsResponse.js +50 -0
  148. package/dist/esm/models/GetCompositionPreviewResponse.js +51 -0
  149. package/dist/esm/models/GetCompositionPreviewResponseData.js +47 -0
  150. package/dist/esm/models/GetCompositionVersions200Response.js +51 -0
  151. package/dist/esm/models/GetCompositionsBatchRequest.js +43 -0
  152. package/dist/esm/models/GetCompositionsBatchResponse.js +51 -0
  153. package/dist/esm/models/GetCompositionsBatchResponseData.js +45 -0
  154. package/dist/esm/models/GetInvoicesByPartnerId200Response.js +51 -0
  155. package/dist/esm/models/GetManagedUserEntitlementsResponse.js +51 -0
  156. package/dist/esm/models/GetManagedUserEntitlementsResponseData.js +44 -0
  157. package/dist/esm/models/GetManagedUserLimits200Response.js +51 -0
  158. package/dist/esm/models/GetManagedUserStorageUsage200Response.js +51 -0
  159. package/dist/esm/models/GetManagedUserStorageUsage200ResponseData.js +52 -0
  160. package/dist/esm/models/GetManagedUserStorageUsage200ResponseDataByPurpose.js +48 -0
  161. package/dist/esm/models/GetManagedUsersByManagerIdResponse.js +51 -0
  162. package/dist/esm/models/GetManagedUsersByManagerIdResponseData.js +48 -0
  163. package/dist/esm/models/GetPartnerBillingOverview200Response.js +51 -0
  164. package/dist/esm/models/GetPartnerCreditTransactions200Response.js +51 -0
  165. package/dist/esm/models/GetPartnerDesignDefaults200Response.js +51 -0
  166. package/dist/esm/models/GetPartnerEntitlementsResponse.js +51 -0
  167. package/dist/esm/models/GetPartnerEntitlementsResponseData.js +44 -0
  168. package/dist/esm/models/GetPersonalWorkspaceDomains200Response.js +51 -0
  169. package/dist/esm/models/GetPublicCompositionEmbed200Response.js +80 -0
  170. package/dist/esm/models/GetPublicCompositionEmbed200ResponseAdapters.js +44 -0
  171. package/dist/esm/models/GetPublicCompositionEmbed200ResponseAdaptersCaptcha.js +41 -0
  172. package/dist/esm/models/GetPublicCompositionEmbed200ResponseDataSource.js +43 -0
  173. package/dist/esm/models/GetPublicCompositionEmbed200ResponseDirect.js +45 -0
  174. package/dist/esm/models/GetPublicCompositionEmbed200ResponseEntries.js +43 -0
  175. package/dist/esm/models/GetPublicCompositionEmbed200ResponseMedia.js +41 -0
  176. package/dist/esm/models/GetPublicWorkflow200Response.js +51 -0
  177. package/dist/esm/models/GetUserAdapterConnections200Response.js +51 -0
  178. package/dist/esm/models/GetUserApiKeyUsageLogsResponse.js +51 -0
  179. package/dist/esm/models/GetUserApiKeyUsageLogsResponseData.js +44 -0
  180. package/dist/esm/models/GetUserApiKeys200Response.js +51 -0
  181. package/dist/esm/models/GetWidgets200Response.js +51 -0
  182. package/dist/esm/models/GetWidgetsBatchRequest.js +43 -0
  183. package/dist/esm/models/GetWidgetsBatchResponse.js +51 -0
  184. package/dist/esm/models/GetWidgetsBatchResponseData.js +45 -0
  185. package/dist/esm/models/GetWidgetsBatchResponseDataErrorsInner.js +43 -0
  186. package/dist/esm/models/GetWorkspaceWorkflowStats200Response.js +51 -0
  187. package/dist/esm/models/GetWorkspaceWorkflowVersion200Response.js +51 -0
  188. package/dist/esm/models/ListPartnerPresets200Response.js +51 -0
  189. package/dist/esm/models/ListPartnerWorkflowPresets200Response.js +51 -0
  190. package/dist/esm/models/ListWorkspaceWorkflowCompositionOptions200Response.js +51 -0
  191. package/dist/esm/models/ListWorkspaceWorkflowPresets200Response.js +51 -0
  192. package/dist/esm/models/ListWorkspaceWorkflowVersions200Response.js +51 -0
  193. package/dist/esm/models/ListWorkspaceWorkflows200Response.js +51 -0
  194. package/dist/esm/models/ManagedUser.js +63 -0
  195. package/dist/esm/models/ManagedUserEntriesMeta.js +57 -0
  196. package/dist/esm/models/ManagedUserEntriesPageSuccess.js +53 -0
  197. package/dist/esm/models/ManagedUserEntryItem.js +65 -0
  198. package/dist/esm/models/ManagedUserLimits.js +55 -0
  199. package/dist/esm/models/ManagedUserOperationUsage.js +59 -0
  200. package/dist/esm/models/ManagedUserRemoval.js +47 -0
  201. package/dist/esm/models/ManagedUserResponse.js +51 -0
  202. package/dist/esm/models/ManagedUserUsage.js +65 -0
  203. package/dist/esm/models/ManagedUserUsageResponse.js +51 -0
  204. package/dist/esm/models/ManagedUserUsageTotals.js +55 -0
  205. package/dist/esm/models/MyPartner.js +79 -0
  206. package/dist/esm/models/MyPartners.js +62 -0
  207. package/dist/esm/models/MyPartnersResponse.js +51 -0
  208. package/dist/esm/models/NewComposition.js +65 -0
  209. package/dist/esm/models/NewEditorSession.js +58 -0
  210. package/dist/esm/models/NewManagedUser.js +47 -0
  211. package/dist/esm/models/NewWidget.js +74 -0
  212. package/dist/esm/models/OfferWorkflowPresetRequest.js +49 -0
  213. package/dist/esm/models/OfferedWorkflowPreset.js +101 -0
  214. package/dist/esm/models/OfferedWorkflowPresetList.js +44 -0
  215. package/dist/esm/models/OfferedWorkflowPresetWidget.js +51 -0
  216. package/dist/esm/models/OperationsIdGetResponse.js +51 -0
  217. package/dist/esm/models/OperationsIdGetResponseData.js +65 -0
  218. package/dist/esm/models/PartnerAnalyticsByManagedUser.js +58 -0
  219. package/dist/esm/models/PartnerAnalyticsByManagedUserResponse.js +51 -0
  220. package/dist/esm/models/PartnerAnalyticsOfDay.js +55 -0
  221. package/dist/esm/models/PartnerAnalyticsOfManagedUser.js +79 -0
  222. package/dist/esm/models/PartnerAnalyticsOfWidget.js +63 -0
  223. package/dist/esm/models/PartnerAnalyticsSummary.js +72 -0
  224. package/dist/esm/models/PartnerAnalyticsSummaryResponse.js +51 -0
  225. package/dist/esm/models/PartnerAnalyticsTimeline.js +57 -0
  226. package/dist/esm/models/PartnerAnalyticsTimelineResponse.js +51 -0
  227. package/dist/esm/models/PartnerAnalyticsTopWidgets.js +57 -0
  228. package/dist/esm/models/PartnerAnalyticsTopWidgetsResponse.js +51 -0
  229. package/dist/esm/models/PartnerBillingOverview.js +57 -0
  230. package/dist/esm/models/PartnerBillingOverviewBillingIntegration.js +63 -0
  231. package/dist/esm/models/PartnerBillingOverviewOperationalCredits.js +56 -0
  232. package/dist/esm/models/PartnerBillingOverviewPartner.js +62 -0
  233. package/dist/esm/models/PartnerContract.js +79 -0
  234. package/dist/esm/models/PartnerContractResponse.js +51 -0
  235. package/dist/esm/models/PartnerCustomization.js +81 -0
  236. package/dist/esm/models/PartnerDataDatabase.js +71 -0
  237. package/dist/esm/models/PartnerDataDatabaseRemoval.js +43 -0
  238. package/dist/esm/models/PartnerDataDatabaseRemovalResponse.js +51 -0
  239. package/dist/esm/models/PartnerDataDatabaseResponse.js +51 -0
  240. package/dist/esm/models/PartnerEntryContextSecret.js +48 -0
  241. package/dist/esm/models/PartnerEntryContextSecretResponse.js +51 -0
  242. package/dist/esm/models/PartnerEntryContextSigning.js +63 -0
  243. package/dist/esm/models/PartnerEntryContextSigningResponse.js +51 -0
  244. package/dist/esm/models/PartnerExtraCreditsInvoice.js +87 -0
  245. package/dist/esm/models/PartnerExtraCreditsInvoiceResponse.js +51 -0
  246. package/dist/esm/models/PartnerInvoice.js +101 -0
  247. package/dist/esm/models/PartnerNotification.js +77 -0
  248. package/dist/esm/models/PartnerNotificationDefaultRecipients.js +47 -0
  249. package/dist/esm/models/PartnerNotificationDelivery.js +115 -0
  250. package/dist/esm/models/PartnerNotificationDeliveryLog.js +44 -0
  251. package/dist/esm/models/PartnerNotificationDeliveryLogResponse.js +51 -0
  252. package/dist/esm/models/PartnerNotificationDeliveryResponse.js +51 -0
  253. package/dist/esm/models/PartnerNotificationEvent.js +81 -0
  254. package/dist/esm/models/PartnerNotificationEventType.js +61 -0
  255. package/dist/esm/models/PartnerNotificationPage.js +48 -0
  256. package/dist/esm/models/PartnerNotificationPageResponse.js +51 -0
  257. package/dist/esm/models/PartnerNotificationSettings.js +82 -0
  258. package/dist/esm/models/PartnerNotificationSettingsChange.js +48 -0
  259. package/dist/esm/models/PartnerNotificationSettingsChangeResponse.js +51 -0
  260. package/dist/esm/models/PartnerNotificationSettingsResponse.js +51 -0
  261. package/dist/esm/models/PartnerNotificationTestEventRequest.js +44 -0
  262. package/dist/esm/models/PartnerNotificationTestEventResult.js +53 -0
  263. package/dist/esm/models/PartnerNotificationTestEventResultResponse.js +51 -0
  264. package/dist/esm/models/PartnerPreset.js +75 -0
  265. package/dist/esm/models/PartnerPresetCopy.js +63 -0
  266. package/dist/esm/models/PartnerPresetCopyResponse.js +51 -0
  267. package/dist/esm/models/PartnerPresetRemoval.js +43 -0
  268. package/dist/esm/models/PartnerPresetRemovalResponse.js +51 -0
  269. package/dist/esm/models/PartnerPresetResponse.js +51 -0
  270. package/dist/esm/models/PartnerReportPage.js +51 -0
  271. package/dist/esm/models/PartnerReportPeriod.js +47 -0
  272. package/dist/esm/models/PartnerStorageDestination.js +83 -0
  273. package/dist/esm/models/PartnerStorageDestinationResponse.js +51 -0
  274. package/dist/esm/models/PartnerStorageRemoval.js +43 -0
  275. package/dist/esm/models/PartnerStorageRemovalResponse.js +51 -0
  276. package/dist/esm/models/PartnerStorageUsage.js +58 -0
  277. package/dist/esm/models/PartnerStorageUsageOfManagedUser.js +75 -0
  278. package/dist/esm/models/PartnerStorageUsageResponse.js +51 -0
  279. package/dist/esm/models/PartnerStorageUsageTotals.js +55 -0
  280. package/dist/esm/models/PersonalWorkspaceDomain.js +55 -0
  281. package/dist/esm/models/PersonalWorkspaceDomainResult.js +48 -0
  282. package/dist/esm/models/PersonalWorkspaceDomainResultResponse.js +51 -0
  283. package/dist/esm/models/PostPublicCompositionEmbedStatus200Response.js +51 -0
  284. package/dist/esm/models/PostPublicCompositionEmbedStatus200ResponseData.js +51 -0
  285. package/dist/esm/models/PostPublicCompositionEmbedStatusRequest.js +43 -0
  286. package/dist/esm/models/PublicAdapterCallError.js +53 -0
  287. package/dist/esm/models/PublicAdapterCallRequest.js +51 -0
  288. package/dist/esm/models/PublicAdapterCallResult.js +48 -0
  289. package/dist/esm/models/PublicAdapterCallResultData.js +43 -0
  290. package/dist/esm/models/PublicAdapterFileResult.js +48 -0
  291. package/dist/esm/models/PublicAdapterFileResultData.js +44 -0
  292. package/dist/esm/models/PublicAdapterFileResultDataFile.js +63 -0
  293. package/dist/esm/models/PublicCompositionEntryCreated.js +48 -0
  294. package/dist/esm/models/PublicCompositionEntryCreatedData.js +51 -0
  295. package/dist/esm/models/PublicCompositionEntryRequest.js +47 -0
  296. package/dist/esm/models/PublicEmbedFailure.js +61 -0
  297. package/dist/esm/models/PublicEmbedFailureDetails.js +52 -0
  298. package/dist/esm/models/PublicEmbedFailureError.js +57 -0
  299. package/dist/esm/models/PublicWorkflow.js +73 -0
  300. package/dist/esm/models/PublicWorkflowEventsAccepted.js +47 -0
  301. package/dist/esm/models/PublicWorkflowEventsRequest.js +53 -0
  302. package/dist/esm/models/PublicWorkflowEventsRequestEventsInner.js +57 -0
  303. package/dist/esm/models/PublicWorkflowEventsRequestHeightsInner.js +47 -0
  304. package/dist/esm/models/PublicWorkflowTranslation.js +47 -0
  305. package/dist/esm/models/PublishWorkspaceWorkflow200Response.js +51 -0
  306. package/dist/esm/models/PublishWorkspaceWorkflowRequest.js +43 -0
  307. package/dist/esm/models/PurposeStorageBucket.js +47 -0
  308. package/dist/esm/models/RemoveAiAnswersKnowledgeDocument200Response.js +51 -0
  309. package/dist/esm/models/RemovePartnerWorkflowPreset200Response.js +51 -0
  310. package/dist/esm/models/RemoveUserAdapterConnection200Response.js +51 -0
  311. package/dist/esm/models/ReportPublicWorkflowEvents200Response.js +51 -0
  312. package/dist/esm/models/RequestExtraCredits.js +43 -0
  313. package/dist/esm/models/ResponseMeta.js +59 -0
  314. package/dist/esm/models/RevokeManagedUserEditorSessionsResponse.js +51 -0
  315. package/dist/esm/models/RevokeManagedUserEditorSessionsResponseData.js +41 -0
  316. package/dist/esm/models/SaveWorkspaceWorkflow200Response.js +51 -0
  317. package/dist/esm/models/SaveWorkspaceWorkflowRequest.js +50 -0
  318. package/dist/esm/models/SetAdapterConnectionRequest.js +43 -0
  319. package/dist/esm/models/SetCompositionDataSourceRequest.js +47 -0
  320. package/dist/esm/models/SetDynamicContentRequest.js +51 -0
  321. package/dist/esm/models/SetDynamicContentResponse.js +51 -0
  322. package/dist/esm/models/SetDynamicContentResponseData.js +50 -0
  323. package/dist/esm/models/SetDynamicContentResponseDataValidationResult.js +45 -0
  324. package/dist/esm/models/SetManagedUserLimitsRequest.js +43 -0
  325. package/dist/esm/models/SetPartnerDataDatabaseRequest.js +43 -0
  326. package/dist/esm/models/SetPartnerDesignDefaultsRequest.js +43 -0
  327. package/dist/esm/models/SetPartnerPresetRequest.js +49 -0
  328. package/dist/esm/models/SetPartnerStorageDestinationRequest.js +67 -0
  329. package/dist/esm/models/SetPartnerWorkflowPreset200Response.js +51 -0
  330. package/dist/esm/models/SetUserAdapterConnection200Response.js +51 -0
  331. package/dist/esm/models/SuccessResponse.js +50 -0
  332. package/dist/esm/models/UpdateCanvasRequest.js +45 -0
  333. package/dist/esm/models/UpdateComposition.js +55 -0
  334. package/dist/esm/models/UpdateCompositionStatusRequest.js +51 -0
  335. package/dist/esm/models/UpdateDomainRequest.js +43 -0
  336. package/dist/esm/models/UpdateManagedUser.js +45 -0
  337. package/dist/esm/models/UpdatePartnerEntryContextSigningRequest.js +43 -0
  338. package/dist/esm/models/UpdatePartnerNotificationSettingsRequest.js +48 -0
  339. package/dist/esm/models/UpdateUserApiKeyRequest.js +43 -0
  340. package/dist/esm/models/Upload.js +110 -0
  341. package/dist/esm/models/UploadLimits.js +51 -0
  342. package/dist/esm/models/UploadLimitsResponse.js +51 -0
  343. package/dist/esm/models/UploadResponse.js +51 -0
  344. package/dist/esm/models/UploadsGet200Response.js +51 -0
  345. package/dist/esm/models/UploadsIdDelete200Response.js +51 -0
  346. package/dist/esm/models/UploadsIdDelete200ResponseData.js +41 -0
  347. package/dist/esm/models/UserApiKey.js +81 -0
  348. package/dist/esm/models/UserApiKeyResponse.js +51 -0
  349. package/dist/esm/models/UserApiKeyUsageLog.js +67 -0
  350. package/dist/esm/models/ValidateCompositionContentResponse.js +51 -0
  351. package/dist/esm/models/ValidateCompositionContentResponseData.js +50 -0
  352. package/dist/esm/models/ValidateToken200Response.js +51 -0
  353. package/dist/esm/models/ValidateToken200ResponseData.js +57 -0
  354. package/dist/esm/models/Widget.js +88 -0
  355. package/dist/esm/models/Workflow.js +96 -0
  356. package/dist/esm/models/WorkflowCompositionAction.js +53 -0
  357. package/dist/esm/models/WorkflowCompositionField.js +63 -0
  358. package/dist/esm/models/WorkflowCompositionOption.js +67 -0
  359. package/dist/esm/models/WorkflowCompositionOptionActions.js +57 -0
  360. package/dist/esm/models/WorkflowCompositionOptionInputs.js +61 -0
  361. package/dist/esm/models/WorkflowCompositionOptions.js +56 -0
  362. package/dist/esm/models/WorkflowConditionCase.js +61 -0
  363. package/dist/esm/models/WorkflowConditionTest.js +67 -0
  364. package/dist/esm/models/WorkflowCounter.js +47 -0
  365. package/dist/esm/models/WorkflowDetail.js +113 -0
  366. package/dist/esm/models/WorkflowDetailAllOfLastEditedBy.js +43 -0
  367. package/dist/esm/models/WorkflowEdge.js +55 -0
  368. package/dist/esm/models/WorkflowFieldReference.js +66 -0
  369. package/dist/esm/models/WorkflowGraph.js +59 -0
  370. package/dist/esm/models/WorkflowIssue.js +62 -0
  371. package/dist/esm/models/WorkflowList.js +56 -0
  372. package/dist/esm/models/WorkflowNode.js +68 -0
  373. package/dist/esm/models/WorkflowNodePosition.js +47 -0
  374. package/dist/esm/models/WorkflowPresetChoice.js +60 -0
  375. package/dist/esm/models/WorkflowPresetChoices.js +44 -0
  376. package/dist/esm/models/WorkflowPresetRemoval.js +43 -0
  377. package/dist/esm/models/WorkflowPresetWidget.js +47 -0
  378. package/dist/esm/models/WorkflowPublishResult.js +54 -0
  379. package/dist/esm/models/WorkflowRemoved.js +43 -0
  380. package/dist/esm/models/WorkflowSchedule.js +66 -0
  381. package/dist/esm/models/WorkflowStats.js +68 -0
  382. package/dist/esm/models/WorkflowStatus.js +48 -0
  383. package/dist/esm/models/WorkflowTrigger.js +64 -0
  384. package/dist/esm/models/WorkflowTriggerValuesInner.js +55 -0
  385. package/dist/esm/models/WorkflowVersion.js +62 -0
  386. package/dist/esm/models/WorkflowVersionDetail.js +71 -0
  387. package/dist/esm/models/WorkflowVersionList.js +44 -0
  388. package/dist/esm/models/WorkflowVersionPublishedBy.js +43 -0
  389. package/dist/esm/models/index.js +337 -0
  390. package/dist/esm/package.json +3 -0
  391. package/dist/esm/runtime.js +516 -0
  392. package/dist/index.d.ts +3 -0
  393. package/dist/index.js +21 -0
  394. package/dist/models/AccountCreditBalance.d.ts +58 -0
  395. package/dist/models/AccountCreditBalance.js +56 -0
  396. package/dist/models/AccountCreditBalanceResponse.d.ts +46 -0
  397. package/dist/models/AccountCreditBalanceResponse.js +58 -0
  398. package/dist/models/AccountCreditTransaction.d.ts +69 -0
  399. package/dist/models/AccountCreditTransaction.js +60 -0
  400. package/dist/models/AdapterConnection.d.ts +95 -0
  401. package/dist/models/AdapterConnection.js +95 -0
  402. package/dist/models/AdapterConnectionRemoval.d.ts +32 -0
  403. package/dist/models/AdapterConnectionRemoval.js +50 -0
  404. package/dist/models/AddAiAnswersKnowledgeDocument201Response.d.ts +46 -0
  405. package/dist/models/AddAiAnswersKnowledgeDocument201Response.js +58 -0
  406. package/dist/models/AddAiAnswersKnowledgeDocumentRequest.d.ts +38 -0
  407. package/dist/models/AddAiAnswersKnowledgeDocumentRequest.js +54 -0
  408. package/dist/models/AddDomainRequest.d.ts +32 -0
  409. package/dist/models/AddDomainRequest.js +50 -0
  410. package/dist/models/AiAnswersKnowledge.d.ts +40 -0
  411. package/dist/models/AiAnswersKnowledge.js +56 -0
  412. package/dist/models/AiAnswersKnowledgeDocument.d.ts +76 -0
  413. package/dist/models/AiAnswersKnowledgeDocument.js +82 -0
  414. package/dist/models/AiAnswersKnowledgeRemoval.d.ts +32 -0
  415. package/dist/models/AiAnswersKnowledgeRemoval.js +50 -0
  416. package/dist/models/AiAnswersKnowledgeTotals.d.ts +50 -0
  417. package/dist/models/AiAnswersKnowledgeTotals.js +62 -0
  418. package/dist/models/ApiKeyScope.d.ts +56 -0
  419. package/dist/models/ApiKeyScope.js +82 -0
  420. package/dist/models/Canvas.d.ts +74 -0
  421. package/dist/models/Canvas.js +70 -0
  422. package/dist/models/CanvasResponse.d.ts +46 -0
  423. package/dist/models/CanvasResponse.js +58 -0
  424. package/dist/models/CheckCompositionAccessResponse.d.ts +46 -0
  425. package/dist/models/CheckCompositionAccessResponse.js +58 -0
  426. package/dist/models/CheckCompositionAccessResponseData.d.ts +38 -0
  427. package/dist/models/CheckCompositionAccessResponseData.js +50 -0
  428. package/dist/models/Composition.d.ts +144 -0
  429. package/dist/models/Composition.js +106 -0
  430. package/dist/models/CompositionDataSource.d.ts +41 -0
  431. package/dist/models/CompositionDataSource.js +54 -0
  432. package/dist/models/CompositionDataSourceResponse.d.ts +46 -0
  433. package/dist/models/CompositionDataSourceResponse.js +58 -0
  434. package/dist/models/CompositionEntriesDescription.d.ts +47 -0
  435. package/dist/models/CompositionEntriesDescription.js +59 -0
  436. package/dist/models/CompositionEntriesDescriptionResponse.d.ts +46 -0
  437. package/dist/models/CompositionEntriesDescriptionResponse.js +58 -0
  438. package/dist/models/CompositionEntriesReading.d.ts +99 -0
  439. package/dist/models/CompositionEntriesReading.js +82 -0
  440. package/dist/models/CompositionEntriesReadingResponse.d.ts +46 -0
  441. package/dist/models/CompositionEntriesReadingResponse.js +58 -0
  442. package/dist/models/CompositionEntryAggregateTally.d.ts +69 -0
  443. package/dist/models/CompositionEntryAggregateTally.js +58 -0
  444. package/dist/models/CompositionEntryAggregatesBlock.d.ts +55 -0
  445. package/dist/models/CompositionEntryAggregatesBlock.js +57 -0
  446. package/dist/models/CompositionEntryColumn.d.ts +38 -0
  447. package/dist/models/CompositionEntryColumn.js +54 -0
  448. package/dist/models/CompositionEntryDeleteSuccess.d.ts +39 -0
  449. package/dist/models/CompositionEntryDeleteSuccess.js +55 -0
  450. package/dist/models/CompositionEntryDeleteSuccessData.d.ts +32 -0
  451. package/dist/models/CompositionEntryDeleteSuccessData.js +50 -0
  452. package/dist/models/CompositionEntryItem.d.ts +63 -0
  453. package/dist/models/CompositionEntryItem.js +64 -0
  454. package/dist/models/CompositionEntryItemsMeta.d.ts +59 -0
  455. package/dist/models/CompositionEntryItemsMeta.js +63 -0
  456. package/dist/models/CompositionEntryItemsPageSuccess.d.ts +46 -0
  457. package/dist/models/CompositionEntryItemsPageSuccess.js +60 -0
  458. package/dist/models/CompositionEntryTable.d.ts +45 -0
  459. package/dist/models/CompositionEntryTable.js +59 -0
  460. package/dist/models/CompositionEntryTally.d.ts +40 -0
  461. package/dist/models/CompositionEntryTally.js +54 -0
  462. package/dist/models/CompositionLastEditedBy.d.ts +52 -0
  463. package/dist/models/CompositionLastEditedBy.js +50 -0
  464. package/dist/models/CompositionResponse.d.ts +46 -0
  465. package/dist/models/CompositionResponse.js +58 -0
  466. package/dist/models/CompositionVersion.d.ts +56 -0
  467. package/dist/models/CompositionVersion.js +56 -0
  468. package/dist/models/ConfirmAdapterConnectionRequest.d.ts +32 -0
  469. package/dist/models/ConfirmAdapterConnectionRequest.js +50 -0
  470. package/dist/models/ContentCheckFinding.d.ts +50 -0
  471. package/dist/models/ContentCheckFinding.js +58 -0
  472. package/dist/models/ContentItemWriteResult.d.ts +65 -0
  473. package/dist/models/ContentItemWriteResult.js +59 -0
  474. package/dist/models/ContentItemWriteResultValidationResult.d.ts +48 -0
  475. package/dist/models/ContentItemWriteResultValidationResult.js +52 -0
  476. package/dist/models/CopyPartnerPresetRequest.d.ts +32 -0
  477. package/dist/models/CopyPartnerPresetRequest.js +48 -0
  478. package/dist/models/CreateCanvasRequest.d.ts +62 -0
  479. package/dist/models/CreateCanvasRequest.js +60 -0
  480. package/dist/models/CreateCompositionContentItem201Response.d.ts +46 -0
  481. package/dist/models/CreateCompositionContentItem201Response.js +58 -0
  482. package/dist/models/CreateCompositionContentItemRequest.d.ts +33 -0
  483. package/dist/models/CreateCompositionContentItemRequest.js +50 -0
  484. package/dist/models/CreateCompositionDatabaseRecord201Response.d.ts +48 -0
  485. package/dist/models/CreateCompositionDatabaseRecord201Response.js +57 -0
  486. package/dist/models/CreateCompositionFromPresetRequest.d.ts +56 -0
  487. package/dist/models/CreateCompositionFromPresetRequest.js +58 -0
  488. package/dist/models/CreateCompositionFromWidget201Response.d.ts +46 -0
  489. package/dist/models/CreateCompositionFromWidget201Response.js +58 -0
  490. package/dist/models/CreateCompositionFromWidgetRequest.d.ts +62 -0
  491. package/dist/models/CreateCompositionFromWidgetRequest.js +60 -0
  492. package/dist/models/CreateUserApiKeyRequest.d.ts +60 -0
  493. package/dist/models/CreateUserApiKeyRequest.js +66 -0
  494. package/dist/models/CreateWidget201Response.d.ts +46 -0
  495. package/dist/models/CreateWidget201Response.js +58 -0
  496. package/dist/models/CreateWidget201ResponseData.d.ts +168 -0
  497. package/dist/models/CreateWidget201ResponseData.js +98 -0
  498. package/dist/models/CreateWorkspaceWorkflowFromPreset201Response.d.ts +46 -0
  499. package/dist/models/CreateWorkspaceWorkflowFromPreset201Response.js +58 -0
  500. package/dist/models/CreateWorkspaceWorkflowFromPresetRequest.d.ts +38 -0
  501. package/dist/models/CreateWorkspaceWorkflowFromPresetRequest.js +52 -0
  502. package/dist/models/CreateWorkspaceWorkflowRequest.d.ts +44 -0
  503. package/dist/models/CreateWorkspaceWorkflowRequest.js +54 -0
  504. package/dist/models/CreatedUserApiKey.d.ts +91 -0
  505. package/dist/models/CreatedUserApiKey.js +91 -0
  506. package/dist/models/CreatedUserApiKeyResponse.d.ts +46 -0
  507. package/dist/models/CreatedUserApiKeyResponse.js +58 -0
  508. package/dist/models/DeleteCompositionContentItemResponse.d.ts +46 -0
  509. package/dist/models/DeleteCompositionContentItemResponse.js +58 -0
  510. package/dist/models/DeleteCompositionContentItemResponseData.d.ts +38 -0
  511. package/dist/models/DeleteCompositionContentItemResponseData.js +50 -0
  512. package/dist/models/DeleteCompositionDataSourceResponse.d.ts +46 -0
  513. package/dist/models/DeleteCompositionDataSourceResponse.js +58 -0
  514. package/dist/models/DeleteCompositionDataSourceResponseData.d.ts +32 -0
  515. package/dist/models/DeleteCompositionDataSourceResponseData.js +50 -0
  516. package/dist/models/DeleteManagedUser200Response.d.ts +46 -0
  517. package/dist/models/DeleteManagedUser200Response.js +58 -0
  518. package/dist/models/DeletePersonalWorkspaceDomainResponse.d.ts +46 -0
  519. package/dist/models/DeletePersonalWorkspaceDomainResponse.js +58 -0
  520. package/dist/models/DeletePersonalWorkspaceDomainResponseData.d.ts +32 -0
  521. package/dist/models/DeletePersonalWorkspaceDomainResponseData.js +48 -0
  522. package/dist/models/DeleteUserApiKeyResponse.d.ts +46 -0
  523. package/dist/models/DeleteUserApiKeyResponse.js +58 -0
  524. package/dist/models/DeleteUserApiKeyResponseData.d.ts +32 -0
  525. package/dist/models/DeleteUserApiKeyResponseData.js +48 -0
  526. package/dist/models/DeleteWorkspaceWorkflow200Response.d.ts +46 -0
  527. package/dist/models/DeleteWorkspaceWorkflow200Response.js +58 -0
  528. package/dist/models/DesignDefaults.d.ts +34 -0
  529. package/dist/models/DesignDefaults.js +50 -0
  530. package/dist/models/DuplicateComposition202Response.d.ts +46 -0
  531. package/dist/models/DuplicateComposition202Response.js +58 -0
  532. package/dist/models/DuplicateComposition202ResponseData.d.ts +32 -0
  533. package/dist/models/DuplicateComposition202ResponseData.js +48 -0
  534. package/dist/models/DuplicateCompositionRequest.d.ts +41 -0
  535. package/dist/models/DuplicateCompositionRequest.js +50 -0
  536. package/dist/models/EditorSession.d.ts +92 -0
  537. package/dist/models/EditorSession.js +88 -0
  538. package/dist/models/EditorSessionResponse.d.ts +46 -0
  539. package/dist/models/EditorSessionResponse.js +58 -0
  540. package/dist/models/Entitlement.d.ts +103 -0
  541. package/dist/models/Entitlement.js +79 -0
  542. package/dist/models/ErrorDetail.d.ts +82 -0
  543. package/dist/models/ErrorDetail.js +70 -0
  544. package/dist/models/ErrorResponse.d.ts +46 -0
  545. package/dist/models/ErrorResponse.js +61 -0
  546. package/dist/models/ExportCompositionEntryItems200Response.d.ts +46 -0
  547. package/dist/models/ExportCompositionEntryItems200Response.js +60 -0
  548. package/dist/models/ExportCompositionEntryItems200ResponseMeta.d.ts +38 -0
  549. package/dist/models/ExportCompositionEntryItems200ResponseMeta.js +54 -0
  550. package/dist/models/GetAiAnswersKnowledge200Response.d.ts +46 -0
  551. package/dist/models/GetAiAnswersKnowledge200Response.js +58 -0
  552. package/dist/models/GetAllCanvasesResponse.d.ts +46 -0
  553. package/dist/models/GetAllCanvasesResponse.js +58 -0
  554. package/dist/models/GetAllCanvasesResponseData.d.ts +51 -0
  555. package/dist/models/GetAllCanvasesResponseData.js +55 -0
  556. package/dist/models/GetAllCompositions200Response.d.ts +46 -0
  557. package/dist/models/GetAllCompositions200Response.js +58 -0
  558. package/dist/models/GetAllManagedUsers200Response.d.ts +46 -0
  559. package/dist/models/GetAllManagedUsers200Response.js +58 -0
  560. package/dist/models/GetCompositionContentResponse.d.ts +45 -0
  561. package/dist/models/GetCompositionContentResponse.js +57 -0
  562. package/dist/models/GetCompositionContentSchemaResponse.d.ts +46 -0
  563. package/dist/models/GetCompositionContentSchemaResponse.js +58 -0
  564. package/dist/models/GetCompositionContentSchemaResponseData.d.ts +62 -0
  565. package/dist/models/GetCompositionContentSchemaResponseData.js +58 -0
  566. package/dist/models/GetCompositionDataSourceResponse.d.ts +46 -0
  567. package/dist/models/GetCompositionDataSourceResponse.js +58 -0
  568. package/dist/models/GetCompositionDatabaseRecords200Response.d.ts +47 -0
  569. package/dist/models/GetCompositionDatabaseRecords200Response.js +57 -0
  570. package/dist/models/GetCompositionDesignResponse.d.ts +45 -0
  571. package/dist/models/GetCompositionDesignResponse.js +57 -0
  572. package/dist/models/GetCompositionDesignSchemaResponse.d.ts +46 -0
  573. package/dist/models/GetCompositionDesignSchemaResponse.js +58 -0
  574. package/dist/models/GetCompositionDesignSchemaResponseData.d.ts +62 -0
  575. package/dist/models/GetCompositionDesignSchemaResponseData.js +58 -0
  576. package/dist/models/GetCompositionEmbedSchemaResponse.d.ts +46 -0
  577. package/dist/models/GetCompositionEmbedSchemaResponse.js +58 -0
  578. package/dist/models/GetCompositionEmbedSchemaResponseData.d.ts +74 -0
  579. package/dist/models/GetCompositionEmbedSchemaResponseData.js +65 -0
  580. package/dist/models/GetCompositionEmbedSettingsResponse.d.ts +45 -0
  581. package/dist/models/GetCompositionEmbedSettingsResponse.js +57 -0
  582. package/dist/models/GetCompositionPreviewResponse.d.ts +46 -0
  583. package/dist/models/GetCompositionPreviewResponse.js +58 -0
  584. package/dist/models/GetCompositionPreviewResponseData.d.ts +50 -0
  585. package/dist/models/GetCompositionPreviewResponseData.js +54 -0
  586. package/dist/models/GetCompositionVersions200Response.d.ts +46 -0
  587. package/dist/models/GetCompositionVersions200Response.js +58 -0
  588. package/dist/models/GetCompositionsBatchRequest.d.ts +32 -0
  589. package/dist/models/GetCompositionsBatchRequest.js +50 -0
  590. package/dist/models/GetCompositionsBatchResponse.d.ts +46 -0
  591. package/dist/models/GetCompositionsBatchResponse.js +58 -0
  592. package/dist/models/GetCompositionsBatchResponseData.d.ts +40 -0
  593. package/dist/models/GetCompositionsBatchResponseData.js +52 -0
  594. package/dist/models/GetInvoicesByPartnerId200Response.d.ts +46 -0
  595. package/dist/models/GetInvoicesByPartnerId200Response.js +58 -0
  596. package/dist/models/GetManagedUserEntitlementsResponse.d.ts +46 -0
  597. package/dist/models/GetManagedUserEntitlementsResponse.js +58 -0
  598. package/dist/models/GetManagedUserEntitlementsResponseData.d.ts +39 -0
  599. package/dist/models/GetManagedUserEntitlementsResponseData.js +51 -0
  600. package/dist/models/GetManagedUserLimits200Response.d.ts +46 -0
  601. package/dist/models/GetManagedUserLimits200Response.js +58 -0
  602. package/dist/models/GetManagedUserStorageUsage200Response.d.ts +46 -0
  603. package/dist/models/GetManagedUserStorageUsage200Response.js +58 -0
  604. package/dist/models/GetManagedUserStorageUsage200ResponseData.d.ts +45 -0
  605. package/dist/models/GetManagedUserStorageUsage200ResponseData.js +59 -0
  606. package/dist/models/GetManagedUserStorageUsage200ResponseDataByPurpose.d.ts +51 -0
  607. package/dist/models/GetManagedUserStorageUsage200ResponseDataByPurpose.js +55 -0
  608. package/dist/models/GetManagedUsersByManagerIdResponse.d.ts +46 -0
  609. package/dist/models/GetManagedUsersByManagerIdResponse.js +58 -0
  610. package/dist/models/GetManagedUsersByManagerIdResponseData.d.ts +51 -0
  611. package/dist/models/GetManagedUsersByManagerIdResponseData.js +55 -0
  612. package/dist/models/GetPartnerBillingOverview200Response.d.ts +46 -0
  613. package/dist/models/GetPartnerBillingOverview200Response.js +58 -0
  614. package/dist/models/GetPartnerCreditTransactions200Response.d.ts +46 -0
  615. package/dist/models/GetPartnerCreditTransactions200Response.js +58 -0
  616. package/dist/models/GetPartnerDesignDefaults200Response.d.ts +46 -0
  617. package/dist/models/GetPartnerDesignDefaults200Response.js +58 -0
  618. package/dist/models/GetPartnerEntitlementsResponse.d.ts +46 -0
  619. package/dist/models/GetPartnerEntitlementsResponse.js +58 -0
  620. package/dist/models/GetPartnerEntitlementsResponseData.d.ts +39 -0
  621. package/dist/models/GetPartnerEntitlementsResponseData.js +51 -0
  622. package/dist/models/GetPersonalWorkspaceDomains200Response.d.ts +46 -0
  623. package/dist/models/GetPersonalWorkspaceDomains200Response.js +58 -0
  624. package/dist/models/GetPublicCompositionEmbed200Response.d.ts +141 -0
  625. package/dist/models/GetPublicCompositionEmbed200Response.js +87 -0
  626. package/dist/models/GetPublicCompositionEmbed200ResponseAdapters.d.ts +39 -0
  627. package/dist/models/GetPublicCompositionEmbed200ResponseAdapters.js +51 -0
  628. package/dist/models/GetPublicCompositionEmbed200ResponseAdaptersCaptcha.d.ts +32 -0
  629. package/dist/models/GetPublicCompositionEmbed200ResponseAdaptersCaptcha.js +48 -0
  630. package/dist/models/GetPublicCompositionEmbed200ResponseDataSource.d.ts +38 -0
  631. package/dist/models/GetPublicCompositionEmbed200ResponseDataSource.js +50 -0
  632. package/dist/models/GetPublicCompositionEmbed200ResponseDirect.d.ts +44 -0
  633. package/dist/models/GetPublicCompositionEmbed200ResponseDirect.js +52 -0
  634. package/dist/models/GetPublicCompositionEmbed200ResponseEntries.d.ts +38 -0
  635. package/dist/models/GetPublicCompositionEmbed200ResponseEntries.js +50 -0
  636. package/dist/models/GetPublicCompositionEmbed200ResponseMedia.d.ts +32 -0
  637. package/dist/models/GetPublicCompositionEmbed200ResponseMedia.js +48 -0
  638. package/dist/models/GetPublicWorkflow200Response.d.ts +46 -0
  639. package/dist/models/GetPublicWorkflow200Response.js +58 -0
  640. package/dist/models/GetUserAdapterConnections200Response.d.ts +46 -0
  641. package/dist/models/GetUserAdapterConnections200Response.js +58 -0
  642. package/dist/models/GetUserApiKeyUsageLogsResponse.d.ts +46 -0
  643. package/dist/models/GetUserApiKeyUsageLogsResponse.js +58 -0
  644. package/dist/models/GetUserApiKeyUsageLogsResponseData.d.ts +33 -0
  645. package/dist/models/GetUserApiKeyUsageLogsResponseData.js +51 -0
  646. package/dist/models/GetUserApiKeys200Response.d.ts +46 -0
  647. package/dist/models/GetUserApiKeys200Response.js +58 -0
  648. package/dist/models/GetWidgets200Response.d.ts +46 -0
  649. package/dist/models/GetWidgets200Response.js +58 -0
  650. package/dist/models/GetWidgetsBatchRequest.d.ts +32 -0
  651. package/dist/models/GetWidgetsBatchRequest.js +50 -0
  652. package/dist/models/GetWidgetsBatchResponse.d.ts +46 -0
  653. package/dist/models/GetWidgetsBatchResponse.js +58 -0
  654. package/dist/models/GetWidgetsBatchResponseData.d.ts +40 -0
  655. package/dist/models/GetWidgetsBatchResponseData.js +52 -0
  656. package/dist/models/GetWidgetsBatchResponseDataErrorsInner.d.ts +38 -0
  657. package/dist/models/GetWidgetsBatchResponseDataErrorsInner.js +50 -0
  658. package/dist/models/GetWorkspaceWorkflowStats200Response.d.ts +46 -0
  659. package/dist/models/GetWorkspaceWorkflowStats200Response.js +58 -0
  660. package/dist/models/GetWorkspaceWorkflowVersion200Response.d.ts +46 -0
  661. package/dist/models/GetWorkspaceWorkflowVersion200Response.js +58 -0
  662. package/dist/models/ListPartnerPresets200Response.d.ts +46 -0
  663. package/dist/models/ListPartnerPresets200Response.js +58 -0
  664. package/dist/models/ListPartnerWorkflowPresets200Response.d.ts +46 -0
  665. package/dist/models/ListPartnerWorkflowPresets200Response.js +58 -0
  666. package/dist/models/ListWorkspaceWorkflowCompositionOptions200Response.d.ts +46 -0
  667. package/dist/models/ListWorkspaceWorkflowCompositionOptions200Response.js +58 -0
  668. package/dist/models/ListWorkspaceWorkflowPresets200Response.d.ts +46 -0
  669. package/dist/models/ListWorkspaceWorkflowPresets200Response.js +58 -0
  670. package/dist/models/ListWorkspaceWorkflowVersions200Response.d.ts +46 -0
  671. package/dist/models/ListWorkspaceWorkflowVersions200Response.js +58 -0
  672. package/dist/models/ListWorkspaceWorkflows200Response.d.ts +46 -0
  673. package/dist/models/ListWorkspaceWorkflows200Response.js +58 -0
  674. package/dist/models/ManagedUser.d.ts +70 -0
  675. package/dist/models/ManagedUser.js +70 -0
  676. package/dist/models/ManagedUserEntriesMeta.d.ts +56 -0
  677. package/dist/models/ManagedUserEntriesMeta.js +64 -0
  678. package/dist/models/ManagedUserEntriesPageSuccess.d.ts +46 -0
  679. package/dist/models/ManagedUserEntriesPageSuccess.js +60 -0
  680. package/dist/models/ManagedUserEntryItem.d.ts +75 -0
  681. package/dist/models/ManagedUserEntryItem.js +72 -0
  682. package/dist/models/ManagedUserLimits.d.ts +50 -0
  683. package/dist/models/ManagedUserLimits.js +62 -0
  684. package/dist/models/ManagedUserOperationUsage.d.ts +56 -0
  685. package/dist/models/ManagedUserOperationUsage.js +66 -0
  686. package/dist/models/ManagedUserRemoval.d.ts +38 -0
  687. package/dist/models/ManagedUserRemoval.js +54 -0
  688. package/dist/models/ManagedUserResponse.d.ts +46 -0
  689. package/dist/models/ManagedUserResponse.js +58 -0
  690. package/dist/models/ManagedUserUsage.d.ts +65 -0
  691. package/dist/models/ManagedUserUsage.js +72 -0
  692. package/dist/models/ManagedUserUsageResponse.d.ts +46 -0
  693. package/dist/models/ManagedUserUsageResponse.js +58 -0
  694. package/dist/models/ManagedUserUsageTotals.d.ts +50 -0
  695. package/dist/models/ManagedUserUsageTotals.js +62 -0
  696. package/dist/models/MyPartner.d.ts +93 -0
  697. package/dist/models/MyPartner.js +87 -0
  698. package/dist/models/MyPartners.d.ts +58 -0
  699. package/dist/models/MyPartners.js +70 -0
  700. package/dist/models/MyPartnersResponse.d.ts +46 -0
  701. package/dist/models/MyPartnersResponse.js +58 -0
  702. package/dist/models/NewComposition.d.ts +135 -0
  703. package/dist/models/NewComposition.js +72 -0
  704. package/dist/models/NewEditorSession.d.ts +63 -0
  705. package/dist/models/NewEditorSession.js +66 -0
  706. package/dist/models/NewManagedUser.d.ts +44 -0
  707. package/dist/models/NewManagedUser.js +54 -0
  708. package/dist/models/NewWidget.d.ts +106 -0
  709. package/dist/models/NewWidget.js +82 -0
  710. package/dist/models/OfferWorkflowPresetRequest.d.ts +50 -0
  711. package/dist/models/OfferWorkflowPresetRequest.js +56 -0
  712. package/dist/models/OfferedWorkflowPreset.d.ts +120 -0
  713. package/dist/models/OfferedWorkflowPreset.js +109 -0
  714. package/dist/models/OfferedWorkflowPresetList.d.ts +33 -0
  715. package/dist/models/OfferedWorkflowPresetList.js +51 -0
  716. package/dist/models/OfferedWorkflowPresetWidget.d.ts +44 -0
  717. package/dist/models/OfferedWorkflowPresetWidget.js +58 -0
  718. package/dist/models/OperationsIdGetResponse.d.ts +46 -0
  719. package/dist/models/OperationsIdGetResponse.js +58 -0
  720. package/dist/models/OperationsIdGetResponseData.d.ts +88 -0
  721. package/dist/models/OperationsIdGetResponseData.js +73 -0
  722. package/dist/models/PartnerAnalyticsByManagedUser.d.ts +54 -0
  723. package/dist/models/PartnerAnalyticsByManagedUser.js +65 -0
  724. package/dist/models/PartnerAnalyticsByManagedUserResponse.d.ts +46 -0
  725. package/dist/models/PartnerAnalyticsByManagedUserResponse.js +58 -0
  726. package/dist/models/PartnerAnalyticsOfDay.d.ts +50 -0
  727. package/dist/models/PartnerAnalyticsOfDay.js +62 -0
  728. package/dist/models/PartnerAnalyticsOfManagedUser.d.ts +86 -0
  729. package/dist/models/PartnerAnalyticsOfManagedUser.js +86 -0
  730. package/dist/models/PartnerAnalyticsOfWidget.d.ts +62 -0
  731. package/dist/models/PartnerAnalyticsOfWidget.js +70 -0
  732. package/dist/models/PartnerAnalyticsSummary.d.ts +76 -0
  733. package/dist/models/PartnerAnalyticsSummary.js +79 -0
  734. package/dist/models/PartnerAnalyticsSummaryResponse.d.ts +46 -0
  735. package/dist/models/PartnerAnalyticsSummaryResponse.js +58 -0
  736. package/dist/models/PartnerAnalyticsTimeline.d.ts +52 -0
  737. package/dist/models/PartnerAnalyticsTimeline.js +64 -0
  738. package/dist/models/PartnerAnalyticsTimelineResponse.d.ts +46 -0
  739. package/dist/models/PartnerAnalyticsTimelineResponse.js +58 -0
  740. package/dist/models/PartnerAnalyticsTopWidgets.d.ts +52 -0
  741. package/dist/models/PartnerAnalyticsTopWidgets.js +64 -0
  742. package/dist/models/PartnerAnalyticsTopWidgetsResponse.d.ts +46 -0
  743. package/dist/models/PartnerAnalyticsTopWidgetsResponse.js +58 -0
  744. package/dist/models/PartnerBillingOverview.d.ts +54 -0
  745. package/dist/models/PartnerBillingOverview.js +64 -0
  746. package/dist/models/PartnerBillingOverviewBillingIntegration.d.ts +59 -0
  747. package/dist/models/PartnerBillingOverviewBillingIntegration.js +71 -0
  748. package/dist/models/PartnerBillingOverviewOperationalCredits.d.ts +52 -0
  749. package/dist/models/PartnerBillingOverviewOperationalCredits.js +63 -0
  750. package/dist/models/PartnerBillingOverviewPartner.d.ts +58 -0
  751. package/dist/models/PartnerBillingOverviewPartner.js +70 -0
  752. package/dist/models/PartnerContract.d.ts +132 -0
  753. package/dist/models/PartnerContract.js +87 -0
  754. package/dist/models/PartnerContractResponse.d.ts +46 -0
  755. package/dist/models/PartnerContractResponse.js +58 -0
  756. package/dist/models/PartnerCustomization.d.ts +137 -0
  757. package/dist/models/PartnerCustomization.js +89 -0
  758. package/dist/models/PartnerDataDatabase.d.ts +74 -0
  759. package/dist/models/PartnerDataDatabase.js +78 -0
  760. package/dist/models/PartnerDataDatabaseRemoval.d.ts +32 -0
  761. package/dist/models/PartnerDataDatabaseRemoval.js +50 -0
  762. package/dist/models/PartnerDataDatabaseRemovalResponse.d.ts +46 -0
  763. package/dist/models/PartnerDataDatabaseRemovalResponse.js +58 -0
  764. package/dist/models/PartnerDataDatabaseResponse.d.ts +46 -0
  765. package/dist/models/PartnerDataDatabaseResponse.js +58 -0
  766. package/dist/models/PartnerEntryContextSecret.d.ts +39 -0
  767. package/dist/models/PartnerEntryContextSecret.js +55 -0
  768. package/dist/models/PartnerEntryContextSecretResponse.d.ts +46 -0
  769. package/dist/models/PartnerEntryContextSecretResponse.js +58 -0
  770. package/dist/models/PartnerEntryContextSigning.d.ts +62 -0
  771. package/dist/models/PartnerEntryContextSigning.js +70 -0
  772. package/dist/models/PartnerEntryContextSigningResponse.d.ts +46 -0
  773. package/dist/models/PartnerEntryContextSigningResponse.js +58 -0
  774. package/dist/models/PartnerExtraCreditsInvoice.d.ts +98 -0
  775. package/dist/models/PartnerExtraCreditsInvoice.js +94 -0
  776. package/dist/models/PartnerExtraCreditsInvoiceResponse.d.ts +46 -0
  777. package/dist/models/PartnerExtraCreditsInvoiceResponse.js +58 -0
  778. package/dist/models/PartnerInvoice.d.ts +189 -0
  779. package/dist/models/PartnerInvoice.js +109 -0
  780. package/dist/models/PartnerNotification.d.ts +81 -0
  781. package/dist/models/PartnerNotification.js +85 -0
  782. package/dist/models/PartnerNotificationDefaultRecipients.d.ts +38 -0
  783. package/dist/models/PartnerNotificationDefaultRecipients.js +54 -0
  784. package/dist/models/PartnerNotificationDelivery.d.ts +134 -0
  785. package/dist/models/PartnerNotificationDelivery.js +123 -0
  786. package/dist/models/PartnerNotificationDeliveryLog.d.ts +33 -0
  787. package/dist/models/PartnerNotificationDeliveryLog.js +51 -0
  788. package/dist/models/PartnerNotificationDeliveryLogResponse.d.ts +46 -0
  789. package/dist/models/PartnerNotificationDeliveryLogResponse.js +58 -0
  790. package/dist/models/PartnerNotificationDeliveryResponse.d.ts +46 -0
  791. package/dist/models/PartnerNotificationDeliveryResponse.js +58 -0
  792. package/dist/models/PartnerNotificationEvent.d.ts +82 -0
  793. package/dist/models/PartnerNotificationEvent.js +89 -0
  794. package/dist/models/PartnerNotificationEventType.d.ts +43 -0
  795. package/dist/models/PartnerNotificationEventType.js +69 -0
  796. package/dist/models/PartnerNotificationPage.d.ts +39 -0
  797. package/dist/models/PartnerNotificationPage.js +55 -0
  798. package/dist/models/PartnerNotificationPageResponse.d.ts +46 -0
  799. package/dist/models/PartnerNotificationPageResponse.js +58 -0
  800. package/dist/models/PartnerNotificationSettings.d.ts +89 -0
  801. package/dist/models/PartnerNotificationSettings.js +89 -0
  802. package/dist/models/PartnerNotificationSettingsChange.d.ts +39 -0
  803. package/dist/models/PartnerNotificationSettingsChange.js +55 -0
  804. package/dist/models/PartnerNotificationSettingsChangeResponse.d.ts +46 -0
  805. package/dist/models/PartnerNotificationSettingsChangeResponse.js +58 -0
  806. package/dist/models/PartnerNotificationSettingsResponse.d.ts +46 -0
  807. package/dist/models/PartnerNotificationSettingsResponse.js +58 -0
  808. package/dist/models/PartnerNotificationTestEventRequest.d.ts +33 -0
  809. package/dist/models/PartnerNotificationTestEventRequest.js +51 -0
  810. package/dist/models/PartnerNotificationTestEventResult.d.ts +50 -0
  811. package/dist/models/PartnerNotificationTestEventResult.js +60 -0
  812. package/dist/models/PartnerNotificationTestEventResultResponse.d.ts +46 -0
  813. package/dist/models/PartnerNotificationTestEventResultResponse.js +58 -0
  814. package/dist/models/PartnerPreset.d.ts +81 -0
  815. package/dist/models/PartnerPreset.js +82 -0
  816. package/dist/models/PartnerPresetCopy.d.ts +62 -0
  817. package/dist/models/PartnerPresetCopy.js +70 -0
  818. package/dist/models/PartnerPresetCopyResponse.d.ts +46 -0
  819. package/dist/models/PartnerPresetCopyResponse.js +58 -0
  820. package/dist/models/PartnerPresetRemoval.d.ts +32 -0
  821. package/dist/models/PartnerPresetRemoval.js +50 -0
  822. package/dist/models/PartnerPresetRemovalResponse.d.ts +46 -0
  823. package/dist/models/PartnerPresetRemovalResponse.js +58 -0
  824. package/dist/models/PartnerPresetResponse.d.ts +46 -0
  825. package/dist/models/PartnerPresetResponse.js +58 -0
  826. package/dist/models/PartnerReportPage.d.ts +44 -0
  827. package/dist/models/PartnerReportPage.js +58 -0
  828. package/dist/models/PartnerReportPeriod.d.ts +38 -0
  829. package/dist/models/PartnerReportPeriod.js +54 -0
  830. package/dist/models/PartnerStorageDestination.d.ts +99 -0
  831. package/dist/models/PartnerStorageDestination.js +90 -0
  832. package/dist/models/PartnerStorageDestinationResponse.d.ts +46 -0
  833. package/dist/models/PartnerStorageDestinationResponse.js +58 -0
  834. package/dist/models/PartnerStorageRemoval.d.ts +32 -0
  835. package/dist/models/PartnerStorageRemoval.js +50 -0
  836. package/dist/models/PartnerStorageRemovalResponse.d.ts +46 -0
  837. package/dist/models/PartnerStorageRemovalResponse.js +58 -0
  838. package/dist/models/PartnerStorageUsage.d.ts +54 -0
  839. package/dist/models/PartnerStorageUsage.js +65 -0
  840. package/dist/models/PartnerStorageUsageOfManagedUser.d.ts +81 -0
  841. package/dist/models/PartnerStorageUsageOfManagedUser.js +82 -0
  842. package/dist/models/PartnerStorageUsageResponse.d.ts +46 -0
  843. package/dist/models/PartnerStorageUsageResponse.js +58 -0
  844. package/dist/models/PartnerStorageUsageTotals.d.ts +50 -0
  845. package/dist/models/PartnerStorageUsageTotals.js +62 -0
  846. package/dist/models/PersonalWorkspaceDomain.d.ts +56 -0
  847. package/dist/models/PersonalWorkspaceDomain.js +62 -0
  848. package/dist/models/PersonalWorkspaceDomainResult.d.ts +39 -0
  849. package/dist/models/PersonalWorkspaceDomainResult.js +55 -0
  850. package/dist/models/PersonalWorkspaceDomainResultResponse.d.ts +46 -0
  851. package/dist/models/PersonalWorkspaceDomainResultResponse.js +58 -0
  852. package/dist/models/PostPublicCompositionEmbedStatus200Response.d.ts +46 -0
  853. package/dist/models/PostPublicCompositionEmbedStatus200Response.js +58 -0
  854. package/dist/models/PostPublicCompositionEmbedStatus200ResponseData.d.ts +45 -0
  855. package/dist/models/PostPublicCompositionEmbedStatus200ResponseData.js +59 -0
  856. package/dist/models/PostPublicCompositionEmbedStatusRequest.d.ts +32 -0
  857. package/dist/models/PostPublicCompositionEmbedStatusRequest.js +50 -0
  858. package/dist/models/PublicAdapterCallError.d.ts +50 -0
  859. package/dist/models/PublicAdapterCallError.js +60 -0
  860. package/dist/models/PublicAdapterCallRequest.d.ts +60 -0
  861. package/dist/models/PublicAdapterCallRequest.js +58 -0
  862. package/dist/models/PublicAdapterCallResult.d.ts +39 -0
  863. package/dist/models/PublicAdapterCallResult.js +55 -0
  864. package/dist/models/PublicAdapterCallResultData.d.ts +34 -0
  865. package/dist/models/PublicAdapterCallResultData.js +50 -0
  866. package/dist/models/PublicAdapterFileResult.d.ts +39 -0
  867. package/dist/models/PublicAdapterFileResult.js +55 -0
  868. package/dist/models/PublicAdapterFileResultData.d.ts +33 -0
  869. package/dist/models/PublicAdapterFileResultData.js +51 -0
  870. package/dist/models/PublicAdapterFileResultDataFile.d.ts +62 -0
  871. package/dist/models/PublicAdapterFileResultDataFile.js +70 -0
  872. package/dist/models/PublicCompositionEntryCreated.d.ts +39 -0
  873. package/dist/models/PublicCompositionEntryCreated.js +55 -0
  874. package/dist/models/PublicCompositionEntryCreatedData.d.ts +44 -0
  875. package/dist/models/PublicCompositionEntryCreatedData.js +58 -0
  876. package/dist/models/PublicCompositionEntryRequest.d.ts +46 -0
  877. package/dist/models/PublicCompositionEntryRequest.js +54 -0
  878. package/dist/models/PublicEmbedFailure.d.ts +64 -0
  879. package/dist/models/PublicEmbedFailure.js +68 -0
  880. package/dist/models/PublicEmbedFailureDetails.d.ts +47 -0
  881. package/dist/models/PublicEmbedFailureDetails.js +60 -0
  882. package/dist/models/PublicEmbedFailureError.d.ts +64 -0
  883. package/dist/models/PublicEmbedFailureError.js +64 -0
  884. package/dist/models/PublicWorkflow.d.ts +109 -0
  885. package/dist/models/PublicWorkflow.js +81 -0
  886. package/dist/models/PublicWorkflowEventsAccepted.d.ts +44 -0
  887. package/dist/models/PublicWorkflowEventsAccepted.js +54 -0
  888. package/dist/models/PublicWorkflowEventsRequest.d.ts +59 -0
  889. package/dist/models/PublicWorkflowEventsRequest.js +60 -0
  890. package/dist/models/PublicWorkflowEventsRequestEventsInner.d.ts +53 -0
  891. package/dist/models/PublicWorkflowEventsRequestEventsInner.js +65 -0
  892. package/dist/models/PublicWorkflowEventsRequestHeightsInner.d.ts +38 -0
  893. package/dist/models/PublicWorkflowEventsRequestHeightsInner.js +54 -0
  894. package/dist/models/PublicWorkflowTranslation.d.ts +40 -0
  895. package/dist/models/PublicWorkflowTranslation.js +54 -0
  896. package/dist/models/PublishWorkspaceWorkflow200Response.d.ts +46 -0
  897. package/dist/models/PublishWorkspaceWorkflow200Response.js +58 -0
  898. package/dist/models/PublishWorkspaceWorkflowRequest.d.ts +32 -0
  899. package/dist/models/PublishWorkspaceWorkflowRequest.js +50 -0
  900. package/dist/models/PurposeStorageBucket.d.ts +38 -0
  901. package/dist/models/PurposeStorageBucket.js +54 -0
  902. package/dist/models/RemoveAiAnswersKnowledgeDocument200Response.d.ts +46 -0
  903. package/dist/models/RemoveAiAnswersKnowledgeDocument200Response.js +58 -0
  904. package/dist/models/RemovePartnerWorkflowPreset200Response.d.ts +46 -0
  905. package/dist/models/RemovePartnerWorkflowPreset200Response.js +58 -0
  906. package/dist/models/RemoveUserAdapterConnection200Response.d.ts +46 -0
  907. package/dist/models/RemoveUserAdapterConnection200Response.js +58 -0
  908. package/dist/models/ReportPublicWorkflowEvents200Response.d.ts +46 -0
  909. package/dist/models/ReportPublicWorkflowEvents200Response.js +58 -0
  910. package/dist/models/RequestExtraCredits.d.ts +33 -0
  911. package/dist/models/RequestExtraCredits.js +50 -0
  912. package/dist/models/ResponseMeta.d.ts +81 -0
  913. package/dist/models/ResponseMeta.js +66 -0
  914. package/dist/models/RevokeManagedUserEditorSessionsResponse.d.ts +46 -0
  915. package/dist/models/RevokeManagedUserEditorSessionsResponse.js +58 -0
  916. package/dist/models/RevokeManagedUserEditorSessionsResponseData.d.ts +32 -0
  917. package/dist/models/RevokeManagedUserEditorSessionsResponseData.js +48 -0
  918. package/dist/models/SaveWorkspaceWorkflow200Response.d.ts +46 -0
  919. package/dist/models/SaveWorkspaceWorkflow200Response.js +58 -0
  920. package/dist/models/SaveWorkspaceWorkflowRequest.d.ts +51 -0
  921. package/dist/models/SaveWorkspaceWorkflowRequest.js +57 -0
  922. package/dist/models/SetAdapterConnectionRequest.d.ts +32 -0
  923. package/dist/models/SetAdapterConnectionRequest.js +50 -0
  924. package/dist/models/SetCompositionDataSourceRequest.d.ts +38 -0
  925. package/dist/models/SetCompositionDataSourceRequest.js +54 -0
  926. package/dist/models/SetDynamicContentRequest.d.ts +56 -0
  927. package/dist/models/SetDynamicContentRequest.js +58 -0
  928. package/dist/models/SetDynamicContentResponse.d.ts +46 -0
  929. package/dist/models/SetDynamicContentResponse.js +58 -0
  930. package/dist/models/SetDynamicContentResponseData.d.ts +57 -0
  931. package/dist/models/SetDynamicContentResponseData.js +57 -0
  932. package/dist/models/SetDynamicContentResponseDataValidationResult.d.ts +44 -0
  933. package/dist/models/SetDynamicContentResponseDataValidationResult.js +52 -0
  934. package/dist/models/SetManagedUserLimitsRequest.d.ts +32 -0
  935. package/dist/models/SetManagedUserLimitsRequest.js +50 -0
  936. package/dist/models/SetPartnerDataDatabaseRequest.d.ts +32 -0
  937. package/dist/models/SetPartnerDataDatabaseRequest.js +50 -0
  938. package/dist/models/SetPartnerDesignDefaultsRequest.d.ts +32 -0
  939. package/dist/models/SetPartnerDesignDefaultsRequest.js +50 -0
  940. package/dist/models/SetPartnerPresetRequest.d.ts +50 -0
  941. package/dist/models/SetPartnerPresetRequest.js +56 -0
  942. package/dist/models/SetPartnerStorageDestinationRequest.d.ts +79 -0
  943. package/dist/models/SetPartnerStorageDestinationRequest.js +74 -0
  944. package/dist/models/SetPartnerWorkflowPreset200Response.d.ts +46 -0
  945. package/dist/models/SetPartnerWorkflowPreset200Response.js +58 -0
  946. package/dist/models/SetUserAdapterConnection200Response.d.ts +46 -0
  947. package/dist/models/SetUserAdapterConnection200Response.js +58 -0
  948. package/dist/models/SuccessResponse.d.ts +47 -0
  949. package/dist/models/SuccessResponse.js +57 -0
  950. package/dist/models/UpdateCanvasRequest.d.ts +44 -0
  951. package/dist/models/UpdateCanvasRequest.js +52 -0
  952. package/dist/models/UpdateComposition.d.ts +82 -0
  953. package/dist/models/UpdateComposition.js +62 -0
  954. package/dist/models/UpdateCompositionStatusRequest.d.ts +41 -0
  955. package/dist/models/UpdateCompositionStatusRequest.js +59 -0
  956. package/dist/models/UpdateDomainRequest.d.ts +32 -0
  957. package/dist/models/UpdateDomainRequest.js +50 -0
  958. package/dist/models/UpdateManagedUser.d.ts +45 -0
  959. package/dist/models/UpdateManagedUser.js +52 -0
  960. package/dist/models/UpdatePartnerEntryContextSigningRequest.d.ts +32 -0
  961. package/dist/models/UpdatePartnerEntryContextSigningRequest.js +50 -0
  962. package/dist/models/UpdatePartnerNotificationSettingsRequest.d.ts +51 -0
  963. package/dist/models/UpdatePartnerNotificationSettingsRequest.js +55 -0
  964. package/dist/models/UpdateUserApiKeyRequest.d.ts +38 -0
  965. package/dist/models/UpdateUserApiKeyRequest.js +50 -0
  966. package/dist/models/Upload.d.ts +140 -0
  967. package/dist/models/Upload.js +118 -0
  968. package/dist/models/UploadLimits.d.ts +62 -0
  969. package/dist/models/UploadLimits.js +58 -0
  970. package/dist/models/UploadLimitsResponse.d.ts +46 -0
  971. package/dist/models/UploadLimitsResponse.js +58 -0
  972. package/dist/models/UploadResponse.d.ts +46 -0
  973. package/dist/models/UploadResponse.js +58 -0
  974. package/dist/models/UploadsGet200Response.d.ts +46 -0
  975. package/dist/models/UploadsGet200Response.js +58 -0
  976. package/dist/models/UploadsIdDelete200Response.d.ts +46 -0
  977. package/dist/models/UploadsIdDelete200Response.js +58 -0
  978. package/dist/models/UploadsIdDelete200ResponseData.d.ts +32 -0
  979. package/dist/models/UploadsIdDelete200ResponseData.js +48 -0
  980. package/dist/models/UserApiKey.d.ts +91 -0
  981. package/dist/models/UserApiKey.js +89 -0
  982. package/dist/models/UserApiKeyResponse.d.ts +46 -0
  983. package/dist/models/UserApiKeyResponse.js +58 -0
  984. package/dist/models/UserApiKeyUsageLog.d.ts +76 -0
  985. package/dist/models/UserApiKeyUsageLog.js +74 -0
  986. package/dist/models/ValidateCompositionContentResponse.d.ts +46 -0
  987. package/dist/models/ValidateCompositionContentResponse.js +58 -0
  988. package/dist/models/ValidateCompositionContentResponseData.d.ts +53 -0
  989. package/dist/models/ValidateCompositionContentResponseData.js +57 -0
  990. package/dist/models/ValidateToken200Response.d.ts +46 -0
  991. package/dist/models/ValidateToken200Response.js +58 -0
  992. package/dist/models/ValidateToken200ResponseData.d.ts +65 -0
  993. package/dist/models/ValidateToken200ResponseData.js +65 -0
  994. package/dist/models/Widget.d.ts +162 -0
  995. package/dist/models/Widget.js +96 -0
  996. package/dist/models/Workflow.d.ts +133 -0
  997. package/dist/models/Workflow.js +103 -0
  998. package/dist/models/WorkflowCompositionAction.d.ts +52 -0
  999. package/dist/models/WorkflowCompositionAction.js +60 -0
  1000. package/dist/models/WorkflowCompositionField.d.ts +59 -0
  1001. package/dist/models/WorkflowCompositionField.js +71 -0
  1002. package/dist/models/WorkflowCompositionOption.d.ts +73 -0
  1003. package/dist/models/WorkflowCompositionOption.js +74 -0
  1004. package/dist/models/WorkflowCompositionOptionActions.d.ts +55 -0
  1005. package/dist/models/WorkflowCompositionOptionActions.js +65 -0
  1006. package/dist/models/WorkflowCompositionOptionInputs.d.ts +64 -0
  1007. package/dist/models/WorkflowCompositionOptionInputs.js +69 -0
  1008. package/dist/models/WorkflowCompositionOptions.d.ts +51 -0
  1009. package/dist/models/WorkflowCompositionOptions.js +63 -0
  1010. package/dist/models/WorkflowConditionCase.d.ts +61 -0
  1011. package/dist/models/WorkflowConditionCase.js +69 -0
  1012. package/dist/models/WorkflowConditionTest.d.ts +68 -0
  1013. package/dist/models/WorkflowConditionTest.js +75 -0
  1014. package/dist/models/WorkflowCounter.d.ts +38 -0
  1015. package/dist/models/WorkflowCounter.js +54 -0
  1016. package/dist/models/WorkflowDetail.d.ts +166 -0
  1017. package/dist/models/WorkflowDetail.js +120 -0
  1018. package/dist/models/WorkflowDetailAllOfLastEditedBy.d.ts +42 -0
  1019. package/dist/models/WorkflowDetailAllOfLastEditedBy.js +50 -0
  1020. package/dist/models/WorkflowEdge.d.ts +50 -0
  1021. package/dist/models/WorkflowEdge.js +62 -0
  1022. package/dist/models/WorkflowFieldReference.d.ts +63 -0
  1023. package/dist/models/WorkflowFieldReference.js +74 -0
  1024. package/dist/models/WorkflowGraph.d.ts +53 -0
  1025. package/dist/models/WorkflowGraph.js +67 -0
  1026. package/dist/models/WorkflowIssue.d.ts +72 -0
  1027. package/dist/models/WorkflowIssue.js +70 -0
  1028. package/dist/models/WorkflowList.d.ts +51 -0
  1029. package/dist/models/WorkflowList.js +63 -0
  1030. package/dist/models/WorkflowNode.d.ts +83 -0
  1031. package/dist/models/WorkflowNode.js +76 -0
  1032. package/dist/models/WorkflowNodePosition.d.ts +38 -0
  1033. package/dist/models/WorkflowNodePosition.js +54 -0
  1034. package/dist/models/WorkflowPresetChoice.d.ts +60 -0
  1035. package/dist/models/WorkflowPresetChoice.js +67 -0
  1036. package/dist/models/WorkflowPresetChoices.d.ts +33 -0
  1037. package/dist/models/WorkflowPresetChoices.js +51 -0
  1038. package/dist/models/WorkflowPresetRemoval.d.ts +32 -0
  1039. package/dist/models/WorkflowPresetRemoval.js +50 -0
  1040. package/dist/models/WorkflowPresetWidget.d.ts +38 -0
  1041. package/dist/models/WorkflowPresetWidget.js +54 -0
  1042. package/dist/models/WorkflowPublishResult.d.ts +47 -0
  1043. package/dist/models/WorkflowPublishResult.js +61 -0
  1044. package/dist/models/WorkflowRemoved.d.ts +32 -0
  1045. package/dist/models/WorkflowRemoved.js +50 -0
  1046. package/dist/models/WorkflowSchedule.d.ts +69 -0
  1047. package/dist/models/WorkflowSchedule.js +74 -0
  1048. package/dist/models/WorkflowStats.d.ts +77 -0
  1049. package/dist/models/WorkflowStats.js +75 -0
  1050. package/dist/models/WorkflowStatus.d.ts +30 -0
  1051. package/dist/models/WorkflowStatus.js +56 -0
  1052. package/dist/models/WorkflowTrigger.d.ts +77 -0
  1053. package/dist/models/WorkflowTrigger.js +72 -0
  1054. package/dist/models/WorkflowTriggerValuesInner.d.ts +47 -0
  1055. package/dist/models/WorkflowTriggerValuesInner.js +63 -0
  1056. package/dist/models/WorkflowVersion.d.ts +63 -0
  1057. package/dist/models/WorkflowVersion.js +69 -0
  1058. package/dist/models/WorkflowVersionDetail.d.ts +76 -0
  1059. package/dist/models/WorkflowVersionDetail.js +78 -0
  1060. package/dist/models/WorkflowVersionList.d.ts +33 -0
  1061. package/dist/models/WorkflowVersionList.js +51 -0
  1062. package/dist/models/WorkflowVersionPublishedBy.d.ts +38 -0
  1063. package/dist/models/WorkflowVersionPublishedBy.js +50 -0
  1064. package/dist/models/index.d.ts +335 -0
  1065. package/dist/models/index.js +353 -0
  1066. package/dist/runtime.d.ts +238 -0
  1067. package/dist/runtime.js +534 -0
  1068. package/package.json +42 -4
@@ -0,0 +1,558 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Widgetic API Gateway
6
+ * API documentation for the Widgetic API Gateway
7
+ *
8
+ * The version of the OpenAPI document: 1.0.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.UsersApi = void 0;
50
+ const runtime = __importStar(require("../runtime"));
51
+ const index_1 = require("../models/index");
52
+ /**
53
+ *
54
+ */
55
+ class UsersApi extends runtime.BaseAPI {
56
+ /**
57
+ * Adds a website to an account\'s own list. Give a website name such as `example.com`, or `*.example.com` for a website and all of its subdomains. A scheme, a port, a path, capital letters and a leading `www.` are dropped, so `https://www.Example.com/shop` is kept as `example.com`, and `example.com` covers `www.example.com` too. Something that is not a website name is refused, not stored. Until the first website is added nothing is restricted, and a widget can be shown anywhere. Once the list has one, a widget of the account is shown on the listed websites (and on Widgetic\'s own) and nowhere else. A page on your own machine (`localhost`, `127.0.0.1` or `[::1]`, on any port) is always allowed, so there is nothing to add to test locally. So is the website where a partner your account administers integrates Widgetic, with every subdomain of it (`platformDomain` in the answer of `GET /partners/mine`), so there is nothing to add for it either and a list can never lock it out. A change can take about 15 seconds to reach every server. The list is a safeguard against other websites showing your widgets in a visitor\'s browser. It is not access control: anyone who knows a widget\'s id can still fetch its published content with a plain request that names no website. There is no limit on the list of an account that administers a partner, so a partner can add the website of each of its customers as they publish on their own domain, one call each. Any other account can list at most 50 websites, and the 51st is answered with a 409 (`BUSINESS_STATE_CONFLICT`). A wildcard such as `*.example.com` counts as one website, not one per subdomain, so use it instead of listing each subdomain. A page that frames a widget can name only so many websites to the browser (about fifty of ordinary length). Past that, the browser no longer checks the list for that page; the lookup that the Embed SDK makes for the widget still refuses every website that is not on the list.
58
+ * Allow a website to show your widgets
59
+ */
60
+ async addPersonalWorkspaceDomainRaw(requestParameters, initOverrides) {
61
+ if (requestParameters['id'] == null) {
62
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling addPersonalWorkspaceDomain().');
63
+ }
64
+ if (requestParameters['addDomainRequest'] == null) {
65
+ throw new runtime.RequiredError('addDomainRequest', 'Required parameter "addDomainRequest" was null or undefined when calling addPersonalWorkspaceDomain().');
66
+ }
67
+ const queryParameters = {};
68
+ const headerParameters = {};
69
+ headerParameters['Content-Type'] = 'application/json';
70
+ if (this.configuration && this.configuration.accessToken) {
71
+ const token = this.configuration.accessToken;
72
+ const tokenString = await token("apiKeyAuth", []);
73
+ if (tokenString) {
74
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
75
+ }
76
+ }
77
+ const response = await this.request({
78
+ path: `/users/{id}/workspace/domains`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
79
+ method: 'POST',
80
+ headers: headerParameters,
81
+ query: queryParameters,
82
+ body: (0, index_1.AddDomainRequestToJSON)(requestParameters['addDomainRequest']),
83
+ }, initOverrides);
84
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PersonalWorkspaceDomainResultResponseFromJSON)(jsonValue));
85
+ }
86
+ /**
87
+ * Adds a website to an account\'s own list. Give a website name such as `example.com`, or `*.example.com` for a website and all of its subdomains. A scheme, a port, a path, capital letters and a leading `www.` are dropped, so `https://www.Example.com/shop` is kept as `example.com`, and `example.com` covers `www.example.com` too. Something that is not a website name is refused, not stored. Until the first website is added nothing is restricted, and a widget can be shown anywhere. Once the list has one, a widget of the account is shown on the listed websites (and on Widgetic\'s own) and nowhere else. A page on your own machine (`localhost`, `127.0.0.1` or `[::1]`, on any port) is always allowed, so there is nothing to add to test locally. So is the website where a partner your account administers integrates Widgetic, with every subdomain of it (`platformDomain` in the answer of `GET /partners/mine`), so there is nothing to add for it either and a list can never lock it out. A change can take about 15 seconds to reach every server. The list is a safeguard against other websites showing your widgets in a visitor\'s browser. It is not access control: anyone who knows a widget\'s id can still fetch its published content with a plain request that names no website. There is no limit on the list of an account that administers a partner, so a partner can add the website of each of its customers as they publish on their own domain, one call each. Any other account can list at most 50 websites, and the 51st is answered with a 409 (`BUSINESS_STATE_CONFLICT`). A wildcard such as `*.example.com` counts as one website, not one per subdomain, so use it instead of listing each subdomain. A page that frames a widget can name only so many websites to the browser (about fifty of ordinary length). Past that, the browser no longer checks the list for that page; the lookup that the Embed SDK makes for the widget still refuses every website that is not on the list.
88
+ * Allow a website to show your widgets
89
+ */
90
+ async addPersonalWorkspaceDomain(requestParameters, initOverrides) {
91
+ const response = await this.addPersonalWorkspaceDomainRaw(requestParameters, initOverrides);
92
+ return await response.value();
93
+ }
94
+ /**
95
+ * Some credentials are an email address Widgetic sends a widget\'s messages to (`confirmation: email_code` in `getUserAdapterConnections`). Saving one with `setUserAdapterConnection` emails a six-digit code to it; this gives the code back. Only then is the address used: until it is confirmed, the widgets that need it are not charged and their visitors are told the feature is unavailable. The code works for 30 minutes and for five wrong tries. After that, save the address again and a new code is emailed (not sooner than a minute after the last one). A code that is not made of digits is refused without counting as a try. Confirming an address that is already confirmed answers 200 with the same state, so a retry of a request that went through is harmless. Saving a different address, or the same one before it was confirmed, starts again. This needs an API key with full access. The caller must be the account itself or a Widgetic administrator.
96
+ * Confirm an adapter address with the code that was emailed to it
97
+ */
98
+ async confirmUserAdapterConnectionRaw(requestParameters, initOverrides) {
99
+ if (requestParameters['userId'] == null) {
100
+ throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling confirmUserAdapterConnection().');
101
+ }
102
+ if (requestParameters['adapterId'] == null) {
103
+ throw new runtime.RequiredError('adapterId', 'Required parameter "adapterId" was null or undefined when calling confirmUserAdapterConnection().');
104
+ }
105
+ if (requestParameters['credentialKey'] == null) {
106
+ throw new runtime.RequiredError('credentialKey', 'Required parameter "credentialKey" was null or undefined when calling confirmUserAdapterConnection().');
107
+ }
108
+ if (requestParameters['confirmAdapterConnectionRequest'] == null) {
109
+ throw new runtime.RequiredError('confirmAdapterConnectionRequest', 'Required parameter "confirmAdapterConnectionRequest" was null or undefined when calling confirmUserAdapterConnection().');
110
+ }
111
+ const queryParameters = {};
112
+ const headerParameters = {};
113
+ headerParameters['Content-Type'] = 'application/json';
114
+ if (this.configuration && this.configuration.accessToken) {
115
+ const token = this.configuration.accessToken;
116
+ const tokenString = await token("apiKeyAuth", []);
117
+ if (tokenString) {
118
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
119
+ }
120
+ }
121
+ const response = await this.request({
122
+ path: `/users/{userId}/adapter-connections/{adapterId}/{credentialKey}/confirm`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))).replace(`{${"adapterId"}}`, encodeURIComponent(String(requestParameters['adapterId']))).replace(`{${"credentialKey"}}`, encodeURIComponent(String(requestParameters['credentialKey']))),
123
+ method: 'POST',
124
+ headers: headerParameters,
125
+ query: queryParameters,
126
+ body: (0, index_1.ConfirmAdapterConnectionRequestToJSON)(requestParameters['confirmAdapterConnectionRequest']),
127
+ }, initOverrides);
128
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SetUserAdapterConnection200ResponseFromJSON)(jsonValue));
129
+ }
130
+ /**
131
+ * Some credentials are an email address Widgetic sends a widget\'s messages to (`confirmation: email_code` in `getUserAdapterConnections`). Saving one with `setUserAdapterConnection` emails a six-digit code to it; this gives the code back. Only then is the address used: until it is confirmed, the widgets that need it are not charged and their visitors are told the feature is unavailable. The code works for 30 minutes and for five wrong tries. After that, save the address again and a new code is emailed (not sooner than a minute after the last one). A code that is not made of digits is refused without counting as a try. Confirming an address that is already confirmed answers 200 with the same state, so a retry of a request that went through is harmless. Saving a different address, or the same one before it was confirmed, starts again. This needs an API key with full access. The caller must be the account itself or a Widgetic administrator.
132
+ * Confirm an adapter address with the code that was emailed to it
133
+ */
134
+ async confirmUserAdapterConnection(requestParameters, initOverrides) {
135
+ const response = await this.confirmUserAdapterConnectionRaw(requestParameters, initOverrides);
136
+ return await response.value();
137
+ }
138
+ /**
139
+ * Makes a new API key for an account and returns its secret in `key`. That is the only time the secret is shown: Widgetic keeps a hash, so a key that was not stored cannot be recovered, only replaced. To rotate a key, make the new one, switch the integration over to it, then delete the old one. Only a person signed in on widgetic.com can make a key: a request made with an API key, or with an SDK token, is refused with 403. That way a leaked key cannot be used to make a second one that survives its revocation. Make keys from the dashboard; a key can still list, rename, switch off and delete keys. An `Idempotency-Key` header is required (8 to 50 characters: letters, digits, `-` and `_`). A retry with the same header and the same body returns the same answer instead of making a second key, and the same header with a different body is refused with 422. Make keys one at a time: two requests for the same account that run at the same moment can overwrite each other. A key can be limited to what it needs. Send a `preset` (`read_only`, `content` or `full_access`) or a list of `scopes`, never both. Send neither for a key that can do everything its owner can, as every key made before scopes existed. A limited key is refused with 403 and the code `API_KEY_SCOPE_MISSING` on anything outside its scopes, so a key held by a build server or by a partner\'s backend can be given only the part of the API it uses. The scopes of a key are fixed when it is made: to widen one, make a new key and delete the old one. A limited key cannot make, change or delete keys, exchange tokens or reach the administration routes. The list of scopes is in the `ApiKeyScope` schema. Accounts with API access (Solo, Teams and partner accounts) have no limit on how many keys they hold. An account on a plan without API access cannot make one (a partner account is not asked about a plan).
140
+ * Create an API key
141
+ */
142
+ async createUserApiKeyRaw(requestParameters, initOverrides) {
143
+ if (requestParameters['id'] == null) {
144
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling createUserApiKey().');
145
+ }
146
+ if (requestParameters['idempotencyKey'] == null) {
147
+ throw new runtime.RequiredError('idempotencyKey', 'Required parameter "idempotencyKey" was null or undefined when calling createUserApiKey().');
148
+ }
149
+ if (requestParameters['createUserApiKeyRequest'] == null) {
150
+ throw new runtime.RequiredError('createUserApiKeyRequest', 'Required parameter "createUserApiKeyRequest" was null or undefined when calling createUserApiKey().');
151
+ }
152
+ const queryParameters = {};
153
+ const headerParameters = {};
154
+ headerParameters['Content-Type'] = 'application/json';
155
+ if (requestParameters['idempotencyKey'] != null) {
156
+ headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
157
+ }
158
+ if (this.configuration && this.configuration.accessToken) {
159
+ const token = this.configuration.accessToken;
160
+ const tokenString = await token("apiKeyAuth", []);
161
+ if (tokenString) {
162
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
163
+ }
164
+ }
165
+ const response = await this.request({
166
+ path: `/users/{id}/keys`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
167
+ method: 'POST',
168
+ headers: headerParameters,
169
+ query: queryParameters,
170
+ body: (0, index_1.CreateUserApiKeyRequestToJSON)(requestParameters['createUserApiKeyRequest']),
171
+ }, initOverrides);
172
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CreatedUserApiKeyResponseFromJSON)(jsonValue));
173
+ }
174
+ /**
175
+ * Makes a new API key for an account and returns its secret in `key`. That is the only time the secret is shown: Widgetic keeps a hash, so a key that was not stored cannot be recovered, only replaced. To rotate a key, make the new one, switch the integration over to it, then delete the old one. Only a person signed in on widgetic.com can make a key: a request made with an API key, or with an SDK token, is refused with 403. That way a leaked key cannot be used to make a second one that survives its revocation. Make keys from the dashboard; a key can still list, rename, switch off and delete keys. An `Idempotency-Key` header is required (8 to 50 characters: letters, digits, `-` and `_`). A retry with the same header and the same body returns the same answer instead of making a second key, and the same header with a different body is refused with 422. Make keys one at a time: two requests for the same account that run at the same moment can overwrite each other. A key can be limited to what it needs. Send a `preset` (`read_only`, `content` or `full_access`) or a list of `scopes`, never both. Send neither for a key that can do everything its owner can, as every key made before scopes existed. A limited key is refused with 403 and the code `API_KEY_SCOPE_MISSING` on anything outside its scopes, so a key held by a build server or by a partner\'s backend can be given only the part of the API it uses. The scopes of a key are fixed when it is made: to widen one, make a new key and delete the old one. A limited key cannot make, change or delete keys, exchange tokens or reach the administration routes. The list of scopes is in the `ApiKeyScope` schema. Accounts with API access (Solo, Teams and partner accounts) have no limit on how many keys they hold. An account on a plan without API access cannot make one (a partner account is not asked about a plan).
176
+ * Create an API key
177
+ */
178
+ async createUserApiKey(requestParameters, initOverrides) {
179
+ const response = await this.createUserApiKeyRaw(requestParameters, initOverrides);
180
+ return await response.value();
181
+ }
182
+ /**
183
+ * Removes one entry from an account\'s own list. When it was the last one, nothing is restricted any more and a widget can be shown anywhere again. A change can take about 15 seconds to reach every server.
184
+ * Stop allowing a website to show your widgets
185
+ */
186
+ async deletePersonalWorkspaceDomainRaw(requestParameters, initOverrides) {
187
+ if (requestParameters['id'] == null) {
188
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deletePersonalWorkspaceDomain().');
189
+ }
190
+ if (requestParameters['domainId'] == null) {
191
+ throw new runtime.RequiredError('domainId', 'Required parameter "domainId" was null or undefined when calling deletePersonalWorkspaceDomain().');
192
+ }
193
+ const queryParameters = {};
194
+ const headerParameters = {};
195
+ if (this.configuration && this.configuration.accessToken) {
196
+ const token = this.configuration.accessToken;
197
+ const tokenString = await token("apiKeyAuth", []);
198
+ if (tokenString) {
199
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
200
+ }
201
+ }
202
+ const response = await this.request({
203
+ path: `/users/{id}/workspace/domains/{domainId}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))).replace(`{${"domainId"}}`, encodeURIComponent(String(requestParameters['domainId']))),
204
+ method: 'DELETE',
205
+ headers: headerParameters,
206
+ query: queryParameters,
207
+ }, initOverrides);
208
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.DeletePersonalWorkspaceDomainResponseFromJSON)(jsonValue));
209
+ }
210
+ /**
211
+ * Removes one entry from an account\'s own list. When it was the last one, nothing is restricted any more and a widget can be shown anywhere again. A change can take about 15 seconds to reach every server.
212
+ * Stop allowing a website to show your widgets
213
+ */
214
+ async deletePersonalWorkspaceDomain(requestParameters, initOverrides) {
215
+ const response = await this.deletePersonalWorkspaceDomainRaw(requestParameters, initOverrides);
216
+ return await response.value();
217
+ }
218
+ /**
219
+ * Deletes a key and the record of what it was used for. The key stops working at once on the server that took the request and within a minute on the others, and cannot be brought back: make a new one instead. To stop a key without losing it, switch it off with `updateUserApiKey`.
220
+ * Delete an API key
221
+ */
222
+ async deleteUserApiKeyRaw(requestParameters, initOverrides) {
223
+ if (requestParameters['id'] == null) {
224
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteUserApiKey().');
225
+ }
226
+ if (requestParameters['keyId'] == null) {
227
+ throw new runtime.RequiredError('keyId', 'Required parameter "keyId" was null or undefined when calling deleteUserApiKey().');
228
+ }
229
+ const queryParameters = {};
230
+ const headerParameters = {};
231
+ if (this.configuration && this.configuration.accessToken) {
232
+ const token = this.configuration.accessToken;
233
+ const tokenString = await token("apiKeyAuth", []);
234
+ if (tokenString) {
235
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
236
+ }
237
+ }
238
+ const response = await this.request({
239
+ path: `/users/{id}/keys/{keyId}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))).replace(`{${"keyId"}}`, encodeURIComponent(String(requestParameters['keyId']))),
240
+ method: 'DELETE',
241
+ headers: headerParameters,
242
+ query: queryParameters,
243
+ }, initOverrides);
244
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.DeleteUserApiKeyResponseFromJSON)(jsonValue));
245
+ }
246
+ /**
247
+ * Deletes a key and the record of what it was used for. The key stops working at once on the server that took the request and within a minute on the others, and cannot be brought back: make a new one instead. To stop a key without losing it, switch it off with `updateUserApiKey`.
248
+ * Delete an API key
249
+ */
250
+ async deleteUserApiKey(requestParameters, initOverrides) {
251
+ const response = await this.deleteUserApiKeyRaw(requestParameters, initOverrides);
252
+ return await response.value();
253
+ }
254
+ /**
255
+ * Lists the websites on an account\'s own list, newest first. It is the list Widgetic checks when a widget of the account is embedded: when it holds at least one website, the widget is shown on those websites (and on Widgetic\'s own) and nowhere else; when it is empty, the widget can be shown anywhere. If the account administers a partner, the websites set on the partner record by Widgetic are added to them. Widgets that belong to an organization use the organization\'s list instead. The answer holds the whole list, however long it is: a partner\'s list has no limit.
256
+ * List the websites allowed to show your widgets
257
+ */
258
+ async getPersonalWorkspaceDomainsRaw(requestParameters, initOverrides) {
259
+ if (requestParameters['id'] == null) {
260
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getPersonalWorkspaceDomains().');
261
+ }
262
+ const queryParameters = {};
263
+ const headerParameters = {};
264
+ if (this.configuration && this.configuration.accessToken) {
265
+ const token = this.configuration.accessToken;
266
+ const tokenString = await token("apiKeyAuth", []);
267
+ if (tokenString) {
268
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
269
+ }
270
+ }
271
+ const response = await this.request({
272
+ path: `/users/{id}/workspace/domains`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
273
+ method: 'GET',
274
+ headers: headerParameters,
275
+ query: queryParameters,
276
+ }, initOverrides);
277
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetPersonalWorkspaceDomains200ResponseFromJSON)(jsonValue));
278
+ }
279
+ /**
280
+ * Lists the websites on an account\'s own list, newest first. It is the list Widgetic checks when a widget of the account is embedded: when it holds at least one website, the widget is shown on those websites (and on Widgetic\'s own) and nowhere else; when it is empty, the widget can be shown anywhere. If the account administers a partner, the websites set on the partner record by Widgetic are added to them. Widgets that belong to an organization use the organization\'s list instead. The answer holds the whole list, however long it is: a partner\'s list has no limit.
281
+ * List the websites allowed to show your widgets
282
+ */
283
+ async getPersonalWorkspaceDomains(requestParameters, initOverrides) {
284
+ const response = await this.getPersonalWorkspaceDomainsRaw(requestParameters, initOverrides);
285
+ return await response.value();
286
+ }
287
+ /**
288
+ * Widget adapters are capabilities a widget can use, and some of them act through a service the owner has an account with: an adapter that sends email needs the owner\'s email provider key, one that sends texts needs the owner\'s SMS provider key. This lists every key an adapter takes from an owner and whether this account has connected it, so a settings page can show what is missing. An empty list means no adapter takes a key from an owner at the moment. The list never contains a key: only whether one is connected and when it was last set. Connect a key with `setUserAdapterConnection`; take it away with `removeUserAdapterConnection`. The widgets of customers a partner manages use the partner\'s keys instead (`getPartnerAdapterConnections`). The caller must be the account itself (an API key of that account works, with the `account:read` scope), or a Widgetic administrator.
289
+ * See which adapter keys an account has connected
290
+ */
291
+ async getUserAdapterConnectionsRaw(requestParameters, initOverrides) {
292
+ if (requestParameters['userId'] == null) {
293
+ throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling getUserAdapterConnections().');
294
+ }
295
+ const queryParameters = {};
296
+ const headerParameters = {};
297
+ if (this.configuration && this.configuration.accessToken) {
298
+ const token = this.configuration.accessToken;
299
+ const tokenString = await token("apiKeyAuth", []);
300
+ if (tokenString) {
301
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
302
+ }
303
+ }
304
+ const response = await this.request({
305
+ path: `/users/{userId}/adapter-connections`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
306
+ method: 'GET',
307
+ headers: headerParameters,
308
+ query: queryParameters,
309
+ }, initOverrides);
310
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetUserAdapterConnections200ResponseFromJSON)(jsonValue));
311
+ }
312
+ /**
313
+ * Widget adapters are capabilities a widget can use, and some of them act through a service the owner has an account with: an adapter that sends email needs the owner\'s email provider key, one that sends texts needs the owner\'s SMS provider key. This lists every key an adapter takes from an owner and whether this account has connected it, so a settings page can show what is missing. An empty list means no adapter takes a key from an owner at the moment. The list never contains a key: only whether one is connected and when it was last set. Connect a key with `setUserAdapterConnection`; take it away with `removeUserAdapterConnection`. The widgets of customers a partner manages use the partner\'s keys instead (`getPartnerAdapterConnections`). The caller must be the account itself (an API key of that account works, with the `account:read` scope), or a Widgetic administrator.
314
+ * See which adapter keys an account has connected
315
+ */
316
+ async getUserAdapterConnections(requestParameters, initOverrides) {
317
+ const response = await this.getUserAdapterConnectionsRaw(requestParameters, initOverrides);
318
+ return await response.value();
319
+ }
320
+ /**
321
+ * Lists the calls made with one key, newest first: when, which path and method, and the status each ended with. Use it to see whether a key is still in use before deleting it, or to see what a key that should not be in use has been doing.
322
+ * Read what an API key was used for
323
+ */
324
+ async getUserApiKeyUsageLogsRaw(requestParameters, initOverrides) {
325
+ if (requestParameters['id'] == null) {
326
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getUserApiKeyUsageLogs().');
327
+ }
328
+ if (requestParameters['keyId'] == null) {
329
+ throw new runtime.RequiredError('keyId', 'Required parameter "keyId" was null or undefined when calling getUserApiKeyUsageLogs().');
330
+ }
331
+ const queryParameters = {};
332
+ if (requestParameters['limit'] != null) {
333
+ queryParameters['limit'] = requestParameters['limit'];
334
+ }
335
+ const headerParameters = {};
336
+ if (this.configuration && this.configuration.accessToken) {
337
+ const token = this.configuration.accessToken;
338
+ const tokenString = await token("apiKeyAuth", []);
339
+ if (tokenString) {
340
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
341
+ }
342
+ }
343
+ const response = await this.request({
344
+ path: `/users/{id}/api-keys/{keyId}/logs`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))).replace(`{${"keyId"}}`, encodeURIComponent(String(requestParameters['keyId']))),
345
+ method: 'GET',
346
+ headers: headerParameters,
347
+ query: queryParameters,
348
+ }, initOverrides);
349
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetUserApiKeyUsageLogsResponseFromJSON)(jsonValue));
350
+ }
351
+ /**
352
+ * Lists the calls made with one key, newest first: when, which path and method, and the status each ended with. Use it to see whether a key is still in use before deleting it, or to see what a key that should not be in use has been doing.
353
+ * Read what an API key was used for
354
+ */
355
+ async getUserApiKeyUsageLogs(requestParameters, initOverrides) {
356
+ const response = await this.getUserApiKeyUsageLogsRaw(requestParameters, initOverrides);
357
+ return await response.value();
358
+ }
359
+ /**
360
+ * Lists the API keys of an account, in the order they were made: name, the first characters of the key, when it was made, when it expires, when it was last used, whether it is switched on and what it is limited to (`scopes` and `preset`). The secret of a key is never part of the list. A caller can list its own account\'s keys; Widgetic staff can list any account\'s.
361
+ * List the API keys of an account
362
+ */
363
+ async getUserApiKeysRaw(requestParameters, initOverrides) {
364
+ if (requestParameters['id'] == null) {
365
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getUserApiKeys().');
366
+ }
367
+ const queryParameters = {};
368
+ const headerParameters = {};
369
+ if (this.configuration && this.configuration.accessToken) {
370
+ const token = this.configuration.accessToken;
371
+ const tokenString = await token("apiKeyAuth", []);
372
+ if (tokenString) {
373
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
374
+ }
375
+ }
376
+ const response = await this.request({
377
+ path: `/users/{id}/keys`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
378
+ method: 'GET',
379
+ headers: headerParameters,
380
+ query: queryParameters,
381
+ }, initOverrides);
382
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetUserApiKeys200ResponseFromJSON)(jsonValue));
383
+ }
384
+ /**
385
+ * Lists the API keys of an account, in the order they were made: name, the first characters of the key, when it was made, when it expires, when it was last used, whether it is switched on and what it is limited to (`scopes` and `preset`). The secret of a key is never part of the list. A caller can list its own account\'s keys; Widgetic staff can list any account\'s.
386
+ * List the API keys of an account
387
+ */
388
+ async getUserApiKeys(requestParameters, initOverrides) {
389
+ const response = await this.getUserApiKeysRaw(requestParameters, initOverrides);
390
+ return await response.value();
391
+ }
392
+ /**
393
+ * Removes a key an adapter was given. The adapter stops working for the widgets that need it: their visitors are told the feature is unavailable. Nothing else of the widgets changes, and connecting a key again brings them back. Removing a key that is not connected answers 200 with `removed: false`: the state asked for is the state it is in. A key of an adapter that has since been retired from the catalog can still be removed. This needs an API key with full access. The caller must be the account itself or a Widgetic administrator.
394
+ * Remove an adapter key from an account
395
+ */
396
+ async removeUserAdapterConnectionRaw(requestParameters, initOverrides) {
397
+ if (requestParameters['userId'] == null) {
398
+ throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling removeUserAdapterConnection().');
399
+ }
400
+ if (requestParameters['adapterId'] == null) {
401
+ throw new runtime.RequiredError('adapterId', 'Required parameter "adapterId" was null or undefined when calling removeUserAdapterConnection().');
402
+ }
403
+ if (requestParameters['credentialKey'] == null) {
404
+ throw new runtime.RequiredError('credentialKey', 'Required parameter "credentialKey" was null or undefined when calling removeUserAdapterConnection().');
405
+ }
406
+ const queryParameters = {};
407
+ const headerParameters = {};
408
+ if (this.configuration && this.configuration.accessToken) {
409
+ const token = this.configuration.accessToken;
410
+ const tokenString = await token("apiKeyAuth", []);
411
+ if (tokenString) {
412
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
413
+ }
414
+ }
415
+ const response = await this.request({
416
+ path: `/users/{userId}/adapter-connections/{adapterId}/{credentialKey}`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))).replace(`{${"adapterId"}}`, encodeURIComponent(String(requestParameters['adapterId']))).replace(`{${"credentialKey"}}`, encodeURIComponent(String(requestParameters['credentialKey']))),
417
+ method: 'DELETE',
418
+ headers: headerParameters,
419
+ query: queryParameters,
420
+ }, initOverrides);
421
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.RemoveUserAdapterConnection200ResponseFromJSON)(jsonValue));
422
+ }
423
+ /**
424
+ * Removes a key an adapter was given. The adapter stops working for the widgets that need it: their visitors are told the feature is unavailable. Nothing else of the widgets changes, and connecting a key again brings them back. Removing a key that is not connected answers 200 with `removed: false`: the state asked for is the state it is in. A key of an adapter that has since been retired from the catalog can still be removed. This needs an API key with full access. The caller must be the account itself or a Widgetic administrator.
425
+ * Remove an adapter key from an account
426
+ */
427
+ async removeUserAdapterConnection(requestParameters, initOverrides) {
428
+ const response = await this.removeUserAdapterConnectionRaw(requestParameters, initOverrides);
429
+ return await response.value();
430
+ }
431
+ /**
432
+ * Gives an adapter the key it needs to act through a service you have an account with, for the widgets you made. Take the `adapterId` and `credentialKey` from `getUserAdapterConnections`. Saving a key that is already connected replaces it. **What Widgetic does with it.** The key is stored encrypted, bound to this account, this adapter and this credential, so that a stored value cannot be moved to another. It is never returned, never logged and never shown to a visitor of a widget. A server of Widgetic opens it for the one call a widget makes through the adapter, uses it to call the provider on your behalf, and discards it. To cut that off, remove the key here, or revoke it with the provider. **What is checked.** That the adapter exists and takes this credential, that an owner may keep it (some are for a partner only) and that the text is one line of at most 2048 characters. Whether the provider accepts the key is not checked here: it shows the first time a widget uses it, and the widget tells its owner. **An address that has to be confirmed.** Some credentials are not a key but the email address Widgetic sends a widget\'s messages to (`confirmation: email_code` in `getUserAdapterConnections`). Saving one checks that it is one email address and emails a six-digit code to it; the answer says `awaitingConfirmation: true`, and nothing is sent to the address until the code is given back with `confirmUserAdapterConnection`. Saving the same address again before it is confirmed emails a new code (not sooner than a minute after the last); saving the address that is already confirmed changes nothing. If the code cannot be emailed, nothing is saved. A widget whose adapter has no key connected, or whose address is not confirmed yet, is not charged and does not run that adapter: its visitors are told the feature is unavailable, and the owner is told once a day what to do. This needs an API key with full access. The caller must be the account itself or a Widgetic administrator. A retry is harmless: saving the same key twice only refreshes when it was set.
433
+ * Connect an adapter key to an account
434
+ */
435
+ async setUserAdapterConnectionRaw(requestParameters, initOverrides) {
436
+ if (requestParameters['userId'] == null) {
437
+ throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling setUserAdapterConnection().');
438
+ }
439
+ if (requestParameters['adapterId'] == null) {
440
+ throw new runtime.RequiredError('adapterId', 'Required parameter "adapterId" was null or undefined when calling setUserAdapterConnection().');
441
+ }
442
+ if (requestParameters['credentialKey'] == null) {
443
+ throw new runtime.RequiredError('credentialKey', 'Required parameter "credentialKey" was null or undefined when calling setUserAdapterConnection().');
444
+ }
445
+ if (requestParameters['setAdapterConnectionRequest'] == null) {
446
+ throw new runtime.RequiredError('setAdapterConnectionRequest', 'Required parameter "setAdapterConnectionRequest" was null or undefined when calling setUserAdapterConnection().');
447
+ }
448
+ const queryParameters = {};
449
+ const headerParameters = {};
450
+ headerParameters['Content-Type'] = 'application/json';
451
+ if (this.configuration && this.configuration.accessToken) {
452
+ const token = this.configuration.accessToken;
453
+ const tokenString = await token("apiKeyAuth", []);
454
+ if (tokenString) {
455
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
456
+ }
457
+ }
458
+ const response = await this.request({
459
+ path: `/users/{userId}/adapter-connections/{adapterId}/{credentialKey}`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))).replace(`{${"adapterId"}}`, encodeURIComponent(String(requestParameters['adapterId']))).replace(`{${"credentialKey"}}`, encodeURIComponent(String(requestParameters['credentialKey']))),
460
+ method: 'PUT',
461
+ headers: headerParameters,
462
+ query: queryParameters,
463
+ body: (0, index_1.SetAdapterConnectionRequestToJSON)(requestParameters['setAdapterConnectionRequest']),
464
+ }, initOverrides);
465
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SetUserAdapterConnection200ResponseFromJSON)(jsonValue));
466
+ }
467
+ /**
468
+ * Gives an adapter the key it needs to act through a service you have an account with, for the widgets you made. Take the `adapterId` and `credentialKey` from `getUserAdapterConnections`. Saving a key that is already connected replaces it. **What Widgetic does with it.** The key is stored encrypted, bound to this account, this adapter and this credential, so that a stored value cannot be moved to another. It is never returned, never logged and never shown to a visitor of a widget. A server of Widgetic opens it for the one call a widget makes through the adapter, uses it to call the provider on your behalf, and discards it. To cut that off, remove the key here, or revoke it with the provider. **What is checked.** That the adapter exists and takes this credential, that an owner may keep it (some are for a partner only) and that the text is one line of at most 2048 characters. Whether the provider accepts the key is not checked here: it shows the first time a widget uses it, and the widget tells its owner. **An address that has to be confirmed.** Some credentials are not a key but the email address Widgetic sends a widget\'s messages to (`confirmation: email_code` in `getUserAdapterConnections`). Saving one checks that it is one email address and emails a six-digit code to it; the answer says `awaitingConfirmation: true`, and nothing is sent to the address until the code is given back with `confirmUserAdapterConnection`. Saving the same address again before it is confirmed emails a new code (not sooner than a minute after the last); saving the address that is already confirmed changes nothing. If the code cannot be emailed, nothing is saved. A widget whose adapter has no key connected, or whose address is not confirmed yet, is not charged and does not run that adapter: its visitors are told the feature is unavailable, and the owner is told once a day what to do. This needs an API key with full access. The caller must be the account itself or a Widgetic administrator. A retry is harmless: saving the same key twice only refreshes when it was set.
469
+ * Connect an adapter key to an account
470
+ */
471
+ async setUserAdapterConnection(requestParameters, initOverrides) {
472
+ const response = await this.setUserAdapterConnectionRaw(requestParameters, initOverrides);
473
+ return await response.value();
474
+ }
475
+ /**
476
+ * Replaces the website of one entry on an account\'s own list. The same rules apply as when adding one (`addPersonalWorkspaceDomain`): a website name such as `example.com` or `*.example.com`, kept in its cleaned form, and refused when it is not a website name or is already on the list.
477
+ * Change a website on your list
478
+ */
479
+ async updatePersonalWorkspaceDomainRaw(requestParameters, initOverrides) {
480
+ if (requestParameters['id'] == null) {
481
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updatePersonalWorkspaceDomain().');
482
+ }
483
+ if (requestParameters['domainId'] == null) {
484
+ throw new runtime.RequiredError('domainId', 'Required parameter "domainId" was null or undefined when calling updatePersonalWorkspaceDomain().');
485
+ }
486
+ if (requestParameters['updateDomainRequest'] == null) {
487
+ throw new runtime.RequiredError('updateDomainRequest', 'Required parameter "updateDomainRequest" was null or undefined when calling updatePersonalWorkspaceDomain().');
488
+ }
489
+ const queryParameters = {};
490
+ const headerParameters = {};
491
+ headerParameters['Content-Type'] = 'application/json';
492
+ if (this.configuration && this.configuration.accessToken) {
493
+ const token = this.configuration.accessToken;
494
+ const tokenString = await token("apiKeyAuth", []);
495
+ if (tokenString) {
496
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
497
+ }
498
+ }
499
+ const response = await this.request({
500
+ path: `/users/{id}/workspace/domains/{domainId}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))).replace(`{${"domainId"}}`, encodeURIComponent(String(requestParameters['domainId']))),
501
+ method: 'PUT',
502
+ headers: headerParameters,
503
+ query: queryParameters,
504
+ body: (0, index_1.UpdateDomainRequestToJSON)(requestParameters['updateDomainRequest']),
505
+ }, initOverrides);
506
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PersonalWorkspaceDomainResultResponseFromJSON)(jsonValue));
507
+ }
508
+ /**
509
+ * Replaces the website of one entry on an account\'s own list. The same rules apply as when adding one (`addPersonalWorkspaceDomain`): a website name such as `example.com` or `*.example.com`, kept in its cleaned form, and refused when it is not a website name or is already on the list.
510
+ * Change a website on your list
511
+ */
512
+ async updatePersonalWorkspaceDomain(requestParameters, initOverrides) {
513
+ const response = await this.updatePersonalWorkspaceDomainRaw(requestParameters, initOverrides);
514
+ return await response.value();
515
+ }
516
+ /**
517
+ * Renames a key, or switches it off (`isActive: false`) or back on. A key that is switched off is refused at once by the server that took the request and within a minute by the others, and can be switched on again; deleting is for a key that is not coming back. The secret, the expiry and the scopes of a key cannot be changed. Only a key with full access can make these requests: a key limited to some scopes is refused with 403 and the code `API_KEY_SCOPE_MISSING`. Renaming and switching off can be done with an API key. Switching a key on needs a person signed in on widgetic.com: a request that asks for it with an API key or an SDK token is refused with 403, so a leaked key cannot bring a dormant key back to life.
518
+ * Rename an API key, or switch it off or on
519
+ */
520
+ async updateUserApiKeyRaw(requestParameters, initOverrides) {
521
+ if (requestParameters['id'] == null) {
522
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateUserApiKey().');
523
+ }
524
+ if (requestParameters['keyId'] == null) {
525
+ throw new runtime.RequiredError('keyId', 'Required parameter "keyId" was null or undefined when calling updateUserApiKey().');
526
+ }
527
+ if (requestParameters['updateUserApiKeyRequest'] == null) {
528
+ throw new runtime.RequiredError('updateUserApiKeyRequest', 'Required parameter "updateUserApiKeyRequest" was null or undefined when calling updateUserApiKey().');
529
+ }
530
+ const queryParameters = {};
531
+ const headerParameters = {};
532
+ headerParameters['Content-Type'] = 'application/json';
533
+ if (this.configuration && this.configuration.accessToken) {
534
+ const token = this.configuration.accessToken;
535
+ const tokenString = await token("apiKeyAuth", []);
536
+ if (tokenString) {
537
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
538
+ }
539
+ }
540
+ const response = await this.request({
541
+ path: `/users/{id}/keys/{keyId}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))).replace(`{${"keyId"}}`, encodeURIComponent(String(requestParameters['keyId']))),
542
+ method: 'PUT',
543
+ headers: headerParameters,
544
+ query: queryParameters,
545
+ body: (0, index_1.UpdateUserApiKeyRequestToJSON)(requestParameters['updateUserApiKeyRequest']),
546
+ }, initOverrides);
547
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UserApiKeyResponseFromJSON)(jsonValue));
548
+ }
549
+ /**
550
+ * Renames a key, or switches it off (`isActive: false`) or back on. A key that is switched off is refused at once by the server that took the request and within a minute by the others, and can be switched on again; deleting is for a key that is not coming back. The secret, the expiry and the scopes of a key cannot be changed. Only a key with full access can make these requests: a key limited to some scopes is refused with 403 and the code `API_KEY_SCOPE_MISSING`. Renaming and switching off can be done with an API key. Switching a key on needs a person signed in on widgetic.com: a request that asks for it with an API key or an SDK token is refused with 403, so a leaked key cannot bring a dormant key back to life.
551
+ * Rename an API key, or switch it off or on
552
+ */
553
+ async updateUserApiKey(requestParameters, initOverrides) {
554
+ const response = await this.updateUserApiKeyRaw(requestParameters, initOverrides);
555
+ return await response.value();
556
+ }
557
+ }
558
+ exports.UsersApi = UsersApi;