losant_rest 2.1.1 → 2.1.2

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.
@@ -1498,7 +1498,8 @@
1498
1498
  "triangle-down",
1499
1499
  "triangle-up",
1500
1500
  "octagon"
1501
- ]
1501
+ ],
1502
+ "default": "circle"
1502
1503
  }
1503
1504
  },
1504
1505
  "additionalProperties": false
@@ -2466,7 +2467,8 @@
2466
2467
  "triangle-down",
2467
2468
  "triangle-up",
2468
2469
  "octagon"
2469
- ]
2470
+ ],
2471
+ "default": "circle"
2470
2472
  }
2471
2473
  },
2472
2474
  "additionalProperties": false
@@ -3508,7 +3510,6 @@
3508
3510
  "type": {
3509
3511
  "type": "string",
3510
3512
  "enum": [
3511
- "indicator",
3512
3513
  "label",
3513
3514
  "image"
3514
3515
  ]
@@ -3564,7 +3565,8 @@
3564
3565
  "triangle-down",
3565
3566
  "triangle-up",
3566
3567
  "octagon"
3567
- ]
3568
+ ],
3569
+ "default": "circle"
3568
3570
  }
3569
3571
  },
3570
3572
  "additionalProperties": false
@@ -3601,7 +3603,8 @@
3601
3603
  "triangle-down",
3602
3604
  "triangle-up",
3603
3605
  "octagon"
3604
- ]
3606
+ ],
3607
+ "default": "circle"
3605
3608
  }
3606
3609
  },
3607
3610
  "additionalProperties": false
@@ -3615,6 +3618,125 @@
3615
3618
  ],
3616
3619
  "additionalProperties": false
3617
3620
  },
3621
+ {
3622
+ "type": "object",
3623
+ "properties": {
3624
+ "type": {
3625
+ "type": "string",
3626
+ "enum": [
3627
+ "indicator"
3628
+ ]
3629
+ },
3630
+ "size": {
3631
+ "type": "string",
3632
+ "enum": [
3633
+ "small",
3634
+ "medium",
3635
+ "large"
3636
+ ]
3637
+ },
3638
+ "position": {
3639
+ "type": "string",
3640
+ "minLength": 3,
3641
+ "maxLength": 255
3642
+ },
3643
+ "popupTemplate": {
3644
+ "type": "string",
3645
+ "maxLength": 32767
3646
+ },
3647
+ "conditions": {
3648
+ "type": "array",
3649
+ "maxItems": 100,
3650
+ "items": {
3651
+ "type": "object",
3652
+ "properties": {
3653
+ "color": {
3654
+ "type": "string",
3655
+ "maxLength": 64
3656
+ },
3657
+ "id": {
3658
+ "type": "string",
3659
+ "maxLength": 48
3660
+ },
3661
+ "label": {
3662
+ "type": "string",
3663
+ "maxLength": 32767
3664
+ },
3665
+ "condition": {
3666
+ "type": "string",
3667
+ "maxLength": 2048
3668
+ },
3669
+ "imageUrl": {
3670
+ "type": "string",
3671
+ "maxLength": 32767
3672
+ },
3673
+ "shape": {
3674
+ "type": "string",
3675
+ "enum": [
3676
+ "circle",
3677
+ "square",
3678
+ "triangle-down",
3679
+ "triangle-up",
3680
+ "octagon"
3681
+ ],
3682
+ "default": "circle"
3683
+ }
3684
+ },
3685
+ "additionalProperties": false,
3686
+ "required": [
3687
+ "shape"
3688
+ ]
3689
+ }
3690
+ },
3691
+ "defaultCondition": {
3692
+ "type": "object",
3693
+ "properties": {
3694
+ "color": {
3695
+ "type": "string",
3696
+ "maxLength": 64
3697
+ },
3698
+ "id": {
3699
+ "type": "string",
3700
+ "maxLength": 48
3701
+ },
3702
+ "label": {
3703
+ "type": "string",
3704
+ "maxLength": 32767
3705
+ },
3706
+ "condition": {
3707
+ "type": "string",
3708
+ "maxLength": 2048
3709
+ },
3710
+ "imageUrl": {
3711
+ "type": "string",
3712
+ "maxLength": 32767
3713
+ },
3714
+ "shape": {
3715
+ "type": "string",
3716
+ "enum": [
3717
+ "circle",
3718
+ "square",
3719
+ "triangle-down",
3720
+ "triangle-up",
3721
+ "octagon"
3722
+ ],
3723
+ "default": "circle"
3724
+ }
3725
+ },
3726
+ "additionalProperties": false,
3727
+ "required": [
3728
+ "shape"
3729
+ ]
3730
+ }
3731
+ },
3732
+ "required": [
3733
+ "type",
3734
+ "position",
3735
+ "size",
3736
+ "defaultCondition"
3737
+ ],
3738
+ "additionalProperties": false
3739
+ },
3618
3740
  {
3619
3741
  "type": "object",
3620
3742
  "properties": {
@@ -3675,7 +3797,8 @@
3675
3797
  "triangle-down",
3676
3798
  "triangle-up",
3677
3799
  "octagon"
3678
- ]
3800
+ ],
3801
+ "default": "circle"
3679
3802
  }
3680
3803
  },
3681
3804
  "additionalProperties": false
@@ -3712,7 +3835,8 @@
3712
3835
  "triangle-down",
3713
3836
  "triangle-up",
3714
3837
  "octagon"
3715
- ]
3838
+ ],
3839
+ "default": "circle"
3716
3840
  }
3717
3841
  },
3718
3842
  "additionalProperties": false
@@ -3790,7 +3914,8 @@
3790
3914
  "triangle-down",
3791
3915
  "triangle-up",
3792
3916
  "octagon"
3793
- ]
3917
+ ],
3918
+ "default": "circle"
3794
3919
  }
3795
3920
  },
3796
3921
  "additionalProperties": false
@@ -3827,7 +3952,8 @@
3827
3952
  "triangle-down",
3828
3953
  "triangle-up",
3829
3954
  "octagon"
3830
- ]
3955
+ ],
3956
+ "default": "circle"
3831
3957
  }
3832
3958
  },
3833
3959
  "additionalProperties": false
@@ -4171,7 +4297,8 @@
4171
4297
  "triangle-down",
4172
4298
  "triangle-up",
4173
4299
  "octagon"
4174
- ]
4300
+ ],
4301
+ "default": "circle"
4175
4302
  }
4176
4303
  },
4177
4304
  "additionalProperties": false
@@ -4208,7 +4335,8 @@
4208
4335
  "triangle-down",
4209
4336
  "triangle-up",
4210
4337
  "octagon"
4211
- ]
4338
+ ],
4339
+ "default": "circle"
4212
4340
  }
4213
4341
  },
4214
4342
  "additionalProperties": false
@@ -6528,6 +6656,9 @@
6528
6656
  "pattern": "^[A-Fa-f\\d]{24}$"
6529
6657
  },
6530
6658
  "maxItems": 1000
6659
+ },
6660
+ "includeExperienceGroups": {
6661
+ "type": "boolean"
6531
6662
  }
6532
6663
  },
6533
6664
  "additionalProperties": false
@@ -403,6 +403,7 @@
403
403
  "instance.payloadCountsBreakdown",
404
404
  "instance.deviceCounts",
405
405
  "instance.notebookMinuteCounts",
406
+ "instance.entitlements",
406
407
  "instanceOrg.*",
407
408
  "instanceOrg.get",
408
409
  "instanceOrg.patch",
@@ -411,6 +412,8 @@
411
412
  "instanceOrg.payloadCountsBreakdown",
412
413
  "instanceOrg.deviceCounts",
413
414
  "instanceOrg.notebookMinuteCounts",
415
+ "instanceOrg.entitlement",
416
+ "instanceOrg.entitlementSync",
414
417
  "instanceOrg.convertToEnterprise",
415
418
  "instanceOrgs.*",
416
419
  "instanceOrgs.get",
@@ -531,6 +534,7 @@
531
534
  "me.invites",
532
535
  "me.respondToInvite",
533
536
  "me.refreshToken",
537
+ "me.entitlements",
534
538
  "orgs.*",
535
539
  "orgs.get",
536
540
  "orgs.post"
@@ -376,6 +376,12 @@
376
376
  "adminRequired",
377
377
  "required"
378
378
  ]
379
+ },
380
+ "entitlementMode": {
381
+ "type": "string",
382
+ "enum": [
383
+ "scc"
384
+ ]
379
385
  }
380
386
  }
381
387
  }
@@ -174,6 +174,18 @@
174
174
  "type": "integer",
175
175
  "minimum": 5,
176
176
  "maximum": 3600
177
+ },
178
+ "deviceHard": {
179
+ "type": "integer",
180
+ "minimum": 0
181
+ },
182
+ "applicationkeyHard": {
183
+ "type": "integer",
184
+ "minimum": 0
185
+ },
186
+ "applicationcertificateHard": {
187
+ "type": "integer",
188
+ "minimum": 0
177
189
  }
178
190
  },
179
191
  "additionalProperties": false
@@ -0,0 +1,182 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "entitlementId": {
6
+ "type": "string"
7
+ },
8
+ "expiresAt": {
9
+ "type": "string",
10
+ "format": "date-time"
11
+ },
12
+ "externalOrgId": {
13
+ "type": "integer"
14
+ },
15
+ "externalOrgName": {
16
+ "type": "string"
17
+ },
18
+ "subscriptionName": {
19
+ "type": "string"
20
+ },
21
+ "hasSupport": {
22
+ "type": "boolean"
23
+ },
24
+ "allowedOrgCount": {
25
+ "type": "integer"
26
+ },
27
+ "usedOrgCount": {
28
+ "type": "integer"
29
+ },
30
+ "orgIds": {
31
+ "type": "array",
32
+ "items": {
33
+ "type": "string",
34
+ "pattern": "^[A-Fa-f\\d]{24}$"
35
+ },
36
+ "maxItems": 1000
37
+ },
38
+ "limits": {
39
+ "type": "object",
40
+ "properties": {
41
+ "apitoken": {
42
+ "type": "integer",
43
+ "minimum": 0
44
+ },
45
+ "application": {
46
+ "type": "integer",
47
+ "minimum": 0
48
+ },
49
+ "applicationcertificate": {
50
+ "type": "integer",
51
+ "minimum": 0
52
+ },
53
+ "applicationcertificateauthority": {
54
+ "type": "integer",
55
+ "minimum": 0
56
+ },
57
+ "applicationkey": {
58
+ "type": "integer",
59
+ "minimum": 0
60
+ },
61
+ "credential": {
62
+ "type": "integer",
63
+ "minimum": 0
64
+ },
65
+ "dashboard": {
66
+ "type": "integer",
67
+ "minimum": 0
68
+ },
69
+ "datatable": {
70
+ "type": "integer",
71
+ "minimum": 0
72
+ },
73
+ "device": {
74
+ "type": "integer",
75
+ "minimum": 0
76
+ },
77
+ "devicerecipe": {
78
+ "type": "integer",
79
+ "minimum": 0
80
+ },
81
+ "experiencedomain": {
82
+ "type": "integer",
83
+ "minimum": 0
84
+ },
85
+ "experienceendpoint": {
86
+ "type": "integer",
87
+ "minimum": 0
88
+ },
89
+ "experiencegroup": {
90
+ "type": "integer",
91
+ "minimum": 0
92
+ },
93
+ "experienceslug": {
94
+ "type": "integer",
95
+ "minimum": 0
96
+ },
97
+ "experienceuser": {
98
+ "type": "integer",
99
+ "minimum": 0
100
+ },
101
+ "experienceversion": {
102
+ "type": "integer",
103
+ "minimum": 0
104
+ },
105
+ "experienceview": {
106
+ "type": "integer",
107
+ "minimum": 0
108
+ },
109
+ "file": {
110
+ "type": "integer",
111
+ "minimum": 0
112
+ },
113
+ "flow": {
114
+ "type": "integer",
115
+ "minimum": 0
116
+ },
117
+ "integration": {
118
+ "type": "integer",
119
+ "minimum": 0
120
+ },
121
+ "notebook": {
122
+ "type": "integer",
123
+ "minimum": 0
124
+ },
125
+ "privatefile": {
126
+ "type": "integer",
127
+ "minimum": 0
128
+ },
129
+ "resourcejob": {
130
+ "type": "integer",
131
+ "minimum": 0
132
+ },
133
+ "webhook": {
134
+ "type": "integer",
135
+ "minimum": 0
136
+ },
137
+ "dataTTL": {
138
+ "type": "integer",
139
+ "minimum": 86400
140
+ },
141
+ "member": {
142
+ "type": "integer",
143
+ "minimum": 0
144
+ },
145
+ "payload": {
146
+ "type": "integer",
147
+ "minimum": 0
148
+ },
149
+ "storage": {
150
+ "type": "integer",
151
+ "minimum": 0
152
+ },
153
+ "notebookMinutesPerRun": {
154
+ "type": "integer",
155
+ "minimum": 0
156
+ },
157
+ "notebookMinutesPerMonth": {
158
+ "type": "integer",
159
+ "minimum": 0
160
+ },
161
+ "notebookInParallel": {
162
+ "type": "integer",
163
+ "minimum": 0
164
+ },
165
+ "experienceFlowSlots": {
166
+ "type": "integer",
167
+ "minimum": 0
168
+ },
169
+ "applicationFlowSlots": {
170
+ "type": "integer",
171
+ "minimum": 0
172
+ },
173
+ "systemInterval": {
174
+ "type": "integer",
175
+ "minimum": 5,
176
+ "maximum": 3600
177
+ }
178
+ },
179
+ "additionalProperties": false
180
+ }
181
+ }
182
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "success": {
6
+ "type": "boolean"
7
+ },
8
+ "limitsUpdated": {
9
+ "type": "object",
10
+ "patternProperties": {
11
+ "^[a-zA-Z]+$": {
12
+ "type": "object",
13
+ "properties": {
14
+ "previous": {
15
+ "type": "integer",
16
+ "minimum": 0
17
+ },
18
+ "current": {
19
+ "type": "integer",
20
+ "minimum": 0
21
+ }
22
+ }
23
+ }
24
+ }
25
+ },
26
+ "issues": {
27
+ "type": "array",
28
+ "items": {
29
+ "type": "object",
30
+ "properties": {
31
+ "type": {
32
+ "type": "string",
33
+ "enum": [
34
+ "expired",
35
+ "limitsDecreased",
36
+ "noMember"
37
+ ]
38
+ },
39
+ "decreased": {
40
+ "type": "object",
41
+ "patternProperties": {
42
+ "^[a-zA-Z]+$": {
43
+ "type": "object",
44
+ "properties": {
45
+ "requested": {
46
+ "type": "integer",
47
+ "minimum": 0
48
+ },
49
+ "current": {
50
+ "type": "integer",
51
+ "minimum": 0
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ },
58
+ "required": [
59
+ "type"
60
+ ]
61
+ }
62
+ }
63
+ }
64
+ }
@@ -181,6 +181,18 @@
181
181
  "type": "integer",
182
182
  "minimum": 5,
183
183
  "maximum": 3600
184
+ },
185
+ "deviceHard": {
186
+ "type": "integer",
187
+ "minimum": 0
188
+ },
189
+ "applicationkeyHard": {
190
+ "type": "integer",
191
+ "minimum": 0
192
+ },
193
+ "applicationcertificateHard": {
194
+ "type": "integer",
195
+ "minimum": 0
184
196
  }
185
197
  },
186
198
  "additionalProperties": false
@@ -383,6 +383,12 @@
383
383
  "adminRequired",
384
384
  "required"
385
385
  ]
386
+ },
387
+ "entitlementMode": {
388
+ "type": "string",
389
+ "enum": [
390
+ "scc"
391
+ ]
386
392
  }
387
393
  }
388
394
  }