@wevion/cli 1.0.3244 → 1.0.3261

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.
Files changed (2) hide show
  1. package/openapi.json +998 -56
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -104316,7 +104316,7 @@
104316
104316
  "tags": [
104317
104317
  "creative-hub"
104318
104318
  ],
104319
- "description": "Returns library and user avatars available for Creative Hub UGC generation flows.",
104319
+ "description": "Returns library and user avatars available for Creative Hub UGC generation flows. The estimated_credits field is the text-to-avatar cost only, kept for backward compatibility: price a specific mode with GET /creative-hub/avatars/estimate.",
104320
104320
  "parameters": [
104321
104321
  {
104322
104322
  "schema": {
@@ -104991,6 +104991,137 @@
104991
104991
  }
104992
104992
  }
104993
104993
  },
104994
+ "/api/v1/creative-hub/avatars/estimate": {
104995
+ "get": {
104996
+ "operationId": "creativeHubEstimateAvatar",
104997
+ "summary": "Estimate avatar creation credits",
104998
+ "tags": [
104999
+ "creative-hub",
105000
+ "creative-generation"
105001
+ ],
105002
+ "description": "Returns the deterministic credit hold estimate for creating a custom avatar in the requested mode. text prices the photorealistic still generation; photo prices the re-host of the uploaded still. It is the same amount POST /creative-hub/avatars holds and the generation worker settles.",
105003
+ "parameters": [
105004
+ {
105005
+ "schema": {
105006
+ "anyOf": [
105007
+ {
105008
+ "type": "string",
105009
+ "enum": [
105010
+ "text"
105011
+ ]
105012
+ },
105013
+ {
105014
+ "type": "string",
105015
+ "enum": [
105016
+ "photo"
105017
+ ]
105018
+ }
105019
+ ]
105020
+ },
105021
+ "in": "query",
105022
+ "name": "mode",
105023
+ "required": true
105024
+ }
105025
+ ],
105026
+ "security": [
105027
+ {
105028
+ "bearerAuth": []
105029
+ },
105030
+ {
105031
+ "apiKeyAuth": []
105032
+ }
105033
+ ],
105034
+ "responses": {
105035
+ "200": {
105036
+ "description": "Successful response",
105037
+ "content": {
105038
+ "application/json": {
105039
+ "schema": {
105040
+ "additionalProperties": false,
105041
+ "type": "object",
105042
+ "required": [
105043
+ "mode",
105044
+ "estimated_credits"
105045
+ ],
105046
+ "properties": {
105047
+ "mode": {
105048
+ "anyOf": [
105049
+ {
105050
+ "type": "string",
105051
+ "enum": [
105052
+ "text"
105053
+ ]
105054
+ },
105055
+ {
105056
+ "type": "string",
105057
+ "enum": [
105058
+ "photo"
105059
+ ]
105060
+ }
105061
+ ]
105062
+ },
105063
+ "estimated_credits": {
105064
+ "minimum": 0,
105065
+ "type": "integer"
105066
+ }
105067
+ }
105068
+ }
105069
+ }
105070
+ }
105071
+ },
105072
+ "400": {
105073
+ "description": "Invalid request - schema validation failed",
105074
+ "content": {
105075
+ "application/json": {
105076
+ "schema": {
105077
+ "additionalProperties": false,
105078
+ "type": "object",
105079
+ "required": [
105080
+ "error"
105081
+ ],
105082
+ "properties": {
105083
+ "code": {
105084
+ "type": "string"
105085
+ },
105086
+ "error": {
105087
+ "type": "string"
105088
+ },
105089
+ "message": {
105090
+ "type": "string"
105091
+ }
105092
+ }
105093
+ }
105094
+ }
105095
+ }
105096
+ },
105097
+ "401": {
105098
+ "description": "Unauthorized - missing or invalid bearer token",
105099
+ "content": {
105100
+ "application/json": {
105101
+ "schema": {
105102
+ "additionalProperties": false,
105103
+ "type": "object",
105104
+ "required": [
105105
+ "error"
105106
+ ],
105107
+ "properties": {
105108
+ "code": {
105109
+ "type": "string"
105110
+ },
105111
+ "error": {
105112
+ "type": "string"
105113
+ },
105114
+ "message": {
105115
+ "type": "string"
105116
+ }
105117
+ }
105118
+ }
105119
+ }
105120
+ }
105121
+ }
105122
+ }
105123
+ }
105124
+ },
104994
105125
  "/api/v1/creative-hub/avatars/{id}": {
104995
105126
  "patch": {
104996
105127
  "operationId": "patchApiV1CreativeHubAvatarsById",
@@ -118747,8 +118878,17 @@
118747
118878
  "creative-hub",
118748
118879
  "creative-generation"
118749
118880
  ],
118750
- "description": "Returns the credit estimate for burning subtitles into a video of the given duration (transcription is billed per second).",
118881
+ "description": "Returns the credit estimate for burning subtitles into a video (transcription is billed per second). Pass asset_id to price an uploaded team video asset: when that asset carries a recorded duration the estimate reads it, which is the same value the generation hold uses. Otherwise the estimate echoes the declared duration_seconds — asset_id never turns a successful estimate into an error.",
118751
118882
  "parameters": [
118883
+ {
118884
+ "schema": {
118885
+ "format": "uuid",
118886
+ "type": "string"
118887
+ },
118888
+ "in": "query",
118889
+ "name": "asset_id",
118890
+ "required": false
118891
+ },
118752
118892
  {
118753
118893
  "schema": {
118754
118894
  "minimum": 1,
@@ -179735,28 +179875,57 @@
179735
179875
  }
179736
179876
  },
179737
179877
  "503": {
179738
- "description": "Scheduled reports are not enabled for this account.",
179878
+ "description": "Service unavailable",
179739
179879
  "content": {
179740
179880
  "application/json": {
179741
179881
  "schema": {
179742
- "additionalProperties": false,
179743
- "description": "Scheduled reports are not enabled for this account.",
179744
- "type": "object",
179745
- "required": [
179746
- "error",
179747
- "code"
179748
- ],
179749
- "properties": {
179750
- "error": {
179751
- "type": "string"
179882
+ "anyOf": [
179883
+ {
179884
+ "additionalProperties": false,
179885
+ "description": "Scheduled reports are not enabled for this account.",
179886
+ "type": "object",
179887
+ "required": [
179888
+ "error",
179889
+ "code"
179890
+ ],
179891
+ "properties": {
179892
+ "error": {
179893
+ "type": "string"
179894
+ },
179895
+ "code": {
179896
+ "type": "string",
179897
+ "enum": [
179898
+ "FEATURE_DISABLED"
179899
+ ]
179900
+ }
179901
+ }
179752
179902
  },
179753
- "code": {
179754
- "type": "string",
179755
- "enum": [
179756
- "FEATURE_DISABLED"
179757
- ]
179903
+ {
179904
+ "additionalProperties": false,
179905
+ "description": "The caller’s plan could not be verified. Retry.",
179906
+ "type": "object",
179907
+ "required": [
179908
+ "error",
179909
+ "code",
179910
+ "retry_after_seconds"
179911
+ ],
179912
+ "properties": {
179913
+ "error": {
179914
+ "type": "string"
179915
+ },
179916
+ "code": {
179917
+ "type": "string",
179918
+ "enum": [
179919
+ "SCHEDULED_REPORT_PLAN_UNAVAILABLE"
179920
+ ]
179921
+ },
179922
+ "retry_after_seconds": {
179923
+ "minimum": 1,
179924
+ "type": "integer"
179925
+ }
179926
+ }
179758
179927
  }
179759
- }
179928
+ ]
179760
179929
  }
179761
179930
  }
179762
179931
  }
@@ -180671,28 +180840,57 @@
180671
180840
  }
180672
180841
  },
180673
180842
  "503": {
180674
- "description": "Scheduled reports are not enabled for this account.",
180843
+ "description": "Service unavailable",
180675
180844
  "content": {
180676
180845
  "application/json": {
180677
180846
  "schema": {
180678
- "additionalProperties": false,
180679
- "description": "Scheduled reports are not enabled for this account.",
180680
- "type": "object",
180681
- "required": [
180682
- "error",
180683
- "code"
180684
- ],
180685
- "properties": {
180686
- "error": {
180687
- "type": "string"
180847
+ "anyOf": [
180848
+ {
180849
+ "additionalProperties": false,
180850
+ "description": "Scheduled reports are not enabled for this account.",
180851
+ "type": "object",
180852
+ "required": [
180853
+ "error",
180854
+ "code"
180855
+ ],
180856
+ "properties": {
180857
+ "error": {
180858
+ "type": "string"
180859
+ },
180860
+ "code": {
180861
+ "type": "string",
180862
+ "enum": [
180863
+ "FEATURE_DISABLED"
180864
+ ]
180865
+ }
180866
+ }
180688
180867
  },
180689
- "code": {
180690
- "type": "string",
180691
- "enum": [
180692
- "FEATURE_DISABLED"
180693
- ]
180868
+ {
180869
+ "additionalProperties": false,
180870
+ "description": "The caller’s plan could not be verified. Retry.",
180871
+ "type": "object",
180872
+ "required": [
180873
+ "error",
180874
+ "code",
180875
+ "retry_after_seconds"
180876
+ ],
180877
+ "properties": {
180878
+ "error": {
180879
+ "type": "string"
180880
+ },
180881
+ "code": {
180882
+ "type": "string",
180883
+ "enum": [
180884
+ "SCHEDULED_REPORT_PLAN_UNAVAILABLE"
180885
+ ]
180886
+ },
180887
+ "retry_after_seconds": {
180888
+ "minimum": 1,
180889
+ "type": "integer"
180890
+ }
180891
+ }
180694
180892
  }
180695
- }
180893
+ ]
180696
180894
  }
180697
180895
  }
180698
180896
  }
@@ -184212,8 +184410,15 @@
184212
184410
  "type": "string"
184213
184411
  },
184214
184412
  "user_id": {
184215
- "format": "uuid",
184216
- "type": "string"
184413
+ "anyOf": [
184414
+ {
184415
+ "format": "uuid",
184416
+ "type": "string"
184417
+ },
184418
+ {
184419
+ "type": "null"
184420
+ }
184421
+ ]
184217
184422
  },
184218
184423
  "created_by": {
184219
184424
  "anyOf": [
@@ -184290,6 +184495,7 @@
184290
184495
  }
184291
184496
  },
184292
184497
  "entity_filter": {
184498
+ "description": "Entity filter as stored, tolerant of filters written outside the strict request contract.",
184293
184499
  "anyOf": [
184294
184500
  {
184295
184501
  "additionalProperties": false,
@@ -184339,6 +184545,33 @@
184339
184545
  },
184340
184546
  "title": "RuleEntityFilter"
184341
184547
  },
184548
+ {
184549
+ "additionalProperties": true,
184550
+ "description": "Entity filter stored before/around the current contract; surfaced as-is so the list stays readable.",
184551
+ "type": "object",
184552
+ "properties": {
184553
+ "name_contains": {
184554
+ "description": "Name filter as stored; may be empty (\"no filter\").",
184555
+ "type": "string"
184556
+ },
184557
+ "name_not_contains": {
184558
+ "description": "Negative name filter as stored; may be empty (\"no filter\").",
184559
+ "type": "string"
184560
+ },
184561
+ "status_in": {
184562
+ "description": "Statuses as stored; may be empty (\"no filter\").",
184563
+ "type": "array",
184564
+ "items": {
184565
+ "type": "string"
184566
+ }
184567
+ },
184568
+ "account_mode": {
184569
+ "description": "Ad-account scope intent as stored.",
184570
+ "type": "string"
184571
+ }
184572
+ },
184573
+ "title": "RuleEntityFilterStored"
184574
+ },
184342
184575
  {
184343
184576
  "type": "null"
184344
184577
  }
@@ -184361,7 +184594,7 @@
184361
184594
  ]
184362
184595
  },
184363
184596
  "conditions": {
184364
- "description": "Ordered list of conditions combined via `condition_logic` (AND/OR).",
184597
+ "description": "Ordered list of conditions as stored, tolerant of rules written outside the request contract.",
184365
184598
  "type": "array",
184366
184599
  "items": {
184367
184600
  "anyOf": [
@@ -184948,8 +185181,29 @@
184948
185181
  }
184949
185182
  },
184950
185183
  "title": "CrossPlatformRuleCondition"
185184
+ },
185185
+ {
185186
+ "additionalProperties": true,
185187
+ "description": "Rule condition stored without the full current contract; surfaced as-is so the list stays readable.",
185188
+ "type": "object",
185189
+ "properties": {
185190
+ "metric": {
185191
+ "description": "Metric key as stored.",
185192
+ "type": "string"
185193
+ },
185194
+ "operator": {
185195
+ "description": "Comparison operator as stored.",
185196
+ "type": "string"
185197
+ },
185198
+ "time_range": {
185199
+ "description": "Time window as stored; absent means the evaluator default (`today`).",
185200
+ "type": "string"
185201
+ }
185202
+ },
185203
+ "title": "RuleConditionLegacy"
184951
185204
  }
184952
- ]
185205
+ ],
185206
+ "title": "RuleConditionStored"
184953
185207
  }
184954
185208
  },
184955
185209
  "actions": {
@@ -185355,6 +185609,7 @@
185355
185609
  "type": "integer"
185356
185610
  },
185357
185611
  "schedule_config": {
185612
+ "description": "Schedule config as stored, tolerant of values written outside the strict request contract.",
185358
185613
  "anyOf": [
185359
185614
  {
185360
185615
  "additionalProperties": false,
@@ -185417,6 +185672,56 @@
185417
185672
  },
185418
185673
  "title": "RuleScheduleConfig"
185419
185674
  },
185675
+ {
185676
+ "additionalProperties": true,
185677
+ "description": "Schedule config stored before/around the current contract; surfaced as-is.",
185678
+ "type": "object",
185679
+ "properties": {
185680
+ "time": {
185681
+ "description": "Daily evaluation time as stored.",
185682
+ "type": "string"
185683
+ },
185684
+ "type": {
185685
+ "description": "Schedule discriminator as stored.",
185686
+ "type": "string"
185687
+ },
185688
+ "hours_of_day": {
185689
+ "description": "Hours as stored.",
185690
+ "type": "array",
185691
+ "items": {
185692
+ "type": "number"
185693
+ }
185694
+ },
185695
+ "days_of_week": {
185696
+ "description": "Days as stored.",
185697
+ "type": "array",
185698
+ "items": {
185699
+ "type": "number"
185700
+ }
185701
+ },
185702
+ "slots": {
185703
+ "description": "Day/hour slots as stored.",
185704
+ "type": "array",
185705
+ "items": {
185706
+ "additionalProperties": true,
185707
+ "type": "object",
185708
+ "properties": {
185709
+ "day": {
185710
+ "type": "number"
185711
+ },
185712
+ "hour": {
185713
+ "type": "number"
185714
+ }
185715
+ }
185716
+ }
185717
+ },
185718
+ "timezone": {
185719
+ "description": "Timezone as stored.",
185720
+ "type": "string"
185721
+ }
185722
+ },
185723
+ "title": "RuleScheduleConfigStored"
185724
+ },
185420
185725
  {
185421
185726
  "type": "null"
185422
185727
  }
@@ -185455,6 +185760,7 @@
185455
185760
  "type": "boolean"
185456
185761
  },
