@remit/api-openapi-spec 0.0.82 → 0.0.84

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/openapi.json +123 -14
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -6085,11 +6085,11 @@
6085
6085
  }
6086
6086
  },
6087
6087
  "403": {
6088
- "description": "The People operation is refused for the caller. `code` is one of\n`sign_in_disabled` (the kill switch is on), `caller_disabled` (the caller's\naccount is disabled or gone), `foreign_origin` (an unsafe request from an\norigin this instance does not serve), `step_up_required` (the step-up token\nis missing, spent, expired, or bound to another caller, action or person) and\n`wrong_password` (the step-up password is wrong).",
6088
+ "description": "The People operation is refused for the caller.",
6089
6089
  "content": {
6090
6090
  "application/json": {
6091
6091
  "schema": {
6092
- "$ref": "#/components/schemas/ApiError"
6092
+ "$ref": "#/components/schemas/RemitImap.PeopleForbiddenError"
6093
6093
  }
6094
6094
  }
6095
6095
  }
@@ -6142,11 +6142,11 @@
6142
6142
  }
6143
6143
  },
6144
6144
  "403": {
6145
- "description": "The People operation is refused for the caller. `code` is one of\n`sign_in_disabled` (the kill switch is on), `caller_disabled` (the caller's\naccount is disabled or gone), `foreign_origin` (an unsafe request from an\norigin this instance does not serve), `step_up_required` (the step-up token\nis missing, spent, expired, or bound to another caller, action or person) and\n`wrong_password` (the step-up password is wrong).",
6145
+ "description": "The People operation is refused for the caller.",
6146
6146
  "content": {
6147
6147
  "application/json": {
6148
6148
  "schema": {
6149
- "$ref": "#/components/schemas/ApiError"
6149
+ "$ref": "#/components/schemas/RemitImap.PeopleForbiddenError"
6150
6150
  }
6151
6151
  }
6152
6152
  }
@@ -6162,11 +6162,11 @@
6162
6162
  }
6163
6163
  },
6164
6164
  "429": {
6165
- "description": "Five wrong step-up passwords in 15 minutes. `code` is `step_up_locked`.",
6165
+ "description": "Too many wrong step-up passwords.",
6166
6166
  "content": {
6167
6167
  "application/json": {
6168
6168
  "schema": {
6169
- "$ref": "#/components/schemas/ApiError"
6169
+ "$ref": "#/components/schemas/RemitImap.StepUpLockedError"
6170
6170
  }
6171
6171
  }
6172
6172
  }
@@ -6228,11 +6228,11 @@
6228
6228
  }
6229
6229
  },
6230
6230
  "403": {
6231
- "description": "The People operation is refused for the caller. `code` is one of\n`sign_in_disabled` (the kill switch is on), `caller_disabled` (the caller's\naccount is disabled or gone), `foreign_origin` (an unsafe request from an\norigin this instance does not serve), `step_up_required` (the step-up token\nis missing, spent, expired, or bound to another caller, action or person) and\n`wrong_password` (the step-up password is wrong).",
6231
+ "description": "The People operation is refused for the caller.",
6232
6232
  "content": {
6233
6233
  "application/json": {
6234
6234
  "schema": {
6235
- "$ref": "#/components/schemas/ApiError"
6235
+ "$ref": "#/components/schemas/RemitImap.PeopleForbiddenError"
6236
6236
  }
6237
6237
  }
6238
6238
  }
@@ -6248,11 +6248,11 @@
6248
6248
  }
6249
6249
  },
6250
6250
  "409": {
6251
- "description": "A person cannot disable themselves. `code` is `cannot_disable_self`.",
6251
+ "description": "The caller tried to disable their own account.",
6252
6252
  "content": {
6253
6253
  "application/json": {
6254
6254
  "schema": {
6255
- "$ref": "#/components/schemas/ApiError"
6255
+ "$ref": "#/components/schemas/RemitImap.CannotDisableSelfError"
6256
6256
  }
6257
6257
  }
6258
6258
  }
@@ -6314,11 +6314,11 @@
6314
6314
  }
6315
6315
  },
6316
6316
  "403": {
6317
- "description": "The People operation is refused for the caller. `code` is one of\n`sign_in_disabled` (the kill switch is on), `caller_disabled` (the caller's\naccount is disabled or gone), `foreign_origin` (an unsafe request from an\norigin this instance does not serve), `step_up_required` (the step-up token\nis missing, spent, expired, or bound to another caller, action or person) and\n`wrong_password` (the step-up password is wrong).",
6317
+ "description": "The People operation is refused for the caller.",
6318
6318
  "content": {
6319
6319
  "application/json": {
6320
6320
  "schema": {
6321
- "$ref": "#/components/schemas/ApiError"
6321
+ "$ref": "#/components/schemas/RemitImap.PeopleForbiddenError"
6322
6322
  }
6323
6323
  }
6324
6324
  }
@@ -6390,11 +6390,11 @@
6390
6390
  }
6391
6391
  },
