@spyglasshq/sdk 0.1.10 → 0.1.11
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/README.md +30 -14
- package/dist/cjs/BaseClient.d.ts +4 -4
- package/dist/cjs/BaseClient.js +7 -7
- package/dist/cjs/Client.d.ts +5 -5
- package/dist/cjs/Client.js +38 -56
- package/dist/cjs/api/client/index.d.ts +1 -1
- package/dist/cjs/api/client/requests/SearchBrandsRequest.js +6 -6
- package/dist/cjs/api/client/requests/SearchCreatorsRequest.js +174 -174
- package/dist/cjs/api/client/requests/SearchMediaRequest.d.ts +4 -0
- package/dist/cjs/api/client/requests/SearchMediaRequest.js +227 -223
- package/dist/cjs/api/client/requests/index.d.ts +5 -5
- package/dist/cjs/api/errors/BadRequestError.d.ts +3 -3
- package/dist/cjs/api/errors/BadRequestError.js +2 -2
- package/dist/cjs/api/errors/ContentTooLargeError.d.ts +3 -3
- package/dist/cjs/api/errors/ContentTooLargeError.js +2 -2
- package/dist/cjs/api/errors/ForbiddenError.d.ts +3 -3
- package/dist/cjs/api/errors/ForbiddenError.js +2 -2
- package/dist/cjs/api/errors/InternalServerError.d.ts +3 -3
- package/dist/cjs/api/errors/InternalServerError.js +2 -2
- package/dist/cjs/api/errors/MethodNotAllowedError.d.ts +3 -3
- package/dist/cjs/api/errors/MethodNotAllowedError.js +2 -2
- package/dist/cjs/api/errors/NotFoundError.d.ts +3 -3
- package/dist/cjs/api/errors/NotFoundError.js +2 -2
- package/dist/cjs/api/errors/PaymentRequiredError.d.ts +3 -3
- package/dist/cjs/api/errors/PaymentRequiredError.js +2 -2
- package/dist/cjs/api/errors/TooManyRequestsError.d.ts +3 -3
- package/dist/cjs/api/errors/TooManyRequestsError.js +2 -2
- package/dist/cjs/api/errors/UnauthorizedError.d.ts +3 -3
- package/dist/cjs/api/errors/UnauthorizedError.js +2 -2
- package/dist/cjs/api/errors/index.d.ts +9 -9
- package/dist/cjs/api/index.d.ts +4 -4
- package/dist/cjs/api/resources/account/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/account/client/Client.js +31 -52
- package/dist/cjs/api/resources/account/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/account/client/requests/CampaignsAccountRequest.d.ts +1 -1
- package/dist/cjs/api/resources/account/client/requests/InsightsAccountRequest.d.ts +1 -1
- package/dist/cjs/api/resources/account/client/requests/LandingPagesAccountRequest.d.ts +1 -1
- package/dist/cjs/api/resources/account/client/requests/index.d.ts +7 -7
- package/dist/cjs/api/resources/account/exports.d.ts +2 -2
- package/dist/cjs/api/resources/account/index.d.ts +2 -2
- package/dist/cjs/api/resources/account/types/CampaignsAccountRequestDatePreset.js +14 -14
- package/dist/cjs/api/resources/account/types/CampaignsAccountRequestSortBy.js +2 -2
- package/dist/cjs/api/resources/account/types/CampaignsAccountRequestType.js +2 -2
- package/dist/cjs/api/resources/account/types/GetAccountResponse.d.ts +3 -3
- package/dist/cjs/api/resources/account/types/IndexAccountResponse.js +2 -2
- package/dist/cjs/api/resources/account/types/IndexStatusAccountResponse.js +2 -2
- package/dist/cjs/api/resources/account/types/InsightsAccountRequestType.js +4 -4
- package/dist/cjs/api/resources/account/types/InsightsAccountResponse.d.ts +2 -2
- package/dist/cjs/api/resources/account/types/LandingPagesAccountRequestShowInactive.js +2 -2
- package/dist/cjs/api/resources/account/types/index.d.ts +12 -12
- package/dist/cjs/api/resources/index.d.ts +3 -3
- package/dist/cjs/api/types/Error_.js +11 -11
- package/dist/cjs/api/types/SearchBrandsResponse.js +1 -1
- package/dist/cjs/api/types/SearchCreatorsResponse.js +1 -1
- package/dist/cjs/api/types/SearchMediaResponse.js +26 -26
- package/dist/cjs/api/types/index.d.ts +7 -7
- package/dist/cjs/auth/BearerAuthProvider.d.ts +1 -1
- package/dist/cjs/auth/BearerAuthProvider.js +2 -2
- package/dist/cjs/auth/index.d.ts +1 -1
- package/dist/cjs/core/auth/AuthProvider.d.ts +2 -2
- package/dist/cjs/core/auth/AuthProvider.js +3 -3
- package/dist/cjs/core/auth/BasicAuth.js +7 -7
- package/dist/cjs/core/auth/BearerToken.js +1 -1
- package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +2 -2
- package/dist/cjs/core/auth/index.d.ts +5 -5
- package/dist/cjs/core/base64.js +4 -4
- package/dist/cjs/core/exports.d.ts +1 -1
- package/dist/cjs/core/fetcher/APIResponse.d.ts +1 -1
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +4 -4
- package/dist/cjs/core/fetcher/BinaryResponse.js +1 -1
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +2 -2
- package/dist/cjs/core/fetcher/EndpointSupplier.js +1 -1
- package/dist/cjs/core/fetcher/Fetcher.d.ts +11 -11
- package/dist/cjs/core/fetcher/Fetcher.js +50 -56
- package/dist/cjs/core/fetcher/Headers.js +10 -10
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +2 -2
- package/dist/cjs/core/fetcher/RawResponse.d.ts +1 -1
- package/dist/cjs/core/fetcher/RawResponse.js +6 -6
- package/dist/cjs/core/fetcher/Supplier.js +1 -1
- package/dist/cjs/core/fetcher/createRequestUrl.js +1 -1
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +11 -11
- package/dist/cjs/core/fetcher/getRequestBody.d.ts +2 -2
- package/dist/cjs/core/fetcher/getRequestBody.js +4 -4
- package/dist/cjs/core/fetcher/getResponseBody.d.ts +2 -2
- package/dist/cjs/core/fetcher/getResponseBody.js +11 -11
- package/dist/cjs/core/fetcher/index.d.ts +13 -13
- package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +2 -2
- package/dist/cjs/core/fetcher/makePassthroughRequest.js +7 -7
- package/dist/cjs/core/fetcher/makeRequest.js +3 -3
- package/dist/cjs/core/fetcher/redactUrl.js +36 -36
- package/dist/cjs/core/fetcher/requestWithRetries.js +4 -4
- package/dist/cjs/core/fetcher/signals.js +2 -2
- package/dist/cjs/core/index.d.ts +6 -6
- package/dist/cjs/core/logging/exports.d.ts +1 -1
- package/dist/cjs/core/logging/index.d.ts +1 -1
- package/dist/cjs/core/logging/logger.js +4 -4
- package/dist/cjs/core/requestBody.js +1 -1
- package/dist/cjs/core/runtime/index.d.ts +1 -1
- package/dist/cjs/core/runtime/runtime.d.ts +1 -1
- package/dist/cjs/core/runtime/runtime.js +35 -37
- package/dist/cjs/core/url/QueryStringBuilder.d.ts +1 -1
- package/dist/cjs/core/url/QueryStringBuilder.js +3 -3
- package/dist/cjs/core/url/encodePathParam.js +8 -10
- package/dist/cjs/core/url/index.d.ts +4 -4
- package/dist/cjs/core/url/join.js +11 -11
- package/dist/cjs/core/url/qs.d.ts +1 -1
- package/dist/cjs/core/url/qs.js +14 -14
- package/dist/cjs/environments.js +1 -1
- package/dist/cjs/errors/SpyglassError.d.ts +1 -1
- package/dist/cjs/errors/SpyglassError.js +3 -3
- package/dist/cjs/errors/SpyglassTimeoutError.d.ts +1 -1
- package/dist/cjs/errors/SpyglassTimeoutError.js +1 -1
- package/dist/cjs/errors/handleNonStatusCodeError.d.ts +1 -1
- package/dist/cjs/errors/handleNonStatusCodeError.js +5 -5
- package/dist/cjs/errors/index.d.ts +2 -2
- package/dist/cjs/exports.d.ts +1 -1
- package/dist/cjs/index.d.ts +6 -6
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +4 -4
- package/dist/esm/BaseClient.mjs +10 -10
- package/dist/esm/Client.d.mts +5 -5
- package/dist/esm/Client.mjs +47 -65
- package/dist/esm/api/client/index.d.mts +1 -1
- package/dist/esm/api/client/index.mjs +1 -1
- package/dist/esm/api/client/requests/SearchBrandsRequest.mjs +6 -6
- package/dist/esm/api/client/requests/SearchCreatorsRequest.mjs +174 -174
- package/dist/esm/api/client/requests/SearchMediaRequest.d.mts +4 -0
- package/dist/esm/api/client/requests/SearchMediaRequest.mjs +227 -223
- package/dist/esm/api/client/requests/index.d.mts +5 -5
- package/dist/esm/api/client/requests/index.mjs +3 -3
- package/dist/esm/api/errors/BadRequestError.d.mts +3 -3
- package/dist/esm/api/errors/BadRequestError.mjs +3 -3
- package/dist/esm/api/errors/ContentTooLargeError.d.mts +3 -3
- package/dist/esm/api/errors/ContentTooLargeError.mjs +3 -3
- package/dist/esm/api/errors/ForbiddenError.d.mts +3 -3
- package/dist/esm/api/errors/ForbiddenError.mjs +3 -3
- package/dist/esm/api/errors/InternalServerError.d.mts +3 -3
- package/dist/esm/api/errors/InternalServerError.mjs +3 -3
- package/dist/esm/api/errors/MethodNotAllowedError.d.mts +3 -3
- package/dist/esm/api/errors/MethodNotAllowedError.mjs +3 -3
- package/dist/esm/api/errors/NotFoundError.d.mts +3 -3
- package/dist/esm/api/errors/NotFoundError.mjs +3 -3
- package/dist/esm/api/errors/PaymentRequiredError.d.mts +3 -3
- package/dist/esm/api/errors/PaymentRequiredError.mjs +3 -3
- package/dist/esm/api/errors/TooManyRequestsError.d.mts +3 -3
- package/dist/esm/api/errors/TooManyRequestsError.mjs +3 -3
- package/dist/esm/api/errors/UnauthorizedError.d.mts +3 -3
- package/dist/esm/api/errors/UnauthorizedError.mjs +3 -3
- package/dist/esm/api/errors/index.d.mts +9 -9
- package/dist/esm/api/errors/index.mjs +9 -9
- package/dist/esm/api/index.d.mts +4 -4
- package/dist/esm/api/index.mjs +4 -4
- package/dist/esm/api/resources/account/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/account/client/Client.mjs +39 -60
- package/dist/esm/api/resources/account/client/index.d.mts +1 -1
- package/dist/esm/api/resources/account/client/index.mjs +1 -1
- package/dist/esm/api/resources/account/client/requests/CampaignsAccountRequest.d.mts +1 -1
- package/dist/esm/api/resources/account/client/requests/InsightsAccountRequest.d.mts +1 -1
- package/dist/esm/api/resources/account/client/requests/LandingPagesAccountRequest.d.mts +1 -1
- package/dist/esm/api/resources/account/client/requests/index.d.mts +7 -7
- package/dist/esm/api/resources/account/exports.d.mts +2 -2
- package/dist/esm/api/resources/account/exports.mjs +2 -2
- package/dist/esm/api/resources/account/index.d.mts +2 -2
- package/dist/esm/api/resources/account/index.mjs +2 -2
- package/dist/esm/api/resources/account/types/CampaignsAccountRequestDatePreset.mjs +14 -14
- package/dist/esm/api/resources/account/types/CampaignsAccountRequestSortBy.mjs +2 -2
- package/dist/esm/api/resources/account/types/CampaignsAccountRequestType.mjs +2 -2
- package/dist/esm/api/resources/account/types/GetAccountResponse.d.mts +3 -3
- package/dist/esm/api/resources/account/types/IndexAccountResponse.mjs +2 -2
- package/dist/esm/api/resources/account/types/IndexStatusAccountResponse.mjs +2 -2
- package/dist/esm/api/resources/account/types/InsightsAccountRequestType.mjs +4 -4
- package/dist/esm/api/resources/account/types/InsightsAccountResponse.d.mts +2 -2
- package/dist/esm/api/resources/account/types/LandingPagesAccountRequestShowInactive.mjs +2 -2
- package/dist/esm/api/resources/account/types/index.d.mts +12 -12
- package/dist/esm/api/resources/account/types/index.mjs +12 -12
- package/dist/esm/api/resources/index.d.mts +3 -3
- package/dist/esm/api/resources/index.mjs +3 -3
- package/dist/esm/api/types/Error_.mjs +11 -11
- package/dist/esm/api/types/SearchBrandsResponse.mjs +1 -1
- package/dist/esm/api/types/SearchCreatorsResponse.mjs +1 -1
- package/dist/esm/api/types/SearchMediaResponse.mjs +26 -26
- package/dist/esm/api/types/index.d.mts +7 -7
- package/dist/esm/api/types/index.mjs +7 -7
- package/dist/esm/auth/BearerAuthProvider.d.mts +1 -1
- package/dist/esm/auth/BearerAuthProvider.mjs +4 -4
- package/dist/esm/auth/index.d.mts +1 -1
- package/dist/esm/auth/index.mjs +1 -1
- package/dist/esm/core/auth/AuthProvider.d.mts +2 -2
- package/dist/esm/core/auth/AuthProvider.mjs +3 -3
- package/dist/esm/core/auth/BasicAuth.mjs +8 -8
- package/dist/esm/core/auth/BearerToken.mjs +1 -1
- package/dist/esm/core/auth/NoOpAuthProvider.d.mts +2 -2
- package/dist/esm/core/auth/index.d.mts +5 -5
- package/dist/esm/core/auth/index.mjs +4 -4
- package/dist/esm/core/base64.mjs +4 -4
- package/dist/esm/core/exports.d.mts +1 -1
- package/dist/esm/core/exports.mjs +1 -1
- package/dist/esm/core/fetcher/APIResponse.d.mts +1 -1
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +4 -4
- package/dist/esm/core/fetcher/BinaryResponse.mjs +1 -1
- package/dist/esm/core/fetcher/EndpointSupplier.d.mts +2 -2
- package/dist/esm/core/fetcher/EndpointSupplier.mjs +1 -1
- package/dist/esm/core/fetcher/Fetcher.d.mts +11 -11
- package/dist/esm/core/fetcher/Fetcher.mjs +64 -70
- package/dist/esm/core/fetcher/Headers.mjs +10 -10
- package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +2 -2
- package/dist/esm/core/fetcher/RawResponse.d.mts +1 -1
- package/dist/esm/core/fetcher/RawResponse.mjs +7 -7
- package/dist/esm/core/fetcher/Supplier.mjs +1 -1
- package/dist/esm/core/fetcher/createRequestUrl.mjs +2 -2
- package/dist/esm/core/fetcher/getErrorResponseBody.mjs +13 -13
- package/dist/esm/core/fetcher/getRequestBody.d.mts +2 -2
- package/dist/esm/core/fetcher/getRequestBody.mjs +6 -6
- package/dist/esm/core/fetcher/getResponseBody.d.mts +2 -2
- package/dist/esm/core/fetcher/getResponseBody.mjs +13 -13
- package/dist/esm/core/fetcher/index.d.mts +13 -13
- package/dist/esm/core/fetcher/index.mjs +7 -7
- package/dist/esm/core/fetcher/makePassthroughRequest.d.mts +2 -2
- package/dist/esm/core/fetcher/makePassthroughRequest.mjs +16 -16
- package/dist/esm/core/fetcher/makeRequest.mjs +4 -4
- package/dist/esm/core/fetcher/redactUrl.mjs +36 -36
- package/dist/esm/core/fetcher/requestWithRetries.mjs +4 -4
- package/dist/esm/core/fetcher/signals.mjs +2 -2
- package/dist/esm/core/index.d.mts +6 -6
- package/dist/esm/core/index.mjs +6 -6
- package/dist/esm/core/logging/exports.d.mts +1 -1
- package/dist/esm/core/logging/exports.mjs +1 -1
- package/dist/esm/core/logging/index.d.mts +1 -1
- package/dist/esm/core/logging/index.mjs +1 -1
- package/dist/esm/core/logging/logger.mjs +4 -4
- package/dist/esm/core/requestBody.mjs +1 -1
- package/dist/esm/core/runtime/index.d.mts +1 -1
- package/dist/esm/core/runtime/index.mjs +1 -1
- package/dist/esm/core/runtime/runtime.d.mts +1 -1
- package/dist/esm/core/runtime/runtime.mjs +35 -37
- package/dist/esm/core/url/QueryStringBuilder.d.mts +1 -1
- package/dist/esm/core/url/QueryStringBuilder.mjs +4 -4
- package/dist/esm/core/url/encodePathParam.mjs +8 -10
- package/dist/esm/core/url/index.d.mts +4 -4
- package/dist/esm/core/url/index.mjs +4 -4
- package/dist/esm/core/url/join.mjs +11 -11
- package/dist/esm/core/url/qs.d.mts +1 -1
- package/dist/esm/core/url/qs.mjs +14 -14
- package/dist/esm/environments.mjs +1 -1
- package/dist/esm/errors/SpyglassError.d.mts +1 -1
- package/dist/esm/errors/SpyglassError.mjs +4 -4
- package/dist/esm/errors/SpyglassTimeoutError.d.mts +1 -1
- package/dist/esm/errors/SpyglassTimeoutError.mjs +2 -2
- package/dist/esm/errors/handleNonStatusCodeError.d.mts +1 -1
- package/dist/esm/errors/handleNonStatusCodeError.mjs +6 -6
- package/dist/esm/errors/index.d.mts +2 -2
- package/dist/esm/errors/index.mjs +2 -2
- package/dist/esm/exports.d.mts +1 -1
- package/dist/esm/exports.mjs +1 -1
- package/dist/esm/index.d.mts +6 -6
- package/dist/esm/index.mjs +5 -5
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +91 -91
- package/reference.md +97 -98
|
@@ -7,262 +7,266 @@ var SearchMediaRequest;
|
|
|
7
7
|
let Channel;
|
|
8
8
|
(function (Channel) {
|
|
9
9
|
Channel.Item = {
|
|
10
|
-
MetaAd:
|
|
11
|
-
Instagram:
|
|
12
|
-
Tiktok:
|
|
10
|
+
MetaAd: "META_AD",
|
|
11
|
+
Instagram: "INSTAGRAM",
|
|
12
|
+
Tiktok: "TIKTOK",
|
|
13
13
|
};
|
|
14
14
|
})(Channel = SearchMediaRequest.Channel || (SearchMediaRequest.Channel = {}));
|
|
15
15
|
let Format;
|
|
16
16
|
(function (Format) {
|
|
17
17
|
Format.Item = {
|
|
18
|
-
Dpa:
|
|
19
|
-
Video:
|
|
20
|
-
Carousel:
|
|
21
|
-
Image:
|
|
22
|
-
Dco:
|
|
18
|
+
Dpa: "DPA",
|
|
19
|
+
Video: "VIDEO",
|
|
20
|
+
Carousel: "CAROUSEL",
|
|
21
|
+
Image: "IMAGE",
|
|
22
|
+
Dco: "DCO",
|
|
23
23
|
};
|
|
24
24
|
})(Format = SearchMediaRequest.Format || (SearchMediaRequest.Format = {}));
|
|
25
25
|
let Duration;
|
|
26
26
|
(function (Duration) {
|
|
27
27
|
Duration.Item = {
|
|
28
|
-
Zero10:
|
|
29
|
-
Ten30:
|
|
30
|
-
Thirty60:
|
|
31
|
-
Sixty:
|
|
28
|
+
Zero10: "0-10",
|
|
29
|
+
Ten30: "10-30",
|
|
30
|
+
Thirty60: "30-60",
|
|
31
|
+
Sixty: "60+",
|
|
32
32
|
};
|
|
33
33
|
})(Duration = SearchMediaRequest.Duration || (SearchMediaRequest.Duration = {}));
|
|
34
34
|
SearchMediaRequest.Status = {
|
|
35
|
-
Active:
|
|
36
|
-
Inactive:
|
|
37
|
-
All:
|
|
35
|
+
Active: "ACTIVE",
|
|
36
|
+
Inactive: "INACTIVE",
|
|
37
|
+
All: "ALL",
|
|
38
38
|
};
|
|
39
39
|
let Categories;
|
|
40
40
|
(function (Categories) {
|
|
41
41
|
Categories.Item = {
|
|
42
|
-
Announcement:
|
|
43
|
-
BeforeAndAfter:
|
|
44
|
-
BrandStory:
|
|
45
|
-
CaseStudy:
|
|
46
|
-
Comparison:
|
|
47
|
-
DiscountOrOffer:
|
|
48
|
-
Explainer:
|
|
49
|
-
FounderStory:
|
|
50
|
-
Interface:
|
|
51
|
-
Meme:
|
|
52
|
-
NegativeReview:
|
|
53
|
-
Press:
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
42
|
+
Announcement: "Announcement",
|
|
43
|
+
BeforeAndAfter: "Before and After",
|
|
44
|
+
BrandStory: "Brand Story",
|
|
45
|
+
CaseStudy: "Case Study",
|
|
46
|
+
Comparison: "Comparison",
|
|
47
|
+
DiscountOrOffer: "Discount or Offer",
|
|
48
|
+
Explainer: "Explainer",
|
|
49
|
+
FounderStory: "Founder Story",
|
|
50
|
+
Interface: "Interface",
|
|
51
|
+
Meme: "Meme",
|
|
52
|
+
NegativeReview: "Negative Review",
|
|
53
|
+
Press: "Press",
|
|
54
|
+
ProductShowcase: "Product Showcase",
|
|
55
|
+
Question: "Question",
|
|
56
|
+
Quiz: "Quiz",
|
|
57
|
+
Quote: "Quote",
|
|
58
|
+
SocialProof: "Social Proof",
|
|
59
|
+
Testimonial: "Testimonial",
|
|
60
|
+
FakeInterface: "Fake Interface",
|
|
61
|
+
Listicle: "Listicle",
|
|
62
|
+
StreetInterview: "Street Interview",
|
|
63
|
+
Unboxing: "Unboxing",
|
|
64
|
+
Grwm: "GRWM",
|
|
65
|
+
DayInTheLife: "Day in the life",
|
|
66
|
+
Storytime: "Storytime",
|
|
67
|
+
Skit: "Skit",
|
|
68
|
+
Reply: "Reply",
|
|
69
|
+
TextOverlay: "Text Overlay",
|
|
70
|
+
Greenscreen: "Greenscreen",
|
|
71
|
+
Pov: "POV",
|
|
72
|
+
TryOnHaul: "Try-on / Haul",
|
|
69
73
|
};
|
|
70
74
|
})(Categories = SearchMediaRequest.Categories || (SearchMediaRequest.Categories = {}));
|
|
71
75
|
let FunnelStage;
|
|
72
76
|
(function (FunnelStage) {
|
|
73
77
|
FunnelStage.Item = {
|
|
74
|
-
Unaware:
|
|
75
|
-
ProblemAware:
|
|
76
|
-
SolutionAware:
|
|
77
|
-
ProductAware:
|
|
78
|
-
MostAware:
|
|
78
|
+
Unaware: "UNAWARE",
|
|
79
|
+
ProblemAware: "PROBLEM_AWARE",
|
|
80
|
+
SolutionAware: "SOLUTION_AWARE",
|
|
81
|
+
ProductAware: "PRODUCT_AWARE",
|
|
82
|
+
MostAware: "MOST_AWARE",
|
|
79
83
|
};
|
|
80
84
|
})(FunnelStage = SearchMediaRequest.FunnelStage || (SearchMediaRequest.FunnelStage = {}));
|
|
81
85
|
let Language;
|
|
82
86
|
(function (Language) {
|
|
83
87
|
Language.Item = {
|
|
84
|
-
English:
|
|
85
|
-
Spanish:
|
|
86
|
-
French:
|
|
87
|
-
German:
|
|
88
|
-
Italian:
|
|
89
|
-
Portuguese:
|
|
90
|
-
Russian:
|
|
91
|
-
Chinese:
|
|
92
|
-
Cantonese:
|
|
93
|
-
Japanese:
|
|
94
|
-
Korean:
|
|
95
|
-
Arabic:
|
|
96
|
-
Hindi:
|
|
97
|
-
Dutch:
|
|
98
|
-
Polish:
|
|
99
|
-
Turkish:
|
|
100
|
-
Vietnamese:
|
|
101
|
-
Thai:
|
|
102
|
-
Burmese:
|
|
103
|
-
Khmer:
|
|
104
|
-
Lao:
|
|
105
|
-
Indonesian:
|
|
106
|
-
Hebrew:
|
|
107
|
-
Swedish:
|
|
108
|
-
Norwegian:
|
|
109
|
-
Danish:
|
|
110
|
-
Finnish:
|
|
111
|
-
Farsi:
|
|
112
|
-
Fijian:
|
|
113
|
-
Greek:
|
|
114
|
-
Czech:
|
|
115
|
-
Hungarian:
|
|
116
|
-
Romanian:
|
|
117
|
-
Ukrainian:
|
|
118
|
-
Malay:
|
|
119
|
-
Tagalog:
|
|
120
|
-
Filipino:
|
|
121
|
-
Bengali:
|
|
122
|
-
Serbian:
|
|
123
|
-
Croatian:
|
|
124
|
-
Bulgarian:
|
|
125
|
-
Slovak:
|
|
126
|
-
Slovenian:
|
|
127
|
-
Estonian:
|
|
128
|
-
Latvian:
|
|
129
|
-
Lithuanian:
|
|
130
|
-
Persian:
|
|
131
|
-
Swahili:
|
|
132
|
-
Amharic:
|
|
133
|
-
Assamese:
|
|
134
|
-
Urdu:
|
|
135
|
-
Afrikaans:
|
|
136
|
-
Basque:
|
|
137
|
-
Catalan:
|
|
138
|
-
Icelandic:
|
|
139
|
-
Georgian:
|
|
140
|
-
Albanian:
|
|
141
|
-
Armenian:
|
|
142
|
-
Azerbaijani:
|
|
143
|
-
Bosnian:
|
|
144
|
-
Galician:
|
|
145
|
-
Gujarati:
|
|
146
|
-
HaitianCreole:
|
|
147
|
-
Kannada:
|
|
148
|
-
Kazakh:
|
|
149
|
-
Kyrgyz:
|
|
150
|
-
Latin:
|
|
151
|
-
Macedonian:
|
|
152
|
-
Malayalam:
|
|
153
|
-
Marathi:
|
|
154
|
-
Mizo:
|
|
155
|
-
Montenegrin:
|
|
156
|
-
Nepali:
|
|
157
|
-
Sinhala:
|
|
158
|
-
Tamil:
|
|
159
|
-
Telugu:
|
|
160
|
-
Tulu:
|
|
161
|
-
Punjabi:
|
|
162
|
-
Welsh:
|
|
163
|
-
Irish:
|
|
164
|
-
Maltese:
|
|
165
|
-
Yoruba:
|
|
166
|
-
Zulu:
|
|
167
|
-
Asl:
|
|
168
|
-
Asturian:
|
|
169
|
-
Bambara:
|
|
170
|
-
Belarusian:
|
|
171
|
-
Bhojpuri:
|
|
172
|
-
Bisaya:
|
|
173
|
-
Bodo:
|
|
174
|
-
Cebuano:
|
|
175
|
-
Chechen:
|
|
176
|
-
Cherokee:
|
|
177
|
-
Chichewa:
|
|
178
|
-
Coptic:
|
|
179
|
-
Cornish:
|
|
180
|
-
Dari:
|
|
181
|
-
Dhivehi:
|
|
182
|
-
Esperanto:
|
|
183
|
-
Ewe:
|
|
184
|
-
Faroese:
|
|
185
|
-
Frisian:
|
|
186
|
-
Guarani:
|
|
187
|
-
Hausa:
|
|
188
|
-
Hawaiian:
|
|
189
|
-
Hiligaynon:
|
|
190
|
-
Hmong:
|
|
191
|
-
Igbo:
|
|
192
|
-
Ilocano:
|
|
193
|
-
JamaicanPatois:
|
|
194
|
-
Javanese:
|
|
195
|
-
Kashmiri:
|
|
196
|
-
Kikuyu:
|
|
197
|
-
Kinyarwanda:
|
|
198
|
-
Konkani:
|
|
199
|
-
Kurdish:
|
|
200
|
-
Lingala:
|
|
201
|
-
Luxembourgish:
|
|
202
|
-
Luganda:
|
|
203
|
-
Malagasy:
|
|
204
|
-
Manipuri:
|
|
205
|
-
Maori:
|
|
206
|
-
Mongolian:
|
|
207
|
-
NigerianPidgin:
|
|
208
|
-
Nyanja:
|
|
209
|
-
Odia:
|
|
210
|
-
Oromo:
|
|
211
|
-
Papiamento:
|
|
212
|
-
Pashto:
|
|
213
|
-
Quechua:
|
|
214
|
-
Samoan:
|
|
215
|
-
Sanskrit:
|
|
216
|
-
ScottishGaelic:
|
|
217
|
-
Sepedi:
|
|
218
|
-
Shona:
|
|
219
|
-
Sindhi:
|
|
220
|
-
Somali:
|
|
221
|
-
Sotho:
|
|
222
|
-
Sundanese:
|
|
223
|
-
Tajik:
|
|
224
|
-
Tamazight:
|
|
225
|
-
Tetum:
|
|
226
|
-
Tibetan:
|
|
227
|
-
Tongan:
|
|
228
|
-
Tsonga:
|
|
229
|
-
Tswana:
|
|
230
|
-
Twi:
|
|
231
|
-
Uzbek:
|
|
232
|
-
Wolof:
|
|
233
|
-
Xhosa:
|
|
234
|
-
Khasi:
|
|
88
|
+
English: "English",
|
|
89
|
+
Spanish: "Spanish",
|
|
90
|
+
French: "French",
|
|
91
|
+
German: "German",
|
|
92
|
+
Italian: "Italian",
|
|
93
|
+
Portuguese: "Portuguese",
|
|
94
|
+
Russian: "Russian",
|
|
95
|
+
Chinese: "Chinese",
|
|
96
|
+
Cantonese: "Cantonese",
|
|
97
|
+
Japanese: "Japanese",
|
|
98
|
+
Korean: "Korean",
|
|
99
|
+
Arabic: "Arabic",
|
|
100
|
+
Hindi: "Hindi",
|
|
101
|
+
Dutch: "Dutch",
|
|
102
|
+
Polish: "Polish",
|
|
103
|
+
Turkish: "Turkish",
|
|
104
|
+
Vietnamese: "Vietnamese",
|
|
105
|
+
Thai: "Thai",
|
|
106
|
+
Burmese: "Burmese",
|
|
107
|
+
Khmer: "Khmer",
|
|
108
|
+
Lao: "Lao",
|
|
109
|
+
Indonesian: "Indonesian",
|
|
110
|
+
Hebrew: "Hebrew",
|
|
111
|
+
Swedish: "Swedish",
|
|
112
|
+
Norwegian: "Norwegian",
|
|
113
|
+
Danish: "Danish",
|
|
114
|
+
Finnish: "Finnish",
|
|
115
|
+
Farsi: "Farsi",
|
|
116
|
+
Fijian: "Fijian",
|
|
117
|
+
Greek: "Greek",
|
|
118
|
+
Czech: "Czech",
|
|
119
|
+
Hungarian: "Hungarian",
|
|
120
|
+
Romanian: "Romanian",
|
|
121
|
+
Ukrainian: "Ukrainian",
|
|
122
|
+
Malay: "Malay",
|
|
123
|
+
Tagalog: "Tagalog",
|
|
124
|
+
Filipino: "Filipino",
|
|
125
|
+
Bengali: "Bengali",
|
|
126
|
+
Serbian: "Serbian",
|
|
127
|
+
Croatian: "Croatian",
|
|
128
|
+
Bulgarian: "Bulgarian",
|
|
129
|
+
Slovak: "Slovak",
|
|
130
|
+
Slovenian: "Slovenian",
|
|
131
|
+
Estonian: "Estonian",
|
|
132
|
+
Latvian: "Latvian",
|
|
133
|
+
Lithuanian: "Lithuanian",
|
|
134
|
+
Persian: "Persian",
|
|
135
|
+
Swahili: "Swahili",
|
|
136
|
+
Amharic: "Amharic",
|
|
137
|
+
Assamese: "Assamese",
|
|
138
|
+
Urdu: "Urdu",
|
|
139
|
+
Afrikaans: "Afrikaans",
|
|
140
|
+
Basque: "Basque",
|
|
141
|
+
Catalan: "Catalan",
|
|
142
|
+
Icelandic: "Icelandic",
|
|
143
|
+
Georgian: "Georgian",
|
|
144
|
+
Albanian: "Albanian",
|
|
145
|
+
Armenian: "Armenian",
|
|
146
|
+
Azerbaijani: "Azerbaijani",
|
|
147
|
+
Bosnian: "Bosnian",
|
|
148
|
+
Galician: "Galician",
|
|
149
|
+
Gujarati: "Gujarati",
|
|
150
|
+
HaitianCreole: "Haitian Creole",
|
|
151
|
+
Kannada: "Kannada",
|
|
152
|
+
Kazakh: "Kazakh",
|
|
153
|
+
Kyrgyz: "Kyrgyz",
|
|
154
|
+
Latin: "Latin",
|
|
155
|
+
Macedonian: "Macedonian",
|
|
156
|
+
Malayalam: "Malayalam",
|
|
157
|
+
Marathi: "Marathi",
|
|
158
|
+
Mizo: "Mizo",
|
|
159
|
+
Montenegrin: "Montenegrin",
|
|
160
|
+
Nepali: "Nepali",
|
|
161
|
+
Sinhala: "Sinhala",
|
|
162
|
+
Tamil: "Tamil",
|
|
163
|
+
Telugu: "Telugu",
|
|
164
|
+
Tulu: "Tulu",
|
|
165
|
+
Punjabi: "Punjabi",
|
|
166
|
+
Welsh: "Welsh",
|
|
167
|
+
Irish: "Irish",
|
|
168
|
+
Maltese: "Maltese",
|
|
169
|
+
Yoruba: "Yoruba",
|
|
170
|
+
Zulu: "Zulu",
|
|
171
|
+
Asl: "ASL",
|
|
172
|
+
Asturian: "Asturian",
|
|
173
|
+
Bambara: "Bambara",
|
|
174
|
+
Belarusian: "Belarusian",
|
|
175
|
+
Bhojpuri: "Bhojpuri",
|
|
176
|
+
Bisaya: "Bisaya",
|
|
177
|
+
Bodo: "Bodo",
|
|
178
|
+
Cebuano: "Cebuano",
|
|
179
|
+
Chechen: "Chechen",
|
|
180
|
+
Cherokee: "Cherokee",
|
|
181
|
+
Chichewa: "Chichewa",
|
|
182
|
+
Coptic: "Coptic",
|
|
183
|
+
Cornish: "Cornish",
|
|
184
|
+
Dari: "Dari",
|
|
185
|
+
Dhivehi: "Dhivehi",
|
|
186
|
+
Esperanto: "Esperanto",
|
|
187
|
+
Ewe: "Ewe",
|
|
188
|
+
Faroese: "Faroese",
|
|
189
|
+
Frisian: "Frisian",
|
|
190
|
+
Guarani: "Guarani",
|
|
191
|
+
Hausa: "Hausa",
|
|
192
|
+
Hawaiian: "Hawaiian",
|
|
193
|
+
Hiligaynon: "Hiligaynon",
|
|
194
|
+
Hmong: "Hmong",
|
|
195
|
+
Igbo: "Igbo",
|
|
196
|
+
Ilocano: "Ilocano",
|
|
197
|
+
JamaicanPatois: "Jamaican Patois",
|
|
198
|
+
Javanese: "Javanese",
|
|
199
|
+
Kashmiri: "Kashmiri",
|
|
200
|
+
Kikuyu: "Kikuyu",
|
|
201
|
+
Kinyarwanda: "Kinyarwanda",
|
|
202
|
+
Konkani: "Konkani",
|
|
203
|
+
Kurdish: "Kurdish",
|
|
204
|
+
Lingala: "Lingala",
|
|
205
|
+
Luxembourgish: "Luxembourgish",
|
|
206
|
+
Luganda: "Luganda",
|
|
207
|
+
Malagasy: "Malagasy",
|
|
208
|
+
Manipuri: "Manipuri",
|
|
209
|
+
Maori: "Maori",
|
|
210
|
+
Mongolian: "Mongolian",
|
|
211
|
+
NigerianPidgin: "Nigerian Pidgin",
|
|
212
|
+
Nyanja: "Nyanja",
|
|
213
|
+
Odia: "Odia",
|
|
214
|
+
Oromo: "Oromo",
|
|
215
|
+
Papiamento: "Papiamento",
|
|
216
|
+
Pashto: "Pashto",
|
|
217
|
+
Quechua: "Quechua",
|
|
218
|
+
Samoan: "Samoan",
|
|
219
|
+
Sanskrit: "Sanskrit",
|
|
220
|
+
ScottishGaelic: "Scottish Gaelic",
|
|
221
|
+
Sepedi: "Sepedi",
|
|
222
|
+
Shona: "Shona",
|
|
223
|
+
Sindhi: "Sindhi",
|
|
224
|
+
Somali: "Somali",
|
|
225
|
+
Sotho: "Sotho",
|
|
226
|
+
Sundanese: "Sundanese",
|
|
227
|
+
Tajik: "Tajik",
|
|
228
|
+
Tamazight: "Tamazight",
|
|
229
|
+
Tetum: "Tetum",
|
|
230
|
+
Tibetan: "Tibetan",
|
|
231
|
+
Tongan: "Tongan",
|
|
232
|
+
Tsonga: "Tsonga",
|
|
233
|
+
Tswana: "Tswana",
|
|
234
|
+
Twi: "Twi",
|
|
235
|
+
Uzbek: "Uzbek",
|
|
236
|
+
Wolof: "Wolof",
|
|
237
|
+
Xhosa: "Xhosa",
|
|
238
|
+
Khasi: "Khasi",
|
|
235
239
|
};
|
|
236
240
|
})(Language = SearchMediaRequest.Language || (SearchMediaRequest.Language = {}));
|
|
237
241
|
SearchMediaRequest.DatePreset = {
|
|
238
|
-
Today:
|
|
239
|
-
Yesterday:
|
|
240
|
-
Last3Days:
|
|
241
|
-
Last7Days:
|
|
242
|
-
ThisWeek:
|
|
243
|
-
LastWeek:
|
|
244
|
-
Last14Days:
|
|
245
|
-
Last30Days:
|
|
246
|
-
ThisMonth:
|
|
247
|
-
LastMonth:
|
|
248
|
-
Last3Months:
|
|
249
|
-
Last6Months:
|
|
250
|
-
YearToDate:
|
|
251
|
-
LastYear:
|
|
242
|
+
Today: "today",
|
|
243
|
+
Yesterday: "yesterday",
|
|
244
|
+
Last3Days: "last-3-days",
|
|
245
|
+
Last7Days: "last-7-days",
|
|
246
|
+
ThisWeek: "this-week",
|
|
247
|
+
LastWeek: "last-week",
|
|
248
|
+
Last14Days: "last-14-days",
|
|
249
|
+
Last30Days: "last-30-days",
|
|
250
|
+
ThisMonth: "this-month",
|
|
251
|
+
LastMonth: "last-month",
|
|
252
|
+
Last3Months: "last-3-months",
|
|
253
|
+
Last6Months: "last-6-months",
|
|
254
|
+
YearToDate: "year-to-date",
|
|
255
|
+
LastYear: "last-year",
|
|
252
256
|
};
|
|
253
257
|
SearchMediaRequest.LandingPageMatch = {
|
|
254
|
-
Contains:
|
|
255
|
-
Equals:
|
|
258
|
+
Contains: "contains",
|
|
259
|
+
Equals: "equals",
|
|
256
260
|
};
|
|
257
261
|
SearchMediaRequest.SortBy = {
|
|
258
|
-
MostRecent:
|
|
259
|
-
Oldest:
|
|
260
|
-
LongestRun:
|
|
261
|
-
MostImpressions:
|
|
262
|
-
MostLikes:
|
|
263
|
-
MostComments:
|
|
264
|
-
MostViews:
|
|
265
|
-
HighestEngagement:
|
|
266
|
-
HighestOutlier:
|
|
262
|
+
MostRecent: "MOST_RECENT",
|
|
263
|
+
Oldest: "OLDEST",
|
|
264
|
+
LongestRun: "LONGEST_RUN",
|
|
265
|
+
MostImpressions: "MOST_IMPRESSIONS",
|
|
266
|
+
MostLikes: "MOST_LIKES",
|
|
267
|
+
MostComments: "MOST_COMMENTS",
|
|
268
|
+
MostViews: "MOST_VIEWS",
|
|
269
|
+
HighestEngagement: "HIGHEST_ENGAGEMENT",
|
|
270
|
+
HighestOutlier: "HIGHEST_OUTLIER",
|
|
267
271
|
};
|
|
268
272
|
})(SearchMediaRequest || (exports.SearchMediaRequest = SearchMediaRequest = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type { GetCommentsRequest } from
|
|
2
|
-
export { SearchBrandsRequest } from
|
|
3
|
-
export { SearchCreatorsRequest } from
|
|
4
|
-
export { SearchMediaRequest } from
|
|
5
|
-
export type { SearchTaxonomiesRequest } from
|
|
1
|
+
export type { GetCommentsRequest } from "./GetCommentsRequest.js";
|
|
2
|
+
export { SearchBrandsRequest } from "./SearchBrandsRequest.js";
|
|
3
|
+
export { SearchCreatorsRequest } from "./SearchCreatorsRequest.js";
|
|
4
|
+
export { SearchMediaRequest } from "./SearchMediaRequest.js";
|
|
5
|
+
export type { SearchTaxonomiesRequest } from "./SearchTaxonomiesRequest.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type * as core from
|
|
2
|
-
import * as errors from
|
|
3
|
-
import type * as spyglass from
|
|
1
|
+
import type * as core from "../../core/index.js";
|
|
2
|
+
import * as errors from "../../errors/index.js";
|
|
3
|
+
import type * as spyglass from "../index.js";
|
|
4
4
|
export declare class BadRequestError extends errors.SpyglassError {
|
|
5
5
|
readonly body: spyglass.Error_;
|
|
6
6
|
constructor(body: spyglass.Error_, rawResponse?: core.RawResponse);
|
|
@@ -39,7 +39,7 @@ const errors = __importStar(require("../../errors/index.js"));
|
|
|
39
39
|
class BadRequestError extends errors.SpyglassError {
|
|
40
40
|
constructor(body, rawResponse) {
|
|
41
41
|
super({
|
|
42
|
-
message:
|
|
42
|
+
message: "BadRequestError",
|
|
43
43
|
statusCode: 400,
|
|
44
44
|
body: body,
|
|
45
45
|
rawResponse: rawResponse,
|
|
@@ -48,7 +48,7 @@ class BadRequestError extends errors.SpyglassError {
|
|
|
48
48
|
if (Error.captureStackTrace) {
|
|
49
49
|
Error.captureStackTrace(this, this.constructor);
|
|
50
50
|
}
|
|
51
|
-
this.name =
|
|
51
|
+
this.name = "BadRequestError";
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
exports.BadRequestError = BadRequestError;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type * as core from
|
|
2
|
-
import * as errors from
|
|
3
|
-
import type * as spyglass from
|
|
1
|
+
import type * as core from "../../core/index.js";
|
|
2
|
+
import * as errors from "../../errors/index.js";
|
|
3
|
+
import type * as spyglass from "../index.js";
|
|
4
4
|
export declare class ContentTooLargeError extends errors.SpyglassError {
|
|
5
5
|
readonly body: spyglass.Error_;
|
|
6
6
|
constructor(body: spyglass.Error_, rawResponse?: core.RawResponse);
|
|
@@ -39,7 +39,7 @@ const errors = __importStar(require("../../errors/index.js"));
|
|
|
39
39
|
class ContentTooLargeError extends errors.SpyglassError {
|
|
40
40
|
constructor(body, rawResponse) {
|
|
41
41
|
super({
|
|
42
|
-
message:
|
|
42
|
+
message: "ContentTooLargeError",
|
|
43
43
|
statusCode: 413,
|
|
44
44
|
body: body,
|
|
45
45
|
rawResponse: rawResponse,
|
|
@@ -48,7 +48,7 @@ class ContentTooLargeError extends errors.SpyglassError {
|
|
|
48
48
|
if (Error.captureStackTrace) {
|
|
49
49
|
Error.captureStackTrace(this, this.constructor);
|
|
50
50
|
}
|
|
51
|
-
this.name =
|
|
51
|
+
this.name = "ContentTooLargeError";
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
exports.ContentTooLargeError = ContentTooLargeError;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type * as core from
|
|
2
|
-
import * as errors from
|
|
3
|
-
import type * as spyglass from
|
|
1
|
+
import type * as core from "../../core/index.js";
|
|
2
|
+
import * as errors from "../../errors/index.js";
|
|
3
|
+
import type * as spyglass from "../index.js";
|
|
4
4
|
export declare class ForbiddenError extends errors.SpyglassError {
|
|
5
5
|
readonly body: spyglass.Error_;
|
|
6
6
|
constructor(body: spyglass.Error_, rawResponse?: core.RawResponse);
|
|
@@ -39,7 +39,7 @@ const errors = __importStar(require("../../errors/index.js"));
|
|
|
39
39
|
class ForbiddenError extends errors.SpyglassError {
|
|
40
40
|
constructor(body, rawResponse) {
|
|
41
41
|
super({
|
|
42
|
-
message:
|
|
42
|
+
message: "ForbiddenError",
|
|
43
43
|
statusCode: 403,
|
|
44
44
|
body: body,
|
|
45
45
|
rawResponse: rawResponse,
|
|
@@ -48,7 +48,7 @@ class ForbiddenError extends errors.SpyglassError {
|
|
|
48
48
|
if (Error.captureStackTrace) {
|
|
49
49
|
Error.captureStackTrace(this, this.constructor);
|
|
50
50
|
}
|
|
51
|
-
this.name =
|
|
51
|
+
this.name = "ForbiddenError";
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
exports.ForbiddenError = ForbiddenError;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type * as core from
|
|
2
|
-
import * as errors from
|
|
3
|
-
import type * as spyglass from
|
|
1
|
+
import type * as core from "../../core/index.js";
|
|
2
|
+
import * as errors from "../../errors/index.js";
|
|
3
|
+
import type * as spyglass from "../index.js";
|
|
4
4
|
export declare class InternalServerError extends errors.SpyglassError {
|
|
5
5
|
readonly body: spyglass.Error_;
|
|
6
6
|
constructor(body: spyglass.Error_, rawResponse?: core.RawResponse);
|
|
@@ -39,7 +39,7 @@ const errors = __importStar(require("../../errors/index.js"));
|
|
|
39
39
|
class InternalServerError extends errors.SpyglassError {
|
|
40
40
|
constructor(body, rawResponse) {
|
|
41
41
|
super({
|
|
42
|
-
message:
|
|
42
|
+
message: "InternalServerError",
|
|
43
43
|
statusCode: 500,
|
|
44
44
|
body: body,
|
|
45
45
|
rawResponse: rawResponse,
|
|
@@ -48,7 +48,7 @@ class InternalServerError extends errors.SpyglassError {
|
|
|
48
48
|
if (Error.captureStackTrace) {
|
|
49
49
|
Error.captureStackTrace(this, this.constructor);
|
|
50
50
|
}
|
|
51
|
-
this.name =
|
|
51
|
+
this.name = "InternalServerError";
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
exports.InternalServerError = InternalServerError;
|