@widgetic/api-sdk-ts 1.11.64 → 1.11.111
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/CompositionsApi.d.ts +24 -6
- package/dist/apis/CompositionsApi.js +73 -6
- package/dist/apis/ManagedUsersApi.d.ts +2 -2
- package/dist/apis/ManagedUsersApi.js +2 -2
- package/dist/apis/PartnerApi.d.ts +614 -21
- package/dist/apis/PartnerApi.js +1767 -169
- package/dist/apis/PartnersApi.d.ts +63 -5
- package/dist/apis/PartnersApi.js +158 -4
- package/dist/apis/PublicEmbedApi.d.ts +62 -7
- package/dist/apis/PublicEmbedApi.js +126 -6
- package/dist/apis/UsersApi.d.ts +19 -3
- package/dist/apis/UsersApi.js +46 -2
- package/dist/apis/WorkflowsApi.d.ts +394 -0
- package/dist/apis/WorkflowsApi.js +1056 -0
- package/dist/apis/WorkspacesApi.d.ts +352 -0
- package/dist/apis/WorkspacesApi.js +946 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +3 -0
- package/dist/esm/apis/BrandKitApi.js +344 -0
- package/dist/esm/apis/CompositionsApi.js +73 -6
- package/dist/esm/apis/ManagedUsersApi.js +2 -2
- package/dist/esm/apis/PartnerApi.js +1767 -169
- package/dist/esm/apis/PartnersApi.js +159 -5
- package/dist/esm/apis/PublicEmbedApi.js +127 -7
- package/dist/esm/apis/UsersApi.js +47 -3
- package/dist/esm/apis/WorkflowsApi.js +1019 -0
- package/dist/esm/apis/WorkspacesApi.js +909 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/models/AdapterConnection.js +12 -0
- 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 +56 -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/Composition.js +5 -0
- package/dist/esm/models/CompositionLastEditedBy.js +43 -0
- package/dist/esm/models/ConfirmAdapterConnectionRequest.js +43 -0
- package/dist/esm/models/CreateWidget201ResponseData.js +2 -4
- package/dist/esm/models/CreateWorkspaceWorkflowFromPreset201Response.js +51 -0
- package/dist/esm/models/CreateWorkspaceWorkflowFromPresetRequest.js +45 -0
- package/dist/esm/models/CreateWorkspaceWorkflowRequest.js +47 -0
- package/dist/esm/models/DeleteWorkspaceWorkflow200Response.js +51 -0
- package/dist/esm/models/EditorSession.js +2 -1
- package/dist/esm/models/GetPublicCompositionEmbed200Response.js +9 -0
- package/dist/esm/models/GetPublicCompositionEmbed200ResponseAdapters.js +44 -0
- package/dist/esm/models/GetPublicCompositionEmbed200ResponseAdaptersCaptcha.js +41 -0
- package/dist/esm/models/GetPublicCompositionEmbed200ResponseEntries.js +43 -0
- package/dist/esm/models/GetPublicCompositionEmbed200ResponseMedia.js +41 -0
- package/dist/esm/models/GetPublicWorkflow200Response.js +51 -0
- package/dist/esm/models/GetWorkspaceWorkflowStats200Response.js +51 -0
- package/dist/esm/models/GetWorkspaceWorkflowVersion200Response.js +51 -0
- package/dist/esm/models/ListPartnerWorkflowPresets200Response.js +51 -0
- package/dist/esm/models/ListWorkspaceWorkflowCompositionOptions200Response.js +51 -0
- package/dist/esm/models/ListWorkspaceWorkflowPresets200Response.js +51 -0
- package/dist/esm/models/ListWorkspaceWorkflowVersions200Response.js +51 -0
- package/dist/esm/models/ListWorkspaceWorkflows200Response.js +51 -0
- package/dist/esm/models/NewEditorSession.js +2 -1
- package/dist/esm/models/OfferWorkflowPresetRequest.js +49 -0
- package/dist/esm/models/OfferedWorkflowPreset.js +101 -0
- package/dist/esm/models/OfferedWorkflowPresetList.js +44 -0
- package/dist/esm/models/OfferedWorkflowPresetWidget.js +51 -0
- package/dist/esm/models/PartnerNotificationEventType.js +5 -1
- package/dist/esm/models/PatchBrandKitAssetRequest.js +68 -0
- package/dist/esm/models/PatchBrandKitRequest.js +54 -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/PublicWorkflow.js +73 -0
- package/dist/esm/models/PublicWorkflowEventsAccepted.js +47 -0
- package/dist/esm/models/PublicWorkflowEventsRequest.js +53 -0
- package/dist/esm/models/PublicWorkflowEventsRequestEventsInner.js +57 -0
- package/dist/esm/models/PublicWorkflowEventsRequestHeightsInner.js +47 -0
- package/dist/esm/models/PublicWorkflowTranslation.js +47 -0
- package/dist/esm/models/PublishWorkspaceWorkflow200Response.js +51 -0
- package/dist/esm/models/PublishWorkspaceWorkflowRequest.js +43 -0
- package/dist/esm/models/PutBrandKitRequest.js +49 -0
- package/dist/esm/models/RemovePartnerWorkflowPreset200Response.js +51 -0
- package/dist/esm/models/ReportPublicWorkflowEvents200Response.js +51 -0
- package/dist/esm/models/SaveWorkspaceWorkflow200Response.js +51 -0
- package/dist/esm/models/SaveWorkspaceWorkflowRequest.js +50 -0
- package/dist/esm/models/SetPartnerWorkflowPreset200Response.js +51 -0
- package/dist/esm/models/Widget.js +2 -4
- package/dist/esm/models/Workflow.js +96 -0
- package/dist/esm/models/WorkflowCompositionAction.js +53 -0
- package/dist/esm/models/WorkflowCompositionField.js +63 -0
- package/dist/esm/models/WorkflowCompositionOption.js +67 -0
- package/dist/esm/models/WorkflowCompositionOptionActions.js +57 -0
- package/dist/esm/models/WorkflowCompositionOptionInputs.js +61 -0
- package/dist/esm/models/WorkflowCompositionOptions.js +56 -0
- package/dist/esm/models/WorkflowConditionCase.js +61 -0
- package/dist/esm/models/WorkflowConditionTest.js +67 -0
- package/dist/esm/models/WorkflowCounter.js +47 -0
- package/dist/esm/models/WorkflowDetail.js +113 -0
- package/dist/esm/models/WorkflowDetailAllOfLastEditedBy.js +43 -0
- package/dist/esm/models/WorkflowEdge.js +55 -0
- package/dist/esm/models/WorkflowFieldReference.js +66 -0
- package/dist/esm/models/WorkflowGraph.js +59 -0
- package/dist/esm/models/WorkflowIssue.js +62 -0
- package/dist/esm/models/WorkflowList.js +56 -0
- package/dist/esm/models/WorkflowNode.js +68 -0
- package/dist/esm/models/WorkflowNodePosition.js +47 -0
- package/dist/esm/models/WorkflowPresetChoice.js +60 -0
- package/dist/esm/models/WorkflowPresetChoices.js +44 -0
- package/dist/esm/models/WorkflowPresetRemoval.js +43 -0
- package/dist/esm/models/WorkflowPresetWidget.js +47 -0
- package/dist/esm/models/WorkflowPublishResult.js +54 -0
- package/dist/esm/models/WorkflowRemoved.js +43 -0
- package/dist/esm/models/WorkflowSchedule.js +66 -0
- package/dist/esm/models/WorkflowStats.js +68 -0
- package/dist/esm/models/WorkflowStatus.js +48 -0
- package/dist/esm/models/WorkflowTrigger.js +64 -0
- package/dist/esm/models/WorkflowTriggerValuesInner.js +55 -0
- package/dist/esm/models/WorkflowVersion.js +62 -0
- package/dist/esm/models/WorkflowVersionDetail.js +71 -0
- package/dist/esm/models/WorkflowVersionList.js +44 -0
- package/dist/esm/models/WorkflowVersionPublishedBy.js +43 -0
- package/dist/esm/models/index.js +85 -0
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AdapterConnection.d.ts +18 -0
- package/dist/models/AdapterConnection.js +12 -0
- 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 +53 -0
- package/dist/models/BrandKitTokens.js +63 -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/Composition.d.ts +13 -0
- package/dist/models/Composition.js +5 -0
- package/dist/models/CompositionLastEditedBy.d.ts +52 -0
- package/dist/models/CompositionLastEditedBy.js +50 -0
- package/dist/models/ConfirmAdapterConnectionRequest.d.ts +32 -0
- package/dist/models/ConfirmAdapterConnectionRequest.js +50 -0
- package/dist/models/CreateWidget201ResponseData.d.ts +2 -8
- package/dist/models/CreateWidget201ResponseData.js +2 -4
- package/dist/models/CreateWorkspaceWorkflowFromPreset201Response.d.ts +46 -0
- package/dist/models/CreateWorkspaceWorkflowFromPreset201Response.js +58 -0
- package/dist/models/CreateWorkspaceWorkflowFromPresetRequest.d.ts +38 -0
- package/dist/models/CreateWorkspaceWorkflowFromPresetRequest.js +52 -0
- package/dist/models/CreateWorkspaceWorkflowRequest.d.ts +44 -0
- package/dist/models/CreateWorkspaceWorkflowRequest.js +54 -0
- package/dist/models/DeleteWorkspaceWorkflow200Response.d.ts +46 -0
- package/dist/models/DeleteWorkspaceWorkflow200Response.js +58 -0
- package/dist/models/EditorSession.d.ts +1 -0
- package/dist/models/EditorSession.js +2 -1
- package/dist/models/GetPublicCompositionEmbed200Response.d.ts +22 -1
- package/dist/models/GetPublicCompositionEmbed200Response.js +9 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseAdapters.d.ts +39 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseAdapters.js +51 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseAdaptersCaptcha.d.ts +32 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseAdaptersCaptcha.js +48 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseEntries.d.ts +38 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseEntries.js +50 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseMedia.d.ts +32 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseMedia.js +48 -0
- package/dist/models/GetPublicWorkflow200Response.d.ts +46 -0
- package/dist/models/GetPublicWorkflow200Response.js +58 -0
- package/dist/models/GetWorkspaceWorkflowStats200Response.d.ts +46 -0
- package/dist/models/GetWorkspaceWorkflowStats200Response.js +58 -0
- package/dist/models/GetWorkspaceWorkflowVersion200Response.d.ts +46 -0
- package/dist/models/GetWorkspaceWorkflowVersion200Response.js +58 -0
- package/dist/models/ListPartnerWorkflowPresets200Response.d.ts +46 -0
- package/dist/models/ListPartnerWorkflowPresets200Response.js +58 -0
- package/dist/models/ListWorkspaceWorkflowCompositionOptions200Response.d.ts +46 -0
- package/dist/models/ListWorkspaceWorkflowCompositionOptions200Response.js +58 -0
- package/dist/models/ListWorkspaceWorkflowPresets200Response.d.ts +46 -0
- package/dist/models/ListWorkspaceWorkflowPresets200Response.js +58 -0
- package/dist/models/ListWorkspaceWorkflowVersions200Response.d.ts +46 -0
- package/dist/models/ListWorkspaceWorkflowVersions200Response.js +58 -0
- package/dist/models/ListWorkspaceWorkflows200Response.d.ts +46 -0
- package/dist/models/ListWorkspaceWorkflows200Response.js +58 -0
- package/dist/models/NewComposition.d.ts +16 -3
- package/dist/models/NewEditorSession.d.ts +2 -1
- package/dist/models/NewEditorSession.js +2 -1
- package/dist/models/OfferWorkflowPresetRequest.d.ts +50 -0
- package/dist/models/OfferWorkflowPresetRequest.js +56 -0
- package/dist/models/OfferedWorkflowPreset.d.ts +120 -0
- package/dist/models/OfferedWorkflowPreset.js +109 -0
- package/dist/models/OfferedWorkflowPresetList.d.ts +33 -0
- package/dist/models/OfferedWorkflowPresetList.js +51 -0
- package/dist/models/OfferedWorkflowPresetWidget.d.ts +44 -0
- package/dist/models/OfferedWorkflowPresetWidget.js +58 -0
- package/dist/models/PartnerNotification.d.ts +1 -1
- package/dist/models/PartnerNotificationEventType.d.ts +4 -0
- package/dist/models/PartnerNotificationEventType.js +5 -1
- package/dist/models/PatchBrandKitAssetRequest.d.ts +73 -0
- package/dist/models/PatchBrandKitAssetRequest.js +76 -0
- package/dist/models/PatchBrandKitRequest.d.ts +65 -0
- package/dist/models/PatchBrandKitRequest.js +61 -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/PublicWorkflow.d.ts +109 -0
- package/dist/models/PublicWorkflow.js +81 -0
- package/dist/models/PublicWorkflowEventsAccepted.d.ts +44 -0
- package/dist/models/PublicWorkflowEventsAccepted.js +54 -0
- package/dist/models/PublicWorkflowEventsRequest.d.ts +59 -0
- package/dist/models/PublicWorkflowEventsRequest.js +60 -0
- package/dist/models/PublicWorkflowEventsRequestEventsInner.d.ts +53 -0
- package/dist/models/PublicWorkflowEventsRequestEventsInner.js +65 -0
- package/dist/models/PublicWorkflowEventsRequestHeightsInner.d.ts +38 -0
- package/dist/models/PublicWorkflowEventsRequestHeightsInner.js +54 -0
- package/dist/models/PublicWorkflowTranslation.d.ts +40 -0
- package/dist/models/PublicWorkflowTranslation.js +54 -0
- package/dist/models/PublishWorkspaceWorkflow200Response.d.ts +46 -0
- package/dist/models/PublishWorkspaceWorkflow200Response.js +58 -0
- package/dist/models/PublishWorkspaceWorkflowRequest.d.ts +32 -0
- package/dist/models/PublishWorkspaceWorkflowRequest.js +50 -0
- package/dist/models/PutBrandKitRequest.d.ts +46 -0
- package/dist/models/PutBrandKitRequest.js +56 -0
- package/dist/models/RemovePartnerWorkflowPreset200Response.d.ts +46 -0
- package/dist/models/RemovePartnerWorkflowPreset200Response.js +58 -0
- package/dist/models/ReportPublicWorkflowEvents200Response.d.ts +46 -0
- package/dist/models/ReportPublicWorkflowEvents200Response.js +58 -0
- package/dist/models/SaveWorkspaceWorkflow200Response.d.ts +46 -0
- package/dist/models/SaveWorkspaceWorkflow200Response.js +58 -0
- package/dist/models/SaveWorkspaceWorkflowRequest.d.ts +51 -0
- package/dist/models/SaveWorkspaceWorkflowRequest.js +57 -0
- package/dist/models/SetAdapterConnectionRequest.d.ts +1 -1
- package/dist/models/SetPartnerWorkflowPreset200Response.d.ts +46 -0
- package/dist/models/SetPartnerWorkflowPreset200Response.js +58 -0
- package/dist/models/UpdateComposition.d.ts +3 -1
- package/dist/models/Widget.d.ts +2 -8
- package/dist/models/Widget.js +2 -4
- package/dist/models/Workflow.d.ts +133 -0
- package/dist/models/Workflow.js +103 -0
- package/dist/models/WorkflowCompositionAction.d.ts +52 -0
- package/dist/models/WorkflowCompositionAction.js +60 -0
- package/dist/models/WorkflowCompositionField.d.ts +59 -0
- package/dist/models/WorkflowCompositionField.js +71 -0
- package/dist/models/WorkflowCompositionOption.d.ts +73 -0
- package/dist/models/WorkflowCompositionOption.js +74 -0
- package/dist/models/WorkflowCompositionOptionActions.d.ts +55 -0
- package/dist/models/WorkflowCompositionOptionActions.js +65 -0
- package/dist/models/WorkflowCompositionOptionInputs.d.ts +64 -0
- package/dist/models/WorkflowCompositionOptionInputs.js +69 -0
- package/dist/models/WorkflowCompositionOptions.d.ts +51 -0
- package/dist/models/WorkflowCompositionOptions.js +63 -0
- package/dist/models/WorkflowConditionCase.d.ts +61 -0
- package/dist/models/WorkflowConditionCase.js +69 -0
- package/dist/models/WorkflowConditionTest.d.ts +68 -0
- package/dist/models/WorkflowConditionTest.js +75 -0
- package/dist/models/WorkflowCounter.d.ts +38 -0
- package/dist/models/WorkflowCounter.js +54 -0
- package/dist/models/WorkflowDetail.d.ts +166 -0
- package/dist/models/WorkflowDetail.js +120 -0
- package/dist/models/WorkflowDetailAllOfLastEditedBy.d.ts +42 -0
- package/dist/models/WorkflowDetailAllOfLastEditedBy.js +50 -0
- package/dist/models/WorkflowEdge.d.ts +50 -0
- package/dist/models/WorkflowEdge.js +62 -0
- package/dist/models/WorkflowFieldReference.d.ts +63 -0
- package/dist/models/WorkflowFieldReference.js +74 -0
- package/dist/models/WorkflowGraph.d.ts +53 -0
- package/dist/models/WorkflowGraph.js +67 -0
- package/dist/models/WorkflowIssue.d.ts +72 -0
- package/dist/models/WorkflowIssue.js +70 -0
- package/dist/models/WorkflowList.d.ts +51 -0
- package/dist/models/WorkflowList.js +63 -0
- package/dist/models/WorkflowNode.d.ts +83 -0
- package/dist/models/WorkflowNode.js +76 -0
- package/dist/models/WorkflowNodePosition.d.ts +38 -0
- package/dist/models/WorkflowNodePosition.js +54 -0
- package/dist/models/WorkflowPresetChoice.d.ts +60 -0
- package/dist/models/WorkflowPresetChoice.js +67 -0
- package/dist/models/WorkflowPresetChoices.d.ts +33 -0
- package/dist/models/WorkflowPresetChoices.js +51 -0
- package/dist/models/WorkflowPresetRemoval.d.ts +32 -0
- package/dist/models/WorkflowPresetRemoval.js +50 -0
- package/dist/models/WorkflowPresetWidget.d.ts +38 -0
- package/dist/models/WorkflowPresetWidget.js +54 -0
- package/dist/models/WorkflowPublishResult.d.ts +47 -0
- package/dist/models/WorkflowPublishResult.js +61 -0
- package/dist/models/WorkflowRemoved.d.ts +32 -0
- package/dist/models/WorkflowRemoved.js +50 -0
- package/dist/models/WorkflowSchedule.d.ts +69 -0
- package/dist/models/WorkflowSchedule.js +74 -0
- package/dist/models/WorkflowStats.d.ts +77 -0
- package/dist/models/WorkflowStats.js +75 -0
- package/dist/models/WorkflowStatus.d.ts +30 -0
- package/dist/models/WorkflowStatus.js +56 -0
- package/dist/models/WorkflowTrigger.d.ts +77 -0
- package/dist/models/WorkflowTrigger.js +72 -0
- package/dist/models/WorkflowTriggerValuesInner.d.ts +47 -0
- package/dist/models/WorkflowTriggerValuesInner.js +63 -0
- package/dist/models/WorkflowVersion.d.ts +63 -0
- package/dist/models/WorkflowVersion.js +69 -0
- package/dist/models/WorkflowVersionDetail.d.ts +76 -0
- package/dist/models/WorkflowVersionDetail.js +78 -0
- package/dist/models/WorkflowVersionList.d.ts +33 -0
- package/dist/models/WorkflowVersionList.js +51 -0
- package/dist/models/WorkflowVersionPublishedBy.d.ts +38 -0
- package/dist/models/WorkflowVersionPublishedBy.js +50 -0
- package/dist/models/index.d.ts +85 -0
- package/dist/models/index.js +85 -0
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PostBrandKitIconRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PostBrandKitIconRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PostBrandKitIconRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PostBrandKitIconRequest
|
|
28
|
+
*/
|
|
29
|
+
svg: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PostBrandKitIconRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPostBrandKitIconRequest(value: object): value is PostBrandKitIconRequest;
|
|
35
|
+
export declare function PostBrandKitIconRequestFromJSON(json: any): PostBrandKitIconRequest;
|
|
36
|
+
export declare function PostBrandKitIconRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostBrandKitIconRequest;
|
|
37
|
+
export declare function PostBrandKitIconRequestToJSON(json: any): PostBrandKitIconRequest;
|
|
38
|
+
export declare function PostBrandKitIconRequestToJSONTyped(value?: PostBrandKitIconRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfPostBrandKitIconRequest = instanceOfPostBrandKitIconRequest;
|
|
17
|
+
exports.PostBrandKitIconRequestFromJSON = PostBrandKitIconRequestFromJSON;
|
|
18
|
+
exports.PostBrandKitIconRequestFromJSONTyped = PostBrandKitIconRequestFromJSONTyped;
|
|
19
|
+
exports.PostBrandKitIconRequestToJSON = PostBrandKitIconRequestToJSON;
|
|
20
|
+
exports.PostBrandKitIconRequestToJSONTyped = PostBrandKitIconRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PostBrandKitIconRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPostBrandKitIconRequest(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('svg' in value) || value['svg'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function PostBrandKitIconRequestFromJSON(json) {
|
|
32
|
+
return PostBrandKitIconRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function PostBrandKitIconRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'svg': json['svg'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function PostBrandKitIconRequestToJSON(json) {
|
|
44
|
+
return PostBrandKitIconRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function PostBrandKitIconRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'name': value['name'],
|
|
52
|
+
'svg': value['svg'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
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 { WorkflowGraph } from './WorkflowGraph';
|
|
13
|
+
import type { PublicWorkflowTranslation } from './PublicWorkflowTranslation';
|
|
14
|
+
/**
|
|
15
|
+
* What a visitor's browser reads for a workflow. `status` is `live` with the published version, or `paused`
|
|
16
|
+
* with nothing else: the embed then shows only its first composition.
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PublicWorkflow
|
|
20
|
+
*/
|
|
21
|
+
export interface PublicWorkflow {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PublicWorkflow
|
|
26
|
+
*/
|
|
27
|
+
workflowId: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PublicWorkflow
|
|
32
|
+
*/
|
|
33
|
+
status: PublicWorkflowStatusEnum;
|
|
34
|
+
/**
|
|
35
|
+
* The published version this answer is for. A visitor who starts on it finishes on it.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PublicWorkflow
|
|
38
|
+
*/
|
|
39
|
+
versionId?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof PublicWorkflow
|
|
44
|
+
*/
|
|
45
|
+
versionNumber?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Date}
|
|
49
|
+
* @memberof PublicWorkflow
|
|
50
|
+
*/
|
|
51
|
+
publishedAt?: Date;
|
|
52
|
+
/**
|
|
53
|
+
* The composition a new visitor starts on, so the page can show it while the graph is still being read.
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof PublicWorkflow
|
|
56
|
+
*/
|
|
57
|
+
startCompositionId?: string;
|
|
58
|
+
/**
|
|
59
|
+
* The zone date and time triggers are read in.
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof PublicWorkflow
|
|
62
|
+
*/
|
|
63
|
+
timezone?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {WorkflowGraph}
|
|
67
|
+
* @memberof PublicWorkflow
|
|
68
|
+
*/
|
|
69
|
+
graph?: WorkflowGraph;
|
|
70
|
+
/**
|
|
71
|
+
* The languages the compositions of the graph can be shown in, by composition id: only the compositions that
|
|
72
|
+
* have an active translation with a language besides their own, so the field is absent when none has. The
|
|
73
|
+
* browser shows the copy in the visitor's language in place of the composition, at the first step and at every
|
|
74
|
+
* move, with the rules `<widgetic-translations>` follows (the visitor's language, then its language family, then
|
|
75
|
+
* the language the composition was written in). It is read when the answer is made, not when the version was
|
|
76
|
+
* published, so a language added to a translation reaches visitors without a new publish. Ids, counts and the
|
|
77
|
+
* visitor's place keep naming the composition of the graph, never its copy.
|
|
78
|
+
*
|
|
79
|
+
* @type {{ [key: string]: PublicWorkflowTranslation; }}
|
|
80
|
+
* @memberof PublicWorkflow
|
|
81
|
+
*/
|
|
82
|
+
translations?: {
|
|
83
|
+
[key: string]: PublicWorkflowTranslation;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* What lets the browser report counts for this version, valid for 24 hours. Absent when this server cannot
|
|
87
|
+
* sign one, and the browser then reports nothing.
|
|
88
|
+
*
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof PublicWorkflow
|
|
91
|
+
*/
|
|
92
|
+
eventToken?: string;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* @export
|
|
96
|
+
*/
|
|
97
|
+
export declare const PublicWorkflowStatusEnum: {
|
|
98
|
+
readonly Live: 'live';
|
|
99
|
+
readonly Paused: 'paused';
|
|
100
|
+
};
|
|
101
|
+
export type PublicWorkflowStatusEnum = typeof PublicWorkflowStatusEnum[keyof typeof PublicWorkflowStatusEnum];
|
|
102
|
+
/**
|
|
103
|
+
* Check if a given object implements the PublicWorkflow interface.
|
|
104
|
+
*/
|
|
105
|
+
export declare function instanceOfPublicWorkflow(value: object): value is PublicWorkflow;
|
|
106
|
+
export declare function PublicWorkflowFromJSON(json: any): PublicWorkflow;
|
|
107
|
+
export declare function PublicWorkflowFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicWorkflow;
|
|
108
|
+
export declare function PublicWorkflowToJSON(json: any): PublicWorkflow;
|
|
109
|
+
export declare function PublicWorkflowToJSONTyped(value?: PublicWorkflow | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,81 @@
|
|
|
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.PublicWorkflowStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfPublicWorkflow = instanceOfPublicWorkflow;
|
|
18
|
+
exports.PublicWorkflowFromJSON = PublicWorkflowFromJSON;
|
|
19
|
+
exports.PublicWorkflowFromJSONTyped = PublicWorkflowFromJSONTyped;
|
|
20
|
+
exports.PublicWorkflowToJSON = PublicWorkflowToJSON;
|
|
21
|
+
exports.PublicWorkflowToJSONTyped = PublicWorkflowToJSONTyped;
|
|
22
|
+
const runtime_1 = require("../runtime");
|
|
23
|
+
const WorkflowGraph_1 = require("./WorkflowGraph");
|
|
24
|
+
const PublicWorkflowTranslation_1 = require("./PublicWorkflowTranslation");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.PublicWorkflowStatusEnum = {
|
|
29
|
+
Live: 'live',
|
|
30
|
+
Paused: 'paused'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the PublicWorkflow interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfPublicWorkflow(value) {
|
|
36
|
+
if (!('workflowId' in value) || value['workflowId'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function PublicWorkflowFromJSON(json) {
|
|
43
|
+
return PublicWorkflowFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function PublicWorkflowFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'workflowId': json['workflowId'],
|
|
51
|
+
'status': json['status'],
|
|
52
|
+
'versionId': json['versionId'] == null ? undefined : json['versionId'],
|
|
53
|
+
'versionNumber': json['versionNumber'] == null ? undefined : json['versionNumber'],
|
|
54
|
+
'publishedAt': json['publishedAt'] == null ? undefined : (new Date(json['publishedAt'])),
|
|
55
|
+
'startCompositionId': json['startCompositionId'] == null ? undefined : json['startCompositionId'],
|
|
56
|
+
'timezone': json['timezone'] == null ? undefined : json['timezone'],
|
|
57
|
+
'graph': json['graph'] == null ? undefined : (0, WorkflowGraph_1.WorkflowGraphFromJSON)(json['graph']),
|
|
58
|
+
'translations': json['translations'] == null ? undefined : ((0, runtime_1.mapValues)(json['translations'], PublicWorkflowTranslation_1.PublicWorkflowTranslationFromJSON)),
|
|
59
|
+
'eventToken': json['eventToken'] == null ? undefined : json['eventToken'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function PublicWorkflowToJSON(json) {
|
|
63
|
+
return PublicWorkflowToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function PublicWorkflowToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'workflowId': value['workflowId'],
|
|
71
|
+
'status': value['status'],
|
|
72
|
+
'versionId': value['versionId'],
|
|
73
|
+
'versionNumber': value['versionNumber'],
|
|
74
|
+
'publishedAt': value['publishedAt'] == null ? undefined : ((value['publishedAt']).toISOString()),
|
|
75
|
+
'startCompositionId': value['startCompositionId'],
|
|
76
|
+
'timezone': value['timezone'],
|
|
77
|
+
'graph': (0, WorkflowGraph_1.WorkflowGraphToJSON)(value['graph']),
|
|
78
|
+
'translations': value['translations'] == null ? undefined : ((0, runtime_1.mapValues)(value['translations'], PublicWorkflowTranslation_1.PublicWorkflowTranslationToJSON)),
|
|
79
|
+
'eventToken': value['eventToken'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PublicWorkflowEventsAccepted
|
|
16
|
+
*/
|
|
17
|
+
export interface PublicWorkflowEventsAccepted {
|
|
18
|
+
/**
|
|
19
|
+
* False when nothing was counted or kept (the workflow is not live any more, or the ids are not in that version).
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof PublicWorkflowEventsAccepted
|
|
22
|
+
*/
|
|
23
|
+
recorded: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* How many counters were raised (0 for a report of heights alone).
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PublicWorkflowEventsAccepted
|
|
28
|
+
*/
|
|
29
|
+
counters?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Why nothing was counted or kept, when `recorded` is false.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PublicWorkflowEventsAccepted
|
|
34
|
+
*/
|
|
35
|
+
reason?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PublicWorkflowEventsAccepted interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPublicWorkflowEventsAccepted(value: object): value is PublicWorkflowEventsAccepted;
|
|
41
|
+
export declare function PublicWorkflowEventsAcceptedFromJSON(json: any): PublicWorkflowEventsAccepted;
|
|
42
|
+
export declare function PublicWorkflowEventsAcceptedFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicWorkflowEventsAccepted;
|
|
43
|
+
export declare function PublicWorkflowEventsAcceptedToJSON(json: any): PublicWorkflowEventsAccepted;
|
|
44
|
+
export declare function PublicWorkflowEventsAcceptedToJSONTyped(value?: PublicWorkflowEventsAccepted | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfPublicWorkflowEventsAccepted = instanceOfPublicWorkflowEventsAccepted;
|
|
17
|
+
exports.PublicWorkflowEventsAcceptedFromJSON = PublicWorkflowEventsAcceptedFromJSON;
|
|
18
|
+
exports.PublicWorkflowEventsAcceptedFromJSONTyped = PublicWorkflowEventsAcceptedFromJSONTyped;
|
|
19
|
+
exports.PublicWorkflowEventsAcceptedToJSON = PublicWorkflowEventsAcceptedToJSON;
|
|
20
|
+
exports.PublicWorkflowEventsAcceptedToJSONTyped = PublicWorkflowEventsAcceptedToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PublicWorkflowEventsAccepted interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPublicWorkflowEventsAccepted(value) {
|
|
25
|
+
if (!('recorded' in value) || value['recorded'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PublicWorkflowEventsAcceptedFromJSON(json) {
|
|
30
|
+
return PublicWorkflowEventsAcceptedFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PublicWorkflowEventsAcceptedFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'recorded': json['recorded'],
|
|
38
|
+
'counters': json['counters'] == null ? undefined : json['counters'],
|
|
39
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function PublicWorkflowEventsAcceptedToJSON(json) {
|
|
43
|
+
return PublicWorkflowEventsAcceptedToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function PublicWorkflowEventsAcceptedToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'recorded': value['recorded'],
|
|
51
|
+
'counters': value['counters'],
|
|
52
|
+
'reason': value['reason'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { PublicWorkflowEventsRequestEventsInner } from './PublicWorkflowEventsRequestEventsInner';
|
|
13
|
+
import type { PublicWorkflowEventsRequestHeightsInner } from './PublicWorkflowEventsRequestHeightsInner';
|
|
14
|
+
/**
|
|
15
|
+
* One report from a visitor's browser: counts (`events`), the heights steps settled at (`heights`), or both. A report
|
|
16
|
+
* with neither is refused.
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PublicWorkflowEventsRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PublicWorkflowEventsRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PublicWorkflowEventsRequest
|
|
26
|
+
*/
|
|
27
|
+
versionId: string;
|
|
28
|
+
/**
|
|
29
|
+
* The `eventToken` of the workflow, read for the same version.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PublicWorkflowEventsRequest
|
|
32
|
+
*/
|
|
33
|
+
token: string;
|
|
34
|
+
/**
|
|
35
|
+
* The counts of what visitors did. At least one of `events` and `heights` is needed.
|
|
36
|
+
* @type {Array<PublicWorkflowEventsRequestEventsInner>}
|
|
37
|
+
* @memberof PublicWorkflowEventsRequest
|
|
38
|
+
*/
|
|
39
|
+
events?: Array<PublicWorkflowEventsRequestEventsInner>;
|
|
40
|
+
/**
|
|
41
|
+
* How tall steps of this version settled in the visitor's browser, so that the embed code of the workflow can
|
|
42
|
+
* start its box at the height visitors saw instead of a guess. The Embed SDK sends one for a visitor who has no
|
|
43
|
+
* remembered height for the step. The gateway keeps the latest few for each composition (the median is what the
|
|
44
|
+
* code gets); a composition that this version does not show is left out. At least one of `events` and `heights`
|
|
45
|
+
* is needed.
|
|
46
|
+
*
|
|
47
|
+
* @type {Array<PublicWorkflowEventsRequestHeightsInner>}
|
|
48
|
+
* @memberof PublicWorkflowEventsRequest
|
|
49
|
+
*/
|
|
50
|
+
heights?: Array<PublicWorkflowEventsRequestHeightsInner>;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the PublicWorkflowEventsRequest interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfPublicWorkflowEventsRequest(value: object): value is PublicWorkflowEventsRequest;
|
|
56
|
+
export declare function PublicWorkflowEventsRequestFromJSON(json: any): PublicWorkflowEventsRequest;
|
|
57
|
+
export declare function PublicWorkflowEventsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicWorkflowEventsRequest;
|
|
58
|
+
export declare function PublicWorkflowEventsRequestToJSON(json: any): PublicWorkflowEventsRequest;
|
|
59
|
+
export declare function PublicWorkflowEventsRequestToJSONTyped(value?: PublicWorkflowEventsRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfPublicWorkflowEventsRequest = instanceOfPublicWorkflowEventsRequest;
|
|
17
|
+
exports.PublicWorkflowEventsRequestFromJSON = PublicWorkflowEventsRequestFromJSON;
|
|
18
|
+
exports.PublicWorkflowEventsRequestFromJSONTyped = PublicWorkflowEventsRequestFromJSONTyped;
|
|
19
|
+
exports.PublicWorkflowEventsRequestToJSON = PublicWorkflowEventsRequestToJSON;
|
|
20
|
+
exports.PublicWorkflowEventsRequestToJSONTyped = PublicWorkflowEventsRequestToJSONTyped;
|
|
21
|
+
const PublicWorkflowEventsRequestEventsInner_1 = require("./PublicWorkflowEventsRequestEventsInner");
|
|
22
|
+
const PublicWorkflowEventsRequestHeightsInner_1 = require("./PublicWorkflowEventsRequestHeightsInner");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PublicWorkflowEventsRequest interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPublicWorkflowEventsRequest(value) {
|
|
27
|
+
if (!('versionId' in value) || value['versionId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PublicWorkflowEventsRequestFromJSON(json) {
|
|
34
|
+
return PublicWorkflowEventsRequestFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PublicWorkflowEventsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'versionId': json['versionId'],
|
|
42
|
+
'token': json['token'],
|
|
43
|
+
'events': json['events'] == null ? undefined : (json['events'].map(PublicWorkflowEventsRequestEventsInner_1.PublicWorkflowEventsRequestEventsInnerFromJSON)),
|
|
44
|
+
'heights': json['heights'] == null ? undefined : (json['heights'].map(PublicWorkflowEventsRequestHeightsInner_1.PublicWorkflowEventsRequestHeightsInnerFromJSON)),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function PublicWorkflowEventsRequestToJSON(json) {
|
|
48
|
+
return PublicWorkflowEventsRequestToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function PublicWorkflowEventsRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'versionId': value['versionId'],
|
|
56
|
+
'token': value['token'],
|
|
57
|
+
'events': value['events'] == null ? undefined : (value['events'].map(PublicWorkflowEventsRequestEventsInner_1.PublicWorkflowEventsRequestEventsInnerToJSON)),
|
|
58
|
+
'heights': value['heights'] == null ? undefined : (value['heights'].map(PublicWorkflowEventsRequestHeightsInner_1.PublicWorkflowEventsRequestHeightsInnerToJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PublicWorkflowEventsRequestEventsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface PublicWorkflowEventsRequestEventsInner {
|
|
18
|
+
/**
|
|
19
|
+
* `n` a visitor reached a block, `e` a visitor took a connection, `f` moving a visitor on failed.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PublicWorkflowEventsRequestEventsInner
|
|
22
|
+
*/
|
|
23
|
+
k: PublicWorkflowEventsRequestEventsInnerKEnum;
|
|
24
|
+
/**
|
|
25
|
+
* The block or connection counted.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PublicWorkflowEventsRequestEventsInner
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
/**
|
|
31
|
+
* How many times (1 when not given).
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PublicWorkflowEventsRequestEventsInner
|
|
34
|
+
*/
|
|
35
|
+
c?: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const PublicWorkflowEventsRequestEventsInnerKEnum: {
|
|
41
|
+
readonly N: 'n';
|
|
42
|
+
readonly E: 'e';
|
|
43
|
+
readonly F: 'f';
|
|
44
|
+
};
|
|
45
|
+
export type PublicWorkflowEventsRequestEventsInnerKEnum = typeof PublicWorkflowEventsRequestEventsInnerKEnum[keyof typeof PublicWorkflowEventsRequestEventsInnerKEnum];
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the PublicWorkflowEventsRequestEventsInner interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfPublicWorkflowEventsRequestEventsInner(value: object): value is PublicWorkflowEventsRequestEventsInner;
|
|
50
|
+
export declare function PublicWorkflowEventsRequestEventsInnerFromJSON(json: any): PublicWorkflowEventsRequestEventsInner;
|
|
51
|
+
export declare function PublicWorkflowEventsRequestEventsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicWorkflowEventsRequestEventsInner;
|
|
52
|
+
export declare function PublicWorkflowEventsRequestEventsInnerToJSON(json: any): PublicWorkflowEventsRequestEventsInner;
|
|
53
|
+
export declare function PublicWorkflowEventsRequestEventsInnerToJSONTyped(value?: PublicWorkflowEventsRequestEventsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
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.PublicWorkflowEventsRequestEventsInnerKEnum = void 0;
|
|
17
|
+
exports.instanceOfPublicWorkflowEventsRequestEventsInner = instanceOfPublicWorkflowEventsRequestEventsInner;
|
|
18
|
+
exports.PublicWorkflowEventsRequestEventsInnerFromJSON = PublicWorkflowEventsRequestEventsInnerFromJSON;
|
|
19
|
+
exports.PublicWorkflowEventsRequestEventsInnerFromJSONTyped = PublicWorkflowEventsRequestEventsInnerFromJSONTyped;
|
|
20
|
+
exports.PublicWorkflowEventsRequestEventsInnerToJSON = PublicWorkflowEventsRequestEventsInnerToJSON;
|
|
21
|
+
exports.PublicWorkflowEventsRequestEventsInnerToJSONTyped = PublicWorkflowEventsRequestEventsInnerToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PublicWorkflowEventsRequestEventsInnerKEnum = {
|
|
26
|
+
N: 'n',
|
|
27
|
+
E: 'e',
|
|
28
|
+
F: 'f'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the PublicWorkflowEventsRequestEventsInner interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfPublicWorkflowEventsRequestEventsInner(value) {
|
|
34
|
+
if (!('k' in value) || value['k'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function PublicWorkflowEventsRequestEventsInnerFromJSON(json) {
|
|
41
|
+
return PublicWorkflowEventsRequestEventsInnerFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function PublicWorkflowEventsRequestEventsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'k': json['k'],
|
|
49
|
+
'id': json['id'],
|
|
50
|
+
'c': json['c'] == null ? undefined : json['c'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function PublicWorkflowEventsRequestEventsInnerToJSON(json) {
|
|
54
|
+
return PublicWorkflowEventsRequestEventsInnerToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function PublicWorkflowEventsRequestEventsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'k': value['k'],
|
|
62
|
+
'id': value['id'],
|
|
63
|
+
'c': value['c'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PublicWorkflowEventsRequestHeightsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface PublicWorkflowEventsRequestHeightsInner {
|
|
18
|
+
/**
|
|
19
|
+
* The composition the step shows.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PublicWorkflowEventsRequestHeightsInner
|
|
22
|
+
*/
|
|
23
|
+
compositionId: string;
|
|
24
|
+
/**
|
|
25
|
+
* The height the step settled at, in pixels. One under 100 is not kept, one over 2000 is kept as 2000.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PublicWorkflowEventsRequestHeightsInner
|
|
28
|
+
*/
|
|
29
|
+
height: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PublicWorkflowEventsRequestHeightsInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPublicWorkflowEventsRequestHeightsInner(value: object): value is PublicWorkflowEventsRequestHeightsInner;
|
|
35
|
+
export declare function PublicWorkflowEventsRequestHeightsInnerFromJSON(json: any): PublicWorkflowEventsRequestHeightsInner;
|
|
36
|
+
export declare function PublicWorkflowEventsRequestHeightsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicWorkflowEventsRequestHeightsInner;
|
|
37
|
+
export declare function PublicWorkflowEventsRequestHeightsInnerToJSON(json: any): PublicWorkflowEventsRequestHeightsInner;
|
|
38
|
+
export declare function PublicWorkflowEventsRequestHeightsInnerToJSONTyped(value?: PublicWorkflowEventsRequestHeightsInner | null, ignoreDiscriminator?: boolean): any;
|