185457
185762
  "notify_channels": {
185763
+ "description": "Notify channels as stored, tolerant of values written outside the strict request contract.",
185458
185764
  "anyOf": [
185459
185765
  {
185460
185766
  "additionalProperties": false,
@@ -185473,6 +185779,23 @@
185473
185779
  },
185474
185780
  "title": "RuleNotifyChannels"
185475
185781
  },
185782
+ {
185783
+ "additionalProperties": true,
185784
+ "description": "Notify channels stored before/around the current contract; surfaced as-is.",
185785
+ "type": "object",
185786
+ "properties": {
185787
+ "email": {
185788
+ "type": "boolean"
185789
+ },
185790
+ "in_app": {
185791
+ "type": "boolean"
185792
+ },
185793
+ "telegram": {
185794
+ "type": "boolean"
185795
+ }
185796
+ },
185797
+ "title": "RuleNotifyChannelsStored"
185798
+ },
185476
185799
  {
185477
185800
  "type": "null"
185478
185801
  }
@@ -187045,8 +187368,15 @@
187045
187368
  "type": "string"
187046
187369
  },
187047
187370
  "user_id": {
187048
- "format": "uuid",
187049
- "type": "string"
187371
+ "anyOf": [
187372
+ {
187373
+ "format": "uuid",
187374
+ "type": "string"
187375
+ },
187376
+ {
187377
+ "type": "null"
187378
+ }
187379
+ ]
187050
187380
  },
187051
187381
  "created_by": {
187052
187382
  "anyOf": [
@@ -187123,6 +187453,7 @@
187123
187453
  }
187124
187454
  },
187125
187455
  "entity_filter": {
187456
+ "description": "Entity filter as stored, tolerant of filters written outside the strict request contract.",
187126
187457
  "anyOf": [
187127
187458
  {
187128
187459
  "additionalProperties": false,
@@ -187171,6 +187502,32 @@
187171
187502
  }
187172
187503
  }
187173
187504
  },
187505
+ {
187506
+ "additionalProperties": true,
187507
+ "description": "Entity filter stored before/around the current contract; surfaced as-is so the list stays readable.",
187508
+ "type": "object",
187509
+ "properties": {
187510
+ "name_contains": {
187511
+ "description": "Name filter as stored; may be empty (\"no filter\").",
187512
+ "type": "string"
187513
+ },
187514
+ "name_not_contains": {
187515
+ "description": "Negative name filter as stored; may be empty (\"no filter\").",
187516
+ "type": "string"
187517
+ },
187518
+ "status_in": {
187519
+ "description": "Statuses as stored; may be empty (\"no filter\").",
187520
+ "type": "array",
187521
+ "items": {
187522
+ "type": "string"
187523
+ }
187524
+ },
187525
+ "account_mode": {
187526
+ "description": "Ad-account scope intent as stored.",
187527
+ "type": "string"
187528
+ }
187529
+ }
187530
+ },
187174
187531
  {
187175
187532
  "type": "null"
187176
187533
  }
@@ -187193,7 +187550,7 @@
187193
187550
  ]
187194
187551
  },
187195
187552
  "conditions": {
187196
- "description": "Ordered list of conditions combined via `condition_logic` (AND/OR).",
187553
+ "description": "Ordered list of conditions as stored, tolerant of rules written outside the request contract.",
187197
187554
  "type": "array",
187198
187555
  "items": {
187199
187556
  "anyOf": [
@@ -187778,6 +188135,25 @@
187778
188135
  ]
187779
188136
  }
187780
188137
  }
188138
+ },
188139
+ {
188140
+ "additionalProperties": true,
188141
+ "description": "Rule condition stored without the full current contract; surfaced as-is so the list stays readable.",
188142
+ "type": "object",
188143
+ "properties": {
188144
+ "metric": {
188145
+ "description": "Metric key as stored.",
188146
+ "type": "string"
188147
+ },
188148
+ "operator": {
188149
+ "description": "Comparison operator as stored.",
188150
+ "type": "string"
188151
+ },
188152
+ "time_range": {
188153
+ "description": "Time window as stored; absent means the evaluator default (`today`).",
188154
+ "type": "string"
188155
+ }
188156
+ }
187781
188157
  }
187782
188158
  ]
187783
188159
  }
@@ -188173,6 +188549,7 @@
188173
188549
  "type": "integer"
188174
188550
  },
188175
188551
  "schedule_config": {
188552
+ "description": "Schedule config as stored, tolerant of values written outside the strict request contract.",
188176
188553
  "anyOf": [
188177
188554
  {
188178
188555
  "additionalProperties": false,
@@ -188234,6 +188611,55 @@
188234
188611
  }
188235
188612
  }
188236
188613
  },
188614
+ {
188615
+ "additionalProperties": true,
188616
+ "description": "Schedule config stored before/around the current contract; surfaced as-is.",
188617
+ "type": "object",
188618
+ "properties": {
188619
+ "time": {
188620
+ "description": "Daily evaluation time as stored.",
188621
+ "type": "string"
188622
+ },
188623
+ "type": {
188624
+ "description": "Schedule discriminator as stored.",
188625
+ "type": "string"
188626
+ },
188627
+ "hours_of_day": {
188628
+ "description": "Hours as stored.",
188629
+ "type": "array",
188630
+ "items": {
188631
+ "type": "number"
188632
+ }
188633
+ },
188634
+ "days_of_week": {
188635
+ "description": "Days as stored.",
188636
+ "type": "array",
188637
+ "items": {
188638
+ "type": "number"
188639
+ }
188640
+ },
188641
+ "slots": {
188642
+ "description": "Day/hour slots as stored.",
188643
+ "type": "array",
188644
+ "items": {
188645
+ "additionalProperties": true,
188646
+ "type": "object",
188647
+ "properties": {
188648
+ "day": {
188649
+ "type": "number"
188650
+ },
188651
+ "hour": {
188652
+ "type": "number"
188653
+ }
188654
+ }
188655
+ }
188656
+ },
188657
+ "timezone": {
188658
+ "description": "Timezone as stored.",
188659
+ "type": "string"
188660
+ }
188661
+ }
188662
+ },
188237
188663
  {
188238
188664
  "type": "null"
188239
188665
  }
@@ -188272,6 +188698,7 @@
188272
188698
  "type": "boolean"
188273
188699
  },
188274
188700
  "notify_channels": {
188701
+ "description": "Notify channels as stored, tolerant of values written outside the strict request contract.",
188275
188702
  "anyOf": [
188276
188703
  {
188277
188704
  "additionalProperties": false,
@@ -188289,6 +188716,22 @@
188289
188716
  }
188290
188717
  }
188291
188718
  },
188719
+ {
188720
+ "additionalProperties": true,
188721
+ "description": "Notify channels stored before/around the current contract; surfaced as-is.",
188722
+ "type": "object",
188723
+ "properties": {
188724
+ "email": {
188725
+ "type": "boolean"
188726
+ },
188727
+ "in_app": {
188728
+ "type": "boolean"
188729
+ },
188730
+ "telegram": {
188731
+ "type": "boolean"
188732
+ }
188733
+ }
188734
+ },
188292
188735
  {
188293
188736
  "type": "null"
188294
188737
  }
@@ -188723,7 +189166,7 @@
188723
189166
  ]
188724
189167
  },
188725
189168
  "conditions": {
188726
- "description": "Ordered list of conditions combined via `condition_logic` (AND/OR).",
189169
+ "description": "Ordered list of conditions as stored, tolerant of rules written outside the request contract.",
188727
189170
  "type": "array",
188728
189171
  "items": {
188729
189172
  "anyOf": [
@@ -189308,6 +189751,25 @@
189308
189751
  ]
189309
189752
  }
189310
189753
  }
189754
+ },
189755
+ {
189756
+ "additionalProperties": true,
189757
+ "description": "Rule condition stored without the full current contract; surfaced as-is so the list stays readable.",
189758
+ "type": "object",
189759
+ "properties": {
189760
+ "metric": {
189761
+ "description": "Metric key as stored.",
189762
+ "type": "string"
189763
+ },
189764
+ "operator": {
189765
+ "description": "Comparison operator as stored.",
189766
+ "type": "string"
189767
+ },
189768
+ "time_range": {
189769
+ "description": "Time window as stored; absent means the evaluator default (`today`).",
189770
+ "type": "string"
189771
+ }
189772
+ }
189311
189773
  }
189312
189774
  ]
189313
189775
  }
@@ -190370,8 +190832,15 @@
190370
190832
  "type": "string"
190371
190833
  },
190372
190834
  "user_id": {
190373
- "format": "uuid",
190374
- "type": "string"
190835
+ "anyOf": [
190836
+ {
190837
+ "format": "uuid",
190838
+ "type": "string"
190839
+ },
190840
+ {
190841
+ "type": "null"
190842
+ }
190843
+ ]
190375
190844
  },
190376
190845
  "created_by": {
190377
190846
  "anyOf": [
@@ -190448,6 +190917,7 @@
190448
190917
  }
190449
190918
  },
190450
190919
  "entity_filter": {
190920
+ "description": "Entity filter as stored, tolerant of filters written outside the strict request contract.",
190451
190921
  "anyOf": [
190452
190922
  {
190453
190923
  "additionalProperties": false,
@@ -190496,6 +190966,32 @@
190496
190966
  }
190497
190967
  }
190498
190968
  },
190969
+ {
190970
+ "additionalProperties": true,
190971
+ "description": "Entity filter stored before/around the current contract; surfaced as-is so the list stays readable.",
190972
+ "type": "object",
190973
+ "properties": {
190974
+ "name_contains": {
190975
+ "description": "Name filter as stored; may be empty (\"no filter\").",
190976
+ "type": "string"
190977
+ },
190978
+ "name_not_contains": {
190979
+ "description": "Negative name filter as stored; may be empty (\"no filter\").",
190980
+ "type": "string"
190981
+ },
190982
+ "status_in": {
190983
+ "description": "Statuses as stored; may be empty (\"no filter\").",
190984
+ "type": "array",
190985
+ "items": {
190986
+ "type": "string"
190987
+ }
190988
+ },
190989
+ "account_mode": {
190990
+ "description": "Ad-account scope intent as stored.",
190991
+ "type": "string"
190992
+ }
190993
+ }
190994
+ },
190499
190995
  {
190500
190996
  "type": "null"
190501
190997
  }
@@ -190518,7 +191014,7 @@
190518
191014
  ]
190519
191015
  },
190520
191016
  "conditions": {
190521
- "description": "Ordered list of conditions combined via `condition_logic` (AND/OR).",
191017
+ "description": "Ordered list of conditions as stored, tolerant of rules written outside the request contract.",
190522
191018
  "type": "array",
190523
191019
  "items": {
190524
191020
  "anyOf": [
@@ -191103,6 +191599,25 @@
191103
191599
  ]
191104
191600
  }
191105
191601
  }
191602
+ },
191603
+ {
191604
+ "additionalProperties": true,
191605
+ "description": "Rule condition stored without the full current contract; surfaced as-is so the list stays readable.",
191606
+ "type": "object",
191607
+ "properties": {
191608
+ "metric": {
191609
+ "description": "Metric key as stored.",
191610
+ "type": "string"
191611
+ },
191612
+ "operator": {
191613
+ "description": "Comparison operator as stored.",
191614
+ "type": "string"
191615
+ },
191616
+ "time_range": {
191617
+ "description": "Time window as stored; absent means the evaluator default (`today`).",
191618
+ "type": "string"
191619
+ }
191620
+ }
191106
191621
  }
191107
191622
  ]
191108
191623
  }
@@ -191498,6 +192013,7 @@
191498
192013
  "type": "integer"
191499
192014
  },
191500
192015
  "schedule_config": {
192016
+ "description": "Schedule config as stored, tolerant of values written outside the strict request contract.",
191501
192017
  "anyOf": [
191502
192018
  {
191503
192019
  "additionalProperties": false,
@@ -191559,6 +192075,55 @@
191559
192075
  }
191560
192076
  }
191561
192077
  },
192078
+ {
192079
+ "additionalProperties": true,
192080
+ "description": "Schedule config stored before/around the current contract; surfaced as-is.",
192081
+ "type": "object",
192082
+ "properties": {
192083
+ "time": {
192084
+ "description": "Daily evaluation time as stored.",
192085
+ "type": "string"
192086
+ },
192087
+ "type": {
192088
+ "description": "Schedule discriminator as stored.",
192089
+ "type": "string"
192090
+ },
192091
+ "hours_of_day": {
192092
+ "description": "Hours as stored.",
192093
+ "type": "array",
192094
+ "items": {
192095
+ "type": "number"
192096
+ }
192097
+ },
192098
+ "days_of_week": {
192099
+ "description": "Days as stored.",
192100
+ "type": "array",
192101
+ "items": {
192102
+ "type": "number"
192103
+ }
192104
+ },
192105
+ "slots": {
192106
+ "description": "Day/hour slots as stored.",
192107
+ "type": "array",
192108
+ "items": {
192109
+ "additionalProperties": true,
192110
+ "type": "object",
192111
+ "properties": {
192112
+ "day": {
192113
+ "type": "number"
192114
+ },
192115
+ "hour": {
192116
+ "type": "number"
192117
+ }
192118
+ }
192119
+ }
192120
+ },
192121
+ "timezone": {
192122
+ "description": "Timezone as stored.",
192123
+ "type": "string"
192124
+ }
192125
+ }
192126
+ },
191562
192127
  {
191563
192128
  "type": "null"
191564
192129
  }
@@ -191597,6 +192162,7 @@
191597
192162
  "type": "boolean"
191598
192163
  },
191599
192164
  "notify_channels": {
192165
+ "description": "Notify channels as stored, tolerant of values written outside the strict request contract.",
191600
192166
  "anyOf": [
191601
192167
  {
191602
192168
  "additionalProperties": false,
@@ -191614,6 +192180,22 @@
191614
192180
  }
191615
192181
  }
191616
192182
  },
192183
+ {
192184
+ "additionalProperties": true,
192185
+ "description": "Notify channels stored before/around the current contract; surfaced as-is.",
192186
+ "type": "object",
192187
+ "properties": {
192188
+ "email": {
192189
+ "type": "boolean"
192190
+ },
192191
+ "in_app": {
192192
+ "type": "boolean"
192193
+ },
192194
+ "telegram": {
192195
+ "type": "boolean"
192196
+ }
192197
+ }
192198
+ },
191617
192199
  {
191618
192200
  "type": "null"
191619
192201
  }
@@ -193200,8 +193782,15 @@
193200
193782
  "type": "string"
193201
193783
  },
193202
193784
  "user_id": {
193203
- "format": "uuid",
193204
- "type": "string"
193785
+ "anyOf": [
193786
+ {
193787
+ "format": "uuid",
193788
+ "type": "string"
193789
+ },
193790
+ {
193791
+ "type": "null"
193792
+ }
193793
+ ]
193205
193794
  },
193206
193795
  "created_by": {
193207
193796
  "anyOf": [
@@ -193278,6 +193867,7 @@
193278
193867
  }
193279
193868
  },
193280
193869
  "entity_filter": {
193870
+ "description": "Entity filter as stored, tolerant of filters written outside the strict request contract.",
193281
193871
  "anyOf": [
193282
193872
  {
193283
193873
  "additionalProperties": false,
@@ -193326,6 +193916,32 @@
193326
193916
  }
193327
193917
  }
193328
193918
  },
193919
+ {
193920
+ "additionalProperties": true,
193921
+ "description": "Entity filter stored before/around the current contract; surfaced as-is so the list stays readable.",
193922
+ "type": "object",
193923
+ "properties": {
193924
+ "name_contains": {
193925
+ "description": "Name filter as stored; may be empty (\"no filter\").",
193926
+ "type": "string"
193927
+ },
193928
+ "name_not_contains": {
193929
+ "description": "Negative name filter as stored; may be empty (\"no filter\").",
193930
+ "type": "string"
193931
+ },
193932
+ "status_in": {
193933
+ "description": "Statuses as stored; may be empty (\"no filter\").",
193934
+ "type": "array",
193935
+ "items": {
193936
+ "type": "string"
193937
+ }
193938
+ },
193939
+ "account_mode": {
193940
+ "description": "Ad-account scope intent as stored.",
193941
+ "type": "string"
193942
+ }
193943
+ }
193944
+ },
193329
193945
  {
193330
193946
  "type": "null"
193331
193947
  }
@@ -193348,7 +193964,7 @@
193348
193964
  ]
193349
193965
  },
193350
193966
  "conditions": {
193351
- "description": "Ordered list of conditions combined via `condition_logic` (AND/OR).",
193967
+ "description": "Ordered list of conditions as stored, tolerant of rules written outside the request contract.",
193352
193968
  "type": "array",
193353
193969
  "items": {
193354
193970
  "anyOf": [
@@ -193933,6 +194549,25 @@
193933
194549
  ]
193934
194550
  }
193935
194551
  }
194552
+ },
194553
+ {
194554
+ "additionalProperties": true,
194555
+ "description": "Rule condition stored without the full current contract; surfaced as-is so the list stays readable.",
194556
+ "type": "object",
194557
+ "properties": {
194558
+ "metric": {
194559
+ "description": "Metric key as stored.",
194560
+ "type": "string"
194561
+ },
194562
+ "operator": {
194563
+ "description": "Comparison operator as stored.",
194564
+ "type": "string"
194565
+ },
194566
+ "time_range": {
194567
+ "description": "Time window as stored; absent means the evaluator default (`today`).",
194568
+ "type": "string"
194569
+ }
194570
+ }
193936
194571
  }
193937
194572
  ]
193938
194573
  }
@@ -194328,6 +194963,7 @@
194328
194963
  "type": "integer"
194329
194964
  },
194330
194965
  "schedule_config": {
194966
+ "description": "Schedule config as stored, tolerant of values written outside the strict request contract.",
194331
194967
  "anyOf": [
194332
194968
  {
194333
194969
  "additionalProperties": false,
@@ -194389,6 +195025,55 @@
194389
195025
  }
194390
195026
  }
194391
195027
  },
195028
+ {
195029
+ "additionalProperties": true,
195030
+ "description": "Schedule config stored before/around the current contract; surfaced as-is.",
195031
+ "type": "object",
195032
+ "properties": {
195033
+ "time": {
195034
+ "description": "Daily evaluation time as stored.",
195035
+ "type": "string"
195036
+ },
195037
+ "type": {
195038
+ "description": "Schedule discriminator as stored.",
195039
+ "type": "string"
195040
+ },
195041
+ "hours_of_day": {
195042
+ "description": "Hours as stored.",
195043
+ "type": "array",
195044
+ "items": {
195045
+ "type": "number"
195046
+ }
195047
+ },
195048
+ "days_of_week": {
195049
+ "description": "Days as stored.",
195050
+ "type": "array",
195051
+ "items": {
195052
+ "type": "number"
195053
+ }
195054
+ },
195055
+ "slots": {
195056
+ "description": "Day/hour slots as stored.",
195057
+ "type": "array",
195058
+ "items": {
195059
+ "additionalProperties": true,
195060
+ "type": "object",
195061
+ "properties": {
195062
+ "day": {
195063
+ "type": "number"
195064
+ },
195065
+ "hour": {
195066
+ "type": "number"
195067
+ }
195068
+ }
195069
+ }
195070
+ },
195071
+ "timezone": {
195072
+ "description": "Timezone as stored.",
195073
+ "type": "string"
195074
+ }
195075
+ }
195076
+ },
194392
195077
  {
194393
195078
  "type": "null"
194394
195079
  }
@@ -194427,6 +195112,7 @@
194427
195112
  "type": "boolean"
194428
195113
  },
194429
195114
  "notify_channels": {
195115
+ "description": "Notify channels as stored, tolerant of values written outside the strict request contract.",
194430
195116
  "anyOf": [
194431
195117
  {
194432
195118
  "additionalProperties": false,
@@ -194444,6 +195130,22 @@
194444
195130
  }
194445
195131
  }
194446
195132
  },
195133
+ {
195134
+ "additionalProperties": true,
195135
+ "description": "Notify channels stored before/around the current contract; surfaced as-is.",
195136
+ "type": "object",
195137
+ "properties": {
195138
+ "email": {
195139
+ "type": "boolean"
195140
+ },
195141
+ "in_app": {
195142
+ "type": "boolean"
195143
+ },
195144
+ "telegram": {
195145
+ "type": "boolean"
195146
+ }
195147
+ }
195148
+ },
194447
195149
  {
194448
195150
  "type": "null"
194449
195151
  }
@@ -195008,8 +195710,15 @@
195008
195710
  "type": "string"
195009
195711
  },
195010
195712
  "user_id": {
195011
- "format": "uuid",
195012
- "type": "string"
195713
+ "anyOf": [
195714
+ {
195715
+ "format": "uuid",
195716
+ "type": "string"
195717
+ },
195718
+ {
195719
+ "type": "null"
195720
+ }
195721
+ ]
195013
195722
  },
195014
195723
  "created_by": {
195015
195724
  "anyOf": [
@@ -195086,6 +195795,7 @@
195086
195795
  }
195087
195796
  },
195088
195797
  "entity_filter": {
195798
+ "description": "Entity filter as stored, tolerant of filters written outside the strict request contract.",
195089
195799
  "anyOf": [
195090
195800
  {
195091
195801
  "additionalProperties": false,
@@ -195134,6 +195844,32 @@
195134
195844
  }
195135
195845
  }
195136
195846
  },
195847
+ {
195848
+ "additionalProperties": true,
195849
+ "description": "Entity filter stored before/around the current contract; surfaced as-is so the list stays readable.",
195850
+ "type": "object",
195851
+ "properties": {
195852
+ "name_contains": {
195853
+ "description": "Name filter as stored; may be empty (\"no filter\").",
195854
+ "type": "string"
195855
+ },
195856
+ "name_not_contains": {
195857
+ "description": "Negative name filter as stored; may be empty (\"no filter\").",
195858
+ "type": "string"
195859
+ },
195860
+ "status_in": {
195861
+ "description": "Statuses as stored; may be empty (\"no filter\").",
195862
+ "type": "array",
195863
+ "items": {
195864
+ "type": "string"
195865
+ }
195866
+ },
195867
+ "account_mode": {
195868
+ "description": "Ad-account scope intent as stored.",
195869
+ "type": "string"
195870
+ }
195871
+ }
195872
+ },
195137
195873
  {
195138
195874
  "type": "null"
195139
195875
  }
@@ -195156,7 +195892,7 @@
195156
195892
  ]
195157
195893
  },
195158
195894
  "conditions": {
195159
- "description": "Ordered list of conditions combined via `condition_logic` (AND/OR).",
195895
+ "description": "Ordered list of conditions as stored, tolerant of rules written outside the request contract.",
195160
195896
  "type": "array",
195161
195897
  "items": {
195162
195898
  "anyOf": [
@@ -195741,6 +196477,25 @@
195741
196477
  ]
195742
196478
  }
195743
196479
  }
196480
+ },
196481
+ {
196482
+ "additionalProperties": true,
196483
+ "description": "Rule condition stored without the full current contract; surfaced as-is so the list stays readable.",
196484
+ "type": "object",
196485
+ "properties": {
196486
+ "metric": {
196487
+ "description": "Metric key as stored.",
196488
+ "type": "string"
196489
+ },
196490
+ "operator": {
196491
+ "description": "Comparison operator as stored.",
196492
+ "type": "string"
196493
+ },
196494
+ "time_range": {
196495
+ "description": "Time window as stored; absent means the evaluator default (`today`).",
196496
+ "type": "string"
196497
+ }
196498
+ }
195744
196499
  }
195745
196500
  ]
195746
196501
  }
@@ -196136,6 +196891,7 @@
196136
196891
  "type": "integer"
196137
196892
  },
196138
196893
  "schedule_config": {
196894
+ "description": "Schedule config as stored, tolerant of values written outside the strict request contract.",
196139
196895
  "anyOf": [
196140
196896
  {
196141
196897
  "additionalProperties": false,
@@ -196197,6 +196953,55 @@
196197
196953
  }
196198
196954
  }
196199
196955
  },
196956
+ {
196957
+ "additionalProperties": true,
196958
+ "description": "Schedule config stored before/around the current contract; surfaced as-is.",
196959
+ "type": "object",
196960
+ "properties": {
196961
+ "time": {
196962
+ "description": "Daily evaluation time as stored.",
196963
+ "type": "string"
196964
+ },
196965
+ "type": {
196966
+ "description": "Schedule discriminator as stored.",
196967
+ "type": "string"
196968
+ },
196969
+ "hours_of_day": {
196970
+ "description": "Hours as stored.",
196971
+ "type": "array",
196972
+ "items": {
196973
+ "type": "number"
196974
+ }
196975
+ },
196976
+ "days_of_week": {
196977
+ "description": "Days as stored.",
196978
+ "type": "array",
196979
+ "items": {
196980
+ "type": "number"
196981
+ }
196982
+ },
196983
+ "slots": {
196984
+ "description": "Day/hour slots as stored.",
196985
+ "type": "array",
196986
+ "items": {
196987
+ "additionalProperties": true,
196988
+ "type": "object",
196989
+ "properties": {
196990
+ "day": {
196991
+ "type": "number"
196992
+ },
196993
+ "hour": {
196994
+ "type": "number"
196995
+ }
196996
+ }
196997
+ }
196998
+ },
196999
+ "timezone": {
197000
+ "description": "Timezone as stored.",
197001
+ "type": "string"
197002
+ }
197003
+ }
197004
+ },
196200
197005
  {
196201
197006
  "type": "null"
196202
197007
  }
@@ -196235,6 +197040,7 @@
196235
197040
  "type": "boolean"
196236
197041
  },
196237
197042
  "notify_channels": {
197043
+ "description": "Notify channels as stored, tolerant of values written outside the strict request contract.",
196238
197044
  "anyOf": [
196239
197045
  {
196240
197046
  "additionalProperties": false,
@@ -196252,6 +197058,22 @@
196252
197058
  }
196253
197059
  }
196254
197060
  },
197061
+ {
197062
+ "additionalProperties": true,
197063
+ "description": "Notify channels stored before/around the current contract; surfaced as-is.",
197064
+ "type": "object",
197065
+ "properties": {
197066
+ "email": {
197067
+ "type": "boolean"
197068
+ },
197069
+ "in_app": {
197070
+ "type": "boolean"
197071
+ },
197072
+ "telegram": {
197073
+ "type": "boolean"
197074
+ }
197075
+ }
197076
+ },
196255
197077
  {
196256
197078
  "type": "null"
196257
197079
  }
@@ -196601,8 +197423,15 @@
196601
197423
  "type": "string"
196602
197424
  },
196603
197425
  "user_id": {
196604
- "format": "uuid",
196605
- "type": "string"
197426
+ "anyOf": [
197427
+ {
197428
+ "format": "uuid",
197429
+ "type": "string"
197430
+ },
197431
+ {
197432
+ "type": "null"
197433
+ }
197434
+ ]
196606
197435
  },
196607
197436
  "created_by": {
196608
197437
  "anyOf": [
@@ -196679,6 +197508,7 @@
196679
197508
  }
196680
197509
  },
196681
197510
  "entity_filter": {
197511
+ "description": "Entity filter as stored, tolerant of filters written outside the strict request contract.",
196682
197512
  "anyOf": [
196683
197513
  {
196684
197514
  "additionalProperties": false,
@@ -196727,6 +197557,32 @@
196727
197557
  }
196728
197558
  }
196729
197559
  },
197560
+ {
197561
+ "additionalProperties": true,
197562
+ "description": "Entity filter stored before/around the current contract; surfaced as-is so the list stays readable.",
197563
+ "type": "object",
197564
+ "properties": {
197565
+ "name_contains": {
197566
+ "description": "Name filter as stored; may be empty (\"no filter\").",
197567
+ "type": "string"
197568
+ },
197569
+ "name_not_contains": {
197570
+ "description": "Negative name filter as stored; may be empty (\"no filter\").",
197571
+ "type": "string"
197572
+ },
197573
+ "status_in": {
197574
+ "description": "Statuses as stored; may be empty (\"no filter\").",
197575
+ "type": "array",
197576
+ "items": {
197577
+ "type": "string"
197578
+ }
197579
+ },
197580
+ "account_mode": {
197581
+ "description": "Ad-account scope intent as stored.",
197582
+ "type": "string"
197583
+ }
197584
+ }
197585
+ },
196730
197586
  {
196731
197587
  "type": "null"
196732
197588
  }
@@ -196749,7 +197605,7 @@
196749
197605
  ]
196750
197606
  },
196751
197607
  "conditions": {
196752
- "description": "Ordered list of conditions combined via `condition_logic` (AND/OR).",
197608
+ "description": "Ordered list of conditions as stored, tolerant of rules written outside the request contract.",
196753
197609
  "type": "array",
196754
197610
  "items": {
196755
197611
  "anyOf": [
@@ -197334,6 +198190,25 @@
197334
198190
  ]
197335
198191
  }
197336
198192
  }
198193
+ },
198194
+ {
198195
+ "additionalProperties": true,
198196
+ "description": "Rule condition stored without the full current contract; surfaced as-is so the list stays readable.",
198197
+ "type": "object",
198198
+ "properties": {
198199
+ "metric": {
198200
+ "description": "Metric key as stored.",
198201
+ "type": "string"
198202
+ },
198203
+ "operator": {
198204
+ "description": "Comparison operator as stored.",
198205
+ "type": "string"
198206
+ },
198207
+ "time_range": {
198208
+ "description": "Time window as stored; absent means the evaluator default (`today`).",
198209
+ "type": "string"
198210
+ }
198211
+ }
197337
198212
  }
197338
198213
  ]
197339
198214
  }
@@ -197729,6 +198604,7 @@
197729
198604
  "type": "integer"
197730
198605
  },
197731
198606
  "schedule_config": {
198607
+ "description": "Schedule config as stored, tolerant of values written outside the strict request contract.",
197732
198608
  "anyOf": [
197733
198609
  {
197734
198610
  "additionalProperties": false,
@@ -197790,6 +198666,55 @@
197790
198666
  }
197791
198667
  }
197792
198668
  },
198669
+ {
198670
+ "additionalProperties": true,
198671
+ "description": "Schedule config stored before/around the current contract; surfaced as-is.",
198672
+ "type": "object",
198673
+ "properties": {
198674
+ "time": {
198675
+ "description": "Daily evaluation time as stored.",
198676
+ "type": "string"
198677
+ },
198678
+ "type": {
198679
+ "description": "Schedule discriminator as stored.",
198680
+ "type": "string"
198681
+ },
198682
+ "hours_of_day": {
198683
+ "description": "Hours as stored.",
198684
+ "type": "array",
198685
+ "items": {
198686
+ "type": "number"
198687
+ }
198688
+ },
198689
+ "days_of_week": {
198690
+ "description": "Days as stored.",
198691
+ "type": "array",
198692
+ "items": {
198693
+ "type": "number"
198694
+ }
198695
+ },
198696
+ "slots": {
198697
+ "description": "Day/hour slots as stored.",
198698
+ "type": "array",
198699
+ "items": {
198700
+ "additionalProperties": true,
198701
+ "type": "object",
198702
+ "properties": {
198703
+ "day": {
198704
+ "type": "number"
198705
+ },
198706
+ "hour": {
198707
+ "type": "number"
198708
+ }
198709
+ }
198710
+ }
198711
+ },
198712
+ "timezone": {
198713
+ "description": "Timezone as stored.",
198714
+ "type": "string"
198715
+ }
198716
+ }
198717
+ },
197793
198718
  {
197794
198719
  "type": "null"
197795
198720
  }
@@ -197828,6 +198753,7 @@
197828
198753
  "type": "boolean"
197829
198754
  },
197830
198755
  "notify_channels": {
198756
+ "description": "Notify channels as stored, tolerant of values written outside the strict request contract.",
197831
198757
  "anyOf": [
197832
198758
  {
197833
198759
  "additionalProperties": false,
@@ -197845,6 +198771,22 @@
197845
198771
  }
197846
198772
  }
197847
198773
  },
198774
+ {
198775
+ "additionalProperties": true,
198776
+ "description": "Notify channels stored before/around the current contract; surfaced as-is.",
198777
+ "type": "object",
198778
+ "properties": {
198779
+ "email": {
198780
+ "type": "boolean"
198781
+ },
198782
+ "in_app": {
198783
+ "type": "boolean"
198784
+ },
198785
+ "telegram": {
198786
+ "type": "boolean"
198787
+ }
198788
+ }
198789
+ },
197848
198790
  {
197849
198791
  "type": "null"
197850
198792
  }