@diia-inhouse/types 12.0.2 → 12.0.3
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/package.json +3 -3
- package/dist/actions/actionArguments.js +0 -3
- package/dist/actions/actionArguments.js.map +0 -1
- package/dist/actions/actionContext.js +0 -3
- package/dist/actions/actionContext.js.map +0 -1
- package/dist/actions/actionVersion.js +0 -20
- package/dist/actions/actionVersion.js.map +0 -1
- package/dist/actions/index.js +0 -20
- package/dist/actions/index.js.map +0 -1
- package/dist/address.js +0 -34
- package/dist/address.js.map +0 -1
- package/dist/codeName.js +0 -3
- package/dist/codeName.js.map +0 -1
- package/dist/common.js +0 -10
- package/dist/common.js.map +0 -1
- package/dist/documents/authDocument.js +0 -18
- package/dist/documents/authDocument.js.map +0 -1
- package/dist/documents/docStatus.js +0 -25
- package/dist/documents/docStatus.js.map +0 -1
- package/dist/documents/index.js +0 -38
- package/dist/documents/index.js.map +0 -1
- package/dist/documents/localization.js +0 -9
- package/dist/documents/localization.js.map +0 -1
- package/dist/documents/metadata.js +0 -3
- package/dist/documents/metadata.js.map +0 -1
- package/dist/documents/ticker.js +0 -3
- package/dist/documents/ticker.js.map +0 -1
- package/dist/durations.js +0 -20
- package/dist/durations.js.map +0 -1
- package/dist/file.js +0 -30
- package/dist/file.js.map +0 -1
- package/dist/generated/analytics.js +0 -731
- package/dist/generated/analytics.js.map +0 -1
- package/dist/generated/common.js +0 -136
- package/dist/generated/common.js.map +0 -1
- package/dist/generated/documents/authDocument.js +0 -83
- package/dist/generated/documents/authDocument.js.map +0 -1
- package/dist/generated/documents/documentData.js +0 -282
- package/dist/generated/documents/documentData.js.map +0 -1
- package/dist/generated/documents/nameValue.js +0 -166
- package/dist/generated/documents/nameValue.js.map +0 -1
- package/dist/generated/file/file.js +0 -168
- package/dist/generated/file/file.js.map +0 -1
- package/dist/generated/file/fileType.js +0 -97
- package/dist/generated/file/fileType.js.map +0 -1
- package/dist/generated/google/protobuf/struct.js +0 -485
- package/dist/generated/google/protobuf/struct.js.map +0 -1
- package/dist/generated/google/protobuf/timestamp.js +0 -93
- package/dist/generated/google/protobuf/timestamp.js.map +0 -1
- package/dist/generated/index.js +0 -154
- package/dist/generated/index.js.map +0 -1
- package/dist/generated/notificationMessage.js +0 -54
- package/dist/generated/notificationMessage.js.map +0 -1
- package/dist/generated/platformType.js +0 -61
- package/dist/generated/platformType.js.map +0 -1
- package/dist/generated/portal/poll/portalPollUserPermissions.js +0 -47
- package/dist/generated/portal/poll/portalPollUserPermissions.js.map +0 -1
- package/dist/generated/portal/portalUserPermissions.js +0 -139
- package/dist/generated/portal/portalUserPermissions.js.map +0 -1
- package/dist/generated/profileFeature.js +0 -564
- package/dist/generated/profileFeature.js.map +0 -1
- package/dist/generated/session/session.js +0 -201
- package/dist/generated/session/session.js.map +0 -1
- package/dist/generated/session/sessionType.js +0 -114
- package/dist/generated/session/sessionType.js.map +0 -1
- package/dist/generated/signing.js +0 -234
- package/dist/generated/signing.js.map +0 -1
- package/dist/generated/template.js +0 -287
- package/dist/generated/template.js.map +0 -1
- package/dist/generated/token/gender.js +0 -47
- package/dist/generated/token/gender.js.map +0 -1
- package/dist/generated/token/portalUser.js +0 -128
- package/dist/generated/token/portalUser.js.map +0 -1
- package/dist/generated/token/tokenData.js +0 -2206
- package/dist/generated/token/tokenData.js.map +0 -1
- package/dist/generated/token/user.js +0 -314
- package/dist/generated/token/user.js.map +0 -1
- package/dist/generated/version.js +0 -521
- package/dist/generated/version.js.map +0 -1
- package/dist/grpc.js +0 -48
- package/dist/grpc.js.map +0 -1
- package/dist/http.js +0 -378
- package/dist/http.js.map +0 -1
- package/dist/index.js +0 -37
- package/dist/index.js.map +0 -1
- package/dist/interfaces/index.js +0 -22
- package/dist/interfaces/index.js.map +0 -1
- package/dist/interfaces/notification.js +0 -49
- package/dist/interfaces/notification.js.map +0 -1
- package/dist/interfaces/onDestroy.js +0 -3
- package/dist/interfaces/onDestroy.js.map +0 -1
- package/dist/interfaces/onHealthCheck.js +0 -3
- package/dist/interfaces/onHealthCheck.js.map +0 -1
- package/dist/interfaces/onInit.js +0 -3
- package/dist/interfaces/onInit.js.map +0 -1
- package/dist/interfaces/onRegistrationsFinished.js +0 -3
- package/dist/interfaces/onRegistrationsFinished.js.map +0 -1
- package/dist/logger.js +0 -15
- package/dist/logger.js.map +0 -1
- package/dist/payment.js +0 -31
- package/dist/payment.js.map +0 -1
- package/dist/pdf.js +0 -14
- package/dist/pdf.js.map +0 -1
- package/dist/proto/analytics.proto +0 -53
- package/dist/proto/common.proto +0 -16
- package/dist/proto/documents/authDocument.proto +0 -11
- package/dist/proto/documents/documentData.proto +0 -28
- package/dist/proto/documents/nameValue.proto +0 -17
- package/dist/proto/file/file.proto +0 -17
- package/dist/proto/file/fileType.proto +0 -18
- package/dist/proto/notificationMessage.proto +0 -12
- package/dist/proto/platformType.proto +0 -13
- package/dist/proto/portal/poll/portalPollUserPermissions.proto +0 -11
- package/dist/proto/portal/portalUserPermissions.proto +0 -20
- package/dist/proto/profileFeature.proto +0 -51
- package/dist/proto/session/session.proto +0 -23
- package/dist/proto/session/sessionType.proto +0 -22
- package/dist/proto/signing.proto +0 -22
- package/dist/proto/template.proto +0 -25
- package/dist/proto/token/gender.proto +0 -11
- package/dist/proto/token/portalUser.proto +0 -14
- package/dist/proto/token/tokenData.proto +0 -159
- package/dist/proto/token/user.proto +0 -28
- package/dist/proto/version.proto +0 -42
- package/dist/publicServices.js +0 -3
- package/dist/publicServices.js.map +0 -1
- package/dist/session/index.js +0 -24
- package/dist/session/index.js.map +0 -1
- package/dist/session/session.js +0 -3
- package/dist/session/session.js.map +0 -1
- package/dist/token/index.js +0 -42
- package/dist/token/index.js.map +0 -1
- package/dist/token/tokenData.js +0 -3
- package/dist/token/tokenData.js.map +0 -1
- package/dist/types/actions/actionArguments.d.ts +0 -50
- package/dist/types/actions/actionContext.d.ts +0 -6
- package/dist/types/actions/actionVersion.d.ts +0 -19
- package/dist/types/actions/index.d.ts +0 -3
- package/dist/types/address.d.ts +0 -23
- package/dist/types/codeName.d.ts +0 -4
- package/dist/types/common.d.ts +0 -47
- package/dist/types/documents/authDocument.d.ts +0 -13
- package/dist/types/documents/docStatus.d.ts +0 -20
- package/dist/types/documents/index.d.ts +0 -13
- package/dist/types/documents/localization.d.ts +0 -4
- package/dist/types/documents/metadata.d.ts +0 -25
- package/dist/types/documents/ticker.d.ts +0 -5
- package/dist/types/durations.d.ts +0 -14
- package/dist/types/file.d.ts +0 -24
- package/dist/types/generated/analytics.d.ts +0 -65
- package/dist/types/generated/common.d.ts +0 -25
- package/dist/types/generated/documents/authDocument.d.ts +0 -20
- package/dist/types/generated/documents/documentData.d.ts +0 -44
- package/dist/types/generated/documents/nameValue.d.ts +0 -26
- package/dist/types/generated/file/file.d.ts +0 -26
- package/dist/types/generated/file/fileType.d.ts +0 -29
- package/dist/types/generated/google/protobuf/struct.d.ts +0 -105
- package/dist/types/generated/google/protobuf/timestamp.d.ts +0 -122
- package/dist/types/generated/index.d.ts +0 -24
- package/dist/types/generated/notificationMessage.d.ts +0 -15
- package/dist/types/generated/platformType.d.ts +0 -17
- package/dist/types/generated/portal/poll/portalPollUserPermissions.d.ts +0 -13
- package/dist/types/generated/portal/portalUserPermissions.d.ts +0 -37
- package/dist/types/generated/profileFeature.d.ts +0 -76
- package/dist/types/generated/session/session.d.ts +0 -31
- package/dist/types/generated/session/sessionType.d.ts +0 -29
- package/dist/types/generated/signing.d.ts +0 -31
- package/dist/types/generated/template.d.ts +0 -34
- package/dist/types/generated/token/gender.d.ts +0 -13
- package/dist/types/generated/token/portalUser.d.ts +0 -23
- package/dist/types/generated/token/tokenData.d.ts +0 -172
- package/dist/types/generated/token/user.d.ts +0 -38
- package/dist/types/generated/version.d.ts +0 -48
- package/dist/types/grpc.d.ts +0 -44
- package/dist/types/http.d.ts +0 -375
- package/dist/types/index.d.ts +0 -20
- package/dist/types/interfaces/index.d.ts +0 -5
- package/dist/types/interfaces/notification.d.ts +0 -65
- package/dist/types/interfaces/onDestroy.d.ts +0 -6
- package/dist/types/interfaces/onHealthCheck.d.ts +0 -8
- package/dist/types/interfaces/onInit.d.ts +0 -3
- package/dist/types/interfaces/onRegistrationsFinished.d.ts +0 -3
- package/dist/types/logger.d.ts +0 -41
- package/dist/types/payment.d.ts +0 -26
- package/dist/types/pdf.d.ts +0 -66
- package/dist/types/publicServices.d.ts +0 -5
- package/dist/types/session/index.d.ts +0 -2
- package/dist/types/session/session.d.ts +0 -52
- package/dist/types/token/index.d.ts +0 -5
- package/dist/types/token/tokenData.d.ts +0 -68
- package/dist/types/units.d.ts +0 -3
- package/dist/types/validators.d.ts +0 -7
- package/dist/types/versions.d.ts +0 -4
- package/dist/units.js +0 -8
- package/dist/units.js.map +0 -1
- package/dist/validators.js +0 -3
- package/dist/validators.js.map +0 -1
- package/dist/versions.js +0 -3
- package/dist/versions.js.map +0 -1
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
export declare const protobufPackage = "google.protobuf";
|
|
3
|
-
/**
|
|
4
|
-
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
5
|
-
* `Value` type union.
|
|
6
|
-
*
|
|
7
|
-
* The JSON representation for `NullValue` is JSON `null`.
|
|
8
|
-
*/
|
|
9
|
-
export declare const NullValue: {
|
|
10
|
-
/** NULL_VALUE - Null value. */
|
|
11
|
-
readonly NULL_VALUE: "NULL_VALUE";
|
|
12
|
-
};
|
|
13
|
-
export type NullValue = typeof NullValue[keyof typeof NullValue];
|
|
14
|
-
export declare namespace NullValue {
|
|
15
|
-
type NULL_VALUE = typeof NullValue.NULL_VALUE;
|
|
16
|
-
}
|
|
17
|
-
export declare function nullValueFromJSON(object: any): NullValue;
|
|
18
|
-
export declare function nullValueToJSON(object: NullValue): string;
|
|
19
|
-
export declare function nullValueToNumber(object: NullValue): number;
|
|
20
|
-
/**
|
|
21
|
-
* `Struct` represents a structured data value, consisting of fields
|
|
22
|
-
* which map to dynamically typed values. In some languages, `Struct`
|
|
23
|
-
* might be supported by a native representation. For example, in
|
|
24
|
-
* scripting languages like JS a struct is represented as an
|
|
25
|
-
* object. The details of that representation are described together
|
|
26
|
-
* with the proto support for the language.
|
|
27
|
-
*
|
|
28
|
-
* The JSON representation for `Struct` is JSON object.
|
|
29
|
-
*/
|
|
30
|
-
export interface Struct {
|
|
31
|
-
/** Unordered map of dynamically typed values. */
|
|
32
|
-
fields: {
|
|
33
|
-
[key: string]: any | undefined;
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export interface StructFieldsEntry {
|
|
37
|
-
key: string;
|
|
38
|
-
value: any | undefined;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* `Value` represents a dynamically typed value which can be either
|
|
42
|
-
* null, a number, a string, a boolean, a recursive struct value, or a
|
|
43
|
-
* list of values. A producer of value is expected to set one of these
|
|
44
|
-
* variants. Absence of any variant indicates an error.
|
|
45
|
-
*
|
|
46
|
-
* The JSON representation for `Value` is JSON value.
|
|
47
|
-
*/
|
|
48
|
-
export interface Value {
|
|
49
|
-
/** Represents a null value. */
|
|
50
|
-
null_value?: NullValue | undefined;
|
|
51
|
-
/** Represents a double value. */
|
|
52
|
-
number_value?: number | undefined;
|
|
53
|
-
/** Represents a string value. */
|
|
54
|
-
string_value?: string | undefined;
|
|
55
|
-
/** Represents a boolean value. */
|
|
56
|
-
bool_value?: boolean | undefined;
|
|
57
|
-
/** Represents a structured value. */
|
|
58
|
-
struct_value?: {
|
|
59
|
-
[key: string]: any;
|
|
60
|
-
} | undefined;
|
|
61
|
-
/** Represents a repeated `Value`. */
|
|
62
|
-
list_value?: Array<any> | undefined;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* `ListValue` is a wrapper around a repeated field of values.
|
|
66
|
-
*
|
|
67
|
-
* The JSON representation for `ListValue` is JSON array.
|
|
68
|
-
*/
|
|
69
|
-
export interface ListValue {
|
|
70
|
-
/** Repeated field of dynamically typed values. */
|
|
71
|
-
values: any[];
|
|
72
|
-
}
|
|
73
|
-
export declare const Struct: MessageFns<Struct> & StructWrapperFns;
|
|
74
|
-
export declare const StructFieldsEntry: MessageFns<StructFieldsEntry>;
|
|
75
|
-
export declare const Value: MessageFns<Value> & AnyValueWrapperFns;
|
|
76
|
-
export declare const ListValue: MessageFns<ListValue> & ListValueWrapperFns;
|
|
77
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
78
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
79
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
80
|
-
} : Partial<T>;
|
|
81
|
-
export interface MessageFns<T> {
|
|
82
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
83
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
84
|
-
fromJSON(object: any): T;
|
|
85
|
-
toJSON(message: T): unknown;
|
|
86
|
-
create(base?: DeepPartial<T>): T;
|
|
87
|
-
fromPartial(object: DeepPartial<T>): T;
|
|
88
|
-
}
|
|
89
|
-
export interface StructWrapperFns {
|
|
90
|
-
wrap(object: {
|
|
91
|
-
[key: string]: any;
|
|
92
|
-
} | undefined): Struct;
|
|
93
|
-
unwrap(message: Struct): {
|
|
94
|
-
[key: string]: any;
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
export interface AnyValueWrapperFns {
|
|
98
|
-
wrap(value: any): Value;
|
|
99
|
-
unwrap(message: any): string | number | boolean | Object | null | Array<any> | undefined;
|
|
100
|
-
}
|
|
101
|
-
export interface ListValueWrapperFns {
|
|
102
|
-
wrap(array: Array<any> | undefined): ListValue;
|
|
103
|
-
unwrap(message: ListValue): Array<any>;
|
|
104
|
-
}
|
|
105
|
-
export {};
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
export declare const protobufPackage = "google.protobuf";
|
|
3
|
-
/**
|
|
4
|
-
* A Timestamp represents a point in time independent of any time zone or local
|
|
5
|
-
* calendar, encoded as a count of seconds and fractions of seconds at
|
|
6
|
-
* nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
7
|
-
* January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
8
|
-
* Gregorian calendar backwards to year one.
|
|
9
|
-
*
|
|
10
|
-
* All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
11
|
-
* second table is needed for interpretation, using a [24-hour linear
|
|
12
|
-
* smear](https://developers.google.com/time/smear).
|
|
13
|
-
*
|
|
14
|
-
* The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
15
|
-
* restricting to that range, we ensure that we can convert to and from [RFC
|
|
16
|
-
* 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
17
|
-
*
|
|
18
|
-
* # Examples
|
|
19
|
-
*
|
|
20
|
-
* Example 1: Compute Timestamp from POSIX `time()`.
|
|
21
|
-
*
|
|
22
|
-
* Timestamp timestamp;
|
|
23
|
-
* timestamp.set_seconds(time(NULL));
|
|
24
|
-
* timestamp.set_nanos(0);
|
|
25
|
-
*
|
|
26
|
-
* Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
|
27
|
-
*
|
|
28
|
-
* struct timeval tv;
|
|
29
|
-
* gettimeofday(&tv, NULL);
|
|
30
|
-
*
|
|
31
|
-
* Timestamp timestamp;
|
|
32
|
-
* timestamp.set_seconds(tv.tv_sec);
|
|
33
|
-
* timestamp.set_nanos(tv.tv_usec * 1000);
|
|
34
|
-
*
|
|
35
|
-
* Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
|
36
|
-
*
|
|
37
|
-
* FILETIME ft;
|
|
38
|
-
* GetSystemTimeAsFileTime(&ft);
|
|
39
|
-
* UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
|
|
40
|
-
*
|
|
41
|
-
* // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
|
|
42
|
-
* // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
|
|
43
|
-
* Timestamp timestamp;
|
|
44
|
-
* timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
|
45
|
-
* timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
|
46
|
-
*
|
|
47
|
-
* Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
|
48
|
-
*
|
|
49
|
-
* long millis = System.currentTimeMillis();
|
|
50
|
-
*
|
|
51
|
-
* Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
|
52
|
-
* .setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
53
|
-
*
|
|
54
|
-
* Example 5: Compute Timestamp from Java `Instant.now()`.
|
|
55
|
-
*
|
|
56
|
-
* Instant now = Instant.now();
|
|
57
|
-
*
|
|
58
|
-
* Timestamp timestamp =
|
|
59
|
-
* Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
|
60
|
-
* .setNanos(now.getNano()).build();
|
|
61
|
-
*
|
|
62
|
-
* Example 6: Compute Timestamp from current time in Python.
|
|
63
|
-
*
|
|
64
|
-
* timestamp = Timestamp()
|
|
65
|
-
* timestamp.GetCurrentTime()
|
|
66
|
-
*
|
|
67
|
-
* # JSON Mapping
|
|
68
|
-
*
|
|
69
|
-
* In JSON format, the Timestamp type is encoded as a string in the
|
|
70
|
-
* [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
|
|
71
|
-
* format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
|
|
72
|
-
* where {year} is always expressed using four digits while {month}, {day},
|
|
73
|
-
* {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
|
|
74
|
-
* seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
|
|
75
|
-
* are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
|
|
76
|
-
* is required. A proto3 JSON serializer should always use UTC (as indicated by
|
|
77
|
-
* "Z") when printing the Timestamp type and a proto3 JSON parser should be
|
|
78
|
-
* able to accept both UTC and other timezones (as indicated by an offset).
|
|
79
|
-
*
|
|
80
|
-
* For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
|
|
81
|
-
* 01:30 UTC on January 15, 2017.
|
|
82
|
-
*
|
|
83
|
-
* In JavaScript, one can convert a Date object to this format using the
|
|
84
|
-
* standard
|
|
85
|
-
* [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
|
|
86
|
-
* method. In Python, a standard `datetime.datetime` object can be converted
|
|
87
|
-
* to this format using
|
|
88
|
-
* [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
|
89
|
-
* the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
|
90
|
-
* the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
|
91
|
-
* http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
|
92
|
-
* ) to obtain a formatter capable of generating timestamps in this format.
|
|
93
|
-
*/
|
|
94
|
-
export interface Timestamp {
|
|
95
|
-
/**
|
|
96
|
-
* Represents seconds of UTC time since Unix epoch
|
|
97
|
-
* 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
|
|
98
|
-
* 9999-12-31T23:59:59Z inclusive.
|
|
99
|
-
*/
|
|
100
|
-
seconds: number;
|
|
101
|
-
/**
|
|
102
|
-
* Non-negative fractions of a second at nanosecond resolution. Negative
|
|
103
|
-
* second values with fractions must still have non-negative nanos values
|
|
104
|
-
* that count forward in time. Must be from 0 to 999,999,999
|
|
105
|
-
* inclusive.
|
|
106
|
-
*/
|
|
107
|
-
nanos: number;
|
|
108
|
-
}
|
|
109
|
-
export declare const Timestamp: MessageFns<Timestamp>;
|
|
110
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
111
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
112
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
113
|
-
} : Partial<T>;
|
|
114
|
-
export interface MessageFns<T> {
|
|
115
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
116
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
117
|
-
fromJSON(object: any): T;
|
|
118
|
-
toJSON(message: T): unknown;
|
|
119
|
-
create(base?: DeepPartial<T>): T;
|
|
120
|
-
fromPartial(object: DeepPartial<T>): T;
|
|
121
|
-
}
|
|
122
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export { protobufPackage, RatingForm, RatingFormRating, RatingFormComment, RatingItem, RatingItemChip, RatingItemChipRatingChipMeta, RatingItemChipBlock, RatingItemChipBlockRatingChipMeta } from './analytics.js';
|
|
2
|
-
export type { DeepPartial, MessageFns } from './analytics.js';
|
|
3
|
-
export { PlatformAppVersion, Empty } from './common.js';
|
|
4
|
-
export { AuthDocument } from './documents/authDocument.js';
|
|
5
|
-
export { OwnerType, ownerTypeFromJSON, ownerTypeToJSON, ownerTypeToNumber, DocumentBaseData } from './documents/documentData.js';
|
|
6
|
-
export { NameValue, NameValueWithCode } from './documents/nameValue.js';
|
|
7
|
-
export { DownloadResponse, DownloadResponseFileResponse } from './file/file.js';
|
|
8
|
-
export { FileType, fileTypeFromJSON, fileTypeToJSON, fileTypeToNumber, ContentDisposition, contentDispositionFromJSON, contentDispositionToJSON, contentDispositionToNumber } from './file/fileType.js';
|
|
9
|
-
export * as protobuf_struct from './google/protobuf/struct.js';
|
|
10
|
-
export * as protobuf_timestamp from './google/protobuf/timestamp.js';
|
|
11
|
-
export { ListItemState, listItemStateFromJSON, listItemStateToJSON, listItemStateToNumber } from './notificationMessage.js';
|
|
12
|
-
export { PlatformType, platformTypeFromJSON, platformTypeToJSON, platformTypeToNumber } from './platformType.js';
|
|
13
|
-
export { PortalUserPollPermissions, portalUserPollPermissionsFromJSON, portalUserPollPermissionsToJSON, portalUserPollPermissionsToNumber } from './portal/poll/portalPollUserPermissions.js';
|
|
14
|
-
export { PortalUserPetitionPermissions, portalUserPetitionPermissionsFromJSON, portalUserPetitionPermissionsToJSON, portalUserPetitionPermissionsToNumber, PortalUserPermissions } from './portal/portalUserPermissions.js';
|
|
15
|
-
export { DiiaOfficeStatus, diiaOfficeStatusFromJSON, diiaOfficeStatusToJSON, diiaOfficeStatusToNumber, ProfileFeature, profileFeatureFromJSON, profileFeatureToJSON, profileFeatureToNumber, DiiaOfficeProfileData, DocumentsProfileData, DocumentsProfileDataProposal, VeteranProfileData, UserFeatures } from './profileFeature.js';
|
|
16
|
-
export { Session } from './session/session.js';
|
|
17
|
-
export { SessionType, sessionTypeFromJSON, sessionTypeToJSON, sessionTypeToNumber } from './session/sessionType.js';
|
|
18
|
-
export { HashedFile, SignedItem, HashedFileWithSignature } from './signing.js';
|
|
19
|
-
export { DiiaTemplateButton, DiiaTemplateData, DiiaTemplate } from './template.js';
|
|
20
|
-
export { Gender, genderFromJSON, genderToJSON, genderToNumber } from './token/gender.js';
|
|
21
|
-
export { PortalUser } from './token/portalUser.js';
|
|
22
|
-
export { AuthEntryPoint, RefreshToken, UserTokenDataMsg, VerifiedBaseTokenDataMsg, EResidentTokenDataMsg, EResidentApplicantTokenDataMsg, AcquirerTokenDataMsg, PortalUserTokenDataMsg, PartnerTokenDataMsg, TemporaryTokenDataMsg, ServiceEntranceTokenDataMsg, ServiceUserTokenDataMsg, UserIdentificationData } from './token/tokenData.js';
|
|
23
|
-
export { User } from './token/user.js';
|
|
24
|
-
export { SingleVersionRecord, MultipleVersionRecord, AppVersions, PublicServiceAppVersionsBySession } from './version.js';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare const protobufPackage = "ua.gov.diia.types.messages";
|
|
2
|
-
export declare const ListItemState: {
|
|
3
|
-
readonly enabled: "enabled";
|
|
4
|
-
readonly disabled: "disabled";
|
|
5
|
-
readonly invisible: "invisible";
|
|
6
|
-
};
|
|
7
|
-
export type ListItemState = typeof ListItemState[keyof typeof ListItemState];
|
|
8
|
-
export declare namespace ListItemState {
|
|
9
|
-
type enabled = typeof ListItemState.enabled;
|
|
10
|
-
type disabled = typeof ListItemState.disabled;
|
|
11
|
-
type invisible = typeof ListItemState.invisible;
|
|
12
|
-
}
|
|
13
|
-
export declare function listItemStateFromJSON(object: any): ListItemState;
|
|
14
|
-
export declare function listItemStateToJSON(object: ListItemState): string;
|
|
15
|
-
export declare function listItemStateToNumber(object: ListItemState): number;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const protobufPackage = "ua.gov.diia.types";
|
|
2
|
-
export declare const PlatformType: {
|
|
3
|
-
readonly iOS: "iOS";
|
|
4
|
-
readonly Android: "Android";
|
|
5
|
-
readonly Huawei: "Huawei";
|
|
6
|
-
readonly Browser: "Browser";
|
|
7
|
-
};
|
|
8
|
-
export type PlatformType = typeof PlatformType[keyof typeof PlatformType];
|
|
9
|
-
export declare namespace PlatformType {
|
|
10
|
-
type iOS = typeof PlatformType.iOS;
|
|
11
|
-
type Android = typeof PlatformType.Android;
|
|
12
|
-
type Huawei = typeof PlatformType.Huawei;
|
|
13
|
-
type Browser = typeof PlatformType.Browser;
|
|
14
|
-
}
|
|
15
|
-
export declare function platformTypeFromJSON(object: any): PlatformType;
|
|
16
|
-
export declare function platformTypeToJSON(object: PlatformType): string;
|
|
17
|
-
export declare function platformTypeToNumber(object: PlatformType): number;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const protobufPackage = "ua.gov.diia.types.portal.poll";
|
|
2
|
-
export declare const PortalUserPollPermissions: {
|
|
3
|
-
readonly user: "user";
|
|
4
|
-
readonly masterAdministrator: "masterAdministrator";
|
|
5
|
-
};
|
|
6
|
-
export type PortalUserPollPermissions = typeof PortalUserPollPermissions[keyof typeof PortalUserPollPermissions];
|
|
7
|
-
export declare namespace PortalUserPollPermissions {
|
|
8
|
-
type user = typeof PortalUserPollPermissions.user;
|
|
9
|
-
type masterAdministrator = typeof PortalUserPollPermissions.masterAdministrator;
|
|
10
|
-
}
|
|
11
|
-
export declare function portalUserPollPermissionsFromJSON(object: any): PortalUserPollPermissions;
|
|
12
|
-
export declare function portalUserPollPermissionsToJSON(object: PortalUserPollPermissions): string;
|
|
13
|
-
export declare function portalUserPollPermissionsToNumber(object: PortalUserPollPermissions): number;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
import { PortalUserPollPermissions } from "./poll/portalPollUserPermissions.js";
|
|
3
|
-
export declare const protobufPackage = "ua.gov.diia.types.portal";
|
|
4
|
-
export declare const PortalUserPetitionPermissions: {
|
|
5
|
-
readonly user: "user";
|
|
6
|
-
readonly moderator: "moderator";
|
|
7
|
-
readonly proModerator: "proModerator";
|
|
8
|
-
readonly administrator: "administrator";
|
|
9
|
-
};
|
|
10
|
-
export type PortalUserPetitionPermissions = typeof PortalUserPetitionPermissions[keyof typeof PortalUserPetitionPermissions];
|
|
11
|
-
export declare namespace PortalUserPetitionPermissions {
|
|
12
|
-
type user = typeof PortalUserPetitionPermissions.user;
|
|
13
|
-
type moderator = typeof PortalUserPetitionPermissions.moderator;
|
|
14
|
-
type proModerator = typeof PortalUserPetitionPermissions.proModerator;
|
|
15
|
-
type administrator = typeof PortalUserPetitionPermissions.administrator;
|
|
16
|
-
}
|
|
17
|
-
export declare function portalUserPetitionPermissionsFromJSON(object: any): PortalUserPetitionPermissions;
|
|
18
|
-
export declare function portalUserPetitionPermissionsToJSON(object: PortalUserPetitionPermissions): string;
|
|
19
|
-
export declare function portalUserPetitionPermissionsToNumber(object: PortalUserPetitionPermissions): number;
|
|
20
|
-
export interface PortalUserPermissions {
|
|
21
|
-
petition?: PortalUserPetitionPermissions | undefined;
|
|
22
|
-
poll?: PortalUserPollPermissions | undefined;
|
|
23
|
-
}
|
|
24
|
-
export declare const PortalUserPermissions: MessageFns<PortalUserPermissions>;
|
|
25
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
26
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
27
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
28
|
-
} : Partial<T>;
|
|
29
|
-
export interface MessageFns<T> {
|
|
30
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
31
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
32
|
-
fromJSON(object: any): T;
|
|
33
|
-
toJSON(message: T): unknown;
|
|
34
|
-
create(base?: DeepPartial<T>): T;
|
|
35
|
-
fromPartial(object: DeepPartial<T>): T;
|
|
36
|
-
}
|
|
37
|
-
export {};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
export declare const protobufPackage = "ua.gov.diia.types.profilefeatures";
|
|
3
|
-
export declare const DiiaOfficeStatus: {
|
|
4
|
-
readonly ACTIVE: "ACTIVE";
|
|
5
|
-
readonly SUSPENDED: "SUSPENDED";
|
|
6
|
-
readonly DISMISSED: "DISMISSED";
|
|
7
|
-
};
|
|
8
|
-
export type DiiaOfficeStatus = typeof DiiaOfficeStatus[keyof typeof DiiaOfficeStatus];
|
|
9
|
-
export declare namespace DiiaOfficeStatus {
|
|
10
|
-
type ACTIVE = typeof DiiaOfficeStatus.ACTIVE;
|
|
11
|
-
type SUSPENDED = typeof DiiaOfficeStatus.SUSPENDED;
|
|
12
|
-
type DISMISSED = typeof DiiaOfficeStatus.DISMISSED;
|
|
13
|
-
}
|
|
14
|
-
export declare function diiaOfficeStatusFromJSON(object: any): DiiaOfficeStatus;
|
|
15
|
-
export declare function diiaOfficeStatusToJSON(object: DiiaOfficeStatus): string;
|
|
16
|
-
export declare function diiaOfficeStatusToNumber(object: DiiaOfficeStatus): number;
|
|
17
|
-
export declare const ProfileFeature: {
|
|
18
|
-
readonly office: "office";
|
|
19
|
-
readonly student: "student";
|
|
20
|
-
readonly documents: "documents";
|
|
21
|
-
readonly veteran: "veteran";
|
|
22
|
-
};
|
|
23
|
-
export type ProfileFeature = typeof ProfileFeature[keyof typeof ProfileFeature];
|
|
24
|
-
export declare namespace ProfileFeature {
|
|
25
|
-
type office = typeof ProfileFeature.office;
|
|
26
|
-
type student = typeof ProfileFeature.student;
|
|
27
|
-
type documents = typeof ProfileFeature.documents;
|
|
28
|
-
type veteran = typeof ProfileFeature.veteran;
|
|
29
|
-
}
|
|
30
|
-
export declare function profileFeatureFromJSON(object: any): ProfileFeature;
|
|
31
|
-
export declare function profileFeatureToJSON(object: ProfileFeature): string;
|
|
32
|
-
export declare function profileFeatureToNumber(object: ProfileFeature): number;
|
|
33
|
-
export interface DiiaOfficeProfileData {
|
|
34
|
-
officeIdentifier: string;
|
|
35
|
-
profileId: string;
|
|
36
|
-
organizationId: string;
|
|
37
|
-
unitId: string;
|
|
38
|
-
isOrganizationAdmin: boolean;
|
|
39
|
-
scopes: string[];
|
|
40
|
-
status: DiiaOfficeStatus;
|
|
41
|
-
tokenError?: string | undefined;
|
|
42
|
-
tokenFailedAt: Date | undefined;
|
|
43
|
-
googleWorkspace?: string | undefined;
|
|
44
|
-
}
|
|
45
|
-
export interface DocumentsProfileData {
|
|
46
|
-
proposal: DocumentsProfileDataProposal | undefined;
|
|
47
|
-
}
|
|
48
|
-
export interface DocumentsProfileDataProposal {
|
|
49
|
-
/** DocumentsProfileFeatureProposalStatus enum from user-service-client */
|
|
50
|
-
status: string;
|
|
51
|
-
}
|
|
52
|
-
export interface VeteranProfileData {
|
|
53
|
-
}
|
|
54
|
-
export interface UserFeatures {
|
|
55
|
-
office?: DiiaOfficeProfileData | undefined;
|
|
56
|
-
documents?: DocumentsProfileData | undefined;
|
|
57
|
-
veteran?: VeteranProfileData | undefined;
|
|
58
|
-
}
|
|
59
|
-
export declare const DiiaOfficeProfileData: MessageFns<DiiaOfficeProfileData>;
|
|
60
|
-
export declare const DocumentsProfileData: MessageFns<DocumentsProfileData>;
|
|
61
|
-
export declare const DocumentsProfileDataProposal: MessageFns<DocumentsProfileDataProposal>;
|
|
62
|
-
export declare const VeteranProfileData: MessageFns<VeteranProfileData>;
|
|
63
|
-
export declare const UserFeatures: MessageFns<UserFeatures>;
|
|
64
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
65
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
66
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
67
|
-
} : Partial<T>;
|
|
68
|
-
export interface MessageFns<T> {
|
|
69
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
70
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
71
|
-
fromJSON(object: any): T;
|
|
72
|
-
toJSON(message: T): unknown;
|
|
73
|
-
create(base?: DeepPartial<T>): T;
|
|
74
|
-
fromPartial(object: DeepPartial<T>): T;
|
|
75
|
-
}
|
|
76
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
import { UserFeatures } from "../profileFeature.js";
|
|
3
|
-
import { AcquirerTokenDataMsg, PartnerTokenDataMsg, ServiceEntranceTokenDataMsg, ServiceUserTokenDataMsg, TemporaryTokenDataMsg } from "../token/tokenData.js";
|
|
4
|
-
import { SessionType } from "./sessionType.js";
|
|
5
|
-
export declare const protobufPackage = "ua.gov.diia.types.session";
|
|
6
|
-
export interface Session {
|
|
7
|
-
sessionType: SessionType;
|
|
8
|
-
user?: {
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
} | undefined;
|
|
11
|
-
features?: UserFeatures | undefined;
|
|
12
|
-
acquirer?: AcquirerTokenDataMsg | undefined;
|
|
13
|
-
partner?: PartnerTokenDataMsg | undefined;
|
|
14
|
-
temporary?: TemporaryTokenDataMsg | undefined;
|
|
15
|
-
entrance?: ServiceEntranceTokenDataMsg | undefined;
|
|
16
|
-
serviceUser?: ServiceUserTokenDataMsg | undefined;
|
|
17
|
-
}
|
|
18
|
-
export declare const Session: MessageFns<Session>;
|
|
19
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
20
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
21
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
22
|
-
} : Partial<T>;
|
|
23
|
-
export interface MessageFns<T> {
|
|
24
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
25
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
26
|
-
fromJSON(object: any): T;
|
|
27
|
-
toJSON(message: T): unknown;
|
|
28
|
-
create(base?: DeepPartial<T>): T;
|
|
29
|
-
fromPartial(object: DeepPartial<T>): T;
|
|
30
|
-
}
|
|
31
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export declare const protobufPackage = "ua.gov.diia.types.session";
|
|
2
|
-
export declare const SessionType: {
|
|
3
|
-
readonly Acquirer: "Acquirer";
|
|
4
|
-
readonly None: "None";
|
|
5
|
-
readonly Partner: "Partner";
|
|
6
|
-
readonly Temporary: "Temporary";
|
|
7
|
-
readonly User: "User";
|
|
8
|
-
readonly EResident: "EResident";
|
|
9
|
-
readonly EResidentApplicant: "EResidentApplicant";
|
|
10
|
-
readonly ServiceEntrance: "ServiceEntrance";
|
|
11
|
-
readonly PortalUser: "PortalUser";
|
|
12
|
-
readonly ServiceUser: "ServiceUser";
|
|
13
|
-
};
|
|
14
|
-
export type SessionType = typeof SessionType[keyof typeof SessionType];
|
|
15
|
-
export declare namespace SessionType {
|
|
16
|
-
type Acquirer = typeof SessionType.Acquirer;
|
|
17
|
-
type None = typeof SessionType.None;
|
|
18
|
-
type Partner = typeof SessionType.Partner;
|
|
19
|
-
type Temporary = typeof SessionType.Temporary;
|
|
20
|
-
type User = typeof SessionType.User;
|
|
21
|
-
type EResident = typeof SessionType.EResident;
|
|
22
|
-
type EResidentApplicant = typeof SessionType.EResidentApplicant;
|
|
23
|
-
type ServiceEntrance = typeof SessionType.ServiceEntrance;
|
|
24
|
-
type PortalUser = typeof SessionType.PortalUser;
|
|
25
|
-
type ServiceUser = typeof SessionType.ServiceUser;
|
|
26
|
-
}
|
|
27
|
-
export declare function sessionTypeFromJSON(object: any): SessionType;
|
|
28
|
-
export declare function sessionTypeToJSON(object: SessionType): string;
|
|
29
|
-
export declare function sessionTypeToNumber(object: SessionType): number;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
export declare const protobufPackage = "ua.gov.diia.types";
|
|
3
|
-
export interface HashedFile {
|
|
4
|
-
fileName: string;
|
|
5
|
-
fileHash: string;
|
|
6
|
-
}
|
|
7
|
-
export interface SignedItem {
|
|
8
|
-
name: string;
|
|
9
|
-
signature: string;
|
|
10
|
-
}
|
|
11
|
-
export interface HashedFileWithSignature {
|
|
12
|
-
name: string;
|
|
13
|
-
hash: string;
|
|
14
|
-
signature: string;
|
|
15
|
-
}
|
|
16
|
-
export declare const HashedFile: MessageFns<HashedFile>;
|
|
17
|
-
export declare const SignedItem: MessageFns<SignedItem>;
|
|
18
|
-
export declare const HashedFileWithSignature: MessageFns<HashedFileWithSignature>;
|
|
19
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
20
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
21
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
22
|
-
} : Partial<T>;
|
|
23
|
-
export interface MessageFns<T> {
|
|
24
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
25
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
26
|
-
fromJSON(object: any): T;
|
|
27
|
-
toJSON(message: T): unknown;
|
|
28
|
-
create(base?: DeepPartial<T>): T;
|
|
29
|
-
fromPartial(object: DeepPartial<T>): T;
|
|
30
|
-
}
|
|
31
|
-
export {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
export declare const protobufPackage = "ua.gov.diia.types";
|
|
3
|
-
export interface DiiaTemplateButton {
|
|
4
|
-
name: string;
|
|
5
|
-
action: string;
|
|
6
|
-
}
|
|
7
|
-
export interface DiiaTemplateData {
|
|
8
|
-
icon: string;
|
|
9
|
-
title: string;
|
|
10
|
-
description: string;
|
|
11
|
-
mainButton: DiiaTemplateButton | undefined;
|
|
12
|
-
alternativeButton: DiiaTemplateButton | undefined;
|
|
13
|
-
}
|
|
14
|
-
export interface DiiaTemplate {
|
|
15
|
-
type: string;
|
|
16
|
-
isClosable: boolean;
|
|
17
|
-
data: DiiaTemplateData | undefined;
|
|
18
|
-
}
|
|
19
|
-
export declare const DiiaTemplateButton: MessageFns<DiiaTemplateButton>;
|
|
20
|
-
export declare const DiiaTemplateData: MessageFns<DiiaTemplateData>;
|
|
21
|
-
export declare const DiiaTemplate: MessageFns<DiiaTemplate>;
|
|
22
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
23
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
24
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
25
|
-
} : Partial<T>;
|
|
26
|
-
export interface MessageFns<T> {
|
|
27
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
28
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
29
|
-
fromJSON(object: any): T;
|
|
30
|
-
toJSON(message: T): unknown;
|
|
31
|
-
create(base?: DeepPartial<T>): T;
|
|
32
|
-
fromPartial(object: DeepPartial<T>): T;
|
|
33
|
-
}
|
|
34
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const protobufPackage = "ua.gov.diia.types.token";
|
|
2
|
-
export declare const Gender: {
|
|
3
|
-
readonly male: "male";
|
|
4
|
-
readonly female: "female";
|
|
5
|
-
};
|
|
6
|
-
export type Gender = typeof Gender[keyof typeof Gender];
|
|
7
|
-
export declare namespace Gender {
|
|
8
|
-
type male = typeof Gender.male;
|
|
9
|
-
type female = typeof Gender.female;
|
|
10
|
-
}
|
|
11
|
-
export declare function genderFromJSON(object: any): Gender;
|
|
12
|
-
export declare function genderToJSON(object: Gender): string;
|
|
13
|
-
export declare function genderToNumber(object: Gender): number;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
export declare const protobufPackage = "ua.gov.diia.types.token";
|
|
3
|
-
export interface PortalUser {
|
|
4
|
-
fName: string;
|
|
5
|
-
lName: string;
|
|
6
|
-
mName: string;
|
|
7
|
-
itn: string;
|
|
8
|
-
birthDay: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const PortalUser: MessageFns<PortalUser>;
|
|
11
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
12
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
13
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
14
|
-
} : Partial<T>;
|
|
15
|
-
export interface MessageFns<T> {
|
|
16
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
17
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
18
|
-
fromJSON(object: any): T;
|
|
19
|
-
toJSON(message: T): unknown;
|
|
20
|
-
create(base?: DeepPartial<T>): T;
|
|
21
|
-
fromPartial(object: DeepPartial<T>): T;
|
|
22
|
-
}
|
|
23
|
-
export {};
|