@widgetic/api-sdk-ts 1.11.109 → 1.11.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/apis/BrandKitApi.d.ts +130 -0
- package/dist/apis/BrandKitApi.js +381 -0
- package/dist/apis/CanvasesApi.d.ts +15 -15
- package/dist/apis/CompositionsApi.d.ts +257 -155
- package/dist/apis/CompositionsApi.js +338 -134
- package/dist/apis/CreditsApi.d.ts +11 -11
- package/dist/apis/CreditsApi.js +5 -5
- package/dist/apis/EntitlementsApi.d.ts +6 -6
- package/dist/apis/InvoicesApi.d.ts +6 -6
- package/dist/apis/InvoicesApi.js +2 -2
- package/dist/apis/ManagedUsersApi.d.ts +97 -63
- package/dist/apis/ManagedUsersApi.js +106 -39
- package/dist/apis/OperationsApi.d.ts +4 -4
- package/dist/apis/OperationsApi.js +5 -5
- package/dist/apis/OrganizationsApi.d.ts +74 -0
- package/dist/apis/OrganizationsApi.js +205 -0
- package/dist/apis/PartnersApi.d.ts +133 -133
- package/dist/apis/PartnersApi.js +19 -19
- package/dist/apis/PublicEmbedApi.d.ts +57 -42
- package/dist/apis/PublicEmbedApi.js +64 -29
- package/dist/apis/TokensApi.d.ts +2 -0
- package/dist/apis/TokensApi.js +2 -0
- package/dist/apis/UploadsApi.d.ts +40 -40
- package/dist/apis/UploadsApi.js +60 -60
- package/dist/apis/UsersApi.d.ts +30 -86
- package/dist/apis/UsersApi.js +6 -154
- package/dist/apis/WidgetsApi.d.ts +25 -25
- package/dist/apis/WidgetsApi.js +38 -38
- package/dist/apis/WorkflowsApi.d.ts +115 -157
- package/dist/apis/WorkflowsApi.js +111 -221
- package/dist/apis/index.d.ts +2 -2
- package/dist/apis/index.js +2 -2
- package/dist/esm/apis/BrandKitApi.js +344 -0
- package/dist/esm/apis/CompositionsApi.js +338 -134
- package/dist/esm/apis/CreditsApi.js +6 -6
- package/dist/esm/apis/InvoicesApi.js +1 -1
- package/dist/esm/apis/ManagedUsersApi.js +106 -39
- package/dist/esm/apis/OperationsApi.js +6 -6
- package/dist/esm/apis/OrganizationsApi.js +168 -0
- package/dist/esm/apis/PartnersApi.js +20 -20
- package/dist/esm/apis/PublicEmbedApi.js +65 -30
- package/dist/esm/apis/TokensApi.js +2 -0
- package/dist/esm/apis/UploadsApi.js +60 -60
- package/dist/esm/apis/UsersApi.js +7 -155
- package/dist/esm/apis/WidgetsApi.js +39 -39
- package/dist/esm/apis/WorkflowsApi.js +111 -221
- package/dist/esm/apis/index.js +2 -2
- package/dist/esm/models/{GetPartnerCreditTransactions200Response.js → AccountCreditTransactionListResponse.js} +8 -8
- package/dist/esm/models/{GetUserAdapterConnections200Response.js → AdapterConnectionListResponse.js} +8 -8
- package/dist/esm/models/{RemoveUserAdapterConnection200Response.js → AdapterConnectionRemovalResponse.js} +8 -8
- package/dist/esm/models/{SetUserAdapterConnection200Response.js → AdapterConnectionResponse.js} +8 -8
- package/dist/esm/models/AddOrganizationDomainResponse.js +51 -0
- package/dist/esm/models/AddOrganizationDomainResponseData.js +44 -0
- package/dist/esm/models/{AddAiAnswersKnowledgeDocument201Response.js → AiAnswersKnowledgeDocumentResponse.js} +8 -8
- package/dist/esm/models/BrandColor.js +64 -0
- package/dist/esm/models/BrandFont.js +72 -0
- package/dist/esm/models/BrandKitAssetView.js +96 -0
- package/dist/esm/models/BrandKitFigmaSource.js +59 -0
- package/dist/esm/models/BrandKitTokens.js +59 -0
- package/dist/esm/models/BrandKitTokensFonts.js +48 -0
- package/dist/esm/models/BrandKitView.js +75 -0
- package/dist/esm/models/BrandKitViewOwner.js +54 -0
- package/dist/esm/models/BrandKitViewResponse.js +51 -0
- package/dist/esm/models/BrandSpacing.js +71 -0
- package/dist/esm/models/BrandTextStyle.js +65 -0
- package/dist/esm/models/Canvas.js +3 -0
- package/dist/esm/models/CanvasActiveOperation.js +66 -0
- package/dist/esm/models/{CreateCompositionDatabaseRecord201Response.js → CompositionDatabaseRecordResponse.js} +8 -8
- package/dist/esm/models/{CreateCompositionContentItem201Response.js → ContentItemWriteResultResponse.js} +8 -8
- package/dist/esm/models/CreateWidget201ResponseData.js +6 -0
- package/dist/esm/models/{CreateCompositionFromWidget201Response.js → DeleteOrganizationDomainResponse.js} +11 -11
- package/dist/esm/models/DeleteOrganizationDomainResponseData.js +41 -0
- package/dist/esm/models/{OperationsIdGetResponse.js → DeleteUpload200Response.js} +11 -11
- package/dist/esm/models/{UploadsIdDelete200ResponseData.js → DeleteUpload200ResponseData.js} +8 -8
- package/dist/esm/models/{GetPartnerDesignDefaults200Response.js → DesignDefaultsResponse.js} +8 -8
- package/dist/esm/models/EditorSession.js +4 -0
- package/dist/esm/models/GetOperationResponse.js +51 -0
- package/dist/esm/models/{OperationsIdGetResponseData.js → GetOperationResponseData.js} +12 -11
- package/dist/esm/models/GetOperationResponseDataMetadata.js +69 -0
- package/dist/esm/models/GetOrganizationDomains200Response.js +51 -0
- package/dist/esm/models/{UploadsGet200Response.js → ListUploads200Response.js} +8 -8
- package/dist/esm/models/{GetManagedUserLimits200Response.js → ManagedUserLimitsResponse.js} +8 -8
- package/dist/esm/models/{DeleteManagedUser200Response.js → ManagedUserRemovalResponse.js} +8 -8
- package/dist/esm/models/NewWidget.js +0 -1
- package/dist/esm/models/{PersonalWorkspaceDomain.js → OrganizationDomain.js} +12 -18
- package/dist/esm/models/PatchBrandKitAssetRequest.js +68 -0
- package/dist/esm/models/PatchBrandKitRequest.js +57 -0
- package/dist/esm/models/PatchBrandKitRequestFonts.js +48 -0
- package/dist/esm/models/PatchBrandKitRequestSpacing.js +55 -0
- package/dist/esm/models/PostBrandKitIconRequest.js +47 -0
- package/dist/esm/models/PublicWorkflowEventsRequestEventsInner.js +11 -0
- package/dist/esm/models/{GetPublicWorkflow200Response.js → PublicWorkflowResponse.js} +8 -8
- package/dist/esm/models/PutBrandKitRequest.js +49 -0
- package/dist/esm/models/UpdateOrganizationDomainResponse.js +51 -0
- package/dist/esm/models/Upload.js +2 -0
- package/dist/esm/models/UserApiKey.js +2 -0
- package/dist/esm/models/ValidateToken200ResponseData.js +3 -0
- package/dist/esm/models/ValidateToken200ResponseDataWorkspace.js +43 -0
- package/dist/esm/models/Widget.js +6 -0
- package/dist/esm/models/WidgetClarification.js +52 -0
- package/dist/esm/models/WidgetClarificationOption.js +51 -0
- package/dist/esm/models/WidgetClarificationQuestion.js +64 -0
- package/dist/esm/models/WidgetCodeChange.js +68 -0
- package/dist/esm/models/WidgetCodeChanges.js +48 -0
- package/dist/esm/models/WidgetNextStep.js +71 -0
- package/dist/esm/models/WidgetPlan.js +61 -0
- package/dist/esm/models/WidgetPlanDecisions.js +72 -0
- package/dist/esm/models/WidgetPlanDecisionsAdaptersInner.js +47 -0
- package/dist/esm/models/WidgetPlanDecisionsLibrariesInner.js +51 -0
- package/dist/esm/models/WidgetPlanDecisionsResponsive.js +51 -0
- package/dist/esm/models/WidgetPlanTask.js +80 -0
- package/dist/esm/models/{CreateWorkspaceWorkflowFromPreset201Response.js → WorkflowDetailResponse.js} +8 -8
- package/dist/esm/models/WorkflowFailureReason.js +49 -0
- package/dist/esm/models/WorkflowFailureReasonCounter.js +52 -0
- package/dist/esm/models/{SaveWorkspaceWorkflow200Response.js → WorkflowResponse.js} +8 -8
- package/dist/esm/models/WorkflowStats.js +3 -0
- package/dist/esm/models/index.js +59 -25
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AccountCreditBalance.d.ts +2 -2
- package/dist/models/AccountCreditTransactionListResponse.d.ts +46 -0
- package/dist/models/{GetPartnerCreditTransactions200Response.js → AccountCreditTransactionListResponse.js} +13 -13
- package/dist/models/AdapterConnectionListResponse.d.ts +46 -0
- package/dist/models/{GetUserAdapterConnections200Response.js → AdapterConnectionListResponse.js} +13 -13
- package/dist/models/AdapterConnectionRemovalResponse.d.ts +46 -0
- package/dist/models/{RemoveUserAdapterConnection200Response.js → AdapterConnectionRemovalResponse.js} +13 -13
- package/dist/models/AdapterConnectionResponse.d.ts +46 -0
- package/dist/models/{SetUserAdapterConnection200Response.js → AdapterConnectionResponse.js} +13 -13
- package/dist/models/AddOrganizationDomainResponse.d.ts +46 -0
- package/dist/models/AddOrganizationDomainResponse.js +58 -0
- package/dist/models/AddOrganizationDomainResponseData.d.ts +39 -0
- package/dist/models/AddOrganizationDomainResponseData.js +51 -0
- package/dist/models/AiAnswersKnowledgeDocumentResponse.d.ts +46 -0
- package/dist/models/{AddAiAnswersKnowledgeDocument201Response.js → AiAnswersKnowledgeDocumentResponse.js} +13 -13
- package/dist/models/BrandColor.d.ts +60 -0
- package/dist/models/BrandColor.js +72 -0
- package/dist/models/BrandFont.d.ts +73 -0
- package/dist/models/BrandFont.js +80 -0
- package/dist/models/BrandKitAssetView.d.ts +130 -0
- package/dist/models/BrandKitAssetView.js +104 -0
- package/dist/models/BrandKitFigmaSource.d.ts +56 -0
- package/dist/models/BrandKitFigmaSource.js +66 -0
- package/dist/models/BrandKitTokens.d.ts +60 -0
- package/dist/models/BrandKitTokens.js +66 -0
- package/dist/models/BrandKitTokensFonts.d.ts +51 -0
- package/dist/models/BrandKitTokensFonts.js +55 -0
- package/dist/models/BrandKitView.d.ts +90 -0
- package/dist/models/BrandKitView.js +82 -0
- package/dist/models/BrandKitViewOwner.d.ts +46 -0
- package/dist/models/BrandKitViewOwner.js +62 -0
- package/dist/models/BrandKitViewResponse.d.ts +46 -0
- package/dist/models/BrandKitViewResponse.js +58 -0
- package/dist/models/BrandSpacing.d.ts +74 -0
- package/dist/models/BrandSpacing.js +78 -0
- package/dist/models/BrandTextStyle.d.ts +59 -0
- package/dist/models/BrandTextStyle.js +73 -0
- package/dist/models/Canvas.d.ts +7 -0
- package/dist/models/Canvas.js +3 -0
- package/dist/models/CanvasActiveOperation.d.ts +65 -0
- package/dist/models/CanvasActiveOperation.js +74 -0
- package/dist/models/CompositionDatabaseRecordResponse.d.ts +48 -0
- package/dist/models/CompositionDatabaseRecordResponse.js +57 -0
- package/dist/models/ContentItemWriteResultResponse.d.ts +46 -0
- package/dist/models/{CreateCompositionContentItem201Response.js → ContentItemWriteResultResponse.js} +13 -13
- package/dist/models/CreateWidget201ResponseData.d.ts +18 -0
- package/dist/models/CreateWidget201ResponseData.js +6 -0
- package/dist/models/DeleteOrganizationDomainResponse.d.ts +46 -0
- package/dist/models/DeleteOrganizationDomainResponse.js +58 -0
- package/dist/models/DeleteOrganizationDomainResponseData.d.ts +32 -0
- package/dist/models/DeleteOrganizationDomainResponseData.js +48 -0
- package/dist/models/DeleteUpload200Response.d.ts +46 -0
- package/dist/models/{OperationsIdGetResponse.js → DeleteUpload200Response.js} +16 -16
- package/dist/models/DeleteUpload200ResponseData.d.ts +32 -0
- package/dist/models/DeleteUpload200ResponseData.js +48 -0
- package/dist/models/DesignDefaultsResponse.d.ts +46 -0
- package/dist/models/{GetPartnerDesignDefaults200Response.js → DesignDefaultsResponse.js} +13 -13
- package/dist/models/EditorSession.d.ts +7 -0
- package/dist/models/EditorSession.js +4 -0
- package/dist/models/GetOperationResponse.d.ts +46 -0
- package/dist/models/GetOperationResponse.js +58 -0
- package/dist/models/GetOperationResponseData.d.ts +86 -0
- package/dist/models/{OperationsIdGetResponseData.js → GetOperationResponseData.js} +18 -17
- package/dist/models/GetOperationResponseDataMetadata.d.ts +87 -0
- package/dist/models/GetOperationResponseDataMetadata.js +77 -0
- package/dist/models/GetOrganizationDomains200Response.d.ts +46 -0
- package/dist/models/GetOrganizationDomains200Response.js +58 -0
- package/dist/models/ListUploads200Response.d.ts +46 -0
- package/dist/models/{UploadsGet200Response.js → ListUploads200Response.js} +13 -13
- package/dist/models/ManagedUserLimitsResponse.d.ts +46 -0
- package/dist/models/{GetManagedUserLimits200Response.js → ManagedUserLimitsResponse.js} +13 -13
- package/dist/models/ManagedUserRemovalResponse.d.ts +46 -0
- package/dist/models/{DeleteManagedUser200Response.js → ManagedUserRemovalResponse.js} +13 -13
- package/dist/models/NewEditorSession.d.ts +1 -1
- package/dist/models/NewWidget.d.ts +2 -3
- package/dist/models/NewWidget.js +0 -1
- package/dist/models/OrganizationDomain.d.ts +56 -0
- package/dist/models/OrganizationDomain.js +56 -0
- package/dist/models/PartnerBillingOverviewOperationalCredits.d.ts +1 -1
- package/dist/models/PatchBrandKitAssetRequest.d.ts +73 -0
- package/dist/models/PatchBrandKitAssetRequest.js +76 -0
- package/dist/models/PatchBrandKitRequest.d.ts +72 -0
- package/dist/models/PatchBrandKitRequest.js +64 -0
- package/dist/models/PatchBrandKitRequestFonts.d.ts +51 -0
- package/dist/models/PatchBrandKitRequestFonts.js +55 -0
- package/dist/models/PatchBrandKitRequestSpacing.d.ts +74 -0
- package/dist/models/PatchBrandKitRequestSpacing.js +62 -0
- package/dist/models/PostBrandKitIconRequest.d.ts +38 -0
- package/dist/models/PostBrandKitIconRequest.js +54 -0
- package/dist/models/PublicWorkflowEventsRequestEventsInner.d.ts +21 -0
- package/dist/models/PublicWorkflowEventsRequestEventsInner.js +12 -1
- package/dist/models/PublicWorkflowResponse.d.ts +46 -0
- package/dist/models/{GetPublicWorkflow200Response.js → PublicWorkflowResponse.js} +13 -13
- package/dist/models/PutBrandKitRequest.d.ts +46 -0
- package/dist/models/PutBrandKitRequest.js +56 -0
- package/dist/models/UpdateOrganizationDomainResponse.d.ts +46 -0
- package/dist/models/UpdateOrganizationDomainResponse.js +58 -0
- package/dist/models/Upload.d.ts +7 -1
- package/dist/models/Upload.js +2 -0
- package/dist/models/UploadLimits.d.ts +3 -3
- package/dist/models/UserApiKey.d.ts +6 -0
- package/dist/models/UserApiKey.js +2 -0
- package/dist/models/ValidateToken200ResponseData.d.ts +7 -0
- package/dist/models/ValidateToken200ResponseData.js +3 -0
- package/dist/models/ValidateToken200ResponseDataWorkspace.d.ts +38 -0
- package/dist/models/ValidateToken200ResponseDataWorkspace.js +50 -0
- package/dist/models/Widget.d.ts +18 -0
- package/dist/models/Widget.js +6 -0
- package/dist/models/WidgetClarification.d.ts +45 -0
- package/dist/models/WidgetClarification.js +59 -0
- package/dist/models/WidgetClarificationOption.d.ts +44 -0
- package/dist/models/WidgetClarificationOption.js +58 -0
- package/dist/models/WidgetClarificationQuestion.d.ts +63 -0
- package/dist/models/WidgetClarificationQuestion.js +71 -0
- package/dist/models/WidgetCodeChange.d.ts +70 -0
- package/dist/models/WidgetCodeChange.js +76 -0
- package/dist/models/WidgetCodeChanges.d.ts +39 -0
- package/dist/models/WidgetCodeChanges.js +55 -0
- package/dist/models/WidgetNextStep.d.ts +69 -0
- package/dist/models/WidgetNextStep.js +79 -0
- package/dist/models/WidgetPlan.d.ts +58 -0
- package/dist/models/WidgetPlan.js +68 -0
- package/dist/models/WidgetPlanDecisions.d.ts +77 -0
- package/dist/models/WidgetPlanDecisions.js +79 -0
- package/dist/models/WidgetPlanDecisionsAdaptersInner.d.ts +38 -0
- package/dist/models/WidgetPlanDecisionsAdaptersInner.js +54 -0
- package/dist/models/WidgetPlanDecisionsLibrariesInner.d.ts +44 -0
- package/dist/models/WidgetPlanDecisionsLibrariesInner.js +58 -0
- package/dist/models/WidgetPlanDecisionsResponsive.d.ts +44 -0
- package/dist/models/WidgetPlanDecisionsResponsive.js +58 -0
- package/dist/models/WidgetPlanTask.d.ts +77 -0
- package/dist/models/WidgetPlanTask.js +88 -0
- package/dist/models/WorkflowDetailAllOfLastEditedBy.d.ts +2 -2
- package/dist/models/WorkflowDetailResponse.d.ts +46 -0
- package/dist/models/WorkflowDetailResponse.js +58 -0
- package/dist/models/WorkflowFailureReason.d.ts +31 -0
- package/dist/models/WorkflowFailureReason.js +57 -0
- package/dist/models/WorkflowFailureReasonCounter.d.ts +45 -0
- package/dist/models/WorkflowFailureReasonCounter.js +59 -0
- package/dist/models/WorkflowResponse.d.ts +46 -0
- package/dist/models/{SaveWorkspaceWorkflow200Response.js → WorkflowResponse.js} +13 -13
- package/dist/models/WorkflowStats.d.ts +16 -1
- package/dist/models/WorkflowStats.js +3 -0
- package/dist/models/index.d.ts +59 -25
- package/dist/models/index.js +59 -25
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/dist/apis/PartnerApi.d.ts +0 -2595
- package/dist/apis/PartnerApi.js +0 -6749
- package/dist/apis/WorkspacesApi.d.ts +0 -352
- package/dist/apis/WorkspacesApi.js +0 -946
- package/dist/esm/apis/PartnerApi.js +0 -6712
- package/dist/esm/apis/WorkspacesApi.js +0 -909
- package/dist/esm/models/DeletePersonalWorkspaceDomainResponse.js +0 -51
- package/dist/esm/models/DeletePersonalWorkspaceDomainResponseData.js +0 -41
- package/dist/esm/models/GetPersonalWorkspaceDomains200Response.js +0 -51
- package/dist/esm/models/PersonalWorkspaceDomainResult.js +0 -48
- package/dist/esm/models/PersonalWorkspaceDomainResultResponse.js +0 -51
- package/dist/esm/models/UploadsIdDelete200Response.js +0 -51
- package/dist/models/AddAiAnswersKnowledgeDocument201Response.d.ts +0 -46
- package/dist/models/CreateCompositionContentItem201Response.d.ts +0 -46
- package/dist/models/CreateCompositionDatabaseRecord201Response.d.ts +0 -48
- package/dist/models/CreateCompositionDatabaseRecord201Response.js +0 -57
- package/dist/models/CreateCompositionFromWidget201Response.d.ts +0 -46
- package/dist/models/CreateCompositionFromWidget201Response.js +0 -58
- package/dist/models/CreateWorkspaceWorkflowFromPreset201Response.d.ts +0 -46
- package/dist/models/CreateWorkspaceWorkflowFromPreset201Response.js +0 -58
- package/dist/models/DeleteManagedUser200Response.d.ts +0 -46
- package/dist/models/DeletePersonalWorkspaceDomainResponse.d.ts +0 -46
- package/dist/models/DeletePersonalWorkspaceDomainResponse.js +0 -58
- package/dist/models/DeletePersonalWorkspaceDomainResponseData.d.ts +0 -32
- package/dist/models/DeletePersonalWorkspaceDomainResponseData.js +0 -48
- package/dist/models/GetManagedUserLimits200Response.d.ts +0 -46
- package/dist/models/GetPartnerCreditTransactions200Response.d.ts +0 -46
- package/dist/models/GetPartnerDesignDefaults200Response.d.ts +0 -46
- package/dist/models/GetPersonalWorkspaceDomains200Response.d.ts +0 -46
- package/dist/models/GetPersonalWorkspaceDomains200Response.js +0 -58
- package/dist/models/GetPublicWorkflow200Response.d.ts +0 -46
- package/dist/models/GetUserAdapterConnections200Response.d.ts +0 -46
- package/dist/models/OperationsIdGetResponse.d.ts +0 -46
- package/dist/models/OperationsIdGetResponseData.d.ts +0 -88
- package/dist/models/PersonalWorkspaceDomain.d.ts +0 -56
- package/dist/models/PersonalWorkspaceDomain.js +0 -62
- package/dist/models/PersonalWorkspaceDomainResult.d.ts +0 -39
- package/dist/models/PersonalWorkspaceDomainResult.js +0 -55
- package/dist/models/PersonalWorkspaceDomainResultResponse.d.ts +0 -46
- package/dist/models/PersonalWorkspaceDomainResultResponse.js +0 -58
- package/dist/models/RemoveUserAdapterConnection200Response.d.ts +0 -46
- package/dist/models/SaveWorkspaceWorkflow200Response.d.ts +0 -46
- package/dist/models/SetUserAdapterConnection200Response.d.ts +0 -46
- package/dist/models/UploadsGet200Response.d.ts +0 -46
- package/dist/models/UploadsIdDelete200Response.d.ts +0 -46
- package/dist/models/UploadsIdDelete200Response.js +0 -58
- package/dist/models/UploadsIdDelete200ResponseData.d.ts +0 -32
- package/dist/models/UploadsIdDelete200ResponseData.js +0 -48
|
@@ -0,0 +1,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
|
+
}
|
|
@@ -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
|
+
import type { BrandTextStyle } from './BrandTextStyle';
|
|
13
|
+
import type { BrandSpacing } from './BrandSpacing';
|
|
14
|
+
import type { BrandColor } from './BrandColor';
|
|
15
|
+
import type { BrandKitTokensFonts } from './BrandKitTokensFonts';
|
|
16
|
+
/**
|
|
17
|
+
* Colors, fonts by role, text styles, spacing and corner radii of a Brand Kit.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface BrandKitTokens
|
|
20
|
+
*/
|
|
21
|
+
export interface BrandKitTokens {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<BrandColor>}
|
|
25
|
+
* @memberof BrandKitTokens
|
|
26
|
+
*/
|
|
27
|
+
colors: Array<BrandColor>;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {BrandKitTokensFonts}
|
|
31
|
+
* @memberof BrandKitTokens
|
|
32
|
+
*/
|
|
33
|
+
fonts: BrandKitTokensFonts;
|
|
34
|
+
/**
|
|
35
|
+
* The owner's text styles (family, weight and size). When there are some, they are what every widget made with the kit is told about type and the fonts by role are not used; with none, the fonts by role apply. A font file that is deleted takes the text styles made from it with it. Left out when the kit has none.
|
|
36
|
+
* @type {Array<BrandTextStyle>}
|
|
37
|
+
* @memberof BrandKitTokens
|
|
38
|
+
*/
|
|
39
|
+
textStyles?: Array<BrandTextStyle>;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {BrandSpacing}
|
|
43
|
+
* @memberof BrandKitTokens
|
|
44
|
+
*/
|
|
45
|
+
spacing: BrandSpacing;
|
|
46
|
+
/**
|
|
47
|
+
* The kit owner's own style notes, taken into account in every widget made with the kit, for example "Use the dark color as the background always and the light color for titles". They are about how a widget looks and never about what it holds, and what a request names itself wins over them. Left out, Widgetic's default note applies ("Widget backgrounds to be white whenever possible."); an empty string means none.
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof BrandKitTokens
|
|
50
|
+
*/
|
|
51
|
+
instructions?: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the BrandKitTokens interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfBrandKitTokens(value: object): value is BrandKitTokens;
|
|
57
|
+
export declare function BrandKitTokensFromJSON(json: any): BrandKitTokens;
|
|
58
|
+
export declare function BrandKitTokensFromJSONTyped(json: any, ignoreDiscriminator: boolean): BrandKitTokens;
|
|
59
|
+
export declare function BrandKitTokensToJSON(json: any): BrandKitTokens;
|
|
60
|
+
export declare function BrandKitTokensToJSONTyped(value?: BrandKitTokens | 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.instanceOfBrandKitTokens = instanceOfBrandKitTokens;
|
|
17
|
+
exports.BrandKitTokensFromJSON = BrandKitTokensFromJSON;
|
|
18
|
+
exports.BrandKitTokensFromJSONTyped = BrandKitTokensFromJSONTyped;
|
|
19
|
+
exports.BrandKitTokensToJSON = BrandKitTokensToJSON;
|
|
20
|
+
exports.BrandKitTokensToJSONTyped = BrandKitTokensToJSONTyped;
|
|
21
|
+
const BrandTextStyle_1 = require("./BrandTextStyle");
|
|
22
|
+
const BrandSpacing_1 = require("./BrandSpacing");
|
|
23
|
+
const BrandColor_1 = require("./BrandColor");
|
|
24
|
+
const BrandKitTokensFonts_1 = require("./BrandKitTokensFonts");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the BrandKitTokens interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfBrandKitTokens(value) {
|
|
29
|
+
if (!('colors' in value) || value['colors'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('fonts' in value) || value['fonts'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('spacing' in value) || value['spacing'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function BrandKitTokensFromJSON(json) {
|
|
38
|
+
return BrandKitTokensFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function BrandKitTokensFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'colors': (json['colors'].map(BrandColor_1.BrandColorFromJSON)),
|
|
46
|
+
'fonts': (0, BrandKitTokensFonts_1.BrandKitTokensFontsFromJSON)(json['fonts']),
|
|
47
|
+
'textStyles': json['textStyles'] == null ? undefined : (json['textStyles'].map(BrandTextStyle_1.BrandTextStyleFromJSON)),
|
|
48
|
+
'spacing': (0, BrandSpacing_1.BrandSpacingFromJSON)(json['spacing']),
|
|
49
|
+
'instructions': json['instructions'] == null ? undefined : json['instructions'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function BrandKitTokensToJSON(json) {
|
|
53
|
+
return BrandKitTokensToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function BrandKitTokensToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'colors': (value['colors'].map(BrandColor_1.BrandColorToJSON)),
|
|
61
|
+
'fonts': (0, BrandKitTokensFonts_1.BrandKitTokensFontsToJSON)(value['fonts']),
|
|
62
|
+
'textStyles': value['textStyles'] == null ? undefined : (value['textStyles'].map(BrandTextStyle_1.BrandTextStyleToJSON)),
|
|
63
|
+
'spacing': (0, BrandSpacing_1.BrandSpacingToJSON)(value['spacing']),
|
|
64
|
+
'instructions': value['instructions'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -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
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BrandKitTokensFonts
|
|
17
|
+
*/
|
|
18
|
+
export interface BrandKitTokensFonts {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {BrandFont}
|
|
22
|
+
* @memberof BrandKitTokensFonts
|
|
23
|
+
*/
|
|
24
|
+
title?: BrandFont;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {BrandFont}
|
|
28
|
+
* @memberof BrandKitTokensFonts
|
|
29
|
+
*/
|
|
30
|
+
subtitle?: BrandFont;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {BrandFont}
|
|
34
|
+
* @memberof BrandKitTokensFonts
|
|
35
|
+
*/
|
|
36
|
+
body?: BrandFont;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {BrandFont}
|
|
40
|
+
* @memberof BrandKitTokensFonts
|
|
41
|
+
*/
|
|
42
|
+
caption?: BrandFont;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the BrandKitTokensFonts interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfBrandKitTokensFonts(value: object): value is BrandKitTokensFonts;
|
|
48
|
+
export declare function BrandKitTokensFontsFromJSON(json: any): BrandKitTokensFonts;
|
|
49
|
+
export declare function BrandKitTokensFontsFromJSONTyped(json: any, ignoreDiscriminator: boolean): BrandKitTokensFonts;
|
|
50
|
+
export declare function BrandKitTokensFontsToJSON(json: any): BrandKitTokensFonts;
|
|
51
|
+
export declare function BrandKitTokensFontsToJSONTyped(value?: BrandKitTokensFonts | null, ignoreDiscriminator?: boolean): any;
|