@flashstart/client 8.11.2 → 8.12.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.
@@ -1,2 +1,2 @@
1
1
  export { type Options, ProtectionSdk } from './sdk.gen.js';
2
- export type { AddExceptionGroupDomainsData, AddExceptionGroupDomainsError, AddExceptionGroupDomainsErrors, AddExceptionGroupDomainsResponse, AddExceptionGroupDomainsResponses, AddPolicyExceptionGroupData, AddPolicyExceptionGroupError, AddPolicyExceptionGroupErrors, AddPolicyExceptionGroupResponse, AddPolicyExceptionGroupResponses, AllowAppBlockerCategoriesData, AllowAppBlockerCategoriesError, AllowAppBlockerCategoriesErrors, AllowAppBlockerCategoriesResponse, AllowAppBlockerCategoriesResponses, AllowCategoriesData, AllowCategoriesError, AllowCategoriesErrors, AllowCategoriesResponse, AllowCategoriesResponses, AllowCountriesData, AllowCountriesError, AllowCountriesErrors, AllowCountriesResponse, AllowCountriesResponses, AllowMalwareCategoriesData, AllowMalwareCategoriesError, AllowMalwareCategoriesErrors, AllowMalwareCategoriesResponse, AllowMalwareCategoriesResponses, AllowTldsData, AllowTldsError, AllowTldsErrors, AllowTldsResponse, AllowTldsResponses, BlockAppBlockerCategoriesData, BlockAppBlockerCategoriesError, BlockAppBlockerCategoriesErrors, BlockAppBlockerCategoriesResponse, BlockAppBlockerCategoriesResponses, BlockCategoriesData, BlockCategoriesError, BlockCategoriesErrors, BlockCategoriesResponse, BlockCategoriesResponses, BlockCountriesData, BlockCountriesError, BlockCountriesErrors, BlockCountriesResponse, BlockCountriesResponses, BlockMalwareCategoriesData, BlockMalwareCategoriesError, BlockMalwareCategoriesErrors, BlockMalwareCategoriesResponse, BlockMalwareCategoriesResponses, BlockTldsData, BlockTldsError, BlockTldsErrors, BlockTldsResponse, BlockTldsResponses, ClientOptions, CreateExceptionGroupData, CreateExceptionGroupError, CreateExceptionGroupErrors, CreateExceptionGroupResponse, CreateExceptionGroupResponses, CreatePolicyData, CreatePolicyError, CreatePolicyErrors, CreatePolicyResponse, CreatePolicyResponses, DeleteExceptionGroupData, DeleteExceptionGroupError, DeleteExceptionGroupErrors, DeleteExceptionGroupResponse, DeleteExceptionGroupResponses, DeletePolicyData, DeletePolicyError, DeletePolicyErrors, DeletePolicyResponse, DeletePolicyResponses, DisableDynamicDnsRedirectData, DisableDynamicDnsRedirectError, DisableDynamicDnsRedirectErrors, DisableDynamicDnsRedirectResponse, DisableDynamicDnsRedirectResponses, EnableDynamicDnsRedirectData, EnableDynamicDnsRedirectError, EnableDynamicDnsRedirectErrors, EnableDynamicDnsRedirectResponse, EnableDynamicDnsRedirectResponses, FlashStartErrorBody, GetDynamicDnsRedirectData, GetDynamicDnsRedirectError, GetDynamicDnsRedirectErrors, GetDynamicDnsRedirectResponse, GetDynamicDnsRedirectResponses, GetPolicyData, GetPolicyError, GetPolicyErrors, GetPolicyResponse, GetPolicyResponses, GetPolicySettingsData, GetPolicySettingsError, GetPolicySettingsErrors, GetPolicySettingsResponse, GetPolicySettingsResponses, GetTldData, GetTldError, GetTldErrors, GetTldResponse, GetTldResponses, ListAppBlockerCategoriesData, ListAppBlockerCategoriesError, ListAppBlockerCategoriesErrors, ListAppBlockerCategoriesResponse, ListAppBlockerCategoriesResponses, ListAppBlockerCategoryMacrosData, ListAppBlockerCategoryMacrosError, ListAppBlockerCategoryMacrosErrors, ListAppBlockerCategoryMacrosResponse, ListAppBlockerCategoryMacrosResponses, ListBlockedAppBlockerCategoriesData, ListBlockedAppBlockerCategoriesError, ListBlockedAppBlockerCategoriesErrors, ListBlockedAppBlockerCategoriesResponse, ListBlockedAppBlockerCategoriesResponses, ListBlockedCategoriesData, ListBlockedCategoriesError, ListBlockedCategoriesErrors, ListBlockedCategoriesResponse, ListBlockedCategoriesResponses, ListBlockedCountriesData, ListBlockedCountriesError, ListBlockedCountriesErrors, ListBlockedCountriesResponse, ListBlockedCountriesResponses, ListBlockedMalwareCategoriesData, ListBlockedMalwareCategoriesError, ListBlockedMalwareCategoriesErrors, ListBlockedMalwareCategoriesResponse, ListBlockedMalwareCategoriesResponses, ListBlockedTldsData, ListBlockedTldsError, ListBlockedTldsErrors, ListBlockedTldsResponse, ListBlockedTldsResponses, ListCategoriesData, ListCategoriesError, ListCategoriesErrors, ListCategoriesResponse, ListCategoriesResponses, ListCategoryMacrosData, ListCategoryMacrosError, ListCategoryMacrosErrors, ListCategoryMacrosResponse, ListCategoryMacrosResponses, ListContinentsData, ListContinentsError, ListContinentsErrors, ListContinentsResponse, ListContinentsResponses, ListCountriesData, ListCountriesError, ListCountriesErrors, ListCountriesResponse, ListCountriesResponses, ListExceptionGroupDomainsData, ListExceptionGroupDomainsError, ListExceptionGroupDomainsErrors, ListExceptionGroupDomainsResponse, ListExceptionGroupDomainsResponses, ListExceptionGroupsData, ListExceptionGroupsError, ListExceptionGroupsErrors, ListExceptionGroupsResponse, ListExceptionGroupsResponses, ListMalwareCategoriesData, ListMalwareCategoriesError, ListMalwareCategoriesErrors, ListMalwareCategoriesResponse, ListMalwareCategoriesResponses, ListMalwareCategoryMacrosData, ListMalwareCategoryMacrosError, ListMalwareCategoryMacrosErrors, ListMalwareCategoryMacrosResponse, ListMalwareCategoryMacrosResponses, ListPoliciesData, ListPoliciesError, ListPoliciesErrors, ListPoliciesResponse, ListPoliciesResponses, ListPolicyExceptionGroupsData, ListPolicyExceptionGroupsError, ListPolicyExceptionGroupsErrors, ListPolicyExceptionGroupsResponse, ListPolicyExceptionGroupsResponses, ListProtectionTemplatesData, ListProtectionTemplatesError, ListProtectionTemplatesErrors, ListProtectionTemplatesResponse, ListProtectionTemplatesResponses, ListTemplateCategoriesData, ListTemplateCategoriesError, ListTemplateCategoriesErrors, ListTemplateCategoriesResponse, ListTemplateCategoriesResponses, ListTldMacrosData, ListTldMacrosError, ListTldMacrosErrors, ListTldMacrosResponse, ListTldMacrosResponses, ListTldsData, ListTldsError, ListTldsErrors, ListTldsResponse, ListTldsResponses, MissingCredentialsErrorBody, RemoveAppBlockerCategoryBlockScheduleData, RemoveAppBlockerCategoryBlockScheduleError, RemoveAppBlockerCategoryBlockScheduleErrors, RemoveAppBlockerCategoryBlockScheduleResponse, RemoveAppBlockerCategoryBlockScheduleResponses, RemoveCategoryBlockScheduleData, RemoveCategoryBlockScheduleError, RemoveCategoryBlockScheduleErrors, RemoveCategoryBlockScheduleResponse, RemoveCategoryBlockScheduleResponses, RemoveExceptionGroupDomainData, RemoveExceptionGroupDomainError, RemoveExceptionGroupDomainErrors, RemoveExceptionGroupDomainResponse, RemoveExceptionGroupDomainResponses, RemoveMalwareCategoryBlockScheduleData, RemoveMalwareCategoryBlockScheduleError, RemoveMalwareCategoryBlockScheduleErrors, RemoveMalwareCategoryBlockScheduleResponse, RemoveMalwareCategoryBlockScheduleResponses, RemovePolicyExceptionGroupData, RemovePolicyExceptionGroupError, RemovePolicyExceptionGroupErrors, RemovePolicyExceptionGroupResponse, RemovePolicyExceptionGroupResponses, ScheduleAppBlockerCategoryBlockData, ScheduleAppBlockerCategoryBlockError, ScheduleAppBlockerCategoryBlockErrors, ScheduleAppBlockerCategoryBlockResponse, ScheduleAppBlockerCategoryBlockResponses, ScheduleCategoryBlockData, ScheduleCategoryBlockError, ScheduleCategoryBlockErrors, ScheduleCategoryBlockResponse, ScheduleCategoryBlockResponses, ScheduleMalwareCategoryBlockData, ScheduleMalwareCategoryBlockError, ScheduleMalwareCategoryBlockErrors, ScheduleMalwareCategoryBlockResponse, ScheduleMalwareCategoryBlockResponses, UpdateExceptionGroupData, UpdateExceptionGroupDomainNoteData, UpdateExceptionGroupDomainNoteError, UpdateExceptionGroupDomainNoteErrors, UpdateExceptionGroupDomainNoteResponse, UpdateExceptionGroupDomainNoteResponses, UpdateExceptionGroupError, UpdateExceptionGroupErrors, UpdateExceptionGroupResponse, UpdateExceptionGroupResponses, UpdatePolicyData, UpdatePolicyError, UpdatePolicyErrors, UpdatePolicyResponse, UpdatePolicyResponses, UpdatePolicySettingsData, UpdatePolicySettingsError, UpdatePolicySettingsErrors, UpdatePolicySettingsResponse, UpdatePolicySettingsResponses } from './types.gen.js';
2
+ export type { AddExceptionGroupDomainsData, AddExceptionGroupDomainsError, AddExceptionGroupDomainsErrors, AddExceptionGroupDomainsResponse, AddExceptionGroupDomainsResponses, AddPolicyExceptionGroupData, AddPolicyExceptionGroupError, AddPolicyExceptionGroupErrors, AddPolicyExceptionGroupResponse, AddPolicyExceptionGroupResponses, AllowAppBlockerCategoriesData, AllowAppBlockerCategoriesError, AllowAppBlockerCategoriesErrors, AllowAppBlockerCategoriesResponse, AllowAppBlockerCategoriesResponses, AllowBetaListCategoriesData, AllowBetaListCategoriesError, AllowBetaListCategoriesErrors, AllowBetaListCategoriesResponse, AllowBetaListCategoriesResponses, AllowCategoriesData, AllowCategoriesError, AllowCategoriesErrors, AllowCategoriesResponse, AllowCategoriesResponses, AllowCountriesData, AllowCountriesError, AllowCountriesErrors, AllowCountriesResponse, AllowCountriesResponses, AllowMalwareCategoriesData, AllowMalwareCategoriesError, AllowMalwareCategoriesErrors, AllowMalwareCategoriesResponse, AllowMalwareCategoriesResponses, AllowTldsData, AllowTldsError, AllowTldsErrors, AllowTldsResponse, AllowTldsResponses, BlockAppBlockerCategoriesData, BlockAppBlockerCategoriesError, BlockAppBlockerCategoriesErrors, BlockAppBlockerCategoriesResponse, BlockAppBlockerCategoriesResponses, BlockBetaListCategoriesData, BlockBetaListCategoriesError, BlockBetaListCategoriesErrors, BlockBetaListCategoriesResponse, BlockBetaListCategoriesResponses, BlockCategoriesData, BlockCategoriesError, BlockCategoriesErrors, BlockCategoriesResponse, BlockCategoriesResponses, BlockCountriesData, BlockCountriesError, BlockCountriesErrors, BlockCountriesResponse, BlockCountriesResponses, BlockMalwareCategoriesData, BlockMalwareCategoriesError, BlockMalwareCategoriesErrors, BlockMalwareCategoriesResponse, BlockMalwareCategoriesResponses, BlockTldsData, BlockTldsError, BlockTldsErrors, BlockTldsResponse, BlockTldsResponses, ClientOptions, CreateExceptionGroupData, CreateExceptionGroupError, CreateExceptionGroupErrors, CreateExceptionGroupResponse, CreateExceptionGroupResponses, CreatePolicyData, CreatePolicyError, CreatePolicyErrors, CreatePolicyResponse, CreatePolicyResponses, DeleteExceptionGroupData, DeleteExceptionGroupError, DeleteExceptionGroupErrors, DeleteExceptionGroupResponse, DeleteExceptionGroupResponses, DeletePolicyData, DeletePolicyError, DeletePolicyErrors, DeletePolicyResponse, DeletePolicyResponses, DisableDynamicDnsRedirectData, DisableDynamicDnsRedirectError, DisableDynamicDnsRedirectErrors, DisableDynamicDnsRedirectResponse, DisableDynamicDnsRedirectResponses, EnableDynamicDnsRedirectData, EnableDynamicDnsRedirectError, EnableDynamicDnsRedirectErrors, EnableDynamicDnsRedirectResponse, EnableDynamicDnsRedirectResponses, FlashStartErrorBody, GetDynamicDnsRedirectData, GetDynamicDnsRedirectError, GetDynamicDnsRedirectErrors, GetDynamicDnsRedirectResponse, GetDynamicDnsRedirectResponses, GetPolicyData, GetPolicyError, GetPolicyErrors, GetPolicyResponse, GetPolicyResponses, GetPolicySettingsData, GetPolicySettingsError, GetPolicySettingsErrors, GetPolicySettingsResponse, GetPolicySettingsResponses, GetTldData, GetTldError, GetTldErrors, GetTldResponse, GetTldResponses, ListAppBlockerCategoriesData, ListAppBlockerCategoriesError, ListAppBlockerCategoriesErrors, ListAppBlockerCategoriesResponse, ListAppBlockerCategoriesResponses, ListAppBlockerCategoryMacrosData, ListAppBlockerCategoryMacrosError, ListAppBlockerCategoryMacrosErrors, ListAppBlockerCategoryMacrosResponse, ListAppBlockerCategoryMacrosResponses, ListBetaListCategoriesData, ListBetaListCategoriesError, ListBetaListCategoriesErrors, ListBetaListCategoriesResponse, ListBetaListCategoriesResponses, ListBetaListCategoryMacrosData, ListBetaListCategoryMacrosError, ListBetaListCategoryMacrosErrors, ListBetaListCategoryMacrosResponse, ListBetaListCategoryMacrosResponses, ListBlockedAppBlockerCategoriesData, ListBlockedAppBlockerCategoriesError, ListBlockedAppBlockerCategoriesErrors, ListBlockedAppBlockerCategoriesResponse, ListBlockedAppBlockerCategoriesResponses, ListBlockedBetaListCategoriesData, ListBlockedBetaListCategoriesError, ListBlockedBetaListCategoriesErrors, ListBlockedBetaListCategoriesResponse, ListBlockedBetaListCategoriesResponses, ListBlockedCategoriesData, ListBlockedCategoriesError, ListBlockedCategoriesErrors, ListBlockedCategoriesResponse, ListBlockedCategoriesResponses, ListBlockedCountriesData, ListBlockedCountriesError, ListBlockedCountriesErrors, ListBlockedCountriesResponse, ListBlockedCountriesResponses, ListBlockedMalwareCategoriesData, ListBlockedMalwareCategoriesError, ListBlockedMalwareCategoriesErrors, ListBlockedMalwareCategoriesResponse, ListBlockedMalwareCategoriesResponses, ListBlockedTldsData, ListBlockedTldsError, ListBlockedTldsErrors, ListBlockedTldsResponse, ListBlockedTldsResponses, ListCategoriesData, ListCategoriesError, ListCategoriesErrors, ListCategoriesResponse, ListCategoriesResponses, ListCategoryMacrosData, ListCategoryMacrosError, ListCategoryMacrosErrors, ListCategoryMacrosResponse, ListCategoryMacrosResponses, ListContinentsData, ListContinentsError, ListContinentsErrors, ListContinentsResponse, ListContinentsResponses, ListCountriesData, ListCountriesError, ListCountriesErrors, ListCountriesResponse, ListCountriesResponses, ListExceptionGroupDomainsData, ListExceptionGroupDomainsError, ListExceptionGroupDomainsErrors, ListExceptionGroupDomainsResponse, ListExceptionGroupDomainsResponses, ListExceptionGroupsData, ListExceptionGroupsError, ListExceptionGroupsErrors, ListExceptionGroupsResponse, ListExceptionGroupsResponses, ListMalwareCategoriesData, ListMalwareCategoriesError, ListMalwareCategoriesErrors, ListMalwareCategoriesResponse, ListMalwareCategoriesResponses, ListMalwareCategoryMacrosData, ListMalwareCategoryMacrosError, ListMalwareCategoryMacrosErrors, ListMalwareCategoryMacrosResponse, ListMalwareCategoryMacrosResponses, ListPoliciesData, ListPoliciesError, ListPoliciesErrors, ListPoliciesResponse, ListPoliciesResponses, ListPolicyExceptionGroupsData, ListPolicyExceptionGroupsError, ListPolicyExceptionGroupsErrors, ListPolicyExceptionGroupsResponse, ListPolicyExceptionGroupsResponses, ListProtectionTemplatesData, ListProtectionTemplatesError, ListProtectionTemplatesErrors, ListProtectionTemplatesResponse, ListProtectionTemplatesResponses, ListTemplateCategoriesData, ListTemplateCategoriesError, ListTemplateCategoriesErrors, ListTemplateCategoriesResponse, ListTemplateCategoriesResponses, ListTldMacrosData, ListTldMacrosError, ListTldMacrosErrors, ListTldMacrosResponse, ListTldMacrosResponses, ListTldsData, ListTldsError, ListTldsErrors, ListTldsResponse, ListTldsResponses, MissingCredentialsErrorBody, RemoveAppBlockerCategoryBlockScheduleData, RemoveAppBlockerCategoryBlockScheduleError, RemoveAppBlockerCategoryBlockScheduleErrors, RemoveAppBlockerCategoryBlockScheduleResponse, RemoveAppBlockerCategoryBlockScheduleResponses, RemoveBetaListCategoryBlockScheduleData, RemoveBetaListCategoryBlockScheduleError, RemoveBetaListCategoryBlockScheduleErrors, RemoveBetaListCategoryBlockScheduleResponse, RemoveBetaListCategoryBlockScheduleResponses, RemoveCategoryBlockScheduleData, RemoveCategoryBlockScheduleError, RemoveCategoryBlockScheduleErrors, RemoveCategoryBlockScheduleResponse, RemoveCategoryBlockScheduleResponses, RemoveExceptionGroupDomainData, RemoveExceptionGroupDomainError, RemoveExceptionGroupDomainErrors, RemoveExceptionGroupDomainResponse, RemoveExceptionGroupDomainResponses, RemoveMalwareCategoryBlockScheduleData, RemoveMalwareCategoryBlockScheduleError, RemoveMalwareCategoryBlockScheduleErrors, RemoveMalwareCategoryBlockScheduleResponse, RemoveMalwareCategoryBlockScheduleResponses, RemovePolicyExceptionGroupData, RemovePolicyExceptionGroupError, RemovePolicyExceptionGroupErrors, RemovePolicyExceptionGroupResponse, RemovePolicyExceptionGroupResponses, ScheduleAppBlockerCategoryBlockData, ScheduleAppBlockerCategoryBlockError, ScheduleAppBlockerCategoryBlockErrors, ScheduleAppBlockerCategoryBlockResponse, ScheduleAppBlockerCategoryBlockResponses, ScheduleBetaListCategoryBlockData, ScheduleBetaListCategoryBlockError, ScheduleBetaListCategoryBlockErrors, ScheduleBetaListCategoryBlockResponse, ScheduleBetaListCategoryBlockResponses, ScheduleCategoryBlockData, ScheduleCategoryBlockError, ScheduleCategoryBlockErrors, ScheduleCategoryBlockResponse, ScheduleCategoryBlockResponses, ScheduleMalwareCategoryBlockData, ScheduleMalwareCategoryBlockError, ScheduleMalwareCategoryBlockErrors, ScheduleMalwareCategoryBlockResponse, ScheduleMalwareCategoryBlockResponses, UpdateExceptionGroupData, UpdateExceptionGroupDomainNoteData, UpdateExceptionGroupDomainNoteError, UpdateExceptionGroupDomainNoteErrors, UpdateExceptionGroupDomainNoteResponse, UpdateExceptionGroupDomainNoteResponses, UpdateExceptionGroupError, UpdateExceptionGroupErrors, UpdateExceptionGroupResponse, UpdateExceptionGroupResponses, UpdatePolicyData, UpdatePolicyError, UpdatePolicyErrors, UpdatePolicyResponse, UpdatePolicyResponses, UpdatePolicySettingsData, UpdatePolicySettingsError, UpdatePolicySettingsErrors, UpdatePolicySettingsResponse, UpdatePolicySettingsResponses } from './types.gen.js';
@@ -1,5 +1,5 @@
1
1
  import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client/index.js';
