@connectedxm/admin-sdk 11.3.1 → 11.6.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.
@@ -2,7 +2,7 @@
2
2
  * Connected Admin API
3
3
  * The Admin API allows you to manage your Connected community programmatically.
4
4
  *
5
- * The version of the OpenAPI document: 11.3.1
5
+ * The version of the OpenAPI document: 11.6.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js 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.3.1
7
+ * The version of the OpenAPI document: 11.6.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Connected Admin API
3
3
  * The Admin API allows you to manage your Connected community programmatically.
4
4
  *
5
- * The version of the OpenAPI document: 11.3.1
5
+ * The version of the OpenAPI document: 11.6.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,7 +28,7 @@ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
28
28
  * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
29
29
  * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
30
30
  */
31
- export declare const replaceWithSerializableTypeIfNeeded: (key: any, value: any) => any;
31
+ export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
32
32
  export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
33
33
  export declare const toPathString: (url: URL) => string;
34
34
  export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -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.3.1
7
+ * The version of the OpenAPI document: 11.6.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -96,6 +96,7 @@ export const setSearchParams = function (url, ...objects) {
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
+ // @ts-ignore
99
100
  export const replaceWithSerializableTypeIfNeeded = function (key, value) {
100
101
  if (value instanceof Set) {
101
102
  return Array.from(value);
@@ -2,7 +2,7 @@
2
2
  * Connected Admin API
3
3
  * The Admin API allows you to manage your Connected community programmatically.
4
4
  *
5
- * The version of the OpenAPI document: 11.3.1
5
+ * The version of the OpenAPI document: 11.6.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.3.1
6
+ * The version of the OpenAPI document: 11.6.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,7 +34,7 @@ export class Configuration {
34
34
  * @return True if the given MIME is JSON, false otherwise.
35
35
  */
36
36
  isJsonMime(mime) {
37
- const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
38
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
37
+ const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
38
+ return mime !== null && jsonMime.test(mime);
39
39
  }
40
40
  }
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
19
19
  **taxCode** | **string** | | [default to undefined]
20
20
  **taxIncluded** | **boolean** | | [default to undefined]
21
21
  **taxLocation** | [**TaxLocationType**](TaxLocationType.md) | | [default to undefined]
22
+ **visibility** | [**EventAddOnVisibility**](EventAddOnVisibility.md) | | [default to undefined]
22
23
  **createdAt** | **string** | | [default to undefined]
23
24
  **updatedAt** | **string** | | [default to undefined]
24
25
 
@@ -42,6 +43,7 @@ const instance: BaseEventAddOn = {
42
43
  taxCode,
43
44
  taxIncluded,
44
45
  taxLocation,
46
+ visibility,
45
47
  createdAt,
46
48
  updatedAt,
47
49
  };
@@ -21,6 +21,8 @@ Name | Type | Description | Notes
21
21
  **sendWebhookId** | **string** | | [default to undefined]
22
22
  **completeActivationId** | **string** | | [default to undefined]
23
23
  **registerForSessionId** | **string** | | [default to undefined]
24
+ **fulfillAddOnId** | **string** | | [default to undefined]
25
+ **addAddOnId** | **string** | | [default to undefined]
24
26
 
25
27
  ## Example
26
28
 
@@ -44,6 +46,8 @@ const instance: BaseSideEffect = {
44
46
  sendWebhookId,
45
47
  completeActivationId,
46
48
  registerForSessionId,
49
+ fulfillAddOnId,
50
+ addAddOnId,
47
51
  };
48
52
  ```
49
53
 
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
19
19
  **taxCode** | **string** | | [default to undefined]
20
20
  **taxIncluded** | **boolean** | | [default to undefined]
21
21
  **taxLocation** | [**TaxLocationType**](TaxLocationType.md) | | [default to undefined]
22
+ **visibility** | [**EventAddOnVisibility**](EventAddOnVisibility.md) | | [default to undefined]
22
23
  **createdAt** | **string** | | [default to undefined]
23
24
  **updatedAt** | **string** | | [default to undefined]
24
25
  **longDescription** | **string** | | [default to undefined]
@@ -48,6 +49,7 @@ const instance: EventAddOn = {
48
49
  taxCode,
49
50
  taxIncluded,
50
51
  taxLocation,
52
+ visibility,
51
53
  createdAt,
52
54
  updatedAt,
53
55
  longDescription,
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
17
17
  **taxCode** | **string** | | [optional] [default to undefined]
18
18
  **taxIncluded** | **boolean** | | [optional] [default to undefined]
19
19
  **taxLocation** | [**TaxLocationType**](TaxLocationType.md) | | [optional] [default to undefined]
20
+ **visibility** | [**EventAddOnVisibility**](EventAddOnVisibility.md) | | [optional] [default to undefined]
20
21
 
21
22
  ## Example
22
23
 
@@ -36,6 +37,7 @@ const instance: EventAddOnCreateInputs = {
36
37
  taxCode,
37
38
  taxIncluded,
38
39
  taxLocation,
40
+ visibility,
39
41
  };
40
42
  ```
41
43
 
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
17
17
  **taxCode** | **string** | | [optional] [default to undefined]
18
18
  **taxIncluded** | **boolean** | | [optional] [default to undefined]
19
19
  **taxLocation** | [**TaxLocationType**](TaxLocationType.md) | | [optional] [default to undefined]
20
+ **visibility** | [**EventAddOnVisibility**](EventAddOnVisibility.md) | | [optional] [default to undefined]
20
21
 
21
22
  ## Example
22
23
 
@@ -36,6 +37,7 @@ const instance: EventAddOnUpdateInputs = {
36
37
  taxCode,
37
38
  taxIncluded,
38
39
  taxLocation,
40
+ visibility,
39
41
  };
40
42
  ```
41
43
 
@@ -0,0 +1,10 @@
1
+ # EventAddOnVisibility
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Public` (value: `'public'`)
7
+
8
+ * `Hidden` (value: `'hidden'`)
9
+
10
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
33
33
  **taxLocation** | [**TaxLocationType**](TaxLocationType.md) | | [optional] [default to undefined]
34
34
  **printable** | **boolean** | | [optional] [default to undefined]
35
35
  **requiresApproval** | **boolean** | | [optional] [default to undefined]
36
+ **badgeColor** | **string** | | [optional] [default to undefined]
36
37
 
37
38
  ## Example
38
39
 
@@ -68,6 +69,7 @@ const instance: PassTypeCreateInputs = {
68
69
  taxLocation,
69
70
  printable,
70
71
  requiresApproval,
72
+ badgeColor,
71
73
  };
72
74
  ```
73
75
 
@@ -35,6 +35,7 @@ Name | Type | Description | Notes
35
35
  **taxLocation** | [**TaxLocationType**](TaxLocationType.md) | | [optional] [default to undefined]
36
36
  **printable** | **boolean** | | [optional] [default to undefined]
37
37
  **requiresApproval** | **boolean** | | [optional] [default to undefined]
38
+ **badgeColor** | **string** | | [optional] [default to undefined]
38
39
 
39
40
  ## Example
40
41
 
@@ -72,6 +73,7 @@ const instance: PassTypeUpdateInputs = {
72
73
  taxLocation,
73
74
  printable,
74
75
  requiresApproval,
76
+ badgeColor,
75
77
  };
76
78
  ```
77
79
 
@@ -21,6 +21,8 @@ Name | Type | Description | Notes
21
21
  **sendWebhookId** | **string** | | [default to undefined]
22
22
  **completeActivationId** | **string** | | [default to undefined]
23
23
  **registerForSessionId** | **string** | | [default to undefined]
24
+ **fulfillAddOnId** | **string** | | [default to undefined]
25
+ **addAddOnId** | **string** | | [default to undefined]
24
26
  **organizationId** | **string** | | [default to undefined]
25
27
  **newPassOfPassType** | [**BaseEventPassType**](BaseEventPassType.md) | | [default to undefined]
26
28
  **checkedInPassEvent** | [**BaseEvent**](BaseEvent.md) | | [default to undefined]
@@ -37,6 +39,8 @@ Name | Type | Description | Notes
37
39
  **sendWebhook** | [**BaseWebhook**](BaseWebhook.md) | | [default to undefined]
38
40
  **completeActivation** | [**BaseEventActivation**](BaseEventActivation.md) | | [default to undefined]
39
41
  **registerForSession** | [**BaseEventSession**](BaseEventSession.md) | | [default to undefined]
42
+ **fulfillAddOn** | [**BaseEventAddOn**](BaseEventAddOn.md) | | [default to undefined]
43
+ **addAddOn** | [**BaseEventAddOn**](BaseEventAddOn.md) | | [default to undefined]
40
44
  **createdAt** | **string** | | [default to undefined]
41
45
  **updatedAt** | **string** | | [default to undefined]
42
46
 
@@ -62,6 +66,8 @@ const instance: SideEffect = {
62
66
  sendWebhookId,
63
67
  completeActivationId,
64
68
  registerForSessionId,
69
+ fulfillAddOnId,
70
+ addAddOnId,
65
71
  organizationId,
66
72
  newPassOfPassType,
67
73
  checkedInPassEvent,
@@ -78,6 +84,8 @@ const instance: SideEffect = {
78
84
  sendWebhook,
79
85
  completeActivation,
80
86
  registerForSession,
87
+ fulfillAddOn,
88
+ addAddOn,
81
89
  createdAt,
82
90
  updatedAt,
83
91
  };
@@ -17,4 +17,8 @@
17
17
 
18
18
  * `RegisterForSession` (value: `'REGISTER_FOR_SESSION'`)
19
19
 
20
+ * `FulfillAddon` (value: `'FULFILL_ADDON'`)
21
+
22
+ * `AddAddon` (value: `'ADD_ADDON'`)
23
+
20
24
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/git_push.sh CHANGED
@@ -8,24 +8,24 @@ git_repo_id=$2
8
8
  release_note=$3
9
9
  git_host=$4
10
10
 
11
- if [ "$git_host" = "" ]; then
11
+ if [ -z "${git_host}" ]; then
12
12
  git_host="github.com"
13
- echo "[INFO] No command line input provided. Set \$git_host to $git_host"
13
+ echo "[INFO] No command line input provided. Set \${git_host} to ${git_host}"
14
14
  fi
15
15
 
16
- if [ "$git_user_id" = "" ]; then
16
+ if [ -z "${git_user_id}" ]; then
17
17
  git_user_id="GIT_USER_ID"
18
- echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
18
+ echo "[INFO] No command line input provided. Set \${git_user_id} to ${git_user_id}"
19
19
  fi
20
20
 
21
- if [ "$git_repo_id" = "" ]; then
21
+ if [ -z "${git_repo_id}" ]; then
22
22
  git_repo_id="GIT_REPO_ID"
23
- echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
23
+ echo "[INFO] No command line input provided. Set \${git_repo_id} to ${git_repo_id}"
24
24
  fi
25
25
 
26
- if [ "$release_note" = "" ]; then
26
+ if [ -z "${release_note}" ]; then
27
27
  release_note="Minor update"
28
- echo "[INFO] No command line input provided. Set \$release_note to $release_note"
28
+ echo "[INFO] No command line input provided. Set \${release_note} to ${release_note}"
29
29
  fi
30
30
 
31
31
  # Initialize the local directory as a Git repository
@@ -35,19 +35,16 @@ git init
35
35
  git add .
36
36
 
37
37
  # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
- git commit -m "$release_note"
38
+ git commit -m "${release_note}"
39
39
 
40
40
  # Sets the new remote
41
- git_remote=$(git remote)
42
- if [ "$git_remote" = "" ]; then # git remote not defined
43
-
44
- if [ "$GIT_TOKEN" = "" ]; then
45
- echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
- git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
41
+ if [ -z "$(git remote)" ]; then # git remote not defined
42
+ if [ -z "${GIT_TOKEN:-}" ]; then
43
+ echo "[INFO] \${GIT_TOKEN} (environment variable) is not set. Using the git credential in your environment."
44
+ git remote add origin "https://${git_host}/${git_user_id}/${git_repo_id}.git"
47
45
  else
48
- git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
46
+ git remote add origin "https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git"
49
47
  fi
50
-
51
48
  fi
52
49
 
53
50
  git pull origin master
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin-sdk",
3
- "version": "11.3.1",
3
+ "version": "11.6.0",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "prepare": "npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "axios": "~1.18.1"
27
+ "axios": "~1.20.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "12.11.5 - 12.20.42",