Worker build updates
This commit is contained in:
parent
45c80ca98a
commit
0cf1c3b8fd
64 changed files with 4216 additions and 3450 deletions
|
|
@ -5,64 +5,69 @@
|
|||
* This is the Signal Cli REST API documentation.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
import { mapValues } from "../runtime.js";
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface ApiSendMessageError
|
||||
*/
|
||||
export interface ApiSendMessageError {
|
||||
/**
|
||||
*
|
||||
* @type {Array<string>}
|
||||
* @memberof ApiSendMessageError
|
||||
*/
|
||||
challengeTokens?: Array<string>;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiSendMessageError
|
||||
*/
|
||||
error?: string;
|
||||
/**
|
||||
*
|
||||
* @type {Array<string>}
|
||||
* @memberof ApiSendMessageError
|
||||
*/
|
||||
challengeTokens?: Array<string>;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiSendMessageError
|
||||
*/
|
||||
error?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the ApiSendMessageError interface.
|
||||
*/
|
||||
export function instanceOfApiSendMessageError(value: object): value is ApiSendMessageError {
|
||||
return true;
|
||||
export function instanceOfApiSendMessageError(
|
||||
value: object,
|
||||
): value is ApiSendMessageError {
|
||||
return true;
|
||||
}
|
||||
|
||||
export function ApiSendMessageErrorFromJSON(json: any): ApiSendMessageError {
|
||||
return ApiSendMessageErrorFromJSONTyped(json, false);
|
||||
return ApiSendMessageErrorFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ApiSendMessageErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiSendMessageError {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'challengeTokens': json['challenge_tokens'] == null ? undefined : json['challenge_tokens'],
|
||||
'error': json['error'] == null ? undefined : json['error'],
|
||||
};
|
||||
export function ApiSendMessageErrorFromJSONTyped(
|
||||
json: any,
|
||||
ignoreDiscriminator: boolean,
|
||||
): ApiSendMessageError {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
challengeTokens:
|
||||
json["challenge_tokens"] == null ? undefined : json["challenge_tokens"],
|
||||
error: json["error"] == null ? undefined : json["error"],
|
||||
};
|
||||
}
|
||||
|
||||
export function ApiSendMessageErrorToJSON(value?: ApiSendMessageError | null): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
|
||||
'challenge_tokens': value['challengeTokens'],
|
||||
'error': value['error'],
|
||||
};
|
||||
export function ApiSendMessageErrorToJSON(
|
||||
value?: ApiSendMessageError | null,
|
||||
): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
challenge_tokens: value["challengeTokens"],
|
||||
error: value["error"],
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue