@wevion/cli 1.0.2481 → 1.0.2483
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/openapi.json +167 -108
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -25942,6 +25942,46 @@
|
|
|
25942
25942
|
}
|
|
25943
25943
|
}
|
|
25944
25944
|
},
|
|
25945
|
+
"impersonation": {
|
|
25946
|
+
"additionalProperties": false,
|
|
25947
|
+
"type": "object",
|
|
25948
|
+
"required": [
|
|
25949
|
+
"active",
|
|
25950
|
+
"impersonator"
|
|
25951
|
+
],
|
|
25952
|
+
"properties": {
|
|
25953
|
+
"active": {
|
|
25954
|
+
"type": "boolean"
|
|
25955
|
+
},
|
|
25956
|
+
"impersonator": {
|
|
25957
|
+
"anyOf": [
|
|
25958
|
+
{
|
|
25959
|
+
"type": "object",
|
|
25960
|
+
"required": [
|
|
25961
|
+
"id",
|
|
25962
|
+
"email",
|
|
25963
|
+
"role"
|
|
25964
|
+
],
|
|
25965
|
+
"properties": {
|
|
25966
|
+
"id": {
|
|
25967
|
+
"format": "uuid",
|
|
25968
|
+
"type": "string"
|
|
25969
|
+
},
|
|
25970
|
+
"email": {
|
|
25971
|
+
"type": "string"
|
|
25972
|
+
},
|
|
25973
|
+
"role": {
|
|
25974
|
+
"type": "string"
|
|
25975
|
+
}
|
|
25976
|
+
}
|
|
25977
|
+
},
|
|
25978
|
+
{
|
|
25979
|
+
"type": "null"
|
|
25980
|
+
}
|
|
25981
|
+
]
|
|
25982
|
+
}
|
|
25983
|
+
}
|
|
25984
|
+
},
|
|
25945
25985
|
"team": {
|
|
25946
25986
|
"anyOf": [
|
|
25947
25987
|
{
|
|
@@ -26628,6 +26668,46 @@
|
|
|
26628
26668
|
}
|
|
26629
26669
|
}
|
|
26630
26670
|
},
|
|
26671
|
+
"impersonation": {
|
|
26672
|
+
"additionalProperties": false,
|
|
26673
|
+
"type": "object",
|
|
26674
|
+
"required": [
|
|
26675
|
+
"active",
|
|
26676
|
+
"impersonator"
|
|
26677
|
+
],
|
|
26678
|
+
"properties": {
|
|
26679
|
+
"active": {
|
|
26680
|
+
"type": "boolean"
|
|
26681
|
+
},
|
|
26682
|
+
"impersonator": {
|
|
26683
|
+
"anyOf": [
|
|
26684
|
+
{
|
|
26685
|
+
"type": "object",
|
|
26686
|
+
"required": [
|
|
26687
|
+
"id",
|
|
26688
|
+
"email",
|
|
26689
|
+
"role"
|
|
26690
|
+
],
|
|
26691
|
+
"properties": {
|
|
26692
|
+
"id": {
|
|
26693
|
+
"format": "uuid",
|
|
26694
|
+
"type": "string"
|
|
26695
|
+
},
|
|
26696
|
+
"email": {
|
|
26697
|
+
"type": "string"
|
|
26698
|
+
},
|
|
26699
|
+
"role": {
|
|
26700
|
+
"type": "string"
|
|
26701
|
+
}
|
|
26702
|
+
}
|
|
26703
|
+
},
|
|
26704
|
+
{
|
|
26705
|
+
"type": "null"
|
|
26706
|
+
}
|
|
26707
|
+
]
|
|
26708
|
+
}
|
|
26709
|
+
}
|
|
26710
|
+
},
|
|
26631
26711
|
"team": {
|
|
26632
26712
|
"anyOf": [
|
|
26633
26713
|
{
|
|
@@ -27070,6 +27150,46 @@
|
|
|
27070
27150
|
}
|
|
27071
27151
|
}
|
|
27072
27152
|
},
|
|
27153
|
+
"impersonation": {
|
|
27154
|
+
"additionalProperties": false,
|
|
27155
|
+
"type": "object",
|
|
27156
|
+
"required": [
|
|
27157
|
+
"active",
|
|
27158
|
+
"impersonator"
|
|
27159
|
+
],
|
|
27160
|
+
"properties": {
|
|
27161
|
+
"active": {
|
|
27162
|
+
"type": "boolean"
|
|
27163
|
+
},
|
|
27164
|
+
"impersonator": {
|
|
27165
|
+
"anyOf": [
|
|
27166
|
+
{
|
|
27167
|
+
"type": "object",
|
|
27168
|
+
"required": [
|
|
27169
|
+
"id",
|
|
27170
|
+
"email",
|
|
27171
|
+
"role"
|
|
27172
|
+
],
|
|
27173
|
+
"properties": {
|
|
27174
|
+
"id": {
|
|
27175
|
+
"format": "uuid",
|
|
27176
|
+
"type": "string"
|
|
27177
|
+
},
|
|
27178
|
+
"email": {
|
|
27179
|
+
"type": "string"
|
|
27180
|
+
},
|
|
27181
|
+
"role": {
|
|
27182
|
+
"type": "string"
|
|
27183
|
+
}
|
|
27184
|
+
}
|
|
27185
|
+
},
|
|
27186
|
+
{
|
|
27187
|
+
"type": "null"
|
|
27188
|
+
}
|
|
27189
|
+
]
|
|
27190
|
+
}
|
|
27191
|
+
}
|
|
27192
|
+
},
|
|
27073
27193
|
"team": {
|
|
27074
27194
|
"anyOf": [
|
|
27075
27195
|
{
|
|
@@ -31627,84 +31747,70 @@
|
|
|
31627
31747
|
"type": "integer"
|
|
31628
31748
|
},
|
|
31629
31749
|
"currency": {
|
|
31630
|
-
"description": "ISO 4217
|
|
31750
|
+
"description": "ISO 4217 currency code (uppercase), free-text passthrough. Sourced from the Stripe invoice currency (uppercased) or, on DB fallback, payment_history.currency (VarChar(3), uppercased-on-write). Runtime accepts any 3-letter code.",
|
|
31751
|
+
"type": "string"
|
|
31752
|
+
},
|
|
31753
|
+
"status": {
|
|
31754
|
+
"description": "Invoice/payment status. 'draft'|'open'|'paid'|'void'|'uncollectible' mirror Stripe invoice.status; 'partially_refunded'|'refunded'|'disputed' are derived from persisted net-revenue reversal rows since Stripe keeps invoice.status='paid' after a refund/dispute.",
|
|
31631
31755
|
"anyOf": [
|
|
31632
31756
|
{
|
|
31633
31757
|
"type": "string",
|
|
31634
31758
|
"enum": [
|
|
31635
|
-
"
|
|
31636
|
-
]
|
|
31637
|
-
},
|
|
31638
|
-
{
|
|
31639
|
-
"type": "string",
|
|
31640
|
-
"enum": [
|
|
31641
|
-
"EUR"
|
|
31642
|
-
]
|
|
31643
|
-
},
|
|
31644
|
-
{
|
|
31645
|
-
"type": "string",
|
|
31646
|
-
"enum": [
|
|
31647
|
-
"GBP"
|
|
31648
|
-
]
|
|
31649
|
-
},
|
|
31650
|
-
{
|
|
31651
|
-
"type": "string",
|
|
31652
|
-
"enum": [
|
|
31653
|
-
"JPY"
|
|
31759
|
+
"draft"
|
|
31654
31760
|
]
|
|
31655
31761
|
},
|
|
31656
31762
|
{
|
|
31657
31763
|
"type": "string",
|
|
31658
31764
|
"enum": [
|
|
31659
|
-
"
|
|
31765
|
+
"open"
|
|
31660
31766
|
]
|
|
31661
31767
|
},
|
|
31662
31768
|
{
|
|
31663
31769
|
"type": "string",
|
|
31664
31770
|
"enum": [
|
|
31665
|
-
"
|
|
31771
|
+
"paid"
|
|
31666
31772
|
]
|
|
31667
31773
|
},
|
|
31668
31774
|
{
|
|
31669
31775
|
"type": "string",
|
|
31670
31776
|
"enum": [
|
|
31671
|
-
"
|
|
31777
|
+
"void"
|
|
31672
31778
|
]
|
|
31673
31779
|
},
|
|
31674
31780
|
{
|
|
31675
31781
|
"type": "string",
|
|
31676
31782
|
"enum": [
|
|
31677
|
-
"
|
|
31783
|
+
"uncollectible"
|
|
31678
31784
|
]
|
|
31679
31785
|
},
|
|
31680
31786
|
{
|
|
31681
31787
|
"type": "string",
|
|
31682
31788
|
"enum": [
|
|
31683
|
-
"
|
|
31789
|
+
"partially_refunded"
|
|
31684
31790
|
]
|
|
31685
31791
|
},
|
|
31686
31792
|
{
|
|
31687
31793
|
"type": "string",
|
|
31688
31794
|
"enum": [
|
|
31689
|
-
"
|
|
31795
|
+
"refunded"
|
|
31690
31796
|
]
|
|
31691
31797
|
},
|
|
31692
31798
|
{
|
|
31693
31799
|
"type": "string",
|
|
31694
31800
|
"enum": [
|
|
31695
|
-
"
|
|
31801
|
+
"disputed"
|
|
31696
31802
|
]
|
|
31697
31803
|
},
|
|
31698
31804
|
{
|
|
31699
|
-
"
|
|
31700
|
-
"
|
|
31701
|
-
"BRL"
|
|
31702
|
-
]
|
|
31805
|
+
"maxLength": 30,
|
|
31806
|
+
"type": "string"
|
|
31703
31807
|
}
|
|
31704
31808
|
]
|
|
31705
31809
|
},
|
|
31706
|
-
"
|
|
31707
|
-
"
|
|
31810
|
+
"amount_refunded": {
|
|
31811
|
+
"minimum": 0,
|
|
31812
|
+
"description": "Amount refunded/disputed back in integer minor units, derived from the net-revenue reversal row keyed by stripe_invoice_id. Absent/0 when no reversal applies.",
|
|
31813
|
+
"type": "integer"
|
|
31708
31814
|
},
|
|
31709
31815
|
"description": {
|
|
31710
31816
|
"anyOf": [
|
|
@@ -31770,6 +31876,32 @@
|
|
|
31770
31876
|
}
|
|
31771
31877
|
}
|
|
31772
31878
|
},
|
|
31879
|
+
"403": {
|
|
31880
|
+
"description": "Forbidden - caller lacks the required role/permission",
|
|
31881
|
+
"content": {
|
|
31882
|
+
"application/json": {
|
|
31883
|
+
"schema": {
|
|
31884
|
+
"type": "object",
|
|
31885
|
+
"required": [
|
|
31886
|
+
"statusCode",
|
|
31887
|
+
"error",
|
|
31888
|
+
"message"
|
|
31889
|
+
],
|
|
31890
|
+
"properties": {
|
|
31891
|
+
"statusCode": {
|
|
31892
|
+
"type": "number"
|
|
31893
|
+
},
|
|
31894
|
+
"error": {
|
|
31895
|
+
"type": "string"
|
|
31896
|
+
},
|
|
31897
|
+
"message": {
|
|
31898
|
+
"type": "string"
|
|
31899
|
+
}
|
|
31900
|
+
}
|
|
31901
|
+
}
|
|
31902
|
+
}
|
|
31903
|
+
}
|
|
31904
|
+
},
|
|
31773
31905
|
"500": {
|
|
31774
31906
|
"description": "Internal server error",
|
|
31775
31907
|
"content": {
|
|
@@ -31863,81 +31995,8 @@
|
|
|
31863
31995
|
"type": "integer"
|
|
31864
31996
|
},
|
|
31865
31997
|
"spend_currency": {
|
|
31866
|
-
"description": "ISO 4217
|
|
31867
|
-
"
|
|
31868
|
-
{
|
|
31869
|
-
"type": "string",
|
|
31870
|
-
"enum": [
|
|
31871
|
-
"USD"
|
|
31872
|
-
]
|
|
31873
|
-
},
|
|
31874
|
-
{
|
|
31875
|
-
"type": "string",
|
|
31876
|
-
"enum": [
|
|
31877
|
-
"EUR"
|
|
31878
|
-
]
|
|
31879
|
-
},
|
|
31880
|
-
{
|
|
31881
|
-
"type": "string",
|
|
31882
|
-
"enum": [
|
|
31883
|
-
"GBP"
|
|
31884
|
-
]
|
|
31885
|
-
},
|
|
31886
|
-
{
|
|
31887
|
-
"type": "string",
|
|
31888
|
-
"enum": [
|
|
31889
|
-
"JPY"
|
|
31890
|
-
]
|
|
31891
|
-
},
|
|
31892
|
-
{
|
|
31893
|
-
"type": "string",
|
|
31894
|
-
"enum": [
|
|
31895
|
-
"CHF"
|
|
31896
|
-
]
|
|
31897
|
-
},
|
|
31898
|
-
{
|
|
31899
|
-
"type": "string",
|
|
31900
|
-
"enum": [
|
|
31901
|
-
"AUD"
|
|
31902
|
-
]
|
|
31903
|
-
},
|
|
31904
|
-
{
|
|
31905
|
-
"type": "string",
|
|
31906
|
-
"enum": [
|
|
31907
|
-
"CAD"
|
|
31908
|
-
]
|
|
31909
|
-
},
|
|
31910
|
-
{
|
|
31911
|
-
"type": "string",
|
|
31912
|
-
"enum": [
|
|
31913
|
-
"SEK"
|
|
31914
|
-
]
|
|
31915
|
-
},
|
|
31916
|
-
{
|
|
31917
|
-
"type": "string",
|
|
31918
|
-
"enum": [
|
|
31919
|
-
"NOK"
|
|
31920
|
-
]
|
|
31921
|
-
},
|
|
31922
|
-
{
|
|
31923
|
-
"type": "string",
|
|
31924
|
-
"enum": [
|
|
31925
|
-
"DKK"
|
|
31926
|
-
]
|
|
31927
|
-
},
|
|
31928
|
-
{
|
|
31929
|
-
"type": "string",
|
|
31930
|
-
"enum": [
|
|
31931
|
-
"PLN"
|
|
31932
|
-
]
|
|
31933
|
-
},
|
|
31934
|
-
{
|
|
31935
|
-
"type": "string",
|
|
31936
|
-
"enum": [
|
|
31937
|
-
"BRL"
|
|
31938
|
-
]
|
|
31939
|
-
}
|
|
31940
|
-
]
|
|
31998
|
+
"description": "ISO 4217 currency code of ad spend, free-text passthrough from the connected ad account (any currency). Runtime accepts any 3-letter code.",
|
|
31999
|
+
"type": "string"
|
|
31941
32000
|
},
|
|
31942
32001
|
"spend_percentage": {
|
|
31943
32002
|
"description": "Percentage of plan quota consumed (0-100+), two decimals.",
|