@epilot/sdk 2.1.7 → 2.1.9

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.
Files changed (126) hide show
  1. package/definitions/customer-portal-runtime.json +1 -1
  2. package/definitions/customer-portal.json +261 -19
  3. package/definitions/kanban.json +25 -1
  4. package/dist/apis/access-token.cjs +6 -6
  5. package/dist/apis/access-token.js +1 -1
  6. package/dist/apis/address-suggestions.cjs +6 -6
  7. package/dist/apis/address-suggestions.js +1 -1
  8. package/dist/apis/address.cjs +6 -6
  9. package/dist/apis/address.js +1 -1
  10. package/dist/apis/ai-agents.cjs +6 -6
  11. package/dist/apis/ai-agents.js +1 -1
  12. package/dist/apis/app.cjs +6 -6
  13. package/dist/apis/app.js +1 -1
  14. package/dist/apis/audit-logs.cjs +6 -6
  15. package/dist/apis/audit-logs.js +1 -1
  16. package/dist/apis/automation.cjs +6 -6
  17. package/dist/apis/automation.js +1 -1
  18. package/dist/apis/billing.cjs +6 -6
  19. package/dist/apis/billing.js +1 -1
  20. package/dist/apis/blueprint-manifest.cjs +6 -6
  21. package/dist/apis/blueprint-manifest.js +1 -1
  22. package/dist/apis/consent.cjs +6 -6
  23. package/dist/apis/consent.js +1 -1
  24. package/dist/apis/customer-portal.cjs +8 -8
  25. package/dist/apis/customer-portal.d.cts +2 -2
  26. package/dist/apis/customer-portal.d.ts +2 -2
  27. package/dist/apis/customer-portal.js +2 -2
  28. package/dist/apis/dashboard.cjs +6 -6
  29. package/dist/apis/dashboard.js +1 -1
  30. package/dist/apis/data-management.cjs +6 -6
  31. package/dist/apis/data-management.js +1 -1
  32. package/dist/apis/deduplication.cjs +6 -6
  33. package/dist/apis/deduplication.js +1 -1
  34. package/dist/apis/design.cjs +6 -6
  35. package/dist/apis/design.js +1 -1
  36. package/dist/apis/document.cjs +6 -6
  37. package/dist/apis/document.js +1 -1
  38. package/dist/apis/email-settings.cjs +6 -6
  39. package/dist/apis/email-settings.js +1 -1
  40. package/dist/apis/email-template.cjs +6 -6
  41. package/dist/apis/email-template.js +1 -1
  42. package/dist/apis/entity-mapping.cjs +6 -6
  43. package/dist/apis/entity-mapping.js +1 -1
  44. package/dist/apis/entity.cjs +6 -6
  45. package/dist/apis/entity.js +1 -1
  46. package/dist/apis/environments.cjs +6 -6
  47. package/dist/apis/environments.js +1 -1
  48. package/dist/apis/erp-integration.cjs +6 -6
  49. package/dist/apis/erp-integration.js +1 -1
  50. package/dist/apis/event-catalog.cjs +6 -6
  51. package/dist/apis/event-catalog.js +1 -1
  52. package/dist/apis/file.cjs +6 -6
  53. package/dist/apis/file.js +1 -1
  54. package/dist/apis/iban.cjs +6 -6
  55. package/dist/apis/iban.js +1 -1
  56. package/dist/apis/journey.cjs +6 -6
  57. package/dist/apis/journey.js +1 -1
  58. package/dist/apis/kanban.cjs +6 -6
  59. package/dist/apis/kanban.d.cts +2 -2
  60. package/dist/apis/kanban.d.ts +2 -2
  61. package/dist/apis/kanban.js +1 -1
  62. package/dist/apis/message.cjs +6 -6
  63. package/dist/apis/message.js +1 -1
  64. package/dist/apis/metering.cjs +6 -6
  65. package/dist/apis/metering.js +1 -1
  66. package/dist/apis/notes.cjs +6 -6
  67. package/dist/apis/notes.js +1 -1
  68. package/dist/apis/notification.cjs +6 -6
  69. package/dist/apis/notification.js +1 -1
  70. package/dist/apis/organization.cjs +6 -6
  71. package/dist/apis/organization.js +1 -1
  72. package/dist/apis/partner-directory.cjs +6 -6
  73. package/dist/apis/partner-directory.js +1 -1
  74. package/dist/apis/permissions.cjs +6 -6
  75. package/dist/apis/permissions.js +1 -1
  76. package/dist/apis/pricing-tier.cjs +6 -6
  77. package/dist/apis/pricing-tier.js +1 -1
  78. package/dist/apis/pricing.cjs +6 -6
  79. package/dist/apis/pricing.js +1 -1
  80. package/dist/apis/purpose.cjs +6 -6
  81. package/dist/apis/purpose.js +1 -1
  82. package/dist/apis/sandbox.cjs +6 -6
  83. package/dist/apis/sandbox.js +1 -1
  84. package/dist/apis/submission.cjs +6 -6
  85. package/dist/apis/submission.js +1 -1
  86. package/dist/apis/targeting.cjs +6 -6
  87. package/dist/apis/targeting.js +1 -1
  88. package/dist/apis/template-variables.cjs +6 -6
  89. package/dist/apis/template-variables.js +1 -1
  90. package/dist/apis/user.cjs +6 -6
  91. package/dist/apis/user.js +1 -1
  92. package/dist/apis/validation-rules.cjs +6 -6
  93. package/dist/apis/validation-rules.js +1 -1
  94. package/dist/apis/webhooks.cjs +6 -6
  95. package/dist/apis/webhooks.js +1 -1
  96. package/dist/apis/workflow-definition.cjs +6 -6
  97. package/dist/apis/workflow-definition.js +1 -1
  98. package/dist/apis/workflow.cjs +6 -6
  99. package/dist/apis/workflow.js +1 -1
  100. package/dist/{chunk-PITTHLH4.js → chunk-6D5AZZ2F.js} +3 -3
  101. package/dist/{chunk-4LDVICOS.cjs → chunk-FXN6IHCZ.cjs} +3 -3
  102. package/dist/chunk-XT54462S.js +14 -0
  103. package/dist/chunk-YWDWPVIC.cjs +14 -0
  104. package/dist/customer-portal-AEFMNNYP.cjs +7 -0
  105. package/dist/customer-portal-Y3GLUVMW.js +7 -0
  106. package/dist/{customer-portal-runtime-MRVZ7JR4.js → customer-portal-runtime-374XJ6LB.js} +1 -1
  107. package/dist/{customer-portal-runtime-VGK7RMLC.cjs → customer-portal-runtime-3LTXCTKD.cjs} +2 -2
  108. package/dist/{customer-portal.d-uN6lOpvy.d.cts → customer-portal.d-BJNWYMt9.d.cts} +221 -16
  109. package/dist/{customer-portal.d-uN6lOpvy.d.ts → customer-portal.d-BJNWYMt9.d.ts} +221 -16
  110. package/dist/index.cjs +10 -10
  111. package/dist/index.d.cts +2 -2
  112. package/dist/index.d.ts +2 -2
  113. package/dist/index.js +2 -2
  114. package/dist/kanban-E2UOBVBK.cjs +7 -0
  115. package/dist/kanban-PMG5TXE5.js +7 -0
  116. package/dist/{kanban.d-CtSt3uX2.d.ts → kanban.d-B99GucT_.d.cts} +18 -3
  117. package/dist/{kanban.d-CtSt3uX2.d.cts → kanban.d-B99GucT_.d.ts} +18 -3
  118. package/docs/customer-portal.md +245 -16
  119. package/docs/kanban.md +39 -1
  120. package/package.json +1 -1
  121. package/dist/chunk-5NKXJA43.js +0 -14
  122. package/dist/chunk-COQMJFAB.cjs +0 -14
  123. package/dist/customer-portal-5JVN4Y5Y.js +0 -7
  124. package/dist/customer-portal-T7KIY3AE.cjs +0 -7
  125. package/dist/kanban-CHTH2ZSY.cjs +0 -7
  126. package/dist/kanban-HI6LL5WY.js +0 -7
