@mittwald/api-client 1.0.0-alpha.12 → 1.0.0-alpha.13

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.
package/README.md CHANGED
@@ -20,50 +20,12 @@ update your code with subsequent versions.
20
20
 
21
21
  ## Installing
22
22
 
23
- ### With Yarn
24
-
25
- #### Install Yarn 4
26
-
27
- At this moment you need to use Yarn 4 due to this
28
- [registry login issue](https://github.com/yarnpkg/berry/issues/4341#issuecomment-1477122723).
29
-
30
- ```shell
31
- yarn set version berry
32
- yarn set version 4
33
- ```
34
-
35
- #### Configure package registry
36
-
37
- In order to install the package from https://npm.pkg.github.com, you must
38
- configure the `mittwald` scope.
39
-
40
- ```shell
41
- yarn config set npmScopes.mittwald.npmRegistryServer https://npm.pkg.github.com
42
- ```
43
-
44
- Login to the registry. **You need a personal access token with with the `repo`,
45
- `write:packages`, and `read:packages` permissions.**
46
-
47
- ```shell
48
- yarn npm login --scope mittwald
49
- ```
50
-
51
- Alternatively you can add the token to the config. Do not commit the
52
- `.yarnrc.yml` file to VCS when using this method!
53
-
54
- ```shell
55
- yarn config set npmScopes.mittwald.npmAuthToken <TOKEN>
56
- ```
57
-
58
- Now you can install the package as usual.
23
+ You can install this package from the regular NPM registry:
59
24
 
60
25
  ```shell
61
26
  yarn add @mittwald/api-client
62
27
  ```
63
28
 
64
- Also see the section on [working with the npm registry][pkg-auth] in the Github
65
- docs.
66
-
67
29
  ## Usage
68
30
 
69
31
  Import the client:
@@ -927,198 +927,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
927
927
  "x-access-token"?: string | undefined;
928
928
  };
929
929
  }, import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Components.Schemas.InvoiceInvoiceSettings, 200, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesettings.Put.Responses.$400.Content.ApplicationJson, 400, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesettings.Put.Responses.$404.Content.ApplicationJson, 404, "application/json">>>;
