@contractspec/example.service-business-os 1.56.1 → 1.58.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/browser/client/client.operations.js +72 -0
- package/dist/browser/client/client.schema.js +31 -0
- package/dist/browser/client/index.js +74 -0
- package/dist/browser/docs/index.js +96 -0
- package/dist/browser/docs/service-business-os.docblock.js +96 -0
- package/dist/browser/entities/index.js +246 -0
- package/dist/browser/events.js +135 -0
- package/dist/browser/example.js +39 -0
- package/dist/browser/handlers/index.js +5 -0
- package/dist/browser/index.js +752 -0
- package/dist/browser/invoice/index.js +77 -0
- package/dist/browser/invoice/invoice.operations.js +75 -0
- package/dist/browser/invoice/invoice.schema.js +34 -0
- package/dist/browser/job/index.js +175 -0
- package/dist/browser/job/job.operations.js +172 -0
- package/dist/browser/job/job.schema.js +41 -0
- package/dist/browser/operations/index.js +506 -0
- package/dist/browser/payment/index.js +69 -0
- package/dist/browser/payment/payment.operations.js +67 -0
- package/dist/browser/payment/payment.schema.js +30 -0
- package/dist/browser/presentations/index.js +13 -0
- package/dist/browser/presentations.js +172 -0
- package/dist/browser/quote/index.js +122 -0
- package/dist/browser/quote/quote.operations.js +119 -0
- package/dist/browser/quote/quote.schema.js +45 -0
- package/dist/browser/service-business-os.capability.js +28 -0
- package/dist/browser/service.feature.js +74 -0
- package/dist/client/client.operations.d.ts +54 -60
- package/dist/client/client.operations.d.ts.map +1 -1
- package/dist/client/client.operations.js +71 -51
- package/dist/client/client.schema.d.ts +54 -59
- package/dist/client/client.schema.d.ts.map +1 -1
- package/dist/client/client.schema.js +30 -75
- package/dist/client/index.d.ts +6 -3
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +74 -3
- package/dist/docs/index.d.ts +2 -1
- package/dist/docs/index.d.ts.map +1 -0
- package/dist/docs/index.js +97 -1
- package/dist/docs/service-business-os.docblock.d.ts +2 -1
- package/dist/docs/service-business-os.docblock.d.ts.map +1 -0
- package/dist/docs/service-business-os.docblock.js +52 -64
- package/dist/entities/index.d.ts +156 -161
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/index.js +236 -278
- package/dist/events.d.ts +253 -259
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +123 -217
- package/dist/example.d.ts +2 -6
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +37 -50
- package/dist/handlers/index.d.ts +11 -16
- package/dist/handlers/index.d.ts.map +1 -1
- package/dist/handlers/index.js +5 -5
- package/dist/index.d.ts +13 -18
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +752 -18
- package/dist/invoice/index.d.ts +6 -3
- package/dist/invoice/index.d.ts.map +1 -0
- package/dist/invoice/index.js +77 -3
- package/dist/invoice/invoice.operations.d.ts +54 -60
- package/dist/invoice/invoice.operations.d.ts.map +1 -1
- package/dist/invoice/invoice.operations.js +74 -55
- package/dist/invoice/invoice.schema.d.ts +54 -59
- package/dist/invoice/invoice.schema.d.ts.map +1 -1
- package/dist/invoice/invoice.schema.js +33 -75
- package/dist/job/index.d.ts +6 -3
- package/dist/job/index.d.ts.map +1 -0
- package/dist/job/index.js +175 -3
- package/dist/job/job.operations.d.ts +220 -226
- package/dist/job/job.operations.d.ts.map +1 -1
- package/dist/job/job.operations.js +167 -169
- package/dist/job/job.schema.d.ts +67 -72
- package/dist/job/job.schema.d.ts.map +1 -1
- package/dist/job/job.schema.js +39 -95
- package/dist/node/client/client.operations.js +72 -0
- package/dist/node/client/client.schema.js +31 -0
- package/dist/node/client/index.js +74 -0
- package/dist/node/docs/index.js +96 -0
- package/dist/node/docs/service-business-os.docblock.js +96 -0
- package/dist/node/entities/index.js +246 -0
- package/dist/node/events.js +135 -0
- package/dist/node/example.js +39 -0
- package/dist/node/handlers/index.js +5 -0
- package/dist/node/index.js +752 -0
- package/dist/node/invoice/index.js +77 -0
- package/dist/node/invoice/invoice.operations.js +75 -0
- package/dist/node/invoice/invoice.schema.js +34 -0
- package/dist/node/job/index.js +175 -0
- package/dist/node/job/job.operations.js +172 -0
- package/dist/node/job/job.schema.js +41 -0
- package/dist/node/operations/index.js +506 -0
- package/dist/node/payment/index.js +69 -0
- package/dist/node/payment/payment.operations.js +67 -0
- package/dist/node/payment/payment.schema.js +30 -0
- package/dist/node/presentations/index.js +13 -0
- package/dist/node/presentations.js +172 -0
- package/dist/node/quote/index.js +122 -0
- package/dist/node/quote/quote.operations.js +119 -0
- package/dist/node/quote/quote.schema.js +45 -0
- package/dist/node/service-business-os.capability.js +28 -0
- package/dist/node/service.feature.js +74 -0
- package/dist/operations/index.d.ts +6 -16
- package/dist/operations/index.d.ts.map +1 -0
- package/dist/operations/index.js +506 -16
- package/dist/payment/index.d.ts +6 -3
- package/dist/payment/index.d.ts.map +1 -0
- package/dist/payment/index.js +69 -3
- package/dist/payment/payment.operations.d.ts +50 -56
- package/dist/payment/payment.operations.d.ts.map +1 -1
- package/dist/payment/payment.operations.js +66 -51
- package/dist/payment/payment.schema.d.ts +50 -55
- package/dist/payment/payment.schema.d.ts.map +1 -1
- package/dist/payment/payment.schema.js +29 -71
- package/dist/presentations/index.d.ts +1 -4
- package/dist/presentations/index.d.ts.map +1 -1
- package/dist/presentations/index.js +13 -17
- package/dist/presentations.d.ts +7 -12
- package/dist/presentations.d.ts.map +1 -1
- package/dist/presentations.js +166 -172
- package/dist/quote/index.d.ts +6 -3
- package/dist/quote/index.d.ts.map +1 -0
- package/dist/quote/index.js +122 -3
- package/dist/quote/quote.operations.d.ts +120 -126
- package/dist/quote/quote.operations.d.ts.map +1 -1
- package/dist/quote/quote.operations.js +117 -96
- package/dist/quote/quote.schema.d.ts +83 -88
- package/dist/quote/quote.schema.d.ts.map +1 -1
- package/dist/quote/quote.schema.js +43 -111
- package/dist/service-business-os.capability.d.ts +2 -7
- package/dist/service-business-os.capability.d.ts.map +1 -1
- package/dist/service-business-os.capability.js +29 -29
- package/dist/service.feature.d.ts +1 -6
- package/dist/service.feature.d.ts.map +1 -1
- package/dist/service.feature.js +73 -164
- package/package.json +301 -64
- package/dist/client/client.operations.js.map +0 -1
- package/dist/client/client.schema.js.map +0 -1
- package/dist/docs/service-business-os.docblock.js.map +0 -1
- package/dist/entities/index.js.map +0 -1
- package/dist/events.js.map +0 -1
- package/dist/example.js.map +0 -1
- package/dist/handlers/index.js.map +0 -1
- package/dist/invoice/invoice.operations.js.map +0 -1
- package/dist/invoice/invoice.schema.js.map +0 -1
- package/dist/job/job.operations.js.map +0 -1
- package/dist/job/job.schema.js.map +0 -1
- package/dist/payment/payment.operations.js.map +0 -1
- package/dist/payment/payment.schema.js.map +0 -1
- package/dist/presentations/index.js.map +0 -1
- package/dist/presentations.js.map +0 -1
- package/dist/quote/quote.operations.js.map +0 -1
- package/dist/quote/quote.schema.js.map +0 -1
- package/dist/service-business-os.capability.js.map +0 -1
- package/dist/service.feature.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quote.schema.d.ts","
|
|
1
|
+
{"version":3,"file":"quote.schema.d.ts","sourceRoot":"","sources":["../../src/quote/quote.schema.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcrB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAahC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;EAQhC,CAAC"}
|
|
@@ -1,114 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
},
|
|
19
|
-
title: {
|
|
20
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
21
|
-
isOptional: false
|
|
22
|
-
},
|
|
23
|
-
description: {
|
|
24
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
25
|
-
isOptional: true
|
|
26
|
-
},
|
|
27
|
-
amount: {
|
|
28
|
-
type: ScalarTypeEnum.Float_unsecure(),
|
|
29
|
-
isOptional: false
|
|
30
|
-
},
|
|
31
|
-
currency: {
|
|
32
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
33
|
-
isOptional: false
|
|
34
|
-
},
|
|
35
|
-
status: {
|
|
36
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
37
|
-
isOptional: false
|
|
38
|
-
},
|
|
39
|
-
validUntil: {
|
|
40
|
-
type: ScalarTypeEnum.DateTime(),
|
|
41
|
-
isOptional: true
|
|
42
|
-
},
|
|
43
|
-
createdAt: {
|
|
44
|
-
type: ScalarTypeEnum.DateTime(),
|
|
45
|
-
isOptional: false
|
|
46
|
-
}
|
|
47
|
-
}
|
|
1
|
+
// @bun
|
|
2
|
+
// src/quote/quote.schema.ts
|
|
3
|
+
import { defineSchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
|
|
4
|
+
var QuoteModel = defineSchemaModel({
|
|
5
|
+
name: "Quote",
|
|
6
|
+
description: "Quote/proposal",
|
|
7
|
+
fields: {
|
|
8
|
+
id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
|
|
9
|
+
clientId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
|
|
10
|
+
title: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
|
|
11
|
+
description: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },
|
|
12
|
+
amount: { type: ScalarTypeEnum.Float_unsecure(), isOptional: false },
|
|
13
|
+
currency: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
|
|
14
|
+
status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
|
|
15
|
+
validUntil: { type: ScalarTypeEnum.DateTime(), isOptional: true },
|
|
16
|
+
createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false }
|
|
17
|
+
}
|
|
48
18
|
});
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
isOptional: false
|
|
63
|
-
},
|
|
64
|
-
description: {
|
|
65
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
66
|
-
isOptional: true
|
|
67
|
-
},
|
|
68
|
-
amount: {
|
|
69
|
-
type: ScalarTypeEnum.Float_unsecure(),
|
|
70
|
-
isOptional: false
|
|
71
|
-
},
|
|
72
|
-
currency: {
|
|
73
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
74
|
-
isOptional: true
|
|
75
|
-
},
|
|
76
|
-
validUntil: {
|
|
77
|
-
type: ScalarTypeEnum.DateTime(),
|
|
78
|
-
isOptional: true
|
|
79
|
-
},
|
|
80
|
-
orgId: {
|
|
81
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
82
|
-
isOptional: false
|
|
83
|
-
},
|
|
84
|
-
ownerId: {
|
|
85
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
86
|
-
isOptional: false
|
|
87
|
-
}
|
|
88
|
-
}
|
|
19
|
+
var CreateQuoteInputModel = defineSchemaModel({
|
|
20
|
+
name: "CreateQuoteInput",
|
|
21
|
+
description: "Input for creating a quote",
|
|
22
|
+
fields: {
|
|
23
|
+
clientId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
|
|
24
|
+
title: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
|
|
25
|
+
description: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },
|
|
26
|
+
amount: { type: ScalarTypeEnum.Float_unsecure(), isOptional: false },
|
|
27
|
+
currency: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },
|
|
28
|
+
validUntil: { type: ScalarTypeEnum.DateTime(), isOptional: true },
|
|
29
|
+
orgId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
|
|
30
|
+
ownerId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false }
|
|
31
|
+
}
|
|
89
32
|
});
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
99
|
-
isOptional: false
|
|
100
|
-
},
|
|
101
|
-
acceptedBy: {
|
|
102
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
103
|
-
isOptional: false
|
|
104
|
-
},
|
|
105
|
-
notes: {
|
|
106
|
-
type: ScalarTypeEnum.String_unsecure(),
|
|
107
|
-
isOptional: true
|
|
108
|
-
}
|
|
109
|
-
}
|
|
33
|
+
var AcceptQuoteInputModel = defineSchemaModel({
|
|
34
|
+
name: "AcceptQuoteInput",
|
|
35
|
+
description: "Input for accepting a quote",
|
|
36
|
+
fields: {
|
|
37
|
+
quoteId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
|
|
38
|
+
acceptedBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
|
|
39
|
+
notes: { type: ScalarTypeEnum.String_unsecure(), isOptional: true }
|
|
40
|
+
}
|
|
110
41
|
});
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
42
|
+
export {
|
|
43
|
+
QuoteModel,
|
|
44
|
+
CreateQuoteInputModel,
|
|
45
|
+
AcceptQuoteInputModel
|
|
46
|
+
};
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
//#region src/service-business-os.capability.d.ts
|
|
4
|
-
declare const QuotesCapability: _contractspec_lib_contracts19.CapabilitySpec;
|
|
5
|
-
declare const InvoicesCapability: _contractspec_lib_contracts19.CapabilitySpec;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { InvoicesCapability, QuotesCapability };
|
|
1
|
+
export declare const QuotesCapability: import("@contractspec/lib.contracts").CapabilitySpec;
|
|
2
|
+
export declare const InvoicesCapability: import("@contractspec/lib.contracts").CapabilitySpec;
|
|
8
3
|
//# sourceMappingURL=service-business-os.capability.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-business-os.capability.d.ts","
|
|
1
|
+
{"version":3,"file":"service-business-os.capability.d.ts","sourceRoot":"","sources":["../src/service-business-os.capability.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,sDAU3B,CAAC;AAEH,eAAO,MAAM,kBAAkB,sDAU7B,CAAC"}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
// @bun
|
|
2
|
+
// src/service-business-os.capability.ts
|
|
3
|
+
import { defineCapability, StabilityEnum } from "@contractspec/lib.contracts";
|
|
4
|
+
var QuotesCapability = defineCapability({
|
|
5
|
+
meta: {
|
|
6
|
+
key: "quotes",
|
|
7
|
+
version: "1.0.0",
|
|
8
|
+
kind: "api",
|
|
9
|
+
stability: StabilityEnum.Experimental,
|
|
10
|
+
description: "Quote generation and management for service businesses",
|
|
11
|
+
owners: ["platform.core"],
|
|
12
|
+
tags: ["quotes", "service", "business"]
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
var InvoicesCapability = defineCapability({
|
|
16
|
+
meta: {
|
|
17
|
+
key: "invoices",
|
|
18
|
+
version: "1.0.0",
|
|
19
|
+
kind: "api",
|
|
20
|
+
stability: StabilityEnum.Experimental,
|
|
21
|
+
description: "Invoice creation and payment tracking",
|
|
22
|
+
owners: ["platform.finance"],
|
|
23
|
+
tags: ["invoices", "billing"]
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
QuotesCapability,
|
|
28
|
+
InvoicesCapability
|
|
29
|
+
};
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
//#region src/service.feature.d.ts
|
|
4
|
-
declare const ServiceBusinessFeature: _contractspec_lib_contracts21.FeatureModuleSpec;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { ServiceBusinessFeature };
|
|
1
|
+
export declare const ServiceBusinessFeature: import("@contractspec/lib.contracts").FeatureModuleSpec;
|
|
7
2
|
//# sourceMappingURL=service.feature.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.feature.d.ts","
|
|
1
|
+
{"version":3,"file":"service.feature.d.ts","sourceRoot":"","sources":["../src/service.feature.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,yDAqEjC,CAAC"}
|
package/dist/service.feature.js
CHANGED
|
@@ -1,166 +1,75 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// src/service.feature.ts
|
|
1
3
|
import { defineFeature } from "@contractspec/lib.contracts";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
version: "1.0.0"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
key: "service.invoice.issued",
|
|
74
|
-
version: "1.0.0"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
key: "service.payment.received",
|
|
78
|
-
version: "1.0.0"
|
|
79
|
-
}
|
|
80
|
-
],
|
|
81
|
-
presentations: [
|
|
82
|
-
{
|
|
83
|
-
key: "service-business-os.dashboard",
|
|
84
|
-
version: "1.0.0"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
key: "service-business-os.client.list",
|
|
88
|
-
version: "1.0.0"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
key: "service-business-os.quote.list",
|
|
92
|
-
version: "1.0.0"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
key: "service-business-os.quote.detail",
|
|
96
|
-
version: "1.0.0"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
key: "service-business-os.job.board",
|
|
100
|
-
version: "1.0.0"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
key: "service-business-os.invoice.list",
|
|
104
|
-
version: "1.0.0"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
key: "service-business-os.payment.list",
|
|
108
|
-
version: "1.0.0"
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
presentationsTargets: [
|
|
112
|
-
{
|
|
113
|
-
key: "service-business-os.dashboard",
|
|
114
|
-
version: "1.0.0",
|
|
115
|
-
targets: ["react", "markdown"]
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
key: "service-business-os.quote.list",
|
|
119
|
-
version: "1.0.0",
|
|
120
|
-
targets: ["react", "markdown"]
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
key: "service-business-os.invoice.list",
|
|
124
|
-
version: "1.0.0",
|
|
125
|
-
targets: ["react", "markdown"]
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
|
-
capabilities: {
|
|
129
|
-
requires: [
|
|
130
|
-
{
|
|
131
|
-
key: "identity",
|
|
132
|
-
version: "1.0.0"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
key: "audit-trail",
|
|
136
|
-
version: "1.0.0"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
key: "notifications",
|
|
140
|
-
version: "1.0.0"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
key: "files",
|
|
144
|
-
version: "1.0.0"
|
|
145
|
-
}
|
|
146
|
-
],
|
|
147
|
-
provides: [
|
|
148
|
-
{
|
|
149
|
-
key: "quotes",
|
|
150
|
-
version: "1.0.0"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
key: "jobs",
|
|
154
|
-
version: "1.0.0"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
key: "invoices",
|
|
158
|
-
version: "1.0.0"
|
|
159
|
-
}
|
|
160
|
-
]
|
|
161
|
-
}
|
|
4
|
+
var ServiceBusinessFeature = defineFeature({
|
|
5
|
+
meta: {
|
|
6
|
+
key: "service-business-os",
|
|
7
|
+
title: "Service Business OS",
|
|
8
|
+
description: "Quotes \u2192 jobs \u2192 invoices \u2192 payments for field services and agencies.",
|
|
9
|
+
domain: "services",
|
|
10
|
+
owners: ["@service-os"],
|
|
11
|
+
tags: ["services", "quotes", "jobs", "invoices", "payments"],
|
|
12
|
+
stability: "experimental",
|
|
13
|
+
version: "1.0.0"
|
|
14
|
+
},
|
|
15
|
+
operations: [
|
|
16
|
+
{ key: "service.client.create", version: "1.0.0" },
|
|
17
|
+
{ key: "service.quote.create", version: "1.0.0" },
|
|
18
|
+
{ key: "service.quote.accept", version: "1.0.0" },
|
|
19
|
+
{ key: "service.job.schedule", version: "1.0.0" },
|
|
20
|
+
{ key: "service.job.complete", version: "1.0.0" },
|
|
21
|
+
{ key: "service.invoice.issue", version: "1.0.0" },
|
|
22
|
+
{ key: "service.payment.record", version: "1.0.0" },
|
|
23
|
+
{ key: "service.job.list", version: "1.0.0" }
|
|
24
|
+
],
|
|
25
|
+
events: [
|
|
26
|
+
{ key: "service.quote.sent", version: "1.0.0" },
|
|
27
|
+
{ key: "service.quote.accepted", version: "1.0.0" },
|
|
28
|
+
{ key: "service.job.scheduled", version: "1.0.0" },
|
|
29
|
+
{ key: "service.job.completed", version: "1.0.0" },
|
|
30
|
+
{ key: "service.invoice.issued", version: "1.0.0" },
|
|
31
|
+
{ key: "service.payment.received", version: "1.0.0" }
|
|
32
|
+
],
|
|
33
|
+
presentations: [
|
|
34
|
+
{ key: "service-business-os.dashboard", version: "1.0.0" },
|
|
35
|
+
{ key: "service-business-os.client.list", version: "1.0.0" },
|
|
36
|
+
{ key: "service-business-os.quote.list", version: "1.0.0" },
|
|
37
|
+
{ key: "service-business-os.quote.detail", version: "1.0.0" },
|
|
38
|
+
{ key: "service-business-os.job.board", version: "1.0.0" },
|
|
39
|
+
{ key: "service-business-os.invoice.list", version: "1.0.0" },
|
|
40
|
+
{ key: "service-business-os.payment.list", version: "1.0.0" }
|
|
41
|
+
],
|
|
42
|
+
presentationsTargets: [
|
|
43
|
+
{
|
|
44
|
+
key: "service-business-os.dashboard",
|
|
45
|
+
version: "1.0.0",
|
|
46
|
+
targets: ["react", "markdown"]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
key: "service-business-os.quote.list",
|
|
50
|
+
version: "1.0.0",
|
|
51
|
+
targets: ["react", "markdown"]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
key: "service-business-os.invoice.list",
|
|
55
|
+
version: "1.0.0",
|
|
56
|
+
targets: ["react", "markdown"]
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
capabilities: {
|
|
60
|
+
requires: [
|
|
61
|
+
{ key: "identity", version: "1.0.0" },
|
|
62
|
+
{ key: "audit-trail", version: "1.0.0" },
|
|
63
|
+
{ key: "notifications", version: "1.0.0" },
|
|
64
|
+
{ key: "files", version: "1.0.0" }
|
|
65
|
+
],
|
|
66
|
+
provides: [
|
|
67
|
+
{ key: "quotes", version: "1.0.0" },
|
|
68
|
+
{ key: "jobs", version: "1.0.0" },
|
|
69
|
+
{ key: "invoices", version: "1.0.0" }
|
|
70
|
+
]
|
|
71
|
+
}
|
|
162
72
|
});
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
//# sourceMappingURL=service.feature.js.map
|
|
73
|
+
export {
|
|
74
|
+
ServiceBusinessFeature
|
|
75
|
+
};
|