@sellout/models 0.0.312 → 0.0.313

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,8 @@
1
+ export default interface IApiKey {
2
+ _id?: string;
3
+ apiKey?: string;
4
+ orgId?: string;
5
+ createdAt?: number;
6
+ isActive?: boolean;
7
+ ownerName?: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IApiKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IApiKey.js","sourceRoot":"","sources":["../../src/interfaces/IApiKey.ts"],"names":[],"mappings":""}
@@ -64758,6 +64758,7 @@ $root.QueryEventsListRequest = (function() {
64758
64758
  * @interface IQueryEventsListRequest
64759
64759
  * @property {string|null} [spanContext] QueryEventsListRequest spanContext
64760
64760
  * @property {string|null} [orgId] QueryEventsListRequest orgId
64761
+ * @property {string|null} [include] QueryEventsListRequest include
64761
64762
  */
64762
64763
 
64763
64764
  /**
@@ -64791,6 +64792,14 @@ $root.QueryEventsListRequest = (function() {
64791
64792
  */
64792
64793
  QueryEventsListRequest.prototype.orgId = "";
64793
64794
 
64795
+ /**
64796
+ * QueryEventsListRequest include.
64797
+ * @member {string} include
64798
+ * @memberof QueryEventsListRequest
64799
+ * @instance
64800
+ */
64801
+ QueryEventsListRequest.prototype.include = "";
64802
+
64794
64803
  /**
64795
64804
  * Creates a new QueryEventsListRequest instance using the specified properties.
64796
64805
  * @function create
@@ -64819,6 +64828,8 @@ $root.QueryEventsListRequest = (function() {
64819
64828
  writer.uint32(/* id 0, wireType 2 =*/2).string(message.spanContext);
64820
64829
  if (message.orgId != null && Object.hasOwnProperty.call(message, "orgId"))
64821
64830
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.orgId);
64831
+ if (message.include != null && Object.hasOwnProperty.call(message, "include"))
64832
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.include);
64822
64833
  return writer;
64823
64834
  };
64824
64835
 
