@37signals/basecamp 0.2.1 → 0.2.3

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 (59) hide show
  1. package/README.md +39 -14
  2. package/dist/client.d.ts +3 -1
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +65 -45
  5. package/dist/client.js.map +1 -1
  6. package/dist/generated/metadata.json +28 -1
  7. package/dist/generated/openapi-stripped.json +279 -2
  8. package/dist/generated/path-mapping.d.ts.map +1 -1
  9. package/dist/generated/path-mapping.js +2 -0
  10. package/dist/generated/path-mapping.js.map +1 -1
  11. package/dist/generated/path-mapping.ts +2 -0
  12. package/dist/generated/schema.d.ts +178 -1
  13. package/dist/generated/services/campfires.d.ts +32 -0
  14. package/dist/generated/services/campfires.d.ts.map +1 -1
  15. package/dist/generated/services/campfires.js +58 -0
  16. package/dist/generated/services/campfires.js.map +1 -1
  17. package/dist/generated/services/campfires.ts +75 -0
  18. package/dist/generated/services/documents.d.ts +2 -0
  19. package/dist/generated/services/documents.d.ts.map +1 -1
  20. package/dist/generated/services/documents.js +1 -0
  21. package/dist/generated/services/documents.js.map +1 -1
  22. package/dist/generated/services/documents.ts +3 -0
  23. package/dist/generated/services/messages.d.ts +2 -0
  24. package/dist/generated/services/messages.d.ts.map +1 -1
  25. package/dist/generated/services/messages.js +1 -0
  26. package/dist/generated/services/messages.js.map +1 -1
  27. package/dist/generated/services/messages.ts +3 -0
  28. package/dist/generated/services/schedules.d.ts +2 -0
  29. package/dist/generated/services/schedules.d.ts.map +1 -1
  30. package/dist/generated/services/schedules.js +1 -0
  31. package/dist/generated/services/schedules.js.map +1 -1
  32. package/dist/generated/services/schedules.ts +3 -0
  33. package/dist/generated/services/uploads.d.ts +2 -0
  34. package/dist/generated/services/uploads.d.ts.map +1 -1
  35. package/dist/generated/services/uploads.js +1 -0
  36. package/dist/generated/services/uploads.js.map +1 -1
  37. package/dist/generated/services/uploads.ts +3 -0
  38. package/dist/oauth/discovery.d.ts.map +1 -1
  39. package/dist/oauth/discovery.js +1 -0
  40. package/dist/oauth/discovery.js.map +1 -1
  41. package/dist/oauth/interactive-login.d.ts.map +1 -1
  42. package/dist/oauth/interactive-login.js +3 -2
  43. package/dist/oauth/interactive-login.js.map +1 -1
  44. package/dist/oauth/types.d.ts +2 -0
  45. package/dist/oauth/types.d.ts.map +1 -1
  46. package/dist/services/base.d.ts +3 -1
  47. package/dist/services/base.d.ts.map +1 -1
  48. package/dist/services/base.js +8 -5
  49. package/dist/services/base.js.map +1 -1
  50. package/package.json +1 -1
  51. package/src/generated/metadata.json +28 -1
  52. package/src/generated/openapi-stripped.json +279 -2
  53. package/src/generated/path-mapping.ts +2 -0
  54. package/src/generated/schema.d.ts +178 -1
  55. package/src/generated/services/campfires.ts +75 -0
  56. package/src/generated/services/documents.ts +3 -0
  57. package/src/generated/services/messages.ts +3 -0
  58. package/src/generated/services/schedules.ts +3 -0
  59. package/src/generated/services/uploads.ts +3 -0
@@ -3,7 +3,15 @@
3
3
  "info": {
4
4
  "title": "Basecamp",
5
5
  "version": "2026-01-26",
6
- "description": "Basecamp API"
6
+ "description": "Basecamp API",
7
+ "contact": {
8
+ "name": "Basecamp",
9
+ "url": "https://github.com/basecamp/basecamp-sdk"
10
+ },
11
+ "license": {
12
+ "name": "MIT",
13
+ "url": "https://github.com/basecamp/basecamp-sdk/blob/main/LICENSE"
14
+ }
7
15
  },
