develop #38

Merged
bboterm merged 451 commits from develop into main 2025-11-19 14:28:14 +00:00
Showing only changes of commit 11add823da - Show all commits

View File

@ -1281,6 +1281,13 @@ paths:
example: 5bedce29-af0c-4f3c-b182-2caa8a1f9377 example: 5bedce29-af0c-4f3c-b182-2caa8a1f9377
required: false required: false
description: The id of the device. description: The id of the device.
- in: query
name: customerProfileId
schema:
type: integer
example: 1
required: false
description: The id of the customer profile.
- in: query - in: query
name: externalDeviceId name: externalDeviceId
schema: schema:
@ -1296,13 +1303,6 @@ paths:
example: iPhone prive example: iPhone prive
required: false required: false
description: The alias of the device. description: The alias of the device.
- in: query
name: customerProfileId
schema:
type: integer
example: 1
required: false
description: The id of the customer profile.
- name: sort - name: sort
in: query in: query
schema: schema:
@ -1322,22 +1322,22 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/getDevicesResponse"
example: example:
{ {
"devices": "devices":
[ [
{ {
"customerProfileId": 1,
"deviceId": "5bedce29-af0c-4f3c-b182-2caa8a1f9377", "deviceId": "5bedce29-af0c-4f3c-b182-2caa8a1f9377",
"externalDeviceId": "c5545584-04af-4c60-a955-d6a70baab848", "externalDeviceId": "c5545584-04af-4c60-a955-d6a70baab848",
"alias": "iPhone prive", "alias": "iPhone prive",
"customerProfileId": 1
}, },
{ {
"customerProfileId": 1,
"deviceId": "d7683e89-b2ad-4e79-85b3-dbb42aad0325", "deviceId": "d7683e89-b2ad-4e79-85b3-dbb42aad0325",
"externalDeviceId": "7122a988-a00a-417d-a5b4-da2d91354976", "externalDeviceId": "7122a988-a00a-417d-a5b4-da2d91354976",
"alias": "iPhone zakelijk", "alias": "iPhone zakelijk",
"customerProfileId": 1
} }
], ],
"_links": "_links":
@ -1377,7 +1377,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/postCustomerDevice"
examples: examples:
customerDevice: customerDevice:
value: value:
@ -1391,7 +1391,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/getDevices"
security: security:
- default: [] - default: []
x-auth-type: Application & Application User x-auth-type: Application & Application User
@ -1415,7 +1415,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/patchCustomerDevice"
examples: examples:
updateDevice: updateDevice:
value: value:
@ -2402,6 +2402,10 @@ components:
type: array type: array
items: items:
$ref: "#/components/schemas/getPhones" $ref: "#/components/schemas/getPhones"
devices:
type: array
items:
$ref: "#/components/schemas/getDevices"
getAddresses: getAddresses:
type: object type: object
properties: properties:
@ -2448,6 +2452,21 @@ components:
type: integer type: integer
name: name:
type: string type: string
getDevices:
type: object
properties:
deviceId:
type: string
format: uuid
externalDeviceId:
type: string
format: uuid
alias:
type: string
required:
- deviceId
- externalDeviceId
- alias
getCustomerPreference: getCustomerPreference:
type: object type: object
properties: properties:
@ -2552,6 +2571,17 @@ components:
type: integer type: integer
isPreferred: isPreferred:
type: boolean type: boolean
devicePostEntity:
required:
- externalDeviceId
- alias
type: object
properties:
externalDeviceId:
type: string
format: uuid
alias:
type: string
defaultCustomerProfileResponse: defaultCustomerProfileResponse:
type: object type: object
properties: properties:
@ -2575,6 +2605,10 @@ components:
type: array type: array
items: items:
$ref: "#/components/schemas/postPhoneEntity" $ref: "#/components/schemas/postPhoneEntity"
devices:
type: array
items:
$ref: "#/components/schemas/devicePostEntity"
postCustomerAddress: postCustomerAddress:
type: object type: object
properties: properties:
@ -2801,6 +2835,38 @@ components:
ovPayTokenId: ovPayTokenId:
type: integer type: integer
example: 1 example: 1
getDevicesResponse:
type: object
properties:
devices:
type: array
items:
$ref: "#/components/schemas/getDeviceEntity"
getDeviceEntity:
type: object
properties:
deviceId:
type: string
format: uuid
customerProfileId:
type: integer
externalDeviceId:
type: string
format: uuid
alias:
type: string
required:
- deviceId
- customerProfileId
- externalDeviceId
- alias
postCustomerDevice:
$ref: "#/components/schemas/devicePostEntity"
patchCustomerDevice:
type: object
properties:
alias:
type: string
ErrorResponse: ErrorResponse:
type: object type: object
properties: properties: