@mittwald/api-client 4.144.0 → 4.146.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/dist/esm/generated/v2/client-react.js +2 -4
- package/dist/esm/generated/v2/client.js +2 -4
- package/dist/esm/generated/v2/descriptors.js +6 -12
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +21 -36
- package/dist/types/generated/v2/client.d.ts +98 -253
- package/dist/types/generated/v2/descriptors.d.ts +10 -12
- package/dist/types/generated/v2/types.d.ts +59 -158
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -150,10 +150,6 @@ const buildCustomerApi = (baseClient) => ({
|
|
|
150
150
|
getCustomer: new ApiCallAsyncResourceFactory(descriptors.customerGetCustomer, baseClient.customer.getCustomer).getApiResource,
|
|
151
151
|
/** Get a CustomerInvite by token. */
|
|
152
152
|
getCustomerTokenInvite: new ApiCallAsyncResourceFactory(descriptors.customerGetCustomerTokenInvite, baseClient.customer.getCustomerTokenInvite).getApiResource,
|
|
153
|
-
/** Get your LeadFyndr request. */
|
|
154
|
-
getLeadFyndrProfileRequest: new ApiCallAsyncResourceFactory(descriptors.customerGetLeadFyndrProfileRequest, baseClient.customer.getLeadFyndrProfileRequest).getApiResource,
|
|
155
|
-
/** Get your LeadFyndr profile. */
|
|
156
|
-
getLeadFyndrProfile: new ApiCallAsyncResourceFactory(descriptors.customerGetLeadFyndrProfile, baseClient.customer.getLeadFyndrProfile).getApiResource,
|
|
157
153
|
/** Check if the customer profile has a valid contract partner configured. */
|
|
158
154
|
isCustomerLegallyCompetent: new ApiCallAsyncResourceFactory(descriptors.customerIsCustomerLegallyCompetent, baseClient.customer.isCustomerLegallyCompetent).getApiResource,
|
|
159
155
|
/** List CustomerInvites belonging to the executing user. */
|
|
@@ -238,6 +234,8 @@ const buildMarketplaceApi = (baseClient) => ({
|
|
|
238
234
|
extensionListExtensions: new ApiCallAsyncResourceFactory(descriptors.extensionListExtensions, baseClient.marketplace.extensionListExtensions).getApiResource,
|
|
239
235
|
/** List Extensions of own contributor. */
|
|
240
236
|
extensionListOwnExtensions: new ApiCallAsyncResourceFactory(descriptors.extensionListOwnExtensions, baseClient.marketplace.extensionListOwnExtensions).getApiResource,
|
|
237
|
+
/** List Scopes. */
|
|
238
|
+
extensionListScopes: new ApiCallAsyncResourceFactory(descriptors.extensionListScopes, baseClient.marketplace.extensionListScopes).getApiResource,
|
|
241
239
|
});
|
|
242
240
|
const buildFileApi = (baseClient) => ({
|
|
243
241
|
/** Get a File's meta. */
|
|
@@ -253,6 +253,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
253
253
|
extensionListOwnExtensions: this.requestFunctionFactory(descriptors.extensionListOwnExtensions),
|
|
254
254
|
/** Register an Extension. */
|
|
255
255
|
extensionRegisterExtension: this.requestFunctionFactory(descriptors.extensionRegisterExtension),
|
|
256
|
+
/** List Scopes. */
|
|
257
|
+
extensionListScopes: this.requestFunctionFactory(descriptors.extensionListScopes),
|
|
256
258
|
/** Remove an asset of an extension. */
|
|
257
259
|
extensionRemoveAsset: this.requestFunctionFactory(descriptors.extensionRemoveAsset),
|
|
258
260
|
/** Add a logo to an extension. */
|
|
@@ -358,10 +360,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
358
360
|
deleteCustomer: this.requestFunctionFactory(descriptors.customerDeleteCustomer),
|
|
359
361
|
/** Get a CustomerInvite by token. */
|
|
360
362
|
getCustomerTokenInvite: this.requestFunctionFactory(descriptors.customerGetCustomerTokenInvite),
|
|
361
|
-
/** Get your LeadFyndr request. */
|
|
362
|
-
getLeadFyndrProfileRequest: this.requestFunctionFactory(descriptors.customerGetLeadFyndrProfileRequest),
|
|
363
|
-
/** Get your LeadFyndr profile. */
|
|
364
|
-
getLeadFyndrProfile: this.requestFunctionFactory(descriptors.customerGetLeadFyndrProfile),
|
|
365
363
|
/** Check if the customer profile has a valid contract partner configured. */
|
|
366
364
|
isCustomerLegallyCompetent: this.requestFunctionFactory(descriptors.customerIsCustomerLegallyCompetent),
|
|
367
365
|
/** List CustomerInvites belonging to the executing user. */
|
|
@@ -706,18 +706,6 @@ export const customerGetCustomerTokenInvite = {
|
|
|
706
706
|
method: "GET",
|
|
707
707
|
operationId: "customer-get-customer-token-invite",
|
|
708
708
|
};
|
|
709
|
-
/** Get your LeadFyndr request. */
|
|
710
|
-
export const customerGetLeadFyndrProfileRequest = {
|
|
711
|
-
path: "/v2/customers/{customerId}/lead-fyndr-profile-request",
|
|
712
|
-
method: "GET",
|
|
713
|
-
operationId: "customer-get-lead-fyndr-profile-request",
|
|
714
|
-
};
|
|
715
|
-
/** Get your LeadFyndr profile. */
|
|
716
|
-
export const customerGetLeadFyndrProfile = {
|
|
717
|
-
path: "/v2/customers/{customerId}/lead-fyndr-profile",
|
|
718
|
-
method: "GET",
|
|
719
|
-
operationId: "customer-get-lead-fyndr-profile",
|
|
720
|
-
};
|
|
721
709
|
/** Check if the customer profile has a valid contract partner configured. */
|
|
722
710
|
export const customerIsCustomerLegallyCompetent = {
|
|
723
711
|
path: "/v2/customers/{customerId}/legally-competent",
|
|
@@ -1252,6 +1240,12 @@ export const extensionRegisterExtension = {
|
|
|
1252
1240
|
method: "POST",
|
|
1253
1241
|
operationId: "extension-register-extension",
|
|
1254
1242
|
};
|
|
1243
|
+
/** List Scopes. */
|
|
1244
|
+
export const extensionListScopes = {
|
|
1245
|
+
path: "/v2/scopes",
|
|
1246
|
+
method: "GET",
|
|
1247
|
+
operationId: "extension-list-scopes",
|
|
1248
|
+
};
|
|
1255
1249
|
/** Remove an asset of an extension. */
|
|
1256
1250
|
export const extensionRemoveAsset = {
|
|
1257
1251
|
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/assets/{assetRefId}",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.145.0';
|
|
@@ -1114,33 +1114,6 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1114
1114
|
message?: string | undefined;
|
|
1115
1115
|
role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
|
|
1116
1116
|
}>;
|
|
1117
|
-
/** Get your LeadFyndr request. */
|
|
1118
|
-
getLeadFyndrProfileRequest: (conf: {
|
|
1119
|
-
customerId: string;
|
|
1120
|
-
headers?: {
|
|
1121
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1122
|
-
} | undefined;
|
|
1123
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1124
|
-
createdOn: string;
|
|
1125
|
-
customerId: string;
|
|
1126
|
-
domain: string;
|
|
1127
|
-
profileId: string;
|
|
1128
|
-
requestedBy: import("./types.js").MittwaldAPIV2.Components.Schemas.LeadFinderUser;
|
|
1129
|
-
resultOn?: string | undefined;
|
|
1130
|
-
status: "AUTOTEST_INIT" | "MANUAL_VERIFICATION" | "REJECTED" | "APPROVED";
|
|
1131
|
-
}>;
|
|
1132
|
-
/** Get your LeadFyndr profile. */
|
|
1133
|
-
getLeadFyndrProfile: (conf: {
|
|
1134
|
-
customerId: string;
|
|
1135
|
-
headers?: {
|
|
1136
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1137
|
-
} | undefined;
|
|
1138
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1139
|
-
approvedOn: string;
|
|
1140
|
-
customerId: string;
|
|
1141
|
-
disabledOn?: string | undefined;
|
|
1142
|
-
domain: string;
|
|
1143
|
-
}>;
|
|
1144
1117
|
/** Check if the customer profile has a valid contract partner configured. */
|
|
1145
1118
|
isCustomerLegallyCompetent: (conf: {
|
|
1146
1119
|
customerId: string;
|
|
@@ -1557,20 +1530,23 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1557
1530
|
};
|
|
1558
1531
|
declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1559
1532
|
/** List ExtensionInstances. */
|
|
1560
|
-
extensionListExtensionInstances: (conf
|
|
1561
|
-
|
|
1533
|
+
extensionListExtensionInstances: (conf?: {
|
|
1534
|
+
headers?: {
|
|
1535
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1536
|
+
"x-access-token"?: string | undefined;
|
|
1537
|
+
} | undefined;
|
|
1538
|
+
queryParameters?: {
|
|
1562
1539
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1563
|
-
context
|
|
1564
|
-
contextId
|
|
1540
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
|
|
1541
|
+
contextId?: string | undefined;
|
|
1542
|
+
extensionId?: string | undefined;
|
|
1565
1543
|
limit?: number | undefined;
|
|
1566
1544
|
skip?: number | undefined;
|
|
1567
1545
|
page?: number | undefined;
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1571
|
-
"x-access-token"?: string | undefined;
|
|
1546
|
+
sort?: ("createdAt" | "exensionId")[] | undefined;
|
|
1547
|
+
order?: ("asc" | "desc")[] | undefined;
|
|
1572
1548
|
} | undefined;
|
|
1573
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstance[]>;
|
|
1549
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstance[]>;
|
|
1574
1550
|
/** Get an ExtensionInstance. */
|
|
1575
1551
|
extensionGetExtensionInstance: (conf: {
|
|
1576
1552
|
extensionInstanceId: string;
|
|
@@ -1753,6 +1729,14 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1753
1729
|
page?: number | undefined;
|
|
1754
1730
|
} | undefined;
|
|
1755
1731
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[]>;
|
|
1732
|
+
/** List Scopes. */
|
|
1733
|
+
extensionListScopes: (conf?: {
|
|
1734
|
+
headers?: {
|
|
1735
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1736
|
+
} | undefined;
|
|
1737
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1738
|
+
name: string;
|
|
1739
|
+
}[]>;
|
|
1756
1740
|
};
|
|
1757
1741
|
declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1758
1742
|
/** Get a File's meta. */
|
|
@@ -2456,6 +2440,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2456
2440
|
hasExpiry?: boolean | undefined;
|
|
2457
2441
|
isInherited?: boolean | undefined;
|
|
2458
2442
|
role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
|
|
2443
|
+
hasMfa?: boolean | undefined;
|
|
2459
2444
|
} | undefined;
|
|
2460
2445
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
|
|
2461
2446
|
/** List ProjectInvites belonging to the executing user. */
|