@mittwald/api-client 4.7.0 → 4.8.1
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/dist/esm/generated/v2/client.js +2 -2
- package/dist/esm/generated/v2/descriptors.js +6 -6
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client.d.ts +31 -29
- package/dist/types/generated/v2/descriptors.d.ts +2 -2
- package/dist/types/generated/v2/types.d.ts +53 -46
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -337,8 +337,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
337
337
|
checkDomainRegistrability: this.requestFunctionFactory(descriptors.domainCheckDomainRegistrability),
|
|
338
338
|
/** List Domains */
|
|
339
339
|
listDomains: this.requestFunctionFactory(descriptors.domainListDomains),
|
|
340
|
-
/** Check if a Domain is available to transfer. */
|
|
341
|
-
checkDomainTransferability: this.requestFunctionFactory(descriptors.domainCheckDomainTransferability),
|
|
342
340
|
/** Create an auth code for a Domains transfer-out process. */
|
|
343
341
|
createDomainAuthCode: this.requestFunctionFactory(descriptors.domainCreateDomainAuthCode),
|
|
344
342
|
/** Update the nameservers of a Domain. */
|
|
@@ -377,6 +375,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
377
375
|
ingressRequestIngressAcmeCertificateIssuance: this.requestFunctionFactory(descriptors.ingressRequestIngressAcmeCertificateIssuance),
|
|
378
376
|
/** Update the tls settings of an Ingress. */
|
|
379
377
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
378
|
+
/** Check if a Domain is available to transfer. */
|
|
379
|
+
checkDomainTransferability: this.requestFunctionFactory(descriptors.domainCheckDomainTransferability),
|
|
380
380
|
};
|
|
381
381
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
382
382
|
file = {
|
|
@@ -802,12 +802,6 @@ export const domainListDomains = {
|
|
|
802
802
|
method: "GET",
|
|
803
803
|
operationId: "domain-list-domains",
|
|
804
804
|
};
|
|
805
|
-
/** Check if a Domain is available to transfer. */
|
|
806
|
-
export const domainCheckDomainTransferability = {
|
|
807
|
-
path: "/v2/domain-transferable",
|
|
808
|
-
method: "POST",
|
|
809
|
-
operationId: "domain-check-domain-transferability",
|
|
810
|
-
};
|
|
811
805
|
/** Create an auth code for a Domains transfer-out process. */
|
|
812
806
|
export const domainCreateDomainAuthCode = {
|
|
813
807
|
path: "/v2/domains/{domainId}/actions/auth-code",
|
|
@@ -1804,3 +1798,9 @@ export const userVerifyRegistration = {
|
|
|
1804
1798
|
method: "POST",
|
|
1805
1799
|
operationId: "user-verify-registration",
|
|
1806
1800
|
};
|
|
1801
|
+
/** Check if a Domain is available to transfer. */
|
|
1802
|
+
export const domainCheckDomainTransferability = {
|
|
1803
|
+
path: "/v2/domain-transferable",
|
|
1804
|
+
method: "POST",
|
|
1805
|
+
operationId: "domain-check-domain-transferability",
|
|
1806
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.8.0';
|
|
@@ -5298,35 +5298,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5298
5298
|
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5299
5299
|
[x: string]: unknown;
|
|
5300
5300
|
}, 400, "application/json">>>;
|
|
5301
|
-
/** Check if a Domain is available to transfer. */
|
|
5302
|
-
checkDomainTransferability: (request: {
|
|
5303
|
-
data: {
|
|
5304
|
-
authCode: string;
|
|
5305
|
-
domain: string;
|
|
5306
|
-
};
|
|
5307
|
-
headers?: {
|
|
5308
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5309
|
-
} | undefined;
|
|
5310
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5311
|
-
data: {
|
|
5312
|
-
authCode: string;
|
|
5313
|
-
domain: string;
|
|
5314
|
-
};
|
|
5315
|
-
} & {
|
|
5316
|
-
headers?: Partial<{
|
|
5317
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5318
|
-
}> | undefined;
|
|
5319
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
5320
|
-
reasons: {
|
|
5321
|
-
domainAgeTooSmall: boolean;
|
|
5322
|
-
domainDoesNotExist: boolean;
|
|
5323
|
-
transferLock: boolean;
|
|
5324
|
-
wrongAuthCode: boolean;
|
|
5325
|
-
};
|
|
5326
|
-
transferable: boolean;
|
|
5327
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5328
|
-
[x: string]: unknown;
|
|
5329
|
-
}, 400, "application/json">>>;
|
|
5330
5301
|
/** Create an auth code for a Domains transfer-out process. */
|
|
5331
5302
|
createDomainAuthCode: (request: {
|
|
5332
5303
|
domainId: string;
|
|
@@ -5911,6 +5882,37 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5911
5882
|
}, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5912
5883
|
[x: string]: unknown;
|
|
5913
5884
|
}, 404, "application/json">>>;
|
|
5885
|
+
/** Check if a Domain is available to transfer. */
|
|
5886
|
+
checkDomainTransferability: (request: {
|
|
5887
|
+
data: {
|
|
5888
|
+
authCode: string;
|
|
5889
|
+
domain: string;
|
|
5890
|
+
};
|
|
5891
|
+
headers?: {
|
|
5892
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5893
|
+
} | undefined;
|
|
5894
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5895
|
+
data: {
|
|
5896
|
+
authCode: string;
|
|
5897
|
+
domain: string;
|
|
5898
|
+
};
|
|
5899
|
+
} & {
|
|
5900
|
+
headers?: Partial<{
|
|
5901
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5902
|
+
}> | undefined;
|
|
5903
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
5904
|
+
reasons: {
|
|
5905
|
+
domainAgeTooSmall: boolean;
|
|
5906
|
+
domainDoesNotExist: boolean;
|
|
5907
|
+
transferLock: boolean;
|
|
5908
|
+
wrongAuthCode: boolean;
|
|
5909
|
+
};
|
|
5910
|
+
transferable: boolean;
|
|
5911
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5912
|
+
[x: string]: unknown;
|
|
5913
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5914
|
+
[x: string]: unknown;
|
|
5915
|
+
}, 403, "application/json">>>;
|
|
5914
5916
|
};
|
|
5915
5917
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
5916
5918
|
readonly file: {
|
|
@@ -271,8 +271,6 @@ export declare const domainAbortDomainDeclaration: OpenAPIOperation<RequestType<
|
|
|
271
271
|
export declare const domainCheckDomainRegistrability: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
272
272
|
/** List Domains */
|
|
273
273
|
export declare const domainListDomains: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
274
|
-
/** Check if a Domain is available to transfer. */
|
|
275
|
-
export declare const domainCheckDomainTransferability: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
276
274
|
/** Create an auth code for a Domains transfer-out process. */
|
|
277
275
|
export declare const domainCreateDomainAuthCode: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
278
276
|
/** Update the nameservers of a Domain. */
|
|
@@ -605,3 +603,5 @@ export declare const userVerifyEmail: OpenAPIOperation<RequestType<Simplify<Mitt
|
|
|
605
603
|
export declare const userVerifyPhoneNumber: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
606
604
|
/** Verify your registration. */
|
|
607
605
|
export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
606
|
+
/** Check if a Domain is available to transfer. */
|
|
607
|
+
export declare const domainCheckDomainTransferability: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -538,10 +538,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
538
538
|
type RequestData = InferredRequestData<typeof descriptors.domainListDomains>;
|
|
539
539
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainListDomains, TStatus>;
|
|
540
540
|
}
|
|
541
|
-
namespace DomainCheckDomainTransferability {
|
|
542
|
-
type RequestData = InferredRequestData<typeof descriptors.domainCheckDomainTransferability>;
|
|
543
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainCheckDomainTransferability, TStatus>;
|
|
544
|
-
}
|
|
545
541
|
namespace DomainCreateDomainAuthCode {
|
|
546
542
|
type RequestData = InferredRequestData<typeof descriptors.domainCreateDomainAuthCode>;
|
|
547
543
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainCreateDomainAuthCode, TStatus>;
|
|
@@ -1206,6 +1202,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1206
1202
|
type RequestData = InferredRequestData<typeof descriptors.userVerifyRegistration>;
|
|
1207
1203
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyRegistration, TStatus>;
|
|
1208
1204
|
}
|
|
1205
|
+
namespace DomainCheckDomainTransferability {
|
|
1206
|
+
type RequestData = InferredRequestData<typeof descriptors.domainCheckDomainTransferability>;
|
|
1207
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainCheckDomainTransferability, TStatus>;
|
|
1208
|
+
}
|
|
1209
1209
|
}
|
|
1210
1210
|
namespace Components {
|
|
1211
1211
|
namespace Schemas {
|
|
@@ -8466,48 +8466,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
8466
8466
|
}
|
|
8467
8467
|
}
|
|
8468
8468
|
}
|
|
8469
|
-
namespace V2DomainTransferable {
|
|
8470
|
-
namespace Post {
|
|
8471
|
-
namespace Parameters {
|
|
8472
|
-
type Path = {};
|
|
8473
|
-
interface RequestBody {
|
|
8474
|
-
authCode: string;
|
|
8475
|
-
domain: string;
|
|
8476
|
-
}
|
|
8477
|
-
type Header = {};
|
|
8478
|
-
type Query = {};
|
|
8479
|
-
}
|
|
8480
|
-
namespace Responses {
|
|
8481
|
-
namespace $200 {
|
|
8482
|
-
namespace Content {
|
|
8483
|
-
interface ApplicationJson {
|
|
8484
|
-
reasons: {
|
|
8485
|
-
domainAgeTooSmall: boolean;
|
|
8486
|
-
domainDoesNotExist: boolean;
|
|
8487
|
-
transferLock: boolean;
|
|
8488
|
-
wrongAuthCode: boolean;
|
|
8489
|
-
};
|
|
8490
|
-
transferable: boolean;
|
|
8491
|
-
}
|
|
8492
|
-
}
|
|
8493
|
-
}
|
|
8494
|
-
namespace $400 {
|
|
8495
|
-
namespace Content {
|
|
8496
|
-
interface ApplicationJson {
|
|
8497
|
-
[k: string]: unknown;
|
|
8498
|
-
}
|
|
8499
|
-
}
|
|
8500
|
-
}
|
|
8501
|
-
namespace Default {
|
|
8502
|
-
namespace Content {
|
|
8503
|
-
interface ApplicationJson {
|
|
8504
|
-
[k: string]: unknown;
|
|
8505
|
-
}
|
|
8506
|
-
}
|
|
8507
|
-
}
|
|
8508
|
-
}
|
|
8509
|
-
}
|
|
8510
|
-
}
|
|
8511
8469
|
namespace V2DomainsDomainIdActionsCreateAuthcode { }
|
|
8512
8470
|
namespace V2DomainsDomainIdActionsAuthCode {
|
|
8513
8471
|
namespace Post {
|
|
@@ -15451,5 +15409,54 @@ export declare namespace MittwaldAPIV2 {
|
|
|
15451
15409
|
}
|
|
15452
15410
|
}
|
|
15453
15411
|
}
|
|
15412
|
+
namespace V2DomainTransferable {
|
|
15413
|
+
namespace Post {
|
|
15414
|
+
namespace Parameters {
|
|
15415
|
+
type Path = {};
|
|
15416
|
+
interface RequestBody {
|
|
15417
|
+
authCode: string;
|
|
15418
|
+
domain: string;
|
|
15419
|
+
}
|
|
15420
|
+
type Header = {};
|
|
15421
|
+
type Query = {};
|
|
15422
|
+
}
|
|
15423
|
+
namespace Responses {
|
|
15424
|
+
namespace $200 {
|
|
15425
|
+
namespace Content {
|
|
15426
|
+
interface ApplicationJson {
|
|
15427
|
+
reasons: {
|
|
15428
|
+
domainAgeTooSmall: boolean;
|
|
15429
|
+
domainDoesNotExist: boolean;
|
|
15430
|
+
transferLock: boolean;
|
|
15431
|
+
wrongAuthCode: boolean;
|
|
15432
|
+
};
|
|
15433
|
+
transferable: boolean;
|
|
15434
|
+
}
|
|
15435
|
+
}
|
|
15436
|
+
}
|
|
15437
|
+
namespace $400 {
|
|
15438
|
+
namespace Content {
|
|
15439
|
+
interface ApplicationJson {
|
|
15440
|
+
[k: string]: unknown;
|
|
15441
|
+
}
|
|
15442
|
+
}
|
|
15443
|
+
}
|
|
15444
|
+
namespace $403 {
|
|
15445
|
+
namespace Content {
|
|
15446
|
+
interface ApplicationJson {
|
|
15447
|
+
[k: string]: unknown;
|
|
15448
|
+
}
|
|
15449
|
+
}
|
|
15450
|
+
}
|
|
15451
|
+
namespace Default {
|
|
15452
|
+
namespace Content {
|
|
15453
|
+
interface ApplicationJson {
|
|
15454
|
+
[k: string]: unknown;
|
|
15455
|
+
}
|
|
15456
|
+
}
|
|
15457
|
+
}
|
|
15458
|
+
}
|
|
15459
|
+
}
|
|
15460
|
+
}
|
|
15454
15461
|
}
|
|
15455
15462
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.8.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.1",
|
|
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",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"build": "run build:clean && run tsc",
|
|
35
35
|
"build:clean": "run rimraf dist",
|
|
36
36
|
"build:client": "run acg generate --name MittwaldAPIV2 spec/openapi.json src/generated/v2 --optionalHeader x-access-token",
|
|
37
|
-
"build:fetch-openapi": "curl --silent https://api.mittwald.de/openapi | spec/transform-openapi.sh > spec/openapi.json",
|
|
37
|
+
"build:fetch-openapi": "bash -e -o pipefail -c 'curl --location --fail --silent https://api.mittwald.de/openapi | spec/transform-openapi.sh > spec/openapi.json'",
|
|
38
38
|
"build:write-version-file": "run tsx dev/writeVersion.ts",
|
|
39
39
|
"format": "run prettier --write '**/*.{ts,tsx,yaml,yml,json,md,mdx,js}'",
|
|
40
40
|
"lint": "run eslint .",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"test:client-generation-clean": "git diff --exit-code"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@mittwald/api-client-commons": "^4.
|
|
45
|
+
"@mittwald/api-client-commons": "^4.8.1",
|
|
46
46
|
"browser-or-node": "^3.0.0-pre.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"optional": true
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "cb47b1e1602bbd7cd20f8e06acc23c5b2567f32d"
|
|
80
80
|
}
|