@pulumi/opsgenie 1.1.4 → 1.1.7
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/alertPolicy.d.ts +1 -1
- package/alertPolicy.js +1 -1
- package/config/index.js +5 -1
- package/config/index.js.map +1 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/serviceIncidentRule.d.ts +1 -1
- package/serviceIncidentRule.js +1 -1
- package/teamRoutingRule.d.ts +1 -1
- package/teamRoutingRule.js +1 -1
- package/types/input.d.ts +85 -16
- package/types/output.d.ts +73 -4
package/alertPolicy.d.ts
CHANGED
package/alertPolicy.js
CHANGED
package/config/index.js
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
|
6
|
-
Object.
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
7
11
|
}) : (function(o, m, k, k2) {
|
|
8
12
|
if (k2 === undefined) k2 = k;
|
|
9
13
|
o[k2] = m[k];
|
package/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
|
package/index.js
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
|
6
|
-
Object.
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
7
11
|
}) : (function(o, m, k, k2) {
|
|
8
12
|
if (k2 === undefined) k2 = k;
|
|
9
13
|
o[k2] = m[k];
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,qDAAmC;AACnC,+CAA6B;AAC7B,kDAAgC;AAChC,iDAA+B;AAC/B,gDAA8B;AAC9B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,8CAA4B;AAC5B,qDAAmC;AACnC,sDAAoC;AACpC,gDAA8B;AAC9B,uDAAqC;AACrC,qDAAmC;AACnC,6CAA2B;AAC3B,6CAA2B;AAC3B,qDAAmC;AACnC,4CAA0B;AAC1B,wDAAsC;AACtC,yCAAuB;AACvB,oDAAkC;AAClC,yCAAuB;AACvB,gDAA8B;AAE9B,sBAAsB;AACtB,mCAAmC;AAI/B,wBAAM;AAHV,iCAAiC;AAI7B,sBAAK;AAGT,gCAAgC;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AC,sBAAsB,CAAC,UAAU,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAE/E,yCAAsC;AAEtC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,UAAU,EAAE;IAC/C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,2BAA2B,EAAE;YACtC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/opsgenie",
|
|
3
|
-
"version": "v1.1.
|
|
3
|
+
"version": "v1.1.7",
|
|
4
4
|
"description": "A Pulumi package for creating and managing opsgenie cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource opsgenie v1.1.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource opsgenie v1.1.7"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/opsgenie",
|
|
3
|
-
"version": "v1.1.
|
|
3
|
+
"version": "v1.1.7",
|
|
4
4
|
"description": "A Pulumi package for creating and managing opsgenie cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource opsgenie v1.1.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource opsgenie v1.1.7"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/serviceIncidentRule.d.ts
CHANGED
package/serviceIncidentRule.js
CHANGED
package/teamRoutingRule.d.ts
CHANGED
package/teamRoutingRule.js
CHANGED
package/types/input.d.ts
CHANGED
|
@@ -55,16 +55,38 @@ export interface AlertPolicyResponder {
|
|
|
55
55
|
username?: pulumi.Input<string>;
|
|
56
56
|
}
|
|
57
57
|
export interface AlertPolicyTimeRestriction {
|
|
58
|
+
/**
|
|
59
|
+
* A definition of hourly definition applied daily, this has to be used with combination: type = `time-of-day`. This is a block, structure is documented below.
|
|
60
|
+
*/
|
|
61
|
+
restriction?: pulumi.Input<pulumi.Input<inputs.AlertPolicyTimeRestrictionRestriction>[]>;
|
|
58
62
|
/**
|
|
59
63
|
* List of days and hours definitions for field type = `weekday-and-time-of-day`. This is a block, structure is documented below.
|
|
60
64
|
*/
|
|
61
|
-
|
|
65
|
+
restrictionList?: pulumi.Input<pulumi.Input<inputs.AlertPolicyTimeRestrictionRestrictionList>[]>;
|
|
62
66
|
/**
|
|
63
67
|
* Type of responder. Acceptable values are: `user` or `team`
|
|
64
68
|
*/
|
|
65
69
|
type: pulumi.Input<string>;
|
|
66
70
|
}
|
|
67
71
|
export interface AlertPolicyTimeRestrictionRestriction {
|
|
72
|
+
/**
|
|
73
|
+
* Ending hour of restriction.
|
|
74
|
+
*/
|
|
75
|
+
endHour: pulumi.Input<number>;
|
|
76
|
+
/**
|
|
77
|
+
* Ending minute of restriction on defined `endHour`
|
|
78
|
+
*/
|
|
79
|
+
endMin: pulumi.Input<number>;
|
|
80
|
+
/**
|
|
81
|
+
* Starting hour of restriction.
|
|
82
|
+
*/
|
|
83
|
+
startHour: pulumi.Input<number>;
|
|
84
|
+
/**
|
|
85
|
+
* Staring minute of restriction on defined `startHour`
|
|
86
|
+
*/
|
|
87
|
+
startMin: pulumi.Input<number>;
|
|
88
|
+
}
|
|
89
|
+
export interface AlertPolicyTimeRestrictionRestrictionList {
|
|
68
90
|
/**
|
|
69
91
|
* Ending day of restriction (eg. `wednesday`)
|
|
70
92
|
*/
|
|
@@ -153,18 +175,18 @@ export interface GetEscalationRepeatArgs {
|
|
|
153
175
|
resetRecipientStates?: pulumi.Input<boolean>;
|
|
154
176
|
waitInterval?: pulumi.Input<number>;
|
|
155
177
|
}
|
|
156
|
-
export interface GetEscalationRuleArgs {
|
|
157
|
-
condition: pulumi.Input<string>;
|
|
158
|
-
delay: pulumi.Input<number>;
|
|
159
|
-
notifyType: pulumi.Input<string>;
|
|
160
|
-
recipients: pulumi.Input<pulumi.Input<inputs.GetEscalationRuleRecipientArgs>[]>;
|
|
161
|
-
}
|
|
162
178
|
export interface GetEscalationRule {
|
|
163
179
|
condition: string;
|
|
164
180
|
delay: number;
|
|
165
181
|
notifyType: string;
|
|
166
182
|
recipients: inputs.GetEscalationRuleRecipient[];
|
|
167
183
|
}
|
|
184
|
+
export interface GetEscalationRuleArgs {
|
|
185
|
+
condition: pulumi.Input<string>;
|
|
186
|
+
delay: pulumi.Input<number>;
|
|
187
|
+
notifyType: pulumi.Input<string>;
|
|
188
|
+
recipients: pulumi.Input<pulumi.Input<inputs.GetEscalationRuleRecipientArgs>[]>;
|
|
189
|
+
}
|
|
168
190
|
export interface GetEscalationRuleRecipientArgs {
|
|
169
191
|
/**
|
|
170
192
|
* The ID of the Opsgenie Escalation.
|
|
@@ -179,19 +201,19 @@ export interface GetEscalationRuleRecipient {
|
|
|
179
201
|
id?: string;
|
|
180
202
|
type?: string;
|
|
181
203
|
}
|
|
182
|
-
export interface
|
|
204
|
+
export interface GetTeamMemberArgs {
|
|
183
205
|
/**
|
|
184
206
|
* The ID of the Opsgenie Team.
|
|
185
207
|
*/
|
|
186
|
-
id?: string
|
|
187
|
-
role?: string
|
|
208
|
+
id?: pulumi.Input<string>;
|
|
209
|
+
role?: pulumi.Input<string>;
|
|
188
210
|
}
|
|
189
|
-
export interface
|
|
211
|
+
export interface GetTeamMember {
|
|
190
212
|
/**
|
|
191
213
|
* The ID of the Opsgenie Team.
|
|
192
214
|
*/
|
|
193
|
-
id?:
|
|
194
|
-
role?:
|
|
215
|
+
id?: string;
|
|
216
|
+
role?: string;
|
|
195
217
|
}
|
|
196
218
|
export interface IncidentTemplateStakeholderProperty {
|
|
197
219
|
/**
|
|
@@ -670,16 +692,38 @@ export interface NotificationPolicyFilterCondition {
|
|
|
670
692
|
order?: pulumi.Input<number>;
|
|
671
693
|
}
|
|
672
694
|
export interface NotificationPolicyTimeRestriction {
|
|
695
|
+
/**
|
|
696
|
+
* A definition of hourly definition applied daily, this has to be used with combination: type = `time-of-day`. This is a block, structure is documented below.
|
|
697
|
+
*/
|
|
698
|
+
restriction?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyTimeRestrictionRestriction>[]>;
|
|
673
699
|
/**
|
|
674
700
|
* List of days and hours definitions for field type = `weekday-and-time-of-day`. This is a block, structure is documented below.
|
|
675
701
|
*/
|
|
676
|
-
|
|
702
|
+
restrictionList?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyTimeRestrictionRestrictionList>[]>;
|
|
677
703
|
/**
|
|
678
704
|
* Defines if restriction should apply daily on given hours or on certain days and hours. Possible values are: `time-of-day`, `weekday-and-time-of-day`
|
|
679
705
|
*/
|
|
680
706
|
type: pulumi.Input<string>;
|
|
681
707
|
}
|
|
682
708
|
export interface NotificationPolicyTimeRestrictionRestriction {
|
|
709
|
+
/**
|
|
710
|
+
* Ending hour of restriction.
|
|
711
|
+
*/
|
|
712
|
+
endHour: pulumi.Input<number>;
|
|
713
|
+
/**
|
|
714
|
+
* Ending minute of restriction on defined `endHour`
|
|
715
|
+
*/
|
|
716
|
+
endMin: pulumi.Input<number>;
|
|
717
|
+
/**
|
|
718
|
+
* Starting hour of restriction.
|
|
719
|
+
*/
|
|
720
|
+
startHour: pulumi.Input<number>;
|
|
721
|
+
/**
|
|
722
|
+
* Staring minute of restriction on defined `startHour`
|
|
723
|
+
*/
|
|
724
|
+
startMin: pulumi.Input<number>;
|
|
725
|
+
}
|
|
726
|
+
export interface NotificationPolicyTimeRestrictionRestrictionList {
|
|
683
727
|
/**
|
|
684
728
|
* Ending day of restriction (eg. `wednesday`)
|
|
685
729
|
*/
|
|
@@ -815,13 +859,31 @@ export interface ScheduleRotationTimeRestriction {
|
|
|
815
859
|
/**
|
|
816
860
|
* It is a restriction object which is described below. This can be used only if time restriction type is `weekday-and-time-of-day`.
|
|
817
861
|
*/
|
|
818
|
-
|
|
862
|
+
restrictionList?: pulumi.Input<pulumi.Input<inputs.ScheduleRotationTimeRestrictionRestrictionList>[]>;
|
|
819
863
|
/**
|
|
820
864
|
* This parameter should be set to `time-of-day` or `weekday-and-time-of-day`.
|
|
821
865
|
*/
|
|
822
866
|
type: pulumi.Input<string>;
|
|
823
867
|
}
|
|
824
868
|
export interface ScheduleRotationTimeRestrictionRestriction {
|
|
869
|
+
/**
|
|
870
|
+
* Value of the hour that frame will end.
|
|
871
|
+
*/
|
|
872
|
+
endHour: pulumi.Input<number>;
|
|
873
|
+
/**
|
|
874
|
+
* Value of the minute that frame will end. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
|
|
875
|
+
*/
|
|
876
|
+
endMin: pulumi.Input<number>;
|
|
877
|
+
/**
|
|
878
|
+
* Value of the hour that frame will start.
|
|
879
|
+
*/
|
|
880
|
+
startHour: pulumi.Input<number>;
|
|
881
|
+
/**
|
|
882
|
+
* Value of the minute that frame will start. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
|
|
883
|
+
*/
|
|
884
|
+
startMin: pulumi.Input<number>;
|
|
885
|
+
}
|
|
886
|
+
export interface ScheduleRotationTimeRestrictionRestrictionList {
|
|
825
887
|
/**
|
|
826
888
|
* Value of the day that frame will end.
|
|
827
889
|
*/
|
|
@@ -977,10 +1039,17 @@ export interface TeamRoutingRuleNotify {
|
|
|
977
1039
|
type: pulumi.Input<string>;
|
|
978
1040
|
}
|
|
979
1041
|
export interface TeamRoutingRuleTimeRestriction {
|
|
980
|
-
|
|
1042
|
+
restriction?: pulumi.Input<pulumi.Input<inputs.TeamRoutingRuleTimeRestrictionRestriction>[]>;
|
|
1043
|
+
restrictionList?: pulumi.Input<pulumi.Input<inputs.TeamRoutingRuleTimeRestrictionRestrictionList>[]>;
|
|
981
1044
|
type: pulumi.Input<string>;
|
|
982
1045
|
}
|
|
983
1046
|
export interface TeamRoutingRuleTimeRestrictionRestriction {
|
|
1047
|
+
endHour: pulumi.Input<number>;
|
|
1048
|
+
endMin: pulumi.Input<number>;
|
|
1049
|
+
startHour: pulumi.Input<number>;
|
|
1050
|
+
startMin: pulumi.Input<number>;
|
|
1051
|
+
}
|
|
1052
|
+
export interface TeamRoutingRuleTimeRestrictionRestrictionList {
|
|
984
1053
|
endDay: pulumi.Input<string>;
|
|
985
1054
|
endHour: pulumi.Input<number>;
|
|
986
1055
|
endMin: pulumi.Input<number>;
|
package/types/output.d.ts
CHANGED
|
@@ -54,16 +54,38 @@ export interface AlertPolicyResponder {
|
|
|
54
54
|
username?: string;
|
|
55
55
|
}
|
|
56
56
|
export interface AlertPolicyTimeRestriction {
|
|
57
|
+
/**
|
|
58
|
+
* A definition of hourly definition applied daily, this has to be used with combination: type = `time-of-day`. This is a block, structure is documented below.
|
|
59
|
+
*/
|
|
60
|
+
restriction?: outputs.AlertPolicyTimeRestrictionRestriction[];
|
|
57
61
|
/**
|
|
58
62
|
* List of days and hours definitions for field type = `weekday-and-time-of-day`. This is a block, structure is documented below.
|
|
59
63
|
*/
|
|
60
|
-
|
|
64
|
+
restrictionList?: outputs.AlertPolicyTimeRestrictionRestrictionList[];
|
|
61
65
|
/**
|
|
62
66
|
* Type of responder. Acceptable values are: `user` or `team`
|
|
63
67
|
*/
|
|
64
68
|
type: string;
|
|
65
69
|
}
|
|
66
70
|
export interface AlertPolicyTimeRestrictionRestriction {
|
|
71
|
+
/**
|
|
72
|
+
* Ending hour of restriction.
|
|
73
|
+
*/
|
|
74
|
+
endHour: number;
|
|
75
|
+
/**
|
|
76
|
+
* Ending minute of restriction on defined `endHour`
|
|
77
|
+
*/
|
|
78
|
+
endMin: number;
|
|
79
|
+
/**
|
|
80
|
+
* Starting hour of restriction.
|
|
81
|
+
*/
|
|
82
|
+
startHour: number;
|
|
83
|
+
/**
|
|
84
|
+
* Staring minute of restriction on defined `startHour`
|
|
85
|
+
*/
|
|
86
|
+
startMin: number;
|
|
87
|
+
}
|
|
88
|
+
export interface AlertPolicyTimeRestrictionRestrictionList {
|
|
67
89
|
/**
|
|
68
90
|
* Ending day of restriction (eg. `wednesday`)
|
|
69
91
|
*/
|
|
@@ -643,16 +665,38 @@ export interface NotificationPolicyFilterCondition {
|
|
|
643
665
|
order?: number;
|
|
644
666
|
}
|
|
645
667
|
export interface NotificationPolicyTimeRestriction {
|
|
668
|
+
/**
|
|
669
|
+
* A definition of hourly definition applied daily, this has to be used with combination: type = `time-of-day`. This is a block, structure is documented below.
|
|
670
|
+
*/
|
|
671
|
+
restriction?: outputs.NotificationPolicyTimeRestrictionRestriction[];
|
|
646
672
|
/**
|
|
647
673
|
* List of days and hours definitions for field type = `weekday-and-time-of-day`. This is a block, structure is documented below.
|
|
648
674
|
*/
|
|
649
|
-
|
|
675
|
+
restrictionList?: outputs.NotificationPolicyTimeRestrictionRestrictionList[];
|
|
650
676
|
/**
|
|
651
677
|
* Defines if restriction should apply daily on given hours or on certain days and hours. Possible values are: `time-of-day`, `weekday-and-time-of-day`
|
|
652
678
|
*/
|
|
653
679
|
type: string;
|
|
654
680
|
}
|
|
655
681
|
export interface NotificationPolicyTimeRestrictionRestriction {
|
|
682
|
+
/**
|
|
683
|
+
* Ending hour of restriction.
|
|
684
|
+
*/
|
|
685
|
+
endHour: number;
|
|
686
|
+
/**
|
|
687
|
+
* Ending minute of restriction on defined `endHour`
|
|
688
|
+
*/
|
|
689
|
+
endMin: number;
|
|
690
|
+
/**
|
|
691
|
+
* Starting hour of restriction.
|
|
692
|
+
*/
|
|
693
|
+
startHour: number;
|
|
694
|
+
/**
|
|
695
|
+
* Staring minute of restriction on defined `startHour`
|
|
696
|
+
*/
|
|
697
|
+
startMin: number;
|
|
698
|
+
}
|
|
699
|
+
export interface NotificationPolicyTimeRestrictionRestrictionList {
|
|
656
700
|
/**
|
|
657
701
|
* Ending day of restriction (eg. `wednesday`)
|
|
658
702
|
*/
|
|
@@ -788,13 +832,31 @@ export interface ScheduleRotationTimeRestriction {
|
|
|
788
832
|
/**
|
|
789
833
|
* It is a restriction object which is described below. This can be used only if time restriction type is `weekday-and-time-of-day`.
|
|
790
834
|
*/
|
|
791
|
-
|
|
835
|
+
restrictionList?: outputs.ScheduleRotationTimeRestrictionRestrictionList[];
|
|
792
836
|
/**
|
|
793
837
|
* This parameter should be set to `time-of-day` or `weekday-and-time-of-day`.
|
|
794
838
|
*/
|
|
795
839
|
type: string;
|
|
796
840
|
}
|
|
797
841
|
export interface ScheduleRotationTimeRestrictionRestriction {
|
|
842
|
+
/**
|
|
843
|
+
* Value of the hour that frame will end.
|
|
844
|
+
*/
|
|
845
|
+
endHour: number;
|
|
846
|
+
/**
|
|
847
|
+
* Value of the minute that frame will end. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
|
|
848
|
+
*/
|
|
849
|
+
endMin: number;
|
|
850
|
+
/**
|
|
851
|
+
* Value of the hour that frame will start.
|
|
852
|
+
*/
|
|
853
|
+
startHour: number;
|
|
854
|
+
/**
|
|
855
|
+
* Value of the minute that frame will start. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
|
|
856
|
+
*/
|
|
857
|
+
startMin: number;
|
|
858
|
+
}
|
|
859
|
+
export interface ScheduleRotationTimeRestrictionRestrictionList {
|
|
798
860
|
/**
|
|
799
861
|
* Value of the day that frame will end.
|
|
800
862
|
*/
|
|
@@ -950,10 +1012,17 @@ export interface TeamRoutingRuleNotify {
|
|
|
950
1012
|
type: string;
|
|
951
1013
|
}
|
|
952
1014
|
export interface TeamRoutingRuleTimeRestriction {
|
|
953
|
-
|
|
1015
|
+
restriction?: outputs.TeamRoutingRuleTimeRestrictionRestriction[];
|
|
1016
|
+
restrictionList?: outputs.TeamRoutingRuleTimeRestrictionRestrictionList[];
|
|
954
1017
|
type: string;
|
|
955
1018
|
}
|
|
956
1019
|
export interface TeamRoutingRuleTimeRestrictionRestriction {
|
|
1020
|
+
endHour: number;
|
|
1021
|
+
endMin: number;
|
|
1022
|
+
startHour: number;
|
|
1023
|
+
startMin: number;
|
|
1024
|
+
}
|
|
1025
|
+
export interface TeamRoutingRuleTimeRestrictionRestrictionList {
|
|
957
1026
|
endDay: string;
|
|
958
1027
|
endHour: number;
|
|
959
1028
|
endMin: number;
|