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: 52fca245c858fd1138928a22ac2c52b3ca300c227b5958ce32fa4dca70b75103
4
- data.tar.gz: ed8d714c295ecc74b3a9f21daad6091cec8f3d26e2ccaa1b19028ccbb38f6c62
3
+ metadata.gz: 0cdd3ce38882717646ac23ee5e9e8a5837dedb4404a0e46efb44d765d3796d22
4
+ data.tar.gz: 87f66a66e42dc7766afb50e9ff0b832a6c3194c5adaa9dc3f36c9ee2db47ae70
5
5
  SHA512:
6
- metadata.gz: 96a7163fe16fc2b62ae85bd6d7e9a8a7f543285697159b8470b30e675ba3365a6fd4641efa81c72e510bef1c583c8ed05ca6c7d9b7a0a15b43f60092c1d3027e
7
- data.tar.gz: 3322771ea1aad911cb66dbef9fa302a3ebc2c7a30c3bacceae9a01ef8bc5a45d1675155a3878abefa685dc8e9620ee6eddd4fd0f79fc8a41727e412cb6f5e108
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 either way. Known values: `hour`, `day`
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 either way. Known values: `hour`, `day`
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
@@ -4,5 +4,5 @@ module IncidentIo
4
4
  # The release workflow sets this before building, so it tracks whatever we
5
5
  # last published. Listed in .openapi-generator-ignore so regeneration can't
6
6
  # reset it.
7
- VERSION = "2.48.0"
7
+ VERSION = "2.49.0"
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: incident_io_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.48.0
4
+ version: 2.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - incident.io