@libgot/whatsapp-bridge-sdk 1.0.12 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/apis/messages-api.ts +76 -0
- package/dist/apis/messages-api.d.ts +31 -0
- package/dist/apis/messages-api.js +99 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/models/inline-response2011-class.d.ts +72 -0
- package/dist/models/inline-response2011-class.js +15 -0
- package/dist/models/inline-response2011-message.d.ts +25 -0
- package/dist/models/inline-response2011-message.js +15 -0
- package/dist/models/key-dto.d.ts +37 -0
- package/dist/models/key-dto.js +15 -0
- package/dist/models/send-text-data-response-dto.d.ts +25 -0
- package/dist/models/send-text-data-response-dto.js +15 -0
- package/dist/models/send-text-dto.d.ts +31 -0
- package/dist/models/send-text-dto.js +15 -0
- package/dist/models/send-text-response-dto.d.ts +25 -0
- package/dist/models/send-text-response-dto.js +15 -0
- package/models/index.ts +6 -0
- package/models/inline-response2011-class.ts +84 -0
- package/models/inline-response2011-message.ts +29 -0
- package/models/key-dto.ts +43 -0
- package/models/send-text-data-response-dto.ts +29 -0
- package/models/send-text-dto.ts +36 -0
- package/models/send-text-response-dto.ts +29 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @1.0.
|
|
1
|
+
## @1.0.14
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @libgot/whatsapp-bridge-sdk@1.0.
|
|
39
|
+
npm install @libgot/whatsapp-bridge-sdk@1.0.14 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/apis/messages-api.ts
CHANGED
|
@@ -18,6 +18,8 @@ import { Configuration } from '../configuration';
|
|
|
18
18
|
// @ts-ignore
|
|
19
19
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
20
20
|
import { MessageResponseDto } from '../models';
|
|
21
|
+
import { SendTextDataResponseDto } from '../models';
|
|
22
|
+
import { SendTextDto } from '../models';
|
|
21
23
|
/**
|
|
22
24
|
* MessagesApi - axios parameter creator
|
|
23
25
|
* @export
|
|
@@ -61,6 +63,48 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
61
63
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
62
64
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
63
65
|
|
|
66
|
+
return {
|
|
67
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
68
|
+
options: localVarRequestOptions,
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @param {SendTextDto} body
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
sendMessage: async (body: SendTextDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
78
|
+
// verify required parameter 'body' is not null or undefined
|
|
79
|
+
if (body === null || body === undefined) {
|
|
80
|
+
throw new RequiredError('body','Required parameter body was null or undefined when calling sendMessage.');
|
|
81
|
+
}
|
|
82
|
+
const localVarPath = `/api/messages/send-text`;
|
|
83
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
84
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
85
|
+
let baseOptions;
|
|
86
|
+
if (configuration) {
|
|
87
|
+
baseOptions = configuration.baseOptions;
|
|
88
|
+
}
|
|
89
|
+
const localVarRequestOptions :AxiosRequestConfig = { method: 'POST', ...baseOptions, ...options};
|
|
90
|
+
const localVarHeaderParameter = {} as any;
|
|
91
|
+
const localVarQueryParameter = {} as any;
|
|
92
|
+
|
|
93
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
94
|
+
|
|
95
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
96
|
+
for (const key in localVarQueryParameter) {
|
|
97
|
+
query.set(key, localVarQueryParameter[key]);
|
|
98
|
+
}
|
|
99
|
+
for (const key in options.params) {
|
|
100
|
+
query.set(key, options.params[key]);
|
|
101
|
+
}
|
|
102
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
103
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
105
|
+
const needsSerialization = (typeof body !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
106
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || "");
|
|
107
|
+
|
|
64
108
|
return {
|
|
65
109
|
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
66
110
|
options: localVarRequestOptions,
|
|
@@ -88,6 +132,19 @@ export const MessagesApiFp = function(configuration?: Configuration) {
|
|
|
88
132
|
return axios.request(axiosRequestArgs);
|
|
89
133
|
};
|
|
90
134
|
},
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @param {SendTextDto} body
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
*/
|
|
141
|
+
async sendMessage(body: SendTextDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<SendTextDataResponseDto>>> {
|
|
142
|
+
const localVarAxiosArgs = await MessagesApiAxiosParamCreator(configuration).sendMessage(body, options);
|
|
143
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
144
|
+
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
145
|
+
return axios.request(axiosRequestArgs);
|
|
146
|
+
};
|
|
147
|
+
},
|
|
91
148
|
}
|
|
92
149
|
};
|
|
93
150
|
|
|
@@ -106,6 +163,15 @@ export const MessagesApiFactory = function (configuration?: Configuration, baseP
|
|
|
106
163
|
async getMessages(chatId: number, options?: AxiosRequestConfig): Promise<AxiosResponse<MessageResponseDto>> {
|
|
107
164
|
return MessagesApiFp(configuration).getMessages(chatId, options).then((request) => request(axios, basePath));
|
|
108
165
|
},
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @param {SendTextDto} body
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
*/
|
|
172
|
+
async sendMessage(body: SendTextDto, options?: AxiosRequestConfig): Promise<AxiosResponse<SendTextDataResponseDto>> {
|
|
173
|
+
return MessagesApiFp(configuration).sendMessage(body, options).then((request) => request(axios, basePath));
|
|
174
|
+
},
|
|
109
175
|
};
|
|
110
176
|
};
|
|
111
177
|
|
|
@@ -126,4 +192,14 @@ export class MessagesApi extends BaseAPI {
|
|
|
126
192
|
public async getMessages(chatId: number, options?: AxiosRequestConfig) : Promise<AxiosResponse<MessageResponseDto>> {
|
|
127
193
|
return MessagesApiFp(this.configuration).getMessages(chatId, options).then((request) => request(this.axios, this.basePath));
|
|
128
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @param {SendTextDto} body
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
* @memberof MessagesApi
|
|
201
|
+
*/
|
|
202
|
+
public async sendMessage(body: SendTextDto, options?: AxiosRequestConfig) : Promise<AxiosResponse<SendTextDataResponseDto>> {
|
|
203
|
+
return MessagesApiFp(this.configuration).sendMessage(body, options).then((request) => request(this.axios, this.basePath));
|
|
204
|
+
}
|
|
129
205
|
}
|
|
@@ -13,6 +13,8 @@ import { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { MessageResponseDto } from '../models';
|
|
16
|
+
import { SendTextDataResponseDto } from '../models';
|
|
17
|
+
import { SendTextDto } from '../models';
|
|
16
18
|
/**
|
|
17
19
|
* MessagesApi - axios parameter creator
|
|
18
20
|
* @export
|
|
@@ -25,6 +27,13 @@ export declare const MessagesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
25
27
|
* @throws {RequiredError}
|
|
26
28
|
*/
|
|
27
29
|
getMessages: (chatId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @param {SendTextDto} body
|
|
33
|
+
* @param {*} [options] Override http request option.
|
|
34
|
+
* @throws {RequiredError}
|
|
35
|
+
*/
|
|
36
|
+
sendMessage: (body: SendTextDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
37
|
};
|
|
29
38
|
/**
|
|
30
39
|
* MessagesApi - functional programming interface
|
|
@@ -38,6 +47,13 @@ export declare const MessagesApiFp: (configuration?: Configuration) => {
|
|
|
38
47
|
* @throws {RequiredError}
|
|
39
48
|
*/
|
|
40
49
|
getMessages(chatId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<MessageResponseDto>>>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @param {SendTextDto} body
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
sendMessage(body: SendTextDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<SendTextDataResponseDto>>>;
|
|
41
57
|
};
|
|
42
58
|
/**
|
|
43
59
|
* MessagesApi - factory interface
|
|
@@ -51,6 +67,13 @@ export declare const MessagesApiFactory: (configuration?: Configuration, basePat
|
|
|
51
67
|
* @throws {RequiredError}
|
|
52
68
|
*/
|
|
53
69
|
getMessages(chatId: number, options?: AxiosRequestConfig): Promise<AxiosResponse<MessageResponseDto>>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @param {SendTextDto} body
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
sendMessage(body: SendTextDto, options?: AxiosRequestConfig): Promise<AxiosResponse<SendTextDataResponseDto>>;
|
|
54
77
|
};
|
|
55
78
|
/**
|
|
56
79
|
* MessagesApi - object-oriented interface
|
|
@@ -67,4 +90,12 @@ export declare class MessagesApi extends BaseAPI {
|
|
|
67
90
|
* @memberof MessagesApi
|
|
68
91
|
*/
|
|
69
92
|
getMessages(chatId: number, options?: AxiosRequestConfig): Promise<AxiosResponse<MessageResponseDto>>;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @param {SendTextDto} body
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
* @memberof MessagesApi
|
|
99
|
+
*/
|
|
100
|
+
sendMessage(body: SendTextDto, options?: AxiosRequestConfig): Promise<AxiosResponse<SendTextDataResponseDto>>;
|
|
70
101
|
}
|
|
@@ -143,6 +143,53 @@ var MessagesApiAxiosParamCreator = function (configuration) {
|
|
|
143
143
|
});
|
|
144
144
|
});
|
|
145
145
|
},
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @param {SendTextDto} body
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
sendMessage: function (body_1) {
|
|
153
|
+
var args_1 = [];
|
|
154
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
155
|
+
args_1[_i - 1] = arguments[_i];
|
|
156
|
+
}
|
|
157
|
+
return __awaiter(_this, __spreadArray([body_1], args_1, true), void 0, function (body, options) {
|
|
158
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, query, key, key, headersFromBaseOptions, needsSerialization;
|
|
159
|
+
if (options === void 0) { options = {}; }
|
|
160
|
+
return __generator(this, function (_a) {
|
|
161
|
+
// verify required parameter 'body' is not null or undefined
|
|
162
|
+
if (body === null || body === undefined) {
|
|
163
|
+
throw new base_1.RequiredError('body', 'Required parameter body was null or undefined when calling sendMessage.');
|
|
164
|
+
}
|
|
165
|
+
localVarPath = "/api/messages/send-text";
|
|
166
|
+
localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
167
|
+
if (configuration) {
|
|
168
|
+
baseOptions = configuration.baseOptions;
|
|
169
|
+
}
|
|
170
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
171
|
+
localVarHeaderParameter = {};
|
|
172
|
+
localVarQueryParameter = {};
|
|
173
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
174
|
+
query = new URLSearchParams(localVarUrlObj.search);
|
|
175
|
+
for (key in localVarQueryParameter) {
|
|
176
|
+
query.set(key, localVarQueryParameter[key]);
|
|
177
|
+
}
|
|
178
|
+
for (key in options.params) {
|
|
179
|
+
query.set(key, options.params[key]);
|
|
180
|
+
}
|
|
181
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
182
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
183
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
184
|
+
needsSerialization = (typeof body !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
185
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || "");
|
|
186
|
+
return [2 /*return*/, {
|
|
187
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
188
|
+
options: localVarRequestOptions,
|
|
189
|
+
}];
|
|
190
|
+
});
|
|
191
|
+
});
|
|
192
|
+
},
|
|
146
193
|
};
|
|
147
194
|
};
|
|
148
195
|
exports.MessagesApiAxiosParamCreator = MessagesApiAxiosParamCreator;
|
|
@@ -176,6 +223,30 @@ var MessagesApiFp = function (configuration) {
|
|
|
176
223
|
});
|
|
177
224
|
});
|
|
178
225
|
},
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @param {SendTextDto} body
|
|
229
|
+
* @param {*} [options] Override http request option.
|
|
230
|
+
* @throws {RequiredError}
|
|
231
|
+
*/
|
|
232
|
+
sendMessage: function (body, options) {
|
|
233
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
234
|
+
var localVarAxiosArgs;
|
|
235
|
+
return __generator(this, function (_a) {
|
|
236
|
+
switch (_a.label) {
|
|
237
|
+
case 0: return [4 /*yield*/, (0, exports.MessagesApiAxiosParamCreator)(configuration).sendMessage(body, options)];
|
|
238
|
+
case 1:
|
|
239
|
+
localVarAxiosArgs = _a.sent();
|
|
240
|
+
return [2 /*return*/, function (axios, basePath) {
|
|
241
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
242
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
243
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
244
|
+
return axios.request(axiosRequestArgs);
|
|
245
|
+
}];
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
});
|
|
249
|
+
},
|
|
179
250
|
};
|
|
180
251
|
};
|
|
181
252
|
exports.MessagesApiFp = MessagesApiFp;
|
|
@@ -198,6 +269,19 @@ var MessagesApiFactory = function (configuration, basePath, axios) {
|
|
|
198
269
|
});
|
|
199
270
|
});
|
|
200
271
|
},
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
* @param {SendTextDto} body
|
|
275
|
+
* @param {*} [options] Override http request option.
|
|
276
|
+
* @throws {RequiredError}
|
|
277
|
+
*/
|
|
278
|
+
sendMessage: function (body, options) {
|
|
279
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
280
|
+
return __generator(this, function (_a) {
|
|
281
|
+
return [2 /*return*/, (0, exports.MessagesApiFp)(configuration).sendMessage(body, options).then(function (request) { return request(axios, basePath); })];
|
|
282
|
+
});
|
|
283
|
+
});
|
|
284
|
+
},
|
|
201
285
|
};
|
|
202
286
|
};
|
|
203
287
|
exports.MessagesApiFactory = MessagesApiFactory;
|
|
@@ -227,6 +311,21 @@ var MessagesApi = /** @class */ (function (_super) {
|
|
|
227
311
|
});
|
|
228
312
|
});
|
|
229
313
|
};
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @param {SendTextDto} body
|
|
317
|
+
* @param {*} [options] Override http request option.
|
|
318
|
+
* @throws {RequiredError}
|
|
319
|
+
* @memberof MessagesApi
|
|
320
|
+
*/
|
|
321
|
+
MessagesApi.prototype.sendMessage = function (body, options) {
|
|
322
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
323
|
+
var _this = this;
|
|
324
|
+
return __generator(this, function (_a) {
|
|
325
|
+
return [2 /*return*/, (0, exports.MessagesApiFp)(this.configuration).sendMessage(body, options).then(function (request) { return request(_this.axios, _this.basePath); })];
|
|
326
|
+
});
|
|
327
|
+
});
|
|
328
|
+
};
|
|
230
329
|
return MessagesApi;
|
|
231
330
|
}(base_1.BaseAPI));
|
|
232
331
|
exports.MessagesApi = MessagesApi;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -8,10 +8,16 @@ export * from './contacts-response-dto';
|
|
|
8
8
|
export * from './conversation-message-dto';
|
|
9
9
|
export * from './data-dto';
|
|
10
10
|
export * from './data-unauthorized-dto';
|
|
11
|
+
export * from './inline-response2011-class';
|
|
12
|
+
export * from './inline-response2011-message';
|
|
11
13
|
export * from './inline-response503';
|
|
12
14
|
export * from './inline-response503-info';
|
|
15
|
+
export * from './key-dto';
|
|
13
16
|
export * from './message-response-dto';
|
|
14
17
|
export * from './role-dto';
|
|
18
|
+
export * from './send-text-data-response-dto';
|
|
19
|
+
export * from './send-text-dto';
|
|
20
|
+
export * from './send-text-response-dto';
|
|
15
21
|
export * from './status-dto';
|
|
16
22
|
export * from './tokens-dto';
|
|
17
23
|
export * from './unauthorized-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -24,10 +24,16 @@ __exportStar(require("./contacts-response-dto"), exports);
|
|
|
24
24
|
__exportStar(require("./conversation-message-dto"), exports);
|
|
25
25
|
__exportStar(require("./data-dto"), exports);
|
|
26
26
|
__exportStar(require("./data-unauthorized-dto"), exports);
|
|
27
|
+
__exportStar(require("./inline-response2011-class"), exports);
|
|
28
|
+
__exportStar(require("./inline-response2011-message"), exports);
|
|
27
29
|
__exportStar(require("./inline-response503"), exports);
|
|
28
30
|
__exportStar(require("./inline-response503-info"), exports);
|
|
31
|
+
__exportStar(require("./key-dto"), exports);
|
|
29
32
|
__exportStar(require("./message-response-dto"), exports);
|
|
30
33
|
__exportStar(require("./role-dto"), exports);
|
|
34
|
+
__exportStar(require("./send-text-data-response-dto"), exports);
|
|
35
|
+
__exportStar(require("./send-text-dto"), exports);
|
|
36
|
+
__exportStar(require("./send-text-response-dto"), exports);
|
|
31
37
|
__exportStar(require("./status-dto"), exports);
|
|
32
38
|
__exportStar(require("./tokens-dto"), exports);
|
|
33
39
|
__exportStar(require("./unauthorized-dto"), exports);
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* whatsapp-bridge Node Api
|
|
3
|
+
* The whatsapp-bridge API description
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { InlineResponse2011Message } from './inline-response2011-message';
|
|
13
|
+
import { KeyDto } from './key-dto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface InlineResponse2011Class
|
|
19
|
+
*/
|
|
20
|
+
export interface InlineResponse2011Class {
|
|
21
|
+
/**
|
|
22
|
+
* @type {KeyDto}
|
|
23
|
+
* @memberof InlineResponse2011Class
|
|
24
|
+
*/
|
|
25
|
+
key: KeyDto;
|
|
26
|
+
/**
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof InlineResponse2011Class
|
|
29
|
+
* @example Jhon Doe
|
|
30
|
+
*/
|
|
31
|
+
pushName: string;
|
|
32
|
+
/**
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof InlineResponse2011Class
|
|
35
|
+
* @example PENDING
|
|
36
|
+
*/
|
|
37
|
+
status: string;
|
|
38
|
+
/**
|
|
39
|
+
* @type {InlineResponse2011Message}
|
|
40
|
+
* @memberof InlineResponse2011Class
|
|
41
|
+
*/
|
|
42
|
+
message: InlineResponse2011Message;
|
|
43
|
+
/**
|
|
44
|
+
* @type {any}
|
|
45
|
+
* @memberof InlineResponse2011Class
|
|
46
|
+
*/
|
|
47
|
+
contextInfo: any;
|
|
48
|
+
/**
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof InlineResponse2011Class
|
|
51
|
+
* @example conversation
|
|
52
|
+
*/
|
|
53
|
+
messageType: string;
|
|
54
|
+
/**
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof InlineResponse2011Class
|
|
57
|
+
* @example 1738267884
|
|
58
|
+
*/
|
|
59
|
+
messageTimestamp: number;
|
|
60
|
+
/**
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof InlineResponse2011Class
|
|
63
|
+
* @example e2845cfb-00e4-4533-8147-923628f4a401
|
|
64
|
+
*/
|
|
65
|
+
instanceId: string;
|
|
66
|
+
/**
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof InlineResponse2011Class
|
|
69
|
+
* @example unknown
|
|
70
|
+
*/
|
|
71
|
+
source: string;
|
|
72
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* whatsapp-bridge Node Api
|
|
6
|
+
* The whatsapp-bridge API description
|
|
7
|
+
*
|
|
8
|
+
* OpenAPI spec version: 0.0.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
12
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* whatsapp-bridge Node Api
|
|
3
|
+
* The whatsapp-bridge API description
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface InlineResponse2011Message
|
|
17
|
+
*/
|
|
18
|
+
export interface InlineResponse2011Message {
|
|
19
|
+
/**
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineResponse2011Message
|
|
22
|
+
* @example texto de envio
|
|
23
|
+
*/
|
|
24
|
+
conversation: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* whatsapp-bridge Node Api
|
|
6
|
+
* The whatsapp-bridge API description
|
|
7
|
+
*
|
|
8
|
+
* OpenAPI spec version: 0.0.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
12
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* whatsapp-bridge Node Api
|
|
3
|
+
* The whatsapp-bridge API description
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface KeyDto
|
|
17
|
+
*/
|
|
18
|
+
export interface KeyDto {
|
|
19
|
+
/**
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof KeyDto
|
|
22
|
+
* @example 3EB0E925FA7E136C585A91A78E6941C937DFA9CB
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof KeyDto
|
|
28
|
+
* @example true
|
|
29
|
+
*/
|
|
30
|
+
fromMe: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof KeyDto
|
|
34
|
+
* @example 549112312456@s.whatsapp.net
|
|
35
|
+
*/
|
|
36
|
+
remoteJid: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* whatsapp-bridge Node Api
|
|
6
|
+
* The whatsapp-bridge API description
|
|
7
|
+
*
|
|
8
|
+
* OpenAPI spec version: 0.0.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
12
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* whatsapp-bridge Node Api
|
|
3
|
+
* The whatsapp-bridge API description
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { SendTextResponseDto } from './send-text-response-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SendTextDataResponseDto
|
|
18
|
+
*/
|
|
19
|
+
export interface SendTextDataResponseDto {
|
|
20
|
+
/**
|
|
21
|
+
* @type {SendTextResponseDto}
|
|
22
|
+
* @memberof SendTextDataResponseDto
|
|
23
|
+
*/
|
|
24
|
+
data: SendTextResponseDto;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* whatsapp-bridge Node Api
|
|
6
|
+
* The whatsapp-bridge API description
|
|
7
|
+
*
|
|
8
|
+
* OpenAPI spec version: 0.0.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
12
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* whatsapp-bridge Node Api
|
|
3
|
+
* The whatsapp-bridge API description
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SendTextDto
|
|
17
|
+
*/
|
|
18
|
+
export interface SendTextDto {
|
|
19
|
+
/**
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SendTextDto
|
|
22
|
+
* @example 12
|
|
23
|
+
*/
|
|
24
|
+
contactId: number;
|
|
25
|
+
/**
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SendTextDto
|
|
28
|
+
* @example texto de envio
|
|
29
|
+
*/
|
|
30
|
+
text: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* whatsapp-bridge Node Api
|
|
6
|
+
* The whatsapp-bridge API description
|
|
7
|
+
*
|
|
8
|
+
* OpenAPI spec version: 0.0.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
12
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* whatsapp-bridge Node Api
|
|
3
|
+
* The whatsapp-bridge API description
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { InlineResponse2011Class } from './inline-response2011-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SendTextResponseDto
|
|
18
|
+
*/
|
|
19
|
+
export interface SendTextResponseDto {
|
|
20
|
+
/**
|
|
21
|
+
* @type {InlineResponse2011Class}
|
|
22
|
+
* @memberof SendTextResponseDto
|
|
23
|
+
*/
|
|
24
|
+
message: InlineResponse2011Class;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* whatsapp-bridge Node Api
|
|
6
|
+
* The whatsapp-bridge API description
|
|
7
|
+
*
|
|
8
|
+
* OpenAPI spec version: 0.0.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
12
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/models/index.ts
CHANGED
|
@@ -8,10 +8,16 @@ export * from './contacts-response-dto';
|
|
|
8
8
|
export * from './conversation-message-dto';
|
|
9
9
|
export * from './data-dto';
|
|
10
10
|
export * from './data-unauthorized-dto';
|
|
11
|
+
export * from './inline-response2011-class';
|
|
12
|
+
export * from './inline-response2011-message';
|
|
11
13
|
export * from './inline-response503';
|
|
12
14
|
export * from './inline-response503-info';
|
|
15
|
+
export * from './key-dto';
|
|
13
16
|
export * from './message-response-dto';
|
|
14
17
|
export * from './role-dto';
|
|
18
|
+
export * from './send-text-data-response-dto';
|
|
19
|
+
export * from './send-text-dto';
|
|
20
|
+
export * from './send-text-response-dto';
|
|
15
21
|
export * from './status-dto';
|
|
16
22
|
export * from './tokens-dto';
|
|
17
23
|
export * from './unauthorized-dto';
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* whatsapp-bridge Node Api
|
|
5
|
+
* The whatsapp-bridge API description
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: 0.0.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { InlineResponse2011Message } from './inline-response2011-message';
|
|
16
|
+
import { KeyDto } from './key-dto';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface InlineResponse2011Class
|
|
22
|
+
*/
|
|
23
|
+
export interface InlineResponse2011Class {
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @type {KeyDto}
|
|
27
|
+
* @memberof InlineResponse2011Class
|
|
28
|
+
*/
|
|
29
|
+
key: KeyDto;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InlineResponse2011Class
|
|
34
|
+
* @example Jhon Doe
|
|
35
|
+
*/
|
|
36
|
+
pushName: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof InlineResponse2011Class
|
|
41
|
+
* @example PENDING
|
|
42
|
+
*/
|
|
43
|
+
status: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @type {InlineResponse2011Message}
|
|
47
|
+
* @memberof InlineResponse2011Class
|
|
48
|
+
*/
|
|
49
|
+
message: InlineResponse2011Message;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @type {any}
|
|
53
|
+
* @memberof InlineResponse2011Class
|
|
54
|
+
*/
|
|
55
|
+
contextInfo: any;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof InlineResponse2011Class
|
|
60
|
+
* @example conversation
|
|
61
|
+
*/
|
|
62
|
+
messageType: string;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof InlineResponse2011Class
|
|
67
|
+
* @example 1738267884
|
|
68
|
+
*/
|
|
69
|
+
messageTimestamp: number;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof InlineResponse2011Class
|
|
74
|
+
* @example e2845cfb-00e4-4533-8147-923628f4a401
|
|
75
|
+
*/
|
|
76
|
+
instanceId: string;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof InlineResponse2011Class
|
|
81
|
+
* @example unknown
|
|
82
|
+
*/
|
|
83
|
+
source: string;
|
|
84
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* whatsapp-bridge Node Api
|
|
5
|
+
* The whatsapp-bridge API description
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: 0.0.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface InlineResponse2011Message
|
|
20
|
+
*/
|
|
21
|
+
export interface InlineResponse2011Message {
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof InlineResponse2011Message
|
|
26
|
+
* @example texto de envio
|
|
27
|
+
*/
|
|
28
|
+
conversation: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* whatsapp-bridge Node Api
|
|
5
|
+
* The whatsapp-bridge API description
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: 0.0.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface KeyDto
|
|
20
|
+
*/
|
|
21
|
+
export interface KeyDto {
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof KeyDto
|
|
26
|
+
* @example 3EB0E925FA7E136C585A91A78E6941C937DFA9CB
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberof KeyDto
|
|
33
|
+
* @example true
|
|
34
|
+
*/
|
|
35
|
+
fromMe: boolean;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof KeyDto
|
|
40
|
+
* @example 549112312456@s.whatsapp.net
|
|
41
|
+
*/
|
|
42
|
+
remoteJid: string;
|
|
43
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* whatsapp-bridge Node Api
|
|
5
|
+
* The whatsapp-bridge API description
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: 0.0.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { SendTextResponseDto } from './send-text-response-dto';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SendTextDataResponseDto
|
|
21
|
+
*/
|
|
22
|
+
export interface SendTextDataResponseDto {
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @type {SendTextResponseDto}
|
|
26
|
+
* @memberof SendTextDataResponseDto
|
|
27
|
+
*/
|
|
28
|
+
data: SendTextResponseDto;
|
|
29
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* whatsapp-bridge Node Api
|
|
5
|
+
* The whatsapp-bridge API description
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: 0.0.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SendTextDto
|
|
20
|
+
*/
|
|
21
|
+
export interface SendTextDto {
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof SendTextDto
|
|
26
|
+
* @example 12
|
|
27
|
+
*/
|
|
28
|
+
contactId: number;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SendTextDto
|
|
33
|
+
* @example texto de envio
|
|
34
|
+
*/
|
|
35
|
+
text: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* whatsapp-bridge Node Api
|
|
5
|
+
* The whatsapp-bridge API description
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: 0.0.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { InlineResponse2011Class } from './inline-response2011-class';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SendTextResponseDto
|
|
21
|
+
*/
|
|
22
|
+
export interface SendTextResponseDto {
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @type {InlineResponse2011Class}
|
|
26
|
+
* @memberof SendTextResponseDto
|
|
27
|
+
*/
|
|
28
|
+
message: InlineResponse2011Class;
|
|
29
|
+
}
|