6392
6392
  "403": {
6393
- "description": "The People operation is refused for the caller. `code` is one of\n`sign_in_disabled` (the kill switch is on), `caller_disabled` (the caller's\naccount is disabled or gone), `foreign_origin` (an unsafe request from an\norigin this instance does not serve), `step_up_required` (the step-up token\nis missing, spent, expired, or bound to another caller, action or person) and\n`wrong_password` (the step-up password is wrong).",
6393
+ "description": "The People operation is refused for the caller.",
6394
6394
  "content": {
6395
6395
  "application/json": {
6396
6396
  "schema": {
6397
- "$ref": "#/components/schemas/ApiError"
6397
+ "$ref": "#/components/schemas/RemitImap.PeopleForbiddenError"
6398
6398
  }
6399
6399
  }
6400
6400
  }
@@ -9276,6 +9276,33 @@
9276
9276
  ],
9277
9277
  "description": "Projection of a VEVENT's TRANSP property (RFC 5545 3.8.2.7) — whether the event consumes free/busy time. A VEVENT with no TRANSP projects as `Opaque`, the RFC default."
9278
9278
  },
9279
+ "RemitImap.CannotDisableSelfError": {
9280
+ "type": "object",
9281
+ "required": [
9282
+ "message",
9283
+ "code"
9284
+ ],
9285
+ "properties": {
9286
+ "message": {
9287
+ "type": "string",
9288
+ "description": "Human-readable error message"
9289
+ },
9290
+ "details": {
9291
+ "type": "object",
9292
+ "additionalProperties": {
9293
+ "type": "string"
9294
+ },
9295
+ "description": "Additional error details"
9296
+ },
9297
+ "code": {
9298
+ "type": "string",
9299
+ "enum": [
9300
+ "cannot_disable_self"
9301
+ ]
9302
+ }
9303
+ },
9304
+ "description": "The caller tried to disable their own account."
9305
+ },
9279
9306
  "RemitImap.CanonicalMailboxRole": {
9280
9307
  "type": "string",
9281
9308
  "enum": [
@@ -12299,6 +12326,61 @@
12299
12326
  },
12300
12327
  "description": "An import that is still waiting for IMAP discovery to produce the folders its\nfile named. The folder appointed to a role, a folder's own display name or\nmute, and a filter's move destination are all bound by path; a path this\naccount does not hold yet is kept, not guessed, and bound the moment discovery\nfinds it."
12301
12328
  },
12329
+ "RemitImap.PeopleForbiddenError": {
12330
+ "type": "object",
12331
+ "required": [
12332
+ "message",
12333
+ "code"
12334
+ ],
12335
+ "properties": {
12336
+ "message": {
12337
+ "type": "string",
12338
+ "description": "Human-readable error message"
12339
+ },
12340
+ "details": {
12341
+ "type": "object",
12342
+ "additionalProperties": {
12343
+ "type": "string"
12344
+ },
12345
+ "description": "Additional error details"
12346
+ },
12347
+ "code": {
12348
+ "anyOf": [
12349
+ {
12350
+ "type": "string",
12351
+ "enum": [
12352
+ "sign_in_disabled"
12353
+ ]
12354
+ },
12355
+ {
12356
+ "type": "string",
12357
+ "enum": [
12358
+ "caller_disabled"
12359
+ ]
12360
+ },
12361
+ {
12362
+ "type": "string",
12363
+ "enum": [
12364
+ "foreign_origin"
12365
+ ]
12366
+ },
12367
+ {
12368
+ "type": "string",
12369
+ "enum": [
12370
+ "step_up_required"
12371
+ ]
12372
+ },
12373
+ {
12374
+ "type": "string",
12375
+ "enum": [
12376
+ "wrong_password"
12377
+ ]
12378
+ }
12379
+ ]
12380
+ }
12381
+ },
12382
+ "description": "The People operation is refused for the caller."
12383
+ },
12302
12384
  "RemitImap.PeopleListResponse": {
12303
12385
  "type": "object",
12304
12386
  "required": [
@@ -12848,6 +12930,33 @@
12848
12930
  },
12849
12931
  "description": "The caller's current password, and the one action on one person the token will allow."
12850
12932
  },
12933
+ "RemitImap.StepUpLockedError": {
12934
+ "type": "object",
12935
+ "required": [
12936
+ "message",
12937
+ "code"
12938
+ ],
12939
+ "properties": {
12940
+ "message": {
12941
+ "type": "string",
12942
+ "description": "Human-readable error message"
12943
+ },
12944
+ "details": {
12945
+ "type": "object",
12946
+ "additionalProperties": {
12947
+ "type": "string"
12948
+ },
12949
+ "description": "Additional error details"
12950
+ },
12951
+ "code": {
12952
+ "type": "string",
12953
+ "enum": [
12954
+ "step_up_locked"
12955
+ ]
12956
+ }
12957
+ },
12958
+ "description": "Too many wrong step-up passwords."
12959
+ },
12851
12960
  "RemitImap.StepUpResponse": {
12852
12961
  "type": "object",
12853
12962
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-spec",
3
- "version": "0.0.82",
3
+ "version": "0.0.84",
4
4
  "description": "Remit API OpenAPI 3 document, generated from TypeSpec, and its precompiled request validators.",
5
5
  "exports": {
6
6
  ".": "./openapi.json",