@sellout/models 0.0.337 → 0.0.339

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.
Files changed (27) hide show
  1. package/.dist/enums/ContactsScreenEnum.d.ts +5 -0
  2. package/.dist/enums/ContactsScreenEnum.js +10 -0
  3. package/.dist/enums/ContactsScreenEnum.js.map +1 -0
  4. package/.dist/graphql/mutations/createContacts.mutation.d.ts +2 -0
  5. package/.dist/graphql/mutations/createContacts.mutation.js +10 -0
  6. package/.dist/graphql/mutations/createContacts.mutation.js.map +1 -0
  7. package/.dist/graphql/mutations/updateContact.mutation.d.ts +2 -0
  8. package/.dist/graphql/mutations/updateContact.mutation.js +17 -0
  9. package/.dist/graphql/mutations/updateContact.mutation.js.map +1 -0
  10. package/.dist/graphql/queries/superAdminAllCustomer.query.d.ts +2 -0
  11. package/.dist/graphql/queries/superAdminAllCustomer.query.js +24 -0
  12. package/.dist/graphql/queries/superAdminAllCustomer.query.js.map +1 -0
  13. package/.dist/graphql/queries/userProfilesAdmin.query.js +3 -0
  14. package/.dist/graphql/queries/userProfilesAdmin.query.js.map +1 -1
  15. package/.dist/interfaces/IContact.d.ts +9 -0
  16. package/.dist/interfaces/IContact.js +3 -0
  17. package/.dist/interfaces/IContact.js.map +1 -0
  18. package/.dist/sellout-proto.js +8121 -5016
  19. package/package.json +3 -3
  20. package/src/enums/ContactsScreenEnum.ts +5 -0
  21. package/src/graphql/mutations/createContacts.mutation.ts +9 -0
  22. package/src/graphql/mutations/updateContact.mutation.ts +16 -0
  23. package/src/graphql/queries/superAdminAllCustomer.query.ts +23 -0
  24. package/src/graphql/queries/userProfilesAdmin.query.ts +3 -0
  25. package/src/interfaces/IContact.ts +9 -0
  26. package/src/proto/user-profile.proto +16 -0
  27. package/src/proto/user.proto +62 -0
@@ -0,0 +1,5 @@
1
+ export declare enum ContactsScreenEnum {
2
+ ShowContactsOnly = "showContactsOnly",
3
+ ShowCustomersOnly = "showCustomersOnly",
4
+ ShowContactsAndCustomer = "showContactsAndCustomer"
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ContactsScreenEnum = void 0;
4
+ var ContactsScreenEnum;
5
+ (function (ContactsScreenEnum) {
6
+ ContactsScreenEnum["ShowContactsOnly"] = "showContactsOnly";
7
+ ContactsScreenEnum["ShowCustomersOnly"] = "showCustomersOnly";
8
+ ContactsScreenEnum["ShowContactsAndCustomer"] = "showContactsAndCustomer";
9
+ })(ContactsScreenEnum = exports.ContactsScreenEnum || (exports.ContactsScreenEnum = {}));
10
+ //# sourceMappingURL=ContactsScreenEnum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContactsScreenEnum.js","sourceRoot":"","sources":["../../src/enums/ContactsScreenEnum.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAIT;AAJH,WAAY,kBAAkB;IAC1B,2DAAqC,CAAA;IACrC,6DAAuC,CAAA;IACvC,yEAAmD,CAAA;AACrD,CAAC,EAJS,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI3B"}
@@ -0,0 +1,2 @@
1
+ declare const mutation: import("@apollo/client").DocumentNode;
2
+ export default mutation;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const client_1 = require("@apollo/client");
4
+ const mutation = (0, client_1.gql) `
5
+ mutation createContact($contact: [ContactInput!]!) {
6
+ createContact(contact: $contact)
7
+ }
8
+ `;
9
+ exports.default = mutation;
10
+ //# sourceMappingURL=createContacts.mutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createContacts.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/createContacts.mutation.ts"],"names":[],"mappings":";;AAAA,2CAAmC;AAEnC,MAAM,QAAQ,GAAG,IAAA,YAAG,EAAA;;;;CAInB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const mutation: import("@apollo/client").DocumentNode;
2
+ export default mutation;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const client_1 = require("@apollo/client");
4
+ const mutation = (0, client_1.gql) `
5
+ mutation updateContact($contact: UpdateContactInput!) {
6
+ updateContact(contact: $contact) {
7
+ _id
8
+ firstName
9
+ lastName
10
+ orgId
11
+ userId
12
+ email
13
+ }
14
+ }
15
+ `;
16
+ exports.default = mutation;
17
+ //# sourceMappingURL=updateContact.mutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateContact.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateContact.mutation.ts"],"names":[],"mappings":";;AAAA,2CAAmC;AAEnC,MAAM,QAAQ,GAAG,IAAA,YAAG,EAAA;;;;;;;;;;;CAWnB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const query: import("@apollo/client").DocumentNode;
2
+ export default query;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const client_1 = require("@apollo/client");
4
+ const query = (0, client_1.gql) `
5
+ query allUserProfilesAdmin($query: UserProfileQueryInput, $pagination: PaginationInput ) {
6
+ allUserProfilesAdmin(query: $query, pagination: $pagination) {
7
+ _id
8
+ userId
9
+ imageUrl
10
+ firstName
11
+ lastName
12
+ email
13
+ phoneNumber
14
+ stripeCustomerId
15
+ organization{
16
+ orgName
17
+ _id
18
+ }
19
+ __typename
20
+ }
21
+ }
22
+ `;
23
+ exports.default = query;
24
+ //# sourceMappingURL=superAdminAllCustomer.query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"superAdminAllCustomer.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/superAdminAllCustomer.query.ts"],"names":[],"mappings":";;AAAA,2CAAmC;AAEnC,MAAM,KAAK,GAAG,IAAA,YAAG,EAAA;;;;;;;;;;;;;;;;;;CAkBhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -9,6 +9,9 @@ const query = (0, client_1.gql) `
9
9
  userProfilesAdmin(query: $query, pagination: $pagination) {
10
10
  _id
11
11
  userId
12
+ firstName
13
+ lastName
14
+ email
12
15
  imageUrl
13
16
  user {
14
17
  _id
@@ -1 +1 @@
1
- {"version":3,"file":"userProfilesAdmin.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/userProfilesAdmin.query.ts"],"names":[],"mappings":";;AAAA,2CAAmC;AAEnC,MAAM,KAAK,GAAG,IAAA,YAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+ChB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"userProfilesAdmin.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/userProfilesAdmin.query.ts"],"names":[],"mappings":";;AAAA,2CAAmC;AAEnC,MAAM,KAAK,GAAG,IAAA,YAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -0,0 +1,9 @@
1
+ export default interface IContact {
2
+ _id?: string;
3
+ orgId?: string;
4
+ firstName?: string;
5
+ lastName?: string;
6
+ email?: string;
7
+ userId?: string;
8
+ createdAt?: number;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IContact.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IContact.js","sourceRoot":"","sources":["../../src/interfaces/IContact.ts"],"names":[],"mappings":""}