@mittwald/api-models 4.61.0 → 4.62.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/config/behaviors/api.js +4 -0
- package/dist/esm/config/config.js +2 -0
- package/dist/esm/contract/Contract/Contract.js +78 -0
- package/dist/esm/contract/Contract/behaviors/api.js +20 -0
- package/dist/esm/contract/Contract/behaviors/index.js +2 -0
- package/dist/esm/contract/Contract/behaviors/types.js +1 -0
- package/dist/esm/contract/Contract/index.js +2 -0
- package/dist/esm/contract/Contract/types.js +1 -0
- package/dist/esm/contract/ContractItem/ContractItem.js +31 -0
- package/dist/esm/contract/ContractItem/behaviors/api.js +13 -0
- package/dist/esm/contract/ContractItem/behaviors/index.js +2 -0
- package/dist/esm/contract/ContractItem/behaviors/types.js +1 -0
- package/dist/esm/contract/ContractItem/index.js +2 -0
- package/dist/esm/contract/ContractItem/types.js +1 -0
- package/dist/esm/contract/index.js +2 -0
- package/dist/types/config/config.d.ts +4 -0
- package/dist/types/contract/Contract/Contract.d.ts +68 -0
- package/dist/types/contract/Contract/behaviors/api.d.ts +3 -0
- package/dist/types/contract/Contract/behaviors/index.d.ts +2 -0
- package/dist/types/contract/Contract/behaviors/types.d.ts +9 -0
- package/dist/types/contract/Contract/index.d.ts +2 -0
- package/dist/types/contract/Contract/types.d.ts +8 -0
- package/dist/types/contract/ContractItem/ContractItem.d.ts +64 -0
- package/dist/types/contract/ContractItem/behaviors/api.d.ts +3 -0
- package/dist/types/contract/ContractItem/behaviors/index.d.ts +2 -0
- package/dist/types/contract/ContractItem/behaviors/types.d.ts +4 -0
- package/dist/types/contract/ContractItem/index.d.ts +2 -0
- package/dist/types/contract/ContractItem/types.d.ts +2 -0
- package/dist/types/contract/index.d.ts +2 -0
- package/package.json +3 -3
|
@@ -6,6 +6,8 @@ import { apiCustomerBehaviors } from "../../customer/Customer/behaviors/index.js
|
|
|
6
6
|
import { apiIngressBehaviors } from "../../domain/Ingress/behaviors/index.js";
|
|
7
7
|
import { apiAppInstallationBehaviors } from "../../app/AppInstallation/behaviors/index.js";
|
|
8
8
|
import { addUrlTagToProvideReactCache } from "../../react/asyncResourceInvalidation.js";
|
|
9
|
+
import { apiContractBehaviors } from "../../contract/Contract/behaviors/index.js";
|
|
10
|
+
import { apiContractItemBehaviors } from "../../contract/ContractItem/behaviors/index.js";
|
|
9
11
|
class ApiSetupState {
|
|
10
12
|
_client;
|
|
11
13
|
setupWithClient(client) {
|
|
@@ -20,6 +22,8 @@ class ApiSetupState {
|
|
|
20
22
|
config.behaviors.customer = apiCustomerBehaviors(client);
|
|
21
23
|
config.behaviors.ingress = apiIngressBehaviors(client);
|
|
22
24
|
config.behaviors.appInstallation = apiAppInstallationBehaviors(client);
|
|
25
|
+
config.behaviors.contract = apiContractBehaviors(client);
|
|
26
|
+
config.behaviors.contractItem = apiContractItemBehaviors(client);
|
|
23
27
|
}
|
|
24
28
|
setupWithApiToken(apiToken) {
|
|
25
29
|
return this.setupWithClient(MittwaldAPIV2Client.newWithToken(apiToken));
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { DataModel, ListDataModel, ListQueryModel, ReferenceModel, } from "../../base/index.js";
|
|
2
|
+
import { provideReact } from "../../react/index.js";
|
|
3
|
+
import { config } from "../../config/config.js";
|
|
4
|
+
import { classes } from "polytype";
|
|
5
|
+
import assertObjectFound from "../../base/assertObjectFound.js";
|
|
6
|
+
export class Contract extends ReferenceModel {
|
|
7
|
+
static ofId(id) {
|
|
8
|
+
return new Contract(id);
|
|
9
|
+
}
|
|
10
|
+
static find = provideReact(async (id) => {
|
|
11
|
+
const data = await config.behaviors.contract.find(id);
|
|
12
|
+
if (data !== undefined) {
|
|
13
|
+
return new ContractDetailed(data);
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
static query(query) {
|
|
17
|
+
return new ContractListQuery(query);
|
|
18
|
+
}
|
|
19
|
+
static get = provideReact(async (id) => {
|
|
20
|
+
const customer = await this.find(id);
|
|
21
|
+
assertObjectFound(customer, this, id);
|
|
22
|
+
return customer;
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
class ContractCommon extends classes((DataModel), Contract) {
|
|
26
|
+
constructor(data) {
|
|
27
|
+
super([data], [data.customerId]);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class ContractDetailed extends classes(ContractCommon, (DataModel)) {
|
|
31
|
+
constructor(data) {
|
|
32
|
+
super([data], [data]);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
export class ContractListItem extends classes(ContractCommon, (DataModel)) {
|
|
36
|
+
constructor(data) {
|
|
37
|
+
super([data], [data]);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
export class ContractListQuery extends ListQueryModel {
|
|
41
|
+
constructor(query) {
|
|
42
|
+
super(query);
|
|
43
|
+
}
|
|
44
|
+
refine(query) {
|
|
45
|
+
return new ContractListQuery({
|
|
46
|
+
...this.query,
|
|
47
|
+
...query,
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
execute = provideReact(async () => {
|
|
51
|
+
const { customer, ...query } = this.query;
|
|
52
|
+
const customerId = customer.id;
|
|
53
|
+
const request = {
|
|
54
|
+
customerId: customerId,
|
|
55
|
+
queryParameters: {
|
|
56
|
+
limit: config.defaultPaginationLimit,
|
|
57
|
+
...query,
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
const { items, totalCount } = await config.behaviors.contract.list(request);
|
|
61
|
+
return new ContractList(this.query, items.map((d) => new ContractListItem(d)), totalCount);
|
|
62
|
+
}, [this.queryId]);
|
|
63
|
+
getTotalCount = provideReact(async () => {
|
|
64
|
+
const { totalCount } = await this.refine({ limit: 1 }).execute();
|
|
65
|
+
return totalCount;
|
|
66
|
+
}, [this.queryId]);
|
|
67
|
+
findOneAndOnly = provideReact(async () => {
|
|
68
|
+
const { items, totalCount } = await this.refine({ limit: 1 }).execute();
|
|
69
|
+
if (totalCount === 1) {
|
|
70
|
+
return items[0];
|
|
71
|
+
}
|
|
72
|
+
}, [this.queryId]);
|
|
73
|
+
}
|
|
74
|
+
export class ContractList extends classes(ContractListQuery, (ListDataModel)) {
|
|
75
|
+
constructor(query, contracts, totalCount) {
|
|
76
|
+
super([query], [contracts, totalCount]);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { assertStatus, extractTotalCountHeader, } from "@mittwald/api-client";
|
|
2
|
+
export const apiContractBehaviors = (client) => ({
|
|
3
|
+
find: async (id) => {
|
|
4
|
+
const response = await client.contract.getDetailOfContract({
|
|
5
|
+
contractId: id,
|
|
6
|
+
});
|
|
7
|
+
if (response.status === 200) {
|
|
8
|
+
return response.data;
|
|
9
|
+
}
|
|
10
|
+
assertStatus(response, 404);
|
|
11
|
+
},
|
|
12
|
+
list: async (request) => {
|
|
13
|
+
const response = await client.contract.listContracts(request);
|
|
14
|
+
assertStatus(response, 200);
|
|
15
|
+
return {
|
|
16
|
+
items: response.data,
|
|
17
|
+
totalCount: extractTotalCountHeader(response),
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { classes } from "polytype";
|
|
2
|
+
import { DataModel, ReferenceModel } from "../../base/index.js";
|
|
3
|
+
import { provideReact } from "../../react/index.js";
|
|
4
|
+
import { config } from "../../config/config.js";
|
|
5
|
+
import assertObjectFound from "../../base/assertObjectFound.js";
|
|
6
|
+
export class ContractItem extends ReferenceModel {
|
|
7
|
+
static ofId(contractId, id) {
|
|
8
|
+
return new ContractItem(contractId, id);
|
|
9
|
+
}
|
|
10
|
+
static find = provideReact(async (contractId, contractItemId) => {
|
|
11
|
+
const data = await config.behaviors.contractItem.find(contractId, contractItemId);
|
|
12
|
+
if (data !== undefined) {
|
|
13
|
+
return new ContractItemDetailed(contractId, data);
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
static get = provideReact(async (contractId, contractItemId) => {
|
|
17
|
+
const item = await this.find(contractId, contractItemId);
|
|
18
|
+
assertObjectFound(item, this, contractItemId);
|
|
19
|
+
return item;
|
|
20
|
+
});
|
|
21
|
+
contractId;
|
|
22
|
+
constructor(contractId, id) {
|
|
23
|
+
super(id);
|
|
24
|
+
this.contractId = contractId;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export class ContractItemDetailed extends classes((DataModel), ContractItem) {
|
|
28
|
+
constructor(contractId, data) {
|
|
29
|
+
super([data], [contractId, data.itemId]);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { assertStatus } from "@mittwald/api-client";
|
|
2
|
+
export const apiContractItemBehaviors = (client) => ({
|
|
3
|
+
find: async (contractId, contractItemId) => {
|
|
4
|
+
const response = await client.contract.getDetailOfContractItem({
|
|
5
|
+
contractId,
|
|
6
|
+
contractItemId,
|
|
7
|
+
});
|
|
8
|
+
if (response.status === 200) {
|
|
9
|
+
return response.data;
|
|
10
|
+
}
|
|
11
|
+
assertStatus(response, 404);
|
|
12
|
+
},
|
|
13
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,10 +2,14 @@ import { ProjectBehaviors } from "../project/Project/behaviors/index.js";
|
|
|
2
2
|
import { ServerBehaviors } from "../server/Server/behaviors/index.js";
|
|
3
3
|
import { CustomerBehaviors } from "../customer/Customer/behaviors/index.js";
|
|
4
4
|
import { IngressBehaviors } from "../domain/Ingress/behaviors/index.js";
|
|
5
|
+
import { ContractBehaviors } from "../contract/Contract/behaviors/index.js";
|
|
5
6
|
import { AppInstallationBehaviors } from "../app/AppInstallation/behaviors/index.js";
|
|
7
|
+
import { ContractItemBehaviors } from "../contract/ContractItem/behaviors/index.js";
|
|
6
8
|
interface Config {
|
|
7
9
|
defaultPaginationLimit: number;
|
|
8
10
|
behaviors: {
|
|
11
|
+
contract: ContractBehaviors;
|
|
12
|
+
contractItem: ContractItemBehaviors;
|
|
9
13
|
project: ProjectBehaviors;
|
|
10
14
|
server: ServerBehaviors;
|
|
11
15
|
customer: CustomerBehaviors;
|
|
@@ -0,0 +1,68 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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];
|
|
@@ -0,0 +1,64 @@
|
|
|
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 {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-models",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.62.0",
|
|
4
4
|
"author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Collection of domain models for coherent interaction with the API",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"test:unit": "node --experimental-vm-modules $(yarn bin jest)"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@mittwald/api-client": "^4.
|
|
42
|
+
"@mittwald/api-client": "^4.61.1",
|
|
43
43
|
"another-deep-freeze": "^1.0.0",
|
|
44
44
|
"context": "^3.0.31",
|
|
45
45
|
"object-code": "^1.3.3",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"optional": true
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "e22fd31676cdf21390bda78ffde3f7acc364911c"
|
|
86
86
|
}
|