Hierarchy

  • SecurityProfiles

Properties

impersonating: boolean = false

Methods

  • Delete a security profile. Check out the docs for more info

    Parameters

    • securityProfileID: string

      ID of the security profile.

    • requestOptions: RequestOptions = {}

    Returns Promise<void>

  • Delete a security profile assignment. Check out the docs for more info

    Parameters

    • securityProfileID: string

      ID of the security profile.

    • listOptions: {
          buyerID?: string;
          supplierID?: string;
          userGroupID?: string;
          userID?: string;
      } = {}
      • Optional buyerID?: string

        ID of the buyer.

      • Optional supplierID?: string

        ID of the supplier.

      • Optional userGroupID?: string

        ID of the user group.

      • Optional userID?: string

        ID of the user.

    • requestOptions: RequestOptions = {}

    Returns Promise<void>

  • Get a list of security profiles. Check out the docs for more info

    Type Parameters

    Parameters

    • listOptions: {
          filters?: Filters;
          page?: number;
          pageSize?: number;
          search?: string;
          searchOn?: ("ID" | "Name")[];
          sortBy?: ("ID" | "Name" | "!ID" | "!Name")[];
      } = {}
      • Optional filters?: Filters

        An object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'

      • Optional page?: number

        Page of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.

      • Optional pageSize?: number

        Number of results to return per page. Default: 20, max: 100.

      • Optional search?: string

        Word or phrase to search for.

      • Optional searchOn?: ("ID" | "Name")[]

        Comma-delimited list of fields to search on.

      • Optional sortBy?: ("ID" | "Name" | "!ID" | "!Name")[]

        Comma-delimited list of fields to sort by.

    • requestOptions: RequestOptions = {}

    Returns Promise<RequiredObjectDeep<ListPage<TSecurityProfile>>>

  • Get a list of security profile assignments. Check out the docs for more info

    Type Parameters

    Parameters

    • listOptions: {
          buyerID?: string;
          commerceRole?: CommerceRole;
          level?: PartyType;
          page?: number;
          pageSize?: number;
          securityProfileID?: string;
          supplierID?: string;
          userGroupID?: string;
          userID?: string;
      } = {}
      • Optional buyerID?: string

        ID of the buyer.

      • Optional commerceRole?: CommerceRole

        Commerce role of the security profile assignment. Possible values: Buyer, Seller, Supplier.

      • Optional level?: PartyType

        Level of the security profile assignment. Possible values: User, Group, Company.

      • Optional page?: number

        Page of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.

      • Optional pageSize?: number

        Number of results to return per page. Default: 20, max: 100.

      • Optional securityProfileID?: string

        ID of the security profile.

      • Optional supplierID?: string

        ID of the supplier.

      • Optional userGroupID?: string

        ID of the user group.

      • Optional userID?: string

        ID of the user.

    • requestOptions: RequestOptions = {}

    Returns Promise<RequiredObjectDeep<ListPage<TSecurityProfileAssignment>>>

Generated using TypeDoc