@epilot/sdk 2.3.7-rc1 → 2.3.8

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 (150) hide show
  1. package/definitions/design.json +257 -4
  2. package/definitions/entity-runtime.json +1 -1
  3. package/definitions/entity.json +4 -354
  4. package/definitions/message-runtime.json +1 -1
  5. package/definitions/message.json +12 -2
  6. package/dist/apis/access-token.cjs +6 -6
  7. package/dist/apis/access-token.js +1 -1
  8. package/dist/apis/address-suggestions.cjs +6 -6
  9. package/dist/apis/address-suggestions.js +1 -1
  10. package/dist/apis/address.cjs +6 -6
  11. package/dist/apis/address.js +1 -1
  12. package/dist/apis/ai-agents.cjs +6 -6
  13. package/dist/apis/ai-agents.js +1 -1
  14. package/dist/apis/app.cjs +6 -6
  15. package/dist/apis/app.js +1 -1
  16. package/dist/apis/audit-logs.cjs +6 -6
  17. package/dist/apis/audit-logs.js +1 -1
  18. package/dist/apis/automation.cjs +6 -6
  19. package/dist/apis/automation.js +1 -1
  20. package/dist/apis/billing.cjs +6 -6
  21. package/dist/apis/billing.js +1 -1
  22. package/dist/apis/blueprint-manifest.cjs +6 -6
  23. package/dist/apis/blueprint-manifest.js +1 -1
  24. package/dist/apis/configuration-hub.cjs +6 -6
  25. package/dist/apis/configuration-hub.js +1 -1
  26. package/dist/apis/consent.cjs +6 -6
  27. package/dist/apis/consent.js +1 -1
  28. package/dist/apis/customer-portal.cjs +6 -6
  29. package/dist/apis/customer-portal.js +1 -1
  30. package/dist/apis/dashboard.cjs +6 -6
  31. package/dist/apis/dashboard.js +1 -1
  32. package/dist/apis/data-governance.cjs +6 -6
  33. package/dist/apis/data-governance.js +1 -1
  34. package/dist/apis/deduplication.cjs +6 -6
  35. package/dist/apis/deduplication.js +1 -1
  36. package/dist/apis/design.cjs +6 -6
  37. package/dist/apis/design.d.cts +2 -2
  38. package/dist/apis/design.d.ts +2 -2
  39. package/dist/apis/design.js +1 -1
  40. package/dist/apis/document.cjs +6 -6
  41. package/dist/apis/document.js +1 -1
  42. package/dist/apis/email-settings.cjs +6 -6
  43. package/dist/apis/email-settings.js +1 -1
  44. package/dist/apis/email-template.cjs +6 -6
  45. package/dist/apis/email-template.js +1 -1
  46. package/dist/apis/entity-mapping.cjs +6 -6
  47. package/dist/apis/entity-mapping.js +1 -1
  48. package/dist/apis/entity.cjs +8 -8
  49. package/dist/apis/entity.js +2 -2
  50. package/dist/apis/environments.cjs +6 -6
  51. package/dist/apis/environments.js +1 -1
  52. package/dist/apis/event-catalog.cjs +6 -6
  53. package/dist/apis/event-catalog.js +1 -1
  54. package/dist/apis/file.cjs +6 -6
  55. package/dist/apis/file.js +1 -1
  56. package/dist/apis/iban.cjs +6 -6
  57. package/dist/apis/iban.js +1 -1
  58. package/dist/apis/integration-toolkit.cjs +6 -6
  59. package/dist/apis/integration-toolkit.js +1 -1
  60. package/dist/apis/journey.cjs +6 -6
  61. package/dist/apis/journey.js +1 -1
  62. package/dist/apis/kanban.cjs +6 -6
  63. package/dist/apis/kanban.js +1 -1
  64. package/dist/apis/message.cjs +8 -8
  65. package/dist/apis/message.d.cts +2 -2
  66. package/dist/apis/message.d.ts +2 -2
  67. package/dist/apis/message.js +2 -2
  68. package/dist/apis/metering.cjs +6 -6
  69. package/dist/apis/metering.js +1 -1
  70. package/dist/apis/notes.cjs +6 -6
  71. package/dist/apis/notes.js +1 -1
  72. package/dist/apis/notification.cjs +6 -6
  73. package/dist/apis/notification.js +1 -1
  74. package/dist/apis/organization.cjs +6 -6
  75. package/dist/apis/organization.js +1 -1
  76. package/dist/apis/partner-directory.cjs +6 -6
  77. package/dist/apis/partner-directory.js +1 -1
  78. package/dist/apis/permissions.cjs +6 -6
  79. package/dist/apis/permissions.js +1 -1
  80. package/dist/apis/pricing-tier.cjs +6 -6
  81. package/dist/apis/pricing-tier.js +1 -1
  82. package/dist/apis/pricing.cjs +6 -6
  83. package/dist/apis/pricing.js +1 -1
  84. package/dist/apis/purpose.cjs +6 -6
  85. package/dist/apis/purpose.js +1 -1
  86. package/dist/apis/query.cjs +6 -6
  87. package/dist/apis/query.js +1 -1
  88. package/dist/apis/sandbox.cjs +6 -6
  89. package/dist/apis/sandbox.js +1 -1
  90. package/dist/apis/sharing.cjs +6 -6
  91. package/dist/apis/sharing.js +1 -1
  92. package/dist/apis/submission.cjs +6 -6
  93. package/dist/apis/submission.js +1 -1
  94. package/dist/apis/target.cjs +6 -6
  95. package/dist/apis/target.js +1 -1
  96. package/dist/apis/targeting.cjs +6 -6
  97. package/dist/apis/targeting.js +1 -1
  98. package/dist/apis/template-variables.cjs +6 -6
  99. package/dist/apis/template-variables.js +1 -1
  100. package/dist/apis/user.cjs +6 -6
  101. package/dist/apis/user.js +1 -1
  102. package/dist/apis/validation-rules.cjs +6 -6
  103. package/dist/apis/validation-rules.js +1 -1
  104. package/dist/apis/webhooks.cjs +6 -6
  105. package/dist/apis/webhooks.js +1 -1
  106. package/dist/apis/workflow-definition.cjs +6 -6
  107. package/dist/apis/workflow-definition.js +1 -1
  108. package/dist/apis/workflow.cjs +6 -6
  109. package/dist/apis/workflow.js +1 -1
  110. package/dist/bin/cli.js +1 -1
  111. package/dist/{chunk-FCT6W5UM.cjs → chunk-6DZXWV2A.cjs} +5 -5
  112. package/dist/{chunk-OU5NVIJW.js → chunk-7TFVO6SP.js} +5 -5
  113. package/dist/{chunk-77JS7NDM.cjs → chunk-DUHAG5CO.cjs} +1 -1
  114. package/dist/chunk-F7W62NKV.js +14 -0
  115. package/dist/{chunk-DLYPVF4U.js → chunk-FAZ63FEX.js} +1 -1
  116. package/dist/chunk-QA2OYK7N.cjs +14 -0
  117. package/dist/design-DROLIWS3.js +7 -0
  118. package/dist/design-XZKOZLTR.cjs +7 -0
  119. package/dist/design.d-BRre8iLg.d.cts +2346 -0
  120. package/dist/design.d-BRre8iLg.d.ts +2346 -0
  121. package/dist/entity-CK76MXVN.js +7 -0
  122. package/dist/entity-TFMH5VTZ.cjs +7 -0
  123. package/dist/{entity-runtime-LNAZILIN.js → entity-runtime-D4DV5XRM.js} +1 -1
  124. package/dist/entity-runtime-DUJTRYLQ.cjs +5 -0
  125. package/dist/index.cjs +12 -12
  126. package/dist/index.d.cts +2 -2
  127. package/dist/index.d.ts +2 -2
  128. package/dist/index.js +3 -3
  129. package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
  130. package/dist/message-6IFCB7GH.js +7 -0
  131. package/dist/message-7LNAFKKV.cjs +7 -0
  132. package/dist/{message-runtime-CGFCT6FU.cjs → message-runtime-JSZCNCNU.cjs} +2 -2
  133. package/dist/{message-runtime-XDCFFLYK.js → message-runtime-XOQ5EJN6.js} +1 -1
  134. package/dist/{message.d-D3QUkBjg.d.ts → message.d-B5UuSqgw.d.cts} +9 -3
  135. package/dist/{message.d-D3QUkBjg.d.cts → message.d-B5UuSqgw.d.ts} +9 -3
  136. package/docs/design.md +665 -341
  137. package/docs/entity.md +39 -965
  138. package/docs/message.md +2 -1
  139. package/package.json +1 -1
  140. package/dist/chunk-M6Z6ES3I.js +0 -14
  141. package/dist/chunk-UBQCDPW6.cjs +0 -14
  142. package/dist/design-NISDHPFD.cjs +0 -7
  143. package/dist/design-WL4AZIGX.js +0 -7
  144. package/dist/design.d-DTo29S0F.d.cts +0 -960
  145. package/dist/design.d-DTo29S0F.d.ts +0 -960
  146. package/dist/entity-VDUN7SYC.cjs +0 -7
  147. package/dist/entity-WWM2Z7BU.js +0 -7
  148. package/dist/entity-runtime-3J5EDLXP.cjs +0 -5
  149. package/dist/message-HCA2KSH6.js +0 -7
  150. package/dist/message-J2SFQJNB.cjs +0 -7
