linkbreakers 1.179.0 → 1.181.0
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/dist/apis/APIScopesApi.d.ts +1 -1
- package/dist/apis/APIScopesApi.js +1 -1
- package/dist/apis/AgentIdentityApi.d.ts +1 -1
- package/dist/apis/AgentIdentityApi.js +1 -1
- package/dist/apis/AllowancesApi.d.ts +1 -1
- package/dist/apis/AllowancesApi.js +1 -1
- package/dist/apis/AnalyticsDashboardApi.d.ts +1 -1
- package/dist/apis/AnalyticsDashboardApi.js +1 -1
- package/dist/apis/AnalyticsDataApi.d.ts +1 -1
- package/dist/apis/AnalyticsDataApi.js +1 -1
- package/dist/apis/AssistantApi.d.ts +1 -1
- package/dist/apis/AssistantApi.js +1 -1
- package/dist/apis/CustomDomainsApi.d.ts +1 -1
- package/dist/apis/CustomDomainsApi.js +1 -1
- package/dist/apis/DirectoriesApi.d.ts +1 -1
- package/dist/apis/DirectoriesApi.js +1 -1
- package/dist/apis/EventsApi.d.ts +1 -1
- package/dist/apis/EventsApi.js +1 -1
- package/dist/apis/GoogleFormsIntegrationsApi.d.ts +1 -1
- package/dist/apis/GoogleFormsIntegrationsApi.js +1 -1
- package/dist/apis/IntegrationsServiceApi.d.ts +1 -1
- package/dist/apis/IntegrationsServiceApi.js +1 -1
- package/dist/apis/JobsApi.d.ts +1 -1
- package/dist/apis/JobsApi.js +1 -1
- package/dist/apis/LinkSettingsApi.d.ts +1 -1
- package/dist/apis/LinkSettingsApi.js +1 -1
- package/dist/apis/LinksApi.d.ts +1 -1
- package/dist/apis/LinksApi.js +1 -1
- package/dist/apis/MediaApi.d.ts +157 -22
- package/dist/apis/MediaApi.js +177 -11
- package/dist/apis/MembersApi.d.ts +1 -1
- package/dist/apis/MembersApi.js +1 -1
- package/dist/apis/PageThemeTemplatesApi.d.ts +1 -1
- package/dist/apis/PageThemeTemplatesApi.js +1 -1
- package/dist/apis/PageThemesApi.d.ts +1 -1
- package/dist/apis/PageThemesApi.js +1 -1
- package/dist/apis/PricingApi.d.ts +1 -1
- package/dist/apis/PricingApi.js +1 -1
- package/dist/apis/QRCodeDesignsApi.d.ts +1 -1
- package/dist/apis/QRCodeDesignsApi.js +1 -1
- package/dist/apis/QRCodeTemplatesApi.d.ts +1 -1
- package/dist/apis/QRCodeTemplatesApi.js +1 -1
- package/dist/apis/SandboxesApi.d.ts +1 -1
- package/dist/apis/SandboxesApi.js +1 -1
- package/dist/apis/SlackIntegrationsApi.d.ts +1 -1
- package/dist/apis/SlackIntegrationsApi.js +1 -1
- package/dist/apis/TagsApi.d.ts +1 -1
- package/dist/apis/TagsApi.js +1 -1
- package/dist/apis/TimeSeriesApi.d.ts +1 -1
- package/dist/apis/TimeSeriesApi.js +1 -1
- package/dist/apis/VisitorsApi.d.ts +1 -1
- package/dist/apis/VisitorsApi.js +1 -1
- package/dist/apis/WebhooksApi.d.ts +1 -1
- package/dist/apis/WebhooksApi.js +1 -1
- package/dist/apis/WorkflowStepsApi.d.ts +1 -1
- package/dist/apis/WorkflowStepsApi.js +1 -1
- package/dist/apis/WorkspaceMetricsApi.d.ts +1 -1
- package/dist/apis/WorkspaceMetricsApi.js +1 -1
- package/dist/apis/WorkspaceTokensApi.d.ts +1 -1
- package/dist/apis/WorkspaceTokensApi.js +1 -1
- package/dist/apis/WorkspacesApi.d.ts +1 -1
- package/dist/apis/WorkspacesApi.js +1 -1
- package/dist/models/Action.d.ts +1 -1
- package/dist/models/Action.js +1 -1
- package/dist/models/AgentClaim.d.ts +1 -1
- package/dist/models/AgentClaim.js +1 -1
- package/dist/models/AgentClaimStatus.d.ts +1 -1
- package/dist/models/AgentClaimStatus.js +1 -1
- package/dist/models/AnalyticsDashboard.d.ts +1 -1
- package/dist/models/AnalyticsDashboard.js +1 -1
- package/dist/models/AnalyticsDashboardServiceGenerateWidgetSummaryBody.d.ts +1 -1
- package/dist/models/AnalyticsDashboardServiceGenerateWidgetSummaryBody.js +1 -1
- package/dist/models/AnalyticsDashboardServiceUpdateDashboardBody.d.ts +1 -1
- package/dist/models/AnalyticsDashboardServiceUpdateDashboardBody.js +1 -1
- package/dist/models/AnalyticsWidgetResult.d.ts +1 -1
- package/dist/models/AnalyticsWidgetResult.js +1 -1
- package/dist/models/ApiScope.d.ts +1 -1
- package/dist/models/ApiScope.js +1 -1
- package/dist/models/ApiScopeAccess.d.ts +1 -1
- package/dist/models/ApiScopeAccess.js +1 -1
- package/dist/models/ApiScopeInfo.d.ts +1 -1
- package/dist/models/ApiScopeInfo.js +1 -1
- package/dist/models/ApiTag.d.ts +1 -1
- package/dist/models/ApiTag.js +1 -1
- package/dist/models/ApplyPageThemeTemplateRequest.d.ts +1 -1
- package/dist/models/ApplyPageThemeTemplateRequest.js +1 -1
- package/dist/models/ApplyPageThemeTemplateResponse.d.ts +1 -1
- package/dist/models/ApplyPageThemeTemplateResponse.js +1 -1
- package/dist/models/ApplyQrcodeTemplateRequest.d.ts +1 -1
- package/dist/models/ApplyQrcodeTemplateRequest.js +1 -1
- package/dist/models/ApplyQrcodeTemplateResponse.d.ts +1 -1
- package/dist/models/ApplyQrcodeTemplateResponse.js +1 -1
- package/dist/models/AssistantCompleteAttachmentUploadResponse.d.ts +1 -1
- package/dist/models/AssistantCompleteAttachmentUploadResponse.js +1 -1
- package/dist/models/AssistantContextType.d.ts +1 -1
- package/dist/models/AssistantContextType.js +1 -1
- package/dist/models/AssistantCreateAttachmentUploadRequest.d.ts +1 -1
- package/dist/models/AssistantCreateAttachmentUploadRequest.js +1 -1
- package/dist/models/AssistantCreateAttachmentUploadResponse.d.ts +1 -1
- package/dist/models/AssistantCreateAttachmentUploadResponse.js +1 -1
- package/dist/models/AssistantDisplayMessage.d.ts +1 -1
- package/dist/models/AssistantDisplayMessage.js +1 -1
- package/dist/models/AssistantDisplayMessageAttachment.d.ts +1 -1
- package/dist/models/AssistantDisplayMessageAttachment.js +1 -1
- package/dist/models/AssistantGetConversationResponse.d.ts +1 -1
- package/dist/models/AssistantGetConversationResponse.js +1 -1
- package/dist/models/AssistantMarkConversationReadRequest.d.ts +1 -1
- package/dist/models/AssistantMarkConversationReadRequest.js +1 -1
- package/dist/models/AssistantMarkConversationReadResponse.d.ts +1 -1
- package/dist/models/AssistantMarkConversationReadResponse.js +1 -1
- package/dist/models/AssistantUploadFileRequest.d.ts +1 -1
- package/dist/models/AssistantUploadFileRequest.js +1 -1
- package/dist/models/AssistantUploadFileResponse.d.ts +1 -1
- package/dist/models/AssistantUploadFileResponse.js +1 -1
- package/dist/models/AttributeCapture.d.ts +1 -1
- package/dist/models/AttributeCapture.js +1 -1
- package/dist/models/AttributeValueDataPoint.d.ts +1 -1
- package/dist/models/AttributeValueDataPoint.js +1 -1
- package/dist/models/AttributeValueEntry.d.ts +1 -1
- package/dist/models/AttributeValueEntry.js +1 -1
- package/dist/models/AttributeWrite.d.ts +1 -1
- package/dist/models/AttributeWrite.js +1 -1
- package/dist/models/AttributeWriteMode.d.ts +1 -1
- package/dist/models/AttributeWriteMode.js +1 -1
- package/dist/models/AutoLayoutWorkflowResponse.d.ts +1 -1
- package/dist/models/AutoLayoutWorkflowResponse.js +1 -1
- package/dist/models/BackButton.d.ts +3 -2
- package/dist/models/BackButton.js +1 -1
- package/dist/models/BackgroundOptions.d.ts +1 -1
- package/dist/models/BackgroundOptions.js +1 -1
- package/dist/models/BillingInterval.d.ts +1 -1
- package/dist/models/BillingInterval.js +1 -1
- package/dist/models/BreakdownDataPoint.d.ts +1 -1
- package/dist/models/BreakdownDataPoint.js +1 -1
- package/dist/models/CanvasPosition.d.ts +1 -1
- package/dist/models/CanvasPosition.js +1 -1
- package/dist/models/ChatDisplayMessage.d.ts +1 -1
- package/dist/models/ChatDisplayMessage.js +1 -1
- package/dist/models/ChatUIAction.d.ts +1 -1
- package/dist/models/ChatUIAction.js +1 -1
- package/dist/models/ChatUIOption.d.ts +1 -1
- package/dist/models/ChatUIOption.js +1 -1
- package/dist/models/CheckCustomDomainResponse.d.ts +1 -1
- package/dist/models/CheckCustomDomainResponse.js +1 -1
- package/dist/models/ClaimAgentWorkspaceRequest.d.ts +1 -1
- package/dist/models/ClaimAgentWorkspaceRequest.js +1 -1
- package/dist/models/ClientRedirectPayload.d.ts +1 -1
- package/dist/models/ClientRedirectPayload.js +1 -1
- package/dist/models/CompleteGoogleFormsOAuthRequest.d.ts +1 -1
- package/dist/models/CompleteGoogleFormsOAuthRequest.js +1 -1
- package/dist/models/CompleteGoogleFormsOAuthResponse.d.ts +1 -1
- package/dist/models/CompleteGoogleFormsOAuthResponse.js +1 -1
- package/dist/models/CompleteMediaReplaceResponse.d.ts +47 -0
- package/dist/models/CompleteMediaReplaceResponse.js +54 -0
- package/dist/models/CompleteMediaUploadResponse.d.ts +1 -1
- package/dist/models/CompleteMediaUploadResponse.js +1 -1
- package/dist/models/CompleteSlackOAuthRequest.d.ts +1 -1
- package/dist/models/CompleteSlackOAuthRequest.js +1 -1
- package/dist/models/CompleteSlackOAuthResponse.d.ts +1 -1
- package/dist/models/CompleteSlackOAuthResponse.js +1 -1
- package/dist/models/ConnectWorkflowStepResponse.d.ts +1 -1
- package/dist/models/ConnectWorkflowStepResponse.js +1 -1
- package/dist/models/ContactCardTraceCard.d.ts +1 -1
- package/dist/models/ContactCardTraceCard.js +1 -1
- package/dist/models/ContactCardTraceData.d.ts +1 -1
- package/dist/models/ContactCardTraceData.js +1 -1
- package/dist/models/ContainerConfig.d.ts +1 -1
- package/dist/models/ContainerConfig.js +1 -1
- package/dist/models/CornersDotOptions.d.ts +1 -1
- package/dist/models/CornersDotOptions.js +1 -1
- package/dist/models/CornersDotType.d.ts +1 -1
- package/dist/models/CornersDotType.js +1 -1
- package/dist/models/CornersSquareOptions.d.ts +1 -1
- package/dist/models/CornersSquareOptions.js +1 -1
- package/dist/models/CornersSquareType.d.ts +1 -1
- package/dist/models/CornersSquareType.js +1 -1
- package/dist/models/CountryConditionOutcome.d.ts +1 -1
- package/dist/models/CountryConditionOutcome.js +1 -1
- package/dist/models/CountryConditionPayload.d.ts +1 -1
- package/dist/models/CountryConditionPayload.js +1 -1
- package/dist/models/CountryConditionTraceData.d.ts +1 -1
- package/dist/models/CountryConditionTraceData.js +1 -1
- package/dist/models/CountryConditionTraceOption.d.ts +1 -1
- package/dist/models/CountryConditionTraceOption.js +1 -1
- package/dist/models/CreateBulkLinksRequest.d.ts +1 -1
- package/dist/models/CreateBulkLinksRequest.js +1 -1
- package/dist/models/CreateBulkLinksResponse.d.ts +1 -1
- package/dist/models/CreateBulkLinksResponse.js +1 -1
- package/dist/models/CreateContactLinkRequest.d.ts +1 -1
- package/dist/models/CreateContactLinkRequest.js +1 -1
- package/dist/models/CreateContactLinkResponse.d.ts +1 -1
- package/dist/models/CreateContactLinkResponse.js +1 -1
- package/dist/models/CreateCustomDomainRequest.d.ts +1 -1
- package/dist/models/CreateCustomDomainRequest.js +1 -1
- package/dist/models/CreateCustomDomainResponse.d.ts +1 -1
- package/dist/models/CreateCustomDomainResponse.js +1 -1
- package/dist/models/CreateDashboardRequest.d.ts +1 -1
- package/dist/models/CreateDashboardRequest.js +1 -1
- package/dist/models/CreateDashboardResponse.d.ts +1 -1
- package/dist/models/CreateDashboardResponse.js +1 -1
- package/dist/models/CreateDirectoryRequest.d.ts +1 -1
- package/dist/models/CreateDirectoryRequest.js +1 -1
- package/dist/models/CreateDirectoryResponse.d.ts +1 -1
- package/dist/models/CreateDirectoryResponse.js +1 -1
- package/dist/models/CreateEventTraceResponse.d.ts +1 -1
- package/dist/models/CreateEventTraceResponse.js +1 -1
- package/dist/models/CreateLinkRequest.d.ts +1 -1
- package/dist/models/CreateLinkRequest.js +1 -1
- package/dist/models/CreateLinkResponse.d.ts +1 -1
- package/dist/models/CreateLinkResponse.js +1 -1
- package/dist/models/CreateMediaReplaceUploadResponse.d.ts +72 -0
- package/dist/models/CreateMediaReplaceUploadResponse.js +61 -0
- package/dist/models/CreateMediaRequest.d.ts +1 -1
- package/dist/models/CreateMediaRequest.js +1 -1
- package/dist/models/CreateMediaResponse.d.ts +1 -1
- package/dist/models/CreateMediaResponse.js +1 -1
- package/dist/models/CreateMediaUploadRequest.d.ts +11 -1
- package/dist/models/CreateMediaUploadRequest.js +3 -1
- package/dist/models/CreateMediaUploadResponse.d.ts +2 -2
- package/dist/models/CreateMediaUploadResponse.js +1 -1
- package/dist/models/CreateOpenMediaLinkRequest.d.ts +1 -1
- package/dist/models/CreateOpenMediaLinkRequest.js +1 -1
- package/dist/models/CreateOpenMediaLinkResponse.d.ts +1 -1
- package/dist/models/CreateOpenMediaLinkResponse.js +1 -1
- package/dist/models/CreatePageThemeTemplateRequest.d.ts +1 -1
- package/dist/models/CreatePageThemeTemplateRequest.js +1 -1
- package/dist/models/CreatePageThemeTemplateResponse.d.ts +1 -1
- package/dist/models/CreatePageThemeTemplateResponse.js +1 -1
- package/dist/models/CreateQrcodeTemplateRequest.d.ts +1 -1
- package/dist/models/CreateQrcodeTemplateRequest.js +1 -1
- package/dist/models/CreateQrcodeTemplateResponse.d.ts +1 -1
- package/dist/models/CreateQrcodeTemplateResponse.js +1 -1
- package/dist/models/CreateSandboxRequest.d.ts +1 -1
- package/dist/models/CreateSandboxRequest.js +1 -1
- package/dist/models/CreateSandboxResponse.d.ts +1 -1
- package/dist/models/CreateSandboxResponse.js +1 -1
- package/dist/models/CreateThankYouLinkRequest.d.ts +1 -1
- package/dist/models/CreateThankYouLinkRequest.js +1 -1
- package/dist/models/CreateThankYouLinkResponse.d.ts +1 -1
- package/dist/models/CreateThankYouLinkResponse.js +1 -1
- package/dist/models/CreateWebhookRequest.d.ts +1 -1
- package/dist/models/CreateWebhookRequest.js +1 -1
- package/dist/models/CreateWebhookResponse.d.ts +1 -1
- package/dist/models/CreateWebhookResponse.js +1 -1
- package/dist/models/CreateWorkflowStepResponse.d.ts +1 -1
- package/dist/models/CreateWorkflowStepResponse.js +1 -1
- package/dist/models/CreateWorkspaceTokenRequest.d.ts +1 -1
- package/dist/models/CreateWorkspaceTokenRequest.js +1 -1
- package/dist/models/CreateWorkspaceTokenResponse.d.ts +1 -1
- package/dist/models/CreateWorkspaceTokenResponse.js +1 -1
- package/dist/models/CreditTopup.d.ts +1 -1
- package/dist/models/CreditTopup.js +1 -1
- package/dist/models/CustomDomain.d.ts +1 -1
- package/dist/models/CustomDomain.js +1 -1
- package/dist/models/CustomDomainDnsRecord.d.ts +1 -1
- package/dist/models/CustomDomainDnsRecord.js +1 -1
- package/dist/models/CustomDomainOneClickSetup.d.ts +1 -1
- package/dist/models/CustomDomainOneClickSetup.js +1 -1
- package/dist/models/CustomDomainSetupGuide.d.ts +1 -1
- package/dist/models/CustomDomainSetupGuide.js +1 -1
- package/dist/models/CustomDomainSetupHint.d.ts +1 -1
- package/dist/models/CustomDomainSetupHint.js +1 -1
- package/dist/models/CustomDomainStatus.d.ts +1 -1
- package/dist/models/CustomDomainStatus.js +1 -1
- package/dist/models/CustomDomainsServiceUpdateBody.d.ts +1 -1
- package/dist/models/CustomDomainsServiceUpdateBody.js +1 -1
- package/dist/models/DashboardConfig.d.ts +1 -1
- package/dist/models/DashboardConfig.js +1 -1
- package/dist/models/DashboardScope.d.ts +1 -1
- package/dist/models/DashboardScope.js +1 -1
- package/dist/models/DashboardWidget.d.ts +1 -1
- package/dist/models/DashboardWidget.js +1 -1
- package/dist/models/DataCollection.d.ts +1 -1
- package/dist/models/DataCollection.js +1 -1
- package/dist/models/DayOfMonthConditionPayload.d.ts +1 -1
- package/dist/models/DayOfMonthConditionPayload.js +1 -1
- package/dist/models/DayOfMonthConditionTraceData.d.ts +1 -1
- package/dist/models/DayOfMonthConditionTraceData.js +1 -1
- package/dist/models/DayOfMonthConditionTraceOption.d.ts +1 -1
- package/dist/models/DayOfMonthConditionTraceOption.js +1 -1
- package/dist/models/DayOfMonthOption.d.ts +1 -1
- package/dist/models/DayOfMonthOption.js +1 -1
- package/dist/models/DayOfWeekConditionPayload.d.ts +1 -1
- package/dist/models/DayOfWeekConditionPayload.js +1 -1
- package/dist/models/DayOfWeekConditionTraceData.d.ts +1 -1
- package/dist/models/DayOfWeekConditionTraceData.js +1 -1
- package/dist/models/DayOfWeekConditionTraceOption.d.ts +1 -1
- package/dist/models/DayOfWeekConditionTraceOption.js +1 -1
- package/dist/models/DayOfWeekOption.d.ts +1 -1
- package/dist/models/DayOfWeekOption.js +1 -1
- package/dist/models/DeleteAttributeResponse.d.ts +1 -1
- package/dist/models/DeleteAttributeResponse.js +1 -1
- package/dist/models/DeleteVisitorResponse.d.ts +1 -1
- package/dist/models/DeleteVisitorResponse.js +1 -1
- package/dist/models/DetectedGoogleForm.d.ts +1 -1
- package/dist/models/DetectedGoogleForm.js +1 -1
- package/dist/models/Device.d.ts +1 -1
- package/dist/models/Device.js +1 -1
- package/dist/models/DeviceActor.d.ts +1 -1
- package/dist/models/DeviceActor.js +1 -1
- package/dist/models/DeviceActorConditionOption.d.ts +1 -1
- package/dist/models/DeviceActorConditionOption.js +1 -1
- package/dist/models/DeviceActorConditionPayload.d.ts +1 -1
- package/dist/models/DeviceActorConditionPayload.js +1 -1
- package/dist/models/DeviceActorConditionTraceData.d.ts +1 -1
- package/dist/models/DeviceActorConditionTraceData.js +1 -1
- package/dist/models/DeviceActorConditionTraceOption.d.ts +1 -1
- package/dist/models/DeviceActorConditionTraceOption.js +1 -1
- package/dist/models/DeviceActorConditionValue.d.ts +1 -1
- package/dist/models/DeviceActorConditionValue.js +1 -1
- package/dist/models/DeviceBrandConditionOption.d.ts +1 -1
- package/dist/models/DeviceBrandConditionOption.js +1 -1
- package/dist/models/DeviceBrandConditionPayload.d.ts +1 -1
- package/dist/models/DeviceBrandConditionPayload.js +1 -1
- package/dist/models/DeviceBrandConditionTraceData.d.ts +1 -1
- package/dist/models/DeviceBrandConditionTraceData.js +1 -1
- package/dist/models/DeviceBrandConditionTraceOption.d.ts +1 -1
- package/dist/models/DeviceBrandConditionTraceOption.js +1 -1
- package/dist/models/DeviceBrandConditionValue.d.ts +1 -1
- package/dist/models/DeviceBrandConditionValue.js +1 -1
- package/dist/models/DeviceBrowserConditionOption.d.ts +1 -1
- package/dist/models/DeviceBrowserConditionOption.js +1 -1
- package/dist/models/DeviceBrowserConditionPayload.d.ts +1 -1
- package/dist/models/DeviceBrowserConditionPayload.js +1 -1
- package/dist/models/DeviceBrowserConditionTraceData.d.ts +1 -1
- package/dist/models/DeviceBrowserConditionTraceData.js +1 -1
- package/dist/models/DeviceBrowserConditionTraceOption.d.ts +1 -1
- package/dist/models/DeviceBrowserConditionTraceOption.js +1 -1
- package/dist/models/DeviceBrowserConditionValue.d.ts +1 -1
- package/dist/models/DeviceBrowserConditionValue.js +1 -1
- package/dist/models/DeviceDataPoint.d.ts +1 -1
- package/dist/models/DeviceDataPoint.js +1 -1
- package/dist/models/DeviceInput.d.ts +1 -1
- package/dist/models/DeviceInput.js +1 -1
- package/dist/models/DevicePlatformConditionOption.d.ts +1 -1
- package/dist/models/DevicePlatformConditionOption.js +1 -1
- package/dist/models/DevicePlatformConditionPayload.d.ts +1 -1
- package/dist/models/DevicePlatformConditionPayload.js +1 -1
- package/dist/models/DevicePlatformConditionTraceData.d.ts +1 -1
- package/dist/models/DevicePlatformConditionTraceData.js +1 -1
- package/dist/models/DevicePlatformConditionTraceOption.d.ts +1 -1
- package/dist/models/DevicePlatformConditionTraceOption.js +1 -1
- package/dist/models/DevicePlatformConditionValue.d.ts +1 -1
- package/dist/models/DevicePlatformConditionValue.js +1 -1
- package/dist/models/DeviceType.d.ts +1 -1
- package/dist/models/DeviceType.js +1 -1
- package/dist/models/DeviceTypeConditionOption.d.ts +1 -1
- package/dist/models/DeviceTypeConditionOption.js +1 -1
- package/dist/models/DeviceTypeConditionPayload.d.ts +1 -1
- package/dist/models/DeviceTypeConditionPayload.js +1 -1
- package/dist/models/DeviceTypeConditionTraceData.d.ts +1 -1
- package/dist/models/DeviceTypeConditionTraceData.js +1 -1
- package/dist/models/DeviceTypeConditionTraceOption.d.ts +1 -1
- package/dist/models/DeviceTypeConditionTraceOption.js +1 -1
- package/dist/models/DeviceTypeConditionValue.d.ts +1 -1
- package/dist/models/DeviceTypeConditionValue.js +1 -1
- package/dist/models/DigestFrequency.d.ts +1 -1
- package/dist/models/DigestFrequency.js +1 -1
- package/dist/models/DirectoriesServiceUpdateBody.d.ts +1 -1
- package/dist/models/DirectoriesServiceUpdateBody.js +1 -1
- package/dist/models/Directory.d.ts +1 -1
- package/dist/models/Directory.js +1 -1
- package/dist/models/DisconnectWorkflowStepResponse.d.ts +1 -1
- package/dist/models/DisconnectWorkflowStepResponse.js +1 -1
- package/dist/models/DismissAllowanceNoticeRequest.d.ts +1 -1
- package/dist/models/DismissAllowanceNoticeRequest.js +1 -1
- package/dist/models/DnsProvider.d.ts +1 -1
- package/dist/models/DnsProvider.js +1 -1
- package/dist/models/DnsRecordPurpose.d.ts +1 -1
- package/dist/models/DnsRecordPurpose.js +1 -1
- package/dist/models/DnsRecordType.d.ts +1 -1
- package/dist/models/DnsRecordType.js +1 -1
- package/dist/models/DotsOptions.d.ts +1 -1
- package/dist/models/DotsOptions.js +1 -1
- package/dist/models/DotsType.d.ts +1 -1
- package/dist/models/DotsType.js +1 -1
- package/dist/models/EntryAccessTraceData.d.ts +1 -1
- package/dist/models/EntryAccessTraceData.js +1 -1
- package/dist/models/ErrorResponse.d.ts +1 -1
- package/dist/models/ErrorResponse.js +1 -1
- package/dist/models/Event.d.ts +1 -1
- package/dist/models/Event.js +1 -1
- package/dist/models/EventAction.d.ts +1 -1
- package/dist/models/EventAction.js +1 -1
- package/dist/models/EventTrace.d.ts +1 -1
- package/dist/models/EventTrace.js +1 -1
- package/dist/models/EventTraceData.d.ts +1 -1
- package/dist/models/EventTraceData.js +1 -1
- package/dist/models/EventsMetric.d.ts +1 -1
- package/dist/models/EventsMetric.js +1 -1
- package/dist/models/EventsServiceCreateEventTraceBody.d.ts +1 -1
- package/dist/models/EventsServiceCreateEventTraceBody.js +1 -1
- package/dist/models/EventsServiceUpdateDeviceBody.d.ts +1 -1
- package/dist/models/EventsServiceUpdateDeviceBody.js +1 -1
- package/dist/models/EventsTimeSeries.d.ts +1 -1
- package/dist/models/EventsTimeSeries.js +1 -1
- package/dist/models/EventsTimeSeriesData.d.ts +1 -1
- package/dist/models/EventsTimeSeriesData.js +1 -1
- package/dist/models/FindMatchingPageThemeTemplateResponse.d.ts +1 -1
- package/dist/models/FindMatchingPageThemeTemplateResponse.js +1 -1
- package/dist/models/FontConfig.d.ts +1 -1
- package/dist/models/FontConfig.js +1 -1
- package/dist/models/FormField.d.ts +1 -1
- package/dist/models/FormField.js +1 -1
- package/dist/models/FormFieldOption.d.ts +1 -1
- package/dist/models/FormFieldOption.js +1 -1
- package/dist/models/FormFieldType.d.ts +1 -1
- package/dist/models/FormFieldType.js +1 -1
- package/dist/models/FormPayload.d.ts +1 -1
- package/dist/models/FormPayload.js +1 -1
- package/dist/models/FormTraceData.d.ts +1 -1
- package/dist/models/FormTraceData.js +1 -1
- package/dist/models/FormTraceDataField.d.ts +1 -1
- package/dist/models/FormTraceDataField.js +1 -1
- package/dist/models/FunnelBranch.d.ts +1 -1
- package/dist/models/FunnelBranch.js +1 -1
- package/dist/models/FunnelStep.d.ts +1 -1
- package/dist/models/FunnelStep.js +1 -1
- package/dist/models/GenerateWidgetSummaryResponse.d.ts +1 -1
- package/dist/models/GenerateWidgetSummaryResponse.js +1 -1
- package/dist/models/GeoDataPoint.d.ts +1 -1
- package/dist/models/GeoDataPoint.js +1 -1
- package/dist/models/GetAgentClaimRequest.d.ts +1 -1
- package/dist/models/GetAgentClaimRequest.js +1 -1
- package/dist/models/GetAttributeDistributionRequest.d.ts +1 -1
- package/dist/models/GetAttributeDistributionRequest.js +1 -1
- package/dist/models/GetAttributeDistributionResponse.d.ts +1 -1
- package/dist/models/GetAttributeDistributionResponse.js +1 -1
- package/dist/models/GetAttributeMetricRequest.d.ts +1 -1
- package/dist/models/GetAttributeMetricRequest.js +1 -1
- package/dist/models/GetAttributeMetricResponse.d.ts +1 -1
- package/dist/models/GetAttributeMetricResponse.js +1 -1
- package/dist/models/GetAttributeValuesRequest.d.ts +1 -1
- package/dist/models/GetAttributeValuesRequest.js +1 -1
- package/dist/models/GetAttributeValuesResponse.d.ts +1 -1
- package/dist/models/GetAttributeValuesResponse.js +1 -1
- package/dist/models/GetBreakdownRequest.d.ts +1 -1
- package/dist/models/GetBreakdownRequest.js +1 -1
- package/dist/models/GetBreakdownResponse.d.ts +1 -1
- package/dist/models/GetBreakdownResponse.js +1 -1
- package/dist/models/GetCustomDomainResponse.d.ts +1 -1
- package/dist/models/GetCustomDomainResponse.js +1 -1
- package/dist/models/GetCustomDomainSetupGuideResponse.d.ts +1 -1
- package/dist/models/GetCustomDomainSetupGuideResponse.js +1 -1
- package/dist/models/GetDeviceDistributionRequest.d.ts +1 -1
- package/dist/models/GetDeviceDistributionRequest.js +1 -1
- package/dist/models/GetDeviceDistributionResponse.d.ts +1 -1
- package/dist/models/GetDeviceDistributionResponse.js +1 -1
- package/dist/models/GetDirectoryResponse.d.ts +1 -1
- package/dist/models/GetDirectoryResponse.js +1 -1
- package/dist/models/GetEventsTimeSeriesRequest.d.ts +1 -1
- package/dist/models/GetEventsTimeSeriesRequest.js +1 -1
- package/dist/models/GetEventsTimeSeriesResponse.d.ts +1 -1
- package/dist/models/GetEventsTimeSeriesResponse.js +1 -1
- package/dist/models/GetGeoBreakdownRequest.d.ts +1 -1
- package/dist/models/GetGeoBreakdownRequest.js +1 -1
- package/dist/models/GetGeoBreakdownResponse.d.ts +1 -1
- package/dist/models/GetGeoBreakdownResponse.js +1 -1
- package/dist/models/GetGoogleFormsIntegrationResponse.d.ts +1 -1
- package/dist/models/GetGoogleFormsIntegrationResponse.js +1 -1
- package/dist/models/GetGoogleFormsOAuthURLResponse.d.ts +1 -1
- package/dist/models/GetGoogleFormsOAuthURLResponse.js +1 -1
- package/dist/models/GetGroupedTimeSeriesRequest.d.ts +1 -1
- package/dist/models/GetGroupedTimeSeriesRequest.js +1 -1
- package/dist/models/GetGroupedTimeSeriesResponse.d.ts +1 -1
- package/dist/models/GetGroupedTimeSeriesResponse.js +1 -1
- package/dist/models/GetHourOfDayDistributionRequest.d.ts +1 -1
- package/dist/models/GetHourOfDayDistributionRequest.js +1 -1
- package/dist/models/GetHourOfDayDistributionResponse.d.ts +1 -1
- package/dist/models/GetHourOfDayDistributionResponse.js +1 -1
- package/dist/models/GetLinkResponse.d.ts +1 -1
- package/dist/models/GetLinkResponse.js +1 -1
- package/dist/models/GetLinkSettingResponse.d.ts +1 -1
- package/dist/models/GetLinkSettingResponse.js +1 -1
- package/dist/models/GetMediaResponse.d.ts +1 -1
- package/dist/models/GetMediaResponse.js +1 -1
- package/dist/models/GetPageThemeResponse.d.ts +1 -1
- package/dist/models/GetPageThemeResponse.js +1 -1
- package/dist/models/GetQrcodeDesignResponse.d.ts +1 -1
- package/dist/models/GetQrcodeDesignResponse.js +1 -1
- package/dist/models/GetSlackIntegrationResponse.d.ts +1 -1
- package/dist/models/GetSlackIntegrationResponse.js +1 -1
- package/dist/models/GetSlackOAuthURLResponse.d.ts +1 -1
- package/dist/models/GetSlackOAuthURLResponse.js +1 -1
- package/dist/models/GetStepFunnelRequest.d.ts +1 -1
- package/dist/models/GetStepFunnelRequest.js +1 -1
- package/dist/models/GetStepFunnelResponse.d.ts +1 -1
- package/dist/models/GetStepFunnelResponse.js +1 -1
- package/dist/models/GetTopLinksRequest.d.ts +1 -1
- package/dist/models/GetTopLinksRequest.js +1 -1
- package/dist/models/GetTopLinksResponse.d.ts +1 -1
- package/dist/models/GetTopLinksResponse.js +1 -1
- package/dist/models/GetVisitorTrendsRequest.d.ts +1 -1
- package/dist/models/GetVisitorTrendsRequest.js +1 -1
- package/dist/models/GetVisitorTrendsResponse.d.ts +1 -1
- package/dist/models/GetVisitorTrendsResponse.js +1 -1
- package/dist/models/GetWebhookResponse.d.ts +1 -1
- package/dist/models/GetWebhookResponse.js +1 -1
- package/dist/models/GetWidgetSummaryResponse.d.ts +1 -1
- package/dist/models/GetWidgetSummaryResponse.js +1 -1
- package/dist/models/GetWorkflowStepResponse.d.ts +1 -1
- package/dist/models/GetWorkflowStepResponse.js +1 -1
- package/dist/models/GetWorkspaceTokenResponse.d.ts +1 -1
- package/dist/models/GetWorkspaceTokenResponse.js +1 -1
- package/dist/models/GoogleFormsIntegration.d.ts +1 -1
- package/dist/models/GoogleFormsIntegration.js +1 -1
- package/dist/models/GoogleFormsIntegrationStatus.d.ts +1 -1
- package/dist/models/GoogleFormsIntegrationStatus.js +1 -1
- package/dist/models/GooglerpcStatus.d.ts +1 -1
- package/dist/models/GooglerpcStatus.js +1 -1
- package/dist/models/GroupByDimension.d.ts +1 -1
- package/dist/models/GroupByDimension.js +1 -1
- package/dist/models/HourOfDayDataPoint.d.ts +1 -1
- package/dist/models/HourOfDayDataPoint.js +1 -1
- package/dist/models/IdentifyRequest.d.ts +1 -1
- package/dist/models/IdentifyRequest.js +1 -1
- package/dist/models/IdentifyResponse.d.ts +1 -1
- package/dist/models/IdentifyResponse.js +1 -1
- package/dist/models/IdentifyVisitorTraceData.d.ts +1 -1
- package/dist/models/IdentifyVisitorTraceData.js +1 -1
- package/dist/models/ImportMediaRequest.d.ts +1 -1
- package/dist/models/ImportMediaRequest.js +1 -1
- package/dist/models/ImportMediaResponse.d.ts +1 -1
- package/dist/models/ImportMediaResponse.js +1 -1
- package/dist/models/ImportPageThemeTemplateRequest.d.ts +1 -1
- package/dist/models/ImportPageThemeTemplateRequest.js +1 -1
- package/dist/models/ImportPageThemeTemplateResponse.d.ts +1 -1
- package/dist/models/ImportPageThemeTemplateResponse.js +1 -1
- package/dist/models/ImportQrcodeTemplateRequest.d.ts +1 -1
- package/dist/models/ImportQrcodeTemplateRequest.js +1 -1
- package/dist/models/ImportQrcodeTemplateResponse.d.ts +1 -1
- package/dist/models/ImportQrcodeTemplateResponse.js +1 -1
- package/dist/models/InviteMemberRequest.d.ts +1 -1
- package/dist/models/InviteMemberRequest.js +1 -1
- package/dist/models/Job.d.ts +1 -1
- package/dist/models/Job.js +1 -1
- package/dist/models/JobError.d.ts +1 -1
- package/dist/models/JobError.js +1 -1
- package/dist/models/JobStatus.d.ts +1 -1
- package/dist/models/JobStatus.js +1 -1
- package/dist/models/JobType.d.ts +1 -1
- package/dist/models/JobType.js +1 -1
- package/dist/models/JourneyProgress.d.ts +1 -1
- package/dist/models/JourneyProgress.js +1 -1
- package/dist/models/Link.d.ts +1 -1
- package/dist/models/Link.js +1 -1
- package/dist/models/LinkSetting.d.ts +1 -1
- package/dist/models/LinkSetting.js +1 -1
- package/dist/models/LinkSortField.d.ts +1 -1
- package/dist/models/LinkSortField.js +1 -1
- package/dist/models/LinkView.d.ts +1 -1
- package/dist/models/LinkView.js +1 -1
- package/dist/models/LinksBulkCreateResult.d.ts +1 -1
- package/dist/models/LinksBulkCreateResult.js +1 -1
- package/dist/models/LinksServiceUpdateBody.d.ts +1 -1
- package/dist/models/LinksServiceUpdateBody.js +1 -1
- package/dist/models/ListAllowancesResponse.d.ts +1 -1
- package/dist/models/ListAllowancesResponse.js +1 -1
- package/dist/models/ListApiScopesResponse.d.ts +1 -1
- package/dist/models/ListApiScopesResponse.js +1 -1
- package/dist/models/ListCustomDomainsResponse.d.ts +1 -1
- package/dist/models/ListCustomDomainsResponse.js +1 -1
- package/dist/models/ListDashboardsResponse.d.ts +1 -1
- package/dist/models/ListDashboardsResponse.js +1 -1
- package/dist/models/ListDetectedGoogleFormsResponse.d.ts +1 -1
- package/dist/models/ListDetectedGoogleFormsResponse.js +1 -1
- package/dist/models/ListDirectoriesResponse.d.ts +1 -1
- package/dist/models/ListDirectoriesResponse.js +1 -1
- package/dist/models/ListEventTracesResponse.d.ts +1 -1
- package/dist/models/ListEventTracesResponse.js +1 -1
- package/dist/models/ListEventsCsvResponse.d.ts +1 -1
- package/dist/models/ListEventsCsvResponse.js +1 -1
- package/dist/models/ListEventsJsonResponse.d.ts +1 -1
- package/dist/models/ListEventsJsonResponse.js +1 -1
- package/dist/models/ListEventsResponse.d.ts +1 -1
- package/dist/models/ListEventsResponse.js +1 -1
- package/dist/models/ListLinksResponse.d.ts +1 -1
- package/dist/models/ListLinksResponse.js +1 -1
- package/dist/models/ListMediaResponse.d.ts +1 -1
- package/dist/models/ListMediaResponse.js +1 -1
- package/dist/models/ListMyWorkspacesResponse.d.ts +1 -1
- package/dist/models/ListMyWorkspacesResponse.js +1 -1
- package/dist/models/ListPageThemeTemplatesResponse.d.ts +1 -1
- package/dist/models/ListPageThemeTemplatesResponse.js +1 -1
- package/dist/models/ListPageThemesResponse.d.ts +1 -1
- package/dist/models/ListPageThemesResponse.js +1 -1
- package/dist/models/ListPricingPlansResponse.d.ts +1 -1
- package/dist/models/ListPricingPlansResponse.js +1 -1
- package/dist/models/ListQrcodeTemplatesResponse.d.ts +1 -1
- package/dist/models/ListQrcodeTemplatesResponse.js +1 -1
- package/dist/models/ListResponse.d.ts +1 -1
- package/dist/models/ListResponse.js +1 -1
- package/dist/models/ListSandboxesResponse.d.ts +1 -1
- package/dist/models/ListSandboxesResponse.js +1 -1
- package/dist/models/ListSlackChannelsResponse.d.ts +1 -1
- package/dist/models/ListSlackChannelsResponse.js +1 -1
- package/dist/models/ListTagsResponse.d.ts +1 -1
- package/dist/models/ListTagsResponse.js +1 -1
- package/dist/models/ListVisitorAttributeKeysResponse.d.ts +1 -1
- package/dist/models/ListVisitorAttributeKeysResponse.js +1 -1
- package/dist/models/ListVisitorsCsvResponse.d.ts +1 -1
- package/dist/models/ListVisitorsCsvResponse.js +1 -1
- package/dist/models/ListVisitorsJsonResponse.d.ts +1 -1
- package/dist/models/ListVisitorsJsonResponse.js +1 -1
- package/dist/models/ListVisitorsRequest.d.ts +1 -1
- package/dist/models/ListVisitorsRequest.js +1 -1
- package/dist/models/ListVisitorsResponse.d.ts +1 -1
- package/dist/models/ListVisitorsResponse.js +1 -1
- package/dist/models/ListWebhooksResponse.d.ts +1 -1
- package/dist/models/ListWebhooksResponse.js +1 -1
- package/dist/models/ListWorkflowStepsResponse.d.ts +1 -1
- package/dist/models/ListWorkflowStepsResponse.js +1 -1
- package/dist/models/ListWorkspaceTokensResponse.d.ts +1 -1
- package/dist/models/ListWorkspaceTokensResponse.js +1 -1
- package/dist/models/Media.d.ts +13 -5
- package/dist/models/Media.js +2 -1
- package/dist/models/MediaKind.d.ts +1 -1
- package/dist/models/MediaKind.js +1 -1
- package/dist/models/MediaReference.d.ts +1 -1
- package/dist/models/MediaReference.js +1 -1
- package/dist/models/MediaReferenceType.d.ts +6 -5
- package/dist/models/MediaReferenceType.js +6 -5
- package/dist/models/MediaSelection.d.ts +1 -1
- package/dist/models/MediaSelection.js +1 -1
- package/dist/models/MediaServiceCreateReplaceUploadBody.d.ts +53 -0
- package/dist/models/MediaServiceCreateReplaceUploadBody.js +60 -0
- package/dist/models/MediaServiceReplaceImportBody.d.ts +47 -0
- package/dist/models/MediaServiceReplaceImportBody.js +52 -0
- package/dist/models/MediaStatus.d.ts +1 -1
- package/dist/models/MediaStatus.js +1 -1
- package/dist/models/MediaTraceData.d.ts +1 -1
- package/dist/models/MediaTraceData.js +1 -1
- package/dist/models/MediaType.d.ts +1 -1
- package/dist/models/MediaType.js +1 -1
- package/dist/models/MediaUploadOrigin.d.ts +1 -1
- package/dist/models/MediaUploadOrigin.js +1 -1
- package/dist/models/MediaUsage.d.ts +1 -1
- package/dist/models/MediaUsage.js +1 -1
- package/dist/models/MediaVisibility.d.ts +1 -1
- package/dist/models/MediaVisibility.js +1 -1
- package/dist/models/Member.d.ts +1 -1
- package/dist/models/Member.js +1 -1
- package/dist/models/MembersServiceSwitchWorkspaceBody.d.ts +1 -1
- package/dist/models/MembersServiceSwitchWorkspaceBody.js +1 -1
- package/dist/models/MembersServiceUpdateBody.d.ts +1 -1
- package/dist/models/MembersServiceUpdateBody.js +1 -1
- package/dist/models/MessagePageNavigationType.d.ts +1 -1
- package/dist/models/MessagePageNavigationType.js +1 -1
- package/dist/models/MessagePagePayload.d.ts +1 -1
- package/dist/models/MessagePagePayload.js +1 -1
- package/dist/models/ModelHTTPMethod.d.ts +1 -1
- package/dist/models/ModelHTTPMethod.js +1 -1
- package/dist/models/Money.d.ts +1 -1
- package/dist/models/Money.js +1 -1
- package/dist/models/MultiLinkButton.d.ts +1 -1
- package/dist/models/MultiLinkButton.js +1 -1
- package/dist/models/MultiLinkPayload.d.ts +1 -1
- package/dist/models/MultiLinkPayload.js +1 -1
- package/dist/models/MultiLinkTraceButton.d.ts +1 -1
- package/dist/models/MultiLinkTraceButton.js +1 -1
- package/dist/models/MultiLinkTraceData.d.ts +1 -1
- package/dist/models/MultiLinkTraceData.js +1 -1
- package/dist/models/MultiLinkTraceSelectedButton.d.ts +1 -1
- package/dist/models/MultiLinkTraceSelectedButton.js +1 -1
- package/dist/models/MyWorkspace.d.ts +1 -1
- package/dist/models/MyWorkspace.js +1 -1
- package/dist/models/OpenMediaPayload.d.ts +1 -1
- package/dist/models/OpenMediaPayload.js +1 -1
- package/dist/models/OutputFileFormat.d.ts +1 -1
- package/dist/models/OutputFileFormat.js +1 -1
- package/dist/models/PageTheme.d.ts +1 -1
- package/dist/models/PageTheme.js +1 -1
- package/dist/models/PageThemeBadgeShape.d.ts +1 -1
- package/dist/models/PageThemeBadgeShape.js +1 -1
- package/dist/models/PageThemeBorderStyle.d.ts +1 -1
- package/dist/models/PageThemeBorderStyle.js +1 -1
- package/dist/models/PageThemeCanvasCoverMode.d.ts +1 -1
- package/dist/models/PageThemeCanvasCoverMode.js +1 -1
- package/dist/models/PageThemeContainerVariant.d.ts +1 -1
- package/dist/models/PageThemeContainerVariant.js +1 -1
- package/dist/models/PageThemeFontFamily.d.ts +1 -1
- package/dist/models/PageThemeFontFamily.js +1 -1
- package/dist/models/PageThemeStyling.d.ts +1 -1
- package/dist/models/PageThemeStyling.js +1 -1
- package/dist/models/PageThemeTemplate.d.ts +1 -1
- package/dist/models/PageThemeTemplate.js +1 -1
- package/dist/models/PageThemeTemplateImages.d.ts +1 -1
- package/dist/models/PageThemeTemplateImages.js +1 -1
- package/dist/models/PageThemeTemplateScope.d.ts +1 -1
- package/dist/models/PageThemeTemplateScope.js +1 -1
- package/dist/models/PageThemeTemplatesServiceUpdatePageThemeTemplateBody.d.ts +1 -1
- package/dist/models/PageThemeTemplatesServiceUpdatePageThemeTemplateBody.js +1 -1
- package/dist/models/PageThemeTemplatesServiceUpdatePageThemeTemplateStylingBody.d.ts +1 -1
- package/dist/models/PageThemeTemplatesServiceUpdatePageThemeTemplateStylingBody.js +1 -1
- package/dist/models/PageThemesServiceUpdatePageThemeBody.d.ts +1 -1
- package/dist/models/PageThemesServiceUpdatePageThemeBody.js +1 -1
- package/dist/models/PasswordPayload.d.ts +1 -1
- package/dist/models/PasswordPayload.js +1 -1
- package/dist/models/PasswordTraceData.d.ts +1 -1
- package/dist/models/PasswordTraceData.js +1 -1
- package/dist/models/PlanFeature.d.ts +1 -1
- package/dist/models/PlanFeature.js +1 -1
- package/dist/models/PlanLimit.d.ts +1 -1
- package/dist/models/PlanLimit.js +1 -1
- package/dist/models/PlanLimitKey.d.ts +1 -1
- package/dist/models/PlanLimitKey.js +1 -1
- package/dist/models/PlanLimitKind.d.ts +1 -1
- package/dist/models/PlanLimitKind.js +1 -1
- package/dist/models/PlanPrice.d.ts +1 -1
- package/dist/models/PlanPrice.js +1 -1
- package/dist/models/PlanTrial.d.ts +1 -1
- package/dist/models/PlanTrial.js +1 -1
- package/dist/models/PreferredLinkType.d.ts +1 -1
- package/dist/models/PreferredLinkType.js +1 -1
- package/dist/models/PricingPlan.d.ts +1 -1
- package/dist/models/PricingPlan.js +1 -1
- package/dist/models/PricingPlanId.d.ts +1 -1
- package/dist/models/PricingPlanId.js +1 -1
- package/dist/models/ProtobufAny.d.ts +1 -1
- package/dist/models/ProtobufAny.js +1 -1
- package/dist/models/ProtobufNullValue.d.ts +1 -1
- package/dist/models/ProtobufNullValue.js +1 -1
- package/dist/models/PublicCreateQrcodeDesignRequest.d.ts +1 -1
- package/dist/models/PublicCreateQrcodeDesignRequest.js +1 -1
- package/dist/models/PublicCreateQrcodeDesignResponse.d.ts +1 -1
- package/dist/models/PublicCreateQrcodeDesignResponse.js +1 -1
- package/dist/models/PublicListPageThemeTemplatesResponse.d.ts +1 -1
- package/dist/models/PublicListPageThemeTemplatesResponse.js +1 -1
- package/dist/models/PublicListQrcodeTemplatesResponse.d.ts +1 -1
- package/dist/models/PublicListQrcodeTemplatesResponse.js +1 -1
- package/dist/models/PublicPageThemeTemplate.d.ts +1 -1
- package/dist/models/PublicPageThemeTemplate.js +1 -1
- package/dist/models/PublicQrcodeTemplate.d.ts +1 -1
- package/dist/models/PublicQrcodeTemplate.js +1 -1
- package/dist/models/PublicWorkspace.d.ts +1 -1
- package/dist/models/PublicWorkspace.js +1 -1
- package/dist/models/PublishPageThemeTemplateResponse.d.ts +1 -1
- package/dist/models/PublishPageThemeTemplateResponse.js +1 -1
- package/dist/models/PublishQrcodeTemplateResponse.d.ts +1 -1
- package/dist/models/PublishQrcodeTemplateResponse.js +1 -1
- package/dist/models/QrcodeDesign.d.ts +1 -1
- package/dist/models/QrcodeDesign.js +1 -1
- package/dist/models/QrcodeDesignServiceUpdateBody.d.ts +1 -1
- package/dist/models/QrcodeDesignServiceUpdateBody.js +1 -1
- package/dist/models/QrcodeTemplate.d.ts +1 -1
- package/dist/models/QrcodeTemplate.js +1 -1
- package/dist/models/QrcodeTemplateScope.d.ts +1 -1
- package/dist/models/QrcodeTemplateScope.js +1 -1
- package/dist/models/QrcodeTemplatesServiceUpdateQrcodeTemplateBody.d.ts +1 -1
- package/dist/models/QrcodeTemplatesServiceUpdateQrcodeTemplateBody.js +1 -1
- package/dist/models/RedirectTraceData.d.ts +1 -1
- package/dist/models/RedirectTraceData.js +1 -1
- package/dist/models/RedirectTraceDataFallbackReason.d.ts +1 -1
- package/dist/models/RedirectTraceDataFallbackReason.js +1 -1
- package/dist/models/ReplaceMediaImportResponse.d.ts +47 -0
- package/dist/models/ReplaceMediaImportResponse.js +54 -0
- package/dist/models/RequestWorkspaceEnrollmentRequest.d.ts +1 -1
- package/dist/models/RequestWorkspaceEnrollmentRequest.js +1 -1
- package/dist/models/ResolvePageThemeTemplateImagesRequest.d.ts +1 -1
- package/dist/models/ResolvePageThemeTemplateImagesRequest.js +1 -1
- package/dist/models/ResolvePageThemeTemplateImagesResponse.d.ts +1 -1
- package/dist/models/ResolvePageThemeTemplateImagesResponse.js +1 -1
- package/dist/models/ResolveQrcodeImagesRequest.d.ts +1 -1
- package/dist/models/ResolveQrcodeImagesRequest.js +1 -1
- package/dist/models/ResolveQrcodeImagesResponse.d.ts +1 -1
- package/dist/models/ResolveQrcodeImagesResponse.js +1 -1
- package/dist/models/ResolveQrcodeTemplateImagesRequest.d.ts +1 -1
- package/dist/models/ResolveQrcodeTemplateImagesRequest.js +1 -1
- package/dist/models/ResolveQrcodeTemplateImagesResponse.d.ts +1 -1
- package/dist/models/ResolveQrcodeTemplateImagesResponse.js +1 -1
- package/dist/models/ResolveStepCollisionsResponse.d.ts +1 -1
- package/dist/models/ResolveStepCollisionsResponse.js +1 -1
- package/dist/models/ResponseFormat.d.ts +1 -1
- package/dist/models/ResponseFormat.js +1 -1
- package/dist/models/Role.d.ts +1 -1
- package/dist/models/Role.js +1 -1
- package/dist/models/Sandbox.d.ts +1 -1
- package/dist/models/Sandbox.js +1 -1
- package/dist/models/SettingsServiceUpdateLinkSettingBody.d.ts +1 -1
- package/dist/models/SettingsServiceUpdateLinkSettingBody.js +1 -1
- package/dist/models/Shape.d.ts +1 -1
- package/dist/models/Shape.js +1 -1
- package/dist/models/ShortlinkAvailabilityResponse.d.ts +1 -1
- package/dist/models/ShortlinkAvailabilityResponse.js +1 -1
- package/dist/models/ShortlinkRandomResponse.d.ts +1 -1
- package/dist/models/ShortlinkRandomResponse.js +1 -1
- package/dist/models/SlackChannel.d.ts +1 -1
- package/dist/models/SlackChannel.js +1 -1
- package/dist/models/SlackIntegration.d.ts +1 -1
- package/dist/models/SlackIntegration.js +1 -1
- package/dist/models/SlackIntegrationStatus.d.ts +1 -1
- package/dist/models/SlackIntegrationStatus.js +1 -1
- package/dist/models/SocialLinkButton.d.ts +1 -1
- package/dist/models/SocialLinkButton.js +1 -1
- package/dist/models/SocialLinkTraceButton.d.ts +1 -1
- package/dist/models/SocialLinkTraceButton.js +1 -1
- package/dist/models/SocialLinksDisplayStyle.d.ts +1 -1
- package/dist/models/SocialLinksDisplayStyle.js +1 -1
- package/dist/models/SocialLinksPayload.d.ts +1 -1
- package/dist/models/SocialLinksPayload.js +1 -1
- package/dist/models/SocialLinksTraceData.d.ts +1 -1
- package/dist/models/SocialLinksTraceData.js +1 -1
- package/dist/models/SocketAssistantErrorMessage.d.ts +1 -1
- package/dist/models/SocketAssistantErrorMessage.js +1 -1
- package/dist/models/SocketAssistantProgressMessage.d.ts +1 -1
- package/dist/models/SocketAssistantProgressMessage.js +1 -1
- package/dist/models/SocketAssistantResponseMessage.d.ts +1 -1
- package/dist/models/SocketAssistantResponseMessage.js +1 -1
- package/dist/models/SocketAssistantSendRequest.d.ts +1 -1
- package/dist/models/SocketAssistantSendRequest.js +1 -1
- package/dist/models/SocketConnectedMessage.d.ts +1 -1
- package/dist/models/SocketConnectedMessage.js +1 -1
- package/dist/models/SocketContract.d.ts +1 -1
- package/dist/models/SocketContract.js +1 -1
- package/dist/models/SocketErrorCode.d.ts +1 -1
- package/dist/models/SocketErrorCode.js +1 -1
- package/dist/models/SocketEventMessage.d.ts +1 -1
- package/dist/models/SocketEventMessage.js +1 -1
- package/dist/models/SocketMessageType.d.ts +1 -1
- package/dist/models/SocketMessageType.js +1 -1
- package/dist/models/SocketPingRequest.d.ts +1 -1
- package/dist/models/SocketPingRequest.js +1 -1
- package/dist/models/SocketPongMessage.d.ts +1 -1
- package/dist/models/SocketPongMessage.js +1 -1
- package/dist/models/SocketSubscribeDeniedMessage.d.ts +1 -1
- package/dist/models/SocketSubscribeDeniedMessage.js +1 -1
- package/dist/models/SocketSubscribeRequest.d.ts +1 -1
- package/dist/models/SocketSubscribeRequest.js +1 -1
- package/dist/models/SocketSubscribedMessage.d.ts +1 -1
- package/dist/models/SocketSubscribedMessage.js +1 -1
- package/dist/models/SocketUnsubscribeRequest.d.ts +1 -1
- package/dist/models/SocketUnsubscribeRequest.js +1 -1
- package/dist/models/SortDirection.d.ts +1 -1
- package/dist/models/SortDirection.js +1 -1
- package/dist/models/SpecificDateConditionPayload.d.ts +1 -1
- package/dist/models/SpecificDateConditionPayload.js +1 -1
- package/dist/models/SpecificDateConditionTraceData.d.ts +1 -1
- package/dist/models/SpecificDateConditionTraceData.js +1 -1
- package/dist/models/SpecificDateConditionTraceOption.d.ts +1 -1
- package/dist/models/SpecificDateConditionTraceOption.js +1 -1
- package/dist/models/SpecificDateOption.d.ts +1 -1
- package/dist/models/SpecificDateOption.js +1 -1
- package/dist/models/SubscriptionType.d.ts +1 -1
- package/dist/models/SubscriptionType.js +1 -1
- package/dist/models/SwitchWorkspaceResponse.d.ts +1 -1
- package/dist/models/SwitchWorkspaceResponse.js +1 -1
- package/dist/models/SyncGoogleFormsResponse.d.ts +1 -1
- package/dist/models/SyncGoogleFormsResponse.js +1 -1
- package/dist/models/TestSlackIntegrationResponse.d.ts +1 -1
- package/dist/models/TestSlackIntegrationResponse.js +1 -1
- package/dist/models/ThankYouPagePayload.d.ts +1 -1
- package/dist/models/ThankYouPagePayload.js +1 -1
- package/dist/models/ThemeColor.d.ts +1 -1
- package/dist/models/ThemeColor.js +1 -1
- package/dist/models/ThemeColorThemeColorType.d.ts +1 -1
- package/dist/models/ThemeColorThemeColorType.js +1 -1
- package/dist/models/TimeOfDayConditionPayload.d.ts +1 -1
- package/dist/models/TimeOfDayConditionPayload.js +1 -1
- package/dist/models/TimeOfDayConditionTraceData.d.ts +1 -1
- package/dist/models/TimeOfDayConditionTraceData.js +1 -1
- package/dist/models/TimeOfDayConditionTraceRange.d.ts +1 -1
- package/dist/models/TimeOfDayConditionTraceRange.js +1 -1
- package/dist/models/TimeOfDayRange.d.ts +1 -1
- package/dist/models/TimeOfDayRange.js +1 -1
- package/dist/models/TimeSeriesPoint.d.ts +1 -1
- package/dist/models/TimeSeriesPoint.js +1 -1
- package/dist/models/TimeSeriesSeries.d.ts +1 -1
- package/dist/models/TimeSeriesSeries.js +1 -1
- package/dist/models/TopLinkDataPoint.d.ts +1 -1
- package/dist/models/TopLinkDataPoint.js +1 -1
- package/dist/models/TriggeredBy.d.ts +1 -1
- package/dist/models/TriggeredBy.js +1 -1
- package/dist/models/TypeDate.d.ts +1 -1
- package/dist/models/TypeDate.js +1 -1
- package/dist/models/UpdateCustomDomainResponse.d.ts +1 -1
- package/dist/models/UpdateCustomDomainResponse.js +1 -1
- package/dist/models/UpdateDashboardResponse.d.ts +1 -1
- package/dist/models/UpdateDashboardResponse.js +1 -1
- package/dist/models/UpdateDeviceResponse.d.ts +1 -1
- package/dist/models/UpdateDeviceResponse.js +1 -1
- package/dist/models/UpdateDirectoryResponse.d.ts +1 -1
- package/dist/models/UpdateDirectoryResponse.js +1 -1
- package/dist/models/UpdateGoogleFormsIntegrationRequest.d.ts +1 -1
- package/dist/models/UpdateGoogleFormsIntegrationRequest.js +1 -1
- package/dist/models/UpdateGoogleFormsIntegrationResponse.d.ts +1 -1
- package/dist/models/UpdateGoogleFormsIntegrationResponse.js +1 -1
- package/dist/models/UpdateLinkResponse.d.ts +1 -1
- package/dist/models/UpdateLinkResponse.js +1 -1
- package/dist/models/UpdateLinkSettingResponse.d.ts +1 -1
- package/dist/models/UpdateLinkSettingResponse.js +1 -1
- package/dist/models/UpdateMeRequest.d.ts +1 -1
- package/dist/models/UpdateMeRequest.js +1 -1
- package/dist/models/UpdatePageThemeResponse.d.ts +1 -1
- package/dist/models/UpdatePageThemeResponse.js +1 -1
- package/dist/models/UpdatePageThemeTemplateResponse.d.ts +1 -1
- package/dist/models/UpdatePageThemeTemplateResponse.js +1 -1
- package/dist/models/UpdatePageThemeTemplateStylingResponse.d.ts +1 -1
- package/dist/models/UpdatePageThemeTemplateStylingResponse.js +1 -1
- package/dist/models/UpdateQrcodeDesignResponse.d.ts +1 -1
- package/dist/models/UpdateQrcodeDesignResponse.js +1 -1
- package/dist/models/UpdateQrcodeTemplateResponse.d.ts +1 -1
- package/dist/models/UpdateQrcodeTemplateResponse.js +1 -1
- package/dist/models/UpdateSlackIntegrationRequest.d.ts +1 -1
- package/dist/models/UpdateSlackIntegrationRequest.js +1 -1
- package/dist/models/UpdateSlackIntegrationResponse.d.ts +1 -1
- package/dist/models/UpdateSlackIntegrationResponse.js +1 -1
- package/dist/models/UpdateWebhookResponse.d.ts +1 -1
- package/dist/models/UpdateWebhookResponse.js +1 -1
- package/dist/models/UpdateWorkflowStepResponse.d.ts +1 -1
- package/dist/models/UpdateWorkflowStepResponse.js +1 -1
- package/dist/models/UpdateWorkspaceOriginInquiryRequest.d.ts +1 -1
- package/dist/models/UpdateWorkspaceOriginInquiryRequest.js +1 -1
- package/dist/models/UpdateWorkspaceOriginPurposeRequest.d.ts +1 -1
- package/dist/models/UpdateWorkspaceOriginPurposeRequest.js +1 -1
- package/dist/models/UpdateWorkspaceRequest.d.ts +1 -1
- package/dist/models/UpdateWorkspaceRequest.js +1 -1
- package/dist/models/UpdateWorkspaceTokenResponse.d.ts +1 -1
- package/dist/models/UpdateWorkspaceTokenResponse.js +1 -1
- package/dist/models/VCardData.d.ts +1 -1
- package/dist/models/VCardData.js +1 -1
- package/dist/models/VCardPayload.d.ts +1 -1
- package/dist/models/VCardPayload.js +1 -1
- package/dist/models/VCardSocialLink.d.ts +1 -1
- package/dist/models/VCardSocialLink.js +1 -1
- package/dist/models/ValidateWorkflowResponse.d.ts +1 -1
- package/dist/models/ValidateWorkflowResponse.js +1 -1
- package/dist/models/ValidationInstructionsCustomDomainResponse.d.ts +1 -1
- package/dist/models/ValidationInstructionsCustomDomainResponse.js +1 -1
- package/dist/models/ValidationInstructionsCustomDomainResponseValidation.d.ts +1 -1
- package/dist/models/ValidationInstructionsCustomDomainResponseValidation.js +1 -1
- package/dist/models/ValidationInstructionsCustomDomainResponseValidationType.d.ts +1 -1
- package/dist/models/ValidationInstructionsCustomDomainResponseValidationType.js +1 -1
- package/dist/models/ValidationPurpose.d.ts +1 -1
- package/dist/models/ValidationPurpose.js +1 -1
- package/dist/models/VisitType.d.ts +1 -1
- package/dist/models/VisitType.js +1 -1
- package/dist/models/VisitTypeConditionOption.d.ts +1 -1
- package/dist/models/VisitTypeConditionOption.js +1 -1
- package/dist/models/VisitTypeConditionPayload.d.ts +1 -1
- package/dist/models/VisitTypeConditionPayload.js +1 -1
- package/dist/models/VisitTypeConditionTraceData.d.ts +1 -1
- package/dist/models/VisitTypeConditionTraceData.js +1 -1
- package/dist/models/VisitTypeConditionTraceOption.d.ts +1 -1
- package/dist/models/VisitTypeConditionTraceOption.js +1 -1
- package/dist/models/Visitor.d.ts +1 -1
- package/dist/models/Visitor.js +1 -1
- package/dist/models/VisitorAttribute.d.ts +1 -1
- package/dist/models/VisitorAttribute.js +1 -1
- package/dist/models/VisitorAttributeFilter.d.ts +1 -1
- package/dist/models/VisitorAttributeFilter.js +1 -1
- package/dist/models/VisitorAttributeFilterOperator.d.ts +1 -1
- package/dist/models/VisitorAttributeFilterOperator.js +1 -1
- package/dist/models/VisitorAttributeKey.d.ts +1 -1
- package/dist/models/VisitorAttributeKey.js +1 -1
- package/dist/models/VisitorAttributeType.d.ts +1 -1
- package/dist/models/VisitorAttributeType.js +1 -1
- package/dist/models/VisitorDataConditionOption.d.ts +1 -1
- package/dist/models/VisitorDataConditionOption.js +1 -1
- package/dist/models/VisitorDataConditionPayload.d.ts +1 -1
- package/dist/models/VisitorDataConditionPayload.js +1 -1
- package/dist/models/VisitorDataConditionTraceData.d.ts +1 -1
- package/dist/models/VisitorDataConditionTraceData.js +1 -1
- package/dist/models/VisitorDataConditionTraceOption.d.ts +1 -1
- package/dist/models/VisitorDataConditionTraceOption.js +1 -1
- package/dist/models/VisitorEvent.d.ts +1 -1
- package/dist/models/VisitorEvent.js +1 -1
- package/dist/models/VisitorInput.d.ts +1 -1
- package/dist/models/VisitorInput.js +1 -1
- package/dist/models/VisitorLink.d.ts +1 -1
- package/dist/models/VisitorLink.js +1 -1
- package/dist/models/VisitorSortField.d.ts +1 -1
- package/dist/models/VisitorSortField.js +1 -1
- package/dist/models/VisitorTrendDataPoint.d.ts +1 -1
- package/dist/models/VisitorTrendDataPoint.js +1 -1
- package/dist/models/VisitorsServiceUpdateBody.d.ts +1 -1
- package/dist/models/VisitorsServiceUpdateBody.js +1 -1
- package/dist/models/Webhook.d.ts +1 -1
- package/dist/models/Webhook.js +1 -1
- package/dist/models/WebhookSource.d.ts +1 -1
- package/dist/models/WebhookSource.js +1 -1
- package/dist/models/WebhookStatus.d.ts +1 -1
- package/dist/models/WebhookStatus.js +1 -1
- package/dist/models/WebhooksServiceUpdateBody.d.ts +1 -1
- package/dist/models/WebhooksServiceUpdateBody.js +1 -1
- package/dist/models/WidgetDataSource.d.ts +1 -1
- package/dist/models/WidgetDataSource.js +1 -1
- package/dist/models/WidgetFieldMapping.d.ts +1 -1
- package/dist/models/WidgetFieldMapping.js +1 -1
- package/dist/models/WidgetPosition.d.ts +1 -1
- package/dist/models/WidgetPosition.js +1 -1
- package/dist/models/WidgetSize.d.ts +1 -1
- package/dist/models/WidgetSize.js +1 -1
- package/dist/models/WidgetTab.d.ts +1 -1
- package/dist/models/WidgetTab.js +1 -1
- package/dist/models/WidgetTabMode.d.ts +1 -1
- package/dist/models/WidgetTabMode.js +1 -1
- package/dist/models/WidgetTabView.d.ts +1 -1
- package/dist/models/WidgetTabView.js +1 -1
- package/dist/models/WidgetVisualization.d.ts +1 -1
- package/dist/models/WidgetVisualization.js +1 -1
- package/dist/models/WorkflowIssue.d.ts +1 -1
- package/dist/models/WorkflowIssue.js +1 -1
- package/dist/models/WorkflowStep.d.ts +21 -2
- package/dist/models/WorkflowStep.js +3 -1
- package/dist/models/WorkflowStepBranch.d.ts +1 -1
- package/dist/models/WorkflowStepBranch.js +1 -1
- package/dist/models/WorkflowStepKind.d.ts +1 -1
- package/dist/models/WorkflowStepKind.js +1 -1
- package/dist/models/WorkflowStepNodeType.d.ts +1 -1
- package/dist/models/WorkflowStepNodeType.js +1 -1
- package/dist/models/WorkflowStepPayload.d.ts +1 -1
- package/dist/models/WorkflowStepPayload.js +1 -1
- package/dist/models/WorkflowStepsServiceConnectStepBody.d.ts +1 -1
- package/dist/models/WorkflowStepsServiceConnectStepBody.js +1 -1
- package/dist/models/WorkflowStepsServiceCreateBody.d.ts +1 -1
- package/dist/models/WorkflowStepsServiceCreateBody.js +1 -1
- package/dist/models/WorkflowStepsServiceUpdateBody.d.ts +1 -1
- package/dist/models/WorkflowStepsServiceUpdateBody.js +1 -1
- package/dist/models/Workspace.d.ts +1 -1
- package/dist/models/Workspace.js +1 -1
- package/dist/models/WorkspaceAllowance.d.ts +1 -1
- package/dist/models/WorkspaceAllowance.js +1 -1
- package/dist/models/WorkspaceInsight.d.ts +1 -1
- package/dist/models/WorkspaceInsight.js +1 -1
- package/dist/models/WorkspaceMetric.d.ts +1 -1
- package/dist/models/WorkspaceMetric.js +1 -1
- package/dist/models/WorkspaceToken.d.ts +1 -1
- package/dist/models/WorkspaceToken.js +1 -1
- package/dist/models/WorkspaceTokenKeyType.d.ts +1 -1
- package/dist/models/WorkspaceTokenKeyType.js +1 -1
- package/dist/models/WorkspaceTokensServiceUpdateBody.d.ts +1 -1
- package/dist/models/WorkspaceTokensServiceUpdateBody.js +1 -1
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
package/dist/apis/MediaApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Linkbreakers API
|
|
3
3
|
* This is a documentation of all the APIs of Linkbreakers ## Entry points `GET https://api.linkbreakers.com/` and `GET https://api.linkbreakers.com/v1` answer without credentials with the API\'s name, version and links. This document is served at `https://api.linkbreakers.com/openapi.json`. ## Rate limits Every response describes where the caller stands in the IETF `RateLimit-Policy` and `RateLimit` header fields (draft-ietf-httpapi-ratelimit-headers), and in `RateLimit-Limit`, `RateLimit-Remaining`, `RateLimit-Reset` and `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` (a Unix timestamp) for clients that read those. A request past the limit gets `429 Too Many Requests` with `Retry-After` in seconds. - Workspace API token: 600 requests per 60 seconds, per token. - Dashboard session or OAuth token: 500 requests per 60 seconds, per token. - No credentials: 300 requests per 60 seconds, per client IP. Each plan also includes a number of API calls per billing cycle. Past it, calls answer `429` with the code `MAX_PUBLIC_API_QUERIED_REACHED` until the cycle renews or the plan changes. ## Pagination Every list pages with opaque cursors (AIP-158). Pass `pageSize`, then send the `nextPageToken` of each response back as `pageToken` (or its alias `cursor`) to get the next page. An empty or absent `nextPageToken` means the list is complete. Each list operation describes this in `x-pagination`. ## Batches and background jobs `POST /v1/links/bulk` creates up to 250 links in one transactional request; `POST /v1/links/batch` takes the same links as a bare JSON array. `POST /v1/links/bulk/jobs` accepts the same batch and answers `202 Accepted` at once with a job and a `Location` header; poll `GET /v1/jobs/{id}` until `status` is `JOB_STATUS_SUCCEEDED` (the created link ids are in `linksBulkCreate.linkIds`) or `JOB_STATUS_FAILED` (`error` says why, and nothing was created). Jobs can be read for 24 hours after they finish. ## Versioning and deprecation The version is in the path: every operation lives under `/v1`. Within a version, changes are additive only: new operations, new optional request fields, new response fields and new enum values. Clients should ignore fields and enum values they do not know. Anything that would break an existing client ships under a new path version instead. An operation is retired in two steps. First it is deprecated: it keeps working, is flagged `deprecated: true` in this document, and every response carries a `Deprecation` header field (RFC 9745) with the time it was deprecated and a `Link` with `rel=\"deprecation\"` to the policy. Then, at least 180 days later, it may be removed; that date is announced in advance in a `Sunset` header field (RFC 8594) and as `x-sunset` on the operation. The full policy: https://linkbreakers.com/help/article/api-versioning-and-deprecation-policy ## Idempotent retries Every POST, PUT and PATCH accepts an optional `Idempotency-Key` header (draft-ietf-httpapi-idempotency-key-header). Send a new unique value, such as a UUID, with each logical request and reuse it only to retry that request. A retry with the same key and the same request returns the first response, marked `Idempotent-Replayed: true`, instead of running again. Keys are scoped to the token and kept for 24 hours. The same key with a different request is refused with `422`, and a retry while the first request is still running gets `409` with `Retry-After`. Server errors (5xx) and refusals such as 401, 403 and 429 are not stored, so retrying them runs the request again.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.181.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,13 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { CompleteMediaUploadResponse, CreateMediaRequest, CreateMediaResponse, CreateMediaUploadRequest, CreateMediaUploadResponse, GetMediaResponse, ImportMediaRequest, ImportMediaResponse, ListMediaResponse } from '../models/index';
|
|
13
|
+
import type { CompleteMediaReplaceResponse, CompleteMediaUploadResponse, CreateMediaReplaceUploadResponse, CreateMediaRequest, CreateMediaResponse, CreateMediaUploadRequest, CreateMediaUploadResponse, GetMediaResponse, ImportMediaRequest, ImportMediaResponse, ListMediaResponse, MediaServiceCreateReplaceUploadBody, MediaServiceReplaceImportBody, ReplaceMediaImportResponse } from '../models/index';
|
|
14
|
+
export interface MediaServiceCompleteReplaceRequest {
|
|
15
|
+
id: string;
|
|
16
|
+
replacementId: string;
|
|
17
|
+
body: object;
|
|
18
|
+
idempotencyKey?: string;
|
|
19
|
+
}
|
|
14
20
|
export interface MediaServiceCompleteUploadRequest {
|
|
15
21
|
id: string;
|
|
16
22
|
body: object;
|
|
@@ -20,6 +26,11 @@ export interface MediaServiceCreateRequest {
|
|
|
20
26
|
createMediaRequest: CreateMediaRequest;
|
|
21
27
|
idempotencyKey?: string;
|
|
22
28
|
}
|
|
29
|
+
export interface MediaServiceCreateReplaceUploadRequest {
|
|
30
|
+
id: string;
|
|
31
|
+
mediaServiceCreateReplaceUploadBody: MediaServiceCreateReplaceUploadBody;
|
|
32
|
+
idempotencyKey?: string;
|
|
33
|
+
}
|
|
23
34
|
export interface MediaServiceCreateUploadRequest {
|
|
24
35
|
createMediaUploadRequest: CreateMediaUploadRequest;
|
|
25
36
|
idempotencyKey?: string;
|
|
@@ -42,6 +53,11 @@ export interface MediaServiceListRequest {
|
|
|
42
53
|
uploadedFrom?: string;
|
|
43
54
|
cursor?: string;
|
|
44
55
|
}
|
|
56
|
+
export interface MediaServiceReplaceImportRequest {
|
|
57
|
+
id: string;
|
|
58
|
+
mediaServiceReplaceImportBody: MediaServiceReplaceImportBody;
|
|
59
|
+
idempotencyKey?: string;
|
|
60
|
+
}
|
|
45
61
|
/**
|
|
46
62
|
* MediaApi - interface
|
|
47
63
|
*
|
|
@@ -49,6 +65,33 @@ export interface MediaServiceListRequest {
|
|
|
49
65
|
* @interface MediaApiInterface
|
|
50
66
|
*/
|
|
51
67
|
export interface MediaApiInterface {
|
|
68
|
+
/**
|
|
69
|
+
* Creates request options for mediaServiceCompleteReplace without sending the request
|
|
70
|
+
* @param {string} id The ID of the media item whose file is replaced (UUID)
|
|
71
|
+
* @param {string} replacementId The replacement\'s id (UUID), from CreateReplaceUpload
|
|
72
|
+
* @param {object} body
|
|
73
|
+
* @param {string} [idempotencyKey] Makes retrying this request safe. See components.parameters.IdempotencyKey.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
* @memberof MediaApiInterface
|
|
76
|
+
*/
|
|
77
|
+
mediaServiceCompleteReplaceRequestOpts(requestParameters: MediaServiceCompleteReplaceRequest): Promise<runtime.RequestOpts>;
|
|
78
|
+
/**
|
|
79
|
+
* Checks the new file PUT to the replacement\'s upload_url like CompleteUpload does (its size, its real format read from its first bytes, its SHA-256 established by the server), checks again that every use rendered from the media accepts it and that it fits the storage allowance, then swaps it in. The media keeps its id and takes the new file\'s name, MIME type, kind, size and sha256; its old file is deleted. QR code designs that used the media as their logo keep their current logo and are detached from it; they are returned in detached_references. On any refusal the new file is discarded and the media keeps its current file. A new file identical to the media\'s own changes nothing and returns unchanged true. Requires the `media:write` scope.
|
|
80
|
+
* @summary Complete replacing a media file
|
|
81
|
+
* @param {string} id The ID of the media item whose file is replaced (UUID)
|
|
82
|
+
* @param {string} replacementId The replacement\'s id (UUID), from CreateReplaceUpload
|
|
83
|
+
* @param {object} body
|
|
84
|
+
* @param {string} [idempotencyKey] Makes retrying this request safe. See components.parameters.IdempotencyKey.
|
|
85
|
+
* @param {*} [options] Override http request option.
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
* @memberof MediaApiInterface
|
|
88
|
+
*/
|
|
89
|
+
mediaServiceCompleteReplaceRaw(requestParameters: MediaServiceCompleteReplaceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompleteMediaReplaceResponse>>;
|
|
90
|
+
/**
|
|
91
|
+
* Checks the new file PUT to the replacement\'s upload_url like CompleteUpload does (its size, its real format read from its first bytes, its SHA-256 established by the server), checks again that every use rendered from the media accepts it and that it fits the storage allowance, then swaps it in. The media keeps its id and takes the new file\'s name, MIME type, kind, size and sha256; its old file is deleted. QR code designs that used the media as their logo keep their current logo and are detached from it; they are returned in detached_references. On any refusal the new file is discarded and the media keeps its current file. A new file identical to the media\'s own changes nothing and returns unchanged true. Requires the `media:write` scope.
|
|
92
|
+
* Complete replacing a media file
|
|
93
|
+
*/
|
|
94
|
+
mediaServiceCompleteReplace(requestParameters: MediaServiceCompleteReplaceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompleteMediaReplaceResponse>;
|
|
52
95
|
/**
|
|
53
96
|
* Creates request options for mediaServiceCompleteUpload without sending the request
|
|
54
97
|
* @param {string} id The ID of the pending media item (UUID), from CreateUpload
|
|
@@ -59,7 +102,7 @@ export interface MediaApiInterface {
|
|
|
59
102
|
*/
|
|
60
103
|
mediaServiceCompleteUploadRequestOpts(requestParameters: MediaServiceCompleteUploadRequest): Promise<runtime.RequestOpts>;
|
|
61
104
|
/**
|
|
62
|
-
* Checks the file PUT to the upload_url: its size, its real format read from its first bytes, and the storage allowance. When it matches what CreateUpload declared, the media becomes READY and is returned with a signed URL. When it does not, the file and the media are discarded and the error says why; start a new upload. Completing a media item that is already READY returns it. Requires the `media:write` scope.
|
|
105
|
+
* Checks the file PUT to the upload_url: its size, its real format read from its first bytes, and the storage allowance. When it matches what CreateUpload declared, the media becomes READY and is returned with a signed URL. When it does not, the file and the media are discarded and the error says why; start a new upload. Completing a media item that is already READY returns it. The server always establishes the file\'s SHA-256 itself, from the checksum storage verified or by reading the file back. A file the workspace already holds is discarded with 409 MEDIA_ALREADY_EXISTS; the error\'s metadata names the existing media in existingMediaId and existingFileName. Use that media instead. Requires the `media:write` scope.
|
|
63
106
|
* @summary Complete a direct media upload
|
|
64
107
|
* @param {string} id The ID of the pending media item (UUID), from CreateUpload
|
|
65
108
|
* @param {object} body
|
|
@@ -70,7 +113,7 @@ export interface MediaApiInterface {
|
|
|
70
113
|
*/
|
|
71
114
|
mediaServiceCompleteUploadRaw(requestParameters: MediaServiceCompleteUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompleteMediaUploadResponse>>;
|
|
72
115
|
/**
|
|
73
|
-
* Checks the file PUT to the upload_url: its size, its real format read from its first bytes, and the storage allowance. When it matches what CreateUpload declared, the media becomes READY and is returned with a signed URL. When it does not, the file and the media are discarded and the error says why; start a new upload. Completing a media item that is already READY returns it. Requires the `media:write` scope.
|
|
116
|
+
* Checks the file PUT to the upload_url: its size, its real format read from its first bytes, and the storage allowance. When it matches what CreateUpload declared, the media becomes READY and is returned with a signed URL. When it does not, the file and the media are discarded and the error says why; start a new upload. Completing a media item that is already READY returns it. The server always establishes the file\'s SHA-256 itself, from the checksum storage verified or by reading the file back. A file the workspace already holds is discarded with 409 MEDIA_ALREADY_EXISTS; the error\'s metadata names the existing media in existingMediaId and existingFileName. Use that media instead. Requires the `media:write` scope.
|
|
74
117
|
* Complete a direct media upload
|
|
75
118
|
*/
|
|
76
119
|
mediaServiceCompleteUpload(requestParameters: MediaServiceCompleteUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompleteMediaUploadResponse>;
|
|
@@ -83,7 +126,7 @@ export interface MediaApiInterface {
|
|
|
83
126
|
*/
|
|
84
127
|
mediaServiceCreateRequestOpts(requestParameters: MediaServiceCreateRequest): Promise<runtime.RequestOpts>;
|
|
85
128
|
/**
|
|
86
|
-
* Uploads a file sent in the request itself, base64 encoded over HTTP, up to 3 MB. Larger files (a PDF brochure, a video) are uploaded straight to storage instead: CreateUpload, a PUT of the file to the returned upload_url, then CompleteUpload. A media item only has a kind, read from its bytes: images (PNG, JPEG, WebP, SVG) up to 10 MB, PDF documents up to 25 MB and MP4 videos up to 50 MB. Nothing about where it will be used is needed at upload: any image can then be a QR code logo, a background cover, a badge or a footer logo (up to 3 MB for those), and any media can be opened by an Open media step. Requires the `media:write` scope.
|
|
129
|
+
* Uploads a file sent in the request itself, base64 encoded over HTTP, up to 3 MB. Larger files (a PDF brochure, a video) are uploaded straight to storage instead: CreateUpload, a PUT of the file to the returned upload_url, then CompleteUpload. A media item only has a kind, read from its bytes: images (PNG, JPEG, WebP, SVG) up to 10 MB, PDF documents up to 25 MB and MP4 videos up to 50 MB. Nothing about where it will be used is needed at upload: any image can then be a QR code logo, a background cover, a badge or a footer logo (up to 3 MB for those), and any media can be opened by an Open media step. A workspace holds each file once. A file whose bytes (SHA-256) match media the workspace already has is refused with 409 MEDIA_ALREADY_EXISTS; the error\'s metadata names that media in existingMediaId and existingFileName. Use that media instead of uploading the file again. Requires the `media:write` scope.
|
|
87
130
|
* @summary Upload a media file
|
|
88
131
|
* @param {CreateMediaRequest} createMediaRequest
|
|
89
132
|
* @param {string} [idempotencyKey] Makes retrying this request safe. See components.parameters.IdempotencyKey.
|
|
@@ -93,10 +136,35 @@ export interface MediaApiInterface {
|
|
|
93
136
|
*/
|
|
94
137
|
mediaServiceCreateRaw(requestParameters: MediaServiceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMediaResponse>>;
|
|
95
138
|
/**
|
|
96
|
-
* Uploads a file sent in the request itself, base64 encoded over HTTP, up to 3 MB. Larger files (a PDF brochure, a video) are uploaded straight to storage instead: CreateUpload, a PUT of the file to the returned upload_url, then CompleteUpload. A media item only has a kind, read from its bytes: images (PNG, JPEG, WebP, SVG) up to 10 MB, PDF documents up to 25 MB and MP4 videos up to 50 MB. Nothing about where it will be used is needed at upload: any image can then be a QR code logo, a background cover, a badge or a footer logo (up to 3 MB for those), and any media can be opened by an Open media step. Requires the `media:write` scope.
|
|
139
|
+
* Uploads a file sent in the request itself, base64 encoded over HTTP, up to 3 MB. Larger files (a PDF brochure, a video) are uploaded straight to storage instead: CreateUpload, a PUT of the file to the returned upload_url, then CompleteUpload. A media item only has a kind, read from its bytes: images (PNG, JPEG, WebP, SVG) up to 10 MB, PDF documents up to 25 MB and MP4 videos up to 50 MB. Nothing about where it will be used is needed at upload: any image can then be a QR code logo, a background cover, a badge or a footer logo (up to 3 MB for those), and any media can be opened by an Open media step. A workspace holds each file once. A file whose bytes (SHA-256) match media the workspace already has is refused with 409 MEDIA_ALREADY_EXISTS; the error\'s metadata names that media in existingMediaId and existingFileName. Use that media instead of uploading the file again. Requires the `media:write` scope.
|
|
97
140
|
* Upload a media file
|
|
98
141
|
*/
|
|
99
142
|
mediaServiceCreate(requestParameters: MediaServiceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMediaResponse>;
|
|
143
|
+
/**
|
|
144
|
+
* Creates request options for mediaServiceCreateReplaceUpload without sending the request
|
|
145
|
+
* @param {string} id The ID of the media item whose file is replaced (UUID)
|
|
146
|
+
* @param {MediaServiceCreateReplaceUploadBody} mediaServiceCreateReplaceUploadBody
|
|
147
|
+
* @param {string} [idempotencyKey] Makes retrying this request safe. See components.parameters.IdempotencyKey.
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
* @memberof MediaApiInterface
|
|
150
|
+
*/
|
|
151
|
+
mediaServiceCreateReplaceUploadRequestOpts(requestParameters: MediaServiceCreateReplaceUploadRequest): Promise<runtime.RequestOpts>;
|
|
152
|
+
/**
|
|
153
|
+
* Starts replacing the file of an existing media item with a new one uploaded straight to storage. The media keeps its id, so everything using it follows: Open media steps hand out the new file and page themes show it as their background cover, badge or footer logo from the next visit. Declare the new file\'s name, MIME type and exact size in bytes, and optionally its sha256. Then PUT its bytes to upload_url with the upload_headers before upload_expires_at, and call CompleteReplace with the replacement_id. Until then the media is unchanged; a replacement not completed within an hour is discarded. The new file must be acceptable to every use rendered from the media\'s file: a page theme cover, badge or footer logo takes an image of at most 3 MB, an Open media step takes any media. When one refuses it, the replacement is refused with MEDIA_REPLACE_NOT_ALLOWED, whose message names each refusing use and why, and whose metadata lists them in refusals (a JSON array). Media used only by Open media steps may change kind, a PDF for an MP4 video for example. A QR code design keeps its own copy of its logo: it never refuses a replacement, keeps its current logo, and is detached from the media when the replacement completes. A file another media item of the workspace holds is refused with 409 MEDIA_ALREADY_EXISTS (metadata existingMediaId and existingFileName). Declaring the media\'s own file returns unchanged true and no upload_url: there is nothing to replace. Only the difference in size counts against the workspace\'s storage allowance. Requires the `media:write` scope.
|
|
154
|
+
* @summary Start replacing a media file
|
|
155
|
+
* @param {string} id The ID of the media item whose file is replaced (UUID)
|
|
156
|
+
* @param {MediaServiceCreateReplaceUploadBody} mediaServiceCreateReplaceUploadBody
|
|
157
|
+
* @param {string} [idempotencyKey] Makes retrying this request safe. See components.parameters.IdempotencyKey.
|
|
158
|
+
* @param {*} [options] Override http request option.
|
|
159
|
+
* @throws {RequiredError}
|
|
160
|
+
* @memberof MediaApiInterface
|
|
161
|
+
*/
|
|
162
|
+
mediaServiceCreateReplaceUploadRaw(requestParameters: MediaServiceCreateReplaceUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMediaReplaceUploadResponse>>;
|
|
163
|
+
/**
|
|
164
|
+
* Starts replacing the file of an existing media item with a new one uploaded straight to storage. The media keeps its id, so everything using it follows: Open media steps hand out the new file and page themes show it as their background cover, badge or footer logo from the next visit. Declare the new file\'s name, MIME type and exact size in bytes, and optionally its sha256. Then PUT its bytes to upload_url with the upload_headers before upload_expires_at, and call CompleteReplace with the replacement_id. Until then the media is unchanged; a replacement not completed within an hour is discarded. The new file must be acceptable to every use rendered from the media\'s file: a page theme cover, badge or footer logo takes an image of at most 3 MB, an Open media step takes any media. When one refuses it, the replacement is refused with MEDIA_REPLACE_NOT_ALLOWED, whose message names each refusing use and why, and whose metadata lists them in refusals (a JSON array). Media used only by Open media steps may change kind, a PDF for an MP4 video for example. A QR code design keeps its own copy of its logo: it never refuses a replacement, keeps its current logo, and is detached from the media when the replacement completes. A file another media item of the workspace holds is refused with 409 MEDIA_ALREADY_EXISTS (metadata existingMediaId and existingFileName). Declaring the media\'s own file returns unchanged true and no upload_url: there is nothing to replace. Only the difference in size counts against the workspace\'s storage allowance. Requires the `media:write` scope.
|
|
165
|
+
* Start replacing a media file
|
|
166
|
+
*/
|
|
167
|
+
mediaServiceCreateReplaceUpload(requestParameters: MediaServiceCreateReplaceUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMediaReplaceUploadResponse>;
|
|
100
168
|
/**
|
|
101
169
|
* Creates request options for mediaServiceCreateUpload without sending the request
|
|
102
170
|
* @param {CreateMediaUploadRequest} createMediaUploadRequest
|
|
@@ -106,7 +174,7 @@ export interface MediaApiInterface {
|
|
|
106
174
|
*/
|
|
107
175
|
mediaServiceCreateUploadRequestOpts(requestParameters: MediaServiceCreateUploadRequest): Promise<runtime.RequestOpts>;
|
|
108
176
|
/**
|
|
109
|
-
* Reserves a media item for a file uploaded straight to storage, so large files never pass through the API. Declare the file\'s name, MIME type and exact size in bytes; they are checked against the limit for the file\'s kind (images up to 10 MB, PDF documents up to 25 MB, MP4 videos up to 50 MB) and against the workspace\'s storage allowance now, and against the uploaded bytes on completion. Then PUT the file\'s bytes to upload_url with the upload_headers (and a Content-Length equal to size) before upload_expires_at, and call CompleteUpload. Until completed the media is PENDING: it is not listed and cannot be used. An upload not completed within an hour is discarded. Requires the `media:write` scope.
|
|
177
|
+
* Reserves a media item for a file uploaded straight to storage, so large files never pass through the API. Declare the file\'s name, MIME type and exact size in bytes; they are checked against the limit for the file\'s kind (images up to 10 MB, PDF documents up to 25 MB, MP4 videos up to 50 MB) and against the workspace\'s storage allowance now, and against the uploaded bytes on completion. Then PUT the file\'s bytes to upload_url with the upload_headers (and a Content-Length equal to size) before upload_expires_at, and call CompleteUpload. Until completed the media is PENDING: it is not listed and cannot be used. An upload not completed within an hour is discarded. A workspace holds each file once. Optionally declare sha256, the file\'s SHA-256 as hex: a file the workspace already holds is then refused here, before any upload, with 409 MEDIA_ALREADY_EXISTS, whose metadata names that media in existingMediaId and existingFileName (use it instead), and storage refuses bytes that do not match the hash, so the PUT must send the x-amz-checksum-sha256 header from upload_headers. Without sha256 the duplicate is caught on completion instead. Requires the `media:write` scope.
|
|
110
178
|
* @summary Start a direct media upload
|
|
111
179
|
* @param {CreateMediaUploadRequest} createMediaUploadRequest
|
|
112
180
|
* @param {string} [idempotencyKey] Makes retrying this request safe. See components.parameters.IdempotencyKey.
|
|
@@ -116,7 +184,7 @@ export interface MediaApiInterface {
|
|
|
116
184
|
*/
|
|
117
185
|
mediaServiceCreateUploadRaw(requestParameters: MediaServiceCreateUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMediaUploadResponse>>;
|
|
118
186
|
/**
|
|
119
|
-
* Reserves a media item for a file uploaded straight to storage, so large files never pass through the API. Declare the file\'s name, MIME type and exact size in bytes; they are checked against the limit for the file\'s kind (images up to 10 MB, PDF documents up to 25 MB, MP4 videos up to 50 MB) and against the workspace\'s storage allowance now, and against the uploaded bytes on completion. Then PUT the file\'s bytes to upload_url with the upload_headers (and a Content-Length equal to size) before upload_expires_at, and call CompleteUpload. Until completed the media is PENDING: it is not listed and cannot be used. An upload not completed within an hour is discarded. Requires the `media:write` scope.
|
|
187
|
+
* Reserves a media item for a file uploaded straight to storage, so large files never pass through the API. Declare the file\'s name, MIME type and exact size in bytes; they are checked against the limit for the file\'s kind (images up to 10 MB, PDF documents up to 25 MB, MP4 videos up to 50 MB) and against the workspace\'s storage allowance now, and against the uploaded bytes on completion. Then PUT the file\'s bytes to upload_url with the upload_headers (and a Content-Length equal to size) before upload_expires_at, and call CompleteUpload. Until completed the media is PENDING: it is not listed and cannot be used. An upload not completed within an hour is discarded. A workspace holds each file once. Optionally declare sha256, the file\'s SHA-256 as hex: a file the workspace already holds is then refused here, before any upload, with 409 MEDIA_ALREADY_EXISTS, whose metadata names that media in existingMediaId and existingFileName (use it instead), and storage refuses bytes that do not match the hash, so the PUT must send the x-amz-checksum-sha256 header from upload_headers. Without sha256 the duplicate is caught on completion instead. Requires the `media:write` scope.
|
|
120
188
|
* Start a direct media upload
|
|
121
189
|
*/
|
|
122
190
|
mediaServiceCreateUpload(requestParameters: MediaServiceCreateUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMediaUploadResponse>;
|
|
@@ -128,7 +196,7 @@ export interface MediaApiInterface {
|
|
|
128
196
|
*/
|
|
129
197
|
mediaServiceDeleteRequestOpts(requestParameters: MediaServiceDeleteRequest): Promise<runtime.RequestOpts>;
|
|
130
198
|
/**
|
|
131
|
-
* Removes a media file from the workspace and frees its storage. This operation cannot be undone. Media still opened by an Open media step is refused with MEDIA_IN_USE, naming
|
|
199
|
+
* Removes a media file from the workspace and frees its storage. This operation cannot be undone. Media still opened by an Open media step, or shown by a page theme as its background cover, badge or footer logo (of a link or of a page theme template), is refused with MEDIA_IN_USE, naming what uses it (metadata linkIds and pageThemeTemplateIds): point those at other media or remove it from them first. Deleting an image a QR code design uses as its logo is allowed: the QR code keeps its own copy of the logo, and its link to the media is cleared. Requires the `media:write` scope.
|
|
132
200
|
* @summary Delete a media file
|
|
133
201
|
* @param {string} id The ID of the media file to delete (UUID)
|
|
134
202
|
* @param {*} [options] Override http request option.
|
|
@@ -137,7 +205,7 @@ export interface MediaApiInterface {
|
|
|
137
205
|
*/
|
|
138
206
|
mediaServiceDeleteRaw(requestParameters: MediaServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
|
|
139
207
|
/**
|
|
140
|
-
* Removes a media file from the workspace and frees its storage. This operation cannot be undone. Media still opened by an Open media step is refused with MEDIA_IN_USE, naming
|
|
208
|
+
* Removes a media file from the workspace and frees its storage. This operation cannot be undone. Media still opened by an Open media step, or shown by a page theme as its background cover, badge or footer logo (of a link or of a page theme template), is refused with MEDIA_IN_USE, naming what uses it (metadata linkIds and pageThemeTemplateIds): point those at other media or remove it from them first. Deleting an image a QR code design uses as its logo is allowed: the QR code keeps its own copy of the logo, and its link to the media is cleared. Requires the `media:write` scope.
|
|
141
209
|
* Delete a media file
|
|
142
210
|
*/
|
|
143
211
|
mediaServiceDelete(requestParameters: MediaServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
|
|
@@ -171,7 +239,7 @@ export interface MediaApiInterface {
|
|
|
171
239
|
*/
|
|
172
240
|
mediaServiceImportRequestOpts(requestParameters: MediaServiceImportRequest): Promise<runtime.RequestOpts>;
|
|
173
241
|
/**
|
|
174
|
-
* Fetches a file server-side and stores it as a READY media item, so a file that is already online, or one attached to an Assistant conversation, never has to be downloaded and uploaded again. Give exactly one source: url, a public https address the file is downloaded from, or assistant_attachment_id, a file the caller attached to their own Assistant conversation. The kind is read from the file\'s bytes, never from its name or a Content-Type header, and the same limits as every upload apply: images (PNG, JPEG, WebP, SVG) up to 10 MB, PDF documents up to 25 MB and MP4 videos up to 50 MB, within the workspace\'s media storage allowance. A URL must be https on port 443 and resolve to a public address; redirects are followed only to other such URLs, at most five. Requires the `media:write` scope.
|
|
242
|
+
* Fetches a file server-side and stores it as a READY media item, so a file that is already online, or one attached to an Assistant conversation, never has to be downloaded and uploaded again. Give exactly one source: url, a public https address the file is downloaded from, or assistant_attachment_id, a file the caller attached to their own Assistant conversation. The kind is read from the file\'s bytes, never from its name or a Content-Type header, and the same limits as every upload apply: images (PNG, JPEG, WebP, SVG) up to 10 MB, PDF documents up to 25 MB and MP4 videos up to 50 MB, within the workspace\'s media storage allowance. A URL must be https on port 443 and resolve to a public address; redirects are followed only to other such URLs, at most five. A workspace holds each file once. A file whose bytes (SHA-256) match media the workspace already has is refused with 409 MEDIA_ALREADY_EXISTS; the error\'s metadata names that media in existingMediaId and existingFileName. Use that media instead of uploading the file again. Requires the `media:write` scope.
|
|
175
243
|
* @summary Import a media file from a URL
|
|
176
244
|
* @param {ImportMediaRequest} importMediaRequest
|
|
177
245
|
* @param {string} [idempotencyKey] Makes retrying this request safe. See components.parameters.IdempotencyKey.
|
|
@@ -181,7 +249,7 @@ export interface MediaApiInterface {
|
|
|
181
249
|
*/
|
|
182
250
|
mediaServiceImportRaw(requestParameters: MediaServiceImportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ImportMediaResponse>>;
|
|
183
251
|
/**
|
|
184
|
-
* Fetches a file server-side and stores it as a READY media item, so a file that is already online, or one attached to an Assistant conversation, never has to be downloaded and uploaded again. Give exactly one source: url, a public https address the file is downloaded from, or assistant_attachment_id, a file the caller attached to their own Assistant conversation. The kind is read from the file\'s bytes, never from its name or a Content-Type header, and the same limits as every upload apply: images (PNG, JPEG, WebP, SVG) up to 10 MB, PDF documents up to 25 MB and MP4 videos up to 50 MB, within the workspace\'s media storage allowance. A URL must be https on port 443 and resolve to a public address; redirects are followed only to other such URLs, at most five. Requires the `media:write` scope.
|
|
252
|
+
* Fetches a file server-side and stores it as a READY media item, so a file that is already online, or one attached to an Assistant conversation, never has to be downloaded and uploaded again. Give exactly one source: url, a public https address the file is downloaded from, or assistant_attachment_id, a file the caller attached to their own Assistant conversation. The kind is read from the file\'s bytes, never from its name or a Content-Type header, and the same limits as every upload apply: images (PNG, JPEG, WebP, SVG) up to 10 MB, PDF documents up to 25 MB and MP4 videos up to 50 MB, within the workspace\'s media storage allowance. A URL must be https on port 443 and resolve to a public address; redirects are followed only to other such URLs, at most five. A workspace holds each file once. A file whose bytes (SHA-256) match media the workspace already has is refused with 409 MEDIA_ALREADY_EXISTS; the error\'s metadata names that media in existingMediaId and existingFileName. Use that media instead of uploading the file again. Requires the `media:write` scope.
|
|
185
253
|
* Import a media file from a URL
|
|
186
254
|
*/
|
|
187
255
|
mediaServiceImport(requestParameters: MediaServiceImportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ImportMediaResponse>;
|
|
@@ -216,22 +284,61 @@ export interface MediaApiInterface {
|
|
|
216
284
|
* List media files
|
|
217
285
|
*/
|
|
218
286
|
mediaServiceList(requestParameters: MediaServiceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListMediaResponse>;
|
|
287
|
+
/**
|
|
288
|
+
* Creates request options for mediaServiceReplaceImport without sending the request
|
|
289
|
+
* @param {string} id The ID of the media item whose file is replaced (UUID)
|
|
290
|
+
* @param {MediaServiceReplaceImportBody} mediaServiceReplaceImportBody
|
|
291
|
+
* @param {string} [idempotencyKey] Makes retrying this request safe. See components.parameters.IdempotencyKey.
|
|
292
|
+
* @throws {RequiredError}
|
|
293
|
+
* @memberof MediaApiInterface
|
|
294
|
+
*/
|
|
295
|
+
mediaServiceReplaceImportRequestOpts(requestParameters: MediaServiceReplaceImportRequest): Promise<runtime.RequestOpts>;
|
|
296
|
+
/**
|
|
297
|
+
* Replaces the file of an existing media item with one fetched server-side, from a public https url or a file the caller attached to their own Assistant conversation, in one call. The same checks as CompleteReplace apply, with the same limits and URL rules as Import: every use rendered from the media must accept the new file (MEDIA_REPLACE_NOT_ALLOWED lists each refusing use and why), a file another media item holds is refused with MEDIA_ALREADY_EXISTS, and only the size difference counts against the storage allowance. The media keeps its id; QR code designs using it as a logo keep their current logo and are detached from it. A file identical to the media\'s own returns unchanged true. Requires the `media:write` scope.
|
|
298
|
+
* @summary Replace a media file from a URL
|
|
299
|
+
* @param {string} id The ID of the media item whose file is replaced (UUID)
|
|
300
|
+
* @param {MediaServiceReplaceImportBody} mediaServiceReplaceImportBody
|
|
301
|
+
* @param {string} [idempotencyKey] Makes retrying this request safe. See components.parameters.IdempotencyKey.
|
|
302
|
+
* @param {*} [options] Override http request option.
|
|
303
|
+
* @throws {RequiredError}
|
|
304
|
+
* @memberof MediaApiInterface
|
|
305
|
+
*/
|
|
306
|
+
mediaServiceReplaceImportRaw(requestParameters: MediaServiceReplaceImportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReplaceMediaImportResponse>>;
|
|
307
|
+
/**
|
|
308
|
+
* Replaces the file of an existing media item with one fetched server-side, from a public https url or a file the caller attached to their own Assistant conversation, in one call. The same checks as CompleteReplace apply, with the same limits and URL rules as Import: every use rendered from the media must accept the new file (MEDIA_REPLACE_NOT_ALLOWED lists each refusing use and why), a file another media item holds is refused with MEDIA_ALREADY_EXISTS, and only the size difference counts against the storage allowance. The media keeps its id; QR code designs using it as a logo keep their current logo and are detached from it. A file identical to the media\'s own returns unchanged true. Requires the `media:write` scope.
|
|
309
|
+
* Replace a media file from a URL
|
|
310
|
+
*/
|
|
311
|
+
mediaServiceReplaceImport(requestParameters: MediaServiceReplaceImportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReplaceMediaImportResponse>;
|
|
219
312
|
}
|
|
220
313
|
/**
|
|
221
314
|
*
|
|
222
315
|
*/
|
|
223
316
|
export declare class MediaApi extends runtime.BaseAPI implements MediaApiInterface {
|
|
317
|
+
/**
|
|
318
|
+
* Creates request options for mediaServiceCompleteReplace without sending the request
|
|
319
|
+
*/
|
|
320
|
+
mediaServiceCompleteReplaceRequestOpts(requestParameters: MediaServiceCompleteReplaceRequest): Promise<runtime.RequestOpts>;
|
|
321
|
+
/**
|
|
322
|
+
* Checks the new file PUT to the replacement\'s upload_url like CompleteUpload does (its size, its real format read from its first bytes, its SHA-256 established by the server), checks again that every use rendered from the media accepts it and that it fits the storage allowance, then swaps it in. The media keeps its id and takes the new file\'s name, MIME type, kind, size and sha256; its old file is deleted. QR code designs that used the media as their logo keep their current logo and are detached from it; they are returned in detached_references. On any refusal the new file is discarded and the media keeps its current file. A new file identical to the media\'s own changes nothing and returns unchanged true. Requires the `media:write` scope.
|
|
323
|
+
* Complete replacing a media file
|
|
324
|
+
*/
|
|
325
|
+
mediaServiceCompleteReplaceRaw(requestParameters: MediaServiceCompleteReplaceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompleteMediaReplaceResponse>>;
|
|
326
|
+
/**
|
|
327
|
+
* Checks the new file PUT to the replacement\'s upload_url like CompleteUpload does (its size, its real format read from its first bytes, its SHA-256 established by the server), checks again that every use rendered from the media accepts it and that it fits the storage allowance, then swaps it in. The media keeps its id and takes the new file\'s name, MIME type, kind, size and sha256; its old file is deleted. QR code designs that used the media as their logo keep their current logo and are detached from it; they are returned in detached_references. On any refusal the new file is discarded and the media keeps its current file. A new file identical to the media\'s own changes nothing and returns unchanged true. Requires the `media:write` scope.
|
|
328
|
+
* Complete replacing a media file
|
|
329
|
+
*/
|
|
330
|
+
mediaServiceCompleteReplace(requestParameters: MediaServiceCompleteReplaceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompleteMediaReplaceResponse>;
|
|
224
331
|
/**
|
|
225
332
|
* Creates request options for mediaServiceCompleteUpload without sending the request
|
|
226
333
|
*/
|
|
227
334
|
mediaServiceCompleteUploadRequestOpts(requestParameters: MediaServiceCompleteUploadRequest): Promise<runtime.RequestOpts>;
|
|
228
335
|
/**
|
|
229
|
-
* Checks the file PUT to the upload_url: its size, its real format read from its first bytes, and the storage allowance. When it matches what CreateUpload declared, the media becomes READY and is returned with a signed URL. When it does not, the file and the media are discarded and the error says why; start a new upload. Completing a media item that is already READY returns it. Requires the `media:write` scope.
|
|
336
|
+
* Checks the file PUT to the upload_url: its size, its real format read from its first bytes, and the storage allowance. When it matches what CreateUpload declared, the media becomes READY and is returned with a signed URL. When it does not, the file and the media are discarded and the error says why; start a new upload. Completing a media item that is already READY returns it. The server always establishes the file\'s SHA-256 itself, from the checksum storage verified or by reading the file back. A file the workspace already holds is discarded with 409 MEDIA_ALREADY_EXISTS; the error\'s metadata names the existing media in existingMediaId and existingFileName. Use that media instead. Requires the `media:write` scope.
|
|
230
337
|
* Complete a direct media upload
|
|
231
338
|
*/
|
|
232
339
|
mediaServiceCompleteUploadRaw(requestParameters: MediaServiceCompleteUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompleteMediaUploadResponse>>;
|
|
233
340
|
/**
|
|
234
|
-
* Checks the file PUT to the upload_url: its size, its real format read from its first bytes, and the storage allowance. When it matches what CreateUpload declared, the media becomes READY and is returned with a signed URL. When it does not, the file and the media are discarded and the error says why; start a new upload. Completing a media item that is already READY returns it. Requires the `media:write` scope.
|
|
341
|
+
* Checks the file PUT to the upload_url: its size, its real format read from its first bytes, and the storage allowance. When it matches what CreateUpload declared, the media becomes READY and is returned with a signed URL. When it does not, the file and the media are discarded and the error says why; start a new upload. Completing a media item that is already READY returns it. The server always establishes the file\'s SHA-256 itself, from the checksum storage verified or by reading the file back. A file the workspace already holds is discarded with 409 MEDIA_ALREADY_EXISTS; the error\'s metadata names the existing media in existingMediaId and existingFileName. Use that media instead. Requires the `media:write` scope.
|
|
235
342
|
* Complete a direct media upload
|
|
236
343
|
*/
|
|
237
344
|
mediaServiceCompleteUpload(requestParameters: MediaServiceCompleteUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompleteMediaUploadResponse>;
|
|
@@ -240,26 +347,40 @@ export declare class MediaApi extends runtime.BaseAPI implements MediaApiInterfa
|
|
|
240
347
|
*/
|
|
241
348
|
mediaServiceCreateRequestOpts(requestParameters: MediaServiceCreateRequest): Promise<runtime.RequestOpts>;
|
|
242
349
|
/**
|
|
243
|
-
* Uploads a file sent in the request itself, base64 encoded over HTTP, up to 3 MB. Larger files (a PDF brochure, a video) are uploaded straight to storage instead: CreateUpload, a PUT of the file to the returned upload_url, then CompleteUpload. A media item only has a kind, read from its bytes: images (PNG, JPEG, WebP, SVG) up to 10 MB, PDF documents up to 25 MB and MP4 videos up to 50 MB. Nothing about where it will be used is needed at upload: any image can then be a QR code logo, a background cover, a badge or a footer logo (up to 3 MB for those), and any media can be opened by an Open media step. Requires the `media:write` scope.
|
|
350
|
+
* Uploads a file sent in the request itself, base64 encoded over HTTP, up to 3 MB. Larger files (a PDF brochure, a video) are uploaded straight to storage instead: CreateUpload, a PUT of the file to the returned upload_url, then CompleteUpload. A media item only has a kind, read from its bytes: images (PNG, JPEG, WebP, SVG) up to 10 MB, PDF documents up to 25 MB and MP4 videos up to 50 MB. Nothing about where it will be used is needed at upload: any image can then be a QR code logo, a background cover, a badge or a footer logo (up to 3 MB for those), and any media can be opened by an Open media step. A workspace holds each file once. A file whose bytes (SHA-256) match media the workspace already has is refused with 409 MEDIA_ALREADY_EXISTS; the error\'s metadata names that media in existingMediaId and existingFileName. Use that media instead of uploading the file again. Requires the `media:write` scope.
|
|
244
351
|
* Upload a media file
|
|
245
352
|
*/
|
|
246
353
|
mediaServiceCreateRaw(requestParameters: MediaServiceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMediaResponse>>;
|
|
247
354
|
/**
|
|
248
|
-
* Uploads a file sent in the request itself, base64 encoded over HTTP, up to 3 MB. Larger files (a PDF brochure, a video) are uploaded straight to storage instead: CreateUpload, a PUT of the file to the returned upload_url, then CompleteUpload. A media item only has a kind, read from its bytes: images (PNG, JPEG, WebP, SVG) up to 10 MB, PDF documents up to 25 MB and MP4 videos up to 50 MB. Nothing about where it will be used is needed at upload: any image can then be a QR code logo, a background cover, a badge or a footer logo (up to 3 MB for those), and any media can be opened by an Open media step. Requires the `media:write` scope.
|
|
355
|
+
* Uploads a file sent in the request itself, base64 encoded over HTTP, up to 3 MB. Larger files (a PDF brochure, a video) are uploaded straight to storage instead: CreateUpload, a PUT of the file to the returned upload_url, then CompleteUpload. A media item only has a kind, read from its bytes: images (PNG, JPEG, WebP, SVG) up to 10 MB, PDF documents up to 25 MB and MP4 videos up to 50 MB. Nothing about where it will be used is needed at upload: any image can then be a QR code logo, a background cover, a badge or a footer logo (up to 3 MB for those), and any media can be opened by an Open media step. A workspace holds each file once. A file whose bytes (SHA-256) match media the workspace already has is refused with 409 MEDIA_ALREADY_EXISTS; the error\'s metadata names that media in existingMediaId and existingFileName. Use that media instead of uploading the file again. Requires the `media:write` scope.
|
|
249
356
|
* Upload a media file
|
|
250
357
|
*/
|
|
251
358
|
mediaServiceCreate(requestParameters: MediaServiceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMediaResponse>;
|
|
359
|
+
/**
|
|
360
|
+
* Creates request options for mediaServiceCreateReplaceUpload without sending the request
|
|
361
|
+
*/
|
|
362
|
+
mediaServiceCreateReplaceUploadRequestOpts(requestParameters: MediaServiceCreateReplaceUploadRequest): Promise<runtime.RequestOpts>;
|
|
363
|
+
/**
|
|
364
|
+
* Starts replacing the file of an existing media item with a new one uploaded straight to storage. The media keeps its id, so everything using it follows: Open media steps hand out the new file and page themes show it as their background cover, badge or footer logo from the next visit. Declare the new file\'s name, MIME type and exact size in bytes, and optionally its sha256. Then PUT its bytes to upload_url with the upload_headers before upload_expires_at, and call CompleteReplace with the replacement_id. Until then the media is unchanged; a replacement not completed within an hour is discarded. The new file must be acceptable to every use rendered from the media\'s file: a page theme cover, badge or footer logo takes an image of at most 3 MB, an Open media step takes any media. When one refuses it, the replacement is refused with MEDIA_REPLACE_NOT_ALLOWED, whose message names each refusing use and why, and whose metadata lists them in refusals (a JSON array). Media used only by Open media steps may change kind, a PDF for an MP4 video for example. A QR code design keeps its own copy of its logo: it never refuses a replacement, keeps its current logo, and is detached from the media when the replacement completes. A file another media item of the workspace holds is refused with 409 MEDIA_ALREADY_EXISTS (metadata existingMediaId and existingFileName). Declaring the media\'s own file returns unchanged true and no upload_url: there is nothing to replace. Only the difference in size counts against the workspace\'s storage allowance. Requires the `media:write` scope.
|
|
365
|
+
* Start replacing a media file
|
|
366
|
+
*/
|
|
367
|
+
mediaServiceCreateReplaceUploadRaw(requestParameters: MediaServiceCreateReplaceUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMediaReplaceUploadResponse>>;
|
|
368
|
+
/**
|
|
369
|
+
* Starts replacing the file of an existing media item with a new one uploaded straight to storage. The media keeps its id, so everything using it follows: Open media steps hand out the new file and page themes show it as their background cover, badge or footer logo from the next visit. Declare the new file\'s name, MIME type and exact size in bytes, and optionally its sha256. Then PUT its bytes to upload_url with the upload_headers before upload_expires_at, and call CompleteReplace with the replacement_id. Until then the media is unchanged; a replacement not completed within an hour is discarded. The new file must be acceptable to every use rendered from the media\'s file: a page theme cover, badge or footer logo takes an image of at most 3 MB, an Open media step takes any media. When one refuses it, the replacement is refused with MEDIA_REPLACE_NOT_ALLOWED, whose message names each refusing use and why, and whose metadata lists them in refusals (a JSON array). Media used only by Open media steps may change kind, a PDF for an MP4 video for example. A QR code design keeps its own copy of its logo: it never refuses a replacement, keeps its current logo, and is detached from the media when the replacement completes. A file another media item of the workspace holds is refused with 409 MEDIA_ALREADY_EXISTS (metadata existingMediaId and existingFileName). Declaring the media\'s own file returns unchanged true and no upload_url: there is nothing to replace. Only the difference in size counts against the workspace\'s storage allowance. Requires the `media:write` scope.
|
|
370
|
+
* Start replacing a media file
|
|
371
|
+
*/
|
|
372
|
+
mediaServiceCreateReplaceUpload(requestParameters: MediaServiceCreateReplaceUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMediaReplaceUploadResponse>;
|
|
252
373
|
/**
|
|
253
374
|
* Creates request options for mediaServiceCreateUpload without sending the request
|
|
254
375
|
*/
|
|
255
376
|
mediaServiceCreateUploadRequestOpts(requestParameters: MediaServiceCreateUploadRequest): Promise<runtime.RequestOpts>;
|
|
256
377
|
/**
|
|
257
|
-
* Reserves a media item for a file uploaded straight to storage, so large files never pass through the API. Declare the file\'s name, MIME type and exact size in bytes; they are checked against the limit for the file\'s kind (images up to 10 MB, PDF documents up to 25 MB, MP4 videos up to 50 MB) and against the workspace\'s storage allowance now, and against the uploaded bytes on completion. Then PUT the file\'s bytes to upload_url with the upload_headers (and a Content-Length equal to size) before upload_expires_at, and call CompleteUpload. Until completed the media is PENDING: it is not listed and cannot be used. An upload not completed within an hour is discarded. Requires the `media:write` scope.
|
|
378
|
+
* Reserves a media item for a file uploaded straight to storage, so large files never pass through the API. Declare the file\'s name, MIME type and exact size in bytes; they are checked against the limit for the file\'s kind (images up to 10 MB, PDF documents up to 25 MB, MP4 videos up to 50 MB) and against the workspace\'s storage allowance now, and against the uploaded bytes on completion. Then PUT the file\'s bytes to upload_url with the upload_headers (and a Content-Length equal to size) before upload_expires_at, and call CompleteUpload. Until completed the media is PENDING: it is not listed and cannot be used. An upload not completed within an hour is discarded. A workspace holds each file once. Optionally declare sha256, the file\'s SHA-256 as hex: a file the workspace already holds is then refused here, before any upload, with 409 MEDIA_ALREADY_EXISTS, whose metadata names that media in existingMediaId and existingFileName (use it instead), and storage refuses bytes that do not match the hash, so the PUT must send the x-amz-checksum-sha256 header from upload_headers. Without sha256 the duplicate is caught on completion instead. Requires the `media:write` scope.
|
|
258
379
|
* Start a direct media upload
|
|
259
380
|
*/
|
|
260
381
|
mediaServiceCreateUploadRaw(requestParameters: MediaServiceCreateUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMediaUploadResponse>>;
|
|
261
382
|
/**
|
|
262
|
-
* Reserves a media item for a file uploaded straight to storage, so large files never pass through the API. Declare the file\'s name, MIME type and exact size in bytes; they are checked against the limit for the file\'s kind (images up to 10 MB, PDF documents up to 25 MB, MP4 videos up to 50 MB) and against the workspace\'s storage allowance now, and against the uploaded bytes on completion. Then PUT the file\'s bytes to upload_url with the upload_headers (and a Content-Length equal to size) before upload_expires_at, and call CompleteUpload. Until completed the media is PENDING: it is not listed and cannot be used. An upload not completed within an hour is discarded. Requires the `media:write` scope.
|
|
383
|
+
* Reserves a media item for a file uploaded straight to storage, so large files never pass through the API. Declare the file\'s name, MIME type and exact size in bytes; they are checked against the limit for the file\'s kind (images up to 10 MB, PDF documents up to 25 MB, MP4 videos up to 50 MB) and against the workspace\'s storage allowance now, and against the uploaded bytes on completion. Then PUT the file\'s bytes to upload_url with the upload_headers (and a Content-Length equal to size) before upload_expires_at, and call CompleteUpload. Until completed the media is PENDING: it is not listed and cannot be used. An upload not completed within an hour is discarded. A workspace holds each file once. Optionally declare sha256, the file\'s SHA-256 as hex: a file the workspace already holds is then refused here, before any upload, with 409 MEDIA_ALREADY_EXISTS, whose metadata names that media in existingMediaId and existingFileName (use it instead), and storage refuses bytes that do not match the hash, so the PUT must send the x-amz-checksum-sha256 header from upload_headers. Without sha256 the duplicate is caught on completion instead. Requires the `media:write` scope.
|
|
263
384
|
* Start a direct media upload
|
|
264
385
|
*/
|
|
265
386
|
mediaServiceCreateUpload(requestParameters: MediaServiceCreateUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMediaUploadResponse>;
|
|
@@ -268,12 +389,12 @@ export declare class MediaApi extends runtime.BaseAPI implements MediaApiInterfa
|
|
|
268
389
|
*/
|
|
269
390
|
mediaServiceDeleteRequestOpts(requestParameters: MediaServiceDeleteRequest): Promise<runtime.RequestOpts>;
|
|
270
391
|
/**
|
|
271
|
-
* Removes a media file from the workspace and frees its storage. This operation cannot be undone. Media still opened by an Open media step is refused with MEDIA_IN_USE, naming
|
|
392
|
+
* Removes a media file from the workspace and frees its storage. This operation cannot be undone. Media still opened by an Open media step, or shown by a page theme as its background cover, badge or footer logo (of a link or of a page theme template), is refused with MEDIA_IN_USE, naming what uses it (metadata linkIds and pageThemeTemplateIds): point those at other media or remove it from them first. Deleting an image a QR code design uses as its logo is allowed: the QR code keeps its own copy of the logo, and its link to the media is cleared. Requires the `media:write` scope.
|
|
272
393
|
* Delete a media file
|
|
273
394
|
*/
|
|
274
395
|
mediaServiceDeleteRaw(requestParameters: MediaServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
|
|
275
396
|
/**
|
|
276
|
-
* Removes a media file from the workspace and frees its storage. This operation cannot be undone. Media still opened by an Open media step is refused with MEDIA_IN_USE, naming
|
|
397
|
+
* Removes a media file from the workspace and frees its storage. This operation cannot be undone. Media still opened by an Open media step, or shown by a page theme as its background cover, badge or footer logo (of a link or of a page theme template), is refused with MEDIA_IN_USE, naming what uses it (metadata linkIds and pageThemeTemplateIds): point those at other media or remove it from them first. Deleting an image a QR code design uses as its logo is allowed: the QR code keeps its own copy of the logo, and its link to the media is cleared. Requires the `media:write` scope.
|
|
277
398
|
* Delete a media file
|
|
278
399
|
*/
|
|
279
400
|
mediaServiceDelete(requestParameters: MediaServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
|
|
@@ -296,12 +417,12 @@ export declare class MediaApi extends runtime.BaseAPI implements MediaApiInterfa
|
|
|
296
417
|
*/
|
|
297
418
|
mediaServiceImportRequestOpts(requestParameters: MediaServiceImportRequest): Promise<runtime.RequestOpts>;
|
|
298
419
|
/**
|
|
299
|
-
* Fetches a file server-side and stores it as a READY media item, so a file that is already online, or one attached to an Assistant conversation, never has to be downloaded and uploaded again. Give exactly one source: url, a public https address the file is downloaded from, or assistant_attachment_id, a file the caller attached to their own Assistant conversation. The kind is read from the file\'s bytes, never from its name or a Content-Type header, and the same limits as every upload apply: images (PNG, JPEG, WebP, SVG) up to 10 MB, PDF documents up to 25 MB and MP4 videos up to 50 MB, within the workspace\'s media storage allowance. A URL must be https on port 443 and resolve to a public address; redirects are followed only to other such URLs, at most five. Requires the `media:write` scope.
|
|
420
|
+
* Fetches a file server-side and stores it as a READY media item, so a file that is already online, or one attached to an Assistant conversation, never has to be downloaded and uploaded again. Give exactly one source: url, a public https address the file is downloaded from, or assistant_attachment_id, a file the caller attached to their own Assistant conversation. The kind is read from the file\'s bytes, never from its name or a Content-Type header, and the same limits as every upload apply: images (PNG, JPEG, WebP, SVG) up to 10 MB, PDF documents up to 25 MB and MP4 videos up to 50 MB, within the workspace\'s media storage allowance. A URL must be https on port 443 and resolve to a public address; redirects are followed only to other such URLs, at most five. A workspace holds each file once. A file whose bytes (SHA-256) match media the workspace already has is refused with 409 MEDIA_ALREADY_EXISTS; the error\'s metadata names that media in existingMediaId and existingFileName. Use that media instead of uploading the file again. Requires the `media:write` scope.
|
|
300
421
|
* Import a media file from a URL
|
|
301
422
|
*/
|
|
302
423
|
mediaServiceImportRaw(requestParameters: MediaServiceImportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ImportMediaResponse>>;
|
|
303
424
|
/**
|
|
304
|
-
* Fetches a file server-side and stores it as a READY media item, so a file that is already online, or one attached to an Assistant conversation, never has to be downloaded and uploaded again. Give exactly one source: url, a public https address the file is downloaded from, or assistant_attachment_id, a file the caller attached to their own Assistant conversation. The kind is read from the file\'s bytes, never from its name or a Content-Type header, and the same limits as every upload apply: images (PNG, JPEG, WebP, SVG) up to 10 MB, PDF documents up to 25 MB and MP4 videos up to 50 MB, within the workspace\'s media storage allowance. A URL must be https on port 443 and resolve to a public address; redirects are followed only to other such URLs, at most five. Requires the `media:write` scope.
|
|
425
|
+
* Fetches a file server-side and stores it as a READY media item, so a file that is already online, or one attached to an Assistant conversation, never has to be downloaded and uploaded again. Give exactly one source: url, a public https address the file is downloaded from, or assistant_attachment_id, a file the caller attached to their own Assistant conversation. The kind is read from the file\'s bytes, never from its name or a Content-Type header, and the same limits as every upload apply: images (PNG, JPEG, WebP, SVG) up to 10 MB, PDF documents up to 25 MB and MP4 videos up to 50 MB, within the workspace\'s media storage allowance. A URL must be https on port 443 and resolve to a public address; redirects are followed only to other such URLs, at most five. A workspace holds each file once. A file whose bytes (SHA-256) match media the workspace already has is refused with 409 MEDIA_ALREADY_EXISTS; the error\'s metadata names that media in existingMediaId and existingFileName. Use that media instead of uploading the file again. Requires the `media:write` scope.
|
|
305
426
|
* Import a media file from a URL
|
|
306
427
|
*/
|
|
307
428
|
mediaServiceImport(requestParameters: MediaServiceImportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ImportMediaResponse>;
|
|
@@ -319,4 +440,18 @@ export declare class MediaApi extends runtime.BaseAPI implements MediaApiInterfa
|
|
|
319
440
|
* List media files
|
|
320
441
|
*/
|
|
321
442
|
mediaServiceList(requestParameters: MediaServiceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListMediaResponse>;
|
|
443
|
+
/**
|
|
444
|
+
* Creates request options for mediaServiceReplaceImport without sending the request
|
|
445
|
+
*/
|
|
446
|
+
mediaServiceReplaceImportRequestOpts(requestParameters: MediaServiceReplaceImportRequest): Promise<runtime.RequestOpts>;
|
|
447
|
+
/**
|
|
448
|
+
* Replaces the file of an existing media item with one fetched server-side, from a public https url or a file the caller attached to their own Assistant conversation, in one call. The same checks as CompleteReplace apply, with the same limits and URL rules as Import: every use rendered from the media must accept the new file (MEDIA_REPLACE_NOT_ALLOWED lists each refusing use and why), a file another media item holds is refused with MEDIA_ALREADY_EXISTS, and only the size difference counts against the storage allowance. The media keeps its id; QR code designs using it as a logo keep their current logo and are detached from it. A file identical to the media\'s own returns unchanged true. Requires the `media:write` scope.
|
|
449
|
+
* Replace a media file from a URL
|
|
450
|
+
*/
|
|
451
|
+
mediaServiceReplaceImportRaw(requestParameters: MediaServiceReplaceImportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReplaceMediaImportResponse>>;
|
|
452
|
+
/**
|
|
453
|
+
* Replaces the file of an existing media item with one fetched server-side, from a public https url or a file the caller attached to their own Assistant conversation, in one call. The same checks as CompleteReplace apply, with the same limits and URL rules as Import: every use rendered from the media must accept the new file (MEDIA_REPLACE_NOT_ALLOWED lists each refusing use and why), a file another media item holds is refused with MEDIA_ALREADY_EXISTS, and only the size difference counts against the storage allowance. The media keeps its id; QR code designs using it as a logo keep their current logo and are detached from it. A file identical to the media\'s own returns unchanged true. Requires the `media:write` scope.
|
|
454
|
+
* Replace a media file from a URL
|
|
455
|
+
*/
|
|
456
|
+
mediaServiceReplaceImport(requestParameters: MediaServiceReplaceImportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReplaceMediaImportResponse>;
|
|
322
457
|
}
|