@adspireai/adspire-node-sdk 1.0.13 → 1.0.15
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/dist/sdk.gen.d.ts +97 -97
- package/dist/sdk.gen.js +195 -195
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +363 -363
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
4
|
+
exports.createConnector = exports.listConnectors = exports.updateComment = exports.getComment = exports.deleteComment = exports.createComment = exports.listComments = exports.updateClient = exports.getClient = exports.deleteClient = exports.createClient = exports.listClients = exports.updateCampaign = exports.getCampaign = exports.deleteCampaign = exports.listClientCampaigns = exports.createCampaign = exports.listCampaigns = exports.resetPassword = exports.sendResetLinkEmail = exports.refreshToken = exports.logoutUser = exports.getMe = exports.loginUser = exports.registerUser = exports.updateApprovalRequest = exports.getApprovalRequest = exports.deleteApprovalRequest = exports.listApprovalRequestsByWhiteboardPreview = exports.createApprovalRequest = exports.listApprovalRequests = exports.updateApiKey = exports.getApiKey = exports.deleteApiKey = exports.createApiKey = exports.listApiKeys = exports.updateActivityLog = exports.getActivityLog = exports.deleteActivityLog = exports.listClientActivityLogs = exports.listWorkspaceActivityLogs = exports.createActivityLog = exports.listActivityLogs = exports.updateAiCreditUsage = exports.getAiCreditUsage = exports.deleteAiCreditUsage = exports.listWorkspaceAiCreditUsages = exports.listClientAiCreditUsages = exports.createAiCreditUsage = exports.listAiCreditUsages = void 0;
|
|
5
|
+
exports.createWorkspace = exports.listWorkspaces = exports.updateWhiteboardPreview = exports.getWhiteboardPreview = exports.deleteWhiteboardPreview = exports.createWhiteboardPreview = exports.listWhiteboardPreviews = exports.updateWhiteboard = exports.getWhiteboard = exports.deleteWhiteboard = exports.createWhiteboard = exports.listWhiteboards = exports.updateWebhookLog = exports.getWebhookLog = exports.deleteWebhookLog = exports.createWebhookLog = exports.listWebhookLogs = exports.updateWebhookEvent = exports.getWebhookEvent = exports.deleteWebhookEvent = exports.createWebhookEvent = exports.listWebhookEvents = exports.updateUser = exports.getUser = exports.deleteUser = exports.createUser = exports.listUsers = exports.updatePackage = exports.getPackage = exports.deletePackage = exports.createPackage = exports.listPackages = exports.updateNotification = exports.getNotification = exports.deleteNotification = exports.createNotification = exports.listNotifications = exports.updateExternalUser = exports.getExternalUser = exports.deleteExternalUser = exports.createExternalUser = exports.listExternalUsers = exports.updateConnectorInstallation = exports.getConnectorInstallation = exports.deleteConnectorInstallation = exports.createConnectorInstallation = exports.listConnectorInstallations = exports.updateConnector = exports.getConnector = exports.deleteConnector = void 0;
|
|
6
|
+
exports.updateWorkspace = exports.getWorkspace = exports.deleteWorkspace = void 0;
|
|
7
7
|
const client_gen_1 = require("./client.gen");
|
|
8
8
|
/**
|
|
9
9
|
* List AI credit usage records for the authenticated user
|
|
10
10
|
* Get a list of all AI credit usage records for the authenticated user
|
|
11
11
|
*/
|
|
12
|
-
const
|
|
12
|
+
const listAiCreditUsages = (options) => {
|
|
13
13
|
var _a;
|
|
14
14
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
15
15
|
url: '/api/ai-credit-usages',
|
|
16
16
|
...options
|
|
17
17
|
});
|
|
18
18
|
};
|
|
19
|
-
exports.
|
|
19
|
+
exports.listAiCreditUsages = listAiCreditUsages;
|
|
20
20
|
/**
|
|
21
21
|
* Create AI credit usage record
|
|
22
22
|
* Create a new AI credit usage record
|
|
23
23
|
*/
|
|
24
|
-
const
|
|
24
|
+
const createAiCreditUsage = (options) => {
|
|
25
25
|
var _a;
|
|
26
26
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
27
27
|
url: '/api/ai-credit-usages',
|
|
@@ -32,60 +32,60 @@ const f7F7937Bd728F6966018Cb65729Dc = (options) => {
|
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
|
-
exports.
|
|
35
|
+
exports.createAiCreditUsage = createAiCreditUsage;
|
|
36
36
|
/**
|
|
37
37
|
* List AI credit usage records for a client
|
|
38
38
|
* Get a list of all AI credit usage records for a specific client
|
|
39
39
|
*/
|
|
40
|
-
const
|
|
40
|
+
const listClientAiCreditUsages = (options) => {
|
|
41
41
|
var _a;
|
|
42
42
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
43
43
|
url: '/api/clients/{client}/ai-credit-usages',
|
|
44
44
|
...options
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
exports.
|
|
47
|
+
exports.listClientAiCreditUsages = listClientAiCreditUsages;
|
|
48
48
|
/**
|
|
49
49
|
* List AI credit usage records for a workspace
|
|
50
50
|
* Get a list of all AI credit usage records for a specific workspace
|
|
51
51
|
*/
|
|
52
|
-
const
|
|
52
|
+
const listWorkspaceAiCreditUsages = (options) => {
|
|
53
53
|
var _a;
|
|
54
54
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
55
55
|
url: '/api/workspaces/{workspace}/ai-credit-usages',
|
|
56
56
|
...options
|
|
57
57
|
});
|
|
58
58
|
};
|
|
59
|
-
exports.
|
|
59
|
+
exports.listWorkspaceAiCreditUsages = listWorkspaceAiCreditUsages;
|
|
60
60
|
/**
|
|
61
61
|
* Delete AI credit usage record
|
|
62
62
|
* Delete a specific AI credit usage record
|
|
63
63
|
*/
|
|
64
|
-
const
|
|
64
|
+
const deleteAiCreditUsage = (options) => {
|
|
65
65
|
var _a;
|
|
66
66
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
67
67
|
url: '/api/ai-credit-usages/{id}',
|
|
68
68
|
...options
|
|
69
69
|
});
|
|
70
70
|
};
|
|
71
|
-
exports.
|
|
71
|
+
exports.deleteAiCreditUsage = deleteAiCreditUsage;
|
|
72
72
|
/**
|
|
73
73
|
* Get specific AI credit usage record
|
|
74
74
|
* Get a specific AI credit usage record by ID
|
|
75
75
|
*/
|
|
76
|
-
const
|
|
76
|
+
const getAiCreditUsage = (options) => {
|
|
77
77
|
var _a;
|
|
78
78
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
79
79
|
url: '/api/ai-credit-usages/{id}',
|
|
80
80
|
...options
|
|
81
81
|
});
|
|
82
82
|
};
|
|
83
|
-
exports.
|
|
83
|
+
exports.getAiCreditUsage = getAiCreditUsage;
|
|
84
84
|
/**
|
|
85
85
|
* Update AI credit usage record
|
|
86
86
|
* Update an existing AI credit usage record
|
|
87
87
|
*/
|
|
88
|
-
const
|
|
88
|
+
const updateAiCreditUsage = (options) => {
|
|
89
89
|
var _a;
|
|
90
90
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
91
91
|
url: '/api/ai-credit-usages/{id}',
|
|
@@ -96,24 +96,24 @@ const cd5Ee76E95B13Bbb21Cd4Cbe01178 = (options) => {
|
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
98
|
};
|
|
99
|
-
exports.
|
|
99
|
+
exports.updateAiCreditUsage = updateAiCreditUsage;
|
|
100
100
|
/**
|
|
101
101
|
* List activity logs
|
|
102
102
|
* Get a list of all activity logs
|
|
103
103
|
*/
|
|
104
|
-
const
|
|
104
|
+
const listActivityLogs = (options) => {
|
|
105
105
|
var _a;
|
|
106
106
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
107
107
|
url: '/api/activity-logs',
|
|
108
108
|
...options
|
|
109
109
|
});
|
|
110
110
|
};
|
|
111
|
-
exports.
|
|
111
|
+
exports.listActivityLogs = listActivityLogs;
|
|
112
112
|
/**
|
|
113
113
|
* Create activity log
|
|
114
114
|
* Create a new activity log entry
|
|
115
115
|
*/
|
|
116
|
-
const
|
|
116
|
+
const createActivityLog = (options) => {
|
|
117
117
|
var _a;
|
|
118
118
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
119
119
|
url: '/api/activity-logs',
|
|
@@ -124,60 +124,60 @@ const f72234C7E15A6986D53D25B84A4905C0 = (options) => {
|
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
|
-
exports.
|
|
127
|
+
exports.createActivityLog = createActivityLog;
|
|
128
128
|
/**
|
|
129
129
|
* List activity logs for a workspace
|
|
130
130
|
* Get a list of all activity logs associated with a specific workspace.
|
|
131
131
|
*/
|
|
132
|
-
const
|
|
132
|
+
const listWorkspaceActivityLogs = (options) => {
|
|
133
133
|
var _a;
|
|
134
134
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
135
135
|
url: '/api/workspaces/{workspace_id}/activity-logs',
|
|
136
136
|
...options
|
|
137
137
|
});
|
|
138
138
|
};
|
|
139
|
-
exports.
|
|
139
|
+
exports.listWorkspaceActivityLogs = listWorkspaceActivityLogs;
|
|
140
140
|
/**
|
|
141
141
|
* List activity logs for a client
|
|
142
142
|
* Get a list of all activity logs associated with a specific client.
|
|
143
143
|
*/
|
|
144
|
-
const
|
|
144
|
+
const listClientActivityLogs = (options) => {
|
|
145
145
|
var _a;
|
|
146
146
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
147
147
|
url: '/api/clients/{client_id}/activity-logs',
|
|
148
148
|
...options
|
|
149
149
|
});
|
|
150
150
|
};
|
|
151
|
-
exports.
|
|
151
|
+
exports.listClientActivityLogs = listClientActivityLogs;
|
|
152
152
|
/**
|
|
153
153
|
* Delete activity log
|
|
154
154
|
* Delete an activity log entry
|
|
155
155
|
*/
|
|
156
|
-
const
|
|
156
|
+
const deleteActivityLog = (options) => {
|
|
157
157
|
var _a;
|
|
158
158
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
159
159
|
url: '/api/activity-logs/{id}',
|
|
160
160
|
...options
|
|
161
161
|
});
|
|
162
162
|
};
|
|
163
|
-
exports.
|
|
163
|
+
exports.deleteActivityLog = deleteActivityLog;
|
|
164
164
|
/**
|
|
165
165
|
* Get activity log
|
|
166
166
|
* Get a specific activity log entry
|
|
167
167
|
*/
|
|
168
|
-
const
|
|
168
|
+
const getActivityLog = (options) => {
|
|
169
169
|
var _a;
|
|
170
170
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
171
171
|
url: '/api/activity-logs/{id}',
|
|
172
172
|
...options
|
|
173
173
|
});
|
|
174
174
|
};
|
|
175
|
-
exports.
|
|
175
|
+
exports.getActivityLog = getActivityLog;
|
|
176
176
|
/**
|
|
177
177
|
* Update activity log
|
|
178
178
|
* Update an existing activity log entry
|
|
179
179
|
*/
|
|
180
|
-
const
|
|
180
|
+
const updateActivityLog = (options) => {
|
|
181
181
|
var _a;
|
|
182
182
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
183
183
|
url: '/api/activity-logs/{id}',
|
|
@@ -188,24 +188,24 @@ const c84B7C9Bc500C55E29C7C78210E26019 = (options) => {
|
|
|
188
188
|
}
|
|
189
189
|
});
|
|
190
190
|
};
|
|
191
|
-
exports.
|
|
191
|
+
exports.updateActivityLog = updateActivityLog;
|
|
192
192
|
/**
|
|
193
193
|
* List your API keys
|
|
194
194
|
* Retrieve all API key records for the authenticated user.
|
|
195
195
|
*/
|
|
196
|
-
const
|
|
196
|
+
const listApiKeys = (options) => {
|
|
197
197
|
var _a;
|
|
198
198
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
199
199
|
url: '/api/api-keys',
|
|
200
200
|
...options
|
|
201
201
|
});
|
|
202
202
|
};
|
|
203
|
-
exports.
|
|
203
|
+
exports.listApiKeys = listApiKeys;
|
|
204
204
|
/**
|
|
205
205
|
* Create an API key
|
|
206
206
|
* Generate a new API key
|
|
207
207
|
*/
|
|
208
|
-
const
|
|
208
|
+
const createApiKey = (options) => {
|
|
209
209
|
var _a;
|
|
210
210
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
211
211
|
url: '/api/api-keys',
|
|
@@ -216,36 +216,36 @@ const fc3D21663312Cdba253Bcfe2Bd244E = (options) => {
|
|
|
216
216
|
}
|
|
217
217
|
});
|
|
218
218
|
};
|
|
219
|
-
exports.
|
|
219
|
+
exports.createApiKey = createApiKey;
|
|
220
220
|
/**
|
|
221
221
|
* Delete an API key
|
|
222
222
|
* Remove a specific API key
|
|
223
223
|
*/
|
|
224
|
-
const
|
|
224
|
+
const deleteApiKey = (options) => {
|
|
225
225
|
var _a;
|
|
226
226
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
227
227
|
url: '/api/api-keys/{id}',
|
|
228
228
|
...options
|
|
229
229
|
});
|
|
230
230
|
};
|
|
231
|
-
exports.
|
|
231
|
+
exports.deleteApiKey = deleteApiKey;
|
|
232
232
|
/**
|
|
233
233
|
* Get an API key
|
|
234
234
|
* Retrieve a specific API key
|
|
235
235
|
*/
|
|
236
|
-
const
|
|
236
|
+
const getApiKey = (options) => {
|
|
237
237
|
var _a;
|
|
238
238
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
239
239
|
url: '/api/api-keys/{id}',
|
|
240
240
|
...options
|
|
241
241
|
});
|
|
242
242
|
};
|
|
243
|
-
exports.
|
|
243
|
+
exports.getApiKey = getApiKey;
|
|
244
244
|
/**
|
|
245
245
|
* Update an API key
|
|
246
246
|
* Update a specific API key's information
|
|
247
247
|
*/
|
|
248
|
-
const
|
|
248
|
+
const updateApiKey = (options) => {
|
|
249
249
|
var _a;
|
|
250
250
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
251
251
|
url: '/api/api-keys/{id}',
|
|
@@ -256,24 +256,24 @@ const cf8652744B68C8B0C56664E1622E497A = (options) => {
|
|
|
256
256
|
}
|
|
257
257
|
});
|
|
258
258
|
};
|
|
259
|
-
exports.
|
|
259
|
+
exports.updateApiKey = updateApiKey;
|
|
260
260
|
/**
|
|
261
261
|
* List approval requests
|
|
262
262
|
* Retrieve all approval request records
|
|
263
263
|
*/
|
|
264
|
-
const
|
|
264
|
+
const listApprovalRequests = (options) => {
|
|
265
265
|
var _a;
|
|
266
266
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
267
267
|
url: '/api/approval-requests',
|
|
268
268
|
...options
|
|
269
269
|
});
|
|
270
270
|
};
|
|
271
|
-
exports.
|
|
271
|
+
exports.listApprovalRequests = listApprovalRequests;
|
|
272
272
|
/**
|
|
273
273
|
* Create approval request
|
|
274
274
|
* Create a new approval request record
|
|
275
275
|
*/
|
|
276
|
-
const
|
|
276
|
+
const createApprovalRequest = (options) => {
|
|
277
277
|
var _a;
|
|
278
278
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
279
279
|
url: '/api/approval-requests',
|
|
@@ -284,47 +284,47 @@ const eac045C105F769Fe57573E0Ac026 = (options) => {
|
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
};
|
|
287
|
-
exports.
|
|
287
|
+
exports.createApprovalRequest = createApprovalRequest;
|
|
288
288
|
/**
|
|
289
289
|
* List approval requests for a specific whiteboard preview in active workspace
|
|
290
290
|
*/
|
|
291
|
-
const
|
|
291
|
+
const listApprovalRequestsByWhiteboardPreview = (options) => {
|
|
292
292
|
var _a;
|
|
293
293
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
294
294
|
url: '/api/whiteboard-preview/{whiteboardPreview}/approval-requests',
|
|
295
295
|
...options
|
|
296
296
|
});
|
|
297
297
|
};
|
|
298
|
-
exports.
|
|
298
|
+
exports.listApprovalRequestsByWhiteboardPreview = listApprovalRequestsByWhiteboardPreview;
|
|
299
299
|
/**
|
|
300
300
|
* Delete approval request
|
|
301
301
|
* Delete a specific approval request
|
|
302
302
|
*/
|
|
303
|
-
const
|
|
303
|
+
const deleteApprovalRequest = (options) => {
|
|
304
304
|
var _a;
|
|
305
305
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
306
306
|
url: '/api/approval-requests/{id}',
|
|
307
307
|
...options
|
|
308
308
|
});
|
|
309
309
|
};
|
|
310
|
-
exports.
|
|
310
|
+
exports.deleteApprovalRequest = deleteApprovalRequest;
|
|
311
311
|
/**
|
|
312
312
|
* Show approval request
|
|
313
313
|
* Retrieve a specific approval request by id
|
|
314
314
|
*/
|
|
315
|
-
const
|
|
315
|
+
const getApprovalRequest = (options) => {
|
|
316
316
|
var _a;
|
|
317
317
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
318
318
|
url: '/api/approval-requests/{id}',
|
|
319
319
|
...options
|
|
320
320
|
});
|
|
321
321
|
};
|
|
322
|
-
exports.
|
|
322
|
+
exports.getApprovalRequest = getApprovalRequest;
|
|
323
323
|
/**
|
|
324
324
|
* Update approval request
|
|
325
325
|
* Update an existing approval request record
|
|
326
326
|
*/
|
|
327
|
-
const
|
|
327
|
+
const updateApprovalRequest = (options) => {
|
|
328
328
|
var _a;
|
|
329
329
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
330
330
|
url: '/api/approval-requests/{id}',
|
|
@@ -335,7 +335,7 @@ const a07361D86B6F0D234639D1D951Ac1 = (options) => {
|
|
|
335
335
|
}
|
|
336
336
|
});
|
|
337
337
|
};
|
|
338
|
-
exports.
|
|
338
|
+
exports.updateApprovalRequest = updateApprovalRequest;
|
|
339
339
|
/**
|
|
340
340
|
* Register a new user
|
|
341
341
|
* Creates a new user account and returns authentication token or success message
|
|
@@ -440,19 +440,19 @@ exports.resetPassword = resetPassword;
|
|
|
440
440
|
* List campaigns by workspace
|
|
441
441
|
* Get a list of all campaigns for a given workspace. Requires workspace_id as a query parameter.
|
|
442
442
|
*/
|
|
443
|
-
const
|
|
443
|
+
const listCampaigns = (options) => {
|
|
444
444
|
var _a;
|
|
445
445
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
446
446
|
url: '/api/campaigns',
|
|
447
447
|
...options
|
|
448
448
|
});
|
|
449
449
|
};
|
|
450
|
-
exports.
|
|
450
|
+
exports.listCampaigns = listCampaigns;
|
|
451
451
|
/**
|
|
452
452
|
* Create campaign
|
|
453
453
|
* Create a new campaign
|
|
454
454
|
*/
|
|
455
|
-
const
|
|
455
|
+
const createCampaign = (options) => {
|
|
456
456
|
var _a;
|
|
457
457
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
458
458
|
url: '/api/campaigns',
|
|
@@ -463,48 +463,48 @@ const d9B28B56C8E18D5Ef4C7440A05Def = (options) => {
|
|
|
463
463
|
}
|
|
464
464
|
});
|
|
465
465
|
};
|
|
466
|
-
exports.
|
|
466
|
+
exports.createCampaign = createCampaign;
|
|
467
467
|
/**
|
|
468
468
|
* List campaigns for a client
|
|
469
469
|
* Get a list of all campaigns for a specific client.
|
|
470
470
|
*/
|
|
471
|
-
const
|
|
471
|
+
const listClientCampaigns = (options) => {
|
|
472
472
|
var _a;
|
|
473
473
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
474
474
|
url: '/api/clients/{client}/campaigns',
|
|
475
475
|
...options
|
|
476
476
|
});
|
|
477
477
|
};
|
|
478
|
-
exports.
|
|
478
|
+
exports.listClientCampaigns = listClientCampaigns;
|
|
479
479
|
/**
|
|
480
480
|
* Delete campaign
|
|
481
481
|
* Delete a campaign
|
|
482
482
|
*/
|
|
483
|
-
const
|
|
483
|
+
const deleteCampaign = (options) => {
|
|
484
484
|
var _a;
|
|
485
485
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
486
486
|
url: '/api/campaigns/{id}',
|
|
487
487
|
...options
|
|
488
488
|
});
|
|
489
489
|
};
|
|
490
|
-
exports.
|
|
490
|
+
exports.deleteCampaign = deleteCampaign;
|
|
491
491
|
/**
|
|
492
492
|
* Get campaign
|
|
493
493
|
* Get a specific campaign
|
|
494
494
|
*/
|
|
495
|
-
const
|
|
495
|
+
const getCampaign = (options) => {
|
|
496
496
|
var _a;
|
|
497
497
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
498
498
|
url: '/api/campaigns/{id}',
|
|
499
499
|
...options
|
|
500
500
|
});
|
|
501
501
|
};
|
|
502
|
-
exports.
|
|
502
|
+
exports.getCampaign = getCampaign;
|
|
503
503
|
/**
|
|
504
504
|
* Update campaign
|
|
505
505
|
* Update a campaign
|
|
506
506
|
*/
|
|
507
|
-
const
|
|
507
|
+
const updateCampaign = (options) => {
|
|
508
508
|
var _a;
|
|
509
509
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
510
510
|
url: '/api/campaigns/{id}',
|
|
@@ -515,24 +515,24 @@ const e659E761Ad8967D64E5Beab16070C9B = (options) => {
|
|
|
515
515
|
}
|
|
516
516
|
});
|
|
517
517
|
};
|
|
518
|
-
exports.
|
|
518
|
+
exports.updateCampaign = updateCampaign;
|
|
519
519
|
/**
|
|
520
520
|
* List clients
|
|
521
521
|
* Retrieve all client records
|
|
522
522
|
*/
|
|
523
|
-
const
|
|
523
|
+
const listClients = (options) => {
|
|
524
524
|
var _a;
|
|
525
525
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
526
526
|
url: '/api/clients',
|
|
527
527
|
...options
|
|
528
528
|
});
|
|
529
529
|
};
|
|
530
|
-
exports.
|
|
530
|
+
exports.listClients = listClients;
|
|
531
531
|
/**
|
|
532
532
|
* Create client
|
|
533
533
|
* Create a new client record
|
|
534
534
|
*/
|
|
535
|
-
const
|
|
535
|
+
const createClient = (options) => {
|
|
536
536
|
var _a;
|
|
537
537
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
538
538
|
url: '/api/clients',
|
|
@@ -543,36 +543,36 @@ const f1E86E5B79Fedfa6593067977292B13B = (options) => {
|
|
|
543
543
|
}
|
|
544
544
|
});
|
|
545
545
|
};
|
|
546
|
-
exports.
|
|
546
|
+
exports.createClient = createClient;
|
|
547
547
|
/**
|
|
548
548
|
* Delete client
|
|
549
549
|
* Delete a specific client record
|
|
550
550
|
*/
|
|
551
|
-
const
|
|
551
|
+
const deleteClient = (options) => {
|
|
552
552
|
var _a;
|
|
553
553
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
554
554
|
url: '/api/clients/{id}',
|
|
555
555
|
...options
|
|
556
556
|
});
|
|
557
557
|
};
|
|
558
|
-
exports.
|
|
558
|
+
exports.deleteClient = deleteClient;
|
|
559
559
|
/**
|
|
560
560
|
* Show client
|
|
561
561
|
* Retrieve a specific client by id
|
|
562
562
|
*/
|
|
563
|
-
const
|
|
563
|
+
const getClient = (options) => {
|
|
564
564
|
var _a;
|
|
565
565
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
566
566
|
url: '/api/clients/{id}',
|
|
567
567
|
...options
|
|
568
568
|
});
|
|
569
569
|
};
|
|
570
|
-
exports.
|
|
570
|
+
exports.getClient = getClient;
|
|
571
571
|
/**
|
|
572
572
|
* Update client
|
|
573
573
|
* Update an existing client record
|
|
574
574
|
*/
|
|
575
|
-
const
|
|
575
|
+
const updateClient = (options) => {
|
|
576
576
|
var _a;
|
|
577
577
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
578
578
|
url: '/api/clients/{id}',
|
|
@@ -583,24 +583,24 @@ const d0A5Ae9E306858D30E04Fc50265D80C = (options) => {
|
|
|
583
583
|
}
|
|
584
584
|
});
|
|
585
585
|
};
|
|
586
|
-
exports.
|
|
586
|
+
exports.updateClient = updateClient;
|
|
587
587
|
/**
|
|
588
588
|
* List comments
|
|
589
589
|
* Retrieve all comment records
|
|
590
590
|
*/
|
|
591
|
-
const
|
|
591
|
+
const listComments = (options) => {
|
|
592
592
|
var _a;
|
|
593
593
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
594
594
|
url: '/api/comments',
|
|
595
595
|
...options
|
|
596
596
|
});
|
|
597
597
|
};
|
|
598
|
-
exports.
|
|
598
|
+
exports.listComments = listComments;
|
|
599
599
|
/**
|
|
600
600
|
* Create comment
|
|
601
601
|
* Create a new comment record
|
|
602
602
|
*/
|
|
603
|
-
const
|
|
603
|
+
const createComment = (options) => {
|
|
604
604
|
var _a;
|
|
605
605
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
606
606
|
url: '/api/comments',
|
|
@@ -611,36 +611,36 @@ const a0A4003920Aafe960E45688102 = (options) => {
|
|
|
611
611
|
}
|
|
612
612
|
});
|
|
613
613
|
};
|
|
614
|
-
exports.
|
|
614
|
+
exports.createComment = createComment;
|
|
615
615
|
/**
|
|
616
616
|
* Delete comment
|
|
617
617
|
* Delete a specific comment
|
|
618
618
|
*/
|
|
619
|
-
const
|
|
619
|
+
const deleteComment = (options) => {
|
|
620
620
|
var _a;
|
|
621
621
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
622
622
|
url: '/api/comments/{id}',
|
|
623
623
|
...options
|
|
624
624
|
});
|
|
625
625
|
};
|
|
626
|
-
exports.
|
|
626
|
+
exports.deleteComment = deleteComment;
|
|
627
627
|
/**
|
|
628
628
|
* Show comment
|
|
629
629
|
* Retrieve a specific comment by id
|
|
630
630
|
*/
|
|
631
|
-
const
|
|
631
|
+
const getComment = (options) => {
|
|
632
632
|
var _a;
|
|
633
633
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
634
634
|
url: '/api/comments/{id}',
|
|
635
635
|
...options
|
|
636
636
|
});
|
|
637
637
|
};
|
|
638
|
-
exports.
|
|
638
|
+
exports.getComment = getComment;
|
|
639
639
|
/**
|
|
640
640
|
* Update comment
|
|
641
641
|
* Update an existing comment record
|
|
642
642
|
*/
|
|
643
|
-
const
|
|
643
|
+
const updateComment = (options) => {
|
|
644
644
|
var _a;
|
|
645
645
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
646
646
|
url: '/api/comments/{id}',
|
|
@@ -651,24 +651,24 @@ const e62963Cbf897A1B2168683878E0A46 = (options) => {
|
|
|
651
651
|
}
|
|
652
652
|
});
|
|
653
653
|
};
|
|
654
|
-
exports.
|
|
654
|
+
exports.updateComment = updateComment;
|
|
655
655
|
/**
|
|
656
656
|
* List connectors
|
|
657
657
|
* Retrieve all connector records
|
|
658
658
|
*/
|
|
659
|
-
const
|
|
659
|
+
const listConnectors = (options) => {
|
|
660
660
|
var _a;
|
|
661
661
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
662
662
|
url: '/api/connectors',
|
|
663
663
|
...options
|
|
664
664
|
});
|
|
665
665
|
};
|
|
666
|
-
exports.
|
|
666
|
+
exports.listConnectors = listConnectors;
|
|
667
667
|
/**
|
|
668
668
|
* Create connector
|
|
669
669
|
* Create a new connector record
|
|
670
670
|
*/
|
|
671
|
-
const
|
|
671
|
+
const createConnector = (options) => {
|
|
672
672
|
var _a;
|
|
673
673
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
674
674
|
url: '/api/connectors',
|
|
@@ -679,36 +679,36 @@ const be4C6Dd81Ceaa8C9E3444674367 = (options) => {
|
|
|
679
679
|
}
|
|
680
680
|
});
|
|
681
681
|
};
|
|
682
|
-
exports.
|
|
682
|
+
exports.createConnector = createConnector;
|
|
683
683
|
/**
|
|
684
684
|
* Delete connector
|
|
685
685
|
* Delete a specific connector
|
|
686
686
|
*/
|
|
687
|
-
const
|
|
687
|
+
const deleteConnector = (options) => {
|
|
688
688
|
var _a;
|
|
689
689
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
690
690
|
url: '/api/connectors/{id}',
|
|
691
691
|
...options
|
|
692
692
|
});
|
|
693
693
|
};
|
|
694
|
-
exports.
|
|
694
|
+
exports.deleteConnector = deleteConnector;
|
|
695
695
|
/**
|
|
696
696
|
* Show connector
|
|
697
697
|
* Retrieve a specific connector by id
|
|
698
698
|
*/
|
|
699
|
-
const
|
|
699
|
+
const getConnector = (options) => {
|
|
700
700
|
var _a;
|
|
701
701
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
702
702
|
url: '/api/connectors/{id}',
|
|
703
703
|
...options
|
|
704
704
|
});
|
|
705
705
|
};
|
|
706
|
-
exports.
|
|
706
|
+
exports.getConnector = getConnector;
|
|
707
707
|
/**
|
|
708
708
|
* Update connector
|
|
709
709
|
* Update an existing connector record
|
|
710
710
|
*/
|
|
711
|
-
const
|
|
711
|
+
const updateConnector = (options) => {
|
|
712
712
|
var _a;
|
|
713
713
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
714
714
|
url: '/api/connectors/{id}',
|
|
@@ -719,22 +719,22 @@ const aba8E2E7827Cfb9118F3B81C3Ca1 = (options) => {
|
|
|
719
719
|
}
|
|
720
720
|
});
|
|
721
721
|
};
|
|
722
|
-
exports.
|
|
722
|
+
exports.updateConnector = updateConnector;
|
|
723
723
|
/**
|
|
724
724
|
* List all connector installations
|
|
725
725
|
*/
|
|
726
|
-
const
|
|
726
|
+
const listConnectorInstallations = (options) => {
|
|
727
727
|
var _a;
|
|
728
728
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
729
729
|
url: '/connector-installations',
|
|
730
730
|
...options
|
|
731
731
|
});
|
|
732
732
|
};
|
|
733
|
-
exports.
|
|
733
|
+
exports.listConnectorInstallations = listConnectorInstallations;
|
|
734
734
|
/**
|
|
735
735
|
* Create a connector installation
|
|
736
736
|
*/
|
|
737
|
-
const
|
|
737
|
+
const createConnectorInstallation = (options) => {
|
|
738
738
|
var _a;
|
|
739
739
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
740
740
|
url: '/connector-installations',
|
|
@@ -745,33 +745,33 @@ const e8543A10A28De9D45C9727B521D3 = (options) => {
|
|
|
745
745
|
}
|
|
746
746
|
});
|
|
747
747
|
};
|
|
748
|
-
exports.
|
|
748
|
+
exports.createConnectorInstallation = createConnectorInstallation;
|
|
749
749
|
/**
|
|
750
750
|
* Delete a connector installation
|
|
751
751
|
*/
|
|
752
|
-
const
|
|
752
|
+
const deleteConnectorInstallation = (options) => {
|
|
753
753
|
var _a;
|
|
754
754
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
755
755
|
url: '/connector-installations/{id}',
|
|
756
756
|
...options
|
|
757
757
|
});
|
|
758
758
|
};
|
|
759
|
-
exports.
|
|
759
|
+
exports.deleteConnectorInstallation = deleteConnectorInstallation;
|
|
760
760
|
/**
|
|
761
761
|
* Show a connector installation
|
|
762
762
|
*/
|
|
763
|
-
const
|
|
763
|
+
const getConnectorInstallation = (options) => {
|
|
764
764
|
var _a;
|
|
765
765
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
766
766
|
url: '/connector-installations/{id}',
|
|
767
767
|
...options
|
|
768
768
|
});
|
|
769
769
|
};
|
|
770
|
-
exports.
|
|
770
|
+
exports.getConnectorInstallation = getConnectorInstallation;
|
|
771
771
|
/**
|
|
772
772
|
* Update a connector installation
|
|
773
773
|
*/
|
|
774
|
-
const
|
|
774
|
+
const updateConnectorInstallation = (options) => {
|
|
775
775
|
var _a;
|
|
776
776
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
777
777
|
url: '/connector-installations/{id}',
|
|
@@ -782,24 +782,24 @@ const f155C1E2Ab6Dcfab0E943Dabc184Fe1E = (options) => {
|
|
|
782
782
|
}
|
|
783
783
|
});
|
|
784
784
|
};
|
|
785
|
-
exports.
|
|
785
|
+
exports.updateConnectorInstallation = updateConnectorInstallation;
|
|
786
786
|
/**
|
|
787
787
|
* List external users
|
|
788
788
|
* Retrieve all external user records
|
|
789
789
|
*/
|
|
790
|
-
const
|
|
790
|
+
const listExternalUsers = (options) => {
|
|
791
791
|
var _a;
|
|
792
792
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
793
793
|
url: '/api/external-users',
|
|
794
794
|
...options
|
|
795
795
|
});
|
|
796
796
|
};
|
|
797
|
-
exports.
|
|
797
|
+
exports.listExternalUsers = listExternalUsers;
|
|
798
798
|
/**
|
|
799
799
|
* Create external user
|
|
800
800
|
* Create a new external user record
|
|
801
801
|
*/
|
|
802
|
-
const
|
|
802
|
+
const createExternalUser = (options) => {
|
|
803
803
|
var _a;
|
|
804
804
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
805
805
|
url: '/api/external-users',
|
|
@@ -810,36 +810,36 @@ const b9368F6D13F1E49A4Ad02210A3B25F6 = (options) => {
|
|
|
810
810
|
}
|
|
811
811
|
});
|
|
812
812
|
};
|
|
813
|
-
exports.
|
|
813
|
+
exports.createExternalUser = createExternalUser;
|
|
814
814
|
/**
|
|
815
815
|
* Delete external user
|
|
816
816
|
* Delete a specific external user
|
|
817
817
|
*/
|
|
818
|
-
const
|
|
818
|
+
const deleteExternalUser = (options) => {
|
|
819
819
|
var _a;
|
|
820
820
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
821
821
|
url: '/api/external-users/{id}',
|
|
822
822
|
...options
|
|
823
823
|
});
|
|
824
824
|
};
|
|
825
|
-
exports.
|
|
825
|
+
exports.deleteExternalUser = deleteExternalUser;
|
|
826
826
|
/**
|
|
827
827
|
* Show external user
|
|
828
828
|
* Retrieve a specific external user by id
|
|
829
829
|
*/
|
|
830
|
-
const
|
|
830
|
+
const getExternalUser = (options) => {
|
|
831
831
|
var _a;
|
|
832
832
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
833
833
|
url: '/api/external-users/{id}',
|
|
834
834
|
...options
|
|
835
835
|
});
|
|
836
836
|
};
|
|
837
|
-
exports.
|
|
837
|
+
exports.getExternalUser = getExternalUser;
|
|
838
838
|
/**
|
|
839
839
|
* Update external user
|
|
840
840
|
* Update an existing external user record
|
|
841
841
|
*/
|
|
842
|
-
const
|
|
842
|
+
const updateExternalUser = (options) => {
|
|
843
843
|
var _a;
|
|
844
844
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
845
845
|
url: '/api/external-users/{id}',
|
|
@@ -850,24 +850,24 @@ const b119Cb029A34E2C2E2591Bf2Bdb536A0 = (options) => {
|
|
|
850
850
|
}
|
|
851
851
|
});
|
|
852
852
|
};
|
|
853
|
-
exports.
|
|
853
|
+
exports.updateExternalUser = updateExternalUser;
|
|
854
854
|
/**
|
|
855
855
|
* List notifications
|
|
856
856
|
* Retrieve all notification records
|
|
857
857
|
*/
|
|
858
|
-
const
|
|
858
|
+
const listNotifications = (options) => {
|
|
859
859
|
var _a;
|
|
860
860
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
861
861
|
url: '/api/notifications',
|
|
862
862
|
...options
|
|
863
863
|
});
|
|
864
864
|
};
|
|
865
|
-
exports.
|
|
865
|
+
exports.listNotifications = listNotifications;
|
|
866
866
|
/**
|
|
867
867
|
* Create notification
|
|
868
868
|
* Create a new notification record
|
|
869
869
|
*/
|
|
870
|
-
const
|
|
870
|
+
const createNotification = (options) => {
|
|
871
871
|
var _a;
|
|
872
872
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
873
873
|
url: '/api/notifications',
|
|
@@ -878,36 +878,36 @@ const f8E779A9E46Cb5Cdda969E5A928A94 = (options) => {
|
|
|
878
878
|
}
|
|
879
879
|
});
|
|
880
880
|
};
|
|
881
|
-
exports.
|
|
881
|
+
exports.createNotification = createNotification;
|
|
882
882
|
/**
|
|
883
883
|
* Delete notification
|
|
884
884
|
* Delete a specific notification
|
|
885
885
|
*/
|
|
886
|
-
const
|
|
886
|
+
const deleteNotification = (options) => {
|
|
887
887
|
var _a;
|
|
888
888
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
889
889
|
url: '/api/notifications/{id}',
|
|
890
890
|
...options
|
|
891
891
|
});
|
|
892
892
|
};
|
|
893
|
-
exports.
|
|
893
|
+
exports.deleteNotification = deleteNotification;
|
|
894
894
|
/**
|
|
895
895
|
* Show notification
|
|
896
896
|
* Retrieve a specific notification by id
|
|
897
897
|
*/
|
|
898
|
-
const
|
|
898
|
+
const getNotification = (options) => {
|
|
899
899
|
var _a;
|
|
900
900
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
901
901
|
url: '/api/notifications/{id}',
|
|
902
902
|
...options
|
|
903
903
|
});
|
|
904
904
|
};
|
|
905
|
-
exports.
|
|
905
|
+
exports.getNotification = getNotification;
|
|
906
906
|
/**
|
|
907
907
|
* Update notification
|
|
908
908
|
* Update an existing notification record
|
|
909
909
|
*/
|
|
910
|
-
const
|
|
910
|
+
const updateNotification = (options) => {
|
|
911
911
|
var _a;
|
|
912
912
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
913
913
|
url: '/api/notifications/{id}',
|
|
@@ -918,24 +918,24 @@ const a5Fca66D1B363Eebbdb6E82B90127 = (options) => {
|
|
|
918
918
|
}
|
|
919
919
|
});
|
|
920
920
|
};
|
|
921
|
-
exports.
|
|
921
|
+
exports.updateNotification = updateNotification;
|
|
922
922
|
/**
|
|
923
923
|
* List packages
|
|
924
924
|
* Retrieve all package records
|
|
925
925
|
*/
|
|
926
|
-
const
|
|
926
|
+
const listPackages = (options) => {
|
|
927
927
|
var _a;
|
|
928
928
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
929
929
|
url: '/api/packages',
|
|
930
930
|
...options
|
|
931
931
|
});
|
|
932
932
|
};
|
|
933
|
-
exports.
|
|
933
|
+
exports.listPackages = listPackages;
|
|
934
934
|
/**
|
|
935
935
|
* Create package
|
|
936
936
|
* Create a new package record
|
|
937
937
|
*/
|
|
938
|
-
const
|
|
938
|
+
const createPackage = (options) => {
|
|
939
939
|
var _a;
|
|
940
940
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
941
941
|
url: '/api/packages',
|
|
@@ -946,36 +946,36 @@ const befa6F9B4D55A049262D2213497517F0 = (options) => {
|
|
|
946
946
|
}
|
|
947
947
|
});
|
|
948
948
|
};
|
|
949
|
-
exports.
|
|
949
|
+
exports.createPackage = createPackage;
|
|
950
950
|
/**
|
|
951
951
|
* Delete package
|
|
952
952
|
* Delete a specific package
|
|
953
953
|
*/
|
|
954
|
-
const
|
|
954
|
+
const deletePackage = (options) => {
|
|
955
955
|
var _a;
|
|
956
956
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
957
957
|
url: '/api/packages/{id}',
|
|
958
958
|
...options
|
|
959
959
|
});
|
|
960
960
|
};
|
|
961
|
-
exports.
|
|
961
|
+
exports.deletePackage = deletePackage;
|
|
962
962
|
/**
|
|
963
963
|
* Show package
|
|
964
964
|
* Retrieve a specific package by id
|
|
965
965
|
*/
|
|
966
|
-
const
|
|
966
|
+
const getPackage = (options) => {
|
|
967
967
|
var _a;
|
|
968
968
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
969
969
|
url: '/api/packages/{id}',
|
|
970
970
|
...options
|
|
971
971
|
});
|
|
972
972
|
};
|
|
973
|
-
exports.
|
|
973
|
+
exports.getPackage = getPackage;
|
|
974
974
|
/**
|
|
975
975
|
* Update package
|
|
976
976
|
* Update an existing package record
|
|
977
977
|
*/
|
|
978
|
-
const
|
|
978
|
+
const updatePackage = (options) => {
|
|
979
979
|
var _a;
|
|
980
980
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
981
981
|
url: '/api/packages/{id}',
|
|
@@ -986,24 +986,24 @@ const e181Eb7Cab72387780E180Ac75737 = (options) => {
|
|
|
986
986
|
}
|
|
987
987
|
});
|
|
988
988
|
};
|
|
989
|
-
exports.
|
|
989
|
+
exports.updatePackage = updatePackage;
|
|
990
990
|
/**
|
|
991
991
|
* List users
|
|
992
992
|
* Retrieve all user records
|
|
993
993
|
*/
|
|
994
|
-
const
|
|
994
|
+
const listUsers = (options) => {
|
|
995
995
|
var _a;
|
|
996
996
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
997
997
|
url: '/api/users',
|
|
998
998
|
...options
|
|
999
999
|
});
|
|
1000
1000
|
};
|
|
1001
|
-
exports.
|
|
1001
|
+
exports.listUsers = listUsers;
|
|
1002
1002
|
/**
|
|
1003
1003
|
* Create user
|
|
1004
1004
|
* Create a new user record
|
|
1005
1005
|
*/
|
|
1006
|
-
const
|
|
1006
|
+
const createUser = (options) => {
|
|
1007
1007
|
var _a;
|
|
1008
1008
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
1009
1009
|
url: '/api/users',
|
|
@@ -1014,36 +1014,36 @@ const a0265360B2014512D6Dbfaf0E7 = (options) => {
|
|
|
1014
1014
|
}
|
|
1015
1015
|
});
|
|
1016
1016
|
};
|
|
1017
|
-
exports.
|
|
1017
|
+
exports.createUser = createUser;
|
|
1018
1018
|
/**
|
|
1019
1019
|
* Delete user
|
|
1020
1020
|
* Delete a specific user
|
|
1021
1021
|
*/
|
|
1022
|
-
const
|
|
1022
|
+
const deleteUser = (options) => {
|
|
1023
1023
|
var _a;
|
|
1024
1024
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
1025
1025
|
url: '/api/users/{id}',
|
|
1026
1026
|
...options
|
|
1027
1027
|
});
|
|
1028
1028
|
};
|
|
1029
|
-
exports.
|
|
1029
|
+
exports.deleteUser = deleteUser;
|
|
1030
1030
|
/**
|
|
1031
1031
|
* Show user
|
|
1032
1032
|
* Retrieve a specific user by id
|
|
1033
1033
|
*/
|
|
1034
|
-
const
|
|
1034
|
+
const getUser = (options) => {
|
|
1035
1035
|
var _a;
|
|
1036
1036
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
1037
1037
|
url: '/api/users/{id}',
|
|
1038
1038
|
...options
|
|
1039
1039
|
});
|
|
1040
1040
|
};
|
|
1041
|
-
exports.
|
|
1041
|
+
exports.getUser = getUser;
|
|
1042
1042
|
/**
|
|
1043
1043
|
* Update user
|
|
1044
1044
|
* Update an existing user record
|
|
1045
1045
|
*/
|
|
1046
|
-
const
|
|
1046
|
+
const updateUser = (options) => {
|
|
1047
1047
|
var _a;
|
|
1048
1048
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
1049
1049
|
url: '/api/users/{id}',
|
|
@@ -1054,24 +1054,24 @@ const b9091397C8B25F12C6Adb74Be6Ce3A5A = (options) => {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
});
|
|
1056
1056
|
};
|
|
1057
|
-
exports.
|
|
1057
|
+
exports.updateUser = updateUser;
|
|
1058
1058
|
/**
|
|
1059
1059
|
* List webhook events
|
|
1060
1060
|
* Retrieve all webhook event records
|
|
1061
1061
|
*/
|
|
1062
|
-
const
|
|
1062
|
+
const listWebhookEvents = (options) => {
|
|
1063
1063
|
var _a;
|
|
1064
1064
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
1065
1065
|
url: '/api/webhook-events',
|
|
1066
1066
|
...options
|
|
1067
1067
|
});
|
|
1068
1068
|
};
|
|
1069
|
-
exports.
|
|
1069
|
+
exports.listWebhookEvents = listWebhookEvents;
|
|
1070
1070
|
/**
|
|
1071
1071
|
* Create webhook event
|
|
1072
1072
|
* Create a new webhook event record
|
|
1073
1073
|
*/
|
|
1074
|
-
const
|
|
1074
|
+
const createWebhookEvent = (options) => {
|
|
1075
1075
|
var _a;
|
|
1076
1076
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
1077
1077
|
url: '/api/webhook-events',
|
|
@@ -1082,36 +1082,36 @@ const f50Aa0Ca5890Faa85Cae40555C270389 = (options) => {
|
|
|
1082
1082
|
}
|
|
1083
1083
|
});
|
|
1084
1084
|
};
|
|
1085
|
-
exports.
|
|
1085
|
+
exports.createWebhookEvent = createWebhookEvent;
|
|
1086
1086
|
/**
|
|
1087
1087
|
* Delete webhook event
|
|
1088
1088
|
* Delete a specific webhook event
|
|
1089
1089
|
*/
|
|
1090
|
-
const
|
|
1090
|
+
const deleteWebhookEvent = (options) => {
|
|
1091
1091
|
var _a;
|
|
1092
1092
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
1093
1093
|
url: '/api/webhook-events/{id}',
|
|
1094
1094
|
...options
|
|
1095
1095
|
});
|
|
1096
1096
|
};
|
|
1097
|
-
exports.
|
|
1097
|
+
exports.deleteWebhookEvent = deleteWebhookEvent;
|
|
1098
1098
|
/**
|
|
1099
1099
|
* Show webhook event
|
|
1100
1100
|
* Retrieve a specific webhook event by id
|
|
1101
1101
|
*/
|
|
1102
|
-
const
|
|
1102
|
+
const getWebhookEvent = (options) => {
|
|
1103
1103
|
var _a;
|
|
1104
1104
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
1105
1105
|
url: '/api/webhook-events/{id}',
|
|
1106
1106
|
...options
|
|
1107
1107
|
});
|
|
1108
1108
|
};
|
|
1109
|
-
exports.
|
|
1109
|
+
exports.getWebhookEvent = getWebhookEvent;
|
|
1110
1110
|
/**
|
|
1111
1111
|
* Update webhook event
|
|
1112
1112
|
* Update an existing webhook event record
|
|
1113
1113
|
*/
|
|
1114
|
-
const
|
|
1114
|
+
const updateWebhookEvent = (options) => {
|
|
1115
1115
|
var _a;
|
|
1116
1116
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
1117
1117
|
url: '/api/webhook-events/{id}',
|
|
@@ -1122,24 +1122,24 @@ const f9A542586Bc6F0A22Afbab5C679A3Ed6 = (options) => {
|
|
|
1122
1122
|
}
|
|
1123
1123
|
});
|
|
1124
1124
|
};
|
|
1125
|
-
exports.
|
|
1125
|
+
exports.updateWebhookEvent = updateWebhookEvent;
|
|
1126
1126
|
/**
|
|
1127
1127
|
* List webhook logs
|
|
1128
1128
|
* Retrieve all webhook log records
|
|
1129
1129
|
*/
|
|
1130
|
-
const
|
|
1130
|
+
const listWebhookLogs = (options) => {
|
|
1131
1131
|
var _a;
|
|
1132
1132
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
1133
1133
|
url: '/api/webhook-logs',
|
|
1134
1134
|
...options
|
|
1135
1135
|
});
|
|
1136
1136
|
};
|
|
1137
|
-
exports.
|
|
1137
|
+
exports.listWebhookLogs = listWebhookLogs;
|
|
1138
1138
|
/**
|
|
1139
1139
|
* Create webhook log
|
|
1140
1140
|
* Create a new webhook log entry
|
|
1141
1141
|
*/
|
|
1142
|
-
const
|
|
1142
|
+
const createWebhookLog = (options) => {
|
|
1143
1143
|
var _a;
|
|
1144
1144
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
1145
1145
|
url: '/api/webhook-logs',
|
|
@@ -1150,36 +1150,36 @@ const cdf551F4015F6F5E770Ca11Fc276A2A6 = (options) => {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
});
|
|
1152
1152
|
};
|
|
1153
|
-
exports.
|
|
1153
|
+
exports.createWebhookLog = createWebhookLog;
|
|
1154
1154
|
/**
|
|
1155
1155
|
* Delete webhook log
|
|
1156
1156
|
* Delete a specific webhook log
|
|
1157
1157
|
*/
|
|
1158
|
-
const
|
|
1158
|
+
const deleteWebhookLog = (options) => {
|
|
1159
1159
|
var _a;
|
|
1160
1160
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
1161
1161
|
url: '/api/webhook-logs/{id}',
|
|
1162
1162
|
...options
|
|
1163
1163
|
});
|
|
1164
1164
|
};
|
|
1165
|
-
exports.
|
|
1165
|
+
exports.deleteWebhookLog = deleteWebhookLog;
|
|
1166
1166
|
/**
|
|
1167
1167
|
* Show webhook log
|
|
1168
1168
|
* Retrieve a specific webhook log by id
|
|
1169
1169
|
*/
|
|
1170
|
-
const
|
|
1170
|
+
const getWebhookLog = (options) => {
|
|
1171
1171
|
var _a;
|
|
1172
1172
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
1173
1173
|
url: '/api/webhook-logs/{id}',
|
|
1174
1174
|
...options
|
|
1175
1175
|
});
|
|
1176
1176
|
};
|
|
1177
|
-
exports.
|
|
1177
|
+
exports.getWebhookLog = getWebhookLog;
|
|
1178
1178
|
/**
|
|
1179
1179
|
* Update webhook log
|
|
1180
1180
|
* Update an existing webhook log entry
|
|
1181
1181
|
*/
|
|
1182
|
-
const
|
|
1182
|
+
const updateWebhookLog = (options) => {
|
|
1183
1183
|
var _a;
|
|
1184
1184
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
1185
1185
|
url: '/api/webhook-logs/{id}',
|
|
@@ -1190,24 +1190,24 @@ const c8Db56E509A5Fe506Caf60Aac3086B9 = (options) => {
|
|
|
1190
1190
|
}
|
|
1191
1191
|
});
|
|
1192
1192
|
};
|
|
1193
|
-
exports.
|
|
1193
|
+
exports.updateWebhookLog = updateWebhookLog;
|
|
1194
1194
|
/**
|
|
1195
1195
|
* List whiteboards
|
|
1196
1196
|
* Retrieve all whiteboard records
|
|
1197
1197
|
*/
|
|
1198
|
-
const
|
|
1198
|
+
const listWhiteboards = (options) => {
|
|
1199
1199
|
var _a;
|
|
1200
1200
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
1201
1201
|
url: '/api/whiteboards',
|
|
1202
1202
|
...options
|
|
1203
1203
|
});
|
|
1204
1204
|
};
|
|
1205
|
-
exports.
|
|
1205
|
+
exports.listWhiteboards = listWhiteboards;
|
|
1206
1206
|
/**
|
|
1207
1207
|
* Create whiteboard
|
|
1208
1208
|
* Create a new whiteboard record
|
|
1209
1209
|
*/
|
|
1210
|
-
const
|
|
1210
|
+
const createWhiteboard = (options) => {
|
|
1211
1211
|
var _a;
|
|
1212
1212
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
1213
1213
|
url: '/api/whiteboards',
|
|
@@ -1218,36 +1218,36 @@ const a014Fd93Fd09C4511Dc9825B4E7C237 = (options) => {
|
|
|
1218
1218
|
}
|
|
1219
1219
|
});
|
|
1220
1220
|
};
|
|
1221
|
-
exports.
|
|
1221
|
+
exports.createWhiteboard = createWhiteboard;
|
|
1222
1222
|
/**
|
|
1223
1223
|
* Delete whiteboard
|
|
1224
1224
|
* Delete a specific whiteboard
|
|
1225
1225
|
*/
|
|
1226
|
-
const
|
|
1226
|
+
const deleteWhiteboard = (options) => {
|
|
1227
1227
|
var _a;
|
|
1228
1228
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
1229
1229
|
url: '/api/whiteboards/{id}',
|
|
1230
1230
|
...options
|
|
1231
1231
|
});
|
|
1232
1232
|
};
|
|
1233
|
-
exports.
|
|
1233
|
+
exports.deleteWhiteboard = deleteWhiteboard;
|
|
1234
1234
|
/**
|
|
1235
1235
|
* Show whiteboard
|
|
1236
1236
|
* Retrieve a specific whiteboard by id
|
|
1237
1237
|
*/
|
|
1238
|
-
const
|
|
1238
|
+
const getWhiteboard = (options) => {
|
|
1239
1239
|
var _a;
|
|
1240
1240
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
1241
1241
|
url: '/api/whiteboards/{id}',
|
|
1242
1242
|
...options
|
|
1243
1243
|
});
|
|
1244
1244
|
};
|
|
1245
|
-
exports.
|
|
1245
|
+
exports.getWhiteboard = getWhiteboard;
|
|
1246
1246
|
/**
|
|
1247
1247
|
* Update whiteboard
|
|
1248
1248
|
* Update an existing whiteboard record
|
|
1249
1249
|
*/
|
|
1250
|
-
const
|
|
1250
|
+
const updateWhiteboard = (options) => {
|
|
1251
1251
|
var _a;
|
|
1252
1252
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
1253
1253
|
url: '/api/whiteboards/{id}',
|
|
@@ -1258,24 +1258,24 @@ const cd49A084989602422Bfb42Ab27Aeb2 = (options) => {
|
|
|
1258
1258
|
}
|
|
1259
1259
|
});
|
|
1260
1260
|
};
|
|
1261
|
-
exports.
|
|
1261
|
+
exports.updateWhiteboard = updateWhiteboard;
|
|
1262
1262
|
/**
|
|
1263
1263
|
* List whiteboard previews
|
|
1264
1264
|
* Retrieve all whiteboard preview records
|
|
1265
1265
|
*/
|
|
1266
|
-
const
|
|
1266
|
+
const listWhiteboardPreviews = (options) => {
|
|
1267
1267
|
var _a;
|
|
1268
1268
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
1269
1269
|
url: '/api/whiteboard-previews',
|
|
1270
1270
|
...options
|
|
1271
1271
|
});
|
|
1272
1272
|
};
|
|
1273
|
-
exports.
|
|
1273
|
+
exports.listWhiteboardPreviews = listWhiteboardPreviews;
|
|
1274
1274
|
/**
|
|
1275
1275
|
* Create whiteboard preview
|
|
1276
1276
|
* Create a new whiteboard preview record
|
|
1277
1277
|
*/
|
|
1278
|
-
const
|
|
1278
|
+
const createWhiteboardPreview = (options) => {
|
|
1279
1279
|
var _a;
|
|
1280
1280
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
1281
1281
|
url: '/api/whiteboard-previews',
|
|
@@ -1286,36 +1286,36 @@ const b6Aa300D75172A7B7483646B181B777 = (options) => {
|
|
|
1286
1286
|
}
|
|
1287
1287
|
});
|
|
1288
1288
|
};
|
|
1289
|
-
exports.
|
|
1289
|
+
exports.createWhiteboardPreview = createWhiteboardPreview;
|
|
1290
1290
|
/**
|
|
1291
1291
|
* Delete whiteboard preview
|
|
1292
1292
|
* Delete a specific whiteboard preview
|
|
1293
1293
|
*/
|
|
1294
|
-
const
|
|
1294
|
+
const deleteWhiteboardPreview = (options) => {
|
|
1295
1295
|
var _a;
|
|
1296
1296
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
1297
1297
|
url: '/api/whiteboard-previews/{id}',
|
|
1298
1298
|
...options
|
|
1299
1299
|
});
|
|
1300
1300
|
};
|
|
1301
|
-
exports.
|
|
1301
|
+
exports.deleteWhiteboardPreview = deleteWhiteboardPreview;
|
|
1302
1302
|
/**
|
|
1303
1303
|
* Show whiteboard preview
|
|
1304
1304
|
* Retrieve a specific whiteboard preview by id
|
|
1305
1305
|
*/
|
|
1306
|
-
const
|
|
1306
|
+
const getWhiteboardPreview = (options) => {
|
|
1307
1307
|
var _a;
|
|
1308
1308
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
1309
1309
|
url: '/api/whiteboard-previews/{id}',
|
|
1310
1310
|
...options
|
|
1311
1311
|
});
|
|
1312
1312
|
};
|
|
1313
|
-
exports.
|
|
1313
|
+
exports.getWhiteboardPreview = getWhiteboardPreview;
|
|
1314
1314
|
/**
|
|
1315
1315
|
* Update whiteboard preview
|
|
1316
1316
|
* Update an existing whiteboard preview record
|
|
1317
1317
|
*/
|
|
1318
|
-
const
|
|
1318
|
+
const updateWhiteboardPreview = (options) => {
|
|
1319
1319
|
var _a;
|
|
1320
1320
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
1321
1321
|
url: '/api/whiteboard-previews/{id}',
|
|
@@ -1326,24 +1326,24 @@ const e67C5863Df1D25A53E6B0Ac72F2C9E5 = (options) => {
|
|
|
1326
1326
|
}
|
|
1327
1327
|
});
|
|
1328
1328
|
};
|
|
1329
|
-
exports.
|
|
1329
|
+
exports.updateWhiteboardPreview = updateWhiteboardPreview;
|
|
1330
1330
|
/**
|
|
1331
1331
|
* List workspaces
|
|
1332
1332
|
* Retrieve all workspace records
|
|
1333
1333
|
*/
|
|
1334
|
-
const
|
|
1334
|
+
const listWorkspaces = (options) => {
|
|
1335
1335
|
var _a;
|
|
1336
1336
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
1337
1337
|
url: '/api/workspaces',
|
|
1338
1338
|
...options
|
|
1339
1339
|
});
|
|
1340
1340
|
};
|
|
1341
|
-
exports.
|
|
1341
|
+
exports.listWorkspaces = listWorkspaces;
|
|
1342
1342
|
/**
|
|
1343
1343
|
* Create workspace
|
|
1344
1344
|
* Create a new workspace record
|
|
1345
1345
|
*/
|
|
1346
|
-
const
|
|
1346
|
+
const createWorkspace = (options) => {
|
|
1347
1347
|
var _a;
|
|
1348
1348
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
|
|
1349
1349
|
url: '/api/workspaces',
|
|
@@ -1354,36 +1354,36 @@ const f1Fcf4D543474998B882C775Ae8Cd = (options) => {
|
|
|
1354
1354
|
}
|
|
1355
1355
|
});
|
|
1356
1356
|
};
|
|
1357
|
-
exports.
|
|
1357
|
+
exports.createWorkspace = createWorkspace;
|
|
1358
1358
|
/**
|
|
1359
1359
|
* Delete workspace
|
|
1360
1360
|
* Delete a specific workspace
|
|
1361
1361
|
*/
|
|
1362
|
-
const
|
|
1362
|
+
const deleteWorkspace = (options) => {
|
|
1363
1363
|
var _a;
|
|
1364
1364
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
|
|
1365
1365
|
url: '/api/workspaces/{id}',
|
|
1366
1366
|
...options
|
|
1367
1367
|
});
|
|
1368
1368
|
};
|
|
1369
|
-
exports.
|
|
1369
|
+
exports.deleteWorkspace = deleteWorkspace;
|
|
1370
1370
|
/**
|
|
1371
1371
|
* Show workspace
|
|
1372
1372
|
* Retrieve a specific workspace by id
|
|
1373
1373
|
*/
|
|
1374
|
-
const
|
|
1374
|
+
const getWorkspace = (options) => {
|
|
1375
1375
|
var _a;
|
|
1376
1376
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
|
|
1377
1377
|
url: '/api/workspaces/{id}',
|
|
1378
1378
|
...options
|
|
1379
1379
|
});
|
|
1380
1380
|
};
|
|
1381
|
-
exports.
|
|
1381
|
+
exports.getWorkspace = getWorkspace;
|
|
1382
1382
|
/**
|
|
1383
1383
|
* Update workspace
|
|
1384
1384
|
* Update an existing workspace record
|
|
1385
1385
|
*/
|
|
1386
|
-
const
|
|
1386
|
+
const updateWorkspace = (options) => {
|
|
1387
1387
|
var _a;
|
|
1388
1388
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
|
|
1389
1389
|
url: '/api/workspaces/{id}',
|
|
@@ -1394,5 +1394,5 @@ const dd8Ed43821A3F5Ef8E3516B7B7E3 = (options) => {
|
|
|
1394
1394
|
}
|
|
1395
1395
|
});
|
|
1396
1396
|
};
|
|
1397
|
-
exports.
|
|
1397
|
+
exports.updateWorkspace = updateWorkspace;
|
|
1398
1398
|
//# sourceMappingURL=sdk.gen.js.map
|