@pagopa/interop-outbound-models 1.8.18-soglie.differenziate.0 → 1.8.18
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 +38 -3
- package/dist/eservice/eventsV2.d.ts +53 -11
- package/dist/eservice/eventsV2.d.ts.map +1 -1
- package/dist/eservice/eventsV2.js +25 -6
- package/dist/eservice/index.d.ts +18 -4
- 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 +64 -14
- package/dist/gen/v2/eservice/events.d.ts.map +1 -1
- package/dist/gen/v2/eservice/events.js +142 -26
- 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 +16 -5
- 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 +43 -10
- package/src/eservice-template/eventsV2.ts +60 -0
- package/src/purpose-template/eventsV2.ts +24 -0
- package/tests/eservice.test.ts +124 -20
- package/tests/purpose-template.test.ts +97 -0
- package/tests/template.test.ts +158 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,12 +2,47 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 1.8.18
|
|
6
6
|
|
|
7
7
|
### Added
|
|
8
|
+
- Added `PurposeTemplateEServiceTemplateLinkedV2` event
|
|
9
|
+
- Added `PurposeTemplateEServiceTemplateUnlinkedV2` event
|
|
10
|
+
- Added `AsyncExchangePropertiesV2` message
|
|
11
|
+
- Added `asyncExchange` property to `EServiceV2` and `EServiceTemplateV2`
|
|
12
|
+
- Added `asyncExchangeCallbackInterface` and `asyncExchangeProperties` properties to `EServiceDescriptorV2` and `EServiceTemplateVersionV2`
|
|
13
|
+
- Added async exchange callback interface events for `EService`:
|
|
14
|
+
- `EServiceDescriptorAsyncExchangeCallbackInterfaceAdded`
|
|
15
|
+
- `EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated`
|
|
16
|
+
- `EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted`
|
|
17
|
+
- Added async exchange callback interface events for `EServiceTemplate`:
|
|
18
|
+
- `EServiceTemplateVersionAsyncExchangeCallbackInterfaceAdded`
|
|
19
|
+
- `EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdated`
|
|
20
|
+
- `EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeleted`
|
|
21
|
+
|
|
22
|
+
## 1.8.17
|
|
23
|
+
|
|
24
|
+
### Restore
|
|
25
|
+
- Revert recent changes to ensure stability
|
|
26
|
+
|
|
27
|
+
## 1.8.16
|
|
8
28
|
|
|
9
|
-
|
|
10
|
-
-
|
|
29
|
+
### Added
|
|
30
|
+
- Added `startedAt` property to `ArchivingScheduleV2`
|
|
31
|
+
|
|
32
|
+
## 1.8.15
|
|
33
|
+
|
|
34
|
+
### Added
|
|
35
|
+
- Added `ArchivingScheduleV2` message and `ArchivingScopeV2` enum
|
|
36
|
+
- Added `archivingSchedule` property to `EServiceDescriptorV2`
|
|
37
|
+
- Added `archivingReason` property to `EServiceV2`
|
|
38
|
+
- Added `ARCHIVING` and `ARCHIVING_SUSPENDED` states to `EServiceDescriptorStateV2`
|
|
39
|
+
- Added archiving scheduled events:
|
|
40
|
+
- `EServiceArchivingScheduled`
|
|
41
|
+
- `EServiceArchivingCanceled`
|
|
42
|
+
- `EServiceArchivingCompleted`
|
|
43
|
+
- `EServiceDescriptorArchivingScheduled`
|
|
44
|
+
- `EServiceDescriptorArchivingCanceled`
|
|
45
|
+
- `EServiceDescriptorArchivingCompleted`
|
|
11
46
|
|
|
12
47
|
## 1.8.14
|
|
13
48
|
|
|
@@ -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,
|
|
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";
|
|
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>;
|
|
@@ -864,42 +864,84 @@ export declare const EServiceEventV2: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
864
864
|
data?: any;
|
|
865
865
|
}>, z.ZodObject<{
|
|
866
866
|
event_version: z.ZodLiteral<2>;
|
|
867
|
-
type: z.ZodLiteral<"
|
|
868
|
-
data: z.ZodEffects<z.ZodAny,
|
|
867
|
+
type: z.ZodLiteral<"MaintenanceEServicePersonalDataFlagReset">;
|
|
868
|
+
data: z.ZodEffects<z.ZodAny, MaintenanceEServicePersonalDataFlagResetV2, any>;
|
|
869
869
|
stream_id: z.ZodString;
|
|
870
870
|
version: z.ZodNumber;
|
|
871
871
|
timestamp: z.ZodDate;
|
|
872
872
|
}, "strip", z.ZodTypeAny, {
|
|
873
873
|
event_version: 2;
|
|
874
|
-
type: "
|
|
874
|
+
type: "MaintenanceEServicePersonalDataFlagReset";
|
|
875
875
|
version: number;
|
|
876
|
-
data:
|
|
876
|
+
data: MaintenanceEServicePersonalDataFlagResetV2;
|
|
877
877
|
stream_id: string;
|
|
878
878
|
timestamp: Date;
|
|
879
879
|
}, {
|
|
880
880
|
event_version: 2;
|
|
881
|
-
type: "
|
|
881
|
+
type: "MaintenanceEServicePersonalDataFlagReset";
|
|
882
882
|
version: number;
|
|
883
883
|
stream_id: string;
|
|
884
884
|
timestamp: Date;
|
|
885
885
|
data?: any;
|
|
886
886
|
}>, z.ZodObject<{
|
|
887
887
|
event_version: z.ZodLiteral<2>;
|
|
888
|
-
type: z.ZodLiteral<"
|
|
889
|
-
data: z.ZodEffects<z.ZodAny,
|
|
888
|
+
type: z.ZodLiteral<"EServiceDescriptorAsyncExchangeCallbackInterfaceAdded">;
|
|
889
|
+
data: z.ZodEffects<z.ZodAny, EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2, any>;
|
|
890
890
|
stream_id: z.ZodString;
|
|
891
891
|
version: z.ZodNumber;
|
|
892
892
|
timestamp: z.ZodDate;
|
|
893
893
|
}, "strip", z.ZodTypeAny, {
|
|
894
894
|
event_version: 2;
|
|
895
|
-
type: "
|
|
895
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceAdded";
|
|
896
896
|
version: number;
|
|
897
|
-
data:
|
|
897
|
+
data: EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2;
|
|
898
898
|
stream_id: string;
|
|
899
899
|
timestamp: Date;
|
|
900
900
|
}, {
|
|
901
901
|
event_version: 2;
|
|
902
|
-
type: "
|
|
902
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceAdded";
|
|
903
|
+
version: number;
|
|
904
|
+
stream_id: string;
|
|
905
|
+
timestamp: Date;
|
|
906
|
+
data?: any;
|
|
907
|
+
}>, z.ZodObject<{
|
|
908
|
+
event_version: z.ZodLiteral<2>;
|
|
909
|
+
type: z.ZodLiteral<"EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated">;
|
|
910
|
+
data: z.ZodEffects<z.ZodAny, EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2, any>;
|
|
911
|
+
stream_id: z.ZodString;
|
|
912
|
+
version: z.ZodNumber;
|
|
913
|
+
timestamp: z.ZodDate;
|
|
914
|
+
}, "strip", z.ZodTypeAny, {
|
|
915
|
+
event_version: 2;
|
|
916
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated";
|
|
917
|
+
version: number;
|
|
918
|
+
data: EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2;
|
|
919
|
+
stream_id: string;
|
|
920
|
+
timestamp: Date;
|
|
921
|
+
}, {
|
|
922
|
+
event_version: 2;
|
|
923
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated";
|
|
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<"EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted">;
|
|
931
|
+
data: z.ZodEffects<z.ZodAny, EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2, any>;
|
|
932
|
+
stream_id: z.ZodString;
|
|
933
|
+
version: z.ZodNumber;
|
|
934
|
+
timestamp: z.ZodDate;
|
|
935
|
+
}, "strip", z.ZodTypeAny, {
|
|
936
|
+
event_version: 2;
|
|
937
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted";
|
|
938
|
+
version: number;
|
|
939
|
+
data: EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2;
|
|
940
|
+
stream_id: string;
|
|
941
|
+
timestamp: Date;
|
|
942
|
+
}, {
|
|
943
|
+
event_version: 2;
|
|
944
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted";
|
|
903
945
|
version: number;
|
|
904
946
|
stream_id: string;
|
|
905
947
|
timestamp: Date;
|
|
@@ -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,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,sBAAsB,EACtB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,6BAA6B,EAC7B,yBAAyB,EACzB,4BAA4B,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiX1B,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,
|
|
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
6
|
export function eServiceEventToBinaryDataV2(event) {
|
|
6
7
|
return match(event)
|
|
7
8
|
.with({ type: "EServiceAdded" }, ({ data }) => EServiceAddedV2.toBinary(data))
|
|
@@ -39,7 +40,6 @@ export function eServiceEventToBinaryDataV2(event) {
|
|
|
39
40
|
.with({ type: "EServiceDescriptorDocumentUpdatedByTemplateUpdate" }, ({ data }) => EServiceDescriptorDocumentUpdatedByTemplateUpdateV2.toBinary(data))
|
|
40
41
|
.with({ type: "EServiceDescriptorDocumentDeletedByTemplateUpdate" }, ({ data }) => EServiceDescriptorDocumentDeletedByTemplateUpdateV2.toBinary(data))
|
|
41
42
|
.with({ type: "EServiceNameUpdatedByTemplateUpdate" }, ({ data }) => EServiceNameUpdatedByTemplateUpdateV2.toBinary(data))
|
|
42
|
-
.with({ type: "EServiceDescriptorAttributeDailyCallsPerConsumerUpdated" }, ({ data }) => EServiceDescriptorAttributeDailyCallsPerConsumerUpdatedV2.toBinary(data))
|
|
43
43
|
.with({ type: "EServiceDescriptorAgreementApprovalPolicyUpdated" }, ({ data }) => EServiceDescriptorAgreementApprovalPolicyUpdatedV2.toBinary(data))
|
|
44
44
|
.with({ type: "EServiceSignalHubEnabled" }, ({ data }) => EServiceSignalHubEnabledV2.toBinary(data))
|
|
45
45
|
.with({ type: "EServiceSignalHubDisabled" }, ({ data }) => EServiceSignalHubDisabledV2.toBinary(data))
|
|
@@ -47,6 +47,9 @@ export function eServiceEventToBinaryDataV2(event) {
|
|
|
47
47
|
.with({ type: "EServicePersonalDataFlagUpdatedByTemplateUpdate" }, ({ data }) => EServicePersonalDataFlagUpdatedByTemplateUpdateV2.toBinary(data))
|
|
48
48
|
.with({ type: "EServiceInstanceLabelUpdated" }, ({ data }) => EServiceInstanceLabelUpdatedV2.toBinary(data))
|
|
49
49
|
.with({ type: "MaintenanceEServicePersonalDataFlagReset" }, ({ data }) => MaintenanceEServicePersonalDataFlagResetV2.toBinary(data))
|
|
50
|
+
.with({ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceAdded" }, ({ data }) => EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2.toBinary(data))
|
|
51
|
+
.with({ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated" }, ({ data }) => EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2.toBinary(data))
|
|
52
|
+
.with({ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted" }, ({ data }) => EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2.toBinary(data))
|
|
50
53
|
.exhaustive();
|
|
51
54
|
}
|
|
52
55
|
export const EServiceEventV2 = z.discriminatedUnion("type", [
|
|
@@ -380,16 +383,32 @@ export const EServiceEventV2 = z.discriminatedUnion("type", [
|
|
|
380
383
|
}),
|
|
381
384
|
z.object({
|
|
382
385
|
event_version: z.literal(2),
|
|
383
|
-
type: z.literal("
|
|
384
|
-
data: protobufDecoder(
|
|
386
|
+
type: z.literal("MaintenanceEServicePersonalDataFlagReset"),
|
|
387
|
+
data: protobufDecoder(MaintenanceEServicePersonalDataFlagResetV2),
|
|
385
388
|
stream_id: z.string(),
|
|
386
389
|
version: z.number(),
|
|
387
390
|
timestamp: z.coerce.date(),
|
|
388
391
|
}),
|
|
389
392
|
z.object({
|
|
390
393
|
event_version: z.literal(2),
|
|
391
|
-
type: z.literal("
|
|
392
|
-
data: protobufDecoder(
|
|
394
|
+
type: z.literal("EServiceDescriptorAsyncExchangeCallbackInterfaceAdded"),
|
|
395
|
+
data: protobufDecoder(EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2),
|
|
396
|
+
stream_id: z.string(),
|
|
397
|
+
version: z.number(),
|
|
398
|
+
timestamp: z.coerce.date(),
|
|
399
|
+
}),
|
|
400
|
+
z.object({
|
|
401
|
+
event_version: z.literal(2),
|
|
402
|
+
type: z.literal("EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated"),
|
|
403
|
+
data: protobufDecoder(EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2),
|
|
404
|
+
stream_id: z.string(),
|
|
405
|
+
version: z.number(),
|
|
406
|
+
timestamp: z.coerce.date(),
|
|
407
|
+
}),
|
|
408
|
+
z.object({
|
|
409
|
+
event_version: z.literal(2),
|
|
410
|
+
type: z.literal("EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted"),
|
|
411
|
+
data: protobufDecoder(EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2),
|
|
393
412
|
stream_id: z.string(),
|
|
394
413
|
version: z.number(),
|
|
395
414
|
timestamp: z.coerce.date(),
|
package/dist/eservice/index.d.ts
CHANGED
|
@@ -381,16 +381,30 @@ export declare const EServiceEvent: z.ZodEffects<z.ZodDiscriminatedUnion<"event_
|
|
|
381
381
|
timestamp: Date;
|
|
382
382
|
} | {
|
|
383
383
|
event_version: 2;
|
|
384
|
-
type: "
|
|
384
|
+
type: "MaintenanceEServicePersonalDataFlagReset";
|
|
385
385
|
version: number;
|
|
386
|
-
data: import("../index.js").
|
|
386
|
+
data: import("../index.js").MaintenanceEServicePersonalDataFlagResetV2;
|
|
387
387
|
stream_id: string;
|
|
388
388
|
timestamp: Date;
|
|
389
389
|
} | {
|
|
390
390
|
event_version: 2;
|
|
391
|
-
type: "
|
|
391
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceAdded";
|
|
392
392
|
version: number;
|
|
393
|
-
data: import("../index.js").
|
|
393
|
+
data: import("../index.js").EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2;
|
|
394
|
+
stream_id: string;
|
|
395
|
+
timestamp: Date;
|
|
396
|
+
} | {
|
|
397
|
+
event_version: 2;
|
|
398
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated";
|
|
399
|
+
version: number;
|
|
400
|
+
data: import("../index.js").EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2;
|
|
401
|
+
stream_id: string;
|
|
402
|
+
timestamp: Date;
|
|
403
|
+
} | {
|
|
404
|
+
event_version: 2;
|
|
405
|
+
type: "EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted";
|
|
406
|
+
version: number;
|
|
407
|
+
data: import("../index.js").EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2;
|
|
394
408
|
stream_id: string;
|
|
395
409
|
timestamp: Date;
|
|
396
410
|
}, 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,EAC9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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,M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