@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,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.instanceOfBrandKitTokensFonts = instanceOfBrandKitTokensFonts;
|
|
17
|
+
exports.BrandKitTokensFontsFromJSON = BrandKitTokensFontsFromJSON;
|
|
18
|
+
exports.BrandKitTokensFontsFromJSONTyped = BrandKitTokensFontsFromJSONTyped;
|
|
19
|
+
exports.BrandKitTokensFontsToJSON = BrandKitTokensFontsToJSON;
|
|
20
|
+
exports.BrandKitTokensFontsToJSONTyped = BrandKitTokensFontsToJSONTyped;
|
|
21
|
+
const BrandFont_1 = require("./BrandFont");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the BrandKitTokensFonts interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfBrandKitTokensFonts(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function BrandKitTokensFontsFromJSON(json) {
|
|
29
|
+
return BrandKitTokensFontsFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function BrandKitTokensFontsFromJSONTyped(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 BrandKitTokensFontsToJSON(json) {
|
|
43
|
+
return BrandKitTokensFontsToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function BrandKitTokensFontsToJSONTyped(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,90 @@
|
|
|
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 { BrandKitAssetView } from './BrandKitAssetView';
|
|
13
|
+
import type { BrandKitViewOwner } from './BrandKitViewOwner';
|
|
14
|
+
import type { BrandKitTokens } from './BrandKitTokens';
|
|
15
|
+
import type { BrandKitFigmaSource } from './BrandKitFigmaSource';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface BrandKitView
|
|
20
|
+
*/
|
|
21
|
+
export interface BrandKitView {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {BrandKitViewOwner}
|
|
25
|
+
* @memberof BrandKitView
|
|
26
|
+
*/
|
|
27
|
+
owner: BrandKitViewOwner;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof BrandKitView
|
|
32
|
+
*/
|
|
33
|
+
isDefault: boolean;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof BrandKitView
|
|
38
|
+
*/
|
|
39
|
+
canEdit: boolean;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof BrandKitView
|
|
44
|
+
*/
|
|
45
|
+
version: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {BrandKitTokens}
|
|
49
|
+
* @memberof BrandKitView
|
|
50
|
+
*/
|
|
51
|
+
tokens: BrandKitTokens;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Array<BrandKitAssetView>}
|
|
55
|
+
* @memberof BrandKitView
|
|
56
|
+
*/
|
|
57
|
+
assets: Array<BrandKitAssetView>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {BrandKitFigmaSource}
|
|
61
|
+
* @memberof BrandKitView
|
|
62
|
+
*/
|
|
63
|
+
figmaSource?: BrandKitFigmaSource;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Date}
|
|
67
|
+
* @memberof BrandKitView
|
|
68
|
+
*/
|
|
69
|
+
updatedAt?: Date | null;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof BrandKitView
|
|
74
|
+
*/
|
|
75
|
+
updatedBy?: string | null;
|
|
76
|
+
/**
|
|
77
|
+
* Things worth fixing in the saved kit, such as a text color that is hard to read on the background, or fonts by role that are not used because the kit has text styles. The kit is saved either way.
|
|
78
|
+
* @type {Array<string>}
|
|
79
|
+
* @memberof BrandKitView
|
|
80
|
+
*/
|
|
81
|
+
warnings?: Array<string>;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Check if a given object implements the BrandKitView interface.
|
|
85
|
+
*/
|
|
86
|
+
export declare function instanceOfBrandKitView(value: object): value is BrandKitView;
|
|
87
|
+
export declare function BrandKitViewFromJSON(json: any): BrandKitView;
|
|
88
|
+
export declare function BrandKitViewFromJSONTyped(json: any, ignoreDiscriminator: boolean): BrandKitView;
|
|
89
|
+
export declare function BrandKitViewToJSON(json: any): BrandKitView;
|
|
90
|
+
export declare function BrandKitViewToJSONTyped(value?: BrandKitView | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,82 @@
|
|
|
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.instanceOfBrandKitView = instanceOfBrandKitView;
|
|
17
|
+
exports.BrandKitViewFromJSON = BrandKitViewFromJSON;
|
|
18
|
+
exports.BrandKitViewFromJSONTyped = BrandKitViewFromJSONTyped;
|
|
19
|
+
exports.BrandKitViewToJSON = BrandKitViewToJSON;
|
|
20
|
+
exports.BrandKitViewToJSONTyped = BrandKitViewToJSONTyped;
|
|
21
|
+
const BrandKitAssetView_1 = require("./BrandKitAssetView");
|
|
22
|
+
const BrandKitViewOwner_1 = require("./BrandKitViewOwner");
|
|
23
|
+
const BrandKitTokens_1 = require("./BrandKitTokens");
|
|
24
|
+
const BrandKitFigmaSource_1 = require("./BrandKitFigmaSource");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the BrandKitView interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfBrandKitView(value) {
|
|
29
|
+
if (!('owner' in value) || value['owner'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('isDefault' in value) || value['isDefault'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('canEdit' in value) || value['canEdit'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('tokens' in value) || value['tokens'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('assets' in value) || value['assets'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function BrandKitViewFromJSON(json) {
|
|
44
|
+
return BrandKitViewFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function BrandKitViewFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'owner': (0, BrandKitViewOwner_1.BrandKitViewOwnerFromJSON)(json['owner']),
|
|
52
|
+
'isDefault': json['isDefault'],
|
|
53
|
+
'canEdit': json['canEdit'],
|
|
54
|
+
'version': json['version'],
|
|
55
|
+
'tokens': (0, BrandKitTokens_1.BrandKitTokensFromJSON)(json['tokens']),
|
|
56
|
+
'assets': (json['assets'].map(BrandKitAssetView_1.BrandKitAssetViewFromJSON)),
|
|
57
|
+
'figmaSource': json['figmaSource'] == null ? undefined : (0, BrandKitFigmaSource_1.BrandKitFigmaSourceFromJSON)(json['figmaSource']),
|
|
58
|
+
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
59
|
+
'updatedBy': json['updatedBy'] == null ? undefined : json['updatedBy'],
|
|
60
|
+
'warnings': json['warnings'] == null ? undefined : json['warnings'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function BrandKitViewToJSON(json) {
|
|
64
|
+
return BrandKitViewToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function BrandKitViewToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'owner': (0, BrandKitViewOwner_1.BrandKitViewOwnerToJSON)(value['owner']),
|
|
72
|
+
'isDefault': value['isDefault'],
|
|
73
|
+
'canEdit': value['canEdit'],
|
|
74
|
+
'version': value['version'],
|
|
75
|
+
'tokens': (0, BrandKitTokens_1.BrandKitTokensToJSON)(value['tokens']),
|
|
76
|
+
'assets': (value['assets'].map(BrandKitAssetView_1.BrandKitAssetViewToJSON)),
|
|
77
|
+
'figmaSource': (0, BrandKitFigmaSource_1.BrandKitFigmaSourceToJSON)(value['figmaSource']),
|
|
78
|
+
'updatedAt': value['updatedAt'] == null ? undefined : (value['updatedAt'].toISOString()),
|
|
79
|
+
'updatedBy': value['updatedBy'],
|
|
80
|
+
'warnings': value['warnings'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BrandKitViewOwner
|
|
16
|
+
*/
|
|
17
|
+
export interface BrandKitViewOwner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BrandKitViewOwner
|
|
22
|
+
*/
|
|
23
|
+
type: BrandKitViewOwnerTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BrandKitViewOwner
|
|
28
|
+
*/
|
|
29
|
+
organizationId: string | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const BrandKitViewOwnerTypeEnum: {
|
|
35
|
+
readonly User: 'user';
|
|
36
|
+
readonly Organization: 'organization';
|
|
37
|
+
};
|
|
38
|
+
export type BrandKitViewOwnerTypeEnum = typeof BrandKitViewOwnerTypeEnum[keyof typeof BrandKitViewOwnerTypeEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the BrandKitViewOwner interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfBrandKitViewOwner(value: object): value is BrandKitViewOwner;
|
|
43
|
+
export declare function BrandKitViewOwnerFromJSON(json: any): BrandKitViewOwner;
|
|
44
|
+
export declare function BrandKitViewOwnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): BrandKitViewOwner;
|
|
45
|
+
export declare function BrandKitViewOwnerToJSON(json: any): BrandKitViewOwner;
|
|
46
|
+
export declare function BrandKitViewOwnerToJSONTyped(value?: BrandKitViewOwner | 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.BrandKitViewOwnerTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfBrandKitViewOwner = instanceOfBrandKitViewOwner;
|
|
18
|
+
exports.BrandKitViewOwnerFromJSON = BrandKitViewOwnerFromJSON;
|
|
19
|
+
exports.BrandKitViewOwnerFromJSONTyped = BrandKitViewOwnerFromJSONTyped;
|
|
20
|
+
exports.BrandKitViewOwnerToJSON = BrandKitViewOwnerToJSON;
|
|
21
|
+
exports.BrandKitViewOwnerToJSONTyped = BrandKitViewOwnerToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.BrandKitViewOwnerTypeEnum = {
|
|
26
|
+
User: 'user',
|
|
27
|
+
Organization: 'organization'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the BrandKitViewOwner interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfBrandKitViewOwner(value) {
|
|
33
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function BrandKitViewOwnerFromJSON(json) {
|
|
40
|
+
return BrandKitViewOwnerFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function BrandKitViewOwnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'type': json['type'],
|
|
48
|
+
'organizationId': json['organizationId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function BrandKitViewOwnerToJSON(json) {
|
|
52
|
+
return BrandKitViewOwnerToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function BrandKitViewOwnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'type': value['type'],
|
|
60
|
+
'organizationId': value['organizationId'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { BrandKitView } from './BrandKitView';
|
|
13
|
+
import type { ResponseMeta } from './ResponseMeta';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface BrandKitViewResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface BrandKitViewResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Always `true` on a success.
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof BrandKitViewResponse
|
|
24
|
+
*/
|
|
25
|
+
success: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {BrandKitView}
|
|
29
|
+
* @memberof BrandKitViewResponse
|
|
30
|
+
*/
|
|
31
|
+
data: BrandKitView;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ResponseMeta}
|
|
35
|
+
* @memberof BrandKitViewResponse
|
|
36
|
+
*/
|
|
37
|
+
meta?: ResponseMeta;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the BrandKitViewResponse interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfBrandKitViewResponse(value: object): value is BrandKitViewResponse;
|
|
43
|
+
export declare function BrandKitViewResponseFromJSON(json: any): BrandKitViewResponse;
|
|
44
|
+
export declare function BrandKitViewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BrandKitViewResponse;
|
|
45
|
+
export declare function BrandKitViewResponseToJSON(json: any): BrandKitViewResponse;
|
|
46
|
+
export declare function BrandKitViewResponseToJSONTyped(value?: BrandKitViewResponse | 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.instanceOfBrandKitViewResponse = instanceOfBrandKitViewResponse;
|
|
17
|
+
exports.BrandKitViewResponseFromJSON = BrandKitViewResponseFromJSON;
|
|
18
|
+
exports.BrandKitViewResponseFromJSONTyped = BrandKitViewResponseFromJSONTyped;
|
|
19
|
+
exports.BrandKitViewResponseToJSON = BrandKitViewResponseToJSON;
|
|
20
|
+
exports.BrandKitViewResponseToJSONTyped = BrandKitViewResponseToJSONTyped;
|
|
21
|
+
const BrandKitView_1 = require("./BrandKitView");
|
|
22
|
+
const ResponseMeta_1 = require("./ResponseMeta");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the BrandKitViewResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfBrandKitViewResponse(value) {
|
|
27
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function BrandKitViewResponseFromJSON(json) {
|
|
34
|
+
return BrandKitViewResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function BrandKitViewResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'success': json['success'],
|
|
42
|
+
'data': (0, BrandKitView_1.BrandKitViewFromJSON)(json['data']),
|
|
43
|
+
'meta': json['meta'] == null ? undefined : (0, ResponseMeta_1.ResponseMetaFromJSON)(json['meta']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function BrandKitViewResponseToJSON(json) {
|
|
47
|
+
return BrandKitViewResponseToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function BrandKitViewResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'success': value['success'],
|
|
55
|
+
'data': (0, BrandKitView_1.BrandKitViewToJSON)(value['data']),
|
|
56
|
+
'meta': (0, ResponseMeta_1.ResponseMetaToJSON)(value['meta']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BrandSpacing
|
|
16
|
+
*/
|
|
17
|
+
export interface BrandSpacing {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BrandSpacing
|
|
22
|
+
*/
|
|
23
|
+
xs: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof BrandSpacing
|
|
28
|
+
*/
|
|
29
|
+
s: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof BrandSpacing
|
|
34
|
+
*/
|
|
35
|
+
m: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof BrandSpacing
|
|
40
|
+
*/
|
|
41
|
+
l: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof BrandSpacing
|
|
46
|
+
*/
|
|
47
|
+
xl: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof BrandSpacing
|
|
52
|
+
*/
|
|
53
|
+
radiusS: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof BrandSpacing
|
|
58
|
+
*/
|
|
59
|
+
radiusM: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof BrandSpacing
|
|
64
|
+
*/
|
|
65
|
+
radiusL: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the BrandSpacing interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfBrandSpacing(value: object): value is BrandSpacing;
|
|
71
|
+
export declare function BrandSpacingFromJSON(json: any): BrandSpacing;
|
|
72
|
+
export declare function BrandSpacingFromJSONTyped(json: any, ignoreDiscriminator: boolean): BrandSpacing;
|
|
73
|
+
export declare function BrandSpacingToJSON(json: any): BrandSpacing;
|
|
74
|
+
export declare function BrandSpacingToJSONTyped(value?: BrandSpacing | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,78 @@
|
|
|
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.instanceOfBrandSpacing = instanceOfBrandSpacing;
|
|
17
|
+
exports.BrandSpacingFromJSON = BrandSpacingFromJSON;
|
|
18
|
+
exports.BrandSpacingFromJSONTyped = BrandSpacingFromJSONTyped;
|
|
19
|
+
exports.BrandSpacingToJSON = BrandSpacingToJSON;
|
|
20
|
+
exports.BrandSpacingToJSONTyped = BrandSpacingToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BrandSpacing interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBrandSpacing(value) {
|
|
25
|
+
if (!('xs' in value) || value['xs'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('s' in value) || value['s'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('m' in value) || value['m'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('l' in value) || value['l'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('xl' in value) || value['xl'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('radiusS' in value) || value['radiusS'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('radiusM' in value) || value['radiusM'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('radiusL' in value) || value['radiusL'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function BrandSpacingFromJSON(json) {
|
|
44
|
+
return BrandSpacingFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function BrandSpacingFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'xs': json['xs'],
|
|
52
|
+
's': json['s'],
|
|
53
|
+
'm': json['m'],
|
|
54
|
+
'l': json['l'],
|
|
55
|
+
'xl': json['xl'],
|
|
56
|
+
'radiusS': json['radiusS'],
|
|
57
|
+
'radiusM': json['radiusM'],
|
|
58
|
+
'radiusL': json['radiusL'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function BrandSpacingToJSON(json) {
|
|
62
|
+
return BrandSpacingToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function BrandSpacingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'xs': value['xs'],
|
|
70
|
+
's': value['s'],
|
|
71
|
+
'm': value['m'],
|
|
72
|
+
'l': value['l'],
|
|
73
|
+
'xl': value['xl'],
|
|
74
|
+
'radiusS': value['radiusS'],
|
|
75
|
+
'radiusM': value['radiusM'],
|
|
76
|
+
'radiusL': value['radiusL'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* One text style of the kit: a font family, a weight and a size in pixels, for example Inter 400 at 12px or Inter 500 at 18px. A family with a font file in the kit is an uploaded font; any other family is loaded from Google Fonts. The size is the size of the widget at full size.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BrandTextStyle
|
|
16
|
+
*/
|
|
17
|
+
export interface BrandTextStyle {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BrandTextStyle
|
|
22
|
+
*/
|
|
23
|
+
family: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof BrandTextStyle
|
|
28
|
+
*/
|
|
29
|
+
weight: BrandTextStyleWeightEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof BrandTextStyle
|
|
34
|
+
*/
|
|
35
|
+
size: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const BrandTextStyleWeightEnum: {
|
|
41
|
+
readonly NUMBER_100: 100;
|
|
42
|
+
readonly NUMBER_200: 200;
|
|
43
|
+
readonly NUMBER_300: 300;
|
|
44
|
+
readonly NUMBER_400: 400;
|
|
45
|
+
readonly NUMBER_500: 500;
|
|
46
|
+
readonly NUMBER_600: 600;
|
|
47
|
+
readonly NUMBER_700: 700;
|
|
48
|
+
readonly NUMBER_800: 800;
|
|
49
|
+
readonly NUMBER_900: 900;
|
|
50
|
+
};
|
|
51
|
+
export type BrandTextStyleWeightEnum = typeof BrandTextStyleWeightEnum[keyof typeof BrandTextStyleWeightEnum];
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the BrandTextStyle interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfBrandTextStyle(value: object): value is BrandTextStyle;
|
|
56
|
+
export declare function BrandTextStyleFromJSON(json: any): BrandTextStyle;
|
|
57
|
+
export declare function BrandTextStyleFromJSONTyped(json: any, ignoreDiscriminator: boolean): BrandTextStyle;
|
|
58
|
+
export declare function BrandTextStyleToJSON(json: any): BrandTextStyle;
|
|
59
|
+
export declare function BrandTextStyleToJSONTyped(value?: BrandTextStyle | null, ignoreDiscriminator?: boolean): any;
|