@soat/sdk 0.15.12 → 0.15.13

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.mts CHANGED
@@ -803,35 +803,80 @@ type SubmitToolOutputsRequest = {
803
803
  output: unknown;
804
804
  }>;
805
805
  };
806
+ /**
807
+ * Result of an agent generation. Mirrors the server's `GenerationResult`. When `status` is `completed` the model output is under `output`; when it is `requires_action` the pending client tool calls are under `required_action`.
808
+ *
809
+ */
806
810
  type AgentGenerationResponse = {
807
811
  /**
808
812
  * Public ID of the generation
809
813
  */
810
- id?: string;
814
+ id: string;
811
815
  /**
812
- * Generation status
816
+ * Public ID of the trace for this generation
813
817
  */
814
- status?: 'completed' | 'requires_action';
818
+ trace_id: string;
815
819
  /**
816
- * Final text output (when completed)
820
+ * Generation status
817
821
  */
818
- text?: string | null;
822
+ status: 'completed' | 'requires_action';
819
823
  /**
820
- * Structured object matching the agent's `output_schema` (when completed and `output_schema` is set)
824
+ * Model output (present when `status` is `completed`).
821
825
  */
822
- object?: {
823
- [key: string]: unknown;
826
+ output?: {
827
+ /**
828
+ * Model that produced the output
829
+ */
830
+ model: string;
831
+ /**
832
+ * Final text output
833
+ */
834
+ content: string;
835
+ /**
836
+ * Reason the model stopped generating
837
+ */
838
+ finish_reason: string;
839
+ /**
840
+ * Full AI SDK response messages (tool calls, tool results, final text)
841
+ */
842
+ response_messages?: Array<{
843
+ [key: string]: unknown;
844
+ }> | null;
845
+ /**
846
+ * Structured object matching the agent's `output_schema` (when `output_schema` is set)
847
+ */
848
+ object?: {
849
+ [key: string]: unknown;
850
+ } | null;
824
851
  } | null;
825
852
  /**
826
- * Pending tool calls (when requires_action)
853
+ * Pending action the caller must satisfy (present when `status` is `requires_action`).
827
854
  */
828
- tool_calls?: Array<{
829
- tool_call_id?: string;
830
- tool_name?: string;
831
- args?: {
832
- [key: string]: unknown;
833
- };
834
- }> | null;
855
+ required_action?: {
856
+ /**
857
+ * The kind of action required
858
+ */
859
+ type: 'submit_tool_outputs';
860
+ /**
861
+ * Pending tool calls to execute and submit outputs for
862
+ */
863
+ tool_calls: Array<{
864
+ /**
865
+ * Tool call ID
866
+ */
867
+ id?: string;
868
+ /**
869
+ * Name of the tool to invoke
870
+ */
871
+ tool_name?: string;
872
+ /**
873
+ * Arguments for the tool call
874
+ */
875
+ args?: {
876
+ [key: string]: unknown;
877
+ };
878
+ }>;
879
+ } | null;
835
880
  };
836
881
  type ProviderPrice = {
837
882
  /**
@@ -5354,6 +5399,14 @@ type ListAgentsData = {
5354
5399
  * Project public ID to filter by
5355
5400
  */
5356
5401
  project_id?: string;
5402
+ /**
5403
+ * Maximum number of results to return
5404
+ */
5405
+ limit?: number;
5406
+ /**
5407
+ * Number of results to skip
5408
+ */
5409
+ offset?: number;
5357
5410
  };
5358
5411
  url: '/api/v1/agents';
5359
5412
  };
@@ -5372,7 +5425,12 @@ type ListAgentsResponses = {
5372
5425
  /**
5373
5426
  * List of agents
5374
5427
  */
5375
- 200: Array<Agent>;
5428
+ 200: {
5429
+ data: Array<Agent>;
5430
+ total: number;
5431
+ limit: number;
5432
+ offset: number;
5433
+ };
5376
5434
  };
5377
5435
  type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
5378
5436
  type CreateAgentData = {
@@ -5648,15 +5706,20 @@ type ListAiProvidersResponses = {
5648
5706
  /**
5649
5707
  * List of AI providers
5650
5708
  */
5651
- 200: Array<{
5652
- id?: string;
5653
- name?: string;
5654
- provider?: 'openai' | 'anthropic' | 'google' | 'xai' | 'groq' | 'ollama' | 'azure' | 'bedrock' | 'gateway' | 'custom';
5655
- default_model?: string;
5656
- project_id?: string;
5657
- created_at?: Date;
5658
- updated_at?: Date;
5659
- }>;
5709
+ 200: {
5710
+ data: Array<{
5711
+ id?: string;
5712
+ name?: string;
5713
+ provider?: 'openai' | 'anthropic' | 'google' | 'xai' | 'groq' | 'ollama' | 'azure' | 'bedrock' | 'gateway' | 'custom';
5714
+ default_model?: string;
5715
+ project_id?: string;
5716
+ created_at?: Date;
5717
+ updated_at?: Date;
5718
+ }>;
5719
+ total: number;
5720
+ limit: number;
5721
+ offset: number;
5722
+ };
5660
5723
  };
5661
5724
  type ListAiProvidersResponse = ListAiProvidersResponses[keyof ListAiProvidersResponses];
5662
5725
  type CreateAiProviderData = {
@@ -5935,7 +5998,16 @@ type UpdateAiProviderPricesResponse = UpdateAiProviderPricesResponses[keyof Upda
5935
5998
  type ListApiKeysData = {
5936
5999
  body?: never;
5937
6000
  path?: never;
5938
- query?: never;
6001
+ query?: {
6002
+ /**
6003
+ * Maximum number of results to return
6004
+ */
6005
+ limit?: number;
6006
+ /**
6007
+ * Number of results to skip
6008
+ */
6009
+ offset?: number;
6010
+ };
5939
6011
  url: '/api/v1/api-keys';
5940
6012
  };
5941
6013
  type ListApiKeysErrors = {
@@ -5948,7 +6020,12 @@ type ListApiKeysResponses = {
5948
6020
  /**
5949
6021
  * List of API keys
5950
6022
  */
5951
- 200: Array<ApiKeyRecord>;
6023
+ 200: {
6024
+ data: Array<ApiKeyRecord>;
6025
+ total: number;
6026
+ limit: number;
6027
+ offset: number;
6028
+ };
5952
6029
  };
5953
6030
  type ListApiKeysResponse = ListApiKeysResponses[keyof ListApiKeysResponses];
5954
6031
  type CreateApiKeyData = {
@@ -6119,10 +6196,22 @@ type ListApprovalsData = {
6119
6196
  * Return only items expiring at or before this timestamp
6120
6197
  */
6121
6198
  expires_before?: Date;
6199
+ /**
6200
+ * Maximum number of results to return
6201
+ */
6202
+ limit?: number;
6203
+ /**
6204
+ * Number of results to skip
6205
+ */
6206
+ offset?: number;
6122
6207
  };
6123
6208
  url: '/api/v1/approvals';
6124
6209
  };
6125
6210
  type ListApprovalsErrors = {
6211
+ /**
6212
+ * Invalid `status` or `origin` filter value
6213
+ */
6214
+ 400: unknown;
6126
6215
  /**
6127
6216
  * Unauthorized
6128
6217
  */
@@ -6140,7 +6229,12 @@ type ListApprovalsResponses = {
6140
6229
  /**
6141
6230
  * List of approval items
6142
6231
  */
6143
- 200: Array<ApprovalItem>;
6232
+ 200: {
6233
+ data: Array<ApprovalItem>;
6234
+ total: number;
6235
+ limit: number;
6236
+ offset: number;
6237
+ };
6144
6238
  };
6145
6239
  type ListApprovalsResponse = ListApprovalsResponses[keyof ListApprovalsResponses];
6146
6240
  type GetApprovalData = {
@@ -6376,6 +6470,14 @@ type ListChatsData = {
6376
6470
  * Project public ID to filter by
6377
6471
  */
6378
6472
  project_id?: string;
6473
+ /**
6474
+ * Maximum number of results to return
6475
+ */
6476
+ limit?: number;
6477
+ /**
6478
+ * Number of results to skip
6479
+ */
6480
+ offset?: number;
6379
6481
  };
6380
6482
  url: '/api/v1/chats';
6381
6483
  };
@@ -6394,7 +6496,12 @@ type ListChatsResponses = {
6394
6496
  /**
6395
6497
  * List of chats
6396
6498
  */
6397
- 200: Array<Chat>;
6499
+ 200: {
6500
+ data: Array<Chat>;
6501
+ total: number;
6502
+ limit: number;
6503
+ offset: number;
6504
+ };
6398
6505
  };
6399
6506
  type ListChatsResponse = ListChatsResponses[keyof ListChatsResponses];
6400
6507
  type CreateChatData = {
@@ -7988,6 +8095,14 @@ type ListExceptionsData = {
7988
8095
  * Filter by how the exception was filed
7989
8096
  */
7990
8097
  kind?: 'run_failed' | 'guardrail_tripwire' | 'approval_expired' | 'manual';
8098
+ /**
8099
+ * Maximum number of results to return
8100
+ */
8101
+ limit?: number;
8102
+ /**
8103
+ * Number of results to skip
8104
+ */
8105
+ offset?: number;
7991
8106
  };
7992
8107
  url: '/api/v1/exceptions';
7993
8108
  };
@@ -8009,7 +8124,12 @@ type ListExceptionsResponses = {
8009
8124
  /**
8010
8125
  * List of exception items
8011
8126
  */
8012
- 200: Array<ExceptionItem>;
8127
+ 200: {
8128
+ data: Array<ExceptionItem>;
8129
+ total: number;
8130
+ limit: number;
8131
+ offset: number;
8132
+ };
8013
8133
  };
8014
8134
  type ListExceptionsResponse = ListExceptionsResponses[keyof ListExceptionsResponses];
8015
8135
  type GetExceptionData = {
@@ -8726,6 +8846,14 @@ type ListFormationsData = {
8726
8846
  * Project ID (required if not using project key auth)
8727
8847
  */
8728
8848
  project_id?: string;
8849
+ /**
8850
+ * Maximum number of results to return
8851
+ */
8852
+ limit?: number;
8853
+ /**
8854
+ * Number of results to skip
8855
+ */
8856
+ offset?: number;
8729
8857
  };
8730
8858
  url: '/api/v1/formations';
8731
8859
  };
@@ -8743,7 +8871,12 @@ type ListFormationsResponses = {
8743
8871
  /**
8744
8872
  * List of formations
8745
8873
  */
8746
- 200: Array<Formation>;
8874
+ 200: {
8875
+ data: Array<Formation>;
8876
+ total: number;
8877
+ limit: number;
8878
+ offset: number;
8879
+ };
8747
8880
  };
8748
8881
  type ListFormationsResponse = ListFormationsResponses[keyof ListFormationsResponses];
8749
8882
  type CreateFormationData = {
@@ -8915,7 +9048,16 @@ type ListFormationEventsData = {
8915
9048
  path: {
8916
9049
  formation_id: string;
8917
9050
  };
8918
- query?: never;
9051
+ query?: {
9052
+ /**
9053
+ * Maximum number of results to return
9054
+ */
9055
+ limit?: number;
9056
+ /**
9057
+ * Number of results to skip
9058
+ */
9059
+ offset?: number;
9060
+ };
8919
9061
  url: '/api/v1/formations/{formation_id}/events';
8920
9062
  };
8921
9063
  type ListFormationEventsErrors = {
@@ -8936,7 +9078,12 @@ type ListFormationEventsResponses = {
8936
9078
  /**
8937
9079
  * List of operations
8938
9080
  */
8939
- 200: Array<FormationOperation>;
9081
+ 200: {
9082
+ data: Array<FormationOperation>;
9083
+ total: number;
9084
+ limit: number;
9085
+ offset: number;
9086
+ };
8940
9087
  };
8941
9088
  type ListFormationEventsResponse = ListFormationEventsResponses[keyof ListFormationEventsResponses];
8942
9089
  type ListGenerationsData = {
@@ -9066,6 +9213,14 @@ type ListGuardrailsData = {
9066
9213
  * Project public ID to filter by
9067
9214
  */
9068
9215
  project_id?: string;
9216
+ /**
9217
+ * Maximum number of results to return
9218
+ */
9219
+ limit?: number;
9220
+ /**
9221
+ * Number of results to skip
9222
+ */
9223
+ offset?: number;
9069
9224
  };
9070
9225
  url: '/api/v1/guardrails';
9071
9226
  };
@@ -9084,7 +9239,12 @@ type ListGuardrailsResponses = {
9084
9239
  /**
9085
9240
  * List of guardrails
9086
9241
  */
9087
- 200: Array<Guardrail>;
9242
+ 200: {
9243
+ data: Array<Guardrail>;
9244
+ total: number;
9245
+ limit: number;
9246
+ offset: number;
9247
+ };
9088
9248
  };
9089
9249
  type ListGuardrailsResponse = ListGuardrailsResponses[keyof ListGuardrailsResponses];
9090
9250
  type CreateGuardrailData = {
@@ -9329,7 +9489,12 @@ type ListIngestionRulesResponses = {
9329
9489
  /**
9330
9490
  * List of ingestion rules
9331
9491
  */
9332
- 200: Array<IngestionRule>;
9492
+ 200: {
9493
+ data: Array<IngestionRule>;
9494
+ total: number;
9495
+ limit: number;
9496
+ offset: number;
9497
+ };
9333
9498
  };
9334
9499
  type ListIngestionRulesResponse = ListIngestionRulesResponses[keyof ListIngestionRulesResponses];
9335
9500
  type CreateIngestionRuleData = {
@@ -9616,6 +9781,14 @@ type ListMemoriesData = {
9616
9781
  *
9617
9782
  */
9618
9783
  tags?: Array<string>;
9784
+ /**
9785
+ * Maximum number of results to return
9786
+ */
9787
+ limit?: number;
9788
+ /**
9789
+ * Number of results to skip
9790
+ */
9791
+ offset?: number;
9619
9792
  };
9620
9793
  url: '/api/v1/memories';
9621
9794
  };
@@ -9637,7 +9810,12 @@ type ListMemoriesResponses = {
9637
9810
  /**
9638
9811
  * List of memories
9639
9812
  */
9640
- 200: Array<Memory>;
9813
+ 200: {
9814
+ data: Array<Memory>;
9815
+ total: number;
9816
+ limit: number;
9817
+ offset: number;
9818
+ };
9641
9819
  };
9642
9820
  type ListMemoriesResponse = ListMemoriesResponses[keyof ListMemoriesResponses];
9643
9821
  type CreateMemoryData = {
@@ -9808,6 +9986,14 @@ type ListMemoryEntriesData = {
9808
9986
  * Memory container to list entries from (mem_...)
9809
9987
  */
9810
9988
  memory_id: string;
9989
+ /**
9990
+ * Maximum number of results to return
9991
+ */
9992
+ limit?: number;
9993
+ /**
9994
+ * Number of results to skip
9995
+ */
9996
+ offset?: number;
9811
9997
  };
9812
9998
  url: '/api/v1/memory-entries';
9813
9999
  };
@@ -9833,7 +10019,12 @@ type ListMemoryEntriesResponses = {
9833
10019
  /**
9834
10020
  * List of memory entries
9835
10021
  */
9836
- 200: Array<MemoryEntry>;
10022
+ 200: {
10023
+ data: Array<MemoryEntry>;
10024
+ total: number;
10025
+ limit: number;
10026
+ offset: number;
10027
+ };
9837
10028
  };
9838
10029
  type ListMemoryEntriesResponse = ListMemoryEntriesResponses[keyof ListMemoryEntriesResponses];
9839
10030
  type CreateMemoryEntryData = {
@@ -10028,6 +10219,14 @@ type ListOrchestrationsData = {
10028
10219
  * Filter by project public ID
10029
10220
  */
10030
10221
  project_id?: string;
10222
+ /**
10223
+ * Maximum number of results to return
10224
+ */
10225
+ limit?: number;
10226
+ /**
10227
+ * Number of results to skip
10228
+ */
10229
+ offset?: number;
10031
10230
  };
10032
10231
  url: '/api/v1/orchestrations';
10033
10232
  };
@@ -10045,7 +10244,12 @@ type ListOrchestrationsResponses = {
10045
10244
  /**
10046
10245
  * List of orchestrations
10047
10246
  */
10048
- 200: Array<Orchestration>;
10247
+ 200: {
10248
+ data: Array<Orchestration>;
10249
+ total: number;
10250
+ limit: number;
10251
+ offset: number;
10252
+ };
10049
10253
  };
10050
10254
  type ListOrchestrationsResponse = ListOrchestrationsResponses[keyof ListOrchestrationsResponses];
10051
10255
  type CreateOrchestrationData = {
@@ -10225,6 +10429,14 @@ type ListOrchestrationRunsData = {
10225
10429
  * Filter by orchestration public ID (orch_...)
10226
10430
  */
10227
10431
  orchestration_id?: string;
10432
+ /**
10433
+ * Maximum number of results to return
10434
+ */
10435
+ limit?: number;
10436
+ /**
10437
+ * Number of results to skip
10438
+ */
10439
+ offset?: number;
10228
10440
  };
10229
10441
  url: '/api/v1/orchestration-runs';
10230
10442
  };
@@ -10242,7 +10454,12 @@ type ListOrchestrationRunsResponses = {
10242
10454
  /**
10243
10455
  * List of runs
10244
10456
  */
10245
- 200: Array<OrchestrationRun>;
10457
+ 200: {
10458
+ data: Array<OrchestrationRun>;
10459
+ total: number;
10460
+ limit: number;
10461
+ offset: number;
10462
+ };
10246
10463
  };
10247
10464
  type ListOrchestrationRunsResponse = ListOrchestrationRunsResponses[keyof ListOrchestrationRunsResponses];
10248
10465
  type StartOrchestrationRunData = {
@@ -10428,6 +10645,14 @@ type ListPoliciesData = {
10428
10645
  * Return only policies attached to this user (user_...)
10429
10646
  */
10430
10647
  user_id?: string;
10648
+ /**
10649
+ * Maximum number of results to return
10650
+ */
10651
+ limit?: number;
10652
+ /**
10653
+ * Number of results to skip
10654
+ */
10655
+ offset?: number;
10431
10656
  };
10432
10657
  url: '/api/v1/policies';
10433
10658
  };
@@ -10445,7 +10670,12 @@ type ListPoliciesResponses = {
10445
10670
  /**
10446
10671
  * List of policies
10447
10672
  */
10448
- 200: Array<PolicyRecord>;
10673
+ 200: {
10674
+ data: Array<PolicyRecord>;
10675
+ total: number;
10676
+ limit: number;
10677
+ offset: number;
10678
+ };
10449
10679
  };
10450
10680
  type ListPoliciesResponse = ListPoliciesResponses[keyof ListPoliciesResponses];
10451
10681
  type CreatePolicyData = {
@@ -10588,7 +10818,16 @@ type UpdatePolicyResponse = UpdatePolicyResponses[keyof UpdatePolicyResponses];
10588
10818
  type ListProjectsData = {
10589
10819
  body?: never;
10590
10820
  path?: never;
10591
- query?: never;
10821
+ query?: {
10822
+ /**
10823
+ * Maximum number of results to return
10824
+ */
10825
+ limit?: number;
10826
+ /**
10827
+ * Number of results to skip
10828
+ */
10829
+ offset?: number;
10830
+ };
10592
10831
  url: '/api/v1/projects';
10593
10832
  };
10594
10833
  type ListProjectsErrors = {
@@ -10601,7 +10840,12 @@ type ListProjectsResponses = {
10601
10840
  /**
10602
10841
  * List of projects
10603
10842
  */
10604
- 200: Array<ProjectRecord>;
10843
+ 200: {
10844
+ data: Array<ProjectRecord>;
10845
+ total: number;
10846
+ limit: number;
10847
+ offset: number;
10848
+ };
10605
10849
  };
10606
10850
  type ListProjectsResponse = ListProjectsResponses[keyof ListProjectsResponses];
10607
10851
  type CreateProjectData = {
@@ -10834,6 +11078,14 @@ type ListQuotasData = {
10834
11078
  * Project ID (required if not using project key auth)
10835
11079
  */
10836
11080
  project_id?: string;
11081
+ /**
11082
+ * Maximum number of results to return
11083
+ */
11084
+ limit?: number;
11085
+ /**
11086
+ * Number of results to skip
11087
+ */
11088
+ offset?: number;
10837
11089
  };
10838
11090
  url: '/api/v1/quotas';
10839
11091
  };
@@ -10855,7 +11107,12 @@ type ListQuotasResponses = {
10855
11107
  /**
10856
11108
  * List of quotas
10857
11109
  */
10858
- 200: Array<Quota>;
11110
+ 200: {
11111
+ data: Array<Quota>;
11112
+ total: number;
11113
+ limit: number;
11114
+ offset: number;
11115
+ };
10859
11116
  };
10860
11117
  type ListQuotasResponse = ListQuotasResponses[keyof ListQuotasResponses];
10861
11118
  type CreateQuotaData = {
@@ -11068,17 +11325,22 @@ type ListSecretsResponses = {
11068
11325
  /**
11069
11326
  * List of secrets
11070
11327
  */
11071
- 200: Array<{
11072
- id?: string;
11073
- name?: string;
11074
- /**
11075
- * Whether an encrypted value is stored for this secret
11076
- */
11077
- has_value?: boolean;
11078
- project_id?: string;
11079
- created_at?: Date;
11080
- updated_at?: Date;
11081
- }>;
11328
+ 200: {
11329
+ data: Array<{
11330
+ id?: string;
11331
+ name?: string;
11332
+ /**
11333
+ * Whether an encrypted value is stored for this secret
11334
+ */
11335
+ has_value?: boolean;
11336
+ project_id?: string;
11337
+ created_at?: Date;
11338
+ updated_at?: Date;
11339
+ }>;
11340
+ total: number;
11341
+ limit: number;
11342
+ offset: number;
11343
+ };
11082
11344
  };
11083
11345
  type ListSecretsResponse = ListSecretsResponses[keyof ListSecretsResponses];
11084
11346
  type CreateSecretData = {
@@ -11677,6 +11939,14 @@ type ListTasksData = {
11677
11939
  state?: string;
11678
11940
  status?: 'open' | 'closed';
11679
11941
  assignee?: string;
11942
+ /**
11943
+ * Maximum number of results to return
11944
+ */
11945
+ limit?: number;
11946
+ /**
11947
+ * Number of results to skip
11948
+ */
11949
+ offset?: number;
11680
11950
  };
11681
11951
  url: '/api/v1/tasks';
11682
11952
  };
@@ -11694,7 +11964,12 @@ type ListTasksResponses = {
11694
11964
  /**
11695
11965
  * A list of tasks
11696
11966
  */
11697
- 200: Array<Task>;
11967
+ 200: {
11968
+ data: Array<Task>;
11969
+ total: number;
11970
+ limit: number;
11971
+ offset: number;
11972
+ };
11698
11973
  };
11699
11974
  type ListTasksResponse = ListTasksResponses[keyof ListTasksResponses];
11700
11975
  type CreateTaskData = {
@@ -11893,6 +12168,14 @@ type ListToolsData = {
11893
12168
  * Project public ID to filter by
11894
12169
  */
11895
12170
  project_id?: string;
12171
+ /**
12172
+ * Maximum number of results to return
12173
+ */
12174
+ limit?: number;
12175
+ /**
12176
+ * Number of results to skip
12177
+ */
12178
+ offset?: number;
11896
12179
  };
11897
12180
  url: '/api/v1/tools';
11898
12181
  };
@@ -11912,7 +12195,10 @@ type ListToolsResponses = {
11912
12195
  * List of tools
11913
12196
  */
11914
12197
  200: {
11915
- data?: Array<Tool>;
12198
+ data: Array<Tool>;
12199
+ total: number;
12200
+ limit: number;
12201
+ offset: number;
11916
12202
  };
11917
12203
  };
11918
12204
  type ListToolsResponse = ListToolsResponses[keyof ListToolsResponses];
@@ -12200,6 +12486,14 @@ type ListTriggersData = {
12200
12486
  project_id?: string;
12201
12487
  type?: 'manual' | 'webhook' | 'schedule';
12202
12488
  target_type?: 'orchestration' | 'agent' | 'tool';
12489
+ /**
12490
+ * Maximum number of results to return
12491
+ */
12492
+ limit?: number;
12493
+ /**
12494
+ * Number of results to skip
12495
+ */
12496
+ offset?: number;
12203
12497
  };
12204
12498
  url: '/api/v1/triggers';
12205
12499
  };
@@ -12217,7 +12511,12 @@ type ListTriggersResponses = {
12217
12511
  /**
12218
12512
  * A list of triggers
12219
12513
  */
12220
- 200: Array<Trigger>;
12514
+ 200: {
12515
+ data: Array<Trigger>;
12516
+ total: number;
12517
+ limit: number;
12518
+ offset: number;
12519
+ };
12221
12520
  };
12222
12521
  type ListTriggersResponse = ListTriggersResponses[keyof ListTriggersResponses];
12223
12522
  type CreateTriggerData = {
@@ -12617,6 +12916,14 @@ type ListUsageThresholdsData = {
12617
12916
  * Filter by project public ID
12618
12917
  */
12619
12918
  project_id?: string;
12919
+ /**
12920
+ * Maximum number of results to return
12921
+ */
12922
+ limit?: number;
12923
+ /**
12924
+ * Number of results to skip
12925
+ */
12926
+ offset?: number;
12620
12927
  };
12621
12928
  url: '/api/v1/usage/thresholds';
12622
12929
  };
@@ -12636,7 +12943,10 @@ type ListUsageThresholdsResponses = {
12636
12943
  * The usage thresholds
12637
12944
  */
12638
12945
  200: {
12639
- data?: Array<UsageThreshold>;
12946
+ data: Array<UsageThreshold>;
12947
+ total: number;
12948
+ limit: number;
12949
+ offset: number;
12640
12950
  };
12641
12951
  };
12642
12952
  type ListUsageThresholdsResponse = ListUsageThresholdsResponses[keyof ListUsageThresholdsResponses];
@@ -12811,7 +13121,16 @@ type GetCurrentUserResponse = GetCurrentUserResponses[keyof GetCurrentUserRespon
12811
13121
  type ListUsersData = {
12812
13122
  body?: never;
12813
13123
  path?: never;
12814
- query?: never;
13124
+ query?: {
13125
+ /**
13126
+ * Maximum number of results to return
13127
+ */
13128
+ limit?: number;
13129
+ /**
13130
+ * Number of results to skip
13131
+ */
13132
+ offset?: number;
13133
+ };
12815
13134
  url: '/api/v1/users';
12816
13135
  };
12817
13136
  type ListUsersErrors = {
@@ -12825,7 +13144,12 @@ type ListUsersResponses = {
12825
13144
  /**
12826
13145
  * List of users returned successfully
12827
13146
  */
12828
- 200: Array<UserRecord>;
13147
+ 200: {
13148
+ data: Array<UserRecord>;
13149
+ total: number;
13150
+ limit: number;
13151
+ offset: number;
13152
+ };
12829
13153
  };
12830
13154
  type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
12831
13155
  type CreateUserData = {
@@ -13011,6 +13335,14 @@ type ListWebhooksData = {
13011
13335
  path?: never;
13012
13336
  query?: {
13013
13337
  project_id?: string;
13338
+ /**
13339
+ * Maximum number of results to return
13340
+ */
13341
+ limit?: number;
13342
+ /**
13343
+ * Number of results to skip
13344
+ */
13345
+ offset?: number;
13014
13346
  };
13015
13347
  url: '/api/v1/webhooks';
13016
13348
  };
@@ -13028,7 +13360,12 @@ type ListWebhooksResponses = {
13028
13360
  /**
13029
13361
  * A list of webhooks
13030
13362
  */
13031
- 200: Array<Webhook>;
13363
+ 200: {
13364
+ data: Array<Webhook>;
13365
+ total: number;
13366
+ limit: number;
13367
+ offset: number;
13368
+ };
13032
13369
  };
13033
13370
  type ListWebhooksResponse = ListWebhooksResponses[keyof ListWebhooksResponses];
13034
13371
  type CreateWebhookData = {
@@ -13275,6 +13612,14 @@ type ListWorkflowsData = {
13275
13612
  path?: never;
13276
13613
  query?: {
13277
13614
  project_id?: string;
13615
+ /**
13616
+ * Maximum number of results to return
13617
+ */
13618
+ limit?: number;
13619
+ /**
13620
+ * Number of results to skip
13621
+ */
13622
+ offset?: number;
13278
13623
  };
13279
13624
  url: '/api/v1/workflows';
13280
13625
  };
@@ -13292,7 +13637,12 @@ type ListWorkflowsResponses = {
13292
13637
  /**
13293
13638
  * A list of workflows
13294
13639
  */
13295
- 200: Array<Workflow>;
13640
+ 200: {
13641
+ data: Array<Workflow>;
13642
+ total: number;
13643
+ limit: number;
13644
+ offset: number;
13645
+ };
13296
13646
  };
13297
13647
  type ListWorkflowsResponse = ListWorkflowsResponses[keyof ListWorkflowsResponses];
13298
13648
  type CreateWorkflowData = {