@arbol-ai/cli 3.59.0 → 3.60.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.
- package/dist/index.js +1379 -5
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -786,6 +786,46 @@ var commands = {
|
|
|
786
786
|
confirmation: null,
|
|
787
787
|
hidden: false
|
|
788
788
|
},
|
|
789
|
+
"account billing get": {
|
|
790
|
+
operation: "account.billing.get",
|
|
791
|
+
sdkPath: [
|
|
792
|
+
"account",
|
|
793
|
+
"billing",
|
|
794
|
+
"get"
|
|
795
|
+
],
|
|
796
|
+
pathField: null,
|
|
797
|
+
fields: [],
|
|
798
|
+
inputSchema: {
|
|
799
|
+
type: "object",
|
|
800
|
+
properties: {},
|
|
801
|
+
additionalProperties: false
|
|
802
|
+
},
|
|
803
|
+
title: "Get billing",
|
|
804
|
+
description: "The organization's wallet in credits (one credit is one US dollar): credits left, granted and spent in the current period, whether running out stops service, its plans and the card a top-up charges.",
|
|
805
|
+
effect: "read",
|
|
806
|
+
confirmation: null,
|
|
807
|
+
hidden: false
|
|
808
|
+
},
|
|
809
|
+
"account billing-portal-sessions create": {
|
|
810
|
+
operation: "account.billingPortalSessions.create",
|
|
811
|
+
sdkPath: [
|
|
812
|
+
"account",
|
|
813
|
+
"billingPortalSessions",
|
|
814
|
+
"create"
|
|
815
|
+
],
|
|
816
|
+
pathField: null,
|
|
817
|
+
fields: [],
|
|
818
|
+
inputSchema: {
|
|
819
|
+
type: "object",
|
|
820
|
+
properties: {},
|
|
821
|
+
additionalProperties: false
|
|
822
|
+
},
|
|
823
|
+
title: "Open the card portal",
|
|
824
|
+
description: "A session of Stripe's portal, where the organization's people change its saved card and download its card receipts.",
|
|
825
|
+
effect: "write",
|
|
826
|
+
confirmation: null,
|
|
827
|
+
hidden: false
|
|
828
|
+
},
|
|
789
829
|
"account colombian-records lookup": {
|
|
790
830
|
operation: "account.colombianRecords.lookup",
|
|
791
831
|
sdkPath: [
|
|
@@ -1841,6 +1881,189 @@ var commands = {
|
|
|
1841
1881
|
confirmation: null,
|
|
1842
1882
|
hidden: false
|
|
1843
1883
|
},
|
|
1884
|
+
"account usage-summary get": {
|
|
1885
|
+
operation: "account.usageSummary.get",
|
|
1886
|
+
sdkPath: [
|
|
1887
|
+
"account",
|
|
1888
|
+
"usageSummary",
|
|
1889
|
+
"get"
|
|
1890
|
+
],
|
|
1891
|
+
pathField: null,
|
|
1892
|
+
fields: [
|
|
1893
|
+
{
|
|
1894
|
+
name: "from",
|
|
1895
|
+
flag: "from",
|
|
1896
|
+
kind: "string",
|
|
1897
|
+
required: false,
|
|
1898
|
+
description: "Start of the range; the current month by default."
|
|
1899
|
+
},
|
|
1900
|
+
{
|
|
1901
|
+
name: "to",
|
|
1902
|
+
flag: "to",
|
|
1903
|
+
kind: "string",
|
|
1904
|
+
required: false,
|
|
1905
|
+
description: "End of the range; now by default."
|
|
1906
|
+
},
|
|
1907
|
+
{
|
|
1908
|
+
name: "groupBy",
|
|
1909
|
+
flag: "group-by",
|
|
1910
|
+
kind: "string",
|
|
1911
|
+
required: false,
|
|
1912
|
+
description: "Breaks each feature down; by product by default.",
|
|
1913
|
+
choices: [
|
|
1914
|
+
"product",
|
|
1915
|
+
"channel"
|
|
1916
|
+
]
|
|
1917
|
+
}
|
|
1918
|
+
],
|
|
1919
|
+
inputSchema: {
|
|
1920
|
+
type: "object",
|
|
1921
|
+
properties: {
|
|
1922
|
+
from: {
|
|
1923
|
+
type: "string",
|
|
1924
|
+
format: "date-time",
|
|
1925
|
+
description: "Start of the range; the current month by default."
|
|
1926
|
+
},
|
|
1927
|
+
to: {
|
|
1928
|
+
type: "string",
|
|
1929
|
+
format: "date-time",
|
|
1930
|
+
description: "End of the range; now by default."
|
|
1931
|
+
},
|
|
1932
|
+
groupBy: {
|
|
1933
|
+
anyOf: [
|
|
1934
|
+
{
|
|
1935
|
+
type: "string",
|
|
1936
|
+
const: "product"
|
|
1937
|
+
},
|
|
1938
|
+
{
|
|
1939
|
+
type: "string",
|
|
1940
|
+
const: "channel"
|
|
1941
|
+
}
|
|
1942
|
+
],
|
|
1943
|
+
description: "Breaks each feature down; by product by default."
|
|
1944
|
+
}
|
|
1945
|
+
},
|
|
1946
|
+
additionalProperties: false
|
|
1947
|
+
},
|
|
1948
|
+
title: "Get the usage summary",
|
|
1949
|
+
description: "What the organization used in a range, the current month by default: each metered feature in its own units (minutes, conversations, lookups…), broken down by product or channel, and the credits its wallet paid.",
|
|
1950
|
+
effect: "read",
|
|
1951
|
+
confirmation: null,
|
|
1952
|
+
hidden: false
|
|
1953
|
+
},
|
|
1954
|
+
"account wallet-top-ups create": {
|
|
1955
|
+
operation: "account.walletTopUps.create",
|
|
1956
|
+
sdkPath: [
|
|
1957
|
+
"account",
|
|
1958
|
+
"walletTopUps",
|
|
1959
|
+
"create"
|
|
1960
|
+
],
|
|
1961
|
+
pathField: null,
|
|
1962
|
+
fields: [
|
|
1963
|
+
{
|
|
1964
|
+
name: "credits",
|
|
1965
|
+
flag: "credits",
|
|
1966
|
+
kind: "integer",
|
|
1967
|
+
required: true,
|
|
1968
|
+
description: "Credits to buy, at one US dollar each."
|
|
1969
|
+
}
|
|
1970
|
+
],
|
|
1971
|
+
inputSchema: {
|
|
1972
|
+
type: "object",
|
|
1973
|
+
required: [
|
|
1974
|
+
"credits"
|
|
1975
|
+
],
|
|
1976
|
+
properties: {
|
|
1977
|
+
credits: {
|
|
1978
|
+
type: "integer",
|
|
1979
|
+
minimum: 10,
|
|
1980
|
+
maximum: 1e4,
|
|
1981
|
+
description: "Credits to buy, at one US dollar each."
|
|
1982
|
+
}
|
|
1983
|
+
},
|
|
1984
|
+
additionalProperties: false
|
|
1985
|
+
},
|
|
1986
|
+
title: "Top up the wallet",
|
|
1987
|
+
description: "Buys credits at one US dollar each. The organization's saved card is charged at once; without one, or when the bank asks to confirm, the answer is Stripe's page to pay on. Never repeated on its own: a lost answer is OUTCOME_UNKNOWN, and the wallet's transactions say whether it was paid.",
|
|
1988
|
+
effect: "write",
|
|
1989
|
+
confirmation: null,
|
|
1990
|
+
hidden: false
|
|
1991
|
+
},
|
|
1992
|
+
"account wallet-transactions list": {
|
|
1993
|
+
operation: "account.walletTransactions.list",
|
|
1994
|
+
sdkPath: [
|
|
1995
|
+
"account",
|
|
1996
|
+
"walletTransactions",
|
|
1997
|
+
"list"
|
|
1998
|
+
],
|
|
1999
|
+
pathField: null,
|
|
2000
|
+
fields: [
|
|
2001
|
+
{
|
|
2002
|
+
name: "cursor",
|
|
2003
|
+
flag: "cursor",
|
|
2004
|
+
kind: "string",
|
|
2005
|
+
required: false,
|
|
2006
|
+
description: "Opaque cursor returned by pageInfo; omit it to request the first page."
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
name: "direction",
|
|
2010
|
+
flag: "direction",
|
|
2011
|
+
kind: "string",
|
|
2012
|
+
required: false,
|
|
2013
|
+
description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
|
|
2014
|
+
choices: [
|
|
2015
|
+
"forward",
|
|
2016
|
+
"backward"
|
|
2017
|
+
],
|
|
2018
|
+
default: "forward"
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
name: "limit",
|
|
2022
|
+
flag: "limit",
|
|
2023
|
+
kind: "integer",
|
|
2024
|
+
required: false,
|
|
2025
|
+
description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
|
|
2026
|
+
default: 25
|
|
2027
|
+
}
|
|
2028
|
+
],
|
|
2029
|
+
inputSchema: {
|
|
2030
|
+
type: "object",
|
|
2031
|
+
required: [],
|
|
2032
|
+
properties: {
|
|
2033
|
+
cursor: {
|
|
2034
|
+
type: "string",
|
|
2035
|
+
description: "Opaque cursor returned by pageInfo; omit it to request the first page."
|
|
2036
|
+
},
|
|
2037
|
+
direction: {
|
|
2038
|
+
anyOf: [
|
|
2039
|
+
{
|
|
2040
|
+
type: "string",
|
|
2041
|
+
const: "forward"
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
type: "string",
|
|
2045
|
+
const: "backward"
|
|
2046
|
+
}
|
|
2047
|
+
],
|
|
2048
|
+
description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
|
|
2049
|
+
default: "forward"
|
|
2050
|
+
},
|
|
2051
|
+
limit: {
|
|
2052
|
+
type: "integer",
|
|
2053
|
+
minimum: 1,
|
|
2054
|
+
maximum: 100,
|
|
2055
|
+
description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
|
|
2056
|
+
default: 25
|
|
2057
|
+
}
|
|
2058
|
+
},
|
|
2059
|
+
additionalProperties: false
|
|
2060
|
+
},
|
|
2061
|
+
title: "List wallet transactions",
|
|
2062
|
+
description: "What moved the organization's wallet, newest first: top-ups, plan grants and renewals, adjustments Arbol made, and the credits spent, one entry per UTC day, each with the balance right after it. Listed forward only.",
|
|
2063
|
+
effect: "read",
|
|
2064
|
+
confirmation: null,
|
|
2065
|
+
hidden: false
|
|
2066
|
+
},
|
|
1844
2067
|
"adres affiliations lookup": {
|
|
1845
2068
|
operation: "adres.affiliations.lookup",
|
|
1846
2069
|
sdkPath: [
|
|
@@ -34893,6 +35116,369 @@ var schemaComponents = {
|
|
|
34893
35116
|
},
|
|
34894
35117
|
additionalProperties: false
|
|
34895
35118
|
},
|
|
35119
|
+
AccountBilling: {
|
|
35120
|
+
type: "object",
|
|
35121
|
+
required: [
|
|
35122
|
+
"status",
|
|
35123
|
+
"balance",
|
|
35124
|
+
"granted",
|
|
35125
|
+
"used",
|
|
35126
|
+
"unlimited",
|
|
35127
|
+
"overageAllowed",
|
|
35128
|
+
"enforced",
|
|
35129
|
+
"nextResetAt",
|
|
35130
|
+
"plans",
|
|
35131
|
+
"card",
|
|
35132
|
+
"topUp"
|
|
35133
|
+
],
|
|
35134
|
+
properties: {
|
|
35135
|
+
status: {
|
|
35136
|
+
anyOf: [
|
|
35137
|
+
{
|
|
35138
|
+
type: "string",
|
|
35139
|
+
const: "active"
|
|
35140
|
+
},
|
|
35141
|
+
{
|
|
35142
|
+
type: "string",
|
|
35143
|
+
const: "new"
|
|
35144
|
+
}
|
|
35145
|
+
],
|
|
35146
|
+
description: "`new`: the organization has no wallet yet; its first use or top-up opens one."
|
|
35147
|
+
},
|
|
35148
|
+
balance: {
|
|
35149
|
+
type: "number",
|
|
35150
|
+
description: "Credits left in the wallet; one credit is one US dollar."
|
|
35151
|
+
},
|
|
35152
|
+
granted: {
|
|
35153
|
+
type: "number",
|
|
35154
|
+
description: "Credits the wallet received in the current period, top-ups included."
|
|
35155
|
+
},
|
|
35156
|
+
used: {
|
|
35157
|
+
type: "number",
|
|
35158
|
+
description: "Credits spent in the current period."
|
|
35159
|
+
},
|
|
35160
|
+
unlimited: {
|
|
35161
|
+
type: "boolean",
|
|
35162
|
+
description: "The plan never stops usage for lack of credits."
|
|
35163
|
+
},
|
|
35164
|
+
overageAllowed: {
|
|
35165
|
+
type: "boolean",
|
|
35166
|
+
description: "Usage continues below zero, up to any limit agreed, and is settled later."
|
|
35167
|
+
},
|
|
35168
|
+
enforced: {
|
|
35169
|
+
type: "boolean",
|
|
35170
|
+
description: "Whether running out stops service now; until it does, a refusal is only recorded."
|
|
35171
|
+
},
|
|
35172
|
+
nextResetAt: {
|
|
35173
|
+
anyOf: [
|
|
35174
|
+
{
|
|
35175
|
+
type: "string",
|
|
35176
|
+
format: "date-time"
|
|
35177
|
+
},
|
|
35178
|
+
{
|
|
35179
|
+
type: "null"
|
|
35180
|
+
}
|
|
35181
|
+
],
|
|
35182
|
+
description: "When the plan's included credits renew."
|
|
35183
|
+
},
|
|
35184
|
+
plans: {
|
|
35185
|
+
type: "array",
|
|
35186
|
+
items: {
|
|
35187
|
+
$ref: "#/components/schemas/AccountBillingPlan"
|
|
35188
|
+
},
|
|
35189
|
+
maxItems: 50
|
|
35190
|
+
},
|
|
35191
|
+
card: {
|
|
35192
|
+
anyOf: [
|
|
35193
|
+
{
|
|
35194
|
+
type: "object",
|
|
35195
|
+
required: [
|
|
35196
|
+
"brand",
|
|
35197
|
+
"last4"
|
|
35198
|
+
],
|
|
35199
|
+
properties: {
|
|
35200
|
+
brand: {
|
|
35201
|
+
type: "string"
|
|
35202
|
+
},
|
|
35203
|
+
last4: {
|
|
35204
|
+
type: "string"
|
|
35205
|
+
}
|
|
35206
|
+
},
|
|
35207
|
+
additionalProperties: false
|
|
35208
|
+
},
|
|
35209
|
+
{
|
|
35210
|
+
type: "null"
|
|
35211
|
+
}
|
|
35212
|
+
],
|
|
35213
|
+
description: "The card a top-up charges without asking for one."
|
|
35214
|
+
},
|
|
35215
|
+
topUp: {
|
|
35216
|
+
type: "object",
|
|
35217
|
+
required: [
|
|
35218
|
+
"minimum",
|
|
35219
|
+
"maximum"
|
|
35220
|
+
],
|
|
35221
|
+
properties: {
|
|
35222
|
+
minimum: {
|
|
35223
|
+
type: "integer"
|
|
35224
|
+
},
|
|
35225
|
+
maximum: {
|
|
35226
|
+
type: "integer"
|
|
35227
|
+
}
|
|
35228
|
+
},
|
|
35229
|
+
additionalProperties: false,
|
|
35230
|
+
description: "The credits one top-up may buy, in whole credits."
|
|
35231
|
+
}
|
|
35232
|
+
},
|
|
35233
|
+
additionalProperties: false
|
|
35234
|
+
},
|
|
35235
|
+
AccountBillingNotConfiguredFailure: {
|
|
35236
|
+
type: "object",
|
|
35237
|
+
description: "Billing is not configured yet.",
|
|
35238
|
+
additionalProperties: false,
|
|
35239
|
+
required: [
|
|
35240
|
+
"code",
|
|
35241
|
+
"message",
|
|
35242
|
+
"retryable",
|
|
35243
|
+
"data"
|
|
35244
|
+
],
|
|
35245
|
+
properties: {
|
|
35246
|
+
code: {
|
|
35247
|
+
type: "string",
|
|
35248
|
+
enum: [
|
|
35249
|
+
"BILLING_NOT_CONFIGURED"
|
|
35250
|
+
],
|
|
35251
|
+
description: "The failure code, stable across releases."
|
|
35252
|
+
},
|
|
35253
|
+
message: {
|
|
35254
|
+
type: "string",
|
|
35255
|
+
description: "What went wrong, for people; it never contains input values."
|
|
35256
|
+
},
|
|
35257
|
+
retryable: {
|
|
35258
|
+
type: "boolean",
|
|
35259
|
+
enum: [
|
|
35260
|
+
false
|
|
35261
|
+
],
|
|
35262
|
+
description: "Whether repeating the same request may succeed."
|
|
35263
|
+
},
|
|
35264
|
+
data: {
|
|
35265
|
+
$ref: "#/components/schemas/Empty"
|
|
35266
|
+
}
|
|
35267
|
+
}
|
|
35268
|
+
},
|
|
35269
|
+
AccountBillingPlan: {
|
|
35270
|
+
type: "object",
|
|
35271
|
+
required: [
|
|
35272
|
+
"id",
|
|
35273
|
+
"name",
|
|
35274
|
+
"status",
|
|
35275
|
+
"pastDue",
|
|
35276
|
+
"currentPeriodEndsAt"
|
|
35277
|
+
],
|
|
35278
|
+
properties: {
|
|
35279
|
+
id: {
|
|
35280
|
+
type: "string",
|
|
35281
|
+
description: "The plan's id in Autumn, such as `arbol_prepaid` or a customer's own plan."
|
|
35282
|
+
},
|
|
35283
|
+
name: {
|
|
35284
|
+
type: "string"
|
|
35285
|
+
},
|
|
35286
|
+
status: {
|
|
35287
|
+
anyOf: [
|
|
35288
|
+
{
|
|
35289
|
+
type: "string",
|
|
35290
|
+
const: "active"
|
|
35291
|
+
},
|
|
35292
|
+
{
|
|
35293
|
+
type: "string",
|
|
35294
|
+
const: "scheduled"
|
|
35295
|
+
}
|
|
35296
|
+
]
|
|
35297
|
+
},
|
|
35298
|
+
pastDue: {
|
|
35299
|
+
type: "boolean",
|
|
35300
|
+
description: "A card payment of the plan failed and is still owed."
|
|
35301
|
+
},
|
|
35302
|
+
currentPeriodEndsAt: {
|
|
35303
|
+
anyOf: [
|
|
35304
|
+
{
|
|
35305
|
+
type: "string",
|
|
35306
|
+
format: "date-time"
|
|
35307
|
+
},
|
|
35308
|
+
{
|
|
35309
|
+
type: "null"
|
|
35310
|
+
}
|
|
35311
|
+
],
|
|
35312
|
+
description: "When the current period ends."
|
|
35313
|
+
}
|
|
35314
|
+
},
|
|
35315
|
+
additionalProperties: false
|
|
35316
|
+
},
|
|
35317
|
+
AccountBillingPortalSession: {
|
|
35318
|
+
type: "object",
|
|
35319
|
+
required: [
|
|
35320
|
+
"url"
|
|
35321
|
+
],
|
|
35322
|
+
properties: {
|
|
35323
|
+
url: {
|
|
35324
|
+
type: "string",
|
|
35325
|
+
description: "Stripe's portal, for the organization's cards and receipts."
|
|
35326
|
+
}
|
|
35327
|
+
},
|
|
35328
|
+
additionalProperties: false
|
|
35329
|
+
},
|
|
35330
|
+
AccountBillingPortalSessionResponse: {
|
|
35331
|
+
type: "object",
|
|
35332
|
+
description: "A successful answer.",
|
|
35333
|
+
additionalProperties: false,
|
|
35334
|
+
required: [
|
|
35335
|
+
"success",
|
|
35336
|
+
"data",
|
|
35337
|
+
"error",
|
|
35338
|
+
"metadata"
|
|
35339
|
+
],
|
|
35340
|
+
properties: {
|
|
35341
|
+
success: {
|
|
35342
|
+
type: "boolean",
|
|
35343
|
+
enum: [
|
|
35344
|
+
true
|
|
35345
|
+
]
|
|
35346
|
+
},
|
|
35347
|
+
data: {
|
|
35348
|
+
$ref: "#/components/schemas/AccountBillingPortalSession"
|
|
35349
|
+
},
|
|
35350
|
+
error: {
|
|
35351
|
+
const: null
|
|
35352
|
+
},
|
|
35353
|
+
metadata: {
|
|
35354
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
35355
|
+
}
|
|
35356
|
+
}
|
|
35357
|
+
},
|
|
35358
|
+
AccountBillingPortalUnavailableError: {
|
|
35359
|
+
type: "object",
|
|
35360
|
+
description: "A failed answer.",
|
|
35361
|
+
additionalProperties: false,
|
|
35362
|
+
required: [
|
|
35363
|
+
"success",
|
|
35364
|
+
"data",
|
|
35365
|
+
"error",
|
|
35366
|
+
"metadata"
|
|
35367
|
+
],
|
|
35368
|
+
properties: {
|
|
35369
|
+
success: {
|
|
35370
|
+
type: "boolean",
|
|
35371
|
+
enum: [
|
|
35372
|
+
false
|
|
35373
|
+
]
|
|
35374
|
+
},
|
|
35375
|
+
data: {
|
|
35376
|
+
const: null
|
|
35377
|
+
},
|
|
35378
|
+
error: {
|
|
35379
|
+
$ref: "#/components/schemas/AccountBillingPortalUnavailableFailure"
|
|
35380
|
+
},
|
|
35381
|
+
metadata: {
|
|
35382
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
35383
|
+
}
|
|
35384
|
+
}
|
|
35385
|
+
},
|
|
35386
|
+
AccountBillingPortalUnavailableFailure: {
|
|
35387
|
+
type: "object",
|
|
35388
|
+
description: "The organization has no card payments to manage yet.",
|
|
35389
|
+
additionalProperties: false,
|
|
35390
|
+
required: [
|
|
35391
|
+
"code",
|
|
35392
|
+
"message",
|
|
35393
|
+
"retryable",
|
|
35394
|
+
"data"
|
|
35395
|
+
],
|
|
35396
|
+
properties: {
|
|
35397
|
+
code: {
|
|
35398
|
+
type: "string",
|
|
35399
|
+
enum: [
|
|
35400
|
+
"BILLING_PORTAL_UNAVAILABLE"
|
|
35401
|
+
],
|
|
35402
|
+
description: "The failure code, stable across releases."
|
|
35403
|
+
},
|
|
35404
|
+
message: {
|
|
35405
|
+
type: "string",
|
|
35406
|
+
description: "What went wrong, for people; it never contains input values."
|
|
35407
|
+
},
|
|
35408
|
+
retryable: {
|
|
35409
|
+
type: "boolean",
|
|
35410
|
+
enum: [
|
|
35411
|
+
false
|
|
35412
|
+
],
|
|
35413
|
+
description: "Whether repeating the same request may succeed."
|
|
35414
|
+
},
|
|
35415
|
+
data: {
|
|
35416
|
+
$ref: "#/components/schemas/Empty"
|
|
35417
|
+
}
|
|
35418
|
+
}
|
|
35419
|
+
},
|
|
35420
|
+
AccountBillingResponse: {
|
|
35421
|
+
type: "object",
|
|
35422
|
+
description: "A successful answer.",
|
|
35423
|
+
additionalProperties: false,
|
|
35424
|
+
required: [
|
|
35425
|
+
"success",
|
|
35426
|
+
"data",
|
|
35427
|
+
"error",
|
|
35428
|
+
"metadata"
|
|
35429
|
+
],
|
|
35430
|
+
properties: {
|
|
35431
|
+
success: {
|
|
35432
|
+
type: "boolean",
|
|
35433
|
+
enum: [
|
|
35434
|
+
true
|
|
35435
|
+
]
|
|
35436
|
+
},
|
|
35437
|
+
data: {
|
|
35438
|
+
$ref: "#/components/schemas/AccountBilling"
|
|
35439
|
+
},
|
|
35440
|
+
error: {
|
|
35441
|
+
const: null
|
|
35442
|
+
},
|
|
35443
|
+
metadata: {
|
|
35444
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
35445
|
+
}
|
|
35446
|
+
}
|
|
35447
|
+
},
|
|
35448
|
+
AccountBillingUnavailableFailure: {
|
|
35449
|
+
type: "object",
|
|
35450
|
+
description: "The billing service did not answer.",
|
|
35451
|
+
additionalProperties: false,
|
|
35452
|
+
required: [
|
|
35453
|
+
"code",
|
|
35454
|
+
"message",
|
|
35455
|
+
"retryable",
|
|
35456
|
+
"data"
|
|
35457
|
+
],
|
|
35458
|
+
properties: {
|
|
35459
|
+
code: {
|
|
35460
|
+
type: "string",
|
|
35461
|
+
enum: [
|
|
35462
|
+
"BILLING_UNAVAILABLE"
|
|
35463
|
+
],
|
|
35464
|
+
description: "The failure code, stable across releases."
|
|
35465
|
+
},
|
|
35466
|
+
message: {
|
|
35467
|
+
type: "string",
|
|
35468
|
+
description: "What went wrong, for people; it never contains input values."
|
|
35469
|
+
},
|
|
35470
|
+
retryable: {
|
|
35471
|
+
type: "boolean",
|
|
35472
|
+
enum: [
|
|
35473
|
+
true
|
|
35474
|
+
],
|
|
35475
|
+
description: "Whether repeating the same request may succeed."
|
|
35476
|
+
},
|
|
35477
|
+
data: {
|
|
35478
|
+
$ref: "#/components/schemas/Empty"
|
|
35479
|
+
}
|
|
35480
|
+
}
|
|
35481
|
+
},
|
|
34896
35482
|
AccountColombiaLookupPresentation: {
|
|
34897
35483
|
anyOf: [
|
|
34898
35484
|
{
|
|
@@ -35829,6 +36415,55 @@ var schemaComponents = {
|
|
|
35829
36415
|
}
|
|
35830
36416
|
}
|
|
35831
36417
|
},
|
|
36418
|
+
AccountCreateBillingPortalSessionServiceUnavailableError: {
|
|
36419
|
+
type: "object",
|
|
36420
|
+
description: "A failed answer.",
|
|
36421
|
+
additionalProperties: false,
|
|
36422
|
+
required: [
|
|
36423
|
+
"success",
|
|
36424
|
+
"data",
|
|
36425
|
+
"error",
|
|
36426
|
+
"metadata"
|
|
36427
|
+
],
|
|
36428
|
+
properties: {
|
|
36429
|
+
success: {
|
|
36430
|
+
type: "boolean",
|
|
36431
|
+
enum: [
|
|
36432
|
+
false
|
|
36433
|
+
]
|
|
36434
|
+
},
|
|
36435
|
+
data: {
|
|
36436
|
+
const: null
|
|
36437
|
+
},
|
|
36438
|
+
error: {
|
|
36439
|
+
$ref: "#/components/schemas/AccountCreateBillingPortalSessionServiceUnavailableFailure"
|
|
36440
|
+
},
|
|
36441
|
+
metadata: {
|
|
36442
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
36443
|
+
}
|
|
36444
|
+
}
|
|
36445
|
+
},
|
|
36446
|
+
AccountCreateBillingPortalSessionServiceUnavailableFailure: {
|
|
36447
|
+
oneOf: [
|
|
36448
|
+
{
|
|
36449
|
+
$ref: "#/components/schemas/UpstreamUnavailableFailure"
|
|
36450
|
+
},
|
|
36451
|
+
{
|
|
36452
|
+
$ref: "#/components/schemas/AccountBillingNotConfiguredFailure"
|
|
36453
|
+
},
|
|
36454
|
+
{
|
|
36455
|
+
$ref: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
36456
|
+
}
|
|
36457
|
+
],
|
|
36458
|
+
discriminator: {
|
|
36459
|
+
propertyName: "code",
|
|
36460
|
+
mapping: {
|
|
36461
|
+
UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
|
|
36462
|
+
BILLING_NOT_CONFIGURED: "#/components/schemas/AccountBillingNotConfiguredFailure",
|
|
36463
|
+
BILLING_UNAVAILABLE: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
36464
|
+
}
|
|
36465
|
+
}
|
|
36466
|
+
},
|
|
35832
36467
|
AccountCreateInvitationBody: {
|
|
35833
36468
|
type: "object",
|
|
35834
36469
|
required: [
|
|
@@ -36211,6 +36846,70 @@ var schemaComponents = {
|
|
|
36211
36846
|
}
|
|
36212
36847
|
}
|
|
36213
36848
|
},
|
|
36849
|
+
AccountCreateWalletTopUpBody: {
|
|
36850
|
+
type: "object",
|
|
36851
|
+
required: [
|
|
36852
|
+
"credits"
|
|
36853
|
+
],
|
|
36854
|
+
properties: {
|
|
36855
|
+
credits: {
|
|
36856
|
+
type: "integer",
|
|
36857
|
+
minimum: 10,
|
|
36858
|
+
maximum: 1e4,
|
|
36859
|
+
description: "Credits to buy, at one US dollar each."
|
|
36860
|
+
}
|
|
36861
|
+
},
|
|
36862
|
+
additionalProperties: false
|
|
36863
|
+
},
|
|
36864
|
+
AccountCreateWalletTopUpServiceUnavailableError: {
|
|
36865
|
+
type: "object",
|
|
36866
|
+
description: "A failed answer.",
|
|
36867
|
+
additionalProperties: false,
|
|
36868
|
+
required: [
|
|
36869
|
+
"success",
|
|
36870
|
+
"data",
|
|
36871
|
+
"error",
|
|
36872
|
+
"metadata"
|
|
36873
|
+
],
|
|
36874
|
+
properties: {
|
|
36875
|
+
success: {
|
|
36876
|
+
type: "boolean",
|
|
36877
|
+
enum: [
|
|
36878
|
+
false
|
|
36879
|
+
]
|
|
36880
|
+
},
|
|
36881
|
+
data: {
|
|
36882
|
+
const: null
|
|
36883
|
+
},
|
|
36884
|
+
error: {
|
|
36885
|
+
$ref: "#/components/schemas/AccountCreateWalletTopUpServiceUnavailableFailure"
|
|
36886
|
+
},
|
|
36887
|
+
metadata: {
|
|
36888
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
36889
|
+
}
|
|
36890
|
+
}
|
|
36891
|
+
},
|
|
36892
|
+
AccountCreateWalletTopUpServiceUnavailableFailure: {
|
|
36893
|
+
oneOf: [
|
|
36894
|
+
{
|
|
36895
|
+
$ref: "#/components/schemas/UpstreamUnavailableFailure"
|
|
36896
|
+
},
|
|
36897
|
+
{
|
|
36898
|
+
$ref: "#/components/schemas/AccountBillingNotConfiguredFailure"
|
|
36899
|
+
},
|
|
36900
|
+
{
|
|
36901
|
+
$ref: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
36902
|
+
}
|
|
36903
|
+
],
|
|
36904
|
+
discriminator: {
|
|
36905
|
+
propertyName: "code",
|
|
36906
|
+
mapping: {
|
|
36907
|
+
UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
|
|
36908
|
+
BILLING_NOT_CONFIGURED: "#/components/schemas/AccountBillingNotConfiguredFailure",
|
|
36909
|
+
BILLING_UNAVAILABLE: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
36910
|
+
}
|
|
36911
|
+
}
|
|
36912
|
+
},
|
|
36214
36913
|
AccountCurrentOrganization: {
|
|
36215
36914
|
type: "object",
|
|
36216
36915
|
required: [
|
|
@@ -36672,6 +37371,55 @@ var schemaComponents = {
|
|
|
36672
37371
|
}
|
|
36673
37372
|
}
|
|
36674
37373
|
},
|
|
37374
|
+
AccountGetBillingServiceUnavailableError: {
|
|
37375
|
+
type: "object",
|
|
37376
|
+
description: "A failed answer.",
|
|
37377
|
+
additionalProperties: false,
|
|
37378
|
+
required: [
|
|
37379
|
+
"success",
|
|
37380
|
+
"data",
|
|
37381
|
+
"error",
|
|
37382
|
+
"metadata"
|
|
37383
|
+
],
|
|
37384
|
+
properties: {
|
|
37385
|
+
success: {
|
|
37386
|
+
type: "boolean",
|
|
37387
|
+
enum: [
|
|
37388
|
+
false
|
|
37389
|
+
]
|
|
37390
|
+
},
|
|
37391
|
+
data: {
|
|
37392
|
+
const: null
|
|
37393
|
+
},
|
|
37394
|
+
error: {
|
|
37395
|
+
$ref: "#/components/schemas/AccountGetBillingServiceUnavailableFailure"
|
|
37396
|
+
},
|
|
37397
|
+
metadata: {
|
|
37398
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
37399
|
+
}
|
|
37400
|
+
}
|
|
37401
|
+
},
|
|
37402
|
+
AccountGetBillingServiceUnavailableFailure: {
|
|
37403
|
+
oneOf: [
|
|
37404
|
+
{
|
|
37405
|
+
$ref: "#/components/schemas/UpstreamUnavailableFailure"
|
|
37406
|
+
},
|
|
37407
|
+
{
|
|
37408
|
+
$ref: "#/components/schemas/AccountBillingNotConfiguredFailure"
|
|
37409
|
+
},
|
|
37410
|
+
{
|
|
37411
|
+
$ref: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
37412
|
+
}
|
|
37413
|
+
],
|
|
37414
|
+
discriminator: {
|
|
37415
|
+
propertyName: "code",
|
|
37416
|
+
mapping: {
|
|
37417
|
+
UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
|
|
37418
|
+
BILLING_NOT_CONFIGURED: "#/components/schemas/AccountBillingNotConfiguredFailure",
|
|
37419
|
+
BILLING_UNAVAILABLE: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
37420
|
+
}
|
|
37421
|
+
}
|
|
37422
|
+
},
|
|
36675
37423
|
AccountGetCurrentOrganizationServiceUnavailableError: {
|
|
36676
37424
|
type: "object",
|
|
36677
37425
|
description: "A failed answer.",
|
|
@@ -36721,6 +37469,55 @@ var schemaComponents = {
|
|
|
36721
37469
|
}
|
|
36722
37470
|
}
|
|
36723
37471
|
},
|
|
37472
|
+
AccountGetUsageSummaryServiceUnavailableError: {
|
|
37473
|
+
type: "object",
|
|
37474
|
+
description: "A failed answer.",
|
|
37475
|
+
additionalProperties: false,
|
|
37476
|
+
required: [
|
|
37477
|
+
"success",
|
|
37478
|
+
"data",
|
|
37479
|
+
"error",
|
|
37480
|
+
"metadata"
|
|
37481
|
+
],
|
|
37482
|
+
properties: {
|
|
37483
|
+
success: {
|
|
37484
|
+
type: "boolean",
|
|
37485
|
+
enum: [
|
|
37486
|
+
false
|
|
37487
|
+
]
|
|
37488
|
+
},
|
|
37489
|
+
data: {
|
|
37490
|
+
const: null
|
|
37491
|
+
},
|
|
37492
|
+
error: {
|
|
37493
|
+
$ref: "#/components/schemas/AccountGetUsageSummaryServiceUnavailableFailure"
|
|
37494
|
+
},
|
|
37495
|
+
metadata: {
|
|
37496
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
37497
|
+
}
|
|
37498
|
+
}
|
|
37499
|
+
},
|
|
37500
|
+
AccountGetUsageSummaryServiceUnavailableFailure: {
|
|
37501
|
+
oneOf: [
|
|
37502
|
+
{
|
|
37503
|
+
$ref: "#/components/schemas/UpstreamUnavailableFailure"
|
|
37504
|
+
},
|
|
37505
|
+
{
|
|
37506
|
+
$ref: "#/components/schemas/AccountBillingNotConfiguredFailure"
|
|
37507
|
+
},
|
|
37508
|
+
{
|
|
37509
|
+
$ref: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
37510
|
+
}
|
|
37511
|
+
],
|
|
37512
|
+
discriminator: {
|
|
37513
|
+
propertyName: "code",
|
|
37514
|
+
mapping: {
|
|
37515
|
+
UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
|
|
37516
|
+
BILLING_NOT_CONFIGURED: "#/components/schemas/AccountBillingNotConfiguredFailure",
|
|
37517
|
+
BILLING_UNAVAILABLE: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
37518
|
+
}
|
|
37519
|
+
}
|
|
37520
|
+
},
|
|
36724
37521
|
AccountIdentityRejectedError: {
|
|
36725
37522
|
type: "object",
|
|
36726
37523
|
description: "A failed answer.",
|
|
@@ -37411,6 +38208,55 @@ var schemaComponents = {
|
|
|
37411
38208
|
}
|
|
37412
38209
|
}
|
|
37413
38210
|
},
|
|
38211
|
+
AccountListWalletTransactionsServiceUnavailableError: {
|
|
38212
|
+
type: "object",
|
|
38213
|
+
description: "A failed answer.",
|
|
38214
|
+
additionalProperties: false,
|
|
38215
|
+
required: [
|
|
38216
|
+
"success",
|
|
38217
|
+
"data",
|
|
38218
|
+
"error",
|
|
38219
|
+
"metadata"
|
|
38220
|
+
],
|
|
38221
|
+
properties: {
|
|
38222
|
+
success: {
|
|
38223
|
+
type: "boolean",
|
|
38224
|
+
enum: [
|
|
38225
|
+
false
|
|
38226
|
+
]
|
|
38227
|
+
},
|
|
38228
|
+
data: {
|
|
38229
|
+
const: null
|
|
38230
|
+
},
|
|
38231
|
+
error: {
|
|
38232
|
+
$ref: "#/components/schemas/AccountListWalletTransactionsServiceUnavailableFailure"
|
|
38233
|
+
},
|
|
38234
|
+
metadata: {
|
|
38235
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
38236
|
+
}
|
|
38237
|
+
}
|
|
38238
|
+
},
|
|
38239
|
+
AccountListWalletTransactionsServiceUnavailableFailure: {
|
|
38240
|
+
oneOf: [
|
|
38241
|
+
{
|
|
38242
|
+
$ref: "#/components/schemas/UpstreamUnavailableFailure"
|
|
38243
|
+
},
|
|
38244
|
+
{
|
|
38245
|
+
$ref: "#/components/schemas/AccountBillingNotConfiguredFailure"
|
|
38246
|
+
},
|
|
38247
|
+
{
|
|
38248
|
+
$ref: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
38249
|
+
}
|
|
38250
|
+
],
|
|
38251
|
+
discriminator: {
|
|
38252
|
+
propertyName: "code",
|
|
38253
|
+
mapping: {
|
|
38254
|
+
UPSTREAM_UNAVAILABLE: "#/components/schemas/UpstreamUnavailableFailure",
|
|
38255
|
+
BILLING_NOT_CONFIGURED: "#/components/schemas/AccountBillingNotConfiguredFailure",
|
|
38256
|
+
BILLING_UNAVAILABLE: "#/components/schemas/AccountBillingUnavailableFailure"
|
|
38257
|
+
}
|
|
38258
|
+
}
|
|
38259
|
+
},
|
|
37414
38260
|
AccountMember: {
|
|
37415
38261
|
type: "object",
|
|
37416
38262
|
required: [
|
|
@@ -38598,6 +39444,68 @@ var schemaComponents = {
|
|
|
38598
39444
|
}
|
|
38599
39445
|
]
|
|
38600
39446
|
},
|
|
39447
|
+
AccountTopUpDeclinedError: {
|
|
39448
|
+
type: "object",
|
|
39449
|
+
description: "A failed answer.",
|
|
39450
|
+
additionalProperties: false,
|
|
39451
|
+
required: [
|
|
39452
|
+
"success",
|
|
39453
|
+
"data",
|
|
39454
|
+
"error",
|
|
39455
|
+
"metadata"
|
|
39456
|
+
],
|
|
39457
|
+
properties: {
|
|
39458
|
+
success: {
|
|
39459
|
+
type: "boolean",
|
|
39460
|
+
enum: [
|
|
39461
|
+
false
|
|
39462
|
+
]
|
|
39463
|
+
},
|
|
39464
|
+
data: {
|
|
39465
|
+
const: null
|
|
39466
|
+
},
|
|
39467
|
+
error: {
|
|
39468
|
+
$ref: "#/components/schemas/AccountTopUpDeclinedFailure"
|
|
39469
|
+
},
|
|
39470
|
+
metadata: {
|
|
39471
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
39472
|
+
}
|
|
39473
|
+
}
|
|
39474
|
+
},
|
|
39475
|
+
AccountTopUpDeclinedFailure: {
|
|
39476
|
+
type: "object",
|
|
39477
|
+
description: "The card was not charged: the payment was declined.",
|
|
39478
|
+
additionalProperties: false,
|
|
39479
|
+
required: [
|
|
39480
|
+
"code",
|
|
39481
|
+
"message",
|
|
39482
|
+
"retryable",
|
|
39483
|
+
"data"
|
|
39484
|
+
],
|
|
39485
|
+
properties: {
|
|
39486
|
+
code: {
|
|
39487
|
+
type: "string",
|
|
39488
|
+
enum: [
|
|
39489
|
+
"TOP_UP_DECLINED"
|
|
39490
|
+
],
|
|
39491
|
+
description: "The failure code, stable across releases."
|
|
39492
|
+
},
|
|
39493
|
+
message: {
|
|
39494
|
+
type: "string",
|
|
39495
|
+
description: "What went wrong, for people; it never contains input values."
|
|
39496
|
+
},
|
|
39497
|
+
retryable: {
|
|
39498
|
+
type: "boolean",
|
|
39499
|
+
enum: [
|
|
39500
|
+
false
|
|
39501
|
+
],
|
|
39502
|
+
description: "Whether repeating the same request may succeed."
|
|
39503
|
+
},
|
|
39504
|
+
data: {
|
|
39505
|
+
$ref: "#/components/schemas/Empty"
|
|
39506
|
+
}
|
|
39507
|
+
}
|
|
39508
|
+
},
|
|
38601
39509
|
AccountUpdateMemberBody: {
|
|
38602
39510
|
type: "object",
|
|
38603
39511
|
required: [
|
|
@@ -38807,6 +39715,386 @@ var schemaComponents = {
|
|
|
38807
39715
|
},
|
|
38808
39716
|
additionalProperties: false
|
|
38809
39717
|
},
|
|
39718
|
+
AccountUsageFeature: {
|
|
39719
|
+
type: "object",
|
|
39720
|
+
required: [
|
|
39721
|
+
"feature",
|
|
39722
|
+
"units",
|
|
39723
|
+
"events",
|
|
39724
|
+
"groups"
|
|
39725
|
+
],
|
|
39726
|
+
properties: {
|
|
39727
|
+
feature: {
|
|
39728
|
+
anyOf: [
|
|
39729
|
+
{
|
|
39730
|
+
type: "string",
|
|
39731
|
+
const: "voice_minutes"
|
|
39732
|
+
},
|
|
39733
|
+
{
|
|
39734
|
+
type: "string",
|
|
39735
|
+
const: "telephony_minutes"
|
|
39736
|
+
},
|
|
39737
|
+
{
|
|
39738
|
+
type: "string",
|
|
39739
|
+
const: "whatsapp_conversations"
|
|
39740
|
+
},
|
|
39741
|
+
{
|
|
39742
|
+
type: "string",
|
|
39743
|
+
const: "whatsapp_messages"
|
|
39744
|
+
},
|
|
39745
|
+
{
|
|
39746
|
+
type: "string",
|
|
39747
|
+
const: "whatsapp_templates"
|
|
39748
|
+
},
|
|
39749
|
+
{
|
|
39750
|
+
type: "string",
|
|
39751
|
+
const: "tool_calls"
|
|
39752
|
+
},
|
|
39753
|
+
{
|
|
39754
|
+
type: "string",
|
|
39755
|
+
const: "ai_cost"
|
|
39756
|
+
},
|
|
39757
|
+
{
|
|
39758
|
+
type: "string",
|
|
39759
|
+
const: "phone_numbers"
|
|
39760
|
+
},
|
|
39761
|
+
{
|
|
39762
|
+
type: "string",
|
|
39763
|
+
const: "sisben_lookups"
|
|
39764
|
+
},
|
|
39765
|
+
{
|
|
39766
|
+
type: "string",
|
|
39767
|
+
const: "agenda_plan"
|
|
39768
|
+
},
|
|
39769
|
+
{
|
|
39770
|
+
type: "string",
|
|
39771
|
+
const: "agenda_users"
|
|
39772
|
+
},
|
|
39773
|
+
{
|
|
39774
|
+
type: "string",
|
|
39775
|
+
const: "support_fee"
|
|
39776
|
+
}
|
|
39777
|
+
]
|
|
39778
|
+
},
|
|
39779
|
+
units: {
|
|
39780
|
+
type: "number",
|
|
39781
|
+
description: "What was used, in the feature's units: minutes, conversations, lookups… For `ai_cost`, the model calls."
|
|
39782
|
+
},
|
|
39783
|
+
events: {
|
|
39784
|
+
type: "integer",
|
|
39785
|
+
description: "How many reports made it up."
|
|
39786
|
+
},
|
|
39787
|
+
groups: {
|
|
39788
|
+
type: "array",
|
|
39789
|
+
items: {
|
|
39790
|
+
type: "object",
|
|
39791
|
+
required: [
|
|
39792
|
+
"key",
|
|
39793
|
+
"units"
|
|
39794
|
+
],
|
|
39795
|
+
properties: {
|
|
39796
|
+
key: {
|
|
39797
|
+
type: "string",
|
|
39798
|
+
description: "The product (`raiz`) or channel (`voice`)."
|
|
39799
|
+
},
|
|
39800
|
+
units: {
|
|
39801
|
+
type: "number"
|
|
39802
|
+
}
|
|
39803
|
+
},
|
|
39804
|
+
additionalProperties: false
|
|
39805
|
+
},
|
|
39806
|
+
maxItems: 100
|
|
39807
|
+
}
|
|
39808
|
+
},
|
|
39809
|
+
additionalProperties: false
|
|
39810
|
+
},
|
|
39811
|
+
AccountUsageSummary: {
|
|
39812
|
+
type: "object",
|
|
39813
|
+
required: [
|
|
39814
|
+
"from",
|
|
39815
|
+
"to",
|
|
39816
|
+
"groupBy",
|
|
39817
|
+
"credits",
|
|
39818
|
+
"features"
|
|
39819
|
+
],
|
|
39820
|
+
properties: {
|
|
39821
|
+
from: {
|
|
39822
|
+
type: "string",
|
|
39823
|
+
format: "date-time"
|
|
39824
|
+
},
|
|
39825
|
+
to: {
|
|
39826
|
+
type: "string",
|
|
39827
|
+
format: "date-time"
|
|
39828
|
+
},
|
|
39829
|
+
groupBy: {
|
|
39830
|
+
anyOf: [
|
|
39831
|
+
{
|
|
39832
|
+
type: "string",
|
|
39833
|
+
const: "product"
|
|
39834
|
+
},
|
|
39835
|
+
{
|
|
39836
|
+
type: "string",
|
|
39837
|
+
const: "channel"
|
|
39838
|
+
}
|
|
39839
|
+
]
|
|
39840
|
+
},
|
|
39841
|
+
credits: {
|
|
39842
|
+
type: "number",
|
|
39843
|
+
description: "Credits the wallet paid in the range."
|
|
39844
|
+
},
|
|
39845
|
+
features: {
|
|
39846
|
+
type: "array",
|
|
39847
|
+
items: {
|
|
39848
|
+
$ref: "#/components/schemas/AccountUsageFeature"
|
|
39849
|
+
},
|
|
39850
|
+
maxItems: 12
|
|
39851
|
+
}
|
|
39852
|
+
},
|
|
39853
|
+
additionalProperties: false
|
|
39854
|
+
},
|
|
39855
|
+
AccountUsageSummaryResponse: {
|
|
39856
|
+
type: "object",
|
|
39857
|
+
description: "A successful answer.",
|
|
39858
|
+
additionalProperties: false,
|
|
39859
|
+
required: [
|
|
39860
|
+
"success",
|
|
39861
|
+
"data",
|
|
39862
|
+
"error",
|
|
39863
|
+
"metadata"
|
|
39864
|
+
],
|
|
39865
|
+
properties: {
|
|
39866
|
+
success: {
|
|
39867
|
+
type: "boolean",
|
|
39868
|
+
enum: [
|
|
39869
|
+
true
|
|
39870
|
+
]
|
|
39871
|
+
},
|
|
39872
|
+
data: {
|
|
39873
|
+
$ref: "#/components/schemas/AccountUsageSummary"
|
|
39874
|
+
},
|
|
39875
|
+
error: {
|
|
39876
|
+
const: null
|
|
39877
|
+
},
|
|
39878
|
+
metadata: {
|
|
39879
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
39880
|
+
}
|
|
39881
|
+
}
|
|
39882
|
+
},
|
|
39883
|
+
AccountWalletTopUp: {
|
|
39884
|
+
type: "object",
|
|
39885
|
+
required: [
|
|
39886
|
+
"status",
|
|
39887
|
+
"checkoutUrl"
|
|
39888
|
+
],
|
|
39889
|
+
properties: {
|
|
39890
|
+
status: {
|
|
39891
|
+
anyOf: [
|
|
39892
|
+
{
|
|
39893
|
+
type: "string",
|
|
39894
|
+
const: "paid"
|
|
39895
|
+
},
|
|
39896
|
+
{
|
|
39897
|
+
type: "string",
|
|
39898
|
+
const: "checkout"
|
|
39899
|
+
}
|
|
39900
|
+
],
|
|
39901
|
+
description: "`paid`: the saved card was charged and the credits are in the wallet; `checkout`: pay on `checkoutUrl`."
|
|
39902
|
+
},
|
|
39903
|
+
checkoutUrl: {
|
|
39904
|
+
anyOf: [
|
|
39905
|
+
{
|
|
39906
|
+
type: "string"
|
|
39907
|
+
},
|
|
39908
|
+
{
|
|
39909
|
+
type: "null"
|
|
39910
|
+
}
|
|
39911
|
+
],
|
|
39912
|
+
description: "Stripe's page to pay on, for `checkout`."
|
|
39913
|
+
}
|
|
39914
|
+
},
|
|
39915
|
+
additionalProperties: false
|
|
39916
|
+
},
|
|
39917
|
+
AccountWalletTopUpResponse: {
|
|
39918
|
+
type: "object",
|
|
39919
|
+
description: "A successful answer.",
|
|
39920
|
+
additionalProperties: false,
|
|
39921
|
+
required: [
|
|
39922
|
+
"success",
|
|
39923
|
+
"data",
|
|
39924
|
+
"error",
|
|
39925
|
+
"metadata"
|
|
39926
|
+
],
|
|
39927
|
+
properties: {
|
|
39928
|
+
success: {
|
|
39929
|
+
type: "boolean",
|
|
39930
|
+
enum: [
|
|
39931
|
+
true
|
|
39932
|
+
]
|
|
39933
|
+
},
|
|
39934
|
+
data: {
|
|
39935
|
+
$ref: "#/components/schemas/AccountWalletTopUp"
|
|
39936
|
+
},
|
|
39937
|
+
error: {
|
|
39938
|
+
const: null
|
|
39939
|
+
},
|
|
39940
|
+
metadata: {
|
|
39941
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
39942
|
+
}
|
|
39943
|
+
}
|
|
39944
|
+
},
|
|
39945
|
+
AccountWalletTransaction: {
|
|
39946
|
+
type: "object",
|
|
39947
|
+
required: [
|
|
39948
|
+
"id",
|
|
39949
|
+
"kind",
|
|
39950
|
+
"occurredAt",
|
|
39951
|
+
"endsAt",
|
|
39952
|
+
"count",
|
|
39953
|
+
"amount",
|
|
39954
|
+
"balanceAfter",
|
|
39955
|
+
"approximate"
|
|
39956
|
+
],
|
|
39957
|
+
properties: {
|
|
39958
|
+
id: {
|
|
39959
|
+
type: "string"
|
|
39960
|
+
},
|
|
39961
|
+
kind: {
|
|
39962
|
+
anyOf: [
|
|
39963
|
+
{
|
|
39964
|
+
type: "string",
|
|
39965
|
+
const: "usage"
|
|
39966
|
+
},
|
|
39967
|
+
{
|
|
39968
|
+
type: "string",
|
|
39969
|
+
const: "top_up"
|
|
39970
|
+
},
|
|
39971
|
+
{
|
|
39972
|
+
type: "string",
|
|
39973
|
+
const: "plan"
|
|
39974
|
+
},
|
|
39975
|
+
{
|
|
39976
|
+
type: "string",
|
|
39977
|
+
const: "reset"
|
|
39978
|
+
},
|
|
39979
|
+
{
|
|
39980
|
+
type: "string",
|
|
39981
|
+
const: "adjustment"
|
|
39982
|
+
}
|
|
39983
|
+
],
|
|
39984
|
+
description: "`usage`: credits spent, one entry per UTC day; `top_up`: credits bought; `plan`: a plan's grant or change; `reset`: the plan's period renewed; `adjustment`: a change Arbol made."
|
|
39985
|
+
},
|
|
39986
|
+
occurredAt: {
|
|
39987
|
+
type: "string",
|
|
39988
|
+
format: "date-time",
|
|
39989
|
+
description: "When it happened; for a day of usage, its first use."
|
|
39990
|
+
},
|
|
39991
|
+
endsAt: {
|
|
39992
|
+
anyOf: [
|
|
39993
|
+
{
|
|
39994
|
+
type: "string",
|
|
39995
|
+
format: "date-time"
|
|
39996
|
+
},
|
|
39997
|
+
{
|
|
39998
|
+
type: "null"
|
|
39999
|
+
}
|
|
40000
|
+
],
|
|
40001
|
+
description: "For a day of usage, its last use."
|
|
40002
|
+
},
|
|
40003
|
+
count: {
|
|
40004
|
+
anyOf: [
|
|
40005
|
+
{
|
|
40006
|
+
type: "integer"
|
|
40007
|
+
},
|
|
40008
|
+
{
|
|
40009
|
+
type: "null"
|
|
40010
|
+
}
|
|
40011
|
+
],
|
|
40012
|
+
description: "For usage, how many reports it groups."
|
|
40013
|
+
},
|
|
40014
|
+
amount: {
|
|
40015
|
+
anyOf: [
|
|
40016
|
+
{
|
|
40017
|
+
type: "number"
|
|
40018
|
+
},
|
|
40019
|
+
{
|
|
40020
|
+
type: "null"
|
|
40021
|
+
}
|
|
40022
|
+
],
|
|
40023
|
+
description: "Credits it added (positive) or took (negative); null when Autumn could not tell."
|
|
40024
|
+
},
|
|
40025
|
+
balanceAfter: {
|
|
40026
|
+
anyOf: [
|
|
40027
|
+
{
|
|
40028
|
+
type: "number"
|
|
40029
|
+
},
|
|
40030
|
+
{
|
|
40031
|
+
type: "null"
|
|
40032
|
+
}
|
|
40033
|
+
],
|
|
40034
|
+
description: "Credits left right after it."
|
|
40035
|
+
},
|
|
40036
|
+
approximate: {
|
|
40037
|
+
type: "boolean",
|
|
40038
|
+
description: "Its amounts are Autumn’s estimate, not an exact record."
|
|
40039
|
+
}
|
|
40040
|
+
},
|
|
40041
|
+
additionalProperties: false
|
|
40042
|
+
},
|
|
40043
|
+
AccountWalletTransactionPage: {
|
|
40044
|
+
type: "object",
|
|
40045
|
+
required: [
|
|
40046
|
+
"data",
|
|
40047
|
+
"object",
|
|
40048
|
+
"pageInfo"
|
|
40049
|
+
],
|
|
40050
|
+
properties: {
|
|
40051
|
+
data: {
|
|
40052
|
+
type: "array",
|
|
40053
|
+
items: {
|
|
40054
|
+
$ref: "#/components/schemas/AccountWalletTransaction"
|
|
40055
|
+
},
|
|
40056
|
+
description: "Items admitted by this resource contract within the verified organization."
|
|
40057
|
+
},
|
|
40058
|
+
object: {
|
|
40059
|
+
type: "string",
|
|
40060
|
+
const: "list",
|
|
40061
|
+
description: "Discriminator for a resource list response."
|
|
40062
|
+
},
|
|
40063
|
+
pageInfo: {
|
|
40064
|
+
$ref: "#/components/schemas/PageInfo",
|
|
40065
|
+
description: "Opaque navigation cursors for this page’s stable keyset order."
|
|
40066
|
+
}
|
|
40067
|
+
},
|
|
40068
|
+
additionalProperties: false
|
|
40069
|
+
},
|
|
40070
|
+
AccountWalletTransactionPageResponse: {
|
|
40071
|
+
type: "object",
|
|
40072
|
+
description: "A successful answer.",
|
|
40073
|
+
additionalProperties: false,
|
|
40074
|
+
required: [
|
|
40075
|
+
"success",
|
|
40076
|
+
"data",
|
|
40077
|
+
"error",
|
|
40078
|
+
"metadata"
|
|
40079
|
+
],
|
|
40080
|
+
properties: {
|
|
40081
|
+
success: {
|
|
40082
|
+
type: "boolean",
|
|
40083
|
+
enum: [
|
|
40084
|
+
true
|
|
40085
|
+
]
|
|
40086
|
+
},
|
|
40087
|
+
data: {
|
|
40088
|
+
$ref: "#/components/schemas/AccountWalletTransactionPage"
|
|
40089
|
+
},
|
|
40090
|
+
error: {
|
|
40091
|
+
const: null
|
|
40092
|
+
},
|
|
40093
|
+
metadata: {
|
|
40094
|
+
$ref: "#/components/schemas/ResponseMetadata"
|
|
40095
|
+
}
|
|
40096
|
+
}
|
|
40097
|
+
},
|
|
38810
40098
|
AdresAffiliationPresentation: {
|
|
38811
40099
|
anyOf: [
|
|
38812
40100
|
{
|
|
@@ -240415,6 +241703,16 @@ var schemaComponents = {
|
|
|
240415
241703
|
},
|
|
240416
241704
|
additionalProperties: false
|
|
240417
241705
|
},
|
|
241706
|
+
AccountBillingGetInput: {
|
|
241707
|
+
type: "object",
|
|
241708
|
+
properties: {},
|
|
241709
|
+
additionalProperties: false
|
|
241710
|
+
},
|
|
241711
|
+
AccountBillingPortalSessionsCreateInput: {
|
|
241712
|
+
type: "object",
|
|
241713
|
+
properties: {},
|
|
241714
|
+
additionalProperties: false
|
|
241715
|
+
},
|
|
240418
241716
|
AccountColombianRecordsLookupInput: {
|
|
240419
241717
|
type: "object",
|
|
240420
241718
|
required: [
|
|
@@ -240916,6 +242214,82 @@ var schemaComponents = {
|
|
|
240916
242214
|
},
|
|
240917
242215
|
additionalProperties: false
|
|
240918
242216
|
},
|
|
242217
|
+
AccountUsageSummaryGetInput: {
|
|
242218
|
+
type: "object",
|
|
242219
|
+
properties: {
|
|
242220
|
+
from: {
|
|
242221
|
+
type: "string",
|
|
242222
|
+
format: "date-time",
|
|
242223
|
+
description: "Start of the range; the current month by default."
|
|
242224
|
+
},
|
|
242225
|
+
to: {
|
|
242226
|
+
type: "string",
|
|
242227
|
+
format: "date-time",
|
|
242228
|
+
description: "End of the range; now by default."
|
|
242229
|
+
},
|
|
242230
|
+
groupBy: {
|
|
242231
|
+
anyOf: [
|
|
242232
|
+
{
|
|
242233
|
+
type: "string",
|
|
242234
|
+
const: "product"
|
|
242235
|
+
},
|
|
242236
|
+
{
|
|
242237
|
+
type: "string",
|
|
242238
|
+
const: "channel"
|
|
242239
|
+
}
|
|
242240
|
+
],
|
|
242241
|
+
description: "Breaks each feature down; by product by default."
|
|
242242
|
+
}
|
|
242243
|
+
},
|
|
242244
|
+
additionalProperties: false
|
|
242245
|
+
},
|
|
242246
|
+
AccountWalletTopUpsCreateInput: {
|
|
242247
|
+
type: "object",
|
|
242248
|
+
required: [
|
|
242249
|
+
"credits"
|
|
242250
|
+
],
|
|
242251
|
+
properties: {
|
|
242252
|
+
credits: {
|
|
242253
|
+
type: "integer",
|
|
242254
|
+
minimum: 10,
|
|
242255
|
+
maximum: 1e4,
|
|
242256
|
+
description: "Credits to buy, at one US dollar each."
|
|
242257
|
+
}
|
|
242258
|
+
},
|
|
242259
|
+
additionalProperties: false
|
|
242260
|
+
},
|
|
242261
|
+
AccountWalletTransactionsListInput: {
|
|
242262
|
+
type: "object",
|
|
242263
|
+
required: [],
|
|
242264
|
+
properties: {
|
|
242265
|
+
cursor: {
|
|
242266
|
+
type: "string",
|
|
242267
|
+
description: "Opaque cursor returned by pageInfo; omit it to request the first page."
|
|
242268
|
+
},
|
|
242269
|
+
direction: {
|
|
242270
|
+
anyOf: [
|
|
242271
|
+
{
|
|
242272
|
+
type: "string",
|
|
242273
|
+
const: "forward"
|
|
242274
|
+
},
|
|
242275
|
+
{
|
|
242276
|
+
type: "string",
|
|
242277
|
+
const: "backward"
|
|
242278
|
+
}
|
|
242279
|
+
],
|
|
242280
|
+
description: "Direction to traverse the stable keyset ordering from the supplied cursor.",
|
|
242281
|
+
default: "forward"
|
|
242282
|
+
},
|
|
242283
|
+
limit: {
|
|
242284
|
+
type: "integer",
|
|
242285
|
+
minimum: 1,
|
|
242286
|
+
maximum: 100,
|
|
242287
|
+
description: "Maximum items returned in one page. Defaults to 25; larger reads require another cursor.",
|
|
242288
|
+
default: 25
|
|
242289
|
+
}
|
|
242290
|
+
},
|
|
242291
|
+
additionalProperties: false
|
|
242292
|
+
},
|
|
240919
242293
|
AdresAffiliationsLookupInput: {
|
|
240920
242294
|
type: "object",
|
|
240921
242295
|
required: [
|
|
@@ -259333,9 +260707,9 @@ var schemaComponents = {
|
|
|
259333
260707
|
// src/generated/generation.json
|
|
259334
260708
|
var generation_default = {
|
|
259335
260709
|
formatVersion: 6,
|
|
259336
|
-
release: "1.20261114.
|
|
259337
|
-
openapiSha256: "
|
|
259338
|
-
openapiContentSha256: "
|
|
260710
|
+
release: "1.20261114.221927",
|
|
260711
|
+
openapiSha256: "f0f9f46d65fad73e9073573db337b34fa192192a4bf221927b8618a68e0c309d",
|
|
260712
|
+
openapiContentSha256: "aed83503451737d4e09f8f24d1bfeb840077d6a93bc3e0496595b4229fe7b2cc",
|
|
259339
260713
|
forge: {
|
|
259340
260714
|
repository: "https://github.com/cloudflare/forge",
|
|
259341
260715
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -259348,7 +260722,7 @@ var generation_default = {
|
|
|
259348
260722
|
outputs: [
|
|
259349
260723
|
{
|
|
259350
260724
|
path: "src/generated/commands.ts",
|
|
259351
|
-
sha256: "
|
|
260725
|
+
sha256: "bbf375be702e9b981241a82d7be7627be400938bce2f7b78e2401b88e75a4b52"
|
|
259352
260726
|
}
|
|
259353
260727
|
]
|
|
259354
260728
|
};
|
|
@@ -260948,7 +262322,7 @@ ${name}`);
|
|
|
260948
262322
|
}
|
|
260949
262323
|
|
|
260950
262324
|
// src/index.ts
|
|
260951
|
-
var VERSION = "3.
|
|
262325
|
+
var VERSION = "3.60.0";
|
|
260952
262326
|
var RELEASE = generation_default.release;
|
|
260953
262327
|
var commands2 = { ...commands, ...accountOperatorCommands };
|
|
260954
262328
|
var SDK_PATHS = new Map(Object.values(commands2).map((command) => [command.operation, command.sdkPath]));
|