@emilgroup/webhook-sdk-node 1.0.1-beta.1 → 1.0.1-beta.11
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/.openapi-generator/FILES +6 -1
- package/README.md +2 -2
- package/api/{health-api.ts → health-checks-api.ts} +45 -19
- package/api/inbound-webhooks-api.ts +409 -0
- package/api/trigger-inbound-webhooks-api.ts +178 -0
- package/api.ts +4 -2
- package/dist/api/{health-api.d.ts → health-checks-api.d.ts} +31 -14
- package/dist/api/{health-api.js → health-checks-api.js} +60 -42
- package/dist/api/inbound-webhooks-api.d.ts +231 -0
- package/dist/api/inbound-webhooks-api.js +320 -0
- package/dist/api/trigger-inbound-webhooks-api.d.ts +105 -0
- package/dist/api/trigger-inbound-webhooks-api.js +233 -0
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -1
- package/dist/models/create-inbound-webhook-request-dto.d.ts +0 -6
- package/dist/models/inbound-webhook-class.d.ts +6 -6
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/list-inbound-webhook-response-class.d.ts +43 -0
- package/dist/models/list-inbound-webhook-response-class.js +15 -0
- package/dist/models/trigger-inbound-webhook-response-class.d.ts +42 -0
- package/dist/models/trigger-inbound-webhook-response-class.js +15 -0
- package/dist/models/update-inbound-webhook-request-dto.d.ts +54 -0
- package/dist/models/update-inbound-webhook-request-dto.js +21 -0
- package/dist/models/update-inbound-webhook-response-class.d.ts +25 -0
- package/dist/models/update-inbound-webhook-response-class.js +15 -0
- package/models/create-inbound-webhook-request-dto.ts +0 -6
- package/models/inbound-webhook-class.ts +6 -6
- package/models/index.ts +4 -0
- package/models/list-inbound-webhook-response-class.ts +49 -0
- package/models/trigger-inbound-webhook-response-class.ts +48 -0
- package/models/update-inbound-webhook-request-dto.ts +63 -0
- package/models/update-inbound-webhook-response-class.ts +31 -0
- package/package.json +2 -2
|
@@ -0,0 +1,48 @@
|
|
|
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 TriggerInboundWebhookResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface TriggerInboundWebhookResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Indicates if the webhook was accepted by the system
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof TriggerInboundWebhookResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'status': string;
|
|
29
|
+
/**
|
|
30
|
+
* HTTP status code from the webhook endpoint
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof TriggerInboundWebhookResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'httpStatusCode': number;
|
|
35
|
+
/**
|
|
36
|
+
* Response body from the webhook trigger
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof TriggerInboundWebhookResponseClass
|
|
39
|
+
*/
|
|
40
|
+
'responseBody'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Error message if the webhook was not accepted by the system
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof TriggerInboundWebhookResponseClass
|
|
45
|
+
*/
|
|
46
|
+
'errorMessage'?: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
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 UpdateInboundWebhookRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateInboundWebhookRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Updated name of the inbound webhook
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateInboundWebhookRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'name'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Enable or disable the webhook
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberof UpdateInboundWebhookRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'isEnabled'?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Path to extract external reference from request
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UpdateInboundWebhookRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'externalRefPath'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Location of the external reference
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateInboundWebhookRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'externalRefLocation'?: UpdateInboundWebhookRequestDtoExternalRefLocationEnum;
|
|
47
|
+
/**
|
|
48
|
+
* The workflow code to trigger when the webhook is called
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof UpdateInboundWebhookRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'workflowCode'?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export const UpdateInboundWebhookRequestDtoExternalRefLocationEnum = {
|
|
56
|
+
Header: 'Header',
|
|
57
|
+
Body: 'Body',
|
|
58
|
+
Query: 'Query'
|
|
59
|
+
} as const;
|
|
60
|
+
|
|
61
|
+
export type UpdateInboundWebhookRequestDtoExternalRefLocationEnum = typeof UpdateInboundWebhookRequestDtoExternalRefLocationEnum[keyof typeof UpdateInboundWebhookRequestDtoExternalRefLocationEnum];
|
|
62
|
+
|
|
63
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { InboundWebhookClass } from './inbound-webhook-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdateInboundWebhookResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdateInboundWebhookResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The inbound webhook response.
|
|
26
|
+
* @type {InboundWebhookClass}
|
|
27
|
+
* @memberof UpdateInboundWebhookResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'inboundWebhook': InboundWebhookClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/webhook-sdk-node",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.11",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/webhook-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
27
|
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|