@snaptrude/plugin-core 0.9.7 → 0.9.9
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/AGENTS.md +4 -0
- package/CHANGELOG.md +11 -0
- package/api-manifest.json +222 -4
- package/dist/api/core/tags.d.ts +81 -0
- package/dist/api/core/tags.d.ts.map +1 -1
- package/dist/api/design/create/bulk-items.d.ts +14 -6
- package/dist/api/design/create/bulk-items.d.ts.map +1 -1
- package/dist/api/design/create/index.d.ts +41 -18
- package/dist/api/design/create/index.d.ts.map +1 -1
- package/dist/api/design/create/opening-fields.d.ts +10 -2
- package/dist/api/design/create/opening-fields.d.ts.map +1 -1
- package/dist/api/design/doors/index.d.ts +20 -13
- package/dist/api/design/doors/index.d.ts.map +1 -1
- package/dist/api/program/departments.d.ts +58 -2
- package/dist/api/program/departments.d.ts.map +1 -1
- package/dist/api/program/index.d.ts +16 -6
- package/dist/api/program/index.d.ts.map +1 -1
- package/dist/api/program/labels.d.ts +355 -0
- package/dist/api/program/labels.d.ts.map +1 -0
- package/dist/api/program/metadata.d.ts +328 -0
- package/dist/api/program/metadata.d.ts.map +1 -0
- package/dist/api/program/spreadsheet.d.ts +263 -0
- package/dist/api/program/spreadsheet.d.ts.map +1 -1
- package/dist/index.cjs +1084 -833
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1039 -833
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
- package/src/api/core/tags.ts +76 -0
- package/src/api/design/create/bulk-items.ts +10 -6
- package/src/api/design/create/index.ts +43 -24
- package/src/api/design/create/opening-fields.ts +10 -2
- package/src/api/design/doors/index.ts +20 -13
- package/src/api/program/departments.ts +54 -2
- package/src/api/program/index.ts +16 -6
- package/src/api/program/labels.ts +332 -0
- package/src/api/program/metadata.ts +364 -0
- package/src/api/program/spreadsheet.ts +282 -0
- package/api-manifest.full.json +0 -8442
package/dist/index.js
CHANGED
|
@@ -1277,6 +1277,16 @@ var PluginCoreTagsGetTagsForComponentArgs = z29.object({
|
|
|
1277
1277
|
var PluginCoreTagsGetTagsForComponentResult = z29.object({
|
|
1278
1278
|
tags: z29.array(PluginCoreComponentTag)
|
|
1279
1279
|
});
|
|
1280
|
+
var PluginCoreTagsListForComponentsArgs = z29.object({
|
|
1281
|
+
componentIds: z29.array(ComponentHandle).optional()
|
|
1282
|
+
});
|
|
1283
|
+
var PluginCoreComponentTags = z29.object({
|
|
1284
|
+
componentId: ComponentHandle,
|
|
1285
|
+
tags: z29.array(PluginCoreComponentTag)
|
|
1286
|
+
});
|
|
1287
|
+
var PluginCoreTagsListForComponentsResult = z29.object({
|
|
1288
|
+
components: z29.array(PluginCoreComponentTags)
|
|
1289
|
+
});
|
|
1280
1290
|
var PluginCoreTagsListComponentsArgs = z29.object({
|
|
1281
1291
|
tagId: z29.string().optional(),
|
|
1282
1292
|
categoryId: z29.string().optional(),
|
|
@@ -1995,6 +2005,7 @@ var PluginOpeningBaseOptions = {
|
|
|
1995
2005
|
hostWall: ComponentHandle,
|
|
1996
2006
|
position: Vec3Handle,
|
|
1997
2007
|
facing: Vec3Handle.optional(),
|
|
2008
|
+
hinge: Vec3Handle.optional(),
|
|
1998
2009
|
label: z39.string().optional(),
|
|
1999
2010
|
width: z39.number().finite().positive().optional(),
|
|
2000
2011
|
height: z39.number().finite().positive().optional()
|
|
@@ -2148,14 +2159,16 @@ var PluginDesignCreateDoorArgs = z41.object({
|
|
|
2148
2159
|
hostWall: ComponentHandle,
|
|
2149
2160
|
position: Vec3Handle,
|
|
2150
2161
|
label: z41.string().optional(),
|
|
2151
|
-
facing: Vec3Handle.optional()
|
|
2162
|
+
facing: Vec3Handle.optional(),
|
|
2163
|
+
hinge: Vec3Handle.optional()
|
|
2152
2164
|
});
|
|
2153
2165
|
var PluginDesignCreateWindowArgs = z41.object({
|
|
2154
2166
|
catalogId: z41.string().min(1),
|
|
2155
2167
|
hostWall: ComponentHandle,
|
|
2156
2168
|
position: Vec3Handle,
|
|
2157
2169
|
label: z41.string().optional(),
|
|
2158
|
-
facing: Vec3Handle.optional()
|
|
2170
|
+
facing: Vec3Handle.optional(),
|
|
2171
|
+
hinge: Vec3Handle.optional()
|
|
2159
2172
|
});
|
|
2160
2173
|
var PluginDesignCreateOpeningOptions = z41.discriminatedUnion("kind", [
|
|
2161
2174
|
z41.object({
|
|
@@ -3144,7 +3157,8 @@ var PluginProgramDepartment = z64.object({
|
|
|
3144
3157
|
id: z64.string(),
|
|
3145
3158
|
name: z64.string(),
|
|
3146
3159
|
color: z64.string(),
|
|
3147
|
-
targetArea: z64.number().nullable()
|
|
3160
|
+
targetArea: z64.number().nullable(),
|
|
3161
|
+
targetCount: z64.number()
|
|
3148
3162
|
});
|
|
3149
3163
|
var PluginProgramDepartmentsListResult = z64.object({
|
|
3150
3164
|
units: PluginAreaUnit,
|
|
@@ -3194,6 +3208,11 @@ var PluginProgramDepartmentsSetTargetAreaArgs = z64.object({
|
|
|
3194
3208
|
units: PluginAreaUnit.optional()
|
|
3195
3209
|
});
|
|
3196
3210
|
var PluginProgramDepartmentsSetTargetAreaResult = PluginProgramDepartmentRecord;
|
|
3211
|
+
var PluginProgramDepartmentsSetTargetCountArgs = z64.object({
|
|
3212
|
+
departmentId: z64.string(),
|
|
3213
|
+
targetCount: z64.number().int().nonnegative()
|
|
3214
|
+
});
|
|
3215
|
+
var PluginProgramDepartmentsSetTargetCountResult = PluginProgramDepartmentRecord;
|
|
3197
3216
|
var PluginProgramDepartmentsDeleteArgs = z64.object({
|
|
3198
3217
|
departmentId: z64.string()
|
|
3199
3218
|
});
|
|
@@ -3672,6 +3691,41 @@ var PluginProgramSpreadsheetAddImageResult = z67.object({
|
|
|
3672
3691
|
sheetName: z67.string(),
|
|
3673
3692
|
name: z67.string()
|
|
3674
3693
|
});
|
|
3694
|
+
var PluginSpreadsheetCustomSheet = z67.object({
|
|
3695
|
+
sheetName: z67.string(),
|
|
3696
|
+
groupBy: z67.array(z67.string()),
|
|
3697
|
+
properties: z67.array(z67.string()),
|
|
3698
|
+
groupColors: z67.record(z67.string(), z67.string()),
|
|
3699
|
+
proposalId: z67.string().nullable()
|
|
3700
|
+
});
|
|
3701
|
+
var PluginSpreadsheetCustomSheetConfig = z67.object({
|
|
3702
|
+
groupBy: z67.array(z67.string().trim().min(1)).max(10).optional(),
|
|
3703
|
+
properties: z67.array(z67.string()).max(50).optional(),
|
|
3704
|
+
groupColors: z67.record(z67.string(), z67.string()).optional()
|
|
3705
|
+
});
|
|
3706
|
+
var PluginProgramSpreadsheetCreateCustomSheetArgs = PluginSpreadsheetCustomSheetConfig.extend({
|
|
3707
|
+
name: z67.string().trim().min(1)
|
|
3708
|
+
});
|
|
3709
|
+
var PluginProgramSpreadsheetUpdateCustomSheetArgs = PluginSpreadsheetCustomSheetConfig.extend({
|
|
3710
|
+
sheetName: z67.string().trim().min(1)
|
|
3711
|
+
});
|
|
3712
|
+
var PluginProgramSpreadsheetCustomSheetResult = PluginSpreadsheetCustomSheet;
|
|
3713
|
+
var PluginProgramSpreadsheetGetCustomSheetArgs = z67.object({
|
|
3714
|
+
sheetName: z67.string().trim().min(1)
|
|
3715
|
+
});
|
|
3716
|
+
var PluginProgramSpreadsheetGetCustomSheetResult = PluginSpreadsheetCustomSheet.nullable();
|
|
3717
|
+
var PluginProgramSpreadsheetListCustomSheetsResult = z67.object({
|
|
3718
|
+
sheets: z67.array(PluginSpreadsheetCustomSheet)
|
|
3719
|
+
});
|
|
3720
|
+
var PluginSpreadsheetCustomSheetProperty = z67.object({
|
|
3721
|
+
id: z67.string(),
|
|
3722
|
+
name: z67.string(),
|
|
3723
|
+
groupable: z67.boolean(),
|
|
3724
|
+
custom: z67.boolean()
|
|
3725
|
+
});
|
|
3726
|
+
var PluginProgramSpreadsheetListCustomSheetPropertiesResult = z67.object({
|
|
3727
|
+
properties: z67.array(PluginSpreadsheetCustomSheetProperty)
|
|
3728
|
+
});
|
|
3675
3729
|
|
|
3676
3730
|
// src/api/program/site.ts
|
|
3677
3731
|
import * as z68 from "zod";
|
|
@@ -3919,6 +3973,113 @@ var PluginProgramAreasUpdateArgs = z71.object({
|
|
|
3919
3973
|
var PluginProgramAreasUpdateResult = PluginProgramAreaSummary;
|
|
3920
3974
|
var PluginProgramAreasRefreshResult = PluginProgramAreaSummary;
|
|
3921
3975
|
|
|
3976
|
+
// src/api/program/metadata.ts
|
|
3977
|
+
import * as z72 from "zod";
|
|
3978
|
+
var PluginProgramMetadataApi = class {
|
|
3979
|
+
constructor() {
|
|
3980
|
+
}
|
|
3981
|
+
};
|
|
3982
|
+
var PluginProgramMetadataHeader = z72.object({
|
|
3983
|
+
headerId: z72.string(),
|
|
3984
|
+
name: z72.string(),
|
|
3985
|
+
description: z72.string(),
|
|
3986
|
+
columnIndex: z72.number()
|
|
3987
|
+
});
|
|
3988
|
+
var PluginProgramMetadataListHeadersResult = z72.object({
|
|
3989
|
+
headers: z72.array(PluginProgramMetadataHeader)
|
|
3990
|
+
});
|
|
3991
|
+
var PluginProgramMetadataCreateHeaderArgs = z72.object({
|
|
3992
|
+
name: z72.string().trim().min(1),
|
|
3993
|
+
description: z72.string().optional()
|
|
3994
|
+
});
|
|
3995
|
+
var PluginProgramMetadataCreateHeaderResult = PluginProgramMetadataHeader;
|
|
3996
|
+
var PluginProgramMetadataRecord = z72.object({
|
|
3997
|
+
spaceId: ComponentHandle,
|
|
3998
|
+
values: z72.record(z72.string(), PluginSpreadsheetCell)
|
|
3999
|
+
});
|
|
4000
|
+
var PluginProgramMetadataGetArgs = z72.object({
|
|
4001
|
+
spaceId: ComponentHandle
|
|
4002
|
+
});
|
|
4003
|
+
var PluginProgramMetadataGetResult = PluginProgramMetadataRecord.nullable();
|
|
4004
|
+
var PluginProgramMetadataListArgs = z72.object({
|
|
4005
|
+
spaceIds: z72.array(ComponentHandle).optional()
|
|
4006
|
+
});
|
|
4007
|
+
var PluginProgramMetadataListResult = z72.object({
|
|
4008
|
+
records: z72.array(PluginProgramMetadataRecord)
|
|
4009
|
+
});
|
|
4010
|
+
var PluginProgramMetadataUpdateArgs = z72.object({
|
|
4011
|
+
spaceId: ComponentHandle,
|
|
4012
|
+
values: z72.record(z72.string(), PluginSpreadsheetCell).refine((v) => Object.keys(v).length > 0, "values must not be empty")
|
|
4013
|
+
});
|
|
4014
|
+
var PluginProgramMetadataUpdateResult = PluginProgramMetadataRecord;
|
|
4015
|
+
var PluginProgramMetadataUpdateItem = PluginProgramMetadataUpdateArgs;
|
|
4016
|
+
var PLUGIN_PROGRAM_METADATA_BATCH_LIMIT = 1e3;
|
|
4017
|
+
var PluginProgramMetadataUpdateManyArgs = z72.object({
|
|
4018
|
+
items: z72.array(PluginProgramMetadataUpdateItem).min(1).max(PLUGIN_PROGRAM_METADATA_BATCH_LIMIT)
|
|
4019
|
+
});
|
|
4020
|
+
var PluginProgramMetadataUpdateManyResult = z72.object({
|
|
4021
|
+
records: z72.array(PluginProgramMetadataRecord)
|
|
4022
|
+
});
|
|
4023
|
+
|
|
4024
|
+
// src/api/program/labels.ts
|
|
4025
|
+
import * as z73 from "zod";
|
|
4026
|
+
var PluginProgramLabelsApi = class {
|
|
4027
|
+
constructor() {
|
|
4028
|
+
}
|
|
4029
|
+
};
|
|
4030
|
+
var PluginProgramLabel = z73.object({
|
|
4031
|
+
id: z73.string(),
|
|
4032
|
+
name: z73.string(),
|
|
4033
|
+
color: z73.string(),
|
|
4034
|
+
departmentId: z73.string(),
|
|
4035
|
+
targetArea: z73.number().nullable(),
|
|
4036
|
+
targetCount: z73.number(),
|
|
4037
|
+
storey: z73.number().nullable()
|
|
4038
|
+
});
|
|
4039
|
+
var PluginProgramLabelRecord = PluginProgramLabel.extend({
|
|
4040
|
+
units: PluginAreaUnit
|
|
4041
|
+
});
|
|
4042
|
+
var PluginProgramLabelsListResult = z73.object({
|
|
4043
|
+
units: PluginAreaUnit,
|
|
4044
|
+
labels: z73.array(PluginProgramLabel)
|
|
4045
|
+
});
|
|
4046
|
+
var PluginProgramLabelsGetArgs = z73.object({
|
|
4047
|
+
labelId: z73.string()
|
|
4048
|
+
});
|
|
4049
|
+
var PluginProgramLabelsGetResult = PluginProgramLabelRecord.nullable();
|
|
4050
|
+
var PluginProgramLabelCreateItem = z73.object({
|
|
4051
|
+
name: z73.string().trim().min(1),
|
|
4052
|
+
targetArea: z73.number().finite().nonnegative().optional(),
|
|
4053
|
+
targetCount: z73.number().int().nonnegative().optional(),
|
|
4054
|
+
departmentId: z73.string().optional(),
|
|
4055
|
+
departmentName: z73.string().optional(),
|
|
4056
|
+
color: z73.string().optional(),
|
|
4057
|
+
storey: z73.number().int().optional(),
|
|
4058
|
+
height: z73.number().finite().positive().optional(),
|
|
4059
|
+
width: z73.number().finite().positive().optional()
|
|
4060
|
+
});
|
|
4061
|
+
var PLUGIN_PROGRAM_LABELS_BATCH_LIMIT = 500;
|
|
4062
|
+
var PluginProgramLabelsCreateArgs = z73.object({
|
|
4063
|
+
items: z73.array(PluginProgramLabelCreateItem).min(1).max(PLUGIN_PROGRAM_LABELS_BATCH_LIMIT),
|
|
4064
|
+
units: PluginAreaUnit.optional(),
|
|
4065
|
+
createSpaces: z73.boolean().optional()
|
|
4066
|
+
});
|
|
4067
|
+
var PluginProgramLabelsCreateResult = z73.object({
|
|
4068
|
+
labelIds: z73.array(z73.string()),
|
|
4069
|
+
createdSpaces: z73.boolean()
|
|
4070
|
+
});
|
|
4071
|
+
var PluginProgramLabelsSetTargetAreaArgs = z73.object({
|
|
4072
|
+
labelId: z73.string(),
|
|
4073
|
+
targetArea: z73.number().finite().nonnegative(),
|
|
4074
|
+
units: PluginAreaUnit.optional()
|
|
4075
|
+
});
|
|
4076
|
+
var PluginProgramLabelsSetTargetAreaResult = PluginProgramLabelRecord;
|
|
4077
|
+
var PluginProgramLabelsSetTargetCountArgs = z73.object({
|
|
4078
|
+
labelId: z73.string(),
|
|
4079
|
+
targetCount: z73.number().int().nonnegative()
|
|
4080
|
+
});
|
|
4081
|
+
var PluginProgramLabelsSetTargetCountResult = PluginProgramLabelRecord;
|
|
4082
|
+
|
|
3922
4083
|
// src/api/program/index.ts
|
|
3923
4084
|
var PluginProgramApi = class {
|
|
3924
4085
|
constructor() {
|
|
@@ -3926,72 +4087,72 @@ var PluginProgramApi = class {
|
|
|
3926
4087
|
};
|
|
3927
4088
|
|
|
3928
4089
|
// src/api/presentation/views.ts
|
|
3929
|
-
import * as
|
|
4090
|
+
import * as z74 from "zod";
|
|
3930
4091
|
var PluginPresentationViewsApi = class {
|
|
3931
4092
|
constructor() {
|
|
3932
4093
|
}
|
|
3933
4094
|
};
|
|
3934
|
-
var PluginPresentationViewType =
|
|
3935
|
-
var PluginPresentationView =
|
|
3936
|
-
id:
|
|
3937
|
-
name:
|
|
4095
|
+
var PluginPresentationViewType = z74.enum(["2d", "3d"]);
|
|
4096
|
+
var PluginPresentationView = z74.object({
|
|
4097
|
+
id: z74.string(),
|
|
4098
|
+
name: z74.string(),
|
|
3938
4099
|
type: PluginPresentationViewType,
|
|
3939
|
-
isActive:
|
|
3940
|
-
storey:
|
|
4100
|
+
isActive: z74.boolean(),
|
|
4101
|
+
storey: z74.number().nullable()
|
|
3941
4102
|
});
|
|
3942
|
-
var PluginPresentationViewsListResult =
|
|
3943
|
-
views:
|
|
4103
|
+
var PluginPresentationViewsListResult = z74.object({
|
|
4104
|
+
views: z74.array(PluginPresentationView)
|
|
3944
4105
|
});
|
|
3945
|
-
var PluginPresentationViewsGetArgs =
|
|
3946
|
-
id:
|
|
4106
|
+
var PluginPresentationViewsGetArgs = z74.object({
|
|
4107
|
+
id: z74.string()
|
|
3947
4108
|
});
|
|
3948
4109
|
var PluginPresentationViewsGetResult = PluginPresentationView.nullable();
|
|
3949
|
-
var PluginPresentationImageFormat =
|
|
3950
|
-
var PluginPresentationViewsCaptureArgs =
|
|
3951
|
-
viewId:
|
|
4110
|
+
var PluginPresentationImageFormat = z74.enum(["png", "jpeg"]);
|
|
4111
|
+
var PluginPresentationViewsCaptureArgs = z74.object({
|
|
4112
|
+
viewId: z74.string().optional(),
|
|
3952
4113
|
format: PluginPresentationImageFormat.optional(),
|
|
3953
|
-
resolution:
|
|
4114
|
+
resolution: z74.string().optional()
|
|
3954
4115
|
});
|
|
3955
|
-
var PluginPresentationViewsCaptureResult =
|
|
3956
|
-
image:
|
|
4116
|
+
var PluginPresentationViewsCaptureResult = z74.object({
|
|
4117
|
+
image: z74.string()
|
|
3957
4118
|
});
|
|
3958
|
-
var PluginPresentationViewsSetActiveArgs =
|
|
3959
|
-
id:
|
|
4119
|
+
var PluginPresentationViewsSetActiveArgs = z74.object({
|
|
4120
|
+
id: z74.string()
|
|
3960
4121
|
});
|
|
3961
|
-
var PluginPresentationViewsSetActiveResult =
|
|
3962
|
-
id:
|
|
4122
|
+
var PluginPresentationViewsSetActiveResult = z74.object({
|
|
4123
|
+
id: z74.string()
|
|
3963
4124
|
});
|
|
3964
|
-
var PluginPresentationViewsCreateArgs =
|
|
3965
|
-
name:
|
|
3966
|
-
kind:
|
|
3967
|
-
storey:
|
|
4125
|
+
var PluginPresentationViewsCreateArgs = z74.object({
|
|
4126
|
+
name: z74.string().optional(),
|
|
4127
|
+
kind: z74.enum(["view", "sitePlan"]).optional(),
|
|
4128
|
+
storey: z74.number().optional()
|
|
3968
4129
|
});
|
|
3969
4130
|
var PluginPresentationViewsCreateResult = PluginPresentationView;
|
|
3970
|
-
var PluginPresentationViewColorMode =
|
|
3971
|
-
|
|
3972
|
-
|
|
4131
|
+
var PluginPresentationViewColorMode = z74.union([
|
|
4132
|
+
z74.enum(["monochrome", "texture", "department"]),
|
|
4133
|
+
z74.templateLiteral(["tag:", z74.string()])
|
|
3973
4134
|
]);
|
|
3974
|
-
var PluginPresentationViewLabel =
|
|
4135
|
+
var PluginPresentationViewLabel = z74.enum([
|
|
3975
4136
|
"objectLabels",
|
|
3976
4137
|
"areas",
|
|
3977
4138
|
"department"
|
|
3978
4139
|
]);
|
|
3979
|
-
var PluginPresentationViewMode =
|
|
3980
|
-
var PluginPresentationViewSettings =
|
|
3981
|
-
backgroundColor:
|
|
4140
|
+
var PluginPresentationViewMode = z74.enum(["perspective", "isometric"]);
|
|
4141
|
+
var PluginPresentationViewSettings = z74.object({
|
|
4142
|
+
backgroundColor: z74.string(),
|
|
3982
4143
|
colorMode: PluginPresentationViewColorMode,
|
|
3983
4144
|
viewMode: PluginPresentationViewMode,
|
|
3984
|
-
showAxis:
|
|
3985
|
-
showEdges:
|
|
3986
|
-
showLabels:
|
|
3987
|
-
labels:
|
|
4145
|
+
showAxis: z74.boolean(),
|
|
4146
|
+
showEdges: z74.boolean(),
|
|
4147
|
+
showLabels: z74.boolean(),
|
|
4148
|
+
labels: z74.array(PluginPresentationViewLabel)
|
|
3988
4149
|
});
|
|
3989
|
-
var PluginPresentationViewsGetSettingsArgs =
|
|
3990
|
-
id:
|
|
4150
|
+
var PluginPresentationViewsGetSettingsArgs = z74.object({
|
|
4151
|
+
id: z74.string()
|
|
3991
4152
|
});
|
|
3992
4153
|
var PluginPresentationViewsGetSettingsResult = PluginPresentationViewSettings.nullable();
|
|
3993
|
-
var PluginPresentationViewsUpdateSettingsArgs =
|
|
3994
|
-
id:
|
|
4154
|
+
var PluginPresentationViewsUpdateSettingsArgs = z74.object({
|
|
4155
|
+
id: z74.string(),
|
|
3995
4156
|
settings: PluginPresentationViewSettings.partial()
|
|
3996
4157
|
}).refine(
|
|
3997
4158
|
(v) => !(v.settings.showLabels === false && (v.settings.labels?.length ?? 0) > 0),
|
|
@@ -4004,28 +4165,28 @@ var PluginPresentationViewsUpdateSettingsArgs = z72.object({
|
|
|
4004
4165
|
message: "Contradictory patch: showLabels cannot be true with an explicitly empty labels list \u2014 pass a non-empty list, or omit labels to apply the defaults"
|
|
4005
4166
|
}
|
|
4006
4167
|
);
|
|
4007
|
-
var PluginPresentationViewsUpdateSettingsResult =
|
|
4008
|
-
id:
|
|
4168
|
+
var PluginPresentationViewsUpdateSettingsResult = z74.object({
|
|
4169
|
+
id: z74.string()
|
|
4009
4170
|
});
|
|
4010
|
-
var PluginPresentationViewsRenameArgs =
|
|
4011
|
-
id:
|
|
4012
|
-
name:
|
|
4171
|
+
var PluginPresentationViewsRenameArgs = z74.object({
|
|
4172
|
+
id: z74.string(),
|
|
4173
|
+
name: z74.string().trim().min(1)
|
|
4013
4174
|
});
|
|
4014
4175
|
var PluginPresentationViewsRenameResult = PluginPresentationView;
|
|
4015
|
-
var PluginPresentationViewsDeleteArgs =
|
|
4016
|
-
id:
|
|
4176
|
+
var PluginPresentationViewsDeleteArgs = z74.object({
|
|
4177
|
+
id: z74.string()
|
|
4017
4178
|
});
|
|
4018
|
-
var PluginPresentationViewsDeleteResult =
|
|
4019
|
-
id:
|
|
4179
|
+
var PluginPresentationViewsDeleteResult = z74.object({
|
|
4180
|
+
id: z74.string()
|
|
4020
4181
|
});
|
|
4021
4182
|
|
|
4022
4183
|
// src/api/presentation/sheets.ts
|
|
4023
|
-
import * as
|
|
4184
|
+
import * as z75 from "zod";
|
|
4024
4185
|
var PluginPresentationSheetsApi = class {
|
|
4025
4186
|
constructor() {
|
|
4026
4187
|
}
|
|
4027
4188
|
};
|
|
4028
|
-
var PluginSheetSize =
|
|
4189
|
+
var PluginSheetSize = z75.enum([
|
|
4029
4190
|
"ANSI_A",
|
|
4030
4191
|
"ANSI_B",
|
|
4031
4192
|
"ANSI_C",
|
|
@@ -4043,140 +4204,140 @@ var PluginSheetSize = z73.enum([
|
|
|
4043
4204
|
"ISO_A1",
|
|
4044
4205
|
"ISO_A0"
|
|
4045
4206
|
]);
|
|
4046
|
-
var PluginSheetOrientation =
|
|
4047
|
-
var PluginSheetMargin =
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4207
|
+
var PluginSheetOrientation = z75.enum(["landscape", "portrait"]);
|
|
4208
|
+
var PluginSheetMargin = z75.union([
|
|
4209
|
+
z75.literal(0),
|
|
4210
|
+
z75.literal(0.25),
|
|
4211
|
+
z75.literal(0.5),
|
|
4212
|
+
z75.literal(0.75),
|
|
4213
|
+
z75.literal(1)
|
|
4053
4214
|
]);
|
|
4054
|
-
var PluginPresentationSheet =
|
|
4055
|
-
id:
|
|
4056
|
-
name:
|
|
4215
|
+
var PluginPresentationSheet = z75.object({
|
|
4216
|
+
id: z75.string(),
|
|
4217
|
+
name: z75.string(),
|
|
4057
4218
|
size: PluginSheetSize.nullable(),
|
|
4058
4219
|
orientation: PluginSheetOrientation.nullable(),
|
|
4059
4220
|
margin: PluginSheetMargin.nullable()
|
|
4060
4221
|
});
|
|
4061
|
-
var PluginSheetPosition =
|
|
4062
|
-
x:
|
|
4063
|
-
y:
|
|
4222
|
+
var PluginSheetPosition = z75.object({
|
|
4223
|
+
x: z75.number(),
|
|
4224
|
+
y: z75.number()
|
|
4064
4225
|
});
|
|
4065
|
-
var PluginPresentationSheetsListResult =
|
|
4066
|
-
sheets:
|
|
4226
|
+
var PluginPresentationSheetsListResult = z75.object({
|
|
4227
|
+
sheets: z75.array(PluginPresentationSheet)
|
|
4067
4228
|
});
|
|
4068
|
-
var PluginPresentationSheetsGetArgs =
|
|
4069
|
-
id:
|
|
4229
|
+
var PluginPresentationSheetsGetArgs = z75.object({
|
|
4230
|
+
id: z75.string()
|
|
4070
4231
|
});
|
|
4071
4232
|
var PluginPresentationSheetsGetResult = PluginPresentationSheet.nullable();
|
|
4072
|
-
var PluginPresentationSheetsCreateArgs =
|
|
4073
|
-
name:
|
|
4233
|
+
var PluginPresentationSheetsCreateArgs = z75.object({
|
|
4234
|
+
name: z75.string().optional(),
|
|
4074
4235
|
size: PluginSheetSize.optional(),
|
|
4075
4236
|
orientation: PluginSheetOrientation.optional()
|
|
4076
4237
|
});
|
|
4077
|
-
var PluginPresentationSheetsSetSizeArgs =
|
|
4078
|
-
sheetId:
|
|
4238
|
+
var PluginPresentationSheetsSetSizeArgs = z75.object({
|
|
4239
|
+
sheetId: z75.string(),
|
|
4079
4240
|
size: PluginSheetSize,
|
|
4080
4241
|
orientation: PluginSheetOrientation.optional()
|
|
4081
4242
|
});
|
|
4082
|
-
var PluginPresentationSheetsSetMarginArgs =
|
|
4083
|
-
sheetId:
|
|
4243
|
+
var PluginPresentationSheetsSetMarginArgs = z75.object({
|
|
4244
|
+
sheetId: z75.string(),
|
|
4084
4245
|
margin: PluginSheetMargin
|
|
4085
4246
|
});
|
|
4086
|
-
var PluginPresentationSheetsPlaceArgs =
|
|
4087
|
-
sheetId:
|
|
4088
|
-
viewId:
|
|
4247
|
+
var PluginPresentationSheetsPlaceArgs = z75.object({
|
|
4248
|
+
sheetId: z75.string(),
|
|
4249
|
+
viewId: z75.string(),
|
|
4089
4250
|
position: PluginSheetPosition.optional(),
|
|
4090
|
-
scale:
|
|
4251
|
+
scale: z75.number().positive().optional()
|
|
4091
4252
|
});
|
|
4092
|
-
var PluginPresentationSheetsPlaceResult =
|
|
4093
|
-
shapeId:
|
|
4253
|
+
var PluginPresentationSheetsPlaceResult = z75.object({
|
|
4254
|
+
shapeId: z75.string()
|
|
4094
4255
|
});
|
|
4095
|
-
var PluginPresentationSheetsRenameArgs =
|
|
4096
|
-
sheetId:
|
|
4097
|
-
name:
|
|
4256
|
+
var PluginPresentationSheetsRenameArgs = z75.object({
|
|
4257
|
+
sheetId: z75.string(),
|
|
4258
|
+
name: z75.string().trim().min(1)
|
|
4098
4259
|
});
|
|
4099
|
-
var PluginPresentationSheetsDeleteArgs =
|
|
4100
|
-
sheetId:
|
|
4260
|
+
var PluginPresentationSheetsDeleteArgs = z75.object({
|
|
4261
|
+
sheetId: z75.string()
|
|
4101
4262
|
});
|
|
4102
|
-
var PluginPresentationSheetsDeleteResult =
|
|
4103
|
-
id:
|
|
4263
|
+
var PluginPresentationSheetsDeleteResult = z75.object({
|
|
4264
|
+
id: z75.string()
|
|
4104
4265
|
});
|
|
4105
|
-
var PluginPresentationSheetsReorderArgs =
|
|
4106
|
-
sheetId:
|
|
4107
|
-
index:
|
|
4266
|
+
var PluginPresentationSheetsReorderArgs = z75.object({
|
|
4267
|
+
sheetId: z75.string(),
|
|
4268
|
+
index: z75.number().int().min(0)
|
|
4108
4269
|
});
|
|
4109
|
-
var PluginPresentationSheetsSetActiveArgs =
|
|
4110
|
-
sheetId:
|
|
4270
|
+
var PluginPresentationSheetsSetActiveArgs = z75.object({
|
|
4271
|
+
sheetId: z75.string()
|
|
4111
4272
|
});
|
|
4112
|
-
var PluginPresentationSheetsUpdatePlacedViewArgs =
|
|
4113
|
-
sheetId:
|
|
4273
|
+
var PluginPresentationSheetsUpdatePlacedViewArgs = z75.object({
|
|
4274
|
+
sheetId: z75.string().optional()
|
|
4114
4275
|
});
|
|
4115
|
-
var PluginPresentationSheetsUpdatePlacedViewResult =
|
|
4116
|
-
shapeIds:
|
|
4276
|
+
var PluginPresentationSheetsUpdatePlacedViewResult = z75.object({
|
|
4277
|
+
shapeIds: z75.array(z75.string())
|
|
4117
4278
|
});
|
|
4118
4279
|
|
|
4119
4280
|
// src/api/presentation/placedViews.ts
|
|
4120
|
-
import * as
|
|
4281
|
+
import * as z76 from "zod";
|
|
4121
4282
|
var PluginPresentationPlacedViewsApi = class {
|
|
4122
4283
|
constructor() {
|
|
4123
4284
|
}
|
|
4124
4285
|
};
|
|
4125
|
-
var PluginPlacedViewCropPoint =
|
|
4126
|
-
x:
|
|
4127
|
-
y:
|
|
4286
|
+
var PluginPlacedViewCropPoint = z76.object({
|
|
4287
|
+
x: z76.number().min(0).max(1),
|
|
4288
|
+
y: z76.number().min(0).max(1)
|
|
4128
4289
|
});
|
|
4129
|
-
var PluginPlacedViewCrop =
|
|
4290
|
+
var PluginPlacedViewCrop = z76.object({
|
|
4130
4291
|
topLeft: PluginPlacedViewCropPoint,
|
|
4131
4292
|
bottomRight: PluginPlacedViewCropPoint
|
|
4132
4293
|
}).refine(
|
|
4133
4294
|
(c) => c.topLeft.x < c.bottomRight.x && c.topLeft.y < c.bottomRight.y,
|
|
4134
4295
|
{ message: "topLeft must be strictly less than bottomRight on both axes" }
|
|
4135
4296
|
);
|
|
4136
|
-
var PluginPlacedView =
|
|
4137
|
-
shapeId:
|
|
4138
|
-
sheetId:
|
|
4139
|
-
title:
|
|
4140
|
-
viewId:
|
|
4297
|
+
var PluginPlacedView = z76.object({
|
|
4298
|
+
shapeId: z76.string(),
|
|
4299
|
+
sheetId: z76.string().nullable(),
|
|
4300
|
+
title: z76.string(),
|
|
4301
|
+
viewId: z76.string(),
|
|
4141
4302
|
position: PluginSheetPosition,
|
|
4142
|
-
size:
|
|
4143
|
-
scale:
|
|
4144
|
-
is3d:
|
|
4145
|
-
rotation:
|
|
4303
|
+
size: z76.object({ width: z76.number(), height: z76.number() }),
|
|
4304
|
+
scale: z76.number().nullable(),
|
|
4305
|
+
is3d: z76.boolean(),
|
|
4306
|
+
rotation: z76.number(),
|
|
4146
4307
|
crop: PluginPlacedViewCrop.nullable(),
|
|
4147
|
-
isUnlinked:
|
|
4308
|
+
isUnlinked: z76.boolean()
|
|
4148
4309
|
});
|
|
4149
|
-
var PluginPresentationPlacedViewsListArgs =
|
|
4150
|
-
sheetId:
|
|
4310
|
+
var PluginPresentationPlacedViewsListArgs = z76.object({
|
|
4311
|
+
sheetId: z76.string().optional()
|
|
4151
4312
|
});
|
|
4152
|
-
var PluginPresentationPlacedViewsListResult =
|
|
4153
|
-
placedViews:
|
|
4313
|
+
var PluginPresentationPlacedViewsListResult = z76.object({
|
|
4314
|
+
placedViews: z76.array(PluginPlacedView)
|
|
4154
4315
|
});
|
|
4155
|
-
var PluginPresentationPlacedViewsGetArgs =
|
|
4156
|
-
shapeId:
|
|
4316
|
+
var PluginPresentationPlacedViewsGetArgs = z76.object({
|
|
4317
|
+
shapeId: z76.string()
|
|
4157
4318
|
});
|
|
4158
|
-
var PluginPresentationPlacedViewsMoveArgs =
|
|
4159
|
-
shapeId:
|
|
4319
|
+
var PluginPresentationPlacedViewsMoveArgs = z76.object({
|
|
4320
|
+
shapeId: z76.string(),
|
|
4160
4321
|
position: PluginSheetPosition,
|
|
4161
|
-
sheetId:
|
|
4322
|
+
sheetId: z76.string().optional()
|
|
4162
4323
|
});
|
|
4163
|
-
var PluginPresentationPlacedViewsScaleArgs =
|
|
4164
|
-
shapeId:
|
|
4165
|
-
factor:
|
|
4324
|
+
var PluginPresentationPlacedViewsScaleArgs = z76.object({
|
|
4325
|
+
shapeId: z76.string(),
|
|
4326
|
+
factor: z76.number().finite().min(0.01).max(100)
|
|
4166
4327
|
});
|
|
4167
|
-
var PluginPresentationPlacedViewsSetScaleArgs =
|
|
4168
|
-
shapeId:
|
|
4169
|
-
scale:
|
|
4328
|
+
var PluginPresentationPlacedViewsSetScaleArgs = z76.object({
|
|
4329
|
+
shapeId: z76.string(),
|
|
4330
|
+
scale: z76.number().positive()
|
|
4170
4331
|
});
|
|
4171
|
-
var PluginPresentationPlacedViewsSetCropArgs =
|
|
4172
|
-
shapeId:
|
|
4332
|
+
var PluginPresentationPlacedViewsSetCropArgs = z76.object({
|
|
4333
|
+
shapeId: z76.string(),
|
|
4173
4334
|
crop: PluginPlacedViewCrop.nullable()
|
|
4174
4335
|
});
|
|
4175
|
-
var PluginPresentationPlacedViewsSetRotationArgs =
|
|
4176
|
-
shapeId:
|
|
4177
|
-
rotation:
|
|
4336
|
+
var PluginPresentationPlacedViewsSetRotationArgs = z76.object({
|
|
4337
|
+
shapeId: z76.string().min(1),
|
|
4338
|
+
rotation: z76.number().finite()
|
|
4178
4339
|
});
|
|
4179
|
-
var PluginViewSettingCategory =
|
|
4340
|
+
var PluginViewSettingCategory = z76.enum([
|
|
4180
4341
|
"Site",
|
|
4181
4342
|
"Topography",
|
|
4182
4343
|
"Space",
|
|
@@ -4188,7 +4349,7 @@ var PluginViewSettingCategory = z74.enum([
|
|
|
4188
4349
|
"Adjacency Line",
|
|
4189
4350
|
"Landscape elements"
|
|
4190
4351
|
]);
|
|
4191
|
-
var PluginViewLineStyle =
|
|
4352
|
+
var PluginViewLineStyle = z76.enum([
|
|
4192
4353
|
"solid",
|
|
4193
4354
|
"dashed",
|
|
4194
4355
|
"dashdot",
|
|
@@ -4197,62 +4358,62 @@ var PluginViewLineStyle = z74.enum([
|
|
|
4197
4358
|
"phantom",
|
|
4198
4359
|
"propertyLine"
|
|
4199
4360
|
]);
|
|
4200
|
-
var PluginPlacedViewStylePatch =
|
|
4201
|
-
hide:
|
|
4361
|
+
var PluginPlacedViewStylePatch = z76.object({
|
|
4362
|
+
hide: z76.boolean().optional(),
|
|
4202
4363
|
lineStyle: PluginViewLineStyle.optional(),
|
|
4203
|
-
lineColor:
|
|
4204
|
-
dashLength:
|
|
4205
|
-
lineWidth:
|
|
4206
|
-
cutWidth:
|
|
4207
|
-
projectionWidth:
|
|
4208
|
-
treeLineWidth:
|
|
4209
|
-
parkingLineWidth:
|
|
4210
|
-
colorMode:
|
|
4364
|
+
lineColor: z76.string().regex(/^#?[0-9a-fA-F]{6}$/, "lineColor must be a 6-digit hex color").optional(),
|
|
4365
|
+
dashLength: z76.number().finite().positive().optional(),
|
|
4366
|
+
lineWidth: z76.number().finite().min(0).optional(),
|
|
4367
|
+
cutWidth: z76.number().finite().min(0).optional(),
|
|
4368
|
+
projectionWidth: z76.number().finite().min(0).optional(),
|
|
4369
|
+
treeLineWidth: z76.number().finite().min(0).optional(),
|
|
4370
|
+
parkingLineWidth: z76.number().finite().min(0).optional(),
|
|
4371
|
+
colorMode: z76.string().refine(
|
|
4211
4372
|
(v) => ["department", "texture", "monochrome"].includes(v) || v.startsWith("tag:"),
|
|
4212
4373
|
{ message: "colorMode must be department, texture, monochrome, or tag:<tagCategoryId>" }
|
|
4213
4374
|
).optional(),
|
|
4214
|
-
opacity:
|
|
4215
|
-
mapOpacity:
|
|
4216
|
-
buildingOpacity:
|
|
4217
|
-
mapHide:
|
|
4218
|
-
buildingHide:
|
|
4219
|
-
noBuilding:
|
|
4220
|
-
viewStyle:
|
|
4221
|
-
radius:
|
|
4222
|
-
inset:
|
|
4375
|
+
opacity: z76.number().finite().min(0).max(100).optional(),
|
|
4376
|
+
mapOpacity: z76.number().finite().min(0).max(100).optional(),
|
|
4377
|
+
buildingOpacity: z76.number().finite().min(0).max(100).optional(),
|
|
4378
|
+
mapHide: z76.boolean().optional(),
|
|
4379
|
+
buildingHide: z76.boolean().optional(),
|
|
4380
|
+
noBuilding: z76.boolean().optional(),
|
|
4381
|
+
viewStyle: z76.enum(["NONE", "FILLET", "BUBBLE"]).optional(),
|
|
4382
|
+
radius: z76.number().finite().min(0).optional(),
|
|
4383
|
+
inset: z76.number().finite().min(0).optional()
|
|
4223
4384
|
}).strict().refine((p) => Object.keys(p).length > 0, { message: "patch must set at least one setting" });
|
|
4224
|
-
var PluginViewLabelType =
|
|
4225
|
-
var PluginViewFontVariantPatch =
|
|
4226
|
-
fontFamily:
|
|
4227
|
-
fontWeight:
|
|
4228
|
-
fontStyle:
|
|
4229
|
-
fontSize:
|
|
4385
|
+
var PluginViewLabelType = z76.enum(["objectLabels", "department", "areas"]);
|
|
4386
|
+
var PluginViewFontVariantPatch = z76.object({
|
|
4387
|
+
fontFamily: z76.string().min(1).optional(),
|
|
4388
|
+
fontWeight: z76.string().regex(/^\d{3}$/, 'fontWeight must be a numeric string like "400" or "700"').optional(),
|
|
4389
|
+
fontStyle: z76.enum(["normal", "italic"]).optional(),
|
|
4390
|
+
fontSize: z76.number().finite().positive().max(200).optional()
|
|
4230
4391
|
}).strict();
|
|
4231
|
-
var PluginPlacedViewFontStylesPatch =
|
|
4232
|
-
visibleTypes:
|
|
4392
|
+
var PluginPlacedViewFontStylesPatch = z76.object({
|
|
4393
|
+
visibleTypes: z76.array(PluginViewLabelType).optional(),
|
|
4233
4394
|
objectLabels: PluginViewFontVariantPatch.optional(),
|
|
4234
4395
|
department: PluginViewFontVariantPatch.optional(),
|
|
4235
4396
|
areas: PluginViewFontVariantPatch.optional()
|
|
4236
4397
|
}).strict().refine((p) => Object.keys(p).length > 0, { message: "patch must set at least one field" });
|
|
4237
|
-
var PluginPlacedViewsUpdateStylesArgs =
|
|
4238
|
-
shapeId:
|
|
4398
|
+
var PluginPlacedViewsUpdateStylesArgs = z76.object({
|
|
4399
|
+
shapeId: z76.string().min(1),
|
|
4239
4400
|
category: PluginViewSettingCategory,
|
|
4240
4401
|
patch: PluginPlacedViewStylePatch
|
|
4241
4402
|
});
|
|
4242
|
-
var PluginPlacedViewsUpdateFontStylesArgs =
|
|
4243
|
-
shapeId:
|
|
4403
|
+
var PluginPlacedViewsUpdateFontStylesArgs = z76.object({
|
|
4404
|
+
shapeId: z76.string().min(1),
|
|
4244
4405
|
category: PluginViewSettingCategory,
|
|
4245
4406
|
patch: PluginPlacedViewFontStylesPatch
|
|
4246
4407
|
});
|
|
4247
|
-
var PluginPlacedViewsMoveLabelArgs =
|
|
4248
|
-
labelId:
|
|
4408
|
+
var PluginPlacedViewsMoveLabelArgs = z76.object({
|
|
4409
|
+
labelId: z76.string().min(1),
|
|
4249
4410
|
position: PluginSheetPosition
|
|
4250
4411
|
});
|
|
4251
|
-
var PluginPlacedViewsSetLabelHiddenArgs =
|
|
4252
|
-
labelId:
|
|
4253
|
-
hidden:
|
|
4412
|
+
var PluginPlacedViewsSetLabelHiddenArgs = z76.object({
|
|
4413
|
+
labelId: z76.string().min(1),
|
|
4414
|
+
hidden: z76.boolean()
|
|
4254
4415
|
});
|
|
4255
|
-
var PluginCanvasShapeOrigin =
|
|
4416
|
+
var PluginCanvasShapeOrigin = z76.enum([
|
|
4256
4417
|
"view",
|
|
4257
4418
|
"aiOutput",
|
|
4258
4419
|
"diagram",
|
|
@@ -4261,65 +4422,65 @@ var PluginCanvasShapeOrigin = z74.enum([
|
|
|
4261
4422
|
"image",
|
|
4262
4423
|
"other"
|
|
4263
4424
|
]);
|
|
4264
|
-
var PluginPlacedViewsMoveShapeArgs =
|
|
4265
|
-
shapeId:
|
|
4425
|
+
var PluginPlacedViewsMoveShapeArgs = z76.object({
|
|
4426
|
+
shapeId: z76.string().min(1),
|
|
4266
4427
|
position: PluginSheetPosition,
|
|
4267
|
-
sheetId:
|
|
4428
|
+
sheetId: z76.string().optional()
|
|
4268
4429
|
});
|
|
4269
|
-
var PluginPlacedViewsResizeShapeArgs =
|
|
4270
|
-
shapeId:
|
|
4271
|
-
factor:
|
|
4430
|
+
var PluginPlacedViewsResizeShapeArgs = z76.object({
|
|
4431
|
+
shapeId: z76.string().min(1),
|
|
4432
|
+
factor: z76.number().finite().min(0.01).max(100)
|
|
4272
4433
|
});
|
|
4273
|
-
var PluginPresentationPlacedViewsRotateShapeArgs =
|
|
4274
|
-
shapeId:
|
|
4275
|
-
rotation:
|
|
4434
|
+
var PluginPresentationPlacedViewsRotateShapeArgs = z76.object({
|
|
4435
|
+
shapeId: z76.string().min(1),
|
|
4436
|
+
rotation: z76.number().finite()
|
|
4276
4437
|
});
|
|
4277
|
-
var PluginPlacedViewsDeleteShapesArgs =
|
|
4278
|
-
shapeIds:
|
|
4438
|
+
var PluginPlacedViewsDeleteShapesArgs = z76.object({
|
|
4439
|
+
shapeIds: z76.array(z76.string().min(1)).min(1).max(500)
|
|
4279
4440
|
});
|
|
4280
|
-
var PluginPlacedViewsSetOpacityArgs =
|
|
4281
|
-
shapeId:
|
|
4282
|
-
opacity:
|
|
4441
|
+
var PluginPlacedViewsSetOpacityArgs = z76.object({
|
|
4442
|
+
shapeId: z76.string().min(1),
|
|
4443
|
+
opacity: z76.number().finite().min(0).max(1)
|
|
4283
4444
|
});
|
|
4284
|
-
var PluginPlacedViewsSetMaskArgs =
|
|
4285
|
-
shapeId:
|
|
4286
|
-
enabled:
|
|
4445
|
+
var PluginPlacedViewsSetMaskArgs = z76.object({
|
|
4446
|
+
shapeId: z76.string().min(1),
|
|
4447
|
+
enabled: z76.boolean()
|
|
4287
4448
|
});
|
|
4288
4449
|
|
|
4289
4450
|
// src/api/presentation/diagrams.ts
|
|
4290
|
-
import * as
|
|
4451
|
+
import * as z77 from "zod";
|
|
4291
4452
|
var PluginPresentationDiagramsApi = class {
|
|
4292
4453
|
constructor() {
|
|
4293
4454
|
}
|
|
4294
4455
|
};
|
|
4295
|
-
var PluginPresentationDiagramsPlaceArgs =
|
|
4296
|
-
sheetId:
|
|
4297
|
-
urls:
|
|
4298
|
-
position:
|
|
4456
|
+
var PluginPresentationDiagramsPlaceArgs = z77.object({
|
|
4457
|
+
sheetId: z77.string(),
|
|
4458
|
+
urls: z77.array(z77.string()),
|
|
4459
|
+
position: z77.object({ x: z77.number(), y: z77.number() }).optional()
|
|
4299
4460
|
});
|
|
4300
|
-
var PluginPresentationDiagramsPlaceResult =
|
|
4301
|
-
shapeIds:
|
|
4461
|
+
var PluginPresentationDiagramsPlaceResult = z77.object({
|
|
4462
|
+
shapeIds: z77.array(z77.string())
|
|
4302
4463
|
});
|
|
4303
|
-
var PluginPresentationSiteDiagramType =
|
|
4464
|
+
var PluginPresentationSiteDiagramType = z77.enum([
|
|
4304
4465
|
"location",
|
|
4305
4466
|
"streetview",
|
|
4306
4467
|
"climate"
|
|
4307
4468
|
]);
|
|
4308
|
-
var PluginPresentationDiagramsGenerateSiteArgs =
|
|
4309
|
-
types:
|
|
4469
|
+
var PluginPresentationDiagramsGenerateSiteArgs = z77.object({
|
|
4470
|
+
types: z77.array(PluginPresentationSiteDiagramType).min(1).optional()
|
|
4310
4471
|
});
|
|
4311
|
-
var PluginPresentationDiagramsGenerateResult =
|
|
4312
|
-
sheetIds:
|
|
4472
|
+
var PluginPresentationDiagramsGenerateResult = z77.object({
|
|
4473
|
+
sheetIds: z77.array(z77.string())
|
|
4313
4474
|
});
|
|
4314
4475
|
|
|
4315
4476
|
// src/api/presentation/annotate.ts
|
|
4316
|
-
import * as
|
|
4477
|
+
import * as z78 from "zod";
|
|
4317
4478
|
var PluginPresentationAnnotateApi = class {
|
|
4318
4479
|
constructor() {
|
|
4319
4480
|
}
|
|
4320
4481
|
};
|
|
4321
|
-
var PluginAnnotateTextSize =
|
|
4322
|
-
var PluginAnnotateTextColor =
|
|
4482
|
+
var PluginAnnotateTextSize = z78.enum(["s", "m", "l", "xl"]);
|
|
4483
|
+
var PluginAnnotateTextColor = z78.enum([
|
|
4323
4484
|
"black",
|
|
4324
4485
|
"grey",
|
|
4325
4486
|
"light-violet",
|
|
@@ -4334,23 +4495,23 @@ var PluginAnnotateTextColor = z76.enum([
|
|
|
4334
4495
|
"red",
|
|
4335
4496
|
"white"
|
|
4336
4497
|
]);
|
|
4337
|
-
var PluginPresentationAnnotateTextArgs =
|
|
4338
|
-
sheetId:
|
|
4339
|
-
text:
|
|
4340
|
-
position:
|
|
4498
|
+
var PluginPresentationAnnotateTextArgs = z78.object({
|
|
4499
|
+
sheetId: z78.string(),
|
|
4500
|
+
text: z78.string(),
|
|
4501
|
+
position: z78.object({ x: z78.number(), y: z78.number() }).optional(),
|
|
4341
4502
|
size: PluginAnnotateTextSize.optional(),
|
|
4342
4503
|
color: PluginAnnotateTextColor.optional(),
|
|
4343
|
-
fontFamily:
|
|
4344
|
-
fontWeight:
|
|
4504
|
+
fontFamily: z78.string().min(1).optional(),
|
|
4505
|
+
fontWeight: z78.string().regex(
|
|
4345
4506
|
/^\d{3}(-italic)?$/,
|
|
4346
4507
|
'fontWeight must be a numeric string like "400" or "700", optionally with the "-italic" suffix'
|
|
4347
4508
|
).optional(),
|
|
4348
|
-
fontSizePx:
|
|
4509
|
+
fontSizePx: z78.number().finite().positive().optional()
|
|
4349
4510
|
});
|
|
4350
|
-
var PluginPresentationAnnotateTextResult =
|
|
4351
|
-
shapeId:
|
|
4511
|
+
var PluginPresentationAnnotateTextResult = z78.object({
|
|
4512
|
+
shapeId: z78.string()
|
|
4352
4513
|
});
|
|
4353
|
-
var PluginAnnotateGeoKind =
|
|
4514
|
+
var PluginAnnotateGeoKind = z78.enum([
|
|
4354
4515
|
"rectangle",
|
|
4355
4516
|
"ellipse",
|
|
4356
4517
|
"triangle",
|
|
@@ -4368,358 +4529,358 @@ var PluginAnnotateGeoKind = z76.enum([
|
|
|
4368
4529
|
"arrow-right",
|
|
4369
4530
|
"arrow-down"
|
|
4370
4531
|
]);
|
|
4371
|
-
var PluginAnnotateFill =
|
|
4372
|
-
var PluginPresentationAnnotateArrowArgs =
|
|
4373
|
-
sheetId:
|
|
4374
|
-
start:
|
|
4375
|
-
end:
|
|
4532
|
+
var PluginAnnotateFill = z78.enum(["none", "semi", "solid", "pattern"]);
|
|
4533
|
+
var PluginPresentationAnnotateArrowArgs = z78.object({
|
|
4534
|
+
sheetId: z78.string(),
|
|
4535
|
+
start: z78.object({ x: z78.number(), y: z78.number() }),
|
|
4536
|
+
end: z78.object({ x: z78.number(), y: z78.number() }),
|
|
4376
4537
|
color: PluginAnnotateTextColor.optional(),
|
|
4377
4538
|
size: PluginAnnotateTextSize.optional()
|
|
4378
4539
|
});
|
|
4379
|
-
var PluginPresentationAnnotateNoteArgs =
|
|
4380
|
-
sheetId:
|
|
4381
|
-
text:
|
|
4382
|
-
position:
|
|
4540
|
+
var PluginPresentationAnnotateNoteArgs = z78.object({
|
|
4541
|
+
sheetId: z78.string(),
|
|
4542
|
+
text: z78.string(),
|
|
4543
|
+
position: z78.object({ x: z78.number(), y: z78.number() }).optional(),
|
|
4383
4544
|
color: PluginAnnotateTextColor.optional(),
|
|
4384
4545
|
size: PluginAnnotateTextSize.optional()
|
|
4385
4546
|
});
|
|
4386
|
-
var PluginPresentationAnnotateShapeArgs =
|
|
4387
|
-
sheetId:
|
|
4547
|
+
var PluginPresentationAnnotateShapeArgs = z78.object({
|
|
4548
|
+
sheetId: z78.string(),
|
|
4388
4549
|
kind: PluginAnnotateGeoKind,
|
|
4389
|
-
bounds:
|
|
4390
|
-
x:
|
|
4391
|
-
y:
|
|
4392
|
-
w:
|
|
4393
|
-
h:
|
|
4550
|
+
bounds: z78.object({
|
|
4551
|
+
x: z78.number(),
|
|
4552
|
+
y: z78.number(),
|
|
4553
|
+
w: z78.number().positive(),
|
|
4554
|
+
h: z78.number().positive()
|
|
4394
4555
|
}),
|
|
4395
4556
|
color: PluginAnnotateTextColor.optional(),
|
|
4396
4557
|
fill: PluginAnnotateFill.optional()
|
|
4397
4558
|
});
|
|
4398
|
-
var PluginPresentationAnnotateResult =
|
|
4399
|
-
shapeId:
|
|
4559
|
+
var PluginPresentationAnnotateResult = z78.object({
|
|
4560
|
+
shapeId: z78.string()
|
|
4400
4561
|
});
|
|
4401
4562
|
|
|
4402
4563
|
// src/api/presentation/shapes.ts
|
|
4403
|
-
import * as
|
|
4564
|
+
import * as z79 from "zod";
|
|
4404
4565
|
var PluginPresentationShapesApi = class {
|
|
4405
4566
|
constructor() {
|
|
4406
4567
|
}
|
|
4407
4568
|
};
|
|
4408
|
-
var PluginPresentationShapeSpec =
|
|
4409
|
-
|
|
4410
|
-
type:
|
|
4411
|
-
text:
|
|
4412
|
-
position:
|
|
4569
|
+
var PluginPresentationShapeSpec = z79.discriminatedUnion("type", [
|
|
4570
|
+
z79.object({
|
|
4571
|
+
type: z79.literal("text"),
|
|
4572
|
+
text: z79.string(),
|
|
4573
|
+
position: z79.object({ x: z79.number(), y: z79.number() }).optional(),
|
|
4413
4574
|
size: PluginAnnotateTextSize.optional(),
|
|
4414
4575
|
color: PluginAnnotateTextColor.optional()
|
|
4415
4576
|
}),
|
|
4416
|
-
|
|
4417
|
-
type:
|
|
4418
|
-
text:
|
|
4419
|
-
position:
|
|
4577
|
+
z79.object({
|
|
4578
|
+
type: z79.literal("note"),
|
|
4579
|
+
text: z79.string(),
|
|
4580
|
+
position: z79.object({ x: z79.number(), y: z79.number() }).optional(),
|
|
4420
4581
|
color: PluginAnnotateTextColor.optional(),
|
|
4421
4582
|
size: PluginAnnotateTextSize.optional()
|
|
4422
4583
|
}),
|
|
4423
|
-
|
|
4424
|
-
type:
|
|
4425
|
-
start:
|
|
4426
|
-
end:
|
|
4584
|
+
z79.object({
|
|
4585
|
+
type: z79.literal("arrow"),
|
|
4586
|
+
start: z79.object({ x: z79.number(), y: z79.number() }),
|
|
4587
|
+
end: z79.object({ x: z79.number(), y: z79.number() }),
|
|
4427
4588
|
color: PluginAnnotateTextColor.optional(),
|
|
4428
4589
|
size: PluginAnnotateTextSize.optional()
|
|
4429
4590
|
}),
|
|
4430
|
-
|
|
4431
|
-
type:
|
|
4591
|
+
z79.object({
|
|
4592
|
+
type: z79.literal("geo"),
|
|
4432
4593
|
kind: PluginAnnotateGeoKind,
|
|
4433
|
-
bounds:
|
|
4434
|
-
x:
|
|
4435
|
-
y:
|
|
4436
|
-
w:
|
|
4437
|
-
h:
|
|
4594
|
+
bounds: z79.object({
|
|
4595
|
+
x: z79.number(),
|
|
4596
|
+
y: z79.number(),
|
|
4597
|
+
w: z79.number().positive(),
|
|
4598
|
+
h: z79.number().positive()
|
|
4438
4599
|
}),
|
|
4439
4600
|
color: PluginAnnotateTextColor.optional(),
|
|
4440
4601
|
fill: PluginAnnotateFill.optional()
|
|
4441
4602
|
})
|
|
4442
4603
|
]);
|
|
4443
|
-
var PluginPresentationShapeType =
|
|
4604
|
+
var PluginPresentationShapeType = z79.enum([
|
|
4444
4605
|
"text",
|
|
4445
4606
|
"note",
|
|
4446
4607
|
"arrow",
|
|
4447
4608
|
"geo"
|
|
4448
4609
|
]);
|
|
4449
|
-
var PluginPresentationShapesUpsertArgs =
|
|
4450
|
-
key:
|
|
4610
|
+
var PluginPresentationShapesUpsertArgs = z79.object({
|
|
4611
|
+
key: z79.string().min(1),
|
|
4451
4612
|
shape: PluginPresentationShapeSpec,
|
|
4452
|
-
sheetId:
|
|
4613
|
+
sheetId: z79.string().optional()
|
|
4453
4614
|
});
|
|
4454
|
-
var PluginPresentationShapesUpsertResult =
|
|
4455
|
-
shapeId:
|
|
4456
|
-
created:
|
|
4615
|
+
var PluginPresentationShapesUpsertResult = z79.object({
|
|
4616
|
+
shapeId: z79.string(),
|
|
4617
|
+
created: z79.boolean()
|
|
4457
4618
|
});
|
|
4458
|
-
var PluginPresentationShapesRemoveArgs =
|
|
4459
|
-
key:
|
|
4619
|
+
var PluginPresentationShapesRemoveArgs = z79.object({
|
|
4620
|
+
key: z79.string().min(1)
|
|
4460
4621
|
});
|
|
4461
|
-
var PluginPresentationShapesListResult =
|
|
4462
|
-
shapes:
|
|
4463
|
-
|
|
4464
|
-
key:
|
|
4465
|
-
shapeId:
|
|
4622
|
+
var PluginPresentationShapesListResult = z79.object({
|
|
4623
|
+
shapes: z79.array(
|
|
4624
|
+
z79.object({
|
|
4625
|
+
key: z79.string(),
|
|
4626
|
+
shapeId: z79.string(),
|
|
4466
4627
|
type: PluginPresentationShapeType
|
|
4467
4628
|
})
|
|
4468
4629
|
)
|
|
4469
4630
|
});
|
|
4470
4631
|
|
|
4471
4632
|
// src/api/presentation/tables.ts
|
|
4472
|
-
import * as
|
|
4633
|
+
import * as z80 from "zod";
|
|
4473
4634
|
var PluginPresentationTablesApi = class {
|
|
4474
4635
|
constructor() {
|
|
4475
4636
|
}
|
|
4476
4637
|
};
|
|
4477
|
-
var PluginPresentationTablesPlaceArgs =
|
|
4478
|
-
sheetId:
|
|
4479
|
-
rows:
|
|
4638
|
+
var PluginPresentationTablesPlaceArgs = z80.object({
|
|
4639
|
+
sheetId: z80.string().min(1),
|
|
4640
|
+
rows: z80.array(z80.array(z80.string()).min(1)).min(1).refine((rows) => rows.reduce((n, r) => n + r.length, 0) <= 1e4, {
|
|
4480
4641
|
message: "table exceeds the 10000-cell cap"
|
|
4481
4642
|
}),
|
|
4482
|
-
position:
|
|
4643
|
+
position: z80.object({ x: z80.number(), y: z80.number() }).optional()
|
|
4483
4644
|
});
|
|
4484
4645
|
|
|
4485
4646
|
// src/api/presentation/slideshow.ts
|
|
4486
|
-
import * as
|
|
4647
|
+
import * as z81 from "zod";
|
|
4487
4648
|
var PluginPresentationSlideshowApi = class {
|
|
4488
4649
|
constructor() {
|
|
4489
4650
|
}
|
|
4490
4651
|
};
|
|
4491
|
-
var PluginPresentationSlideshowStartArgs =
|
|
4492
|
-
sheetIds:
|
|
4493
|
-
startIndex:
|
|
4652
|
+
var PluginPresentationSlideshowStartArgs = z81.object({
|
|
4653
|
+
sheetIds: z81.array(z81.string().min(1)).optional(),
|
|
4654
|
+
startIndex: z81.number().int().min(0).optional()
|
|
4494
4655
|
});
|
|
4495
|
-
var PluginPresentationSlideshowState =
|
|
4496
|
-
running:
|
|
4497
|
-
index:
|
|
4656
|
+
var PluginPresentationSlideshowState = z81.object({
|
|
4657
|
+
running: z81.boolean(),
|
|
4658
|
+
index: z81.number().int().nullable()
|
|
4498
4659
|
});
|
|
4499
4660
|
|
|
4500
4661
|
// src/api/presentation/import.ts
|
|
4501
|
-
import * as
|
|
4662
|
+
import * as z82 from "zod";
|
|
4502
4663
|
var PluginPresentationImportApi = class {
|
|
4503
4664
|
constructor() {
|
|
4504
4665
|
}
|
|
4505
4666
|
};
|
|
4506
|
-
var PluginPresentationImportArgs =
|
|
4507
|
-
url:
|
|
4508
|
-
dataUrl:
|
|
4509
|
-
position:
|
|
4667
|
+
var PluginPresentationImportArgs = z82.object({
|
|
4668
|
+
url: z82.string().optional(),
|
|
4669
|
+
dataUrl: z82.string().optional(),
|
|
4670
|
+
position: z82.object({ x: z82.number(), y: z82.number() }).optional()
|
|
4510
4671
|
}).refine((a) => Boolean(a.url) || Boolean(a.dataUrl), {
|
|
4511
4672
|
message: "Provide a url or a dataUrl"
|
|
4512
4673
|
});
|
|
4513
|
-
var PluginPresentationImportResult =
|
|
4514
|
-
shapeIds:
|
|
4674
|
+
var PluginPresentationImportResult = z82.object({
|
|
4675
|
+
shapeIds: z82.array(z82.string())
|
|
4515
4676
|
});
|
|
4516
4677
|
|
|
4517
4678
|
// src/api/presentation/aiInspiration.ts
|
|
4518
|
-
import * as
|
|
4519
|
-
var JsonPrimitive =
|
|
4520
|
-
var JsonValue =
|
|
4521
|
-
() =>
|
|
4679
|
+
import * as z83 from "zod";
|
|
4680
|
+
var JsonPrimitive = z83.union([z83.string(), z83.number(), z83.boolean(), z83.null()]);
|
|
4681
|
+
var JsonValue = z83.lazy(
|
|
4682
|
+
() => z83.union([JsonPrimitive, z83.array(JsonValue), z83.record(z83.string(), JsonValue)])
|
|
4522
4683
|
);
|
|
4523
|
-
var PluginAIInspirationRunMode =
|
|
4524
|
-
var PluginAIInspirationOutputKind =
|
|
4684
|
+
var PluginAIInspirationRunMode = z83.enum(["blocking", "job"]);
|
|
4685
|
+
var PluginAIInspirationOutputKind = z83.enum([
|
|
4525
4686
|
"source",
|
|
4526
4687
|
"image",
|
|
4527
4688
|
"video"
|
|
4528
4689
|
]);
|
|
4529
|
-
var PluginAIInspirationModelOutput =
|
|
4530
|
-
var PluginAIInspirationRuntimeProvider =
|
|
4531
|
-
var PluginAIInspirationPromptStrategy =
|
|
4690
|
+
var PluginAIInspirationModelOutput = z83.enum(["image", "video"]);
|
|
4691
|
+
var PluginAIInspirationRuntimeProvider = z83.enum(["gpt", "fal"]);
|
|
4692
|
+
var PluginAIInspirationPromptStrategy = z83.enum([
|
|
4532
4693
|
"gpt-image",
|
|
4533
4694
|
"fal-image",
|
|
4534
4695
|
"fal-video"
|
|
4535
4696
|
]);
|
|
4536
|
-
var PluginAIInspirationShapeKind =
|
|
4537
|
-
var PluginAIInspirationVideoMode =
|
|
4697
|
+
var PluginAIInspirationShapeKind = z83.enum(["image", "view", "video"]);
|
|
4698
|
+
var PluginAIInspirationVideoMode = z83.enum([
|
|
4538
4699
|
"animate",
|
|
4539
4700
|
"references",
|
|
4540
4701
|
"keyframes"
|
|
4541
4702
|
]);
|
|
4542
|
-
var PluginAIInspirationVideoMotion =
|
|
4703
|
+
var PluginAIInspirationVideoMotion = z83.enum([
|
|
4543
4704
|
"auto",
|
|
4544
4705
|
"slow-dolly",
|
|
4545
4706
|
"subtle-orbit",
|
|
4546
4707
|
"reveal"
|
|
4547
4708
|
]);
|
|
4548
|
-
var PluginAIInspirationVideoDuration =
|
|
4549
|
-
var PluginAIInspirationJobStatus =
|
|
4709
|
+
var PluginAIInspirationVideoDuration = z83.enum(["4s", "6s", "8s"]);
|
|
4710
|
+
var PluginAIInspirationJobStatus = z83.enum([
|
|
4550
4711
|
"queued",
|
|
4551
4712
|
"running",
|
|
4552
4713
|
"completed",
|
|
4553
4714
|
"failed",
|
|
4554
4715
|
"cancelled"
|
|
4555
4716
|
]);
|
|
4556
|
-
var PluginAIInspirationWorkflowRunState =
|
|
4717
|
+
var PluginAIInspirationWorkflowRunState = z83.enum([
|
|
4557
4718
|
"current",
|
|
4558
4719
|
"stale",
|
|
4559
4720
|
"running",
|
|
4560
4721
|
"failed",
|
|
4561
4722
|
"superseded"
|
|
4562
4723
|
]);
|
|
4563
|
-
var PluginAIInspirationRegionHint =
|
|
4564
|
-
x:
|
|
4565
|
-
y:
|
|
4566
|
-
w:
|
|
4567
|
-
h:
|
|
4568
|
-
});
|
|
4569
|
-
var PluginAIInspirationPoint =
|
|
4570
|
-
x:
|
|
4571
|
-
y:
|
|
4572
|
-
});
|
|
4573
|
-
var PluginAIInspirationTextAnnotation =
|
|
4574
|
-
text:
|
|
4575
|
-
x:
|
|
4576
|
-
y:
|
|
4577
|
-
});
|
|
4578
|
-
var PluginAIInspirationSketchGuidance =
|
|
4579
|
-
visualShapeIds:
|
|
4580
|
-
textAnnotations:
|
|
4581
|
-
});
|
|
4582
|
-
var PluginAIInspirationSiteOptions =
|
|
4583
|
-
includeSatellite:
|
|
4584
|
-
includeStreetView:
|
|
4585
|
-
includeAerial:
|
|
4586
|
-
aerialBearing:
|
|
4587
|
-
aerialPitch:
|
|
4588
|
-
selectedDiagramIds:
|
|
4589
|
-
location:
|
|
4590
|
-
lat:
|
|
4591
|
-
lng:
|
|
4724
|
+
var PluginAIInspirationRegionHint = z83.object({
|
|
4725
|
+
x: z83.number().finite(),
|
|
4726
|
+
y: z83.number().finite(),
|
|
4727
|
+
w: z83.number().finite().positive(),
|
|
4728
|
+
h: z83.number().finite().positive()
|
|
4729
|
+
});
|
|
4730
|
+
var PluginAIInspirationPoint = z83.object({
|
|
4731
|
+
x: z83.number().finite(),
|
|
4732
|
+
y: z83.number().finite()
|
|
4733
|
+
});
|
|
4734
|
+
var PluginAIInspirationTextAnnotation = z83.object({
|
|
4735
|
+
text: z83.string().min(1),
|
|
4736
|
+
x: z83.number().finite().optional(),
|
|
4737
|
+
y: z83.number().finite().optional()
|
|
4738
|
+
});
|
|
4739
|
+
var PluginAIInspirationSketchGuidance = z83.object({
|
|
4740
|
+
visualShapeIds: z83.array(z83.string()).optional(),
|
|
4741
|
+
textAnnotations: z83.array(PluginAIInspirationTextAnnotation).optional()
|
|
4742
|
+
});
|
|
4743
|
+
var PluginAIInspirationSiteOptions = z83.object({
|
|
4744
|
+
includeSatellite: z83.boolean().optional(),
|
|
4745
|
+
includeStreetView: z83.boolean().optional(),
|
|
4746
|
+
includeAerial: z83.boolean().optional(),
|
|
4747
|
+
aerialBearing: z83.number().finite().optional(),
|
|
4748
|
+
aerialPitch: z83.number().finite().optional(),
|
|
4749
|
+
selectedDiagramIds: z83.array(z83.string()).optional(),
|
|
4750
|
+
location: z83.object({
|
|
4751
|
+
lat: z83.number().finite(),
|
|
4752
|
+
lng: z83.number().finite()
|
|
4592
4753
|
}).optional()
|
|
4593
4754
|
});
|
|
4594
|
-
var PluginAIInspirationAppliedPreset =
|
|
4595
|
-
source:
|
|
4596
|
-
presetId:
|
|
4597
|
-
name:
|
|
4598
|
-
savedPresetKind:
|
|
4599
|
-
stylePrompt:
|
|
4600
|
-
modelId:
|
|
4601
|
-
referenceImages:
|
|
4602
|
-
|
|
4603
|
-
url:
|
|
4604
|
-
label:
|
|
4605
|
-
weight:
|
|
4755
|
+
var PluginAIInspirationAppliedPreset = z83.object({
|
|
4756
|
+
source: z83.enum(["curated", "user"]),
|
|
4757
|
+
presetId: z83.string().min(1),
|
|
4758
|
+
name: z83.string().min(1),
|
|
4759
|
+
savedPresetKind: z83.enum(["prompt", "style"]).optional(),
|
|
4760
|
+
stylePrompt: z83.string().optional(),
|
|
4761
|
+
modelId: z83.string().optional(),
|
|
4762
|
+
referenceImages: z83.array(
|
|
4763
|
+
z83.object({
|
|
4764
|
+
url: z83.string().min(1),
|
|
4765
|
+
label: z83.string().optional(),
|
|
4766
|
+
weight: z83.number().finite().optional()
|
|
4606
4767
|
})
|
|
4607
4768
|
).optional(),
|
|
4608
|
-
siteDefaults:
|
|
4609
|
-
includeSatellite:
|
|
4610
|
-
includeStreetView:
|
|
4611
|
-
includeAerial:
|
|
4769
|
+
siteDefaults: z83.object({
|
|
4770
|
+
includeSatellite: z83.boolean().optional(),
|
|
4771
|
+
includeStreetView: z83.boolean().optional(),
|
|
4772
|
+
includeAerial: z83.boolean().optional()
|
|
4612
4773
|
}).optional()
|
|
4613
4774
|
});
|
|
4614
|
-
var PluginAIInspirationVideoOptions =
|
|
4775
|
+
var PluginAIInspirationVideoOptions = z83.object({
|
|
4615
4776
|
mode: PluginAIInspirationVideoMode.optional(),
|
|
4616
|
-
endFrameShapeId:
|
|
4777
|
+
endFrameShapeId: z83.string().optional(),
|
|
4617
4778
|
motion: PluginAIInspirationVideoMotion.optional(),
|
|
4618
4779
|
duration: PluginAIInspirationVideoDuration.optional()
|
|
4619
4780
|
});
|
|
4620
|
-
var PluginAIInspirationModel =
|
|
4621
|
-
id:
|
|
4622
|
-
label:
|
|
4623
|
-
supportsMultiImage:
|
|
4781
|
+
var PluginAIInspirationModel = z83.object({
|
|
4782
|
+
id: z83.string(),
|
|
4783
|
+
label: z83.string(),
|
|
4784
|
+
supportsMultiImage: z83.boolean(),
|
|
4624
4785
|
output: PluginAIInspirationModelOutput,
|
|
4625
|
-
isDefault:
|
|
4786
|
+
isDefault: z83.boolean().optional()
|
|
4626
4787
|
});
|
|
4627
|
-
var PluginAIInspirationModelCapability =
|
|
4628
|
-
id:
|
|
4788
|
+
var PluginAIInspirationModelCapability = z83.object({
|
|
4789
|
+
id: z83.string(),
|
|
4629
4790
|
output: PluginAIInspirationModelOutput,
|
|
4630
4791
|
provider: PluginAIInspirationRuntimeProvider,
|
|
4631
|
-
supportsRegionEdit:
|
|
4632
|
-
supportsReferenceImages:
|
|
4633
|
-
supportsStylePresets:
|
|
4634
|
-
supportsSiteContext:
|
|
4635
|
-
supportsSketchGuidance:
|
|
4636
|
-
supportsKeyframes:
|
|
4637
|
-
maxExtraImages:
|
|
4792
|
+
supportsRegionEdit: z83.boolean(),
|
|
4793
|
+
supportsReferenceImages: z83.boolean(),
|
|
4794
|
+
supportsStylePresets: z83.boolean(),
|
|
4795
|
+
supportsSiteContext: z83.boolean(),
|
|
4796
|
+
supportsSketchGuidance: z83.boolean(),
|
|
4797
|
+
supportsKeyframes: z83.boolean(),
|
|
4798
|
+
maxExtraImages: z83.number().int().nonnegative(),
|
|
4638
4799
|
promptStrategy: PluginAIInspirationPromptStrategy
|
|
4639
4800
|
});
|
|
4640
|
-
var PluginAIInspirationListModelsResult =
|
|
4641
|
-
defaultModelId:
|
|
4642
|
-
models:
|
|
4801
|
+
var PluginAIInspirationListModelsResult = z83.object({
|
|
4802
|
+
defaultModelId: z83.string(),
|
|
4803
|
+
models: z83.array(PluginAIInspirationModel)
|
|
4643
4804
|
});
|
|
4644
|
-
var PluginAIInspirationGetModelCapabilitiesArgs =
|
|
4645
|
-
modelId:
|
|
4805
|
+
var PluginAIInspirationGetModelCapabilitiesArgs = z83.object({
|
|
4806
|
+
modelId: z83.string().min(1)
|
|
4646
4807
|
});
|
|
4647
|
-
var PluginAIInspirationGetModelCapabilitiesResult =
|
|
4808
|
+
var PluginAIInspirationGetModelCapabilitiesResult = z83.object({
|
|
4648
4809
|
capability: PluginAIInspirationModelCapability
|
|
4649
4810
|
});
|
|
4650
|
-
var PluginAIInspirationShapeRef =
|
|
4651
|
-
shapeId:
|
|
4652
|
-
assetId:
|
|
4811
|
+
var PluginAIInspirationShapeRef = z83.object({
|
|
4812
|
+
shapeId: z83.string(),
|
|
4813
|
+
assetId: z83.string().optional(),
|
|
4653
4814
|
kind: PluginAIInspirationShapeKind,
|
|
4654
|
-
name:
|
|
4655
|
-
width:
|
|
4656
|
-
height:
|
|
4815
|
+
name: z83.string().optional(),
|
|
4816
|
+
width: z83.number().finite().optional(),
|
|
4817
|
+
height: z83.number().finite().optional(),
|
|
4657
4818
|
outputType: PluginAIInspirationOutputKind.optional(),
|
|
4658
|
-
sourceUrl:
|
|
4659
|
-
});
|
|
4660
|
-
var PluginAIInspirationListSourcesArgs =
|
|
4661
|
-
includeGenerated:
|
|
4662
|
-
includeSourceUrl:
|
|
4663
|
-
});
|
|
4664
|
-
var PluginAIInspirationListSourcesResult =
|
|
4665
|
-
sources:
|
|
4666
|
-
});
|
|
4667
|
-
var PluginAIInspirationGetSelectionResult =
|
|
4668
|
-
selectedShapeIds:
|
|
4669
|
-
sources:
|
|
4670
|
-
});
|
|
4671
|
-
var PluginAIInspirationPresetReferenceImage =
|
|
4672
|
-
url:
|
|
4673
|
-
label:
|
|
4674
|
-
weight:
|
|
4675
|
-
});
|
|
4676
|
-
var PluginAIInspirationPreset =
|
|
4677
|
-
id:
|
|
4678
|
-
name:
|
|
4679
|
-
source:
|
|
4680
|
-
modelId:
|
|
4681
|
-
categoryId:
|
|
4682
|
-
categoryLabel:
|
|
4683
|
-
description:
|
|
4684
|
-
previewImageUrl:
|
|
4685
|
-
prompt:
|
|
4686
|
-
stylePrompt:
|
|
4687
|
-
tags:
|
|
4688
|
-
referenceImages:
|
|
4819
|
+
sourceUrl: z83.string().optional()
|
|
4820
|
+
});
|
|
4821
|
+
var PluginAIInspirationListSourcesArgs = z83.object({
|
|
4822
|
+
includeGenerated: z83.boolean().optional(),
|
|
4823
|
+
includeSourceUrl: z83.boolean().optional()
|
|
4824
|
+
});
|
|
4825
|
+
var PluginAIInspirationListSourcesResult = z83.object({
|
|
4826
|
+
sources: z83.array(PluginAIInspirationShapeRef)
|
|
4827
|
+
});
|
|
4828
|
+
var PluginAIInspirationGetSelectionResult = z83.object({
|
|
4829
|
+
selectedShapeIds: z83.array(z83.string()),
|
|
4830
|
+
sources: z83.array(PluginAIInspirationShapeRef)
|
|
4831
|
+
});
|
|
4832
|
+
var PluginAIInspirationPresetReferenceImage = z83.object({
|
|
4833
|
+
url: z83.string(),
|
|
4834
|
+
label: z83.string().optional(),
|
|
4835
|
+
weight: z83.number().finite().optional()
|
|
4836
|
+
});
|
|
4837
|
+
var PluginAIInspirationPreset = z83.object({
|
|
4838
|
+
id: z83.string(),
|
|
4839
|
+
name: z83.string(),
|
|
4840
|
+
source: z83.enum(["curated", "user"]),
|
|
4841
|
+
modelId: z83.string(),
|
|
4842
|
+
categoryId: z83.string().optional(),
|
|
4843
|
+
categoryLabel: z83.string().optional(),
|
|
4844
|
+
description: z83.string().optional(),
|
|
4845
|
+
previewImageUrl: z83.string().optional(),
|
|
4846
|
+
prompt: z83.string().optional(),
|
|
4847
|
+
stylePrompt: z83.string().optional(),
|
|
4848
|
+
tags: z83.array(z83.string()).optional(),
|
|
4849
|
+
referenceImages: z83.array(PluginAIInspirationPresetReferenceImage).optional(),
|
|
4689
4850
|
siteDefaults: PluginAIInspirationAppliedPreset.shape.siteDefaults.optional()
|
|
4690
4851
|
});
|
|
4691
|
-
var PluginAIInspirationPresetCategory =
|
|
4692
|
-
id:
|
|
4693
|
-
label:
|
|
4694
|
-
description:
|
|
4852
|
+
var PluginAIInspirationPresetCategory = z83.object({
|
|
4853
|
+
id: z83.string(),
|
|
4854
|
+
label: z83.string(),
|
|
4855
|
+
description: z83.string().optional()
|
|
4695
4856
|
});
|
|
4696
|
-
var PluginAIInspirationGetPresetCatalogResult =
|
|
4697
|
-
categories:
|
|
4698
|
-
presets:
|
|
4857
|
+
var PluginAIInspirationGetPresetCatalogResult = z83.object({
|
|
4858
|
+
categories: z83.array(PluginAIInspirationPresetCategory),
|
|
4859
|
+
presets: z83.array(PluginAIInspirationPreset)
|
|
4699
4860
|
});
|
|
4700
|
-
var PluginAIInspirationOutput =
|
|
4701
|
-
outputType:
|
|
4702
|
-
shapeId:
|
|
4703
|
-
assetId:
|
|
4704
|
-
outputUrl:
|
|
4861
|
+
var PluginAIInspirationOutput = z83.object({
|
|
4862
|
+
outputType: z83.enum(["image", "video"]),
|
|
4863
|
+
shapeId: z83.string(),
|
|
4864
|
+
assetId: z83.string(),
|
|
4865
|
+
outputUrl: z83.string().optional(),
|
|
4705
4866
|
position: PluginAIInspirationPoint.optional()
|
|
4706
4867
|
});
|
|
4707
|
-
var PluginAIInspirationDebugSummary =
|
|
4708
|
-
var PluginAIInspirationRunMetadata =
|
|
4709
|
-
geometryFidelity:
|
|
4868
|
+
var PluginAIInspirationDebugSummary = z83.record(z83.string(), JsonValue);
|
|
4869
|
+
var PluginAIInspirationRunMetadata = z83.object({
|
|
4870
|
+
geometryFidelity: z83.string().optional(),
|
|
4710
4871
|
debugSummary: PluginAIInspirationDebugSummary.optional(),
|
|
4711
|
-
streetViewComposite:
|
|
4712
|
-
used:
|
|
4713
|
-
renderMode:
|
|
4714
|
-
backgroundLabel:
|
|
4872
|
+
streetViewComposite: z83.object({
|
|
4873
|
+
used: z83.boolean(),
|
|
4874
|
+
renderMode: z83.enum(["prompt_refs_default", "masked_composite_pilot"]),
|
|
4875
|
+
backgroundLabel: z83.string().optional()
|
|
4715
4876
|
}).optional()
|
|
4716
4877
|
});
|
|
4717
|
-
var PluginAIInspirationGenerateArgs =
|
|
4718
|
-
sourceShapeId:
|
|
4719
|
-
prompt:
|
|
4720
|
-
modelId:
|
|
4721
|
-
referenceShapeIds:
|
|
4722
|
-
referenceStrength:
|
|
4878
|
+
var PluginAIInspirationGenerateArgs = z83.object({
|
|
4879
|
+
sourceShapeId: z83.string().min(1),
|
|
4880
|
+
prompt: z83.string().min(1).max(8e3),
|
|
4881
|
+
modelId: z83.string().optional(),
|
|
4882
|
+
referenceShapeIds: z83.array(z83.string()).max(12).optional(),
|
|
4883
|
+
referenceStrength: z83.enum(["low", "medium", "high"]).optional(),
|
|
4723
4884
|
appliedPreset: PluginAIInspirationAppliedPreset.optional(),
|
|
4724
4885
|
site: PluginAIInspirationSiteOptions.optional(),
|
|
4725
4886
|
regionHint: PluginAIInspirationRegionHint.optional(),
|
|
@@ -4727,129 +4888,129 @@ var PluginAIInspirationGenerateArgs = z81.object({
|
|
|
4727
4888
|
video: PluginAIInspirationVideoOptions.optional(),
|
|
4728
4889
|
runMode: PluginAIInspirationRunMode.optional()
|
|
4729
4890
|
});
|
|
4730
|
-
var PluginAIInspirationRunResult =
|
|
4731
|
-
jobId:
|
|
4891
|
+
var PluginAIInspirationRunResult = z83.object({
|
|
4892
|
+
jobId: z83.string().optional(),
|
|
4732
4893
|
output: PluginAIInspirationOutput.optional(),
|
|
4733
|
-
outputs:
|
|
4894
|
+
outputs: z83.array(PluginAIInspirationOutput).optional(),
|
|
4734
4895
|
metadata: PluginAIInspirationRunMetadata.optional()
|
|
4735
4896
|
});
|
|
4736
|
-
var PluginAIInspirationRefineArgs =
|
|
4737
|
-
sourceShapeId:
|
|
4738
|
-
upscaleFactor:
|
|
4897
|
+
var PluginAIInspirationRefineArgs = z83.object({
|
|
4898
|
+
sourceShapeId: z83.string().min(1),
|
|
4899
|
+
upscaleFactor: z83.union([z83.literal(1.5), z83.literal(2), z83.literal(4)]).optional(),
|
|
4739
4900
|
runMode: PluginAIInspirationRunMode.optional()
|
|
4740
4901
|
});
|
|
4741
|
-
var PluginAIInspirationJobProgress =
|
|
4742
|
-
currentStep:
|
|
4743
|
-
totalSteps:
|
|
4744
|
-
message:
|
|
4902
|
+
var PluginAIInspirationJobProgress = z83.object({
|
|
4903
|
+
currentStep: z83.number().int().nonnegative().optional(),
|
|
4904
|
+
totalSteps: z83.number().int().nonnegative().optional(),
|
|
4905
|
+
message: z83.string().optional()
|
|
4745
4906
|
});
|
|
4746
|
-
var PluginAIInspirationJob =
|
|
4747
|
-
jobId:
|
|
4907
|
+
var PluginAIInspirationJob = z83.object({
|
|
4908
|
+
jobId: z83.string(),
|
|
4748
4909
|
status: PluginAIInspirationJobStatus,
|
|
4749
|
-
createdAt:
|
|
4750
|
-
updatedAt:
|
|
4751
|
-
completedAt:
|
|
4752
|
-
method:
|
|
4910
|
+
createdAt: z83.number(),
|
|
4911
|
+
updatedAt: z83.number(),
|
|
4912
|
+
completedAt: z83.number().optional(),
|
|
4913
|
+
method: z83.string(),
|
|
4753
4914
|
progress: PluginAIInspirationJobProgress.optional(),
|
|
4754
4915
|
result: PluginAIInspirationRunResult.optional(),
|
|
4755
|
-
error:
|
|
4916
|
+
error: z83.string().optional()
|
|
4756
4917
|
});
|
|
4757
|
-
var PluginAIInspirationJobArgs =
|
|
4758
|
-
jobId:
|
|
4918
|
+
var PluginAIInspirationJobArgs = z83.object({
|
|
4919
|
+
jobId: z83.string().min(1)
|
|
4759
4920
|
});
|
|
4760
|
-
var PluginAIInspirationGetJobResult =
|
|
4921
|
+
var PluginAIInspirationGetJobResult = z83.object({
|
|
4761
4922
|
job: PluginAIInspirationJob
|
|
4762
4923
|
});
|
|
4763
|
-
var PluginAIInspirationCancelJobResult =
|
|
4924
|
+
var PluginAIInspirationCancelJobResult = z83.object({
|
|
4764
4925
|
job: PluginAIInspirationJob
|
|
4765
4926
|
});
|
|
4766
|
-
var PluginAIInspirationListJobsResult =
|
|
4767
|
-
jobs:
|
|
4927
|
+
var PluginAIInspirationListJobsResult = z83.object({
|
|
4928
|
+
jobs: z83.array(PluginAIInspirationJob)
|
|
4768
4929
|
});
|
|
4769
|
-
var PluginAIInspirationWorkflowVideoConfig =
|
|
4770
|
-
mode:
|
|
4771
|
-
motion:
|
|
4772
|
-
duration:
|
|
4773
|
-
endFrameShapeId:
|
|
4930
|
+
var PluginAIInspirationWorkflowVideoConfig = z83.object({
|
|
4931
|
+
mode: z83.string().optional(),
|
|
4932
|
+
motion: z83.string().optional(),
|
|
4933
|
+
duration: z83.string().optional(),
|
|
4934
|
+
endFrameShapeId: z83.string().optional()
|
|
4774
4935
|
});
|
|
4775
|
-
var PluginAIInspirationGenerationInputSnapshot =
|
|
4776
|
-
version:
|
|
4777
|
-
meta:
|
|
4936
|
+
var PluginAIInspirationGenerationInputSnapshot = z83.object({
|
|
4937
|
+
version: z83.literal(1),
|
|
4938
|
+
meta: z83.record(z83.string(), JsonValue),
|
|
4778
4939
|
regionHint: PluginAIInspirationRegionHint.optional(),
|
|
4779
|
-
sketchGuidance:
|
|
4780
|
-
sourceCameraHeading:
|
|
4781
|
-
});
|
|
4782
|
-
var PluginAIInspirationWorkflowOperation =
|
|
4783
|
-
type:
|
|
4784
|
-
label:
|
|
4785
|
-
prompt:
|
|
4786
|
-
modelId:
|
|
4787
|
-
presetId:
|
|
4788
|
-
presetName:
|
|
4789
|
-
refineFactor:
|
|
4790
|
-
sourceRole:
|
|
4940
|
+
sketchGuidance: z83.record(z83.string(), JsonValue).optional(),
|
|
4941
|
+
sourceCameraHeading: z83.number().finite().optional()
|
|
4942
|
+
});
|
|
4943
|
+
var PluginAIInspirationWorkflowOperation = z83.object({
|
|
4944
|
+
type: z83.enum(["generate-image", "refine", "generate-video"]),
|
|
4945
|
+
label: z83.string(),
|
|
4946
|
+
prompt: z83.string().optional(),
|
|
4947
|
+
modelId: z83.string().optional(),
|
|
4948
|
+
presetId: z83.string().optional(),
|
|
4949
|
+
presetName: z83.string().optional(),
|
|
4950
|
+
refineFactor: z83.number().finite().optional(),
|
|
4951
|
+
sourceRole: z83.enum(["primary", "end-frame"]).optional(),
|
|
4791
4952
|
video: PluginAIInspirationWorkflowVideoConfig.optional(),
|
|
4792
4953
|
generationInput: PluginAIInspirationGenerationInputSnapshot.optional()
|
|
4793
4954
|
});
|
|
4794
|
-
var PluginAIInspirationWorkflowNode =
|
|
4795
|
-
id:
|
|
4796
|
-
shapeId:
|
|
4797
|
-
assetId:
|
|
4955
|
+
var PluginAIInspirationWorkflowNode = z83.object({
|
|
4956
|
+
id: z83.string(),
|
|
4957
|
+
shapeId: z83.string(),
|
|
4958
|
+
assetId: z83.string().optional(),
|
|
4798
4959
|
kind: PluginAIInspirationOutputKind,
|
|
4799
|
-
state:
|
|
4960
|
+
state: z83.string(),
|
|
4800
4961
|
runState: PluginAIInspirationWorkflowRunState.optional(),
|
|
4801
|
-
staleReason:
|
|
4802
|
-
incomingEdgeIds:
|
|
4803
|
-
outgoingEdgeIds:
|
|
4804
|
-
createdAt:
|
|
4805
|
-
updatedAt:
|
|
4806
|
-
});
|
|
4807
|
-
var PluginAIInspirationWorkflowEdge =
|
|
4808
|
-
id:
|
|
4809
|
-
sourceNodeId:
|
|
4810
|
-
targetNodeId:
|
|
4811
|
-
arrowShapeId:
|
|
4962
|
+
staleReason: z83.string().optional(),
|
|
4963
|
+
incomingEdgeIds: z83.array(z83.string()),
|
|
4964
|
+
outgoingEdgeIds: z83.array(z83.string()),
|
|
4965
|
+
createdAt: z83.number(),
|
|
4966
|
+
updatedAt: z83.number()
|
|
4967
|
+
});
|
|
4968
|
+
var PluginAIInspirationWorkflowEdge = z83.object({
|
|
4969
|
+
id: z83.string(),
|
|
4970
|
+
sourceNodeId: z83.string(),
|
|
4971
|
+
targetNodeId: z83.string(),
|
|
4972
|
+
arrowShapeId: z83.string().optional(),
|
|
4812
4973
|
operation: PluginAIInspirationWorkflowOperation,
|
|
4813
|
-
state:
|
|
4974
|
+
state: z83.string(),
|
|
4814
4975
|
runState: PluginAIInspirationWorkflowRunState.optional(),
|
|
4815
|
-
staleReason:
|
|
4816
|
-
supersededByEdgeId:
|
|
4817
|
-
createdAt:
|
|
4818
|
-
updatedAt:
|
|
4819
|
-
});
|
|
4820
|
-
var PluginAIInspirationWorkflow =
|
|
4821
|
-
id:
|
|
4822
|
-
rootNodeIds:
|
|
4823
|
-
nodeIds:
|
|
4824
|
-
edgeIds:
|
|
4825
|
-
nodes:
|
|
4826
|
-
edges:
|
|
4827
|
-
createdAt:
|
|
4828
|
-
updatedAt:
|
|
4829
|
-
});
|
|
4830
|
-
var PluginAIInspirationGetWorkflowForShapeArgs =
|
|
4831
|
-
shapeId:
|
|
4832
|
-
});
|
|
4833
|
-
var PluginAIInspirationGetWorkflowForShapeResult =
|
|
4976
|
+
staleReason: z83.string().optional(),
|
|
4977
|
+
supersededByEdgeId: z83.string().optional(),
|
|
4978
|
+
createdAt: z83.number(),
|
|
4979
|
+
updatedAt: z83.number()
|
|
4980
|
+
});
|
|
4981
|
+
var PluginAIInspirationWorkflow = z83.object({
|
|
4982
|
+
id: z83.string(),
|
|
4983
|
+
rootNodeIds: z83.array(z83.string()),
|
|
4984
|
+
nodeIds: z83.array(z83.string()),
|
|
4985
|
+
edgeIds: z83.array(z83.string()),
|
|
4986
|
+
nodes: z83.record(z83.string(), PluginAIInspirationWorkflowNode),
|
|
4987
|
+
edges: z83.record(z83.string(), PluginAIInspirationWorkflowEdge),
|
|
4988
|
+
createdAt: z83.number(),
|
|
4989
|
+
updatedAt: z83.number()
|
|
4990
|
+
});
|
|
4991
|
+
var PluginAIInspirationGetWorkflowForShapeArgs = z83.object({
|
|
4992
|
+
shapeId: z83.string().min(1)
|
|
4993
|
+
});
|
|
4994
|
+
var PluginAIInspirationGetWorkflowForShapeResult = z83.object({
|
|
4834
4995
|
workflow: PluginAIInspirationWorkflow.nullable(),
|
|
4835
4996
|
node: PluginAIInspirationWorkflowNode.nullable()
|
|
4836
4997
|
});
|
|
4837
|
-
var PluginAIInspirationRerunPlanResult =
|
|
4998
|
+
var PluginAIInspirationRerunPlanResult = z83.discriminatedUnion(
|
|
4838
4999
|
"status",
|
|
4839
5000
|
[
|
|
4840
|
-
|
|
4841
|
-
status:
|
|
4842
|
-
workflowId:
|
|
5001
|
+
z83.object({
|
|
5002
|
+
status: z83.literal("ready"),
|
|
5003
|
+
workflowId: z83.string(),
|
|
4843
5004
|
sourceNode: PluginAIInspirationWorkflowNode,
|
|
4844
|
-
edgeIds:
|
|
4845
|
-
edges:
|
|
4846
|
-
recipe:
|
|
4847
|
-
needsEndFrame:
|
|
4848
|
-
defaultEndFrameShapeId:
|
|
5005
|
+
edgeIds: z83.array(z83.string()),
|
|
5006
|
+
edges: z83.array(PluginAIInspirationWorkflowEdge),
|
|
5007
|
+
recipe: z83.lazy(() => PluginAIInspirationRecipe),
|
|
5008
|
+
needsEndFrame: z83.boolean(),
|
|
5009
|
+
defaultEndFrameShapeId: z83.string().nullable()
|
|
4849
5010
|
}),
|
|
4850
|
-
|
|
4851
|
-
status:
|
|
4852
|
-
reason:
|
|
5011
|
+
z83.object({
|
|
5012
|
+
status: z83.literal("unavailable"),
|
|
5013
|
+
reason: z83.enum([
|
|
4853
5014
|
"not-in-workflow",
|
|
4854
5015
|
"source-only",
|
|
4855
5016
|
"running",
|
|
@@ -4858,47 +5019,47 @@ var PluginAIInspirationRerunPlanResult = z81.discriminatedUnion(
|
|
|
4858
5019
|
})
|
|
4859
5020
|
]
|
|
4860
5021
|
);
|
|
4861
|
-
var PluginAIInspirationRerunSelectedBranchArgs =
|
|
4862
|
-
shapeId:
|
|
4863
|
-
endFrameShapeId:
|
|
5022
|
+
var PluginAIInspirationRerunSelectedBranchArgs = z83.object({
|
|
5023
|
+
shapeId: z83.string().min(1),
|
|
5024
|
+
endFrameShapeId: z83.string().optional(),
|
|
4864
5025
|
runMode: PluginAIInspirationRunMode.optional()
|
|
4865
5026
|
});
|
|
4866
|
-
var PluginAIInspirationRecipeSlot =
|
|
4867
|
-
id:
|
|
4868
|
-
type:
|
|
4869
|
-
label:
|
|
4870
|
-
required:
|
|
5027
|
+
var PluginAIInspirationRecipeSlot = z83.object({
|
|
5028
|
+
id: z83.string(),
|
|
5029
|
+
type: z83.enum(["source-image", "end-frame"]),
|
|
5030
|
+
label: z83.string(),
|
|
5031
|
+
required: z83.boolean()
|
|
4871
5032
|
});
|
|
4872
|
-
var PluginAIInspirationRecipeStep =
|
|
4873
|
-
id:
|
|
5033
|
+
var PluginAIInspirationRecipeStep = z83.object({
|
|
5034
|
+
id: z83.string(),
|
|
4874
5035
|
operation: PluginAIInspirationWorkflowOperation,
|
|
4875
|
-
outputKind:
|
|
5036
|
+
outputKind: z83.enum(["image", "video"])
|
|
4876
5037
|
});
|
|
4877
|
-
var PluginAIInspirationRecipeDraft =
|
|
4878
|
-
name:
|
|
4879
|
-
summary:
|
|
4880
|
-
slots:
|
|
4881
|
-
steps:
|
|
4882
|
-
outputKind:
|
|
4883
|
-
thumbnailUrl:
|
|
5038
|
+
var PluginAIInspirationRecipeDraft = z83.object({
|
|
5039
|
+
name: z83.string(),
|
|
5040
|
+
summary: z83.string(),
|
|
5041
|
+
slots: z83.array(PluginAIInspirationRecipeSlot),
|
|
5042
|
+
steps: z83.array(PluginAIInspirationRecipeStep).min(1).max(20),
|
|
5043
|
+
outputKind: z83.enum(["image", "video"]),
|
|
5044
|
+
thumbnailUrl: z83.string().optional()
|
|
4884
5045
|
});
|
|
4885
5046
|
var PluginAIInspirationRecipe = PluginAIInspirationRecipeDraft.extend({
|
|
4886
|
-
version:
|
|
4887
|
-
id:
|
|
4888
|
-
fingerprint:
|
|
4889
|
-
createdAt:
|
|
4890
|
-
updatedAt:
|
|
5047
|
+
version: z83.literal(1),
|
|
5048
|
+
id: z83.string(),
|
|
5049
|
+
fingerprint: z83.string().optional(),
|
|
5050
|
+
createdAt: z83.number(),
|
|
5051
|
+
updatedAt: z83.number()
|
|
4891
5052
|
});
|
|
4892
|
-
var PluginAIInspirationExtractionResult =
|
|
5053
|
+
var PluginAIInspirationExtractionResult = z83.discriminatedUnion(
|
|
4893
5054
|
"status",
|
|
4894
5055
|
[
|
|
4895
|
-
|
|
4896
|
-
status:
|
|
5056
|
+
z83.object({
|
|
5057
|
+
status: z83.literal("ready"),
|
|
4897
5058
|
draft: PluginAIInspirationRecipeDraft
|
|
4898
5059
|
}),
|
|
4899
|
-
|
|
4900
|
-
status:
|
|
4901
|
-
reason:
|
|
5060
|
+
z83.object({
|
|
5061
|
+
status: z83.literal("unavailable"),
|
|
5062
|
+
reason: z83.enum([
|
|
4902
5063
|
"not-in-workflow",
|
|
4903
5064
|
"source-only",
|
|
4904
5065
|
"missing-workflow",
|
|
@@ -4909,38 +5070,38 @@ var PluginAIInspirationExtractionResult = z81.discriminatedUnion(
|
|
|
4909
5070
|
})
|
|
4910
5071
|
]
|
|
4911
5072
|
);
|
|
4912
|
-
var PluginAIInspirationListRecipesResult =
|
|
4913
|
-
recipes:
|
|
5073
|
+
var PluginAIInspirationListRecipesResult = z83.object({
|
|
5074
|
+
recipes: z83.array(PluginAIInspirationRecipe)
|
|
4914
5075
|
});
|
|
4915
|
-
var PluginAIInspirationSaveRecipeArgs =
|
|
5076
|
+
var PluginAIInspirationSaveRecipeArgs = z83.object({
|
|
4916
5077
|
draft: PluginAIInspirationRecipeDraft,
|
|
4917
|
-
name:
|
|
5078
|
+
name: z83.string().min(1)
|
|
4918
5079
|
});
|
|
4919
|
-
var PluginAIInspirationSaveRecipeResult =
|
|
5080
|
+
var PluginAIInspirationSaveRecipeResult = z83.discriminatedUnion(
|
|
4920
5081
|
"status",
|
|
4921
5082
|
[
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
status:
|
|
5083
|
+
z83.object({ status: z83.literal("saved"), recipe: PluginAIInspirationRecipe }),
|
|
5084
|
+
z83.object({
|
|
5085
|
+
status: z83.literal("duplicate"),
|
|
4925
5086
|
recipe: PluginAIInspirationRecipe
|
|
4926
5087
|
}),
|
|
4927
|
-
|
|
4928
|
-
|
|
5088
|
+
z83.object({ status: z83.literal("invalid-name"), recipe: z83.null() }),
|
|
5089
|
+
z83.object({ status: z83.literal("failed"), recipe: z83.null() })
|
|
4929
5090
|
]
|
|
4930
5091
|
);
|
|
4931
|
-
var PluginAIInspirationDeleteRecipeArgs =
|
|
4932
|
-
recipeId:
|
|
5092
|
+
var PluginAIInspirationDeleteRecipeArgs = z83.object({
|
|
5093
|
+
recipeId: z83.string().min(1)
|
|
4933
5094
|
});
|
|
4934
|
-
var PluginAIInspirationDeleteRecipeResult =
|
|
4935
|
-
deleted:
|
|
5095
|
+
var PluginAIInspirationDeleteRecipeResult = z83.object({
|
|
5096
|
+
deleted: z83.boolean()
|
|
4936
5097
|
});
|
|
4937
|
-
var PluginAIInspirationExtractRecipeFromShapeArgs =
|
|
4938
|
-
shapeId:
|
|
5098
|
+
var PluginAIInspirationExtractRecipeFromShapeArgs = z83.object({
|
|
5099
|
+
shapeId: z83.string().min(1)
|
|
4939
5100
|
});
|
|
4940
|
-
var PluginAIInspirationRunRecipeArgs =
|
|
4941
|
-
recipeId:
|
|
5101
|
+
var PluginAIInspirationRunRecipeArgs = z83.object({
|
|
5102
|
+
recipeId: z83.string().optional(),
|
|
4942
5103
|
recipe: PluginAIInspirationRecipe.optional(),
|
|
4943
|
-
slotShapeIds:
|
|
5104
|
+
slotShapeIds: z83.record(z83.string(), z83.string()),
|
|
4944
5105
|
runMode: PluginAIInspirationRunMode.optional()
|
|
4945
5106
|
});
|
|
4946
5107
|
var PluginPresentationAIInspirationApi = class {
|
|
@@ -4949,26 +5110,26 @@ var PluginPresentationAIInspirationApi = class {
|
|
|
4949
5110
|
};
|
|
4950
5111
|
|
|
4951
5112
|
// src/api/presentation/export.ts
|
|
4952
|
-
import * as
|
|
4953
|
-
var PluginPresentationExportFormat =
|
|
4954
|
-
var PluginPresentationExportResolution =
|
|
4955
|
-
width:
|
|
4956
|
-
height:
|
|
5113
|
+
import * as z84 from "zod";
|
|
5114
|
+
var PluginPresentationExportFormat = z84.enum(["pdf", "png", "jpg"]);
|
|
5115
|
+
var PluginPresentationExportResolution = z84.object({
|
|
5116
|
+
width: z84.number().positive(),
|
|
5117
|
+
height: z84.number().positive()
|
|
4957
5118
|
});
|
|
4958
|
-
var PluginPresentationExportArgs =
|
|
5119
|
+
var PluginPresentationExportArgs = z84.object({
|
|
4959
5120
|
format: PluginPresentationExportFormat,
|
|
4960
|
-
sheetIds:
|
|
4961
|
-
combine:
|
|
5121
|
+
sheetIds: z84.array(z84.string()).optional(),
|
|
5122
|
+
combine: z84.boolean().optional(),
|
|
4962
5123
|
resolution: PluginPresentationExportResolution.optional(),
|
|
4963
|
-
fileName:
|
|
5124
|
+
fileName: z84.string().optional()
|
|
4964
5125
|
});
|
|
4965
|
-
var PluginPresentationExportFile =
|
|
4966
|
-
fileName:
|
|
4967
|
-
mimeType:
|
|
4968
|
-
dataBase64:
|
|
5126
|
+
var PluginPresentationExportFile = z84.object({
|
|
5127
|
+
fileName: z84.string(),
|
|
5128
|
+
mimeType: z84.string(),
|
|
5129
|
+
dataBase64: z84.string()
|
|
4969
5130
|
});
|
|
4970
|
-
var PluginPresentationExportResult =
|
|
4971
|
-
files:
|
|
5131
|
+
var PluginPresentationExportResult = z84.object({
|
|
5132
|
+
files: z84.array(PluginPresentationExportFile)
|
|
4972
5133
|
});
|
|
4973
5134
|
|
|
4974
5135
|
// src/api/presentation/index.ts
|
|
@@ -4984,38 +5145,38 @@ var PluginAnalysisSunpathApi = class {
|
|
|
4984
5145
|
};
|
|
4985
5146
|
|
|
4986
5147
|
// src/api/analysis/shadows.ts
|
|
4987
|
-
import * as
|
|
5148
|
+
import * as z85 from "zod";
|
|
4988
5149
|
var PluginAnalysisShadowsApi = class {
|
|
4989
5150
|
constructor() {
|
|
4990
5151
|
}
|
|
4991
5152
|
};
|
|
4992
|
-
var PluginAnalysisShadowsEnableOptions =
|
|
4993
|
-
dateTime:
|
|
5153
|
+
var PluginAnalysisShadowsEnableOptions = z85.object({
|
|
5154
|
+
dateTime: z85.string().optional()
|
|
4994
5155
|
});
|
|
4995
|
-
var PluginAnalysisShadowsSetDateTimeArgs =
|
|
4996
|
-
dateTime:
|
|
5156
|
+
var PluginAnalysisShadowsSetDateTimeArgs = z85.object({
|
|
5157
|
+
dateTime: z85.string()
|
|
4997
5158
|
});
|
|
4998
|
-
var PluginAnalysisShadowsDateTimeResult =
|
|
5159
|
+
var PluginAnalysisShadowsDateTimeResult = z85.string();
|
|
4999
5160
|
|
|
5000
5161
|
// src/api/analysis/sunlightHours.ts
|
|
5001
|
-
import * as
|
|
5162
|
+
import * as z86 from "zod";
|
|
5002
5163
|
var PluginAnalysisSunlightHoursApi = class {
|
|
5003
5164
|
constructor() {
|
|
5004
5165
|
}
|
|
5005
5166
|
};
|
|
5006
|
-
var PluginAnalysisComputeResult =
|
|
5007
|
-
success:
|
|
5008
|
-
error:
|
|
5167
|
+
var PluginAnalysisComputeResult = z86.object({
|
|
5168
|
+
success: z86.boolean(),
|
|
5169
|
+
error: z86.string().optional()
|
|
5009
5170
|
});
|
|
5010
|
-
var PluginAnalysisJobStatus =
|
|
5171
|
+
var PluginAnalysisJobStatus = z86.enum([
|
|
5011
5172
|
"running",
|
|
5012
5173
|
"active",
|
|
5013
5174
|
"inactive"
|
|
5014
5175
|
]);
|
|
5015
|
-
var PluginAnalysisJobState =
|
|
5176
|
+
var PluginAnalysisJobState = z86.object({
|
|
5016
5177
|
status: PluginAnalysisJobStatus,
|
|
5017
|
-
startDate:
|
|
5018
|
-
endDate:
|
|
5178
|
+
startDate: z86.string(),
|
|
5179
|
+
endDate: z86.string()
|
|
5019
5180
|
});
|
|
5020
5181
|
var PluginAnalysisJobStateResult = PluginAnalysisJobState.nullable();
|
|
5021
5182
|
|
|
@@ -5026,7 +5187,7 @@ var PluginAnalysisIlluminanceApi = class {
|
|
|
5026
5187
|
};
|
|
5027
5188
|
|
|
5028
5189
|
// src/api/analysis/heatmaps.ts
|
|
5029
|
-
import * as
|
|
5190
|
+
import * as z87 from "zod";
|
|
5030
5191
|
var PluginAnalysisHeatmapsApi = class {
|
|
5031
5192
|
constructor() {
|
|
5032
5193
|
}
|
|
@@ -5035,149 +5196,149 @@ var PluginAnalysisHeatmapOverlaysApi = class {
|
|
|
5035
5196
|
constructor() {
|
|
5036
5197
|
}
|
|
5037
5198
|
};
|
|
5038
|
-
var PluginAnalysisHeatmapSpaceEntry =
|
|
5199
|
+
var PluginAnalysisHeatmapSpaceEntry = z87.object({
|
|
5039
5200
|
space: ComponentHandle,
|
|
5040
|
-
value:
|
|
5201
|
+
value: z87.number().finite()
|
|
5041
5202
|
});
|
|
5042
|
-
var PluginAnalysisHeatmapGridCell =
|
|
5203
|
+
var PluginAnalysisHeatmapGridCell = z87.object({
|
|
5043
5204
|
position: Vec3Components,
|
|
5044
|
-
value:
|
|
5045
|
-
meta:
|
|
5046
|
-
});
|
|
5047
|
-
var HexColor =
|
|
5048
|
-
var PluginAnalysisHeatmapFieldCell =
|
|
5049
|
-
|
|
5050
|
-
polygon:
|
|
5051
|
-
value:
|
|
5052
|
-
meta:
|
|
5205
|
+
value: z87.number().finite(),
|
|
5206
|
+
meta: z87.unknown().optional()
|
|
5207
|
+
});
|
|
5208
|
+
var HexColor = z87.string().regex(/^#?[0-9a-fA-F]{6}$/, 'expected a 6-digit hex colour like "#0000ff"');
|
|
5209
|
+
var PluginAnalysisHeatmapFieldCell = z87.union([
|
|
5210
|
+
z87.object({
|
|
5211
|
+
polygon: z87.array(Vec3Components).min(3),
|
|
5212
|
+
value: z87.number().finite(),
|
|
5213
|
+
meta: z87.unknown().optional()
|
|
5053
5214
|
}),
|
|
5054
|
-
|
|
5055
|
-
vertices:
|
|
5056
|
-
indices:
|
|
5057
|
-
value:
|
|
5058
|
-
meta:
|
|
5215
|
+
z87.object({
|
|
5216
|
+
vertices: z87.array(Vec3Components).min(3),
|
|
5217
|
+
indices: z87.array(z87.number().int().nonnegative()).min(3),
|
|
5218
|
+
value: z87.number().finite(),
|
|
5219
|
+
meta: z87.unknown().optional()
|
|
5059
5220
|
})
|
|
5060
5221
|
]);
|
|
5061
|
-
var PluginAnalysisHeatmapScale =
|
|
5062
|
-
|
|
5063
|
-
type:
|
|
5064
|
-
count:
|
|
5222
|
+
var PluginAnalysisHeatmapScale = z87.discriminatedUnion("type", [
|
|
5223
|
+
z87.object({
|
|
5224
|
+
type: z87.literal("bands"),
|
|
5225
|
+
count: z87.number().int().min(2).max(64).optional()
|
|
5065
5226
|
}),
|
|
5066
|
-
|
|
5067
|
-
type:
|
|
5068
|
-
threshold:
|
|
5227
|
+
z87.object({
|
|
5228
|
+
type: z87.literal("threshold"),
|
|
5229
|
+
threshold: z87.number().finite(),
|
|
5069
5230
|
passColor: HexColor.optional(),
|
|
5070
5231
|
failColor: HexColor.optional(),
|
|
5071
|
-
passLabel:
|
|
5072
|
-
failLabel:
|
|
5232
|
+
passLabel: z87.string().optional(),
|
|
5233
|
+
failLabel: z87.string().optional()
|
|
5073
5234
|
}),
|
|
5074
|
-
|
|
5075
|
-
type:
|
|
5076
|
-
classes:
|
|
5077
|
-
|
|
5078
|
-
value:
|
|
5079
|
-
label:
|
|
5235
|
+
z87.object({
|
|
5236
|
+
type: z87.literal("categorical"),
|
|
5237
|
+
classes: z87.array(
|
|
5238
|
+
z87.object({
|
|
5239
|
+
value: z87.number().finite(),
|
|
5240
|
+
label: z87.string(),
|
|
5080
5241
|
color: HexColor
|
|
5081
5242
|
})
|
|
5082
5243
|
).min(1)
|
|
5083
5244
|
})
|
|
5084
5245
|
]);
|
|
5085
|
-
var PluginAnalysisHeatmapOptions =
|
|
5086
|
-
name:
|
|
5087
|
-
title:
|
|
5088
|
-
unit:
|
|
5089
|
-
min:
|
|
5090
|
-
max:
|
|
5091
|
-
colors:
|
|
5246
|
+
var PluginAnalysisHeatmapOptions = z87.object({
|
|
5247
|
+
name: z87.string().min(1).max(64).optional(),
|
|
5248
|
+
title: z87.string().optional(),
|
|
5249
|
+
unit: z87.string().optional(),
|
|
5250
|
+
min: z87.number().finite().optional(),
|
|
5251
|
+
max: z87.number().finite().optional(),
|
|
5252
|
+
colors: z87.array(HexColor).min(1).optional(),
|
|
5092
5253
|
scale: PluginAnalysisHeatmapScale.optional(),
|
|
5093
|
-
hover:
|
|
5254
|
+
hover: z87.boolean().optional()
|
|
5094
5255
|
});
|
|
5095
|
-
var PluginAnalysisHeatmapsRenderResult =
|
|
5096
|
-
success:
|
|
5256
|
+
var PluginAnalysisHeatmapsRenderResult = z87.object({
|
|
5257
|
+
success: z87.literal(true)
|
|
5097
5258
|
});
|
|
5098
|
-
var PluginAnalysisHeatmapOverlayInfo =
|
|
5099
|
-
name:
|
|
5100
|
-
visible:
|
|
5101
|
-
kind:
|
|
5259
|
+
var PluginAnalysisHeatmapOverlayInfo = z87.object({
|
|
5260
|
+
name: z87.string(),
|
|
5261
|
+
visible: z87.boolean(),
|
|
5262
|
+
kind: z87.enum(["spaces", "grid", "surfaceGrid", "field"])
|
|
5102
5263
|
});
|
|
5103
|
-
var PluginAnalysisHeatmapOverlaysListResult =
|
|
5104
|
-
overlays:
|
|
5264
|
+
var PluginAnalysisHeatmapOverlaysListResult = z87.object({
|
|
5265
|
+
overlays: z87.array(PluginAnalysisHeatmapOverlayInfo)
|
|
5105
5266
|
});
|
|
5106
5267
|
|
|
5107
5268
|
// src/api/analysis/weather.ts
|
|
5108
|
-
import * as
|
|
5269
|
+
import * as z88 from "zod";
|
|
5109
5270
|
var PluginAnalysisWeatherApi = class {
|
|
5110
5271
|
constructor() {
|
|
5111
5272
|
}
|
|
5112
5273
|
};
|
|
5113
|
-
var PluginWeatherSelectionMethod =
|
|
5274
|
+
var PluginWeatherSelectionMethod = z88.enum([
|
|
5114
5275
|
"nearest-station",
|
|
5115
5276
|
"user-upload",
|
|
5116
5277
|
"project-override"
|
|
5117
5278
|
]);
|
|
5118
|
-
var PluginWeatherSourceMeta =
|
|
5119
|
-
weatherFileId:
|
|
5120
|
-
station:
|
|
5121
|
-
sourceId:
|
|
5122
|
-
distanceKm:
|
|
5279
|
+
var PluginWeatherSourceMeta = z88.object({
|
|
5280
|
+
weatherFileId: z88.string(),
|
|
5281
|
+
station: z88.string(),
|
|
5282
|
+
sourceId: z88.string(),
|
|
5283
|
+
distanceKm: z88.number().nullable(),
|
|
5123
5284
|
selectionMethod: PluginWeatherSelectionMethod,
|
|
5124
|
-
checksum:
|
|
5125
|
-
windReferenceHeightM:
|
|
5126
|
-
});
|
|
5127
|
-
var PluginWeatherRow =
|
|
5128
|
-
timestamp:
|
|
5129
|
-
utcOffsetMinutes:
|
|
5130
|
-
dryBulbC:
|
|
5131
|
-
relativeHumidityPercent:
|
|
5132
|
-
windSpeedMps:
|
|
5133
|
-
ghiWm2:
|
|
5134
|
-
dniWm2:
|
|
5135
|
-
dhiWm2:
|
|
5136
|
-
flags:
|
|
5137
|
-
});
|
|
5138
|
-
var PluginWeatherGetSeriesArgs =
|
|
5139
|
-
startDate:
|
|
5140
|
-
endDate:
|
|
5141
|
-
interval:
|
|
5142
|
-
cursor:
|
|
5285
|
+
checksum: z88.string(),
|
|
5286
|
+
windReferenceHeightM: z88.number()
|
|
5287
|
+
});
|
|
5288
|
+
var PluginWeatherRow = z88.object({
|
|
5289
|
+
timestamp: z88.string(),
|
|
5290
|
+
utcOffsetMinutes: z88.number(),
|
|
5291
|
+
dryBulbC: z88.number(),
|
|
5292
|
+
relativeHumidityPercent: z88.number(),
|
|
5293
|
+
windSpeedMps: z88.number(),
|
|
5294
|
+
ghiWm2: z88.number(),
|
|
5295
|
+
dniWm2: z88.number(),
|
|
5296
|
+
dhiWm2: z88.number(),
|
|
5297
|
+
flags: z88.array(z88.string())
|
|
5298
|
+
});
|
|
5299
|
+
var PluginWeatherGetSeriesArgs = z88.object({
|
|
5300
|
+
startDate: z88.string(),
|
|
5301
|
+
endDate: z88.string(),
|
|
5302
|
+
interval: z88.enum(["hourly"]).optional(),
|
|
5303
|
+
cursor: z88.string().optional()
|
|
5143
5304
|
});
|
|
5144
|
-
var PluginWeatherSeriesResult =
|
|
5305
|
+
var PluginWeatherSeriesResult = z88.object({
|
|
5145
5306
|
source: PluginWeatherSourceMeta,
|
|
5146
|
-
rows:
|
|
5147
|
-
nextCursor:
|
|
5148
|
-
warnings:
|
|
5307
|
+
rows: z88.array(PluginWeatherRow),
|
|
5308
|
+
nextCursor: z88.string().nullable(),
|
|
5309
|
+
warnings: z88.array(z88.string()).optional()
|
|
5149
5310
|
});
|
|
5150
5311
|
|
|
5151
5312
|
// src/api/analysis/solar.ts
|
|
5152
|
-
import * as
|
|
5313
|
+
import * as z89 from "zod";
|
|
5153
5314
|
var PluginAnalysisSolarApi = class {
|
|
5154
5315
|
constructor() {
|
|
5155
5316
|
}
|
|
5156
5317
|
};
|
|
5157
|
-
var PluginSolarRunStatus =
|
|
5318
|
+
var PluginSolarRunStatus = z89.enum([
|
|
5158
5319
|
"running",
|
|
5159
5320
|
"complete",
|
|
5160
5321
|
"cancelled",
|
|
5161
5322
|
"failed"
|
|
5162
5323
|
]);
|
|
5163
|
-
var PluginSolarSampleMode =
|
|
5164
|
-
var PluginSolarUnits =
|
|
5165
|
-
var PluginSolarHourlyArtifact =
|
|
5166
|
-
url:
|
|
5167
|
-
format:
|
|
5168
|
-
expiresAt:
|
|
5169
|
-
});
|
|
5170
|
-
var PluginSolarSamplePoint =
|
|
5171
|
-
id:
|
|
5172
|
-
position:
|
|
5173
|
-
normal:
|
|
5174
|
-
});
|
|
5175
|
-
var PluginSolarSampleGridArgs =
|
|
5176
|
-
points:
|
|
5177
|
-
dateTime:
|
|
5178
|
-
startDate:
|
|
5179
|
-
endDate:
|
|
5180
|
-
includeHourlyArtifact:
|
|
5324
|
+
var PluginSolarSampleMode = z89.enum(["instant", "range"]);
|
|
5325
|
+
var PluginSolarUnits = z89.enum(["W/m2", "kWh/m2"]);
|
|
5326
|
+
var PluginSolarHourlyArtifact = z89.object({
|
|
5327
|
+
url: z89.string(),
|
|
5328
|
+
format: z89.enum(["parquet", "csv-gz"]),
|
|
5329
|
+
expiresAt: z89.string()
|
|
5330
|
+
});
|
|
5331
|
+
var PluginSolarSamplePoint = z89.object({
|
|
5332
|
+
id: z89.string(),
|
|
5333
|
+
position: z89.tuple([z89.number(), z89.number(), z89.number()]),
|
|
5334
|
+
normal: z89.tuple([z89.number(), z89.number(), z89.number()]).optional()
|
|
5335
|
+
});
|
|
5336
|
+
var PluginSolarSampleGridArgs = z89.object({
|
|
5337
|
+
points: z89.array(PluginSolarSamplePoint),
|
|
5338
|
+
dateTime: z89.string().optional(),
|
|
5339
|
+
startDate: z89.string().optional(),
|
|
5340
|
+
endDate: z89.string().optional(),
|
|
5341
|
+
includeHourlyArtifact: z89.boolean().optional()
|
|
5181
5342
|
}).superRefine((a, ctx) => {
|
|
5182
5343
|
const hasInstant = a.dateTime !== void 0;
|
|
5183
5344
|
const hasStart = a.startDate !== void 0;
|
|
@@ -5185,73 +5346,73 @@ var PluginSolarSampleGridArgs = z87.object({
|
|
|
5185
5346
|
const hasRange = hasStart || hasEnd;
|
|
5186
5347
|
if (hasInstant === hasRange) {
|
|
5187
5348
|
ctx.addIssue({
|
|
5188
|
-
code:
|
|
5349
|
+
code: z89.ZodIssueCode.custom,
|
|
5189
5350
|
message: "provide exactly one timing mode: dateTime (instant), or startDate+endDate (range)"
|
|
5190
5351
|
});
|
|
5191
5352
|
}
|
|
5192
5353
|
if (hasRange && !(hasStart && hasEnd)) {
|
|
5193
5354
|
ctx.addIssue({
|
|
5194
|
-
code:
|
|
5355
|
+
code: z89.ZodIssueCode.custom,
|
|
5195
5356
|
message: "range mode requires both startDate and endDate"
|
|
5196
5357
|
});
|
|
5197
5358
|
}
|
|
5198
5359
|
});
|
|
5199
|
-
var PluginSolarSampleResult =
|
|
5200
|
-
id:
|
|
5201
|
-
directSunVisible:
|
|
5202
|
-
shadeFraction:
|
|
5203
|
-
directIrradiance:
|
|
5204
|
-
diffuseIrradiance:
|
|
5205
|
-
totalIrradiance:
|
|
5360
|
+
var PluginSolarSampleResult = z89.object({
|
|
5361
|
+
id: z89.string(),
|
|
5362
|
+
directSunVisible: z89.boolean(),
|
|
5363
|
+
shadeFraction: z89.number(),
|
|
5364
|
+
directIrradiance: z89.number().optional(),
|
|
5365
|
+
diffuseIrradiance: z89.number().optional(),
|
|
5366
|
+
totalIrradiance: z89.number().optional()
|
|
5206
5367
|
});
|
|
5207
|
-
var PluginSolarSampleGridResult =
|
|
5368
|
+
var PluginSolarSampleGridResult = z89.object({
|
|
5208
5369
|
status: PluginSolarRunStatus,
|
|
5209
5370
|
mode: PluginSolarSampleMode,
|
|
5210
|
-
coordinateSystem:
|
|
5211
|
-
modelRevision:
|
|
5212
|
-
inputHash:
|
|
5371
|
+
coordinateSystem: z89.literal("world-plan-space"),
|
|
5372
|
+
modelRevision: z89.string(),
|
|
5373
|
+
inputHash: z89.string(),
|
|
5213
5374
|
units: PluginSolarUnits,
|
|
5214
|
-
sunUpHours:
|
|
5375
|
+
sunUpHours: z89.number(),
|
|
5215
5376
|
weather: PluginWeatherSourceMeta.nullable(),
|
|
5216
|
-
weatherQuality:
|
|
5217
|
-
results:
|
|
5377
|
+
weatherQuality: z89.array(z89.string()),
|
|
5378
|
+
results: z89.array(PluginSolarSampleResult),
|
|
5218
5379
|
hourlyArtifact: PluginSolarHourlyArtifact.nullable(),
|
|
5219
|
-
nextCursor:
|
|
5380
|
+
nextCursor: z89.string().nullable()
|
|
5220
5381
|
});
|
|
5221
5382
|
|
|
5222
5383
|
// src/api/analysis/daylight.ts
|
|
5223
|
-
import * as
|
|
5384
|
+
import * as z90 from "zod";
|
|
5224
5385
|
var PluginAnalysisDaylightApi = class {
|
|
5225
5386
|
constructor() {
|
|
5226
5387
|
}
|
|
5227
5388
|
};
|
|
5228
|
-
var PluginDaylightMetric =
|
|
5229
|
-
var PluginDaylightRunStatus =
|
|
5389
|
+
var PluginDaylightMetric = z90.enum(["ASE", "sDA"]);
|
|
5390
|
+
var PluginDaylightRunStatus = z90.enum([
|
|
5230
5391
|
"running",
|
|
5231
5392
|
"complete",
|
|
5232
5393
|
"cancelled",
|
|
5233
5394
|
"failed"
|
|
5234
5395
|
]);
|
|
5235
|
-
var PluginDaylightGrid =
|
|
5236
|
-
spacingM:
|
|
5237
|
-
workplaneHeightM:
|
|
5238
|
-
boundaryOffsetM:
|
|
5396
|
+
var PluginDaylightGrid = z90.object({
|
|
5397
|
+
spacingM: z90.number(),
|
|
5398
|
+
workplaneHeightM: z90.number(),
|
|
5399
|
+
boundaryOffsetM: z90.number()
|
|
5239
5400
|
});
|
|
5240
|
-
var PluginDaylightSchedule =
|
|
5241
|
-
startHour:
|
|
5242
|
-
endHour:
|
|
5401
|
+
var PluginDaylightSchedule = z90.object({
|
|
5402
|
+
startHour: z90.number(),
|
|
5403
|
+
endHour: z90.number()
|
|
5243
5404
|
});
|
|
5244
|
-
var PluginDaylightOpaqueOptics =
|
|
5245
|
-
reflectance:
|
|
5405
|
+
var PluginDaylightOpaqueOptics = z90.object({
|
|
5406
|
+
reflectance: z90.number().min(0).max(1)
|
|
5246
5407
|
});
|
|
5247
|
-
var PluginDaylightGlazingOptics =
|
|
5248
|
-
transmittance:
|
|
5408
|
+
var PluginDaylightGlazingOptics = z90.object({
|
|
5409
|
+
transmittance: z90.number().min(0).max(1)
|
|
5249
5410
|
});
|
|
5250
|
-
var PluginDaylightMaterialOptics =
|
|
5411
|
+
var PluginDaylightMaterialOptics = z90.union([
|
|
5251
5412
|
PluginDaylightOpaqueOptics,
|
|
5252
5413
|
PluginDaylightGlazingOptics
|
|
5253
5414
|
]);
|
|
5254
|
-
var PluginDaylightCategoryDefaults =
|
|
5415
|
+
var PluginDaylightCategoryDefaults = z90.object({
|
|
5255
5416
|
wall: PluginDaylightOpaqueOptics.optional(),
|
|
5256
5417
|
ceiling: PluginDaylightOpaqueOptics.optional(),
|
|
5257
5418
|
floor: PluginDaylightOpaqueOptics.optional(),
|
|
@@ -5259,81 +5420,81 @@ var PluginDaylightCategoryDefaults = z88.object({
|
|
|
5259
5420
|
glazing: PluginDaylightGlazingOptics.optional(),
|
|
5260
5421
|
context: PluginDaylightOpaqueOptics.optional()
|
|
5261
5422
|
});
|
|
5262
|
-
var PluginDaylightBlindsOptics =
|
|
5263
|
-
transmittance:
|
|
5423
|
+
var PluginDaylightBlindsOptics = z90.object({
|
|
5424
|
+
transmittance: z90.number().min(0).max(1)
|
|
5264
5425
|
});
|
|
5265
|
-
var PluginDaylightOptics =
|
|
5266
|
-
materials:
|
|
5426
|
+
var PluginDaylightOptics = z90.object({
|
|
5427
|
+
materials: z90.record(z90.string(), PluginDaylightMaterialOptics).optional(),
|
|
5267
5428
|
categories: PluginDaylightCategoryDefaults.optional(),
|
|
5268
5429
|
blinds: PluginDaylightBlindsOptics.optional()
|
|
5269
5430
|
});
|
|
5270
|
-
var PluginDaylightComputeArgs =
|
|
5271
|
-
standard:
|
|
5272
|
-
metrics:
|
|
5431
|
+
var PluginDaylightComputeArgs = z90.object({
|
|
5432
|
+
standard: z90.literal("IES-LM-83-23"),
|
|
5433
|
+
metrics: z90.array(PluginDaylightMetric).min(1),
|
|
5273
5434
|
schedule: PluginDaylightSchedule.optional(),
|
|
5274
5435
|
grid: PluginDaylightGrid,
|
|
5275
5436
|
optics: PluginDaylightOptics.optional()
|
|
5276
5437
|
});
|
|
5277
|
-
var PluginDaylightPollArgs =
|
|
5278
|
-
runId:
|
|
5279
|
-
cursor:
|
|
5280
|
-
});
|
|
5281
|
-
var PluginDaylightSensorRecord =
|
|
5282
|
-
sensorId:
|
|
5283
|
-
position:
|
|
5284
|
-
spaceId:
|
|
5285
|
-
storeyId:
|
|
5286
|
-
areaWeightM2:
|
|
5287
|
-
occupiedHours:
|
|
5288
|
-
directSunHoursAtOrAbove1000Lux:
|
|
5289
|
-
aseFail:
|
|
5290
|
-
da300Percent:
|
|
5291
|
-
sdaPass:
|
|
5292
|
-
});
|
|
5293
|
-
var PluginDaylightAggregateScope =
|
|
5438
|
+
var PluginDaylightPollArgs = z90.object({
|
|
5439
|
+
runId: z90.string(),
|
|
5440
|
+
cursor: z90.string().optional()
|
|
5441
|
+
});
|
|
5442
|
+
var PluginDaylightSensorRecord = z90.object({
|
|
5443
|
+
sensorId: z90.string(),
|
|
5444
|
+
position: z90.tuple([z90.number(), z90.number(), z90.number()]),
|
|
5445
|
+
spaceId: z90.string(),
|
|
5446
|
+
storeyId: z90.string(),
|
|
5447
|
+
areaWeightM2: z90.number(),
|
|
5448
|
+
occupiedHours: z90.number(),
|
|
5449
|
+
directSunHoursAtOrAbove1000Lux: z90.number().optional(),
|
|
5450
|
+
aseFail: z90.boolean().optional(),
|
|
5451
|
+
da300Percent: z90.number().optional(),
|
|
5452
|
+
sdaPass: z90.boolean().optional()
|
|
5453
|
+
});
|
|
5454
|
+
var PluginDaylightAggregateScope = z90.enum([
|
|
5294
5455
|
"project",
|
|
5295
5456
|
"storey",
|
|
5296
5457
|
"space"
|
|
5297
5458
|
]);
|
|
5298
|
-
var PluginDaylightAggregate =
|
|
5459
|
+
var PluginDaylightAggregate = z90.object({
|
|
5299
5460
|
scope: PluginDaylightAggregateScope,
|
|
5300
|
-
id:
|
|
5301
|
-
analysisAreaM2:
|
|
5302
|
-
asePercent:
|
|
5303
|
-
sdaPercent:
|
|
5304
|
-
});
|
|
5305
|
-
var PluginDaylightProvenance =
|
|
5306
|
-
engine:
|
|
5307
|
-
engineVersion:
|
|
5308
|
-
standardProfile:
|
|
5309
|
-
thresholds:
|
|
5461
|
+
id: z90.string().nullable(),
|
|
5462
|
+
analysisAreaM2: z90.number(),
|
|
5463
|
+
asePercent: z90.number().optional(),
|
|
5464
|
+
sdaPercent: z90.number().optional()
|
|
5465
|
+
});
|
|
5466
|
+
var PluginDaylightProvenance = z90.object({
|
|
5467
|
+
engine: z90.string(),
|
|
5468
|
+
engineVersion: z90.string(),
|
|
5469
|
+
standardProfile: z90.string(),
|
|
5470
|
+
thresholds: z90.object({ aseLux: z90.number(), aseHours: z90.number() }).passthrough(),
|
|
5310
5471
|
weather: PluginWeatherSourceMeta.nullable(),
|
|
5311
|
-
occupancySchedule:
|
|
5472
|
+
occupancySchedule: z90.object({ id: z90.string(), hoursPerYear: z90.number() }).passthrough(),
|
|
5312
5473
|
grid: PluginDaylightGrid,
|
|
5313
|
-
location:
|
|
5314
|
-
latitude:
|
|
5315
|
-
longitude:
|
|
5316
|
-
timezone:
|
|
5317
|
-
trueNorthDeg:
|
|
5474
|
+
location: z90.object({
|
|
5475
|
+
latitude: z90.number(),
|
|
5476
|
+
longitude: z90.number(),
|
|
5477
|
+
timezone: z90.string(),
|
|
5478
|
+
trueNorthDeg: z90.number()
|
|
5318
5479
|
}).passthrough(),
|
|
5319
|
-
surfaceReflectances:
|
|
5320
|
-
modelRevision:
|
|
5321
|
-
inputHash:
|
|
5322
|
-
warnings:
|
|
5323
|
-
excludedSpaces:
|
|
5324
|
-
|
|
5480
|
+
surfaceReflectances: z90.record(z90.string(), z90.number()),
|
|
5481
|
+
modelRevision: z90.string(),
|
|
5482
|
+
inputHash: z90.string(),
|
|
5483
|
+
warnings: z90.array(z90.string()),
|
|
5484
|
+
excludedSpaces: z90.array(
|
|
5485
|
+
z90.object({ spaceId: z90.string(), reason: z90.string() })
|
|
5325
5486
|
),
|
|
5326
|
-
failedGeometry:
|
|
5327
|
-
|
|
5487
|
+
failedGeometry: z90.array(
|
|
5488
|
+
z90.object({ componentId: z90.string(), reason: z90.string() })
|
|
5328
5489
|
)
|
|
5329
5490
|
}).partial().passthrough();
|
|
5330
|
-
var PluginDaylightResults =
|
|
5491
|
+
var PluginDaylightResults = z90.object({
|
|
5331
5492
|
status: PluginDaylightRunStatus,
|
|
5332
|
-
runId:
|
|
5333
|
-
sensors:
|
|
5334
|
-
aggregates:
|
|
5493
|
+
runId: z90.string().optional(),
|
|
5494
|
+
sensors: z90.array(PluginDaylightSensorRecord),
|
|
5495
|
+
aggregates: z90.array(PluginDaylightAggregate),
|
|
5335
5496
|
provenance: PluginDaylightProvenance,
|
|
5336
|
-
nextCursor:
|
|
5497
|
+
nextCursor: z90.string().nullable()
|
|
5337
5498
|
});
|
|
5338
5499
|
|
|
5339
5500
|
// src/api/analysis/index.ts
|
|
@@ -5343,7 +5504,7 @@ var PluginAnalysisApi = class {
|
|
|
5343
5504
|
};
|
|
5344
5505
|
|
|
5345
5506
|
// src/api/workspace/index.ts
|
|
5346
|
-
import * as
|
|
5507
|
+
import * as z91 from "zod";
|
|
5347
5508
|
var PluginWorkspaceApi = class {
|
|
5348
5509
|
constructor() {
|
|
5349
5510
|
}
|
|
@@ -5356,68 +5517,68 @@ var PluginWorkspaceTeamsApi = class {
|
|
|
5356
5517
|
constructor() {
|
|
5357
5518
|
}
|
|
5358
5519
|
};
|
|
5359
|
-
var PluginProjectRef =
|
|
5360
|
-
id:
|
|
5361
|
-
name:
|
|
5362
|
-
teamId:
|
|
5363
|
-
createdAt:
|
|
5364
|
-
modifiedAt:
|
|
5520
|
+
var PluginProjectRef = z91.object({
|
|
5521
|
+
id: z91.string(),
|
|
5522
|
+
name: z91.string(),
|
|
5523
|
+
teamId: z91.string().optional(),
|
|
5524
|
+
createdAt: z91.string().optional(),
|
|
5525
|
+
modifiedAt: z91.string().optional()
|
|
5365
5526
|
});
|
|
5366
|
-
var PluginTeamRef =
|
|
5367
|
-
id:
|
|
5368
|
-
name:
|
|
5369
|
-
role:
|
|
5527
|
+
var PluginTeamRef = z91.object({
|
|
5528
|
+
id: z91.string(),
|
|
5529
|
+
name: z91.string(),
|
|
5530
|
+
role: z91.string().optional()
|
|
5370
5531
|
});
|
|
5371
|
-
var PluginTeamMemberRef =
|
|
5372
|
-
id:
|
|
5373
|
-
name:
|
|
5374
|
-
email:
|
|
5375
|
-
role:
|
|
5532
|
+
var PluginTeamMemberRef = z91.object({
|
|
5533
|
+
id: z91.string(),
|
|
5534
|
+
name: z91.string(),
|
|
5535
|
+
email: z91.string().optional(),
|
|
5536
|
+
role: z91.string().optional()
|
|
5376
5537
|
});
|
|
5377
|
-
var PluginWorkspaceProjectsCreateArgs =
|
|
5378
|
-
name:
|
|
5379
|
-
unit:
|
|
5380
|
-
teamId:
|
|
5538
|
+
var PluginWorkspaceProjectsCreateArgs = z91.object({
|
|
5539
|
+
name: z91.string(),
|
|
5540
|
+
unit: z91.string().optional(),
|
|
5541
|
+
teamId: z91.string().optional()
|
|
5381
5542
|
});
|
|
5382
|
-
var PluginWorkspaceProjectsCreateResult =
|
|
5383
|
-
projectId:
|
|
5543
|
+
var PluginWorkspaceProjectsCreateResult = z91.object({
|
|
5544
|
+
projectId: z91.string()
|
|
5384
5545
|
});
|
|
5385
|
-
var PluginWorkspaceProjectsCopyArgs =
|
|
5386
|
-
name:
|
|
5387
|
-
teamId:
|
|
5546
|
+
var PluginWorkspaceProjectsCopyArgs = z91.object({
|
|
5547
|
+
name: z91.string(),
|
|
5548
|
+
teamId: z91.string().optional()
|
|
5388
5549
|
});
|
|
5389
|
-
var PluginWorkspaceProjectsCopyResult =
|
|
5390
|
-
projectId:
|
|
5550
|
+
var PluginWorkspaceProjectsCopyResult = z91.object({
|
|
5551
|
+
projectId: z91.string()
|
|
5391
5552
|
});
|
|
5392
|
-
var PluginWorkspaceProjectsListArgs =
|
|
5393
|
-
teamId:
|
|
5553
|
+
var PluginWorkspaceProjectsListArgs = z91.object({
|
|
5554
|
+
teamId: z91.string().optional()
|
|
5394
5555
|
});
|
|
5395
|
-
var PluginWorkspaceProjectsListResult =
|
|
5396
|
-
projects:
|
|
5556
|
+
var PluginWorkspaceProjectsListResult = z91.object({
|
|
5557
|
+
projects: z91.array(PluginProjectRef)
|
|
5397
5558
|
});
|
|
5398
|
-
var PluginWorkspaceProjectsGetArgs =
|
|
5399
|
-
projectId:
|
|
5559
|
+
var PluginWorkspaceProjectsGetArgs = z91.object({
|
|
5560
|
+
projectId: z91.string()
|
|
5400
5561
|
});
|
|
5401
5562
|
var PluginWorkspaceProjectsGetResult = PluginProjectRef.nullable();
|
|
5402
|
-
var PluginWorkspaceProjectsRenameArgs =
|
|
5403
|
-
projectId:
|
|
5404
|
-
name:
|
|
5563
|
+
var PluginWorkspaceProjectsRenameArgs = z91.object({
|
|
5564
|
+
projectId: z91.string(),
|
|
5565
|
+
name: z91.string()
|
|
5405
5566
|
});
|
|
5406
|
-
var PluginWorkspaceProjectsRenameResult =
|
|
5407
|
-
projectId:
|
|
5567
|
+
var PluginWorkspaceProjectsRenameResult = z91.object({
|
|
5568
|
+
projectId: z91.string()
|
|
5408
5569
|
});
|
|
5409
|
-
var PluginWorkspaceTeamsListResult =
|
|
5410
|
-
teams:
|
|
5570
|
+
var PluginWorkspaceTeamsListResult = z91.object({
|
|
5571
|
+
teams: z91.array(PluginTeamRef)
|
|
5411
5572
|
});
|
|
5412
|
-
var PluginWorkspaceTeamsGetArgs =
|
|
5413
|
-
teamId:
|
|
5573
|
+
var PluginWorkspaceTeamsGetArgs = z91.object({
|
|
5574
|
+
teamId: z91.string()
|
|
5414
5575
|
});
|
|
5415
5576
|
var PluginWorkspaceTeamsGetResult = PluginTeamRef.nullable();
|
|
5416
|
-
var PluginWorkspaceTeamsListMembersArgs =
|
|
5417
|
-
teamId:
|
|
5577
|
+
var PluginWorkspaceTeamsListMembersArgs = z91.object({
|
|
5578
|
+
teamId: z91.string()
|
|
5418
5579
|
});
|
|
5419
|
-
var PluginWorkspaceTeamsListMembersResult =
|
|
5420
|
-
members:
|
|
5580
|
+
var PluginWorkspaceTeamsListMembersResult = z91.object({
|
|
5581
|
+
members: z91.array(PluginTeamMemberRef)
|
|
5421
5582
|
});
|
|
5422
5583
|
|
|
5423
5584
|
// src/api/index.ts
|
|
@@ -5522,8 +5683,8 @@ function isPluginErrorCode(value) {
|
|
|
5522
5683
|
var ERROR_ENVELOPE_VERSION = 1;
|
|
5523
5684
|
function isErrorEnvelope(value) {
|
|
5524
5685
|
if (typeof value !== "object" || value === null) return false;
|
|
5525
|
-
const
|
|
5526
|
-
return
|
|
5686
|
+
const record7 = value;
|
|
5687
|
+
return record7.envelopeVersion === ERROR_ENVELOPE_VERSION && typeof record7.code === "string" && typeof record7.message === "string" && typeof record7.errorId === "string";
|
|
5527
5688
|
}
|
|
5528
5689
|
var idCounter = 0;
|
|
5529
5690
|
function newErrorId(prefix = "") {
|
|
@@ -5640,6 +5801,8 @@ export {
|
|
|
5640
5801
|
OffsetSplitOutcome,
|
|
5641
5802
|
PLUGIN_CREATE_BATCH_LIMIT,
|
|
5642
5803
|
PLUGIN_ERROR_CODES,
|
|
5804
|
+
PLUGIN_PROGRAM_LABELS_BATCH_LIMIT,
|
|
5805
|
+
PLUGIN_PROGRAM_METADATA_BATCH_LIMIT,
|
|
5643
5806
|
PUnitType,
|
|
5644
5807
|
PluginAIInspirationAppliedPreset,
|
|
5645
5808
|
PluginAIInspirationCancelJobResult,
|
|
@@ -5807,6 +5970,7 @@ export {
|
|
|
5807
5970
|
PluginCoreBuildingsUpdateArgs,
|
|
5808
5971
|
PluginCoreBuildingsUpdateResult,
|
|
5809
5972
|
PluginCoreComponentTag,
|
|
5973
|
+
PluginCoreComponentTags,
|
|
5810
5974
|
PluginCoreGroupMember,
|
|
5811
5975
|
PluginCoreGroupRef,
|
|
5812
5976
|
PluginCoreGroupsApi,
|
|
@@ -5892,6 +6056,8 @@ export {
|
|
|
5892
6056
|
PluginCoreTagsListCategoriesResult,
|
|
5893
6057
|
PluginCoreTagsListComponentsArgs,
|
|
5894
6058
|
PluginCoreTagsListComponentsResult,
|
|
6059
|
+
PluginCoreTagsListForComponentsArgs,
|
|
6060
|
+
PluginCoreTagsListForComponentsResult,
|
|
5895
6061
|
PluginCoreTagsListResult,
|
|
5896
6062
|
PluginCoreTagsUnassignArgs,
|
|
5897
6063
|
PluginCoreTagsUnassignResult,
|
|
@@ -6430,10 +6596,25 @@ export {
|
|
|
6430
6596
|
PluginProgramDepartmentsListResult,
|
|
6431
6597
|
PluginProgramDepartmentsSetTargetAreaArgs,
|
|
6432
6598
|
PluginProgramDepartmentsSetTargetAreaResult,
|
|
6599
|
+
PluginProgramDepartmentsSetTargetCountArgs,
|
|
6600
|
+
PluginProgramDepartmentsSetTargetCountResult,
|
|
6433
6601
|
PluginProgramDepartmentsUnassignArgs,
|
|
6434
6602
|
PluginProgramDepartmentsUnassignResult,
|
|
6435
6603
|
PluginProgramDepartmentsUpdateArgs,
|
|
6436
6604
|
PluginProgramDepartmentsUpdateResult,
|
|
6605
|
+
PluginProgramLabel,
|
|
6606
|
+
PluginProgramLabelCreateItem,
|
|
6607
|
+
PluginProgramLabelRecord,
|
|
6608
|
+
PluginProgramLabelsApi,
|
|
6609
|
+
PluginProgramLabelsCreateArgs,
|
|
6610
|
+
PluginProgramLabelsCreateResult,
|
|
6611
|
+
PluginProgramLabelsGetArgs,
|
|
6612
|
+
PluginProgramLabelsGetResult,
|
|
6613
|
+
PluginProgramLabelsListResult,
|
|
6614
|
+
PluginProgramLabelsSetTargetAreaArgs,
|
|
6615
|
+
PluginProgramLabelsSetTargetAreaResult,
|
|
6616
|
+
PluginProgramLabelsSetTargetCountArgs,
|
|
6617
|
+
PluginProgramLabelsSetTargetCountResult,
|
|
6437
6618
|
PluginProgramLayoutApi,
|
|
6438
6619
|
PluginProgramLayoutApplyResult,
|
|
6439
6620
|
PluginProgramLayoutApplySolutionArgs,
|
|
@@ -6443,6 +6624,21 @@ export {
|
|
|
6443
6624
|
PluginProgramLayoutRunResult,
|
|
6444
6625
|
PluginProgramLayoutStackResult,
|
|
6445
6626
|
PluginProgramLayoutStateResult,
|
|
6627
|
+
PluginProgramMetadataApi,
|
|
6628
|
+
PluginProgramMetadataCreateHeaderArgs,
|
|
6629
|
+
PluginProgramMetadataCreateHeaderResult,
|
|
6630
|
+
PluginProgramMetadataGetArgs,
|
|
6631
|
+
PluginProgramMetadataGetResult,
|
|
6632
|
+
PluginProgramMetadataHeader,
|
|
6633
|
+
PluginProgramMetadataListArgs,
|
|
6634
|
+
PluginProgramMetadataListHeadersResult,
|
|
6635
|
+
PluginProgramMetadataListResult,
|
|
6636
|
+
PluginProgramMetadataRecord,
|
|
6637
|
+
PluginProgramMetadataUpdateArgs,
|
|
6638
|
+
PluginProgramMetadataUpdateItem,
|
|
6639
|
+
PluginProgramMetadataUpdateManyArgs,
|
|
6640
|
+
PluginProgramMetadataUpdateManyResult,
|
|
6641
|
+
PluginProgramMetadataUpdateResult,
|
|
6446
6642
|
PluginProgramMetricsApi,
|
|
6447
6643
|
PluginProgramMetricsSummary,
|
|
6448
6644
|
PluginProgramSiteAnalysisResult,
|
|
@@ -6477,8 +6673,10 @@ export {
|
|
|
6477
6673
|
PluginProgramSpreadsheetBindingsListResult,
|
|
6478
6674
|
PluginProgramSpreadsheetBindingsRefreshArgs,
|
|
6479
6675
|
PluginProgramSpreadsheetBindingsRefreshResult,
|
|
6676
|
+
PluginProgramSpreadsheetCreateCustomSheetArgs,
|
|
6480
6677
|
PluginProgramSpreadsheetCreateSheetArgs,
|
|
6481
6678
|
PluginProgramSpreadsheetCreateSheetResult,
|
|
6679
|
+
PluginProgramSpreadsheetCustomSheetResult,
|
|
6482
6680
|
PluginProgramSpreadsheetDatasetsApi,
|
|
6483
6681
|
PluginProgramSpreadsheetDatasetsListResult,
|
|
6484
6682
|
PluginProgramSpreadsheetDatasetsSetArgs,
|
|
@@ -6487,6 +6685,8 @@ export {
|
|
|
6487
6685
|
PluginProgramSpreadsheetExportResult,
|
|
6488
6686
|
PluginProgramSpreadsheetGetAuditLogArgs,
|
|
6489
6687
|
PluginProgramSpreadsheetGetAuditLogResult,
|
|
6688
|
+
PluginProgramSpreadsheetGetCustomSheetArgs,
|
|
6689
|
+
PluginProgramSpreadsheetGetCustomSheetResult,
|
|
6490
6690
|
PluginProgramSpreadsheetGetMaterialTakeoffResult,
|
|
6491
6691
|
PluginProgramSpreadsheetGetProgramResult,
|
|
6492
6692
|
PluginProgramSpreadsheetGetSheetDataArgs,
|
|
@@ -6494,6 +6694,8 @@ export {
|
|
|
6494
6694
|
PluginProgramSpreadsheetGetTakeoffResult,
|
|
6495
6695
|
PluginProgramSpreadsheetHighlightCellsArgs,
|
|
6496
6696
|
PluginProgramSpreadsheetHighlightCellsResult,
|
|
6697
|
+
PluginProgramSpreadsheetListCustomSheetPropertiesResult,
|
|
6698
|
+
PluginProgramSpreadsheetListCustomSheetsResult,
|
|
6497
6699
|
PluginProgramSpreadsheetListSheetsResult,
|
|
6498
6700
|
PluginProgramSpreadsheetMergeCellsArgs,
|
|
6499
6701
|
PluginProgramSpreadsheetMergeCellsResult,
|
|
@@ -6518,6 +6720,7 @@ export {
|
|
|
6518
6720
|
PluginProgramSpreadsheetTemplatesCreateResult,
|
|
6519
6721
|
PluginProgramSpreadsheetTransactionArgs,
|
|
6520
6722
|
PluginProgramSpreadsheetTransactionResult,
|
|
6723
|
+
PluginProgramSpreadsheetUpdateCustomSheetArgs,
|
|
6521
6724
|
PluginProjectApi,
|
|
6522
6725
|
PluginProjectInfo,
|
|
6523
6726
|
PluginProjectRef,
|
|
@@ -6603,6 +6806,9 @@ export {
|
|
|
6603
6806
|
PluginSpreadsheetColumn,
|
|
6604
6807
|
PluginSpreadsheetConditionalRule,
|
|
6605
6808
|
PluginSpreadsheetConditionalRuleType,
|
|
6809
|
+
PluginSpreadsheetCustomSheet,
|
|
6810
|
+
PluginSpreadsheetCustomSheetConfig,
|
|
6811
|
+
PluginSpreadsheetCustomSheetProperty,
|
|
6606
6812
|
PluginSpreadsheetDataset,
|
|
6607
6813
|
PluginSpreadsheetExportFormat,
|
|
6608
6814
|
PluginSpreadsheetFontStyle,
|