@togatherlabs/event-sdk 1.0.26 → 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/index.d.ts
CHANGED
package/gen/ts/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './parter_account_created_pb';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './parter_account_created_pb';
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.0 with parameter "target=js+dts,import_extension=none"
|
|
2
|
+
// @generated from file partner/v1/parter_account_created.proto (package partner.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { FieldOptions } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file partner/v1/parter_account_created.proto.
|
|
11
|
+
*/
|
|
12
|
+
export declare const file_partner_v1_parter_account_created: GenFile;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @generated from message partner.v1.Payload
|
|
16
|
+
*/
|
|
17
|
+
export declare type Payload = Message<"partner.v1.Payload"> & {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: string id = 10;
|
|
20
|
+
*/
|
|
21
|
+
id: string;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string email = 11;
|
|
25
|
+
*/
|
|
26
|
+
email: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: string name = 12;
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: int64 created_at = 14;
|
|
35
|
+
*/
|
|
36
|
+
createdAt: bigint;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message partner.v1.Payload.
|
|
41
|
+
* Use `create(PayloadSchema)` to create a new message.
|
|
42
|
+
*/
|
|
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>;
|
|
90
|
+
|
|
@@ -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 partner/v1/parter_account_created.proto (package partner.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 partner/v1/parter_account_created.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_partner_v1_parter_account_created = /*@__PURE__*/
|
|
12
|
+
fileDesc("CidwYXJ0bmVyL3YxL3BhcnRlcl9hY2NvdW50X2NyZWF0ZWQucHJvdG8SCnBhcnRuZXIudjEiRgoHUGF5bG9hZBIKCgJpZBgKIAEoCRINCgVlbWFpbBgLIAEoCRIMCgRuYW1lGAwgASgJEhIKCmNyZWF0ZWRfYXQYDiABKAMixgEKFVBhcnRuZXJBY2NvdW50Q3JlYXRlZBIuCgpldmVudF9uYW1lGAEgASgJQhqStRgWcGFydGVyLmFjY291bnQuY3JlYXRlZBIcCg1ldmVudF92ZXJzaW9uGAIgASgFQgWStRgBMRIUCgxhZ2dyZWdhdGVfaWQYAyABKAkSEQoJdGltZXN0YW1wGAQgASgDEhAKCHRyYWNlX2lkGAUgASgJEiQKB3BheWxvYWQYCSABKAsyEy5wYXJ0bmVyLnYxLlBheWxvYWQ6QAoLZml4ZWRfdmFsdWUSHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGNKGAyABKAlSCmZpeGVkVmFsdWVCdAoOY29tLnBhcnRuZXIudjFCGVBhcnRlckFjY291bnRDcmVhdGVkUHJvdG9QAaICA1BYWKoCClBhcnRuZXIuVjHKAgpQYXJ0bmVyXFYx4gIWUGFydG5lclxWMVxHUEJNZXRhZGF0YeoCC1BhcnRuZXI6OlYxYgZwcm90bzM", [file_google_protobuf_descriptor]);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message partner.v1.Payload.
|
|
16
|
+
* Use `create(PayloadSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const PayloadSchema = /*@__PURE__*/
|
|
19
|
+
messageDesc(file_partner_v1_parter_account_created, 0);
|
|
20
|
+
|
|
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
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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
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
|
+
"./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
|
+
},
|
|
12
18
|
"./user/v1": {
|
|
13
19
|
"types": "./gen/ts/user/v1/index.d.ts",
|
|
14
20
|
"import": "./gen/ts/user/v1/index.js",
|