incident_io_api 2.48.0 → 2.49.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0cdd3ce38882717646ac23ee5e9e8a5837dedb4404a0e46efb44d765d3796d22
|
|
4
|
+
data.tar.gz: 87f66a66e42dc7766afb50e9ff0b832a6c3194c5adaa9dc3f36c9ee2db47ae70
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 75b4e6dd08a17c69df803ded007b4a980c3b22865be0855bc329100a98bfd69517f46204d95c5041e0270d5be1d4c7b7193e74baa3a54d1e3bfae37b7d6e3115
|
|
7
|
+
data.tar.gz: 3d5ca0467c9bc5b5e6e8af9ebd19d33f32fbd50b45d8537350d196e392733d581e6e208183850afe05d5fe4cb2ff125bc853a7b104fd7f3cb2f752cd3df003db
|
|
@@ -16,7 +16,7 @@ require 'time'
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
# A pay config sets what someone is paid for being on call: a base rate, plus rules that override it at particular times. An on-call pay report prices each person's shifts against one. Rules are evaluated in the order they are returned, and the first one that covers a shift wins. Any time no rule covers is paid at the base rate.
|
|
18
18
|
class PayConfigV2 < ApiModelBase
|
|
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
|
attr_accessor :base_rate_cents
|
|
21
21
|
|
|
22
22
|
attr_accessor :created_at
|
|
@@ -36,7 +36,7 @@ module IncidentIo
|
|
|
36
36
|
# When a published report first priced against this config. Once set, editing the config needs the schedule_pay_configs.update_published scope.
|
|
37
37
|
attr_accessor :published_at
|
|
38
38
|
|
|
39
|
-
# The unit of time every rate on this config is quoted per. Pay is pro-rated by the second
|
|
39
|
+
# 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. Known values: `hour`, `day`, `week`
|
|
40
40
|
attr_accessor :rate_time_unit
|
|
41
41
|
|
|
42
42
|
# IANA timezone this config's rules are interpreted in
|
|
@@ -44,7 +44,7 @@ module IncidentIo
|
|
|
44
44
|
|
|
45
45
|
attr_accessor :updated_at
|
|
46
46
|
|
|
47
|
-
# Rules that apply every week, by day of week and time of day, in evaluation order
|
|
47
|
+
# 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.
|
|
48
48
|
attr_accessor :weekly_rules
|
|
49
49
|
|
|
50
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class PayConfigsCreatePayloadV2 < ApiModelBase
|
|
18
|
-
# Rate paid for any time no rule covers, in the lowest denomination of the currency
|
|
18
|
+
# Rate paid for one unit of rate_time_unit, for any time no rule covers, in the lowest denomination of the currency
|
|
19
19
|
attr_accessor :base_rate_cents
|
|
20
20
|
|
|
21
21
|
# Currency this config pays in, in ISO 4217 format
|
|
@@ -27,7 +27,7 @@ module IncidentIo
|
|
|
27
27
|
# Rules that apply over a single window of time
|
|
28
28
|
attr_accessor :one_off_rules
|
|
29
29
|
|
|
30
|
-
# The unit of time every rate on this config is quoted per Known values: `hour`, `day`
|
|
30
|
+
# 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. Known values: `hour`, `day`, `week`
|
|
31
31
|
attr_accessor :rate_time_unit
|
|
32
32
|
|
|
33
33
|
# IANA timezone this config's rules are interpreted in
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class PayConfigsUpdatePayloadV2 < ApiModelBase
|
|
18
|
-
# Rate paid for any time no rule covers, in the lowest denomination of the currency
|
|
18
|
+
# Rate paid for one unit of rate_time_unit, for any time no rule covers, in the lowest denomination of the currency
|
|
19
19
|
attr_accessor :base_rate_cents
|
|
20
20
|
|
|
21
21
|
# Currency this config pays in, in ISO 4217 format
|
|
@@ -24,7 +24,7 @@ module IncidentIo
|
|
|
24
24
|
# Human readable name for this pay config
|
|
25
25
|
attr_accessor :name
|
|
26
26
|
|
|
27
|
-
# The unit of time every rate on this config is quoted per. Pay is pro-rated by the second
|
|
27
|
+
# 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. Known values: `hour`, `day`, `week`
|
|
28
28
|
attr_accessor :rate_time_unit
|
|
29
29
|
|
|
30
30
|
# IANA timezone this config's rules are interpreted in
|
data/lib/incident_io/version.rb
CHANGED