@connectedxm/admin-sdk 11.3.1 → 11.5.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/.openapi-generator/FILES +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/api.ts +2291 -2270
- package/base.ts +1 -1
- package/common.ts +5 -4
- package/configuration.ts +3 -3
- package/dist/api.d.ts +1286 -1268
- package/dist/api.js +2302 -2295
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +2 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +3 -3
- package/dist/esm/api.d.ts +1286 -1268
- package/dist/esm/api.js +2275 -2268
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +2 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +3 -3
- package/docs/BaseEventAddOn.md +2 -0
- package/docs/BaseSideEffect.md +4 -0
- package/docs/EventAddOn.md +2 -0
- package/docs/EventAddOnCreateInputs.md +2 -0
- package/docs/EventAddOnUpdateInputs.md +2 -0
- package/docs/EventAddOnVisibility.md +10 -0
- package/docs/PassTypeCreateInputs.md +2 -0
- package/docs/PassTypeUpdateInputs.md +2 -0
- package/docs/SideEffect.md +8 -0
- package/docs/SideEffectActionType.md +4 -0
- package/git_push.sh +14 -17
- package/package.json +2 -2
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.
|
|
7
|
+
* The version of the OpenAPI document: 11.5.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.
|
|
7
|
+
* The version of the OpenAPI document: 11.5.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -96,7 +96,8 @@ export const setSearchParams = function (url: URL, ...objects: any[]) {
|
|
|
96
96
|
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
97
97
|
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
98
98
|
*/
|
|
99
|
-
|
|
99
|
+
// @ts-ignore
|
|
100
|
+
export const replaceWithSerializableTypeIfNeeded = function(key: string, value: any) {
|
|
100
101
|
if (value instanceof Set) {
|
|
101
102
|
return Array.from(value);
|
|
102
103
|
} else {
|
|
@@ -119,8 +120,8 @@ export const toPathString = function (url: URL) {
|
|
|
119
120
|
}
|
|
120
121
|
|
|
121
122
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
122
|
-
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
123
|
+
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH): Promise<R> => {
|
|
123
124
|
const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};
|
|
124
|
-
return axios.request<T, R>(axiosRequestArgs)
|
|
125
|
+
return axios.request<T, R>(axiosRequestArgs) as Promise<R>;
|
|
125
126
|
};
|
|
126
127
|
}
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Connected Admin API
|
|
4
4
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 11.
|
|
6
|
+
* The version of the OpenAPI document: 11.5.2
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -115,7 +115,7 @@ export class Configuration {
|
|
|
115
115
|
* @return True if the given MIME is JSON, false otherwise.
|
|
116
116
|
*/
|
|
117
117
|
public isJsonMime(mime: string): boolean {
|
|
118
|
-
const jsonMime: RegExp =
|
|
119
|
-
return mime !== null &&
|
|
118
|
+
const jsonMime: RegExp = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
119
|
+
return mime !== null && jsonMime.test(mime);
|
|
120
120
|
}
|
|
121
121
|
}
|