@pagopa/interop-outbound-models 1.8.17 → 1.8.18-scambi.async.purpose.template.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 (43) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/eservice/eventsV2.d.ts +64 -1
  3. package/dist/eservice/eventsV2.d.ts.map +1 -1
  4. package/dist/eservice/eventsV2.js +29 -1
  5. package/dist/eservice/index.d.ts +21 -0
  6. package/dist/eservice/index.d.ts.map +1 -1
  7. package/dist/eservice-template/eventsV2.d.ts +64 -1
  8. package/dist/eservice-template/eventsV2.d.ts.map +1 -1
  9. package/dist/eservice-template/eventsV2.js +28 -1
  10. package/dist/eservice-template/index.d.ts +21 -0
  11. package/dist/eservice-template/index.d.ts.map +1 -1
  12. package/dist/gen/v2/eservice/eservice.d.ts +47 -0
  13. package/dist/gen/v2/eservice/eservice.d.ts.map +1 -1
  14. package/dist/gen/v2/eservice/eservice.js +102 -2
  15. package/dist/gen/v2/eservice/events.d.ts +81 -0
  16. package/dist/gen/v2/eservice/events.d.ts.map +1 -1
  17. package/dist/gen/v2/eservice/events.js +186 -0
  18. package/dist/gen/v2/eservice-template/eservice-template.d.ts +13 -0
  19. package/dist/gen/v2/eservice-template/eservice-template.d.ts.map +1 -1
  20. package/dist/gen/v2/eservice-template/eservice-template.js +24 -2
  21. package/dist/gen/v2/eservice-template/events.d.ts +81 -0
  22. package/dist/gen/v2/eservice-template/events.d.ts.map +1 -1
  23. package/dist/gen/v2/eservice-template/events.js +186 -0
  24. package/dist/gen/v2/purpose-template/events.d.ts +59 -0
  25. package/dist/gen/v2/purpose-template/events.d.ts.map +1 -1
  26. package/dist/gen/v2/purpose-template/events.js +131 -0
  27. package/dist/purpose-template/eventsV2.d.ts +43 -1
  28. package/dist/purpose-template/eventsV2.d.ts.map +1 -1
  29. package/dist/purpose-template/eventsV2.js +19 -1
  30. package/dist/purpose-template/index.d.ts +14 -0
  31. package/dist/purpose-template/index.d.ts.map +1 -1
  32. package/package.json +2 -2
  33. package/proto/v2/eservice/eservice.proto +11 -0
  34. package/proto/v2/eservice/events.proto +18 -0
  35. package/proto/v2/eservice-template/eservice-template.proto +3 -0
  36. package/proto/v2/eservice-template/events.proto +18 -0
  37. package/proto/v2/purpose-template/events.proto +14 -0
  38. package/src/eservice/eventsV2.ts +49 -0
  39. package/src/eservice-template/eventsV2.ts +60 -0
  40. package/src/purpose-template/eventsV2.ts +24 -0
  41. package/tests/eservice.test.ts +164 -0
  42. package/tests/purpose-template.test.ts +97 -0
  43. package/tests/template.test.ts +158 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 1.8.18
6
+
7
+ ### Added
8
+ - Added `PurposeTemplateEServiceTemplateLinkedV2` event
9
+ - Added `PurposeTemplateEServiceTemplateUnlinkedV2` event
10
+ - Added `AsyncExchangePropertiesV2` message
11
+ - Added `asyncExchange` property to `EServiceV2` and `EServiceTemplateV2`
12
+ - Added `asyncExchangeCallbackInterface` and `asyncExchangeProperties` properties to `EServiceDescriptorV2` and `EServiceTemplateVersionV2`
13
+ - Added async exchange callback interface events for `EService`:
14
+ - `EServiceDescriptorAsyncExchangeCallbackInterfaceAdded`
15
+ - `EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated`
16
+ - `EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted`
17
+ - Added async exchange callback interface events for `EServiceTemplate`:
18
+ - `EServiceTemplateVersionAsyncExchangeCallbackInterfaceAdded`
19
+ - `EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdated`
20
+ - `EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeleted`
21
+
5
22
  ## 1.8.17
6
23
 
7
24
  ### Restore
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import { DraftEServiceUpdatedV2, EServiceAddedV2, EServiceClonedV2, EServiceDeletedV2, EServiceDescriptorActivatedV2, EServiceDescriptorAddedV2, EServiceDescriptorArchivedV2, EServiceDescriptorDocumentAddedV2, EServiceDescriptorDocumentDeletedV2, EServiceDescriptorDocumentUpdatedV2, EServiceDescriptorInterfaceAddedV2, EServiceDescriptorInterfaceDeletedV2, EServiceDescriptorInterfaceUpdatedV2, EServiceDescriptorPublishedV2, EServiceDescriptorSuspendedV2, EServiceDraftDescriptorDeletedV2, EServiceDraftDescriptorUpdatedV2, EServiceDescriptorQuotasUpdatedV2, EServiceDescriptionUpdatedV2, EServiceDescriptorSubmittedByDelegateV2, EServiceDescriptorApprovedByDelegatorV2, EServiceDescriptorRejectedByDelegatorV2, EServiceDescriptorAttributesUpdatedV2, EServiceIsClientAccessDelegableDisabledV2, EServiceIsClientAccessDelegableEnabledV2, EServiceIsConsumerDelegableDisabledV2, EServiceIsConsumerDelegableEnabledV2, EServiceNameUpdatedV2, EServiceDescriptionUpdatedByTemplateUpdateV2, EServiceDescriptorQuotasUpdatedByTemplateUpdateV2, EServiceDescriptorAttributesUpdatedByTemplateUpdateV2, EServiceDescriptorDocumentAddedByTemplateUpdateV2, EServiceDescriptorDocumentUpdatedByTemplateUpdateV2, EServiceDescriptorDocumentDeletedByTemplateUpdateV2, EServiceNameUpdatedByTemplateUpdateV2, EServiceDescriptorAgreementApprovalPolicyUpdatedV2, EServiceSignalHubEnabledV2, EServiceSignalHubDisabledV2, EServicePersonalDataFlagUpdatedAfterPublicationV2, EServicePersonalDataFlagUpdatedByTemplateUpdateV2, EServiceInstanceLabelUpdatedV2, MaintenanceEServicePersonalDataFlagResetV2 } 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, EServiceDescriptorDocumentAddedByTemplateUpdateV2, EServiceDescriptorDocumentUpdatedByTemplateUpdateV2, EServiceDescriptorDocumentDeletedByTemplateUpdateV2, EServiceNameUpdatedByTemplateUpdateV2, EServiceDescriptorAgreementApprovalPolicyUpdatedV2, EServiceSignalHubEnabledV2, EServiceSignalHubDisabledV2, EServicePersonalDataFlagUpdatedAfterPublicationV2, EServicePersonalDataFlagUpdatedByTemplateUpdateV2, EServiceInstanceLabelUpdatedV2, MaintenanceEServicePersonalDataFlagResetV2, EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2, EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2, EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2 } from "../gen/v2/eservice/events.js";
3
3
  export declare function eServiceEventToBinaryDataV2(event: EServiceEventV2): Uint8Array;
4
4
  export declare const EServiceEventV2: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5
5
  event_version: z.ZodLiteral<2>;
@@ -883,6 +883,69 @@ 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<"EServiceDescriptorAsyncExchangeCallbackInterfaceAdded">;
889
+ data: z.ZodEffects<z.ZodAny, EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2, any>;
890
+ stream_id: z.ZodString;
891
+ version: z.ZodNumber;
892
+ timestamp: z.ZodDate;
893
+ }, "strip", z.ZodTypeAny, {
894
+ event_version: 2;
895
+ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceAdded";
896
+ version: number;
897
+ data: EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2;
898
+ stream_id: string;
899
+ timestamp: Date;
900
+ }, {
901
+ event_version: 2;
902
+ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceAdded";
903
+ version: number;
904
+ stream_id: string;
905
+ timestamp: Date;
906
+ data?: any;
907
+ }>, z.ZodObject<{
908
+ event_version: z.ZodLiteral<2>;
909
+ type: z.ZodLiteral<"EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated">;
910
+ data: z.ZodEffects<z.ZodAny, EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2, any>;
911
+ stream_id: z.ZodString;
912
+ version: z.ZodNumber;
913
+ timestamp: z.ZodDate;
914
+ }, "strip", z.ZodTypeAny, {
915
+ event_version: 2;
916
+ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated";
917
+ version: number;
918
+ data: EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2;
919
+ stream_id: string;
920
+ timestamp: Date;
921
+ }, {
922
+ event_version: 2;
923
+ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated";
924
+ version: number;
925
+ stream_id: string;
926
+ timestamp: Date;
927
+ data?: any;
928
+ }>, z.ZodObject<{
929
+ event_version: z.ZodLiteral<2>;
930
+ type: z.ZodLiteral<"EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted">;
931
+ data: z.ZodEffects<z.ZodAny, EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2, any>;
932
+ stream_id: z.ZodString;
933
+ version: z.ZodNumber;
934
+ timestamp: z.ZodDate;
935
+ }, "strip", z.ZodTypeAny, {
936
+ event_version: 2;
937
+ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted";
938
+ version: number;
939
+ data: EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2;
940
+ stream_id: string;
941
+ timestamp: Date;
942
+ }, {
943
+ event_version: 2;
944
+ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted";
945
+ version: number;
946
+ stream_id: string;
947
+ timestamp: Date;
948
+ data?: any;
886
949
  }>]>;
887
950
  export type EServiceEventV2 = z.infer<typeof EServiceEventV2>;
888
951
  //# 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,mDAAmD,EACnD,mDAAmD,EACnD,qCAAqC,EACrC,kDAAkD,EAClD,0BAA0B,EAC1B,2BAA2B,EAC3B,iDAAiD,EACjD,iDAAiD,EACjD,8BAA8B,EAC9B,0CAA0C,EAC3C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiX1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -1,7 +1,8 @@
1
+ /* eslint-disable prettier/prettier */
1
2
  import { match } from "ts-pattern";
2
3
  import { z } from "zod";
3
4
  import { protobufDecoder } from "../utils.js";
