@soat/sdk 0.33.0 → 0.33.1
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.cjs +7 -10
- package/dist/index.d.cts +21 -10
- package/dist/index.d.mts +21 -10
- package/dist/index.mjs +7 -10
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4314,9 +4314,7 @@ const bindResource = (SdkClass, client) => {
|
|
|
4314
4314
|
} });
|
|
4315
4315
|
};
|
|
4316
4316
|
/**
|
|
4317
|
-
* Stripe-style SOAT client.
|
|
4318
|
-
*
|
|
4319
|
-
* Create an instance once and reuse it throughout your application:
|
|
4317
|
+
* Stripe-style SOAT client. Create an instance once and reuse it:
|
|
4320
4318
|
*
|
|
4321
4319
|
* ```ts
|
|
4322
4320
|
* import { SoatClient } from '@soat/sdk';
|
|
@@ -4329,14 +4327,13 @@ const bindResource = (SdkClass, client) => {
|
|
|
4329
4327
|
* });
|
|
4330
4328
|
* ```
|
|
4331
4329
|
*
|
|
4332
|
-
*
|
|
4333
|
-
*
|
|
4334
|
-
*
|
|
4335
|
-
* is that you never need to supply `client` yourself.
|
|
4330
|
+
* One property per API resource, each mirroring the corresponding static class
|
|
4331
|
+
* from the generated SDK — identical signatures, types and return values, only
|
|
4332
|
+
* without having to supply `client`.
|
|
4336
4333
|
*
|
|
4337
|
-
* The list is exhaustive by construction: `NoUnregisteredResource` at the
|
|
4338
|
-
*
|
|
4339
|
-
*
|
|
4334
|
+
* The list is exhaustive by construction: `NoUnregisteredResource` at the bottom
|
|
4335
|
+
* of this file fails `pnpm typecheck` when a spec adds a resource this class
|
|
4336
|
+
* does not expose.
|
|
4340
4337
|
*/
|
|
4341
4338
|
var SoatClient = class {
|
|
4342
4339
|
activity;
|
package/dist/index.d.cts
CHANGED
|
@@ -7401,6 +7401,20 @@ type ListAiProvidersResponses = {
|
|
|
7401
7401
|
name?: string;
|
|
7402
7402
|
provider?: 'openai' | 'anthropic' | 'google' | 'xai' | 'groq' | 'ollama' | 'azure' | 'bedrock' | 'vertex' | 'gateway' | 'custom';
|
|
7403
7403
|
default_model?: string;
|
|
7404
|
+
/**
|
|
7405
|
+
* Secret ID containing API credentials, or null when the record links none.
|
|
7406
|
+
*/
|
|
7407
|
+
secret_id?: string | null;
|
|
7408
|
+
/**
|
|
7409
|
+
* Custom base URL for the provider. Absent when the record sets none.
|
|
7410
|
+
*/
|
|
7411
|
+
base_url?: string;
|
|
7412
|
+
/**
|
|
7413
|
+
* Additional provider-specific configuration. Absent when the record sets none.
|
|
7414
|
+
*/
|
|
7415
|
+
config?: {
|
|
7416
|
+
[key: string]: unknown;
|
|
7417
|
+
};
|
|
7404
7418
|
project_id?: string;
|
|
7405
7419
|
created_at?: Date;
|
|
7406
7420
|
updated_at?: Date;
|
|
@@ -18911,9 +18925,7 @@ interface SoatClientOptions {
|
|
|
18911
18925
|
headers?: Record<string, string>;
|
|
18912
18926
|
}
|
|
18913
18927
|
/**
|
|
18914
|
-
* Stripe-style SOAT client.
|
|
18915
|
-
*
|
|
18916
|
-
* Create an instance once and reuse it throughout your application:
|
|
18928
|
+
* Stripe-style SOAT client. Create an instance once and reuse it:
|
|
18917
18929
|
*
|
|
18918
18930
|
* ```ts
|
|
18919
18931
|
* import { SoatClient } from '@soat/sdk';
|
|
@@ -18926,14 +18938,13 @@ interface SoatClientOptions {
|
|
|
18926
18938
|
* });
|
|
18927
18939
|
* ```
|
|
18928
18940
|
*
|
|
18929
|
-
*
|
|
18930
|
-
*
|
|
18931
|
-
*
|
|
18932
|
-
* is that you never need to supply `client` yourself.
|
|
18941
|
+
* One property per API resource, each mirroring the corresponding static class
|
|
18942
|
+
* from the generated SDK — identical signatures, types and return values, only
|
|
18943
|
+
* without having to supply `client`.
|
|
18933
18944
|
*
|
|
18934
|
-
* The list is exhaustive by construction: `NoUnregisteredResource` at the
|
|
18935
|
-
*
|
|
18936
|
-
*
|
|
18945
|
+
* The list is exhaustive by construction: `NoUnregisteredResource` at the bottom
|
|
18946
|
+
* of this file fails `pnpm typecheck` when a spec adds a resource this class
|
|
18947
|
+
* does not expose.
|
|
18937
18948
|
*/
|
|
18938
18949
|
declare class SoatClient {
|
|
18939
18950
|
readonly activity: typeof Activity;
|
package/dist/index.d.mts
CHANGED
|
@@ -7401,6 +7401,20 @@ type ListAiProvidersResponses = {
|
|
|
7401
7401
|
name?: string;
|
|
7402
7402
|
provider?: 'openai' | 'anthropic' | 'google' | 'xai' | 'groq' | 'ollama' | 'azure' | 'bedrock' | 'vertex' | 'gateway' | 'custom';
|
|
7403
7403
|
default_model?: string;
|
|
7404
|
+
/**
|
|
7405
|
+
* Secret ID containing API credentials, or null when the record links none.
|
|
7406
|
+
*/
|
|
7407
|
+
secret_id?: string | null;
|
|
7408
|
+
/**
|
|
7409
|
+
* Custom base URL for the provider. Absent when the record sets none.
|
|
7410
|
+
*/
|
|
7411
|
+
base_url?: string;
|
|
7412
|
+
/**
|
|
7413
|
+
* Additional provider-specific configuration. Absent when the record sets none.
|
|
7414
|
+
*/
|
|
7415
|
+
config?: {
|
|
7416
|
+
[key: string]: unknown;
|
|
7417
|
+
};
|
|
7404
7418
|
project_id?: string;
|
|
7405
7419
|
created_at?: Date;
|
|
7406
7420
|
updated_at?: Date;
|
|
@@ -18911,9 +18925,7 @@ interface SoatClientOptions {
|
|
|
18911
18925
|
headers?: Record<string, string>;
|
|
18912
18926
|
}
|
|
18913
18927
|
/**
|
|
18914
|
-
* Stripe-style SOAT client.
|
|
18915
|
-
*
|
|
18916
|
-
* Create an instance once and reuse it throughout your application:
|
|
18928
|
+
* Stripe-style SOAT client. Create an instance once and reuse it:
|
|
18917
18929
|
*
|
|
18918
18930
|
* ```ts
|
|
18919
18931
|
* import { SoatClient } from '@soat/sdk';
|
|
@@ -18926,14 +18938,13 @@ interface SoatClientOptions {
|
|
|
18926
18938
|
* });
|
|
18927
18939
|
* ```
|
|
18928
18940
|
*
|
|
18929
|
-
*
|
|
18930
|
-
*
|
|
18931
|
-
*
|
|
18932
|
-
* is that you never need to supply `client` yourself.
|
|
18941
|
+
* One property per API resource, each mirroring the corresponding static class
|
|
18942
|
+
* from the generated SDK — identical signatures, types and return values, only
|
|
18943
|
+
* without having to supply `client`.
|
|
18933
18944
|
*
|
|
18934
|
-
* The list is exhaustive by construction: `NoUnregisteredResource` at the
|
|
18935
|
-
*
|
|
18936
|
-
*
|
|
18945
|
+
* The list is exhaustive by construction: `NoUnregisteredResource` at the bottom
|
|
18946
|
+
* of this file fails `pnpm typecheck` when a spec adds a resource this class
|
|
18947
|
+
* does not expose.
|
|
18937
18948
|
*/
|
|
18938
18949
|
declare class SoatClient {
|
|
18939
18950
|
readonly activity: typeof Activity;
|
package/dist/index.mjs
CHANGED
|
@@ -4313,9 +4313,7 @@ const bindResource = (SdkClass, client) => {
|
|
|
4313
4313
|
} });
|
|
4314
4314
|
};
|
|
4315
4315
|
/**
|
|
4316
|
-
* Stripe-style SOAT client.
|
|
4317
|
-
*
|
|
4318
|
-
* Create an instance once and reuse it throughout your application:
|
|
4316
|
+
* Stripe-style SOAT client. Create an instance once and reuse it:
|
|
4319
4317
|
*
|
|
4320
4318
|
* ```ts
|
|
4321
4319
|
* import { SoatClient } from '@soat/sdk';
|
|
@@ -4328,14 +4326,13 @@ const bindResource = (SdkClass, client) => {
|
|
|
4328
4326
|
* });
|
|
4329
4327
|
* ```
|
|
4330
4328
|
*
|
|
4331
|
-
*
|
|
4332
|
-
*
|
|
4333
|
-
*
|
|
4334
|
-
* is that you never need to supply `client` yourself.
|
|
4329
|
+
* One property per API resource, each mirroring the corresponding static class
|
|
4330
|
+
* from the generated SDK — identical signatures, types and return values, only
|
|
4331
|
+
* without having to supply `client`.
|
|
4335
4332
|
*
|
|
4336
|
-
* The list is exhaustive by construction: `NoUnregisteredResource` at the
|
|
4337
|
-
*
|
|
4338
|
-
*
|
|
4333
|
+
* The list is exhaustive by construction: `NoUnregisteredResource` at the bottom
|
|
4334
|
+
* of this file fails `pnpm typecheck` when a spec adds a resource this class
|
|
4335
|
+
* does not expose.
|
|
4339
4336
|
*/
|
|
4340
4337
|
var SoatClient = class {
|
|
4341
4338
|
activity;
|