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,193 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as CallingSettingsAPI from './calling-settings';
|
|
5
|
+
import {
|
|
6
|
+
CallingSettingRetrieveResponse,
|
|
7
|
+
CallingSettingUpdateParams,
|
|
8
|
+
CallingSettingUpdateResponse,
|
|
9
|
+
CallingSettings,
|
|
10
|
+
WhatsappCallingSettingsData,
|
|
11
|
+
} from './calling-settings';
|
|
12
|
+
import * as ProfileAPI from './profile/profile';
|
|
13
|
+
import {
|
|
14
|
+
Profile,
|
|
15
|
+
ProfileRetrieveResponse,
|
|
16
|
+
ProfileUpdateParams,
|
|
17
|
+
ProfileUpdateResponse,
|
|
18
|
+
WhatsappProfileData,
|
|
19
|
+
} from './profile/profile';
|
|
20
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
21
|
+
import {
|
|
22
|
+
DefaultFlatPagination,
|
|
23
|
+
type DefaultFlatPaginationParams,
|
|
24
|
+
PagePromise,
|
|
25
|
+
} from '../../../core/pagination';
|
|
26
|
+
import { buildHeaders } from '../../../internal/headers';
|
|
27
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
28
|
+
import { path } from '../../../internal/utils/path';
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Manage Whatsapp phone numbers
|
|
32
|
+
*/
|
|
33
|
+
export class PhoneNumbers extends APIResource {
|
|
34
|
+
callingSettings: CallingSettingsAPI.CallingSettings = new CallingSettingsAPI.CallingSettings(this._client);
|
|
35
|
+
profile: ProfileAPI.Profile = new ProfileAPI.Profile(this._client);
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* List Whatsapp phone numbers
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* // Automatically fetches more pages as needed.
|
|
43
|
+
* for await (const phoneNumberListResponse of client.whatsapp.phoneNumbers.list()) {
|
|
44
|
+
* // ...
|
|
45
|
+
* }
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
list(
|
|
49
|
+
query: PhoneNumberListParams | null | undefined = {},
|
|
50
|
+
options?: RequestOptions,
|
|
51
|
+
): PagePromise<PhoneNumberListResponsesDefaultFlatPagination, PhoneNumberListResponse> {
|
|
52
|
+
return this._client.getAPIList(
|
|
53
|
+
'/v2/whatsapp/phone_numbers',
|
|
54
|
+
DefaultFlatPagination<PhoneNumberListResponse>,
|
|
55
|
+
{ query, ...options },
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Delete a Whatsapp phone number
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```ts
|
|
64
|
+
* await client.whatsapp.phoneNumbers.delete('phone_number');
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
delete(phoneNumber: string, options?: RequestOptions): APIPromise<void> {
|
|
68
|
+
return this._client.delete(path`/v2/whatsapp/phone_numbers/${phoneNumber}`, {
|
|
69
|
+
...options,
|
|
70
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Resend verification code
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* ```ts
|
|
79
|
+
* await client.whatsapp.phoneNumbers.resendVerification(
|
|
80
|
+
* 'phone_number',
|
|
81
|
+
* );
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
resendVerification(
|
|
85
|
+
phoneNumber: string,
|
|
86
|
+
body: PhoneNumberResendVerificationParams,
|
|
87
|
+
options?: RequestOptions,
|
|
88
|
+
): APIPromise<void> {
|
|
89
|
+
return this._client.post(path`/v2/whatsapp/phone_numbers/${phoneNumber}/resend_verification`, {
|
|
90
|
+
body,
|
|
91
|
+
...options,
|
|
92
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Submit verification code for a phone number
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* ```ts
|
|
101
|
+
* await client.whatsapp.phoneNumbers.verify('phone_number', {
|
|
102
|
+
* code: 'code',
|
|
103
|
+
* });
|
|
104
|
+
* ```
|
|
105
|
+
*/
|
|
106
|
+
verify(phoneNumber: string, body: PhoneNumberVerifyParams, options?: RequestOptions): APIPromise<void> {
|
|
107
|
+
return this._client.post(path`/v2/whatsapp/phone_numbers/${phoneNumber}/verify`, {
|
|
108
|
+
body,
|
|
109
|
+
...options,
|
|
110
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export type PhoneNumberListResponsesDefaultFlatPagination = DefaultFlatPagination<PhoneNumberListResponse>;
|
|
116
|
+
|
|
117
|
+
export interface PhoneNumberListResponse {
|
|
118
|
+
calling_enabled?: boolean;
|
|
119
|
+
|
|
120
|
+
created_at?: string;
|
|
121
|
+
|
|
122
|
+
display_name?: string;
|
|
123
|
+
|
|
124
|
+
enabled?: boolean;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Phone number in E164 format
|
|
128
|
+
*/
|
|
129
|
+
phone_number?: string;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Whatsapp phone number ID
|
|
133
|
+
*/
|
|
134
|
+
phone_number_id?: string;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Whatsapp quality rating
|
|
138
|
+
*/
|
|
139
|
+
quality_rating?: string;
|
|
140
|
+
|
|
141
|
+
record_type?: string;
|
|
142
|
+
|
|
143
|
+
status?: string;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* User ID
|
|
147
|
+
*/
|
|
148
|
+
user_id?: string;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* WABA ID of Whatsapp business account
|
|
152
|
+
*/
|
|
153
|
+
waba_id?: string;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export interface PhoneNumberListParams extends DefaultFlatPaginationParams {}
|
|
157
|
+
|
|
158
|
+
export interface PhoneNumberResendVerificationParams {
|
|
159
|
+
verification_method?: 'sms' | 'voice';
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export interface PhoneNumberVerifyParams {
|
|
163
|
+
code: string;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
PhoneNumbers.CallingSettings = CallingSettings;
|
|
167
|
+
PhoneNumbers.Profile = Profile;
|
|
168
|
+
|
|
169
|
+
export declare namespace PhoneNumbers {
|
|
170
|
+
export {
|
|
171
|
+
type PhoneNumberListResponse as PhoneNumberListResponse,
|
|
172
|
+
type PhoneNumberListResponsesDefaultFlatPagination as PhoneNumberListResponsesDefaultFlatPagination,
|
|
173
|
+
type PhoneNumberListParams as PhoneNumberListParams,
|
|
174
|
+
type PhoneNumberResendVerificationParams as PhoneNumberResendVerificationParams,
|
|
175
|
+
type PhoneNumberVerifyParams as PhoneNumberVerifyParams,
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
export {
|
|
179
|
+
CallingSettings as CallingSettings,
|
|
180
|
+
type WhatsappCallingSettingsData as WhatsappCallingSettingsData,
|
|
181
|
+
type CallingSettingRetrieveResponse as CallingSettingRetrieveResponse,
|
|
182
|
+
type CallingSettingUpdateResponse as CallingSettingUpdateResponse,
|
|
183
|
+
type CallingSettingUpdateParams as CallingSettingUpdateParams,
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
export {
|
|
187
|
+
Profile as Profile,
|
|
188
|
+
type WhatsappProfileData as WhatsappProfileData,
|
|
189
|
+
type ProfileRetrieveResponse as ProfileRetrieveResponse,
|
|
190
|
+
type ProfileUpdateResponse as ProfileUpdateResponse,
|
|
191
|
+
type ProfileUpdateParams as ProfileUpdateParams,
|
|
192
|
+
};
|
|
193
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export { Photo, type PhotoUploadResponse, type PhotoUploadParams } from './photo';
|
|
4
|
+
export {
|
|
5
|
+
Profile,
|
|
6
|
+
type WhatsappProfileData,
|
|
7
|
+
type ProfileRetrieveResponse,
|
|
8
|
+
type ProfileUpdateResponse,
|
|
9
|
+
type ProfileUpdateParams,
|
|
10
|
+
} from './profile';
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../../core/resource';
|
|
4
|
+
import * as ProfileAPI from './profile';
|
|
5
|
+
import { APIPromise } from '../../../../core/api-promise';
|
|
6
|
+
import { type Uploadable } from '../../../../core/uploads';
|
|
7
|
+
import { buildHeaders } from '../../../../internal/headers';
|
|
8
|
+
import { RequestOptions } from '../../../../internal/request-options';
|
|
9
|
+
import { multipartFormRequestOptions } from '../../../../internal/uploads';
|
|
10
|
+
import { path } from '../../../../internal/utils/path';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Manage Whatsapp phone numbers
|
|
14
|
+
*/
|
|
15
|
+
export class Photo extends APIResource {
|
|
16
|
+
/**
|
|
17
|
+
* Delete Whatsapp profile photo
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* await client.whatsapp.phoneNumbers.profile.photo.delete(
|
|
22
|
+
* 'phone_number',
|
|
23
|
+
* );
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
delete(phoneNumber: string, options?: RequestOptions): APIPromise<void> {
|
|
27
|
+
return this._client.delete(path`/v2/whatsapp/phone_numbers/${phoneNumber}/profile/photo`, {
|
|
28
|
+
...options,
|
|
29
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Upload Whatsapp profile photo
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const response =
|
|
39
|
+
* await client.whatsapp.phoneNumbers.profile.photo.upload(
|
|
40
|
+
* 'phone_number',
|
|
41
|
+
* { file: fs.createReadStream('path/to/file') },
|
|
42
|
+
* );
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
upload(
|
|
46
|
+
phoneNumber: string,
|
|
47
|
+
body: PhotoUploadParams,
|
|
48
|
+
options?: RequestOptions,
|
|
49
|
+
): APIPromise<PhotoUploadResponse> {
|
|
50
|
+
return this._client.post(
|
|
51
|
+
path`/v2/whatsapp/phone_numbers/${phoneNumber}/profile/photo`,
|
|
52
|
+
multipartFormRequestOptions({ body, ...options }, this._client),
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface PhotoUploadResponse {
|
|
58
|
+
data?: ProfileAPI.WhatsappProfileData;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface PhotoUploadParams {
|
|
62
|
+
/**
|
|
63
|
+
* Image file (JPEG recommended, max 10 MB)
|
|
64
|
+
*/
|
|
65
|
+
file: Uploadable;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export declare namespace Photo {
|
|
69
|
+
export { type PhotoUploadResponse as PhotoUploadResponse, type PhotoUploadParams as PhotoUploadParams };
|
|
70
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../../core/resource';
|
|
4
|
+
import * as PhotoAPI from './photo';
|
|
5
|
+
import { Photo, PhotoUploadParams, PhotoUploadResponse } from './photo';
|
|
6
|
+
import { APIPromise } from '../../../../core/api-promise';
|
|
7
|
+
import { RequestOptions } from '../../../../internal/request-options';
|
|
8
|
+
import { path } from '../../../../internal/utils/path';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Manage Whatsapp phone numbers
|
|
12
|
+
*/
|
|
13
|
+
export class Profile extends APIResource {
|
|
14
|
+
photo: PhotoAPI.Photo = new PhotoAPI.Photo(this._client);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Get phone number business profile
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const profile =
|
|
22
|
+
* await client.whatsapp.phoneNumbers.profile.retrieve(
|
|
23
|
+
* 'phone_number',
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
retrieve(phoneNumber: string, options?: RequestOptions): APIPromise<ProfileRetrieveResponse> {
|
|
28
|
+
return this._client.get(path`/v2/whatsapp/phone_numbers/${phoneNumber}/profile`, options);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Update phone number business profile
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const profile =
|
|
37
|
+
* await client.whatsapp.phoneNumbers.profile.update(
|
|
38
|
+
* 'phone_number',
|
|
39
|
+
* );
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
update(
|
|
43
|
+
phoneNumber: string,
|
|
44
|
+
body: ProfileUpdateParams,
|
|
45
|
+
options?: RequestOptions,
|
|
46
|
+
): APIPromise<ProfileUpdateResponse> {
|
|
47
|
+
return this._client.patch(path`/v2/whatsapp/phone_numbers/${phoneNumber}/profile`, { body, ...options });
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface WhatsappProfileData {
|
|
52
|
+
id?: string;
|
|
53
|
+
|
|
54
|
+
about?: string;
|
|
55
|
+
|
|
56
|
+
address?: string;
|
|
57
|
+
|
|
58
|
+
category?: string;
|
|
59
|
+
|
|
60
|
+
created_at?: string;
|
|
61
|
+
|
|
62
|
+
description?: string;
|
|
63
|
+
|
|
64
|
+
display_name?: string;
|
|
65
|
+
|
|
66
|
+
email?: string;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Whatsapp phone number ID
|
|
70
|
+
*/
|
|
71
|
+
phone_number_id?: string;
|
|
72
|
+
|
|
73
|
+
profile_photo_url?: string;
|
|
74
|
+
|
|
75
|
+
record_type?: string;
|
|
76
|
+
|
|
77
|
+
updated_at?: string;
|
|
78
|
+
|
|
79
|
+
website?: string;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export interface ProfileRetrieveResponse {
|
|
83
|
+
data?: WhatsappProfileData;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export interface ProfileUpdateResponse {
|
|
87
|
+
data?: WhatsappProfileData;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export interface ProfileUpdateParams {
|
|
91
|
+
about?: string;
|
|
92
|
+
|
|
93
|
+
address?: string;
|
|
94
|
+
|
|
95
|
+
category?: string;
|
|
96
|
+
|
|
97
|
+
description?: string;
|
|
98
|
+
|
|
99
|
+
display_name?: string;
|
|
100
|
+
|
|
101
|
+
email?: string;
|
|
102
|
+
|
|
103
|
+
website?: string;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
Profile.Photo = Photo;
|
|
107
|
+
|
|
108
|
+
export declare namespace Profile {
|
|
109
|
+
export {
|
|
110
|
+
type WhatsappProfileData as WhatsappProfileData,
|
|
111
|
+
type ProfileRetrieveResponse as ProfileRetrieveResponse,
|
|
112
|
+
type ProfileUpdateResponse as ProfileUpdateResponse,
|
|
113
|
+
type ProfileUpdateParams as ProfileUpdateParams,
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
export {
|
|
117
|
+
Photo as Photo,
|
|
118
|
+
type PhotoUploadResponse as PhotoUploadResponse,
|
|
119
|
+
type PhotoUploadParams as PhotoUploadParams,
|
|
120
|
+
};
|
|
121
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as Shared from '../shared';
|
|
5
|
+
import { WhatsappTemplateDataDefaultFlatPagination } from '../shared';
|
|
6
|
+
import { APIPromise } from '../../core/api-promise';
|
|
7
|
+
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from '../../core/pagination';
|
|
8
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Manage Whatsapp message templates
|
|
12
|
+
*/
|
|
13
|
+
export class Templates extends APIResource {
|
|
14
|
+
/**
|
|
15
|
+
* Create a Whatsapp message template
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* const template = await client.whatsapp.templates.create({
|
|
20
|
+
* category: 'MARKETING',
|
|
21
|
+
* components: [{ foo: 'bar' }],
|
|
22
|
+
* language: 'language',
|
|
23
|
+
* name: 'name',
|
|
24
|
+
* waba_id: 'waba_id',
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
create(body: TemplateCreateParams, options?: RequestOptions): APIPromise<TemplateCreateResponse> {
|
|
29
|
+
return this._client.post('/v2/whatsapp/message_templates', { body, ...options });
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* List Whatsapp message templates
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```ts
|
|
37
|
+
* // Automatically fetches more pages as needed.
|
|
38
|
+
* for await (const whatsappTemplateData of client.whatsapp.templates.list()) {
|
|
39
|
+
* // ...
|
|
40
|
+
* }
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
list(
|
|
44
|
+
query: TemplateListParams | null | undefined = {},
|
|
45
|
+
options?: RequestOptions,
|
|
46
|
+
): PagePromise<WhatsappTemplateDataDefaultFlatPagination, Shared.WhatsappTemplateData> {
|
|
47
|
+
return this._client.getAPIList(
|
|
48
|
+
'/v2/whatsapp/message_templates',
|
|
49
|
+
DefaultFlatPagination<Shared.WhatsappTemplateData>,
|
|
50
|
+
{ query, ...options },
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface TemplateCreateResponse {
|
|
56
|
+
data?: Shared.WhatsappTemplateData;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface TemplateCreateParams {
|
|
60
|
+
category: 'MARKETING' | 'UTILITY' | 'AUTHENTICATION';
|
|
61
|
+
|
|
62
|
+
components: Array<{ [key: string]: unknown }>;
|
|
63
|
+
|
|
64
|
+
language: string;
|
|
65
|
+
|
|
66
|
+
name: string;
|
|
67
|
+
|
|
68
|
+
waba_id: string;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface TemplateListParams extends DefaultFlatPaginationParams {
|
|
72
|
+
/**
|
|
73
|
+
* Filter by category
|
|
74
|
+
*/
|
|
75
|
+
'filter[category]'?: 'MARKETING' | 'UTILITY' | 'AUTHENTICATION';
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Search templates by name
|
|
79
|
+
*/
|
|
80
|
+
'filter[search]'?: string;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Filter by template status
|
|
84
|
+
*/
|
|
85
|
+
'filter[status]'?: string;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Filter by WABA ID
|
|
89
|
+
*/
|
|
90
|
+
'filter[waba_id]'?: string;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export declare namespace Templates {
|
|
94
|
+
export {
|
|
95
|
+
type TemplateCreateResponse as TemplateCreateResponse,
|
|
96
|
+
type TemplateCreateParams as TemplateCreateParams,
|
|
97
|
+
type TemplateListParams as TemplateListParams,
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export { type WhatsappTemplateDataDefaultFlatPagination };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as TemplatesAPI from './templates';
|
|
5
|
+
import { TemplateCreateParams, TemplateCreateResponse, TemplateListParams, Templates } from './templates';
|
|
6
|
+
import * as BusinessAccountsAPI from './business-accounts/business-accounts';
|
|
7
|
+
import {
|
|
8
|
+
BusinessAccountListParams,
|
|
9
|
+
BusinessAccountListResponse,
|
|
10
|
+
BusinessAccountListResponsesDefaultFlatPagination,
|
|
11
|
+
BusinessAccountRetrieveResponse,
|
|
12
|
+
BusinessAccounts,
|
|
13
|
+
} from './business-accounts/business-accounts';
|
|
14
|
+
import * as PhoneNumbersAPI from './phone-numbers/phone-numbers';
|
|
15
|
+
import {
|
|
16
|
+
PhoneNumberListParams,
|
|
17
|
+
PhoneNumberListResponse,
|
|
18
|
+
PhoneNumberListResponsesDefaultFlatPagination,
|
|
19
|
+
PhoneNumberResendVerificationParams,
|
|
20
|
+
PhoneNumberVerifyParams,
|
|
21
|
+
PhoneNumbers,
|
|
22
|
+
} from './phone-numbers/phone-numbers';
|
|
23
|
+
|
|
24
|
+
export class Whatsapp extends APIResource {
|
|
25
|
+
businessAccounts: BusinessAccountsAPI.BusinessAccounts = new BusinessAccountsAPI.BusinessAccounts(
|
|
26
|
+
this._client,
|
|
27
|
+
);
|
|
28
|
+
templates: TemplatesAPI.Templates = new TemplatesAPI.Templates(this._client);
|
|
29
|
+
phoneNumbers: PhoneNumbersAPI.PhoneNumbers = new PhoneNumbersAPI.PhoneNumbers(this._client);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
Whatsapp.BusinessAccounts = BusinessAccounts;
|
|
33
|
+
Whatsapp.Templates = Templates;
|
|
34
|
+
Whatsapp.PhoneNumbers = PhoneNumbers;
|
|
35
|
+
|
|
36
|
+
export declare namespace Whatsapp {
|
|
37
|
+
export {
|
|
38
|
+
BusinessAccounts as BusinessAccounts,
|
|
39
|
+
type BusinessAccountRetrieveResponse as BusinessAccountRetrieveResponse,
|
|
40
|
+
type BusinessAccountListResponse as BusinessAccountListResponse,
|
|
41
|
+
type BusinessAccountListResponsesDefaultFlatPagination as BusinessAccountListResponsesDefaultFlatPagination,
|
|
42
|
+
type BusinessAccountListParams as BusinessAccountListParams,
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export {
|
|
46
|
+
Templates as Templates,
|
|
47
|
+
type TemplateCreateResponse as TemplateCreateResponse,
|
|
48
|
+
type TemplateCreateParams as TemplateCreateParams,
|
|
49
|
+
type TemplateListParams as TemplateListParams,
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export {
|
|
53
|
+
PhoneNumbers as PhoneNumbers,
|
|
54
|
+
type PhoneNumberListResponse as PhoneNumberListResponse,
|
|
55
|
+
type PhoneNumberListResponsesDefaultFlatPagination as PhoneNumberListResponsesDefaultFlatPagination,
|
|
56
|
+
type PhoneNumberListParams as PhoneNumberListParams,
|
|
57
|
+
type PhoneNumberResendVerificationParams as PhoneNumberResendVerificationParams,
|
|
58
|
+
type PhoneNumberVerifyParams as PhoneNumberVerifyParams,
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as Shared from './shared';
|
|
5
|
+
import { APIPromise } from '../core/api-promise';
|
|
6
|
+
import { buildHeaders } from '../internal/headers';
|
|
7
|
+
import { RequestOptions } from '../internal/request-options';
|
|
8
|
+
import { path } from '../internal/utils/path';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Manage Whatsapp message templates
|
|
12
|
+
*/
|
|
13
|
+
export class WhatsappMessageTemplates extends APIResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get a Whatsapp message template by ID
|
|
16
|
+
*/
|
|
17
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<WhatsappMessageTemplateRetrieveResponse> {
|
|
18
|
+
return this._client.get(path`/v2/whatsapp_message_templates/${id}`, options);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Update a Whatsapp message template
|
|
23
|
+
*/
|
|
24
|
+
update(
|
|
25
|
+
id: string,
|
|
26
|
+
body: WhatsappMessageTemplateUpdateParams,
|
|
27
|
+
options?: RequestOptions,
|
|
28
|
+
): APIPromise<WhatsappMessageTemplateUpdateResponse> {
|
|
29
|
+
return this._client.patch(path`/v2/whatsapp_message_templates/${id}`, { body, ...options });
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Delete a Whatsapp message template
|
|
34
|
+
*/
|
|
35
|
+
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
36
|
+
return this._client.delete(path`/v2/whatsapp_message_templates/${id}`, {
|
|
37
|
+
...options,
|
|
38
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface WhatsappMessageTemplateRetrieveResponse {
|
|
44
|
+
data?: Shared.WhatsappTemplateData;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface WhatsappMessageTemplateUpdateResponse {
|
|
48
|
+
data?: Shared.WhatsappTemplateData;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface WhatsappMessageTemplateUpdateParams {
|
|
52
|
+
category?: 'MARKETING' | 'UTILITY' | 'AUTHENTICATION';
|
|
53
|
+
|
|
54
|
+
components?: Array<{ [key: string]: unknown }>;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export declare namespace WhatsappMessageTemplates {
|
|
58
|
+
export {
|
|
59
|
+
type WhatsappMessageTemplateRetrieveResponse as WhatsappMessageTemplateRetrieveResponse,
|
|
60
|
+
type WhatsappMessageTemplateUpdateResponse as WhatsappMessageTemplateUpdateResponse,
|
|
61
|
+
type WhatsappMessageTemplateUpdateParams as WhatsappMessageTemplateUpdateParams,
|
|
62
|
+
};
|
|
63
|
+
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '6.
|
|
1
|
+
export const VERSION = '6.8.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "6.
|
|
1
|
+
export declare const VERSION = "6.8.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "6.
|
|
1
|
+
export declare const VERSION = "6.8.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '6.
|
|
1
|
+
export const VERSION = '6.8.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|