930
- /** Prospace tariff change order */
931
- deprecatedOrderChangeProjecthosting: (request: {
932
- data: {
933
- [x: string]: unknown;
934
- };
935
- pathParameters?: {} | undefined;
936
- headers?: {
937
- "x-access-token"?: string | undefined;
938
- } | undefined;
939
- }) => import("@mittwald/api-client-commons/dist/types/RequestFunction.js").ResponsePromise<import("@mittwald/api-client-commons/dist/types/OpenAPIOperation.js").OpenAPIOperation<{
940
- data: {
941
- [x: string]: unknown;
942
- };
943
- } & {
944
- pathParameters: {};
945
- } & {
946
- headers: {
947
- "x-access-token"?: string | undefined;
948
- };
949
- }, import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsChangeProjecthosting.Post.Responses.$201.Content.ApplicationJson, 201, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsChangeProjecthosting.Post.Responses.$400.Content.ApplicationJson, 400, "application/json">>>;
950
- /** SpaceServer order */
951
- deprecatedOrderChangeServer: (request: {
952
- data: {
953
- [x: string]: unknown;
954
- };
955
- pathParameters?: {} | undefined;
956
- headers?: {
957
- "x-access-token"?: string | undefined;
958
- } | undefined;
959
- }) => import("@mittwald/api-client-commons/dist/types/RequestFunction.js").ResponsePromise<import("@mittwald/api-client-commons/dist/types/OpenAPIOperation.js").OpenAPIOperation<{
960
- data: {
961
- [x: string]: unknown;
962
- };
963
- } & {
964
- pathParameters: {};
965
- } & {
966
- headers: {
967
- "x-access-token"?: string | undefined;
968
- };
969
- }, import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsChangeServer.Post.Responses.$201.Content.ApplicationJson, 201, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsChangeServer.Post.Responses.$400.Content.ApplicationJson, 400, "application/json">>>;
970
- /** Order a domain. */
971
- deprecatedOrderOrderDomain: (request: {
972
- data: {
973
- [x: string]: unknown;
974
- };
975
- pathParameters?: {} | undefined;
976
- headers?: {
977
- "x-access-token"?: string | undefined;
978
- } | undefined;
979
- }) => import("@mittwald/api-client-commons/dist/types/RequestFunction.js").ResponsePromise<import("@mittwald/api-client-commons/dist/types/OpenAPIOperation.js").OpenAPIOperation<{
980
- data: {
981
- [x: string]: unknown;
982
- };
983
- } & {
984
- pathParameters: {};
985
- } & {
986
- headers: {
987
- "x-access-token"?: string | undefined;
988
- };
989
- }, import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsOrderDomain.Post.Responses.$201.Content.ApplicationJson, 201, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsOrderDomain.Post.Responses.$400.Content.ApplicationJson, 400, "application/json">>>;
990
- /** Prospace order */
991
- deprecatedOrderOrderProjecthosting: (request: {
992
- data: {
993
- [x: string]: unknown;
994
- };
995
- pathParameters?: {} | undefined;
996
- headers?: {
997
- "x-access-token"?: string | undefined;
998
- } | undefined;
999
- }) => import("@mittwald/api-client-commons/dist/types/RequestFunction.js").ResponsePromise<import("@mittwald/api-client-commons/dist/types/OpenAPIOperation.js").OpenAPIOperation<{
1000
- data: {
1001
- [x: string]: unknown;
1002
- };
1003
- } & {
1004
- pathParameters: {};
1005
- } & {
1006
- headers: {
1007
- "x-access-token"?: string | undefined;
1008
- };
1009
- }, import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsOrderProjecthosting.Post.Responses.$201.Content.ApplicationJson, 201, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsOrderProjecthosting.Post.Responses.$400.Content.ApplicationJson, 400, "application/json">>>;
1010
- /** SpaceServer order */
1011
- deprecatedOrderOrderServer: (request: {
1012
- data: {
1013
- [x: string]: unknown;
1014
- };
1015
- pathParameters?: {} | undefined;
1016
- headers?: {
1017
- "x-access-token"?: string | undefined;
1018
- } | undefined;
1019
- }) => import("@mittwald/api-client-commons/dist/types/RequestFunction.js").ResponsePromise<import("@mittwald/api-client-commons/dist/types/OpenAPIOperation.js").OpenAPIOperation<{
1020
- data: {
1021
- [x: string]: unknown;
1022
- };
1023
- } & {
1024
- pathParameters: {};
1025
- } & {
1026
- headers: {
1027
- "x-access-token"?: string | undefined;
1028
- };
1029
- }, import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsOrderServer.Post.Responses.$201.Content.ApplicationJson, 201, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsOrderServer.Post.Responses.$400.Content.ApplicationJson, 400, "application/json">>>;
1030
- /** Preview Prospace tariff change */
1031
- deprecatedOrderPreviewChangeProjecthosting: (request: {
1032
- data: {
1033
- [x: string]: unknown;
1034
- };
1035
- pathParameters?: {} | undefined;
1036
- headers?: {
1037
- "x-access-token"?: string | undefined;
1038
- } | undefined;
1039
- }) => import("@mittwald/api-client-commons/dist/types/RequestFunction.js").ResponsePromise<import("@mittwald/api-client-commons/dist/types/OpenAPIOperation.js").OpenAPIOperation<{
1040
- data: {
1041
- [x: string]: unknown;
1042
- };
1043
- } & {
1044
- pathParameters: {};
1045
- } & {
1046
- headers: {
1047
- "x-access-token"?: string | undefined;
1048
- };
1049
- }, import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewChangeProjecthosting.Post.Responses.$200.Content.ApplicationJson, 200, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewChangeProjecthosting.Post.Responses.$400.Content.ApplicationJson, 400, "application/json">>>;
1050
- /** Preview SpaceServer tariff change */
1051
- deprecatedOrderPreviewChangeServer: (request: {
1052
- data: {
1053
- [x: string]: unknown;
1054
- };
1055
- pathParameters?: {} | undefined;
1056
- headers?: {
1057
- "x-access-token"?: string | undefined;
1058
- } | undefined;
1059
- }) => import("@mittwald/api-client-commons/dist/types/RequestFunction.js").ResponsePromise<import("@mittwald/api-client-commons/dist/types/OpenAPIOperation.js").OpenAPIOperation<{
1060
- data: {
1061
- [x: string]: unknown;
1062
- };
1063
- } & {
1064
- pathParameters: {};
1065
- } & {
1066
- headers: {
1067
- "x-access-token"?: string | undefined;
1068
- };
1069
- }, import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewChangeServer.Post.Responses.$200.Content.ApplicationJson, 200, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewChangeServer.Post.Responses.$400.Content.ApplicationJson, 400, "application/json">>>;
1070
- /** Preview domain order. */
1071
- deprecatedOrderPreviewOrderDomain: (request: {
1072
- data: {
1073
- [x: string]: unknown;
1074
- };
1075
- pathParameters?: {} | undefined;
1076
- headers?: {
1077
- "x-access-token"?: string | undefined;
1078
- } | undefined;
1079
- }) => import("@mittwald/api-client-commons/dist/types/RequestFunction.js").ResponsePromise<import("@mittwald/api-client-commons/dist/types/OpenAPIOperation.js").OpenAPIOperation<{
1080
- data: {
1081
- [x: string]: unknown;
1082
- };
1083
- } & {
1084
- pathParameters: {};
1085
- } & {
1086
- headers: {
1087
- "x-access-token"?: string | undefined;
1088
- };
1089
- }, import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderDomain.Post.Responses.$200.Content.ApplicationJson, 200, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderDomain.Post.Responses.$400.Content.ApplicationJson, 400, "application/json">>>;
1090
- /** Preview Prospace order */
1091
- deprecatedOrderPreviewOrderProjecthosting: (request: {
1092
- data: {
1093
- [x: string]: unknown;
1094
- };
1095
- pathParameters?: {} | undefined;
1096
- headers?: {} | undefined;
1097
- }) => import("@mittwald/api-client-commons/dist/types/RequestFunction.js").ResponsePromise<import("@mittwald/api-client-commons/dist/types/OpenAPIOperation.js").OpenAPIOperation<{
1098
- data: {
1099
- [x: string]: unknown;
1100
- };
1101
- } & {
1102
- pathParameters: {};
1103
- } & {
1104
- headers: {};
1105
- }, import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderProjecthosting.Post.Responses.$200.Content.ApplicationJson, 200, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderProjecthosting.Post.Responses.$400.Content.ApplicationJson, 400, "application/json">>>;
1106
- /** Preview SpaceServer order */
1107
- deprecatedOrderPreviewOrderServer: (request: {
1108
- data: {
1109
- [x: string]: unknown;
1110
- };
1111
- pathParameters?: {} | undefined;
1112
- headers?: {} | undefined;
1113
- }) => import("@mittwald/api-client-commons/dist/types/RequestFunction.js").ResponsePromise<import("@mittwald/api-client-commons/dist/types/OpenAPIOperation.js").OpenAPIOperation<{
1114
- data: {
1115
- [x: string]: unknown;
1116
- };
1117
- } & {
1118
- pathParameters: {};
1119
- } & {
1120
- headers: {};
1121
- }, import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderServer.Post.Responses.$200.Content.ApplicationJson, 200, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderServer.Post.Responses.$400.Content.ApplicationJson, 400, "application/json">>>;
1122
930
  /** Get details of an Invoice. */
