@zavudev/sdk 0.30.0 → 0.38.0
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/CHANGELOG.md +124 -0
- package/client.d.mts +28 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +28 -4
- package/client.d.ts.map +1 -1
- package/client.js +25 -1
- package/client.js.map +1 -1
- package/client.mjs +25 -1
- package/client.mjs.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/balance.d.mts +33 -0
- package/resources/balance.d.mts.map +1 -0
- package/resources/balance.d.ts +33 -0
- package/resources/balance.d.ts.map +1 -0
- package/resources/balance.js +16 -0
- package/resources/balance.js.map +1 -0
- package/resources/balance.mjs +12 -0
- package/resources/balance.mjs.map +1 -0
- package/resources/broadcasts/broadcasts.d.mts +31 -1
- package/resources/broadcasts/broadcasts.d.mts.map +1 -1
- package/resources/broadcasts/broadcasts.d.ts +31 -1
- package/resources/broadcasts/broadcasts.d.ts.map +1 -1
- package/resources/broadcasts/broadcasts.js +28 -0
- package/resources/broadcasts/broadcasts.js.map +1 -1
- package/resources/broadcasts/broadcasts.mjs +28 -0
- package/resources/broadcasts/broadcasts.mjs.map +1 -1
- package/resources/broadcasts/index.d.mts +1 -1
- package/resources/broadcasts/index.d.mts.map +1 -1
- package/resources/broadcasts/index.d.ts +1 -1
- package/resources/broadcasts/index.d.ts.map +1 -1
- package/resources/broadcasts/index.js.map +1 -1
- package/resources/broadcasts/index.mjs.map +1 -1
- package/resources/contacts/channels.d.mts +127 -0
- package/resources/contacts/channels.d.mts.map +1 -0
- package/resources/contacts/channels.d.ts +127 -0
- package/resources/contacts/channels.d.ts.map +1 -0
- package/resources/contacts/channels.js +76 -0
- package/resources/contacts/channels.js.map +1 -0
- package/resources/contacts/channels.mjs +72 -0
- package/resources/contacts/channels.mjs.map +1 -0
- package/resources/contacts/contacts.d.mts +262 -0
- package/resources/contacts/contacts.d.mts.map +1 -0
- package/resources/contacts/contacts.d.ts +262 -0
- package/resources/contacts/contacts.d.ts.map +1 -0
- package/resources/contacts/contacts.js +118 -0
- package/resources/contacts/contacts.js.map +1 -0
- package/resources/contacts/contacts.mjs +113 -0
- package/resources/contacts/contacts.mjs.map +1 -0
- package/resources/contacts/index.d.mts +3 -0
- package/resources/contacts/index.d.mts.map +1 -0
- package/resources/contacts/index.d.ts +3 -0
- package/resources/contacts/index.d.ts.map +1 -0
- package/resources/contacts/index.js +9 -0
- package/resources/contacts/index.js.map +1 -0
- package/resources/contacts/index.mjs +4 -0
- package/resources/contacts/index.mjs.map +1 -0
- package/resources/contacts.d.mts +1 -144
- package/resources/contacts.d.mts.map +1 -1
- package/resources/contacts.d.ts +1 -144
- package/resources/contacts.d.ts.map +1 -1
- package/resources/contacts.js +2 -31
- package/resources/contacts.js.map +1 -1
- package/resources/contacts.mjs +1 -29
- package/resources/contacts.mjs.map +1 -1
- package/resources/exports.d.mts +101 -0
- package/resources/exports.d.mts.map +1 -0
- package/resources/exports.d.ts +101 -0
- package/resources/exports.d.ts.map +1 -0
- package/resources/exports.js +53 -0
- package/resources/exports.js.map +1 -0
- package/resources/exports.mjs +49 -0
- package/resources/exports.mjs.map +1 -0
- package/resources/index.d.mts +10 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +10 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +18 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +9 -1
- package/resources/index.mjs.map +1 -1
- package/resources/invitations.d.mts +133 -0
- package/resources/invitations.d.mts.map +1 -0
- package/resources/invitations.d.ts +133 -0
- package/resources/invitations.d.ts.map +1 -0
- package/resources/invitations.js +67 -0
- package/resources/invitations.js.map +1 -0
- package/resources/invitations.mjs +63 -0
- package/resources/invitations.mjs.map +1 -0
- package/resources/messages.d.mts +37 -4
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +37 -4
- package/resources/messages.d.ts.map +1 -1
- package/resources/number-10dlc/brands.d.mts +258 -0
- package/resources/number-10dlc/brands.d.mts.map +1 -0
- package/resources/number-10dlc/brands.d.ts +258 -0
- package/resources/number-10dlc/brands.d.ts.map +1 -0
- package/resources/number-10dlc/brands.js +132 -0
- package/resources/number-10dlc/brands.js.map +1 -0
- package/resources/number-10dlc/brands.mjs +128 -0
- package/resources/number-10dlc/brands.mjs.map +1 -0
- package/resources/number-10dlc/campaigns/campaigns.d.mts +223 -0
- package/resources/number-10dlc/campaigns/campaigns.d.mts.map +1 -0
- package/resources/number-10dlc/campaigns/campaigns.d.ts +223 -0
- package/resources/number-10dlc/campaigns/campaigns.d.ts.map +1 -0
- package/resources/number-10dlc/campaigns/campaigns.js +133 -0
- package/resources/number-10dlc/campaigns/campaigns.js.map +1 -0
- package/resources/number-10dlc/campaigns/campaigns.mjs +128 -0
- package/resources/number-10dlc/campaigns/campaigns.mjs.map +1 -0
- package/resources/number-10dlc/campaigns/index.d.mts +3 -0
- package/resources/number-10dlc/campaigns/index.d.mts.map +1 -0
- package/resources/number-10dlc/campaigns/index.d.ts +3 -0
- package/resources/number-10dlc/campaigns/index.d.ts.map +1 -0
- package/resources/number-10dlc/campaigns/index.js +9 -0
- package/resources/number-10dlc/campaigns/index.js.map +1 -0
- package/resources/number-10dlc/campaigns/index.mjs +4 -0
- package/resources/number-10dlc/campaigns/index.mjs.map +1 -0
- package/resources/number-10dlc/campaigns/phone-numbers.d.mts +79 -0
- package/resources/number-10dlc/campaigns/phone-numbers.d.mts.map +1 -0
- package/resources/number-10dlc/campaigns/phone-numbers.d.ts +79 -0
- package/resources/number-10dlc/campaigns/phone-numbers.d.ts.map +1 -0
- package/resources/number-10dlc/campaigns/phone-numbers.js +59 -0
- package/resources/number-10dlc/campaigns/phone-numbers.js.map +1 -0
- package/resources/number-10dlc/campaigns/phone-numbers.mjs +55 -0
- package/resources/number-10dlc/campaigns/phone-numbers.mjs.map +1 -0
- package/resources/number-10dlc/campaigns.d.mts +2 -0
- package/resources/number-10dlc/campaigns.d.mts.map +1 -0
- package/resources/number-10dlc/campaigns.d.ts +2 -0
- package/resources/number-10dlc/campaigns.d.ts.map +1 -0
- package/resources/number-10dlc/campaigns.js +6 -0
- package/resources/number-10dlc/campaigns.js.map +1 -0
- package/resources/number-10dlc/campaigns.mjs +3 -0
- package/resources/number-10dlc/campaigns.mjs.map +1 -0
- package/resources/number-10dlc/index.d.mts +4 -0
- package/resources/number-10dlc/index.d.mts.map +1 -0
- package/resources/number-10dlc/index.d.ts +4 -0
- package/resources/number-10dlc/index.d.ts.map +1 -0
- package/resources/number-10dlc/index.js +11 -0
- package/resources/number-10dlc/index.js.map +1 -0
- package/resources/number-10dlc/index.mjs +5 -0
- package/resources/number-10dlc/index.mjs.map +1 -0
- package/resources/number-10dlc/number-10dlc.d.mts +14 -0
- package/resources/number-10dlc/number-10dlc.d.mts.map +1 -0
- package/resources/number-10dlc/number-10dlc.d.ts +14 -0
- package/resources/number-10dlc/number-10dlc.d.ts.map +1 -0
- package/resources/number-10dlc/number-10dlc.js +21 -0
- package/resources/number-10dlc/number-10dlc.js.map +1 -0
- package/resources/number-10dlc/number-10dlc.mjs +16 -0
- package/resources/number-10dlc/number-10dlc.mjs.map +1 -0
- package/resources/number-10dlc.d.mts +2 -0
- package/resources/number-10dlc.d.mts.map +1 -0
- package/resources/number-10dlc.d.ts +2 -0
- package/resources/number-10dlc.d.ts.map +1 -0
- package/resources/number-10dlc.js +6 -0
- package/resources/number-10dlc.js.map +1 -0
- package/resources/number-10dlc.mjs +3 -0
- package/resources/number-10dlc.mjs.map +1 -0
- package/resources/plan.d.mts +43 -0
- package/resources/plan.d.mts.map +1 -0
- package/resources/plan.d.ts +43 -0
- package/resources/plan.d.ts.map +1 -0
- package/resources/plan.js +16 -0
- package/resources/plan.js.map +1 -0
- package/resources/plan.mjs +12 -0
- package/resources/plan.mjs.map +1 -0
- package/resources/senders/agent/agent.d.mts +4 -4
- package/resources/senders/agent/agent.d.mts.map +1 -1
- package/resources/senders/agent/agent.d.ts +4 -4
- package/resources/senders/agent/agent.d.ts.map +1 -1
- package/resources/senders/agent/agent.js.map +1 -1
- package/resources/senders/agent/agent.mjs.map +1 -1
- package/resources/senders/agent/flows.d.mts +40 -114
- package/resources/senders/agent/flows.d.mts.map +1 -1
- package/resources/senders/agent/flows.d.ts +40 -114
- package/resources/senders/agent/flows.d.ts.map +1 -1
- package/resources/senders/agent/index.d.mts +2 -2
- package/resources/senders/agent/index.d.mts.map +1 -1
- package/resources/senders/agent/index.d.ts +2 -2
- package/resources/senders/agent/index.d.ts.map +1 -1
- package/resources/senders/agent/index.js.map +1 -1
- package/resources/senders/agent/index.mjs.map +1 -1
- package/resources/senders/agent/tools.d.mts +15 -47
- package/resources/senders/agent/tools.d.mts.map +1 -1
- package/resources/senders/agent/tools.d.ts +15 -47
- package/resources/senders/agent/tools.d.ts.map +1 -1
- package/resources/senders/index.d.mts +1 -0
- package/resources/senders/index.d.mts.map +1 -1
- package/resources/senders/index.d.ts +1 -0
- package/resources/senders/index.d.ts.map +1 -1
- package/resources/senders/index.js +3 -1
- package/resources/senders/index.js.map +1 -1
- package/resources/senders/index.mjs +1 -0
- package/resources/senders/index.mjs.map +1 -1
- package/resources/senders/senders.d.mts +17 -1
- package/resources/senders/senders.d.mts.map +1 -1
- package/resources/senders/senders.d.ts +17 -1
- package/resources/senders/senders.d.ts.map +1 -1
- package/resources/senders/senders.js +4 -0
- package/resources/senders/senders.js.map +1 -1
- package/resources/senders/senders.mjs +4 -0
- package/resources/senders/senders.mjs.map +1 -1
- package/resources/senders/whatsapp-sync.d.mts +134 -0
- package/resources/senders/whatsapp-sync.d.mts.map +1 -0
- package/resources/senders/whatsapp-sync.d.ts +134 -0
- package/resources/senders/whatsapp-sync.d.ts.map +1 -0
- package/resources/senders/whatsapp-sync.js +56 -0
- package/resources/senders/whatsapp-sync.js.map +1 -0
- package/resources/senders/whatsapp-sync.mjs +52 -0
- package/resources/senders/whatsapp-sync.mjs.map +1 -0
- package/resources/sub-accounts/api-keys.d.mts +85 -0
- package/resources/sub-accounts/api-keys.d.mts.map +1 -0
- package/resources/sub-accounts/api-keys.d.ts +85 -0
- package/resources/sub-accounts/api-keys.d.ts.map +1 -0
- package/resources/sub-accounts/api-keys.js +53 -0
- package/resources/sub-accounts/api-keys.js.map +1 -0
- package/resources/sub-accounts/api-keys.mjs +49 -0
- package/resources/sub-accounts/api-keys.mjs.map +1 -0
- package/resources/sub-accounts/index.d.mts +3 -0
- package/resources/sub-accounts/index.d.mts.map +1 -0
- package/resources/sub-accounts/index.d.ts +3 -0
- package/resources/sub-accounts/index.d.ts.map +1 -0
- package/resources/sub-accounts/index.js +9 -0
- package/resources/sub-accounts/index.js.map +1 -0
- package/resources/sub-accounts/index.mjs +4 -0
- package/resources/sub-accounts/index.mjs.map +1 -0
- package/resources/sub-accounts/sub-accounts.d.mts +168 -0
- package/resources/sub-accounts/sub-accounts.d.mts.map +1 -0
- package/resources/sub-accounts/sub-accounts.d.ts +168 -0
- package/resources/sub-accounts/sub-accounts.d.ts.map +1 -0
- package/resources/sub-accounts/sub-accounts.js +94 -0
- package/resources/sub-accounts/sub-accounts.js.map +1 -0
- package/resources/sub-accounts/sub-accounts.mjs +89 -0
- package/resources/sub-accounts/sub-accounts.mjs.map +1 -0
- package/resources/sub-accounts.d.mts +2 -0
- package/resources/sub-accounts.d.mts.map +1 -0
- package/resources/sub-accounts.d.ts +2 -0
- package/resources/sub-accounts.d.ts.map +1 -0
- package/resources/sub-accounts.js +6 -0
- package/resources/sub-accounts.js.map +1 -0
- package/resources/sub-accounts.mjs +3 -0
- package/resources/sub-accounts.mjs.map +1 -0
- package/resources/templates.d.mts +42 -2
- package/resources/templates.d.mts.map +1 -1
- package/resources/templates.d.ts +42 -2
- package/resources/templates.d.ts.map +1 -1
- package/resources/urls.d.mts +88 -0
- package/resources/urls.d.mts.map +1 -0
- package/resources/urls.d.ts +88 -0
- package/resources/urls.d.ts.map +1 -0
- package/resources/urls.js +55 -0
- package/resources/urls.js.map +1 -0
- package/resources/urls.mjs +51 -0
- package/resources/urls.mjs.map +1 -0
- package/resources/usage.d.mts +36 -0
- package/resources/usage.d.mts.map +1 -0
- package/resources/usage.d.ts +36 -0
- package/resources/usage.d.ts.map +1 -0
- package/resources/usage.js +16 -0
- package/resources/usage.js.map +1 -0
- package/resources/usage.mjs +12 -0
- package/resources/usage.mjs.map +1 -0
- package/src/client.ts +130 -6
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/balance.ts +43 -0
- package/src/resources/broadcasts/broadcasts.ts +40 -0
- package/src/resources/broadcasts/index.ts +2 -0
- package/src/resources/contacts/channels.ts +177 -0
- package/src/resources/contacts/contacts.ts +360 -0
- package/src/resources/contacts/index.ts +22 -0
- package/src/resources/contacts.ts +1 -196
- package/src/resources/exports.ts +141 -0
- package/src/resources/index.ts +51 -1
- package/src/resources/invitations.ts +188 -0
- package/src/resources/messages.ts +43 -3
- package/src/resources/number-10dlc/brands.ts +377 -0
- package/src/resources/number-10dlc/campaigns/campaigns.ts +349 -0
- package/src/resources/number-10dlc/campaigns/index.ts +23 -0
- package/src/resources/number-10dlc/campaigns/phone-numbers.ts +123 -0
- package/src/resources/number-10dlc/campaigns.ts +3 -0
- package/src/resources/number-10dlc/index.ts +30 -0
- package/src/resources/number-10dlc/number-10dlc.ts +71 -0
- package/src/resources/number-10dlc.ts +3 -0
- package/src/resources/plan.ts +62 -0
- package/src/resources/senders/agent/agent.ts +6 -0
- package/src/resources/senders/agent/flows.ts +44 -126
- package/src/resources/senders/agent/index.ts +3 -0
- package/src/resources/senders/agent/tools.ts +13 -50
- package/src/resources/senders/index.ts +9 -0
- package/src/resources/senders/senders.ts +38 -1
- package/src/resources/senders/whatsapp-sync.ts +175 -0
- package/src/resources/sub-accounts/api-keys.ts +126 -0
- package/src/resources/sub-accounts/index.ts +22 -0
- package/src/resources/sub-accounts/sub-accounts.ts +246 -0
- package/src/resources/sub-accounts.ts +3 -0
- package/src/resources/templates.ts +51 -2
- package/src/resources/urls.ts +125 -0
- package/src/resources/usage.ts +48 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
Campaigns,
|
|
5
|
+
type TenDlcCampaign,
|
|
6
|
+
type CampaignCreateResponse,
|
|
7
|
+
type CampaignRetrieveResponse,
|
|
8
|
+
type CampaignUpdateResponse,
|
|
9
|
+
type CampaignSubmitResponse,
|
|
10
|
+
type CampaignSyncStatusResponse,
|
|
11
|
+
type CampaignCreateParams,
|
|
12
|
+
type CampaignUpdateParams,
|
|
13
|
+
type CampaignListParams,
|
|
14
|
+
type TenDlcCampaignsCursor,
|
|
15
|
+
} from './campaigns';
|
|
16
|
+
export {
|
|
17
|
+
PhoneNumbers,
|
|
18
|
+
type TenDlcPhoneNumberAssignment,
|
|
19
|
+
type PhoneNumberListResponse,
|
|
20
|
+
type PhoneNumberAssignResponse,
|
|
21
|
+
type PhoneNumberAssignParams,
|
|
22
|
+
type PhoneNumberUnassignParams,
|
|
23
|
+
} from './phone-numbers';
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
7
|
+
import { path } from '../../../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
export class PhoneNumbers extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* List phone numbers assigned to a 10DLC campaign.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const phoneNumbers =
|
|
16
|
+
* await client.number10dlc.campaigns.phoneNumbers.list(
|
|
17
|
+
* 'campaignId',
|
|
18
|
+
* );
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
list(campaignID: string, options?: RequestOptions): APIPromise<PhoneNumberListResponse> {
|
|
22
|
+
return this._client.get(path`/v1/10dlc/campaigns/${campaignID}/phone-numbers`, options);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Assign a US phone number to an approved 10DLC campaign. The campaign must be in
|
|
27
|
+
* approved status.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const response =
|
|
32
|
+
* await client.number10dlc.campaigns.phoneNumbers.assign(
|
|
33
|
+
* 'campaignId',
|
|
34
|
+
* { phoneNumberId: 'pn_abc123' },
|
|
35
|
+
* );
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
assign(
|
|
39
|
+
campaignID: string,
|
|
40
|
+
body: PhoneNumberAssignParams,
|
|
41
|
+
options?: RequestOptions,
|
|
42
|
+
): APIPromise<PhoneNumberAssignResponse> {
|
|
43
|
+
return this._client.post(path`/v1/10dlc/campaigns/${campaignID}/phone-numbers`, { body, ...options });
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Remove a phone number assignment from a 10DLC campaign.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* await client.number10dlc.campaigns.phoneNumbers.unassign(
|
|
52
|
+
* 'assignmentId',
|
|
53
|
+
* { campaignId: 'campaignId' },
|
|
54
|
+
* );
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
unassign(
|
|
58
|
+
assignmentID: string,
|
|
59
|
+
params: PhoneNumberUnassignParams,
|
|
60
|
+
options?: RequestOptions,
|
|
61
|
+
): APIPromise<void> {
|
|
62
|
+
const { campaignId } = params;
|
|
63
|
+
return this._client.delete(path`/v1/10dlc/campaigns/${campaignId}/phone-numbers/${assignmentID}`, {
|
|
64
|
+
...options,
|
|
65
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export interface TenDlcPhoneNumberAssignment {
|
|
71
|
+
id: string;
|
|
72
|
+
|
|
73
|
+
campaignId: string;
|
|
74
|
+
|
|
75
|
+
createdAt: string;
|
|
76
|
+
|
|
77
|
+
phoneNumberId: string;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Assignment status.
|
|
81
|
+
*/
|
|
82
|
+
status: 'pending' | 'active' | 'failed';
|
|
83
|
+
|
|
84
|
+
updatedAt: string;
|
|
85
|
+
|
|
86
|
+
assignedAt?: string | null;
|
|
87
|
+
|
|
88
|
+
failureReason?: string | null;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export interface PhoneNumberListResponse {
|
|
92
|
+
items: Array<TenDlcPhoneNumberAssignment>;
|
|
93
|
+
|
|
94
|
+
nextCursor?: string | null;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export interface PhoneNumberAssignResponse {
|
|
98
|
+
assignment: TenDlcPhoneNumberAssignment;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export interface PhoneNumberAssignParams {
|
|
102
|
+
/**
|
|
103
|
+
* ID of the phone number to assign.
|
|
104
|
+
*/
|
|
105
|
+
phoneNumberId: string;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export interface PhoneNumberUnassignParams {
|
|
109
|
+
/**
|
|
110
|
+
* 10DLC campaign ID.
|
|
111
|
+
*/
|
|
112
|
+
campaignId: string;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export declare namespace PhoneNumbers {
|
|
116
|
+
export {
|
|
117
|
+
type TenDlcPhoneNumberAssignment as TenDlcPhoneNumberAssignment,
|
|
118
|
+
type PhoneNumberListResponse as PhoneNumberListResponse,
|
|
119
|
+
type PhoneNumberAssignResponse as PhoneNumberAssignResponse,
|
|
120
|
+
type PhoneNumberAssignParams as PhoneNumberAssignParams,
|
|
121
|
+
type PhoneNumberUnassignParams as PhoneNumberUnassignParams,
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
Brands,
|
|
5
|
+
type TenDlcBrand,
|
|
6
|
+
type BrandCreateResponse,
|
|
7
|
+
type BrandRetrieveResponse,
|
|
8
|
+
type BrandUpdateResponse,
|
|
9
|
+
type BrandListUseCasesResponse,
|
|
10
|
+
type BrandSubmitResponse,
|
|
11
|
+
type BrandSyncStatusResponse,
|
|
12
|
+
type BrandCreateParams,
|
|
13
|
+
type BrandUpdateParams,
|
|
14
|
+
type BrandListParams,
|
|
15
|
+
type TenDlcBrandsCursor,
|
|
16
|
+
} from './brands';
|
|
17
|
+
export {
|
|
18
|
+
Campaigns,
|
|
19
|
+
type TenDlcCampaign,
|
|
20
|
+
type CampaignCreateResponse,
|
|
21
|
+
type CampaignRetrieveResponse,
|
|
22
|
+
type CampaignUpdateResponse,
|
|
23
|
+
type CampaignSubmitResponse,
|
|
24
|
+
type CampaignSyncStatusResponse,
|
|
25
|
+
type CampaignCreateParams,
|
|
26
|
+
type CampaignUpdateParams,
|
|
27
|
+
type CampaignListParams,
|
|
28
|
+
type TenDlcCampaignsCursor,
|
|
29
|
+
} from './campaigns/index';
|
|
30
|
+
export { Number10dlc } from './number-10dlc';
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as BrandsAPI from './brands';
|
|
5
|
+
import {
|
|
6
|
+
BrandCreateParams,
|
|
7
|
+
BrandCreateResponse,
|
|
8
|
+
BrandListParams,
|
|
9
|
+
BrandListUseCasesResponse,
|
|
10
|
+
BrandRetrieveResponse,
|
|
11
|
+
BrandSubmitResponse,
|
|
12
|
+
BrandSyncStatusResponse,
|
|
13
|
+
BrandUpdateParams,
|
|
14
|
+
BrandUpdateResponse,
|
|
15
|
+
Brands,
|
|
16
|
+
TenDlcBrand,
|
|
17
|
+
TenDlcBrandsCursor,
|
|
18
|
+
} from './brands';
|
|
19
|
+
import * as CampaignsAPI from './campaigns/campaigns';
|
|
20
|
+
import {
|
|
21
|
+
CampaignCreateParams,
|
|
22
|
+
CampaignCreateResponse,
|
|
23
|
+
CampaignListParams,
|
|
24
|
+
CampaignRetrieveResponse,
|
|
25
|
+
CampaignSubmitResponse,
|
|
26
|
+
CampaignSyncStatusResponse,
|
|
27
|
+
CampaignUpdateParams,
|
|
28
|
+
CampaignUpdateResponse,
|
|
29
|
+
Campaigns,
|
|
30
|
+
TenDlcCampaign,
|
|
31
|
+
TenDlcCampaignsCursor,
|
|
32
|
+
} from './campaigns/campaigns';
|
|
33
|
+
|
|
34
|
+
export class Number10dlc extends APIResource {
|
|
35
|
+
brands: BrandsAPI.Brands = new BrandsAPI.Brands(this._client);
|
|
36
|
+
campaigns: CampaignsAPI.Campaigns = new CampaignsAPI.Campaigns(this._client);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
Number10dlc.Brands = Brands;
|
|
40
|
+
Number10dlc.Campaigns = Campaigns;
|
|
41
|
+
|
|
42
|
+
export declare namespace Number10dlc {
|
|
43
|
+
export {
|
|
44
|
+
Brands as Brands,
|
|
45
|
+
type TenDlcBrand as TenDlcBrand,
|
|
46
|
+
type BrandCreateResponse as BrandCreateResponse,
|
|
47
|
+
type BrandRetrieveResponse as BrandRetrieveResponse,
|
|
48
|
+
type BrandUpdateResponse as BrandUpdateResponse,
|
|
49
|
+
type BrandListUseCasesResponse as BrandListUseCasesResponse,
|
|
50
|
+
type BrandSubmitResponse as BrandSubmitResponse,
|
|
51
|
+
type BrandSyncStatusResponse as BrandSyncStatusResponse,
|
|
52
|
+
type TenDlcBrandsCursor as TenDlcBrandsCursor,
|
|
53
|
+
type BrandCreateParams as BrandCreateParams,
|
|
54
|
+
type BrandUpdateParams as BrandUpdateParams,
|
|
55
|
+
type BrandListParams as BrandListParams,
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export {
|
|
59
|
+
Campaigns as Campaigns,
|
|
60
|
+
type TenDlcCampaign as TenDlcCampaign,
|
|
61
|
+
type CampaignCreateResponse as CampaignCreateResponse,
|
|
62
|
+
type CampaignRetrieveResponse as CampaignRetrieveResponse,
|
|
63
|
+
type CampaignUpdateResponse as CampaignUpdateResponse,
|
|
64
|
+
type CampaignSubmitResponse as CampaignSubmitResponse,
|
|
65
|
+
type CampaignSyncStatusResponse as CampaignSyncStatusResponse,
|
|
66
|
+
type TenDlcCampaignsCursor as TenDlcCampaignsCursor,
|
|
67
|
+
type CampaignCreateParams as CampaignCreateParams,
|
|
68
|
+
type CampaignUpdateParams as CampaignUpdateParams,
|
|
69
|
+
type CampaignListParams as CampaignListParams,
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
|
|
7
|
+
export class Plan extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get the current subscription plan for the API key's team, including tier,
|
|
10
|
+
* billing interval, and period dates.
|
|
11
|
+
*/
|
|
12
|
+
retrieve(options?: RequestOptions): APIPromise<PlanRetrieveResponse> {
|
|
13
|
+
return this._client.get('/v1/plan', options);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface PlanRetrieveResponse {
|
|
18
|
+
billingInterval: 'monthly' | 'annual';
|
|
19
|
+
|
|
20
|
+
status: 'active' | 'past_due' | 'canceled' | 'trialing';
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Current subscription tier.
|
|
24
|
+
*/
|
|
25
|
+
tier: 'free' | 'pro' | 'scale' | 'enterprise';
|
|
26
|
+
|
|
27
|
+
cancelAtPeriodEnd?: boolean;
|
|
28
|
+
|
|
29
|
+
currentPeriodEnd?: string;
|
|
30
|
+
|
|
31
|
+
currentPeriodStart?: string;
|
|
32
|
+
|
|
33
|
+
limits?: PlanRetrieveResponse.Limits;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export namespace PlanRetrieveResponse {
|
|
37
|
+
export interface Limits {
|
|
38
|
+
broadcasts?: boolean;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Monthly email limit.
|
|
42
|
+
*/
|
|
43
|
+
emails?: number;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Monthly A2P message limit.
|
|
47
|
+
*/
|
|
48
|
+
messagesA2P?: number;
|
|
49
|
+
|
|
50
|
+
phoneNumbers?: number;
|
|
51
|
+
|
|
52
|
+
senders?: number;
|
|
53
|
+
|
|
54
|
+
subAccounts?: boolean;
|
|
55
|
+
|
|
56
|
+
wabaConnections?: number;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export declare namespace Plan {
|
|
61
|
+
export { type PlanRetrieveResponse as PlanRetrieveResponse };
|
|
62
|
+
}
|
|
@@ -15,6 +15,8 @@ import {
|
|
|
15
15
|
FlowListParams,
|
|
16
16
|
FlowRetrieveParams,
|
|
17
17
|
FlowRetrieveResponse,
|
|
18
|
+
FlowStep,
|
|
19
|
+
FlowTrigger,
|
|
18
20
|
FlowUpdateParams,
|
|
19
21
|
FlowUpdateResponse,
|
|
20
22
|
Flows,
|
|
@@ -27,6 +29,7 @@ import {
|
|
|
27
29
|
ToolCreateResponse,
|
|
28
30
|
ToolDeleteParams,
|
|
29
31
|
ToolListParams,
|
|
32
|
+
ToolParameters,
|
|
30
33
|
ToolRetrieveParams,
|
|
31
34
|
ToolRetrieveResponse,
|
|
32
35
|
ToolTestParams,
|
|
@@ -371,6 +374,8 @@ export declare namespace AgentResource {
|
|
|
371
374
|
export {
|
|
372
375
|
Flows as Flows,
|
|
373
376
|
type AgentFlow as AgentFlow,
|
|
377
|
+
type FlowStep as FlowStep,
|
|
378
|
+
type FlowTrigger as FlowTrigger,
|
|
374
379
|
type FlowCreateResponse as FlowCreateResponse,
|
|
375
380
|
type FlowRetrieveResponse as FlowRetrieveResponse,
|
|
376
381
|
type FlowUpdateResponse as FlowUpdateResponse,
|
|
@@ -387,6 +392,7 @@ export declare namespace AgentResource {
|
|
|
387
392
|
export {
|
|
388
393
|
Tools as Tools,
|
|
389
394
|
type AgentTool as AgentTool,
|
|
395
|
+
type ToolParameters as ToolParameters,
|
|
390
396
|
type ToolCreateResponse as ToolCreateResponse,
|
|
391
397
|
type ToolRetrieveResponse as ToolRetrieveResponse,
|
|
392
398
|
type ToolUpdateResponse as ToolUpdateResponse,
|
|
@@ -168,54 +168,52 @@ export interface AgentFlow {
|
|
|
168
168
|
*/
|
|
169
169
|
priority: number;
|
|
170
170
|
|
|
171
|
-
steps: Array<
|
|
171
|
+
steps: Array<FlowStep>;
|
|
172
172
|
|
|
173
|
-
trigger:
|
|
173
|
+
trigger: FlowTrigger;
|
|
174
174
|
|
|
175
175
|
updatedAt: string;
|
|
176
176
|
|
|
177
177
|
description?: string | null;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
id: string;
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* Step configuration (varies by type).
|
|
189
|
-
*/
|
|
190
|
-
config: { [key: string]: unknown };
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Type of flow step.
|
|
194
|
-
*/
|
|
195
|
-
type: 'message' | 'collect' | 'condition' | 'tool' | 'llm' | 'transfer';
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* ID of the next step to execute.
|
|
199
|
-
*/
|
|
200
|
-
nextStepId?: string | null;
|
|
201
|
-
}
|
|
180
|
+
export interface FlowStep {
|
|
181
|
+
/**
|
|
182
|
+
* Unique step identifier.
|
|
183
|
+
*/
|
|
184
|
+
id: string;
|
|
202
185
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
186
|
+
/**
|
|
187
|
+
* Step configuration (varies by type).
|
|
188
|
+
*/
|
|
189
|
+
config: { [key: string]: unknown };
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Type of flow step.
|
|
193
|
+
*/
|
|
194
|
+
type: 'message' | 'collect' | 'condition' | 'tool' | 'llm' | 'transfer';
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* ID of the next step to execute.
|
|
198
|
+
*/
|
|
199
|
+
nextStepId?: string | null;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export interface FlowTrigger {
|
|
203
|
+
/**
|
|
204
|
+
* Type of trigger for a flow.
|
|
205
|
+
*/
|
|
206
|
+
type: 'keyword' | 'intent' | 'always' | 'manual';
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Intent that triggers the flow (for intent type).
|
|
210
|
+
*/
|
|
211
|
+
intent?: string;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Keywords that trigger the flow (for keyword type).
|
|
215
|
+
*/
|
|
216
|
+
keywords?: Array<string>;
|
|
219
217
|
}
|
|
220
218
|
|
|
221
219
|
export interface FlowCreateResponse {
|
|
@@ -237,9 +235,9 @@ export interface FlowDuplicateResponse {
|
|
|
237
235
|
export interface FlowCreateParams {
|
|
238
236
|
name: string;
|
|
239
237
|
|
|
240
|
-
steps: Array<
|
|
238
|
+
steps: Array<FlowStep>;
|
|
241
239
|
|
|
242
|
-
trigger:
|
|
240
|
+
trigger: FlowTrigger;
|
|
243
241
|
|
|
244
242
|
description?: string;
|
|
245
243
|
|
|
@@ -248,47 +246,6 @@ export interface FlowCreateParams {
|
|
|
248
246
|
priority?: number;
|
|
249
247
|
}
|
|
250
248
|
|
|
251
|
-
export namespace FlowCreateParams {
|
|
252
|
-
export interface Step {
|
|
253
|
-
/**
|
|
254
|
-
* Unique step identifier.
|
|
255
|
-
*/
|
|
256
|
-
id: string;
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* Step configuration (varies by type).
|
|
260
|
-
*/
|
|
261
|
-
config: { [key: string]: unknown };
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* Type of flow step.
|
|
265
|
-
*/
|
|
266
|
-
type: 'message' | 'collect' | 'condition' | 'tool' | 'llm' | 'transfer';
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* ID of the next step to execute.
|
|
270
|
-
*/
|
|
271
|
-
nextStepId?: string | null;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
export interface Trigger {
|
|
275
|
-
/**
|
|
276
|
-
* Type of trigger for a flow.
|
|
277
|
-
*/
|
|
278
|
-
type: 'keyword' | 'intent' | 'always' | 'manual';
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* Intent that triggers the flow (for intent type).
|
|
282
|
-
*/
|
|
283
|
-
intent?: string;
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* Keywords that trigger the flow (for keyword type).
|
|
287
|
-
*/
|
|
288
|
-
keywords?: Array<string>;
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
|
|
292
249
|
export interface FlowRetrieveParams {
|
|
293
250
|
senderId: string;
|
|
294
251
|
}
|
|
@@ -322,53 +279,12 @@ export interface FlowUpdateParams {
|
|
|
322
279
|
/**
|
|
323
280
|
* Body param
|
|
324
281
|
*/
|
|
325
|
-
steps?: Array<
|
|
282
|
+
steps?: Array<FlowStep>;
|
|
326
283
|
|
|
327
284
|
/**
|
|
328
285
|
* Body param
|
|
329
286
|
*/
|
|
330
|
-
trigger?:
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
export namespace FlowUpdateParams {
|
|
334
|
-
export interface Step {
|
|
335
|
-
/**
|
|
336
|
-
* Unique step identifier.
|
|
337
|
-
*/
|
|
338
|
-
id: string;
|
|
339
|
-
|
|
340
|
-
/**
|
|
341
|
-
* Step configuration (varies by type).
|
|
342
|
-
*/
|
|
343
|
-
config: { [key: string]: unknown };
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* Type of flow step.
|
|
347
|
-
*/
|
|
348
|
-
type: 'message' | 'collect' | 'condition' | 'tool' | 'llm' | 'transfer';
|
|
349
|
-
|
|
350
|
-
/**
|
|
351
|
-
* ID of the next step to execute.
|
|
352
|
-
*/
|
|
353
|
-
nextStepId?: string | null;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
export interface Trigger {
|
|
357
|
-
/**
|
|
358
|
-
* Type of trigger for a flow.
|
|
359
|
-
*/
|
|
360
|
-
type: 'keyword' | 'intent' | 'always' | 'manual';
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* Intent that triggers the flow (for intent type).
|
|
364
|
-
*/
|
|
365
|
-
intent?: string;
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
* Keywords that trigger the flow (for keyword type).
|
|
369
|
-
*/
|
|
370
|
-
keywords?: Array<string>;
|
|
371
|
-
}
|
|
287
|
+
trigger?: FlowTrigger;
|
|
372
288
|
}
|
|
373
289
|
|
|
374
290
|
export interface FlowListParams extends CursorParams {
|
|
@@ -394,6 +310,8 @@ export interface FlowDuplicateParams {
|
|
|
394
310
|
export declare namespace Flows {
|
|
395
311
|
export {
|
|
396
312
|
type AgentFlow as AgentFlow,
|
|
313
|
+
type FlowStep as FlowStep,
|
|
314
|
+
type FlowTrigger as FlowTrigger,
|
|
397
315
|
type FlowCreateResponse as FlowCreateResponse,
|
|
398
316
|
type FlowRetrieveResponse as FlowRetrieveResponse,
|
|
399
317
|
type FlowUpdateResponse as FlowUpdateResponse,
|
|
@@ -16,6 +16,8 @@ export { Executions, type ExecutionListParams } from './executions';
|
|
|
16
16
|
export {
|
|
17
17
|
Flows,
|
|
18
18
|
type AgentFlow,
|
|
19
|
+
type FlowStep,
|
|
20
|
+
type FlowTrigger,
|
|
19
21
|
type FlowCreateResponse,
|
|
20
22
|
type FlowRetrieveResponse,
|
|
21
23
|
type FlowUpdateResponse,
|
|
@@ -46,6 +48,7 @@ export {
|
|
|
46
48
|
export {
|
|
47
49
|
Tools,
|
|
48
50
|
type AgentTool,
|
|
51
|
+
type ToolParameters,
|
|
49
52
|
type ToolCreateResponse,
|
|
50
53
|
type ToolRetrieveResponse,
|
|
51
54
|
type ToolUpdateResponse,
|
|
@@ -155,7 +155,7 @@ export interface AgentTool {
|
|
|
155
155
|
|
|
156
156
|
name: string;
|
|
157
157
|
|
|
158
|
-
parameters:
|
|
158
|
+
parameters: ToolParameters;
|
|
159
159
|
|
|
160
160
|
updatedAt: string;
|
|
161
161
|
|
|
@@ -165,21 +165,19 @@ export interface AgentTool {
|
|
|
165
165
|
webhookUrl: string;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
export
|
|
169
|
-
|
|
170
|
-
properties: { [key: string]: Parameters.Properties };
|
|
168
|
+
export interface ToolParameters {
|
|
169
|
+
properties: { [key: string]: ToolParameters.Properties };
|
|
171
170
|
|
|
172
|
-
|
|
171
|
+
required: Array<string>;
|
|
173
172
|
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
type: 'object';
|
|
174
|
+
}
|
|
176
175
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
176
|
+
export namespace ToolParameters {
|
|
177
|
+
export interface Properties {
|
|
178
|
+
description?: string;
|
|
180
179
|
|
|
181
|
-
|
|
182
|
-
}
|
|
180
|
+
type?: string;
|
|
183
181
|
}
|
|
184
182
|
}
|
|
185
183
|
|
|
@@ -204,7 +202,7 @@ export interface ToolCreateParams {
|
|
|
204
202
|
|
|
205
203
|
name: string;
|
|
206
204
|
|
|
207
|
-
parameters:
|
|
205
|
+
parameters: ToolParameters;
|
|
208
206
|
|
|
209
207
|
/**
|
|
210
208
|
* Must be HTTPS.
|
|
@@ -219,24 +217,6 @@ export interface ToolCreateParams {
|
|
|
219
217
|
webhookSecret?: string;
|
|
220
218
|
}
|
|
221
219
|
|
|
222
|
-
export namespace ToolCreateParams {
|
|
223
|
-
export interface Parameters {
|
|
224
|
-
properties: { [key: string]: Parameters.Properties };
|
|
225
|
-
|
|
226
|
-
required: Array<string>;
|
|
227
|
-
|
|
228
|
-
type: 'object';
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
export namespace Parameters {
|
|
232
|
-
export interface Properties {
|
|
233
|
-
description?: string;
|
|
234
|
-
|
|
235
|
-
type?: string;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
220
|
export interface ToolRetrieveParams {
|
|
241
221
|
senderId: string;
|
|
242
222
|
}
|
|
@@ -265,7 +245,7 @@ export interface ToolUpdateParams {
|
|
|
265
245
|
/**
|
|
266
246
|
* Body param
|
|
267
247
|
*/
|
|
268
|
-
parameters?:
|
|
248
|
+
parameters?: ToolParameters;
|
|
269
249
|
|
|
270
250
|
/**
|
|
271
251
|
* Body param
|
|
@@ -278,24 +258,6 @@ export interface ToolUpdateParams {
|
|
|
278
258
|
webhookUrl?: string;
|
|
279
259
|
}
|
|
280
260
|
|
|
281
|
-
export namespace ToolUpdateParams {
|
|
282
|
-
export interface Parameters {
|
|
283
|
-
properties: { [key: string]: Parameters.Properties };
|
|
284
|
-
|
|
285
|
-
required: Array<string>;
|
|
286
|
-
|
|
287
|
-
type: 'object';
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
export namespace Parameters {
|
|
291
|
-
export interface Properties {
|
|
292
|
-
description?: string;
|
|
293
|
-
|
|
294
|
-
type?: string;
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
|
|
299
261
|
export interface ToolListParams extends CursorParams {
|
|
300
262
|
enabled?: boolean;
|
|
301
263
|
}
|
|
@@ -319,6 +281,7 @@ export interface ToolTestParams {
|
|
|
319
281
|
export declare namespace Tools {
|
|
320
282
|
export {
|
|
321
283
|
type AgentTool as AgentTool,
|
|
284
|
+
type ToolParameters as ToolParameters,
|
|
322
285
|
type ToolCreateResponse as ToolCreateResponse,
|
|
323
286
|
type ToolRetrieveResponse as ToolRetrieveResponse,
|
|
324
287
|
type ToolUpdateResponse as ToolUpdateResponse,
|