@pagopa/interop-outbound-models 1.8.15 → 1.8.17
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/.github/workflows/release.yml +16 -3
- package/CHANGELOG.md +10 -0
- package/dist/eservice/eventsV2.d.ts +1 -127
- package/dist/eservice/eventsV2.d.ts.map +1 -1
- package/dist/eservice/eventsV2.js +1 -55
- package/dist/eservice/index.d.ts +0 -42
- package/dist/eservice/index.d.ts.map +1 -1
- package/dist/gen/v2/eservice/eservice.d.ts +1 -53
- package/dist/gen/v2/eservice/eservice.d.ts.map +1 -1
- package/dist/gen/v2/eservice/eservice.js +2 -93
- package/dist/gen/v2/eservice/events.d.ts +0 -126
- package/dist/gen/v2/eservice/events.d.ts.map +1 -1
- package/dist/gen/v2/eservice/events.js +0 -300
- package/package.json +1 -1
- package/proto/v2/eservice/eservice.proto +0 -14
- package/proto/v2/eservice/events.proto +0 -27
- package/src/eservice/eventsV2.ts +0 -72
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
name: Publish
|
|
2
2
|
on:
|
|
3
3
|
push:
|
|
4
|
-
|
|
5
|
-
-
|
|
6
|
-
- "release/*"
|
|
4
|
+
tags:
|
|
5
|
+
- "*"
|
|
7
6
|
jobs:
|
|
8
7
|
build:
|
|
9
8
|
environment: npm
|
|
@@ -13,6 +12,20 @@ jobs:
|
|
|
13
12
|
id-token: write
|
|
14
13
|
steps:
|
|
15
14
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
|
15
|
+
|
|
16
|
+
- name: Verify tag matches package.json version
|
|
17
|
+
id: verify-tag-matches-package-version
|
|
18
|
+
shell: bash
|
|
19
|
+
run: |
|
|
20
|
+
set -euo pipefail
|
|
21
|
+
|
|
22
|
+
TAG="${GITHUB_REF_NAME}"
|
|
23
|
+
PACKAGE_VERSION=$(jq -r '.version' ./package.json)
|
|
24
|
+
if [ "$TAG" != "$PACKAGE_VERSION" ]; then
|
|
25
|
+
echo "Tag '$TAG' does not match package.json version '$PACKAGE_VERSION'"
|
|
26
|
+
exit 1
|
|
27
|
+
fi
|
|
28
|
+
|
|
16
29
|
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
|
|
17
30
|
with:
|
|
18
31
|
node-version: '20.x'
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 1.8.17
|
|
6
|
+
|
|
7
|
+
### Restore
|
|
8
|
+
- Revert recent changes to ensure stability
|
|
9
|
+
|
|
10
|
+
## 1.8.16
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- Added `startedAt` property to `ArchivingScheduleV2`
|
|
14
|
+
|
|
5
15
|
## 1.8.15
|
|
6
16
|
|
|
7
17
|
### Added
|
|
@@ -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,
|
|
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 } 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>;
|
|
@@ -883,132 +883,6 @@ export declare const EServiceEventV2: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
883
883
|
stream_id: string;
|
|
884
884
|
timestamp: Date;
|
|
885
885
|
data?: any;
|
|
886
|
-
}>, z.ZodObject<{
|
|
887
|
-
event_version: z.ZodLiteral<2>;
|
|
888
|
-
type: z.ZodLiteral<"EServiceDescriptorArchivingScheduled">;
|
|
889
|
-
data: z.ZodEffects<z.ZodAny, EServiceDescriptorArchivingScheduledV2, any>;
|
|
890
|
-
stream_id: z.ZodString;
|
|
891
|
-
version: z.ZodNumber;
|
|
892
|
-
timestamp: z.ZodDate;
|
|
893
|
-
}, "strip", z.ZodTypeAny, {
|
|
894
|
-
event_version: 2;
|
|
895
|
-
type: "EServiceDescriptorArchivingScheduled";
|
|
896
|
-
version: number;
|
|
897
|
-
data: EServiceDescriptorArchivingScheduledV2;
|
|
898
|
-
stream_id: string;
|
|
899
|
-
timestamp: Date;
|
|
900
|
-
}, {
|
|
901
|
-
event_version: 2;
|
|
902
|
-
type: "EServiceDescriptorArchivingScheduled";
|
|
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<"EServiceDescriptorArchivingCanceled">;
|
|
910
|
-
data: z.ZodEffects<z.ZodAny, EServiceDescriptorArchivingCanceledV2, any>;
|
|
911
|
-
stream_id: z.ZodString;
|
|
912
|
-
version: z.ZodNumber;
|
|
913
|
-
timestamp: z.ZodDate;
|
|
914
|
-
}, "strip", z.ZodTypeAny, {
|
|
915
|
-
event_version: 2;
|
|
916
|
-
type: "EServiceDescriptorArchivingCanceled";
|
|
917
|
-
version: number;
|
|
918
|
-
data: EServiceDescriptorArchivingCanceledV2;
|
|
919
|
-
stream_id: string;
|
|
920
|
-
timestamp: Date;
|
|
921
|
-
}, {
|
|
922
|
-
event_version: 2;
|
|
923
|
-
type: "EServiceDescriptorArchivingCanceled";
|
|
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<"EServiceDescriptorArchivingCompleted">;
|
|
931
|
-
data: z.ZodEffects<z.ZodAny, EServiceDescriptorArchivingCompletedV2, any>;
|
|
932
|
-
stream_id: z.ZodString;
|
|
933
|
-
version: z.ZodNumber;
|
|
934
|
-
timestamp: z.ZodDate;
|
|
935
|
-
}, "strip", z.ZodTypeAny, {
|
|
936
|
-
event_version: 2;
|
|
937
|
-
type: "EServiceDescriptorArchivingCompleted";
|
|
938
|
-
version: number;
|
|
939
|
-
data: EServiceDescriptorArchivingCompletedV2;
|
|
940
|
-
stream_id: string;
|
|
941
|
-
timestamp: Date;
|
|
942
|
-
}, {
|
|
943
|
-
event_version: 2;
|
|
944
|
-
type: "EServiceDescriptorArchivingCompleted";
|
|
945
|
-
version: number;
|
|
946
|
-
stream_id: string;
|
|
947
|
-
timestamp: Date;
|
|
948
|
-
data?: any;
|
|
949
|
-
}>, z.ZodObject<{
|
|
950
|
-
event_version: z.ZodLiteral<2>;
|
|
951
|
-
type: z.ZodLiteral<"EServiceArchivingScheduled">;
|
|
952
|
-
data: z.ZodEffects<z.ZodAny, EServiceArchivingScheduledV2, any>;
|
|
953
|
-
stream_id: z.ZodString;
|
|
954
|
-
version: z.ZodNumber;
|
|
955
|
-
timestamp: z.ZodDate;
|
|
956
|
-
}, "strip", z.ZodTypeAny, {
|
|
957
|
-
event_version: 2;
|
|
958
|
-
type: "EServiceArchivingScheduled";
|
|
959
|
-
version: number;
|
|
960
|
-
data: EServiceArchivingScheduledV2;
|
|
961
|
-
stream_id: string;
|
|
962
|
-
timestamp: Date;
|
|
963
|
-
}, {
|
|
964
|
-
event_version: 2;
|
|
965
|
-
type: "EServiceArchivingScheduled";
|
|
966
|
-
version: number;
|
|
967
|
-
stream_id: string;
|
|
968
|
-
timestamp: Date;
|
|
969
|
-
data?: any;
|
|
970
|
-
}>, z.ZodObject<{
|
|
971
|
-
event_version: z.ZodLiteral<2>;
|
|
972
|
-
type: z.ZodLiteral<"EServiceArchivingCanceled">;
|
|
973
|
-
data: z.ZodEffects<z.ZodAny, EServiceArchivingCanceledV2, any>;
|
|
974
|
-
stream_id: z.ZodString;
|
|
975
|
-
version: z.ZodNumber;
|
|
976
|
-
timestamp: z.ZodDate;
|
|
977
|
-
}, "strip", z.ZodTypeAny, {
|
|
978
|
-
event_version: 2;
|
|
979
|
-
type: "EServiceArchivingCanceled";
|
|
980
|
-
version: number;
|
|
981
|
-
data: EServiceArchivingCanceledV2;
|
|
982
|
-
stream_id: string;
|
|
983
|
-
timestamp: Date;
|
|
984
|
-
}, {
|
|
985
|
-
event_version: 2;
|
|
986
|
-
type: "EServiceArchivingCanceled";
|
|
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<"EServiceArchivingCompleted">;
|
|
994
|
-
data: z.ZodEffects<z.ZodAny, EServiceArchivingCompletedV2, any>;
|
|
995
|
-
stream_id: z.ZodString;
|
|
996
|
-
version: z.ZodNumber;
|
|
997
|
-
timestamp: z.ZodDate;
|
|
998
|
-
}, "strip", z.ZodTypeAny, {
|
|
999
|
-
event_version: 2;
|
|
1000
|
-
type: "EServiceArchivingCompleted";
|
|
1001
|
-
version: number;
|
|
1002
|
-
data: EServiceArchivingCompletedV2;
|
|
1003
|
-
stream_id: string;
|
|
1004
|
-
timestamp: Date;
|
|
1005
|
-
}, {
|
|
1006
|
-
event_version: 2;
|
|
1007
|
-
type: "EServiceArchivingCompleted";
|
|
1008
|
-
version: number;
|
|
1009
|
-
stream_id: string;
|
|
1010
|
-
timestamp: Date;
|
|
1011
|
-
data?: any;
|
|
1012
886
|
}>]>;
|
|
1013
887
|
export type EServiceEventV2 = z.infer<typeof EServiceEventV2>;
|
|
1014
888
|
//# sourceMappingURL=eventsV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventsV2.d.ts","sourceRoot":"","sources":["../../src/eservice/eventsV2.ts"],"names":[],"mappings":"AACA,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,mDAAm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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmV1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { match } from "ts-pattern";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
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, EServiceDescriptorDocumentAddedByTemplateUpdateV2, EServiceDescriptorDocumentUpdatedByTemplateUpdateV2, EServiceDescriptorDocumentDeletedByTemplateUpdateV2, EServiceNameUpdatedByTemplateUpdateV2, EServiceDescriptorAgreementApprovalPolicyUpdatedV2, EServiceSignalHubEnabledV2, EServiceSignalHubDisabledV2, EServicePersonalDataFlagUpdatedAfterPublicationV2, EServicePersonalDataFlagUpdatedByTemplateUpdateV2, EServiceInstanceLabelUpdatedV2,
|
|
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, EServiceDescriptorDocumentAddedByTemplateUpdateV2, EServiceDescriptorDocumentUpdatedByTemplateUpdateV2, EServiceDescriptorDocumentDeletedByTemplateUpdateV2, EServiceNameUpdatedByTemplateUpdateV2, EServiceDescriptorAgreementApprovalPolicyUpdatedV2, EServiceSignalHubEnabledV2, EServiceSignalHubDisabledV2, EServicePersonalDataFlagUpdatedAfterPublicationV2, EServicePersonalDataFlagUpdatedByTemplateUpdateV2, EServiceInstanceLabelUpdatedV2, MaintenanceEServicePersonalDataFlagResetV2, } from "../gen/v2/eservice/events.js";
|
|
5
5
|
export function eServiceEventToBinaryDataV2(event) {
|
|
6
6
|
return match(event)
|
|
7
7
|
.with({ type: "EServiceAdded" }, ({ data }) => EServiceAddedV2.toBinary(data))
|
|
@@ -46,12 +46,6 @@ export function eServiceEventToBinaryDataV2(event) {
|
|
|
46
46
|
.with({ type: "EServicePersonalDataFlagUpdatedByTemplateUpdate" }, ({ data }) => EServicePersonalDataFlagUpdatedByTemplateUpdateV2.toBinary(data))
|
|
47
47
|
.with({ type: "EServiceInstanceLabelUpdated" }, ({ data }) => EServiceInstanceLabelUpdatedV2.toBinary(data))
|
|
48
48
|
.with({ type: "MaintenanceEServicePersonalDataFlagReset" }, ({ data }) => MaintenanceEServicePersonalDataFlagResetV2.toBinary(data))
|
|
49
|
-
.with({ type: "EServiceDescriptorArchivingScheduled" }, ({ data }) => EServiceDescriptorArchivingScheduledV2.toBinary(data))
|
|
50
|
-
.with({ type: "EServiceDescriptorArchivingCanceled" }, ({ data }) => EServiceDescriptorArchivingCanceledV2.toBinary(data))
|
|
51
|
-
.with({ type: "EServiceDescriptorArchivingCompleted" }, ({ data }) => EServiceDescriptorArchivingCompletedV2.toBinary(data))
|
|
52
|
-
.with({ type: "EServiceArchivingScheduled" }, ({ data }) => EServiceArchivingScheduledV2.toBinary(data))
|
|
53
|
-
.with({ type: "EServiceArchivingCanceled" }, ({ data }) => EServiceArchivingCanceledV2.toBinary(data))
|
|
54
|
-
.with({ type: "EServiceArchivingCompleted" }, ({ data }) => EServiceArchivingCompletedV2.toBinary(data))
|
|
55
49
|
.exhaustive();
|
|
56
50
|
}
|
|
57
51
|
export const EServiceEventV2 = z.discriminatedUnion("type", [
|
|
@@ -391,52 +385,4 @@ export const EServiceEventV2 = z.discriminatedUnion("type", [
|
|
|
391
385
|
version: z.number(),
|
|
392
386
|
timestamp: z.coerce.date(),
|
|
393
387
|
}),
|
|
394
|
-
z.object({
|
|
395
|
-
event_version: z.literal(2),
|
|
396
|
-
type: z.literal("EServiceDescriptorArchivingScheduled"),
|
|
397
|
-
data: protobufDecoder(EServiceDescriptorArchivingScheduledV2),
|
|
398
|
-
stream_id: z.string(),
|
|
399
|
-
version: z.number(),
|
|
400
|
-
timestamp: z.coerce.date(),
|
|
401
|
-
}),
|
|
402
|
-
z.object({
|
|
403
|
-
event_version: z.literal(2),
|
|
404
|
-
type: z.literal("EServiceDescriptorArchivingCanceled"),
|
|
405
|
-
data: protobufDecoder(EServiceDescriptorArchivingCanceledV2),
|
|
406
|
-
stream_id: z.string(),
|
|
407
|
-
version: z.number(),
|
|
408
|
-
timestamp: z.coerce.date(),
|
|
409
|
-
}),
|
|
410
|
-
z.object({
|
|
411
|
-
event_version: z.literal(2),
|
|
412
|
-
type: z.literal("EServiceDescriptorArchivingCompleted"),
|
|
413
|
-
data: protobufDecoder(EServiceDescriptorArchivingCompletedV2),
|
|
414
|
-
stream_id: z.string(),
|
|
415
|
-
version: z.number(),
|
|
416
|
-
timestamp: z.coerce.date(),
|
|
417
|
-
}),
|
|
418
|
-
z.object({
|
|
419
|
-
event_version: z.literal(2),
|
|
420
|
-
type: z.literal("EServiceArchivingScheduled"),
|
|
421
|
-
data: protobufDecoder(EServiceArchivingScheduledV2),
|
|
422
|
-
stream_id: z.string(),
|
|
423
|
-
version: z.number(),
|
|
424
|
-
timestamp: z.coerce.date(),
|
|
425
|
-
}),
|
|
426
|
-
z.object({
|
|
427
|
-
event_version: z.literal(2),
|
|
428
|
-
type: z.literal("EServiceArchivingCanceled"),
|
|
429
|
-
data: protobufDecoder(EServiceArchivingCanceledV2),
|
|
430
|
-
stream_id: z.string(),
|
|
431
|
-
version: z.number(),
|
|
432
|
-
timestamp: z.coerce.date(),
|
|
433
|
-
}),
|
|
434
|
-
z.object({
|
|
435
|
-
event_version: z.literal(2),
|
|
436
|
-
type: z.literal("EServiceArchivingCompleted"),
|
|
437
|
-
data: protobufDecoder(EServiceArchivingCompletedV2),
|
|
438
|
-
stream_id: z.string(),
|
|
439
|
-
version: z.number(),
|
|
440
|
-
timestamp: z.coerce.date(),
|
|
441
|
-
}),
|
|
442
388
|
]);
|
package/dist/eservice/index.d.ts
CHANGED
|
@@ -386,48 +386,6 @@ export declare const EServiceEvent: z.ZodEffects<z.ZodDiscriminatedUnion<"event_
|
|
|
386
386
|
data: import("../index.js").MaintenanceEServicePersonalDataFlagResetV2;
|
|
387
387
|
stream_id: string;
|
|
388
388
|
timestamp: Date;
|
|
389
|
-
} | {
|
|
390
|
-
event_version: 2;
|
|
391
|
-
type: "EServiceDescriptorArchivingScheduled";
|
|
392
|
-
version: number;
|
|
393
|
-
data: import("../index.js").EServiceDescriptorArchivingScheduledV2;
|
|
394
|
-
stream_id: string;
|
|
395
|
-
timestamp: Date;
|
|
396
|
-
} | {
|
|
397
|
-
event_version: 2;
|
|
398
|
-
type: "EServiceDescriptorArchivingCanceled";
|
|
399
|
-
version: number;
|
|
400
|
-
data: import("../index.js").EServiceDescriptorArchivingCanceledV2;
|
|
401
|
-
stream_id: string;
|
|
402
|
-
timestamp: Date;
|
|
403
|
-
} | {
|
|
404
|
-
event_version: 2;
|
|
405
|
-
type: "EServiceDescriptorArchivingCompleted";
|
|
406
|
-
version: number;
|
|
407
|
-
data: import("../index.js").EServiceDescriptorArchivingCompletedV2;
|
|
408
|
-
stream_id: string;
|
|
409
|
-
timestamp: Date;
|
|
410
|
-
} | {
|
|
411
|
-
event_version: 2;
|
|
412
|
-
type: "EServiceArchivingScheduled";
|
|
413
|
-
version: number;
|
|
414
|
-
data: import("../index.js").EServiceArchivingScheduledV2;
|
|
415
|
-
stream_id: string;
|
|
416
|
-
timestamp: Date;
|
|
417
|
-
} | {
|
|
418
|
-
event_version: 2;
|
|
419
|
-
type: "EServiceArchivingCanceled";
|
|
420
|
-
version: number;
|
|
421
|
-
data: import("../index.js").EServiceArchivingCanceledV2;
|
|
422
|
-
stream_id: string;
|
|
423
|
-
timestamp: Date;
|
|
424
|
-
} | {
|
|
425
|
-
event_version: 2;
|
|
426
|
-
type: "EServiceArchivingCompleted";
|
|
427
|
-
version: number;
|
|
428
|
-
data: import("../index.js").EServiceArchivingCompletedV2;
|
|
429
|
-
stream_id: string;
|
|
430
|
-
timestamp: Date;
|
|
431
389
|
}, z.objectInputType<{
|
|
432
390
|
event_version: z.ZodLiteral<1>;
|
|
433
391
|
}, 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"}
|
|
@@ -64,10 +64,6 @@ 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 string archivingReason = 16;
|
|
69
|
-
*/
|
|
70
|
-
archivingReason?: string;
|
|
71
67
|
}
|
|
72
68
|
/**
|
|
73
69
|
* @generated from protobuf message eservice.v2.EServiceAttributeValueV2
|
|
@@ -209,10 +205,6 @@ export interface EServiceDescriptorV2 {
|
|
|
209
205
|
* @generated from protobuf field: optional eservice.v2.EServiceTemplateVersionRefV2 templateVersionRef = 20;
|
|
210
206
|
*/
|
|
211
207
|
templateVersionRef?: EServiceTemplateVersionRefV2;
|
|
212
|
-
/**
|
|
213
|
-
* @generated from protobuf field: optional eservice.v2.ArchivingScheduleV2 archivingSchedule = 21;
|
|
214
|
-
*/
|
|
215
|
-
archivingSchedule?: ArchivingScheduleV2;
|
|
216
208
|
}
|
|
217
209
|
/**
|
|
218
210
|
* @generated from protobuf message eservice.v2.TemplateInstanceInterfaceMetadataV2
|
|
@@ -277,19 +269,6 @@ export interface EServiceDocumentV2 {
|
|
|
277
269
|
*/
|
|
278
270
|
prettyName: string;
|
|
279
271
|
}
|
|
280
|
-
/**
|
|
281
|
-
* @generated from protobuf message eservice.v2.ArchivingScheduleV2
|
|
282
|
-
*/
|
|
283
|
-
export interface ArchivingScheduleV2 {
|
|
284
|
-
/**
|
|
285
|
-
* @generated from protobuf field: int64 archivableOn = 1;
|
|
286
|
-
*/
|
|
287
|
-
archivableOn: bigint;
|
|
288
|
-
/**
|
|
289
|
-
* @generated from protobuf field: eservice.v2.ArchivingScopeV2 scope = 2;
|
|
290
|
-
*/
|
|
291
|
-
scope: ArchivingScopeV2;
|
|
292
|
-
}
|
|
293
272
|
/**
|
|
294
273
|
* @generated from protobuf enum eservice.v2.EServiceDescriptorStateV2
|
|
295
274
|
*/
|
|
@@ -317,15 +296,7 @@ export declare enum EServiceDescriptorStateV2 {
|
|
|
317
296
|
/**
|
|
318
297
|
* @generated from protobuf enum value: WAITING_FOR_APPROVAL = 5;
|
|
319
298
|
*/
|
|
320
|
-
WAITING_FOR_APPROVAL = 5
|
|
321
|
-
/**
|
|
322
|
-
* @generated from protobuf enum value: ARCHIVING = 6;
|
|
323
|
-
*/
|
|
324
|
-
ARCHIVING = 6,
|
|
325
|
-
/**
|
|
326
|
-
* @generated from protobuf enum value: ARCHIVING_SUSPENDED = 7;
|
|
327
|
-
*/
|
|
328
|
-
ARCHIVING_SUSPENDED = 7
|
|
299
|
+
WAITING_FOR_APPROVAL = 5
|
|
329
300
|
}
|
|
330
301
|
/**
|
|
331
302
|
* @generated from protobuf enum eservice.v2.EServiceTechnologyV2
|
|
@@ -366,19 +337,6 @@ export declare enum EServiceModeV2 {
|
|
|
366
337
|
*/
|
|
367
338
|
DELIVER = 1
|
|
368
339
|
}
|
|
369
|
-
/**
|
|
370
|
-
* @generated from protobuf enum eservice.v2.ArchivingScopeV2
|
|
371
|
-
*/
|
|
372
|
-
export declare enum ArchivingScopeV2 {
|
|
373
|
-
/**
|
|
374
|
-
* @generated from protobuf enum value: ESERVICE = 0;
|
|
375
|
-
*/
|
|
376
|
-
ESERVICE = 0,
|
|
377
|
-
/**
|
|
378
|
-
* @generated from protobuf enum value: DESCRIPTOR = 1;
|
|
379
|
-
*/
|
|
380
|
-
DESCRIPTOR = 1
|
|
381
|
-
}
|
|
382
340
|
declare class EServiceV2$Type extends MessageType<EServiceV2> {
|
|
383
341
|
constructor();
|
|
384
342
|
create(value?: PartialMessage<EServiceV2>): EServiceV2;
|
|
@@ -469,15 +427,5 @@ declare class EServiceDocumentV2$Type extends MessageType<EServiceDocumentV2> {
|
|
|
469
427
|
* @generated MessageType for protobuf message eservice.v2.EServiceDocumentV2
|
|
470
428
|
*/
|
|
471
429
|
export declare const EServiceDocumentV2: EServiceDocumentV2$Type;
|
|
472
|
-
declare class ArchivingScheduleV2$Type extends MessageType<ArchivingScheduleV2> {
|
|
473
|
-
constructor();
|
|
474
|
-
create(value?: PartialMessage<ArchivingScheduleV2>): ArchivingScheduleV2;
|
|
475
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ArchivingScheduleV2): ArchivingScheduleV2;
|
|
476
|
-
internalBinaryWrite(message: ArchivingScheduleV2, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
477
|
-
}
|
|
478
|
-
/**
|
|
479
|
-
* @generated MessageType for protobuf message eservice.v2.ArchivingScheduleV2
|
|
480
|
-
*/
|
|
481
|
-
export declare const ArchivingScheduleV2: ArchivingScheduleV2$Type;
|
|
482
430
|
export {};
|
|
483
431
|
//# 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,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD;;GAEG;AACH,MAAM,WAAW,UAAU;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,oBAAoB,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,oBAAoB,EAAE,CAAC;IACpC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,EAAE,cAAc,CAAC;IACrB;;OAEG;IACH,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,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,4BAA4B,GAAG,4BAA4B;IAsB1J,mBAAmB,CAAC,OAAO,EAAE,4BAA4B,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAYhI;AACD;;GAEG;AACH,eAAO,MAAM,4BAA4B,mCAA0C,CAAC;AAEpF,cAAM,uBAAwB,SAAQ,WAAW,CAAC,kBAAkB,CAAC;;IAWjE,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,kBAAkB,CAAC,GAAG,kBAAkB;IAYtE,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,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"}
|
|
@@ -31,14 +31,6 @@ 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";
|
|
42
34
|
})(EServiceDescriptorStateV2 || (EServiceDescriptorStateV2 = {}));
|
|
43
35
|
/**
|
|
44
36
|
* @generated from protobuf enum eservice.v2.EServiceTechnologyV2
|
|
@@ -82,20 +74,6 @@ export var EServiceModeV2;
|
|
|
82
74
|
*/
|
|
83
75
|
EServiceModeV2[EServiceModeV2["DELIVER"] = 1] = "DELIVER";
|
|
84
76
|
})(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 = {}));
|
|
99
77
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
100
78
|
class EServiceV2$Type extends MessageType {
|
|
101
79
|
constructor() {
|
|
@@ -113,8 +91,7 @@ class EServiceV2$Type extends MessageType {
|
|
|
113
91
|
{ no: 11, name: "isClientAccessDelegable", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
114
92
|
{ no: 13, name: "templateId", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
115
93
|
{ no: 14, name: "personalData", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
116
|
-
{ no: 15, name: "instanceLabel", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
117
|
-
{ no: 16, name: "archivingReason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
94
|
+
{ no: 15, name: "instanceLabel", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
118
95
|
]);
|
|
119
96
|
}
|
|
120
97
|
create(value) {
|
|
@@ -178,9 +155,6 @@ class EServiceV2$Type extends MessageType {
|
|
|
178
155
|
case /* optional string instanceLabel */ 15:
|
|
179
156
|
message.instanceLabel = reader.string();
|
|
180
157
|
break;
|
|
181
|
-
case /* optional string archivingReason */ 16:
|
|
182
|
-
message.archivingReason = reader.string();
|
|
183
|
-
break;
|
|
184
158
|
default:
|
|
185
159
|
let u = options.readUnknownField;
|
|
186
160
|
if (u === "throw")
|
|
@@ -235,9 +209,6 @@ class EServiceV2$Type extends MessageType {
|
|
|
235
209
|
/* optional string instanceLabel = 15; */
|
|
236
210
|
if (message.instanceLabel !== undefined)
|
|
237
211
|
writer.tag(15, WireType.LengthDelimited).string(message.instanceLabel);
|
|
238
|
-
/* optional string archivingReason = 16; */
|
|
239
|
-
if (message.archivingReason !== undefined)
|
|
240
|
-
writer.tag(16, WireType.LengthDelimited).string(message.archivingReason);
|
|
241
212
|
let u = options.writeUnknownFields;
|
|
242
213
|
if (u !== false)
|
|
243
214
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -498,8 +469,7 @@ class EServiceDescriptorV2$Type extends MessageType {
|
|
|
498
469
|
{ no: 17, name: "archivedAt", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
499
470
|
{ no: 18, name: "attributes", kind: "message", T: () => EServiceAttributesV2 },
|
|
500
471
|
{ no: 19, name: "rejectionReasons", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => DescriptorRejectionReasonV2 },
|
|
501
|
-
{ no: 20, name: "templateVersionRef", kind: "message", T: () => EServiceTemplateVersionRefV2 }
|
|
502
|
-
{ no: 21, name: "archivingSchedule", kind: "message", T: () => ArchivingScheduleV2 }
|
|
472
|
+
{ no: 20, name: "templateVersionRef", kind: "message", T: () => EServiceTemplateVersionRefV2 }
|
|
503
473
|
]);
|
|
504
474
|
}
|
|
505
475
|
create(value) {
|
|
@@ -585,9 +555,6 @@ class EServiceDescriptorV2$Type extends MessageType {
|
|
|
585
555
|
case /* optional eservice.v2.EServiceTemplateVersionRefV2 templateVersionRef */ 20:
|
|
586
556
|
message.templateVersionRef = EServiceTemplateVersionRefV2.internalBinaryRead(reader, reader.uint32(), options, message.templateVersionRef);
|
|
587
557
|
break;
|
|
588
|
-
case /* optional eservice.v2.ArchivingScheduleV2 archivingSchedule */ 21:
|
|
589
|
-
message.archivingSchedule = ArchivingScheduleV2.internalBinaryRead(reader, reader.uint32(), options, message.archivingSchedule);
|
|
590
|
-
break;
|
|
591
558
|
default:
|
|
592
559
|
let u = options.readUnknownField;
|
|
593
560
|
if (u === "throw")
|
|
@@ -660,9 +627,6 @@ class EServiceDescriptorV2$Type extends MessageType {
|
|
|
660
627
|
/* optional eservice.v2.EServiceTemplateVersionRefV2 templateVersionRef = 20; */
|
|
661
628
|
if (message.templateVersionRef)
|
|
662
629
|
EServiceTemplateVersionRefV2.internalBinaryWrite(message.templateVersionRef, writer.tag(20, WireType.LengthDelimited).fork(), options).join();
|
|
663
|
-
/* optional eservice.v2.ArchivingScheduleV2 archivingSchedule = 21; */
|
|
664
|
-
if (message.archivingSchedule)
|
|
665
|
-
ArchivingScheduleV2.internalBinaryWrite(message.archivingSchedule, writer.tag(21, WireType.LengthDelimited).fork(), options).join();
|
|
666
630
|
let u = options.writeUnknownFields;
|
|
667
631
|
if (u !== false)
|
|
668
632
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -881,58 +845,3 @@ class EServiceDocumentV2$Type extends MessageType {
|
|
|
881
845
|
* @generated MessageType for protobuf message eservice.v2.EServiceDocumentV2
|
|
882
846
|
*/
|
|
883
847
|
export const EServiceDocumentV2 = new EServiceDocumentV2$Type();
|
|
884
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
885
|
-
class ArchivingScheduleV2$Type extends MessageType {
|
|
886
|
-
constructor() {
|
|
887
|
-
super("eservice.v2.ArchivingScheduleV2", [
|
|
888
|
-
{ no: 1, name: "archivableOn", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
889
|
-
{ no: 2, name: "scope", kind: "enum", T: () => ["eservice.v2.ArchivingScopeV2", ArchivingScopeV2] }
|
|
890
|
-
]);
|
|
891
|
-
}
|
|
892
|
-
create(value) {
|
|
893
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
894
|
-
message.archivableOn = 0n;
|
|
895
|
-
message.scope = 0;
|
|
896
|
-
if (value !== undefined)
|
|
897
|
-
reflectionMergePartial(this, message, value);
|
|
898
|
-
return message;
|
|
899
|
-
}
|
|
900
|
-
internalBinaryRead(reader, length, options, target) {
|
|
901
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
902
|
-
while (reader.pos < end) {
|
|
903
|
-
let [fieldNo, wireType] = reader.tag();
|
|
904
|
-
switch (fieldNo) {
|
|
905
|
-
case /* int64 archivableOn */ 1:
|
|
906
|
-
message.archivableOn = reader.int64().toBigInt();
|
|
907
|
-
break;
|
|
908
|
-
case /* eservice.v2.ArchivingScopeV2 scope */ 2:
|
|
909
|
-
message.scope = reader.int32();
|
|
910
|
-
break;
|
|
911
|
-
default:
|
|
912
|
-
let u = options.readUnknownField;
|
|
913
|
-
if (u === "throw")
|
|
914
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
915
|
-
let d = reader.skip(wireType);
|
|
916
|
-
if (u !== false)
|
|
917
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
918
|
-
}
|
|
919
|
-
}
|
|
920
|
-
return message;
|
|
921
|
-
}
|
|
922
|
-
internalBinaryWrite(message, writer, options) {
|
|
923
|
-
/* int64 archivableOn = 1; */
|
|
924
|
-
if (message.archivableOn !== 0n)
|
|
925
|
-
writer.tag(1, WireType.Varint).int64(message.archivableOn);
|
|
926
|
-
/* eservice.v2.ArchivingScopeV2 scope = 2; */
|
|
927
|
-
if (message.scope !== 0)
|
|
928
|
-
writer.tag(2, WireType.Varint).int32(message.scope);
|
|
929
|
-
let u = options.writeUnknownFields;
|
|
930
|
-
if (u !== false)
|
|
931
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
932
|
-
return writer;
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
/**
|
|
936
|
-
* @generated MessageType for protobuf message eservice.v2.ArchivingScheduleV2
|
|
937
|
-
*/
|
|
938
|
-
export const ArchivingScheduleV2 = new ArchivingScheduleV2$Type();
|