@epilot/sdk 2.11.2 → 2.11.4
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/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +169 -0
- package/definitions/webhooks.json +4 -0
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +8 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +2 -2
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.d.cts +2 -2
- package/dist/apis/webhooks.d.ts +2 -2
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/chunk-4H2KIKGL.cjs +14 -0
- package/dist/chunk-COASF7ZR.js +14 -0
- package/dist/{chunk-NKT4AVEL.cjs → chunk-O4C7IU7J.cjs} +3 -3
- package/dist/{chunk-XO2GYSCA.js → chunk-PCK46M32.js} +3 -3
- package/dist/customer-portal-F45XWLIO.cjs +7 -0
- package/dist/customer-portal-MYNJZ4OW.js +7 -0
- package/dist/{customer-portal-runtime-C6ZIKX2V.js → customer-portal-runtime-NRIQG6IO.js} +1 -1
- package/dist/{customer-portal-runtime-M7O3RDJ5.cjs → customer-portal-runtime-VRGCSOVU.cjs} +2 -2
- package/dist/{customer-portal.d-C9TeumWq.d.cts → customer-portal.d-fWVl8_mE.d.cts} +126 -0
- package/dist/{customer-portal.d-C9TeumWq.d.ts → customer-portal.d-fWVl8_mE.d.ts} +126 -0
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/webhooks-HMU5AUDZ.js +7 -0
- package/dist/webhooks-KHP3MEVQ.cjs +7 -0
- package/dist/{webhooks.d-CVTTnVT9.d.cts → webhooks.d-DytMQF8m.d.cts} +4 -0
- package/dist/{webhooks.d-CVTTnVT9.d.ts → webhooks.d-DytMQF8m.d.ts} +4 -0
- package/docs/customer-portal.md +789 -220
- package/docs/webhooks.md +4 -0
- package/package.json +1 -1
- package/dist/chunk-JBPITLKN.cjs +0 -14
- package/dist/chunk-LSMVZMBY.js +0 -14
- package/dist/customer-portal-K2HBVB7T.cjs +0 -7
- package/dist/customer-portal-UAKA5B2P.js +0 -7
- package/dist/webhooks-K2SR7P75.cjs +0 -7
- package/dist/webhooks-TO24LUVN.js +0 -7
package/docs/customer-portal.md
CHANGED
|
@@ -108,6 +108,8 @@ const { data } = await customerPortalClient.upsertPortal(...)
|
|
|
108
108
|
**ECP**
|
|
109
109
|
- [`validateToken`](#validatetoken)
|
|
110
110
|
- [`revokeToken`](#revoketoken)
|
|
111
|
+
- [`createExport`](#createexport)
|
|
112
|
+
- [`getExport`](#getexport)
|
|
111
113
|
- [`getConsumption`](#getconsumption)
|
|
112
114
|
- [`prepareVisualizationExport`](#preparevisualizationexport)
|
|
113
115
|
- [`getVisualizationMetadata`](#getvisualizationmetadata)
|
|
@@ -380,6 +382,43 @@ const { data } = await client.upsertPortal(
|
|
|
380
382
|
expose_client_secret: false
|
|
381
383
|
}
|
|
382
384
|
],
|
|
385
|
+
mobile_config: {
|
|
386
|
+
portal_id: 'string',
|
|
387
|
+
enabled: true,
|
|
388
|
+
display_name: 'string',
|
|
389
|
+
app_host: 'string',
|
|
390
|
+
environment: 'prod',
|
|
391
|
+
branding: {
|
|
392
|
+
app_icon: 'string',
|
|
393
|
+
splash: 'string',
|
|
394
|
+
splash_dark: 'string',
|
|
395
|
+
icon_background_color: 'string',
|
|
396
|
+
splash_background_color: 'string',
|
|
397
|
+
splash_background_color_dark: 'string'
|
|
398
|
+
},
|
|
399
|
+
ios: {
|
|
400
|
+
bundle_id: 'string',
|
|
401
|
+
team_id: 'string',
|
|
402
|
+
credentials_status: 'not_configured',
|
|
403
|
+
app_store_id: 'string',
|
|
404
|
+
store_url: 'string',
|
|
405
|
+
last_build: { /* ... */ }
|
|
406
|
+
},
|
|
407
|
+
android: {
|
|
408
|
+
package_name: 'string',
|
|
409
|
+
credentials_status: 'not_configured',
|
|
410
|
+
upload_key_status: 'not_configured',
|
|
411
|
+
store_url: 'string',
|
|
412
|
+
last_build: { /* ... */ }
|
|
413
|
+
},
|
|
414
|
+
ota: {
|
|
415
|
+
enabled: true,
|
|
416
|
+
channel: 'canary',
|
|
417
|
+
auto_update: true,
|
|
418
|
+
update_strategy: 'next-launch',
|
|
419
|
+
min_native_version: 'string'
|
|
420
|
+
}
|
|
421
|
+
},
|
|
383
422
|
enabled: true,
|
|
384
423
|
name: 'Installer Portal',
|
|
385
424
|
domain: 'abc.com',
|
|
@@ -570,6 +609,43 @@ const { data } = await client.upsertPortal(
|
|
|
570
609
|
|
|
571
610
|
```json
|
|
572
611
|
{
|
|
612
|
+
"mobile_config": {
|
|
613
|
+
"portal_id": "string",
|
|
614
|
+
"enabled": true,
|
|
615
|
+
"display_name": "string",
|
|
616
|
+
"app_host": "string",
|
|
617
|
+
"environment": "prod",
|
|
618
|
+
"branding": {
|
|
619
|
+
"app_icon": "string",
|
|
620
|
+
"splash": "string",
|
|
621
|
+
"splash_dark": "string",
|
|
622
|
+
"icon_background_color": "string",
|
|
623
|
+
"splash_background_color": "string",
|
|
624
|
+
"splash_background_color_dark": "string"
|
|
625
|
+
},
|
|
626
|
+
"ios": {
|
|
627
|
+
"bundle_id": "string",
|
|
628
|
+
"team_id": "string",
|
|
629
|
+
"credentials_status": "not_configured",
|
|
630
|
+
"app_store_id": "string",
|
|
631
|
+
"store_url": "string",
|
|
632
|
+
"last_build": {}
|
|
633
|
+
},
|
|
634
|
+
"android": {
|
|
635
|
+
"package_name": "string",
|
|
636
|
+
"credentials_status": "not_configured",
|
|
637
|
+
"upload_key_status": "not_configured",
|
|
638
|
+
"store_url": "string",
|
|
639
|
+
"last_build": {}
|
|
640
|
+
},
|
|
641
|
+
"ota": {
|
|
642
|
+
"enabled": true,
|
|
643
|
+
"channel": "canary",
|
|
644
|
+
"auto_update": true,
|
|
645
|
+
"update_strategy": "next-launch",
|
|
646
|
+
"min_native_version": "string"
|
|
647
|
+
}
|
|
648
|
+
},
|
|
573
649
|
"enabled": true,
|
|
574
650
|
"name": "Installer Portal",
|
|
575
651
|
"domain": "abc.com",
|
|
@@ -897,6 +973,43 @@ const { data } = await client.getPortalConfigByDomain({
|
|
|
897
973
|
|
|
898
974
|
```json
|
|
899
975
|
{
|
|
976
|
+
"mobile_config": {
|
|
977
|
+
"portal_id": "string",
|
|
978
|
+
"enabled": true,
|
|
979
|
+
"display_name": "string",
|
|
980
|
+
"app_host": "string",
|
|
981
|
+
"environment": "prod",
|
|
982
|
+
"branding": {
|
|
983
|
+
"app_icon": "string",
|
|
984
|
+
"splash": "string",
|
|
985
|
+
"splash_dark": "string",
|
|
986
|
+
"icon_background_color": "string",
|
|
987
|
+
"splash_background_color": "string",
|
|
988
|
+
"splash_background_color_dark": "string"
|
|
989
|
+
},
|
|
990
|
+
"ios": {
|
|
991
|
+
"bundle_id": "string",
|
|
992
|
+
"team_id": "string",
|
|
993
|
+
"credentials_status": "not_configured",
|
|
994
|
+
"app_store_id": "string",
|
|
995
|
+
"store_url": "string",
|
|
996
|
+
"last_build": {}
|
|
997
|
+
},
|
|
998
|
+
"android": {
|
|
999
|
+
"package_name": "string",
|
|
1000
|
+
"credentials_status": "not_configured",
|
|
1001
|
+
"upload_key_status": "not_configured",
|
|
1002
|
+
"store_url": "string",
|
|
1003
|
+
"last_build": {}
|
|
1004
|
+
},
|
|
1005
|
+
"ota": {
|
|
1006
|
+
"enabled": true,
|
|
1007
|
+
"channel": "canary",
|
|
1008
|
+
"auto_update": true,
|
|
1009
|
+
"update_strategy": "next-launch",
|
|
1010
|
+
"min_native_version": "string"
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
900
1013
|
"enabled": true,
|
|
901
1014
|
"name": "Installer Portal",
|
|
902
1015
|
"domain": "abc.com",
|
|
@@ -1127,6 +1240,43 @@ const { data } = await client.getPortalConfig({
|
|
|
1127
1240
|
|
|
1128
1241
|
```json
|
|
1129
1242
|
{
|
|
1243
|
+
"mobile_config": {
|
|
1244
|
+
"portal_id": "string",
|
|
1245
|
+
"enabled": true,
|
|
1246
|
+
"display_name": "string",
|
|
1247
|
+
"app_host": "string",
|
|
1248
|
+
"environment": "prod",
|
|
1249
|
+
"branding": {
|
|
1250
|
+
"app_icon": "string",
|
|
1251
|
+
"splash": "string",
|
|
1252
|
+
"splash_dark": "string",
|
|
1253
|
+
"icon_background_color": "string",
|
|
1254
|
+
"splash_background_color": "string",
|
|
1255
|
+
"splash_background_color_dark": "string"
|
|
1256
|
+
},
|
|
1257
|
+
"ios": {
|
|
1258
|
+
"bundle_id": "string",
|
|
1259
|
+
"team_id": "string",
|
|
1260
|
+
"credentials_status": "not_configured",
|
|
1261
|
+
"app_store_id": "string",
|
|
1262
|
+
"store_url": "string",
|
|
1263
|
+
"last_build": {}
|
|
1264
|
+
},
|
|
1265
|
+
"android": {
|
|
1266
|
+
"package_name": "string",
|
|
1267
|
+
"credentials_status": "not_configured",
|
|
1268
|
+
"upload_key_status": "not_configured",
|
|
1269
|
+
"store_url": "string",
|
|
1270
|
+
"last_build": {}
|
|
1271
|
+
},
|
|
1272
|
+
"ota": {
|
|
1273
|
+
"enabled": true,
|
|
1274
|
+
"channel": "canary",
|
|
1275
|
+
"auto_update": true,
|
|
1276
|
+
"update_strategy": "next-launch",
|
|
1277
|
+
"min_native_version": "string"
|
|
1278
|
+
}
|
|
1279
|
+
},
|
|
1130
1280
|
"enabled": true,
|
|
1131
1281
|
"name": "Installer Portal",
|
|
1132
1282
|
"domain": "abc.com",
|
|
@@ -1354,6 +1504,48 @@ const { data } = await client.deletePortal({
|
|
|
1354
1504
|
|
|
1355
1505
|
---
|
|
1356
1506
|
|
|
1507
|
+
### `createExport`
|
|
1508
|
+
|
|
1509
|
+
Request an asynchronous CSV export of the portal user's contracts, delivery points and meters. Returns a job id to poll.
|
|
1510
|
+
|
|
1511
|
+
`POST /v1/portal/exports`
|
|
1512
|
+
|
|
1513
|
+
```ts
|
|
1514
|
+
const { data } = await client.createExport({
|
|
1515
|
+
language: 'example',
|
|
1516
|
+
})
|
|
1517
|
+
```
|
|
1518
|
+
|
|
1519
|
+
---
|
|
1520
|
+
|
|
1521
|
+
### `getExport`
|
|
1522
|
+
|
|
1523
|
+
Get the status of an export job, including the download URL once ready.
|
|
1524
|
+
|
|
1525
|
+
`GET /v1/portal/exports/{jobId}`
|
|
1526
|
+
|
|
1527
|
+
```ts
|
|
1528
|
+
const { data } = await client.getExport({
|
|
1529
|
+
jobId: 'example',
|
|
1530
|
+
})
|
|
1531
|
+
```
|
|
1532
|
+
|
|
1533
|
+
<details>
|
|
1534
|
+
<summary>Response</summary>
|
|
1535
|
+
|
|
1536
|
+
```json
|
|
1537
|
+
{
|
|
1538
|
+
"jobId": "string",
|
|
1539
|
+
"status": "queued",
|
|
1540
|
+
"downloadUrl": "string",
|
|
1541
|
+
"error": "string"
|
|
1542
|
+
}
|
|
1543
|
+
```
|
|
1544
|
+
|
|
1545
|
+
</details>
|
|
1546
|
+
|
|
1547
|
+
---
|
|
1548
|
+
|
|
1357
1549
|
### `getPortalExtensions`
|
|
1358
1550
|
|
|
1359
1551
|
Retrieves the installed portal extensions.
|
|
@@ -2166,6 +2358,43 @@ const { data } = await client.getPublicPortalConfig({
|
|
|
2166
2358
|
|
|
2167
2359
|
```json
|
|
2168
2360
|
{
|
|
2361
|
+
"mobile_config": {
|
|
2362
|
+
"portal_id": "string",
|
|
2363
|
+
"enabled": true,
|
|
2364
|
+
"display_name": "string",
|
|
2365
|
+
"app_host": "string",
|
|
2366
|
+
"environment": "prod",
|
|
2367
|
+
"branding": {
|
|
2368
|
+
"app_icon": "string",
|
|
2369
|
+
"splash": "string",
|
|
2370
|
+
"splash_dark": "string",
|
|
2371
|
+
"icon_background_color": "string",
|
|
2372
|
+
"splash_background_color": "string",
|
|
2373
|
+
"splash_background_color_dark": "string"
|
|
2374
|
+
},
|
|
2375
|
+
"ios": {
|
|
2376
|
+
"bundle_id": "string",
|
|
2377
|
+
"team_id": "string",
|
|
2378
|
+
"credentials_status": "not_configured",
|
|
2379
|
+
"app_store_id": "string",
|
|
2380
|
+
"store_url": "string",
|
|
2381
|
+
"last_build": {}
|
|
2382
|
+
},
|
|
2383
|
+
"android": {
|
|
2384
|
+
"package_name": "string",
|
|
2385
|
+
"credentials_status": "not_configured",
|
|
2386
|
+
"upload_key_status": "not_configured",
|
|
2387
|
+
"store_url": "string",
|
|
2388
|
+
"last_build": {}
|
|
2389
|
+
},
|
|
2390
|
+
"ota": {
|
|
2391
|
+
"enabled": true,
|
|
2392
|
+
"channel": "canary",
|
|
2393
|
+
"auto_update": true,
|
|
2394
|
+
"update_strategy": "next-launch",
|
|
2395
|
+
"min_native_version": "string"
|
|
2396
|
+
}
|
|
2397
|
+
},
|
|
2169
2398
|
"enabled": true,
|
|
2170
2399
|
"name": "Installer Portal",
|
|
2171
2400
|
"domain": "abc.com",
|
|
@@ -2396,6 +2625,43 @@ const { data } = await client.getOrgPortalConfig({
|
|
|
2396
2625
|
|
|
2397
2626
|
```json
|
|
2398
2627
|
{
|
|
2628
|
+
"mobile_config": {
|
|
2629
|
+
"portal_id": "string",
|
|
2630
|
+
"enabled": true,
|
|
2631
|
+
"display_name": "string",
|
|
2632
|
+
"app_host": "string",
|
|
2633
|
+
"environment": "prod",
|
|
2634
|
+
"branding": {
|
|
2635
|
+
"app_icon": "string",
|
|
2636
|
+
"splash": "string",
|
|
2637
|
+
"splash_dark": "string",
|
|
2638
|
+
"icon_background_color": "string",
|
|
2639
|
+
"splash_background_color": "string",
|
|
2640
|
+
"splash_background_color_dark": "string"
|
|
2641
|
+
},
|
|
2642
|
+
"ios": {
|
|
2643
|
+
"bundle_id": "string",
|
|
2644
|
+
"team_id": "string",
|
|
2645
|
+
"credentials_status": "not_configured",
|
|
2646
|
+
"app_store_id": "string",
|
|
2647
|
+
"store_url": "string",
|
|
2648
|
+
"last_build": {}
|
|
2649
|
+
},
|
|
2650
|
+
"android": {
|
|
2651
|
+
"package_name": "string",
|
|
2652
|
+
"credentials_status": "not_configured",
|
|
2653
|
+
"upload_key_status": "not_configured",
|
|
2654
|
+
"store_url": "string",
|
|
2655
|
+
"last_build": {}
|
|
2656
|
+
},
|
|
2657
|
+
"ota": {
|
|
2658
|
+
"enabled": true,
|
|
2659
|
+
"channel": "canary",
|
|
2660
|
+
"auto_update": true,
|
|
2661
|
+
"update_strategy": "next-launch",
|
|
2662
|
+
"min_native_version": "string"
|
|
2663
|
+
}
|
|
2664
|
+
},
|
|
2399
2665
|
"enabled": true,
|
|
2400
2666
|
"name": "Installer Portal",
|
|
2401
2667
|
"domain": "abc.com",
|
|
@@ -2635,6 +2901,43 @@ const { data } = await client.getPublicPortalConfigV3({
|
|
|
2635
2901
|
|
|
2636
2902
|
```json
|
|
2637
2903
|
{
|
|
2904
|
+
"mobile_config": {
|
|
2905
|
+
"portal_id": "string",
|
|
2906
|
+
"enabled": true,
|
|
2907
|
+
"display_name": "string",
|
|
2908
|
+
"app_host": "string",
|
|
2909
|
+
"environment": "prod",
|
|
2910
|
+
"branding": {
|
|
2911
|
+
"app_icon": "string",
|
|
2912
|
+
"splash": "string",
|
|
2913
|
+
"splash_dark": "string",
|
|
2914
|
+
"icon_background_color": "string",
|
|
2915
|
+
"splash_background_color": "string",
|
|
2916
|
+
"splash_background_color_dark": "string"
|
|
2917
|
+
},
|
|
2918
|
+
"ios": {
|
|
2919
|
+
"bundle_id": "string",
|
|
2920
|
+
"team_id": "string",
|
|
2921
|
+
"credentials_status": "not_configured",
|
|
2922
|
+
"app_store_id": "string",
|
|
2923
|
+
"store_url": "string",
|
|
2924
|
+
"last_build": {}
|
|
2925
|
+
},
|
|
2926
|
+
"android": {
|
|
2927
|
+
"package_name": "string",
|
|
2928
|
+
"credentials_status": "not_configured",
|
|
2929
|
+
"upload_key_status": "not_configured",
|
|
2930
|
+
"store_url": "string",
|
|
2931
|
+
"last_build": {}
|
|
2932
|
+
},
|
|
2933
|
+
"ota": {
|
|
2934
|
+
"enabled": true,
|
|
2935
|
+
"channel": "canary",
|
|
2936
|
+
"auto_update": true,
|
|
2937
|
+
"update_strategy": "next-launch",
|
|
2938
|
+
"min_native_version": "string"
|
|
2939
|
+
}
|
|
2940
|
+
},
|
|
2638
2941
|
"enabled": true,
|
|
2639
2942
|
"name": "Installer Portal",
|
|
2640
2943
|
"domain": "abc.com",
|
|
@@ -2865,6 +3168,43 @@ const { data } = await client.getOrgPortalConfigV3({
|
|
|
2865
3168
|
|
|
2866
3169
|
```json
|
|
2867
3170
|
{
|
|
3171
|
+
"mobile_config": {
|
|
3172
|
+
"portal_id": "string",
|
|
3173
|
+
"enabled": true,
|
|
3174
|
+
"display_name": "string",
|
|
3175
|
+
"app_host": "string",
|
|
3176
|
+
"environment": "prod",
|
|
3177
|
+
"branding": {
|
|
3178
|
+
"app_icon": "string",
|
|
3179
|
+
"splash": "string",
|
|
3180
|
+
"splash_dark": "string",
|
|
3181
|
+
"icon_background_color": "string",
|
|
3182
|
+
"splash_background_color": "string",
|
|
3183
|
+
"splash_background_color_dark": "string"
|
|
3184
|
+
},
|
|
3185
|
+
"ios": {
|
|
3186
|
+
"bundle_id": "string",
|
|
3187
|
+
"team_id": "string",
|
|
3188
|
+
"credentials_status": "not_configured",
|
|
3189
|
+
"app_store_id": "string",
|
|
3190
|
+
"store_url": "string",
|
|
3191
|
+
"last_build": {}
|
|
3192
|
+
},
|
|
3193
|
+
"android": {
|
|
3194
|
+
"package_name": "string",
|
|
3195
|
+
"credentials_status": "not_configured",
|
|
3196
|
+
"upload_key_status": "not_configured",
|
|
3197
|
+
"store_url": "string",
|
|
3198
|
+
"last_build": {}
|
|
3199
|
+
},
|
|
3200
|
+
"ota": {
|
|
3201
|
+
"enabled": true,
|
|
3202
|
+
"channel": "canary",
|
|
3203
|
+
"auto_update": true,
|
|
3204
|
+
"update_strategy": "next-launch",
|
|
3205
|
+
"min_native_version": "string"
|
|
3206
|
+
}
|
|
3207
|
+
},
|
|
2868
3208
|
"enabled": true,
|
|
2869
3209
|
"name": "Installer Portal",
|
|
2870
3210
|
"domain": "abc.com",
|
|
@@ -3103,6 +3443,7 @@ const { data } = await client.getAllPortalConfigs()
|
|
|
3103
3443
|
{
|
|
3104
3444
|
"data": [
|
|
3105
3445
|
{
|
|
3446
|
+
"mobile_config": {},
|
|
3106
3447
|
"enabled": true,
|
|
3107
3448
|
"name": "Installer Portal",
|
|
3108
3449
|
"domain": "abc.com",
|
|
@@ -4196,7 +4537,8 @@ const { data } = await client.checkContactExists(
|
|
|
4196
4537
|
contract: {
|
|
4197
4538
|
contract_number: '123456'
|
|
4198
4539
|
}
|
|
4199
|
-
}
|
|
4540
|
+
},
|
|
4541
|
+
trigger_identifiers_check: true
|
|
4200
4542
|
},
|
|
4201
4543
|
)
|
|
4202
4544
|
```
|
|
@@ -4207,7 +4549,8 @@ const { data } = await client.checkContactExists(
|
|
|
4207
4549
|
```json
|
|
4208
4550
|
{
|
|
4209
4551
|
"exists": true,
|
|
4210
|
-
"contactId": "5da0a718-c822-403d-9f5d-20d4584e0528"
|
|
4552
|
+
"contactId": "5da0a718-c822-403d-9f5d-20d4584e0528",
|
|
4553
|
+
"reason": "TIMEOUT"
|
|
4211
4554
|
}
|
|
4212
4555
|
```
|
|
4213
4556
|
|
|
@@ -4239,7 +4582,8 @@ const { data } = await client.checkContactExistsV3(
|
|
|
4239
4582
|
contract: {
|
|
4240
4583
|
contract_number: '123456'
|
|
4241
4584
|
}
|
|
4242
|
-
}
|
|
4585
|
+
},
|
|
4586
|
+
trigger_identifiers_check: true
|
|
4243
4587
|
},
|
|
4244
4588
|
)
|
|
4245
4589
|
```
|
|
@@ -4251,7 +4595,8 @@ const { data } = await client.checkContactExistsV3(
|
|
|
4251
4595
|
{
|
|
4252
4596
|
"exists": true,
|
|
4253
4597
|
"contactId": "5da0a718-c822-403d-9f5d-20d4584e0528",
|
|
4254
|
-
"accountId": "5da0a718-c822-403d-9f5d-20d4584e0528"
|
|
4598
|
+
"accountId": "5da0a718-c822-403d-9f5d-20d4584e0528",
|
|
4599
|
+
"reason": "TIMEOUT"
|
|
4255
4600
|
}
|
|
4256
4601
|
```
|
|
4257
4602
|
|
|
@@ -7230,6 +7575,43 @@ const { data } = await client.createPortalConfig(
|
|
|
7230
7575
|
expose_client_secret: false
|
|
7231
7576
|
}
|
|
7232
7577
|
],
|
|
7578
|
+
mobile_config: {
|
|
7579
|
+
portal_id: 'string',
|
|
7580
|
+
enabled: true,
|
|
7581
|
+
display_name: 'string',
|
|
7582
|
+
app_host: 'string',
|
|
7583
|
+
environment: 'prod',
|
|
7584
|
+
branding: {
|
|
7585
|
+
app_icon: 'string',
|
|
7586
|
+
splash: 'string',
|
|
7587
|
+
splash_dark: 'string',
|
|
7588
|
+
icon_background_color: 'string',
|
|
7589
|
+
splash_background_color: 'string',
|
|
7590
|
+
splash_background_color_dark: 'string'
|
|
7591
|
+
},
|
|
7592
|
+
ios: {
|
|
7593
|
+
bundle_id: 'string',
|
|
7594
|
+
team_id: 'string',
|
|
7595
|
+
credentials_status: 'not_configured',
|
|
7596
|
+
app_store_id: 'string',
|
|
7597
|
+
store_url: 'string',
|
|
7598
|
+
last_build: { /* ... */ }
|
|
7599
|
+
},
|
|
7600
|
+
android: {
|
|
7601
|
+
package_name: 'string',
|
|
7602
|
+
credentials_status: 'not_configured',
|
|
7603
|
+
upload_key_status: 'not_configured',
|
|
7604
|
+
store_url: 'string',
|
|
7605
|
+
last_build: { /* ... */ }
|
|
7606
|
+
},
|
|
7607
|
+
ota: {
|
|
7608
|
+
enabled: true,
|
|
7609
|
+
channel: 'canary',
|
|
7610
|
+
auto_update: true,
|
|
7611
|
+
update_strategy: 'next-launch',
|
|
7612
|
+
min_native_version: 'string'
|
|
7613
|
+
}
|
|
7614
|
+
},
|
|
7233
7615
|
enabled: true,
|
|
7234
7616
|
name: 'Installer Portal',
|
|
7235
7617
|
domain: 'abc.com',
|
|
@@ -7471,6 +7853,43 @@ const { data } = await client.createPortalConfig(
|
|
|
7471
7853
|
"expose_client_secret": false
|
|
7472
7854
|
}
|
|
7473
7855
|
],
|
|
7856
|
+
"mobile_config": {
|
|
7857
|
+
"portal_id": "string",
|
|
7858
|
+
"enabled": true,
|
|
7859
|
+
"display_name": "string",
|
|
7860
|
+
"app_host": "string",
|
|
7861
|
+
"environment": "prod",
|
|
7862
|
+
"branding": {
|
|
7863
|
+
"app_icon": "string",
|
|
7864
|
+
"splash": "string",
|
|
7865
|
+
"splash_dark": "string",
|
|
7866
|
+
"icon_background_color": "string",
|
|
7867
|
+
"splash_background_color": "string",
|
|
7868
|
+
"splash_background_color_dark": "string"
|
|
7869
|
+
},
|
|
7870
|
+
"ios": {
|
|
7871
|
+
"bundle_id": "string",
|
|
7872
|
+
"team_id": "string",
|
|
7873
|
+
"credentials_status": "not_configured",
|
|
7874
|
+
"app_store_id": "string",
|
|
7875
|
+
"store_url": "string",
|
|
7876
|
+
"last_build": {}
|
|
7877
|
+
},
|
|
7878
|
+
"android": {
|
|
7879
|
+
"package_name": "string",
|
|
7880
|
+
"credentials_status": "not_configured",
|
|
7881
|
+
"upload_key_status": "not_configured",
|
|
7882
|
+
"store_url": "string",
|
|
7883
|
+
"last_build": {}
|
|
7884
|
+
},
|
|
7885
|
+
"ota": {
|
|
7886
|
+
"enabled": true,
|
|
7887
|
+
"channel": "canary",
|
|
7888
|
+
"auto_update": true,
|
|
7889
|
+
"update_strategy": "next-launch",
|
|
7890
|
+
"min_native_version": "string"
|
|
7891
|
+
}
|
|
7892
|
+
},
|
|
7474
7893
|
"enabled": true,
|
|
7475
7894
|
"name": "Installer Portal",
|
|
7476
7895
|
"domain": "abc.com",
|
|
@@ -7747,6 +8166,43 @@ const { data } = await client.getPortalConfigV3({
|
|
|
7747
8166
|
"expose_client_secret": false
|
|
7748
8167
|
}
|
|
7749
8168
|
],
|
|
8169
|
+
"mobile_config": {
|
|
8170
|
+
"portal_id": "string",
|
|
8171
|
+
"enabled": true,
|
|
8172
|
+
"display_name": "string",
|
|
8173
|
+
"app_host": "string",
|
|
8174
|
+
"environment": "prod",
|
|
8175
|
+
"branding": {
|
|
8176
|
+
"app_icon": "string",
|
|
8177
|
+
"splash": "string",
|
|
8178
|
+
"splash_dark": "string",
|
|
8179
|
+
"icon_background_color": "string",
|
|
8180
|
+
"splash_background_color": "string",
|
|
8181
|
+
"splash_background_color_dark": "string"
|
|
8182
|
+
},
|
|
8183
|
+
"ios": {
|
|
8184
|
+
"bundle_id": "string",
|
|
8185
|
+
"team_id": "string",
|
|
8186
|
+
"credentials_status": "not_configured",
|
|
8187
|
+
"app_store_id": "string",
|
|
8188
|
+
"store_url": "string",
|
|
8189
|
+
"last_build": {}
|
|
8190
|
+
},
|
|
8191
|
+
"android": {
|
|
8192
|
+
"package_name": "string",
|
|
8193
|
+
"credentials_status": "not_configured",
|
|
8194
|
+
"upload_key_status": "not_configured",
|
|
8195
|
+
"store_url": "string",
|
|
8196
|
+
"last_build": {}
|
|
8197
|
+
},
|
|
8198
|
+
"ota": {
|
|
8199
|
+
"enabled": true,
|
|
8200
|
+
"channel": "canary",
|
|
8201
|
+
"auto_update": true,
|
|
8202
|
+
"update_strategy": "next-launch",
|
|
8203
|
+
"min_native_version": "string"
|
|
8204
|
+
}
|
|
8205
|
+
},
|
|
7750
8206
|
"enabled": true,
|
|
7751
8207
|
"name": "Installer Portal",
|
|
7752
8208
|
"domain": "abc.com",
|
|
@@ -8019,6 +8475,43 @@ const { data } = await client.putPortalConfig(
|
|
|
8019
8475
|
expose_client_secret: false
|
|
8020
8476
|
}
|
|
8021
8477
|
],
|
|
8478
|
+
mobile_config: {
|
|
8479
|
+
portal_id: 'string',
|
|
8480
|
+
enabled: true,
|
|
8481
|
+
display_name: 'string',
|
|
8482
|
+
app_host: 'string',
|
|
8483
|
+
environment: 'prod',
|
|
8484
|
+
branding: {
|
|
8485
|
+
app_icon: 'string',
|
|
8486
|
+
splash: 'string',
|
|
8487
|
+
splash_dark: 'string',
|
|
8488
|
+
icon_background_color: 'string',
|
|
8489
|
+
splash_background_color: 'string',
|
|
8490
|
+
splash_background_color_dark: 'string'
|
|
8491
|
+
},
|
|
8492
|
+
ios: {
|
|
8493
|
+
bundle_id: 'string',
|
|
8494
|
+
team_id: 'string',
|
|
8495
|
+
credentials_status: 'not_configured',
|
|
8496
|
+
app_store_id: 'string',
|
|
8497
|
+
store_url: 'string',
|
|
8498
|
+
last_build: { /* ... */ }
|
|
8499
|
+
},
|
|
8500
|
+
android: {
|
|
8501
|
+
package_name: 'string',
|
|
8502
|
+
credentials_status: 'not_configured',
|
|
8503
|
+
upload_key_status: 'not_configured',
|
|
8504
|
+
store_url: 'string',
|
|
8505
|
+
last_build: { /* ... */ }
|
|
8506
|
+
},
|
|
8507
|
+
ota: {
|
|
8508
|
+
enabled: true,
|
|
8509
|
+
channel: 'canary',
|
|
8510
|
+
auto_update: true,
|
|
8511
|
+
update_strategy: 'next-launch',
|
|
8512
|
+
min_native_version: 'string'
|
|
8513
|
+
}
|
|
8514
|
+
},
|
|
8022
8515
|
enabled: true,
|
|
8023
8516
|
name: 'Installer Portal',
|
|
8024
8517
|
domain: 'abc.com',
|
|
@@ -8281,6 +8774,43 @@ const { data } = await client.putPortalConfig(
|
|
|
8281
8774
|
"expose_client_secret": false
|
|
8282
8775
|
}
|
|
8283
8776
|
],
|
|
8777
|
+
"mobile_config": {
|
|
8778
|
+
"portal_id": "string",
|
|
8779
|
+
"enabled": true,
|
|
8780
|
+
"display_name": "string",
|
|
8781
|
+
"app_host": "string",
|
|
8782
|
+
"environment": "prod",
|
|
8783
|
+
"branding": {
|
|
8784
|
+
"app_icon": "string",
|
|
8785
|
+
"splash": "string",
|
|
8786
|
+
"splash_dark": "string",
|
|
8787
|
+
"icon_background_color": "string",
|
|
8788
|
+
"splash_background_color": "string",
|
|
8789
|
+
"splash_background_color_dark": "string"
|
|
8790
|
+
},
|
|
8791
|
+
"ios": {
|
|
8792
|
+
"bundle_id": "string",
|
|
8793
|
+
"team_id": "string",
|
|
8794
|
+
"credentials_status": "not_configured",
|
|
8795
|
+
"app_store_id": "string",
|
|
8796
|
+
"store_url": "string",
|
|
8797
|
+
"last_build": {}
|
|
8798
|
+
},
|
|
8799
|
+
"android": {
|
|
8800
|
+
"package_name": "string",
|
|
8801
|
+
"credentials_status": "not_configured",
|
|
8802
|
+
"upload_key_status": "not_configured",
|
|
8803
|
+
"store_url": "string",
|
|
8804
|
+
"last_build": {}
|
|
8805
|
+
},
|
|
8806
|
+
"ota": {
|
|
8807
|
+
"enabled": true,
|
|
8808
|
+
"channel": "canary",
|
|
8809
|
+
"auto_update": true,
|
|
8810
|
+
"update_strategy": "next-launch",
|
|
8811
|
+
"min_native_version": "string"
|
|
8812
|
+
}
|
|
8813
|
+
},
|
|
8284
8814
|
"enabled": true,
|
|
8285
8815
|
"name": "Installer Portal",
|
|
8286
8816
|
"domain": "abc.com",
|
|
@@ -8544,6 +9074,7 @@ const { data } = await client.listAllPortalConfigs()
|
|
|
8544
9074
|
"extension_hooks": {},
|
|
8545
9075
|
"default_user_to_notify": {},
|
|
8546
9076
|
"identity_providers": [],
|
|
9077
|
+
"mobile_config": {},
|
|
8547
9078
|
"enabled": true,
|
|
8548
9079
|
"name": "Installer Portal",
|
|
8549
9080
|
"domain": "abc.com",
|
|
@@ -8682,6 +9213,43 @@ const { data } = await client.clonePortalConfig(
|
|
|
8682
9213
|
"expose_client_secret": false
|
|
8683
9214
|
}
|
|
8684
9215
|
],
|
|
9216
|
+
"mobile_config": {
|
|
9217
|
+
"portal_id": "string",
|
|
9218
|
+
"enabled": true,
|
|
9219
|
+
"display_name": "string",
|
|
9220
|
+
"app_host": "string",
|
|
9221
|
+
"environment": "prod",
|
|
9222
|
+
"branding": {
|
|
9223
|
+
"app_icon": "string",
|
|
9224
|
+
"splash": "string",
|
|
9225
|
+
"splash_dark": "string",
|
|
9226
|
+
"icon_background_color": "string",
|
|
9227
|
+
"splash_background_color": "string",
|
|
9228
|
+
"splash_background_color_dark": "string"
|
|
9229
|
+
},
|
|
9230
|
+
"ios": {
|
|
9231
|
+
"bundle_id": "string",
|
|
9232
|
+
"team_id": "string",
|
|
9233
|
+
"credentials_status": "not_configured",
|
|
9234
|
+
"app_store_id": "string",
|
|
9235
|
+
"store_url": "string",
|
|
9236
|
+
"last_build": {}
|
|
9237
|
+
},
|
|
9238
|
+
"android": {
|
|
9239
|
+
"package_name": "string",
|
|
9240
|
+
"credentials_status": "not_configured",
|
|
9241
|
+
"upload_key_status": "not_configured",
|
|
9242
|
+
"store_url": "string",
|
|
9243
|
+
"last_build": {}
|
|
9244
|
+
},
|
|
9245
|
+
"ota": {
|
|
9246
|
+
"enabled": true,
|
|
9247
|
+
"channel": "canary",
|
|
9248
|
+
"auto_update": true,
|
|
9249
|
+
"update_strategy": "next-launch",
|
|
9250
|
+
"min_native_version": "string"
|
|
9251
|
+
}
|
|
9252
|
+
},
|
|
8685
9253
|
"enabled": true,
|
|
8686
9254
|
"name": "Installer Portal",
|
|
8687
9255
|
"domain": "abc.com",
|
|
@@ -9678,6 +10246,43 @@ type UpdateOnlyPortalConfigAttributes = {
|
|
|
9678
10246
|
|
|
9679
10247
|
```ts
|
|
9680
10248
|
type CommonConfigAttributes = {
|
|
10249
|
+
mobile_config?: {
|
|
10250
|
+
portal_id?: string
|
|
10251
|
+
enabled?: boolean
|
|
10252
|
+
display_name?: string
|
|
10253
|
+
app_host?: string
|
|
10254
|
+
environment?: "prod" | "staging" | "dev"
|
|
10255
|
+
branding?: {
|
|
10256
|
+
app_icon?: { ... }
|
|
10257
|
+
splash?: { ... }
|
|
10258
|
+
splash_dark?: { ... }
|
|
10259
|
+
icon_background_color?: { ... }
|
|
10260
|
+
splash_background_color?: { ... }
|
|
10261
|
+
splash_background_color_dark?: { ... }
|
|
10262
|
+
}
|
|
10263
|
+
ios?: {
|
|
10264
|
+
bundle_id?: { ... }
|
|
10265
|
+
team_id?: { ... }
|
|
10266
|
+
credentials_status?: { ... }
|
|
10267
|
+
app_store_id?: { ... }
|
|
10268
|
+
store_url?: { ... }
|
|
10269
|
+
last_build?: { ... }
|
|
10270
|
+
}
|
|
10271
|
+
android?: {
|
|
10272
|
+
package_name?: { ... }
|
|
10273
|
+
credentials_status?: { ... }
|
|
10274
|
+
upload_key_status?: { ... }
|
|
10275
|
+
store_url?: { ... }
|
|
10276
|
+
last_build?: { ... }
|
|
10277
|
+
}
|
|
10278
|
+
ota?: {
|
|
10279
|
+
enabled?: { ... }
|
|
10280
|
+
channel?: { ... }
|
|
10281
|
+
auto_update?: { ... }
|
|
10282
|
+
update_strategy?: { ... }
|
|
10283
|
+
min_native_version?: { ... }
|
|
10284
|
+
}
|
|
10285
|
+
}
|
|
9681
10286
|
enabled?: boolean
|
|
9682
10287
|
name?: string
|
|
9683
10288
|
domain?: string
|
|
@@ -9740,43 +10345,6 @@ type CommonConfigAttributes = {
|
|
|
9740
10345
|
config?: string
|
|
9741
10346
|
contact_identifiers?: string[]
|
|
9742
10347
|
approval_state_attributes?: Record<string, string[]>
|
|
9743
|
-
email_templates?: {
|
|
9744
|
-
confirmAccount?: string // uuid
|
|
9745
|
-
advancedAuth?: string // uuid
|
|
9746
|
-
advancedMFA?: string // uuid
|
|
9747
|
-
journeySignUp?: string // uuid
|
|
9748
|
-
journeySignInOneTimePassword?: string // uuid
|
|
9749
|
-
journeyLoginOTP?: string // uuid
|
|
9750
|
-
forgotPassword?: string // uuid
|
|
9751
|
-
invitation?: string // uuid
|
|
9752
|
-
partnerInvitation?: string // uuid
|
|
9753
|
-
onNewQuote?: string // uuid
|
|
9754
|
-
onMapAPendingUser?: string // uuid
|
|
9755
|
-
onDocUpload?: string // uuid
|
|
9756
|
-
onWorkflowStepAssigned?: string // uuid
|
|
9757
|
-
confirmEmailUpdate?: string // uuid
|
|
9758
|
-
verifyCodeToSetPassword?: string // uuid
|
|
9759
|
-
}
|
|
9760
|
-
images?: {
|
|
9761
|
-
orderLeftTeaser?: string
|
|
9762
|
-
orderRightTeaser?: string
|
|
9763
|
-
welcomeBanner?: string
|
|
9764
|
-
}
|
|
9765
|
-
entity_identifiers?: {
|
|
9766
|
-
type?: {
|
|
9767
|
-
isEnabled?: { ... }
|
|
9768
|
-
attributes?: { ... }
|
|
9769
|
-
}
|
|
9770
|
-
}
|
|
9771
|
-
contract_identifiers?: Array<{
|
|
9772
|
-
name?: string
|
|
9773
|
-
schema?: string
|
|
9774
|
-
}>
|
|
9775
|
-
contract_selector_config?: {
|
|
9776
|
-
show_inactive?: boolean
|
|
9777
|
-
title_path?: string
|
|
9778
|
-
}
|
|
9779
|
-
registration_identifiers?: Array<{
|
|
9780
10348
|
// ...
|
|
9781
10349
|
}
|
|
9782
10350
|
```
|
|
@@ -9846,44 +10414,44 @@ type UpsertPortalConfig = {
|
|
|
9846
10414
|
}
|
|
9847
10415
|
expose_client_secret?: boolean
|
|
9848
10416
|
}>
|
|
9849
|
-
|
|
9850
|
-
|
|
9851
|
-
domain?: string
|
|
9852
|
-
is_epilot_domain?: boolean
|
|
9853
|
-
epilot_domain?: string
|
|
9854
|
-
domain_settings?: {
|
|
9855
|
-
is_custom_domain_enabled?: boolean
|
|
9856
|
-
is_epilot_domain_enabled?: boolean
|
|
9857
|
-
is_redirection_enabled?: boolean
|
|
9858
|
-
}
|
|
9859
|
-
design_id?: string // uuid
|
|
9860
|
-
allowed_portal_entities?: string[]
|
|
9861
|
-
self_registration_setting?: "ALLOW_WITH_CONTACT_CREATION" | "ALLOW_WITHOUT_CONTACT_CREATION" | "DENY" | "ALWAYS_CREATE_CONTACT" | "DISALLOW_COMPLETELY" | "BLOCK_IF_PORTAL_USER_EXISTS"
|
|
9862
|
-
self_registration_account_setting?: "ALLOW_WITH_CREATION" | "DENY" | "ALWAYS_CREATE" | "BLOCK_IF_PORTAL_USER_EXISTS" | "DISALLOW_COMPLETELY"
|
|
9863
|
-
block_registration_if_portal_user_exists?: boolean
|
|
9864
|
-
self_registration_entity?: "contact" | "account"
|
|
9865
|
-
user_account_self_management?: boolean
|
|
9866
|
-
feature_settings?: {
|
|
9867
|
-
start_page?: boolean
|
|
9868
|
-
billing?: boolean
|
|
9869
|
-
change_due_date?: boolean
|
|
9870
|
-
new_design?: boolean
|
|
9871
|
-
}
|
|
9872
|
-
accessToken?: string
|
|
9873
|
-
advanced_mfa?: {
|
|
10417
|
+
mobile_config?: {
|
|
10418
|
+
portal_id?: string
|
|
9874
10419
|
enabled?: boolean
|
|
9875
|
-
|
|
9876
|
-
|
|
9877
|
-
|
|
10420
|
+
display_name?: string
|
|
10421
|
+
app_host?: string
|
|
10422
|
+
environment?: "prod" | "staging" | "dev"
|
|
10423
|
+
branding?: {
|
|
10424
|
+
app_icon?: { ... }
|
|
10425
|
+
splash?: { ... }
|
|
10426
|
+
splash_dark?: { ... }
|
|
10427
|
+
icon_background_color?: { ... }
|
|
10428
|
+
splash_background_color?: { ... }
|
|
10429
|
+
splash_background_color_dark?: { ... }
|
|
10430
|
+
}
|
|
10431
|
+
ios?: {
|
|
10432
|
+
bundle_id?: { ... }
|
|
10433
|
+
team_id?: { ... }
|
|
10434
|
+
credentials_status?: { ... }
|
|
10435
|
+
app_store_id?: { ... }
|
|
10436
|
+
store_url?: { ... }
|
|
10437
|
+
last_build?: { ... }
|
|
10438
|
+
}
|
|
10439
|
+
android?: {
|
|
10440
|
+
package_name?: { ... }
|
|
10441
|
+
credentials_status?: { ... }
|
|
10442
|
+
upload_key_status?: { ... }
|
|
10443
|
+
store_url?: { ... }
|
|
10444
|
+
last_build?: { ... }
|
|
10445
|
+
}
|
|
10446
|
+
ota?: {
|
|
9878
10447
|
enabled?: { ... }
|
|
10448
|
+
channel?: { ... }
|
|
10449
|
+
auto_update?: { ... }
|
|
10450
|
+
update_strategy?: { ... }
|
|
10451
|
+
min_native_version?: { ... }
|
|
9879
10452
|
}
|
|
9880
|
-
entry_point?: "PASSWORD" | "SSO"
|
|
9881
|
-
preferred_sso_providers?: string[]
|
|
9882
|
-
auto_redirect_to_sso?: boolean
|
|
9883
|
-
prevent_user_enumeration?: boolean
|
|
9884
10453
|
}
|
|
9885
|
-
|
|
9886
|
-
cognito_user_pool_client_id?: string
|
|
10454
|
+
enabled?: boolean
|
|
9887
10455
|
// ...
|
|
9888
10456
|
}
|
|
9889
10457
|
```
|
|
@@ -9892,6 +10460,43 @@ type UpsertPortalConfig = {
|
|
|
9892
10460
|
|
|
9893
10461
|
```ts
|
|
9894
10462
|
type PortalConfig = {
|
|
10463
|
+
mobile_config?: {
|
|
10464
|
+
portal_id?: string
|
|
10465
|
+
enabled?: boolean
|
|
10466
|
+
display_name?: string
|
|
10467
|
+
app_host?: string
|
|
10468
|
+
environment?: "prod" | "staging" | "dev"
|
|
10469
|
+
branding?: {
|
|
10470
|
+
app_icon?: { ... }
|
|
10471
|
+
splash?: { ... }
|
|
10472
|
+
splash_dark?: { ... }
|
|
10473
|
+
icon_background_color?: { ... }
|
|
10474
|
+
splash_background_color?: { ... }
|
|
10475
|
+
splash_background_color_dark?: { ... }
|
|
10476
|
+
}
|
|
10477
|
+
ios?: {
|
|
10478
|
+
bundle_id?: { ... }
|
|
10479
|
+
team_id?: { ... }
|
|
10480
|
+
credentials_status?: { ... }
|
|
10481
|
+
app_store_id?: { ... }
|
|
10482
|
+
store_url?: { ... }
|
|
10483
|
+
last_build?: { ... }
|
|
10484
|
+
}
|
|
10485
|
+
android?: {
|
|
10486
|
+
package_name?: { ... }
|
|
10487
|
+
credentials_status?: { ... }
|
|
10488
|
+
upload_key_status?: { ... }
|
|
10489
|
+
store_url?: { ... }
|
|
10490
|
+
last_build?: { ... }
|
|
10491
|
+
}
|
|
10492
|
+
ota?: {
|
|
10493
|
+
enabled?: { ... }
|
|
10494
|
+
channel?: { ... }
|
|
10495
|
+
auto_update?: { ... }
|
|
10496
|
+
update_strategy?: { ... }
|
|
10497
|
+
min_native_version?: { ... }
|
|
10498
|
+
}
|
|
10499
|
+
}
|
|
9895
10500
|
enabled?: boolean
|
|
9896
10501
|
name?: string
|
|
9897
10502
|
domain?: string
|
|
@@ -9954,43 +10559,6 @@ type PortalConfig = {
|
|
|
9954
10559
|
config?: string
|
|
9955
10560
|
contact_identifiers?: string[]
|
|
9956
10561
|
approval_state_attributes?: Record<string, string[]>
|
|
9957
|
-
email_templates?: {
|
|
9958
|
-
confirmAccount?: string // uuid
|
|
9959
|
-
advancedAuth?: string // uuid
|
|
9960
|
-
advancedMFA?: string // uuid
|
|
9961
|
-
journeySignUp?: string // uuid
|
|
9962
|
-
journeySignInOneTimePassword?: string // uuid
|
|
9963
|
-
journeyLoginOTP?: string // uuid
|
|
9964
|
-
forgotPassword?: string // uuid
|
|
9965
|
-
invitation?: string // uuid
|
|
9966
|
-
partnerInvitation?: string // uuid
|
|
9967
|
-
onNewQuote?: string // uuid
|
|
9968
|
-
onMapAPendingUser?: string // uuid
|
|
9969
|
-
onDocUpload?: string // uuid
|
|
9970
|
-
onWorkflowStepAssigned?: string // uuid
|
|
9971
|
-
confirmEmailUpdate?: string // uuid
|
|
9972
|
-
verifyCodeToSetPassword?: string // uuid
|
|
9973
|
-
}
|
|
9974
|
-
images?: {
|
|
9975
|
-
orderLeftTeaser?: string
|
|
9976
|
-
orderRightTeaser?: string
|
|
9977
|
-
welcomeBanner?: string
|
|
9978
|
-
}
|
|
9979
|
-
entity_identifiers?: {
|
|
9980
|
-
type?: {
|
|
9981
|
-
isEnabled?: { ... }
|
|
9982
|
-
attributes?: { ... }
|
|
9983
|
-
}
|
|
9984
|
-
}
|
|
9985
|
-
contract_identifiers?: Array<{
|
|
9986
|
-
name?: string
|
|
9987
|
-
schema?: string
|
|
9988
|
-
}>
|
|
9989
|
-
contract_selector_config?: {
|
|
9990
|
-
show_inactive?: boolean
|
|
9991
|
-
title_path?: string
|
|
9992
|
-
}
|
|
9993
|
-
registration_identifiers?: Array<{
|
|
9994
10562
|
// ...
|
|
9995
10563
|
}
|
|
9996
10564
|
```
|
|
@@ -10459,6 +11027,7 @@ type ContactCountRequest = {
|
|
|
10459
11027
|
type ContactExistsRequest = {
|
|
10460
11028
|
org_id: string
|
|
10461
11029
|
registration_identifiers: Record<string, Record<string, string>>
|
|
11030
|
+
trigger_identifiers_check?: boolean
|
|
10462
11031
|
}
|
|
10463
11032
|
```
|
|
10464
11033
|
|
|
@@ -12842,6 +13411,43 @@ type Page = {
|
|
|
12842
13411
|
|
|
12843
13412
|
```ts
|
|
12844
13413
|
type CommonConfigAttributesV3 = {
|
|
13414
|
+
mobile_config?: {
|
|
13415
|
+
portal_id?: string
|
|
13416
|
+
enabled?: boolean
|
|
13417
|
+
display_name?: string
|
|
13418
|
+
app_host?: string
|
|
13419
|
+
environment?: "prod" | "staging" | "dev"
|
|
13420
|
+
branding?: {
|
|
13421
|
+
app_icon?: { ... }
|
|
13422
|
+
splash?: { ... }
|
|
13423
|
+
splash_dark?: { ... }
|
|
13424
|
+
icon_background_color?: { ... }
|
|
13425
|
+
splash_background_color?: { ... }
|
|
13426
|
+
splash_background_color_dark?: { ... }
|
|
13427
|
+
}
|
|
13428
|
+
ios?: {
|
|
13429
|
+
bundle_id?: { ... }
|
|
13430
|
+
team_id?: { ... }
|
|
13431
|
+
credentials_status?: { ... }
|
|
13432
|
+
app_store_id?: { ... }
|
|
13433
|
+
store_url?: { ... }
|
|
13434
|
+
last_build?: { ... }
|
|
13435
|
+
}
|
|
13436
|
+
android?: {
|
|
13437
|
+
package_name?: { ... }
|
|
13438
|
+
credentials_status?: { ... }
|
|
13439
|
+
upload_key_status?: { ... }
|
|
13440
|
+
store_url?: { ... }
|
|
13441
|
+
last_build?: { ... }
|
|
13442
|
+
}
|
|
13443
|
+
ota?: {
|
|
13444
|
+
enabled?: { ... }
|
|
13445
|
+
channel?: { ... }
|
|
13446
|
+
auto_update?: { ... }
|
|
13447
|
+
update_strategy?: { ... }
|
|
13448
|
+
min_native_version?: { ... }
|
|
13449
|
+
}
|
|
13450
|
+
}
|
|
12845
13451
|
enabled?: boolean
|
|
12846
13452
|
name?: string
|
|
12847
13453
|
domain?: string
|
|
@@ -12904,43 +13510,6 @@ type CommonConfigAttributesV3 = {
|
|
|
12904
13510
|
config?: string
|
|
12905
13511
|
contact_identifiers?: string[]
|
|
12906
13512
|
approval_state_attributes?: Record<string, string[]>
|
|
12907
|
-
email_templates?: {
|
|
12908
|
-
confirmAccount?: string // uuid
|
|
12909
|
-
advancedAuth?: string // uuid
|
|
12910
|
-
advancedMFA?: string // uuid
|
|
12911
|
-
journeySignUp?: string // uuid
|
|
12912
|
-
journeySignInOneTimePassword?: string // uuid
|
|
12913
|
-
journeyLoginOTP?: string // uuid
|
|
12914
|
-
forgotPassword?: string // uuid
|
|
12915
|
-
invitation?: string // uuid
|
|
12916
|
-
partnerInvitation?: string // uuid
|
|
12917
|
-
onNewQuote?: string // uuid
|
|
12918
|
-
onMapAPendingUser?: string // uuid
|
|
12919
|
-
onDocUpload?: string // uuid
|
|
12920
|
-
onWorkflowStepAssigned?: string // uuid
|
|
12921
|
-
confirmEmailUpdate?: string // uuid
|
|
12922
|
-
verifyCodeToSetPassword?: string // uuid
|
|
12923
|
-
}
|
|
12924
|
-
images?: {
|
|
12925
|
-
orderLeftTeaser?: string
|
|
12926
|
-
orderRightTeaser?: string
|
|
12927
|
-
welcomeBanner?: string
|
|
12928
|
-
}
|
|
12929
|
-
entity_identifiers?: {
|
|
12930
|
-
type?: {
|
|
12931
|
-
isEnabled?: { ... }
|
|
12932
|
-
attributes?: { ... }
|
|
12933
|
-
}
|
|
12934
|
-
}
|
|
12935
|
-
contract_identifiers?: Array<{
|
|
12936
|
-
name?: string
|
|
12937
|
-
schema?: string
|
|
12938
|
-
}>
|
|
12939
|
-
contract_selector_config?: {
|
|
12940
|
-
show_inactive?: boolean
|
|
12941
|
-
title_path?: string
|
|
12942
|
-
}
|
|
12943
|
-
registration_identifiers?: Array<{
|
|
12944
13513
|
// ...
|
|
12945
13514
|
}
|
|
12946
13515
|
```
|
|
@@ -13018,44 +13587,44 @@ type UpsertPortalConfigV3 = {
|
|
|
13018
13587
|
}
|
|
13019
13588
|
expose_client_secret?: boolean
|
|
13020
13589
|
}>
|
|
13021
|
-
|
|
13022
|
-
|
|
13023
|
-
domain?: string
|
|
13024
|
-
is_epilot_domain?: boolean
|
|
13025
|
-
epilot_domain?: string
|
|
13026
|
-
domain_settings?: {
|
|
13027
|
-
is_custom_domain_enabled?: boolean
|
|
13028
|
-
is_epilot_domain_enabled?: boolean
|
|
13029
|
-
is_redirection_enabled?: boolean
|
|
13030
|
-
}
|
|
13031
|
-
design_id?: string // uuid
|
|
13032
|
-
allowed_portal_entities?: string[]
|
|
13033
|
-
self_registration_setting?: "ALLOW_WITH_CONTACT_CREATION" | "ALLOW_WITHOUT_CONTACT_CREATION" | "DENY" | "ALWAYS_CREATE_CONTACT" | "DISALLOW_COMPLETELY" | "BLOCK_IF_PORTAL_USER_EXISTS"
|
|
13034
|
-
self_registration_account_setting?: "ALLOW_WITH_CREATION" | "DENY" | "ALWAYS_CREATE" | "BLOCK_IF_PORTAL_USER_EXISTS" | "DISALLOW_COMPLETELY"
|
|
13035
|
-
block_registration_if_portal_user_exists?: boolean
|
|
13036
|
-
self_registration_entity?: "contact" | "account"
|
|
13037
|
-
user_account_self_management?: boolean
|
|
13038
|
-
feature_settings?: {
|
|
13039
|
-
start_page?: boolean
|
|
13040
|
-
billing?: boolean
|
|
13041
|
-
change_due_date?: boolean
|
|
13042
|
-
new_design?: boolean
|
|
13043
|
-
}
|
|
13044
|
-
accessToken?: string
|
|
13045
|
-
advanced_mfa?: {
|
|
13590
|
+
mobile_config?: {
|
|
13591
|
+
portal_id?: string
|
|
13046
13592
|
enabled?: boolean
|
|
13047
|
-
|
|
13048
|
-
|
|
13049
|
-
|
|
13593
|
+
display_name?: string
|
|
13594
|
+
app_host?: string
|
|
13595
|
+
environment?: "prod" | "staging" | "dev"
|
|
13596
|
+
branding?: {
|
|
13597
|
+
app_icon?: { ... }
|
|
13598
|
+
splash?: { ... }
|
|
13599
|
+
splash_dark?: { ... }
|
|
13600
|
+
icon_background_color?: { ... }
|
|
13601
|
+
splash_background_color?: { ... }
|
|
13602
|
+
splash_background_color_dark?: { ... }
|
|
13603
|
+
}
|
|
13604
|
+
ios?: {
|
|
13605
|
+
bundle_id?: { ... }
|
|
13606
|
+
team_id?: { ... }
|
|
13607
|
+
credentials_status?: { ... }
|
|
13608
|
+
app_store_id?: { ... }
|
|
13609
|
+
store_url?: { ... }
|
|
13610
|
+
last_build?: { ... }
|
|
13611
|
+
}
|
|
13612
|
+
android?: {
|
|
13613
|
+
package_name?: { ... }
|
|
13614
|
+
credentials_status?: { ... }
|
|
13615
|
+
upload_key_status?: { ... }
|
|
13616
|
+
store_url?: { ... }
|
|
13617
|
+
last_build?: { ... }
|
|
13618
|
+
}
|
|
13619
|
+
ota?: {
|
|
13050
13620
|
enabled?: { ... }
|
|
13621
|
+
channel?: { ... }
|
|
13622
|
+
auto_update?: { ... }
|
|
13623
|
+
update_strategy?: { ... }
|
|
13624
|
+
min_native_version?: { ... }
|
|
13051
13625
|
}
|
|
13052
|
-
entry_point?: "PASSWORD" | "SSO"
|
|
13053
|
-
preferred_sso_providers?: string[]
|
|
13054
|
-
auto_redirect_to_sso?: boolean
|
|
13055
|
-
prevent_user_enumeration?: boolean
|
|
13056
13626
|
}
|
|
13057
|
-
|
|
13058
|
-
cognito_user_pool_client_id?: string
|
|
13627
|
+
enabled?: boolean
|
|
13059
13628
|
// ...
|
|
13060
13629
|
}
|
|
13061
13630
|
```
|
|
@@ -13112,6 +13681,43 @@ type PortalConfigV3 = {
|
|
|
13112
13681
|
client_secret?: { ... }
|
|
13113
13682
|
}
|
|
13114
13683
|
}>
|
|
13684
|
+
mobile_config?: {
|
|
13685
|
+
portal_id?: string
|
|
13686
|
+
enabled?: boolean
|
|
13687
|
+
display_name?: string
|
|
13688
|
+
app_host?: string
|
|
13689
|
+
environment?: "prod" | "staging" | "dev"
|
|
13690
|
+
branding?: {
|
|
13691
|
+
app_icon?: { ... }
|
|
13692
|
+
splash?: { ... }
|
|
13693
|
+
splash_dark?: { ... }
|
|
13694
|
+
icon_background_color?: { ... }
|
|
13695
|
+
splash_background_color?: { ... }
|
|
13696
|
+
splash_background_color_dark?: { ... }
|
|
13697
|
+
}
|
|
13698
|
+
ios?: {
|
|
13699
|
+
bundle_id?: { ... }
|
|
13700
|
+
team_id?: { ... }
|
|
13701
|
+
credentials_status?: { ... }
|
|
13702
|
+
app_store_id?: { ... }
|
|
13703
|
+
store_url?: { ... }
|
|
13704
|
+
last_build?: { ... }
|
|
13705
|
+
}
|
|
13706
|
+
android?: {
|
|
13707
|
+
package_name?: { ... }
|
|
13708
|
+
credentials_status?: { ... }
|
|
13709
|
+
upload_key_status?: { ... }
|
|
13710
|
+
store_url?: { ... }
|
|
13711
|
+
last_build?: { ... }
|
|
13712
|
+
}
|
|
13713
|
+
ota?: {
|
|
13714
|
+
enabled?: { ... }
|
|
13715
|
+
channel?: { ... }
|
|
13716
|
+
auto_update?: { ... }
|
|
13717
|
+
update_strategy?: { ... }
|
|
13718
|
+
min_native_version?: { ... }
|
|
13719
|
+
}
|
|
13720
|
+
}
|
|
13115
13721
|
enabled?: boolean
|
|
13116
13722
|
name?: string
|
|
13117
13723
|
domain?: string
|
|
@@ -13126,43 +13732,6 @@ type PortalConfigV3 = {
|
|
|
13126
13732
|
allowed_portal_entities?: string[]
|
|
13127
13733
|
self_registration_setting?: "ALLOW_WITH_CONTACT_CREATION" | "ALLOW_WITHOUT_CONTACT_CREATION" | "DENY" | "ALWAYS_CREATE_CONTACT" | "DISALLOW_COMPLETELY" | "BLOCK_IF_PORTAL_USER_EXISTS"
|
|
13128
13734
|
self_registration_account_setting?: "ALLOW_WITH_CREATION" | "DENY" | "ALWAYS_CREATE" | "BLOCK_IF_PORTAL_USER_EXISTS" | "DISALLOW_COMPLETELY"
|
|
13129
|
-
block_registration_if_portal_user_exists?: boolean
|
|
13130
|
-
self_registration_entity?: "contact" | "account"
|
|
13131
|
-
user_account_self_management?: boolean
|
|
13132
|
-
feature_settings?: {
|
|
13133
|
-
start_page?: boolean
|
|
13134
|
-
billing?: boolean
|
|
13135
|
-
change_due_date?: boolean
|
|
13136
|
-
new_design?: boolean
|
|
13137
|
-
}
|
|
13138
|
-
accessToken?: string
|
|
13139
|
-
advanced_mfa?: {
|
|
13140
|
-
enabled?: boolean
|
|
13141
|
-
}
|
|
13142
|
-
auth_settings?: {
|
|
13143
|
-
passwordless_login?: {
|
|
13144
|
-
enabled?: { ... }
|
|
13145
|
-
}
|
|
13146
|
-
entry_point?: "PASSWORD" | "SSO"
|
|
13147
|
-
preferred_sso_providers?: string[]
|
|
13148
|
-
auto_redirect_to_sso?: boolean
|
|
13149
|
-
prevent_user_enumeration?: boolean
|
|
13150
|
-
}
|
|
13151
|
-
cognito_details?: {
|
|
13152
|
-
cognito_user_pool_client_id?: string
|
|
13153
|
-
cognito_user_pool_arn?: string
|
|
13154
|
-
cognito_user_pool_id?: string
|
|
13155
|
-
timeouts?: {
|
|
13156
|
-
refresh_token?: { ... }
|
|
13157
|
-
access_token?: { ... }
|
|
13158
|
-
id_token?: { ... }
|
|
13159
|
-
}
|
|
13160
|
-
advanced_authentication?: {
|
|
13161
|
-
user_activity_logging?: { ... }
|
|
13162
|
-
adaptive_authentication?: { ... }
|
|
13163
|
-
compromised_credentials_detection?: { ... }
|
|
13164
|
-
}
|
|
13165
|
-
password_policy?: {
|
|
13166
13735
|
// ...
|
|
13167
13736
|
}
|
|
13168
13737
|
```
|