phonic 0.30.31 → 0.30.32
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/cjs/api/resources/agents/client/requests/AgentsCreateRequest.d.ts +1 -1
- package/dist/cjs/api/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -1
- package/dist/esm/api/resources/agents/client/requests/AgentsCreateRequest.d.mts +1 -1
- package/dist/esm/api/resources/agents/client/requests/UpdateAgentRequest.d.mts +1 -1
- package/dist/index.d.mts +686 -0
- package/dist/index.d.ts +686 -0
- package/dist/index.js +643 -0
- package/dist/index.mjs +606 -0
- package/package.json +1 -1
|
@@ -42,7 +42,7 @@ export interface AgentsCreateRequest {
|
|
|
42
42
|
project?: string;
|
|
43
43
|
/** The name of the agent. Can only contain lowercase letters, numbers and hyphens. Must be unique within the project. */
|
|
44
44
|
name: string;
|
|
45
|
-
phone_number
|
|
45
|
+
phone_number?: Phonic.CreateAgentRequest.PhoneNumber | null;
|
|
46
46
|
/** The custom phone number to use for the agent in E.164 format (e.g., +1234567890). This field is deprecated. Use `custom_phone_numbers` instead. */
|
|
47
47
|
custom_phone_number?: string | null;
|
|
48
48
|
/** Array of custom phone numbers in E.164 format (e.g., ["+1234567890", "+0987654321"]). The agent will be able to receive phone calls on any of these numbers. Required when `phone_number` is set to `"custom"`. All phone numbers must be unique. */
|
|
@@ -42,7 +42,7 @@ export interface UpdateAgentRequest {
|
|
|
42
42
|
project?: string;
|
|
43
43
|
/** The name of the agent. Can only contain lowercase letters, numbers and hyphens. Must be unique within the project. */
|
|
44
44
|
name?: string;
|
|
45
|
-
phone_number
|
|
45
|
+
phone_number?: UpdateAgentRequest.PhoneNumber | null;
|
|
46
46
|
/** The custom phone number to use for the agent in E.164 format (e.g., +1234567890). This field is deprecated. Use `custom_phone_numbers` instead. */
|
|
47
47
|
custom_phone_number?: string | null;
|
|
48
48
|
/** Array of custom phone numbers in E.164 format (e.g., ["+1234567890", "+0987654321"]). The agent will be able to receive phone calls on any of these numbers. Required when `phone_number` is set to `"custom"`. All phone numbers must be unique. */
|
|
@@ -42,7 +42,7 @@ export interface AgentsCreateRequest {
|
|
|
42
42
|
project?: string;
|
|
43
43
|
/** The name of the agent. Can only contain lowercase letters, numbers and hyphens. Must be unique within the project. */
|
|
44
44
|
name: string;
|
|
45
|
-
phone_number
|
|
45
|
+
phone_number?: Phonic.CreateAgentRequest.PhoneNumber | null;
|
|
46
46
|
/** The custom phone number to use for the agent in E.164 format (e.g., +1234567890). This field is deprecated. Use `custom_phone_numbers` instead. */
|
|
47
47
|
custom_phone_number?: string | null;
|
|
48
48
|
/** Array of custom phone numbers in E.164 format (e.g., ["+1234567890", "+0987654321"]). The agent will be able to receive phone calls on any of these numbers. Required when `phone_number` is set to `"custom"`. All phone numbers must be unique. */
|
|
@@ -42,7 +42,7 @@ export interface UpdateAgentRequest {
|
|
|
42
42
|
project?: string;
|
|
43
43
|
/** The name of the agent. Can only contain lowercase letters, numbers and hyphens. Must be unique within the project. */
|
|
44
44
|
name?: string;
|
|
45
|
-
phone_number
|
|
45
|
+
phone_number?: UpdateAgentRequest.PhoneNumber | null;
|
|
46
46
|
/** The custom phone number to use for the agent in E.164 format (e.g., +1234567890). This field is deprecated. Use `custom_phone_numbers` instead. */
|
|
47
47
|
custom_phone_number?: string | null;
|
|
48
48
|
/** Array of custom phone numbers in E.164 format (e.g., ["+1234567890", "+0987654321"]). The agent will be able to receive phone calls on any of these numbers. Required when `phone_number` is set to `"custom"`. All phone numbers must be unique. */
|