@mittwald/api-client 4.386.0 → 4.387.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.
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.385.0';
1
+ export const MittwaldAPIClientVersion = '4.386.0';
@@ -1732,6 +1732,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
1732
1732
  cronjobId: string;
1733
1733
  headers?: {
1734
1734
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1735
+ "Accept-Language"?: "de" | "en" | undefined;
1735
1736
  "x-access-token"?: string | undefined;
1736
1737
  } | undefined;
1737
1738
  }) => import("@mittwald/react-use-promise").AsyncResource<{
@@ -13808,6 +13808,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13808
13808
  cronjobId: string;
13809
13809
  headers?: {
13810
13810
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
13811
+ "Accept-Language"?: "de" | "en" | undefined;
13811
13812
  "x-access-token"?: string | undefined;
13812
13813
  } | undefined;
13813
13814
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
@@ -13821,6 +13822,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13821
13822
  };
13822
13823
  } & {
13823
13824
  headers: {
13825
+ "Accept-Language"?: "de" | "en" | undefined;
13824
13826
  "x-access-token"?: string | undefined;
13825
13827
  } & Partial<{
13826
13828
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -13850,6 +13852,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13850
13852
  };
13851
13853
  } & {
13852
13854
  headers: {
13855
+ "Accept-Language"?: "de" | "en" | undefined;
13853
13856
  "x-access-token"?: string | undefined;
13854
13857
  } & Partial<{
13855
13858
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -5582,19 +5582,49 @@ export declare namespace MittwaldAPIV2 {
5582
5582
  machineType: string;
5583
5583
  }
5584
5584
  interface ArticleArticleAddons {
5585
+ /**
5586
+ * Defines if the Addon should not be shown.
5587
+ */
5585
5588
  hidden?: boolean;
5589
+ /**
5590
+ * Unique key of the Addon.
5591
+ */
5586
5592
  key: string;
5593
+ /**
5594
+ * The type/category of the addon.
5595
+ */
5587
5596
  type?: string;
5597
+ /**
5598
+ * Value of the Addon, e.g. configuration details, status, or modifier properties.
5599
+ */
5588
5600
  value: string;
5601
+ /**
5602
+ * Used if Articles are ordered as a batch.
5603
+ */
5589
5604
  valueMergeType?: "add" | "set";
5590
5605
  }
5591
5606
  interface ArticleArticleAttributes {
5607
+ /**
5608
+ * Used if there are custom configurations needed for an Order like a Server name.
5609
+ */
5592
5610
  customerEditable?: boolean;
5593
5611
  key: string;
5612
+ /**
5613
+ * Used if Articles are ordered as a batch.
5614
+ */
5594
5615
  mergeType?: "add" | "set";
5616
+ /**
5617
+ * Used if not need for an Order.
5618
+ */
5595
5619
  readonly?: boolean;
5596
5620
  required?: boolean;
5621
+ /**
5622
+ * Used if Articles are ordered as a batch.
5623
+ */
5597
5624
  unit?: string;
5625
+ /**
5626
+ * Will be ignored if customerEditable is set.
5627
+ */
5598
5628
  value?: string;
5599
5629
  }
5600
5630
  interface ArticleReadableBookableArticleOptions {
@@ -5645,14 +5675,32 @@ export declare namespace MittwaldAPIV2 {
5645
5675
  addons?: MittwaldAPIV2.Components.Schemas.ArticleArticleAddons[];
5646
5676
  articleId: string;
5647
5677
  attributes?: MittwaldAPIV2.Components.Schemas.ArticleArticleAttributes[];
5678
+ /**
5679
+ * @deprecated
5680
+ */
5648
5681
  balanceAddonKey?: string;
5649
5682
  contractDurationInMonth: number;
5650
5683
  description?: string;
5684
+ /**
5685
+ * If set, the Article will always be invoiced for the given months.
5686
+ */
5651
5687
  forcedInvoicingPeriodInMonth?: number;
5688
+ /**
5689
+ * Article has a contract period which is not dependent on the Contract Base Item.
5690
+ */
5652
5691
  hasIndependentContractPeriod?: boolean;
5692
+ /**
5693
+ * Free Article that is not showing on Invoices.
5694
+ */
5653
5695
  hideOnInvoice?: boolean;
5696
+ /**
5697
+ * Resources for hosting Articles.
5698
+ */
5654
5699
  machineType?: {
5655
5700
  cpu: string;
5701
+ /**
5702
+ * Memory in GiB
5703
+ */
5656
5704
  memory: string;
5657
5705
  name: string;
5658
5706
  };
@@ -5663,6 +5711,9 @@ export declare namespace MittwaldAPIV2 {
5663
5711
  */
5664
5712
  orderable: "full" | "forbidden" | "internal" | "beta_testing" | "deprecated";
5665
5713
  possibleArticleChanges?: MittwaldAPIV2.Components.Schemas.ArticleReadableChangeArticleOptions[];
5714
+ /**
5715
+ * Monthly price in Eurocent
5716
+ */
5666
5717
  price?: number;
5667
5718
  tags?: MittwaldAPIV2.Components.Schemas.ArticleArticleTag[];
5668
5719
  template: MittwaldAPIV2.Components.Schemas.ArticleArticleTemplate;
@@ -6392,32 +6443,32 @@ export declare namespace MittwaldAPIV2 {
6392
6443
  domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6393
6444
  };
6394
6445
  }
6395
- interface ActivitylogDnsTxtRecordSet {
6446
+ interface ActivitylogDnsARecordSet {
6396
6447
  changes: {
6397
6448
  after?: {
6398
- txt: string[];
6449
+ aRecords: string[];
6450
+ aaaaRecords: string[];
6399
6451
  };
6400
6452
  before?: {
6401
- txt: string[];
6453
+ aRecords: string[];
6454
+ aaaaRecords: string[];
6402
6455
  };
6403
6456
  };
6404
- name: "dns.txt-record-set";
6457
+ name: "dns.a-record-set";
6405
6458
  parameters: {
6406
6459
  domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6407
6460
  };
6408
6461
  }
6409
- interface ActivitylogDnsARecordSet {
6462
+ interface ActivitylogDnsTxtRecordSet {
6410
6463
  changes: {
6411
6464
  after?: {
6412
- aRecords: string[];
6413
- aaaaRecords: string[];
6465
+ txt: string[];
6414
6466
  };
6415
6467
  before?: {
6416
- aRecords: string[];
6417
- aaaaRecords: string[];
6468
+ txt: string[];
6418
6469
  };
6419
6470
  };
6420
- name: "dns.a-record-set";
6471
+ name: "dns.txt-record-set";
6421
6472
  parameters: {
6422
6473
  domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6423
6474
  };
@@ -6495,19 +6546,18 @@ export declare namespace MittwaldAPIV2 {
6495
6546
  name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6496
6547
  };
6497
6548
  }
6498
- interface ActivitylogDatabaseVersionSet {
6549
+ interface ActivitylogDnsCnameRecordSet {
6499
6550
  changes: {
6500
6551
  after?: {
6501
- version: string;
6552
+ cname: string;
6502
6553
  };
6503
6554
  before?: {
6504
- version: string;
6555
+ cname: string;
6505
6556
  };
6506
6557
  };
6507
- name: "database.mysql-version-set" | "database.redis-version-set";
6558
+ name: "dns.cname-record-set";
6508
6559
  parameters: {
6509
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6510
- version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6560
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6511
6561
  };
6512
6562
  }
6513
6563
  interface ActivitylogDatabaseCreated {
@@ -6529,18 +6579,19 @@ export declare namespace MittwaldAPIV2 {
6529
6579
  version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6530
6580
  };
6531
6581
  }
6532
- interface ActivitylogDnsCnameRecordSet {
6582
+ interface ActivitylogDatabaseVersionSet {
6533
6583
  changes: {
6534
6584
  after?: {
6535
- cname: string;
6585
+ version: string;
6536
6586
  };
6537
6587
  before?: {
6538
- cname: string;
6588
+ version: string;
6539
6589
  };
6540
6590
  };
6541
- name: "dns.cname-record-set";
6591
+ name: "database.mysql-version-set" | "database.redis-version-set";
6542
6592
  parameters: {
6543
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6593
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6594
+ version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6544
6595
  };
6545
6596
  }
6546
6597
  interface ActivitylogDatabaseMysqlUserDeleted {
@@ -6551,20 +6602,6 @@ export declare namespace MittwaldAPIV2 {
6551
6602
  name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6552
6603
  };
6553
6604
  }
6554
- interface ActivitylogDnsZoneCreated {
6555
- changes: {
6556
- after?: {
6557
- domain: string;
6558
- };
6559
- before?: {
6560
- domain: string | null;
6561
- };
6562
- };
6563
- name: "dns.zone-created";
6564
- parameters: {
6565
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6566
- };
6567
- }
6568
6605
  interface ActivitylogDatabaseMysqlUserCreated {
6569
6606
  changes: {
6570
6607
  after?: {
@@ -6600,6 +6637,20 @@ export declare namespace MittwaldAPIV2 {
6600
6637
  domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6601
6638
  };
6602
6639
  }
6640
+ interface ActivitylogDnsZoneCreated {
6641
+ changes: {
6642
+ after?: {
6643
+ domain: string;
6644
+ };
6645
+ before?: {
6646
+ domain: string | null;
6647
+ };
6648
+ };
6649
+ name: "dns.zone-created";
6650
+ parameters: {
6651
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6652
+ };
6653
+ }
6603
6654
  interface CommonsAddress {
6604
6655
  street: string;
6605
6656
  houseNumber: string;
@@ -14111,7 +14162,9 @@ export declare namespace MittwaldAPIV2 {
14111
14162
  executionId: string;
14112
14163
  cronjobId: string;
14113
14164
  };
14114
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14165
+ type Header = {
14166
+ "Accept-Language"?: "de" | "en";
14167
+ } & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14115
14168
  type Query = {};
14116
14169
  }
14117
14170
  namespace Responses {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.385.0';
1
+ export declare const MittwaldAPIClientVersion = '4.386.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.386.0",
3
+ "version": "4.387.0",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",
@@ -46,11 +46,11 @@
46
46
  "test:compile": "run tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@mittwald/api-client-commons": "^4.386.0",
49
+ "@mittwald/api-client-commons": "^4.387.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.386.0",
53
+ "@mittwald/api-code-generator": "^4.387.0",
54
54
  "@mittwald/react-use-promise": "^2.6.2",
55
55
  "@types/node": "^22.18.11",
56
56
  "@types/react": "^18.3.26",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "6b8cfefd8f401066c050ad601aca8fd6f99514ca"
83
+ "gitHead": "0dc69cd0f26e93c307dc6e465abb8f10fccc3232"
84
84
  }