@getlatedev/node 0.2.1808 → 0.2.1809
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +36 -2
- package/dist/index.d.ts +36 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +36 -2
package/dist/index.d.mts
CHANGED
|
@@ -23730,6 +23730,7 @@ type SocialAccount = {
|
|
|
23730
23730
|
* - **Instagram Login accounts:** the app-scoped user id (the professional account id is in `metadata.instagramScopedId`).
|
|
23731
23731
|
* - **Instagram via Facebook Login:** the professional account id (`17841...`).
|
|
23732
23732
|
* - **TikTok:** the open_id of Zernio's TikTok app, which differs from the open_id any other app sees for the same user.
|
|
23733
|
+
* - **Google Business Profile:** `<googleUserId>:location:<locationId>`, the Google user that connected it and the selected location. The location part is empty until a location is selected.
|
|
23733
23734
|
*
|
|
23734
23735
|
* Either value can be passed back as `expectedPlatformUserId` on GET /v1/connect/{platform}.
|
|
23735
23736
|
*
|
|
@@ -56258,10 +56259,19 @@ type ListInboxReviewsData = {
|
|
|
56258
56259
|
*/
|
|
56259
56260
|
hasReply?: boolean;
|
|
56260
56261
|
limit?: number;
|
|
56262
|
+
/**
|
|
56263
|
+
* Reviews without a star rating (Facebook recommendations) never match.
|
|
56264
|
+
*/
|
|
56261
56265
|
maxRating?: number;
|
|
56266
|
+
/**
|
|
56267
|
+
* Reviews without a star rating (Facebook recommendations) never match.
|
|
56268
|
+
*/
|
|
56262
56269
|
minRating?: number;
|
|
56263
56270
|
platform?: 'facebook' | 'googlebusiness';
|
|
56264
56271
|
profileId?: string;
|
|
56272
|
+
/**
|
|
56273
|
+
* rating puts reviews without a star rating last in both orders.
|
|
56274
|
+
*/
|
|
56265
56275
|
sortBy?: 'date' | 'rating';
|
|
56266
56276
|
sortOrder?: 'asc' | 'desc';
|
|
56267
56277
|
};
|
|
@@ -56289,7 +56299,10 @@ type ListInboxReviewsResponse = ({
|
|
|
56289
56299
|
name?: string;
|
|
56290
56300
|
profileImage?: (string) | null;
|
|
56291
56301
|
};
|
|
56292
|
-
|
|
56302
|
+
/**
|
|
56303
|
+
* Star rating the reviewer gave, 1 to 5. Null for a Facebook recommendation without stars (see recommendationType).
|
|
56304
|
+
*/
|
|
56305
|
+
rating?: (number) | null;
|
|
56293
56306
|
/**
|
|
56294
56307
|
* Facebook recommendation: positive means recommends, negative means does not recommend. Null or absent when unavailable; absent for other platforms. Independent of the numeric rating.
|
|
56295
56308
|
*/
|
|
@@ -56311,11 +56324,23 @@ type ListInboxReviewsResponse = ({
|
|
|
56311
56324
|
photos?: Array<{
|
|
56312
56325
|
url?: string;
|
|
56313
56326
|
}>;
|
|
56327
|
+
/**
|
|
56328
|
+
* The reply from the Page or business. Absent when hasReply is false.
|
|
56329
|
+
*/
|
|
56314
56330
|
reply?: {
|
|
56331
|
+
/**
|
|
56332
|
+
* Reply id. On Google Business Profile it is the review id.
|
|
56333
|
+
*/
|
|
56315
56334
|
id?: string;
|
|
56335
|
+
/**
|
|
56336
|
+
* Reply text.
|
|
56337
|
+
*/
|
|
56316
56338
|
text?: string;
|
|
56339
|
+
/**
|
|
56340
|
+
* When the reply was written (on Google Business Profile, last updated).
|
|
56341
|
+
*/
|
|
56317
56342
|
created?: string;
|
|
56318
|
-
}
|
|
56343
|
+
};
|
|
56319
56344
|
reviewUrl?: (string) | null;
|
|
56320
56345
|
}>;
|
|
56321
56346
|
pagination?: {
|
|
@@ -56355,8 +56380,17 @@ type ListInboxReviewsResponse = ({
|
|
|
56355
56380
|
platform?: string;
|
|
56356
56381
|
}>;
|
|
56357
56382
|
};
|
|
56383
|
+
/**
|
|
56384
|
+
* Computed over every review matching the filters, before pagination. A Facebook Page contributes the Page-wide count and average Facebook reports, which ignore the filters. Google Business Profile locations are computed over the reviews read, partial for accounts in meta.truncatedAccounts.
|
|
56385
|
+
*/
|
|
56358
56386
|
summary?: {
|
|
56387
|
+
/**
|
|
56388
|
+
* Includes reviews without a star rating.
|
|
56389
|
+
*/
|
|
56359
56390
|
totalReviews?: number;
|
|
56391
|
+
/**
|
|
56392
|
+
* Mean star rating rounded to one decimal, leaving out reviews without a star rating. Null when none has one.
|
|
56393
|
+
*/
|
|
56360
56394
|
averageRating?: (number) | null;
|
|
56361
56395
|
};
|
|
56362
56396
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -23730,6 +23730,7 @@ type SocialAccount = {
|
|
|
23730
23730
|
* - **Instagram Login accounts:** the app-scoped user id (the professional account id is in `metadata.instagramScopedId`).
|
|
23731
23731
|
* - **Instagram via Facebook Login:** the professional account id (`17841...`).
|
|
23732
23732
|
* - **TikTok:** the open_id of Zernio's TikTok app, which differs from the open_id any other app sees for the same user.
|
|
23733
|
+
* - **Google Business Profile:** `<googleUserId>:location:<locationId>`, the Google user that connected it and the selected location. The location part is empty until a location is selected.
|
|
23733
23734
|
*
|
|
23734
23735
|
* Either value can be passed back as `expectedPlatformUserId` on GET /v1/connect/{platform}.
|
|
23735
23736
|
*
|
|
@@ -56258,10 +56259,19 @@ type ListInboxReviewsData = {
|
|
|
56258
56259
|
*/
|
|
56259
56260
|
hasReply?: boolean;
|
|
56260
56261
|
limit?: number;
|
|
56262
|
+
/**
|
|
56263
|
+
* Reviews without a star rating (Facebook recommendations) never match.
|
|
56264
|
+
*/
|
|
56261
56265
|
maxRating?: number;
|
|
56266
|
+
/**
|
|
56267
|
+
* Reviews without a star rating (Facebook recommendations) never match.
|
|
56268
|
+
*/
|
|
56262
56269
|
minRating?: number;
|
|
56263
56270
|
platform?: 'facebook' | 'googlebusiness';
|
|
56264
56271
|
profileId?: string;
|
|
56272
|
+
/**
|
|
56273
|
+
* rating puts reviews without a star rating last in both orders.
|
|
56274
|
+
*/
|
|
56265
56275
|
sortBy?: 'date' | 'rating';
|
|
56266
56276
|
sortOrder?: 'asc' | 'desc';
|
|
56267
56277
|
};
|
|
@@ -56289,7 +56299,10 @@ type ListInboxReviewsResponse = ({
|
|
|
56289
56299
|
name?: string;
|
|
56290
56300
|
profileImage?: (string) | null;
|
|
56291
56301
|
};
|
|
56292
|
-
|
|
56302
|
+
/**
|
|
56303
|
+
* Star rating the reviewer gave, 1 to 5. Null for a Facebook recommendation without stars (see recommendationType).
|
|
56304
|
+
*/
|
|
56305
|
+
rating?: (number) | null;
|
|
56293
56306
|
/**
|
|
56294
56307
|
* Facebook recommendation: positive means recommends, negative means does not recommend. Null or absent when unavailable; absent for other platforms. Independent of the numeric rating.
|
|
56295
56308
|
*/
|
|
@@ -56311,11 +56324,23 @@ type ListInboxReviewsResponse = ({
|
|
|
56311
56324
|
photos?: Array<{
|
|
56312
56325
|
url?: string;
|
|
56313
56326
|
}>;
|
|
56327
|
+
/**
|
|
56328
|
+
* The reply from the Page or business. Absent when hasReply is false.
|
|
56329
|
+
*/
|
|
56314
56330
|
reply?: {
|
|
56331
|
+
/**
|
|
56332
|
+
* Reply id. On Google Business Profile it is the review id.
|
|
56333
|
+
*/
|
|
56315
56334
|
id?: string;
|
|
56335
|
+
/**
|
|
56336
|
+
* Reply text.
|
|
56337
|
+
*/
|
|
56316
56338
|
text?: string;
|
|
56339
|
+
/**
|
|
56340
|
+
* When the reply was written (on Google Business Profile, last updated).
|
|
56341
|
+
*/
|
|
56317
56342
|
created?: string;
|
|
56318
|
-
}
|
|
56343
|
+
};
|
|
56319
56344
|
reviewUrl?: (string) | null;
|
|
56320
56345
|
}>;
|
|
56321
56346
|
pagination?: {
|
|
@@ -56355,8 +56380,17 @@ type ListInboxReviewsResponse = ({
|
|
|
56355
56380
|
platform?: string;
|
|
56356
56381
|
}>;
|
|
56357
56382
|
};
|
|
56383
|
+
/**
|
|
56384
|
+
* Computed over every review matching the filters, before pagination. A Facebook Page contributes the Page-wide count and average Facebook reports, which ignore the filters. Google Business Profile locations are computed over the reviews read, partial for accounts in meta.truncatedAccounts.
|
|
56385
|
+
*/
|
|
56358
56386
|
summary?: {
|
|
56387
|
+
/**
|
|
56388
|
+
* Includes reviews without a star rating.
|
|
56389
|
+
*/
|
|
56359
56390
|
totalReviews?: number;
|
|
56391
|
+
/**
|
|
56392
|
+
* Mean star rating rounded to one decimal, leaving out reviews without a star rating. Null when none has one.
|
|
56393
|
+
*/
|
|
56360
56394
|
averageRating?: (number) | null;
|
|
56361
56395
|
};
|
|
56362
56396
|
});
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1809",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1809",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
|
@@ -22054,6 +22054,7 @@ export type SocialAccount = {
|
|
|
22054
22054
|
* - **Instagram Login accounts:** the app-scoped user id (the professional account id is in `metadata.instagramScopedId`).
|
|
22055
22055
|
* - **Instagram via Facebook Login:** the professional account id (`17841...`).
|
|
22056
22056
|
* - **TikTok:** the open_id of Zernio's TikTok app, which differs from the open_id any other app sees for the same user.
|
|
22057
|
+
* - **Google Business Profile:** `<googleUserId>:location:<locationId>`, the Google user that connected it and the selected location. The location part is empty until a location is selected.
|
|
22057
22058
|
*
|
|
22058
22059
|
* Either value can be passed back as `expectedPlatformUserId` on GET /v1/connect/{platform}.
|
|
22059
22060
|
*
|
|
@@ -56552,10 +56553,19 @@ export type ListInboxReviewsData = {
|
|
|
56552
56553
|
*/
|
|
56553
56554
|
hasReply?: boolean;
|
|
56554
56555
|
limit?: number;
|
|
56556
|
+
/**
|
|
56557
|
+
* Reviews without a star rating (Facebook recommendations) never match.
|
|
56558
|
+
*/
|
|
56555
56559
|
maxRating?: number;
|
|
56560
|
+
/**
|
|
56561
|
+
* Reviews without a star rating (Facebook recommendations) never match.
|
|
56562
|
+
*/
|
|
56556
56563
|
minRating?: number;
|
|
56557
56564
|
platform?: 'facebook' | 'googlebusiness';
|
|
56558
56565
|
profileId?: string;
|
|
56566
|
+
/**
|
|
56567
|
+
* rating puts reviews without a star rating last in both orders.
|
|
56568
|
+
*/
|
|
56559
56569
|
sortBy?: 'date' | 'rating';
|
|
56560
56570
|
sortOrder?: 'asc' | 'desc';
|
|
56561
56571
|
};
|
|
@@ -56584,7 +56594,10 @@ export type ListInboxReviewsResponse = ({
|
|
|
56584
56594
|
name?: string;
|
|
56585
56595
|
profileImage?: (string) | null;
|
|
56586
56596
|
};
|
|
56587
|
-
|
|
56597
|
+
/**
|
|
56598
|
+
* Star rating the reviewer gave, 1 to 5. Null for a Facebook recommendation without stars (see recommendationType).
|
|
56599
|
+
*/
|
|
56600
|
+
rating?: (number) | null;
|
|
56588
56601
|
/**
|
|
56589
56602
|
* Facebook recommendation: positive means recommends, negative means does not recommend. Null or absent when unavailable; absent for other platforms. Independent of the numeric rating.
|
|
56590
56603
|
*/
|
|
@@ -56606,11 +56619,23 @@ export type ListInboxReviewsResponse = ({
|
|
|
56606
56619
|
photos?: Array<{
|
|
56607
56620
|
url?: string;
|
|
56608
56621
|
}>;
|
|
56622
|
+
/**
|
|
56623
|
+
* The reply from the Page or business. Absent when hasReply is false.
|
|
56624
|
+
*/
|
|
56609
56625
|
reply?: {
|
|
56626
|
+
/**
|
|
56627
|
+
* Reply id. On Google Business Profile it is the review id.
|
|
56628
|
+
*/
|
|
56610
56629
|
id?: string;
|
|
56630
|
+
/**
|
|
56631
|
+
* Reply text.
|
|
56632
|
+
*/
|
|
56611
56633
|
text?: string;
|
|
56634
|
+
/**
|
|
56635
|
+
* When the reply was written (on Google Business Profile, last updated).
|
|
56636
|
+
*/
|
|
56612
56637
|
created?: string;
|
|
56613
|
-
}
|
|
56638
|
+
};
|
|
56614
56639
|
reviewUrl?: (string) | null;
|
|
56615
56640
|
}>;
|
|
56616
56641
|
pagination?: {
|
|
@@ -56650,8 +56675,17 @@ export type ListInboxReviewsResponse = ({
|
|
|
56650
56675
|
platform?: string;
|
|
56651
56676
|
}>;
|
|
56652
56677
|
};
|
|
56678
|
+
/**
|
|
56679
|
+
* Computed over every review matching the filters, before pagination. A Facebook Page contributes the Page-wide count and average Facebook reports, which ignore the filters. Google Business Profile locations are computed over the reviews read, partial for accounts in meta.truncatedAccounts.
|
|
56680
|
+
*/
|
|
56653
56681
|
summary?: {
|
|
56682
|
+
/**
|
|
56683
|
+
* Includes reviews without a star rating.
|
|
56684
|
+
*/
|
|
56654
56685
|
totalReviews?: number;
|
|
56686
|
+
/**
|
|
56687
|
+
* Mean star rating rounded to one decimal, leaving out reviews without a star rating. Null when none has one.
|
|
56688
|
+
*/
|
|
56655
56689
|
averageRating?: (number) | null;
|
|
56656
56690
|
};
|
|
56657
56691
|
});
|