@dynamic-labs/sdk-api-core 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-core",
3
- "version": "0.115.0",
3
+ "version": "0.116.0",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -1191,6 +1191,9 @@ class SDKApi extends runtime.BaseAPI {
1191
1191
  const queryParameters = {};
1192
1192
  const headerParameters = {};
1193
1193
  headerParameters['Content-Type'] = 'application/json';
1194
+ if (requestParameters.xDynOrganizationId !== undefined && requestParameters.xDynOrganizationId !== null) {
1195
+ headerParameters['x-dyn-organization-id'] = String(requestParameters.xDynOrganizationId);
1196
+ }
1194
1197
  const response = await this.request({
1195
1198
  path: `/sdk/{environmentId}/ssoProvider`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
1196
1199
  method: 'POST',