@tlecommunity/api-spec 1.6.8 → 1.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build/spec.json +35 -7
  2. package/package.json +1 -1
package/build/spec.json CHANGED
@@ -45202,7 +45202,7 @@
45202
45202
  "description": "Removes sitters from being permitted to sit this account.",
45203
45203
  "responses": {
45204
45204
  "200": {
45205
- "description": "Removes sitters from being permitted to sit this account.",
45205
+ "description": "Removes sitters from being permitted to sit this account. Returns the same list as view_authorized_sitters.",
45206
45206
  "content": {
45207
45207
  "application/json": {
45208
45208
  "schema": {
@@ -45217,9 +45217,32 @@
45217
45217
  "result": {
45218
45218
  "type": "object",
45219
45219
  "required": [
45220
+ "sitters",
45220
45221
  "status"
45221
45222
  ],
45222
45223
  "properties": {
45224
+ "sitters": {
45225
+ "type": "array",
45226
+ "items": {
45227
+ "type": "object",
45228
+ "required": [
45229
+ "id",
45230
+ "name",
45231
+ "expiry"
45232
+ ],
45233
+ "properties": {
45234
+ "id": {
45235
+ "type": "integer"
45236
+ },
45237
+ "name": {
45238
+ "type": "string"
45239
+ },
45240
+ "expiry": {
45241
+ "type": "string"
45242
+ }
45243
+ }
45244
+ }
45245
+ },
45223
45246
  "status": {
45224
45247
  "type": "object",
45225
45248
  "properties": {
@@ -45260,16 +45283,21 @@
45260
45283
  "application/json": {
45261
45284
  "schema": {
45262
45285
  "type": "object",
45263
- "required": [
45264
- "empires"
45265
- ],
45286
+ "description": "Either `empires` or `deauthorize_all` must be provided.",
45266
45287
  "properties": {
45267
45288
  "empires": {
45268
45289
  "type": "array",
45269
45290
  "items": {
45270
45291
  "type": "string"
45271
45292
  },
45272
- "description": "The ids (not names) of specific empires being removed."
45293
+ "description": "The ids (not names) of specific empires being removed. Takes precedence over deauthorize_all."
45294
+ },
45295
+ "deauthorize_all": {
45296
+ "type": "integer",
45297
+ "enum": [
45298
+ 1
45299
+ ],
45300
+ "description": "Removes every authorized sitter. Ignored if empires is given. Any value (even 0) is treated as true, so omit it rather than sending 0."
45273
45301
  }
45274
45302
  }
45275
45303
  }
@@ -62694,7 +62722,7 @@
62694
62722
  }
62695
62723
  }
62696
62724
  },
62697
- "return_ids": {
62725
+ "save_ids": {
62698
62726
  "type": "boolean",
62699
62727
  "description": "When true, the trashed message ids are gathered and returned in `deleted`. Off by default, since gathering them adds server work and response size; `deleted_count` is returned either way."
62700
62728
  }
@@ -62729,7 +62757,7 @@
62729
62757
  "items": {
62730
62758
  "type": "integer"
62731
62759
  },
62732
- "description": "Only present when return_ids is true."
62760
+ "description": "Only present when save_ids is true."
62733
62761
  },
62734
62762
  "deleted_count": {
62735
62763
  "type": "integer"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tlecommunity/api-spec",
3
3
  "type": "module",
4
- "version": "1.6.8",
4
+ "version": "1.6.9",
5
5
  "description": "Open API specification for TLE Community",
6
6
  "author": "Natalie Rose <natalie@omg.lol> (https://nataliethistime.com)",
7
7
  "license": "GPL-3.0-only",