PushNotificationsApi - factory interface export

  • Parameters

    • Optionalconfiguration: Configuration
    • OptionalbasePath: string
    • Optionalaxios: AxiosInstance

    Returns {
        apiPushNotificationsIdDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
        apiPushNotificationsIdPut(id: string, deviceRegistration?: DeviceRegistration, options?: RawAxiosRequestConfig): AxiosPromise<void>;
        apiPushNotificationsPost(pns?: string, toTag?: string, body?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
        usernameUserNameDelete(userName: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    }

    • apiPushNotificationsIdDelete:function
      • summary delete device registration

        Parameters

        • id: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<void>

    • apiPushNotificationsIdPut:function
      • summary This creates or updates a registration (with provided channelURI) at the specified id

        Parameters

        • id: string
        • OptionaldeviceRegistration: DeviceRegistration
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<void>

    • apiPushNotificationsPost:function
      • summary Push notification to device

        Parameters

        • Optionalpns: string
        • OptionaltoTag: string
        • Optionalbody: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<void>

    • usernameUserNameDelete:function
      • summary

        Parameters

        • userName: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<void>