@pagopa/interop-outbound-models 1.8.19 → 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/dist/eservice/eventsV2.d.ts +148 -1
- package/dist/eservice/eventsV2.d.ts.map +1 -1
- package/dist/eservice/eventsV2.js +64 -1
- package/dist/eservice/index.d.ts +49 -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 +149 -0
- package/dist/gen/v2/eservice/events.d.ts.map +1 -1
- package/dist/gen/v2/eservice/events.js +354 -0
- package/package.json +2 -2
- package/proto/v2/eservice/eservice.proto +15 -0
- package/proto/v2/eservice/events.proto +32 -0
- package/src/eservice/eventsV2.ts +84 -0
|
@@ -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, 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>;
|
|
@@ -967,6 +967,153 @@ export declare const EServiceEventV2: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
967
967
|
stream_id: string;
|
|
968
968
|
timestamp: Date;
|
|
969
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;
|
|
970
1117
|
}>]>;
|
|
971
1118
|
export type EServiceEventV2 = z.infer<typeof EServiceEventV2>;
|
|
972
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,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,
|
|
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;AA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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, EServiceDescriptorAttributeDailyCallsPerConsumerUpdatedV2, 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))
|
|
@@ -51,6 +51,13 @@ export function eServiceEventToBinaryDataV2(event) {
|
|
|
51
51
|
.with({ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceAdded" }, ({ data }) => EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2.toBinary(data))
|
|
52
52
|
.with({ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated" }, ({ data }) => EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2.toBinary(data))
|
|
53
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))
|
|
54
61
|
.exhaustive();
|
|
55
62
|
}
|
|
56
63
|
export const EServiceEventV2 = z.discriminatedUnion("type", [
|
|
@@ -422,4 +429,60 @@ export const EServiceEventV2 = z.discriminatedUnion("type", [
|
|
|
422
429
|
version: z.number(),
|
|
423
430
|
timestamp: z.coerce.date(),
|
|
424
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
|
+
}),
|
|
425
488
|
]);
|
package/dist/eservice/index.d.ts
CHANGED
|
@@ -414,6 +414,55 @@ export declare const EServiceEvent: z.ZodEffects<z.ZodDiscriminatedUnion<"event_
|
|
|
414
414
|
data: import("../index.js").EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2;
|
|
415
415
|
stream_id: string;
|
|
416
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;
|
|
417
466
|
}, z.objectInputType<{
|
|
418
467
|
event_version: z.ZodLiteral<1>;
|
|
419
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
|
|
@@ -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,C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AE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,kBAAkB,GAAG,kBAAkB;IAkCtI,mBAAmB,CAAC,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAwBtH;AACD;;GAEG;AACH,eAAO,MAAM,kBAAkB,yBAAgC,CAAC;AAEhE,cAAM,wBAAyB,SAAQ,WAAW,CAAC,mBAAmB,CAAC;;IAQnE,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,mBAAmB,CAAC,GAAG,mBAAmB;IASxE,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,mBAAmB,GAAG,mBAAmB;IAyBxI,mBAAmB,CAAC,OAAO,EAAE,mBAAmB,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAevH;AACD;;GAEG;AACH,eAAO,MAAM,mBAAmB,0BAAiC,CAAC"}
|
|
@@ -31,6 +31,14 @@ export var EServiceDescriptorStateV2;
|
|
|
31
31
|
* @generated from protobuf enum value: WAITING_FOR_APPROVAL = 5;
|
|
32
32
|
*/
|
|
33
33
|
EServiceDescriptorStateV2[EServiceDescriptorStateV2["WAITING_FOR_APPROVAL"] = 5] = "WAITING_FOR_APPROVAL";
|
|
34
|
+
/**
|
|
35
|
+
* @generated from protobuf enum value: ARCHIVING = 6;
|
|
36
|
+
*/
|
|
37
|
+
EServiceDescriptorStateV2[EServiceDescriptorStateV2["ARCHIVING"] = 6] = "ARCHIVING";
|
|
38
|
+
/**
|
|
39
|
+
* @generated from protobuf enum value: ARCHIVING_SUSPENDED = 7;
|
|
40
|
+
*/
|
|
41
|
+
EServiceDescriptorStateV2[EServiceDescriptorStateV2["ARCHIVING_SUSPENDED"] = 7] = "ARCHIVING_SUSPENDED";
|
|
34
42
|
})(EServiceDescriptorStateV2 || (EServiceDescriptorStateV2 = {}));
|
|
35
43
|
/**
|
|
36
44
|
* @generated from protobuf enum eservice.v2.EServiceTechnologyV2
|
|
@@ -74,6 +82,20 @@ export var EServiceModeV2;
|
|
|
74
82
|
*/
|
|
75
83
|
EServiceModeV2[EServiceModeV2["DELIVER"] = 1] = "DELIVER";
|
|
76
84
|
})(EServiceModeV2 || (EServiceModeV2 = {}));
|
|
85
|
+
/**
|
|
86
|
+
* @generated from protobuf enum eservice.v2.ArchivingScopeV2
|
|
87
|
+
*/
|
|
88
|
+
export var ArchivingScopeV2;
|
|
89
|
+
(function (ArchivingScopeV2) {
|
|
90
|
+
/**
|
|
91
|
+
* @generated from protobuf enum value: ESERVICE = 0;
|
|
92
|
+
*/
|
|
93
|
+
ArchivingScopeV2[ArchivingScopeV2["ESERVICE"] = 0] = "ESERVICE";
|
|
94
|
+
/**
|
|
95
|
+
* @generated from protobuf enum value: DESCRIPTOR = 1;
|
|
96
|
+
*/
|
|
97
|
+
ArchivingScopeV2[ArchivingScopeV2["DESCRIPTOR"] = 1] = "DESCRIPTOR";
|
|
98
|
+
})(ArchivingScopeV2 || (ArchivingScopeV2 = {}));
|
|
77
99
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
78
100
|
class EServiceV2$Type extends MessageType {
|
|
79
101
|
constructor() {
|
|
@@ -92,7 +114,8 @@ class EServiceV2$Type extends MessageType {
|
|
|
92
114
|
{ no: 13, name: "templateId", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
93
115
|
{ no: 14, name: "personalData", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
94
116
|
{ no: 15, name: "instanceLabel", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
95
|
-
{ no: 16, name: "asyncExchange", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
|
|
117
|
+
{ no: 16, name: "asyncExchange", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
118
|
+
{ no: 17, name: "archivingReason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
96
119
|
]);
|
|
97
120
|
}
|
|
98
121
|
create(value) {
|
|
@@ -159,6 +182,9 @@ class EServiceV2$Type extends MessageType {
|
|
|
159
182
|
case /* optional bool asyncExchange */ 16:
|
|
160
183
|
message.asyncExchange = reader.bool();
|
|
161
184
|
break;
|
|
185
|
+
case /* optional string archivingReason */ 17:
|
|
186
|
+
message.archivingReason = reader.string();
|
|
187
|
+
break;
|
|
162
188
|
default:
|
|
163
189
|
let u = options.readUnknownField;
|
|
164
190
|
if (u === "throw")
|
|
@@ -216,6 +242,9 @@ class EServiceV2$Type extends MessageType {
|
|
|
216
242
|
/* optional bool asyncExchange = 16; */
|
|
217
243
|
if (message.asyncExchange !== undefined)
|
|
218
244
|
writer.tag(16, WireType.Varint).bool(message.asyncExchange);
|
|
245
|
+
/* optional string archivingReason = 17; */
|
|
246
|
+
if (message.archivingReason !== undefined)
|
|
247
|
+
writer.tag(17, WireType.LengthDelimited).string(message.archivingReason);
|
|
219
248
|
let u = options.writeUnknownFields;
|
|
220
249
|
if (u !== false)
|
|
221
250
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -478,7 +507,8 @@ class EServiceDescriptorV2$Type extends MessageType {
|
|
|
478
507
|
{ no: 19, name: "rejectionReasons", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => DescriptorRejectionReasonV2 },
|
|
479
508
|
{ no: 20, name: "templateVersionRef", kind: "message", T: () => EServiceTemplateVersionRefV2 },
|
|
480
509
|
{ no: 21, name: "asyncExchangeCallbackInterface", kind: "message", T: () => EServiceDocumentV2 },
|
|
481
|
-
{ no: 22, name: "asyncExchangeProperties", kind: "message", T: () => AsyncExchangePropertiesV2 }
|
|
510
|
+
{ no: 22, name: "asyncExchangeProperties", kind: "message", T: () => AsyncExchangePropertiesV2 },
|
|
511
|
+
{ no: 23, name: "archivingSchedule", kind: "message", T: () => ArchivingScheduleV2 }
|
|
482
512
|
]);
|
|
483
513
|
}
|
|
484
514
|
create(value) {
|
|
@@ -570,6 +600,9 @@ class EServiceDescriptorV2$Type extends MessageType {
|
|
|
570
600
|
case /* optional eservice.v2.AsyncExchangePropertiesV2 asyncExchangeProperties */ 22:
|
|
571
601
|
message.asyncExchangeProperties = AsyncExchangePropertiesV2.internalBinaryRead(reader, reader.uint32(), options, message.asyncExchangeProperties);
|
|
572
602
|
break;
|
|
603
|
+
case /* optional eservice.v2.ArchivingScheduleV2 archivingSchedule */ 23:
|
|
604
|
+
message.archivingSchedule = ArchivingScheduleV2.internalBinaryRead(reader, reader.uint32(), options, message.archivingSchedule);
|
|
605
|
+
break;
|
|
573
606
|
default:
|
|
574
607
|
let u = options.readUnknownField;
|
|
575
608
|
if (u === "throw")
|
|
@@ -648,6 +681,9 @@ class EServiceDescriptorV2$Type extends MessageType {
|
|
|
648
681
|
/* optional eservice.v2.AsyncExchangePropertiesV2 asyncExchangeProperties = 22; */
|
|
649
682
|
if (message.asyncExchangeProperties)
|
|
650
683
|
AsyncExchangePropertiesV2.internalBinaryWrite(message.asyncExchangeProperties, writer.tag(22, WireType.LengthDelimited).fork(), options).join();
|
|
684
|
+
/* optional eservice.v2.ArchivingScheduleV2 archivingSchedule = 23; */
|
|
685
|
+
if (message.archivingSchedule)
|
|
686
|
+
ArchivingScheduleV2.internalBinaryWrite(message.archivingSchedule, writer.tag(23, WireType.LengthDelimited).fork(), options).join();
|
|
651
687
|
let u = options.writeUnknownFields;
|
|
652
688
|
if (u !== false)
|
|
653
689
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -945,3 +981,66 @@ class EServiceDocumentV2$Type extends MessageType {
|
|
|
945
981
|
* @generated MessageType for protobuf message eservice.v2.EServiceDocumentV2
|
|
946
982
|
*/
|
|
947
983
|
export const EServiceDocumentV2 = new EServiceDocumentV2$Type();
|
|
984
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
985
|
+
class ArchivingScheduleV2$Type extends MessageType {
|
|
986
|
+
constructor() {
|
|
987
|
+
super("eservice.v2.ArchivingScheduleV2", [
|
|
988
|
+
{ no: 1, name: "archivableOn", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
989
|
+
{ no: 2, name: "scope", kind: "enum", T: () => ["eservice.v2.ArchivingScopeV2", ArchivingScopeV2] },
|
|
990
|
+
{ no: 3, name: "startedAt", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
991
|
+
]);
|
|
992
|
+
}
|
|
993
|
+
create(value) {
|
|
994
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
995
|
+
message.archivableOn = 0n;
|
|
996
|
+
message.scope = 0;
|
|
997
|
+
message.startedAt = 0n;
|
|
998
|
+
if (value !== undefined)
|
|
999
|
+
reflectionMergePartial(this, message, value);
|
|
1000
|
+
return message;
|
|
1001
|
+
}
|
|
1002
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1003
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1004
|
+
while (reader.pos < end) {
|
|
1005
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1006
|
+
switch (fieldNo) {
|
|
1007
|
+
case /* int64 archivableOn */ 1:
|
|
1008
|
+
message.archivableOn = reader.int64().toBigInt();
|
|
1009
|
+
break;
|
|
1010
|
+
case /* eservice.v2.ArchivingScopeV2 scope */ 2:
|
|
1011
|
+
message.scope = reader.int32();
|
|
1012
|
+
break;
|
|
1013
|
+
case /* int64 startedAt */ 3:
|
|
1014
|
+
message.startedAt = reader.int64().toBigInt();
|
|
1015
|
+
break;
|
|
1016
|
+
default:
|
|
1017
|
+
let u = options.readUnknownField;
|
|
1018
|
+
if (u === "throw")
|
|
1019
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1020
|
+
let d = reader.skip(wireType);
|
|
1021
|
+
if (u !== false)
|
|
1022
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
return message;
|
|
1026
|
+
}
|
|
1027
|
+
internalBinaryWrite(message, writer, options) {
|
|
1028
|
+
/* int64 archivableOn = 1; */
|
|
1029
|
+
if (message.archivableOn !== 0n)
|
|
1030
|
+
writer.tag(1, WireType.Varint).int64(message.archivableOn);
|
|
1031
|
+
/* eservice.v2.ArchivingScopeV2 scope = 2; */
|
|
1032
|
+
if (message.scope !== 0)
|
|
1033
|
+
writer.tag(2, WireType.Varint).int32(message.scope);
|
|
1034
|
+
/* int64 startedAt = 3; */
|
|
1035
|
+
if (message.startedAt !== 0n)
|
|
1036
|
+
writer.tag(3, WireType.Varint).int64(message.startedAt);
|
|
1037
|
+
let u = options.writeUnknownFields;
|
|
1038
|
+
if (u !== false)
|
|
1039
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1040
|
+
return writer;
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
/**
|
|
1044
|
+
* @generated MessageType for protobuf message eservice.v2.ArchivingScheduleV2
|
|
1045
|
+
*/
|
|
1046
|
+
export const ArchivingScheduleV2 = new ArchivingScheduleV2$Type();
|