@pagopa/interop-outbound-models 1.4.1 → 1.5.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.
Files changed (40) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist/eservice/eventsV2.d.ts +127 -1
  3. package/dist/eservice/eventsV2.d.ts.map +1 -1
  4. package/dist/eservice/eventsV2.js +55 -1
  5. package/dist/eservice/index.d.ts +42 -0
  6. package/dist/eservice/index.d.ts.map +1 -1
  7. package/dist/eservice-template/eventsV2.d.ts +426 -0
  8. package/dist/eservice-template/eventsV2.d.ts.map +1 -0
  9. package/dist/eservice-template/eventsV2.js +190 -0
  10. package/dist/eservice-template/index.d.ts +165 -0
  11. package/dist/eservice-template/index.d.ts.map +1 -0
  12. package/dist/eservice-template/index.js +36 -0
  13. package/dist/gen/v2/delegation/delegation.d.ts +4 -16
  14. package/dist/gen/v2/delegation/delegation.d.ts.map +1 -1
  15. package/dist/gen/v2/delegation/delegation.js +8 -30
  16. package/dist/gen/v2/eservice/eservice.d.ts +89 -0
  17. package/dist/gen/v2/eservice/eservice.d.ts.map +1 -1
  18. package/dist/gen/v2/eservice/eservice.js +203 -2
  19. package/dist/gen/v2/eservice/events.d.ts +169 -0
  20. package/dist/gen/v2/eservice/events.d.ts.map +1 -1
  21. package/dist/gen/v2/eservice/events.js +394 -0
  22. package/dist/gen/v2/eservice-template/eservice-template.d.ts +164 -0
  23. package/dist/gen/v2/eservice-template/eservice-template.d.ts.map +1 -0
  24. package/dist/gen/v2/eservice-template/eservice-template.js +299 -0
  25. package/dist/gen/v2/eservice-template/events.d.ts +473 -0
  26. package/dist/gen/v2/eservice-template/events.d.ts.map +1 -0
  27. package/dist/gen/v2/eservice-template/events.js +1093 -0
  28. package/dist/index.d.ts +4 -1
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +4 -1
  31. package/package.json +1 -1
  32. package/proto/v2/delegation/delegation.proto +2 -4
  33. package/proto/v2/eservice/eservice.proto +21 -0
  34. package/proto/v2/eservice/events.proto +38 -0
  35. package/proto/v2/eservice-template/eservice-template.proto +43 -0
  36. package/proto/v2/eservice-template/events.proto +106 -0
  37. package/src/eservice/eventsV2.ts +84 -0
  38. package/src/eservice-template/eventsV2.ts +257 -0
  39. package/src/eservice-template/index.ts +53 -0
  40. package/src/index.ts +4 -1
