@wevion/cli 1.0.4422 → 1.0.4426
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 +107 -1
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -33639,6 +33639,27 @@
|
|
|
33639
33639
|
}
|
|
33640
33640
|
]
|
|
33641
33641
|
},
|
|
33642
|
+
"phone": {
|
|
33643
|
+
"anyOf": [
|
|
33644
|
+
{
|
|
33645
|
+
"type": "string"
|
|
33646
|
+
},
|
|
33647
|
+
{
|
|
33648
|
+
"type": "null"
|
|
33649
|
+
}
|
|
33650
|
+
]
|
|
33651
|
+
},
|
|
33652
|
+
"phone_verified_at": {
|
|
33653
|
+
"anyOf": [
|
|
33654
|
+
{
|
|
33655
|
+
"format": "date-time",
|
|
33656
|
+
"type": "string"
|
|
33657
|
+
},
|
|
33658
|
+
{
|
|
33659
|
+
"type": "null"
|
|
33660
|
+
}
|
|
33661
|
+
]
|
|
33662
|
+
},
|
|
33642
33663
|
"owner_id": {
|
|
33643
33664
|
"anyOf": [
|
|
33644
33665
|
{
|
|
@@ -34241,7 +34262,7 @@
|
|
|
34241
34262
|
"tags": [
|
|
34242
34263
|
"auth"
|
|
34243
34264
|
],
|
|
34244
|
-
"description": "Updates the authenticated user profile (name, company, language, onboarding_state). Requires a valid JWT token. If `onboarding_state.segment` is present it must be one of: agency, dtc, media_buyer, dropshipper, generic.",
|
|
34265
|
+
"description": "Updates the authenticated user profile (name, company, language, onboarding_state, phone). Requires a valid JWT token. If `onboarding_state.segment` is present it must be one of: agency, dtc, media_buyer, dropshipper, generic. `phone` must be a real mobile number (400 `PHONE_INVALID`, `PHONE_NOT_MOBILE`, `PHONE_SUSPICIOUS`) not used by another account (409 `PHONE_IN_USE`). With the runtime flag `signup_phone_required_enabled` on, the onboarding company step (first `company_name` of an account not yet onboarded) needs one (400 `PHONE_REQUIRED`).",
|
|
34245
34266
|
"requestBody": {
|
|
34246
34267
|
"required": true,
|
|
34247
34268
|
"content": {
|
|
@@ -34471,6 +34492,17 @@
|
|
|
34471
34492
|
"onboarding_state": {
|
|
34472
34493
|
"$comment": "json-value",
|
|
34473
34494
|
"description": "Arbitrary JSON value with nested arrays and objects."
|
|
34495
|
+
},
|
|
34496
|
+
"phone": {
|
|
34497
|
+
"description": "Mobile number as typed: international (`+39 333…`, `0039…`) or national with `phone_country`. Stored in E.164 after the checks of `lib/signup-phone.ts`.",
|
|
34498
|
+
"maxLength": 32,
|
|
34499
|
+
"minLength": 1,
|
|
34500
|
+
"type": "string"
|
|
34501
|
+
},
|
|
34502
|
+
"phone_country": {
|
|
34503
|
+
"description": "ISO 3166-1 alpha-2 country of the prefix picker, used to read a national `phone`.",
|
|
34504
|
+
"pattern": "^[A-Z]{2}$",
|
|
34505
|
+
"type": "string"
|
|
34474
34506
|
}
|
|
34475
34507
|
}
|
|
34476
34508
|
}
|
|
@@ -34784,6 +34816,27 @@
|
|
|
34784
34816
|
}
|
|
34785
34817
|
]
|
|
34786
34818
|
},
|
|
34819
|
+
"phone": {
|
|
34820
|
+
"anyOf": [
|
|
34821
|
+
{
|
|
34822
|
+
"type": "string"
|
|
34823
|
+
},
|
|
34824
|
+
{
|
|
34825
|
+
"type": "null"
|
|
34826
|
+
}
|
|
34827
|
+
]
|
|
34828
|
+
},
|
|
34829
|
+
"phone_verified_at": {
|
|
34830
|
+
"anyOf": [
|
|
34831
|
+
{
|
|
34832
|
+
"format": "date-time",
|
|
34833
|
+
"type": "string"
|
|
34834
|
+
},
|
|
34835
|
+
{
|
|
34836
|
+
"type": "null"
|
|
34837
|
+
}
|
|
34838
|
+
]
|
|
34839
|
+
},
|
|
34787
34840
|
"owner_id": {
|
|
34788
34841
|
"anyOf": [
|
|
34789
34842
|
{
|
|
@@ -35296,6 +35349,38 @@
|
|
|
35296
35349
|
}
|
|
35297
35350
|
}
|
|
35298
35351
|
},
|
|
35352
|
+
"409": {
|
|
35353
|
+
"description": "Conflict - resource state prevents the operation",
|
|
35354
|
+
"content": {
|
|
35355
|
+
"application/json": {
|
|
35356
|
+
"schema": {
|
|
35357
|
+
"type": "object",
|
|
35358
|
+
"required": [
|
|
35359
|
+
"statusCode",
|
|
35360
|
+
"error",
|
|
35361
|
+
"message"
|
|
35362
|
+
],
|
|
35363
|
+
"properties": {
|
|
35364
|
+
"statusCode": {
|
|
35365
|
+
"type": "number"
|
|
35366
|
+
},
|
|
35367
|
+
"error": {
|
|
35368
|
+
"type": "string"
|
|
35369
|
+
},
|
|
35370
|
+
"message": {
|
|
35371
|
+
"type": "string"
|
|
35372
|
+
},
|
|
35373
|
+
"code": {
|
|
35374
|
+
"type": "string"
|
|
35375
|
+
},
|
|
35376
|
+
"request_id": {
|
|
35377
|
+
"type": "string"
|
|
35378
|
+
}
|
|
35379
|
+
}
|
|
35380
|
+
}
|
|
35381
|
+
}
|
|
35382
|
+
}
|
|
35383
|
+
},
|
|
35299
35384
|
"500": {
|
|
35300
35385
|
"description": "Internal server error",
|
|
35301
35386
|
"content": {
|
|
@@ -35772,6 +35857,27 @@
|
|
|
35772
35857
|
}
|
|
35773
35858
|
]
|
|
35774
35859
|
},
|
|
35860
|
+
"phone": {
|
|
35861
|
+
"anyOf": [
|
|
35862
|
+
{
|
|
35863
|
+
"type": "string"
|
|
35864
|
+
},
|
|
35865
|
+
{
|
|
35866
|
+
"type": "null"
|
|
35867
|
+
}
|
|
35868
|
+
]
|
|
35869
|
+
},
|
|
35870
|
+
"phone_verified_at": {
|
|
35871
|
+
"anyOf": [
|
|
35872
|
+
{
|
|
35873
|
+
"format": "date-time",
|
|
35874
|
+
"type": "string"
|
|
35875
|
+
},
|
|
35876
|
+
{
|
|
35877
|
+
"type": "null"
|
|
35878
|
+
}
|
|
35879
|
+
]
|
|
35880
|
+
},
|
|
35775
35881
|
"owner_id": {
|
|
35776
35882
|
"anyOf": [
|
|
35777
35883
|
{
|