@mittwald/api-models 4.337.0 → 4.338.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/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 -27
- 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 -142
- 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 -109
- 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 -292
- 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 -115
- 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,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];
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { ContractItemData } from "./types.js";
|
|
2
|
-
import { DataModel, ReferenceModel } from "../../base/index.js";
|
|
3
|
-
export declare class ContractItem extends ReferenceModel {
|
|
4
|
-
static ofId(contractId: string, id: string): ContractItem;
|
|
5
|
-
static find: import("../../react/provideReact.js").AsyncResourceVariant<(contractId: string, contractItemId: string) => Promise<ContractItemDetailed | undefined>>;
|
|
6
|
-
static get: import("../../react/provideReact.js").AsyncResourceVariant<(contractId: string, contractItemId: string) => Promise<ContractItemDetailed>>;
|
|
7
|
-
readonly contractId: string;
|
|
8
|
-
constructor(contractId: string, id: string);
|
|
9
|
-
}
|
|
10
|
-
declare const ContractItemDetailed_base: import("polytype").Polytype.ClusteredConstructor<[{
|
|
11
|
-
new (data: {
|
|
12
|
-
activationDate?: string | undefined;
|
|
13
|
-
aggregateReference?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractAggregateReference | undefined;
|
|
14
|
-
articles: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractArticle[];
|
|
15
|
-
contractPeriod: number;
|
|
16
|
-
description: string;
|
|
17
|
-
freeTrialDays?: number | undefined;
|
|
18
|
-
groupByProjectId?: string | undefined;
|
|
19
|
-
invoiceStop?: string | undefined;
|
|
20
|
-
invoicingPeriod?: number | undefined;
|
|
21
|
-
isActivated: boolean;
|
|
22
|
-
isBaseItem: boolean;
|
|
23
|
-
isInFreeTrial?: boolean | undefined;
|
|
24
|
-
isInclusive?: boolean | undefined;
|
|
25
|
-
itemId: string;
|
|
26
|
-
nextPossibleDowngradeDate?: string | undefined;
|
|
27
|
-
nextPossibleTerminationDate?: string | undefined;
|
|
28
|
-
nextPossibleUpgradeDate?: string | undefined;
|
|
29
|
-
orderDate?: string | undefined;
|
|
30
|
-
orderId?: string | undefined;
|
|
31
|
-
replacedByItem?: string | undefined;
|
|
32
|
-
tariffChange?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractTariffChange | undefined;
|
|
33
|
-
termination?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
34
|
-
totalPrice: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractPrice;
|
|
35
|
-
}): DataModel<{
|
|
36
|
-
activationDate?: string | undefined;
|
|
37
|
-
aggregateReference?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractAggregateReference | undefined;
|
|
38
|
-
articles: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractArticle[];
|
|
39
|
-
contractPeriod: number;
|
|
40
|
-
description: string;
|
|
41
|
-
freeTrialDays?: number | undefined;
|
|
42
|
-
groupByProjectId?: string | undefined;
|
|
43
|
-
invoiceStop?: string | undefined;
|
|
44
|
-
invoicingPeriod?: number | undefined;
|
|
45
|
-
isActivated: boolean;
|
|
46
|
-
isBaseItem: boolean;
|
|
47
|
-
isInFreeTrial?: boolean | undefined;
|
|
48
|
-
isInclusive?: boolean | undefined;
|
|
49
|
-
itemId: string;
|
|
50
|
-
nextPossibleDowngradeDate?: string | undefined;
|
|
51
|
-
nextPossibleTerminationDate?: string | undefined;
|
|
52
|
-
nextPossibleUpgradeDate?: string | undefined;
|
|
53
|
-
orderDate?: string | undefined;
|
|
54
|
-
orderId?: string | undefined;
|
|
55
|
-
replacedByItem?: string | undefined;
|
|
56
|
-
tariffChange?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractTariffChange | undefined;
|
|
57
|
-
termination?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
58
|
-
totalPrice: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.ContractPrice;
|
|
59
|
-
}>;
|
|
60
|
-
}, typeof ContractItem]>;
|
|
61
|
-
export declare class ContractItemDetailed extends ContractItemDetailed_base {
|
|
62
|
-
constructor(contractId: string, data: ContractItemData);
|
|
63
|
-
}
|
|
64
|
-
export {};
|
|
@@ -1,146 +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 { CustomerData, CustomerListItemData, CustomerListQueryData, CustomerUpdateRequestData } from "./types.js";
|
|
5
|
-
import { ListQueryModel } from "../../base/ListQueryModel.js";
|
|
6
|
-
import { ListDataModel } from "../../base/ListDataModel.js";
|
|
7
|
-
import { ServerListQuery } from "../../server/index.js";
|
|
8
|
-
import { ProjectListQuery } from "../../project/index.js";
|
|
9
|
-
export declare class Customer extends ReferenceModel {
|
|
10
|
-
readonly servers: ServerListQuery;
|
|
11
|
-
readonly projects: ProjectListQuery;
|
|
12
|
-
constructor(id: string);
|
|
13
|
-
static ofId(id: string): Customer;
|
|
14
|
-
static find: AsyncResourceVariant<(id: string) => Promise<CustomerDetailed | undefined>>;
|
|
15
|
-
static query(query?: CustomerListQueryData): CustomerListQuery;
|
|
16
|
-
/** @deprecated Use query() */
|
|
17
|
-
static list: AsyncResourceVariant<(query?: CustomerListQueryData) => Promise<Readonly<Array<CustomerListItem>>>>;
|
|
18
|
-
static get: AsyncResourceVariant<(id: string) => Promise<CustomerDetailed>>;
|
|
19
|
-
getDetailed: AsyncResourceVariant<() => Promise<CustomerDetailed>>;
|
|
20
|
-
findDetailed: AsyncResourceVariant<() => Promise<CustomerDetailed | undefined>>;
|
|
21
|
-
update(data: CustomerUpdateRequestData): Promise<void>;
|
|
22
|
-
}
|
|
23
|
-
declare const CustomerCommon_base: import("polytype").Polytype.ClusteredConstructor<[{
|
|
24
|
-
new (data: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.CustomerCustomer | {
|
|
25
|
-
activeSuspension?: {
|
|
26
|
-
createdAt: string;
|
|
27
|
-
} | undefined;
|
|
28
|
-
avatarRefId?: string | undefined;
|
|
29
|
-
categoryId?: string | undefined;
|
|
30
|
-
creationDate: string;
|
|
31
|
-
customerId: string;
|
|
32
|
-
customerNumber: string;
|
|
33
|
-
deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor")[] | undefined;
|
|
34
|
-
executingUserRoles?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
|
|
35
|
-
flags?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[] | undefined;
|
|
36
|
-
isAllowedToPlaceOrders?: boolean | undefined;
|
|
37
|
-
isBanned?: boolean | undefined;
|
|
38
|
-
isInDefaultOfPayment?: boolean | undefined;
|
|
39
|
-
isMailAddressInvalid?: boolean | undefined;
|
|
40
|
-
levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
|
|
41
|
-
memberCount: number;
|
|
42
|
-
name: string;
|
|
43
|
-
owner?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
|
|
44
|
-
projectCount: number;
|
|
45
|
-
vatId?: string | undefined;
|
|
46
|
-
vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
|
|
47
|
-
}): DataModel<import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.CustomerCustomer | {
|
|
48
|
-
activeSuspension?: {
|
|
49
|
-
createdAt: string;
|
|
50
|
-
} | undefined;
|
|
51
|
-
avatarRefId?: string | undefined;
|
|
52
|
-
categoryId?: string | undefined;
|
|
53
|
-
creationDate: string;
|
|
54
|
-
customerId: string;
|
|
55
|
-
customerNumber: string;
|
|
56
|
-
deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor")[] | undefined;
|
|
57
|
-
executingUserRoles?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
|
|
58
|
-
flags?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[] | undefined;
|
|
59
|
-
isAllowedToPlaceOrders?: boolean | undefined;
|
|
60
|
-
isBanned?: boolean | undefined;
|
|
61
|
-
isInDefaultOfPayment?: boolean | undefined;
|
|
62
|
-
isMailAddressInvalid?: boolean | undefined;
|
|
63
|
-
levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
|
|
64
|
-
memberCount: number;
|
|
65
|
-
name: string;
|
|
66
|
-
owner?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
|
|
67
|
-
projectCount: number;
|
|
68
|
-
vatId?: string | undefined;
|
|
69
|
-
vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
|
|
70
|
-
}>;
|
|
71
|
-
}, typeof Customer]>;
|
|
72
|
-
declare class CustomerCommon extends CustomerCommon_base {
|
|
73
|
-
constructor(data: CustomerListItemData | CustomerData);
|
|
74
|
-
}
|
|
75
|
-
declare const CustomerDetailed_base: import("polytype").Polytype.ClusteredConstructor<[typeof CustomerCommon, {
|
|
76
|
-
new (data: {
|
|
77
|
-
activeSuspension?: {
|
|
78
|
-
createdAt: string;
|
|
79
|
-
} | undefined;
|
|
80
|
-
avatarRefId?: string | undefined;
|
|
81
|
-
categoryId?: string | undefined;
|
|
82
|
-
creationDate: string;
|
|
83
|
-
customerId: string;
|
|
84
|
-
customerNumber: string;
|
|
85
|
-
deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor")[] | undefined;
|
|
86
|
-
executingUserRoles?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
|
|
87
|
-
flags?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[] | undefined;
|
|
88
|
-
isAllowedToPlaceOrders?: boolean | undefined;
|
|
89
|
-
isBanned?: boolean | undefined;
|
|
90
|
-
isInDefaultOfPayment?: boolean | undefined;
|
|
91
|
-
isMailAddressInvalid?: boolean | undefined;
|
|
92
|
-
levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
|
|
93
|
-
memberCount: number;
|
|
94
|
-
name: string;
|
|
95
|
-
owner?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
|
|
96
|
-
projectCount: number;
|
|
97
|
-
vatId?: string | undefined;
|
|
98
|
-
vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
|
|
99
|
-
}): DataModel<{
|
|
100
|
-
activeSuspension?: {
|
|
101
|
-
createdAt: string;
|
|
102
|
-
} | undefined;
|
|
103
|
-
avatarRefId?: string | undefined;
|
|
104
|
-
categoryId?: string | undefined;
|
|
105
|
-
creationDate: string;
|
|
106
|
-
customerId: string;
|
|
107
|
-
customerNumber: string;
|
|
108
|
-
deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor")[] | undefined;
|
|
109
|
-
executingUserRoles?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
|
|
110
|
-
flags?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[] | undefined;
|
|
111
|
-
isAllowedToPlaceOrders?: boolean | undefined;
|
|
112
|
-
isBanned?: boolean | undefined;
|
|
113
|
-
isInDefaultOfPayment?: boolean | undefined;
|
|
114
|
-
isMailAddressInvalid?: boolean | undefined;
|
|
115
|
-
levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
|
|
116
|
-
memberCount: number;
|
|
117
|
-
name: string;
|
|
118
|
-
owner?: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
|
|
119
|
-
projectCount: number;
|
|
120
|
-
vatId?: string | undefined;
|
|
121
|
-
vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
|
|
122
|
-
}>;
|
|
123
|
-
}]>;
|
|
124
|
-
export declare class CustomerDetailed extends CustomerDetailed_base {
|
|
125
|
-
constructor(data: CustomerData);
|
|
126
|
-
}
|
|
127
|
-
declare const CustomerListItem_base: import("polytype").Polytype.ClusteredConstructor<[typeof CustomerCommon, {
|
|
128
|
-
new (data: import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.CustomerCustomer): DataModel<import("@mittwald/api-client").MittwaldAPIV2.Components.Schemas.CustomerCustomer>;
|
|
129
|
-
}]>;
|
|
130
|
-
export declare class CustomerListItem extends CustomerListItem_base {
|
|
131
|
-
constructor(data: CustomerListItemData);
|
|
132
|
-
}
|
|
133
|
-
export declare class CustomerListQuery extends ListQueryModel<CustomerListQueryData> {
|
|
134
|
-
constructor(query?: CustomerListQueryData);
|
|
135
|
-
refine(query: CustomerListQueryData): CustomerListQuery;
|
|
136
|
-
execute: AsyncResourceVariant<() => Promise<CustomerList>>;
|
|
137
|
-
getTotalCount: AsyncResourceVariant<() => Promise<number>>;
|
|
138
|
-
findOneAndOnly: AsyncResourceVariant<() => Promise<CustomerListItem | undefined>>;
|
|
139
|
-
}
|
|
140
|
-
declare const CustomerList_base: import("polytype").Polytype.ClusteredConstructor<[typeof CustomerListQuery, {
|
|
141
|
-
new (items: CustomerListItem[], totalCount: number): ListDataModel<CustomerListItem>;
|
|
142
|
-
}]>;
|
|
143
|
-
export declare class CustomerList extends CustomerList_base {
|
|
144
|
-
constructor(query: CustomerListQueryData, customers: CustomerListItem[], totalCount: number);
|
|
145
|
-
}
|
|
146
|
-
export {};
|