@smartspace/api-client 0.1.0-pr.1112.55f7257 → 0.1.0-pr.1114.28a48a9
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.
|
@@ -170,8 +170,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
170
170
|
/**
|
|
171
171
|
* @summary Rename a published custom block set (all versions). Set names are
|
|
172
172
|
organizational — flows bind to block (class) names, so renaming never
|
|
173
|
-
breaks a flow. Admin-only
|
|
174
|
-
Admin policy handler ignores class-level `[AuthorizeAdmin]`).
|
|
173
|
+
breaks a flow. Admin-only.
|
|
175
174
|
*/
|
|
176
175
|
const blockSetsRenameBlockSet = (name, blocksRenameBlockSetRequest) => {
|
|
177
176
|
return (0, instance_1.customInstance)({ url: `/BlockSets/${name}`, method: 'PATCH',
|
|
@@ -203,8 +202,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
203
202
|
/**
|
|
204
203
|
* @summary List the SDK's built-in blocks (smartspace.* modules) for the
|
|
205
204
|
custom-blocks draft picker. App-native blocks (LLMs etc.) are
|
|
206
|
-
excluded upstream. Admin-only
|
|
207
|
-
policy handler ignores class-level `[AuthorizeAdmin]`).
|
|
205
|
+
excluded upstream. Admin-only.
|
|
208
206
|
*/
|
|
209
207
|
const blocksGetSdkBlocks = () => {
|
|
210
208
|
return (0, instance_1.customInstance)({ url: `/Blocks/sdk`, method: 'GET'
|
|
@@ -212,9 +210,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
212
210
|
};
|
|
213
211
|
/**
|
|
214
212
|
* @summary Get the Python source of a native/SDK block — used by the custom-blocks
|
|
215
|
-
page as a starting scaffold when creating a draft. Admin-only
|
|
216
|
-
attribute must be method-level: the Admin policy handler ignores
|
|
217
|
-
class-level `[AuthorizeAdmin]`).
|
|
213
|
+
page as a starting scaffold when creating a draft. Admin-only.
|
|
218
214
|
*/
|
|
219
215
|
const blocksGetBlockSource = (name, version) => {
|
|
220
216
|
return (0, instance_1.customInstance)({ url: `/Blocks/${name}/${version}/source`, method: 'GET'
|
|
@@ -510,8 +510,7 @@ export declare const blockSetsDeleteBlockSetParams: zod.ZodObject<{
|
|
|
510
510
|
/**
|
|
511
511
|
* @summary Rename a published custom block set (all versions). Set names are
|
|
512
512
|
organizational — flows bind to block (class) names, so renaming never
|
|
513
|
-
breaks a flow. Admin-only
|
|
514
|
-
Admin policy handler ignores class-level `[AuthorizeAdmin]`).
|
|
513
|
+
breaks a flow. Admin-only.
|
|
515
514
|
*/
|
|
516
515
|
export declare const blockSetsRenameBlockSetParams: zod.ZodObject<{
|
|
517
516
|
name: zod.ZodString;
|
|
@@ -609,8 +608,7 @@ export declare const blocksGetBlocksResponse: zod.ZodRecord<zod.ZodString, zod.Z
|
|
|
609
608
|
/**
|
|
610
609
|
* @summary List the SDK's built-in blocks (smartspace.* modules) for the
|
|
611
610
|
custom-blocks draft picker. App-native blocks (LLMs etc.) are
|
|
612
|
-
excluded upstream. Admin-only
|
|
613
|
-
policy handler ignores class-level `[AuthorizeAdmin]`).
|
|
611
|
+
excluded upstream. Admin-only.
|
|
614
612
|
*/
|
|
615
613
|
export declare const blocksGetSdkBlocksResponseItem: zod.ZodObject<{
|
|
616
614
|
name: zod.ZodString;
|
|
@@ -622,9 +620,7 @@ export declare const blocksGetSdkBlocksResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
622
620
|
}, zod.core.$strip>>;
|
|
623
621
|
/**
|
|
624
622
|
* @summary Get the Python source of a native/SDK block — used by the custom-blocks
|
|
625
|
-
page as a starting scaffold when creating a draft. Admin-only
|
|
626
|
-
attribute must be method-level: the Admin policy handler ignores
|
|
627
|
-
class-level `[AuthorizeAdmin]`).
|
|
623
|
+
page as a starting scaffold when creating a draft. Admin-only.
|
|
628
624
|
*/
|
|
629
625
|
export declare const blocksGetBlockSourceParams: zod.ZodObject<{
|
|
630
626
|
name: zod.ZodString;
|
|
@@ -386,8 +386,7 @@ exports.blockSetsDeleteBlockSetParams = zod_1.default.strictObject({
|
|
|
386
386
|
/**
|
|
387
387
|
* @summary Rename a published custom block set (all versions). Set names are
|
|
388
388
|
organizational — flows bind to block (class) names, so renaming never
|
|
389
|
-
breaks a flow. Admin-only
|
|
390
|
-
Admin policy handler ignores class-level `[AuthorizeAdmin]`).
|
|
389
|
+
breaks a flow. Admin-only.
|
|
391
390
|
*/
|
|
392
391
|
exports.blockSetsRenameBlockSetParams = zod_1.default.strictObject({
|
|
393
392
|
"name": zod_1.default.string()
|
|
@@ -466,8 +465,7 @@ exports.blocksGetBlocksResponse = zod_1.default.record(zod_1.default.string(), z
|
|
|
466
465
|
/**
|
|
467
466
|
* @summary List the SDK's built-in blocks (smartspace.* modules) for the
|
|
468
467
|
custom-blocks draft picker. App-native blocks (LLMs etc.) are
|
|
469
|
-
excluded upstream. Admin-only
|
|
470
|
-
policy handler ignores class-level `[AuthorizeAdmin]`).
|
|
468
|
+
excluded upstream. Admin-only.
|
|
471
469
|
*/
|
|
472
470
|
exports.blocksGetSdkBlocksResponseItem = zod_1.default.object({
|
|
473
471
|
"name": zod_1.default.string(),
|
|
@@ -476,9 +474,7 @@ exports.blocksGetSdkBlocksResponseItem = zod_1.default.object({
|
|
|
476
474
|
exports.blocksGetSdkBlocksResponse = zod_1.default.array(exports.blocksGetSdkBlocksResponseItem);
|
|
477
475
|
/**
|
|
478
476
|
* @summary Get the Python source of a native/SDK block — used by the custom-blocks
|
|
479
|
-
page as a starting scaffold when creating a draft. Admin-only
|
|
480
|
-
attribute must be method-level: the Admin policy handler ignores
|
|
481
|
-
class-level `[AuthorizeAdmin]`).
|
|
477
|
+
page as a starting scaffold when creating a draft. Admin-only.
|
|
482
478
|
*/
|
|
483
479
|
exports.blocksGetBlockSourceParams = zod_1.default.strictObject({
|
|
484
480
|
"name": zod_1.default.string(),
|