@amigo-ai/platform-sdk 0.56.0 → 0.57.0
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 +9 -6
- package/api.md +9 -22
- package/dist/index.cjs +67 -166
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +67 -166
- package/dist/index.mjs.map +4 -4
- package/dist/resources/fhir.js +1 -7
- package/dist/resources/fhir.js.map +1 -1
- package/dist/resources/settings.js +1 -19
- package/dist/resources/settings.js.map +1 -1
- package/dist/resources/workspace-data-queries.js +41 -0
- package/dist/resources/workspace-data-queries.js.map +1 -0
- package/dist/resources/world.js +0 -27
- package/dist/resources/world.js.map +1 -1
- package/dist/types/generated/api.d.ts +885 -2242
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/index.d.cts +4 -2
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.ts +4 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/resources/actions.d.ts +0 -5
- package/dist/types/resources/actions.d.ts.map +1 -1
- package/dist/types/resources/calls.d.ts +12 -0
- package/dist/types/resources/calls.d.ts.map +1 -1
- package/dist/types/resources/fhir.d.ts +1 -22
- package/dist/types/resources/fhir.d.ts.map +1 -1
- package/dist/types/resources/intake.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts +6 -2
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts +135 -0
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts +5 -143
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/skills.d.ts +0 -5
- package/dist/types/resources/skills.d.ts.map +1 -1
- package/dist/types/resources/surfaces.d.ts.map +1 -1
- package/dist/types/resources/workspace-data-queries.d.ts +22 -0
- package/dist/types/resources/workspace-data-queries.d.ts.map +1 -0
- package/dist/types/resources/world.d.ts +25 -82
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/resources/webhook-destinations.js +0 -50
- package/dist/resources/webhook-destinations.js.map +0 -1
- package/dist/types/resources/webhook-destinations.d.ts +0 -125
- package/dist/types/resources/webhook-destinations.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -715,15 +715,18 @@ const fn = await client.functions.get('my-function')
|
|
|
715
715
|
const result = await client.functions.test('my-function', { input: { query: 'test' } })
|
|
716
716
|
```
|
|
717
717
|
|
|
718
|
-
###
|
|
718
|
+
### Workspace Data Queries
|
|
719
719
|
|
|
720
720
|
```typescript
|
|
721
|
-
const
|
|
722
|
-
name: '
|
|
723
|
-
|
|
724
|
-
|
|
721
|
+
const query = await client.workspaceDataQueries.create({
|
|
722
|
+
name: 'recent_orders',
|
|
723
|
+
description: 'Recent orders by status',
|
|
724
|
+
sql_template: 'select * from custom.orders where status = :status',
|
|
725
|
+
parameters: [{ name: 'status', type: 'string', description: 'Order status' }],
|
|
726
|
+
})
|
|
727
|
+
const result = await client.workspaceDataQueries.invoke(query.id, {
|
|
728
|
+
input: { status: 'open' },
|
|
725
729
|
})
|
|
726
|
-
const deliveries = await client.webhookDestinations.listDeliveries(dest.id)
|
|
727
730
|
```
|
|
728
731
|
|
|
729
732
|
## Webhook Verification
|
package/api.md
CHANGED
|
@@ -221,11 +221,6 @@ All workspace-scoped resources also expose `withOptions(options)`.
|
|
|
221
221
|
- `getTimeline`
|
|
222
222
|
- `getTimelineAutoPaging`
|
|
223
223
|
- `getSyncStatusBySink`
|
|
224
|
-
- `listSyncEvents`
|
|
225
|
-
- `listSyncEventsAutoPaging`
|
|
226
|
-
- `getSyncQueueDepth`
|
|
227
|
-
- `retrySyncEvent`
|
|
228
|
-
- `retryAllSyncEvents`
|
|
229
224
|
- `getStats`
|
|
230
225
|
- `getSourceBreakdown`
|
|
231
226
|
|
|
@@ -339,8 +334,6 @@ All workspace-scoped resources also expose `withOptions(options)`.
|
|
|
339
334
|
- `memory.update`
|
|
340
335
|
- `retention.get`
|
|
341
336
|
- `retention.update`
|
|
342
|
-
- `behaviors.get`
|
|
343
|
-
- `behaviors.update`
|
|
344
337
|
- `gapScanner.get`
|
|
345
338
|
- `gapScanner.update`
|
|
346
339
|
- `gapScanner.preview`
|
|
@@ -349,8 +342,6 @@ All workspace-scoped resources also expose `withOptions(options)`.
|
|
|
349
342
|
- `metrics.update`
|
|
350
343
|
- `environments.get`
|
|
351
344
|
- `environments.update`
|
|
352
|
-
- `workflows.get`
|
|
353
|
-
- `workflows.update`
|
|
354
345
|
|
|
355
346
|
### `billing`
|
|
356
347
|
|
|
@@ -409,18 +400,6 @@ All workspace-scoped resources also expose `withOptions(options)`.
|
|
|
409
400
|
- `getEntityAccessLog`
|
|
410
401
|
- `getEntityAccessLogAutoPaging`
|
|
411
402
|
|
|
412
|
-
### `webhookDestinations`
|
|
413
|
-
|
|
414
|
-
- `list`
|
|
415
|
-
- `listAutoPaging`
|
|
416
|
-
- `create`
|
|
417
|
-
- `get`
|
|
418
|
-
- `update`
|
|
419
|
-
- `delete`
|
|
420
|
-
- `listDeliveries`
|
|
421
|
-
- `listDeliveriesAutoPaging`
|
|
422
|
-
- `rotateSecret`
|
|
423
|
-
|
|
424
403
|
### `compliance`
|
|
425
404
|
|
|
426
405
|
- `getDashboard`
|
|
@@ -447,7 +426,6 @@ All workspace-scoped resources also expose `withOptions(options)`.
|
|
|
447
426
|
### `fhir`
|
|
448
427
|
|
|
449
428
|
- `getStatus`
|
|
450
|
-
- `getSyncFailures`
|
|
451
429
|
- `import`
|
|
452
430
|
- `searchPatients`
|
|
453
431
|
- `getPatientSummary`
|
|
@@ -574,4 +552,13 @@ All workspace-scoped resources also expose `withOptions(options)`.
|
|
|
574
552
|
- `deleteQueryTool`
|
|
575
553
|
- `testQueryTool`
|
|
576
554
|
|
|
555
|
+
### `workspaceDataQueries`
|
|
556
|
+
|
|
557
|
+
- `list`
|
|
558
|
+
- `create`
|
|
559
|
+
- `get`
|
|
560
|
+
- `update`
|
|
561
|
+
- `delete`
|
|
562
|
+
- `invoke`
|
|
563
|
+
|
|
577
564
|
### `api`
|
package/dist/index.cjs
CHANGED
|
@@ -2005,45 +2005,6 @@ var WorldResource = class extends WorkspaceScopedResource {
|
|
|
2005
2005
|
})
|
|
2006
2006
|
);
|
|
2007
2007
|
}
|
|
2008
|
-
/** List sync events with status filtering */
|
|
2009
|
-
async listSyncEvents(params) {
|
|
2010
|
-
return extractData(
|
|
2011
|
-
await this.client.GET("/v1/{workspace_id}/world/sync/events", {
|
|
2012
|
-
params: { path: { workspace_id: this.workspaceId }, query: params }
|
|
2013
|
-
})
|
|
2014
|
-
);
|
|
2015
|
-
}
|
|
2016
|
-
listSyncEventsAutoPaging(params) {
|
|
2017
|
-
return this.iterateOffsetPaginatedList(
|
|
2018
|
-
(pageParams) => this.listSyncEvents(pageParams),
|
|
2019
|
-
(page) => page.events,
|
|
2020
|
-
params
|
|
2021
|
-
);
|
|
2022
|
-
}
|
|
2023
|
-
/** Get current sync queue depth */
|
|
2024
|
-
async getSyncQueueDepth() {
|
|
2025
|
-
return extractData(
|
|
2026
|
-
await this.client.GET("/v1/{workspace_id}/world/sync/queue", {
|
|
2027
|
-
params: { path: { workspace_id: this.workspaceId } }
|
|
2028
|
-
})
|
|
2029
|
-
);
|
|
2030
|
-
}
|
|
2031
|
-
/** Retry a single failed sync event */
|
|
2032
|
-
async retrySyncEvent(eventId2) {
|
|
2033
|
-
return extractData(
|
|
2034
|
-
await this.client.POST("/v1/{workspace_id}/world/sync/retry/{event_id}", {
|
|
2035
|
-
params: { path: { workspace_id: this.workspaceId, event_id: eventId2 } }
|
|
2036
|
-
})
|
|
2037
|
-
);
|
|
2038
|
-
}
|
|
2039
|
-
/** Retry all failed sync events */
|
|
2040
|
-
async retryAllSyncEvents() {
|
|
2041
|
-
return extractData(
|
|
2042
|
-
await this.client.POST("/v1/{workspace_id}/world/sync/retry-all", {
|
|
2043
|
-
params: { path: { workspace_id: this.workspaceId } }
|
|
2044
|
-
})
|
|
2045
|
-
);
|
|
2046
|
-
}
|
|
2047
2008
|
// ---- Statistics ----
|
|
2048
2009
|
/** Get aggregate entity and event statistics */
|
|
2049
2010
|
async getStats() {
|
|
@@ -3162,19 +3123,6 @@ var SettingsResource = class extends WorkspaceScopedResource {
|
|
|
3162
3123
|
})
|
|
3163
3124
|
)
|
|
3164
3125
|
};
|
|
3165
|
-
behaviors = {
|
|
3166
|
-
get: async () => extractData(
|
|
3167
|
-
await this.client.GET("/v1/{workspace_id}/settings/behaviors", {
|
|
3168
|
-
params: { path: { workspace_id: this.workspaceId } }
|
|
3169
|
-
})
|
|
3170
|
-
),
|
|
3171
|
-
update: async (body) => extractData(
|
|
3172
|
-
await this.client.PUT("/v1/{workspace_id}/settings/behaviors", {
|
|
3173
|
-
params: { path: { workspace_id: this.workspaceId } },
|
|
3174
|
-
body
|
|
3175
|
-
})
|
|
3176
|
-
)
|
|
3177
|
-
};
|
|
3178
3126
|
gapScanner = {
|
|
3179
3127
|
get: async () => extractData(
|
|
3180
3128
|
await this.client.GET("/v1/{workspace_id}/settings/gap-scanner", {
|
|
@@ -3235,19 +3183,6 @@ var SettingsResource = class extends WorkspaceScopedResource {
|
|
|
3235
3183
|
})
|
|
3236
3184
|
)
|
|
3237
3185
|
};
|
|
3238
|
-
workflows = {
|
|
3239
|
-
get: async () => extractData(
|
|
3240
|
-
await this.client.GET("/v1/{workspace_id}/settings/workflows", {
|
|
3241
|
-
params: { path: { workspace_id: this.workspaceId } }
|
|
3242
|
-
})
|
|
3243
|
-
),
|
|
3244
|
-
update: async (body) => extractData(
|
|
3245
|
-
await this.client.PUT("/v1/{workspace_id}/settings/workflows", {
|
|
3246
|
-
params: { path: { workspace_id: this.workspaceId } },
|
|
3247
|
-
body
|
|
3248
|
-
})
|
|
3249
|
-
)
|
|
3250
|
-
};
|
|
3251
3186
|
};
|
|
3252
3187
|
|
|
3253
3188
|
// src/resources/billing.ts
|
|
@@ -3574,74 +3509,6 @@ var AuditResource = class extends WorkspaceScopedResource {
|
|
|
3574
3509
|
}
|
|
3575
3510
|
};
|
|
3576
3511
|
|
|
3577
|
-
// src/resources/webhook-destinations.ts
|
|
3578
|
-
var WebhookDestinationsResource = class extends WorkspaceScopedResource {
|
|
3579
|
-
async list(params) {
|
|
3580
|
-
return extractData(
|
|
3581
|
-
await this.client.GET("/v1/{workspace_id}/webhook-destinations", {
|
|
3582
|
-
params: { path: { workspace_id: this.workspaceId }, query: params }
|
|
3583
|
-
})
|
|
3584
|
-
);
|
|
3585
|
-
}
|
|
3586
|
-
listAutoPaging(params) {
|
|
3587
|
-
return this.iteratePaginatedList((pageParams) => this.list(pageParams), params);
|
|
3588
|
-
}
|
|
3589
|
-
async create(body) {
|
|
3590
|
-
return extractData(
|
|
3591
|
-
await this.client.POST("/v1/{workspace_id}/webhook-destinations", {
|
|
3592
|
-
params: { path: { workspace_id: this.workspaceId } },
|
|
3593
|
-
body
|
|
3594
|
-
})
|
|
3595
|
-
);
|
|
3596
|
-
}
|
|
3597
|
-
async get(destinationId) {
|
|
3598
|
-
return extractData(
|
|
3599
|
-
await this.client.GET("/v1/{workspace_id}/webhook-destinations/{destination_id}", {
|
|
3600
|
-
params: { path: { workspace_id: this.workspaceId, destination_id: destinationId } }
|
|
3601
|
-
})
|
|
3602
|
-
);
|
|
3603
|
-
}
|
|
3604
|
-
async update(destinationId, body) {
|
|
3605
|
-
return extractData(
|
|
3606
|
-
await this.client.PUT("/v1/{workspace_id}/webhook-destinations/{destination_id}", {
|
|
3607
|
-
params: { path: { workspace_id: this.workspaceId, destination_id: destinationId } },
|
|
3608
|
-
body
|
|
3609
|
-
})
|
|
3610
|
-
);
|
|
3611
|
-
}
|
|
3612
|
-
async delete(destinationId) {
|
|
3613
|
-
await this.client.DELETE("/v1/{workspace_id}/webhook-destinations/{destination_id}", {
|
|
3614
|
-
params: { path: { workspace_id: this.workspaceId, destination_id: destinationId } }
|
|
3615
|
-
});
|
|
3616
|
-
}
|
|
3617
|
-
async listDeliveries(destinationId, params) {
|
|
3618
|
-
return extractData(
|
|
3619
|
-
await this.client.GET("/v1/{workspace_id}/webhook-destinations/{destination_id}/deliveries", {
|
|
3620
|
-
params: {
|
|
3621
|
-
path: { workspace_id: this.workspaceId, destination_id: destinationId },
|
|
3622
|
-
query: params
|
|
3623
|
-
}
|
|
3624
|
-
})
|
|
3625
|
-
);
|
|
3626
|
-
}
|
|
3627
|
-
listDeliveriesAutoPaging(destinationId, params) {
|
|
3628
|
-
return this.iteratePaginatedList(
|
|
3629
|
-
(pageParams) => this.listDeliveries(destinationId, pageParams),
|
|
3630
|
-
params
|
|
3631
|
-
);
|
|
3632
|
-
}
|
|
3633
|
-
async rotateSecret(destinationId) {
|
|
3634
|
-
return extractData(
|
|
3635
|
-
await this.client.POST(
|
|
3636
|
-
"/v1/{workspace_id}/webhook-destinations/{destination_id}/rotate-secret",
|
|
3637
|
-
{
|
|
3638
|
-
params: { path: { workspace_id: this.workspaceId, destination_id: destinationId } }
|
|
3639
|
-
}
|
|
3640
|
-
)
|
|
3641
|
-
);
|
|
3642
|
-
}
|
|
3643
|
-
};
|
|
3644
|
-
|
|
3645
3512
|
// src/resources/compliance.ts
|
|
3646
3513
|
var ComplianceResource = class extends WorkspaceScopedResource {
|
|
3647
3514
|
async getDashboard() {
|
|
@@ -4580,14 +4447,6 @@ var FhirResource = class extends WorkspaceScopedResource {
|
|
|
4580
4447
|
})
|
|
4581
4448
|
);
|
|
4582
4449
|
}
|
|
4583
|
-
/** List recent FHIR sync failures (for triage) */
|
|
4584
|
-
async getSyncFailures(params) {
|
|
4585
|
-
return extractData(
|
|
4586
|
-
await this.client.GET("/v1/{workspace_id}/fhir/sync-failures", {
|
|
4587
|
-
params: { path: { workspace_id: this.workspaceId }, query: params }
|
|
4588
|
-
})
|
|
4589
|
-
);
|
|
4590
|
-
}
|
|
4591
4450
|
/** Trigger a FHIR import (full or partial, depending on request) */
|
|
4592
4451
|
async import(body) {
|
|
4593
4452
|
return extractData(
|
|
@@ -4640,34 +4499,28 @@ var FhirResource = class extends WorkspaceScopedResource {
|
|
|
4640
4499
|
),
|
|
4641
4500
|
/** Get a single FHIR resource by type + id */
|
|
4642
4501
|
get: async (resourceType, resourceId) => extractData(
|
|
4643
|
-
await this.client.GET(
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
resource_type: resourceType,
|
|
4650
|
-
resource_id: resourceId
|
|
4651
|
-
}
|
|
4502
|
+
await this.client.GET("/v1/{workspace_id}/fhir/resources/{resource_type}/{resource_id}", {
|
|
4503
|
+
params: {
|
|
4504
|
+
path: {
|
|
4505
|
+
workspace_id: this.workspaceId,
|
|
4506
|
+
resource_type: resourceType,
|
|
4507
|
+
resource_id: resourceId
|
|
4652
4508
|
}
|
|
4653
4509
|
}
|
|
4654
|
-
)
|
|
4510
|
+
})
|
|
4655
4511
|
),
|
|
4656
4512
|
/** Update a FHIR resource by type + id */
|
|
4657
4513
|
update: async (resourceType, resourceId, body) => extractData(
|
|
4658
|
-
await this.client.PUT(
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
body
|
|
4669
|
-
}
|
|
4670
|
-
)
|
|
4514
|
+
await this.client.PUT("/v1/{workspace_id}/fhir/resources/{resource_type}/{resource_id}", {
|
|
4515
|
+
params: {
|
|
4516
|
+
path: {
|
|
4517
|
+
workspace_id: this.workspaceId,
|
|
4518
|
+
resource_type: resourceType,
|
|
4519
|
+
resource_id: resourceId
|
|
4520
|
+
}
|
|
4521
|
+
},
|
|
4522
|
+
body
|
|
4523
|
+
})
|
|
4671
4524
|
),
|
|
4672
4525
|
/** Get the version history for a FHIR resource */
|
|
4673
4526
|
getHistory: async (resourceType, resourceId) => extractData(
|
|
@@ -5302,6 +5155,53 @@ var WorkspaceDatabaseResource = class extends WorkspaceScopedResource {
|
|
|
5302
5155
|
}
|
|
5303
5156
|
};
|
|
5304
5157
|
|
|
5158
|
+
// src/resources/workspace-data-queries.ts
|
|
5159
|
+
var WorkspaceDataQueriesResource = class extends WorkspaceScopedResource {
|
|
5160
|
+
async list() {
|
|
5161
|
+
return extractData(
|
|
5162
|
+
await this.client.GET("/v1/{workspace_id}/data_queries", {
|
|
5163
|
+
params: { path: { workspace_id: this.workspaceId } }
|
|
5164
|
+
})
|
|
5165
|
+
);
|
|
5166
|
+
}
|
|
5167
|
+
async create(body) {
|
|
5168
|
+
return extractData(
|
|
5169
|
+
await this.client.POST("/v1/{workspace_id}/data_queries", {
|
|
5170
|
+
params: { path: { workspace_id: this.workspaceId } },
|
|
5171
|
+
body
|
|
5172
|
+
})
|
|
5173
|
+
);
|
|
5174
|
+
}
|
|
5175
|
+
async get(queryId) {
|
|
5176
|
+
return extractData(
|
|
5177
|
+
await this.client.GET("/v1/{workspace_id}/data_queries/{query_id}", {
|
|
5178
|
+
params: { path: { workspace_id: this.workspaceId, query_id: queryId } }
|
|
5179
|
+
})
|
|
5180
|
+
);
|
|
5181
|
+
}
|
|
5182
|
+
async update(queryId, body) {
|
|
5183
|
+
return extractData(
|
|
5184
|
+
await this.client.PATCH("/v1/{workspace_id}/data_queries/{query_id}", {
|
|
5185
|
+
params: { path: { workspace_id: this.workspaceId, query_id: queryId } },
|
|
5186
|
+
body
|
|
5187
|
+
})
|
|
5188
|
+
);
|
|
5189
|
+
}
|
|
5190
|
+
async delete(queryId) {
|
|
5191
|
+
await this.client.DELETE("/v1/{workspace_id}/data_queries/{query_id}", {
|
|
5192
|
+
params: { path: { workspace_id: this.workspaceId, query_id: queryId } }
|
|
5193
|
+
});
|
|
5194
|
+
}
|
|
5195
|
+
async invoke(queryId, body = {}) {
|
|
5196
|
+
return extractData(
|
|
5197
|
+
await this.client.POST("/v1/{workspace_id}/data_queries/{query_id}/invoke", {
|
|
5198
|
+
params: { path: { workspace_id: this.workspaceId, query_id: queryId } },
|
|
5199
|
+
body
|
|
5200
|
+
})
|
|
5201
|
+
);
|
|
5202
|
+
}
|
|
5203
|
+
};
|
|
5204
|
+
|
|
5305
5205
|
// src/core/branded-types.ts
|
|
5306
5206
|
var workspaceId = (id) => id;
|
|
5307
5207
|
var apiKeyId = (id) => id;
|
|
@@ -5960,7 +5860,6 @@ var AmigoClient = class _AmigoClient {
|
|
|
5960
5860
|
reviewQueue;
|
|
5961
5861
|
recordings;
|
|
5962
5862
|
audit;
|
|
5963
|
-
webhookDestinations;
|
|
5964
5863
|
compliance;
|
|
5965
5864
|
events;
|
|
5966
5865
|
functions;
|
|
@@ -6000,6 +5899,8 @@ var AmigoClient = class _AmigoClient {
|
|
|
6000
5899
|
sessions;
|
|
6001
5900
|
/** Workspace database — Lakebase fork lifecycle, SQL query execution, query tool CRUD */
|
|
6002
5901
|
workspaceDatabase;
|
|
5902
|
+
/** Workspace data queries — Lakebase-backed query tool registry */
|
|
5903
|
+
workspaceDataQueries;
|
|
6003
5904
|
/** @internal — exposed for path-level type inference in GET/POST/PUT/etc. */
|
|
6004
5905
|
api;
|
|
6005
5906
|
constructor(config) {
|
|
@@ -6096,7 +5997,6 @@ var AmigoClient = class _AmigoClient {
|
|
|
6096
5997
|
mutable.reviewQueue = new ReviewQueueResource(client, workspaceId2);
|
|
6097
5998
|
mutable.recordings = new RecordingsResource(client, workspaceId2);
|
|
6098
5999
|
mutable.audit = new AuditResource(client, workspaceId2);
|
|
6099
|
-
mutable.webhookDestinations = new WebhookDestinationsResource(client, workspaceId2);
|
|
6100
6000
|
mutable.compliance = new ComplianceResource(client, workspaceId2);
|
|
6101
6001
|
mutable.events = new EventsResource(client, workspaceId2);
|
|
6102
6002
|
mutable.functions = new FunctionsResource(client, workspaceId2);
|
|
@@ -6116,6 +6016,7 @@ var AmigoClient = class _AmigoClient {
|
|
|
6116
6016
|
mutable.surfaces = new SurfacesResource(client, workspaceId2);
|
|
6117
6017
|
mutable.sessions = new SessionsResource(client, workspaceId2);
|
|
6118
6018
|
mutable.workspaceDatabase = new WorkspaceDatabaseResource(client, workspaceId2);
|
|
6019
|
+
mutable.workspaceDataQueries = new WorkspaceDataQueriesResource(client, workspaceId2);
|
|
6119
6020
|
}
|
|
6120
6021
|
async resolveApiRequest(path, method, init) {
|
|
6121
6022
|
const { baseClient, options } = resolveScopedPlatformClient(this.api);
|