@incident-io/sdk 1.2.0 → 2.0.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/dist/cjs/apis/SchedulesV2Api.d.ts +2 -2
- package/dist/cjs/apis/SchedulesV2Api.js +2 -2
- package/dist/cjs/models/AuditLogsOnCallNotificationPauseResumedV1.d.ts +58 -0
- package/dist/cjs/models/AuditLogsOnCallNotificationPauseResumedV1.js +79 -0
- package/dist/cjs/models/ScheduleEntryV2.d.ts +4 -9
- package/dist/cjs/models/ScheduleEntryV2.js +0 -2
- package/dist/cjs/models/index.d.ts +1 -0
- package/dist/cjs/models/index.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/apis/SchedulesV2Api.d.ts +2 -2
- package/dist/esm/apis/SchedulesV2Api.js +2 -2
- package/dist/esm/models/AuditLogsOnCallNotificationPauseResumedV1.d.ts +58 -0
- package/dist/esm/models/AuditLogsOnCallNotificationPauseResumedV1.js +72 -0
- package/dist/esm/models/ScheduleEntryV2.d.ts +4 -9
- package/dist/esm/models/ScheduleEntryV2.js +0 -2
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -390,12 +390,12 @@ export declare class SchedulesV2Api extends runtime.BaseAPI {
|
|
|
390
390
|
*/
|
|
391
391
|
schedulesV2ListScheduleEntriesRequestOpts(requestParameters: SchedulesV2ListScheduleEntriesRequest): Promise<runtime.RequestOpts>;
|
|
392
392
|
/**
|
|
393
|
-
* List the schedule entries for a schedule over a window of time. Use this endpoint to find out who is on-call for a schedule, either right now or at any point in the future. Common uses include: - Building a calendar or timeline view of who is on-call. - Looking up who was on-call at a particular moment (for example, when an incident fired). - Exporting upcoming shifts into another system, such as a payroll or scheduling tool. The response groups entries into three lists: `scheduled` (the entries the rotation rules produce, before any overrides), `overrides` (any one-off overrides that apply in the window) and `final` (the effective schedule after overrides have been merged in — this is normally the list you want). Each entry includes the `rotation_id`
|
|
393
|
+
* List the schedule entries for a schedule over a window of time. Use this endpoint to find out who is on-call for a schedule, either right now or at any point in the future. Common uses include: - Building a calendar or timeline view of who is on-call. - Looking up who was on-call at a particular moment (for example, when an incident fired). - Exporting upcoming shifts into another system, such as a payroll or scheduling tool. The response groups entries into three lists: `scheduled` (the entries the rotation rules produce, before any overrides), `overrides` (any one-off overrides that apply in the window) and `final` (the effective schedule after overrides have been merged in — this is normally the list you want). Each entry includes the `rotation_id` it belongs to. Schedules can be made up of multiple rotations (for example, a primary and a secondary rotation) and each rotation can have several layers, and we return entries for every rotation and layer on the schedule. The endpoint returns all entries that overlap with the given window. If no window is provided we default to a sensible range starting from now. ## Pagination Responses are paginated. When more entries are available than fit on a single page, the response includes a `pagination_meta` block with two fields: - `after_url` — a fully-formed URL for the next page. The simplest way to paginate is to keep following this URL until it is no longer present. - `after` — an opaque cursor token. To fetch the next page manually, re-issue the request with `entry_window_start` set to this value and `entry_window_end` left unchanged from the original request. Treat the token as opaque — do not parse or modify it. Keep paginating until `pagination_meta` is absent from the response, at which point you have received every entry in the window.
|
|
394
394
|
* ListScheduleEntries Schedules V2
|
|
395
395
|
*/
|
|
396
396
|
schedulesV2ListScheduleEntriesRaw(requestParameters: SchedulesV2ListScheduleEntriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SchedulesListScheduleEntriesResultV2>>;
|
|
397
397
|
/**
|
|
398
|
-
* List the schedule entries for a schedule over a window of time. Use this endpoint to find out who is on-call for a schedule, either right now or at any point in the future. Common uses include: - Building a calendar or timeline view of who is on-call. - Looking up who was on-call at a particular moment (for example, when an incident fired). - Exporting upcoming shifts into another system, such as a payroll or scheduling tool. The response groups entries into three lists: `scheduled` (the entries the rotation rules produce, before any overrides), `overrides` (any one-off overrides that apply in the window) and `final` (the effective schedule after overrides have been merged in — this is normally the list you want). Each entry includes the `rotation_id`
|
|
398
|
+
* List the schedule entries for a schedule over a window of time. Use this endpoint to find out who is on-call for a schedule, either right now or at any point in the future. Common uses include: - Building a calendar or timeline view of who is on-call. - Looking up who was on-call at a particular moment (for example, when an incident fired). - Exporting upcoming shifts into another system, such as a payroll or scheduling tool. The response groups entries into three lists: `scheduled` (the entries the rotation rules produce, before any overrides), `overrides` (any one-off overrides that apply in the window) and `final` (the effective schedule after overrides have been merged in — this is normally the list you want). Each entry includes the `rotation_id` it belongs to. Schedules can be made up of multiple rotations (for example, a primary and a secondary rotation) and each rotation can have several layers, and we return entries for every rotation and layer on the schedule. The endpoint returns all entries that overlap with the given window. If no window is provided we default to a sensible range starting from now. ## Pagination Responses are paginated. When more entries are available than fit on a single page, the response includes a `pagination_meta` block with two fields: - `after_url` — a fully-formed URL for the next page. The simplest way to paginate is to keep following this URL until it is no longer present. - `after` — an opaque cursor token. To fetch the next page manually, re-issue the request with `entry_window_start` set to this value and `entry_window_end` left unchanged from the original request. Treat the token as opaque — do not parse or modify it. Keep paginating until `pagination_meta` is absent from the response, at which point you have received every entry in the window.
|
|
399
399
|
* ListScheduleEntries Schedules V2
|
|
400
400
|
*/
|
|
401
401
|
schedulesV2ListScheduleEntries(requestParameters: SchedulesV2ListScheduleEntriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SchedulesListScheduleEntriesResultV2>;
|
|
@@ -563,7 +563,7 @@ class SchedulesV2Api extends runtime.BaseAPI {
|
|
|
563
563
|
};
|
|
564
564
|
}
|
|
565
565
|
/**
|
|
566
|
-
* List the schedule entries for a schedule over a window of time. Use this endpoint to find out who is on-call for a schedule, either right now or at any point in the future. Common uses include: - Building a calendar or timeline view of who is on-call. - Looking up who was on-call at a particular moment (for example, when an incident fired). - Exporting upcoming shifts into another system, such as a payroll or scheduling tool. The response groups entries into three lists: `scheduled` (the entries the rotation rules produce, before any overrides), `overrides` (any one-off overrides that apply in the window) and `final` (the effective schedule after overrides have been merged in — this is normally the list you want). Each entry includes the `rotation_id`
|
|
566
|
+
* List the schedule entries for a schedule over a window of time. Use this endpoint to find out who is on-call for a schedule, either right now or at any point in the future. Common uses include: - Building a calendar or timeline view of who is on-call. - Looking up who was on-call at a particular moment (for example, when an incident fired). - Exporting upcoming shifts into another system, such as a payroll or scheduling tool. The response groups entries into three lists: `scheduled` (the entries the rotation rules produce, before any overrides), `overrides` (any one-off overrides that apply in the window) and `final` (the effective schedule after overrides have been merged in — this is normally the list you want). Each entry includes the `rotation_id` it belongs to. Schedules can be made up of multiple rotations (for example, a primary and a secondary rotation) and each rotation can have several layers, and we return entries for every rotation and layer on the schedule. The endpoint returns all entries that overlap with the given window. If no window is provided we default to a sensible range starting from now. ## Pagination Responses are paginated. When more entries are available than fit on a single page, the response includes a `pagination_meta` block with two fields: - `after_url` — a fully-formed URL for the next page. The simplest way to paginate is to keep following this URL until it is no longer present. - `after` — an opaque cursor token. To fetch the next page manually, re-issue the request with `entry_window_start` set to this value and `entry_window_end` left unchanged from the original request. Treat the token as opaque — do not parse or modify it. Keep paginating until `pagination_meta` is absent from the response, at which point you have received every entry in the window.
|
|
567
567
|
* ListScheduleEntries Schedules V2
|
|
568
568
|
*/
|
|
569
569
|
async schedulesV2ListScheduleEntriesRaw(requestParameters, initOverrides) {
|
|
@@ -572,7 +572,7 @@ class SchedulesV2Api extends runtime.BaseAPI {
|
|
|
572
572
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, SchedulesListScheduleEntriesResultV2_js_1.SchedulesListScheduleEntriesResultV2FromJSON)(jsonValue));
|
|
573
573
|
}
|
|
574
574
|
/**
|
|
575
|
-
* List the schedule entries for a schedule over a window of time. Use this endpoint to find out who is on-call for a schedule, either right now or at any point in the future. Common uses include: - Building a calendar or timeline view of who is on-call. - Looking up who was on-call at a particular moment (for example, when an incident fired). - Exporting upcoming shifts into another system, such as a payroll or scheduling tool. The response groups entries into three lists: `scheduled` (the entries the rotation rules produce, before any overrides), `overrides` (any one-off overrides that apply in the window) and `final` (the effective schedule after overrides have been merged in — this is normally the list you want). Each entry includes the `rotation_id`
|
|
575
|
+
* List the schedule entries for a schedule over a window of time. Use this endpoint to find out who is on-call for a schedule, either right now or at any point in the future. Common uses include: - Building a calendar or timeline view of who is on-call. - Looking up who was on-call at a particular moment (for example, when an incident fired). - Exporting upcoming shifts into another system, such as a payroll or scheduling tool. The response groups entries into three lists: `scheduled` (the entries the rotation rules produce, before any overrides), `overrides` (any one-off overrides that apply in the window) and `final` (the effective schedule after overrides have been merged in — this is normally the list you want). Each entry includes the `rotation_id` it belongs to. Schedules can be made up of multiple rotations (for example, a primary and a secondary rotation) and each rotation can have several layers, and we return entries for every rotation and layer on the schedule. The endpoint returns all entries that overlap with the given window. If no window is provided we default to a sensible range starting from now. ## Pagination Responses are paginated. When more entries are available than fit on a single page, the response includes a `pagination_meta` block with two fields: - `after_url` — a fully-formed URL for the next page. The simplest way to paginate is to keep following this URL until it is no longer present. - `after` — an opaque cursor token. To fetch the next page manually, re-issue the request with `entry_window_start` set to this value and `entry_window_end` left unchanged from the original request. Treat the token as opaque — do not parse or modify it. Keep paginating until `pagination_meta` is absent from the response, at which point you have received every entry in the window.
|
|
576
576
|
* ListScheduleEntries Schedules V2
|
|
577
577
|
*/
|
|
578
578
|
async schedulesV2ListScheduleEntries(requestParameters, initOverrides) {
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* incident.io
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AuditLogActorV2 } from './AuditLogActorV2.js';
|
|
13
|
+
import type { AuditLogOnCallNotificationPauseMetadataV2 } from './AuditLogOnCallNotificationPauseMetadataV2.js';
|
|
14
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsOnCallNotificationPauseResumedV1
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsOnCallNotificationPauseResumedV1 {
|
|
22
|
+
/**
|
|
23
|
+
* The type of log entry that this is
|
|
24
|
+
*/
|
|
25
|
+
action: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
actor: AuditLogActorV2;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
context: AuditLogEntryContextV2;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
metadata: AuditLogOnCallNotificationPauseMetadataV2;
|
|
38
|
+
/**
|
|
39
|
+
* When the entry occurred
|
|
40
|
+
*/
|
|
41
|
+
occurred_at: Date;
|
|
42
|
+
/**
|
|
43
|
+
* The custom field that was created
|
|
44
|
+
*/
|
|
45
|
+
targets: Array<AuditLogTargetV2>;
|
|
46
|
+
/**
|
|
47
|
+
* Which version the event is
|
|
48
|
+
*/
|
|
49
|
+
version: number;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the AuditLogsOnCallNotificationPauseResumedV1 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsOnCallNotificationPauseResumedV1(value: object): value is AuditLogsOnCallNotificationPauseResumedV1;
|
|
55
|
+
export declare function AuditLogsOnCallNotificationPauseResumedV1FromJSON(json: any): AuditLogsOnCallNotificationPauseResumedV1;
|
|
56
|
+
export declare function AuditLogsOnCallNotificationPauseResumedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsOnCallNotificationPauseResumedV1;
|
|
57
|
+
export declare function AuditLogsOnCallNotificationPauseResumedV1ToJSON(json: any): AuditLogsOnCallNotificationPauseResumedV1;
|
|
58
|
+
export declare function AuditLogsOnCallNotificationPauseResumedV1ToJSONTyped(value?: AuditLogsOnCallNotificationPauseResumedV1 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* incident.io
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAuditLogsOnCallNotificationPauseResumedV1 = instanceOfAuditLogsOnCallNotificationPauseResumedV1;
|
|
17
|
+
exports.AuditLogsOnCallNotificationPauseResumedV1FromJSON = AuditLogsOnCallNotificationPauseResumedV1FromJSON;
|
|
18
|
+
exports.AuditLogsOnCallNotificationPauseResumedV1FromJSONTyped = AuditLogsOnCallNotificationPauseResumedV1FromJSONTyped;
|
|
19
|
+
exports.AuditLogsOnCallNotificationPauseResumedV1ToJSON = AuditLogsOnCallNotificationPauseResumedV1ToJSON;
|
|
20
|
+
exports.AuditLogsOnCallNotificationPauseResumedV1ToJSONTyped = AuditLogsOnCallNotificationPauseResumedV1ToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
22
|
+
const AuditLogActorV2_js_1 = require("./AuditLogActorV2.js");
|
|
23
|
+
const AuditLogOnCallNotificationPauseMetadataV2_js_1 = require("./AuditLogOnCallNotificationPauseMetadataV2.js");
|
|
24
|
+
const AuditLogEntryContextV2_js_1 = require("./AuditLogEntryContextV2.js");
|
|
25
|
+
const AuditLogTargetV2_js_1 = require("./AuditLogTargetV2.js");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AuditLogsOnCallNotificationPauseResumedV1 interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfAuditLogsOnCallNotificationPauseResumedV1(value) {
|
|
30
|
+
if (!('action' in value) || value['action'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('actor' in value) || value['actor'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('context' in value) || value['context'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('occurred_at' in value) || value['occurred_at'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('targets' in value) || value['targets'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
function AuditLogsOnCallNotificationPauseResumedV1FromJSON(json) {
|
|
47
|
+
return AuditLogsOnCallNotificationPauseResumedV1FromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AuditLogsOnCallNotificationPauseResumedV1FromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'action': json['action'],
|
|
55
|
+
'actor': (0, AuditLogActorV2_js_1.AuditLogActorV2FromJSON)(json['actor']),
|
|
56
|
+
'context': (0, AuditLogEntryContextV2_js_1.AuditLogEntryContextV2FromJSON)(json['context']),
|
|
57
|
+
'metadata': (0, AuditLogOnCallNotificationPauseMetadataV2_js_1.AuditLogOnCallNotificationPauseMetadataV2FromJSON)(json['metadata']),
|
|
58
|
+
'occurred_at': (json['occurred_at'] == null ? json['occurred_at'] : (0, runtime_js_1.parseDateTime)(json['occurred_at'])),
|
|
59
|
+
'targets': (json['targets'].map(AuditLogTargetV2_js_1.AuditLogTargetV2FromJSON)),
|
|
60
|
+
'version': json['version'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function AuditLogsOnCallNotificationPauseResumedV1ToJSON(json) {
|
|
64
|
+
return AuditLogsOnCallNotificationPauseResumedV1ToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function AuditLogsOnCallNotificationPauseResumedV1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'action': value['action'],
|
|
72
|
+
'actor': (0, AuditLogActorV2_js_1.AuditLogActorV2ToJSON)(value['actor']),
|
|
73
|
+
'context': (0, AuditLogEntryContextV2_js_1.AuditLogEntryContextV2ToJSON)(value['context']),
|
|
74
|
+
'metadata': (0, AuditLogOnCallNotificationPauseMetadataV2_js_1.AuditLogOnCallNotificationPauseMetadataV2ToJSON)(value['metadata']),
|
|
75
|
+
'occurred_at': value['occurred_at'] == null ? value['occurred_at'] : (0, runtime_js_1.serializeDateTime)(value['occurred_at']),
|
|
76
|
+
'targets': (value['targets'].map(AuditLogTargetV2_js_1.AuditLogTargetV2ToJSON)),
|
|
77
|
+
'version': value['version'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -12,11 +12,10 @@
|
|
|
12
12
|
import type { UserV2 } from './UserV2.js';
|
|
13
13
|
/**
|
|
14
14
|
* A single shift on a schedule, representing who is on-call between a start
|
|
15
|
-
* and end time. When present, `rotation_id`
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* returned for every rotation and layer on the schedule.
|
|
15
|
+
* and end time. When present, `rotation_id` tells you which rotation the
|
|
16
|
+
* entry belongs to. A schedule may have multiple rotations (for example, a
|
|
17
|
+
* primary and a secondary rotation) and each rotation can be made up of several
|
|
18
|
+
* layers — entries are returned for every rotation and layer on the schedule.
|
|
20
19
|
*
|
|
21
20
|
* Entries come from two places: they are either generated from a schedule's
|
|
22
21
|
* rotation configuration (the regular pattern of who is on-call) or created by
|
|
@@ -46,10 +45,6 @@ export interface ScheduleEntryV2 {
|
|
|
46
45
|
* A unique identifier for this entry, used to determine a unique shift
|
|
47
46
|
*/
|
|
48
47
|
fingerprint?: string;
|
|
49
|
-
/**
|
|
50
|
-
* If present, the layer this entry applies to on the rotation
|
|
51
|
-
*/
|
|
52
|
-
layer_id?: string;
|
|
53
48
|
/**
|
|
54
49
|
* If present, the rotation this entry applies to on the schedule
|
|
55
50
|
*/
|
|
@@ -41,7 +41,6 @@ function ScheduleEntryV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'end_at': (json['end_at'] == null ? json['end_at'] : (0, runtime_js_1.parseDateTime)(json['end_at'])),
|
|
42
42
|
'entry_id': json['entry_id'] == null ? undefined : json['entry_id'],
|
|
43
43
|
'fingerprint': json['fingerprint'] == null ? undefined : json['fingerprint'],
|
|
44
|
-
'layer_id': json['layer_id'] == null ? undefined : json['layer_id'],
|
|
45
44
|
'rotation_id': json['rotation_id'] == null ? undefined : json['rotation_id'],
|
|
46
45
|
'start_at': (json['start_at'] == null ? json['start_at'] : (0, runtime_js_1.parseDateTime)(json['start_at'])),
|
|
47
46
|
'user': json['user'] == null ? undefined : (0, UserV2_js_1.UserV2FromJSON)(json['user']),
|
|
@@ -58,7 +57,6 @@ function ScheduleEntryV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
58
57
|
'end_at': value['end_at'] == null ? value['end_at'] : (0, runtime_js_1.serializeDateTime)(value['end_at']),
|
|
59
58
|
'entry_id': value['entry_id'],
|
|
60
59
|
'fingerprint': value['fingerprint'],
|
|
61
|
-
'layer_id': value['layer_id'],
|
|
62
60
|
'rotation_id': value['rotation_id'],
|
|
63
61
|
'start_at': value['start_at'] == null ? value['start_at'] : (0, runtime_js_1.serializeDateTime)(value['start_at']),
|
|
64
62
|
'user': (0, UserV2_js_1.UserV2ToJSON)(value['user']),
|
|
@@ -351,6 +351,7 @@ export * from './AuditLogsOnCallNotificationPauseCreatedV1.js';
|
|
|
351
351
|
export * from './AuditLogsOnCallNotificationPauseCreatedV2.js';
|
|
352
352
|
export * from './AuditLogsOnCallNotificationPauseDeletedV1.js';
|
|
353
353
|
export * from './AuditLogsOnCallNotificationPauseDeletedV2.js';
|
|
354
|
+
export * from './AuditLogsOnCallNotificationPauseResumedV1.js';
|
|
354
355
|
export * from './AuditLogsOnCallNotificationPauseUpdatedV1.js';
|
|
355
356
|
export * from './AuditLogsOnCallNotificationPauseUpdatedV2.js';
|
|
356
357
|
export * from './AuditLogsOnCallUpsellRequestedV1.js';
|
package/dist/cjs/models/index.js
CHANGED
|
@@ -369,6 +369,7 @@ __exportStar(require("./AuditLogsOnCallNotificationPauseCreatedV1.js"), exports)
|
|
|
369
369
|
__exportStar(require("./AuditLogsOnCallNotificationPauseCreatedV2.js"), exports);
|
|
370
370
|
__exportStar(require("./AuditLogsOnCallNotificationPauseDeletedV1.js"), exports);
|
|
371
371
|
__exportStar(require("./AuditLogsOnCallNotificationPauseDeletedV2.js"), exports);
|
|
372
|
+
__exportStar(require("./AuditLogsOnCallNotificationPauseResumedV1.js"), exports);
|
|
372
373
|
__exportStar(require("./AuditLogsOnCallNotificationPauseUpdatedV1.js"), exports);
|
|
373
374
|
__exportStar(require("./AuditLogsOnCallNotificationPauseUpdatedV2.js"), exports);
|
|
374
375
|
__exportStar(require("./AuditLogsOnCallUpsellRequestedV1.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "
|
|
1
|
+
export declare const VERSION = "2.0.0";
|
package/dist/cjs/version.js
CHANGED
|
@@ -390,12 +390,12 @@ export declare class SchedulesV2Api extends runtime.BaseAPI {
|
|
|
390
390
|
*/
|
|
391
391
|
schedulesV2ListScheduleEntriesRequestOpts(requestParameters: SchedulesV2ListScheduleEntriesRequest): Promise<runtime.RequestOpts>;
|
|
392
392
|
/**
|
|
393
|
-
* List the schedule entries for a schedule over a window of time. Use this endpoint to find out who is on-call for a schedule, either right now or at any point in the future. Common uses include: - Building a calendar or timeline view of who is on-call. - Looking up who was on-call at a particular moment (for example, when an incident fired). - Exporting upcoming shifts into another system, such as a payroll or scheduling tool. The response groups entries into three lists: `scheduled` (the entries the rotation rules produce, before any overrides), `overrides` (any one-off overrides that apply in the window) and `final` (the effective schedule after overrides have been merged in — this is normally the list you want). Each entry includes the `rotation_id`
|
|
393
|
+
* List the schedule entries for a schedule over a window of time. Use this endpoint to find out who is on-call for a schedule, either right now or at any point in the future. Common uses include: - Building a calendar or timeline view of who is on-call. - Looking up who was on-call at a particular moment (for example, when an incident fired). - Exporting upcoming shifts into another system, such as a payroll or scheduling tool. The response groups entries into three lists: `scheduled` (the entries the rotation rules produce, before any overrides), `overrides` (any one-off overrides that apply in the window) and `final` (the effective schedule after overrides have been merged in — this is normally the list you want). Each entry includes the `rotation_id` it belongs to. Schedules can be made up of multiple rotations (for example, a primary and a secondary rotation) and each rotation can have several layers, and we return entries for every rotation and layer on the schedule. The endpoint returns all entries that overlap with the given window. If no window is provided we default to a sensible range starting from now. ## Pagination Responses are paginated. When more entries are available than fit on a single page, the response includes a `pagination_meta` block with two fields: - `after_url` — a fully-formed URL for the next page. The simplest way to paginate is to keep following this URL until it is no longer present. - `after` — an opaque cursor token. To fetch the next page manually, re-issue the request with `entry_window_start` set to this value and `entry_window_end` left unchanged from the original request. Treat the token as opaque — do not parse or modify it. Keep paginating until `pagination_meta` is absent from the response, at which point you have received every entry in the window.
|
|
394
394
|
* ListScheduleEntries Schedules V2
|
|
395
395
|
*/
|
|
396
396
|
schedulesV2ListScheduleEntriesRaw(requestParameters: SchedulesV2ListScheduleEntriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SchedulesListScheduleEntriesResultV2>>;
|
|
397
397
|
/**
|
|
398
|
-
* List the schedule entries for a schedule over a window of time. Use this endpoint to find out who is on-call for a schedule, either right now or at any point in the future. Common uses include: - Building a calendar or timeline view of who is on-call. - Looking up who was on-call at a particular moment (for example, when an incident fired). - Exporting upcoming shifts into another system, such as a payroll or scheduling tool. The response groups entries into three lists: `scheduled` (the entries the rotation rules produce, before any overrides), `overrides` (any one-off overrides that apply in the window) and `final` (the effective schedule after overrides have been merged in — this is normally the list you want). Each entry includes the `rotation_id`
|
|
398
|
+
* List the schedule entries for a schedule over a window of time. Use this endpoint to find out who is on-call for a schedule, either right now or at any point in the future. Common uses include: - Building a calendar or timeline view of who is on-call. - Looking up who was on-call at a particular moment (for example, when an incident fired). - Exporting upcoming shifts into another system, such as a payroll or scheduling tool. The response groups entries into three lists: `scheduled` (the entries the rotation rules produce, before any overrides), `overrides` (any one-off overrides that apply in the window) and `final` (the effective schedule after overrides have been merged in — this is normally the list you want). Each entry includes the `rotation_id` it belongs to. Schedules can be made up of multiple rotations (for example, a primary and a secondary rotation) and each rotation can have several layers, and we return entries for every rotation and layer on the schedule. The endpoint returns all entries that overlap with the given window. If no window is provided we default to a sensible range starting from now. ## Pagination Responses are paginated. When more entries are available than fit on a single page, the response includes a `pagination_meta` block with two fields: - `after_url` — a fully-formed URL for the next page. The simplest way to paginate is to keep following this URL until it is no longer present. - `after` — an opaque cursor token. To fetch the next page manually, re-issue the request with `entry_window_start` set to this value and `entry_window_end` left unchanged from the original request. Treat the token as opaque — do not parse or modify it. Keep paginating until `pagination_meta` is absent from the response, at which point you have received every entry in the window.
|
|
399
399
|
* ListScheduleEntries Schedules V2
|
|
400
400
|
*/
|
|
401
401
|
schedulesV2ListScheduleEntries(requestParameters: SchedulesV2ListScheduleEntriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SchedulesListScheduleEntriesResultV2>;
|
|
@@ -527,7 +527,7 @@ export class SchedulesV2Api extends runtime.BaseAPI {
|
|
|
527
527
|
};
|
|
528
528
|
}
|
|
529
529
|
/**
|
|
530
|
-
* List the schedule entries for a schedule over a window of time. Use this endpoint to find out who is on-call for a schedule, either right now or at any point in the future. Common uses include: - Building a calendar or timeline view of who is on-call. - Looking up who was on-call at a particular moment (for example, when an incident fired). - Exporting upcoming shifts into another system, such as a payroll or scheduling tool. The response groups entries into three lists: `scheduled` (the entries the rotation rules produce, before any overrides), `overrides` (any one-off overrides that apply in the window) and `final` (the effective schedule after overrides have been merged in — this is normally the list you want). Each entry includes the `rotation_id`
|
|
530
|
+
* List the schedule entries for a schedule over a window of time. Use this endpoint to find out who is on-call for a schedule, either right now or at any point in the future. Common uses include: - Building a calendar or timeline view of who is on-call. - Looking up who was on-call at a particular moment (for example, when an incident fired). - Exporting upcoming shifts into another system, such as a payroll or scheduling tool. The response groups entries into three lists: `scheduled` (the entries the rotation rules produce, before any overrides), `overrides` (any one-off overrides that apply in the window) and `final` (the effective schedule after overrides have been merged in — this is normally the list you want). Each entry includes the `rotation_id` it belongs to. Schedules can be made up of multiple rotations (for example, a primary and a secondary rotation) and each rotation can have several layers, and we return entries for every rotation and layer on the schedule. The endpoint returns all entries that overlap with the given window. If no window is provided we default to a sensible range starting from now. ## Pagination Responses are paginated. When more entries are available than fit on a single page, the response includes a `pagination_meta` block with two fields: - `after_url` — a fully-formed URL for the next page. The simplest way to paginate is to keep following this URL until it is no longer present. - `after` — an opaque cursor token. To fetch the next page manually, re-issue the request with `entry_window_start` set to this value and `entry_window_end` left unchanged from the original request. Treat the token as opaque — do not parse or modify it. Keep paginating until `pagination_meta` is absent from the response, at which point you have received every entry in the window.
|
|
531
531
|
* ListScheduleEntries Schedules V2
|
|
532
532
|
*/
|
|
533
533
|
async schedulesV2ListScheduleEntriesRaw(requestParameters, initOverrides) {
|
|
@@ -536,7 +536,7 @@ export class SchedulesV2Api extends runtime.BaseAPI {
|
|
|
536
536
|
return new runtime.JSONApiResponse(response, (jsonValue) => SchedulesListScheduleEntriesResultV2FromJSON(jsonValue));
|
|
537
537
|
}
|
|
538
538
|
/**
|
|
539
|
-
* List the schedule entries for a schedule over a window of time. Use this endpoint to find out who is on-call for a schedule, either right now or at any point in the future. Common uses include: - Building a calendar or timeline view of who is on-call. - Looking up who was on-call at a particular moment (for example, when an incident fired). - Exporting upcoming shifts into another system, such as a payroll or scheduling tool. The response groups entries into three lists: `scheduled` (the entries the rotation rules produce, before any overrides), `overrides` (any one-off overrides that apply in the window) and `final` (the effective schedule after overrides have been merged in — this is normally the list you want). Each entry includes the `rotation_id`
|
|
539
|
+
* List the schedule entries for a schedule over a window of time. Use this endpoint to find out who is on-call for a schedule, either right now or at any point in the future. Common uses include: - Building a calendar or timeline view of who is on-call. - Looking up who was on-call at a particular moment (for example, when an incident fired). - Exporting upcoming shifts into another system, such as a payroll or scheduling tool. The response groups entries into three lists: `scheduled` (the entries the rotation rules produce, before any overrides), `overrides` (any one-off overrides that apply in the window) and `final` (the effective schedule after overrides have been merged in — this is normally the list you want). Each entry includes the `rotation_id` it belongs to. Schedules can be made up of multiple rotations (for example, a primary and a secondary rotation) and each rotation can have several layers, and we return entries for every rotation and layer on the schedule. The endpoint returns all entries that overlap with the given window. If no window is provided we default to a sensible range starting from now. ## Pagination Responses are paginated. When more entries are available than fit on a single page, the response includes a `pagination_meta` block with two fields: - `after_url` — a fully-formed URL for the next page. The simplest way to paginate is to keep following this URL until it is no longer present. - `after` — an opaque cursor token. To fetch the next page manually, re-issue the request with `entry_window_start` set to this value and `entry_window_end` left unchanged from the original request. Treat the token as opaque — do not parse or modify it. Keep paginating until `pagination_meta` is absent from the response, at which point you have received every entry in the window.
|
|
540
540
|
* ListScheduleEntries Schedules V2
|
|
541
541
|
*/
|
|
542
542
|
async schedulesV2ListScheduleEntries(requestParameters, initOverrides) {
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* incident.io
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AuditLogActorV2 } from './AuditLogActorV2.js';
|
|
13
|
+
import type { AuditLogOnCallNotificationPauseMetadataV2 } from './AuditLogOnCallNotificationPauseMetadataV2.js';
|
|
14
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsOnCallNotificationPauseResumedV1
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsOnCallNotificationPauseResumedV1 {
|
|
22
|
+
/**
|
|
23
|
+
* The type of log entry that this is
|
|
24
|
+
*/
|
|
25
|
+
action: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
actor: AuditLogActorV2;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
context: AuditLogEntryContextV2;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
metadata: AuditLogOnCallNotificationPauseMetadataV2;
|
|
38
|
+
/**
|
|
39
|
+
* When the entry occurred
|
|
40
|
+
*/
|
|
41
|
+
occurred_at: Date;
|
|
42
|
+
/**
|
|
43
|
+
* The custom field that was created
|
|
44
|
+
*/
|
|
45
|
+
targets: Array<AuditLogTargetV2>;
|
|
46
|
+
/**
|
|
47
|
+
* Which version the event is
|
|
48
|
+
*/
|
|
49
|
+
version: number;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the AuditLogsOnCallNotificationPauseResumedV1 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsOnCallNotificationPauseResumedV1(value: object): value is AuditLogsOnCallNotificationPauseResumedV1;
|
|
55
|
+
export declare function AuditLogsOnCallNotificationPauseResumedV1FromJSON(json: any): AuditLogsOnCallNotificationPauseResumedV1;
|
|
56
|
+
export declare function AuditLogsOnCallNotificationPauseResumedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsOnCallNotificationPauseResumedV1;
|
|
57
|
+
export declare function AuditLogsOnCallNotificationPauseResumedV1ToJSON(json: any): AuditLogsOnCallNotificationPauseResumedV1;
|
|
58
|
+
export declare function AuditLogsOnCallNotificationPauseResumedV1ToJSONTyped(value?: AuditLogsOnCallNotificationPauseResumedV1 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* incident.io
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { parseDateTime, serializeDateTime } from '../runtime.js';
|
|
15
|
+
import { AuditLogActorV2FromJSON, AuditLogActorV2ToJSON, } from './AuditLogActorV2.js';
|
|
16
|
+
import { AuditLogOnCallNotificationPauseMetadataV2FromJSON, AuditLogOnCallNotificationPauseMetadataV2ToJSON, } from './AuditLogOnCallNotificationPauseMetadataV2.js';
|
|
17
|
+
import { AuditLogEntryContextV2FromJSON, AuditLogEntryContextV2ToJSON, } from './AuditLogEntryContextV2.js';
|
|
18
|
+
import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the AuditLogsOnCallNotificationPauseResumedV1 interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfAuditLogsOnCallNotificationPauseResumedV1(value) {
|
|
23
|
+
if (!('action' in value) || value['action'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('actor' in value) || value['actor'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('context' in value) || value['context'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('occurred_at' in value) || value['occurred_at'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('targets' in value) || value['targets'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
export function AuditLogsOnCallNotificationPauseResumedV1FromJSON(json) {
|
|
40
|
+
return AuditLogsOnCallNotificationPauseResumedV1FromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function AuditLogsOnCallNotificationPauseResumedV1FromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'action': json['action'],
|
|
48
|
+
'actor': AuditLogActorV2FromJSON(json['actor']),
|
|
49
|
+
'context': AuditLogEntryContextV2FromJSON(json['context']),
|
|
50
|
+
'metadata': AuditLogOnCallNotificationPauseMetadataV2FromJSON(json['metadata']),
|
|
51
|
+
'occurred_at': (json['occurred_at'] == null ? json['occurred_at'] : parseDateTime(json['occurred_at'])),
|
|
52
|
+
'targets': (json['targets'].map(AuditLogTargetV2FromJSON)),
|
|
53
|
+
'version': json['version'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export function AuditLogsOnCallNotificationPauseResumedV1ToJSON(json) {
|
|
57
|
+
return AuditLogsOnCallNotificationPauseResumedV1ToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function AuditLogsOnCallNotificationPauseResumedV1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'action': value['action'],
|
|
65
|
+
'actor': AuditLogActorV2ToJSON(value['actor']),
|
|
66
|
+
'context': AuditLogEntryContextV2ToJSON(value['context']),
|
|
67
|
+
'metadata': AuditLogOnCallNotificationPauseMetadataV2ToJSON(value['metadata']),
|
|
68
|
+
'occurred_at': value['occurred_at'] == null ? value['occurred_at'] : serializeDateTime(value['occurred_at']),
|
|
69
|
+
'targets': (value['targets'].map(AuditLogTargetV2ToJSON)),
|
|
70
|
+
'version': value['version'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -12,11 +12,10 @@
|
|
|
12
12
|
import type { UserV2 } from './UserV2.js';
|
|
13
13
|
/**
|
|
14
14
|
* A single shift on a schedule, representing who is on-call between a start
|
|
15
|
-
* and end time. When present, `rotation_id`
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* returned for every rotation and layer on the schedule.
|
|
15
|
+
* and end time. When present, `rotation_id` tells you which rotation the
|
|
16
|
+
* entry belongs to. A schedule may have multiple rotations (for example, a
|
|
17
|
+
* primary and a secondary rotation) and each rotation can be made up of several
|
|
18
|
+
* layers — entries are returned for every rotation and layer on the schedule.
|
|
20
19
|
*
|
|
21
20
|
* Entries come from two places: they are either generated from a schedule's
|
|
22
21
|
* rotation configuration (the regular pattern of who is on-call) or created by
|
|
@@ -46,10 +45,6 @@ export interface ScheduleEntryV2 {
|
|
|
46
45
|
* A unique identifier for this entry, used to determine a unique shift
|
|
47
46
|
*/
|
|
48
47
|
fingerprint?: string;
|
|
49
|
-
/**
|
|
50
|
-
* If present, the layer this entry applies to on the rotation
|
|
51
|
-
*/
|
|
52
|
-
layer_id?: string;
|
|
53
48
|
/**
|
|
54
49
|
* If present, the rotation this entry applies to on the schedule
|
|
55
50
|
*/
|
|
@@ -34,7 +34,6 @@ export function ScheduleEntryV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'end_at': (json['end_at'] == null ? json['end_at'] : parseDateTime(json['end_at'])),
|
|
35
35
|
'entry_id': json['entry_id'] == null ? undefined : json['entry_id'],
|
|
36
36
|
'fingerprint': json['fingerprint'] == null ? undefined : json['fingerprint'],
|
|
37
|
-
'layer_id': json['layer_id'] == null ? undefined : json['layer_id'],
|
|
38
37
|
'rotation_id': json['rotation_id'] == null ? undefined : json['rotation_id'],
|
|
39
38
|
'start_at': (json['start_at'] == null ? json['start_at'] : parseDateTime(json['start_at'])),
|
|
40
39
|
'user': json['user'] == null ? undefined : UserV2FromJSON(json['user']),
|
|
@@ -51,7 +50,6 @@ export function ScheduleEntryV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
51
50
|
'end_at': value['end_at'] == null ? value['end_at'] : serializeDateTime(value['end_at']),
|
|
52
51
|
'entry_id': value['entry_id'],
|
|
53
52
|
'fingerprint': value['fingerprint'],
|
|
54
|
-
'layer_id': value['layer_id'],
|
|
55
53
|
'rotation_id': value['rotation_id'],
|
|
56
54
|
'start_at': value['start_at'] == null ? value['start_at'] : serializeDateTime(value['start_at']),
|
|
57
55
|
'user': UserV2ToJSON(value['user']),
|
|
@@ -351,6 +351,7 @@ export * from './AuditLogsOnCallNotificationPauseCreatedV1.js';
|
|
|
351
351
|
export * from './AuditLogsOnCallNotificationPauseCreatedV2.js';
|
|
352
352
|
export * from './AuditLogsOnCallNotificationPauseDeletedV1.js';
|
|
353
353
|
export * from './AuditLogsOnCallNotificationPauseDeletedV2.js';
|
|
354
|
+
export * from './AuditLogsOnCallNotificationPauseResumedV1.js';
|
|
354
355
|
export * from './AuditLogsOnCallNotificationPauseUpdatedV1.js';
|
|
355
356
|
export * from './AuditLogsOnCallNotificationPauseUpdatedV2.js';
|
|
356
357
|
export * from './AuditLogsOnCallUpsellRequestedV1.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -353,6 +353,7 @@ export * from './AuditLogsOnCallNotificationPauseCreatedV1.js';
|
|
|
353
353
|
export * from './AuditLogsOnCallNotificationPauseCreatedV2.js';
|
|
354
354
|
export * from './AuditLogsOnCallNotificationPauseDeletedV1.js';
|
|
355
355
|
export * from './AuditLogsOnCallNotificationPauseDeletedV2.js';
|
|
356
|
+
export * from './AuditLogsOnCallNotificationPauseResumedV1.js';
|
|
356
357
|
export * from './AuditLogsOnCallNotificationPauseUpdatedV1.js';
|
|
357
358
|
export * from './AuditLogsOnCallNotificationPauseUpdatedV2.js';
|
|
358
359
|
export * from './AuditLogsOnCallUpsellRequestedV1.js';
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "
|
|
1
|
+
export declare const VERSION = "2.0.0";
|
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Written by `make build` from package.json. Do not edit.
|
|
2
|
-
export const VERSION = "
|
|
2
|
+
export const VERSION = "2.0.0";
|