1123
931
  invoiceDetailOfInvoice: (request: {
1124
932
  pathParameters: {
@@ -111,26 +111,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
111
111
  deprecatedInvoiceInvoiceSettings: this.requestFunctionFactory(descriptors.deprecatedInvoiceInvoiceSettings),
112
112
  /** Update InvoiceSettings of a Customer. */
113
113
  deprecatedInvoiceUpdateInvoiceSettings: this.requestFunctionFactory(descriptors.deprecatedInvoiceUpdateInvoiceSettings),
114
- /** Prospace tariff change order */
115
- deprecatedOrderChangeProjecthosting: this.requestFunctionFactory(descriptors.deprecatedOrderChangeProjecthosting),
116
- /** SpaceServer order */
117
- deprecatedOrderChangeServer: this.requestFunctionFactory(descriptors.deprecatedOrderChangeServer),
118
- /** Order a domain. */
119
- deprecatedOrderOrderDomain: this.requestFunctionFactory(descriptors.deprecatedOrderOrderDomain),
120
- /** Prospace order */
121
- deprecatedOrderOrderProjecthosting: this.requestFunctionFactory(descriptors.deprecatedOrderOrderProjecthosting),
122
- /** SpaceServer order */
123
- deprecatedOrderOrderServer: this.requestFunctionFactory(descriptors.deprecatedOrderOrderServer),
124
- /** Preview Prospace tariff change */
125
- deprecatedOrderPreviewChangeProjecthosting: this.requestFunctionFactory(descriptors.deprecatedOrderPreviewChangeProjecthosting),
126
- /** Preview SpaceServer tariff change */
127
- deprecatedOrderPreviewChangeServer: this.requestFunctionFactory(descriptors.deprecatedOrderPreviewChangeServer),
128
- /** Preview domain order. */
129
- deprecatedOrderPreviewOrderDomain: this.requestFunctionFactory(descriptors.deprecatedOrderPreviewOrderDomain),
130
- /** Preview Prospace order */
131
- deprecatedOrderPreviewOrderProjecthosting: this.requestFunctionFactory(descriptors.deprecatedOrderPreviewOrderProjecthosting),
132
- /** Preview SpaceServer order */
133
- deprecatedOrderPreviewOrderServer: this.requestFunctionFactory(descriptors.deprecatedOrderPreviewOrderServer),
134
114
  /** Get details of an Invoice. */
135
115
  invoiceDetailOfInvoice: this.requestFunctionFactory(descriptors.invoiceDetailOfInvoice),
136
116
  /** Get InvoiceSettings of a Customer. */
@@ -261,26 +261,6 @@ export declare const databaseUpdateRedisDatabaseDescription: OpenAPIOperation<Re
261
261
  export declare const deprecatedInvoiceInvoiceSettings: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesettings.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesettings.Get.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesettings.Get.Responses.$200.Content.ApplicationJson, 200, "application/json"> | Response<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesettings.Get.Responses.$400.Content.ApplicationJson, 400, "application/json"> | Response<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesettings.Get.Responses.$404.Content.ApplicationJson, 404, "application/json"> | Response<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesettings.Get.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
262
262
  /** Update InvoiceSettings of a Customer. */
263
263
  export declare const deprecatedInvoiceUpdateInvoiceSettings: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesettings.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesettings.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesettings.Put.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesettings.Put.Responses.$200.Content.ApplicationJson, 200, "application/json"> | Response<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesettings.Put.Responses.$400.Content.ApplicationJson, 400, "application/json"> | Response<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesettings.Put.Responses.$404.Content.ApplicationJson, 404, "application/json"> | Response<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvoicesettings.Put.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
264
- /** Prospace tariff change order */
265
- export declare const deprecatedOrderChangeProjecthosting: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2OrdersActionsChangeProjecthosting.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsChangeProjecthosting.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsChangeProjecthosting.Post.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2OrdersActionsChangeProjecthosting.Post.Responses.$201.Content.ApplicationJson, 201, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsChangeProjecthosting.Post.Responses.$400.Content.ApplicationJson, 400, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsChangeProjecthosting.Post.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
266
- /** SpaceServer order */
267
- export declare const deprecatedOrderChangeServer: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2OrdersActionsChangeServer.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsChangeServer.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsChangeServer.Post.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2OrdersActionsChangeServer.Post.Responses.$201.Content.ApplicationJson, 201, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsChangeServer.Post.Responses.$400.Content.ApplicationJson, 400, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsChangeServer.Post.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
268
- /** Order a domain. */
269
- export declare const deprecatedOrderOrderDomain: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2OrdersActionsOrderDomain.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsOrderDomain.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsOrderDomain.Post.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2OrdersActionsOrderDomain.Post.Responses.$201.Content.ApplicationJson, 201, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsOrderDomain.Post.Responses.$400.Content.ApplicationJson, 400, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsOrderDomain.Post.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
270
- /** Prospace order */
271
- export declare const deprecatedOrderOrderProjecthosting: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2OrdersActionsOrderProjecthosting.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsOrderProjecthosting.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsOrderProjecthosting.Post.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2OrdersActionsOrderProjecthosting.Post.Responses.$201.Content.ApplicationJson, 201, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsOrderProjecthosting.Post.Responses.$400.Content.ApplicationJson, 400, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsOrderProjecthosting.Post.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
272
- /** SpaceServer order */
273
- export declare const deprecatedOrderOrderServer: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2OrdersActionsOrderServer.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsOrderServer.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsOrderServer.Post.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2OrdersActionsOrderServer.Post.Responses.$201.Content.ApplicationJson, 201, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsOrderServer.Post.Responses.$400.Content.ApplicationJson, 400, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsOrderServer.Post.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
274
- /** Preview Prospace tariff change */
275
- export declare const deprecatedOrderPreviewChangeProjecthosting: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2OrdersActionsPreviewChangeProjecthosting.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsPreviewChangeProjecthosting.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsPreviewChangeProjecthosting.Post.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewChangeProjecthosting.Post.Responses.$200.Content.ApplicationJson, 200, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewChangeProjecthosting.Post.Responses.$400.Content.ApplicationJson, 400, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewChangeProjecthosting.Post.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
276
- /** Preview SpaceServer tariff change */
277
- export declare const deprecatedOrderPreviewChangeServer: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2OrdersActionsPreviewChangeServer.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsPreviewChangeServer.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsPreviewChangeServer.Post.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewChangeServer.Post.Responses.$200.Content.ApplicationJson, 200, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewChangeServer.Post.Responses.$400.Content.ApplicationJson, 400, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewChangeServer.Post.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
278
- /** Preview domain order. */
279
- export declare const deprecatedOrderPreviewOrderDomain: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderDomain.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderDomain.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderDomain.Post.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderDomain.Post.Responses.$200.Content.ApplicationJson, 200, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderDomain.Post.Responses.$400.Content.ApplicationJson, 400, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderDomain.Post.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
280
- /** Preview Prospace order */
281
- export declare const deprecatedOrderPreviewOrderProjecthosting: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderProjecthosting.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderProjecthosting.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderProjecthosting.Post.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderProjecthosting.Post.Responses.$200.Content.ApplicationJson, 200, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderProjecthosting.Post.Responses.$400.Content.ApplicationJson, 400, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderProjecthosting.Post.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
282
- /** Preview SpaceServer order */
283
- export declare const deprecatedOrderPreviewOrderServer: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderServer.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderServer.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderServer.Post.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderServer.Post.Responses.$200.Content.ApplicationJson, 200, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderServer.Post.Responses.$400.Content.ApplicationJson, 400, "application/json"> | Response<MittwaldAPIV2.Paths.V2OrdersActionsPreviewOrderServer.Post.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
284
264
  /** updates a-records for a specific zone */
285
265
  export declare const dnsRecordAsetCustom: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Responses.$400.Content.ApplicationJson, 400, "application/json"> | Response<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
286
266
  /** set a-records managed by ingress for a specific zone */
@@ -772,66 +772,6 @@ export const deprecatedInvoiceUpdateInvoiceSettings = {
772
772
  method: "PUT",
773
773
  operationId: "deprecated-invoice-update-invoice-settings",
774
774
  };
775
- /** Prospace tariff change order */
776
- export const deprecatedOrderChangeProjecthosting = {
777
- path: "/v2/orders/actions/change-projecthosting",
778
- method: "POST",
779
- operationId: "deprecated-order-change-projecthosting",
780
- };
781
- /** SpaceServer order */
782
- export const deprecatedOrderChangeServer = {
783
- path: "/v2/orders/actions/change-server",
784
- method: "POST",
785
- operationId: "deprecated-order-change-server",
786
- };
787
- /** Order a domain. */
788
- export const deprecatedOrderOrderDomain = {
789
- path: "/v2/orders/actions/order-domain",
790
- method: "POST",
791
- operationId: "deprecated-order-order-domain",
792
- };
793
- /** Prospace order */
794
- export const deprecatedOrderOrderProjecthosting = {
795
- path: "/v2/orders/actions/order-projecthosting",
796
- method: "POST",
797
- operationId: "deprecated-order-order-projecthosting",
798
- };
799
- /** SpaceServer order */
800
- export const deprecatedOrderOrderServer = {
801
- path: "/v2/orders/actions/order-server",
802
- method: "POST",
803
- operationId: "deprecated-order-order-server",
804
- };
805
- /** Preview Prospace tariff change */
806
- export const deprecatedOrderPreviewChangeProjecthosting = {
807
- path: "/v2/orders/actions/preview-change-projecthosting",
808
- method: "POST",
809
- operationId: "deprecated-order-preview-change-projecthosting",
810
- };
811
- /** Preview SpaceServer tariff change */
812
- export const deprecatedOrderPreviewChangeServer = {
813
- path: "/v2/orders/actions/preview-change-server",
814
- method: "POST",
815
- operationId: "deprecated-order-preview-change-server",
816
- };
817
- /** Preview domain order. */
818
- export const deprecatedOrderPreviewOrderDomain = {
819
- path: "/v2/orders/actions/preview-order-domain",
820
- method: "POST",
821
- operationId: "deprecated-order-preview-order-domain",
822
- };
823
- /** Preview Prospace order */
824
- export const deprecatedOrderPreviewOrderProjecthosting = {
825
- path: "/v2/orders/actions/preview-order-projecthosting",
826
- method: "POST",
827
- operationId: "deprecated-order-preview-order-projecthosting",
828
- };
829
- /** Preview SpaceServer order */
830
- export const deprecatedOrderPreviewOrderServer = {
831
- path: "/v2/orders/actions/preview-order-server",
832
- method: "POST",
833
- operationId: "deprecated-order-preview-order-server",
834
- };
835
775
  /** updates a-records for a specific zone */
836
776
  export const dnsRecordAsetCustom = {
837
777
  path: "/v2/dns/zones/{zoneId}/recordset/acombined/custom",
@@ -1490,6 +1490,9 @@ declare namespace MittwaldAPIV2 {
1490
1490
  contractChangeContractId?: string;
1491
1491
  customerId: string;
1492
1492
  dueDate?: string;
1493
+ /**
1494
+ * Invoicing period in months
1495
+ */
1493
1496
  invoicingPeriod: number;
1494
1497
  items: MittwaldAPIV2.Components.Schemas.OrderOrderItem[];
1495
1498
  offerId?: string;
@@ -1497,7 +1500,6 @@ declare namespace MittwaldAPIV2 {
1497
1500
  orderId: string;
1498
1501
  orderNumber: string;
1499
1502
  profile?: MittwaldAPIV2.Components.Schemas.OrderProfile;
1500
- refLink?: string;
1501
1503
  status: MittwaldAPIV2.Components.Schemas.OrderOrderStatus;
1502
1504
  summary: MittwaldAPIV2.Components.Schemas.OrderOrderSummary;
1503
1505
  type: MittwaldAPIV2.Components.Schemas.OrderOrderType;
@@ -1569,6 +1571,9 @@ declare namespace MittwaldAPIV2 {
1569
1571
  export interface OrderOrderSummary {
1570
1572
  nonRecurring: number;
1571
1573
  recurring: number;
1574
+ /**
1575
+ * The total price of the order
1576
+ */
1572
1577
  summary: number;
1573
1578
  }
1574
1579
 
@@ -1613,6 +1618,7 @@ declare namespace MittwaldAPIV2 {
1613
1618
  spec:
1614
1619
  | MittwaldAPIV2.Components.Schemas.OrderMachineTypeSpec
1615
1620
  | MittwaldAPIV2.Components.Schemas.OrderHardwareSpec;
1621
+ useFreeTrial?: boolean;
1616
1622
  }
1617
1623
 
1618
1624
  export interface OrderProjectHostingTariffChange {
@@ -7940,435 +7946,6 @@ declare namespace MittwaldAPIV2 {
7940
7946
  }
7941
7947
  }
7942
7948
 
7943
- namespace V2OrdersActionsChangeProjecthosting {
7944
- namespace Post {
7945
- namespace Parameters {
7946
- export type Path = {};
7947
-
7948
- export interface RequestBody {
7949
- [k: string]: unknown;
7950
- }
7951
-
7952
- export type Header =
7953
- {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
7954
-
7955
- export type Query = {};
7956
- }
7957
- namespace Responses {
7958
- namespace $201 {
7959
- namespace Content {
7960
- export interface ApplicationJson {
7961
- orderId: string;
7962
- }
7963
- }
7964
- }
7965
-
7966
- namespace $400 {
7967
- namespace Content {
7968
- export interface ApplicationJson {
7969
- [k: string]: unknown;
7970
- }
7971
- }
7972
- }
7973
-
7974
- namespace Default {
7975
- namespace Content {
7976
- export interface ApplicationJson {
7977
- [k: string]: unknown;
7978
- }
7979
- }
7980
- }
7981
- }
7982
- }
7983
- }
7984
-
7985
- namespace V2OrdersActionsChangeServer {
7986
- namespace Post {
7987
- namespace Parameters {
7988
- export type Path = {};
7989
-
7990
- export interface RequestBody {
7991
- [k: string]: unknown;
7992
- }
7993
-
7994
- export type Header =
7995
- {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
7996
-
7997
- export type Query = {};
7998
- }
7999
- namespace Responses {
8000
- namespace $201 {
8001
- namespace Content {
8002
- export interface ApplicationJson {
8003
- orderId: string;
8004
- }
8005
- }
8006
- }
8007
-
8008
- namespace $400 {
8009
- namespace Content {
8010
- export interface ApplicationJson {
8011
- [k: string]: unknown;
8012
- }
8013
- }
8014
- }
8015
-
8016
- namespace Default {
8017
- namespace Content {
8018
- export interface ApplicationJson {
8019
- [k: string]: unknown;
8020
- }
8021
- }
8022
- }
8023
- }
8024
- }
8025
- }
8026
-
8027
- namespace V2OrdersActionsOrderDomain {
8028
- namespace Post {
8029
- namespace Parameters {
8030
- export type Path = {};
8031
-
8032
- export interface RequestBody {
8033
- [k: string]: unknown;
8034
- }
8035
-
8036
- export type Header =
8037
- {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
8038
-
8039
- export type Query = {};
8040
- }
8041
- namespace Responses {
8042
- namespace $201 {
8043
- namespace Content {
8044
- export interface ApplicationJson {
8045
- dueDate?: string;
8046
- orderId: string;
8047
- }
8048
- }
8049
- }
8050
-
8051
- namespace $400 {
8052
- namespace Content {
8053
- export interface ApplicationJson {
8054
- [k: string]: unknown;
8055
- }
8056
- }
8057
- }
8058
-
8059
- namespace Default {
8060
- namespace Content {
8061
- export interface ApplicationJson {
8062
- [k: string]: unknown;
8063
- }
8064
- }
8065
- }
8066
- }
8067
- }
8068
- }
8069
-
8070
- namespace V2OrdersActionsOrderProjecthosting {
8071
- namespace Post {
8072
- namespace Parameters {
8073
- export type Path = {};
8074
-
8075
- export interface RequestBody {
8076
- [k: string]: unknown;
8077
- }
8078
-
8079
- export type Header =
8080
- {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
8081
-
8082
- export type Query = {};
8083
- }
8084
- namespace Responses {
8085
- namespace $201 {
8086
- namespace Content {
8087
- export interface ApplicationJson {
8088
- orderId: string;
8089
- }
8090
- }
8091
- }
8092
-
8093
- namespace $400 {
8094
- namespace Content {
8095
- export interface ApplicationJson {
8096
- [k: string]: unknown;
8097
- }
8098
- }
8099
- }
8100
-
8101
- namespace Default {
8102
- namespace Content {
8103
- export interface ApplicationJson {
8104
- [k: string]: unknown;
8105
- }
8106
- }
8107
- }
8108
- }
8109
- }
8110
- }
8111
-
8112
- namespace V2OrdersActionsOrderServer {
8113
- namespace Post {
8114
- namespace Parameters {
8115
- export type Path = {};
8116
-
8117
- export interface RequestBody {
8118
- [k: string]: unknown;
8119
- }
8120
-
8121
- export type Header =
8122
- {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
8123
-
8124
- export type Query = {};
8125
- }
8126
- namespace Responses {
8127
- namespace $201 {
8128
- namespace Content {
8129
- export interface ApplicationJson {
8130
- orderId: string;
8131
- }
8132
- }
8133
- }
8134
-
8135
- namespace $400 {
8136
- namespace Content {
8137
- export interface ApplicationJson {
8138
- [k: string]: unknown;
8139
- }
8140
- }
8141
- }
8142
-
8143
- namespace Default {
8144
- namespace Content {
8145
- export interface ApplicationJson {
8146
- [k: string]: unknown;
8147
- }
8148
- }
8149
- }
8150
- }
8151
- }
8152
- }
8153
-
8154
- namespace V2OrdersActionsPreviewChangeProjecthosting {
8155
- namespace Post {
8156
- namespace Parameters {
8157
- export type Path = {};
8158
-
8159
- export interface RequestBody {
8160
- [k: string]: unknown;
8161
- }
8162
-
8163
- export type Header =
8164
- {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
8165
-
8166
- export type Query = {};
8167
- }
8168
- namespace Responses {
8169
- namespace $200 {
8170
- namespace Content {
8171
- export interface ApplicationJson {
8172
- machineTypePrice: number;
8173
- storagePrice: number;
8174
- totalPrice: number;
8175
- }
8176
- }
8177
- }
8178
-
8179
- namespace $400 {
8180
- namespace Content {
8181
- export interface ApplicationJson {
8182
- [k: string]: unknown;
8183
- }
8184
- }
8185
- }
8186
-
8187
- namespace Default {
8188
- namespace Content {
8189
- export interface ApplicationJson {
8190
- [k: string]: unknown;
8191
- }
8192
- }
8193
- }
8194
- }
8195
- }
8196
- }
8197
-
8198
- namespace V2OrdersActionsPreviewChangeServer {
8199
- namespace Post {
8200
- namespace Parameters {
8201
- export type Path = {};
8202
-
8203
- export interface RequestBody {
8204
- [k: string]: unknown;
8205
- }
8206
-
8207
- export type Header =
8208
- {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
8209
-
8210
- export type Query = {};
8211
- }
8212
- namespace Responses {
8213
- namespace $200 {
8214
- namespace Content {
8215
- export interface ApplicationJson {
8216
- machineTypePrice: number;
8217
- storagePrice: number;
8218
- totalPrice: number;
8219
- }
8220
- }
8221
- }
8222
-
8223
- namespace $400 {
8224
- namespace Content {
8225
- export interface ApplicationJson {
8226
- [k: string]: unknown;
8227
- }
8228
- }
8229
- }
8230
-
8231
- namespace Default {
8232
- namespace Content {
8233
- export interface ApplicationJson {
8234
- [k: string]: unknown;
8235
- }
8236
- }
8237
- }
8238
- }
8239
- }
8240
- }
8241
-
8242
- namespace V2OrdersActionsPreviewOrderDomain {
8243
- namespace Post {
8244
- namespace Parameters {
8245
- export type Path = {};
8246
-
8247
- export interface RequestBody {
8248
- [k: string]: unknown;
8249
- }
8250
-
8251
- export type Header =
8252
- {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
8253
-
8254
- export type Query = {};
8255
- }
8256
- namespace Responses {
8257
- namespace $200 {
8258
- namespace Content {
8259
- export interface ApplicationJson {
8260
- domainPrice?: number;
8261
- feePrice?: number;
8262
- totalPrice?: number;
8263
- }
8264
- }
8265
- }
8266
-
8267
- namespace $400 {
8268
- namespace Content {
8269
- export interface ApplicationJson {
8270
- [k: string]: unknown;
8271
- }
8272
- }
8273
- }
8274
-
8275
- namespace Default {
8276
- namespace Content {
8277
- export interface ApplicationJson {
8278
- [k: string]: unknown;
8279
- }
8280
- }
8281
- }
8282
- }
8283
- }
8284
- }
8285
-
8286
- namespace V2OrdersActionsPreviewOrderProjecthosting {
8287
- namespace Post {
8288
- namespace Parameters {
8289
- export type Path = {};
8290
-
8291
- export interface RequestBody {
8292
- [k: string]: unknown;
8293
- }
8294
-
8295
- export type Header = {};
8296
-
8297
- export type Query = {};
8298
- }
8299
- namespace Responses {
8300
- namespace $200 {
8301
- namespace Content {
8302
- export interface ApplicationJson {
8303
- machineTypePrice: number;
8304
- storagePrice: number;
8305
- totalPrice: number;
8306
- }
8307
- }
8308
- }
8309
-
8310
- namespace $400 {
8311
- namespace Content {
8312
- export interface ApplicationJson {
8313
- [k: string]: unknown;
8314
- }
8315
- }
8316
- }
8317
-
8318
- namespace Default {
8319
- namespace Content {
8320
- export interface ApplicationJson {
8321
- [k: string]: unknown;
8322
- }
8323
- }
8324
- }
8325
- }
8326
- }
8327
- }
8328
-
8329
- namespace V2OrdersActionsPreviewOrderServer {
8330
- namespace Post {
8331
- namespace Parameters {
8332
- export type Path = {};
8333
-
8334
- export interface RequestBody {
8335
- [k: string]: unknown;
8336
- }
8337
-
8338
- export type Header = {};
8339
-
8340
- export type Query = {};
8341
- }
8342
- namespace Responses {
8343
- namespace $200 {
8344
- namespace Content {
8345
- export interface ApplicationJson {
8346
- machineTypePrice: number;
8347
- storagePrice: number;
8348
- totalPrice: number;
8349
- }
8350
- }
8351
- }
8352
-
8353
- namespace $400 {
8354
- namespace Content {
8355
- export interface ApplicationJson {
8356
- [k: string]: unknown;
8357
- }
8358
- }
8359
- }
8360
-
8361
- namespace Default {
8362
- namespace Content {
8363
- export interface ApplicationJson {
8364
- [k: string]: unknown;
8365
- }
8366
- }
8367
- }
8368
- }
8369
- }
8370
- }
8371
-
8372
7949
  namespace V2DnsZonesZoneIdRecordsetAcombinedCustom {
8373
7950
  namespace Put {
8374
7951
  namespace Parameters {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
3
  "description": "Auto-generated client for the mittwald API",
4
- "version": "1.0.0-alpha.12",
4
+ "version": "1.0.0-alpha.13",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/mittwald/api-client-js.git",
7
7
  "homepage": "https://developer.mittwald.de",