@wppconnect/wa-js 2.8.2 → 2.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/chat/functions/getLastSeen.d.ts +25 -0
- package/dist/chat/functions/index.d.ts +1 -0
- package/dist/chat/functions/prepareMessageButtons.d.ts +1 -1
- package/dist/chat/functions/sendTextMessage.d.ts +31 -0
- package/dist/chat/functions/sendVCardContactMessage.d.ts +20 -0
- package/dist/chat/index.d.ts +1 -0
- package/dist/chat/patch.d.ts +16 -0
- package/dist/conn/functions/getPlatform.d.ts +25 -0
- package/dist/conn/functions/index.d.ts +2 -0
- package/dist/eventEmitter/eventTypes.d.ts +3 -1
- package/dist/eventEmitter/index.d.ts +41 -41
- package/dist/group/events/eventTypes.d.ts +53 -0
- package/dist/group/events/index.d.ts +16 -0
- package/dist/group/events/registerParticipantsChangedEvent.d.ts +16 -0
- package/dist/group/index.d.ts +1 -0
- package/dist/gtag/index.d.ts +1 -0
- package/dist/profile/functions/index.d.ts +1 -0
- package/dist/profile/functions/isBusiness.d.ts +24 -0
- package/dist/status/functions/postSendStatus.d.ts +17 -0
- package/dist/status/functions/sendRawStatus.d.ts +2 -0
- package/dist/whatsapp/collections/StatusV3Collection.d.ts +2 -2
- package/dist/whatsapp/contants/DROP_ATTR.d.ts +19 -0
- package/dist/whatsapp/contants/index.d.ts +16 -0
- package/dist/whatsapp/enums/CALL_STATES.d.ts +1 -0
- package/dist/whatsapp/enums/SendMsgResult.d.ts +1 -0
- package/dist/whatsapp/functions/addAndSendMsgToChat.d.ts +1 -0
- package/dist/whatsapp/functions/blockContact.d.ts +2 -0
- package/dist/whatsapp/functions/createMsgProtobuf.d.ts +1 -0
- package/dist/whatsapp/functions/encodeMaybeMediaType.d.ts +19 -0
- package/dist/whatsapp/functions/encryptAndSendGroupMsg.d.ts +1 -0
- package/dist/whatsapp/functions/encryptAndSendMsg.d.ts +1 -0
- package/dist/whatsapp/functions/fetchLinkPreview.d.ts +1 -0
- package/dist/whatsapp/functions/findChat.d.ts +1 -0
- package/dist/whatsapp/functions/genMinimalLinkPreview.d.ts +1 -0
- package/dist/whatsapp/functions/groupParticipants.d.ts +4 -0
- package/dist/whatsapp/functions/handleAck.d.ts +6 -0
- package/dist/whatsapp/functions/index.d.ts +3 -0
- package/dist/whatsapp/functions/markSeen.d.ts +7 -2
- package/dist/whatsapp/functions/mediaTypeFromProtobuf.d.ts +2 -1
- package/dist/whatsapp/functions/products.d.ts +4 -0
- package/dist/whatsapp/functions/randomHex.d.ts +20 -0
- package/dist/whatsapp/functions/sendCallSignalingMsg.d.ts +3 -1
- package/dist/whatsapp/functions/sendClear.d.ts +1 -0
- package/dist/whatsapp/functions/sendDelete.d.ts +1 -0
- package/dist/whatsapp/functions/sendExitGroup.d.ts +1 -0
- package/dist/whatsapp/functions/sendReactionToMsg.d.ts +1 -0
- package/dist/whatsapp/functions/sendTextMsgToChat.d.ts +1 -0
- package/dist/whatsapp/functions/setArchive.d.ts +1 -0
- package/dist/whatsapp/functions/setPin.d.ts +2 -0
- package/dist/whatsapp/functions/typeAttributeFromProtobuf.d.ts +1 -0
- package/dist/whatsapp/functions/updateDBForGroupAction.d.ts +37 -0
- package/dist/whatsapp/index.d.ts +1 -0
- package/dist/whatsapp/misc/ChatPresence.d.ts +1 -0
- package/dist/whatsapp/misc/Locale.d.ts +1 -0
- package/dist/wppconnect-wa.js +1 -1
- package/package.json +16 -16
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2021 WPPConnect Team
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Return the current logged user is Bussiness or not
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```javascript
|
|
21
|
+
* WPP.profile.isBusiness();
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function isBusiness(): boolean | undefined;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2021 WPPConnect Team
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { SendMessageReturn } from '../../chat';
|
|
17
|
+
export declare function postSendStatus(result: SendMessageReturn): void;
|
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import * as Chat from '../../chat';
|
|
17
|
+
import { MsgKey } from '../../whatsapp';
|
|
17
18
|
export interface SendStatusOptions {
|
|
18
19
|
waitForAck?: boolean;
|
|
20
|
+
messageId?: string | MsgKey;
|
|
19
21
|
}
|
|
20
22
|
export declare function sendRawStatus(message: Chat.RawMessage, options?: SendStatusOptions): Promise<Chat.SendMessageReturn>;
|
|
@@ -24,10 +24,10 @@ export declare class StatusV3Collection extends BaseCollection<StatusV3Model> {
|
|
|
24
24
|
sync(e?: any): any;
|
|
25
25
|
logMetrics(e?: any): any;
|
|
26
26
|
hasSynced(): boolean;
|
|
27
|
-
handleUpdate(
|
|
27
|
+
handleUpdate(rawMsg?: any, checksum?: any, isMsgUpdate?: boolean): any;
|
|
28
28
|
updateChecksum(e?: any): any;
|
|
29
29
|
addStatusMessages(e?: any, t?: any): any;
|
|
30
30
|
getUnexpired(e?: any): any;
|
|
31
|
-
getMyStatus():
|
|
31
|
+
getMyStatus(): StatusV3Model;
|
|
32
32
|
static comparator(): any;
|
|
33
33
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2021 WPPConnect Team
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* @whatsapp 831914
|
|
18
|
+
*/
|
|
19
|
+
export declare const DROP_ATTR: any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2021 WPPConnect Team
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export * from './DROP_ATTR';
|
|
@@ -17,5 +17,6 @@ import { SendMsgResult } from '../enums';
|
|
|
17
17
|
import { ChatModel, ModelPropertiesContructor, MsgModel } from '../models';
|
|
18
18
|
/** @whatsapp 75887
|
|
19
19
|
* @whatsapp 975887 >= 2.2222.8
|
|
20
|
+
* @whatsapp 623631 >= 2.2228.4
|
|
20
21
|
*/
|
|
21
22
|
export declare function addAndSendMsgToChat(chat: ChatModel, message: ModelPropertiesContructor<MsgModel>): Promise<[Promise<MsgModel>, Promise<SendMsgResult>]>;
|
|
@@ -16,9 +16,11 @@
|
|
|
16
16
|
import { ContactModel } from '../models';
|
|
17
17
|
/** @whatsapp 80140
|
|
18
18
|
* @whatsapp 780140 >= 2.2222.8
|
|
19
|
+
* @whatsapp 48826 >= 2.2228.4
|
|
19
20
|
*/
|
|
20
21
|
export declare function blockContact(contact: ContactModel): Promise<void>;
|
|
21
22
|
/** @whatsapp 80140
|
|
22
23
|
* @whatsapp 780140 >= 2.2222.8
|
|
24
|
+
* @whatsapp 48826 >= 2.2228.4
|
|
23
25
|
*/
|
|
24
26
|
export declare function unblockContact(contact: ContactModel): Promise<void>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2021 WPPConnect Team
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* @whatsapp 760210
|
|
18
|
+
*/
|
|
19
|
+
export declare function encodeMaybeMediaType(type: string): string | undefined;
|
|
@@ -16,17 +16,21 @@
|
|
|
16
16
|
import { ChatModel, ParticipantModel } from '..';
|
|
17
17
|
/** @whatsapp 89389
|
|
18
18
|
* @whatsapp 389389 >= 2.2222.8
|
|
19
|
+
* @whatsapp 815562 >= 2.2228.4
|
|
19
20
|
*/
|
|
20
21
|
export declare function addParticipants(group: ChatModel, participants: ParticipantModel[]): Promise<void>;
|
|
21
22
|
/** @whatsapp 89389
|
|
22
23
|
* @whatsapp 389389 >= 2.2222.8
|
|
24
|
+
* @whatsapp 815562 >= 2.2228.4
|
|
23
25
|
*/
|
|
24
26
|
export declare function removeParticipants(group: ChatModel, participants: ParticipantModel[]): Promise<void>;
|
|
25
27
|
/** @whatsapp 89389
|
|
26
28
|
* @whatsapp 389389 >= 2.2222.8
|
|
29
|
+
* @whatsapp 815562 >= 2.2228.4
|
|
27
30
|
*/
|
|
28
31
|
export declare function promoteParticipants(group: ChatModel, participants: ParticipantModel[]): Promise<void>;
|
|
29
32
|
/** @whatsapp 89389
|
|
30
33
|
* @whatsapp 389389 >= 2.2222.8
|
|
34
|
+
* @whatsapp 815562 >= 2.2228.4
|
|
31
35
|
*/
|
|
32
36
|
export declare function demoteParticipants(group: ChatModel, participants: ParticipantModel[]): Promise<void>;
|
|
@@ -31,29 +31,35 @@ export interface SimpleAckData {
|
|
|
31
31
|
* @whatsapp 90756
|
|
32
32
|
* @deprecated
|
|
33
33
|
* @whatsapp 590756 >= 2.2222.8
|
|
34
|
+
* @whatsapp 585294 >= 2.2230.8
|
|
34
35
|
*/
|
|
35
36
|
export declare function handleStatusSimpleAck(ackData: SimpleAckData): Promise<any>;
|
|
36
37
|
/**
|
|
37
38
|
* @whatsapp 48309
|
|
38
39
|
* @deprecated
|
|
39
40
|
* @whatsapp 648309 >= 2.2222.8
|
|
41
|
+
* @whatsapp 471873 >= 2.2230.8
|
|
40
42
|
*/
|
|
41
43
|
export declare function handleChatSimpleAck(ackData: SimpleAckData): Promise<any>;
|
|
42
44
|
/**
|
|
43
45
|
* @whatsapp 84947
|
|
44
46
|
* @deprecated
|
|
45
47
|
* @whatsapp 284947 >= 2.2222.8
|
|
48
|
+
* @whatsapp 359554 >= 2.2230.8
|
|
46
49
|
*/
|
|
47
50
|
export declare function handleGroupSimpleAck(ackData: SimpleAckData): Promise<any>;
|
|
48
51
|
/** @whatsapp 90756
|
|
49
52
|
* @whatsapp 590756 >= 2.2222.8
|
|
53
|
+
* @whatsapp 585294 >= 2.2230.8
|
|
50
54
|
*/
|
|
51
55
|
export declare function handleStatusSimpleReceipt(ackData: SimpleAckData): Promise<any>;
|
|
52
56
|
/** @whatsapp 48309
|
|
53
57
|
* @whatsapp 648309 >= 2.2222.8
|
|
58
|
+
* @whatsapp 471873 >= 2.2230.8
|
|
54
59
|
*/
|
|
55
60
|
export declare function handleChatSimpleReceipt(ackData: SimpleAckData): Promise<any>;
|
|
56
61
|
/** @whatsapp 84947
|
|
57
62
|
* @whatsapp 284947 >= 2.2222.8
|
|
63
|
+
* @whatsapp 359554 >= 2.2230.8
|
|
58
64
|
*/
|
|
59
65
|
export declare function handleGroupSimpleReceipt(ackData: SimpleAckData): Promise<any>;
|
|
@@ -17,6 +17,7 @@ export * from './addAndSendMsgToChat';
|
|
|
17
17
|
export * from './blockContact';
|
|
18
18
|
export * from './createMsgProtobuf';
|
|
19
19
|
export * from './createOrUpdateReactions';
|
|
20
|
+
export * from './encodeMaybeMediaType';
|
|
20
21
|
export * from './encryptAndSendGroupMsg';
|
|
21
22
|
export * from './encryptAndSendMsg';
|
|
22
23
|
export * from './fetchLinkPreview';
|
|
@@ -36,6 +37,7 @@ export * from './mediaTypeFromProtobuf';
|
|
|
36
37
|
export * from './msgFindQuery';
|
|
37
38
|
export * from './products';
|
|
38
39
|
export * from './profilePic';
|
|
40
|
+
export * from './randomHex';
|
|
39
41
|
export * from './randomId';
|
|
40
42
|
export * from './sendCallSignalingMsg';
|
|
41
43
|
export * from './sendClear';
|
|
@@ -54,6 +56,7 @@ export * from './setGroup';
|
|
|
54
56
|
export * from './setPin';
|
|
55
57
|
export * from './status';
|
|
56
58
|
export * from './typeAttributeFromProtobuf';
|
|
59
|
+
export * from './updateDBForGroupAction';
|
|
57
60
|
export * from './updateParticipants';
|
|
58
61
|
export * from './uploadProductImage';
|
|
59
62
|
export * from './uploadThumbnail';
|
|
@@ -14,12 +14,17 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { ChatModel, MsgModel } from '../models';
|
|
17
|
-
/** @whatsapp 9609
|
|
17
|
+
/** @whatsapp 9609
|
|
18
|
+
* @whatsapp 561498 >= 2.2228.4
|
|
19
|
+
*/
|
|
18
20
|
export declare function markUnread(chat: ChatModel, whenAvailable: boolean): Promise<ChatModel>;
|
|
19
|
-
/** @whatsapp 9609
|
|
21
|
+
/** @whatsapp 9609
|
|
22
|
+
* @whatsapp 561498 >= 2.2228.4
|
|
23
|
+
*/
|
|
20
24
|
export declare function sendSeen(chat: ChatModel, whenAvailable: boolean): Promise<ChatModel>;
|
|
21
25
|
/** @whatsapp 30734
|
|
22
26
|
* @whatsapp 730734 >= 2.2222.8
|
|
27
|
+
* @whatsapp 242050 >= 2.2228.4
|
|
23
28
|
*/
|
|
24
29
|
export declare function markPlayed(msg: MsgModel): Promise<void>;
|
|
25
30
|
/**
|
|
@@ -18,17 +18,21 @@ import { ProductModel } from '..';
|
|
|
18
18
|
export declare function createBusinessCatalog(): Promise<any>;
|
|
19
19
|
/** @whatsapp 96519
|
|
20
20
|
* @whatsapp 196519 >= 2.2222.8
|
|
21
|
+
* @whatsapp 895697 >= 2.2228.4
|
|
21
22
|
*/
|
|
22
23
|
export declare function addProduct(product: ProductModel, imageWidth?: number, imageHeight?: number): Promise<any>;
|
|
23
24
|
/** @whatsapp 96519
|
|
24
25
|
* @whatsapp 196519 >= 2.2222.8
|
|
26
|
+
* @whatsapp 895697 >= 2.2228.4
|
|
25
27
|
*/
|
|
26
28
|
export declare function editProduct(product: ProductModel, imageWidth?: number, imageHeight?: number): Promise<any>;
|
|
27
29
|
/** @whatsapp 96519
|
|
28
30
|
* @whatsapp 196519 >= 2.2222.8
|
|
31
|
+
* @whatsapp 895697 >= 2.2228.4
|
|
29
32
|
*/
|
|
30
33
|
export declare function deleteProducts(productIds: string[]): Promise<any>;
|
|
31
34
|
/** @whatsapp 96519
|
|
32
35
|
* @whatsapp 196519 >= 2.2222.8
|
|
36
|
+
* @whatsapp 895697 >= 2.2228.4
|
|
33
37
|
*/
|
|
34
38
|
export declare function sendProductToChat(...args: any[]): Promise<any>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2021 WPPConnect Team
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* @whatsapp 832678
|
|
18
|
+
* @whatsapp 787614 >= 2.2228.4
|
|
19
|
+
*/
|
|
20
|
+
export declare function randomHex(size: number): string;
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/** @whatsapp 56981
|
|
16
|
+
/** @whatsapp 56981
|
|
17
|
+
* @whatsapp 383674 >= 2.2228.4
|
|
18
|
+
*/
|
|
17
19
|
export declare function sendCallSignalingMsg(data: {
|
|
18
20
|
common: {
|
|
19
21
|
type?: string;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2021 WPPConnect Team
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Wid } from '../misc';
|
|
17
|
+
export interface GroupActionChange {
|
|
18
|
+
action: string;
|
|
19
|
+
actionType: string;
|
|
20
|
+
isInvite?: boolean;
|
|
21
|
+
isLinkedGroupJoin?: boolean;
|
|
22
|
+
participants: Wid[];
|
|
23
|
+
prevVersion: number;
|
|
24
|
+
version: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @whatsapp 970041
|
|
28
|
+
*/
|
|
29
|
+
export declare function updateDBForGroupAction(meta: {
|
|
30
|
+
actions: GroupActionChange[];
|
|
31
|
+
author: Wid;
|
|
32
|
+
chatId: Wid;
|
|
33
|
+
externalId: string;
|
|
34
|
+
offline: null;
|
|
35
|
+
pushname: string;
|
|
36
|
+
ts: number;
|
|
37
|
+
}, action: GroupActionChange): any;
|
package/dist/whatsapp/index.d.ts
CHANGED