@pagopa/interop-outbound-models 1.8.18-soglie.differenziate.0 → 1.8.19
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/CHANGELOG.md +73 -14
- package/dist/eservice/eventsV2.d.ts +64 -1
- package/dist/eservice/eventsV2.d.ts.map +1 -1
- package/dist/eservice/eventsV2.js +29 -1
- package/dist/eservice/index.d.ts +21 -0
- package/dist/eservice/index.d.ts.map +1 -1
- package/dist/eservice-template/eventsV2.d.ts +64 -1
- package/dist/eservice-template/eventsV2.d.ts.map +1 -1
- package/dist/eservice-template/eventsV2.js +28 -1
- package/dist/eservice-template/index.d.ts +21 -0
- package/dist/eservice-template/index.d.ts.map +1 -1
- package/dist/gen/v2/eservice/eservice.d.ts +47 -0
- package/dist/gen/v2/eservice/eservice.d.ts.map +1 -1
- package/dist/gen/v2/eservice/eservice.js +102 -2
- package/dist/gen/v2/eservice/events.d.ts +81 -0
- package/dist/gen/v2/eservice/events.d.ts.map +1 -1
- package/dist/gen/v2/eservice/events.js +186 -0
- package/dist/gen/v2/eservice-template/eservice-template.d.ts +13 -0
- package/dist/gen/v2/eservice-template/eservice-template.d.ts.map +1 -1
- package/dist/gen/v2/eservice-template/eservice-template.js +24 -2
- package/dist/gen/v2/eservice-template/events.d.ts +81 -0
- package/dist/gen/v2/eservice-template/events.d.ts.map +1 -1
- package/dist/gen/v2/eservice-template/events.js +186 -0
- package/dist/gen/v2/purpose-template/events.d.ts +59 -0
- package/dist/gen/v2/purpose-template/events.d.ts.map +1 -1
- package/dist/gen/v2/purpose-template/events.js +131 -0
- package/dist/purpose-template/eventsV2.d.ts +43 -1
- package/dist/purpose-template/eventsV2.d.ts.map +1 -1
- package/dist/purpose-template/eventsV2.js +19 -1
- package/dist/purpose-template/index.d.ts +14 -0
- package/dist/purpose-template/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/proto/v2/eservice/eservice.proto +11 -0
- package/proto/v2/eservice/events.proto +18 -0
- package/proto/v2/eservice-template/eservice-template.proto +3 -0
- package/proto/v2/eservice-template/events.proto +18 -0
- package/proto/v2/purpose-template/events.proto +14 -0
- package/src/eservice/eventsV2.ts +49 -0
- package/src/eservice-template/eventsV2.ts +60 -0
- package/src/purpose-template/eventsV2.ts +24 -0
- package/tests/eservice.test.ts +165 -1
- package/tests/purpose-template.test.ts +97 -0
- package/tests/template.test.ts +158 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,77 +2,135 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 1.8.19
|
|
6
6
|
|
|
7
7
|
### Added
|
|
8
8
|
|
|
9
9
|
- Add the `EServiceDescriptorAttributeDailyCallsPerConsumerUpdatedV2` event.
|
|
10
10
|
- Add the relative serializer, schema and test.
|
|
11
11
|
|
|
12
|
+
## 1.8.18
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- Added `PurposeTemplateEServiceTemplateLinkedV2` event
|
|
17
|
+
- Added `PurposeTemplateEServiceTemplateUnlinkedV2` event
|
|
18
|
+
- Added `AsyncExchangePropertiesV2` message
|
|
19
|
+
- Added `asyncExchange` property to `EServiceV2` and `EServiceTemplateV2`
|
|
20
|
+
- Added `asyncExchangeCallbackInterface` and `asyncExchangeProperties` properties to `EServiceDescriptorV2` and `EServiceTemplateVersionV2`
|
|
21
|
+
- Added async exchange callback interface events for `EService`:
|
|
22
|
+
- `EServiceDescriptorAsyncExchangeCallbackInterfaceAdded`
|
|
23
|
+
- `EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated`
|
|
24
|
+
- `EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted`
|
|
25
|
+
- Added async exchange callback interface events for `EServiceTemplate`:
|
|
26
|
+
- `EServiceTemplateVersionAsyncExchangeCallbackInterfaceAdded`
|
|
27
|
+
- `EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdated`
|
|
28
|
+
- `EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeleted`
|
|
29
|
+
|
|
30
|
+
## 1.8.17
|
|
31
|
+
|
|
32
|
+
### Restore
|
|
33
|
+
|
|
34
|
+
- Revert recent changes to ensure stability
|
|
35
|
+
|
|
36
|
+
## 1.8.16
|
|
37
|
+
|
|
38
|
+
### Added
|
|
39
|
+
|
|
40
|
+
- Added `startedAt` property to `ArchivingScheduleV2`
|
|
41
|
+
|
|
42
|
+
## 1.8.15
|
|
43
|
+
|
|
44
|
+
### Added
|
|
45
|
+
|
|
46
|
+
- Added `ArchivingScheduleV2` message and `ArchivingScopeV2` enum
|
|
47
|
+
- Added `archivingSchedule` property to `EServiceDescriptorV2`
|
|
48
|
+
- Added `archivingReason` property to `EServiceV2`
|
|
49
|
+
- Added `ARCHIVING` and `ARCHIVING_SUSPENDED` states to `EServiceDescriptorStateV2`
|
|
50
|
+
- Added archiving scheduled events:
|
|
51
|
+
- `EServiceArchivingScheduled`
|
|
52
|
+
- `EServiceArchivingCanceled`
|
|
53
|
+
- `EServiceArchivingCompleted`
|
|
54
|
+
- `EServiceDescriptorArchivingScheduled`
|
|
55
|
+
- `EServiceDescriptorArchivingCanceled`
|
|
56
|
+
- `EServiceDescriptorArchivingCompleted`
|
|
57
|
+
|
|
12
58
|
## 1.8.14
|
|
13
59
|
|
|
14
60
|
### Renamed
|
|
61
|
+
|
|
15
62
|
- Renamed MaintenanceEServiceUpdated event into MaintenanceEServicePersonalDataFlagReset
|
|
16
63
|
|
|
17
64
|
## 1.8.13
|
|
18
65
|
|
|
19
66
|
### Added
|
|
67
|
+
|
|
20
68
|
- Add MaintenanceEServiceUpdated event
|
|
21
69
|
|
|
22
70
|
## 1.8.12
|
|
23
71
|
|
|
24
72
|
### Moved selfcareInstitutionType from ExternalId to TenantV2
|
|
73
|
+
|
|
25
74
|
- Moved `selfcareInstitutionType` property from `ExternalId` to `TenantV2` protobuf model.
|
|
26
75
|
|
|
27
76
|
## 1.8.11
|
|
28
77
|
|
|
29
78
|
### Added selfcareInstitutionType to ExternalId on TenantV2
|
|
79
|
+
|
|
30
80
|
- Added `selfcareInstitutionType` property to `ExternalId` on `TenantV2` protobuf model.
|
|
31
81
|
|
|
32
82
|
## 1.8.10
|
|
83
|
+
|
|
33
84
|
### Feature: instanceLabel - fix
|
|
34
85
|
|
|
35
86
|
## 1.8.9
|
|
36
87
|
|
|
37
88
|
### Feature: instanceLabel
|
|
89
|
+
|
|
38
90
|
- Added `instanceLabel` in eservice
|
|
39
91
|
- Added `EServiceInstanceLabelUpdatedV2` event
|
|
40
92
|
|
|
41
93
|
## 1.8.8
|
|
42
94
|
|
|
43
95
|
### Separated EServiceTemplate attributes from EService attributes
|
|
96
|
+
|
|
44
97
|
- Created dedicated attribute types for EServiceTemplate: `EServiceTemplateAttributeValueV2`, `EServiceTemplateAttributeV2`, `EServiceTemplateAttributesV2`
|
|
45
98
|
- Added test coverage for EServiceTemplate event encoding/decoding
|
|
46
99
|
|
|
47
100
|
## 1.8.7
|
|
48
101
|
|
|
49
102
|
### EServiceDescriptorAttributeV2 Refactor
|
|
103
|
+
|
|
50
104
|
- renamed `dailyCalls` field to `dailyCallsPerConsumer`
|
|
51
105
|
|
|
52
106
|
## 1.8.6
|
|
53
107
|
|
|
54
108
|
### Added support for Custom Thresholds in EServiceDescriptor attributes
|
|
109
|
+
|
|
55
110
|
- Added `dailyCalls` property to `EServiceDescriptorAttributeV2` protobuf model.
|
|
56
111
|
|
|
57
112
|
## 1.8.5
|
|
58
113
|
|
|
59
114
|
### Fixed target tenant kind Protobuf
|
|
115
|
+
|
|
60
116
|
- Fixed target tenant kind Protobuf
|
|
61
117
|
|
|
62
118
|
## 1.8.4
|
|
63
119
|
|
|
64
120
|
### Updated purpose template's target tenant kind
|
|
121
|
+
|
|
65
122
|
- Updated target tenant kind in `PurposeTemplateV2`
|
|
66
123
|
|
|
67
124
|
## 1.8.3
|
|
68
125
|
|
|
69
126
|
### Fixed
|
|
70
|
-
- Fixed missing declarations of events `RiskAnalysisTemplate*V2`
|
|
71
127
|
|
|
128
|
+
- Fixed missing declarations of events `RiskAnalysisTemplate*V2`
|
|
72
129
|
|
|
73
130
|
## 1.8.2
|
|
74
131
|
|
|
75
132
|
### Added purpose template events about document archiving:
|
|
133
|
+
|
|
76
134
|
- `RiskAnalysisTemplateDocumentGeneratedV2`
|
|
77
135
|
- `RiskAnalysisTemplateSignedDocumentGeneratedV2`
|
|
78
136
|
|
|
@@ -86,18 +144,19 @@ All notable changes to this project will be documented in this file.
|
|
|
86
144
|
## 1.8.0
|
|
87
145
|
|
|
88
146
|
### Added purpose template events:
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
147
|
+
|
|
148
|
+
- `PurposeTemplateAddedV2`
|
|
149
|
+
- `PurposeTemplateEServiceLinkedV2`
|
|
150
|
+
- `PurposeTemplateEServiceUnlinkedV2`
|
|
151
|
+
- `PurposeTemplateDraftUpdatedV2`
|
|
152
|
+
- `PurposeTemplateDraftDeletedV2`
|
|
153
|
+
- `PurposeTemplatePublishedV2`
|
|
154
|
+
- `PurposeTemplateUnsuspendedV2`
|
|
155
|
+
- `PurposeTemplateSuspendedV2`
|
|
156
|
+
- `PurposeTemplateArchivedV2`
|
|
157
|
+
- `PurposeTemplateAnnotationDocumentAddedV2`
|
|
158
|
+
- `PurposeTemplateAnnotationDocumentDeletedV2`
|
|
159
|
+
- `PurposeTemplateAnnotationDocumentUpdatedV2`
|
|
101
160
|
|
|
102
161
|
## 1.7.2
|
|
103
162
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { DraftEServiceUpdatedV2, EServiceAddedV2, EServiceClonedV2, EServiceDeletedV2, EServiceDescriptorActivatedV2, EServiceDescriptorAddedV2, EServiceDescriptorArchivedV2, EServiceDescriptorDocumentAddedV2, EServiceDescriptorDocumentDeletedV2, EServiceDescriptorDocumentUpdatedV2, EServiceDescriptorInterfaceAddedV2, EServiceDescriptorInterfaceDeletedV2, EServiceDescriptorInterfaceUpdatedV2, EServiceDescriptorPublishedV2, EServiceDescriptorSuspendedV2, EServiceDraftDescriptorDeletedV2, EServiceDraftDescriptorUpdatedV2, EServiceDescriptorQuotasUpdatedV2, EServiceDescriptionUpdatedV2, EServiceDescriptorSubmittedByDelegateV2, EServiceDescriptorApprovedByDelegatorV2, EServiceDescriptorRejectedByDelegatorV2, EServiceDescriptorAttributesUpdatedV2, EServiceIsClientAccessDelegableDisabledV2, EServiceIsClientAccessDelegableEnabledV2, EServiceIsConsumerDelegableDisabledV2, EServiceIsConsumerDelegableEnabledV2, EServiceNameUpdatedV2, EServiceDescriptionUpdatedByTemplateUpdateV2, EServiceDescriptorQuotasUpdatedByTemplateUpdateV2, EServiceDescriptorAttributesUpdatedByTemplateUpdateV2, EServiceDescriptorAttributeDailyCallsPerConsumerUpdatedV2, EServiceDescriptorDocumentAddedByTemplateUpdateV2, EServiceDescriptorDocumentUpdatedByTemplateUpdateV2, EServiceDescriptorDocumentDeletedByTemplateUpdateV2, EServiceNameUpdatedByTemplateUpdateV2, EServiceDescriptorAgreementApprovalPolicyUpdatedV2, EServiceSignalHubEnabledV2, EServiceSignalHubDisabledV2, EServicePersonalDataFlagUpdatedAfterPublicationV2, EServicePersonalDataFlagUpdatedByTemplateUpdateV2, EServiceInstanceLabelUpdatedV2, MaintenanceEServicePersonalDataFlagResetV2 } from "../gen/v2/eservice/events.js";
|
|
2
|
+
import { DraftEServiceUpdatedV2, EServiceAddedV2, EServiceClonedV2, EServiceDeletedV2, EServiceDescriptorActivatedV2, EServiceDescriptorAddedV2, EServiceDescriptorArchivedV2, EServiceDescriptorDocumentAddedV2, EServiceDescriptorDocumentDeletedV2, EServiceDescriptorDocumentUpdatedV2, EServiceDescriptorInterfaceAddedV2, EServiceDescriptorInterfaceDeletedV2, EServiceDescriptorInterfaceUpdatedV2, EServiceDescriptorPublishedV2, EServiceDescriptorSuspendedV2, EServiceDraftDescriptorDeletedV2, EServiceDraftDescriptorUpdatedV2, EServiceDescriptorQuotasUpdatedV2, EServiceDescriptionUpdatedV2, EServiceDescriptorSubmittedByDelegateV2, EServiceDescriptorApprovedByDelegatorV2, EServiceDescriptorRejectedByDelegatorV2, EServiceDescriptorAttributesUpdatedV2, EServiceIsClientAccessDelegableDisabledV2, EServiceIsClientAccessDelegableEnabledV2, EServiceIsConsumerDelegableDisabledV2, EServiceIsConsumerDelegableEnabledV2, EServiceNameUpdatedV2, EServiceDescriptionUpdatedByTemplateUpdateV2, EServiceDescriptorQuotasUpdatedByTemplateUpdateV2, EServiceDescriptorAttributesUpdatedByTemplateUpdateV2, EServiceDescriptorAttributeDailyCallsPerConsumerUpdatedV2, EServiceDescriptorDocumentAddedByTemplateUpdateV2, EServiceDescriptorDocumentUpdatedByTemplateUpdateV2, EServiceDescriptorDocumentDeletedByTemplateUpdateV2, EServiceNameUpdatedByTemplateUpdateV2, EServiceDescriptorAgreementApprovalPolicyUpdatedV2, EServiceSignalHubEnabledV2, EServiceSignalHubDisabledV2, EServicePersonalDataFlagUpdatedAfterPublicationV2, EServicePersonalDataFlagUpdatedByTemplateUpdateV2, EServiceInstanceLabelUpdatedV2, MaintenanceEServicePersonalDataFlagResetV2, EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2, EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2, EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2 } from "../gen/v2/eservice/events.js";
|
|
3
3
|
export declare function eServiceEventToBinaryDataV2(event: EServiceEventV2): Uint8Array;
|
|
4
4
|
export declare const EServiceEventV2: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5
5
|
event_version: z.ZodLiteral<2>;
|
|
@@ -904,6 +904,69 @@ export declare const EServiceEventV2: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
904
904
|
stream_id: string;
|
|
905
905
|
timestamp: Date;
|
|
906
906
|
data?: any;
|
|
907
|
+
}>, z.ZodObject<{
|
|
908
|
+
event_version: z.ZodLiteral<2>;
|
|
909
|
+
type: z.ZodLiteral<"EServiceDescriptorAsyncExchangeCallbackInterfaceAdded">;
|
|
910
|
+
data: z.ZodEffects<z.ZodAny, EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2, any>;
|
|
911
|
+
stream_id: z.ZodString;
|
|
912
|
+
version: z.ZodNumber;
|
|
913
|
+
timestamp: z.ZodDate;
|
|
914
|
+
}, "strip", z.ZodTypeAny, {
|
|
915
|
+
event_version: 2;
|
|
916
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceAdded";
|
|
917
|
+
version: number;
|
|
918
|
+
data: EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2;
|
|
919
|
+
stream_id: string;
|
|
920
|
+
timestamp: Date;
|
|
921
|
+
}, {
|
|
922
|
+
event_version: 2;
|
|
923
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceAdded";
|
|
924
|
+
version: number;
|
|
925
|
+
stream_id: string;
|
|
926
|
+
timestamp: Date;
|
|
927
|
+
data?: any;
|
|
928
|
+
}>, z.ZodObject<{
|
|
929
|
+
event_version: z.ZodLiteral<2>;
|
|
930
|
+
type: z.ZodLiteral<"EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated">;
|
|
931
|
+
data: z.ZodEffects<z.ZodAny, EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2, any>;
|
|
932
|
+
stream_id: z.ZodString;
|
|
933
|
+
version: z.ZodNumber;
|
|
934
|
+
timestamp: z.ZodDate;
|
|
935
|
+
}, "strip", z.ZodTypeAny, {
|
|
936
|
+
event_version: 2;
|
|
937
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated";
|
|
938
|
+
version: number;
|
|
939
|
+
data: EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2;
|
|
940
|
+
stream_id: string;
|
|
941
|
+
timestamp: Date;
|
|
942
|
+
}, {
|
|
943
|
+
event_version: 2;
|
|
944
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated";
|
|
945
|
+
version: number;
|
|
946
|
+
stream_id: string;
|
|
947
|
+
timestamp: Date;
|
|
948
|
+
data?: any;
|
|
949
|
+
}>, z.ZodObject<{
|
|
950
|
+
event_version: z.ZodLiteral<2>;
|
|
951
|
+
type: z.ZodLiteral<"EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted">;
|
|
952
|
+
data: z.ZodEffects<z.ZodAny, EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2, any>;
|
|
953
|
+
stream_id: z.ZodString;
|
|
954
|
+
version: z.ZodNumber;
|
|
955
|
+
timestamp: z.ZodDate;
|
|
956
|
+
}, "strip", z.ZodTypeAny, {
|
|
957
|
+
event_version: 2;
|
|
958
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted";
|
|
959
|
+
version: number;
|
|
960
|
+
data: EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2;
|
|
961
|
+
stream_id: string;
|
|
962
|
+
timestamp: Date;
|
|
963
|
+
}, {
|
|
964
|
+
event_version: 2;
|
|
965
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted";
|
|
966
|
+
version: number;
|
|
967
|
+
stream_id: string;
|
|
968
|
+
timestamp: Date;
|
|
969
|
+
data?: any;
|
|
907
970
|
}>]>;
|
|
908
971
|
export type EServiceEventV2 = z.infer<typeof EServiceEventV2>;
|
|
909
972
|
//# sourceMappingURL=eventsV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventsV2.d.ts","sourceRoot":"","sources":["../../src/eservice/eventsV2.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"eventsV2.d.ts","sourceRoot":"","sources":["../../src/eservice/eventsV2.ts"],"names":[],"mappings":"AAEA,OAAO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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2X1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/* eslint-disable prettier/prettier */
|
|
1
2
|
import { match } from "ts-pattern";
|
|
2
3
|
import { z } from "zod";
|
|
3
4
|
import { protobufDecoder } from "../utils.js";
|
|
4
|
-
import { DraftEServiceUpdatedV2, EServiceAddedV2, EServiceClonedV2, EServiceDeletedV2, EServiceDescriptorActivatedV2, EServiceDescriptorAddedV2, EServiceDescriptorArchivedV2, EServiceDescriptorDocumentAddedV2, EServiceDescriptorDocumentDeletedV2, EServiceDescriptorDocumentUpdatedV2, EServiceDescriptorInterfaceAddedV2, EServiceDescriptorInterfaceDeletedV2, EServiceDescriptorInterfaceUpdatedV2, EServiceDescriptorPublishedV2, EServiceDescriptorSuspendedV2, EServiceDraftDescriptorDeletedV2, EServiceDraftDescriptorUpdatedV2, EServiceDescriptorQuotasUpdatedV2, EServiceDescriptionUpdatedV2, EServiceDescriptorSubmittedByDelegateV2, EServiceDescriptorApprovedByDelegatorV2, EServiceDescriptorRejectedByDelegatorV2, EServiceDescriptorAttributesUpdatedV2, EServiceIsClientAccessDelegableDisabledV2, EServiceIsClientAccessDelegableEnabledV2, EServiceIsConsumerDelegableDisabledV2, EServiceIsConsumerDelegableEnabledV2, EServiceNameUpdatedV2, EServiceDescriptionUpdatedByTemplateUpdateV2, EServiceDescriptorQuotasUpdatedByTemplateUpdateV2, EServiceDescriptorAttributesUpdatedByTemplateUpdateV2, EServiceDescriptorAttributeDailyCallsPerConsumerUpdatedV2, EServiceDescriptorDocumentAddedByTemplateUpdateV2, EServiceDescriptorDocumentUpdatedByTemplateUpdateV2, EServiceDescriptorDocumentDeletedByTemplateUpdateV2, EServiceNameUpdatedByTemplateUpdateV2, EServiceDescriptorAgreementApprovalPolicyUpdatedV2, EServiceSignalHubEnabledV2, EServiceSignalHubDisabledV2, EServicePersonalDataFlagUpdatedAfterPublicationV2, EServicePersonalDataFlagUpdatedByTemplateUpdateV2, EServiceInstanceLabelUpdatedV2, MaintenanceEServicePersonalDataFlagResetV2, } from "../gen/v2/eservice/events.js";
|
|
5
|
+
import { DraftEServiceUpdatedV2, EServiceAddedV2, EServiceClonedV2, EServiceDeletedV2, EServiceDescriptorActivatedV2, EServiceDescriptorAddedV2, EServiceDescriptorArchivedV2, EServiceDescriptorDocumentAddedV2, EServiceDescriptorDocumentDeletedV2, EServiceDescriptorDocumentUpdatedV2, EServiceDescriptorInterfaceAddedV2, EServiceDescriptorInterfaceDeletedV2, EServiceDescriptorInterfaceUpdatedV2, EServiceDescriptorPublishedV2, EServiceDescriptorSuspendedV2, EServiceDraftDescriptorDeletedV2, EServiceDraftDescriptorUpdatedV2, EServiceDescriptorQuotasUpdatedV2, EServiceDescriptionUpdatedV2, EServiceDescriptorSubmittedByDelegateV2, EServiceDescriptorApprovedByDelegatorV2, EServiceDescriptorRejectedByDelegatorV2, EServiceDescriptorAttributesUpdatedV2, EServiceIsClientAccessDelegableDisabledV2, EServiceIsClientAccessDelegableEnabledV2, EServiceIsConsumerDelegableDisabledV2, EServiceIsConsumerDelegableEnabledV2, EServiceNameUpdatedV2, EServiceDescriptionUpdatedByTemplateUpdateV2, EServiceDescriptorQuotasUpdatedByTemplateUpdateV2, EServiceDescriptorAttributesUpdatedByTemplateUpdateV2, EServiceDescriptorAttributeDailyCallsPerConsumerUpdatedV2, EServiceDescriptorDocumentAddedByTemplateUpdateV2, EServiceDescriptorDocumentUpdatedByTemplateUpdateV2, EServiceDescriptorDocumentDeletedByTemplateUpdateV2, EServiceNameUpdatedByTemplateUpdateV2, EServiceDescriptorAgreementApprovalPolicyUpdatedV2, EServiceSignalHubEnabledV2, EServiceSignalHubDisabledV2, EServicePersonalDataFlagUpdatedAfterPublicationV2, EServicePersonalDataFlagUpdatedByTemplateUpdateV2, EServiceInstanceLabelUpdatedV2, MaintenanceEServicePersonalDataFlagResetV2, EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2, EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2, EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2, } from "../gen/v2/eservice/events.js";
|
|
5
6
|
export function eServiceEventToBinaryDataV2(event) {
|
|
6
7
|
return match(event)
|
|
7
8
|
.with({ type: "EServiceAdded" }, ({ data }) => EServiceAddedV2.toBinary(data))
|
|
@@ -47,6 +48,9 @@ export function eServiceEventToBinaryDataV2(event) {
|
|
|
47
48
|
.with({ type: "EServicePersonalDataFlagUpdatedByTemplateUpdate" }, ({ data }) => EServicePersonalDataFlagUpdatedByTemplateUpdateV2.toBinary(data))
|
|
48
49
|
.with({ type: "EServiceInstanceLabelUpdated" }, ({ data }) => EServiceInstanceLabelUpdatedV2.toBinary(data))
|
|
49
50
|
.with({ type: "MaintenanceEServicePersonalDataFlagReset" }, ({ data }) => MaintenanceEServicePersonalDataFlagResetV2.toBinary(data))
|
|
51
|
+
.with({ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceAdded" }, ({ data }) => EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2.toBinary(data))
|
|
52
|
+
.with({ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated" }, ({ data }) => EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2.toBinary(data))
|
|
53
|
+
.with({ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted" }, ({ data }) => EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2.toBinary(data))
|
|
50
54
|
.exhaustive();
|
|
51
55
|
}
|
|
52
56
|
export const EServiceEventV2 = z.discriminatedUnion("type", [
|
|
@@ -394,4 +398,28 @@ export const EServiceEventV2 = z.discriminatedUnion("type", [
|
|
|
394
398
|
version: z.number(),
|
|
395
399
|
timestamp: z.coerce.date(),
|
|
396
400
|
}),
|
|
401
|
+
z.object({
|
|
402
|
+
event_version: z.literal(2),
|
|
403
|
+
type: z.literal("EServiceDescriptorAsyncExchangeCallbackInterfaceAdded"),
|
|
404
|
+
data: protobufDecoder(EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2),
|
|
405
|
+
stream_id: z.string(),
|
|
406
|
+
version: z.number(),
|
|
407
|
+
timestamp: z.coerce.date(),
|
|
408
|
+
}),
|
|
409
|
+
z.object({
|
|
410
|
+
event_version: z.literal(2),
|
|
411
|
+
type: z.literal("EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated"),
|
|
412
|
+
data: protobufDecoder(EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2),
|
|
413
|
+
stream_id: z.string(),
|
|
414
|
+
version: z.number(),
|
|
415
|
+
timestamp: z.coerce.date(),
|
|
416
|
+
}),
|
|
417
|
+
z.object({
|
|
418
|
+
event_version: z.literal(2),
|
|
419
|
+
type: z.literal("EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted"),
|
|
420
|
+
data: protobufDecoder(EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2),
|
|
421
|
+
stream_id: z.string(),
|
|
422
|
+
version: z.number(),
|
|
423
|
+
timestamp: z.coerce.date(),
|
|
424
|
+
}),
|
|
397
425
|
]);
|
package/dist/eservice/index.d.ts
CHANGED
|
@@ -393,6 +393,27 @@ export declare const EServiceEvent: z.ZodEffects<z.ZodDiscriminatedUnion<"event_
|
|
|
393
393
|
data: import("../index.js").MaintenanceEServicePersonalDataFlagResetV2;
|
|
394
394
|
stream_id: string;
|
|
395
395
|
timestamp: Date;
|
|
396
|
+
} | {
|
|
397
|
+
event_version: 2;
|
|
398
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceAdded";
|
|
399
|
+
version: number;
|
|
400
|
+
data: import("../index.js").EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2;
|
|
401
|
+
stream_id: string;
|
|
402
|
+
timestamp: Date;
|
|
403
|
+
} | {
|
|
404
|
+
event_version: 2;
|
|
405
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated";
|
|
406
|
+
version: number;
|
|
407
|
+
data: import("../index.js").EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2;
|
|
408
|
+
stream_id: string;
|
|
409
|
+
timestamp: Date;
|
|
410
|
+
} | {
|
|
411
|
+
event_version: 2;
|
|
412
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted";
|
|
413
|
+
version: number;
|
|
414
|
+
data: import("../index.js").EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2;
|
|
415
|
+
stream_id: string;
|
|
416
|
+
timestamp: Date;
|
|
396
417
|
}, z.objectInputType<{
|
|
397
418
|
event_version: z.ZodLiteral<1>;
|
|
398
419
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eservice/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,eAAe,EAA+B,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAE,eAAe,EAA+B,MAAM,eAAe,CAAC;AAS7E,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,CASxE;AAED,wBAAgB,2BAA2B,CACzC,YAAY,EAAE,MAAM,GACnB,aAAa,CAEf;AAED,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eservice/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,eAAe,EAA+B,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAE,eAAe,EAA+B,MAAM,eAAe,CAAC;AAS7E,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,CASxE;AAED,wBAAgB,2BAA2B,CACzC,YAAY,EAAE,MAAM,GACnB,aAAa,CAEf;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAWxB,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;AACtD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { EServiceTemplateVersionActivatedV2, EServiceTemplateAddedV2, EServiceTemplateIntendedTargetUpdatedV2, EServiceTemplateDescriptionUpdatedV2, EServiceTemplateDeletedV2, EServiceTemplateDraftVersionDeletedV2, EServiceTemplateDraftVersionUpdatedV2, EServiceTemplateDraftUpdatedV2, EServiceTemplateNameUpdatedV2, EServiceTemplateVersionSuspendedV2, EServiceTemplateVersionAddedV2, EServiceTemplateVersionAttributesUpdatedV2, EServiceTemplateVersionDocumentAddedV2, EServiceTemplateVersionDocumentDeletedV2, EServiceTemplateVersionDocumentUpdatedV2, EServiceTemplateVersionInterfaceAddedV2, EServiceTemplateVersionInterfaceDeletedV2, EServiceTemplateVersionInterfaceUpdatedV2, EServiceTemplateVersionPublishedV2, EServiceTemplateVersionQuotasUpdatedV2, EServiceTemplatePersonalDataFlagUpdatedAfterPublicationV2 } from "../gen/v2/eservice-template/events.js";
|
|
2
|
+
import { EServiceTemplateVersionActivatedV2, EServiceTemplateAddedV2, EServiceTemplateIntendedTargetUpdatedV2, EServiceTemplateDescriptionUpdatedV2, EServiceTemplateDeletedV2, EServiceTemplateDraftVersionDeletedV2, EServiceTemplateDraftVersionUpdatedV2, EServiceTemplateDraftUpdatedV2, EServiceTemplateNameUpdatedV2, EServiceTemplateVersionSuspendedV2, EServiceTemplateVersionAddedV2, EServiceTemplateVersionAttributesUpdatedV2, EServiceTemplateVersionDocumentAddedV2, EServiceTemplateVersionDocumentDeletedV2, EServiceTemplateVersionDocumentUpdatedV2, EServiceTemplateVersionInterfaceAddedV2, EServiceTemplateVersionInterfaceDeletedV2, EServiceTemplateVersionInterfaceUpdatedV2, EServiceTemplateVersionPublishedV2, EServiceTemplateVersionQuotasUpdatedV2, EServiceTemplatePersonalDataFlagUpdatedAfterPublicationV2, EServiceTemplateVersionAsyncExchangeCallbackInterfaceAddedV2, EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdatedV2, EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeletedV2 } from "../gen/v2/eservice-template/events.js";
|
|
3
3
|
export declare function eserviceTemplateEventToBinaryDataV2(event: EServiceTemplateEventV2): Uint8Array;
|
|
4
4
|
export declare const EServiceTemplateEventV2: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5
5
|
event_version: z.ZodLiteral<2>;
|
|
@@ -442,6 +442,69 @@ export declare const EServiceTemplateEventV2: z.ZodDiscriminatedUnion<"type", [z
|
|
|
442
442
|
stream_id: string;
|
|
443
443
|
timestamp: Date;
|
|
444
444
|
data?: any;
|
|
445
|
+
}>, z.ZodObject<{
|
|
446
|
+
event_version: z.ZodLiteral<2>;
|
|
447
|
+
type: z.ZodLiteral<"EServiceTemplateVersionAsyncExchangeCallbackInterfaceAdded">;
|
|
448
|
+
data: z.ZodEffects<z.ZodAny, EServiceTemplateVersionAsyncExchangeCallbackInterfaceAddedV2, any>;
|
|
449
|
+
stream_id: z.ZodString;
|
|
450
|
+
version: z.ZodNumber;
|
|
451
|
+
timestamp: z.ZodDate;
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
453
|
+
event_version: 2;
|
|
454
|
+
type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceAdded";
|
|
455
|
+
version: number;
|
|
456
|
+
data: EServiceTemplateVersionAsyncExchangeCallbackInterfaceAddedV2;
|
|
457
|
+
stream_id: string;
|
|
458
|
+
timestamp: Date;
|
|
459
|
+
}, {
|
|
460
|
+
event_version: 2;
|
|
461
|
+
type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceAdded";
|
|
462
|
+
version: number;
|
|
463
|
+
stream_id: string;
|
|
464
|
+
timestamp: Date;
|
|
465
|
+
data?: any;
|
|
466
|
+
}>, z.ZodObject<{
|
|
467
|
+
event_version: z.ZodLiteral<2>;
|
|
468
|
+
type: z.ZodLiteral<"EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdated">;
|
|
469
|
+
data: z.ZodEffects<z.ZodAny, EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdatedV2, any>;
|
|
470
|
+
stream_id: z.ZodString;
|
|
471
|
+
version: z.ZodNumber;
|
|
472
|
+
timestamp: z.ZodDate;
|
|
473
|
+
}, "strip", z.ZodTypeAny, {
|
|
474
|
+
event_version: 2;
|
|
475
|
+
type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdated";
|
|
476
|
+
version: number;
|
|
477
|
+
data: EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdatedV2;
|
|
478
|
+
stream_id: string;
|
|
479
|
+
timestamp: Date;
|
|
480
|
+
}, {
|
|
481
|
+
event_version: 2;
|
|
482
|
+
type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdated";
|
|
483
|
+
version: number;
|
|
484
|
+
stream_id: string;
|
|
485
|
+
timestamp: Date;
|
|
486
|
+
data?: any;
|
|
487
|
+
}>, z.ZodObject<{
|
|
488
|
+
event_version: z.ZodLiteral<2>;
|
|
489
|
+
type: z.ZodLiteral<"EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeleted">;
|
|
490
|
+
data: z.ZodEffects<z.ZodAny, EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeletedV2, any>;
|
|
491
|
+
stream_id: z.ZodString;
|
|
492
|
+
version: z.ZodNumber;
|
|
493
|
+
timestamp: z.ZodDate;
|
|
494
|
+
}, "strip", z.ZodTypeAny, {
|
|
495
|
+
event_version: 2;
|
|
496
|
+
type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeleted";
|
|
497
|
+
version: number;
|
|
498
|
+
data: EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeletedV2;
|
|
499
|
+
stream_id: string;
|
|
500
|
+
timestamp: Date;
|
|
501
|
+
}, {
|
|
502
|
+
event_version: 2;
|
|
503
|
+
type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeleted";
|
|
504
|
+
version: number;
|
|
505
|
+
stream_id: string;
|
|
506
|
+
timestamp: Date;
|
|
507
|
+
data?: any;
|
|
445
508
|
}>]>;
|
|
446
509
|
export type EServiceTemplateEventV2 = z.infer<typeof EServiceTemplateEventV2>;
|
|
447
510
|
//# sourceMappingURL=eventsV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventsV2.d.ts","sourceRoot":"","sources":["../../src/eservice-template/eventsV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,kCAAkC,EAClC,uBAAuB,EACvB,uCAAuC,EACvC,oCAAoC,EACpC,yBAAyB,EACzB,qCAAqC,EACrC,qCAAqC,EACrC,8BAA8B,EAC9B,6BAA6B,EAC7B,kCAAkC,EAClC,8BAA8B,EAC9B,0CAA0C,EAC1C,sCAAsC,EACtC,wCAAwC,EACxC,wCAAwC,EACxC,uCAAuC,EACvC,yCAAyC,EACzC,yCAAyC,EACzC,kCAAkC,EAClC,sCAAsC,EACtC,yDAAyD,
|
|
1
|
+
{"version":3,"file":"eventsV2.d.ts","sourceRoot":"","sources":["../../src/eservice-template/eventsV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,kCAAkC,EAClC,uBAAuB,EACvB,uCAAuC,EACvC,oCAAoC,EACpC,yBAAyB,EACzB,qCAAqC,EACrC,qCAAqC,EACrC,8BAA8B,EAC9B,6BAA6B,EAC7B,kCAAkC,EAClC,8BAA8B,EAC9B,0CAA0C,EAC1C,sCAAsC,EACtC,wCAAwC,EACxC,wCAAwC,EACxC,uCAAuC,EACvC,yCAAyC,EACzC,yCAAyC,EACzC,kCAAkC,EAClC,sCAAsC,EACtC,yDAAyD,EACzD,4DAA4D,EAC5D,8DAA8D,EAC9D,8DAA8D,EAC/D,MAAM,uCAAuC,CAAC;AAG/C,wBAAgB,mCAAmC,CACjD,KAAK,EAAE,uBAAuB,GAC7B,UAAU,CAyFZ;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+MlC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { match } from "ts-pattern";
|
|
3
|
-
import { EServiceTemplateVersionActivatedV2, EServiceTemplateAddedV2, EServiceTemplateIntendedTargetUpdatedV2, EServiceTemplateDescriptionUpdatedV2, EServiceTemplateDeletedV2, EServiceTemplateDraftVersionDeletedV2, EServiceTemplateDraftVersionUpdatedV2, EServiceTemplateDraftUpdatedV2, EServiceTemplateNameUpdatedV2, EServiceTemplateVersionSuspendedV2, EServiceTemplateVersionAddedV2, EServiceTemplateVersionAttributesUpdatedV2, EServiceTemplateVersionDocumentAddedV2, EServiceTemplateVersionDocumentDeletedV2, EServiceTemplateVersionDocumentUpdatedV2, EServiceTemplateVersionInterfaceAddedV2, EServiceTemplateVersionInterfaceDeletedV2, EServiceTemplateVersionInterfaceUpdatedV2, EServiceTemplateVersionPublishedV2, EServiceTemplateVersionQuotasUpdatedV2, EServiceTemplatePersonalDataFlagUpdatedAfterPublicationV2, } from "../gen/v2/eservice-template/events.js";
|
|
3
|
+
import { EServiceTemplateVersionActivatedV2, EServiceTemplateAddedV2, EServiceTemplateIntendedTargetUpdatedV2, EServiceTemplateDescriptionUpdatedV2, EServiceTemplateDeletedV2, EServiceTemplateDraftVersionDeletedV2, EServiceTemplateDraftVersionUpdatedV2, EServiceTemplateDraftUpdatedV2, EServiceTemplateNameUpdatedV2, EServiceTemplateVersionSuspendedV2, EServiceTemplateVersionAddedV2, EServiceTemplateVersionAttributesUpdatedV2, EServiceTemplateVersionDocumentAddedV2, EServiceTemplateVersionDocumentDeletedV2, EServiceTemplateVersionDocumentUpdatedV2, EServiceTemplateVersionInterfaceAddedV2, EServiceTemplateVersionInterfaceDeletedV2, EServiceTemplateVersionInterfaceUpdatedV2, EServiceTemplateVersionPublishedV2, EServiceTemplateVersionQuotasUpdatedV2, EServiceTemplatePersonalDataFlagUpdatedAfterPublicationV2, EServiceTemplateVersionAsyncExchangeCallbackInterfaceAddedV2, EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdatedV2, EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeletedV2, } from "../gen/v2/eservice-template/events.js";
|
|
4
4
|
import { protobufDecoder } from "../utils.js";
|
|
5
5
|
export function eserviceTemplateEventToBinaryDataV2(event) {
|
|
6
6
|
return match(event)
|
|
@@ -25,6 +25,9 @@ export function eserviceTemplateEventToBinaryDataV2(event) {
|
|
|
25
25
|
.with({ type: "EServiceTemplateVersionPublished" }, ({ data }) => EServiceTemplateVersionPublishedV2.toBinary(data))
|
|
26
26
|
.with({ type: "EServiceTemplateVersionQuotasUpdated" }, ({ data }) => EServiceTemplateVersionQuotasUpdatedV2.toBinary(data))
|
|
27
27
|
.with({ type: "EServiceTemplatePersonalDataFlagUpdatedAfterPublication" }, ({ data }) => EServiceTemplatePersonalDataFlagUpdatedAfterPublicationV2.toBinary(data))
|
|
28
|
+
.with({ type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceAdded" }, ({ data }) => EServiceTemplateVersionAsyncExchangeCallbackInterfaceAddedV2.toBinary(data))
|
|
29
|
+
.with({ type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdated" }, ({ data }) => EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdatedV2.toBinary(data))
|
|
30
|
+
.with({ type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeleted" }, ({ data }) => EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeletedV2.toBinary(data))
|
|
28
31
|
.exhaustive();
|
|
29
32
|
}
|
|
30
33
|
export const EServiceTemplateEventV2 = z.discriminatedUnion("type", [
|
|
@@ -196,4 +199,28 @@ export const EServiceTemplateEventV2 = z.discriminatedUnion("type", [
|
|
|
196
199
|
version: z.number(),
|
|
197
200
|
timestamp: z.coerce.date(),
|
|
198
201
|
}),
|
|
202
|
+
z.object({
|
|
203
|
+
event_version: z.literal(2),
|
|
204
|
+
type: z.literal("EServiceTemplateVersionAsyncExchangeCallbackInterfaceAdded"),
|
|
205
|
+
data: protobufDecoder(EServiceTemplateVersionAsyncExchangeCallbackInterfaceAddedV2),
|
|
206
|
+
stream_id: z.string(),
|
|
207
|
+
version: z.number(),
|
|
208
|
+
timestamp: z.coerce.date(),
|
|
209
|
+
}),
|
|
210
|
+
z.object({
|
|
211
|
+
event_version: z.literal(2),
|
|
212
|
+
type: z.literal("EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdated"),
|
|
213
|
+
data: protobufDecoder(EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdatedV2),
|
|
214
|
+
stream_id: z.string(),
|
|
215
|
+
version: z.number(),
|
|
216
|
+
timestamp: z.coerce.date(),
|
|
217
|
+
}),
|
|
218
|
+
z.object({
|
|
219
|
+
event_version: z.literal(2),
|
|
220
|
+
type: z.literal("EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeleted"),
|
|
221
|
+
data: protobufDecoder(EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeletedV2),
|
|
222
|
+
stream_id: z.string(),
|
|
223
|
+
version: z.number(),
|
|
224
|
+
timestamp: z.coerce.date(),
|
|
225
|
+
}),
|
|
199
226
|
]);
|
|
@@ -161,6 +161,27 @@ export declare const EServiceTemplateEvent: z.ZodEffects<z.ZodDiscriminatedUnion
|
|
|
161
161
|
data: import("../index.js").EServiceTemplatePersonalDataFlagUpdatedAfterPublicationV2;
|
|
162
162
|
stream_id: string;
|
|
163
163
|
timestamp: Date;
|
|
164
|
+
} | {
|
|
165
|
+
event_version: 2;
|
|
166
|
+
type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceAdded";
|
|
167
|
+
version: number;
|
|
168
|
+
data: import("../index.js").EServiceTemplateVersionAsyncExchangeCallbackInterfaceAddedV2;
|
|
169
|
+
stream_id: string;
|
|
170
|
+
timestamp: Date;
|
|
171
|
+
} | {
|
|
172
|
+
event_version: 2;
|
|
173
|
+
type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdated";
|
|
174
|
+
version: number;
|
|
175
|
+
data: import("../index.js").EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdatedV2;
|
|
176
|
+
stream_id: string;
|
|
177
|
+
timestamp: Date;
|
|
178
|
+
} | {
|
|
179
|
+
event_version: 2;
|
|
180
|
+
type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeleted";
|
|
181
|
+
version: number;
|
|
182
|
+
data: import("../index.js").EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeletedV2;
|
|
183
|
+
stream_id: string;
|
|
184
|
+
timestamp: Date;
|
|
164
185
|
}, z.objectInputType<{
|
|
165
186
|
event_version: z.ZodLiteral<1>;
|
|
166
187
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eservice-template/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,uBAAuB,EAExB,MAAM,eAAe,CAAC;AAUvB,wBAAgB,mCAAmC,CACjD,KAAK,EAAE,qBAAqB,GAC3B,MAAM,CASR;AAED,wBAAgB,mCAAmC,CACjD,YAAY,EAAE,MAAM,GACnB,qBAAqB,CAEvB;AAED,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eservice-template/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,uBAAuB,EAExB,MAAM,eAAe,CAAC;AAUvB,wBAAgB,mCAAmC,CACjD,KAAK,EAAE,qBAAqB,GAC3B,MAAM,CASR;AAED,wBAAgB,mCAAmC,CACjD,YAAY,EAAE,MAAM,GACnB,qBAAqB,CAEvB;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAahC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,qBAAqB,CAAC,MAAM,CAAC,CAAC;AACtE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -64,6 +64,10 @@ export interface EServiceV2 {
|
|
|
64
64
|
* @generated from protobuf field: optional string instanceLabel = 15;
|
|
65
65
|
*/
|
|
66
66
|
instanceLabel?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @generated from protobuf field: optional bool asyncExchange = 16;
|
|
69
|
+
*/
|
|
70
|
+
asyncExchange?: boolean;
|
|
67
71
|
}
|
|
68
72
|
/**
|
|
69
73
|
* @generated from protobuf message eservice.v2.EServiceAttributeValueV2
|
|
@@ -205,6 +209,14 @@ export interface EServiceDescriptorV2 {
|
|
|
205
209
|
* @generated from protobuf field: optional eservice.v2.EServiceTemplateVersionRefV2 templateVersionRef = 20;
|
|
206
210
|
*/
|
|
207
211
|
templateVersionRef?: EServiceTemplateVersionRefV2;
|
|
212
|
+
/**
|
|
213
|
+
* @generated from protobuf field: optional eservice.v2.EServiceDocumentV2 asyncExchangeCallbackInterface = 21;
|
|
214
|
+
*/
|
|
215
|
+
asyncExchangeCallbackInterface?: EServiceDocumentV2;
|
|
216
|
+
/**
|
|
217
|
+
* @generated from protobuf field: optional eservice.v2.AsyncExchangePropertiesV2 asyncExchangeProperties = 22;
|
|
218
|
+
*/
|
|
219
|
+
asyncExchangeProperties?: AsyncExchangePropertiesV2;
|
|
208
220
|
}
|
|
209
221
|
/**
|
|
210
222
|
* @generated from protobuf message eservice.v2.TemplateInstanceInterfaceMetadataV2
|
|
@@ -240,6 +252,31 @@ export interface EServiceTemplateVersionRefV2 {
|
|
|
240
252
|
*/
|
|
241
253
|
interfaceMetadata?: TemplateInstanceInterfaceMetadataV2;
|
|
242
254
|
}
|
|
255
|
+
/**
|
|
256
|
+
* @generated from protobuf message eservice.v2.AsyncExchangePropertiesV2
|
|
257
|
+
*/
|
|
258
|
+
export interface AsyncExchangePropertiesV2 {
|
|
259
|
+
/**
|
|
260
|
+
* @generated from protobuf field: int32 responseTime = 1;
|
|
261
|
+
*/
|
|
262
|
+
responseTime: number;
|
|
263
|
+
/**
|
|
264
|
+
* @generated from protobuf field: int32 resourceAvailableTime = 2;
|
|
265
|
+
*/
|
|
266
|
+
resourceAvailableTime: number;
|
|
267
|
+
/**
|
|
268
|
+
* @generated from protobuf field: bool confirmation = 3;
|
|
269
|
+
*/
|
|
270
|
+
confirmation: boolean;
|
|
271
|
+
/**
|
|
272
|
+
* @generated from protobuf field: bool bulk = 4;
|
|
273
|
+
*/
|
|
274
|
+
bulk: boolean;
|
|
275
|
+
/**
|
|
276
|
+
* @generated from protobuf field: int32 maxResultSet = 5;
|
|
277
|
+
*/
|
|
278
|
+
maxResultSet: number;
|
|
279
|
+
}
|
|
243
280
|
/**
|
|
244
281
|
* @generated from protobuf message eservice.v2.EServiceDocumentV2
|
|
245
282
|
*/
|
|
@@ -417,6 +454,16 @@ declare class EServiceTemplateVersionRefV2$Type extends MessageType<EServiceTemp
|
|
|
417
454
|
* @generated MessageType for protobuf message eservice.v2.EServiceTemplateVersionRefV2
|
|
418
455
|
*/
|
|
419
456
|
export declare const EServiceTemplateVersionRefV2: EServiceTemplateVersionRefV2$Type;
|
|
457
|
+
declare class AsyncExchangePropertiesV2$Type extends MessageType<AsyncExchangePropertiesV2> {
|
|
458
|
+
constructor();
|
|
459
|
+
create(value?: PartialMessage<AsyncExchangePropertiesV2>): AsyncExchangePropertiesV2;
|
|
460
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AsyncExchangePropertiesV2): AsyncExchangePropertiesV2;
|
|
461
|
+
internalBinaryWrite(message: AsyncExchangePropertiesV2, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* @generated MessageType for protobuf message eservice.v2.AsyncExchangePropertiesV2
|
|
465
|
+
*/
|
|
466
|
+
export declare const AsyncExchangePropertiesV2: AsyncExchangePropertiesV2$Type;
|
|
420
467
|
declare class EServiceDocumentV2$Type extends MessageType<EServiceDocumentV2> {
|
|
421
468
|
constructor();
|
|
422
469
|
create(value?: PartialMessage<EServiceDocumentV2>): EServiceDocumentV2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eservice.d.ts","sourceRoot":"","sources":["../../../../src/gen/v2/eservice/eservice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD;;GAEG;AACH,MAAM,WAAW,UAAU;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,oBAAoB,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,oBAAoB,EAAE,CAAC;IACpC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,EAAE,cAAc,CAAC;IACrB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG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