Update Dockerfiles, add signal api generated outputs
This commit is contained in:
parent
31da4b0e62
commit
83653ef23b
65 changed files with 6728 additions and 21 deletions
159
packages/signal-api/models/ApiSendMessageV2.ts
Normal file
159
packages/signal-api/models/ApiSendMessageV2.ts
Normal file
|
|
@ -0,0 +1,159 @@
|
|||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Signal Cli REST API
|
||||
* 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';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface ApiSendMessageV2
|
||||
*/
|
||||
export interface ApiSendMessageV2 {
|
||||
/**
|
||||
*
|
||||
* @type {Array<string>}
|
||||
* @memberof ApiSendMessageV2
|
||||
*/
|
||||
base64Attachments?: Array<string>;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApiSendMessageV2
|
||||
*/
|
||||
editTimestamp?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiSendMessageV2
|
||||
*/
|
||||
mentions?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiSendMessageV2
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiSendMessageV2
|
||||
*/
|
||||
number?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiSendMessageV2
|
||||
*/
|
||||
quoteAuthor?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiSendMessageV2
|
||||
*/
|
||||
quoteMentions?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiSendMessageV2
|
||||
*/
|
||||
quoteMessage?: string;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApiSendMessageV2
|
||||
*/
|
||||
quoteTimestamp?: number;
|
||||
/**
|
||||
*
|
||||
* @type {Array<string>}
|
||||
* @memberof ApiSendMessageV2
|
||||
*/
|
||||
recipients?: Array<string>;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiSendMessageV2
|
||||
*/
|
||||
sticker?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiSendMessageV2
|
||||
*/
|
||||
textMode?: ApiSendMessageV2TextModeEnum;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @export
|
||||
*/
|
||||
export const ApiSendMessageV2TextModeEnum = {
|
||||
Normal: 'normal',
|
||||
Styled: 'styled'
|
||||
} as const;
|
||||
export type ApiSendMessageV2TextModeEnum = typeof ApiSendMessageV2TextModeEnum[keyof typeof ApiSendMessageV2TextModeEnum];
|
||||
|
||||
|
||||
/**
|
||||
* Check if a given object implements the ApiSendMessageV2 interface.
|
||||
*/
|
||||
export function instanceOfApiSendMessageV2(value: object): value is ApiSendMessageV2 {
|
||||
return true;
|
||||
}
|
||||
|
||||
export function ApiSendMessageV2FromJSON(json: any): ApiSendMessageV2 {
|
||||
return ApiSendMessageV2FromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ApiSendMessageV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiSendMessageV2 {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'base64Attachments': json['base64_attachments'] == null ? undefined : json['base64_attachments'],
|
||||
'editTimestamp': json['edit_timestamp'] == null ? undefined : json['edit_timestamp'],
|
||||
'mentions': json['mentions'] == null ? undefined : json['mentions'],
|
||||
'message': json['message'] == null ? undefined : json['message'],
|
||||
'number': json['number'] == null ? undefined : json['number'],
|
||||
'quoteAuthor': json['quote_author'] == null ? undefined : json['quote_author'],
|
||||
'quoteMentions': json['quote_mentions'] == null ? undefined : json['quote_mentions'],
|
||||
'quoteMessage': json['quote_message'] == null ? undefined : json['quote_message'],
|
||||
'quoteTimestamp': json['quote_timestamp'] == null ? undefined : json['quote_timestamp'],
|
||||
'recipients': json['recipients'] == null ? undefined : json['recipients'],
|
||||
'sticker': json['sticker'] == null ? undefined : json['sticker'],
|
||||
'textMode': json['text_mode'] == null ? undefined : json['text_mode'],
|
||||
};
|
||||
}
|
||||
|
||||
export function ApiSendMessageV2ToJSON(value?: ApiSendMessageV2 | null): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
|
||||
'base64_attachments': value['base64Attachments'],
|
||||
'edit_timestamp': value['editTimestamp'],
|
||||
'mentions': value['mentions'],
|
||||
'message': value['message'],
|
||||
'number': value['number'],
|
||||
'quote_author': value['quoteAuthor'],
|
||||
'quote_mentions': value['quoteMentions'],
|
||||
'quote_message': value['quoteMessage'],
|
||||
'quote_timestamp': value['quoteTimestamp'],
|
||||
'recipients': value['recipients'],
|
||||
'sticker': value['sticker'],
|
||||
'text_mode': value['textMode'],
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue