@deepraxis/sdk 0.1.0-dev.4cbfc1f → 0.1.0-dev.594f410

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.
@@ -1,6 +1,24 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
  import { formDataBodySerializer } from './client/index.js';
3
3
  import { client } from './client.gen.js';
4
+ /**
5
+ * Apply Agent Version
6
+ *
7
+ * Apply a version from agents.versions.list by its version number. This idempotent operation changes active_version without creating a version; existing sessions and tokens keep their version. The response is the latest saved agent with its current active_version. Missing versions return 404 Agent version not found; archived agents return 409 Agent is archived. For example, POST /agent/v1/agents/{agent_id}/versions/2/apply with no body.
8
+ */
9
+ export const applyAgentVersion = (options) => (options.client ?? client).post({
10
+ security: [{
11
+ key: 'BearerAuth',
12
+ scheme: 'bearer',
13
+ type: 'http'
14
+ }, {
15
+ key: 'ApiKeyAuth',
16
+ name: 'X-API-Key',
17
+ type: 'apiKey'
18
+ }],
19
+ url: '/agent/v1/agents/{agent_id}/versions/{version}/apply',
20
+ ...options
21
+ });
4
22
  /**
5
23
  * Unarchive Agent
6
24
  *
@@ -497,7 +515,7 @@ export const computersFilesContent = (options) => (options.client ?? client).get
497
515
  *
498
516
  * Own-face extension: Managed Agents has no persistent Computer connection. Returns the public SDK sandbox_id, envd_access_token and template_id, plus the machine tier the computer is on now (light or heavy) and the lease that keeps it there (lease_id, lease_expires_at; lease_id is null when no lease exists). Keep the lease while the connection stays open: renew it about every 20 seconds (POST .../leases/{lease_id}/renew) and release it on close (DELETE .../leases/{lease_id}). An unrenewed lease simply expires, and the full machine is reclaimed only after that. Archived computers remain accessible; foreign or absent computers return 404. Never cache credentials.
499
517
  *
500
- * Connect to a computer with a caller-held lease. Omit the body or send {} to request light: the lightweight shell, or the heavy instance while it is running. Send {"need":"heavy"} to request full Linux for interactive programs; files are synchronized before the heavy connection is returned with tier heavy. Heavy running time counts toward the daily budget in seconds. Renew the lease while using the connection and release it with DELETE when finished. If the daily budget is exhausted, 429 COMPUTER_BUDGET_EXHAUSTED allows you to continue with need light.
518
+ * Connect to a computer with a caller-held lease. Omit the body or send {} to request light: the lightweight shell, or the heavy instance while it is running. Send {"need":"heavy"} to request full Linux for interactive programs; files are synchronized before the heavy connection is returned with tier heavy. Renew the lease while using the connection and release it with DELETE when finished.
501
519
  */
