@mittwald/api-client 0.0.0-development-395ee17-20250821 → 0.0.0-development-dc71647-20250826

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.
@@ -34,7 +34,6 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
34
34
  lockedBy?: {
35
35
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
36
36
  } | undefined;
37
- phase: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppPhase;
38
37
  projectId: string;
39
38
  screenshotId?: string | undefined;
40
39
  screenshotRef?: string | undefined;
@@ -619,6 +618,21 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
619
618
  customerId: string;
620
619
  termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
621
620
  }>;
621
+ /** Return the Contract for the given Mail Address. */
622
+ getDetailOfContractByMailAddress: (conf: {
623
+ mailAddressId: string;
624
+ headers?: {
625
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
626
+ "x-access-token"?: string | undefined;
627
+ } | undefined;
628
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
629
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
630
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
631
+ contractId: string;
632
+ contractNumber: string;
633
+ customerId: string;
634
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
635
+ }>;
622
636
  /** Return the Contract for the given Project. */
623
637
  getDetailOfContractByProject: (conf: {
624
638
  projectId: string;
@@ -897,6 +911,19 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
897
911
  }) => import("@mittwald/react-use-promise").AsyncResource<{
898
912
  url?: string | undefined;
899
913
  }>;
914
+ /** List ContractPartners of the contributor. */
915
+ contributorListContractPartnersOfContributor: (conf: {
916
+ contributorId: string;
917
+ queryParameters?: {
918
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
919
+ extensionId?: string | undefined;
920
+ extensionInstanceId?: string | undefined;
921
+ } | undefined;
922
+ headers?: {
923
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
924
+ "x-access-token"?: string | undefined;
925
+ } | undefined;
926
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractPartner[]>;
900
927
  /** List incoming Invoices of a Contributor. */
901
928
  contributorListIncomingInvoices: (conf: {
902
929
  contributorId: string;
@@ -945,89 +972,51 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
945
972
  accessToken: string;
946
973
  expiresAt: string;
947
974
  }>;
948
- /** Get all open extension orders for given customer */
949
- extensionGetCustomerExtensionInstanceOrders: (conf: {
950
- customerId: string;
951
- headers?: {
952
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
953
- "x-access-token"?: string | undefined;
954
- } | undefined;
955
- }) => import("@mittwald/react-use-promise").AsyncResource<{
956
- extensionId?: string;
957
- }[]>;
958
- /** Get the Contract Strategy of an Extension Instance */
959
- extensionGetExtensionInstanceContract: (conf: {
960
- extensionInstanceId: string;
961
- headers?: {
962
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
963
- "x-access-token"?: string | undefined;
964
- } | undefined;
965
- }) => import("@mittwald/react-use-promise").AsyncResource<{
966
- currentPrice?: number | undefined;
967
- interactionDeadline?: string | undefined;
968
- interactionRequired: boolean;
969
- status: "notStarted" | "pending" | "active" | "terminationPending";
970
- terminationTargetDate?: string | undefined;
971
- }>;
972
- /** Get all open extension orders for given project */
973
- extensionGetProjectExtensionInstanceOrders: (conf: {
974
- projectId: string;
975
- headers?: {
976
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
977
- "x-access-token"?: string | undefined;
978
- } | undefined;
979
- }) => import("@mittwald/react-use-promise").AsyncResource<{
980
- extensionId?: string;
981
- }[]>;
982
- /** Get payment method details */
983
- customerGetPaymentMethod: (conf: {
984
- customerId: string;
975
+ /** List ExtensionInstances. */
976
+ extensionListExtensionInstances: (conf?: {
985
977
  headers?: {
986
978
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
987
979
  "x-access-token"?: string | undefined;
988
980
  } | undefined;
989
- }) => import("@mittwald/react-use-promise").AsyncResource<{
990
- cardDetails?: {
991
- brand: string;
992
- last4: string;
993
- } | undefined;
994
- }>;
995
- /** Get the public key to verify the webhook signature. */
996
- extensionGetPublicKey: (conf: {
997
- serial: string;
998
- queryParameters?: {
999
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1000
- purpose?: "webhook" | "session_token" | undefined;
1001
- format?: "raw" | "spki" | undefined;
1002
- } | undefined;
1003
- headers?: {
1004
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1005
- } | undefined;
1006
- }) => import("@mittwald/react-use-promise").AsyncResource<{
1007
- algorithm: string;
1008
- key: string;
1009
- serial: string;
1010
- }>;
1011
- /** List ContractPartners of the contributor. */
1012
- contributorListContractPartnersOfContributor: (conf: {
1013
- contributorId: string;
1014
981
  queryParameters?: {
1015
982
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
983
+ context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
984
+ contextId?: string | undefined;
1016
985
  extensionId?: string | undefined;
1017
- extensionInstanceId?: string | undefined;
986
+ searchTerm?: string | undefined;
987
+ limit?: number | undefined;
988
+ skip?: number | undefined;
989
+ page?: number | undefined;
990
+ sort?: ("createdAt" | "extensionId" | "extensionName")[] | undefined;
991
+ order?: ("asc" | "desc")[] | undefined;
1018
992
  } | undefined;
993
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstance[]>;
994
+ /** Get an ExtensionInstance. */
995
+ extensionGetExtensionInstance: (conf: {
996
+ extensionInstanceId: string;
1019
997
  headers?: {
1020
998
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1021
999
  "x-access-token"?: string | undefined;
1022
1000
  } | undefined;
1023
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractPartner[]>;
1024
- /** Get an Extension. */
1025
- extensionGetExtension: (conf: {
1001
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1002
+ aggregateReference: {
1003
+ aggregate: string;
1004
+ domain: string;
1005
+ id: string;
1006
+ };
1007
+ chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
1008
+ consentedScopes: string[];
1009
+ contributorId: string;
1010
+ contributorName: string;
1011
+ createdAt?: string | undefined;
1012
+ disabled: boolean;
1026
1013
  extensionId: string;
1027
- headers?: {
1028
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1029
- } | undefined;
1030
- }) => import("@mittwald/react-use-promise").AsyncResource<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ExtensionsExtensionId.Get.Responses.$200.Content.ApplicationJson>>;
1014
+ extensionName: string;
1015
+ extensionSubTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
1016
+ id: string;
1017
+ pendingInstallation: boolean;
1018
+ pendingRemoval: boolean;
1019
+ }>;
1031
1020
  /** Get Extension of own contributor. */
1032
1021
  extensionGetOwnExtension: (conf: {
1033
1022
  contributorId: string;
@@ -1055,7 +1044,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1055
1044
  id: string;
1056
1045
  logoRefId?: string | undefined;
1057
1046
  name: string;
1058
- pricing?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | undefined;
1047
+ pricing?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy) | undefined;
1059
1048
  published: boolean;
1060
1049
  requestedChanges?: {
1061
1050
  context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
@@ -1075,13 +1064,45 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1075
1064
  verified: boolean;
1076
1065
  webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
1077
1066
  }>;
1078
- /** Get an ExtensionInstance. */
1079
- extensionGetExtensionInstance: (conf: {
1067
+ /** Get a Contributor. */
1068
+ extensionGetContributor: (conf: {
1069
+ contributorId: string;
1070
+ headers?: {
1071
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1072
+ } | undefined;
1073
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$200.Content.ApplicationJson>>;
1074
+ /** Get all open extension orders for given customer */
1075
+ extensionGetCustomerExtensionInstanceOrders: (conf: {
1076
+ customerId: string;
1077
+ headers?: {
1078
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1079
+ "x-access-token"?: string | undefined;
1080
+ } | undefined;
1081
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1082
+ extensionId?: string;
1083
+ }[]>;
1084
+ /** Get the Contract Strategy of an Extension Instance */
1085
+ extensionGetExtensionInstanceContract: (conf: {
1080
1086
  extensionInstanceId: string;
1081
1087
  headers?: {
1082
1088
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1083
1089
  "x-access-token"?: string | undefined;
1084
1090
  } | undefined;
1091
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1092
+ currentPrice?: number | undefined;
1093
+ interactionDeadline?: string | undefined;
1094
+ interactionRequired: boolean;
1095
+ status: "notStarted" | "pending" | "active" | "terminationPending";
1096
+ terminationTargetDate?: string | undefined;
1097
+ }>;
1098
+ /** Get the ExtensionInstance of a specific customer and extension, if existing. */
1099
+ extensionGetExtensionInstanceForCustomer: (conf: {
1100
+ customerId: string;
1101
+ extensionId: string;
1102
+ headers?: {
1103
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1104
+ "x-access-token"?: string | undefined;
1105
+ } | undefined;
1085
1106
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1086
1107
  aggregateReference: {
1087
1108
  aggregate: string;
@@ -1101,13 +1122,6 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1101
1122
  pendingInstallation: boolean;
1102
1123
  pendingRemoval: boolean;
1103
1124
  }>;
1104
- /** Get a Contributor. */
1105
- extensionGetContributor: (conf: {
1106
- contributorId: string;
1107
- headers?: {
1108
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1109
- } | undefined;
1110
- }) => import("@mittwald/react-use-promise").AsyncResource<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$200.Content.ApplicationJson>>;
1111
1125
  /** Get the ExtensionInstance of a specific project and extension, if existing. */
1112
1126
  extensionGetExtensionInstanceForProject: (conf: {
1113
1127
  projectId: string;
@@ -1135,46 +1149,38 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1135
1149
  pendingInstallation: boolean;
1136
1150
  pendingRemoval: boolean;
1137
1151
  }>;
1138
- /** List Extensions of own contributor. */
1139
- extensionListOwnExtensions: (conf: {
1140
- contributorId: string;
1141
- queryParameters?: {
1152
+ /** Get an Extension. */
1153
+ extensionGetExtension: (conf: {
1154
+ extensionId: string;
1155
+ headers?: {
1142
1156
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1143
- limit?: number | undefined;
1144
- skip?: number | undefined;
1145
- page?: number | undefined;
1146
1157
  } | undefined;
1158
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ExtensionsExtensionId.Get.Responses.$200.Content.ApplicationJson>>;
1159
+ /** Get all open extension orders for given project */
1160
+ extensionGetProjectExtensionInstanceOrders: (conf: {
1161
+ projectId: string;
1147
1162
  headers?: {
1148
1163
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1149
1164
  "x-access-token"?: string | undefined;
1150
1165
  } | undefined;
1151
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[]>;
1152
- /** Get the ExtensionInstance of a specific customer and extension, if existing. */
1153
- extensionGetExtensionInstanceForCustomer: (conf: {
1154
- customerId: string;
1155
- extensionId: string;
1166
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1167
+ extensionId?: string;
1168
+ }[]>;
1169
+ /** Get the public key to verify the webhook signature. */
1170
+ extensionGetPublicKey: (conf: {
1171
+ serial: string;
1172
+ queryParameters?: {
1173
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1174
+ purpose?: "webhook" | "session_token" | undefined;
1175
+ format?: "raw" | "spki" | undefined;
1176
+ } | undefined;
1156
1177
  headers?: {
1157
1178
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1158
- "x-access-token"?: string | undefined;
1159
1179
  } | undefined;
1160
1180
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1161
- aggregateReference: {
1162
- aggregate: string;
1163
- domain: string;
1164
- id: string;
1165
- };
1166
- chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
1167
- consentedScopes: string[];
1168
- contributorId: string;
1169
- contributorName: string;
1170
- createdAt?: string | undefined;
1171
- disabled: boolean;
1172
- extensionId: string;
1173
- extensionName: string;
1174
- extensionSubTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
1175
- id: string;
1176
- pendingInstallation: boolean;
1177
- pendingRemoval: boolean;
1181
+ algorithm: string;
1182
+ key: string;
1183
+ serial: string;
1178
1184
  }>;
1179
1185
  /** List Contributors. */
1180
1186
  extensionListContributors: (conf?: {
@@ -1188,48 +1194,58 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1188
1194
  page?: number | undefined;
1189
1195
  } | undefined;
1190
1196
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContributor[]>;
1191
- /** List Scopes. */
1192
- extensionListScopes: (conf?: {
1193
- headers?: {
1194
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1195
- } | undefined;
1196
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
1197
- name: string;
1198
- }[]>;
1199
- /** List ExtensionInstances. */
1200
- extensionListExtensionInstances: (conf?: {
1197
+ /** List Extensions. */
1198
+ extensionListExtensions: (conf?: {
1201
1199
  headers?: {
1202
1200
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1203
- "x-access-token"?: string | undefined;
1204
1201
  } | undefined;
1205
1202
  queryParameters?: {
1206
1203
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1207
1204
  context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
1208
- contextId?: string | undefined;
1209
- extensionId?: string | undefined;
1210
1205
  searchTerm?: string | undefined;
1206
+ includeDeprecated?: boolean | undefined;
1211
1207
  limit?: number | undefined;
1212
1208
  skip?: number | undefined;
1213
1209
  page?: number | undefined;
1214
- sort?: ("createdAt" | "extensionId" | "extensionName")[] | undefined;
1215
- order?: ("asc" | "desc")[] | undefined;
1216
- } | undefined;
1217
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstance[]>;
1218
- /** List Extensions. */
1219
- extensionListExtensions: (conf?: {
1220
- headers?: {
1221
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1210
+ sort?: "name" | undefined;
1211
+ order?: "asc" | "desc" | undefined;
1222
1212
  } | undefined;
1213
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[]>;
1214
+ /** List Extensions of own contributor. */
1215
+ extensionListOwnExtensions: (conf: {
1216
+ contributorId: string;
1223
1217
  queryParameters?: {
1224
1218
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1225
- context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
1226
- searchTerm?: string | undefined;
1227
- includeDeprecated?: boolean | undefined;
1228
1219
  limit?: number | undefined;
1229
1220
  skip?: number | undefined;
1230
1221
  page?: number | undefined;
1231
1222
  } | undefined;
1232
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[]>;
1223
+ headers?: {
1224
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1225
+ "x-access-token"?: string | undefined;
1226
+ } | undefined;
1227
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[]>;
1228
+ /** List Scopes. */
1229
+ extensionListScopes: (conf?: {
1230
+ headers?: {
1231
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1232
+ } | undefined;
1233
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
1234
+ name: string;
1235
+ }[]>;
1236
+ /** Get payment method details */
1237
+ customerGetPaymentMethod: (conf: {
1238
+ customerId: string;
1239
+ headers?: {
1240
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1241
+ "x-access-token"?: string | undefined;
1242
+ } | undefined;
1243
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1244
+ cardDetails?: {
1245
+ brand: string;
1246
+ last4: string;
1247
+ } | undefined;
1248
+ }>;
1233
1249
  };
1234
1250
  declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
1235
1251
  /** Get all conversation the authenticated user has created or has access to. */
@@ -2311,6 +2327,11 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2311
2327
  } | undefined;
2312
2328
  }) => import("@mittwald/react-use-promise").AsyncResource<{
2313
2329
  address: string;
2330
+ archive: {
2331
+ active: boolean;
2332
+ quota: number;
2333
+ usedBytes: number;
2334
+ };
2314
2335
  autoResponder: {
2315
2336
  active: boolean;
2316
2337
  expiresAt?: string;
@@ -2832,13 +2853,9 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2832
2853
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2833
2854
  } | undefined;
2834
2855
  }) => import("@mittwald/react-use-promise").AsyncResource<{
2835
- blocked?: {
2836
- executingUserId?: string;
2837
- reason: string;
2838
- timestamp: string;
2839
- } | undefined;
2840
2856
  containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
2841
2857
  customerId?: string | undefined;
2858
+ isBlocked: boolean;
2842
2859
  licenceId: string;
2843
2860
  licenceKey: string;
2844
2861
  models: string[];