@anuma/sdk 10.2.0 → 10.2.2
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/client/index.cjs
CHANGED
|
@@ -237,6 +237,9 @@ var jsonBodySerializer = {
|
|
|
237
237
|
};
|
|
238
238
|
var urlSearchParamsBodySerializer = {
|
|
239
239
|
bodySerializer: (body) => {
|
|
240
|
+
if (typeof body === "string") {
|
|
241
|
+
return body;
|
|
242
|
+
}
|
|
240
243
|
const data = new URLSearchParams();
|
|
241
244
|
Object.entries(body).forEach(([key, value]) => {
|
|
242
245
|
if (value === void 0 || value === null) {
|
package/dist/client/index.d.mts
CHANGED
|
@@ -11837,10 +11837,7 @@ type GetOauthConsentResponses = {
|
|
|
11837
11837
|
};
|
|
11838
11838
|
type GetOauthConsentResponse = GetOauthConsentResponses[keyof GetOauthConsentResponses];
|
|
11839
11839
|
type PostOauthConsentData = {
|
|
11840
|
-
|
|
11841
|
-
* Daily spending cap in USD
|
|
11842
|
-
*/
|
|
11843
|
-
body?: number;
|
|
11840
|
+
body?: string;
|
|
11844
11841
|
path?: never;
|
|
11845
11842
|
query?: never;
|
|
11846
11843
|
url: '/oauth/consent';
|
package/dist/client/index.d.ts
CHANGED
|
@@ -11837,10 +11837,7 @@ type GetOauthConsentResponses = {
|
|
|
11837
11837
|
};
|
|
11838
11838
|
type GetOauthConsentResponse = GetOauthConsentResponses[keyof GetOauthConsentResponses];
|
|
11839
11839
|
type PostOauthConsentData = {
|
|
11840
|
-
|
|
11841
|
-
* Daily spending cap in USD
|
|
11842
|
-
*/
|
|
11843
|
-
body?: number;
|
|
11840
|
+
body?: string;
|
|
11844
11841
|
path?: never;
|
|
11845
11842
|
query?: never;
|
|
11846
11843
|
url: '/oauth/consent';
|
package/dist/client/index.mjs
CHANGED
|
@@ -11,6 +11,9 @@ var jsonBodySerializer = {
|
|
|
11
11
|
};
|
|
12
12
|
var urlSearchParamsBodySerializer = {
|
|
13
13
|
bodySerializer: (body) => {
|
|
14
|
+
if (typeof body === "string") {
|
|
15
|
+
return body;
|
|
16
|
+
}
|
|
14
17
|
const data = new URLSearchParams();
|
|
15
18
|
Object.entries(body).forEach(([key, value]) => {
|
|
16
19
|
if (value === void 0 || value === null) {
|