502
520
  export const connectComputer = (options) => (options.client ?? client).post({
503
521
  security: [{
@@ -1083,7 +1101,7 @@ export const fileListFiles = (options) => (options?.client ?? client).get({
1083
1101
  /**
1084
1102
  * Upload file
1085
1103
  *
1086
- * Upload a file to reuse in conversations or attach to a knowledge base. Unlike OpenAI Files, uploads must be nonempty and at most 104857600 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. OpenAI Uploads chunking is not supported. 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.
1104
+ * 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
1105
  */
1088
1106
  export const fileCreateFile = (options) => (options.client ?? client).post({
1089
1107
  ...formDataBodySerializer,
@@ -1124,7 +1142,7 @@ export const fileDeleteFile = (options) => (options.client ?? client).delete({
1124
1142
  /**
1125
1143
  * Retrieve file
1126
1144
  *
1127
- * Retrieve metadata for a live file owned by your tenant. Use its file_dp_ ID from upload or list. Missing, deleted, expired and other-tenant files return 404; use the content endpoint to download the bytes.
1145
+ * 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
1146
  */
1129
1147
  export const fileRetrieveFile = (options) => (options.client ?? client).get({
1130
1148
  security: [{
@@ -1142,7 +1160,7 @@ export const fileRetrieveFile = (options) => (options.client ?? client).get({
1142
1160
  /**
1143
1161
  * Retrieve file content
1144
1162
  *
1145
- * Download the original bytes of a live file owned by your tenant. Supply its file_dp_ 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.
1163
+ * 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
1164
  */
1147
1165
  export const fileRetrieveFileContent = (options) => (options.client ?? client).get({
1148
1166
  security: [{
@@ -1157,6 +1175,75 @@ export const fileRetrieveFileContent = (options) => (options.client ?? client).g
1157
1175
  url: '/file/v1/files/{file_id}/content',
1158
1176
  ...options
1159
1177
  });
1178
+ /**
1179
+ * Create an upload
1180
+ *
1181
+ * 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.
1182
+ */
1183
+ export const fileCreateUpload = (options) => (options.client ?? client).post({
1184
+ security: [{
1185
+ key: 'BearerAuth',
1186
+ scheme: 'bearer',
1187
+ type: 'http'
1188
+ }],
1189
+ url: '/file/v1/uploads',
1190
+ ...options,
1191
+ headers: {
1192
+ 'Content-Type': 'application/json',
1193
+ ...options.headers
1194
+ }
1195
+ });
1196
+ /**
1197
+ * Add an upload part
1198
+ *
1199
+ * 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.
1200
+ */
1201
+ export const fileAddUploadPart = (options) => (options.client ?? client).post({
1202
+ ...formDataBodySerializer,
1203
+ security: [{
1204
+ key: 'BearerAuth',
1205
+ scheme: 'bearer',
1206
+ type: 'http'
1207
+ }],
1208
+ url: '/file/v1/uploads/{upload_id}/parts',
1209
+ ...options,
1210
+ headers: {
1211
+ 'Content-Type': null,
1212
+ ...options.headers
1213
+ }
1214
+ });
1215
+ /**
1216
+ * Complete an upload
1217
+ *
1218
+ * 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.
1219
+ */
1220
+ export const fileCompleteUpload = (options) => (options.client ?? client).post({
1221
+ security: [{
1222
+ key: 'BearerAuth',
1223
+ scheme: 'bearer',
1224
+ type: 'http'
1225
+ }],
1226
+ url: '/file/v1/uploads/{upload_id}/complete',
1227
+ ...options,
1228
+ headers: {
1229
+ 'Content-Type': 'application/json',
1230
+ ...options.headers
1231
+ }
1232
+ });
1233
+ /**
1234
+ * Cancel an upload
1235
+ *
1236
+ * 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.
1237
+ */
1238
+ export const fileCancelUpload = (options) => (options.client ?? client).post({
1239
+ security: [{
1240
+ key: 'BearerAuth',
1241
+ scheme: 'bearer',
1242
+ type: 'http'
1243
+ }],
1244
+ url: '/file/v1/uploads/{upload_id}/cancel',
1245
+ ...options
1246
+ });
1160
1247
  /**
1161
1248
  * Health Check
1162
1249
  *
@@ -2432,7 +2519,7 @@ export const agentsRetrieve = (options) => (options.client ?? client).get({
2432
2519
  /**
2433
2520
  * Update agent
2434
2521
  *
2435
- * Update an agent. Send the current version in the body for optimistic concurrency: a stale version returns 409, and an update that changes nothing keeps the version number. Any real change saves a new version; existing sessions keep the version they were created with. Omitted fields keep their value. multiagent takes null or a coordinator roster; subagent_model keeps its value when omitted and is cleared by null. Archived agents cannot be updated. Unlike Anthropic Managed Agents, nonempty skills attachments return 400; use the native skill tool for available runtime skills.
2522
+ * Update an agent. Send the current version in the body for optimistic concurrency: a stale version returns 409, and an update that changes nothing keeps the version number. Any real change saves a new version. apply defaults to true and moves active_version to the new version, or to the latest when configuration is unchanged; apply false saves without applying. version_note optionally records up to 280 characters on a newly created version. Existing sessions and tokens keep their version. Omitted fields keep their value. multiagent takes null or a coordinator roster; subagent_model keeps its value when omitted and is cleared by null. Archived agents cannot be updated. Unlike Anthropic Managed Agents, nonempty skills attachments return 400; use the native skill tool for available runtime skills.
2436
2523
  */
2437
2524
  export const agentsUpdate = (options) => (options.client ?? client).post({
2438
2525
  security: [{
@@ -2508,7 +2595,7 @@ export const sessionsList = (options) => (options?.client ?? client).get({
2508
2595
  /**
2509
2596
  * Create session
2510
2597
  *
2511
- * Create a session: one conversation with an agent, running on a machine. 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 environment_id for a sandbox recipe. 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.
2598
+ * Create a session: one conversation with an agent. Pass agent as an agent id (active_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
2599
  */
2513
2600
  export const sessionsCreate = (options) => (options.client ?? client).post({
2514
2601
  security: [{
@@ -5884,7 +5971,7 @@ export const getSandboxV1Sandboxes = (options) => (options?.client ?? client).ge
5884
5971
  /**
5885
5972
  * Create sandbox (v2)
5886
5973
  *
5887
- * Start an isolated environment using a templateID from templates.list, then retain sandboxID for lifecycle calls. Unlike E2B, templateID resolves to your ready Environment or a public Base; omit it to use the default base template (`base`), as the E2B SDK does. timeout is seconds from creation and defaults to 300. envVars supplies environment variables and metadata stores your string labels. All system communication is secured; use the returned envdAccessToken for files and commands through the envd data plane, not the management methods. Never print that token.
5974
+ * Create a sandbox from the template. All system communication with the sandbox is secured.
5888
5975
  */
5889
5976
  export const postSandboxV1Sandboxes = (options) => (options.client ?? client).post({
5890
5977
  security: [
@@ -5925,7 +6012,7 @@ export const postSandboxV1Sandboxes = (options) => (options.client ?? client).po
5925
6012
  /**
5926
6013
  * Sandbox metrics
5927
6014
  *
5928
- * Read CPU, memory and disk usage over the requested interval; start and end are Unix seconds. Unlike E2B, light sandboxes do not provide metrics; check the returned capabilities before requesting them.
6015
+ * 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
6016
  */
5930
6017
  export const getSandboxV1SandboxesBySandboxIdMetrics = (options) => (options.client ?? client).get({
5931
6018
  security: [
@@ -5962,7 +6049,7 @@ export const getSandboxV1SandboxesBySandboxIdMetrics = (options) => (options.cli
5962
6049
  /**
5963
6050
  * Pause sandbox
5964
6051
  *
5965
- * Suspend a running sandbox for later connection; use delete to discard it instead. Unlike E2B, light sandboxes preserve disk rather than memory, and persistent sandboxes can resume on data-plane traffic even when autoResume is false. Inspect paused state with the management retrieve operation to avoid waking the sandbox. Explicitly ephemeral sandboxes cannot pause. memory defaults to true, but only a memory-capable sandbox preserves running processes; memory=false saves disk state and resumes with a cold boot. Success returns 204; connect resumes the saved sandbox.
6052
+ * 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
6053
  */
5967
6054
  export const postSandboxV1SandboxesBySandboxIdPause = (options) => (options.client ?? client).post({
5968
6055
  security: [
@@ -6044,7 +6131,7 @@ export const postSandboxV1SandboxesBySandboxIdTimeout = (options) => (options.cl
6044
6131
  /**
6045
6132
  * Connect sandbox (v2)
6046
6133
  *
6047
- * Reconnect to an existing sandbox and resume it if paused. The optional timeout is seconds from now and defaults to 300; a later existing deadline is preserved. A running sandbox returns 200 and a resumed sandbox returns 201. Read sandboxID, domain and envdAccessToken from the response for subsequent data-plane access; never treat connecting as executing a command.
6134
+ * 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
6135
  */
6049
6136
  export const postSandboxV1SandboxesBySandboxIdConnect = (options) => (options.client ?? client).post({
6050
6137
  security: [
@@ -6085,7 +6172,7 @@ export const postSandboxV1SandboxesBySandboxIdConnect = (options) => (options.cl
6085
6172
  /**
6086
6173
  * List templates (v2)
6087
6174
  *
6088
- * Choose a templateID before creating a sandbox. Unlike E2B, this catalog lists your ready Environments and public Bases; use a returned ID or alias; `base` is the default template that create uses when templateID is omitted. Page through results using nextToken.
6175
+ * 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
6176
  */
6090
6177
  export const getSandboxV1Templates = (options) => (options?.client ?? client).get({
6091
6178
  security: [
@@ -6951,3 +7038,779 @@ export const vaultConnectContinue = (options) => (options.client ?? client).post
6951
7038
  * 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
7039
  */
6953
7040
  export const vaultConnectDeny = (options) => (options.client ?? client).post({ url: '/vault/v1/connect/{token}/deny', ...options });
7041
+ /**
7042
+ * List tickets
7043
+ *
7044
+ * 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.
7045
+ */
7046
+ export const ticketGetTickets = (options) => (options?.client ?? client).get({
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
+ });
7059
+ /**
7060
+ * Create or add tickets
7061
+ *
7062
+ * 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.
7063
+ */
7064
+ export const ticketPostTickets = (options) => (options.client ?? client).post({
7065
+ security: [{
7066
+ key: 'BearerAuth',
7067
+ scheme: 'bearer',
7068
+ type: 'http'
7069
+ }, {
7070
+ key: 'ApiKeyAuth',
7071
+ name: 'X-API-Key',
7072
+ type: 'apiKey'
7073
+ }],
7074
+ url: '/ticket/v1/tickets',
7075
+ ...options,
7076
+ headers: {
7077
+ 'Content-Type': 'application/json',
7078
+ ...options.headers
7079
+ }
7080
+ });
7081
+ /**
7082
+ * Read tickets
7083
+ *
7084
+ * 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.
7085
+ */
7086
+ export const ticketGetTicketsNumber = (options) => (options.client ?? client).get({
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
+ });
7099
+ /**
7100
+ * Update tickets
7101
+ *
7102
+ * 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.
7103
+ */
7104
+ export const ticketPatchTicketsNumber = (options) => (options.client ?? client).patch({
7105
+ security: [{
7106
+ key: 'BearerAuth',
7107
+ scheme: 'bearer',
7108
+ type: 'http'
7109
+ }, {
7110
+ key: 'ApiKeyAuth',
7111
+ name: 'X-API-Key',
7112
+ type: 'apiKey'
7113
+ }],
7114
+ url: '/ticket/v1/tickets/{number}',
7115
+ ...options,
7116
+ headers: {
7117
+ 'Content-Type': 'application/json',
7118
+ ...options.headers
7119
+ }
7120
+ });
7121
+ /**
7122
+ * Remove lock
7123
+ *
7124
+ * 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.
7125
+ */
7126
+ export const ticketDeleteTicketsNumberLock = (options) => (options.client ?? client).delete({
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
+ });
7139
+ /**
7140
+ * Update lock
7141
+ *
7142
+ * 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.
7143
+ */
7144
+ export const ticketPutTicketsNumberLock = (options) => (options.client ?? client).put({
7145
+ security: [{
7146
+ key: 'BearerAuth',
7147
+ scheme: 'bearer',
7148
+ type: 'http'
7149
+ }, {
7150
+ key: 'ApiKeyAuth',
7151
+ name: 'X-API-Key',
7152
+ type: 'apiKey'
7153
+ }],
7154
+ url: '/ticket/v1/tickets/{number}/lock',
7155
+ ...options,
7156
+ headers: {
7157
+ 'Content-Type': 'application/json',
7158
+ ...options.headers
7159
+ }
7160
+ });
7161
+ /**
7162
+ * List comments
7163
+ *
7164
+ * 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.
7165
+ */
7166
+ export const ticketGetTicketsNumberComments = (options) => (options.client ?? client).get({
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
+ });
7179
+ /**
7180
+ * Create or add comments
7181
+ *
7182
+ * 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.
7183
+ */
7184
+ export const ticketPostTicketsNumberComments = (options) => (options.client ?? client).post({
7185
+ security: [{
7186
+ key: 'BearerAuth',
7187
+ scheme: 'bearer',
7188
+ type: 'http'
7189
+ }, {
7190
+ key: 'ApiKeyAuth',
7191
+ name: 'X-API-Key',
7192
+ type: 'apiKey'
7193
+ }],
7194
+ url: '/ticket/v1/tickets/{number}/comments',
7195
+ ...options,
7196
+ headers: {
7197
+ 'Content-Type': 'application/json',
7198
+ ...options.headers
7199
+ }
7200
+ });
7201
+ /**
7202
+ * Remove comments
7203
+ *
7204
+ * 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.
7205
+ */
7206
+ export const ticketDeleteCommentsId = (options) => (options.client ?? client).delete({
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
+ * Read comments
7221
+ *
7222
+ * 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.
7223
+ */
7224
+ export const ticketGetCommentsId = (options) => (options.client ?? client).get({
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
+ });
7237
+ /**
7238
+ * Update comments
7239
+ *
7240
+ * 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.
7241
+ */
7242
+ export const ticketPatchCommentsId = (options) => (options.client ?? client).patch({
7243
+ security: [{
7244
+ key: 'BearerAuth',
7245
+ scheme: 'bearer',
7246
+ type: 'http'
7247
+ }, {
7248
+ key: 'ApiKeyAuth',
7249
+ name: 'X-API-Key',
7250
+ type: 'apiKey'
7251
+ }],
7252
+ url: '/ticket/v1/comments/{id}',
7253
+ ...options,
7254
+ headers: {
7255
+ 'Content-Type': 'application/json',
7256
+ ...options.headers
7257
+ }
7258
+ });
7259
+ /**
7260
+ * List labels
7261
+ *
7262
+ * 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.
7263
+ */
7264
+ export const ticketGetLabels = (options) => (options?.client ?? client).get({
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
+ });
7277
+ /**
7278
+ * Create or add labels
7279
+ *
7280
+ * 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.
7281
+ */
7282
+ export const ticketPostLabels = (options) => (options.client ?? client).post({
7283
+ security: [{
7284
+ key: 'BearerAuth',
7285
+ scheme: 'bearer',
7286
+ type: 'http'
7287
+ }, {
7288
+ key: 'ApiKeyAuth',
7289
+ name: 'X-API-Key',
7290
+ type: 'apiKey'
7291
+ }],
7292
+ url: '/ticket/v1/labels',
7293
+ ...options,
7294
+ headers: {
7295
+ 'Content-Type': 'application/json',
7296
+ ...options.headers
7297
+ }
7298
+ });
7299
+ /**
7300
+ * Remove labels
7301
+ *
7302
+ * 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.
7303
+ */
7304
+ export const ticketDeleteLabelsName = (options) => (options.client ?? client).delete({
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
+ });
7317
+ /**
7318
+ * Update labels
7319
+ *
7320
+ * 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.
7321
+ */
7322
+ export const ticketPatchLabelsName = (options) => (options.client ?? client).patch({
7323
+ security: [{
7324
+ key: 'BearerAuth',
7325
+ scheme: 'bearer',
7326
+ type: 'http'
7327
+ }, {
7328
+ key: 'ApiKeyAuth',
7329
+ name: 'X-API-Key',
7330
+ type: 'apiKey'
7331
+ }],
7332
+ url: '/ticket/v1/labels/{name}',
7333
+ ...options,
7334
+ headers: {
7335
+ 'Content-Type': 'application/json',
7336
+ ...options.headers
7337
+ }
7338
+ });
7339
+ /**
7340
+ * Read types
7341
+ *
7342
+ * 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.
7343
+ */
7344
+ export const ticketGetTypes = (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/types',
7355
+ ...options
7356
+ });
7357
+ /**
7358
+ * List milestones
7359
+ *
7360
+ * 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.
7361
+ */
7362
+ export const ticketGetMilestones = (options) => (options?.client ?? client).get({
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
+ });
7375
+ /**
7376
+ * Create or add milestones
7377
+ *
7378
+ * 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.
7379
+ */
7380
+ export const ticketPostMilestones = (options) => (options.client ?? client).post({
7381
+ security: [{
7382
+ key: 'BearerAuth',
7383
+ scheme: 'bearer',
7384
+ type: 'http'
7385
+ }, {
7386
+ key: 'ApiKeyAuth',
7387
+ name: 'X-API-Key',
7388
+ type: 'apiKey'
7389
+ }],
7390
+ url: '/ticket/v1/milestones',
7391
+ ...options,
7392
+ headers: {
7393
+ 'Content-Type': 'application/json',
7394
+ ...options.headers
7395
+ }
7396
+ });
7397
+ /**
7398
+ * Remove milestones
7399
+ *
7400
+ * 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.
7401
+ */
7402
+ export const ticketDeleteMilestonesNumber = (options) => (options.client ?? client).delete({
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
+ * Read milestones
7417
+ *
7418
+ * 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.
7419
+ */
7420
+ export const ticketGetMilestonesNumber = (options) => (options.client ?? client).get({
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
+ });
7433
+ /**
7434
+ * Update milestones
7435
+ *
7436
+ * 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.
7437
+ */
7438
+ export const ticketPatchMilestonesNumber = (options) => (options.client ?? client).patch({
7439
+ security: [{
7440
+ key: 'BearerAuth',
7441
+ scheme: 'bearer',
7442
+ type: 'http'
7443
+ }, {
7444
+ key: 'ApiKeyAuth',
7445
+ name: 'X-API-Key',
7446
+ type: 'apiKey'
7447
+ }],
7448
+ url: '/ticket/v1/milestones/{number}',
7449
+ ...options,
7450
+ headers: {
7451
+ 'Content-Type': 'application/json',
7452
+ ...options.headers
7453
+ }
7454
+ });
7455
+ /**
7456
+ * List sub tickets
7457
+ *
7458
+ * 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.
7459
+ */
7460
+ export const ticketGetTicketsNumberSubTickets = (options) => (options.client ?? client).get({
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
+ });
7473
+ /**
7474
+ * Create or add sub tickets
7475
+ *
7476
+ * 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.
7477
+ */
7478
+ export const ticketPostTicketsNumberSubTickets = (options) => (options.client ?? client).post({
7479
+ security: [{
7480
+ key: 'BearerAuth',
7481
+ scheme: 'bearer',
7482
+ type: 'http'
7483
+ }, {
7484
+ key: 'ApiKeyAuth',
7485
+ name: 'X-API-Key',
7486
+ type: 'apiKey'
7487
+ }],
7488
+ url: '/ticket/v1/tickets/{number}/sub_tickets',
7489
+ ...options,
7490
+ headers: {
7491
+ 'Content-Type': 'application/json',
7492
+ ...options.headers
7493
+ }
7494
+ });
7495
+ /**
7496
+ * Remove sub tickets
7497
+ *
7498
+ * 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.
7499
+ */
7500
+ export const ticketDeleteTicketsNumberSubTicketsChild = (options) => (options.client ?? client).delete({
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}/sub_tickets/{child}',
7511
+ ...options
7512
+ });
7513
+ /**
7514
+ * List blocked by
7515
+ *
7516
+ * 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.
7517
+ */
7518
+ export const ticketGetTicketsNumberDependenciesBlockedBy = (options) => (options.client ?? client).get({
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
+ });
7531
+ /**
7532
+ * Create or add blocked by
7533
+ *
7534
+ * 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.
7535
+ */
7536
+ export const ticketPostTicketsNumberDependenciesBlockedBy = (options) => (options.client ?? client).post({
7537
+ security: [{
7538
+ key: 'BearerAuth',
7539
+ scheme: 'bearer',
7540
+ type: 'http'
7541
+ }, {
7542
+ key: 'ApiKeyAuth',
7543
+ name: 'X-API-Key',
7544
+ type: 'apiKey'
7545
+ }],
7546
+ url: '/ticket/v1/tickets/{number}/dependencies/blocked_by',
7547
+ ...options,
7548
+ headers: {
7549
+ 'Content-Type': 'application/json',
7550
+ ...options.headers
7551
+ }
7552
+ });
7553
+ /**
7554
+ * Remove blocked by
7555
+ *
7556
+ * 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.
7557
+ */
7558
+ export const ticketDeleteTicketsNumberDependenciesBlockedByN = (options) => (options.client ?? client).delete({
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}/dependencies/blocked_by/{n}',
7569
+ ...options
7570
+ });
7571
+ /**
7572
+ * List relations
7573
+ *
7574
+ * 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.
7575
+ */
7576
+ export const ticketGetTicketsNumberRelations = (options) => (options.client ?? client).get({
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
+ });
7589
+ /**
7590
+ * Create or add relations
7591
+ *
7592
+ * 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.
7593
+ */
7594
+ export const ticketPostTicketsNumberRelations = (options) => (options.client ?? client).post({
7595
+ security: [{
7596
+ key: 'BearerAuth',
7597
+ scheme: 'bearer',
7598
+ type: 'http'
7599
+ }, {
7600
+ key: 'ApiKeyAuth',
7601
+ name: 'X-API-Key',
7602
+ type: 'apiKey'
7603
+ }],
7604
+ url: '/ticket/v1/tickets/{number}/relations',
7605
+ ...options,
7606
+ headers: {
7607
+ 'Content-Type': 'application/json',
7608
+ ...options.headers
7609
+ }
7610
+ });
7611
+ /**
7612
+ * Remove relations
7613
+ *
7614
+ * 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.
7615
+ */
7616
+ export const ticketDeleteTicketsNumberRelationsN = (options) => (options.client ?? client).delete({
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}/relations/{n}',
7627
+ ...options
7628
+ });
7629
+ /**
7630
+ * List blocking
7631
+ *
7632
+ * 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.
7633
+ */
7634
+ export const ticketGetTicketsNumberDependenciesBlocking = (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}/dependencies/blocking',
7645
+ ...options
7646
+ });
7647
+ /**
7648
+ * List events
7649
+ *
7650
+ * 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.
7651
+ */
7652
+ export const ticketGetTicketsNumberEvents = (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}/events',
7663
+ ...options
7664
+ });
7665
+ /**
7666
+ * List reactions
7667
+ *
7668
+ * 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.
7669
+ */
7670
+ export const ticketGetTicketsNumberReactions = (options) => (options.client ?? client).get({
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
+ });
7683
+ /**
7684
+ * Create or add reactions
7685
+ *
7686
+ * 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.
7687
+ */
7688
+ export const ticketPostTicketsNumberReactions = (options) => (options.client ?? client).post({
7689
+ security: [{
7690
+ key: 'BearerAuth',
7691
+ scheme: 'bearer',
7692
+ type: 'http'
7693
+ }, {
7694
+ key: 'ApiKeyAuth',
7695
+ name: 'X-API-Key',
7696
+ type: 'apiKey'
7697
+ }],
7698
+ url: '/ticket/v1/tickets/{number}/reactions',
7699
+ ...options,
7700
+ headers: {
7701
+ 'Content-Type': 'application/json',
7702
+ ...options.headers
7703
+ }
7704
+ });
7705
+ /**
7706
+ * Remove reactions
7707
+ *
7708
+ * 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.
7709
+ */
7710
+ export const ticketDeleteTicketsNumberReactionsContent = (options) => (options.client ?? client).delete({
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/tickets/{number}/reactions/{content}',
7721
+ ...options
7722
+ });
7723
+ /**
7724
+ * List reactions
7725
+ *
7726
+ * 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.
7727
+ */
7728
+ export const ticketGetCommentsIdReactions = (options) => (options.client ?? client).get({
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
+ });
7741
+ /**
7742
+ * Create or add reactions
7743
+ *
7744
+ * 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.
7745
+ */
7746
+ export const ticketPostCommentsIdReactions = (options) => (options.client ?? client).post({
7747
+ security: [{
7748
+ key: 'BearerAuth',
7749
+ scheme: 'bearer',
7750
+ type: 'http'
7751
+ }, {
7752
+ key: 'ApiKeyAuth',
7753
+ name: 'X-API-Key',
7754
+ type: 'apiKey'
7755
+ }],
7756
+ url: '/ticket/v1/comments/{id}/reactions',
7757
+ ...options,
7758
+ headers: {
7759
+ 'Content-Type': 'application/json',
7760
+ ...options.headers
7761
+ }
7762
+ });
7763
+ /**
7764
+ * Remove reactions
7765
+ *
7766
+ * 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.
7767
+ */
7768
+ export const ticketDeleteCommentsIdReactionsContent = (options) => (options.client ?? client).delete({
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/comments/{id}/reactions/{content}',
7779
+ ...options
7780
+ });
7781
+ /**
7782
+ * List activity
7783
+ *
7784
+ * 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.
7785
+ */
7786
+ export const ticketGetActivity = (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/activity',
7797
+ ...options
7798
+ });
7799
+ /**
7800
+ * List repositories
7801
+ *
7802
+ * 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.
7803
+ */
7804
+ export const ticketGetRepositories = (options) => (options?.client ?? client).get({
7805
+ security: [{
7806
+ key: 'BearerAuth',
7807
+ scheme: 'bearer',
7808
+ type: 'http'
7809
+ }, {
7810
+ key: 'ApiKeyAuth',
7811
+ name: 'X-API-Key',
7812
+ type: 'apiKey'
7813
+ }],
7814
+ url: '/ticket/v1/repositories',
7815
+ ...options
7816
+ });