@epilot/customer-portal-client 0.35.0 → 0.36.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/definition.js +1 -1
- package/dist/openapi-runtime.json +85 -6
- package/dist/openapi.d.ts +221 -16
- package/package.json +1 -1
- package/src/openapi-runtime.json +85 -6
- package/src/openapi.json +261 -19
package/dist/openapi.d.ts
CHANGED
|
@@ -4579,6 +4579,12 @@ declare namespace Components {
|
|
|
4579
4579
|
* 2021-02-09T12:41:43.662Z
|
|
4580
4580
|
*/
|
|
4581
4581
|
last_modified_at?: string; // date-time
|
|
4582
|
+
/**
|
|
4583
|
+
* The id of the portal
|
|
4584
|
+
* example:
|
|
4585
|
+
* 453ad7bf-86d5-46c8-8252-bcc868df5e3c
|
|
4586
|
+
*/
|
|
4587
|
+
portal_id?: string;
|
|
4582
4588
|
}
|
|
4583
4589
|
export interface PageRequest {
|
|
4584
4590
|
[name: string]: any;
|
|
@@ -7499,6 +7505,7 @@ declare namespace Paths {
|
|
|
7499
7505
|
}
|
|
7500
7506
|
namespace CheckContactExistsV3 {
|
|
7501
7507
|
namespace Parameters {
|
|
7508
|
+
export type Domain = string;
|
|
7502
7509
|
export type PortalId = /**
|
|
7503
7510
|
* ID of the portal
|
|
7504
7511
|
* example:
|
|
@@ -7507,7 +7514,8 @@ declare namespace Paths {
|
|
|
7507
7514
|
Components.Schemas.PortalId;
|
|
7508
7515
|
}
|
|
7509
7516
|
export interface QueryParameters {
|
|
7510
|
-
portal_id
|
|
7517
|
+
portal_id?: Parameters.PortalId;
|
|
7518
|
+
domain?: Parameters.Domain;
|
|
7511
7519
|
}
|
|
7512
7520
|
export type RequestBody = Components.Schemas.ContactExistsRequest;
|
|
7513
7521
|
namespace Responses {
|
|
@@ -7748,6 +7756,7 @@ declare namespace Paths {
|
|
|
7748
7756
|
}
|
|
7749
7757
|
namespace CreateUserV3 {
|
|
7750
7758
|
namespace Parameters {
|
|
7759
|
+
export type Domain = string;
|
|
7751
7760
|
export type PortalId = /**
|
|
7752
7761
|
* ID of the portal
|
|
7753
7762
|
* example:
|
|
@@ -7756,7 +7765,8 @@ declare namespace Paths {
|
|
|
7756
7765
|
Components.Schemas.PortalId;
|
|
7757
7766
|
}
|
|
7758
7767
|
export interface QueryParameters {
|
|
7759
|
-
portal_id
|
|
7768
|
+
portal_id?: Parameters.PortalId;
|
|
7769
|
+
domain?: Parameters.Domain;
|
|
7760
7770
|
}
|
|
7761
7771
|
export type RequestBody = Components.Schemas.CreateUserRequest;
|
|
7762
7772
|
namespace Responses {
|
|
@@ -10624,6 +10634,32 @@ declare namespace Paths {
|
|
|
10624
10634
|
export type $500 = Components.Responses.InternalServerError;
|
|
10625
10635
|
}
|
|
10626
10636
|
}
|
|
10637
|
+
namespace GetPortalWidgetsV3 {
|
|
10638
|
+
namespace Parameters {
|
|
10639
|
+
export type ContractId = /**
|
|
10640
|
+
* Entity ID
|
|
10641
|
+
* example:
|
|
10642
|
+
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
10643
|
+
*/
|
|
10644
|
+
Components.Schemas.EntityId /* uuid */;
|
|
10645
|
+
export type PortalId = /**
|
|
10646
|
+
* ID of the portal
|
|
10647
|
+
* example:
|
|
10648
|
+
* 453ad7bf-86d5-46c8-8252-bcc868df5e3c
|
|
10649
|
+
*/
|
|
10650
|
+
Components.Schemas.PortalId;
|
|
10651
|
+
}
|
|
10652
|
+
export interface QueryParameters {
|
|
10653
|
+
portal_id: Parameters.PortalId;
|
|
10654
|
+
contract_id?: Parameters.ContractId;
|
|
10655
|
+
}
|
|
10656
|
+
namespace Responses {
|
|
10657
|
+
export type $200 = Components.Schemas.UpsertPortalWidget;
|
|
10658
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
10659
|
+
export type $403 = Components.Responses.Forbidden;
|
|
10660
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
10661
|
+
}
|
|
10662
|
+
}
|
|
10627
10663
|
namespace GetPrices {
|
|
10628
10664
|
namespace Parameters {
|
|
10629
10665
|
export type AppId = string;
|
|
@@ -11448,6 +11484,10 @@ declare namespace Paths {
|
|
|
11448
11484
|
* The portal ID to look up the portal config. When provided, takes precedence over origin.
|
|
11449
11485
|
*/
|
|
11450
11486
|
portal_id?: string;
|
|
11487
|
+
/**
|
|
11488
|
+
* Portal domain for identification. Alternative to portal_id or origin.
|
|
11489
|
+
*/
|
|
11490
|
+
domain?: string;
|
|
11451
11491
|
}
|
|
11452
11492
|
namespace Responses {
|
|
11453
11493
|
export interface $200 {
|
|
@@ -11784,6 +11824,30 @@ declare namespace Paths {
|
|
|
11784
11824
|
export type $500 = Components.Responses.InternalServerError;
|
|
11785
11825
|
}
|
|
11786
11826
|
}
|
|
11827
|
+
namespace SavePortalFilesV3 {
|
|
11828
|
+
namespace Parameters {
|
|
11829
|
+
export type PortalId = /**
|
|
11830
|
+
* ID of the portal
|
|
11831
|
+
* example:
|
|
11832
|
+
* 453ad7bf-86d5-46c8-8252-bcc868df5e3c
|
|
11833
|
+
*/
|
|
11834
|
+
Components.Schemas.PortalId;
|
|
11835
|
+
}
|
|
11836
|
+
export interface QueryParameters {
|
|
11837
|
+
portal_id: Parameters.PortalId;
|
|
11838
|
+
}
|
|
11839
|
+
export type RequestBody = Components.Schemas.SavePortalFile;
|
|
11840
|
+
namespace Responses {
|
|
11841
|
+
export interface $201 {
|
|
11842
|
+
createdFiles?: /* The file entity */ Components.Schemas.File[];
|
|
11843
|
+
}
|
|
11844
|
+
export type $400 = Components.Responses.InvalidRequest;
|
|
11845
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
11846
|
+
export type $403 = Components.Responses.Forbidden;
|
|
11847
|
+
export type $404 = Components.Responses.NotFound;
|
|
11848
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
11849
|
+
}
|
|
11850
|
+
}
|
|
11787
11851
|
namespace SearchPaymentRelationsInEntities {
|
|
11788
11852
|
namespace Parameters {
|
|
11789
11853
|
export type Id = /**
|
|
@@ -11895,6 +11959,7 @@ declare namespace Paths {
|
|
|
11895
11959
|
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
11896
11960
|
*/
|
|
11897
11961
|
export type ContactId = string; // uuid
|
|
11962
|
+
export type Domain = string;
|
|
11898
11963
|
/**
|
|
11899
11964
|
* example:
|
|
11900
11965
|
* 123
|
|
@@ -11908,12 +11973,13 @@ declare namespace Paths {
|
|
|
11908
11973
|
Components.Schemas.PortalId;
|
|
11909
11974
|
}
|
|
11910
11975
|
export interface QueryParameters {
|
|
11911
|
-
portal_id
|
|
11912
|
-
org_id
|
|
11976
|
+
portal_id?: Parameters.PortalId;
|
|
11977
|
+
org_id?: /**
|
|
11913
11978
|
* example:
|
|
11914
11979
|
* 123
|
|
11915
11980
|
*/
|
|
11916
11981
|
Parameters.OrgId;
|
|
11982
|
+
domain?: Parameters.Domain;
|
|
11917
11983
|
contact_id?: /**
|
|
11918
11984
|
* example:
|
|
11919
11985
|
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
@@ -12072,6 +12138,7 @@ declare namespace Paths {
|
|
|
12072
12138
|
}
|
|
12073
12139
|
namespace TriggerEntityAccessEventV3 {
|
|
12074
12140
|
namespace Parameters {
|
|
12141
|
+
export type Domain = string;
|
|
12075
12142
|
export type EntityId = /**
|
|
12076
12143
|
* Entity ID
|
|
12077
12144
|
* example:
|
|
@@ -12099,7 +12166,8 @@ declare namespace Paths {
|
|
|
12099
12166
|
}
|
|
12100
12167
|
export interface QueryParameters {
|
|
12101
12168
|
entity_id?: Parameters.EntityId;
|
|
12102
|
-
portal_id
|
|
12169
|
+
portal_id?: Parameters.PortalId;
|
|
12170
|
+
domain?: Parameters.Domain;
|
|
12103
12171
|
}
|
|
12104
12172
|
namespace Responses {
|
|
12105
12173
|
export interface $200 {
|
|
@@ -12476,6 +12544,27 @@ declare namespace Paths {
|
|
|
12476
12544
|
export type $500 = Components.Responses.InternalServerError;
|
|
12477
12545
|
}
|
|
12478
12546
|
}
|
|
12547
|
+
namespace UpsertPortalWidgetV3 {
|
|
12548
|
+
namespace Parameters {
|
|
12549
|
+
export type PortalId = /**
|
|
12550
|
+
* ID of the portal
|
|
12551
|
+
* example:
|
|
12552
|
+
* 453ad7bf-86d5-46c8-8252-bcc868df5e3c
|
|
12553
|
+
*/
|
|
12554
|
+
Components.Schemas.PortalId;
|
|
12555
|
+
}
|
|
12556
|
+
export interface QueryParameters {
|
|
12557
|
+
portal_id: Parameters.PortalId;
|
|
12558
|
+
}
|
|
12559
|
+
export type RequestBody = Components.Schemas.UpsertPortalWidget;
|
|
12560
|
+
namespace Responses {
|
|
12561
|
+
export type $201 = Components.Schemas.UpsertPortalWidget;
|
|
12562
|
+
export type $400 = Components.Responses.InvalidRequest;
|
|
12563
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
12564
|
+
export type $403 = Components.Responses.Forbidden;
|
|
12565
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
12566
|
+
}
|
|
12567
|
+
}
|
|
12479
12568
|
namespace UserExists {
|
|
12480
12569
|
namespace Parameters {
|
|
12481
12570
|
/**
|
|
@@ -12521,6 +12610,7 @@ declare namespace Paths {
|
|
|
12521
12610
|
}
|
|
12522
12611
|
namespace UserExistsV3 {
|
|
12523
12612
|
namespace Parameters {
|
|
12613
|
+
export type Domain = string;
|
|
12524
12614
|
/**
|
|
12525
12615
|
* Email Address of the portal user
|
|
12526
12616
|
* example:
|
|
@@ -12528,7 +12618,7 @@ declare namespace Paths {
|
|
|
12528
12618
|
*/
|
|
12529
12619
|
export type Email = string;
|
|
12530
12620
|
/**
|
|
12531
|
-
* Organization ID
|
|
12621
|
+
* Organization ID (required if domain is not provided)
|
|
12532
12622
|
* example:
|
|
12533
12623
|
* 123
|
|
12534
12624
|
*/
|
|
@@ -12547,13 +12637,14 @@ declare namespace Paths {
|
|
|
12547
12637
|
* user@example.com
|
|
12548
12638
|
*/
|
|
12549
12639
|
Parameters.Email;
|
|
12550
|
-
org_id
|
|
12551
|
-
* Organization ID
|
|
12640
|
+
org_id?: /**
|
|
12641
|
+
* Organization ID (required if domain is not provided)
|
|
12552
12642
|
* example:
|
|
12553
12643
|
* 123
|
|
12554
12644
|
*/
|
|
12555
12645
|
Parameters.OrgId;
|
|
12556
12646
|
portal_id?: Parameters.PortalId;
|
|
12647
|
+
domain?: Parameters.Domain;
|
|
12557
12648
|
}
|
|
12558
12649
|
namespace Responses {
|
|
12559
12650
|
export interface $200 {
|
|
@@ -12785,7 +12876,11 @@ export interface OperationMethods {
|
|
|
12785
12876
|
/**
|
|
12786
12877
|
* createUserV3 - createUserV3
|
|
12787
12878
|
*
|
|
12788
|
-
* Registers a portal user
|
|
12879
|
+
* Registers a portal user.
|
|
12880
|
+
* Supports two identification methods:
|
|
12881
|
+
* 1. Using portal_id
|
|
12882
|
+
* 2. Using domain
|
|
12883
|
+
*
|
|
12789
12884
|
*/
|
|
12790
12885
|
'createUserV3'(
|
|
12791
12886
|
parameters?: Parameters<Paths.CreateUserV3.QueryParameters> | null,
|
|
@@ -13086,6 +13181,36 @@ export interface OperationMethods {
|
|
|
13086
13181
|
data?: Paths.UpsertPortalWidget.RequestBody,
|
|
13087
13182
|
config?: AxiosRequestConfig
|
|
13088
13183
|
): OperationResponse<Paths.UpsertPortalWidget.Responses.$201>
|
|
13184
|
+
/**
|
|
13185
|
+
* getPortalWidgetsV3 - getPortalWidgetsV3
|
|
13186
|
+
*
|
|
13187
|
+
* Retrieves the widgets of a portal by portal_id.
|
|
13188
|
+
*/
|
|
13189
|
+
'getPortalWidgetsV3'(
|
|
13190
|
+
parameters?: Parameters<Paths.GetPortalWidgetsV3.QueryParameters> | null,
|
|
13191
|
+
data?: any,
|
|
13192
|
+
config?: AxiosRequestConfig
|
|
13193
|
+
): OperationResponse<Paths.GetPortalWidgetsV3.Responses.$200>
|
|
13194
|
+
/**
|
|
13195
|
+
* upsertPortalWidgetV3 - upsertPortalWidgetV3
|
|
13196
|
+
*
|
|
13197
|
+
* Upsert widget for a portal by portal_id.
|
|
13198
|
+
*/
|
|
13199
|
+
'upsertPortalWidgetV3'(
|
|
13200
|
+
parameters?: Parameters<Paths.UpsertPortalWidgetV3.QueryParameters> | null,
|
|
13201
|
+
data?: Paths.UpsertPortalWidgetV3.RequestBody,
|
|
13202
|
+
config?: AxiosRequestConfig
|
|
13203
|
+
): OperationResponse<Paths.UpsertPortalWidgetV3.Responses.$201>
|
|
13204
|
+
/**
|
|
13205
|
+
* savePortalFilesV3 - savePortalFilesV3
|
|
13206
|
+
*
|
|
13207
|
+
* Add files to portal by portal_id
|
|
13208
|
+
*/
|
|
13209
|
+
'savePortalFilesV3'(
|
|
13210
|
+
parameters?: Parameters<Paths.SavePortalFilesV3.QueryParameters> | null,
|
|
13211
|
+
data?: Paths.SavePortalFilesV3.RequestBody,
|
|
13212
|
+
config?: AxiosRequestConfig
|
|
13213
|
+
): OperationResponse<Paths.SavePortalFilesV3.Responses.$201>
|
|
13089
13214
|
/**
|
|
13090
13215
|
* replaceECPTemplateVariables - replaceECPTemplateVariables
|
|
13091
13216
|
*
|
|
@@ -13210,6 +13335,10 @@ export interface OperationMethods {
|
|
|
13210
13335
|
* checkContactExistsV3 - checkContactExistsV3
|
|
13211
13336
|
*
|
|
13212
13337
|
* True if contact with given identifiers exists.
|
|
13338
|
+
* Supports two identification methods:
|
|
13339
|
+
* 1. Using portal_id
|
|
13340
|
+
* 2. Using domain
|
|
13341
|
+
*
|
|
13213
13342
|
*/
|
|
13214
13343
|
'checkContactExistsV3'(
|
|
13215
13344
|
parameters?: Parameters<Paths.CheckContactExistsV3.QueryParameters> | null,
|
|
@@ -13319,7 +13448,11 @@ export interface OperationMethods {
|
|
|
13319
13448
|
/**
|
|
13320
13449
|
* userExistsV3 - userExistsV3
|
|
13321
13450
|
*
|
|
13322
|
-
* Checks whether a user exists in the portal
|
|
13451
|
+
* Checks whether a user exists in the portal.
|
|
13452
|
+
* Supports two identification methods:
|
|
13453
|
+
* 1. Using org_id + portal_id
|
|
13454
|
+
* 2. Using domain
|
|
13455
|
+
*
|
|
13323
13456
|
*/
|
|
13324
13457
|
'userExistsV3'(
|
|
13325
13458
|
parameters?: Parameters<Paths.UserExistsV3.QueryParameters> | null,
|
|
@@ -13666,6 +13799,11 @@ export interface OperationMethods {
|
|
|
13666
13799
|
*
|
|
13667
13800
|
* Token is valid for 5 minutes.
|
|
13668
13801
|
*
|
|
13802
|
+
* Supports three identification methods (at least one required):
|
|
13803
|
+
* 1. Using portal_id (takes precedence)
|
|
13804
|
+
* 2. Using domain
|
|
13805
|
+
* 3. Using origin (legacy)
|
|
13806
|
+
*
|
|
13669
13807
|
*/
|
|
13670
13808
|
'loginToPortalAsUser'(
|
|
13671
13809
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
@@ -13685,7 +13823,11 @@ export interface OperationMethods {
|
|
|
13685
13823
|
/**
|
|
13686
13824
|
* triggerEntityAccessEventV3 - triggerEntityAccessEventV3
|
|
13687
13825
|
*
|
|
13688
|
-
* Trigger entity access event for a portal user
|
|
13826
|
+
* Trigger entity access event for a portal user.
|
|
13827
|
+
* Supports two identification methods:
|
|
13828
|
+
* 1. Using portal_id
|
|
13829
|
+
* 2. Using domain
|
|
13830
|
+
*
|
|
13689
13831
|
*/
|
|
13690
13832
|
'triggerEntityAccessEventV3'(
|
|
13691
13833
|
parameters?: Parameters<Paths.TriggerEntityAccessEventV3.QueryParameters & Paths.TriggerEntityAccessEventV3.PathParameters> | null,
|
|
@@ -13805,7 +13947,11 @@ export interface OperationMethods {
|
|
|
13805
13947
|
*
|
|
13806
13948
|
* Verifies the user with the issuer and matches the identity to an epilot user (or creates a new user).
|
|
13807
13949
|
*
|
|
13808
|
-
* Returns parameters to be used with CUSTOM_AUTH flow against Cognito
|
|
13950
|
+
* Returns parameters to be used with CUSTOM_AUTH flow against Cognito.
|
|
13951
|
+
*
|
|
13952
|
+
* Supports two identification methods:
|
|
13953
|
+
* 1. Using org_id + portal_id
|
|
13954
|
+
* 2. Using domain
|
|
13809
13955
|
*
|
|
13810
13956
|
*/
|
|
13811
13957
|
'ssoLoginV3'(
|
|
@@ -14168,7 +14314,11 @@ export interface PathsDictionary {
|
|
|
14168
14314
|
/**
|
|
14169
14315
|
* createUserV3 - createUserV3
|
|
14170
14316
|
*
|
|
14171
|
-
* Registers a portal user
|
|
14317
|
+
* Registers a portal user.
|
|
14318
|
+
* Supports two identification methods:
|
|
14319
|
+
* 1. Using portal_id
|
|
14320
|
+
* 2. Using domain
|
|
14321
|
+
*
|
|
14172
14322
|
*/
|
|
14173
14323
|
'post'(
|
|
14174
14324
|
parameters?: Parameters<Paths.CreateUserV3.QueryParameters> | null,
|
|
@@ -14520,6 +14670,40 @@ export interface PathsDictionary {
|
|
|
14520
14670
|
config?: AxiosRequestConfig
|
|
14521
14671
|
): OperationResponse<Paths.GetPortalWidgets.Responses.$200>
|
|
14522
14672
|
}
|
|
14673
|
+
['/v3/portal/widgets']: {
|
|
14674
|
+
/**
|
|
14675
|
+
* getPortalWidgetsV3 - getPortalWidgetsV3
|
|
14676
|
+
*
|
|
14677
|
+
* Retrieves the widgets of a portal by portal_id.
|
|
14678
|
+
*/
|
|
14679
|
+
'get'(
|
|
14680
|
+
parameters?: Parameters<Paths.GetPortalWidgetsV3.QueryParameters> | null,
|
|
14681
|
+
data?: any,
|
|
14682
|
+
config?: AxiosRequestConfig
|
|
14683
|
+
): OperationResponse<Paths.GetPortalWidgetsV3.Responses.$200>
|
|
14684
|
+
/**
|
|
14685
|
+
* upsertPortalWidgetV3 - upsertPortalWidgetV3
|
|
14686
|
+
*
|
|
14687
|
+
* Upsert widget for a portal by portal_id.
|
|
14688
|
+
*/
|
|
14689
|
+
'post'(
|
|
14690
|
+
parameters?: Parameters<Paths.UpsertPortalWidgetV3.QueryParameters> | null,
|
|
14691
|
+
data?: Paths.UpsertPortalWidgetV3.RequestBody,
|
|
14692
|
+
config?: AxiosRequestConfig
|
|
14693
|
+
): OperationResponse<Paths.UpsertPortalWidgetV3.Responses.$201>
|
|
14694
|
+
}
|
|
14695
|
+
['/v3/portal/portal/files']: {
|
|
14696
|
+
/**
|
|
14697
|
+
* savePortalFilesV3 - savePortalFilesV3
|
|
14698
|
+
*
|
|
14699
|
+
* Add files to portal by portal_id
|
|
14700
|
+
*/
|
|
14701
|
+
'post'(
|
|
14702
|
+
parameters?: Parameters<Paths.SavePortalFilesV3.QueryParameters> | null,
|
|
14703
|
+
data?: Paths.SavePortalFilesV3.RequestBody,
|
|
14704
|
+
config?: AxiosRequestConfig
|
|
14705
|
+
): OperationResponse<Paths.SavePortalFilesV3.Responses.$201>
|
|
14706
|
+
}
|
|
14523
14707
|
['/v2/portal/replace-ecp-template-variables']: {
|
|
14524
14708
|
/**
|
|
14525
14709
|
* replaceECPTemplateVariables - replaceECPTemplateVariables
|
|
@@ -14667,6 +14851,10 @@ export interface PathsDictionary {
|
|
|
14667
14851
|
* checkContactExistsV3 - checkContactExistsV3
|
|
14668
14852
|
*
|
|
14669
14853
|
* True if contact with given identifiers exists.
|
|
14854
|
+
* Supports two identification methods:
|
|
14855
|
+
* 1. Using portal_id
|
|
14856
|
+
* 2. Using domain
|
|
14857
|
+
*
|
|
14670
14858
|
*/
|
|
14671
14859
|
'post'(
|
|
14672
14860
|
parameters?: Parameters<Paths.CheckContactExistsV3.QueryParameters> | null,
|
|
@@ -14794,7 +14982,11 @@ export interface PathsDictionary {
|
|
|
14794
14982
|
/**
|
|
14795
14983
|
* userExistsV3 - userExistsV3
|
|
14796
14984
|
*
|
|
14797
|
-
* Checks whether a user exists in the portal
|
|
14985
|
+
* Checks whether a user exists in the portal.
|
|
14986
|
+
* Supports two identification methods:
|
|
14987
|
+
* 1. Using org_id + portal_id
|
|
14988
|
+
* 2. Using domain
|
|
14989
|
+
*
|
|
14798
14990
|
*/
|
|
14799
14991
|
'get'(
|
|
14800
14992
|
parameters?: Parameters<Paths.UserExistsV3.QueryParameters> | null,
|
|
@@ -15201,6 +15393,11 @@ export interface PathsDictionary {
|
|
|
15201
15393
|
*
|
|
15202
15394
|
* Token is valid for 5 minutes.
|
|
15203
15395
|
*
|
|
15396
|
+
* Supports three identification methods (at least one required):
|
|
15397
|
+
* 1. Using portal_id (takes precedence)
|
|
15398
|
+
* 2. Using domain
|
|
15399
|
+
* 3. Using origin (legacy)
|
|
15400
|
+
*
|
|
15204
15401
|
*/
|
|
15205
15402
|
'post'(
|
|
15206
15403
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
@@ -15224,7 +15421,11 @@ export interface PathsDictionary {
|
|
|
15224
15421
|
/**
|
|
15225
15422
|
* triggerEntityAccessEventV3 - triggerEntityAccessEventV3
|
|
15226
15423
|
*
|
|
15227
|
-
* Trigger entity access event for a portal user
|
|
15424
|
+
* Trigger entity access event for a portal user.
|
|
15425
|
+
* Supports two identification methods:
|
|
15426
|
+
* 1. Using portal_id
|
|
15427
|
+
* 2. Using domain
|
|
15428
|
+
*
|
|
15228
15429
|
*/
|
|
15229
15430
|
'post'(
|
|
15230
15431
|
parameters?: Parameters<Paths.TriggerEntityAccessEventV3.QueryParameters & Paths.TriggerEntityAccessEventV3.PathParameters> | null,
|
|
@@ -15366,7 +15567,11 @@ export interface PathsDictionary {
|
|
|
15366
15567
|
*
|
|
15367
15568
|
* Verifies the user with the issuer and matches the identity to an epilot user (or creates a new user).
|
|
15368
15569
|
*
|
|
15369
|
-
* Returns parameters to be used with CUSTOM_AUTH flow against Cognito
|
|
15570
|
+
* Returns parameters to be used with CUSTOM_AUTH flow against Cognito.
|
|
15571
|
+
*
|
|
15572
|
+
* Supports two identification methods:
|
|
15573
|
+
* 1. Using org_id + portal_id
|
|
15574
|
+
* 2. Using domain
|
|
15370
15575
|
*
|
|
15371
15576
|
*/
|
|
15372
15577
|
'post'(
|
package/package.json
CHANGED
package/src/openapi-runtime.json
CHANGED
|
@@ -55,7 +55,12 @@
|
|
|
55
55
|
{
|
|
56
56
|
"in": "query",
|
|
57
57
|
"name": "portal_id",
|
|
58
|
-
"required":
|
|
58
|
+
"required": false
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"in": "query",
|
|
62
|
+
"name": "domain",
|
|
63
|
+
"required": false
|
|
59
64
|
}
|
|
60
65
|
],
|
|
61
66
|
"requestBody": {
|
|
@@ -632,6 +637,60 @@
|
|
|
632
637
|
"responses": {}
|
|
633
638
|
}
|
|
634
639
|
},
|
|
640
|
+
"/v3/portal/widgets": {
|
|
641
|
+
"get": {
|
|
642
|
+
"operationId": "getPortalWidgetsV3",
|
|
643
|
+
"parameters": [
|
|
644
|
+
{
|
|
645
|
+
"in": "query",
|
|
646
|
+
"name": "portal_id",
|
|
647
|
+
"required": true
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"in": "query",
|
|
651
|
+
"name": "contract_id",
|
|
652
|
+
"required": false
|
|
653
|
+
}
|
|
654
|
+
],
|
|
655
|
+
"responses": {}
|
|
656
|
+
},
|
|
657
|
+
"post": {
|
|
658
|
+
"operationId": "upsertPortalWidgetV3",
|
|
659
|
+
"parameters": [
|
|
660
|
+
{
|
|
661
|
+
"in": "query",
|
|
662
|
+
"name": "portal_id",
|
|
663
|
+
"required": true
|
|
664
|
+
}
|
|
665
|
+
],
|
|
666
|
+
"requestBody": {
|
|
667
|
+
"required": true,
|
|
668
|
+
"content": {
|
|
669
|
+
"application/json": {}
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
"responses": {}
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
"/v3/portal/portal/files": {
|
|
676
|
+
"post": {
|
|
677
|
+
"operationId": "savePortalFilesV3",
|
|
678
|
+
"parameters": [
|
|
679
|
+
{
|
|
680
|
+
"in": "query",
|
|
681
|
+
"name": "portal_id",
|
|
682
|
+
"required": true
|
|
683
|
+
}
|
|
684
|
+
],
|
|
685
|
+
"requestBody": {
|
|
686
|
+
"required": true,
|
|
687
|
+
"content": {
|
|
688
|
+
"application/json": {}
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
"responses": {}
|
|
692
|
+
}
|
|
693
|
+
},
|
|
635
694
|
"/v2/portal/replace-ecp-template-variables": {
|
|
636
695
|
"post": {
|
|
637
696
|
"operationId": "replaceECPTemplateVariables",
|
|
@@ -769,7 +828,12 @@
|
|
|
769
828
|
{
|
|
770
829
|
"in": "query",
|
|
771
830
|
"name": "portal_id",
|
|
772
|
-
"required":
|
|
831
|
+
"required": false
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"in": "query",
|
|
835
|
+
"name": "domain",
|
|
836
|
+
"required": false
|
|
773
837
|
}
|
|
774
838
|
],
|
|
775
839
|
"requestBody": {
|
|
@@ -925,12 +989,17 @@
|
|
|
925
989
|
{
|
|
926
990
|
"in": "query",
|
|
927
991
|
"name": "org_id",
|
|
928
|
-
"required":
|
|
992
|
+
"required": false
|
|
929
993
|
},
|
|
930
994
|
{
|
|
931
995
|
"in": "query",
|
|
932
996
|
"name": "portal_id",
|
|
933
997
|
"required": false
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"in": "query",
|
|
1001
|
+
"name": "domain",
|
|
1002
|
+
"required": false
|
|
934
1003
|
}
|
|
935
1004
|
],
|
|
936
1005
|
"responses": {}
|
|
@@ -1542,7 +1611,12 @@
|
|
|
1542
1611
|
{
|
|
1543
1612
|
"name": "portal_id",
|
|
1544
1613
|
"in": "query",
|
|
1545
|
-
"required":
|
|
1614
|
+
"required": false
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
"name": "domain",
|
|
1618
|
+
"in": "query",
|
|
1619
|
+
"required": false
|
|
1546
1620
|
}
|
|
1547
1621
|
],
|
|
1548
1622
|
"responses": {}
|
|
@@ -1743,12 +1817,17 @@
|
|
|
1743
1817
|
{
|
|
1744
1818
|
"in": "query",
|
|
1745
1819
|
"name": "portal_id",
|
|
1746
|
-
"required":
|
|
1820
|
+
"required": false
|
|
1747
1821
|
},
|
|
1748
1822
|
{
|
|
1749
1823
|
"in": "query",
|
|
1750
1824
|
"name": "org_id",
|
|
1751
|
-
"required":
|
|
1825
|
+
"required": false
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
"in": "query",
|
|
1829
|
+
"name": "domain",
|
|
1830
|
+
"required": false
|
|
1752
1831
|
},
|
|
1753
1832
|
{
|
|
1754
1833
|
"in": "query",
|