@emilgroup/webhook-sdk-node 1.0.1-beta.11 → 1.0.1-beta.13

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.
@@ -0,0 +1,145 @@
1
+ /**
2
+ * EMIL Webhookservice
3
+ * The EMIL Webhookservice API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface WebhookRequestClass
16
+ */
17
+ export interface WebhookRequestClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof WebhookRequestClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier code for the webhook request
26
+ * @type {string}
27
+ * @memberof WebhookRequestClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Tenant owner of the webhook request
32
+ * @type {string}
33
+ * @memberof WebhookRequestClass
34
+ */
35
+ 'owner': string;
36
+ /**
37
+ * ID of the associated inbound webhook
38
+ * @type {number}
39
+ * @memberof WebhookRequestClass
40
+ */
41
+ 'inboundWebhookId': number;
42
+ /**
43
+ * Code of the associated inbound webhook
44
+ * @type {string}
45
+ * @memberof WebhookRequestClass
46
+ */
47
+ 'inboundWebhookCode': string;
48
+ /**
49
+ * Request body payload
50
+ * @type {object}
51
+ * @memberof WebhookRequestClass
52
+ */
53
+ 'requestBody': object;
54
+ /**
55
+ * Request headers
56
+ * @type {object}
57
+ * @memberof WebhookRequestClass
58
+ */
59
+ 'requestHeaders': object;
60
+ /**
61
+ * HTTP method of the request
62
+ * @type {string}
63
+ * @memberof WebhookRequestClass
64
+ */
65
+ 'requestMethod': string;
66
+ /**
67
+ * Full request URL
68
+ * @type {string}
69
+ * @memberof WebhookRequestClass
70
+ */
71
+ 'requestUrl': string;
72
+ /**
73
+ * Query parameters from the request
74
+ * @type {object}
75
+ * @memberof WebhookRequestClass
76
+ */
77
+ 'queryParams': object;
78
+ /**
79
+ * Content-Type header value
80
+ * @type {string}
81
+ * @memberof WebhookRequestClass
82
+ */
83
+ 'contentType'?: string;
84
+ /**
85
+ * External reference ID extracted from the request
86
+ * @type {string}
87
+ * @memberof WebhookRequestClass
88
+ */
89
+ 'externalRef'?: string;
90
+ /**
91
+ * Processing status of the webhook request
92
+ * @type {string}
93
+ * @memberof WebhookRequestClass
94
+ */
95
+ 'status': WebhookRequestClassStatusEnum;
96
+ /**
97
+ * Timestamp when processing completed
98
+ * @type {string}
99
+ * @memberof WebhookRequestClass
100
+ */
101
+ 'processedAt'?: string;
102
+ /**
103
+ * Error message if processing failed
104
+ * @type {string}
105
+ * @memberof WebhookRequestClass
106
+ */
107
+ 'errorMessage'?: string;
108
+ /**
109
+ * Code of the workflow instance created when the webhook triggered a workflow
110
+ * @type {string}
111
+ * @memberof WebhookRequestClass
112
+ */
113
+ 'workflowInstanceCode'?: string;
114
+ /**
115
+ * Time at which the object was created.
116
+ * @type {string}
117
+ * @memberof WebhookRequestClass
118
+ */
119
+ 'createdAt': string;
120
+ /**
121
+ * Time at which the object was updated.
122
+ * @type {string}
123
+ * @memberof WebhookRequestClass
124
+ */
125
+ 'updatedAt': string;
126
+ /**
127
+ * Identifier of the user who created the record.
128
+ * @type {string}
129
+ * @memberof WebhookRequestClass
130
+ */
131
+ 'createdBy': string;
132
+ /**
133
+ * Identifier of the user who last updated the record.
134
+ * @type {string}
135
+ * @memberof WebhookRequestClass
136
+ */
137
+ 'updatedBy': string;
138
+ }
139
+ export declare const WebhookRequestClassStatusEnum: {
140
+ readonly Scheduled: "SCHEDULED";
141
+ readonly InProgress: "IN_PROGRESS";
142
+ readonly Completed: "COMPLETED";
143
+ readonly Failed: "FAILED";
144
+ };
145
+ export type WebhookRequestClassStatusEnum = typeof WebhookRequestClassStatusEnum[keyof typeof WebhookRequestClassStatusEnum];
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Webhookservice
6
+ * The EMIL Webhookservice API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.WebhookRequestClassStatusEnum = void 0;
17
+ exports.WebhookRequestClassStatusEnum = {
18
+ Scheduled: 'SCHEDULED',
19
+ InProgress: 'IN_PROGRESS',
20
+ Completed: 'COMPLETED',
21
+ Failed: 'FAILED'
22
+ };
package/models/index.ts CHANGED
@@ -5,6 +5,8 @@ export * from './inbound-webhook-class';
5
5
  export * from './inline-response200';
6
6
  export * from './inline-response503';
7
7
  export * from './list-inbound-webhook-response-class';
8
+ export * from './list-webhook-requests-response-class';
8
9
  export * from './trigger-inbound-webhook-response-class';
9
10
  export * from './update-inbound-webhook-request-dto';
10
11
  export * from './update-inbound-webhook-response-class';
