@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,57 @@
|
|
|
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 { BrandTextStyleFromJSON, BrandTextStyleToJSON, } from './BrandTextStyle.js';
|
|
15
|
+
import { BrandColorFromJSON, BrandColorToJSON, } from './BrandColor.js';
|
|
16
|
+
import { PatchBrandKitRequestFontsFromJSON, PatchBrandKitRequestFontsToJSON, } from './PatchBrandKitRequestFonts.js';
|
|
17
|
+
import { PatchBrandKitRequestSpacingFromJSON, PatchBrandKitRequestSpacingToJSON, } from './PatchBrandKitRequestSpacing.js';
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the PatchBrandKitRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfPatchBrandKitRequest(value) {
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function PatchBrandKitRequestFromJSON(json) {
|
|
25
|
+
return PatchBrandKitRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function PatchBrandKitRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'colors': json['colors'] == null ? undefined : (json['colors'].map(BrandColorFromJSON)),
|
|
33
|
+
'fonts': json['fonts'] == null ? undefined : PatchBrandKitRequestFontsFromJSON(json['fonts']),
|
|
34
|
+
'textStyles': json['textStyles'] == null ? undefined : (json['textStyles'].map(BrandTextStyleFromJSON)),
|
|
35
|
+
'spacing': json['spacing'] == null ? undefined : PatchBrandKitRequestSpacingFromJSON(json['spacing']),
|
|
36
|
+
'cornerRadius': json['cornerRadius'] == null ? undefined : json['cornerRadius'],
|
|
37
|
+
'instructions': json['instructions'] == null ? undefined : json['instructions'],
|
|
38
|
+
'expectedVersion': json['expectedVersion'] == null ? undefined : json['expectedVersion'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function PatchBrandKitRequestToJSON(json) {
|
|
42
|
+
return PatchBrandKitRequestToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function PatchBrandKitRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'colors': value['colors'] == null ? undefined : (value['colors'].map(BrandColorToJSON)),
|
|
50
|
+
'fonts': PatchBrandKitRequestFontsToJSON(value['fonts']),
|
|
51
|
+
'textStyles': value['textStyles'] == null ? undefined : (value['textStyles'].map(BrandTextStyleToJSON)),
|
|
52
|
+
'spacing': PatchBrandKitRequestSpacingToJSON(value['spacing']),
|
|
53
|
+
'cornerRadius': value['cornerRadius'],
|
|
54
|
+
'instructions': value['instructions'],
|
|
55
|
+
'expectedVersion': value['expectedVersion'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -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 PatchBrandKitRequestFonts interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPatchBrandKitRequestFonts(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function PatchBrandKitRequestFontsFromJSON(json) {
|
|
22
|
+
return PatchBrandKitRequestFontsFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function PatchBrandKitRequestFontsFromJSONTyped(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 PatchBrandKitRequestFontsToJSON(json) {
|
|
36
|
+
return PatchBrandKitRequestFontsToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function PatchBrandKitRequestFontsToJSONTyped(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,55 @@
|
|
|
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 PatchBrandKitRequestSpacing interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPatchBrandKitRequestSpacing(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PatchBrandKitRequestSpacingFromJSON(json) {
|
|
21
|
+
return PatchBrandKitRequestSpacingFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PatchBrandKitRequestSpacingFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'xs': json['xs'] == null ? undefined : json['xs'],
|
|
29
|
+
's': json['s'] == null ? undefined : json['s'],
|
|
30
|
+
'm': json['m'] == null ? undefined : json['m'],
|
|
31
|
+
'l': json['l'] == null ? undefined : json['l'],
|
|
32
|
+
'xl': json['xl'] == null ? undefined : json['xl'],
|
|
33
|
+
'radiusS': json['radiusS'] == null ? undefined : json['radiusS'],
|
|
34
|
+
'radiusM': json['radiusM'] == null ? undefined : json['radiusM'],
|
|
35
|
+
'radiusL': json['radiusL'] == null ? undefined : json['radiusL'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function PatchBrandKitRequestSpacingToJSON(json) {
|
|
39
|
+
return PatchBrandKitRequestSpacingToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function PatchBrandKitRequestSpacingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'xs': value['xs'],
|
|
47
|
+
's': value['s'],
|
|
48
|
+
'm': value['m'],
|
|
49
|
+
'l': value['l'],
|
|
50
|
+
'xl': value['xl'],
|
|
51
|
+
'radiusS': value['radiusS'],
|
|
52
|
+
'radiusM': value['radiusM'],
|
|
53
|
+
'radiusL': value['radiusL'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 PostBrandKitIconRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPostBrandKitIconRequest(value) {
|
|
18
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('svg' in value) || value['svg'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function PostBrandKitIconRequestFromJSON(json) {
|
|
25
|
+
return PostBrandKitIconRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function PostBrandKitIconRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'name': json['name'],
|
|
33
|
+
'svg': json['svg'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function PostBrandKitIconRequestToJSON(json) {
|
|
37
|
+
return PostBrandKitIconRequestToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function PostBrandKitIconRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'name': value['name'],
|
|
45
|
+
'svg': value['svg'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -19,6 +19,15 @@ export const PublicWorkflowEventsRequestEventsInnerKEnum = {
|
|
|
19
19
|
E: 'e',
|
|
20
20
|
F: 'f'
|
|
21
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export const PublicWorkflowEventsRequestEventsInnerREnum = {
|
|
26
|
+
T: 't',
|
|
27
|
+
E: 'e',
|
|
28
|
+
B: 'b',
|
|
29
|
+
O: 'o'
|
|
30
|
+
};
|
|
22
31
|
/**
|
|
23
32
|
* Check if a given object implements the PublicWorkflowEventsRequestEventsInner interface.
|
|
24
33
|
*/
|
|
@@ -40,6 +49,7 @@ export function PublicWorkflowEventsRequestEventsInnerFromJSONTyped(json, ignore
|
|
|
40
49
|
'k': json['k'],
|
|
41
50
|
'id': json['id'],
|
|
42
51
|
'c': json['c'] == null ? undefined : json['c'],
|
|
52
|
+
'r': json['r'] == null ? undefined : json['r'],
|
|
43
53
|
};
|
|
44
54
|
}
|
|
45
55
|
export function PublicWorkflowEventsRequestEventsInnerToJSON(json) {
|
|
@@ -53,5 +63,6 @@ export function PublicWorkflowEventsRequestEventsInnerToJSONTyped(value, ignoreD
|
|
|
53
63
|
'k': value['k'],
|
|
54
64
|
'id': value['id'],
|
|
55
65
|
'c': value['c'],
|
|
66
|
+
'r': value['r'],
|
|
56
67
|
};
|
|
57
68
|
}
|
|
@@ -14,19 +14,19 @@
|
|
|
14
14
|
import { PublicWorkflowFromJSON, PublicWorkflowToJSON, } from './PublicWorkflow.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 PublicWorkflowResponse interface.
|
|
18
18
|
*/
|
|
19
|
-
export function
|
|
19
|
+
export function instanceOfPublicWorkflowResponse(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 PublicWorkflowResponseFromJSON(json) {
|
|
27
|
+
return PublicWorkflowResponseFromJSONTyped(json, false);
|
|
28
28
|
}
|
|
29
|
-
export function
|
|
29
|
+
export function PublicWorkflowResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
30
|
if (json == null) {
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
@@ -36,10 +36,10 @@ export function GetPublicWorkflow200ResponseFromJSONTyped(json, ignoreDiscrimina
|
|
|
36
36
|
'meta': json['meta'] == null ? undefined : ResponseMetaFromJSON(json['meta']),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export function
|
|
40
|
-
return
|
|
39
|
+
export function PublicWorkflowResponseToJSON(json) {
|
|
40
|
+
return PublicWorkflowResponseToJSONTyped(json, false);
|
|
41
41
|
}
|
|
42
|
-
export function
|
|
42
|
+
export function PublicWorkflowResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
43
|
if (value == null) {
|
|
44
44
|
return value;
|
|
45
45
|
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { BrandKitTokensFromJSON, BrandKitTokensToJSON, } from './BrandKitTokens.js';
|
|
15
|
+
import { BrandKitFigmaSourceFromJSON, BrandKitFigmaSourceToJSON, } from './BrandKitFigmaSource.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PutBrandKitRequest interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPutBrandKitRequest(value) {
|
|
20
|
+
if (!('tokens' in value) || value['tokens'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function PutBrandKitRequestFromJSON(json) {
|
|
25
|
+
return PutBrandKitRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function PutBrandKitRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'tokens': BrandKitTokensFromJSON(json['tokens']),
|
|
33
|
+
'figmaSource': json['figmaSource'] == null ? undefined : BrandKitFigmaSourceFromJSON(json['figmaSource']),
|
|
34
|
+
'expectedVersion': json['expectedVersion'] == null ? undefined : json['expectedVersion'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function PutBrandKitRequestToJSON(json) {
|
|
38
|
+
return PutBrandKitRequestToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function PutBrandKitRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'tokens': BrandKitTokensToJSON(value['tokens']),
|
|
46
|
+
'figmaSource': BrandKitFigmaSourceToJSON(value['figmaSource']),
|
|
47
|
+
'expectedVersion': value['expectedVersion'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -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 { ResponseMetaFromJSON, ResponseMetaToJSON, } from './ResponseMeta.js';
|
|
15
|
+
import { AddOrganizationDomainResponseDataFromJSON, AddOrganizationDomainResponseDataToJSON, } from './AddOrganizationDomainResponseData.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the UpdateOrganizationDomainResponse interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfUpdateOrganizationDomainResponse(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 UpdateOrganizationDomainResponseFromJSON(json) {
|
|
27
|
+
return UpdateOrganizationDomainResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function UpdateOrganizationDomainResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'success': json['success'],
|
|
35
|
+
'data': AddOrganizationDomainResponseDataFromJSON(json['data']),
|
|
36
|
+
'meta': json['meta'] == null ? undefined : ResponseMetaFromJSON(json['meta']),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function UpdateOrganizationDomainResponseToJSON(json) {
|
|
40
|
+
return UpdateOrganizationDomainResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function UpdateOrganizationDomainResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'success': value['success'],
|
|
48
|
+
'data': AddOrganizationDomainResponseDataToJSON(value['data']),
|
|
49
|
+
'meta': ResponseMetaToJSON(value['meta']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -82,6 +82,7 @@ export function UploadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
82
82
|
'conversation_id': json['conversation_id'] == null ? undefined : json['conversation_id'],
|
|
83
83
|
'managed_user_id': json['managed_user_id'] == null ? undefined : json['managed_user_id'],
|
|
84
84
|
'purpose': json['purpose'] == null ? undefined : json['purpose'],
|
|
85
|
+
'library_folder_path': json['library_folder_path'] == null ? undefined : json['library_folder_path'],
|
|
85
86
|
};
|
|
86
87
|
}
|
|
87
88
|
export function UploadToJSON(json) {
|
|
@@ -106,5 +107,6 @@ export function UploadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
106
107
|
'conversation_id': value['conversation_id'],
|
|
107
108
|
'managed_user_id': value['managed_user_id'],
|
|
108
109
|
'purpose': value['purpose'],
|
|
110
|
+
'library_folder_path': value['library_folder_path'],
|
|
109
111
|
};
|
|
110
112
|
}
|
|
@@ -56,6 +56,7 @@ export function UserApiKeyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
57
57
|
'lastUsedAt': json['lastUsedAt'] == null ? undefined : (new Date(json['lastUsedAt'])),
|
|
58
58
|
'isActive': json['isActive'],
|
|
59
|
+
'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
|
|
59
60
|
'scopes': (json['scopes'].map(ApiKeyScopeFromJSON)),
|
|
60
61
|
'preset': json['preset'],
|
|
61
62
|
};
|
|
@@ -75,6 +76,7 @@ export function UserApiKeyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
75
76
|
'expiresAt': value['expiresAt'] == null ? undefined : (value['expiresAt'].toISOString()),
|
|
76
77
|
'lastUsedAt': value['lastUsedAt'] == null ? undefined : (value['lastUsedAt'].toISOString()),
|
|
77
78
|
'isActive': value['isActive'],
|
|
79
|
+
'organizationId': value['organizationId'],
|
|
78
80
|
'scopes': (value['scopes'].map(ApiKeyScopeToJSON)),
|
|
79
81
|
'preset': value['preset'],
|
|
80
82
|
};
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { ValidateToken200ResponseDataWorkspaceFromJSON, ValidateToken200ResponseDataWorkspaceToJSON, } from './ValidateToken200ResponseDataWorkspace.js';
|
|
14
15
|
/**
|
|
15
16
|
* @export
|
|
16
17
|
*/
|
|
@@ -38,6 +39,7 @@ export function ValidateToken200ResponseDataFromJSONTyped(json, ignoreDiscrimina
|
|
|
38
39
|
'scopes': json['scopes'] == null ? undefined : json['scopes'],
|
|
39
40
|
'userId': json['userId'] == null ? undefined : json['userId'],
|
|
40
41
|
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
42
|
+
'workspace': json['workspace'] == null ? undefined : ValidateToken200ResponseDataWorkspaceFromJSON(json['workspace']),
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
export function ValidateToken200ResponseDataToJSON(json) {
|
|
@@ -53,5 +55,6 @@ export function ValidateToken200ResponseDataToJSONTyped(value, ignoreDiscriminat
|
|
|
53
55
|
'scopes': value['scopes'],
|
|
54
56
|
'userId': value['userId'],
|
|
55
57
|
'expiresAt': value['expiresAt'] == null ? undefined : ((value['expiresAt']).toISOString()),
|
|
58
|
+
'workspace': ValidateToken200ResponseDataWorkspaceToJSON(value['workspace']),
|
|
56
59
|
};
|
|
57
60
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 ValidateToken200ResponseDataWorkspace interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfValidateToken200ResponseDataWorkspace(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ValidateToken200ResponseDataWorkspaceFromJSON(json) {
|
|
21
|
+
return ValidateToken200ResponseDataWorkspaceFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ValidateToken200ResponseDataWorkspaceFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
29
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function ValidateToken200ResponseDataWorkspaceToJSON(json) {
|
|
33
|
+
return ValidateToken200ResponseDataWorkspaceToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function ValidateToken200ResponseDataWorkspaceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'id': value['id'],
|
|
41
|
+
'name': value['name'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -44,11 +44,14 @@ export function WidgetFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
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'],
|
|
@@ -75,11 +78,14 @@ export function WidgetToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
75
78
|
'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
|
76
79
|
'updatedAt': value['updatedAt'] == null ? undefined : ((value['updatedAt']).toISOString()),
|
|
77
80
|
'jsPath': value['jsPath'],
|
|
81
|
+
'thumbnailSvg': value['thumbnailSvg'],
|
|
78
82
|
'canvasId': value['canvasId'],
|
|
79
83
|
'repoId': value['repoId'],
|
|
80
84
|
'databaseId': value['databaseId'],
|
|
81
85
|
'version': value['version'],
|
|
82
86
|
'lastCommitSha': value['lastCommitSha'],
|
|
87
|
+
'hasUnpublishedChanges': value['hasUnpublishedChanges'],
|
|
88
|
+
'publishedAt': value['publishedAt'] == null ? undefined : (value['publishedAt'].toISOString()),
|
|
83
89
|
'organizationId': value['organizationId'],
|
|
84
90
|
'projectFolder': value['projectFolder'],
|
|
85
91
|
'workspaceType': value['workspaceType'],
|
|
@@ -0,0 +1,52 @@
|
|
|
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 { WidgetClarificationQuestionFromJSON, WidgetClarificationQuestionToJSON, } from './WidgetClarificationQuestion.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the WidgetClarification interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfWidgetClarification(value) {
|
|
19
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('questions' in value) || value['questions'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('filesRead' in value) || value['filesRead'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function WidgetClarificationFromJSON(json) {
|
|
28
|
+
return WidgetClarificationFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function WidgetClarificationFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'message': json['message'],
|
|
36
|
+
'questions': (json['questions'].map(WidgetClarificationQuestionFromJSON)),
|
|
37
|
+
'filesRead': json['filesRead'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function WidgetClarificationToJSON(json) {
|
|
41
|
+
return WidgetClarificationToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function WidgetClarificationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'message': value['message'],
|
|
49
|
+
'questions': (value['questions'].map(WidgetClarificationQuestionToJSON)),
|
|
50
|
+
'filesRead': value['filesRead'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -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
|
+
/**
|
|
15
|
+
* Check if a given object implements the WidgetClarificationOption interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfWidgetClarificationOption(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('recommended' in value) || value['recommended'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function WidgetClarificationOptionFromJSON(json) {
|
|
27
|
+
return WidgetClarificationOptionFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function WidgetClarificationOptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'id': json['id'],
|
|
35
|
+
'label': json['label'],
|
|
36
|
+
'recommended': json['recommended'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function WidgetClarificationOptionToJSON(json) {
|
|
40
|
+
return WidgetClarificationOptionToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function WidgetClarificationOptionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': value['id'],
|
|
48
|
+
'label': value['label'],
|
|
49
|
+
'recommended': value['recommended'],
|
|
50
|
+
};
|
|
51
|
+
}
|