@libgot/whatsapp-bridge-sdk 1.0.35 → 1.0.36-rc.1
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,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 SignatureDataDto
|
|
17
|
+
*/
|
|
18
|
+
export interface SignatureDataDto {
|
|
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,22 @@
|
|
|
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 ApplyForLoanResponseDto
|
|
20
|
+
*/
|
|
21
|
+
export interface ApplyForLoanResponseDto {
|
|
22
|
+
}
|
|
@@ -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 AssignmentTypeDto
|
|
20
|
+
*/
|
|
21
|
+
export interface AssignmentTypeDto {
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AssignmentTypeDto
|
|
26
|
+
* @example 1
|
|
27
|
+
*/
|
|
28
|
+
type: string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof AssignmentTypeDto
|
|
33
|
+
* @example 1
|
|
34
|
+
*/
|
|
35
|
+
branchId: number;
|
|
36
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 CellphoneValidationDto
|
|
20
|
+
*/
|
|
21
|
+
export interface CellphoneValidationDto {
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @type {Array<number>}
|
|
25
|
+
* @memberof CellphoneValidationDto
|
|
26
|
+
*/
|
|
27
|
+
numbers: Array<number>;
|
|
28
|
+
}
|
package/models/index.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/models/send-text-dto.ts
CHANGED
|
@@ -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 { SessionResponseDto } from './session-response-dto';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SessionResponseDataDto
|
|
21
|
+
*/
|
|
22
|
+
export interface SessionResponseDataDto {
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @type {SessionResponseDto}
|
|
26
|
+
* @memberof SessionResponseDataDto
|
|
27
|
+
*/
|
|
28
|
+
data: SessionResponseDto;
|
|
29
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { WhatsappMessageDto } from './whatsapp-message-dto';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SessionResponseDto
|
|
21
|
+
*/
|
|
22
|
+
export interface SessionResponseDto {
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof SessionResponseDto
|
|
27
|
+
* @example 23
|
|
28
|
+
*/
|
|
29
|
+
id: number;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SessionResponseDto
|
|
34
|
+
* @example b68ece44-0733-45bd-87e7-226880443623
|
|
35
|
+
*/
|
|
36
|
+
sessionUuid: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof SessionResponseDto
|
|
41
|
+
* @example 23
|
|
42
|
+
*/
|
|
43
|
+
messagesCount: number;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @type {Array<WhatsappMessageDto>}
|
|
47
|
+
* @memberof SessionResponseDto
|
|
48
|
+
*/
|
|
49
|
+
messages: Array<WhatsappMessageDto>;
|
|
50
|
+
}
|
|
@@ -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 { SessionResponseDto } from './session-response-dto';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SessionsResponseDataDto
|
|
21
|
+
*/
|
|
22
|
+
export interface SessionsResponseDataDto {
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @type {Array<SessionResponseDto>}
|
|
26
|
+
* @memberof SessionsResponseDataDto
|
|
27
|
+
*/
|
|
28
|
+
data: Array<SessionResponseDto>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 SignatureDataDto
|
|
20
|
+
*/
|
|
21
|
+
export interface SignatureDataDto {
|
|
22
|
+
}
|