@togatherlabs/event-sdk 1.0.25 → 1.0.27
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/gen/ts/admin/v1/{admin_created_pb.d.ts → admin_account_created_pb.d.ts} +12 -12
- package/gen/ts/admin/v1/admin_account_created_pb.js +33 -0
- package/gen/ts/admin/v1/admin_emai_verification_requested_pb.d.ts +94 -0
- package/gen/ts/admin/v1/admin_emai_verification_requested_pb.js +26 -0
- package/gen/ts/admin/v1/index.d.ts +2 -1
- package/gen/ts/admin/v1/index.js +2 -1
- package/package.json +13 -1
- package/gen/ts/admin/v1/admin_created_pb.js +0 -33
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @generated by protoc-gen-es v2.10.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file admin/v1/
|
|
2
|
+
// @generated from file admin/v1/admin_account_created.proto (package admin.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
5
|
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
@@ -7,14 +7,14 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
7
7
|
import type { FieldOptions } from "@bufbuild/protobuf/wkt";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Describes the file admin/v1/
|
|
10
|
+
* Describes the file admin/v1/admin_account_created.proto.
|
|
11
11
|
*/
|
|
12
|
-
export declare const
|
|
12
|
+
export declare const file_admin_v1_admin_account_created: GenFile;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* @generated from message admin.v1.
|
|
15
|
+
* @generated from message admin.v1.AdminAccountCreatedPayload
|
|
16
16
|
*/
|
|
17
|
-
export declare type
|
|
17
|
+
export declare type AdminAccountCreatedPayload = Message<"admin.v1.AdminAccountCreatedPayload"> & {
|
|
18
18
|
/**
|
|
19
19
|
* @generated from field: string id = 10;
|
|
20
20
|
*/
|
|
@@ -42,10 +42,10 @@ export declare type Payload = Message<"admin.v1.Payload"> & {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
|
-
* Describes the message admin.v1.
|
|
46
|
-
* Use `create(
|
|
45
|
+
* Describes the message admin.v1.AdminAccountCreatedPayload.
|
|
46
|
+
* Use `create(AdminAccountCreatedPayloadSchema)` to create a new message.
|
|
47
47
|
*/
|
|
48
|
-
export declare const
|
|
48
|
+
export declare const AdminAccountCreatedPayloadSchema: GenMessage<AdminAccountCreatedPayload>;
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* @generated from message admin.v1.AdminAccountCreated
|
|
@@ -72,14 +72,14 @@ export declare type AdminAccountCreated = Message<"admin.v1.AdminAccountCreated"
|
|
|
72
72
|
timestamp: bigint;
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
|
-
* @generated from field: string trace_id = 5;
|
|
75
|
+
* @generated from field: optional string trace_id = 5;
|
|
76
76
|
*/
|
|
77
|
-
traceId
|
|
77
|
+
traceId?: string;
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
|
-
* @generated from field: admin.v1.
|
|
80
|
+
* @generated from field: admin.v1.AdminAccountCreatedPayload payload = 9;
|
|
81
81
|
*/
|
|
82
|
-
payload?:
|
|
82
|
+
payload?: AdminAccountCreatedPayload;
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
/**
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
+
// @generated from file admin/v1/admin_account_created.proto (package admin.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { extDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file admin/v1/admin_account_created.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_admin_v1_admin_account_created = /*@__PURE__*/
|
|
12
|
+
fileDesc("CiRhZG1pbi92MS9hZG1pbl9hY2NvdW50X2NyZWF0ZWQucHJvdG8SCGFkbWluLnYxInIKGkFkbWluQWNjb3VudENyZWF0ZWRQYXlsb2FkEgoKAmlkGAogASgJEg0KBWVtYWlsGAsgASgJEhIKCmZpcnN0X25hbWUYDCABKAkSEQoJbGFzdF9uYW1lGA0gASgJEhIKCmNyZWF0ZWRfYXQYDiABKAMi5gEKE0FkbWluQWNjb3VudENyZWF0ZWQSLQoKZXZlbnRfbmFtZRgBIAEoCUIZirUYFWFkbWluLmFjY291bnQuY3JlYXRlZBIcCg1ldmVudF92ZXJzaW9uGAIgASgFQgWKtRgBMRIUCgxhZ2dyZWdhdGVfaWQYAyABKAkSEQoJdGltZXN0YW1wGAQgASgDEhUKCHRyYWNlX2lkGAUgASgJSACIAQESNQoHcGF5bG9hZBgJIAEoCzIkLmFkbWluLnYxLkFkbWluQWNjb3VudENyZWF0ZWRQYXlsb2FkQgsKCV90cmFjZV9pZDpACgtmaXhlZF92YWx1ZRIdLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMY0YYDIAEoCVIKZml4ZWRWYWx1ZUJpCgxjb20uYWRtaW4udjFCGEFkbWluQWNjb3VudENyZWF0ZWRQcm90b1ABogIDQVhYqgIIQWRtaW4uVjHKAghBZG1pblxWMeICFEFkbWluXFYxXEdQQk1ldGFkYXRh6gIJQWRtaW46OlYxYgZwcm90bzM", [file_google_protobuf_descriptor]);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message admin.v1.AdminAccountCreatedPayload.
|
|
16
|
+
* Use `create(AdminAccountCreatedPayloadSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const AdminAccountCreatedPayloadSchema = /*@__PURE__*/
|
|
19
|
+
messageDesc(file_admin_v1_admin_account_created, 0);
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message admin.v1.AdminAccountCreated.
|
|
23
|
+
* Use `create(AdminAccountCreatedSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const AdminAccountCreatedSchema = /*@__PURE__*/
|
|
26
|
+
messageDesc(file_admin_v1_admin_account_created, 1);
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from extension: string fixed_value = 50001;
|
|
30
|
+
*/
|
|
31
|
+
export const fixed_value = /*@__PURE__*/
|
|
32
|
+
extDesc(file_admin_v1_admin_account_created, 0);
|
|
33
|
+
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
+
// @generated from file admin/v1/admin_emai_verification_requested.proto (package admin.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file admin/v1/admin_emai_verification_requested.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_admin_v1_admin_emai_verification_requested: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @generated from message admin.v1.AdminEmailVerificationRequestedPayload
|
|
15
|
+
*/
|
|
16
|
+
export declare type AdminEmailVerificationRequestedPayload = Message<"admin.v1.AdminEmailVerificationRequestedPayload"> & {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: string id = 10;
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: string email = 11;
|
|
24
|
+
*/
|
|
25
|
+
email: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: optional string first_name = 12;
|
|
29
|
+
*/
|
|
30
|
+
firstName?: string;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: optional string last_name = 13;
|
|
34
|
+
*/
|
|
35
|
+
lastName?: string;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: string verification_token = 14;
|
|
39
|
+
*/
|
|
40
|
+
verificationToken: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @generated from field: int64 created_at = 15;
|
|
44
|
+
*/
|
|
45
|
+
createdAt: bigint;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message admin.v1.AdminEmailVerificationRequestedPayload.
|
|
50
|
+
* Use `create(AdminEmailVerificationRequestedPayloadSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export declare const AdminEmailVerificationRequestedPayloadSchema: GenMessage<AdminEmailVerificationRequestedPayload>;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @generated from message admin.v1.AdminEmailVerificationRequested
|
|
56
|
+
*/
|
|
57
|
+
export declare type AdminEmailVerificationRequested = Message<"admin.v1.AdminEmailVerificationRequested"> & {
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: string event_name = 1;
|
|
60
|
+
*/
|
|
61
|
+
eventName: string;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: int32 event_version = 2;
|
|
65
|
+
*/
|
|
66
|
+
eventVersion: number;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: string aggregate_id = 3;
|
|
70
|
+
*/
|
|
71
|
+
aggregateId: string;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: int64 timestamp = 4;
|
|
75
|
+
*/
|
|
76
|
+
timestamp: bigint;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: optional string trace_id = 5;
|
|
80
|
+
*/
|
|
81
|
+
traceId?: string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: admin.v1.AdminEmailVerificationRequestedPayload payload = 9;
|
|
85
|
+
*/
|
|
86
|
+
payload?: AdminEmailVerificationRequestedPayload;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Describes the message admin.v1.AdminEmailVerificationRequested.
|
|
91
|
+
* Use `create(AdminEmailVerificationRequestedSchema)` to create a new message.
|
|
92
|
+
*/
|
|
93
|
+
export declare const AdminEmailVerificationRequestedSchema: GenMessage<AdminEmailVerificationRequested>;
|
|
94
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
+
// @generated from file admin/v1/admin_emai_verification_requested.proto (package admin.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file admin/v1/admin_emai_verification_requested.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_admin_v1_admin_emai_verification_requested = /*@__PURE__*/
|
|
11
|
+
fileDesc("CjBhZG1pbi92MS9hZG1pbl9lbWFpX3ZlcmlmaWNhdGlvbl9yZXF1ZXN0ZWQucHJvdG8SCGFkbWluLnYxIsEBCiZBZG1pbkVtYWlsVmVyaWZpY2F0aW9uUmVxdWVzdGVkUGF5bG9hZBIKCgJpZBgKIAEoCRINCgVlbWFpbBgLIAEoCRIXCgpmaXJzdF9uYW1lGAwgASgJSACIAQESFgoJbGFzdF9uYW1lGA0gASgJSAGIAQESGgoSdmVyaWZpY2F0aW9uX3Rva2VuGA4gASgJEhIKCmNyZWF0ZWRfYXQYDyABKANCDQoLX2ZpcnN0X25hbWVCDAoKX2xhc3RfbmFtZSLcAQofQWRtaW5FbWFpbFZlcmlmaWNhdGlvblJlcXVlc3RlZBISCgpldmVudF9uYW1lGAEgASgJEhUKDWV2ZW50X3ZlcnNpb24YAiABKAUSFAoMYWdncmVnYXRlX2lkGAMgASgJEhEKCXRpbWVzdGFtcBgEIAEoAxIVCgh0cmFjZV9pZBgFIAEoCUgAiAEBEkEKB3BheWxvYWQYCSABKAsyMC5hZG1pbi52MS5BZG1pbkVtYWlsVmVyaWZpY2F0aW9uUmVxdWVzdGVkUGF5bG9hZEILCglfdHJhY2VfaWRCdAoMY29tLmFkbWluLnYxQiNBZG1pbkVtYWlWZXJpZmljYXRpb25SZXF1ZXN0ZWRQcm90b1ABogIDQVhYqgIIQWRtaW4uVjHKAghBZG1pblxWMeICFEFkbWluXFYxXEdQQk1ldGFkYXRh6gIJQWRtaW46OlYxYgZwcm90bzM");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message admin.v1.AdminEmailVerificationRequestedPayload.
|
|
15
|
+
* Use `create(AdminEmailVerificationRequestedPayloadSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const AdminEmailVerificationRequestedPayloadSchema = /*@__PURE__*/
|
|
18
|
+
messageDesc(file_admin_v1_admin_emai_verification_requested, 0);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message admin.v1.AdminEmailVerificationRequested.
|
|
22
|
+
* Use `create(AdminEmailVerificationRequestedSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const AdminEmailVerificationRequestedSchema = /*@__PURE__*/
|
|
25
|
+
messageDesc(file_admin_v1_admin_emai_verification_requested, 1);
|
|
26
|
+
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './admin_account_created_pb';
|
|
2
|
+
export * from './admin_emai_verification_requested_pb';
|
package/gen/ts/admin/v1/index.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './admin_account_created_pb';
|
|
2
|
+
export * from './admin_emai_verification_requested_pb';
|
package/package.json
CHANGED
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togatherlabs/event-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"description": "Shared Protobuf event schemas and generated code for toGather microservices",
|
|
5
5
|
"exports": {
|
|
6
|
+
"./admin/v1": {
|
|
7
|
+
"types": "./gen/ts/admin/v1/index.d.ts",
|
|
8
|
+
"import": "./gen/ts/admin/v1/index.js",
|
|
9
|
+
"require": "./gen/ts/admin/v1/index.js",
|
|
10
|
+
"default": "./gen/ts/admin/v1/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./partner/v1": {
|
|
13
|
+
"types": "./gen/ts/partner/v1/index.d.ts",
|
|
14
|
+
"import": "./gen/ts/partner/v1/index.js",
|
|
15
|
+
"require": "./gen/ts/partner/v1/index.js",
|
|
16
|
+
"default": "./gen/ts/partner/v1/index.js"
|
|
17
|
+
},
|
|
6
18
|
"./user/v1": {
|
|
7
19
|
"types": "./gen/ts/user/v1/index.d.ts",
|
|
8
20
|
"import": "./gen/ts/user/v1/index.js",
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.10.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
-
// @generated from file admin/v1/admin_created.proto (package admin.v1, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
import { extDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
-
import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Describes the file admin/v1/admin_created.proto.
|
|
10
|
-
*/
|
|
11
|
-
export const file_admin_v1_admin_created = /*@__PURE__*/
|
|
12
|
-
fileDesc("ChxhZG1pbi92MS9hZG1pbl9jcmVhdGVkLnByb3RvEghhZG1pbi52MSJfCgdQYXlsb2FkEgoKAmlkGAogASgJEg0KBWVtYWlsGAsgASgJEhIKCmZpcnN0X25hbWUYDCABKAkSEQoJbGFzdF9uYW1lGA0gASgJEhIKCmNyZWF0ZWRfYXQYDiABKAMiwQEKE0FkbWluQWNjb3VudENyZWF0ZWQSLQoKZXZlbnRfbmFtZRgBIAEoCUIZirUYFWFkbWluLmFjY291bnQuY3JlYXRlZBIcCg1ldmVudF92ZXJzaW9uGAIgASgFQgWKtRgBMRIUCgxhZ2dyZWdhdGVfaWQYAyABKAkSEQoJdGltZXN0YW1wGAQgASgDEhAKCHRyYWNlX2lkGAUgASgJEiIKB3BheWxvYWQYCSABKAsyES5hZG1pbi52MS5QYXlsb2FkOkAKC2ZpeGVkX3ZhbHVlEh0uZ29vZ2xlLnByb3RvYnVmLkZpZWxkT3B0aW9ucxjRhgMgASgJUgpmaXhlZFZhbHVlQmIKDGNvbS5hZG1pbi52MUIRQWRtaW5DcmVhdGVkUHJvdG9QAaICA0FYWKoCCEFkbWluLlYxygIIQWRtaW5cVjHiAhRBZG1pblxWMVxHUEJNZXRhZGF0YeoCCUFkbWluOjpWMWIGcHJvdG8z", [file_google_protobuf_descriptor]);
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Describes the message admin.v1.Payload.
|
|
16
|
-
* Use `create(PayloadSchema)` to create a new message.
|
|
17
|
-
*/
|
|
18
|
-
export const PayloadSchema = /*@__PURE__*/
|
|
19
|
-
messageDesc(file_admin_v1_admin_created, 0);
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Describes the message admin.v1.AdminAccountCreated.
|
|
23
|
-
* Use `create(AdminAccountCreatedSchema)` to create a new message.
|
|
24
|
-
*/
|
|
25
|
-
export const AdminAccountCreatedSchema = /*@__PURE__*/
|
|
26
|
-
messageDesc(file_admin_v1_admin_created, 1);
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @generated from extension: string fixed_value = 50001;
|
|
30
|
-
*/
|
|
31
|
-
export const fixed_value = /*@__PURE__*/
|
|
32
|
-
extDesc(file_admin_v1_admin_created, 0);
|
|
33
|
-
|