Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
e737ec4
fixes the statusId of the WebHookModel which can be nullable
Oct 1, 2019
ea63706
update composer to use the forked janephp generator lib for now
Oct 2, 2019
f3e515e
adds generate script to composer which removes the generated files be…
Oct 2, 2019
2c249be
regenerate models with new read only property support
Oct 2, 2019
e1a85d7
use the forked bugfix branch only for dev
Oct 2, 2019
90bbd13
use the forked bugfix branch only for dev
Oct 2, 2019
5e1a687
regenerate endpoints removing invalid mixed paramater type hinting
Oct 22, 2019
8e5ea04
regenarate models with latest updates and fixes
Oct 25, 2019
13a3942
webhook status id needs to nullable as well
Oct 25, 2019
7ccf0d3
fixes the return type models for POST, PUT and PATCH operations of pr…
Nov 7, 2019
4fb78ee
fixes languages on stock location request models
Nov 14, 2019
a2c879b
make url of manufacturer nullable
Nov 14, 2019
43b5952
regenerate models
Nov 14, 2019
fdc1e70
update openapi specification to latest develop version, stocklocation…
Nov 28, 2019
e3dc5b5
regenerate models
Nov 28, 2019
4b32419
updates OAS to fix patch model for stock location languages
Nov 28, 2019
7a963ae
fixes the response code for the createProductManufacturer operation
Nov 28, 2019
0c06204
regenerate models
Nov 28, 2019
0d37449
adds missing external id
Nov 29, 2019
fa598b7
regenerate models
Nov 29, 2019
986dddc
adds external ids to product and product variants
Dec 2, 2019
9197c77
regenerate models
Dec 2, 2019
59818ab
updates specification with externalId and externalIdType fields
Dec 3, 2019
1b6111f
regenerates models
Dec 3, 2019
29f515f
make external ids and external id types nullable
Dec 4, 2019
f757577
regenerate models
Dec 4, 2019
6cfc550
make bundleUseManualPrice nullable
Dec 9, 2019
01a465f
make bundledProducts nullable
Dec 9, 2019
f48e43b
updates the branch for the readonly support of janephp lib
Dec 9, 2019
169637a
regenerate models
Dec 9, 2019
c54bbd4
update jane-php to new read only supported branch and regenerate models
Dec 9, 2019
c1a3a06
update to latest jane release which has our fixes for read only and n…
Dec 9, 2019
61564d2
fixes return status codes for PATCH and PUT functions of order commen…
Dec 10, 2019
fa8c089
use collection for languages in product variant attribute value model
Dec 11, 2019
8e27467
regenerate models
Dec 11, 2019
bcb133d
fixing bug by adding variant id to product variant model
Dec 16, 2019
f86fb0d
regenerate models
Dec 16, 2019
672851a
adds missing externalIdType field to product variant
Dec 16, 2019
45c92aa
regenerate models
Dec 16, 2019
6e0787f
fixes response code for createProductsVariantsAttributeValues operati…
Jan 13, 2020
ff41a82
add missing nullable fields to patch model
Jan 16, 2020
8ca5bba
regenerate models
Jan 16, 2020
43a077f
fix response of createProductUnit operation
Jan 31, 2020
4ce1302
regenerate models
Jan 31, 2020
80c042d
fix product unit models by adding a new product updatable model
Jan 31, 2020
18822dd
regenerate models
Jan 31, 2020
890701a
adds missing newly generated classes
Jan 31, 2020
e7887d6
updates readme
Jan 31, 2020
ada607d
fixes response code for createProductUnit operation and regenerate sdk
Feb 3, 2020
1ce7314
adds external id and type to pricelist price models
Feb 4, 2020
d6f0aa1
fixes specification of stock-status models and regenerates sdk
Feb 12, 2020
e65232c
Merge branch 'master' into feature/readonly-properties-support
Feb 13, 2020
062ae44
fixes category models
Feb 17, 2020
1c3e619
fixes nullable fields in product category language object
Feb 17, 2020
769ae70
fixe product variant models and endpoints
Feb 24, 2020
bd3d983
adds missing externalId and externalIdType to product variant models
Feb 25, 2020
cabcdd1
regenerate response model
Feb 25, 2020
378d657
removes product id from updatable and patchable models
Mar 5, 2020
f4e9073
removes read only fields from updatable product models and set visibi…
Mar 5, 2020
b72be97
fixes the openapi contract for languages on order status model
Sep 14, 2020
ef0ed26
regenerate classes
Sep 14, 2020
7c6a432
make sure address objects can be null
Sep 14, 2020
ccfc11a
Sets approvedAt property to nullable
Sep 14, 2020
767a2fc
remove the security scheme definition to bypass error in jane generation
Sep 14, 2020
2f1e049
set strict mode to false and regenerate client
Sep 14, 2020
52f3ff5
Revert "make sure address objects can be null"
Sep 14, 2020
716e717
set strict mode to false and regenerate client
Sep 14, 2020
49aec73
Merge branch 'feature/readonly-properties-support' of github.com:star…
Sep 14, 2020
acc113e
Add externalId and externalIdType to customer data
Sep 17, 2020
0fb55d3
adds support to recognize request limit error to the error plugin and…
Sep 25, 2020
4838d7a
refactor by renaming constant
Sep 25, 2020
4839583
Merge pull request #30 from lordrhodos/feature/handle-api-limit
timkolm Sep 25, 2020
0c5be2f
Add external id and type to order
timkolm Apr 14, 2021
d1777f2
Merge pull request #31 from starweb/feature/12064-add-external-id-and…
kiwo12345 Apr 14, 2021
c0f37b4
Add externalId to shipping and payment methods of order
timkolm May 6, 2021
76d5a45
Merge branch 'feature/readonly-properties-support' of https://github.…
timkolm May 6, 2021
f3cf1b2
Add externalId fir shipping and payment methods
timkolm May 19, 2021
42a71d8
Merge pull request #32 from starweb/feature/13397-add-external-id-for…
timkolm May 19, 2021
2fae028
Fix a specific jane-php version
timkolm Oct 7, 2021
47d6f79
Add agent to OrderExternaServiceModel
timkolm Oct 7, 2021
c48df0e
Make variant patch object not nullable
timkolm Oct 28, 2021
e781de3
Add stockLocationId to Order model
timkolm Jan 19, 2022
ebfb295
Use collection instead of array for volumePrices value
timkolm Feb 28, 2022
6bbc379
Fix if empty contents
timkolm Mar 16, 2023
902ce84
Make more error protection and throw more info
timkolm Mar 17, 2023
35bb79f
Update order of exceptions
timkolm Mar 17, 2023
07c8586
Treat malformed responses
timkolm Mar 17, 2023
d20ec30
Add more response handling to the token manager
timkolm Mar 17, 2023
289a83a
Add Too many requests treatment
timkolm Mar 20, 2023
c93fabc
Add retry counter
timkolm Mar 20, 2023
0e331d5
Add patch method to stock updates
timkolm Apr 28, 2023
ed4e974
STA-20365 PHP 8.2 upgrade
igorpereginets1 Aug 29, 2023
f654c81
STA-20365 PHP 8.2 upgrade
igorpereginets1 Aug 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .jane-openapi
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ return [
'openapi-file' => __DIR__ . '/resources/specification/openapi.json',
'namespace' => 'Starweb\Api\Generated',
'directory' => __DIR__ . '/src/Api/Generated',
];
'strict' => false
];
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
- support for generated client code built on top of the [Jane](https://github.com/janephp/janephp) library
- feature branch for shop api fixes which are not all release yet

## [0.1.0] - 2019-03-20
### Added
Expand Down
22 changes: 15 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,31 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7.2",
"php": "^8.2",
"ext-json": "*",
"psr/http-message": "^1.0",
"psr/cache": "^1.0",
"php-http/httplug": "^1.1",
"php-http/httplug": "^2.4",
"php-http/message": "^1.6",
"php-http/discovery": "^1.4",
"php-http/client-common": "^1.7",
"php-http/client-common": "^2.7",
"php-http/cache-plugin": "^1.5",
"php-http/client-implementation": "^1.0",
"php-http/multipart-stream-builder": "^1.0",
"psr/http-message-implementation": "^1.0",
"symfony/cache": "^4.1",
"symfony/serializer": "^4.1",
"symfony/serializer": "^5.3",
"symfony/property-access": "^4.1",
"symfony/property-info": "^4.1",
"symfony/property-info": "^5.4",
"symfony/options-resolver": "^4.1",
"psr/simple-cache": "^1.0",
"jane-php/jane-php": "dev-master"
"jane-php/jane-php": "^7.5",
"http-interop/http-factory-guzzle": "^1.2"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"phpunit/phpunit": "^8.1",
"php-http/guzzle6-adapter": "^1.0",
"php-http/guzzle6-adapter": "^2.0",
"guzzlehttp/psr7": "^1.4",
"php-http/mock-client": "^1.1",
"squizlabs/php_codesniffer": "^3.3"
Expand All @@ -47,9 +49,15 @@
"psr-4": {"Starweb\\Tests\\": "tests/unit"}
},
"scripts": {
"generate": "rm -r src/Api/Generated/* ; vendor/bin/jane-openapi generate",
"phpunit": "vendor/bin/phpunit --stop-on-error --stop-on-failure",
"phpunit-coverage-html": "vendor/bin/phpunit --stop-on-error --stop-on-failure --coverage-html ${baseDir}resources/test-coverage",
"phpunit-coverage-text": "vendor/bin/phpunit --stop-on-error --stop-on-failure --coverage-text",
"phpcs": "vendor/bin/phpcs src --standard=resources/code-sniffer-standards/php-standard.xml --ignore=src/Api/Generated"
},
"config": {
"allow-plugins": {
"php-http/discovery": true
}
}
}
Loading