@sellout/models 0.0.344 → 0.0.346
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/.dist/graphql/mutations/updateOrgEmailWebhook.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/updateOrgEmailWebhook.mutation.js +10 -0
- package/.dist/graphql/mutations/updateOrgEmailWebhook.mutation.js.map +1 -0
- package/.dist/graphql/queries/isDeletebleOrganization.d.ts +2 -0
- package/.dist/graphql/queries/isDeletebleOrganization.js +10 -0
- package/.dist/graphql/queries/isDeletebleOrganization.js.map +1 -0
- package/.dist/graphql/queries/order.query.js +1 -0
- package/.dist/graphql/queries/order.query.js.map +1 -1
- package/.dist/sellout-proto.js +62394 -60440
- package/package.json +3 -3
- package/src/graphql/mutations/updateOrgEmailWebhook.mutation.ts +9 -0
- package/src/graphql/queries/isDeletebleOrganization.ts +9 -0
- package/src/graphql/queries/order.query.ts +1 -0
- package/src/proto/broadcast.proto +16 -0
- package/src/proto/event.proto +12 -0
- package/src/proto/order.proto +12 -1
- package/src/proto/organization.proto +11 -0
- package/src/proto/user.proto +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellout/models",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.346",
|
|
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.
|
|
21
|
+
"@sellout/utils": "^0.0.346",
|
|
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": "
|
|
35
|
+
"gitHead": "12462354bd3f12da1dccc22de1d91f91e9cbf3c2"
|
|
36
36
|
}
|
|
@@ -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
|
}
|
package/src/proto/event.proto
CHANGED
|
@@ -647,6 +647,17 @@ message FindApiKeyResponse {
|
|
|
647
647
|
repeated Error errors = 1;
|
|
648
648
|
}
|
|
649
649
|
|
|
650
|
+
message SuperAdminDeleteEventsRequest {
|
|
651
|
+
string spanContext = 0;
|
|
652
|
+
string orgId = 1;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
message SuperAdminDeleteEventsResponse {
|
|
656
|
+
StatusCode status = 1;
|
|
657
|
+
repeated Error errors = 2;
|
|
658
|
+
bool deleted = 3;
|
|
659
|
+
}
|
|
660
|
+
|
|
650
661
|
|
|
651
662
|
service EventService {
|
|
652
663
|
// Create
|
|
@@ -673,6 +684,7 @@ service EventService {
|
|
|
673
684
|
rpc listEvents(ListEventsRequest) returns (ListEventsResponse) {}
|
|
674
685
|
// Delete
|
|
675
686
|
rpc deleteEvent(DeleteEventRequest) returns (DeleteEventResponse) {}
|
|
687
|
+
rpc superAdminDeleteEvents(SuperAdminDeleteEventsRequest) returns (SuperAdminDeleteEventsResponse) {}
|
|
676
688
|
// Cancel
|
|
677
689
|
rpc cancelEvent(CancelEventRequest) returns (CancelEventResponse) {}
|
|
678
690
|
// Cancel
|
package/src/proto/order.proto
CHANGED
|
@@ -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 {
|
|
@@ -832,6 +833,16 @@ message ShareOrderTimestamp {
|
|
|
832
833
|
int32 rejectedTime = 3;
|
|
833
834
|
}
|
|
834
835
|
|
|
836
|
+
message QueryOrgDeletableRequest {
|
|
837
|
+
string spanContext = 0;
|
|
838
|
+
string orgId = 1;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
message QueryOrgDeletableResponse {
|
|
842
|
+
StatusCode status = 0;
|
|
843
|
+
repeated Error errors = 1;
|
|
844
|
+
bool isOrgDeletable = 2;
|
|
845
|
+
}
|
|
835
846
|
|
|
836
847
|
|
|
837
848
|
service OrderService {
|
|
@@ -883,5 +894,5 @@ service OrderService {
|
|
|
883
894
|
rpc sharingTicketStatusChange(SharingTicketStatusChangeRequest) returns(SharingTicketStatusChangeResponse){}
|
|
884
895
|
rpc orderIntegrationUpdate(OrderIntegrationUpdateRequest) returns(OrderIntegrationUpdateResponse){}
|
|
885
896
|
rpc emailTicketHolders(EmailTicketHolderRequest) returns(EmailTicketHolderResponse){}
|
|
886
|
-
|
|
897
|
+
rpc queryOrgDeletable(QueryOrgDeletableRequest) returns(QueryOrgDeletableResponse){}
|
|
887
898
|
}
|
|
@@ -123,6 +123,16 @@ message DeleteOrganizationResponse {
|
|
|
123
123
|
bool isDeleted = 2;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
+
message UpdateOrgEmailWebhookRequest {
|
|
127
|
+
string spanContext = 0;
|
|
128
|
+
string email = 1;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
message UpdateOrgEmailWebhookResponse {
|
|
132
|
+
StatusCode status = 0;
|
|
133
|
+
repeated Error errors = 1;
|
|
134
|
+
}
|
|
135
|
+
|
|
126
136
|
service OrganizationService {
|
|
127
137
|
// Create
|
|
128
138
|
rpc createOrganization(CreateOrganizationRequest) returns (CreateOrganizationResponse) {}
|
|
@@ -132,6 +142,7 @@ service OrganizationService {
|
|
|
132
142
|
rpc queryOrganizations(QueryOrganizationsRequest) returns (QueryOrganizationsResponse) {}
|
|
133
143
|
// Update
|
|
134
144
|
rpc updateOrganization(UpdateOrganizationRequest) returns (UpdateOrganizationResponse) {}
|
|
145
|
+
rpc updateOrgEmailWebhook(UpdateOrgEmailWebhookRequest) returns (UpdateOrgEmailWebhookResponse) {}
|
|
135
146
|
// Find
|
|
136
147
|
rpc findOrganization(FindOrganizationRequest) returns (FindOrganizationResponse) {}
|
|
137
148
|
// Delete
|
package/src/proto/user.proto
CHANGED
|
@@ -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
|
}
|