2
- import type { AddExceptionGroupDomainsData, AddExceptionGroupDomainsErrors, AddExceptionGroupDomainsResponses, AddPolicyExceptionGroupData, AddPolicyExceptionGroupErrors, AddPolicyExceptionGroupResponses, AllowAppBlockerCategoriesData, AllowAppBlockerCategoriesErrors, AllowAppBlockerCategoriesResponses, AllowCategoriesData, AllowCategoriesErrors, AllowCategoriesResponses, AllowCountriesData, AllowCountriesErrors, AllowCountriesResponses, AllowMalwareCategoriesData, AllowMalwareCategoriesErrors, AllowMalwareCategoriesResponses, AllowTldsData, AllowTldsErrors, AllowTldsResponses, BlockAppBlockerCategoriesData, BlockAppBlockerCategoriesErrors, BlockAppBlockerCategoriesResponses, BlockCategoriesData, BlockCategoriesErrors, BlockCategoriesResponses, BlockCountriesData, BlockCountriesErrors, BlockCountriesResponses, BlockMalwareCategoriesData, BlockMalwareCategoriesErrors, BlockMalwareCategoriesResponses, BlockTldsData, BlockTldsErrors, BlockTldsResponses, CreateExceptionGroupData, CreateExceptionGroupErrors, CreateExceptionGroupResponses, CreatePolicyData, CreatePolicyErrors, CreatePolicyResponses, DeleteExceptionGroupData, DeleteExceptionGroupErrors, DeleteExceptionGroupResponses, DeletePolicyData, DeletePolicyErrors, DeletePolicyResponses, DisableDynamicDnsRedirectData, DisableDynamicDnsRedirectErrors, DisableDynamicDnsRedirectResponses, EnableDynamicDnsRedirectData, EnableDynamicDnsRedirectErrors, EnableDynamicDnsRedirectResponses, GetDynamicDnsRedirectData, GetDynamicDnsRedirectErrors, GetDynamicDnsRedirectResponses, GetPolicyData, GetPolicyErrors, GetPolicyResponses, GetPolicySettingsData, GetPolicySettingsErrors, GetPolicySettingsResponses, GetTldData, GetTldErrors, GetTldResponses, ListAppBlockerCategoriesData, ListAppBlockerCategoriesErrors, ListAppBlockerCategoriesResponses, ListAppBlockerCategoryMacrosData, ListAppBlockerCategoryMacrosErrors, ListAppBlockerCategoryMacrosResponses, ListBlockedAppBlockerCategoriesData, ListBlockedAppBlockerCategoriesErrors, ListBlockedAppBlockerCategoriesResponses, ListBlockedCategoriesData, ListBlockedCategoriesErrors, ListBlockedCategoriesResponses, ListBlockedCountriesData, ListBlockedCountriesErrors, ListBlockedCountriesResponses, ListBlockedMalwareCategoriesData, ListBlockedMalwareCategoriesErrors, ListBlockedMalwareCategoriesResponses, ListBlockedTldsData, ListBlockedTldsErrors, ListBlockedTldsResponses, ListCategoriesData, ListCategoriesErrors, ListCategoriesResponses, ListCategoryMacrosData, ListCategoryMacrosErrors, ListCategoryMacrosResponses, ListContinentsData, ListContinentsErrors, ListContinentsResponses, ListCountriesData, ListCountriesErrors, ListCountriesResponses, ListExceptionGroupDomainsData, ListExceptionGroupDomainsErrors, ListExceptionGroupDomainsResponses, ListExceptionGroupsData, ListExceptionGroupsErrors, ListExceptionGroupsResponses, ListMalwareCategoriesData, ListMalwareCategoriesErrors, ListMalwareCategoriesResponses, ListMalwareCategoryMacrosData, ListMalwareCategoryMacrosErrors, ListMalwareCategoryMacrosResponses, ListPoliciesData, ListPoliciesErrors, ListPoliciesResponses, ListPolicyExceptionGroupsData, ListPolicyExceptionGroupsErrors, ListPolicyExceptionGroupsResponses, ListProtectionTemplatesData, ListProtectionTemplatesErrors, ListProtectionTemplatesResponses, ListTemplateCategoriesData, ListTemplateCategoriesErrors, ListTemplateCategoriesResponses, ListTldMacrosData, ListTldMacrosErrors, ListTldMacrosResponses, ListTldsData, ListTldsErrors, ListTldsResponses, RemoveAppBlockerCategoryBlockScheduleData, RemoveAppBlockerCategoryBlockScheduleErrors, RemoveAppBlockerCategoryBlockScheduleResponses, RemoveCategoryBlockScheduleData, RemoveCategoryBlockScheduleErrors, RemoveCategoryBlockScheduleResponses, RemoveExceptionGroupDomainData, RemoveExceptionGroupDomainErrors, RemoveExceptionGroupDomainResponses, RemoveMalwareCategoryBlockScheduleData, RemoveMalwareCategoryBlockScheduleErrors, RemoveMalwareCategoryBlockScheduleResponses, RemovePolicyExceptionGroupData, RemovePolicyExceptionGroupErrors, RemovePolicyExceptionGroupResponses, ScheduleAppBlockerCategoryBlockData, ScheduleAppBlockerCategoryBlockErrors, ScheduleAppBlockerCategoryBlockResponses, ScheduleCategoryBlockData, ScheduleCategoryBlockErrors, ScheduleCategoryBlockResponses, ScheduleMalwareCategoryBlockData, ScheduleMalwareCategoryBlockErrors, ScheduleMalwareCategoryBlockResponses, UpdateExceptionGroupData, UpdateExceptionGroupDomainNoteData, UpdateExceptionGroupDomainNoteErrors, UpdateExceptionGroupDomainNoteResponses, UpdateExceptionGroupErrors, UpdateExceptionGroupResponses, UpdatePolicyData, UpdatePolicyErrors, UpdatePolicyResponses, UpdatePolicySettingsData, UpdatePolicySettingsErrors, UpdatePolicySettingsResponses } from './types.gen.js';
2
+ import type { AddExceptionGroupDomainsData, AddExceptionGroupDomainsErrors, AddExceptionGroupDomainsResponses, AddPolicyExceptionGroupData, AddPolicyExceptionGroupErrors, AddPolicyExceptionGroupResponses, AllowAppBlockerCategoriesData, AllowAppBlockerCategoriesErrors, AllowAppBlockerCategoriesResponses, AllowBetaListCategoriesData, AllowBetaListCategoriesErrors, AllowBetaListCategoriesResponses, AllowCategoriesData, AllowCategoriesErrors, AllowCategoriesResponses, AllowCountriesData, AllowCountriesErrors, AllowCountriesResponses, AllowMalwareCategoriesData, AllowMalwareCategoriesErrors, AllowMalwareCategoriesResponses, AllowTldsData, AllowTldsErrors, AllowTldsResponses, BlockAppBlockerCategoriesData, BlockAppBlockerCategoriesErrors, BlockAppBlockerCategoriesResponses, BlockBetaListCategoriesData, BlockBetaListCategoriesErrors, BlockBetaListCategoriesResponses, BlockCategoriesData, BlockCategoriesErrors, BlockCategoriesResponses, BlockCountriesData, BlockCountriesErrors, BlockCountriesResponses, BlockMalwareCategoriesData, BlockMalwareCategoriesErrors, BlockMalwareCategoriesResponses, BlockTldsData, BlockTldsErrors, BlockTldsResponses, CreateExceptionGroupData, CreateExceptionGroupErrors, CreateExceptionGroupResponses, CreatePolicyData, CreatePolicyErrors, CreatePolicyResponses, DeleteExceptionGroupData, DeleteExceptionGroupErrors, DeleteExceptionGroupResponses, DeletePolicyData, DeletePolicyErrors, DeletePolicyResponses, DisableDynamicDnsRedirectData, DisableDynamicDnsRedirectErrors, DisableDynamicDnsRedirectResponses, EnableDynamicDnsRedirectData, EnableDynamicDnsRedirectErrors, EnableDynamicDnsRedirectResponses, GetDynamicDnsRedirectData, GetDynamicDnsRedirectErrors, GetDynamicDnsRedirectResponses, GetPolicyData, GetPolicyErrors, GetPolicyResponses, GetPolicySettingsData, GetPolicySettingsErrors, GetPolicySettingsResponses, GetTldData, GetTldErrors, GetTldResponses, ListAppBlockerCategoriesData, ListAppBlockerCategoriesErrors, ListAppBlockerCategoriesResponses, ListAppBlockerCategoryMacrosData, ListAppBlockerCategoryMacrosErrors, ListAppBlockerCategoryMacrosResponses, ListBetaListCategoriesData, ListBetaListCategoriesErrors, ListBetaListCategoriesResponses, ListBetaListCategoryMacrosData, ListBetaListCategoryMacrosErrors, ListBetaListCategoryMacrosResponses, ListBlockedAppBlockerCategoriesData, ListBlockedAppBlockerCategoriesErrors, ListBlockedAppBlockerCategoriesResponses, ListBlockedBetaListCategoriesData, ListBlockedBetaListCategoriesErrors, ListBlockedBetaListCategoriesResponses, ListBlockedCategoriesData, ListBlockedCategoriesErrors, ListBlockedCategoriesResponses, ListBlockedCountriesData, ListBlockedCountriesErrors, ListBlockedCountriesResponses, ListBlockedMalwareCategoriesData, ListBlockedMalwareCategoriesErrors, ListBlockedMalwareCategoriesResponses, ListBlockedTldsData, ListBlockedTldsErrors, ListBlockedTldsResponses, ListCategoriesData, ListCategoriesErrors, ListCategoriesResponses, ListCategoryMacrosData, ListCategoryMacrosErrors, ListCategoryMacrosResponses, ListContinentsData, ListContinentsErrors, ListContinentsResponses, ListCountriesData, ListCountriesErrors, ListCountriesResponses, ListExceptionGroupDomainsData, ListExceptionGroupDomainsErrors, ListExceptionGroupDomainsResponses, ListExceptionGroupsData, ListExceptionGroupsErrors, ListExceptionGroupsResponses, ListMalwareCategoriesData, ListMalwareCategoriesErrors, ListMalwareCategoriesResponses, ListMalwareCategoryMacrosData, ListMalwareCategoryMacrosErrors, ListMalwareCategoryMacrosResponses, ListPoliciesData, ListPoliciesErrors, ListPoliciesResponses, ListPolicyExceptionGroupsData, ListPolicyExceptionGroupsErrors, ListPolicyExceptionGroupsResponses, ListProtectionTemplatesData, ListProtectionTemplatesErrors, ListProtectionTemplatesResponses, ListTemplateCategoriesData, ListTemplateCategoriesErrors, ListTemplateCategoriesResponses, ListTldMacrosData, ListTldMacrosErrors, ListTldMacrosResponses, ListTldsData, ListTldsErrors, ListTldsResponses, RemoveAppBlockerCategoryBlockScheduleData, RemoveAppBlockerCategoryBlockScheduleErrors, RemoveAppBlockerCategoryBlockScheduleResponses, RemoveBetaListCategoryBlockScheduleData, RemoveBetaListCategoryBlockScheduleErrors, RemoveBetaListCategoryBlockScheduleResponses, RemoveCategoryBlockScheduleData, RemoveCategoryBlockScheduleErrors, RemoveCategoryBlockScheduleResponses, RemoveExceptionGroupDomainData, RemoveExceptionGroupDomainErrors, RemoveExceptionGroupDomainResponses, RemoveMalwareCategoryBlockScheduleData, RemoveMalwareCategoryBlockScheduleErrors, RemoveMalwareCategoryBlockScheduleResponses, RemovePolicyExceptionGroupData, RemovePolicyExceptionGroupErrors, RemovePolicyExceptionGroupResponses, ScheduleAppBlockerCategoryBlockData, ScheduleAppBlockerCategoryBlockErrors, ScheduleAppBlockerCategoryBlockResponses, ScheduleBetaListCategoryBlockData, ScheduleBetaListCategoryBlockErrors, ScheduleBetaListCategoryBlockResponses, ScheduleCategoryBlockData, ScheduleCategoryBlockErrors, ScheduleCategoryBlockResponses, ScheduleMalwareCategoryBlockData, ScheduleMalwareCategoryBlockErrors, ScheduleMalwareCategoryBlockResponses, UpdateExceptionGroupData, UpdateExceptionGroupDomainNoteData, UpdateExceptionGroupDomainNoteErrors, UpdateExceptionGroupDomainNoteResponses, UpdateExceptionGroupErrors, UpdateExceptionGroupResponses, UpdatePolicyData, UpdatePolicyErrors, UpdatePolicyResponses, UpdatePolicySettingsData, UpdatePolicySettingsErrors, UpdatePolicySettingsResponses } from './types.gen.js';
3
3
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
@@ -119,6 +119,18 @@ export declare class ProtectionSdk extends HeyApiClient {
119
119
  * Block malware categories
120
120
  */
121
121
  blockMalwareCategories<ThrowOnError extends boolean = false>(options: Options<BlockMalwareCategoriesData, ThrowOnError>): RequestResult<BlockMalwareCategoriesResponses, BlockMalwareCategoriesErrors, ThrowOnError>;
122
+ /**
123
+ * Allow beta list categories
124
+ */
125
+ allowBetaListCategories<ThrowOnError extends boolean = false>(options: Options<AllowBetaListCategoriesData, ThrowOnError>): RequestResult<AllowBetaListCategoriesResponses, AllowBetaListCategoriesErrors, ThrowOnError>;
126
+ /**
127
+ * List blocked beta list categories
128
+ */
129
+ listBlockedBetaListCategories<ThrowOnError extends boolean = false>(options: Options<ListBlockedBetaListCategoriesData, ThrowOnError>): RequestResult<ListBlockedBetaListCategoriesResponses, ListBlockedBetaListCategoriesErrors, ThrowOnError>;
130
+ /**
131
+ * Block beta list categories
132
+ */
133
+ blockBetaListCategories<ThrowOnError extends boolean = false>(options: Options<BlockBetaListCategoriesData, ThrowOnError>): RequestResult<BlockBetaListCategoriesResponses, BlockBetaListCategoriesErrors, ThrowOnError>;
122
134
  /**
123
135
  * Schedule a category block
124
136
  */
@@ -143,6 +155,14 @@ export declare class ProtectionSdk extends HeyApiClient {
143
155
  * Remove a malware category block schedule
144
156
  */
145
157
  removeMalwareCategoryBlockSchedule<ThrowOnError extends boolean = false>(options: Options<RemoveMalwareCategoryBlockScheduleData, ThrowOnError>): RequestResult<RemoveMalwareCategoryBlockScheduleResponses, RemoveMalwareCategoryBlockScheduleErrors, ThrowOnError>;
158
+ /**
159
+ * Schedule a beta list category block
160
+ */
161
+ scheduleBetaListCategoryBlock<ThrowOnError extends boolean = false>(options: Options<ScheduleBetaListCategoryBlockData, ThrowOnError>): RequestResult<ScheduleBetaListCategoryBlockResponses, ScheduleBetaListCategoryBlockErrors, ThrowOnError>;
162
+ /**
163
+ * Remove a beta list category block schedule
164
+ */
165
+ removeBetaListCategoryBlockSchedule<ThrowOnError extends boolean = false>(options: Options<RemoveBetaListCategoryBlockScheduleData, ThrowOnError>): RequestResult<RemoveBetaListCategoryBlockScheduleResponses, RemoveBetaListCategoryBlockScheduleErrors, ThrowOnError>;
146
166
  /**
147
167
  * Allow countries
148
168
  */
@@ -191,6 +211,14 @@ export declare class ProtectionSdk extends HeyApiClient {
191
211
  * List malware category macros
192
212
  */
193
213
  listMalwareCategoryMacros<ThrowOnError extends boolean = false>(options?: Options<ListMalwareCategoryMacrosData, ThrowOnError>): RequestResult<ListMalwareCategoryMacrosResponses, ListMalwareCategoryMacrosErrors, ThrowOnError>;
214
+ /**
215
+ * List beta list categories
216
+ */
217
+ listBetaListCategories<ThrowOnError extends boolean = false>(options?: Options<ListBetaListCategoriesData, ThrowOnError>): RequestResult<ListBetaListCategoriesResponses, ListBetaListCategoriesErrors, ThrowOnError>;
218
+ /**
219
+ * List beta list category macros
220
+ */
221
+ listBetaListCategoryMacros<ThrowOnError extends boolean = false>(options?: Options<ListBetaListCategoryMacrosData, ThrowOnError>): RequestResult<ListBetaListCategoryMacrosResponses, ListBetaListCategoryMacrosErrors, ThrowOnError>;
194
222
  /**
195
223
  * List continents with countries
196
224
  */
@@ -286,6 +286,44 @@ export class ProtectionSdk extends HeyApiClient {
286
286
  }
287
287
  });
288
288
  }
