@connect-plus-online/ogabai-integrations 0.0.13 → 0.0.14

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/index.cjs.js CHANGED
@@ -5450,14 +5450,14 @@ var productQuery = [
5450
5450
  "createdAt",
5451
5451
  "description",
5452
5452
  "images",
5453
- "metricPackage",
5454
- "metricPackageId",
5453
+ "smallestPackage",
5454
+ "smallestPackageId",
5455
5455
  "name",
5456
5456
  "productAttributes",
5457
5457
  "productPackages",
5458
5458
  "storeId",
5459
5459
  "tag",
5460
- "totalStockInMetricPackage"
5460
+ "totalStockInSmallestPackage"
5461
5461
  ];
5462
5462
  var productNameQuery = [
5463
5463
  "_id",
@@ -5612,14 +5612,14 @@ var authSchema = {
5612
5612
  }
5613
5613
  `,
5614
5614
  login: (query) => `
5615
- mutation login($phone: String!, $pin: String!, $userType: UserTypeInputEnum) {
5615
+ mutation login($phone: String!, $pin: String!, $userType: UserTypeEnum) {
5616
5616
  login(phone: $phone, pin: $pin, userType: $userType) {
5617
5617
  ${query}
5618
5618
  }
5619
5619
  }
5620
5620
  `,
5621
5621
  signUp: (query) => `
5622
- mutation signUp($firstName: String!, $lastName: String!, $phone: String!, $pin: String!, $storeName: String!, $storeLocation: String, $email: String, $userType: UserTypeInputEnum) {
5622
+ mutation signUp($firstName: String!, $lastName: String!, $phone: String!, $pin: String!, $storeName: String!, $storeLocation: String, $email: String, $userType: UserTypeEnum) {
5623
5623
  signUp( firstName: $firstName, lastName: $lastName, phone: $phone, pin: $pin, storeName: $storeName, storeLocation: $storeLocation, email: $email, userType: $userType) {
5624
5624
  ${query}
5625
5625
  }
@@ -5775,7 +5775,7 @@ var getProductResponseFields = [
5775
5775
  ];
5776
5776
  var _getProductResponseNestedFields = {
5777
5777
  productPackages: packageQuery,
5778
- metricPackage: packageQuery,
5778
+ smallestPackage: packageQuery,
5779
5779
  category: categoryQuery,
5780
5780
  price: priceQuery,
5781
5781
  stocks: stockQuery,