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