4
- import { DraftEServiceUpdatedV2, EServiceAddedV2, EServiceClonedV2, EServiceDeletedV2, EServiceDescriptorActivatedV2, EServiceDescriptorAddedV2, EServiceDescriptorArchivedV2, EServiceDescriptorDocumentAddedV2, EServiceDescriptorDocumentDeletedV2, EServiceDescriptorDocumentUpdatedV2, EServiceDescriptorInterfaceAddedV2, EServiceDescriptorInterfaceDeletedV2, EServiceDescriptorInterfaceUpdatedV2, EServiceDescriptorPublishedV2, EServiceDescriptorSuspendedV2, EServiceDraftDescriptorDeletedV2, EServiceDraftDescriptorUpdatedV2, EServiceDescriptorQuotasUpdatedV2, EServiceDescriptionUpdatedV2, EServiceDescriptorSubmittedByDelegateV2, EServiceDescriptorApprovedByDelegatorV2, EServiceDescriptorRejectedByDelegatorV2, EServiceDescriptorAttributesUpdatedV2, EServiceIsClientAccessDelegableDisabledV2, EServiceIsClientAccessDelegableEnabledV2, EServiceIsConsumerDelegableDisabledV2, EServiceIsConsumerDelegableEnabledV2, EServiceNameUpdatedV2, EServiceDescriptionUpdatedByTemplateUpdateV2, EServiceDescriptorQuotasUpdatedByTemplateUpdateV2, EServiceDescriptorAttributesUpdatedByTemplateUpdateV2, EServiceDescriptorDocumentAddedByTemplateUpdateV2, EServiceDescriptorDocumentUpdatedByTemplateUpdateV2, EServiceDescriptorDocumentDeletedByTemplateUpdateV2, EServiceNameUpdatedByTemplateUpdateV2, EServiceDescriptorAgreementApprovalPolicyUpdatedV2, EServiceSignalHubEnabledV2, EServiceSignalHubDisabledV2, EServicePersonalDataFlagUpdatedAfterPublicationV2, EServicePersonalDataFlagUpdatedByTemplateUpdateV2, EServiceInstanceLabelUpdatedV2, MaintenanceEServicePersonalDataFlagResetV2, } 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, EServiceDescriptorDocumentAddedByTemplateUpdateV2, EServiceDescriptorDocumentUpdatedByTemplateUpdateV2, EServiceDescriptorDocumentDeletedByTemplateUpdateV2, EServiceNameUpdatedByTemplateUpdateV2, EServiceDescriptorAgreementApprovalPolicyUpdatedV2, EServiceSignalHubEnabledV2, EServiceSignalHubDisabledV2, EServicePersonalDataFlagUpdatedAfterPublicationV2, EServicePersonalDataFlagUpdatedByTemplateUpdateV2, EServiceInstanceLabelUpdatedV2, MaintenanceEServicePersonalDataFlagResetV2, EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2, EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2, EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2, } from "../gen/v2/eservice/events.js";
5
6
  export function eServiceEventToBinaryDataV2(event) {
6
7
  return match(event)
7
8
  .with({ type: "EServiceAdded" }, ({ data }) => EServiceAddedV2.toBinary(data))
@@ -46,6 +47,9 @@ export function eServiceEventToBinaryDataV2(event) {
46
47
  .with({ type: "EServicePersonalDataFlagUpdatedByTemplateUpdate" }, ({ data }) => EServicePersonalDataFlagUpdatedByTemplateUpdateV2.toBinary(data))
47
48
  .with({ type: "EServiceInstanceLabelUpdated" }, ({ data }) => EServiceInstanceLabelUpdatedV2.toBinary(data))
48
49
  .with({ type: "MaintenanceEServicePersonalDataFlagReset" }, ({ data }) => MaintenanceEServicePersonalDataFlagResetV2.toBinary(data))
50
+ .with({ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceAdded" }, ({ data }) => EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2.toBinary(data))
51
+ .with({ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated" }, ({ data }) => EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2.toBinary(data))
52
+ .with({ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted" }, ({ data }) => EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2.toBinary(data))
49
53
  .exhaustive();
50
54
  }
51
55
  export const EServiceEventV2 = z.discriminatedUnion("type", [
@@ -385,4 +389,28 @@ export const EServiceEventV2 = z.discriminatedUnion("type", [
385
389
  version: z.number(),
386
390
  timestamp: z.coerce.date(),
387
391
  }),
392
+ z.object({
393
+ event_version: z.literal(2),
394
+ type: z.literal("EServiceDescriptorAsyncExchangeCallbackInterfaceAdded"),
395
+ data: protobufDecoder(EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2),
396
+ stream_id: z.string(),
397
+ version: z.number(),
398
+ timestamp: z.coerce.date(),
399
+ }),
400
+ z.object({
401
+ event_version: z.literal(2),
402
+ type: z.literal("EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated"),
403
+ data: protobufDecoder(EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2),
404
+ stream_id: z.string(),
405
+ version: z.number(),
406
+ timestamp: z.coerce.date(),
407
+ }),
408
+ z.object({
409
+ event_version: z.literal(2),
410
+ type: z.literal("EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted"),
411
+ data: protobufDecoder(EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2),
412
+ stream_id: z.string(),
413
+ version: z.number(),
414
+ timestamp: z.coerce.date(),
415
+ }),
388
416
  ]);
@@ -386,6 +386,27 @@ 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: "EServiceDescriptorAsyncExchangeCallbackInterfaceAdded";
392
+ version: number;
393
+ data: import("../index.js").EServiceDescriptorAsyncExchangeCallbackInterfaceAddedV2;
394
+ stream_id: string;
395
+ timestamp: Date;
396
+ } | {
397
+ event_version: 2;
398
+ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceUpdated";
399
+ version: number;
400
+ data: import("../index.js").EServiceDescriptorAsyncExchangeCallbackInterfaceUpdatedV2;
401
+ stream_id: string;
402
+ timestamp: Date;
403
+ } | {
404
+ event_version: 2;
405
+ type: "EServiceDescriptorAsyncExchangeCallbackInterfaceDeleted";
406
+ version: number;
407
+ data: import("../index.js").EServiceDescriptorAsyncExchangeCallbackInterfaceDeletedV2;
408
+ stream_id: string;
409
+ timestamp: Date;
389
410
  }, z.objectInputType<{
390
411
  event_version: z.ZodLiteral<1>;
391
412
  }, 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAWxB,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;AACtD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import { EServiceTemplateVersionActivatedV2, EServiceTemplateAddedV2, EServiceTemplateIntendedTargetUpdatedV2, EServiceTemplateDescriptionUpdatedV2, EServiceTemplateDeletedV2, EServiceTemplateDraftVersionDeletedV2, EServiceTemplateDraftVersionUpdatedV2, EServiceTemplateDraftUpdatedV2, EServiceTemplateNameUpdatedV2, EServiceTemplateVersionSuspendedV2, EServiceTemplateVersionAddedV2, EServiceTemplateVersionAttributesUpdatedV2, EServiceTemplateVersionDocumentAddedV2, EServiceTemplateVersionDocumentDeletedV2, EServiceTemplateVersionDocumentUpdatedV2, EServiceTemplateVersionInterfaceAddedV2, EServiceTemplateVersionInterfaceDeletedV2, EServiceTemplateVersionInterfaceUpdatedV2, EServiceTemplateVersionPublishedV2, EServiceTemplateVersionQuotasUpdatedV2, EServiceTemplatePersonalDataFlagUpdatedAfterPublicationV2 } from "../gen/v2/eservice-template/events.js";
2
+ import { EServiceTemplateVersionActivatedV2, EServiceTemplateAddedV2, EServiceTemplateIntendedTargetUpdatedV2, EServiceTemplateDescriptionUpdatedV2, EServiceTemplateDeletedV2, EServiceTemplateDraftVersionDeletedV2, EServiceTemplateDraftVersionUpdatedV2, EServiceTemplateDraftUpdatedV2, EServiceTemplateNameUpdatedV2, EServiceTemplateVersionSuspendedV2, EServiceTemplateVersionAddedV2, EServiceTemplateVersionAttributesUpdatedV2, EServiceTemplateVersionDocumentAddedV2, EServiceTemplateVersionDocumentDeletedV2, EServiceTemplateVersionDocumentUpdatedV2, EServiceTemplateVersionInterfaceAddedV2, EServiceTemplateVersionInterfaceDeletedV2, EServiceTemplateVersionInterfaceUpdatedV2, EServiceTemplateVersionPublishedV2, EServiceTemplateVersionQuotasUpdatedV2, EServiceTemplatePersonalDataFlagUpdatedAfterPublicationV2, EServiceTemplateVersionAsyncExchangeCallbackInterfaceAddedV2, EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdatedV2, EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeletedV2 } from "../gen/v2/eservice-template/events.js";
3
3
  export declare function eserviceTemplateEventToBinaryDataV2(event: EServiceTemplateEventV2): Uint8Array;
4
4
  export declare const EServiceTemplateEventV2: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5
5
  event_version: z.ZodLiteral<2>;
@@ -442,6 +442,69 @@ export declare const EServiceTemplateEventV2: z.ZodDiscriminatedUnion<"type", [z
442
442
  stream_id: string;
443
443
  timestamp: Date;
444
444
  data?: any;
445
+ }>, z.ZodObject<{
446
+ event_version: z.ZodLiteral<2>;
447
+ type: z.ZodLiteral<"EServiceTemplateVersionAsyncExchangeCallbackInterfaceAdded">;
448
+ data: z.ZodEffects<z.ZodAny, EServiceTemplateVersionAsyncExchangeCallbackInterfaceAddedV2, any>;
449
+ stream_id: z.ZodString;
450
+ version: z.ZodNumber;
451
+ timestamp: z.ZodDate;
452
+ }, "strip", z.ZodTypeAny, {
453
+ event_version: 2;
454
+ type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceAdded";
455
+ version: number;
456
+ data: EServiceTemplateVersionAsyncExchangeCallbackInterfaceAddedV2;
457
+ stream_id: string;
458
+ timestamp: Date;
459
+ }, {
460
+ event_version: 2;
461
+ type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceAdded";
462
+ version: number;
463
+ stream_id: string;
464
+ timestamp: Date;
465
+ data?: any;
466
+ }>, z.ZodObject<{
467
+ event_version: z.ZodLiteral<2>;
468
+ type: z.ZodLiteral<"EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdated">;
469
+ data: z.ZodEffects<z.ZodAny, EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdatedV2, any>;
470
+ stream_id: z.ZodString;
471
+ version: z.ZodNumber;
472
+ timestamp: z.ZodDate;
473
+ }, "strip", z.ZodTypeAny, {
474
+ event_version: 2;
475
+ type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdated";
476
+ version: number;
477
+ data: EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdatedV2;
478
+ stream_id: string;
479
+ timestamp: Date;
480
+ }, {
481
+ event_version: 2;
482
+ type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdated";
483
+ version: number;
484
+ stream_id: string;
485
+ timestamp: Date;
486
+ data?: any;
487
+ }>, z.ZodObject<{
488
+ event_version: z.ZodLiteral<2>;
489
+ type: z.ZodLiteral<"EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeleted">;
490
+ data: z.ZodEffects<z.ZodAny, EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeletedV2, any>;
491
+ stream_id: z.ZodString;
492
+ version: z.ZodNumber;
493
+ timestamp: z.ZodDate;
494
+ }, "strip", z.ZodTypeAny, {
495
+ event_version: 2;
496
+ type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeleted";
497
+ version: number;
498
+ data: EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeletedV2;
499
+ stream_id: string;
500
+ timestamp: Date;
501
+ }, {
502
+ event_version: 2;
503
+ type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeleted";
504
+ version: number;
505
+ stream_id: string;
506
+ timestamp: Date;
507
+ data?: any;
445
508
  }>]>;
446
509
  export type EServiceTemplateEventV2 = z.infer<typeof EServiceTemplateEventV2>;
447
510
  //# sourceMappingURL=eventsV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"eventsV2.d.ts","sourceRoot":"","sources":["../../src/eservice-template/eventsV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,kCAAkC,EAClC,uBAAuB,EACvB,uCAAuC,EACvC,oCAAoC,EACpC,yBAAyB,EACzB,qCAAqC,EACrC,qCAAqC,EACrC,8BAA8B,EAC9B,6BAA6B,EAC7B,kCAAkC,EAClC,8BAA8B,EAC9B,0CAA0C,EAC1C,sCAAsC,EACtC,wCAAwC,EACxC,wCAAwC,EACxC,uCAAuC,EACvC,yCAAyC,EACzC,yCAAyC,EACzC,kCAAkC,EAClC,sCAAsC,EACtC,yDAAyD,EAC1D,MAAM,uCAAuC,CAAC;AAG/C,wBAAgB,mCAAmC,CACjD,KAAK,EAAE,uBAAuB,GAC7B,UAAU,CAoEZ;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2KlC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"eventsV2.d.ts","sourceRoot":"","sources":["../../src/eservice-template/eventsV2.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OAAO,uBAAuB,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { match } from "ts-pattern";
3
- import { EServiceTemplateVersionActivatedV2, EServiceTemplateAddedV2, EServiceTemplateIntendedTargetUpdatedV2, EServiceTemplateDescriptionUpdatedV2, EServiceTemplateDeletedV2, EServiceTemplateDraftVersionDeletedV2, EServiceTemplateDraftVersionUpdatedV2, EServiceTemplateDraftUpdatedV2, EServiceTemplateNameUpdatedV2, EServiceTemplateVersionSuspendedV2, EServiceTemplateVersionAddedV2, EServiceTemplateVersionAttributesUpdatedV2, EServiceTemplateVersionDocumentAddedV2, EServiceTemplateVersionDocumentDeletedV2, EServiceTemplateVersionDocumentUpdatedV2, EServiceTemplateVersionInterfaceAddedV2, EServiceTemplateVersionInterfaceDeletedV2, EServiceTemplateVersionInterfaceUpdatedV2, EServiceTemplateVersionPublishedV2, EServiceTemplateVersionQuotasUpdatedV2, EServiceTemplatePersonalDataFlagUpdatedAfterPublicationV2, } from "../gen/v2/eservice-template/events.js";
3
+ import { EServiceTemplateVersionActivatedV2, EServiceTemplateAddedV2, EServiceTemplateIntendedTargetUpdatedV2, EServiceTemplateDescriptionUpdatedV2, EServiceTemplateDeletedV2, EServiceTemplateDraftVersionDeletedV2, EServiceTemplateDraftVersionUpdatedV2, EServiceTemplateDraftUpdatedV2, EServiceTemplateNameUpdatedV2, EServiceTemplateVersionSuspendedV2, EServiceTemplateVersionAddedV2, EServiceTemplateVersionAttributesUpdatedV2, EServiceTemplateVersionDocumentAddedV2, EServiceTemplateVersionDocumentDeletedV2, EServiceTemplateVersionDocumentUpdatedV2, EServiceTemplateVersionInterfaceAddedV2, EServiceTemplateVersionInterfaceDeletedV2, EServiceTemplateVersionInterfaceUpdatedV2, EServiceTemplateVersionPublishedV2, EServiceTemplateVersionQuotasUpdatedV2, EServiceTemplatePersonalDataFlagUpdatedAfterPublicationV2, EServiceTemplateVersionAsyncExchangeCallbackInterfaceAddedV2, EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdatedV2, EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeletedV2, } from "../gen/v2/eservice-template/events.js";
4
4
  import { protobufDecoder } from "../utils.js";
5
5
  export function eserviceTemplateEventToBinaryDataV2(event) {
6
6
  return match(event)
@@ -25,6 +25,9 @@ export function eserviceTemplateEventToBinaryDataV2(event) {
25
25
  .with({ type: "EServiceTemplateVersionPublished" }, ({ data }) => EServiceTemplateVersionPublishedV2.toBinary(data))
26
26
  .with({ type: "EServiceTemplateVersionQuotasUpdated" }, ({ data }) => EServiceTemplateVersionQuotasUpdatedV2.toBinary(data))
27
27
  .with({ type: "EServiceTemplatePersonalDataFlagUpdatedAfterPublication" }, ({ data }) => EServiceTemplatePersonalDataFlagUpdatedAfterPublicationV2.toBinary(data))
28
+ .with({ type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceAdded" }, ({ data }) => EServiceTemplateVersionAsyncExchangeCallbackInterfaceAddedV2.toBinary(data))
29
+ .with({ type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdated" }, ({ data }) => EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdatedV2.toBinary(data))
30
+ .with({ type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeleted" }, ({ data }) => EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeletedV2.toBinary(data))
28
31
  .exhaustive();
29
32
  }
30
33
  export const EServiceTemplateEventV2 = z.discriminatedUnion("type", [
@@ -196,4 +199,28 @@ export const EServiceTemplateEventV2 = z.discriminatedUnion("type", [
196
199
  version: z.number(),
197
200
  timestamp: z.coerce.date(),
198
201
  }),
202
+ z.object({
203
+ event_version: z.literal(2),
204
+ type: z.literal("EServiceTemplateVersionAsyncExchangeCallbackInterfaceAdded"),
205
+ data: protobufDecoder(EServiceTemplateVersionAsyncExchangeCallbackInterfaceAddedV2),
206
+ stream_id: z.string(),
207
+ version: z.number(),
208
+ timestamp: z.coerce.date(),
209
+ }),
210
+ z.object({
211
+ event_version: z.literal(2),
212
+ type: z.literal("EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdated"),
213
+ data: protobufDecoder(EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdatedV2),
214
+ stream_id: z.string(),
215
+ version: z.number(),
216
+ timestamp: z.coerce.date(),
217
+ }),
218
+ z.object({
219
+ event_version: z.literal(2),
220
+ type: z.literal("EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeleted"),
221
+ data: protobufDecoder(EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeletedV2),
222
+ stream_id: z.string(),
223
+ version: z.number(),
224
+ timestamp: z.coerce.date(),
225
+ }),
199
226
  ]);
@@ -161,6 +161,27 @@ export declare const EServiceTemplateEvent: z.ZodEffects<z.ZodDiscriminatedUnion
161
161
  data: import("../index.js").EServiceTemplatePersonalDataFlagUpdatedAfterPublicationV2;
162
162
  stream_id: string;
163
163
  timestamp: Date;
164
+ } | {
165
+ event_version: 2;
166
+ type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceAdded";
167
+ version: number;
168
+ data: import("../index.js").EServiceTemplateVersionAsyncExchangeCallbackInterfaceAddedV2;
169
+ stream_id: string;
170
+ timestamp: Date;
171
+ } | {
172
+ event_version: 2;
173
+ type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdated";
174
+ version: number;
175
+ data: import("../index.js").EServiceTemplateVersionAsyncExchangeCallbackInterfaceUpdatedV2;
176
+ stream_id: string;
177
+ timestamp: Date;
178
+ } | {
179
+ event_version: 2;
180
+ type: "EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeleted";
181
+ version: number;
182
+ data: import("../index.js").EServiceTemplateVersionAsyncExchangeCallbackInterfaceDeletedV2;
183
+ stream_id: string;
184
+ timestamp: Date;
164
185
  }, z.objectInputType<{
165
186
  event_version: z.ZodLiteral<1>;
166
187
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eservice-template/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,uBAAuB,EAExB,MAAM,eAAe,CAAC;AAUvB,wBAAgB,mCAAmC,CACjD,KAAK,EAAE,qBAAqB,GAC3B,MAAM,CASR;AAED,wBAAgB,mCAAmC,CACjD,YAAY,EAAE,MAAM,GACnB,qBAAqB,CAEvB;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eservice-template/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,uBAAuB,EAExB,MAAM,eAAe,CAAC;AAUvB,wBAAgB,mCAAmC,CACjD,KAAK,EAAE,qBAAqB,GAC3B,MAAM,CASR;AAED,wBAAgB,mCAAmC,CACjD,YAAY,EAAE,MAAM,GACnB,qBAAqB,CAEvB;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAahC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,qBAAqB,CAAC,MAAM,CAAC,CAAC;AACtE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
@@ -64,6 +64,10 @@ export interface EServiceV2 {
64
64
  * @generated from protobuf field: optional string instanceLabel = 15;
65
65
  */
66
66
  instanceLabel?: string;
67
+ /**
68
+ * @generated from protobuf field: optional bool asyncExchange = 16;
69
+ */
70
+ asyncExchange?: boolean;
67
71
  }
68
72
  /**
69
73
  * @generated from protobuf message eservice.v2.EServiceAttributeValueV2
@@ -205,6 +209,14 @@ export interface EServiceDescriptorV2 {
205
209
  * @generated from protobuf field: optional eservice.v2.EServiceTemplateVersionRefV2 templateVersionRef = 20;
206
210
  */
207
211
  templateVersionRef?: EServiceTemplateVersionRefV2;
212
+ /**
213
+ * @generated from protobuf field: optional eservice.v2.EServiceDocumentV2 asyncExchangeCallbackInterface = 21;
214
+ */
215
+ asyncExchangeCallbackInterface?: EServiceDocumentV2;
216
+ /**
217
+ * @generated from protobuf field: optional eservice.v2.AsyncExchangePropertiesV2 asyncExchangeProperties = 22;
218
+ */
219
+ asyncExchangeProperties?: AsyncExchangePropertiesV2;
208
220
  }
209
221
  /**
210
222
  * @generated from protobuf message eservice.v2.TemplateInstanceInterfaceMetadataV2
@@ -240,6 +252,31 @@ export interface EServiceTemplateVersionRefV2 {
240
252
  */
241
253
  interfaceMetadata?: TemplateInstanceInterfaceMetadataV2;
242
254
  }
255
+ /**
256
+ * @generated from protobuf message eservice.v2.AsyncExchangePropertiesV2
257
+ */
258
+ export interface AsyncExchangePropertiesV2 {
259
+ /**
260
+ * @generated from protobuf field: int32 responseTime = 1;
261
+ */
262
+ responseTime: number;
263
+ /**
264
+ * @generated from protobuf field: int32 resourceAvailableTime = 2;
265
+ */
266
+ resourceAvailableTime: number;
267
+ /**
268
+ * @generated from protobuf field: bool confirmation = 3;
269
+ */
270
+ confirmation: boolean;
271
+ /**
272
+ * @generated from protobuf field: bool bulk = 4;
273
+ */
274
+ bulk: boolean;
275
+ /**
276
+ * @generated from protobuf field: int32 maxResultSet = 5;
277
+ */
278
+ maxResultSet: number;
279
+ }
243
280
  /**
244
281
  * @generated from protobuf message eservice.v2.EServiceDocumentV2
245
282
  */
@@ -417,6 +454,16 @@ declare class EServiceTemplateVersionRefV2$Type extends MessageType<EServiceTemp
417
454
  * @generated MessageType for protobuf message eservice.v2.EServiceTemplateVersionRefV2
418
455
  */
419
456
  export declare const EServiceTemplateVersionRefV2: EServiceTemplateVersionRefV2$Type;
457
+ declare class AsyncExchangePropertiesV2$Type extends MessageType<AsyncExchangePropertiesV2> {
458
+ constructor();
459
+ create(value?: PartialMessage<AsyncExchangePropertiesV2>): AsyncExchangePropertiesV2;
460
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AsyncExchangePropertiesV2): AsyncExchangePropertiesV2;
461
+ internalBinaryWrite(message: AsyncExchangePropertiesV2, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
462
+ }
463
+ /**
464
+ * @generated MessageType for protobuf message eservice.v2.AsyncExchangePropertiesV2
465
+ */
466
+ export declare const AsyncExchangePropertiesV2: AsyncExchangePropertiesV2$Type;
420
467
  declare class EServiceDocumentV2$Type extends MessageType<EServiceDocumentV2> {
421
468
  constructor();
422
469
  create(value?: PartialMessage<EServiceDocumentV2>): EServiceDocumentV2;
@@ -1 +1 @@
1
- {"version":3,"file":"eservice.d.ts","sourceRoot":"","sources":["../../../../src/gen/v2/eservice/eservice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sB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AkB;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"}
@@ -91,7 +91,8 @@ class EServiceV2$Type extends MessageType {
91
91
  { no: 11, name: "isClientAccessDelegable", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
92
92
  { no: 13, name: "templateId", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
93
93
  { no: 14, name: "personalData", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
94
- { no: 15, name: "instanceLabel", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
94
+ { 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*/ }
95
96
  ]);
96
97
  }
97
98
  create(value) {
@@ -155,6 +156,9 @@ class EServiceV2$Type extends MessageType {
155
156
  case /* optional string instanceLabel */ 15:
156
157
  message.instanceLabel = reader.string();
157
158
  break;
159
+ case /* optional bool asyncExchange */ 16:
160
+ message.asyncExchange = reader.bool();
161
+ break;
158
162
  default:
159
163
  let u = options.readUnknownField;
160
164
  if (u === "throw")
@@ -209,6 +213,9 @@ class EServiceV2$Type extends MessageType {
209
213
  /* optional string instanceLabel = 15; */
210
214
  if (message.instanceLabel !== undefined)
211
215
  writer.tag(15, WireType.LengthDelimited).string(message.instanceLabel);
216
+ /* optional bool asyncExchange = 16; */
217
+ if (message.asyncExchange !== undefined)
218
+ writer.tag(16, WireType.Varint).bool(message.asyncExchange);
212
219
  let u = options.writeUnknownFields;
213
220
  if (u !== false)
214
221
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -469,7 +476,9 @@ class EServiceDescriptorV2$Type extends MessageType {
469
476
  { no: 17, name: "archivedAt", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
470
477
  { no: 18, name: "attributes", kind: "message", T: () => EServiceAttributesV2 },
471
478
  { no: 19, name: "rejectionReasons", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => DescriptorRejectionReasonV2 },
472
- { no: 20, name: "templateVersionRef", kind: "message", T: () => EServiceTemplateVersionRefV2 }
479
+ { no: 20, name: "templateVersionRef", kind: "message", T: () => EServiceTemplateVersionRefV2 },
480
+ { no: 21, name: "asyncExchangeCallbackInterface", kind: "message", T: () => EServiceDocumentV2 },
481
+ { no: 22, name: "asyncExchangeProperties", kind: "message", T: () => AsyncExchangePropertiesV2 }
473
482
  ]);
474
483
  }
475
484
  create(value) {
@@ -555,6 +564,12 @@ class EServiceDescriptorV2$Type extends MessageType {
555
564
  case /* optional eservice.v2.EServiceTemplateVersionRefV2 templateVersionRef */ 20:
556
565
  message.templateVersionRef = EServiceTemplateVersionRefV2.internalBinaryRead(reader, reader.uint32(), options, message.templateVersionRef);
557
566
  break;
567
+ case /* optional eservice.v2.EServiceDocumentV2 asyncExchangeCallbackInterface */ 21:
568
+ message.asyncExchangeCallbackInterface = EServiceDocumentV2.internalBinaryRead(reader, reader.uint32(), options, message.asyncExchangeCallbackInterface);
569
+ break;
570
+ case /* optional eservice.v2.AsyncExchangePropertiesV2 asyncExchangeProperties */ 22:
571
+ message.asyncExchangeProperties = AsyncExchangePropertiesV2.internalBinaryRead(reader, reader.uint32(), options, message.asyncExchangeProperties);
572
+ break;
558
573
  default:
559
574
  let u = options.readUnknownField;
560
575
  if (u === "throw")
@@ -627,6 +642,12 @@ class EServiceDescriptorV2$Type extends MessageType {
627
642
  /* optional eservice.v2.EServiceTemplateVersionRefV2 templateVersionRef = 20; */
628
643
  if (message.templateVersionRef)
629
644
  EServiceTemplateVersionRefV2.internalBinaryWrite(message.templateVersionRef, writer.tag(20, WireType.LengthDelimited).fork(), options).join();
645
+ /* optional eservice.v2.EServiceDocumentV2 asyncExchangeCallbackInterface = 21; */
646
+ if (message.asyncExchangeCallbackInterface)
647
+ EServiceDocumentV2.internalBinaryWrite(message.asyncExchangeCallbackInterface, writer.tag(21, WireType.LengthDelimited).fork(), options).join();
648
+ /* optional eservice.v2.AsyncExchangePropertiesV2 asyncExchangeProperties = 22; */
649
+ if (message.asyncExchangeProperties)
650
+ AsyncExchangePropertiesV2.internalBinaryWrite(message.asyncExchangeProperties, writer.tag(22, WireType.LengthDelimited).fork(), options).join();
630
651
  let u = options.writeUnknownFields;
631
652
  if (u !== false)
632
653
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -759,6 +780,85 @@ class EServiceTemplateVersionRefV2$Type extends MessageType {
759
780
  */
760
781
  export const EServiceTemplateVersionRefV2 = new EServiceTemplateVersionRefV2$Type();
761
782
  // @generated message type with reflection information, may provide speed optimized methods
783
+ class AsyncExchangePropertiesV2$Type extends MessageType {
784
+ constructor() {
785
+ super("eservice.v2.AsyncExchangePropertiesV2", [
786
+ { no: 1, name: "responseTime", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
787
+ { no: 2, name: "resourceAvailableTime", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
788
+ { no: 3, name: "confirmation", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
789
+ { no: 4, name: "bulk", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
790
+ { no: 5, name: "maxResultSet", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
791
+ ]);
792
+ }
793
+ create(value) {
794
+ const message = globalThis.Object.create((this.messagePrototype));
795
+ message.responseTime = 0;
796
+ message.resourceAvailableTime = 0;
797
+ message.confirmation = false;
798
+ message.bulk = false;
799
+ message.maxResultSet = 0;
800
+ if (value !== undefined)
801
+ reflectionMergePartial(this, message, value);
802
+ return message;
803
+ }
804
+ internalBinaryRead(reader, length, options, target) {
805
+ let message = target ?? this.create(), end = reader.pos + length;
806
+ while (reader.pos < end) {
807
+ let [fieldNo, wireType] = reader.tag();
808
+ switch (fieldNo) {
809
+ case /* int32 responseTime */ 1:
810
+ message.responseTime = reader.int32();
811
+ break;
812
+ case /* int32 resourceAvailableTime */ 2:
813
+ message.resourceAvailableTime = reader.int32();
814
+ break;
815
+ case /* bool confirmation */ 3:
816
+ message.confirmation = reader.bool();
817
+ break;
818
+ case /* bool bulk */ 4:
819
+ message.bulk = reader.bool();
820
+ break;
821
+ case /* int32 maxResultSet */ 5:
822
+ message.maxResultSet = reader.int32();
823
+ break;
824
+ default:
825
+ let u = options.readUnknownField;
826
+ if (u === "throw")
827
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
828
+ let d = reader.skip(wireType);
829
+ if (u !== false)
830
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
831
+ }
832
+ }
833
+ return message;
834
+ }
835
+ internalBinaryWrite(message, writer, options) {
836
+ /* int32 responseTime = 1; */
837
+ if (message.responseTime !== 0)
838
+ writer.tag(1, WireType.Varint).int32(message.responseTime);
839
+ /* int32 resourceAvailableTime = 2; */
840
+ if (message.resourceAvailableTime !== 0)
841
+ writer.tag(2, WireType.Varint).int32(message.resourceAvailableTime);
842
+ /* bool confirmation = 3; */
843
+ if (message.confirmation !== false)
844
+ writer.tag(3, WireType.Varint).bool(message.confirmation);
845
+ /* bool bulk = 4; */
846
+ if (message.bulk !== false)
847
+ writer.tag(4, WireType.Varint).bool(message.bulk);
848
+ /* int32 maxResultSet = 5; */
849
+ if (message.maxResultSet !== 0)
850
+ writer.tag(5, WireType.Varint).int32(message.maxResultSet);
851
+ let u = options.writeUnknownFields;
852
+ if (u !== false)
853
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
854
+ return writer;
855
+ }
856
+ }
857
+ /**
858
+ * @generated MessageType for protobuf message eservice.v2.AsyncExchangePropertiesV2
859
+ */
860
+ export const AsyncExchangePropertiesV2 = new AsyncExchangePropertiesV2$Type();
861
+ // @generated message type with reflection information, may provide speed optimized methods
762
862
  class EServiceDocumentV2$Type extends MessageType {
763
863
  constructor() {
764
864
  super("eservice.v2.EServiceDocumentV2", [