Retrieves a shield information barrier segment member by its ID.
This operation is performed by calling function getShieldInformationBarrierSegmentMemberById.
See the endpoint docs at API Reference.
await client.shieldInformationBarrierSegmentMembers.getShieldInformationBarrierSegmentMemberById(
segmentMember.id!,
);
string
GetShieldInformationBarrierSegmentMemberByIdOptionalsInputThis function returns a value of type ShieldInformationBarrierSegmentMember.
Returns the shield information barrier segment member object.
Deletes a shield information barrier segment member based on provided ID.
This operation is performed by calling function deleteShieldInformationBarrierSegmentMemberById.
See the endpoint docs at API Reference.
await client.shieldInformationBarrierSegmentMembers.deleteShieldInformationBarrierSegmentMemberById(
segmentMember.id!,
);
string
DeleteShieldInformationBarrierSegmentMemberByIdOptionalsInputThis function returns a value of type undefined.
Returns an empty response if the segment member was deleted successfully.
Lists shield information barrier segment members based on provided segment IDs.
This operation is performed by calling function getShieldInformationBarrierSegmentMembers.
See the endpoint docs at API Reference.
await client.shieldInformationBarrierSegmentMembers.getShieldInformationBarrierSegmentMembers(
{
shieldInformationBarrierSegmentId: segment.id!,
} satisfies GetShieldInformationBarrierSegmentMembersQueryParams,
);
GetShieldInformationBarrierSegmentMembersQueryParams
GetShieldInformationBarrierSegmentMembersOptionalsInputThis function returns a value of type ShieldInformationBarrierSegmentMembers.
Returns a paginated list of shield information barrier segment member objects.
Creates a new shield information barrier segment member.
This operation is performed by calling function createShieldInformationBarrierSegmentMember.
See the endpoint docs at API Reference.
await client.shieldInformationBarrierSegmentMembers.createShieldInformationBarrierSegmentMember(
{
shieldInformationBarrierSegment: {
id: segment.id!,
type: 'shield_information_barrier_segment' as CreateShieldInformationBarrierSegmentMemberRequestBodyShieldInformationBarrierSegmentTypeField,
} satisfies CreateShieldInformationBarrierSegmentMemberRequestBodyShieldInformationBarrierSegmentField,
user: new UserBase({ id: getEnvVar('USER_ID') }),
} satisfies CreateShieldInformationBarrierSegmentMemberRequestBody,
);
CreateShieldInformationBarrierSegmentMemberRequestBody
CreateShieldInformationBarrierSegmentMemberOptionalsInputThis function returns a value of type ShieldInformationBarrierSegmentMember.
Returns a new shield information barrier segment member object.