linkbreakers 1.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +87 -0
- package/dist/apis/CustomDomainsApi.d.ts +254 -0
- package/dist/apis/CustomDomainsApi.js +309 -0
- package/dist/apis/EventsApi.d.ts +161 -0
- package/dist/apis/EventsApi.js +205 -0
- package/dist/apis/IntegrationsServiceApi.d.ts +60 -0
- package/dist/apis/IntegrationsServiceApi.js +96 -0
- package/dist/apis/LinkSettingsApi.d.ts +105 -0
- package/dist/apis/LinkSettingsApi.js +146 -0
- package/dist/apis/LinksApi.d.ts +431 -0
- package/dist/apis/LinksApi.js +510 -0
- package/dist/apis/MediaApi.d.ts +181 -0
- package/dist/apis/MediaApi.js +231 -0
- package/dist/apis/MembersApi.d.ts +408 -0
- package/dist/apis/MembersApi.js +491 -0
- package/dist/apis/PageThemesApi.d.ts +138 -0
- package/dist/apis/PageThemesApi.js +184 -0
- package/dist/apis/QRCodeDesignsApi.d.ts +181 -0
- package/dist/apis/QRCodeDesignsApi.js +231 -0
- package/dist/apis/QRCodeTemplatesApi.d.ts +401 -0
- package/dist/apis/QRCodeTemplatesApi.js +472 -0
- package/dist/apis/TagsApi.d.ts +108 -0
- package/dist/apis/TagsApi.js +151 -0
- package/dist/apis/TimeSeriesApi.d.ts +61 -0
- package/dist/apis/TimeSeriesApi.js +98 -0
- package/dist/apis/VisitorsApi.d.ts +281 -0
- package/dist/apis/VisitorsApi.js +339 -0
- package/dist/apis/WebhooksApi.d.ts +219 -0
- package/dist/apis/WebhooksApi.js +272 -0
- package/dist/apis/WorkflowStepsApi.d.ts +325 -0
- package/dist/apis/WorkflowStepsApi.js +396 -0
- package/dist/apis/WorkspaceMetricsApi.d.ts +136 -0
- package/dist/apis/WorkspaceMetricsApi.js +180 -0
- package/dist/apis/WorkspaceTokensApi.d.ts +173 -0
- package/dist/apis/WorkspaceTokensApi.js +222 -0
- package/dist/apis/WorkspacesApi.d.ts +320 -0
- package/dist/apis/WorkspacesApi.js +389 -0
- package/dist/apis/index.d.ts +18 -0
- package/dist/apis/index.js +36 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/Action.d.ts +28 -0
- package/dist/models/Action.js +54 -0
- package/dist/models/AddWorkflowStepRelationshipResponse.d.ts +32 -0
- package/dist/models/AddWorkflowStepRelationshipResponse.js +48 -0
- package/dist/models/ApiTag.d.ts +51 -0
- package/dist/models/ApiTag.js +52 -0
- package/dist/models/BackgroundOptions.d.ts +33 -0
- package/dist/models/BackgroundOptions.js +49 -0
- package/dist/models/CanvasPosition.d.ts +38 -0
- package/dist/models/CanvasPosition.js +50 -0
- package/dist/models/CheckCustomDomainResponse.d.ts +33 -0
- package/dist/models/CheckCustomDomainResponse.js +49 -0
- package/dist/models/ClientRedirectPayload.d.ts +38 -0
- package/dist/models/ClientRedirectPayload.js +50 -0
- package/dist/models/ContactCardTraceCard.d.ts +104 -0
- package/dist/models/ContactCardTraceCard.js +72 -0
- package/dist/models/ContactCardTraceData.d.ts +33 -0
- package/dist/models/ContactCardTraceData.js +49 -0
- package/dist/models/ContainerConfig.d.ts +85 -0
- package/dist/models/ContainerConfig.js +80 -0
- package/dist/models/CornersDotOptions.d.ts +39 -0
- package/dist/models/CornersDotOptions.js +51 -0
- package/dist/models/CornersSquareOptions.d.ts +39 -0
- package/dist/models/CornersSquareOptions.js +51 -0
- package/dist/models/CountryConditionOutcome.d.ts +38 -0
- package/dist/models/CountryConditionOutcome.js +50 -0
- package/dist/models/CountryConditionPayload.d.ts +39 -0
- package/dist/models/CountryConditionPayload.js +51 -0
- package/dist/models/CountryConditionTraceData.d.ts +39 -0
- package/dist/models/CountryConditionTraceData.js +51 -0
- package/dist/models/CountryConditionTraceOption.d.ts +38 -0
- package/dist/models/CountryConditionTraceOption.js +50 -0
- package/dist/models/CreateBulkLinksRequest.d.ts +34 -0
- package/dist/models/CreateBulkLinksRequest.js +51 -0
- package/dist/models/CreateBulkLinksResponse.d.ts +33 -0
- package/dist/models/CreateBulkLinksResponse.js +49 -0
- package/dist/models/CreateContactLinkRequest.d.ts +108 -0
- package/dist/models/CreateContactLinkRequest.js +73 -0
- package/dist/models/CreateContactLinkResponse.d.ts +33 -0
- package/dist/models/CreateContactLinkResponse.js +49 -0
- package/dist/models/CreateCustomDomainRequest.d.ts +32 -0
- package/dist/models/CreateCustomDomainRequest.js +48 -0
- package/dist/models/CreateCustomDomainResponse.d.ts +33 -0
- package/dist/models/CreateCustomDomainResponse.js +49 -0
- package/dist/models/CreateEventTraceResponse.d.ts +33 -0
- package/dist/models/CreateEventTraceResponse.js +49 -0
- package/dist/models/CreateLinkRequest.d.ts +107 -0
- package/dist/models/CreateLinkRequest.js +72 -0
- package/dist/models/CreateLinkResponse.d.ts +33 -0
- package/dist/models/CreateLinkResponse.js +49 -0
- package/dist/models/CreateMediaRequest.d.ts +54 -0
- package/dist/models/CreateMediaRequest.js +56 -0
- package/dist/models/CreateMediaResponse.d.ts +33 -0
- package/dist/models/CreateMediaResponse.js +49 -0
- package/dist/models/CreateQrcodeTemplateRequest.d.ts +63 -0
- package/dist/models/CreateQrcodeTemplateRequest.js +58 -0
- package/dist/models/CreateQrcodeTemplateResponse.d.ts +33 -0
- package/dist/models/CreateQrcodeTemplateResponse.js +49 -0
- package/dist/models/CreateWebhookRequest.d.ts +62 -0
- package/dist/models/CreateWebhookRequest.js +62 -0
- package/dist/models/CreateWebhookResponse.d.ts +33 -0
- package/dist/models/CreateWebhookResponse.js +49 -0
- package/dist/models/CreateWorkflowStepResponse.d.ts +33 -0
- package/dist/models/CreateWorkflowStepResponse.js +49 -0
- package/dist/models/CreateWorkspaceTokenRequest.d.ts +32 -0
- package/dist/models/CreateWorkspaceTokenRequest.js +48 -0
- package/dist/models/CreateWorkspaceTokenResponse.d.ts +40 -0
- package/dist/models/CreateWorkspaceTokenResponse.js +51 -0
- package/dist/models/CustomDomain.d.ts +94 -0
- package/dist/models/CustomDomain.js +70 -0
- package/dist/models/CustomDomainStatus.d.ts +36 -0
- package/dist/models/CustomDomainStatus.js +62 -0
- package/dist/models/DataCollection.d.ts +32 -0
- package/dist/models/DataCollection.js +58 -0
- package/dist/models/DayOfMonthConditionPayload.d.ts +39 -0
- package/dist/models/DayOfMonthConditionPayload.js +51 -0
- package/dist/models/DayOfMonthConditionTraceData.d.ts +39 -0
- package/dist/models/DayOfMonthConditionTraceData.js +51 -0
- package/dist/models/DayOfMonthConditionTraceOption.d.ts +50 -0
- package/dist/models/DayOfMonthConditionTraceOption.js +54 -0
- package/dist/models/DayOfMonthOption.d.ts +50 -0
- package/dist/models/DayOfMonthOption.js +54 -0
- package/dist/models/DayOfWeekConditionPayload.d.ts +39 -0
- package/dist/models/DayOfWeekConditionPayload.js +51 -0
- package/dist/models/DayOfWeekConditionTraceData.d.ts +39 -0
- package/dist/models/DayOfWeekConditionTraceData.js +51 -0
- package/dist/models/DayOfWeekConditionTraceOption.d.ts +50 -0
- package/dist/models/DayOfWeekConditionTraceOption.js +54 -0
- package/dist/models/DayOfWeekOption.d.ts +50 -0
- package/dist/models/DayOfWeekOption.js +54 -0
- package/dist/models/DeleteAttributeResponse.d.ts +32 -0
- package/dist/models/DeleteAttributeResponse.js +48 -0
- package/dist/models/DeleteVisitorResponse.d.ts +32 -0
- package/dist/models/DeleteVisitorResponse.js +48 -0
- package/dist/models/Device.d.ts +232 -0
- package/dist/models/Device.js +121 -0
- package/dist/models/DeviceInput.d.ts +134 -0
- package/dist/models/DeviceInput.js +82 -0
- package/dist/models/DeviceType.d.ts +36 -0
- package/dist/models/DeviceType.js +62 -0
- package/dist/models/DotsOptions.d.ts +39 -0
- package/dist/models/DotsOptions.js +51 -0
- package/dist/models/EntryAccessTraceData.d.ts +56 -0
- package/dist/models/EntryAccessTraceData.js +56 -0
- package/dist/models/ErrorResponse.d.ts +50 -0
- package/dist/models/ErrorResponse.js +62 -0
- package/dist/models/Event.d.ts +170 -0
- package/dist/models/Event.js +101 -0
- package/dist/models/EventAction.d.ts +50 -0
- package/dist/models/EventAction.js +76 -0
- package/dist/models/EventTrace.d.ts +94 -0
- package/dist/models/EventTrace.js +69 -0
- package/dist/models/EventTraceData.d.ts +110 -0
- package/dist/models/EventTraceData.js +82 -0
- package/dist/models/EventsMetric.d.ts +105 -0
- package/dist/models/EventsMetric.js +79 -0
- package/dist/models/EventsServiceCreateEventTraceBody.d.ts +45 -0
- package/dist/models/EventsServiceCreateEventTraceBody.js +53 -0
- package/dist/models/EventsServiceUpdateDeviceBody.d.ts +33 -0
- package/dist/models/EventsServiceUpdateDeviceBody.js +49 -0
- package/dist/models/EventsTimeSeries.d.ts +45 -0
- package/dist/models/EventsTimeSeries.js +53 -0
- package/dist/models/EventsTimeSeriesData.d.ts +38 -0
- package/dist/models/EventsTimeSeriesData.js +50 -0
- package/dist/models/FontConfig.d.ts +71 -0
- package/dist/models/FontConfig.js +71 -0
- package/dist/models/FormField.d.ts +94 -0
- package/dist/models/FormField.js +70 -0
- package/dist/models/FormFieldOption.d.ts +38 -0
- package/dist/models/FormFieldOption.js +50 -0
- package/dist/models/FormFieldType.d.ts +34 -0
- package/dist/models/FormFieldType.js +60 -0
- package/dist/models/FormPayload.d.ts +69 -0
- package/dist/models/FormPayload.js +61 -0
- package/dist/models/FormTraceData.d.ts +75 -0
- package/dist/models/FormTraceData.js +63 -0
- package/dist/models/FormTraceDataField.d.ts +56 -0
- package/dist/models/FormTraceDataField.js +56 -0
- package/dist/models/GetCustomDomainResponse.d.ts +33 -0
- package/dist/models/GetCustomDomainResponse.js +49 -0
- package/dist/models/GetEventsTimeSeriesRequest.d.ts +50 -0
- package/dist/models/GetEventsTimeSeriesRequest.js +54 -0
- package/dist/models/GetEventsTimeSeriesResponse.d.ts +33 -0
- package/dist/models/GetEventsTimeSeriesResponse.js +49 -0
- package/dist/models/GetLeadScoreExplanationResponse.d.ts +51 -0
- package/dist/models/GetLeadScoreExplanationResponse.js +55 -0
- package/dist/models/GetLinkResponse.d.ts +33 -0
- package/dist/models/GetLinkResponse.js +49 -0
- package/dist/models/GetLinkSettingResponse.d.ts +33 -0
- package/dist/models/GetLinkSettingResponse.js +49 -0
- package/dist/models/GetMediaResponse.d.ts +33 -0
- package/dist/models/GetMediaResponse.js +49 -0
- package/dist/models/GetPageThemeResponse.d.ts +33 -0
- package/dist/models/GetPageThemeResponse.js +49 -0
- package/dist/models/GetQrcodeDesignResponse.d.ts +33 -0
- package/dist/models/GetQrcodeDesignResponse.js +49 -0
- package/dist/models/GetWebhookResponse.d.ts +33 -0
- package/dist/models/GetWebhookResponse.js +49 -0
- package/dist/models/GetWorkflowStepResponse.d.ts +33 -0
- package/dist/models/GetWorkflowStepResponse.js +49 -0
- package/dist/models/GetWorkspaceTokenResponse.d.ts +33 -0
- package/dist/models/GetWorkspaceTokenResponse.js +49 -0
- package/dist/models/GooglerpcStatus.d.ts +45 -0
- package/dist/models/GooglerpcStatus.js +53 -0
- package/dist/models/IdentifyRequest.d.ts +45 -0
- package/dist/models/IdentifyRequest.js +53 -0
- package/dist/models/IdentifyResponse.d.ts +39 -0
- package/dist/models/IdentifyResponse.js +51 -0
- package/dist/models/ImportQrcodeTemplateRequest.d.ts +32 -0
- package/dist/models/ImportQrcodeTemplateRequest.js +48 -0
- package/dist/models/ImportQrcodeTemplateResponse.d.ts +33 -0
- package/dist/models/ImportQrcodeTemplateResponse.js +49 -0
- package/dist/models/InviteMemberRequest.d.ts +44 -0
- package/dist/models/InviteMemberRequest.js +52 -0
- package/dist/models/LeadScore.d.ts +111 -0
- package/dist/models/LeadScore.js +74 -0
- package/dist/models/LeadScoreBreakdown.d.ts +56 -0
- package/dist/models/LeadScoreBreakdown.js +56 -0
- package/dist/models/Link.d.ts +182 -0
- package/dist/models/Link.js +88 -0
- package/dist/models/LinkSetting.d.ts +51 -0
- package/dist/models/LinkSetting.js +55 -0
- package/dist/models/LinkSortField.d.ts +34 -0
- package/dist/models/LinkSortField.js +60 -0
- package/dist/models/LinksServiceUpdateBody.d.ts +84 -0
- package/dist/models/LinksServiceUpdateBody.js +64 -0
- package/dist/models/ListCustomDomainsResponse.d.ts +33 -0
- package/dist/models/ListCustomDomainsResponse.js +49 -0
- package/dist/models/ListEventTracesResponse.d.ts +33 -0
- package/dist/models/ListEventTracesResponse.js +49 -0
- package/dist/models/ListEventsCsvResponse.d.ts +38 -0
- package/dist/models/ListEventsCsvResponse.js +50 -0
- package/dist/models/ListEventsJsonResponse.d.ts +51 -0
- package/dist/models/ListEventsJsonResponse.js +55 -0
- package/dist/models/ListEventsResponse.d.ts +40 -0
- package/dist/models/ListEventsResponse.js +52 -0
- package/dist/models/ListLinksResponse.d.ts +45 -0
- package/dist/models/ListLinksResponse.js +53 -0
- package/dist/models/ListMediaResponse.d.ts +39 -0
- package/dist/models/ListMediaResponse.js +51 -0
- package/dist/models/ListPageThemesResponse.d.ts +33 -0
- package/dist/models/ListPageThemesResponse.js +49 -0
- package/dist/models/ListQrcodeTemplatesResponse.d.ts +45 -0
- package/dist/models/ListQrcodeTemplatesResponse.js +53 -0
- package/dist/models/ListResponse.d.ts +33 -0
- package/dist/models/ListResponse.js +49 -0
- package/dist/models/ListTagsResponse.d.ts +39 -0
- package/dist/models/ListTagsResponse.js +51 -0
- package/dist/models/ListVisitorsCsvResponse.d.ts +38 -0
- package/dist/models/ListVisitorsCsvResponse.js +50 -0
- package/dist/models/ListVisitorsJsonResponse.d.ts +51 -0
- package/dist/models/ListVisitorsJsonResponse.js +55 -0
- package/dist/models/ListVisitorsResponse.d.ts +40 -0
- package/dist/models/ListVisitorsResponse.js +52 -0
- package/dist/models/ListWebhooksResponse.d.ts +33 -0
- package/dist/models/ListWebhooksResponse.js +49 -0
- package/dist/models/ListWorkflowStepsResponse.d.ts +39 -0
- package/dist/models/ListWorkflowStepsResponse.js +51 -0
- package/dist/models/ListWorkspaceTokensResponse.d.ts +33 -0
- package/dist/models/ListWorkspaceTokensResponse.js +49 -0
- package/dist/models/Media.d.ts +96 -0
- package/dist/models/Media.js +65 -0
- package/dist/models/MediaSelection.d.ts +38 -0
- package/dist/models/MediaSelection.js +50 -0
- package/dist/models/MediaType.d.ts +30 -0
- package/dist/models/MediaType.js +56 -0
- package/dist/models/MediaVisibility.d.ts +29 -0
- package/dist/models/MediaVisibility.js +55 -0
- package/dist/models/Member.d.ts +124 -0
- package/dist/models/Member.js +79 -0
- package/dist/models/MembersServiceUpdateBody.d.ts +57 -0
- package/dist/models/MembersServiceUpdateBody.js +57 -0
- package/dist/models/ModelHTTPMethod.d.ts +31 -0
- package/dist/models/ModelHTTPMethod.js +57 -0
- package/dist/models/MultiLinkButton.d.ts +50 -0
- package/dist/models/MultiLinkButton.js +54 -0
- package/dist/models/MultiLinkPayload.d.ts +45 -0
- package/dist/models/MultiLinkPayload.js +53 -0
- package/dist/models/MultiLinkSelectedButton.d.ts +44 -0
- package/dist/models/MultiLinkSelectedButton.js +52 -0
- package/dist/models/MultiLinkTraceData.d.ts +33 -0
- package/dist/models/MultiLinkTraceData.js +49 -0
- package/dist/models/OutputFileFormat.d.ts +32 -0
- package/dist/models/OutputFileFormat.js +58 -0
- package/dist/models/PageTheme.d.ts +145 -0
- package/dist/models/PageTheme.js +96 -0
- package/dist/models/PageThemeBadgeShape.d.ts +27 -0
- package/dist/models/PageThemeBadgeShape.js +53 -0
- package/dist/models/PageThemeBorderStyle.d.ts +30 -0
- package/dist/models/PageThemeBorderStyle.js +56 -0
- package/dist/models/PageThemeCanvasCoverMode.d.ts +27 -0
- package/dist/models/PageThemeCanvasCoverMode.js +53 -0
- package/dist/models/PageThemeContainerVariant.d.ts +26 -0
- package/dist/models/PageThemeContainerVariant.js +52 -0
- package/dist/models/PageThemeFontFamily.d.ts +31 -0
- package/dist/models/PageThemeFontFamily.js +57 -0
- package/dist/models/PageThemesServiceUpdatePageThemeBody.d.ts +122 -0
- package/dist/models/PageThemesServiceUpdatePageThemeBody.js +93 -0
- package/dist/models/PasswordPayload.d.ts +44 -0
- package/dist/models/PasswordPayload.js +52 -0
- package/dist/models/PasswordTraceData.d.ts +32 -0
- package/dist/models/PasswordTraceData.js +48 -0
- package/dist/models/PreferredLinkType.d.ts +32 -0
- package/dist/models/PreferredLinkType.js +58 -0
- package/dist/models/ProtobufAny.d.ts +33 -0
- package/dist/models/ProtobufAny.js +50 -0
- package/dist/models/ProtobufNullValue.d.ts +29 -0
- package/dist/models/ProtobufNullValue.js +55 -0
- package/dist/models/PublicCreateQrcodeDesignRequest.d.ts +134 -0
- package/dist/models/PublicCreateQrcodeDesignRequest.js +95 -0
- package/dist/models/PublicCreateQrcodeDesignResponse.d.ts +33 -0
- package/dist/models/PublicCreateQrcodeDesignResponse.js +49 -0
- package/dist/models/PublicListQrcodeTemplatesResponse.d.ts +45 -0
- package/dist/models/PublicListQrcodeTemplatesResponse.js +53 -0
- package/dist/models/PublicQrcodeTemplate.d.ts +87 -0
- package/dist/models/PublicQrcodeTemplate.js +67 -0
- package/dist/models/PublicWorkspace.d.ts +74 -0
- package/dist/models/PublicWorkspace.js +62 -0
- package/dist/models/PublishQrcodeTemplateResponse.d.ts +33 -0
- package/dist/models/PublishQrcodeTemplateResponse.js +49 -0
- package/dist/models/QrcodeDesign.d.ts +157 -0
- package/dist/models/QrcodeDesign.js +98 -0
- package/dist/models/QrcodeDesignServiceUpdateBody.d.ts +140 -0
- package/dist/models/QrcodeDesignServiceUpdateBody.js +97 -0
- package/dist/models/QrcodeTemplate.d.ts +135 -0
- package/dist/models/QrcodeTemplate.js +81 -0
- package/dist/models/QrcodeTemplatesServiceUpdateQrcodeTemplateBody.d.ts +62 -0
- package/dist/models/QrcodeTemplatesServiceUpdateQrcodeTemplateBody.js +58 -0
- package/dist/models/RedirectTraceData.d.ts +44 -0
- package/dist/models/RedirectTraceData.js +52 -0
- package/dist/models/RemoveWorkflowStepRelationshipResponse.d.ts +32 -0
- package/dist/models/RemoveWorkflowStepRelationshipResponse.js +48 -0
- package/dist/models/RequestWorkspaceEnrollmentRequest.d.ts +32 -0
- package/dist/models/RequestWorkspaceEnrollmentRequest.js +48 -0
- package/dist/models/ResponseFormat.d.ts +30 -0
- package/dist/models/ResponseFormat.js +56 -0
- package/dist/models/Role.d.ts +29 -0
- package/dist/models/Role.js +55 -0
- package/dist/models/SettingsServiceUpdateLinkSettingBody.d.ts +33 -0
- package/dist/models/SettingsServiceUpdateLinkSettingBody.js +49 -0
- package/dist/models/Shape.d.ts +28 -0
- package/dist/models/Shape.js +54 -0
- package/dist/models/ShortlinkAvailabilityResponse.d.ts +32 -0
- package/dist/models/ShortlinkAvailabilityResponse.js +48 -0
- package/dist/models/ShortlinkRandomResponse.d.ts +32 -0
- package/dist/models/ShortlinkRandomResponse.js +48 -0
- package/dist/models/SocialLinkButton.d.ts +50 -0
- package/dist/models/SocialLinkButton.js +54 -0
- package/dist/models/SocialLinksDisplayStyle.d.ts +27 -0
- package/dist/models/SocialLinksDisplayStyle.js +53 -0
- package/dist/models/SocialLinksPayload.d.ts +52 -0
- package/dist/models/SocialLinksPayload.js +56 -0
- package/dist/models/SortDirection.d.ts +28 -0
- package/dist/models/SortDirection.js +54 -0
- package/dist/models/SpecificDateConditionPayload.d.ts +39 -0
- package/dist/models/SpecificDateConditionPayload.js +51 -0
- package/dist/models/SpecificDateConditionTraceData.d.ts +39 -0
- package/dist/models/SpecificDateConditionTraceData.js +51 -0
- package/dist/models/SpecificDateConditionTraceOption.d.ts +62 -0
- package/dist/models/SpecificDateConditionTraceOption.js +58 -0
- package/dist/models/SpecificDateOption.d.ts +62 -0
- package/dist/models/SpecificDateOption.js +58 -0
- package/dist/models/SubscriptionType.d.ts +34 -0
- package/dist/models/SubscriptionType.js +60 -0
- package/dist/models/ThemeColor.d.ts +61 -0
- package/dist/models/ThemeColor.js +68 -0
- package/dist/models/ThemeColorThemeColorType.d.ts +27 -0
- package/dist/models/ThemeColorThemeColorType.js +53 -0
- package/dist/models/TimeOfDayConditionPayload.d.ts +39 -0
- package/dist/models/TimeOfDayConditionPayload.js +51 -0
- package/dist/models/TimeOfDayConditionTraceData.d.ts +39 -0
- package/dist/models/TimeOfDayConditionTraceData.js +51 -0
- package/dist/models/TimeOfDayConditionTraceRange.d.ts +56 -0
- package/dist/models/TimeOfDayConditionTraceRange.js +56 -0
- package/dist/models/TimeOfDayRange.d.ts +56 -0
- package/dist/models/TimeOfDayRange.js +56 -0
- package/dist/models/TriggeredBy.d.ts +26 -0
- package/dist/models/TriggeredBy.js +52 -0
- package/dist/models/UpdateDeviceResponse.d.ts +32 -0
- package/dist/models/UpdateDeviceResponse.js +48 -0
- package/dist/models/UpdateLinkResponse.d.ts +33 -0
- package/dist/models/UpdateLinkResponse.js +49 -0
- package/dist/models/UpdateLinkSettingResponse.d.ts +33 -0
- package/dist/models/UpdateLinkSettingResponse.js +49 -0
- package/dist/models/UpdateMeRequest.d.ts +50 -0
- package/dist/models/UpdateMeRequest.js +54 -0
- package/dist/models/UpdatePageThemeResponse.d.ts +33 -0
- package/dist/models/UpdatePageThemeResponse.js +49 -0
- package/dist/models/UpdateQrcodeDesignResponse.d.ts +33 -0
- package/dist/models/UpdateQrcodeDesignResponse.js +49 -0
- package/dist/models/UpdateQrcodeTemplateResponse.d.ts +33 -0
- package/dist/models/UpdateQrcodeTemplateResponse.js +49 -0
- package/dist/models/UpdateWebhookResponse.d.ts +33 -0
- package/dist/models/UpdateWebhookResponse.js +49 -0
- package/dist/models/UpdateWorkflowStepResponse.d.ts +33 -0
- package/dist/models/UpdateWorkflowStepResponse.js +49 -0
- package/dist/models/UpdateWorkspaceOriginInquiryRequest.d.ts +32 -0
- package/dist/models/UpdateWorkspaceOriginInquiryRequest.js +48 -0
- package/dist/models/UpdateWorkspaceOriginPurposeRequest.d.ts +32 -0
- package/dist/models/UpdateWorkspaceOriginPurposeRequest.js +48 -0
- package/dist/models/UpdateWorkspaceRequest.d.ts +74 -0
- package/dist/models/UpdateWorkspaceRequest.js +62 -0
- package/dist/models/VCardData.d.ts +104 -0
- package/dist/models/VCardData.js +72 -0
- package/dist/models/VCardPayload.d.ts +104 -0
- package/dist/models/VCardPayload.js +72 -0
- package/dist/models/ValidationInstructionsCustomDomainResponse.d.ts +33 -0
- package/dist/models/ValidationInstructionsCustomDomainResponse.js +49 -0
- package/dist/models/ValidationInstructionsCustomDomainResponseValidation.d.ts +52 -0
- package/dist/models/ValidationInstructionsCustomDomainResponseValidation.js +56 -0
- package/dist/models/ValidationInstructionsCustomDomainResponseValidationType.d.ts +26 -0
- package/dist/models/ValidationInstructionsCustomDomainResponseValidationType.js +52 -0
- package/dist/models/ValidationPurpose.d.ts +28 -0
- package/dist/models/ValidationPurpose.js +54 -0
- package/dist/models/VisitType.d.ts +28 -0
- package/dist/models/VisitType.js +54 -0
- package/dist/models/VisitTypeConditionOption.d.ts +38 -0
- package/dist/models/VisitTypeConditionOption.js +50 -0
- package/dist/models/VisitTypeConditionPayload.d.ts +39 -0
- package/dist/models/VisitTypeConditionPayload.js +51 -0
- package/dist/models/VisitTypeConditionTraceData.d.ts +45 -0
- package/dist/models/VisitTypeConditionTraceData.js +53 -0
- package/dist/models/VisitTypeConditionTraceOption.d.ts +38 -0
- package/dist/models/VisitTypeConditionTraceOption.js +50 -0
- package/dist/models/Visitor.d.ts +102 -0
- package/dist/models/Visitor.js +73 -0
- package/dist/models/VisitorEvent.d.ts +62 -0
- package/dist/models/VisitorEvent.js +58 -0
- package/dist/models/VisitorInput.d.ts +34 -0
- package/dist/models/VisitorInput.js +48 -0
- package/dist/models/VisitorLink.d.ts +68 -0
- package/dist/models/VisitorLink.js +60 -0
- package/dist/models/VisitorsServiceUpdateBody.d.ts +33 -0
- package/dist/models/VisitorsServiceUpdateBody.js +49 -0
- package/dist/models/Webhook.d.ts +128 -0
- package/dist/models/Webhook.js +73 -0
- package/dist/models/WebhookSource.d.ts +30 -0
- package/dist/models/WebhookSource.js +56 -0
- package/dist/models/WebhookStatus.d.ts +30 -0
- package/dist/models/WebhookStatus.js +56 -0
- package/dist/models/WebhooksServiceUpdateBody.d.ts +69 -0
- package/dist/models/WebhooksServiceUpdateBody.js +61 -0
- package/dist/models/WorkflowStep.d.ts +149 -0
- package/dist/models/WorkflowStep.js +97 -0
- package/dist/models/WorkflowStepKind.d.ts +32 -0
- package/dist/models/WorkflowStepKind.js +58 -0
- package/dist/models/WorkflowStepNodeType.d.ts +56 -0
- package/dist/models/WorkflowStepNodeType.js +82 -0
- package/dist/models/WorkflowStepPayload.d.ts +116 -0
- package/dist/models/WorkflowStepPayload.js +84 -0
- package/dist/models/WorkflowStepsServiceAddRelationshipBody.d.ts +32 -0
- package/dist/models/WorkflowStepsServiceAddRelationshipBody.js +48 -0
- package/dist/models/WorkflowStepsServiceCreateBody.d.ts +85 -0
- package/dist/models/WorkflowStepsServiceCreateBody.js +76 -0
- package/dist/models/WorkflowStepsServiceUpdateBody.d.ts +40 -0
- package/dist/models/WorkflowStepsServiceUpdateBody.js +52 -0
- package/dist/models/Workspace.d.ts +158 -0
- package/dist/models/Workspace.js +96 -0
- package/dist/models/WorkspaceInsight.d.ts +34 -0
- package/dist/models/WorkspaceInsight.js +49 -0
- package/dist/models/WorkspaceMetric.d.ts +68 -0
- package/dist/models/WorkspaceMetric.js +60 -0
- package/dist/models/WorkspaceToken.d.ts +69 -0
- package/dist/models/WorkspaceToken.js +57 -0
- package/dist/models/index.d.ts +212 -0
- package/dist/models/index.js +230 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +338 -0
- package/package.json +40 -0
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Linkbreakers API
|
|
6
|
+
* This is a documentation of all the APIs of Linkbreakers
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.34.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
+
exports.VisitorsApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
const index_1 = require("../models/index");
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
class VisitorsApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Creates request options for visitorsServiceDelete without sending the request
|
|
58
|
+
*/
|
|
59
|
+
async visitorsServiceDeleteRequestOpts(requestParameters) {
|
|
60
|
+
if (requestParameters['id'] == null) {
|
|
61
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling visitorsServiceDelete().');
|
|
62
|
+
}
|
|
63
|
+
const queryParameters = {};
|
|
64
|
+
const headerParameters = {};
|
|
65
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
66
|
+
const token = this.configuration.accessToken;
|
|
67
|
+
const tokenString = await token("bearerAuth", []);
|
|
68
|
+
if (tokenString) {
|
|
69
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
let urlPath = `/v1/visitors/{id}`;
|
|
73
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
74
|
+
return {
|
|
75
|
+
path: urlPath,
|
|
76
|
+
method: 'DELETE',
|
|
77
|
+
headers: headerParameters,
|
|
78
|
+
query: queryParameters,
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Removes a visitor profile and its stored attributes from the workspace.
|
|
83
|
+
* Delete a visitor
|
|
84
|
+
*/
|
|
85
|
+
async visitorsServiceDeleteRaw(requestParameters, initOverrides) {
|
|
86
|
+
const requestOptions = await this.visitorsServiceDeleteRequestOpts(requestParameters);
|
|
87
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
88
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.DeleteVisitorResponseFromJSON)(jsonValue));
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Removes a visitor profile and its stored attributes from the workspace.
|
|
92
|
+
* Delete a visitor
|
|
93
|
+
*/
|
|
94
|
+
async visitorsServiceDelete(requestParameters, initOverrides) {
|
|
95
|
+
const response = await this.visitorsServiceDeleteRaw(requestParameters, initOverrides);
|
|
96
|
+
return await response.value();
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Creates request options for visitorsServiceDeleteAttribute without sending the request
|
|
100
|
+
*/
|
|
101
|
+
async visitorsServiceDeleteAttributeRequestOpts(requestParameters) {
|
|
102
|
+
if (requestParameters['id'] == null) {
|
|
103
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling visitorsServiceDeleteAttribute().');
|
|
104
|
+
}
|
|
105
|
+
if (requestParameters['attributeKey'] == null) {
|
|
106
|
+
throw new runtime.RequiredError('attributeKey', 'Required parameter "attributeKey" was null or undefined when calling visitorsServiceDeleteAttribute().');
|
|
107
|
+
}
|
|
108
|
+
const queryParameters = {};
|
|
109
|
+
const headerParameters = {};
|
|
110
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
111
|
+
const token = this.configuration.accessToken;
|
|
112
|
+
const tokenString = await token("bearerAuth", []);
|
|
113
|
+
if (tokenString) {
|
|
114
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
let urlPath = `/v1/visitors/{id}/attributes/{attributeKey}`;
|
|
118
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
119
|
+
urlPath = urlPath.replace(`{${"attributeKey"}}`, encodeURIComponent(String(requestParameters['attributeKey'])));
|
|
120
|
+
return {
|
|
121
|
+
path: urlPath,
|
|
122
|
+
method: 'DELETE',
|
|
123
|
+
headers: headerParameters,
|
|
124
|
+
query: queryParameters,
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Deletes a single attribute from the visitor profile without affecting other data.
|
|
129
|
+
* Delete a visitor attribute
|
|
130
|
+
*/
|
|
131
|
+
async visitorsServiceDeleteAttributeRaw(requestParameters, initOverrides) {
|
|
132
|
+
const requestOptions = await this.visitorsServiceDeleteAttributeRequestOpts(requestParameters);
|
|
133
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
134
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.DeleteAttributeResponseFromJSON)(jsonValue));
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Deletes a single attribute from the visitor profile without affecting other data.
|
|
138
|
+
* Delete a visitor attribute
|
|
139
|
+
*/
|
|
140
|
+
async visitorsServiceDeleteAttribute(requestParameters, initOverrides) {
|
|
141
|
+
const response = await this.visitorsServiceDeleteAttributeRaw(requestParameters, initOverrides);
|
|
142
|
+
return await response.value();
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Creates request options for visitorsServiceGet without sending the request
|
|
146
|
+
*/
|
|
147
|
+
async visitorsServiceGetRequestOpts(requestParameters) {
|
|
148
|
+
if (requestParameters['id'] == null) {
|
|
149
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling visitorsServiceGet().');
|
|
150
|
+
}
|
|
151
|
+
const queryParameters = {};
|
|
152
|
+
if (requestParameters['include'] != null) {
|
|
153
|
+
queryParameters['include'] = requestParameters['include'];
|
|
154
|
+
}
|
|
155
|
+
const headerParameters = {};
|
|
156
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
157
|
+
const token = this.configuration.accessToken;
|
|
158
|
+
const tokenString = await token("bearerAuth", []);
|
|
159
|
+
if (tokenString) {
|
|
160
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
let urlPath = `/v1/visitors/{id}`;
|
|
164
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
165
|
+
return {
|
|
166
|
+
path: urlPath,
|
|
167
|
+
method: 'GET',
|
|
168
|
+
headers: headerParameters,
|
|
169
|
+
query: queryParameters,
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Retrieves a visitor profile by ID with optional devices, events, or links included.
|
|
174
|
+
* Get a visitor
|
|
175
|
+
*/
|
|
176
|
+
async visitorsServiceGetRaw(requestParameters, initOverrides) {
|
|
177
|
+
const requestOptions = await this.visitorsServiceGetRequestOpts(requestParameters);
|
|
178
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
179
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.VisitorFromJSON)(jsonValue));
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Retrieves a visitor profile by ID with optional devices, events, or links included.
|
|
183
|
+
* Get a visitor
|
|
184
|
+
*/
|
|
185
|
+
async visitorsServiceGet(requestParameters, initOverrides) {
|
|
186
|
+
const response = await this.visitorsServiceGetRaw(requestParameters, initOverrides);
|
|
187
|
+
return await response.value();
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Creates request options for visitorsServiceIdentify without sending the request
|
|
191
|
+
*/
|
|
192
|
+
async visitorsServiceIdentifyRequestOpts(requestParameters) {
|
|
193
|
+
if (requestParameters['identifyRequest'] == null) {
|
|
194
|
+
throw new runtime.RequiredError('identifyRequest', 'Required parameter "identifyRequest" was null or undefined when calling visitorsServiceIdentify().');
|
|
195
|
+
}
|
|
196
|
+
const queryParameters = {};
|
|
197
|
+
const headerParameters = {};
|
|
198
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
199
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
200
|
+
const token = this.configuration.accessToken;
|
|
201
|
+
const tokenString = await token("bearerAuth", []);
|
|
202
|
+
if (tokenString) {
|
|
203
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
let urlPath = `/v1/visitor/identify`;
|
|
207
|
+
return {
|
|
208
|
+
path: urlPath,
|
|
209
|
+
method: 'POST',
|
|
210
|
+
headers: headerParameters,
|
|
211
|
+
query: queryParameters,
|
|
212
|
+
body: (0, index_1.IdentifyRequestToJSON)(requestParameters['identifyRequest']),
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Finds or creates a visitor profile from an LBID and merges the provided system fields and attributes.
|
|
217
|
+
* Identify visitor
|
|
218
|
+
*/
|
|
219
|
+
async visitorsServiceIdentifyRaw(requestParameters, initOverrides) {
|
|
220
|
+
const requestOptions = await this.visitorsServiceIdentifyRequestOpts(requestParameters);
|
|
221
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
222
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.IdentifyResponseFromJSON)(jsonValue));
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Finds or creates a visitor profile from an LBID and merges the provided system fields and attributes.
|
|
226
|
+
* Identify visitor
|
|
227
|
+
*/
|
|
228
|
+
async visitorsServiceIdentify(requestParameters, initOverrides) {
|
|
229
|
+
const response = await this.visitorsServiceIdentifyRaw(requestParameters, initOverrides);
|
|
230
|
+
return await response.value();
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Creates request options for visitorsServiceList without sending the request
|
|
234
|
+
*/
|
|
235
|
+
async visitorsServiceListRequestOpts(requestParameters) {
|
|
236
|
+
const queryParameters = {};
|
|
237
|
+
if (requestParameters['pageSize'] != null) {
|
|
238
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
239
|
+
}
|
|
240
|
+
if (requestParameters['pageToken'] != null) {
|
|
241
|
+
queryParameters['pageToken'] = requestParameters['pageToken'];
|
|
242
|
+
}
|
|
243
|
+
if (requestParameters['email'] != null) {
|
|
244
|
+
queryParameters['email'] = requestParameters['email'];
|
|
245
|
+
}
|
|
246
|
+
if (requestParameters['search'] != null) {
|
|
247
|
+
queryParameters['search'] = requestParameters['search'];
|
|
248
|
+
}
|
|
249
|
+
if (requestParameters['include'] != null) {
|
|
250
|
+
queryParameters['include'] = requestParameters['include'];
|
|
251
|
+
}
|
|
252
|
+
if (requestParameters['linkId'] != null) {
|
|
253
|
+
queryParameters['linkId'] = requestParameters['linkId'];
|
|
254
|
+
}
|
|
255
|
+
if (requestParameters['responseFormat'] != null) {
|
|
256
|
+
queryParameters['responseFormat'] = requestParameters['responseFormat'];
|
|
257
|
+
}
|
|
258
|
+
const headerParameters = {};
|
|
259
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
260
|
+
const token = this.configuration.accessToken;
|
|
261
|
+
const tokenString = await token("bearerAuth", []);
|
|
262
|
+
if (tokenString) {
|
|
263
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
let urlPath = `/v1/visitors`;
|
|
267
|
+
return {
|
|
268
|
+
path: urlPath,
|
|
269
|
+
method: 'GET',
|
|
270
|
+
headers: headerParameters,
|
|
271
|
+
query: queryParameters,
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Returns a paginated collection of visitors with optional filters, includes, and CSV export.
|
|
276
|
+
* List visitors
|
|
277
|
+
*/
|
|
278
|
+
async visitorsServiceListRaw(requestParameters, initOverrides) {
|
|
279
|
+
const requestOptions = await this.visitorsServiceListRequestOpts(requestParameters);
|
|
280
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
281
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListVisitorsResponseFromJSON)(jsonValue));
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Returns a paginated collection of visitors with optional filters, includes, and CSV export.
|
|
285
|
+
* List visitors
|
|
286
|
+
*/
|
|
287
|
+
async visitorsServiceList(requestParameters = {}, initOverrides) {
|
|
288
|
+
const response = await this.visitorsServiceListRaw(requestParameters, initOverrides);
|
|
289
|
+
return await response.value();
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Creates request options for visitorsServiceUpdate without sending the request
|
|
293
|
+
*/
|
|
294
|
+
async visitorsServiceUpdateRequestOpts(requestParameters) {
|
|
295
|
+
if (requestParameters['id'] == null) {
|
|
296
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling visitorsServiceUpdate().');
|
|
297
|
+
}
|
|
298
|
+
if (requestParameters['visitorsServiceUpdateBody'] == null) {
|
|
299
|
+
throw new runtime.RequiredError('visitorsServiceUpdateBody', 'Required parameter "visitorsServiceUpdateBody" was null or undefined when calling visitorsServiceUpdate().');
|
|
300
|
+
}
|
|
301
|
+
const queryParameters = {};
|
|
302
|
+
const headerParameters = {};
|
|
303
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
304
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
305
|
+
const token = this.configuration.accessToken;
|
|
306
|
+
const tokenString = await token("bearerAuth", []);
|
|
307
|
+
if (tokenString) {
|
|
308
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
let urlPath = `/v1/visitors/{id}`;
|
|
312
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
313
|
+
return {
|
|
314
|
+
path: urlPath,
|
|
315
|
+
method: 'PATCH',
|
|
316
|
+
headers: headerParameters,
|
|
317
|
+
query: queryParameters,
|
|
318
|
+
body: (0, index_1.VisitorsServiceUpdateBodyToJSON)(requestParameters['visitorsServiceUpdateBody']),
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Applies partial attribute updates to an existing visitor profile.
|
|
323
|
+
* Update a visitor
|
|
324
|
+
*/
|
|
325
|
+
async visitorsServiceUpdateRaw(requestParameters, initOverrides) {
|
|
326
|
+
const requestOptions = await this.visitorsServiceUpdateRequestOpts(requestParameters);
|
|
327
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
328
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.VisitorFromJSON)(jsonValue));
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* Applies partial attribute updates to an existing visitor profile.
|
|
332
|
+
* Update a visitor
|
|
333
|
+
*/
|
|
334
|
+
async visitorsServiceUpdate(requestParameters, initOverrides) {
|
|
335
|
+
const response = await this.visitorsServiceUpdateRaw(requestParameters, initOverrides);
|
|
336
|
+
return await response.value();
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
exports.VisitorsApi = VisitorsApi;
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Linkbreakers API
|
|
3
|
+
* This is a documentation of all the APIs of Linkbreakers
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.34.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { CreateWebhookRequest, CreateWebhookResponse, GetWebhookResponse, ListWebhooksResponse, UpdateWebhookResponse, WebhooksServiceUpdateBody } from '../models/index';
|
|
14
|
+
export interface WebhooksServiceCreateRequest {
|
|
15
|
+
createWebhookRequest: CreateWebhookRequest;
|
|
16
|
+
}
|
|
17
|
+
export interface WebhooksServiceDeleteRequest {
|
|
18
|
+
id: string;
|
|
19
|
+
}
|
|
20
|
+
export interface WebhooksServiceGetRequest {
|
|
21
|
+
id: string;
|
|
22
|
+
}
|
|
23
|
+
export interface WebhooksServiceListRequest {
|
|
24
|
+
status?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface WebhooksServiceUpdateRequest {
|
|
27
|
+
id: string;
|
|
28
|
+
webhooksServiceUpdateBody: WebhooksServiceUpdateBody;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* WebhooksApi - interface
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface WebhooksApiInterface
|
|
35
|
+
*/
|
|
36
|
+
export interface WebhooksApiInterface {
|
|
37
|
+
/**
|
|
38
|
+
* Creates request options for webhooksServiceCreate without sending the request
|
|
39
|
+
* @param {CreateWebhookRequest} createWebhookRequest
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
* @memberof WebhooksApiInterface
|
|
42
|
+
*/
|
|
43
|
+
webhooksServiceCreateRequestOpts(requestParameters: WebhooksServiceCreateRequest): Promise<runtime.RequestOpts>;
|
|
44
|
+
/**
|
|
45
|
+
* Create a new webhook endpoint to receive event notifications when workflow steps complete.
|
|
46
|
+
* @summary Create a webhook
|
|
47
|
+
* @param {CreateWebhookRequest} createWebhookRequest
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
* @memberof WebhooksApiInterface
|
|
51
|
+
*/
|
|
52
|
+
webhooksServiceCreateRaw(requestParameters: WebhooksServiceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateWebhookResponse>>;
|
|
53
|
+
/**
|
|
54
|
+
* Create a new webhook endpoint to receive event notifications when workflow steps complete.
|
|
55
|
+
* Create a webhook
|
|
56
|
+
*/
|
|
57
|
+
webhooksServiceCreate(requestParameters: WebhooksServiceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateWebhookResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* Creates request options for webhooksServiceDelete without sending the request
|
|
60
|
+
* @param {string} id Identifier of the webhook to delete (UUID)
|
|
61
|
+
* @throws {RequiredError}
|
|
62
|
+
* @memberof WebhooksApiInterface
|
|
63
|
+
*/
|
|
64
|
+
webhooksServiceDeleteRequestOpts(requestParameters: WebhooksServiceDeleteRequest): Promise<runtime.RequestOpts>;
|
|
65
|
+
/**
|
|
66
|
+
* Remove a webhook endpoint so it no longer receives event notifications.
|
|
67
|
+
* @summary Delete a webhook
|
|
68
|
+
* @param {string} id Identifier of the webhook to delete (UUID)
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
* @memberof WebhooksApiInterface
|
|
72
|
+
*/
|
|
73
|
+
webhooksServiceDeleteRaw(requestParameters: WebhooksServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
|
|
74
|
+
/**
|
|
75
|
+
* Remove a webhook endpoint so it no longer receives event notifications.
|
|
76
|
+
* Delete a webhook
|
|
77
|
+
*/
|
|
78
|
+
webhooksServiceDelete(requestParameters: WebhooksServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
|
|
79
|
+
/**
|
|
80
|
+
* Creates request options for webhooksServiceGet without sending the request
|
|
81
|
+
* @param {string} id Identifier of the desired webhook (UUID)
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
* @memberof WebhooksApiInterface
|
|
84
|
+
*/
|
|
85
|
+
webhooksServiceGetRequestOpts(requestParameters: WebhooksServiceGetRequest): Promise<runtime.RequestOpts>;
|
|
86
|
+
/**
|
|
87
|
+
* Retrieve details for a specific webhook endpoint.
|
|
88
|
+
* @summary Get a webhook
|
|
89
|
+
* @param {string} id Identifier of the desired webhook (UUID)
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
* @memberof WebhooksApiInterface
|
|
93
|
+
*/
|
|
94
|
+
webhooksServiceGetRaw(requestParameters: WebhooksServiceGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetWebhookResponse>>;
|
|
95
|
+
/**
|
|
96
|
+
* Retrieve details for a specific webhook endpoint.
|
|
97
|
+
* Get a webhook
|
|
98
|
+
*/
|
|
99
|
+
webhooksServiceGet(requestParameters: WebhooksServiceGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetWebhookResponse>;
|
|
100
|
+
/**
|
|
101
|
+
* Creates request options for webhooksServiceList without sending the request
|
|
102
|
+
* @param {string} [status] Filter by webhook status (optional) - WEBHOOK_STATUS_UNSPECIFIED: Webhook status not specified - WEBHOOK_STATUS_ACTIVE: Webhook is active and receiving events - WEBHOOK_STATUS_DISABLED: Webhook is disabled due to repeated failures - WEBHOOK_STATUS_PAUSED: Webhook is paused by user action
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
* @memberof WebhooksApiInterface
|
|
105
|
+
*/
|
|
106
|
+
webhooksServiceListRequestOpts(requestParameters: WebhooksServiceListRequest): Promise<runtime.RequestOpts>;
|
|
107
|
+
/**
|
|
108
|
+
* Enumerate all webhooks for the workspace to manage event integrations.
|
|
109
|
+
* @summary List webhooks
|
|
110
|
+
* @param {string} [status] Filter by webhook status (optional) - WEBHOOK_STATUS_UNSPECIFIED: Webhook status not specified - WEBHOOK_STATUS_ACTIVE: Webhook is active and receiving events - WEBHOOK_STATUS_DISABLED: Webhook is disabled due to repeated failures - WEBHOOK_STATUS_PAUSED: Webhook is paused by user action
|
|
111
|
+
* @param {*} [options] Override http request option.
|
|
112
|
+
* @throws {RequiredError}
|
|
113
|
+
* @memberof WebhooksApiInterface
|
|
114
|
+
*/
|
|
115
|
+
webhooksServiceListRaw(requestParameters: WebhooksServiceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListWebhooksResponse>>;
|
|
116
|
+
/**
|
|
117
|
+
* Enumerate all webhooks for the workspace to manage event integrations.
|
|
118
|
+
* List webhooks
|
|
119
|
+
*/
|
|
120
|
+
webhooksServiceList(requestParameters: WebhooksServiceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListWebhooksResponse>;
|
|
121
|
+
/**
|
|
122
|
+
* Creates request options for webhooksServiceUpdate without sending the request
|
|
123
|
+
* @param {string} id Identifier of the webhook to update (UUID)
|
|
124
|
+
* @param {WebhooksServiceUpdateBody} webhooksServiceUpdateBody
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
* @memberof WebhooksApiInterface
|
|
127
|
+
*/
|
|
128
|
+
webhooksServiceUpdateRequestOpts(requestParameters: WebhooksServiceUpdateRequest): Promise<runtime.RequestOpts>;
|
|
129
|
+
/**
|
|
130
|
+
* Modify an existing webhook endpoint configuration.
|
|
131
|
+
* @summary Update a webhook
|
|
132
|
+
* @param {string} id Identifier of the webhook to update (UUID)
|
|
133
|
+
* @param {WebhooksServiceUpdateBody} webhooksServiceUpdateBody
|
|
134
|
+
* @param {*} [options] Override http request option.
|
|
135
|
+
* @throws {RequiredError}
|
|
136
|
+
* @memberof WebhooksApiInterface
|
|
137
|
+
*/
|
|
138
|
+
webhooksServiceUpdateRaw(requestParameters: WebhooksServiceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UpdateWebhookResponse>>;
|
|
139
|
+
/**
|
|
140
|
+
* Modify an existing webhook endpoint configuration.
|
|
141
|
+
* Update a webhook
|
|
142
|
+
*/
|
|
143
|
+
webhooksServiceUpdate(requestParameters: WebhooksServiceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UpdateWebhookResponse>;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
*/
|
|
148
|
+
export declare class WebhooksApi extends runtime.BaseAPI implements WebhooksApiInterface {
|
|
149
|
+
/**
|
|
150
|
+
* Creates request options for webhooksServiceCreate without sending the request
|
|
151
|
+
*/
|
|
152
|
+
webhooksServiceCreateRequestOpts(requestParameters: WebhooksServiceCreateRequest): Promise<runtime.RequestOpts>;
|
|
153
|
+
/**
|
|
154
|
+
* Create a new webhook endpoint to receive event notifications when workflow steps complete.
|
|
155
|
+
* Create a webhook
|
|
156
|
+
*/
|
|
157
|
+
webhooksServiceCreateRaw(requestParameters: WebhooksServiceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateWebhookResponse>>;
|
|
158
|
+
/**
|
|
159
|
+
* Create a new webhook endpoint to receive event notifications when workflow steps complete.
|
|
160
|
+
* Create a webhook
|
|
161
|
+
*/
|
|
162
|
+
webhooksServiceCreate(requestParameters: WebhooksServiceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateWebhookResponse>;
|
|
163
|
+
/**
|
|
164
|
+
* Creates request options for webhooksServiceDelete without sending the request
|
|
165
|
+
*/
|
|
166
|
+
webhooksServiceDeleteRequestOpts(requestParameters: WebhooksServiceDeleteRequest): Promise<runtime.RequestOpts>;
|
|
167
|
+
/**
|
|
168
|
+
* Remove a webhook endpoint so it no longer receives event notifications.
|
|
169
|
+
* Delete a webhook
|
|
170
|
+
*/
|
|
171
|
+
webhooksServiceDeleteRaw(requestParameters: WebhooksServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
|
|
172
|
+
/**
|
|
173
|
+
* Remove a webhook endpoint so it no longer receives event notifications.
|
|
174
|
+
* Delete a webhook
|
|
175
|
+
*/
|
|
176
|
+
webhooksServiceDelete(requestParameters: WebhooksServiceDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
|
|
177
|
+
/**
|
|
178
|
+
* Creates request options for webhooksServiceGet without sending the request
|
|
179
|
+
*/
|
|
180
|
+
webhooksServiceGetRequestOpts(requestParameters: WebhooksServiceGetRequest): Promise<runtime.RequestOpts>;
|
|
181
|
+
/**
|
|
182
|
+
* Retrieve details for a specific webhook endpoint.
|
|
183
|
+
* Get a webhook
|
|
184
|
+
*/
|
|
185
|
+
webhooksServiceGetRaw(requestParameters: WebhooksServiceGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetWebhookResponse>>;
|
|
186
|
+
/**
|
|
187
|
+
* Retrieve details for a specific webhook endpoint.
|
|
188
|
+
* Get a webhook
|
|
189
|
+
*/
|
|
190
|
+
webhooksServiceGet(requestParameters: WebhooksServiceGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetWebhookResponse>;
|
|
191
|
+
/**
|
|
192
|
+
* Creates request options for webhooksServiceList without sending the request
|
|
193
|
+
*/
|
|
194
|
+
webhooksServiceListRequestOpts(requestParameters: WebhooksServiceListRequest): Promise<runtime.RequestOpts>;
|
|
195
|
+
/**
|
|
196
|
+
* Enumerate all webhooks for the workspace to manage event integrations.
|
|
197
|
+
* List webhooks
|
|
198
|
+
*/
|
|
199
|
+
webhooksServiceListRaw(requestParameters: WebhooksServiceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListWebhooksResponse>>;
|
|
200
|
+
/**
|
|
201
|
+
* Enumerate all webhooks for the workspace to manage event integrations.
|
|
202
|
+
* List webhooks
|
|
203
|
+
*/
|
|
204
|
+
webhooksServiceList(requestParameters?: WebhooksServiceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListWebhooksResponse>;
|
|
205
|
+
/**
|
|
206
|
+
* Creates request options for webhooksServiceUpdate without sending the request
|
|
207
|
+
*/
|
|
208
|
+
webhooksServiceUpdateRequestOpts(requestParameters: WebhooksServiceUpdateRequest): Promise<runtime.RequestOpts>;
|
|
209
|
+
/**
|
|
210
|
+
* Modify an existing webhook endpoint configuration.
|
|
211
|
+
* Update a webhook
|
|
212
|
+
*/
|
|
213
|
+
webhooksServiceUpdateRaw(requestParameters: WebhooksServiceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UpdateWebhookResponse>>;
|
|
214
|
+
/**
|
|
215
|
+
* Modify an existing webhook endpoint configuration.
|
|
216
|
+
* Update a webhook
|
|
217
|
+
*/
|
|
218
|
+
webhooksServiceUpdate(requestParameters: WebhooksServiceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UpdateWebhookResponse>;
|
|
219
|
+
}
|