289
+ /**
290
+ * Allow beta list categories
291
+ */
292
+ allowBetaListCategories(options) {
293
+ return (options.client ?? this.client).delete({
294
+ security: [{ name: 'x-api-key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
295
+ url: '/v1/policies/{policyId}/betalist/blocked',
296
+ ...options,
297
+ headers: {
298
+ 'Content-Type': 'application/json',
299
+ ...options.headers
300
+ }
301
+ });
302
+ }
303
+ /**
304
+ * List blocked beta list categories
305
+ */
306
+ listBlockedBetaListCategories(options) {
307
+ return (options.client ?? this.client).get({
308
+ security: [{ name: 'x-api-key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
309
+ url: '/v1/policies/{policyId}/betalist/blocked',
310
+ ...options
311
+ });
312
+ }
313
+ /**
314
+ * Block beta list categories
315
+ */
316
+ blockBetaListCategories(options) {
317
+ return (options.client ?? this.client).post({
318
+ security: [{ name: 'x-api-key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
319
+ url: '/v1/policies/{policyId}/betalist/blocked',
320
+ ...options,
321
+ headers: {
322
+ 'Content-Type': 'application/json',
323
+ ...options.headers
324
+ }
325
+ });
326
+ }
289
327
  /**
290
328
  * Schedule a category block
291
329
  */
@@ -358,6 +396,30 @@ export class ProtectionSdk extends HeyApiClient {
358
396
  ...options
359
397
  });
360
398
  }
399
+ /**
400
+ * Schedule a beta list category block
401
+ */
402
+ scheduleBetaListCategoryBlock(options) {
403
+ return (options.client ?? this.client).post({
404
+ security: [{ name: 'x-api-key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
405
+ url: '/v1/policies/{policyId}/betalist/blocked/schedule',
406
+ ...options,
407
+ headers: {
408
+ 'Content-Type': 'application/json',
409
+ ...options.headers
410
+ }
411
+ });
412
+ }
413
+ /**
414
+ * Remove a beta list category block schedule
415
+ */
416
+ removeBetaListCategoryBlockSchedule(options) {
417
+ return (options.client ?? this.client).delete({
418
+ security: [{ name: 'x-api-key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
419
+ url: '/v1/policies/{policyId}/betalist/blocked/schedule/{schedulationId}',
420
+ ...options
421
+ });
422
+ }
361
423
  /**
362
424
  * Allow countries
363
425
  */
@@ -494,6 +556,26 @@ export class ProtectionSdk extends HeyApiClient {
494
556
  ...options
495
557
  });
496
558
  }
559
+ /**
560
+ * List beta list categories
561
+ */
562
+ listBetaListCategories(options) {
563
+ return (options?.client ?? this.client).get({
564
+ security: [{ name: 'x-api-key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
565
+ url: '/v1/betalist/categories',
566
+ ...options
567
+ });
568
+ }
569
+ /**
570
+ * List beta list category macros
571
+ */
572
+ listBetaListCategoryMacros(options) {
573
+ return (options?.client ?? this.client).get({
574
+ security: [{ name: 'x-api-key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
575
+ url: '/v1/betalist/macros',
576
+ ...options
577
+ });
578
+ }
497
579
  /**
498
580
  * List continents with countries
499
581
  */
@@ -990,6 +990,149 @@ export type BlockMalwareCategoriesResponses = {
990
990
  };
991
991
  };
992
992
  export type BlockMalwareCategoriesResponse = BlockMalwareCategoriesResponses[keyof BlockMalwareCategoriesResponses];
993
+ export type AllowBetaListCategoriesData = {
994
+ body: {
995
+ categoryIds: Array<string>;
996
+ };
997
+ path: {
998
+ policyId: string;
999
+ };
1000
+ query?: never;
1001
+ url: '/v1/policies/{policyId}/betalist/blocked';
1002
+ };
1003
+ export type AllowBetaListCategoriesErrors = {
1004
+ /**
1005
+ * Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
1006
+ */
1007
+ 401: MissingCredentialsErrorBody | FlashStartErrorBody;
1008
+ /**
1009
+ * Insufficient permission
1010
+ */
1011
+ 403: FlashStartErrorBody;
1012
+ /**
1013
+ * Resource not found
1014
+ */
1015
+ 404: FlashStartErrorBody;
1016
+ /**
1017
+ * Request validation failed
1018
+ */
1019
+ 422: FlashStartErrorBody;
1020
+ /**
1021
+ * Internal server error
1022
+ */
1023
+ 500: FlashStartErrorBody;
1024
+ };
1025
+ export type AllowBetaListCategoriesError = AllowBetaListCategoriesErrors[keyof AllowBetaListCategoriesErrors];
1026
+ export type AllowBetaListCategoriesResponses = {
1027
+ /**
1028
+ * Per-category results
1029
+ */
1030
+ 207: {
1031
+ errors: Array<{
1032
+ code: string;
1033
+ message?: string;
1034
+ details?: unknown;
1035
+ }>;
1036
+ successes: Array<{
1037
+ categoryId: string;
1038
+ policyId: string;
1039
+ }>;
1040
+ };
1041
+ };
1042
+ export type AllowBetaListCategoriesResponse = AllowBetaListCategoriesResponses[keyof AllowBetaListCategoriesResponses];
1043
+ export type ListBlockedBetaListCategoriesData = {
1044
+ body?: never;
1045
+ path: {
1046
+ policyId: string;
1047
+ };
1048
+ query?: never;
1049
+ url: '/v1/policies/{policyId}/betalist/blocked';
1050
+ };
1051
+ export type ListBlockedBetaListCategoriesErrors = {
1052
+ /**
1053
+ * Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
1054
+ */
1055
+ 401: MissingCredentialsErrorBody | FlashStartErrorBody;
1056
+ /**
1057
+ * Insufficient permission
1058
+ */
1059
+ 403: FlashStartErrorBody;
1060
+ /**
1061
+ * Resource not found
1062
+ */
1063
+ 404: FlashStartErrorBody;
1064
+ /**
1065
+ * Internal server error
1066
+ */
1067
+ 500: FlashStartErrorBody;
1068
+ };
1069
+ export type ListBlockedBetaListCategoriesError = ListBlockedBetaListCategoriesErrors[keyof ListBlockedBetaListCategoriesErrors];
1070
+ export type ListBlockedBetaListCategoriesResponses = {
1071
+ /**
1072
+ * Blocked categories
1073
+ */
1074
+ 200: Array<{
1075
+ categoryId: string;
1076
+ policyId: string;
1077
+ timeBlocks: Array<{
1078
+ day: number;
1079
+ from: string;
1080
+ to: string;
1081
+ id: string;
1082
+ }>;
1083
+ }>;
1084
+ };
1085
+ export type ListBlockedBetaListCategoriesResponse = ListBlockedBetaListCategoriesResponses[keyof ListBlockedBetaListCategoriesResponses];
1086
+ export type BlockBetaListCategoriesData = {
1087
+ body: {
1088
+ categoryIds: Array<string>;
1089
+ };
1090
+ path: {
1091
+ policyId: string;
1092
+ };
1093
+ query?: never;
1094
+ url: '/v1/policies/{policyId}/betalist/blocked';
1095
+ };
1096
+ export type BlockBetaListCategoriesErrors = {
1097
+ /**
1098
+ * Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
1099
+ */
1100
+ 401: MissingCredentialsErrorBody | FlashStartErrorBody;
1101
+ /**
1102
+ * Insufficient permission
1103
+ */
1104
+ 403: FlashStartErrorBody;
1105
+ /**
1106
+ * Resource not found
1107
+ */
1108
+ 404: FlashStartErrorBody;
1109
+ /**
1110
+ * Request validation failed
1111
+ */
1112
+ 422: FlashStartErrorBody;
1113
+ /**
1114
+ * Internal server error
1115
+ */
1116
+ 500: FlashStartErrorBody;
1117
+ };
1118
+ export type BlockBetaListCategoriesError = BlockBetaListCategoriesErrors[keyof BlockBetaListCategoriesErrors];
1119
+ export type BlockBetaListCategoriesResponses = {
1120
+ /**
1121
+ * Per-category results
1122
+ */
1123
+ 207: {
1124
+ errors: Array<{
1125
+ code: string;
1126
+ message?: string;
1127
+ details?: unknown;
1128
+ }>;
1129
+ successes: Array<{
1130
+ categoryId: string;
1131
+ policyId: string;
1132
+ }>;
1133
+ };
1134
+ };
1135
+ export type BlockBetaListCategoriesResponse = BlockBetaListCategoriesResponses[keyof BlockBetaListCategoriesResponses];
993
1136
  export type ScheduleCategoryBlockData = {
994
1137
  body: {
995
1138
  categoryId: string;
@@ -1272,6 +1415,100 @@ export type RemoveMalwareCategoryBlockScheduleResponses = {
1272
1415
  };
1273
1416
  };
1274
1417
  export type RemoveMalwareCategoryBlockScheduleResponse = RemoveMalwareCategoryBlockScheduleResponses[keyof RemoveMalwareCategoryBlockScheduleResponses];
1418
+ export type ScheduleBetaListCategoryBlockData = {
1419
+ body: {
1420
+ categoryId: string;
1421
+ blockSchedulation: Array<{
1422
+ day: number;
1423
+ from: string;
1424
+ to: string;
1425
+ }>;
1426
+ };
1427
+ path: {
1428
+ policyId: string;
1429
+ };
1430
+ query?: never;
1431
+ url: '/v1/policies/{policyId}/betalist/blocked/schedule';
1432
+ };
1433
+ export type ScheduleBetaListCategoryBlockErrors = {
1434
+ /**
1435
+ * Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
1436
+ */
1437
+ 401: MissingCredentialsErrorBody | FlashStartErrorBody;
1438
+ /**
1439
+ * Insufficient permission
1440
+ */
1441
+ 403: FlashStartErrorBody;
1442
+ /**
1443
+ * Resource not found
1444
+ */
1445
+ 404: FlashStartErrorBody;
1446
+ /**
1447
+ * Request validation failed
1448
+ */
1449
+ 422: FlashStartErrorBody;
1450
+ /**
1451
+ * Internal server error
1452
+ */
1453
+ 500: FlashStartErrorBody;
1454
+ };
1455
+ export type ScheduleBetaListCategoryBlockError = ScheduleBetaListCategoryBlockErrors[keyof ScheduleBetaListCategoryBlockErrors];
1456
+ export type ScheduleBetaListCategoryBlockResponses = {
1457
+ /**
1458
+ * Created category schedules
1459
+ */
1460
+ 201: Array<{
1461
+ day: number;
1462
+ from: string;
1463
+ to: string;
1464
+ categoryId: string;
1465
+ id: string;
1466
+ policyId: string;
1467
+ }>;
1468
+ };
1469
+ export type ScheduleBetaListCategoryBlockResponse = ScheduleBetaListCategoryBlockResponses[keyof ScheduleBetaListCategoryBlockResponses];
1470
+ export type RemoveBetaListCategoryBlockScheduleData = {
1471
+ body?: never;
1472
+ path: {
1473
+ policyId: string;
1474
+ schedulationId: string;
1475
+ };
1476
+ query?: never;
1477
+ url: '/v1/policies/{policyId}/betalist/blocked/schedule/{schedulationId}';
1478
+ };
1479
+ export type RemoveBetaListCategoryBlockScheduleErrors = {
1480
+ /**
1481
+ * Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
1482
+ */
1483
+ 401: MissingCredentialsErrorBody | FlashStartErrorBody;
1484
+ /**
1485
+ * Insufficient permission
1486
+ */
1487
+ 403: FlashStartErrorBody;
1488
+ /**
1489
+ * Resource not found
1490
+ */
1491
+ 404: FlashStartErrorBody;
1492
+ /**
1493
+ * Internal server error
1494
+ */
1495
+ 500: FlashStartErrorBody;
1496
+ };
1497
+ export type RemoveBetaListCategoryBlockScheduleError = RemoveBetaListCategoryBlockScheduleErrors[keyof RemoveBetaListCategoryBlockScheduleErrors];
1498
+ export type RemoveBetaListCategoryBlockScheduleResponses = {
1499
+ /**
1500
+ * Removed category schedule
1501
+ */
1502
+ 200: {
1503
+ day: number;
1504
+ from: string;
1505
+ to: string;
1506
+ categoryId: string;
1507
+ id: string;
1508
+ policyId: string;
1509
+ };
1510
+ };
1511
+ export type RemoveBetaListCategoryBlockScheduleResponse = RemoveBetaListCategoryBlockScheduleResponses[keyof RemoveBetaListCategoryBlockScheduleResponses];
1275
1512
  export type AllowCountriesData = {
1276
1513
  body: {
1277
1514
  countryIds: Array<string>;
@@ -1636,7 +1873,7 @@ export type ListCategoryMacrosResponses = {
1636
1873
  200: Array<{
1637
1874
  id: string;
1638
1875
  name: string;
1639
- protectionModule: 'content_filter' | 'malware_protection' | 'app_blocker';
1876
+ protectionModule: 'content_filter' | 'malware_protection' | 'app_blocker' | 'beta_list';
1640
1877
  categories: Array<{
1641
1878
  code: string;
1642
1879
  id: string;
@@ -1721,7 +1958,7 @@ export type ListAppBlockerCategoryMacrosResponses = {
1721
1958
  200: Array<{
1722
1959
  id: string;
1723
1960
  name: string;
1724
- protectionModule: 'content_filter' | 'malware_protection' | 'app_blocker';
1961
+ protectionModule: 'content_filter' | 'malware_protection' | 'app_blocker' | 'beta_list';
1725
1962
  categories: Array<{
1726
1963
  code: string;
1727
1964
  id: string;
@@ -1806,7 +2043,7 @@ export type ListMalwareCategoryMacrosResponses = {
1806
2043
  200: Array<{
1807
2044
  id: string;
1808
2045
  name: string;
1809
- protectionModule: 'content_filter' | 'malware_protection' | 'app_blocker';
2046
+ protectionModule: 'content_filter' | 'malware_protection' | 'app_blocker' | 'beta_list';
1810
2047
  categories: Array<{
1811
2048
  code: string;
1812
2049
  id: string;
@@ -1816,6 +2053,91 @@ export type ListMalwareCategoryMacrosResponses = {
1816
2053
  }>;
1817
2054
  };
1818
2055
  export type ListMalwareCategoryMacrosResponse = ListMalwareCategoryMacrosResponses[keyof ListMalwareCategoryMacrosResponses];
2056
+ export type ListBetaListCategoriesData = {
2057
+ body?: never;
2058
+ path?: never;
2059
+ query?: {
2060
+ organizationId?: string;
2061
+ lang?: string;
2062
+ };
2063
+ url: '/v1/betalist/categories';
2064
+ };
2065
+ export type ListBetaListCategoriesErrors = {
2066
+ /**
2067
+ * Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
2068
+ */
2069
+ 401: MissingCredentialsErrorBody | FlashStartErrorBody;
2070
+ /**
2071
+ * Insufficient permission
2072
+ */
2073
+ 403: FlashStartErrorBody;
2074
+ /**
2075
+ * Resource not found
2076
+ */
2077
+ 404: FlashStartErrorBody;
2078
+ /**
2079
+ * Internal server error
2080
+ */
2081
+ 500: FlashStartErrorBody;
2082
+ };
2083
+ export type ListBetaListCategoriesError = ListBetaListCategoriesErrors[keyof ListBetaListCategoriesErrors];
2084
+ export type ListBetaListCategoriesResponses = {
2085
+ /**
2086
+ * Categories
2087
+ */
2088
+ 200: Array<{
2089
+ code: string;
2090
+ id: string;
2091
+ macroCategoryId: string;
2092
+ name: string;
2093
+ }>;
2094
+ };
2095
+ export type ListBetaListCategoriesResponse = ListBetaListCategoriesResponses[keyof ListBetaListCategoriesResponses];
2096
+ export type ListBetaListCategoryMacrosData = {
2097
+ body?: never;
2098
+ path?: never;
2099
+ query?: {
2100
+ organizationId?: string;
2101
+ lang?: string;
2102
+ };
2103
+ url: '/v1/betalist/macros';
2104
+ };
2105
+ export type ListBetaListCategoryMacrosErrors = {
2106
+ /**
2107
+ * Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
2108
+ */
2109
+ 401: MissingCredentialsErrorBody | FlashStartErrorBody;
2110
+ /**
2111
+ * Insufficient permission
2112
+ */
2113
+ 403: FlashStartErrorBody;
2114
+ /**
2115
+ * Resource not found
2116
+ */
2117
+ 404: FlashStartErrorBody;
2118
+ /**
2119
+ * Internal server error
2120
+ */
2121
+ 500: FlashStartErrorBody;
2122
+ };
2123
+ export type ListBetaListCategoryMacrosError = ListBetaListCategoryMacrosErrors[keyof ListBetaListCategoryMacrosErrors];
2124
+ export type ListBetaListCategoryMacrosResponses = {
2125
+ /**
2126
+ * Macro categories
2127
+ */
2128
+ 200: Array<{
2129
+ id: string;
2130
+ name: string;
2131
+ protectionModule: 'content_filter' | 'malware_protection' | 'app_blocker' | 'beta_list';
2132
+ categories: Array<{
2133
+ code: string;
2134
+ id: string;
2135
+ macroCategoryId: string;
2136
+ name: string;
2137
+ }>;
2138
+ }>;
2139
+ };
2140
+ export type ListBetaListCategoryMacrosResponse = ListBetaListCategoryMacrosResponses[keyof ListBetaListCategoryMacrosResponses];
1819
2141
  export type ListContinentsData = {
1820
2142
  body?: never;
1821
2143
  path?: never;
@@ -1,2 +1,2 @@
1
1
  export { type Options, ReportSdk } from './sdk.gen.js';
2
- export type { ClientOptions, FlashStartErrorBody, GetCustomersReportDashboardData, GetCustomersReportDashboardError, GetCustomersReportDashboardErrors, GetCustomersReportDashboardResponse, GetCustomersReportDashboardResponses, GetHistoricalDnsLogsData, GetHistoricalDnsLogsError, GetHistoricalDnsLogsErrors, GetHistoricalDnsLogsResponse, GetHistoricalDnsLogsResponses, GetStatisticsData, GetStatisticsError, GetStatisticsErrors, GetStatisticsResponse, GetStatisticsResponses, GetTopCategoriesData, GetTopCategoriesError, GetTopCategoriesErrors, GetTopCategoriesResponse, GetTopCategoriesResponses, GetTopDomainsByCategoryData, GetTopDomainsByCategoryError, GetTopDomainsByCategoryErrors, GetTopDomainsByCategoryResponse, GetTopDomainsByCategoryResponses, GetTopDomainsData, GetTopDomainsError, GetTopDomainsErrors, GetTopDomainsResponse, GetTopDomainsResponses, MissingCredentialsErrorBody } from './types.gen.js';
2
+ export type { ClientOptions, FlashStartErrorBody, GetCustomersReportDashboardData, GetCustomersReportDashboardError, GetCustomersReportDashboardErrors, GetCustomersReportDashboardResponse, GetCustomersReportDashboardResponses, GetHistoricalDnsLogsData, GetHistoricalDnsLogsError, GetHistoricalDnsLogsErrors, GetHistoricalDnsLogsResponse, GetHistoricalDnsLogsResponses, GetRequestsPerEdnsData, GetRequestsPerEdnsError, GetRequestsPerEdnsErrors, GetRequestsPerEdnsResponse, GetRequestsPerEdnsResponses, GetStatisticsData, GetStatisticsError, GetStatisticsErrors, GetStatisticsResponse, GetStatisticsResponses, GetTopCategoriesData, GetTopCategoriesError, GetTopCategoriesErrors, GetTopCategoriesResponse, GetTopCategoriesResponses, GetTopDomainsByCategoryData, GetTopDomainsByCategoryError, GetTopDomainsByCategoryErrors, GetTopDomainsByCategoryResponse, GetTopDomainsByCategoryResponses, GetTopDomainsData, GetTopDomainsError, GetTopDomainsErrors, GetTopDomainsResponse, GetTopDomainsResponses, MissingCredentialsErrorBody } from './types.gen.js';
@@ -1,5 +1,5 @@
1
1
  import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client/index.js';
2
- import type { GetCustomersReportDashboardData, GetCustomersReportDashboardErrors, GetCustomersReportDashboardResponses, GetHistoricalDnsLogsData, GetHistoricalDnsLogsErrors, GetHistoricalDnsLogsResponses, GetStatisticsData, GetStatisticsErrors, GetStatisticsResponses, GetTopCategoriesData, GetTopCategoriesErrors, GetTopCategoriesResponses, GetTopDomainsByCategoryData, GetTopDomainsByCategoryErrors, GetTopDomainsByCategoryResponses, GetTopDomainsData, GetTopDomainsErrors, GetTopDomainsResponses } from './types.gen.js';
2
+ import type { GetCustomersReportDashboardData, GetCustomersReportDashboardErrors, GetCustomersReportDashboardResponses, GetHistoricalDnsLogsData, GetHistoricalDnsLogsErrors, GetHistoricalDnsLogsResponses, GetRequestsPerEdnsData, GetRequestsPerEdnsErrors, GetRequestsPerEdnsResponses, GetStatisticsData, GetStatisticsErrors, GetStatisticsResponses, GetTopCategoriesData, GetTopCategoriesErrors, GetTopCategoriesResponses, GetTopDomainsByCategoryData, GetTopDomainsByCategoryErrors, GetTopDomainsByCategoryResponses, GetTopDomainsData, GetTopDomainsErrors, GetTopDomainsResponses } from './types.gen.js';
3
3
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
@@ -55,5 +55,9 @@ export declare class ReportSdk extends HeyApiClient {
55
55
  * Search historical DNS logs
56
56
  */
57
57
  getHistoricalDnsLogs<ThrowOnError extends boolean = false>(options: Options<GetHistoricalDnsLogsData, ThrowOnError>): RequestResult<GetHistoricalDnsLogsResponses, GetHistoricalDnsLogsErrors, ThrowOnError>;
58
+ /**
59
+ * Get requests per EDNS report
60
+ */
61
+ getRequestsPerEdns<ThrowOnError extends boolean = false>(options: Options<GetRequestsPerEdnsData, ThrowOnError>): RequestResult<GetRequestsPerEdnsResponses, GetRequestsPerEdnsErrors, ThrowOnError>;
58
62
  }
59
63
  export {};
@@ -86,4 +86,14 @@ export class ReportSdk extends HeyApiClient {
86
86
  ...options
87
87
  });
88
88
  }
89
+ /**
90
+ * Get requests per EDNS report
91
+ */
92
+ getRequestsPerEdns(options) {
93
+ return (options.client ?? this.client).get({
94
+ security: [{ name: 'x-api-key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
95
+ url: '/v1/edns',
96
+ ...options
97
+ });
98
+ }
89
99
  }
@@ -387,3 +387,69 @@ export type GetHistoricalDnsLogsResponses = {
387
387
  }>;
388
388
  };
389
389
  export type GetHistoricalDnsLogsResponse = GetHistoricalDnsLogsResponses[keyof GetHistoricalDnsLogsResponses];
390
+ export type GetRequestsPerEdnsData = {
391
+ body?: never;
392
+ path?: never;
393
+ query: {
394
+ categoryIds?: string | Array<string>;
395
+ limit?: number;
396
+ networkIds?: string | Array<string>;
397
+ organizationIds?: string | Array<string>;
398
+ start: string;
399
+ end: string;
400
+ };
401
+ url: '/v1/edns';
402
+ };
403
+ export type GetRequestsPerEdnsErrors = {
404
+ /**
405
+ * Unauthorized
406
+ */
407
+ 401: MissingCredentialsErrorBody | FlashStartErrorBody;
408
+ /**
409
+ * Forbidden
410
+ */
411
+ 403: FlashStartErrorBody;
412
+ /**
413
+ * Not found
414
+ */
415
+ 404: FlashStartErrorBody;
416
+ /**
417
+ * Invalid request
418
+ */
419
+ 422: FlashStartErrorBody;
420
+ /**
421
+ * Internal server error
422
+ */
423
+ 500: FlashStartErrorBody;
424
+ };
425
+ export type GetRequestsPerEdnsError = GetRequestsPerEdnsErrors[keyof GetRequestsPerEdnsErrors];
426
+ export type GetRequestsPerEdnsResponses = {
427
+ /**
428
+ * Requests per EDNS report
429
+ */
430
+ 200: {
431
+ edns: Array<{
432
+ allowed: number;
433
+ blocked: number;
434
+ requests: number;
435
+ unresolved: number;
436
+ ednsTag: string;
437
+ networkId: string;
438
+ organizationId: string;
439
+ }>;
440
+ filters: {
441
+ categoryIds?: Array<string>;
442
+ end: string;
443
+ granularity?: 'hourly' | 'daily' | 'monthly';
444
+ limit?: number;
445
+ metric?: 'blocked' | 'unresolved' | 'allowed' | 'requests';
446
+ networkIds?: Array<string>;
447
+ organizationIds?: Array<string>;
448
+ policyIds?: Array<string>;
449
+ protectionModule?: 'content_filter' | 'malware_protection' | 'app_blocker';
450
+ reason?: 'ip_blocker';
451
+ start: string;
452
+ };
453
+ };
454
+ };
455
+ export type GetRequestsPerEdnsResponse = GetRequestsPerEdnsResponses[keyof GetRequestsPerEdnsResponses];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flashstart/client",
3
- "version": "8.11.2",
3
+ "version": "8.12.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "engines": {
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "devDependencies": {
25
25
  "@hey-api/openapi-ts": "0.99.0",
26
- "@repo/typescript-config": "8.11.2",
27
- "tsx": "4.23.12",
26
+ "@repo/typescript-config": "8.12.0",
27
+ "tsx": "4.23.13",
28
28
  "typescript": "6.0.3"
29
29
  },
30
30
  "scripts": {