@epilot/sdk 2.18.25 → 2.18.27
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/blueprint-manifest.json +48 -2
- package/definitions/customer-portal.json +56 -7
- 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.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- 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 +6 -6
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +1 -1
- 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.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/blueprint-manifest-4IAJOK2O.cjs +7 -0
- package/dist/blueprint-manifest-U6SC54EI.js +7 -0
- package/dist/{blueprint-manifest.d-CjsI-JqR.d.cts → blueprint-manifest.d-BVxmCeu7.d.cts} +173 -5
- package/dist/{blueprint-manifest.d-CjsI-JqR.d.ts → blueprint-manifest.d-BVxmCeu7.d.ts} +173 -5
- package/dist/{chunk-6AESXD5D.cjs → chunk-6ZJM4MNX.cjs} +2 -2
- package/dist/{chunk-XW3N5APN.js → chunk-Q6DT64Q2.js} +2 -2
- package/dist/customer-portal-FCUPDA7V.cjs +7 -0
- package/dist/customer-portal-GRWXQYKT.js +7 -0
- package/dist/{customer-portal.d-D44zeiJ4.d.cts → customer-portal.d-DTnk0yQf.d.cts} +51 -9
- package/dist/{customer-portal.d-D44zeiJ4.d.ts → customer-portal.d-DTnk0yQf.d.ts} +51 -9
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/docs/blueprint-manifest.md +65 -19
- package/docs/customer-portal.md +65 -3
- package/package.json +1 -1
- package/dist/blueprint-manifest-4DD7CUPX.cjs +0 -7
- package/dist/blueprint-manifest-IP2AU3F3.js +0 -7
- package/dist/customer-portal-FOLTI3GK.cjs +0 -7
- package/dist/customer-portal-HQ3DJCGO.js +0 -7
|
@@ -241,6 +241,8 @@ const { data } = await client.listBlueprints({
|
|
|
241
241
|
"latest_verification": {},
|
|
242
242
|
"ignored_resource_addresses": ["string"],
|
|
243
243
|
"installation_status": "IN_PROGRESS",
|
|
244
|
+
"active_restore_job_id": "string",
|
|
245
|
+
"active_restore_started_at": "1970-01-01T00:00:00.000Z",
|
|
244
246
|
"created_at": "1970-01-01T00:00:00.000Z",
|
|
245
247
|
"updated_at": "1970-01-01T00:00:00.000Z",
|
|
246
248
|
"created_by": {},
|
|
@@ -330,6 +332,8 @@ const { data } = await client.createBlueprint(
|
|
|
330
332
|
},
|
|
331
333
|
ignored_resource_addresses: ['string'],
|
|
332
334
|
installation_status: 'IN_PROGRESS',
|
|
335
|
+
active_restore_job_id: 'string',
|
|
336
|
+
active_restore_started_at: '1970-01-01T00:00:00.000Z',
|
|
333
337
|
created_at: '1970-01-01T00:00:00.000Z',
|
|
334
338
|
updated_at: '1970-01-01T00:00:00.000Z',
|
|
335
339
|
created_by: {
|
|
@@ -436,6 +440,8 @@ const { data } = await client.createBlueprint(
|
|
|
436
440
|
},
|
|
437
441
|
"ignored_resource_addresses": ["string"],
|
|
438
442
|
"installation_status": "IN_PROGRESS",
|
|
443
|
+
"active_restore_job_id": "string",
|
|
444
|
+
"active_restore_started_at": "1970-01-01T00:00:00.000Z",
|
|
439
445
|
"created_at": "1970-01-01T00:00:00.000Z",
|
|
440
446
|
"updated_at": "1970-01-01T00:00:00.000Z",
|
|
441
447
|
"created_by": {
|
|
@@ -744,6 +750,8 @@ const { data } = await client.getBlueprint({
|
|
|
744
750
|
},
|
|
745
751
|
"ignored_resource_addresses": ["string"],
|
|
746
752
|
"installation_status": "IN_PROGRESS",
|
|
753
|
+
"active_restore_job_id": "string",
|
|
754
|
+
"active_restore_started_at": "1970-01-01T00:00:00.000Z",
|
|
747
755
|
"created_at": "1970-01-01T00:00:00.000Z",
|
|
748
756
|
"updated_at": "1970-01-01T00:00:00.000Z",
|
|
749
757
|
"created_by": {
|
|
@@ -862,6 +870,8 @@ const { data } = await client.updateBlueprint(
|
|
|
862
870
|
},
|
|
863
871
|
ignored_resource_addresses: ['string'],
|
|
864
872
|
installation_status: 'IN_PROGRESS',
|
|
873
|
+
active_restore_job_id: 'string',
|
|
874
|
+
active_restore_started_at: '1970-01-01T00:00:00.000Z',
|
|
865
875
|
created_at: '1970-01-01T00:00:00.000Z',
|
|
866
876
|
updated_at: '1970-01-01T00:00:00.000Z',
|
|
867
877
|
created_by: {
|
|
@@ -968,6 +978,8 @@ const { data } = await client.updateBlueprint(
|
|
|
968
978
|
},
|
|
969
979
|
"ignored_resource_addresses": ["string"],
|
|
970
980
|
"installation_status": "IN_PROGRESS",
|
|
981
|
+
"active_restore_job_id": "string",
|
|
982
|
+
"active_restore_started_at": "1970-01-01T00:00:00.000Z",
|
|
971
983
|
"created_at": "1970-01-01T00:00:00.000Z",
|
|
972
984
|
"updated_at": "1970-01-01T00:00:00.000Z",
|
|
973
985
|
"created_by": {
|
|
@@ -1089,6 +1101,8 @@ const { data } = await client.deleteBlueprint({
|
|
|
1089
1101
|
},
|
|
1090
1102
|
"ignored_resource_addresses": ["string"],
|
|
1091
1103
|
"installation_status": "IN_PROGRESS",
|
|
1104
|
+
"active_restore_job_id": "string",
|
|
1105
|
+
"active_restore_started_at": "1970-01-01T00:00:00.000Z",
|
|
1092
1106
|
"created_at": "1970-01-01T00:00:00.000Z",
|
|
1093
1107
|
"updated_at": "1970-01-01T00:00:00.000Z",
|
|
1094
1108
|
"created_by": {
|
|
@@ -2035,7 +2049,9 @@ const { data } = await client.continueInstallationJob(
|
|
|
2035
2049
|
"name": "string",
|
|
2036
2050
|
"status": "pending",
|
|
2037
2051
|
"target_id": "string",
|
|
2038
|
-
"error_message": "string"
|
|
2052
|
+
"error_message": "string",
|
|
2053
|
+
"error_code": "string",
|
|
2054
|
+
"error_data": {}
|
|
2039
2055
|
}
|
|
2040
2056
|
],
|
|
2041
2057
|
"status": "IN_PROGRESS"
|
|
@@ -2854,6 +2870,13 @@ const { data } = await client.getRestorePreview({
|
|
|
2854
2870
|
"blueprint_id": "string",
|
|
2855
2871
|
"title": "string"
|
|
2856
2872
|
}
|
|
2873
|
+
],
|
|
2874
|
+
"protected_by": [
|
|
2875
|
+
{
|
|
2876
|
+
"lineage_id": "string",
|
|
2877
|
+
"type": "string",
|
|
2878
|
+
"target_id": "string"
|
|
2879
|
+
}
|
|
2857
2880
|
]
|
|
2858
2881
|
}
|
|
2859
2882
|
],
|
|
@@ -3178,7 +3201,9 @@ const { data } = await client.listBulkInstallTargetsV3({
|
|
|
3178
3201
|
"name": "string",
|
|
3179
3202
|
"status": "pending",
|
|
3180
3203
|
"target_id": "string",
|
|
3181
|
-
"error_message": "string"
|
|
3204
|
+
"error_message": "string",
|
|
3205
|
+
"error_code": "string",
|
|
3206
|
+
"error_data": {}
|
|
3182
3207
|
}
|
|
3183
3208
|
],
|
|
3184
3209
|
"status": "IN_PROGRESS"
|
|
@@ -3281,7 +3306,9 @@ const { data } = await client.retryBulkInstallTargetV3(
|
|
|
3281
3306
|
"name": "string",
|
|
3282
3307
|
"status": "pending",
|
|
3283
3308
|
"target_id": "string",
|
|
3284
|
-
"error_message": "string"
|
|
3309
|
+
"error_message": "string",
|
|
3310
|
+
"error_code": "string",
|
|
3311
|
+
"error_data": {}
|
|
3285
3312
|
}
|
|
3286
3313
|
],
|
|
3287
3314
|
"status": "IN_PROGRESS"
|
|
@@ -3702,6 +3729,8 @@ type CommonBlueprintFields = {
|
|
|
3702
3729
|
}
|
|
3703
3730
|
ignored_resource_addresses?: string[]
|
|
3704
3731
|
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
|
|
3732
|
+
active_restore_job_id?: string
|
|
3733
|
+
active_restore_started_at?: string // date-time
|
|
3705
3734
|
created_at?: string // date-time
|
|
3706
3735
|
updated_at?: string // date-time
|
|
3707
3736
|
created_by?: {
|
|
@@ -3919,6 +3948,8 @@ type CustomBlueprint = {
|
|
|
3919
3948
|
}
|
|
3920
3949
|
ignored_resource_addresses?: string[]
|
|
3921
3950
|
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
|
|
3951
|
+
active_restore_job_id?: string
|
|
3952
|
+
active_restore_started_at?: string // date-time
|
|
3922
3953
|
created_at?: string // date-time
|
|
3923
3954
|
updated_at?: string // date-time
|
|
3924
3955
|
created_by?: {
|
|
@@ -3948,8 +3979,6 @@ type CustomBlueprint = {
|
|
|
3948
3979
|
name?: string
|
|
3949
3980
|
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission"
|
|
3950
3981
|
address?: string
|
|
3951
|
-
is_root?: boolean
|
|
3952
|
-
is_ready?: boolean
|
|
3953
3982
|
// ...
|
|
3954
3983
|
}
|
|
3955
3984
|
```
|
|
@@ -4026,6 +4055,8 @@ type FileBlueprint = {
|
|
|
4026
4055
|
}
|
|
4027
4056
|
ignored_resource_addresses?: string[]
|
|
4028
4057
|
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
|
|
4058
|
+
active_restore_job_id?: string
|
|
4059
|
+
active_restore_started_at?: string // date-time
|
|
4029
4060
|
created_at?: string // date-time
|
|
4030
4061
|
updated_at?: string // date-time
|
|
4031
4062
|
created_by?: {
|
|
@@ -4055,8 +4086,6 @@ type FileBlueprint = {
|
|
|
4055
4086
|
id: string
|
|
4056
4087
|
name?: string
|
|
4057
4088
|
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission"
|
|
4058
|
-
address?: string
|
|
4059
|
-
is_root?: boolean
|
|
4060
4089
|
// ...
|
|
4061
4090
|
}
|
|
4062
4091
|
```
|
|
@@ -4133,6 +4162,8 @@ type MarketplaceBlueprint = {
|
|
|
4133
4162
|
}
|
|
4134
4163
|
ignored_resource_addresses?: string[]
|
|
4135
4164
|
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
|
|
4165
|
+
active_restore_job_id?: string
|
|
4166
|
+
active_restore_started_at?: string // date-time
|
|
4136
4167
|
created_at?: string // date-time
|
|
4137
4168
|
updated_at?: string // date-time
|
|
4138
4169
|
created_by?: {
|
|
@@ -4162,8 +4193,6 @@ type MarketplaceBlueprint = {
|
|
|
4162
4193
|
id: string
|
|
4163
4194
|
name?: string
|
|
4164
4195
|
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission"
|
|
4165
|
-
address?: string
|
|
4166
|
-
is_root?: boolean
|
|
4167
4196
|
// ...
|
|
4168
4197
|
}
|
|
4169
4198
|
```
|
|
@@ -4269,6 +4298,8 @@ type DeployedBlueprint = {
|
|
|
4269
4298
|
}
|
|
4270
4299
|
ignored_resource_addresses?: string[]
|
|
4271
4300
|
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
|
|
4301
|
+
active_restore_job_id?: string
|
|
4302
|
+
active_restore_started_at?: string // date-time
|
|
4272
4303
|
created_at?: string // date-time
|
|
4273
4304
|
updated_at?: string // date-time
|
|
4274
4305
|
created_by?: {
|
|
@@ -4298,8 +4329,6 @@ type DeployedBlueprint = {
|
|
|
4298
4329
|
id: string
|
|
4299
4330
|
name?: string
|
|
4300
4331
|
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission"
|
|
4301
|
-
address?: string
|
|
4302
|
-
is_root?: boolean
|
|
4303
4332
|
// ...
|
|
4304
4333
|
}
|
|
4305
4334
|
```
|
|
@@ -4376,6 +4405,8 @@ type AppBlueprint = {
|
|
|
4376
4405
|
}
|
|
4377
4406
|
ignored_resource_addresses?: string[]
|
|
4378
4407
|
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
|
|
4408
|
+
active_restore_job_id?: string
|
|
4409
|
+
active_restore_started_at?: string // date-time
|
|
4379
4410
|
created_at?: string // date-time
|
|
4380
4411
|
updated_at?: string // date-time
|
|
4381
4412
|
created_by?: {
|
|
@@ -4405,8 +4436,6 @@ type AppBlueprint = {
|
|
|
4405
4436
|
id: string
|
|
4406
4437
|
name?: string
|
|
4407
4438
|
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission"
|
|
4408
|
-
address?: string
|
|
4409
|
-
is_root?: boolean
|
|
4410
4439
|
// ...
|
|
4411
4440
|
}
|
|
4412
4441
|
```
|
|
@@ -4483,6 +4512,8 @@ type Blueprint = {
|
|
|
4483
4512
|
}
|
|
4484
4513
|
ignored_resource_addresses?: string[]
|
|
4485
4514
|
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
|
|
4515
|
+
active_restore_job_id?: string
|
|
4516
|
+
active_restore_started_at?: string // date-time
|
|
4486
4517
|
created_at?: string // date-time
|
|
4487
4518
|
updated_at?: string // date-time
|
|
4488
4519
|
created_by?: {
|
|
@@ -4512,8 +4543,6 @@ type Blueprint = {
|
|
|
4512
4543
|
name?: string
|
|
4513
4544
|
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission"
|
|
4514
4545
|
address?: string
|
|
4515
|
-
is_root?: boolean
|
|
4516
|
-
is_ready?: boolean
|
|
4517
4546
|
// ...
|
|
4518
4547
|
}
|
|
4519
4548
|
```
|
|
@@ -4637,6 +4666,8 @@ type BlueprintInstallationJob = {
|
|
|
4637
4666
|
status: "pending" | "in_progress" | "done" | "failed" | "skipped"
|
|
4638
4667
|
target_id?: string
|
|
4639
4668
|
error_message?: string
|
|
4669
|
+
error_code?: string
|
|
4670
|
+
error_data?: Record<string, unknown>
|
|
4640
4671
|
}>
|
|
4641
4672
|
status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
|
|
4642
4673
|
}
|
|
@@ -4746,6 +4777,8 @@ type BulkInstallTarget = {
|
|
|
4746
4777
|
status: { ... }
|
|
4747
4778
|
target_id?: { ... }
|
|
4748
4779
|
error_message?: { ... }
|
|
4780
|
+
error_code?: { ... }
|
|
4781
|
+
error_data?: { ... }
|
|
4749
4782
|
}>
|
|
4750
4783
|
status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
|
|
4751
4784
|
}
|
|
@@ -4864,6 +4897,7 @@ type BlueprintRestoreJob = {
|
|
|
4864
4897
|
error_message?: { ... }
|
|
4865
4898
|
is_hidden?: { ... }
|
|
4866
4899
|
co_owned_by?: { ... }
|
|
4900
|
+
protected_by?: { ... }
|
|
4867
4901
|
}>
|
|
4868
4902
|
has_effective_changes?: boolean
|
|
4869
4903
|
}
|
|
@@ -4881,6 +4915,8 @@ type V3ResourceProgressEntry = {
|
|
|
4881
4915
|
status: "pending" | "in_progress" | "done" | "failed" | "skipped"
|
|
4882
4916
|
target_id?: string
|
|
4883
4917
|
error_message?: string
|
|
4918
|
+
error_code?: string
|
|
4919
|
+
error_data?: Record<string, unknown>
|
|
4884
4920
|
}
|
|
4885
4921
|
```
|
|
4886
4922
|
|
|
@@ -4893,7 +4929,7 @@ type RestoreOutcomeItem = {
|
|
|
4893
4929
|
name?: string
|
|
4894
4930
|
target_id?: string
|
|
4895
4931
|
action: "restore" | "delete" | "skip" | "failed"
|
|
4896
|
-
reason?: "modified" | "delete_unsupported" | "heuristic_match" | "co_owned"
|
|
4932
|
+
reason?: "modified" | "delete_unsupported" | "heuristic_match" | "co_owned" | "dependency_protected" | "already_deleted" | "non_revertible"
|
|
4897
4933
|
last_synced_at?: string // date-time
|
|
4898
4934
|
current_updated_at?: string // date-time
|
|
4899
4935
|
error_message?: string
|
|
@@ -4902,6 +4938,11 @@ type RestoreOutcomeItem = {
|
|
|
4902
4938
|
blueprint_id: string
|
|
4903
4939
|
title?: string
|
|
4904
4940
|
}>
|
|
4941
|
+
protected_by?: Array<{
|
|
4942
|
+
lineage_id: string
|
|
4943
|
+
type: string
|
|
4944
|
+
target_id?: string
|
|
4945
|
+
}>
|
|
4905
4946
|
}
|
|
4906
4947
|
```
|
|
4907
4948
|
|
|
@@ -5060,7 +5101,7 @@ type RestoreOutcome = {
|
|
|
5060
5101
|
name?: string
|
|
5061
5102
|
target_id?: string
|
|
5062
5103
|
action: "restore" | "delete" | "skip" | "failed"
|
|
5063
|
-
reason?: "modified" | "delete_unsupported" | "heuristic_match" | "co_owned"
|
|
5104
|
+
reason?: "modified" | "delete_unsupported" | "heuristic_match" | "co_owned" | "dependency_protected" | "already_deleted" | "non_revertible"
|
|
5064
5105
|
last_synced_at?: string // date-time
|
|
5065
5106
|
current_updated_at?: string // date-time
|
|
5066
5107
|
error_message?: string
|
|
@@ -5069,6 +5110,11 @@ type RestoreOutcome = {
|
|
|
5069
5110
|
blueprint_id: { ... }
|
|
5070
5111
|
title?: { ... }
|
|
5071
5112
|
}>
|
|
5113
|
+
protected_by?: Array<{
|
|
5114
|
+
lineage_id: { ... }
|
|
5115
|
+
type: { ... }
|
|
5116
|
+
target_id?: { ... }
|
|
5117
|
+
}>
|
|
5072
5118
|
}>
|
|
5073
5119
|
has_effective_changes?: boolean
|
|
5074
5120
|
}
|
|
@@ -5149,6 +5195,8 @@ type BlueprintJob = {
|
|
|
5149
5195
|
status: "pending" | "in_progress" | "done" | "failed" | "skipped"
|
|
5150
5196
|
target_id?: string
|
|
5151
5197
|
error_message?: string
|
|
5198
|
+
error_code?: string
|
|
5199
|
+
error_data?: Record<string, unknown>
|
|
5152
5200
|
}>
|
|
5153
5201
|
status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
|
|
5154
5202
|
} | {
|
|
@@ -5175,8 +5223,6 @@ type BlueprintJob = {
|
|
|
5175
5223
|
user_id?: string
|
|
5176
5224
|
token_id?: string
|
|
5177
5225
|
}
|
|
5178
|
-
job_type?: "restore"
|
|
5179
|
-
destination_blueprint_id?: string
|
|
5180
5226
|
// ...
|
|
5181
5227
|
}
|
|
5182
5228
|
```
|
package/docs/customer-portal.md
CHANGED
|
@@ -229,6 +229,7 @@ const { data } = await customerPortalClient.upsertPortal(...)
|
|
|
229
229
|
- [`Exists`](#exists)
|
|
230
230
|
- [`EntitySlug`](#entityslug)
|
|
231
231
|
- [`EntitySlugConfig`](#entityslugconfig)
|
|
232
|
+
- [`TemplatesRef`](#templatesref)
|
|
232
233
|
- [`EntityId`](#entityid)
|
|
233
234
|
- [`BaseEntity`](#baseentity)
|
|
234
235
|
- [`Schema`](#schema)
|
|
@@ -5285,7 +5286,13 @@ const { data } = await client.getContractWithTemplates(
|
|
|
5285
5286
|
id: '123e4567-e89b-12d3-a456-426614174000',
|
|
5286
5287
|
},
|
|
5287
5288
|
{
|
|
5288
|
-
templates: {}
|
|
5289
|
+
templates: {},
|
|
5290
|
+
templates_ref: {
|
|
5291
|
+
page_id: 'string',
|
|
5292
|
+
block_id: 'string',
|
|
5293
|
+
config_id: 'string',
|
|
5294
|
+
global_search_config_id: 'string'
|
|
5295
|
+
}
|
|
5289
5296
|
},
|
|
5290
5297
|
)
|
|
5291
5298
|
```
|
|
@@ -6217,6 +6224,12 @@ const { data } = await client.getPortalUserEntity(
|
|
|
6217
6224
|
subtitle: '{{contract.contract_number}}'
|
|
6218
6225
|
}
|
|
6219
6226
|
},
|
|
6227
|
+
templates_ref: {
|
|
6228
|
+
page_id: 'string',
|
|
6229
|
+
block_id: 'string',
|
|
6230
|
+
config_id: 'string',
|
|
6231
|
+
global_search_config_id: 'string'
|
|
6232
|
+
},
|
|
6220
6233
|
filters: [
|
|
6221
6234
|
{
|
|
6222
6235
|
term: {
|
|
@@ -6310,6 +6323,12 @@ const { data } = await client.searchPortalUserEntities(
|
|
|
6310
6323
|
main_content_name: '{{contract.contract_name}} ({{contract.contract_number}})',
|
|
6311
6324
|
content_bottom_name: '{{custom_contract_delivery_address}}'
|
|
6312
6325
|
},
|
|
6326
|
+
templates_ref: {
|
|
6327
|
+
page_id: 'string',
|
|
6328
|
+
block_id: 'string',
|
|
6329
|
+
config_id: 'string',
|
|
6330
|
+
global_search_config_id: 'string'
|
|
6331
|
+
},
|
|
6313
6332
|
filters: [
|
|
6314
6333
|
{
|
|
6315
6334
|
term: {
|
|
@@ -6939,7 +6958,13 @@ const { data } = await client.getMeterReadings(
|
|
|
6939
6958
|
from: 0,
|
|
6940
6959
|
size: 10,
|
|
6941
6960
|
templates: {},
|
|
6942
|
-
counter_templates: {}
|
|
6961
|
+
counter_templates: {},
|
|
6962
|
+
templates_ref: {
|
|
6963
|
+
page_id: 'string',
|
|
6964
|
+
block_id: 'string',
|
|
6965
|
+
config_id: 'string',
|
|
6966
|
+
global_search_config_id: 'string'
|
|
6967
|
+
}
|
|
6943
6968
|
},
|
|
6944
6969
|
)
|
|
6945
6970
|
```
|
|
@@ -7493,7 +7518,7 @@ const { data } = await client.getPublicPages({
|
|
|
7493
7518
|
|
|
7494
7519
|
### `interpolatePortalPages`
|
|
7495
7520
|
|
|
7496
|
-
Interpolate template variables in portal pages without reading from the database. Accepts pages in the request body and returns them with templates resolved.
|
|
7521
|
+
Interpolate template variables in portal pages without reading from the database. Accepts pages in the request body and returns them with templates resolved. Portal Builder preview only: requires a 36
|
|
7497
7522
|
|
|
7498
7523
|
`POST /v2/portal/pages/interpolate`
|
|
7499
7524
|
|
|
@@ -11834,6 +11859,25 @@ type EntitySlugConfig = {
|
|
|
11834
11859
|
slug: string
|
|
11835
11860
|
targets?: string // uuid[]
|
|
11836
11861
|
templates?: Record<string, string>
|
|
11862
|
+
templates_ref?: {
|
|
11863
|
+
page_id?: string
|
|
11864
|
+
block_id?: string
|
|
11865
|
+
config_id?: string
|
|
11866
|
+
global_search_config_id?: string
|
|
11867
|
+
}
|
|
11868
|
+
}
|
|
11869
|
+
```
|
|
11870
|
+
|
|
11871
|
+
### `TemplatesRef`
|
|
11872
|
+
|
|
11873
|
+
Reference to admin-authored portal configuration (a page block or a global search configuration item) from which the API derives Handlebars templates server-side. This replaces client-supplied template strings so portal users can never submit arbitrary templates for resolution. When both a reference
|
|
11874
|
+
|
|
11875
|
+
```ts
|
|
11876
|
+
type TemplatesRef = {
|
|
11877
|
+
page_id?: string
|
|
11878
|
+
block_id?: string
|
|
11879
|
+
config_id?: string
|
|
11880
|
+
global_search_config_id?: string
|
|
11837
11881
|
}
|
|
11838
11882
|
```
|
|
11839
11883
|
|
|
@@ -12753,6 +12797,12 @@ type EntityGetParams = {
|
|
|
12753
12797
|
hydrate?: boolean
|
|
12754
12798
|
fields?: string[]
|
|
12755
12799
|
templates?: Record<string, string | Record<string, string>>
|
|
12800
|
+
templates_ref?: {
|
|
12801
|
+
page_id?: string
|
|
12802
|
+
block_id?: string
|
|
12803
|
+
config_id?: string
|
|
12804
|
+
global_search_config_id?: string
|
|
12805
|
+
}
|
|
12756
12806
|
filters?: object[]
|
|
12757
12807
|
filters_context?: Record<string, boolean | string>[]
|
|
12758
12808
|
targets?: string // uuid[]
|
|
@@ -12767,6 +12817,12 @@ type EntitySearchParams = {
|
|
|
12767
12817
|
slug: string
|
|
12768
12818
|
targets?: string // uuid[]
|
|
12769
12819
|
templates?: Record<string, string>
|
|
12820
|
+
templates_ref?: {
|
|
12821
|
+
page_id?: { ... }
|
|
12822
|
+
block_id?: { ... }
|
|
12823
|
+
config_id?: { ... }
|
|
12824
|
+
global_search_config_id?: { ... }
|
|
12825
|
+
}
|
|
12770
12826
|
}>
|
|
12771
12827
|
q?: string
|
|
12772
12828
|
q_fields?: string[]
|
|
@@ -12781,6 +12837,12 @@ type EntitySearchParams = {
|
|
|
12781
12837
|
hydrate?: boolean
|
|
12782
12838
|
fields?: string[]
|
|
12783
12839
|
templates?: Record<string, string>
|
|
12840
|
+
templates_ref?: {
|
|
12841
|
+
page_id?: string
|
|
12842
|
+
block_id?: string
|
|
12843
|
+
config_id?: string
|
|
12844
|
+
global_search_config_id?: string
|
|
12845
|
+
}
|
|
12784
12846
|
filters?: object[]
|
|
12785
12847
|
filters_context?: Record<string, boolean | string>[]
|
|
12786
12848
|
targets?: string // uuid[]
|