@pagopa/interop-outbound-models 1.0.6-d → 1.0.6-e
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.
|
@@ -44,6 +44,14 @@ export interface EServiceV2 {
|
|
|
44
44
|
* @generated from protobuf field: optional bool isSignalHubEnabled = 9;
|
|
45
45
|
*/
|
|
46
46
|
isSignalHubEnabled?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* @generated from protobuf field: optional bool isDelegable = 10;
|
|
49
|
+
*/
|
|
50
|
+
isDelegable?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* @generated from protobuf field: optional bool isClientAccessDelegable = 11;
|
|
53
|
+
*/
|
|
54
|
+
isClientAccessDelegable?: boolean;
|
|
47
55
|
}
|
|
48
56
|
/**
|
|
49
57
|
* @generated from protobuf message eservice.v2.EServiceAttributeValueV2
|
|
@@ -84,6 +92,19 @@ export interface EServiceAttributesV2 {
|
|
|
84
92
|
*/
|
|
85
93
|
verified: EServiceAttributeV2[];
|
|
86
94
|
}
|
|
95
|
+
/**
|
|
96
|
+
* @generated from protobuf message eservice.v2.DescriptorRejectionReasonV2
|
|
97
|
+
*/
|
|
98
|
+
export interface DescriptorRejectionReasonV2 {
|
|
99
|
+
/**
|
|
100
|
+
* @generated from protobuf field: string rejectionReason = 1;
|
|
101
|
+
*/
|
|
102
|
+
rejectionReason: string;
|
|
103
|
+
/**
|
|
104
|
+
* @generated from protobuf field: int64 rejectedAt = 2;
|
|
105
|
+
*/
|
|
106
|
+
rejectedAt: bigint;
|
|
107
|
+
}
|
|
87
108
|
/**
|
|
88
109
|
* @generated from protobuf message eservice.v2.EServiceDescriptorV2
|
|
89
110
|
*/
|
|
@@ -160,6 +181,10 @@ export interface EServiceDescriptorV2 {
|
|
|
160
181
|
* @generated from protobuf field: eservice.v2.EServiceAttributesV2 attributes = 18;
|
|
161
182
|
*/
|
|
162
183
|
attributes?: EServiceAttributesV2;
|
|
184
|
+
/**
|
|
185
|
+
* @generated from protobuf field: repeated eservice.v2.DescriptorRejectionReasonV2 rejectionReasons = 19;
|
|
186
|
+
*/
|
|
187
|
+
rejectionReasons: DescriptorRejectionReasonV2[];
|
|
163
188
|
}
|
|
164
189
|
/**
|
|
165
190
|
* @generated from protobuf message eservice.v2.EServiceDocumentV2
|
|
@@ -213,7 +238,11 @@ export declare enum EServiceDescriptorStateV2 {
|
|
|
213
238
|
/**
|
|
214
239
|
* @generated from protobuf enum value: ARCHIVED = 4;
|
|
215
240
|
*/
|
|
216
|
-
ARCHIVED = 4
|
|
241
|
+
ARCHIVED = 4,
|
|
242
|
+
/**
|
|
243
|
+
* @generated from protobuf enum value: WAITING_FOR_APPROVAL = 5;
|
|
244
|
+
*/
|
|
245
|
+
WAITING_FOR_APPROVAL = 5
|
|
217
246
|
}
|
|
218
247
|
/**
|
|
219
248
|
* @generated from protobuf enum eservice.v2.EServiceTechnologyV2
|
|
@@ -294,6 +323,16 @@ declare class EServiceAttributesV2$Type extends MessageType<EServiceAttributesV2
|
|
|
294
323
|
* @generated MessageType for protobuf message eservice.v2.EServiceAttributesV2
|
|
295
324
|
*/
|
|
296
325
|
export declare const EServiceAttributesV2: EServiceAttributesV2$Type;
|
|
326
|
+
declare class DescriptorRejectionReasonV2$Type extends MessageType<DescriptorRejectionReasonV2> {
|
|
327
|
+
constructor();
|
|
328
|
+
create(value?: PartialMessage<DescriptorRejectionReasonV2>): DescriptorRejectionReasonV2;
|
|
329
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DescriptorRejectionReasonV2): DescriptorRejectionReasonV2;
|
|
330
|
+
internalBinaryWrite(message: DescriptorRejectionReasonV2, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* @generated MessageType for protobuf message eservice.v2.DescriptorRejectionReasonV2
|
|
334
|
+
*/
|
|
335
|
+
export declare const DescriptorRejectionReasonV2: DescriptorRejectionReasonV2$Type;
|
|
297
336
|
declare class EServiceDescriptorV2$Type extends MessageType<EServiceDescriptorV2> {
|
|
298
337
|
constructor();
|
|
299
338
|
create(value?: PartialMessage<EServiceDescriptorV2>): EServiceDescriptorV2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eservice.d.ts","sourceRoot":"","sources":["../../../../src/gen/v2/eservice/eservice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD;;GAEG;AACH,MAAM,WAAW,UAAU;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,oBAAoB,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,oBAAoB,EAAE,CAAC;IACpC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,EAAE,cAAc,CAAC;IACrB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;
|
|
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,sB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
|
* @generated from protobuf enum value: ARCHIVED = 4;
|
|
28
28
|
*/
|
|
29
29
|
EServiceDescriptorStateV2[EServiceDescriptorStateV2["ARCHIVED"] = 4] = "ARCHIVED";
|
|
30
|
+
/**
|
|
31
|
+
* @generated from protobuf enum value: WAITING_FOR_APPROVAL = 5;
|
|
32
|
+
*/
|
|
33
|
+
EServiceDescriptorStateV2[EServiceDescriptorStateV2["WAITING_FOR_APPROVAL"] = 5] = "WAITING_FOR_APPROVAL";
|
|
30
34
|
})(EServiceDescriptorStateV2 || (EServiceDescriptorStateV2 = {}));
|
|
31
35
|
/**
|
|
32
36
|
* @generated from protobuf enum eservice.v2.EServiceTechnologyV2
|
|
@@ -82,7 +86,9 @@ class EServiceV2$Type extends MessageType {
|
|
|
82
86
|
{ no: 6, name: "descriptors", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => EServiceDescriptorV2 },
|
|
83
87
|
{ no: 7, name: "createdAt", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
84
88
|
{ no: 8, name: "mode", kind: "enum", T: () => ["eservice.v2.EServiceModeV2", EServiceModeV2] },
|
|
85
|
-
{ no: 9, name: "isSignalHubEnabled", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
|
|
89
|
+
{ no: 9, name: "isSignalHubEnabled", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
90
|
+
{ no: 10, name: "isDelegable", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
91
|
+
{ no: 11, name: "isClientAccessDelegable", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
|
|
86
92
|
]);
|
|
87
93
|
}
|
|
88
94
|
create(value) {
|
|
@@ -131,6 +137,12 @@ class EServiceV2$Type extends MessageType {
|
|
|
131
137
|
case /* optional bool isSignalHubEnabled */ 9:
|
|
132
138
|
message.isSignalHubEnabled = reader.bool();
|
|
133
139
|
break;
|
|
140
|
+
case /* optional bool isDelegable */ 10:
|
|
141
|
+
message.isDelegable = reader.bool();
|
|
142
|
+
break;
|
|
143
|
+
case /* optional bool isClientAccessDelegable */ 11:
|
|
144
|
+
message.isClientAccessDelegable = reader.bool();
|
|
145
|
+
break;
|
|
134
146
|
default:
|
|
135
147
|
let u = options.readUnknownField;
|
|
136
148
|
if (u === "throw")
|
|
@@ -170,6 +182,12 @@ class EServiceV2$Type extends MessageType {
|
|
|
170
182
|
/* optional bool isSignalHubEnabled = 9; */
|
|
171
183
|
if (message.isSignalHubEnabled !== undefined)
|
|
172
184
|
writer.tag(9, WireType.Varint).bool(message.isSignalHubEnabled);
|
|
185
|
+
/* optional bool isDelegable = 10; */
|
|
186
|
+
if (message.isDelegable !== undefined)
|
|
187
|
+
writer.tag(10, WireType.Varint).bool(message.isDelegable);
|
|
188
|
+
/* optional bool isClientAccessDelegable = 11; */
|
|
189
|
+
if (message.isClientAccessDelegable !== undefined)
|
|
190
|
+
writer.tag(11, WireType.Varint).bool(message.isClientAccessDelegable);
|
|
173
191
|
let u = options.writeUnknownFields;
|
|
174
192
|
if (u !== false)
|
|
175
193
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -346,6 +364,61 @@ class EServiceAttributesV2$Type extends MessageType {
|
|
|
346
364
|
*/
|
|
347
365
|
export const EServiceAttributesV2 = new EServiceAttributesV2$Type();
|
|
348
366
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
367
|
+
class DescriptorRejectionReasonV2$Type extends MessageType {
|
|
368
|
+
constructor() {
|
|
369
|
+
super("eservice.v2.DescriptorRejectionReasonV2", [
|
|
370
|
+
{ no: 1, name: "rejectionReason", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
371
|
+
{ no: 2, name: "rejectedAt", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
372
|
+
]);
|
|
373
|
+
}
|
|
374
|
+
create(value) {
|
|
375
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
376
|
+
message.rejectionReason = "";
|
|
377
|
+
message.rejectedAt = 0n;
|
|
378
|
+
if (value !== undefined)
|
|
379
|
+
reflectionMergePartial(this, message, value);
|
|
380
|
+
return message;
|
|
381
|
+
}
|
|
382
|
+
internalBinaryRead(reader, length, options, target) {
|
|
383
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
384
|
+
while (reader.pos < end) {
|
|
385
|
+
let [fieldNo, wireType] = reader.tag();
|
|
386
|
+
switch (fieldNo) {
|
|
387
|
+
case /* string rejectionReason */ 1:
|
|
388
|
+
message.rejectionReason = reader.string();
|
|
389
|
+
break;
|
|
390
|
+
case /* int64 rejectedAt */ 2:
|
|
391
|
+
message.rejectedAt = reader.int64().toBigInt();
|
|
392
|
+
break;
|
|
393
|
+
default:
|
|
394
|
+
let u = options.readUnknownField;
|
|
395
|
+
if (u === "throw")
|
|
396
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
397
|
+
let d = reader.skip(wireType);
|
|
398
|
+
if (u !== false)
|
|
399
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
return message;
|
|
403
|
+
}
|
|
404
|
+
internalBinaryWrite(message, writer, options) {
|
|
405
|
+
/* string rejectionReason = 1; */
|
|
406
|
+
if (message.rejectionReason !== "")
|
|
407
|
+
writer.tag(1, WireType.LengthDelimited).string(message.rejectionReason);
|
|
408
|
+
/* int64 rejectedAt = 2; */
|
|
409
|
+
if (message.rejectedAt !== 0n)
|
|
410
|
+
writer.tag(2, WireType.Varint).int64(message.rejectedAt);
|
|
411
|
+
let u = options.writeUnknownFields;
|
|
412
|
+
if (u !== false)
|
|
413
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
414
|
+
return writer;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* @generated MessageType for protobuf message eservice.v2.DescriptorRejectionReasonV2
|
|
419
|
+
*/
|
|
420
|
+
export const DescriptorRejectionReasonV2 = new DescriptorRejectionReasonV2$Type();
|
|
421
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
349
422
|
class EServiceDescriptorV2$Type extends MessageType {
|
|
350
423
|
constructor() {
|
|
351
424
|
super("eservice.v2.EServiceDescriptorV2", [
|
|
@@ -366,7 +439,8 @@ class EServiceDescriptorV2$Type extends MessageType {
|
|
|
366
439
|
{ no: 15, name: "suspendedAt", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
367
440
|
{ no: 16, name: "deprecatedAt", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
368
441
|
{ no: 17, name: "archivedAt", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
369
|
-
{ no: 18, name: "attributes", kind: "message", T: () => EServiceAttributesV2 }
|
|
442
|
+
{ no: 18, name: "attributes", kind: "message", T: () => EServiceAttributesV2 },
|
|
443
|
+
{ no: 19, name: "rejectionReasons", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => DescriptorRejectionReasonV2 }
|
|
370
444
|
]);
|
|
371
445
|
}
|
|
372
446
|
create(value) {
|
|
@@ -382,6 +456,7 @@ class EServiceDescriptorV2$Type extends MessageType {
|
|
|
382
456
|
message.agreementApprovalPolicy = 0;
|
|
383
457
|
message.createdAt = 0n;
|
|
384
458
|
message.serverUrls = [];
|
|
459
|
+
message.rejectionReasons = [];
|
|
385
460
|
if (value !== undefined)
|
|
386
461
|
reflectionMergePartial(this, message, value);
|
|
387
462
|
return message;
|
|
@@ -445,6 +520,9 @@ class EServiceDescriptorV2$Type extends MessageType {
|
|
|
445
520
|
case /* eservice.v2.EServiceAttributesV2 attributes */ 18:
|
|
446
521
|
message.attributes = EServiceAttributesV2.internalBinaryRead(reader, reader.uint32(), options, message.attributes);
|
|
447
522
|
break;
|
|
523
|
+
case /* repeated eservice.v2.DescriptorRejectionReasonV2 rejectionReasons */ 19:
|
|
524
|
+
message.rejectionReasons.push(DescriptorRejectionReasonV2.internalBinaryRead(reader, reader.uint32(), options));
|
|
525
|
+
break;
|
|
448
526
|
default:
|
|
449
527
|
let u = options.readUnknownField;
|
|
450
528
|
if (u === "throw")
|
|
@@ -511,6 +589,9 @@ class EServiceDescriptorV2$Type extends MessageType {
|
|
|
511
589
|
/* eservice.v2.EServiceAttributesV2 attributes = 18; */
|
|
512
590
|
if (message.attributes)
|
|
513
591
|
EServiceAttributesV2.internalBinaryWrite(message.attributes, writer.tag(18, WireType.LengthDelimited).fork(), options).join();
|
|
592
|
+
/* repeated eservice.v2.DescriptorRejectionReasonV2 rejectionReasons = 19; */
|
|
593
|
+
for (let i = 0; i < message.rejectionReasons.length; i++)
|
|
594
|
+
DescriptorRejectionReasonV2.internalBinaryWrite(message.rejectionReasons[i], writer.tag(19, WireType.LengthDelimited).fork(), options).join();
|
|
514
595
|
let u = options.writeUnknownFields;
|
|
515
596
|
if (u !== false)
|
|
516
597
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
package/package.json
CHANGED
|
@@ -12,6 +12,8 @@ message EServiceV2 {
|
|
|
12
12
|
int64 createdAt = 7;
|
|
13
13
|
EServiceModeV2 mode = 8;
|
|
14
14
|
optional bool isSignalHubEnabled = 9;
|
|
15
|
+
optional bool isDelegable = 10;
|
|
16
|
+
optional bool isClientAccessDelegable = 11;
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
message EServiceAttributeValueV2 {
|
|
@@ -29,6 +31,11 @@ message EServiceAttributesV2 {
|
|
|
29
31
|
repeated EServiceAttributeV2 verified = 3;
|
|
30
32
|
}
|
|
31
33
|
|
|
34
|
+
message DescriptorRejectionReasonV2 {
|
|
35
|
+
string rejectionReason = 1;
|
|
36
|
+
int64 rejectedAt = 2;
|
|
37
|
+
}
|
|
38
|
+
|
|
32
39
|
message EServiceDescriptorV2 {
|
|
33
40
|
string id = 1;
|
|
34
41
|
int64 version = 2;
|
|
@@ -48,6 +55,7 @@ message EServiceDescriptorV2 {
|
|
|
48
55
|
optional int64 deprecatedAt = 16;
|
|
49
56
|
optional int64 archivedAt = 17;
|
|
50
57
|
EServiceAttributesV2 attributes = 18;
|
|
58
|
+
repeated DescriptorRejectionReasonV2 rejectionReasons = 19;
|
|
51
59
|
}
|
|
52
60
|
|
|
53
61
|
message EServiceDocumentV2 {
|
|
@@ -65,6 +73,7 @@ enum EServiceDescriptorStateV2 {
|
|
|
65
73
|
DEPRECATED = 2;
|
|
66
74
|
SUSPENDED = 3;
|
|
67
75
|
ARCHIVED = 4;
|
|
76
|
+
WAITING_FOR_APPROVAL = 5;
|
|
68
77
|
}
|
|
69
78
|
|
|
70
79
|
enum EServiceTechnologyV2 {
|