@emilgroup/notification-sdk 0.8.1-beta.11 → 0.8.1-beta.13
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/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/notification-sdk@0.8.1-beta.
|
|
20
|
+
npm install @emilgroup/notification-sdk@0.8.1-beta.13 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/notification-sdk@0.8.1-beta.
|
|
24
|
+
yarn add @emilgroup/notification-sdk@0.8.1-beta.13
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
|
@@ -27,7 +27,7 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
27
27
|
export const MSGraphWebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
28
28
|
return {
|
|
29
29
|
/**
|
|
30
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
30
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the lifecycle events and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
31
31
|
* @summary Receive Microsoft Graph subscription lifecycle notifications
|
|
32
32
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
33
33
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -72,7 +72,7 @@ export const MSGraphWebhooksApiAxiosParamCreator = function (configuration?: Con
|
|
|
72
72
|
};
|
|
73
73
|
},
|
|
74
74
|
/**
|
|
75
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
75
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the notifications and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
76
76
|
* @summary Receive Microsoft Graph change notifications
|
|
77
77
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
78
78
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -127,7 +127,7 @@ export const MSGraphWebhooksApiFp = function(configuration?: Configuration) {
|
|
|
127
127
|
const localVarAxiosParamCreator = MSGraphWebhooksApiAxiosParamCreator(configuration)
|
|
128
128
|
return {
|
|
129
129
|
/**
|
|
130
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
130
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the lifecycle events and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
131
131
|
* @summary Receive Microsoft Graph subscription lifecycle notifications
|
|
132
132
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
133
133
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -140,7 +140,7 @@ export const MSGraphWebhooksApiFp = function(configuration?: Configuration) {
|
|
|
140
140
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
141
141
|
},
|
|
142
142
|
/**
|
|
143
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
143
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the notifications and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
144
144
|
* @summary Receive Microsoft Graph change notifications
|
|
145
145
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
146
146
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -163,7 +163,7 @@ export const MSGraphWebhooksApiFactory = function (configuration?: Configuration
|
|
|
163
163
|
const localVarFp = MSGraphWebhooksApiFp(configuration)
|
|
164
164
|
return {
|
|
165
165
|
/**
|
|
166
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
166
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the lifecycle events and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
167
167
|
* @summary Receive Microsoft Graph subscription lifecycle notifications
|
|
168
168
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
169
169
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -175,7 +175,7 @@ export const MSGraphWebhooksApiFactory = function (configuration?: Configuration
|
|
|
175
175
|
return localVarFp.receiveLifecycle(tenantSlug, validationToken, body, options).then((request) => request(axios, basePath));
|
|
176
176
|
},
|
|
177
177
|
/**
|
|
178
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
178
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the notifications and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
179
179
|
* @summary Receive Microsoft Graph change notifications
|
|
180
180
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
181
181
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -253,7 +253,7 @@ export interface MSGraphWebhooksApiReceiveNotificationsRequest {
|
|
|
253
253
|
*/
|
|
254
254
|
export class MSGraphWebhooksApi extends BaseAPI {
|
|
255
255
|
/**
|
|
256
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
256
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the lifecycle events and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
257
257
|
* @summary Receive Microsoft Graph subscription lifecycle notifications
|
|
258
258
|
* @param {MSGraphWebhooksApiReceiveLifecycleRequest} requestParameters Request parameters.
|
|
259
259
|
* @param {*} [options] Override http request option.
|
|
@@ -265,7 +265,7 @@ export class MSGraphWebhooksApi extends BaseAPI {
|
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
268
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the notifications and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
269
269
|
* @summary Receive Microsoft Graph change notifications
|
|
270
270
|
* @param {MSGraphWebhooksApiReceiveNotificationsRequest} requestParameters Request parameters.
|
|
271
271
|
* @param {*} [options] Override http request option.
|
|
@@ -18,7 +18,7 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const MSGraphWebhooksApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
20
|
/**
|
|
21
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
21
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the lifecycle events and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
22
22
|
* @summary Receive Microsoft Graph subscription lifecycle notifications
|
|
23
23
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
24
24
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -28,7 +28,7 @@ export declare const MSGraphWebhooksApiAxiosParamCreator: (configuration?: Confi
|
|
|
28
28
|
*/
|
|
29
29
|
receiveLifecycle: (tenantSlug: string, validationToken?: string, body?: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
30
|
/**
|
|
31
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
31
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the notifications and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
32
32
|
* @summary Receive Microsoft Graph change notifications
|
|
33
33
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
34
34
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -44,7 +44,7 @@ export declare const MSGraphWebhooksApiAxiosParamCreator: (configuration?: Confi
|
|
|
44
44
|
*/
|
|
45
45
|
export declare const MSGraphWebhooksApiFp: (configuration?: Configuration) => {
|
|
46
46
|
/**
|
|
47
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
47
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the lifecycle events and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
48
48
|
* @summary Receive Microsoft Graph subscription lifecycle notifications
|
|
49
49
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
50
50
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -54,7 +54,7 @@ export declare const MSGraphWebhooksApiFp: (configuration?: Configuration) => {
|
|
|
54
54
|
*/
|
|
55
55
|
receiveLifecycle(tenantSlug: string, validationToken?: string, body?: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
56
56
|
/**
|
|
57
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
57
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the notifications and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
58
58
|
* @summary Receive Microsoft Graph change notifications
|
|
59
59
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
60
60
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -70,7 +70,7 @@ export declare const MSGraphWebhooksApiFp: (configuration?: Configuration) => {
|
|
|
70
70
|
*/
|
|
71
71
|
export declare const MSGraphWebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
72
72
|
/**
|
|
73
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
73
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the lifecycle events and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
74
74
|
* @summary Receive Microsoft Graph subscription lifecycle notifications
|
|
75
75
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
76
76
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -80,7 +80,7 @@ export declare const MSGraphWebhooksApiFactory: (configuration?: Configuration,
|
|
|
80
80
|
*/
|
|
81
81
|
receiveLifecycle(tenantSlug: string, validationToken?: string, body?: object, options?: any): AxiosPromise<void>;
|
|
82
82
|
/**
|
|
83
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
83
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the notifications and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
84
84
|
* @summary Receive Microsoft Graph change notifications
|
|
85
85
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
86
86
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -148,7 +148,7 @@ export interface MSGraphWebhooksApiReceiveNotificationsRequest {
|
|
|
148
148
|
*/
|
|
149
149
|
export declare class MSGraphWebhooksApi extends BaseAPI {
|
|
150
150
|
/**
|
|
151
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
151
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the lifecycle events and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
152
152
|
* @summary Receive Microsoft Graph subscription lifecycle notifications
|
|
153
153
|
* @param {MSGraphWebhooksApiReceiveLifecycleRequest} requestParameters Request parameters.
|
|
154
154
|
* @param {*} [options] Override http request option.
|
|
@@ -157,7 +157,7 @@ export declare class MSGraphWebhooksApi extends BaseAPI {
|
|
|
157
157
|
*/
|
|
158
158
|
receiveLifecycle(requestParameters: MSGraphWebhooksApiReceiveLifecycleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
159
159
|
/**
|
|
160
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
160
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the notifications and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
161
161
|
* @summary Receive Microsoft Graph change notifications
|
|
162
162
|
* @param {MSGraphWebhooksApiReceiveNotificationsRequest} requestParameters Request parameters.
|
|
163
163
|
* @param {*} [options] Override http request option.
|
|
@@ -93,7 +93,7 @@ var MSGraphWebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
96
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the lifecycle events and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
97
97
|
* @summary Receive Microsoft Graph subscription lifecycle notifications
|
|
98
98
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
99
99
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -134,7 +134,7 @@ var MSGraphWebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
134
134
|
});
|
|
135
135
|
},
|
|
136
136
|
/**
|
|
137
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
137
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the notifications and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
138
138
|
* @summary Receive Microsoft Graph change notifications
|
|
139
139
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
140
140
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -185,7 +185,7 @@ var MSGraphWebhooksApiFp = function (configuration) {
|
|
|
185
185
|
var localVarAxiosParamCreator = (0, exports.MSGraphWebhooksApiAxiosParamCreator)(configuration);
|
|
186
186
|
return {
|
|
187
187
|
/**
|
|
188
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
188
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the lifecycle events and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
189
189
|
* @summary Receive Microsoft Graph subscription lifecycle notifications
|
|
190
190
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
191
191
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -207,7 +207,7 @@ var MSGraphWebhooksApiFp = function (configuration) {
|
|
|
207
207
|
});
|
|
208
208
|
},
|
|
209
209
|
/**
|
|
210
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
210
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the notifications and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
211
211
|
* @summary Receive Microsoft Graph change notifications
|
|
212
212
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
213
213
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -239,7 +239,7 @@ var MSGraphWebhooksApiFactory = function (configuration, basePath, axios) {
|
|
|
239
239
|
var localVarFp = (0, exports.MSGraphWebhooksApiFp)(configuration);
|
|
240
240
|
return {
|
|
241
241
|
/**
|
|
242
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
242
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the lifecycle events and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
243
243
|
* @summary Receive Microsoft Graph subscription lifecycle notifications
|
|
244
244
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
245
245
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -251,7 +251,7 @@ var MSGraphWebhooksApiFactory = function (configuration, basePath, axios) {
|
|
|
251
251
|
return localVarFp.receiveLifecycle(tenantSlug, validationToken, body, options).then(function (request) { return request(axios, basePath); });
|
|
252
252
|
},
|
|
253
253
|
/**
|
|
254
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
254
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the notifications and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
255
255
|
* @summary Receive Microsoft Graph change notifications
|
|
256
256
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
257
257
|
* @param {string} [validationToken] Echoed back as text/plain when present.
|
|
@@ -277,7 +277,7 @@ var MSGraphWebhooksApi = /** @class */ (function (_super) {
|
|
|
277
277
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
278
278
|
}
|
|
279
279
|
/**
|
|
280
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
280
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the lifecycle events and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
281
281
|
* @summary Receive Microsoft Graph subscription lifecycle notifications
|
|
282
282
|
* @param {MSGraphWebhooksApiReceiveLifecycleRequest} requestParameters Request parameters.
|
|
283
283
|
* @param {*} [options] Override http request option.
|
|
@@ -289,7 +289,7 @@ var MSGraphWebhooksApi = /** @class */ (function (_super) {
|
|
|
289
289
|
return (0, exports.MSGraphWebhooksApiFp)(this.configuration).receiveLifecycle(requestParameters.tenantSlug, requestParameters.validationToken, requestParameters.body, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
290
290
|
};
|
|
291
291
|
/**
|
|
292
|
-
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise
|
|
292
|
+
* Public route called by Microsoft Graph. Echoes `validationToken` as text/plain, otherwise enqueues the notifications and answers 202. See docs/webhooks/msgraph.md. **Required Permissions** none
|
|
293
293
|
* @summary Receive Microsoft Graph change notifications
|
|
294
294
|
* @param {MSGraphWebhooksApiReceiveNotificationsRequest} requestParameters Request parameters.
|
|
295
295
|
* @param {*} [options] Override http request option.
|