@@ -64859,6 +64870,9 @@ $root.QueryEventsListRequest = (function() {
64859
64870
  case 1:
64860
64871
  message.orgId = reader.string();
64861
64872
  break;
64873
+ case 2:
64874
+ message.include = reader.string();
64875
+ break;
64862
64876
  default:
64863
64877
  reader.skipType(tag & 7);
64864
64878
  break;
@@ -64900,6 +64914,9 @@ $root.QueryEventsListRequest = (function() {
64900
64914
  if (message.orgId != null && message.hasOwnProperty("orgId"))
64901
64915
  if (!$util.isString(message.orgId))
64902
64916
  return "orgId: string expected";
64917
+ if (message.include != null && message.hasOwnProperty("include"))
64918
+ if (!$util.isString(message.include))
64919
+ return "include: string expected";
64903
64920
  return null;
64904
64921
  };
64905
64922
 
@@ -64919,6 +64936,8 @@ $root.QueryEventsListRequest = (function() {
64919
64936
  message.spanContext = String(object.spanContext);
64920
64937
  if (object.orgId != null)
64921
64938
  message.orgId = String(object.orgId);
64939
+ if (object.include != null)
64940
+ message.include = String(object.include);
64922
64941
  return message;
64923
64942
  };
64924
64943
 
@@ -64938,11 +64957,14 @@ $root.QueryEventsListRequest = (function() {
64938
64957
  if (options.defaults) {
64939
64958
  object.spanContext = "";
64940
64959
  object.orgId = "";
64960
+ object.include = "";
64941
64961
  }
64942
64962
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
64943
64963
  object.spanContext = message.spanContext;
64944
64964
  if (message.orgId != null && message.hasOwnProperty("orgId"))
64945
64965
  object.orgId = message.orgId;
64966
+ if (message.include != null && message.hasOwnProperty("include"))
64967
+ object.include = message.include;
64946
64968
  return object;
64947
64969
  };
64948
64970
 
@@ -104977,6 +104999,7 @@ $root.QuerySeasonsListRequest = (function() {
104977
104999
  * @interface IQuerySeasonsListRequest
104978
105000
  * @property {string|null} [spanContext] QuerySeasonsListRequest spanContext
104979
105001
  * @property {string|null} [orgId] QuerySeasonsListRequest orgId
105002
+ * @property {string|null} [include] QuerySeasonsListRequest include
104980
105003
  */
104981
105004
 
104982
105005
  /**
@@ -105010,6 +105033,14 @@ $root.QuerySeasonsListRequest = (function() {
105010
105033
  */
105011
105034
  QuerySeasonsListRequest.prototype.orgId = "";
105012
105035
 
105036
+ /**
105037
+ * QuerySeasonsListRequest include.
105038
+ * @member {string} include
105039
+ * @memberof QuerySeasonsListRequest
105040
+ * @instance
105041
+ */
105042
+ QuerySeasonsListRequest.prototype.include = "";
105043
+
105013
105044
  /**
105014
105045
  * Creates a new QuerySeasonsListRequest instance using the specified properties.
105015
105046
  * @function create
@@ -105038,6 +105069,8 @@ $root.QuerySeasonsListRequest = (function() {
105038
105069
  writer.uint32(/* id 0, wireType 2 =*/2).string(message.spanContext);
105039
105070
  if (message.orgId != null && Object.hasOwnProperty.call(message, "orgId"))
105040
105071
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.orgId);
105072
+ if (message.include != null && Object.hasOwnProperty.call(message, "include"))
105073
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.include);
105041
105074
  return writer;
105042
105075
  };
105043
105076
 
@@ -105078,6 +105111,9 @@ $root.QuerySeasonsListRequest = (function() {
105078
105111
  case 1:
105079
105112
  message.orgId = reader.string();
105080
105113
  break;
105114
+ case 2:
105115
+ message.include = reader.string();
105116
+ break;
105081
105117
  default:
105082
105118
  reader.skipType(tag & 7);
105083
105119
  break;
@@ -105119,6 +105155,9 @@ $root.QuerySeasonsListRequest = (function() {
105119
105155
  if (message.orgId != null && message.hasOwnProperty("orgId"))
105120
105156
  if (!$util.isString(message.orgId))
105121
105157
  return "orgId: string expected";
105158
+ if (message.include != null && message.hasOwnProperty("include"))
105159
+ if (!$util.isString(message.include))
105160
+ return "include: string expected";
105122
105161
  return null;
105123
105162
  };
105124
105163
 
@@ -105138,6 +105177,8 @@ $root.QuerySeasonsListRequest = (function() {
105138
105177
  message.spanContext = String(object.spanContext);
105139
105178
  if (object.orgId != null)
105140
105179
  message.orgId = String(object.orgId);
105180
+ if (object.include != null)
105181
+ message.include = String(object.include);
105141
105182
  return message;
105142
105183
  };
105143
105184
 
@@ -105157,11 +105198,14 @@ $root.QuerySeasonsListRequest = (function() {
105157
105198
  if (options.defaults) {
105158
105199
  object.spanContext = "";
105159
105200
  object.orgId = "";
105201
+ object.include = "";
105160
105202
  }
105161
105203
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
105162
105204
  object.spanContext = message.spanContext;
105163
105205
  if (message.orgId != null && message.hasOwnProperty("orgId"))
105164
105206
  object.orgId = message.orgId;
105207
+ if (message.include != null && message.hasOwnProperty("include"))
105208
+ object.include = message.include;
105165
105209
  return object;
105166
105210
  };
105167
105211
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.312",
3
+ "version": "0.0.313",
4
4
  "description": "Sellout.io models",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -18,7 +18,7 @@
18
18
  "dependencies": {
19
19
  "@apollo/client": "^3.9.6",
20
20
  "@hapi/joi": "^17.1.1",
21
- "@sellout/utils": "^0.0.312",
21
+ "@sellout/utils": "^0.0.313",
22
22
  "@types/hapi__joi": "^16.0.1",
23
23
  "@types/shortid": "^0.0.29",
24
24
  "@types/zen-observable": "^0.8.7",
@@ -32,5 +32,5 @@
32
32
  "protobufjs": "^6.11.2",
33
33
  "typescript": "^4.9.5"
34
34
  },
35
- "gitHead": "bf430946089822af57dd319c93dddb2541a52178"
35
+ "gitHead": "af5c2de29f02599e3258bd2cb9642a3a804436dc"
36
36
  }
@@ -0,0 +1,8 @@
1
+ export default interface IApiKey {
2
+ _id?: string; // ID
3
+ apiKey?: string; // The API key
4
+ orgId?: string; // Organization ID (optional)
5
+ createdAt?: number; // Timestamp when the API key was created
6
+ isActive?: boolean; // Indicates whether the API key is active
7
+ ownerName?: string; // Name of the API key owner
8
+ }
@@ -385,6 +385,7 @@ message QuerySearchEventsResponse {
385
385
  message QueryEventsListRequest {
386
386
  string spanContext = 0;
387
387
  string orgId = 1;
388
+ string include = 2;
388
389
  }
389
390
 
390
391
 
@@ -123,6 +123,7 @@ message FindSeasonDetailsResponse {
123
123
  message QuerySeasonsListRequest {
124
124
  string spanContext = 0;
125
125
  string orgId = 1;
126
+ string include = 2;
126
127
  }
127
128
 
128
129
  message QuerySeasonsListResponse {