@epilot/automation-client 2.3.0 → 2.4.0

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/client.d.ts CHANGED
File without changes
package/dist/client.js CHANGED
File without changes
File without changes
File without changes
package/dist/index.d.ts CHANGED
File without changes
package/dist/index.js CHANGED
File without changes
package/dist/openapi.d.ts CHANGED
@@ -247,7 +247,12 @@ declare namespace Components {
247
247
  * "email": "n.ahmad@epilot.cloud"
248
248
  * }
249
249
  */
250
- token?: {
250
+ claims?: {
251
+ /**
252
+ * example:
253
+ * 10006129
254
+ */
255
+ userId?: string;
251
256
  /**
252
257
  * example:
253
258
  * 476e9b48-42f4-4234-a2b0-4668b34626ce
@@ -269,6 +274,21 @@ declare namespace Components {
269
274
  */
270
275
  "custom:ivy_user_id"?: string;
271
276
  };
277
+ /**
278
+ * example:
279
+ * 10006129
280
+ */
281
+ userId?: string;
282
+ /**
283
+ * example:
284
+ * 739224
285
+ */
286
+ organizationId?: string;
287
+ /**
288
+ * example:
289
+ * eyJraWQiOi...
290
+ */
291
+ token?: string;
272
292
  };
273
293
  }
274
294
  export interface ApiSubmissionTrigger {
package/dist/openapi.json CHANGED
@@ -1846,9 +1846,13 @@
1846
1846
  "EpilotAuth": {
1847
1847
  "type": "object",
1848
1848
  "properties": {
1849
- "token": {
1849
+ "claims": {
1850
1850
  "type": "object",
1851
1851
  "properties": {
1852
+ "userId": {
1853
+ "type": "string",
1854
+ "example": "10006129"
1855
+ },
1852
1856
  "sub": {
1853
1857
  "type": "string",
1854
1858
  "example": "476e9b48-42f4-4234-a2b0-4668b34626ce"
@@ -1880,6 +1884,18 @@
1880
1884
  "iat": 1614333023,
1881
1885
  "email": "n.ahmad@epilot.cloud"
1882
1886
  }
1887
+ },
1888
+ "userId": {
1889
+ "type": "string",
1890
+ "example": "10006129"
1891
+ },
1892
+ "organizationId": {
1893
+ "type": "string",
1894
+ "example": "739224"
1895
+ },
1896
+ "token": {
1897
+ "type": "string",
1898
+ "example": "eyJraWQiOi..."
1883
1899
  }
1884
1900
  }
1885
1901
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/automation-client",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "Client library for epilot automation API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",