Worker build updates
This commit is contained in:
parent
45c80ca98a
commit
0cf1c3b8fd
64 changed files with 4216 additions and 3450 deletions
|
|
@ -5,72 +5,81 @@
|
|||
* 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 ApiUpdateContactRequest
|
||||
*/
|
||||
export interface ApiUpdateContactRequest {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApiUpdateContactRequest
|
||||
*/
|
||||
expirationInSeconds?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiUpdateContactRequest
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiUpdateContactRequest
|
||||
*/
|
||||
recipient?: string;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApiUpdateContactRequest
|
||||
*/
|
||||
expirationInSeconds?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiUpdateContactRequest
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiUpdateContactRequest
|
||||
*/
|
||||
recipient?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the ApiUpdateContactRequest interface.
|
||||
*/
|
||||
export function instanceOfApiUpdateContactRequest(value: object): value is ApiUpdateContactRequest {
|
||||
return true;
|
||||
export function instanceOfApiUpdateContactRequest(
|
||||
value: object,
|
||||
): value is ApiUpdateContactRequest {
|
||||
return true;
|
||||
}
|
||||
|
||||
export function ApiUpdateContactRequestFromJSON(json: any): ApiUpdateContactRequest {
|
||||
return ApiUpdateContactRequestFromJSONTyped(json, false);
|
||||
export function ApiUpdateContactRequestFromJSON(
|
||||
json: any,
|
||||
): ApiUpdateContactRequest {
|
||||
return ApiUpdateContactRequestFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ApiUpdateContactRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUpdateContactRequest {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'expirationInSeconds': json['expiration_in_seconds'] == null ? undefined : json['expiration_in_seconds'],
|
||||
'name': json['name'] == null ? undefined : json['name'],
|
||||
'recipient': json['recipient'] == null ? undefined : json['recipient'],
|
||||
};
|
||||
export function ApiUpdateContactRequestFromJSONTyped(
|
||||
json: any,
|
||||
ignoreDiscriminator: boolean,
|
||||
): ApiUpdateContactRequest {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
expirationInSeconds:
|
||||
json["expiration_in_seconds"] == null
|
||||
? undefined
|
||||
: json["expiration_in_seconds"],
|
||||
name: json["name"] == null ? undefined : json["name"],
|
||||
recipient: json["recipient"] == null ? undefined : json["recipient"],
|
||||
};
|
||||
}
|
||||
|
||||
export function ApiUpdateContactRequestToJSON(value?: ApiUpdateContactRequest | null): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
|
||||
'expiration_in_seconds': value['expirationInSeconds'],
|
||||
'name': value['name'],
|
||||
'recipient': value['recipient'],
|
||||
};
|
||||
export function ApiUpdateContactRequestToJSON(
|
||||
value?: ApiUpdateContactRequest | null,
|
||||
): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
expiration_in_seconds: value["expirationInSeconds"],
|
||||
name: value["name"],
|
||||
recipient: value["recipient"],
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue