@mittwald/api-client 4.448.0 → 4.449.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.
@@ -1870,6 +1870,18 @@ export declare namespace MittwaldAPIV2 {
1870
1870
  type RequestData = InferredRequestData<typeof descriptors.appGetAppInstallationSystemSoftware>;
1871
1871
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.appGetAppInstallationSystemSoftware, TStatus>;
1872
1872
  }
1873
+ namespace AppDetachAppinstallationStaging {
1874
+ type RequestData = InferredRequestData<typeof descriptors.appDetachAppinstallationStaging>;
1875
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.appDetachAppinstallationStaging, TStatus>;
1876
+ }
1877
+ namespace AppPromoteAppinstallationStaging {
1878
+ type RequestData = InferredRequestData<typeof descriptors.appPromoteAppinstallationStaging>;
1879
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.appPromoteAppinstallationStaging, TStatus>;
1880
+ }
1881
+ namespace AppRequestAppinstallationStaging {
1882
+ type RequestData = InferredRequestData<typeof descriptors.appRequestAppinstallationStaging>;
1883
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.appRequestAppinstallationStaging, TStatus>;
1884
+ }
1873
1885
  }
1874
1886
  namespace Components {
1875
1887
  namespace Schemas {
@@ -2088,6 +2100,11 @@ export declare namespace MittwaldAPIV2 {
2088
2100
  screenshotId?: string;
2089
2101
  screenshotRef?: string;
2090
2102
  shortId: string;
2103
+ /**
2104
+ * The source AppInstallation ID for a staging AppInstallation.
2105
+ */
2106
+ sourceAppInstallationId?: string;
2107
+ staging?: boolean;
2091
2108
  systemSoftware: MittwaldAPIV2.Components.Schemas.AppInstalledSystemSoftware[];
2092
2109
  updateAvailable: boolean;
2093
2110
  updatePolicy: MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy;
@@ -3003,7 +3020,15 @@ export declare namespace MittwaldAPIV2 {
3003
3020
  emailAddress?: string;
3004
3021
  firstName?: string;
3005
3022
  lastName?: string;
3023
+ /**
3024
+ * German electronic invoicing routing ID (XRechnung). Only allowed for public authorities and requires a company.
3025
+ */
3026
+ leitwegId?: string;
3006
3027
  phoneNumbers?: string[];
3028
+ /**
3029
+ * Purchase order reference the customer wants to see on their invoices.
3030
+ */
3031
+ purchaseOrderReference?: string;
3007
3032
  salutation: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
3008
3033
  title?: string;
3009
3034
  useFormalTerm?: boolean;
@@ -3547,7 +3572,7 @@ export declare namespace MittwaldAPIV2 {
3547
3572
  creationDate: string;
3548
3573
  customerId: string;
3549
3574
  customerNumber: string;
3550
- deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor")[];
3575
+ deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor" | "hasOrdersInProgress")[];
3551
3576
  executingUserRoles?: MittwaldAPIV2.Components.Schemas.CustomerRole[];
3552
3577
  flags?: MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[];
3553
3578
  isAllowedToPlaceOrders?: boolean;
@@ -4213,6 +4238,10 @@ export declare namespace MittwaldAPIV2 {
4213
4238
  * Whether the extension has been published by the contributor.
4214
4239
  */
4215
4240
  published: true;
4241
+ /**
4242
+ * Date of the first publishing.
4243
+ */
4244
+ publishedAt: string;
4216
4245
  scopes: string[];
4217
4246
  /**
4218
4247
  * @deprecated
@@ -4363,7 +4392,7 @@ export declare namespace MittwaldAPIV2 {
4363
4392
  }
4364
4393
  interface MarketplaceExtensionStatistics {
4365
4394
  /**
4366
- * The amout of instances for this extension. Accurate for the Contributor. Publicly rounded to the next lower hundred.
4395
+ * The amount of instances for this extension. Accurate for the Contributor. Publicly rounded to the next lower hundred.
4367
4396
  */
4368
4397
  amountOfInstances?: number;
4369
4398
  }
@@ -4437,6 +4466,7 @@ export declare namespace MittwaldAPIV2 {
4437
4466
  blocked?: boolean;
4438
4467
  context?: MittwaldAPIV2.Components.Schemas.MarketplaceContext;
4439
4468
  contributorId: string;
4469
+ createdAt?: string;
4440
4470
  deletionDeadline?: string;
4441
4471
  deprecation?: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation;
4442
4472
  description?: string;
@@ -4464,6 +4494,10 @@ export declare namespace MittwaldAPIV2 {
4464
4494
  pricing?: MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy;
4465
4495
  pricingDetails?: MittwaldAPIV2.Components.Schemas.MarketplacePricePlanDetails;
4466
4496
  published: boolean;
4497
+ /**
4498
+ * Date of the first publishing.
4499
+ */
4500
+ publishedAt?: string;
4467
4501
  requestedChanges?: {
4468
4502
  context?: MittwaldAPIV2.Components.Schemas.MarketplaceContext;
4469
4503
  purgeScopes?: boolean;
@@ -4589,6 +4623,10 @@ export declare namespace MittwaldAPIV2 {
4589
4623
  * Whether the extension has been published by the contributor.
4590
4624
  */
4591
4625
  published?: false;
4626
+ /**
4627
+ * Date of the first publishing.
4628
+ */
4629
+ publishedAt?: string;
4592
4630
  scopes: string[];
4593
4631
  /**
4594
4632
  * @deprecated
@@ -4929,7 +4967,15 @@ export declare namespace MittwaldAPIV2 {
4929
4967
  emailAddress?: string;
4930
4968
  firstName?: string;
4931
4969
  lastName?: string;
4970
+ /**
4971
+ * German electronic invoicing routing ID (XRechnung). Only allowed for public authorities and requires a company.
4972
+ */
4973
+ leitwegId?: string;
4932
4974
  phoneNumbers?: string[];
4975
+ /**
4976
+ * Purchase order reference printed on the invoice. Not allowed together with a leitwegId.
4977
+ */
4978
+ purchaseOrderReference?: string;
4933
4979
  salutation: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
4934
4980
  title?: string;
4935
4981
  useFormalTerm?: boolean;
@@ -7205,6 +7251,7 @@ export declare namespace MittwaldAPIV2 {
7205
7251
  reasons: {
7206
7252
  domainAgeTooSmall: boolean;
7207
7253
  domainDoesNotExist: boolean;
7254
+ inRedemptionPeriod: boolean;
7208
7255
  transferLock: boolean;
7209
7256
  wrongAuthCode: boolean;
7210
7257
  };
@@ -19882,9 +19929,7 @@ export declare namespace MittwaldAPIV2 {
19882
19929
  namespace Responses {
19883
19930
  namespace $204 {
19884
19931
  namespace Content {
19885
- interface ApplicationJson {
19886
- [k: string]: unknown;
19887
- }
19932
+ type Empty = unknown;
19888
19933
  }
19889
19934
  }
19890
19935
  namespace $412 {
@@ -20082,9 +20127,7 @@ export declare namespace MittwaldAPIV2 {
20082
20127
  namespace Responses {
20083
20128
  namespace $204 {
20084
20129
  namespace Content {
20085
- interface ApplicationJson {
20086
- [k: string]: unknown;
20087
- }
20130
+ type Empty = unknown;
20088
20131
  }
20089
20132
  }
20090
20133
  namespace $400 {
@@ -20187,9 +20230,7 @@ export declare namespace MittwaldAPIV2 {
20187
20230
  namespace Responses {
20188
20231
  namespace $204 {
20189
20232
  namespace Content {
20190
- interface ApplicationJson {
20191
- [k: string]: unknown;
20192
- }
20233
+ type Empty = unknown;
20193
20234
  }
20194
20235
  }
20195
20236
  namespace $400 {
@@ -20827,7 +20868,7 @@ export declare namespace MittwaldAPIV2 {
20827
20868
  limit?: number;
20828
20869
  skip?: number;
20829
20870
  page?: number;
20830
- sort?: "name" | "pricing.priceInCents";
20871
+ sort?: "name" | "pricing.priceInCents" | "relevance";
20831
20872
  order?: "asc" | "desc";
20832
20873
  };
20833
20874
  }
@@ -31406,5 +31447,146 @@ export declare namespace MittwaldAPIV2 {
31406
31447
  }
31407
31448
  }
31408
31449
  }
31450
+ namespace V2AppInstallationsAppInstallationIdActionsDetachStaging {
31451
+ namespace Post {
31452
+ namespace Parameters {
31453
+ type Path = {
31454
+ appInstallationId: string;
31455
+ };
31456
+ interface RequestBody {
31457
+ description: string;
31458
+ }
31459
+ type Header = {};
31460
+ type Query = {};
31461
+ }
31462
+ namespace Responses {
31463
+ namespace $200 {
31464
+ namespace Content {
31465
+ type Empty = unknown;
31466
+ }
31467
+ }
31468
+ namespace $404 {
31469
+ namespace Content {
31470
+ interface ApplicationJson {
31471
+ [k: string]: unknown;
31472
+ }
31473
+ }
31474
+ }
31475
+ namespace $412 {
31476
+ namespace Content {
31477
+ interface ApplicationJson {
31478
+ [k: string]: unknown;
31479
+ }
31480
+ }
31481
+ }
31482
+ namespace $429 {
31483
+ namespace Content {
31484
+ interface ApplicationJson {
31485
+ [k: string]: unknown;
31486
+ }
31487
+ }
31488
+ }
31489
+ namespace Default {
31490
+ namespace Content {
31491
+ interface ApplicationJson {
31492
+ [k: string]: unknown;
31493
+ }
31494
+ }
31495
+ }
31496
+ }
31497
+ }
31498
+ }
31499
+ namespace V2AppInstallationsAppInstallationIdActionsPromoteStaging {
31500
+ namespace Post {
31501
+ namespace Parameters {
31502
+ type Path = {
31503
+ appInstallationId: string;
31504
+ };
31505
+ type Header = {};
31506
+ type Query = {};
31507
+ }
31508
+ namespace Responses {
31509
+ namespace $200 {
31510
+ namespace Content {
31511
+ type Empty = unknown;
31512
+ }
31513
+ }
31514
+ namespace $404 {
31515
+ namespace Content {
31516
+ interface ApplicationJson {
31517
+ [k: string]: unknown;
31518
+ }
31519
+ }
31520
+ }
31521
+ namespace $412 {
31522
+ namespace Content {
31523
+ interface ApplicationJson {
31524
+ [k: string]: unknown;
31525
+ }
31526
+ }
31527
+ }
31528
+ namespace $429 {
31529
+ namespace Content {
31530
+ interface ApplicationJson {
31531
+ [k: string]: unknown;
31532
+ }
31533
+ }
31534
+ }
31535
+ namespace Default {
31536
+ namespace Content {
31537
+ interface ApplicationJson {
31538
+ [k: string]: unknown;
31539
+ }
31540
+ }
31541
+ }
31542
+ }
31543
+ }
31544
+ }
31545
+ namespace V2AppInstallationsAppInstallationIdActionsStaging {
31546
+ namespace Post {
31547
+ namespace Parameters {
31548
+ type Path = {
31549
+ appInstallationId: string;
31550
+ };
31551
+ interface RequestBody {
31552
+ description: string;
31553
+ domain: string;
31554
+ installationPath?: string;
31555
+ }
31556
+ type Header = {};
31557
+ type Query = {};
31558
+ }
31559
+ namespace Responses {
31560
+ namespace $201 {
31561
+ namespace Content {
31562
+ interface ApplicationJson {
31563
+ id: string;
31564
+ }
31565
+ }
31566
+ }
31567
+ namespace $404 {
31568
+ namespace Content {
31569
+ interface ApplicationJson {
31570
+ [k: string]: unknown;
31571
+ }
31572
+ }
31573
+ }
31574
+ namespace $429 {
31575
+ namespace Content {
31576
+ interface ApplicationJson {
31577
+ [k: string]: unknown;
31578
+ }
31579
+ }
31580
+ }
31581
+ namespace Default {
31582
+ namespace Content {
31583
+ interface ApplicationJson {
31584
+ [k: string]: unknown;
31585
+ }
31586
+ }
31587
+ }
31588
+ }
31589
+ }
31590
+ }
31409
31591
  }
31410
31592
  }
@@ -160,6 +160,8 @@ declare const buildAppApi: (baseClient: MittwaldAPIV3NextClient) => {
160
160
  screenshotId?: string | undefined;
161
161
  screenshotRef?: string | undefined;
162
162
  shortId: string;
163
+ sourceAppInstallationId?: string | undefined;
164
+ staging?: boolean | undefined;
163
165
  systemSoftware: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppInstalledSystemSoftware[];
164
166
  updateAvailable: boolean;
165
167
  updatePolicy: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppAppUpdatePolicy;
@@ -1412,6 +1414,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV3NextClient) => {
1412
1414
  blocked?: boolean | undefined;
1413
1415
  context?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceContext | undefined;
1414
1416
  contributorId: string;
1417
+ createdAt?: string | undefined;
1415
1418
  deletionDeadline?: string | undefined;
1416
1419
  deprecation?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExtensionDeprecation | undefined;
1417
1420
  description?: string | undefined;
@@ -1430,6 +1433,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV3NextClient) => {
1430
1433
  pricing?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceMonthlyPricePlanStrategy | undefined;
1431
1434
  pricingDetails?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplacePricePlanDetails | undefined;
1432
1435
  published: boolean;
1436
+ publishedAt?: string | undefined;
1433
1437
  requestedChanges?: {
1434
1438
  context?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceContext;
1435
1439
  purgeScopes?: boolean;
@@ -1639,7 +1643,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV3NextClient) => {
1639
1643
  limit?: number | undefined;
1640
1644
  skip?: number | undefined;
1641
1645
  page?: number | undefined;
1642
- sort?: "name" | "pricing.priceInCents" | undefined;
1646
+ sort?: "name" | "pricing.priceInCents" | "relevance" | undefined;
1643
1647
  order?: "asc" | "desc" | undefined;
1644
1648
  } | undefined;
1645
1649
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExtension[]>;
@@ -1985,7 +1989,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV3NextClient) => {
1985
1989
  creationDate: string;
1986
1990
  customerId: string;
1987
1991
  customerNumber: string;
1988
- deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor")[] | undefined;
1992
+ deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor" | "hasOrdersInProgress")[] | undefined;
1989
1993
  executingUserRoles?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCustomerRole[] | undefined;
1990
1994
  flags?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCustomerCustomerFlag[] | undefined;
1991
1995
  isAllowedToPlaceOrders?: boolean | undefined;