@sellout/models 0.0.337 → 0.0.338

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.
@@ -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"}
@@ -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":""}