@mittwald/api-client 0.0.0-development-909fd1d-20250901 → 0.0.0-development-d086739-20250902

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.
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.213.0';
1
+ export const MittwaldAPIClientVersion = '0.0.0-development-909fd1d-20250901';
@@ -34,6 +34,7 @@ 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.AppPhase;
37
38
  projectId: string;
38
39
  screenshotId?: string | undefined;
39
40
  screenshotRef?: string | undefined;
@@ -124,6 +124,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
124
124
  lockedBy?: {
125
125
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
126
126
  } | undefined;
127
+ phase: import("./types.js").MittwaldAPIV2.Components.Schemas.AppPhase;
127
128
  projectId: string;
128
129
  screenshotId?: string | undefined;
129
130
  screenshotRef?: string | undefined;
@@ -162,6 +163,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
162
163
  lockedBy?: {
163
164
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
164
165
  } | undefined;
166
+ phase: import("./types.js").MittwaldAPIV2.Components.Schemas.AppPhase;
165
167
  projectId: string;
166
168
  screenshotId?: string | undefined;
167
169
  screenshotRef?: string | undefined;
@@ -10011,11 +10013,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
10011
10013
  extensionId: string;
10012
10014
  contributorId: string;
10013
10015
  data?: {
10014
- dryRun?: boolean | undefined;
10015
10016
  priceInCents?: number | undefined;
10016
- pricePlan?: {
10017
- variants: import("./types.js").MittwaldAPIV2.Components.Schemas.ExtensionVariant[];
10018
- } | undefined;
10019
10017
  } | undefined;
10020
10018
  headers?: {
10021
10019
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -10023,9 +10021,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
10023
10021
  } | undefined;
10024
10022
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
10025
10023
  data: {
10026
- dryRun?: boolean | undefined;
10027
10024
  priceInCents?: number | undefined;
10028
- pricePlan?: import("./types.js").MittwaldAPIV2.Components.Schemas.ExtensionPricePlan | undefined;
10029
10025
  };
10030
10026
  } & {
10031
10027
  pathParameters: {
@@ -10044,13 +10040,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
10044
10040
  }>;
10045
10041
  }, import("@mittwald/api-client-commons").Response<{
10046
10042
  extensionId?: string | undefined;
10047
- priceChangeConsequence?: {
10048
- contributorConsequence: "NONE" | "EDIT_BLOCK";
10049
- globalCustomerConsequence: "NONE" | "INFO" | "CONFIRM_REQUIRED";
10050
- variantConsequences: {
10051
- variantKey?: "NONE" | "INFO" | "CONFIRM_REQUIRED";
10052
- }[];
10053
- } | undefined;
10054
10043
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10055
10044
  [x: string]: unknown;
10056
10045
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -10061,9 +10050,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
10061
10050
  [x: string]: unknown;
10062
10051
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
10063
10052
  data: {
10064
- dryRun?: boolean | undefined;
10065
10053
  priceInCents?: number | undefined;
10066
- pricePlan?: import("./types.js").MittwaldAPIV2.Components.Schemas.ExtensionPricePlan | undefined;
10067
10054
  };
10068
10055
  } & {
10069
10056
  pathParameters: {
@@ -10082,13 +10069,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
10082
10069
  }>;
10083
10070
  }, import("@mittwald/api-client-commons").Response<{
10084
10071
  extensionId?: string | undefined;
10085
- priceChangeConsequence?: {
10086
- contributorConsequence: "NONE" | "EDIT_BLOCK";
10087
- globalCustomerConsequence: "NONE" | "INFO" | "CONFIRM_REQUIRED";
10088
- variantConsequences: {
10089
- variantKey?: "NONE" | "INFO" | "CONFIRM_REQUIRED";
10090
- }[];
10091
- } | undefined;
10092
10072
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
10093
10073
  [x: string]: unknown;
10094
10074
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -1780,6 +1780,7 @@ export declare namespace MittwaldAPIV2 {
1780
1780
  lockedBy?: {
1781
1781
  [k: string]: MittwaldAPIV2.Components.Schemas.AppLockPurpose;
1782
1782
  };
1783
+ phase: MittwaldAPIV2.Components.Schemas.AppPhase;
1783
1784
  projectId: string;
1784
1785
  screenshotId?: string;
1785
1786
  screenshotRef?: string;
@@ -5311,29 +5312,9 @@ export declare namespace MittwaldAPIV2 {
5311
5312
  target?: string;
5312
5313
  }
5313
5314
  /**
5314
- * PricePlan with Variants.
5315
+ * Phase describes the current phase/state of an AppInstallation in its lifecycle.
5315
5316
  */
5316
- interface ExtensionPricePlan {
5317
- variants: MittwaldAPIV2.Components.Schemas.ExtensionVariant[];
5318
- }
5319
- interface ExtensionVariant {
5320
- /**
5321
- * Description of Variant.
5322
- */
5323
- description: string;
5324
- /**
5325
- * Key that needs to be unique in Variant.
5326
- */
5327
- key: string;
5328
- /**
5329
- * Name of Variant.
5330
- */
5331
- name: string;
5332
- /**
5333
- * Price in cents.
5334
- */
5335
- priceInCents: number;
5336
- }
5317
+ type AppPhase = "pending" | "installing" | "upgrading" | "ready" | "disabled";
5337
5318
  interface CommonsAddress {
5338
5319
  street: string;
5339
5320
  houseNumber: string;
@@ -17305,15 +17286,10 @@ export declare namespace MittwaldAPIV2 {
17305
17286
  contributorId: string;
17306
17287
  };
17307
17288
  interface RequestBody {
17308
- /**
17309
- * If set to true, the request will be validated but not executed.
17310
- */
17311
- dryRun?: boolean;
17312
17289
  /**
17313
17290
  * Price in cents.
17314
17291
  */
17315
17292
  priceInCents?: number;
17316
- pricePlan?: MittwaldAPIV2.Components.Schemas.ExtensionPricePlan;
17317
17293
  }
17318
17294
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
17319
17295
  type Query = {};
@@ -17323,25 +17299,6 @@ export declare namespace MittwaldAPIV2 {
17323
17299
  namespace Content {
17324
17300
  interface ApplicationJson {
17325
17301
  extensionId?: string;
17326
- priceChangeConsequence?: {
17327
- /**
17328
- * Description of the consequence for the Extension from the perspective of the contributor. Values: * "NONE": No consequence. * "EDIT_BLOCK": The Extension will be blocked for editing by the contributor for 30 days.
17329
- *
17330
- */
17331
- contributorConsequence: "NONE" | "EDIT_BLOCK";
17332
- /**
17333
- * Description of the consequence for all Customers of the Extension. Values: * "NONE": No consequence. * "INFO": Customers will be informed about the upcoming changes to their contracts. * "CONFIRM_REQUIRED": Customers will have to confirm or select the accepted changes to their contracts within 30 days or their contracts will be automatically cancelled.
17334
- *
17335
- */
17336
- globalCustomerConsequence: "NONE" | "INFO" | "CONFIRM_REQUIRED";
17337
- variantConsequences: {
17338
- /**
17339
- * The individual consequence for customers of a specific variant of the Extension. Values: * "NONE": No consequence. * "INFO": Customers will be informed about the upcoming changes to their contracts. * "CONFIRM_REQUIRED": Customers will have to confirm or select the accepted changes to their contracts within 30 days or their contracts will be automatically cancelled.
17340
- *
17341
- */
17342
- variantKey?: "NONE" | "INFO" | "CONFIRM_REQUIRED";
17343
- }[];
17344
- };
17345
17302
  }
17346
17303
  }
17347
17304
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.213.0';
1
+ export declare const MittwaldAPIClientVersion = '0.0.0-development-909fd1d-20250901';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "0.0.0-development-909fd1d-20250901",
3
+ "version": "0.0.0-development-d086739-20250902",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",
@@ -46,11 +46,11 @@
46
46
  "test:compile": "run tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@mittwald/api-client-commons": "^0.0.0-development-909fd1d-20250901",
49
+ "@mittwald/api-client-commons": "^0.0.0-development-d086739-20250902",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^0.0.0-development-909fd1d-20250901",
53
+ "@mittwald/api-code-generator": "^0.0.0-development-d086739-20250902",
54
54
  "@mittwald/react-use-promise": "^2.6.0",
55
55
  "@types/node": "^22.10.1",
56
56
  "@types/react": "^18.3.14",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "a513f8a4b1ae14cf84e536197804a5dd8685b7ac"
83
+ "gitHead": "58b8b8317035ecd88dd7988fccf360010866678c"
84
84
  }