@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,116 @@
1
+ /**
2
+ * Widgetic API Gateway
3
+ * API documentation for the Widgetic API Gateway
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import type { UploadLimitsResponse, UploadResponse, UploadsGet200Response, UploadsIdDelete200Response } from '../models/index';
14
+ export interface UploadsGet0Request {
15
+ limit?: number;
16
+ managedUserId?: string;
17
+ managedUserExternalId?: string;
18
+ }
19
+ export interface UploadsIdDelete0Request {
20
+ id: string;
21
+ }
22
+ export interface UploadsIdGet0Request {
23
+ id: string;
24
+ }
25
+ export interface UploadsPost0Request {
26
+ file: Blob;
27
+ contextType?: UploadsPost0ContextTypeEnum;
28
+ source?: UploadsPost0SourceEnum;
29
+ managedUserId?: string;
30
+ managedUserExternalId?: string;
31
+ purpose?: UploadsPost0PurposeEnum;
32
+ }
33
+ /**
34
+ *
35
+ */
36
+ export declare class UploadsApi extends runtime.BaseAPI {
37
+ /**
38
+ * The files the account has uploaded, newest first. Deleted files are not listed. Returns at most `limit` files and has no further pages: a client that needs more narrows the list instead, for example to one managed user\'s files with `managedUserId` or `managedUserExternalId`. The files that visitors sent through a widget\'s upload adapter (`source` is `widget-visitor-upload`) are not part of this list, so that a popular widget does not push the account\'s own files out of it; naming one widget with `widgetId` lists what visitors sent to that widget as well.
39
+ * List the account\'s uploads
40
+ */
41
+ uploadsGetRaw(requestParameters: UploadsGet0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UploadsGet200Response>>;
42
+ /**
43
+ * The files the account has uploaded, newest first. Deleted files are not listed. Returns at most `limit` files and has no further pages: a client that needs more narrows the list instead, for example to one managed user\'s files with `managedUserId` or `managedUserExternalId`. The files that visitors sent through a widget\'s upload adapter (`source` is `widget-visitor-upload`) are not part of this list, so that a popular widget does not push the account\'s own files out of it; naming one widget with `widgetId` lists what visitors sent to that widget as well.
44
+ * List the account\'s uploads
45
+ */
46
+ uploadsGet(requestParameters?: UploadsGet0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadsGet200Response>;
47
+ /**
48
+ * Removes the stored file and the upload row. A file in Widgetic\'s own storage gives back the space it took from your storage allowance; a file in your own bucket is removed from your bucket. Deleting an upload that is already gone succeeds the same way as the first delete. An upload that belongs to another account is not found. If the storage cannot be reached the call fails and nothing is marked deleted, so it can be repeated.
49
+ * Delete an upload
50
+ */
51
+ uploadsIdDeleteRaw(requestParameters: UploadsIdDelete0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UploadsIdDelete200Response>>;
52
+ /**
53
+ * Removes the stored file and the upload row. A file in Widgetic\'s own storage gives back the space it took from your storage allowance; a file in your own bucket is removed from your bucket. Deleting an upload that is already gone succeeds the same way as the first delete. An upload that belongs to another account is not found. If the storage cannot be reached the call fails and nothing is marked deleted, so it can be repeated.
54
+ * Delete an upload
55
+ */
56
+ uploadsIdDelete(requestParameters: UploadsIdDelete0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadsIdDelete200Response>;
57
+ /**
58
+ * The details of one of the account\'s uploads. An upload that belongs to another account is not found.
59
+ * Get an upload by id
60
+ */
61
+ uploadsIdGetRaw(requestParameters: UploadsIdGet0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UploadResponse>>;
62
+ /**
63
+ * The details of one of the account\'s uploads. An upload that belongs to another account is not found.
64
+ * Get an upload by id
65
+ */
66
+ uploadsIdGet(requestParameters: UploadsIdGet0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadResponse>;
67
+ /**
68
+ * The size limit and the accepted file types of the upload endpoints. Read them from here rather than hard-coding thresholds: they are configuration and can change. The limits are the same for every account, whatever its plan: `multipart_max_bytes` for a file sent in one request (10 MB) and `tus_max_bytes` for a resumable upload (250 MB).
69
+ * Upload size limits and accepted file types
70
+ */
71
+ uploadsLimitsGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UploadLimitsResponse>>;
72
+ /**
73
+ * The size limit and the accepted file types of the upload endpoints. Read them from here rather than hard-coding thresholds: they are configuration and can change. The limits are the same for every account, whatever its plan: `multipart_max_bytes` for a file sent in one request (10 MB) and `tus_max_bytes` for a resumable upload (250 MB).
74
+ * Upload size limits and accepted file types
75
+ */
76
+ uploadsLimitsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadLimitsResponse>;
77
+ /**
78
+ * Stores one file for the account and returns its public address. This is how a user\'s own images, video and PDFs reach a widget\'s content. Send a `multipart/form-data` request with the file in the field named `file`. The file counts against the storage of the workspace it is uploaded in, and a full workspace is refused with 413 and `QUOTA_STORAGE_EXCEEDED`. For a person signed in on widgetic.com that is the workspace they are currently working in: inside a team, the team\'s shared storage; inside their own workspace, their own allowance. An organization API key, and a Shopify store\'s session, always work in that team\'s shared storage. A personal API key or an SDK token always uses the account\'s own allowance. The two never add up and one never lends room to the other. A file over the size limit is refused with 413 and `UPLOAD_TOO_LARGE`, and a type that is not accepted with 415 and `UPLOAD_UNSUPPORTED_TYPE`; `uploadsLimitsGet` lists the size limit and the accepted types. A file is judged by what is in it, not by the type it is sent as. A file that is not the type it claims (a web page sent as `image/png`) is refused with 415 and `UPLOAD_UNSUPPORTED_TYPE`, and a picture sent under the wrong picture type is stored under the type it really is, which `mime_type` in the answer says. An SVG is rewritten as it is stored: script, `foreignObject`, animation and references to other addresses are taken out, it must be UTF-8 and at most 2 MB, and the stored file can be larger or smaller than the one sent. Anything that is not an image, audio or video (a PDF, for example) is served as a download rather than shown in a page. When the full storage is a Shopify store\'s team\'s, extra storage cannot be added through Shopify yet, so the message ends by saying so and what to do instead: delete files, or contact support. On a Solo plan it names the Teams plan (which holds more) and `error.details.planPageUrl` is the address of the plan page on Shopify. `error.suggestedAction` says the same in a few words, instead of the usual \"upgrade your storage plan\". Any other team, and a person\'s own workspace, get the shorter message. To upload the file for one of your managed users, send `managedUserId` (Widgetic\'s id for the user) or `managedUserExternalId` (your own identifier for the user), not both. The file stays in your account and counts against its allowance; the tag lets you list one user\'s files with `uploadsGet`. The managed user must be yours and active: one that is not yours, or does not exist, is refused with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`, before the file is stored. The tag is set here and does not change afterwards. Called with an editor session (`createManagedUserEditorSession`), the file is always filed for the session\'s own managed user and is always media for widget content: naming another managed user is refused with 403 and `MANAGED_USER_SESSION_MISMATCH`, and `contextType`, `source`, `widgetId` and `conversationId` are ignored. A full storage allowance is refused with the same 413 and `QUOTA_STORAGE_EXCEEDED`, but the message only says that it is not available right now (not how much is stored: that is the partner\'s business) and `error.details.limit` is `storage`. An account that administers a partner with a storage destination (`setPartnerStorageDestination`) has its files stored in the partner\'s own bucket instead. Such a file takes none of the allowance, its `url` is served from the partner\'s public address, and its `storage_key` is the key in the partner\'s bucket. The file is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 and `STORAGE_DESTINATION_UNAVAILABLE`, and when the partner\'s storage rejects the file with 502 and `STORAGE_DESTINATION_WRITE_FAILED`. Partner storage is not optional, and it does not depend on how the file arrives. A partner\'s own uploads (with its API key, an SDK token, or from the Widgetic website, the resumable route and the media library alike) and the uploads of its customers\' editor sessions are kept in the partner\'s own storage or not at all, so a partner with no destination (or one that removed it after the session was made) has them refused with 409 and `PARTNER_STORAGE_REQUIRED`; they are never stored with Widgetic. An editor session\'s browser is only told that the feature is not available right now.
79
+ * Upload a file
80
+ */
81
+ uploadsPostRaw(requestParameters: UploadsPost0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UploadResponse>>;
82
+ /**
83
+ * Stores one file for the account and returns its public address. This is how a user\'s own images, video and PDFs reach a widget\'s content. Send a `multipart/form-data` request with the file in the field named `file`. The file counts against the storage of the workspace it is uploaded in, and a full workspace is refused with 413 and `QUOTA_STORAGE_EXCEEDED`. For a person signed in on widgetic.com that is the workspace they are currently working in: inside a team, the team\'s shared storage; inside their own workspace, their own allowance. An organization API key, and a Shopify store\'s session, always work in that team\'s shared storage. A personal API key or an SDK token always uses the account\'s own allowance. The two never add up and one never lends room to the other. A file over the size limit is refused with 413 and `UPLOAD_TOO_LARGE`, and a type that is not accepted with 415 and `UPLOAD_UNSUPPORTED_TYPE`; `uploadsLimitsGet` lists the size limit and the accepted types. A file is judged by what is in it, not by the type it is sent as. A file that is not the type it claims (a web page sent as `image/png`) is refused with 415 and `UPLOAD_UNSUPPORTED_TYPE`, and a picture sent under the wrong picture type is stored under the type it really is, which `mime_type` in the answer says. An SVG is rewritten as it is stored: script, `foreignObject`, animation and references to other addresses are taken out, it must be UTF-8 and at most 2 MB, and the stored file can be larger or smaller than the one sent. Anything that is not an image, audio or video (a PDF, for example) is served as a download rather than shown in a page. When the full storage is a Shopify store\'s team\'s, extra storage cannot be added through Shopify yet, so the message ends by saying so and what to do instead: delete files, or contact support. On a Solo plan it names the Teams plan (which holds more) and `error.details.planPageUrl` is the address of the plan page on Shopify. `error.suggestedAction` says the same in a few words, instead of the usual \"upgrade your storage plan\". Any other team, and a person\'s own workspace, get the shorter message. To upload the file for one of your managed users, send `managedUserId` (Widgetic\'s id for the user) or `managedUserExternalId` (your own identifier for the user), not both. The file stays in your account and counts against its allowance; the tag lets you list one user\'s files with `uploadsGet`. The managed user must be yours and active: one that is not yours, or does not exist, is refused with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`, before the file is stored. The tag is set here and does not change afterwards. Called with an editor session (`createManagedUserEditorSession`), the file is always filed for the session\'s own managed user and is always media for widget content: naming another managed user is refused with 403 and `MANAGED_USER_SESSION_MISMATCH`, and `contextType`, `source`, `widgetId` and `conversationId` are ignored. A full storage allowance is refused with the same 413 and `QUOTA_STORAGE_EXCEEDED`, but the message only says that it is not available right now (not how much is stored: that is the partner\'s business) and `error.details.limit` is `storage`. An account that administers a partner with a storage destination (`setPartnerStorageDestination`) has its files stored in the partner\'s own bucket instead. Such a file takes none of the allowance, its `url` is served from the partner\'s public address, and its `storage_key` is the key in the partner\'s bucket. The file is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 and `STORAGE_DESTINATION_UNAVAILABLE`, and when the partner\'s storage rejects the file with 502 and `STORAGE_DESTINATION_WRITE_FAILED`. Partner storage is not optional, and it does not depend on how the file arrives. A partner\'s own uploads (with its API key, an SDK token, or from the Widgetic website, the resumable route and the media library alike) and the uploads of its customers\' editor sessions are kept in the partner\'s own storage or not at all, so a partner with no destination (or one that removed it after the session was made) has them refused with 409 and `PARTNER_STORAGE_REQUIRED`; they are never stored with Widgetic. An editor session\'s browser is only told that the feature is not available right now.
84
+ * Upload a file
85
+ */
86
+ uploadsPost(requestParameters: UploadsPost0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadResponse>;
87
+ }
88
+ /**
89
+ * @export
90
+ */
91
+ export declare const UploadsPost0ContextTypeEnum: {
92
+ readonly WidgetCodegen: 'widget-codegen';
93
+ readonly BrowserIc: 'browser-ic';
94
+ readonly ContentProperty: 'content-property';
95
+ };
96
+ export type UploadsPost0ContextTypeEnum = typeof UploadsPost0ContextTypeEnum[keyof typeof UploadsPost0ContextTypeEnum];
97
+ /**
98
+ * @export
99
+ */
100
+ export declare const UploadsPost0SourceEnum: {
101
+ readonly ChatUpload: 'chat-upload';
102
+ readonly ChatScreenshot: 'chat-screenshot';
103
+ readonly BrowserIcScreenshot: 'browser-ic-screenshot';
104
+ readonly PreviewScreenshot: 'preview-screenshot';
105
+ readonly FileBrowserUpload: 'file-browser-upload';
106
+ };
107
+ export type UploadsPost0SourceEnum = typeof UploadsPost0SourceEnum[keyof typeof UploadsPost0SourceEnum];
108
+ /**
109
+ * @export
110
+ */
111
+ export declare const UploadsPost0PurposeEnum: {
112
+ readonly Canvas: 'canvas';
113
+ readonly Chat: 'chat';
114
+ readonly Field: 'field';
115
+ };
116
+ export type UploadsPost0PurposeEnum = typeof UploadsPost0PurposeEnum[keyof typeof UploadsPost0PurposeEnum];
@@ -0,0 +1,285 @@
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.UploadsPost0PurposeEnum = exports.UploadsPost0SourceEnum = exports.UploadsPost0ContextTypeEnum = exports.UploadsApi = void 0;
50
+ const runtime = __importStar(require("../runtime"));
51
+ const index_1 = require("../models/index");
52
+ /**
53
+ *
54
+ */
55
+ class UploadsApi extends runtime.BaseAPI {
56
+ /**
57
+ * The files the account has uploaded, newest first. Deleted files are not listed. Returns at most `limit` files and has no further pages: a client that needs more narrows the list instead, for example to one managed user\'s files with `managedUserId` or `managedUserExternalId`. The files that visitors sent through a widget\'s upload adapter (`source` is `widget-visitor-upload`) are not part of this list, so that a popular widget does not push the account\'s own files out of it; naming one widget with `widgetId` lists what visitors sent to that widget as well.
58
+ * List the account\'s uploads
59
+ */
60
+ async uploadsGetRaw(requestParameters, initOverrides) {
61
+ const queryParameters = {};
62
+ if (requestParameters['limit'] != null) {
63
+ queryParameters['limit'] = requestParameters['limit'];
64
+ }
65
+ if (requestParameters['managedUserId'] != null) {
66
+ queryParameters['managedUserId'] = requestParameters['managedUserId'];
67
+ }
68
+ if (requestParameters['managedUserExternalId'] != null) {
69
+ queryParameters['managedUserExternalId'] = requestParameters['managedUserExternalId'];
70
+ }
71
+ const headerParameters = {};
72
+ if (this.configuration && this.configuration.accessToken) {
73
+ const token = this.configuration.accessToken;
74
+ const tokenString = await token("apiKeyAuth", []);
75
+ if (tokenString) {
76
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
77
+ }
78
+ }
79
+ const response = await this.request({
80
+ path: `/uploads`,
81
+ method: 'GET',
82
+ headers: headerParameters,
83
+ query: queryParameters,
84
+ }, initOverrides);
85
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UploadsGet200ResponseFromJSON)(jsonValue));
86
+ }
87
+ /**
88
+ * The files the account has uploaded, newest first. Deleted files are not listed. Returns at most `limit` files and has no further pages: a client that needs more narrows the list instead, for example to one managed user\'s files with `managedUserId` or `managedUserExternalId`. The files that visitors sent through a widget\'s upload adapter (`source` is `widget-visitor-upload`) are not part of this list, so that a popular widget does not push the account\'s own files out of it; naming one widget with `widgetId` lists what visitors sent to that widget as well.
89
+ * List the account\'s uploads
90
+ */
91
+ async uploadsGet(requestParameters = {}, initOverrides) {
92
+ const response = await this.uploadsGetRaw(requestParameters, initOverrides);
93
+ return await response.value();
94
+ }
95
+ /**
96
+ * Removes the stored file and the upload row. A file in Widgetic\'s own storage gives back the space it took from your storage allowance; a file in your own bucket is removed from your bucket. Deleting an upload that is already gone succeeds the same way as the first delete. An upload that belongs to another account is not found. If the storage cannot be reached the call fails and nothing is marked deleted, so it can be repeated.
97
+ * Delete an upload
98
+ */
99
+ async uploadsIdDeleteRaw(requestParameters, initOverrides) {
100
+ if (requestParameters['id'] == null) {
101
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling uploadsIdDelete().');
102
+ }
103
+ const queryParameters = {};
104
+ const headerParameters = {};
105
+ if (this.configuration && this.configuration.accessToken) {
106
+ const token = this.configuration.accessToken;
107
+ const tokenString = await token("apiKeyAuth", []);
108
+ if (tokenString) {
109
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
110
+ }
111
+ }
112
+ const response = await this.request({
113
+ path: `/uploads/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
114
+ method: 'DELETE',
115
+ headers: headerParameters,
116
+ query: queryParameters,
117
+ }, initOverrides);
118
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UploadsIdDelete200ResponseFromJSON)(jsonValue));
119
+ }
120
+ /**
121
+ * Removes the stored file and the upload row. A file in Widgetic\'s own storage gives back the space it took from your storage allowance; a file in your own bucket is removed from your bucket. Deleting an upload that is already gone succeeds the same way as the first delete. An upload that belongs to another account is not found. If the storage cannot be reached the call fails and nothing is marked deleted, so it can be repeated.
122
+ * Delete an upload
123
+ */
124
+ async uploadsIdDelete(requestParameters, initOverrides) {
125
+ const response = await this.uploadsIdDeleteRaw(requestParameters, initOverrides);
126
+ return await response.value();
127
+ }
128
+ /**
129
+ * The details of one of the account\'s uploads. An upload that belongs to another account is not found.
130
+ * Get an upload by id
131
+ */
132
+ async uploadsIdGetRaw(requestParameters, initOverrides) {
133
+ if (requestParameters['id'] == null) {
134
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling uploadsIdGet().');
135
+ }
136
+ const queryParameters = {};
137
+ const headerParameters = {};
138
+ if (this.configuration && this.configuration.accessToken) {
139
+ const token = this.configuration.accessToken;
140
+ const tokenString = await token("apiKeyAuth", []);
141
+ if (tokenString) {
142
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
143
+ }
144
+ }
145
+ const response = await this.request({
146
+ path: `/uploads/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
147
+ method: 'GET',
148
+ headers: headerParameters,
149
+ query: queryParameters,
150
+ }, initOverrides);
151
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UploadResponseFromJSON)(jsonValue));
152
+ }
153
+ /**
154
+ * The details of one of the account\'s uploads. An upload that belongs to another account is not found.
155
+ * Get an upload by id
156
+ */
157
+ async uploadsIdGet(requestParameters, initOverrides) {
158
+ const response = await this.uploadsIdGetRaw(requestParameters, initOverrides);
159
+ return await response.value();
160
+ }
161
+ /**
162
+ * The size limit and the accepted file types of the upload endpoints. Read them from here rather than hard-coding thresholds: they are configuration and can change. The limits are the same for every account, whatever its plan: `multipart_max_bytes` for a file sent in one request (10 MB) and `tus_max_bytes` for a resumable upload (250 MB).
163
+ * Upload size limits and accepted file types
164
+ */
165
+ async uploadsLimitsGetRaw(initOverrides) {
166
+ const queryParameters = {};
167
+ const headerParameters = {};
168
+ if (this.configuration && this.configuration.accessToken) {
169
+ const token = this.configuration.accessToken;
170
+ const tokenString = await token("apiKeyAuth", []);
171
+ if (tokenString) {
172
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
173
+ }
174
+ }
175
+ const response = await this.request({
176
+ path: `/uploads/limits`,
177
+ method: 'GET',
178
+ headers: headerParameters,
179
+ query: queryParameters,
180
+ }, initOverrides);
181
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UploadLimitsResponseFromJSON)(jsonValue));
182
+ }
183
+ /**
184
+ * The size limit and the accepted file types of the upload endpoints. Read them from here rather than hard-coding thresholds: they are configuration and can change. The limits are the same for every account, whatever its plan: `multipart_max_bytes` for a file sent in one request (10 MB) and `tus_max_bytes` for a resumable upload (250 MB).
185
+ * Upload size limits and accepted file types
186
+ */
187
+ async uploadsLimitsGet(initOverrides) {
188
+ const response = await this.uploadsLimitsGetRaw(initOverrides);
189
+ return await response.value();
190
+ }
191
+ /**
192
+ * Stores one file for the account and returns its public address. This is how a user\'s own images, video and PDFs reach a widget\'s content. Send a `multipart/form-data` request with the file in the field named `file`. The file counts against the storage of the workspace it is uploaded in, and a full workspace is refused with 413 and `QUOTA_STORAGE_EXCEEDED`. For a person signed in on widgetic.com that is the workspace they are currently working in: inside a team, the team\'s shared storage; inside their own workspace, their own allowance. An organization API key, and a Shopify store\'s session, always work in that team\'s shared storage. A personal API key or an SDK token always uses the account\'s own allowance. The two never add up and one never lends room to the other. A file over the size limit is refused with 413 and `UPLOAD_TOO_LARGE`, and a type that is not accepted with 415 and `UPLOAD_UNSUPPORTED_TYPE`; `uploadsLimitsGet` lists the size limit and the accepted types. A file is judged by what is in it, not by the type it is sent as. A file that is not the type it claims (a web page sent as `image/png`) is refused with 415 and `UPLOAD_UNSUPPORTED_TYPE`, and a picture sent under the wrong picture type is stored under the type it really is, which `mime_type` in the answer says. An SVG is rewritten as it is stored: script, `foreignObject`, animation and references to other addresses are taken out, it must be UTF-8 and at most 2 MB, and the stored file can be larger or smaller than the one sent. Anything that is not an image, audio or video (a PDF, for example) is served as a download rather than shown in a page. When the full storage is a Shopify store\'s team\'s, extra storage cannot be added through Shopify yet, so the message ends by saying so and what to do instead: delete files, or contact support. On a Solo plan it names the Teams plan (which holds more) and `error.details.planPageUrl` is the address of the plan page on Shopify. `error.suggestedAction` says the same in a few words, instead of the usual \"upgrade your storage plan\". Any other team, and a person\'s own workspace, get the shorter message. To upload the file for one of your managed users, send `managedUserId` (Widgetic\'s id for the user) or `managedUserExternalId` (your own identifier for the user), not both. The file stays in your account and counts against its allowance; the tag lets you list one user\'s files with `uploadsGet`. The managed user must be yours and active: one that is not yours, or does not exist, is refused with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`, before the file is stored. The tag is set here and does not change afterwards. Called with an editor session (`createManagedUserEditorSession`), the file is always filed for the session\'s own managed user and is always media for widget content: naming another managed user is refused with 403 and `MANAGED_USER_SESSION_MISMATCH`, and `contextType`, `source`, `widgetId` and `conversationId` are ignored. A full storage allowance is refused with the same 413 and `QUOTA_STORAGE_EXCEEDED`, but the message only says that it is not available right now (not how much is stored: that is the partner\'s business) and `error.details.limit` is `storage`. An account that administers a partner with a storage destination (`setPartnerStorageDestination`) has its files stored in the partner\'s own bucket instead. Such a file takes none of the allowance, its `url` is served from the partner\'s public address, and its `storage_key` is the key in the partner\'s bucket. The file is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 and `STORAGE_DESTINATION_UNAVAILABLE`, and when the partner\'s storage rejects the file with 502 and `STORAGE_DESTINATION_WRITE_FAILED`. Partner storage is not optional, and it does not depend on how the file arrives. A partner\'s own uploads (with its API key, an SDK token, or from the Widgetic website, the resumable route and the media library alike) and the uploads of its customers\' editor sessions are kept in the partner\'s own storage or not at all, so a partner with no destination (or one that removed it after the session was made) has them refused with 409 and `PARTNER_STORAGE_REQUIRED`; they are never stored with Widgetic. An editor session\'s browser is only told that the feature is not available right now.
193
+ * Upload a file
194
+ */
195
+ async uploadsPostRaw(requestParameters, initOverrides) {
196
+ if (requestParameters['file'] == null) {
197
+ throw new runtime.RequiredError('file', 'Required parameter "file" was null or undefined when calling uploadsPost().');
198
+ }
199
+ const queryParameters = {};
200
+ const headerParameters = {};
201
+ if (this.configuration && this.configuration.accessToken) {
202
+ const token = this.configuration.accessToken;
203
+ const tokenString = await token("apiKeyAuth", []);
204
+ if (tokenString) {
205
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
206
+ }
207
+ }
208
+ const consumes = [
209
+ { contentType: 'multipart/form-data' },
210
+ ];
211
+ // @ts-ignore: canConsumeForm may be unused
212
+ const canConsumeForm = runtime.canConsumeForm(consumes);
213
+ let formParams;
214
+ let useForm = false;
215
+ // use FormData to transmit files using content-type "multipart/form-data"
216
+ useForm = canConsumeForm;
217
+ if (useForm) {
218
+ formParams = new FormData();
219
+ }
220
+ else {
221
+ formParams = new URLSearchParams();
222
+ }
223
+ if (requestParameters['file'] != null) {
224
+ formParams.append('file', requestParameters['file']);
225
+ }
226
+ if (requestParameters['contextType'] != null) {
227
+ formParams.append('contextType', requestParameters['contextType']);
228
+ }
229
+ if (requestParameters['source'] != null) {
230
+ formParams.append('source', requestParameters['source']);
231
+ }
232
+ if (requestParameters['managedUserId'] != null) {
233
+ formParams.append('managedUserId', requestParameters['managedUserId']);
234
+ }
235
+ if (requestParameters['managedUserExternalId'] != null) {
236
+ formParams.append('managedUserExternalId', requestParameters['managedUserExternalId']);
237
+ }
238
+ if (requestParameters['purpose'] != null) {
239
+ formParams.append('purpose', requestParameters['purpose']);
240
+ }
241
+ const response = await this.request({
242
+ path: `/uploads`,
243
+ method: 'POST',
244
+ headers: headerParameters,
245
+ query: queryParameters,
246
+ body: formParams,
247
+ }, initOverrides);
248
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UploadResponseFromJSON)(jsonValue));
249
+ }
250
+ /**
251
+ * Stores one file for the account and returns its public address. This is how a user\'s own images, video and PDFs reach a widget\'s content. Send a `multipart/form-data` request with the file in the field named `file`. The file counts against the storage of the workspace it is uploaded in, and a full workspace is refused with 413 and `QUOTA_STORAGE_EXCEEDED`. For a person signed in on widgetic.com that is the workspace they are currently working in: inside a team, the team\'s shared storage; inside their own workspace, their own allowance. An organization API key, and a Shopify store\'s session, always work in that team\'s shared storage. A personal API key or an SDK token always uses the account\'s own allowance. The two never add up and one never lends room to the other. A file over the size limit is refused with 413 and `UPLOAD_TOO_LARGE`, and a type that is not accepted with 415 and `UPLOAD_UNSUPPORTED_TYPE`; `uploadsLimitsGet` lists the size limit and the accepted types. A file is judged by what is in it, not by the type it is sent as. A file that is not the type it claims (a web page sent as `image/png`) is refused with 415 and `UPLOAD_UNSUPPORTED_TYPE`, and a picture sent under the wrong picture type is stored under the type it really is, which `mime_type` in the answer says. An SVG is rewritten as it is stored: script, `foreignObject`, animation and references to other addresses are taken out, it must be UTF-8 and at most 2 MB, and the stored file can be larger or smaller than the one sent. Anything that is not an image, audio or video (a PDF, for example) is served as a download rather than shown in a page. When the full storage is a Shopify store\'s team\'s, extra storage cannot be added through Shopify yet, so the message ends by saying so and what to do instead: delete files, or contact support. On a Solo plan it names the Teams plan (which holds more) and `error.details.planPageUrl` is the address of the plan page on Shopify. `error.suggestedAction` says the same in a few words, instead of the usual \"upgrade your storage plan\". Any other team, and a person\'s own workspace, get the shorter message. To upload the file for one of your managed users, send `managedUserId` (Widgetic\'s id for the user) or `managedUserExternalId` (your own identifier for the user), not both. The file stays in your account and counts against its allowance; the tag lets you list one user\'s files with `uploadsGet`. The managed user must be yours and active: one that is not yours, or does not exist, is refused with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`, before the file is stored. The tag is set here and does not change afterwards. Called with an editor session (`createManagedUserEditorSession`), the file is always filed for the session\'s own managed user and is always media for widget content: naming another managed user is refused with 403 and `MANAGED_USER_SESSION_MISMATCH`, and `contextType`, `source`, `widgetId` and `conversationId` are ignored. A full storage allowance is refused with the same 413 and `QUOTA_STORAGE_EXCEEDED`, but the message only says that it is not available right now (not how much is stored: that is the partner\'s business) and `error.details.limit` is `storage`. An account that administers a partner with a storage destination (`setPartnerStorageDestination`) has its files stored in the partner\'s own bucket instead. Such a file takes none of the allowance, its `url` is served from the partner\'s public address, and its `storage_key` is the key in the partner\'s bucket. The file is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 and `STORAGE_DESTINATION_UNAVAILABLE`, and when the partner\'s storage rejects the file with 502 and `STORAGE_DESTINATION_WRITE_FAILED`. Partner storage is not optional, and it does not depend on how the file arrives. A partner\'s own uploads (with its API key, an SDK token, or from the Widgetic website, the resumable route and the media library alike) and the uploads of its customers\' editor sessions are kept in the partner\'s own storage or not at all, so a partner with no destination (or one that removed it after the session was made) has them refused with 409 and `PARTNER_STORAGE_REQUIRED`; they are never stored with Widgetic. An editor session\'s browser is only told that the feature is not available right now.
252
+ * Upload a file
253
+ */
254
+ async uploadsPost(requestParameters, initOverrides) {
255
+ const response = await this.uploadsPostRaw(requestParameters, initOverrides);
256
+ return await response.value();
257
+ }
258
+ }
259
+ exports.UploadsApi = UploadsApi;
260
+ /**
261
+ * @export
262
+ */
263
+ exports.UploadsPost0ContextTypeEnum = {
264
+ WidgetCodegen: 'widget-codegen',
265
+ BrowserIc: 'browser-ic',
266
+ ContentProperty: 'content-property'
267
+ };
268
+ /**
269
+ * @export
270
+ */
271
+ exports.UploadsPost0SourceEnum = {
272
+ ChatUpload: 'chat-upload',
273
+ ChatScreenshot: 'chat-screenshot',
274
+ BrowserIcScreenshot: 'browser-ic-screenshot',
275
+ PreviewScreenshot: 'preview-screenshot',
276
+ FileBrowserUpload: 'file-browser-upload'
277
+ };
278
+ /**
279
+ * @export
280
+ */
281
+ exports.UploadsPost0PurposeEnum = {
282
+ Canvas: 'canvas',
283
+ Chat: 'chat',
284
+ Field: 'field'
285
+ };