@mittwald/api-client 4.207.0 → 4.208.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.
@@ -6343,13 +6343,16 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6343
6343
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6344
6344
  [x: string]: unknown;
6345
6345
  }, 429, "application/json">>>;
6346
- /** List ContractPartners of the contributor. */
6347
- contributorListContractPartnersOfContributor: (request: {
6346
+ /** List incoming Invoices of a Contributor. */
6347
+ contributorListIncomingInvoices: (request: {
6348
6348
  contributorId: string;
6349
6349
  queryParameters?: {
6350
6350
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6351
- extensionId?: string | undefined;
6352
- extensionInstanceId?: string | undefined;
6351
+ limit?: number | undefined;
6352
+ skip?: number | undefined;
6353
+ page?: number | undefined;
6354
+ sort?: "invoiceNumber"[] | undefined;
6355
+ order?: ("asc" | "desc")[] | undefined;
6353
6356
  } | undefined;
6354
6357
  headers?: {
6355
6358
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -6365,58 +6368,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6365
6368
  };
6366
6369
  } & {
6367
6370
  queryParameters: {
6368
- extensionId?: string | undefined;
6369
- extensionInstanceId?: string | undefined;
6370
- } & Partial<{
6371
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6372
- }>;
6373
- } & {
6374
- headers: {
6375
- "x-access-token"?: string | undefined;
6376
- } & Partial<{
6377
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6378
- }>;
6379
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractPartner[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6380
- [x: string]: unknown;
6381
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6382
- headers?: Partial<{
6383
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6384
- }>;
6385
- } & {
6386
- pathParameters: {
6387
- contributorId: string;
6388
- };
6389
- } & {
6390
- queryParameters: {
6391
- extensionId?: string | undefined;
6392
- extensionInstanceId?: string | undefined;
6393
- } & Partial<{
6394
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6395
- }>;
6396
- } & {
6397
- headers: {
6398
- "x-access-token"?: string | undefined;
6371
+ limit?: number | undefined;
6372
+ skip?: number | undefined;
6373
+ page?: number | undefined;
6374
+ sort?: "invoiceNumber"[] | undefined;
6375
+ order?: ("asc" | "desc")[] | undefined;
6399
6376
  } & Partial<{
6400
6377
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6401
6378
  }>;
6402
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractPartner[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6403
- [x: string]: unknown;
6404
- }, 429, "application/json">>>;
6405
- /** List incoming Invoices of a Contributor. */
6406
- contributorListIncomingInvoices: (request: {
6407
- contributorId: string;
6408
- headers?: {
6409
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6410
- "x-access-token"?: string | undefined;
6411
- } | undefined;
6412
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
6413
- headers?: Partial<{
6414
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6415
- }>;
6416
- } & {
6417
- pathParameters: {
6418
- contributorId: string;
6419
- };
6420
6379
  } & {
6421
6380
  headers: {
6422
6381
  "x-access-token"?: string | undefined;
@@ -6449,6 +6408,16 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6449
6408
  pathParameters: {
6450
6409
  contributorId: string;
6451
6410
  };
6411
+ } & {
6412
+ queryParameters: {
6413
+ limit?: number | undefined;
6414
+ skip?: number | undefined;
6415
+ page?: number | undefined;
6416
+ sort?: "invoiceNumber"[] | undefined;
6417
+ order?: ("asc" | "desc")[] | undefined;
6418
+ } & Partial<{
6419
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6420
+ }>;
6452
6421
  } & {
6453
6422
  headers: {
6454
6423
  "x-access-token"?: string | undefined;
@@ -6595,83 +6564,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6595
6564
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6596
6565
  [x: string]: unknown;
6597
6566
  }, 429, "application/json">>>;
6598
- /** Rotate the secret for an extension instance. */
6599
- contributorRotateSecretForExtensionInstance: (request: {
6600
- contributorId: string;
6601
- extensionId: string;
6602
- extensionInstanceId: string;
6603
- data?: {
6604
- allowWebhookFailure?: boolean | undefined;
6605
- } | undefined;
6606
- headers?: {
6607
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6608
- "x-access-token"?: string | undefined;
6609
- } | undefined;
6610
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
6611
- data: {
6612
- allowWebhookFailure?: boolean | undefined;
6613
- };
6614
- } & {
6615
- pathParameters: {
6616
- contributorId: string;
6617
- extensionId: string;
6618
- extensionInstanceId: string;
6619
- };
6620
- } & {
6621
- headers?: Partial<{
6622
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6623
- }>;
6624
- } & {
6625
- headers: {
6626
- "x-access-token"?: string | undefined;
6627
- } & Partial<{
6628
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6629
- }>;
6630
- }, import("@mittwald/api-client-commons").Response<{
6631
- secret: string;
6632
- webhookResult: {
6633
- failure: boolean;
6634
- statusCode?: string;
6635
- };
6636
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6637
- [x: string]: unknown;
6638
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6639
- [x: string]: unknown;
6640
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6641
- [x: string]: unknown;
6642
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6643
- data: {
6644
- allowWebhookFailure?: boolean | undefined;
6645
- };
6646
- } & {
6647
- pathParameters: {
6648
- contributorId: string;
6649
- extensionId: string;
6650
- extensionInstanceId: string;
6651
- };
6652
- } & {
6653
- headers?: Partial<{
6654
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6655
- }>;
6656
- } & {
6657
- headers: {
6658
- "x-access-token"?: string | undefined;
6659
- } & Partial<{
6660
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6661
- }>;
6662
- }, import("@mittwald/api-client-commons").Response<{
6663
- secret: string;
6664
- webhookResult: {
6665
- failure: boolean;
6666
- statusCode?: string;
6667
- };
6668
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6669
- [x: string]: unknown;
6670
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6671
- [x: string]: unknown;
6672
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6673
- [x: string]: unknown;
6674
- }, 429, "application/json">>>;
6675
6567
  /** Authenticate your external application using the extensionInstanceSecret. */
6676
6568
  extensionAuthenticateInstance: (request: {
6677
6569
  data: {
@@ -6899,25 +6791,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6899
6791
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6900
6792
  [x: string]: unknown;
6901
6793
  }, 429, "application/json">>>;
6902
- /** Change the context of an Extension. */
6903
- extensionChangeContext: (request: {
6794
+ /** Create the OnboardingProcess of a Contributor. */
6795
+ extensionCreateContributorOnboardingProcess: (request: {
6904
6796
  data: {
6905
- context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
6797
+ shippingCountryRestriction: "onlyDomestic";
6906
6798
  };
6907
6799
  contributorId: string;
6908
- extensionId: string;
6909
6800
  headers?: {
6910
6801
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6911
6802
  "x-access-token"?: string | undefined;
6912
6803
  } | undefined;
6913
6804
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
6914
6805
  data: {
6915
- context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
6806
+ shippingCountryRestriction: "onlyDomestic";
6916
6807
  };
6917
6808
  } & {
6918
6809
  pathParameters: {
6919
6810
  contributorId: string;
6920
- extensionId: string;
6921
6811
  };
6922
6812
  } & {
6923
6813
  headers?: Partial<{
@@ -6930,21 +6820,21 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6930
6820
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6931
6821
  }>;
6932
6822
  }, import("@mittwald/api-client-commons").Response<{
6933
- cleaningUpInstances: boolean;
6934
- currentContext: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
6935
- id: string;
6936
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6823
+ contributorId?: string | undefined;
6824
+ onboardingLink?: string | undefined;
6825
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
6826
+ [x: string]: unknown;
6827
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6937
6828
  [x: string]: unknown;
6938
6829
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6939
6830
  [x: string]: unknown;
6940
6831
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6941
6832
  data: {
6942
- context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
6833
+ shippingCountryRestriction: "onlyDomestic";
6943
6834
  };
6944
6835
  } & {
6945
6836
  pathParameters: {
6946
6837
  contributorId: string;
6947
- extensionId: string;
6948
6838
  };
6949
6839
  } & {
6950
6840
  headers?: Partial<{
@@ -6957,91 +6847,82 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6957
6847
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6958
6848
  }>;
6959
6849
  }, import("@mittwald/api-client-commons").Response<{
6960
- cleaningUpInstances: boolean;
6961
- currentContext: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
6962
- id: string;
6963
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6850
+ contributorId?: string | undefined;
6851
+ onboardingLink?: string | undefined;
6852
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
6853
+ [x: string]: unknown;
6854
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6964
6855
  [x: string]: unknown;
6965
6856
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6966
6857
  [x: string]: unknown;
6967
6858
  }, 429, "application/json">>>;
6968
- /** Consent to extension scopes. */
6969
- extensionConsentToExtensionScopes: (request: {
6970
- data: {
6971
- consentedScopes: string[];
6972
- };
6973
- extensionInstanceId: string;
6859
+ /** Get all open extension orders for given customer */
6860
+ extensionGetCustomerExtensionInstanceOrders: (request: {
6861
+ customerId: string;
6974
6862
  headers?: {
6975
6863
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6976
6864
  "x-access-token"?: string | undefined;
6977
6865
  } | undefined;
6978
6866
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
6979
- data: {
6980
- consentedScopes: string[];
6981
- };
6982
- } & {
6983
- pathParameters: {
6984
- extensionInstanceId: string;
6985
- };
6986
- } & {
6987
6867
  headers?: Partial<{
6988
6868
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6989
6869
  }>;
6870
+ } & {
6871
+ pathParameters: {
6872
+ customerId: string;
6873
+ };
6990
6874
  } & {
6991
6875
  headers: {
6992
6876
  "x-access-token"?: string | undefined;
6993
6877
  } & Partial<{
6994
6878
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6995
6879
  }>;
6996
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
6880
+ }, import("@mittwald/api-client-commons").Response<{
6881
+ extensionId?: string;
6882
+ }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6997
6883
  [x: string]: unknown;
6998
6884
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6999
6885
  [x: string]: unknown;
6886
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6887
+ [x: string]: unknown;
7000
6888
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7001
- data: {
7002
- consentedScopes: string[];
7003
- };
7004
- } & {
7005
- pathParameters: {
7006
- extensionInstanceId: string;
7007
- };
7008
- } & {
7009
6889
  headers?: Partial<{
7010
6890
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7011
6891
  }>;
6892
+ } & {
6893
+ pathParameters: {
6894
+ customerId: string;
6895
+ };
7012
6896
  } & {
7013
6897
  headers: {
7014
6898
  "x-access-token"?: string | undefined;
7015
6899
  } & Partial<{
7016
6900
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7017
6901
  }>;
7018
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
6902
+ }, import("@mittwald/api-client-commons").Response<{
6903
+ extensionId?: string;
6904
+ }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7019
6905
  [x: string]: unknown;
7020
6906
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7021
6907
  [x: string]: unknown;
6908
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6909
+ [x: string]: unknown;
7022
6910
  }, 429, "application/json">>>;
7023
- /** Create the OnboardingProcess of a Contributor. */
7024
- extensionCreateContributorOnboardingProcess: (request: {
7025
- data: {
7026
- shippingCountryRestriction: "onlyDomestic";
7027
- };
7028
- contributorId: string;
6911
+ /** Get the Contract Strategy of an Extension Instance */
6912
+ extensionGetExtensionInstanceContract: (request: {
6913
+ extensionInstanceId: string;
7029
6914
  headers?: {
7030
6915
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7031
6916
  "x-access-token"?: string | undefined;
7032
6917
  } | undefined;
7033
6918
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
7034
- data: {
7035
- shippingCountryRestriction: "onlyDomestic";
7036
- };
7037
- } & {
7038
- pathParameters: {
7039
- contributorId: string;
7040
- };
7041
- } & {
7042
6919
  headers?: Partial<{
7043
6920
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7044
6921
  }>;
6922
+ } & {
6923
+ pathParameters: {
6924
+ extensionInstanceId: string;
6925
+ };
7045
6926
  } & {
7046
6927
  headers: {
7047
6928
  "x-access-token"?: string | undefined;
@@ -7049,26 +6930,25 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7049
6930
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7050
6931
  }>;
7051
6932
  }, import("@mittwald/api-client-commons").Response<{
7052
- contributorId?: string | undefined;
7053
- onboardingLink?: string | undefined;
7054
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
7055
- [x: string]: unknown;
7056
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7057
- [x: string]: unknown;
7058
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6933
+ currentPrice?: number | undefined;
6934
+ interactionDeadline?: string | undefined;
6935
+ interactionRequired: boolean;
6936
+ status: "notStarted" | "pending" | "active" | "terminationPending";
6937
+ terminationTargetDate?: string | undefined;
6938
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6939
+ [x: string]: unknown;
6940
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6941
+ [x: string]: unknown;
6942
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7059
6943
  [x: string]: unknown;
7060
6944
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7061
- data: {
7062
- shippingCountryRestriction: "onlyDomestic";
7063
- };
7064
- } & {
7065
- pathParameters: {
7066
- contributorId: string;
7067
- };
7068
- } & {
7069
6945
  headers?: Partial<{
7070
6946
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7071
6947
  }>;
6948
+ } & {
6949
+ pathParameters: {
6950
+ extensionInstanceId: string;
6951
+ };
7072
6952
  } & {
7073
6953
  headers: {
7074
6954
  "x-access-token"?: string | undefined;
@@ -7076,110 +6956,154 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7076
6956
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7077
6957
  }>;
7078
6958
  }, import("@mittwald/api-client-commons").Response<{
7079
- contributorId?: string | undefined;
7080
- onboardingLink?: string | undefined;
7081
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
6959
+ currentPrice?: number | undefined;
6960
+ interactionDeadline?: string | undefined;
6961
+ interactionRequired: boolean;
6962
+ status: "notStarted" | "pending" | "active" | "terminationPending";
6963
+ terminationTargetDate?: string | undefined;
6964
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7082
6965
  [x: string]: unknown;
7083
6966
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7084
6967
  [x: string]: unknown;
7085
6968
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7086
6969
  [x: string]: unknown;
7087
6970
  }, 429, "application/json">>>;
7088
- /** List ExtensionInstances. */
7089
- extensionListExtensionInstances: (request?: {
6971
+ /** Update or Create Contract for existing Extension Instances. */
6972
+ extensionUpdateExtensionInstanceContract: (request: {
6973
+ extensionInstanceId: string;
7090
6974
  headers?: {
7091
6975
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7092
6976
  "x-access-token"?: string | undefined;
7093
6977
  } | undefined;
7094
- queryParameters?: {
7095
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7096
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
7097
- contextId?: string | undefined;
7098
- extensionId?: string | undefined;
7099
- searchTerm?: string | undefined;
7100
- limit?: number | undefined;
7101
- skip?: number | undefined;
7102
- page?: number | undefined;
7103
- sort?: ("createdAt" | "extensionId" | "extensionName")[] | undefined;
7104
- order?: ("asc" | "desc")[] | undefined;
7105
- } | undefined;
7106
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
6978
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
7107
6979
  headers?: Partial<{
7108
6980
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7109
6981
  }>;
7110
6982
  } & {
7111
- queryParameters: {
7112
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
7113
- contextId?: string | undefined;
7114
- extensionId?: string | undefined;
7115
- searchTerm?: string | undefined;
7116
- limit?: number | undefined;
7117
- skip?: number | undefined;
7118
- page?: number | undefined;
7119
- sort?: ("createdAt" | "extensionId" | "extensionName")[] | undefined;
7120
- order?: ("asc" | "desc")[] | undefined;
6983
+ pathParameters: {
6984
+ extensionInstanceId: string;
6985
+ };
6986
+ } & {
6987
+ headers: {
6988
+ "x-access-token"?: string | undefined;
7121
6989
  } & Partial<{
7122
6990
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7123
6991
  }>;
6992
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6993
+ [x: string]: unknown;
6994
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6995
+ [x: string]: unknown;
6996
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6997
+ [x: string]: unknown;
6998
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6999
+ headers?: Partial<{
7000
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7001
+ }>;
7002
+ } & {
7003
+ pathParameters: {
7004
+ extensionInstanceId: string;
7005
+ };
7124
7006
  } & {
7125
7007
  headers: {
7126
7008
  "x-access-token"?: string | undefined;
7127
7009
  } & Partial<{
7128
7010
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7129
7011
  }>;
7130
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstance[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7012
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7131
7013
  [x: string]: unknown;
7132
7014
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7133
7015
  [x: string]: unknown;
7134
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7016
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7017
+ [x: string]: unknown;
7018
+ }, 429, "application/json">>>;
7019
+ /** Get all open extension orders for given project */
7020
+ extensionGetProjectExtensionInstanceOrders: (request: {
7021
+ projectId: string;
7022
+ headers?: {
7023
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7024
+ "x-access-token"?: string | undefined;
7025
+ } | undefined;
7026
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
7135
7027
  headers?: Partial<{
7136
7028
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7137
7029
  }>;
7138
7030
  } & {
7139
- queryParameters: {
7140
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
7141
- contextId?: string | undefined;
7142
- extensionId?: string | undefined;
7143
- searchTerm?: string | undefined;
7144
- limit?: number | undefined;
7145
- skip?: number | undefined;
7146
- page?: number | undefined;
7147
- sort?: ("createdAt" | "extensionId" | "extensionName")[] | undefined;
7148
- order?: ("asc" | "desc")[] | undefined;
7031
+ pathParameters: {
7032
+ projectId: string;
7033
+ };
7034
+ } & {
7035
+ headers: {
7036
+ "x-access-token"?: string | undefined;
7149
7037
  } & Partial<{
7150
7038
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7151
7039
  }>;
7040
+ }, import("@mittwald/api-client-commons").Response<{
7041
+ extensionId?: string;
7042
+ }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7043
+ [x: string]: unknown;
7044
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7045
+ [x: string]: unknown;
7046
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7047
+ [x: string]: unknown;
7048
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7049
+ headers?: Partial<{
7050
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7051
+ }>;
7052
+ } & {
7053
+ pathParameters: {
7054
+ projectId: string;
7055
+ };
7152
7056
  } & {
7153
7057
  headers: {
7154
7058
  "x-access-token"?: string | undefined;
7155
7059
  } & Partial<{
7156
7060
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7157
7061
  }>;
7158
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstance[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7062
+ }, import("@mittwald/api-client-commons").Response<{
7063
+ extensionId?: string;
7064
+ }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7159
7065
  [x: string]: unknown;
7160
7066
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7161
7067
  [x: string]: unknown;
7068
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7069
+ [x: string]: unknown;
7162
7070
  }, 429, "application/json">>>;
7163
- /** Create an ExtensionInstance. */
7164
- extensionCreateExtensionInstance: (request: {
7071
+ /** Order Extension with saved payment method */
7072
+ extensionOrderExtension: (request: {
7165
7073
  data: {
7166
7074
  consentedScopes: string[];
7167
- context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
7168
- contextId: string;
7169
- extensionId: string;
7075
+ customerId: string;
7170
7076
  };
7077
+ extensionId: string;
7171
7078
  headers?: {
7172
7079
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7173
7080
  "x-access-token"?: string | undefined;
7174
7081
  } | undefined;
7175
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
7082
+ } | {
7176
7083
  data: {
7177
7084
  consentedScopes: string[];
7178
- context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
7179
- contextId: string;
7085
+ projectId: string;
7086
+ };
7087
+ extensionId: string;
7088
+ headers?: {
7089
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7090
+ "x-access-token"?: string | undefined;
7091
+ } | undefined;
7092
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
7093
+ data: {
7094
+ consentedScopes: string[];
7095
+ customerId: string;
7096
+ };
7097
+ } | {
7098
+ data: {
7099
+ consentedScopes: string[];
7100
+ projectId: string;
7101
+ };
7102
+ }) & {
7103
+ pathParameters: {
7180
7104
  extensionId: string;
7181
7105
  };
7182
- } & {
7106
+ }) & {
7183
7107
  headers?: Partial<{
7184
7108
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7185
7109
  }>;
@@ -7189,27 +7113,29 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7189
7113
  } & Partial<{
7190
7114
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7191
7115
  }>;
7192
- }, import("@mittwald/api-client-commons").Response<{
7193
- id: string;
7194
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
7116
+ }, import("@mittwald/api-client-commons").Response<{}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
7195
7117
  [x: string]: unknown;
7196
7118
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7197
- message: string;
7198
- type: string;
7199
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
7200
7119
  [x: string]: unknown;
7201
7120
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7202
7121
  [x: string]: unknown;
7203
7122
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
7204
7123
  [x: string]: unknown;
7205
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7124
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
7206
7125
  data: {
7207
7126
  consentedScopes: string[];
7208
- context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
7209
- contextId: string;
7127
+ customerId: string;
7128
+ };
7129
+ } | {
7130
+ data: {
7131
+ consentedScopes: string[];
7132
+ projectId: string;
7133
+ };
7134
+ }) & {
7135
+ pathParameters: {
7210
7136
  extensionId: string;
7211
7137
  };
7212
- } & {
7138
+ }) & {
7213
7139
  headers?: Partial<{
7214
7140
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7215
7141
  }>;
@@ -7219,35 +7145,39 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7219
7145
  } & Partial<{
7220
7146
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7221
7147
  }>;
7222
- }, import("@mittwald/api-client-commons").Response<{
7223
- id: string;
7224
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
7148
+ }, import("@mittwald/api-client-commons").Response<{}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
7225
7149
  [x: string]: unknown;
7226
7150
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7227
- message: string;
7228
- type: string;
7229
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
7230
7151
  [x: string]: unknown;
7231
7152
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7232
7153
  [x: string]: unknown;
7233
7154
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
7234
7155
  [x: string]: unknown;
7235
7156
  }, 429, "application/json">>>;
7236
- /** Create an access token retrieval key for an extension instance. */
7237
- extensionCreateRetrievalKey: (request: {
7238
- extensionInstanceId: string;
7157
+ /** Creates or Updates Pricing for an Extension. */
7158
+ extensionUpdateExtensionPricing: (request: {
7159
+ extensionId: string;
7160
+ contributorId: string;
7161
+ data?: {
7162
+ priceInCents?: number | undefined;
7163
+ } | undefined;
7239
7164
  headers?: {
7240
7165
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7241
7166
  "x-access-token"?: string | undefined;
7242
7167
  } | undefined;
7243
7168
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
7244
- headers?: Partial<{
7245
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7246
- }>;
7169
+ data: {
7170
+ priceInCents?: number | undefined;
7171
+ };
7247
7172
  } & {
7248
7173
  pathParameters: {
7249
- extensionInstanceId: string;
7174
+ extensionId: string;
7175
+ contributorId: string;
7250
7176
  };
7177
+ } & {
7178
+ headers?: Partial<{
7179
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7180
+ }>;
7251
7181
  } & {
7252
7182
  headers: {
7253
7183
  "x-access-token"?: string | undefined;
@@ -7255,20 +7185,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7255
7185
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7256
7186
  }>;
7257
7187
  }, import("@mittwald/api-client-commons").Response<{
7258
- accessTokenRetrievalKey: string;
7259
- userId: string;
7188
+ extensionId?: string | undefined;
7260
7189
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7261
7190
  [x: string]: unknown;
7262
7191
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7263
7192
  [x: string]: unknown;
7193
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7194
+ [x: string]: unknown;
7195
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
7196
+ [x: string]: unknown;
7264
7197
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7265
- headers?: Partial<{
7266
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7267
- }>;
7198
+ data: {
7199
+ priceInCents?: number | undefined;
7200
+ };
7268
7201
  } & {
7269
7202
  pathParameters: {
7270
- extensionInstanceId: string;
7203
+ extensionId: string;
7204
+ contributorId: string;
7271
7205
  };
7206
+ } & {
7207
+ headers?: Partial<{
7208
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7209
+ }>;
7272
7210
  } & {
7273
7211
  headers: {
7274
7212
  "x-access-token"?: string | undefined;
@@ -7276,16 +7214,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7276
7214
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7277
7215
  }>;
7278
7216
  }, import("@mittwald/api-client-commons").Response<{
7279
- accessTokenRetrievalKey: string;
7280
- userId: string;
7217
+ extensionId?: string | undefined;
7281
7218
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7282
7219
  [x: string]: unknown;
7283
7220
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7284
7221
  [x: string]: unknown;
7222
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7223
+ [x: string]: unknown;
7224
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
7225
+ [x: string]: unknown;
7285
7226
  }, 429, "application/json">>>;
7286
- /** Get an ExtensionInstance. */
7287
- extensionGetExtensionInstance: (request: {
7288
- extensionInstanceId: string;
7227
+ /** Get payment method details */
7228
+ customerGetPaymentMethod: (request: {
7229
+ customerId: string;
7289
7230
  headers?: {
7290
7231
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7291
7232
  "x-access-token"?: string | undefined;
@@ -7296,7 +7237,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7296
7237
  }>;
7297
7238
  } & {
7298
7239
  pathParameters: {
7299
- extensionInstanceId: string;
7240
+ customerId: string;
7300
7241
  };
7301
7242
  } & {
7302
7243
  headers: {
@@ -7305,25 +7246,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7305
7246
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7306
7247
  }>;
7307
7248
  }, import("@mittwald/api-client-commons").Response<{
7308
- aggregateReference: {
7309
- aggregate: string;
7310
- domain: string;
7311
- id: string;
7312
- };
7313
- chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
7314
- consentedScopes: string[];
7315
- contributorId: string;
7316
- contributorName: string;
7317
- createdAt?: string | undefined;
7318
- disabled: boolean;
7319
- extensionId: string;
7320
- extensionName: string;
7321
- extensionSubTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
7322
- id: string;
7323
- pendingInstallation: boolean;
7324
- pendingRemoval: boolean;
7249
+ cardDetails?: {
7250
+ brand: string;
7251
+ last4: string;
7252
+ } | undefined;
7325
7253
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7326
7254
  [x: string]: unknown;
7255
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7256
+ [x: string]: unknown;
7327
7257
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7328
7258
  [x: string]: unknown;
7329
7259
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
@@ -7332,7 +7262,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7332
7262
  }>;
7333
7263
  } & {
7334
7264
  pathParameters: {
7335
- extensionInstanceId: string;
7265
+ customerId: string;
7336
7266
  };
7337
7267
  } & {
7338
7268
  headers: {
@@ -7341,43 +7271,39 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7341
7271
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7342
7272
  }>;
7343
7273
  }, import("@mittwald/api-client-commons").Response<{
7344
- aggregateReference: {
7345
- aggregate: string;
7346
- domain: string;
7347
- id: string;
7348
- };
7349
- chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
7350
- consentedScopes: string[];
7351
- contributorId: string;
7352
- contributorName: string;
7353
- createdAt?: string | undefined;
7354
- disabled: boolean;
7355
- extensionId: string;
7356
- extensionName: string;
7357
- extensionSubTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
7358
- id: string;
7359
- pendingInstallation: boolean;
7360
- pendingRemoval: boolean;
7274
+ cardDetails?: {
7275
+ brand: string;
7276
+ last4: string;
7277
+ } | undefined;
7361
7278
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7362
7279
  [x: string]: unknown;
7280
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7281
+ [x: string]: unknown;
7363
7282
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7364
7283
  [x: string]: unknown;
7365
7284
  }, 429, "application/json">>>;
7366
- /** Delete a free ExtensionInstance. If the Extension is chargable the contract must be terminated instead. */
7367
- extensionDeleteExtensionInstance: (request: {
7368
- extensionInstanceId: string;
7285
+ /** Get the link to update the marketplace payment method */
7286
+ customerUpdatePaymentMethod: (request: {
7287
+ customerId: string;
7288
+ data?: {
7289
+ customReturnUrl?: string | undefined;
7290
+ } | undefined;
7369
7291
  headers?: {
7370
7292
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7371
7293
  "x-access-token"?: string | undefined;
7372
7294
  } | undefined;
7373
7295
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
7374
- headers?: Partial<{
7375
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7376
- }>;
7296
+ data: {
7297
+ customReturnUrl?: string | undefined;
7298
+ };
7377
7299
  } & {
7378
7300
  pathParameters: {
7379
- extensionInstanceId: string;
7301
+ customerId: string;
7380
7302
  };
7303
+ } & {
7304
+ headers?: Partial<{
7305
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7306
+ }>;
7381
7307
  } & {
7382
7308
  headers: {
7383
7309
  "x-access-token"?: string | undefined;
@@ -7385,21 +7311,25 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7385
7311
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7386
7312
  }>;
7387
7313
  }, import("@mittwald/api-client-commons").Response<{
7314
+ url?: string | undefined;
7315
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7388
7316
  [x: string]: unknown;
7389
- }, 204, "application/json"> | import("@mittwald/api-client-commons").Response<{
7317
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7390
7318
  [x: string]: unknown;
7391
7319
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7392
7320
  [x: string]: unknown;
7393
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
7394
- [x: string]: unknown;
7395
7321
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7396
- headers?: Partial<{
7397
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7398
- }>;
7322
+ data: {
7323
+ customReturnUrl?: string | undefined;
7324
+ };
7399
7325
  } & {
7400
7326
  pathParameters: {
7401
- extensionInstanceId: string;
7327
+ customerId: string;
7402
7328
  };
7329
+ } & {
7330
+ headers?: Partial<{
7331
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7332
+ }>;
7403
7333
  } & {
7404
7334
  headers: {
7405
7335
  "x-access-token"?: string | undefined;
@@ -7407,18 +7337,22 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7407
7337
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7408
7338
  }>;
7409
7339
  }, import("@mittwald/api-client-commons").Response<{
7340
+ url?: string | undefined;
7341
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7410
7342
  [x: string]: unknown;
7411
- }, 204, "application/json"> | import("@mittwald/api-client-commons").Response<{
7343
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7412
7344
  [x: string]: unknown;
7413
7345
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7414
7346
  [x: string]: unknown;
7415
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
7416
- [x: string]: unknown;
7417
7347
  }, 429, "application/json">>>;
7418
- /** Get Extension of own contributor. */
7419
- extensionGetOwnExtension: (request: {
7348
+ /** List ContractPartners of the contributor. */
7349
+ contributorListContractPartnersOfContributor: (request: {
7420
7350
  contributorId: string;
7421
- extensionId: string;
7351
+ queryParameters?: {
7352
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7353
+ extensionId?: string | undefined;
7354
+ extensionInstanceId?: string | undefined;
7355
+ } | undefined;
7422
7356
  headers?: {
7423
7357
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7424
7358
  "x-access-token"?: string | undefined;
@@ -7430,55 +7364,21 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7430
7364
  } & {
7431
7365
  pathParameters: {
7432
7366
  contributorId: string;
7433
- extensionId: string;
7434
7367
  };
7368
+ } & {
7369
+ queryParameters: {
7370
+ extensionId?: string | undefined;
7371
+ extensionInstanceId?: string | undefined;
7372
+ } & Partial<{
7373
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7374
+ }>;
7435
7375
  } & {
7436
7376
  headers: {
7437
7377
  "x-access-token"?: string | undefined;
7438
7378
  } & Partial<{
7439
7379
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7440
7380
  }>;
7441
- }, import("@mittwald/api-client-commons").Response<{
7442
- assets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
7443
- backendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents | undefined;
7444
- blocked?: boolean | undefined;
7445
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
7446
- contributorId: string;
7447
- deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
7448
- description?: string | undefined;
7449
- detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
7450
- disabled?: boolean | undefined;
7451
- externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
7452
- frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
7453
- frontendFragments?: {
7454
- [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
7455
- } | undefined;
7456
- functional: boolean;
7457
- id: string;
7458
- logoRefId?: string | undefined;
7459
- name: string;
7460
- pricing?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy) | undefined;
7461
- published: boolean;
7462
- requestedChanges?: {
7463
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
7464
- scopes?: string[];
7465
- webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | {};
7466
- } | undefined;
7467
- scopes?: string[] | undefined;
7468
- secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
7469
- state?: "enabled" | "blocked" | "disabled" | undefined;
7470
- statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
7471
- subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
7472
- support?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta & {
7473
- inherited: boolean;
7474
- }) | undefined;
7475
- tags?: string[] | undefined;
7476
- verificationRequested: boolean;
7477
- verified: boolean;
7478
- webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
7479
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7480
- [x: string]: unknown;
7481
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7381
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractPartner[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7482
7382
  [x: string]: unknown;
7483
7383
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7484
7384
  headers?: Partial<{
@@ -7487,336 +7387,135 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7487
7387
  } & {
7488
7388
  pathParameters: {
7489
7389
  contributorId: string;
7490
- extensionId: string;
7491
7390
  };
7391
+ } & {
7392
+ queryParameters: {
7393
+ extensionId?: string | undefined;
7394
+ extensionInstanceId?: string | undefined;
7395
+ } & Partial<{
7396
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7397
+ }>;
7492
7398
  } & {
7493
7399
  headers: {
7494
7400
  "x-access-token"?: string | undefined;
7495
7401
  } & Partial<{
7496
7402
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7497
7403
  }>;
7498
- }, import("@mittwald/api-client-commons").Response<{
7499
- assets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
7500
- backendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents | undefined;
7501
- blocked?: boolean | undefined;
7502
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
7503
- contributorId: string;
7504
- deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
7505
- description?: string | undefined;
7506
- detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
7507
- disabled?: boolean | undefined;
7508
- externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
7509
- frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
7510
- frontendFragments?: {
7511
- [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
7512
- } | undefined;
7513
- functional: boolean;
7514
- id: string;
7515
- logoRefId?: string | undefined;
7516
- name: string;
7517
- pricing?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy) | undefined;
7518
- published: boolean;
7519
- requestedChanges?: {
7520
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
7521
- scopes?: string[];
7522
- webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | {};
7523
- } | undefined;
7524
- scopes?: string[] | undefined;
7525
- secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
7526
- state?: "enabled" | "blocked" | "disabled" | undefined;
7527
- statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
7528
- subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
7529
- support?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta & {
7530
- inherited: boolean;
7531
- }) | undefined;
7532
- tags?: string[] | undefined;
7533
- verificationRequested: boolean;
7534
- verified: boolean;
7535
- webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
7536
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7537
- [x: string]: unknown;
7538
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7404
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractPartner[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7539
7405
  [x: string]: unknown;
7540
7406
  }, 429, "application/json">>>;
7541
- /** Delete an extension. */
7542
- extensionDeleteExtension: (request: {
7543
- contributorId: string;
7544
- extensionId: string;
7545
- data?: {
7546
- reason?: string | undefined;
7407
+ /** Get the public key to verify the webhook signature. */
7408
+ extensionGetPublicKey: (request: {
7409
+ serial: string;
7410
+ queryParameters?: {
7411
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7412
+ purpose?: "webhook" | "session_token" | undefined;
7413
+ format?: "raw" | "spki" | undefined;
7547
7414
  } | undefined;
7548
7415
  headers?: {
7549
7416
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7550
- "x-access-token"?: string | undefined;
7551
7417
  } | undefined;
7552
7418
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
7553
- data: {
7554
- reason?: string | undefined;
7555
- };
7556
- } & {
7557
- pathParameters: {
7558
- contributorId: string;
7559
- extensionId: string;
7560
- };
7561
- } & {
7562
7419
  headers?: Partial<{
7563
7420
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7564
7421
  }>;
7565
7422
  } & {
7566
- headers: {
7567
- "x-access-token"?: string | undefined;
7423
+ pathParameters: {
7424
+ serial: string;
7425
+ };
7426
+ } & {
7427
+ queryParameters: {
7428
+ purpose?: "webhook" | "session_token" | undefined;
7429
+ format?: "raw" | "spki" | undefined;
7568
7430
  } & Partial<{
7569
7431
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7570
7432
  }>;
7571
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7433
+ }, import("@mittwald/api-client-commons").Response<{
7434
+ algorithm: string;
7435
+ key: string;
7436
+ serial: string;
7437
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7572
7438
  [x: string]: unknown;
7573
7439
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7574
7440
  [x: string]: unknown;
7575
7441
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7576
- data: {
7577
- reason?: string | undefined;
7578
- };
7579
- } & {
7580
- pathParameters: {
7581
- contributorId: string;
7582
- extensionId: string;
7583
- };
7584
- } & {
7585
7442
  headers?: Partial<{
7586
7443
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7587
7444
  }>;
7588
7445
  } & {
7589
- headers: {
7590
- "x-access-token"?: string | undefined;
7446
+ pathParameters: {
7447
+ serial: string;
7448
+ };
7449
+ } & {
7450
+ queryParameters: {
7451
+ purpose?: "webhook" | "session_token" | undefined;
7452
+ format?: "raw" | "spki" | undefined;
7591
7453
  } & Partial<{
7592
7454
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7593
7455
  }>;
7594
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7456
+ }, import("@mittwald/api-client-commons").Response<{
7457
+ algorithm: string;
7458
+ key: string;
7459
+ serial: string;
7460
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7595
7461
  [x: string]: unknown;
7596
7462
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7597
7463
  [x: string]: unknown;
7598
7464
  }, 429, "application/json">>>;
7599
- /** Patch Extension. */
7600
- extensionPatchExtension: (request: {
7465
+ /** Remove an asset of an extension. */
7466
+ extensionRemoveAsset: (request: {
7601
7467
  contributorId: string;
7602
7468
  extensionId: string;
7603
- data?: {
7604
- assets?: string[] | undefined;
7605
- deprecation?: {
7606
- deprecatedAt: string;
7607
- note?: string | undefined;
7608
- successorId?: string | undefined;
7609
- } | undefined;
7610
- description?: string | undefined;
7611
- detailedDescriptions?: {
7612
- de: {
7613
- markdown: string;
7614
- plain?: string | undefined;
7615
- };
7616
- en?: {
7617
- markdown: string;
7618
- plain?: string | undefined;
7619
- } | undefined;
7620
- } | undefined;
7621
- externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
7622
- frontendFragments?: {
7623
- [x: string]: {
7624
- url: string;
7625
- additionalProperties?: {
7626
- [x: string]: string;
7627
- } | undefined;
7628
- };
7629
- } | undefined;
7630
- name?: string | undefined;
7631
- scopes?: string[] | undefined;
7632
- subTitle?: {
7633
- de: string;
7634
- en?: string | undefined;
7635
- } | undefined;
7636
- support?: {
7637
- email: string;
7638
- phone?: string | undefined;
7639
- } | undefined;
7640
- tags?: string[] | undefined;
7641
- webhookUrls?: {
7642
- extensionAddedToContext: {
7643
- url: string;
7644
- };
7645
- extensionInstanceRemovedFromContext: {
7646
- url: string;
7647
- };
7648
- extensionInstanceSecretRotated: {
7649
- url: string;
7650
- };
7651
- extensionInstanceUpdated: {
7652
- url: string;
7653
- };
7654
- } | undefined;
7655
- } | undefined;
7469
+ assetRefId: string;
7656
7470
  headers?: {
7657
7471
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7658
7472
  "x-access-token"?: string | undefined;
7659
7473
  } | undefined;
7660
7474
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
7661
- data: {
7662
- assets?: string[] | undefined;
7663
- deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
7664
- description?: string | undefined;
7665
- detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
7666
- externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
7667
- frontendFragments?: {
7668
- [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
7669
- } | undefined;
7670
- name?: string | undefined;
7671
- scopes?: string[] | undefined;
7672
- subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
7673
- support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
7674
- tags?: string[] | undefined;
7675
- webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
7676
- };
7475
+ headers?: Partial<{
7476
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7477
+ }>;
7677
7478
  } & {
7678
7479
  pathParameters: {
7679
7480
  contributorId: string;
7680
7481
  extensionId: string;
7482
+ assetRefId: string;
7681
7483
  };
7682
- } & {
7683
- headers?: Partial<{
7684
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7685
- }>;
7686
7484
  } & {
7687
7485
  headers: {
7688
7486
  "x-access-token"?: string | undefined;
7689
7487
  } & Partial<{
7690
7488
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7691
7489
  }>;
7692
- }, import("@mittwald/api-client-commons").Response<{
7693
- assets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
7694
- backendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents | undefined;
7695
- blocked?: boolean | undefined;
7696
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
7697
- contributorId: string;
7698
- deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
7699
- description?: string | undefined;
7700
- detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
7701
- disabled?: boolean | undefined;
7702
- externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
7703
- frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
7704
- frontendFragments?: {
7705
- [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
7706
- } | undefined;
7707
- functional: boolean;
7708
- id: string;
7709
- logoRefId?: string | undefined;
7710
- name: string;
7711
- pricing?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy) | undefined;
7712
- published: boolean;
7713
- requestedChanges?: {
7714
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
7715
- scopes?: string[];
7716
- webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | {};
7717
- } | undefined;
7718
- scopes?: string[] | undefined;
7719
- secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
7720
- state?: "enabled" | "blocked" | "disabled" | undefined;
7721
- statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
7722
- subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
7723
- support?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta & {
7724
- inherited: boolean;
7725
- }) | undefined;
7726
- tags?: string[] | undefined;
7727
- verificationRequested: boolean;
7728
- verified: boolean;
7729
- webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
7730
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7731
- [x: string]: unknown;
7732
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7490
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7733
7491
  [x: string]: unknown;
7734
7492
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7735
7493
  [x: string]: unknown;
7736
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
7737
- [x: string]: unknown;
7738
7494
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7739
- data: {
7740
- assets?: string[] | undefined;
7741
- deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
7742
- description?: string | undefined;
7743
- detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
7744
- externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
7745
- frontendFragments?: {
7746
- [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
7747
- } | undefined;
7748
- name?: string | undefined;
7749
- scopes?: string[] | undefined;
7750
- subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
7751
- support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
7752
- tags?: string[] | undefined;
7753
- webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
7754
- };
7495
+ headers?: Partial<{
7496
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7497
+ }>;
7755
7498
  } & {
7756
7499
  pathParameters: {
7757
7500
  contributorId: string;
7758
7501
  extensionId: string;
7502
+ assetRefId: string;
7759
7503
  };
7760
- } & {
7761
- headers?: Partial<{
7762
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7763
- }>;
7764
7504
  } & {
7765
7505
  headers: {
7766
7506
  "x-access-token"?: string | undefined;
7767
7507
  } & Partial<{
7768
7508
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7769
7509
  }>;
7770
- }, import("@mittwald/api-client-commons").Response<{
7771
- assets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
7772
- backendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents | undefined;
7773
- blocked?: boolean | undefined;
7774
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
7775
- contributorId: string;
7776
- deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
7777
- description?: string | undefined;
7778
- detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
7779
- disabled?: boolean | undefined;
7780
- externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
7781
- frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
7782
- frontendFragments?: {
7783
- [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
7784
- } | undefined;
7785
- functional: boolean;
7786
- id: string;
7787
- logoRefId?: string | undefined;
7788
- name: string;
7789
- pricing?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy) | undefined;
7790
- published: boolean;
7791
- requestedChanges?: {
7792
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
7793
- scopes?: string[];
7794
- webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | {};
7795
- } | undefined;
7796
- scopes?: string[] | undefined;
7797
- secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
7798
- state?: "enabled" | "blocked" | "disabled" | undefined;
7799
- statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
7800
- subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
7801
- support?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta & {
7802
- inherited: boolean;
7803
- }) | undefined;
7804
- tags?: string[] | undefined;
7805
- verificationRequested: boolean;
7806
- verified: boolean;
7807
- webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
7808
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7809
- [x: string]: unknown;
7810
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7510
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7811
7511
  [x: string]: unknown;
7812
7512
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7813
7513
  [x: string]: unknown;
7814
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
7815
- [x: string]: unknown;
7816
7514
  }, 429, "application/json">>>;
7817
- /** Disable an ExtensionInstance. */
7818
- extensionDisableExtensionInstance: (request: {
7819
- extensionInstanceId: string;
7515
+ /** Get the ExtensionInstance of a specific customer and extension, if existing. */
7516
+ extensionGetExtensionInstanceForCustomer: (request: {
7517
+ customerId: string;
7518
+ extensionId: string;
7820
7519
  headers?: {
7821
7520
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7822
7521
  "x-access-token"?: string | undefined;
@@ -7827,7 +7526,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7827
7526
  }>;
7828
7527
  } & {
7829
7528
  pathParameters: {
7830
- extensionInstanceId: string;
7529
+ customerId: string;
7530
+ extensionId: string;
7831
7531
  };
7832
7532
  } & {
7833
7533
  headers: {
@@ -7836,10 +7536,26 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7836
7536
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7837
7537
  }>;
7838
7538
  }, import("@mittwald/api-client-commons").Response<{
7539
+ aggregateReference: {
7540
+ aggregate: string;
7541
+ domain: string;
7542
+ id: string;
7543
+ };
7544
+ chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
7545
+ consentedScopes: string[];
7546
+ contributorId: string;
7547
+ contributorName: string;
7548
+ createdAt?: string | undefined;
7549
+ disabled: boolean;
7550
+ extensionId: string;
7551
+ extensionName: string;
7552
+ extensionSubTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
7553
+ id: string;
7554
+ pendingInstallation: boolean;
7555
+ pendingRemoval: boolean;
7556
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7839
7557
  [x: string]: unknown;
7840
- }, 204, "application/json"> | import("@mittwald/api-client-commons").Response<{
7841
- [x: string]: unknown;
7842
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7558
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7843
7559
  [x: string]: unknown;
7844
7560
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7845
7561
  headers?: Partial<{
@@ -7847,7 +7563,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7847
7563
  }>;
7848
7564
  } & {
7849
7565
  pathParameters: {
7850
- extensionInstanceId: string;
7566
+ customerId: string;
7567
+ extensionId: string;
7851
7568
  };
7852
7569
  } & {
7853
7570
  headers: {
@@ -7856,26 +7573,32 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7856
7573
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7857
7574
  }>;
7858
7575
  }, import("@mittwald/api-client-commons").Response<{
7859
- [x: string]: unknown;
7860
- }, 204, "application/json"> | import("@mittwald/api-client-commons").Response<{
7861
- [x: string]: unknown;
7862
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7863
- [x: string]: unknown;
7864
- }, 429, "application/json">>>;
7865
- /** Dry run a webhook with random or given values. */
7866
- extensionDryRunWebhook: (request: {
7576
+ aggregateReference: {
7577
+ aggregate: string;
7578
+ domain: string;
7579
+ id: string;
7580
+ };
7581
+ chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
7582
+ consentedScopes: string[];
7583
+ contributorId: string;
7584
+ contributorName: string;
7585
+ createdAt?: string | undefined;
7586
+ disabled: boolean;
7587
+ extensionId: string;
7588
+ extensionName: string;
7589
+ extensionSubTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
7590
+ id: string;
7591
+ pendingInstallation: boolean;
7592
+ pendingRemoval: boolean;
7593
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7594
+ [x: string]: unknown;
7595
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7596
+ [x: string]: unknown;
7597
+ }, 429, "application/json">>>;
7598
+ /** Generate an Extension secret for the given Extension. */
7599
+ extensionGenerateExtensionSecret: (request: {
7867
7600
  contributorId: string;
7868
7601
  extensionId: string;
7869
- extensionInstanceId: string;
7870
- webhookKind: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookKind;
7871
- queryParameters?: {
7872
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7873
- contextId?: string | undefined;
7874
- scopes?: string[] | undefined;
7875
- instanceDisabled?: boolean | undefined;
7876
- createdAt?: string | undefined;
7877
- secret?: string | undefined;
7878
- } | undefined;
7879
7602
  headers?: {
7880
7603
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7881
7604
  "x-access-token"?: string | undefined;
@@ -7888,19 +7611,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7888
7611
  pathParameters: {
7889
7612
  contributorId: string;
7890
7613
  extensionId: string;
7891
- extensionInstanceId: string;
7892
- webhookKind: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookKind;
7893
7614
  };
7894
- } & {
7895
- queryParameters: {
7896
- contextId?: string | undefined;
7897
- scopes?: string[] | undefined;
7898
- instanceDisabled?: boolean | undefined;
7899
- createdAt?: string | undefined;
7900
- secret?: string | undefined;
7901
- } & Partial<{
7902
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7903
- }>;
7904
7615
  } & {
7905
7616
  headers: {
7906
7617
  "x-access-token"?: string | undefined;
@@ -7908,16 +7619,16 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7908
7619
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7909
7620
  }>;
7910
7621
  }, import("@mittwald/api-client-commons").Response<{
7911
- errorMessage?: string | undefined;
7912
- responseBody?: string | undefined;
7913
- responseCode?: number | undefined;
7914
- responseHeaders?: string | undefined;
7915
- routeCalled: string;
7916
- successful: boolean;
7622
+ secret: string;
7623
+ secretId: string;
7917
7624
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7918
7625
  [x: string]: unknown;
7919
7626
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7920
7627
  [x: string]: unknown;
7628
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7629
+ [x: string]: unknown;
7630
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
7631
+ [x: string]: unknown;
7921
7632
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7922
7633
  headers?: Partial<{
7923
7634
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -7926,19 +7637,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7926
7637
  pathParameters: {
7927
7638
  contributorId: string;
7928
7639
  extensionId: string;
7929
- extensionInstanceId: string;
7930
- webhookKind: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookKind;
7931
7640
  };
7932
- } & {
7933
- queryParameters: {
7934
- contextId?: string | undefined;
7935
- scopes?: string[] | undefined;
7936
- instanceDisabled?: boolean | undefined;
7937
- createdAt?: string | undefined;
7938
- secret?: string | undefined;
7939
- } & Partial<{
7940
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7941
- }>;
7942
7641
  } & {
7943
7642
  headers: {
7944
7643
  "x-access-token"?: string | undefined;
@@ -7946,19 +7645,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7946
7645
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7947
7646
  }>;
7948
7647
  }, import("@mittwald/api-client-commons").Response<{
7949
- errorMessage?: string | undefined;
7950
- responseBody?: string | undefined;
7951
- responseCode?: number | undefined;
7952
- responseHeaders?: string | undefined;
7953
- routeCalled: string;
7954
- successful: boolean;
7648
+ secret: string;
7649
+ secretId: string;
7955
7650
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7956
7651
  [x: string]: unknown;
7957
7652
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7958
7653
  [x: string]: unknown;
7654
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7655
+ [x: string]: unknown;
7656
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
7657
+ [x: string]: unknown;
7959
7658
  }, 429, "application/json">>>;
7960
- /** Enable an ExtensionInstance. */
7961
- extensionEnableExtensionInstance: (request: {
7659
+ /** Disable an ExtensionInstance. */
7660
+ extensionDisableExtensionInstance: (request: {
7962
7661
  extensionInstanceId: string;
7963
7662
  headers?: {
7964
7663
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -8005,10 +7704,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8005
7704
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8006
7705
  [x: string]: unknown;
8007
7706
  }, 429, "application/json">>>;
8008
- /** Generate an Extension secret for the given Extension. */
8009
- extensionGenerateExtensionSecret: (request: {
8010
- contributorId: string;
8011
- extensionId: string;
7707
+ /** Create an access token retrieval key for an extension instance. */
7708
+ extensionCreateRetrievalKey: (request: {
7709
+ extensionInstanceId: string;
8012
7710
  headers?: {
8013
7711
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8014
7712
  "x-access-token"?: string | undefined;
@@ -8019,8 +7717,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8019
7717
  }>;
8020
7718
  } & {
8021
7719
  pathParameters: {
8022
- contributorId: string;
8023
- extensionId: string;
7720
+ extensionInstanceId: string;
8024
7721
  };
8025
7722
  } & {
8026
7723
  headers: {
@@ -8029,24 +7726,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8029
7726
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8030
7727
  }>;
8031
7728
  }, import("@mittwald/api-client-commons").Response<{
8032
- secret: string;
8033
- secretId: string;
7729
+ accessTokenRetrievalKey: string;
7730
+ userId: string;
8034
7731
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8035
7732
  [x: string]: unknown;
8036
7733
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8037
7734
  [x: string]: unknown;
8038
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8039
- [x: string]: unknown;
8040
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
8041
- [x: string]: unknown;
8042
7735
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
8043
7736
  headers?: Partial<{
8044
7737
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8045
7738
  }>;
8046
7739
  } & {
8047
7740
  pathParameters: {
8048
- contributorId: string;
8049
- extensionId: string;
7741
+ extensionInstanceId: string;
8050
7742
  };
8051
7743
  } & {
8052
7744
  headers: {
@@ -8055,70 +7747,51 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8055
7747
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8056
7748
  }>;
8057
7749
  }, import("@mittwald/api-client-commons").Response<{
8058
- secret: string;
8059
- secretId: string;
7750
+ accessTokenRetrievalKey: string;
7751
+ userId: string;
8060
7752
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8061
7753
  [x: string]: unknown;
8062
7754
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8063
7755
  [x: string]: unknown;
8064
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8065
- [x: string]: unknown;
8066
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
8067
- [x: string]: unknown;
8068
7756
  }, 429, "application/json">>>;
8069
- /** Generate a session token to transmit it to the extensions frontend fragment. */
8070
- extensionGenerateSessionToken: (request: {
8071
- extensionInstanceId: string;
8072
- sessionId: string;
7757
+ /** List Contributors. */
7758
+ extensionListContributors: (request?: {
8073
7759
  headers?: {
8074
7760
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8075
- "x-access-token"?: string | undefined;
8076
7761
  } | undefined;
8077
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
7762
+ queryParameters?: {
7763
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7764
+ limit?: number | undefined;
7765
+ skip?: number | undefined;
7766
+ page?: number | undefined;
7767
+ } | undefined;
7768
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
8078
7769
  headers?: Partial<{
8079
7770
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8080
7771
  }>;
8081
7772
  } & {
8082
- pathParameters: {
8083
- extensionInstanceId: string;
8084
- sessionId: string;
8085
- };
8086
- } & {
8087
- headers: {
8088
- "x-access-token"?: string | undefined;
7773
+ queryParameters: {
7774
+ limit?: number | undefined;
7775
+ skip?: number | undefined;
7776
+ page?: number | undefined;
8089
7777
  } & Partial<{
8090
7778
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8091
7779
  }>;
8092
- }, import("@mittwald/api-client-commons").Response<{
8093
- sessionToken: string;
8094
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8095
- [x: string]: unknown;
8096
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8097
- [x: string]: unknown;
8098
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7780
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContributor[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8099
7781
  [x: string]: unknown;
8100
7782
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
8101
7783
  headers?: Partial<{
8102
7784
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8103
7785
  }>;
8104
7786
  } & {
8105
- pathParameters: {
8106
- extensionInstanceId: string;
8107
- sessionId: string;
8108
- };
8109
- } & {
8110
- headers: {
8111
- "x-access-token"?: string | undefined;
7787
+ queryParameters: {
7788
+ limit?: number | undefined;
7789
+ skip?: number | undefined;
7790
+ page?: number | undefined;
8112
7791
  } & Partial<{
8113
7792
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8114
7793
  }>;
8115
- }, import("@mittwald/api-client-commons").Response<{
8116
- sessionToken: string;
8117
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8118
- [x: string]: unknown;
8119
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8120
- [x: string]: unknown;
8121
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7794
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContributor[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8122
7795
  [x: string]: unknown;
8123
7796
  }, 429, "application/json">>>;
8124
7797
  /** Get a Contributor. */
@@ -8152,9 +7825,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8152
7825
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8153
7826
  [x: string]: unknown;
8154
7827
  }, 429, "application/json">>>;
8155
- /** Get all open extension orders for given customer */
8156
- extensionGetCustomerExtensionInstanceOrders: (request: {
8157
- customerId: string;
7828
+ /** Enable an ExtensionInstance. */
7829
+ extensionEnableExtensionInstance: (request: {
7830
+ extensionInstanceId: string;
8158
7831
  headers?: {
8159
7832
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8160
7833
  "x-access-token"?: string | undefined;
@@ -8165,7 +7838,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8165
7838
  }>;
8166
7839
  } & {
8167
7840
  pathParameters: {
8168
- customerId: string;
7841
+ extensionInstanceId: string;
8169
7842
  };
8170
7843
  } & {
8171
7844
  headers: {
@@ -8174,12 +7847,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8174
7847
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8175
7848
  }>;
8176
7849
  }, import("@mittwald/api-client-commons").Response<{
8177
- extensionId?: string;
8178
- }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8179
7850
  [x: string]: unknown;
8180
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7851
+ }, 204, "application/json"> | import("@mittwald/api-client-commons").Response<{
8181
7852
  [x: string]: unknown;
8182
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7853
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8183
7854
  [x: string]: unknown;
8184
7855
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
8185
7856
  headers?: Partial<{
@@ -8187,7 +7858,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8187
7858
  }>;
8188
7859
  } & {
8189
7860
  pathParameters: {
8190
- customerId: string;
7861
+ extensionInstanceId: string;
8191
7862
  };
8192
7863
  } & {
8193
7864
  headers: {
@@ -8196,29 +7867,60 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8196
7867
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8197
7868
  }>;
8198
7869
  }, import("@mittwald/api-client-commons").Response<{
8199
- extensionId?: string;
8200
- }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7870
+ [x: string]: unknown;
7871
+ }, 204, "application/json"> | import("@mittwald/api-client-commons").Response<{
8201
7872
  [x: string]: unknown;
8202
7873
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8203
7874
  [x: string]: unknown;
8204
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7875
+ }, 429, "application/json">>>;
7876
+ /** List Scopes. */
7877
+ extensionListScopes: (request?: {
7878
+ headers?: {
7879
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7880
+ } | undefined;
7881
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
7882
+ headers?: Partial<{
7883
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7884
+ }>;
7885
+ }, import("@mittwald/api-client-commons").Response<{
7886
+ name: string;
7887
+ }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7888
+ [x: string]: unknown;
7889
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7890
+ headers?: Partial<{
7891
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7892
+ }>;
7893
+ }, import("@mittwald/api-client-commons").Response<{
7894
+ name: string;
7895
+ }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8205
7896
  [x: string]: unknown;
8206
7897
  }, 429, "application/json">>>;
8207
- /** Get the Contract Strategy of an Extension Instance */
8208
- extensionGetExtensionInstanceContract: (request: {
7898
+ /** Rotate the secret for an extension instance. */
7899
+ contributorRotateSecretForExtensionInstance: (request: {
7900
+ contributorId: string;
7901
+ extensionId: string;
8209
7902
  extensionInstanceId: string;
7903
+ data?: {
7904
+ allowWebhookFailure?: boolean | undefined;
7905
+ } | undefined;
8210
7906
  headers?: {
8211
7907
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8212
7908
  "x-access-token"?: string | undefined;
8213
7909
  } | undefined;
8214
7910
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
8215
- headers?: Partial<{
8216
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8217
- }>;
7911
+ data: {
7912
+ allowWebhookFailure?: boolean | undefined;
7913
+ };
8218
7914
  } & {
8219
7915
  pathParameters: {
7916
+ contributorId: string;
7917
+ extensionId: string;
8220
7918
  extensionInstanceId: string;
8221
7919
  };
7920
+ } & {
7921
+ headers?: Partial<{
7922
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7923
+ }>;
8222
7924
  } & {
8223
7925
  headers: {
8224
7926
  "x-access-token"?: string | undefined;
@@ -8226,11 +7928,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8226
7928
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8227
7929
  }>;
8228
7930
  }, import("@mittwald/api-client-commons").Response<{
8229
- currentPrice?: number | undefined;
8230
- interactionDeadline?: string | undefined;
8231
- interactionRequired: boolean;
8232
- status: "notStarted" | "pending" | "active" | "terminationPending";
8233
- terminationTargetDate?: string | undefined;
7931
+ secret: string;
7932
+ webhookResult: {
7933
+ failure: boolean;
7934
+ statusCode?: string;
7935
+ };
8234
7936
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8235
7937
  [x: string]: unknown;
8236
7938
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -8238,13 +7940,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8238
7940
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8239
7941
  [x: string]: unknown;
8240
7942
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
8241
- headers?: Partial<{
8242
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8243
- }>;
7943
+ data: {
7944
+ allowWebhookFailure?: boolean | undefined;
7945
+ };
8244
7946
  } & {
8245
7947
  pathParameters: {
7948
+ contributorId: string;
7949
+ extensionId: string;
8246
7950
  extensionInstanceId: string;
8247
7951
  };
7952
+ } & {
7953
+ headers?: Partial<{
7954
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7955
+ }>;
8248
7956
  } & {
8249
7957
  headers: {
8250
7958
  "x-access-token"?: string | undefined;
@@ -8252,11 +7960,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8252
7960
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8253
7961
  }>;
8254
7962
  }, import("@mittwald/api-client-commons").Response<{
8255
- currentPrice?: number | undefined;
8256
- interactionDeadline?: string | undefined;
8257
- interactionRequired: boolean;
8258
- status: "notStarted" | "pending" | "active" | "terminationPending";
8259
- terminationTargetDate?: string | undefined;
7963
+ secret: string;
7964
+ webhookResult: {
7965
+ failure: boolean;
7966
+ statusCode?: string;
7967
+ };
8260
7968
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8261
7969
  [x: string]: unknown;
8262
7970
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -8264,9 +7972,41 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8264
7972
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8265
7973
  [x: string]: unknown;
8266
7974
  }, 429, "application/json">>>;
8267
- /** Update or Create Contract for existing Extension Instances. */
8268
- extensionUpdateExtensionInstanceContract: (request: {
8269
- extensionInstanceId: string;
7975
+ /** Get an Extension. */
7976
+ extensionGetExtension: (request: {
7977
+ extensionId: string;
7978
+ headers?: {
7979
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7980
+ } | undefined;
7981
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
7982
+ headers?: Partial<{
7983
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7984
+ }>;
7985
+ } & {
7986
+ pathParameters: {
7987
+ extensionId: string;
7988
+ };
7989
+ }, import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ExtensionsExtensionId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7990
+ [x: string]: unknown;
7991
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7992
+ [x: string]: unknown;
7993
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7994
+ headers?: Partial<{
7995
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7996
+ }>;
7997
+ } & {
7998
+ pathParameters: {
7999
+ extensionId: string;
8000
+ };
8001
+ }, import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ExtensionsExtensionId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8002
+ [x: string]: unknown;
8003
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8004
+ [x: string]: unknown;
8005
+ }, 429, "application/json">>>;
8006
+ /** Add a logo to an extension. */
8007
+ extensionRequestLogoUpload: (request: {
8008
+ contributorId: string;
8009
+ extensionId: string;
8270
8010
  headers?: {
8271
8011
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8272
8012
  "x-access-token"?: string | undefined;
@@ -8277,7 +8017,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8277
8017
  }>;
8278
8018
  } & {
8279
8019
  pathParameters: {
8280
- extensionInstanceId: string;
8020
+ contributorId: string;
8021
+ extensionId: string;
8281
8022
  };
8282
8023
  } & {
8283
8024
  headers: {
@@ -8285,9 +8026,100 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8285
8026
  } & Partial<{
8286
8027
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8287
8028
  }>;
8288
- }, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8029
+ }, import("@mittwald/api-client-commons").Response<{
8030
+ logoRefId: string;
8031
+ rules: {
8032
+ extensions: string[];
8033
+ fileTypes: {
8034
+ extensions: string[];
8035
+ mimeType: string;
8036
+ }[];
8037
+ maxSizeInBytes: number;
8038
+ mimeTypes: string[];
8039
+ properties?: {
8040
+ imageDimensions?: {
8041
+ max: {
8042
+ height?: number;
8043
+ width?: number;
8044
+ };
8045
+ min: {
8046
+ height?: number;
8047
+ width?: number;
8048
+ };
8049
+ };
8050
+ };
8051
+ };
8052
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8289
8053
  [x: string]: unknown;
8290
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8054
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8055
+ [x: string]: unknown;
8056
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
8057
+ headers?: Partial<{
8058
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8059
+ }>;
8060
+ } & {
8061
+ pathParameters: {
8062
+ contributorId: string;
8063
+ extensionId: string;
8064
+ };
8065
+ } & {
8066
+ headers: {
8067
+ "x-access-token"?: string | undefined;
8068
+ } & Partial<{
8069
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8070
+ }>;
8071
+ }, import("@mittwald/api-client-commons").Response<{
8072
+ logoRefId: string;
8073
+ rules: {
8074
+ extensions: string[];
8075
+ fileTypes: {
8076
+ extensions: string[];
8077
+ mimeType: string;
8078
+ }[];
8079
+ maxSizeInBytes: number;
8080
+ mimeTypes: string[];
8081
+ properties?: {
8082
+ imageDimensions?: {
8083
+ max: {
8084
+ height?: number;
8085
+ width?: number;
8086
+ };
8087
+ min: {
8088
+ height?: number;
8089
+ width?: number;
8090
+ };
8091
+ };
8092
+ };
8093
+ };
8094
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8095
+ [x: string]: unknown;
8096
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8097
+ [x: string]: unknown;
8098
+ }, 429, "application/json">>>;
8099
+ /** Remove the logo of an extension. */
8100
+ extensionRemoveLogo: (request: {
8101
+ contributorId: string;
8102
+ extensionId: string;
8103
+ headers?: {
8104
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8105
+ "x-access-token"?: string | undefined;
8106
+ } | undefined;
8107
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
8108
+ headers?: Partial<{
8109
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8110
+ }>;
8111
+ } & {
8112
+ pathParameters: {
8113
+ contributorId: string;
8114
+ extensionId: string;
8115
+ };
8116
+ } & {
8117
+ headers: {
8118
+ "x-access-token"?: string | undefined;
8119
+ } & Partial<{
8120
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8121
+ }>;
8122
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
8291
8123
  [x: string]: unknown;
8292
8124
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8293
8125
  [x: string]: unknown;
@@ -8297,24 +8129,118 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8297
8129
  }>;
8298
8130
  } & {
8299
8131
  pathParameters: {
8132
+ contributorId: string;
8133
+ extensionId: string;
8134
+ };
8135
+ } & {
8136
+ headers: {
8137
+ "x-access-token"?: string | undefined;
8138
+ } & Partial<{
8139
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8140
+ }>;
8141
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
8142
+ [x: string]: unknown;
8143
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8144
+ [x: string]: unknown;
8145
+ }, 429, "application/json">>>;
8146
+ /** Dry run a webhook with random or given values. */
8147
+ extensionDryRunWebhook: (request: {
8148
+ contributorId: string;
8149
+ extensionId: string;
8150
+ extensionInstanceId: string;
8151
+ webhookKind: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookKind;
8152
+ queryParameters?: {
8153
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8154
+ contextId?: string | undefined;
8155
+ scopes?: string[] | undefined;
8156
+ instanceDisabled?: boolean | undefined;
8157
+ createdAt?: string | undefined;
8158
+ secret?: string | undefined;
8159
+ } | undefined;
8160
+ headers?: {
8161
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8162
+ "x-access-token"?: string | undefined;
8163
+ } | undefined;
8164
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
8165
+ headers?: Partial<{
8166
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8167
+ }>;
8168
+ } & {
8169
+ pathParameters: {
8170
+ contributorId: string;
8171
+ extensionId: string;
8300
8172
  extensionInstanceId: string;
8173
+ webhookKind: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookKind;
8301
8174
  };
8175
+ } & {
8176
+ queryParameters: {
8177
+ contextId?: string | undefined;
8178
+ scopes?: string[] | undefined;
8179
+ instanceDisabled?: boolean | undefined;
8180
+ createdAt?: string | undefined;
8181
+ secret?: string | undefined;
8182
+ } & Partial<{
8183
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8184
+ }>;
8302
8185
  } & {
8303
8186
  headers: {
8304
8187
  "x-access-token"?: string | undefined;
8305
8188
  } & Partial<{
8306
8189
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8307
8190
  }>;
8308
- }, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8191
+ }, import("@mittwald/api-client-commons").Response<{
8192
+ errorMessage?: string | undefined;
8193
+ responseBody?: string | undefined;
8194
+ responseCode?: number | undefined;
8195
+ responseHeaders?: string | undefined;
8196
+ routeCalled: string;
8197
+ successful: boolean;
8198
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8309
8199
  [x: string]: unknown;
8310
8200
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8311
8201
  [x: string]: unknown;
8312
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8202
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
8203
+ headers?: Partial<{
8204
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8205
+ }>;
8206
+ } & {
8207
+ pathParameters: {
8208
+ contributorId: string;
8209
+ extensionId: string;
8210
+ extensionInstanceId: string;
8211
+ webhookKind: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookKind;
8212
+ };
8213
+ } & {
8214
+ queryParameters: {
8215
+ contextId?: string | undefined;
8216
+ scopes?: string[] | undefined;
8217
+ instanceDisabled?: boolean | undefined;
8218
+ createdAt?: string | undefined;
8219
+ secret?: string | undefined;
8220
+ } & Partial<{
8221
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8222
+ }>;
8223
+ } & {
8224
+ headers: {
8225
+ "x-access-token"?: string | undefined;
8226
+ } & Partial<{
8227
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8228
+ }>;
8229
+ }, import("@mittwald/api-client-commons").Response<{
8230
+ errorMessage?: string | undefined;
8231
+ responseBody?: string | undefined;
8232
+ responseCode?: number | undefined;
8233
+ responseHeaders?: string | undefined;
8234
+ routeCalled: string;
8235
+ successful: boolean;
8236
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8237
+ [x: string]: unknown;
8238
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8313
8239
  [x: string]: unknown;
8314
8240
  }, 429, "application/json">>>;
8315
- /** Get the ExtensionInstance of a specific customer and extension, if existing. */
8316
- extensionGetExtensionInstanceForCustomer: (request: {
8317
- customerId: string;
8241
+ /** Get the ExtensionInstance of a specific project and extension, if existing. */
8242
+ extensionGetExtensionInstanceForProject: (request: {
8243
+ projectId: string;
8318
8244
  extensionId: string;
8319
8245
  headers?: {
8320
8246
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -8326,7 +8252,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8326
8252
  }>;
8327
8253
  } & {
8328
8254
  pathParameters: {
8329
- customerId: string;
8255
+ projectId: string;
8330
8256
  extensionId: string;
8331
8257
  };
8332
8258
  } & {
@@ -8363,7 +8289,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8363
8289
  }>;
8364
8290
  } & {
8365
8291
  pathParameters: {
8366
- customerId: string;
8292
+ projectId: string;
8367
8293
  extensionId: string;
8368
8294
  };
8369
8295
  } & {
@@ -8395,10 +8321,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8395
8321
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8396
8322
  [x: string]: unknown;
8397
8323
  }, 429, "application/json">>>;
8398
- /** Get the ExtensionInstance of a specific project and extension, if existing. */
8399
- extensionGetExtensionInstanceForProject: (request: {
8400
- projectId: string;
8401
- extensionId: string;
8324
+ /** Get an ExtensionInstance. */
8325
+ extensionGetExtensionInstance: (request: {
8326
+ extensionInstanceId: string;
8402
8327
  headers?: {
8403
8328
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8404
8329
  "x-access-token"?: string | undefined;
@@ -8409,8 +8334,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8409
8334
  }>;
8410
8335
  } & {
8411
8336
  pathParameters: {
8412
- projectId: string;
8413
- extensionId: string;
8337
+ extensionInstanceId: string;
8414
8338
  };
8415
8339
  } & {
8416
8340
  headers: {
@@ -8446,8 +8370,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8446
8370
  }>;
8447
8371
  } & {
8448
8372
  pathParameters: {
8449
- projectId: string;
8450
- extensionId: string;
8373
+ extensionInstanceId: string;
8451
8374
  };
8452
8375
  } & {
8453
8376
  headers: {
@@ -8478,11 +8401,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8478
8401
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8479
8402
  [x: string]: unknown;
8480
8403
  }, 429, "application/json">>>;
8481
- /** Get an Extension. */
8482
- extensionGetExtension: (request: {
8483
- extensionId: string;
8484
- headers?: {
8485
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8404
+ /** Delete a free ExtensionInstance. If the Extension is chargable the contract must be terminated instead. */
8405
+ extensionDeleteExtensionInstance: (request: {
8406
+ extensionInstanceId: string;
8407
+ headers?: {
8408
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8409
+ "x-access-token"?: string | undefined;
8486
8410
  } | undefined;
8487
8411
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
8488
8412
  headers?: Partial<{
@@ -8490,40 +8414,143 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8490
8414
  }>;
8491
8415
  } & {
8492
8416
  pathParameters: {
8493
- extensionId: string;
8417
+ extensionInstanceId: string;
8494
8418
  };
8495
- }, import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ExtensionsExtensionId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8419
+ } & {
8420
+ headers: {
8421
+ "x-access-token"?: string | undefined;
8422
+ } & Partial<{
8423
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8424
+ }>;
8425
+ }, import("@mittwald/api-client-commons").Response<{
8426
+ [x: string]: unknown;
8427
+ }, 204, "application/json"> | import("@mittwald/api-client-commons").Response<{
8496
8428
  [x: string]: unknown;
8497
8429
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8498
8430
  [x: string]: unknown;
8431
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
8432
+ [x: string]: unknown;
8499
8433
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
8500
8434
  headers?: Partial<{
8501
8435
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8502
8436
  }>;
8503
8437
  } & {
8504
8438
  pathParameters: {
8505
- extensionId: string;
8439
+ extensionInstanceId: string;
8506
8440
  };
8507
- }, import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ExtensionsExtensionId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8441
+ } & {
8442
+ headers: {
8443
+ "x-access-token"?: string | undefined;
8444
+ } & Partial<{
8445
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8446
+ }>;
8447
+ }, import("@mittwald/api-client-commons").Response<{
8448
+ [x: string]: unknown;
8449
+ }, 204, "application/json"> | import("@mittwald/api-client-commons").Response<{
8508
8450
  [x: string]: unknown;
8509
8451
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8510
8452
  [x: string]: unknown;
8453
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
8454
+ [x: string]: unknown;
8511
8455
  }, 429, "application/json">>>;
8512
- /** Get all open extension orders for given project */
8513
- extensionGetProjectExtensionInstanceOrders: (request: {
8514
- projectId: string;
8456
+ /** List ExtensionInstances. */
8457
+ extensionListExtensionInstances: (request?: {
8515
8458
  headers?: {
8516
8459
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8517
8460
  "x-access-token"?: string | undefined;
8518
8461
  } | undefined;
8519
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
8462
+ queryParameters?: {
8463
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8464
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
8465
+ contextId?: string | undefined;
8466
+ extensionId?: string | undefined;
8467
+ searchTerm?: string | undefined;
8468
+ limit?: number | undefined;
8469
+ skip?: number | undefined;
8470
+ page?: number | undefined;
8471
+ sort?: ("createdAt" | "extensionId" | "extensionName")[] | undefined;
8472
+ order?: ("asc" | "desc")[] | undefined;
8473
+ } | undefined;
8474
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
8520
8475
  headers?: Partial<{
8521
8476
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8522
8477
  }>;
8523
8478
  } & {
8524
- pathParameters: {
8525
- projectId: string;
8479
+ queryParameters: {
8480
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
8481
+ contextId?: string | undefined;
8482
+ extensionId?: string | undefined;
8483
+ searchTerm?: string | undefined;
8484
+ limit?: number | undefined;
8485
+ skip?: number | undefined;
8486
+ page?: number | undefined;
8487
+ sort?: ("createdAt" | "extensionId" | "extensionName")[] | undefined;
8488
+ order?: ("asc" | "desc")[] | undefined;
8489
+ } & Partial<{
8490
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8491
+ }>;
8492
+ } & {
8493
+ headers: {
8494
+ "x-access-token"?: string | undefined;
8495
+ } & Partial<{
8496
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8497
+ }>;
8498
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstance[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8499
+ [x: string]: unknown;
8500
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8501
+ [x: string]: unknown;
8502
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
8503
+ headers?: Partial<{
8504
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8505
+ }>;
8506
+ } & {
8507
+ queryParameters: {
8508
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
8509
+ contextId?: string | undefined;
8510
+ extensionId?: string | undefined;
8511
+ searchTerm?: string | undefined;
8512
+ limit?: number | undefined;
8513
+ skip?: number | undefined;
8514
+ page?: number | undefined;
8515
+ sort?: ("createdAt" | "extensionId" | "extensionName")[] | undefined;
8516
+ order?: ("asc" | "desc")[] | undefined;
8517
+ } & Partial<{
8518
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8519
+ }>;
8520
+ } & {
8521
+ headers: {
8522
+ "x-access-token"?: string | undefined;
8523
+ } & Partial<{
8524
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8525
+ }>;
8526
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstance[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8527
+ [x: string]: unknown;
8528
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8529
+ [x: string]: unknown;
8530
+ }, 429, "application/json">>>;
8531
+ /** Create an ExtensionInstance. */
8532
+ extensionCreateExtensionInstance: (request: {
8533
+ data: {
8534
+ consentedScopes: string[];
8535
+ context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
8536
+ contextId: string;
8537
+ extensionId: string;
8538
+ };
8539
+ headers?: {
8540
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8541
+ "x-access-token"?: string | undefined;
8542
+ } | undefined;
8543
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
8544
+ data: {
8545
+ consentedScopes: string[];
8546
+ context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
8547
+ contextId: string;
8548
+ extensionId: string;
8526
8549
  };
8550
+ } & {
8551
+ headers?: Partial<{
8552
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8553
+ }>;
8527
8554
  } & {
8528
8555
  headers: {
8529
8556
  "x-access-token"?: string | undefined;
@@ -8531,21 +8558,29 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8531
8558
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8532
8559
  }>;
8533
8560
  }, import("@mittwald/api-client-commons").Response<{
8534
- extensionId?: string;
8535
- }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8561
+ id: string;
8562
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
8536
8563
  [x: string]: unknown;
8537
8564
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8565
+ message: string;
8566
+ type: string;
8567
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
8538
8568
  [x: string]: unknown;
8539
8569
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8540
8570
  [x: string]: unknown;
8571
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
8572
+ [x: string]: unknown;
8541
8573
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
8574
+ data: {
8575
+ consentedScopes: string[];
8576
+ context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
8577
+ contextId: string;
8578
+ extensionId: string;
8579
+ };
8580
+ } & {
8542
8581
  headers?: Partial<{
8543
8582
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8544
8583
  }>;
8545
- } & {
8546
- pathParameters: {
8547
- projectId: string;
8548
- };
8549
8584
  } & {
8550
8585
  headers: {
8551
8586
  "x-access-token"?: string | undefined;
@@ -8553,24 +8588,26 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8553
8588
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8554
8589
  }>;
8555
8590
  }, import("@mittwald/api-client-commons").Response<{
8556
- extensionId?: string;
8557
- }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8591
+ id: string;
8592
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
8558
8593
  [x: string]: unknown;
8559
8594
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8595
+ message: string;
8596
+ type: string;
8597
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
8560
8598
  [x: string]: unknown;
8561
8599
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8562
8600
  [x: string]: unknown;
8601
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
8602
+ [x: string]: unknown;
8563
8603
  }, 429, "application/json">>>;
8564
- /** Get the public key to verify the webhook signature. */
8565
- extensionGetPublicKey: (request: {
8566
- serial: string;
8567
- queryParameters?: {
8568
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8569
- purpose?: "webhook" | "session_token" | undefined;
8570
- format?: "raw" | "spki" | undefined;
8571
- } | undefined;
8604
+ /** Start the verification process of an Extension. */
8605
+ extensionRequestExtensionVerification: (request: {
8606
+ contributorId: string;
8607
+ extensionId: string;
8572
8608
  headers?: {
8573
8609
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8610
+ "x-access-token"?: string | undefined;
8574
8611
  } | undefined;
8575
8612
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
8576
8613
  headers?: Partial<{
@@ -8578,22 +8615,18 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8578
8615
  }>;
8579
8616
  } & {
8580
8617
  pathParameters: {
8581
- serial: string;
8618
+ contributorId: string;
8619
+ extensionId: string;
8582
8620
  };
8583
8621
  } & {
8584
- queryParameters: {
8585
- purpose?: "webhook" | "session_token" | undefined;
8586
- format?: "raw" | "spki" | undefined;
8622
+ headers: {
8623
+ "x-access-token"?: string | undefined;
8587
8624
  } & Partial<{
8588
8625
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8589
8626
  }>;
8590
- }, import("@mittwald/api-client-commons").Response<{
8591
- algorithm: string;
8592
- key: string;
8593
- serial: string;
8594
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8627
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "application/json"> | import("@mittwald/api-client-commons").Response<{
8595
8628
  [x: string]: unknown;
8596
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8629
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8597
8630
  [x: string]: unknown;
8598
8631
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
8599
8632
  headers?: Partial<{
@@ -8601,22 +8634,18 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8601
8634
  }>;
8602
8635
  } & {
8603
8636
  pathParameters: {
8604
- serial: string;
8637
+ contributorId: string;
8638
+ extensionId: string;
8605
8639
  };
8606
8640
  } & {
8607
- queryParameters: {
8608
- purpose?: "webhook" | "session_token" | undefined;
8609
- format?: "raw" | "spki" | undefined;
8641
+ headers: {
8642
+ "x-access-token"?: string | undefined;
8610
8643
  } & Partial<{
8611
8644
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8612
8645
  }>;
8613
- }, import("@mittwald/api-client-commons").Response<{
8614
- algorithm: string;
8615
- key: string;
8616
- serial: string;
8617
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8646
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "application/json"> | import("@mittwald/api-client-commons").Response<{
8618
8647
  [x: string]: unknown;
8619
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8648
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8620
8649
  [x: string]: unknown;
8621
8650
  }, 429, "application/json">>>;
8622
8651
  /** Invalidate the given Extension secret immediately. */
@@ -8677,128 +8706,206 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8677
8706
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
8678
8707
  [x: string]: unknown;
8679
8708
  }, 429, "application/json">>>;
8680
- /** List Contributors. */
8681
- extensionListContributors: (request?: {
8709
+ /** Generate a session token to transmit it to the extensions frontend fragment. */
8710
+ extensionGenerateSessionToken: (request: {
8711
+ extensionInstanceId: string;
8712
+ sessionId: string;
8682
8713
  headers?: {
8683
8714
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8715
+ "x-access-token"?: string | undefined;
8684
8716
  } | undefined;
8685
- queryParameters?: {
8686
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8687
- limit?: number | undefined;
8688
- skip?: number | undefined;
8689
- page?: number | undefined;
8690
- } | undefined;
8691
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
8717
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
8692
8718
  headers?: Partial<{
8693
8719
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8694
8720
  }>;
8695
8721
  } & {
8696
- queryParameters: {
8697
- limit?: number | undefined;
8698
- skip?: number | undefined;
8699
- page?: number | undefined;
8722
+ pathParameters: {
8723
+ extensionInstanceId: string;
8724
+ sessionId: string;
8725
+ };
8726
+ } & {
8727
+ headers: {
8728
+ "x-access-token"?: string | undefined;
8700
8729
  } & Partial<{
8701
8730
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8702
8731
  }>;
8703
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContributor[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8732
+ }, import("@mittwald/api-client-commons").Response<{
8733
+ sessionToken: string;
8734
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8735
+ [x: string]: unknown;
8736
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8737
+ [x: string]: unknown;
8738
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8704
8739
  [x: string]: unknown;
8705
8740
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
8706
8741
  headers?: Partial<{
8707
8742
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8708
8743
  }>;
8709
8744
  } & {
8710
- queryParameters: {
8711
- limit?: number | undefined;
8712
- skip?: number | undefined;
8713
- page?: number | undefined;
8745
+ pathParameters: {
8746
+ extensionInstanceId: string;
8747
+ sessionId: string;
8748
+ };
8749
+ } & {
8750
+ headers: {
8751
+ "x-access-token"?: string | undefined;
8714
8752
  } & Partial<{
8715
8753
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8716
8754
  }>;
8717
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContributor[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8755
+ }, import("@mittwald/api-client-commons").Response<{
8756
+ sessionToken: string;
8757
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8758
+ [x: string]: unknown;
8759
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8760
+ [x: string]: unknown;
8761
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8718
8762
  [x: string]: unknown;
8719
8763
  }, 429, "application/json">>>;
8720
- /** List Extensions. */
8721
- extensionListExtensions: (request?: {
8764
+ /** Get Extension of own contributor. */
8765
+ extensionGetOwnExtension: (request: {
8766
+ contributorId: string;
8767
+ extensionId: string;
8722
8768
  headers?: {
8723
8769
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8770
+ "x-access-token"?: string | undefined;
8724
8771
  } | undefined;
8725
- queryParameters?: {
8726
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8727
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
8728
- searchTerm?: string | undefined;
8729
- includeDeprecated?: boolean | undefined;
8730
- limit?: number | undefined;
8731
- skip?: number | undefined;
8732
- page?: number | undefined;
8733
- sort?: "name" | undefined;
8734
- order?: "asc" | "desc" | undefined;
8735
- } | undefined;
8736
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
8772
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
8737
8773
  headers?: Partial<{
8738
8774
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8739
8775
  }>;
8740
8776
  } & {
8741
- queryParameters: {
8742
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
8743
- searchTerm?: string | undefined;
8744
- includeDeprecated?: boolean | undefined;
8745
- limit?: number | undefined;
8746
- skip?: number | undefined;
8747
- page?: number | undefined;
8748
- sort?: "name" | undefined;
8749
- order?: "asc" | "desc" | undefined;
8777
+ pathParameters: {
8778
+ contributorId: string;
8779
+ extensionId: string;
8780
+ };
8781
+ } & {
8782
+ headers: {
8783
+ "x-access-token"?: string | undefined;
8750
8784
  } & Partial<{
8751
8785
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8752
8786
  }>;
8753
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8787
+ }, import("@mittwald/api-client-commons").Response<{
8788
+ assets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
8789
+ backendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents | undefined;
8790
+ blocked?: boolean | undefined;
8791
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
8792
+ contributorId: string;
8793
+ deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
8794
+ description?: string | undefined;
8795
+ detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
8796
+ disabled?: boolean | undefined;
8797
+ externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
8798
+ frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
8799
+ frontendFragments?: {
8800
+ [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
8801
+ } | undefined;
8802
+ functional: boolean;
8803
+ id: string;
8804
+ logoRefId?: string | undefined;
8805
+ name: string;
8806
+ pricing?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy) | undefined;
8807
+ published: boolean;
8808
+ requestedChanges?: {
8809
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
8810
+ scopes?: string[];
8811
+ webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | {};
8812
+ } | undefined;
8813
+ scopes?: string[] | undefined;
8814
+ secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
8815
+ state?: "enabled" | "blocked" | "disabled" | undefined;
8816
+ statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
8817
+ subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
8818
+ support?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta & {
8819
+ inherited: boolean;
8820
+ }) | undefined;
8821
+ tags?: string[] | undefined;
8822
+ verificationRequested: boolean;
8823
+ verified: boolean;
8824
+ webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
8825
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8826
+ [x: string]: unknown;
8827
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8754
8828
  [x: string]: unknown;
8755
8829
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
8756
8830
  headers?: Partial<{
8757
8831
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8758
8832
  }>;
8759
8833
  } & {
8760
- queryParameters: {
8761
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
8762
- searchTerm?: string | undefined;
8763
- includeDeprecated?: boolean | undefined;
8764
- limit?: number | undefined;
8765
- skip?: number | undefined;
8766
- page?: number | undefined;
8767
- sort?: "name" | undefined;
8768
- order?: "asc" | "desc" | undefined;
8834
+ pathParameters: {
8835
+ contributorId: string;
8836
+ extensionId: string;
8837
+ };
8838
+ } & {
8839
+ headers: {
8840
+ "x-access-token"?: string | undefined;
8769
8841
  } & Partial<{
8770
8842
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8771
8843
  }>;
8772
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8844
+ }, import("@mittwald/api-client-commons").Response<{
8845
+ assets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
8846
+ backendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents | undefined;
8847
+ blocked?: boolean | undefined;
8848
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
8849
+ contributorId: string;
8850
+ deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
8851
+ description?: string | undefined;
8852
+ detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
8853
+ disabled?: boolean | undefined;
8854
+ externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
8855
+ frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
8856
+ frontendFragments?: {
8857
+ [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
8858
+ } | undefined;
8859
+ functional: boolean;
8860
+ id: string;
8861
+ logoRefId?: string | undefined;
8862
+ name: string;
8863
+ pricing?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy) | undefined;
8864
+ published: boolean;
8865
+ requestedChanges?: {
8866
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
8867
+ scopes?: string[];
8868
+ webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | {};
8869
+ } | undefined;
8870
+ scopes?: string[] | undefined;
8871
+ secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
8872
+ state?: "enabled" | "blocked" | "disabled" | undefined;
8873
+ statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
8874
+ subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
8875
+ support?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta & {
8876
+ inherited: boolean;
8877
+ }) | undefined;
8878
+ tags?: string[] | undefined;
8879
+ verificationRequested: boolean;
8880
+ verified: boolean;
8881
+ webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
8882
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8883
+ [x: string]: unknown;
8884
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8773
8885
  [x: string]: unknown;
8774
8886
  }, 429, "application/json">>>;
8775
- /** List Extensions of own contributor. */
8776
- extensionListOwnExtensions: (request: {
8887
+ /** Delete an extension. */
8888
+ extensionDeleteExtension: (request: {
8777
8889
  contributorId: string;
8778
- queryParameters?: {
8779
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8780
- limit?: number | undefined;
8781
- skip?: number | undefined;
8782
- page?: number | undefined;
8890
+ extensionId: string;
8891
+ data?: {
8892
+ reason?: string | undefined;
8783
8893
  } | undefined;
8784
8894
  headers?: {
8785
8895
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8786
8896
  "x-access-token"?: string | undefined;
8787
8897
  } | undefined;
8788
8898
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
8789
- headers?: Partial<{
8790
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8791
- }>;
8899
+ data: {
8900
+ reason?: string | undefined;
8901
+ };
8792
8902
  } & {
8793
8903
  pathParameters: {
8794
8904
  contributorId: string;
8905
+ extensionId: string;
8795
8906
  };
8796
8907
  } & {
8797
- queryParameters: {
8798
- limit?: number | undefined;
8799
- skip?: number | undefined;
8800
- page?: number | undefined;
8801
- } & Partial<{
8908
+ headers?: Partial<{
8802
8909
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8803
8910
  }>;
8804
8911
  } & {
@@ -8807,22 +8914,21 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8807
8914
  } & Partial<{
8808
8915
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8809
8916
  }>;
8810
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8917
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
8918
+ [x: string]: unknown;
8919
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8811
8920
  [x: string]: unknown;
8812
8921
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
8813
- headers?: Partial<{
8814
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8815
- }>;
8922
+ data: {
8923
+ reason?: string | undefined;
8924
+ };
8816
8925
  } & {
8817
8926
  pathParameters: {
8818
8927
  contributorId: string;
8928
+ extensionId: string;
8819
8929
  };
8820
8930
  } & {
8821
- queryParameters: {
8822
- limit?: number | undefined;
8823
- skip?: number | undefined;
8824
- page?: number | undefined;
8825
- } & Partial<{
8931
+ headers?: Partial<{
8826
8932
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8827
8933
  }>;
8828
8934
  } & {
@@ -8831,14 +8937,22 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8831
8937
  } & Partial<{
8832
8938
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8833
8939
  }>;
8834
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8940
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
8941
+ [x: string]: unknown;
8942
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
8835
8943
  [x: string]: unknown;
8836
8944
  }, 429, "application/json">>>;
8837
- /** Register an Extension. */
8838
- extensionRegisterExtension: (request: {
8839
- data: {
8840
- name: string;
8841
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
8945
+ /** Patch Extension. */
8946
+ extensionPatchExtension: (request: {
8947
+ contributorId: string;
8948
+ extensionId: string;
8949
+ data?: {
8950
+ assets?: string[] | undefined;
8951
+ deprecation?: {
8952
+ deprecatedAt: string;
8953
+ note?: string | undefined;
8954
+ successorId?: string | undefined;
8955
+ } | undefined;
8842
8956
  description?: string | undefined;
8843
8957
  detailedDescriptions?: {
8844
8958
  de: {
@@ -8850,7 +8964,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8850
8964
  plain?: string | undefined;
8851
8965
  } | undefined;
8852
8966
  } | undefined;
8853
- externalFrontend?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
8854
8967
  externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
8855
8968
  frontendFragments?: {
8856
8969
  [x: string]: {
@@ -8860,6 +8973,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8860
8973
  } | undefined;
8861
8974
  };
8862
8975
  } | undefined;
8976
+ name?: string | undefined;
8863
8977
  scopes?: string[] | undefined;
8864
8978
  subTitle?: {
8865
8979
  de: string;
@@ -8870,20 +8984,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8870
8984
  phone?: string | undefined;
8871
8985
  } | undefined;
8872
8986
  tags?: string[] | undefined;
8873
- webhookURLs?: {
8874
- extensionAddedToContext: {
8875
- url: string;
8876
- };
8877
- extensionInstanceRemovedFromContext: {
8878
- url: string;
8879
- };
8880
- extensionInstanceSecretRotated: {
8881
- url: string;
8882
- };
8883
- extensionInstanceUpdated: {
8884
- url: string;
8885
- };
8886
- } | undefined;
8887
8987
  webhookUrls?: {
8888
8988
  extensionAddedToContext: {
8889
8989
  url: string;
@@ -8898,33 +8998,32 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8898
8998
  url: string;
8899
8999
  };
8900
9000
  } | undefined;
8901
- };
8902
- contributorId: string;
9001
+ } | undefined;
8903
9002
  headers?: {
8904
9003
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
8905
9004
  "x-access-token"?: string | undefined;
8906
9005
  } | undefined;
8907
9006
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
8908
9007
  data: {
8909
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
9008
+ assets?: string[] | undefined;
9009
+ deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
8910
9010
  description?: string | undefined;
8911
9011
  detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
8912
- externalFrontend?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
8913
9012
  externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
8914
9013
  frontendFragments?: {
8915
9014
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
8916
9015
  } | undefined;
8917
- name: string;
9016
+ name?: string | undefined;
8918
9017
  scopes?: string[] | undefined;
8919
9018
  subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
8920
9019
  support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
8921
9020
  tags?: string[] | undefined;
8922
- webhookURLs?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls & {}) | undefined;
8923
9021
  webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
8924
9022
  };
8925
9023
  } & {
8926
9024
  pathParameters: {
8927
9025
  contributorId: string;
9026
+ extensionId: string;
8928
9027
  };
8929
9028
  } & {
8930
9029
  headers?: Partial<{
@@ -8937,32 +9036,72 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8937
9036
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8938
9037
  }>;
8939
9038
  }, import("@mittwald/api-client-commons").Response<{
9039
+ assets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
9040
+ backendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents | undefined;
9041
+ blocked?: boolean | undefined;
9042
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
9043
+ contributorId: string;
9044
+ deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
9045
+ description?: string | undefined;
9046
+ detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
9047
+ disabled?: boolean | undefined;
9048
+ externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
9049
+ frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
9050
+ frontendFragments?: {
9051
+ [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
9052
+ } | undefined;
9053
+ functional: boolean;
8940
9054
  id: string;
8941
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
9055
+ logoRefId?: string | undefined;
9056
+ name: string;
9057
+ pricing?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy) | undefined;
9058
+ published: boolean;
9059
+ requestedChanges?: {
9060
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
9061
+ scopes?: string[];
9062
+ webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | {};
9063
+ } | undefined;
9064
+ scopes?: string[] | undefined;
9065
+ secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
9066
+ state?: "enabled" | "blocked" | "disabled" | undefined;
9067
+ statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
9068
+ subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
9069
+ support?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta & {
9070
+ inherited: boolean;
9071
+ }) | undefined;
9072
+ tags?: string[] | undefined;
9073
+ verificationRequested: boolean;
9074
+ verified: boolean;
9075
+ webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
9076
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8942
9077
  [x: string]: unknown;
8943
9078
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8944
9079
  [x: string]: unknown;
9080
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9081
+ [x: string]: unknown;
9082
+ }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
9083
+ [x: string]: unknown;
8945
9084
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
8946
9085
  data: {
8947
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
9086
+ assets?: string[] | undefined;
9087
+ deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
8948
9088
  description?: string | undefined;
8949
9089
  detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
8950
- externalFrontend?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
8951
9090
  externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
8952
9091
  frontendFragments?: {
8953
9092
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
8954
9093
  } | undefined;
8955
- name: string;
9094
+ name?: string | undefined;
8956
9095
  scopes?: string[] | undefined;
8957
9096
  subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
8958
9097
  support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
8959
9098
  tags?: string[] | undefined;
8960
- webhookURLs?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls & {}) | undefined;
8961
9099
  webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
8962
9100
  };
8963
9101
  } & {
8964
9102
  pathParameters: {
8965
9103
  contributorId: string;
9104
+ extensionId: string;
8966
9105
  };
8967
9106
  } & {
8968
9107
  headers?: Partial<{
@@ -8975,265 +9114,112 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8975
9114
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8976
9115
  }>;
8977
9116
  }, import("@mittwald/api-client-commons").Response<{
8978
- id: string;
8979
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
8980
- [x: string]: unknown;
8981
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
8982
- [x: string]: unknown;
8983
- }, 429, "application/json">>>;
8984
- /** List Scopes. */
8985
- extensionListScopes: (request?: {
8986
- headers?: {
8987
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9117
+ assets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
9118
+ backendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents | undefined;
9119
+ blocked?: boolean | undefined;
9120
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
9121
+ contributorId: string;
9122
+ deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
9123
+ description?: string | undefined;
9124
+ detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
9125
+ disabled?: boolean | undefined;
9126
+ externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
9127
+ frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
9128
+ frontendFragments?: {
9129
+ [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
8988
9130
  } | undefined;
8989
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
8990
- headers?: Partial<{
8991
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
8992
- }>;
8993
- }, import("@mittwald/api-client-commons").Response<{
8994
- name: string;
8995
- }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
8996
- [x: string]: unknown;
8997
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
8998
- headers?: Partial<{
8999
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9000
- }>;
9001
- }, import("@mittwald/api-client-commons").Response<{
9131
+ functional: boolean;
9132
+ id: string;
9133
+ logoRefId?: string | undefined;
9002
9134
  name: string;
9003
- }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9004
- [x: string]: unknown;
9005
- }, 429, "application/json">>>;
9006
- /** Order Extension with saved payment method */
9007
- extensionOrderExtension: (request: {
9008
- data: {
9009
- consentedScopes: string[];
9010
- customerId: string;
9011
- };
9012
- extensionId: string;
9013
- headers?: {
9014
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9015
- "x-access-token"?: string | undefined;
9016
- } | undefined;
9017
- } | {
9018
- data: {
9019
- consentedScopes: string[];
9020
- projectId: string;
9021
- };
9022
- extensionId: string;
9023
- headers?: {
9024
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9025
- "x-access-token"?: string | undefined;
9135
+ pricing?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy) | undefined;
9136
+ published: boolean;
9137
+ requestedChanges?: {
9138
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
9139
+ scopes?: string[];
9140
+ webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | {};
9026
9141
  } | undefined;
9027
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
9028
- data: {
9029
- consentedScopes: string[];
9030
- customerId: string;
9031
- };
9032
- } | {
9033
- data: {
9034
- consentedScopes: string[];
9035
- projectId: string;
9036
- };
9037
- }) & {
9038
- pathParameters: {
9039
- extensionId: string;
9040
- };
9041
- }) & {
9042
- headers?: Partial<{
9043
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9044
- }>;
9045
- } & {
9046
- headers: {
9047
- "x-access-token"?: string | undefined;
9048
- } & Partial<{
9049
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9050
- }>;
9051
- }, import("@mittwald/api-client-commons").Response<{}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
9142
+ scopes?: string[] | undefined;
9143
+ secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
9144
+ state?: "enabled" | "blocked" | "disabled" | undefined;
9145
+ statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
9146
+ subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
9147
+ support?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta & {
9148
+ inherited: boolean;
9149
+ }) | undefined;
9150
+ tags?: string[] | undefined;
9151
+ verificationRequested: boolean;
9152
+ verified: boolean;
9153
+ webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
9154
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9052
9155
  [x: string]: unknown;
9053
9156
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9054
9157
  [x: string]: unknown;
9055
9158
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9056
9159
  [x: string]: unknown;
9057
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
9160
+ }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
9058
9161
  [x: string]: unknown;
9059
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
9060
- data: {
9061
- consentedScopes: string[];
9062
- customerId: string;
9063
- };
9064
- } | {
9162
+ }, 429, "application/json">>>;
9163
+ /** Consent to extension scopes. */
9164
+ extensionConsentToExtensionScopes: (request: {
9065
9165
  data: {
9066
9166
  consentedScopes: string[];
9067
- projectId: string;
9068
- };
9069
- }) & {
9070
- pathParameters: {
9071
- extensionId: string;
9072
- };
9073
- }) & {
9074
- headers?: Partial<{
9075
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9076
- }>;
9077
- } & {
9078
- headers: {
9079
- "x-access-token"?: string | undefined;
9080
- } & Partial<{
9081
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9082
- }>;
9083
- }, import("@mittwald/api-client-commons").Response<{}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
9084
- [x: string]: unknown;
9085
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9086
- [x: string]: unknown;
9087
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9088
- [x: string]: unknown;
9089
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
9090
- [x: string]: unknown;
9091
- }, 429, "application/json">>>;
9092
- /** Remove an asset of an extension. */
9093
- extensionRemoveAsset: (request: {
9094
- contributorId: string;
9095
- extensionId: string;
9096
- assetRefId: string;
9097
- headers?: {
9098
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9099
- "x-access-token"?: string | undefined;
9100
- } | undefined;
9101
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9102
- headers?: Partial<{
9103
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9104
- }>;
9105
- } & {
9106
- pathParameters: {
9107
- contributorId: string;
9108
- extensionId: string;
9109
- assetRefId: string;
9110
9167
  };
9111
- } & {
9112
- headers: {
9113
- "x-access-token"?: string | undefined;
9114
- } & Partial<{
9115
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9116
- }>;
9117
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
9118
- [x: string]: unknown;
9119
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9120
- [x: string]: unknown;
9121
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
9122
- headers?: Partial<{
9123
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9124
- }>;
9125
- } & {
9126
- pathParameters: {
9127
- contributorId: string;
9128
- extensionId: string;
9129
- assetRefId: string;
9130
- };
9131
- } & {
9132
- headers: {
9133
- "x-access-token"?: string | undefined;
9134
- } & Partial<{
9135
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9136
- }>;
9137
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
9138
- [x: string]: unknown;
9139
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9140
- [x: string]: unknown;
9141
- }, 429, "application/json">>>;
9142
- /** Add a logo to an extension. */
9143
- extensionRequestLogoUpload: (request: {
9144
- contributorId: string;
9145
- extensionId: string;
9168
+ extensionInstanceId: string;
9146
9169
  headers?: {
9147
9170
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9148
9171
  "x-access-token"?: string | undefined;
9149
9172
  } | undefined;
9150
9173
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9151
- headers?: Partial<{
9152
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9153
- }>;
9154
- } & {
9155
- pathParameters: {
9156
- contributorId: string;
9157
- extensionId: string;
9174
+ data: {
9175
+ consentedScopes: string[];
9158
9176
  };
9159
- } & {
9160
- headers: {
9161
- "x-access-token"?: string | undefined;
9162
- } & Partial<{
9163
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9164
- }>;
9165
- }, import("@mittwald/api-client-commons").Response<{
9166
- logoRefId: string;
9167
- rules: {
9168
- extensions: string[];
9169
- fileTypes: {
9170
- extensions: string[];
9171
- mimeType: string;
9172
- }[];
9173
- maxSizeInBytes: number;
9174
- mimeTypes: string[];
9175
- properties?: {
9176
- imageDimensions?: {
9177
- max: {
9178
- height?: number;
9179
- width?: number;
9180
- };
9181
- min: {
9182
- height?: number;
9183
- width?: number;
9184
- };
9185
- };
9186
- };
9177
+ } & {
9178
+ pathParameters: {
9179
+ extensionInstanceId: string;
9187
9180
  };
9188
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9189
- [x: string]: unknown;
9190
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9191
- [x: string]: unknown;
9192
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
9181
+ } & {
9193
9182
  headers?: Partial<{
9194
9183
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9195
9184
  }>;
9185
+ } & {
9186
+ headers: {
9187
+ "x-access-token"?: string | undefined;
9188
+ } & Partial<{
9189
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9190
+ }>;
9191
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
9192
+ [x: string]: unknown;
9193
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9194
+ [x: string]: unknown;
9195
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
9196
+ data: {
9197
+ consentedScopes: string[];
9198
+ };
9196
9199
  } & {
9197
9200
  pathParameters: {
9198
- contributorId: string;
9199
- extensionId: string;
9201
+ extensionInstanceId: string;
9200
9202
  };
9203
+ } & {
9204
+ headers?: Partial<{
9205
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9206
+ }>;
9201
9207
  } & {
9202
9208
  headers: {
9203
9209
  "x-access-token"?: string | undefined;
9204
9210
  } & Partial<{
9205
9211
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9206
9212
  }>;
9207
- }, import("@mittwald/api-client-commons").Response<{
9208
- logoRefId: string;
9209
- rules: {
9210
- extensions: string[];
9211
- fileTypes: {
9212
- extensions: string[];
9213
- mimeType: string;
9214
- }[];
9215
- maxSizeInBytes: number;
9216
- mimeTypes: string[];
9217
- properties?: {
9218
- imageDimensions?: {
9219
- max: {
9220
- height?: number;
9221
- width?: number;
9222
- };
9223
- min: {
9224
- height?: number;
9225
- width?: number;
9226
- };
9227
- };
9228
- };
9229
- };
9230
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9213
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
9231
9214
  [x: string]: unknown;
9232
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9215
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9233
9216
  [x: string]: unknown;
9234
9217
  }, 429, "application/json">>>;
9235
- /** Remove the logo of an extension. */
9236
- extensionRemoveLogo: (request: {
9218
+ /** Change the context of an Extension. */
9219
+ extensionChangeContext: (request: {
9220
+ data: {
9221
+ context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
9222
+ };
9237
9223
  contributorId: string;
9238
9224
  extensionId: string;
9239
9225
  headers?: {
@@ -9241,48 +9227,65 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9241
9227
  "x-access-token"?: string | undefined;
9242
9228
  } | undefined;
9243
9229
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9244
- headers?: Partial<{
9245
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9246
- }>;
9230
+ data: {
9231
+ context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
9232
+ };
9247
9233
  } & {
9248
9234
  pathParameters: {
9249
9235
  contributorId: string;
9250
9236
  extensionId: string;
9251
9237
  };
9238
+ } & {
9239
+ headers?: Partial<{
9240
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9241
+ }>;
9252
9242
  } & {
9253
9243
  headers: {
9254
9244
  "x-access-token"?: string | undefined;
9255
9245
  } & Partial<{
9256
9246
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9257
9247
  }>;
9258
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
9248
+ }, import("@mittwald/api-client-commons").Response<{
9249
+ cleaningUpInstances: boolean;
9250
+ currentContext: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
9251
+ id: string;
9252
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9259
9253
  [x: string]: unknown;
9260
9254
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9261
9255
  [x: string]: unknown;
9262
9256
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
9263
- headers?: Partial<{
9264
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9265
- }>;
9257
+ data: {
9258
+ context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
9259
+ };
9266
9260
  } & {
9267
9261
  pathParameters: {
9268
9262
  contributorId: string;
9269
9263
  extensionId: string;
9270
9264
  };
9265
+ } & {
9266
+ headers?: Partial<{
9267
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9268
+ }>;
9271
9269
  } & {
9272
9270
  headers: {
9273
9271
  "x-access-token"?: string | undefined;
9274
9272
  } & Partial<{
9275
9273
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9276
9274
  }>;
9277
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
9275
+ }, import("@mittwald/api-client-commons").Response<{
9276
+ cleaningUpInstances: boolean;
9277
+ currentContext: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
9278
+ id: string;
9279
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9278
9280
  [x: string]: unknown;
9279
9281
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9280
9282
  [x: string]: unknown;
9281
9283
  }, 429, "application/json">>>;
9282
- /** Add an asset to an extension. */
9283
- extensionRequestAssetUpload: (request: {
9284
+ /** Publish or withdraw an Extension. */
9285
+ extensionSetExtensionPublishedState: (request: {
9284
9286
  data: {
9285
- assetType: "image" | "video";
9287
+ published: boolean;
9288
+ reason?: string | undefined;
9286
9289
  };
9287
9290
  contributorId: string;
9288
9291
  extensionId: string;
@@ -9292,7 +9295,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9292
9295
  } | undefined;
9293
9296
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9294
9297
  data: {
9295
- assetType: "image" | "video";
9298
+ published: boolean;
9299
+ reason?: string | undefined;
9296
9300
  };
9297
9301
  } & {
9298
9302
  pathParameters: {
@@ -9310,39 +9314,16 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9310
9314
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9311
9315
  }>;
9312
9316
  }, import("@mittwald/api-client-commons").Response<{
9313
- assetRefId: string;
9314
- rules: {
9315
- extensions: string[];
9316
- fileTypes: {
9317
- extensions: string[];
9318
- mimeType: string;
9319
- }[];
9320
- maxSizeInBytes: number;
9321
- mimeTypes: string[];
9322
- properties?: {
9323
- imageDimensions?: {
9324
- max: {
9325
- height?: number;
9326
- width?: number;
9327
- };
9328
- min: {
9329
- height?: number;
9330
- width?: number;
9331
- };
9332
- };
9333
- };
9334
- };
9317
+ id: string;
9318
+ published: boolean;
9335
9319
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9336
9320
  [x: string]: unknown;
9337
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9338
- [x: string]: unknown;
9339
9321
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9340
9322
  [x: string]: unknown;
9341
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
9342
- [x: string]: unknown;
9343
9323
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
9344
9324
  data: {
9345
- assetType: "image" | "video";
9325
+ published: boolean;
9326
+ reason?: string | undefined;
9346
9327
  };
9347
9328
  } & {
9348
9329
  pathParameters: {
@@ -9360,41 +9341,22 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9360
9341
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9361
9342
  }>;
9362
9343
  }, import("@mittwald/api-client-commons").Response<{
9363
- assetRefId: string;
9364
- rules: {
9365
- extensions: string[];
9366
- fileTypes: {
9367
- extensions: string[];
9368
- mimeType: string;
9369
- }[];
9370
- maxSizeInBytes: number;
9371
- mimeTypes: string[];
9372
- properties?: {
9373
- imageDimensions?: {
9374
- max: {
9375
- height?: number;
9376
- width?: number;
9377
- };
9378
- min: {
9379
- height?: number;
9380
- width?: number;
9381
- };
9382
- };
9383
- };
9384
- };
9344
+ id: string;
9345
+ published: boolean;
9385
9346
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9386
9347
  [x: string]: unknown;
9387
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9388
- [x: string]: unknown;
9389
9348
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9390
9349
  [x: string]: unknown;
9391
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
9392
- [x: string]: unknown;
9393
9350
  }, 429, "application/json">>>;
9394
- /** Start the verification process of an Extension. */
9395
- extensionRequestExtensionVerification: (request: {
9351
+ /** List Extensions of own contributor. */
9352
+ extensionListOwnExtensions: (request: {
9396
9353
  contributorId: string;
9397
- extensionId: string;
9354
+ queryParameters?: {
9355
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9356
+ limit?: number | undefined;
9357
+ skip?: number | undefined;
9358
+ page?: number | undefined;
9359
+ } | undefined;
9398
9360
  headers?: {
9399
9361
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9400
9362
  "x-access-token"?: string | undefined;
@@ -9406,17 +9368,22 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9406
9368
  } & {
9407
9369
  pathParameters: {
9408
9370
  contributorId: string;
9409
- extensionId: string;
9410
9371
  };
9372
+ } & {
9373
+ queryParameters: {
9374
+ limit?: number | undefined;
9375
+ skip?: number | undefined;
9376
+ page?: number | undefined;
9377
+ } & Partial<{
9378
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9379
+ }>;
9411
9380
  } & {
9412
9381
  headers: {
9413
9382
  "x-access-token"?: string | undefined;
9414
9383
  } & Partial<{
9415
9384
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9416
9385
  }>;
9417
- }, import("@mittwald/api-client-commons").Response<{}, 204, "application/json"> | import("@mittwald/api-client-commons").Response<{
9418
- [x: string]: unknown;
9419
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9386
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9420
9387
  [x: string]: unknown;
9421
9388
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
9422
9389
  headers?: Partial<{
@@ -9425,40 +9392,115 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9425
9392
  } & {
9426
9393
  pathParameters: {
9427
9394
  contributorId: string;
9428
- extensionId: string;
9429
9395
  };
9396
+ } & {
9397
+ queryParameters: {
9398
+ limit?: number | undefined;
9399
+ skip?: number | undefined;
9400
+ page?: number | undefined;
9401
+ } & Partial<{
9402
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9403
+ }>;
9430
9404
  } & {
9431
9405
  headers: {
9432
9406
  "x-access-token"?: string | undefined;
9433
9407
  } & Partial<{
9434
9408
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9435
9409
  }>;
9436
- }, import("@mittwald/api-client-commons").Response<{}, 204, "application/json"> | import("@mittwald/api-client-commons").Response<{
9437
- [x: string]: unknown;
9438
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9410
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9439
9411
  [x: string]: unknown;
9440
9412
  }, 429, "application/json">>>;
9441
- /** Publish or withdraw an Extension. */
9442
- extensionSetExtensionPublishedState: (request: {
9413
+ /** Register an Extension. */
9414
+ extensionRegisterExtension: (request: {
9443
9415
  data: {
9444
- published: boolean;
9445
- reason?: string | undefined;
9416
+ name: string;
9417
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
9418
+ description?: string | undefined;
9419
+ detailedDescriptions?: {
9420
+ de: {
9421
+ markdown: string;
9422
+ plain?: string | undefined;
9423
+ };
9424
+ en?: {
9425
+ markdown: string;
9426
+ plain?: string | undefined;
9427
+ } | undefined;
9428
+ } | undefined;
9429
+ externalFrontend?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
9430
+ externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
9431
+ frontendFragments?: {
9432
+ [x: string]: {
9433
+ url: string;
9434
+ additionalProperties?: {
9435
+ [x: string]: string;
9436
+ } | undefined;
9437
+ };
9438
+ } | undefined;
9439
+ scopes?: string[] | undefined;
9440
+ subTitle?: {
9441
+ de: string;
9442
+ en?: string | undefined;
9443
+ } | undefined;
9444
+ support?: {
9445
+ email: string;
9446
+ phone?: string | undefined;
9447
+ } | undefined;
9448
+ tags?: string[] | undefined;
9449
+ webhookURLs?: {
9450
+ extensionAddedToContext: {
9451
+ url: string;
9452
+ };
9453
+ extensionInstanceRemovedFromContext: {
9454
+ url: string;
9455
+ };
9456
+ extensionInstanceSecretRotated: {
9457
+ url: string;
9458
+ };
9459
+ extensionInstanceUpdated: {
9460
+ url: string;
9461
+ };
9462
+ } | undefined;
9463
+ webhookUrls?: {
9464
+ extensionAddedToContext: {
9465
+ url: string;
9466
+ };
9467
+ extensionInstanceRemovedFromContext: {
9468
+ url: string;
9469
+ };
9470
+ extensionInstanceSecretRotated: {
9471
+ url: string;
9472
+ };
9473
+ extensionInstanceUpdated: {
9474
+ url: string;
9475
+ };
9476
+ } | undefined;
9446
9477
  };
9447
9478
  contributorId: string;
9448
- extensionId: string;
9449
9479
  headers?: {
9450
9480
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9451
9481
  "x-access-token"?: string | undefined;
9452
9482
  } | undefined;
9453
9483
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9454
9484
  data: {
9455
- published: boolean;
9456
- reason?: string | undefined;
9485
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
9486
+ description?: string | undefined;
9487
+ detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
9488
+ externalFrontend?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
9489
+ externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
9490
+ frontendFragments?: {
9491
+ [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
9492
+ } | undefined;
9493
+ name: string;
9494
+ scopes?: string[] | undefined;
9495
+ subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
9496
+ support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
9497
+ tags?: string[] | undefined;
9498
+ webhookURLs?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls & {}) | undefined;
9499
+ webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
9457
9500
  };
9458
9501
  } & {
9459
9502
  pathParameters: {
9460
9503
  contributorId: string;
9461
- extensionId: string;
9462
9504
  };
9463
9505
  } & {
9464
9506
  headers?: Partial<{
@@ -9472,20 +9514,31 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9472
9514
  }>;
9473
9515
  }, import("@mittwald/api-client-commons").Response<{
9474
9516
  id: string;
9475
- published: boolean;
9476
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9517
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
9477
9518
  [x: string]: unknown;
9478
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9519
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9479
9520
  [x: string]: unknown;
9480
9521
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
9481
9522
  data: {
9482
- published: boolean;
9483
- reason?: string | undefined;
9523
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
9524
+ description?: string | undefined;
9525
+ detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
9526
+ externalFrontend?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
9527
+ externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
9528
+ frontendFragments?: {
9529
+ [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
9530
+ } | undefined;
9531
+ name: string;
9532
+ scopes?: string[] | undefined;
9533
+ subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
9534
+ support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
9535
+ tags?: string[] | undefined;
9536
+ webhookURLs?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls & {}) | undefined;
9537
+ webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
9484
9538
  };
9485
9539
  } & {
9486
9540
  pathParameters: {
9487
9541
  contributorId: string;
9488
- extensionId: string;
9489
9542
  };
9490
9543
  } & {
9491
9544
  headers?: Partial<{
@@ -9499,31 +9552,30 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9499
9552
  }>;
9500
9553
  }, import("@mittwald/api-client-commons").Response<{
9501
9554
  id: string;
9502
- published: boolean;
9503
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9555
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
9504
9556
  [x: string]: unknown;
9505
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9557
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9506
9558
  [x: string]: unknown;
9507
9559
  }, 429, "application/json">>>;
9508
- /** Creates or Updates Pricing for an Extension. */
9509
- extensionUpdateExtensionPricing: (request: {
9510
- extensionId: string;
9560
+ /** Add an asset to an extension. */
9561
+ extensionRequestAssetUpload: (request: {
9562
+ data: {
9563
+ assetType: "image" | "video";
9564
+ };
9511
9565
  contributorId: string;
9512
- data?: {
9513
- priceInCents?: number | undefined;
9514
- } | undefined;
9566
+ extensionId: string;
9515
9567
  headers?: {
9516
9568
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9517
9569
  "x-access-token"?: string | undefined;
9518
9570
  } | undefined;
9519
9571
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9520
9572
  data: {
9521
- priceInCents?: number | undefined;
9573
+ assetType: "image" | "video";
9522
9574
  };
9523
9575
  } & {
9524
9576
  pathParameters: {
9525
- extensionId: string;
9526
9577
  contributorId: string;
9578
+ extensionId: string;
9527
9579
  };
9528
9580
  } & {
9529
9581
  headers?: Partial<{
@@ -9536,7 +9588,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9536
9588
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9537
9589
  }>;
9538
9590
  }, import("@mittwald/api-client-commons").Response<{
9539
- extensionId?: string | undefined;
9591
+ assetRefId: string;
9592
+ rules: {
9593
+ extensions: string[];
9594
+ fileTypes: {
9595
+ extensions: string[];
9596
+ mimeType: string;
9597
+ }[];
9598
+ maxSizeInBytes: number;
9599
+ mimeTypes: string[];
9600
+ properties?: {
9601
+ imageDimensions?: {
9602
+ max: {
9603
+ height?: number;
9604
+ width?: number;
9605
+ };
9606
+ min: {
9607
+ height?: number;
9608
+ width?: number;
9609
+ };
9610
+ };
9611
+ };
9612
+ };
9540
9613
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9541
9614
  [x: string]: unknown;
9542
9615
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -9547,12 +9620,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9547
9620
  [x: string]: unknown;
9548
9621
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
9549
9622
  data: {
9550
- priceInCents?: number | undefined;
9623
+ assetType: "image" | "video";
9551
9624
  };
9552
9625
  } & {
9553
9626
  pathParameters: {
9554
- extensionId: string;
9555
9627
  contributorId: string;
9628
+ extensionId: string;
9556
9629
  };
9557
9630
  } & {
9558
9631
  headers?: Partial<{
@@ -9565,7 +9638,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9565
9638
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9566
9639
  }>;
9567
9640
  }, import("@mittwald/api-client-commons").Response<{
9568
- extensionId?: string | undefined;
9641
+ assetRefId: string;
9642
+ rules: {
9643
+ extensions: string[];
9644
+ fileTypes: {
9645
+ extensions: string[];
9646
+ mimeType: string;
9647
+ }[];
9648
+ maxSizeInBytes: number;
9649
+ mimeTypes: string[];
9650
+ properties?: {
9651
+ imageDimensions?: {
9652
+ max: {
9653
+ height?: number;
9654
+ width?: number;
9655
+ };
9656
+ min: {
9657
+ height?: number;
9658
+ width?: number;
9659
+ };
9660
+ };
9661
+ };
9662
+ };
9569
9663
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9570
9664
  [x: string]: unknown;
9571
9665
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -9575,125 +9669,59 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9575
9669
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
9576
9670
  [x: string]: unknown;
9577
9671
  }, 429, "application/json">>>;
9578
- /** Get payment method details */
9579
- customerGetPaymentMethod: (request: {
9580
- customerId: string;
9672
+ /** List Extensions. */
9673
+ extensionListExtensions: (request?: {
9581
9674
  headers?: {
9582
9675
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9583
- "x-access-token"?: string | undefined;
9584
- } | undefined;
9585
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9586
- headers?: Partial<{
9587
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9588
- }>;
9589
- } & {
9590
- pathParameters: {
9591
- customerId: string;
9592
- };
9593
- } & {
9594
- headers: {
9595
- "x-access-token"?: string | undefined;
9596
- } & Partial<{
9597
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9598
- }>;
9599
- }, import("@mittwald/api-client-commons").Response<{
9600
- cardDetails?: {
9601
- brand: string;
9602
- last4: string;
9603
- } | undefined;
9604
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9605
- [x: string]: unknown;
9606
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9607
- [x: string]: unknown;
9608
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9609
- [x: string]: unknown;
9610
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
9611
- headers?: Partial<{
9612
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9613
- }>;
9614
- } & {
9615
- pathParameters: {
9616
- customerId: string;
9617
- };
9618
- } & {
9619
- headers: {
9620
- "x-access-token"?: string | undefined;
9621
- } & Partial<{
9622
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9623
- }>;
9624
- }, import("@mittwald/api-client-commons").Response<{
9625
- cardDetails?: {
9626
- brand: string;
9627
- last4: string;
9628
9676
  } | undefined;
9629
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9630
- [x: string]: unknown;
9631
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9632
- [x: string]: unknown;
9633
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9634
- [x: string]: unknown;
9635
- }, 429, "application/json">>>;
9636
- /** Get the link to update the marketplace payment method */
9637
- customerUpdatePaymentMethod: (request: {
9638
- customerId: string;
9639
- data?: {
9640
- customReturnUrl?: string | undefined;
9641
- } | undefined;
9642
- headers?: {
9677
+ queryParameters?: {
9643
9678
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9644
- "x-access-token"?: string | undefined;
9679
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
9680
+ searchTerm?: string | undefined;
9681
+ includeDeprecated?: boolean | undefined;
9682
+ limit?: number | undefined;
9683
+ skip?: number | undefined;
9684
+ page?: number | undefined;
9685
+ sort?: "name" | undefined;
9686
+ order?: "asc" | "desc" | undefined;
9645
9687
  } | undefined;
9646
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9647
- data: {
9648
- customReturnUrl?: string | undefined;
9649
- };
9650
- } & {
9651
- pathParameters: {
9652
- customerId: string;
9653
- };
9654
- } & {
9688
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9655
9689
  headers?: Partial<{
9656
9690
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9657
9691
  }>;
9658
9692
  } & {
9659
- headers: {
9660
- "x-access-token"?: string | undefined;
9693
+ queryParameters: {
9694
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
9695
+ searchTerm?: string | undefined;
9696
+ includeDeprecated?: boolean | undefined;
9697
+ limit?: number | undefined;
9698
+ skip?: number | undefined;
9699
+ page?: number | undefined;
9700
+ sort?: "name" | undefined;
9701
+ order?: "asc" | "desc" | undefined;
9661
9702
  } & Partial<{
9662
9703
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9663
9704
  }>;
9664
- }, import("@mittwald/api-client-commons").Response<{
9665
- url?: string | undefined;
9666
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9667
- [x: string]: unknown;
9668
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9669
- [x: string]: unknown;
9670
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9705
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9671
9706
  [x: string]: unknown;
9672
9707
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
9673
- data: {
9674
- customReturnUrl?: string | undefined;
9675
- };
9676
- } & {
9677
- pathParameters: {
9678
- customerId: string;
9679
- };
9680
- } & {
9681
9708
  headers?: Partial<{
9682
9709
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9683
9710
  }>;
9684
9711
  } & {
9685
- headers: {
9686
- "x-access-token"?: string | undefined;
9712
+ queryParameters: {
9713
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
9714
+ searchTerm?: string | undefined;
9715
+ includeDeprecated?: boolean | undefined;
9716
+ limit?: number | undefined;
9717
+ skip?: number | undefined;
9718
+ page?: number | undefined;
9719
+ sort?: "name" | undefined;
9720
+ order?: "asc" | "desc" | undefined;
9687
9721
  } & Partial<{
9688
9722
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
9689
9723
  }>;
9690
- }, import("@mittwald/api-client-commons").Response<{
9691
- url?: string | undefined;
9692
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9693
- [x: string]: unknown;
9694
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
9695
- [x: string]: unknown;
9696
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9724
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9697
9725
  [x: string]: unknown;
9698
9726
  }, 429, "application/json">>>;
9699
9727
  };