@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.
@@ -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) {
@@ -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';
@@ -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';
@@ -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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anuma/sdk",
3
- "version": "10.2.0",
3
+ "version": "10.2.2",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",