@epilot/customer-portal-client 0.19.1 → 0.19.2-rc.2
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.d.ts +443 -68
- package/package.json +1 -1
- package/src/openapi-runtime.json +65 -19
- package/src/openapi.json +512 -77
package/dist/openapi.d.ts
CHANGED
|
@@ -32,13 +32,15 @@ declare namespace Components {
|
|
|
32
32
|
export type ForbiddenByRule = Schemas.ErrorResp | Schemas.FailedRuleErrorResp;
|
|
33
33
|
export type InternalServerError = Schemas.ErrorResp;
|
|
34
34
|
export type InvalidRequest = Schemas.ErrorResp;
|
|
35
|
-
export
|
|
35
|
+
export type InvalidRequestCreateMeterReading = {
|
|
36
|
+
reason?: "plausibility_check_failed" | "contract_period" | "no_counter" | "no_direction" | "timestamp_future" | "less_than_previous" | "greater_than_subsequent" | "meter_decommissioned" | "plausibility_check_failed";
|
|
37
|
+
upper_limit: number;
|
|
38
|
+
lower_limit: number;
|
|
36
39
|
/**
|
|
37
40
|
* Error message
|
|
38
41
|
*/
|
|
39
42
|
message?: string;
|
|
40
|
-
|
|
41
|
-
}
|
|
43
|
+
} | void;
|
|
42
44
|
export type NotFound = Schemas.ErrorResp;
|
|
43
45
|
export type Unauthorized = Schemas.ErrorResp;
|
|
44
46
|
}
|
|
@@ -274,6 +276,31 @@ declare namespace Components {
|
|
|
274
276
|
calendar?: string[];
|
|
275
277
|
other?: string[];
|
|
276
278
|
}
|
|
279
|
+
/**
|
|
280
|
+
* Dictionary of epilot user attributes to claims
|
|
281
|
+
*/
|
|
282
|
+
export interface AttributeMappingConfig {
|
|
283
|
+
/**
|
|
284
|
+
* example:
|
|
285
|
+
* email
|
|
286
|
+
*/
|
|
287
|
+
email: string;
|
|
288
|
+
/**
|
|
289
|
+
* example:
|
|
290
|
+
* name
|
|
291
|
+
*/
|
|
292
|
+
display_name?: string;
|
|
293
|
+
/**
|
|
294
|
+
* example:
|
|
295
|
+
* phone
|
|
296
|
+
*/
|
|
297
|
+
phone?: string;
|
|
298
|
+
/**
|
|
299
|
+
* example:
|
|
300
|
+
* language
|
|
301
|
+
*/
|
|
302
|
+
preferred_language?: string;
|
|
303
|
+
}
|
|
277
304
|
export interface AuthConfig {
|
|
278
305
|
/**
|
|
279
306
|
* AWS Cognito User Pool ID
|
|
@@ -1034,7 +1061,7 @@ declare namespace Components {
|
|
|
1034
1061
|
*/
|
|
1035
1062
|
EntitySlug;
|
|
1036
1063
|
}
|
|
1037
|
-
export interface
|
|
1064
|
+
export interface CreateUserRequest {
|
|
1038
1065
|
/**
|
|
1039
1066
|
* User's email address
|
|
1040
1067
|
* example:
|
|
@@ -1053,26 +1080,12 @@ declare namespace Components {
|
|
|
1053
1080
|
* Doe
|
|
1054
1081
|
*/
|
|
1055
1082
|
last_name?: string;
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
/**
|
|
1059
|
-
* User's email address
|
|
1060
|
-
* example:
|
|
1061
|
-
* testemail921@yopmail.com
|
|
1062
|
-
*/
|
|
1063
|
-
email: string;
|
|
1064
|
-
/**
|
|
1065
|
-
* First Name of the portal user
|
|
1066
|
-
* example:
|
|
1067
|
-
* John
|
|
1068
|
-
*/
|
|
1069
|
-
first_name?: string;
|
|
1070
|
-
/**
|
|
1071
|
-
* Last Name of the portal user
|
|
1083
|
+
contactId?: /**
|
|
1084
|
+
* Entity ID
|
|
1072
1085
|
* example:
|
|
1073
|
-
*
|
|
1086
|
+
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
1074
1087
|
*/
|
|
1075
|
-
|
|
1088
|
+
EntityId /* uuid */;
|
|
1076
1089
|
/**
|
|
1077
1090
|
* ID of the organization
|
|
1078
1091
|
* example:
|
|
@@ -1091,12 +1104,6 @@ declare namespace Components {
|
|
|
1091
1104
|
contactIdentifiers?: {
|
|
1092
1105
|
[name: string]: string;
|
|
1093
1106
|
};
|
|
1094
|
-
contactId?: /**
|
|
1095
|
-
* Entity ID
|
|
1096
|
-
* example:
|
|
1097
|
-
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
1098
|
-
*/
|
|
1099
|
-
EntityId /* uuid */;
|
|
1100
1107
|
/**
|
|
1101
1108
|
* Identifier-value pairs per schema to identify a contact of a portal user during the resgistration
|
|
1102
1109
|
* example:
|
|
@@ -1685,6 +1692,16 @@ declare namespace Components {
|
|
|
1685
1692
|
*/
|
|
1686
1693
|
id?: string;
|
|
1687
1694
|
}
|
|
1695
|
+
export type ExtensionHookConfig = {
|
|
1696
|
+
/**
|
|
1697
|
+
* The ID of the hook that is being configured.
|
|
1698
|
+
*/
|
|
1699
|
+
hook_id?: string;
|
|
1700
|
+
/**
|
|
1701
|
+
* The ID of the app that is being hooked into.
|
|
1702
|
+
*/
|
|
1703
|
+
app_id?: string;
|
|
1704
|
+
} | null;
|
|
1688
1705
|
/**
|
|
1689
1706
|
* Hook that will allow using the specified source as data for consumption visualizations. This hook is triggered to fetch the data. Format of the request and response has to follow the following specification: TBD. The expected response to the call is:
|
|
1690
1707
|
* - 200 with the time series data
|
|
@@ -1848,6 +1865,18 @@ declare namespace Components {
|
|
|
1848
1865
|
* {{CallResponse.data.valid}}
|
|
1849
1866
|
*/
|
|
1850
1867
|
valid?: string;
|
|
1868
|
+
/**
|
|
1869
|
+
* Upper allowed limit of the meter reading
|
|
1870
|
+
* example:
|
|
1871
|
+
* {{CallResponse.data.upper_limit}}
|
|
1872
|
+
*/
|
|
1873
|
+
upper_limit?: string;
|
|
1874
|
+
/**
|
|
1875
|
+
* Lower allowed limit of the meter reading
|
|
1876
|
+
* example:
|
|
1877
|
+
* {{CallResponse.data.lower_limit}}
|
|
1878
|
+
*/
|
|
1879
|
+
lower_limit?: string;
|
|
1851
1880
|
};
|
|
1852
1881
|
}
|
|
1853
1882
|
/**
|
|
@@ -2452,6 +2481,51 @@ declare namespace Components {
|
|
|
2452
2481
|
};
|
|
2453
2482
|
schema?: string;
|
|
2454
2483
|
}
|
|
2484
|
+
export interface OIDCProviderConfig {
|
|
2485
|
+
/**
|
|
2486
|
+
* Issuing Authority URL
|
|
2487
|
+
* example:
|
|
2488
|
+
* https://login.microsoftonline.com/33d4f3e5-3df2-421e-b92e-a63cfa680a88/v2.0
|
|
2489
|
+
*/
|
|
2490
|
+
oidc_issuer: string;
|
|
2491
|
+
/**
|
|
2492
|
+
* example:
|
|
2493
|
+
* ab81daf8-8b1f-42d6-94ca-c51621054c75
|
|
2494
|
+
*/
|
|
2495
|
+
client_id: string;
|
|
2496
|
+
/**
|
|
2497
|
+
* example:
|
|
2498
|
+
* 7BIUnn~6shh.7fNtXb..3k1Mp3s6k6WK3B
|
|
2499
|
+
*/
|
|
2500
|
+
client_secret?: string;
|
|
2501
|
+
/**
|
|
2502
|
+
* Space-separated list of OAuth 2.0 scopes to request from OpenID Connect
|
|
2503
|
+
* example:
|
|
2504
|
+
* openid email
|
|
2505
|
+
*/
|
|
2506
|
+
scope: string;
|
|
2507
|
+
metadata?: OIDCProviderMetadata;
|
|
2508
|
+
}
|
|
2509
|
+
export interface OIDCProviderMetadata {
|
|
2510
|
+
/**
|
|
2511
|
+
* URL of the authorization endpoint
|
|
2512
|
+
* example:
|
|
2513
|
+
* https://www.facebook.com/v12.0/dialog/oauth
|
|
2514
|
+
*/
|
|
2515
|
+
authorization_endpoint?: string;
|
|
2516
|
+
/**
|
|
2517
|
+
* URL of the token endpoint
|
|
2518
|
+
* example:
|
|
2519
|
+
* https://graph.facebook.com/v12.0/oauth/access_token
|
|
2520
|
+
*/
|
|
2521
|
+
token_endpoint?: string;
|
|
2522
|
+
/**
|
|
2523
|
+
* URL of the userinfo endpoint
|
|
2524
|
+
* example:
|
|
2525
|
+
* https://graph.facebook.com/me
|
|
2526
|
+
*/
|
|
2527
|
+
userinfo_endpoint?: string;
|
|
2528
|
+
}
|
|
2455
2529
|
/**
|
|
2456
2530
|
* The opportunity entity
|
|
2457
2531
|
*/
|
|
@@ -3009,6 +3083,7 @@ declare namespace Components {
|
|
|
3009
3083
|
* Permissions granted to a portal user while accessing entities
|
|
3010
3084
|
*/
|
|
3011
3085
|
grants?: Grant[];
|
|
3086
|
+
identity_providers?: ProviderPublicConfig[];
|
|
3012
3087
|
}
|
|
3013
3088
|
/**
|
|
3014
3089
|
* The portal user entity
|
|
@@ -3103,6 +3178,50 @@ declare namespace Components {
|
|
|
3103
3178
|
_updated_at: string; // date-time
|
|
3104
3179
|
_schema: "product";
|
|
3105
3180
|
}
|
|
3181
|
+
export interface ProviderConfig {
|
|
3182
|
+
slug?: /**
|
|
3183
|
+
* URL-friendly slug to use as organization-unique identifier for Provider
|
|
3184
|
+
* example:
|
|
3185
|
+
* office-365-login
|
|
3186
|
+
*/
|
|
3187
|
+
ProviderSlug /* [0-9a-z-]+ */;
|
|
3188
|
+
display_name: /**
|
|
3189
|
+
* Human-readable display name for identity provider shown in login
|
|
3190
|
+
* example:
|
|
3191
|
+
* Office 365 Login
|
|
3192
|
+
*/
|
|
3193
|
+
ProviderDisplayName;
|
|
3194
|
+
provider_type: "OIDC";
|
|
3195
|
+
attribute_mappings?: /* Dictionary of epilot user attributes to claims */ AttributeMappingConfig;
|
|
3196
|
+
oidc_config?: OIDCProviderConfig;
|
|
3197
|
+
}
|
|
3198
|
+
/**
|
|
3199
|
+
* Human-readable display name for identity provider shown in login
|
|
3200
|
+
* example:
|
|
3201
|
+
* Office 365 Login
|
|
3202
|
+
*/
|
|
3203
|
+
export type ProviderDisplayName = string;
|
|
3204
|
+
export interface ProviderPublicConfig {
|
|
3205
|
+
slug: /**
|
|
3206
|
+
* URL-friendly slug to use as organization-unique identifier for Provider
|
|
3207
|
+
* example:
|
|
3208
|
+
* office-365-login
|
|
3209
|
+
*/
|
|
3210
|
+
ProviderSlug /* [0-9a-z-]+ */;
|
|
3211
|
+
display_name: /**
|
|
3212
|
+
* Human-readable display name for identity provider shown in login
|
|
3213
|
+
* example:
|
|
3214
|
+
* Office 365 Login
|
|
3215
|
+
*/
|
|
3216
|
+
ProviderDisplayName;
|
|
3217
|
+
oidc_config?: OIDCProviderConfig;
|
|
3218
|
+
}
|
|
3219
|
+
/**
|
|
3220
|
+
* URL-friendly slug to use as organization-unique identifier for Provider
|
|
3221
|
+
* example:
|
|
3222
|
+
* office-365-login
|
|
3223
|
+
*/
|
|
3224
|
+
export type ProviderSlug = string; // [0-9a-z-]+
|
|
3106
3225
|
export interface PublicContractIdentificationDetails {
|
|
3107
3226
|
/**
|
|
3108
3227
|
* Explanation of the hook.
|
|
@@ -3279,6 +3398,79 @@ declare namespace Components {
|
|
|
3279
3398
|
attribute?: string | null;
|
|
3280
3399
|
attribute_value?: string | null;
|
|
3281
3400
|
}
|
|
3401
|
+
export interface SAMLProviderConfig {
|
|
3402
|
+
}
|
|
3403
|
+
export interface SSOCallbackRequest {
|
|
3404
|
+
/**
|
|
3405
|
+
* The grant type
|
|
3406
|
+
* example:
|
|
3407
|
+
* authorization_code
|
|
3408
|
+
*/
|
|
3409
|
+
grant_type: string;
|
|
3410
|
+
/**
|
|
3411
|
+
* The code received from the external SSO provider
|
|
3412
|
+
* example:
|
|
3413
|
+
* 123456
|
|
3414
|
+
*/
|
|
3415
|
+
code: string;
|
|
3416
|
+
/**
|
|
3417
|
+
* The redirect uri
|
|
3418
|
+
* example:
|
|
3419
|
+
* https://customer-portal.com/login
|
|
3420
|
+
*/
|
|
3421
|
+
redirect_uri: string;
|
|
3422
|
+
/**
|
|
3423
|
+
* The client id
|
|
3424
|
+
* example:
|
|
3425
|
+
* 123456
|
|
3426
|
+
*/
|
|
3427
|
+
client_id: string;
|
|
3428
|
+
/**
|
|
3429
|
+
* The client secret
|
|
3430
|
+
* example:
|
|
3431
|
+
* 123456
|
|
3432
|
+
*/
|
|
3433
|
+
client_secret: string;
|
|
3434
|
+
/**
|
|
3435
|
+
* The code verifier
|
|
3436
|
+
* example:
|
|
3437
|
+
* 123456
|
|
3438
|
+
*/
|
|
3439
|
+
code_verifier: string;
|
|
3440
|
+
}
|
|
3441
|
+
export interface SSOCallbackResponse {
|
|
3442
|
+
/**
|
|
3443
|
+
* The access token
|
|
3444
|
+
* example:
|
|
3445
|
+
* 123456
|
|
3446
|
+
*/
|
|
3447
|
+
access_token: string;
|
|
3448
|
+
/**
|
|
3449
|
+
* The token type
|
|
3450
|
+
* example:
|
|
3451
|
+
* Bearer
|
|
3452
|
+
*/
|
|
3453
|
+
token_type: string;
|
|
3454
|
+
/**
|
|
3455
|
+
* The expires in
|
|
3456
|
+
* example:
|
|
3457
|
+
* 3600
|
|
3458
|
+
*/
|
|
3459
|
+
expires_in: number;
|
|
3460
|
+
/**
|
|
3461
|
+
* The refresh token
|
|
3462
|
+
* example:
|
|
3463
|
+
* 123456
|
|
3464
|
+
*/
|
|
3465
|
+
refresh_token: string;
|
|
3466
|
+
/**
|
|
3467
|
+
* The id token
|
|
3468
|
+
* example:
|
|
3469
|
+
* 123456
|
|
3470
|
+
*/
|
|
3471
|
+
id_token: string;
|
|
3472
|
+
}
|
|
3473
|
+
export type SSOLoginToken = string;
|
|
3282
3474
|
export interface SaveEntityFile {
|
|
3283
3475
|
entity_id: /**
|
|
3284
3476
|
* Entity ID
|
|
@@ -3795,6 +3987,15 @@ declare namespace Components {
|
|
|
3795
3987
|
* Doe
|
|
3796
3988
|
*/
|
|
3797
3989
|
last_name?: string;
|
|
3990
|
+
/**
|
|
3991
|
+
* ID of the contact
|
|
3992
|
+
*/
|
|
3993
|
+
contactId?: /**
|
|
3994
|
+
* Entity ID
|
|
3995
|
+
* example:
|
|
3996
|
+
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
3997
|
+
*/
|
|
3998
|
+
EntityId /* uuid */;
|
|
3798
3999
|
}
|
|
3799
4000
|
export interface WidgetAction {
|
|
3800
4001
|
_id: string;
|
|
@@ -4130,23 +4331,6 @@ declare namespace Paths {
|
|
|
4130
4331
|
export type $500 = Components.Responses.InternalServerError;
|
|
4131
4332
|
}
|
|
4132
4333
|
}
|
|
4133
|
-
namespace CreateSSOUser {
|
|
4134
|
-
namespace Parameters {
|
|
4135
|
-
export type Origin = /* Origin of the portal */ Components.Schemas.Origin;
|
|
4136
|
-
}
|
|
4137
|
-
export interface QueryParameters {
|
|
4138
|
-
origin: Parameters.Origin;
|
|
4139
|
-
}
|
|
4140
|
-
export type RequestBody = Components.Schemas.CreateSSOUserRequest;
|
|
4141
|
-
namespace Responses {
|
|
4142
|
-
export interface $201 {
|
|
4143
|
-
data?: /* The portal user entity */ Components.Schemas.PortalUser;
|
|
4144
|
-
}
|
|
4145
|
-
export type $400 = Components.Responses.InvalidRequest;
|
|
4146
|
-
export type $401 = Components.Responses.Unauthorized;
|
|
4147
|
-
export type $500 = Components.Responses.InternalServerError;
|
|
4148
|
-
}
|
|
4149
|
-
}
|
|
4150
4334
|
namespace CreateUser {
|
|
4151
4335
|
namespace Parameters {
|
|
4152
4336
|
export type Origin = /* Origin of the portal */ Components.Schemas.Origin;
|
|
@@ -5699,6 +5883,7 @@ declare namespace Paths {
|
|
|
5699
5883
|
* Permissions granted to a portal user while accessing entities
|
|
5700
5884
|
*/
|
|
5701
5885
|
grants?: Components.Schemas.Grant[];
|
|
5886
|
+
identity_providers?: Components.Schemas.ProviderPublicConfig[];
|
|
5702
5887
|
certificate_details?: {
|
|
5703
5888
|
/**
|
|
5704
5889
|
* Status of the certificate
|
|
@@ -6456,6 +6641,75 @@ declare namespace Paths {
|
|
|
6456
6641
|
export type $500 = Components.Responses.InternalServerError;
|
|
6457
6642
|
}
|
|
6458
6643
|
}
|
|
6644
|
+
namespace SsoCallback {
|
|
6645
|
+
export type RequestBody = Components.Schemas.SSOCallbackRequest;
|
|
6646
|
+
namespace Responses {
|
|
6647
|
+
export type $200 = Components.Schemas.SSOCallbackResponse;
|
|
6648
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
6649
|
+
}
|
|
6650
|
+
}
|
|
6651
|
+
namespace SsoLogin {
|
|
6652
|
+
namespace Parameters {
|
|
6653
|
+
/**
|
|
6654
|
+
* example:
|
|
6655
|
+
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
6656
|
+
*/
|
|
6657
|
+
export type ContactId = string; // uuid
|
|
6658
|
+
/**
|
|
6659
|
+
* example:
|
|
6660
|
+
* 123
|
|
6661
|
+
*/
|
|
6662
|
+
export type OrgId = string;
|
|
6663
|
+
export type Origin = /* Origin of the portal */ Components.Schemas.Origin;
|
|
6664
|
+
}
|
|
6665
|
+
export interface QueryParameters {
|
|
6666
|
+
origin: Parameters.Origin;
|
|
6667
|
+
org_id: /**
|
|
6668
|
+
* example:
|
|
6669
|
+
* 123
|
|
6670
|
+
*/
|
|
6671
|
+
Parameters.OrgId;
|
|
6672
|
+
contact_id?: /**
|
|
6673
|
+
* example:
|
|
6674
|
+
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
6675
|
+
*/
|
|
6676
|
+
Parameters.ContactId /* uuid */;
|
|
6677
|
+
}
|
|
6678
|
+
export interface RequestBody {
|
|
6679
|
+
provider_slug?: /**
|
|
6680
|
+
* URL-friendly slug to use as organization-unique identifier for Provider
|
|
6681
|
+
* example:
|
|
6682
|
+
* office-365-login
|
|
6683
|
+
*/
|
|
6684
|
+
Components.Schemas.ProviderSlug /* [0-9a-z-]+ */;
|
|
6685
|
+
}
|
|
6686
|
+
namespace Responses {
|
|
6687
|
+
export interface $200 {
|
|
6688
|
+
token?: Components.Schemas.SSOLoginToken;
|
|
6689
|
+
}
|
|
6690
|
+
}
|
|
6691
|
+
}
|
|
6692
|
+
namespace SsoRedirectProxy {
|
|
6693
|
+
export interface RequestBody {
|
|
6694
|
+
/**
|
|
6695
|
+
* The code received from the external SSO provider
|
|
6696
|
+
* example:
|
|
6697
|
+
* 123456
|
|
6698
|
+
*/
|
|
6699
|
+
code?: string;
|
|
6700
|
+
/**
|
|
6701
|
+
* The state received from the external SSO provider
|
|
6702
|
+
* example:
|
|
6703
|
+
* 123456
|
|
6704
|
+
*/
|
|
6705
|
+
state?: string;
|
|
6706
|
+
}
|
|
6707
|
+
namespace Responses {
|
|
6708
|
+
export interface $301 {
|
|
6709
|
+
}
|
|
6710
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
6711
|
+
}
|
|
6712
|
+
}
|
|
6459
6713
|
namespace TrackFileDownloaded {
|
|
6460
6714
|
namespace Parameters {
|
|
6461
6715
|
export type Id = /**
|
|
@@ -6781,6 +7035,32 @@ declare namespace Paths {
|
|
|
6781
7035
|
export type $500 = Components.Responses.InternalServerError;
|
|
6782
7036
|
}
|
|
6783
7037
|
}
|
|
7038
|
+
namespace ValidateCaaRecords {
|
|
7039
|
+
namespace Parameters {
|
|
7040
|
+
export type Origin = /* Origin of the portal */ Components.Schemas.Origin;
|
|
7041
|
+
}
|
|
7042
|
+
export interface QueryParameters {
|
|
7043
|
+
origin: Parameters.Origin;
|
|
7044
|
+
}
|
|
7045
|
+
namespace Responses {
|
|
7046
|
+
export interface $200 {
|
|
7047
|
+
/**
|
|
7048
|
+
* Whether to retry the validation to continue the domain setup
|
|
7049
|
+
*/
|
|
7050
|
+
retry?: boolean;
|
|
7051
|
+
/**
|
|
7052
|
+
* Message of the validation
|
|
7053
|
+
*/
|
|
7054
|
+
message?: string;
|
|
7055
|
+
/**
|
|
7056
|
+
* Whether the DNS is configured from the customer side
|
|
7057
|
+
*/
|
|
7058
|
+
isDNSConfigured?: boolean;
|
|
7059
|
+
}
|
|
7060
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
7061
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
7062
|
+
}
|
|
7063
|
+
}
|
|
6784
7064
|
namespace ValidateCadenceEntityEditRules {
|
|
6785
7065
|
namespace Parameters {
|
|
6786
7066
|
export type Attribute = string;
|
|
@@ -6866,16 +7146,6 @@ export interface OperationMethods {
|
|
|
6866
7146
|
data?: Paths.RevokeToken.RequestBody,
|
|
6867
7147
|
config?: AxiosRequestConfig
|
|
6868
7148
|
): OperationResponse<Paths.RevokeToken.Responses.$200>
|
|
6869
|
-
/**
|
|
6870
|
-
* createSSOUser - createSSOUser
|
|
6871
|
-
*
|
|
6872
|
-
* Creates a portal user as an SSO user.
|
|
6873
|
-
*/
|
|
6874
|
-
'createSSOUser'(
|
|
6875
|
-
parameters?: Parameters<Paths.CreateSSOUser.QueryParameters> | null,
|
|
6876
|
-
data?: Paths.CreateSSOUser.RequestBody,
|
|
6877
|
-
config?: AxiosRequestConfig
|
|
6878
|
-
): OperationResponse<Paths.CreateSSOUser.Responses.$201>
|
|
6879
7149
|
/**
|
|
6880
7150
|
* getPortalConfigByDomain - getPortalConfigByDomain
|
|
6881
7151
|
*
|
|
@@ -7096,6 +7366,16 @@ export interface OperationMethods {
|
|
|
7096
7366
|
data?: any,
|
|
7097
7367
|
config?: AxiosRequestConfig
|
|
7098
7368
|
): OperationResponse<Paths.ExtraPermissionAttributes.Responses.$200>
|
|
7369
|
+
/**
|
|
7370
|
+
* validateCaaRecords - validateCaaRecords
|
|
7371
|
+
*
|
|
7372
|
+
* Validates the CAA records of a portal
|
|
7373
|
+
*/
|
|
7374
|
+
'validateCaaRecords'(
|
|
7375
|
+
parameters?: Parameters<Paths.ValidateCaaRecords.QueryParameters> | null,
|
|
7376
|
+
data?: any,
|
|
7377
|
+
config?: AxiosRequestConfig
|
|
7378
|
+
): OperationResponse<Paths.ValidateCaaRecords.Responses.$200>
|
|
7099
7379
|
/**
|
|
7100
7380
|
* getContact - getContact
|
|
7101
7381
|
*
|
|
@@ -7602,6 +7882,45 @@ export interface OperationMethods {
|
|
|
7602
7882
|
data?: Paths.CreateMeterReading.RequestBody,
|
|
7603
7883
|
config?: AxiosRequestConfig
|
|
7604
7884
|
): OperationResponse<Paths.CreateMeterReading.Responses.$200>
|
|
7885
|
+
/**
|
|
7886
|
+
* ssoLogin - ssoLogin
|
|
7887
|
+
*
|
|
7888
|
+
* Initiate login using external SSO identity.
|
|
7889
|
+
*
|
|
7890
|
+
* Verifies the user with the issuer and matches the identity to an epilot user (or creates a new user).
|
|
7891
|
+
*
|
|
7892
|
+
* Returns parameters to be used with CUSTOM_AUTH flow against Cognito
|
|
7893
|
+
*
|
|
7894
|
+
*/
|
|
7895
|
+
'ssoLogin'(
|
|
7896
|
+
parameters?: Parameters<Paths.SsoLogin.QueryParameters> | null,
|
|
7897
|
+
data?: Paths.SsoLogin.RequestBody,
|
|
7898
|
+
config?: AxiosRequestConfig
|
|
7899
|
+
): OperationResponse<Paths.SsoLogin.Responses.$200>
|
|
7900
|
+
/**
|
|
7901
|
+
* ssoRedirectProxy - ssoRedirectProxy
|
|
7902
|
+
*
|
|
7903
|
+
* Validate the code received from the external SSO provider.
|
|
7904
|
+
* Redirects to the login page with the code.
|
|
7905
|
+
*
|
|
7906
|
+
*/
|
|
7907
|
+
'ssoRedirectProxy'(
|
|
7908
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
7909
|
+
data?: Paths.SsoRedirectProxy.RequestBody,
|
|
7910
|
+
config?: AxiosRequestConfig
|
|
7911
|
+
): OperationResponse<any>
|
|
7912
|
+
/**
|
|
7913
|
+
* ssoCallback - ssoCallback
|
|
7914
|
+
*
|
|
7915
|
+
* Validate the code received from the external SSO provider.
|
|
7916
|
+
* Returns the token to be used with the CUSTOM_AUTH flow against Cognito.
|
|
7917
|
+
*
|
|
7918
|
+
*/
|
|
7919
|
+
'ssoCallback'(
|
|
7920
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
7921
|
+
data?: Paths.SsoCallback.RequestBody,
|
|
7922
|
+
config?: AxiosRequestConfig
|
|
7923
|
+
): OperationResponse<Paths.SsoCallback.Responses.$200>
|
|
7605
7924
|
}
|
|
7606
7925
|
|
|
7607
7926
|
export interface PathsDictionary {
|
|
@@ -7653,18 +7972,6 @@ export interface PathsDictionary {
|
|
|
7653
7972
|
config?: AxiosRequestConfig
|
|
7654
7973
|
): OperationResponse<Paths.RevokeToken.Responses.$200>
|
|
7655
7974
|
}
|
|
7656
|
-
['/v2/portal/sso/user']: {
|
|
7657
|
-
/**
|
|
7658
|
-
* createSSOUser - createSSOUser
|
|
7659
|
-
*
|
|
7660
|
-
* Creates a portal user as an SSO user.
|
|
7661
|
-
*/
|
|
7662
|
-
'post'(
|
|
7663
|
-
parameters?: Parameters<Paths.CreateSSOUser.QueryParameters> | null,
|
|
7664
|
-
data?: Paths.CreateSSOUser.RequestBody,
|
|
7665
|
-
config?: AxiosRequestConfig
|
|
7666
|
-
): OperationResponse<Paths.CreateSSOUser.Responses.$201>
|
|
7667
|
-
}
|
|
7668
7975
|
['/v2/portal/public/config']: {
|
|
7669
7976
|
/**
|
|
7670
7977
|
* getPortalConfigByDomain - getPortalConfigByDomain
|
|
@@ -7923,6 +8230,18 @@ export interface PathsDictionary {
|
|
|
7923
8230
|
config?: AxiosRequestConfig
|
|
7924
8231
|
): OperationResponse<Paths.ExtraPermissionAttributes.Responses.$200>
|
|
7925
8232
|
}
|
|
8233
|
+
['/v2/portal/validate/caa-records']: {
|
|
8234
|
+
/**
|
|
8235
|
+
* validateCaaRecords - validateCaaRecords
|
|
8236
|
+
*
|
|
8237
|
+
* Validates the CAA records of a portal
|
|
8238
|
+
*/
|
|
8239
|
+
'post'(
|
|
8240
|
+
parameters?: Parameters<Paths.ValidateCaaRecords.QueryParameters> | null,
|
|
8241
|
+
data?: any,
|
|
8242
|
+
config?: AxiosRequestConfig
|
|
8243
|
+
): OperationResponse<Paths.ValidateCaaRecords.Responses.$200>
|
|
8244
|
+
}
|
|
7926
8245
|
['/v2/portal/contact']: {
|
|
7927
8246
|
/**
|
|
7928
8247
|
* getContact - getContact
|
|
@@ -8515,6 +8834,51 @@ export interface PathsDictionary {
|
|
|
8515
8834
|
config?: AxiosRequestConfig
|
|
8516
8835
|
): OperationResponse<Paths.CreateMeterReading.Responses.$200>
|
|
8517
8836
|
}
|
|
8837
|
+
['/v2/portal/public/sso/login']: {
|
|
8838
|
+
/**
|
|
8839
|
+
* ssoLogin - ssoLogin
|
|
8840
|
+
*
|
|
8841
|
+
* Initiate login using external SSO identity.
|
|
8842
|
+
*
|
|
8843
|
+
* Verifies the user with the issuer and matches the identity to an epilot user (or creates a new user).
|
|
8844
|
+
*
|
|
8845
|
+
* Returns parameters to be used with CUSTOM_AUTH flow against Cognito
|
|
8846
|
+
*
|
|
8847
|
+
*/
|
|
8848
|
+
'post'(
|
|
8849
|
+
parameters?: Parameters<Paths.SsoLogin.QueryParameters> | null,
|
|
8850
|
+
data?: Paths.SsoLogin.RequestBody,
|
|
8851
|
+
config?: AxiosRequestConfig
|
|
8852
|
+
): OperationResponse<Paths.SsoLogin.Responses.$200>
|
|
8853
|
+
}
|
|
8854
|
+
['/v2/portal/public/sso/proxy-redirect']: {
|
|
8855
|
+
/**
|
|
8856
|
+
* ssoRedirectProxy - ssoRedirectProxy
|
|
8857
|
+
*
|
|
8858
|
+
* Validate the code received from the external SSO provider.
|
|
8859
|
+
* Redirects to the login page with the code.
|
|
8860
|
+
*
|
|
8861
|
+
*/
|
|
8862
|
+
'post'(
|
|
8863
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
8864
|
+
data?: Paths.SsoRedirectProxy.RequestBody,
|
|
8865
|
+
config?: AxiosRequestConfig
|
|
8866
|
+
): OperationResponse<any>
|
|
8867
|
+
}
|
|
8868
|
+
['/v2/portal/public/sso/callback']: {
|
|
8869
|
+
/**
|
|
8870
|
+
* ssoCallback - ssoCallback
|
|
8871
|
+
*
|
|
8872
|
+
* Validate the code received from the external SSO provider.
|
|
8873
|
+
* Returns the token to be used with the CUSTOM_AUTH flow against Cognito.
|
|
8874
|
+
*
|
|
8875
|
+
*/
|
|
8876
|
+
'post'(
|
|
8877
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
8878
|
+
data?: Paths.SsoCallback.RequestBody,
|
|
8879
|
+
config?: AxiosRequestConfig
|
|
8880
|
+
): OperationResponse<Paths.SsoCallback.Responses.$200>
|
|
8881
|
+
}
|
|
8518
8882
|
}
|
|
8519
8883
|
|
|
8520
8884
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
@@ -8528,6 +8892,7 @@ export type ActivityId = Components.Schemas.ActivityId;
|
|
|
8528
8892
|
export type ActivityItem = Components.Schemas.ActivityItem;
|
|
8529
8893
|
export type AdminUser = Components.Schemas.AdminUser;
|
|
8530
8894
|
export type AllowedFileExtensions = Components.Schemas.AllowedFileExtensions;
|
|
8895
|
+
export type AttributeMappingConfig = Components.Schemas.AttributeMappingConfig;
|
|
8531
8896
|
export type AuthConfig = Components.Schemas.AuthConfig;
|
|
8532
8897
|
export type Balance = Components.Schemas.Balance;
|
|
8533
8898
|
export type BaseBillingEvent = Components.Schemas.BaseBillingEvent;
|
|
@@ -8540,7 +8905,6 @@ export type ContactExistsRequest = Components.Schemas.ContactExistsRequest;
|
|
|
8540
8905
|
export type ContentWidget = Components.Schemas.ContentWidget;
|
|
8541
8906
|
export type Contract = Components.Schemas.Contract;
|
|
8542
8907
|
export type ContractIdentifier = Components.Schemas.ContractIdentifier;
|
|
8543
|
-
export type CreateSSOUserRequest = Components.Schemas.CreateSSOUserRequest;
|
|
8544
8908
|
export type CreateUserRequest = Components.Schemas.CreateUserRequest;
|
|
8545
8909
|
export type Currency = Components.Schemas.Currency;
|
|
8546
8910
|
export type DataRetrievalItem = Components.Schemas.DataRetrievalItem;
|
|
@@ -8562,6 +8926,7 @@ export type Extension = Components.Schemas.Extension;
|
|
|
8562
8926
|
export type ExtensionAuthBlock = Components.Schemas.ExtensionAuthBlock;
|
|
8563
8927
|
export type ExtensionConfig = Components.Schemas.ExtensionConfig;
|
|
8564
8928
|
export type ExtensionHook = Components.Schemas.ExtensionHook;
|
|
8929
|
+
export type ExtensionHookConfig = Components.Schemas.ExtensionHookConfig;
|
|
8565
8930
|
export type ExtensionHookConsumptionDataRetrieval = Components.Schemas.ExtensionHookConsumptionDataRetrieval;
|
|
8566
8931
|
export type ExtensionHookContractIdentification = Components.Schemas.ExtensionHookContractIdentification;
|
|
8567
8932
|
export type ExtensionHookCostDataRetrieval = Components.Schemas.ExtensionHookCostDataRetrieval;
|
|
@@ -8582,6 +8947,8 @@ export type Meter = Components.Schemas.Meter;
|
|
|
8582
8947
|
export type MeterChartWidget = Components.Schemas.MeterChartWidget;
|
|
8583
8948
|
export type MeterReading = Components.Schemas.MeterReading;
|
|
8584
8949
|
export type MeterReadingWidget = Components.Schemas.MeterReadingWidget;
|
|
8950
|
+
export type OIDCProviderConfig = Components.Schemas.OIDCProviderConfig;
|
|
8951
|
+
export type OIDCProviderMetadata = Components.Schemas.OIDCProviderMetadata;
|
|
8585
8952
|
export type Opportunity = Components.Schemas.Opportunity;
|
|
8586
8953
|
export type Order = Components.Schemas.Order;
|
|
8587
8954
|
export type OrganizationSettings = Components.Schemas.OrganizationSettings;
|
|
@@ -8591,6 +8958,10 @@ export type PortalConfig = Components.Schemas.PortalConfig;
|
|
|
8591
8958
|
export type PortalUser = Components.Schemas.PortalUser;
|
|
8592
8959
|
export type PortalWidget = Components.Schemas.PortalWidget;
|
|
8593
8960
|
export type Product = Components.Schemas.Product;
|
|
8961
|
+
export type ProviderConfig = Components.Schemas.ProviderConfig;
|
|
8962
|
+
export type ProviderDisplayName = Components.Schemas.ProviderDisplayName;
|
|
8963
|
+
export type ProviderPublicConfig = Components.Schemas.ProviderPublicConfig;
|
|
8964
|
+
export type ProviderSlug = Components.Schemas.ProviderSlug;
|
|
8594
8965
|
export type PublicContractIdentificationDetails = Components.Schemas.PublicContractIdentificationDetails;
|
|
8595
8966
|
export type PublicDataRetrievalHookDetails = Components.Schemas.PublicDataRetrievalHookDetails;
|
|
8596
8967
|
export type PublicExtensionCapabilities = Components.Schemas.PublicExtensionCapabilities;
|
|
@@ -8601,6 +8972,10 @@ export type Reason = Components.Schemas.Reason;
|
|
|
8601
8972
|
export type RegistrationIdentifier = Components.Schemas.RegistrationIdentifier;
|
|
8602
8973
|
export type ReimbursementEvent = Components.Schemas.ReimbursementEvent;
|
|
8603
8974
|
export type Rule = Components.Schemas.Rule;
|
|
8975
|
+
export type SAMLProviderConfig = Components.Schemas.SAMLProviderConfig;
|
|
8976
|
+
export type SSOCallbackRequest = Components.Schemas.SSOCallbackRequest;
|
|
8977
|
+
export type SSOCallbackResponse = Components.Schemas.SSOCallbackResponse;
|
|
8978
|
+
export type SSOLoginToken = Components.Schemas.SSOLoginToken;
|
|
8604
8979
|
export type SaveEntityFile = Components.Schemas.SaveEntityFile;
|
|
8605
8980
|
export type SavePortalFile = Components.Schemas.SavePortalFile;
|
|
8606
8981
|
export type Schema = Components.Schemas.Schema;
|