@arbidocs/client 0.5.153 → 0.5.155

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/dist/index.d.cts CHANGED
@@ -1534,7 +1534,8 @@ interface paths$1 {
1534
1534
  /**
1535
1535
  * Purge Storage Items
1536
1536
  * @description Delete permanently what is in a project's trash now (Empty trash), or only some of it: deleted workspaces
1537
- * and documents, mail in the Trash, orphaned files. It stops counting at once. This cannot be undone. Items not
1537
+ * and documents, mail in the Trash, orphaned files. It stops counting, and is gone from the trash, when this
1538
+ * returns; the files themselves are deleted right after, in the background. This cannot be undone. Items not
1538
1539
  * in the trash are never touched.
1539
1540
  */
1540
1541
  delete: operations['purge_storage_items'];
@@ -2116,7 +2117,8 @@ interface paths$1 {
2116
2117
  * The target must be a workspace you own or collaborate on. Poll
2117
2118
  * ``GET /transfer/{id}`` for progress. Everything is re-encrypted under the
2118
2119
  * target workspace key; each item keeps its privacy (a private item is in scope
2119
- * only if it is yours). Copied automations arrive paused. A move removes an item
2120
+ * only if it is yours), except a page, which always arrives private to you (share
2121
+ * it there yourself). Copied automations arrive paused. A move removes an item
2120
2122
  * from here only after it, and everything else, has been copied — and only if you
2121
2123
  * may delete it here; otherwise it is copied and kept.
2122
2124
  */
@@ -9694,6 +9696,35 @@ interface components$1 {
9694
9696
  */
9695
9697
  initials_image?: string | null;
9696
9698
  };
9699
+ /** AgendaBlock */
9700
+ AgendaBlock: {
9701
+ /** Id */
9702
+ id: string;
9703
+ layout?: components$1['schemas']['BlockLayout'];
9704
+ /**
9705
+ * @description discriminator enum property added by openapi-typescript
9706
+ * @enum {string}
9707
+ */
9708
+ kind: 'agenda';
9709
+ config?: components$1['schemas']['AgendaBlockConfig'];
9710
+ };
9711
+ /**
9712
+ * AgendaBlockConfig
9713
+ * @description The viewer's own next calendar events.
9714
+ */
9715
+ AgendaBlockConfig: {
9716
+ /**
9717
+ * Days
9718
+ * @description How far ahead it looks
9719
+ * @default 7
9720
+ */
9721
+ days: number;
9722
+ /**
9723
+ * Limit
9724
+ * @default 8
9725
+ */
9726
+ limit: number;
9727
+ };
9697
9728
  /** AgentChatResponse */
9698
9729
  AgentChatResponse: {
9699
9730
  /** Conversation Ext Id */
@@ -13051,6 +13082,35 @@ interface components$1 {
13051
13082
  */
13052
13083
  transcription_available: boolean;
13053
13084
  };
13085
+ /** CarouselBlock */
13086
+ CarouselBlock: {
13087
+ /** Id */
13088
+ id: string;
13089
+ layout?: components$1['schemas']['BlockLayout'];
13090
+ /**
13091
+ * @description discriminator enum property added by openapi-typescript
13092
+ * @enum {string}
13093
+ */
13094
+ kind: 'carousel';
13095
+ config: components$1['schemas']['CarouselBlockConfig'];
13096
+ };
13097
+ /**
13098
+ * CarouselBlockConfig
13099
+ * @description A row of cards the viewer can start or open: their skills (each opens its launcher) or their workflows (each
13100
+ * opens the workflow). It names no item.
13101
+ */
13102
+ CarouselBlockConfig: {
13103
+ /**
13104
+ * Source
13105
+ * @enum {string}
13106
+ */
13107
+ source: 'skills' | 'workflows';
13108
+ /**
13109
+ * Limit
13110
+ * @default 12
13111
+ */
13112
+ limit: number;
13113
+ };
13054
13114
  /**
13055
13115
  * ChangePasswordRequest
13056
13116
  * @description Change the master password: replace the password key and the wrapped identity key, nothing else.
@@ -13858,7 +13918,7 @@ interface components$1 {
13858
13918
  };
13859
13919
  /**
13860
13920
  * ConflictPolicy
13861
- * @description When the target already has a same-named document / automation, or an identical note.
13921
+ * @description When the target already has a same-named document / automation / page, or an identical note.
13862
13922
  * @enum {string}
13863
13923
  */
13864
13924
  ConflictPolicy: 'skip' | 'keep_both';
@@ -14607,7 +14667,7 @@ interface components$1 {
14607
14667
  * @description Which entity a copy result refers to — derived from the ext-id prefix.
14608
14668
  * @enum {string}
14609
14669
  */
14610
- CopyItemKind: 'document' | 'tag' | 'doctag' | 'fact' | 'chat' | 'workflow' | 'unknown';
14670
+ CopyItemKind: 'document' | 'tag' | 'doctag' | 'fact' | 'chat' | 'workflow' | 'page' | 'unknown';
14611
14671
  /** CopyRequest */
14612
14672
  CopyRequest: {
14613
14673
  /** Target Workspace Ext Id */
@@ -18159,6 +18219,41 @@ interface components$1 {
18159
18219
  */
18160
18220
  NORMALIZE_TRADITIONAL_TO_SIMPLIFIED: boolean;
18161
18221
  };
18222
+ /** ListBlock */
18223
+ ListBlock: {
18224
+ /** Id */
18225
+ id: string;
18226
+ layout?: components$1['schemas']['BlockLayout'];
18227
+ /**
18228
+ * @description discriminator enum property added by openapi-typescript
18229
+ * @enum {string}
18230
+ */
18231
+ kind: 'list';
18232
+ config: components$1['schemas']['ListBlockConfig'];
18233
+ };
18234
+ /**
18235
+ * ListBlockConfig
18236
+ * @description A live list of the viewer's own recent items of one source, each row opening its item: the latest files, the
18237
+ * latest threads, or the facts (upcoming dated ones, the newest others). It names no item.
18238
+ */
18239
+ ListBlockConfig: {
18240
+ /**
18241
+ * Source
18242
+ * @enum {string}
18243
+ */
18244
+ source: 'documents' | 'conversations' | 'facts';
18245
+ /**
18246
+ * Limit
18247
+ * @description Rows shown (facts: rows per group)
18248
+ * @default 5
18249
+ */
18250
+ limit: number;
18251
+ /**
18252
+ * Facts
18253
+ * @description Facts only: which groups show (default both, upcoming dated first)
18254
+ */
18255
+ facts?: ('upcoming_and_newest' | 'upcoming' | 'newest') | null;
18256
+ };
18162
18257
  /**
18163
18258
  * LoginRequest
18164
18259
  * @description Unified login request for users and agents.
@@ -20178,7 +20273,7 @@ interface components$1 {
20178
20273
  /** Description */
20179
20274
  description?: string | null;
20180
20275
  /** Blocks */
20181
- blocks?: (components$1['schemas']['ChartBlock'] | components$1['schemas']['MetricBlock'] | components$1['schemas']['TextBlock'] | components$1['schemas']['TableBlock'] | components$1['schemas']['DocumentBlock'] | components$1['schemas']['GalleryBlock'])[];
20276
+ blocks?: (components$1['schemas']['ChartBlock'] | components$1['schemas']['MetricBlock'] | components$1['schemas']['TextBlock'] | components$1['schemas']['TableBlock'] | components$1['schemas']['DocumentBlock'] | components$1['schemas']['GalleryBlock'] | components$1['schemas']['ListBlock'] | components$1['schemas']['CarouselBlock'] | components$1['schemas']['AgendaBlock'] | components$1['schemas']['StartBlock'])[];
20182
20277
  };
20183
20278
  /**
20184
20279
  * PageViewRef
@@ -21877,7 +21972,8 @@ interface components$1 {
21877
21972
  };
21878
21973
  /**
21879
21974
  * ReferencedDocuments
21880
- * @description What to do with a document a note / conversation / automation cites but the scope does not include.
21975
+ * @description What to do with a document a note / conversation / automation cites, or a page shows, but the scope does not
21976
+ * include. A page's table views (and the databases its charts read) are never copied: they always stay linked.
21881
21977
  * @enum {string}
21882
21978
  */
21883
21979
  ReferencedDocuments: 'include' | 'link';
@@ -24197,6 +24293,23 @@ interface components$1 {
24197
24293
  /** Image */
24198
24294
  image?: string | null;
24199
24295
  };
24296
+ /** StartBlock */
24297
+ StartBlock: {
24298
+ /** Id */
24299
+ id: string;
24300
+ layout?: components$1['schemas']['BlockLayout'];
24301
+ /**
24302
+ * @description discriminator enum property added by openapi-typescript
24303
+ * @enum {string}
24304
+ */
24305
+ kind: 'start';
24306
+ config?: components$1['schemas']['StartBlockConfig'];
24307
+ };
24308
+ /**
24309
+ * StartBlockConfig
24310
+ * @description The workspace home's Start band (what the viewer can start, and adding files): nothing to configure.
24311
+ */
24312
+ StartBlockConfig: Record<string, never>;
24200
24313
  /**
24201
24314
  * StepActionRequest
24202
24315
  * @description A person finishes a step of a workflow run (``POST /v1/conversation/{id}/step``).
@@ -25895,7 +26008,7 @@ interface components$1 {
25895
26008
  * @description The entity types a user can tick. Folders are not a kind: they are a property of documents.
25896
26009
  * @enum {string}
25897
26010
  */
25898
- TransferKind: 'documents' | 'skills' | 'labels' | 'fields' | 'facts' | 'conversations' | 'automations';
26011
+ TransferKind: 'documents' | 'skills' | 'labels' | 'fields' | 'facts' | 'conversations' | 'automations' | 'pages';
25899
26012
  /**
25900
26013
  * TransferMode
25901
26014
  * @enum {string}
@@ -25978,7 +26091,7 @@ interface components$1 {
25978
26091
  kind: components$1['schemas']['TransferScopeKind'];
25979
26092
  /**
25980
26093
  * Items
25981
- * @description selection: external ids — documents (doc-), labels/fields (tag-), facts (fct-), conversations (con-) and automations (wfl-). A document brings all its versions and its attachments.
26094
+ * @description selection: external ids — documents (doc-), labels/fields (tag-), facts (fct-), conversations (con-), automations (wfl-) and pages (pag-). A document brings all its versions and its attachments. A page saved before pages existed and not yet opened in a workspace cannot be transferred (it is sealed to its owner; opening and saving it places it).
25982
26095
  */
25983
26096
  items?: string[];
25984
26097
  /** Label Ext Id */
package/dist/index.d.ts CHANGED
@@ -1534,7 +1534,8 @@ interface paths$1 {
1534
1534
  /**
1535
1535
  * Purge Storage Items
1536
1536
  * @description Delete permanently what is in a project's trash now (Empty trash), or only some of it: deleted workspaces
1537
- * and documents, mail in the Trash, orphaned files. It stops counting at once. This cannot be undone. Items not
1537
+ * and documents, mail in the Trash, orphaned files. It stops counting, and is gone from the trash, when this
1538
+ * returns; the files themselves are deleted right after, in the background. This cannot be undone. Items not
1538
1539
  * in the trash are never touched.
1539
1540
  */
1540
1541
  delete: operations['purge_storage_items'];
@@ -2116,7 +2117,8 @@ interface paths$1 {
2116
2117
  * The target must be a workspace you own or collaborate on. Poll
2117
2118
  * ``GET /transfer/{id}`` for progress. Everything is re-encrypted under the
2118
2119
  * target workspace key; each item keeps its privacy (a private item is in scope
2119
- * only if it is yours). Copied automations arrive paused. A move removes an item
2120
+ * only if it is yours), except a page, which always arrives private to you (share
2121
+ * it there yourself). Copied automations arrive paused. A move removes an item
2120
2122
  * from here only after it, and everything else, has been copied — and only if you
2121
2123
  * may delete it here; otherwise it is copied and kept.
2122
2124
  */
@@ -9694,6 +9696,35 @@ interface components$1 {
9694
9696
  */
9695
9697
  initials_image?: string | null;
9696
9698
  };
9699
+ /** AgendaBlock */
9700
+ AgendaBlock: {
9701
+ /** Id */
9702
+ id: string;
9703
+ layout?: components$1['schemas']['BlockLayout'];
9704
+ /**
9705
+ * @description discriminator enum property added by openapi-typescript
9706
+ * @enum {string}
9707
+ */
9708
+ kind: 'agenda';
9709
+ config?: components$1['schemas']['AgendaBlockConfig'];
9710
+ };
9711
+ /**
9712
+ * AgendaBlockConfig
9713
+ * @description The viewer's own next calendar events.
9714
+ */
9715
+ AgendaBlockConfig: {
9716
+ /**
9717
+ * Days
9718
+ * @description How far ahead it looks
9719
+ * @default 7
9720
+ */
9721
+ days: number;
9722
+ /**
9723
+ * Limit
9724
+ * @default 8
9725
+ */
9726
+ limit: number;
9727
+ };
9697
9728
  /** AgentChatResponse */
9698
9729
  AgentChatResponse: {
9699
9730
  /** Conversation Ext Id */
@@ -13051,6 +13082,35 @@ interface components$1 {
13051
13082
  */
13052
13083
  transcription_available: boolean;
13053
13084
  };
13085
+ /** CarouselBlock */
13086
+ CarouselBlock: {
13087
+ /** Id */
13088
+ id: string;
13089
+ layout?: components$1['schemas']['BlockLayout'];
13090
+ /**
13091
+ * @description discriminator enum property added by openapi-typescript
13092
+ * @enum {string}
13093
+ */
13094
+ kind: 'carousel';
13095
+ config: components$1['schemas']['CarouselBlockConfig'];
13096
+ };
13097
+ /**
13098
+ * CarouselBlockConfig
13099
+ * @description A row of cards the viewer can start or open: their skills (each opens its launcher) or their workflows (each
13100
+ * opens the workflow). It names no item.
13101
+ */
13102
+ CarouselBlockConfig: {
13103
+ /**
13104
+ * Source
13105
+ * @enum {string}
13106
+ */
13107
+ source: 'skills' | 'workflows';
13108
+ /**
13109
+ * Limit
13110
+ * @default 12
13111
+ */
13112
+ limit: number;
13113
+ };
13054
13114
  /**
13055
13115
  * ChangePasswordRequest
13056
13116
  * @description Change the master password: replace the password key and the wrapped identity key, nothing else.
@@ -13858,7 +13918,7 @@ interface components$1 {
13858
13918
  };
13859
13919
  /**
13860
13920
  * ConflictPolicy
13861
- * @description When the target already has a same-named document / automation, or an identical note.
13921
+ * @description When the target already has a same-named document / automation / page, or an identical note.
13862
13922
  * @enum {string}
13863
13923
  */
13864
13924
  ConflictPolicy: 'skip' | 'keep_both';
@@ -14607,7 +14667,7 @@ interface components$1 {
14607
14667
  * @description Which entity a copy result refers to — derived from the ext-id prefix.
14608
14668
  * @enum {string}
14609
14669
  */
14610
- CopyItemKind: 'document' | 'tag' | 'doctag' | 'fact' | 'chat' | 'workflow' | 'unknown';
14670
+ CopyItemKind: 'document' | 'tag' | 'doctag' | 'fact' | 'chat' | 'workflow' | 'page' | 'unknown';
14611
14671
  /** CopyRequest */
14612
14672
  CopyRequest: {
14613
14673
  /** Target Workspace Ext Id */
@@ -18159,6 +18219,41 @@ interface components$1 {
18159
18219
  */
18160
18220
  NORMALIZE_TRADITIONAL_TO_SIMPLIFIED: boolean;
18161
18221
  };
18222
+ /** ListBlock */
18223
+ ListBlock: {
18224
+ /** Id */
18225
+ id: string;
18226
+ layout?: components$1['schemas']['BlockLayout'];
18227
+ /**
18228
+ * @description discriminator enum property added by openapi-typescript
18229
+ * @enum {string}
18230
+ */
18231
+ kind: 'list';
18232
+ config: components$1['schemas']['ListBlockConfig'];
18233
+ };
18234
+ /**
18235
+ * ListBlockConfig
18236
+ * @description A live list of the viewer's own recent items of one source, each row opening its item: the latest files, the
18237
+ * latest threads, or the facts (upcoming dated ones, the newest others). It names no item.
18238
+ */
18239
+ ListBlockConfig: {
18240
+ /**
18241
+ * Source
18242
+ * @enum {string}
18243
+ */
18244
+ source: 'documents' | 'conversations' | 'facts';
18245
+ /**
18246
+ * Limit
18247
+ * @description Rows shown (facts: rows per group)
18248
+ * @default 5
18249
+ */
18250
+ limit: number;
18251
+ /**
18252
+ * Facts
18253
+ * @description Facts only: which groups show (default both, upcoming dated first)
18254
+ */
18255
+ facts?: ('upcoming_and_newest' | 'upcoming' | 'newest') | null;
18256
+ };
18162
18257
  /**
18163
18258
  * LoginRequest
18164
18259
  * @description Unified login request for users and agents.
@@ -20178,7 +20273,7 @@ interface components$1 {
20178
20273
  /** Description */
20179
20274
  description?: string | null;
20180
20275
  /** Blocks */
20181
- blocks?: (components$1['schemas']['ChartBlock'] | components$1['schemas']['MetricBlock'] | components$1['schemas']['TextBlock'] | components$1['schemas']['TableBlock'] | components$1['schemas']['DocumentBlock'] | components$1['schemas']['GalleryBlock'])[];
20276
+ blocks?: (components$1['schemas']['ChartBlock'] | components$1['schemas']['MetricBlock'] | components$1['schemas']['TextBlock'] | components$1['schemas']['TableBlock'] | components$1['schemas']['DocumentBlock'] | components$1['schemas']['GalleryBlock'] | components$1['schemas']['ListBlock'] | components$1['schemas']['CarouselBlock'] | components$1['schemas']['AgendaBlock'] | components$1['schemas']['StartBlock'])[];
20182
20277
  };
20183
20278
  /**
20184
20279
  * PageViewRef
@@ -21877,7 +21972,8 @@ interface components$1 {
21877
21972
  };
21878
21973
  /**
21879
21974
  * ReferencedDocuments
21880
- * @description What to do with a document a note / conversation / automation cites but the scope does not include.
21975
+ * @description What to do with a document a note / conversation / automation cites, or a page shows, but the scope does not
21976
+ * include. A page's table views (and the databases its charts read) are never copied: they always stay linked.
21881
21977
  * @enum {string}
21882
21978
  */
21883
21979
  ReferencedDocuments: 'include' | 'link';
@@ -24197,6 +24293,23 @@ interface components$1 {
24197
24293
  /** Image */
24198
24294
  image?: string | null;
24199
24295
  };
24296
+ /** StartBlock */
24297
+ StartBlock: {
24298
+ /** Id */
24299
+ id: string;
24300
+ layout?: components$1['schemas']['BlockLayout'];
24301
+ /**
24302
+ * @description discriminator enum property added by openapi-typescript
24303
+ * @enum {string}
24304
+ */
24305
+ kind: 'start';
24306
+ config?: components$1['schemas']['StartBlockConfig'];
24307
+ };
24308
+ /**
24309
+ * StartBlockConfig
24310
+ * @description The workspace home's Start band (what the viewer can start, and adding files): nothing to configure.
24311
+ */
24312
+ StartBlockConfig: Record<string, never>;
24200
24313
  /**
24201
24314
  * StepActionRequest
24202
24315
  * @description A person finishes a step of a workflow run (``POST /v1/conversation/{id}/step``).
@@ -25895,7 +26008,7 @@ interface components$1 {
25895
26008
  * @description The entity types a user can tick. Folders are not a kind: they are a property of documents.
25896
26009
  * @enum {string}
25897
26010
  */
25898
- TransferKind: 'documents' | 'skills' | 'labels' | 'fields' | 'facts' | 'conversations' | 'automations';
26011
+ TransferKind: 'documents' | 'skills' | 'labels' | 'fields' | 'facts' | 'conversations' | 'automations' | 'pages';
25899
26012
  /**
25900
26013
  * TransferMode
25901
26014
  * @enum {string}
@@ -25978,7 +26091,7 @@ interface components$1 {
25978
26091
  kind: components$1['schemas']['TransferScopeKind'];
25979
26092
  /**
25980
26093
  * Items
25981
- * @description selection: external ids — documents (doc-), labels/fields (tag-), facts (fct-), conversations (con-) and automations (wfl-). A document brings all its versions and its attachments.
26094
+ * @description selection: external ids — documents (doc-), labels/fields (tag-), facts (fct-), conversations (con-), automations (wfl-) and pages (pag-). A document brings all its versions and its attachments. A page saved before pages existed and not yet opened in a workspace cannot be transferred (it is sealed to its owner; opening and saving it places it).
25982
26095
  */
25983
26096
  items?: string[];
25984
26097
  /** Label Ext Id */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/client",
3
- "version": "0.5.153",
3
+ "version": "0.5.155",
4
4
  "description": "TypeScript SDK for the ARBI API — zero-knowledge auth, E2E encryption, and type-safe REST client",
5
5
  "type": "module",
6
6
  "sideEffects": false,