@epilot/customer-portal-client 0.20.21 → 0.20.22

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/openapi.d.ts CHANGED
@@ -1433,6 +1433,15 @@ declare namespace Components {
1433
1433
  * 5da0a718-c822-403d-9f5d-20d4584e0528
1434
1434
  */
1435
1435
  EntityId /* uuid */;
1436
+ /**
1437
+ * ID of the advanced MFA with login link and login code
1438
+ */
1439
+ advancedMFA?: /**
1440
+ * Entity ID
1441
+ * example:
1442
+ * 5da0a718-c822-403d-9f5d-20d4584e0528
1443
+ */
1444
+ EntityId /* uuid */;
1436
1445
  /**
1437
1446
  * ID of the email template for signing up from Journeys
1438
1447
  */
@@ -3990,7 +3999,7 @@ declare namespace Components {
3990
3999
  * example:
3991
4000
  * 123456
3992
4001
  */
3993
- client_secret: string;
4002
+ client_secret?: string;
3994
4003
  /**
3995
4004
  * The code verifier
3996
4005
  * example:
@@ -7166,6 +7175,30 @@ declare namespace Paths {
7166
7175
  export type $500 = Components.Responses.InternalServerError;
7167
7176
  }
7168
7177
  }
7178
+ namespace GetSchemasByDomain {
7179
+ namespace Parameters {
7180
+ /**
7181
+ * Domain of the portal
7182
+ * example:
7183
+ * ecp.dev.epilot.io
7184
+ */
7185
+ export type Domain = string;
7186
+ }
7187
+ export interface QueryParameters {
7188
+ domain: /**
7189
+ * Domain of the portal
7190
+ * example:
7191
+ * ecp.dev.epilot.io
7192
+ */
7193
+ Parameters.Domain;
7194
+ }
7195
+ namespace Responses {
7196
+ export interface $200 {
7197
+ schemas?: Components.Schemas.Schema[];
7198
+ }
7199
+ export type $500 = Components.Responses.InternalServerError;
7200
+ }
7201
+ }
7169
7202
  namespace GetSearchResultsForOpportunities {
7170
7203
  namespace Parameters {
7171
7204
  /**
@@ -8385,13 +8418,23 @@ export interface OperationMethods {
8385
8418
  /**
8386
8419
  * getSchemas - getSchemas
8387
8420
  *
8388
- * Retrieves the schemas.
8421
+ * Retrieves the schemas. Only schemas usable in the private part of the portal are returned.
8389
8422
  */
8390
8423
  'getSchemas'(
8391
8424
  parameters?: Parameters<UnknownParamsObject> | null,
8392
8425
  data?: any,
8393
8426
  config?: AxiosRequestConfig
8394
8427
  ): OperationResponse<Paths.GetSchemas.Responses.$200>
8428
+ /**
8429
+ * getSchemasByDomain - getSchemasByDomain
8430
+ *
8431
+ * Retrieves schemas by domain. Only schemas and attributes used on public pages are returned.
8432
+ */
8433
+ 'getSchemasByDomain'(
8434
+ parameters?: Parameters<Paths.GetSchemasByDomain.QueryParameters> | null,
8435
+ data?: any,
8436
+ config?: AxiosRequestConfig
8437
+ ): OperationResponse<Paths.GetSchemasByDomain.Responses.$200>
8395
8438
  /**
8396
8439
  * extraPermissionAttributes - extraPermissionAttributes
8397
8440
  *
@@ -9386,7 +9429,7 @@ export interface PathsDictionary {
9386
9429
  /**
9387
9430
  * getSchemas - getSchemas
9388
9431
  *
9389
- * Retrieves the schemas.
9432
+ * Retrieves the schemas. Only schemas usable in the private part of the portal are returned.
9390
9433
  */
9391
9434
  'get'(
9392
9435
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9394,6 +9437,18 @@ export interface PathsDictionary {
9394
9437
  config?: AxiosRequestConfig
9395
9438
  ): OperationResponse<Paths.GetSchemas.Responses.$200>
9396
9439
  }
9440
+ ['/v2/portal/public/schemas']: {
9441
+ /**
9442
+ * getSchemasByDomain - getSchemasByDomain
9443
+ *
9444
+ * Retrieves schemas by domain. Only schemas and attributes used on public pages are returned.
9445
+ */
9446
+ 'get'(
9447
+ parameters?: Parameters<Paths.GetSchemasByDomain.QueryParameters> | null,
9448
+ data?: any,
9449
+ config?: AxiosRequestConfig
9450
+ ): OperationResponse<Paths.GetSchemasByDomain.Responses.$200>
9451
+ }
9397
9452
  ['/v2/portal/extra-permission-attributes']: {
9398
9453
  /**
9399
9454
  * extraPermissionAttributes - extraPermissionAttributes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/customer-portal-client",
3
- "version": "0.20.21",
3
+ "version": "0.20.22",
4
4
  "description": "API Client for epilot portal API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -427,6 +427,19 @@
427
427
  "responses": {}
428
428
  }
429
429
  },
430
+ "/v2/portal/public/schemas": {
431
+ "get": {
432
+ "operationId": "getSchemasByDomain",
433
+ "parameters": [
434
+ {
435
+ "in": "query",
436
+ "name": "domain",
437
+ "required": true
438
+ }
439
+ ],
440
+ "responses": {}
441
+ }
442
+ },
430
443
  "/v2/portal/extra-permission-attributes": {
431
444
  "get": {
432
445
  "operationId": "extraPermissionAttributes",
package/src/openapi.json CHANGED
@@ -1725,7 +1725,7 @@
1725
1725
  "get": {
1726
1726
  "operationId": "getSchemas",
1727
1727
  "summary": "getSchemas",
1728
- "description": "Retrieves the schemas.",
1728
+ "description": "Retrieves the schemas. Only schemas usable in the private part of the portal are returned.",
1729
1729
  "tags": [
1730
1730
  "ECP"
1731
1731
  ],
@@ -1762,6 +1762,52 @@
1762
1762
  }
1763
1763
  }
1764
1764
  },
1765
+ "/v2/portal/public/schemas": {
1766
+ "get": {
1767
+ "operationId": "getSchemasByDomain",
1768
+ "summary": "getSchemasByDomain",
1769
+ "description": "Retrieves schemas by domain. Only schemas and attributes used on public pages are returned.",
1770
+ "tags": [
1771
+ "Public"
1772
+ ],
1773
+ "security": [],
1774
+ "parameters": [
1775
+ {
1776
+ "in": "query",
1777
+ "name": "domain",
1778
+ "required": true,
1779
+ "schema": {
1780
+ "type": "string",
1781
+ "description": "Domain of the portal",
1782
+ "example": "ecp.dev.epilot.io"
1783
+ }
1784
+ }
1785
+ ],
1786
+ "responses": {
1787
+ "200": {
1788
+ "description": "Retrieved schemas for an organization successfully.",
1789
+ "content": {
1790
+ "application/json": {
1791
+ "schema": {
1792
+ "type": "object",
1793
+ "properties": {
1794
+ "schemas": {
1795
+ "type": "array",
1796
+ "items": {
1797
+ "$ref": "#/components/schemas/Schema"
1798
+ }
1799
+ }
1800
+ }
1801
+ }
1802
+ }
1803
+ }
1804
+ },
1805
+ "500": {
1806
+ "$ref": "#/components/responses/InternalServerError"
1807
+ }
1808
+ }
1809
+ }
1810
+ },
1765
1811
  "/v2/portal/extra-permission-attributes": {
1766
1812
  "get": {
1767
1813
  "operationId": "extraPermissionAttributes",
@@ -6426,6 +6472,12 @@
6426
6472
  "nullable": true,
6427
6473
  "description": "ID of the advanced Auth with login link and login code"
6428
6474
  },
6475
+ "advancedMFA": {
6476
+ "$ref": "#/components/schemas/EntityId",
6477
+ "nullable": true,
6478
+ "deprecated": true,
6479
+ "description": "ID of the advanced MFA with login link and login code"
6480
+ },
6429
6481
  "journeySignUp": {
6430
6482
  "$ref": "#/components/schemas/EntityId",
6431
6483
  "nullable": true,
@@ -10566,7 +10618,6 @@
10566
10618
  "code",
10567
10619
  "redirect_uri",
10568
10620
  "client_id",
10569
- "client_secret",
10570
10621
  "code_verifier"
10571
10622
  ],
10572
10623
  "properties": {