@togatherlabs/event-sdk 1.0.27 → 1.0.28

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