@libgot/whatsapp-bridge-sdk 1.0.34 → 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 +8 -1
- package/dist/models/index.js +8 -1
- package/dist/models/send-template-data-dto.d.ts +18 -0
- package/dist/models/send-template-data-dto.js +14 -0
- package/dist/models/send-text-dto.d.ts +18 -0
- package/dist/models/send-text-dto.js +14 -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 +12 -0
- package/dist/models/whatsapp-message-dto.d.ts +6 -0
- package/dist/models/whatsapp-message-feedback.d.ts +43 -0
- package/dist/models/whatsapp-message-feedback.js +15 -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 +8 -1
- package/models/send-template-data-dto.ts +21 -0
- package/models/send-text-dto.ts +21 -0
- 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 +14 -0
- package/models/whatsapp-message-dto.ts +7 -0
- package/models/whatsapp-message-feedback.ts +50 -0
- package/package.json +1 -1
|
@@ -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 });
|
|
@@ -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 });
|
|
@@ -60,6 +60,12 @@ export interface WhatsappChatDto {
|
|
|
60
60
|
* @example 1965
|
|
61
61
|
*/
|
|
62
62
|
assignedUserId: number;
|
|
63
|
+
/**
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof WhatsappChatDto
|
|
66
|
+
* @example 1
|
|
67
|
+
*/
|
|
68
|
+
branchId: number;
|
|
63
69
|
/**
|
|
64
70
|
* @type {Array<WhatsappMessageDto>}
|
|
65
71
|
* @memberof WhatsappChatDto
|
|
@@ -70,4 +76,10 @@ export interface WhatsappChatDto {
|
|
|
70
76
|
* @memberof WhatsappChatDto
|
|
71
77
|
*/
|
|
72
78
|
contact: WhatsappContactDto;
|
|
79
|
+
/**
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof WhatsappChatDto
|
|
82
|
+
* @example crm
|
|
83
|
+
*/
|
|
84
|
+
assignmentType: string;
|
|
73
85
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { ConversationMessageDto } from './conversation-message-dto';
|
|
13
13
|
import { DocumentMessageDto } from './document-message-dto';
|
|
14
14
|
import { ImageMessageDto } from './image-message-dto';
|
|
15
|
+
import { WhatsappMessageFeedback } from './whatsapp-message-feedback';
|
|
15
16
|
import { WhatsappMessageKeyDto } from './whatsapp-message-key-dto';
|
|
16
17
|
/**
|
|
17
18
|
*
|
|
@@ -48,4 +49,9 @@ export interface WhatsappMessageDto {
|
|
|
48
49
|
* @memberof WhatsappMessageDto
|
|
49
50
|
*/
|
|
50
51
|
key: WhatsappMessageKeyDto;
|
|
52
|
+
/**
|
|
53
|
+
* @type {WhatsappMessageFeedback}
|
|
54
|
+
* @memberof WhatsappMessageDto
|
|
55
|
+
*/
|
|
56
|
+
feedback: WhatsappMessageFeedback;
|
|
51
57
|
}
|
|
@@ -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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WhatsappMessageFeedback
|
|
17
|
+
*/
|
|
18
|
+
export interface WhatsappMessageFeedback {
|
|
19
|
+
/**
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof WhatsappMessageFeedback
|
|
22
|
+
* @example true
|
|
23
|
+
*/
|
|
24
|
+
isSent: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof WhatsappMessageFeedback
|
|
28
|
+
* @example false
|
|
29
|
+
*/
|
|
30
|
+
isDelivered: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof WhatsappMessageFeedback
|
|
34
|
+
* @example false
|
|
35
|
+
*/
|
|
36
|
+
isSeen: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof WhatsappMessageFeedback
|
|
40
|
+
* @example false
|
|
41
|
+
*/
|
|
42
|
+
hasError: boolean;
|
|
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,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';
|
|
@@ -38,4 +44,5 @@ export * from './whatsapp-chat-dto';
|
|
|
38
44
|
export * from './whatsapp-chat-response-dto';
|
|
39
45
|
export * from './whatsapp-contact-dto';
|
|
40
46
|
export * from './whatsapp-message-dto';
|
|
47
|
+
export * from './whatsapp-message-feedback';
|
|
41
48
|
export * from './whatsapp-message-key-dto';
|
|
@@ -47,4 +47,25 @@ export interface SendTemplateDataDto {
|
|
|
47
47
|
* @example 1
|
|
48
48
|
*/
|
|
49
49
|
sellerId?: number;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof SendTemplateDataDto
|
|
54
|
+
* @example INBOUND
|
|
55
|
+
*/
|
|
56
|
+
origin?: SendTemplateDataDtoOriginEnum;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @export
|
|
61
|
+
* @enum {string}
|
|
62
|
+
*/
|
|
63
|
+
export enum SendTemplateDataDtoOriginEnum {
|
|
64
|
+
INBOUND = 'INBOUND',
|
|
65
|
+
SESSION = 'SESSION',
|
|
66
|
+
OPERATOR = 'OPERATOR',
|
|
67
|
+
AUTOMATIC = 'AUTOMATIC',
|
|
68
|
+
MASSIVE = 'MASSIVE',
|
|
69
|
+
AUTH = 'AUTH'
|
|
50
70
|
}
|
|
71
|
+
|
package/models/send-text-dto.ts
CHANGED
|
@@ -47,4 +47,25 @@ export interface SendTextDto {
|
|
|
47
47
|
* @example 3814652933
|
|
48
48
|
*/
|
|
49
49
|
cellphone?: number;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof SendTextDto
|
|
54
|
+
* @example INBOUND
|
|
55
|
+
*/
|
|
56
|
+
origin?: SendTextDtoOriginEnum;
|
|
50
57
|
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @export
|
|
61
|
+
* @enum {string}
|
|
62
|
+
*/
|
|
63
|
+
export enum SendTextDtoOriginEnum {
|
|
64
|
+
INBOUND = 'INBOUND',
|
|
65
|
+
SESSION = 'SESSION',
|
|
66
|
+
OPERATOR = 'OPERATOR',
|
|
67
|
+
AUTOMATIC = 'AUTOMATIC',
|
|
68
|
+
MASSIVE = 'MASSIVE',
|
|
69
|
+
AUTH = 'AUTH'
|
|
70
|
+
}
|
|
71
|
+
|
|
@@ -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
|
+
}
|
|
@@ -71,6 +71,13 @@ export interface WhatsappChatDto {
|
|
|
71
71
|
*/
|
|
72
72
|
assignedUserId: number;
|
|
73
73
|
|
|
74
|
+
/**
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof WhatsappChatDto
|
|
77
|
+
* @example 1
|
|
78
|
+
*/
|
|
79
|
+
branchId: number;
|
|
80
|
+
|
|
74
81
|
/**
|
|
75
82
|
* @type {Array<WhatsappMessageDto>}
|
|
76
83
|
* @memberof WhatsappChatDto
|
|
@@ -82,4 +89,11 @@ export interface WhatsappChatDto {
|
|
|
82
89
|
* @memberof WhatsappChatDto
|
|
83
90
|
*/
|
|
84
91
|
contact: WhatsappContactDto;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof WhatsappChatDto
|
|
96
|
+
* @example crm
|
|
97
|
+
*/
|
|
98
|
+
assignmentType: string;
|
|
85
99
|
}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
import { ConversationMessageDto } from './conversation-message-dto';
|
|
16
16
|
import { DocumentMessageDto } from './document-message-dto';
|
|
17
17
|
import { ImageMessageDto } from './image-message-dto';
|
|
18
|
+
import { WhatsappMessageFeedback } from './whatsapp-message-feedback';
|
|
18
19
|
import { WhatsappMessageKeyDto } from './whatsapp-message-key-dto';
|
|
19
20
|
/**
|
|
20
21
|
*
|
|
@@ -56,4 +57,10 @@ export interface WhatsappMessageDto {
|
|
|
56
57
|
* @memberof WhatsappMessageDto
|
|
57
58
|
*/
|
|
58
59
|
key: WhatsappMessageKeyDto;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @type {WhatsappMessageFeedback}
|
|
63
|
+
* @memberof WhatsappMessageDto
|
|
64
|
+
*/
|
|
65
|
+
feedback: WhatsappMessageFeedback;
|
|
59
66
|
}
|
|
@@ -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
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface WhatsappMessageFeedback
|
|
20
|
+
*/
|
|
21
|
+
export interface WhatsappMessageFeedback {
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof WhatsappMessageFeedback
|
|
26
|
+
* @example true
|
|
27
|
+
*/
|
|
28
|
+
isSent: boolean;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberof WhatsappMessageFeedback
|
|
33
|
+
* @example false
|
|
34
|
+
*/
|
|
35
|
+
isDelivered: boolean;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof WhatsappMessageFeedback
|
|
40
|
+
* @example false
|
|
41
|
+
*/
|
|
42
|
+
isSeen: boolean;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof WhatsappMessageFeedback
|
|
47
|
+
* @example false
|
|
48
|
+
*/
|
|
49
|
+
hasError: boolean;
|
|
50
|
+
}
|