@incident-io/sdk 2.49.0 → 2.50.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/models/PayConfigV2.d.ts +4 -3
- package/dist/cjs/models/PayConfigV2.js +1 -0
- package/dist/cjs/models/PayConfigsCreatePayloadV2.d.ts +3 -2
- package/dist/cjs/models/PayConfigsCreatePayloadV2.js +1 -0
- package/dist/cjs/models/PayConfigsUpdatePayloadV2.d.ts +3 -2
- package/dist/cjs/models/PayConfigsUpdatePayloadV2.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/models/PayConfigV2.d.ts +4 -3
- package/dist/esm/models/PayConfigV2.js +1 -0
- package/dist/esm/models/PayConfigsCreatePayloadV2.d.ts +3 -2
- package/dist/esm/models/PayConfigsCreatePayloadV2.js +1 -0
- package/dist/esm/models/PayConfigsUpdatePayloadV2.d.ts +3 -2
- package/dist/esm/models/PayConfigsUpdatePayloadV2.js +1 -0
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ import type { PayConfigWeeklyRuleV2 } from './PayConfigWeeklyRuleV2.js';
|
|
|
23
23
|
*/
|
|
24
24
|
export interface PayConfigV2 {
|
|
25
25
|
/**
|
|
26
|
-
* Rate paid for any time no rule covers, in the lowest denomination of the currency
|
|
26
|
+
* Rate paid for one unit of rate_time_unit, for any time no rule covers, in the lowest denomination of the currency
|
|
27
27
|
*/
|
|
28
28
|
base_rate_cents: number;
|
|
29
29
|
/**
|
|
@@ -51,7 +51,7 @@ export interface PayConfigV2 {
|
|
|
51
51
|
*/
|
|
52
52
|
published_at?: Date;
|
|
53
53
|
/**
|
|
54
|
-
* The unit of time every rate on this config is quoted per. Pay is pro-rated by the second
|
|
54
|
+
* The unit of time every rate on this config is quoted per: hour, day, or week. A day is 24 hours of shift time and a week is 7 days. Pay is pro-rated by the second.
|
|
55
55
|
*/
|
|
56
56
|
rate_time_unit: PayConfigV2RateTimeUnitEnum;
|
|
57
57
|
/**
|
|
@@ -63,7 +63,7 @@ export interface PayConfigV2 {
|
|
|
63
63
|
*/
|
|
64
64
|
updated_at: Date;
|
|
65
65
|
/**
|
|
66
|
-
* Rules that apply every week, by day of week and time of day, in evaluation order
|
|
66
|
+
* Rules that apply every week, by day of week and time of day, in evaluation order. Must be empty when rate_time_unit is week.
|
|
67
67
|
*/
|
|
68
68
|
weekly_rules: Array<PayConfigWeeklyRuleV2>;
|
|
69
69
|
}
|
|
@@ -73,6 +73,7 @@ export interface PayConfigV2 {
|
|
|
73
73
|
export declare const PayConfigV2RateTimeUnitEnum: {
|
|
74
74
|
readonly Hour: "hour";
|
|
75
75
|
readonly Day: "day";
|
|
76
|
+
readonly Week: "week";
|
|
76
77
|
};
|
|
77
78
|
export type PayConfigV2RateTimeUnitEnum = typeof PayConfigV2RateTimeUnitEnum[keyof typeof PayConfigV2RateTimeUnitEnum];
|
|
78
79
|
/**
|
|
@@ -18,7 +18,7 @@ import type { PayConfigOneOffRulePayloadV2 } from './PayConfigOneOffRulePayloadV
|
|
|
18
18
|
*/
|
|
19
19
|
export interface PayConfigsCreatePayloadV2 {
|
|
20
20
|
/**
|
|
21
|
-
* Rate paid for any time no rule covers, in the lowest denomination of the currency
|
|
21
|
+
* Rate paid for one unit of rate_time_unit, for any time no rule covers, in the lowest denomination of the currency
|
|
22
22
|
*/
|
|
23
23
|
base_rate_cents: number;
|
|
24
24
|
/**
|
|
@@ -34,7 +34,7 @@ export interface PayConfigsCreatePayloadV2 {
|
|
|
34
34
|
*/
|
|
35
35
|
one_off_rules?: Array<PayConfigOneOffRulePayloadV2>;
|
|
36
36
|
/**
|
|
37
|
-
* The unit of time every rate on this config is quoted per
|
|
37
|
+
* The unit of time every rate on this config is quoted per: hour, day, or week. A day is 24 hours of shift time and a week is 7 days. Pay is pro-rated by the second.
|
|
38
38
|
*/
|
|
39
39
|
rate_time_unit: PayConfigsCreatePayloadV2RateTimeUnitEnum;
|
|
40
40
|
/**
|
|
@@ -52,6 +52,7 @@ export interface PayConfigsCreatePayloadV2 {
|
|
|
52
52
|
export declare const PayConfigsCreatePayloadV2RateTimeUnitEnum: {
|
|
53
53
|
readonly Hour: "hour";
|
|
54
54
|
readonly Day: "day";
|
|
55
|
+
readonly Week: "week";
|
|
55
56
|
};
|
|
56
57
|
export type PayConfigsCreatePayloadV2RateTimeUnitEnum = typeof PayConfigsCreatePayloadV2RateTimeUnitEnum[keyof typeof PayConfigsCreatePayloadV2RateTimeUnitEnum];
|
|
57
58
|
/**
|
|
@@ -27,6 +27,7 @@ const PayConfigOneOffRulePayloadV2_js_1 = require("./PayConfigOneOffRulePayloadV
|
|
|
27
27
|
exports.PayConfigsCreatePayloadV2RateTimeUnitEnum = {
|
|
28
28
|
Hour: 'hour',
|
|
29
29
|
Day: 'day',
|
|
30
|
+
Week: 'week',
|
|
30
31
|
};
|
|
31
32
|
/**
|
|
32
33
|
* Check if a given object implements the PayConfigsCreatePayloadV2 interface.
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface PayConfigsUpdatePayloadV2 {
|
|
18
18
|
/**
|
|
19
|
-
* Rate paid for any time no rule covers, in the lowest denomination of the currency
|
|
19
|
+
* Rate paid for one unit of rate_time_unit, for any time no rule covers, in the lowest denomination of the currency
|
|
20
20
|
*/
|
|
21
21
|
base_rate_cents: number;
|
|
22
22
|
/**
|
|
@@ -28,7 +28,7 @@ export interface PayConfigsUpdatePayloadV2 {
|
|
|
28
28
|
*/
|
|
29
29
|
name: string;
|
|
30
30
|
/**
|
|
31
|
-
* The unit of time every rate on this config is quoted per. Pay is pro-rated by the second
|
|
31
|
+
* The unit of time every rate on this config is quoted per: hour, day, or week. A day is 24 hours of shift time and a week is 7 days. Pay is pro-rated by the second.
|
|
32
32
|
*/
|
|
33
33
|
rate_time_unit: PayConfigsUpdatePayloadV2RateTimeUnitEnum;
|
|
34
34
|
/**
|
|
@@ -42,6 +42,7 @@ export interface PayConfigsUpdatePayloadV2 {
|
|
|
42
42
|
export declare const PayConfigsUpdatePayloadV2RateTimeUnitEnum: {
|
|
43
43
|
readonly Hour: "hour";
|
|
44
44
|
readonly Day: "day";
|
|
45
|
+
readonly Week: "week";
|
|
45
46
|
};
|
|
46
47
|
export type PayConfigsUpdatePayloadV2RateTimeUnitEnum = typeof PayConfigsUpdatePayloadV2RateTimeUnitEnum[keyof typeof PayConfigsUpdatePayloadV2RateTimeUnitEnum];
|
|
47
48
|
/**
|
|
@@ -25,6 +25,7 @@ exports.PayConfigsUpdatePayloadV2ToJSONTyped = PayConfigsUpdatePayloadV2ToJSONTy
|
|
|
25
25
|
exports.PayConfigsUpdatePayloadV2RateTimeUnitEnum = {
|
|
26
26
|
Hour: 'hour',
|
|
27
27
|
Day: 'day',
|
|
28
|
+
Week: 'week',
|
|
28
29
|
};
|
|
29
30
|
/**
|
|
30
31
|
* Check if a given object implements the PayConfigsUpdatePayloadV2 interface.
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.50.0";
|
package/dist/cjs/version.js
CHANGED
|
@@ -23,7 +23,7 @@ import type { PayConfigWeeklyRuleV2 } from './PayConfigWeeklyRuleV2.js';
|
|
|
23
23
|
*/
|
|
24
24
|
export interface PayConfigV2 {
|
|
25
25
|
/**
|
|
26
|
-
* Rate paid for any time no rule covers, in the lowest denomination of the currency
|
|
26
|
+
* Rate paid for one unit of rate_time_unit, for any time no rule covers, in the lowest denomination of the currency
|
|
27
27
|
*/
|
|
28
28
|
base_rate_cents: number;
|
|
29
29
|
/**
|
|
@@ -51,7 +51,7 @@ export interface PayConfigV2 {
|
|
|
51
51
|
*/
|
|
52
52
|
published_at?: Date;
|
|
53
53
|
/**
|
|
54
|
-
* The unit of time every rate on this config is quoted per. Pay is pro-rated by the second
|
|
54
|
+
* The unit of time every rate on this config is quoted per: hour, day, or week. A day is 24 hours of shift time and a week is 7 days. Pay is pro-rated by the second.
|
|
55
55
|
*/
|
|
56
56
|
rate_time_unit: PayConfigV2RateTimeUnitEnum;
|
|
57
57
|
/**
|
|
@@ -63,7 +63,7 @@ export interface PayConfigV2 {
|
|
|
63
63
|
*/
|
|
64
64
|
updated_at: Date;
|
|
65
65
|
/**
|
|
66
|
-
* Rules that apply every week, by day of week and time of day, in evaluation order
|
|
66
|
+
* Rules that apply every week, by day of week and time of day, in evaluation order. Must be empty when rate_time_unit is week.
|
|
67
67
|
*/
|
|
68
68
|
weekly_rules: Array<PayConfigWeeklyRuleV2>;
|
|
69
69
|
}
|
|
@@ -73,6 +73,7 @@ export interface PayConfigV2 {
|
|
|
73
73
|
export declare const PayConfigV2RateTimeUnitEnum: {
|
|
74
74
|
readonly Hour: "hour";
|
|
75
75
|
readonly Day: "day";
|
|
76
|
+
readonly Week: "week";
|
|
76
77
|
};
|
|
77
78
|
export type PayConfigV2RateTimeUnitEnum = typeof PayConfigV2RateTimeUnitEnum[keyof typeof PayConfigV2RateTimeUnitEnum];
|
|
78
79
|
/**
|
|
@@ -18,7 +18,7 @@ import type { PayConfigOneOffRulePayloadV2 } from './PayConfigOneOffRulePayloadV
|
|
|
18
18
|
*/
|
|
19
19
|
export interface PayConfigsCreatePayloadV2 {
|
|
20
20
|
/**
|
|
21
|
-
* Rate paid for any time no rule covers, in the lowest denomination of the currency
|
|
21
|
+
* Rate paid for one unit of rate_time_unit, for any time no rule covers, in the lowest denomination of the currency
|
|
22
22
|
*/
|
|
23
23
|
base_rate_cents: number;
|
|
24
24
|
/**
|
|
@@ -34,7 +34,7 @@ export interface PayConfigsCreatePayloadV2 {
|
|
|
34
34
|
*/
|
|
35
35
|
one_off_rules?: Array<PayConfigOneOffRulePayloadV2>;
|
|
36
36
|
/**
|
|
37
|
-
* The unit of time every rate on this config is quoted per
|
|
37
|
+
* The unit of time every rate on this config is quoted per: hour, day, or week. A day is 24 hours of shift time and a week is 7 days. Pay is pro-rated by the second.
|
|
38
38
|
*/
|
|
39
39
|
rate_time_unit: PayConfigsCreatePayloadV2RateTimeUnitEnum;
|
|
40
40
|
/**
|
|
@@ -52,6 +52,7 @@ export interface PayConfigsCreatePayloadV2 {
|
|
|
52
52
|
export declare const PayConfigsCreatePayloadV2RateTimeUnitEnum: {
|
|
53
53
|
readonly Hour: "hour";
|
|
54
54
|
readonly Day: "day";
|
|
55
|
+
readonly Week: "week";
|
|
55
56
|
};
|
|
56
57
|
export type PayConfigsCreatePayloadV2RateTimeUnitEnum = typeof PayConfigsCreatePayloadV2RateTimeUnitEnum[keyof typeof PayConfigsCreatePayloadV2RateTimeUnitEnum];
|
|
57
58
|
/**
|
|
@@ -19,6 +19,7 @@ import { PayConfigOneOffRulePayloadV2FromJSON, PayConfigOneOffRulePayloadV2ToJSO
|
|
|
19
19
|
export const PayConfigsCreatePayloadV2RateTimeUnitEnum = {
|
|
20
20
|
Hour: 'hour',
|
|
21
21
|
Day: 'day',
|
|
22
|
+
Week: 'week',
|
|
22
23
|
};
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the PayConfigsCreatePayloadV2 interface.
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface PayConfigsUpdatePayloadV2 {
|
|
18
18
|
/**
|
|
19
|
-
* Rate paid for any time no rule covers, in the lowest denomination of the currency
|
|
19
|
+
* Rate paid for one unit of rate_time_unit, for any time no rule covers, in the lowest denomination of the currency
|
|
20
20
|
*/
|
|
21
21
|
base_rate_cents: number;
|
|
22
22
|
/**
|
|
@@ -28,7 +28,7 @@ export interface PayConfigsUpdatePayloadV2 {
|
|
|
28
28
|
*/
|
|
29
29
|
name: string;
|
|
30
30
|
/**
|
|
31
|
-
* The unit of time every rate on this config is quoted per. Pay is pro-rated by the second
|
|
31
|
+
* The unit of time every rate on this config is quoted per: hour, day, or week. A day is 24 hours of shift time and a week is 7 days. Pay is pro-rated by the second.
|
|
32
32
|
*/
|
|
33
33
|
rate_time_unit: PayConfigsUpdatePayloadV2RateTimeUnitEnum;
|
|
34
34
|
/**
|
|
@@ -42,6 +42,7 @@ export interface PayConfigsUpdatePayloadV2 {
|
|
|
42
42
|
export declare const PayConfigsUpdatePayloadV2RateTimeUnitEnum: {
|
|
43
43
|
readonly Hour: "hour";
|
|
44
44
|
readonly Day: "day";
|
|
45
|
+
readonly Week: "week";
|
|
45
46
|
};
|
|
46
47
|
export type PayConfigsUpdatePayloadV2RateTimeUnitEnum = typeof PayConfigsUpdatePayloadV2RateTimeUnitEnum[keyof typeof PayConfigsUpdatePayloadV2RateTimeUnitEnum];
|
|
47
48
|
/**
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.50.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.
|
|
2
|
+
export const VERSION = "2.50.0";
|