@mittwald/api-client 4.116.0 → 4.117.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.
- package/dist/esm/generated/v2/client.js +2 -0
- package/dist/esm/generated/v2/descriptors.js +6 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client.d.ts +55 -0
- package/dist/types/generated/v2/descriptors.d.ts +2 -0
- package/dist/types/generated/v2/types.d.ts +53 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -192,6 +192,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
192
192
|
extensionListOwnExtensions: this.requestFunctionFactory(descriptors.extensionListOwnExtensions),
|
|
193
193
|
/** Register an Extension. */
|
|
194
194
|
extensionRegisterExtension: this.requestFunctionFactory(descriptors.extensionRegisterExtension),
|
|
195
|
+
/** Generate a session key to transmit it to the extensions frontend fragment. */
|
|
196
|
+
extensionGenerateSessionKey: this.requestFunctionFactory(descriptors.extensionGenerateSessionKey),
|
|
195
197
|
};
|
|
196
198
|
/** The conversation API allows you to manage your support conversations. */
|
|
197
199
|
conversation = {
|
|
@@ -2044,3 +2044,9 @@ export const verificationVerifyCompany = {
|
|
|
2044
2044
|
method: "POST",
|
|
2045
2045
|
operationId: "verification-verify-company",
|
|
2046
2046
|
};
|
|
2047
|
+
/** Generate a session key to transmit it to the extensions frontend fragment. */
|
|
2048
|
+
export const extensionGenerateSessionKey = {
|
|
2049
|
+
path: "/v2/extension-instances/{extensionInstanceId}/session/{sessionId}",
|
|
2050
|
+
method: "POST",
|
|
2051
|
+
operationId: "extension-generate-session-key",
|
|
2052
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.116.0';
|
|
@@ -5802,6 +5802,61 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5802
5802
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5803
5803
|
[x: string]: unknown;
|
|
5804
5804
|
}, 429, "application/json">>>;
|
|
5805
|
+
/** Generate a session key to transmit it to the extensions frontend fragment. */
|
|
5806
|
+
extensionGenerateSessionKey: (request: {
|
|
5807
|
+
extensionInstanceId: string;
|
|
5808
|
+
sessionId: string;
|
|
5809
|
+
headers?: {
|
|
5810
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5811
|
+
"x-access-token"?: string | undefined;
|
|
5812
|
+
} | undefined;
|
|
5813
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5814
|
+
headers?: Partial<{
|
|
5815
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5816
|
+
}>;
|
|
5817
|
+
} & {
|
|
5818
|
+
pathParameters: {
|
|
5819
|
+
extensionInstanceId: string;
|
|
5820
|
+
sessionId: string;
|
|
5821
|
+
};
|
|
5822
|
+
} & {
|
|
5823
|
+
headers: {
|
|
5824
|
+
"x-access-token"?: string | undefined;
|
|
5825
|
+
} & Partial<{
|
|
5826
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5827
|
+
}>;
|
|
5828
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
5829
|
+
sessionKeyJwt?: string | undefined;
|
|
5830
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5831
|
+
[x: string]: unknown;
|
|
5832
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5833
|
+
[x: string]: unknown;
|
|
5834
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5835
|
+
[x: string]: unknown;
|
|
5836
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5837
|
+
headers?: Partial<{
|
|
5838
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5839
|
+
}>;
|
|
5840
|
+
} & {
|
|
5841
|
+
pathParameters: {
|
|
5842
|
+
extensionInstanceId: string;
|
|
5843
|
+
sessionId: string;
|
|
5844
|
+
};
|
|
5845
|
+
} & {
|
|
5846
|
+
headers: {
|
|
5847
|
+
"x-access-token"?: string | undefined;
|
|
5848
|
+
} & Partial<{
|
|
5849
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5850
|
+
}>;
|
|
5851
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
5852
|
+
sessionKeyJwt?: string | undefined;
|
|
5853
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5854
|
+
[x: string]: unknown;
|
|
5855
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5856
|
+
[x: string]: unknown;
|
|
5857
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5858
|
+
[x: string]: unknown;
|
|
5859
|
+
}, 429, "application/json">>>;
|
|
5805
5860
|
};
|
|
5806
5861
|
/** The conversation API allows you to manage your support conversations. */
|
|
5807
5862
|
readonly conversation: {
|
|
@@ -685,3 +685,5 @@ export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simpli
|
|
|
685
685
|
export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
686
686
|
/** Check if a company exists. */
|
|
687
687
|
export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
688
|
+
/** Generate a session key to transmit it to the extensions frontend fragment. */
|
|
689
|
+
export declare const extensionGenerateSessionKey: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ExtensionInstancesExtensionInstanceIdSessionSessionId.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ExtensionInstancesExtensionInstanceIdSessionSessionId.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ExtensionInstancesExtensionInstanceIdSessionSessionId.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionInstancesExtensionInstanceIdSessionSessionId.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionInstancesExtensionInstanceIdSessionSessionId.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionInstancesExtensionInstanceIdSessionSessionId.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionInstancesExtensionInstanceIdSessionSessionId.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionInstancesExtensionInstanceIdSessionSessionId.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -1366,6 +1366,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1366
1366
|
type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
|
|
1367
1367
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
|
|
1368
1368
|
}
|
|
1369
|
+
namespace ExtensionGenerateSessionKey {
|
|
1370
|
+
type RequestData = InferredRequestData<typeof descriptors.extensionGenerateSessionKey>;
|
|
1371
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionGenerateSessionKey, TStatus>;
|
|
1372
|
+
}
|
|
1369
1373
|
}
|
|
1370
1374
|
namespace Components {
|
|
1371
1375
|
namespace Schemas {
|
|
@@ -20884,5 +20888,54 @@ export declare namespace MittwaldAPIV2 {
|
|
|
20884
20888
|
}
|
|
20885
20889
|
}
|
|
20886
20890
|
}
|
|
20891
|
+
namespace V2ExtensionInstancesExtensionInstanceIdSessionSessionId {
|
|
20892
|
+
namespace Post {
|
|
20893
|
+
namespace Parameters {
|
|
20894
|
+
type Path = {
|
|
20895
|
+
extensionInstanceId: string;
|
|
20896
|
+
sessionId: string;
|
|
20897
|
+
};
|
|
20898
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
20899
|
+
type Query = {};
|
|
20900
|
+
}
|
|
20901
|
+
namespace Responses {
|
|
20902
|
+
namespace $200 {
|
|
20903
|
+
namespace Content {
|
|
20904
|
+
interface ApplicationJson {
|
|
20905
|
+
sessionKeyJwt?: string;
|
|
20906
|
+
}
|
|
20907
|
+
}
|
|
20908
|
+
}
|
|
20909
|
+
namespace $400 {
|
|
20910
|
+
namespace Content {
|
|
20911
|
+
interface ApplicationJson {
|
|
20912
|
+
[k: string]: unknown;
|
|
20913
|
+
}
|
|
20914
|
+
}
|
|
20915
|
+
}
|
|
20916
|
+
namespace $404 {
|
|
20917
|
+
namespace Content {
|
|
20918
|
+
interface ApplicationJson {
|
|
20919
|
+
[k: string]: unknown;
|
|
20920
|
+
}
|
|
20921
|
+
}
|
|
20922
|
+
}
|
|
20923
|
+
namespace $429 {
|
|
20924
|
+
namespace Content {
|
|
20925
|
+
interface ApplicationJson {
|
|
20926
|
+
[k: string]: unknown;
|
|
20927
|
+
}
|
|
20928
|
+
}
|
|
20929
|
+
}
|
|
20930
|
+
namespace Default {
|
|
20931
|
+
namespace Content {
|
|
20932
|
+
interface ApplicationJson {
|
|
20933
|
+
[k: string]: unknown;
|
|
20934
|
+
}
|
|
20935
|
+
}
|
|
20936
|
+
}
|
|
20937
|
+
}
|
|
20938
|
+
}
|
|
20939
|
+
}
|
|
20887
20940
|
}
|
|
20888
20941
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.116.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.117.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",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"optional": true
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "9bd8871021073c82812dca52737fa7ef4086db63"
|
|
84
84
|
}
|