telnyx 6.7.0 → 6.8.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 +50 -0
- package/client.d.mts +10 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -0
- package/client.d.ts.map +1 -1
- package/client.js +9 -0
- package/client.js.map +1 -1
- package/client.mjs +9 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/assistants/assistants.d.mts +5 -5
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +5 -5
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/chat.d.mts +6 -0
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +6 -0
- package/resources/ai/chat.d.ts.map +1 -1
- package/resources/index.d.mts +2 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +6 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/messaging-10dlc/brand/brand.d.mts +1 -1
- package/resources/messaging-10dlc/brand/brand.d.mts.map +1 -1
- package/resources/messaging-10dlc/brand/brand.d.ts +1 -1
- package/resources/messaging-10dlc/brand/brand.d.ts.map +1 -1
- package/resources/messaging-10dlc/brand/brand.js.map +1 -1
- package/resources/messaging-10dlc/brand/brand.mjs.map +1 -1
- package/resources/shared.d.mts +25 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +25 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/sim-cards/actions.d.mts +39 -115
- package/resources/sim-cards/actions.d.mts.map +1 -1
- package/resources/sim-cards/actions.d.ts +39 -115
- package/resources/sim-cards/actions.d.ts.map +1 -1
- package/resources/sim-cards/index.d.mts +1 -1
- package/resources/sim-cards/index.d.mts.map +1 -1
- package/resources/sim-cards/index.d.ts +1 -1
- package/resources/sim-cards/index.d.ts.map +1 -1
- package/resources/sim-cards/index.js.map +1 -1
- package/resources/sim-cards/index.mjs.map +1 -1
- package/resources/sim-cards/sim-cards.d.mts +2 -2
- package/resources/sim-cards/sim-cards.d.mts.map +1 -1
- package/resources/sim-cards/sim-cards.d.ts +2 -2
- package/resources/sim-cards/sim-cards.d.ts.map +1 -1
- package/resources/sim-cards/sim-cards.js.map +1 -1
- package/resources/sim-cards/sim-cards.mjs.map +1 -1
- package/resources/text-to-speech/internal-base.d.mts +3 -3
- package/resources/text-to-speech/internal-base.d.ts +3 -3
- package/resources/text-to-speech/internal-base.js +1 -1
- package/resources/text-to-speech/internal-base.js.map +1 -1
- package/resources/text-to-speech/internal-base.mjs +1 -1
- package/resources/text-to-speech/internal-base.mjs.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.mts +5 -3
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +5 -3
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.d.mts +132 -0
- package/resources/whatsapp/business-accounts/business-accounts.d.mts.map +1 -0
- package/resources/whatsapp/business-accounts/business-accounts.d.ts +132 -0
- package/resources/whatsapp/business-accounts/business-accounts.d.ts.map +1 -0
- package/resources/whatsapp/business-accounts/business-accounts.js +67 -0
- package/resources/whatsapp/business-accounts/business-accounts.js.map +1 -0
- package/resources/whatsapp/business-accounts/business-accounts.mjs +62 -0
- package/resources/whatsapp/business-accounts/business-accounts.mjs.map +1 -0
- package/resources/whatsapp/business-accounts/index.d.mts +4 -0
- package/resources/whatsapp/business-accounts/index.d.mts.map +1 -0
- package/resources/whatsapp/business-accounts/index.d.ts +4 -0
- package/resources/whatsapp/business-accounts/index.d.ts.map +1 -0
- package/resources/whatsapp/business-accounts/index.js +11 -0
- package/resources/whatsapp/business-accounts/index.js.map +1 -0
- package/resources/whatsapp/business-accounts/index.mjs +5 -0
- package/resources/whatsapp/business-accounts/index.mjs.map +1 -0
- package/resources/whatsapp/business-accounts/phone-numbers.d.mts +76 -0
- package/resources/whatsapp/business-accounts/phone-numbers.d.mts.map +1 -0
- package/resources/whatsapp/business-accounts/phone-numbers.d.ts +76 -0
- package/resources/whatsapp/business-accounts/phone-numbers.d.ts.map +1 -0
- package/resources/whatsapp/business-accounts/phone-numbers.js +49 -0
- package/resources/whatsapp/business-accounts/phone-numbers.js.map +1 -0
- package/resources/whatsapp/business-accounts/phone-numbers.mjs +45 -0
- package/resources/whatsapp/business-accounts/phone-numbers.mjs.map +1 -0
- package/resources/whatsapp/business-accounts/settings.d.mts +85 -0
- package/resources/whatsapp/business-accounts/settings.d.mts.map +1 -0
- package/resources/whatsapp/business-accounts/settings.d.ts +85 -0
- package/resources/whatsapp/business-accounts/settings.d.ts.map +1 -0
- package/resources/whatsapp/business-accounts/settings.js +41 -0
- package/resources/whatsapp/business-accounts/settings.js.map +1 -0
- package/resources/whatsapp/business-accounts/settings.mjs +37 -0
- package/resources/whatsapp/business-accounts/settings.mjs.map +1 -0
- package/resources/whatsapp/business-accounts.d.mts +2 -0
- package/resources/whatsapp/business-accounts.d.mts.map +1 -0
- package/resources/whatsapp/business-accounts.d.ts +2 -0
- package/resources/whatsapp/business-accounts.d.ts.map +1 -0
- package/resources/whatsapp/business-accounts.js +6 -0
- package/resources/whatsapp/business-accounts.js.map +1 -0
- package/resources/whatsapp/business-accounts.mjs +3 -0
- package/resources/whatsapp/business-accounts.mjs.map +1 -0
- package/resources/whatsapp/index.d.mts +5 -0
- package/resources/whatsapp/index.d.mts.map +1 -0
- package/resources/whatsapp/index.d.ts +5 -0
- package/resources/whatsapp/index.d.ts.map +1 -0
- package/resources/whatsapp/index.js +13 -0
- package/resources/whatsapp/index.js.map +1 -0
- package/resources/whatsapp/index.mjs +6 -0
- package/resources/whatsapp/index.mjs.map +1 -0
- package/resources/whatsapp/phone-numbers/calling-settings.d.mts +58 -0
- package/resources/whatsapp/phone-numbers/calling-settings.d.mts.map +1 -0
- package/resources/whatsapp/phone-numbers/calling-settings.d.ts +58 -0
- package/resources/whatsapp/phone-numbers/calling-settings.d.ts.map +1 -0
- package/resources/whatsapp/phone-numbers/calling-settings.js +45 -0
- package/resources/whatsapp/phone-numbers/calling-settings.js.map +1 -0
- package/resources/whatsapp/phone-numbers/calling-settings.mjs +41 -0
- package/resources/whatsapp/phone-numbers/calling-settings.mjs.map +1 -0
- package/resources/whatsapp/phone-numbers/index.d.mts +4 -0
- package/resources/whatsapp/phone-numbers/index.d.mts.map +1 -0
- package/resources/whatsapp/phone-numbers/index.d.ts +4 -0
- package/resources/whatsapp/phone-numbers/index.d.ts.map +1 -0
- package/resources/whatsapp/phone-numbers/index.js +11 -0
- package/resources/whatsapp/phone-numbers/index.js.map +1 -0
- package/resources/whatsapp/phone-numbers/index.mjs +5 -0
- package/resources/whatsapp/phone-numbers/index.mjs.map +1 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts +101 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +101 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.js +89 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs +84 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -0
- package/resources/whatsapp/phone-numbers/profile/index.d.mts +3 -0
- package/resources/whatsapp/phone-numbers/profile/index.d.mts.map +1 -0
- package/resources/whatsapp/phone-numbers/profile/index.d.ts +3 -0
- package/resources/whatsapp/phone-numbers/profile/index.d.ts.map +1 -0
- package/resources/whatsapp/phone-numbers/profile/index.js +9 -0
- package/resources/whatsapp/phone-numbers/profile/index.js.map +1 -0
- package/resources/whatsapp/phone-numbers/profile/index.mjs +4 -0
- package/resources/whatsapp/phone-numbers/profile/index.mjs.map +1 -0
- package/resources/whatsapp/phone-numbers/profile/photo.d.mts +47 -0
- package/resources/whatsapp/phone-numbers/profile/photo.d.mts.map +1 -0
- package/resources/whatsapp/phone-numbers/profile/photo.d.ts +47 -0
- package/resources/whatsapp/phone-numbers/profile/photo.d.ts.map +1 -0
- package/resources/whatsapp/phone-numbers/profile/photo.js +46 -0
- package/resources/whatsapp/phone-numbers/profile/photo.js.map +1 -0
- package/resources/whatsapp/phone-numbers/profile/photo.mjs +42 -0
- package/resources/whatsapp/phone-numbers/profile/photo.mjs.map +1 -0
- package/resources/whatsapp/phone-numbers/profile/profile.d.mts +73 -0
- package/resources/whatsapp/phone-numbers/profile/profile.d.mts.map +1 -0
- package/resources/whatsapp/phone-numbers/profile/profile.d.ts +73 -0
- package/resources/whatsapp/phone-numbers/profile/profile.d.ts.map +1 -0
- package/resources/whatsapp/phone-numbers/profile/profile.js +49 -0
- package/resources/whatsapp/phone-numbers/profile/profile.js.map +1 -0
- package/resources/whatsapp/phone-numbers/profile/profile.mjs +44 -0
- package/resources/whatsapp/phone-numbers/profile/profile.mjs.map +1 -0
- package/resources/whatsapp/phone-numbers/profile.d.mts +2 -0
- package/resources/whatsapp/phone-numbers/profile.d.mts.map +1 -0
- package/resources/whatsapp/phone-numbers/profile.d.ts +2 -0
- package/resources/whatsapp/phone-numbers/profile.d.ts.map +1 -0
- package/resources/whatsapp/phone-numbers/profile.js +6 -0
- package/resources/whatsapp/phone-numbers/profile.js.map +1 -0
- package/resources/whatsapp/phone-numbers/profile.mjs +3 -0
- package/resources/whatsapp/phone-numbers/profile.mjs.map +1 -0
- package/resources/whatsapp/phone-numbers.d.mts +2 -0
- package/resources/whatsapp/phone-numbers.d.mts.map +1 -0
- package/resources/whatsapp/phone-numbers.d.ts +2 -0
- package/resources/whatsapp/phone-numbers.d.ts.map +1 -0
- package/resources/whatsapp/phone-numbers.js +6 -0
- package/resources/whatsapp/phone-numbers.js.map +1 -0
- package/resources/whatsapp/phone-numbers.mjs +3 -0
- package/resources/whatsapp/phone-numbers.mjs.map +1 -0
- package/resources/whatsapp/templates.d.mts +73 -0
- package/resources/whatsapp/templates.d.mts.map +1 -0
- package/resources/whatsapp/templates.d.ts +73 -0
- package/resources/whatsapp/templates.d.ts.map +1 -0
- package/resources/whatsapp/templates.js +44 -0
- package/resources/whatsapp/templates.js.map +1 -0
- package/resources/whatsapp/templates.mjs +40 -0
- package/resources/whatsapp/templates.mjs.map +1 -0
- package/resources/whatsapp/whatsapp.d.mts +18 -0
- package/resources/whatsapp/whatsapp.d.mts.map +1 -0
- package/resources/whatsapp/whatsapp.d.ts +18 -0
- package/resources/whatsapp/whatsapp.d.ts.map +1 -0
- package/resources/whatsapp/whatsapp.js +25 -0
- package/resources/whatsapp/whatsapp.js.map +1 -0
- package/resources/whatsapp/whatsapp.mjs +20 -0
- package/resources/whatsapp/whatsapp.mjs.map +1 -0
- package/resources/whatsapp-message-templates.d.mts +37 -0
- package/resources/whatsapp-message-templates.d.mts.map +1 -0
- package/resources/whatsapp-message-templates.d.ts +37 -0
- package/resources/whatsapp-message-templates.d.ts.map +1 -0
- package/resources/whatsapp-message-templates.js +35 -0
- package/resources/whatsapp-message-templates.js.map +1 -0
- package/resources/whatsapp-message-templates.mjs +31 -0
- package/resources/whatsapp-message-templates.mjs.map +1 -0
- package/resources/whatsapp.d.mts +2 -0
- package/resources/whatsapp.d.mts.map +1 -0
- package/resources/whatsapp.d.ts +2 -0
- package/resources/whatsapp.d.ts.map +1 -0
- package/resources/whatsapp.js +6 -0
- package/resources/whatsapp.js.map +1 -0
- package/resources/whatsapp.mjs +3 -0
- package/resources/whatsapp.mjs.map +1 -0
- package/src/client.ts +24 -0
- package/src/resources/ai/assistants/assistants.ts +5 -5
- package/src/resources/ai/chat.ts +7 -0
- package/src/resources/index.ts +7 -0
- package/src/resources/messaging-10dlc/brand/brand.ts +17 -11
- package/src/resources/shared.ts +37 -0
- package/src/resources/sim-cards/actions.ts +43 -126
- package/src/resources/sim-cards/index.ts +1 -0
- package/src/resources/sim-cards/sim-cards.ts +2 -0
- package/src/resources/text-to-speech/internal-base.ts +4 -4
- package/src/resources/text-to-speech/text-to-speech.ts +3 -3
- package/src/resources/whatsapp/business-accounts/business-accounts.ts +217 -0
- package/src/resources/whatsapp/business-accounts/index.ts +23 -0
- package/src/resources/whatsapp/business-accounts/phone-numbers.ts +127 -0
- package/src/resources/whatsapp/business-accounts/settings.ts +116 -0
- package/src/resources/whatsapp/business-accounts.ts +3 -0
- package/src/resources/whatsapp/index.ts +24 -0
- package/src/resources/whatsapp/phone-numbers/calling-settings.ts +86 -0
- package/src/resources/whatsapp/phone-numbers/index.ts +24 -0
- package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +193 -0
- package/src/resources/whatsapp/phone-numbers/profile/index.ts +10 -0
- package/src/resources/whatsapp/phone-numbers/profile/photo.ts +70 -0
- package/src/resources/whatsapp/phone-numbers/profile/profile.ts +121 -0
- package/src/resources/whatsapp/phone-numbers/profile.ts +3 -0
- package/src/resources/whatsapp/phone-numbers.ts +3 -0
- package/src/resources/whatsapp/templates.ts +101 -0
- package/src/resources/whatsapp/whatsapp.ts +60 -0
- package/src/resources/whatsapp-message-templates.ts +63 -0
- package/src/resources/whatsapp.ts +3 -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,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.BusinessAccounts = void 0;
|
|
5
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../../core/resource.js");
|
|
7
|
+
const PhoneNumbersAPI = tslib_1.__importStar(require("./phone-numbers.js"));
|
|
8
|
+
const phone_numbers_1 = require("./phone-numbers.js");
|
|
9
|
+
const SettingsAPI = tslib_1.__importStar(require("./settings.js"));
|
|
10
|
+
const settings_1 = require("./settings.js");
|
|
11
|
+
const pagination_1 = require("../../../core/pagination.js");
|
|
12
|
+
const headers_1 = require("../../../internal/headers.js");
|
|
13
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
14
|
+
/**
|
|
15
|
+
* Manage Whatsapp business accounts
|
|
16
|
+
*/
|
|
17
|
+
class BusinessAccounts extends resource_1.APIResource {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
this.phoneNumbers = new PhoneNumbersAPI.PhoneNumbers(this._client);
|
|
21
|
+
this.settings = new SettingsAPI.Settings(this._client);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Get a single Whatsapp Business Account
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const businessAccount =
|
|
29
|
+
* await client.whatsapp.businessAccounts.retrieve('id');
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
retrieve(id, options) {
|
|
33
|
+
return this._client.get((0, path_1.path) `/v2/whatsapp/business_accounts/${id}`, options);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* List Whatsapp Business Accounts
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* // Automatically fetches more pages as needed.
|
|
41
|
+
* for await (const businessAccountListResponse of client.whatsapp.businessAccounts.list()) {
|
|
42
|
+
* // ...
|
|
43
|
+
* }
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
list(query = {}, options) {
|
|
47
|
+
return this._client.getAPIList('/v2/whatsapp/business_accounts', (pagination_1.DefaultFlatPagination), { query, ...options });
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Delete a Whatsapp Business Account
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```ts
|
|
54
|
+
* await client.whatsapp.businessAccounts.delete('id');
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
delete(id, options) {
|
|
58
|
+
return this._client.delete((0, path_1.path) `/v2/whatsapp/business_accounts/${id}`, {
|
|
59
|
+
...options,
|
|
60
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.BusinessAccounts = BusinessAccounts;
|
|
65
|
+
BusinessAccounts.PhoneNumbers = phone_numbers_1.PhoneNumbers;
|
|
66
|
+
BusinessAccounts.Settings = settings_1.Settings;
|
|
67
|
+
//# sourceMappingURL=business-accounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business-accounts.js","sourceRoot":"","sources":["../../../src/resources/whatsapp/business-accounts/business-accounts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,4EAAmD;AACnD,sDAMyB;AACzB,mEAA0C;AAC1C,4CAMoB;AAEpB,4DAIkC;AAClC,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,gBAAiB,SAAQ,sBAAW;IAAjD;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAmD1E,CAAC;IAjDC;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,kCAAkC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,gCAAgC,EAChC,CAAA,kCAAkD,CAAA,EAClD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,kCAAkC,EAAE,EAAE,EAAE;YACrE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AArDD,4CAqDC;AAyGD,gBAAgB,CAAC,YAAY,GAAG,4BAAY,CAAC;AAC7C,gBAAgB,CAAC,QAAQ,GAAG,mBAAQ,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import * as PhoneNumbersAPI from "./phone-numbers.mjs";
|
|
4
|
+
import { PhoneNumbers, } from "./phone-numbers.mjs";
|
|
5
|
+
import * as SettingsAPI from "./settings.mjs";
|
|
6
|
+
import { Settings, } from "./settings.mjs";
|
|
7
|
+
import { DefaultFlatPagination, } from "../../../core/pagination.mjs";
|
|
8
|
+
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
9
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
10
|
+
/**
|
|
11
|
+
* Manage Whatsapp business accounts
|
|
12
|
+
*/
|
|
13
|
+
export class BusinessAccounts extends APIResource {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
this.phoneNumbers = new PhoneNumbersAPI.PhoneNumbers(this._client);
|
|
17
|
+
this.settings = new SettingsAPI.Settings(this._client);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get a single Whatsapp Business Account
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const businessAccount =
|
|
25
|
+
* await client.whatsapp.businessAccounts.retrieve('id');
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
retrieve(id, options) {
|
|
29
|
+
return this._client.get(path `/v2/whatsapp/business_accounts/${id}`, options);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* List Whatsapp Business Accounts
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* // Automatically fetches more pages as needed.
|
|
37
|
+
* for await (const businessAccountListResponse of client.whatsapp.businessAccounts.list()) {
|
|
38
|
+
* // ...
|
|
39
|
+
* }
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
list(query = {}, options) {
|
|
43
|
+
return this._client.getAPIList('/v2/whatsapp/business_accounts', (DefaultFlatPagination), { query, ...options });
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Delete a Whatsapp Business Account
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```ts
|
|
50
|
+
* await client.whatsapp.businessAccounts.delete('id');
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
delete(id, options) {
|
|
54
|
+
return this._client.delete(path `/v2/whatsapp/business_accounts/${id}`, {
|
|
55
|
+
...options,
|
|
56
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
BusinessAccounts.PhoneNumbers = PhoneNumbers;
|
|
61
|
+
BusinessAccounts.Settings = Settings;
|
|
62
|
+
//# sourceMappingURL=business-accounts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business-accounts.mjs","sourceRoot":"","sources":["../../../src/resources/whatsapp/business-accounts/business-accounts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EAKL,YAAY,GACb;OACM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ams, type BusinessAccountListResponsesDefaultFlatPagination, } from "./business-accounts.mjs";
|
|
2
|
+
export { PhoneNumbers, type PhoneNumberListResponse, type PhoneNumberListParams, type PhoneNumberInitializeVerificationParams, type PhoneNumberListResponsesDefaultFlatPagination, } from "./phone-numbers.mjs";
|
|
3
|
+
export { Settings, type WabaSettings, type SettingRetrieveResponse, type SettingUpdateResponse, type SettingUpdateParams, } from "./settings.mjs";
|
|
4
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/whatsapp/business-accounts/index.ts"],"names":[],"mappings":"OAEO,EACL,gBAAgB,EAChB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,iDAAiD,GACvD;OACM,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uCAAuC,EAC5C,KAAK,6CAA6C,GACnD;OACM,EACL,QAAQ,EACR,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { BusinessAccounts, type BusinessAccountRetrieveResponse, type BusinessAccountListResponse, type BusinessAccountListParams, type BusinessAccountListResponsesDefaultFlatPagination, } from "./business-accounts.js";
|
|
2
|
+
export { PhoneNumbers, type PhoneNumberListResponse, type PhoneNumberListParams, type PhoneNumberInitializeVerificationParams, type PhoneNumberListResponsesDefaultFlatPagination, } from "./phone-numbers.js";
|
|
3
|
+
export { Settings, type WabaSettings, type SettingRetrieveResponse, type SettingUpdateResponse, type SettingUpdateParams, } from "./settings.js";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/whatsapp/business-accounts/index.ts"],"names":[],"mappings":"OAEO,EACL,gBAAgB,EAChB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,iDAAiD,GACvD;OACM,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uCAAuC,EAC5C,KAAK,6CAA6C,GACnD;OACM,EACL,QAAQ,EACR,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Settings = exports.PhoneNumbers = exports.BusinessAccounts = void 0;
|
|
5
|
+
var business_accounts_1 = require("./business-accounts.js");
|
|
6
|
+
Object.defineProperty(exports, "BusinessAccounts", { enumerable: true, get: function () { return business_accounts_1.BusinessAccounts; } });
|
|
7
|
+
var phone_numbers_1 = require("./phone-numbers.js");
|
|
8
|
+
Object.defineProperty(exports, "PhoneNumbers", { enumerable: true, get: function () { return phone_numbers_1.PhoneNumbers; } });
|
|
9
|
+
var settings_1 = require("./settings.js");
|
|
10
|
+
Object.defineProperty(exports, "Settings", { enumerable: true, get: function () { return settings_1.Settings; } });
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/whatsapp/business-accounts/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4DAM6B;AAL3B,qHAAA,gBAAgB,OAAA;AAMlB,oDAMyB;AALvB,6GAAA,YAAY,OAAA;AAMd,0CAMoB;AALlB,oGAAA,QAAQ,OAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { BusinessAccounts, } from "./business-accounts.mjs";
|
|
3
|
+
export { PhoneNumbers, } from "./phone-numbers.mjs";
|
|
4
|
+
export { Settings, } from "./settings.mjs";
|
|
5
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/whatsapp/business-accounts/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,gBAAgB,GAKjB;OACM,EACL,YAAY,GAKb;OACM,EACL,QAAQ,GAKT"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
|
+
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../../../core/pagination.mjs";
|
|
4
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
|
+
export declare class PhoneNumbers extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List phone numbers for a WABA
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* // Automatically fetches more pages as needed.
|
|
12
|
+
* for await (const phoneNumberListResponse of client.whatsapp.businessAccounts.phoneNumbers.list(
|
|
13
|
+
* 'id',
|
|
14
|
+
* )) {
|
|
15
|
+
* // ...
|
|
16
|
+
* }
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
list(id: string, query?: PhoneNumberListParams | null | undefined, options?: RequestOptions): PagePromise<PhoneNumberListResponsesDefaultFlatPagination, PhoneNumberListResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Initialize Whatsapp phone number verification
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* await client.whatsapp.businessAccounts.phoneNumbers.initializeVerification(
|
|
26
|
+
* 'id',
|
|
27
|
+
* {
|
|
28
|
+
* display_name: 'display_name',
|
|
29
|
+
* phone_number: 'phone_number',
|
|
30
|
+
* },
|
|
31
|
+
* );
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
initializeVerification(id: string, body: PhoneNumberInitializeVerificationParams, options?: RequestOptions): APIPromise<void>;
|
|
35
|
+
}
|
|
36
|
+
export type PhoneNumberListResponsesDefaultFlatPagination = DefaultFlatPagination<PhoneNumberListResponse>;
|
|
37
|
+
export interface PhoneNumberListResponse {
|
|
38
|
+
calling_enabled?: boolean;
|
|
39
|
+
created_at?: string;
|
|
40
|
+
display_name?: string;
|
|
41
|
+
enabled?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Phone number in E164 format
|
|
44
|
+
*/
|
|
45
|
+
phone_number?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Whatsapp phone number ID
|
|
48
|
+
*/
|
|
49
|
+
phone_number_id?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Whatsapp quality rating
|
|
52
|
+
*/
|
|
53
|
+
quality_rating?: string;
|
|
54
|
+
record_type?: string;
|
|
55
|
+
status?: string;
|
|
56
|
+
/**
|
|
57
|
+
* User ID
|
|
58
|
+
*/
|
|
59
|
+
user_id?: string;
|
|
60
|
+
/**
|
|
61
|
+
* WABA ID of Whatsapp business account
|
|
62
|
+
*/
|
|
63
|
+
waba_id?: string;
|
|
64
|
+
}
|
|
65
|
+
export interface PhoneNumberListParams extends DefaultFlatPaginationParams {
|
|
66
|
+
}
|
|
67
|
+
export interface PhoneNumberInitializeVerificationParams {
|
|
68
|
+
display_name: string;
|
|
69
|
+
phone_number: string;
|
|
70
|
+
language?: string;
|
|
71
|
+
verification_method?: 'sms' | 'voice';
|
|
72
|
+
}
|
|
73
|
+
export declare namespace PhoneNumbers {
|
|
74
|
+
export { type PhoneNumberListResponse as PhoneNumberListResponse, type PhoneNumberListResponsesDefaultFlatPagination as PhoneNumberListResponsesDefaultFlatPagination, type PhoneNumberListParams as PhoneNumberListParams, type PhoneNumberInitializeVerificationParams as PhoneNumberInitializeVerificationParams, };
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=phone-numbers.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phone-numbers.d.mts","sourceRoot":"","sources":["../../../src/resources/whatsapp/business-accounts/phone-numbers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EACL,qBAAqB,EACrB,KAAK,2BAA2B,EAChC,WAAW,EACZ;OAEM,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,6CAA6C,EAAE,uBAAuB,CAAC;IAQtF;;;;;;;;;;;;;OAaG;IACH,sBAAsB,CACpB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,uCAAuC,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;CAOpB;AAED,MAAM,MAAM,6CAA6C,GAAG,qBAAqB,CAAC,uBAAuB,CAAC,CAAC;AAE3G,MAAM,WAAW,uBAAuB;IACtC,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,qBAAsB,SAAQ,2BAA2B;CAAG;AAE7E,MAAM,WAAW,uCAAuC;IACtD,YAAY,EAAE,MAAM,CAAC;IAErB,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,mBAAmB,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uCAAuC,IAAI,uCAAuC,GACxF,CAAC;CACH"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
|
+
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../../../core/pagination.js";
|
|
4
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
5
|
+
export declare class PhoneNumbers extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List phone numbers for a WABA
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* // Automatically fetches more pages as needed.
|
|
12
|
+
* for await (const phoneNumberListResponse of client.whatsapp.businessAccounts.phoneNumbers.list(
|
|
13
|
+
* 'id',
|
|
14
|
+
* )) {
|
|
15
|
+
* // ...
|
|
16
|
+
* }
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
list(id: string, query?: PhoneNumberListParams | null | undefined, options?: RequestOptions): PagePromise<PhoneNumberListResponsesDefaultFlatPagination, PhoneNumberListResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Initialize Whatsapp phone number verification
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* await client.whatsapp.businessAccounts.phoneNumbers.initializeVerification(
|
|
26
|
+
* 'id',
|
|
27
|
+
* {
|
|
28
|
+
* display_name: 'display_name',
|
|
29
|
+
* phone_number: 'phone_number',
|
|
30
|
+
* },
|
|
31
|
+
* );
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
initializeVerification(id: string, body: PhoneNumberInitializeVerificationParams, options?: RequestOptions): APIPromise<void>;
|
|
35
|
+
}
|
|
36
|
+
export type PhoneNumberListResponsesDefaultFlatPagination = DefaultFlatPagination<PhoneNumberListResponse>;
|
|
37
|
+
export interface PhoneNumberListResponse {
|
|
38
|
+
calling_enabled?: boolean;
|
|
39
|
+
created_at?: string;
|
|
40
|
+
display_name?: string;
|
|
41
|
+
enabled?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Phone number in E164 format
|
|
44
|
+
*/
|
|
45
|
+
phone_number?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Whatsapp phone number ID
|
|
48
|
+
*/
|
|
49
|
+
phone_number_id?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Whatsapp quality rating
|
|
52
|
+
*/
|
|
53
|
+
quality_rating?: string;
|
|
54
|
+
record_type?: string;
|
|
55
|
+
status?: string;
|
|
56
|
+
/**
|
|
57
|
+
* User ID
|
|
58
|
+
*/
|
|
59
|
+
user_id?: string;
|
|
60
|
+
/**
|
|
61
|
+
* WABA ID of Whatsapp business account
|
|
62
|
+
*/
|
|
63
|
+
waba_id?: string;
|
|
64
|
+
}
|
|
65
|
+
export interface PhoneNumberListParams extends DefaultFlatPaginationParams {
|
|
66
|
+
}
|
|
67
|
+
export interface PhoneNumberInitializeVerificationParams {
|
|
68
|
+
display_name: string;
|
|
69
|
+
phone_number: string;
|
|
70
|
+
language?: string;
|
|
71
|
+
verification_method?: 'sms' | 'voice';
|
|
72
|
+
}
|
|
73
|
+
export declare namespace PhoneNumbers {
|
|
74
|
+
export { type PhoneNumberListResponse as PhoneNumberListResponse, type PhoneNumberListResponsesDefaultFlatPagination as PhoneNumberListResponsesDefaultFlatPagination, type PhoneNumberListParams as PhoneNumberListParams, type PhoneNumberInitializeVerificationParams as PhoneNumberInitializeVerificationParams, };
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=phone-numbers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phone-numbers.d.ts","sourceRoot":"","sources":["../../../src/resources/whatsapp/business-accounts/phone-numbers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EACL,qBAAqB,EACrB,KAAK,2BAA2B,EAChC,WAAW,EACZ;OAEM,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,6CAA6C,EAAE,uBAAuB,CAAC;IAQtF;;;;;;;;;;;;;OAaG;IACH,sBAAsB,CACpB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,uCAAuC,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;CAOpB;AAED,MAAM,MAAM,6CAA6C,GAAG,qBAAqB,CAAC,uBAAuB,CAAC,CAAC;AAE3G,MAAM,WAAW,uBAAuB;IACtC,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,qBAAsB,SAAQ,2BAA2B;CAAG;AAE7E,MAAM,WAAW,uCAAuC;IACtD,YAAY,EAAE,MAAM,CAAC;IAErB,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,mBAAmB,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uCAAuC,IAAI,uCAAuC,GACxF,CAAC;CACH"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PhoneNumbers = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../../../core/pagination.js");
|
|
7
|
+
const headers_1 = require("../../../internal/headers.js");
|
|
8
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
9
|
+
class PhoneNumbers extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* List phone numbers for a WABA
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* // Automatically fetches more pages as needed.
|
|
16
|
+
* for await (const phoneNumberListResponse of client.whatsapp.businessAccounts.phoneNumbers.list(
|
|
17
|
+
* 'id',
|
|
18
|
+
* )) {
|
|
19
|
+
* // ...
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
list(id, query = {}, options) {
|
|
24
|
+
return this._client.getAPIList((0, path_1.path) `/v2/whatsapp/business_accounts/${id}/phone_numbers`, (pagination_1.DefaultFlatPagination), { query, ...options });
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Initialize Whatsapp phone number verification
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* await client.whatsapp.businessAccounts.phoneNumbers.initializeVerification(
|
|
32
|
+
* 'id',
|
|
33
|
+
* {
|
|
34
|
+
* display_name: 'display_name',
|
|
35
|
+
* phone_number: 'phone_number',
|
|
36
|
+
* },
|
|
37
|
+
* );
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
initializeVerification(id, body, options) {
|
|
41
|
+
return this._client.post((0, path_1.path) `/v2/whatsapp/business_accounts/${id}/phone_numbers`, {
|
|
42
|
+
body,
|
|
43
|
+
...options,
|
|
44
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.PhoneNumbers = PhoneNumbers;
|
|
49
|
+
//# sourceMappingURL=phone-numbers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phone-numbers.js","sourceRoot":"","sources":["../../../src/resources/whatsapp/business-accounts/phone-numbers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,4DAIkC;AAClC,0DAAyD;AAEzD,0DAAoD;AAEpD,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,EAAU,EACV,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,kCAAkC,EAAE,gBAAgB,EACxD,CAAA,kCAA8C,CAAA,EAC9C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,sBAAsB,CACpB,EAAU,EACV,IAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,kCAAkC,EAAE,gBAAgB,EAAE;YACjF,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAnDD,oCAmDC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import { DefaultFlatPagination, } from "../../../core/pagination.mjs";
|
|
4
|
+
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
5
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
6
|
+
export class PhoneNumbers extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* List phone numbers for a WABA
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* // Automatically fetches more pages as needed.
|
|
13
|
+
* for await (const phoneNumberListResponse of client.whatsapp.businessAccounts.phoneNumbers.list(
|
|
14
|
+
* 'id',
|
|
15
|
+
* )) {
|
|
16
|
+
* // ...
|
|
17
|
+
* }
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
list(id, query = {}, options) {
|
|
21
|
+
return this._client.getAPIList(path `/v2/whatsapp/business_accounts/${id}/phone_numbers`, (DefaultFlatPagination), { query, ...options });
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Initialize Whatsapp phone number verification
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* await client.whatsapp.businessAccounts.phoneNumbers.initializeVerification(
|
|
29
|
+
* 'id',
|
|
30
|
+
* {
|
|
31
|
+
* display_name: 'display_name',
|
|
32
|
+
* phone_number: 'phone_number',
|
|
33
|
+
* },
|
|
34
|
+
* );
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
initializeVerification(id, body, options) {
|
|
38
|
+
return this._client.post(path `/v2/whatsapp/business_accounts/${id}/phone_numbers`, {
|
|
39
|
+
body,
|
|
40
|
+
...options,
|
|
41
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=phone-numbers.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phone-numbers.mjs","sourceRoot":"","sources":["../../../src/resources/whatsapp/business-accounts/phone-numbers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EACL,qBAAqB,GAGtB;OACM,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,EAAU,EACV,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,kCAAkC,EAAE,gBAAgB,EACxD,CAAA,qBAA8C,CAAA,EAC9C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,sBAAsB,CACpB,EAAU,EACV,IAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,kCAAkC,EAAE,gBAAgB,EAAE;YACjF,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Manage Whatsapp business accounts
|
|
6
|
+
*/
|
|
7
|
+
export declare class Settings extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get WABA settings
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const setting =
|
|
14
|
+
* await client.whatsapp.businessAccounts.settings.retrieve(
|
|
15
|
+
* 'id',
|
|
16
|
+
* );
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<SettingRetrieveResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Update WABA settings
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* const setting =
|
|
26
|
+
* await client.whatsapp.businessAccounts.settings.update(
|
|
27
|
+
* 'id',
|
|
28
|
+
* );
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
update(id: string, body: SettingUpdateParams, options?: RequestOptions): APIPromise<SettingUpdateResponse>;
|
|
32
|
+
}
|
|
33
|
+
export interface WabaSettings {
|
|
34
|
+
/**
|
|
35
|
+
* Internal ID of Whatsapp business account
|
|
36
|
+
*/
|
|
37
|
+
id?: string;
|
|
38
|
+
name?: string;
|
|
39
|
+
record_type?: string;
|
|
40
|
+
timezone?: string;
|
|
41
|
+
updated_at?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Enable/disable receiving Whatsapp events
|
|
44
|
+
*/
|
|
45
|
+
webhook_enabled?: boolean;
|
|
46
|
+
webhook_events?: Array<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Failover URL to receive Whatsapp events
|
|
49
|
+
*/
|
|
50
|
+
webhook_failover_url?: string;
|
|
51
|
+
/**
|
|
52
|
+
* URL to receive Whatsapp events
|
|
53
|
+
*/
|
|
54
|
+
webhook_url?: string;
|
|
55
|
+
}
|
|
56
|
+
export interface SettingRetrieveResponse {
|
|
57
|
+
data?: WabaSettings;
|
|
58
|
+
}
|
|
59
|
+
export interface SettingUpdateResponse {
|
|
60
|
+
data?: WabaSettings;
|
|
61
|
+
}
|
|
62
|
+
export interface SettingUpdateParams {
|
|
63
|
+
name?: string;
|
|
64
|
+
/**
|
|
65
|
+
* IANA timezone identifier
|
|
66
|
+
*/
|
|
67
|
+
timezone?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Enable/disable receiving Whatsapp events
|
|
70
|
+
*/
|
|
71
|
+
webhook_enabled?: boolean;
|
|
72
|
+
webhook_events?: Array<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Failover URL to send Whatsapp events
|
|
75
|
+
*/
|
|
76
|
+
webhook_failover_url?: string;
|
|
77
|
+
/**
|
|
78
|
+
* URL to send Whatsapp events
|
|
79
|
+
*/
|
|
80
|
+
webhook_url?: string;
|
|
81
|
+
}
|
|
82
|
+
export declare namespace Settings {
|
|
83
|
+
export { type WabaSettings as WabaSettings, type SettingRetrieveResponse as SettingRetrieveResponse, type SettingUpdateResponse as SettingUpdateResponse, type SettingUpdateParams as SettingUpdateParams, };
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=settings.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.d.mts","sourceRoot":"","sources":["../../../src/resources/whatsapp/business-accounts/settings.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,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,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Manage Whatsapp business accounts
|
|
6
|
+
*/
|
|
7
|
+
export declare class Settings extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get WABA settings
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const setting =
|
|
14
|
+
* await client.whatsapp.businessAccounts.settings.retrieve(
|
|
15
|
+
* 'id',
|
|
16
|
+
* );
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<SettingRetrieveResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Update WABA settings
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* const setting =
|
|
26
|
+
* await client.whatsapp.businessAccounts.settings.update(
|
|
27
|
+
* 'id',
|
|
28
|
+
* );
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
update(id: string, body: SettingUpdateParams, options?: RequestOptions): APIPromise<SettingUpdateResponse>;
|
|
32
|
+
}
|
|
33
|
+
export interface WabaSettings {
|
|
34
|
+
/**
|
|
35
|
+
* Internal ID of Whatsapp business account
|
|
36
|
+
*/
|
|
37
|
+
id?: string;
|
|
38
|
+
name?: string;
|
|
39
|
+
record_type?: string;
|
|
40
|
+
timezone?: string;
|
|
41
|
+
updated_at?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Enable/disable receiving Whatsapp events
|
|
44
|
+
*/
|
|
45
|
+
webhook_enabled?: boolean;
|
|
46
|
+
webhook_events?: Array<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Failover URL to receive Whatsapp events
|
|
49
|
+
*/
|
|
50
|
+
webhook_failover_url?: string;
|
|
51
|
+
/**
|
|
52
|
+
* URL to receive Whatsapp events
|
|
53
|
+
*/
|
|
54
|
+
webhook_url?: string;
|
|
55
|
+
}
|
|
56
|
+
export interface SettingRetrieveResponse {
|
|
57
|
+
data?: WabaSettings;
|
|
58
|
+
}
|
|
59
|
+
export interface SettingUpdateResponse {
|
|
60
|
+
data?: WabaSettings;
|
|
61
|
+
}
|
|
62
|
+
export interface SettingUpdateParams {
|
|
63
|
+
name?: string;
|
|
64
|
+
/**
|
|
65
|
+
* IANA timezone identifier
|
|
66
|
+
*/
|
|
67
|
+
timezone?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Enable/disable receiving Whatsapp events
|
|
70
|
+
*/
|
|
71
|
+
webhook_enabled?: boolean;
|
|
72
|
+
webhook_events?: Array<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Failover URL to send Whatsapp events
|
|
75
|
+
*/
|
|
76
|
+
webhook_failover_url?: string;
|
|
77
|
+
/**
|
|
78
|
+
* URL to send Whatsapp events
|
|
79
|
+
*/
|
|
80
|
+
webhook_url?: string;
|
|
81
|
+
}
|
|
82
|
+
export declare namespace Settings {
|
|
83
|
+
export { type WabaSettings as WabaSettings, type SettingRetrieveResponse as SettingRetrieveResponse, type SettingUpdateResponse as SettingUpdateResponse, type SettingUpdateParams as SettingUpdateParams, };
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/resources/whatsapp/business-accounts/settings.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,EAA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