@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,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
|
+
* A widget an offered starting point shows.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OfferedWorkflowPresetWidget
|
|
16
|
+
*/
|
|
17
|
+
export interface OfferedWorkflowPresetWidget {
|
|
18
|
+
/**
|
|
19
|
+
* Your own widget.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OfferedWorkflowPresetWidget
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OfferedWorkflowPresetWidget
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OfferedWorkflowPresetWidget
|
|
34
|
+
*/
|
|
35
|
+
thumbnailUrl: string | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the OfferedWorkflowPresetWidget interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfOfferedWorkflowPresetWidget(value: object): value is OfferedWorkflowPresetWidget;
|
|
41
|
+
export declare function OfferedWorkflowPresetWidgetFromJSON(json: any): OfferedWorkflowPresetWidget;
|
|
42
|
+
export declare function OfferedWorkflowPresetWidgetFromJSONTyped(json: any, ignoreDiscriminator: boolean): OfferedWorkflowPresetWidget;
|
|
43
|
+
export declare function OfferedWorkflowPresetWidgetToJSON(json: any): OfferedWorkflowPresetWidget;
|
|
44
|
+
export declare function OfferedWorkflowPresetWidgetToJSONTyped(value?: OfferedWorkflowPresetWidget | 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.instanceOfOfferedWorkflowPresetWidget = instanceOfOfferedWorkflowPresetWidget;
|
|
17
|
+
exports.OfferedWorkflowPresetWidgetFromJSON = OfferedWorkflowPresetWidgetFromJSON;
|
|
18
|
+
exports.OfferedWorkflowPresetWidgetFromJSONTyped = OfferedWorkflowPresetWidgetFromJSONTyped;
|
|
19
|
+
exports.OfferedWorkflowPresetWidgetToJSON = OfferedWorkflowPresetWidgetToJSON;
|
|
20
|
+
exports.OfferedWorkflowPresetWidgetToJSONTyped = OfferedWorkflowPresetWidgetToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OfferedWorkflowPresetWidget interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOfferedWorkflowPresetWidget(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('thumbnailUrl' in value) || value['thumbnailUrl'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function OfferedWorkflowPresetWidgetFromJSON(json) {
|
|
34
|
+
return OfferedWorkflowPresetWidgetFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function OfferedWorkflowPresetWidgetFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'thumbnailUrl': json['thumbnailUrl'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function OfferedWorkflowPresetWidgetToJSON(json) {
|
|
47
|
+
return OfferedWorkflowPresetWidgetToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function OfferedWorkflowPresetWidgetToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'thumbnailUrl': value['thumbnailUrl'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -47,7 +47,7 @@ export interface PartnerNotification {
|
|
|
47
47
|
*/
|
|
48
48
|
tone: PartnerNotificationToneEnum;
|
|
49
49
|
/**
|
|
50
|
-
* The facts of the event, named in camelCase. An invoice event carries `invoiceNumber`, `subtotal`, `taxAmount`, `total`, `currency`, `dueDate`, `hostedInvoiceUrl` (the page where it is paid) and `purpose` (`contract`, or `extra_credits` for credits you bought on top of the contract: an unpaid invoice for extra credits never stops the account, the credits are just not added until it is paid); a payment adds `paidAt`, a failed payment `reason`, a reminder `daysUntilDue` or `daysOverdue`. A credits event carries `band` (`low` or `empty`), `balance` and `threshold`. `credits.managed_user_cap_reached` (one of your managed users used its monthly credits and a request was refused) goes to your webhook only when subscribed, once per managed user each month, and carries `managedUserId`, `externalId`, `monthlyCredits`, `creditsUsed`, `resetsAt` and `reachedAt`. A standing event carries `status`, `previousStatus` and `reason`; `partner.paused` with `status: payment_arrears` means that an overdue invoice stopped the account (nobody paused it, and `reason` names the invoice), and `partner.resumed` with `previousStatus: payment_arrears` means that its payment ended that. A storage event carries `reason` and `checkedAt`. Content events (`composition.created`, `composition.updated`, `widget.published`, `upload.created`, `entry.created`) go to your webhook only when subscribed; they do not appear in the dashboard list. `composition.created` carries `compositionId`, `widgetId`, `name`, `managedUserId`, `externalId` and `createdAt`; `composition.updated` carries `compositionId`, `widgetId`, `name`, `managedUserId`, `externalId`, `contentVersion` and `savedAt`, and is sent for the first save of a composition in each five minutes (read the composition for its current state); `widget.published` carries `widgetId`, `name`, `managedUserId`, `externalId`, `version` and `publishedAt`; `upload.created` carries `uploadId`, `name`, `mimeType`, `sizeBytes`, `address`, `managedUserId`, `externalId`, `purpose` and `createdAt`; `entry.created` carries `compositionId`, `table`, `entryId`, `createdAt` and `context` (the host attribution of the embedding page, or null), and none of the values the visitor entered: read those with the entries routes. Ignore an event type you do not know: more may be added. `sendPartnerNotificationTestEvent` sends a sample of every one of them.
|
|
50
|
+
* The facts of the event, named in camelCase. An invoice event carries `invoiceNumber`, `subtotal`, `taxAmount`, `total`, `currency`, `dueDate`, `hostedInvoiceUrl` (the page where it is paid) and `purpose` (`contract`, or `extra_credits` for credits you bought on top of the contract: an unpaid invoice for extra credits never stops the account, the credits are just not added until it is paid); a payment adds `paidAt`, a failed payment `reason`, a reminder `daysUntilDue` or `daysOverdue`. A credits event carries `band` (`low` or `empty`), `balance` and `threshold`. `credits.managed_user_cap_reached` (one of your managed users used its monthly credits and a request was refused) goes to your webhook only when subscribed, once per managed user each month, and carries `managedUserId`, `externalId`, `monthlyCredits`, `creditsUsed`, `resetsAt` and `reachedAt`. A standing event carries `status`, `previousStatus` and `reason`; `partner.paused` with `status: payment_arrears` means that an overdue invoice stopped the account (nobody paused it, and `reason` names the invoice), and `partner.resumed` with `previousStatus: payment_arrears` means that its payment ended that. A storage event carries `reason` and `checkedAt`. Content events (`composition.created`, `composition.updated`, `widget.published`, `upload.created`, `entry.created`, `workflow.created`, `workflow.published`, `workflow.state_changed`, `workflow.deleted`) go to your webhook only when subscribed; they do not appear in the dashboard list. `composition.created` carries `compositionId`, `widgetId`, `name`, `managedUserId`, `externalId` and `createdAt`; `composition.updated` carries `compositionId`, `widgetId`, `name`, `managedUserId`, `externalId`, `contentVersion` and `savedAt`, and is sent for the first save of a composition in each five minutes (read the composition for its current state); `widget.published` carries `widgetId`, `name`, `managedUserId`, `externalId`, `version` and `publishedAt`; `upload.created` carries `uploadId`, `name`, `mimeType`, `sizeBytes`, `address`, `managedUserId`, `externalId`, `purpose` and `createdAt`; `entry.created` carries `compositionId`, `table`, `entryId`, `createdAt` and `context` (the host attribution of the embedding page, or null), and none of the values the visitor entered: read those with the entries routes. The four workflow events are about the workflows your managed users make (only a workflow made for a managed user is told; one your own people made is not). `workflow.created` carries `workflowId`, `name`, `managedUserId`, `externalId`, `createdAt` and `presetKey` (the key you gave the starting point the workflow was started from with `setPartnerWorkflowPreset`, or null when it was drawn new or copied), and is sent for a copy of a workflow and for a start from a starting point too; `workflow.published` carries `workflowId`, `name`, `managedUserId`, `externalId`, `versionId`, `versionNumber` (1 for the first publication) and `publishedAt`; `workflow.state_changed` carries `workflowId`, `name`, `managedUserId`, `externalId`, `action` (`pause`, `resume`, `archive` or `unarchive`), `previousStatus` and `status` (each `draft`, `live`, `paused` or `archived`) and `changedAt`; `workflow.deleted` carries `workflowId`, `name`, `managedUserId`, `externalId`, `previousStatus` (the state it was in when it was deleted: `draft`, `live`, `paused` or `archived`) and `deletedAt`, and means that the workflow with its versions and counts is gone (the compositions it chained are not touched). Read the workflow for what it holds now (a deleted one is not found). Ignore an event type you do not know: more may be added. `sendPartnerNotificationTestEvent` sends a sample of every one of them.
|
|
51
51
|
* @type {{ [key: string]: any; }}
|
|
52
52
|
* @memberof PartnerNotification
|
|
53
53
|
*/
|
|
@@ -30,6 +30,10 @@ export declare const PartnerNotificationEventType: {
|
|
|
30
30
|
readonly WidgetPublished: 'widget.published';
|
|
31
31
|
readonly UploadCreated: 'upload.created';
|
|
32
32
|
readonly EntryCreated: 'entry.created';
|
|
33
|
+
readonly WorkflowCreated: 'workflow.created';
|
|
34
|
+
readonly WorkflowPublished: 'workflow.published';
|
|
35
|
+
readonly WorkflowStateChanged: 'workflow.state_changed';
|
|
36
|
+
readonly WorkflowDeleted: 'workflow.deleted';
|
|
33
37
|
};
|
|
34
38
|
export type PartnerNotificationEventType = typeof PartnerNotificationEventType[keyof typeof PartnerNotificationEventType];
|
|
35
39
|
export declare function instanceOfPartnerNotificationEventType(value: any): boolean;
|
|
@@ -39,7 +39,11 @@ exports.PartnerNotificationEventType = {
|
|
|
39
39
|
CompositionUpdated: 'composition.updated',
|
|
40
40
|
WidgetPublished: 'widget.published',
|
|
41
41
|
UploadCreated: 'upload.created',
|
|
42
|
-
EntryCreated: 'entry.created'
|
|
42
|
+
EntryCreated: 'entry.created',
|
|
43
|
+
WorkflowCreated: 'workflow.created',
|
|
44
|
+
WorkflowPublished: 'workflow.published',
|
|
45
|
+
WorkflowStateChanged: 'workflow.state_changed',
|
|
46
|
+
WorkflowDeleted: 'workflow.deleted'
|
|
43
47
|
};
|
|
44
48
|
function instanceOfPartnerNotificationEventType(value) {
|
|
45
49
|
for (const key in exports.PartnerNotificationEventType) {
|
|
@@ -0,0 +1,73 @@
|
|
|
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 PatchBrandKitAssetRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchBrandKitAssetRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Icon rename
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchBrandKitAssetRequest
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Font family relabel
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchBrandKitAssetRequest
|
|
28
|
+
*/
|
|
29
|
+
family?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PatchBrandKitAssetRequest
|
|
34
|
+
*/
|
|
35
|
+
weight?: PatchBrandKitAssetRequestWeightEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PatchBrandKitAssetRequest
|
|
40
|
+
*/
|
|
41
|
+
style?: PatchBrandKitAssetRequestStyleEnum;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const PatchBrandKitAssetRequestWeightEnum: {
|
|
47
|
+
readonly NUMBER_100: 100;
|
|
48
|
+
readonly NUMBER_200: 200;
|
|
49
|
+
readonly NUMBER_300: 300;
|
|
50
|
+
readonly NUMBER_400: 400;
|
|
51
|
+
readonly NUMBER_500: 500;
|
|
52
|
+
readonly NUMBER_600: 600;
|
|
53
|
+
readonly NUMBER_700: 700;
|
|
54
|
+
readonly NUMBER_800: 800;
|
|
55
|
+
readonly NUMBER_900: 900;
|
|
56
|
+
};
|
|
57
|
+
export type PatchBrandKitAssetRequestWeightEnum = typeof PatchBrandKitAssetRequestWeightEnum[keyof typeof PatchBrandKitAssetRequestWeightEnum];
|
|
58
|
+
/**
|
|
59
|
+
* @export
|
|
60
|
+
*/
|
|
61
|
+
export declare const PatchBrandKitAssetRequestStyleEnum: {
|
|
62
|
+
readonly Normal: 'normal';
|
|
63
|
+
readonly Italic: 'italic';
|
|
64
|
+
};
|
|
65
|
+
export type PatchBrandKitAssetRequestStyleEnum = typeof PatchBrandKitAssetRequestStyleEnum[keyof typeof PatchBrandKitAssetRequestStyleEnum];
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the PatchBrandKitAssetRequest interface.
|
|
68
|
+
*/
|
|
69
|
+
export declare function instanceOfPatchBrandKitAssetRequest(value: object): value is PatchBrandKitAssetRequest;
|
|
70
|
+
export declare function PatchBrandKitAssetRequestFromJSON(json: any): PatchBrandKitAssetRequest;
|
|
71
|
+
export declare function PatchBrandKitAssetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchBrandKitAssetRequest;
|
|
72
|
+
export declare function PatchBrandKitAssetRequestToJSON(json: any): PatchBrandKitAssetRequest;
|
|
73
|
+
export declare function PatchBrandKitAssetRequestToJSONTyped(value?: PatchBrandKitAssetRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
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.PatchBrandKitAssetRequestStyleEnum = exports.PatchBrandKitAssetRequestWeightEnum = void 0;
|
|
17
|
+
exports.instanceOfPatchBrandKitAssetRequest = instanceOfPatchBrandKitAssetRequest;
|
|
18
|
+
exports.PatchBrandKitAssetRequestFromJSON = PatchBrandKitAssetRequestFromJSON;
|
|
19
|
+
exports.PatchBrandKitAssetRequestFromJSONTyped = PatchBrandKitAssetRequestFromJSONTyped;
|
|
20
|
+
exports.PatchBrandKitAssetRequestToJSON = PatchBrandKitAssetRequestToJSON;
|
|
21
|
+
exports.PatchBrandKitAssetRequestToJSONTyped = PatchBrandKitAssetRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PatchBrandKitAssetRequestWeightEnum = {
|
|
26
|
+
NUMBER_100: 100,
|
|
27
|
+
NUMBER_200: 200,
|
|
28
|
+
NUMBER_300: 300,
|
|
29
|
+
NUMBER_400: 400,
|
|
30
|
+
NUMBER_500: 500,
|
|
31
|
+
NUMBER_600: 600,
|
|
32
|
+
NUMBER_700: 700,
|
|
33
|
+
NUMBER_800: 800,
|
|
34
|
+
NUMBER_900: 900
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
*/
|
|
39
|
+
exports.PatchBrandKitAssetRequestStyleEnum = {
|
|
40
|
+
Normal: 'normal',
|
|
41
|
+
Italic: 'italic'
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the PatchBrandKitAssetRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
function instanceOfPatchBrandKitAssetRequest(value) {
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
function PatchBrandKitAssetRequestFromJSON(json) {
|
|
50
|
+
return PatchBrandKitAssetRequestFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function PatchBrandKitAssetRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
|
+
if (json == null) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
58
|
+
'family': json['family'] == null ? undefined : json['family'],
|
|
59
|
+
'weight': json['weight'] == null ? undefined : json['weight'],
|
|
60
|
+
'style': json['style'] == null ? undefined : json['style'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function PatchBrandKitAssetRequestToJSON(json) {
|
|
64
|
+
return PatchBrandKitAssetRequestToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function PatchBrandKitAssetRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'name': value['name'],
|
|
72
|
+
'family': value['family'],
|
|
73
|
+
'weight': value['weight'],
|
|
74
|
+
'style': value['style'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 { BrandColor } from './BrandColor';
|
|
13
|
+
import type { PatchBrandKitRequestFonts } from './PatchBrandKitRequestFonts';
|
|
14
|
+
import type { PatchBrandKitRequestSpacing } from './PatchBrandKitRequestSpacing';
|
|
15
|
+
/**
|
|
16
|
+
* Changes part of the kit and leaves the rest as it is. Only the keys that are sent change.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface PatchBrandKitRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface PatchBrandKitRequest {
|
|
21
|
+
/**
|
|
22
|
+
* The whole list of colors (it replaces the saved list).
|
|
23
|
+
* @type {Array<BrandColor>}
|
|
24
|
+
* @memberof PatchBrandKitRequest
|
|
25
|
+
*/
|
|
26
|
+
colors?: Array<BrandColor>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PatchBrandKitRequestFonts}
|
|
30
|
+
* @memberof PatchBrandKitRequest
|
|
31
|
+
*/
|
|
32
|
+
fonts?: PatchBrandKitRequestFonts;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PatchBrandKitRequestSpacing}
|
|
36
|
+
* @memberof PatchBrandKitRequest
|
|
37
|
+
*/
|
|
38
|
+
spacing?: PatchBrandKitRequestSpacing;
|
|
39
|
+
/**
|
|
40
|
+
* One corner radius in pixels for the whole kit; the small, medium and large radii are made from it. 0 gives square corners. A radius step sent in `spacing` wins over the one made from this value.
|
|
41
|
+
* @type {number}
|
|
42
|
+
* @memberof PatchBrandKitRequest
|
|
43
|
+
*/
|
|
44
|
+
cornerRadius?: number;
|
|
45
|
+
/**
|
|
46
|
+
* The kit owner's style notes (see `tokens.instructions`). An empty string removes them.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof PatchBrandKitRequest
|
|
49
|
+
*/
|
|
50
|
+
instructions?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Refuse the change with a 409 when the kit was saved again since this version was read.
|
|
53
|
+
* @type {number}
|
|
54
|
+
* @memberof PatchBrandKitRequest
|
|
55
|
+
*/
|
|
56
|
+
expectedVersion?: number;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the PatchBrandKitRequest interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfPatchBrandKitRequest(value: object): value is PatchBrandKitRequest;
|
|
62
|
+
export declare function PatchBrandKitRequestFromJSON(json: any): PatchBrandKitRequest;
|
|
63
|
+
export declare function PatchBrandKitRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchBrandKitRequest;
|
|
64
|
+
export declare function PatchBrandKitRequestToJSON(json: any): PatchBrandKitRequest;
|
|
65
|
+
export declare function PatchBrandKitRequestToJSONTyped(value?: PatchBrandKitRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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.instanceOfPatchBrandKitRequest = instanceOfPatchBrandKitRequest;
|
|
17
|
+
exports.PatchBrandKitRequestFromJSON = PatchBrandKitRequestFromJSON;
|
|
18
|
+
exports.PatchBrandKitRequestFromJSONTyped = PatchBrandKitRequestFromJSONTyped;
|
|
19
|
+
exports.PatchBrandKitRequestToJSON = PatchBrandKitRequestToJSON;
|
|
20
|
+
exports.PatchBrandKitRequestToJSONTyped = PatchBrandKitRequestToJSONTyped;
|
|
21
|
+
const BrandColor_1 = require("./BrandColor");
|
|
22
|
+
const PatchBrandKitRequestFonts_1 = require("./PatchBrandKitRequestFonts");
|
|
23
|
+
const PatchBrandKitRequestSpacing_1 = require("./PatchBrandKitRequestSpacing");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the PatchBrandKitRequest interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfPatchBrandKitRequest(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function PatchBrandKitRequestFromJSON(json) {
|
|
31
|
+
return PatchBrandKitRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function PatchBrandKitRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'colors': json['colors'] == null ? undefined : (json['colors'].map(BrandColor_1.BrandColorFromJSON)),
|
|
39
|
+
'fonts': json['fonts'] == null ? undefined : (0, PatchBrandKitRequestFonts_1.PatchBrandKitRequestFontsFromJSON)(json['fonts']),
|
|
40
|
+
'spacing': json['spacing'] == null ? undefined : (0, PatchBrandKitRequestSpacing_1.PatchBrandKitRequestSpacingFromJSON)(json['spacing']),
|
|
41
|
+
'cornerRadius': json['cornerRadius'] == null ? undefined : json['cornerRadius'],
|
|
42
|
+
'instructions': json['instructions'] == null ? undefined : json['instructions'],
|
|
43
|
+
'expectedVersion': json['expectedVersion'] == null ? undefined : json['expectedVersion'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function PatchBrandKitRequestToJSON(json) {
|
|
47
|
+
return PatchBrandKitRequestToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function PatchBrandKitRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'colors': value['colors'] == null ? undefined : (value['colors'].map(BrandColor_1.BrandColorToJSON)),
|
|
55
|
+
'fonts': (0, PatchBrandKitRequestFonts_1.PatchBrandKitRequestFontsToJSON)(value['fonts']),
|
|
56
|
+
'spacing': (0, PatchBrandKitRequestSpacing_1.PatchBrandKitRequestSpacingToJSON)(value['spacing']),
|
|
57
|
+
'cornerRadius': value['cornerRadius'],
|
|
58
|
+
'instructions': value['instructions'],
|
|
59
|
+
'expectedVersion': value['expectedVersion'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { BrandFont } from './BrandFont';
|
|
13
|
+
/**
|
|
14
|
+
* The text roles to change; the roles that are left out keep their font.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PatchBrandKitRequestFonts
|
|
17
|
+
*/
|
|
18
|
+
export interface PatchBrandKitRequestFonts {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {BrandFont}
|
|
22
|
+
* @memberof PatchBrandKitRequestFonts
|
|
23
|
+
*/
|
|
24
|
+
title?: BrandFont;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {BrandFont}
|
|
28
|
+
* @memberof PatchBrandKitRequestFonts
|
|
29
|
+
*/
|
|
30
|
+
subtitle?: BrandFont;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {BrandFont}
|
|
34
|
+
* @memberof PatchBrandKitRequestFonts
|
|
35
|
+
*/
|
|
36
|
+
body?: BrandFont;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {BrandFont}
|
|
40
|
+
* @memberof PatchBrandKitRequestFonts
|
|
41
|
+
*/
|
|
42
|
+
caption?: BrandFont;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the PatchBrandKitRequestFonts interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfPatchBrandKitRequestFonts(value: object): value is PatchBrandKitRequestFonts;
|
|
48
|
+
export declare function PatchBrandKitRequestFontsFromJSON(json: any): PatchBrandKitRequestFonts;
|
|
49
|
+
export declare function PatchBrandKitRequestFontsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchBrandKitRequestFonts;
|
|
50
|
+
export declare function PatchBrandKitRequestFontsToJSON(json: any): PatchBrandKitRequestFonts;
|
|
51
|
+
export declare function PatchBrandKitRequestFontsToJSONTyped(value?: PatchBrandKitRequestFonts | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfPatchBrandKitRequestFonts = instanceOfPatchBrandKitRequestFonts;
|
|
17
|
+
exports.PatchBrandKitRequestFontsFromJSON = PatchBrandKitRequestFontsFromJSON;
|
|
18
|
+
exports.PatchBrandKitRequestFontsFromJSONTyped = PatchBrandKitRequestFontsFromJSONTyped;
|
|
19
|
+
exports.PatchBrandKitRequestFontsToJSON = PatchBrandKitRequestFontsToJSON;
|
|
20
|
+
exports.PatchBrandKitRequestFontsToJSONTyped = PatchBrandKitRequestFontsToJSONTyped;
|
|
21
|
+
const BrandFont_1 = require("./BrandFont");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PatchBrandKitRequestFonts interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPatchBrandKitRequestFonts(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function PatchBrandKitRequestFontsFromJSON(json) {
|
|
29
|
+
return PatchBrandKitRequestFontsFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function PatchBrandKitRequestFontsFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'title': json['title'] == null ? undefined : (0, BrandFont_1.BrandFontFromJSON)(json['title']),
|
|
37
|
+
'subtitle': json['subtitle'] == null ? undefined : (0, BrandFont_1.BrandFontFromJSON)(json['subtitle']),
|
|
38
|
+
'body': json['body'] == null ? undefined : (0, BrandFont_1.BrandFontFromJSON)(json['body']),
|
|
39
|
+
'caption': json['caption'] == null ? undefined : (0, BrandFont_1.BrandFontFromJSON)(json['caption']),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function PatchBrandKitRequestFontsToJSON(json) {
|
|
43
|
+
return PatchBrandKitRequestFontsToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function PatchBrandKitRequestFontsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'title': (0, BrandFont_1.BrandFontToJSON)(value['title']),
|
|
51
|
+
'subtitle': (0, BrandFont_1.BrandFontToJSON)(value['subtitle']),
|
|
52
|
+
'body': (0, BrandFont_1.BrandFontToJSON)(value['body']),
|
|
53
|
+
'caption': (0, BrandFont_1.BrandFontToJSON)(value['caption']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
* The spacing and radius steps to change; the steps that are left out keep their value.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchBrandKitRequestSpacing
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchBrandKitRequestSpacing {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PatchBrandKitRequestSpacing
|
|
22
|
+
*/
|
|
23
|
+
xs?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PatchBrandKitRequestSpacing
|
|
28
|
+
*/
|
|
29
|
+
s?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PatchBrandKitRequestSpacing
|
|
34
|
+
*/
|
|
35
|
+
m?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PatchBrandKitRequestSpacing
|
|
40
|
+
*/
|
|
41
|
+
l?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PatchBrandKitRequestSpacing
|
|
46
|
+
*/
|
|
47
|
+
xl?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PatchBrandKitRequestSpacing
|
|
52
|
+
*/
|
|
53
|
+
radiusS?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof PatchBrandKitRequestSpacing
|
|
58
|
+
*/
|
|
59
|
+
radiusM?: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof PatchBrandKitRequestSpacing
|
|
64
|
+
*/
|
|
65
|
+
radiusL?: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the PatchBrandKitRequestSpacing interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfPatchBrandKitRequestSpacing(value: object): value is PatchBrandKitRequestSpacing;
|
|
71
|
+
export declare function PatchBrandKitRequestSpacingFromJSON(json: any): PatchBrandKitRequestSpacing;
|
|
72
|
+
export declare function PatchBrandKitRequestSpacingFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchBrandKitRequestSpacing;
|
|
73
|
+
export declare function PatchBrandKitRequestSpacingToJSON(json: any): PatchBrandKitRequestSpacing;
|
|
74
|
+
export declare function PatchBrandKitRequestSpacingToJSONTyped(value?: PatchBrandKitRequestSpacing | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.instanceOfPatchBrandKitRequestSpacing = instanceOfPatchBrandKitRequestSpacing;
|
|
17
|
+
exports.PatchBrandKitRequestSpacingFromJSON = PatchBrandKitRequestSpacingFromJSON;
|
|
18
|
+
exports.PatchBrandKitRequestSpacingFromJSONTyped = PatchBrandKitRequestSpacingFromJSONTyped;
|
|
19
|
+
exports.PatchBrandKitRequestSpacingToJSON = PatchBrandKitRequestSpacingToJSON;
|
|
20
|
+
exports.PatchBrandKitRequestSpacingToJSONTyped = PatchBrandKitRequestSpacingToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PatchBrandKitRequestSpacing interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPatchBrandKitRequestSpacing(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function PatchBrandKitRequestSpacingFromJSON(json) {
|
|
28
|
+
return PatchBrandKitRequestSpacingFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function PatchBrandKitRequestSpacingFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'xs': json['xs'] == null ? undefined : json['xs'],
|
|
36
|
+
's': json['s'] == null ? undefined : json['s'],
|
|
37
|
+
'm': json['m'] == null ? undefined : json['m'],
|
|
38
|
+
'l': json['l'] == null ? undefined : json['l'],
|
|
39
|
+
'xl': json['xl'] == null ? undefined : json['xl'],
|
|
40
|
+
'radiusS': json['radiusS'] == null ? undefined : json['radiusS'],
|
|
41
|
+
'radiusM': json['radiusM'] == null ? undefined : json['radiusM'],
|
|
42
|
+
'radiusL': json['radiusL'] == null ? undefined : json['radiusL'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PatchBrandKitRequestSpacingToJSON(json) {
|
|
46
|
+
return PatchBrandKitRequestSpacingToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PatchBrandKitRequestSpacingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'xs': value['xs'],
|
|
54
|
+
's': value['s'],
|
|
55
|
+
'm': value['m'],
|
|
56
|
+
'l': value['l'],
|
|
57
|
+
'xl': value['xl'],
|
|
58
|
+
'radiusS': value['radiusS'],
|
|
59
|
+
'radiusM': value['radiusM'],
|
|
60
|
+
'radiusL': value['radiusL'],
|
|
61
|
+
};
|
|
62
|
+
}
|