@libgot/whatsapp-bridge-sdk 1.0.2 → 1.0.3
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/dist/api.d.ts +16 -0
- package/dist/api.js +30 -0
- package/dist/apis/auth-api.d.ts +121 -0
- package/dist/apis/auth-api.js +418 -0
- package/dist/apis/contacts-api.d.ts +66 -0
- package/dist/apis/contacts-api.js +203 -0
- package/dist/apis/default-api.d.ts +90 -0
- package/dist/apis/default-api.js +287 -0
- package/dist/apis/healthchecks-api.d.ts +90 -0
- package/dist/apis/healthchecks-api.js +287 -0
- package/dist/apis/users-api.d.ts +179 -0
- package/dist/apis/users-api.js +586 -0
- package/dist/base.d.ts +55 -0
- package/dist/base.js +80 -0
- package/dist/configuration.d.ts +65 -0
- package/dist/configuration.js +29 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +28 -0
- package/dist/models/api-request-user-update-password-dto.d.ts +25 -0
- package/dist/models/api-request-user-update-password-dto.js +15 -0
- package/dist/models/api-response-auth-dto.d.ts +25 -0
- package/dist/models/api-response-auth-dto.js +15 -0
- package/dist/models/api-response-user-dto.d.ts +25 -0
- package/dist/models/api-response-user-dto.js +15 -0
- package/dist/models/attributes.d.ts +31 -0
- package/dist/models/attributes.js +15 -0
- package/dist/models/auth-dto.d.ts +31 -0
- package/dist/models/auth-dto.js +15 -0
- package/dist/models/contacts-response-dto.d.ts +25 -0
- package/dist/models/contacts-response-dto.js +15 -0
- package/dist/models/data-dto.d.ts +25 -0
- package/dist/models/data-dto.js +15 -0
- package/dist/models/data-unauthorized-dto.d.ts +29 -0
- package/dist/models/data-unauthorized-dto.js +15 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +31 -0
- package/dist/models/inline-response503-info.d.ts +24 -0
- package/dist/models/inline-response503-info.js +15 -0
- package/dist/models/inline-response503.d.ts +50 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/message-dto.d.ts +19 -0
- package/dist/models/message-dto.js +15 -0
- package/dist/models/role-dto.d.ts +37 -0
- package/dist/models/role-dto.js +15 -0
- package/dist/models/status-dto.d.ts +31 -0
- package/dist/models/status-dto.js +15 -0
- package/dist/models/tokens-dto.d.ts +31 -0
- package/dist/models/tokens-dto.js +15 -0
- package/dist/models/unauthorized-dto.d.ts +25 -0
- package/dist/models/unauthorized-dto.js +15 -0
- package/dist/models/unauthorized-token-dto.d.ts +29 -0
- package/dist/models/unauthorized-token-dto.js +15 -0
- package/dist/models/user-detail-dto.d.ts +49 -0
- package/dist/models/user-detail-dto.js +15 -0
- package/dist/models/user-update-password-dto.d.ts +37 -0
- package/dist/models/user-update-password-dto.js +15 -0
- package/dist/models/whatsapp-contact-dto.d.ts +43 -0
- package/dist/models/whatsapp-contact-dto.js +15 -0
- package/package.json +1 -1
package/dist/base.js
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
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 __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
extendStatics(d, b);
|
|
24
|
+
function __() { this.constructor = d; }
|
|
25
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
26
|
+
};
|
|
27
|
+
})();
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
30
|
+
// Some imports not used depending on template conditions
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
var axios_1 = require("axios");
|
|
33
|
+
exports.BASE_PATH = "http://api-whatsapp-bridge.local.libgot.com".replace(/\/+$/, "");
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @export
|
|
37
|
+
*/
|
|
38
|
+
exports.COLLECTION_FORMATS = {
|
|
39
|
+
csv: ",",
|
|
40
|
+
ssv: " ",
|
|
41
|
+
tsv: "\t",
|
|
42
|
+
pipes: "|",
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @export
|
|
47
|
+
* @class BaseAPI
|
|
48
|
+
*/
|
|
49
|
+
var BaseAPI = /** @class */ (function () {
|
|
50
|
+
function BaseAPI(configuration, basePath, axios) {
|
|
51
|
+
if (basePath === void 0) { basePath = exports.BASE_PATH; }
|
|
52
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
53
|
+
this.basePath = basePath;
|
|
54
|
+
this.axios = axios;
|
|
55
|
+
if (configuration) {
|
|
56
|
+
this.configuration = configuration;
|
|
57
|
+
this.basePath = configuration.basePath || this.basePath;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return BaseAPI;
|
|
61
|
+
}());
|
|
62
|
+
exports.BaseAPI = BaseAPI;
|
|
63
|
+
;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @export
|
|
67
|
+
* @class RequiredError
|
|
68
|
+
* @extends {Error}
|
|
69
|
+
*/
|
|
70
|
+
var RequiredError = /** @class */ (function (_super) {
|
|
71
|
+
__extends(RequiredError, _super);
|
|
72
|
+
function RequiredError(field, msg) {
|
|
73
|
+
var _this = _super.call(this, msg) || this;
|
|
74
|
+
_this.field = field;
|
|
75
|
+
_this.name = "RequiredError";
|
|
76
|
+
return _this;
|
|
77
|
+
}
|
|
78
|
+
return RequiredError;
|
|
79
|
+
}(Error));
|
|
80
|
+
exports.RequiredError = RequiredError;
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
export interface ConfigurationParameters {
|
|
13
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
|
+
username?: string;
|
|
15
|
+
password?: string;
|
|
16
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
17
|
+
basePath?: string;
|
|
18
|
+
baseOptions?: any;
|
|
19
|
+
}
|
|
20
|
+
export declare class Configuration {
|
|
21
|
+
/**
|
|
22
|
+
* parameter for apiKey security
|
|
23
|
+
*
|
|
24
|
+
* @param name security name
|
|
25
|
+
* @memberof Configuration
|
|
26
|
+
*/
|
|
27
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
28
|
+
/**
|
|
29
|
+
* parameter for basic security
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof Configuration
|
|
33
|
+
*/
|
|
34
|
+
username?: string;
|
|
35
|
+
/**
|
|
36
|
+
* parameter for basic security
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Configuration
|
|
40
|
+
*/
|
|
41
|
+
password?: string;
|
|
42
|
+
/**
|
|
43
|
+
* parameter for oauth2 security
|
|
44
|
+
*
|
|
45
|
+
* @param name security name
|
|
46
|
+
* @param scopes oauth2 scope
|
|
47
|
+
* @memberof Configuration
|
|
48
|
+
*/
|
|
49
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
|
+
/**
|
|
51
|
+
* override base path
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof Configuration
|
|
55
|
+
*/
|
|
56
|
+
basePath?: string;
|
|
57
|
+
/**
|
|
58
|
+
* base options for axios calls
|
|
59
|
+
*
|
|
60
|
+
* @type {any}
|
|
61
|
+
* @memberof Configuration
|
|
62
|
+
*/
|
|
63
|
+
baseOptions?: any;
|
|
64
|
+
constructor(param?: ConfigurationParameters);
|
|
65
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 });
|
|
16
|
+
exports.Configuration = void 0;
|
|
17
|
+
var Configuration = /** @class */ (function () {
|
|
18
|
+
function Configuration(param) {
|
|
19
|
+
if (param === void 0) { param = {}; }
|
|
20
|
+
this.apiKey = param.apiKey;
|
|
21
|
+
this.username = param.username;
|
|
22
|
+
this.password = param.password;
|
|
23
|
+
this.accessToken = param.accessToken;
|
|
24
|
+
this.basePath = param.basePath;
|
|
25
|
+
this.baseOptions = param.baseOptions;
|
|
26
|
+
}
|
|
27
|
+
return Configuration;
|
|
28
|
+
}());
|
|
29
|
+
exports.Configuration = Configuration;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export * from "./api";
|
|
13
|
+
export * from "./configuration";
|
|
14
|
+
export * from "./models";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
23
|
+
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
__exportStar(require("./api"), exports);
|
|
27
|
+
__exportStar(require("./configuration"), exports);
|
|
28
|
+
__exportStar(require("./models"), exports);
|
|
@@ -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 { Attributes } from './attributes';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ApiRequestUserUpdatePasswordDto
|
|
18
|
+
*/
|
|
19
|
+
export interface ApiRequestUserUpdatePasswordDto {
|
|
20
|
+
/**
|
|
21
|
+
* @type {Attributes}
|
|
22
|
+
* @memberof ApiRequestUserUpdatePasswordDto
|
|
23
|
+
*/
|
|
24
|
+
data: Attributes;
|
|
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,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 { DataDto } from './data-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ApiResponseAuthDto
|
|
18
|
+
*/
|
|
19
|
+
export interface ApiResponseAuthDto {
|
|
20
|
+
/**
|
|
21
|
+
* @type {DataDto}
|
|
22
|
+
* @memberof ApiResponseAuthDto
|
|
23
|
+
*/
|
|
24
|
+
data: DataDto;
|
|
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,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 { UserDetailDto } from './user-detail-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ApiResponseUserDto
|
|
18
|
+
*/
|
|
19
|
+
export interface ApiResponseUserDto {
|
|
20
|
+
/**
|
|
21
|
+
* @type {UserDetailDto}
|
|
22
|
+
* @memberof ApiResponseUserDto
|
|
23
|
+
*/
|
|
24
|
+
data: UserDetailDto;
|
|
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
|
+
import { UserUpdatePasswordDto } from './user-update-password-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface Attributes
|
|
18
|
+
*/
|
|
19
|
+
export interface Attributes {
|
|
20
|
+
/**
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Attributes
|
|
23
|
+
* @example User
|
|
24
|
+
*/
|
|
25
|
+
type: string;
|
|
26
|
+
/**
|
|
27
|
+
* @type {UserUpdatePasswordDto}
|
|
28
|
+
* @memberof Attributes
|
|
29
|
+
*/
|
|
30
|
+
attributes: UserUpdatePasswordDto;
|
|
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,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 AuthDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AuthDto {
|
|
19
|
+
/**
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AuthDto
|
|
22
|
+
* @example test@libgot.com
|
|
23
|
+
*/
|
|
24
|
+
username: string;
|
|
25
|
+
/**
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AuthDto
|
|
28
|
+
* @example 123456
|
|
29
|
+
*/
|
|
30
|
+
password: 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 { WhatsappContactDto } from './whatsapp-contact-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ContactsResponseDTO
|
|
18
|
+
*/
|
|
19
|
+
export interface ContactsResponseDTO {
|
|
20
|
+
/**
|
|
21
|
+
* @type {Array<WhatsappContactDto>}
|
|
22
|
+
* @memberof ContactsResponseDTO
|
|
23
|
+
*/
|
|
24
|
+
data: Array<WhatsappContactDto>;
|
|
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,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 { TokensDto } from './tokens-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface DataDto
|
|
18
|
+
*/
|
|
19
|
+
export interface DataDto {
|
|
20
|
+
/**
|
|
21
|
+
* @type {TokensDto}
|
|
22
|
+
* @memberof DataDto
|
|
23
|
+
*/
|
|
24
|
+
tokens: TokensDto;
|
|
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,29 @@
|
|
|
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 DataUnauthorizedDto
|
|
17
|
+
*/
|
|
18
|
+
export interface DataUnauthorizedDto {
|
|
19
|
+
/**
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof DataUnauthorizedDto
|
|
22
|
+
*/
|
|
23
|
+
password: Array<string> | null;
|
|
24
|
+
/**
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof DataUnauthorizedDto
|
|
27
|
+
*/
|
|
28
|
+
email: Array<string> | null;
|
|
29
|
+
}
|
|
@@ -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,19 @@
|
|
|
1
|
+
export * from './api-request-user-update-password-dto';
|
|
2
|
+
export * from './api-response-auth-dto';
|
|
3
|
+
export * from './api-response-user-dto';
|
|
4
|
+
export * from './attributes';
|
|
5
|
+
export * from './auth-dto';
|
|
6
|
+
export * from './contacts-response-dto';
|
|
7
|
+
export * from './data-dto';
|
|
8
|
+
export * from './data-unauthorized-dto';
|
|
9
|
+
export * from './inline-response503';
|
|
10
|
+
export * from './inline-response503-info';
|
|
11
|
+
export * from './message-dto';
|
|
12
|
+
export * from './role-dto';
|
|
13
|
+
export * from './status-dto';
|
|
14
|
+
export * from './tokens-dto';
|
|
15
|
+
export * from './unauthorized-dto';
|
|
16
|
+
export * from './unauthorized-token-dto';
|
|
17
|
+
export * from './user-detail-dto';
|
|
18
|
+
export * from './user-update-password-dto';
|
|
19
|
+
export * from './whatsapp-contact-dto';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./api-request-user-update-password-dto"), exports);
|
|
14
|
+
__exportStar(require("./api-response-auth-dto"), exports);
|
|
15
|
+
__exportStar(require("./api-response-user-dto"), exports);
|
|
16
|
+
__exportStar(require("./attributes"), exports);
|
|
17
|
+
__exportStar(require("./auth-dto"), exports);
|
|
18
|
+
__exportStar(require("./contacts-response-dto"), exports);
|
|
19
|
+
__exportStar(require("./data-dto"), exports);
|
|
20
|
+
__exportStar(require("./data-unauthorized-dto"), exports);
|
|
21
|
+
__exportStar(require("./inline-response503"), exports);
|
|
22
|
+
__exportStar(require("./inline-response503-info"), exports);
|
|
23
|
+
__exportStar(require("./message-dto"), exports);
|
|
24
|
+
__exportStar(require("./role-dto"), exports);
|
|
25
|
+
__exportStar(require("./status-dto"), exports);
|
|
26
|
+
__exportStar(require("./tokens-dto"), exports);
|
|
27
|
+
__exportStar(require("./unauthorized-dto"), exports);
|
|
28
|
+
__exportStar(require("./unauthorized-token-dto"), exports);
|
|
29
|
+
__exportStar(require("./user-detail-dto"), exports);
|
|
30
|
+
__exportStar(require("./user-update-password-dto"), exports);
|
|
31
|
+
__exportStar(require("./whatsapp-contact-dto"), exports);
|
|
@@ -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 InlineResponse503Info
|
|
17
|
+
*/
|
|
18
|
+
export interface InlineResponse503Info {
|
|
19
|
+
/**
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineResponse503Info
|
|
22
|
+
*/
|
|
23
|
+
status: string;
|
|
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 });
|