@caraer/client 2.0.457 → 2.0.459
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/api.ts +6 -6
- package/dist/api.d.ts +6 -6
- package/dist/api.js +4 -4
- package/dist/esm/api.d.ts +6 -6
- package/dist/esm/api.js +4 -4
- package/docs/ExistingWidgetSummary.md +4 -4
- package/docs/NotificationsApi.md +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2214,9 +2214,9 @@ export const EventRsvpRequestScopeEnum = {
|
|
|
2214
2214
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2215
2215
|
|
|
2216
2216
|
export interface ExistingWidgetSummary {
|
|
2217
|
-
'ymetric'?: string;
|
|
2218
|
-
'xproperty'?: string;
|
|
2219
2217
|
'yproperty'?: string;
|
|
2218
|
+
'xproperty'?: string;
|
|
2219
|
+
'ymetric'?: string;
|
|
2220
2220
|
'title'?: string;
|
|
2221
2221
|
'chartType'?: string;
|
|
2222
2222
|
'xProperty'?: string;
|
|
@@ -16482,7 +16482,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
16482
16482
|
},
|
|
16483
16483
|
/**
|
|
16484
16484
|
*
|
|
16485
|
-
* @summary Mark all notifications as read
|
|
16485
|
+
* @summary Mark all notifications as read
|
|
16486
16486
|
* @param {*} [options] Override http request option.
|
|
16487
16487
|
* @throws {RequiredError}
|
|
16488
16488
|
*/
|
|
@@ -16641,7 +16641,7 @@ export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
|
16641
16641
|
},
|
|
16642
16642
|
/**
|
|
16643
16643
|
*
|
|
16644
|
-
* @summary Mark all notifications as read
|
|
16644
|
+
* @summary Mark all notifications as read
|
|
16645
16645
|
* @param {*} [options] Override http request option.
|
|
16646
16646
|
* @throws {RequiredError}
|
|
16647
16647
|
*/
|
|
@@ -16718,7 +16718,7 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
|
|
16718
16718
|
},
|
|
16719
16719
|
/**
|
|
16720
16720
|
*
|
|
16721
|
-
* @summary Mark all notifications as read
|
|
16721
|
+
* @summary Mark all notifications as read
|
|
16722
16722
|
* @param {*} [options] Override http request option.
|
|
16723
16723
|
* @throws {RequiredError}
|
|
16724
16724
|
*/
|
|
@@ -16787,7 +16787,7 @@ export class NotificationsApi extends BaseAPI {
|
|
|
16787
16787
|
|
|
16788
16788
|
/**
|
|
16789
16789
|
*
|
|
16790
|
-
* @summary Mark all notifications as read
|
|
16790
|
+
* @summary Mark all notifications as read
|
|
16791
16791
|
* @param {*} [options] Override http request option.
|
|
16792
16792
|
* @throws {RequiredError}
|
|
16793
16793
|
*/
|
package/dist/api.d.ts
CHANGED
|
@@ -2192,9 +2192,9 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2192
2192
|
};
|
|
2193
2193
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2194
2194
|
export interface ExistingWidgetSummary {
|
|
2195
|
-
'ymetric'?: string;
|
|
2196
|
-
'xproperty'?: string;
|
|
2197
2195
|
'yproperty'?: string;
|
|
2196
|
+
'xproperty'?: string;
|
|
2197
|
+
'ymetric'?: string;
|
|
2198
2198
|
'title'?: string;
|
|
2199
2199
|
'chartType'?: string;
|
|
2200
2200
|
'xProperty'?: string;
|
|
@@ -11702,7 +11702,7 @@ export declare const NotificationsApiAxiosParamCreator: (configuration?: Configu
|
|
|
11702
11702
|
listNotifications: (company?: string, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11703
11703
|
/**
|
|
11704
11704
|
*
|
|
11705
|
-
* @summary Mark all notifications as read
|
|
11705
|
+
* @summary Mark all notifications as read
|
|
11706
11706
|
* @param {*} [options] Override http request option.
|
|
11707
11707
|
* @throws {RequiredError}
|
|
11708
11708
|
*/
|
|
@@ -11754,7 +11754,7 @@ export declare const NotificationsApiFp: (configuration?: Configuration) => {
|
|
|
11754
11754
|
listNotifications(company?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseNotificationInboxDTO>>;
|
|
11755
11755
|
/**
|
|
11756
11756
|
*
|
|
11757
|
-
* @summary Mark all notifications as read
|
|
11757
|
+
* @summary Mark all notifications as read
|
|
11758
11758
|
* @param {*} [options] Override http request option.
|
|
11759
11759
|
* @throws {RequiredError}
|
|
11760
11760
|
*/
|
|
@@ -11806,7 +11806,7 @@ export declare const NotificationsApiFactory: (configuration?: Configuration, ba
|
|
|
11806
11806
|
listNotifications(company?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseNotificationInboxDTO>;
|
|
11807
11807
|
/**
|
|
11808
11808
|
*
|
|
11809
|
-
* @summary Mark all notifications as read
|
|
11809
|
+
* @summary Mark all notifications as read
|
|
11810
11810
|
* @param {*} [options] Override http request option.
|
|
11811
11811
|
* @throws {RequiredError}
|
|
11812
11812
|
*/
|
|
@@ -11858,7 +11858,7 @@ export declare class NotificationsApi extends BaseAPI {
|
|
|
11858
11858
|
listNotifications(company?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseNotificationInboxDTO, any, {}>>;
|
|
11859
11859
|
/**
|
|
11860
11860
|
*
|
|
11861
|
-
* @summary Mark all notifications as read
|
|
11861
|
+
* @summary Mark all notifications as read
|
|
11862
11862
|
* @param {*} [options] Override http request option.
|
|
11863
11863
|
* @throws {RequiredError}
|
|
11864
11864
|
*/
|
package/dist/api.js
CHANGED
|
@@ -8772,7 +8772,7 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
8772
8772
|
}),
|
|
8773
8773
|
/**
|
|
8774
8774
|
*
|
|
8775
|
-
* @summary Mark all notifications as read
|
|
8775
|
+
* @summary Mark all notifications as read
|
|
8776
8776
|
* @param {*} [options] Override http request option.
|
|
8777
8777
|
* @throws {RequiredError}
|
|
8778
8778
|
*/
|
|
@@ -8925,7 +8925,7 @@ const NotificationsApiFp = function (configuration) {
|
|
|
8925
8925
|
},
|
|
8926
8926
|
/**
|
|
8927
8927
|
*
|
|
8928
|
-
* @summary Mark all notifications as read
|
|
8928
|
+
* @summary Mark all notifications as read
|
|
8929
8929
|
* @param {*} [options] Override http request option.
|
|
8930
8930
|
* @throws {RequiredError}
|
|
8931
8931
|
*/
|
|
@@ -9011,7 +9011,7 @@ const NotificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
9011
9011
|
},
|
|
9012
9012
|
/**
|
|
9013
9013
|
*
|
|
9014
|
-
* @summary Mark all notifications as read
|
|
9014
|
+
* @summary Mark all notifications as read
|
|
9015
9015
|
* @param {*} [options] Override http request option.
|
|
9016
9016
|
* @throws {RequiredError}
|
|
9017
9017
|
*/
|
|
@@ -9077,7 +9077,7 @@ class NotificationsApi extends base_1.BaseAPI {
|
|
|
9077
9077
|
}
|
|
9078
9078
|
/**
|
|
9079
9079
|
*
|
|
9080
|
-
* @summary Mark all notifications as read
|
|
9080
|
+
* @summary Mark all notifications as read
|
|
9081
9081
|
* @param {*} [options] Override http request option.
|
|
9082
9082
|
* @throws {RequiredError}
|
|
9083
9083
|
*/
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2192,9 +2192,9 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2192
2192
|
};
|
|
2193
2193
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2194
2194
|
export interface ExistingWidgetSummary {
|
|
2195
|
-
'ymetric'?: string;
|
|
2196
|
-
'xproperty'?: string;
|
|
2197
2195
|
'yproperty'?: string;
|
|
2196
|
+
'xproperty'?: string;
|
|
2197
|
+
'ymetric'?: string;
|
|
2198
2198
|
'title'?: string;
|
|
2199
2199
|
'chartType'?: string;
|
|
2200
2200
|
'xProperty'?: string;
|
|
@@ -11702,7 +11702,7 @@ export declare const NotificationsApiAxiosParamCreator: (configuration?: Configu
|
|
|
11702
11702
|
listNotifications: (company?: string, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11703
11703
|
/**
|
|
11704
11704
|
*
|
|
11705
|
-
* @summary Mark all notifications as read
|
|
11705
|
+
* @summary Mark all notifications as read
|
|
11706
11706
|
* @param {*} [options] Override http request option.
|
|
11707
11707
|
* @throws {RequiredError}
|
|
11708
11708
|
*/
|
|
@@ -11754,7 +11754,7 @@ export declare const NotificationsApiFp: (configuration?: Configuration) => {
|
|
|
11754
11754
|
listNotifications(company?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseNotificationInboxDTO>>;
|
|
11755
11755
|
/**
|
|
11756
11756
|
*
|
|
11757
|
-
* @summary Mark all notifications as read
|
|
11757
|
+
* @summary Mark all notifications as read
|
|
11758
11758
|
* @param {*} [options] Override http request option.
|
|
11759
11759
|
* @throws {RequiredError}
|
|
11760
11760
|
*/
|
|
@@ -11806,7 +11806,7 @@ export declare const NotificationsApiFactory: (configuration?: Configuration, ba
|
|
|
11806
11806
|
listNotifications(company?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseNotificationInboxDTO>;
|
|
11807
11807
|
/**
|
|
11808
11808
|
*
|
|
11809
|
-
* @summary Mark all notifications as read
|
|
11809
|
+
* @summary Mark all notifications as read
|
|
11810
11810
|
* @param {*} [options] Override http request option.
|
|
11811
11811
|
* @throws {RequiredError}
|
|
11812
11812
|
*/
|
|
@@ -11858,7 +11858,7 @@ export declare class NotificationsApi extends BaseAPI {
|
|
|
11858
11858
|
listNotifications(company?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseNotificationInboxDTO, any, {}>>;
|
|
11859
11859
|
/**
|
|
11860
11860
|
*
|
|
11861
|
-
* @summary Mark all notifications as read
|
|
11861
|
+
* @summary Mark all notifications as read
|
|
11862
11862
|
* @param {*} [options] Override http request option.
|
|
11863
11863
|
* @throws {RequiredError}
|
|
11864
11864
|
*/
|
package/dist/esm/api.js
CHANGED
|
@@ -8711,7 +8711,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
8711
8711
|
}),
|
|
8712
8712
|
/**
|
|
8713
8713
|
*
|
|
8714
|
-
* @summary Mark all notifications as read
|
|
8714
|
+
* @summary Mark all notifications as read
|
|
8715
8715
|
* @param {*} [options] Override http request option.
|
|
8716
8716
|
* @throws {RequiredError}
|
|
8717
8717
|
*/
|
|
@@ -8863,7 +8863,7 @@ export const NotificationsApiFp = function (configuration) {
|
|
|
8863
8863
|
},
|
|
8864
8864
|
/**
|
|
8865
8865
|
*
|
|
8866
|
-
* @summary Mark all notifications as read
|
|
8866
|
+
* @summary Mark all notifications as read
|
|
8867
8867
|
* @param {*} [options] Override http request option.
|
|
8868
8868
|
* @throws {RequiredError}
|
|
8869
8869
|
*/
|
|
@@ -8948,7 +8948,7 @@ export const NotificationsApiFactory = function (configuration, basePath, axios)
|
|
|
8948
8948
|
},
|
|
8949
8949
|
/**
|
|
8950
8950
|
*
|
|
8951
|
-
* @summary Mark all notifications as read
|
|
8951
|
+
* @summary Mark all notifications as read
|
|
8952
8952
|
* @param {*} [options] Override http request option.
|
|
8953
8953
|
* @throws {RequiredError}
|
|
8954
8954
|
*/
|
|
@@ -9013,7 +9013,7 @@ export class NotificationsApi extends BaseAPI {
|
|
|
9013
9013
|
}
|
|
9014
9014
|
/**
|
|
9015
9015
|
*
|
|
9016
|
-
* @summary Mark all notifications as read
|
|
9016
|
+
* @summary Mark all notifications as read
|
|
9017
9017
|
* @param {*} [options] Override http request option.
|
|
9018
9018
|
* @throws {RequiredError}
|
|
9019
9019
|
*/
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**ymetric** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**xproperty** | **string** | | [optional] [default to undefined]
|
|
10
8
|
**yproperty** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**xproperty** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**ymetric** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**title** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**chartType** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**xProperty** | **string** | | [optional] [default to undefined]
|
|
@@ -20,9 +20,9 @@ Name | Type | Description | Notes
|
|
|
20
20
|
import { ExistingWidgetSummary } from '@caraer/client';
|
|
21
21
|
|
|
22
22
|
const instance: ExistingWidgetSummary = {
|
|
23
|
-
ymetric,
|
|
24
|
-
xproperty,
|
|
25
23
|
yproperty,
|
|
24
|
+
xproperty,
|
|
25
|
+
ymetric,
|
|
26
26
|
title,
|
|
27
27
|
chartType,
|
|
28
28
|
xProperty,
|
package/docs/NotificationsApi.md
CHANGED
|
@@ -7,7 +7,7 @@ All URIs are relative to *https://v2.api.caraer.com*
|
|
|
7
7
|
|[**dismissNotification**](#dismissnotification) | **DELETE** /api/v2/notifications/{notificationId} | Dismiss a notification|
|
|
8
8
|
|[**firebaseToken**](#firebasetoken) | **GET** /api/v2/notifications/firebase-token | Mint a Firebase custom token so the app can listen to its inbox|
|
|
9
9
|
|[**listNotifications**](#listnotifications) | **GET** /api/v2/notifications | List in-app notifications for the logged-in user|
|
|
10
|
-
|[**markAllAsRead**](#markallasread) | **PATCH** /api/v2/notifications/read-all | Mark all notifications as read
|
|
10
|
+
|[**markAllAsRead**](#markallasread) | **PATCH** /api/v2/notifications/read-all | Mark all notifications as read|
|
|
11
11
|
|[**markAsRead**](#markasread) | **PATCH** /api/v2/notifications/{notificationId}/read | Mark a notification as read|
|
|
12
12
|
|[**sendNotification**](#sendnotification) | **POST** /api/v2/notifications | Send a notification (app token)|
|
|
13
13
|
|