@microsoft/teamsfx-core 3.0.6 → 3.0.7-alpha.3aa71df87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{component/driver/aad/utility → client}/aadAppClient.d.ts +4 -4
- package/build/client/aadAppClient.d.ts.map +1 -0
- package/build/{component/driver/aad/utility → client}/aadAppClient.js +10 -10
- package/build/client/aadAppClient.js.map +1 -0
- package/build/client/interfaces/aad/IAADDefinition.d.ts.map +1 -0
- package/build/client/interfaces/aad/IAADDefinition.js.map +1 -0
- package/build/client/teamsDevPortalClient.d.ts +3 -0
- package/build/client/teamsDevPortalClient.d.ts.map +1 -1
- package/build/client/teamsDevPortalClient.js +34 -0
- package/build/client/teamsDevPortalClient.js.map +1 -1
- package/build/common/featureFlags.d.ts +5 -0
- package/build/common/featureFlags.d.ts.map +1 -1
- package/build/common/featureFlags.js +5 -0
- package/build/common/featureFlags.js.map +1 -1
- package/build/common/templates-config.json +2 -2
- package/build/common/wrappedAxiosClient.d.ts.map +1 -1
- package/build/common/wrappedAxiosClient.js +3 -0
- package/build/common/wrappedAxiosClient.js.map +1 -1
- package/build/component/configManager/validator.d.ts.map +1 -1
- package/build/component/configManager/validator.js +1 -0
- package/build/component/configManager/validator.js.map +1 -1
- package/build/component/driver/aad/create.d.ts.map +1 -1
- package/build/component/driver/aad/create.js +19 -3
- package/build/component/driver/aad/create.js.map +1 -1
- package/build/component/driver/aad/interface/createAadAppArgs.d.ts +1 -0
- package/build/component/driver/aad/interface/createAadAppArgs.d.ts.map +1 -1
- package/build/component/driver/aad/update.js +1 -1
- package/build/component/driver/aad/update.js.map +1 -1
- package/build/component/driver/aad/utility/constants.d.ts +1 -0
- package/build/component/driver/aad/utility/constants.d.ts.map +1 -1
- package/build/component/driver/aad/utility/constants.js +1 -0
- package/build/component/driver/aad/utility/constants.js.map +1 -1
- package/build/component/driver/botAadApp/create.js +1 -1
- package/build/component/driver/botAadApp/create.js.map +1 -1
- package/build/component/driver/botFramework/createOrUpdateBot.d.ts.map +1 -1
- package/build/component/driver/botFramework/createOrUpdateBot.js +1 -0
- package/build/component/driver/botFramework/createOrUpdateBot.js.map +1 -1
- package/build/component/driver/teamsApp/constants.d.ts +1 -0
- package/build/component/driver/teamsApp/constants.d.ts.map +1 -1
- package/build/component/driver/teamsApp/constants.js +1 -0
- package/build/component/driver/teamsApp/constants.js.map +1 -1
- package/build/component/feature/collaboration.js +1 -1
- package/build/component/feature/collaboration.js.map +1 -1
- package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
- package/build/component/generator/officeAddin/generator.js +1 -0
- package/build/component/generator/officeAddin/generator.js.map +1 -1
- package/build/component/generator/openApiSpec/helper.d.ts.map +1 -1
- package/build/component/generator/openApiSpec/helper.js +60 -41
- package/build/component/generator/openApiSpec/helper.js.map +1 -1
- package/build/component/generator/templates/metadata/me.d.ts.map +1 -1
- package/build/component/generator/templates/metadata/me.js +6 -0
- package/build/component/generator/templates/metadata/me.js.map +1 -1
- package/build/component/generator/templates/metadata/special.js +1 -1
- package/build/component/generator/templates/metadata/special.js.map +1 -1
- package/build/component/generator/templates/metadata/tab.d.ts.map +1 -1
- package/build/component/generator/templates/metadata/tab.js +6 -0
- package/build/component/generator/templates/metadata/tab.js.map +1 -1
- package/build/component/generator/templates/metadata/wxp.d.ts.map +1 -1
- package/build/component/generator/templates/metadata/wxp.js +6 -0
- package/build/component/generator/templates/metadata/wxp.js.map +1 -1
- package/build/component/generator/templates/templateNames.d.ts +1 -0
- package/build/component/generator/templates/templateNames.d.ts.map +1 -1
- package/build/component/generator/templates/templateNames.js +1 -0
- package/build/component/generator/templates/templateNames.js.map +1 -1
- package/build/component/resource/botService/appStudio/interfaces/IBotRegistration.d.ts +1 -0
- package/build/component/resource/botService/appStudio/interfaces/IBotRegistration.d.ts.map +1 -1
- package/build/component/resource/botService/botRegistration/utils.d.ts.map +1 -1
- package/build/component/resource/botService/botRegistration/utils.js +1 -0
- package/build/component/resource/botService/botRegistration/utils.js.map +1 -1
- package/build/question/scaffold/vs/createRootNode.d.ts.map +1 -1
- package/build/question/scaffold/vs/createRootNode.js +10 -9
- package/build/question/scaffold/vs/createRootNode.js.map +1 -1
- package/build/question/scaffold/vsc/CapabilityOptions.d.ts +1 -0
- package/build/question/scaffold/vsc/CapabilityOptions.d.ts.map +1 -1
- package/build/question/scaffold/vsc/CapabilityOptions.js +8 -0
- package/build/question/scaffold/vsc/CapabilityOptions.js.map +1 -1
- package/build/question/scaffold/vsc/createRootNode.d.ts.map +1 -1
- package/build/question/scaffold/vsc/createRootNode.js +1 -0
- package/build/question/scaffold/vsc/createRootNode.js.map +1 -1
- package/build/question/scaffold/vsc/officeAddinProjectTypeNode.d.ts.map +1 -1
- package/build/question/scaffold/vsc/officeAddinProjectTypeNode.js +3 -0
- package/build/question/scaffold/vsc/officeAddinProjectTypeNode.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -5
- package/resource/package.nls.json +3 -0
- package/resource/template-info/vsc.json +536 -0
- package/resource/yaml-schema/v1.11/yaml.schema.json +2068 -0
- package/resource/yaml-schema/yaml.schema.json +12 -2
- package/templates/fallback/common.zip +0 -0
- package/templates/fallback/csharp.zip +0 -0
- package/templates/fallback/js.zip +0 -0
- package/templates/fallback/python.zip +0 -0
- package/templates/fallback/ts.zip +0 -0
- package/build/component/driver/aad/interface/IAADDefinition.d.ts.map +0 -1
- package/build/component/driver/aad/interface/IAADDefinition.js.map +0 -1
- package/build/component/driver/aad/utility/aadAppClient.d.ts.map +0 -1
- package/build/component/driver/aad/utility/aadAppClient.js.map +0 -1
- /package/build/{component/driver/aad/interface → client/interfaces/aad}/IAADDefinition.d.ts +0 -0
- /package/build/{component/driver/aad/interface → client/interfaces/aad}/IAADDefinition.js +0 -0
|
@@ -0,0 +1,2068 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"additionalProperties": false,
|
|
5
|
+
"properties": {
|
|
6
|
+
"projectId": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"description": "The projectId used for telemetry."
|
|
9
|
+
},
|
|
10
|
+
"environmentFolderPath": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "The folder path of .env files used for variables and different environments."
|
|
13
|
+
},
|
|
14
|
+
"version": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "The version of the yaml file schema",
|
|
17
|
+
"const": "v1.11"
|
|
18
|
+
},
|
|
19
|
+
"additionalMetadata": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"description": "Metadata property, used by Microsoft 365 Agents Toolkit only.",
|
|
22
|
+
"additionalProperties": true,
|
|
23
|
+
"properties": {
|
|
24
|
+
"sampleTag": {
|
|
25
|
+
"type": ["number","string","boolean","object","array", "null", "integer"],
|
|
26
|
+
"description": "A tag for the sample app used to track telemetry events sent by Microsoft 365 Agents Toolkit associated with that sample. Pattern: <sample-repo>:<sample-name>"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"provision": {
|
|
31
|
+
"$ref": "#/definitions/lifeCycleArray",
|
|
32
|
+
"description": "Called by `teamsfx provision`"
|
|
33
|
+
},
|
|
34
|
+
"deploy": {
|
|
35
|
+
"$ref": "#/definitions/lifeCycleArray",
|
|
36
|
+
"description": "Called by `teamsfx deploy`"
|
|
37
|
+
},
|
|
38
|
+
"publish": {
|
|
39
|
+
"$ref": "#/definitions/lifeCycleArray",
|
|
40
|
+
"description": "Called by `teamsfx publish`"
|
|
41
|
+
},
|
|
42
|
+
"share": {
|
|
43
|
+
"$ref": "#/definitions/lifeCycleArray",
|
|
44
|
+
"description": "Called by `teamsfx share`"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"required": ["version"],
|
|
48
|
+
"definitions": {
|
|
49
|
+
"lifeCycleArray": {
|
|
50
|
+
"type": "array",
|
|
51
|
+
"items": {
|
|
52
|
+
"anyOf": [
|
|
53
|
+
{ "$ref": "#/definitions/aadAppCreate" },
|
|
54
|
+
{ "$ref": "#/definitions/aadAppUpdate" },
|
|
55
|
+
{ "$ref": "#/definitions/armDeploy" },
|
|
56
|
+
{ "$ref": "#/definitions/azureStorageEnableStaticWebsite" },
|
|
57
|
+
{ "$ref": "#/definitions/cliRunNpmCommand" },
|
|
58
|
+
{ "$ref": "#/definitions/cliRunDotnetCommand" },
|
|
59
|
+
{ "$ref": "#/definitions/cliRunNpxCommand" },
|
|
60
|
+
{ "$ref": "#/definitions/azureStorageDeploy" },
|
|
61
|
+
{ "$ref": "#/definitions/azureAppServiceZipDeploy" },
|
|
62
|
+
{ "$ref": "#/definitions/azureFunctionsZipDeploy" },
|
|
63
|
+
{ "$ref": "#/definitions/teamsAppCreate" },
|
|
64
|
+
{ "$ref": "#/definitions/teamsAppValidateManifest" },
|
|
65
|
+
{ "$ref": "#/definitions/teamsAppValidateAppPackage" },
|
|
66
|
+
{ "$ref": "#/definitions/teamsAppValidateWithTestCases" },
|
|
67
|
+
{ "$ref": "#/definitions/teamsAppZipAppPackage" },
|
|
68
|
+
{ "$ref": "#/definitions/teamsAppUpdate" },
|
|
69
|
+
{ "$ref": "#/definitions/teamsAppPublishAppPackage" },
|
|
70
|
+
{ "$ref": "#/definitions/botAadAppCreate" },
|
|
71
|
+
{ "$ref": "#/definitions/botframeworkCreate" },
|
|
72
|
+
{ "$ref": "#/definitions/fileCreateOrUpdateEnvironmentFile" },
|
|
73
|
+
{ "$ref": "#/definitions/fileCreateOrUpdateJsonFile" },
|
|
74
|
+
{ "$ref": "#/definitions/devToolInstall" },
|
|
75
|
+
{ "$ref": "#/definitions/teamsAppExtendToM365" },
|
|
76
|
+
{ "$ref": "#/definitions/spfxDeploy" },
|
|
77
|
+
{ "$ref": "#/definitions/teamsAppCopyAppPackageToSPFx" },
|
|
78
|
+
{ "$ref": "#/definitions/script" },
|
|
79
|
+
{ "$ref": "#/definitions/apiKeyRegister"},
|
|
80
|
+
{ "$ref": "#/definitions/azureStaticWebAppGetDeploymentKey"},
|
|
81
|
+
{ "$ref": "#/definitions/apiKeyUpdate"},
|
|
82
|
+
{ "$ref": "#/definitions/oauthRegister"},
|
|
83
|
+
{ "$ref": "#/definitions/oauthUpdate"},
|
|
84
|
+
{ "$ref": "#/definitions/devChannelCreate"},
|
|
85
|
+
{ "$ref": "#/definitions/devChannelInstallApp"},
|
|
86
|
+
{ "$ref": "#/definitions/typeSpecCompile"}
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"aadAppCreateBase": {
|
|
91
|
+
"type": "object",
|
|
92
|
+
"description": "Create Microsoft Entra application and client secret (optional). Refer to https://aka.ms/teamsfx-actions/aadapp-create for more details.",
|
|
93
|
+
"required": ["uses", "writeToEnvironmentFile"],
|
|
94
|
+
"properties": {
|
|
95
|
+
"name": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"description": "An optional name of this action."
|
|
98
|
+
},
|
|
99
|
+
"env": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"description": "Define environment variables for this action.",
|
|
102
|
+
"additionalProperties": {
|
|
103
|
+
"type": "string"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"uses": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"description": "Create Microsoft Entra application when the environment variable that stores clientId is empty. Service principal for the application is optionally created when generateServicePrincipal parameter is true. Also create client secret for the application when generateClientSecret parameter is true and the environment variable that stores clientSecret is empty. When creating new Microsoft Entra application, this action generates clientId, objectId, tenantId, authority and authorityHost. When creating new client secret, this action generates clientSecret. Refer to https://aka.ms/teamsfx-actions/aadapp-create for more details.",
|
|
109
|
+
"const": "aadApp/create"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"aadAppCreateWithSecret": {
|
|
114
|
+
"type": "object",
|
|
115
|
+
"additionalProperties": false,
|
|
116
|
+
"allOf": [ { "$ref": "#/definitions/aadAppCreateBase" } ],
|
|
117
|
+
"required": ["with", "writeToEnvironmentFile"],
|
|
118
|
+
"properties": {
|
|
119
|
+
"name": {},
|
|
120
|
+
"uses": {},
|
|
121
|
+
"env": {},
|
|
122
|
+
"with": {
|
|
123
|
+
"type": "object",
|
|
124
|
+
"additionalProperties": false,
|
|
125
|
+
"description": "Parameters for this action",
|
|
126
|
+
"required": ["name", "generateClientSecret", "signInAudience"],
|
|
127
|
+
"properties": {
|
|
128
|
+
"name": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"description": "The name of Microsoft Entra application. Note: when you run aadApp/update, the Microsoft Entra application name will be updated based on the definition in manifest. If you don't want to change the name, ensure the name in Microsoft Entra application manifest is the same with the name defined here."
|
|
131
|
+
},
|
|
132
|
+
"generateClientSecret": {
|
|
133
|
+
"type": "boolean",
|
|
134
|
+
"description": "Whether to generate client secret for the Microsoft Entra application. When the value is true, you need to specify the name of environment variable that stores the value of client secret in writeToEnvironmentVariable. For example: `clientSecret: SECRET_MY_AAD_APP_CLIENT_SECRET`.",
|
|
135
|
+
"const": true
|
|
136
|
+
},
|
|
137
|
+
"generateServicePrincipal": {
|
|
138
|
+
"type": "boolean",
|
|
139
|
+
"description": "Whether to generate service principal for the Microsoft Entra application. This should be set to true for AAD apps created for single-tenant bot registration.",
|
|
140
|
+
"default": false
|
|
141
|
+
},
|
|
142
|
+
"signInAudience": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"description": "Specifies what Microsoft accounts are supported for the current application.",
|
|
145
|
+
"enum": ["AzureADMyOrg", "AzureADMultipleOrgs", "AzureADandPersonalMicrosoftAccount", "PersonalMicrosoftAccount"]
|
|
146
|
+
},
|
|
147
|
+
"serviceManagementReference": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"description": "References application or service contact information from a Service or Asset Management database."
|
|
150
|
+
},
|
|
151
|
+
"clientSecretExpireDays": {
|
|
152
|
+
"type": "integer",
|
|
153
|
+
"description": "The number of days the client secret is valid.",
|
|
154
|
+
"minimum": 1
|
|
155
|
+
},
|
|
156
|
+
"clientSecretDescription": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"description": "The description of the client secret."
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"writeToEnvironmentFile": {
|
|
163
|
+
"type": "object",
|
|
164
|
+
"additionalProperties": false,
|
|
165
|
+
"description": "Write environment variables to environment file",
|
|
166
|
+
"required": ["clientId", "objectId", "clientSecret"],
|
|
167
|
+
"properties": {
|
|
168
|
+
"clientId": {
|
|
169
|
+
"description": "Required. The client (application) id of created Microsoft Entra application.",
|
|
170
|
+
"$ref": "#/definitions/envVarName"
|
|
171
|
+
},
|
|
172
|
+
"objectId": {
|
|
173
|
+
"description": "Required. The object id of created Microsoft Entra application.",
|
|
174
|
+
"$ref": "#/definitions/envVarName"
|
|
175
|
+
},
|
|
176
|
+
"clientSecret": {
|
|
177
|
+
"description": "Required when generateClientSecret is true. The generated client secret of the Microsoft Entra application.",
|
|
178
|
+
"$ref": "#/definitions/secretEnvVarName"
|
|
179
|
+
},
|
|
180
|
+
"tenantId": {
|
|
181
|
+
"description": "The tenant id of created Microsoft Entra application.",
|
|
182
|
+
"$ref": "#/definitions/envVarName"
|
|
183
|
+
},
|
|
184
|
+
"authority": {
|
|
185
|
+
"description": "The authority of created Microsoft Entra application.",
|
|
186
|
+
"$ref": "#/definitions/envVarName"
|
|
187
|
+
},
|
|
188
|
+
"authorityHost": {
|
|
189
|
+
"description": "The authority host name of created Microsoft Entra application.",
|
|
190
|
+
"$ref": "#/definitions/envVarName"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"aadAppCreateWithoutSecret": {
|
|
197
|
+
"type": "object",
|
|
198
|
+
"allOf": [ { "$ref": "#/definitions/aadAppCreateBase" } ],
|
|
199
|
+
"required": ["with", "writeToEnvironmentFile"],
|
|
200
|
+
"additionalProperties": false,
|
|
201
|
+
"properties": {
|
|
202
|
+
"name": {},
|
|
203
|
+
"uses": {},
|
|
204
|
+
"env": {},
|
|
205
|
+
"with": {
|
|
206
|
+
"type": "object",
|
|
207
|
+
"additionalProperties": false,
|
|
208
|
+
"description": "Parameters for this action",
|
|
209
|
+
"required": ["name", "generateClientSecret", "signInAudience"],
|
|
210
|
+
"properties": {
|
|
211
|
+
"name": {
|
|
212
|
+
"type": "string",
|
|
213
|
+
"description": "The name of Microsoft Entra application. Note: when you run aadApp/update, the Microsoft Entra application name will be updated based on the definition in manifest. If you don't want to change the name, ensure the name in Microsoft Entra application manifest is the same with the name defined here."
|
|
214
|
+
},
|
|
215
|
+
"generateClientSecret": {
|
|
216
|
+
"type": "boolean",
|
|
217
|
+
"description": "Whether to generate client secret for the Microsoft Entra application. When the value is true, you need to specify the name of environment variable that stores the value of client secret in writeToEnvironmentVariable. For example: `clientSecret: SECRET_MY_AAD_APP_CLIENT_SECRET`.",
|
|
218
|
+
"const": false
|
|
219
|
+
},
|
|
220
|
+
"generateServicePrincipal": {
|
|
221
|
+
"type": "boolean",
|
|
222
|
+
"description": "Whether to generate service principal for the Microsoft Entra application. This should be set to true for AAD apps created for single-tenant bot registration.",
|
|
223
|
+
"default": false
|
|
224
|
+
},
|
|
225
|
+
"signInAudience": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"description": "Specifies what Microsoft accounts are supported for the current application.",
|
|
228
|
+
"enum": ["AzureADMyOrg", "AzureADMultipleOrgs", "AzureADandPersonalMicrosoftAccount", "PersonalMicrosoftAccount"]
|
|
229
|
+
},
|
|
230
|
+
"serviceManagementReference": {
|
|
231
|
+
"type": "string",
|
|
232
|
+
"description": "References application or service contact information from a Service or Asset Management database."
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"writeToEnvironmentFile": {
|
|
237
|
+
"type": "object",
|
|
238
|
+
"additionalProperties": false,
|
|
239
|
+
"description": "Write environment variables to environment file",
|
|
240
|
+
"required": ["clientId", "objectId"],
|
|
241
|
+
"properties": {
|
|
242
|
+
"clientId": {
|
|
243
|
+
"description": "Required. The client (application) id of created Microsoft Entra application.",
|
|
244
|
+
"$ref": "#/definitions/envVarName"
|
|
245
|
+
},
|
|
246
|
+
"objectId": {
|
|
247
|
+
"description": "Required. The object id of created Microsoft Entra application.",
|
|
248
|
+
"$ref": "#/definitions/envVarName"
|
|
249
|
+
},
|
|
250
|
+
"tenantId": {
|
|
251
|
+
"description": "The tenant id of created Microsoft Entra application.",
|
|
252
|
+
"$ref": "#/definitions/envVarName"
|
|
253
|
+
},
|
|
254
|
+
"authority": {
|
|
255
|
+
"description": "The authority of created Microsoft Entra application.",
|
|
256
|
+
"$ref": "#/definitions/envVarName"
|
|
257
|
+
},
|
|
258
|
+
"authorityHost": {
|
|
259
|
+
"description": "The authority host name of created Microsoft Entra application.",
|
|
260
|
+
"$ref": "#/definitions/envVarName"
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"aadAppCreate": {
|
|
267
|
+
"type": "object",
|
|
268
|
+
"oneOf": [
|
|
269
|
+
{ "$ref": "#/definitions/aadAppCreateWithoutSecret" },
|
|
270
|
+
{ "$ref": "#/definitions/aadAppCreateWithSecret" }
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
"aadAppUpdate": {
|
|
274
|
+
"type": "object",
|
|
275
|
+
"additionalProperties": false,
|
|
276
|
+
"description": "Update Microsoft Entra application. Refer to https://aka.ms/teamsfx-actions/aadapp-update for more details.",
|
|
277
|
+
"required": ["uses", "with"],
|
|
278
|
+
"properties": {
|
|
279
|
+
"name": {
|
|
280
|
+
"type": "string",
|
|
281
|
+
"description": "An optional name of this action."
|
|
282
|
+
},
|
|
283
|
+
"env": {
|
|
284
|
+
"type": "object",
|
|
285
|
+
"description": "Define environment variables for this action.",
|
|
286
|
+
"additionalProperties": {
|
|
287
|
+
"type": "string"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"uses": {
|
|
291
|
+
"type": "string",
|
|
292
|
+
"description": "Update Microsoft Entra application based on the given Microsoft Entra application manifest. If the manifest uses AAD_APP_ACCESS_AS_USER_PERMISSION_ID and the environment variable is empty, this action will generate a random id and output it. Refer to https://aka.ms/teamsfx-actions/aadapp-update for more details.",
|
|
293
|
+
"const": "aadApp/update"
|
|
294
|
+
},
|
|
295
|
+
"with": {
|
|
296
|
+
"type": "object",
|
|
297
|
+
"additionalProperties": false,
|
|
298
|
+
"description": "Parameters for this action",
|
|
299
|
+
"required": ["manifestPath", "outputFilePath"],
|
|
300
|
+
"properties": {
|
|
301
|
+
"manifestPath": {
|
|
302
|
+
"type": "string",
|
|
303
|
+
"description": "Path of Microsoft Entra application manifest. Environment variables in the manifest will be replaced before applying the manifest to Microsoft Entra application."
|
|
304
|
+
},
|
|
305
|
+
"outputFilePath": {
|
|
306
|
+
"type": "string",
|
|
307
|
+
"description": "Generate the final Microsoft Entra application manifest used to update Microsoft Entra application to this path."
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"armDeploy": {
|
|
314
|
+
"type": "object",
|
|
315
|
+
"additionalProperties": false,
|
|
316
|
+
"description": "Create Azure resources using the referenced Bicep/JSON files. For more details on the naming convention, please refer https://aka.ms/teamsfx-actions/arm-deploy.",
|
|
317
|
+
"required": ["uses", "with"],
|
|
318
|
+
"properties": {
|
|
319
|
+
"name": {
|
|
320
|
+
"type": "string",
|
|
321
|
+
"description": "An optional name of this action."
|
|
322
|
+
},
|
|
323
|
+
"env": {
|
|
324
|
+
"type": "object",
|
|
325
|
+
"description": "Define environment variables for this action.",
|
|
326
|
+
"additionalProperties": {
|
|
327
|
+
"type": "string"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"uses": {
|
|
331
|
+
"type": "string",
|
|
332
|
+
"description": "Create Azure resources using the referenced Bicep/JSON files. Outputs will be saved in the current Microsoft 365 Agents Toolkit environment using a specific naming convention. For more details, please refer https://aka.ms/teamsfx-actions/arm-deploy.",
|
|
333
|
+
"const": "arm/deploy"
|
|
334
|
+
},
|
|
335
|
+
"with": {
|
|
336
|
+
"type": "object",
|
|
337
|
+
"additionalProperties": false,
|
|
338
|
+
"description": "parameters for this action",
|
|
339
|
+
"required": ["subscriptionId", "resourceGroupName", "templates"],
|
|
340
|
+
"properties": {
|
|
341
|
+
"subscriptionId": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"description": "The subscription id to deploy to"
|
|
344
|
+
},
|
|
345
|
+
"resourceGroupName": {
|
|
346
|
+
"type": "string",
|
|
347
|
+
"description": "The resource group name to deploy to"
|
|
348
|
+
},
|
|
349
|
+
"bicepCliVersion": {
|
|
350
|
+
"type": "string",
|
|
351
|
+
"description": "The Bicep CLI version. Bicep CLI will be downloaded to {Home}/.fx/bin/bicep.\n Microsoft 365 Agents Toolkit defaults to Bicep in PATH if version is not defined."
|
|
352
|
+
},
|
|
353
|
+
"templates": {
|
|
354
|
+
"type": "array",
|
|
355
|
+
"description": "The list of templates to deploy",
|
|
356
|
+
"items": {
|
|
357
|
+
"type": "object",
|
|
358
|
+
"additionalProperties": false,
|
|
359
|
+
"required": ["deploymentName", "path"],
|
|
360
|
+
"properties": {
|
|
361
|
+
"deploymentName": {
|
|
362
|
+
"type": "string",
|
|
363
|
+
"description": "The name of ARM deployment"
|
|
364
|
+
},
|
|
365
|
+
"path": {
|
|
366
|
+
"type": "string",
|
|
367
|
+
"description": "Relative path to ARM template. Both Bicep and JSON format are supported."
|
|
368
|
+
},
|
|
369
|
+
"parameters": {
|
|
370
|
+
"type": "string",
|
|
371
|
+
"description": "Relative path to ARM parameters file. Microsoft 365 Agents Toolkit will expand the environment variable in the parameters file"
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
"azureStorageEnableStaticWebsite": {
|
|
381
|
+
"type": "object",
|
|
382
|
+
"additionalProperties": false,
|
|
383
|
+
"description": "Enable static website config for Azure Storage. Refer to https://aka.ms/teamsfx-actions/azure-storage-enable-static-website for more details.",
|
|
384
|
+
"required": ["uses", "with"],
|
|
385
|
+
"properties": {
|
|
386
|
+
"name": {
|
|
387
|
+
"type": "string",
|
|
388
|
+
"description": "An optional name of this action."
|
|
389
|
+
},
|
|
390
|
+
"env": {
|
|
391
|
+
"type": "object",
|
|
392
|
+
"description": "Define environment variables for this action.",
|
|
393
|
+
"additionalProperties": {
|
|
394
|
+
"type": "string"
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"uses": {
|
|
398
|
+
"type": "string",
|
|
399
|
+
"description": "Enable static website config for Azure Storage. This action has no output. Refer to https://aka.ms/teamsfx-actions/azure-storage-enable-static-website for more details.",
|
|
400
|
+
"const": "azureStorage/enableStaticWebsite"
|
|
401
|
+
},
|
|
402
|
+
"with": {
|
|
403
|
+
"type": "object",
|
|
404
|
+
"description": "parameters for this action",
|
|
405
|
+
"additionalProperties": false,
|
|
406
|
+
"required": ["storageResourceId"],
|
|
407
|
+
"properties": {
|
|
408
|
+
"storageResourceId": {
|
|
409
|
+
"type": "string",
|
|
410
|
+
"description": "The resource id of the storage account"
|
|
411
|
+
},
|
|
412
|
+
"indexPage": {
|
|
413
|
+
"type": "string",
|
|
414
|
+
"description": "The index page of the static website, default to 'index.html'"
|
|
415
|
+
},
|
|
416
|
+
"errorPage": {
|
|
417
|
+
"type": "string",
|
|
418
|
+
"description": "The error page of the static website, default to 'index.html'"
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
"cliRunNpmCommand": {
|
|
425
|
+
"type": "object",
|
|
426
|
+
"additionalProperties": false,
|
|
427
|
+
"description": "Execute npm command with arguments. Refer to https://aka.ms/teamsfx-actions/cli-run-npm-command for more details.",
|
|
428
|
+
"required": ["uses", "with"],
|
|
429
|
+
"properties": {
|
|
430
|
+
"name": {
|
|
431
|
+
"type": "string",
|
|
432
|
+
"description": "An optional name of this action."
|
|
433
|
+
},
|
|
434
|
+
"env": {
|
|
435
|
+
"type": "object",
|
|
436
|
+
"description": "Define environment variables for this action.",
|
|
437
|
+
"additionalProperties": {
|
|
438
|
+
"type": "string"
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
"uses": {
|
|
442
|
+
"type": "string",
|
|
443
|
+
"description": "Execute npm command with arguments. Refer to https://aka.ms/teamsfx-actions/cli-run-npm-command for more details.",
|
|
444
|
+
"const": "cli/runNpmCommand"
|
|
445
|
+
},
|
|
446
|
+
"with": {
|
|
447
|
+
"type": "object",
|
|
448
|
+
"description": "parameters for this action",
|
|
449
|
+
"additionalProperties": false,
|
|
450
|
+
"required": ["args"],
|
|
451
|
+
"properties": {
|
|
452
|
+
"args": {
|
|
453
|
+
"type": "string",
|
|
454
|
+
"description": "The arguments passed to the npm command"
|
|
455
|
+
},
|
|
456
|
+
"workingDirectory": {
|
|
457
|
+
"type": "string",
|
|
458
|
+
"description": "The working directory, default to './'"
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"cliRunDotnetCommand": {
|
|
465
|
+
"type": "object",
|
|
466
|
+
"additionalProperties": false,
|
|
467
|
+
"description": "Execute dotnet command with arguments. Refer to https://aka.ms/teamsfx-actions/cli-run-dotnet-command for more details.",
|
|
468
|
+
"required": ["uses", "with"],
|
|
469
|
+
"properties": {
|
|
470
|
+
"name": {
|
|
471
|
+
"type": "string",
|
|
472
|
+
"description": "An optional name of this action."
|
|
473
|
+
},
|
|
474
|
+
"env": {
|
|
475
|
+
"type": "object",
|
|
476
|
+
"description": "Define environment variables for this action.",
|
|
477
|
+
"additionalProperties": {
|
|
478
|
+
"type": "string"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"uses": {
|
|
482
|
+
"type": "string",
|
|
483
|
+
"description": "Execute dotnet command with arguments. Refer to https://aka.ms/teamsfx-actions/cli-run-dotnet-command for more details.",
|
|
484
|
+
"const": "cli/runDotnetCommand"
|
|
485
|
+
},
|
|
486
|
+
"with": {
|
|
487
|
+
"type": "object",
|
|
488
|
+
"description": "parameters for this action",
|
|
489
|
+
"additionalProperties": false,
|
|
490
|
+
"required": ["args"],
|
|
491
|
+
"properties": {
|
|
492
|
+
"args": {
|
|
493
|
+
"type": "string",
|
|
494
|
+
"description": "The arguments passed to the dotnet command"
|
|
495
|
+
},
|
|
496
|
+
"workingDirectory": {
|
|
497
|
+
"type": "string",
|
|
498
|
+
"description": "The working directory, default to './'"
|
|
499
|
+
},
|
|
500
|
+
"execPath": {
|
|
501
|
+
"type": "string",
|
|
502
|
+
"description": "The path to the dotnet executable, default to system path."
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
"cliRunNpxCommand": {
|
|
509
|
+
"type": "object",
|
|
510
|
+
"additionalProperties": false,
|
|
511
|
+
"description": "Execute npx command with arguments. Refer to https://aka.ms/teamsfx-actions/cli-run-npx-command for more details.",
|
|
512
|
+
"required": ["uses", "with"],
|
|
513
|
+
"properties": {
|
|
514
|
+
"name": {
|
|
515
|
+
"type": "string",
|
|
516
|
+
"description": "An optional name of this action."
|
|
517
|
+
},
|
|
518
|
+
"env": {
|
|
519
|
+
"type": "object",
|
|
520
|
+
"description": "Define environment variables for this action.",
|
|
521
|
+
"additionalProperties": {
|
|
522
|
+
"type": "string"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
"uses": {
|
|
526
|
+
"type": "string",
|
|
527
|
+
"description": "Execute npx command with arguments. Refer to https://aka.ms/teamsfx-actions/cli-run-npx-command for more details.",
|
|
528
|
+
"const": "cli/runNpxCommand"
|
|
529
|
+
},
|
|
530
|
+
"with": {
|
|
531
|
+
"type": "object",
|
|
532
|
+
"description": "parameters for this action",
|
|
533
|
+
"additionalProperties": false,
|
|
534
|
+
"required": ["args"],
|
|
535
|
+
"properties": {
|
|
536
|
+
"args": {
|
|
537
|
+
"type": "string",
|
|
538
|
+
"description": "The arguments passed to the npm command"
|
|
539
|
+
},
|
|
540
|
+
"workingDirectory": {
|
|
541
|
+
"type": "string",
|
|
542
|
+
"description": "The working directory, default to './'"
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
"azureStorageDeploy": {
|
|
549
|
+
"type": "object",
|
|
550
|
+
"additionalProperties": false,
|
|
551
|
+
"description": "Upload and deploy the project to Azure Storage Service. Refer to https://aka.ms/teamsfx-actions/azure-storage-deploy for more details.",
|
|
552
|
+
"required": ["uses", "with"],
|
|
553
|
+
"properties": {
|
|
554
|
+
"name": {
|
|
555
|
+
"type": "string",
|
|
556
|
+
"description": "An optional name of this action."
|
|
557
|
+
},
|
|
558
|
+
"env": {
|
|
559
|
+
"type": "object",
|
|
560
|
+
"description": "Define environment variables for this action.",
|
|
561
|
+
"additionalProperties": {
|
|
562
|
+
"type": "string"
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
"uses": {
|
|
566
|
+
"type": "string",
|
|
567
|
+
"description": "This action will upload and deploy the project to Azure Storage Service. This action has no output. Refer to https://aka.ms/teamsfx-actions/azure-storage-deploy for more details.",
|
|
568
|
+
"const": "azureStorage/deploy"
|
|
569
|
+
},
|
|
570
|
+
"with": {
|
|
571
|
+
"type": "object",
|
|
572
|
+
"additionalProperties": false,
|
|
573
|
+
"description": "parameters for this action",
|
|
574
|
+
"required": ["artifactFolder", "resourceId"],
|
|
575
|
+
"properties": {
|
|
576
|
+
"artifactFolder": {
|
|
577
|
+
"type": "string",
|
|
578
|
+
"description": "Path to the distribution folder that contains the files to deploy."
|
|
579
|
+
},
|
|
580
|
+
"resourceId": {
|
|
581
|
+
"type": "string",
|
|
582
|
+
"description": "The resource id of the storage account."
|
|
583
|
+
},
|
|
584
|
+
"workingDirectory": {
|
|
585
|
+
"type": "string",
|
|
586
|
+
"description": "The working directory, deploy program will find ignore file and create upload package file based on this directory, default to './'"
|
|
587
|
+
},
|
|
588
|
+
"ignoreFile": {
|
|
589
|
+
"type": "string",
|
|
590
|
+
"description": "The path to the ignore file. Any files listed in this file will be ignored during upload. default ignores nothing."
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
"azureAppServiceZipDeploy": {
|
|
597
|
+
"type": "object",
|
|
598
|
+
"additionalProperties": false,
|
|
599
|
+
"description": "Upload and deploy the project to Azure App Service. Refer to https://aka.ms/teamsfx-actions/azure-app-service-deploy for more details.",
|
|
600
|
+
"required": ["uses", "with"],
|
|
601
|
+
"properties": {
|
|
602
|
+
"name": {
|
|
603
|
+
"type": "string",
|
|
604
|
+
"description": "An optional name of this action."
|
|
605
|
+
},
|
|
606
|
+
"env": {
|
|
607
|
+
"type": "object",
|
|
608
|
+
"description": "Define environment variables for this action.",
|
|
609
|
+
"additionalProperties": {
|
|
610
|
+
"type": "string"
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"uses": {
|
|
614
|
+
"type": "string",
|
|
615
|
+
"description": "This action will upload and deploy the project to Azure App Service. This action has no output. Refer to https://aka.ms/teamsfx-actions/azure-app-service-deploy for more details.",
|
|
616
|
+
"const": "azureAppService/zipDeploy"
|
|
617
|
+
},
|
|
618
|
+
"with": {
|
|
619
|
+
"type": "object",
|
|
620
|
+
"additionalProperties": false,
|
|
621
|
+
"description": "parameters for this action",
|
|
622
|
+
"required": ["artifactFolder", "resourceId"],
|
|
623
|
+
"properties": {
|
|
624
|
+
"artifactFolder": {
|
|
625
|
+
"type": "string",
|
|
626
|
+
"description": "Path to the distribution folder that contains the files to deploy."
|
|
627
|
+
},
|
|
628
|
+
"resourceId": {
|
|
629
|
+
"type": "string",
|
|
630
|
+
"description": "The resource id of the Azure App Service."
|
|
631
|
+
},
|
|
632
|
+
"workingDirectory": {
|
|
633
|
+
"type": "string",
|
|
634
|
+
"description": "The working directory, deploy program will find ignore file and create upload package file based on this directory, default to './'"
|
|
635
|
+
},
|
|
636
|
+
"ignoreFile": {
|
|
637
|
+
"type": "string",
|
|
638
|
+
"description": "The path to the ignore file. Any files listed in this file will be ignored during upload. default ignores nothing."
|
|
639
|
+
},
|
|
640
|
+
"dryRun": {
|
|
641
|
+
"type": "boolean",
|
|
642
|
+
"description": "If true, the action will only package the files to be deployed without actually deploying them. Default to false."
|
|
643
|
+
},
|
|
644
|
+
"outputZipFile": {
|
|
645
|
+
"type": "string",
|
|
646
|
+
"description": "The path to the packaged zip file. If not specified, the zip file will be saved to the workingDirectory/.deployment/deployment.zip."
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
},
|
|
652
|
+
"azureFunctionsZipDeploy": {
|
|
653
|
+
"type": "object",
|
|
654
|
+
"additionalProperties": false,
|
|
655
|
+
"description": "Upload and deploy the project to Azure Functions. Refer to https://aka.ms/teamsfx-actions/azure-functions-deploy for more details.",
|
|
656
|
+
"required": ["uses", "with"],
|
|
657
|
+
"properties": {
|
|
658
|
+
"name": {
|
|
659
|
+
"type": "string",
|
|
660
|
+
"description": "An optional name of this action."
|
|
661
|
+
},
|
|
662
|
+
"env": {
|
|
663
|
+
"type": "object",
|
|
664
|
+
"description": "Define environment variables for this action.",
|
|
665
|
+
"additionalProperties": {
|
|
666
|
+
"type": "string"
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
"uses": {
|
|
670
|
+
"type": "string",
|
|
671
|
+
"description": "This action will upload and deploy the project to Azure Functions. This action has no output. Refer to https://aka.ms/teamsfx-actions/azure-functions-deploy for more details.",
|
|
672
|
+
"const": "azureFunctions/zipDeploy"
|
|
673
|
+
},
|
|
674
|
+
"with": {
|
|
675
|
+
"type": "object",
|
|
676
|
+
"additionalProperties": false,
|
|
677
|
+
"description": "parameters for this action",
|
|
678
|
+
"required": ["artifactFolder", "resourceId"],
|
|
679
|
+
"properties": {
|
|
680
|
+
"artifactFolder": {
|
|
681
|
+
"type": "string",
|
|
682
|
+
"description": "Path to the distribution folder that contains the files to deploy."
|
|
683
|
+
},
|
|
684
|
+
"resourceId": {
|
|
685
|
+
"type": "string",
|
|
686
|
+
"description": "The resource id of the Azure Functions."
|
|
687
|
+
},
|
|
688
|
+
"workingDirectory": {
|
|
689
|
+
"type": "string",
|
|
690
|
+
"description": "The working directory, deploy program will find ignore file based on this directory, default to './'"
|
|
691
|
+
},
|
|
692
|
+
"ignoreFile": {
|
|
693
|
+
"type": "string",
|
|
694
|
+
"description": "The path to the ignore file. Any files listed in this file will be ignored during upload. default ignores nothing."
|
|
695
|
+
},
|
|
696
|
+
"dryRun": {
|
|
697
|
+
"type": "boolean",
|
|
698
|
+
"description": "If true, the action will only package the files to be deployed without actually deploying them. Default to false."
|
|
699
|
+
},
|
|
700
|
+
"outputZipFile": {
|
|
701
|
+
"type": "string",
|
|
702
|
+
"description": "The path to the packaged zip file. If not specified, the zip file will be saved to the workingDirectory/.deployment/deployment.zip."
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
},
|
|
708
|
+
"teamsAppCreate": {
|
|
709
|
+
"type": "object",
|
|
710
|
+
"additionalProperties": false,
|
|
711
|
+
"description": "Create an app in Developer Portal. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details.",
|
|
712
|
+
"required": ["uses", "with", "writeToEnvironmentFile"],
|
|
713
|
+
"properties": {
|
|
714
|
+
"name": {
|
|
715
|
+
"type": "string",
|
|
716
|
+
"description": "An optional name of this action."
|
|
717
|
+
},
|
|
718
|
+
"env": {
|
|
719
|
+
"type": "object",
|
|
720
|
+
"description": "Define environment variables for this action.",
|
|
721
|
+
"additionalProperties": {
|
|
722
|
+
"type": "string"
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
"uses": {
|
|
726
|
+
"type": "string",
|
|
727
|
+
"description": "This action will create a new app for you if TEAMS_APP_ID environment variable is empty or the app with TEAMS_APP_ID is not found from Developer Portal. Refer to https://aka.ms/teamsfx-actions/teamsapp-create for more details",
|
|
728
|
+
"const": "teamsApp/create"
|
|
729
|
+
},
|
|
730
|
+
"with": {
|
|
731
|
+
"type": "object",
|
|
732
|
+
"additionalProperties": false,
|
|
733
|
+
"description": "Parameters for this action",
|
|
734
|
+
"required": ["name"],
|
|
735
|
+
"properties": {
|
|
736
|
+
"name": {
|
|
737
|
+
"type": "string",
|
|
738
|
+
"description": "Name of the app"
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
"writeToEnvironmentFile": {
|
|
743
|
+
"type": "object",
|
|
744
|
+
"additionalProperties": false,
|
|
745
|
+
"description": "Write environment variables to environment file",
|
|
746
|
+
"required": ["teamsAppId"],
|
|
747
|
+
"properties": {
|
|
748
|
+
"teamsAppId": {
|
|
749
|
+
"$ref": "#/definitions/envVarName"
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
"teamsAppValidateManifest": {
|
|
756
|
+
"type": "object",
|
|
757
|
+
"additionalProperties": false,
|
|
758
|
+
"description": "Validate app manifest. Refer to https://aka.ms/teamsfx-actions/teamsapp-validate for more details.",
|
|
759
|
+
"required": ["uses", "with"],
|
|
760
|
+
"properties": {
|
|
761
|
+
"name": {
|
|
762
|
+
"type": "string",
|
|
763
|
+
"description": "An optional name of this action."
|
|
764
|
+
},
|
|
765
|
+
"env": {
|
|
766
|
+
"type": "object",
|
|
767
|
+
"description": "Define environment variables for this action.",
|
|
768
|
+
"additionalProperties": {
|
|
769
|
+
"type": "string"
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
"uses": {
|
|
773
|
+
"type": "string",
|
|
774
|
+
"description": "This action will validate app manifest with manifest schema. Refer to https://aka.ms/teamsfx-actions/teamsapp-validate for more details.",
|
|
775
|
+
"const": "teamsApp/validateManifest"
|
|
776
|
+
},
|
|
777
|
+
"with": {
|
|
778
|
+
"type": "object",
|
|
779
|
+
"additionalProperties": false,
|
|
780
|
+
"description": "Parameters for this action",
|
|
781
|
+
"required": ["manifestPath"],
|
|
782
|
+
"properties": {
|
|
783
|
+
"manifestPath": {
|
|
784
|
+
"type": "string",
|
|
785
|
+
"description": "Path to app manifest file."
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
"teamsAppValidateAppPackage": {
|
|
792
|
+
"type": "object",
|
|
793
|
+
"additionalProperties": false,
|
|
794
|
+
"description": "Validate app manifest. Refer to https://aka.ms/teamsfx-actions/teamsapp-validate for more details.",
|
|
795
|
+
"required": ["uses", "with"],
|
|
796
|
+
"properties": {
|
|
797
|
+
"name": {
|
|
798
|
+
"type": "string",
|
|
799
|
+
"description": "An optional name of this action."
|
|
800
|
+
},
|
|
801
|
+
"env": {
|
|
802
|
+
"type": "object",
|
|
803
|
+
"description": "Define environment variables for this action.",
|
|
804
|
+
"additionalProperties": {
|
|
805
|
+
"type": "string"
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
"uses": {
|
|
809
|
+
"type": "string",
|
|
810
|
+
"description": "This action will validate app package file using validation rules. Refer to https://aka.ms/teamsfx-actions/teamsapp-validate for more details.",
|
|
811
|
+
"const": "teamsApp/validateAppPackage"
|
|
812
|
+
},
|
|
813
|
+
"with": {
|
|
814
|
+
"type": "object",
|
|
815
|
+
"additionalProperties": false,
|
|
816
|
+
"description": "Parameters for this action",
|
|
817
|
+
"required": ["appPackagePath"],
|
|
818
|
+
"properties": {
|
|
819
|
+
"appPackagePath": {
|
|
820
|
+
"type": "string",
|
|
821
|
+
"description": "Path to zipped app package file."
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
"teamsAppValidateWithTestCases": {
|
|
828
|
+
"type": "object",
|
|
829
|
+
"additionalProperties": false,
|
|
830
|
+
"description": "Async Valiation Tests. Refer to https://aka.ms/teamsfx-actions/teamsapp-validate for more details.",
|
|
831
|
+
"required": ["uses", "with"],
|
|
832
|
+
"properties": {
|
|
833
|
+
"name": {
|
|
834
|
+
"type": "string",
|
|
835
|
+
"description": "An optional name of this action."
|
|
836
|
+
},
|
|
837
|
+
"env": {
|
|
838
|
+
"type": "object",
|
|
839
|
+
"description": "Define environment variables for this action.",
|
|
840
|
+
"additionalProperties": {
|
|
841
|
+
"type": "string"
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
"uses": {
|
|
845
|
+
"type": "string",
|
|
846
|
+
"description": "This action will trigger async validations for the app package file. Refer to https://aka.ms/teamsfx-actions/teamsapp-validate for more details.",
|
|
847
|
+
"const": "teamsApp/validateWithTestCases"
|
|
848
|
+
},
|
|
849
|
+
"with": {
|
|
850
|
+
"type": "object",
|
|
851
|
+
"additionalProperties": false,
|
|
852
|
+
"description": "Parameters for this action",
|
|
853
|
+
"required": ["appPackagePath"],
|
|
854
|
+
"properties": {
|
|
855
|
+
"appPackagePath": {
|
|
856
|
+
"type": "string",
|
|
857
|
+
"description": "Path to zipped app package file."
|
|
858
|
+
},
|
|
859
|
+
"showMessage": {
|
|
860
|
+
"type": "boolean",
|
|
861
|
+
"description": "Show message or not."
|
|
862
|
+
},
|
|
863
|
+
"showProgressBar": {
|
|
864
|
+
"type": "boolean",
|
|
865
|
+
"description": "Show progress bar or not."
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
},
|
|
871
|
+
"teamsAppZipAppPackage": {
|
|
872
|
+
"type": "object",
|
|
873
|
+
"additionalProperties": false,
|
|
874
|
+
"description": "Zip app package with manifest file and icons. Refer to https://aka.ms/teamsfx-actions/teamsapp-zipAppPackage for more details.",
|
|
875
|
+
"required": ["uses", "with"],
|
|
876
|
+
"properties": {
|
|
877
|
+
"name": {
|
|
878
|
+
"type": "string",
|
|
879
|
+
"description": "An optional name of this action."
|
|
880
|
+
},
|
|
881
|
+
"env": {
|
|
882
|
+
"type": "object",
|
|
883
|
+
"description": "Define environment variables for this action.",
|
|
884
|
+
"additionalProperties": {
|
|
885
|
+
"type": "string"
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
"uses": {
|
|
889
|
+
"type": "string",
|
|
890
|
+
"description": "This action will render app manifest template with environment variables, and zip manifest file with two icons. Refer to https://aka.ms/teamsfx-actions/teamsapp-zipAppPackage for more details.",
|
|
891
|
+
"const": "teamsApp/zipAppPackage"
|
|
892
|
+
},
|
|
893
|
+
"with": {
|
|
894
|
+
"type": "object",
|
|
895
|
+
"additionalProperties": false,
|
|
896
|
+
"description": "parameters for this action",
|
|
897
|
+
"required": ["manifestPath", "outputZipPath", "outputFolder"],
|
|
898
|
+
"properties": {
|
|
899
|
+
"manifestPath": {
|
|
900
|
+
"type": "string",
|
|
901
|
+
"description": "Path to app manifest file"
|
|
902
|
+
},
|
|
903
|
+
"outputZipPath": {
|
|
904
|
+
"type": "string",
|
|
905
|
+
"description": "Path to the output zip package"
|
|
906
|
+
},
|
|
907
|
+
"outputFolder": {
|
|
908
|
+
"type": "string",
|
|
909
|
+
"description": "Path to the output folder containing manifests"
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
},
|
|
915
|
+
"teamsAppUpdate": {
|
|
916
|
+
"type": "object",
|
|
917
|
+
"additionalProperties": false,
|
|
918
|
+
"description": "Update app in Developer Portal. Refer to https://aka.ms/teamsfx-actions/teamsapp-update for more details.",
|
|
919
|
+
"required": ["uses", "with"],
|
|
920
|
+
"properties": {
|
|
921
|
+
"name": {
|
|
922
|
+
"type": "string",
|
|
923
|
+
"description": "An optional name of this action."
|
|
924
|
+
},
|
|
925
|
+
"env": {
|
|
926
|
+
"type": "object",
|
|
927
|
+
"description": "Define environment variables for this action.",
|
|
928
|
+
"additionalProperties": {
|
|
929
|
+
"type": "string"
|
|
930
|
+
}
|
|
931
|
+
},
|
|
932
|
+
"uses": {
|
|
933
|
+
"type": "string",
|
|
934
|
+
"description": "Apply the app manifest to an existing app in Developer Portal. Will use the app id in manifest.json file to determine which app to update. Refer to https://aka.ms/teamsfx-actions/teamsapp-update for more details.",
|
|
935
|
+
"const": "teamsApp/update"
|
|
936
|
+
},
|
|
937
|
+
"with": {
|
|
938
|
+
"type": "object",
|
|
939
|
+
"additionalProperties": false,
|
|
940
|
+
"description": "parameters for this action",
|
|
941
|
+
"required": ["appPackagePath"],
|
|
942
|
+
"properties": {
|
|
943
|
+
"appPackagePath": {
|
|
944
|
+
"type": "string",
|
|
945
|
+
"description": "Path to app package"
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
"teamsAppPublishAppPackage": {
|
|
952
|
+
"type": "object",
|
|
953
|
+
"additionalProperties": false,
|
|
954
|
+
"description": "Publish app package to Teams Admin center. Refer to https://aka.ms/teamsfx-actions/teamsapp-publish for more details.",
|
|
955
|
+
"required": ["uses", "with", "writeToEnvironmentFile"],
|
|
956
|
+
"properties": {
|
|
957
|
+
"name": {
|
|
958
|
+
"type": "string",
|
|
959
|
+
"description": "An optional name of this action."
|
|
960
|
+
},
|
|
961
|
+
"env": {
|
|
962
|
+
"type": "object",
|
|
963
|
+
"description": "Define environment variables for this action.",
|
|
964
|
+
"additionalProperties": {
|
|
965
|
+
"type": "string"
|
|
966
|
+
}
|
|
967
|
+
},
|
|
968
|
+
"uses": {
|
|
969
|
+
"type": "string",
|
|
970
|
+
"description": "Publish app package to Teams Admin center. Refer to https://aka.ms/teamsfx-actions/teamsapp-publish for more details.",
|
|
971
|
+
"const": "teamsApp/publishAppPackage"
|
|
972
|
+
},
|
|
973
|
+
"with": {
|
|
974
|
+
"type": "object",
|
|
975
|
+
"additionalProperties": false,
|
|
976
|
+
"description": "parameters for this action",
|
|
977
|
+
"required": ["appPackagePath"],
|
|
978
|
+
"properties": {
|
|
979
|
+
"appPackagePath": {
|
|
980
|
+
"type": "string",
|
|
981
|
+
"description": "Path to app package to be published."
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
},
|
|
985
|
+
"writeToEnvironmentFile": {
|
|
986
|
+
"type": "object",
|
|
987
|
+
"additionalProperties": false,
|
|
988
|
+
"description": "Write environment variables to environment file",
|
|
989
|
+
"required": ["publishedAppId"],
|
|
990
|
+
"properties": {
|
|
991
|
+
"publishedAppId": {
|
|
992
|
+
"$ref": "#/definitions/envVarName"
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
},
|
|
998
|
+
"botAadAppCreate": {
|
|
999
|
+
"type": "object",
|
|
1000
|
+
"additionalProperties": false,
|
|
1001
|
+
"description": "Create a new or reuse an existing Microsoft Entra application for bot. Refer to https://aka.ms/teamsfx-actions/botaadapp-create for more details.",
|
|
1002
|
+
"required": ["uses", "with", "writeToEnvironmentFile"],
|
|
1003
|
+
"properties": {
|
|
1004
|
+
"name": {
|
|
1005
|
+
"type": "string",
|
|
1006
|
+
"description": "An optional name of this action."
|
|
1007
|
+
},
|
|
1008
|
+
"env": {
|
|
1009
|
+
"type": "object",
|
|
1010
|
+
"description": "Define environment variables for this action.",
|
|
1011
|
+
"additionalProperties": {
|
|
1012
|
+
"type": "string"
|
|
1013
|
+
}
|
|
1014
|
+
},
|
|
1015
|
+
"uses": {
|
|
1016
|
+
"type": "string",
|
|
1017
|
+
"description": "Create a new or reuse an existing Microsoft Entra application for bot. Refer to https://aka.ms/teamsfx-actions/botaadapp-create for more details.",
|
|
1018
|
+
"const": "botAadApp/create"
|
|
1019
|
+
},
|
|
1020
|
+
"with": {
|
|
1021
|
+
"type": "object",
|
|
1022
|
+
"additionalProperties": false,
|
|
1023
|
+
"description": "Parameters for this action",
|
|
1024
|
+
"required": ["name"],
|
|
1025
|
+
"properties": {
|
|
1026
|
+
"name": {
|
|
1027
|
+
"type": "string",
|
|
1028
|
+
"description": "The user-facing display name for this Microsoft Entra application"
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
"writeToEnvironmentFile": {
|
|
1033
|
+
"type": "object",
|
|
1034
|
+
"additionalProperties": false,
|
|
1035
|
+
"description": "Write environment variables to environment file",
|
|
1036
|
+
"required": ["botId", "botPassword"],
|
|
1037
|
+
"properties": {
|
|
1038
|
+
"botId": {
|
|
1039
|
+
"description": "Required. Client (application) id of the Microsoft Entra application created for bot.",
|
|
1040
|
+
"$ref": "#/definitions/envVarName"
|
|
1041
|
+
},
|
|
1042
|
+
"botPassword": {
|
|
1043
|
+
"description": "Required. Client secret of the Microsoft Entra application created for bot.",
|
|
1044
|
+
"$ref": "#/definitions/secretEnvVarName"
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
},
|
|
1050
|
+
"botframeworkCreate": {
|
|
1051
|
+
"type": "object",
|
|
1052
|
+
"additionalProperties": false,
|
|
1053
|
+
"description": "Create or update the bot registration on dev.botframework.com. Refer to https://aka.ms/teamsfx-actions/botframework-create for more details.",
|
|
1054
|
+
"required": ["uses", "with"],
|
|
1055
|
+
"properties": {
|
|
1056
|
+
"name": {
|
|
1057
|
+
"type": "string",
|
|
1058
|
+
"description": "An optional name of this action."
|
|
1059
|
+
},
|
|
1060
|
+
"env": {
|
|
1061
|
+
"type": "object",
|
|
1062
|
+
"description": "Define environment variables for this action.",
|
|
1063
|
+
"additionalProperties": {
|
|
1064
|
+
"type": "string"
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
"uses": {
|
|
1068
|
+
"type": "string",
|
|
1069
|
+
"description": "Create or update the bot registration on dev.botframework.com. Refer to https://aka.ms/teamsfx-actions/botframework-create for more details.",
|
|
1070
|
+
"const": "botFramework/create"
|
|
1071
|
+
},
|
|
1072
|
+
"with": {
|
|
1073
|
+
"type": "object",
|
|
1074
|
+
"additionalProperties": false,
|
|
1075
|
+
"description": "parameters for this action",
|
|
1076
|
+
"required": ["botId", "name", "messagingEndpoint"],
|
|
1077
|
+
"properties": {
|
|
1078
|
+
"botId": {
|
|
1079
|
+
"type": "string",
|
|
1080
|
+
"description": "the Microsoft Entra app client id of the bot"
|
|
1081
|
+
},
|
|
1082
|
+
"name": {
|
|
1083
|
+
"type": "string",
|
|
1084
|
+
"description": "the name of the bot"
|
|
1085
|
+
},
|
|
1086
|
+
"messagingEndpoint": {
|
|
1087
|
+
"type": "string",
|
|
1088
|
+
"description": "the messaging endpoint of the bot"
|
|
1089
|
+
},
|
|
1090
|
+
"description": {
|
|
1091
|
+
"type": "string",
|
|
1092
|
+
"description": "the long description of the bot"
|
|
1093
|
+
},
|
|
1094
|
+
"iconUrl": {
|
|
1095
|
+
"type": "string",
|
|
1096
|
+
"description": "the icon of the bot, pointed to an existing URL"
|
|
1097
|
+
},
|
|
1098
|
+
"channels": {
|
|
1099
|
+
"type": "array",
|
|
1100
|
+
"description": "the channel(s) to be enabled of the bot",
|
|
1101
|
+
"items": {
|
|
1102
|
+
"oneOf": [{ "$ref": "#/definitions/MsTeamsChannel" }, { "$ref": "#/definitions/M365ExtensionsChannel" }]
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
},
|
|
1109
|
+
"MsTeamsChannel": {
|
|
1110
|
+
"type": "object",
|
|
1111
|
+
"additionalProperties": false,
|
|
1112
|
+
"description": "Microsoft Teams channel",
|
|
1113
|
+
"required": ["name"],
|
|
1114
|
+
"properties": {
|
|
1115
|
+
"name": {
|
|
1116
|
+
"type": "string",
|
|
1117
|
+
"description": "Microsoft Teams channel",
|
|
1118
|
+
"enum": ["msteams"]
|
|
1119
|
+
},
|
|
1120
|
+
"callingWebhook": {
|
|
1121
|
+
"type": "string",
|
|
1122
|
+
"description": "Webhook for Microsoft Teams channel calls"
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
},
|
|
1126
|
+
"M365ExtensionsChannel": {
|
|
1127
|
+
"type": "object",
|
|
1128
|
+
"additionalProperties": false,
|
|
1129
|
+
"description": "Microsoft 365 Extensions channel",
|
|
1130
|
+
"required": ["name"],
|
|
1131
|
+
"properties": {
|
|
1132
|
+
"name": {
|
|
1133
|
+
"type": "string",
|
|
1134
|
+
"description": "Microsoft 365 Extensions channel",
|
|
1135
|
+
"enum": ["m365extensions"]
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
},
|
|
1139
|
+
"fileCreateOrUpdateEnvironmentFile": {
|
|
1140
|
+
"type": "object",
|
|
1141
|
+
"additionalProperties": false,
|
|
1142
|
+
"description": "Create or update variables to environment file. Refer to https://aka.ms/teamsfx-actions/file-createorupdateenvironmentfile for more details.",
|
|
1143
|
+
"required": ["uses", "with"],
|
|
1144
|
+
"properties": {
|
|
1145
|
+
"name": {
|
|
1146
|
+
"type": "string",
|
|
1147
|
+
"description": "An optional name of this action."
|
|
1148
|
+
},
|
|
1149
|
+
"env": {
|
|
1150
|
+
"type": "object",
|
|
1151
|
+
"description": "Define environment variables for this action.",
|
|
1152
|
+
"additionalProperties": {
|
|
1153
|
+
"type": "string"
|
|
1154
|
+
}
|
|
1155
|
+
},
|
|
1156
|
+
"uses": {
|
|
1157
|
+
"type": "string",
|
|
1158
|
+
"description": "Create or update variables to environment file. Refer to https://aka.ms/teamsfx-actions/file-createorupdateenvironmentfile for more details.",
|
|
1159
|
+
"const": "file/createOrUpdateEnvironmentFile"
|
|
1160
|
+
},
|
|
1161
|
+
"with": {
|
|
1162
|
+
"type": "object",
|
|
1163
|
+
"additionalProperties": false,
|
|
1164
|
+
"description": "parameters for this action",
|
|
1165
|
+
"required": ["envs", "target"],
|
|
1166
|
+
"properties": {
|
|
1167
|
+
"envs": {
|
|
1168
|
+
"type": "object",
|
|
1169
|
+
"description": "the environment variable(s) to be generated",
|
|
1170
|
+
"additionalProperties": {
|
|
1171
|
+
"oneOf": [
|
|
1172
|
+
{
|
|
1173
|
+
"type": "string"
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
"type": "boolean"
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
"type": "number"
|
|
1180
|
+
}
|
|
1181
|
+
]
|
|
1182
|
+
}
|
|
1183
|
+
},
|
|
1184
|
+
"target": {
|
|
1185
|
+
"type": "string",
|
|
1186
|
+
"description": "The target environment file to be created or updated"
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
"fileCreateOrUpdateJsonFile": {
|
|
1193
|
+
"type": "object",
|
|
1194
|
+
"additionalProperties": false,
|
|
1195
|
+
"description": "Create or update JSON file. Refer to https://aka.ms/teamsfx-actions/file-createorupdatejsonfile for more details.",
|
|
1196
|
+
"required": ["uses", "with"],
|
|
1197
|
+
"properties": {
|
|
1198
|
+
"name": {
|
|
1199
|
+
"type": "string",
|
|
1200
|
+
"description": "An optional name of this action."
|
|
1201
|
+
},
|
|
1202
|
+
"env": {
|
|
1203
|
+
"type": "object",
|
|
1204
|
+
"description": "Define environment variables for this action.",
|
|
1205
|
+
"additionalProperties": {
|
|
1206
|
+
"type": "string"
|
|
1207
|
+
}
|
|
1208
|
+
},
|
|
1209
|
+
"uses": {
|
|
1210
|
+
"type": "string",
|
|
1211
|
+
"description": "Create or update JSON file. Refer to https://aka.ms/teamsfx-actions/file-createorupdatejsonfile for more details.",
|
|
1212
|
+
"const": "file/createOrUpdateJsonFile"
|
|
1213
|
+
},
|
|
1214
|
+
"with": {
|
|
1215
|
+
"type": "object",
|
|
1216
|
+
"additionalProperties": false,
|
|
1217
|
+
"description": "parameters for this action",
|
|
1218
|
+
"required": ["target"],
|
|
1219
|
+
"properties": {
|
|
1220
|
+
"appsettings": {
|
|
1221
|
+
"type": "object",
|
|
1222
|
+
"description": "the app settings to be generated"
|
|
1223
|
+
},
|
|
1224
|
+
"target": {
|
|
1225
|
+
"type": "string",
|
|
1226
|
+
"description": "the target file"
|
|
1227
|
+
},
|
|
1228
|
+
"content": {
|
|
1229
|
+
"type": "object",
|
|
1230
|
+
"description": "the json content to be created or updated, will be merged with existing content"
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
},
|
|
1236
|
+
"devToolInstall": {
|
|
1237
|
+
"type": "object",
|
|
1238
|
+
"additionalProperties": false,
|
|
1239
|
+
"description": "Install development tool(s). Refer to https://aka.ms/teamsfx-actions/devtool-install for more details.",
|
|
1240
|
+
"required": ["uses", "with"],
|
|
1241
|
+
"properties": {
|
|
1242
|
+
"name": {
|
|
1243
|
+
"type": "string",
|
|
1244
|
+
"description": "An optional name of this action."
|
|
1245
|
+
},
|
|
1246
|
+
"env": {
|
|
1247
|
+
"type": "object",
|
|
1248
|
+
"description": "Define environment variables for this action.",
|
|
1249
|
+
"additionalProperties": {
|
|
1250
|
+
"type": "string"
|
|
1251
|
+
}
|
|
1252
|
+
},
|
|
1253
|
+
"uses": {
|
|
1254
|
+
"type": "string",
|
|
1255
|
+
"description": "Install development tool(s). Refer to https://aka.ms/teamsfx-actions/devtool-install for more details.",
|
|
1256
|
+
"const": "devTool/install"
|
|
1257
|
+
},
|
|
1258
|
+
"with": {
|
|
1259
|
+
"type": "object",
|
|
1260
|
+
"additionalProperties": false,
|
|
1261
|
+
"description": "parameters for this action",
|
|
1262
|
+
"properties": {
|
|
1263
|
+
"devCert": {
|
|
1264
|
+
"type": "object",
|
|
1265
|
+
"description": "Generate an SSL certificate and install it to the system certificate management center. This will output environment variables specified by `sslCertFile` and `sslKeyFile` to current environment's .env file.",
|
|
1266
|
+
"additionalProperties": false,
|
|
1267
|
+
"required": ["trust"],
|
|
1268
|
+
"properties": {
|
|
1269
|
+
"trust": {
|
|
1270
|
+
"type": "boolean",
|
|
1271
|
+
"description": "whether to trust the SSL certificate or not"
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
},
|
|
1275
|
+
"func": {
|
|
1276
|
+
"type": "object",
|
|
1277
|
+
"description": "Install Azure Functions Core Tools. This will output environment variable specified by `funcPath` to current environment's .env file.",
|
|
1278
|
+
"additionalProperties": false,
|
|
1279
|
+
"required": [
|
|
1280
|
+
"version"
|
|
1281
|
+
],
|
|
1282
|
+
"properties": {
|
|
1283
|
+
"version": {
|
|
1284
|
+
"oneOf": [
|
|
1285
|
+
{
|
|
1286
|
+
"type": "string"
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"type": "integer"
|
|
1290
|
+
}
|
|
1291
|
+
],
|
|
1292
|
+
"description": "The version number of Azure Functions Core Tools that follow the Semantic Versioning scheme."
|
|
1293
|
+
},
|
|
1294
|
+
"symlinkDir": {
|
|
1295
|
+
"type": "string",
|
|
1296
|
+
"description": "The path of the symlink target for the folder containing Azure Functions Core Tools binaries."
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
},
|
|
1300
|
+
"dotnet": {
|
|
1301
|
+
"type": "boolean",
|
|
1302
|
+
"description": "Install .NET SDK. This will output environment variables specified by `dotnetPath` to current environment's .env file."
|
|
1303
|
+
},
|
|
1304
|
+
"testTool": {
|
|
1305
|
+
"type": "object",
|
|
1306
|
+
"description": "Install Microsoft 365 Agents Playground. This will output environment variables specified by `testToolPath` to current environment's .env file.",
|
|
1307
|
+
"additionalProperties": false,
|
|
1308
|
+
"required": ["version", "symlinkDir"],
|
|
1309
|
+
"properties": {
|
|
1310
|
+
"version": {
|
|
1311
|
+
"oneOf": [
|
|
1312
|
+
{
|
|
1313
|
+
"type": "string"
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"type": "integer"
|
|
1317
|
+
}
|
|
1318
|
+
],
|
|
1319
|
+
"description": "The version number of Microsoft 365 Agents Playground npm package that follow the Semantic Versioning scheme."
|
|
1320
|
+
},
|
|
1321
|
+
"symlinkDir": {
|
|
1322
|
+
"type": "string",
|
|
1323
|
+
"description": "The path of the symlink target for the folder containing Microsoft 365 Agents Playground binaries."
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
},
|
|
1327
|
+
"nodejs": {
|
|
1328
|
+
"type": "object",
|
|
1329
|
+
"description": "Install standalone Node.js.",
|
|
1330
|
+
"additionalProperties": false,
|
|
1331
|
+
"required": ["symlinkDir"],
|
|
1332
|
+
"properties": {
|
|
1333
|
+
"symlinkDir": {
|
|
1334
|
+
"type": "string",
|
|
1335
|
+
"description": "The path of the symlink target for the folder containing Node.js binaries."
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
},
|
|
1341
|
+
"writeToEnvironmentFile": {
|
|
1342
|
+
"type": "object",
|
|
1343
|
+
"additionalProperties": false,
|
|
1344
|
+
"description": "Write environment variables to environment file",
|
|
1345
|
+
"properties": {
|
|
1346
|
+
"sslCertFile": {
|
|
1347
|
+
"description": "The path of the certificate file of the SSL certificate. This parameter takes effect only when `devCert` is specified.",
|
|
1348
|
+
"$ref": "#/definitions/envVarName"
|
|
1349
|
+
},
|
|
1350
|
+
"sslKeyFile": {
|
|
1351
|
+
"description": "The path of the key file of the SSL certificate. This parameter takes effect only when `devCert` is specified.",
|
|
1352
|
+
"$ref": "#/definitions/envVarName"
|
|
1353
|
+
},
|
|
1354
|
+
"funcPath": {
|
|
1355
|
+
"description": "The path of the Azure Functions Core Tools binary. This parameter takes effect only when `func` is `true`.",
|
|
1356
|
+
"$ref": "#/definitions/envVarName"
|
|
1357
|
+
},
|
|
1358
|
+
"dotnetPath": {
|
|
1359
|
+
"description": "The path of the .NET binary. This parameter takes effect only when `dotnet` is `true`.",
|
|
1360
|
+
"$ref": "#/definitions/envVarName"
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
},
|
|
1366
|
+
"teamsAppExtendToM365": {
|
|
1367
|
+
"type": "object",
|
|
1368
|
+
"additionalProperties": false,
|
|
1369
|
+
"description": "Extend app across Microsoft 365. Refer to https://aka.ms/teamsfx-actions/teamsapp-extendToM365 for more details.",
|
|
1370
|
+
"required": ["uses", "with"],
|
|
1371
|
+
"properties": {
|
|
1372
|
+
"name": {
|
|
1373
|
+
"type": "string",
|
|
1374
|
+
"description": "An optional name of this action."
|
|
1375
|
+
},
|
|
1376
|
+
"env": {
|
|
1377
|
+
"type": "object",
|
|
1378
|
+
"description": "Define environment variables for this action.",
|
|
1379
|
+
"additionalProperties": {
|
|
1380
|
+
"type": "string"
|
|
1381
|
+
}
|
|
1382
|
+
},
|
|
1383
|
+
"uses": {
|
|
1384
|
+
"type": "string",
|
|
1385
|
+
"description": "Extend app across Microsoft 365. Refer to https://aka.ms/teamsfx-actions/teamsapp-extendToM365 for more details.",
|
|
1386
|
+
"const": "teamsApp/extendToM365"
|
|
1387
|
+
},
|
|
1388
|
+
"with": {
|
|
1389
|
+
"type": "object",
|
|
1390
|
+
"additionalProperties": false,
|
|
1391
|
+
"description": "parameters for this action",
|
|
1392
|
+
"required": ["appPackagePath"],
|
|
1393
|
+
"properties": {
|
|
1394
|
+
"appPackagePath": {
|
|
1395
|
+
"type": "string",
|
|
1396
|
+
"description": "path to app package"
|
|
1397
|
+
},
|
|
1398
|
+
"scope": {
|
|
1399
|
+
"type": "string",
|
|
1400
|
+
"description": "The scope of the app (only works for declarative agent). personal is only visible to the owners. shared can be visible to other users in the tenant. Default is personal"
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
},
|
|
1404
|
+
"writeToEnvironmentFile": {
|
|
1405
|
+
"type": "object",
|
|
1406
|
+
"additionalProperties": false,
|
|
1407
|
+
"description": "Write environment variables to environment file",
|
|
1408
|
+
"required": ["titleId", "appId"],
|
|
1409
|
+
"properties": {
|
|
1410
|
+
"titleId": {
|
|
1411
|
+
"description": "Required. The ID of M365 title.",
|
|
1412
|
+
"$ref": "#/definitions/envVarName"
|
|
1413
|
+
},
|
|
1414
|
+
"appId": {
|
|
1415
|
+
"description": "Required. The app ID of M365 title.",
|
|
1416
|
+
"$ref": "#/definitions/envVarName"
|
|
1417
|
+
},
|
|
1418
|
+
"shareLink": {
|
|
1419
|
+
"description": "Optional. The share link of the app.",
|
|
1420
|
+
"$ref": "#/definitions/envVarName"
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
},
|
|
1426
|
+
"spfxDeploy": {
|
|
1427
|
+
"type": "object",
|
|
1428
|
+
"additionalProperties": false,
|
|
1429
|
+
"description": "Deploy the SPFx package to SharePoint app catalog. Refer to https://aka.ms/teamsfx-actions/spfx-deploy for more details.",
|
|
1430
|
+
"required": ["uses", "with"],
|
|
1431
|
+
"properties": {
|
|
1432
|
+
"name": {
|
|
1433
|
+
"type": "string",
|
|
1434
|
+
"description": "An optional name of this action."
|
|
1435
|
+
},
|
|
1436
|
+
"env": {
|
|
1437
|
+
"type": "object",
|
|
1438
|
+
"description": "Define environment variables for this action.",
|
|
1439
|
+
"additionalProperties": {
|
|
1440
|
+
"type": "string"
|
|
1441
|
+
}
|
|
1442
|
+
},
|
|
1443
|
+
"uses": {
|
|
1444
|
+
"type": "string",
|
|
1445
|
+
"description": "Deploy the SPFx package to SharePoint app catalog. Refer to https://aka.ms/teamsfx-actions/spfx-deploy for more details.",
|
|
1446
|
+
"const": "spfx/deploy"
|
|
1447
|
+
},
|
|
1448
|
+
"with": {
|
|
1449
|
+
"type": "object",
|
|
1450
|
+
"description": "parameters for this action",
|
|
1451
|
+
"additionalProperties": false,
|
|
1452
|
+
"required": ["packageSolutionPath"],
|
|
1453
|
+
"properties": {
|
|
1454
|
+
"createAppCatalogIfNotExist": {
|
|
1455
|
+
"type": "boolean",
|
|
1456
|
+
"description": "Whether to create tenant app catalog first if not exist, default value is `false`"
|
|
1457
|
+
},
|
|
1458
|
+
"packageSolutionPath": {
|
|
1459
|
+
"type": "string",
|
|
1460
|
+
"description": "The path to package-solution.json in SPFx project"
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
},
|
|
1466
|
+
"teamsAppCopyAppPackageToSPFx": {
|
|
1467
|
+
"type": "object",
|
|
1468
|
+
"additionalProperties": false,
|
|
1469
|
+
"description": "Copy the generated app package to SPFx solution. Refer to https://aka.ms/teamsfx-actions/teams-app-copy-app-package-to-spfx for more details.",
|
|
1470
|
+
"required": ["uses", "with"],
|
|
1471
|
+
"properties": {
|
|
1472
|
+
"name": {
|
|
1473
|
+
"type": "string",
|
|
1474
|
+
"description": "An optional name of this action."
|
|
1475
|
+
},
|
|
1476
|
+
"env": {
|
|
1477
|
+
"type": "object",
|
|
1478
|
+
"description": "Define environment variables for this action.",
|
|
1479
|
+
"additionalProperties": {
|
|
1480
|
+
"type": "string"
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
"uses": {
|
|
1484
|
+
"type": "string",
|
|
1485
|
+
"description": "Copy the generated app package to SPFx solution. Refer to https://aka.ms/teamsfx-actions/teams-app-copy-app-package-to-spfx for more details.",
|
|
1486
|
+
"const": "teamsApp/copyAppPackageToSPFx"
|
|
1487
|
+
},
|
|
1488
|
+
"with": {
|
|
1489
|
+
"type": "object",
|
|
1490
|
+
"description": "parameters for this action",
|
|
1491
|
+
"additionalProperties": false,
|
|
1492
|
+
"required": ["appPackagePath", "spfxFolder"],
|
|
1493
|
+
"properties": {
|
|
1494
|
+
"spfxFolder": {
|
|
1495
|
+
"type": "string",
|
|
1496
|
+
"description": "The source folder to the SPFx project"
|
|
1497
|
+
},
|
|
1498
|
+
"appPackagePath": {
|
|
1499
|
+
"type": "string",
|
|
1500
|
+
"description": "The path to the zipped app package"
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
"script": {
|
|
1507
|
+
"type": "object",
|
|
1508
|
+
"additionalProperties": false,
|
|
1509
|
+
"description": "Execute a user defined script. Refer to https://aka.ms/teamsfx-actions/script for more details.",
|
|
1510
|
+
"required": ["uses", "with"],
|
|
1511
|
+
"properties": {
|
|
1512
|
+
"name": {
|
|
1513
|
+
"type": "string",
|
|
1514
|
+
"description": "An optional name of this action."
|
|
1515
|
+
},
|
|
1516
|
+
"env": {
|
|
1517
|
+
"type": "object",
|
|
1518
|
+
"description": "Define environment variables for this action.",
|
|
1519
|
+
"additionalProperties": {
|
|
1520
|
+
"type": "string"
|
|
1521
|
+
}
|
|
1522
|
+
},
|
|
1523
|
+
"uses": {
|
|
1524
|
+
"type": "string",
|
|
1525
|
+
"description": "Execute a user defined script. Refer to https://aka.ms/teamsfx-actions/script for more details.",
|
|
1526
|
+
"const": "script"
|
|
1527
|
+
},
|
|
1528
|
+
"with": {
|
|
1529
|
+
"type": "object",
|
|
1530
|
+
"additionalProperties": false,
|
|
1531
|
+
"description": "Parameters for this action",
|
|
1532
|
+
"required": ["run"],
|
|
1533
|
+
"properties": {
|
|
1534
|
+
"run": {
|
|
1535
|
+
"type": "string",
|
|
1536
|
+
"description": "The command for this action to run or path to the script. Succeeds if exit code is 0."
|
|
1537
|
+
},
|
|
1538
|
+
"workingDirectory": {
|
|
1539
|
+
"type": "string",
|
|
1540
|
+
"description": "Current working directory. Defaults to the directory of this file."
|
|
1541
|
+
},
|
|
1542
|
+
"shell": {
|
|
1543
|
+
"type": "string",
|
|
1544
|
+
"description": "Shell command. If not specified, use default shell for current platform. The rule is: 1) use the value of the 'SHELL' environment variable if it is set. Otherwise the shell depends on operation system: 2) on macOS, use '/bin/zsh' if it exists, otherwise use '/bin/bash'; 3) On Windows, use the value of the 'ComSpec' environment variable if it exists, otherwise use 'cmd.exe'; 4) On Linux or other OS, use '/bin/sh' if it extis."
|
|
1545
|
+
},
|
|
1546
|
+
"timeout": {
|
|
1547
|
+
"type": "number",
|
|
1548
|
+
"description": "timeout in ms"
|
|
1549
|
+
},
|
|
1550
|
+
"redirectTo": {
|
|
1551
|
+
"type": "string",
|
|
1552
|
+
"description": "redirect stdout and stderr to a file"
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
}
|
|
1556
|
+
}
|
|
1557
|
+
},
|
|
1558
|
+
"relativePath": {
|
|
1559
|
+
"type": "string",
|
|
1560
|
+
"maxLength": 2048
|
|
1561
|
+
},
|
|
1562
|
+
"httpsUrl": {
|
|
1563
|
+
"type": "string",
|
|
1564
|
+
"maxLength": 2048,
|
|
1565
|
+
"pattern": "^[Hh][Tt][Tt][Pp][Ss]?://"
|
|
1566
|
+
},
|
|
1567
|
+
"semver": {
|
|
1568
|
+
"type": "string",
|
|
1569
|
+
"maxLength": 256,
|
|
1570
|
+
"pattern": "^([0-9]|[1-9]+[0-9]*)\\.([0-9]|[1-9]+[0-9]*)\\.([0-9]|[1-9]+[0-9]*)$"
|
|
1571
|
+
},
|
|
1572
|
+
"hexColor": {
|
|
1573
|
+
"type": "string",
|
|
1574
|
+
"pattern": "^#[0-9a-fA-F]{6}$"
|
|
1575
|
+
},
|
|
1576
|
+
"guid": {
|
|
1577
|
+
"type": "string",
|
|
1578
|
+
"pattern": "^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$"
|
|
1579
|
+
},
|
|
1580
|
+
"languageTag": {
|
|
1581
|
+
"type": "string",
|
|
1582
|
+
"pattern": "^[A-Za-z0-9]{1,8}(-[A-Za-z0-9]{1,8}){0,2}$"
|
|
1583
|
+
},
|
|
1584
|
+
"taskInfoDimension": {
|
|
1585
|
+
"type": "string",
|
|
1586
|
+
"pattern": "^((([0-9]*\\.)?[0-9]+)|[lL][aA][rR][gG][eE]|[mM][eE][dD][iI][uU][mM]|[sS][mM][aA][lL][lL])$",
|
|
1587
|
+
"maxLength": 16
|
|
1588
|
+
},
|
|
1589
|
+
"secretEnvVarName": {
|
|
1590
|
+
"type": "string",
|
|
1591
|
+
"pattern": "^SECRET_[A-Z0-9_]+$",
|
|
1592
|
+
"maxLength": 256
|
|
1593
|
+
},
|
|
1594
|
+
"envVarName": {
|
|
1595
|
+
"type": "string",
|
|
1596
|
+
"pattern": "^[A-Z][A-Z0-9_]*$",
|
|
1597
|
+
"maxLength": 256
|
|
1598
|
+
},
|
|
1599
|
+
"apiKeyRegister": {
|
|
1600
|
+
"type": "object",
|
|
1601
|
+
"additionalProperties": false,
|
|
1602
|
+
"description": "Create an API key.",
|
|
1603
|
+
"required": ["uses", "with", "writeToEnvironmentFile"],
|
|
1604
|
+
"properties": {
|
|
1605
|
+
"uses": {
|
|
1606
|
+
"type": "string",
|
|
1607
|
+
"description": "Register API key. Refer to https://aka.ms/teamsfx-actions/apiKey-register for more details.",
|
|
1608
|
+
"const": "apiKey/register"
|
|
1609
|
+
},
|
|
1610
|
+
"with": {
|
|
1611
|
+
"type": "object",
|
|
1612
|
+
"additionalProperties": false,
|
|
1613
|
+
"description": "Parameters for this action",
|
|
1614
|
+
"required": ["name", "appId"],
|
|
1615
|
+
"properties": {
|
|
1616
|
+
"name": {
|
|
1617
|
+
"type": "string",
|
|
1618
|
+
"description": "The name of API key."
|
|
1619
|
+
},
|
|
1620
|
+
"appId": {
|
|
1621
|
+
"type": "string",
|
|
1622
|
+
"description": "The app ID."
|
|
1623
|
+
},
|
|
1624
|
+
"primaryClientSecret": {
|
|
1625
|
+
"type": "string",
|
|
1626
|
+
"description": "Primary client secret of API key. Length of client secret >= 10 and <= 128"
|
|
1627
|
+
},
|
|
1628
|
+
"secondaryClientSecret": {
|
|
1629
|
+
"type": "string",
|
|
1630
|
+
"description": "Secondary callingWebhook secret of API key. Length of client secret >= 10 and <= 128"
|
|
1631
|
+
},
|
|
1632
|
+
"apiSpecPath": {
|
|
1633
|
+
"type": "string",
|
|
1634
|
+
"description": "The path of API specification file. Will be used to extract missing properties if they're not explicitly provided."
|
|
1635
|
+
},
|
|
1636
|
+
"baseUrl": {
|
|
1637
|
+
"type": "string",
|
|
1638
|
+
"description": "The base URL for the API."
|
|
1639
|
+
},
|
|
1640
|
+
"applicableToApps": {
|
|
1641
|
+
"type": "string",
|
|
1642
|
+
"description": "Which app can access the API key? Values can be \"SpecificApp\" or \"AnyApp\". Default is \"AnyApp\".",
|
|
1643
|
+
"enum": ["SpecificApp", "AnyApp"]
|
|
1644
|
+
},
|
|
1645
|
+
"targetAudience": {
|
|
1646
|
+
"type": "string",
|
|
1647
|
+
"description": "Which tenant can access the API key? Values can be \"HomeTenant\" or \"AnyTenant\". Default is \"AnyTenant\".",
|
|
1648
|
+
"enum": ["HomeTenant", "AnyTenant"]
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
},
|
|
1652
|
+
"writeToEnvironmentFile": {
|
|
1653
|
+
"type": "object",
|
|
1654
|
+
"additionalProperties": false,
|
|
1655
|
+
"description": "Write environment variables to environment file",
|
|
1656
|
+
"required": ["registrationId"],
|
|
1657
|
+
"properties": {
|
|
1658
|
+
"registrationId": {
|
|
1659
|
+
"description": "Required. The registration id of created API key.",
|
|
1660
|
+
"$ref": "#/definitions/envVarName"
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
},
|
|
1666
|
+
"azureStaticWebAppGetDeploymentKey": {
|
|
1667
|
+
"type": "object",
|
|
1668
|
+
"additionalProperties": false,
|
|
1669
|
+
"description": "Get deployment key from Azure Static Web App.",
|
|
1670
|
+
"required": ["uses", "with"],
|
|
1671
|
+
"properties": {
|
|
1672
|
+
"uses": {
|
|
1673
|
+
"type": "string",
|
|
1674
|
+
"description": "Get deployment key. Refer to https://aka.ms/teamsfx-actions/swa-get-deployment-key for more details.",
|
|
1675
|
+
"const": "azureStaticWebApps/getDeploymentToken"
|
|
1676
|
+
},
|
|
1677
|
+
"with": {
|
|
1678
|
+
"type": "object",
|
|
1679
|
+
"additionalProperties": false,
|
|
1680
|
+
"description": "Parameters for this action",
|
|
1681
|
+
"required": ["resourceId"],
|
|
1682
|
+
"properties": {
|
|
1683
|
+
"resourceId": {
|
|
1684
|
+
"type": "string",
|
|
1685
|
+
"description": "The resource ID of Azure Static Web App."
|
|
1686
|
+
}
|
|
1687
|
+
}
|
|
1688
|
+
},
|
|
1689
|
+
"writeToEnvironmentFile": {
|
|
1690
|
+
"type": "object",
|
|
1691
|
+
"additionalProperties": false,
|
|
1692
|
+
"description": "Write environment variables to environment file",
|
|
1693
|
+
"required": ["deploymentToken"],
|
|
1694
|
+
"properties": {
|
|
1695
|
+
"deploymentToken": {
|
|
1696
|
+
"description": "Required. The deployment token of Azure Static Web App.",
|
|
1697
|
+
"$ref": "#/definitions/envVarName"
|
|
1698
|
+
}
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1702
|
+
},
|
|
1703
|
+
"apiKeyUpdate": {
|
|
1704
|
+
"type": "object",
|
|
1705
|
+
"additionalProperties": false,
|
|
1706
|
+
"description": "Update an API key.",
|
|
1707
|
+
"required": ["uses", "with"],
|
|
1708
|
+
"properties": {
|
|
1709
|
+
"uses": {
|
|
1710
|
+
"type": "string",
|
|
1711
|
+
"description": "Update API key. Refer to https://aka.ms/teamsfx-actions/apiKey-update for more details.",
|
|
1712
|
+
"const": "apiKey/update"
|
|
1713
|
+
},
|
|
1714
|
+
"with": {
|
|
1715
|
+
"type": "object",
|
|
1716
|
+
"additionalProperties": false,
|
|
1717
|
+
"description": "Parameters for this action",
|
|
1718
|
+
"required": ["name", "appId", "registrationId"],
|
|
1719
|
+
"properties": {
|
|
1720
|
+
"name": {
|
|
1721
|
+
"type": "string",
|
|
1722
|
+
"description": "The name of API key."
|
|
1723
|
+
},
|
|
1724
|
+
"appId": {
|
|
1725
|
+
"type": "string",
|
|
1726
|
+
"description": "The app ID of app."
|
|
1727
|
+
},
|
|
1728
|
+
"apiSpecPath": {
|
|
1729
|
+
"type": "string",
|
|
1730
|
+
"description": "The path of API specification file. Will be used to extract missing properties if they're not explicitly provided."
|
|
1731
|
+
},
|
|
1732
|
+
"baseUrl": {
|
|
1733
|
+
"type": "string",
|
|
1734
|
+
"description": "The base URL for the API."
|
|
1735
|
+
},
|
|
1736
|
+
"registrationId": {
|
|
1737
|
+
"type": "string",
|
|
1738
|
+
"description": "The registration id of API key."
|
|
1739
|
+
},
|
|
1740
|
+
"applicableToApps": {
|
|
1741
|
+
"type": "string",
|
|
1742
|
+
"description": "Which app can access the API key? Values can be \"SpecificApp\" or \"AnyApp\". Default is \"AnyApp\".",
|
|
1743
|
+
"enum": ["SpecificApp", "AnyApp"]
|
|
1744
|
+
},
|
|
1745
|
+
"targetAudience": {
|
|
1746
|
+
"type": "string",
|
|
1747
|
+
"description": "Which tenant can access the API key? Values can be \"HomeTenant\" or \"AnyTenant\". Default is \"AnyTenant\".",
|
|
1748
|
+
"enum": ["HomeTenant", "AnyTenant"]
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
},
|
|
1754
|
+
"oauthRegister": {
|
|
1755
|
+
"type": "object",
|
|
1756
|
+
"additionalProperties": false,
|
|
1757
|
+
"description": "Create an OAuth registration.",
|
|
1758
|
+
"required": ["uses", "with", "writeToEnvironmentFile"],
|
|
1759
|
+
"properties": {
|
|
1760
|
+
"uses": {
|
|
1761
|
+
"type": "string",
|
|
1762
|
+
"description": "Register OAuth registration. Refer to https://aka.ms/teamsfx-actions/oauth-register for more details.",
|
|
1763
|
+
"const": "oauth/register"
|
|
1764
|
+
},
|
|
1765
|
+
"with": {
|
|
1766
|
+
"type": "object",
|
|
1767
|
+
"additionalProperties": false,
|
|
1768
|
+
"description": "Parameters for this action",
|
|
1769
|
+
"required": ["name", "flow"],
|
|
1770
|
+
"properties": {
|
|
1771
|
+
"name": {
|
|
1772
|
+
"type": "string",
|
|
1773
|
+
"description": "The name of OAuth registration."
|
|
1774
|
+
},
|
|
1775
|
+
"appId": {
|
|
1776
|
+
"type": "string",
|
|
1777
|
+
"description": "The app ID of the App. Only take effect when applicableToApps is SpecificApp."
|
|
1778
|
+
},
|
|
1779
|
+
"apiSpecPath": {
|
|
1780
|
+
"type": "string",
|
|
1781
|
+
"description": "The path of API specification file. Will be used to extract missing properties if they're not explicitly provided."
|
|
1782
|
+
},
|
|
1783
|
+
"baseUrl": {
|
|
1784
|
+
"type": "string",
|
|
1785
|
+
"description": "The base URL for the API."
|
|
1786
|
+
},
|
|
1787
|
+
"authorizationUrl": {
|
|
1788
|
+
"type": "string",
|
|
1789
|
+
"description": "The authorization URL for the OAuth flow."
|
|
1790
|
+
},
|
|
1791
|
+
"tokenUrl": {
|
|
1792
|
+
"type": "string",
|
|
1793
|
+
"description": "The token URL for the OAuth flow."
|
|
1794
|
+
},
|
|
1795
|
+
"scope": {
|
|
1796
|
+
"type": "string",
|
|
1797
|
+
"description": "The scope(s) for the OAuth flow."
|
|
1798
|
+
},
|
|
1799
|
+
"applicableToApps": {
|
|
1800
|
+
"type": "string",
|
|
1801
|
+
"description": "Which app can access the OAuth registration? Values can be \"SpecificApp\" or \"AnyApp\". Default is \"AnyApp\".",
|
|
1802
|
+
"enum": ["SpecificApp", "AnyApp"]
|
|
1803
|
+
},
|
|
1804
|
+
"targetAudience": {
|
|
1805
|
+
"type": "string",
|
|
1806
|
+
"description": "Which tenant can access the OAuth registration? Values can be \"HomeTenant\" or \"AnyTenant\". Default is \"AnyTenant\".",
|
|
1807
|
+
"enum": ["HomeTenant", "AnyTenant"]
|
|
1808
|
+
},
|
|
1809
|
+
"flow": {
|
|
1810
|
+
"type": "string",
|
|
1811
|
+
"description": "The flow of OAuth registration. Values can be \"authorizationCode\" .",
|
|
1812
|
+
"enum": ["authorizationCode"]
|
|
1813
|
+
},
|
|
1814
|
+
"clientId": {
|
|
1815
|
+
"type": "string",
|
|
1816
|
+
"description": "The client id of OAuth registration."
|
|
1817
|
+
},
|
|
1818
|
+
"clientSecret": {
|
|
1819
|
+
"type": "string",
|
|
1820
|
+
"description": "The client secret of OAuth registration."
|
|
1821
|
+
},
|
|
1822
|
+
"refreshUrl": {
|
|
1823
|
+
"type": "string",
|
|
1824
|
+
"description": "The refresh url of OAuth registration."
|
|
1825
|
+
},
|
|
1826
|
+
"isPKCEEnabled": {
|
|
1827
|
+
"type": "boolean",
|
|
1828
|
+
"description": "Whether PKCE is enabled for OAuth registration. Default is false."
|
|
1829
|
+
},
|
|
1830
|
+
"identityProvider": {
|
|
1831
|
+
"type": "string",
|
|
1832
|
+
"description": "The identity provider of OAuth registration.",
|
|
1833
|
+
"enum": ["MicrosoftEntra", "Custom"]
|
|
1834
|
+
},
|
|
1835
|
+
"tokenExchangeMethodType": {
|
|
1836
|
+
"type": "string",
|
|
1837
|
+
"description": "Token exchange method type, can be BasicAuthorizationHeader or PostRequestBody. BasicAuthorizationHeader: token exchange via HTTP headers, PostRequestBody: token exchange via request body. Default is BasicAuthorizationHeader.",
|
|
1838
|
+
"enum": ["BasicAuthorizationHeader", "PostRequestBody"]
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
},
|
|
1842
|
+
"writeToEnvironmentFile": {
|
|
1843
|
+
"type": "object",
|
|
1844
|
+
"additionalProperties": false,
|
|
1845
|
+
"description": "Write environment variables to environment file",
|
|
1846
|
+
"required": ["configurationId"],
|
|
1847
|
+
"properties": {
|
|
1848
|
+
"configurationId": {
|
|
1849
|
+
"description": "Required. The configuration id of created OAuth registration.",
|
|
1850
|
+
"$ref": "#/definitions/envVarName"
|
|
1851
|
+
},
|
|
1852
|
+
"applicationIdUri": {
|
|
1853
|
+
"description": "The Application ID URI of created OAuth registration.",
|
|
1854
|
+
"$ref": "#/definitions/envVarName"
|
|
1855
|
+
}
|
|
1856
|
+
}
|
|
1857
|
+
}
|
|
1858
|
+
}
|
|
1859
|
+
},
|
|
1860
|
+
"oauthUpdate": {
|
|
1861
|
+
"type": "object",
|
|
1862
|
+
"additionalProperties": false,
|
|
1863
|
+
"description": "Update an OAuth registration.",
|
|
1864
|
+
"required": ["uses", "with"],
|
|
1865
|
+
"properties": {
|
|
1866
|
+
"uses": {
|
|
1867
|
+
"type": "string",
|
|
1868
|
+
"description": "Update OAuth registration. Refer to https://aka.ms/teamsfx-actions/oauth-update for more details.",
|
|
1869
|
+
"const": "oauth/update"
|
|
1870
|
+
},
|
|
1871
|
+
"with": {
|
|
1872
|
+
"type": "object",
|
|
1873
|
+
"additionalProperties": false,
|
|
1874
|
+
"description": "Parameters for this action",
|
|
1875
|
+
"required": ["name", "configurationId"],
|
|
1876
|
+
"properties": {
|
|
1877
|
+
"name": {
|
|
1878
|
+
"type": "string",
|
|
1879
|
+
"description": "The name of OAuth registration."
|
|
1880
|
+
},
|
|
1881
|
+
"appId": {
|
|
1882
|
+
"type": "string",
|
|
1883
|
+
"description": "The app ID of the App. Only take effect when applicableToApps is SpecificApp."
|
|
1884
|
+
},
|
|
1885
|
+
"apiSpecPath": {
|
|
1886
|
+
"type": "string",
|
|
1887
|
+
"description": "The path of API specification file. Will be used to extract missing properties if they're not explicitly provided."
|
|
1888
|
+
},
|
|
1889
|
+
"baseUrl": {
|
|
1890
|
+
"type": "string",
|
|
1891
|
+
"description": "The base URL for the API."
|
|
1892
|
+
},
|
|
1893
|
+
"authorizationUrl": {
|
|
1894
|
+
"type": "string",
|
|
1895
|
+
"description": "The authorization URL for the OAuth flow."
|
|
1896
|
+
},
|
|
1897
|
+
"tokenUrl": {
|
|
1898
|
+
"type": "string",
|
|
1899
|
+
"description": "The token URL for the OAuth flow."
|
|
1900
|
+
},
|
|
1901
|
+
"scope": {
|
|
1902
|
+
"type": "string",
|
|
1903
|
+
"description": "The scope(s) for the OAuth flow."
|
|
1904
|
+
},
|
|
1905
|
+
"refreshUrl": {
|
|
1906
|
+
"type": "string",
|
|
1907
|
+
"description": "The refresh url of OAuth registration."
|
|
1908
|
+
},
|
|
1909
|
+
"configurationId": {
|
|
1910
|
+
"type": "string",
|
|
1911
|
+
"description": "The configuration id of OAuth registration."
|
|
1912
|
+
},
|
|
1913
|
+
"applicableToApps": {
|
|
1914
|
+
"type": "string",
|
|
1915
|
+
"description": "Which app can access the OAuth registration? Values can be \"SpecificApp\" or \"AnyApp\". Default is \"AnyApp\".",
|
|
1916
|
+
"enum": ["SpecificApp", "AnyApp"]
|
|
1917
|
+
},
|
|
1918
|
+
"targetAudience": {
|
|
1919
|
+
"type": "string",
|
|
1920
|
+
"description": "Which tenant can access the OAuth registration? Values can be \"HomeTenant\" or \"AnyTenant\". Default is \"AnyTenant\".",
|
|
1921
|
+
"enum": ["HomeTenant", "AnyTenant"]
|
|
1922
|
+
},
|
|
1923
|
+
"isPKCEEnabled": {
|
|
1924
|
+
"type": "boolean",
|
|
1925
|
+
"description": "Whether PKCE is enabled for OAuth registration. Default is false."
|
|
1926
|
+
},
|
|
1927
|
+
"clientId": {
|
|
1928
|
+
"type": "string",
|
|
1929
|
+
"description": "The client id of OAuth registration."
|
|
1930
|
+
},
|
|
1931
|
+
"clientSecret": {
|
|
1932
|
+
"type": "string",
|
|
1933
|
+
"description": "The client secret of OAuth registration."
|
|
1934
|
+
},
|
|
1935
|
+
"tokenExchangeMethodType": {
|
|
1936
|
+
"type": "string",
|
|
1937
|
+
"description": "Token exchange method type, can be BasicAuthorizationHeader or PostRequestBody. BasicAuthorizationHeader: token exchange via HTTP headers, PostRequestBody: token exchange via request body. Default is BasicAuthorizationHeader.",
|
|
1938
|
+
"enum": ["BasicAuthorizationHeader", "PostRequestBody"]
|
|
1939
|
+
}
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1943
|
+
},
|
|
1944
|
+
"devChannelCreate": {
|
|
1945
|
+
"type": "object",
|
|
1946
|
+
"additionalProperties": false,
|
|
1947
|
+
"description": "Create a Teams sandboxed team and channel.",
|
|
1948
|
+
"required": ["uses", "with", "writeToEnvironmentFile"],
|
|
1949
|
+
"properties": {
|
|
1950
|
+
"uses": {
|
|
1951
|
+
"type": "string",
|
|
1952
|
+
"description": "Create a Teams sandboxed team and channel.",
|
|
1953
|
+
"const": "devChannel/create"
|
|
1954
|
+
},
|
|
1955
|
+
"with": {
|
|
1956
|
+
"type": "object",
|
|
1957
|
+
"additionalProperties": false,
|
|
1958
|
+
"description": "Parameters for this action",
|
|
1959
|
+
"required": ["teamName", "channelName"],
|
|
1960
|
+
"properties": {
|
|
1961
|
+
"teamName": {
|
|
1962
|
+
"type": "string",
|
|
1963
|
+
"description": "The name of sandboxed team."
|
|
1964
|
+
},
|
|
1965
|
+
"channelName": {
|
|
1966
|
+
"type": "string",
|
|
1967
|
+
"description": "The default name for the channel."
|
|
1968
|
+
},
|
|
1969
|
+
"description": {
|
|
1970
|
+
"type": "string",
|
|
1971
|
+
"description": "Team description."
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
},
|
|
1975
|
+
"writeToEnvironmentFile": {
|
|
1976
|
+
"type": "object",
|
|
1977
|
+
"additionalProperties": false,
|
|
1978
|
+
"description": "Write environment variables to environment file",
|
|
1979
|
+
"required": ["channelId", "teamId", "channelWebUrl"],
|
|
1980
|
+
"properties": {
|
|
1981
|
+
"channelId": {
|
|
1982
|
+
"description": "The ID of the created channel.",
|
|
1983
|
+
"$ref": "#/definitions/envVarName"
|
|
1984
|
+
},
|
|
1985
|
+
"teamId": {
|
|
1986
|
+
"description": "The ID of the team in which the channel is created.",
|
|
1987
|
+
"$ref": "#/definitions/envVarName"
|
|
1988
|
+
},
|
|
1989
|
+
"channelWebUrl": {
|
|
1990
|
+
"type": "string",
|
|
1991
|
+
"description": "A hyperlink that will go to the channel in Microsoft Teams."
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1996
|
+
},
|
|
1997
|
+
"devChannelInstallApp": {
|
|
1998
|
+
"type": "object",
|
|
1999
|
+
"additionalProperties": false,
|
|
2000
|
+
"description": "Install app to a sandboxed team and channel.",
|
|
2001
|
+
"required": ["uses", "with"],
|
|
2002
|
+
"properties": {
|
|
2003
|
+
"uses": {
|
|
2004
|
+
"type": "string",
|
|
2005
|
+
"description": "Install app to a sandboxed team and channel.",
|
|
2006
|
+
"const": "devChannel/installApp"
|
|
2007
|
+
},
|
|
2008
|
+
"with": {
|
|
2009
|
+
"type": "object",
|
|
2010
|
+
"additionalProperties": false,
|
|
2011
|
+
"description": "Parameters for this action",
|
|
2012
|
+
"required": ["appPackagePath", "teamId", "channelId"],
|
|
2013
|
+
"properties": {
|
|
2014
|
+
"appPackagePath": {
|
|
2015
|
+
"type": "string",
|
|
2016
|
+
"description": "Path to zipped app package file."
|
|
2017
|
+
},
|
|
2018
|
+
"teamId": {
|
|
2019
|
+
"type": "string",
|
|
2020
|
+
"description": "App will be installed in which team."
|
|
2021
|
+
},
|
|
2022
|
+
"channelId": {
|
|
2023
|
+
"type": "string",
|
|
2024
|
+
"description": "App will be installed in which channel."
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
},
|
|
2030
|
+
"typeSpecCompile": {
|
|
2031
|
+
"type": "object",
|
|
2032
|
+
"additionalProperties": false,
|
|
2033
|
+
"description": "Compile TypeSpec project.",
|
|
2034
|
+
"required": ["uses", "with"],
|
|
2035
|
+
"properties": {
|
|
2036
|
+
"uses": {
|
|
2037
|
+
"type": "string",
|
|
2038
|
+
"description": "Compile TypeSpec project and generate files. Refer to https://aka.ms/teamsfx-actions/typeSpec-compile for more details.",
|
|
2039
|
+
"const": "typeSpec/compile"
|
|
2040
|
+
},
|
|
2041
|
+
"with": {
|
|
2042
|
+
"type": "object",
|
|
2043
|
+
"additionalProperties": false,
|
|
2044
|
+
"description": "Parameters for this action",
|
|
2045
|
+
"required": ["path", "manifestPath", "outputDir", "typeSpecConfigPath"],
|
|
2046
|
+
"properties": {
|
|
2047
|
+
"path": {
|
|
2048
|
+
"type": "string",
|
|
2049
|
+
"description": "Path to main file of TypeSpec project."
|
|
2050
|
+
},
|
|
2051
|
+
"manifestPath": {
|
|
2052
|
+
"type": "string",
|
|
2053
|
+
"description": "Path to app manifest file."
|
|
2054
|
+
},
|
|
2055
|
+
"outputDir": {
|
|
2056
|
+
"type": "string",
|
|
2057
|
+
"description": "Path to output directory."
|
|
2058
|
+
},
|
|
2059
|
+
"typeSpecConfigPath": {
|
|
2060
|
+
"type": "string",
|
|
2061
|
+
"description": "Path to TypeSpec config file."
|
|
2062
|
+
}
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
}
|
|
2068
|
+
}
|