@claimscore/event-schemas 0.1.0-beta.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/README.md +83 -0
- package/dist/account/v1/account_activated.d.ts +31 -0
- package/dist/account/v1/account_activated.js +189 -0
- package/dist/case/v1/case_created.d.ts +34 -0
- package/dist/case/v1/case_created.js +235 -0
- package/dist/case/v1/permission_created.d.ts +32 -0
- package/dist/case/v1/permission_created.js +209 -0
- package/dist/case/v1/permission_deleted.d.ts +32 -0
- package/dist/case/v1/permission_deleted.js +209 -0
- package/dist/case/v1/permission_updated.d.ts +32 -0
- package/dist/case/v1/permission_updated.js +209 -0
- package/dist/file/v1/analysis_requested.d.ts +29 -0
- package/dist/file/v1/analysis_requested.js +147 -0
- package/dist/file/v1/preprocess_completed.d.ts +29 -0
- package/dist/file/v1/preprocess_completed.js +147 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +29 -0
- package/dist/invitation/v1/invitation_approved.d.ts +29 -0
- package/dist/invitation/v1/invitation_approved.js +143 -0
- package/dist/invitation/v1/invitation_verification_resent.d.ts +31 -0
- package/dist/invitation/v1/invitation_verification_resent.js +189 -0
- package/dist/organization/v1/invitation_created.d.ts +38 -0
- package/dist/organization/v1/invitation_created.js +305 -0
- package/dist/report/v1/report_generated.d.ts +54 -0
- package/dist/report/v1/report_generated.js +385 -0
- package/package.json +37 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "file.v1";
|
|
3
|
+
export interface AnalysisRequested {
|
|
4
|
+
fileId: string;
|
|
5
|
+
caseId: string;
|
|
6
|
+
fileName: string;
|
|
7
|
+
uploadedAt: string;
|
|
8
|
+
uploadedBy: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const AnalysisRequested: MessageFns<AnalysisRequested>;
|
|
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
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
16
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
17
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
18
|
+
} & {
|
|
19
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
20
|
+
};
|
|
21
|
+
export interface MessageFns<T> {
|
|
22
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
23
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
24
|
+
fromJSON(object: any): T;
|
|
25
|
+
toJSON(message: T): unknown;
|
|
26
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
27
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
|
+
// protoc unknown
|
|
6
|
+
// source: file/v1/analysis_requested.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.AnalysisRequested = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
+
exports.protobufPackage = "file.v1";
|
|
12
|
+
function createBaseAnalysisRequested() {
|
|
13
|
+
return { fileId: "", caseId: "", fileName: "", uploadedAt: "", uploadedBy: "" };
|
|
14
|
+
}
|
|
15
|
+
exports.AnalysisRequested = {
|
|
16
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
17
|
+
if (message.fileId !== "") {
|
|
18
|
+
writer.uint32(10).string(message.fileId);
|
|
19
|
+
}
|
|
20
|
+
if (message.caseId !== "") {
|
|
21
|
+
writer.uint32(18).string(message.caseId);
|
|
22
|
+
}
|
|
23
|
+
if (message.fileName !== "") {
|
|
24
|
+
writer.uint32(26).string(message.fileName);
|
|
25
|
+
}
|
|
26
|
+
if (message.uploadedAt !== "") {
|
|
27
|
+
writer.uint32(34).string(message.uploadedAt);
|
|
28
|
+
}
|
|
29
|
+
if (message.uploadedBy !== "") {
|
|
30
|
+
writer.uint32(42).string(message.uploadedBy);
|
|
31
|
+
}
|
|
32
|
+
return writer;
|
|
33
|
+
},
|
|
34
|
+
decode(input, length) {
|
|
35
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
36
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
37
|
+
const message = createBaseAnalysisRequested();
|
|
38
|
+
while (reader.pos < end) {
|
|
39
|
+
const tag = reader.uint32();
|
|
40
|
+
switch (tag >>> 3) {
|
|
41
|
+
case 1: {
|
|
42
|
+
if (tag !== 10) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.fileId = reader.string();
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
case 2: {
|
|
49
|
+
if (tag !== 18) {
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
message.caseId = reader.string();
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
55
|
+
case 3: {
|
|
56
|
+
if (tag !== 26) {
|
|
57
|
+
break;
|
|
58
|
+
}
|
|
59
|
+
message.fileName = reader.string();
|
|
60
|
+
continue;
|
|
61
|
+
}
|
|
62
|
+
case 4: {
|
|
63
|
+
if (tag !== 34) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
message.uploadedAt = reader.string();
|
|
67
|
+
continue;
|
|
68
|
+
}
|
|
69
|
+
case 5: {
|
|
70
|
+
if (tag !== 42) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
message.uploadedBy = reader.string();
|
|
74
|
+
continue;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
reader.skip(tag & 7);
|
|
81
|
+
}
|
|
82
|
+
return message;
|
|
83
|
+
},
|
|
84
|
+
fromJSON(object) {
|
|
85
|
+
return {
|
|
86
|
+
fileId: isSet(object.fileId)
|
|
87
|
+
? globalThis.String(object.fileId)
|
|
88
|
+
: isSet(object.file_id)
|
|
89
|
+
? globalThis.String(object.file_id)
|
|
90
|
+
: "",
|
|
91
|
+
caseId: isSet(object.caseId)
|
|
92
|
+
? globalThis.String(object.caseId)
|
|
93
|
+
: isSet(object.case_id)
|
|
94
|
+
? globalThis.String(object.case_id)
|
|
95
|
+
: "",
|
|
96
|
+
fileName: isSet(object.fileName)
|
|
97
|
+
? globalThis.String(object.fileName)
|
|
98
|
+
: isSet(object.file_name)
|
|
99
|
+
? globalThis.String(object.file_name)
|
|
100
|
+
: "",
|
|
101
|
+
uploadedAt: isSet(object.uploadedAt)
|
|
102
|
+
? globalThis.String(object.uploadedAt)
|
|
103
|
+
: isSet(object.uploaded_at)
|
|
104
|
+
? globalThis.String(object.uploaded_at)
|
|
105
|
+
: "",
|
|
106
|
+
uploadedBy: isSet(object.uploadedBy)
|
|
107
|
+
? globalThis.String(object.uploadedBy)
|
|
108
|
+
: isSet(object.uploaded_by)
|
|
109
|
+
? globalThis.String(object.uploaded_by)
|
|
110
|
+
: "",
|
|
111
|
+
};
|
|
112
|
+
},
|
|
113
|
+
toJSON(message) {
|
|
114
|
+
const obj = {};
|
|
115
|
+
if (message.fileId !== "") {
|
|
116
|
+
obj.fileId = message.fileId;
|
|
117
|
+
}
|
|
118
|
+
if (message.caseId !== "") {
|
|
119
|
+
obj.caseId = message.caseId;
|
|
120
|
+
}
|
|
121
|
+
if (message.fileName !== "") {
|
|
122
|
+
obj.fileName = message.fileName;
|
|
123
|
+
}
|
|
124
|
+
if (message.uploadedAt !== "") {
|
|
125
|
+
obj.uploadedAt = message.uploadedAt;
|
|
126
|
+
}
|
|
127
|
+
if (message.uploadedBy !== "") {
|
|
128
|
+
obj.uploadedBy = message.uploadedBy;
|
|
129
|
+
}
|
|
130
|
+
return obj;
|
|
131
|
+
},
|
|
132
|
+
create(base) {
|
|
133
|
+
return exports.AnalysisRequested.fromPartial(base ?? {});
|
|
134
|
+
},
|
|
135
|
+
fromPartial(object) {
|
|
136
|
+
const message = createBaseAnalysisRequested();
|
|
137
|
+
message.fileId = object.fileId ?? "";
|
|
138
|
+
message.caseId = object.caseId ?? "";
|
|
139
|
+
message.fileName = object.fileName ?? "";
|
|
140
|
+
message.uploadedAt = object.uploadedAt ?? "";
|
|
141
|
+
message.uploadedBy = object.uploadedBy ?? "";
|
|
142
|
+
return message;
|
|
143
|
+
},
|
|
144
|
+
};
|
|
145
|
+
function isSet(value) {
|
|
146
|
+
return value !== null && value !== undefined;
|
|
147
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "file.v1";
|
|
3
|
+
export interface PreprocessCompleted {
|
|
4
|
+
fileId: string;
|
|
5
|
+
caseId: string;
|
|
6
|
+
fileName: string;
|
|
7
|
+
uploadedAt: string;
|
|
8
|
+
uploadedBy: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const PreprocessCompleted: MessageFns<PreprocessCompleted>;
|
|
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
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
16
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
17
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
18
|
+
} & {
|
|
19
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
20
|
+
};
|
|
21
|
+
export interface MessageFns<T> {
|
|
22
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
23
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
24
|
+
fromJSON(object: any): T;
|
|
25
|
+
toJSON(message: T): unknown;
|
|
26
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
27
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
|
+
// protoc unknown
|
|
6
|
+
// source: file/v1/preprocess_completed.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.PreprocessCompleted = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
+
exports.protobufPackage = "file.v1";
|
|
12
|
+
function createBasePreprocessCompleted() {
|
|
13
|
+
return { fileId: "", caseId: "", fileName: "", uploadedAt: "", uploadedBy: "" };
|
|
14
|
+
}
|
|
15
|
+
exports.PreprocessCompleted = {
|
|
16
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
17
|
+
if (message.fileId !== "") {
|
|
18
|
+
writer.uint32(10).string(message.fileId);
|
|
19
|
+
}
|
|
20
|
+
if (message.caseId !== "") {
|
|
21
|
+
writer.uint32(18).string(message.caseId);
|
|
22
|
+
}
|
|
23
|
+
if (message.fileName !== "") {
|
|
24
|
+
writer.uint32(26).string(message.fileName);
|
|
25
|
+
}
|
|
26
|
+
if (message.uploadedAt !== "") {
|
|
27
|
+
writer.uint32(34).string(message.uploadedAt);
|
|
28
|
+
}
|
|
29
|
+
if (message.uploadedBy !== "") {
|
|
30
|
+
writer.uint32(42).string(message.uploadedBy);
|
|
31
|
+
}
|
|
32
|
+
return writer;
|
|
33
|
+
},
|
|
34
|
+
decode(input, length) {
|
|
35
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
36
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
37
|
+
const message = createBasePreprocessCompleted();
|
|
38
|
+
while (reader.pos < end) {
|
|
39
|
+
const tag = reader.uint32();
|
|
40
|
+
switch (tag >>> 3) {
|
|
41
|
+
case 1: {
|
|
42
|
+
if (tag !== 10) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.fileId = reader.string();
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
case 2: {
|
|
49
|
+
if (tag !== 18) {
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
message.caseId = reader.string();
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
55
|
+
case 3: {
|
|
56
|
+
if (tag !== 26) {
|
|
57
|
+
break;
|
|
58
|
+
}
|
|
59
|
+
message.fileName = reader.string();
|
|
60
|
+
continue;
|
|
61
|
+
}
|
|
62
|
+
case 4: {
|
|
63
|
+
if (tag !== 34) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
message.uploadedAt = reader.string();
|
|
67
|
+
continue;
|
|
68
|
+
}
|
|
69
|
+
case 5: {
|
|
70
|
+
if (tag !== 42) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
message.uploadedBy = reader.string();
|
|
74
|
+
continue;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
reader.skip(tag & 7);
|
|
81
|
+
}
|
|
82
|
+
return message;
|
|
83
|
+
},
|
|
84
|
+
fromJSON(object) {
|
|
85
|
+
return {
|
|
86
|
+
fileId: isSet(object.fileId)
|
|
87
|
+
? globalThis.String(object.fileId)
|
|
88
|
+
: isSet(object.file_id)
|
|
89
|
+
? globalThis.String(object.file_id)
|
|
90
|
+
: "",
|
|
91
|
+
caseId: isSet(object.caseId)
|
|
92
|
+
? globalThis.String(object.caseId)
|
|
93
|
+
: isSet(object.case_id)
|
|
94
|
+
? globalThis.String(object.case_id)
|
|
95
|
+
: "",
|
|
96
|
+
fileName: isSet(object.fileName)
|
|
97
|
+
? globalThis.String(object.fileName)
|
|
98
|
+
: isSet(object.file_name)
|
|
99
|
+
? globalThis.String(object.file_name)
|
|
100
|
+
: "",
|
|
101
|
+
uploadedAt: isSet(object.uploadedAt)
|
|
102
|
+
? globalThis.String(object.uploadedAt)
|
|
103
|
+
: isSet(object.uploaded_at)
|
|
104
|
+
? globalThis.String(object.uploaded_at)
|
|
105
|
+
: "",
|
|
106
|
+
uploadedBy: isSet(object.uploadedBy)
|
|
107
|
+
? globalThis.String(object.uploadedBy)
|
|
108
|
+
: isSet(object.uploaded_by)
|
|
109
|
+
? globalThis.String(object.uploaded_by)
|
|
110
|
+
: "",
|
|
111
|
+
};
|
|
112
|
+
},
|
|
113
|
+
toJSON(message) {
|
|
114
|
+
const obj = {};
|
|
115
|
+
if (message.fileId !== "") {
|
|
116
|
+
obj.fileId = message.fileId;
|
|
117
|
+
}
|
|
118
|
+
if (message.caseId !== "") {
|
|
119
|
+
obj.caseId = message.caseId;
|
|
120
|
+
}
|
|
121
|
+
if (message.fileName !== "") {
|
|
122
|
+
obj.fileName = message.fileName;
|
|
123
|
+
}
|
|
124
|
+
if (message.uploadedAt !== "") {
|
|
125
|
+
obj.uploadedAt = message.uploadedAt;
|
|
126
|
+
}
|
|
127
|
+
if (message.uploadedBy !== "") {
|
|
128
|
+
obj.uploadedBy = message.uploadedBy;
|
|
129
|
+
}
|
|
130
|
+
return obj;
|
|
131
|
+
},
|
|
132
|
+
create(base) {
|
|
133
|
+
return exports.PreprocessCompleted.fromPartial(base ?? {});
|
|
134
|
+
},
|
|
135
|
+
fromPartial(object) {
|
|
136
|
+
const message = createBasePreprocessCompleted();
|
|
137
|
+
message.fileId = object.fileId ?? "";
|
|
138
|
+
message.caseId = object.caseId ?? "";
|
|
139
|
+
message.fileName = object.fileName ?? "";
|
|
140
|
+
message.uploadedAt = object.uploadedAt ?? "";
|
|
141
|
+
message.uploadedBy = object.uploadedBy ?? "";
|
|
142
|
+
return message;
|
|
143
|
+
},
|
|
144
|
+
};
|
|
145
|
+
function isSet(value) {
|
|
146
|
+
return value !== null && value !== undefined;
|
|
147
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { AccountActivated } from './account/v1/account_activated';
|
|
2
|
+
export { CaseCreated } from './case/v1/case_created';
|
|
3
|
+
export { PermissionCreated } from './case/v1/permission_created';
|
|
4
|
+
export { PermissionDeleted } from './case/v1/permission_deleted';
|
|
5
|
+
export { PermissionUpdated } from './case/v1/permission_updated';
|
|
6
|
+
export { AnalysisRequested } from './file/v1/analysis_requested';
|
|
7
|
+
export { PreprocessCompleted } from './file/v1/preprocess_completed';
|
|
8
|
+
export { InvitationApproved } from './invitation/v1/invitation_approved';
|
|
9
|
+
export { InvitationVerificationResent } from './invitation/v1/invitation_verification_resent';
|
|
10
|
+
export { CasePermission, InvitationCreated } from './organization/v1/invitation_created';
|
|
11
|
+
export { Attachment, DeliveryType, FileType, ReportGenerated } from './report/v1/report_generated';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReportGenerated = exports.FileType = exports.DeliveryType = exports.Attachment = exports.InvitationCreated = exports.CasePermission = exports.InvitationVerificationResent = exports.InvitationApproved = exports.PreprocessCompleted = exports.AnalysisRequested = exports.PermissionUpdated = exports.PermissionDeleted = exports.PermissionCreated = exports.CaseCreated = exports.AccountActivated = void 0;
|
|
4
|
+
var account_activated_1 = require("./account/v1/account_activated");
|
|
5
|
+
Object.defineProperty(exports, "AccountActivated", { enumerable: true, get: function () { return account_activated_1.AccountActivated; } });
|
|
6
|
+
var case_created_1 = require("./case/v1/case_created");
|
|
7
|
+
Object.defineProperty(exports, "CaseCreated", { enumerable: true, get: function () { return case_created_1.CaseCreated; } });
|
|
8
|
+
var permission_created_1 = require("./case/v1/permission_created");
|
|
9
|
+
Object.defineProperty(exports, "PermissionCreated", { enumerable: true, get: function () { return permission_created_1.PermissionCreated; } });
|
|
10
|
+
var permission_deleted_1 = require("./case/v1/permission_deleted");
|
|
11
|
+
Object.defineProperty(exports, "PermissionDeleted", { enumerable: true, get: function () { return permission_deleted_1.PermissionDeleted; } });
|
|
12
|
+
var permission_updated_1 = require("./case/v1/permission_updated");
|
|
13
|
+
Object.defineProperty(exports, "PermissionUpdated", { enumerable: true, get: function () { return permission_updated_1.PermissionUpdated; } });
|
|
14
|
+
var analysis_requested_1 = require("./file/v1/analysis_requested");
|
|
15
|
+
Object.defineProperty(exports, "AnalysisRequested", { enumerable: true, get: function () { return analysis_requested_1.AnalysisRequested; } });
|
|
16
|
+
var preprocess_completed_1 = require("./file/v1/preprocess_completed");
|
|
17
|
+
Object.defineProperty(exports, "PreprocessCompleted", { enumerable: true, get: function () { return preprocess_completed_1.PreprocessCompleted; } });
|
|
18
|
+
var invitation_approved_1 = require("./invitation/v1/invitation_approved");
|
|
19
|
+
Object.defineProperty(exports, "InvitationApproved", { enumerable: true, get: function () { return invitation_approved_1.InvitationApproved; } });
|
|
20
|
+
var invitation_verification_resent_1 = require("./invitation/v1/invitation_verification_resent");
|
|
21
|
+
Object.defineProperty(exports, "InvitationVerificationResent", { enumerable: true, get: function () { return invitation_verification_resent_1.InvitationVerificationResent; } });
|
|
22
|
+
var invitation_created_1 = require("./organization/v1/invitation_created");
|
|
23
|
+
Object.defineProperty(exports, "CasePermission", { enumerable: true, get: function () { return invitation_created_1.CasePermission; } });
|
|
24
|
+
Object.defineProperty(exports, "InvitationCreated", { enumerable: true, get: function () { return invitation_created_1.InvitationCreated; } });
|
|
25
|
+
var report_generated_1 = require("./report/v1/report_generated");
|
|
26
|
+
Object.defineProperty(exports, "Attachment", { enumerable: true, get: function () { return report_generated_1.Attachment; } });
|
|
27
|
+
Object.defineProperty(exports, "DeliveryType", { enumerable: true, get: function () { return report_generated_1.DeliveryType; } });
|
|
28
|
+
Object.defineProperty(exports, "FileType", { enumerable: true, get: function () { return report_generated_1.FileType; } });
|
|
29
|
+
Object.defineProperty(exports, "ReportGenerated", { enumerable: true, get: function () { return report_generated_1.ReportGenerated; } });
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "invitation.v1";
|
|
3
|
+
export interface InvitationApproved {
|
|
4
|
+
invitationId: string;
|
|
5
|
+
email: string;
|
|
6
|
+
organizationId: string;
|
|
7
|
+
organizationName: string;
|
|
8
|
+
inviterName: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const InvitationApproved: MessageFns<InvitationApproved>;
|
|
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
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
16
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
17
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
18
|
+
} & {
|
|
19
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
20
|
+
};
|
|
21
|
+
export interface MessageFns<T> {
|
|
22
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
23
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
24
|
+
fromJSON(object: any): T;
|
|
25
|
+
toJSON(message: T): unknown;
|
|
26
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
27
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v2.11.7
|
|
5
|
+
// protoc unknown
|
|
6
|
+
// source: invitation/v1/invitation_approved.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.InvitationApproved = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
+
exports.protobufPackage = "invitation.v1";
|
|
12
|
+
function createBaseInvitationApproved() {
|
|
13
|
+
return { invitationId: "", email: "", organizationId: "", organizationName: "", inviterName: "" };
|
|
14
|
+
}
|
|
15
|
+
exports.InvitationApproved = {
|
|
16
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
17
|
+
if (message.invitationId !== "") {
|
|
18
|
+
writer.uint32(10).string(message.invitationId);
|
|
19
|
+
}
|
|
20
|
+
if (message.email !== "") {
|
|
21
|
+
writer.uint32(18).string(message.email);
|
|
22
|
+
}
|
|
23
|
+
if (message.organizationId !== "") {
|
|
24
|
+
writer.uint32(26).string(message.organizationId);
|
|
25
|
+
}
|
|
26
|
+
if (message.organizationName !== "") {
|
|
27
|
+
writer.uint32(34).string(message.organizationName);
|
|
28
|
+
}
|
|
29
|
+
if (message.inviterName !== "") {
|
|
30
|
+
writer.uint32(42).string(message.inviterName);
|
|
31
|
+
}
|
|
32
|
+
return writer;
|
|
33
|
+
},
|
|
34
|
+
decode(input, length) {
|
|
35
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
36
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
37
|
+
const message = createBaseInvitationApproved();
|
|
38
|
+
while (reader.pos < end) {
|
|
39
|
+
const tag = reader.uint32();
|
|
40
|
+
switch (tag >>> 3) {
|
|
41
|
+
case 1: {
|
|
42
|
+
if (tag !== 10) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.invitationId = reader.string();
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
case 2: {
|
|
49
|
+
if (tag !== 18) {
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
message.email = reader.string();
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
55
|
+
case 3: {
|
|
56
|
+
if (tag !== 26) {
|
|
57
|
+
break;
|
|
58
|
+
}
|
|
59
|
+
message.organizationId = reader.string();
|
|
60
|
+
continue;
|
|
61
|
+
}
|
|
62
|
+
case 4: {
|
|
63
|
+
if (tag !== 34) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
message.organizationName = reader.string();
|
|
67
|
+
continue;
|
|
68
|
+
}
|
|
69
|
+
case 5: {
|
|
70
|
+
if (tag !== 42) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
message.inviterName = reader.string();
|
|
74
|
+
continue;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
reader.skip(tag & 7);
|
|
81
|
+
}
|
|
82
|
+
return message;
|
|
83
|
+
},
|
|
84
|
+
fromJSON(object) {
|
|
85
|
+
return {
|
|
86
|
+
invitationId: isSet(object.invitationId)
|
|
87
|
+
? globalThis.String(object.invitationId)
|
|
88
|
+
: isSet(object.invitation_id)
|
|
89
|
+
? globalThis.String(object.invitation_id)
|
|
90
|
+
: "",
|
|
91
|
+
email: isSet(object.email) ? globalThis.String(object.email) : "",
|
|
92
|
+
organizationId: isSet(object.organizationId)
|
|
93
|
+
? globalThis.String(object.organizationId)
|
|
94
|
+
: isSet(object.organization_id)
|
|
95
|
+
? globalThis.String(object.organization_id)
|
|
96
|
+
: "",
|
|
97
|
+
organizationName: isSet(object.organizationName)
|
|
98
|
+
? globalThis.String(object.organizationName)
|
|
99
|
+
: isSet(object.organization_name)
|
|
100
|
+
? globalThis.String(object.organization_name)
|
|
101
|
+
: "",
|
|
102
|
+
inviterName: isSet(object.inviterName)
|
|
103
|
+
? globalThis.String(object.inviterName)
|
|
104
|
+
: isSet(object.inviter_name)
|
|
105
|
+
? globalThis.String(object.inviter_name)
|
|
106
|
+
: "",
|
|
107
|
+
};
|
|
108
|
+
},
|
|
109
|
+
toJSON(message) {
|
|
110
|
+
const obj = {};
|
|
111
|
+
if (message.invitationId !== "") {
|
|
112
|
+
obj.invitationId = message.invitationId;
|
|
113
|
+
}
|
|
114
|
+
if (message.email !== "") {
|
|
115
|
+
obj.email = message.email;
|
|
116
|
+
}
|
|
117
|
+
if (message.organizationId !== "") {
|
|
118
|
+
obj.organizationId = message.organizationId;
|
|
119
|
+
}
|
|
120
|
+
if (message.organizationName !== "") {
|
|
121
|
+
obj.organizationName = message.organizationName;
|
|
122
|
+
}
|
|
123
|
+
if (message.inviterName !== "") {
|
|
124
|
+
obj.inviterName = message.inviterName;
|
|
125
|
+
}
|
|
126
|
+
return obj;
|
|
127
|
+
},
|
|
128
|
+
create(base) {
|
|
129
|
+
return exports.InvitationApproved.fromPartial(base ?? {});
|
|
130
|
+
},
|
|
131
|
+
fromPartial(object) {
|
|
132
|
+
const message = createBaseInvitationApproved();
|
|
133
|
+
message.invitationId = object.invitationId ?? "";
|
|
134
|
+
message.email = object.email ?? "";
|
|
135
|
+
message.organizationId = object.organizationId ?? "";
|
|
136
|
+
message.organizationName = object.organizationName ?? "";
|
|
137
|
+
message.inviterName = object.inviterName ?? "";
|
|
138
|
+
return message;
|
|
139
|
+
},
|
|
140
|
+
};
|
|
141
|
+
function isSet(value) {
|
|
142
|
+
return value !== null && value !== undefined;
|
|
143
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "invitation.v1";
|
|
3
|
+
export interface InvitationVerificationResent {
|
|
4
|
+
invitationId: string;
|
|
5
|
+
email: string;
|
|
6
|
+
organizationId: string;
|
|
7
|
+
organizationName: string;
|
|
8
|
+
inviterName: string;
|
|
9
|
+
emailRedirect: string;
|
|
10
|
+
randomPassword: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const InvitationVerificationResent: MessageFns<InvitationVerificationResent>;
|
|
13
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
14
|
+
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 {} ? {
|
|
15
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
16
|
+
} : Partial<T>;
|
|
17
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
18
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
19
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
20
|
+
} & {
|
|
21
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
22
|
+
};
|
|
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<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
29
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
30
|
+
}
|
|
31
|
+
export {};
|