@sellout/models 0.0.264 → 0.0.266

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.
@@ -15,4 +15,4 @@ export declare enum PaginationTypes {
15
15
  Customers = "Customers",
16
16
  Organizations = "Organizations"
17
17
  }
18
- export type PaginationMap = Map<PaginationTypes, IPagination>;
18
+ export declare type PaginationMap = Map<PaginationTypes, IPagination>;
@@ -117934,6 +117934,7 @@ $root.UserProfileQuery = (function() {
117934
117934
  * @property {string|null} [email] UserProfileQuery email
117935
117935
  * @property {string|null} [phoneNumber] UserProfileQuery phoneNumber
117936
117936
  * @property {boolean|null} [any] UserProfileQuery any
117937
+ * @property {string|null} [orgId] UserProfileQuery orgId
117937
117938
  */
117938
117939
 
117939
117940
  /**
@@ -118019,6 +118020,14 @@ $root.UserProfileQuery = (function() {
118019
118020
  */
118020
118021
  UserProfileQuery.prototype.any = false;
118021
118022
 
118023
+ /**
118024
+ * UserProfileQuery orgId.
118025
+ * @member {string} orgId
118026
+ * @memberof UserProfileQuery
118027
+ * @instance
118028
+ */
118029
+ UserProfileQuery.prototype.orgId = "";
118030
+
118022
118031
  /**
118023
118032
  * Creates a new UserProfileQuery instance using the specified properties.
118024
118033
  * @function create
@@ -118063,6 +118072,8 @@ $root.UserProfileQuery = (function() {
118063
118072
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.phoneNumber);
118064
118073
  if (message.any != null && Object.hasOwnProperty.call(message, "any"))
118065
118074
  writer.uint32(/* id 7, wireType 0 =*/56).bool(message.any);
118075
+ if (message.orgId != null && Object.hasOwnProperty.call(message, "orgId"))
118076
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.orgId);
118066
118077
  return writer;
118067
118078
  };
118068
118079
 
@@ -118129,6 +118140,9 @@ $root.UserProfileQuery = (function() {
118129
118140
  case 7:
118130
118141
  message.any = reader.bool();
118131
118142
  break;
118143
+ case 8:
118144
+ message.orgId = reader.string();
118145
+ break;
118132
118146
  default:
118133
118147
  reader.skipType(tag & 7);
118134
118148
  break;
@@ -118204,6 +118218,9 @@ $root.UserProfileQuery = (function() {
118204
118218
  if (message.any != null && message.hasOwnProperty("any"))
118205
118219
  if (typeof message.any !== "boolean")
118206
118220
  return "any: boolean expected";
118221
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
118222
+ if (!$util.isString(message.orgId))
118223
+ return "orgId: string expected";
118207
118224
  return null;
118208
118225
  };
118209
118226
 
@@ -118255,6 +118272,8 @@ $root.UserProfileQuery = (function() {
118255
118272
  message.phoneNumber = String(object.phoneNumber);
118256
118273
  if (object.any != null)
118257
118274
  message.any = Boolean(object.any);
118275
+ if (object.orgId != null)
118276
+ message.orgId = String(object.orgId);
118258
118277
  return message;
118259
118278
  };
118260
118279
 
@@ -118282,6 +118301,7 @@ $root.UserProfileQuery = (function() {
118282
118301
  object.email = "";
118283
118302
  object.phoneNumber = "";
118284
118303
  object.any = false;
118304
+ object.orgId = "";
118285
118305
  }
118286
118306
  if (message.eventIds && message.eventIds.length) {
118287
118307
  object.eventIds = [];
@@ -118311,6 +118331,8 @@ $root.UserProfileQuery = (function() {
118311
118331
  object.phoneNumber = message.phoneNumber;
118312
118332
  if (message.any != null && message.hasOwnProperty("any"))
118313
118333
  object.any = message.any;
118334
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
118335
+ object.orgId = message.orgId;
118314
118336
  return object;
118315
118337
  };
118316
118338
 
@@ -4,7 +4,7 @@ interface IDuration {
4
4
  startsAt: number;
5
5
  endsAt: number;
6
6
  }
7
- type IntervalInfo = {
7
+ declare type IntervalInfo = {
8
8
  startDate: number;
9
9
  endDate: number;
10
10
  duration: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.264",
3
+ "version": "0.0.266",
4
4
  "description": "Sellout.io models",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -17,7 +17,7 @@
17
17
  "license": "MIT",
18
18
  "dependencies": {
19
19
  "@hapi/joi": "^16.1.7",
20
- "@sellout/utils": "^0.0.259",
20
+ "@sellout/utils": "^0.0.266",
21
21
  "@types/hapi__joi": "^16.0.1",
22
22
  "@types/shortid": "^0.0.29",
23
23
  "apollo-link-debounce": "^2.1.0",
@@ -31,5 +31,5 @@
31
31
  "protobufjs": "^6.11.2",
32
32
  "typescript": "^4.4.2"
33
33
  },
34
- "gitHead": "ddb65f62fb83ae882e7ca6bdcb5ae2b6c94e4198"
34
+ "gitHead": "eb900206a9e7b22e4b9e075e175cad6db6754d88"
35
35
  }
@@ -87,6 +87,7 @@ message UserProfileQuery {
87
87
  string email = 5;
88
88
  string phoneNumber = 6;
89
89
  bool any = 7;
90
+ string orgId = 8;
90
91
  }
91
92
 
92
93
  message QueryUserProfilesRequest {