@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 +1 -1
- package/src/apis/SDKApi.cjs +3 -0
- package/src/apis/SDKApi.d.ts +1 -0
- package/src/apis/SDKApi.js +3 -0
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -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',
|
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -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;
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -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',
|