@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,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { BrandFontFromJSON, BrandFontToJSON, } from './BrandFont.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the BrandKitTokensFonts interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfBrandKitTokensFonts(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function BrandKitTokensFontsFromJSON(json) {
|
|
22
|
+
return BrandKitTokensFontsFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function BrandKitTokensFontsFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'title': json['title'] == null ? undefined : BrandFontFromJSON(json['title']),
|
|
30
|
+
'subtitle': json['subtitle'] == null ? undefined : BrandFontFromJSON(json['subtitle']),
|
|
31
|
+
'body': json['body'] == null ? undefined : BrandFontFromJSON(json['body']),
|
|
32
|
+
'caption': json['caption'] == null ? undefined : BrandFontFromJSON(json['caption']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function BrandKitTokensFontsToJSON(json) {
|
|
36
|
+
return BrandKitTokensFontsToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function BrandKitTokensFontsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'title': BrandFontToJSON(value['title']),
|
|
44
|
+
'subtitle': BrandFontToJSON(value['subtitle']),
|
|
45
|
+
'body': BrandFontToJSON(value['body']),
|
|
46
|
+
'caption': BrandFontToJSON(value['caption']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { BrandKitAssetViewFromJSON, BrandKitAssetViewToJSON, } from './BrandKitAssetView.js';
|
|
15
|
+
import { BrandKitViewOwnerFromJSON, BrandKitViewOwnerToJSON, } from './BrandKitViewOwner.js';
|
|
16
|
+
import { BrandKitTokensFromJSON, BrandKitTokensToJSON, } from './BrandKitTokens.js';
|
|
17
|
+
import { BrandKitFigmaSourceFromJSON, BrandKitFigmaSourceToJSON, } from './BrandKitFigmaSource.js';
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the BrandKitView interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfBrandKitView(value) {
|
|
22
|
+
if (!('owner' in value) || value['owner'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('isDefault' in value) || value['isDefault'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('canEdit' in value) || value['canEdit'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('tokens' in value) || value['tokens'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('assets' in value) || value['assets'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
export function BrandKitViewFromJSON(json) {
|
|
37
|
+
return BrandKitViewFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function BrandKitViewFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'owner': BrandKitViewOwnerFromJSON(json['owner']),
|
|
45
|
+
'isDefault': json['isDefault'],
|
|
46
|
+
'canEdit': json['canEdit'],
|
|
47
|
+
'version': json['version'],
|
|
48
|
+
'tokens': BrandKitTokensFromJSON(json['tokens']),
|
|
49
|
+
'assets': (json['assets'].map(BrandKitAssetViewFromJSON)),
|
|
50
|
+
'figmaSource': json['figmaSource'] == null ? undefined : BrandKitFigmaSourceFromJSON(json['figmaSource']),
|
|
51
|
+
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
52
|
+
'updatedBy': json['updatedBy'] == null ? undefined : json['updatedBy'],
|
|
53
|
+
'warnings': json['warnings'] == null ? undefined : json['warnings'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export function BrandKitViewToJSON(json) {
|
|
57
|
+
return BrandKitViewToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function BrandKitViewToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'owner': BrandKitViewOwnerToJSON(value['owner']),
|
|
65
|
+
'isDefault': value['isDefault'],
|
|
66
|
+
'canEdit': value['canEdit'],
|
|
67
|
+
'version': value['version'],
|
|
68
|
+
'tokens': BrandKitTokensToJSON(value['tokens']),
|
|
69
|
+
'assets': (value['assets'].map(BrandKitAssetViewToJSON)),
|
|
70
|
+
'figmaSource': BrandKitFigmaSourceToJSON(value['figmaSource']),
|
|
71
|
+
'updatedAt': value['updatedAt'] == null ? undefined : (value['updatedAt'].toISOString()),
|
|
72
|
+
'updatedBy': value['updatedBy'],
|
|
73
|
+
'warnings': value['warnings'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const BrandKitViewOwnerTypeEnum = {
|
|
18
|
+
User: 'user',
|
|
19
|
+
Organization: 'organization'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BrandKitViewOwner interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfBrandKitViewOwner(value) {
|
|
25
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function BrandKitViewOwnerFromJSON(json) {
|
|
32
|
+
return BrandKitViewOwnerFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function BrandKitViewOwnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'type': json['type'],
|
|
40
|
+
'organizationId': json['organizationId'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function BrandKitViewOwnerToJSON(json) {
|
|
44
|
+
return BrandKitViewOwnerToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function BrandKitViewOwnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'type': value['type'],
|
|
52
|
+
'organizationId': value['organizationId'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { BrandKitViewFromJSON, BrandKitViewToJSON, } from './BrandKitView.js';
|
|
15
|
+
import { ResponseMetaFromJSON, ResponseMetaToJSON, } from './ResponseMeta.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the BrandKitViewResponse interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfBrandKitViewResponse(value) {
|
|
20
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function BrandKitViewResponseFromJSON(json) {
|
|
27
|
+
return BrandKitViewResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function BrandKitViewResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'success': json['success'],
|
|
35
|
+
'data': BrandKitViewFromJSON(json['data']),
|
|
36
|
+
'meta': json['meta'] == null ? undefined : ResponseMetaFromJSON(json['meta']),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function BrandKitViewResponseToJSON(json) {
|
|
40
|
+
return BrandKitViewResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function BrandKitViewResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'success': value['success'],
|
|
48
|
+
'data': BrandKitViewToJSON(value['data']),
|
|
49
|
+
'meta': ResponseMetaToJSON(value['meta']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the BrandSpacing interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfBrandSpacing(value) {
|
|
18
|
+
if (!('xs' in value) || value['xs'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('s' in value) || value['s'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('m' in value) || value['m'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('l' in value) || value['l'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('xl' in value) || value['xl'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('radiusS' in value) || value['radiusS'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('radiusM' in value) || value['radiusM'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('radiusL' in value) || value['radiusL'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
export function BrandSpacingFromJSON(json) {
|
|
37
|
+
return BrandSpacingFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function BrandSpacingFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'xs': json['xs'],
|
|
45
|
+
's': json['s'],
|
|
46
|
+
'm': json['m'],
|
|
47
|
+
'l': json['l'],
|
|
48
|
+
'xl': json['xl'],
|
|
49
|
+
'radiusS': json['radiusS'],
|
|
50
|
+
'radiusM': json['radiusM'],
|
|
51
|
+
'radiusL': json['radiusL'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export function BrandSpacingToJSON(json) {
|
|
55
|
+
return BrandSpacingToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
export function BrandSpacingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'xs': value['xs'],
|
|
63
|
+
's': value['s'],
|
|
64
|
+
'm': value['m'],
|
|
65
|
+
'l': value['l'],
|
|
66
|
+
'xl': value['xl'],
|
|
67
|
+
'radiusS': value['radiusS'],
|
|
68
|
+
'radiusM': value['radiusM'],
|
|
69
|
+
'radiusL': value['radiusL'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const BrandTextStyleWeightEnum = {
|
|
18
|
+
NUMBER_100: 100,
|
|
19
|
+
NUMBER_200: 200,
|
|
20
|
+
NUMBER_300: 300,
|
|
21
|
+
NUMBER_400: 400,
|
|
22
|
+
NUMBER_500: 500,
|
|
23
|
+
NUMBER_600: 600,
|
|
24
|
+
NUMBER_700: 700,
|
|
25
|
+
NUMBER_800: 800,
|
|
26
|
+
NUMBER_900: 900
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the BrandTextStyle interface.
|
|
30
|
+
*/
|
|
31
|
+
export function instanceOfBrandTextStyle(value) {
|
|
32
|
+
if (!('family' in value) || value['family'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('weight' in value) || value['weight'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('size' in value) || value['size'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
export function BrandTextStyleFromJSON(json) {
|
|
41
|
+
return BrandTextStyleFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function BrandTextStyleFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'family': json['family'],
|
|
49
|
+
'weight': json['weight'],
|
|
50
|
+
'size': json['size'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
export function BrandTextStyleToJSON(json) {
|
|
54
|
+
return BrandTextStyleToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
export function BrandTextStyleToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'family': value['family'],
|
|
62
|
+
'weight': value['weight'],
|
|
63
|
+
'size': value['size'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { CanvasActiveOperationFromJSON, CanvasActiveOperationToJSON, } from './CanvasActiveOperation.js';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the Canvas interface.
|
|
16
17
|
*/
|
|
@@ -41,6 +42,7 @@ export function CanvasFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
42
|
'managedUserId': json['managedUserId'] == null ? undefined : json['managedUserId'],
|
|
42
43
|
'createdAt': (new Date(json['createdAt'])),
|
|
43
44
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
45
|
+
'activeOperation': json['activeOperation'] == null ? undefined : CanvasActiveOperationFromJSON(json['activeOperation']),
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
export function CanvasToJSON(json) {
|
|
@@ -59,5 +61,6 @@ export function CanvasToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
59
61
|
'managedUserId': value['managedUserId'],
|
|
60
62
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
61
63
|
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
64
|
+
'activeOperation': CanvasActiveOperationToJSON(value['activeOperation']),
|
|
62
65
|
};
|
|
63
66
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const CanvasActiveOperationStatusEnum = {
|
|
18
|
+
Pending: 'pending',
|
|
19
|
+
Running: 'running'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CanvasActiveOperation interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfCanvasActiveOperation(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('progress' in value) || value['progress'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('widgetId' in value) || value['widgetId'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
export function CanvasActiveOperationFromJSON(json) {
|
|
38
|
+
return CanvasActiveOperationFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function CanvasActiveOperationFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'id': json['id'],
|
|
46
|
+
'type': json['type'],
|
|
47
|
+
'status': json['status'],
|
|
48
|
+
'progress': json['progress'],
|
|
49
|
+
'widgetId': json['widgetId'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export function CanvasActiveOperationToJSON(json) {
|
|
53
|
+
return CanvasActiveOperationToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
export function CanvasActiveOperationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'id': value['id'],
|
|
61
|
+
'type': value['type'],
|
|
62
|
+
'status': value['status'],
|
|
63
|
+
'progress': value['progress'],
|
|
64
|
+
'widgetId': value['widgetId'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { ResponseMetaFromJSON, ResponseMetaToJSON, } from './ResponseMeta.js';
|
|
15
15
|
/**
|
|
16
|
-
* Check if a given object implements the
|
|
16
|
+
* Check if a given object implements the CompositionDatabaseRecordResponse interface.
|
|
17
17
|
*/
|
|
18
|
-
export function
|
|
18
|
+
export function instanceOfCompositionDatabaseRecordResponse(value) {
|
|
19
19
|
if (!('success' in value) || value['success'] === undefined)
|
|
20
20
|
return false;
|
|
21
21
|
if (!('data' in value) || value['data'] === undefined)
|
|
22
22
|
return false;
|
|
23
23
|
return true;
|
|
24
24
|
}
|
|
25
|
-
export function
|
|
26
|
-
return
|
|
25
|
+
export function CompositionDatabaseRecordResponseFromJSON(json) {
|
|
26
|
+
return CompositionDatabaseRecordResponseFromJSONTyped(json, false);
|
|
27
27
|
}
|
|
28
|
-
export function
|
|
28
|
+
export function CompositionDatabaseRecordResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
29
|
if (json == null) {
|
|
30
30
|
return json;
|
|
31
31
|
}
|
|
@@ -35,10 +35,10 @@ export function CreateCompositionDatabaseRecord201ResponseFromJSONTyped(json, ig
|
|
|
35
35
|
'meta': json['meta'] == null ? undefined : ResponseMetaFromJSON(json['meta']),
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
export function
|
|
39
|
-
return
|
|
38
|
+
export function CompositionDatabaseRecordResponseToJSON(json) {
|
|
39
|
+
return CompositionDatabaseRecordResponseToJSONTyped(json, false);
|
|
40
40
|
}
|
|
41
|
-
export function
|
|
41
|
+
export function CompositionDatabaseRecordResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
42
|
if (value == null) {
|
|
43
43
|
return value;
|
|
44
44
|
}
|
|
@@ -14,19 +14,19 @@
|
|
|
14
14
|
import { ResponseMetaFromJSON, ResponseMetaToJSON, } from './ResponseMeta.js';
|
|
15
15
|
import { ContentItemWriteResultFromJSON, ContentItemWriteResultToJSON, } from './ContentItemWriteResult.js';
|
|
16
16
|
/**
|
|
17
|
-
* Check if a given object implements the
|
|
17
|
+
* Check if a given object implements the ContentItemWriteResultResponse interface.
|
|
18
18
|
*/
|
|
19
|
-
export function
|
|
19
|
+
export function instanceOfContentItemWriteResultResponse(value) {
|
|
20
20
|
if (!('success' in value) || value['success'] === undefined)
|
|
21
21
|
return false;
|
|
22
22
|
if (!('data' in value) || value['data'] === undefined)
|
|
23
23
|
return false;
|
|
24
24
|
return true;
|
|
25
25
|
}
|
|
26
|
-
export function
|
|
27
|
-
return
|
|
26
|
+
export function ContentItemWriteResultResponseFromJSON(json) {
|
|
27
|
+
return ContentItemWriteResultResponseFromJSONTyped(json, false);
|
|
28
28
|
}
|
|
29
|
-
export function
|
|
29
|
+
export function ContentItemWriteResultResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
30
|
if (json == null) {
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
@@ -36,10 +36,10 @@ export function CreateCompositionContentItem201ResponseFromJSONTyped(json, ignor
|
|
|
36
36
|
'meta': json['meta'] == null ? undefined : ResponseMetaFromJSON(json['meta']),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export function
|
|
40
|
-
return
|
|
39
|
+
export function ContentItemWriteResultResponseToJSON(json) {
|
|
40
|
+
return ContentItemWriteResultResponseToJSONTyped(json, false);
|
|
41
41
|
}
|
|
42
|
-
export function
|
|
42
|
+
export function ContentItemWriteResultResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
43
|
if (value == null) {
|
|
44
44
|
return value;
|
|
45
45
|
}
|
|
@@ -44,11 +44,14 @@ export function CreateWidget201ResponseDataFromJSONTyped(json, ignoreDiscriminat
|
|
|
44
44
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
45
45
|
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
46
46
|
'jsPath': json['jsPath'] == null ? undefined : json['jsPath'],
|
|
47
|
+
'thumbnailSvg': json['thumbnailSvg'] == null ? undefined : json['thumbnailSvg'],
|
|
47
48
|
'canvasId': json['canvasId'] == null ? undefined : json['canvasId'],
|
|
48
49
|
'repoId': json['repoId'] == null ? undefined : json['repoId'],
|
|
49
50
|
'databaseId': json['databaseId'] == null ? undefined : json['databaseId'],
|
|
50
51
|
'version': json['version'] == null ? undefined : json['version'],
|
|
51
52
|
'lastCommitSha': json['lastCommitSha'] == null ? undefined : json['lastCommitSha'],
|
|
53
|
+
'hasUnpublishedChanges': json['hasUnpublishedChanges'] == null ? undefined : json['hasUnpublishedChanges'],
|
|
54
|
+
'publishedAt': json['publishedAt'] == null ? undefined : (new Date(json['publishedAt'])),
|
|
52
55
|
'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
|
|
53
56
|
'projectFolder': json['projectFolder'] == null ? undefined : json['projectFolder'],
|
|
54
57
|
'workspaceType': json['workspaceType'] == null ? undefined : json['workspaceType'],
|
|
@@ -76,11 +79,14 @@ export function CreateWidget201ResponseDataToJSONTyped(value, ignoreDiscriminato
|
|
|
76
79
|
'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
|
77
80
|
'updatedAt': value['updatedAt'] == null ? undefined : ((value['updatedAt']).toISOString()),
|
|
78
81
|
'jsPath': value['jsPath'],
|
|
82
|
+
'thumbnailSvg': value['thumbnailSvg'],
|
|
79
83
|
'canvasId': value['canvasId'],
|
|
80
84
|
'repoId': value['repoId'],
|
|
81
85
|
'databaseId': value['databaseId'],
|
|
82
86
|
'version': value['version'],
|
|
83
87
|
'lastCommitSha': value['lastCommitSha'],
|
|
88
|
+
'hasUnpublishedChanges': value['hasUnpublishedChanges'],
|
|
89
|
+
'publishedAt': value['publishedAt'] == null ? undefined : (value['publishedAt'].toISOString()),
|
|
84
90
|
'organizationId': value['organizationId'],
|
|
85
91
|
'projectFolder': value['projectFolder'],
|
|
86
92
|
'workspaceType': value['workspaceType'],
|
|
@@ -11,41 +11,41 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { DeleteOrganizationDomainResponseDataFromJSON, DeleteOrganizationDomainResponseDataToJSON, } from './DeleteOrganizationDomainResponseData.js';
|
|
15
15
|
import { ResponseMetaFromJSON, ResponseMetaToJSON, } from './ResponseMeta.js';
|
|
16
16
|
/**
|
|
17
|
-
* Check if a given object implements the
|
|
17
|
+
* Check if a given object implements the DeleteOrganizationDomainResponse interface.
|
|
18
18
|
*/
|
|
19
|
-
export function
|
|
19
|
+
export function instanceOfDeleteOrganizationDomainResponse(value) {
|
|
20
20
|
if (!('success' in value) || value['success'] === undefined)
|
|
21
21
|
return false;
|
|
22
22
|
if (!('data' in value) || value['data'] === undefined)
|
|
23
23
|
return false;
|
|
24
24
|
return true;
|
|
25
25
|
}
|
|
26
|
-
export function
|
|
27
|
-
return
|
|
26
|
+
export function DeleteOrganizationDomainResponseFromJSON(json) {
|
|
27
|
+
return DeleteOrganizationDomainResponseFromJSONTyped(json, false);
|
|
28
28
|
}
|
|
29
|
-
export function
|
|
29
|
+
export function DeleteOrganizationDomainResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
30
|
if (json == null) {
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
34
|
'success': json['success'],
|
|
35
|
-
'data':
|
|
35
|
+
'data': DeleteOrganizationDomainResponseDataFromJSON(json['data']),
|
|
36
36
|
'meta': json['meta'] == null ? undefined : ResponseMetaFromJSON(json['meta']),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export function
|
|
40
|
-
return
|
|
39
|
+
export function DeleteOrganizationDomainResponseToJSON(json) {
|
|
40
|
+
return DeleteOrganizationDomainResponseToJSONTyped(json, false);
|
|
41
41
|
}
|
|
42
|
-
export function
|
|
42
|
+
export function DeleteOrganizationDomainResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
43
|
if (value == null) {
|
|
44
44
|
return value;
|
|
45
45
|
}
|
|
46
46
|
return {
|
|
47
47
|
'success': value['success'],
|
|
48
|
-
'data':
|
|
48
|
+
'data': DeleteOrganizationDomainResponseDataToJSON(value['data']),
|
|
49
49
|
'meta': ResponseMetaToJSON(value['meta']),
|
|
50
50
|
};
|
|
51
51
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the DeleteOrganizationDomainResponseData interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfDeleteOrganizationDomainResponseData(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function DeleteOrganizationDomainResponseDataFromJSON(json) {
|
|
21
|
+
return DeleteOrganizationDomainResponseDataFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function DeleteOrganizationDomainResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function DeleteOrganizationDomainResponseDataToJSON(json) {
|
|
32
|
+
return DeleteOrganizationDomainResponseDataToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function DeleteOrganizationDomainResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'message': value['message'],
|
|
40
|
+
};
|
|
41
|
+
}
|