Skip to content

Commit

Permalink
feat: update resources to schema v7.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Sep 19, 2024
1 parent 2b0f176 commit 3d05eb6
Show file tree
Hide file tree
Showing 7 changed files with 169 additions and 97 deletions.
34 changes: 26 additions & 8 deletions gen/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.1.0",
"info": {
"title": "Commerce Layer API",
"version": "7.1.0",
"version": "7.1.1",
"contact": {
"name": "API Support",
"url": "https://commercelayer.io",
Expand Down Expand Up @@ -63025,9 +63025,9 @@
"nullable": false
},
"balance_max_cents": {
"type": "string",
"type": "integer",
"description": "The gift card balance max, in cents.",
"example": "100000",
"example": 100000,
"nullable": true
},
"balance_max_float": {
Expand Down Expand Up @@ -63325,9 +63325,9 @@
"example": 15000
},
"balance_max_cents": {
"type": "string",
"type": "integer",
"description": "The gift card balance max, in cents.",
"example": "100000"
"example": 100000
},
"single_use": {
"type": "boolean",
Expand Down Expand Up @@ -63507,9 +63507,9 @@
"nullable": false
},
"balance_max_cents": {
"type": "string",
"type": "integer",
"description": "The gift card balance max, in cents.",
"example": "100000",
"example": 100000,
"nullable": true
},
"single_use": {
Expand Down Expand Up @@ -70499,7 +70499,7 @@
"url": {
"type": "string",
"description": "The link URL.",
"example": "https://c11r.link/ZXUtd2VzdC0xLzE5ZjBlMGVlLTg4OGMtNDQ1Yi1iYTA0LTg3MTUxY2FjZjFmYQ",
"example": "https://commercelayer.link/ZXUtd2VzdC0xLzE5ZjBlMGVlLTg4OGMtNDQ1Yi1iYTA0LTg3MTUxY2FjZjFmYQ",
"nullable": true
},
"item_type": {
Expand Down Expand Up @@ -108492,6 +108492,24 @@
"example": 2,
"nullable": false
},
"on_hold_at": {
"type": "string",
"description": "Time at which the stock transfer was put on hold.",
"example": "2018-01-01T12:00:00.000Z",
"nullable": true
},
"picking_at": {
"type": "string",
"description": "Time at which the stock transfer was picking.",
"example": "2018-01-01T12:00:00.000Z",
"nullable": true
},
"in_transit_at": {
"type": "string",
"description": "Time at which the stock transfer was in transit.",
"example": "2018-01-01T12:00:00.000Z",
"nullable": true
},
"completed_at": {
"type": "string",
"description": "Time at which the stock transfer was completed.",
Expand Down
43 changes: 41 additions & 2 deletions gen/resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -12193,7 +12193,7 @@
"example": "€150,00"
},
"balance_max_cents": {
"type": "string",
"type": "integer",
"desc": "The gift card balance max, in cents.",
"required": "optional",
"creatable": true,
Expand Down Expand Up @@ -15522,7 +15522,7 @@
"fetchable": true,
"filterable": false,
"sortable": false,
"example": "https://c11r.link/ZXUtd2VzdC0xLzE5ZjBlMGVlLTg4OGMtNDQ1Yi1iYTA0LTg3MTUxY2FjZjFmYQ"
"example": "https://commercelayer.link/ZXUtd2VzdC0xLzE5ZjBlMGVlLTg4OGMtNDQ1Yi1iYTA0LTg3MTUxY2FjZjFmYQ"
},
"item_type": {
"type": "string",
Expand Down Expand Up @@ -32011,6 +32011,36 @@
"sortable": true,
"example": "2"
},
"on_hold_at": {
"type": "datetime",
"desc": "Time at which the stock transfer was put on hold.",
"creatable": false,
"updatable": false,
"fetchable": true,
"filterable": true,
"sortable": true,
"example": "2018-01-01T12:00:00.000Z"
},
"picking_at": {
"type": "datetime",
"desc": "Time at which the stock transfer was picking.",
"creatable": false,
"updatable": false,
"fetchable": true,
"filterable": true,
"sortable": true,
"example": "2018-01-01T12:00:00.000Z"
},
"in_transit_at": {
"type": "datetime",
"desc": "Time at which the stock transfer was in transit.",
"creatable": false,
"updatable": false,
"fetchable": true,
"filterable": true,
"sortable": true,
"example": "2018-01-01T12:00:00.000Z"
},
"completed_at": {
"type": "datetime",
"desc": "Time at which the stock transfer was completed.",
Expand Down Expand Up @@ -32262,6 +32292,9 @@
"number",
"status",
"quantity",
"on_hold_at",
"picking_at",
"in_transit_at",
"completed_at",
"cancelled_at",
"created_at",
Expand All @@ -32278,6 +32311,12 @@
"attachments_id",
"events_id",
"ids",
"on_hold_at_from",
"on_hold_at_to",
"picking_at_from",
"picking_at_to",
"in_transit_at_from",
"in_transit_at_to",
"completed_at_from",
"completed_at_to",
"cancelled_at_from",
Expand Down
Loading

0 comments on commit 3d05eb6

Please sign in to comment.