PushNotificationsApi - axios parameter creator export

  • Parameters

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

    • apiPushNotificationsIdDelete: ((id: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary delete device registration

        • (id, options?): Promise<RequestArgs>
        • Parameters

          • id: string
          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • apiPushNotificationsIdPut: ((id: string, deviceRegistration?: DeviceRegistration, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

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

        • (id, deviceRegistration?, options?): Promise<RequestArgs>
        • Parameters

          • id: string
          • OptionaldeviceRegistration: DeviceRegistration
          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • apiPushNotificationsPost: ((pns?: string, toTag?: string, body?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary Push notification to device

        • (pns?, toTag?, body?, options?): Promise<RequestArgs>
        • Parameters

          • Optionalpns: string
          • OptionaltoTag: string
          • Optionalbody: string
          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • usernameUserNameDelete: ((userName: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary

        • (userName, options?): Promise<RequestArgs>
        • Parameters

          • userName: string
          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>