@emilgroup/webhook-sdk-node 1.0.1-beta.25 → 1.0.1-beta.3
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 +1 -10
- package/README.md +2 -2
- package/api/{health-checks-api.ts → health-api.ts} +19 -45
- package/api/inbound-webhooks-api.ts +12 -320
- package/api.ts +2 -6
- package/dist/api/{health-checks-api.d.ts → health-api.d.ts} +14 -31
- package/dist/api/{health-checks-api.js → health-api.js} +42 -60
- package/dist/api/inbound-webhooks-api.d.ts +12 -188
- package/dist/api/inbound-webhooks-api.js +12 -240
- package/dist/api.d.ts +1 -3
- package/dist/api.js +1 -3
- package/dist/models/create-inbound-webhook-request-dto.d.ts +6 -0
- package/dist/models/inbound-webhook-class.d.ts +6 -6
- package/dist/models/index.d.ts +0 -7
- package/dist/models/index.js +0 -7
- package/models/create-inbound-webhook-request-dto.ts +6 -0
- package/models/inbound-webhook-class.ts +6 -6
- package/models/index.ts +0 -7
- package/package.json +2 -2
- package/api/trigger-inbound-webhooks-api.ts +0 -167
- package/api/webhook-requests-api.ts +0 -250
- package/dist/api/trigger-inbound-webhooks-api.d.ts +0 -96
- package/dist/api/trigger-inbound-webhooks-api.js +0 -227
- package/dist/api/webhook-requests-api.d.ts +0 -150
- package/dist/api/webhook-requests-api.js +0 -264
- package/dist/models/list-inbound-webhook-response-class.d.ts +0 -43
- package/dist/models/list-inbound-webhook-response-class.js +0 -15
- package/dist/models/list-webhook-requests-response-class.d.ts +0 -43
- package/dist/models/list-webhook-requests-response-class.js +0 -15
- package/dist/models/trigger-inbound-webhook-accepted-response-class.d.ts +0 -36
- package/dist/models/trigger-inbound-webhook-accepted-response-class.js +0 -15
- package/dist/models/trigger-inbound-webhook-rejected-response-class.d.ts +0 -42
- package/dist/models/trigger-inbound-webhook-rejected-response-class.js +0 -15
- package/dist/models/update-inbound-webhook-request-dto.d.ts +0 -54
- package/dist/models/update-inbound-webhook-request-dto.js +0 -21
- package/dist/models/update-inbound-webhook-response-class.d.ts +0 -25
- package/dist/models/update-inbound-webhook-response-class.js +0 -15
- package/dist/models/webhook-request-class.d.ts +0 -146
- package/dist/models/webhook-request-class.js +0 -23
- package/models/list-inbound-webhook-response-class.ts +0 -49
- package/models/list-webhook-requests-response-class.ts +0 -49
- package/models/trigger-inbound-webhook-accepted-response-class.ts +0 -42
- package/models/trigger-inbound-webhook-rejected-response-class.ts +0 -48
- package/models/update-inbound-webhook-request-dto.ts +0 -63
- package/models/update-inbound-webhook-response-class.ts +0 -31
- package/models/webhook-request-class.ts +0 -155
|
@@ -14,74 +14,57 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { InlineResponse200 } from '../models';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* HealthApi - axios parameter creator
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
22
|
* Returns the health status of the webhook service. This endpoint is used to monitor the operational status of the webhook service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
23
23
|
* @summary Health Check
|
|
24
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
25
24
|
* @param {*} [options] Override http request option.
|
|
26
25
|
* @throws {RequiredError}
|
|
27
26
|
*/
|
|
28
|
-
check: (
|
|
27
|
+
check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
28
|
};
|
|
30
29
|
/**
|
|
31
|
-
*
|
|
30
|
+
* HealthApi - functional programming interface
|
|
32
31
|
* @export
|
|
33
32
|
*/
|
|
34
|
-
export declare const
|
|
33
|
+
export declare const HealthApiFp: (configuration?: Configuration) => {
|
|
35
34
|
/**
|
|
36
35
|
* Returns the health status of the webhook service. This endpoint is used to monitor the operational status of the webhook service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
37
36
|
* @summary Health Check
|
|
38
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
39
37
|
* @param {*} [options] Override http request option.
|
|
40
38
|
* @throws {RequiredError}
|
|
41
39
|
*/
|
|
42
|
-
check(
|
|
40
|
+
check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
|
|
43
41
|
};
|
|
44
42
|
/**
|
|
45
|
-
*
|
|
43
|
+
* HealthApi - factory interface
|
|
46
44
|
* @export
|
|
47
45
|
*/
|
|
48
|
-
export declare const
|
|
46
|
+
export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
49
47
|
/**
|
|
50
48
|
* Returns the health status of the webhook service. This endpoint is used to monitor the operational status of the webhook service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
51
49
|
* @summary Health Check
|
|
52
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
53
50
|
* @param {*} [options] Override http request option.
|
|
54
51
|
* @throws {RequiredError}
|
|
55
52
|
*/
|
|
56
|
-
check(
|
|
53
|
+
check(options?: any): AxiosPromise<InlineResponse200>;
|
|
57
54
|
};
|
|
58
55
|
/**
|
|
59
|
-
*
|
|
56
|
+
* HealthApi - object-oriented interface
|
|
60
57
|
* @export
|
|
61
|
-
* @
|
|
62
|
-
*/
|
|
63
|
-
export interface HealthChecksApiCheckRequest {
|
|
64
|
-
/**
|
|
65
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
66
|
-
* @type {string}
|
|
67
|
-
* @memberof HealthChecksApiCheck
|
|
68
|
-
*/
|
|
69
|
-
readonly authorization?: string;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* HealthChecksApi - object-oriented interface
|
|
73
|
-
* @export
|
|
74
|
-
* @class HealthChecksApi
|
|
58
|
+
* @class HealthApi
|
|
75
59
|
* @extends {BaseAPI}
|
|
76
60
|
*/
|
|
77
|
-
export declare class
|
|
61
|
+
export declare class HealthApi extends BaseAPI {
|
|
78
62
|
/**
|
|
79
63
|
* Returns the health status of the webhook service. This endpoint is used to monitor the operational status of the webhook service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
80
64
|
* @summary Health Check
|
|
81
|
-
* @param {HealthChecksApiCheckRequest} requestParameters Request parameters.
|
|
82
65
|
* @param {*} [options] Override http request option.
|
|
83
66
|
* @throws {RequiredError}
|
|
84
|
-
* @memberof
|
|
67
|
+
* @memberof HealthApi
|
|
85
68
|
*/
|
|
86
|
-
check(
|
|
69
|
+
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
|
|
87
70
|
}
|
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.HealthApi = exports.HealthApiFactory = exports.HealthApiFp = exports.HealthApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -90,79 +90,64 @@ var base_1 = require("../base");
|
|
|
90
90
|
var url_1 = require("url");
|
|
91
91
|
var FormData = require('form-data');
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* HealthApi - axios parameter creator
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
var
|
|
96
|
+
var HealthApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
100
|
* Returns the health status of the webhook service. This endpoint is used to monitor the operational status of the webhook service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
101
101
|
* @summary Health Check
|
|
102
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
103
102
|
* @param {*} [options] Override http request option.
|
|
104
103
|
* @throws {RequiredError}
|
|
105
104
|
*/
|
|
106
|
-
check: function (
|
|
105
|
+
check: function (options) {
|
|
107
106
|
if (options === void 0) { options = {}; }
|
|
108
107
|
return __awaiter(_this, void 0, void 0, function () {
|
|
109
108
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
109
|
return __generator(this, function (_a) {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
baseOptions = configuration.baseOptions;
|
|
117
|
-
baseAccessToken = configuration.accessToken;
|
|
118
|
-
}
|
|
119
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
120
|
-
localVarHeaderParameter = {};
|
|
121
|
-
localVarQueryParameter = {};
|
|
122
|
-
// authentication bearer required
|
|
123
|
-
// http bearer authentication required
|
|
124
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
125
|
-
case 1:
|
|
126
|
-
// authentication bearer required
|
|
127
|
-
// http bearer authentication required
|
|
128
|
-
_a.sent();
|
|
129
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
130
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
131
|
-
}
|
|
132
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
-
return [2 /*return*/, {
|
|
136
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
137
|
-
options: localVarRequestOptions,
|
|
138
|
-
}];
|
|
110
|
+
localVarPath = "/webhookservice/health";
|
|
111
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
112
|
+
if (configuration) {
|
|
113
|
+
baseOptions = configuration.baseOptions;
|
|
114
|
+
baseAccessToken = configuration.accessToken;
|
|
139
115
|
}
|
|
116
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
117
|
+
localVarHeaderParameter = {};
|
|
118
|
+
localVarQueryParameter = {};
|
|
119
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
120
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
121
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
122
|
+
return [2 /*return*/, {
|
|
123
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
124
|
+
options: localVarRequestOptions,
|
|
125
|
+
}];
|
|
140
126
|
});
|
|
141
127
|
});
|
|
142
128
|
},
|
|
143
129
|
};
|
|
144
130
|
};
|
|
145
|
-
exports.
|
|
131
|
+
exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
|
|
146
132
|
/**
|
|
147
|
-
*
|
|
133
|
+
* HealthApi - functional programming interface
|
|
148
134
|
* @export
|
|
149
135
|
*/
|
|
150
|
-
var
|
|
151
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
136
|
+
var HealthApiFp = function (configuration) {
|
|
137
|
+
var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
|
|
152
138
|
return {
|
|
153
139
|
/**
|
|
154
140
|
* Returns the health status of the webhook service. This endpoint is used to monitor the operational status of the webhook service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
155
141
|
* @summary Health Check
|
|
156
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
157
142
|
* @param {*} [options] Override http request option.
|
|
158
143
|
* @throws {RequiredError}
|
|
159
144
|
*/
|
|
160
|
-
check: function (
|
|
145
|
+
check: function (options) {
|
|
161
146
|
return __awaiter(this, void 0, void 0, function () {
|
|
162
147
|
var localVarAxiosArgs;
|
|
163
148
|
return __generator(this, function (_a) {
|
|
164
149
|
switch (_a.label) {
|
|
165
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.check(
|
|
150
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.check(options)];
|
|
166
151
|
case 1:
|
|
167
152
|
localVarAxiosArgs = _a.sent();
|
|
168
153
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -172,51 +157,48 @@ var HealthChecksApiFp = function (configuration) {
|
|
|
172
157
|
},
|
|
173
158
|
};
|
|
174
159
|
};
|
|
175
|
-
exports.
|
|
160
|
+
exports.HealthApiFp = HealthApiFp;
|
|
176
161
|
/**
|
|
177
|
-
*
|
|
162
|
+
* HealthApi - factory interface
|
|
178
163
|
* @export
|
|
179
164
|
*/
|
|
180
|
-
var
|
|
181
|
-
var localVarFp = (0, exports.
|
|
165
|
+
var HealthApiFactory = function (configuration, basePath, axios) {
|
|
166
|
+
var localVarFp = (0, exports.HealthApiFp)(configuration);
|
|
182
167
|
return {
|
|
183
168
|
/**
|
|
184
169
|
* Returns the health status of the webhook service. This endpoint is used to monitor the operational status of the webhook service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
185
170
|
* @summary Health Check
|
|
186
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
187
171
|
* @param {*} [options] Override http request option.
|
|
188
172
|
* @throws {RequiredError}
|
|
189
173
|
*/
|
|
190
|
-
check: function (
|
|
191
|
-
return localVarFp.check(
|
|
174
|
+
check: function (options) {
|
|
175
|
+
return localVarFp.check(options).then(function (request) { return request(axios, basePath); });
|
|
192
176
|
},
|
|
193
177
|
};
|
|
194
178
|
};
|
|
195
|
-
exports.
|
|
179
|
+
exports.HealthApiFactory = HealthApiFactory;
|
|
196
180
|
/**
|
|
197
|
-
*
|
|
181
|
+
* HealthApi - object-oriented interface
|
|
198
182
|
* @export
|
|
199
|
-
* @class
|
|
183
|
+
* @class HealthApi
|
|
200
184
|
* @extends {BaseAPI}
|
|
201
185
|
*/
|
|
202
|
-
var
|
|
203
|
-
__extends(
|
|
204
|
-
function
|
|
186
|
+
var HealthApi = /** @class */ (function (_super) {
|
|
187
|
+
__extends(HealthApi, _super);
|
|
188
|
+
function HealthApi() {
|
|
205
189
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
206
190
|
}
|
|
207
191
|
/**
|
|
208
192
|
* Returns the health status of the webhook service. This endpoint is used to monitor the operational status of the webhook service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
209
193
|
* @summary Health Check
|
|
210
|
-
* @param {HealthChecksApiCheckRequest} requestParameters Request parameters.
|
|
211
194
|
* @param {*} [options] Override http request option.
|
|
212
195
|
* @throws {RequiredError}
|
|
213
|
-
* @memberof
|
|
196
|
+
* @memberof HealthApi
|
|
214
197
|
*/
|
|
215
|
-
|
|
198
|
+
HealthApi.prototype.check = function (options) {
|
|
216
199
|
var _this = this;
|
|
217
|
-
|
|
218
|
-
return (0, exports.HealthChecksApiFp)(this.configuration).check(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
200
|
+
return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
219
201
|
};
|
|
220
|
-
return
|
|
202
|
+
return HealthApi;
|
|
221
203
|
}(base_1.BaseAPI));
|
|
222
|
-
exports.
|
|
204
|
+
exports.HealthApi = HealthApi;
|
|
@@ -15,16 +15,13 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import { CreateInboundWebhookRequestDto } from '../models';
|
|
16
16
|
import { CreateInboundWebhookResponseClass } from '../models';
|
|
17
17
|
import { GetInboundWebhookResponseClass } from '../models';
|
|
18
|
-
import { ListInboundWebhookResponseClass } from '../models';
|
|
19
|
-
import { UpdateInboundWebhookRequestDto } from '../models';
|
|
20
|
-
import { UpdateInboundWebhookResponseClass } from '../models';
|
|
21
18
|
/**
|
|
22
19
|
* InboundWebhooksApi - axios parameter creator
|
|
23
20
|
* @export
|
|
24
21
|
*/
|
|
25
22
|
export declare const InboundWebhooksApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
23
|
/**
|
|
27
|
-
* Creates a new inbound webhook configuration **Required Permissions**
|
|
24
|
+
* Creates a new inbound webhook configuration **Required Permissions** none
|
|
28
25
|
* @summary Create the inbound webhook
|
|
29
26
|
* @param {CreateInboundWebhookRequestDto} createInboundWebhookRequestDto
|
|
30
27
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -33,7 +30,7 @@ export declare const InboundWebhooksApiAxiosParamCreator: (configuration?: Confi
|
|
|
33
30
|
*/
|
|
34
31
|
createInboundWebhook: (createInboundWebhookRequestDto: CreateInboundWebhookRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
32
|
/**
|
|
36
|
-
* Deletes an inbound webhook by its code **Required Permissions**
|
|
33
|
+
* Deletes an inbound webhook by its code **Required Permissions** none
|
|
37
34
|
* @summary Delete the inbound webhook
|
|
38
35
|
* @param {string} code Unique identifier code for the inbound webhook
|
|
39
36
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -42,7 +39,7 @@ export declare const InboundWebhooksApiAxiosParamCreator: (configuration?: Confi
|
|
|
42
39
|
*/
|
|
43
40
|
deleteInboundWebhook: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
41
|
/**
|
|
45
|
-
* Retrieves an inbound webhook by its code **Required Permissions**
|
|
42
|
+
* Retrieves an inbound webhook by its code **Required Permissions** none
|
|
46
43
|
* @summary Retrieve the inbound webhook
|
|
47
44
|
* @param {string} code Unique identifier code for the inbound webhook
|
|
48
45
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -50,31 +47,6 @@ export declare const InboundWebhooksApiAxiosParamCreator: (configuration?: Confi
|
|
|
50
47
|
* @throws {RequiredError}
|
|
51
48
|
*/
|
|
52
49
|
getInboundWebhook: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
-
/**
|
|
54
|
-
* Lists all inbound webhooks with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
|
|
55
|
-
* @summary List inbound webhooks
|
|
56
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
57
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
58
|
-
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
59
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, externalRefLocation, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
60
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
61
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt</i>
|
|
62
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
63
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, externalRefLocation, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
64
|
-
* @param {*} [options] Override http request option.
|
|
65
|
-
* @throws {RequiredError}
|
|
66
|
-
*/
|
|
67
|
-
listInboundWebhooks: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
|
-
/**
|
|
69
|
-
* Updates an existing inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.update\"
|
|
70
|
-
* @summary Update the inbound webhook
|
|
71
|
-
* @param {string} code Unique identifier code for the inbound webhook
|
|
72
|
-
* @param {UpdateInboundWebhookRequestDto} updateInboundWebhookRequestDto
|
|
73
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
74
|
-
* @param {*} [options] Override http request option.
|
|
75
|
-
* @throws {RequiredError}
|
|
76
|
-
*/
|
|
77
|
-
updateInboundWebhook: (code: string, updateInboundWebhookRequestDto: UpdateInboundWebhookRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
50
|
};
|
|
79
51
|
/**
|
|
80
52
|
* InboundWebhooksApi - functional programming interface
|
|
@@ -82,7 +54,7 @@ export declare const InboundWebhooksApiAxiosParamCreator: (configuration?: Confi
|
|
|
82
54
|
*/
|
|
83
55
|
export declare const InboundWebhooksApiFp: (configuration?: Configuration) => {
|
|
84
56
|
/**
|
|
85
|
-
* Creates a new inbound webhook configuration **Required Permissions**
|
|
57
|
+
* Creates a new inbound webhook configuration **Required Permissions** none
|
|
86
58
|
* @summary Create the inbound webhook
|
|
87
59
|
* @param {CreateInboundWebhookRequestDto} createInboundWebhookRequestDto
|
|
88
60
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -91,7 +63,7 @@ export declare const InboundWebhooksApiFp: (configuration?: Configuration) => {
|
|
|
91
63
|
*/
|
|
92
64
|
createInboundWebhook(createInboundWebhookRequestDto: CreateInboundWebhookRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInboundWebhookResponseClass>>;
|
|
93
65
|
/**
|
|
94
|
-
* Deletes an inbound webhook by its code **Required Permissions**
|
|
66
|
+
* Deletes an inbound webhook by its code **Required Permissions** none
|
|
95
67
|
* @summary Delete the inbound webhook
|
|
96
68
|
* @param {string} code Unique identifier code for the inbound webhook
|
|
97
69
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -100,7 +72,7 @@ export declare const InboundWebhooksApiFp: (configuration?: Configuration) => {
|
|
|
100
72
|
*/
|
|
101
73
|
deleteInboundWebhook(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
102
74
|
/**
|
|
103
|
-
* Retrieves an inbound webhook by its code **Required Permissions**
|
|
75
|
+
* Retrieves an inbound webhook by its code **Required Permissions** none
|
|
104
76
|
* @summary Retrieve the inbound webhook
|
|
105
77
|
* @param {string} code Unique identifier code for the inbound webhook
|
|
106
78
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -108,31 +80,6 @@ export declare const InboundWebhooksApiFp: (configuration?: Configuration) => {
|
|
|
108
80
|
* @throws {RequiredError}
|
|
109
81
|
*/
|
|
110
82
|
getInboundWebhook(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInboundWebhookResponseClass>>;
|
|
111
|
-
/**
|
|
112
|
-
* Lists all inbound webhooks with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
|
|
113
|
-
* @summary List inbound webhooks
|
|
114
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
115
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
116
|
-
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
117
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, externalRefLocation, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
118
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
119
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt</i>
|
|
120
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
121
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, externalRefLocation, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
122
|
-
* @param {*} [options] Override http request option.
|
|
123
|
-
* @throws {RequiredError}
|
|
124
|
-
*/
|
|
125
|
-
listInboundWebhooks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInboundWebhookResponseClass>>;
|
|
126
|
-
/**
|
|
127
|
-
* Updates an existing inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.update\"
|
|
128
|
-
* @summary Update the inbound webhook
|
|
129
|
-
* @param {string} code Unique identifier code for the inbound webhook
|
|
130
|
-
* @param {UpdateInboundWebhookRequestDto} updateInboundWebhookRequestDto
|
|
131
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
132
|
-
* @param {*} [options] Override http request option.
|
|
133
|
-
* @throws {RequiredError}
|
|
134
|
-
*/
|
|
135
|
-
updateInboundWebhook(code: string, updateInboundWebhookRequestDto: UpdateInboundWebhookRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateInboundWebhookResponseClass>>;
|
|
136
83
|
};
|
|
137
84
|
/**
|
|
138
85
|
* InboundWebhooksApi - factory interface
|
|
@@ -140,7 +87,7 @@ export declare const InboundWebhooksApiFp: (configuration?: Configuration) => {
|
|
|
140
87
|
*/
|
|
141
88
|
export declare const InboundWebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
142
89
|
/**
|
|
143
|
-
* Creates a new inbound webhook configuration **Required Permissions**
|
|
90
|
+
* Creates a new inbound webhook configuration **Required Permissions** none
|
|
144
91
|
* @summary Create the inbound webhook
|
|
145
92
|
* @param {CreateInboundWebhookRequestDto} createInboundWebhookRequestDto
|
|
146
93
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -149,7 +96,7 @@ export declare const InboundWebhooksApiFactory: (configuration?: Configuration,
|
|
|
149
96
|
*/
|
|
150
97
|
createInboundWebhook(createInboundWebhookRequestDto: CreateInboundWebhookRequestDto, authorization?: string, options?: any): AxiosPromise<CreateInboundWebhookResponseClass>;
|
|
151
98
|
/**
|
|
152
|
-
* Deletes an inbound webhook by its code **Required Permissions**
|
|
99
|
+
* Deletes an inbound webhook by its code **Required Permissions** none
|
|
153
100
|
* @summary Delete the inbound webhook
|
|
154
101
|
* @param {string} code Unique identifier code for the inbound webhook
|
|
155
102
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -158,7 +105,7 @@ export declare const InboundWebhooksApiFactory: (configuration?: Configuration,
|
|
|
158
105
|
*/
|
|
159
106
|
deleteInboundWebhook(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
160
107
|
/**
|
|
161
|
-
* Retrieves an inbound webhook by its code **Required Permissions**
|
|
108
|
+
* Retrieves an inbound webhook by its code **Required Permissions** none
|
|
162
109
|
* @summary Retrieve the inbound webhook
|
|
163
110
|
* @param {string} code Unique identifier code for the inbound webhook
|
|
164
111
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -166,31 +113,6 @@ export declare const InboundWebhooksApiFactory: (configuration?: Configuration,
|
|
|
166
113
|
* @throws {RequiredError}
|
|
167
114
|
*/
|
|
168
115
|
getInboundWebhook(code: string, authorization?: string, options?: any): AxiosPromise<GetInboundWebhookResponseClass>;
|
|
169
|
-
/**
|
|
170
|
-
* Lists all inbound webhooks with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
|
|
171
|
-
* @summary List inbound webhooks
|
|
172
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
173
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
174
|
-
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
175
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, externalRefLocation, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
176
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
177
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt</i>
|
|
178
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
179
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, externalRefLocation, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
180
|
-
* @param {*} [options] Override http request option.
|
|
181
|
-
* @throws {RequiredError}
|
|
182
|
-
*/
|
|
183
|
-
listInboundWebhooks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInboundWebhookResponseClass>;
|
|
184
|
-
/**
|
|
185
|
-
* Updates an existing inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.update\"
|
|
186
|
-
* @summary Update the inbound webhook
|
|
187
|
-
* @param {string} code Unique identifier code for the inbound webhook
|
|
188
|
-
* @param {UpdateInboundWebhookRequestDto} updateInboundWebhookRequestDto
|
|
189
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
190
|
-
* @param {*} [options] Override http request option.
|
|
191
|
-
* @throws {RequiredError}
|
|
192
|
-
*/
|
|
193
|
-
updateInboundWebhook(code: string, updateInboundWebhookRequestDto: UpdateInboundWebhookRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateInboundWebhookResponseClass>;
|
|
194
116
|
};
|
|
195
117
|
/**
|
|
196
118
|
* Request parameters for createInboundWebhook operation in InboundWebhooksApi.
|
|
@@ -249,86 +171,6 @@ export interface InboundWebhooksApiGetInboundWebhookRequest {
|
|
|
249
171
|
*/
|
|
250
172
|
readonly authorization?: string;
|
|
251
173
|
}
|
|
252
|
-
/**
|
|
253
|
-
* Request parameters for listInboundWebhooks operation in InboundWebhooksApi.
|
|
254
|
-
* @export
|
|
255
|
-
* @interface InboundWebhooksApiListInboundWebhooksRequest
|
|
256
|
-
*/
|
|
257
|
-
export interface InboundWebhooksApiListInboundWebhooksRequest {
|
|
258
|
-
/**
|
|
259
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
260
|
-
* @type {string}
|
|
261
|
-
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
262
|
-
*/
|
|
263
|
-
readonly authorization?: string;
|
|
264
|
-
/**
|
|
265
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
266
|
-
* @type {number}
|
|
267
|
-
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
268
|
-
*/
|
|
269
|
-
readonly pageSize?: number;
|
|
270
|
-
/**
|
|
271
|
-
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
272
|
-
* @type {string}
|
|
273
|
-
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
274
|
-
*/
|
|
275
|
-
readonly pageToken?: string;
|
|
276
|
-
/**
|
|
277
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, externalRefLocation, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
278
|
-
* @type {string}
|
|
279
|
-
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
280
|
-
*/
|
|
281
|
-
readonly filter?: string;
|
|
282
|
-
/**
|
|
283
|
-
* To search the list by any field, pass search=xxx to fetch the result.
|
|
284
|
-
* @type {string}
|
|
285
|
-
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
286
|
-
*/
|
|
287
|
-
readonly search?: string;
|
|
288
|
-
/**
|
|
289
|
-
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt</i>
|
|
290
|
-
* @type {string}
|
|
291
|
-
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
292
|
-
*/
|
|
293
|
-
readonly order?: string;
|
|
294
|
-
/**
|
|
295
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
296
|
-
* @type {string}
|
|
297
|
-
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
298
|
-
*/
|
|
299
|
-
readonly expand?: string;
|
|
300
|
-
/**
|
|
301
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, externalRefLocation, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
302
|
-
* @type {string}
|
|
303
|
-
* @memberof InboundWebhooksApiListInboundWebhooks
|
|
304
|
-
*/
|
|
305
|
-
readonly filters?: string;
|
|
306
|
-
}
|
|
307
|
-
/**
|
|
308
|
-
* Request parameters for updateInboundWebhook operation in InboundWebhooksApi.
|
|
309
|
-
* @export
|
|
310
|
-
* @interface InboundWebhooksApiUpdateInboundWebhookRequest
|
|
311
|
-
*/
|
|
312
|
-
export interface InboundWebhooksApiUpdateInboundWebhookRequest {
|
|
313
|
-
/**
|
|
314
|
-
* Unique identifier code for the inbound webhook
|
|
315
|
-
* @type {string}
|
|
316
|
-
* @memberof InboundWebhooksApiUpdateInboundWebhook
|
|
317
|
-
*/
|
|
318
|
-
readonly code: string;
|
|
319
|
-
/**
|
|
320
|
-
*
|
|
321
|
-
* @type {UpdateInboundWebhookRequestDto}
|
|
322
|
-
* @memberof InboundWebhooksApiUpdateInboundWebhook
|
|
323
|
-
*/
|
|
324
|
-
readonly updateInboundWebhookRequestDto: UpdateInboundWebhookRequestDto;
|
|
325
|
-
/**
|
|
326
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
327
|
-
* @type {string}
|
|
328
|
-
* @memberof InboundWebhooksApiUpdateInboundWebhook
|
|
329
|
-
*/
|
|
330
|
-
readonly authorization?: string;
|
|
331
|
-
}
|
|
332
174
|
/**
|
|
333
175
|
* InboundWebhooksApi - object-oriented interface
|
|
334
176
|
* @export
|
|
@@ -337,7 +179,7 @@ export interface InboundWebhooksApiUpdateInboundWebhookRequest {
|
|
|
337
179
|
*/
|
|
338
180
|
export declare class InboundWebhooksApi extends BaseAPI {
|
|
339
181
|
/**
|
|
340
|
-
* Creates a new inbound webhook configuration **Required Permissions**
|
|
182
|
+
* Creates a new inbound webhook configuration **Required Permissions** none
|
|
341
183
|
* @summary Create the inbound webhook
|
|
342
184
|
* @param {InboundWebhooksApiCreateInboundWebhookRequest} requestParameters Request parameters.
|
|
343
185
|
* @param {*} [options] Override http request option.
|
|
@@ -346,7 +188,7 @@ export declare class InboundWebhooksApi extends BaseAPI {
|
|
|
346
188
|
*/
|
|
347
189
|
createInboundWebhook(requestParameters: InboundWebhooksApiCreateInboundWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateInboundWebhookResponseClass, any, {}>>;
|
|
348
190
|
/**
|
|
349
|
-
* Deletes an inbound webhook by its code **Required Permissions**
|
|
191
|
+
* Deletes an inbound webhook by its code **Required Permissions** none
|
|
350
192
|
* @summary Delete the inbound webhook
|
|
351
193
|
* @param {InboundWebhooksApiDeleteInboundWebhookRequest} requestParameters Request parameters.
|
|
352
194
|
* @param {*} [options] Override http request option.
|
|
@@ -355,7 +197,7 @@ export declare class InboundWebhooksApi extends BaseAPI {
|
|
|
355
197
|
*/
|
|
356
198
|
deleteInboundWebhook(requestParameters: InboundWebhooksApiDeleteInboundWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
357
199
|
/**
|
|
358
|
-
* Retrieves an inbound webhook by its code **Required Permissions**
|
|
200
|
+
* Retrieves an inbound webhook by its code **Required Permissions** none
|
|
359
201
|
* @summary Retrieve the inbound webhook
|
|
360
202
|
* @param {InboundWebhooksApiGetInboundWebhookRequest} requestParameters Request parameters.
|
|
361
203
|
* @param {*} [options] Override http request option.
|
|
@@ -363,22 +205,4 @@ export declare class InboundWebhooksApi extends BaseAPI {
|
|
|
363
205
|
* @memberof InboundWebhooksApi
|
|
364
206
|
*/
|
|
365
207
|
getInboundWebhook(requestParameters: InboundWebhooksApiGetInboundWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetInboundWebhookResponseClass, any, {}>>;
|
|
366
|
-
/**
|
|
367
|
-
* Lists all inbound webhooks with optional filters **Required Permissions** \"webhook-management.webhooks.view\"
|
|
368
|
-
* @summary List inbound webhooks
|
|
369
|
-
* @param {InboundWebhooksApiListInboundWebhooksRequest} requestParameters Request parameters.
|
|
370
|
-
* @param {*} [options] Override http request option.
|
|
371
|
-
* @throws {RequiredError}
|
|
372
|
-
* @memberof InboundWebhooksApi
|
|
373
|
-
*/
|
|
374
|
-
listInboundWebhooks(requestParameters?: InboundWebhooksApiListInboundWebhooksRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInboundWebhookResponseClass, any, {}>>;
|
|
375
|
-
/**
|
|
376
|
-
* Updates an existing inbound webhook configuration **Required Permissions** \"webhook-management.webhooks.update\"
|
|
377
|
-
* @summary Update the inbound webhook
|
|
378
|
-
* @param {InboundWebhooksApiUpdateInboundWebhookRequest} requestParameters Request parameters.
|
|
379
|
-
* @param {*} [options] Override http request option.
|
|
380
|
-
* @throws {RequiredError}
|
|
381
|
-
* @memberof InboundWebhooksApi
|
|
382
|
-
*/
|
|
383
|
-
updateInboundWebhook(requestParameters: InboundWebhooksApiUpdateInboundWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateInboundWebhookResponseClass, any, {}>>;
|
|
384
208
|
}
|