@@ -0,0 +1,14 @@
1
+ import {
2
+ __commonJS
3
+ } from "./chunk-YPSWSI3M.js";
4
+
5
+ // src/definitions/entity-runtime.json
6
+ var require_entity_runtime = __commonJS({
7
+ "src/definitions/entity-runtime.json"(exports, module) {
8
+ module.exports = { s: "https://entity.sls.epilot.io", o: [["listSchemas", "get", "/v1/entity/schemas", [["unpublished", "q"], ["latest", "q"], ["exclude", "q", false, "form", false], ["include", "q", false, "form", false]]], ["listSchemasV2", "get", "/v2/entity/schemas", [["full", "q"], ["unpublished", "q"], ["latest", "q"], ["exclude", "q", false, "form", false], ["include", "q", false, "form", false]]], ["getSchema", "get", "/v1/entity/schemas/{slug}", [["EntitySlugPathParam"], ["id", "q"], ["latest", "q"]]], ["putSchema", "put", "/v1/entity/schemas/{slug}", [["EntitySlugPathParam"], ["draft", "q"]], 1], ["deleteSchema", "delete", "/v1/entity/schemas/{slug}", [["EntitySlugPathParam"]]], ["getJsonSchema", "get", "/v1/entity/schemas/{slug}/json/schema", [["EntitySlugPathParam"], ["dereference", "q"]]], ["getSchemaExample", "get", "/v1/entity/schemas/{slug}/json/example", [["EntitySlugPathParam"]]], ["getSchemaVersions", "get", "/v1/entity/schemas/{slug}/versions", [["EntitySlugPathParam"], ["versions_from", "q"], ["versions_size", "q"], ["drafts_from", "q"], ["drafts_size", "q"], ["fields", "q", false, "form", false]]], ["freezeSchema", "post", "/v1/entity/schemas/{slug}/freeze", [["EntitySlugPathParam"]], 1], ["unfreezeSchema", "post", "/v1/entity/schemas/{slug}/unfreeze", [["EntitySlugPathParam"]]], ["listAvailableCapabilities", "get", "/v1/entity/schemas/{slug}/capabilities/available", [["EntitySlugPathParam"]]], ["listSchemaBlueprints", "get", "/v1/entity/schemas/blueprints"], ["searchEntities", "post", "/v1/entity:search", null, 1], ["listEntities", "post", "/v1/entity:list", null, 1], ["queryEntityGraph", "post", "/v1/entity:graph", null, 1], ["createEntity", "post", "/v1/entity/{slug}", [["EntitySlugPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"]], 1], ["validateEntity", "post", "/v1/entity/{slug}:validate", [["EntitySlugPathPriceParam"]], 1], ["validateEntityV2", "post", "/v2/entity/{slug}:validate", [["EntitySlugPathPriceParam"]], 1], ["upsertEntity", "patch", "/v1/entity/{slug}:upsert", [["EntitySlugPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["DryRunQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"], ["strict", "q"]], 1], ["getEntityV2", "get", "/v2/entity/{slug}/{id}", [["EntityIdPathParam"], ["EntitySlugPathParam"], ["HydrateEntitiesQueryParam"], ["fields", "q", false, "form", false]]], ["restoreEntity", "patch", "/v1/entity/{slug}/{id}:restore", [["EntityIdPathParam"], ["EntitySlugPathParam"], ["ActivityIdQueryParam"]], 1], ["reindexEntity", "post", "/v1/entity/{slug}/{id}:reindex", [["EntityIdPathParam"], ["EntitySlugPathParam"]], 1], ["getEntity", "get", "/v1/entity/{slug}/{id}", [["EntityIdPathParam"], ["EntitySlugPathParam"], ["HydrateEntitiesQueryParam"]]], ["updateEntity", "put", "/v1/entity/{slug}/{id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"]], 1], ["patchEntity", "patch", "/v1/entity/{slug}/{id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["DryRunQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"]], 1], ["deleteEntity", "delete", "/v1/entity/{slug}/{id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ActivityIdQueryParam"], ["purge", "q"]]], ["autocomplete", "get", "/v1/entity:autocomplete", [["input", "q"], ["attribute", "q", true], ["slug", "q"], ["size", "q"]]], ["wipeAllEntities", "post", "/v1/entity:wipeAllEntities", null, 1], ["createActivity", "post", "/v1/entity/activity", [["entities", "q", false, "form", false]], 1], ["getActivity", "get", "/v1/entity/activity/{id}", [["ActivityIdPathParam"], ["operations_size", "q"], ["operations_from", "q"]]], ["attachActivity", "post", "/v1/entity/activity/{id}:attach", [["ActivityIdPathParam"], ["entities", "q", false, "form", false]]], ["getEntityActivityFeed", "get", "/v1/entity/{slug}/{id}/activity", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["after", "q"], ["before", "q"], ["start_date", "q"], ["end_date", "q"], ["preset_range", "q"], ["FromPageQueryParam"], ["size", "q"], ["type", "q", false, "form", false], ["include_relations", "q"], ["exclude_activity_groups", "q"]]], ["getRelations", "get", "/v1/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["HydrateEntitiesQueryParam"], ["IncludeReverseQueryParam"], ["FromPageQueryParam"], ["size", "q"], ["IncludeSchemasQueryParam"], ["ExcludeSchemasQueryParam"]]], ["addRelations", "post", "/v1/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]], 1], ["removeRelations", "delete", "/v1/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]], 1], ["getRelationsV2", "get", "/v2/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["HydrateEntitiesQueryParam"], ["query", "q"], ["IncludeReverseQueryParam"], ["FromPageQueryParam"], ["size", "q"], ["fields", "q"]]], ["getRelationsV3", "get", "/v3/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["HydrateEntitiesQueryParam"], ["IncludeReverseDeprecatedQueryParam"], ["FromPageQueryParam"], ["size", "q"], ["IncludeSchemasQueryParam"], ["ExcludeSchemasQueryParam"], ["EntityRelationsModeQueryParam"], ["fields", "q"], ["include_deleted", "q"]]], ["getRelatedEntitiesCount", "get", "/v2/entity/{slug}/{id}/relations/count", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ExcludeSchemasQueryParam"]]], ["updateRelation", "put", "/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["attribute", "p", true], ["entity_id", "p", true], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]], 1], ["deleteRelation", "delete", "/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["attribute", "p", true], ["entity_id", "p", true], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]]], ["exportEntities", "post", "/v1/entity:export", [["job_id", "q"], ["is_template", "q"], ["language", "q"]], 1], ["importEntities", "post", "/v1/entity:import", [["job_id", "q"]], 1], ["listSavedViews", "get", "/v1/entity/views", [["slug", "q"], ["sort", "q"], ["from", "q"], ["size", "q"], ["fields", "q"]]], ["createSavedView", "post", "/v1/entity/view", null, 1], ["getSavedView", "get", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]]], ["updateSavedView", "put", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]], 1], ["patchSavedView", "patch", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]], 1], ["deleteSavedView", "delete", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]]], ["listFavoriteViewsForUser", "get", "/v1/entity/views/favorites"], ["listTaxonomies", "get", "/v1/entity/taxonomies", [["include_disabled", "q"], ["type", "q"]]], ["createTaxonomy", "post", "/v1/entity/taxonomies", null, 1], ["getTaxonomy", "get", "/v1/entity/taxonomies/{taxonomySlug}", [["TaxonomySlugPathParam"]]], ["updateTaxonomy", "put", "/v1/entity/taxonomies/{taxonomySlug}", [["TaxonomySlugPathParam"]], 1], ["deleteTaxonomy", "delete", "/v1/entity/taxonomies/{taxonomySlug}", [["TaxonomySlugPathParam"], ["permanent", "q"]]], ["updateClassificationsForTaxonomy", "post", "/v1/entity/taxonomies/{taxonomySlug}/classifications", [["TaxonomySlugPathParam"]], 1], ["createTaxonomyClassification", "post", "/v2/entity/taxonomies/classifications", null, 1], ["getTaxonomyClassification", "get", "/v2/entity/taxonomies/classifications/{classificationSlug}", [["TaxonomyClassificationSlugPathParam"]]], ["updateTaxonomyClassification", "put", "/v2/entity/taxonomies/classifications/{classificationSlug}", [["TaxonomyClassificationSlugPathParam"]], 1], ["deleteTaxonomyClassification", "delete", "/v2/entity/taxonomies/classifications/{classificationSlug}", [["TaxonomyClassificationSlugPathParam"]]], ["taxonomyAutocomplete", "get", "/v1/entity/taxonomies/{taxonomySlug}:autocomplete", [["TaxonomySlugPathParam"], ["query", "q"], ["size", "q"]]], ["taxonomiesClassificationsSearch", "post", "/v1/entity/taxonomies/classifications:search", [["taxonomySlug", "q"], ["query", "q"], ["archived", "q"], ["include_archived", "q"], ["exclude_types", "q"]], 1], ["listTaxonomyClassificationsForSchema", "get", "/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}", [["EntitySlugPathParam"], ["TaxonomySlugPathParam"], ["query", "q"], ["size", "q"]]], ["getTaxonomyBulkActionJobs", "get", "/v1/entity/taxonomies/bulk-jobs", [["status", "q"], ["size", "q"], ["created_after", "q"], ["sort_pending_first", "q"], ["scope", "q"]]], ["getTaxonomyBulkActionJobById", "get", "/v1/entity/taxonomies/bulk-jobs/{job_id}", [["job_id", "p", true]]], ["cancelBulkAction", "post", "/v1/entity/taxonomies/bulk-jobs/{job_id}/cancel", [["job_id", "p", true]]], ["bulkMoveClassifications", "post", "/v1/entity/taxonomies/classifications:move", null, 1], ["bulkMergeClassifications", "post", "/v1/entity/taxonomies/classifications:merge", null, 1], ["bulkDeleteClassifications", "post", "/v1/entity/taxonomies/classifications:delete", null, 1], ["createSchemaAttribute", "post", "/v1/entity/schemas/attributes", null, 1], ["getSchemaAttribute", "get", "/v1/entity/schemas/attributes/{composite_id}", [["composite_id", "p", true]]], ["putSchemaAttribute", "put", "/v1/entity/schemas/attributes/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaAttribute", "delete", "/v1/entity/schemas/attributes/{composite_id}", [["composite_id", "p", true]]], ["createSchemaCapability", "post", "/v1/entity/schemas/capabilities", null, 1], ["getSchemaCapability", "get", "/v1/entity/schemas/capabilities/{composite_id}", [["composite_id", "p", true]]], ["putSchemaCapability", "put", "/v1/entity/schemas/capabilities/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaCapability", "delete", "/v1/entity/schemas/capabilities/{composite_id}", [["composite_id", "p", true]]], ["createSchemaGroup", "post", "/v1/entity/schemas/group", null, 1], ["getSchemaGroup", "get", "/v1/entity/schemas/group/{composite_id}", [["composite_id", "p", true]]], ["putSchemaGroup", "put", "/v1/entity/schemas/group/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaGroup", "delete", "/v1/entity/schemas/group/{composite_id}", [["composite_id", "p", true]]], ["createSchemaGroupHeadline", "post", "/v1/entity/schemas/headline", null, 1], ["getSchemaGroupHeadline", "get", "/v1/entity/schemas/headline/{composite_id}", [["composite_id", "p", true]]], ["putSchemaGroupHeadline", "put", "/v1/entity/schemas/headline/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaGroupHeadline", "delete", "/v1/entity/schemas/headline/{composite_id}", [["composite_id", "p", true]]]], cp: { EntityIdPathParam: ["id", "p", true], EntitySlugPathParam: ["slug", "p", true], EntitySlugPathPriceParam: ["slug", "p", true], TaxonomySlugQueryParam: ["taxonomySlug", "q", true], TaxonomySlugPathParam: ["taxonomySlug", "p", true], TaxonomySlugQueryParamOptional: ["taxonomySlug", "q"], TaxonomyClassificationSlugPathParam: ["classificationSlug", "p", true], SavedViewIdPathParam: ["id", "p", true], AsyncOperationQueryParam: ["async", "q"], HydrateEntitiesQueryParam: ["hydrate", "q"], ActivityIdQueryParam: ["activity_id", "q"], ActivityIdPathParam: ["id", "p", true], FromPageQueryParam: ["from", "q"], IncludeReverseDeprecatedQueryParam: ["include_reverse", "q"], IncludeReverseQueryParam: ["include_reverse", "q"], IncludeSchemasQueryParam: ["include_schemas", "q", false, "form", false], ExcludeSchemasQueryParam: ["exclude_schemas", "q", false, "form", false], EntityRelationsModeQueryParam: ["mode", "q"], DryRunQueryParam: ["dry_run", "q"], FillActivityQueryParam: ["fill_activity", "q"], ValidateEntityQueryParam: ["validate", "q"] } };
9
+ }
10
+ });
11
+
12
+ export {
13
+ require_entity_runtime
14
+ };
@@ -5,7 +5,7 @@ import {
5
5
  // src/definitions/message-runtime.json
6
6
  var require_message_runtime = __commonJS({
7
7
  "src/definitions/message-runtime.json"(exports, module) {
8
- module.exports = { s: "https://message.sls.epilot.io", o: [["sendMessage", "post", "/v1/message/messages", [["do_not_create_entities", "q"]], 1], ["updateMessage", "put", "/v1/message/messages"], ["getMessage", "get", "/v1/message/messages/{id}", [["id", "p", true]]], ["deleteMessage", "delete", "/v1/message/messages/{id}", [["id", "p", true]]], ["getMessageEml", "get", "/v1/message/messages/{id}/eml", [["id", "p", true]]], ["searchMessages", "post", "/v1/message/messages:search", null, 1], ["trashMessage", "post", "/v1/message/messages/{id}/trash", [["id", "p", true]]], ["untrashMessage", "post", "/v1/message/messages/{id}/untrash", [["id", "p", true]]], ["markReadMessage", "post", "/v1/message/messages/{id}/read", [["id", "p", true]]], ["markReadMessageV2", "post", "/v2/message/messages/{id}/read", [["id", "p", true]], 1], ["markUnreadMessage", "post", "/v1/message/messages/{id}/unread", [["id", "p", true]]], ["getUnread", "get", "/v1/message/messages/unread/{actor}", [["actor", "p", true], ["email_filter", "q"]]], ["markUnreadMessageV2", "post", "/v2/message/messages/{id}/unread", [["id", "p", true]], 1], ["searchThreads", "post", "/v1/message/threads:search", null, 1], ["searchThreadsV2", "post", "/v2/message/threads:search", null, 1], ["searchIds", "post", "/v1/message/threads:searchIds", null, 1], ["updateThread", "put", "/v1/message/threads"], ["deleteThread", "delete", "/v1/message/threads/{id}", [["id", "p", true]]], ["moveThread", "post", "/v1/message/threads/{id}:move", [["id", "p", true]], 1], ["markThreadAsDone", "post", "/v1/message/threads/{id}:markAsDone", [["id", "p", true]]], ["markThreadAsOpen", "post", "/v1/message/threads/{id}:markAsOpen", [["id", "p", true]]], ["getThreadTimeline", "get", "/v1/message/threads/{id}/timeline", [["id", "p", true]]], ["trashThread", "post", "/v1/message/threads/{id}/trash", [["id", "p", true]]], ["untrashThread", "post", "/v1/message/threads/{id}/untrash", [["id", "p", true]]], ["spamThread", "post", "/v1/message/threads/{id}/spam", [["id", "p", true]]], ["unspamThread", "post", "/v1/message/threads/{id}/unspam", [["id", "p", true]]], ["spamMessage", "post", "/v1/message/messages/{id}/spam", [["id", "p", true]]], ["unspamMessage", "post", "/v1/message/messages/{id}/unspam", [["id", "p", true]]], ["bulkMoveThreads", "post", "/v1/message/threads/bulk:move", null, 1], ["bulkAssignThreads", "post", "/v1/message/threads/bulk:assign", null, 1], ["threadBulkActionsRead", "post", "/v1/message/threads/bulk:read", null, 1], ["threadBulkActionsUnread", "post", "/v1/message/threads/bulk:unread", null, 1], ["threadBulkActionsFavorite", "post", "/v1/message/threads/bulk:favorite", null, 1], ["threadBulkActionsUnfavorite", "post", "/v1/message/threads/bulk:unfavorite", null, 1], ["threadBulkActionsTrash", "post", "/v1/message/threads/bulk:trash", null, 1], ["threadBulkActionsUntrash", "post", "/v1/message/threads/bulk:untrash", null, 1], ["threadBulkActionsDelete", "post", "/v1/message/threads/bulk:delete", null, 1], ["threadBulkActionsDone", "post", "/v1/message/threads/bulk:done", null, 1], ["threadBulkActionsOpen", "post", "/v1/message/threads/bulk:open", null, 1], ["markReadThread", "post", "/v1/message/threads/{id}/read", [["id", "p", true]]], ["markReadThreadV2", "post", "/v2/message/threads/{id}/read", [["id", "p", true]], 1], ["markUnreadThread", "post", "/v1/message/threads/{id}/unread", [["id", "p", true]]], ["markUnreadThreadV2", "post", "/v2/message/threads/{id}/unread", [["id", "p", true]], 1], ["assignThread", "post", "/v1/message/threads/{id}/assign", [["id", "p", true]], 1], ["unassignThread", "post", "/v1/message/threads/{id}/unassign", [["id", "p", true]], 1], ["assignUsers", "post", "/v1/message/threads/{id}/assign:users", [["id", "p", true]], 1], ["assignUsersV2", "post", "/v2/message/threads/{id}/assign:users", [["id", "p", true]], 1], ["pinThread", "post", "/v1/message/threads/{id}:pin", [["id", "p", true]]], ["unpinThread", "delete", "/v1/message/threads/{id}:pin", [["id", "p", true]]], ["createDraft", "post", "/v1/message/drafts", null, 1], ["sendDraft", "post", "/v1/message/drafts:send"], ["getMessageV2", "get", "/v2/message/messages/{id}", [["id", "p", true]]]] };
8
+ module.exports = { s: "https://message.sls.epilot.io", o: [["sendMessage", "post", "/v1/message/messages", [["do_not_create_entities", "q"]], 1], ["updateMessage", "put", "/v1/message/messages"], ["getMessage", "get", "/v1/message/messages/{id}", [["id", "p", true]]], ["deleteMessage", "delete", "/v1/message/messages/{id}", [["id", "p", true]]], ["getMessageEml", "get", "/v1/message/messages/{id}/eml", [["id", "p", true]]], ["searchMessages", "post", "/v1/message/messages:search", null, 1], ["trashMessage", "post", "/v1/message/messages/{id}/trash", [["id", "p", true]]], ["untrashMessage", "post", "/v1/message/messages/{id}/untrash", [["id", "p", true]]], ["markReadMessage", "post", "/v1/message/messages/{id}/read", [["id", "p", true]]], ["markReadMessageV2", "post", "/v2/message/messages/{id}/read", [["id", "p", true]], 1], ["markUnreadMessage", "post", "/v1/message/messages/{id}/unread", [["id", "p", true]]], ["getUnread", "get", "/v1/message/messages/unread/{actor}", [["actor", "p", true], ["email_filter", "q"]]], ["markUnreadMessageV2", "post", "/v2/message/messages/{id}/unread", [["id", "p", true]], 1], ["searchThreads", "post", "/v1/message/threads:search", null, 1], ["searchThreadsV2", "post", "/v2/message/threads:search", null, 1], ["searchIds", "post", "/v1/message/threads:searchIds", null, 1], ["updateThread", "put", "/v1/message/threads"], ["deleteThread", "delete", "/v1/message/threads/{id}", [["id", "p", true]]], ["moveThread", "post", "/v1/message/threads/{id}:move", [["id", "p", true]], 1], ["markThreadAsDone", "post", "/v1/message/threads/{id}:markAsDone", [["id", "p", true]]], ["markThreadAsOpen", "post", "/v1/message/threads/{id}:markAsOpen", [["id", "p", true]]], ["getThreadTimeline", "get", "/v1/message/threads/{id}/timeline", [["id", "p", true]]], ["trashThread", "post", "/v1/message/threads/{id}/trash", [["id", "p", true]]], ["untrashThread", "post", "/v1/message/threads/{id}/untrash", [["id", "p", true]]], ["spamThread", "post", "/v1/message/threads/{id}/spam", [["id", "p", true]]], ["unspamThread", "post", "/v1/message/threads/{id}/unspam", [["id", "p", true]]], ["spamMessage", "post", "/v1/message/messages/{id}/spam", [["id", "p", true]]], ["unspamMessage", "post", "/v1/message/messages/{id}/unspam", [["id", "p", true]]], ["bulkMoveThreads", "post", "/v1/message/threads/bulk:move", null, 1], ["bulkAssignThreads", "post", "/v1/message/threads/bulk:assign", null, 1], ["threadBulkActionsRead", "post", "/v1/message/threads/bulk:read", null, 1], ["threadBulkActionsUnread", "post", "/v1/message/threads/bulk:unread", null, 1], ["threadBulkActionsFavorite", "post", "/v1/message/threads/bulk:favorite", null, 1], ["threadBulkActionsUnfavorite", "post", "/v1/message/threads/bulk:unfavorite", null, 1], ["threadBulkActionsTrash", "post", "/v1/message/threads/bulk:trash", null, 1], ["threadBulkActionsUntrash", "post", "/v1/message/threads/bulk:untrash", null, 1], ["threadBulkActionsDelete", "post", "/v1/message/threads/bulk:delete", null, 1], ["threadBulkActionsDone", "post", "/v1/message/threads/bulk:done", null, 1], ["threadBulkActionsOpen", "post", "/v1/message/threads/bulk:open", null, 1], ["markReadThread", "post", "/v1/message/threads/{id}/read", [["id", "p", true]]], ["markReadThreadV2", "post", "/v2/message/threads/{id}/read", [["id", "p", true]], 1], ["markUnreadThread", "post", "/v1/message/threads/{id}/unread", [["id", "p", true]]], ["markUnreadThreadV2", "post", "/v2/message/threads/{id}/unread", [["id", "p", true]], 1], ["assignThread", "post", "/v1/message/threads/{id}/assign", [["id", "p", true]], 1], ["unassignThread", "post", "/v1/message/threads/{id}/unassign", [["id", "p", true], ["unlink_mapped_entities", "q"]], 1], ["assignUsers", "post", "/v1/message/threads/{id}/assign:users", [["id", "p", true]], 1], ["assignUsersV2", "post", "/v2/message/threads/{id}/assign:users", [["id", "p", true]], 1], ["pinThread", "post", "/v1/message/threads/{id}:pin", [["id", "p", true]]], ["unpinThread", "delete", "/v1/message/threads/{id}:pin", [["id", "p", true]]], ["createDraft", "post", "/v1/message/drafts", null, 1], ["sendDraft", "post", "/v1/message/drafts:send"], ["getMessageV2", "get", "/v2/message/messages/{id}", [["id", "p", true]]]] };
9
9
  }
10
10
  });
11
11
 
@@ -0,0 +1,14 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
4
+
5
+ // src/definitions/entity-runtime.json
6
+ var require_entity_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
7
+ "src/definitions/entity-runtime.json"(exports, module) {
8
+ module.exports = { s: "https://entity.sls.epilot.io", o: [["listSchemas", "get", "/v1/entity/schemas", [["unpublished", "q"], ["latest", "q"], ["exclude", "q", false, "form", false], ["include", "q", false, "form", false]]], ["listSchemasV2", "get", "/v2/entity/schemas", [["full", "q"], ["unpublished", "q"], ["latest", "q"], ["exclude", "q", false, "form", false], ["include", "q", false, "form", false]]], ["getSchema", "get", "/v1/entity/schemas/{slug}", [["EntitySlugPathParam"], ["id", "q"], ["latest", "q"]]], ["putSchema", "put", "/v1/entity/schemas/{slug}", [["EntitySlugPathParam"], ["draft", "q"]], 1], ["deleteSchema", "delete", "/v1/entity/schemas/{slug}", [["EntitySlugPathParam"]]], ["getJsonSchema", "get", "/v1/entity/schemas/{slug}/json/schema", [["EntitySlugPathParam"], ["dereference", "q"]]], ["getSchemaExample", "get", "/v1/entity/schemas/{slug}/json/example", [["EntitySlugPathParam"]]], ["getSchemaVersions", "get", "/v1/entity/schemas/{slug}/versions", [["EntitySlugPathParam"], ["versions_from", "q"], ["versions_size", "q"], ["drafts_from", "q"], ["drafts_size", "q"], ["fields", "q", false, "form", false]]], ["freezeSchema", "post", "/v1/entity/schemas/{slug}/freeze", [["EntitySlugPathParam"]], 1], ["unfreezeSchema", "post", "/v1/entity/schemas/{slug}/unfreeze", [["EntitySlugPathParam"]]], ["listAvailableCapabilities", "get", "/v1/entity/schemas/{slug}/capabilities/available", [["EntitySlugPathParam"]]], ["listSchemaBlueprints", "get", "/v1/entity/schemas/blueprints"], ["searchEntities", "post", "/v1/entity:search", null, 1], ["listEntities", "post", "/v1/entity:list", null, 1], ["queryEntityGraph", "post", "/v1/entity:graph", null, 1], ["createEntity", "post", "/v1/entity/{slug}", [["EntitySlugPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"]], 1], ["validateEntity", "post", "/v1/entity/{slug}:validate", [["EntitySlugPathPriceParam"]], 1], ["validateEntityV2", "post", "/v2/entity/{slug}:validate", [["EntitySlugPathPriceParam"]], 1], ["upsertEntity", "patch", "/v1/entity/{slug}:upsert", [["EntitySlugPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["DryRunQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"], ["strict", "q"]], 1], ["getEntityV2", "get", "/v2/entity/{slug}/{id}", [["EntityIdPathParam"], ["EntitySlugPathParam"], ["HydrateEntitiesQueryParam"], ["fields", "q", false, "form", false]]], ["restoreEntity", "patch", "/v1/entity/{slug}/{id}:restore", [["EntityIdPathParam"], ["EntitySlugPathParam"], ["ActivityIdQueryParam"]], 1], ["reindexEntity", "post", "/v1/entity/{slug}/{id}:reindex", [["EntityIdPathParam"], ["EntitySlugPathParam"]], 1], ["getEntity", "get", "/v1/entity/{slug}/{id}", [["EntityIdPathParam"], ["EntitySlugPathParam"], ["HydrateEntitiesQueryParam"]]], ["updateEntity", "put", "/v1/entity/{slug}/{id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"]], 1], ["patchEntity", "patch", "/v1/entity/{slug}/{id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["DryRunQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"]], 1], ["deleteEntity", "delete", "/v1/entity/{slug}/{id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ActivityIdQueryParam"], ["purge", "q"]]], ["autocomplete", "get", "/v1/entity:autocomplete", [["input", "q"], ["attribute", "q", true], ["slug", "q"], ["size", "q"]]], ["wipeAllEntities", "post", "/v1/entity:wipeAllEntities", null, 1], ["createActivity", "post", "/v1/entity/activity", [["entities", "q", false, "form", false]], 1], ["getActivity", "get", "/v1/entity/activity/{id}", [["ActivityIdPathParam"], ["operations_size", "q"], ["operations_from", "q"]]], ["attachActivity", "post", "/v1/entity/activity/{id}:attach", [["ActivityIdPathParam"], ["entities", "q", false, "form", false]]], ["getEntityActivityFeed", "get", "/v1/entity/{slug}/{id}/activity", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["after", "q"], ["before", "q"], ["start_date", "q"], ["end_date", "q"], ["preset_range", "q"], ["FromPageQueryParam"], ["size", "q"], ["type", "q", false, "form", false], ["include_relations", "q"], ["exclude_activity_groups", "q"]]], ["getRelations", "get", "/v1/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["HydrateEntitiesQueryParam"], ["IncludeReverseQueryParam"], ["FromPageQueryParam"], ["size", "q"], ["IncludeSchemasQueryParam"], ["ExcludeSchemasQueryParam"]]], ["addRelations", "post", "/v1/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]], 1], ["removeRelations", "delete", "/v1/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]], 1], ["getRelationsV2", "get", "/v2/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["HydrateEntitiesQueryParam"], ["query", "q"], ["IncludeReverseQueryParam"], ["FromPageQueryParam"], ["size", "q"], ["fields", "q"]]], ["getRelationsV3", "get", "/v3/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["HydrateEntitiesQueryParam"], ["IncludeReverseDeprecatedQueryParam"], ["FromPageQueryParam"], ["size", "q"], ["IncludeSchemasQueryParam"], ["ExcludeSchemasQueryParam"], ["EntityRelationsModeQueryParam"], ["fields", "q"], ["include_deleted", "q"]]], ["getRelatedEntitiesCount", "get", "/v2/entity/{slug}/{id}/relations/count", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ExcludeSchemasQueryParam"]]], ["updateRelation", "put", "/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["attribute", "p", true], ["entity_id", "p", true], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]], 1], ["deleteRelation", "delete", "/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["attribute", "p", true], ["entity_id", "p", true], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]]], ["exportEntities", "post", "/v1/entity:export", [["job_id", "q"], ["is_template", "q"], ["language", "q"]], 1], ["importEntities", "post", "/v1/entity:import", [["job_id", "q"]], 1], ["listSavedViews", "get", "/v1/entity/views", [["slug", "q"], ["sort", "q"], ["from", "q"], ["size", "q"], ["fields", "q"]]], ["createSavedView", "post", "/v1/entity/view", null, 1], ["getSavedView", "get", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]]], ["updateSavedView", "put", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]], 1], ["patchSavedView", "patch", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]], 1], ["deleteSavedView", "delete", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]]], ["listFavoriteViewsForUser", "get", "/v1/entity/views/favorites"], ["listTaxonomies", "get", "/v1/entity/taxonomies", [["include_disabled", "q"], ["type", "q"]]], ["createTaxonomy", "post", "/v1/entity/taxonomies", null, 1], ["getTaxonomy", "get", "/v1/entity/taxonomies/{taxonomySlug}", [["TaxonomySlugPathParam"]]], ["updateTaxonomy", "put", "/v1/entity/taxonomies/{taxonomySlug}", [["TaxonomySlugPathParam"]], 1], ["deleteTaxonomy", "delete", "/v1/entity/taxonomies/{taxonomySlug}", [["TaxonomySlugPathParam"], ["permanent", "q"]]], ["updateClassificationsForTaxonomy", "post", "/v1/entity/taxonomies/{taxonomySlug}/classifications", [["TaxonomySlugPathParam"]], 1], ["createTaxonomyClassification", "post", "/v2/entity/taxonomies/classifications", null, 1], ["getTaxonomyClassification", "get", "/v2/entity/taxonomies/classifications/{classificationSlug}", [["TaxonomyClassificationSlugPathParam"]]], ["updateTaxonomyClassification", "put", "/v2/entity/taxonomies/classifications/{classificationSlug}", [["TaxonomyClassificationSlugPathParam"]], 1], ["deleteTaxonomyClassification", "delete", "/v2/entity/taxonomies/classifications/{classificationSlug}", [["TaxonomyClassificationSlugPathParam"]]], ["taxonomyAutocomplete", "get", "/v1/entity/taxonomies/{taxonomySlug}:autocomplete", [["TaxonomySlugPathParam"], ["query", "q"], ["size", "q"]]], ["taxonomiesClassificationsSearch", "post", "/v1/entity/taxonomies/classifications:search", [["taxonomySlug", "q"], ["query", "q"], ["archived", "q"], ["include_archived", "q"], ["exclude_types", "q"]], 1], ["listTaxonomyClassificationsForSchema", "get", "/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}", [["EntitySlugPathParam"], ["TaxonomySlugPathParam"], ["query", "q"], ["size", "q"]]], ["getTaxonomyBulkActionJobs", "get", "/v1/entity/taxonomies/bulk-jobs", [["status", "q"], ["size", "q"], ["created_after", "q"], ["sort_pending_first", "q"], ["scope", "q"]]], ["getTaxonomyBulkActionJobById", "get", "/v1/entity/taxonomies/bulk-jobs/{job_id}", [["job_id", "p", true]]], ["cancelBulkAction", "post", "/v1/entity/taxonomies/bulk-jobs/{job_id}/cancel", [["job_id", "p", true]]], ["bulkMoveClassifications", "post", "/v1/entity/taxonomies/classifications:move", null, 1], ["bulkMergeClassifications", "post", "/v1/entity/taxonomies/classifications:merge", null, 1], ["bulkDeleteClassifications", "post", "/v1/entity/taxonomies/classifications:delete", null, 1], ["createSchemaAttribute", "post", "/v1/entity/schemas/attributes", null, 1], ["getSchemaAttribute", "get", "/v1/entity/schemas/attributes/{composite_id}", [["composite_id", "p", true]]], ["putSchemaAttribute", "put", "/v1/entity/schemas/attributes/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaAttribute", "delete", "/v1/entity/schemas/attributes/{composite_id}", [["composite_id", "p", true]]], ["createSchemaCapability", "post", "/v1/entity/schemas/capabilities", null, 1], ["getSchemaCapability", "get", "/v1/entity/schemas/capabilities/{composite_id}", [["composite_id", "p", true]]], ["putSchemaCapability", "put", "/v1/entity/schemas/capabilities/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaCapability", "delete", "/v1/entity/schemas/capabilities/{composite_id}", [["composite_id", "p", true]]], ["createSchemaGroup", "post", "/v1/entity/schemas/group", null, 1], ["getSchemaGroup", "get", "/v1/entity/schemas/group/{composite_id}", [["composite_id", "p", true]]], ["putSchemaGroup", "put", "/v1/entity/schemas/group/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaGroup", "delete", "/v1/entity/schemas/group/{composite_id}", [["composite_id", "p", true]]], ["createSchemaGroupHeadline", "post", "/v1/entity/schemas/headline", null, 1], ["getSchemaGroupHeadline", "get", "/v1/entity/schemas/headline/{composite_id}", [["composite_id", "p", true]]], ["putSchemaGroupHeadline", "put", "/v1/entity/schemas/headline/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaGroupHeadline", "delete", "/v1/entity/schemas/headline/{composite_id}", [["composite_id", "p", true]]]], cp: { EntityIdPathParam: ["id", "p", true], EntitySlugPathParam: ["slug", "p", true], EntitySlugPathPriceParam: ["slug", "p", true], TaxonomySlugQueryParam: ["taxonomySlug", "q", true], TaxonomySlugPathParam: ["taxonomySlug", "p", true], TaxonomySlugQueryParamOptional: ["taxonomySlug", "q"], TaxonomyClassificationSlugPathParam: ["classificationSlug", "p", true], SavedViewIdPathParam: ["id", "p", true], AsyncOperationQueryParam: ["async", "q"], HydrateEntitiesQueryParam: ["hydrate", "q"], ActivityIdQueryParam: ["activity_id", "q"], ActivityIdPathParam: ["id", "p", true], FromPageQueryParam: ["from", "q"], IncludeReverseDeprecatedQueryParam: ["include_reverse", "q"], IncludeReverseQueryParam: ["include_reverse", "q"], IncludeSchemasQueryParam: ["include_schemas", "q", false, "form", false], ExcludeSchemasQueryParam: ["exclude_schemas", "q", false, "form", false], EntityRelationsModeQueryParam: ["mode", "q"], DryRunQueryParam: ["dry_run", "q"], FillActivityQueryParam: ["fill_activity", "q"], ValidateEntityQueryParam: ["validate", "q"] } };
9
+ }
10
+ });
11
+
12
+
13
+
14
+ exports.require_entity_runtime = require_entity_runtime;
@@ -0,0 +1,7 @@
1
+ import "./chunk-YPSWSI3M.js";
2
+
3
+ // src/docs/design.json
4
+ var design_default = '# Design Builder API v2\n\n- **Base URL:** `https://design-builder-api.{environment}.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/design](https://docs.epilot.io/api/design)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.design.getAllDesigns(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/design\'\n\nconst designClient = getClient()\nauthorize(designClient, () => \'<token>\')\nconst { data } = await designClient.getAllDesigns(...)\n```\n\n## Operations\n\n**design-builder**\n- [`getAllDesigns`](#getalldesigns)\n- [`addDesign`](#adddesign)\n- [`getDesign`](#getdesign)\n- [`deleteDesign`](#deletedesign)\n- [`updateDesign`](#updatedesign)\n- [`getThemeFromDesign`](#getthemefromdesign)\n- [`uploadFile`](#uploadfile)\n- [`getFiles`](#getfiles)\n- [`getConsumerDesign`](#getconsumerdesign)\n- [`addConsumer`](#addconsumer)\n- [`removeConsumer`](#removeconsumer)\n\n**Schemas**\n- [`UploadFileReq`](#uploadfilereq)\n- [`UploadFileRes`](#uploadfileres)\n- [`GetFilesRes`](#getfilesres)\n- [`GetAllDesignsRes`](#getalldesignsres)\n- [`GetBrandsRes`](#getbrandsres)\n- [`AddDesignReq`](#adddesignreq)\n- [`AddDesignRes`](#adddesignres)\n- [`GetDesignRes`](#getdesignres)\n- [`UpdateDesignReq`](#updatedesignreq)\n- [`ItemMetada`](#itemmetada)\n- [`AddConsumerReq`](#addconsumerreq)\n- [`RemoveConsumerReq`](#removeconsumerreq)\n- [`DesignItem`](#designitem)\n- [`BrandItem`](#branditem)\n- [`Custom_Style`](#custom_style)\n- [`Journey`](#journey)\n- [`ConsumerData`](#consumerdata)\n- [`WidgetData`](#widgetdata)\n- [`CustomerPortalData`](#customerportaldata)\n- [`LogoData`](#logodata)\n- [`PaletteData`](#palettedata)\n- [`TypographyData`](#typographydata)\n- [`ShapeData`](#shapedata)\n- [`FontData`](#fontdata)\n- [`FontResponseUrl`](#fontresponseurl)\n- [`WidgetPortalData`](#widgetportaldata)\n- [`ErrorResp`](#errorresp)\n- [`FileData`](#filedata)\n- [`DesignId`](#designid)\n- [`Theme`](#theme)\n- [`Application`](#application)\n- [`DesignParameters`](#designparameters)\n\n### `getAllDesigns`\n\nScan all designs linked to a organization, based in orgId attribute from JWT auth token\n\n`GET /v1/designs`\n\n```ts\nconst { data } = await client.getAllDesigns()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "designs": [\n {\n "id": "string",\n "created_at": "2021-01-30T08:30:00Z",\n "created_by": "string",\n "edited": true,\n "last_modified_at": "string",\n "brand_id": "string",\n "brand_name": "string",\n "user": {},\n "style_name": "string",\n "style": {},\n "is_default": true,\n "_manifest": ["string"],\n "custom_theme": "string",\n "use_custom_theme": true,\n "design_tokens": {}\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `addDesign`\n\nCreate a brand new design linked to a organization, based in orgId attribute from JWT auth token\n\n`POST /v1/designs`\n\n```ts\nconst { data } = await client.addDesign(\n null,\n {\n design: {\n brand_id: \'string\',\n brand_name: \'string\',\n user: {\n emailaddress: \'string\',\n fullname: \'string\',\n name: \'string\',\n userid: \'string\'\n },\n style_name: \'string\',\n style: {\n logo: { /* ... */ },\n palette: { /* ... */ },\n typography: { /* ... */ },\n shape: { /* ... */ },\n consumer: { /* ... */ }\n },\n is_default: true,\n _manifest: [\'string\'],\n custom_theme: \'string\',\n use_custom_theme: true,\n design_tokens: {\n coupon: \'string\',\n cashback: \'string\',\n custom_css: \'string\',\n accent_color: \'string\',\n outline_color: \'string\',\n divider_color: \'string\',\n link_color: \'string\',\n link_hover_color: \'string\',\n font_size_scale: \'xs\',\n topbar_height: 0,\n topbar_logo_alignment: \'flex-start\',\n logo_size: 0,\n input_background: \'string\',\n input_border_color: \'string\',\n input_text_color: \'string\',\n input_label_color: \'string\',\n input_border_radius: 0,\n input_height: 0,\n input_variant: \'outlined\',\n button_primary_bg: \'string\',\n button_primary_text: \'string\',\n button_primary_hover_bg: \'string\',\n button_primary_hover_text: \'string\',\n button_outlined_border: \'string\',\n button_outlined_text: \'string\',\n button_outlined_hover_bg: \'string\',\n button_outlined_hover_text: \'string\',\n button_ghost_bg: \'string\',\n button_ghost_text: \'string\',\n button_ghost_hover_bg: \'string\',\n button_ghost_hover_text: \'string\',\n button_border_radius: 0,\n button_height: 0,\n card_background: \'string\',\n card_border_color: \'string\',\n card_variant: \'shadow\',\n summary_card_background: \'string\',\n toggle_selected_bg: \'string\',\n toggle_selected_text: \'string\',\n toggle_hover_bg: \'string\',\n toggle_hover_text: \'string\',\n toggle_border_color: \'string\',\n dropdown_hover_bg: \'string\',\n dropdown_hover_text: \'string\',\n dropdown_selected_bg: \'string\',\n dropdown_selected_text: \'string\',\n switch_unchecked_color: \'string\',\n switch_unchecked_bg: \'string\',\n switch_border_radius: 0,\n checkbox_unchecked_color: \'string\',\n checkbox_label_color: \'string\',\n radio_unchecked_color: \'string\',\n radio_label_color: \'string\',\n datepicker_selected_bg: \'string\',\n datepicker_selected_color: \'string\',\n datepicker_border_radius: 0,\n chip_background: \'string\',\n chip_hover_background: \'string\',\n chip_text_color: \'string\',\n chip_hover_text_color: \'string\'\n }\n }\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "design": {\n "id": "string",\n "created_at": "2021-01-30T08:30:00Z",\n "created_by": "string",\n "edited": true,\n "last_modified_at": "string",\n "brand_id": "string",\n "brand_name": "string",\n "user": {\n "emailaddress": "string",\n "fullname": "string",\n "name": "string",\n "userid": "string"\n },\n "style_name": "string",\n "style": {\n "logo": {},\n "palette": {},\n "typography": {},\n "shape": {},\n "consumer": {}\n },\n "is_default": true,\n "_manifest": ["string"],\n "custom_theme": "string",\n "use_custom_theme": true,\n "design_tokens": {\n "coupon": "string",\n "cashback": "string",\n "custom_css": "string",\n "accent_color": "string",\n "outline_color": "string",\n "divider_color": "string",\n "link_color": "string",\n "link_hover_color": "string",\n "font_size_scale": "xs",\n "topbar_height": 0,\n "topbar_logo_alignment": "flex-start",\n "logo_size": 0,\n "input_background": "string",\n "input_border_color": "string",\n "input_text_color": "string",\n "input_label_color": "string",\n "input_border_radius": 0,\n "input_height": 0,\n "input_variant": "outlined",\n "button_primary_bg": "string",\n "button_primary_text": "string",\n "button_primary_hover_bg": "string",\n "button_primary_hover_text": "string",\n "button_outlined_border": "string",\n "button_outlined_text": "string",\n "button_outlined_hover_bg": "string",\n "button_outlined_hover_text": "string",\n "button_ghost_bg": "string",\n "button_ghost_text": "string",\n "button_ghost_hover_bg": "string",\n "button_ghost_hover_text": "string",\n "button_border_radius": 0,\n "button_height": 0,\n "card_background": "string",\n "card_border_color": "string",\n "card_variant": "shadow",\n "summary_card_background": "string",\n "toggle_selected_bg": "string",\n "toggle_selected_text": "string",\n "toggle_hover_bg": "string",\n "toggle_hover_text": "string",\n "toggle_border_color": "string",\n "dropdown_hover_bg": "string",\n "dropdown_hover_text": "string",\n "dropdown_selected_bg": "string",\n "dropdown_selected_text": "string",\n "switch_unchecked_color": "string",\n "switch_unchecked_bg": "string",\n "switch_border_radius": 0,\n "checkbox_unchecked_color": "string",\n "checkbox_label_color": "string",\n "radio_unchecked_color": "string",\n "radio_label_color": "string",\n "datepicker_selected_bg": "string",\n "datepicker_selected_color": "string",\n "datepicker_border_radius": 0,\n "chip_background": "string",\n "chip_hover_background": "string",\n "chip_text_color": "string",\n "chip_hover_text_color": "string"\n }\n }\n}\n```\n\n</details>\n\n---\n\n### `getDesign`\n\nSearch for a especific design owned by user organization\n\n`GET /v1/designs/{designId}`\n\n```ts\nconst { data } = await client.getDesign({\n designId: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "design": {\n "id": "string",\n "created_at": "2021-01-30T08:30:00Z",\n "created_by": "string",\n "edited": true,\n "last_modified_at": "string",\n "brand_id": "string",\n "brand_name": "string",\n "user": {\n "emailaddress": "string",\n "fullname": "string",\n "name": "string",\n "userid": "string"\n },\n "style_name": "string",\n "style": {\n "logo": {},\n "palette": {},\n "typography": {},\n "shape": {},\n "consumer": {}\n },\n "is_default": true,\n "_manifest": ["string"],\n "custom_theme": "string",\n "use_custom_theme": true,\n "design_tokens": {\n "coupon": "string",\n "cashback": "string",\n "custom_css": "string",\n "accent_color": "string",\n "outline_color": "string",\n "divider_color": "string",\n "link_color": "string",\n "link_hover_color": "string",\n "font_size_scale": "xs",\n "topbar_height": 0,\n "topbar_logo_alignment": "flex-start",\n "logo_size": 0,\n "input_background": "string",\n "input_border_color": "string",\n "input_text_color": "string",\n "input_label_color": "string",\n "input_border_radius": 0,\n "input_height": 0,\n "input_variant": "outlined",\n "button_primary_bg": "string",\n "button_primary_text": "string",\n "button_primary_hover_bg": "string",\n "button_primary_hover_text": "string",\n "button_outlined_border": "string",\n "button_outlined_text": "string",\n "button_outlined_hover_bg": "string",\n "button_outlined_hover_text": "string",\n "button_ghost_bg": "string",\n "button_ghost_text": "string",\n "button_ghost_hover_bg": "string",\n "button_ghost_hover_text": "string",\n "button_border_radius": 0,\n "button_height": 0,\n "card_background": "string",\n "card_border_color": "string",\n "card_variant": "shadow",\n "summary_card_background": "string",\n "toggle_selected_bg": "string",\n "toggle_selected_text": "string",\n "toggle_hover_bg": "string",\n "toggle_hover_text": "string",\n "toggle_border_color": "string",\n "dropdown_hover_bg": "string",\n "dropdown_hover_text": "string",\n "dropdown_selected_bg": "string",\n "dropdown_selected_text": "string",\n "switch_unchecked_color": "string",\n "switch_unchecked_bg": "string",\n "switch_border_radius": 0,\n "checkbox_unchecked_color": "string",\n "checkbox_label_color": "string",\n "radio_unchecked_color": "string",\n "radio_label_color": "string",\n "datepicker_selected_bg": "string",\n "datepicker_selected_color": "string",\n "datepicker_border_radius": 0,\n "chip_background": "string",\n "chip_hover_background": "string",\n "chip_text_color": "string",\n "chip_hover_text_color": "string"\n }\n }\n}\n```\n\n</details>\n\n---\n\n### `deleteDesign`\n\nSearch and delete for a especific design owned by user organization\n\n`DELETE /v1/designs/{designId}`\n\n```ts\nconst { data } = await client.deleteDesign({\n designId: \'example\',\n})\n```\n\n---\n\n### `updateDesign`\n\nUpdate a especific design owned by user organization\n\n`PUT /v1/designs/{designId}`\n\n```ts\nconst { data } = await client.updateDesign(\n {\n designId: \'example\',\n },\n {\n design: {\n brand_id: \'string\',\n brand_name: \'string\',\n user: {\n emailaddress: \'string\',\n fullname: \'string\',\n name: \'string\',\n userid: \'string\'\n },\n style_name: \'string\',\n style: {\n logo: { /* ... */ },\n palette: { /* ... */ },\n typography: { /* ... */ },\n shape: { /* ... */ },\n consumer: { /* ... */ }\n },\n is_default: true,\n _manifest: [\'string\'],\n custom_theme: \'string\',\n use_custom_theme: true,\n design_tokens: {\n coupon: \'string\',\n cashback: \'string\',\n custom_css: \'string\',\n accent_color: \'string\',\n outline_color: \'string\',\n divider_color: \'string\',\n link_color: \'string\',\n link_hover_color: \'string\',\n font_size_scale: \'xs\',\n topbar_height: 0,\n topbar_logo_alignment: \'flex-start\',\n logo_size: 0,\n input_background: \'string\',\n input_border_color: \'string\',\n input_text_color: \'string\',\n input_label_color: \'string\',\n input_border_radius: 0,\n input_height: 0,\n input_variant: \'outlined\',\n button_primary_bg: \'string\',\n button_primary_text: \'string\',\n button_primary_hover_bg: \'string\',\n button_primary_hover_text: \'string\',\n button_outlined_border: \'string\',\n button_outlined_text: \'string\',\n button_outlined_hover_bg: \'string\',\n button_outlined_hover_text: \'string\',\n button_ghost_bg: \'string\',\n button_ghost_text: \'string\',\n button_ghost_hover_bg: \'string\',\n button_ghost_hover_text: \'string\',\n button_border_radius: 0,\n button_height: 0,\n card_background: \'string\',\n card_border_color: \'string\',\n card_variant: \'shadow\',\n summary_card_background: \'string\',\n toggle_selected_bg: \'string\',\n toggle_selected_text: \'string\',\n toggle_hover_bg: \'string\',\n toggle_hover_text: \'string\',\n toggle_border_color: \'string\',\n dropdown_hover_bg: \'string\',\n dropdown_hover_text: \'string\',\n dropdown_selected_bg: \'string\',\n dropdown_selected_text: \'string\',\n switch_unchecked_color: \'string\',\n switch_unchecked_bg: \'string\',\n switch_border_radius: 0,\n checkbox_unchecked_color: \'string\',\n checkbox_label_color: \'string\',\n radio_unchecked_color: \'string\',\n radio_label_color: \'string\',\n datepicker_selected_bg: \'string\',\n datepicker_selected_color: \'string\',\n datepicker_border_radius: 0,\n chip_background: \'string\',\n chip_hover_background: \'string\',\n chip_text_color: \'string\',\n chip_hover_text_color: \'string\'\n }\n }\n },\n)\n```\n\n---\n\n### `getThemeFromDesign`\n\nSearch for a especific design owned by user organization and parse them to a new or old theme\n\n`GET /v1/designs/{designId}/parse`\n\n```ts\nconst { data } = await client.getThemeFromDesign({\n designId: \'example\',\n orgId: \'example\',\n theme: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{}\n```\n\n</details>\n\n---\n\n### `uploadFile`\n\nUpload a new file for the user organization bucket\n\n`POST /v1/designs/files`\n\n```ts\nconst { data } = await client.uploadFile()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "name": "string",\n "display_name": "string",\n "file_type": "LOGO",\n "s3_object_key": "string",\n "url": "string"\n}\n```\n\n</details>\n\n---\n\n### `getFiles`\n\nList all files for the user organization bucket\n\n`GET /v1/designs/files`\n\n```ts\nconst { data } = await client.getFiles({\n type: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n[\n {\n "name": "string",\n "display_name": "string",\n "file_type": "LOGO",\n "s3_object_key": "string",\n "url": "string"\n }\n]\n```\n\n</details>\n\n---\n\n### `getConsumerDesign`\n\nSearch for a especific design owned by user organization\n\n`GET /v1/designs/consumer/{application}/{consumerId}`\n\n```ts\nconst { data } = await client.getConsumerDesign({\n consumerId: \'example\',\n application: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "design": {\n "id": "string",\n "created_at": "2021-01-30T08:30:00Z",\n "created_by": "string",\n "edited": true,\n "last_modified_at": "string",\n "brand_id": "string",\n "brand_name": "string",\n "user": {\n "emailaddress": "string",\n "fullname": "string",\n "name": "string",\n "userid": "string"\n },\n "style_name": "string",\n "style": {\n "logo": {},\n "palette": {},\n "typography": {},\n "shape": {},\n "consumer": {}\n },\n "is_default": true,\n "_manifest": ["string"],\n "custom_theme": "string",\n "use_custom_theme": true,\n "design_tokens": {\n "coupon": "string",\n "cashback": "string",\n "custom_css": "string",\n "accent_color": "string",\n "outline_color": "string",\n "divider_color": "string",\n "link_color": "string",\n "link_hover_color": "string",\n "font_size_scale": "xs",\n "topbar_height": 0,\n "topbar_logo_alignment": "flex-start",\n "logo_size": 0,\n "input_background": "string",\n "input_border_color": "string",\n "input_text_color": "string",\n "input_label_color": "string",\n "input_border_radius": 0,\n "input_height": 0,\n "input_variant": "outlined",\n "button_primary_bg": "string",\n "button_primary_text": "string",\n "button_primary_hover_bg": "string",\n "button_primary_hover_text": "string",\n "button_outlined_border": "string",\n "button_outlined_text": "string",\n "button_outlined_hover_bg": "string",\n "button_outlined_hover_text": "string",\n "button_ghost_bg": "string",\n "button_ghost_text": "string",\n "button_ghost_hover_bg": "string",\n "button_ghost_hover_text": "string",\n "button_border_radius": 0,\n "button_height": 0,\n "card_background": "string",\n "card_border_color": "string",\n "card_variant": "shadow",\n "summary_card_background": "string",\n "toggle_selected_bg": "string",\n "toggle_selected_text": "string",\n "toggle_hover_bg": "string",\n "toggle_hover_text": "string",\n "toggle_border_color": "string",\n "dropdown_hover_bg": "string",\n "dropdown_hover_text": "string",\n "dropdown_selected_bg": "string",\n "dropdown_selected_text": "string",\n "switch_unchecked_color": "string",\n "switch_unchecked_bg": "string",\n "switch_border_radius": 0,\n "checkbox_unchecked_color": "string",\n "checkbox_label_color": "string",\n "radio_unchecked_color": "string",\n "radio_label_color": "string",\n "datepicker_selected_bg": "string",\n "datepicker_selected_color": "string",\n "datepicker_border_radius": 0,\n "chip_background": "string",\n "chip_hover_background": "string",\n "chip_text_color": "string",\n "chip_hover_text_color": "string"\n }\n }\n}\n```\n\n</details>\n\n---\n\n### `addConsumer`\n\nAdd a consumer that uses a specific design\n\n`PUT /v1/designs/addConsumer/{application}/{designId}`\n\n```ts\nconst { data } = await client.addConsumer(\n {\n designId: \'example\',\n application: \'example\',\n },\n {\n consumer_id: \'4a062990-a6a3-11eb-9828-4f3da7d4935a\',\n consumer_name: \'string\',\n should_delete: \'string\'\n },\n)\n```\n\n---\n\n### `removeConsumer`\n\nRemove a consumer that uses a specific design\n\n`PUT /v1/designs/removeConsumer/{application}/{designId}`\n\n```ts\nconst { data } = await client.removeConsumer(\n {\n designId: \'example\',\n application: \'example\',\n },\n {\n consumer_id: \'4a062990-a6a3-11eb-9828-4f3da7d4935a\',\n should_delete: \'string\'\n },\n)\n```\n\n---\n\n## Schemas\n\n### `UploadFileReq`\n\n```ts\ntype UploadFileReq = {\n file_type: "LOGO" | "FONT" | "IMAGE"\n file_data: string // base64\n display_name?: string\n file_name: string\n}\n```\n\n### `UploadFileRes`\n\n```ts\ntype UploadFileRes = {\n name: string\n display_name?: string\n file_type?: "LOGO" | "FONT" | "IMAGE"\n s3_object_key: string\n url: string\n}\n```\n\n### `GetFilesRes`\n\n```ts\ntype GetFilesRes = Array<{\n name: string\n display_name?: string\n file_type?: "LOGO" | "FONT" | "IMAGE"\n s3_object_key: string\n url: string\n}>\n```\n\n### `GetAllDesignsRes`\n\n```ts\ntype GetAllDesignsRes = {\n designs?: Array<{\n id?: string\n created_at?: string\n created_by?: string\n edited: boolean\n last_modified_at?: string\n brand_id?: string\n brand_name?: string\n user?: {\n emailaddress?: { ... }\n fullname?: { ... }\n name?: { ... }\n userid?: { ... }\n }\n style_name: string\n style: {\n logo?: { ... }\n palette: { ... }\n typography: { ... }\n shape?: { ... }\n consumer: { ... }\n }\n is_default?: boolean\n _manifest?: string[]\n custom_theme?: string\n use_custom_theme?: boolean\n design_tokens?: {\n coupon?: { ... }\n cashback?: { ... }\n custom_css?: { ... }\n accent_color?: { ... }\n outline_color?: { ... }\n divider_color?: { ... }\n link_color?: { ... }\n link_hover_color?: { ... }\n font_size_scale?: { ... }\n topbar_height?: { ... }\n topbar_logo_alignment?: { ... }\n logo_size?: { ... }\n input_background?: { ... }\n input_border_color?: { ... }\n input_text_color?: { ... }\n input_label_color?: { ... }\n input_border_radius?: { ... }\n input_height?: { ... }\n input_variant?: { ... }\n button_primary_bg?: { ... }\n button_primary_text?: { ... }\n button_primary_hover_bg?: { ... }\n button_primary_hover_text?: { ... }\n button_outlined_border?: { ... }\n button_outlined_text?: { ... }\n button_outlined_hover_bg?: { ... }\n button_outlined_hover_text?: { ... }\n button_ghost_bg?: { ... }\n button_ghost_text?: { ... }\n button_ghost_hover_bg?: { ... }\n button_ghost_hover_text?: { ... }\n button_border_radius?: { ... }\n button_height?: { ... }\n card_background?: { ... }\n card_border_color?: { ... }\n card_variant?: { ... }\n summary_card_background?: { ... }\n toggle_selected_bg?: { ... }\n toggle_selected_text?: { ... }\n toggle_hover_bg?: { ... }\n toggle_hover_text?: { ... }\n toggle_border_color?: { ... }\n dropdown_hover_bg?: { ... }\n dropdown_hover_text?: { ... }\n dropdown_selected_bg?: { ... }\n dropdown_selected_text?: { ... }\n switch_unchecked_color?: { ... }\n switch_unchecked_bg?: { ... }\n switch_border_radius?: { ... }\n checkbox_unchecked_color?: { ... }\n checkbox_label_color?: { ... }\n radio_unchecked_color?: { ... }\n radio_label_color?: { ... }\n datepicker_selected_bg?: { ... }\n datepicker_selected_color?: { ... }\n datepicker_border_radius?: { ... }\n chip_background?: { ... }\n chip_hover_background?: { ... }\n chip_text_color?: { ... }\n chip_hover_text_color?: { ... }\n }\n }>\n}\n```\n\n### `GetBrandsRes`\n\n```ts\ntype GetBrandsRes = {\n brands?: Array<{\n id: string\n name: string\n created_by?: string\n created_date?: string\n main_brand?: string\n organization_id?: string\n updated_date?: string\n updated_by?: string\n status?: string\n }>\n}\n```\n\n### `AddDesignReq`\n\n```ts\ntype AddDesignReq = {\n design: {\n brand_id?: string\n brand_name?: string\n user?: {\n emailaddress?: { ... }\n fullname?: { ... }\n name?: { ... }\n userid?: { ... }\n }\n style_name: string\n style: {\n logo?: { ... }\n palette: { ... }\n typography: { ... }\n shape?: { ... }\n consumer: { ... }\n }\n is_default?: boolean\n _manifest?: string[]\n custom_theme?: string\n use_custom_theme?: boolean\n design_tokens?: {\n coupon?: { ... }\n cashback?: { ... }\n custom_css?: { ... }\n accent_color?: { ... }\n outline_color?: { ... }\n divider_color?: { ... }\n link_color?: { ... }\n link_hover_color?: { ... }\n font_size_scale?: { ... }\n topbar_height?: { ... }\n topbar_logo_alignment?: { ... }\n logo_size?: { ... }\n input_background?: { ... }\n input_border_color?: { ... }\n input_text_color?: { ... }\n input_label_color?: { ... }\n input_border_radius?: { ... }\n input_height?: { ... }\n input_variant?: { ... }\n button_primary_bg?: { ... }\n button_primary_text?: { ... }\n button_primary_hover_bg?: { ... }\n button_primary_hover_text?: { ... }\n button_outlined_border?: { ... }\n button_outlined_text?: { ... }\n button_outlined_hover_bg?: { ... }\n button_outlined_hover_text?: { ... }\n button_ghost_bg?: { ... }\n button_ghost_text?: { ... }\n button_ghost_hover_bg?: { ... }\n button_ghost_hover_text?: { ... }\n button_border_radius?: { ... }\n button_height?: { ... }\n card_background?: { ... }\n card_border_color?: { ... }\n card_variant?: { ... }\n summary_card_background?: { ... }\n toggle_selected_bg?: { ... }\n toggle_selected_text?: { ... }\n toggle_hover_bg?: { ... }\n toggle_hover_text?: { ... }\n toggle_border_color?: { ... }\n dropdown_hover_bg?: { ... }\n dropdown_hover_text?: { ... }\n dropdown_selected_bg?: { ... }\n dropdown_selected_text?: { ... }\n switch_unchecked_color?: { ... }\n switch_unchecked_bg?: { ... }\n switch_border_radius?: { ... }\n checkbox_unchecked_color?: { ... }\n checkbox_label_color?: { ... }\n radio_unchecked_color?: { ... }\n radio_label_color?: { ... }\n datepicker_selected_bg?: { ... }\n datepicker_selected_color?: { ... }\n datepicker_border_radius?: { ... }\n chip_background?: { ... }\n chip_hover_background?: { ... }\n chip_text_color?: { ... }\n chip_hover_text_color?: { ... }\n }\n }\n}\n```\n\n### `AddDesignRes`\n\n```ts\ntype AddDesignRes = {\n design?: {\n id?: string\n created_at?: string\n created_by?: string\n edited: boolean\n last_modified_at?: string\n brand_id?: string\n brand_name?: string\n user?: {\n emailaddress?: { ... }\n fullname?: { ... }\n name?: { ... }\n userid?: { ... }\n }\n style_name: string\n style: {\n logo?: { ... }\n palette: { ... }\n typography: { ... }\n shape?: { ... }\n consumer: { ... }\n }\n is_default?: boolean\n _manifest?: string[]\n custom_theme?: string\n use_custom_theme?: boolean\n design_tokens?: {\n coupon?: { ... }\n cashback?: { ... }\n custom_css?: { ... }\n accent_color?: { ... }\n outline_color?: { ... }\n divider_color?: { ... }\n link_color?: { ... }\n link_hover_color?: { ... }\n font_size_scale?: { ... }\n topbar_height?: { ... }\n topbar_logo_alignment?: { ... }\n logo_size?: { ... }\n input_background?: { ... }\n input_border_color?: { ... }\n input_text_color?: { ... }\n input_label_color?: { ... }\n input_border_radius?: { ... }\n input_height?: { ... }\n input_variant?: { ... }\n button_primary_bg?: { ... }\n button_primary_text?: { ... }\n button_primary_hover_bg?: { ... }\n button_primary_hover_text?: { ... }\n button_outlined_border?: { ... }\n button_outlined_text?: { ... }\n button_outlined_hover_bg?: { ... }\n button_outlined_hover_text?: { ... }\n button_ghost_bg?: { ... }\n button_ghost_text?: { ... }\n button_ghost_hover_bg?: { ... }\n button_ghost_hover_text?: { ... }\n button_border_radius?: { ... }\n button_height?: { ... }\n card_background?: { ... }\n card_border_color?: { ... }\n card_variant?: { ... }\n summary_card_background?: { ... }\n toggle_selected_bg?: { ... }\n toggle_selected_text?: { ... }\n toggle_hover_bg?: { ... }\n toggle_hover_text?: { ... }\n toggle_border_color?: { ... }\n dropdown_hover_bg?: { ... }\n dropdown_hover_text?: { ... }\n dropdown_selected_bg?: { ... }\n dropdown_selected_text?: { ... }\n switch_unchecked_color?: { ... }\n switch_unchecked_bg?: { ... }\n switch_border_radius?: { ... }\n checkbox_unchecked_color?: { ... }\n checkbox_label_color?: { ... }\n radio_unchecked_color?: { ... }\n radio_label_color?: { ... }\n datepicker_selected_bg?: { ... }\n datepicker_selected_color?: { ... }\n datepicker_border_radius?: { ... }\n chip_background?: { ... }\n chip_hover_background?: { ... }\n chip_text_color?: { ... }\n chip_hover_text_color?: { ... }\n }\n }\n}\n```\n\n### `GetDesignRes`\n\n```ts\ntype GetDesignRes = {\n design?: {\n id?: string\n created_at?: string\n created_by?: string\n edited: boolean\n last_modified_at?: string\n brand_id?: string\n brand_name?: string\n user?: {\n emailaddress?: { ... }\n fullname?: { ... }\n name?: { ... }\n userid?: { ... }\n }\n style_name: string\n style: {\n logo?: { ... }\n palette: { ... }\n typography: { ... }\n shape?: { ... }\n consumer: { ... }\n }\n is_default?: boolean\n _manifest?: string[]\n custom_theme?: string\n use_custom_theme?: boolean\n design_tokens?: {\n coupon?: { ... }\n cashback?: { ... }\n custom_css?: { ... }\n accent_color?: { ... }\n outline_color?: { ... }\n divider_color?: { ... }\n link_color?: { ... }\n link_hover_color?: { ... }\n font_size_scale?: { ... }\n topbar_height?: { ... }\n topbar_logo_alignment?: { ... }\n logo_size?: { ... }\n input_background?: { ... }\n input_border_color?: { ... }\n input_text_color?: { ... }\n input_label_color?: { ... }\n input_border_radius?: { ... }\n input_height?: { ... }\n input_variant?: { ... }\n button_primary_bg?: { ... }\n button_primary_text?: { ... }\n button_primary_hover_bg?: { ... }\n button_primary_hover_text?: { ... }\n button_outlined_border?: { ... }\n button_outlined_text?: { ... }\n button_outlined_hover_bg?: { ... }\n button_outlined_hover_text?: { ... }\n button_ghost_bg?: { ... }\n button_ghost_text?: { ... }\n button_ghost_hover_bg?: { ... }\n button_ghost_hover_text?: { ... }\n button_border_radius?: { ... }\n button_height?: { ... }\n card_background?: { ... }\n card_border_color?: { ... }\n card_variant?: { ... }\n summary_card_background?: { ... }\n toggle_selected_bg?: { ... }\n toggle_selected_text?: { ... }\n toggle_hover_bg?: { ... }\n toggle_hover_text?: { ... }\n toggle_border_color?: { ... }\n dropdown_hover_bg?: { ... }\n dropdown_hover_text?: { ... }\n dropdown_selected_bg?: { ... }\n dropdown_selected_text?: { ... }\n switch_unchecked_color?: { ... }\n switch_unchecked_bg?: { ... }\n switch_border_radius?: { ... }\n checkbox_unchecked_color?: { ... }\n checkbox_label_color?: { ... }\n radio_unchecked_color?: { ... }\n radio_label_color?: { ... }\n datepicker_selected_bg?: { ... }\n datepicker_selected_color?: { ... }\n datepicker_border_radius?: { ... }\n chip_background?: { ... }\n chip_hover_background?: { ... }\n chip_text_color?: { ... }\n chip_hover_text_color?: { ... }\n }\n }\n}\n```\n\n### `UpdateDesignReq`\n\n```ts\ntype UpdateDesignReq = {\n design: {\n brand_id?: string\n brand_name?: string\n user?: {\n emailaddress?: { ... }\n fullname?: { ... }\n name?: { ... }\n userid?: { ... }\n }\n style_name: string\n style: {\n logo?: { ... }\n palette: { ... }\n typography: { ... }\n shape?: { ... }\n consumer: { ... }\n }\n is_default?: boolean\n _manifest?: string[]\n custom_theme?: string\n use_custom_theme?: boolean\n design_tokens?: {\n coupon?: { ... }\n cashback?: { ... }\n custom_css?: { ... }\n accent_color?: { ... }\n outline_color?: { ... }\n divider_color?: { ... }\n link_color?: { ... }\n link_hover_color?: { ... }\n font_size_scale?: { ... }\n topbar_height?: { ... }\n topbar_logo_alignment?: { ... }\n logo_size?: { ... }\n input_background?: { ... }\n input_border_color?: { ... }\n input_text_color?: { ... }\n input_label_color?: { ... }\n input_border_radius?: { ... }\n input_height?: { ... }\n input_variant?: { ... }\n button_primary_bg?: { ... }\n button_primary_text?: { ... }\n button_primary_hover_bg?: { ... }\n button_primary_hover_text?: { ... }\n button_outlined_border?: { ... }\n button_outlined_text?: { ... }\n button_outlined_hover_bg?: { ... }\n button_outlined_hover_text?: { ... }\n button_ghost_bg?: { ... }\n button_ghost_text?: { ... }\n button_ghost_hover_bg?: { ... }\n button_ghost_hover_text?: { ... }\n button_border_radius?: { ... }\n button_height?: { ... }\n card_background?: { ... }\n card_border_color?: { ... }\n card_variant?: { ... }\n summary_card_background?: { ... }\n toggle_selected_bg?: { ... }\n toggle_selected_text?: { ... }\n toggle_hover_bg?: { ... }\n toggle_hover_text?: { ... }\n toggle_border_color?: { ... }\n dropdown_hover_bg?: { ... }\n dropdown_hover_text?: { ... }\n dropdown_selected_bg?: { ... }\n dropdown_selected_text?: { ... }\n switch_unchecked_color?: { ... }\n switch_unchecked_bg?: { ... }\n switch_border_radius?: { ... }\n checkbox_unchecked_color?: { ... }\n checkbox_label_color?: { ... }\n radio_unchecked_color?: { ... }\n radio_label_color?: { ... }\n datepicker_selected_bg?: { ... }\n datepicker_selected_color?: { ... }\n datepicker_border_radius?: { ... }\n chip_background?: { ... }\n chip_hover_background?: { ... }\n chip_text_color?: { ... }\n chip_hover_text_color?: { ... }\n }\n }\n}\n```\n\n### `ItemMetada`\n\n```ts\ntype ItemMetada = {\n id?: string\n created_at?: string\n created_by?: string\n edited?: boolean\n last_modified_at?: string\n}\n```\n\n### `AddConsumerReq`\n\n```ts\ntype AddConsumerReq = {\n consumer_id: string\n consumer_name: string\n should_delete?: string\n}\n```\n\n### `RemoveConsumerReq`\n\n```ts\ntype RemoveConsumerReq = {\n consumer_id: string\n should_delete?: string\n}\n```\n\n### `DesignItem`\n\n```ts\ntype DesignItem = {\n brand_id?: string\n brand_name?: string\n user?: {\n emailaddress?: string\n fullname?: string\n name?: string\n userid?: string\n }\n style_name: string\n style: {\n logo?: {\n main?: { ... }\n }\n palette: {\n primary: { ... }\n secondary: { ... }\n error: { ... }\n background: { ... }\n paper: { ... }\n navbar: { ... }\n portal_login_background?: { ... }\n }\n typography: {\n font: { ... }\n primary: { ... }\n secondary: { ... }\n }\n shape?: {\n border_radius?: { ... }\n }\n consumer: {\n widgets: { ... }\n customer_portals: { ... }\n }\n }\n is_default?: boolean\n _manifest?: string[]\n}\n```\n\n### `BrandItem`\n\n```ts\ntype BrandItem = {\n id: string\n name: string\n created_by?: string\n created_date?: string\n main_brand?: string\n organization_id?: string\n updated_date?: string\n updated_by?: string\n status?: string\n}\n```\n\n### `Custom_Style`\n\n```ts\ntype Custom_Style = {\n custom_theme?: string\n use_custom_theme?: boolean\n}\n```\n\n### `Journey`\n\n```ts\ntype Journey = {\n design_tokens?: {\n coupon?: string\n cashback?: string\n custom_css?: string\n accent_color?: string\n outline_color?: string\n divider_color?: string\n link_color?: string\n link_hover_color?: string\n font_size_scale?: "xs" | "sm" | "md" | "lg" | "xl"\n topbar_height?: number\n topbar_logo_alignment?: "flex-start" | "center" | "flex-end"\n logo_size?: number\n input_background?: string\n input_border_color?: string\n input_text_color?: string\n input_label_color?: string\n input_border_radius?: number\n input_height?: number\n input_variant?: "outlined" | "filled" | "underlined"\n button_primary_bg?: string\n button_primary_text?: string\n button_primary_hover_bg?: string\n button_primary_hover_text?: string\n button_outlined_border?: string\n button_outlined_text?: string\n button_outlined_hover_bg?: string\n button_outlined_hover_text?: string\n button_ghost_bg?: string\n button_ghost_text?: string\n button_ghost_hover_bg?: string\n button_ghost_hover_text?: string\n button_border_radius?: number\n button_height?: number\n card_background?: string\n card_border_color?: string\n card_variant?: "shadow" | "outlined"\n summary_card_background?: string\n toggle_selected_bg?: string\n toggle_selected_text?: string\n toggle_hover_bg?: string\n toggle_hover_text?: string\n toggle_border_color?: string\n dropdown_hover_bg?: string\n dropdown_hover_text?: string\n dropdown_selected_bg?: string\n dropdown_selected_text?: string\n switch_unchecked_color?: string\n switch_unchecked_bg?: string\n switch_border_radius?: number\n checkbox_unchecked_color?: string\n checkbox_label_color?: string\n radio_unchecked_color?: string\n radio_label_color?: string\n datepicker_selected_bg?: string\n datepicker_selected_color?: string\n datepicker_border_radius?: number\n chip_background?: string\n chip_hover_background?: string\n chip_text_color?: string\n chip_hover_text_color?: string\n }\n}\n```\n\n### `ConsumerData`\n\n```ts\ntype ConsumerData = {\n widgets: Array<{\n id: string\n name: string\n }>\n customer_portals: Array<{\n id: string\n name: string\n }>\n}\n```\n\n### `WidgetData`\n\n```ts\ntype WidgetData = {\n id: string\n name: string\n}\n```\n\n### `CustomerPortalData`\n\n```ts\ntype CustomerPortalData = {\n id: string\n name: string\n}\n```\n\n### `LogoData`\n\n```ts\ntype LogoData = {\n main?: {\n name: string\n display_name?: string\n file_type?: "LOGO" | "FONT" | "IMAGE"\n s3_object_key: string\n url: string\n }\n}\n```\n\n### `PaletteData`\n\n```ts\ntype PaletteData = {\n primary: string\n secondary: string\n error: string\n background: string\n paper: string\n navbar: string\n portal_login_background?: string\n}\n```\n\n### `TypographyData`\n\n```ts\ntype TypographyData = {\n font: {\n font_id: string\n font_name: string\n font_family?: string\n font_weight_regular?: string\n font_weight_medium?: string\n font_weight_bold?: string\n urls: Array<{\n type?: { ... }\n url?: { ... }\n }>\n }\n primary: string\n secondary: string\n}\n```\n\n### `ShapeData`\n\n```ts\ntype ShapeData = {\n border_radius?: number\n}\n```\n\n### `FontData`\n\n```ts\ntype FontData = {\n font_id: string\n font_name: string\n font_family?: string\n font_weight_regular?: string\n font_weight_medium?: string\n font_weight_bold?: string\n urls: Array<{\n type?: "WOFF2" | "WOFF" | "TTF" | "EOT"\n url?: string\n }>\n}\n```\n\n### `FontResponseUrl`\n\n```ts\ntype FontResponseUrl = {\n type?: "WOFF2" | "WOFF" | "TTF" | "EOT"\n url?: string\n}\n```\n\n### `WidgetPortalData`\n\n```ts\ntype WidgetPortalData = {\n id: string\n name: string\n}\n```\n\n### `ErrorResp`\n\n```ts\ntype ErrorResp = {\n message?: string\n error?: object\n}\n```\n\n### `FileData`\n\n```ts\ntype FileData = {\n name: string\n display_name?: string\n file_type?: "LOGO" | "FONT" | "IMAGE"\n s3_object_key: string\n url: string\n}\n```\n\n### `DesignId`\n\nId of the design\n\n```ts\ntype DesignId = string\n```\n\n### `Theme`\n\nType of theme to be parsed and returned\n\n```ts\ntype Theme = "NEW" | "OLD"\n```\n\n### `Application`\n\nType of application that uses the design\n\n```ts\ntype Application = string\n```\n\n### `DesignParameters`\n\n```ts\ntype DesignParameters = {\n designId?: string\n theme?: "NEW" | "OLD"\n application?: string\n}\n```\n';
5
+ export {
6
+ design_default as default
7
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-NJK5F5TF.cjs');
2
+
3
+ // src/docs/design.json
4
+ var design_default = '# Design Builder API v2\n\n- **Base URL:** `https://design-builder-api.{environment}.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/design](https://docs.epilot.io/api/design)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.design.getAllDesigns(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/design\'\n\nconst designClient = getClient()\nauthorize(designClient, () => \'<token>\')\nconst { data } = await designClient.getAllDesigns(...)\n```\n\n## Operations\n\n**design-builder**\n- [`getAllDesigns`](#getalldesigns)\n- [`addDesign`](#adddesign)\n- [`getDesign`](#getdesign)\n- [`deleteDesign`](#deletedesign)\n- [`updateDesign`](#updatedesign)\n- [`getThemeFromDesign`](#getthemefromdesign)\n- [`uploadFile`](#uploadfile)\n- [`getFiles`](#getfiles)\n- [`getConsumerDesign`](#getconsumerdesign)\n- [`addConsumer`](#addconsumer)\n- [`removeConsumer`](#removeconsumer)\n\n**Schemas**\n- [`UploadFileReq`](#uploadfilereq)\n- [`UploadFileRes`](#uploadfileres)\n- [`GetFilesRes`](#getfilesres)\n- [`GetAllDesignsRes`](#getalldesignsres)\n- [`GetBrandsRes`](#getbrandsres)\n- [`AddDesignReq`](#adddesignreq)\n- [`AddDesignRes`](#adddesignres)\n- [`GetDesignRes`](#getdesignres)\n- [`UpdateDesignReq`](#updatedesignreq)\n- [`ItemMetada`](#itemmetada)\n- [`AddConsumerReq`](#addconsumerreq)\n- [`RemoveConsumerReq`](#removeconsumerreq)\n- [`DesignItem`](#designitem)\n- [`BrandItem`](#branditem)\n- [`Custom_Style`](#custom_style)\n- [`Journey`](#journey)\n- [`ConsumerData`](#consumerdata)\n- [`WidgetData`](#widgetdata)\n- [`CustomerPortalData`](#customerportaldata)\n- [`LogoData`](#logodata)\n- [`PaletteData`](#palettedata)\n- [`TypographyData`](#typographydata)\n- [`ShapeData`](#shapedata)\n- [`FontData`](#fontdata)\n- [`FontResponseUrl`](#fontresponseurl)\n- [`WidgetPortalData`](#widgetportaldata)\n- [`ErrorResp`](#errorresp)\n- [`FileData`](#filedata)\n- [`DesignId`](#designid)\n- [`Theme`](#theme)\n- [`Application`](#application)\n- [`DesignParameters`](#designparameters)\n\n### `getAllDesigns`\n\nScan all designs linked to a organization, based in orgId attribute from JWT auth token\n\n`GET /v1/designs`\n\n```ts\nconst { data } = await client.getAllDesigns()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "designs": [\n {\n "id": "string",\n "created_at": "2021-01-30T08:30:00Z",\n "created_by": "string",\n "edited": true,\n "last_modified_at": "string",\n "brand_id": "string",\n "brand_name": "string",\n "user": {},\n "style_name": "string",\n "style": {},\n "is_default": true,\n "_manifest": ["string"],\n "custom_theme": "string",\n "use_custom_theme": true,\n "design_tokens": {}\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `addDesign`\n\nCreate a brand new design linked to a organization, based in orgId attribute from JWT auth token\n\n`POST /v1/designs`\n\n```ts\nconst { data } = await client.addDesign(\n null,\n {\n design: {\n brand_id: \'string\',\n brand_name: \'string\',\n user: {\n emailaddress: \'string\',\n fullname: \'string\',\n name: \'string\',\n userid: \'string\'\n },\n style_name: \'string\',\n style: {\n logo: { /* ... */ },\n palette: { /* ... */ },\n typography: { /* ... */ },\n shape: { /* ... */ },\n consumer: { /* ... */ }\n },\n is_default: true,\n _manifest: [\'string\'],\n custom_theme: \'string\',\n use_custom_theme: true,\n design_tokens: {\n coupon: \'string\',\n cashback: \'string\',\n custom_css: \'string\',\n accent_color: \'string\',\n outline_color: \'string\',\n divider_color: \'string\',\n link_color: \'string\',\n link_hover_color: \'string\',\n font_size_scale: \'xs\',\n topbar_height: 0,\n topbar_logo_alignment: \'flex-start\',\n logo_size: 0,\n input_background: \'string\',\n input_border_color: \'string\',\n input_text_color: \'string\',\n input_label_color: \'string\',\n input_border_radius: 0,\n input_height: 0,\n input_variant: \'outlined\',\n button_primary_bg: \'string\',\n button_primary_text: \'string\',\n button_primary_hover_bg: \'string\',\n button_primary_hover_text: \'string\',\n button_outlined_border: \'string\',\n button_outlined_text: \'string\',\n button_outlined_hover_bg: \'string\',\n button_outlined_hover_text: \'string\',\n button_ghost_bg: \'string\',\n button_ghost_text: \'string\',\n button_ghost_hover_bg: \'string\',\n button_ghost_hover_text: \'string\',\n button_border_radius: 0,\n button_height: 0,\n card_background: \'string\',\n card_border_color: \'string\',\n card_variant: \'shadow\',\n summary_card_background: \'string\',\n toggle_selected_bg: \'string\',\n toggle_selected_text: \'string\',\n toggle_hover_bg: \'string\',\n toggle_hover_text: \'string\',\n toggle_border_color: \'string\',\n dropdown_hover_bg: \'string\',\n dropdown_hover_text: \'string\',\n dropdown_selected_bg: \'string\',\n dropdown_selected_text: \'string\',\n switch_unchecked_color: \'string\',\n switch_unchecked_bg: \'string\',\n switch_border_radius: 0,\n checkbox_unchecked_color: \'string\',\n checkbox_label_color: \'string\',\n radio_unchecked_color: \'string\',\n radio_label_color: \'string\',\n datepicker_selected_bg: \'string\',\n datepicker_selected_color: \'string\',\n datepicker_border_radius: 0,\n chip_background: \'string\',\n chip_hover_background: \'string\',\n chip_text_color: \'string\',\n chip_hover_text_color: \'string\'\n }\n }\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "design": {\n "id": "string",\n "created_at": "2021-01-30T08:30:00Z",\n "created_by": "string",\n "edited": true,\n "last_modified_at": "string",\n "brand_id": "string",\n "brand_name": "string",\n "user": {\n "emailaddress": "string",\n "fullname": "string",\n "name": "string",\n "userid": "string"\n },\n "style_name": "string",\n "style": {\n "logo": {},\n "palette": {},\n "typography": {},\n "shape": {},\n "consumer": {}\n },\n "is_default": true,\n "_manifest": ["string"],\n "custom_theme": "string",\n "use_custom_theme": true,\n "design_tokens": {\n "coupon": "string",\n "cashback": "string",\n "custom_css": "string",\n "accent_color": "string",\n "outline_color": "string",\n "divider_color": "string",\n "link_color": "string",\n "link_hover_color": "string",\n "font_size_scale": "xs",\n "topbar_height": 0,\n "topbar_logo_alignment": "flex-start",\n "logo_size": 0,\n "input_background": "string",\n "input_border_color": "string",\n "input_text_color": "string",\n "input_label_color": "string",\n "input_border_radius": 0,\n "input_height": 0,\n "input_variant": "outlined",\n "button_primary_bg": "string",\n "button_primary_text": "string",\n "button_primary_hover_bg": "string",\n "button_primary_hover_text": "string",\n "button_outlined_border": "string",\n "button_outlined_text": "string",\n "button_outlined_hover_bg": "string",\n "button_outlined_hover_text": "string",\n "button_ghost_bg": "string",\n "button_ghost_text": "string",\n "button_ghost_hover_bg": "string",\n "button_ghost_hover_text": "string",\n "button_border_radius": 0,\n "button_height": 0,\n "card_background": "string",\n "card_border_color": "string",\n "card_variant": "shadow",\n "summary_card_background": "string",\n "toggle_selected_bg": "string",\n "toggle_selected_text": "string",\n "toggle_hover_bg": "string",\n "toggle_hover_text": "string",\n "toggle_border_color": "string",\n "dropdown_hover_bg": "string",\n "dropdown_hover_text": "string",\n "dropdown_selected_bg": "string",\n "dropdown_selected_text": "string",\n "switch_unchecked_color": "string",\n "switch_unchecked_bg": "string",\n "switch_border_radius": 0,\n "checkbox_unchecked_color": "string",\n "checkbox_label_color": "string",\n "radio_unchecked_color": "string",\n "radio_label_color": "string",\n "datepicker_selected_bg": "string",\n "datepicker_selected_color": "string",\n "datepicker_border_radius": 0,\n "chip_background": "string",\n "chip_hover_background": "string",\n "chip_text_color": "string",\n "chip_hover_text_color": "string"\n }\n }\n}\n```\n\n</details>\n\n---\n\n### `getDesign`\n\nSearch for a especific design owned by user organization\n\n`GET /v1/designs/{designId}`\n\n```ts\nconst { data } = await client.getDesign({\n designId: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "design": {\n "id": "string",\n "created_at": "2021-01-30T08:30:00Z",\n "created_by": "string",\n "edited": true,\n "last_modified_at": "string",\n "brand_id": "string",\n "brand_name": "string",\n "user": {\n "emailaddress": "string",\n "fullname": "string",\n "name": "string",\n "userid": "string"\n },\n "style_name": "string",\n "style": {\n "logo": {},\n "palette": {},\n "typography": {},\n "shape": {},\n "consumer": {}\n },\n "is_default": true,\n "_manifest": ["string"],\n "custom_theme": "string",\n "use_custom_theme": true,\n "design_tokens": {\n "coupon": "string",\n "cashback": "string",\n "custom_css": "string",\n "accent_color": "string",\n "outline_color": "string",\n "divider_color": "string",\n "link_color": "string",\n "link_hover_color": "string",\n "font_size_scale": "xs",\n "topbar_height": 0,\n "topbar_logo_alignment": "flex-start",\n "logo_size": 0,\n "input_background": "string",\n "input_border_color": "string",\n "input_text_color": "string",\n "input_label_color": "string",\n "input_border_radius": 0,\n "input_height": 0,\n "input_variant": "outlined",\n "button_primary_bg": "string",\n "button_primary_text": "string",\n "button_primary_hover_bg": "string",\n "button_primary_hover_text": "string",\n "button_outlined_border": "string",\n "button_outlined_text": "string",\n "button_outlined_hover_bg": "string",\n "button_outlined_hover_text": "string",\n "button_ghost_bg": "string",\n "button_ghost_text": "string",\n "button_ghost_hover_bg": "string",\n "button_ghost_hover_text": "string",\n "button_border_radius": 0,\n "button_height": 0,\n "card_background": "string",\n "card_border_color": "string",\n "card_variant": "shadow",\n "summary_card_background": "string",\n "toggle_selected_bg": "string",\n "toggle_selected_text": "string",\n "toggle_hover_bg": "string",\n "toggle_hover_text": "string",\n "toggle_border_color": "string",\n "dropdown_hover_bg": "string",\n "dropdown_hover_text": "string",\n "dropdown_selected_bg": "string",\n "dropdown_selected_text": "string",\n "switch_unchecked_color": "string",\n "switch_unchecked_bg": "string",\n "switch_border_radius": 0,\n "checkbox_unchecked_color": "string",\n "checkbox_label_color": "string",\n "radio_unchecked_color": "string",\n "radio_label_color": "string",\n "datepicker_selected_bg": "string",\n "datepicker_selected_color": "string",\n "datepicker_border_radius": 0,\n "chip_background": "string",\n "chip_hover_background": "string",\n "chip_text_color": "string",\n "chip_hover_text_color": "string"\n }\n }\n}\n```\n\n</details>\n\n---\n\n### `deleteDesign`\n\nSearch and delete for a especific design owned by user organization\n\n`DELETE /v1/designs/{designId}`\n\n```ts\nconst { data } = await client.deleteDesign({\n designId: \'example\',\n})\n```\n\n---\n\n### `updateDesign`\n\nUpdate a especific design owned by user organization\n\n`PUT /v1/designs/{designId}`\n\n```ts\nconst { data } = await client.updateDesign(\n {\n designId: \'example\',\n },\n {\n design: {\n brand_id: \'string\',\n brand_name: \'string\',\n user: {\n emailaddress: \'string\',\n fullname: \'string\',\n name: \'string\',\n userid: \'string\'\n },\n style_name: \'string\',\n style: {\n logo: { /* ... */ },\n palette: { /* ... */ },\n typography: { /* ... */ },\n shape: { /* ... */ },\n consumer: { /* ... */ }\n },\n is_default: true,\n _manifest: [\'string\'],\n custom_theme: \'string\',\n use_custom_theme: true,\n design_tokens: {\n coupon: \'string\',\n cashback: \'string\',\n custom_css: \'string\',\n accent_color: \'string\',\n outline_color: \'string\',\n divider_color: \'string\',\n link_color: \'string\',\n link_hover_color: \'string\',\n font_size_scale: \'xs\',\n topbar_height: 0,\n topbar_logo_alignment: \'flex-start\',\n logo_size: 0,\n input_background: \'string\',\n input_border_color: \'string\',\n input_text_color: \'string\',\n input_label_color: \'string\',\n input_border_radius: 0,\n input_height: 0,\n input_variant: \'outlined\',\n button_primary_bg: \'string\',\n button_primary_text: \'string\',\n button_primary_hover_bg: \'string\',\n button_primary_hover_text: \'string\',\n button_outlined_border: \'string\',\n button_outlined_text: \'string\',\n button_outlined_hover_bg: \'string\',\n button_outlined_hover_text: \'string\',\n button_ghost_bg: \'string\',\n button_ghost_text: \'string\',\n button_ghost_hover_bg: \'string\',\n button_ghost_hover_text: \'string\',\n button_border_radius: 0,\n button_height: 0,\n card_background: \'string\',\n card_border_color: \'string\',\n card_variant: \'shadow\',\n summary_card_background: \'string\',\n toggle_selected_bg: \'string\',\n toggle_selected_text: \'string\',\n toggle_hover_bg: \'string\',\n toggle_hover_text: \'string\',\n toggle_border_color: \'string\',\n dropdown_hover_bg: \'string\',\n dropdown_hover_text: \'string\',\n dropdown_selected_bg: \'string\',\n dropdown_selected_text: \'string\',\n switch_unchecked_color: \'string\',\n switch_unchecked_bg: \'string\',\n switch_border_radius: 0,\n checkbox_unchecked_color: \'string\',\n checkbox_label_color: \'string\',\n radio_unchecked_color: \'string\',\n radio_label_color: \'string\',\n datepicker_selected_bg: \'string\',\n datepicker_selected_color: \'string\',\n datepicker_border_radius: 0,\n chip_background: \'string\',\n chip_hover_background: \'string\',\n chip_text_color: \'string\',\n chip_hover_text_color: \'string\'\n }\n }\n },\n)\n```\n\n---\n\n### `getThemeFromDesign`\n\nSearch for a especific design owned by user organization and parse them to a new or old theme\n\n`GET /v1/designs/{designId}/parse`\n\n```ts\nconst { data } = await client.getThemeFromDesign({\n designId: \'example\',\n orgId: \'example\',\n theme: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{}\n```\n\n</details>\n\n---\n\n### `uploadFile`\n\nUpload a new file for the user organization bucket\n\n`POST /v1/designs/files`\n\n```ts\nconst { data } = await client.uploadFile()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "name": "string",\n "display_name": "string",\n "file_type": "LOGO",\n "s3_object_key": "string",\n "url": "string"\n}\n```\n\n</details>\n\n---\n\n### `getFiles`\n\nList all files for the user organization bucket\n\n`GET /v1/designs/files`\n\n```ts\nconst { data } = await client.getFiles({\n type: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n[\n {\n "name": "string",\n "display_name": "string",\n "file_type": "LOGO",\n "s3_object_key": "string",\n "url": "string"\n }\n]\n```\n\n</details>\n\n---\n\n### `getConsumerDesign`\n\nSearch for a especific design owned by user organization\n\n`GET /v1/designs/consumer/{application}/{consumerId}`\n\n```ts\nconst { data } = await client.getConsumerDesign({\n consumerId: \'example\',\n application: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "design": {\n "id": "string",\n "created_at": "2021-01-30T08:30:00Z",\n "created_by": "string",\n "edited": true,\n "last_modified_at": "string",\n "brand_id": "string",\n "brand_name": "string",\n "user": {\n "emailaddress": "string",\n "fullname": "string",\n "name": "string",\n "userid": "string"\n },\n "style_name": "string",\n "style": {\n "logo": {},\n "palette": {},\n "typography": {},\n "shape": {},\n "consumer": {}\n },\n "is_default": true,\n "_manifest": ["string"],\n "custom_theme": "string",\n "use_custom_theme": true,\n "design_tokens": {\n "coupon": "string",\n "cashback": "string",\n "custom_css": "string",\n "accent_color": "string",\n "outline_color": "string",\n "divider_color": "string",\n "link_color": "string",\n "link_hover_color": "string",\n "font_size_scale": "xs",\n "topbar_height": 0,\n "topbar_logo_alignment": "flex-start",\n "logo_size": 0,\n "input_background": "string",\n "input_border_color": "string",\n "input_text_color": "string",\n "input_label_color": "string",\n "input_border_radius": 0,\n "input_height": 0,\n "input_variant": "outlined",\n "button_primary_bg": "string",\n "button_primary_text": "string",\n "button_primary_hover_bg": "string",\n "button_primary_hover_text": "string",\n "button_outlined_border": "string",\n "button_outlined_text": "string",\n "button_outlined_hover_bg": "string",\n "button_outlined_hover_text": "string",\n "button_ghost_bg": "string",\n "button_ghost_text": "string",\n "button_ghost_hover_bg": "string",\n "button_ghost_hover_text": "string",\n "button_border_radius": 0,\n "button_height": 0,\n "card_background": "string",\n "card_border_color": "string",\n "card_variant": "shadow",\n "summary_card_background": "string",\n "toggle_selected_bg": "string",\n "toggle_selected_text": "string",\n "toggle_hover_bg": "string",\n "toggle_hover_text": "string",\n "toggle_border_color": "string",\n "dropdown_hover_bg": "string",\n "dropdown_hover_text": "string",\n "dropdown_selected_bg": "string",\n "dropdown_selected_text": "string",\n "switch_unchecked_color": "string",\n "switch_unchecked_bg": "string",\n "switch_border_radius": 0,\n "checkbox_unchecked_color": "string",\n "checkbox_label_color": "string",\n "radio_unchecked_color": "string",\n "radio_label_color": "string",\n "datepicker_selected_bg": "string",\n "datepicker_selected_color": "string",\n "datepicker_border_radius": 0,\n "chip_background": "string",\n "chip_hover_background": "string",\n "chip_text_color": "string",\n "chip_hover_text_color": "string"\n }\n }\n}\n```\n\n</details>\n\n---\n\n### `addConsumer`\n\nAdd a consumer that uses a specific design\n\n`PUT /v1/designs/addConsumer/{application}/{designId}`\n\n```ts\nconst { data } = await client.addConsumer(\n {\n designId: \'example\',\n application: \'example\',\n },\n {\n consumer_id: \'4a062990-a6a3-11eb-9828-4f3da7d4935a\',\n consumer_name: \'string\',\n should_delete: \'string\'\n },\n)\n```\n\n---\n\n### `removeConsumer`\n\nRemove a consumer that uses a specific design\n\n`PUT /v1/designs/removeConsumer/{application}/{designId}`\n\n```ts\nconst { data } = await client.removeConsumer(\n {\n designId: \'example\',\n application: \'example\',\n },\n {\n consumer_id: \'4a062990-a6a3-11eb-9828-4f3da7d4935a\',\n should_delete: \'string\'\n },\n)\n```\n\n---\n\n## Schemas\n\n### `UploadFileReq`\n\n```ts\ntype UploadFileReq = {\n file_type: "LOGO" | "FONT" | "IMAGE"\n file_data: string // base64\n display_name?: string\n file_name: string\n}\n```\n\n### `UploadFileRes`\n\n```ts\ntype UploadFileRes = {\n name: string\n display_name?: string\n file_type?: "LOGO" | "FONT" | "IMAGE"\n s3_object_key: string\n url: string\n}\n```\n\n### `GetFilesRes`\n\n```ts\ntype GetFilesRes = Array<{\n name: string\n display_name?: string\n file_type?: "LOGO" | "FONT" | "IMAGE"\n s3_object_key: string\n url: string\n}>\n```\n\n### `GetAllDesignsRes`\n\n```ts\ntype GetAllDesignsRes = {\n designs?: Array<{\n id?: string\n created_at?: string\n created_by?: string\n edited: boolean\n last_modified_at?: string\n brand_id?: string\n brand_name?: string\n user?: {\n emailaddress?: { ... }\n fullname?: { ... }\n name?: { ... }\n userid?: { ... }\n }\n style_name: string\n style: {\n logo?: { ... }\n palette: { ... }\n typography: { ... }\n shape?: { ... }\n consumer: { ... }\n }\n is_default?: boolean\n _manifest?: string[]\n custom_theme?: string\n use_custom_theme?: boolean\n design_tokens?: {\n coupon?: { ... }\n cashback?: { ... }\n custom_css?: { ... }\n accent_color?: { ... }\n outline_color?: { ... }\n divider_color?: { ... }\n link_color?: { ... }\n link_hover_color?: { ... }\n font_size_scale?: { ... }\n topbar_height?: { ... }\n topbar_logo_alignment?: { ... }\n logo_size?: { ... }\n input_background?: { ... }\n input_border_color?: { ... }\n input_text_color?: { ... }\n input_label_color?: { ... }\n input_border_radius?: { ... }\n input_height?: { ... }\n input_variant?: { ... }\n button_primary_bg?: { ... }\n button_primary_text?: { ... }\n button_primary_hover_bg?: { ... }\n button_primary_hover_text?: { ... }\n button_outlined_border?: { ... }\n button_outlined_text?: { ... }\n button_outlined_hover_bg?: { ... }\n button_outlined_hover_text?: { ... }\n button_ghost_bg?: { ... }\n button_ghost_text?: { ... }\n button_ghost_hover_bg?: { ... }\n button_ghost_hover_text?: { ... }\n button_border_radius?: { ... }\n button_height?: { ... }\n card_background?: { ... }\n card_border_color?: { ... }\n card_variant?: { ... }\n summary_card_background?: { ... }\n toggle_selected_bg?: { ... }\n toggle_selected_text?: { ... }\n toggle_hover_bg?: { ... }\n toggle_hover_text?: { ... }\n toggle_border_color?: { ... }\n dropdown_hover_bg?: { ... }\n dropdown_hover_text?: { ... }\n dropdown_selected_bg?: { ... }\n dropdown_selected_text?: { ... }\n switch_unchecked_color?: { ... }\n switch_unchecked_bg?: { ... }\n switch_border_radius?: { ... }\n checkbox_unchecked_color?: { ... }\n checkbox_label_color?: { ... }\n radio_unchecked_color?: { ... }\n radio_label_color?: { ... }\n datepicker_selected_bg?: { ... }\n datepicker_selected_color?: { ... }\n datepicker_border_radius?: { ... }\n chip_background?: { ... }\n chip_hover_background?: { ... }\n chip_text_color?: { ... }\n chip_hover_text_color?: { ... }\n }\n }>\n}\n```\n\n### `GetBrandsRes`\n\n```ts\ntype GetBrandsRes = {\n brands?: Array<{\n id: string\n name: string\n created_by?: string\n created_date?: string\n main_brand?: string\n organization_id?: string\n updated_date?: string\n updated_by?: string\n status?: string\n }>\n}\n```\n\n### `AddDesignReq`\n\n```ts\ntype AddDesignReq = {\n design: {\n brand_id?: string\n brand_name?: string\n user?: {\n emailaddress?: { ... }\n fullname?: { ... }\n name?: { ... }\n userid?: { ... }\n }\n style_name: string\n style: {\n logo?: { ... }\n palette: { ... }\n typography: { ... }\n shape?: { ... }\n consumer: { ... }\n }\n is_default?: boolean\n _manifest?: string[]\n custom_theme?: string\n use_custom_theme?: boolean\n design_tokens?: {\n coupon?: { ... }\n cashback?: { ... }\n custom_css?: { ... }\n accent_color?: { ... }\n outline_color?: { ... }\n divider_color?: { ... }\n link_color?: { ... }\n link_hover_color?: { ... }\n font_size_scale?: { ... }\n topbar_height?: { ... }\n topbar_logo_alignment?: { ... }\n logo_size?: { ... }\n input_background?: { ... }\n input_border_color?: { ... }\n input_text_color?: { ... }\n input_label_color?: { ... }\n input_border_radius?: { ... }\n input_height?: { ... }\n input_variant?: { ... }\n button_primary_bg?: { ... }\n button_primary_text?: { ... }\n button_primary_hover_bg?: { ... }\n button_primary_hover_text?: { ... }\n button_outlined_border?: { ... }\n button_outlined_text?: { ... }\n button_outlined_hover_bg?: { ... }\n button_outlined_hover_text?: { ... }\n button_ghost_bg?: { ... }\n button_ghost_text?: { ... }\n button_ghost_hover_bg?: { ... }\n button_ghost_hover_text?: { ... }\n button_border_radius?: { ... }\n button_height?: { ... }\n card_background?: { ... }\n card_border_color?: { ... }\n card_variant?: { ... }\n summary_card_background?: { ... }\n toggle_selected_bg?: { ... }\n toggle_selected_text?: { ... }\n toggle_hover_bg?: { ... }\n toggle_hover_text?: { ... }\n toggle_border_color?: { ... }\n dropdown_hover_bg?: { ... }\n dropdown_hover_text?: { ... }\n dropdown_selected_bg?: { ... }\n dropdown_selected_text?: { ... }\n switch_unchecked_color?: { ... }\n switch_unchecked_bg?: { ... }\n switch_border_radius?: { ... }\n checkbox_unchecked_color?: { ... }\n checkbox_label_color?: { ... }\n radio_unchecked_color?: { ... }\n radio_label_color?: { ... }\n datepicker_selected_bg?: { ... }\n datepicker_selected_color?: { ... }\n datepicker_border_radius?: { ... }\n chip_background?: { ... }\n chip_hover_background?: { ... }\n chip_text_color?: { ... }\n chip_hover_text_color?: { ... }\n }\n }\n}\n```\n\n### `AddDesignRes`\n\n```ts\ntype AddDesignRes = {\n design?: {\n id?: string\n created_at?: string\n created_by?: string\n edited: boolean\n last_modified_at?: string\n brand_id?: string\n brand_name?: string\n user?: {\n emailaddress?: { ... }\n fullname?: { ... }\n name?: { ... }\n userid?: { ... }\n }\n style_name: string\n style: {\n logo?: { ... }\n palette: { ... }\n typography: { ... }\n shape?: { ... }\n consumer: { ... }\n }\n is_default?: boolean\n _manifest?: string[]\n custom_theme?: string\n use_custom_theme?: boolean\n design_tokens?: {\n coupon?: { ... }\n cashback?: { ... }\n custom_css?: { ... }\n accent_color?: { ... }\n outline_color?: { ... }\n divider_color?: { ... }\n link_color?: { ... }\n link_hover_color?: { ... }\n font_size_scale?: { ... }\n topbar_height?: { ... }\n topbar_logo_alignment?: { ... }\n logo_size?: { ... }\n input_background?: { ... }\n input_border_color?: { ... }\n input_text_color?: { ... }\n input_label_color?: { ... }\n input_border_radius?: { ... }\n input_height?: { ... }\n input_variant?: { ... }\n button_primary_bg?: { ... }\n button_primary_text?: { ... }\n button_primary_hover_bg?: { ... }\n button_primary_hover_text?: { ... }\n button_outlined_border?: { ... }\n button_outlined_text?: { ... }\n button_outlined_hover_bg?: { ... }\n button_outlined_hover_text?: { ... }\n button_ghost_bg?: { ... }\n button_ghost_text?: { ... }\n button_ghost_hover_bg?: { ... }\n button_ghost_hover_text?: { ... }\n button_border_radius?: { ... }\n button_height?: { ... }\n card_background?: { ... }\n card_border_color?: { ... }\n card_variant?: { ... }\n summary_card_background?: { ... }\n toggle_selected_bg?: { ... }\n toggle_selected_text?: { ... }\n toggle_hover_bg?: { ... }\n toggle_hover_text?: { ... }\n toggle_border_color?: { ... }\n dropdown_hover_bg?: { ... }\n dropdown_hover_text?: { ... }\n dropdown_selected_bg?: { ... }\n dropdown_selected_text?: { ... }\n switch_unchecked_color?: { ... }\n switch_unchecked_bg?: { ... }\n switch_border_radius?: { ... }\n checkbox_unchecked_color?: { ... }\n checkbox_label_color?: { ... }\n radio_unchecked_color?: { ... }\n radio_label_color?: { ... }\n datepicker_selected_bg?: { ... }\n datepicker_selected_color?: { ... }\n datepicker_border_radius?: { ... }\n chip_background?: { ... }\n chip_hover_background?: { ... }\n chip_text_color?: { ... }\n chip_hover_text_color?: { ... }\n }\n }\n}\n```\n\n### `GetDesignRes`\n\n```ts\ntype GetDesignRes = {\n design?: {\n id?: string\n created_at?: string\n created_by?: string\n edited: boolean\n last_modified_at?: string\n brand_id?: string\n brand_name?: string\n user?: {\n emailaddress?: { ... }\n fullname?: { ... }\n name?: { ... }\n userid?: { ... }\n }\n style_name: string\n style: {\n logo?: { ... }\n palette: { ... }\n typography: { ... }\n shape?: { ... }\n consumer: { ... }\n }\n is_default?: boolean\n _manifest?: string[]\n custom_theme?: string\n use_custom_theme?: boolean\n design_tokens?: {\n coupon?: { ... }\n cashback?: { ... }\n custom_css?: { ... }\n accent_color?: { ... }\n outline_color?: { ... }\n divider_color?: { ... }\n link_color?: { ... }\n link_hover_color?: { ... }\n font_size_scale?: { ... }\n topbar_height?: { ... }\n topbar_logo_alignment?: { ... }\n logo_size?: { ... }\n input_background?: { ... }\n input_border_color?: { ... }\n input_text_color?: { ... }\n input_label_color?: { ... }\n input_border_radius?: { ... }\n input_height?: { ... }\n input_variant?: { ... }\n button_primary_bg?: { ... }\n button_primary_text?: { ... }\n button_primary_hover_bg?: { ... }\n button_primary_hover_text?: { ... }\n button_outlined_border?: { ... }\n button_outlined_text?: { ... }\n button_outlined_hover_bg?: { ... }\n button_outlined_hover_text?: { ... }\n button_ghost_bg?: { ... }\n button_ghost_text?: { ... }\n button_ghost_hover_bg?: { ... }\n button_ghost_hover_text?: { ... }\n button_border_radius?: { ... }\n button_height?: { ... }\n card_background?: { ... }\n card_border_color?: { ... }\n card_variant?: { ... }\n summary_card_background?: { ... }\n toggle_selected_bg?: { ... }\n toggle_selected_text?: { ... }\n toggle_hover_bg?: { ... }\n toggle_hover_text?: { ... }\n toggle_border_color?: { ... }\n dropdown_hover_bg?: { ... }\n dropdown_hover_text?: { ... }\n dropdown_selected_bg?: { ... }\n dropdown_selected_text?: { ... }\n switch_unchecked_color?: { ... }\n switch_unchecked_bg?: { ... }\n switch_border_radius?: { ... }\n checkbox_unchecked_color?: { ... }\n checkbox_label_color?: { ... }\n radio_unchecked_color?: { ... }\n radio_label_color?: { ... }\n datepicker_selected_bg?: { ... }\n datepicker_selected_color?: { ... }\n datepicker_border_radius?: { ... }\n chip_background?: { ... }\n chip_hover_background?: { ... }\n chip_text_color?: { ... }\n chip_hover_text_color?: { ... }\n }\n }\n}\n```\n\n### `UpdateDesignReq`\n\n```ts\ntype UpdateDesignReq = {\n design: {\n brand_id?: string\n brand_name?: string\n user?: {\n emailaddress?: { ... }\n fullname?: { ... }\n name?: { ... }\n userid?: { ... }\n }\n style_name: string\n style: {\n logo?: { ... }\n palette: { ... }\n typography: { ... }\n shape?: { ... }\n consumer: { ... }\n }\n is_default?: boolean\n _manifest?: string[]\n custom_theme?: string\n use_custom_theme?: boolean\n design_tokens?: {\n coupon?: { ... }\n cashback?: { ... }\n custom_css?: { ... }\n accent_color?: { ... }\n outline_color?: { ... }\n divider_color?: { ... }\n link_color?: { ... }\n link_hover_color?: { ... }\n font_size_scale?: { ... }\n topbar_height?: { ... }\n topbar_logo_alignment?: { ... }\n logo_size?: { ... }\n input_background?: { ... }\n input_border_color?: { ... }\n input_text_color?: { ... }\n input_label_color?: { ... }\n input_border_radius?: { ... }\n input_height?: { ... }\n input_variant?: { ... }\n button_primary_bg?: { ... }\n button_primary_text?: { ... }\n button_primary_hover_bg?: { ... }\n button_primary_hover_text?: { ... }\n button_outlined_border?: { ... }\n button_outlined_text?: { ... }\n button_outlined_hover_bg?: { ... }\n button_outlined_hover_text?: { ... }\n button_ghost_bg?: { ... }\n button_ghost_text?: { ... }\n button_ghost_hover_bg?: { ... }\n button_ghost_hover_text?: { ... }\n button_border_radius?: { ... }\n button_height?: { ... }\n card_background?: { ... }\n card_border_color?: { ... }\n card_variant?: { ... }\n summary_card_background?: { ... }\n toggle_selected_bg?: { ... }\n toggle_selected_text?: { ... }\n toggle_hover_bg?: { ... }\n toggle_hover_text?: { ... }\n toggle_border_color?: { ... }\n dropdown_hover_bg?: { ... }\n dropdown_hover_text?: { ... }\n dropdown_selected_bg?: { ... }\n dropdown_selected_text?: { ... }\n switch_unchecked_color?: { ... }\n switch_unchecked_bg?: { ... }\n switch_border_radius?: { ... }\n checkbox_unchecked_color?: { ... }\n checkbox_label_color?: { ... }\n radio_unchecked_color?: { ... }\n radio_label_color?: { ... }\n datepicker_selected_bg?: { ... }\n datepicker_selected_color?: { ... }\n datepicker_border_radius?: { ... }\n chip_background?: { ... }\n chip_hover_background?: { ... }\n chip_text_color?: { ... }\n chip_hover_text_color?: { ... }\n }\n }\n}\n```\n\n### `ItemMetada`\n\n```ts\ntype ItemMetada = {\n id?: string\n created_at?: string\n created_by?: string\n edited?: boolean\n last_modified_at?: string\n}\n```\n\n### `AddConsumerReq`\n\n```ts\ntype AddConsumerReq = {\n consumer_id: string\n consumer_name: string\n should_delete?: string\n}\n```\n\n### `RemoveConsumerReq`\n\n```ts\ntype RemoveConsumerReq = {\n consumer_id: string\n should_delete?: string\n}\n```\n\n### `DesignItem`\n\n```ts\ntype DesignItem = {\n brand_id?: string\n brand_name?: string\n user?: {\n emailaddress?: string\n fullname?: string\n name?: string\n userid?: string\n }\n style_name: string\n style: {\n logo?: {\n main?: { ... }\n }\n palette: {\n primary: { ... }\n secondary: { ... }\n error: { ... }\n background: { ... }\n paper: { ... }\n navbar: { ... }\n portal_login_background?: { ... }\n }\n typography: {\n font: { ... }\n primary: { ... }\n secondary: { ... }\n }\n shape?: {\n border_radius?: { ... }\n }\n consumer: {\n widgets: { ... }\n customer_portals: { ... }\n }\n }\n is_default?: boolean\n _manifest?: string[]\n}\n```\n\n### `BrandItem`\n\n```ts\ntype BrandItem = {\n id: string\n name: string\n created_by?: string\n created_date?: string\n main_brand?: string\n organization_id?: string\n updated_date?: string\n updated_by?: string\n status?: string\n}\n```\n\n### `Custom_Style`\n\n```ts\ntype Custom_Style = {\n custom_theme?: string\n use_custom_theme?: boolean\n}\n```\n\n### `Journey`\n\n```ts\ntype Journey = {\n design_tokens?: {\n coupon?: string\n cashback?: string\n custom_css?: string\n accent_color?: string\n outline_color?: string\n divider_color?: string\n link_color?: string\n link_hover_color?: string\n font_size_scale?: "xs" | "sm" | "md" | "lg" | "xl"\n topbar_height?: number\n topbar_logo_alignment?: "flex-start" | "center" | "flex-end"\n logo_size?: number\n input_background?: string\n input_border_color?: string\n input_text_color?: string\n input_label_color?: string\n input_border_radius?: number\n input_height?: number\n input_variant?: "outlined" | "filled" | "underlined"\n button_primary_bg?: string\n button_primary_text?: string\n button_primary_hover_bg?: string\n button_primary_hover_text?: string\n button_outlined_border?: string\n button_outlined_text?: string\n button_outlined_hover_bg?: string\n button_outlined_hover_text?: string\n button_ghost_bg?: string\n button_ghost_text?: string\n button_ghost_hover_bg?: string\n button_ghost_hover_text?: string\n button_border_radius?: number\n button_height?: number\n card_background?: string\n card_border_color?: string\n card_variant?: "shadow" | "outlined"\n summary_card_background?: string\n toggle_selected_bg?: string\n toggle_selected_text?: string\n toggle_hover_bg?: string\n toggle_hover_text?: string\n toggle_border_color?: string\n dropdown_hover_bg?: string\n dropdown_hover_text?: string\n dropdown_selected_bg?: string\n dropdown_selected_text?: string\n switch_unchecked_color?: string\n switch_unchecked_bg?: string\n switch_border_radius?: number\n checkbox_unchecked_color?: string\n checkbox_label_color?: string\n radio_unchecked_color?: string\n radio_label_color?: string\n datepicker_selected_bg?: string\n datepicker_selected_color?: string\n datepicker_border_radius?: number\n chip_background?: string\n chip_hover_background?: string\n chip_text_color?: string\n chip_hover_text_color?: string\n }\n}\n```\n\n### `ConsumerData`\n\n```ts\ntype ConsumerData = {\n widgets: Array<{\n id: string\n name: string\n }>\n customer_portals: Array<{\n id: string\n name: string\n }>\n}\n```\n\n### `WidgetData`\n\n```ts\ntype WidgetData = {\n id: string\n name: string\n}\n```\n\n### `CustomerPortalData`\n\n```ts\ntype CustomerPortalData = {\n id: string\n name: string\n}\n```\n\n### `LogoData`\n\n```ts\ntype LogoData = {\n main?: {\n name: string\n display_name?: string\n file_type?: "LOGO" | "FONT" | "IMAGE"\n s3_object_key: string\n url: string\n }\n}\n```\n\n### `PaletteData`\n\n```ts\ntype PaletteData = {\n primary: string\n secondary: string\n error: string\n background: string\n paper: string\n navbar: string\n portal_login_background?: string\n}\n```\n\n### `TypographyData`\n\n```ts\ntype TypographyData = {\n font: {\n font_id: string\n font_name: string\n font_family?: string\n font_weight_regular?: string\n font_weight_medium?: string\n font_weight_bold?: string\n urls: Array<{\n type?: { ... }\n url?: { ... }\n }>\n }\n primary: string\n secondary: string\n}\n```\n\n### `ShapeData`\n\n```ts\ntype ShapeData = {\n border_radius?: number\n}\n```\n\n### `FontData`\n\n```ts\ntype FontData = {\n font_id: string\n font_name: string\n font_family?: string\n font_weight_regular?: string\n font_weight_medium?: string\n font_weight_bold?: string\n urls: Array<{\n type?: "WOFF2" | "WOFF" | "TTF" | "EOT"\n url?: string\n }>\n}\n```\n\n### `FontResponseUrl`\n\n```ts\ntype FontResponseUrl = {\n type?: "WOFF2" | "WOFF" | "TTF" | "EOT"\n url?: string\n}\n```\n\n### `WidgetPortalData`\n\n```ts\ntype WidgetPortalData = {\n id: string\n name: string\n}\n```\n\n### `ErrorResp`\n\n```ts\ntype ErrorResp = {\n message?: string\n error?: object\n}\n```\n\n### `FileData`\n\n```ts\ntype FileData = {\n name: string\n display_name?: string\n file_type?: "LOGO" | "FONT" | "IMAGE"\n s3_object_key: string\n url: string\n}\n```\n\n### `DesignId`\n\nId of the design\n\n```ts\ntype DesignId = string\n```\n\n### `Theme`\n\nType of theme to be parsed and returned\n\n```ts\ntype Theme = "NEW" | "OLD"\n```\n\n### `Application`\n\nType of application that uses the design\n\n```ts\ntype Application = string\n```\n\n### `DesignParameters`\n\n```ts\ntype DesignParameters = {\n designId?: string\n theme?: "NEW" | "OLD"\n application?: string\n}\n```\n';
5
+
6
+
7
+ exports.default = design_default;