Worker build updates
This commit is contained in:
parent
45c80ca98a
commit
0cf1c3b8fd
64 changed files with 4216 additions and 3450 deletions
|
|
@ -5,64 +5,70 @@
|
|||
* 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 ApiRegisterNumberRequest
|
||||
*/
|
||||
export interface ApiRegisterNumberRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiRegisterNumberRequest
|
||||
*/
|
||||
captcha?: string;
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof ApiRegisterNumberRequest
|
||||
*/
|
||||
useVoice?: boolean;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiRegisterNumberRequest
|
||||
*/
|
||||
captcha?: string;
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof ApiRegisterNumberRequest
|
||||
*/
|
||||
useVoice?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the ApiRegisterNumberRequest interface.
|
||||
*/
|
||||
export function instanceOfApiRegisterNumberRequest(value: object): value is ApiRegisterNumberRequest {
|
||||
return true;
|
||||
export function instanceOfApiRegisterNumberRequest(
|
||||
value: object,
|
||||
): value is ApiRegisterNumberRequest {
|
||||
return true;
|
||||
}
|
||||
|
||||
export function ApiRegisterNumberRequestFromJSON(json: any): ApiRegisterNumberRequest {
|
||||
return ApiRegisterNumberRequestFromJSONTyped(json, false);
|
||||
export function ApiRegisterNumberRequestFromJSON(
|
||||
json: any,
|
||||
): ApiRegisterNumberRequest {
|
||||
return ApiRegisterNumberRequestFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ApiRegisterNumberRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiRegisterNumberRequest {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'captcha': json['captcha'] == null ? undefined : json['captcha'],
|
||||
'useVoice': json['use_voice'] == null ? undefined : json['use_voice'],
|
||||
};
|
||||
export function ApiRegisterNumberRequestFromJSONTyped(
|
||||
json: any,
|
||||
ignoreDiscriminator: boolean,
|
||||
): ApiRegisterNumberRequest {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
captcha: json["captcha"] == null ? undefined : json["captcha"],
|
||||
useVoice: json["use_voice"] == null ? undefined : json["use_voice"],
|
||||
};
|
||||
}
|
||||
|
||||
export function ApiRegisterNumberRequestToJSON(value?: ApiRegisterNumberRequest | null): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
|
||||
'captcha': value['captcha'],
|
||||
'use_voice': value['useVoice'],
|
||||
};
|
||||
export function ApiRegisterNumberRequestToJSON(
|
||||
value?: ApiRegisterNumberRequest | null,
|
||||
): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
captcha: value["captcha"],
|
||||
use_voice: value["useVoice"],
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue