@sellout/models 0.0.344 → 0.0.345

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.344",
3
+ "version": "0.0.345",
4
4
  "description": "Sellout.io models",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -18,7 +18,7 @@
18
18
  "dependencies": {
19
19
  "@apollo/client": "^3.9.6",
20
20
  "@hapi/joi": "^17.1.1",
21
- "@sellout/utils": "^0.0.344",
21
+ "@sellout/utils": "^0.0.345",
22
22
  "@types/hapi__joi": "^16.0.1",
23
23
  "@types/shortid": "^0.0.29",
24
24
  "@types/zen-observable": "^0.8.7",
@@ -32,5 +32,5 @@
32
32
  "protobufjs": "^6.11.2",
33
33
  "typescript": "^4.9.5"
34
34
  },
35
- "gitHead": "cbec380e9555c737c635db3839719b66616c2fdc"
35
+ "gitHead": "aac9ee42b3865e131de8f816b46f7ceeceadfba5"
36
36
  }
@@ -20,6 +20,7 @@ const query = gql`
20
20
  parentOrderDetails {
21
21
  email
22
22
  phoneNumber
23
+ eventName
23
24
  }
24
25
  user {
25
26
  email
@@ -2,6 +2,7 @@ syntax = "proto3";
2
2
 
3
3
  import "google/protobuf/empty.proto";
4
4
  import "order.proto";
5
+ import "user.proto";
5
6
 
6
7
  package Broadcast;
7
8
 
@@ -150,6 +151,18 @@ message ArtistUpdatedNotification {
150
151
  string artistId = 2;
151
152
  }
152
153
 
154
+
155
+ /****************************************************************************************
156
+ * Contact
157
+ *****************************************************************************************/
158
+
159
+ message AddContactNotification {
160
+ string spanContext = 0;
161
+ repeated Contact contact = 1;
162
+ string orgId = 2;
163
+ }
164
+
165
+
153
166
  service Publisher {
154
167
  // Order
155
168
  rpc orderCreated(OrderCreatedNotification) returns (google.protobuf.Empty) {}
@@ -175,4 +188,7 @@ service Publisher {
175
188
  rpc artistCreated(ArtistCreatedNotification) returns (google.protobuf.Empty) {}
176
189
  rpc artistUpdated(ArtistUpdatedNotification) returns (google.protobuf.Empty) {}
177
190
 
191
+ // Contact
192
+ rpc addContacts(AddContactNotification) returns (google.protobuf.Empty) {}
193
+
178
194
  }
@@ -53,6 +53,7 @@ message Order {
53
53
  message ParentOrderDetails {
54
54
  string email = 0;
55
55
  string phoneNumber = 1;
56
+ string eventName = 2;
56
57
  }
57
58
 
58
59
  message OrderIntegrationResponse {
@@ -468,4 +468,5 @@ service UserService {
468
468
  rpc queryContacts(QueryContactsRequest) returns (QueryContactsResponse) {}
469
469
  rpc updateContact(UpdateContactRequest) returns (UpdateContactResponse) {}
470
470
  rpc superAdminDeleteUser(SuperAdminDeleteUserRequest) returns (SuperAdminDeleteUserResponse) {}
471
+ rpc queryContactAndUsers(QueryUserProfilesRequest) returns (QueryUserProfilesResponse) {}
471
472
  }