Class SeamHttpAccessCodesSimulate

Constructors

Properties

client: AxiosInstance
defaults: Required<SeamHttpRequestOptions>

Methods

  • Parameters

    • Optionalbody: {
          code: string;
          device_id: string;
          name: string;
      }
      • code: string
      • device_id: string
      • name: string

    Returns SeamHttpRequest<SetNonNullable<Required<{
        access_code: {
            access_code_id: string;
            code: null | string;
            created_at: string;
            device_id: string;
            ends_at?: null | string;
            errors: ({
                error_code: string;
                is_access_code_error: true;
                message: string;
            } | {
                error_code: string;
                is_device_error: true;
                message: string;
            } | {
                error_code: string;
                is_connected_account_error: true;
                message: string;
            })[];
            is_managed: false;
            name: null | string;
            starts_at?: null | string;
            status: "set";
            type: "time_bound" | "ongoing";
            warnings: {
                message: string;
                warning_code: string;
            }[];
        };
    }>, "access_code">, "access_code">

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>