@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,44 @@
|
|
|
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
|
+
/**
|
|
13
|
+
* How the widget behaves on mobile, tablet and desktop (layout reflow, stacking, sizing). Always present on a first build; null on edits unless the model supplies it.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WidgetPlanDecisionsResponsive
|
|
16
|
+
*/
|
|
17
|
+
export interface WidgetPlanDecisionsResponsive {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WidgetPlanDecisionsResponsive
|
|
22
|
+
*/
|
|
23
|
+
mobile: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WidgetPlanDecisionsResponsive
|
|
28
|
+
*/
|
|
29
|
+
tablet: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof WidgetPlanDecisionsResponsive
|
|
34
|
+
*/
|
|
35
|
+
desktop: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the WidgetPlanDecisionsResponsive interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfWidgetPlanDecisionsResponsive(value: object): value is WidgetPlanDecisionsResponsive;
|
|
41
|
+
export declare function WidgetPlanDecisionsResponsiveFromJSON(json: any): WidgetPlanDecisionsResponsive;
|
|
42
|
+
export declare function WidgetPlanDecisionsResponsiveFromJSONTyped(json: any, ignoreDiscriminator: boolean): WidgetPlanDecisionsResponsive;
|
|
43
|
+
export declare function WidgetPlanDecisionsResponsiveToJSON(json: any): WidgetPlanDecisionsResponsive;
|
|
44
|
+
export declare function WidgetPlanDecisionsResponsiveToJSONTyped(value?: WidgetPlanDecisionsResponsive | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfWidgetPlanDecisionsResponsive = instanceOfWidgetPlanDecisionsResponsive;
|
|
17
|
+
exports.WidgetPlanDecisionsResponsiveFromJSON = WidgetPlanDecisionsResponsiveFromJSON;
|
|
18
|
+
exports.WidgetPlanDecisionsResponsiveFromJSONTyped = WidgetPlanDecisionsResponsiveFromJSONTyped;
|
|
19
|
+
exports.WidgetPlanDecisionsResponsiveToJSON = WidgetPlanDecisionsResponsiveToJSON;
|
|
20
|
+
exports.WidgetPlanDecisionsResponsiveToJSONTyped = WidgetPlanDecisionsResponsiveToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the WidgetPlanDecisionsResponsive interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfWidgetPlanDecisionsResponsive(value) {
|
|
25
|
+
if (!('mobile' in value) || value['mobile'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('tablet' in value) || value['tablet'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('desktop' in value) || value['desktop'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function WidgetPlanDecisionsResponsiveFromJSON(json) {
|
|
34
|
+
return WidgetPlanDecisionsResponsiveFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function WidgetPlanDecisionsResponsiveFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'mobile': json['mobile'],
|
|
42
|
+
'tablet': json['tablet'],
|
|
43
|
+
'desktop': json['desktop'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function WidgetPlanDecisionsResponsiveToJSON(json) {
|
|
47
|
+
return WidgetPlanDecisionsResponsiveToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function WidgetPlanDecisionsResponsiveToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'mobile': value['mobile'],
|
|
55
|
+
'tablet': value['tablet'],
|
|
56
|
+
'desktop': value['desktop'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
/**
|
|
13
|
+
* One step of the plan the person is shown.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WidgetPlanTask
|
|
16
|
+
*/
|
|
17
|
+
export interface WidgetPlanTask {
|
|
18
|
+
/**
|
|
19
|
+
* `t1`, `t2`, ... Stable for the life of the plan.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WidgetPlanTask
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* The step, in the language the person wrote in. At most 90 characters.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WidgetPlanTask
|
|
28
|
+
*/
|
|
29
|
+
label: string;
|
|
30
|
+
/**
|
|
31
|
+
* What the step is about, so a client can pick an icon.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof WidgetPlanTask
|
|
34
|
+
*/
|
|
35
|
+
kind: WidgetPlanTaskKindEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Where the step stands. At most one step is `in_progress`.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof WidgetPlanTask
|
|
40
|
+
*/
|
|
41
|
+
status: WidgetPlanTaskStatusEnum;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const WidgetPlanTaskKindEnum: {
|
|
47
|
+
readonly Read: 'read';
|
|
48
|
+
readonly Layout: 'layout';
|
|
49
|
+
readonly Content: 'content';
|
|
50
|
+
readonly Style: 'style';
|
|
51
|
+
readonly Library: 'library';
|
|
52
|
+
readonly Adapter: 'adapter';
|
|
53
|
+
readonly Motion: 'motion';
|
|
54
|
+
readonly Behavior: 'behavior';
|
|
55
|
+
readonly Polish: 'polish';
|
|
56
|
+
readonly Check: 'check';
|
|
57
|
+
readonly Other: 'other';
|
|
58
|
+
};
|
|
59
|
+
export type WidgetPlanTaskKindEnum = typeof WidgetPlanTaskKindEnum[keyof typeof WidgetPlanTaskKindEnum];
|
|
60
|
+
/**
|
|
61
|
+
* @export
|
|
62
|
+
*/
|
|
63
|
+
export declare const WidgetPlanTaskStatusEnum: {
|
|
64
|
+
readonly Pending: 'pending';
|
|
65
|
+
readonly InProgress: 'in_progress';
|
|
66
|
+
readonly Done: 'done';
|
|
67
|
+
readonly Failed: 'failed';
|
|
68
|
+
};
|
|
69
|
+
export type WidgetPlanTaskStatusEnum = typeof WidgetPlanTaskStatusEnum[keyof typeof WidgetPlanTaskStatusEnum];
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the WidgetPlanTask interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfWidgetPlanTask(value: object): value is WidgetPlanTask;
|
|
74
|
+
export declare function WidgetPlanTaskFromJSON(json: any): WidgetPlanTask;
|
|
75
|
+
export declare function WidgetPlanTaskFromJSONTyped(json: any, ignoreDiscriminator: boolean): WidgetPlanTask;
|
|
76
|
+
export declare function WidgetPlanTaskToJSON(json: any): WidgetPlanTask;
|
|
77
|
+
export declare function WidgetPlanTaskToJSONTyped(value?: WidgetPlanTask | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,88 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.WidgetPlanTaskStatusEnum = exports.WidgetPlanTaskKindEnum = void 0;
|
|
17
|
+
exports.instanceOfWidgetPlanTask = instanceOfWidgetPlanTask;
|
|
18
|
+
exports.WidgetPlanTaskFromJSON = WidgetPlanTaskFromJSON;
|
|
19
|
+
exports.WidgetPlanTaskFromJSONTyped = WidgetPlanTaskFromJSONTyped;
|
|
20
|
+
exports.WidgetPlanTaskToJSON = WidgetPlanTaskToJSON;
|
|
21
|
+
exports.WidgetPlanTaskToJSONTyped = WidgetPlanTaskToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.WidgetPlanTaskKindEnum = {
|
|
26
|
+
Read: 'read',
|
|
27
|
+
Layout: 'layout',
|
|
28
|
+
Content: 'content',
|
|
29
|
+
Style: 'style',
|
|
30
|
+
Library: 'library',
|
|
31
|
+
Adapter: 'adapter',
|
|
32
|
+
Motion: 'motion',
|
|
33
|
+
Behavior: 'behavior',
|
|
34
|
+
Polish: 'polish',
|
|
35
|
+
Check: 'check',
|
|
36
|
+
Other: 'other'
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
exports.WidgetPlanTaskStatusEnum = {
|
|
42
|
+
Pending: 'pending',
|
|
43
|
+
InProgress: 'in_progress',
|
|
44
|
+
Done: 'done',
|
|
45
|
+
Failed: 'failed'
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the WidgetPlanTask interface.
|
|
49
|
+
*/
|
|
50
|
+
function instanceOfWidgetPlanTask(value) {
|
|
51
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
58
|
+
return false;
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
function WidgetPlanTaskFromJSON(json) {
|
|
62
|
+
return WidgetPlanTaskFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function WidgetPlanTaskFromJSONTyped(json, ignoreDiscriminator) {
|
|
65
|
+
if (json == null) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'id': json['id'],
|
|
70
|
+
'label': json['label'],
|
|
71
|
+
'kind': json['kind'],
|
|
72
|
+
'status': json['status'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function WidgetPlanTaskToJSON(json) {
|
|
76
|
+
return WidgetPlanTaskToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
function WidgetPlanTaskToJSONTyped(value, ignoreDiscriminator = false) {
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
'id': value['id'],
|
|
84
|
+
'label': value['label'],
|
|
85
|
+
'kind': value['kind'],
|
|
86
|
+
'status': value['status'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* Who made the latest change to a workflow of
|
|
13
|
+
* Who made the latest change to a workflow of a team workspace, so that a teammate who
|
|
14
14
|
* opens it can be told "Anna changed this at 14:32". `null` when nobody can be named (a change made before
|
|
15
|
-
* this was recorded). Left out for a workflow of
|
|
15
|
+
* this was recorded). Left out for a workflow made for one of your managed users, and whenever it cannot be read just
|
|
16
16
|
* now. A save that someone else got ahead of says it in `details` of its 409.
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -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 { WorkflowDetail } from './WorkflowDetail';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface WorkflowDetailResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface WorkflowDetailResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof WorkflowDetailResponse
|
|
24
|
+
*/
|
|
25
|
+
success: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {WorkflowDetail}
|
|
29
|
+
* @memberof WorkflowDetailResponse
|
|
30
|
+
*/
|
|
31
|
+
data: WorkflowDetail;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ResponseMeta}
|
|
35
|
+
* @memberof WorkflowDetailResponse
|
|
36
|
+
*/
|
|
37
|
+
meta?: ResponseMeta;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the WorkflowDetailResponse interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfWorkflowDetailResponse(value: object): value is WorkflowDetailResponse;
|
|
43
|
+
export declare function WorkflowDetailResponseFromJSON(json: any): WorkflowDetailResponse;
|
|
44
|
+
export declare function WorkflowDetailResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowDetailResponse;
|
|
45
|
+
export declare function WorkflowDetailResponseToJSON(json: any): WorkflowDetailResponse;
|
|
46
|
+
export declare function WorkflowDetailResponseToJSONTyped(value?: WorkflowDetailResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfWorkflowDetailResponse = instanceOfWorkflowDetailResponse;
|
|
17
|
+
exports.WorkflowDetailResponseFromJSON = WorkflowDetailResponseFromJSON;
|
|
18
|
+
exports.WorkflowDetailResponseFromJSONTyped = WorkflowDetailResponseFromJSONTyped;
|
|
19
|
+
exports.WorkflowDetailResponseToJSON = WorkflowDetailResponseToJSON;
|
|
20
|
+
exports.WorkflowDetailResponseToJSONTyped = WorkflowDetailResponseToJSONTyped;
|
|
21
|
+
const ResponseMeta_1 = require("./ResponseMeta");
|
|
22
|
+
const WorkflowDetail_1 = require("./WorkflowDetail");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the WorkflowDetailResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfWorkflowDetailResponse(value) {
|
|
27
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function WorkflowDetailResponseFromJSON(json) {
|
|
34
|
+
return WorkflowDetailResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function WorkflowDetailResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'success': json['success'],
|
|
42
|
+
'data': (0, WorkflowDetail_1.WorkflowDetailFromJSON)(json['data']),
|
|
43
|
+
'meta': json['meta'] == null ? undefined : (0, ResponseMeta_1.ResponseMetaFromJSON)(json['meta']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function WorkflowDetailResponseToJSON(json) {
|
|
47
|
+
return WorkflowDetailResponseToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function WorkflowDetailResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'success': value['success'],
|
|
55
|
+
'data': (0, WorkflowDetail_1.WorkflowDetailToJSON)(value['data']),
|
|
56
|
+
'meta': (0, ResponseMeta_1.ResponseMetaToJSON)(value['meta']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
/**
|
|
13
|
+
* Why a composition could not be shown to a visitor. `timeout`: it did not appear in time (the embed waits eight
|
|
14
|
+
* seconds). `widget_error`: the widget in it reported an error. `build`: the embed could not build it at all. `other`:
|
|
15
|
+
* another step was already on its way, or the page was going away. A closed list: never a message and never a code a
|
|
16
|
+
* widget chose.
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const WorkflowFailureReason: {
|
|
21
|
+
readonly Timeout: 'timeout';
|
|
22
|
+
readonly WidgetError: 'widget_error';
|
|
23
|
+
readonly Build: 'build';
|
|
24
|
+
readonly Other: 'other';
|
|
25
|
+
};
|
|
26
|
+
export type WorkflowFailureReason = typeof WorkflowFailureReason[keyof typeof WorkflowFailureReason];
|
|
27
|
+
export declare function instanceOfWorkflowFailureReason(value: any): boolean;
|
|
28
|
+
export declare function WorkflowFailureReasonFromJSON(json: any): WorkflowFailureReason;
|
|
29
|
+
export declare function WorkflowFailureReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowFailureReason;
|
|
30
|
+
export declare function WorkflowFailureReasonToJSON(value?: WorkflowFailureReason | null): any;
|
|
31
|
+
export declare function WorkflowFailureReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): WorkflowFailureReason;
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.WorkflowFailureReason = void 0;
|
|
17
|
+
exports.instanceOfWorkflowFailureReason = instanceOfWorkflowFailureReason;
|
|
18
|
+
exports.WorkflowFailureReasonFromJSON = WorkflowFailureReasonFromJSON;
|
|
19
|
+
exports.WorkflowFailureReasonFromJSONTyped = WorkflowFailureReasonFromJSONTyped;
|
|
20
|
+
exports.WorkflowFailureReasonToJSON = WorkflowFailureReasonToJSON;
|
|
21
|
+
exports.WorkflowFailureReasonToJSONTyped = WorkflowFailureReasonToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Why a composition could not be shown to a visitor. `timeout`: it did not appear in time (the embed waits eight
|
|
24
|
+
* seconds). `widget_error`: the widget in it reported an error. `build`: the embed could not build it at all. `other`:
|
|
25
|
+
* another step was already on its way, or the page was going away. A closed list: never a message and never a code a
|
|
26
|
+
* widget chose.
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
exports.WorkflowFailureReason = {
|
|
31
|
+
Timeout: 'timeout',
|
|
32
|
+
WidgetError: 'widget_error',
|
|
33
|
+
Build: 'build',
|
|
34
|
+
Other: 'other'
|
|
35
|
+
};
|
|
36
|
+
function instanceOfWorkflowFailureReason(value) {
|
|
37
|
+
for (const key in exports.WorkflowFailureReason) {
|
|
38
|
+
if (Object.prototype.hasOwnProperty.call(exports.WorkflowFailureReason, key)) {
|
|
39
|
+
if (exports.WorkflowFailureReason[key] === value) {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
function WorkflowFailureReasonFromJSON(json) {
|
|
47
|
+
return WorkflowFailureReasonFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function WorkflowFailureReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
function WorkflowFailureReasonToJSON(value) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
function WorkflowFailureReasonToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { WorkflowFailureReason } from './WorkflowFailureReason';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WorkflowFailureReasonCounter
|
|
17
|
+
*/
|
|
18
|
+
export interface WorkflowFailureReasonCounter {
|
|
19
|
+
/**
|
|
20
|
+
* The block (a composition) that could not be shown.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WorkflowFailureReasonCounter
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {WorkflowFailureReason}
|
|
28
|
+
* @memberof WorkflowFailureReasonCounter
|
|
29
|
+
*/
|
|
30
|
+
reason: WorkflowFailureReason;
|
|
31
|
+
/**
|
|
32
|
+
* How many tries failed for this reason.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof WorkflowFailureReasonCounter
|
|
35
|
+
*/
|
|
36
|
+
total: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the WorkflowFailureReasonCounter interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfWorkflowFailureReasonCounter(value: object): value is WorkflowFailureReasonCounter;
|
|
42
|
+
export declare function WorkflowFailureReasonCounterFromJSON(json: any): WorkflowFailureReasonCounter;
|
|
43
|
+
export declare function WorkflowFailureReasonCounterFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowFailureReasonCounter;
|
|
44
|
+
export declare function WorkflowFailureReasonCounterToJSON(json: any): WorkflowFailureReasonCounter;
|
|
45
|
+
export declare function WorkflowFailureReasonCounterToJSONTyped(value?: WorkflowFailureReasonCounter | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfWorkflowFailureReasonCounter = instanceOfWorkflowFailureReasonCounter;
|
|
17
|
+
exports.WorkflowFailureReasonCounterFromJSON = WorkflowFailureReasonCounterFromJSON;
|
|
18
|
+
exports.WorkflowFailureReasonCounterFromJSONTyped = WorkflowFailureReasonCounterFromJSONTyped;
|
|
19
|
+
exports.WorkflowFailureReasonCounterToJSON = WorkflowFailureReasonCounterToJSON;
|
|
20
|
+
exports.WorkflowFailureReasonCounterToJSONTyped = WorkflowFailureReasonCounterToJSONTyped;
|
|
21
|
+
const WorkflowFailureReason_1 = require("./WorkflowFailureReason");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the WorkflowFailureReasonCounter interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfWorkflowFailureReasonCounter(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function WorkflowFailureReasonCounterFromJSON(json) {
|
|
35
|
+
return WorkflowFailureReasonCounterFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function WorkflowFailureReasonCounterFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'id': json['id'],
|
|
43
|
+
'reason': (0, WorkflowFailureReason_1.WorkflowFailureReasonFromJSON)(json['reason']),
|
|
44
|
+
'total': json['total'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function WorkflowFailureReasonCounterToJSON(json) {
|
|
48
|
+
return WorkflowFailureReasonCounterToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function WorkflowFailureReasonCounterToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'reason': (0, WorkflowFailureReason_1.WorkflowFailureReasonToJSON)(value['reason']),
|
|
57
|
+
'total': value['total'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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 { Workflow } from './Workflow';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface WorkflowResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface WorkflowResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof WorkflowResponse
|
|
24
|
+
*/
|
|
25
|
+
success: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Workflow}
|
|
29
|
+
* @memberof WorkflowResponse
|
|
30
|
+
*/
|
|
31
|
+
data: Workflow;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ResponseMeta}
|
|
35
|
+
* @memberof WorkflowResponse
|
|
36
|
+
*/
|
|
37
|
+
meta?: ResponseMeta;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the WorkflowResponse interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfWorkflowResponse(value: object): value is WorkflowResponse;
|
|
43
|
+
export declare function WorkflowResponseFromJSON(json: any): WorkflowResponse;
|
|
44
|
+
export declare function WorkflowResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowResponse;
|
|
45
|
+
export declare function WorkflowResponseToJSON(json: any): WorkflowResponse;
|
|
46
|
+
export declare function WorkflowResponseToJSONTyped(value?: WorkflowResponse | 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.instanceOfWorkflowResponse = instanceOfWorkflowResponse;
|
|
17
|
+
exports.WorkflowResponseFromJSON = WorkflowResponseFromJSON;
|
|
18
|
+
exports.WorkflowResponseFromJSONTyped = WorkflowResponseFromJSONTyped;
|
|
19
|
+
exports.WorkflowResponseToJSON = WorkflowResponseToJSON;
|
|
20
|
+
exports.WorkflowResponseToJSONTyped = WorkflowResponseToJSONTyped;
|
|
21
21
|
const ResponseMeta_1 = require("./ResponseMeta");
|
|
22
22
|
const Workflow_1 = require("./Workflow");
|
|
23
23
|
/**
|
|
24
|
-
* Check if a given object implements the
|
|
24
|
+
* Check if a given object implements the WorkflowResponse interface.
|
|
25
25
|
*/
|
|
26
|
-
function
|
|
26
|
+
function instanceOfWorkflowResponse(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 WorkflowResponseFromJSON(json) {
|
|
34
|
+
return WorkflowResponseFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function WorkflowResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
37
|
if (json == null) {
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
@@ -43,10 +43,10 @@ function SaveWorkspaceWorkflow200ResponseFromJSONTyped(json, ignoreDiscriminator
|
|
|
43
43
|
'meta': json['meta'] == null ? undefined : (0, ResponseMeta_1.ResponseMetaFromJSON)(json['meta']),
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
46
|
+
function WorkflowResponseToJSON(json) {
|
|
47
|
+
return WorkflowResponseToJSONTyped(json, false);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function WorkflowResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
50
|
if (value == null) {
|
|
51
51
|
return value;
|
|
52
52
|
}
|