12
+ export * from './webhook-request-class';
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Webhookservice
5
+ * The EMIL Webhookservice API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { WebhookRequestClass } from './webhook-request-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListWebhookRequestsResponseClass
22
+ */
23
+ export interface ListWebhookRequestsResponseClass {
24
+ /**
25
+ * List of webhook requests
26
+ * @type {Array<WebhookRequestClass>}
27
+ * @memberof ListWebhookRequestsResponseClass
28
+ */
29
+ 'items': Array<WebhookRequestClass>;
30
+ /**
31
+ * Token for next page of results
32
+ * @type {string}
33
+ * @memberof ListWebhookRequestsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Number of items per page
38
+ * @type {number}
39
+ * @memberof ListWebhookRequestsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total number of items
44
+ * @type {number}
45
+ * @memberof ListWebhookRequestsResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -0,0 +1,154 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Webhookservice
5
+ * The EMIL Webhookservice API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface WebhookRequestClass
21
+ */
22
+ export interface WebhookRequestClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof WebhookRequestClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier code for the webhook request
31
+ * @type {string}
32
+ * @memberof WebhookRequestClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Tenant owner of the webhook request
37
+ * @type {string}
38
+ * @memberof WebhookRequestClass
39
+ */
40
+ 'owner': string;
41
+ /**
42
+ * ID of the associated inbound webhook
43
+ * @type {number}
44
+ * @memberof WebhookRequestClass
45
+ */
46
+ 'inboundWebhookId': number;
47
+ /**
48
+ * Code of the associated inbound webhook
49
+ * @type {string}
50
+ * @memberof WebhookRequestClass
51
+ */
52
+ 'inboundWebhookCode': string;
53
+ /**
54
+ * Request body payload
55
+ * @type {object}
56
+ * @memberof WebhookRequestClass
57
+ */
58
+ 'requestBody': object;
59
+ /**
60
+ * Request headers
61
+ * @type {object}
62
+ * @memberof WebhookRequestClass
63
+ */
64
+ 'requestHeaders': object;
65
+ /**
66
+ * HTTP method of the request
67
+ * @type {string}
68
+ * @memberof WebhookRequestClass
69
+ */
70
+ 'requestMethod': string;
71
+ /**
72
+ * Full request URL
73
+ * @type {string}
74
+ * @memberof WebhookRequestClass
75
+ */
76
+ 'requestUrl': string;
77
+ /**
78
+ * Query parameters from the request
79
+ * @type {object}
80
+ * @memberof WebhookRequestClass
81
+ */
82
+ 'queryParams': object;
83
+ /**
84
+ * Content-Type header value
85
+ * @type {string}
86
+ * @memberof WebhookRequestClass
87
+ */
88
+ 'contentType'?: string;
89
+ /**
90
+ * External reference ID extracted from the request
91
+ * @type {string}
92
+ * @memberof WebhookRequestClass
93
+ */
94
+ 'externalRef'?: string;
95
+ /**
96
+ * Processing status of the webhook request
97
+ * @type {string}
98
+ * @memberof WebhookRequestClass
99
+ */
100
+ 'status': WebhookRequestClassStatusEnum;
101
+ /**
102
+ * Timestamp when processing completed
103
+ * @type {string}
104
+ * @memberof WebhookRequestClass
105
+ */
106
+ 'processedAt'?: string;
107
+ /**
108
+ * Error message if processing failed
109
+ * @type {string}
110
+ * @memberof WebhookRequestClass
111
+ */
112
+ 'errorMessage'?: string;
113
+ /**
114
+ * Code of the workflow instance created when the webhook triggered a workflow
115
+ * @type {string}
116
+ * @memberof WebhookRequestClass
117
+ */
118
+ 'workflowInstanceCode'?: string;
119
+ /**
120
+ * Time at which the object was created.
121
+ * @type {string}
122
+ * @memberof WebhookRequestClass
123
+ */
124
+ 'createdAt': string;
125
+ /**
126
+ * Time at which the object was updated.
127
+ * @type {string}
128
+ * @memberof WebhookRequestClass
129
+ */
130
+ 'updatedAt': string;
131
+ /**
132
+ * Identifier of the user who created the record.
133
+ * @type {string}
134
+ * @memberof WebhookRequestClass
135
+ */
136
+ 'createdBy': string;
137
+ /**
138
+ * Identifier of the user who last updated the record.
139
+ * @type {string}
140
+ * @memberof WebhookRequestClass
141
+ */
142
+ 'updatedBy': string;
143
+ }
144
+
145
+ export const WebhookRequestClassStatusEnum = {
146
+ Scheduled: 'SCHEDULED',
147
+ InProgress: 'IN_PROGRESS',
148
+ Completed: 'COMPLETED',
149
+ Failed: 'FAILED'
150
+ } as const;
151
+
152
+ export type WebhookRequestClassStatusEnum = typeof WebhookRequestClassStatusEnum[keyof typeof WebhookRequestClassStatusEnum];
153
+
154
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/webhook-sdk-node",
3
- "version": "1.0.1-beta.11",
3
+ "version": "1.0.1-beta.13",
4
4
  "description": "OpenAPI client for @emilgroup/webhook-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [