@spyglasshq/sdk 0.1.5 → 0.1.7
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/cjs/BaseClient.d.ts +4 -4
- package/dist/cjs/BaseClient.js +7 -7
- package/dist/cjs/Client.d.ts +7 -7
- package/dist/cjs/Client.js +58 -40
- 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 +2 -2
- package/dist/cjs/api/client/requests/SearchMediaRequest.js +223 -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 +38 -23
- package/dist/cjs/api/resources/account/client/index.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 +5 -5
- 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/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 +7 -7
- 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 +56 -50
- 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 +37 -35
- 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 +10 -8
- 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 +7 -7
- package/dist/esm/Client.mjs +67 -49
- 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 +2 -2
- package/dist/esm/api/client/requests/SearchMediaRequest.mjs +223 -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 +46 -31
- 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/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 +5 -5
- 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/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 +7 -7
- package/dist/esm/api/resources/account/types/index.mjs +7 -7
- 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 +70 -64
- 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 +37 -35
- 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 +10 -8
- 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 +85 -84
|
@@ -7,262 +7,262 @@ 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
|
-
Question:
|
|
55
|
-
Quiz:
|
|
56
|
-
Quote:
|
|
57
|
-
SocialProof:
|
|
58
|
-
Testimonial:
|
|
59
|
-
FakeInterface:
|
|
60
|
-
StreetInterview:
|
|
61
|
-
Unboxing:
|
|
62
|
-
Grwm:
|
|
63
|
-
DayInTheLife:
|
|
64
|
-
Storytime:
|
|
65
|
-
Skit:
|
|
66
|
-
Reply:
|
|
67
|
-
TextOverlay:
|
|
68
|
-
Greenscreen:
|
|
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
|
+
Question: 'Question',
|
|
55
|
+
Quiz: 'Quiz',
|
|
56
|
+
Quote: 'Quote',
|
|
57
|
+
SocialProof: 'Social Proof',
|
|
58
|
+
Testimonial: 'Testimonial',
|
|
59
|
+
FakeInterface: 'Fake Interface',
|
|
60
|
+
StreetInterview: 'Street Interview',
|
|
61
|
+
Unboxing: 'Unboxing',
|
|
62
|
+
Grwm: 'GRWM',
|
|
63
|
+
DayInTheLife: 'Day in the life',
|
|
64
|
+
Storytime: 'Storytime',
|
|
65
|
+
Skit: 'Skit',
|
|
66
|
+
Reply: 'Reply',
|
|
67
|
+
TextOverlay: 'Text Overlay',
|
|
68
|
+
Greenscreen: 'Greenscreen',
|
|
69
69
|
};
|
|
70
70
|
})(Categories = SearchMediaRequest.Categories || (SearchMediaRequest.Categories = {}));
|
|
71
71
|
let FunnelStage;
|
|
72
72
|
(function (FunnelStage) {
|
|
73
73
|
FunnelStage.Item = {
|
|
74
|
-
Unaware:
|
|
75
|
-
ProblemAware:
|
|
76
|
-
SolutionAware:
|
|
77
|
-
ProductAware:
|
|
78
|
-
MostAware:
|
|
74
|
+
Unaware: 'UNAWARE',
|
|
75
|
+
ProblemAware: 'PROBLEM_AWARE',
|
|
76
|
+
SolutionAware: 'SOLUTION_AWARE',
|
|
77
|
+
ProductAware: 'PRODUCT_AWARE',
|
|
78
|
+
MostAware: 'MOST_AWARE',
|
|
79
79
|
};
|
|
80
80
|
})(FunnelStage = SearchMediaRequest.FunnelStage || (SearchMediaRequest.FunnelStage = {}));
|
|
81
81
|
let Language;
|
|
82
82
|
(function (Language) {
|
|
83
83
|
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:
|
|
84
|
+
English: 'English',
|
|
85
|
+
Spanish: 'Spanish',
|
|
86
|
+
French: 'French',
|
|
87
|
+
German: 'German',
|
|
88
|
+
Italian: 'Italian',
|
|
89
|
+
Portuguese: 'Portuguese',
|
|
90
|
+
Russian: 'Russian',
|
|
91
|
+
Chinese: 'Chinese',
|
|
92
|
+
Cantonese: 'Cantonese',
|
|
93
|
+
Japanese: 'Japanese',
|
|
94
|
+
Korean: 'Korean',
|
|
95
|
+
Arabic: 'Arabic',
|
|
96
|
+
Hindi: 'Hindi',
|
|
97
|
+
Dutch: 'Dutch',
|
|
98
|
+
Polish: 'Polish',
|
|
99
|
+
Turkish: 'Turkish',
|
|
100
|
+
Vietnamese: 'Vietnamese',
|
|
101
|
+
Thai: 'Thai',
|
|
102
|
+
Burmese: 'Burmese',
|
|
103
|
+
Khmer: 'Khmer',
|
|
104
|
+
Lao: 'Lao',
|
|
105
|
+
Indonesian: 'Indonesian',
|
|
106
|
+
Hebrew: 'Hebrew',
|
|
107
|
+
Swedish: 'Swedish',
|
|
108
|
+
Norwegian: 'Norwegian',
|
|
109
|
+
Danish: 'Danish',
|
|
110
|
+
Finnish: 'Finnish',
|
|
111
|
+
Farsi: 'Farsi',
|
|
112
|
+
Fijian: 'Fijian',
|
|
113
|
+
Greek: 'Greek',
|
|
114
|
+
Czech: 'Czech',
|
|
115
|
+
Hungarian: 'Hungarian',
|
|
116
|
+
Romanian: 'Romanian',
|
|
117
|
+
Ukrainian: 'Ukrainian',
|
|
118
|
+
Malay: 'Malay',
|
|
119
|
+
Tagalog: 'Tagalog',
|
|
120
|
+
Filipino: 'Filipino',
|
|
121
|
+
Bengali: 'Bengali',
|
|
122
|
+
Serbian: 'Serbian',
|
|
123
|
+
Croatian: 'Croatian',
|
|
124
|
+
Bulgarian: 'Bulgarian',
|
|
125
|
+
Slovak: 'Slovak',
|
|
126
|
+
Slovenian: 'Slovenian',
|
|
127
|
+
Estonian: 'Estonian',
|
|
128
|
+
Latvian: 'Latvian',
|
|
129
|
+
Lithuanian: 'Lithuanian',
|
|
130
|
+
Persian: 'Persian',
|
|
131
|
+
Swahili: 'Swahili',
|
|
132
|
+
Amharic: 'Amharic',
|
|
133
|
+
Assamese: 'Assamese',
|
|
134
|
+
Urdu: 'Urdu',
|
|
135
|
+
Afrikaans: 'Afrikaans',
|
|
136
|
+
Basque: 'Basque',
|
|
137
|
+
Catalan: 'Catalan',
|
|
138
|
+
Icelandic: 'Icelandic',
|
|
139
|
+
Georgian: 'Georgian',
|
|
140
|
+
Albanian: 'Albanian',
|
|
141
|
+
Armenian: 'Armenian',
|
|
142
|
+
Azerbaijani: 'Azerbaijani',
|
|
143
|
+
Bosnian: 'Bosnian',
|
|
144
|
+
Galician: 'Galician',
|
|
145
|
+
Gujarati: 'Gujarati',
|
|
146
|
+
HaitianCreole: 'Haitian Creole',
|
|
147
|
+
Kannada: 'Kannada',
|
|
148
|
+
Kazakh: 'Kazakh',
|
|
149
|
+
Kyrgyz: 'Kyrgyz',
|
|
150
|
+
Latin: 'Latin',
|
|
151
|
+
Macedonian: 'Macedonian',
|
|
152
|
+
Malayalam: 'Malayalam',
|
|
153
|
+
Marathi: 'Marathi',
|
|
154
|
+
Mizo: 'Mizo',
|
|
155
|
+
Montenegrin: 'Montenegrin',
|
|
156
|
+
Nepali: 'Nepali',
|
|
157
|
+
Sinhala: 'Sinhala',
|
|
158
|
+
Tamil: 'Tamil',
|
|
159
|
+
Telugu: 'Telugu',
|
|
160
|
+
Tulu: 'Tulu',
|
|
161
|
+
Punjabi: 'Punjabi',
|
|
162
|
+
Welsh: 'Welsh',
|
|
163
|
+
Irish: 'Irish',
|
|
164
|
+
Maltese: 'Maltese',
|
|
165
|
+
Yoruba: 'Yoruba',
|
|
166
|
+
Zulu: 'Zulu',
|
|
167
|
+
Asl: 'ASL',
|
|
168
|
+
Asturian: 'Asturian',
|
|
169
|
+
Bambara: 'Bambara',
|
|
170
|
+
Belarusian: 'Belarusian',
|
|
171
|
+
Bhojpuri: 'Bhojpuri',
|
|
172
|
+
Bisaya: 'Bisaya',
|
|
173
|
+
Bodo: 'Bodo',
|
|
174
|
+
Cebuano: 'Cebuano',
|
|
175
|
+
Chechen: 'Chechen',
|
|
176
|
+
Cherokee: 'Cherokee',
|
|
177
|
+
Chichewa: 'Chichewa',
|
|
178
|
+
Coptic: 'Coptic',
|
|
179
|
+
Cornish: 'Cornish',
|
|
180
|
+
Dari: 'Dari',
|
|
181
|
+
Dhivehi: 'Dhivehi',
|
|
182
|
+
Esperanto: 'Esperanto',
|
|
183
|
+
Ewe: 'Ewe',
|
|
184
|
+
Faroese: 'Faroese',
|
|
185
|
+
Frisian: 'Frisian',
|
|
186
|
+
Guarani: 'Guarani',
|
|
187
|
+
Hausa: 'Hausa',
|
|
188
|
+
Hawaiian: 'Hawaiian',
|
|
189
|
+
Hiligaynon: 'Hiligaynon',
|
|
190
|
+
Hmong: 'Hmong',
|
|
191
|
+
Igbo: 'Igbo',
|
|
192
|
+
Ilocano: 'Ilocano',
|
|
193
|
+
JamaicanPatois: 'Jamaican Patois',
|
|
194
|
+
Javanese: 'Javanese',
|
|
195
|
+
Kashmiri: 'Kashmiri',
|
|
196
|
+
Kikuyu: 'Kikuyu',
|
|
197
|
+
Kinyarwanda: 'Kinyarwanda',
|
|
198
|
+
Konkani: 'Konkani',
|
|
199
|
+
Kurdish: 'Kurdish',
|
|
200
|
+
Lingala: 'Lingala',
|
|
201
|
+
Luxembourgish: 'Luxembourgish',
|
|
202
|
+
Luganda: 'Luganda',
|
|
203
|
+
Malagasy: 'Malagasy',
|
|
204
|
+
Manipuri: 'Manipuri',
|
|
205
|
+
Maori: 'Maori',
|
|
206
|
+
Mongolian: 'Mongolian',
|
|
207
|
+
NigerianPidgin: 'Nigerian Pidgin',
|
|
208
|
+
Nyanja: 'Nyanja',
|
|
209
|
+
Odia: 'Odia',
|
|
210
|
+
Oromo: 'Oromo',
|
|
211
|
+
Papiamento: 'Papiamento',
|
|
212
|
+
Pashto: 'Pashto',
|
|
213
|
+
Quechua: 'Quechua',
|
|
214
|
+
Samoan: 'Samoan',
|
|
215
|
+
Sanskrit: 'Sanskrit',
|
|
216
|
+
ScottishGaelic: 'Scottish Gaelic',
|
|
217
|
+
Sepedi: 'Sepedi',
|
|
218
|
+
Shona: 'Shona',
|
|
219
|
+
Sindhi: 'Sindhi',
|
|
220
|
+
Somali: 'Somali',
|
|
221
|
+
Sotho: 'Sotho',
|
|
222
|
+
Sundanese: 'Sundanese',
|
|
223
|
+
Tajik: 'Tajik',
|
|
224
|
+
Tamazight: 'Tamazight',
|
|
225
|
+
Tetum: 'Tetum',
|
|
226
|
+
Tibetan: 'Tibetan',
|
|
227
|
+
Tongan: 'Tongan',
|
|
228
|
+
Tsonga: 'Tsonga',
|
|
229
|
+
Tswana: 'Tswana',
|
|
230
|
+
Twi: 'Twi',
|
|
231
|
+
Uzbek: 'Uzbek',
|
|
232
|
+
Wolof: 'Wolof',
|
|
233
|
+
Xhosa: 'Xhosa',
|
|
234
|
+
Khasi: 'Khasi',
|
|
235
235
|
};
|
|
236
236
|
})(Language = SearchMediaRequest.Language || (SearchMediaRequest.Language = {}));
|
|
237
237
|
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:
|
|
238
|
+
Today: 'today',
|
|
239
|
+
Yesterday: 'yesterday',
|
|
240
|
+
Last3Days: 'last-3-days',
|
|
241
|
+
Last7Days: 'last-7-days',
|
|
242
|
+
ThisWeek: 'this-week',
|
|
243
|
+
LastWeek: 'last-week',
|
|
244
|
+
Last14Days: 'last-14-days',
|
|
245
|
+
Last30Days: 'last-30-days',
|
|
246
|
+
ThisMonth: 'this-month',
|
|
247
|
+
LastMonth: 'last-month',
|
|
248
|
+
Last3Months: 'last-3-months',
|
|
249
|
+
Last6Months: 'last-6-months',
|
|
250
|
+
YearToDate: 'year-to-date',
|
|
251
|
+
LastYear: 'last-year',
|
|
252
252
|
};
|
|
253
253
|
SearchMediaRequest.LandingPageMatch = {
|
|
254
|
-
Contains:
|
|
255
|
-
Equals:
|
|
254
|
+
Contains: 'contains',
|
|
255
|
+
Equals: 'equals',
|
|
256
256
|
};
|
|
257
257
|
SearchMediaRequest.SortBy = {
|
|
258
|
-
MostRecent:
|
|
259
|
-
Oldest:
|
|
260
|
-
LongestRun:
|
|
261
|
-
MostImpressions:
|
|
262
|
-
MostLikes:
|
|
263
|
-
MostComments:
|
|
264
|
-
MostViews:
|
|
265
|
-
HighestEngagement:
|
|
266
|
-
HighestOutlier:
|
|
258
|
+
MostRecent: 'MOST_RECENT',
|
|
259
|
+
Oldest: 'OLDEST',
|
|
260
|
+
LongestRun: 'LONGEST_RUN',
|
|
261
|
+
MostImpressions: 'MOST_IMPRESSIONS',
|
|
262
|
+
MostLikes: 'MOST_LIKES',
|
|
263
|
+
MostComments: 'MOST_COMMENTS',
|
|
264
|
+
MostViews: 'MOST_VIEWS',
|
|
265
|
+
HighestEngagement: 'HIGHEST_ENGAGEMENT',
|
|
266
|
+
HighestOutlier: 'HIGHEST_OUTLIER',
|
|
267
267
|
};
|
|
268
268
|
})(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;
|
|
@@ -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 MethodNotAllowedError extends errors.SpyglassError {
|
|
5
5
|
readonly body: spyglass.Error_;
|
|
6
6
|
constructor(body: spyglass.Error_, rawResponse?: core.RawResponse);
|