@pagopa/interop-outbound-models 1.8.18 → 1.8.20-manual-archiving.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/CHANGELOG.md +37 -13
- package/dist/eservice/eventsV2.d.ts +169 -1
- package/dist/eservice/eventsV2.d.ts.map +1 -1
- package/dist/eservice/eventsV2.js +73 -1
- package/dist/eservice/index.d.ts +56 -0
- package/dist/eservice/index.d.ts.map +1 -1
- package/dist/gen/v2/eservice/eservice.d.ts +57 -1
- package/dist/gen/v2/eservice/eservice.d.ts.map +1 -1
- package/dist/gen/v2/eservice/eservice.js +101 -2
- package/dist/gen/v2/eservice/events.d.ts +180 -0
- package/dist/gen/v2/eservice/events.d.ts.map +1 -1
- package/dist/gen/v2/eservice/events.js +424 -0
- package/package.json +2 -2
- package/proto/v2/eservice/eservice.proto +15 -0
- package/proto/v2/eservice/events.proto +39 -0
- package/src/eservice/eventsV2.ts +100 -0
- package/tests/eservice.test.ts +60 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,9 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 1.8.19
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Add the `EServiceDescriptorAttributeDailyCallsPerConsumerUpdatedV2` event.
|
|
10
|
+
- Add the relative serializer, schema and test.
|
|
11
|
+
|
|
5
12
|
## 1.8.18
|
|
6
13
|
|
|
7
14
|
### Added
|
|
15
|
+
|
|
8
16
|
- Added `PurposeTemplateEServiceTemplateLinkedV2` event
|
|
9
17
|
- Added `PurposeTemplateEServiceTemplateUnlinkedV2` event
|
|
10
18
|
- Added `AsyncExchangePropertiesV2` message
|
|
@@ -22,16 +30,19 @@ All notable changes to this project will be documented in this file.
|
|
|
22
30
|
## 1.8.17
|
|
23
31
|
|
|
24
32
|
### Restore
|
|
33
|
+
|
|
25
34
|
- Revert recent changes to ensure stability
|
|
26
35
|
|
|
27
36
|
## 1.8.16
|
|
28
37
|
|
|
29
38
|
### Added
|
|
39
|
+
|
|
30
40
|
- Added `startedAt` property to `ArchivingScheduleV2`
|
|
31
41
|
|
|
32
42
|
## 1.8.15
|
|
33
43
|
|
|
34
44
|
### Added
|
|
45
|
+
|
|
35
46
|
- Added `ArchivingScheduleV2` message and `ArchivingScopeV2` enum
|
|
36
47
|
- Added `archivingSchedule` property to `EServiceDescriptorV2`
|
|
37
48
|
- Added `archivingReason` property to `EServiceV2`
|
|
@@ -47,67 +58,79 @@ All notable changes to this project will be documented in this file.
|
|
|
47
58
|
## 1.8.14
|
|
48
59
|
|
|
49
60
|
### Renamed
|
|
61
|
+
|
|
50
62
|
- Renamed MaintenanceEServiceUpdated event into MaintenanceEServicePersonalDataFlagReset
|
|
51
63
|
|
|
52
64
|
## 1.8.13
|
|
53
65
|
|
|
54
66
|
### Added
|
|
67
|
+
|
|
55
68
|
- Add MaintenanceEServiceUpdated event
|
|
56
69
|
|
|
57
70
|
## 1.8.12
|
|
58
71
|
|
|
59
72
|
### Moved selfcareInstitutionType from ExternalId to TenantV2
|
|
73
|
+
|
|
60
74
|
- Moved `selfcareInstitutionType` property from `ExternalId` to `TenantV2` protobuf model.
|
|
61
75
|
|
|
62
76
|
## 1.8.11
|
|
63
77
|
|
|
64
78
|
### Added selfcareInstitutionType to ExternalId on TenantV2
|
|
79
|
+
|
|
65
80
|
- Added `selfcareInstitutionType` property to `ExternalId` on `TenantV2` protobuf model.
|
|
66
81
|
|
|
67
82
|
## 1.8.10
|
|
83
|
+
|
|
68
84
|
### Feature: instanceLabel - fix
|
|
69
85
|
|
|
70
86
|
## 1.8.9
|
|
71
87
|
|
|
72
88
|
### Feature: instanceLabel
|
|
89
|
+
|
|
73
90
|
- Added `instanceLabel` in eservice
|
|
74
91
|
- Added `EServiceInstanceLabelUpdatedV2` event
|
|
75
92
|
|
|
76
93
|
## 1.8.8
|
|
77
94
|
|
|
78
95
|
### Separated EServiceTemplate attributes from EService attributes
|
|
96
|
+
|
|
79
97
|
- Created dedicated attribute types for EServiceTemplate: `EServiceTemplateAttributeValueV2`, `EServiceTemplateAttributeV2`, `EServiceTemplateAttributesV2`
|
|
80
98
|
- Added test coverage for EServiceTemplate event encoding/decoding
|
|
81
99
|
|
|
82
100
|
## 1.8.7
|
|
83
101
|
|
|
84
102
|
### EServiceDescriptorAttributeV2 Refactor
|
|
103
|
+
|
|
85
104
|
- renamed `dailyCalls` field to `dailyCallsPerConsumer`
|
|
86
105
|
|
|
87
106
|
## 1.8.6
|
|
88
107
|
|
|
89
108
|
### Added support for Custom Thresholds in EServiceDescriptor attributes
|
|
109
|
+
|
|
90
110
|
- Added `dailyCalls` property to `EServiceDescriptorAttributeV2` protobuf model.
|
|
91
111
|
|
|
92
112
|
## 1.8.5
|
|
93
113
|
|
|
94
114
|
### Fixed target tenant kind Protobuf
|
|
115
|
+
|
|
95
116
|
- Fixed target tenant kind Protobuf
|
|
96
117
|
|
|
97
118
|
## 1.8.4
|
|
98
119
|
|
|
99
120
|
### Updated purpose template's target tenant kind
|
|
121
|
+
|
|
100
122
|
- Updated target tenant kind in `PurposeTemplateV2`
|
|
101
123
|
|
|
102
124
|
## 1.8.3
|
|
103
125
|
|
|
104
126
|
### Fixed
|
|
105
|
-
- Fixed missing declarations of events `RiskAnalysisTemplate*V2`
|
|
106
127
|
|
|
128
|
+
- Fixed missing declarations of events `RiskAnalysisTemplate*V2`
|
|
107
129
|
|
|
108
130
|
## 1.8.2
|
|
109
131
|
|
|
110
132
|
### Added purpose template events about document archiving:
|
|
133
|
+
|
|
111
134
|
- `RiskAnalysisTemplateDocumentGeneratedV2`
|
|
112
135
|
- `RiskAnalysisTemplateSignedDocumentGeneratedV2`
|
|
113
136
|
|
|
@@ -121,18 +144,19 @@ All notable changes to this project will be documented in this file.
|
|
|
121
144
|
## 1.8.0
|
|
122
145
|
|
|
123
146
|
### Added purpose template events:
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
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`
|
|
136
160
|
|
|
137
161
|
## 1.7.2
|
|
138
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, EServiceDescriptorDocumentAddedByTemplateUpdateV2, EServiceDescriptorDocumentUpdatedByTemplateUpdateV2, EServiceDescriptorDocumentDeletedByTemplateUpdateV2, EServiceNameUpdatedByTemplateUpdateV2, EServiceDescriptorAgreementApprovalPolicyUpdatedV2, EServiceSignalHubEnabledV2, EServiceSignalHubDisabledV2, EServicePersonalDataFlagUpdatedAfterPublicationV2, EServicePersonalDataFlagUpdatedByTemplateUpdateV2, EServiceInstanceLabelUpdatedV2, MaintenanceEServicePersonalDataFlagResetV2, EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2, EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2, EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2 } 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, EServiceDescriptorArchivingScheduledV2, EServiceDescriptorArchivingCanceledV2, EServiceDescriptorArchivingCompletedV2, EServiceArchivingScheduledV2, EServiceArchivingCanceledV2, EServiceArchivingCompletedV2, MaintenanceEServiceDescriptorUnarchivedV2 } 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>;
|
|
@@ -862,6 +862,27 @@ export declare const EServiceEventV2: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
862
862
|
stream_id: string;
|
|
863
863
|
timestamp: Date;
|
|
864
864
|
data?: any;
|
|
865
|
+
}>, z.ZodObject<{
|
|
866
|
+
event_version: z.ZodLiteral<2>;
|
|
867
|
+
type: z.ZodLiteral<"EServiceDescriptorAttributeDailyCallsPerConsumerUpdated">;
|
|
868
|
+
data: z.ZodEffects<z.ZodAny, EServiceDescriptorAttributeDailyCallsPerConsumerUpdatedV2, any>;
|
|
869
|
+
stream_id: z.ZodString;
|
|
870
|
+
version: z.ZodNumber;
|
|
871
|
+
timestamp: z.ZodDate;
|
|
872
|
+
}, "strip", z.ZodTypeAny, {
|
|
873
|
+
event_version: 2;
|
|
874
|
+
type: "EServiceDescriptorAttributeDailyCallsPerConsumerUpdated";
|
|
875
|
+
version: number;
|
|
876
|
+
data: EServiceDescriptorAttributeDailyCallsPerConsumerUpdatedV2;
|
|
877
|
+
stream_id: string;
|
|
878
|
+
timestamp: Date;
|
|
879
|
+
}, {
|
|
880
|
+
event_version: 2;
|
|
881
|
+
type: "EServiceDescriptorAttributeDailyCallsPerConsumerUpdated";
|
|
882
|
+
version: number;
|
|
883
|
+
stream_id: string;
|
|
884
|
+
timestamp: Date;
|
|
885
|
+
data?: any;
|
|
865
886
|
}>, z.ZodObject<{
|
|
866
887
|
event_version: z.ZodLiteral<2>;
|
|
867
888
|
type: z.ZodLiteral<"MaintenanceEServicePersonalDataFlagReset">;
|
|
@@ -946,6 +967,153 @@ export declare const EServiceEventV2: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
946
967
|
stream_id: string;
|
|
947
968
|
timestamp: Date;
|
|
948
969
|
data?: any;
|
|
970
|
+
}>, z.ZodObject<{
|
|
971
|
+
event_version: z.ZodLiteral<2>;
|
|
972
|
+
type: z.ZodLiteral<"EServiceArchivingScheduled">;
|
|
973
|
+
data: z.ZodEffects<z.ZodAny, EServiceArchivingScheduledV2, any>;
|
|
974
|
+
stream_id: z.ZodString;
|
|
975
|
+
version: z.ZodNumber;
|
|
976
|
+
timestamp: z.ZodDate;
|
|
977
|
+
}, "strip", z.ZodTypeAny, {
|
|
978
|
+
event_version: 2;
|
|
979
|
+
type: "EServiceArchivingScheduled";
|
|
980
|
+
version: number;
|
|
981
|
+
data: EServiceArchivingScheduledV2;
|
|
982
|
+
stream_id: string;
|
|
983
|
+
timestamp: Date;
|
|
984
|
+
}, {
|
|
985
|
+
event_version: 2;
|
|
986
|
+
type: "EServiceArchivingScheduled";
|
|
987
|
+
version: number;
|
|
988
|
+
stream_id: string;
|
|
989
|
+
timestamp: Date;
|
|
990
|
+
data?: any;
|
|
991
|
+
}>, z.ZodObject<{
|
|
992
|
+
event_version: z.ZodLiteral<2>;
|
|
993
|
+
type: z.ZodLiteral<"EServiceArchivingCanceled">;
|
|
994
|
+
data: z.ZodEffects<z.ZodAny, EServiceArchivingCanceledV2, any>;
|
|
995
|
+
stream_id: z.ZodString;
|
|
996
|
+
version: z.ZodNumber;
|
|
997
|
+
timestamp: z.ZodDate;
|
|
998
|
+
}, "strip", z.ZodTypeAny, {
|
|
999
|
+
event_version: 2;
|
|
1000
|
+
type: "EServiceArchivingCanceled";
|
|
1001
|
+
version: number;
|
|
1002
|
+
data: EServiceArchivingCanceledV2;
|
|
1003
|
+
stream_id: string;
|
|
1004
|
+
timestamp: Date;
|
|
1005
|
+
}, {
|
|
1006
|
+
event_version: 2;
|
|
1007
|
+
type: "EServiceArchivingCanceled";
|
|
1008
|
+
version: number;
|
|
1009
|
+
stream_id: string;
|
|
1010
|
+
timestamp: Date;
|
|
1011
|
+
data?: any;
|
|
1012
|
+
}>, z.ZodObject<{
|
|
1013
|
+
event_version: z.ZodLiteral<2>;
|
|
1014
|
+
type: z.ZodLiteral<"EServiceArchivingCompleted">;
|
|
1015
|
+
data: z.ZodEffects<z.ZodAny, EServiceArchivingCompletedV2, any>;
|
|
1016
|
+
stream_id: z.ZodString;
|
|
1017
|
+
version: z.ZodNumber;
|
|
1018
|
+
timestamp: z.ZodDate;
|
|
1019
|
+
}, "strip", z.ZodTypeAny, {
|
|
1020
|
+
event_version: 2;
|
|
1021
|
+
type: "EServiceArchivingCompleted";
|
|
1022
|
+
version: number;
|
|
1023
|
+
data: EServiceArchivingCompletedV2;
|
|
1024
|
+
stream_id: string;
|
|
1025
|
+
timestamp: Date;
|
|
1026
|
+
}, {
|
|
1027
|
+
event_version: 2;
|
|
1028
|
+
type: "EServiceArchivingCompleted";
|
|
1029
|
+
version: number;
|
|
1030
|
+
stream_id: string;
|
|
1031
|
+
timestamp: Date;
|
|
1032
|
+
data?: any;
|
|
1033
|
+
}>, z.ZodObject<{
|
|
1034
|
+
event_version: z.ZodLiteral<2>;
|
|
1035
|
+
type: z.ZodLiteral<"EServiceDescriptorArchivingScheduled">;
|
|
1036
|
+
data: z.ZodEffects<z.ZodAny, EServiceDescriptorArchivingScheduledV2, any>;
|
|
1037
|
+
stream_id: z.ZodString;
|
|
1038
|
+
version: z.ZodNumber;
|
|
1039
|
+
timestamp: z.ZodDate;
|
|
1040
|
+
}, "strip", z.ZodTypeAny, {
|
|
1041
|
+
event_version: 2;
|
|
1042
|
+
type: "EServiceDescriptorArchivingScheduled";
|
|
1043
|
+
version: number;
|
|
1044
|
+
data: EServiceDescriptorArchivingScheduledV2;
|
|
1045
|
+
stream_id: string;
|
|
1046
|
+
timestamp: Date;
|
|
1047
|
+
}, {
|
|
1048
|
+
event_version: 2;
|
|
1049
|
+
type: "EServiceDescriptorArchivingScheduled";
|
|
1050
|
+
version: number;
|
|
1051
|
+
stream_id: string;
|
|
1052
|
+
timestamp: Date;
|
|
1053
|
+
data?: any;
|
|
1054
|
+
}>, z.ZodObject<{
|
|
1055
|
+
event_version: z.ZodLiteral<2>;
|
|
1056
|
+
type: z.ZodLiteral<"EServiceDescriptorArchivingCanceled">;
|
|
1057
|
+
data: z.ZodEffects<z.ZodAny, EServiceDescriptorArchivingCanceledV2, any>;
|
|
1058
|
+
stream_id: z.ZodString;
|
|
1059
|
+
version: z.ZodNumber;
|
|
1060
|
+
timestamp: z.ZodDate;
|
|
1061
|
+
}, "strip", z.ZodTypeAny, {
|
|
1062
|
+
event_version: 2;
|
|
1063
|
+
type: "EServiceDescriptorArchivingCanceled";
|
|
1064
|
+
version: number;
|
|
1065
|
+
data: EServiceDescriptorArchivingCanceledV2;
|
|
1066
|
+
stream_id: string;
|
|
1067
|
+
timestamp: Date;
|
|
1068
|
+
}, {
|
|
1069
|
+
event_version: 2;
|
|
1070
|
+
type: "EServiceDescriptorArchivingCanceled";
|
|
1071
|
+
version: number;
|
|
1072
|
+
stream_id: string;
|
|
1073
|
+
timestamp: Date;
|
|
1074
|
+
data?: any;
|
|
1075
|
+
}>, z.ZodObject<{
|
|
1076
|
+
event_version: z.ZodLiteral<2>;
|
|
1077
|
+
type: z.ZodLiteral<"EServiceDescriptorArchivingCompleted">;
|
|
1078
|
+
data: z.ZodEffects<z.ZodAny, EServiceDescriptorArchivingCompletedV2, any>;
|
|
1079
|
+
stream_id: z.ZodString;
|
|
1080
|
+
version: z.ZodNumber;
|
|
1081
|
+
timestamp: z.ZodDate;
|
|
1082
|
+
}, "strip", z.ZodTypeAny, {
|
|
1083
|
+
event_version: 2;
|
|
1084
|
+
type: "EServiceDescriptorArchivingCompleted";
|
|
1085
|
+
version: number;
|
|
1086
|
+
data: EServiceDescriptorArchivingCompletedV2;
|
|
1087
|
+
stream_id: string;
|
|
1088
|
+
timestamp: Date;
|
|
1089
|
+
}, {
|
|
1090
|
+
event_version: 2;
|
|
1091
|
+
type: "EServiceDescriptorArchivingCompleted";
|
|
1092
|
+
version: number;
|
|
1093
|
+
stream_id: string;
|
|
1094
|
+
timestamp: Date;
|
|
1095
|
+
data?: any;
|
|
1096
|
+
}>, z.ZodObject<{
|
|
1097
|
+
event_version: z.ZodLiteral<2>;
|
|
1098
|
+
type: z.ZodLiteral<"MaintenanceEServiceDescriptorUnarchived">;
|
|
1099
|
+
data: z.ZodEffects<z.ZodAny, MaintenanceEServiceDescriptorUnarchivedV2, any>;
|
|
1100
|
+
stream_id: z.ZodString;
|
|
1101
|
+
version: z.ZodNumber;
|
|
1102
|
+
timestamp: z.ZodDate;
|
|
1103
|
+
}, "strip", z.ZodTypeAny, {
|
|
1104
|
+
event_version: 2;
|
|
1105
|
+
type: "MaintenanceEServiceDescriptorUnarchived";
|
|
1106
|
+
version: number;
|
|
1107
|
+
data: MaintenanceEServiceDescriptorUnarchivedV2;
|
|
1108
|
+
stream_id: string;
|
|
1109
|
+
timestamp: Date;
|
|
1110
|
+
}, {
|
|
1111
|
+
event_version: 2;
|
|
1112
|
+
type: "MaintenanceEServiceDescriptorUnarchived";
|
|
1113
|
+
version: number;
|
|
1114
|
+
stream_id: string;
|
|
1115
|
+
timestamp: Date;
|
|
1116
|
+
data?: any;
|
|
949
1117
|
}>]>;
|
|
950
1118
|
export type EServiceEventV2 = z.infer<typeof EServiceEventV2>;
|
|
951
1119
|
//# sourceMappingURL=eventsV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventsV2.d.ts","sourceRoot":"","sources":["../../src/eservice/eventsV2.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,sBAAsB,EACtB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,6BAA6B,EAC7B,yBAAyB,EACzB,4BAA4B,EAC5B,iCAAiC,EACjC,mCAAmC,EACnC,mCAAmC,EACnC,kCAAkC,EAClC,oCAAoC,EACpC,oCAAoC,EACpC,6BAA6B,EAC7B,6BAA6B,EAC7B,gCAAgC,EAChC,gCAAgC,EAChC,iCAAiC,EACjC,4BAA4B,EAC5B,uCAAuC,EACvC,uCAAuC,EACvC,uCAAuC,EACvC,qCAAqC,EACrC,yCAAyC,EACzC,wCAAwC,EACxC,qCAAqC,EACrC,oCAAoC,EACpC,qBAAqB,EACrB,4CAA4C,EAC5C,iDAAiD,EACjD,qDAAqD,EACrD,iDAAiD,EACjD,mDAAmD,EACnD,mDAAmD,EACnD,qCAAqC,EACrC,kDAAkD,EAClD,0BAA0B,EAC1B,2BAA2B,EAC3B,iDAAiD,EACjD,iDAAiD,EACjD,8BAA8B,EAC9B,0CAA0C,EAC1C,uDAAuD,EACvD,yDAAyD,EACzD,yDAAyD,
|
|
1
|
+
{"version":3,"file":"eventsV2.d.ts","sourceRoot":"","sources":["../../src/eservice/eventsV2.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,sBAAsB,EACtB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,6BAA6B,EAC7B,yBAAyB,EACzB,4BAA4B,EAC5B,iCAAiC,EACjC,mCAAmC,EACnC,mCAAmC,EACnC,kCAAkC,EAClC,oCAAoC,EACpC,oCAAoC,EACpC,6BAA6B,EAC7B,6BAA6B,EAC7B,gCAAgC,EAChC,gCAAgC,EAChC,iCAAiC,EACjC,4BAA4B,EAC5B,uCAAuC,EACvC,uCAAuC,EACvC,uCAAuC,EACvC,qCAAqC,EACrC,yCAAyC,EACzC,wCAAwC,EACxC,qCAAqC,EACrC,oCAAoC,EACpC,qBAAqB,EACrB,4CAA4C,EAC5C,iDAAiD,EACjD,qDAAqD,EACrD,yDAAyD,EACzD,iDAAiD,EACjD,mDAAmD,EACnD,mDAAmD,EACnD,qCAAqC,EACrC,kDAAkD,EAClD,0BAA0B,EAC1B,2BAA2B,EAC3B,iDAAiD,EACjD,iDAAiD,EACjD,8BAA8B,EAC9B,0CAA0C,EAC1C,uDAAuD,EACvD,yDAAyD,EACzD,yDAAyD,EACzD,sCAAsC,EACtC,qCAAqC,EACrC,sCAAsC,EACtC,4BAA4B,EAC5B,2BAA2B,EAC3B,4BAA4B,EAC5B,yCAAyC,EAC1C,MAAM,8BAA8B,CAAC;AAEtC,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,eAAe,GACrB,UAAU,CA0LZ;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmb1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { match } from "ts-pattern";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { protobufDecoder } from "../utils.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, EServiceDescriptorDocumentAddedByTemplateUpdateV2, EServiceDescriptorDocumentUpdatedByTemplateUpdateV2, EServiceDescriptorDocumentDeletedByTemplateUpdateV2, EServiceNameUpdatedByTemplateUpdateV2, EServiceDescriptorAgreementApprovalPolicyUpdatedV2, EServiceSignalHubEnabledV2, EServiceSignalHubDisabledV2, EServicePersonalDataFlagUpdatedAfterPublicationV2, EServicePersonalDataFlagUpdatedByTemplateUpdateV2, EServiceInstanceLabelUpdatedV2, MaintenanceEServicePersonalDataFlagResetV2, EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2, EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2, EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2, } 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, EServiceDescriptorArchivingScheduledV2, EServiceDescriptorArchivingCanceledV2, EServiceDescriptorArchivingCompletedV2, EServiceArchivingScheduledV2, EServiceArchivingCanceledV2, EServiceArchivingCompletedV2, MaintenanceEServiceDescriptorUnarchivedV2, } from "../gen/v2/eservice/events.js";
|
|
6
6
|
export function eServiceEventToBinaryDataV2(event) {
|
|
7
7
|
return match(event)
|
|
8
8
|
.with({ type: "EServiceAdded" }, ({ data }) => EServiceAddedV2.toBinary(data))
|
|
@@ -40,6 +40,7 @@ export function eServiceEventToBinaryDataV2(event) {
|
|
|
40
40
|
.with({ type: "EServiceDescriptorDocumentUpdatedByTemplateUpdate" }, ({ data }) => EServiceDescriptorDocumentUpdatedByTemplateUpdateV2.toBinary(data))
|
|
41
41
|
.with({ type: "EServiceDescriptorDocumentDeletedByTemplateUpdate" }, ({ data }) => EServiceDescriptorDocumentDeletedByTemplateUpdateV2.toBinary(data))
|
|
42
42
|
.with({ type: "EServiceNameUpdatedByTemplateUpdate" }, ({ data }) => EServiceNameUpdatedByTemplateUpdateV2.toBinary(data))
|
|
43
|
+
.with({ type: "EServiceDescriptorAttributeDailyCallsPerConsumerUpdated" }, ({ data }) => EServiceDescriptorAttributeDailyCallsPerConsumerUpdatedV2.toBinary(data))
|
|
43
44
|
.with({ type: "EServiceDescriptorAgreementApprovalPolicyUpdated" }, ({ data }) => EServiceDescriptorAgreementApprovalPolicyUpdatedV2.toBinary(data))
|
|
44
45
|
.with({ type: "EServiceSignalHubEnabled" }, ({ data }) => EServiceSignalHubEnabledV2.toBinary(data))
|
|
45
46
|
.with({ type: "EServiceSignalHubDisabled" }, ({ data }) => EServiceSignalHubDisabledV2.toBinary(data))
|
|
@@ -50,6 +51,13 @@ export function eServiceEventToBinaryDataV2(event) {
|
|
|
50
51
|
.with({ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceAdded" }, ({ data }) => EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2.toBinary(data))
|
|
51
52
|
.with({ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated" }, ({ data }) => EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2.toBinary(data))
|
|
52
53
|
.with({ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted" }, ({ data }) => EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2.toBinary(data))
|
|
54
|
+
.with({ type: "EServiceArchivingScheduled" }, ({ data }) => EServiceArchivingScheduledV2.toBinary(data))
|
|
55
|
+
.with({ type: "EServiceArchivingCanceled" }, ({ data }) => EServiceArchivingCanceledV2.toBinary(data))
|
|
56
|
+
.with({ type: "EServiceArchivingCompleted" }, ({ data }) => EServiceArchivingCompletedV2.toBinary(data))
|
|
57
|
+
.with({ type: "EServiceDescriptorArchivingScheduled" }, ({ data }) => EServiceDescriptorArchivingScheduledV2.toBinary(data))
|
|
58
|
+
.with({ type: "EServiceDescriptorArchivingCanceled" }, ({ data }) => EServiceDescriptorArchivingCanceledV2.toBinary(data))
|
|
59
|
+
.with({ type: "EServiceDescriptorArchivingCompleted" }, ({ data }) => EServiceDescriptorArchivingCompletedV2.toBinary(data))
|
|
60
|
+
.with({ type: "MaintenanceEServiceDescriptorUnarchived" }, ({ data }) => MaintenanceEServiceDescriptorUnarchivedV2.toBinary(data))
|
|
53
61
|
.exhaustive();
|
|
54
62
|
}
|
|
55
63
|
export const EServiceEventV2 = z.discriminatedUnion("type", [
|
|
@@ -381,6 +389,14 @@ export const EServiceEventV2 = z.discriminatedUnion("type", [
|
|
|
381
389
|
version: z.number(),
|
|
382
390
|
timestamp: z.coerce.date(),
|
|
383
391
|
}),
|
|
392
|
+
z.object({
|
|
393
|
+
event_version: z.literal(2),
|
|
394
|
+
type: z.literal("EServiceDescriptorAttributeDailyCallsPerConsumerUpdated"),
|
|
395
|
+
data: protobufDecoder(EServiceDescriptorAttributeDailyCallsPerConsumerUpdatedV2),
|
|
396
|
+
stream_id: z.string(),
|
|
397
|
+
version: z.number(),
|
|
398
|
+
timestamp: z.coerce.date(),
|
|
399
|
+
}),
|
|
384
400
|
z.object({
|
|
385
401
|
event_version: z.literal(2),
|
|
386
402
|
type: z.literal("MaintenanceEServicePersonalDataFlagReset"),
|
|
@@ -413,4 +429,60 @@ export const EServiceEventV2 = z.discriminatedUnion("type", [
|
|
|
413
429
|
version: z.number(),
|
|
414
430
|
timestamp: z.coerce.date(),
|
|
415
431
|
}),
|
|
432
|
+
z.object({
|
|
433
|
+
event_version: z.literal(2),
|
|
434
|
+
type: z.literal("EServiceArchivingScheduled"),
|
|
435
|
+
data: protobufDecoder(EServiceArchivingScheduledV2),
|
|
436
|
+
stream_id: z.string(),
|
|
437
|
+
version: z.number(),
|
|
438
|
+
timestamp: z.coerce.date(),
|
|
439
|
+
}),
|
|
440
|
+
z.object({
|
|
441
|
+
event_version: z.literal(2),
|
|
442
|
+
type: z.literal("EServiceArchivingCanceled"),
|
|
443
|
+
data: protobufDecoder(EServiceArchivingCanceledV2),
|
|
444
|
+
stream_id: z.string(),
|
|
445
|
+
version: z.number(),
|
|
446
|
+
timestamp: z.coerce.date(),
|
|
447
|
+
}),
|
|
448
|
+
z.object({
|
|
449
|
+
event_version: z.literal(2),
|
|
450
|
+
type: z.literal("EServiceArchivingCompleted"),
|
|
451
|
+
data: protobufDecoder(EServiceArchivingCompletedV2),
|
|
452
|
+
stream_id: z.string(),
|
|
453
|
+
version: z.number(),
|
|
454
|
+
timestamp: z.coerce.date(),
|
|
455
|
+
}),
|
|
456
|
+
z.object({
|
|
457
|
+
event_version: z.literal(2),
|
|
458
|
+
type: z.literal("EServiceDescriptorArchivingScheduled"),
|
|
459
|
+
data: protobufDecoder(EServiceDescriptorArchivingScheduledV2),
|
|
460
|
+
stream_id: z.string(),
|
|
461
|
+
version: z.number(),
|
|
462
|
+
timestamp: z.coerce.date(),
|
|
463
|
+
}),
|
|
464
|
+
z.object({
|
|
465
|
+
event_version: z.literal(2),
|
|
466
|
+
type: z.literal("EServiceDescriptorArchivingCanceled"),
|
|
467
|
+
data: protobufDecoder(EServiceDescriptorArchivingCanceledV2),
|
|
468
|
+
stream_id: z.string(),
|
|
469
|
+
version: z.number(),
|
|
470
|
+
timestamp: z.coerce.date(),
|
|
471
|
+
}),
|
|
472
|
+
z.object({
|
|
473
|
+
event_version: z.literal(2),
|
|
474
|
+
type: z.literal("EServiceDescriptorArchivingCompleted"),
|
|
475
|
+
data: protobufDecoder(EServiceDescriptorArchivingCompletedV2),
|
|
476
|
+
stream_id: z.string(),
|
|
477
|
+
version: z.number(),
|
|
478
|
+
timestamp: z.coerce.date(),
|
|
479
|
+
}),
|
|
480
|
+
z.object({
|
|
481
|
+
event_version: z.literal(2),
|
|
482
|
+
type: z.literal("MaintenanceEServiceDescriptorUnarchived"),
|
|
483
|
+
data: protobufDecoder(MaintenanceEServiceDescriptorUnarchivedV2),
|
|
484
|
+
stream_id: z.string(),
|
|
485
|
+
version: z.number(),
|
|
486
|
+
timestamp: z.coerce.date(),
|
|
487
|
+
}),
|
|
416
488
|
]);
|
package/dist/eservice/index.d.ts
CHANGED
|
@@ -379,6 +379,13 @@ export declare const EServiceEvent: z.ZodEffects<z.ZodDiscriminatedUnion<"event_
|
|
|
379
379
|
data: import("../index.js").EServiceInstanceLabelUpdatedV2;
|
|
380
380
|
stream_id: string;
|
|
381
381
|
timestamp: Date;
|
|
382
|
+
} | {
|
|
383
|
+
event_version: 2;
|
|
384
|
+
type: "EServiceDescriptorAttributeDailyCallsPerConsumerUpdated";
|
|
385
|
+
version: number;
|
|
386
|
+
data: import("../index.js").EServiceDescriptorAttributeDailyCallsPerConsumerUpdatedV2;
|
|
387
|
+
stream_id: string;
|
|
388
|
+
timestamp: Date;
|
|
382
389
|
} | {
|
|
383
390
|
event_version: 2;
|
|
384
391
|
type: "MaintenanceEServicePersonalDataFlagReset";
|
|
@@ -407,6 +414,55 @@ export declare const EServiceEvent: z.ZodEffects<z.ZodDiscriminatedUnion<"event_
|
|
|
407
414
|
data: import("../index.js").EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2;
|
|
408
415
|
stream_id: string;
|
|
409
416
|
timestamp: Date;
|
|
417
|
+
} | {
|
|
418
|
+
event_version: 2;
|
|
419
|
+
type: "EServiceArchivingScheduled";
|
|
420
|
+
version: number;
|
|
421
|
+
data: import("../index.js").EServiceArchivingScheduledV2;
|
|
422
|
+
stream_id: string;
|
|
423
|
+
timestamp: Date;
|
|
424
|
+
} | {
|
|
425
|
+
event_version: 2;
|
|
426
|
+
type: "EServiceArchivingCanceled";
|
|
427
|
+
version: number;
|
|
428
|
+
data: import("../index.js").EServiceArchivingCanceledV2;
|
|
429
|
+
stream_id: string;
|
|
430
|
+
timestamp: Date;
|
|
431
|
+
} | {
|
|
432
|
+
event_version: 2;
|
|
433
|
+
type: "EServiceArchivingCompleted";
|
|
434
|
+
version: number;
|
|
435
|
+
data: import("../index.js").EServiceArchivingCompletedV2;
|
|
436
|
+
stream_id: string;
|
|
437
|
+
timestamp: Date;
|
|
438
|
+
} | {
|
|
439
|
+
event_version: 2;
|
|
440
|
+
type: "EServiceDescriptorArchivingScheduled";
|
|
441
|
+
version: number;
|
|
442
|
+
data: import("../index.js").EServiceDescriptorArchivingScheduledV2;
|
|
443
|
+
stream_id: string;
|
|
444
|
+
timestamp: Date;
|
|
445
|
+
} | {
|
|
446
|
+
event_version: 2;
|
|
447
|
+
type: "EServiceDescriptorArchivingCanceled";
|
|
448
|
+
version: number;
|
|
449
|
+
data: import("../index.js").EServiceDescriptorArchivingCanceledV2;
|
|
450
|
+
stream_id: string;
|
|
451
|
+
timestamp: Date;
|
|
452
|
+
} | {
|
|
453
|
+
event_version: 2;
|
|
454
|
+
type: "EServiceDescriptorArchivingCompleted";
|
|
455
|
+
version: number;
|
|
456
|
+
data: import("../index.js").EServiceDescriptorArchivingCompletedV2;
|
|
457
|
+
stream_id: string;
|
|
458
|
+
timestamp: Date;
|
|
459
|
+
} | {
|
|
460
|
+
event_version: 2;
|
|
461
|
+
type: "MaintenanceEServiceDescriptorUnarchived";
|
|
462
|
+
version: number;
|
|
463
|
+
data: import("../index.js").MaintenanceEServiceDescriptorUnarchivedV2;
|
|
464
|
+
stream_id: string;
|
|
465
|
+
timestamp: Date;
|
|
410
466
|
}, z.objectInputType<{
|
|
411
467
|
event_version: z.ZodLiteral<1>;
|
|
412
468
|
}, 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"}
|
|
@@ -68,6 +68,10 @@ export interface EServiceV2 {
|
|
|
68
68
|
* @generated from protobuf field: optional bool asyncExchange = 16;
|
|
69
69
|
*/
|
|
70
70
|
asyncExchange?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* @generated from protobuf field: optional string archivingReason = 17;
|
|
73
|
+
*/
|
|
74
|
+
archivingReason?: string;
|
|
71
75
|
}
|
|
72
76
|
/**
|
|
73
77
|
* @generated from protobuf message eservice.v2.EServiceAttributeValueV2
|
|
@@ -217,6 +221,10 @@ export interface EServiceDescriptorV2 {
|
|
|
217
221
|
* @generated from protobuf field: optional eservice.v2.AsyncExchangePropertiesV2 asyncExchangeProperties = 22;
|
|
218
222
|
*/
|
|
219
223
|
asyncExchangeProperties?: AsyncExchangePropertiesV2;
|
|
224
|
+
/**
|
|
225
|
+
* @generated from protobuf field: optional eservice.v2.ArchivingScheduleV2 archivingSchedule = 23;
|
|
226
|
+
*/
|
|
227
|
+
archivingSchedule?: ArchivingScheduleV2;
|
|
220
228
|
}
|
|
221
229
|
/**
|
|
222
230
|
* @generated from protobuf message eservice.v2.TemplateInstanceInterfaceMetadataV2
|
|
@@ -306,6 +314,23 @@ export interface EServiceDocumentV2 {
|
|
|
306
314
|
*/
|
|
307
315
|
prettyName: string;
|
|
308
316
|
}
|
|
317
|
+
/**
|
|
318
|
+
* @generated from protobuf message eservice.v2.ArchivingScheduleV2
|
|
319
|
+
*/
|
|
320
|
+
export interface ArchivingScheduleV2 {
|
|
321
|
+
/**
|
|
322
|
+
* @generated from protobuf field: int64 archivableOn = 1;
|
|
323
|
+
*/
|
|
324
|
+
archivableOn: bigint;
|
|
325
|
+
/**
|
|
326
|
+
* @generated from protobuf field: eservice.v2.ArchivingScopeV2 scope = 2;
|
|
327
|
+
*/
|
|
328
|
+
scope: ArchivingScopeV2;
|
|
329
|
+
/**
|
|
330
|
+
* @generated from protobuf field: int64 startedAt = 3;
|
|
331
|
+
*/
|
|
332
|
+
startedAt: bigint;
|
|
333
|
+
}
|
|
309
334
|
/**
|
|
310
335
|
* @generated from protobuf enum eservice.v2.EServiceDescriptorStateV2
|
|
311
336
|
*/
|
|
@@ -333,7 +358,15 @@ export declare enum EServiceDescriptorStateV2 {
|
|
|
333
358
|
/**
|
|
334
359
|
* @generated from protobuf enum value: WAITING_FOR_APPROVAL = 5;
|
|
335
360
|
*/
|
|
336
|
-
WAITING_FOR_APPROVAL = 5
|
|
361
|
+
WAITING_FOR_APPROVAL = 5,
|
|
362
|
+
/**
|
|
363
|
+
* @generated from protobuf enum value: ARCHIVING = 6;
|
|
364
|
+
*/
|
|
365
|
+
ARCHIVING = 6,
|
|
366
|
+
/**
|
|
367
|
+
* @generated from protobuf enum value: ARCHIVING_SUSPENDED = 7;
|
|
368
|
+
*/
|
|
369
|
+
ARCHIVING_SUSPENDED = 7
|
|
337
370
|
}
|
|
338
371
|
/**
|
|
339
372
|
* @generated from protobuf enum eservice.v2.EServiceTechnologyV2
|
|
@@ -374,6 +407,19 @@ export declare enum EServiceModeV2 {
|
|
|
374
407
|
*/
|
|
375
408
|
DELIVER = 1
|
|
376
409
|
}
|
|
410
|
+
/**
|
|
411
|
+
* @generated from protobuf enum eservice.v2.ArchivingScopeV2
|
|
412
|
+
*/
|
|
413
|
+
export declare enum ArchivingScopeV2 {
|
|
414
|
+
/**
|
|
415
|
+
* @generated from protobuf enum value: ESERVICE = 0;
|
|
416
|
+
*/
|
|
417
|
+
ESERVICE = 0,
|
|
418
|
+
/**
|
|
419
|
+
* @generated from protobuf enum value: DESCRIPTOR = 1;
|
|
420
|
+
*/
|
|
421
|
+
DESCRIPTOR = 1
|
|
422
|
+
}
|
|
377
423
|
declare class EServiceV2$Type extends MessageType<EServiceV2> {
|
|
378
424
|
constructor();
|
|
379
425
|
create(value?: PartialMessage<EServiceV2>): EServiceV2;
|
|
@@ -474,5 +520,15 @@ declare class EServiceDocumentV2$Type extends MessageType<EServiceDocumentV2> {
|
|
|
474
520
|
* @generated MessageType for protobuf message eservice.v2.EServiceDocumentV2
|
|
475
521
|
*/
|
|
476
522
|
export declare const EServiceDocumentV2: EServiceDocumentV2$Type;
|
|
523
|
+
declare class ArchivingScheduleV2$Type extends MessageType<ArchivingScheduleV2> {
|
|
524
|
+
constructor();
|
|
525
|
+
create(value?: PartialMessage<ArchivingScheduleV2>): ArchivingScheduleV2;
|
|
526
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ArchivingScheduleV2): ArchivingScheduleV2;
|
|
527
|
+
internalBinaryWrite(message: ArchivingScheduleV2, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* @generated MessageType for protobuf message eservice.v2.ArchivingScheduleV2
|
|
531
|
+
*/
|
|
532
|
+
export declare const ArchivingScheduleV2: ArchivingScheduleV2$Type;
|
|
477
533
|
export {};
|
|
478
534
|
//# sourceMappingURL=eservice.d.ts.map
|