@dynamic-labs/sdk-api 0.115.0 → 0.116.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.115.0",
3
+ "version": "0.116.0",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -1252,6 +1252,9 @@ class SDKApi extends runtime.BaseAPI {
1252
1252
  const queryParameters = {};
1253
1253
  const headerParameters = {};
1254
1254
  headerParameters['Content-Type'] = 'application/json';
1255
+ if (requestParameters.xDynOrganizationId !== undefined && requestParameters.xDynOrganizationId !== null) {
1256
+ headerParameters['x-dyn-organization-id'] = String(requestParameters.xDynOrganizationId);
1257
+ }
1255
1258
  const response = await this.request({
1256
1259
  path: `/sdk/{environmentId}/ssoProvider`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
1257
1260
  method: 'POST',
@@ -129,6 +129,7 @@ export interface CbOauthRedirectOptionsRequest {
129
129
  export interface CheckSsoProviderRequest {
130
130
  environmentId: string;
131
131
  ssoProviderCheckRequest: SsoProviderCheckRequest;
132
+ xDynOrganizationId?: string;
132
133
  }
133
134
  export interface CheckWalletSanctionsRequest {
134
135
  environmentId: string;
@@ -1248,6 +1248,9 @@ class SDKApi extends BaseAPI {
1248
1248
  const queryParameters = {};
1249
1249
  const headerParameters = {};
1250
1250
  headerParameters['Content-Type'] = 'application/json';
1251
+ if (requestParameters.xDynOrganizationId !== undefined && requestParameters.xDynOrganizationId !== null) {
1252
+ headerParameters['x-dyn-organization-id'] = String(requestParameters.xDynOrganizationId);
1253
+ }
1251
1254
  const response = await this.request({
1252
1255
  path: `/sdk/{environmentId}/ssoProvider`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
1253
1256
  method: 'POST',