@botpress/cognitive 0.1.48 → 0.1.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -3977,6 +3977,10 @@ interface GetOrCreateWorkflowRequestBody {
3977
3977
  * Optional list of tag names to use for strict matching when looking up existing workflows. If provided, all specified tags must match exactly for a workflow to be considered a match. For example, with an existing workflow whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
3978
3978
  */
3979
3979
  discriminateByTags?: string[];
3980
+ /**
3981
+ * When provided, will only match workflows whose status corresponds to the status group.
3982
+ */
3983
+ discriminateByStatusGroup?: "active" | "finished";
3980
3984
  }
3981
3985
  type GetOrCreateWorkflowInput = GetOrCreateWorkflowRequestBody & GetOrCreateWorkflowRequestHeaders & GetOrCreateWorkflowRequestQuery & GetOrCreateWorkflowRequestParams;
3982
3986
  interface GetOrCreateWorkflowResponse {
@@ -6615,9 +6619,20 @@ interface CreateBotResponse {
6615
6619
  interfaces?: {
6616
6620
  [k: string]: {
6617
6621
  integrationId: string;
6622
+ integrationAlias: string;
6623
+ integrationInterfaceAlias?: string;
6618
6624
  interfaceId: string;
6619
6625
  };
6620
6626
  };
6627
+ /**
6628
+ * A mapping of plugin integration aliases to their backing integrations
6629
+ */
6630
+ integrations?: {
6631
+ [k: string]: {
6632
+ integrationId: string;
6633
+ integrationAlias: string;
6634
+ };
6635
+ };
6621
6636
  /**
6622
6637
  * ID of the [Plugin](#schema_plugin)
6623
6638
  */
@@ -7108,6 +7123,23 @@ interface UpdateBotRequestBody {
7108
7123
  interfaces?: {
7109
7124
  [k: string]: {
7110
7125
  integrationId: string;
7126
+ /**
7127
+ * When an alias is provided, the plugin will use the integration corresponding to this alias. If not provided, the first integration matching the integrationId will be used.
7128
+ */
7129
+ integrationAlias?: string;
7130
+ /**
7131
+ * When an alias is provided, the plugin will use the integration interface corresponding to this alias.
7132
+ */
7133
+ integrationInterfaceAlias?: string;
7134
+ };
7135
+ };
7136
+ /**
7137
+ * A mapping of plugin integration aliases to their backing integrations
7138
+ */
7139
+ integrations?: {
7140
+ [k: string]: {
7141
+ integrationId: string;
7142
+ integrationAlias: string;
7111
7143
  };
7112
7144
  };
7113
7145
  } | null;
@@ -7246,9 +7278,20 @@ interface UpdateBotResponse {
7246
7278
  interfaces?: {
7247
7279
  [k: string]: {
7248
7280
  integrationId: string;
7281
+ integrationAlias: string;
7282
+ integrationInterfaceAlias?: string;
7249
7283
  interfaceId: string;
7250
7284
  };
7251
7285
  };
7286
+ /**
7287
+ * A mapping of plugin integration aliases to their backing integrations
7288
+ */
7289
+ integrations?: {
7290
+ [k: string]: {
7291
+ integrationId: string;
7292
+ integrationAlias: string;
7293
+ };
7294
+ };
7252
7295
  /**
7253
7296
  * ID of the [Plugin](#schema_plugin)
7254
7297
  */
@@ -7709,9 +7752,20 @@ interface GetBotResponse {
7709
7752
  interfaces?: {
7710
7753
  [k: string]: {
7711
7754
  integrationId: string;
7755
+ integrationAlias: string;
7756
+ integrationInterfaceAlias?: string;
7712
7757
  interfaceId: string;
7713
7758
  };
7714
7759
  };
7760
+ /**
7761
+ * A mapping of plugin integration aliases to their backing integrations
7762
+ */
7763
+ integrations?: {
7764
+ [k: string]: {
7765
+ integrationId: string;
7766
+ integrationAlias: string;
7767
+ };
7768
+ };
7715
7769
  /**
7716
7770
  * ID of the [Plugin](#schema_plugin)
7717
7771
  */
@@ -8374,6 +8428,7 @@ interface DeployBotVersionResponse {
8374
8428
  interface CreateIntegrationShareableIdRequestHeaders {
8375
8429
  }
8376
8430
  interface CreateIntegrationShareableIdRequestQuery {
8431
+ integrationInstanceAlias?: string;
8377
8432
  }
8378
8433
  interface CreateIntegrationShareableIdRequestParams {
8379
8434
  botId: string;
@@ -8389,6 +8444,7 @@ interface CreateIntegrationShareableIdResponse {
8389
8444
  interface DeleteIntegrationShareableIdRequestHeaders {
8390
8445
  }
8391
8446
  interface DeleteIntegrationShareableIdRequestQuery {
8447
+ integrationInstanceAlias?: string;
8392
8448
  }
8393
8449
  interface DeleteIntegrationShareableIdRequestParams {
8394
8450
  botId: string;
@@ -8403,6 +8459,7 @@ interface DeleteIntegrationShareableIdResponse {
8403
8459
  interface GetIntegrationShareableIdRequestHeaders {
8404
8460
  }
8405
8461
  interface GetIntegrationShareableIdRequestQuery {
8462
+ integrationInstanceAlias?: string;
8406
8463
  }
8407
8464
  interface GetIntegrationShareableIdRequestParams {
8408
8465
  botId: string;
@@ -8419,6 +8476,7 @@ interface GetIntegrationShareableIdResponse {
8419
8476
  interface UnlinkSandboxedConversationsRequestHeaders {
8420
8477
  }
8421
8478
  interface UnlinkSandboxedConversationsRequestQuery {
8479
+ integrationInstanceAlias?: string;
8422
8480
  }
8423
8481
  interface UnlinkSandboxedConversationsRequestParams {
8424
8482
  botId: string;
@@ -8689,6 +8747,7 @@ interface CreateWorkspaceResponse {
8689
8747
  socialAccounts?: string[];
8690
8748
  isPublic?: boolean;
8691
8749
  handle?: string;
8750
+ activeTrialId: string | null;
8692
8751
  }
8693
8752
 
8694
8753
  interface GetPublicWorkspaceRequestHeaders {
@@ -8742,6 +8801,7 @@ interface GetWorkspaceResponse {
8742
8801
  socialAccounts?: string[];
8743
8802
  isPublic?: boolean;
8744
8803
  handle?: string;
8804
+ activeTrialId: string | null;
8745
8805
  }
8746
8806
 
8747
8807
  interface ListWorkspaceUsagesRequestHeaders {
@@ -8913,6 +8973,7 @@ interface UpdateWorkspaceResponse$1 {
8913
8973
  socialAccounts?: string[];
8914
8974
  isPublic?: boolean;
8915
8975
  handle?: string;
8976
+ activeTrialId: string | null;
8916
8977
  }
8917
8978
 
8918
8979
  interface CheckHandleAvailabilityRequestHeaders {
@@ -8969,6 +9030,7 @@ interface UpdateWorkspaceResponse {
8969
9030
  socialAccounts?: string[];
8970
9031
  isPublic?: boolean;
8971
9032
  handle?: string;
9033
+ activeTrialId: string | null;
8972
9034
  }
8973
9035
 
8974
9036
  interface ListPublicWorkspacesRequestHeaders {
@@ -9038,7 +9100,7 @@ interface GetAuditRecordsResponse {
9038
9100
  resourceId: string | null;
9039
9101
  resourceName?: string | null;
9040
9102
  value?: string | null;
9041
- action: "UNKNOWN" | "ADD_WORKSPACE_MEMBER" | "REMOVE_WORKSPACE_MEMBER" | "UPDATE_WORKSPACE_MEMBER" | "CLOSE_WORKSPACE" | "CREATE_BOT" | "CREATE_WORKSPACE" | "DELETE_BOT" | "DEPLOY_BOT" | "TRANSFER_BOT" | "DOWNLOAD_BOT_ARCHIVE" | "UPDATE_BOT" | "UPDATE_BOT_CHANNEL" | "UPDATE_BOT_CONFIG" | "UPDATE_PAYMENT_METHOD" | "UPDATE_WORKSPACE" | "SET_SPENDING_LIMIT" | "SET_AI_SPENDING_LIMIT" | "UPDATE_WORKSPACE_BILLING_READONLY";
9103
+ action: "UNKNOWN" | "ADD_WORKSPACE_MEMBER" | "REMOVE_WORKSPACE_MEMBER" | "UPDATE_WORKSPACE_MEMBER" | "CLOSE_WORKSPACE" | "CREATE_BOT" | "CREATE_WORKSPACE" | "DELETE_BOT" | "DEPLOY_BOT" | "TRANSFER_BOT" | "DOWNLOAD_BOT_ARCHIVE" | "UPDATE_BOT" | "UPDATE_BOT_CHANNEL" | "UPDATE_BOT_CONFIG" | "UPDATE_PAYMENT_METHOD" | "UPDATE_WORKSPACE" | "SET_SPENDING_LIMIT" | "SET_AI_SPENDING_LIMIT" | "UPDATE_WORKSPACE_BILLING_READONLY" | "EXECUTE_AUTO_RECHARGE_SUCCESS" | "EXECUTE_AUTO_RECHARGE_FAILED";
9042
9104
  }[];
9043
9105
  meta: {
9044
9106
  /**
@@ -17519,6 +17581,10 @@ interface FindTableRowsRequestBody {
17519
17581
  * Search term to apply to the row search. When using this parameter, some rows which doesn't match the search term will be returned, use the similarity field to know how much the row matches the search term.
17520
17582
  */
17521
17583
  search?: string;
17584
+ /**
17585
+ * Specify which columns to return in the response. Supports both top-level columns (e.g., "name") and nested attributes using dot notation (e.g., "attributes.price"). System columns (id, createdAt, updatedAt, etc.) are always included. If omitted, all columns are returned.
17586
+ */
17587
+ select?: string[];
17522
17588
  /**
17523
17589
  * Specifies the column by which to order the results. By default it is ordered by id. Build-in columns: id, createdAt, updatedAt
17524
17590
  */
@@ -18984,7 +19050,7 @@ declare class Cognitive {
18984
19050
  private _generateContent;
18985
19051
  }
18986
19052
 
18987
- type Models = 'auto' | 'best' | 'fast' | 'anthropic:claude-3-5-haiku-20241022' | 'anthropic:claude-3-5-sonnet-20240620' | 'anthropic:claude-3-5-sonnet-20241022' | 'anthropic:claude-3-7-sonnet-20250219' | 'anthropic:claude-3-haiku-20240307' | 'anthropic:claude-sonnet-4-20250514' | 'anthropic:claude-sonnet-4-5-20250929' | 'cerebras:gpt-oss-120b' | 'cerebras:llama-4-scout-17b-16e-instruct' | 'cerebras:llama3.1-8b' | 'cerebras:llama3.3-70b' | 'cerebras:qwen-3-32b' | 'fireworks-ai:deepseek-r1-0528' | 'fireworks-ai:deepseek-v3-0324' | 'fireworks-ai:gpt-oss-120b' | 'fireworks-ai:gpt-oss-20b' | 'fireworks-ai:llama-v3p1-8b-instruct' | 'fireworks-ai:llama-v3p3-70b-instruct' | 'fireworks-ai:llama4-maverick-instruct-basic' | 'fireworks-ai:llama4-scout-instruct-basic' | 'fireworks-ai:mixtral-8x7b-instruct' | 'fireworks-ai:mythomax-l2-13b' | 'google-ai:gemini-2.0-flash' | 'google-ai:gemini-2.5-flash' | 'google-ai:gemini-2.5-pro' | 'groq:deepseek-r1-distill-llama-70b' | 'groq:gemma2-9b-it' | 'groq:gpt-oss-120b' | 'groq:gpt-oss-20b' | 'groq:llama-3.1-8b-instant' | 'groq:llama-3.3-70b-versatile' | 'openai:gpt-4.1-2025-04-14' | 'openai:gpt-4.1-mini-2025-04-14' | 'openai:gpt-4.1-nano-2025-04-14' | 'openai:gpt-4o-2024-11-20' | 'openai:gpt-4o-mini-2024-07-18' | 'openai:gpt-5-2025-08-07' | 'openai:gpt-5-mini-2025-08-07' | 'openai:gpt-5-nano-2025-08-07' | 'openai:o1-2024-12-17' | 'openai:o1-mini-2024-09-12' | 'openai:o3-2025-04-16' | 'openai:o3-mini-2025-01-31' | 'openai:o4-mini-2025-04-16' | 'openrouter:gpt-oss-120b' | 'xai:grok-3' | 'xai:grok-3-mini' | 'xai:grok-4-0709' | 'xai:grok-4-fast-non-reasoning' | 'xai:grok-4-fast-reasoning' | 'xai:grok-code-fast-1' | 'openai:gpt-5' | 'openai:gpt-5-mini' | 'openai:gpt-5-nano' | 'openai:o4-mini' | 'openai:o3' | 'openai:gpt-4.1' | 'openai:gpt-4.1-mini' | 'openai:gpt-4.1-nano' | 'openai:o3-mini' | 'openai:o1-mini' | 'openai:gpt-4o-mini' | 'openai:gpt-4o' | 'anthropic:claude-sonnet-4-5' | 'anthropic:claude-sonnet-4' | 'anthropic:claude-sonnet-4-reasoning' | 'google-ai:models/gemini-2.0-flash' | 'groq:openai/gpt-oss-20b' | 'groq:openai/gpt-oss-120b' | 'fireworks-ai:accounts/fireworks/models/gpt-oss-20b' | 'fireworks-ai:accounts/fireworks/models/gpt-oss-120b' | 'fireworks-ai:accounts/fireworks/models/deepseek-r1-0528' | 'fireworks-ai:accounts/fireworks/models/deepseek-v3-0324' | 'fireworks-ai:accounts/fireworks/models/llama4-maverick-instruct-basic' | 'fireworks-ai:accounts/fireworks/models/llama4-scout-instruct-basic' | 'fireworks-ai:accounts/fireworks/models/llama-v3p3-70b-instruct' | 'fireworks-ai:accounts/fireworks/models/deepseek-r1' | 'fireworks-ai:accounts/fireworks/models/deepseek-r1-basic' | 'fireworks-ai:accounts/fireworks/models/deepseek-v3' | 'fireworks-ai:accounts/fireworks/models/llama-v3p1-405b-instruct' | 'fireworks-ai:accounts/fireworks/models/llama-v3p1-70b-instruct' | 'fireworks-ai:accounts/fireworks/models/llama-v3p1-8b-instruct' | 'fireworks-ai:accounts/fireworks/models/mixtral-8x22b-instruct' | 'fireworks-ai:accounts/fireworks/models/mixtral-8x7b-instruct' | 'fireworks-ai:accounts/fireworks/models/mythomax-l2-13b' | 'fireworks-ai:accounts/fireworks/models/gemma2-9b-it' | ({} & string);
19053
+ type Models = 'auto' | 'best' | 'fast' | 'anthropic:claude-3-5-haiku-20241022' | 'anthropic:claude-3-5-sonnet-20240620' | 'anthropic:claude-3-5-sonnet-20241022' | 'anthropic:claude-3-7-sonnet-20250219' | 'anthropic:claude-3-haiku-20240307' | 'anthropic:claude-sonnet-4-20250514' | 'anthropic:claude-sonnet-4-5-20250929' | 'cerebras:gpt-oss-120b' | 'cerebras:llama-4-scout-17b-16e-instruct' | 'cerebras:llama3.1-8b' | 'cerebras:llama3.3-70b' | 'cerebras:qwen-3-32b' | 'fireworks-ai:deepseek-r1-0528' | 'fireworks-ai:deepseek-v3-0324' | 'fireworks-ai:gpt-oss-120b' | 'fireworks-ai:gpt-oss-20b' | 'fireworks-ai:llama-v3p1-8b-instruct' | 'fireworks-ai:llama-v3p3-70b-instruct' | 'fireworks-ai:llama4-maverick-instruct-basic' | 'fireworks-ai:llama4-scout-instruct-basic' | 'fireworks-ai:mixtral-8x7b-instruct' | 'fireworks-ai:mythomax-l2-13b' | 'google-ai:gemini-2.0-flash' | 'google-ai:gemini-2.5-flash' | 'google-ai:gemini-2.5-pro' | 'groq:gpt-oss-120b' | 'groq:gpt-oss-20b' | 'groq:llama-3.1-8b-instant' | 'groq:llama-3.3-70b-versatile' | 'openai:gpt-4.1-2025-04-14' | 'openai:gpt-4.1-mini-2025-04-14' | 'openai:gpt-4.1-nano-2025-04-14' | 'openai:gpt-4o-2024-11-20' | 'openai:gpt-4o-mini-2024-07-18' | 'openai:gpt-5-2025-08-07' | 'openai:gpt-5-mini-2025-08-07' | 'openai:gpt-5-nano-2025-08-07' | 'openai:o1-2024-12-17' | 'openai:o1-mini-2024-09-12' | 'openai:o3-2025-04-16' | 'openai:o3-mini-2025-01-31' | 'openai:o4-mini-2025-04-16' | 'openrouter:gpt-oss-120b' | 'xai:grok-3' | 'xai:grok-3-mini' | 'xai:grok-4-0709' | 'xai:grok-4-fast-non-reasoning' | 'xai:grok-4-fast-reasoning' | 'xai:grok-code-fast-1' | 'openai:gpt-5' | 'openai:gpt-5-mini' | 'openai:gpt-5-nano' | 'openai:o4-mini' | 'openai:o3' | 'openai:gpt-4.1' | 'openai:gpt-4.1-mini' | 'openai:gpt-4.1-nano' | 'openai:o3-mini' | 'openai:o1-mini' | 'openai:gpt-4o-mini' | 'openai:gpt-4o' | 'anthropic:claude-sonnet-4-5' | 'anthropic:claude-sonnet-4' | 'anthropic:claude-sonnet-4-reasoning' | 'google-ai:models/gemini-2.0-flash' | 'groq:openai/gpt-oss-20b' | 'groq:openai/gpt-oss-120b' | 'fireworks-ai:accounts/fireworks/models/gpt-oss-20b' | 'fireworks-ai:accounts/fireworks/models/gpt-oss-120b' | 'fireworks-ai:accounts/fireworks/models/deepseek-r1-0528' | 'fireworks-ai:accounts/fireworks/models/deepseek-v3-0324' | 'fireworks-ai:accounts/fireworks/models/llama4-maverick-instruct-basic' | 'fireworks-ai:accounts/fireworks/models/llama4-scout-instruct-basic' | 'fireworks-ai:accounts/fireworks/models/llama-v3p3-70b-instruct' | 'fireworks-ai:accounts/fireworks/models/deepseek-r1' | 'fireworks-ai:accounts/fireworks/models/deepseek-r1-basic' | 'fireworks-ai:accounts/fireworks/models/deepseek-v3' | 'fireworks-ai:accounts/fireworks/models/llama-v3p1-405b-instruct' | 'fireworks-ai:accounts/fireworks/models/llama-v3p1-70b-instruct' | 'fireworks-ai:accounts/fireworks/models/llama-v3p1-8b-instruct' | 'fireworks-ai:accounts/fireworks/models/mixtral-8x22b-instruct' | 'fireworks-ai:accounts/fireworks/models/mixtral-8x7b-instruct' | 'fireworks-ai:accounts/fireworks/models/mythomax-l2-13b' | 'fireworks-ai:accounts/fireworks/models/gemma2-9b-it' | ({} & string);
18988
19054
  type CognitiveRequest = {
18989
19055
  /**
18990
19056
  * @minItems 1
@@ -19004,13 +19070,33 @@ type CognitiveRequest = {
19004
19070
  * Model to query. Additional models are used as fallback if the main model is unavailable
19005
19071
  */
19006
19072
  model?: Models | Models[];
19007
- systemPrompt?: string;
19008
19073
  temperature?: number;
19074
+ /**
19075
+ * DEPRECATED: Use a message with role "system"
19076
+ */
19077
+ systemPrompt?: string;
19009
19078
  maxTokens?: number;
19010
19079
  stopSequences?: string | string[];
19011
19080
  stream?: boolean;
19081
+ /**
19082
+ * json_object is deprecated, use json
19083
+ */
19012
19084
  responseFormat?: 'text' | 'json' | 'json_object';
19013
19085
  reasoningEffort?: 'low' | 'medium' | 'high' | 'dynamic' | 'none';
19086
+ options?: {
19087
+ /**
19088
+ * Debug mode include additional metadata in the response
19089
+ */
19090
+ debug?: boolean;
19091
+ /**
19092
+ * Bypass the cache and force a new request
19093
+ */
19094
+ skipCache?: boolean;
19095
+ /**
19096
+ * Maximum time to wait for the first token before falling back to the next provider
19097
+ */
19098
+ maxTimeToFirstToken?: number;
19099
+ };
19014
19100
  meta?: {
19015
19101
  /**
19016
19102
  * Source of the prompt, e.g. agent/:id/:version cards/ai-generate, cards/ai-task, nodes/autonomous, etc.
@@ -19032,16 +19118,24 @@ type CognitiveStreamChunk = {
19032
19118
  model?: string;
19033
19119
  usage: {
19034
19120
  inputTokens: number;
19121
+ inputCost: number;
19035
19122
  outputTokens: number;
19036
- reasoningTokens?: number;
19123
+ outputCost: number;
19037
19124
  };
19038
- cost?: number;
19125
+ cost: number;
19039
19126
  cached?: boolean;
19127
+ /**
19128
+ * Time it took for the provider to respond to the LLM query
19129
+ */
19040
19130
  latency?: number;
19041
- stopReason?: string;
19131
+ /**
19132
+ * Time it took for the first token to be received from the provider
19133
+ */
19134
+ ttft?: number;
19135
+ stopReason?: 'stop' | 'max_tokens' | 'content_filter' | 'tool_calls' | 'other';
19042
19136
  reasoningEffort?: string;
19043
19137
  warnings?: {
19044
- type: 'parameter_ignored' | 'provider_limitation' | 'deprecated_model' | 'fallback_used';
19138
+ type: 'parameter_ignored' | 'provider_limitation' | 'deprecated_model' | 'discontinued_model' | 'fallback_used';
19045
19139
  message: string;
19046
19140
  }[];
19047
19141
  /**
@@ -19049,8 +19143,8 @@ type CognitiveStreamChunk = {
19049
19143
  */
19050
19144
  fallbackPath?: string[];
19051
19145
  debug?: {
19052
- [k: string]: string;
19053
- };
19146
+ type: 'models_to_try' | 'provider_request' | 'provider_response';
19147
+ }[];
19054
19148
  };
19055
19149
  };
19056
19150
  type CognitiveResponse = {
@@ -19065,13 +19159,17 @@ type CognitiveResponse = {
19065
19159
  outputTokens: number;
19066
19160
  outputCost: number;
19067
19161
  };
19068
- cost?: number;
19162
+ cost: number;
19069
19163
  cached?: boolean;
19070
19164
  /**
19071
19165
  * Time it took for the provider to respond to the LLM query
19072
19166
  */
19073
19167
  latency?: number;
19074
- stopReason?: 'stop' | 'length' | 'content_filter' | 'error';
19168
+ /**
19169
+ * Time it took for the first token to be received from the provider
19170
+ */
19171
+ ttft?: number;
19172
+ stopReason?: 'stop' | 'max_tokens' | 'content_filter' | 'tool_calls' | 'other';
19075
19173
  reasoningEffort?: string;
19076
19174
  warnings?: {
19077
19175
  type: 'parameter_ignored' | 'provider_limitation' | 'deprecated_model' | 'discontinued_model' | 'fallback_used';
@@ -19082,8 +19180,9 @@ type CognitiveResponse = {
19082
19180
  */
19083
19181
  fallbackPath?: string[];
19084
19182
  debug?: {
19085
- [k: string]: string;
19086
- };
19183
+ type: 'models_to_try' | 'provider_request' | 'provider_response';
19184
+ data?: any | null;
19185
+ }[];
19087
19186
  };
19088
19187
  error?: string;
19089
19188
  };
@@ -19113,7 +19212,7 @@ type Model = {
19113
19212
  /**
19114
19213
  * The lifecycle state of the model. Deprecated models are still available, but a warning will be shown to the user. Discontinued models will be directed to a replacement model.
19115
19214
  */
19116
- lifecycle: 'live' | 'beta' | 'deprecated' | 'discontinued';
19215
+ lifecycle: 'production' | 'preview' | 'deprecated' | 'discontinued';
19117
19216
  };
19118
19217
 
19119
19218
  type ClientProps = {
@@ -19123,7 +19222,7 @@ type ClientProps = {
19123
19222
  token?: string;
19124
19223
  withCredentials?: boolean;
19125
19224
  debug?: boolean;
19126
- headers?: Record<string, string>;
19225
+ headers?: Record<string, string | string[]>;
19127
19226
  };
19128
19227
  type RequestOptions = {
19129
19228
  signal?: AbortSignal;