@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.
- package/.dist/enums/ContactsScreenEnum.d.ts +5 -0
- package/.dist/enums/ContactsScreenEnum.js +10 -0
- package/.dist/enums/ContactsScreenEnum.js.map +1 -0
- package/.dist/graphql/mutations/createContacts.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/createContacts.mutation.js +10 -0
- package/.dist/graphql/mutations/createContacts.mutation.js.map +1 -0
- package/.dist/graphql/mutations/updateContact.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/updateContact.mutation.js +17 -0
- package/.dist/graphql/mutations/updateContact.mutation.js.map +1 -0
- package/.dist/graphql/queries/superAdminAllCustomer.query.d.ts +2 -0
- package/.dist/graphql/queries/superAdminAllCustomer.query.js +24 -0
- package/.dist/graphql/queries/superAdminAllCustomer.query.js.map +1 -0
- package/.dist/graphql/queries/userProfilesAdmin.query.js +3 -0
- package/.dist/graphql/queries/userProfilesAdmin.query.js.map +1 -1
- package/.dist/interfaces/IContact.d.ts +9 -0
- package/.dist/interfaces/IContact.js +3 -0
- package/.dist/interfaces/IContact.js.map +1 -0
- package/.dist/sellout-proto.js +8121 -5016
- package/package.json +3 -3
- package/src/enums/ContactsScreenEnum.ts +5 -0
- package/src/graphql/mutations/createContacts.mutation.ts +9 -0
- package/src/graphql/mutations/updateContact.mutation.ts +16 -0
- package/src/graphql/queries/superAdminAllCustomer.query.ts +23 -0
- package/src/graphql/queries/userProfilesAdmin.query.ts +3 -0
- package/src/interfaces/IContact.ts +9 -0
- package/src/proto/user-profile.proto +16 -0
- package/src/proto/user.proto +62 -0
|
@@ -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,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,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,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"}
|
|
@@ -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
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"IContact.js","sourceRoot":"","sources":["../../src/interfaces/IContact.ts"],"names":[],"mappings":""}
|