@togatherlabs/event-sdk 1.0.45 → 1.0.48
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/experience/v1/experience_created_pb.d.ts +4 -4
- package/gen/ts/experience/v1/experience_created_pb.js +1 -1
- package/gen/ts/partner/v1/index.d.ts +1 -0
- package/gen/ts/partner/v1/index.js +1 -0
- package/gen/ts/partner/v1/partner_profile_created_pb.d.ts +340 -0
- package/gen/ts/partner/v1/partner_profile_created_pb.js +71 -0
- package/package.json +14 -16
|
@@ -57,9 +57,9 @@ export declare type ExperienceCreated = Message<"experience.v1.ExperienceCreated
|
|
|
57
57
|
priceCurrency: Currency;
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
* @generated from field:
|
|
60
|
+
* @generated from field: int32 price_amount = 9;
|
|
61
61
|
*/
|
|
62
|
-
priceAmount:
|
|
62
|
+
priceAmount: number;
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
65
|
* @generated from field: int64 start_time = 10;
|
|
@@ -123,9 +123,9 @@ export declare type Address = Message<"experience.v1.Address"> & {
|
|
|
123
123
|
line1: string;
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
* @generated from field: string line2 = 3;
|
|
126
|
+
* @generated from field: optional string line2 = 3;
|
|
127
127
|
*/
|
|
128
|
-
line2
|
|
128
|
+
line2?: string;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
131
|
* @generated from field: string city = 4;
|
|
@@ -10,7 +10,7 @@ import { file_experience_v1_tag } from "./tag_pb";
|
|
|
10
10
|
* Describes the file experience/v1/experience_created.proto.
|
|
11
11
|
*/
|
|
12
12
|
export const file_experience_v1_experience_created = /*@__PURE__*/
|
|
13
|
-
fileDesc("
|
|
13
|
+
fileDesc("CiZleHBlcmllbmNlL3YxL2V4cGVyaWVuY2VfY3JlYXRlZC5wcm90bxINZXhwZXJpZW5jZS52MSLBAwoRRXhwZXJpZW5jZUNyZWF0ZWQSC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RBAHEhAKDENVUlJFTkNZX0NBRBAIEhAKDENVUlJFTkNZX0NIRhAJEhAKDENVUlJFTkNZX1NHRBAKQoABChFjb20uZXhwZXJpZW5jZS52MUIWRXhwZXJpZW5jZUNyZWF0ZWRQcm90b1ABogIDRVhYqgINRXhwZXJpZW5jZS5WMcoCDUV4cGVyaWVuY2VcVjHiAhlFeHBlcmllbmNlXFYxXEdQQk1ldGFkYXRh6gIORXhwZXJpZW5jZTo6VjFiBnByb3RvMw", [file_experience_v1_category, file_experience_v1_tag]);
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Describes the message experience.v1.ExperienceCreated.
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=js+dts,import_extension=none"
|
|
2
|
+
// @generated from file partner/v1/partner_profile_created.proto (package partner.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file partner/v1/partner_profile_created.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_partner_v1_partner_profile_created: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @generated from message partner.v1.PartnerProfileCreated
|
|
15
|
+
*/
|
|
16
|
+
export declare type PartnerProfileCreated = Message<"partner.v1.PartnerProfileCreated"> & {
|
|
17
|
+
/**
|
|
18
|
+
* Partner basic information
|
|
19
|
+
*
|
|
20
|
+
* @generated from field: string id = 1;
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string name = 2;
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: string email = 3;
|
|
31
|
+
*/
|
|
32
|
+
email: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: partner.v1.PartnerStatus status = 4;
|
|
36
|
+
*/
|
|
37
|
+
status: PartnerStatus;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: partner.v1.PartnerOnboardStatus onboard_status = 5;
|
|
41
|
+
*/
|
|
42
|
+
onboardStatus: PartnerOnboardStatus;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: optional int64 onboarded_at = 6;
|
|
46
|
+
*/
|
|
47
|
+
onboardedAt?: bigint;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: int64 created_at = 7;
|
|
51
|
+
*/
|
|
52
|
+
createdAt: bigint;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @generated from field: int64 updated_at = 8;
|
|
56
|
+
*/
|
|
57
|
+
updatedAt: bigint;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Business information
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: partner.v1.BusinessInfo business_info = 9;
|
|
63
|
+
*/
|
|
64
|
+
businessInfo?: BusinessInfo;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Business addresses
|
|
68
|
+
*
|
|
69
|
+
* @generated from field: partner.v1.BusinessAddress business_address = 10;
|
|
70
|
+
*/
|
|
71
|
+
businessAddress?: BusinessAddress;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Owner information
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: partner.v1.OwnerInfo owner_info = 11;
|
|
77
|
+
*/
|
|
78
|
+
ownerInfo?: OwnerInfo;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Describes the message partner.v1.PartnerProfileCreated.
|
|
83
|
+
* Use `create(PartnerProfileCreatedSchema)` to create a new message.
|
|
84
|
+
*/
|
|
85
|
+
export declare const PartnerProfileCreatedSchema: GenMessage<PartnerProfileCreated>;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @generated from message partner.v1.BusinessInfo
|
|
89
|
+
*/
|
|
90
|
+
export declare type BusinessInfo = Message<"partner.v1.BusinessInfo"> & {
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: string business_name = 1;
|
|
93
|
+
*/
|
|
94
|
+
businessName: string;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: string incorporation_date = 2;
|
|
98
|
+
*/
|
|
99
|
+
incorporationDate: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: string industry = 3;
|
|
103
|
+
*/
|
|
104
|
+
industry: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: string trade_name = 4;
|
|
108
|
+
*/
|
|
109
|
+
tradeName: string;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @generated from field: string business_type = 5;
|
|
113
|
+
*/
|
|
114
|
+
businessType: string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: optional string business_type_other = 6;
|
|
118
|
+
*/
|
|
119
|
+
businessTypeOther?: string;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: optional string gst_number = 7;
|
|
123
|
+
*/
|
|
124
|
+
gstNumber?: string;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Describes the message partner.v1.BusinessInfo.
|
|
129
|
+
* Use `create(BusinessInfoSchema)` to create a new message.
|
|
130
|
+
*/
|
|
131
|
+
export declare const BusinessInfoSchema: GenMessage<BusinessInfo>;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from message partner.v1.BusinessAddress
|
|
135
|
+
*/
|
|
136
|
+
export declare type BusinessAddress = Message<"partner.v1.BusinessAddress"> & {
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: string registered_address_line1 = 1;
|
|
139
|
+
*/
|
|
140
|
+
registeredAddressLine1: string;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: optional string registered_address_line2 = 2;
|
|
144
|
+
*/
|
|
145
|
+
registeredAddressLine2?: string;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: string registered_city = 3;
|
|
149
|
+
*/
|
|
150
|
+
registeredCity: string;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @generated from field: string registered_state = 4;
|
|
154
|
+
*/
|
|
155
|
+
registeredState: string;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @generated from field: string registered_postal_code = 5;
|
|
159
|
+
*/
|
|
160
|
+
registeredPostalCode: string;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: string registered_country = 6;
|
|
164
|
+
*/
|
|
165
|
+
registeredCountry: string;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: bool same_operational_address = 7;
|
|
169
|
+
*/
|
|
170
|
+
sameOperationalAddress: boolean;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* @generated from field: optional string operational_address_line1 = 8;
|
|
174
|
+
*/
|
|
175
|
+
operationalAddressLine1?: string;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: optional string operational_address_line2 = 9;
|
|
179
|
+
*/
|
|
180
|
+
operationalAddressLine2?: string;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: optional string operational_city = 10;
|
|
184
|
+
*/
|
|
185
|
+
operationalCity?: string;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @generated from field: optional string operational_state = 11;
|
|
189
|
+
*/
|
|
190
|
+
operationalState?: string;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @generated from field: optional string operational_postal_code = 12;
|
|
194
|
+
*/
|
|
195
|
+
operationalPostalCode?: string;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: optional string operational_country = 13;
|
|
199
|
+
*/
|
|
200
|
+
operationalCountry?: string;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: partner.v1.Coordinate coordinate = 14;
|
|
204
|
+
*/
|
|
205
|
+
coordinate?: Coordinate;
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Describes the message partner.v1.BusinessAddress.
|
|
210
|
+
* Use `create(BusinessAddressSchema)` to create a new message.
|
|
211
|
+
*/
|
|
212
|
+
export declare const BusinessAddressSchema: GenMessage<BusinessAddress>;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @generated from message partner.v1.OwnerInfo
|
|
216
|
+
*/
|
|
217
|
+
export declare type OwnerInfo = Message<"partner.v1.OwnerInfo"> & {
|
|
218
|
+
/**
|
|
219
|
+
* @generated from field: string owner_name = 1;
|
|
220
|
+
*/
|
|
221
|
+
ownerName: string;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: string owner_email = 2;
|
|
225
|
+
*/
|
|
226
|
+
ownerEmail: string;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: string phone_number = 3;
|
|
230
|
+
*/
|
|
231
|
+
phoneNumber: string;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: string id_type = 4;
|
|
235
|
+
*/
|
|
236
|
+
idType: string;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* @generated from field: string designation = 5;
|
|
240
|
+
*/
|
|
241
|
+
designation: string;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* @generated from field: optional string designation_other = 6;
|
|
245
|
+
*/
|
|
246
|
+
designationOther?: string;
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Describes the message partner.v1.OwnerInfo.
|
|
251
|
+
* Use `create(OwnerInfoSchema)` to create a new message.
|
|
252
|
+
*/
|
|
253
|
+
export declare const OwnerInfoSchema: GenMessage<OwnerInfo>;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* @generated from message partner.v1.Coordinate
|
|
257
|
+
*/
|
|
258
|
+
export declare type Coordinate = Message<"partner.v1.Coordinate"> & {
|
|
259
|
+
/**
|
|
260
|
+
* @generated from field: double latitude = 1;
|
|
261
|
+
*/
|
|
262
|
+
latitude: number;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @generated from field: double longitude = 2;
|
|
266
|
+
*/
|
|
267
|
+
longitude: number;
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Describes the message partner.v1.Coordinate.
|
|
272
|
+
* Use `create(CoordinateSchema)` to create a new message.
|
|
273
|
+
*/
|
|
274
|
+
export declare const CoordinateSchema: GenMessage<Coordinate>;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* @generated from enum partner.v1.PartnerStatus
|
|
278
|
+
*/
|
|
279
|
+
export enum PartnerStatus {
|
|
280
|
+
/**
|
|
281
|
+
* @generated from enum value: PARTNER_STATUS_UNSPECIFIED = 0;
|
|
282
|
+
*/
|
|
283
|
+
UNSPECIFIED = 0,
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* @generated from enum value: PARTNER_STATUS_ACTIVE = 1;
|
|
287
|
+
*/
|
|
288
|
+
ACTIVE = 1,
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* @generated from enum value: PARTNER_STATUS_BLOCKED = 2;
|
|
292
|
+
*/
|
|
293
|
+
BLOCKED = 2,
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* @generated from enum value: PARTNER_STATUS_DELETED = 3;
|
|
297
|
+
*/
|
|
298
|
+
DELETED = 3,
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Describes the enum partner.v1.PartnerStatus.
|
|
303
|
+
*/
|
|
304
|
+
export declare const PartnerStatusSchema: GenEnum<PartnerStatus>;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* @generated from enum partner.v1.PartnerOnboardStatus
|
|
308
|
+
*/
|
|
309
|
+
export enum PartnerOnboardStatus {
|
|
310
|
+
/**
|
|
311
|
+
* @generated from enum value: PARTNER_ONBOARD_STATUS_UNSPECIFIED = 0;
|
|
312
|
+
*/
|
|
313
|
+
UNSPECIFIED = 0,
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* @generated from enum value: PARTNER_ONBOARD_STATUS_PENDING = 1;
|
|
317
|
+
*/
|
|
318
|
+
PENDING = 1,
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* @generated from enum value: PARTNER_ONBOARD_STATUS_COMPLETED = 2;
|
|
322
|
+
*/
|
|
323
|
+
COMPLETED = 2,
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* @generated from enum value: PARTNER_ONBOARD_STATUS_REJECTED = 3;
|
|
327
|
+
*/
|
|
328
|
+
REJECTED = 3,
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* @generated from enum value: PARTNER_ONBOARD_STATUS_WAITING_SYNC = 4;
|
|
332
|
+
*/
|
|
333
|
+
WAITING_SYNC = 4,
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Describes the enum partner.v1.PartnerOnboardStatus.
|
|
338
|
+
*/
|
|
339
|
+
export declare const PartnerOnboardStatusSchema: GenEnum<PartnerOnboardStatus>;
|
|
340
|
+
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=js+dts,import_extension=none"
|
|
2
|
+
// @generated from file partner/v1/partner_profile_created.proto (package partner.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file partner/v1/partner_profile_created.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_partner_v1_partner_prof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BCg1QYXJ0bmVyU3RhdHVzEh4KGlBBUlRORVJfU1RBVFVTX1VOU1BFQ0lGSUVEEAASGQoVUEFSVE5FUl9TVEFUVVNfQUNUSVZFEAESGgoWUEFSVE5FUl9TVEFUVVNfQkxPQ0tFRBACEhoKFlBBUlRORVJfU1RBVFVTX0RFTEVURUQQAyrWAQoUUGFydG5lck9uYm9hcmRTdGF0dXMSJgoiUEFSVE5FUl9PTkJPQVJEX1NUQVRVU19VTlNQRUNJRklFRBAAEiIKHlBBUlRORVJfT05CT0FSRF9TVEFUVVNfUEVORElORxABEiQKIFBBUlRORVJfT05CT0FSRF9TVEFUVVNfQ09NUExFVEVEEAISIwofUEFSVE5FUl9PTkJPQVJEX1NUQVRVU19SRUpFQ1RFRBADEicKI1BBUlRORVJfT05CT0FSRF9TVEFUVVNfV0FJVElOR19TWU5DEARCdQoOY29tLnBhcnRuZXIudjFCGlBhcnRuZXJQcm9maWxlQ3JlYXRlZFByb3RvUAGiAgNQWFiqAgpQYXJ0bmVyLlYxygIKUGFydG5lclxWMeICFlBhcnRuZXJcVjFcR1BCTWV0YWRhdGHqAgtQYXJ0bmVyOjpWMWIGcHJvdG8z");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message partner.v1.PartnerProfileCreated.
|
|
15
|
+
* Use `create(PartnerProfileCreatedSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const PartnerProfileCreatedSchema = /*@__PURE__*/
|
|
18
|
+
messageDesc(file_partner_v1_partner_profile_created, 0);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message partner.v1.BusinessInfo.
|
|
22
|
+
* Use `create(BusinessInfoSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const BusinessInfoSchema = /*@__PURE__*/
|
|
25
|
+
messageDesc(file_partner_v1_partner_profile_created, 1);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message partner.v1.BusinessAddress.
|
|
29
|
+
* Use `create(BusinessAddressSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const BusinessAddressSchema = /*@__PURE__*/
|
|
32
|
+
messageDesc(file_partner_v1_partner_profile_created, 2);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message partner.v1.OwnerInfo.
|
|
36
|
+
* Use `create(OwnerInfoSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const OwnerInfoSchema = /*@__PURE__*/
|
|
39
|
+
messageDesc(file_partner_v1_partner_profile_created, 3);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message partner.v1.Coordinate.
|
|
43
|
+
* Use `create(CoordinateSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const CoordinateSchema = /*@__PURE__*/
|
|
46
|
+
messageDesc(file_partner_v1_partner_profile_created, 4);
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Describes the enum partner.v1.PartnerStatus.
|
|
50
|
+
*/
|
|
51
|
+
export const PartnerStatusSchema = /*@__PURE__*/
|
|
52
|
+
enumDesc(file_partner_v1_partner_profile_created, 0);
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @generated from enum partner.v1.PartnerStatus
|
|
56
|
+
*/
|
|
57
|
+
export const PartnerStatus = /*@__PURE__*/
|
|
58
|
+
tsEnum(PartnerStatusSchema);
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Describes the enum partner.v1.PartnerOnboardStatus.
|
|
62
|
+
*/
|
|
63
|
+
export const PartnerOnboardStatusSchema = /*@__PURE__*/
|
|
64
|
+
enumDesc(file_partner_v1_partner_profile_created, 1);
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from enum partner.v1.PartnerOnboardStatus
|
|
68
|
+
*/
|
|
69
|
+
export const PartnerOnboardStatus = /*@__PURE__*/
|
|
70
|
+
tsEnum(PartnerOnboardStatusSchema);
|
|
71
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togatherlabs/event-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.48",
|
|
4
4
|
"description": "Shared Protobuf event schemas and generated code for toGather microservices",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./admin/v1": {
|
|
@@ -38,24 +38,10 @@
|
|
|
38
38
|
"files": [
|
|
39
39
|
"gen/ts"
|
|
40
40
|
],
|
|
41
|
-
"scripts": {
|
|
42
|
-
"check": "./script/check-environment.sh",
|
|
43
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
44
|
-
"commit": "git-cz",
|
|
45
|
-
"buf:lint": "buf lint",
|
|
46
|
-
"buf:generate": "pnpm check && buf generate && node ./script/gen-index.js && python3 ./script/add-init-files.py",
|
|
47
|
-
"prepare": "husky",
|
|
48
|
-
"package:patch": "pnpm version patch",
|
|
49
|
-
"package:publish": "pnpm publish --access public",
|
|
50
|
-
"python:build": "pnpm check && pnpm buf:generate && node ./script/sync-python-version.js && python3 -m build",
|
|
51
|
-
"python:publish": "rm -rf dist gen && pnpm python:build && python3 -m twine upload dist/* --verbose",
|
|
52
|
-
"release": "rm -rf gen && pnpm buf:lint && pnpm buf:generate && git add . && pnpm commit && pnpm package:patch && git push --follow-tags && pnpm package:publish"
|
|
53
|
-
},
|
|
54
41
|
"keywords": [],
|
|
55
42
|
"type": "module",
|
|
56
43
|
"author": "toGather team",
|
|
57
44
|
"license": "ISC",
|
|
58
|
-
"packageManager": "pnpm@10.18.0",
|
|
59
45
|
"devDependencies": {
|
|
60
46
|
"@bufbuild/buf": "^1.58.0",
|
|
61
47
|
"@commitlint/cli": "^20.1.0",
|
|
@@ -78,5 +64,17 @@
|
|
|
78
64
|
},
|
|
79
65
|
"publishConfig": {
|
|
80
66
|
"access": "public"
|
|
67
|
+
},
|
|
68
|
+
"scripts": {
|
|
69
|
+
"check": "./script/check-environment.sh",
|
|
70
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
71
|
+
"commit": "git-cz",
|
|
72
|
+
"buf:lint": "buf lint",
|
|
73
|
+
"buf:generate": "pnpm check && buf generate && node ./script/gen-index.js && python3 ./script/add-init-files.py",
|
|
74
|
+
"package:patch": "pnpm version patch",
|
|
75
|
+
"package:publish": "pnpm publish --access public",
|
|
76
|
+
"python:build": "pnpm check && pnpm buf:generate && node ./script/sync-python-version.js && python3 -m build",
|
|
77
|
+
"python:publish": "rm -rf dist gen && pnpm python:build && python3 -m twine upload dist/* --verbose",
|
|
78
|
+
"release": "rm -rf gen && pnpm buf:lint && pnpm buf:generate && git add . && pnpm commit && pnpm package:patch && git push --follow-tags && pnpm package:publish"
|
|
81
79
|
}
|
|
82
|
-
}
|
|
80
|
+
}
|