@@ -0,0 +1,7 @@
1
+ import "./chunk-YPSWSI3M.js";
2
+
3
+ // src/docs/kanban.json
4
+ var kanban_default = '# Kanban API\n\n- **Base URL:** `https://kanban.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/kanban](https://docs.epilot.io/api/kanban)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.kanban.createKanbanBoard(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/kanban\'\n\nconst kanbanClient = getClient()\nauthorize(kanbanClient, () => \'<token>\')\nconst { data } = await kanbanClient.createKanbanBoard(...)\n```\n\n## Operations\n\n**Kanban**\n- [`createKanbanBoard`](#createkanbanboard)\n- [`getKanbanBoards`](#getkanbanboards)\n- [`getKanbanBoard`](#getkanbanboard)\n- [`updateKanbanBoard`](#updatekanbanboard)\n- [`patchKanbanBoard`](#patchkanbanboard)\n- [`deleteKanbanBoard`](#deletekanbanboard)\n- [`setDefaultKanbanBoard`](#setdefaultkanbanboard)\n- [`clearDefaultKanbanBoard`](#cleardefaultkanbanboard)\n\n**Query**\n- [`flowsAutocomplete`](#flowsautocomplete)\n- [`executeFlowsQuery`](#executeflowsquery)\n\n**Schemas**\n- [`Error`](#error)\n- [`BoardSummary`](#boardsummary)\n- [`Board`](#board)\n- [`Swimlane`](#swimlane)\n- [`Sorting`](#sorting)\n- [`GroupBy`](#groupby)\n- [`BoardFilter`](#boardfilter)\n- [`FilterGroup`](#filtergroup)\n- [`FilterOperator`](#filteroperator)\n- [`DynamicDateValue`](#dynamicdatevalue)\n- [`ValueType`](#valuetype)\n- [`FlowsQueryRequest`](#flowsqueryrequest)\n- [`FlowsQueryResult`](#flowsqueryresult)\n- [`FilterItem`](#filteritem)\n\n### `createKanbanBoard`\n\nCreates a new Kanban board with the provided configuration.\n\n`POST /v1/kanban/board`\n\n```ts\nconst { data } = await client.createKanbanBoard(\n null,\n {\n id: \'string\',\n title: \'Board 1\',\n description: \'Board description\',\n created_at: \'1970-01-01T00:00:00.000Z\',\n updated_at: \'1970-01-01T00:00:00.000Z\',\n created_by: \'string\',\n org_id: \'string\',\n updated_by: \'string\',\n shared_with: [\'string\'],\n shared_with_org: true,\n owners: [\'string\'],\n config: {\n dataset: \'workflow_tasks_overview\',\n swimlanes: [\n {\n id: \'string\',\n title: \'Swimlane 1\',\n position: 1,\n filter: {\n items: [\n {\n key: \'assignee\',\n operator: \'EQUALS\',\n value: \'100020\',\n data_type: \'string\'\n }\n ],\n combination: \'OR\'\n },\n title_chip_variant: \'success\'\n }\n ],\n card_config: {\n fields: [\'assignee\']\n },\n board_filter: {\n items: [\n {\n key: \'assignee\',\n operator: \'EQUALS\',\n value: \'100020\',\n data_type: \'string\'\n }\n ],\n combination: \'OR\'\n },\n sorting: {\n field: \'created_at\',\n direction: \'asc\'\n },\n group_by: {\n field: \'context_entity\'\n },\n search_query: \'task 1\'\n }\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "title": "Board 1",\n "description": "Board description",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "created_by": "string",\n "org_id": "string",\n "updated_by": "string",\n "shared_with": ["string"],\n "shared_with_org": true,\n "owners": ["string"],\n "config": {\n "dataset": "workflow_tasks_overview",\n "swimlanes": [\n {\n "id": "string",\n "title": "Swimlane 1",\n "position": 1,\n "filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "title_chip_variant": "success"\n }\n ],\n "card_config": {\n "fields": ["assignee"]\n },\n "board_filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "sorting": {\n "field": "created_at",\n "direction": "asc"\n },\n "group_by": {\n "field": "context_entity"\n },\n "search_query": "task 1"\n }\n}\n```\n\n</details>\n\n---\n\n### `getKanbanBoards`\n\nReturns a list of all Kanban boards accessible to the authenticated user.\n\n`GET /v1/kanban/boards`\n\n```ts\nconst { data } = await client.getKanbanBoards({\n filter: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n[\n {\n "id": "string",\n "title": "Board 1",\n "description": "Board description",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "created_by": "string",\n "org_id": "string",\n "updated_by": "string",\n "shared_with": ["string"],\n "shared_with_org": true,\n "owners": ["string"]\n }\n]\n```\n\n</details>\n\n---\n\n### `getKanbanBoard`\n\nRetrieves a Kanban board by ID, including its full configuration (swimlanes, filters, sorting, card fields).\n\n`GET /v1/kanban/board/{boardId}`\n\n```ts\nconst { data } = await client.getKanbanBoard({\n boardId: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "title": "Board 1",\n "description": "Board description",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "created_by": "string",\n "org_id": "string",\n "updated_by": "string",\n "shared_with": ["string"],\n "shared_with_org": true,\n "owners": ["string"],\n "config": {\n "dataset": "workflow_tasks_overview",\n "swimlanes": [\n {\n "id": "string",\n "title": "Swimlane 1",\n "position": 1,\n "filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "title_chip_variant": "success"\n }\n ],\n "card_config": {\n "fields": ["assignee"]\n },\n "board_filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "sorting": {\n "field": "created_at",\n "direction": "asc"\n },\n "group_by": {\n "field": "context_entity"\n },\n "search_query": "task 1"\n }\n}\n```\n\n</details>\n\n---\n\n### `updateKanbanBoard`\n\nFully replaces the configuration of an existing Kanban board by ID.\n\n`PUT /v1/kanban/board/{boardId}`\n\n```ts\nconst { data } = await client.updateKanbanBoard(\n {\n boardId: \'example\',\n },\n {\n id: \'string\',\n title: \'Board 1\',\n description: \'Board description\',\n created_at: \'1970-01-01T00:00:00.000Z\',\n updated_at: \'1970-01-01T00:00:00.000Z\',\n created_by: \'string\',\n org_id: \'string\',\n updated_by: \'string\',\n shared_with: [\'string\'],\n shared_with_org: true,\n owners: [\'string\'],\n config: {\n dataset: \'workflow_tasks_overview\',\n swimlanes: [\n {\n id: \'string\',\n title: \'Swimlane 1\',\n position: 1,\n filter: {\n items: [\n {\n key: \'assignee\',\n operator: \'EQUALS\',\n value: \'100020\',\n data_type: \'string\'\n }\n ],\n combination: \'OR\'\n },\n title_chip_variant: \'success\'\n }\n ],\n card_config: {\n fields: [\'assignee\']\n },\n board_filter: {\n items: [\n {\n key: \'assignee\',\n operator: \'EQUALS\',\n value: \'100020\',\n data_type: \'string\'\n }\n ],\n combination: \'OR\'\n },\n sorting: {\n field: \'created_at\',\n direction: \'asc\'\n },\n group_by: {\n field: \'context_entity\'\n },\n search_query: \'task 1\'\n }\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "title": "Board 1",\n "description": "Board description",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "created_by": "string",\n "org_id": "string",\n "updated_by": "string",\n "shared_with": ["string"],\n "shared_with_org": true,\n "owners": ["string"],\n "config": {\n "dataset": "workflow_tasks_overview",\n "swimlanes": [\n {\n "id": "string",\n "title": "Swimlane 1",\n "position": 1,\n "filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "title_chip_variant": "success"\n }\n ],\n "card_config": {\n "fields": ["assignee"]\n },\n "board_filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "sorting": {\n "field": "created_at",\n "direction": "asc"\n },\n "group_by": {\n "field": "context_entity"\n },\n "search_query": "task 1"\n }\n}\n```\n\n</details>\n\n---\n\n### `patchKanbanBoard`\n\nPartially updates fields of an existing Kanban board by ID.\n\n`PATCH /v1/kanban/board/{boardId}`\n\n```ts\nconst { data } = await client.patchKanbanBoard(\n {\n boardId: \'example\',\n },\n {\n title: \'Board 1\',\n description: \'Board description\',\n shared_with: [\'string\'],\n shared_with_org: true,\n owners: [\'string\']\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "title": "Board 1",\n "description": "Board description",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "created_by": "string",\n "org_id": "string",\n "updated_by": "string",\n "shared_with": ["string"],\n "shared_with_org": true,\n "owners": ["string"],\n "config": {\n "dataset": "workflow_tasks_overview",\n "swimlanes": [\n {\n "id": "string",\n "title": "Swimlane 1",\n "position": 1,\n "filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "title_chip_variant": "success"\n }\n ],\n "card_config": {\n "fields": ["assignee"]\n },\n "board_filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "sorting": {\n "field": "created_at",\n "direction": "asc"\n },\n "group_by": {\n "field": "context_entity"\n },\n "search_query": "task 1"\n }\n}\n```\n\n</details>\n\n---\n\n### `deleteKanbanBoard`\n\nPermanently deletes a Kanban board by ID. This action is irreversible.\n\n`DELETE /v1/kanban/board/{boardId}`\n\n```ts\nconst { data } = await client.deleteKanbanBoard({\n boardId: \'example\',\n})\n```\n\n---\n\n### `setDefaultKanbanBoard`\n\nSets a Kanban board as the default board for the organization.\n\n`PUT /v1/kanban/org/default-board`\n\n```ts\nconst { data } = await client.setDefaultKanbanBoard({\n boardId: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "message": "string",\n "default_board_id": "string"\n}\n```\n\n</details>\n\n---\n\n### `clearDefaultKanbanBoard`\n\nRemoves the default board configuration for the organization.\n\n`DELETE /v1/kanban/org/default-board`\n\n```ts\nconst { data } = await client.clearDefaultKanbanBoard()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "message": "string",\n "default_board_id": "string"\n}\n```\n\n</details>\n\n---\n\n### `flowsAutocomplete`\n\nReturns autocomplete suggestions for a given attribute in the Flows dataset.\n\n`GET /v1/kanban/query/flows:autocomplete`\n\n```ts\nconst { data } = await client.flowsAutocomplete({\n input: \'example\',\n attribute: \'example\',\n size: 1,\n from: 1,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": ["value"],\n "hits": 42\n}\n```\n\n</details>\n\n---\n\n### `executeFlowsQuery`\n\nExecutes a query against the Flows dataset and returns paginated results for use in Kanban card rendering.\n\n`POST /v1/kanban/query/flows:execute`\n\n```ts\nconst { data } = await client.executeFlowsQuery(\n null,\n {\n filters: {\n items: [\n {\n key: \'assignee\',\n operator: \'EQUALS\',\n value: \'100020\',\n data_type: \'string\'\n }\n ],\n combination: \'OR\'\n },\n sorting: {\n field: \'created_at\',\n direction: \'asc\'\n },\n group_by: {\n field: \'context_entity\'\n },\n from: 0,\n size: 10\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {}\n ],\n "hits": 42,\n "page_number": 1,\n "page_size": 10,\n "total_pages": 5\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `Error`\n\nStandard error response\n\n```ts\ntype Error = {\n message?: string\n status?: number\n}\n```\n\n### `BoardSummary`\n\nSummary representation of a Kanban board, returned in list responses. Does not include swimlane and filter configuration details.\n\n```ts\ntype BoardSummary = {\n id?: string\n title?: string\n description?: string\n created_at?: string // date-time\n updated_at?: string // date-time\n created_by?: string\n org_id?: string\n updated_by?: string\n shared_with?: string[]\n shared_with_org?: boolean\n owners?: string[]\n}\n```\n\n### `Board`\n\nFull representation of a Kanban board, including swimlane layout, filter configuration, card display fields, and sorting options.\n\n```ts\ntype Board = {\n id?: string\n title: string\n description?: string\n created_at?: string // date-time\n updated_at?: string // date-time\n created_by?: string\n org_id?: string\n updated_by?: string\n shared_with?: string[]\n shared_with_org?: boolean\n owners?: string[]\n config: {\n dataset?: string\n swimlanes?: Array<{\n id?: { ... }\n title?: { ... }\n position?: { ... }\n filter?: { ... }\n title_chip_variant?: { ... }\n }>\n card_config?: {\n fields?: { ... }\n }\n board_filter?: {\n items: { ... }\n combination: { ... }\n }\n sorting?: {\n field: { ... }\n direction?: { ... }\n }\n group_by?: {\n field: { ... }\n }\n search_query?: string\n }\n}\n```\n\n### `Swimlane`\n\nA vertical column in a Kanban board that groups workflow tasks or entities matching its filter criteria. Each swimlane has an independent filter and a display position.\n\n```ts\ntype Swimlane = {\n id?: string\n title?: string\n position?: number\n filter?: {\n items: Array<{\n key: { ... }\n operator: { ... }\n value?: { ... }\n data_type?: { ... }\n } | {\n items: { ... }\n combination: { ... }\n }>\n combination: "AND" | "OR"\n }\n title_chip_variant?: string\n}\n```\n\n### `Sorting`\n\nDefines how query results should be sorted. Specify a field name and sort direction.\n\n```ts\ntype Sorting = {\n field: string\n direction?: "asc" | "desc"\n}\n```\n\n### `GroupBy`\n\nDefines how tasks should be grouped within each swimlane. Tasks with the same group value are returned adjacently in the result set.\n\n```ts\ntype GroupBy = {\n field: "context_entity" | "phase"\n}\n```\n\n### `BoardFilter`\n\nA filter group containing one or more filter items or nested filter groups. Items are combined using the specified logical operator (AND/OR).\n\n```ts\ntype BoardFilter = {\n items: Array<{\n key: string\n operator: "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL"\n value?: string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean | string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean[]\n data_type?: "string" | "number" | "boolean" | "date"\n } | {\n items: Array<{\n key: { ... }\n operator: { ... }\n value?: { ... }\n data_type?: { ... }\n }>\n combination: "AND" | "OR"\n }>\n combination: "AND" | "OR"\n}\n```\n\n### `FilterGroup`\n\n```ts\ntype FilterGroup = {\n items: Array<{\n key: string\n operator: "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL"\n value?: string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean | string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean[]\n data_type?: "string" | "number" | "boolean" | "date"\n }>\n combination: "AND" | "OR"\n}\n```\n\n### `FilterOperator`\n\nThe comparison operator for filtering\n\n```ts\ntype FilterOperator = "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL"\n```\n\n### `DynamicDateValue`\n\nDynamic date keywords that resolve to actual dates at runtime\n\n```ts\ntype DynamicDateValue = "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER"\n```\n\n### `ValueType`\n\nThe value to compare against - can be a single value (string, number, boolean, or dynamic date) or an array of values\n\n```ts\ntype ValueType = string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean | string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean[]\n```\n\n### `FlowsQueryRequest`\n\nRequest payload for executing a query against the Flows dataset. Supports filter conditions, sorting, grouping, and offset-based pagination.\n\n```ts\ntype FlowsQueryRequest = {\n filters?: {\n items: Array<{\n key: { ... }\n operator: { ... }\n value?: { ... }\n data_type?: { ... }\n } | {\n items: { ... }\n combination: { ... }\n }>\n combination: "AND" | "OR"\n }\n sorting?: {\n field: string\n direction?: "asc" | "desc"\n }\n group_by?: {\n field: "context_entity" | "phase"\n }\n from?: number\n size?: number\n}\n```\n\n### `FlowsQueryResult`\n\nPaginated result set returned from a Flows query. Each item in `results` is a workflow task record with dynamic fields depending on the dataset configuration.\n\n```ts\ntype FlowsQueryResult = {\n results?: Record<string, unknown>[]\n hits?: number\n page_number?: number\n page_size?: number\n total_pages?: number\n}\n```\n\n### `FilterItem`\n\n```ts\ntype FilterItem = {\n key: string\n operator: "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL"\n value?: string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean | string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean[]\n data_type?: "string" | "number" | "boolean" | "date"\n}\n```\n';
5
+ export {
6
+ kanban_default as default
7
+ };
@@ -43,6 +43,7 @@ declare namespace Components {
43
43
  };