@@ -0,0 +1,165 @@
1
+ import { z } from "zod";
2
+ import { EServiceTemplateEventV2 } from "./eventsV2.js";
3
+ export declare function encodeOutboundEServiceTemplateEvent(event: EServiceTemplateEvent): string;
4
+ export declare function decodeOutboundEServiceTemplateEvent(encodedEvent: string): EServiceTemplateEvent;
5
+ export declare const EServiceTemplateEvent: z.ZodEffects<z.ZodDiscriminatedUnion<"event_version", [z.ZodObject<{
6
+ event_version: z.ZodLiteral<1>;
7
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8
+ event_version: z.ZodLiteral<1>;
9
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10
+ event_version: z.ZodLiteral<1>;
11
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
12
+ event_version: z.ZodLiteral<2>;
13
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
14
+ event_version: z.ZodLiteral<2>;
15
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
16
+ event_version: z.ZodLiteral<2>;
17
+ }, z.ZodTypeAny, "passthrough">>]>, {
18
+ event_version: 2;
19
+ type: "EServiceTemplateVersionActivated";
20
+ version: number;
21
+ data: import("../index.js").EServiceTemplateVersionActivatedV2;
22
+ stream_id: string;
23
+ timestamp: Date;
24
+ } | {
25
+ event_version: 2;
26
+ type: "EServiceTemplateAdded";
27
+ version: number;
28
+ data: import("../index.js").EServiceTemplateAddedV2;
29
+ stream_id: string;
30
+ timestamp: Date;
31
+ } | {
32
+ event_version: 2;
33
+ type: "EServiceTemplateIntendedTargetUpdated";
34
+ version: number;
35
+ data: import("../index.js").EServiceTemplateIntendedTargetUpdatedV2;
36
+ stream_id: string;
37
+ timestamp: Date;
38
+ } | {
39
+ event_version: 2;
40
+ type: "EServiceTemplateDescriptionUpdated";
41
+ version: number;
42
+ data: import("../index.js").EServiceTemplateDescriptionUpdatedV2;
43
+ stream_id: string;
44
+ timestamp: Date;
45
+ } | {
46
+ event_version: 2;
47
+ type: "EServiceTemplateDeleted";
48
+ version: number;
49
+ data: import("../index.js").EServiceTemplateDeletedV2;
50
+ stream_id: string;
51
+ timestamp: Date;
52
+ } | {
53
+ event_version: 2;
54
+ type: "EServiceTemplateDraftVersionDeleted";
55
+ version: number;
56
+ data: import("../index.js").EServiceTemplateDraftVersionDeletedV2;
57
+ stream_id: string;
58
+ timestamp: Date;
59
+ } | {
60
+ event_version: 2;
61
+ type: "EServiceTemplateDraftVersionUpdated";
62
+ version: number;
63
+ data: import("../index.js").EServiceTemplateDraftVersionUpdatedV2;
64
+ stream_id: string;
65
+ timestamp: Date;
66
+ } | {
67
+ event_version: 2;
68
+ type: "EServiceTemplateDraftUpdated";
69
+ version: number;
70
+ data: import("../index.js").EServiceTemplateDraftUpdatedV2;
71
+ stream_id: string;
72
+ timestamp: Date;
73
+ } | {
74
+ event_version: 2;
75
+ type: "EServiceTemplateNameUpdated";
76
+ version: number;
77
+ data: import("../index.js").EServiceTemplateNameUpdatedV2;
78
+ stream_id: string;
79
+ timestamp: Date;
80
+ } | {
81
+ event_version: 2;
82
+ type: "EServiceTemplateVersionSuspended";
83
+ version: number;
84
+ data: import("../index.js").EServiceTemplateVersionSuspendedV2;
85
+ stream_id: string;
86
+ timestamp: Date;
87
+ } | {
88
+ event_version: 2;
89
+ type: "EServiceTemplateVersionAdded";
90
+ version: number;
91
+ data: import("../index.js").EServiceTemplateVersionAddedV2;
92
+ stream_id: string;
93
+ timestamp: Date;
94
+ } | {
95
+ event_version: 2;
96
+ type: "EServiceTemplateVersionAttributesUpdated";
97
+ version: number;
98
+ data: import("../index.js").EServiceTemplateVersionAttributesUpdatedV2;
99
+ stream_id: string;
100
+ timestamp: Date;
101
+ } | {
102
+ event_version: 2;
103
+ type: "EServiceTemplateVersionDocumentAdded";
104
+ version: number;
105
+ data: import("../index.js").EServiceTemplateVersionDocumentAddedV2;
106
+ stream_id: string;
107
+ timestamp: Date;
108
+ } | {
109
+ event_version: 2;
110
+ type: "EServiceTemplateVersionDocumentDeleted";
111
+ version: number;
112
+ data: import("../index.js").EServiceTemplateVersionDocumentDeletedV2;
113
+ stream_id: string;
114
+ timestamp: Date;
115
+ } | {
116
+ event_version: 2;
117
+ type: "EServiceTemplateVersionDocumentUpdated";
118
+ version: number;
119
+ data: import("../index.js").EServiceTemplateVersionDocumentUpdatedV2;
120
+ stream_id: string;
121
+ timestamp: Date;
122
+ } | {
123
+ event_version: 2;
124
+ type: "EServiceTemplateVersionInterfaceAdded";
125
+ version: number;
126
+ data: import("../index.js").EServiceTemplateVersionInterfaceAddedV2;
127
+ stream_id: string;
128
+ timestamp: Date;
129
+ } | {
130
+ event_version: 2;
131
+ type: "EServiceTemplateVersionInterfaceDeleted";
132
+ version: number;
133
+ data: import("../index.js").EServiceTemplateVersionInterfaceDeletedV2;
134
+ stream_id: string;
135
+ timestamp: Date;
136
+ } | {
137
+ event_version: 2;
138
+ type: "EServiceTemplateVersionInterfaceUpdated";
139
+ version: number;
140
+ data: import("../index.js").EServiceTemplateVersionInterfaceUpdatedV2;
141
+ stream_id: string;
142
+ timestamp: Date;
143
+ } | {
144
+ event_version: 2;
145
+ type: "EServiceTemplateVersionPublished";
146
+ version: number;
147
+ data: import("../index.js").EServiceTemplateVersionPublishedV2;
148
+ stream_id: string;
149
+ timestamp: Date;
150
+ } | {
151
+ event_version: 2;
152
+ type: "EServiceTemplateVersionQuotasUpdated";
153
+ version: number;
154
+ data: import("../index.js").EServiceTemplateVersionQuotasUpdatedV2;
155
+ stream_id: string;
156
+ timestamp: Date;
157
+ }, z.objectInputType<{
158
+ event_version: z.ZodLiteral<1>;
159
+ }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
160
+ event_version: z.ZodLiteral<2>;
161
+ }, z.ZodTypeAny, "passthrough">>;
162
+ export type EServiceTemplateEventType = EServiceTemplateEvent["type"];
163
+ export type EServiceTemplateEvent = z.infer<typeof EServiceTemplateEvent>;
164
+ export { EServiceTemplateEventV2 };
165
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
@@ -0,0 +1,36 @@
1
+ import { match } from "ts-pattern";
2
+ import { z } from "zod";
3
+ import { VersionedEvent } from "../utils.js";
4
+ import { EServiceTemplateEventV2, eserviceTemplateEventToBinaryDataV2, } from "./eventsV2.js";
5
+ function eserviceTemplateEventToBinaryData(event) {
6
+ return match(event)
7
+ .with({ event_version: 2 }, eserviceTemplateEventToBinaryDataV2)
8
+ .exhaustive();
9
+ }
10
+ export function encodeOutboundEServiceTemplateEvent(event) {
11
+ return JSON.stringify({
12
+ event_version: event.event_version,
13
+ type: event.type,
14
+ data: Buffer.from(eserviceTemplateEventToBinaryData(event)).toString("hex"),
15
+ stream_id: event.stream_id,
16
+ version: event.version,
17
+ timestamp: event.timestamp,
18
+ });
19
+ }
20
+ export function decodeOutboundEServiceTemplateEvent(encodedEvent) {
21
+ return EServiceTemplateEvent.parse(JSON.parse(encodedEvent));
22
+ }
23
+ export const EServiceTemplateEvent = VersionedEvent.transform((obj, ctx) => {
24
+ const res = match(obj)
25
+ .with({ event_version: 1 }, () => {
26
+ throw new Error("Unsupported event version");
27
+ })
28
+ .with({ event_version: 2 }, () => EServiceTemplateEventV2.safeParse(obj))
29
+ .exhaustive();
30
+ if (!res.success) {
31
+ res.error.issues.forEach(ctx.addIssue);
32
+ return z.NEVER;
33
+ }
34
+ return res.data;
35
+ });
36
+ export { EServiceTemplateEventV2 };
@@ -28,26 +28,10 @@ export interface DelegationV2 {
28
28
  * @generated from protobuf field: int64 createdAt = 5;
29
29
  */
30
30
  createdAt: bigint;
31
- /**
32
- * @generated from protobuf field: int64 submittedAt = 6;
33
- */
34
- submittedAt: bigint;
35
- /**
36
- * @generated from protobuf field: optional int64 approvedAt = 7;
37
- */
38
- approvedAt?: bigint;
39
- /**
40
- * @generated from protobuf field: optional int64 rejectedAt = 8;
41
- */
42
- rejectedAt?: bigint;
43
31
  /**
44
32
  * @generated from protobuf field: optional string rejectionReason = 9;
45
33
  */
46
34
  rejectionReason?: string;
47
- /**
48
- * @generated from protobuf field: optional int64 revokedAt = 10;
49
- */
50
- revokedAt?: bigint;
51
35
  /**
52
36
  * @generated from protobuf field: delegation.v2.DelegationStateV2 state = 11;
53
37
  */
@@ -68,6 +52,10 @@ export interface DelegationV2 {
68
52
  * @generated from protobuf field: optional delegation.v2.DelegationContractDocumentV2 revocationContract = 15;
69
53
  */
70
54
  revocationContract?: DelegationContractDocumentV2;
55
+ /**
56
+ * @generated from protobuf field: optional int64 updatedAt = 16;
57
+ */
58
+ updatedAt?: bigint;
71
59
  }
72
60
  /**
73
61
  * @generated from protobuf message delegation.v2.DelegationContractDocumentV2
@@ -1 +1 @@
1
- {"version":3,"file":"delegation.d.ts","sourceRoot":"","sources":["../../../../src/gen/v2/delegation/delegation.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,YAAY;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,EAAE,iBAAiB,CAAC;IACzB;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;OAEG;IACH,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B;;OAEG;IACH,kBAAkB,CAAC,EAAE,4BAA4B,CAAC;IAClD;;OAEG;IACH,kBAAkB,CA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AAC,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAkBtH;AACD;;GAEG;AACH,eAAO,MAAM,kBAAkB,yBAAgC,CAAC"}
1
+ {"version":3,"file":"delegation.d.ts","sourceRoot":"","sources":["../../../../src/gen/v2/delegation/delegation.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,YAAY;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,KAAK,EAAE,iBAAiB,CAAC;IACzB;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;OAEG;IACH,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B;;OAEG;IACH,kBAAkB,CAAC,EAAE,4BAA4B,CAAC;IAClD;;OAEG;IACH,kBAAkB,CAAC,EAAE,4BAA4B,CAAC;IAClD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AACD;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC;;OAEG;IACH,EA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CAkBtH;AACD;;GAEG;AACH,eAAO,MAAM,kBAAkB,yBAAgC,CAAC"}
@@ -47,16 +47,13 @@ class DelegationV2$Type extends MessageType {
47
47
  { no: 3, name: "delegateId", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
48
48
  { no: 4, name: "eserviceId", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
49
49
  { no: 5, name: "createdAt", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
50
- { no: 6, name: "submittedAt", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
51
- { no: 7, name: "approvedAt", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
52
- { no: 8, name: "rejectedAt", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
53
50
  { no: 9, name: "rejectionReason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
54
- { no: 10, name: "revokedAt", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
55
51
  { no: 11, name: "state", kind: "enum", T: () => ["delegation.v2.DelegationStateV2", DelegationStateV2] },
56
52
  { no: 12, name: "kind", kind: "enum", T: () => ["delegation.v2.DelegationKindV2", DelegationKindV2] },
57
53
  { no: 13, name: "stamps", kind: "message", T: () => DelegationStampsV2 },
58
54
  { no: 14, name: "activationContract", kind: "message", T: () => DelegationContractDocumentV2 },
59
- { no: 15, name: "revocationContract", kind: "message", T: () => DelegationContractDocumentV2 }
55
+ { no: 15, name: "revocationContract", kind: "message", T: () => DelegationContractDocumentV2 },
56
+ { no: 16, name: "updatedAt", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
60
57
  ]);
61
58
  }
62
59
  create(value) {
@@ -66,7 +63,6 @@ class DelegationV2$Type extends MessageType {
66
63
  message.delegateId = "";
67
64
  message.eserviceId = "";
68
65
  message.createdAt = 0n;
69
- message.submittedAt = 0n;
70
66
  message.state = 0;
71
67
  message.kind = 0;
72
68
  if (value !== undefined)
@@ -93,21 +89,9 @@ class DelegationV2$Type extends MessageType {
93
89
  case /* int64 createdAt */ 5:
94
90
  message.createdAt = reader.int64().toBigInt();
95
91
  break;
96
- case /* int64 submittedAt */ 6:
97
- message.submittedAt = reader.int64().toBigInt();
98
- break;
99
- case /* optional int64 approvedAt */ 7:
100
- message.approvedAt = reader.int64().toBigInt();
101
- break;
102
- case /* optional int64 rejectedAt */ 8:
103
- message.rejectedAt = reader.int64().toBigInt();
104
- break;
105
92
  case /* optional string rejectionReason */ 9:
106
93
  message.rejectionReason = reader.string();
107
94
  break;
108
- case /* optional int64 revokedAt */ 10:
109
- message.revokedAt = reader.int64().toBigInt();
110
- break;
111
95
  case /* delegation.v2.DelegationStateV2 state */ 11:
112
96
  message.state = reader.int32();
113
97
  break;
@@ -123,6 +107,9 @@ class DelegationV2$Type extends MessageType {
123
107
  case /* optional delegation.v2.DelegationContractDocumentV2 revocationContract */ 15:
124
108
  message.revocationContract = DelegationContractDocumentV2.internalBinaryRead(reader, reader.uint32(), options, message.revocationContract);
125
109
  break;
110
+ case /* optional int64 updatedAt */ 16:
111
+ message.updatedAt = reader.int64().toBigInt();
112
+ break;
126
113
  default:
127
114
  let u = options.readUnknownField;
128
115
  if (u === "throw")
@@ -150,21 +137,9 @@ class DelegationV2$Type extends MessageType {
150
137
  /* int64 createdAt = 5; */
151
138
  if (message.createdAt !== 0n)
152
139
  writer.tag(5, WireType.Varint).int64(message.createdAt);
153
- /* int64 submittedAt = 6; */
154
- if (message.submittedAt !== 0n)
155
- writer.tag(6, WireType.Varint).int64(message.submittedAt);
156
- /* optional int64 approvedAt = 7; */
157
- if (message.approvedAt !== undefined)
158
- writer.tag(7, WireType.Varint).int64(message.approvedAt);
159
- /* optional int64 rejectedAt = 8; */
160
- if (message.rejectedAt !== undefined)
161
- writer.tag(8, WireType.Varint).int64(message.rejectedAt);
162
140
  /* optional string rejectionReason = 9; */
163
141
  if (message.rejectionReason !== undefined)
164
142
  writer.tag(9, WireType.LengthDelimited).string(message.rejectionReason);
165
- /* optional int64 revokedAt = 10; */
166
- if (message.revokedAt !== undefined)
167
- writer.tag(10, WireType.Varint).int64(message.revokedAt);
168
143
  /* delegation.v2.DelegationStateV2 state = 11; */
169
144
  if (message.state !== 0)
170
145
  writer.tag(11, WireType.Varint).int32(message.state);
@@ -180,6 +155,9 @@ class DelegationV2$Type extends MessageType {
180
155
  /* optional delegation.v2.DelegationContractDocumentV2 revocationContract = 15; */
181
156
  if (message.revocationContract)
182
157
  DelegationContractDocumentV2.internalBinaryWrite(message.revocationContract, writer.tag(15, WireType.LengthDelimited).fork(), options).join();
158
+ /* optional int64 updatedAt = 16; */
159
+ if (message.updatedAt !== undefined)
160
+ writer.tag(16, WireType.Varint).int64(message.updatedAt);
183
161
  let u = options.writeUnknownFields;
184
162
  if (u !== false)
185
163
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -52,6 +52,23 @@ export interface EServiceV2 {
52
52
  * @generated from protobuf field: optional bool isClientAccessDelegable = 11;
53
53
  */
54
54
  isClientAccessDelegable?: boolean;
55
+ /**
56
+ * @generated from protobuf field: optional eservice.v2.EServiceTemplateRefV2 templateRef = 13;
57
+ */
58
+ templateRef?: EServiceTemplateRefV2;
59
+ }
60
+ /**
61
+ * @generated from protobuf message eservice.v2.EServiceTemplateRefV2
62
+ */
63
+ export interface EServiceTemplateRefV2 {
64
+ /**
65
+ * @generated from protobuf field: string id = 1;
66
+ */
67
+ id: string;
68
+ /**
69
+ * @generated from protobuf field: optional string instanceLabel = 2;
70
+ */
71
+ instanceLabel?: string;
55
72
  }
56
73
  /**
57
74
  * @generated from protobuf message eservice.v2.EServiceAttributeValueV2
@@ -185,6 +202,48 @@ export interface EServiceDescriptorV2 {
185
202
  * @generated from protobuf field: repeated eservice.v2.DescriptorRejectionReasonV2 rejectionReasons = 19;
186
203
  */
187
204
  rejectionReasons: DescriptorRejectionReasonV2[];
205
+ /**
206
+ * @generated from protobuf field: optional eservice.v2.EServiceTemplateVersionRefV2 templateVersionRef = 20;
207
+ */
208
+ templateVersionRef?: EServiceTemplateVersionRefV2;
209
+ }
210
+ /**
211
+ * @generated from protobuf message eservice.v2.TemplateInstanceInterfaceMetadataV2
212
+ */
213
+ export interface TemplateInstanceInterfaceMetadataV2 {
214
+ /**
215
+ * @generated from protobuf field: string contactName = 1;
216
+ */
217
+ contactName: string;
218
+ /**
219
+ * @generated from protobuf field: string contactEmail = 2;
220
+ */
221
+ contactEmail: string;
222
+ /**
223
+ * @generated from protobuf field: string contactUrl = 3;
224
+ */
225
+ contactUrl: string;
226
+ /**
227
+ * @generated from protobuf field: string termsAndConditionsUrl = 4;
228
+ */
229
+ termsAndConditionsUrl: string;
230
+ /**
231
+ * @generated from protobuf field: repeated string serverUrls = 5;
232
+ */
233
+ serverUrls: string[];
234
+ }
235
+ /**
236
+ * @generated from protobuf message eservice.v2.EServiceTemplateVersionRefV2
237
+ */
238
+ export interface EServiceTemplateVersionRefV2 {
239
+ /**
240
+ * @generated from protobuf field: string id = 1;
241
+ */
242
+ id: string;
243
+ /**
244
+ * @generated from protobuf field: optional eservice.v2.TemplateInstanceInterfaceMetadataV2 interfaceMetadata = 2;
245
+ */
246
+ interfaceMetadata?: TemplateInstanceInterfaceMetadataV2;
188
247
  }
189
248
  /**
190
249
  * @generated from protobuf message eservice.v2.EServiceDocumentV2
@@ -293,6 +352,16 @@ declare class EServiceV2$Type extends MessageType<EServiceV2> {
293
352
  * @generated MessageType for protobuf message eservice.v2.EServiceV2
294
353
  */
295
354
  export declare const EServiceV2: EServiceV2$Type;
355
+ declare class EServiceTemplateRefV2$Type extends MessageType<EServiceTemplateRefV2> {
356
+ constructor();
357
+ create(value?: PartialMessage<EServiceTemplateRefV2>): EServiceTemplateRefV2;
358
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EServiceTemplateRefV2): EServiceTemplateRefV2;
359
+ internalBinaryWrite(message: EServiceTemplateRefV2, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
360
+ }
361
+ /**
362
+ * @generated MessageType for protobuf message eservice.v2.EServiceTemplateRefV2
363
+ */
364
+ export declare const EServiceTemplateRefV2: EServiceTemplateRefV2$Type;
296
365
  declare class EServiceAttributeValueV2$Type extends MessageType<EServiceAttributeValueV2> {
297
366
  constructor();
298
367
  create(value?: PartialMessage<EServiceAttributeValueV2>): EServiceAttributeValueV2;
@@ -343,6 +412,26 @@ declare class EServiceDescriptorV2$Type extends MessageType<EServiceDescriptorV2
343
412
  * @generated MessageType for protobuf message eservice.v2.EServiceDescriptorV2
344
413
  */
345
414
  export declare const EServiceDescriptorV2: EServiceDescriptorV2$Type;
415
+ declare class TemplateInstanceInterfaceMetadataV2$Type extends MessageType<TemplateInstanceInterfaceMetadataV2> {
416
+ constructor();
417
+ create(value?: PartialMessage<TemplateInstanceInterfaceMetadataV2>): TemplateInstanceInterfaceMetadataV2;
418
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TemplateInstanceInterfaceMetadataV2): TemplateInstanceInterfaceMetadataV2;
419
+ internalBinaryWrite(message: TemplateInstanceInterfaceMetadataV2, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
420
+ }
421
+ /**
422
+ * @generated MessageType for protobuf message eservice.v2.TemplateInstanceInterfaceMetadataV2
423
+ */
424
+ export declare const TemplateInstanceInterfaceMetadataV2: TemplateInstanceInterfaceMetadataV2$Type;
425
+ declare class EServiceTemplateVersionRefV2$Type extends MessageType<EServiceTemplateVersionRefV2> {
426
+ constructor();
427
+ create(value?: PartialMessage<EServiceTemplateVersionRefV2>): EServiceTemplateVersionRefV2;
428
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EServiceTemplateVersionRefV2): EServiceTemplateVersionRefV2;
429
+ internalBinaryWrite(message: EServiceTemplateVersionRefV2, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
430
+ }
431
+ /**
432
+ * @generated MessageType for protobuf message eservice.v2.EServiceTemplateVersionRefV2
433
+ */
434
+ export declare const EServiceTemplateVersionRefV2: EServiceTemplateVersionRefV2$Type;
346
435
  declare class EServiceDocumentV2$Type extends MessageType<EServiceDocumentV2> {
347
436
  constructor();
348
437
  create(value?: PartialMessage<EServiceDocumentV2>): EServiceDocumentV2;
@@ -1 +1 @@
1
- {"version":3,"file":"eservice.d.ts","sourceRoot":"","sources":["../../../../src/gen/v2/eservice/eservice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD;;GAEG;AACH,MAAM,WAAW,UAAU;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,oBAAoB,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,oBAAoB,EAAE,CAAC;IACpC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,EAAE,cAAc,CAAC;IACrB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B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