@mittwald/api-client 0.0.0-development-076c388-20250804 → 0.0.0-development-395ee17-20250821
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/dist/esm/generated/v2/client-react.js +24 -22
- package/dist/esm/generated/v2/client.js +70 -68
- package/dist/esm/generated/v2/descriptors.js +214 -208
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +322 -280
- package/dist/types/generated/v2/client.d.ts +1630 -1457
- package/dist/types/generated/v2/descriptors.d.ts +75 -73
- package/dist/types/generated/v2/types.d.ts +5893 -5761
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -220,11 +220,17 @@ export const backupDeleteProjectBackup = {
|
|
|
220
220
|
method: "DELETE",
|
|
221
221
|
operationId: "backup-delete-project-backup",
|
|
222
222
|
};
|
|
223
|
-
/**
|
|
224
|
-
export const
|
|
225
|
-
path: "/v2/project-backups/{projectBackupId}
|
|
223
|
+
/** Get table of contents for a Project Backup. */
|
|
224
|
+
export const backupGetProjectBackupToc = {
|
|
225
|
+
path: "/v2/project-backups/toc/{projectId}/{projectBackupId}",
|
|
226
|
+
method: "GET",
|
|
227
|
+
operationId: "backup-get-project-backup-toc",
|
|
228
|
+
};
|
|
229
|
+
/** Restore a ProjectBackup's path. */
|
|
230
|
+
export const backupRequestProjectBackupRestorePath = {
|
|
231
|
+
path: "/v2/project-backups/{projectBackupId}/restore-path",
|
|
226
232
|
method: "POST",
|
|
227
|
-
operationId: "backup-request-project-backup-restore-
|
|
233
|
+
operationId: "backup-request-project-backup-restore-path",
|
|
228
234
|
};
|
|
229
235
|
/** Change the description of a ProjectBackup. */
|
|
230
236
|
export const backupUpdateProjectBackupDescription = {
|
|
@@ -478,12 +484,6 @@ export const contributorGetLoginLink = {
|
|
|
478
484
|
method: "GET",
|
|
479
485
|
operationId: "contributor-get-login-link",
|
|
480
486
|
};
|
|
481
|
-
/** List ContractPartners of the contributor. */
|
|
482
|
-
export const contributorListContractPartnersOfContributor = {
|
|
483
|
-
path: "/v2/contributors/{contributorId}/contract-partners",
|
|
484
|
-
method: "GET",
|
|
485
|
-
operationId: "contributor-list-contract-partners-of-contributor",
|
|
486
|
-
};
|
|
487
487
|
/** List incoming Invoices of a Contributor. */
|
|
488
488
|
export const contributorListIncomingInvoices = {
|
|
489
489
|
path: "/v2/contributors/{contributorId}/invoices/incoming",
|
|
@@ -502,12 +502,6 @@ export const contributorReceiptGetFileAccessToken = {
|
|
|
502
502
|
method: "GET",
|
|
503
503
|
operationId: "contributor-receipt-get-file-access-token",
|
|
504
504
|
};
|
|
505
|
-
/** Rotate the secret for an extension instance. */
|
|
506
|
-
export const contributorRotateSecretForExtensionInstance = {
|
|
507
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/secret",
|
|
508
|
-
method: "PUT",
|
|
509
|
-
operationId: "contributor-rotate-secret-for-extension-instance",
|
|
510
|
-
};
|
|
511
505
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
512
506
|
export const conversationListConversations = {
|
|
513
507
|
path: "/v2/conversations",
|
|
@@ -1156,108 +1150,12 @@ export const extensionCancelExtensionTermination = {
|
|
|
1156
1150
|
method: "DELETE",
|
|
1157
1151
|
operationId: "extension-cancel-extension-termination",
|
|
1158
1152
|
};
|
|
1159
|
-
/** Change the context of an Extension. */
|
|
1160
|
-
export const extensionChangeContext = {
|
|
1161
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/context",
|
|
1162
|
-
method: "PUT",
|
|
1163
|
-
operationId: "extension-change-context",
|
|
1164
|
-
};
|
|
1165
|
-
/** Consent to extension scopes. */
|
|
1166
|
-
export const extensionConsentToExtensionScopes = {
|
|
1167
|
-
path: "/v2/extension-instances/{extensionInstanceId}/scopes",
|
|
1168
|
-
method: "PATCH",
|
|
1169
|
-
operationId: "extension-consent-to-extension-scopes",
|
|
1170
|
-
};
|
|
1171
1153
|
/** Create the OnboardingProcess of a Contributor. */
|
|
1172
1154
|
export const extensionCreateContributorOnboardingProcess = {
|
|
1173
1155
|
path: "/v2/contributors/{contributorId}/onboarding-process",
|
|
1174
1156
|
method: "POST",
|
|
1175
1157
|
operationId: "extension-create-contributor-onboarding-process",
|
|
1176
1158
|
};
|
|
1177
|
-
/** List ExtensionInstances. */
|
|
1178
|
-
export const extensionListExtensionInstances = {
|
|
1179
|
-
path: "/v2/extension-instances",
|
|
1180
|
-
method: "GET",
|
|
1181
|
-
operationId: "extension-list-extension-instances",
|
|
1182
|
-
};
|
|
1183
|
-
/** Create an ExtensionInstance. */
|
|
1184
|
-
export const extensionCreateExtensionInstance = {
|
|
1185
|
-
path: "/v2/extension-instances",
|
|
1186
|
-
method: "POST",
|
|
1187
|
-
operationId: "extension-create-extension-instance",
|
|
1188
|
-
};
|
|
1189
|
-
/** Create an access token retrieval key for an extension instance. */
|
|
1190
|
-
export const extensionCreateRetrievalKey = {
|
|
1191
|
-
path: "/v2/extension-instances/{extensionInstanceId}/actions/create-access-token-retrieval-key",
|
|
1192
|
-
method: "POST",
|
|
1193
|
-
operationId: "extension-create-retrieval-key",
|
|
1194
|
-
};
|
|
1195
|
-
/** Get an ExtensionInstance. */
|
|
1196
|
-
export const extensionGetExtensionInstance = {
|
|
1197
|
-
path: "/v2/extension-instances/{extensionInstanceId}",
|
|
1198
|
-
method: "GET",
|
|
1199
|
-
operationId: "extension-get-extension-instance",
|
|
1200
|
-
};
|
|
1201
|
-
/** Delete a free ExtensionInstance. If the Extension is chargable the contract must be terminated instead. */
|
|
1202
|
-
export const extensionDeleteExtensionInstance = {
|
|
1203
|
-
path: "/v2/extension-instances/{extensionInstanceId}",
|
|
1204
|
-
method: "DELETE",
|
|
1205
|
-
operationId: "extension-delete-extension-instance",
|
|
1206
|
-
};
|
|
1207
|
-
/** Get Extension of own contributor. */
|
|
1208
|
-
export const extensionGetOwnExtension = {
|
|
1209
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}",
|
|
1210
|
-
method: "GET",
|
|
1211
|
-
operationId: "extension-get-own-extension",
|
|
1212
|
-
};
|
|
1213
|
-
/** Delete an extension. */
|
|
1214
|
-
export const extensionDeleteExtension = {
|
|
1215
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}",
|
|
1216
|
-
method: "DELETE",
|
|
1217
|
-
operationId: "extension-delete-extension",
|
|
1218
|
-
};
|
|
1219
|
-
/** Patch Extension. */
|
|
1220
|
-
export const extensionPatchExtension = {
|
|
1221
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}",
|
|
1222
|
-
method: "PATCH",
|
|
1223
|
-
operationId: "extension-patch-extension",
|
|
1224
|
-
};
|
|
1225
|
-
/** Disable an ExtensionInstance. */
|
|
1226
|
-
export const extensionDisableExtensionInstance = {
|
|
1227
|
-
path: "/v2/extension-instances/{extensionInstanceId}/actions/disable",
|
|
1228
|
-
method: "POST",
|
|
1229
|
-
operationId: "extension-disable-extension-instance",
|
|
1230
|
-
};
|
|
1231
|
-
/** Dry run a webhook with random or given values. */
|
|
1232
|
-
export const extensionDryRunWebhook = {
|
|
1233
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/actions/dry-run/{webhookKind}",
|
|
1234
|
-
method: "POST",
|
|
1235
|
-
operationId: "extension-dry-run-webhook",
|
|
1236
|
-
};
|
|
1237
|
-
/** Enable an ExtensionInstance. */
|
|
1238
|
-
export const extensionEnableExtensionInstance = {
|
|
1239
|
-
path: "/v2/extension-instances/{extensionInstanceId}/actions/enable",
|
|
1240
|
-
method: "POST",
|
|
1241
|
-
operationId: "extension-enable-extension-instance",
|
|
1242
|
-
};
|
|
1243
|
-
/** Generate an Extension secret for the given Extension. */
|
|
1244
|
-
export const extensionGenerateExtensionSecret = {
|
|
1245
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/secret",
|
|
1246
|
-
method: "POST",
|
|
1247
|
-
operationId: "extension-generate-extension-secret",
|
|
1248
|
-
};
|
|
1249
|
-
/** Generate a session token to transmit it to the extensions frontend fragment. */
|
|
1250
|
-
export const extensionGenerateSessionToken = {
|
|
1251
|
-
path: "/v2/extension-instances/{extensionInstanceId}/sessions/{sessionId}",
|
|
1252
|
-
method: "POST",
|
|
1253
|
-
operationId: "extension-generate-session-token",
|
|
1254
|
-
};
|
|
1255
|
-
/** Get a Contributor. */
|
|
1256
|
-
export const extensionGetContributor = {
|
|
1257
|
-
path: "/v2/contributors/{contributorId}",
|
|
1258
|
-
method: "GET",
|
|
1259
|
-
operationId: "extension-get-contributor",
|
|
1260
|
-
};
|
|
1261
1159
|
/** Get all open extension orders for given customer */
|
|
1262
1160
|
export const extensionGetCustomerExtensionInstanceOrders = {
|
|
1263
1161
|
path: "/v2/customers/{customerId}/extension-orders",
|
|
@@ -1276,114 +1174,18 @@ export const extensionUpdateExtensionInstanceContract = {
|
|
|
1276
1174
|
method: "PUT",
|
|
1277
1175
|
operationId: "extension-update-extension-instance-contract",
|
|
1278
1176
|
};
|
|
1279
|
-
/** Get the ExtensionInstance of a specific customer and extension, if existing. */
|
|
1280
|
-
export const extensionGetExtensionInstanceForCustomer = {
|
|
1281
|
-
path: "/v2/customers/{customerId}/extensions/{extensionId}",
|
|
1282
|
-
method: "GET",
|
|
1283
|
-
operationId: "extension-get-extension-instance-for-customer",
|
|
1284
|
-
};
|
|
1285
|
-
/** Get the ExtensionInstance of a specific project and extension, if existing. */
|
|
1286
|
-
export const extensionGetExtensionInstanceForProject = {
|
|
1287
|
-
path: "/v2/projects/{projectId}/extensions/{extensionId}",
|
|
1288
|
-
method: "GET",
|
|
1289
|
-
operationId: "extension-get-extension-instance-for-project",
|
|
1290
|
-
};
|
|
1291
|
-
/** Get an Extension. */
|
|
1292
|
-
export const extensionGetExtension = {
|
|
1293
|
-
path: "/v2/extensions/{extensionId}",
|
|
1294
|
-
method: "GET",
|
|
1295
|
-
operationId: "extension-get-extension",
|
|
1296
|
-
};
|
|
1297
1177
|
/** Get all open extension orders for given project */
|
|
1298
1178
|
export const extensionGetProjectExtensionInstanceOrders = {
|
|
1299
1179
|
path: "/v2/projects/{projectId}/extension-orders",
|
|
1300
1180
|
method: "GET",
|
|
1301
1181
|
operationId: "extension-get-project-extension-instance-orders",
|
|
1302
1182
|
};
|
|
1303
|
-
/** Get the public key to verify the webhook signature. */
|
|
1304
|
-
export const extensionGetPublicKey = {
|
|
1305
|
-
path: "/v2/public-keys/{serial}",
|
|
1306
|
-
method: "GET",
|
|
1307
|
-
operationId: "extension-get-public-key",
|
|
1308
|
-
};
|
|
1309
|
-
/** Invalidate the given Extension secret immediately. */
|
|
1310
|
-
export const extensionInvalidateExtensionSecret = {
|
|
1311
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/secret/{extensionSecretId}",
|
|
1312
|
-
method: "DELETE",
|
|
1313
|
-
operationId: "extension-invalidate-extension-secret",
|
|
1314
|
-
};
|
|
1315
|
-
/** List Contributors. */
|
|
1316
|
-
export const extensionListContributors = {
|
|
1317
|
-
path: "/v2/contributors",
|
|
1318
|
-
method: "GET",
|
|
1319
|
-
operationId: "extension-list-contributors",
|
|
1320
|
-
};
|
|
1321
|
-
/** List Extensions. */
|
|
1322
|
-
export const extensionListExtensions = {
|
|
1323
|
-
path: "/v2/extensions",
|
|
1324
|
-
method: "GET",
|
|
1325
|
-
operationId: "extension-list-extensions",
|
|
1326
|
-
};
|
|
1327
|
-
/** List Extensions of own contributor. */
|
|
1328
|
-
export const extensionListOwnExtensions = {
|
|
1329
|
-
path: "/v2/contributors/{contributorId}/extensions",
|
|
1330
|
-
method: "GET",
|
|
1331
|
-
operationId: "extension-list-own-extensions",
|
|
1332
|
-
};
|
|
1333
|
-
/** Register an Extension. */
|
|
1334
|
-
export const extensionRegisterExtension = {
|
|
1335
|
-
path: "/v2/contributors/{contributorId}/extensions",
|
|
1336
|
-
method: "POST",
|
|
1337
|
-
operationId: "extension-register-extension",
|
|
1338
|
-
};
|
|
1339
|
-
/** List Scopes. */
|
|
1340
|
-
export const extensionListScopes = {
|
|
1341
|
-
path: "/v2/scopes",
|
|
1342
|
-
method: "GET",
|
|
1343
|
-
operationId: "extension-list-scopes",
|
|
1344
|
-
};
|
|
1345
1183
|
/** Order Extension with saved payment method */
|
|
1346
1184
|
export const extensionOrderExtension = {
|
|
1347
1185
|
path: "/v2/extensions/{extensionId}/order",
|
|
1348
1186
|
method: "POST",
|
|
1349
1187
|
operationId: "extension-order-extension",
|
|
1350
1188
|
};
|
|
1351
|
-
/** Remove an asset of an extension. */
|
|
1352
|
-
export const extensionRemoveAsset = {
|
|
1353
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/assets/{assetRefId}",
|
|
1354
|
-
method: "DELETE",
|
|
1355
|
-
operationId: "extension-remove-asset",
|
|
1356
|
-
};
|
|
1357
|
-
/** Add a logo to an extension. */
|
|
1358
|
-
export const extensionRequestLogoUpload = {
|
|
1359
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/logo",
|
|
1360
|
-
method: "POST",
|
|
1361
|
-
operationId: "extension-request-logo-upload",
|
|
1362
|
-
};
|
|
1363
|
-
/** Remove the logo of an extension. */
|
|
1364
|
-
export const extensionRemoveLogo = {
|
|
1365
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/logo",
|
|
1366
|
-
method: "DELETE",
|
|
1367
|
-
operationId: "extension-remove-logo",
|
|
1368
|
-
};
|
|
1369
|
-
/** Add an asset to an extension. */
|
|
1370
|
-
export const extensionRequestAssetUpload = {
|
|
1371
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/assets",
|
|
1372
|
-
method: "POST",
|
|
1373
|
-
operationId: "extension-request-asset-upload",
|
|
1374
|
-
};
|
|
1375
|
-
/** Start the verification process of an Extension. */
|
|
1376
|
-
export const extensionRequestExtensionVerification = {
|
|
1377
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/verification-process",
|
|
1378
|
-
method: "POST",
|
|
1379
|
-
operationId: "extension-request-extension-verification",
|
|
1380
|
-
};
|
|
1381
|
-
/** Publish or withdraw an Extension. */
|
|
1382
|
-
export const extensionSetExtensionPublishedState = {
|
|
1383
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/published",
|
|
1384
|
-
method: "PUT",
|
|
1385
|
-
operationId: "extension-set-extension-published-state",
|
|
1386
|
-
};
|
|
1387
1189
|
/** Creates or Updates Pricing for an Extension. */
|
|
1388
1190
|
export const extensionUpdateExtensionPricing = {
|
|
1389
1191
|
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/pricing",
|
|
@@ -2524,3 +2326,207 @@ export const verificationVerifyCompany = {
|
|
|
2524
2326
|
method: "POST",
|
|
2525
2327
|
operationId: "verification-verify-company",
|
|
2526
2328
|
};
|
|
2329
|
+
/** Start the verification process of an Extension. */
|
|
2330
|
+
export const extensionRequestExtensionVerification = {
|
|
2331
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/verification-process",
|
|
2332
|
+
method: "POST",
|
|
2333
|
+
operationId: "extension-request-extension-verification",
|
|
2334
|
+
};
|
|
2335
|
+
/** Get the public key to verify the webhook signature. */
|
|
2336
|
+
export const extensionGetPublicKey = {
|
|
2337
|
+
path: "/v2/public-keys/{serial}",
|
|
2338
|
+
method: "GET",
|
|
2339
|
+
operationId: "extension-get-public-key",
|
|
2340
|
+
};
|
|
2341
|
+
/** List ContractPartners of the contributor. */
|
|
2342
|
+
export const contributorListContractPartnersOfContributor = {
|
|
2343
|
+
path: "/v2/contributors/{contributorId}/contract-partners",
|
|
2344
|
+
method: "GET",
|
|
2345
|
+
operationId: "contributor-list-contract-partners-of-contributor",
|
|
2346
|
+
};
|
|
2347
|
+
/** Get an Extension. */
|
|
2348
|
+
export const extensionGetExtension = {
|
|
2349
|
+
path: "/v2/extensions/{extensionId}",
|
|
2350
|
+
method: "GET",
|
|
2351
|
+
operationId: "extension-get-extension",
|
|
2352
|
+
};
|
|
2353
|
+
/** Invalidate the given Extension secret immediately. */
|
|
2354
|
+
export const extensionInvalidateExtensionSecret = {
|
|
2355
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/secret/{extensionSecretId}",
|
|
2356
|
+
method: "DELETE",
|
|
2357
|
+
operationId: "extension-invalidate-extension-secret",
|
|
2358
|
+
};
|
|
2359
|
+
/** Consent to extension scopes. */
|
|
2360
|
+
export const extensionConsentToExtensionScopes = {
|
|
2361
|
+
path: "/v2/extension-instances/{extensionInstanceId}/scopes",
|
|
2362
|
+
method: "PATCH",
|
|
2363
|
+
operationId: "extension-consent-to-extension-scopes",
|
|
2364
|
+
};
|
|
2365
|
+
/** Get Extension of own contributor. */
|
|
2366
|
+
export const extensionGetOwnExtension = {
|
|
2367
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}",
|
|
2368
|
+
method: "GET",
|
|
2369
|
+
operationId: "extension-get-own-extension",
|
|
2370
|
+
};
|
|
2371
|
+
/** Delete an extension. */
|
|
2372
|
+
export const extensionDeleteExtension = {
|
|
2373
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}",
|
|
2374
|
+
method: "DELETE",
|
|
2375
|
+
operationId: "extension-delete-extension",
|
|
2376
|
+
};
|
|
2377
|
+
/** Patch Extension. */
|
|
2378
|
+
export const extensionPatchExtension = {
|
|
2379
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}",
|
|
2380
|
+
method: "PATCH",
|
|
2381
|
+
operationId: "extension-patch-extension",
|
|
2382
|
+
};
|
|
2383
|
+
/** Add a logo to an extension. */
|
|
2384
|
+
export const extensionRequestLogoUpload = {
|
|
2385
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/logo",
|
|
2386
|
+
method: "POST",
|
|
2387
|
+
operationId: "extension-request-logo-upload",
|
|
2388
|
+
};
|
|
2389
|
+
/** Remove the logo of an extension. */
|
|
2390
|
+
export const extensionRemoveLogo = {
|
|
2391
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/logo",
|
|
2392
|
+
method: "DELETE",
|
|
2393
|
+
operationId: "extension-remove-logo",
|
|
2394
|
+
};
|
|
2395
|
+
/** Generate a session token to transmit it to the extensions frontend fragment. */
|
|
2396
|
+
export const extensionGenerateSessionToken = {
|
|
2397
|
+
path: "/v2/extension-instances/{extensionInstanceId}/sessions/{sessionId}",
|
|
2398
|
+
method: "POST",
|
|
2399
|
+
operationId: "extension-generate-session-token",
|
|
2400
|
+
};
|
|
2401
|
+
/** Change the context of an Extension. */
|
|
2402
|
+
export const extensionChangeContext = {
|
|
2403
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/context",
|
|
2404
|
+
method: "PUT",
|
|
2405
|
+
operationId: "extension-change-context",
|
|
2406
|
+
};
|
|
2407
|
+
/** Disable an ExtensionInstance. */
|
|
2408
|
+
export const extensionDisableExtensionInstance = {
|
|
2409
|
+
path: "/v2/extension-instances/{extensionInstanceId}/actions/disable",
|
|
2410
|
+
method: "POST",
|
|
2411
|
+
operationId: "extension-disable-extension-instance",
|
|
2412
|
+
};
|
|
2413
|
+
/** Get an ExtensionInstance. */
|
|
2414
|
+
export const extensionGetExtensionInstance = {
|
|
2415
|
+
path: "/v2/extension-instances/{extensionInstanceId}",
|
|
2416
|
+
method: "GET",
|
|
2417
|
+
operationId: "extension-get-extension-instance",
|
|
2418
|
+
};
|
|
2419
|
+
/** Delete a free ExtensionInstance. If the Extension is chargable the contract must be terminated instead. */
|
|
2420
|
+
export const extensionDeleteExtensionInstance = {
|
|
2421
|
+
path: "/v2/extension-instances/{extensionInstanceId}",
|
|
2422
|
+
method: "DELETE",
|
|
2423
|
+
operationId: "extension-delete-extension-instance",
|
|
2424
|
+
};
|
|
2425
|
+
/** Get a Contributor. */
|
|
2426
|
+
export const extensionGetContributor = {
|
|
2427
|
+
path: "/v2/contributors/{contributorId}",
|
|
2428
|
+
method: "GET",
|
|
2429
|
+
operationId: "extension-get-contributor",
|
|
2430
|
+
};
|
|
2431
|
+
/** Get the ExtensionInstance of a specific project and extension, if existing. */
|
|
2432
|
+
export const extensionGetExtensionInstanceForProject = {
|
|
2433
|
+
path: "/v2/projects/{projectId}/extensions/{extensionId}",
|
|
2434
|
+
method: "GET",
|
|
2435
|
+
operationId: "extension-get-extension-instance-for-project",
|
|
2436
|
+
};
|
|
2437
|
+
/** Remove an asset of an extension. */
|
|
2438
|
+
export const extensionRemoveAsset = {
|
|
2439
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/assets/{assetRefId}",
|
|
2440
|
+
method: "DELETE",
|
|
2441
|
+
operationId: "extension-remove-asset",
|
|
2442
|
+
};
|
|
2443
|
+
/** List Extensions of own contributor. */
|
|
2444
|
+
export const extensionListOwnExtensions = {
|
|
2445
|
+
path: "/v2/contributors/{contributorId}/extensions",
|
|
2446
|
+
method: "GET",
|
|
2447
|
+
operationId: "extension-list-own-extensions",
|
|
2448
|
+
};
|
|
2449
|
+
/** Register an Extension. */
|
|
2450
|
+
export const extensionRegisterExtension = {
|
|
2451
|
+
path: "/v2/contributors/{contributorId}/extensions",
|
|
2452
|
+
method: "POST",
|
|
2453
|
+
operationId: "extension-register-extension",
|
|
2454
|
+
};
|
|
2455
|
+
/** Enable an ExtensionInstance. */
|
|
2456
|
+
export const extensionEnableExtensionInstance = {
|
|
2457
|
+
path: "/v2/extension-instances/{extensionInstanceId}/actions/enable",
|
|
2458
|
+
method: "POST",
|
|
2459
|
+
operationId: "extension-enable-extension-instance",
|
|
2460
|
+
};
|
|
2461
|
+
/** Publish or withdraw an Extension. */
|
|
2462
|
+
export const extensionSetExtensionPublishedState = {
|
|
2463
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/published",
|
|
2464
|
+
method: "PUT",
|
|
2465
|
+
operationId: "extension-set-extension-published-state",
|
|
2466
|
+
};
|
|
2467
|
+
/** Get the ExtensionInstance of a specific customer and extension, if existing. */
|
|
2468
|
+
export const extensionGetExtensionInstanceForCustomer = {
|
|
2469
|
+
path: "/v2/customers/{customerId}/extensions/{extensionId}",
|
|
2470
|
+
method: "GET",
|
|
2471
|
+
operationId: "extension-get-extension-instance-for-customer",
|
|
2472
|
+
};
|
|
2473
|
+
/** List Contributors. */
|
|
2474
|
+
export const extensionListContributors = {
|
|
2475
|
+
path: "/v2/contributors",
|
|
2476
|
+
method: "GET",
|
|
2477
|
+
operationId: "extension-list-contributors",
|
|
2478
|
+
};
|
|
2479
|
+
/** Rotate the secret for an extension instance. */
|
|
2480
|
+
export const contributorRotateSecretForExtensionInstance = {
|
|
2481
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/secret",
|
|
2482
|
+
method: "PUT",
|
|
2483
|
+
operationId: "contributor-rotate-secret-for-extension-instance",
|
|
2484
|
+
};
|
|
2485
|
+
/** Add an asset to an extension. */
|
|
2486
|
+
export const extensionRequestAssetUpload = {
|
|
2487
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/assets",
|
|
2488
|
+
method: "POST",
|
|
2489
|
+
operationId: "extension-request-asset-upload",
|
|
2490
|
+
};
|
|
2491
|
+
/** List Scopes. */
|
|
2492
|
+
export const extensionListScopes = {
|
|
2493
|
+
path: "/v2/scopes",
|
|
2494
|
+
method: "GET",
|
|
2495
|
+
operationId: "extension-list-scopes",
|
|
2496
|
+
};
|
|
2497
|
+
/** Create an access token retrieval key for an extension instance. */
|
|
2498
|
+
export const extensionCreateRetrievalKey = {
|
|
2499
|
+
path: "/v2/extension-instances/{extensionInstanceId}/actions/create-access-token-retrieval-key",
|
|
2500
|
+
method: "POST",
|
|
2501
|
+
operationId: "extension-create-retrieval-key",
|
|
2502
|
+
};
|
|
2503
|
+
/** Generate an Extension secret for the given Extension. */
|
|
2504
|
+
export const extensionGenerateExtensionSecret = {
|
|
2505
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/secret",
|
|
2506
|
+
method: "POST",
|
|
2507
|
+
operationId: "extension-generate-extension-secret",
|
|
2508
|
+
};
|
|
2509
|
+
/** Dry run a webhook with random or given values. */
|
|
2510
|
+
export const extensionDryRunWebhook = {
|
|
2511
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/actions/dry-run/{webhookKind}",
|
|
2512
|
+
method: "POST",
|
|
2513
|
+
operationId: "extension-dry-run-webhook",
|
|
2514
|
+
};
|
|
2515
|
+
/** List ExtensionInstances. */
|
|
2516
|
+
export const extensionListExtensionInstances = {
|
|
2517
|
+
path: "/v2/extension-instances",
|
|
2518
|
+
method: "GET",
|
|
2519
|
+
operationId: "extension-list-extension-instances",
|
|
2520
|
+
};
|
|
2521
|
+
/** Create an ExtensionInstance. */
|
|
2522
|
+
export const extensionCreateExtensionInstance = {
|
|
2523
|
+
path: "/v2/extension-instances",
|
|
2524
|
+
method: "POST",
|
|
2525
|
+
operationId: "extension-create-extension-instance",
|
|
2526
|
+
};
|
|
2527
|
+
/** List Extensions. */
|
|
2528
|
+
export const extensionListExtensions = {
|
|
2529
|
+
path: "/v2/extensions",
|
|
2530
|
+
method: "GET",
|
|
2531
|
+
operationId: "extension-list-extensions",
|
|
2532
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.202.0';
|