@pagopa/interop-outbound-models 1.3.0 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,12 +2,33 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 1.3.2
6
+
7
+ ### Fixed
8
+
9
+ - Fix converter of EServiceNameUpdated
10
+
11
+ ## 1.3.1
12
+
13
+ ### Fixed
14
+
15
+ - Corrected release version
16
+
5
17
  ## 1.3.0
6
18
 
7
19
  ### Added
8
20
 
9
21
  - Added delegation events: `ConsumerDelegationSubmittedV2`, `ConsumerDelegationApprovedV2`, `ConsumerDelegationRejectedV2` and `ConsumerDelegationRevokedV2`
10
22
  - Added eservice events: `EServiceIsDelegableEnabledV2`, `EServiceIsDelegableDisabledV2`, `EServiceIsClientAccessDelegableEnabledV2` and `EServiceIsClientAccessDelegableDisabledV2`
23
+ - Added tenant events: `TenantDelegatedConsumerFeatureAddedV2` and `TenantDelegatedConsumerFeatureRemovedV2`
24
+ - Added `DelegatedConsumer` data model
25
+
26
+ ### Changed
27
+
28
+ - Changed `TenantFeature` data model with new feature
29
+ - Changed `AgreementStamp` model with optional `delegationId`
30
+ - Changed `EService` model with new flags `isDelegable` and `isClientAccessDelegable`
31
+ - Changed `Purpose` model with optional `delegationId`and reserved position
11
32
 
12
33
  ## 1.2.0
13
34
 
@@ -23,11 +44,3 @@ All notable changes to this project will be documented in this file.
23
44
  ### Added
24
45
 
25
46
  - Added eservice event `EServiceNameUpdated`
26
- # Changelog
27
-
28
- All notable changes to this project will be documented in this file.
29
-
30
- ## 1.0.13
31
-
32
- ### Added
33
- - Added e-service event `EServiceDescriptorAttributesUpdated` (In-Add Attributes Feature)
@@ -31,7 +31,7 @@ export function eServiceEventToBinaryDataV2(event) {
31
31
  .with({ type: "EServiceIsDelegableDisabled" }, ({ data }) => EServiceIsDelegableDisabledV2.toBinary(data))
32
32
  .with({ type: "EServiceIsClientAccessDelegableEnabled" }, ({ data }) => EServiceIsClientAccessDelegableEnabledV2.toBinary(data))
33
33
  .with({ type: "EServiceIsClientAccessDelegableDisabled" }, ({ data }) => EServiceIsClientAccessDelegableDisabledV2.toBinary(data))
34
- .with({ type: "EServiceNameUpdated" }, ({ data }) => EServiceDescriptionUpdatedV2.toBinary(data))
34
+ .with({ type: "EServiceNameUpdated" }, ({ data }) => EServiceNameUpdatedV2.toBinary(data))
35
35
  .exhaustive();
36
36
  }
37
37
  export const EServiceEventV2 = z.discriminatedUnion("type", [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pagopa/interop-outbound-models",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "PagoPA Interoperability outbound models",
5
5
  "main": "dist",
6
6
  "type": "module",
@@ -84,4 +84,4 @@ message TenantDelegatedConsumerFeatureAddedV2 {
84
84
 
85
85
  message TenantDelegatedConsumerFeatureRemovedV2 {
86
86
  TenantV2 tenant = 1;
87
- }
87
+ }
@@ -118,7 +118,7 @@ export function eServiceEventToBinaryDataV2(
118
118
  EServiceIsClientAccessDelegableDisabledV2.toBinary(data)
119
119
  )
120
120
  .with({ type: "EServiceNameUpdated" }, ({ data }) =>
121
- EServiceDescriptionUpdatedV2.toBinary(data)
121
+ EServiceNameUpdatedV2.toBinary(data)
122
122
  )
123
123
  .exhaustive();
124
124
  }