@mittwald/api-client 4.179.0 → 4.180.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.
@@ -114,6 +114,8 @@ const buildMarketplaceApi = (baseClient) => ({
114
114
  contributorGetCustomerBillingPortalLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetCustomerBillingPortalLink, baseClient.marketplace.contributorGetCustomerBillingPortalLink).getApiResource,
115
115
  /** Get the Stripe Dashboard Link for a Contributor. */
116
116
  contributorGetLoginLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetLoginLink, baseClient.marketplace.contributorGetLoginLink).getApiResource,
117
+ /** List ContractPartners of the contributor. */
118
+ contributorListContractPartnersOfContributor: new ApiCallAsyncResourceFactory(descriptors.contributorListContractPartnersOfContributor, baseClient.marketplace.contributorListContractPartnersOfContributor).getApiResource,
117
119
  /** List all invoices on behalf of a contributor. */
118
120
  contributorListOnbehalfInvoices: new ApiCallAsyncResourceFactory(descriptors.contributorListOnbehalfInvoices, baseClient.marketplace.contributorListOnbehalfInvoices).getApiResource,
119
121
  /** List ExtensionInstances. */
@@ -205,6 +205,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
205
205
  contributorGetCustomerBillingPortalLink: this.requestFunctionFactory(descriptors.contributorGetCustomerBillingPortalLink),
206
206
  /** Get the Stripe Dashboard Link for a Contributor. */
207
207
  contributorGetLoginLink: this.requestFunctionFactory(descriptors.contributorGetLoginLink),
208
+ /** List ContractPartners of the contributor. */
209
+ contributorListContractPartnersOfContributor: this.requestFunctionFactory(descriptors.contributorListContractPartnersOfContributor),
208
210
  /** List all invoices on behalf of a contributor. */
209
211
  contributorListOnbehalfInvoices: this.requestFunctionFactory(descriptors.contributorListOnbehalfInvoices),
210
212
  /** Rotate the secret for an extension instance. */
@@ -472,6 +472,12 @@ export const contributorGetLoginLink = {
472
472
  method: "GET",
473
473
  operationId: "contributor-get-login-link",
474
474
  };
475
+ /** List ContractPartners of the contributor. */
476
+ export const contributorListContractPartnersOfContributor = {
477
+ path: "/v2/contributors/{contributorId}/contract-partners",
478
+ method: "GET",
479
+ operationId: "contributor-list-contract-partners-of-contributor",
480
+ };
475
481
  /** List all invoices on behalf of a contributor. */
476
482
  export const contributorListOnbehalfInvoices = {
477
483
  path: "/v2/contributors/{contributorId}/invoices/outgoing",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.178.0';
1
+ export const MittwaldAPIClientVersion = '4.179.0';
@@ -863,6 +863,19 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
863
863
  }) => import("@mittwald/react-use-promise").AsyncResource<{
864
864
  url?: string | undefined;
865
865
  }>;
