@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
|
@@ -45,6 +45,12 @@ function instanceOfAdapterConnection(value) {
|
|
|
45
45
|
return false;
|
|
46
46
|
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
47
47
|
return false;
|
|
48
|
+
if (!('confirmation' in value) || value['confirmation'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('awaitingConfirmation' in value) || value['awaitingConfirmation'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('confirmedAt' in value) || value['confirmedAt'] === undefined)
|
|
53
|
+
return false;
|
|
48
54
|
return true;
|
|
49
55
|
}
|
|
50
56
|
function AdapterConnectionFromJSON(json) {
|
|
@@ -62,6 +68,9 @@ function AdapterConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
68
|
'scope': json['scope'],
|
|
63
69
|
'connected': json['connected'],
|
|
64
70
|
'updatedAt': (json['updatedAt'] == null ? null : new Date(json['updatedAt'])),
|
|
71
|
+
'confirmation': json['confirmation'],
|
|
72
|
+
'awaitingConfirmation': json['awaitingConfirmation'],
|
|
73
|
+
'confirmedAt': (json['confirmedAt'] == null ? null : new Date(json['confirmedAt'])),
|
|
65
74
|
};
|
|
66
75
|
}
|
|
67
76
|
function AdapterConnectionToJSON(json) {
|
|
@@ -79,5 +88,8 @@ function AdapterConnectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
79
88
|
'scope': value['scope'],
|
|
80
89
|
'connected': value['connected'],
|
|
81
90
|
'updatedAt': (value['updatedAt'] == null ? null : value['updatedAt'].toISOString()),
|
|
91
|
+
'confirmation': value['confirmation'],
|
|
92
|
+
'awaitingConfirmation': value['awaitingConfirmation'],
|
|
93
|
+
'confirmedAt': (value['confirmedAt'] == null ? null : value['confirmedAt'].toISOString()),
|
|
82
94
|
};
|
|
83
95
|
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 BrandColor
|
|
16
|
+
*/
|
|
17
|
+
export interface BrandColor {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BrandColor
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BrandColor
|
|
28
|
+
*/
|
|
29
|
+
hex: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BrandColor
|
|
34
|
+
*/
|
|
35
|
+
role?: BrandColorRoleEnum;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const BrandColorRoleEnum: {
|
|
41
|
+
readonly Primary: 'primary';
|
|
42
|
+
readonly Secondary: 'secondary';
|
|
43
|
+
readonly Accent: 'accent';
|
|
44
|
+
readonly Background: 'background';
|
|
45
|
+
readonly Surface: 'surface';
|
|
46
|
+
readonly Text: 'text';
|
|
47
|
+
readonly Title: 'title';
|
|
48
|
+
readonly Sub: 'sub';
|
|
49
|
+
readonly Border: 'border';
|
|
50
|
+
readonly Error: 'error';
|
|
51
|
+
};
|
|
52
|
+
export type BrandColorRoleEnum = typeof BrandColorRoleEnum[keyof typeof BrandColorRoleEnum];
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the BrandColor interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfBrandColor(value: object): value is BrandColor;
|
|
57
|
+
export declare function BrandColorFromJSON(json: any): BrandColor;
|
|
58
|
+
export declare function BrandColorFromJSONTyped(json: any, ignoreDiscriminator: boolean): BrandColor;
|
|
59
|
+
export declare function BrandColorToJSON(json: any): BrandColor;
|
|
60
|
+
export declare function BrandColorToJSONTyped(value?: BrandColor | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,72 @@
|
|
|
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.BrandColorRoleEnum = void 0;
|
|
17
|
+
exports.instanceOfBrandColor = instanceOfBrandColor;
|
|
18
|
+
exports.BrandColorFromJSON = BrandColorFromJSON;
|
|
19
|
+
exports.BrandColorFromJSONTyped = BrandColorFromJSONTyped;
|
|
20
|
+
exports.BrandColorToJSON = BrandColorToJSON;
|
|
21
|
+
exports.BrandColorToJSONTyped = BrandColorToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.BrandColorRoleEnum = {
|
|
26
|
+
Primary: 'primary',
|
|
27
|
+
Secondary: 'secondary',
|
|
28
|
+
Accent: 'accent',
|
|
29
|
+
Background: 'background',
|
|
30
|
+
Surface: 'surface',
|
|
31
|
+
Text: 'text',
|
|
32
|
+
Title: 'title',
|
|
33
|
+
Sub: 'sub',
|
|
34
|
+
Border: 'border',
|
|
35
|
+
Error: 'error'
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the BrandColor interface.
|
|
39
|
+
*/
|
|
40
|
+
function instanceOfBrandColor(value) {
|
|
41
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('hex' in value) || value['hex'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
function BrandColorFromJSON(json) {
|
|
48
|
+
return BrandColorFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function BrandColorFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'name': json['name'],
|
|
56
|
+
'hex': json['hex'],
|
|
57
|
+
'role': json['role'] == null ? undefined : json['role'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function BrandColorToJSON(json) {
|
|
61
|
+
return BrandColorToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function BrandColorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'name': value['name'],
|
|
69
|
+
'hex': value['hex'],
|
|
70
|
+
'role': value['role'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -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 BrandFont
|
|
16
|
+
*/
|
|
17
|
+
export interface BrandFont {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BrandFont
|
|
22
|
+
*/
|
|
23
|
+
family: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BrandFont
|
|
28
|
+
*/
|
|
29
|
+
source: BrandFontSourceEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof BrandFont
|
|
34
|
+
*/
|
|
35
|
+
weight?: BrandFontWeightEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof BrandFont
|
|
40
|
+
*/
|
|
41
|
+
sizeMax?: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const BrandFontSourceEnum: {
|
|
47
|
+
readonly Google: 'google';
|
|
48
|
+
readonly Upload: 'upload';
|
|
49
|
+
};
|
|
50
|
+
export type BrandFontSourceEnum = typeof BrandFontSourceEnum[keyof typeof BrandFontSourceEnum];
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
*/
|
|
54
|
+
export declare const BrandFontWeightEnum: {
|
|
55
|
+
readonly NUMBER_100: 100;
|
|
56
|
+
readonly NUMBER_200: 200;
|
|
57
|
+
readonly NUMBER_300: 300;
|
|
58
|
+
readonly NUMBER_400: 400;
|
|
59
|
+
readonly NUMBER_500: 500;
|
|
60
|
+
readonly NUMBER_600: 600;
|
|
61
|
+
readonly NUMBER_700: 700;
|
|
62
|
+
readonly NUMBER_800: 800;
|
|
63
|
+
readonly NUMBER_900: 900;
|
|
64
|
+
};
|
|
65
|
+
export type BrandFontWeightEnum = typeof BrandFontWeightEnum[keyof typeof BrandFontWeightEnum];
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the BrandFont interface.
|
|
68
|
+
*/
|
|
69
|
+
export declare function instanceOfBrandFont(value: object): value is BrandFont;
|
|
70
|
+
export declare function BrandFontFromJSON(json: any): BrandFont;
|
|
71
|
+
export declare function BrandFontFromJSONTyped(json: any, ignoreDiscriminator: boolean): BrandFont;
|
|
72
|
+
export declare function BrandFontToJSON(json: any): BrandFont;
|
|
73
|
+
export declare function BrandFontToJSONTyped(value?: BrandFont | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,80 @@
|
|
|
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.BrandFontWeightEnum = exports.BrandFontSourceEnum = void 0;
|
|
17
|
+
exports.instanceOfBrandFont = instanceOfBrandFont;
|
|
18
|
+
exports.BrandFontFromJSON = BrandFontFromJSON;
|
|
19
|
+
exports.BrandFontFromJSONTyped = BrandFontFromJSONTyped;
|
|
20
|
+
exports.BrandFontToJSON = BrandFontToJSON;
|
|
21
|
+
exports.BrandFontToJSONTyped = BrandFontToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.BrandFontSourceEnum = {
|
|
26
|
+
Google: 'google',
|
|
27
|
+
Upload: 'upload'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
exports.BrandFontWeightEnum = {
|
|
33
|
+
NUMBER_100: 100,
|
|
34
|
+
NUMBER_200: 200,
|
|
35
|
+
NUMBER_300: 300,
|
|
36
|
+
NUMBER_400: 400,
|
|
37
|
+
NUMBER_500: 500,
|
|
38
|
+
NUMBER_600: 600,
|
|
39
|
+
NUMBER_700: 700,
|
|
40
|
+
NUMBER_800: 800,
|
|
41
|
+
NUMBER_900: 900
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the BrandFont interface.
|
|
45
|
+
*/
|
|
46
|
+
function instanceOfBrandFont(value) {
|
|
47
|
+
if (!('family' in value) || value['family'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
function BrandFontFromJSON(json) {
|
|
54
|
+
return BrandFontFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function BrandFontFromJSONTyped(json, ignoreDiscriminator) {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'family': json['family'],
|
|
62
|
+
'source': json['source'],
|
|
63
|
+
'weight': json['weight'] == null ? undefined : json['weight'],
|
|
64
|
+
'sizeMax': json['sizeMax'] == null ? undefined : json['sizeMax'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function BrandFontToJSON(json) {
|
|
68
|
+
return BrandFontToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
function BrandFontToJSONTyped(value, ignoreDiscriminator = false) {
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'family': value['family'],
|
|
76
|
+
'source': value['source'],
|
|
77
|
+
'weight': value['weight'],
|
|
78
|
+
'sizeMax': value['sizeMax'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
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 BrandKitAssetView
|
|
16
|
+
*/
|
|
17
|
+
export interface BrandKitAssetView {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BrandKitAssetView
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BrandKitAssetView
|
|
28
|
+
*/
|
|
29
|
+
kind: BrandKitAssetViewKindEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BrandKitAssetView
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof BrandKitAssetView
|
|
40
|
+
*/
|
|
41
|
+
createdAt: Date;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BrandKitAssetView
|
|
46
|
+
*/
|
|
47
|
+
family?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof BrandKitAssetView
|
|
52
|
+
*/
|
|
53
|
+
weight?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof BrandKitAssetView
|
|
58
|
+
*/
|
|
59
|
+
style?: BrandKitAssetViewStyleEnum;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof BrandKitAssetView
|
|
64
|
+
*/
|
|
65
|
+
format?: BrandKitAssetViewFormatEnum;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof BrandKitAssetView
|
|
70
|
+
*/
|
|
71
|
+
bytes?: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof BrandKitAssetView
|
|
76
|
+
*/
|
|
77
|
+
url?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof BrandKitAssetView
|
|
82
|
+
*/
|
|
83
|
+
slug?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof BrandKitAssetView
|
|
88
|
+
*/
|
|
89
|
+
exportName?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof BrandKitAssetView
|
|
94
|
+
*/
|
|
95
|
+
svg?: string;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @export
|
|
99
|
+
*/
|
|
100
|
+
export declare const BrandKitAssetViewKindEnum: {
|
|
101
|
+
readonly Font: 'font';
|
|
102
|
+
readonly Icon: 'icon';
|
|
103
|
+
};
|
|
104
|
+
export type BrandKitAssetViewKindEnum = typeof BrandKitAssetViewKindEnum[keyof typeof BrandKitAssetViewKindEnum];
|
|
105
|
+
/**
|
|
106
|
+
* @export
|
|
107
|
+
*/
|
|
108
|
+
export declare const BrandKitAssetViewStyleEnum: {
|
|
109
|
+
readonly Normal: 'normal';
|
|
110
|
+
readonly Italic: 'italic';
|
|
111
|
+
};
|
|
112
|
+
export type BrandKitAssetViewStyleEnum = typeof BrandKitAssetViewStyleEnum[keyof typeof BrandKitAssetViewStyleEnum];
|
|
113
|
+
/**
|
|
114
|
+
* @export
|
|
115
|
+
*/
|
|
116
|
+
export declare const BrandKitAssetViewFormatEnum: {
|
|
117
|
+
readonly Woff2: 'woff2';
|
|
118
|
+
readonly Woff: 'woff';
|
|
119
|
+
readonly Ttf: 'ttf';
|
|
120
|
+
readonly Otf: 'otf';
|
|
121
|
+
};
|
|
122
|
+
export type BrandKitAssetViewFormatEnum = typeof BrandKitAssetViewFormatEnum[keyof typeof BrandKitAssetViewFormatEnum];
|
|
123
|
+
/**
|
|
124
|
+
* Check if a given object implements the BrandKitAssetView interface.
|
|
125
|
+
*/
|
|
126
|
+
export declare function instanceOfBrandKitAssetView(value: object): value is BrandKitAssetView;
|
|
127
|
+
export declare function BrandKitAssetViewFromJSON(json: any): BrandKitAssetView;
|
|
128
|
+
export declare function BrandKitAssetViewFromJSONTyped(json: any, ignoreDiscriminator: boolean): BrandKitAssetView;
|
|
129
|
+
export declare function BrandKitAssetViewToJSON(json: any): BrandKitAssetView;
|
|
130
|
+
export declare function BrandKitAssetViewToJSONTyped(value?: BrandKitAssetView | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,104 @@
|
|
|
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.BrandKitAssetViewFormatEnum = exports.BrandKitAssetViewStyleEnum = exports.BrandKitAssetViewKindEnum = void 0;
|
|
17
|
+
exports.instanceOfBrandKitAssetView = instanceOfBrandKitAssetView;
|
|
18
|
+
exports.BrandKitAssetViewFromJSON = BrandKitAssetViewFromJSON;
|
|
19
|
+
exports.BrandKitAssetViewFromJSONTyped = BrandKitAssetViewFromJSONTyped;
|
|
20
|
+
exports.BrandKitAssetViewToJSON = BrandKitAssetViewToJSON;
|
|
21
|
+
exports.BrandKitAssetViewToJSONTyped = BrandKitAssetViewToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.BrandKitAssetViewKindEnum = {
|
|
26
|
+
Font: 'font',
|
|
27
|
+
Icon: 'icon'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
exports.BrandKitAssetViewStyleEnum = {
|
|
33
|
+
Normal: 'normal',
|
|
34
|
+
Italic: 'italic'
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
*/
|
|
39
|
+
exports.BrandKitAssetViewFormatEnum = {
|
|
40
|
+
Woff2: 'woff2',
|
|
41
|
+
Woff: 'woff',
|
|
42
|
+
Ttf: 'ttf',
|
|
43
|
+
Otf: 'otf'
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the BrandKitAssetView interface.
|
|
47
|
+
*/
|
|
48
|
+
function instanceOfBrandKitAssetView(value) {
|
|
49
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
function BrandKitAssetViewFromJSON(json) {
|
|
60
|
+
return BrandKitAssetViewFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function BrandKitAssetViewFromJSONTyped(json, ignoreDiscriminator) {
|
|
63
|
+
if (json == null) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'id': json['id'],
|
|
68
|
+
'kind': json['kind'],
|
|
69
|
+
'name': json['name'],
|
|
70
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
71
|
+
'family': json['family'] == null ? undefined : json['family'],
|
|
72
|
+
'weight': json['weight'] == null ? undefined : json['weight'],
|
|
73
|
+
'style': json['style'] == null ? undefined : json['style'],
|
|
74
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
75
|
+
'bytes': json['bytes'] == null ? undefined : json['bytes'],
|
|
76
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
77
|
+
'slug': json['slug'] == null ? undefined : json['slug'],
|
|
78
|
+
'exportName': json['exportName'] == null ? undefined : json['exportName'],
|
|
79
|
+
'svg': json['svg'] == null ? undefined : json['svg'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
function BrandKitAssetViewToJSON(json) {
|
|
83
|
+
return BrandKitAssetViewToJSONTyped(json, false);
|
|
84
|
+
}
|
|
85
|
+
function BrandKitAssetViewToJSONTyped(value, ignoreDiscriminator = false) {
|
|
86
|
+
if (value == null) {
|
|
87
|
+
return value;
|
|
88
|
+
}
|
|
89
|
+
return {
|
|
90
|
+
'id': value['id'],
|
|
91
|
+
'kind': value['kind'],
|
|
92
|
+
'name': value['name'],
|
|
93
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
94
|
+
'family': value['family'],
|
|
95
|
+
'weight': value['weight'],
|
|
96
|
+
'style': value['style'],
|
|
97
|
+
'format': value['format'],
|
|
98
|
+
'bytes': value['bytes'],
|
|
99
|
+
'url': value['url'],
|
|
100
|
+
'slug': value['slug'],
|
|
101
|
+
'exportName': value['exportName'],
|
|
102
|
+
'svg': value['svg'],
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 BrandKitFigmaSource
|
|
16
|
+
*/
|
|
17
|
+
export interface BrandKitFigmaSource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BrandKitFigmaSource
|
|
22
|
+
*/
|
|
23
|
+
url: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BrandKitFigmaSource
|
|
28
|
+
*/
|
|
29
|
+
fileKey: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BrandKitFigmaSource
|
|
34
|
+
*/
|
|
35
|
+
nodeId: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BrandKitFigmaSource
|
|
40
|
+
*/
|
|
41
|
+
fileName: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof BrandKitFigmaSource
|
|
46
|
+
*/
|
|
47
|
+
importedAt: Date;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the BrandKitFigmaSource interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfBrandKitFigmaSource(value: object): value is BrandKitFigmaSource;
|
|
53
|
+
export declare function BrandKitFigmaSourceFromJSON(json: any): BrandKitFigmaSource;
|
|
54
|
+
export declare function BrandKitFigmaSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): BrandKitFigmaSource;
|
|
55
|
+
export declare function BrandKitFigmaSourceToJSON(json: any): BrandKitFigmaSource;
|
|
56
|
+
export declare function BrandKitFigmaSourceToJSONTyped(value?: BrandKitFigmaSource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.instanceOfBrandKitFigmaSource = instanceOfBrandKitFigmaSource;
|
|
17
|
+
exports.BrandKitFigmaSourceFromJSON = BrandKitFigmaSourceFromJSON;
|
|
18
|
+
exports.BrandKitFigmaSourceFromJSONTyped = BrandKitFigmaSourceFromJSONTyped;
|
|
19
|
+
exports.BrandKitFigmaSourceToJSON = BrandKitFigmaSourceToJSON;
|
|
20
|
+
exports.BrandKitFigmaSourceToJSONTyped = BrandKitFigmaSourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BrandKitFigmaSource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBrandKitFigmaSource(value) {
|
|
25
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('fileKey' in value) || value['fileKey'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('nodeId' in value) || value['nodeId'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('fileName' in value) || value['fileName'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('importedAt' in value) || value['importedAt'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function BrandKitFigmaSourceFromJSON(json) {
|
|
38
|
+
return BrandKitFigmaSourceFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function BrandKitFigmaSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'url': json['url'],
|
|
46
|
+
'fileKey': json['fileKey'],
|
|
47
|
+
'nodeId': json['nodeId'],
|
|
48
|
+
'fileName': json['fileName'],
|
|
49
|
+
'importedAt': (new Date(json['importedAt'])),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function BrandKitFigmaSourceToJSON(json) {
|
|
53
|
+
return BrandKitFigmaSourceToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function BrandKitFigmaSourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'url': value['url'],
|
|
61
|
+
'fileKey': value['fileKey'],
|
|
62
|
+
'nodeId': value['nodeId'],
|
|
63
|
+
'fileName': value['fileName'],
|
|
64
|
+
'importedAt': ((value['importedAt']).toISOString()),
|
|
65
|
+
};
|
|
66
|
+
}
|