@deepraxis/sdk 0.1.0-dev.ed6ad1b → 0.1.0-dev.f8a7b74
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/METHODS.md +132 -1
- package/dist/core/client.d.ts +5 -1
- package/dist/core/client.js +3 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +274 -10
- package/dist/generated/sdk.gen.js +854 -9
- package/dist/generated/types.gen.d.ts +3891 -33
- package/dist/helpers/file-upload.d.ts +24 -0
- package/dist/helpers/file-upload.js +113 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/operations.generated.d.ts +1322 -13
- package/dist/operations.generated.js +1661 -13
- package/dist/resources.generated.d.ts +249 -0
- package/dist/resources.generated.js +83 -0
- package/package.json +1 -1
|
@@ -1083,7 +1083,7 @@ export const fileListFiles = (options) => (options?.client ?? client).get({
|
|
|
1083
1083
|
/**
|
|
1084
1084
|
* Upload file
|
|
1085
1085
|
*
|
|
1086
|
-
* Upload a file to reuse in conversations or attach to a knowledge base. Unlike OpenAI Files, uploads must be nonempty and at most
|
|
1086
|
+
* Upload a file to reuse in conversations or attach to a knowledge base. Unlike OpenAI Files, uploads must be nonempty and at most 100000000 bytes, and only user_data, assistants and vision purposes are accepted. Send file bytes as a multipart file part, not a filename or file ID; in the SDK use a File or Blob, for example new File(["Return within 23 days."], "policy.txt", { type: "text/plain" }). Content determines the MIME type. Supported uploads include PDF, DOCX/XLSX/PPTX, PNG/JPEG/GIF/WebP, MP3/WAV/FLAC/OGG/M4A, MP4/WebM, and UTF-8 JSON/NDJSON/CSV/Markdown/plain text; empty, unsupported, oversized files and unsupported purposes return 400. Use Uploads for larger files. The purpose vision accepts only PNG, JPEG, GIF and WebP, while conversation images require user_data. The returned ID belongs to your tenant; upload alone does not ingest the file into Knowledge. Knowledge attachment has a lower limit of 100000000 bytes. Optionally set expires_after[anchor]=created_at with expires_after[seconds] (3600–2592000), or praxis[expires_in_seconds] (3600–7776000), never both. Without expiry, the file persists until deleted.
|
|
1087
1087
|
*/
|
|
1088
1088
|
export const fileCreateFile = (options) => (options.client ?? client).post({
|
|
1089
1089
|
...formDataBodySerializer,
|
|
@@ -1124,7 +1124,7 @@ export const fileDeleteFile = (options) => (options.client ?? client).delete({
|
|
|
1124
1124
|
/**
|
|
1125
1125
|
* Retrieve file
|
|
1126
1126
|
*
|
|
1127
|
-
* Retrieve metadata for a live file owned by your tenant. Use its
|
|
1127
|
+
* Retrieve metadata for a live file owned by your tenant. Use its file- ID from upload or list. Missing, deleted, expired and other-tenant files return 404; use the content endpoint to download the bytes.
|
|
1128
1128
|
*/
|
|
1129
1129
|
export const fileRetrieveFile = (options) => (options.client ?? client).get({
|
|
1130
1130
|
security: [{
|
|
@@ -1142,7 +1142,7 @@ export const fileRetrieveFile = (options) => (options.client ?? client).get({
|
|
|
1142
1142
|
/**
|
|
1143
1143
|
* Retrieve file content
|
|
1144
1144
|
*
|
|
1145
|
-
* Download the original bytes of a live file owned by your tenant. Supply its
|
|
1145
|
+
* Download the original bytes of a live file owned by your tenant. Supply its file- ID from upload or list. A single byte Range can return a partial response; a range outside the file returns 416. Missing, deleted, expired and other-tenant files return 404.
|
|
1146
1146
|
*/
|
|
1147
1147
|
export const fileRetrieveFileContent = (options) => (options.client ?? client).get({
|
|
1148
1148
|
security: [{
|
|
@@ -1157,6 +1157,75 @@ export const fileRetrieveFileContent = (options) => (options.client ?? client).g
|
|
|
1157
1157
|
url: '/file/v1/files/{file_id}/content',
|
|
1158
1158
|
...options
|
|
1159
1159
|
});
|
|
1160
|
+
/**
|
|
1161
|
+
* Create an upload
|
|
1162
|
+
*
|
|
1163
|
+
* Start a multipart upload for a file larger than the 100000000-byte direct-upload limit. Supply the exact byte length, filename, MIME type and purpose. Unlike OpenAI, uploads accept at most 2 GiB (2147483648 bytes) and only user_data, assistants and vision purposes. Add parts of at most 64000000 bytes and complete within one hour. Optional part_size enables fixed-size, retryable parts. expires_after applies to the resulting file (3600–7776000 seconds on this own face); without it the file persists until deleted.
|
|
1164
|
+
*/
|
|
1165
|
+
export const fileCreateUpload = (options) => (options.client ?? client).post({
|
|
1166
|
+
security: [{
|
|
1167
|
+
key: 'BearerAuth',
|
|
1168
|
+
scheme: 'bearer',
|
|
1169
|
+
type: 'http'
|
|
1170
|
+
}],
|
|
1171
|
+
url: '/file/v1/uploads',
|
|
1172
|
+
...options,
|
|
1173
|
+
headers: {
|
|
1174
|
+
'Content-Type': 'application/json',
|
|
1175
|
+
...options.headers
|
|
1176
|
+
}
|
|
1177
|
+
});
|
|
1178
|
+
/**
|
|
1179
|
+
* Add an upload part
|
|
1180
|
+
*
|
|
1181
|
+
* Send one nonempty part as the multipart data field, at most 64000000 bytes. Parts may arrive concurrently in any order. Use upload_id from create. For a fixed-size upload, supply part_number starting at 1 and exactly part_size bytes except for the final remainder; retry the same number with identical bytes to recover its part ID. Without part_size, each request creates a new part and part_number is ignored. Save the returned part IDs for complete.
|
|
1182
|
+
*/
|
|
1183
|
+
export const fileAddUploadPart = (options) => (options.client ?? client).post({
|
|
1184
|
+
...formDataBodySerializer,
|
|
1185
|
+
security: [{
|
|
1186
|
+
key: 'BearerAuth',
|
|
1187
|
+
scheme: 'bearer',
|
|
1188
|
+
type: 'http'
|
|
1189
|
+
}],
|
|
1190
|
+
url: '/file/v1/uploads/{upload_id}/parts',
|
|
1191
|
+
...options,
|
|
1192
|
+
headers: {
|
|
1193
|
+
'Content-Type': null,
|
|
1194
|
+
...options.headers
|
|
1195
|
+
}
|
|
1196
|
+
});
|
|
1197
|
+
/**
|
|
1198
|
+
* Complete an upload
|
|
1199
|
+
*
|
|
1200
|
+
* Assemble the uploaded parts into a file. Supply upload_id from create and part_ids from addPart in file byte order; their sizes must total the declared bytes. Optional md5 verifies the assembled content. Retrying identical part_ids and normalized md5 returns the same result; different inputs return 409. Unlike OpenAI, completed can contain a file still processing (status uploaded). Poll files.retrieve using file.id until status processed (own face state active); error, expiry or 404 means processing failed and the file cannot be used.
|
|
1201
|
+
*/
|
|
1202
|
+
export const fileCompleteUpload = (options) => (options.client ?? client).post({
|
|
1203
|
+
security: [{
|
|
1204
|
+
key: 'BearerAuth',
|
|
1205
|
+
scheme: 'bearer',
|
|
1206
|
+
type: 'http'
|
|
1207
|
+
}],
|
|
1208
|
+
url: '/file/v1/uploads/{upload_id}/complete',
|
|
1209
|
+
...options,
|
|
1210
|
+
headers: {
|
|
1211
|
+
'Content-Type': 'application/json',
|
|
1212
|
+
...options.headers
|
|
1213
|
+
}
|
|
1214
|
+
});
|
|
1215
|
+
/**
|
|
1216
|
+
* Cancel an upload
|
|
1217
|
+
*
|
|
1218
|
+
* Cancel an unfinished upload using upload_id from create and release its reserved storage. Further parts and completion are rejected. Cancelling an already cancelled upload returns the same terminal result; a completed upload cannot be cancelled. Delete its resulting file instead.
|
|
1219
|
+
*/
|
|
1220
|
+
export const fileCancelUpload = (options) => (options.client ?? client).post({
|
|
1221
|
+
security: [{
|
|
1222
|
+
key: 'BearerAuth',
|
|
1223
|
+
scheme: 'bearer',
|
|
1224
|
+
type: 'http'
|
|
1225
|
+
}],
|
|
1226
|
+
url: '/file/v1/uploads/{upload_id}/cancel',
|
|
1227
|
+
...options
|
|
1228
|
+
});
|
|
1160
1229
|
/**
|
|
1161
1230
|
* Health Check
|
|
1162
1231
|
*
|
|
@@ -2508,7 +2577,7 @@ export const sessionsList = (options) => (options?.client ?? client).get({
|
|
|
2508
2577
|
/**
|
|
2509
2578
|
* Create session
|
|
2510
2579
|
*
|
|
2511
|
-
* Create a session: one conversation with an agent
|
|
2580
|
+
* Create a session: one conversation with an agent. Pass agent as an agent id (latest version) or {id, version, type:"agent"}. Unlike Anthropic Managed Agents, omit environment_id to get a light machine, unless computer_id (explicit, or the agent's default) selects a Computer; pass an environment id for a sandbox recipe. For service agents, omission returns environment_id=light; explicit null allocates no machine, so codemode, bash and other machine tools are unavailable. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|max|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Inline agent overrides are not supported. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Omitted budget defaults to USD 20; null removes the limit, and a limit object uses a positive integer string of USD cents. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion.
|
|
2512
2581
|
*/
|
|
2513
2582
|
export const sessionsCreate = (options) => (options.client ?? client).post({
|
|
2514
2583
|
security: [{
|
|
@@ -5884,7 +5953,7 @@ export const getSandboxV1Sandboxes = (options) => (options?.client ?? client).ge
|
|
|
5884
5953
|
/**
|
|
5885
5954
|
* Create sandbox (v2)
|
|
5886
5955
|
*
|
|
5887
|
-
*
|
|
5956
|
+
* Create a sandbox from the template. All system communication with the sandbox is secured.
|
|
5888
5957
|
*/
|
|
5889
5958
|
export const postSandboxV1Sandboxes = (options) => (options.client ?? client).post({
|
|
5890
5959
|
security: [
|
|
@@ -5925,7 +5994,7 @@ export const postSandboxV1Sandboxes = (options) => (options.client ?? client).po
|
|
|
5925
5994
|
/**
|
|
5926
5995
|
* Sandbox metrics
|
|
5927
5996
|
*
|
|
5928
|
-
* Read CPU, memory and disk usage over
|
|
5997
|
+
* Read CPU, memory and disk usage samples of a sandbox over a time window. Use it to size a sandbox or find out why it is slow. start and end are Unix timestamps in seconds; without them the recent samples are returned. An unknown id answers 404.
|
|
5929
5998
|
*/
|
|
5930
5999
|
export const getSandboxV1SandboxesBySandboxIdMetrics = (options) => (options.client ?? client).get({
|
|
5931
6000
|
security: [
|
|
@@ -5962,7 +6031,7 @@ export const getSandboxV1SandboxesBySandboxIdMetrics = (options) => (options.cli
|
|
|
5962
6031
|
/**
|
|
5963
6032
|
* Pause sandbox
|
|
5964
6033
|
*
|
|
5965
|
-
*
|
|
6034
|
+
* Pause a running sandbox, keeping its files and memory so that connectSandbox can resume it later. Use it to stop paying for compute without losing state; to discard the sandbox use killSandbox. Success answers 204. A sandbox that is not running answers 409.
|
|
5966
6035
|
*/
|
|
5967
6036
|
export const postSandboxV1SandboxesBySandboxIdPause = (options) => (options.client ?? client).post({
|
|
5968
6037
|
security: [
|
|
@@ -6044,7 +6113,7 @@ export const postSandboxV1SandboxesBySandboxIdTimeout = (options) => (options.cl
|
|
|
6044
6113
|
/**
|
|
6045
6114
|
* Connect sandbox (v2)
|
|
6046
6115
|
*
|
|
6047
|
-
*
|
|
6116
|
+
* Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds.
|
|
6048
6117
|
*/
|
|
6049
6118
|
export const postSandboxV1SandboxesBySandboxIdConnect = (options) => (options.client ?? client).post({
|
|
6050
6119
|
security: [
|
|
@@ -6085,7 +6154,7 @@ export const postSandboxV1SandboxesBySandboxIdConnect = (options) => (options.cl
|
|
|
6085
6154
|
/**
|
|
6086
6155
|
* List templates (v2)
|
|
6087
6156
|
*
|
|
6088
|
-
*
|
|
6157
|
+
* List the templates you can create sandboxes from. Use it to pick the template id or alias for createSandbox. `base` is the default template that createSandbox uses when templateID is omitted. limit is 1 to 100 (default 100); send the cursor from the response back as nextToken to continue.
|
|
6089
6158
|
*/
|
|
6090
6159
|
export const getSandboxV1Templates = (options) => (options?.client ?? client).get({
|
|
6091
6160
|
security: [
|
|
@@ -6951,3 +7020,779 @@ export const vaultConnectContinue = (options) => (options.client ?? client).post
|
|
|
6951
7020
|
* Consume a pending authorization's one-time connect token and mark it failed with access_denied. Redirect to the configured return URL, or display a result page when none was supplied.
|
|
6952
7021
|
*/
|
|
6953
7022
|
export const vaultConnectDeny = (options) => (options.client ?? client).post({ url: '/vault/v1/connect/{token}/deny', ...options });
|
|
7023
|
+
/**
|
|
7024
|
+
* List tickets
|
|
7025
|
+
*
|
|
7026
|
+
* List tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7027
|
+
*/
|
|
7028
|
+
export const ticketGetTickets = (options) => (options?.client ?? client).get({
|
|
7029
|
+
security: [{
|
|
7030
|
+
key: 'BearerAuth',
|
|
7031
|
+
scheme: 'bearer',
|
|
7032
|
+
type: 'http'
|
|
7033
|
+
}, {
|
|
7034
|
+
key: 'ApiKeyAuth',
|
|
7035
|
+
name: 'X-API-Key',
|
|
7036
|
+
type: 'apiKey'
|
|
7037
|
+
}],
|
|
7038
|
+
url: '/ticket/v1/tickets',
|
|
7039
|
+
...options
|
|
7040
|
+
});
|
|
7041
|
+
/**
|
|
7042
|
+
* Create or add tickets
|
|
7043
|
+
*
|
|
7044
|
+
* Create or add tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7045
|
+
*/
|
|
7046
|
+
export const ticketPostTickets = (options) => (options.client ?? client).post({
|
|
7047
|
+
security: [{
|
|
7048
|
+
key: 'BearerAuth',
|
|
7049
|
+
scheme: 'bearer',
|
|
7050
|
+
type: 'http'
|
|
7051
|
+
}, {
|
|
7052
|
+
key: 'ApiKeyAuth',
|
|
7053
|
+
name: 'X-API-Key',
|
|
7054
|
+
type: 'apiKey'
|
|
7055
|
+
}],
|
|
7056
|
+
url: '/ticket/v1/tickets',
|
|
7057
|
+
...options,
|
|
7058
|
+
headers: {
|
|
7059
|
+
'Content-Type': 'application/json',
|
|
7060
|
+
...options.headers
|
|
7061
|
+
}
|
|
7062
|
+
});
|
|
7063
|
+
/**
|
|
7064
|
+
* Read tickets
|
|
7065
|
+
*
|
|
7066
|
+
* Read tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7067
|
+
*/
|
|
7068
|
+
export const ticketGetTicketsNumber = (options) => (options.client ?? client).get({
|
|
7069
|
+
security: [{
|
|
7070
|
+
key: 'BearerAuth',
|
|
7071
|
+
scheme: 'bearer',
|
|
7072
|
+
type: 'http'
|
|
7073
|
+
}, {
|
|
7074
|
+
key: 'ApiKeyAuth',
|
|
7075
|
+
name: 'X-API-Key',
|
|
7076
|
+
type: 'apiKey'
|
|
7077
|
+
}],
|
|
7078
|
+
url: '/ticket/v1/tickets/{number}',
|
|
7079
|
+
...options
|
|
7080
|
+
});
|
|
7081
|
+
/**
|
|
7082
|
+
* Update tickets
|
|
7083
|
+
*
|
|
7084
|
+
* Update tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7085
|
+
*/
|
|
7086
|
+
export const ticketPatchTicketsNumber = (options) => (options.client ?? client).patch({
|
|
7087
|
+
security: [{
|
|
7088
|
+
key: 'BearerAuth',
|
|
7089
|
+
scheme: 'bearer',
|
|
7090
|
+
type: 'http'
|
|
7091
|
+
}, {
|
|
7092
|
+
key: 'ApiKeyAuth',
|
|
7093
|
+
name: 'X-API-Key',
|
|
7094
|
+
type: 'apiKey'
|
|
7095
|
+
}],
|
|
7096
|
+
url: '/ticket/v1/tickets/{number}',
|
|
7097
|
+
...options,
|
|
7098
|
+
headers: {
|
|
7099
|
+
'Content-Type': 'application/json',
|
|
7100
|
+
...options.headers
|
|
7101
|
+
}
|
|
7102
|
+
});
|
|
7103
|
+
/**
|
|
7104
|
+
* Remove lock
|
|
7105
|
+
*
|
|
7106
|
+
* Remove lock within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
|
|
7107
|
+
*/
|
|
7108
|
+
export const ticketDeleteTicketsNumberLock = (options) => (options.client ?? client).delete({
|
|
7109
|
+
security: [{
|
|
7110
|
+
key: 'BearerAuth',
|
|
7111
|
+
scheme: 'bearer',
|
|
7112
|
+
type: 'http'
|
|
7113
|
+
}, {
|
|
7114
|
+
key: 'ApiKeyAuth',
|
|
7115
|
+
name: 'X-API-Key',
|
|
7116
|
+
type: 'apiKey'
|
|
7117
|
+
}],
|
|
7118
|
+
url: '/ticket/v1/tickets/{number}/lock',
|
|
7119
|
+
...options
|
|
7120
|
+
});
|
|
7121
|
+
/**
|
|
7122
|
+
* Update lock
|
|
7123
|
+
*
|
|
7124
|
+
* Update lock within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
|
|
7125
|
+
*/
|
|
7126
|
+
export const ticketPutTicketsNumberLock = (options) => (options.client ?? client).put({
|
|
7127
|
+
security: [{
|
|
7128
|
+
key: 'BearerAuth',
|
|
7129
|
+
scheme: 'bearer',
|
|
7130
|
+
type: 'http'
|
|
7131
|
+
}, {
|
|
7132
|
+
key: 'ApiKeyAuth',
|
|
7133
|
+
name: 'X-API-Key',
|
|
7134
|
+
type: 'apiKey'
|
|
7135
|
+
}],
|
|
7136
|
+
url: '/ticket/v1/tickets/{number}/lock',
|
|
7137
|
+
...options,
|
|
7138
|
+
headers: {
|
|
7139
|
+
'Content-Type': 'application/json',
|
|
7140
|
+
...options.headers
|
|
7141
|
+
}
|
|
7142
|
+
});
|
|
7143
|
+
/**
|
|
7144
|
+
* List comments
|
|
7145
|
+
*
|
|
7146
|
+
* List comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7147
|
+
*/
|
|
7148
|
+
export const ticketGetTicketsNumberComments = (options) => (options.client ?? client).get({
|
|
7149
|
+
security: [{
|
|
7150
|
+
key: 'BearerAuth',
|
|
7151
|
+
scheme: 'bearer',
|
|
7152
|
+
type: 'http'
|
|
7153
|
+
}, {
|
|
7154
|
+
key: 'ApiKeyAuth',
|
|
7155
|
+
name: 'X-API-Key',
|
|
7156
|
+
type: 'apiKey'
|
|
7157
|
+
}],
|
|
7158
|
+
url: '/ticket/v1/tickets/{number}/comments',
|
|
7159
|
+
...options
|
|
7160
|
+
});
|
|
7161
|
+
/**
|
|
7162
|
+
* Create or add comments
|
|
7163
|
+
*
|
|
7164
|
+
* Create or add comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7165
|
+
*/
|
|
7166
|
+
export const ticketPostTicketsNumberComments = (options) => (options.client ?? client).post({
|
|
7167
|
+
security: [{
|
|
7168
|
+
key: 'BearerAuth',
|
|
7169
|
+
scheme: 'bearer',
|
|
7170
|
+
type: 'http'
|
|
7171
|
+
}, {
|
|
7172
|
+
key: 'ApiKeyAuth',
|
|
7173
|
+
name: 'X-API-Key',
|
|
7174
|
+
type: 'apiKey'
|
|
7175
|
+
}],
|
|
7176
|
+
url: '/ticket/v1/tickets/{number}/comments',
|
|
7177
|
+
...options,
|
|
7178
|
+
headers: {
|
|
7179
|
+
'Content-Type': 'application/json',
|
|
7180
|
+
...options.headers
|
|
7181
|
+
}
|
|
7182
|
+
});
|
|
7183
|
+
/**
|
|
7184
|
+
* Remove comments
|
|
7185
|
+
*
|
|
7186
|
+
* Remove comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7187
|
+
*/
|
|
7188
|
+
export const ticketDeleteCommentsId = (options) => (options.client ?? client).delete({
|
|
7189
|
+
security: [{
|
|
7190
|
+
key: 'BearerAuth',
|
|
7191
|
+
scheme: 'bearer',
|
|
7192
|
+
type: 'http'
|
|
7193
|
+
}, {
|
|
7194
|
+
key: 'ApiKeyAuth',
|
|
7195
|
+
name: 'X-API-Key',
|
|
7196
|
+
type: 'apiKey'
|
|
7197
|
+
}],
|
|
7198
|
+
url: '/ticket/v1/comments/{id}',
|
|
7199
|
+
...options
|
|
7200
|
+
});
|
|
7201
|
+
/**
|
|
7202
|
+
* Read comments
|
|
7203
|
+
*
|
|
7204
|
+
* Read comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7205
|
+
*/
|
|
7206
|
+
export const ticketGetCommentsId = (options) => (options.client ?? client).get({
|
|
7207
|
+
security: [{
|
|
7208
|
+
key: 'BearerAuth',
|
|
7209
|
+
scheme: 'bearer',
|
|
7210
|
+
type: 'http'
|
|
7211
|
+
}, {
|
|
7212
|
+
key: 'ApiKeyAuth',
|
|
7213
|
+
name: 'X-API-Key',
|
|
7214
|
+
type: 'apiKey'
|
|
7215
|
+
}],
|
|
7216
|
+
url: '/ticket/v1/comments/{id}',
|
|
7217
|
+
...options
|
|
7218
|
+
});
|
|
7219
|
+
/**
|
|
7220
|
+
* Update comments
|
|
7221
|
+
*
|
|
7222
|
+
* Update comments within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7223
|
+
*/
|
|
7224
|
+
export const ticketPatchCommentsId = (options) => (options.client ?? client).patch({
|
|
7225
|
+
security: [{
|
|
7226
|
+
key: 'BearerAuth',
|
|
7227
|
+
scheme: 'bearer',
|
|
7228
|
+
type: 'http'
|
|
7229
|
+
}, {
|
|
7230
|
+
key: 'ApiKeyAuth',
|
|
7231
|
+
name: 'X-API-Key',
|
|
7232
|
+
type: 'apiKey'
|
|
7233
|
+
}],
|
|
7234
|
+
url: '/ticket/v1/comments/{id}',
|
|
7235
|
+
...options,
|
|
7236
|
+
headers: {
|
|
7237
|
+
'Content-Type': 'application/json',
|
|
7238
|
+
...options.headers
|
|
7239
|
+
}
|
|
7240
|
+
});
|
|
7241
|
+
/**
|
|
7242
|
+
* List labels
|
|
7243
|
+
*
|
|
7244
|
+
* List labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7245
|
+
*/
|
|
7246
|
+
export const ticketGetLabels = (options) => (options?.client ?? client).get({
|
|
7247
|
+
security: [{
|
|
7248
|
+
key: 'BearerAuth',
|
|
7249
|
+
scheme: 'bearer',
|
|
7250
|
+
type: 'http'
|
|
7251
|
+
}, {
|
|
7252
|
+
key: 'ApiKeyAuth',
|
|
7253
|
+
name: 'X-API-Key',
|
|
7254
|
+
type: 'apiKey'
|
|
7255
|
+
}],
|
|
7256
|
+
url: '/ticket/v1/labels',
|
|
7257
|
+
...options
|
|
7258
|
+
});
|
|
7259
|
+
/**
|
|
7260
|
+
* Create or add labels
|
|
7261
|
+
*
|
|
7262
|
+
* Create or add labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
|
|
7263
|
+
*/
|
|
7264
|
+
export const ticketPostLabels = (options) => (options.client ?? client).post({
|
|
7265
|
+
security: [{
|
|
7266
|
+
key: 'BearerAuth',
|
|
7267
|
+
scheme: 'bearer',
|
|
7268
|
+
type: 'http'
|
|
7269
|
+
}, {
|
|
7270
|
+
key: 'ApiKeyAuth',
|
|
7271
|
+
name: 'X-API-Key',
|
|
7272
|
+
type: 'apiKey'
|
|
7273
|
+
}],
|
|
7274
|
+
url: '/ticket/v1/labels',
|
|
7275
|
+
...options,
|
|
7276
|
+
headers: {
|
|
7277
|
+
'Content-Type': 'application/json',
|
|
7278
|
+
...options.headers
|
|
7279
|
+
}
|
|
7280
|
+
});
|
|
7281
|
+
/**
|
|
7282
|
+
* Remove labels
|
|
7283
|
+
*
|
|
7284
|
+
* Remove labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
|
|
7285
|
+
*/
|
|
7286
|
+
export const ticketDeleteLabelsName = (options) => (options.client ?? client).delete({
|
|
7287
|
+
security: [{
|
|
7288
|
+
key: 'BearerAuth',
|
|
7289
|
+
scheme: 'bearer',
|
|
7290
|
+
type: 'http'
|
|
7291
|
+
}, {
|
|
7292
|
+
key: 'ApiKeyAuth',
|
|
7293
|
+
name: 'X-API-Key',
|
|
7294
|
+
type: 'apiKey'
|
|
7295
|
+
}],
|
|
7296
|
+
url: '/ticket/v1/labels/{name}',
|
|
7297
|
+
...options
|
|
7298
|
+
});
|
|
7299
|
+
/**
|
|
7300
|
+
* Update labels
|
|
7301
|
+
*
|
|
7302
|
+
* Update labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
|
|
7303
|
+
*/
|
|
7304
|
+
export const ticketPatchLabelsName = (options) => (options.client ?? client).patch({
|
|
7305
|
+
security: [{
|
|
7306
|
+
key: 'BearerAuth',
|
|
7307
|
+
scheme: 'bearer',
|
|
7308
|
+
type: 'http'
|
|
7309
|
+
}, {
|
|
7310
|
+
key: 'ApiKeyAuth',
|
|
7311
|
+
name: 'X-API-Key',
|
|
7312
|
+
type: 'apiKey'
|
|
7313
|
+
}],
|
|
7314
|
+
url: '/ticket/v1/labels/{name}',
|
|
7315
|
+
...options,
|
|
7316
|
+
headers: {
|
|
7317
|
+
'Content-Type': 'application/json',
|
|
7318
|
+
...options.headers
|
|
7319
|
+
}
|
|
7320
|
+
});
|
|
7321
|
+
/**
|
|
7322
|
+
* Read types
|
|
7323
|
+
*
|
|
7324
|
+
* Read types within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7325
|
+
*/
|
|
7326
|
+
export const ticketGetTypes = (options) => (options?.client ?? client).get({
|
|
7327
|
+
security: [{
|
|
7328
|
+
key: 'BearerAuth',
|
|
7329
|
+
scheme: 'bearer',
|
|
7330
|
+
type: 'http'
|
|
7331
|
+
}, {
|
|
7332
|
+
key: 'ApiKeyAuth',
|
|
7333
|
+
name: 'X-API-Key',
|
|
7334
|
+
type: 'apiKey'
|
|
7335
|
+
}],
|
|
7336
|
+
url: '/ticket/v1/types',
|
|
7337
|
+
...options
|
|
7338
|
+
});
|
|
7339
|
+
/**
|
|
7340
|
+
* List milestones
|
|
7341
|
+
*
|
|
7342
|
+
* List milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7343
|
+
*/
|
|
7344
|
+
export const ticketGetMilestones = (options) => (options?.client ?? client).get({
|
|
7345
|
+
security: [{
|
|
7346
|
+
key: 'BearerAuth',
|
|
7347
|
+
scheme: 'bearer',
|
|
7348
|
+
type: 'http'
|
|
7349
|
+
}, {
|
|
7350
|
+
key: 'ApiKeyAuth',
|
|
7351
|
+
name: 'X-API-Key',
|
|
7352
|
+
type: 'apiKey'
|
|
7353
|
+
}],
|
|
7354
|
+
url: '/ticket/v1/milestones',
|
|
7355
|
+
...options
|
|
7356
|
+
});
|
|
7357
|
+
/**
|
|
7358
|
+
* Create or add milestones
|
|
7359
|
+
*
|
|
7360
|
+
* Create or add milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
|
|
7361
|
+
*/
|
|
7362
|
+
export const ticketPostMilestones = (options) => (options.client ?? client).post({
|
|
7363
|
+
security: [{
|
|
7364
|
+
key: 'BearerAuth',
|
|
7365
|
+
scheme: 'bearer',
|
|
7366
|
+
type: 'http'
|
|
7367
|
+
}, {
|
|
7368
|
+
key: 'ApiKeyAuth',
|
|
7369
|
+
name: 'X-API-Key',
|
|
7370
|
+
type: 'apiKey'
|
|
7371
|
+
}],
|
|
7372
|
+
url: '/ticket/v1/milestones',
|
|
7373
|
+
...options,
|
|
7374
|
+
headers: {
|
|
7375
|
+
'Content-Type': 'application/json',
|
|
7376
|
+
...options.headers
|
|
7377
|
+
}
|
|
7378
|
+
});
|
|
7379
|
+
/**
|
|
7380
|
+
* Remove milestones
|
|
7381
|
+
*
|
|
7382
|
+
* Remove milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
|
|
7383
|
+
*/
|
|
7384
|
+
export const ticketDeleteMilestonesNumber = (options) => (options.client ?? client).delete({
|
|
7385
|
+
security: [{
|
|
7386
|
+
key: 'BearerAuth',
|
|
7387
|
+
scheme: 'bearer',
|
|
7388
|
+
type: 'http'
|
|
7389
|
+
}, {
|
|
7390
|
+
key: 'ApiKeyAuth',
|
|
7391
|
+
name: 'X-API-Key',
|
|
7392
|
+
type: 'apiKey'
|
|
7393
|
+
}],
|
|
7394
|
+
url: '/ticket/v1/milestones/{number}',
|
|
7395
|
+
...options
|
|
7396
|
+
});
|
|
7397
|
+
/**
|
|
7398
|
+
* Read milestones
|
|
7399
|
+
*
|
|
7400
|
+
* Read milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7401
|
+
*/
|
|
7402
|
+
export const ticketGetMilestonesNumber = (options) => (options.client ?? client).get({
|
|
7403
|
+
security: [{
|
|
7404
|
+
key: 'BearerAuth',
|
|
7405
|
+
scheme: 'bearer',
|
|
7406
|
+
type: 'http'
|
|
7407
|
+
}, {
|
|
7408
|
+
key: 'ApiKeyAuth',
|
|
7409
|
+
name: 'X-API-Key',
|
|
7410
|
+
type: 'apiKey'
|
|
7411
|
+
}],
|
|
7412
|
+
url: '/ticket/v1/milestones/{number}',
|
|
7413
|
+
...options
|
|
7414
|
+
});
|
|
7415
|
+
/**
|
|
7416
|
+
* Update milestones
|
|
7417
|
+
*
|
|
7418
|
+
* Update milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.
|
|
7419
|
+
*/
|
|
7420
|
+
export const ticketPatchMilestonesNumber = (options) => (options.client ?? client).patch({
|
|
7421
|
+
security: [{
|
|
7422
|
+
key: 'BearerAuth',
|
|
7423
|
+
scheme: 'bearer',
|
|
7424
|
+
type: 'http'
|
|
7425
|
+
}, {
|
|
7426
|
+
key: 'ApiKeyAuth',
|
|
7427
|
+
name: 'X-API-Key',
|
|
7428
|
+
type: 'apiKey'
|
|
7429
|
+
}],
|
|
7430
|
+
url: '/ticket/v1/milestones/{number}',
|
|
7431
|
+
...options,
|
|
7432
|
+
headers: {
|
|
7433
|
+
'Content-Type': 'application/json',
|
|
7434
|
+
...options.headers
|
|
7435
|
+
}
|
|
7436
|
+
});
|
|
7437
|
+
/**
|
|
7438
|
+
* List sub tickets
|
|
7439
|
+
*
|
|
7440
|
+
* List sub tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7441
|
+
*/
|
|
7442
|
+
export const ticketGetTicketsNumberSubTickets = (options) => (options.client ?? client).get({
|
|
7443
|
+
security: [{
|
|
7444
|
+
key: 'BearerAuth',
|
|
7445
|
+
scheme: 'bearer',
|
|
7446
|
+
type: 'http'
|
|
7447
|
+
}, {
|
|
7448
|
+
key: 'ApiKeyAuth',
|
|
7449
|
+
name: 'X-API-Key',
|
|
7450
|
+
type: 'apiKey'
|
|
7451
|
+
}],
|
|
7452
|
+
url: '/ticket/v1/tickets/{number}/sub_tickets',
|
|
7453
|
+
...options
|
|
7454
|
+
});
|
|
7455
|
+
/**
|
|
7456
|
+
* Create or add sub tickets
|
|
7457
|
+
*
|
|
7458
|
+
* Create or add sub tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7459
|
+
*/
|
|
7460
|
+
export const ticketPostTicketsNumberSubTickets = (options) => (options.client ?? client).post({
|
|
7461
|
+
security: [{
|
|
7462
|
+
key: 'BearerAuth',
|
|
7463
|
+
scheme: 'bearer',
|
|
7464
|
+
type: 'http'
|
|
7465
|
+
}, {
|
|
7466
|
+
key: 'ApiKeyAuth',
|
|
7467
|
+
name: 'X-API-Key',
|
|
7468
|
+
type: 'apiKey'
|
|
7469
|
+
}],
|
|
7470
|
+
url: '/ticket/v1/tickets/{number}/sub_tickets',
|
|
7471
|
+
...options,
|
|
7472
|
+
headers: {
|
|
7473
|
+
'Content-Type': 'application/json',
|
|
7474
|
+
...options.headers
|
|
7475
|
+
}
|
|
7476
|
+
});
|
|
7477
|
+
/**
|
|
7478
|
+
* Remove sub tickets
|
|
7479
|
+
*
|
|
7480
|
+
* Remove sub tickets within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7481
|
+
*/
|
|
7482
|
+
export const ticketDeleteTicketsNumberSubTicketsChild = (options) => (options.client ?? client).delete({
|
|
7483
|
+
security: [{
|
|
7484
|
+
key: 'BearerAuth',
|
|
7485
|
+
scheme: 'bearer',
|
|
7486
|
+
type: 'http'
|
|
7487
|
+
}, {
|
|
7488
|
+
key: 'ApiKeyAuth',
|
|
7489
|
+
name: 'X-API-Key',
|
|
7490
|
+
type: 'apiKey'
|
|
7491
|
+
}],
|
|
7492
|
+
url: '/ticket/v1/tickets/{number}/sub_tickets/{child}',
|
|
7493
|
+
...options
|
|
7494
|
+
});
|
|
7495
|
+
/**
|
|
7496
|
+
* List blocked by
|
|
7497
|
+
*
|
|
7498
|
+
* List blocked by within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7499
|
+
*/
|
|
7500
|
+
export const ticketGetTicketsNumberDependenciesBlockedBy = (options) => (options.client ?? client).get({
|
|
7501
|
+
security: [{
|
|
7502
|
+
key: 'BearerAuth',
|
|
7503
|
+
scheme: 'bearer',
|
|
7504
|
+
type: 'http'
|
|
7505
|
+
}, {
|
|
7506
|
+
key: 'ApiKeyAuth',
|
|
7507
|
+
name: 'X-API-Key',
|
|
7508
|
+
type: 'apiKey'
|
|
7509
|
+
}],
|
|
7510
|
+
url: '/ticket/v1/tickets/{number}/dependencies/blocked_by',
|
|
7511
|
+
...options
|
|
7512
|
+
});
|
|
7513
|
+
/**
|
|
7514
|
+
* Create or add blocked by
|
|
7515
|
+
*
|
|
7516
|
+
* Create or add blocked by within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7517
|
+
*/
|
|
7518
|
+
export const ticketPostTicketsNumberDependenciesBlockedBy = (options) => (options.client ?? client).post({
|
|
7519
|
+
security: [{
|
|
7520
|
+
key: 'BearerAuth',
|
|
7521
|
+
scheme: 'bearer',
|
|
7522
|
+
type: 'http'
|
|
7523
|
+
}, {
|
|
7524
|
+
key: 'ApiKeyAuth',
|
|
7525
|
+
name: 'X-API-Key',
|
|
7526
|
+
type: 'apiKey'
|
|
7527
|
+
}],
|
|
7528
|
+
url: '/ticket/v1/tickets/{number}/dependencies/blocked_by',
|
|
7529
|
+
...options,
|
|
7530
|
+
headers: {
|
|
7531
|
+
'Content-Type': 'application/json',
|
|
7532
|
+
...options.headers
|
|
7533
|
+
}
|
|
7534
|
+
});
|
|
7535
|
+
/**
|
|
7536
|
+
* Remove blocked by
|
|
7537
|
+
*
|
|
7538
|
+
* Remove blocked by within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7539
|
+
*/
|
|
7540
|
+
export const ticketDeleteTicketsNumberDependenciesBlockedByN = (options) => (options.client ?? client).delete({
|
|
7541
|
+
security: [{
|
|
7542
|
+
key: 'BearerAuth',
|
|
7543
|
+
scheme: 'bearer',
|
|
7544
|
+
type: 'http'
|
|
7545
|
+
}, {
|
|
7546
|
+
key: 'ApiKeyAuth',
|
|
7547
|
+
name: 'X-API-Key',
|
|
7548
|
+
type: 'apiKey'
|
|
7549
|
+
}],
|
|
7550
|
+
url: '/ticket/v1/tickets/{number}/dependencies/blocked_by/{n}',
|
|
7551
|
+
...options
|
|
7552
|
+
});
|
|
7553
|
+
/**
|
|
7554
|
+
* List relations
|
|
7555
|
+
*
|
|
7556
|
+
* List relations within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7557
|
+
*/
|
|
7558
|
+
export const ticketGetTicketsNumberRelations = (options) => (options.client ?? client).get({
|
|
7559
|
+
security: [{
|
|
7560
|
+
key: 'BearerAuth',
|
|
7561
|
+
scheme: 'bearer',
|
|
7562
|
+
type: 'http'
|
|
7563
|
+
}, {
|
|
7564
|
+
key: 'ApiKeyAuth',
|
|
7565
|
+
name: 'X-API-Key',
|
|
7566
|
+
type: 'apiKey'
|
|
7567
|
+
}],
|
|
7568
|
+
url: '/ticket/v1/tickets/{number}/relations',
|
|
7569
|
+
...options
|
|
7570
|
+
});
|
|
7571
|
+
/**
|
|
7572
|
+
* Create or add relations
|
|
7573
|
+
*
|
|
7574
|
+
* Create or add relations within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7575
|
+
*/
|
|
7576
|
+
export const ticketPostTicketsNumberRelations = (options) => (options.client ?? client).post({
|
|
7577
|
+
security: [{
|
|
7578
|
+
key: 'BearerAuth',
|
|
7579
|
+
scheme: 'bearer',
|
|
7580
|
+
type: 'http'
|
|
7581
|
+
}, {
|
|
7582
|
+
key: 'ApiKeyAuth',
|
|
7583
|
+
name: 'X-API-Key',
|
|
7584
|
+
type: 'apiKey'
|
|
7585
|
+
}],
|
|
7586
|
+
url: '/ticket/v1/tickets/{number}/relations',
|
|
7587
|
+
...options,
|
|
7588
|
+
headers: {
|
|
7589
|
+
'Content-Type': 'application/json',
|
|
7590
|
+
...options.headers
|
|
7591
|
+
}
|
|
7592
|
+
});
|
|
7593
|
+
/**
|
|
7594
|
+
* Remove relations
|
|
7595
|
+
*
|
|
7596
|
+
* Remove relations within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7597
|
+
*/
|
|
7598
|
+
export const ticketDeleteTicketsNumberRelationsN = (options) => (options.client ?? client).delete({
|
|
7599
|
+
security: [{
|
|
7600
|
+
key: 'BearerAuth',
|
|
7601
|
+
scheme: 'bearer',
|
|
7602
|
+
type: 'http'
|
|
7603
|
+
}, {
|
|
7604
|
+
key: 'ApiKeyAuth',
|
|
7605
|
+
name: 'X-API-Key',
|
|
7606
|
+
type: 'apiKey'
|
|
7607
|
+
}],
|
|
7608
|
+
url: '/ticket/v1/tickets/{number}/relations/{n}',
|
|
7609
|
+
...options
|
|
7610
|
+
});
|
|
7611
|
+
/**
|
|
7612
|
+
* List blocking
|
|
7613
|
+
*
|
|
7614
|
+
* List blocking within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7615
|
+
*/
|
|
7616
|
+
export const ticketGetTicketsNumberDependenciesBlocking = (options) => (options.client ?? client).get({
|
|
7617
|
+
security: [{
|
|
7618
|
+
key: 'BearerAuth',
|
|
7619
|
+
scheme: 'bearer',
|
|
7620
|
+
type: 'http'
|
|
7621
|
+
}, {
|
|
7622
|
+
key: 'ApiKeyAuth',
|
|
7623
|
+
name: 'X-API-Key',
|
|
7624
|
+
type: 'apiKey'
|
|
7625
|
+
}],
|
|
7626
|
+
url: '/ticket/v1/tickets/{number}/dependencies/blocking',
|
|
7627
|
+
...options
|
|
7628
|
+
});
|
|
7629
|
+
/**
|
|
7630
|
+
* List events
|
|
7631
|
+
*
|
|
7632
|
+
* List events within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7633
|
+
*/
|
|
7634
|
+
export const ticketGetTicketsNumberEvents = (options) => (options.client ?? client).get({
|
|
7635
|
+
security: [{
|
|
7636
|
+
key: 'BearerAuth',
|
|
7637
|
+
scheme: 'bearer',
|
|
7638
|
+
type: 'http'
|
|
7639
|
+
}, {
|
|
7640
|
+
key: 'ApiKeyAuth',
|
|
7641
|
+
name: 'X-API-Key',
|
|
7642
|
+
type: 'apiKey'
|
|
7643
|
+
}],
|
|
7644
|
+
url: '/ticket/v1/tickets/{number}/events',
|
|
7645
|
+
...options
|
|
7646
|
+
});
|
|
7647
|
+
/**
|
|
7648
|
+
* List reactions
|
|
7649
|
+
*
|
|
7650
|
+
* List reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7651
|
+
*/
|
|
7652
|
+
export const ticketGetTicketsNumberReactions = (options) => (options.client ?? client).get({
|
|
7653
|
+
security: [{
|
|
7654
|
+
key: 'BearerAuth',
|
|
7655
|
+
scheme: 'bearer',
|
|
7656
|
+
type: 'http'
|
|
7657
|
+
}, {
|
|
7658
|
+
key: 'ApiKeyAuth',
|
|
7659
|
+
name: 'X-API-Key',
|
|
7660
|
+
type: 'apiKey'
|
|
7661
|
+
}],
|
|
7662
|
+
url: '/ticket/v1/tickets/{number}/reactions',
|
|
7663
|
+
...options
|
|
7664
|
+
});
|
|
7665
|
+
/**
|
|
7666
|
+
* Create or add reactions
|
|
7667
|
+
*
|
|
7668
|
+
* Create or add reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7669
|
+
*/
|
|
7670
|
+
export const ticketPostTicketsNumberReactions = (options) => (options.client ?? client).post({
|
|
7671
|
+
security: [{
|
|
7672
|
+
key: 'BearerAuth',
|
|
7673
|
+
scheme: 'bearer',
|
|
7674
|
+
type: 'http'
|
|
7675
|
+
}, {
|
|
7676
|
+
key: 'ApiKeyAuth',
|
|
7677
|
+
name: 'X-API-Key',
|
|
7678
|
+
type: 'apiKey'
|
|
7679
|
+
}],
|
|
7680
|
+
url: '/ticket/v1/tickets/{number}/reactions',
|
|
7681
|
+
...options,
|
|
7682
|
+
headers: {
|
|
7683
|
+
'Content-Type': 'application/json',
|
|
7684
|
+
...options.headers
|
|
7685
|
+
}
|
|
7686
|
+
});
|
|
7687
|
+
/**
|
|
7688
|
+
* Remove reactions
|
|
7689
|
+
*
|
|
7690
|
+
* Remove reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7691
|
+
*/
|
|
7692
|
+
export const ticketDeleteTicketsNumberReactionsContent = (options) => (options.client ?? client).delete({
|
|
7693
|
+
security: [{
|
|
7694
|
+
key: 'BearerAuth',
|
|
7695
|
+
scheme: 'bearer',
|
|
7696
|
+
type: 'http'
|
|
7697
|
+
}, {
|
|
7698
|
+
key: 'ApiKeyAuth',
|
|
7699
|
+
name: 'X-API-Key',
|
|
7700
|
+
type: 'apiKey'
|
|
7701
|
+
}],
|
|
7702
|
+
url: '/ticket/v1/tickets/{number}/reactions/{content}',
|
|
7703
|
+
...options
|
|
7704
|
+
});
|
|
7705
|
+
/**
|
|
7706
|
+
* List reactions
|
|
7707
|
+
*
|
|
7708
|
+
* List reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7709
|
+
*/
|
|
7710
|
+
export const ticketGetCommentsIdReactions = (options) => (options.client ?? client).get({
|
|
7711
|
+
security: [{
|
|
7712
|
+
key: 'BearerAuth',
|
|
7713
|
+
scheme: 'bearer',
|
|
7714
|
+
type: 'http'
|
|
7715
|
+
}, {
|
|
7716
|
+
key: 'ApiKeyAuth',
|
|
7717
|
+
name: 'X-API-Key',
|
|
7718
|
+
type: 'apiKey'
|
|
7719
|
+
}],
|
|
7720
|
+
url: '/ticket/v1/comments/{id}/reactions',
|
|
7721
|
+
...options
|
|
7722
|
+
});
|
|
7723
|
+
/**
|
|
7724
|
+
* Create or add reactions
|
|
7725
|
+
*
|
|
7726
|
+
* Create or add reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7727
|
+
*/
|
|
7728
|
+
export const ticketPostCommentsIdReactions = (options) => (options.client ?? client).post({
|
|
7729
|
+
security: [{
|
|
7730
|
+
key: 'BearerAuth',
|
|
7731
|
+
scheme: 'bearer',
|
|
7732
|
+
type: 'http'
|
|
7733
|
+
}, {
|
|
7734
|
+
key: 'ApiKeyAuth',
|
|
7735
|
+
name: 'X-API-Key',
|
|
7736
|
+
type: 'apiKey'
|
|
7737
|
+
}],
|
|
7738
|
+
url: '/ticket/v1/comments/{id}/reactions',
|
|
7739
|
+
...options,
|
|
7740
|
+
headers: {
|
|
7741
|
+
'Content-Type': 'application/json',
|
|
7742
|
+
...options.headers
|
|
7743
|
+
}
|
|
7744
|
+
});
|
|
7745
|
+
/**
|
|
7746
|
+
* Remove reactions
|
|
7747
|
+
*
|
|
7748
|
+
* Remove reactions within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.
|
|
7749
|
+
*/
|
|
7750
|
+
export const ticketDeleteCommentsIdReactionsContent = (options) => (options.client ?? client).delete({
|
|
7751
|
+
security: [{
|
|
7752
|
+
key: 'BearerAuth',
|
|
7753
|
+
scheme: 'bearer',
|
|
7754
|
+
type: 'http'
|
|
7755
|
+
}, {
|
|
7756
|
+
key: 'ApiKeyAuth',
|
|
7757
|
+
name: 'X-API-Key',
|
|
7758
|
+
type: 'apiKey'
|
|
7759
|
+
}],
|
|
7760
|
+
url: '/ticket/v1/comments/{id}/reactions/{content}',
|
|
7761
|
+
...options
|
|
7762
|
+
});
|
|
7763
|
+
/**
|
|
7764
|
+
* List activity
|
|
7765
|
+
*
|
|
7766
|
+
* List activity within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7767
|
+
*/
|
|
7768
|
+
export const ticketGetActivity = (options) => (options?.client ?? client).get({
|
|
7769
|
+
security: [{
|
|
7770
|
+
key: 'BearerAuth',
|
|
7771
|
+
scheme: 'bearer',
|
|
7772
|
+
type: 'http'
|
|
7773
|
+
}, {
|
|
7774
|
+
key: 'ApiKeyAuth',
|
|
7775
|
+
name: 'X-API-Key',
|
|
7776
|
+
type: 'apiKey'
|
|
7777
|
+
}],
|
|
7778
|
+
url: '/ticket/v1/activity',
|
|
7779
|
+
...options
|
|
7780
|
+
});
|
|
7781
|
+
/**
|
|
7782
|
+
* List repositories
|
|
7783
|
+
*
|
|
7784
|
+
* List repositories within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
|
|
7785
|
+
*/
|
|
7786
|
+
export const ticketGetRepositories = (options) => (options?.client ?? client).get({
|
|
7787
|
+
security: [{
|
|
7788
|
+
key: 'BearerAuth',
|
|
7789
|
+
scheme: 'bearer',
|
|
7790
|
+
type: 'http'
|
|
7791
|
+
}, {
|
|
7792
|
+
key: 'ApiKeyAuth',
|
|
7793
|
+
name: 'X-API-Key',
|
|
7794
|
+
type: 'apiKey'
|
|
7795
|
+
}],
|
|
7796
|
+
url: '/ticket/v1/repositories',
|
|
7797
|
+
...options
|
|
7798
|
+
});
|