@pagopa/interop-outbound-models 1.8.0 → 1.8.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 +13 -0
- package/dist/gen/v2/purpose-template/events.d.ts +38 -0
- package/dist/gen/v2/purpose-template/events.d.ts.map +1 -1
- package/dist/gen/v2/purpose-template/events.js +92 -0
- package/dist/gen/v2/purpose-template/purpose-template.d.ts +4 -183
- package/dist/gen/v2/purpose-template/purpose-template.d.ts.map +1 -1
- package/dist/gen/v2/purpose-template/purpose-template.js +16 -415
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/purpose-template/index.d.ts +12 -12
- package/package.json +1 -1
- package/proto/v2/purpose-template/events.proto +10 -1
- package/proto/v2/purpose-template/purpose-template.proto +4 -45
- package/src/index.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 1.8.2
|
|
6
|
+
|
|
7
|
+
### Added purpose template events about document archiving:
|
|
8
|
+
- `RiskAnalysisTemplateDocumentGeneratedV2`
|
|
9
|
+
- `RiskAnalysisTemplateSignedDocumentGeneratedV2`
|
|
10
|
+
|
|
11
|
+
## 1.8.1
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- Fixed missing export of events models
|
|
16
|
+
- Fixed visibility risk analysis in purpose-template
|
|
17
|
+
|
|
5
18
|
## 1.8.0
|
|
6
19
|
|
|
7
20
|
### Added purpose template events:
|
|
@@ -150,6 +150,24 @@ export interface PurposeTemplateAnnotationDocumentUpdatedV2 {
|
|
|
150
150
|
*/
|
|
151
151
|
answerId: string;
|
|
152
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
* @generated from protobuf message purpose.template.v2.RiskAnalysisTemplateDocumentGeneratedV2
|
|
155
|
+
*/
|
|
156
|
+
export interface RiskAnalysisTemplateDocumentGeneratedV2 {
|
|
157
|
+
/**
|
|
158
|
+
* @generated from protobuf field: purpose.template.v2.PurposeTemplateV2 purposeTemplate = 1;
|
|
159
|
+
*/
|
|
160
|
+
purposeTemplate?: PurposeTemplateV2;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* @generated from protobuf message purpose.template.v2.RiskAnalysisTemplateSignedDocumentGeneratedV2
|
|
164
|
+
*/
|
|
165
|
+
export interface RiskAnalysisTemplateSignedDocumentGeneratedV2 {
|
|
166
|
+
/**
|
|
167
|
+
* @generated from protobuf field: purpose.template.v2.PurposeTemplateV2 purposeTemplate = 1;
|
|
168
|
+
*/
|
|
169
|
+
purposeTemplate?: PurposeTemplateV2;
|
|
170
|
+
}
|
|
153
171
|
declare class PurposeTemplateAddedV2$Type extends MessageType<PurposeTemplateAddedV2> {
|
|
154
172
|
constructor();
|
|
155
173
|
create(value?: PartialMessage<PurposeTemplateAddedV2>): PurposeTemplateAddedV2;
|
|
@@ -270,5 +288,25 @@ declare class PurposeTemplateAnnotationDocumentUpdatedV2$Type extends MessageTyp
|
|
|
270
288
|
* @generated MessageType for protobuf message purpose.template.v2.PurposeTemplateAnnotationDocumentUpdatedV2
|
|
271
289
|
*/
|
|
272
290
|
export declare const PurposeTemplateAnnotationDocumentUpdatedV2: PurposeTemplateAnnotationDocumentUpdatedV2$Type;
|
|
291
|
+
declare class RiskAnalysisTemplateDocumentGeneratedV2$Type extends MessageType<RiskAnalysisTemplateDocumentGeneratedV2> {
|
|
292
|
+
constructor();
|
|
293
|
+
create(value?: PartialMessage<RiskAnalysisTemplateDocumentGeneratedV2>): RiskAnalysisTemplateDocumentGeneratedV2;
|
|
294
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RiskAnalysisTemplateDocumentGeneratedV2): RiskAnalysisTemplateDocumentGeneratedV2;
|
|
295
|
+
internalBinaryWrite(message: RiskAnalysisTemplateDocumentGeneratedV2, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* @generated MessageType for protobuf message purpose.template.v2.RiskAnalysisTemplateDocumentGeneratedV2
|
|
299
|
+
*/
|
|
300
|
+
export declare const RiskAnalysisTemplateDocumentGeneratedV2: RiskAnalysisTemplateDocumentGeneratedV2$Type;
|
|
301
|
+
declare class RiskAnalysisTemplateSignedDocumentGeneratedV2$Type extends MessageType<RiskAnalysisTemplateSignedDocumentGeneratedV2> {
|
|
302
|
+
constructor();
|
|
303
|
+
create(value?: PartialMessage<RiskAnalysisTemplateSignedDocumentGeneratedV2>): RiskAnalysisTemplateSignedDocumentGeneratedV2;
|
|
304
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RiskAnalysisTemplateSignedDocumentGeneratedV2): RiskAnalysisTemplateSignedDocumentGeneratedV2;
|
|
305
|
+
internalBinaryWrite(message: RiskAnalysisTemplateSignedDocumentGeneratedV2, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* @generated MessageType for protobuf message purpose.template.v2.RiskAnalysisTemplateSignedDocumentGeneratedV2
|
|
309
|
+
*/
|
|
310
|
+
export declare const RiskAnalysisTemplateSignedDocumentGeneratedV2: RiskAnalysisTemplateSignedDocumentGeneratedV2$Type;
|
|
273
311
|
export {};
|
|
274
312
|
//# sourceMappingURL=events.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/gen/v2/purpose-template/events.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,OA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G,uCAAuC;IAmBhL,mBAAmB,CAAC,OAAO,EAAE,uCAAuC,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAS3I;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,8CAAqD,CAAC;AAE1G,cAAM,kDAAmD,SAAQ,WAAW,CAAC,6CAA6C,CAAC;;IAMvH,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,6CAA6C,CAAC,GAAG,6CAA6C;IAM5H,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,6CAA6C,GAAG,6CAA6C;IAmB5L,mBAAmB,CAAC,OAAO,EAAE,6CAA6C,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CASjJ;AACD;;GAEG;AACH,eAAO,MAAM,6CAA6C,oDAA2D,CAAC"}
|
|
@@ -626,3 +626,95 @@ class PurposeTemplateAnnotationDocumentUpdatedV2$Type extends MessageType {
|
|
|
626
626
|
* @generated MessageType for protobuf message purpose.template.v2.PurposeTemplateAnnotationDocumentUpdatedV2
|
|
627
627
|
*/
|
|
628
628
|
export const PurposeTemplateAnnotationDocumentUpdatedV2 = new PurposeTemplateAnnotationDocumentUpdatedV2$Type();
|
|
629
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
630
|
+
class RiskAnalysisTemplateDocumentGeneratedV2$Type extends MessageType {
|
|
631
|
+
constructor() {
|
|
632
|
+
super("purpose.template.v2.RiskAnalysisTemplateDocumentGeneratedV2", [
|
|
633
|
+
{ no: 1, name: "purposeTemplate", kind: "message", T: () => PurposeTemplateV2 }
|
|
634
|
+
]);
|
|
635
|
+
}
|
|
636
|
+
create(value) {
|
|
637
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
638
|
+
if (value !== undefined)
|
|
639
|
+
reflectionMergePartial(this, message, value);
|
|
640
|
+
return message;
|
|
641
|
+
}
|
|
642
|
+
internalBinaryRead(reader, length, options, target) {
|
|
643
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
644
|
+
while (reader.pos < end) {
|
|
645
|
+
let [fieldNo, wireType] = reader.tag();
|
|
646
|
+
switch (fieldNo) {
|
|
647
|
+
case /* purpose.template.v2.PurposeTemplateV2 purposeTemplate */ 1:
|
|
648
|
+
message.purposeTemplate = PurposeTemplateV2.internalBinaryRead(reader, reader.uint32(), options, message.purposeTemplate);
|
|
649
|
+
break;
|
|
650
|
+
default:
|
|
651
|
+
let u = options.readUnknownField;
|
|
652
|
+
if (u === "throw")
|
|
653
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
654
|
+
let d = reader.skip(wireType);
|
|
655
|
+
if (u !== false)
|
|
656
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
return message;
|
|
660
|
+
}
|
|
661
|
+
internalBinaryWrite(message, writer, options) {
|
|
662
|
+
/* purpose.template.v2.PurposeTemplateV2 purposeTemplate = 1; */
|
|
663
|
+
if (message.purposeTemplate)
|
|
664
|
+
PurposeTemplateV2.internalBinaryWrite(message.purposeTemplate, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
665
|
+
let u = options.writeUnknownFields;
|
|
666
|
+
if (u !== false)
|
|
667
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
668
|
+
return writer;
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
/**
|
|
672
|
+
* @generated MessageType for protobuf message purpose.template.v2.RiskAnalysisTemplateDocumentGeneratedV2
|
|
673
|
+
*/
|
|
674
|
+
export const RiskAnalysisTemplateDocumentGeneratedV2 = new RiskAnalysisTemplateDocumentGeneratedV2$Type();
|
|
675
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
676
|
+
class RiskAnalysisTemplateSignedDocumentGeneratedV2$Type extends MessageType {
|
|
677
|
+
constructor() {
|
|
678
|
+
super("purpose.template.v2.RiskAnalysisTemplateSignedDocumentGeneratedV2", [
|
|
679
|
+
{ no: 1, name: "purposeTemplate", kind: "message", T: () => PurposeTemplateV2 }
|
|
680
|
+
]);
|
|
681
|
+
}
|
|
682
|
+
create(value) {
|
|
683
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
684
|
+
if (value !== undefined)
|
|
685
|
+
reflectionMergePartial(this, message, value);
|
|
686
|
+
return message;
|
|
687
|
+
}
|
|
688
|
+
internalBinaryRead(reader, length, options, target) {
|
|
689
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
690
|
+
while (reader.pos < end) {
|
|
691
|
+
let [fieldNo, wireType] = reader.tag();
|
|
692
|
+
switch (fieldNo) {
|
|
693
|
+
case /* purpose.template.v2.PurposeTemplateV2 purposeTemplate */ 1:
|
|
694
|
+
message.purposeTemplate = PurposeTemplateV2.internalBinaryRead(reader, reader.uint32(), options, message.purposeTemplate);
|
|
695
|
+
break;
|
|
696
|
+
default:
|
|
697
|
+
let u = options.readUnknownField;
|
|
698
|
+
if (u === "throw")
|
|
699
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
700
|
+
let d = reader.skip(wireType);
|
|
701
|
+
if (u !== false)
|
|
702
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
return message;
|
|
706
|
+
}
|
|
707
|
+
internalBinaryWrite(message, writer, options) {
|
|
708
|
+
/* purpose.template.v2.PurposeTemplateV2 purposeTemplate = 1; */
|
|
709
|
+
if (message.purposeTemplate)
|
|
710
|
+
PurposeTemplateV2.internalBinaryWrite(message.purposeTemplate, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
711
|
+
let u = options.writeUnknownFields;
|
|
712
|
+
if (u !== false)
|
|
713
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
714
|
+
return writer;
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
/**
|
|
718
|
+
* @generated MessageType for protobuf message purpose.template.v2.RiskAnalysisTemplateSignedDocumentGeneratedV2
|
|
719
|
+
*/
|
|
720
|
+
export const RiskAnalysisTemplateSignedDocumentGeneratedV2 = new RiskAnalysisTemplateSignedDocumentGeneratedV2$Type();
|
|
@@ -46,151 +46,22 @@ export interface PurposeTemplateV2 {
|
|
|
46
46
|
*/
|
|
47
47
|
purposeDescription: string;
|
|
48
48
|
/**
|
|
49
|
-
* @generated from protobuf field:
|
|
50
|
-
*/
|
|
51
|
-
purposeRiskAnalysisForm?: RiskAnalysisFormTemplateV2;
|
|
52
|
-
/**
|
|
53
|
-
* @generated from protobuf field: bool purposeIsFreeOfCharge = 11;
|
|
49
|
+
* @generated from protobuf field: bool purposeIsFreeOfCharge = 10;
|
|
54
50
|
*/
|
|
55
51
|
purposeIsFreeOfCharge: boolean;
|
|
56
52
|
/**
|
|
57
|
-
* @generated from protobuf field: optional string purposeFreeOfChargeReason =
|
|
53
|
+
* @generated from protobuf field: optional string purposeFreeOfChargeReason = 11;
|
|
58
54
|
*/
|
|
59
55
|
purposeFreeOfChargeReason?: string;
|
|
60
56
|
/**
|
|
61
|
-
* @generated from protobuf field: optional int32 purposeDailyCalls =
|
|
57
|
+
* @generated from protobuf field: optional int32 purposeDailyCalls = 12;
|
|
62
58
|
*/
|
|
63
59
|
purposeDailyCalls?: number;
|
|
64
60
|
/**
|
|
65
|
-
* @generated from protobuf field: bool handlesPersonalData =
|
|
61
|
+
* @generated from protobuf field: bool handlesPersonalData = 13;
|
|
66
62
|
*/
|
|
67
63
|
handlesPersonalData: boolean;
|
|
68
64
|
}
|
|
69
|
-
/**
|
|
70
|
-
* @generated from protobuf message purpose.template.v2.RiskAnalysisFormTemplateV2
|
|
71
|
-
*/
|
|
72
|
-
export interface RiskAnalysisFormTemplateV2 {
|
|
73
|
-
/**
|
|
74
|
-
* @generated from protobuf field: string id = 1;
|
|
75
|
-
*/
|
|
76
|
-
id: string;
|
|
77
|
-
/**
|
|
78
|
-
* @generated from protobuf field: string version = 2;
|
|
79
|
-
*/
|
|
80
|
-
version: string;
|
|
81
|
-
/**
|
|
82
|
-
* @generated from protobuf field: repeated purpose.template.v2.RiskAnalysisTemplateSingleAnswerV2 singleAnswers = 3;
|
|
83
|
-
*/
|
|
84
|
-
singleAnswers: RiskAnalysisTemplateSingleAnswerV2[];
|
|
85
|
-
/**
|
|
86
|
-
* @generated from protobuf field: repeated purpose.template.v2.RiskAnalysisTemplateMultiAnswerV2 multiAnswers = 4;
|
|
87
|
-
*/
|
|
88
|
-
multiAnswers: RiskAnalysisTemplateMultiAnswerV2[];
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* @generated from protobuf message purpose.template.v2.RiskAnalysisTemplateSingleAnswerV2
|
|
92
|
-
*/
|
|
93
|
-
export interface RiskAnalysisTemplateSingleAnswerV2 {
|
|
94
|
-
/**
|
|
95
|
-
* @generated from protobuf field: string id = 1;
|
|
96
|
-
*/
|
|
97
|
-
id: string;
|
|
98
|
-
/**
|
|
99
|
-
* @generated from protobuf field: string key = 2;
|
|
100
|
-
*/
|
|
101
|
-
key: string;
|
|
102
|
-
/**
|
|
103
|
-
* @generated from protobuf field: optional string value = 3;
|
|
104
|
-
*/
|
|
105
|
-
value?: string;
|
|
106
|
-
/**
|
|
107
|
-
* @generated from protobuf field: bool editable = 4;
|
|
108
|
-
*/
|
|
109
|
-
editable: boolean;
|
|
110
|
-
/**
|
|
111
|
-
* @generated from protobuf field: optional purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationV2 annotation = 5;
|
|
112
|
-
*/
|
|
113
|
-
annotation?: RiskAnalysisTemplateAnswerAnnotationV2;
|
|
114
|
-
/**
|
|
115
|
-
* @generated from protobuf field: repeated string suggestedValues = 6;
|
|
116
|
-
*/
|
|
117
|
-
suggestedValues: string[];
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* @generated from protobuf message purpose.template.v2.RiskAnalysisTemplateMultiAnswerV2
|
|
121
|
-
*/
|
|
122
|
-
export interface RiskAnalysisTemplateMultiAnswerV2 {
|
|
123
|
-
/**
|
|
124
|
-
* @generated from protobuf field: string id = 1;
|
|
125
|
-
*/
|
|
126
|
-
id: string;
|
|
127
|
-
/**
|
|
128
|
-
* @generated from protobuf field: string key = 2;
|
|
129
|
-
*/
|
|
130
|
-
key: string;
|
|
131
|
-
/**
|
|
132
|
-
* @generated from protobuf field: repeated string values = 3;
|
|
133
|
-
*/
|
|
134
|
-
values: string[];
|
|
135
|
-
/**
|
|
136
|
-
* @generated from protobuf field: bool editable = 4;
|
|
137
|
-
*/
|
|
138
|
-
editable: boolean;
|
|
139
|
-
/**
|
|
140
|
-
* @generated from protobuf field: optional purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationV2 annotation = 5;
|
|
141
|
-
*/
|
|
142
|
-
annotation?: RiskAnalysisTemplateAnswerAnnotationV2;
|
|
143
|
-
}
|
|
144
|
-
/**
|
|
145
|
-
* @generated from protobuf message purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationV2
|
|
146
|
-
*/
|
|
147
|
-
export interface RiskAnalysisTemplateAnswerAnnotationV2 {
|
|
148
|
-
/**
|
|
149
|
-
* @generated from protobuf field: string id = 1;
|
|
150
|
-
*/
|
|
151
|
-
id: string;
|
|
152
|
-
/**
|
|
153
|
-
* @generated from protobuf field: string text = 2;
|
|
154
|
-
*/
|
|
155
|
-
text: string;
|
|
156
|
-
/**
|
|
157
|
-
* @generated from protobuf field: repeated purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationDocumentV2 docs = 3;
|
|
158
|
-
*/
|
|
159
|
-
docs: RiskAnalysisTemplateAnswerAnnotationDocumentV2[];
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* @generated from protobuf message purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationDocumentV2
|
|
163
|
-
*/
|
|
164
|
-
export interface RiskAnalysisTemplateAnswerAnnotationDocumentV2 {
|
|
165
|
-
/**
|
|
166
|
-
* @generated from protobuf field: string id = 1;
|
|
167
|
-
*/
|
|
168
|
-
id: string;
|
|
169
|
-
/**
|
|
170
|
-
* @generated from protobuf field: string name = 2;
|
|
171
|
-
*/
|
|
172
|
-
name: string;
|
|
173
|
-
/**
|
|
174
|
-
* @generated from protobuf field: string prettyName = 3;
|
|
175
|
-
*/
|
|
176
|
-
prettyName: string;
|
|
177
|
-
/**
|
|
178
|
-
* @generated from protobuf field: string contentType = 4;
|
|
179
|
-
*/
|
|
180
|
-
contentType: string;
|
|
181
|
-
/**
|
|
182
|
-
* @generated from protobuf field: string path = 5;
|
|
183
|
-
*/
|
|
184
|
-
path: string;
|
|
185
|
-
/**
|
|
186
|
-
* @generated from protobuf field: int64 createdAt = 6;
|
|
187
|
-
*/
|
|
188
|
-
createdAt: bigint;
|
|
189
|
-
/**
|
|
190
|
-
* @generated from protobuf field: string checksum = 7;
|
|
191
|
-
*/
|
|
192
|
-
checksum: string;
|
|
193
|
-
}
|
|
194
65
|
/**
|
|
195
66
|
* @generated from protobuf enum purpose.template.v2.PurposeTemplateStateV2
|
|
196
67
|
*/
|
|
@@ -222,55 +93,5 @@ declare class PurposeTemplateV2$Type extends MessageType<PurposeTemplateV2> {
|
|
|
222
93
|
* @generated MessageType for protobuf message purpose.template.v2.PurposeTemplateV2
|
|
223
94
|
*/
|
|
224
95
|
export declare const PurposeTemplateV2: PurposeTemplateV2$Type;
|
|
225
|
-
declare class RiskAnalysisFormTemplateV2$Type extends MessageType<RiskAnalysisFormTemplateV2> {
|
|
226
|
-
constructor();
|
|
227
|
-
create(value?: PartialMessage<RiskAnalysisFormTemplateV2>): RiskAnalysisFormTemplateV2;
|
|
228
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RiskAnalysisFormTemplateV2): RiskAnalysisFormTemplateV2;
|
|
229
|
-
internalBinaryWrite(message: RiskAnalysisFormTemplateV2, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* @generated MessageType for protobuf message purpose.template.v2.RiskAnalysisFormTemplateV2
|
|
233
|
-
*/
|
|
234
|
-
export declare const RiskAnalysisFormTemplateV2: RiskAnalysisFormTemplateV2$Type;
|
|
235
|
-
declare class RiskAnalysisTemplateSingleAnswerV2$Type extends MessageType<RiskAnalysisTemplateSingleAnswerV2> {
|
|
236
|
-
constructor();
|
|
237
|
-
create(value?: PartialMessage<RiskAnalysisTemplateSingleAnswerV2>): RiskAnalysisTemplateSingleAnswerV2;
|
|
238
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RiskAnalysisTemplateSingleAnswerV2): RiskAnalysisTemplateSingleAnswerV2;
|
|
239
|
-
internalBinaryWrite(message: RiskAnalysisTemplateSingleAnswerV2, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
240
|
-
}
|
|
241
|
-
/**
|
|
242
|
-
* @generated MessageType for protobuf message purpose.template.v2.RiskAnalysisTemplateSingleAnswerV2
|
|
243
|
-
*/
|
|
244
|
-
export declare const RiskAnalysisTemplateSingleAnswerV2: RiskAnalysisTemplateSingleAnswerV2$Type;
|
|
245
|
-
declare class RiskAnalysisTemplateMultiAnswerV2$Type extends MessageType<RiskAnalysisTemplateMultiAnswerV2> {
|
|
246
|
-
constructor();
|
|
247
|
-
create(value?: PartialMessage<RiskAnalysisTemplateMultiAnswerV2>): RiskAnalysisTemplateMultiAnswerV2;
|
|
248
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RiskAnalysisTemplateMultiAnswerV2): RiskAnalysisTemplateMultiAnswerV2;
|
|
249
|
-
internalBinaryWrite(message: RiskAnalysisTemplateMultiAnswerV2, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
250
|
-
}
|
|
251
|
-
/**
|
|
252
|
-
* @generated MessageType for protobuf message purpose.template.v2.RiskAnalysisTemplateMultiAnswerV2
|
|
253
|
-
*/
|
|
254
|
-
export declare const RiskAnalysisTemplateMultiAnswerV2: RiskAnalysisTemplateMultiAnswerV2$Type;
|
|
255
|
-
declare class RiskAnalysisTemplateAnswerAnnotationV2$Type extends MessageType<RiskAnalysisTemplateAnswerAnnotationV2> {
|
|
256
|
-
constructor();
|
|
257
|
-
create(value?: PartialMessage<RiskAnalysisTemplateAnswerAnnotationV2>): RiskAnalysisTemplateAnswerAnnotationV2;
|
|
258
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RiskAnalysisTemplateAnswerAnnotationV2): RiskAnalysisTemplateAnswerAnnotationV2;
|
|
259
|
-
internalBinaryWrite(message: RiskAnalysisTemplateAnswerAnnotationV2, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
260
|
-
}
|
|
261
|
-
/**
|
|
262
|
-
* @generated MessageType for protobuf message purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationV2
|
|
263
|
-
*/
|
|
264
|
-
export declare const RiskAnalysisTemplateAnswerAnnotationV2: RiskAnalysisTemplateAnswerAnnotationV2$Type;
|
|
265
|
-
declare class RiskAnalysisTemplateAnswerAnnotationDocumentV2$Type extends MessageType<RiskAnalysisTemplateAnswerAnnotationDocumentV2> {
|
|
266
|
-
constructor();
|
|
267
|
-
create(value?: PartialMessage<RiskAnalysisTemplateAnswerAnnotationDocumentV2>): RiskAnalysisTemplateAnswerAnnotationDocumentV2;
|
|
268
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RiskAnalysisTemplateAnswerAnnotationDocumentV2): RiskAnalysisTemplateAnswerAnnotationDocumentV2;
|
|
269
|
-
internalBinaryWrite(message: RiskAnalysisTemplateAnswerAnnotationDocumentV2, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
270
|
-
}
|
|
271
|
-
/**
|
|
272
|
-
* @generated MessageType for protobuf message purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationDocumentV2
|
|
273
|
-
*/
|
|
274
|
-
export declare const RiskAnalysisTemplateAnswerAnnotationDocumentV2: RiskAnalysisTemplateAnswerAnnotationDocumentV2$Type;
|
|
275
96
|
export {};
|
|
276
97
|
//# sourceMappingURL=purpose-template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"purpose-template.d.ts","sourceRoot":"","sources":["../../../../src/gen/v2/purpose-template/purpose-template.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,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,gBAAgB,EAAE,YAAY,CAAC;IAC/B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,sBAAsB,CAAC;IAC9B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"purpose-template.d.ts","sourceRoot":"","sources":["../../../../src/gen/v2/purpose-template/purpose-template.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,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,gBAAgB,EAAE,YAAY,CAAC;IAC/B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,sBAAsB,CAAC;IAC9B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,qBAAqB,EAAE,OAAO,CAAC;IAC/B;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,mBAAmB,EAAE,OAAO,CAAC;CAChC;AACD;;GAEG;AACH,oBAAY,sBAAsB;IAC9B;;OAEG;IACH,KAAK,IAAI;IACT;;OAEG;IACH,SAAS,IAAI;IACb;;OAEG;IACH,SAAS,IAAI;IACb;;OAEG;IACH,QAAQ,IAAI;CACf;AAED,cAAM,sBAAuB,SAAQ,WAAW,CAAC,iBAAiB,CAAC;;IAkB/D,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,iBAAiB,CAAC,GAAG,iBAAiB;IAgBpE,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,iBAAiB,GAAG,iBAAiB;IAuDpI,mBAAmB,CAAC,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CA6CrH;AACD;;GAEG;AACH,eAAO,MAAM,iBAAiB,wBAA+B,CAAC"}
|
|
@@ -38,11 +38,10 @@ class PurposeTemplateV2$Type extends MessageType {
|
|
|
38
38
|
{ no: 7, name: "updatedAt", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
39
39
|
{ no: 8, name: "purposeTitle", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
40
40
|
{ no: 9, name: "purposeDescription", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
41
|
-
{ no: 10, name: "
|
|
42
|
-
{ no: 11, name: "
|
|
43
|
-
{ no: 12, name: "
|
|
44
|
-
{ no: 13, name: "
|
|
45
|
-
{ no: 14, name: "handlesPersonalData", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
41
|
+
{ no: 10, name: "purposeIsFreeOfCharge", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
42
|
+
{ no: 11, name: "purposeFreeOfChargeReason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
43
|
+
{ no: 12, name: "purposeDailyCalls", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
|
44
|
+
{ no: 13, name: "handlesPersonalData", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
46
45
|
]);
|
|
47
46
|
}
|
|
48
47
|
create(value) {
|
|
@@ -93,19 +92,16 @@ class PurposeTemplateV2$Type extends MessageType {
|
|
|
93
92
|
case /* string purposeDescription */ 9:
|
|
94
93
|
message.purposeDescription = reader.string();
|
|
95
94
|
break;
|
|
96
|
-
case /*
|
|
97
|
-
message.purposeRiskAnalysisForm = RiskAnalysisFormTemplateV2.internalBinaryRead(reader, reader.uint32(), options, message.purposeRiskAnalysisForm);
|
|
98
|
-
break;
|
|
99
|
-
case /* bool purposeIsFreeOfCharge */ 11:
|
|
95
|
+
case /* bool purposeIsFreeOfCharge */ 10:
|
|
100
96
|
message.purposeIsFreeOfCharge = reader.bool();
|
|
101
97
|
break;
|
|
102
|
-
case /* optional string purposeFreeOfChargeReason */
|
|
98
|
+
case /* optional string purposeFreeOfChargeReason */ 11:
|
|
103
99
|
message.purposeFreeOfChargeReason = reader.string();
|
|
104
100
|
break;
|
|
105
|
-
case /* optional int32 purposeDailyCalls */
|
|
101
|
+
case /* optional int32 purposeDailyCalls */ 12:
|
|
106
102
|
message.purposeDailyCalls = reader.int32();
|
|
107
103
|
break;
|
|
108
|
-
case /* bool handlesPersonalData */
|
|
104
|
+
case /* bool handlesPersonalData */ 13:
|
|
109
105
|
message.handlesPersonalData = reader.bool();
|
|
110
106
|
break;
|
|
111
107
|
default:
|
|
@@ -147,21 +143,18 @@ class PurposeTemplateV2$Type extends MessageType {
|
|
|
147
143
|
/* string purposeDescription = 9; */
|
|
148
144
|
if (message.purposeDescription !== "")
|
|
149
145
|
writer.tag(9, WireType.LengthDelimited).string(message.purposeDescription);
|
|
150
|
-
/*
|
|
151
|
-
if (message.purposeRiskAnalysisForm)
|
|
152
|
-
RiskAnalysisFormTemplateV2.internalBinaryWrite(message.purposeRiskAnalysisForm, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
|
153
|
-
/* bool purposeIsFreeOfCharge = 11; */
|
|
146
|
+
/* bool purposeIsFreeOfCharge = 10; */
|
|
154
147
|
if (message.purposeIsFreeOfCharge !== false)
|
|
155
|
-
writer.tag(
|
|
156
|
-
/* optional string purposeFreeOfChargeReason =
|
|
148
|
+
writer.tag(10, WireType.Varint).bool(message.purposeIsFreeOfCharge);
|
|
149
|
+
/* optional string purposeFreeOfChargeReason = 11; */
|
|
157
150
|
if (message.purposeFreeOfChargeReason !== undefined)
|
|
158
|
-
writer.tag(
|
|
159
|
-
/* optional int32 purposeDailyCalls =
|
|
151
|
+
writer.tag(11, WireType.LengthDelimited).string(message.purposeFreeOfChargeReason);
|
|
152
|
+
/* optional int32 purposeDailyCalls = 12; */
|
|
160
153
|
if (message.purposeDailyCalls !== undefined)
|
|
161
|
-
writer.tag(
|
|
162
|
-
/* bool handlesPersonalData =
|
|
154
|
+
writer.tag(12, WireType.Varint).int32(message.purposeDailyCalls);
|
|
155
|
+
/* bool handlesPersonalData = 13; */
|
|
163
156
|
if (message.handlesPersonalData !== false)
|
|
164
|
-
writer.tag(
|
|
157
|
+
writer.tag(13, WireType.Varint).bool(message.handlesPersonalData);
|
|
165
158
|
let u = options.writeUnknownFields;
|
|
166
159
|
if (u !== false)
|
|
167
160
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -172,395 +165,3 @@ class PurposeTemplateV2$Type extends MessageType {
|
|
|
172
165
|
* @generated MessageType for protobuf message purpose.template.v2.PurposeTemplateV2
|
|
173
166
|
*/
|
|
174
167
|
export const PurposeTemplateV2 = new PurposeTemplateV2$Type();
|
|
175
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
176
|
-
class RiskAnalysisFormTemplateV2$Type extends MessageType {
|
|
177
|
-
constructor() {
|
|
178
|
-
super("purpose.template.v2.RiskAnalysisFormTemplateV2", [
|
|
179
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
180
|
-
{ no: 2, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
181
|
-
{ no: 3, name: "singleAnswers", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => RiskAnalysisTemplateSingleAnswerV2 },
|
|
182
|
-
{ no: 4, name: "multiAnswers", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => RiskAnalysisTemplateMultiAnswerV2 }
|
|
183
|
-
]);
|
|
184
|
-
}
|
|
185
|
-
create(value) {
|
|
186
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
187
|
-
message.id = "";
|
|
188
|
-
message.version = "";
|
|
189
|
-
message.singleAnswers = [];
|
|
190
|
-
message.multiAnswers = [];
|
|
191
|
-
if (value !== undefined)
|
|
192
|
-
reflectionMergePartial(this, message, value);
|
|
193
|
-
return message;
|
|
194
|
-
}
|
|
195
|
-
internalBinaryRead(reader, length, options, target) {
|
|
196
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
197
|
-
while (reader.pos < end) {
|
|
198
|
-
let [fieldNo, wireType] = reader.tag();
|
|
199
|
-
switch (fieldNo) {
|
|
200
|
-
case /* string id */ 1:
|
|
201
|
-
message.id = reader.string();
|
|
202
|
-
break;
|
|
203
|
-
case /* string version */ 2:
|
|
204
|
-
message.version = reader.string();
|
|
205
|
-
break;
|
|
206
|
-
case /* repeated purpose.template.v2.RiskAnalysisTemplateSingleAnswerV2 singleAnswers */ 3:
|
|
207
|
-
message.singleAnswers.push(RiskAnalysisTemplateSingleAnswerV2.internalBinaryRead(reader, reader.uint32(), options));
|
|
208
|
-
break;
|
|
209
|
-
case /* repeated purpose.template.v2.RiskAnalysisTemplateMultiAnswerV2 multiAnswers */ 4:
|
|
210
|
-
message.multiAnswers.push(RiskAnalysisTemplateMultiAnswerV2.internalBinaryRead(reader, reader.uint32(), options));
|
|
211
|
-
break;
|
|
212
|
-
default:
|
|
213
|
-
let u = options.readUnknownField;
|
|
214
|
-
if (u === "throw")
|
|
215
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
216
|
-
let d = reader.skip(wireType);
|
|
217
|
-
if (u !== false)
|
|
218
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
return message;
|
|
222
|
-
}
|
|
223
|
-
internalBinaryWrite(message, writer, options) {
|
|
224
|
-
/* string id = 1; */
|
|
225
|
-
if (message.id !== "")
|
|
226
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
227
|
-
/* string version = 2; */
|
|
228
|
-
if (message.version !== "")
|
|
229
|
-
writer.tag(2, WireType.LengthDelimited).string(message.version);
|
|
230
|
-
/* repeated purpose.template.v2.RiskAnalysisTemplateSingleAnswerV2 singleAnswers = 3; */
|
|
231
|
-
for (let i = 0; i < message.singleAnswers.length; i++)
|
|
232
|
-
RiskAnalysisTemplateSingleAnswerV2.internalBinaryWrite(message.singleAnswers[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
233
|
-
/* repeated purpose.template.v2.RiskAnalysisTemplateMultiAnswerV2 multiAnswers = 4; */
|
|
234
|
-
for (let i = 0; i < message.multiAnswers.length; i++)
|
|
235
|
-
RiskAnalysisTemplateMultiAnswerV2.internalBinaryWrite(message.multiAnswers[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
236
|
-
let u = options.writeUnknownFields;
|
|
237
|
-
if (u !== false)
|
|
238
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
239
|
-
return writer;
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
/**
|
|
243
|
-
* @generated MessageType for protobuf message purpose.template.v2.RiskAnalysisFormTemplateV2
|
|
244
|
-
*/
|
|
245
|
-
export const RiskAnalysisFormTemplateV2 = new RiskAnalysisFormTemplateV2$Type();
|
|
246
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
247
|
-
class RiskAnalysisTemplateSingleAnswerV2$Type extends MessageType {
|
|
248
|
-
constructor() {
|
|
249
|
-
super("purpose.template.v2.RiskAnalysisTemplateSingleAnswerV2", [
|
|
250
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
251
|
-
{ no: 2, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
252
|
-
{ no: 3, name: "value", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
253
|
-
{ no: 4, name: "editable", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
254
|
-
{ no: 5, name: "annotation", kind: "message", T: () => RiskAnalysisTemplateAnswerAnnotationV2 },
|
|
255
|
-
{ no: 6, name: "suggestedValues", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
256
|
-
]);
|
|
257
|
-
}
|
|
258
|
-
create(value) {
|
|
259
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
260
|
-
message.id = "";
|
|
261
|
-
message.key = "";
|
|
262
|
-
message.editable = false;
|
|
263
|
-
message.suggestedValues = [];
|
|
264
|
-
if (value !== undefined)
|
|
265
|
-
reflectionMergePartial(this, message, value);
|
|
266
|
-
return message;
|
|
267
|
-
}
|
|
268
|
-
internalBinaryRead(reader, length, options, target) {
|
|
269
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
270
|
-
while (reader.pos < end) {
|
|
271
|
-
let [fieldNo, wireType] = reader.tag();
|
|
272
|
-
switch (fieldNo) {
|
|
273
|
-
case /* string id */ 1:
|
|
274
|
-
message.id = reader.string();
|
|
275
|
-
break;
|
|
276
|
-
case /* string key */ 2:
|
|
277
|
-
message.key = reader.string();
|
|
278
|
-
break;
|
|
279
|
-
case /* optional string value */ 3:
|
|
280
|
-
message.value = reader.string();
|
|
281
|
-
break;
|
|
282
|
-
case /* bool editable */ 4:
|
|
283
|
-
message.editable = reader.bool();
|
|
284
|
-
break;
|
|
285
|
-
case /* optional purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationV2 annotation */ 5:
|
|
286
|
-
message.annotation = RiskAnalysisTemplateAnswerAnnotationV2.internalBinaryRead(reader, reader.uint32(), options, message.annotation);
|
|
287
|
-
break;
|
|
288
|
-
case /* repeated string suggestedValues */ 6:
|
|
289
|
-
message.suggestedValues.push(reader.string());
|
|
290
|
-
break;
|
|
291
|
-
default:
|
|
292
|
-
let u = options.readUnknownField;
|
|
293
|
-
if (u === "throw")
|
|
294
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
295
|
-
let d = reader.skip(wireType);
|
|
296
|
-
if (u !== false)
|
|
297
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
return message;
|
|
301
|
-
}
|
|
302
|
-
internalBinaryWrite(message, writer, options) {
|
|
303
|
-
/* string id = 1; */
|
|
304
|
-
if (message.id !== "")
|
|
305
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
306
|
-
/* string key = 2; */
|
|
307
|
-
if (message.key !== "")
|
|
308
|
-
writer.tag(2, WireType.LengthDelimited).string(message.key);
|
|
309
|
-
/* optional string value = 3; */
|
|
310
|
-
if (message.value !== undefined)
|
|
311
|
-
writer.tag(3, WireType.LengthDelimited).string(message.value);
|
|
312
|
-
/* bool editable = 4; */
|
|
313
|
-
if (message.editable !== false)
|
|
314
|
-
writer.tag(4, WireType.Varint).bool(message.editable);
|
|
315
|
-
/* optional purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationV2 annotation = 5; */
|
|
316
|
-
if (message.annotation)
|
|
317
|
-
RiskAnalysisTemplateAnswerAnnotationV2.internalBinaryWrite(message.annotation, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
318
|
-
/* repeated string suggestedValues = 6; */
|
|
319
|
-
for (let i = 0; i < message.suggestedValues.length; i++)
|
|
320
|
-
writer.tag(6, WireType.LengthDelimited).string(message.suggestedValues[i]);
|
|
321
|
-
let u = options.writeUnknownFields;
|
|
322
|
-
if (u !== false)
|
|
323
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
324
|
-
return writer;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
/**
|
|
328
|
-
* @generated MessageType for protobuf message purpose.template.v2.RiskAnalysisTemplateSingleAnswerV2
|
|
329
|
-
*/
|
|
330
|
-
export const RiskAnalysisTemplateSingleAnswerV2 = new RiskAnalysisTemplateSingleAnswerV2$Type();
|
|
331
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
332
|
-
class RiskAnalysisTemplateMultiAnswerV2$Type extends MessageType {
|
|
333
|
-
constructor() {
|
|
334
|
-
super("purpose.template.v2.RiskAnalysisTemplateMultiAnswerV2", [
|
|
335
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
336
|
-
{ no: 2, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
337
|
-
{ no: 3, name: "values", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
338
|
-
{ no: 4, name: "editable", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
339
|
-
{ no: 5, name: "annotation", kind: "message", T: () => RiskAnalysisTemplateAnswerAnnotationV2 }
|
|
340
|
-
]);
|
|
341
|
-
}
|
|
342
|
-
create(value) {
|
|
343
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
344
|
-
message.id = "";
|
|
345
|
-
message.key = "";
|
|
346
|
-
message.values = [];
|
|
347
|
-
message.editable = false;
|
|
348
|
-
if (value !== undefined)
|
|
349
|
-
reflectionMergePartial(this, message, value);
|
|
350
|
-
return message;
|
|
351
|
-
}
|
|
352
|
-
internalBinaryRead(reader, length, options, target) {
|
|
353
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
354
|
-
while (reader.pos < end) {
|
|
355
|
-
let [fieldNo, wireType] = reader.tag();
|
|
356
|
-
switch (fieldNo) {
|
|
357
|
-
case /* string id */ 1:
|
|
358
|
-
message.id = reader.string();
|
|
359
|
-
break;
|
|
360
|
-
case /* string key */ 2:
|
|
361
|
-
message.key = reader.string();
|
|
362
|
-
break;
|
|
363
|
-
case /* repeated string values */ 3:
|
|
364
|
-
message.values.push(reader.string());
|
|
365
|
-
break;
|
|
366
|
-
case /* bool editable */ 4:
|
|
367
|
-
message.editable = reader.bool();
|
|
368
|
-
break;
|
|
369
|
-
case /* optional purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationV2 annotation */ 5:
|
|
370
|
-
message.annotation = RiskAnalysisTemplateAnswerAnnotationV2.internalBinaryRead(reader, reader.uint32(), options, message.annotation);
|
|
371
|
-
break;
|
|
372
|
-
default:
|
|
373
|
-
let u = options.readUnknownField;
|
|
374
|
-
if (u === "throw")
|
|
375
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
376
|
-
let d = reader.skip(wireType);
|
|
377
|
-
if (u !== false)
|
|
378
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
return message;
|
|
382
|
-
}
|
|
383
|
-
internalBinaryWrite(message, writer, options) {
|
|
384
|
-
/* string id = 1; */
|
|
385
|
-
if (message.id !== "")
|
|
386
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
387
|
-
/* string key = 2; */
|
|
388
|
-
if (message.key !== "")
|
|
389
|
-
writer.tag(2, WireType.LengthDelimited).string(message.key);
|
|
390
|
-
/* repeated string values = 3; */
|
|
391
|
-
for (let i = 0; i < message.values.length; i++)
|
|
392
|
-
writer.tag(3, WireType.LengthDelimited).string(message.values[i]);
|
|
393
|
-
/* bool editable = 4; */
|
|
394
|
-
if (message.editable !== false)
|
|
395
|
-
writer.tag(4, WireType.Varint).bool(message.editable);
|
|
396
|
-
/* optional purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationV2 annotation = 5; */
|
|
397
|
-
if (message.annotation)
|
|
398
|
-
RiskAnalysisTemplateAnswerAnnotationV2.internalBinaryWrite(message.annotation, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
399
|
-
let u = options.writeUnknownFields;
|
|
400
|
-
if (u !== false)
|
|
401
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
402
|
-
return writer;
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
/**
|
|
406
|
-
* @generated MessageType for protobuf message purpose.template.v2.RiskAnalysisTemplateMultiAnswerV2
|
|
407
|
-
*/
|
|
408
|
-
export const RiskAnalysisTemplateMultiAnswerV2 = new RiskAnalysisTemplateMultiAnswerV2$Type();
|
|
409
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
410
|
-
class RiskAnalysisTemplateAnswerAnnotationV2$Type extends MessageType {
|
|
411
|
-
constructor() {
|
|
412
|
-
super("purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationV2", [
|
|
413
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
414
|
-
{ no: 2, name: "text", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
415
|
-
{ no: 3, name: "docs", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => RiskAnalysisTemplateAnswerAnnotationDocumentV2 }
|
|
416
|
-
]);
|
|
417
|
-
}
|
|
418
|
-
create(value) {
|
|
419
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
420
|
-
message.id = "";
|
|
421
|
-
message.text = "";
|
|
422
|
-
message.docs = [];
|
|
423
|
-
if (value !== undefined)
|
|
424
|
-
reflectionMergePartial(this, message, value);
|
|
425
|
-
return message;
|
|
426
|
-
}
|
|
427
|
-
internalBinaryRead(reader, length, options, target) {
|
|
428
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
429
|
-
while (reader.pos < end) {
|
|
430
|
-
let [fieldNo, wireType] = reader.tag();
|
|
431
|
-
switch (fieldNo) {
|
|
432
|
-
case /* string id */ 1:
|
|
433
|
-
message.id = reader.string();
|
|
434
|
-
break;
|
|
435
|
-
case /* string text */ 2:
|
|
436
|
-
message.text = reader.string();
|
|
437
|
-
break;
|
|
438
|
-
case /* repeated purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationDocumentV2 docs */ 3:
|
|
439
|
-
message.docs.push(RiskAnalysisTemplateAnswerAnnotationDocumentV2.internalBinaryRead(reader, reader.uint32(), options));
|
|
440
|
-
break;
|
|
441
|
-
default:
|
|
442
|
-
let u = options.readUnknownField;
|
|
443
|
-
if (u === "throw")
|
|
444
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
445
|
-
let d = reader.skip(wireType);
|
|
446
|
-
if (u !== false)
|
|
447
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
return message;
|
|
451
|
-
}
|
|
452
|
-
internalBinaryWrite(message, writer, options) {
|
|
453
|
-
/* string id = 1; */
|
|
454
|
-
if (message.id !== "")
|
|
455
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
456
|
-
/* string text = 2; */
|
|
457
|
-
if (message.text !== "")
|
|
458
|
-
writer.tag(2, WireType.LengthDelimited).string(message.text);
|
|
459
|
-
/* repeated purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationDocumentV2 docs = 3; */
|
|
460
|
-
for (let i = 0; i < message.docs.length; i++)
|
|
461
|
-
RiskAnalysisTemplateAnswerAnnotationDocumentV2.internalBinaryWrite(message.docs[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
462
|
-
let u = options.writeUnknownFields;
|
|
463
|
-
if (u !== false)
|
|
464
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
465
|
-
return writer;
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
/**
|
|
469
|
-
* @generated MessageType for protobuf message purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationV2
|
|
470
|
-
*/
|
|
471
|
-
export const RiskAnalysisTemplateAnswerAnnotationV2 = new RiskAnalysisTemplateAnswerAnnotationV2$Type();
|
|
472
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
473
|
-
class RiskAnalysisTemplateAnswerAnnotationDocumentV2$Type extends MessageType {
|
|
474
|
-
constructor() {
|
|
475
|
-
super("purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationDocumentV2", [
|
|
476
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
477
|
-
{ no: 2, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
478
|
-
{ no: 3, name: "prettyName", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
479
|
-
{ no: 4, name: "contentType", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
480
|
-
{ no: 5, name: "path", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
481
|
-
{ no: 6, name: "createdAt", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
482
|
-
{ no: 7, name: "checksum", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
483
|
-
]);
|
|
484
|
-
}
|
|
485
|
-
create(value) {
|
|
486
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
487
|
-
message.id = "";
|
|
488
|
-
message.name = "";
|
|
489
|
-
message.prettyName = "";
|
|
490
|
-
message.contentType = "";
|
|
491
|
-
message.path = "";
|
|
492
|
-
message.createdAt = 0n;
|
|
493
|
-
message.checksum = "";
|
|
494
|
-
if (value !== undefined)
|
|
495
|
-
reflectionMergePartial(this, message, value);
|
|
496
|
-
return message;
|
|
497
|
-
}
|
|
498
|
-
internalBinaryRead(reader, length, options, target) {
|
|
499
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
500
|
-
while (reader.pos < end) {
|
|
501
|
-
let [fieldNo, wireType] = reader.tag();
|
|
502
|
-
switch (fieldNo) {
|
|
503
|
-
case /* string id */ 1:
|
|
504
|
-
message.id = reader.string();
|
|
505
|
-
break;
|
|
506
|
-
case /* string name */ 2:
|
|
507
|
-
message.name = reader.string();
|
|
508
|
-
break;
|
|
509
|
-
case /* string prettyName */ 3:
|
|
510
|
-
message.prettyName = reader.string();
|
|
511
|
-
break;
|
|
512
|
-
case /* string contentType */ 4:
|
|
513
|
-
message.contentType = reader.string();
|
|
514
|
-
break;
|
|
515
|
-
case /* string path */ 5:
|
|
516
|
-
message.path = reader.string();
|
|
517
|
-
break;
|
|
518
|
-
case /* int64 createdAt */ 6:
|
|
519
|
-
message.createdAt = reader.int64().toBigInt();
|
|
520
|
-
break;
|
|
521
|
-
case /* string checksum */ 7:
|
|
522
|
-
message.checksum = reader.string();
|
|
523
|
-
break;
|
|
524
|
-
default:
|
|
525
|
-
let u = options.readUnknownField;
|
|
526
|
-
if (u === "throw")
|
|
527
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
528
|
-
let d = reader.skip(wireType);
|
|
529
|
-
if (u !== false)
|
|
530
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
return message;
|
|
534
|
-
}
|
|
535
|
-
internalBinaryWrite(message, writer, options) {
|
|
536
|
-
/* string id = 1; */
|
|
537
|
-
if (message.id !== "")
|
|
538
|
-
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
539
|
-
/* string name = 2; */
|
|
540
|
-
if (message.name !== "")
|
|
541
|
-
writer.tag(2, WireType.LengthDelimited).string(message.name);
|
|
542
|
-
/* string prettyName = 3; */
|
|
543
|
-
if (message.prettyName !== "")
|
|
544
|
-
writer.tag(3, WireType.LengthDelimited).string(message.prettyName);
|
|
545
|
-
/* string contentType = 4; */
|
|
546
|
-
if (message.contentType !== "")
|
|
547
|
-
writer.tag(4, WireType.LengthDelimited).string(message.contentType);
|
|
548
|
-
/* string path = 5; */
|
|
549
|
-
if (message.path !== "")
|
|
550
|
-
writer.tag(5, WireType.LengthDelimited).string(message.path);
|
|
551
|
-
/* int64 createdAt = 6; */
|
|
552
|
-
if (message.createdAt !== 0n)
|
|
553
|
-
writer.tag(6, WireType.Varint).int64(message.createdAt);
|
|
554
|
-
/* string checksum = 7; */
|
|
555
|
-
if (message.checksum !== "")
|
|
556
|
-
writer.tag(7, WireType.LengthDelimited).string(message.checksum);
|
|
557
|
-
let u = options.writeUnknownFields;
|
|
558
|
-
if (u !== false)
|
|
559
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
560
|
-
return writer;
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
/**
|
|
564
|
-
* @generated MessageType for protobuf message purpose.template.v2.RiskAnalysisTemplateAnswerAnnotationDocumentV2
|
|
565
|
-
*/
|
|
566
|
-
export const RiskAnalysisTemplateAnswerAnnotationDocumentV2 = new RiskAnalysisTemplateAnswerAnnotationDocumentV2$Type();
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from "./purpose/index.js";
|
|
|
4
4
|
export * from "./tenant/index.js";
|
|
5
5
|
export * from "./delegation/index.js";
|
|
6
6
|
export * from "./eservice-template/index.js";
|
|
7
|
+
export * from "./purpose-template/index.js";
|
|
7
8
|
export * from "./gen/v1/agreement/agreement.js";
|
|
8
9
|
export * from "./gen/v1/agreement/events.js";
|
|
9
10
|
export * from "./gen/v1/eservice/eservice.js";
|
|
@@ -24,4 +25,6 @@ export * from "./gen/v2/delegation/delegation.js";
|
|
|
24
25
|
export * from "./gen/v2/delegation/events.js";
|
|
25
26
|
export * from "./gen/v2/eservice-template/eservice-template.js";
|
|
26
27
|
export * from "./gen/v2/eservice-template/events.js";
|
|
28
|
+
export * from "./gen/v2/purpose-template/purpose-template.js";
|
|
29
|
+
export * from "./gen/v2/purpose-template/events.js";
|
|
27
30
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAE1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iDAAiD,CAAC;AAChE,cAAc,sCAAsC,CAAC;AACrD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -4,6 +4,7 @@ export * from "./purpose/index.js";
|
|
|
4
4
|
export * from "./tenant/index.js";
|
|
5
5
|
export * from "./delegation/index.js";
|
|
6
6
|
export * from "./eservice-template/index.js";
|
|
7
|
+
export * from "./purpose-template/index.js";
|
|
7
8
|
export * from "./gen/v1/agreement/agreement.js";
|
|
8
9
|
export * from "./gen/v1/agreement/events.js";
|
|
9
10
|
export * from "./gen/v1/eservice/eservice.js";
|
|
@@ -24,3 +25,5 @@ export * from "./gen/v2/delegation/delegation.js";
|
|
|
24
25
|
export * from "./gen/v2/delegation/events.js";
|
|
25
26
|
export * from "./gen/v2/eservice-template/eservice-template.js";
|
|
26
27
|
export * from "./gen/v2/eservice-template/events.js";
|
|
28
|
+
export * from "./gen/v2/purpose-template/purpose-template.js";
|
|
29
|
+
export * from "./gen/v2/purpose-template/events.js";
|
|
@@ -19,84 +19,84 @@ export declare const PurposeTemplateEvent: z.ZodEffects<z.ZodDiscriminatedUnion<
|
|
|
19
19
|
event_version: 2;
|
|
20
20
|
type: "PurposeTemplateAdded";
|
|
21
21
|
version: number;
|
|
22
|
-
data: import("../
|
|
22
|
+
data: import("../index.js").PurposeTemplateAddedV2;
|
|
23
23
|
stream_id: string;
|
|
24
24
|
timestamp: string;
|
|
25
25
|
} | {
|
|
26
26
|
event_version: 2;
|
|
27
27
|
type: "PurposeTemplateEServiceLinked";
|
|
28
28
|
version: number;
|
|
29
|
-
data: import("../
|
|
29
|
+
data: import("../index.js").PurposeTemplateEServiceLinkedV2;
|
|
30
30
|
stream_id: string;
|
|
31
31
|
timestamp: string;
|
|
32
32
|
} | {
|
|
33
33
|
event_version: 2;
|
|
34
34
|
type: "PurposeTemplateEServiceUnlinked";
|
|
35
35
|
version: number;
|
|
36
|
-
data: import("../
|
|
36
|
+
data: import("../index.js").PurposeTemplateEServiceUnlinkedV2;
|
|
37
37
|
stream_id: string;
|
|
38
38
|
timestamp: string;
|
|
39
39
|
} | {
|
|
40
40
|
event_version: 2;
|
|
41
41
|
type: "PurposeTemplateDraftUpdated";
|
|
42
42
|
version: number;
|
|
43
|
-
data: import("../
|
|
43
|
+
data: import("../index.js").PurposeTemplateDraftUpdatedV2;
|
|
44
44
|
stream_id: string;
|
|
45
45
|
timestamp: string;
|
|
46
46
|
} | {
|
|
47
47
|
event_version: 2;
|
|
48
48
|
type: "PurposeTemplateDraftDeleted";
|
|
49
49
|
version: number;
|
|
50
|
-
data: import("../
|
|
50
|
+
data: import("../index.js").PurposeTemplateDraftDeletedV2;
|
|
51
51
|
stream_id: string;
|
|
52
52
|
timestamp: string;
|
|
53
53
|
} | {
|
|
54
54
|
event_version: 2;
|
|
55
55
|
type: "PurposeTemplatePublished";
|
|
56
56
|
version: number;
|
|
57
|
-
data: import("../
|
|
57
|
+
data: import("../index.js").PurposeTemplatePublishedV2;
|
|
58
58
|
stream_id: string;
|
|
59
59
|
timestamp: string;
|
|
60
60
|
} | {
|
|
61
61
|
event_version: 2;
|
|
62
62
|
type: "PurposeTemplateUnsuspended";
|
|
63
63
|
version: number;
|
|
64
|
-
data: import("../
|
|
64
|
+
data: import("../index.js").PurposeTemplateUnsuspendedV2;
|
|
65
65
|
stream_id: string;
|
|
66
66
|
timestamp: string;
|
|
67
67
|
} | {
|
|
68
68
|
event_version: 2;
|
|
69
69
|
type: "PurposeTemplateSuspended";
|
|
70
70
|
version: number;
|
|
71
|
-
data: import("../
|
|
71
|
+
data: import("../index.js").PurposeTemplateSuspendedV2;
|
|
72
72
|
stream_id: string;
|
|
73
73
|
timestamp: string;
|
|
74
74
|
} | {
|
|
75
75
|
event_version: 2;
|
|
76
76
|
type: "PurposeTemplateArchived";
|
|
77
77
|
version: number;
|
|
78
|
-
data: import("../
|
|
78
|
+
data: import("../index.js").PurposeTemplateArchivedV2;
|
|
79
79
|
stream_id: string;
|
|
80
80
|
timestamp: string;
|
|
81
81
|
} | {
|
|
82
82
|
event_version: 2;
|
|
83
83
|
type: "PurposeTemplateAnnotationDocumentAdded";
|
|
84
84
|
version: number;
|
|
85
|
-
data: import("../
|
|
85
|
+
data: import("../index.js").PurposeTemplateAnnotationDocumentAddedV2;
|
|
86
86
|
stream_id: string;
|
|
87
87
|
timestamp: string;
|
|
88
88
|
} | {
|
|
89
89
|
event_version: 2;
|
|
90
90
|
type: "PurposeTemplateAnnotationDocumentDeleted";
|
|
91
91
|
version: number;
|
|
92
|
-
data: import("../
|
|
92
|
+
data: import("../index.js").PurposeTemplateAnnotationDocumentDeletedV2;
|
|
93
93
|
stream_id: string;
|
|
94
94
|
timestamp: string;
|
|
95
95
|
} | {
|
|
96
96
|
event_version: 2;
|
|
97
97
|
type: "PurposeTemplateAnnotationDocumentUpdated";
|
|
98
98
|
version: number;
|
|
99
|
-
data: import("../
|
|
99
|
+
data: import("../index.js").PurposeTemplateAnnotationDocumentUpdatedV2;
|
|
100
100
|
stream_id: string;
|
|
101
101
|
timestamp: string;
|
|
102
102
|
}, z.objectInputType<{
|
package/package.json
CHANGED
|
@@ -55,8 +55,17 @@ message PurposeTemplateAnnotationDocumentDeletedV2 {
|
|
|
55
55
|
PurposeTemplateV2 purposeTemplate = 1;
|
|
56
56
|
string documentId = 2;
|
|
57
57
|
}
|
|
58
|
+
|
|
58
59
|
message PurposeTemplateAnnotationDocumentUpdatedV2 {
|
|
59
60
|
PurposeTemplateV2 purposeTemplate = 1;
|
|
60
61
|
string documentId = 2;
|
|
61
62
|
string answerId = 3;
|
|
62
|
-
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
message RiskAnalysisTemplateDocumentGeneratedV2 {
|
|
66
|
+
PurposeTemplateV2 purposeTemplate = 1;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
message RiskAnalysisTemplateSignedDocumentGeneratedV2 {
|
|
70
|
+
PurposeTemplateV2 purposeTemplate = 1;
|
|
71
|
+
}
|
|
@@ -21,49 +21,8 @@ message PurposeTemplateV2 {
|
|
|
21
21
|
optional int64 updatedAt = 7;
|
|
22
22
|
string purposeTitle = 8;
|
|
23
23
|
string purposeDescription = 9;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
optional
|
|
27
|
-
|
|
28
|
-
bool handlesPersonalData = 14;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
message RiskAnalysisFormTemplateV2 {
|
|
32
|
-
string id = 1;
|
|
33
|
-
string version = 2;
|
|
34
|
-
repeated RiskAnalysisTemplateSingleAnswerV2 singleAnswers = 3;
|
|
35
|
-
repeated RiskAnalysisTemplateMultiAnswerV2 multiAnswers = 4;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
message RiskAnalysisTemplateSingleAnswerV2 {
|
|
39
|
-
string id = 1;
|
|
40
|
-
string key = 2;
|
|
41
|
-
optional string value = 3;
|
|
42
|
-
bool editable = 4;
|
|
43
|
-
optional RiskAnalysisTemplateAnswerAnnotationV2 annotation = 5;
|
|
44
|
-
repeated string suggestedValues = 6;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
message RiskAnalysisTemplateMultiAnswerV2 {
|
|
48
|
-
string id = 1;
|
|
49
|
-
string key = 2;
|
|
50
|
-
repeated string values = 3;
|
|
51
|
-
bool editable = 4;
|
|
52
|
-
optional RiskAnalysisTemplateAnswerAnnotationV2 annotation = 5;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
message RiskAnalysisTemplateAnswerAnnotationV2 {
|
|
56
|
-
string id = 1;
|
|
57
|
-
string text = 2;
|
|
58
|
-
repeated RiskAnalysisTemplateAnswerAnnotationDocumentV2 docs = 3;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
message RiskAnalysisTemplateAnswerAnnotationDocumentV2 {
|
|
62
|
-
string id = 1;
|
|
63
|
-
string name = 2;
|
|
64
|
-
string prettyName = 3;
|
|
65
|
-
string contentType = 4;
|
|
66
|
-
string path = 5;
|
|
67
|
-
int64 createdAt = 6;
|
|
68
|
-
string checksum = 7;
|
|
24
|
+
bool purposeIsFreeOfCharge = 10;
|
|
25
|
+
optional string purposeFreeOfChargeReason = 11;
|
|
26
|
+
optional int32 purposeDailyCalls = 12;
|
|
27
|
+
bool handlesPersonalData = 13;
|
|
69
28
|
}
|
package/src/index.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from "./purpose/index.js";
|
|
|
4
4
|
export * from "./tenant/index.js";
|
|
5
5
|
export * from "./delegation/index.js";
|
|
6
6
|
export * from "./eservice-template/index.js";
|
|
7
|
+
export * from "./purpose-template/index.js";
|
|
7
8
|
|
|
8
9
|
export * from "./gen/v1/agreement/agreement.js";
|
|
9
10
|
export * from "./gen/v1/agreement/events.js";
|
|
@@ -26,3 +27,5 @@ export * from "./gen/v2/delegation/delegation.js";
|
|
|
26
27
|
export * from "./gen/v2/delegation/events.js";
|
|
27
28
|
export * from "./gen/v2/eservice-template/eservice-template.js";
|
|
28
29
|
export * from "./gen/v2/eservice-template/events.js";
|
|
30
|
+
export * from "./gen/v2/purpose-template/purpose-template.js";
|
|
31
|
+
export * from "./gen/v2/purpose-template/events.js";
|