@widgetic/api-sdk-ts 1.11.109 → 1.11.151
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.
- package/README.md +1 -1
- package/dist/apis/BrandKitApi.d.ts +130 -0
- package/dist/apis/BrandKitApi.js +381 -0
- package/dist/apis/CanvasesApi.d.ts +15 -15
- package/dist/apis/CompositionsApi.d.ts +257 -155
- package/dist/apis/CompositionsApi.js +338 -134
- package/dist/apis/CreditsApi.d.ts +11 -11
- package/dist/apis/CreditsApi.js +5 -5
- package/dist/apis/EntitlementsApi.d.ts +6 -6
- package/dist/apis/InvoicesApi.d.ts +6 -6
- package/dist/apis/InvoicesApi.js +2 -2
- package/dist/apis/ManagedUsersApi.d.ts +97 -63
- package/dist/apis/ManagedUsersApi.js +106 -39
- package/dist/apis/OperationsApi.d.ts +4 -4
- package/dist/apis/OperationsApi.js +5 -5
- package/dist/apis/OrganizationsApi.d.ts +74 -0
- package/dist/apis/OrganizationsApi.js +205 -0
- package/dist/apis/PartnersApi.d.ts +133 -133
- package/dist/apis/PartnersApi.js +19 -19
- package/dist/apis/PublicEmbedApi.d.ts +57 -42
- package/dist/apis/PublicEmbedApi.js +64 -29
- package/dist/apis/TokensApi.d.ts +2 -0
- package/dist/apis/TokensApi.js +2 -0
- package/dist/apis/UploadsApi.d.ts +40 -40
- package/dist/apis/UploadsApi.js +60 -60
- package/dist/apis/UsersApi.d.ts +30 -86
- package/dist/apis/UsersApi.js +6 -154
- package/dist/apis/WidgetsApi.d.ts +25 -25
- package/dist/apis/WidgetsApi.js +38 -38
- package/dist/apis/WorkflowsApi.d.ts +115 -157
- package/dist/apis/WorkflowsApi.js +111 -221
- package/dist/apis/index.d.ts +2 -2
- package/dist/apis/index.js +2 -2
- package/dist/esm/apis/BrandKitApi.js +344 -0
- package/dist/esm/apis/CompositionsApi.js +338 -134
- package/dist/esm/apis/CreditsApi.js +6 -6
- package/dist/esm/apis/InvoicesApi.js +1 -1
- package/dist/esm/apis/ManagedUsersApi.js +106 -39
- package/dist/esm/apis/OperationsApi.js +6 -6
- package/dist/esm/apis/OrganizationsApi.js +168 -0
- package/dist/esm/apis/PartnersApi.js +20 -20
- package/dist/esm/apis/PublicEmbedApi.js +65 -30
- package/dist/esm/apis/TokensApi.js +2 -0
- package/dist/esm/apis/UploadsApi.js +60 -60
- package/dist/esm/apis/UsersApi.js +7 -155
- package/dist/esm/apis/WidgetsApi.js +39 -39
- package/dist/esm/apis/WorkflowsApi.js +111 -221
- package/dist/esm/apis/index.js +2 -2
- package/dist/esm/models/{GetPartnerCreditTransactions200Response.js → AccountCreditTransactionListResponse.js} +8 -8
- package/dist/esm/models/{GetUserAdapterConnections200Response.js → AdapterConnectionListResponse.js} +8 -8
- package/dist/esm/models/{RemoveUserAdapterConnection200Response.js → AdapterConnectionRemovalResponse.js} +8 -8
- package/dist/esm/models/{SetUserAdapterConnection200Response.js → AdapterConnectionResponse.js} +8 -8
- package/dist/esm/models/AddOrganizationDomainResponse.js +51 -0
- package/dist/esm/models/AddOrganizationDomainResponseData.js +44 -0
- package/dist/esm/models/{AddAiAnswersKnowledgeDocument201Response.js → AiAnswersKnowledgeDocumentResponse.js} +8 -8
- package/dist/esm/models/BrandColor.js +64 -0
- package/dist/esm/models/BrandFont.js +72 -0
- package/dist/esm/models/BrandKitAssetView.js +96 -0
- package/dist/esm/models/BrandKitFigmaSource.js +59 -0
- package/dist/esm/models/BrandKitTokens.js +59 -0
- package/dist/esm/models/BrandKitTokensFonts.js +48 -0
- package/dist/esm/models/BrandKitView.js +75 -0
- package/dist/esm/models/BrandKitViewOwner.js +54 -0
- package/dist/esm/models/BrandKitViewResponse.js +51 -0
- package/dist/esm/models/BrandSpacing.js +71 -0
- package/dist/esm/models/BrandTextStyle.js +65 -0
- package/dist/esm/models/Canvas.js +3 -0
- package/dist/esm/models/CanvasActiveOperation.js +66 -0
- package/dist/esm/models/{CreateCompositionDatabaseRecord201Response.js → CompositionDatabaseRecordResponse.js} +8 -8
- package/dist/esm/models/{CreateCompositionContentItem201Response.js → ContentItemWriteResultResponse.js} +8 -8
- package/dist/esm/models/CreateWidget201ResponseData.js +6 -0
- package/dist/esm/models/{CreateCompositionFromWidget201Response.js → DeleteOrganizationDomainResponse.js} +11 -11
- package/dist/esm/models/DeleteOrganizationDomainResponseData.js +41 -0
- package/dist/esm/models/{OperationsIdGetResponse.js → DeleteUpload200Response.js} +11 -11
- package/dist/esm/models/{UploadsIdDelete200ResponseData.js → DeleteUpload200ResponseData.js} +8 -8
- package/dist/esm/models/{GetPartnerDesignDefaults200Response.js → DesignDefaultsResponse.js} +8 -8
- package/dist/esm/models/EditorSession.js +4 -0
- package/dist/esm/models/GetOperationResponse.js +51 -0
- package/dist/esm/models/{OperationsIdGetResponseData.js → GetOperationResponseData.js} +12 -11
- package/dist/esm/models/GetOperationResponseDataMetadata.js +69 -0
- package/dist/esm/models/GetOrganizationDomains200Response.js +51 -0
- package/dist/esm/models/{UploadsGet200Response.js → ListUploads200Response.js} +8 -8
- package/dist/esm/models/{GetManagedUserLimits200Response.js → ManagedUserLimitsResponse.js} +8 -8
- package/dist/esm/models/{DeleteManagedUser200Response.js → ManagedUserRemovalResponse.js} +8 -8
- package/dist/esm/models/NewWidget.js +0 -1
- package/dist/esm/models/{PersonalWorkspaceDomain.js → OrganizationDomain.js} +12 -18
- package/dist/esm/models/PatchBrandKitAssetRequest.js +68 -0
- package/dist/esm/models/PatchBrandKitRequest.js +57 -0
- package/dist/esm/models/PatchBrandKitRequestFonts.js +48 -0
- package/dist/esm/models/PatchBrandKitRequestSpacing.js +55 -0
- package/dist/esm/models/PostBrandKitIconRequest.js +47 -0
- package/dist/esm/models/PublicWorkflowEventsRequestEventsInner.js +11 -0
- package/dist/esm/models/{GetPublicWorkflow200Response.js → PublicWorkflowResponse.js} +8 -8
- package/dist/esm/models/PutBrandKitRequest.js +49 -0
- package/dist/esm/models/UpdateOrganizationDomainResponse.js +51 -0
- package/dist/esm/models/Upload.js +2 -0
- package/dist/esm/models/UserApiKey.js +2 -0
- package/dist/esm/models/ValidateToken200ResponseData.js +3 -0
- package/dist/esm/models/ValidateToken200ResponseDataWorkspace.js +43 -0
- package/dist/esm/models/Widget.js +6 -0
- package/dist/esm/models/WidgetClarification.js +52 -0
- package/dist/esm/models/WidgetClarificationOption.js +51 -0
- package/dist/esm/models/WidgetClarificationQuestion.js +64 -0
- package/dist/esm/models/WidgetCodeChange.js +68 -0
- package/dist/esm/models/WidgetCodeChanges.js +48 -0
- package/dist/esm/models/WidgetNextStep.js +71 -0
- package/dist/esm/models/WidgetPlan.js +61 -0
- package/dist/esm/models/WidgetPlanDecisions.js +72 -0
- package/dist/esm/models/WidgetPlanDecisionsAdaptersInner.js +47 -0
- package/dist/esm/models/WidgetPlanDecisionsLibrariesInner.js +51 -0
- package/dist/esm/models/WidgetPlanDecisionsResponsive.js +51 -0
- package/dist/esm/models/WidgetPlanTask.js +80 -0
- package/dist/esm/models/{CreateWorkspaceWorkflowFromPreset201Response.js → WorkflowDetailResponse.js} +8 -8
- package/dist/esm/models/WorkflowFailureReason.js +49 -0
- package/dist/esm/models/WorkflowFailureReasonCounter.js +52 -0
- package/dist/esm/models/{SaveWorkspaceWorkflow200Response.js → WorkflowResponse.js} +8 -8
- package/dist/esm/models/WorkflowStats.js +3 -0
- package/dist/esm/models/index.js +59 -25
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AccountCreditBalance.d.ts +2 -2
- package/dist/models/AccountCreditTransactionListResponse.d.ts +46 -0
- package/dist/models/{GetPartnerCreditTransactions200Response.js → AccountCreditTransactionListResponse.js} +13 -13
- package/dist/models/AdapterConnectionListResponse.d.ts +46 -0
- package/dist/models/{GetUserAdapterConnections200Response.js → AdapterConnectionListResponse.js} +13 -13
- package/dist/models/AdapterConnectionRemovalResponse.d.ts +46 -0
- package/dist/models/{RemoveUserAdapterConnection200Response.js → AdapterConnectionRemovalResponse.js} +13 -13
- package/dist/models/AdapterConnectionResponse.d.ts +46 -0
- package/dist/models/{SetUserAdapterConnection200Response.js → AdapterConnectionResponse.js} +13 -13
- package/dist/models/AddOrganizationDomainResponse.d.ts +46 -0
- package/dist/models/AddOrganizationDomainResponse.js +58 -0
- package/dist/models/AddOrganizationDomainResponseData.d.ts +39 -0
- package/dist/models/AddOrganizationDomainResponseData.js +51 -0
- package/dist/models/AiAnswersKnowledgeDocumentResponse.d.ts +46 -0
- package/dist/models/{AddAiAnswersKnowledgeDocument201Response.js → AiAnswersKnowledgeDocumentResponse.js} +13 -13
- package/dist/models/BrandColor.d.ts +60 -0
- package/dist/models/BrandColor.js +72 -0
- package/dist/models/BrandFont.d.ts +73 -0
- package/dist/models/BrandFont.js +80 -0
- package/dist/models/BrandKitAssetView.d.ts +130 -0
- package/dist/models/BrandKitAssetView.js +104 -0
- package/dist/models/BrandKitFigmaSource.d.ts +56 -0
- package/dist/models/BrandKitFigmaSource.js +66 -0
- package/dist/models/BrandKitTokens.d.ts +60 -0
- package/dist/models/BrandKitTokens.js +66 -0
- package/dist/models/BrandKitTokensFonts.d.ts +51 -0
- package/dist/models/BrandKitTokensFonts.js +55 -0
- package/dist/models/BrandKitView.d.ts +90 -0
- package/dist/models/BrandKitView.js +82 -0
- package/dist/models/BrandKitViewOwner.d.ts +46 -0
- package/dist/models/BrandKitViewOwner.js +62 -0
- package/dist/models/BrandKitViewResponse.d.ts +46 -0
- package/dist/models/BrandKitViewResponse.js +58 -0
- package/dist/models/BrandSpacing.d.ts +74 -0
- package/dist/models/BrandSpacing.js +78 -0
- package/dist/models/BrandTextStyle.d.ts +59 -0
- package/dist/models/BrandTextStyle.js +73 -0
- package/dist/models/Canvas.d.ts +7 -0
- package/dist/models/Canvas.js +3 -0
- package/dist/models/CanvasActiveOperation.d.ts +65 -0
- package/dist/models/CanvasActiveOperation.js +74 -0
- package/dist/models/CompositionDatabaseRecordResponse.d.ts +48 -0
- package/dist/models/CompositionDatabaseRecordResponse.js +57 -0
- package/dist/models/ContentItemWriteResultResponse.d.ts +46 -0
- package/dist/models/{CreateCompositionContentItem201Response.js → ContentItemWriteResultResponse.js} +13 -13
- package/dist/models/CreateWidget201ResponseData.d.ts +18 -0
- package/dist/models/CreateWidget201ResponseData.js +6 -0
- package/dist/models/DeleteOrganizationDomainResponse.d.ts +46 -0
- package/dist/models/DeleteOrganizationDomainResponse.js +58 -0
- package/dist/models/DeleteOrganizationDomainResponseData.d.ts +32 -0
- package/dist/models/DeleteOrganizationDomainResponseData.js +48 -0
- package/dist/models/DeleteUpload200Response.d.ts +46 -0
- package/dist/models/{OperationsIdGetResponse.js → DeleteUpload200Response.js} +16 -16
- package/dist/models/DeleteUpload200ResponseData.d.ts +32 -0
- package/dist/models/DeleteUpload200ResponseData.js +48 -0
- package/dist/models/DesignDefaultsResponse.d.ts +46 -0
- package/dist/models/{GetPartnerDesignDefaults200Response.js → DesignDefaultsResponse.js} +13 -13
- package/dist/models/EditorSession.d.ts +7 -0
- package/dist/models/EditorSession.js +4 -0
- package/dist/models/GetOperationResponse.d.ts +46 -0
- package/dist/models/GetOperationResponse.js +58 -0
- package/dist/models/GetOperationResponseData.d.ts +86 -0
- package/dist/models/{OperationsIdGetResponseData.js → GetOperationResponseData.js} +18 -17
- package/dist/models/GetOperationResponseDataMetadata.d.ts +87 -0
- package/dist/models/GetOperationResponseDataMetadata.js +77 -0
- package/dist/models/GetOrganizationDomains200Response.d.ts +46 -0
- package/dist/models/GetOrganizationDomains200Response.js +58 -0
- package/dist/models/ListUploads200Response.d.ts +46 -0
- package/dist/models/{UploadsGet200Response.js → ListUploads200Response.js} +13 -13
- package/dist/models/ManagedUserLimitsResponse.d.ts +46 -0
- package/dist/models/{GetManagedUserLimits200Response.js → ManagedUserLimitsResponse.js} +13 -13
- package/dist/models/ManagedUserRemovalResponse.d.ts +46 -0
- package/dist/models/{DeleteManagedUser200Response.js → ManagedUserRemovalResponse.js} +13 -13
- package/dist/models/NewEditorSession.d.ts +1 -1
- package/dist/models/NewWidget.d.ts +2 -3
- package/dist/models/NewWidget.js +0 -1
- package/dist/models/OrganizationDomain.d.ts +56 -0
- package/dist/models/OrganizationDomain.js +56 -0
- package/dist/models/PartnerBillingOverviewOperationalCredits.d.ts +1 -1
- package/dist/models/PatchBrandKitAssetRequest.d.ts +73 -0
- package/dist/models/PatchBrandKitAssetRequest.js +76 -0
- package/dist/models/PatchBrandKitRequest.d.ts +72 -0
- package/dist/models/PatchBrandKitRequest.js +64 -0
- package/dist/models/PatchBrandKitRequestFonts.d.ts +51 -0
- package/dist/models/PatchBrandKitRequestFonts.js +55 -0
- package/dist/models/PatchBrandKitRequestSpacing.d.ts +74 -0
- package/dist/models/PatchBrandKitRequestSpacing.js +62 -0
- package/dist/models/PostBrandKitIconRequest.d.ts +38 -0
- package/dist/models/PostBrandKitIconRequest.js +54 -0
- package/dist/models/PublicWorkflowEventsRequestEventsInner.d.ts +21 -0
- package/dist/models/PublicWorkflowEventsRequestEventsInner.js +12 -1
- package/dist/models/PublicWorkflowResponse.d.ts +46 -0
- package/dist/models/{GetPublicWorkflow200Response.js → PublicWorkflowResponse.js} +13 -13
- package/dist/models/PutBrandKitRequest.d.ts +46 -0
- package/dist/models/PutBrandKitRequest.js +56 -0
- package/dist/models/UpdateOrganizationDomainResponse.d.ts +46 -0
- package/dist/models/UpdateOrganizationDomainResponse.js +58 -0
- package/dist/models/Upload.d.ts +7 -1
- package/dist/models/Upload.js +2 -0
- package/dist/models/UploadLimits.d.ts +3 -3
- package/dist/models/UserApiKey.d.ts +6 -0
- package/dist/models/UserApiKey.js +2 -0
- package/dist/models/ValidateToken200ResponseData.d.ts +7 -0
- package/dist/models/ValidateToken200ResponseData.js +3 -0
- package/dist/models/ValidateToken200ResponseDataWorkspace.d.ts +38 -0
- package/dist/models/ValidateToken200ResponseDataWorkspace.js +50 -0
- package/dist/models/Widget.d.ts +18 -0
- package/dist/models/Widget.js +6 -0
- package/dist/models/WidgetClarification.d.ts +45 -0
- package/dist/models/WidgetClarification.js +59 -0
- package/dist/models/WidgetClarificationOption.d.ts +44 -0
- package/dist/models/WidgetClarificationOption.js +58 -0
- package/dist/models/WidgetClarificationQuestion.d.ts +63 -0
- package/dist/models/WidgetClarificationQuestion.js +71 -0
- package/dist/models/WidgetCodeChange.d.ts +70 -0
- package/dist/models/WidgetCodeChange.js +76 -0
- package/dist/models/WidgetCodeChanges.d.ts +39 -0
- package/dist/models/WidgetCodeChanges.js +55 -0
- package/dist/models/WidgetNextStep.d.ts +69 -0
- package/dist/models/WidgetNextStep.js +79 -0
- package/dist/models/WidgetPlan.d.ts +58 -0
- package/dist/models/WidgetPlan.js +68 -0
- package/dist/models/WidgetPlanDecisions.d.ts +77 -0
- package/dist/models/WidgetPlanDecisions.js +79 -0
- package/dist/models/WidgetPlanDecisionsAdaptersInner.d.ts +38 -0
- package/dist/models/WidgetPlanDecisionsAdaptersInner.js +54 -0
- package/dist/models/WidgetPlanDecisionsLibrariesInner.d.ts +44 -0
- package/dist/models/WidgetPlanDecisionsLibrariesInner.js +58 -0
- package/dist/models/WidgetPlanDecisionsResponsive.d.ts +44 -0
- package/dist/models/WidgetPlanDecisionsResponsive.js +58 -0
- package/dist/models/WidgetPlanTask.d.ts +77 -0
- package/dist/models/WidgetPlanTask.js +88 -0
- package/dist/models/WorkflowDetailAllOfLastEditedBy.d.ts +2 -2
- package/dist/models/WorkflowDetailResponse.d.ts +46 -0
- package/dist/models/WorkflowDetailResponse.js +58 -0
- package/dist/models/WorkflowFailureReason.d.ts +31 -0
- package/dist/models/WorkflowFailureReason.js +57 -0
- package/dist/models/WorkflowFailureReasonCounter.d.ts +45 -0
- package/dist/models/WorkflowFailureReasonCounter.js +59 -0
- package/dist/models/WorkflowResponse.d.ts +46 -0
- package/dist/models/{SaveWorkspaceWorkflow200Response.js → WorkflowResponse.js} +13 -13
- package/dist/models/WorkflowStats.d.ts +16 -1
- package/dist/models/WorkflowStats.js +3 -0
- package/dist/models/index.d.ts +59 -25
- package/dist/models/index.js +59 -25
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/dist/apis/PartnerApi.d.ts +0 -2595
- package/dist/apis/PartnerApi.js +0 -6749
- package/dist/apis/WorkspacesApi.d.ts +0 -352
- package/dist/apis/WorkspacesApi.js +0 -946
- package/dist/esm/apis/PartnerApi.js +0 -6712
- package/dist/esm/apis/WorkspacesApi.js +0 -909
- package/dist/esm/models/DeletePersonalWorkspaceDomainResponse.js +0 -51
- package/dist/esm/models/DeletePersonalWorkspaceDomainResponseData.js +0 -41
- package/dist/esm/models/GetPersonalWorkspaceDomains200Response.js +0 -51
- package/dist/esm/models/PersonalWorkspaceDomainResult.js +0 -48
- package/dist/esm/models/PersonalWorkspaceDomainResultResponse.js +0 -51
- package/dist/esm/models/UploadsIdDelete200Response.js +0 -51
- package/dist/models/AddAiAnswersKnowledgeDocument201Response.d.ts +0 -46
- package/dist/models/CreateCompositionContentItem201Response.d.ts +0 -46
- package/dist/models/CreateCompositionDatabaseRecord201Response.d.ts +0 -48
- package/dist/models/CreateCompositionDatabaseRecord201Response.js +0 -57
- package/dist/models/CreateCompositionFromWidget201Response.d.ts +0 -46
- package/dist/models/CreateCompositionFromWidget201Response.js +0 -58
- package/dist/models/CreateWorkspaceWorkflowFromPreset201Response.d.ts +0 -46
- package/dist/models/CreateWorkspaceWorkflowFromPreset201Response.js +0 -58
- package/dist/models/DeleteManagedUser200Response.d.ts +0 -46
- package/dist/models/DeletePersonalWorkspaceDomainResponse.d.ts +0 -46
- package/dist/models/DeletePersonalWorkspaceDomainResponse.js +0 -58
- package/dist/models/DeletePersonalWorkspaceDomainResponseData.d.ts +0 -32
- package/dist/models/DeletePersonalWorkspaceDomainResponseData.js +0 -48
- package/dist/models/GetManagedUserLimits200Response.d.ts +0 -46
- package/dist/models/GetPartnerCreditTransactions200Response.d.ts +0 -46
- package/dist/models/GetPartnerDesignDefaults200Response.d.ts +0 -46
- package/dist/models/GetPersonalWorkspaceDomains200Response.d.ts +0 -46
- package/dist/models/GetPersonalWorkspaceDomains200Response.js +0 -58
- package/dist/models/GetPublicWorkflow200Response.d.ts +0 -46
- package/dist/models/GetUserAdapterConnections200Response.d.ts +0 -46
- package/dist/models/OperationsIdGetResponse.d.ts +0 -46
- package/dist/models/OperationsIdGetResponseData.d.ts +0 -88
- package/dist/models/PersonalWorkspaceDomain.d.ts +0 -56
- package/dist/models/PersonalWorkspaceDomain.js +0 -62
- package/dist/models/PersonalWorkspaceDomainResult.d.ts +0 -39
- package/dist/models/PersonalWorkspaceDomainResult.js +0 -55
- package/dist/models/PersonalWorkspaceDomainResultResponse.d.ts +0 -46
- package/dist/models/PersonalWorkspaceDomainResultResponse.js +0 -58
- package/dist/models/RemoveUserAdapterConnection200Response.d.ts +0 -46
- package/dist/models/SaveWorkspaceWorkflow200Response.d.ts +0 -46
- package/dist/models/SetUserAdapterConnection200Response.d.ts +0 -46
- package/dist/models/UploadsGet200Response.d.ts +0 -46
- package/dist/models/UploadsIdDelete200Response.d.ts +0 -46
- package/dist/models/UploadsIdDelete200Response.js +0 -58
- package/dist/models/UploadsIdDelete200ResponseData.d.ts +0 -32
- package/dist/models/UploadsIdDelete200ResponseData.js +0 -48
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Why a composition could not be shown to a visitor. `timeout`: it did not appear in time (the embed waits eight
|
|
16
|
+
* seconds). `widget_error`: the widget in it reported an error. `build`: the embed could not build it at all. `other`:
|
|
17
|
+
* another step was already on its way, or the page was going away. A closed list: never a message and never a code a
|
|
18
|
+
* widget chose.
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
export const WorkflowFailureReason = {
|
|
23
|
+
Timeout: 'timeout',
|
|
24
|
+
WidgetError: 'widget_error',
|
|
25
|
+
Build: 'build',
|
|
26
|
+
Other: 'other'
|
|
27
|
+
};
|
|
28
|
+
export function instanceOfWorkflowFailureReason(value) {
|
|
29
|
+
for (const key in WorkflowFailureReason) {
|
|
30
|
+
if (Object.prototype.hasOwnProperty.call(WorkflowFailureReason, key)) {
|
|
31
|
+
if (WorkflowFailureReason[key] === value) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
export function WorkflowFailureReasonFromJSON(json) {
|
|
39
|
+
return WorkflowFailureReasonFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function WorkflowFailureReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
export function WorkflowFailureReasonToJSON(value) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
export function WorkflowFailureReasonToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { WorkflowFailureReasonFromJSON, WorkflowFailureReasonToJSON, } from './WorkflowFailureReason.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the WorkflowFailureReasonCounter interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfWorkflowFailureReasonCounter(value) {
|
|
19
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function WorkflowFailureReasonCounterFromJSON(json) {
|
|
28
|
+
return WorkflowFailureReasonCounterFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function WorkflowFailureReasonCounterFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'],
|
|
36
|
+
'reason': WorkflowFailureReasonFromJSON(json['reason']),
|
|
37
|
+
'total': json['total'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function WorkflowFailureReasonCounterToJSON(json) {
|
|
41
|
+
return WorkflowFailureReasonCounterToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function WorkflowFailureReasonCounterToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': value['id'],
|
|
49
|
+
'reason': WorkflowFailureReasonToJSON(value['reason']),
|
|
50
|
+
'total': value['total'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -14,19 +14,19 @@
|
|
|
14
14
|
import { ResponseMetaFromJSON, ResponseMetaToJSON, } from './ResponseMeta.js';
|
|
15
15
|
import { WorkflowFromJSON, WorkflowToJSON, } from './Workflow.js';
|
|
16
16
|
/**
|
|
17
|
-
* Check if a given object implements the
|
|
17
|
+
* Check if a given object implements the WorkflowResponse interface.
|
|
18
18
|
*/
|
|
19
|
-
export function
|
|
19
|
+
export function instanceOfWorkflowResponse(value) {
|
|
20
20
|
if (!('success' in value) || value['success'] === undefined)
|
|
21
21
|
return false;
|
|
22
22
|
if (!('data' in value) || value['data'] === undefined)
|
|
23
23
|
return false;
|
|
24
24
|
return true;
|
|
25
25
|
}
|
|
26
|
-
export function
|
|
27
|
-
return
|
|
26
|
+
export function WorkflowResponseFromJSON(json) {
|
|
27
|
+
return WorkflowResponseFromJSONTyped(json, false);
|
|
28
28
|
}
|
|
29
|
-
export function
|
|
29
|
+
export function WorkflowResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
30
|
if (json == null) {
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
@@ -36,10 +36,10 @@ export function SaveWorkspaceWorkflow200ResponseFromJSONTyped(json, ignoreDiscri
|
|
|
36
36
|
'meta': json['meta'] == null ? undefined : ResponseMetaFromJSON(json['meta']),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export function
|
|
40
|
-
return
|
|
39
|
+
export function WorkflowResponseToJSON(json) {
|
|
40
|
+
return WorkflowResponseToJSONTyped(json, false);
|
|
41
41
|
}
|
|
42
|
-
export function
|
|
42
|
+
export function WorkflowResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
43
|
if (value == null) {
|
|
44
44
|
return value;
|
|
45
45
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { WorkflowFailureReasonCounterFromJSON, WorkflowFailureReasonCounterToJSON, } from './WorkflowFailureReasonCounter.js';
|
|
14
15
|
import { WorkflowCounterFromJSON, WorkflowCounterToJSON, } from './WorkflowCounter.js';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the WorkflowStats interface.
|
|
@@ -46,6 +47,7 @@ export function WorkflowStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
47
|
'nodes': (json['nodes'].map(WorkflowCounterFromJSON)),
|
|
47
48
|
'edges': (json['edges'].map(WorkflowCounterFromJSON)),
|
|
48
49
|
'failed': (json['failed'].map(WorkflowCounterFromJSON)),
|
|
50
|
+
'failedReasons': json['failedReasons'] == null ? undefined : (json['failedReasons'].map(WorkflowFailureReasonCounterFromJSON)),
|
|
49
51
|
};
|
|
50
52
|
}
|
|
51
53
|
export function WorkflowStatsToJSON(json) {
|
|
@@ -64,5 +66,6 @@ export function WorkflowStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
64
66
|
'nodes': (value['nodes'].map(WorkflowCounterToJSON)),
|
|
65
67
|
'edges': (value['edges'].map(WorkflowCounterToJSON)),
|
|
66
68
|
'failed': (value['failed'].map(WorkflowCounterToJSON)),
|
|
69
|
+
'failedReasons': value['failedReasons'] == null ? undefined : (value['failedReasons'].map(WorkflowFailureReasonCounterToJSON)),
|
|
67
70
|
};
|
|
68
71
|
}
|
package/dist/esm/models/index.js
CHANGED
|
@@ -3,23 +3,42 @@
|
|
|
3
3
|
export * from './AccountCreditBalance.js';
|
|
4
4
|
export * from './AccountCreditBalanceResponse.js';
|
|
5
5
|
export * from './AccountCreditTransaction.js';
|
|
6
|
+
export * from './AccountCreditTransactionListResponse.js';
|
|
6
7
|
export * from './AdapterConnection.js';
|
|
8
|
+
export * from './AdapterConnectionListResponse.js';
|
|
7
9
|
export * from './AdapterConnectionRemoval.js';
|
|
8
|
-
export * from './
|
|
10
|
+
export * from './AdapterConnectionRemovalResponse.js';
|
|
11
|
+
export * from './AdapterConnectionResponse.js';
|
|
9
12
|
export * from './AddAiAnswersKnowledgeDocumentRequest.js';
|
|
10
13
|
export * from './AddDomainRequest.js';
|
|
14
|
+
export * from './AddOrganizationDomainResponse.js';
|
|
15
|
+
export * from './AddOrganizationDomainResponseData.js';
|
|
11
16
|
export * from './AiAnswersKnowledge.js';
|
|
12
17
|
export * from './AiAnswersKnowledgeDocument.js';
|
|
18
|
+
export * from './AiAnswersKnowledgeDocumentResponse.js';
|
|
13
19
|
export * from './AiAnswersKnowledgeRemoval.js';
|
|
14
20
|
export * from './AiAnswersKnowledgeTotals.js';
|
|
15
21
|
export * from './ApiKeyScope.js';
|
|
22
|
+
export * from './BrandColor.js';
|
|
23
|
+
export * from './BrandFont.js';
|
|
24
|
+
export * from './BrandKitAssetView.js';
|
|
25
|
+
export * from './BrandKitFigmaSource.js';
|
|
26
|
+
export * from './BrandKitTokens.js';
|
|
27
|
+
export * from './BrandKitTokensFonts.js';
|
|
28
|
+
export * from './BrandKitView.js';
|
|
29
|
+
export * from './BrandKitViewOwner.js';
|
|
30
|
+
export * from './BrandKitViewResponse.js';
|
|
31
|
+
export * from './BrandSpacing.js';
|
|
32
|
+
export * from './BrandTextStyle.js';
|
|
16
33
|
export * from './Canvas.js';
|
|
34
|
+
export * from './CanvasActiveOperation.js';
|
|
17
35
|
export * from './CanvasResponse.js';
|
|
18
36
|
export * from './CheckCompositionAccessResponse.js';
|
|
19
37
|
export * from './CheckCompositionAccessResponseData.js';
|
|
20
38
|
export * from './Composition.js';
|
|
21
39
|
export * from './CompositionDataSource.js';
|
|
22
40
|
export * from './CompositionDataSourceResponse.js';
|
|
41
|
+
export * from './CompositionDatabaseRecordResponse.js';
|
|
23
42
|
export * from './CompositionEntriesDescription.js';
|
|
24
43
|
export * from './CompositionEntriesDescriptionResponse.js';
|
|
25
44
|
export * from './CompositionEntriesReading.js';
|
|
@@ -40,19 +59,16 @@ export * from './CompositionVersion.js';
|
|
|
40
59
|
export * from './ConfirmAdapterConnectionRequest.js';
|
|
41
60
|
export * from './ContentCheckFinding.js';
|
|
42
61
|
export * from './ContentItemWriteResult.js';
|
|
62
|
+
export * from './ContentItemWriteResultResponse.js';
|
|
43
63
|
export * from './ContentItemWriteResultValidationResult.js';
|
|
44
64
|
export * from './CopyPartnerPresetRequest.js';
|
|
45
65
|
export * from './CreateCanvasRequest.js';
|
|
46
|
-
export * from './CreateCompositionContentItem201Response.js';
|
|
47
66
|
export * from './CreateCompositionContentItemRequest.js';
|
|
48
|
-
export * from './CreateCompositionDatabaseRecord201Response.js';
|
|
49
67
|
export * from './CreateCompositionFromPresetRequest.js';
|
|
50
|
-
export * from './CreateCompositionFromWidget201Response.js';
|
|
51
68
|
export * from './CreateCompositionFromWidgetRequest.js';
|
|
52
69
|
export * from './CreateUserApiKeyRequest.js';
|
|
53
70
|
export * from './CreateWidget201Response.js';
|
|
54
71
|
export * from './CreateWidget201ResponseData.js';
|
|
55
|
-
export * from './CreateWorkspaceWorkflowFromPreset201Response.js';
|
|
56
72
|
export * from './CreateWorkspaceWorkflowFromPresetRequest.js';
|
|
57
73
|
export * from './CreateWorkspaceWorkflowRequest.js';
|
|
58
74
|
export * from './CreatedUserApiKey.js';
|
|
@@ -61,13 +77,15 @@ export * from './DeleteCompositionContentItemResponse.js';
|
|
|
61
77
|
export * from './DeleteCompositionContentItemResponseData.js';
|
|
62
78
|
export * from './DeleteCompositionDataSourceResponse.js';
|
|
63
79
|
export * from './DeleteCompositionDataSourceResponseData.js';
|
|
64
|
-
export * from './
|
|
65
|
-
export * from './
|
|
66
|
-
export * from './
|
|
80
|
+
export * from './DeleteOrganizationDomainResponse.js';
|
|
81
|
+
export * from './DeleteOrganizationDomainResponseData.js';
|
|
82
|
+
export * from './DeleteUpload200Response.js';
|
|
83
|
+
export * from './DeleteUpload200ResponseData.js';
|
|
67
84
|
export * from './DeleteUserApiKeyResponse.js';
|
|
68
85
|
export * from './DeleteUserApiKeyResponseData.js';
|
|
69
86
|
export * from './DeleteWorkspaceWorkflow200Response.js';
|
|
70
87
|
export * from './DesignDefaults.js';
|
|
88
|
+
export * from './DesignDefaultsResponse.js';
|
|
71
89
|
export * from './DuplicateComposition202Response.js';
|
|
72
90
|
export * from './DuplicateComposition202ResponseData.js';
|
|
73
91
|
export * from './DuplicateCompositionRequest.js';
|
|
@@ -103,18 +121,18 @@ export * from './GetCompositionsBatchResponseData.js';
|
|
|
103
121
|
export * from './GetInvoicesByPartnerId200Response.js';
|
|
104
122
|
export * from './GetManagedUserEntitlementsResponse.js';
|
|
105
123
|
export * from './GetManagedUserEntitlementsResponseData.js';
|
|
106
|
-
export * from './GetManagedUserLimits200Response.js';
|
|
107
124
|
export * from './GetManagedUserStorageUsage200Response.js';
|
|
108
125
|
export * from './GetManagedUserStorageUsage200ResponseData.js';
|
|
109
126
|
export * from './GetManagedUserStorageUsage200ResponseDataByPurpose.js';
|
|
110
127
|
export * from './GetManagedUsersByManagerIdResponse.js';
|
|
111
128
|
export * from './GetManagedUsersByManagerIdResponseData.js';
|
|
129
|
+
export * from './GetOperationResponse.js';
|
|
130
|
+
export * from './GetOperationResponseData.js';
|
|
131
|
+
export * from './GetOperationResponseDataMetadata.js';
|
|
132
|
+
export * from './GetOrganizationDomains200Response.js';
|
|
112
133
|
export * from './GetPartnerBillingOverview200Response.js';
|
|
113
|
-
export * from './GetPartnerCreditTransactions200Response.js';
|
|
114
|
-
export * from './GetPartnerDesignDefaults200Response.js';
|
|
115
134
|
export * from './GetPartnerEntitlementsResponse.js';
|
|
116
135
|
export * from './GetPartnerEntitlementsResponseData.js';
|
|
117
|
-
export * from './GetPersonalWorkspaceDomains200Response.js';
|
|
118
136
|
export * from './GetPublicCompositionEmbed200Response.js';
|
|
119
137
|
export * from './GetPublicCompositionEmbed200ResponseAdapters.js';
|
|
120
138
|
export * from './GetPublicCompositionEmbed200ResponseAdaptersCaptcha.js';
|
|
@@ -122,8 +140,6 @@ export * from './GetPublicCompositionEmbed200ResponseDataSource.js';
|
|
|
122
140
|
export * from './GetPublicCompositionEmbed200ResponseDirect.js';
|
|
123
141
|
export * from './GetPublicCompositionEmbed200ResponseEntries.js';
|
|
124
142
|
export * from './GetPublicCompositionEmbed200ResponseMedia.js';
|
|
125
|
-
export * from './GetPublicWorkflow200Response.js';
|
|
126
|
-
export * from './GetUserAdapterConnections200Response.js';
|
|
127
143
|
export * from './GetUserApiKeyUsageLogsResponse.js';
|
|
128
144
|
export * from './GetUserApiKeyUsageLogsResponseData.js';
|
|
129
145
|
export * from './GetUserApiKeys200Response.js';
|
|
@@ -136,6 +152,7 @@ export * from './GetWorkspaceWorkflowStats200Response.js';
|
|
|
136
152
|
export * from './GetWorkspaceWorkflowVersion200Response.js';
|
|
137
153
|
export * from './ListPartnerPresets200Response.js';
|
|
138
154
|
export * from './ListPartnerWorkflowPresets200Response.js';
|
|
155
|
+
export * from './ListUploads200Response.js';
|
|
139
156
|
export * from './ListWorkspaceWorkflowCompositionOptions200Response.js';
|
|
140
157
|
export * from './ListWorkspaceWorkflowPresets200Response.js';
|
|
141
158
|
export * from './ListWorkspaceWorkflowVersions200Response.js';
|
|
@@ -145,8 +162,10 @@ export * from './ManagedUserEntriesMeta.js';
|
|
|
145
162
|
export * from './ManagedUserEntriesPageSuccess.js';
|
|
146
163
|
export * from './ManagedUserEntryItem.js';
|
|
147
164
|
export * from './ManagedUserLimits.js';
|
|
165
|
+
export * from './ManagedUserLimitsResponse.js';
|
|
148
166
|
export * from './ManagedUserOperationUsage.js';
|
|
149
167
|
export * from './ManagedUserRemoval.js';
|
|
168
|
+
export * from './ManagedUserRemovalResponse.js';
|
|
150
169
|
export * from './ManagedUserResponse.js';
|
|
151
170
|
export * from './ManagedUserUsage.js';
|
|
152
171
|
export * from './ManagedUserUsageResponse.js';
|
|
@@ -162,8 +181,7 @@ export * from './OfferWorkflowPresetRequest.js';
|
|
|
162
181
|
export * from './OfferedWorkflowPreset.js';
|
|
163
182
|
export * from './OfferedWorkflowPresetList.js';
|
|
164
183
|
export * from './OfferedWorkflowPresetWidget.js';
|
|
165
|
-
export * from './
|
|
166
|
-
export * from './OperationsIdGetResponseData.js';
|
|
184
|
+
export * from './OrganizationDomain.js';
|
|
167
185
|
export * from './PartnerAnalyticsByManagedUser.js';
|
|
168
186
|
export * from './PartnerAnalyticsByManagedUserResponse.js';
|
|
169
187
|
export * from './PartnerAnalyticsOfDay.js';
|
|
@@ -226,9 +244,11 @@ export * from './PartnerStorageUsage.js';
|
|
|
226
244
|
export * from './PartnerStorageUsageOfManagedUser.js';
|
|
227
245
|
export * from './PartnerStorageUsageResponse.js';
|
|
228
246
|
export * from './PartnerStorageUsageTotals.js';
|
|
229
|
-
export * from './
|
|
230
|
-
export * from './
|
|
231
|
-
export * from './
|
|
247
|
+
export * from './PatchBrandKitAssetRequest.js';
|
|
248
|
+
export * from './PatchBrandKitRequest.js';
|
|
249
|
+
export * from './PatchBrandKitRequestFonts.js';
|
|
250
|
+
export * from './PatchBrandKitRequestSpacing.js';
|
|
251
|
+
export * from './PostBrandKitIconRequest.js';
|
|
232
252
|
export * from './PostPublicCompositionEmbedStatus200Response.js';
|
|
233
253
|
export * from './PostPublicCompositionEmbedStatus200ResponseData.js';
|
|
234
254
|
export * from './PostPublicCompositionEmbedStatusRequest.js';
|
|
@@ -250,19 +270,19 @@ export * from './PublicWorkflowEventsAccepted.js';
|
|
|
250
270
|
export * from './PublicWorkflowEventsRequest.js';
|
|
251
271
|
export * from './PublicWorkflowEventsRequestEventsInner.js';
|
|
252
272
|
export * from './PublicWorkflowEventsRequestHeightsInner.js';
|
|
273
|
+
export * from './PublicWorkflowResponse.js';
|
|
253
274
|
export * from './PublicWorkflowTranslation.js';
|
|
254
275
|
export * from './PublishWorkspaceWorkflow200Response.js';
|
|
255
276
|
export * from './PublishWorkspaceWorkflowRequest.js';
|
|
256
277
|
export * from './PurposeStorageBucket.js';
|
|
278
|
+
export * from './PutBrandKitRequest.js';
|
|
257
279
|
export * from './RemoveAiAnswersKnowledgeDocument200Response.js';
|
|
258
280
|
export * from './RemovePartnerWorkflowPreset200Response.js';
|
|
259
|
-
export * from './RemoveUserAdapterConnection200Response.js';
|
|
260
281
|
export * from './ReportPublicWorkflowEvents200Response.js';
|
|
261
282
|
export * from './RequestExtraCredits.js';
|
|
262
283
|
export * from './ResponseMeta.js';
|
|
263
284
|
export * from './RevokeManagedUserEditorSessionsResponse.js';
|
|
264
285
|
export * from './RevokeManagedUserEditorSessionsResponseData.js';
|
|
265
|
-
export * from './SaveWorkspaceWorkflow200Response.js';
|
|
266
286
|
export * from './SaveWorkspaceWorkflowRequest.js';
|
|
267
287
|
export * from './SetAdapterConnectionRequest.js';
|
|
268
288
|
export * from './SetCompositionDataSourceRequest.js';
|
|
@@ -276,13 +296,13 @@ export * from './SetPartnerDesignDefaultsRequest.js';
|
|
|
276
296
|
export * from './SetPartnerPresetRequest.js';
|
|
277
297
|
export * from './SetPartnerStorageDestinationRequest.js';
|
|
278
298
|
export * from './SetPartnerWorkflowPreset200Response.js';
|
|
279
|
-
export * from './SetUserAdapterConnection200Response.js';
|
|
280
299
|
export * from './SuccessResponse.js';
|
|
281
300
|
export * from './UpdateCanvasRequest.js';
|
|
282
301
|
export * from './UpdateComposition.js';
|
|
283
302
|
export * from './UpdateCompositionStatusRequest.js';
|
|
284
303
|
export * from './UpdateDomainRequest.js';
|
|
285
304
|
export * from './UpdateManagedUser.js';
|
|
305
|
+
export * from './UpdateOrganizationDomainResponse.js';
|
|
286
306
|
export * from './UpdatePartnerEntryContextSigningRequest.js';
|
|
287
307
|
export * from './UpdatePartnerNotificationSettingsRequest.js';
|
|
288
308
|
export * from './UpdateUserApiKeyRequest.js';
|
|
@@ -290,9 +310,6 @@ export * from './Upload.js';
|
|
|
290
310
|
export * from './UploadLimits.js';
|
|
291
311
|
export * from './UploadLimitsResponse.js';
|
|
292
312
|
export * from './UploadResponse.js';
|
|
293
|
-
export * from './UploadsGet200Response.js';
|
|
294
|
-
export * from './UploadsIdDelete200Response.js';
|
|
295
|
-
export * from './UploadsIdDelete200ResponseData.js';
|
|
296
313
|
export * from './UserApiKey.js';
|
|
297
314
|
export * from './UserApiKeyResponse.js';
|
|
298
315
|
export * from './UserApiKeyUsageLog.js';
|
|
@@ -300,7 +317,20 @@ export * from './ValidateCompositionContentResponse.js';
|
|
|
300
317
|
export * from './ValidateCompositionContentResponseData.js';
|
|
301
318
|
export * from './ValidateToken200Response.js';
|
|
302
319
|
export * from './ValidateToken200ResponseData.js';
|
|
320
|
+
export * from './ValidateToken200ResponseDataWorkspace.js';
|
|
303
321
|
export * from './Widget.js';
|
|
322
|
+
export * from './WidgetClarification.js';
|
|
323
|
+
export * from './WidgetClarificationOption.js';
|
|
324
|
+
export * from './WidgetClarificationQuestion.js';
|
|
325
|
+
export * from './WidgetCodeChange.js';
|
|
326
|
+
export * from './WidgetCodeChanges.js';
|
|
327
|
+
export * from './WidgetNextStep.js';
|
|
328
|
+
export * from './WidgetPlan.js';
|
|
329
|
+
export * from './WidgetPlanDecisions.js';
|
|
330
|
+
export * from './WidgetPlanDecisionsAdaptersInner.js';
|
|
331
|
+
export * from './WidgetPlanDecisionsLibrariesInner.js';
|
|
332
|
+
export * from './WidgetPlanDecisionsResponsive.js';
|
|
333
|
+
export * from './WidgetPlanTask.js';
|
|
304
334
|
export * from './Workflow.js';
|
|
305
335
|
export * from './WorkflowCompositionAction.js';
|
|
306
336
|
export * from './WorkflowCompositionField.js';
|
|
@@ -313,7 +343,10 @@ export * from './WorkflowConditionTest.js';
|
|
|
313
343
|
export * from './WorkflowCounter.js';
|
|
314
344
|
export * from './WorkflowDetail.js';
|
|
315
345
|
export * from './WorkflowDetailAllOfLastEditedBy.js';
|
|
346
|
+
export * from './WorkflowDetailResponse.js';
|
|
316
347
|
export * from './WorkflowEdge.js';
|
|
348
|
+
export * from './WorkflowFailureReason.js';
|
|
349
|
+
export * from './WorkflowFailureReasonCounter.js';
|
|
317
350
|
export * from './WorkflowFieldReference.js';
|
|
318
351
|
export * from './WorkflowGraph.js';
|
|
319
352
|
export * from './WorkflowIssue.js';
|
|
@@ -326,6 +359,7 @@ export * from './WorkflowPresetRemoval.js';
|
|
|
326
359
|
export * from './WorkflowPresetWidget.js';
|
|
327
360
|
export * from './WorkflowPublishResult.js';
|
|
328
361
|
export * from './WorkflowRemoved.js';
|
|
362
|
+
export * from './WorkflowResponse.js';
|
|
329
363
|
export * from './WorkflowSchedule.js';
|
|
330
364
|
export * from './WorkflowStats.js';
|
|
331
365
|
export * from './WorkflowStatus.js';
|
package/dist/esm/runtime.js
CHANGED
|
@@ -29,7 +29,7 @@ export const BASE_PATH = "https://api.widgetic.com/v1".replace(/\/+$/, "");
|
|
|
29
29
|
// runs. The version is the one in this package's package.json: `scripts/deploy-sdk.sh` reads it and hands it to the
|
|
30
30
|
// generator as `npmVersion`, so the number a call reports is the number on npm.
|
|
31
31
|
export const SDK_NAME = "@widgetic/api-sdk-ts";
|
|
32
|
-
export const SDK_VERSION = "1.11.
|
|
32
|
+
export const SDK_VERSION = "1.11.151";
|
|
33
33
|
export const SDK_VERSION_HEADER = "X-SDK-Version";
|
|
34
34
|
export const SDK_VERSION_HEADER_VALUE = `${SDK_NAME}/${SDK_VERSION}`;
|
|
35
35
|
export class Configuration {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* The credits an account holds.
|
|
13
|
+
* The credits an account holds in one workspace. A workspace's credits are its own and can be spent in that workspace only, so the same person reads a different balance in each workspace they belong to, and a workspace nobody subscribed holds none.
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
16
|
* @interface AccountCreditBalance
|
|
@@ -29,7 +29,7 @@ export interface AccountCreditBalance {
|
|
|
29
29
|
*/
|
|
30
30
|
userId?: string;
|
|
31
31
|
/**
|
|
32
|
-
* Credits the account holds
|
|
32
|
+
* Credits the account holds in the workspace the request acts in
|
|
33
33
|
* @type {number}
|
|
34
34
|
* @memberof AccountCreditBalance
|
|
35
35
|
*/
|
|
@@ -0,0 +1,46 @@
|
|
|
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 type { AccountCreditTransaction } from './AccountCreditTransaction';
|
|
13
|
+
import type { ResponseMeta } from './ResponseMeta';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AccountCreditTransactionListResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface AccountCreditTransactionListResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof AccountCreditTransactionListResponse
|
|
24
|
+
*/
|
|
25
|
+
success: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<AccountCreditTransaction>}
|
|
29
|
+
* @memberof AccountCreditTransactionListResponse
|
|
30
|
+
*/
|
|
31
|
+
data: Array<AccountCreditTransaction>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ResponseMeta}
|
|
35
|
+
* @memberof AccountCreditTransactionListResponse
|
|
36
|
+
*/
|
|
37
|
+
meta?: ResponseMeta;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the AccountCreditTransactionListResponse interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfAccountCreditTransactionListResponse(value: object): value is AccountCreditTransactionListResponse;
|
|
43
|
+
export declare function AccountCreditTransactionListResponseFromJSON(json: any): AccountCreditTransactionListResponse;
|
|
44
|
+
export declare function AccountCreditTransactionListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountCreditTransactionListResponse;
|
|
45
|
+
export declare function AccountCreditTransactionListResponseToJSON(json: any): AccountCreditTransactionListResponse;
|
|
46
|
+
export declare function AccountCreditTransactionListResponseToJSONTyped(value?: AccountCreditTransactionListResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,27 +13,27 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfAccountCreditTransactionListResponse = instanceOfAccountCreditTransactionListResponse;
|
|
17
|
+
exports.AccountCreditTransactionListResponseFromJSON = AccountCreditTransactionListResponseFromJSON;
|
|
18
|
+
exports.AccountCreditTransactionListResponseFromJSONTyped = AccountCreditTransactionListResponseFromJSONTyped;
|
|
19
|
+
exports.AccountCreditTransactionListResponseToJSON = AccountCreditTransactionListResponseToJSON;
|
|
20
|
+
exports.AccountCreditTransactionListResponseToJSONTyped = AccountCreditTransactionListResponseToJSONTyped;
|
|
21
21
|
const AccountCreditTransaction_1 = require("./AccountCreditTransaction");
|
|
22
22
|
const ResponseMeta_1 = require("./ResponseMeta");
|
|
23
23
|
/**
|
|
24
|
-
* Check if a given object implements the
|
|
24
|
+
* Check if a given object implements the AccountCreditTransactionListResponse interface.
|
|
25
25
|
*/
|
|
26
|
-
function
|
|
26
|
+
function instanceOfAccountCreditTransactionListResponse(value) {
|
|
27
27
|
if (!('success' in value) || value['success'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
if (!('data' in value) || value['data'] === undefined)
|
|
30
30
|
return false;
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
33
|
+
function AccountCreditTransactionListResponseFromJSON(json) {
|
|
34
|
+
return AccountCreditTransactionListResponseFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function AccountCreditTransactionListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
37
|
if (json == null) {
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
@@ -43,10 +43,10 @@ function GetPartnerCreditTransactions200ResponseFromJSONTyped(json, ignoreDiscri
|
|
|
43
43
|
'meta': json['meta'] == null ? undefined : (0, ResponseMeta_1.ResponseMetaFromJSON)(json['meta']),
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
46
|
+
function AccountCreditTransactionListResponseToJSON(json) {
|
|
47
|
+
return AccountCreditTransactionListResponseToJSONTyped(json, false);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function AccountCreditTransactionListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
50
|
if (value == null) {
|
|
51
51
|
return value;
|
|
52
52
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 type { ResponseMeta } from './ResponseMeta';
|
|
13
|
+
import type { AdapterConnection } from './AdapterConnection';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AdapterConnectionListResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface AdapterConnectionListResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof AdapterConnectionListResponse
|
|
24
|
+
*/
|
|
25
|
+
success: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<AdapterConnection>}
|
|
29
|
+
* @memberof AdapterConnectionListResponse
|
|
30
|
+
*/
|
|
31
|
+
data: Array<AdapterConnection>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ResponseMeta}
|
|
35
|
+
* @memberof AdapterConnectionListResponse
|
|
36
|
+
*/
|
|
37
|
+
meta?: ResponseMeta;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the AdapterConnectionListResponse interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfAdapterConnectionListResponse(value: object): value is AdapterConnectionListResponse;
|
|
43
|
+
export declare function AdapterConnectionListResponseFromJSON(json: any): AdapterConnectionListResponse;
|
|
44
|
+
export declare function AdapterConnectionListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdapterConnectionListResponse;
|
|
45
|
+
export declare function AdapterConnectionListResponseToJSON(json: any): AdapterConnectionListResponse;
|
|
46
|
+
export declare function AdapterConnectionListResponseToJSONTyped(value?: AdapterConnectionListResponse | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/{GetUserAdapterConnections200Response.js → AdapterConnectionListResponse.js}
RENAMED
|
@@ -13,27 +13,27 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfAdapterConnectionListResponse = instanceOfAdapterConnectionListResponse;
|
|
17
|
+
exports.AdapterConnectionListResponseFromJSON = AdapterConnectionListResponseFromJSON;
|
|
18
|
+
exports.AdapterConnectionListResponseFromJSONTyped = AdapterConnectionListResponseFromJSONTyped;
|
|
19
|
+
exports.AdapterConnectionListResponseToJSON = AdapterConnectionListResponseToJSON;
|
|
20
|
+
exports.AdapterConnectionListResponseToJSONTyped = AdapterConnectionListResponseToJSONTyped;
|
|
21
21
|
const ResponseMeta_1 = require("./ResponseMeta");
|
|
22
22
|
const AdapterConnection_1 = require("./AdapterConnection");
|
|
23
23
|
/**
|
|
24
|
-
* Check if a given object implements the
|
|
24
|
+
* Check if a given object implements the AdapterConnectionListResponse interface.
|
|
25
25
|
*/
|
|
26
|
-
function
|
|
26
|
+
function instanceOfAdapterConnectionListResponse(value) {
|
|
27
27
|
if (!('success' in value) || value['success'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
if (!('data' in value) || value['data'] === undefined)
|
|
30
30
|
return false;
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
33
|
+
function AdapterConnectionListResponseFromJSON(json) {
|
|
34
|
+
return AdapterConnectionListResponseFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function AdapterConnectionListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
37
|
if (json == null) {
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
@@ -43,10 +43,10 @@ function GetUserAdapterConnections200ResponseFromJSONTyped(json, ignoreDiscrimin
|
|
|
43
43
|
'meta': json['meta'] == null ? undefined : (0, ResponseMeta_1.ResponseMetaFromJSON)(json['meta']),
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
46
|
+
function AdapterConnectionListResponseToJSON(json) {
|
|
47
|
+
return AdapterConnectionListResponseToJSONTyped(json, false);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function AdapterConnectionListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
50
|
if (value == null) {
|
|
51
51
|
return value;
|
|
52
52
|
}
|