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
92
packages/signal-api/models/ApiSendMessageV1.ts
Normal file
92
packages/signal-api/models/ApiSendMessageV1.ts
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
/* 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 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>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the ApiSendMessageV1 interface.
|
||||
*/
|
||||
export function instanceOfApiSendMessageV1(value: object): value is ApiSendMessageV1 {
|
||||
return true;
|
||||
}
|
||||
|
||||
export function ApiSendMessageV1FromJSON(json: any): ApiSendMessageV1 {
|
||||
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 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'],
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue