@emilgroup/webhook-sdk-node 1.0.1-beta.3 → 1.0.1-beta.37

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 (72) hide show
  1. package/.openapi-generator/FILES +10 -1
  2. package/README.md +2 -2
  3. package/api/{health-api.ts → health-checks-api.ts} +46 -20
  4. package/api/inbound-webhooks-api.ts +321 -13
  5. package/api/trigger-inbound-webhooks-api.ts +167 -0
  6. package/api/webhook-requests-api.ts +250 -0
  7. package/api.ts +7 -3
  8. package/base.ts +1 -1
  9. package/common.ts +2 -2
  10. package/configuration.ts +1 -1
  11. package/dist/api/{health-api.d.ts → health-checks-api.d.ts} +32 -15
  12. package/dist/api/{health-api.js → health-checks-api.js} +61 -43
  13. package/dist/api/inbound-webhooks-api.d.ts +189 -13
  14. package/dist/api/inbound-webhooks-api.js +241 -13
  15. package/dist/api/trigger-inbound-webhooks-api.d.ts +96 -0
  16. package/dist/api/trigger-inbound-webhooks-api.js +227 -0
  17. package/dist/api/webhook-requests-api.d.ts +150 -0
  18. package/dist/api/webhook-requests-api.js +264 -0
  19. package/dist/api.d.ts +4 -2
  20. package/dist/api.js +4 -2
  21. package/dist/base.d.ts +1 -1
  22. package/dist/base.js +1 -1
  23. package/dist/common.d.ts +2 -2
  24. package/dist/common.js +1 -1
  25. package/dist/configuration.d.ts +1 -1
  26. package/dist/configuration.js +1 -1
  27. package/dist/index.d.ts +1 -1
  28. package/dist/index.js +1 -1
  29. package/dist/models/create-inbound-webhook-request-dto.d.ts +1 -7
  30. package/dist/models/create-inbound-webhook-request-dto.js +1 -1
  31. package/dist/models/create-inbound-webhook-response-class.d.ts +1 -1
  32. package/dist/models/create-inbound-webhook-response-class.js +1 -1
  33. package/dist/models/get-inbound-webhook-response-class.d.ts +1 -1
  34. package/dist/models/get-inbound-webhook-response-class.js +1 -1
  35. package/dist/models/inbound-webhook-class.d.ts +7 -7
  36. package/dist/models/inbound-webhook-class.js +1 -1
  37. package/dist/models/index.d.ts +7 -0
  38. package/dist/models/index.js +7 -0
  39. package/dist/models/inline-response200.d.ts +1 -1
  40. package/dist/models/inline-response200.js +1 -1
  41. package/dist/models/inline-response503.d.ts +1 -1
  42. package/dist/models/inline-response503.js +1 -1
  43. package/dist/models/list-inbound-webhook-response-class.d.ts +43 -0
  44. package/dist/models/list-inbound-webhook-response-class.js +15 -0
  45. package/dist/models/list-webhook-requests-response-class.d.ts +43 -0
  46. package/dist/models/list-webhook-requests-response-class.js +15 -0
  47. package/dist/models/trigger-inbound-webhook-accepted-response-class.d.ts +36 -0
  48. package/dist/models/trigger-inbound-webhook-accepted-response-class.js +15 -0
  49. package/dist/models/trigger-inbound-webhook-rejected-response-class.d.ts +42 -0
  50. package/dist/models/trigger-inbound-webhook-rejected-response-class.js +15 -0
  51. package/dist/models/update-inbound-webhook-request-dto.d.ts +54 -0
  52. package/dist/models/update-inbound-webhook-request-dto.js +21 -0
  53. package/dist/models/update-inbound-webhook-response-class.d.ts +25 -0
  54. package/dist/models/update-inbound-webhook-response-class.js +15 -0
  55. package/dist/models/webhook-request-class.d.ts +146 -0
  56. package/dist/models/webhook-request-class.js +23 -0
  57. package/index.ts +1 -1
  58. package/models/create-inbound-webhook-request-dto.ts +1 -7
  59. package/models/create-inbound-webhook-response-class.ts +1 -1
  60. package/models/get-inbound-webhook-response-class.ts +1 -1
  61. package/models/inbound-webhook-class.ts +7 -7
  62. package/models/index.ts +7 -0
  63. package/models/inline-response200.ts +1 -1
  64. package/models/inline-response503.ts +1 -1
  65. package/models/list-inbound-webhook-response-class.ts +49 -0
  66. package/models/list-webhook-requests-response-class.ts +49 -0
  67. package/models/trigger-inbound-webhook-accepted-response-class.ts +42 -0
  68. package/models/trigger-inbound-webhook-rejected-response-class.ts +48 -0
  69. package/models/update-inbound-webhook-request-dto.ts +63 -0
  70. package/models/update-inbound-webhook-response-class.ts +31 -0
  71. package/models/webhook-request-class.ts +155 -0
  72. package/package.json +2 -2
@@ -0,0 +1,155 @@
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.19.3
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
+ Rejected: 'REJECTED'
151
+ } as const;
152
+
153
+ export type WebhookRequestClassStatusEnum = typeof WebhookRequestClassStatusEnum[keyof typeof WebhookRequestClassStatusEnum];
154
+
155
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/webhook-sdk-node",
3
- "version": "1.0.1-beta.3",
3
+ "version": "1.0.1-beta.37",
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
- "@types/node": "^12.11.5",
26
+ "@types/node": "^12.11.5",
27
27
  "typescript": "^4.0"
28
28
  }
29
29
  }