@arke-institute/sdk 3.6.9 → 3.6.11

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.
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * Source: Arke v1 API
8
8
  * Version: 1.0.0
9
- * Generated: 2026-02-16T21:35:43.532Z
9
+ * Generated: 2026-02-16T23:01:40.798Z
10
10
  */
11
11
  type paths = {
12
12
  "/ops-reference": {
@@ -6603,7 +6603,7 @@ type paths = {
6603
6603
  *
6604
6604
  * **Event data:**
6605
6605
  * - `id`: Auto-increment ID
6606
- * - `pi`: Entity ID that changed
6606
+ * - `entity_id`: Entity ID that changed
6607
6607
  * - `cid`: New manifest CID
6608
6608
  * - `ts`: ISO timestamp
6609
6609
  *
@@ -9290,9 +9290,8 @@ type components = {
9290
9290
  /**
9291
9291
  * @description Whether to merge with default roles (true) or use only provided roles (false). Public role with *:view is always ensured.
9292
9292
  * @default true
9293
- * @example true
9294
9293
  */
9295
- use_roles_default: boolean;
9294
+ use_roles_default: boolean | null;
9296
9295
  /**
9297
9296
  * @description Role definitions. When use_roles_default is true (default), these merge with defaults. When false, these replace defaults entirely.
9298
9297
  * @example {
@@ -9831,7 +9830,7 @@ type components = {
9831
9830
  * @description Wait for collection index update before returning. Use when checking for duplicates immediately after creation. Adds ~1-5ms latency per collection.
9832
9831
  * @default false
9833
9832
  */
9834
- sync_index: boolean;
9833
+ sync_index: boolean | null;
9835
9834
  };
9836
9835
  BatchCreateSuccess: {
9837
9836
  /** @enum {boolean} */
@@ -10013,7 +10012,7 @@ type components = {
10013
10012
  * @description Wait for collection index update before returning. Use when checking index immediately after update.
10014
10013
  * @default false
10015
10014
  */
10016
- sync_index: boolean;
10015
+ sync_index: boolean | null;
10017
10016
  };
10018
10017
  EntityDeletedResponse: {
10019
10018
  /**
@@ -10062,7 +10061,7 @@ type components = {
10062
10061
  * @description Wait for collection index removal before returning. Use when checking index immediately after deletion.
10063
10062
  * @default false
10064
10063
  */
10065
- sync_index: boolean;
10064
+ sync_index: boolean | null;
10066
10065
  };
10067
10066
  CascadeDeletedEntity: {
10068
10067
  /**
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * Source: Arke v1 API
8
8
  * Version: 1.0.0
9
- * Generated: 2026-02-16T21:35:43.532Z
9
+ * Generated: 2026-02-16T23:01:40.798Z
10
10
  */
11
11
  type paths = {
12
12
  "/ops-reference": {
@@ -6603,7 +6603,7 @@ type paths = {
6603
6603
  *
6604
6604
  * **Event data:**
6605
6605
  * - `id`: Auto-increment ID
6606
- * - `pi`: Entity ID that changed
6606
+ * - `entity_id`: Entity ID that changed
6607
6607
  * - `cid`: New manifest CID
6608
6608
  * - `ts`: ISO timestamp
6609
6609
  *
@@ -9290,9 +9290,8 @@ type components = {
9290
9290
  /**
9291
9291
  * @description Whether to merge with default roles (true) or use only provided roles (false). Public role with *:view is always ensured.
9292
9292
  * @default true
9293
- * @example true
9294
9293
  */
9295
- use_roles_default: boolean;
9294
+ use_roles_default: boolean | null;
9296
9295
  /**
9297
9296
  * @description Role definitions. When use_roles_default is true (default), these merge with defaults. When false, these replace defaults entirely.
9298
9297
  * @example {
@@ -9831,7 +9830,7 @@ type components = {
9831
9830
  * @description Wait for collection index update before returning. Use when checking for duplicates immediately after creation. Adds ~1-5ms latency per collection.
9832
9831
  * @default false
9833
9832
  */
9834
- sync_index: boolean;
9833
+ sync_index: boolean | null;
9835
9834
  };
9836
9835
  BatchCreateSuccess: {
9837
9836
  /** @enum {boolean} */
@@ -10013,7 +10012,7 @@ type components = {
10013
10012
  * @description Wait for collection index update before returning. Use when checking index immediately after update.
10014
10013
  * @default false
10015
10014
  */
10016
- sync_index: boolean;
10015
+ sync_index: boolean | null;
10017
10016
  };
10018
10017
  EntityDeletedResponse: {
10019
10018
  /**
@@ -10062,7 +10061,7 @@ type components = {
10062
10061
  * @description Wait for collection index removal before returning. Use when checking index immediately after deletion.
10063
10062
  * @default false
10064
10063
  */
10065
- sync_index: boolean;
10064
+ sync_index: boolean | null;
10066
10065
  };
10067
10066
  CascadeDeletedEntity: {
10068
10067
  /**
package/openapi/spec.json CHANGED
@@ -1122,9 +1122,9 @@
1122
1122
  },
1123
1123
  "use_roles_default": {
1124
1124
  "type": "boolean",
1125
+ "nullable": true,
1125
1126
  "default": true,
1126
- "description": "Whether to merge with default roles (true) or use only provided roles (false). Public role with *:view is always ensured.",
1127
- "example": true
1127
+ "description": "Whether to merge with default roles (true) or use only provided roles (false). Public role with *:view is always ensured."
1128
1128
  },
1129
1129
  "roles": {
1130
1130
  "type": "object",
@@ -2252,6 +2252,7 @@
2252
2252
  },
2253
2253
  "sync_index": {
2254
2254
  "type": "boolean",
2255
+ "nullable": true,
2255
2256
  "default": false,
2256
2257
  "description": "Wait for collection index update before returning. Use when checking for duplicates immediately after creation. Adds ~1-5ms latency per collection."
2257
2258
  }
@@ -2698,6 +2699,7 @@
2698
2699
  },
2699
2700
  "sync_index": {
2700
2701
  "type": "boolean",
2702
+ "nullable": true,
2701
2703
  "default": false,
2702
2704
  "description": "Wait for collection index update before returning. Use when checking index immediately after update."
2703
2705
  }
@@ -2770,6 +2772,7 @@
2770
2772
  },
2771
2773
  "sync_index": {
2772
2774
  "type": "boolean",
2775
+ "nullable": true,
2773
2776
  "default": false,
2774
2777
  "description": "Wait for collection index removal before returning. Use when checking index immediately after deletion."
2775
2778
  }
@@ -14724,7 +14727,7 @@
14724
14727
  "Events"
14725
14728
  ],
14726
14729
  "summary": "List entity change events",
14727
- "description": "Returns a cursor-based list of entity change events for client synchronization.\n\n**Usage:**\n- Call without cursor to get newest events\n- Use returned `cursor` as `?cursor=` to get older events\n- Poll without cursor periodically to check for new events\n\n**Sync flow:**\n1. Initial: `GET /events` → get newest, save highest `id` as high-water mark\n2. Paginate: `GET /events?cursor=X` → get older events until `has_more=false`\n3. Poll: `GET /events` → if newest `id` > high-water mark, process new events\n\n**Event data:**\n- `id`: Auto-increment ID\n- `pi`: Entity ID that changed\n- `cid`: New manifest CID\n- `ts`: ISO timestamp\n\nEvents are ephemeral (30-day rolling window) - for full sync, use snapshots.\n\n---\n**Permission:** `events:list` \n**Auth:** none",
14730
+ "description": "Returns a cursor-based list of entity change events for client synchronization.\n\n**Usage:**\n- Call without cursor to get newest events\n- Use returned `cursor` as `?cursor=` to get older events\n- Poll without cursor periodically to check for new events\n\n**Sync flow:**\n1. Initial: `GET /events` → get newest, save highest `id` as high-water mark\n2. Paginate: `GET /events?cursor=X` → get older events until `has_more=false`\n3. Poll: `GET /events` → if newest `id` > high-water mark, process new events\n\n**Event data:**\n- `id`: Auto-increment ID\n- `entity_id`: Entity ID that changed\n- `cid`: New manifest CID\n- `ts`: ISO timestamp\n\nEvents are ephemeral (30-day rolling window) - for full sync, use snapshots.\n\n---\n**Permission:** `events:list` \n**Auth:** none",
14728
14731
  "x-arke-action": "events:list",
14729
14732
  "x-arke-auth": "none",
14730
14733
  "x-arke-tier": "standard",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "specVersion": "1.0.0",
3
3
  "apiVersion": "1.0.0",
4
- "fetchedAt": "2026-02-16T21:35:42.543Z",
4
+ "fetchedAt": "2026-02-16T23:01:39.884Z",
5
5
  "sourceUrl": "https://api.arke.institute/openapi.json",
6
6
  "openApiVersion": "3.1.0"
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arke-institute/sdk",
3
- "version": "3.6.9",
3
+ "version": "3.6.11",
4
4
  "description": "TypeScript SDK for the Arke API - auto-generated from OpenAPI spec",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",