44
44
  board_filter?: /* A filter group containing one or more filter items or nested filter groups. Items are combined using the specified logical operator (AND/OR). */ BoardFilter;
45
45
  sorting?: /* Defines how query results should be sorted. Specify a field name and sort direction. */ Sorting;
46
+ group_by?: /* Defines how tasks should be grouped within each swimlane. Tasks with the same group value are returned adjacently in the result set. */ GroupBy;
46
47
  /**
47
48
  * example:
48
49
  * task 1
@@ -145,7 +146,7 @@ declare namespace Components {
145
146
  */
146
147
  export type FilterOperator = "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL";
147
148
  /**
148
- * Request payload for executing a query against the Flows dataset. Supports filter conditions, sorting, and offset-based pagination.
149
+ * Request payload for executing a query against the Flows dataset. Supports filter conditions, sorting, grouping, and offset-based pagination.
149
150
  */
150
151
  export interface FlowsQueryRequest {
151
152
  /**
@@ -156,6 +157,10 @@ declare namespace Components {
156
157
  * Sort the results by a specific field and direction.
157
158
  */
158
159
  sorting?: /* Defines how query results should be sorted. Specify a field name and sort direction. */ Sorting;
160
+ /**
161
+ * Group tasks by a shared property within each swimlane. Grouped tasks are returned adjacently in the result set.
162
+ */
163
+ group_by?: /* Defines how tasks should be grouped within each swimlane. Tasks with the same group value are returned adjacently in the result set. */ GroupBy;
159
164
  /**
160
165
  * Zero-based offset for pagination. Use with `size` to paginate through results.
161
166
  * example:
@@ -205,6 +210,15 @@ declare namespace Components {
205
210
  */
206
211
  total_pages?: number;
207
212
  }