866
+ /** List ContractPartners of the contributor. */
867
+ contributorListContractPartnersOfContributor: (conf: {
868
+ contributorId: string;
869
+ headers?: {
870
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
871
+ "x-access-token"?: string | undefined;
872
+ } | undefined;
873
+ queryParameters?: {
874
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
875
+ extensionId?: string | undefined;
876
+ extensionInstanceId?: string | undefined;
877
+ } | undefined;
878
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractPartner[]>;
866
879
  /** List all invoices on behalf of a contributor. */
867
880
  contributorListOnbehalfInvoices: (conf: {
868
881
  contributorId: string;
@@ -6227,6 +6227,65 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6227
6227
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6228
6228
  [x: string]: unknown;
6229
6229
  }, 429, "application/json">>>;
6230
+ /** List ContractPartners of the contributor. */
6231
+ contributorListContractPartnersOfContributor: (request: {
6232
+ contributorId: string;
6233
+ headers?: {
6234
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6235
+ "x-access-token"?: string | undefined;
6236
+ } | undefined;
6237
+ queryParameters?: {
6238
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6239
+ extensionId?: string | undefined;
6240
+ extensionInstanceId?: string | undefined;
6241
+ } | undefined;
6242
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
6243
+ headers?: Partial<{
6244
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6245
+ }>;
6246
+ } & {
6247
+ pathParameters: {
6248
+ contributorId: string;
6249
+ };
6250
+ } & {
6251
+ queryParameters: {
6252
+ extensionId?: string | undefined;
6253
+ extensionInstanceId?: string | undefined;
6254
+ } & Partial<{
6255
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6256
+ }>;
6257
+ } & {
6258
+ headers: {
6259
+ "x-access-token"?: string | undefined;
6260
+ } & Partial<{
6261
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6262
+ }>;
6263
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractPartner[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6264
+ [x: string]: unknown;
6265
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6266
+ headers?: Partial<{
6267
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6268
+ }>;
6269
+ } & {
6270
+ pathParameters: {
6271
+ contributorId: string;
6272
+ };
6273
+ } & {
6274
+ queryParameters: {
6275
+ extensionId?: string | undefined;
6276
+ extensionInstanceId?: string | undefined;
6277
+ } & Partial<{
6278
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6279
+ }>;
6280
+ } & {
6281
+ headers: {
6282
+ "x-access-token"?: string | undefined;
6283
+ } & Partial<{
6284
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6285
+ }>;
6286
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractPartner[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6287
+ [x: string]: unknown;
6288
+ }, 429, "application/json">>>;
6230
6289
  /** List all invoices on behalf of a contributor. */
6231
6290
  contributorListOnbehalfInvoices: (request: {
6232
6291
  contributorId: string;
@@ -161,6 +161,8 @@ export declare const contributorUpdateBillingInformation: OpenAPIOperation<Reque
161
161
  export declare const contributorGetCustomerBillingPortalLink: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
162
162
  /** Get the Stripe Dashboard Link for a Contributor. */
163
163
  export declare const contributorGetLoginLink: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
164
+ /** List ContractPartners of the contributor. */
165
+ export declare const contributorListContractPartnersOfContributor: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
164
166
  /** List all invoices on behalf of a contributor. */
165
167
  export declare const contributorListOnbehalfInvoices: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdInvoicesOutgoing.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
166
168
  /** Rotate the secret for an extension instance. */
@@ -318,6 +318,10 @@ export declare namespace MittwaldAPIV2 {
318
318
  type RequestData = InferredRequestData<typeof descriptors.contributorGetLoginLink>;
319
319
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorGetLoginLink, TStatus>;
320
320
  }
321
+ namespace ContributorListContractPartnersOfContributor {
322
+ type RequestData = InferredRequestData<typeof descriptors.contributorListContractPartnersOfContributor>;
323
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorListContractPartnersOfContributor, TStatus>;
324
+ }
321
325
  namespace ContributorListOnbehalfInvoices {
322
326
  type RequestData = InferredRequestData<typeof descriptors.contributorListOnbehalfInvoices>;
323
327
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorListOnbehalfInvoices, TStatus>;
@@ -1661,6 +1665,10 @@ export declare namespace MittwaldAPIV2 {
1661
1665
  uninstallImage: MittwaldAPIV2.Components.Schemas.AppAppJobImage;
1662
1666
  upgradeImage: MittwaldAPIV2.Components.Schemas.AppAppJobImage;
1663
1667
  }
1668
+ /**
1669
+ * LockPurpose describes why a given AppInstallation is locked from deletion.
1670
+ */
1671
+ type AppLockPurpose = "unspecified" | "copy";
1664
1672
  /**
1665
1673
  * AppUpdatePolicy describes which updates should be applied automatically by our systems.
1666
1674
  */
@@ -5039,10 +5047,6 @@ export declare namespace MittwaldAPIV2 {
5039
5047
  name: string;
5040
5048
  value: string;
5041
5049
  }
5042
- /**
5043
- * LockPurpose describes why a given AppInstallation is locked from deletion.
5044
- */
5045
- type AppLockPurpose = "unspecified" | "copy";
5046
5050
  interface CommonsAddress {
5047
5051
  street: string;
5048
5052
  houseNumber: string;
@@ -9297,6 +9301,41 @@ export declare namespace MittwaldAPIV2 {
9297
9301
  }
9298
9302
  }
9299
9303
  }
9304
+ namespace V2ContributorsContributorIdContractPartners {
9305
+ namespace Get {
9306
+ namespace Parameters {
9307
+ type Path = {
9308
+ contributorId: string;
9309
+ };
9310
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9311
+ type Query = {
9312
+ extensionId?: string;
9313
+ extensionInstanceId?: string;
9314
+ };
9315
+ }
9316
+ namespace Responses {
9317
+ namespace $200 {
9318
+ namespace Content {
9319
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MarketplaceContractPartner[];
9320
+ }
9321
+ }
9322
+ namespace $429 {
9323
+ namespace Content {
9324
+ interface ApplicationJson {
9325
+ [k: string]: unknown;
9326
+ }
9327
+ }
9328
+ }
9329
+ namespace Default {
9330
+ namespace Content {
9331
+ interface ApplicationJson {
9332
+ [k: string]: unknown;
9333
+ }
9334
+ }
9335
+ }
9336
+ }
9337
+ }
9338
+ }
9300
9339
  namespace V2ContributorsContributorIdInvoicesOutgoing {
9301
9340
  namespace Get {
9302
9341
  namespace Parameters {
@@ -12914,6 +12953,7 @@ export declare namespace MittwaldAPIV2 {
12914
12953
  }
12915
12954
  }
12916
12955
  namespace V2AppinstallationsAppInstallationIdDatabases { }
12956
+ namespace V2ContractsContractIdItemsContractItemIdNextTerminationDates { }
12917
12957
  namespace V2CustomerCustomerIdActionsLeave { }
12918
12958
  namespace V2CustomersCustomerIdActionsLeave { }
12919
12959
  namespace V2DnsZonesZoneIdRecordsetAcombinedCustom { }
@@ -25615,6 +25655,5 @@ export declare namespace MittwaldAPIV2 {
25615
25655
  }
25616
25656
  }
25617
25657
  }
25618
- namespace V2ContractsContractIdItemsContractItemIdNextTerminationDates { }
25619
25658
  }
25620
25659
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.178.0';
1
+ export declare const MittwaldAPIClientVersion = '4.179.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.179.0",
3
+ "version": "4.180.0",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "cd7f62759315638673f27c47ab7c96560bfc6176"
83
+ "gitHead": "a78fdf5cf70f9dc842b9e30aac5c0d667f623167"
84
84
  }