@libgot/whatsapp-bridge-sdk 1.0.35 → 1.0.36-rc.2
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/api.ts +3 -0
- package/apis/auth-api.ts +26 -27
- package/apis/cellphone-api.ts +151 -0
- package/apis/chats-api.ts +116 -7
- package/apis/flows-api.ts +263 -0
- package/apis/sessions-api.ts +201 -0
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/apis/auth-api.d.ts +12 -13
- package/dist/apis/auth-api.js +25 -25
- package/dist/apis/cellphone-api.d.ts +74 -0
- package/dist/apis/cellphone-api.js +161 -0
- package/dist/apis/chats-api.d.ts +50 -4
- package/dist/apis/chats-api.js +116 -7
- package/dist/apis/flows-api.d.ts +125 -0
- package/dist/apis/flows-api.js +283 -0
- package/dist/apis/sessions-api.d.ts +100 -0
- package/dist/apis/sessions-api.js +217 -0
- package/dist/models/apply-for-loan-response-dto.d.ts +19 -0
- package/dist/models/apply-for-loan-response-dto.js +15 -0
- package/dist/models/assignment-type-dto.d.ts +31 -0
- package/dist/models/assignment-type-dto.js +15 -0
- package/dist/models/cellphone-validation-dto.d.ts +24 -0
- package/dist/models/cellphone-validation-dto.js +15 -0
- package/dist/models/index.d.ts +7 -1
- package/dist/models/index.js +7 -1
- package/dist/models/send-template-data-dto.d.ts +2 -1
- package/dist/models/send-template-data-dto.js +1 -0
- package/dist/models/send-text-dto.d.ts +2 -1
- package/dist/models/send-text-dto.js +1 -0
- package/dist/models/session-response-data-dto.d.ts +25 -0
- package/dist/models/session-response-data-dto.js +15 -0
- package/dist/models/session-response-dto.d.ts +43 -0
- package/dist/models/session-response-dto.js +15 -0
- package/dist/models/sessions-response-data-dto.d.ts +25 -0
- package/dist/models/sessions-response-data-dto.js +15 -0
- package/dist/models/signature-data-dto.d.ts +19 -0
- package/dist/models/signature-data-dto.js +15 -0
- package/dist/models/whatsapp-chat-dto.d.ts +6 -0
- package/models/apply-for-loan-response-dto.ts +22 -0
- package/models/assignment-type-dto.ts +36 -0
- package/models/cellphone-validation-dto.ts +28 -0
- package/models/index.ts +7 -1
- package/models/send-template-data-dto.ts +2 -1
- package/models/send-text-dto.ts +2 -1
- package/models/session-response-data-dto.ts +29 -0
- package/models/session-response-dto.ts +50 -0
- package/models/sessions-response-data-dto.ts +29 -0
- package/models/signature-data-dto.ts +22 -0
- package/models/whatsapp-chat-dto.ts +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,100 @@
|
|
|
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 { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { SessionResponseDataDto } from '../models';
|
|
16
|
+
import { SessionsResponseDataDto } from '../models';
|
|
17
|
+
/**
|
|
18
|
+
* SessionsApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const SessionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @param {string} sessionUuid
|
|
25
|
+
* @param {*} [options] Override http request option.
|
|
26
|
+
* @throws {RequiredError}
|
|
27
|
+
*/
|
|
28
|
+
getSession: (sessionUuid: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @param {number} branchId
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
getSessions: (branchId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* SessionsApi - functional programming interface
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
export declare const SessionsApiFp: (configuration?: Configuration) => {
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @param {string} sessionUuid
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
getSession(sessionUuid: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<SessionResponseDataDto>>>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @param {number} branchId
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
*/
|
|
55
|
+
getSessions(branchId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<SessionsResponseDataDto>>>;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* SessionsApi - factory interface
|
|
59
|
+
* @export
|
|
60
|
+
*/
|
|
61
|
+
export declare const SessionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @param {string} sessionUuid
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
getSession(sessionUuid: string, options?: AxiosRequestConfig): Promise<AxiosResponse<SessionResponseDataDto>>;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @param {number} branchId
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
getSessions(branchId: number, options?: AxiosRequestConfig): Promise<AxiosResponse<SessionsResponseDataDto>>;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* SessionsApi - object-oriented interface
|
|
79
|
+
* @export
|
|
80
|
+
* @class SessionsApi
|
|
81
|
+
* @extends {BaseAPI}
|
|
82
|
+
*/
|
|
83
|
+
export declare class SessionsApi extends BaseAPI {
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @param {string} sessionUuid
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
* @memberof SessionsApi
|
|
90
|
+
*/
|
|
91
|
+
getSession(sessionUuid: string, options?: AxiosRequestConfig): Promise<AxiosResponse<SessionResponseDataDto>>;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @param {number} branchId
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
* @memberof SessionsApi
|
|
98
|
+
*/
|
|
99
|
+
getSessions(branchId: number, options?: AxiosRequestConfig): Promise<AxiosResponse<SessionsResponseDataDto>>;
|
|
100
|
+
}
|
|
@@ -0,0 +1,217 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.SessionsApi = exports.SessionsApiFactory = exports.SessionsApiFp = exports.SessionsApiAxiosParamCreator = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const base_1 = require("../base");
|
|
30
|
+
/**
|
|
31
|
+
* SessionsApi - axios parameter creator
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
const SessionsApiAxiosParamCreator = function (configuration) {
|
|
35
|
+
return {
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @param {string} sessionUuid
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
getSession: (sessionUuid_1, ...args_1) => __awaiter(this, [sessionUuid_1, ...args_1], void 0, function* (sessionUuid, options = {}) {
|
|
43
|
+
// verify required parameter 'sessionUuid' is not null or undefined
|
|
44
|
+
if (sessionUuid === null || sessionUuid === undefined) {
|
|
45
|
+
throw new base_1.RequiredError('sessionUuid', 'Required parameter sessionUuid was null or undefined when calling getSession.');
|
|
46
|
+
}
|
|
47
|
+
const localVarPath = `/api/sessions/{sessionUuid}`
|
|
48
|
+
.replace(`{${"sessionUuid"}}`, encodeURIComponent(String(sessionUuid)));
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
51
|
+
let baseOptions;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
}
|
|
55
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
56
|
+
const localVarHeaderParameter = {};
|
|
57
|
+
const localVarQueryParameter = {};
|
|
58
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
59
|
+
for (const key in localVarQueryParameter) {
|
|
60
|
+
query.set(key, localVarQueryParameter[key]);
|
|
61
|
+
}
|
|
62
|
+
for (const key in options.params) {
|
|
63
|
+
query.set(key, options.params[key]);
|
|
64
|
+
}
|
|
65
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
66
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
67
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
68
|
+
return {
|
|
69
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
70
|
+
options: localVarRequestOptions,
|
|
71
|
+
};
|
|
72
|
+
}),
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @param {number} branchId
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
getSessions: (branchId_1, ...args_1) => __awaiter(this, [branchId_1, ...args_1], void 0, function* (branchId, options = {}) {
|
|
80
|
+
// verify required parameter 'branchId' is not null or undefined
|
|
81
|
+
if (branchId === null || branchId === undefined) {
|
|
82
|
+
throw new base_1.RequiredError('branchId', 'Required parameter branchId was null or undefined when calling getSessions.');
|
|
83
|
+
}
|
|
84
|
+
const localVarPath = `/api/sessions`;
|
|
85
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
86
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
87
|
+
let baseOptions;
|
|
88
|
+
if (configuration) {
|
|
89
|
+
baseOptions = configuration.baseOptions;
|
|
90
|
+
}
|
|
91
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
92
|
+
const localVarHeaderParameter = {};
|
|
93
|
+
const localVarQueryParameter = {};
|
|
94
|
+
if (branchId !== undefined) {
|
|
95
|
+
localVarQueryParameter['branchId'] = branchId;
|
|
96
|
+
}
|
|
97
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
98
|
+
for (const key in localVarQueryParameter) {
|
|
99
|
+
query.set(key, localVarQueryParameter[key]);
|
|
100
|
+
}
|
|
101
|
+
for (const key in options.params) {
|
|
102
|
+
query.set(key, options.params[key]);
|
|
103
|
+
}
|
|
104
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
106
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
107
|
+
return {
|
|
108
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
109
|
+
options: localVarRequestOptions,
|
|
110
|
+
};
|
|
111
|
+
}),
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
exports.SessionsApiAxiosParamCreator = SessionsApiAxiosParamCreator;
|
|
115
|
+
/**
|
|
116
|
+
* SessionsApi - functional programming interface
|
|
117
|
+
* @export
|
|
118
|
+
*/
|
|
119
|
+
const SessionsApiFp = function (configuration) {
|
|
120
|
+
return {
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @param {string} sessionUuid
|
|
124
|
+
* @param {*} [options] Override http request option.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
*/
|
|
127
|
+
getSession(sessionUuid, options) {
|
|
128
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
129
|
+
const localVarAxiosArgs = yield (0, exports.SessionsApiAxiosParamCreator)(configuration).getSession(sessionUuid, options);
|
|
130
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
131
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
132
|
+
return axios.request(axiosRequestArgs);
|
|
133
|
+
};
|
|
134
|
+
});
|
|
135
|
+
},
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @param {number} branchId
|
|
139
|
+
* @param {*} [options] Override http request option.
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
*/
|
|
142
|
+
getSessions(branchId, options) {
|
|
143
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
144
|
+
const localVarAxiosArgs = yield (0, exports.SessionsApiAxiosParamCreator)(configuration).getSessions(branchId, options);
|
|
145
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
146
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
147
|
+
return axios.request(axiosRequestArgs);
|
|
148
|
+
};
|
|
149
|
+
});
|
|
150
|
+
},
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
exports.SessionsApiFp = SessionsApiFp;
|
|
154
|
+
/**
|
|
155
|
+
* SessionsApi - factory interface
|
|
156
|
+
* @export
|
|
157
|
+
*/
|
|
158
|
+
const SessionsApiFactory = function (configuration, basePath, axios) {
|
|
159
|
+
return {
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @param {string} sessionUuid
|
|
163
|
+
* @param {*} [options] Override http request option.
|
|
164
|
+
* @throws {RequiredError}
|
|
165
|
+
*/
|
|
166
|
+
getSession(sessionUuid, options) {
|
|
167
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
168
|
+
return (0, exports.SessionsApiFp)(configuration).getSession(sessionUuid, options).then((request) => request(axios, basePath));
|
|
169
|
+
});
|
|
170
|
+
},
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @param {number} branchId
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
getSessions(branchId, options) {
|
|
178
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
179
|
+
return (0, exports.SessionsApiFp)(configuration).getSessions(branchId, options).then((request) => request(axios, basePath));
|
|
180
|
+
});
|
|
181
|
+
},
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
exports.SessionsApiFactory = SessionsApiFactory;
|
|
185
|
+
/**
|
|
186
|
+
* SessionsApi - object-oriented interface
|
|
187
|
+
* @export
|
|
188
|
+
* @class SessionsApi
|
|
189
|
+
* @extends {BaseAPI}
|
|
190
|
+
*/
|
|
191
|
+
class SessionsApi extends base_1.BaseAPI {
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @param {string} sessionUuid
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
* @memberof SessionsApi
|
|
198
|
+
*/
|
|
199
|
+
getSession(sessionUuid, options) {
|
|
200
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
201
|
+
return (0, exports.SessionsApiFp)(this.configuration).getSession(sessionUuid, options).then((request) => request(this.axios, this.basePath));
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @param {number} branchId
|
|
207
|
+
* @param {*} [options] Override http request option.
|
|
208
|
+
* @throws {RequiredError}
|
|
209
|
+
* @memberof SessionsApi
|
|
210
|
+
*/
|
|
211
|
+
getSessions(branchId, options) {
|
|
212
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
213
|
+
return (0, exports.SessionsApiFp)(this.configuration).getSessions(branchId, options).then((request) => request(this.axios, this.basePath));
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
exports.SessionsApi = SessionsApi;
|
|
@@ -0,0 +1,19 @@
|
|
|
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 ApplyForLoanResponseDto
|
|
17
|
+
*/
|
|
18
|
+
export interface ApplyForLoanResponseDto {
|
|
19
|
+
}
|
|
@@ -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 AssignmentTypeDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AssignmentTypeDto {
|
|
19
|
+
/**
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AssignmentTypeDto
|
|
22
|
+
* @example 1
|
|
23
|
+
*/
|
|
24
|
+
type: string;
|
|
25
|
+
/**
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AssignmentTypeDto
|
|
28
|
+
* @example 1
|
|
29
|
+
*/
|
|
30
|
+
branchId: number;
|
|
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,24 @@
|
|
|
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 CellphoneValidationDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CellphoneValidationDto {
|
|
19
|
+
/**
|
|
20
|
+
* @type {Array<number>}
|
|
21
|
+
* @memberof CellphoneValidationDto
|
|
22
|
+
*/
|
|
23
|
+
numbers: Array<number>;
|
|
24
|
+
}
|
|
@@ -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/dist/models/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export * from './api-request-user-update-password-dto';
|
|
2
2
|
export * from './api-response-auth-dto';
|
|
3
3
|
export * from './api-response-user-dto';
|
|
4
|
+
export * from './apply-for-loan-response-dto';
|
|
4
5
|
export * from './assign-to-me-dto';
|
|
6
|
+
export * from './assignment-type-dto';
|
|
5
7
|
export * from './attributes';
|
|
6
|
-
export * from './
|
|
8
|
+
export * from './cellphone-validation-dto';
|
|
7
9
|
export * from './component-template-dto';
|
|
8
10
|
export * from './contacts-response-dto';
|
|
9
11
|
export * from './conversation-message-dto';
|
|
@@ -28,6 +30,10 @@ export * from './send-template-dto';
|
|
|
28
30
|
export * from './send-text-data-response-dto';
|
|
29
31
|
export * from './send-text-dto';
|
|
30
32
|
export * from './send-text-response-dto';
|
|
33
|
+
export * from './session-response-data-dto';
|
|
34
|
+
export * from './session-response-dto';
|
|
35
|
+
export * from './sessions-response-data-dto';
|
|
36
|
+
export * from './signature-data-dto';
|
|
31
37
|
export * from './status-dto';
|
|
32
38
|
export * from './tokens-dto';
|
|
33
39
|
export * from './unauthorized-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -17,9 +17,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./api-request-user-update-password-dto"), exports);
|
|
18
18
|
__exportStar(require("./api-response-auth-dto"), exports);
|
|
19
19
|
__exportStar(require("./api-response-user-dto"), exports);
|
|
20
|
+
__exportStar(require("./apply-for-loan-response-dto"), exports);
|
|
20
21
|
__exportStar(require("./assign-to-me-dto"), exports);
|
|
22
|
+
__exportStar(require("./assignment-type-dto"), exports);
|
|
21
23
|
__exportStar(require("./attributes"), exports);
|
|
22
|
-
__exportStar(require("./
|
|
24
|
+
__exportStar(require("./cellphone-validation-dto"), exports);
|
|
23
25
|
__exportStar(require("./component-template-dto"), exports);
|
|
24
26
|
__exportStar(require("./contacts-response-dto"), exports);
|
|
25
27
|
__exportStar(require("./conversation-message-dto"), exports);
|
|
@@ -44,6 +46,10 @@ __exportStar(require("./send-template-dto"), exports);
|
|
|
44
46
|
__exportStar(require("./send-text-data-response-dto"), exports);
|
|
45
47
|
__exportStar(require("./send-text-dto"), exports);
|
|
46
48
|
__exportStar(require("./send-text-response-dto"), exports);
|
|
49
|
+
__exportStar(require("./session-response-data-dto"), exports);
|
|
50
|
+
__exportStar(require("./session-response-dto"), exports);
|
|
51
|
+
__exportStar(require("./sessions-response-data-dto"), exports);
|
|
52
|
+
__exportStar(require("./signature-data-dto"), exports);
|
|
47
53
|
__exportStar(require("./status-dto"), exports);
|
|
48
54
|
__exportStar(require("./tokens-dto"), exports);
|
|
49
55
|
__exportStar(require("./unauthorized-dto"), exports);
|
|
@@ -25,4 +25,5 @@ var SendTemplateDataDtoOriginEnum;
|
|
|
25
25
|
SendTemplateDataDtoOriginEnum["OPERATOR"] = "OPERATOR";
|
|
26
26
|
SendTemplateDataDtoOriginEnum["AUTOMATIC"] = "AUTOMATIC";
|
|
27
27
|
SendTemplateDataDtoOriginEnum["MASSIVE"] = "MASSIVE";
|
|
28
|
+
SendTemplateDataDtoOriginEnum["AUTH"] = "AUTH";
|
|
28
29
|
})(SendTemplateDataDtoOriginEnum || (exports.SendTemplateDataDtoOriginEnum = SendTemplateDataDtoOriginEnum = {}));
|
|
@@ -25,4 +25,5 @@ var SendTextDtoOriginEnum;
|
|
|
25
25
|
SendTextDtoOriginEnum["OPERATOR"] = "OPERATOR";
|
|
26
26
|
SendTextDtoOriginEnum["AUTOMATIC"] = "AUTOMATIC";
|
|
27
27
|
SendTextDtoOriginEnum["MASSIVE"] = "MASSIVE";
|
|
28
|
+
SendTextDtoOriginEnum["AUTH"] = "AUTH";
|
|
28
29
|
})(SendTextDtoOriginEnum || (exports.SendTextDtoOriginEnum = SendTextDtoOriginEnum = {}));
|
|
@@ -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 { SessionResponseDto } from './session-response-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SessionResponseDataDto
|
|
18
|
+
*/
|
|
19
|
+
export interface SessionResponseDataDto {
|
|
20
|
+
/**
|
|
21
|
+
* @type {SessionResponseDto}
|
|
22
|
+
* @memberof SessionResponseDataDto
|
|
23
|
+
*/
|
|
24
|
+
data: SessionResponseDto;
|
|
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,43 @@
|
|
|
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 { WhatsappMessageDto } from './whatsapp-message-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SessionResponseDto
|
|
18
|
+
*/
|
|
19
|
+
export interface SessionResponseDto {
|
|
20
|
+
/**
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof SessionResponseDto
|
|
23
|
+
* @example 23
|
|
24
|
+
*/
|
|
25
|
+
id: number;
|
|
26
|
+
/**
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SessionResponseDto
|
|
29
|
+
* @example b68ece44-0733-45bd-87e7-226880443623
|
|
30
|
+
*/
|
|
31
|
+
sessionUuid: string;
|
|
32
|
+
/**
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof SessionResponseDto
|
|
35
|
+
* @example 23
|
|
36
|
+
*/
|
|
37
|
+
messagesCount: number;
|
|
38
|
+
/**
|
|
39
|
+
* @type {Array<WhatsappMessageDto>}
|
|
40
|
+
* @memberof SessionResponseDto
|
|
41
|
+
*/
|
|
42
|
+
messages: Array<WhatsappMessageDto>;
|
|
43
|
+
}
|
|
@@ -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 { SessionResponseDto } from './session-response-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SessionsResponseDataDto
|
|
18
|
+
*/
|
|
19
|
+
export interface SessionsResponseDataDto {
|
|
20
|
+
/**
|
|
21
|
+
* @type {Array<SessionResponseDto>}
|
|
22
|
+
* @memberof SessionsResponseDataDto
|
|
23
|
+
*/
|
|
24
|
+
data: Array<SessionResponseDto>;
|
|
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 });
|