@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,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OrganizationDomain
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationDomain {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the organization domain
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationDomain
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Domain pattern (supports wildcards)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrganizationDomain
|
|
28
|
+
*/
|
|
29
|
+
domain?: string;
|
|
30
|
+
/**
|
|
31
|
+
* ID of the organization that owns this domain
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OrganizationDomain
|
|
34
|
+
*/
|
|
35
|
+
organizationId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* When the domain was added
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof OrganizationDomain
|
|
40
|
+
*/
|
|
41
|
+
createdAt?: Date;
|
|
42
|
+
/**
|
|
43
|
+
* When the domain was last updated
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof OrganizationDomain
|
|
46
|
+
*/
|
|
47
|
+
updatedAt?: Date;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the OrganizationDomain interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfOrganizationDomain(value: object): value is OrganizationDomain;
|
|
53
|
+
export declare function OrganizationDomainFromJSON(json: any): OrganizationDomain;
|
|
54
|
+
export declare function OrganizationDomainFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationDomain;
|
|
55
|
+
export declare function OrganizationDomainToJSON(json: any): OrganizationDomain;
|
|
56
|
+
export declare function OrganizationDomainToJSONTyped(value?: OrganizationDomain | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfOrganizationDomain = instanceOfOrganizationDomain;
|
|
17
|
+
exports.OrganizationDomainFromJSON = OrganizationDomainFromJSON;
|
|
18
|
+
exports.OrganizationDomainFromJSONTyped = OrganizationDomainFromJSONTyped;
|
|
19
|
+
exports.OrganizationDomainToJSON = OrganizationDomainToJSON;
|
|
20
|
+
exports.OrganizationDomainToJSONTyped = OrganizationDomainToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OrganizationDomain interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOrganizationDomain(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function OrganizationDomainFromJSON(json) {
|
|
28
|
+
return OrganizationDomainFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function OrganizationDomainFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
36
|
+
'domain': json['domain'] == null ? undefined : json['domain'],
|
|
37
|
+
'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
|
|
38
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
39
|
+
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function OrganizationDomainToJSON(json) {
|
|
43
|
+
return OrganizationDomainToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function OrganizationDomainToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'domain': value['domain'],
|
|
52
|
+
'organizationId': value['organizationId'],
|
|
53
|
+
'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
|
54
|
+
'updatedAt': value['updatedAt'] == null ? undefined : ((value['updatedAt']).toISOString()),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { AccountCreditTransaction } from './AccountCreditTransaction';
|
|
13
13
|
/**
|
|
14
|
-
* The partner's credits: what the account that pays for the partner (its administrator's)
|
|
14
|
+
* The partner's credits: what the partner's workspace holds in the account that pays for the partner (its administrator's), and the newest entries of that workspace's ledger. A partner with no administrator reads 0 and an empty list.
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
17
|
* @interface PartnerBillingOverviewOperationalCredits
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchBrandKitAssetRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchBrandKitAssetRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Icon rename
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchBrandKitAssetRequest
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Font family relabel
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchBrandKitAssetRequest
|
|
28
|
+
*/
|
|
29
|
+
family?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PatchBrandKitAssetRequest
|
|
34
|
+
*/
|
|
35
|
+
weight?: PatchBrandKitAssetRequestWeightEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PatchBrandKitAssetRequest
|
|
40
|
+
*/
|
|
41
|
+
style?: PatchBrandKitAssetRequestStyleEnum;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const PatchBrandKitAssetRequestWeightEnum: {
|
|
47
|
+
readonly NUMBER_100: 100;
|
|
48
|
+
readonly NUMBER_200: 200;
|
|
49
|
+
readonly NUMBER_300: 300;
|
|
50
|
+
readonly NUMBER_400: 400;
|
|
51
|
+
readonly NUMBER_500: 500;
|
|
52
|
+
readonly NUMBER_600: 600;
|
|
53
|
+
readonly NUMBER_700: 700;
|
|
54
|
+
readonly NUMBER_800: 800;
|
|
55
|
+
readonly NUMBER_900: 900;
|
|
56
|
+
};
|
|
57
|
+
export type PatchBrandKitAssetRequestWeightEnum = typeof PatchBrandKitAssetRequestWeightEnum[keyof typeof PatchBrandKitAssetRequestWeightEnum];
|
|
58
|
+
/**
|
|
59
|
+
* @export
|
|
60
|
+
*/
|
|
61
|
+
export declare const PatchBrandKitAssetRequestStyleEnum: {
|
|
62
|
+
readonly Normal: 'normal';
|
|
63
|
+
readonly Italic: 'italic';
|
|
64
|
+
};
|
|
65
|
+
export type PatchBrandKitAssetRequestStyleEnum = typeof PatchBrandKitAssetRequestStyleEnum[keyof typeof PatchBrandKitAssetRequestStyleEnum];
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the PatchBrandKitAssetRequest interface.
|
|
68
|
+
*/
|
|
69
|
+
export declare function instanceOfPatchBrandKitAssetRequest(value: object): value is PatchBrandKitAssetRequest;
|
|
70
|
+
export declare function PatchBrandKitAssetRequestFromJSON(json: any): PatchBrandKitAssetRequest;
|
|
71
|
+
export declare function PatchBrandKitAssetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchBrandKitAssetRequest;
|
|
72
|
+
export declare function PatchBrandKitAssetRequestToJSON(json: any): PatchBrandKitAssetRequest;
|
|
73
|
+
export declare function PatchBrandKitAssetRequestToJSONTyped(value?: PatchBrandKitAssetRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PatchBrandKitAssetRequestStyleEnum = exports.PatchBrandKitAssetRequestWeightEnum = void 0;
|
|
17
|
+
exports.instanceOfPatchBrandKitAssetRequest = instanceOfPatchBrandKitAssetRequest;
|
|
18
|
+
exports.PatchBrandKitAssetRequestFromJSON = PatchBrandKitAssetRequestFromJSON;
|
|
19
|
+
exports.PatchBrandKitAssetRequestFromJSONTyped = PatchBrandKitAssetRequestFromJSONTyped;
|
|
20
|
+
exports.PatchBrandKitAssetRequestToJSON = PatchBrandKitAssetRequestToJSON;
|
|
21
|
+
exports.PatchBrandKitAssetRequestToJSONTyped = PatchBrandKitAssetRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PatchBrandKitAssetRequestWeightEnum = {
|
|
26
|
+
NUMBER_100: 100,
|
|
27
|
+
NUMBER_200: 200,
|
|
28
|
+
NUMBER_300: 300,
|
|
29
|
+
NUMBER_400: 400,
|
|
30
|
+
NUMBER_500: 500,
|
|
31
|
+
NUMBER_600: 600,
|
|
32
|
+
NUMBER_700: 700,
|
|
33
|
+
NUMBER_800: 800,
|
|
34
|
+
NUMBER_900: 900
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
*/
|
|
39
|
+
exports.PatchBrandKitAssetRequestStyleEnum = {
|
|
40
|
+
Normal: 'normal',
|
|
41
|
+
Italic: 'italic'
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the PatchBrandKitAssetRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
function instanceOfPatchBrandKitAssetRequest(value) {
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
function PatchBrandKitAssetRequestFromJSON(json) {
|
|
50
|
+
return PatchBrandKitAssetRequestFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function PatchBrandKitAssetRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
|
+
if (json == null) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
58
|
+
'family': json['family'] == null ? undefined : json['family'],
|
|
59
|
+
'weight': json['weight'] == null ? undefined : json['weight'],
|
|
60
|
+
'style': json['style'] == null ? undefined : json['style'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function PatchBrandKitAssetRequestToJSON(json) {
|
|
64
|
+
return PatchBrandKitAssetRequestToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function PatchBrandKitAssetRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'name': value['name'],
|
|
72
|
+
'family': value['family'],
|
|
73
|
+
'weight': value['weight'],
|
|
74
|
+
'style': value['style'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { BrandTextStyle } from './BrandTextStyle';
|
|
13
|
+
import type { BrandColor } from './BrandColor';
|
|
14
|
+
import type { PatchBrandKitRequestFonts } from './PatchBrandKitRequestFonts';
|
|
15
|
+
import type { PatchBrandKitRequestSpacing } from './PatchBrandKitRequestSpacing';
|
|
16
|
+
/**
|
|
17
|
+
* Changes part of the kit and leaves the rest as it is. Only the keys that are sent change.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PatchBrandKitRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PatchBrandKitRequest {
|
|
22
|
+
/**
|
|
23
|
+
* The whole list of colors (it replaces the saved list).
|
|
24
|
+
* @type {Array<BrandColor>}
|
|
25
|
+
* @memberof PatchBrandKitRequest
|
|
26
|
+
*/
|
|
27
|
+
colors?: Array<BrandColor>;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {PatchBrandKitRequestFonts}
|
|
31
|
+
* @memberof PatchBrandKitRequest
|
|
32
|
+
*/
|
|
33
|
+
fonts?: PatchBrandKitRequestFonts;
|
|
34
|
+
/**
|
|
35
|
+
* The whole list of text styles (it replaces the saved list). An empty list removes them, and the fonts by role apply again. Left out, the saved text styles stay as they are.
|
|
36
|
+
* @type {Array<BrandTextStyle>}
|
|
37
|
+
* @memberof PatchBrandKitRequest
|
|
38
|
+
*/
|
|
39
|
+
textStyles?: Array<BrandTextStyle>;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {PatchBrandKitRequestSpacing}
|
|
43
|
+
* @memberof PatchBrandKitRequest
|
|
44
|
+
*/
|
|
45
|
+
spacing?: PatchBrandKitRequestSpacing;
|
|
46
|
+
/**
|
|
47
|
+
* One corner radius in pixels for the whole kit; the small, medium and large radii are made from it. 0 gives square corners. A radius step sent in `spacing` wins over the one made from this value.
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof PatchBrandKitRequest
|
|
50
|
+
*/
|
|
51
|
+
cornerRadius?: number;
|
|
52
|
+
/**
|
|
53
|
+
* The kit owner's style notes (see `tokens.instructions`). An empty string removes them.
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof PatchBrandKitRequest
|
|
56
|
+
*/
|
|
57
|
+
instructions?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Refuse the change with a 409 when the kit was saved again since this version was read.
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof PatchBrandKitRequest
|
|
62
|
+
*/
|
|
63
|
+
expectedVersion?: number;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Check if a given object implements the PatchBrandKitRequest interface.
|
|
67
|
+
*/
|
|
68
|
+
export declare function instanceOfPatchBrandKitRequest(value: object): value is PatchBrandKitRequest;
|
|
69
|
+
export declare function PatchBrandKitRequestFromJSON(json: any): PatchBrandKitRequest;
|
|
70
|
+
export declare function PatchBrandKitRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchBrandKitRequest;
|
|
71
|
+
export declare function PatchBrandKitRequestToJSON(json: any): PatchBrandKitRequest;
|
|
72
|
+
export declare function PatchBrandKitRequestToJSONTyped(value?: PatchBrandKitRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPatchBrandKitRequest = instanceOfPatchBrandKitRequest;
|
|
17
|
+
exports.PatchBrandKitRequestFromJSON = PatchBrandKitRequestFromJSON;
|
|
18
|
+
exports.PatchBrandKitRequestFromJSONTyped = PatchBrandKitRequestFromJSONTyped;
|
|
19
|
+
exports.PatchBrandKitRequestToJSON = PatchBrandKitRequestToJSON;
|
|
20
|
+
exports.PatchBrandKitRequestToJSONTyped = PatchBrandKitRequestToJSONTyped;
|
|
21
|
+
const BrandTextStyle_1 = require("./BrandTextStyle");
|
|
22
|
+
const BrandColor_1 = require("./BrandColor");
|
|
23
|
+
const PatchBrandKitRequestFonts_1 = require("./PatchBrandKitRequestFonts");
|
|
24
|
+
const PatchBrandKitRequestSpacing_1 = require("./PatchBrandKitRequestSpacing");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PatchBrandKitRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfPatchBrandKitRequest(value) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function PatchBrandKitRequestFromJSON(json) {
|
|
32
|
+
return PatchBrandKitRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function PatchBrandKitRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'colors': json['colors'] == null ? undefined : (json['colors'].map(BrandColor_1.BrandColorFromJSON)),
|
|
40
|
+
'fonts': json['fonts'] == null ? undefined : (0, PatchBrandKitRequestFonts_1.PatchBrandKitRequestFontsFromJSON)(json['fonts']),
|
|
41
|
+
'textStyles': json['textStyles'] == null ? undefined : (json['textStyles'].map(BrandTextStyle_1.BrandTextStyleFromJSON)),
|
|
42
|
+
'spacing': json['spacing'] == null ? undefined : (0, PatchBrandKitRequestSpacing_1.PatchBrandKitRequestSpacingFromJSON)(json['spacing']),
|
|
43
|
+
'cornerRadius': json['cornerRadius'] == null ? undefined : json['cornerRadius'],
|
|
44
|
+
'instructions': json['instructions'] == null ? undefined : json['instructions'],
|
|
45
|
+
'expectedVersion': json['expectedVersion'] == null ? undefined : json['expectedVersion'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function PatchBrandKitRequestToJSON(json) {
|
|
49
|
+
return PatchBrandKitRequestToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function PatchBrandKitRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'colors': value['colors'] == null ? undefined : (value['colors'].map(BrandColor_1.BrandColorToJSON)),
|
|
57
|
+
'fonts': (0, PatchBrandKitRequestFonts_1.PatchBrandKitRequestFontsToJSON)(value['fonts']),
|
|
58
|
+
'textStyles': value['textStyles'] == null ? undefined : (value['textStyles'].map(BrandTextStyle_1.BrandTextStyleToJSON)),
|
|
59
|
+
'spacing': (0, PatchBrandKitRequestSpacing_1.PatchBrandKitRequestSpacingToJSON)(value['spacing']),
|
|
60
|
+
'cornerRadius': value['cornerRadius'],
|
|
61
|
+
'instructions': value['instructions'],
|
|
62
|
+
'expectedVersion': value['expectedVersion'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { BrandFont } from './BrandFont';
|
|
13
|
+
/**
|
|
14
|
+
* The text roles to change; the roles that are left out keep their font.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PatchBrandKitRequestFonts
|
|
17
|
+
*/
|
|
18
|
+
export interface PatchBrandKitRequestFonts {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {BrandFont}
|
|
22
|
+
* @memberof PatchBrandKitRequestFonts
|
|
23
|
+
*/
|
|
24
|
+
title?: BrandFont;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {BrandFont}
|
|
28
|
+
* @memberof PatchBrandKitRequestFonts
|
|
29
|
+
*/
|
|
30
|
+
subtitle?: BrandFont;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {BrandFont}
|
|
34
|
+
* @memberof PatchBrandKitRequestFonts
|
|
35
|
+
*/
|
|
36
|
+
body?: BrandFont;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {BrandFont}
|
|
40
|
+
* @memberof PatchBrandKitRequestFonts
|
|
41
|
+
*/
|
|
42
|
+
caption?: BrandFont;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the PatchBrandKitRequestFonts interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfPatchBrandKitRequestFonts(value: object): value is PatchBrandKitRequestFonts;
|
|
48
|
+
export declare function PatchBrandKitRequestFontsFromJSON(json: any): PatchBrandKitRequestFonts;
|
|
49
|
+
export declare function PatchBrandKitRequestFontsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchBrandKitRequestFonts;
|
|
50
|
+
export declare function PatchBrandKitRequestFontsToJSON(json: any): PatchBrandKitRequestFonts;
|
|
51
|
+
export declare function PatchBrandKitRequestFontsToJSONTyped(value?: PatchBrandKitRequestFonts | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPatchBrandKitRequestFonts = instanceOfPatchBrandKitRequestFonts;
|
|
17
|
+
exports.PatchBrandKitRequestFontsFromJSON = PatchBrandKitRequestFontsFromJSON;
|
|
18
|
+
exports.PatchBrandKitRequestFontsFromJSONTyped = PatchBrandKitRequestFontsFromJSONTyped;
|
|
19
|
+
exports.PatchBrandKitRequestFontsToJSON = PatchBrandKitRequestFontsToJSON;
|
|
20
|
+
exports.PatchBrandKitRequestFontsToJSONTyped = PatchBrandKitRequestFontsToJSONTyped;
|
|
21
|
+
const BrandFont_1 = require("./BrandFont");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PatchBrandKitRequestFonts interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPatchBrandKitRequestFonts(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function PatchBrandKitRequestFontsFromJSON(json) {
|
|
29
|
+
return PatchBrandKitRequestFontsFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function PatchBrandKitRequestFontsFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'title': json['title'] == null ? undefined : (0, BrandFont_1.BrandFontFromJSON)(json['title']),
|
|
37
|
+
'subtitle': json['subtitle'] == null ? undefined : (0, BrandFont_1.BrandFontFromJSON)(json['subtitle']),
|
|
38
|
+
'body': json['body'] == null ? undefined : (0, BrandFont_1.BrandFontFromJSON)(json['body']),
|
|
39
|
+
'caption': json['caption'] == null ? undefined : (0, BrandFont_1.BrandFontFromJSON)(json['caption']),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function PatchBrandKitRequestFontsToJSON(json) {
|
|
43
|
+
return PatchBrandKitRequestFontsToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function PatchBrandKitRequestFontsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'title': (0, BrandFont_1.BrandFontToJSON)(value['title']),
|
|
51
|
+
'subtitle': (0, BrandFont_1.BrandFontToJSON)(value['subtitle']),
|
|
52
|
+
'body': (0, BrandFont_1.BrandFontToJSON)(value['body']),
|
|
53
|
+
'caption': (0, BrandFont_1.BrandFontToJSON)(value['caption']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The spacing and radius steps to change; the steps that are left out keep their value.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchBrandKitRequestSpacing
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchBrandKitRequestSpacing {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PatchBrandKitRequestSpacing
|
|
22
|
+
*/
|
|
23
|
+
xs?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PatchBrandKitRequestSpacing
|
|
28
|
+
*/
|
|
29
|
+
s?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PatchBrandKitRequestSpacing
|
|
34
|
+
*/
|
|
35
|
+
m?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PatchBrandKitRequestSpacing
|
|
40
|
+
*/
|
|
41
|
+
l?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PatchBrandKitRequestSpacing
|
|
46
|
+
*/
|
|
47
|
+
xl?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PatchBrandKitRequestSpacing
|
|
52
|
+
*/
|
|
53
|
+
radiusS?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof PatchBrandKitRequestSpacing
|
|
58
|
+
*/
|
|
59
|
+
radiusM?: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof PatchBrandKitRequestSpacing
|
|
64
|
+
*/
|
|
65
|
+
radiusL?: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the PatchBrandKitRequestSpacing interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfPatchBrandKitRequestSpacing(value: object): value is PatchBrandKitRequestSpacing;
|
|
71
|
+
export declare function PatchBrandKitRequestSpacingFromJSON(json: any): PatchBrandKitRequestSpacing;
|
|
72
|
+
export declare function PatchBrandKitRequestSpacingFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchBrandKitRequestSpacing;
|
|
73
|
+
export declare function PatchBrandKitRequestSpacingToJSON(json: any): PatchBrandKitRequestSpacing;
|
|
74
|
+
export declare function PatchBrandKitRequestSpacingToJSONTyped(value?: PatchBrandKitRequestSpacing | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPatchBrandKitRequestSpacing = instanceOfPatchBrandKitRequestSpacing;
|
|
17
|
+
exports.PatchBrandKitRequestSpacingFromJSON = PatchBrandKitRequestSpacingFromJSON;
|
|
18
|
+
exports.PatchBrandKitRequestSpacingFromJSONTyped = PatchBrandKitRequestSpacingFromJSONTyped;
|
|
19
|
+
exports.PatchBrandKitRequestSpacingToJSON = PatchBrandKitRequestSpacingToJSON;
|
|
20
|
+
exports.PatchBrandKitRequestSpacingToJSONTyped = PatchBrandKitRequestSpacingToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PatchBrandKitRequestSpacing interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPatchBrandKitRequestSpacing(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function PatchBrandKitRequestSpacingFromJSON(json) {
|
|
28
|
+
return PatchBrandKitRequestSpacingFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function PatchBrandKitRequestSpacingFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'xs': json['xs'] == null ? undefined : json['xs'],
|
|
36
|
+
's': json['s'] == null ? undefined : json['s'],
|
|
37
|
+
'm': json['m'] == null ? undefined : json['m'],
|
|
38
|
+
'l': json['l'] == null ? undefined : json['l'],
|
|
39
|
+
'xl': json['xl'] == null ? undefined : json['xl'],
|
|
40
|
+
'radiusS': json['radiusS'] == null ? undefined : json['radiusS'],
|
|
41
|
+
'radiusM': json['radiusM'] == null ? undefined : json['radiusM'],
|
|
42
|
+
'radiusL': json['radiusL'] == null ? undefined : json['radiusL'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PatchBrandKitRequestSpacingToJSON(json) {
|
|
46
|
+
return PatchBrandKitRequestSpacingToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PatchBrandKitRequestSpacingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'xs': value['xs'],
|
|
54
|
+
's': value['s'],
|
|
55
|
+
'm': value['m'],
|
|
56
|
+
'l': value['l'],
|
|
57
|
+
'xl': value['xl'],
|
|
58
|
+
'radiusS': value['radiusS'],
|
|
59
|
+
'radiusM': value['radiusM'],
|
|
60
|
+
'radiusL': value['radiusL'],
|
|
61
|
+
};
|
|
62
|
+
}
|