@epilot/sdk 2.1.8 → 2.1.10
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 +261 -19
- package/definitions/journey.json +18 -1
- 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/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-management.cjs +6 -6
- package/dist/apis/data-management.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/erp-integration.cjs +6 -6
- package/dist/apis/erp-integration.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/journey.cjs +6 -6
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- 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/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.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.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-GHAEATNY.cjs → chunk-6TKKEGYU.cjs} +3 -3
- package/dist/{chunk-V3SZ5A6F.js → chunk-G33CBNJD.js} +3 -3
- package/dist/chunk-XT54462S.js +14 -0
- package/dist/chunk-YWDWPVIC.cjs +14 -0
- package/dist/customer-portal-AEFMNNYP.cjs +7 -0
- package/dist/customer-portal-Y3GLUVMW.js +7 -0
- package/dist/{customer-portal-runtime-MRVZ7JR4.js → customer-portal-runtime-374XJ6LB.js} +1 -1
- package/dist/{customer-portal-runtime-VGK7RMLC.cjs → customer-portal-runtime-3LTXCTKD.cjs} +2 -2
- package/dist/{customer-portal.d-uN6lOpvy.d.cts → customer-portal.d-BJNWYMt9.d.cts} +221 -16
- package/dist/{customer-portal.d-uN6lOpvy.d.ts → customer-portal.d-BJNWYMt9.d.ts} +221 -16
- 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/journey-KDR5EU3W.js +7 -0
- package/dist/journey-REBN4TGQ.cjs +7 -0
- package/dist/{journey.d-C4N4t1Rh.d.cts → journey.d-ClXO0xK8.d.cts} +20 -0
- package/dist/{journey.d-C4N4t1Rh.d.ts → journey.d-ClXO0xK8.d.ts} +20 -0
- package/docs/customer-portal.md +245 -16
- package/docs/journey.md +21 -2
- package/package.json +1 -1
- package/dist/chunk-5NKXJA43.js +0 -14
- package/dist/chunk-COQMJFAB.cjs +0 -14
- package/dist/customer-portal-5JVN4Y5Y.js +0 -7
- package/dist/customer-portal-T7KIY3AE.cjs +0 -7
- package/dist/journey-7CKX67M7.js +0 -7
- package/dist/journey-EUZ6MVHG.cjs +0 -7
package/docs/customer-portal.md
CHANGED
|
@@ -39,6 +39,9 @@ const { data } = await customerPortalClient.upsertPortal(...)
|
|
|
39
39
|
- [`getEmailTemplates`](#getemailtemplates)
|
|
40
40
|
- [`upsertEmailTemplatesByPortalId`](#upsertemailtemplatesbyportalid)
|
|
41
41
|
- [`getEmailTemplatesByPortalId`](#getemailtemplatesbyportalid)
|
|
42
|
+
- [`getPortalWidgetsV3`](#getportalwidgetsv3)
|
|
43
|
+
- [`upsertPortalWidgetV3`](#upsertportalwidgetv3)
|
|
44
|
+
- [`savePortalFilesV3`](#saveportalfilesv3)
|
|
42
45
|
- [`replaceECPTemplateVariables`](#replaceecptemplatevariables)
|
|
43
46
|
- [`extraPermissionAttributes`](#extrapermissionattributes)
|
|
44
47
|
- [`validateCaaRecords`](#validatecaarecords)
|
|
@@ -714,7 +717,10 @@ const { data } = await client.createUser(
|
|
|
714
717
|
|
|
715
718
|
### `createUserV3`
|
|
716
719
|
|
|
717
|
-
Registers a portal user
|
|
720
|
+
Registers a portal user.
|
|
721
|
+
Supports two identification methods:
|
|
722
|
+
1. Using portal_id
|
|
723
|
+
2. Using domain
|
|
718
724
|
|
|
719
725
|
`POST /v3/portal/public/user`
|
|
720
726
|
|
|
@@ -722,6 +728,7 @@ Registers a portal user with portal id
|
|
|
722
728
|
const { data } = await client.createUserV3(
|
|
723
729
|
{
|
|
724
730
|
portal_id: 'example',
|
|
731
|
+
domain: 'example',
|
|
725
732
|
},
|
|
726
733
|
{
|
|
727
734
|
email: 'testemail921@yopmail.com',
|
|
@@ -2939,6 +2946,201 @@ const { data } = await client.getEmailTemplatesByPortalId({
|
|
|
2939
2946
|
|
|
2940
2947
|
---
|
|
2941
2948
|
|
|
2949
|
+
### `getPortalWidgetsV3`
|
|
2950
|
+
|
|
2951
|
+
Retrieves the widgets of a portal by portal_id.
|
|
2952
|
+
|
|
2953
|
+
`GET /v3/portal/widgets`
|
|
2954
|
+
|
|
2955
|
+
```ts
|
|
2956
|
+
const { data } = await client.getPortalWidgetsV3({
|
|
2957
|
+
portal_id: 'example',
|
|
2958
|
+
contract_id: 'example',
|
|
2959
|
+
})
|
|
2960
|
+
```
|
|
2961
|
+
|
|
2962
|
+
<details>
|
|
2963
|
+
<summary>Response</summary>
|
|
2964
|
+
|
|
2965
|
+
```json
|
|
2966
|
+
{
|
|
2967
|
+
"widgets": [
|
|
2968
|
+
{
|
|
2969
|
+
"id": "string",
|
|
2970
|
+
"type": "ACTION_WIDGET",
|
|
2971
|
+
"listIndex": 0,
|
|
2972
|
+
"headline": {
|
|
2973
|
+
"en": "string",
|
|
2974
|
+
"de": "string"
|
|
2975
|
+
},
|
|
2976
|
+
"subHeadline": {
|
|
2977
|
+
"en": "string",
|
|
2978
|
+
"de": "string"
|
|
2979
|
+
},
|
|
2980
|
+
"schema": "string"
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"id": "string",
|
|
2984
|
+
"type": "ACTION_WIDGET",
|
|
2985
|
+
"listIndex": 0,
|
|
2986
|
+
"headline": {
|
|
2987
|
+
"en": "string",
|
|
2988
|
+
"de": "string"
|
|
2989
|
+
},
|
|
2990
|
+
"subHeadline": {
|
|
2991
|
+
"en": "string",
|
|
2992
|
+
"de": "string"
|
|
2993
|
+
},
|
|
2994
|
+
"content": "string"
|
|
2995
|
+
}
|
|
2996
|
+
]
|
|
2997
|
+
}
|
|
2998
|
+
```
|
|
2999
|
+
|
|
3000
|
+
</details>
|
|
3001
|
+
|
|
3002
|
+
---
|
|
3003
|
+
|
|
3004
|
+
### `upsertPortalWidgetV3`
|
|
3005
|
+
|
|
3006
|
+
Upsert widget for a portal by portal_id.
|
|
3007
|
+
|
|
3008
|
+
`POST /v3/portal/widgets`
|
|
3009
|
+
|
|
3010
|
+
```ts
|
|
3011
|
+
const { data } = await client.upsertPortalWidgetV3(
|
|
3012
|
+
{
|
|
3013
|
+
portal_id: 'example',
|
|
3014
|
+
},
|
|
3015
|
+
{
|
|
3016
|
+
widgets: [
|
|
3017
|
+
{
|
|
3018
|
+
id: 'string',
|
|
3019
|
+
type: 'ACTION_WIDGET',
|
|
3020
|
+
listIndex: 0,
|
|
3021
|
+
headline: {
|
|
3022
|
+
en: 'string',
|
|
3023
|
+
de: 'string'
|
|
3024
|
+
},
|
|
3025
|
+
subHeadline: {
|
|
3026
|
+
en: 'string',
|
|
3027
|
+
de: 'string'
|
|
3028
|
+
},
|
|
3029
|
+
schema: 'string'
|
|
3030
|
+
},
|
|
3031
|
+
{
|
|
3032
|
+
id: 'string',
|
|
3033
|
+
type: 'ACTION_WIDGET',
|
|
3034
|
+
listIndex: 0,
|
|
3035
|
+
headline: {
|
|
3036
|
+
en: 'string',
|
|
3037
|
+
de: 'string'
|
|
3038
|
+
},
|
|
3039
|
+
subHeadline: {
|
|
3040
|
+
en: 'string',
|
|
3041
|
+
de: 'string'
|
|
3042
|
+
},
|
|
3043
|
+
content: 'string'
|
|
3044
|
+
},
|
|
3045
|
+
/* ... 8 more */
|
|
3046
|
+
]
|
|
3047
|
+
},
|
|
3048
|
+
)
|
|
3049
|
+
```
|
|
3050
|
+
|
|
3051
|
+
<details>
|
|
3052
|
+
<summary>Response</summary>
|
|
3053
|
+
|
|
3054
|
+
```json
|
|
3055
|
+
{
|
|
3056
|
+
"widgets": [
|
|
3057
|
+
{
|
|
3058
|
+
"id": "string",
|
|
3059
|
+
"type": "ACTION_WIDGET",
|
|
3060
|
+
"listIndex": 0,
|
|
3061
|
+
"headline": {
|
|
3062
|
+
"en": "string",
|
|
3063
|
+
"de": "string"
|
|
3064
|
+
},
|
|
3065
|
+
"subHeadline": {
|
|
3066
|
+
"en": "string",
|
|
3067
|
+
"de": "string"
|
|
3068
|
+
},
|
|
3069
|
+
"schema": "string"
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
"id": "string",
|
|
3073
|
+
"type": "ACTION_WIDGET",
|
|
3074
|
+
"listIndex": 0,
|
|
3075
|
+
"headline": {
|
|
3076
|
+
"en": "string",
|
|
3077
|
+
"de": "string"
|
|
3078
|
+
},
|
|
3079
|
+
"subHeadline": {
|
|
3080
|
+
"en": "string",
|
|
3081
|
+
"de": "string"
|
|
3082
|
+
},
|
|
3083
|
+
"content": "string"
|
|
3084
|
+
}
|
|
3085
|
+
]
|
|
3086
|
+
}
|
|
3087
|
+
```
|
|
3088
|
+
|
|
3089
|
+
</details>
|
|
3090
|
+
|
|
3091
|
+
---
|
|
3092
|
+
|
|
3093
|
+
### `savePortalFilesV3`
|
|
3094
|
+
|
|
3095
|
+
Add files to portal by portal_id
|
|
3096
|
+
|
|
3097
|
+
`POST /v3/portal/portal/files`
|
|
3098
|
+
|
|
3099
|
+
```ts
|
|
3100
|
+
const { data } = await client.savePortalFilesV3(
|
|
3101
|
+
{
|
|
3102
|
+
portal_id: 'example',
|
|
3103
|
+
},
|
|
3104
|
+
{
|
|
3105
|
+
origin: 'string',
|
|
3106
|
+
files: [
|
|
3107
|
+
{
|
|
3108
|
+
filename: 12345,
|
|
3109
|
+
file_type: 'orderRightTeaser',
|
|
3110
|
+
_tags: 12345,
|
|
3111
|
+
s3ref: {
|
|
3112
|
+
bucket: 12345,
|
|
3113
|
+
key: 12345
|
|
3114
|
+
}
|
|
3115
|
+
}
|
|
3116
|
+
]
|
|
3117
|
+
},
|
|
3118
|
+
)
|
|
3119
|
+
```
|
|
3120
|
+
|
|
3121
|
+
<details>
|
|
3122
|
+
<summary>Response</summary>
|
|
3123
|
+
|
|
3124
|
+
```json
|
|
3125
|
+
{
|
|
3126
|
+
"createdFiles": [
|
|
3127
|
+
{
|
|
3128
|
+
"_id": "5da0a718-c822-403d-9f5d-20d4584e0528",
|
|
3129
|
+
"_title": "Example Entity",
|
|
3130
|
+
"_org": "123",
|
|
3131
|
+
"_tags": ["example", "mock"],
|
|
3132
|
+
"_created_at": "2021-02-09T12:41:43.662Z",
|
|
3133
|
+
"_updated_at": "2021-02-09T12:41:43.662Z",
|
|
3134
|
+
"_schema": "file"
|
|
3135
|
+
}
|
|
3136
|
+
]
|
|
3137
|
+
}
|
|
3138
|
+
```
|
|
3139
|
+
|
|
3140
|
+
</details>
|
|
3141
|
+
|
|
3142
|
+
---
|
|
3143
|
+
|
|
2942
3144
|
### `replaceECPTemplateVariables`
|
|
2943
3145
|
|
|
2944
3146
|
Replaces the template variables of a portal
|
|
@@ -3398,6 +3600,9 @@ const { data } = await client.checkContactExists(
|
|
|
3398
3600
|
### `checkContactExistsV3`
|
|
3399
3601
|
|
|
3400
3602
|
True if contact with given identifiers exists.
|
|
3603
|
+
Supports two identification methods:
|
|
3604
|
+
1. Using portal_id
|
|
3605
|
+
2. Using domain
|
|
3401
3606
|
|
|
3402
3607
|
`POST /v3/portal/public/contact/exists`
|
|
3403
3608
|
|
|
@@ -3405,6 +3610,7 @@ True if contact with given identifiers exists.
|
|
|
3405
3610
|
const { data } = await client.checkContactExistsV3(
|
|
3406
3611
|
{
|
|
3407
3612
|
portal_id: 'example',
|
|
3613
|
+
domain: 'example',
|
|
3408
3614
|
},
|
|
3409
3615
|
{
|
|
3410
3616
|
org_id: 728,
|
|
@@ -3713,7 +3919,10 @@ const { data } = await client.userExists({
|
|
|
3713
3919
|
|
|
3714
3920
|
### `userExistsV3`
|
|
3715
3921
|
|
|
3716
|
-
Checks whether a user exists in the portal
|
|
3922
|
+
Checks whether a user exists in the portal.
|
|
3923
|
+
Supports two identification methods:
|
|
3924
|
+
1. Using org_id + portal_id
|
|
3925
|
+
2. Using domain
|
|
3717
3926
|
|
|
3718
3927
|
`GET /v3/portal/public/user/exists`
|
|
3719
3928
|
|
|
@@ -3722,6 +3931,7 @@ const { data } = await client.userExistsV3({
|
|
|
3722
3931
|
email: 'example',
|
|
3723
3932
|
org_id: 'example',
|
|
3724
3933
|
portal_id: 'example',
|
|
3934
|
+
domain: 'example',
|
|
3725
3935
|
})
|
|
3726
3936
|
```
|
|
3727
3937
|
|
|
@@ -4483,7 +4693,8 @@ const { data } = await client.loginToPortalAsUser(
|
|
|
4483
4693
|
{
|
|
4484
4694
|
email: 'portal-customer@email.com',
|
|
4485
4695
|
origin: 'string',
|
|
4486
|
-
portal_id: 'string'
|
|
4696
|
+
portal_id: 'string',
|
|
4697
|
+
domain: 'string'
|
|
4487
4698
|
},
|
|
4488
4699
|
)
|
|
4489
4700
|
```
|
|
@@ -4530,7 +4741,10 @@ const { data } = await client.triggerEntityAccessEvent({
|
|
|
4530
4741
|
|
|
4531
4742
|
### `triggerEntityAccessEventV3`
|
|
4532
4743
|
|
|
4533
|
-
Trigger entity access event for a portal user
|
|
4744
|
+
Trigger entity access event for a portal user.
|
|
4745
|
+
Supports two identification methods:
|
|
4746
|
+
1. Using portal_id
|
|
4747
|
+
2. Using domain
|
|
4534
4748
|
|
|
4535
4749
|
`POST /v3/portal/entity/{schema}/access`
|
|
4536
4750
|
|
|
@@ -4539,6 +4753,7 @@ const { data } = await client.triggerEntityAccessEventV3({
|
|
|
4539
4753
|
schema: 'example',
|
|
4540
4754
|
entity_id: 'example',
|
|
4541
4755
|
portal_id: 'example',
|
|
4756
|
+
domain: 'example',
|
|
4542
4757
|
})
|
|
4543
4758
|
```
|
|
4544
4759
|
|
|
@@ -5078,6 +5293,7 @@ const { data } = await client.ssoLoginV3(
|
|
|
5078
5293
|
{
|
|
5079
5294
|
portal_id: 'example',
|
|
5080
5295
|
org_id: 'example',
|
|
5296
|
+
domain: 'example',
|
|
5081
5297
|
contact_id: 'example',
|
|
5082
5298
|
},
|
|
5083
5299
|
{
|
|
@@ -5200,7 +5416,8 @@ const { data } = await client.getPortalPage({
|
|
|
5200
5416
|
"is_entry_route": false,
|
|
5201
5417
|
"is_deleted": false,
|
|
5202
5418
|
"id": "c495fef9-eeca-4019-a989-8390dcd9825b",
|
|
5203
|
-
"last_modified_at": "2021-02-09T12:41:43.662Z"
|
|
5419
|
+
"last_modified_at": "2021-02-09T12:41:43.662Z",
|
|
5420
|
+
"portal_id": "453ad7bf-86d5-46c8-8252-bcc868df5e3c"
|
|
5204
5421
|
}
|
|
5205
5422
|
```
|
|
5206
5423
|
|
|
@@ -5280,7 +5497,8 @@ const { data } = await client.updatePortalPage(
|
|
|
5280
5497
|
"is_entry_route": false,
|
|
5281
5498
|
"is_deleted": false,
|
|
5282
5499
|
"id": "c495fef9-eeca-4019-a989-8390dcd9825b",
|
|
5283
|
-
"last_modified_at": "2021-02-09T12:41:43.662Z"
|
|
5500
|
+
"last_modified_at": "2021-02-09T12:41:43.662Z",
|
|
5501
|
+
"portal_id": "453ad7bf-86d5-46c8-8252-bcc868df5e3c"
|
|
5284
5502
|
}
|
|
5285
5503
|
```
|
|
5286
5504
|
|
|
@@ -5350,7 +5568,8 @@ const { data } = await client.getPortalPages({
|
|
|
5350
5568
|
"is_entry_route": false,
|
|
5351
5569
|
"is_deleted": false,
|
|
5352
5570
|
"id": "c495fef9-eeca-4019-a989-8390dcd9825b",
|
|
5353
|
-
"last_modified_at": "2021-02-09T12:41:43.662Z"
|
|
5571
|
+
"last_modified_at": "2021-02-09T12:41:43.662Z",
|
|
5572
|
+
"portal_id": "453ad7bf-86d5-46c8-8252-bcc868df5e3c"
|
|
5354
5573
|
}
|
|
5355
5574
|
]
|
|
5356
5575
|
```
|
|
@@ -5431,7 +5650,8 @@ const { data } = await client.createPortalPage(
|
|
|
5431
5650
|
"is_entry_route": false,
|
|
5432
5651
|
"is_deleted": false,
|
|
5433
5652
|
"id": "c495fef9-eeca-4019-a989-8390dcd9825b",
|
|
5434
|
-
"last_modified_at": "2021-02-09T12:41:43.662Z"
|
|
5653
|
+
"last_modified_at": "2021-02-09T12:41:43.662Z",
|
|
5654
|
+
"portal_id": "453ad7bf-86d5-46c8-8252-bcc868df5e3c"
|
|
5435
5655
|
}
|
|
5436
5656
|
```
|
|
5437
5657
|
|
|
@@ -5485,7 +5705,8 @@ const { data } = await client.getPublicPages({
|
|
|
5485
5705
|
"is_entry_route": false,
|
|
5486
5706
|
"is_deleted": false,
|
|
5487
5707
|
"id": "c495fef9-eeca-4019-a989-8390dcd9825b",
|
|
5488
|
-
"last_modified_at": "2021-02-09T12:41:43.662Z"
|
|
5708
|
+
"last_modified_at": "2021-02-09T12:41:43.662Z",
|
|
5709
|
+
"portal_id": "453ad7bf-86d5-46c8-8252-bcc868df5e3c"
|
|
5489
5710
|
}
|
|
5490
5711
|
]
|
|
5491
5712
|
```
|
|
@@ -5532,7 +5753,8 @@ const { data } = await client.interpolatePortalPages(
|
|
|
5532
5753
|
is_entry_route: false,
|
|
5533
5754
|
is_deleted: false,
|
|
5534
5755
|
id: 'c495fef9-eeca-4019-a989-8390dcd9825b',
|
|
5535
|
-
last_modified_at: '2021-02-09T12:41:43.662Z'
|
|
5756
|
+
last_modified_at: '2021-02-09T12:41:43.662Z',
|
|
5757
|
+
portal_id: '453ad7bf-86d5-46c8-8252-bcc868df5e3c'
|
|
5536
5758
|
}
|
|
5537
5759
|
],
|
|
5538
5760
|
context_entities: [
|
|
@@ -5578,7 +5800,8 @@ const { data } = await client.interpolatePortalPages(
|
|
|
5578
5800
|
"is_entry_route": false,
|
|
5579
5801
|
"is_deleted": false,
|
|
5580
5802
|
"id": "c495fef9-eeca-4019-a989-8390dcd9825b",
|
|
5581
|
-
"last_modified_at": "2021-02-09T12:41:43.662Z"
|
|
5803
|
+
"last_modified_at": "2021-02-09T12:41:43.662Z",
|
|
5804
|
+
"portal_id": "453ad7bf-86d5-46c8-8252-bcc868df5e3c"
|
|
5582
5805
|
}
|
|
5583
5806
|
]
|
|
5584
5807
|
```
|
|
@@ -5629,7 +5852,8 @@ const { data } = await client.getDefaultPages()
|
|
|
5629
5852
|
"is_entry_route": false,
|
|
5630
5853
|
"is_deleted": false,
|
|
5631
5854
|
"id": "c495fef9-eeca-4019-a989-8390dcd9825b",
|
|
5632
|
-
"last_modified_at": "2021-02-09T12:41:43.662Z"
|
|
5855
|
+
"last_modified_at": "2021-02-09T12:41:43.662Z",
|
|
5856
|
+
"portal_id": "453ad7bf-86d5-46c8-8252-bcc868df5e3c"
|
|
5633
5857
|
}
|
|
5634
5858
|
]
|
|
5635
5859
|
```
|
|
@@ -6442,7 +6666,8 @@ const { data } = await client.createPortalConfig(
|
|
|
6442
6666
|
"is_entry_route": false,
|
|
6443
6667
|
"is_deleted": false,
|
|
6444
6668
|
"id": "c495fef9-eeca-4019-a989-8390dcd9825b",
|
|
6445
|
-
"last_modified_at": "2021-02-09T12:41:43.662Z"
|
|
6669
|
+
"last_modified_at": "2021-02-09T12:41:43.662Z",
|
|
6670
|
+
"portal_id": "453ad7bf-86d5-46c8-8252-bcc868df5e3c"
|
|
6446
6671
|
}
|
|
6447
6672
|
]
|
|
6448
6673
|
}
|
|
@@ -6680,7 +6905,8 @@ const { data } = await client.getPortalConfigV3({
|
|
|
6680
6905
|
"is_entry_route": false,
|
|
6681
6906
|
"is_deleted": false,
|
|
6682
6907
|
"id": "c495fef9-eeca-4019-a989-8390dcd9825b",
|
|
6683
|
-
"last_modified_at": "2021-02-09T12:41:43.662Z"
|
|
6908
|
+
"last_modified_at": "2021-02-09T12:41:43.662Z",
|
|
6909
|
+
"portal_id": "453ad7bf-86d5-46c8-8252-bcc868df5e3c"
|
|
6684
6910
|
}
|
|
6685
6911
|
]
|
|
6686
6912
|
}
|
|
@@ -6914,7 +7140,8 @@ const { data } = await client.putPortalConfig(
|
|
|
6914
7140
|
is_entry_route: false,
|
|
6915
7141
|
is_deleted: false,
|
|
6916
7142
|
id: 'c495fef9-eeca-4019-a989-8390dcd9825b',
|
|
6917
|
-
last_modified_at: '2021-02-09T12:41:43.662Z'
|
|
7143
|
+
last_modified_at: '2021-02-09T12:41:43.662Z',
|
|
7144
|
+
portal_id: '453ad7bf-86d5-46c8-8252-bcc868df5e3c'
|
|
6918
7145
|
}
|
|
6919
7146
|
]
|
|
6920
7147
|
},
|
|
@@ -7137,7 +7364,8 @@ const { data } = await client.putPortalConfig(
|
|
|
7137
7364
|
"is_entry_route": false,
|
|
7138
7365
|
"is_deleted": false,
|
|
7139
7366
|
"id": "c495fef9-eeca-4019-a989-8390dcd9825b",
|
|
7140
|
-
"last_modified_at": "2021-02-09T12:41:43.662Z"
|
|
7367
|
+
"last_modified_at": "2021-02-09T12:41:43.662Z",
|
|
7368
|
+
"portal_id": "453ad7bf-86d5-46c8-8252-bcc868df5e3c"
|
|
7141
7369
|
}
|
|
7142
7370
|
]
|
|
7143
7371
|
}
|
|
@@ -10258,6 +10486,7 @@ type Page = {
|
|
|
10258
10486
|
is_deleted?: boolean
|
|
10259
10487
|
id?: string // uuid
|
|
10260
10488
|
last_modified_at?: string // date-time
|
|
10489
|
+
portal_id?: string
|
|
10261
10490
|
}
|
|
10262
10491
|
```
|
|
10263
10492
|
|
package/docs/journey.md
CHANGED
|
@@ -161,6 +161,7 @@ const { data } = await client.getJourney({
|
|
|
161
161
|
}
|
|
162
162
|
],
|
|
163
163
|
"journey_type": "Sales template (Premium)",
|
|
164
|
+
"protected": true,
|
|
164
165
|
"settings": {
|
|
165
166
|
"embedOptions": {
|
|
166
167
|
"mode": "full-screen",
|
|
@@ -209,6 +210,7 @@ const { data } = await client.getJourney({
|
|
|
209
210
|
"field2": "rule789"
|
|
210
211
|
}
|
|
211
212
|
},
|
|
213
|
+
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
212
214
|
"createdBy": "string",
|
|
213
215
|
"updatedBy": "string",
|
|
214
216
|
"__lastModifiedAt": "string",
|
|
@@ -352,6 +354,7 @@ const { data } = await client.createJourney(
|
|
|
352
354
|
}
|
|
353
355
|
],
|
|
354
356
|
journey_type: 'Sales template (Premium)',
|
|
357
|
+
protected: true,
|
|
355
358
|
settings: {
|
|
356
359
|
embedOptions: {
|
|
357
360
|
mode: 'full-screen',
|
|
@@ -400,6 +403,7 @@ const { data } = await client.createJourney(
|
|
|
400
403
|
field2: 'rule789'
|
|
401
404
|
}
|
|
402
405
|
},
|
|
406
|
+
_manifest: ['123e4567-e89b-12d3-a456-426614174000'],
|
|
403
407
|
createdBy: 'string',
|
|
404
408
|
updatedBy: 'string',
|
|
405
409
|
__lastModifiedAt: 'string'
|
|
@@ -463,6 +467,7 @@ const { data } = await client.createJourney(
|
|
|
463
467
|
}
|
|
464
468
|
],
|
|
465
469
|
"journey_type": "Sales template (Premium)",
|
|
470
|
+
"protected": true,
|
|
466
471
|
"settings": {
|
|
467
472
|
"embedOptions": {
|
|
468
473
|
"mode": "full-screen",
|
|
@@ -511,6 +516,7 @@ const { data } = await client.createJourney(
|
|
|
511
516
|
"field2": "rule789"
|
|
512
517
|
}
|
|
513
518
|
},
|
|
519
|
+
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
514
520
|
"createdBy": "string",
|
|
515
521
|
"updatedBy": "string",
|
|
516
522
|
"__lastModifiedAt": "string",
|
|
@@ -588,6 +594,7 @@ const { data } = await client.updateJourney(
|
|
|
588
594
|
}
|
|
589
595
|
],
|
|
590
596
|
journey_type: 'Sales template (Premium)',
|
|
597
|
+
protected: true,
|
|
591
598
|
settings: {
|
|
592
599
|
embedOptions: {
|
|
593
600
|
mode: 'full-screen',
|
|
@@ -636,6 +643,7 @@ const { data } = await client.updateJourney(
|
|
|
636
643
|
field2: 'rule789'
|
|
637
644
|
}
|
|
638
645
|
},
|
|
646
|
+
_manifest: ['123e4567-e89b-12d3-a456-426614174000'],
|
|
639
647
|
createdBy: 'string',
|
|
640
648
|
updatedBy: 'string',
|
|
641
649
|
__lastModifiedAt: 'string'
|
|
@@ -690,6 +698,7 @@ const { data } = await client.patchUpdateJourney(
|
|
|
690
698
|
{}
|
|
691
699
|
],
|
|
692
700
|
"journey_type": "Sales template (Premium)",
|
|
701
|
+
"protected": true,
|
|
693
702
|
"settings": {
|
|
694
703
|
"embedOptions": {},
|
|
695
704
|
"safeModeAutomation": true,
|
|
@@ -725,6 +734,7 @@ const { data } = await client.patchUpdateJourney(
|
|
|
725
734
|
"block1": "rule123",
|
|
726
735
|
"block2": {}
|
|
727
736
|
},
|
|
737
|
+
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
728
738
|
"createdBy": "string",
|
|
729
739
|
"updatedBy": "string",
|
|
730
740
|
"__lastModifiedAt": "string",
|
|
@@ -928,6 +938,7 @@ const { data } = await client.createJourneyV2(
|
|
|
928
938
|
}
|
|
929
939
|
],
|
|
930
940
|
journey_type: 'Sales template (Premium)',
|
|
941
|
+
protected: true,
|
|
931
942
|
settings: {
|
|
932
943
|
embedOptions: {
|
|
933
944
|
mode: 'full-screen',
|
|
@@ -1029,6 +1040,7 @@ const { data } = await client.createJourneyV2(
|
|
|
1029
1040
|
}
|
|
1030
1041
|
],
|
|
1031
1042
|
"journey_type": "Sales template (Premium)",
|
|
1043
|
+
"protected": true,
|
|
1032
1044
|
"settings": {
|
|
1033
1045
|
"embedOptions": {
|
|
1034
1046
|
"mode": "full-screen",
|
|
@@ -1138,6 +1150,7 @@ const { data } = await client.updateJourneyV2(
|
|
|
1138
1150
|
}
|
|
1139
1151
|
],
|
|
1140
1152
|
journey_type: 'Sales template (Premium)',
|
|
1153
|
+
protected: true,
|
|
1141
1154
|
settings: {
|
|
1142
1155
|
embedOptions: {
|
|
1143
1156
|
mode: 'full-screen',
|
|
@@ -1239,6 +1252,7 @@ const { data } = await client.updateJourneyV2(
|
|
|
1239
1252
|
}
|
|
1240
1253
|
],
|
|
1241
1254
|
"journey_type": "Sales template (Premium)",
|
|
1255
|
+
"protected": true,
|
|
1242
1256
|
"settings": {
|
|
1243
1257
|
"embedOptions": {
|
|
1244
1258
|
"mode": "full-screen",
|
|
@@ -1359,6 +1373,7 @@ const { data } = await client.patchUpdateJourneyV2(
|
|
|
1359
1373
|
}
|
|
1360
1374
|
],
|
|
1361
1375
|
"journey_type": "Sales template (Premium)",
|
|
1376
|
+
"protected": true,
|
|
1362
1377
|
"settings": {
|
|
1363
1378
|
"embedOptions": {
|
|
1364
1379
|
"mode": "full-screen",
|
|
@@ -1475,6 +1490,7 @@ const { data } = await client.getJourneyV2({
|
|
|
1475
1490
|
}
|
|
1476
1491
|
],
|
|
1477
1492
|
"journey_type": "Sales template (Premium)",
|
|
1493
|
+
"protected": true,
|
|
1478
1494
|
"settings": {
|
|
1479
1495
|
"embedOptions": {
|
|
1480
1496
|
"mode": "full-screen",
|
|
@@ -1656,6 +1672,7 @@ type JourneyResponse = {
|
|
|
1656
1672
|
shouldLoadEntity?: { ... }
|
|
1657
1673
|
}>
|
|
1658
1674
|
journey_type?: string
|
|
1675
|
+
protected?: boolean
|
|
1659
1676
|
settings?: {
|
|
1660
1677
|
embedOptions?: { ... }
|
|
1661
1678
|
safeModeAutomation?: { ... }
|
|
@@ -1688,6 +1705,7 @@ type JourneyResponse = {
|
|
|
1688
1705
|
thirdPartyCookies?: { ... }
|
|
1689
1706
|
}
|
|
1690
1707
|
validationRules?: Record<string, string | Record<string, string>>
|
|
1708
|
+
_manifest?: string // uuid[]
|
|
1691
1709
|
createdBy?: string
|
|
1692
1710
|
updatedBy?: string
|
|
1693
1711
|
__lastModifiedAt?: string
|
|
@@ -1793,6 +1811,7 @@ type JourneyCreationRequest = {
|
|
|
1793
1811
|
shouldLoadEntity?: boolean
|
|
1794
1812
|
}>
|
|
1795
1813
|
journey_type?: string
|
|
1814
|
+
protected?: boolean
|
|
1796
1815
|
settings?: {
|
|
1797
1816
|
embedOptions?: {
|
|
1798
1817
|
mode?: { ... }
|
|
@@ -1835,7 +1854,6 @@ type JourneyCreationRequest = {
|
|
|
1835
1854
|
thirdPartyCookies?: boolean
|
|
1836
1855
|
}
|
|
1837
1856
|
validationRules?: Record<string, string | Record<string, string>>
|
|
1838
|
-
createdBy?: string
|
|
1839
1857
|
// ...
|
|
1840
1858
|
}
|
|
1841
1859
|
```
|
|
@@ -1899,6 +1917,7 @@ type JourneyCreationRequestV2 = {
|
|
|
1899
1917
|
shouldLoadEntity?: boolean
|
|
1900
1918
|
}>
|
|
1901
1919
|
journey_type?: string
|
|
1920
|
+
protected?: boolean
|
|
1902
1921
|
settings?: {
|
|
1903
1922
|
embedOptions?: {
|
|
1904
1923
|
mode?: { ... }
|
|
@@ -2032,6 +2051,7 @@ type Journey = {
|
|
|
2032
2051
|
shouldLoadEntity?: boolean
|
|
2033
2052
|
}>
|
|
2034
2053
|
journey_type?: string
|
|
2054
|
+
protected?: boolean
|
|
2035
2055
|
settings?: {
|
|
2036
2056
|
embedOptions?: {
|
|
2037
2057
|
mode?: { ... }
|
|
@@ -2074,7 +2094,6 @@ type Journey = {
|
|
|
2074
2094
|
thirdPartyCookies?: boolean
|
|
2075
2095
|
}
|
|
2076
2096
|
validationRules?: Record<string, string | Record<string, string>>
|
|
2077
|
-
createdBy?: string
|
|
2078
2097
|
// ...
|
|
2079
2098
|
}
|
|
2080
2099
|
```
|
package/package.json
CHANGED
package/dist/chunk-5NKXJA43.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__commonJS
|
|
3
|
-
} from "./chunk-YPSWSI3M.js";
|
|
4
|
-
|
|
5
|
-
// src/definitions/customer-portal-runtime.json
|
|
6
|
-
var require_customer_portal_runtime = __commonJS({
|
|
7
|
-
"src/definitions/customer-portal-runtime.json"(exports, module) {
|
|
8
|
-
module.exports = { s: "https://customer-portal-api.sls.epilot.io", o: [["upsertPortal", "post", "/v2/portal/portal", [["origin", "q", true], ["portal_id", "q"]], 1], ["createUser", "post", "/v2/portal/public/user", [["origin", "q", true]], 1], ["createUserV3", "post", "/v3/portal/public/user", [["portal_id", "q", true]], 1], ["validateToken", "post", "/v2/portal/token/validate"], ["revokeToken", "post", "/v2/portal/token/revoke", null, 1], ["getPortalConfigByDomain", "get", "/v2/portal/public/config", [["domain", "q", true]]], ["getPortalConfig", "get", "/v2/portal/config", [["origin", "q"]]], ["deletePortal", "delete", "/v2/portal/config", [["origin", "q", true]]], ["getPortalExtensions", "get", "/v2/portal/extensions", [["origin", "q"]]], ["getPublicPortalExtensionDetails", "get", "/v2/portal/public/extensions", [["org_id", "q", true], ["origin", "q", true]]], ["getPortalExtensionsV3", "get", "/v3/portal/extensions", [["portal_id", "q", true]]], ["getPublicPortalExtensionDetailsV3", "get", "/v3/portal/public/extensions", [["org_id", "q"], ["portal_id", "q"], ["domain", "q"]]], ["getConsumption", "get", "/v2/portal/consumption", [["app_id", "q"], ["extensionId", "q", true], ["hookId", "q", true], ["meter_id", "q"], ["from", "q", true], ["to", "q", true], ["interval", "q", true], ["context_entities", "q"]]], ["getCosts", "get", "/v2/portal/costs", [["app_id", "q"], ["extensionId", "q", true], ["hookId", "q", true], ["meter_id", "q"], ["from", "q", true], ["to", "q", true], ["interval", "q", true], ["context_entities", "q"]]], ["getPrices", "get", "/v2/portal/prices", [["app_id", "q"], ["extensionId", "q", true], ["hookId", "q", true], ["meter_id", "q"], ["from", "q", true], ["to", "q", true], ["interval", "q", true], ["context_entities", "q"]]], ["getExternalLinks", "get", "/v2/portal/external-links", [["origin", "q"], ["contactId", "q"]]], ["getResolvedExternalLink", "get", "/v2/portal/resolve:external-link/{id}", [["id", "p", true], ["origin", "q"], ["contactId", "q"]]], ["getExternalLinksV3", "get", "/v3/portal/external-links", [["portal_id", "q"], ["contactId", "q"]]], ["getResolvedExternalLinkV3", "get", "/v3/portal/resolve:external-link/{id}", [["id", "p", true], ["portal_id", "q"], ["contactId", "q"]]], ["getResolvedSeamlessLink", "get", "/v2/portal/resolve:seamless-link", [["app_id", "q"], ["extension_id", "q", true], ["link_id", "q", true], ["context_entities", "q"]]], ["getPublicPortalConfig", "get", "/v2/portal/public/portal/config", [["org_id", "q", true], ["origin", "q", true]]], ["getOrgPortalConfig", "get", "/v2/portal/org/portal/config", [["origin", "q", true]]], ["getPublicPortalConfigV3", "get", "/v3/portal/public/portal/config", [["org_id", "q", true], ["portal_id", "q", true]]], ["getOrgPortalConfigV3", "get", "/v3/portal/org/portal/config", [["portal_id", "q", true]]], ["getAllPortalConfigs", "get", "/v2/portal/configs"], ["upsertEmailTemplates", "post", "/v2/portal/email-templates", [["origin", "q", true]], 1], ["getEmailTemplates", "get", "/v2/portal/email-templates", [["origin", "q", true]]], ["upsertEmailTemplatesByPortalId", "post", "/v3/portal/email-templates/{portal_id}", [["portal_id", "p", true]], 1], ["getEmailTemplatesByPortalId", "get", "/v3/portal/email-templates/{portal_id}", [["portal_id", "p", true]]], ["getPublicPortalWidgets", "get", "/v2/portal/public-widgets", [["org_id", "q", true], ["origin", "q", true]]], ["upsertPortalWidget", "post", "/v2/portal/widgets", [["origin", "q", true]], 1], ["getPortalWidgets", "get", "/v2/portal/widgets", [["origin", "q"], ["contract_id", "q"]]], ["replaceECPTemplateVariables", "post", "/v2/portal/replace-ecp-template-variables", null, 1], ["getOrganizationSettings", "get", "/v2/portal/org/settings"], ["getSchemas", "get", "/v2/portal/schemas"], ["getSchemasByDomain", "get", "/v2/portal/public/schemas", [["domain", "q", true]]], ["getOrganizationSettingsByDomain", "get", "/v2/portal/public/org/settings", [["domain", "q", true]]], ["extraPermissionAttributes", "get", "/v2/portal/extra-permission-attributes"], ["validateCaaRecords", "post", "/v2/portal/validate/caa-records", [["origin", "q", true]]], ["validateCaaRecordsV3", "post", "/v3/portal/validate/caa-records", [["portal_id", "q", true]]], ["getContact", "get", "/v2/portal/contact"], ["updateContact", "patch", "/v2/portal/contact", null, 1], ["getECPContact", "get", "/v2/portal/ecp/contact", [["id", "q", true]]], ["checkContactExists", "post", "/v2/portal/public/contact/exists", [["origin", "q", true]], 1], ["checkContactExistsV3", "post", "/v3/portal/public/contact/exists", [["portal_id", "q", true]], 1], ["getValidSecondaryAttributes", "get", "/v2/portal/contact/valid/secondary/attributes"], ["getPortalUser", "get", "/v2/portal/user"], ["updatePortalUser", "patch", "/v2/portal/user", null, 1], ["deletePortalUser", "delete", "/v2/portal/user"], ["updatePortalUserEmail", "put", "/v2/portal/user/update/email", null, 1], ["resendConfirmationEmail", "post", "/v2/portal/user/resend/confirmation-email/{id}", [["id", "p", true]]], ["fetchPortalUsersByRelatedEntity", "get", "/v2/portal/users/by-related-entity", [["entity_id", "q", true], ["slug", "q", true]]], ["confirmUser", "get", "/v2/portal/user/confirm", [["confirmation_link_token", "q", true], ["use_redirect", "q"]]], ["confirmUserWithUserId", "get", "/v2/portal/user/confirm/{id}", [["origin", "q", true], ["id", "p", true], ["org_id", "q", true]]], ["userExists", "get", "/v2/portal/public/user/exists", [["email", "q", true], ["org_id", "q", true], ["origin", "q"]]], ["userExistsV3", "get", "/v3/portal/public/user/exists", [["email", "q", true], ["org_id", "q", true], ["portal_id", "q"]]], ["getRecipientsToNotifyOnAutomation", "post", "/v2/portal/recipients-to-notify", null, 1], ["configureDistribution", "get", "/v2/portal/configure-distribution", [["origin", "q", true]]], ["configureDistributionV3", "get", "/v3/portal/configure-distribution", [["portal_id", "q", true]]], ["getAllOrders", "get", "/v2/portal/order", [["from", "q"], ["size", "q"]]], ["postOrderAcceptance", "post", "/v2/portal/order/{id}/acceptance", [["id", "p", true]], 1], ["getOrder", "get", "/v2/portal/order/{id}", [["id", "p", true]]], ["updateOrder", "patch", "/v2/portal/order/{id}", [["id", "p", true]], 1], ["getAllOpportunities", "get", "/v2/portal/opportunity", [["from", "q"], ["size", "q"]]], ["getSearchableAttributesForOpportunities", "get", "/v2/portal/opportunities/searchable-attributes", [["from", "q"], ["size", "q"]]], ["getSearchResultsForOpportunities", "post", "/v2/portal/opportunities/search", [["from", "q"], ["size", "q"]], 1], ["getOpportunity", "get", "/v2/portal/opportunities/{id}", [["id", "p", true]]], ["updateOpportunity", "patch", "/v2/portal/opportunities/{id}", [["id", "p", true]], 1], ["getAllRequests", "get", "/v2/portal/request", [["from", "q"], ["size", "q"]]], ["getAllContracts", "get", "/v2/portal/contract", [["from", "q"], ["size", "q"]]], ["getContract", "get", "/v2/portal/contract/{id}", [["id", "p", true]]], ["updateContract", "patch", "/v2/portal/contract/{id}", [["id", "p", true]], 1], ["addContractByIdentifiers", "post", "/v2/portal/contract/by-identifiers", null, 1], ["getEntityIdentifiers", "get", "/v2/portal/entity/identifiers/{slug}", [["slug", "p", true]]], ["getEntityActivityFeed", "get", "/v2/portal/entity/{slug}/{id}/activity", [["slug", "p", true], ["id", "p", true], ["after", "q"], ["before", "q"], ["from", "q"], ["size", "q"], ["type", "q"], ["include_relations", "q"]]], ["validateCadenceEntityEditRules", "get", "/v2/portal/{slug}/{id}:validateRule", [["slug", "p", true], ["id", "p", true], ["attribute", "q"]]], ["searchPaymentRelationsInEntities", "get", "/v2/portal/entities-by-payment/{id}", [["id", "p", true]]], ["createCustomEntityActivity", "put", "/v2/portal/entity/activity", [["entities", "q", false, "form"]], 1], ["saveEntityFile", "post", "/v2/portal/entity/file", null, 1], ["deleteEntityFile", "delete", "/v2/portal/entity/file", null, 1], ["savePortalFiles", "post", "/v2/portal/portal/files", null, 1], ["getRegistrationIdentifiers", "get", "/v2/portal/registration/identifiers"], ["getAllFiles", "get", "/v2/portal/user/files", [["from", "q", true], ["size", "q", true], ["entity_ids", "q"], ["file_types", "q"]]], ["getFileById", "get", "/v2/portal/user/file/{id}", [["id", "p", true]]], ["trackFileDownloaded", "post", "/v2/portal/user/file/{id}/downloaded", [["id", "p", true]]], ["getFilesCountByEntity", "get", "/v2/portal/user/files/count-by-entity"], ["getBillingEvents", "get", "/v2/portal/billing/events", [["from", "q"], ["size", "q"], ["entity_id", "q"], ["event_type", "q"], ["paid", "q"], ["date_after", "q"], ["date_before", "q"], ["sort", "q"]]], ["getCustomerBalance", "get", "/v2/portal/billing/customers/balance"], ["getBillingAccount", "get", "/v2/portal/billing/accounts/{id}"], ["loginToPortalAsUser", "post", "/v2/portal/admin:login-as-user", null, 1], ["triggerEntityAccessEvent", "post", "/v2/portal/entity/{schema}/access", [["schema", "p", true], ["entity_id", "q"], ["origin", "q", true]]], ["triggerEntityAccessEventV3", "post", "/v3/portal/entity/{schema}/access", [["schema", "p", true], ["entity_id", "q"], ["portal_id", "q", true]]], ["getPortalUserEntity", "post", "/v2/portal/entity:get", null, 1], ["searchPortalUserEntities", "post", "/v2/portal/entity:search", null, 1], ["canTriggerPortalFlow", "post", "/v2/portal/can-trigger-portal-flow", [["origin", "q"], ["portal_id", "q", true]], 1], ["getAutomationContext", "get", "/v2/portal/automation-context", [["activity_id", "q", true], ["type", "q", true]]], ["updateWorkflowStepAsDone", "put", "/v2/portal/workflow/{workflow_id}/{step_id}:markDone", [["workflow_id", "p", true], ["step_id", "p", true]]], ["getEntityWorkflows", "get", "/v2/portal/entity/{slug}/{id}/workflows", [["slug", "p", true], ["id", "p", true]]], ["uploadMeterReadingPhoto", "post", "/v2/portal/metering/reading/photo", null, 1], ["createMeterReading", "post", "/v2/portal/metering/reading", [["override_plausibility", "q"]], 1], ["getAllowedMeterReadingRange", "get", "/v2/portal/metering/reading/allowed-range/{meter_id}", [["meter_id", "p", true], ["origin", "q"], ["timestamp", "q"], ["context_entities", "q"]]], ["ssoLogin", "post", "/v2/portal/public/sso/login", [["origin", "q", true], ["org_id", "q", true], ["contact_id", "q"]], 1], ["ssoLoginV3", "post", "/v3/portal/public/sso/login", [["portal_id", "q", true], ["org_id", "q", true], ["contact_id", "q"]], 1], ["ssoRedirect", "post", "/v2/portal/public/sso/redirect", [["web_uri", "q", true]], 1], ["ssoCallback", "post", "/v2/portal/public/sso/callback", [["domain", "q"]], 1], ["getPortalPage", "get", "/v2/portal/pages/{id}"], ["updatePortalPage", "put", "/v2/portal/pages/{id}", null, 1], ["deletePortalPage", "delete", "/v2/portal/pages/{id}"], ["getPortalPages", "get", "/v2/portal/pages", [["fields", "q"], ["filter", "q"], ["contract_id", "q"], ["context_entities", "q"]]], ["createPortalPage", "post", "/v2/portal/pages", null, 1], ["getPublicPages", "get", "/v2/portal/public/pages", [["domain", "q", true], ["fields", "q"], ["filter", "q"]]], ["interpolatePortalPages", "post", "/v2/portal/pages/interpolate", null, 1], ["getDefaultPages", "get", "/v2/portal/pages/default"], ["createPortalPageBlock", "post", "/v2/portal/pages/{id}/blocks", null, 1], ["getPortalPageBlocks", "get", "/v2/portal/pages/{id}/blocks"], ["getPortalPageBlock", "get", "/v2/portal/pages/{id}/blocks/{block_id}"], ["updatePortalPageBlock", "put", "/v2/portal/pages/{id}/blocks/{block_id}", null, 1], ["deletePortalPageBlock", "delete", "/v2/portal/pages/{id}/blocks/{block_id}"], ["getUserEntryPoint", "get", "/v2/portal/public/user/entry-point", [["email", "q", true], ["domain", "q", true]]], ["updateCampaignPortalBlockStatus", "put", "/v2/portal/campaign/{campaign_id}/entity:status", [["campaign_id", "p", true]], 1], ["updateNotificationsStatus", "put", "/v2/portal/notifications/entity:status", null, 1], ["deRegisterMLoginUser", "delete", "/v2/portal/public/m-login/deregister/{client_id}/{user_id}", [["client_id", "p", true], ["user_id", "p", true]]], ["notifyMLoginInterestChange", "post", "/v2/portal/public/m-login/notify-interest-change/{client_id}/{user_id}", [["client_id", "p", true], ["user_id", "p", true]], 1], ["createPortalConfig", "post", "/v3/portal/config", null, 1], ["getPortalConfigV3", "get", "/v3/portal/config/{portal_id}", [["portal_id", "p", true]]], ["putPortalConfig", "put", "/v3/portal/config/{portal_id}", [["portal_id", "p", true]], 1], ["deletePortalConfig", "delete", "/v3/portal/config/{portal_id}", [["portal_id", "p", true]]], ["listAllPortalConfigs", "get", "/v3/portal/configs"], ["swapPortalConfig", "post", "/v3/portal/config/swap", null, 1], ["invitePartner", "post", "/v3/portal/partner/invite", null, 1], ["listBusinessPartners", "get", "/v3/portal/partner/list"], ["resendPartnerInvitation", "post", "/v3/portal/partner/{partner_id}/resend-invitation", [["partner_id", "p", true]]], ["revokePartner", "delete", "/v3/portal/partner/{partner_id}/revoke", [["partner_id", "p", true]]], ["disablePartner", "post", "/v3/portal/partner/{partner_id}/disable", [["partner_id", "p", true]]], ["enablePartner", "post", "/v3/portal/partner/{partner_id}/enable", [["partner_id", "p", true]]]], v: "3.0.3", pp: { "/v2/portal/billing/accounts/{id}": [["id", "p", true]], "/v2/portal/pages/{id}": [["id", "p", true]], "/v2/portal/pages": [["domain", "q", true]], "/v2/portal/pages/{id}/blocks": [["id", "p", true]], "/v2/portal/pages/{id}/blocks/{block_id}": [["id", "p", true], ["block_id", "p", true]] } };
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
export {
|
|
13
|
-
require_customer_portal_runtime
|
|
14
|
-
};
|