Worker build updates

This commit is contained in:
Darren Clarke 2024-06-28 07:49:39 +02:00
parent 45c80ca98a
commit 0cf1c3b8fd
64 changed files with 4216 additions and 3450 deletions

View file

@ -5,88 +5,91 @@
* 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 ApiSendMessageV1
*/
export interface ApiSendMessageV1 {
/**
*
* @type {string}
* @memberof ApiSendMessageV1
*/
base64Attachment?: string;
/**
*
* @type {boolean}
* @memberof ApiSendMessageV1
*/
isGroup?: boolean;
/**
*
* @type {string}
* @memberof ApiSendMessageV1
*/
message?: string;
/**
*
* @type {string}
* @memberof ApiSendMessageV1
*/
number?: string;
/**
*
* @type {Array<string>}
* @memberof ApiSendMessageV1
*/
recipients?: Array<string>;
/**
*
* @type {string}
* @memberof ApiSendMessageV1
*/
base64Attachment?: string;
/**
*
* @type {boolean}
* @memberof ApiSendMessageV1
*/
isGroup?: boolean;
/**
*
* @type {string}
* @memberof ApiSendMessageV1
*/
message?: string;
/**
*
* @type {string}
* @memberof ApiSendMessageV1
*/
number?: string;
/**
*
* @type {Array<string>}
* @memberof ApiSendMessageV1
*/
recipients?: Array<string>;
}
/**
* Check if a given object implements the ApiSendMessageV1 interface.
*/
export function instanceOfApiSendMessageV1(value: object): value is ApiSendMessageV1 {
return true;
export function instanceOfApiSendMessageV1(
value: object,
): value is ApiSendMessageV1 {
return true;
}
export function ApiSendMessageV1FromJSON(json: any): ApiSendMessageV1 {
return ApiSendMessageV1FromJSONTyped(json, false);
return ApiSendMessageV1FromJSONTyped(json, false);
}
export function ApiSendMessageV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiSendMessageV1 {
if (json == null) {
return json;
}
return {
'base64Attachment': json['base64_attachment'] == null ? undefined : json['base64_attachment'],
'isGroup': json['is_group'] == null ? undefined : json['is_group'],
'message': json['message'] == null ? undefined : json['message'],
'number': json['number'] == null ? undefined : json['number'],
'recipients': json['recipients'] == null ? undefined : json['recipients'],
};
export function ApiSendMessageV1FromJSONTyped(
json: any,
ignoreDiscriminator: boolean,
): ApiSendMessageV1 {
if (json == null) {
return json;
}
return {
base64Attachment:
json["base64_attachment"] == null ? undefined : json["base64_attachment"],
isGroup: json["is_group"] == null ? undefined : json["is_group"],
message: json["message"] == null ? undefined : json["message"],
number: json["number"] == null ? undefined : json["number"],
recipients: json["recipients"] == null ? undefined : json["recipients"],
};
}
export function ApiSendMessageV1ToJSON(value?: ApiSendMessageV1 | null): any {
if (value == null) {
return value;
}
return {
'base64_attachment': value['base64Attachment'],
'is_group': value['isGroup'],
'message': value['message'],
'number': value['number'],
'recipients': value['recipients'],
};
if (value == null) {
return value;
}
return {
base64_attachment: value["base64Attachment"],
is_group: value["isGroup"],
message: value["message"],
number: value["number"],
recipients: value["recipients"],
};
}