@octabyte-io/paperstack-api-client 0.12.0 → 1.0.0-rc.1

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/README.md CHANGED
@@ -38,8 +38,8 @@ handles a refusal.
38
38
 
39
39
  ## More
40
40
 
41
- - [Calling the API](https://github.com/octabyte-io/paperstack/blob/v0.12.0/docs/guide/developer/calling-the-api.md)
42
- and [Authentication](https://github.com/octabyte-io/paperstack/blob/v0.12.0/docs/guide/developer/authentication.md),
41
+ - [Calling the API](https://github.com/octabyte-io/paperstack/blob/v1.0.0-rc.1/docs/guide/developer/calling-the-api.md)
42
+ and [Authentication](https://github.com/octabyte-io/paperstack/blob/v1.0.0-rc.1/docs/guide/developer/authentication.md),
43
43
  in PaperStack's Developer guide.
44
44
  - Your PaperStack's API docs, at `/api/docs` on your own PaperStack: every endpoint and event, and
45
45
  pages on paging, errors, files and rate limits.
@@ -184,9 +184,10 @@ export interface EventVersions {
184
184
  };
185
185
  };
186
186
  'membership.created': {
187
- latest: 1;
187
+ latest: 2;
188
188
  versions: {
189
189
  1: Payload<'membership.created v1'>;
190
+ 2: Payload<'membership.created v2'>;
190
191
  };
191
192
  };
192
193
  'membership.updated': {
@@ -232,9 +233,10 @@ export interface EventVersions {
232
233
  };
233
234
  };
234
235
  'plugin.disabled': {
235
- latest: 1;
236
+ latest: 2;
236
237
  versions: {
237
238
  1: Payload<'plugin.disabled v1'>;
239
+ 2: Payload<'plugin.disabled v2'>;
238
240
  };
239
241
  };
240
242
  'plugin.uninstalled': {
package/dist/index.d.ts CHANGED
@@ -8,4 +8,4 @@ export { type Client, PaperStack, type PaperStackOptions } from './paper-stack.j
8
8
  export type { ResourceMethod, Resources, Table } from './resources.js';
9
9
  export type { components, operations, webhooks } from './operations.gen.js';
10
10
  export type { resources, routes } from './routes.gen.js';
11
- export type { Answer, AnswerOfSuccess, BodyOf, BodyRequired, CallOptions, ContentOf, Flatten, HasRequired, IsCallable, IsNever, Json, Multipart, OperationOf, ParameterOf, Part, PathOf, PublicRoute, QueryOf, RequestArgs, RequestBodyOf, RequestRest, Route, Sendable, SuccessOf, SuccessStatus, } from './route-types.js';
11
+ export type { Answer, AnswerOfSuccess, BodyOf, BodyRequired, CallOptions, ContentOf, HasRequired, IsCallable, IsNever, Json, Multipart, OperationOf, ParameterOf, Part, PathOf, PublicRoute, QueryOf, RequestArgs, RequestBodyOf, RequestRest, Route, Sendable, SuccessOf, SuccessStatus, } from './route-types.js';
@@ -128,7 +128,7 @@ export interface paths {
128
128
  *
129
129
  * Token scope: `documents:write`. Roles: Owner, Admin, Member.
130
130
  */
131
- patch: operations["editDocument"];
131
+ patch: operations["updateDocument"];
132
132
  trace?: never;
133
133
  };
134
134
  "/api/v1/documents/{id}/tags/{tagId}": {
@@ -438,7 +438,7 @@ export interface paths {
438
438
  *
439
439
  * Token scope: `documents:read`. Roles: Owner, Admin, Member, Viewer.
440
440
  */
441
- get: operations["getVersionThumbnail"];
441
+ get: operations["getDocumentVersionThumbnail"];
442
442
  put?: never;
443
443
  post?: never;
444
444
  delete?: never;
@@ -701,12 +701,12 @@ export interface paths {
701
701
  get?: never;
702
702
  put?: never;
703
703
  /**
704
- * Add a field option
705
- * @description Adds an option at the bottom of the field's order, with a random one of the 12 tag colors when none is sent. Spaces in the name are trimmed and squeezed.
704
+ * Create a field option
705
+ * @description Creates an option at the bottom of the field's order, with a random one of the 12 tag colors when none is sent. Spaces in the name are trimmed and squeezed.
706
706
  *
707
707
  * Token scope: `fields:write`. Roles: Owner, Admin.
708
708
  */
709
- post: operations["addFieldOption"];
709
+ post: operations["createFieldOption"];
710
710
  delete?: never;
711
711
  options?: never;
712
712
  head?: never;
@@ -724,12 +724,12 @@ export interface paths {
724
724
  put?: never;
725
725
  post?: never;
726
726
  /**
727
- * Remove a field option
728
- * @description Removes an option for good: it comes off every document that has it, including those in the trash. A multi-select keeps its other options and a select is left empty; no document's updated time moves. There is no undo.
727
+ * Delete a field option
728
+ * @description Deletes an option for good: it comes off every document that has it, including those in the trash. A multi-select keeps its other options and a select is left empty; no document's updated time moves. There is no undo.
729
729
  *
730
730
  * Token scope: `fields:write`. Roles: Owner, Admin.
731
731
  */
732
- delete: operations["removeFieldOption"];
732
+ delete: operations["deleteFieldOption"];
733
733
  options?: never;
734
734
  head?: never;
735
735
  /**
@@ -988,7 +988,7 @@ export interface paths {
988
988
  };
989
989
  /**
990
990
  * List tags
991
- * @description Lists the organization's tags, each with how many documents in use the caller can see carry it (every tag is listed for everyone), a page at a time: send the previous page's `nextCursor` as `cursor` for the next one, with the same `sort`. `sort` is `name` (ignoring case, the default), `most-used` (highest `documentCount` first) or `newest` (by creation); ties go by `id`. With `q`, only tags whose name contains it, ignoring case; with `name`, only the tag named exactly that, ignoring case (none when no tag has it).
991
+ * @description Lists the organization's tags, each with how many documents in use the caller can see carry it (every tag is listed for everyone), a page at a time: send the previous page's `nextCursor` as `cursor` for the next one, with the same `sort`. `sort` is `name` (ignoring case, the default), `most_used` (highest `documentCount` first) or `newest` (by creation); ties go by `id`. With `q`, only tags whose name contains it, ignoring case; with `name`, only the tag named exactly that, ignoring case (none when no tag has it).
992
992
  *
993
993
  * Token scope: `documents:read`. Roles: Owner, Admin, Member, Viewer.
994
994
  */
@@ -3442,12 +3442,15 @@ export interface webhooks {
3442
3442
  get?: never;
3443
3443
  put?: never;
3444
3444
  /**
3445
- * membership.created, version 1
3445
+ * membership.created, version 1 (no longer sent)
3446
+ * @deprecated
3446
3447
  * @description Someone accepted an invite and joined the organization with the role it gave them.
3447
3448
  *
3448
3449
  * Sent when an audit entry records invite accepted.
3449
3450
  *
3450
3451
  * Version 1.
3452
+ *
3453
+ * No longer sent: this version stays listed because events stored before it was replaced may still have it.
3451
3454
  */
3452
3455
  post: {
3453
3456
  parameters: {
@@ -3510,6 +3513,81 @@ export interface webhooks {
3510
3513
  patch?: never;
3511
3514
  trace?: never;
3512
3515
  };
3516
+ "membership.created v2": {
3517
+ parameters: {
3518
+ query?: never;
3519
+ header?: never;
3520
+ path?: never;
3521
+ cookie?: never;
3522
+ };
3523
+ get?: never;
3524
+ put?: never;
3525
+ /**
3526
+ * membership.created, version 2
3527
+ * @description Someone accepted an invite and joined the organization.
3528
+ *
3529
+ * Sent when an audit entry records invite accepted.
3530
+ *
3531
+ * Version 2.
3532
+ */
3533
+ post: {
3534
+ parameters: {
3535
+ query?: never;
3536
+ header?: never;
3537
+ path?: never;
3538
+ cookie?: never;
3539
+ };
3540
+ requestBody?: {
3541
+ content: {
3542
+ /**
3543
+ * @example {
3544
+ * "id": "0193a6f3-1a2b-7c3d-8e4f-5a6b7c8d9e01",
3545
+ * "name": "membership.created",
3546
+ * "version": 2,
3547
+ * "happenedAt": "2026-03-04T09:30:00.000Z",
3548
+ * "organizationId": "0193a6f0-0a1b-7c2d-8e3f-4a5b6c7d8e02",
3549
+ * "doer": {
3550
+ * "kind": "person",
3551
+ * "userId": "0193a6f0-1b2c-7d3e-8f4a-5b6c7d8e9f03",
3552
+ * "pluginName": null
3553
+ * },
3554
+ * "subject": {
3555
+ * "kind": "membership",
3556
+ * "id": "0193a6f1-2c3d-7e4f-8a5b-6c7d8e9f0a04"
3557
+ * },
3558
+ * "auditEntryId": "0193a6f3-1a2b-7c3d-8e4f-5a6b7c8d9e05",
3559
+ * "data": {
3560
+ * "userId": "0193a6f2-9f41-7a7e-8d42-6f8b1e5a7c90",
3561
+ * "inviteId": "0193a6f2-4e1c-7b2d-9a3f-1c5e7a9b2d40"
3562
+ * }
3563
+ * }
3564
+ */
3565
+ "application/json": {
3566
+ /** @constant */
3567
+ name?: "membership.created";
3568
+ /** @constant */
3569
+ version?: 2;
3570
+ subject?: {
3571
+ /** @constant */
3572
+ kind?: "membership";
3573
+ };
3574
+ data: {
3575
+ /** Format: uuid */
3576
+ userId: string;
3577
+ /** Format: uuid */
3578
+ inviteId: string;
3579
+ };
3580
+ } & components["schemas"]["EventEnvelope"];
3581
+ };
3582
+ };
3583
+ responses: never;
3584
+ };
3585
+ delete?: never;
3586
+ options?: never;
3587
+ head?: never;
3588
+ patch?: never;
3589
+ trace?: never;
3590
+ };
3513
3591
  "membership.updated v1": {
3514
3592
  parameters: {
3515
3593
  query?: never;
@@ -4058,12 +4136,15 @@ export interface webhooks {
4058
4136
  get?: never;
4059
4137
  put?: never;
4060
4138
  /**
4061
- * plugin.disabled, version 1
4139
+ * plugin.disabled, version 1 (no longer sent)
4140
+ * @deprecated
4062
4141
  * @description A plugin was turned off in the organization, holding off the running plugins that needed it, directly or down a chain, if any.
4063
4142
  *
4064
4143
  * Sent when an audit entry records plugin disabled.
4065
4144
  *
4066
4145
  * Version 1.
4146
+ *
4147
+ * No longer sent: this version stays listed because events stored before it was replaced may still have it.
4067
4148
  */
4068
4149
  post: {
4069
4150
  parameters: {
@@ -4127,6 +4208,79 @@ export interface webhooks {
4127
4208
  patch?: never;
4128
4209
  trace?: never;
4129
4210
  };
4211
+ "plugin.disabled v2": {
4212
+ parameters: {
4213
+ query?: never;
4214
+ header?: never;
4215
+ path?: never;
4216
+ cookie?: never;
4217
+ };
4218
+ get?: never;
4219
+ put?: never;
4220
+ /**
4221
+ * plugin.disabled, version 2
4222
+ * @description A plugin was turned off in the organization, holding off the running plugins that needed it, directly or down a chain, if any, each by its fixed name.
4223
+ *
4224
+ * Sent when an audit entry records plugin disabled.
4225
+ *
4226
+ * Version 2.
4227
+ */
4228
+ post: {
4229
+ parameters: {
4230
+ query?: never;
4231
+ header?: never;
4232
+ path?: never;
4233
+ cookie?: never;
4234
+ };
4235
+ requestBody?: {
4236
+ content: {
4237
+ /**
4238
+ * @example {
4239
+ * "id": "0193a6f3-1a2b-7c3d-8e4f-5a6b7c8d9e01",
4240
+ * "name": "plugin.disabled",
4241
+ * "version": 2,
4242
+ * "happenedAt": "2026-03-04T09:30:00.000Z",
4243
+ * "organizationId": "0193a6f0-0a1b-7c2d-8e3f-4a5b6c7d8e02",
4244
+ * "doer": {
4245
+ * "kind": "person",
4246
+ * "userId": "0193a6f0-1b2c-7d3e-8f4a-5b6c7d8e9f03",
4247
+ * "pluginName": null
4248
+ * },
4249
+ * "subject": {
4250
+ * "kind": "plugin",
4251
+ * "id": "0193a6f1-2c3d-7e4f-8a5b-6c7d8e9f0a04"
4252
+ * },
4253
+ * "auditEntryId": "0193a6f3-1a2b-7c3d-8e4f-5a6b7c8d9e05",
4254
+ * "data": {
4255
+ * "heldOffDependents": [
4256
+ * "summaries"
4257
+ * ]
4258
+ * }
4259
+ * }
4260
+ */
4261
+ "application/json": {
4262
+ /** @constant */
4263
+ name?: "plugin.disabled";
4264
+ /** @constant */
4265
+ version?: 2;
4266
+ subject?: {
4267
+ /** @constant */
4268
+ kind?: "plugin";
4269
+ };
4270
+ data: {
4271
+ heldOffDependents: string[];
4272
+ };
4273
+ } & components["schemas"]["EventEnvelope"];
4274
+ };
4275
+ };
4276
+ responses: never;
4277
+ };
4278
+ delete?: never;
4279
+ options?: never;
4280
+ head?: never;
4281
+ patch?: never;
4282
+ trace?: never;
4283
+ };
4130
4284
  "plugin.uninstalled v1": {
4131
4285
  parameters: {
4132
4286
  query?: never;
@@ -5678,7 +5832,7 @@ export interface operations {
5678
5832
  };
5679
5833
  };
5680
5834
  };
5681
- editDocument: {
5835
+ updateDocument: {
5682
5836
  parameters: {
5683
5837
  query?: never;
5684
5838
  header?: never;
@@ -6938,7 +7092,7 @@ export interface operations {
6938
7092
  };
6939
7093
  };
6940
7094
  };
6941
- getVersionThumbnail: {
7095
+ getDocumentVersionThumbnail: {
6942
7096
  parameters: {
6943
7097
  query?: never;
6944
7098
  header?: never;
@@ -7811,7 +7965,7 @@ export interface operations {
7811
7965
  };
7812
7966
  };
7813
7967
  };
7814
- addFieldOption: {
7968
+ createFieldOption: {
7815
7969
  parameters: {
7816
7970
  query?: never;
7817
7971
  header?: never;
@@ -7886,7 +8040,7 @@ export interface operations {
7886
8040
  };
7887
8041
  };
7888
8042
  };
7889
- removeFieldOption: {
8043
+ deleteFieldOption: {
7890
8044
  parameters: {
7891
8045
  query?: never;
7892
8046
  header?: never;
@@ -8745,7 +8899,7 @@ export interface operations {
8745
8899
  query?: {
8746
8900
  q?: string;
8747
8901
  name?: string;
8748
- sort?: "name" | "most-used" | "newest";
8902
+ sort?: "name" | "most_used" | "newest";
8749
8903
  cursor?: string;
8750
8904
  limit?: number;
8751
8905
  };
@@ -1,3 +1,4 @@
1
+ import type { Flat } from './events.js';
1
2
  import type { FileAnswer } from './file-answer.js';
2
3
  import type { operations } from './operations.gen.js';
3
4
  import type { routes } from './routes.gen.js';
@@ -59,11 +60,8 @@ export type RequestBodyOf<O> = Sendable<ContentOf<BodyOf<O>>>;
59
60
  export type BodyRequired<O> = O extends {
60
61
  requestBody: unknown;
61
62
  } ? true : false;
62
- export type Flatten<T> = {
63
- [K in keyof T]: T[K];
64
- };
65
63
  /** What a call to `route` takes: `{ path, query, body }` exactly as the API document describes them. */
66
- export type RequestArgs<R extends Route> = Flatten<Part<'path', PathOf<OperationOf<R>>, HasRequired<PathOf<OperationOf<R>>>> & Part<'query', QueryOf<OperationOf<R>>, HasRequired<QueryOf<OperationOf<R>>>> & Part<'body', RequestBodyOf<OperationOf<R>>, BodyRequired<OperationOf<R>>>>;
64
+ export type RequestArgs<R extends Route> = Flat<Part<'path', PathOf<OperationOf<R>>, HasRequired<PathOf<OperationOf<R>>>> & Part<'query', QueryOf<OperationOf<R>>, HasRequired<QueryOf<OperationOf<R>>>> & Part<'body', RequestBodyOf<OperationOf<R>>, BodyRequired<OperationOf<R>>>>;
67
65
  /** What a call to `route` resolves to: its answer body, or `undefined` when it answers with none. */
68
66
  export type Answer<R extends Route> = AnswerOfSuccess<SuccessOf<OperationOf<R>>>;
69
67
  /** Options of any single call. */
@@ -6,7 +6,7 @@ export declare const routes: {
6
6
  readonly 'POST /api/v1/documents/tags': "changeTagsOnDocuments";
7
7
  readonly 'GET /api/v1/documents/{id}': "getDocument";
8
8
  readonly 'DELETE /api/v1/documents/{id}': "moveDocumentToTrash";
9
- readonly 'PATCH /api/v1/documents/{id}': "editDocument";
9
+ readonly 'PATCH /api/v1/documents/{id}': "updateDocument";
10
10
  readonly 'PUT /api/v1/documents/{id}/tags/{tagId}': "addDocumentTag";
11
11
  readonly 'DELETE /api/v1/documents/{id}/tags/{tagId}': "removeDocumentTag";
12
12
  readonly 'PUT /api/v1/documents/{id}/fields/{fieldId}': "setDocumentFieldValue";
@@ -24,7 +24,7 @@ export declare const routes: {
24
24
  readonly 'POST /api/v1/documents/{id}/versions/{number}/restore': "restoreDocumentVersion";
25
25
  readonly 'GET /api/v1/documents/{id}/versions/{number}/download': "downloadDocumentVersion";
26
26
  readonly 'GET /api/v1/documents/{id}/versions/{number}/preview': "previewDocumentVersion";
27
- readonly 'GET /api/v1/documents/{id}/versions/{number}/thumbnail': "getVersionThumbnail";
27
+ readonly 'GET /api/v1/documents/{id}/versions/{number}/thumbnail': "getDocumentVersionThumbnail";
28
28
  readonly 'GET /api/v1/documents/{id}/text': "getDocumentText";
29
29
  readonly 'GET /api/v1/documents/{id}/versions/{number}/text': "getDocumentVersionText";
30
30
  readonly 'PUT /api/v1/documents/{id}/versions/{number}/plugin-text': "setPluginText";
@@ -39,8 +39,8 @@ export declare const routes: {
39
39
  readonly 'POST /api/v1/fields': "createField";
40
40
  readonly 'DELETE /api/v1/fields/{id}': "deleteField";
41
41
  readonly 'PATCH /api/v1/fields/{id}': "updateField";
42
- readonly 'POST /api/v1/fields/{id}/options': "addFieldOption";
43
- readonly 'DELETE /api/v1/fields/{id}/options/{optionId}': "removeFieldOption";
42
+ readonly 'POST /api/v1/fields/{id}/options': "createFieldOption";
43
+ readonly 'DELETE /api/v1/fields/{id}/options/{optionId}': "deleteFieldOption";
44
44
  readonly 'PATCH /api/v1/fields/{id}/options/{optionId}': "updateFieldOption";
45
45
  readonly 'GET /api/v1/folders': "listFolders";
46
46
  readonly 'POST /api/v1/folders': "createFolder";
@@ -78,7 +78,7 @@ export declare const resources: {
78
78
  readonly changeTags: "POST /api/v1/documents/tags";
79
79
  readonly get: "GET /api/v1/documents/{id}";
80
80
  readonly moveToTrash: "DELETE /api/v1/documents/{id}";
81
- readonly edit: "PATCH /api/v1/documents/{id}";
81
+ readonly update: "PATCH /api/v1/documents/{id}";
82
82
  readonly addTag: "PUT /api/v1/documents/{id}/tags/{tagId}";
83
83
  readonly removeTag: "DELETE /api/v1/documents/{id}/tags/{tagId}";
84
84
  readonly setFieldValue: "PUT /api/v1/documents/{id}/fields/{fieldId}";
@@ -125,8 +125,8 @@ export declare const resources: {
125
125
  readonly create: "POST /api/v1/fields";
126
126
  readonly delete: "DELETE /api/v1/fields/{id}";
127
127
  readonly update: "PATCH /api/v1/fields/{id}";
128
- readonly addOption: "POST /api/v1/fields/{id}/options";
129
- readonly removeOption: "DELETE /api/v1/fields/{id}/options/{optionId}";
128
+ readonly createOption: "POST /api/v1/fields/{id}/options";
129
+ readonly deleteOption: "DELETE /api/v1/fields/{id}/options/{optionId}";
130
130
  readonly updateOption: "PATCH /api/v1/fields/{id}/options/{optionId}";
131
131
  };
132
132
  readonly folders: {
@@ -8,7 +8,7 @@ export const routes = {
8
8
  'POST /api/v1/documents/tags': 'changeTagsOnDocuments',
9
9
  'GET /api/v1/documents/{id}': 'getDocument',
10
10
  'DELETE /api/v1/documents/{id}': 'moveDocumentToTrash',
11
- 'PATCH /api/v1/documents/{id}': 'editDocument',
11
+ 'PATCH /api/v1/documents/{id}': 'updateDocument',
12
12
  'PUT /api/v1/documents/{id}/tags/{tagId}': 'addDocumentTag',
13
13
  'DELETE /api/v1/documents/{id}/tags/{tagId}': 'removeDocumentTag',
14
14
  'PUT /api/v1/documents/{id}/fields/{fieldId}': 'setDocumentFieldValue',
@@ -26,7 +26,7 @@ export const routes = {
26
26
  'POST /api/v1/documents/{id}/versions/{number}/restore': 'restoreDocumentVersion',
27
27
  'GET /api/v1/documents/{id}/versions/{number}/download': 'downloadDocumentVersion',
28
28
  'GET /api/v1/documents/{id}/versions/{number}/preview': 'previewDocumentVersion',
29
- 'GET /api/v1/documents/{id}/versions/{number}/thumbnail': 'getVersionThumbnail',
29
+ 'GET /api/v1/documents/{id}/versions/{number}/thumbnail': 'getDocumentVersionThumbnail',
30
30
  'GET /api/v1/documents/{id}/text': 'getDocumentText',
31
31
  'GET /api/v1/documents/{id}/versions/{number}/text': 'getDocumentVersionText',
32
32
  'PUT /api/v1/documents/{id}/versions/{number}/plugin-text': 'setPluginText',
@@ -41,8 +41,8 @@ export const routes = {
41
41
  'POST /api/v1/fields': 'createField',
42
42
  'DELETE /api/v1/fields/{id}': 'deleteField',
43
43
  'PATCH /api/v1/fields/{id}': 'updateField',
44
- 'POST /api/v1/fields/{id}/options': 'addFieldOption',
45
- 'DELETE /api/v1/fields/{id}/options/{optionId}': 'removeFieldOption',
44
+ 'POST /api/v1/fields/{id}/options': 'createFieldOption',
45
+ 'DELETE /api/v1/fields/{id}/options/{optionId}': 'deleteFieldOption',
46
46
  'PATCH /api/v1/fields/{id}/options/{optionId}': 'updateFieldOption',
47
47
  'GET /api/v1/folders': 'listFolders',
48
48
  'POST /api/v1/folders': 'createFolder',
@@ -81,7 +81,7 @@ export const resources = {
81
81
  changeTags: 'POST /api/v1/documents/tags',
82
82
  get: 'GET /api/v1/documents/{id}',
83
83
  moveToTrash: 'DELETE /api/v1/documents/{id}',
84
- edit: 'PATCH /api/v1/documents/{id}',
84
+ update: 'PATCH /api/v1/documents/{id}',
85
85
  addTag: 'PUT /api/v1/documents/{id}/tags/{tagId}',
86
86
  removeTag: 'DELETE /api/v1/documents/{id}/tags/{tagId}',
87
87
  setFieldValue: 'PUT /api/v1/documents/{id}/fields/{fieldId}',
@@ -128,8 +128,8 @@ export const resources = {
128
128
  create: 'POST /api/v1/fields',
129
129
  delete: 'DELETE /api/v1/fields/{id}',
130
130
  update: 'PATCH /api/v1/fields/{id}',
131
- addOption: 'POST /api/v1/fields/{id}/options',
132
- removeOption: 'DELETE /api/v1/fields/{id}/options/{optionId}',
131
+ createOption: 'POST /api/v1/fields/{id}/options',
132
+ deleteOption: 'DELETE /api/v1/fields/{id}/options/{optionId}',
133
133
  updateOption: 'PATCH /api/v1/fields/{id}/options/{optionId}',
134
134
  },
135
135
  folders: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octabyte-io/paperstack-api-client",
3
- "version": "0.12.0",
3
+ "version": "1.0.0-rc.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Typed client for the PaperStack API, generated from its public OpenAPI document",
6
6
  "repository": {
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@arethetypeswrong/cli": "0.18.5",
38
- "@paperstack/config": "0.12.0",
38
+ "@paperstack/config": "1.0.0-rc.1",
39
39
  "@types/node": "^24.19.1",
40
40
  "eslint": "10.12.0",
41
41
  "publint": "0.3.25",
@@ -1,9 +0,0 @@
1
- ## API Report File for "@octabyte-io/paperstack-api-client"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- // (No @packageDocumentation comment for this package)
8
-
9
- ```