8
16
  "paths": {
9
17
  "/attachments.json": {
@@ -3619,6 +3627,201 @@
3619
3627
  }
3620
3628
  }
3621
3629
  },
3630
+ "/chats/{campfireId}/uploads.json": {
3631
+ "get": {
3632
+ "description": "List uploaded files in a campfire\n\n**Pagination**: Uses Link header (RFC5988). Follow the `next` rel URL\nto fetch additional pages. X-Total-Count header provides total count.",
3633
+ "operationId": "ListCampfireUploads",
3634
+ "parameters": [
3635
+ {
3636
+ "name": "campfireId",
3637
+ "in": "path",
3638
+ "schema": {
3639
+ "type": "integer",
3640
+ "format": "int64"
3641
+ },
3642
+ "required": true
3643
+ }
3644
+ ],
3645
+ "responses": {
3646
+ "200": {
3647
+ "description": "ListCampfireUploads 200 response",
3648
+ "content": {
3649
+ "application/json": {
3650
+ "schema": {
3651
+ "$ref": "#/components/schemas/ListCampfireUploadsResponseContent"
3652
+ }
3653
+ }
3654
+ }
3655
+ },
3656
+ "401": {
3657
+ "description": "UnauthorizedError 401 response",
3658
+ "content": {
3659
+ "application/json": {
3660
+ "schema": {
3661
+ "$ref": "#/components/schemas/UnauthorizedErrorResponseContent"
3662
+ }
3663
+ }
3664
+ }
3665
+ },
3666
+ "403": {
3667
+ "description": "ForbiddenError 403 response",
3668
+ "content": {
3669
+ "application/json": {
3670
+ "schema": {
3671
+ "$ref": "#/components/schemas/ForbiddenErrorResponseContent"
3672
+ }
3673
+ }
3674
+ }
3675
+ },
3676
+ "429": {
3677
+ "description": "RateLimitError 429 response",
3678
+ "content": {
3679
+ "application/json": {
3680
+ "schema": {
3681
+ "$ref": "#/components/schemas/RateLimitErrorResponseContent"
3682
+ }
3683
+ }
3684
+ }
3685
+ },
3686
+ "500": {
3687
+ "description": "InternalServerError 500 response",
3688
+ "content": {
3689
+ "application/json": {
3690
+ "schema": {
3691
+ "$ref": "#/components/schemas/InternalServerErrorResponseContent"
3692
+ }
3693
+ }
3694
+ }
3695
+ }
3696
+ },
3697
+ "tags": [
3698
+ "Campfire"
3699
+ ],
3700
+ "x-basecamp-pagination": {
3701
+ "style": "link",
3702
+ "totalCountHeader": "X-Total-Count",
3703
+ "maxPageSize": 50
3704
+ },
3705
+ "x-basecamp-retry": {
3706
+ "maxAttempts": 3,
3707
+ "baseDelayMs": 1000,
3708
+ "backoff": "exponential",
3709
+ "retryOn": [
3710
+ 429,
3711
+ 503
3712
+ ]
3713
+ }
3714
+ },
3715
+ "post": {
3716
+ "description": "Upload a file to a campfire",
3717
+ "operationId": "CreateCampfireUpload",
3718
+ "requestBody": {
3719
+ "content": {
3720
+ "application/octet-stream": {
3721
+ "schema": {
3722
+ "$ref": "#/components/schemas/CreateCampfireUploadInputPayload"
3723
+ }
3724
+ }
3725
+ },
3726
+ "required": true
3727
+ },
3728
+ "parameters": [
3729
+ {
3730
+ "name": "campfireId",
3731
+ "in": "path",
3732
+ "schema": {
3733
+ "type": "integer",
3734
+ "format": "int64"
3735
+ },
3736
+ "required": true
3737
+ },
3738
+ {
3739
+ "name": "name",
3740
+ "in": "query",
3741
+ "description": "Filename for the uploaded file (e.g. \"report.pdf\").",
3742
+ "schema": {
3743
+ "type": "string",
3744
+ "description": "Filename for the uploaded file (e.g. \"report.pdf\")."
3745
+ },
3746
+ "required": true
3747
+ }
3748
+ ],
3749
+ "responses": {
3750
+ "201": {
3751
+ "description": "CreateCampfireUpload 201 response",
3752
+ "content": {
3753
+ "application/json": {
3754
+ "schema": {
3755
+ "$ref": "#/components/schemas/CreateCampfireUploadResponseContent"
3756
+ }
3757
+ }
3758
+ }
3759
+ },
3760
+ "401": {
3761
+ "description": "UnauthorizedError 401 response",
3762
+ "content": {
3763
+ "application/json": {
3764
+ "schema": {
3765
+ "$ref": "#/components/schemas/UnauthorizedErrorResponseContent"
3766
+ }
3767
+ }
3768
+ }
3769
+ },
3770
+ "403": {
3771
+ "description": "ForbiddenError 403 response",
3772
+ "content": {
3773
+ "application/json": {
3774
+ "schema": {
3775
+ "$ref": "#/components/schemas/ForbiddenErrorResponseContent"
3776
+ }
3777
+ }
3778
+ }
3779
+ },
3780
+ "422": {
3781
+ "description": "ValidationError 422 response",
3782
+ "content": {
3783
+ "application/json": {
3784
+ "schema": {
3785
+ "$ref": "#/components/schemas/ValidationErrorResponseContent"
3786
+ }
3787
+ }
3788
+ }
3789
+ },
3790
+ "429": {
3791
+ "description": "RateLimitError 429 response",
3792
+ "content": {
3793
+ "application/json": {
3794
+ "schema": {
3795
+ "$ref": "#/components/schemas/RateLimitErrorResponseContent"
3796
+ }
3797
+ }
3798
+ }
3799
+ },
3800
+ "500": {
3801
+ "description": "InternalServerError 500 response",
3802
+ "content": {
3803
+ "application/json": {
3804
+ "schema": {
3805
+ "$ref": "#/components/schemas/InternalServerErrorResponseContent"
3806
+ }
3807
+ }
3808
+ }
3809
+ }
3810
+ },
3811
+ "tags": [
3812
+ "Campfire"
3813
+ ],
3814
+ "x-basecamp-retry": {
3815
+ "maxAttempts": 3,
3816
+ "baseDelayMs": 2000,
3817
+ "backoff": "exponential",
3818
+ "retryOn": [
3819
+ 429,
3820
+ 503
3821
+ ]
3822
+ }
3823
+ }
3824
+ },
3622
3825
  "/circles/people.json": {
3623
3826
  "get": {
3624
3827
  "description": "List all account users who can be pinged\n\n**Pagination**: Uses Link header (RFC5988). Follow the `next` rel URL\nto fetch additional pages. X-Total-Count header provides total count.",
@@ -16017,6 +16220,9 @@
16017
16220
  },
16018
16221
  "lines_url": {
16019
16222
  "type": "string"
16223
+ },
16224
+ "files_url": {
16225
+ "type": "string"
16020
16226
  }
16021
16227
  },
16022
16228
  "required": [
@@ -16074,6 +16280,12 @@
16074
16280
  "content": {
16075
16281
  "type": "string"
16076
16282
  },
16283
+ "attachments": {
16284
+ "type": "array",
16285
+ "items": {
16286
+ "$ref": "#/components/schemas/CampfireLineAttachment"
16287
+ }
16288
+ },
16077
16289
  "parent": {
16078
16290
  "$ref": "#/components/schemas/RecordingParent"
16079
16291
  },
@@ -16094,7 +16306,6 @@
16094
16306
  "required": [
16095
16307
  "app_url",
16096
16308
  "bucket",
16097
- "content",
16098
16309
  "created_at",
16099
16310
  "creator",
16100
16311
  "id",
@@ -16108,6 +16319,30 @@
16108
16319
  "visible_to_clients"
16109
16320
  ]
16110
16321
  },
16322
+ "CampfireLineAttachment": {
16323
+ "type": "object",
16324
+ "properties": {
16325
+ "title": {
16326
+ "type": "string"
16327
+ },
16328
+ "url": {
16329
+ "type": "string"
16330
+ },
16331
+ "filename": {
16332
+ "type": "string"
16333
+ },
16334
+ "content_type": {
16335
+ "type": "string"
16336
+ },
16337
+ "byte_size": {
16338
+ "type": "integer",
16339
+ "format": "int64"
16340
+ },
16341
+ "download_url": {
16342
+ "type": "string"
16343
+ }
16344
+ }
16345
+ },
16111
16346
  "Card": {
16112
16347
  "type": "object",
16113
16348
  "properties": {
@@ -16961,6 +17196,14 @@
16961
17196
  "CreateCampfireLineResponseContent": {
16962
17197
  "$ref": "#/components/schemas/CampfireLine"
16963
17198
  },
17199
+ "CreateCampfireUploadInputPayload": {
17200
+ "type": "string",
17201
+ "description": "Raw binary content of the file. Set the Content-Type header to match\nthe file's media type (e.g. \"image/png\", \"application/pdf\").",
17202
+ "contentEncoding": "byte"
17203
+ },
17204
+ "CreateCampfireUploadResponseContent": {
17205
+ "$ref": "#/components/schemas/CampfireLine"
17206
+ },
16964
17207
  "CreateCardColumnRequestContent": {
16965
17208
  "type": "object",
16966
17209
  "properties": {
@@ -17068,6 +17311,13 @@
17068
17311
  "status": {
17069
17312
  "type": "string",
17070
17313
  "description": "active|drafted"
17314
+ },
17315
+ "subscriptions": {
17316
+ "type": "array",
17317
+ "items": {
17318
+ "type": "integer",
17319
+ "format": "int64"
17320
+ }
17071
17321
  }
17072
17322
  },
17073
17323
  "required": [
@@ -17136,6 +17386,13 @@
17136
17386
  "category_id": {
17137
17387
  "type": "integer",
17138
17388
  "format": "int64"
17389
+ },
17390
+ "subscriptions": {
17391
+ "type": "array",
17392
+ "items": {
17393
+ "type": "integer",
17394
+ "format": "int64"
17395
+ }
17139
17396
  }
17140
17397
  },
17141
17398
  "required": [
@@ -17281,6 +17538,13 @@
17281
17538
  },
17282
17539
  "notify": {
17283
17540
  "type": "boolean"
17541
+ },
17542
+ "subscriptions": {
17543
+ "type": "array",
17544
+ "items": {
17545
+ "type": "integer",
17546
+ "format": "int64"
17547
+ }
17284
17548
  }
17285
17549
  },
17286
17550
  "required": [
@@ -17416,6 +17680,13 @@
17416
17680
  },
17417
17681
  "base_name": {
17418
17682
  "type": "string"
17683
+ },
17684
+ "subscriptions": {
17685
+ "type": "array",
17686
+ "items": {
17687
+ "type": "integer",
17688
+ "format": "int64"
17689
+ }
17419
17690
  }
17420
17691
  },
17421
17692
  "required": [
@@ -18175,6 +18446,12 @@
18175
18446
  "$ref": "#/components/schemas/CampfireLine"
18176
18447
  }
18177
18448
  },
18449
+ "ListCampfireUploadsResponseContent": {
18450
+ "type": "array",
18451
+ "items": {
18452
+ "$ref": "#/components/schemas/CampfireLine"
18453
+ }
18454
+ },
18178
18455
  "ListCampfiresResponseContent": {
18179
18456
  "type": "array",
18180
18457
  "items": {
@@ -1 +1 @@
1
- {"version":3,"file":"path-mapping.d.ts","sourceRoot":"","sources":["../../src/generated/path-mapping.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA+LpD,CAAC"}
1
+ {"version":3,"file":"path-mapping.d.ts","sourceRoot":"","sources":["../../src/generated/path-mapping.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAiMpD,CAAC"}
@@ -47,6 +47,8 @@ export const PATH_TO_OPERATION = {
47
47
  "POST:/{accountId}/chats/{campfireId}/lines.json": "CreateCampfireLine",
48
48
  "DELETE:/{accountId}/chats/{campfireId}/lines/{lineId}": "DeleteCampfireLine",
49
49
  "GET:/{accountId}/chats/{campfireId}/lines/{lineId}": "GetCampfireLine",
50
+ "GET:/{accountId}/chats/{campfireId}/uploads.json": "ListCampfireUploads",
51
+ "POST:/{accountId}/chats/{campfireId}/uploads.json": "CreateCampfireUpload",
50
52
  "GET:/{accountId}/client/approvals.json": "ListClientApprovals",
51
53
  "GET:/{accountId}/client/approvals/{approvalId}": "GetClientApproval",
52
54
  "GET:/{accountId}/client/correspondences.json": "ListClientCorrespondences",
@@ -1 +1 @@
1
- {"version":3,"file":"path-mapping.js","sourceRoot":"","sources":["../../src/generated/path-mapping.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,M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qB;IAC7E,2CAA2C,EAAE,gBAAgB;IAE7D,SAAS;IACT,uDAAuD,EAAE,YAAY;IACrE,wEAAwE,EAAE,iBAAiB;IAC3F,yEAAyE,EAAE,kBAAkB;IAE7F,SAAS;IACT,8BAA8B,EAAE,QAAQ;IACxC,yCAAyC,EAAE,mBAAmB;IAE9D,YAAY;IACZ,iCAAiC,EAAE,eAAe;IAClD,kCAAkC,EAAE,gBAAgB;IACpD,4CAA4C,EAAE,gBAAgB;IAC9D,yCAAyC,EAAE,aAAa;IACxD,yCAAyC,EAAE,gBAAgB;IAC3D,qEAAqE,EAAE,2BAA2B;IAClG,gFAAgF,EAAE,wBAAwB;CAC3G,CAAC"}
@@ -49,6 +49,8 @@ export const PATH_TO_OPERATION: Record<string, string> = {
49
49
  "POST:/{accountId}/chats/{campfireId}/lines.json": "CreateCampfireLine",
50
50
  "DELETE:/{accountId}/chats/{campfireId}/lines/{lineId}": "DeleteCampfireLine",
51
51
  "GET:/{accountId}/chats/{campfireId}/lines/{lineId}": "GetCampfireLine",
52
+ "GET:/{accountId}/chats/{campfireId}/uploads.json": "ListCampfireUploads",
53
+ "POST:/{accountId}/chats/{campfireId}/uploads.json": "CreateCampfireUpload",
52
54
  "GET:/{accountId}/client/approvals.json": "ListClientApprovals",
53
55
  "GET:/{accountId}/client/approvals/{approvalId}": "GetClientApproval",
54
56
  "GET:/{accountId}/client/correspondences.json": "ListClientCorrespondences",
@@ -474,6 +474,29 @@ export interface paths {
474
474
  patch?: never;
475
475
  trace?: never;
476
476
  };
477
+ "/chats/{campfireId}/uploads.json": {
478
+ parameters: {
479
+ query?: never;
480
+ header?: never;
481
+ path?: never;
482
+ cookie?: never;
483
+ };
484
+ /**
485
+ * @description List uploaded files in a campfire
486
+ *
487
+ * **Pagination**: Uses Link header (RFC5988). Follow the `next` rel URL
488
+ * to fetch additional pages. X-Total-Count header provides total count.
489
+ */
490
+ get: operations["ListCampfireUploads"];
491
+ put?: never;
492
+ /** @description Upload a file to a campfire */
493
+ post: operations["CreateCampfireUpload"];
494
+ delete?: never;
495
+ options?: never;
496
+ head?: never;
497
+ patch?: never;
498
+ trace?: never;
499
+ };
477
500
  "/circles/people.json": {
478
501
  parameters: {
479
502
  query?: never;
@@ -2229,6 +2252,7 @@ export interface components {
2229
2252
  creator: components["schemas"]["Person"];
2230
2253
  topic?: string;
2231
2254
  lines_url?: string;
2255
+ files_url?: string;
2232
2256
  };
2233
2257
  CampfireLine: {
2234
2258
  /** Format: int64 */
@@ -2243,7 +2267,8 @@ export interface components {
2243
2267
  url: string;
2244
2268
  app_url: string;
2245
2269
  bookmark_url?: string;
2246
- content: string;
2270
+ content?: string;
2271
+ attachments?: components["schemas"]["CampfireLineAttachment"][];
2247
2272
  parent: components["schemas"]["RecordingParent"];
2248
2273
  bucket: components["schemas"]["TodoBucket"];
2249
2274
  creator: components["schemas"]["Person"];
@@ -2251,6 +2276,15 @@ export interface components {
2251
2276
  boosts_count?: number;
2252
2277
  boosts_url?: string;
2253
2278
  };
2279
+ CampfireLineAttachment: {
2280
+ title?: string;
2281
+ url?: string;
2282
+ filename?: string;
2283
+ content_type?: string;
2284
+ /** Format: int64 */
2285
+ byte_size?: number;
2286
+ download_url?: string;
2287
+ };
2254
2288
  Card: {
2255
2289
  /** Format: int64 */
2256
2290
  id: number;
@@ -2504,6 +2538,12 @@ export interface components {
2504
2538
  content_type?: string;
2505
2539
  };
2506
2540
  CreateCampfireLineResponseContent: components["schemas"]["CampfireLine"];
2541
+ /**
2542
+ * @description Raw binary content of the file. Set the Content-Type header to match
2543
+ * the file's media type (e.g. "image/png", "application/pdf").
2544
+ */
2545
+ CreateCampfireUploadInputPayload: string;
2546
+ CreateCampfireUploadResponseContent: components["schemas"]["CampfireLine"];
2507
2547
  CreateCardColumnRequestContent: {
2508
2548
  title: string;
2509
2549
  description?: string;
@@ -2536,6 +2576,7 @@ export interface components {
2536
2576
  content?: string;
2537
2577
  /** @description active|drafted */
2538
2578
  status?: string;
2579
+ subscriptions?: number[];
2539
2580
  };
2540
2581
  CreateDocumentResponseContent: components["schemas"]["Document"];
2541
2582
  CreateEventBoostRequestContent: {
@@ -2557,6 +2598,7 @@ export interface components {
2557
2598
  status?: string;
2558
2599
  /** Format: int64 */
2559
2600
  category_id?: number;
2601
+ subscriptions?: number[];
2560
2602
  };
2561
2603
  CreateMessageResponseContent: components["schemas"]["Message"];
2562
2604
  CreateMessageTypeRequestContent: {
@@ -2601,6 +2643,7 @@ export interface components {
2601
2643
  participant_ids?: number[];
2602
2644
  all_day?: boolean;
2603
2645
  notify?: boolean;
2646
+ subscriptions?: number[];
2604
2647
  };
2605
2648
  CreateScheduleEntryResponseContent: components["schemas"]["ScheduleEntry"];
2606
2649
  CreateTemplateRequestContent: {
@@ -2639,6 +2682,7 @@ export interface components {
2639
2682
  attachable_sgid: string;
2640
2683
  description?: string;
2641
2684
  base_name?: string;
2685
+ subscriptions?: number[];
2642
2686
  };
2643
2687
  CreateUploadResponseContent: components["schemas"]["Upload"];
2644
2688
  CreateVaultRequestContent: {
@@ -2853,6 +2897,7 @@ export interface components {
2853
2897
  ListAnswersResponseContent: components["schemas"]["QuestionAnswer"][];
2854
2898
  ListAssignablePeopleResponseContent: components["schemas"]["Person"][];
2855
2899
  ListCampfireLinesResponseContent: components["schemas"]["CampfireLine"][];
2900
+ ListCampfireUploadsResponseContent: components["schemas"]["CampfireLine"][];
2856
2901
  ListCampfiresResponseContent: components["schemas"]["Campfire"][];
2857
2902
  ListCardsResponseContent: components["schemas"]["Card"][];
2858
2903
  ListChatbotsResponseContent: components["schemas"]["Chatbot"][];
@@ -6371,6 +6416,138 @@ export interface operations {
6371
6416
  };
6372
6417
  };
6373
6418
  };
6419
+ ListCampfireUploads: {
6420
+ parameters: {
6421
+ query?: never;
6422
+ header?: never;
6423
+ path: {
6424
+ campfireId: number;
6425
+ };
6426
+ cookie?: never;
6427
+ };
6428
+ requestBody?: never;
6429
+ responses: {
6430
+ /** @description ListCampfireUploads 200 response */
6431
+ 200: {
6432
+ headers: {
6433
+ [name: string]: unknown;
6434
+ };
6435
+ content: {
6436
+ "application/json": components["schemas"]["ListCampfireUploadsResponseContent"];
6437
+ };
6438
+ };
6439
+ /** @description UnauthorizedError 401 response */
6440
+ 401: {
6441
+ headers: {
6442
+ [name: string]: unknown;
6443
+ };
6444
+ content: {
6445
+ "application/json": components["schemas"]["UnauthorizedErrorResponseContent"];
6446
+ };
6447
+ };
6448
+ /** @description ForbiddenError 403 response */
6449
+ 403: {
6450
+ headers: {
6451
+ [name: string]: unknown;
6452
+ };
6453
+ content: {
6454
+ "application/json": components["schemas"]["ForbiddenErrorResponseContent"];
6455
+ };
6456
+ };
6457
+ /** @description RateLimitError 429 response */
6458
+ 429: {
6459
+ headers: {
6460
+ [name: string]: unknown;
6461
+ };
6462
+ content: {
6463
+ "application/json": components["schemas"]["RateLimitErrorResponseContent"];
6464
+ };
6465
+ };
6466
+ /** @description InternalServerError 500 response */
6467
+ 500: {
6468
+ headers: {
6469
+ [name: string]: unknown;
6470
+ };
6471
+ content: {
6472
+ "application/json": components["schemas"]["InternalServerErrorResponseContent"];
6473
+ };
6474
+ };
6475
+ };
6476
+ };
6477
+ CreateCampfireUpload: {
6478
+ parameters: {
6479
+ query: {
6480
+ /** @description Filename for the uploaded file (e.g. "report.pdf"). */
6481
+ name: string;
6482
+ };
6483
+ header?: never;
6484
+ path: {
6485
+ campfireId: number;
6486
+ };
6487
+ cookie?: never;
6488
+ };
6489
+ requestBody: {
6490
+ content: {
6491
+ "application/octet-stream": components["schemas"]["CreateCampfireUploadInputPayload"];
6492
+ };
6493
+ };
6494
+ responses: {
6495
+ /** @description CreateCampfireUpload 201 response */
6496
+ 201: {
6497
+ headers: {
6498
+ [name: string]: unknown;
6499
+ };
6500
+ content: {
6501
+ "application/json": components["schemas"]["CreateCampfireUploadResponseContent"];
6502
+ };
6503
+ };
6504
+ /** @description UnauthorizedError 401 response */
6505
+ 401: {
6506
+ headers: {
6507
+ [name: string]: unknown;
6508
+ };
6509
+ content: {
6510
+ "application/json": components["schemas"]["UnauthorizedErrorResponseContent"];
6511
+ };
6512
+ };
6513
+ /** @description ForbiddenError 403 response */
6514
+ 403: {
6515
+ headers: {
6516
+ [name: string]: unknown;
6517
+ };
6518
+ content: {
6519
+ "application/json": components["schemas"]["ForbiddenErrorResponseContent"];
6520
+ };
6521
+ };
6522
+ /** @description ValidationError 422 response */
6523
+ 422: {
6524
+ headers: {
6525
+ [name: string]: unknown;
6526
+ };
6527
+ content: {
6528
+ "application/json": components["schemas"]["ValidationErrorResponseContent"];
6529
+ };
6530
+ };
6531
+ /** @description RateLimitError 429 response */
6532
+ 429: {
6533
+ headers: {
6534
+ [name: string]: unknown;
6535
+ };
6536
+ content: {
6537
+ "application/json": components["schemas"]["RateLimitErrorResponseContent"];
6538
+ };
6539
+ };
6540
+ /** @description InternalServerError 500 response */
6541
+ 500: {
6542
+ headers: {
6543
+ [name: string]: unknown;
6544
+ };
6545
+ content: {
6546
+ "application/json": components["schemas"]["InternalServerErrorResponseContent"];
6547
+ };
6548
+ };
6549
+ };
6550
+ };
6374
6551
  ListPingablePeople: {
6375
6552
  parameters: {
6376
6553
  query?: never;