213
+ /**
214
+ * Defines how tasks should be grouped within each swimlane. Tasks with the same group value are returned adjacently in the result set.
215
+ */
216
+ export interface GroupBy {
217
+ /**
218
+ * Property to group tasks by within each swimlane
219
+ */
220
+ field: "context_entity" | "phase";
221
+ }
208
222
  /**
209
223
  * Defines how query results should be sorted. Specify a field name and sort direction.
210
224
  */
@@ -283,7 +297,7 @@ declare namespace Paths {
283
297
  }
284
298
  }
285
299
  namespace ExecuteFlowsQuery {
286
- export type RequestBody = /* Request payload for executing a query against the Flows dataset. Supports filter conditions, sorting, and offset-based pagination. */ Components.Schemas.FlowsQueryRequest;
300
+ export type RequestBody = /* Request payload for executing a query against the Flows dataset. Supports filter conditions, sorting, grouping, and offset-based pagination. */ Components.Schemas.FlowsQueryRequest;
287
301
  namespace Responses {
288
302
  export type $200 = /* Paginated result set returned from a Flows query. Each item in `results` is a workflow task record with dynamic fields depending on the dataset configuration. */ Components.Schemas.FlowsQueryResult;
289
303
  export type $400 = /* Standard error response */ Components.Schemas.Error;
@@ -738,8 +752,9 @@ type FilterItem = Components.Schemas.FilterItem;
738
752
  type FilterOperator = Components.Schemas.FilterOperator;
739
753
  type FlowsQueryRequest = Components.Schemas.FlowsQueryRequest;
740
754
  type FlowsQueryResult = Components.Schemas.FlowsQueryResult;
755
+ type GroupBy = Components.Schemas.GroupBy;
741
756
  type Sorting = Components.Schemas.Sorting;
742
757
  type Swimlane = Components.Schemas.Swimlane;
743
758
  type ValueType = Components.Schemas.ValueType;
744
759
 
745
- export { type Board as B, type Client as C, type DynamicDateValue as D, type Error as E, type FilterGroup as F, type OperationMethods as O, Paths as P, type Sorting as S, type ValueType as V, Components as a, type PathsDictionary as b, type BoardFilter as c, type BoardSummary as d, type FilterItem as e, type FilterOperator as f, type FlowsQueryRequest as g, type FlowsQueryResult as h, type Swimlane as i };
760
+ export { type Board as B, type Client as C, type DynamicDateValue as D, type Error as E, type FilterGroup as F, type GroupBy as G, type OperationMethods as O, Paths as P, type Sorting as S, type ValueType as V, Components as a, type PathsDictionary as b, type BoardFilter as c, type BoardSummary as d, type FilterItem as e, type FilterOperator as f, type FlowsQueryRequest as g, type FlowsQueryResult as h, type Swimlane as i };
@@ -43,6 +43,7 @@ declare namespace Components {
43
43
  };
44
44
  board_filter?: /* A filter group containing one or more filter items or nested filter groups. Items are combined using the specified logical operator (AND/OR). */ BoardFilter;
45
45
  sorting?: /* Defines how query results should be sorted. Specify a field name and sort direction. */ Sorting;
46
+ group_by?: /* Defines how tasks should be grouped within each swimlane. Tasks with the same group value are returned adjacently in the result set. */ GroupBy;
46
47
  /**
47
48
  * example:
48
49
  * task 1
@@ -145,7 +146,7 @@ declare namespace Components {
145
146
  */
146
147
  export type FilterOperator = "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL";
147
148
  /**
148
- * Request payload for executing a query against the Flows dataset. Supports filter conditions, sorting, and offset-based pagination.
149
+ * Request payload for executing a query against the Flows dataset. Supports filter conditions, sorting, grouping, and offset-based pagination.
149
150
  */
150
151
  export interface FlowsQueryRequest {
151
152
  /**
@@ -156,6 +157,10 @@ declare namespace Components {
156
157
  * Sort the results by a specific field and direction.
157
158
  */
158
159
  sorting?: /* Defines how query results should be sorted. Specify a field name and sort direction. */ Sorting;
160
+ /**
161
+ * Group tasks by a shared property within each swimlane. Grouped tasks are returned adjacently in the result set.
162
+ */
163
+ group_by?: /* Defines how tasks should be grouped within each swimlane. Tasks with the same group value are returned adjacently in the result set. */ GroupBy;
159
164
  /**
160
165
  * Zero-based offset for pagination. Use with `size` to paginate through results.
161
166
  * example:
@@ -205,6 +210,15 @@ declare namespace Components {
205
210
  */
206
211
  total_pages?: number;
207
212
  }
213
+ /**
214
+ * Defines how tasks should be grouped within each swimlane. Tasks with the same group value are returned adjacently in the result set.
215
+ */
216
+ export interface GroupBy {
217
+ /**
218
+ * Property to group tasks by within each swimlane
219
+ */
220
+ field: "context_entity" | "phase";
221
+ }
208
222
  /**
209
223
  * Defines how query results should be sorted. Specify a field name and sort direction.
210
224
  */
@@ -283,7 +297,7 @@ declare namespace Paths {
283
297
  }
284
298
  }
285
299
  namespace ExecuteFlowsQuery {
286
- export type RequestBody = /* Request payload for executing a query against the Flows dataset. Supports filter conditions, sorting, and offset-based pagination. */ Components.Schemas.FlowsQueryRequest;
300
+ export type RequestBody = /* Request payload for executing a query against the Flows dataset. Supports filter conditions, sorting, grouping, and offset-based pagination. */ Components.Schemas.FlowsQueryRequest;
287
301
  namespace Responses {
288
302
  export type $200 = /* Paginated result set returned from a Flows query. Each item in `results` is a workflow task record with dynamic fields depending on the dataset configuration. */ Components.Schemas.FlowsQueryResult;
289
303
  export type $400 = /* Standard error response */ Components.Schemas.Error;
@@ -738,8 +752,9 @@ type FilterItem = Components.Schemas.FilterItem;
738
752
  type FilterOperator = Components.Schemas.FilterOperator;
739
753
  type FlowsQueryRequest = Components.Schemas.FlowsQueryRequest;
740
754
  type FlowsQueryResult = Components.Schemas.FlowsQueryResult;
755
+ type GroupBy = Components.Schemas.GroupBy;
741
756
  type Sorting = Components.Schemas.Sorting;
742
757
  type Swimlane = Components.Schemas.Swimlane;
743
758
  type ValueType = Components.Schemas.ValueType;
744
759
 
745
- export { type Board as B, type Client as C, type DynamicDateValue as D, type Error as E, type FilterGroup as F, type OperationMethods as O, Paths as P, type Sorting as S, type ValueType as V, Components as a, type PathsDictionary as b, type BoardFilter as c, type BoardSummary as d, type FilterItem as e, type FilterOperator as f, type FlowsQueryRequest as g, type FlowsQueryResult as h, type Swimlane as i };
760
+ export { type Board as B, type Client as C, type DynamicDateValue as D, type Error as E, type FilterGroup as F, type GroupBy as G, type OperationMethods as O, Paths as P, type Sorting as S, type ValueType as V, Components as a, type PathsDictionary as b, type BoardFilter as c, type BoardSummary as d, type FilterItem as e, type FilterOperator as f, type FlowsQueryRequest as g, type FlowsQueryResult as h, type Swimlane as i };
@@ -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 with portal id
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