@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.
Files changed (52) hide show
  1. package/README.md +2 -2
  2. package/api.ts +3 -0
  3. package/apis/auth-api.ts +26 -27
  4. package/apis/cellphone-api.ts +151 -0
  5. package/apis/chats-api.ts +116 -7
  6. package/apis/flows-api.ts +263 -0
  7. package/apis/sessions-api.ts +201 -0
  8. package/dist/api.d.ts +3 -0
  9. package/dist/api.js +3 -0
  10. package/dist/apis/auth-api.d.ts +12 -13
  11. package/dist/apis/auth-api.js +25 -25
  12. package/dist/apis/cellphone-api.d.ts +74 -0
  13. package/dist/apis/cellphone-api.js +161 -0
  14. package/dist/apis/chats-api.d.ts +50 -4
  15. package/dist/apis/chats-api.js +116 -7
  16. package/dist/apis/flows-api.d.ts +125 -0
  17. package/dist/apis/flows-api.js +283 -0
  18. package/dist/apis/sessions-api.d.ts +100 -0
  19. package/dist/apis/sessions-api.js +217 -0
  20. package/dist/models/apply-for-loan-response-dto.d.ts +19 -0
  21. package/dist/models/apply-for-loan-response-dto.js +15 -0
  22. package/dist/models/assignment-type-dto.d.ts +31 -0
  23. package/dist/models/assignment-type-dto.js +15 -0
  24. package/dist/models/cellphone-validation-dto.d.ts +24 -0
  25. package/dist/models/cellphone-validation-dto.js +15 -0
  26. package/dist/models/index.d.ts +7 -1
  27. package/dist/models/index.js +7 -1
  28. package/dist/models/send-template-data-dto.d.ts +2 -1
  29. package/dist/models/send-template-data-dto.js +1 -0
  30. package/dist/models/send-text-dto.d.ts +2 -1
  31. package/dist/models/send-text-dto.js +1 -0
  32. package/dist/models/session-response-data-dto.d.ts +25 -0
  33. package/dist/models/session-response-data-dto.js +15 -0
  34. package/dist/models/session-response-dto.d.ts +43 -0
  35. package/dist/models/session-response-dto.js +15 -0
  36. package/dist/models/sessions-response-data-dto.d.ts +25 -0
  37. package/dist/models/sessions-response-data-dto.js +15 -0
  38. package/dist/models/signature-data-dto.d.ts +19 -0
  39. package/dist/models/signature-data-dto.js +15 -0
  40. package/dist/models/whatsapp-chat-dto.d.ts +6 -0
  41. package/models/apply-for-loan-response-dto.ts +22 -0
  42. package/models/assignment-type-dto.ts +36 -0
  43. package/models/cellphone-validation-dto.ts +28 -0
  44. package/models/index.ts +7 -1
  45. package/models/send-template-data-dto.ts +2 -1
  46. package/models/send-text-dto.ts +2 -1
  47. package/models/session-response-data-dto.ts +29 -0
  48. package/models/session-response-dto.ts +50 -0
  49. package/models/sessions-response-data-dto.ts +29 -0
  50. package/models/signature-data-dto.ts +22 -0
  51. package/models/whatsapp-chat-dto.ts +7 -0
  52. 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 });
@@ -76,4 +76,10 @@ export interface WhatsappChatDto {
76
76
  * @memberof WhatsappChatDto
77
77
  */
78
78
  contact: WhatsappContactDto;
79
+ /**
80
+ * @type {string}
81
+ * @memberof WhatsappChatDto
82
+ * @example crm
83
+ */
84
+ assignmentType: string;
79
85
  }
@@ -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 './auth-dto';
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';
@@ -65,6 +65,7 @@ export enum SendTemplateDataDtoOriginEnum {
65
65
  SESSION = 'SESSION',
66
66
  OPERATOR = 'OPERATOR',
67
67
  AUTOMATIC = 'AUTOMATIC',
68
- MASSIVE = 'MASSIVE'
68
+ MASSIVE = 'MASSIVE',
69
+ AUTH = 'AUTH'
69
70
  }
70
71
 
@@ -65,6 +65,7 @@ export enum SendTextDtoOriginEnum {
65
65
  SESSION = 'SESSION',
66
66
  OPERATOR = 'OPERATOR',
67
67
  AUTOMATIC = 'AUTOMATIC',
68
- MASSIVE = 'MASSIVE'
68
+ MASSIVE = 'MASSIVE',
69
+ AUTH = 'AUTH'
69
70
  }
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
+ }
@@ -89,4 +89,11 @@ export interface WhatsappChatDto {
89
89
  * @memberof WhatsappChatDto
90
90
  */
91
91
  contact: WhatsappContactDto;
92
+
93
+ /**
94
+ * @type {string}
95
+ * @memberof WhatsappChatDto
96
+ * @example crm
97
+ */
98
+ assignmentType: string;
92
99
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libgot/whatsapp-bridge-sdk",
3
- "version": "1.0.35",
3
+ "version": "1.0.36-rc.2",
4
4
  "description": "OpenAPI client for ",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [