linkbreakers 1.176.2 → 1.177.1
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 +43 -2
- package/dist/apis/LinksApi.js +51 -1
- package/dist/apis/MediaApi.d.ts +105 -14
- package/dist/apis/MediaApi.js +117 -7
- package/dist/apis/MembersApi.d.ts +1 -1
- package/dist/apis/MembersApi.js +1 -1
- package/dist/apis/PageThemeTemplatesApi.d.ts +5 -5
- package/dist/apis/PageThemeTemplatesApi.js +3 -3
- package/dist/apis/PageThemesApi.d.ts +5 -5
- package/dist/apis/PageThemesApi.js +3 -3
- 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/AssistantContextType.d.ts +1 -1
- package/dist/models/AssistantContextType.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 +49 -0
- package/dist/models/BackButton.js +50 -0
- 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/CompleteMediaUploadResponse.d.ts +33 -0
- package/dist/models/CompleteMediaUploadResponse.js +49 -0
- 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/CreateFileLinkRequest.d.ts +126 -0
- package/dist/models/CreateFileLinkRequest.js +76 -0
- package/dist/models/CreateFileLinkResponse.d.ts +40 -0
- package/dist/models/CreateFileLinkResponse.js +51 -0
- 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/CreateMediaRequest.d.ts +10 -3
- package/dist/models/CreateMediaRequest.js +4 -1
- package/dist/models/CreateMediaResponse.d.ts +1 -1
- package/dist/models/CreateMediaResponse.js +1 -1
- package/dist/models/CreateMediaUploadRequest.d.ts +58 -0
- package/dist/models/CreateMediaUploadRequest.js +66 -0
- package/dist/models/CreateMediaUploadResponse.d.ts +59 -0
- package/dist/models/CreateMediaUploadResponse.js +57 -0
- 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 +13 -3
- package/dist/models/EventAction.js +14 -4
- package/dist/models/EventTrace.d.ts +1 -1
- package/dist/models/EventTrace.js +1 -1
- package/dist/models/EventTraceData.d.ts +8 -1
- package/dist/models/EventTraceData.js +4 -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/FilePayload.d.ts +32 -0
- package/dist/models/FilePayload.js +50 -0
- package/dist/models/FileTraceData.d.ts +52 -0
- package/dist/models/FileTraceData.js +55 -0
- 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/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 +7 -1
- package/dist/models/ListMediaResponse.js +3 -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 +39 -5
- package/dist/models/Media.js +17 -1
- package/dist/models/MediaKind.d.ts +30 -0
- package/dist/models/MediaKind.js +56 -0
- package/dist/models/MediaSelection.d.ts +1 -1
- package/dist/models/MediaSelection.js +1 -1
- package/dist/models/MediaStatus.d.ts +28 -0
- package/dist/models/MediaStatus.js +54 -0
- package/dist/models/MediaType.d.ts +5 -1
- package/dist/models/MediaType.js +6 -2
- package/dist/models/MediaUsage.d.ts +38 -0
- package/dist/models/MediaUsage.js +64 -0
- 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/OutputFileFormat.d.ts +1 -1
- package/dist/models/OutputFileFormat.js +1 -1
- package/dist/models/PageTheme.d.ts +16 -1
- package/dist/models/PageTheme.js +5 -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 +13 -1
- package/dist/models/PageThemeStyling.js +5 -1
- package/dist/models/PageThemeTemplate.d.ts +7 -1
- package/dist/models/PageThemeTemplate.js +3 -1
- package/dist/models/PageThemeTemplateImages.d.ts +7 -1
- package/dist/models/PageThemeTemplateImages.js +3 -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 +13 -1
- package/dist/models/PageThemeTemplatesServiceUpdatePageThemeTemplateStylingBody.js +5 -1
- package/dist/models/PageThemesServiceUpdatePageThemeBody.d.ts +13 -1
- package/dist/models/PageThemesServiceUpdatePageThemeBody.js +5 -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 +3 -1
- package/dist/models/PlanLimit.js +3 -2
- package/dist/models/PlanLimitKey.d.ts +3 -1
- package/dist/models/PlanLimitKey.js +4 -2
- 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 +3 -1
- package/dist/models/PreferredLinkType.js +4 -2
- 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 +7 -1
- package/dist/models/PublicPageThemeTemplate.js +3 -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/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 +13 -1
- package/dist/models/VCardData.js +5 -1
- package/dist/models/VCardPayload.d.ts +13 -1
- package/dist/models/VCardPayload.js +5 -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 +30 -4
- package/dist/models/WorkflowStep.js +7 -2
- 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 +8 -1
- package/dist/models/WorkflowStepPayload.js +4 -1
- package/dist/models/WorkflowStepsServiceConnectStepBody.d.ts +1 -1
- package/dist/models/WorkflowStepsServiceConnectStepBody.js +1 -1
- package/dist/models/WorkflowStepsServiceCreateBody.d.ts +23 -3
- package/dist/models/WorkflowStepsServiceCreateBody.js +6 -2
- package/dist/models/WorkflowStepsServiceUpdateBody.d.ts +12 -1
- package/dist/models/WorkflowStepsServiceUpdateBody.js +4 -1
- package/dist/models/Workspace.d.ts +1 -1
- package/dist/models/Workspace.js +1 -1
- package/dist/models/WorkspaceAllowance.d.ts +13 -1
- package/dist/models/WorkspaceAllowance.js +5 -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 +11 -0
- package/dist/models/index.js +11 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
package/dist/apis/LinksApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Linkbreakers API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.177.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -303,6 +303,56 @@ class LinksApi extends runtime.BaseAPI {
|
|
|
303
303
|
const response = await this.linksServiceCreateContactLinkRaw(requestParameters, initOverrides);
|
|
304
304
|
return await response.value();
|
|
305
305
|
}
|
|
306
|
+
/**
|
|
307
|
+
* Creates request options for linksServiceCreateFileLink without sending the request
|
|
308
|
+
*/
|
|
309
|
+
async linksServiceCreateFileLinkRequestOpts(requestParameters) {
|
|
310
|
+
if (requestParameters['createFileLinkRequest'] == null) {
|
|
311
|
+
throw new runtime.RequiredError('createFileLinkRequest', 'Required parameter "createFileLinkRequest" was null or undefined when calling linksServiceCreateFileLink().');
|
|
312
|
+
}
|
|
313
|
+
const queryParameters = {};
|
|
314
|
+
const headerParameters = {};
|
|
315
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
316
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
317
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
318
|
+
}
|
|
319
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
320
|
+
// oauth required
|
|
321
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", ["links:write"]);
|
|
322
|
+
}
|
|
323
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
324
|
+
const token = this.configuration.accessToken;
|
|
325
|
+
const tokenString = await token("bearerAuth", ["links:write"]);
|
|
326
|
+
if (tokenString) {
|
|
327
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
let urlPath = `/v1/links/file`;
|
|
331
|
+
return {
|
|
332
|
+
path: urlPath,
|
|
333
|
+
method: 'POST',
|
|
334
|
+
headers: headerParameters,
|
|
335
|
+
query: queryParameters,
|
|
336
|
+
body: (0, index_1.CreateFileLinkRequestToJSON)(requestParameters['createFileLinkRequest']),
|
|
337
|
+
};
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* Creates a link, and its QR code, that hands visitors a file from the media library: a PDF menu or brochure, an image or an MP4 video. Upload the file first with usage USAGE_FILE (POST /v1/media, or a direct upload for files over 3 MB), then pass its media_id. The FILE step is the exit step. Swap the file later by pointing the step at another media item. Requires the `links:write` scope.
|
|
341
|
+
* Create a new file link
|
|
342
|
+
*/
|
|
343
|
+
async linksServiceCreateFileLinkRaw(requestParameters, initOverrides) {
|
|
344
|
+
const requestOptions = await this.linksServiceCreateFileLinkRequestOpts(requestParameters);
|
|
345
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
346
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CreateFileLinkResponseFromJSON)(jsonValue));
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* Creates a link, and its QR code, that hands visitors a file from the media library: a PDF menu or brochure, an image or an MP4 video. Upload the file first with usage USAGE_FILE (POST /v1/media, or a direct upload for files over 3 MB), then pass its media_id. The FILE step is the exit step. Swap the file later by pointing the step at another media item. Requires the `links:write` scope.
|
|
350
|
+
* Create a new file link
|
|
351
|
+
*/
|
|
352
|
+
async linksServiceCreateFileLink(requestParameters, initOverrides) {
|
|
353
|
+
const response = await this.linksServiceCreateFileLinkRaw(requestParameters, initOverrides);
|
|
354
|
+
return await response.value();
|
|
355
|
+
}
|
|
306
356
|
/**
|
|
307
357
|
* Creates request options for linksServiceCreateThankYouLink without sending the request
|
|
308
358
|
*/
|
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.177.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,11 +10,20 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { CreateMediaRequest, CreateMediaResponse, GetMediaResponse, ListMediaResponse } from '../models/index';
|
|
13
|
+
import type { CompleteMediaUploadResponse, CreateMediaRequest, CreateMediaResponse, CreateMediaUploadRequest, CreateMediaUploadResponse, GetMediaResponse, ListMediaResponse } from '../models/index';
|
|
14
|
+
export interface MediaServiceCompleteUploadRequest {
|
|
15
|
+
id: string;
|
|
16
|
+
body: object;
|
|
17
|
+
idempotencyKey?: string;
|
|
18
|
+
}
|
|
14
19
|
export interface MediaServiceCreateRequest {
|
|
15
20
|
createMediaRequest: CreateMediaRequest;
|
|
16
21
|
idempotencyKey?: string;
|
|
17
22
|
}
|
|
23
|
+
export interface MediaServiceCreateUploadRequest {
|
|
24
|
+
createMediaUploadRequest: CreateMediaUploadRequest;
|
|
25
|
+
idempotencyKey?: string;
|
|
26
|
+
}
|
|
18
27
|
export interface MediaServiceDeleteRequest {
|
|
19
28
|
id: string;
|
|
20
29
|
}
|
|
@@ -24,6 +33,8 @@ export interface MediaServiceGetRequest {
|
|
|
24
33
|
export interface MediaServiceListRequest {
|
|
25
34
|
pageSize: number;
|
|
26
35
|
pageToken?: string;
|
|
36
|
+
usage?: string;
|
|
37
|
+
kind?: string;
|
|
27
38
|
cursor?: string;
|
|
28
39
|
}
|
|
29
40
|
/**
|
|
@@ -33,6 +44,31 @@ export interface MediaServiceListRequest {
|
|
|
33
44
|
* @interface MediaApiInterface
|
|
34
45
|
*/
|
|
35
46
|
export interface MediaApiInterface {
|
|
47
|
+
/**
|
|
48
|
+
* Creates request options for mediaServiceCompleteUpload without sending the request
|
|
49
|
+
* @param {string} id The ID of the pending media item (UUID), from CreateUpload
|
|
50
|
+
* @param {object} body
|
|
51
|
+
* @param {string} [idempotencyKey] Makes retrying this request safe. See components.parameters.IdempotencyKey.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
* @memberof MediaApiInterface
|
|
54
|
+
*/
|
|
55
|
+
mediaServiceCompleteUploadRequestOpts(requestParameters: MediaServiceCompleteUploadRequest): Promise<runtime.RequestOpts>;
|
|
56
|
+
/**
|
|
57
|
+
* 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.
|
|
58
|
+
* @summary Complete a direct media upload
|
|
59
|
+
* @param {string} id The ID of the pending media item (UUID), from CreateUpload
|
|
60
|
+
* @param {object} body
|
|
61
|
+
* @param {string} [idempotencyKey] Makes retrying this request safe. See components.parameters.IdempotencyKey.
|
|
62
|
+
* @param {*} [options] Override http request option.
|
|
63
|
+
* @throws {RequiredError}
|
|
64
|
+
* @memberof MediaApiInterface
|
|
65
|
+
*/
|
|
66
|
+
mediaServiceCompleteUploadRaw(requestParameters: MediaServiceCompleteUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompleteMediaUploadResponse>>;
|
|
67
|
+
/**
|
|
68
|
+
* 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.
|
|
69
|
+
* Complete a direct media upload
|
|
70
|
+
*/
|
|
71
|
+
mediaServiceCompleteUpload(requestParameters: MediaServiceCompleteUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompleteMediaUploadResponse>;
|
|
36
72
|
/**
|
|
37
73
|
* Creates request options for mediaServiceCreate without sending the request
|
|
38
74
|
* @param {CreateMediaRequest} createMediaRequest
|
|
@@ -42,7 +78,7 @@ export interface MediaApiInterface {
|
|
|
42
78
|
*/
|
|
43
79
|
mediaServiceCreateRequestOpts(requestParameters: MediaServiceCreateRequest): Promise<runtime.RequestOpts>;
|
|
44
80
|
/**
|
|
45
|
-
*
|
|
81
|
+
* 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. Example: Uploading an image to be placed in the center of a QR Code. Requires the `media:write` scope.
|
|
46
82
|
* @summary Upload a media file
|
|
47
83
|
* @param {CreateMediaRequest} createMediaRequest
|
|
48
84
|
* @param {string} [idempotencyKey] Makes retrying this request safe. See components.parameters.IdempotencyKey.
|
|
@@ -52,10 +88,33 @@ export interface MediaApiInterface {
|
|
|
52
88
|
*/
|
|
53
89
|
mediaServiceCreateRaw(requestParameters: MediaServiceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMediaResponse>>;
|
|
54
90
|
/**
|
|
55
|
-
*
|
|
91
|
+
* 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. Example: Uploading an image to be placed in the center of a QR Code. Requires the `media:write` scope.
|
|
56
92
|
* Upload a media file
|
|
57
93
|
*/
|
|
58
94
|
mediaServiceCreate(requestParameters: MediaServiceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMediaResponse>;
|
|
95
|
+
/**
|
|
96
|
+
* Creates request options for mediaServiceCreateUpload without sending the request
|
|
97
|
+
* @param {CreateMediaUploadRequest} createMediaUploadRequest
|
|
98
|
+
* @param {string} [idempotencyKey] Makes retrying this request safe. See components.parameters.IdempotencyKey.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
* @memberof MediaApiInterface
|
|
101
|
+
*/
|
|
102
|
+
mediaServiceCreateUploadRequestOpts(requestParameters: MediaServiceCreateUploadRequest): Promise<runtime.RequestOpts>;
|
|
103
|
+
/**
|
|
104
|
+
* Reserves a media item for a file uploaded straight to storage, so large files never pass through the API. Declare the file\'s name, usage, MIME type and exact size in bytes; they are checked against what the usage accepts 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.
|
|
105
|
+
* @summary Start a direct media upload
|
|
106
|
+
* @param {CreateMediaUploadRequest} createMediaUploadRequest
|
|
107
|
+
* @param {string} [idempotencyKey] Makes retrying this request safe. See components.parameters.IdempotencyKey.
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
* @memberof MediaApiInterface
|
|
111
|
+
*/
|
|
112
|
+
mediaServiceCreateUploadRaw(requestParameters: MediaServiceCreateUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMediaUploadResponse>>;
|
|
113
|
+
/**
|
|
114
|
+
* Reserves a media item for a file uploaded straight to storage, so large files never pass through the API. Declare the file\'s name, usage, MIME type and exact size in bytes; they are checked against what the usage accepts 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.
|
|
115
|
+
* Start a direct media upload
|
|
116
|
+
*/
|
|
117
|
+
mediaServiceCreateUpload(requestParameters: MediaServiceCreateUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMediaUploadResponse>;
|
|
59
118
|
/**
|
|
60
119
|
* Creates request options for mediaServiceDelete without sending the request
|
|
61
120
|
* @param {string} id The ID of the media file to delete (UUID)
|
|
@@ -64,7 +123,7 @@ export interface MediaApiInterface {
|
|
|
64
123
|
*/
|
|
65
124
|
mediaServiceDeleteRequestOpts(requestParameters: MediaServiceDeleteRequest): Promise<runtime.RequestOpts>;
|
|
66
125
|
/**
|
|
67
|
-
* Removes a media file from the workspace. This operation cannot be undone. Requires the `media:write` scope.
|
|
126
|
+
* Removes a media file from the workspace and frees its storage. This operation cannot be undone. A FILE media item still handed out by a FILE step is refused with MEDIA_IN_USE, naming the links that use it: point those steps at another file first. Requires the `media:write` scope.
|
|
68
127
|
* @summary Delete a media file
|
|
69
128
|
* @param {string} id The ID of the media file to delete (UUID)
|
|
70
129
|
* @param {*} [options] Override http request option.
|
|
@@ -73,7 +132,7 @@ export interface MediaApiInterface {
|
|
|
73
132
|
*/
|
|
74
133
|
mediaServiceDeleteRaw(requestParameters: MediaServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
|
|
75
134
|
/**
|
|
76
|
-
* Removes a media file from the workspace. This operation cannot be undone. Requires the `media:write` scope.
|
|
135
|
+
* Removes a media file from the workspace and frees its storage. This operation cannot be undone. A FILE media item still handed out by a FILE step is refused with MEDIA_IN_USE, naming the links that use it: point those steps at another file first. Requires the `media:write` scope.
|
|
77
136
|
* Delete a media file
|
|
78
137
|
*/
|
|
79
138
|
mediaServiceDelete(requestParameters: MediaServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
|
|
@@ -102,16 +161,20 @@ export interface MediaApiInterface {
|
|
|
102
161
|
* Creates request options for mediaServiceList without sending the request
|
|
103
162
|
* @param {number} pageSize The maximum number of media files to return.
|
|
104
163
|
* @param {string} [pageToken] The token for retrieving the next page of results If not provided, the first page of results will be returned
|
|
164
|
+
* @param {string} [usage] Only media for this usage. Unset lists every usage. - USAGE_UNSPECIFIED: Not set - USAGE_CENTRAL_QRCODE_IMAGE: The logo in the center of a QR code - USAGE_BACKGROUND_COVER: A page theme\'s background cover - USAGE_BADGE: A page theme\'s badge image - USAGE_FOOTER_LOGO: A page theme\'s footer logo - USAGE_FILE: A file a FILE workflow step hands to visitors: a PDF menu or brochure, an image, a video
|
|
165
|
+
* @param {string} [kind] Only media of this kind. Unset lists every kind. - KIND_UNSPECIFIED: Not set - KIND_IMAGE: A PNG, JPEG, WebP or SVG image - KIND_DOCUMENT: A PDF document - KIND_VIDEO: An MP4 video
|
|
105
166
|
* @param {string} [cursor] Opaque cursor from the previous page\'s nextPageToken. Same as pageToken; when both are sent, pageToken wins.
|
|
106
167
|
* @throws {RequiredError}
|
|
107
168
|
* @memberof MediaApiInterface
|
|
108
169
|
*/
|
|
109
170
|
mediaServiceListRequestOpts(requestParameters: MediaServiceListRequest): Promise<runtime.RequestOpts>;
|
|
110
171
|
/**
|
|
111
|
-
* Retrieves the media files
|
|
172
|
+
* Retrieves the workspace\'s ready media files, newest first, optionally narrowed to one usage or one kind. total_count is every item matching the filters across all pages. Requires the `media:read` scope.
|
|
112
173
|
* @summary List media files
|
|
113
174
|
* @param {number} pageSize The maximum number of media files to return.
|
|
114
175
|
* @param {string} [pageToken] The token for retrieving the next page of results If not provided, the first page of results will be returned
|
|
176
|
+
* @param {string} [usage] Only media for this usage. Unset lists every usage. - USAGE_UNSPECIFIED: Not set - USAGE_CENTRAL_QRCODE_IMAGE: The logo in the center of a QR code - USAGE_BACKGROUND_COVER: A page theme\'s background cover - USAGE_BADGE: A page theme\'s badge image - USAGE_FOOTER_LOGO: A page theme\'s footer logo - USAGE_FILE: A file a FILE workflow step hands to visitors: a PDF menu or brochure, an image, a video
|
|
177
|
+
* @param {string} [kind] Only media of this kind. Unset lists every kind. - KIND_UNSPECIFIED: Not set - KIND_IMAGE: A PNG, JPEG, WebP or SVG image - KIND_DOCUMENT: A PDF document - KIND_VIDEO: An MP4 video
|
|
115
178
|
* @param {string} [cursor] Opaque cursor from the previous page\'s nextPageToken. Same as pageToken; when both are sent, pageToken wins.
|
|
116
179
|
* @param {*} [options] Override http request option.
|
|
117
180
|
* @throws {RequiredError}
|
|
@@ -119,7 +182,7 @@ export interface MediaApiInterface {
|
|
|
119
182
|
*/
|
|
120
183
|
mediaServiceListRaw(requestParameters: MediaServiceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListMediaResponse>>;
|
|
121
184
|
/**
|
|
122
|
-
* Retrieves the media files
|
|
185
|
+
* Retrieves the workspace\'s ready media files, newest first, optionally narrowed to one usage or one kind. total_count is every item matching the filters across all pages. Requires the `media:read` scope.
|
|
123
186
|
* List media files
|
|
124
187
|
*/
|
|
125
188
|
mediaServiceList(requestParameters: MediaServiceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListMediaResponse>;
|
|
@@ -128,31 +191,59 @@ export interface MediaApiInterface {
|
|
|
128
191
|
*
|
|
129
192
|
*/
|
|
130
193
|
export declare class MediaApi extends runtime.BaseAPI implements MediaApiInterface {
|
|
194
|
+
/**
|
|
195
|
+
* Creates request options for mediaServiceCompleteUpload without sending the request
|
|
196
|
+
*/
|
|
197
|
+
mediaServiceCompleteUploadRequestOpts(requestParameters: MediaServiceCompleteUploadRequest): Promise<runtime.RequestOpts>;
|
|
198
|
+
/**
|
|
199
|
+
* 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.
|
|
200
|
+
* Complete a direct media upload
|
|
201
|
+
*/
|
|
202
|
+
mediaServiceCompleteUploadRaw(requestParameters: MediaServiceCompleteUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompleteMediaUploadResponse>>;
|
|
203
|
+
/**
|
|
204
|
+
* 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.
|
|
205
|
+
* Complete a direct media upload
|
|
206
|
+
*/
|
|
207
|
+
mediaServiceCompleteUpload(requestParameters: MediaServiceCompleteUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompleteMediaUploadResponse>;
|
|
131
208
|
/**
|
|
132
209
|
* Creates request options for mediaServiceCreate without sending the request
|
|
133
210
|
*/
|
|
134
211
|
mediaServiceCreateRequestOpts(requestParameters: MediaServiceCreateRequest): Promise<runtime.RequestOpts>;
|
|
135
212
|
/**
|
|
136
|
-
*
|
|
213
|
+
* 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. Example: Uploading an image to be placed in the center of a QR Code. Requires the `media:write` scope.
|
|
137
214
|
* Upload a media file
|
|
138
215
|
*/
|
|
139
216
|
mediaServiceCreateRaw(requestParameters: MediaServiceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMediaResponse>>;
|
|
140
217
|
/**
|
|
141
|
-
*
|
|
218
|
+
* 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. Example: Uploading an image to be placed in the center of a QR Code. Requires the `media:write` scope.
|
|
142
219
|
* Upload a media file
|
|
143
220
|
*/
|
|
144
221
|
mediaServiceCreate(requestParameters: MediaServiceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMediaResponse>;
|
|
222
|
+
/**
|
|
223
|
+
* Creates request options for mediaServiceCreateUpload without sending the request
|
|
224
|
+
*/
|
|
225
|
+
mediaServiceCreateUploadRequestOpts(requestParameters: MediaServiceCreateUploadRequest): Promise<runtime.RequestOpts>;
|
|
226
|
+
/**
|
|
227
|
+
* Reserves a media item for a file uploaded straight to storage, so large files never pass through the API. Declare the file\'s name, usage, MIME type and exact size in bytes; they are checked against what the usage accepts 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.
|
|
228
|
+
* Start a direct media upload
|
|
229
|
+
*/
|
|
230
|
+
mediaServiceCreateUploadRaw(requestParameters: MediaServiceCreateUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMediaUploadResponse>>;
|
|
231
|
+
/**
|
|
232
|
+
* Reserves a media item for a file uploaded straight to storage, so large files never pass through the API. Declare the file\'s name, usage, MIME type and exact size in bytes; they are checked against what the usage accepts 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.
|
|
233
|
+
* Start a direct media upload
|
|
234
|
+
*/
|
|
235
|
+
mediaServiceCreateUpload(requestParameters: MediaServiceCreateUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMediaUploadResponse>;
|
|
145
236
|
/**
|
|
146
237
|
* Creates request options for mediaServiceDelete without sending the request
|
|
147
238
|
*/
|
|
148
239
|
mediaServiceDeleteRequestOpts(requestParameters: MediaServiceDeleteRequest): Promise<runtime.RequestOpts>;
|
|
149
240
|
/**
|
|
150
|
-
* Removes a media file from the workspace. This operation cannot be undone. Requires the `media:write` scope.
|
|
241
|
+
* Removes a media file from the workspace and frees its storage. This operation cannot be undone. A FILE media item still handed out by a FILE step is refused with MEDIA_IN_USE, naming the links that use it: point those steps at another file first. Requires the `media:write` scope.
|
|
151
242
|
* Delete a media file
|
|
152
243
|
*/
|
|
153
244
|
mediaServiceDeleteRaw(requestParameters: MediaServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
|
|
154
245
|
/**
|
|
155
|
-
* Removes a media file from the workspace. This operation cannot be undone. Requires the `media:write` scope.
|
|
246
|
+
* Removes a media file from the workspace and frees its storage. This operation cannot be undone. A FILE media item still handed out by a FILE step is refused with MEDIA_IN_USE, naming the links that use it: point those steps at another file first. Requires the `media:write` scope.
|
|
156
247
|
* Delete a media file
|
|
157
248
|
*/
|
|
158
249
|
mediaServiceDelete(requestParameters: MediaServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
|
|
@@ -175,12 +266,12 @@ export declare class MediaApi extends runtime.BaseAPI implements MediaApiInterfa
|
|
|
175
266
|
*/
|
|
176
267
|
mediaServiceListRequestOpts(requestParameters: MediaServiceListRequest): Promise<runtime.RequestOpts>;
|
|
177
268
|
/**
|
|
178
|
-
* Retrieves the media files
|
|
269
|
+
* Retrieves the workspace\'s ready media files, newest first, optionally narrowed to one usage or one kind. total_count is every item matching the filters across all pages. Requires the `media:read` scope.
|
|
179
270
|
* List media files
|
|
180
271
|
*/
|
|
181
272
|
mediaServiceListRaw(requestParameters: MediaServiceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListMediaResponse>>;
|
|
182
273
|
/**
|
|
183
|
-
* Retrieves the media files
|
|
274
|
+
* Retrieves the workspace\'s ready media files, newest first, optionally narrowed to one usage or one kind. total_count is every item matching the filters across all pages. Requires the `media:read` scope.
|
|
184
275
|
* List media files
|
|
185
276
|
*/
|
|
186
277
|
mediaServiceList(requestParameters: MediaServiceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListMediaResponse>;
|
package/dist/apis/MediaApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Linkbreakers API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.177.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -53,6 +53,60 @@ const index_1 = require("../models/index");
|
|
|
53
53
|
*
|
|
54
54
|
*/
|
|
55
55
|
class MediaApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Creates request options for mediaServiceCompleteUpload without sending the request
|
|
58
|
+
*/
|
|
59
|
+
async mediaServiceCompleteUploadRequestOpts(requestParameters) {
|
|
60
|
+
if (requestParameters['id'] == null) {
|
|
61
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling mediaServiceCompleteUpload().');
|
|
62
|
+
}
|
|
63
|
+
if (requestParameters['body'] == null) {
|
|
64
|
+
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling mediaServiceCompleteUpload().');
|
|
65
|
+
}
|
|
66
|
+
const queryParameters = {};
|
|
67
|
+
const headerParameters = {};
|
|
68
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
69
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
70
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
71
|
+
}
|
|
72
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
73
|
+
// oauth required
|
|
74
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", ["media:write"]);
|
|
75
|
+
}
|
|
76
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
77
|
+
const token = this.configuration.accessToken;
|
|
78
|
+
const tokenString = await token("bearerAuth", ["media:write"]);
|
|
79
|
+
if (tokenString) {
|
|
80
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
let urlPath = `/v1/media/{id}:complete`;
|
|
84
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
85
|
+
return {
|
|
86
|
+
path: urlPath,
|
|
87
|
+
method: 'POST',
|
|
88
|
+
headers: headerParameters,
|
|
89
|
+
query: queryParameters,
|
|
90
|
+
body: requestParameters['body'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* 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.
|
|
95
|
+
* Complete a direct media upload
|
|
96
|
+
*/
|
|
97
|
+
async mediaServiceCompleteUploadRaw(requestParameters, initOverrides) {
|
|
98
|
+
const requestOptions = await this.mediaServiceCompleteUploadRequestOpts(requestParameters);
|
|
99
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
100
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CompleteMediaUploadResponseFromJSON)(jsonValue));
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* 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.
|
|
104
|
+
* Complete a direct media upload
|
|
105
|
+
*/
|
|
106
|
+
async mediaServiceCompleteUpload(requestParameters, initOverrides) {
|
|
107
|
+
const response = await this.mediaServiceCompleteUploadRaw(requestParameters, initOverrides);
|
|
108
|
+
return await response.value();
|
|
109
|
+
}
|
|
56
110
|
/**
|
|
57
111
|
* Creates request options for mediaServiceCreate without sending the request
|
|
58
112
|
*/
|
|
@@ -87,7 +141,7 @@ class MediaApi extends runtime.BaseAPI {
|
|
|
87
141
|
};
|
|
88
142
|
}
|
|
89
143
|
/**
|
|
90
|
-
*
|
|
144
|
+
* 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. Example: Uploading an image to be placed in the center of a QR Code. Requires the `media:write` scope.
|
|
91
145
|
* Upload a media file
|
|
92
146
|
*/
|
|
93
147
|
async mediaServiceCreateRaw(requestParameters, initOverrides) {
|
|
@@ -96,13 +150,63 @@ class MediaApi extends runtime.BaseAPI {
|
|
|
96
150
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CreateMediaResponseFromJSON)(jsonValue));
|
|
97
151
|
}
|
|
98
152
|
/**
|
|
99
|
-
*
|
|
153
|
+
* 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. Example: Uploading an image to be placed in the center of a QR Code. Requires the `media:write` scope.
|
|
100
154
|
* Upload a media file
|
|
101
155
|
*/
|
|
102
156
|
async mediaServiceCreate(requestParameters, initOverrides) {
|
|
103
157
|
const response = await this.mediaServiceCreateRaw(requestParameters, initOverrides);
|
|
104
158
|
return await response.value();
|
|
105
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* Creates request options for mediaServiceCreateUpload without sending the request
|
|
162
|
+
*/
|
|
163
|
+
async mediaServiceCreateUploadRequestOpts(requestParameters) {
|
|
164
|
+
if (requestParameters['createMediaUploadRequest'] == null) {
|
|
165
|
+
throw new runtime.RequiredError('createMediaUploadRequest', 'Required parameter "createMediaUploadRequest" was null or undefined when calling mediaServiceCreateUpload().');
|
|
166
|
+
}
|
|
167
|
+
const queryParameters = {};
|
|
168
|
+
const headerParameters = {};
|
|
169
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
170
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
171
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
172
|
+
}
|
|
173
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
174
|
+
// oauth required
|
|
175
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", ["media:write"]);
|
|
176
|
+
}
|
|
177
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
178
|
+
const token = this.configuration.accessToken;
|
|
179
|
+
const tokenString = await token("bearerAuth", ["media:write"]);
|
|
180
|
+
if (tokenString) {
|
|
181
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
let urlPath = `/v1/media/uploads`;
|
|
185
|
+
return {
|
|
186
|
+
path: urlPath,
|
|
187
|
+
method: 'POST',
|
|
188
|
+
headers: headerParameters,
|
|
189
|
+
query: queryParameters,
|
|
190
|
+
body: (0, index_1.CreateMediaUploadRequestToJSON)(requestParameters['createMediaUploadRequest']),
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Reserves a media item for a file uploaded straight to storage, so large files never pass through the API. Declare the file\'s name, usage, MIME type and exact size in bytes; they are checked against what the usage accepts 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.
|
|
195
|
+
* Start a direct media upload
|
|
196
|
+
*/
|
|
197
|
+
async mediaServiceCreateUploadRaw(requestParameters, initOverrides) {
|
|
198
|
+
const requestOptions = await this.mediaServiceCreateUploadRequestOpts(requestParameters);
|
|
199
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
200
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CreateMediaUploadResponseFromJSON)(jsonValue));
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Reserves a media item for a file uploaded straight to storage, so large files never pass through the API. Declare the file\'s name, usage, MIME type and exact size in bytes; they are checked against what the usage accepts 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.
|
|
204
|
+
* Start a direct media upload
|
|
205
|
+
*/
|
|
206
|
+
async mediaServiceCreateUpload(requestParameters, initOverrides) {
|
|
207
|
+
const response = await this.mediaServiceCreateUploadRaw(requestParameters, initOverrides);
|
|
208
|
+
return await response.value();
|
|
209
|
+
}
|
|
106
210
|
/**
|
|
107
211
|
* Creates request options for mediaServiceDelete without sending the request
|
|
108
212
|
*/
|
|
@@ -133,7 +237,7 @@ class MediaApi extends runtime.BaseAPI {
|
|
|
133
237
|
};
|
|
134
238
|
}
|
|
135
239
|
/**
|
|
136
|
-
* Removes a media file from the workspace. This operation cannot be undone. Requires the `media:write` scope.
|
|
240
|
+
* Removes a media file from the workspace and frees its storage. This operation cannot be undone. A FILE media item still handed out by a FILE step is refused with MEDIA_IN_USE, naming the links that use it: point those steps at another file first. Requires the `media:write` scope.
|
|
137
241
|
* Delete a media file
|
|
138
242
|
*/
|
|
139
243
|
async mediaServiceDeleteRaw(requestParameters, initOverrides) {
|
|
@@ -142,7 +246,7 @@ class MediaApi extends runtime.BaseAPI {
|
|
|
142
246
|
return new runtime.JSONApiResponse(response);
|
|
143
247
|
}
|
|
144
248
|
/**
|
|
145
|
-
* Removes a media file from the workspace. This operation cannot be undone. Requires the `media:write` scope.
|
|
249
|
+
* Removes a media file from the workspace and frees its storage. This operation cannot be undone. A FILE media item still handed out by a FILE step is refused with MEDIA_IN_USE, naming the links that use it: point those steps at another file first. Requires the `media:write` scope.
|
|
146
250
|
* Delete a media file
|
|
147
251
|
*/
|
|
148
252
|
async mediaServiceDelete(requestParameters, initOverrides) {
|
|
@@ -209,6 +313,12 @@ class MediaApi extends runtime.BaseAPI {
|
|
|
209
313
|
if (requestParameters['pageToken'] != null) {
|
|
210
314
|
queryParameters['pageToken'] = requestParameters['pageToken'];
|
|
211
315
|
}
|
|
316
|
+
if (requestParameters['usage'] != null) {
|
|
317
|
+
queryParameters['usage'] = requestParameters['usage'];
|
|
318
|
+
}
|
|
319
|
+
if (requestParameters['kind'] != null) {
|
|
320
|
+
queryParameters['kind'] = requestParameters['kind'];
|
|
321
|
+
}
|
|
212
322
|
if (requestParameters['cursor'] != null) {
|
|
213
323
|
queryParameters['cursor'] = requestParameters['cursor'];
|
|
214
324
|
}
|
|
@@ -233,7 +343,7 @@ class MediaApi extends runtime.BaseAPI {
|
|
|
233
343
|
};
|
|
234
344
|
}
|
|
235
345
|
/**
|
|
236
|
-
* Retrieves the media files
|
|
346
|
+
* Retrieves the workspace\'s ready media files, newest first, optionally narrowed to one usage or one kind. total_count is every item matching the filters across all pages. Requires the `media:read` scope.
|
|
237
347
|
* List media files
|
|
238
348
|
*/
|
|
239
349
|
async mediaServiceListRaw(requestParameters, initOverrides) {
|
|
@@ -242,7 +352,7 @@ class MediaApi extends runtime.BaseAPI {
|
|
|
242
352
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListMediaResponseFromJSON)(jsonValue));
|
|
243
353
|
}
|
|
244
354
|
/**
|
|
245
|
-
* Retrieves the media files
|
|
355
|
+
* Retrieves the workspace\'s ready media files, newest first, optionally narrowed to one usage or one kind. total_count is every item matching the filters across all pages. Requires the `media:read` scope.
|
|
246
356
|
* List media files
|
|
247
357
|
*/
|
|
248
358
|
async mediaServiceList(requestParameters, initOverrides) {
|
|
@@ -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.177.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/MembersApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Linkbreakers API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.177.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.177.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -281,7 +281,7 @@ export interface PageThemeTemplatesApiInterface {
|
|
|
281
281
|
*/
|
|
282
282
|
pageThemeTemplatesServiceResolvePageThemeTemplateImagesRequestOpts(requestParameters: PageThemeTemplatesServiceResolvePageThemeTemplateImagesRequest): Promise<runtime.RequestOpts>;
|
|
283
283
|
/**
|
|
284
|
-
* Return freshly signed thumbnail, cover and
|
|
284
|
+
* Return freshly signed thumbnail, cover, badge and footer logo URLs for the given templates. The URLs expire, so callers fetch them when they need to render rather than storing them. Requires the `page_themes:read` scope.
|
|
285
285
|
* @summary Resolve page theme template images
|
|
286
286
|
* @param {ResolvePageThemeTemplateImagesRequest} resolvePageThemeTemplateImagesRequest
|
|
287
287
|
* @param {string} [idempotencyKey] Makes retrying this request safe. See components.parameters.IdempotencyKey.
|
|
@@ -291,7 +291,7 @@ export interface PageThemeTemplatesApiInterface {
|
|
|
291
291
|
*/
|
|
292
292
|
pageThemeTemplatesServiceResolvePageThemeTemplateImagesRaw(requestParameters: PageThemeTemplatesServiceResolvePageThemeTemplateImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ResolvePageThemeTemplateImagesResponse>>;
|
|
293
293
|
/**
|
|
294
|
-
* Return freshly signed thumbnail, cover and
|
|
294
|
+
* Return freshly signed thumbnail, cover, badge and footer logo URLs for the given templates. The URLs expire, so callers fetch them when they need to render rather than storing them. Requires the `page_themes:read` scope.
|
|
295
295
|
* Resolve page theme template images
|
|
296
296
|
*/
|
|
297
297
|
pageThemeTemplatesServiceResolvePageThemeTemplateImages(requestParameters: PageThemeTemplatesServiceResolvePageThemeTemplateImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResolvePageThemeTemplateImagesResponse>;
|
|
@@ -467,12 +467,12 @@ export declare class PageThemeTemplatesApi extends runtime.BaseAPI implements Pa
|
|
|
467
467
|
*/
|
|
468
468
|
pageThemeTemplatesServiceResolvePageThemeTemplateImagesRequestOpts(requestParameters: PageThemeTemplatesServiceResolvePageThemeTemplateImagesRequest): Promise<runtime.RequestOpts>;
|
|
469
469
|
/**
|
|
470
|
-
* Return freshly signed thumbnail, cover and
|
|
470
|
+
* Return freshly signed thumbnail, cover, badge and footer logo URLs for the given templates. The URLs expire, so callers fetch them when they need to render rather than storing them. Requires the `page_themes:read` scope.
|
|
471
471
|
* Resolve page theme template images
|
|
472
472
|
*/
|
|
473
473
|
pageThemeTemplatesServiceResolvePageThemeTemplateImagesRaw(requestParameters: PageThemeTemplatesServiceResolvePageThemeTemplateImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ResolvePageThemeTemplateImagesResponse>>;
|
|
474
474
|
/**
|
|
475
|
-
* Return freshly signed thumbnail, cover and
|
|
475
|
+
* Return freshly signed thumbnail, cover, badge and footer logo URLs for the given templates. The URLs expire, so callers fetch them when they need to render rather than storing them. Requires the `page_themes:read` scope.
|
|
476
476
|
* Resolve page theme template images
|
|
477
477
|
*/
|
|
478
478
|
pageThemeTemplatesServiceResolvePageThemeTemplateImages(requestParameters: PageThemeTemplatesServiceResolvePageThemeTemplateImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResolvePageThemeTemplateImagesResponse>;
|