@mittwald/api-models 4.447.0 → 4.448.2
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/package.json +3 -3
- package/dist/esm/app/AppInstallation/AppInstallation.js +0 -89
- package/dist/esm/app/AppInstallation/behaviors/api.js +0 -24
- package/dist/esm/app/AppInstallation/behaviors/index.js +0 -2
- package/dist/esm/app/AppInstallation/behaviors/types.js +0 -1
- package/dist/esm/app/AppInstallation/index.js +0 -2
- package/dist/esm/app/AppInstallation/types.js +0 -1
- package/dist/esm/app/index.js +0 -1
- package/dist/esm/article/Article/Article.js +0 -79
- package/dist/esm/article/Article/behaviors/api.js +0 -22
- package/dist/esm/article/Article/behaviors/index.js +0 -2
- package/dist/esm/article/Article/behaviors/types.js +0 -1
- package/dist/esm/article/Article/index.js +0 -2
- package/dist/esm/article/Article/types.js +0 -1
- package/dist/esm/article/index.js +0 -1
- package/dist/esm/base/DataModel.js +0 -7
- package/dist/esm/base/ListDataModel.js +0 -8
- package/dist/esm/base/ListQueryModel.js +0 -11
- package/dist/esm/base/Money.js +0 -5
- package/dist/esm/base/ReferenceModel.js +0 -9
- package/dist/esm/base/assertObjectFound.js +0 -9
- package/dist/esm/base/index.js +0 -6
- package/dist/esm/base/types.js +0 -1
- package/dist/esm/config/behaviors/api.js +0 -51
- package/dist/esm/config/behaviors/index.js +0 -1
- package/dist/esm/config/config.js +0 -14
- package/dist/esm/config/index.js +0 -1
- package/dist/esm/contract/Contract/Contract.js +0 -78
- package/dist/esm/contract/Contract/behaviors/api.js +0 -20
- package/dist/esm/contract/Contract/behaviors/index.js +0 -2
- package/dist/esm/contract/Contract/behaviors/types.js +0 -1
- package/dist/esm/contract/Contract/index.js +0 -2
- package/dist/esm/contract/Contract/types.js +0 -1
- package/dist/esm/contract/ContractItem/ContractItem.js +0 -31
- package/dist/esm/contract/ContractItem/behaviors/api.js +0 -13
- package/dist/esm/contract/ContractItem/behaviors/index.js +0 -2
- package/dist/esm/contract/ContractItem/behaviors/types.js +0 -1
- package/dist/esm/contract/ContractItem/index.js +0 -2
- package/dist/esm/contract/ContractItem/types.js +0 -1
- package/dist/esm/contract/index.js +0 -2
- package/dist/esm/customer/Customer/Customer.js +0 -96
- package/dist/esm/customer/Customer/behaviors/api.js +0 -30
- package/dist/esm/customer/Customer/behaviors/index.js +0 -2
- package/dist/esm/customer/Customer/behaviors/types.js +0 -1
- package/dist/esm/customer/Customer/index.js +0 -2
- package/dist/esm/customer/Customer/types.js +0 -1
- package/dist/esm/customer/index.js +0 -1
- package/dist/esm/domain/Ingress/Ingress.js +0 -106
- package/dist/esm/domain/Ingress/behaviors/api.js +0 -25
- package/dist/esm/domain/Ingress/behaviors/index.js +0 -2
- package/dist/esm/domain/Ingress/behaviors/types.js +0 -1
- package/dist/esm/domain/Ingress/index.js +0 -2
- package/dist/esm/domain/Ingress/types.js +0 -1
- package/dist/esm/domain/IngressPath/IngressPath.js +0 -15
- package/dist/esm/domain/IngressPath/IngressPath.test.js +0 -16
- package/dist/esm/domain/IngressPath/index.js +0 -2
- package/dist/esm/domain/IngressPath/types.js +0 -1
- package/dist/esm/domain/IngressTarget/IngressTarget.js +0 -40
- package/dist/esm/domain/IngressTarget/IngressTarget.test-types.js +0 -10
- package/dist/esm/domain/IngressTarget/index.js +0 -2
- package/dist/esm/domain/IngressTarget/types.js +0 -1
- package/dist/esm/domain/index.js +0 -1
- package/dist/esm/errors/ObjectNotFoundError.js +0 -7
- package/dist/esm/index.js +0 -7
- package/dist/esm/lib/deepFreeze.js +0 -4
- package/dist/esm/lib/joinedId.js +0 -1
- package/dist/esm/lib/types.js +0 -1
- package/dist/esm/marketplace/Contributor/Contributor.js +0 -83
- package/dist/esm/marketplace/Contributor/ContributorIncomingInvoice.js +0 -53
- package/dist/esm/marketplace/Contributor/behaviors/api.js +0 -39
- package/dist/esm/marketplace/Contributor/behaviors/index.js +0 -2
- package/dist/esm/marketplace/Contributor/behaviors/types.js +0 -1
- package/dist/esm/marketplace/Contributor/index.js +0 -3
- package/dist/esm/marketplace/Contributor/types.js +0 -1
- package/dist/esm/marketplace/index.js +0 -1
- package/dist/esm/project/Project/Project.js +0 -121
- package/dist/esm/project/Project/behaviors/api.js +0 -58
- package/dist/esm/project/Project/behaviors/inMem.js +0 -28
- package/dist/esm/project/Project/behaviors/index.js +0 -3
- package/dist/esm/project/Project/behaviors/types.js +0 -1
- package/dist/esm/project/Project/index.js +0 -2
- package/dist/esm/project/Project/types.js +0 -1
- package/dist/esm/project/index.js +0 -1
- package/dist/esm/react/MittwaldApiModelProvider.js +0 -12
- package/dist/esm/react/asyncResourceInvalidation.js +0 -29
- package/dist/esm/react/index.js +0 -4
- package/dist/esm/react/provideReact.js +0 -27
- package/dist/esm/react/provideReact.test-types.js +0 -21
- package/dist/esm/react/reactProvisionContext.js +0 -2
- package/dist/esm/react/reactUsePromise.js +0 -17
- package/dist/esm/react.js +0 -1
- package/dist/esm/server/Server/Server.js +0 -102
- package/dist/esm/server/Server/behaviors/api.js +0 -22
- package/dist/esm/server/Server/behaviors/index.js +0 -2
- package/dist/esm/server/Server/behaviors/types.js +0 -1
- package/dist/esm/server/Server/index.js +0 -1
- package/dist/esm/server/Server/types.js +0 -1
- package/dist/esm/server/index.js +0 -1
- package/dist/types/app/AppInstallation/AppInstallation.d.ts +0 -178
- package/dist/types/app/AppInstallation/behaviors/api.d.ts +0 -3
- package/dist/types/app/AppInstallation/behaviors/index.d.ts +0 -2
- package/dist/types/app/AppInstallation/behaviors/types.d.ts +0 -6
- package/dist/types/app/AppInstallation/index.d.ts +0 -2
- package/dist/types/app/AppInstallation/types.d.ts +0 -4
- package/dist/types/app/index.d.ts +0 -1
- package/dist/types/article/Article/Article.d.ts +0 -133
- package/dist/types/article/Article/behaviors/api.d.ts +0 -3
- package/dist/types/article/Article/behaviors/index.d.ts +0 -2
- package/dist/types/article/Article/behaviors/types.d.ts +0 -6
- package/dist/types/article/Article/index.d.ts +0 -2
- package/dist/types/article/Article/types.d.ts +0 -5
- package/dist/types/article/index.d.ts +0 -1
- package/dist/types/base/DataModel.d.ts +0 -5
- package/dist/types/base/ListDataModel.d.ts +0 -5
- package/dist/types/base/ListQueryModel.d.ts +0 -9
- package/dist/types/base/Money.d.ts +0 -3
- package/dist/types/base/ReferenceModel.d.ts +0 -5
- package/dist/types/base/assertObjectFound.d.ts +0 -3
- package/dist/types/base/index.d.ts +0 -6
- package/dist/types/base/types.d.ts +0 -6
- package/dist/types/config/behaviors/api.d.ts +0 -12
- package/dist/types/config/behaviors/index.d.ts +0 -1
- package/dist/types/config/config.d.ts +0 -25
- package/dist/types/config/index.d.ts +0 -1
- package/dist/types/contract/Contract/Contract.d.ts +0 -68
- package/dist/types/contract/Contract/behaviors/api.d.ts +0 -3
- package/dist/types/contract/Contract/behaviors/index.d.ts +0 -2
- package/dist/types/contract/Contract/behaviors/types.d.ts +0 -9
- package/dist/types/contract/Contract/index.d.ts +0 -2
- package/dist/types/contract/Contract/types.d.ts +0 -8
- package/dist/types/contract/ContractItem/ContractItem.d.ts +0 -64
- package/dist/types/contract/ContractItem/behaviors/api.d.ts +0 -3
- package/dist/types/contract/ContractItem/behaviors/index.d.ts +0 -2
- package/dist/types/contract/ContractItem/behaviors/types.d.ts +0 -4
- package/dist/types/contract/ContractItem/index.d.ts +0 -2
- package/dist/types/contract/ContractItem/types.d.ts +0 -2
- package/dist/types/contract/index.d.ts +0 -2
- package/dist/types/customer/Customer/Customer.d.ts +0 -146
- package/dist/types/customer/Customer/behaviors/api.d.ts +0 -3
- package/dist/types/customer/Customer/behaviors/index.d.ts +0 -2
- package/dist/types/customer/Customer/behaviors/types.d.ts +0 -7
- package/dist/types/customer/Customer/index.d.ts +0 -2
- package/dist/types/customer/Customer/types.d.ts +0 -5
- package/dist/types/customer/index.d.ts +0 -1
- package/dist/types/domain/Ingress/Ingress.d.ts +0 -113
- package/dist/types/domain/Ingress/behaviors/api.d.ts +0 -3
- package/dist/types/domain/Ingress/behaviors/index.d.ts +0 -2
- package/dist/types/domain/Ingress/behaviors/types.d.ts +0 -6
- package/dist/types/domain/Ingress/index.d.ts +0 -2
- package/dist/types/domain/Ingress/types.d.ts +0 -8
- package/dist/types/domain/IngressPath/IngressPath.d.ts +0 -11
- package/dist/types/domain/IngressPath/IngressPath.test.d.ts +0 -1
- package/dist/types/domain/IngressPath/index.d.ts +0 -2
- package/dist/types/domain/IngressPath/types.d.ts +0 -2
- package/dist/types/domain/IngressTarget/IngressTarget.d.ts +0 -24
- package/dist/types/domain/IngressTarget/IngressTarget.test-types.d.ts +0 -1
- package/dist/types/domain/IngressTarget/index.d.ts +0 -2
- package/dist/types/domain/IngressTarget/types.d.ts +0 -6
- package/dist/types/domain/index.d.ts +0 -1
- package/dist/types/errors/ObjectNotFoundError.d.ts +0 -3
- package/dist/types/index.d.ts +0 -7
- package/dist/types/lib/deepFreeze.d.ts +0 -5
- package/dist/types/lib/joinedId.d.ts +0 -1
- package/dist/types/lib/types.d.ts +0 -2
- package/dist/types/marketplace/Contributor/Contributor.d.ts +0 -49
- package/dist/types/marketplace/Contributor/ContributorIncomingInvoice.d.ts +0 -31
- package/dist/types/marketplace/Contributor/behaviors/api.d.ts +0 -3
- package/dist/types/marketplace/Contributor/behaviors/index.d.ts +0 -2
- package/dist/types/marketplace/Contributor/behaviors/types.d.ts +0 -10
- package/dist/types/marketplace/Contributor/index.d.ts +0 -3
- package/dist/types/marketplace/Contributor/types.d.ts +0 -6
- package/dist/types/marketplace/index.d.ts +0 -1
- package/dist/types/project/Project/Project.d.ts +0 -196
- package/dist/types/project/Project/behaviors/api.d.ts +0 -3
- package/dist/types/project/Project/behaviors/inMem.d.ts +0 -3
- package/dist/types/project/Project/behaviors/index.d.ts +0 -3
- package/dist/types/project/Project/behaviors/types.d.ts +0 -12
- package/dist/types/project/Project/index.d.ts +0 -2
- package/dist/types/project/Project/types.d.ts +0 -10
- package/dist/types/project/index.d.ts +0 -1
- package/dist/types/react/MittwaldApiModelProvider.d.ts +0 -6
- package/dist/types/react/asyncResourceInvalidation.d.ts +0 -4
- package/dist/types/react/index.d.ts +0 -5
- package/dist/types/react/provideReact.d.ts +0 -12
- package/dist/types/react/provideReact.test-types.d.ts +0 -1
- package/dist/types/react/reactProvisionContext.d.ts +0 -3
- package/dist/types/react/reactUsePromise.d.ts +0 -2
- package/dist/types/react.d.ts +0 -1
- package/dist/types/server/Server/Server.d.ts +0 -119
- package/dist/types/server/Server/behaviors/api.d.ts +0 -3
- package/dist/types/server/Server/behaviors/index.d.ts +0 -2
- package/dist/types/server/Server/behaviors/types.d.ts +0 -6
- package/dist/types/server/Server/index.d.ts +0 -1
- package/dist/types/server/Server/types.d.ts +0 -8
- package/dist/types/server/index.d.ts +0 -1
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import { DataModel } from "../../base/DataModel.js";
|
|
2
|
-
import { ReferenceModel } from "../../base/ReferenceModel.js";
|
|
3
|
-
import { AsyncResourceVariant } from "../../react/provideReact.js";
|
|
4
|
-
import { AppInstallationData, AppInstallationListItemData, AppInstallationListQueryData } from "./types.js";
|
|
5
|
-
import { ListQueryModel } from "../../base/ListQueryModel.js";
|
|
6
|
-
import { ListDataModel } from "../../base/ListDataModel.js";
|
|
7
|
-
import { Project } from "../../project/index.js";
|
|
8
|
-
export declare class AppInstallation extends ReferenceModel {
|
|
9
|
-
static find: AsyncResourceVariant<(id: string) => Promise<AppInstallationDetailed | undefined>>;
|
|
10
|
-
static get: AsyncResourceVariant<(id: string) => Promise<AppInstallationDetailed>>;
|
|
11
|
-
static ofId(id: string): AppInstallation;
|
|
12
|
-
query(project: Project, query?: AppInstallationListQueryData): AppInstallationListQuery;
|
|
13
|
-
/** @deprecated: use query() or project.appInstallations */
|
|
14
|
-
static list: AsyncResourceVariant<(projectId: string, query?: AppInstallationListQueryData) => Promise<Readonly<Array<AppInstallationListItem>>>>;
|
|
15
|
-
getDetailed: AsyncResourceVariant<() => Promise<AppInstallationDetailed>>;
|
|
16
|
-
findDetailed: AsyncResourceVariant<() => Promise<AppInstallationDetailed | undefined>>;
|
|
17
|
-
}
|
|
18
|
-
declare const AppInstallationCommon_base: import("polytype").Polytype.ClusteredConstructor<[{
|
|
19
|
-
new (data: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppAppInstallation | {
|
|
20
|
-
appExternalVersion: string;
|
|
21
|
-
appId: string;
|
|
22
|
-
appName: string;
|
|
23
|
-
appVersion: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppVersionStatus;
|
|
24
|
-
createdAt: string;
|
|
25
|
-
customDocumentRoot?: string | undefined;
|
|
26
|
-
deletionRequested?: boolean | undefined;
|
|
27
|
-
description: string;
|
|
28
|
-
disabled: boolean;
|
|
29
|
-
hostname?: string | undefined;
|
|
30
|
-
id: string;
|
|
31
|
-
installationPath: string;
|
|
32
|
-
lastError?: string | undefined;
|
|
33
|
-
linkedDatabases: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
|
|
34
|
-
lockedBy?: {
|
|
35
|
-
[k: string]: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
|
|
36
|
-
} | undefined;
|
|
37
|
-
phase: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppPhase;
|
|
38
|
-
ports?: {
|
|
39
|
-
name?: string;
|
|
40
|
-
port?: number;
|
|
41
|
-
}[] | undefined;
|
|
42
|
-
projectDescription: string;
|
|
43
|
-
projectId: string;
|
|
44
|
-
screenshotId?: string | undefined;
|
|
45
|
-
screenshotRef?: string | undefined;
|
|
46
|
-
shortId: string;
|
|
47
|
-
systemSoftware: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppInstalledSystemSoftware[];
|
|
48
|
-
updateAvailable: boolean;
|
|
49
|
-
updatePolicy: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy;
|
|
50
|
-
userInputs: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppSavedUserInput[];
|
|
51
|
-
}): DataModel<import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppAppInstallation | {
|
|
52
|
-
appExternalVersion: string;
|
|
53
|
-
appId: string;
|
|
54
|
-
appName: string;
|
|
55
|
-
appVersion: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppVersionStatus;
|
|
56
|
-
createdAt: string;
|
|
57
|
-
customDocumentRoot?: string | undefined;
|
|
58
|
-
deletionRequested?: boolean | undefined;
|
|
59
|
-
description: string;
|
|
60
|
-
disabled: boolean;
|
|
61
|
-
hostname?: string | undefined;
|
|
62
|
-
id: string;
|
|
63
|
-
installationPath: string;
|
|
64
|
-
lastError?: string | undefined;
|
|
65
|
-
linkedDatabases: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
|
|
66
|
-
lockedBy?: {
|
|
67
|
-
[k: string]: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
|
|
68
|
-
} | undefined;
|
|
69
|
-
phase: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppPhase;
|
|
70
|
-
ports?: {
|
|
71
|
-
name?: string;
|
|
72
|
-
port?: number;
|
|
73
|
-
}[] | undefined;
|
|
74
|
-
projectDescription: string;
|
|
75
|
-
projectId: string;
|
|
76
|
-
screenshotId?: string | undefined;
|
|
77
|
-
screenshotRef?: string | undefined;
|
|
78
|
-
shortId: string;
|
|
79
|
-
systemSoftware: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppInstalledSystemSoftware[];
|
|
80
|
-
updateAvailable: boolean;
|
|
81
|
-
updatePolicy: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy;
|
|
82
|
-
userInputs: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppSavedUserInput[];
|
|
83
|
-
}>;
|
|
84
|
-
}, typeof AppInstallation]>;
|
|
85
|
-
declare class AppInstallationCommon extends AppInstallationCommon_base {
|
|
86
|
-
constructor(data: AppInstallationListItemData | AppInstallationData);
|
|
87
|
-
}
|
|
88
|
-
declare const AppInstallationDetailed_base: import("polytype").Polytype.ClusteredConstructor<[typeof AppInstallationCommon, {
|
|
89
|
-
new (data: {
|
|
90
|
-
appExternalVersion: string;
|
|
91
|
-
appId: string;
|
|
92
|
-
appName: string;
|
|
93
|
-
appVersion: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppVersionStatus;
|
|
94
|
-
createdAt: string;
|
|
95
|
-
customDocumentRoot?: string | undefined;
|
|
96
|
-
deletionRequested?: boolean | undefined;
|
|
97
|
-
description: string;
|
|
98
|
-
disabled: boolean;
|
|
99
|
-
hostname?: string | undefined;
|
|
100
|
-
id: string;
|
|
101
|
-
installationPath: string;
|
|
102
|
-
lastError?: string | undefined;
|
|
103
|
-
linkedDatabases: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
|
|
104
|
-
lockedBy?: {
|
|
105
|
-
[k: string]: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
|
|
106
|
-
} | undefined;
|
|
107
|
-
phase: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppPhase;
|
|
108
|
-
ports?: {
|
|
109
|
-
name?: string;
|
|
110
|
-
port?: number;
|
|
111
|
-
}[] | undefined;
|
|
112
|
-
projectDescription: string;
|
|
113
|
-
projectId: string;
|
|
114
|
-
screenshotId?: string | undefined;
|
|
115
|
-
screenshotRef?: string | undefined;
|
|
116
|
-
shortId: string;
|
|
117
|
-
systemSoftware: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppInstalledSystemSoftware[];
|
|
118
|
-
updateAvailable: boolean;
|
|
119
|
-
updatePolicy: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy;
|
|
120
|
-
userInputs: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppSavedUserInput[];
|
|
121
|
-
}): DataModel<{
|
|
122
|
-
appExternalVersion: string;
|
|
123
|
-
appId: string;
|
|
124
|
-
appName: string;
|
|
125
|
-
appVersion: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppVersionStatus;
|
|
126
|
-
createdAt: string;
|
|
127
|
-
customDocumentRoot?: string | undefined;
|
|
128
|
-
deletionRequested?: boolean | undefined;
|
|
129
|
-
description: string;
|
|
130
|
-
disabled: boolean;
|
|
131
|
-
hostname?: string | undefined;
|
|
132
|
-
id: string;
|
|
133
|
-
installationPath: string;
|
|
134
|
-
lastError?: string | undefined;
|
|
135
|
-
linkedDatabases: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
|
|
136
|
-
lockedBy?: {
|
|
137
|
-
[k: string]: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
|
|
138
|
-
} | undefined;
|
|
139
|
-
phase: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppPhase;
|
|
140
|
-
ports?: {
|
|
141
|
-
name?: string;
|
|
142
|
-
port?: number;
|
|
143
|
-
}[] | undefined;
|
|
144
|
-
projectDescription: string;
|
|
145
|
-
projectId: string;
|
|
146
|
-
screenshotId?: string | undefined;
|
|
147
|
-
screenshotRef?: string | undefined;
|
|
148
|
-
shortId: string;
|
|
149
|
-
systemSoftware: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppInstalledSystemSoftware[];
|
|
150
|
-
updateAvailable: boolean;
|
|
151
|
-
updatePolicy: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy;
|
|
152
|
-
userInputs: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppSavedUserInput[];
|
|
153
|
-
}>;
|
|
154
|
-
}]>;
|
|
155
|
-
export declare class AppInstallationDetailed extends AppInstallationDetailed_base {
|
|
156
|
-
constructor(data: AppInstallationData);
|
|
157
|
-
}
|
|
158
|
-
declare const AppInstallationListItem_base: import("polytype").Polytype.ClusteredConstructor<[typeof AppInstallationCommon, {
|
|
159
|
-
new (data: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppAppInstallation): DataModel<import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.AppAppInstallation>;
|
|
160
|
-
}]>;
|
|
161
|
-
export declare class AppInstallationListItem extends AppInstallationListItem_base {
|
|
162
|
-
constructor(data: AppInstallationListItemData);
|
|
163
|
-
}
|
|
164
|
-
export declare class AppInstallationListQuery extends ListQueryModel<AppInstallationListQueryData> {
|
|
165
|
-
readonly project: Project;
|
|
166
|
-
constructor(project: Project, query?: AppInstallationListQueryData);
|
|
167
|
-
refine(query: AppInstallationListQueryData): AppInstallationListQuery;
|
|
168
|
-
execute: AsyncResourceVariant<() => Promise<AppInstallationList>>;
|
|
169
|
-
getTotalCount: AsyncResourceVariant<() => Promise<number>>;
|
|
170
|
-
findOneAndOnly: AsyncResourceVariant<() => Promise<AppInstallationListItem | undefined>>;
|
|
171
|
-
}
|
|
172
|
-
declare const AppInstallationList_base: import("polytype").Polytype.ClusteredConstructor<[typeof AppInstallationListQuery, {
|
|
173
|
-
new (items: AppInstallationListItem[], totalCount: number): ListDataModel<AppInstallationListItem>;
|
|
174
|
-
}]>;
|
|
175
|
-
export declare class AppInstallationList extends AppInstallationList_base {
|
|
176
|
-
constructor(project: Project, query: AppInstallationListQueryData, appInstallations: AppInstallationListItem[], totalCount: number);
|
|
177
|
-
}
|
|
178
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { AppInstallationData, AppInstallationListItemData, AppInstallationListQueryData } from "../types.js";
|
|
2
|
-
import { QueryResponseData } from "../../../base/index.js";
|
|
3
|
-
export interface AppInstallationBehaviors {
|
|
4
|
-
find: (id: string) => Promise<AppInstallationData | undefined>;
|
|
5
|
-
list: (projectId: string, query?: AppInstallationListQueryData) => Promise<QueryResponseData<AppInstallationListItemData>>;
|
|
6
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
2
|
-
export type AppInstallationListQueryData = MittwaldAPIV2.Paths.V2ProjectsProjectIdAppInstallations.Get.Parameters.Query;
|
|
3
|
-
export type AppInstallationData = MittwaldAPIV2.Operations.AppGetAppinstallation.ResponseData;
|
|
4
|
-
export type AppInstallationListItemData = MittwaldAPIV2.Operations.AppListAppinstallations.ResponseData[number];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./AppInstallation/index.js";
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { ReferenceModel } from "../../base/ReferenceModel.js";
|
|
2
|
-
import { ArticleData, ArticleListItemData, ArticleListQueryData, ArticleListQueryModelData } from "./types.js";
|
|
3
|
-
import { DataModel } from "../../base/DataModel.js";
|
|
4
|
-
import { ListQueryModel } from "../../base/ListQueryModel.js";
|
|
5
|
-
import { ListDataModel } from "../../base/ListDataModel.js";
|
|
6
|
-
import { Money } from "../../base/Money.js";
|
|
7
|
-
export declare class Article extends ReferenceModel {
|
|
8
|
-
static ofId(id: string): Article;
|
|
9
|
-
static find: import("../../react/provideReact.js").AsyncResourceVariant<(id: string) => Promise<ArticleDetailed | undefined>>;
|
|
10
|
-
static get: import("../../react/provideReact.js").AsyncResourceVariant<(id: string) => Promise<ArticleDetailed>>;
|
|
11
|
-
static query(query?: ArticleListQueryModelData): ArticleListQuery;
|
|
12
|
-
}
|
|
13
|
-
declare const ArticleCommon_base: import("polytype").Polytype.ClusteredConstructor<[{
|
|
14
|
-
new (data: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableArticle | {
|
|
15
|
-
addons?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleAddons[] | undefined;
|
|
16
|
-
articleId: string;
|
|
17
|
-
attributes?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleAttributes[] | undefined;
|
|
18
|
-
balanceAddonKey?: string | undefined;
|
|
19
|
-
contractDurationInMonth: number;
|
|
20
|
-
description?: string | undefined;
|
|
21
|
-
forcedInvoicingPeriodInMonth?: number | undefined;
|
|
22
|
-
hasIndependentContractPeriod?: boolean | undefined;
|
|
23
|
-
hideOnInvoice?: boolean | undefined;
|
|
24
|
-
machineType?: {
|
|
25
|
-
cpu: string;
|
|
26
|
-
memory: string;
|
|
27
|
-
name: string;
|
|
28
|
-
} | undefined;
|
|
29
|
-
modifierArticles?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
|
|
30
|
-
name: string;
|
|
31
|
-
orderable: "full" | "forbidden" | "internal" | "beta_testing" | "deprecated";
|
|
32
|
-
possibleArticleChanges?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableChangeArticleOptions[] | undefined;
|
|
33
|
-
price?: number | undefined;
|
|
34
|
-
tags?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleTag[] | undefined;
|
|
35
|
-
template: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleTemplate;
|
|
36
|
-
}): DataModel<import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableArticle | {
|
|
37
|
-
addons?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleAddons[] | undefined;
|
|
38
|
-
articleId: string;
|
|
39
|
-
attributes?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleAttributes[] | undefined;
|
|
40
|
-
balanceAddonKey?: string | undefined;
|
|
41
|
-
contractDurationInMonth: number;
|
|
42
|
-
description?: string | undefined;
|
|
43
|
-
forcedInvoicingPeriodInMonth?: number | undefined;
|
|
44
|
-
hasIndependentContractPeriod?: boolean | undefined;
|
|
45
|
-
hideOnInvoice?: boolean | undefined;
|
|
46
|
-
machineType?: {
|
|
47
|
-
cpu: string;
|
|
48
|
-
memory: string;
|
|
49
|
-
name: string;
|
|
50
|
-
} | undefined;
|
|
51
|
-
modifierArticles?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
|
|
52
|
-
name: string;
|
|
53
|
-
orderable: "full" | "forbidden" | "internal" | "beta_testing" | "deprecated";
|
|
54
|
-
possibleArticleChanges?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableChangeArticleOptions[] | undefined;
|
|
55
|
-
price?: number | undefined;
|
|
56
|
-
tags?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleTag[] | undefined;
|
|
57
|
-
template: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleTemplate;
|
|
58
|
-
}>;
|
|
59
|
-
}, typeof Article]>;
|
|
60
|
-
declare class ArticleCommon extends ArticleCommon_base {
|
|
61
|
-
readonly price: Money;
|
|
62
|
-
constructor(data: ArticleListItemData | ArticleData);
|
|
63
|
-
}
|
|
64
|
-
declare const ArticleDetailed_base: import("polytype").Polytype.ClusteredConstructor<[typeof ArticleCommon, {
|
|
65
|
-
new (data: {
|
|
66
|
-
addons?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleAddons[] | undefined;
|
|
67
|
-
articleId: string;
|
|
68
|
-
attributes?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleAttributes[] | undefined;
|
|
69
|
-
balanceAddonKey?: string | undefined;
|
|
70
|
-
contractDurationInMonth: number;
|
|
71
|
-
description?: string | undefined;
|
|
72
|
-
forcedInvoicingPeriodInMonth?: number | undefined;
|
|
73
|
-
hasIndependentContractPeriod?: boolean | undefined;
|
|
74
|
-
hideOnInvoice?: boolean | undefined;
|
|
75
|
-
machineType?: {
|
|
76
|
-
cpu: string;
|
|
77
|
-
memory: string;
|
|
78
|
-
name: string;
|
|
79
|
-
} | undefined;
|
|
80
|
-
modifierArticles?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
|
|
81
|
-
name: string;
|
|
82
|
-
orderable: "full" | "forbidden" | "internal" | "beta_testing" | "deprecated";
|
|
83
|
-
possibleArticleChanges?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableChangeArticleOptions[] | undefined;
|
|
84
|
-
price?: number | undefined;
|
|
85
|
-
tags?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleTag[] | undefined;
|
|
86
|
-
template: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleTemplate;
|
|
87
|
-
}): DataModel<{
|
|
88
|
-
addons?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleAddons[] | undefined;
|
|
89
|
-
articleId: string;
|
|
90
|
-
attributes?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleAttributes[] | undefined;
|
|
91
|
-
balanceAddonKey?: string | undefined;
|
|
92
|
-
contractDurationInMonth: number;
|
|
93
|
-
description?: string | undefined;
|
|
94
|
-
forcedInvoicingPeriodInMonth?: number | undefined;
|
|
95
|
-
hasIndependentContractPeriod?: boolean | undefined;
|
|
96
|
-
hideOnInvoice?: boolean | undefined;
|
|
97
|
-
machineType?: {
|
|
98
|
-
cpu: string;
|
|
99
|
-
memory: string;
|
|
100
|
-
name: string;
|
|
101
|
-
} | undefined;
|
|
102
|
-
modifierArticles?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
|
|
103
|
-
name: string;
|
|
104
|
-
orderable: "full" | "forbidden" | "internal" | "beta_testing" | "deprecated";
|
|
105
|
-
possibleArticleChanges?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableChangeArticleOptions[] | undefined;
|
|
106
|
-
price?: number | undefined;
|
|
107
|
-
tags?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleTag[] | undefined;
|
|
108
|
-
template: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleArticleTemplate;
|
|
109
|
-
}>;
|
|
110
|
-
}]>;
|
|
111
|
-
export declare class ArticleDetailed extends ArticleDetailed_base {
|
|
112
|
-
constructor(data: ArticleData);
|
|
113
|
-
}
|
|
114
|
-
declare const ArticleListItem_base: import("polytype").Polytype.ClusteredConstructor<[typeof ArticleCommon, {
|
|
115
|
-
new (data: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableArticle): DataModel<import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ArticleReadableArticle>;
|
|
116
|
-
}]>;
|
|
117
|
-
export declare class ArticleListItem extends ArticleListItem_base {
|
|
118
|
-
constructor(data: ArticleListItemData);
|
|
119
|
-
}
|
|
120
|
-
export declare class ArticleListQuery extends ListQueryModel<ArticleListQueryModelData> {
|
|
121
|
-
constructor(query?: ArticleListQueryModelData);
|
|
122
|
-
refine(query: ArticleListQueryModelData): ArticleListQuery;
|
|
123
|
-
execute: import("../../react/provideReact.js").AsyncResourceVariant<() => Promise<ArticleList>>;
|
|
124
|
-
getTotalCount: import("../../react/provideReact.js").AsyncResourceVariant<() => Promise<number>>;
|
|
125
|
-
findOneAndOnly: import("../../react/provideReact.js").AsyncResourceVariant<() => Promise<ArticleListItem | undefined>>;
|
|
126
|
-
}
|
|
127
|
-
declare const ArticleList_base: import("polytype").Polytype.ClusteredConstructor<[typeof ArticleListQuery, {
|
|
128
|
-
new (items: ArticleListItem[], totalCount: number): ListDataModel<ArticleListItem>;
|
|
129
|
-
}]>;
|
|
130
|
-
export declare class ArticleList extends ArticleList_base {
|
|
131
|
-
constructor(query: ArticleListQueryData, articles: ArticleListItem[], totalCount: number);
|
|
132
|
-
}
|
|
133
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ArticleData, ArticleListItemData, ArticleListQueryData } from "../types.js";
|
|
2
|
-
import { QueryResponseData } from "../../../base/index.js";
|
|
3
|
-
export interface ArticleBehaviors {
|
|
4
|
-
find: (id: string) => Promise<ArticleData | undefined>;
|
|
5
|
-
list: (query?: ArticleListQueryData) => Promise<QueryResponseData<ArticleListItemData>>;
|
|
6
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
2
|
-
export type ArticleListQueryData = MittwaldAPIV2.Paths.V2Articles.Get.Parameters.Query;
|
|
3
|
-
export type ArticleData = MittwaldAPIV2.Operations.ArticleGetArticle.ResponseData;
|
|
4
|
-
export type ArticleListItemData = MittwaldAPIV2.Operations.ArticleListArticles.ResponseData[number];
|
|
5
|
-
export type ArticleListQueryModelData = ArticleListQueryData;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Article/index.js";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
-
declare class ApiSetupState {
|
|
3
|
-
private _client;
|
|
4
|
-
setupWithClient(client: MittwaldAPIV2Client): void;
|
|
5
|
-
setupWithApiToken(apiToken: string): void;
|
|
6
|
-
setupUnauthenticated(): void;
|
|
7
|
-
get client(): MittwaldAPIV2Client;
|
|
8
|
-
get defaults(): (typeof this.client)["axios"]["defaults"];
|
|
9
|
-
get interceptors(): (typeof this.client)["axios"]["interceptors"];
|
|
10
|
-
}
|
|
11
|
-
export declare const api: ApiSetupState;
|
|
12
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./api.js";
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ProjectBehaviors } from "../project/Project/behaviors/index.js";
|
|
2
|
-
import { ServerBehaviors } from "../server/Server/behaviors/index.js";
|
|
3
|
-
import { CustomerBehaviors } from "../customer/Customer/behaviors/index.js";
|
|
4
|
-
import { IngressBehaviors } from "../domain/Ingress/behaviors/index.js";
|
|
5
|
-
import { ContractBehaviors } from "../contract/Contract/behaviors/index.js";
|
|
6
|
-
import { AppInstallationBehaviors } from "../app/AppInstallation/behaviors/index.js";
|
|
7
|
-
import { ContractItemBehaviors } from "../contract/ContractItem/behaviors/index.js";
|
|
8
|
-
import { ArticleBehaviors } from "../article/Article/behaviors/index.js";
|
|
9
|
-
import type { ContributorBehaviors } from "../marketplace/Contributor/behaviors/types.js";
|
|
10
|
-
interface Config {
|
|
11
|
-
defaultPaginationLimit: number;
|
|
12
|
-
behaviors: {
|
|
13
|
-
contract: ContractBehaviors;
|
|
14
|
-
contributor: ContributorBehaviors;
|
|
15
|
-
contractItem: ContractItemBehaviors;
|
|
16
|
-
article: ArticleBehaviors;
|
|
17
|
-
project: ProjectBehaviors;
|
|
18
|
-
server: ServerBehaviors;
|
|
19
|
-
customer: CustomerBehaviors;
|
|
20
|
-
ingress: IngressBehaviors;
|
|
21
|
-
appInstallation: AppInstallationBehaviors;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
export declare const config: Config;
|
|
25
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./behaviors/index.js";
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { DataModel, ListDataModel, ListQueryModel, ReferenceModel } from "../../base/index.js";
|
|
2
|
-
import { ContractData, ContractListItemData, ContractListQueryData, ContractListQueryModelData } from "./types.js";
|
|
3
|
-
export declare class Contract extends ReferenceModel {
|
|
4
|
-
static ofId(id: string): Contract;
|
|
5
|
-
static find: import("../../react/provideReact.js").AsyncResourceVariant<(id: string) => Promise<ContractDetailed | undefined>>;
|
|
6
|
-
static query(query: ContractListQueryModelData): ContractListQuery;
|
|
7
|
-
static get: import("../../react/provideReact.js").AsyncResourceVariant<(id: string) => Promise<ContractDetailed>>;
|
|
8
|
-
}
|
|
9
|
-
declare const ContractCommon_base: import("polytype").Polytype.ClusteredConstructor<[{
|
|
10
|
-
new (data: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractContract | {
|
|
11
|
-
additionalItems?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
|
|
12
|
-
baseItem: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractContractItem;
|
|
13
|
-
contractId: string;
|
|
14
|
-
contractNumber: string;
|
|
15
|
-
customerId: string;
|
|
16
|
-
termination?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
17
|
-
}): DataModel<import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractContract | {
|
|
18
|
-
additionalItems?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
|
|
19
|
-
baseItem: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractContractItem;
|
|
20
|
-
contractId: string;
|
|
21
|
-
contractNumber: string;
|
|
22
|
-
customerId: string;
|
|
23
|
-
termination?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
24
|
-
}>;
|
|
25
|
-
}, typeof Contract]>;
|
|
26
|
-
declare class ContractCommon extends ContractCommon_base {
|
|
27
|
-
constructor(data: ContractListItemData | ContractData);
|
|
28
|
-
}
|
|
29
|
-
declare const ContractDetailed_base: import("polytype").Polytype.ClusteredConstructor<[typeof ContractCommon, {
|
|
30
|
-
new (data: {
|
|
31
|
-
additionalItems?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
|
|
32
|
-
baseItem: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractContractItem;
|
|
33
|
-
contractId: string;
|
|
34
|
-
contractNumber: string;
|
|
35
|
-
customerId: string;
|
|
36
|
-
termination?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
37
|
-
}): DataModel<{
|
|
38
|
-
additionalItems?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
|
|
39
|
-
baseItem: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractContractItem;
|
|
40
|
-
contractId: string;
|
|
41
|
-
contractNumber: string;
|
|
42
|
-
customerId: string;
|
|
43
|
-
termination?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
44
|
-
}>;
|
|
45
|
-
}]>;
|
|
46
|
-
export declare class ContractDetailed extends ContractDetailed_base {
|
|
47
|
-
constructor(data: ContractData);
|
|
48
|
-
}
|
|
49
|
-
declare const ContractListItem_base: import("polytype").Polytype.ClusteredConstructor<[typeof ContractCommon, {
|
|
50
|
-
new (data: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractContract): DataModel<import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractContract>;
|
|
51
|
-
}]>;
|
|
52
|
-
export declare class ContractListItem extends ContractListItem_base {
|
|
53
|
-
constructor(data: ContractListItemData);
|
|
54
|
-
}
|
|
55
|
-
export declare class ContractListQuery extends ListQueryModel<ContractListQueryModelData> {
|
|
56
|
-
constructor(query: ContractListQueryModelData);
|
|
57
|
-
refine(query: ContractListQueryData): ContractListQuery;
|
|
58
|
-
execute: import("../../react/provideReact.js").AsyncResourceVariant<() => Promise<ContractList>>;
|
|
59
|
-
getTotalCount: import("../../react/provideReact.js").AsyncResourceVariant<() => Promise<number>>;
|
|
60
|
-
findOneAndOnly: import("../../react/provideReact.js").AsyncResourceVariant<() => Promise<ContractListItem | undefined>>;
|
|
61
|
-
}
|
|
62
|
-
declare const ContractList_base: import("polytype").Polytype.ClusteredConstructor<[typeof ContractListQuery, {
|
|
63
|
-
new (items: ContractListItem[], totalCount: number): ListDataModel<ContractListItem>;
|
|
64
|
-
}]>;
|
|
65
|
-
export declare class ContractList extends ContractList_base {
|
|
66
|
-
constructor(query: ContractListQueryModelData, contracts: ContractListItem[], totalCount: number);
|
|
67
|
-
}
|
|
68
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ContractData, ContractListItemData, ContractListQueryData } from "../types.js";
|
|
2
|
-
import { QueryResponseData } from "../../../base/index.js";
|
|
3
|
-
export interface ContractBehaviors {
|
|
4
|
-
find: (id: string) => Promise<ContractData | undefined>;
|
|
5
|
-
list: (request: {
|
|
6
|
-
customerId: string;
|
|
7
|
-
queryParameters?: ContractListQueryData;
|
|
8
|
-
}) => Promise<QueryResponseData<ContractListItemData>>;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
2
|
-
import { Customer } from "../../customer/index.js";
|
|
3
|
-
export type ContractListQueryData = MittwaldAPIV2.Paths.V2ContractsContractId.Get.Parameters.Query;
|
|
4
|
-
export type ContractListQueryModelData = Omit<ContractListQueryData, "customerId"> & {
|
|
5
|
-
customer: Customer;
|
|
6
|
-
};
|
|
7
|
-
export type ContractData = MittwaldAPIV2.Operations.ContractGetDetailOfContract.ResponseData;
|
|
8
|
-
export type ContractListItemData = MittwaldAPIV2.Operations.ContractListContracts.ResponseData[number];
|