Skip to content

Commit

Permalink
Merge pull request #37 from WoutervanderLoopNL/develop-enum
Browse files Browse the repository at this point in the history
Support Enum
  • Loading branch information
casperbakker authored Jan 2, 2024
2 parents d1a9f07 + a9acc85 commit 4299731
Show file tree
Hide file tree
Showing 299 changed files with 2,496 additions and 855 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1']
php-versions: ['8.1', '8.2']
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
],
"require": {
"php": "~7.1|^8.0",
"php": "^8.1",
"ext-json": "*",
"guzzlehttp/guzzle": "^6.3|^7.0"
},
Expand Down Expand Up @@ -46,7 +46,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "8.0-dev"
"dev-master": "10.0-dev"
}
},
"config": {
Expand Down
87 changes: 45 additions & 42 deletions src/Client.php

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions src/Enum/BillingDetailsSalutation.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum BillingDetailsSalutation: string
{
case MALE = 'MALE';
case FEMALE = 'FEMALE';
case UNKNOWN = 'UNKNOWN';
}
13 changes: 13 additions & 0 deletions src/Enum/BulkCommissionQueryCondition.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum BulkCommissionQueryCondition: string
{
case NEW = 'NEW';
case AS_NEW = 'AS_NEW';
case GOOD = 'GOOD';
case REASONABLE = 'REASONABLE';
case MODERATE = 'MODERATE';
}
36 changes: 36 additions & 0 deletions src/Enum/ChangeTransportRequestTransporterCode.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum ChangeTransportRequestTransporterCode: string
{
case BRIEFPOST = 'BRIEFPOST';
case UPS = 'UPS';
case TNT = 'TNT';
case TNT_EXTRA = 'TNT-EXTRA';
case TNT_BRIEF = 'TNT_BRIEF';
case TNT_EXPRESS = 'TNT-EXPRESS';
case DYL = 'DYL';
case DPD_NL = 'DPD-NL';
case DPD_BE = 'DPD-BE';
case BPOST_BE = 'BPOST_BE';
case BPOST_BRIEF = 'BPOST_BRIEF';
case DHLFORYOU = 'DHLFORYOU';
case GLS = 'GLS';
case FEDEX_NL = 'FEDEX_NL';
case FEDEX_BE = 'FEDEX_BE';
case OTHER = 'OTHER';
case DHL = 'DHL';
case DHL_DE = 'DHL_DE';
case DHL_GLOBAL_MAIL = 'DHL-GLOBAL-MAIL';
case TSN = 'TSN';
case FIEGE = 'FIEGE';
case TRANSMISSION = 'TRANSMISSION';
case PARCEL_NL = 'PARCEL-NL';
case LOGOIX = 'LOGOIX';
case PACKS = 'PACKS';
case COURIER = 'COURIER';
case TRUNKRS = 'TRUNKRS';
case CYCLOON = 'CYCLOON';
}
10 changes: 10 additions & 0 deletions src/Enum/ConditionCategory.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum ConditionCategory: string
{
case NEW = 'NEW';
case SECONDHAND = 'SECONDHAND';
}
13 changes: 13 additions & 0 deletions src/Enum/ConditionName.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum ConditionName: string
{
case NEW = 'NEW';
case AS_NEW = 'AS_NEW';
case GOOD = 'GOOD';
case REASONABLE = 'REASONABLE';
case MODERATE = 'MODERATE';
}
14 changes: 14 additions & 0 deletions src/Enum/CreateDeliveryInfoTransporterCode.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum CreateDeliveryInfoTransporterCode: string
{
case POSTNL = 'POSTNL';
case DHL = 'DHL';
case DPD = 'DPD';
case GLS = 'GLS';
case UPS = 'UPS';
case OTHER = 'OTHER';
}
9 changes: 9 additions & 0 deletions src/Enum/CreateOfferExportRequestFormat.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum CreateOfferExportRequestFormat: string
{
case CSV = 'CSV';
}
12 changes: 12 additions & 0 deletions src/Enum/CreateProductContentSingleRequestLanguage.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum CreateProductContentSingleRequestLanguage: string
{
case NL = 'nl';
case NL_BE = 'nl-BE';
case FR = 'fr';
case FR_BE = 'fr-BE';
}
13 changes: 13 additions & 0 deletions src/Enum/CreateReturnRequestHandlingResult.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum CreateReturnRequestHandlingResult: string
{
case RETURN_RECEIVED = 'RETURN_RECEIVED';
case EXCHANGE_PRODUCT = 'EXCHANGE_PRODUCT';
case RETURN_DOES_NOT_MEET_CONDITIONS = 'RETURN_DOES_NOT_MEET_CONDITIONS';
case REPAIR_PRODUCT = 'REPAIR_PRODUCT';
case CUSTOMER_KEEPS_PRODUCT_PAID = 'CUSTOMER_KEEPS_PRODUCT_PAID';
}
9 changes: 9 additions & 0 deletions src/Enum/CreateUnpublishedOfferReportRequestFormat.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum CreateUnpublishedOfferReportRequestFormat: string
{
case CSV = 'CSV';
}
11 changes: 11 additions & 0 deletions src/Enum/CustomerDetailsSalutation.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum CustomerDetailsSalutation: string
{
case MALE = 'MALE';
case FEMALE = 'FEMALE';
case UNKNOWN = 'UNKNOWN';
}
14 changes: 14 additions & 0 deletions src/Enum/DeliveryInformationTransporterCode.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum DeliveryInformationTransporterCode: string
{
case POSTNL = 'POSTNL';
case DHL = 'DHL';
case DPD = 'DPD';
case GLS = 'GLS';
case UPS = 'UPS';
case OTHER = 'OTHER';
}
11 changes: 11 additions & 0 deletions src/Enum/DeliveryOptionLabelType.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum DeliveryOptionLabelType: string
{
case PARCEL = 'PARCEL';
case MAILBOX = 'MAILBOX';
case MAILBOX_LIGHT = 'MAILBOX_LIGHT';
}
27 changes: 27 additions & 0 deletions src/Enum/FulfilmentDeliveryCode.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum FulfilmentDeliveryCode: string
{
case _24UURS_23 = '24uurs-23';
case _24UURS_22 = '24uurs-22';
case _24UURS_21 = '24uurs-21';
case _24UURS_20 = '24uurs-20';
case _24UURS_19 = '24uurs-19';
case _24UURS_18 = '24uurs-18';
case _24UURS_17 = '24uurs-17';
case _24UURS_16 = '24uurs-16';
case _24UURS_15 = '24uurs-15';
case _24UURS_14 = '24uurs-14';
case _24UURS_13 = '24uurs-13';
case _24UURS_12 = '24uurs-12';
case _1_2D = '1-2d';
case _2_3D = '2-3d';
case _3_5D = '3-5d';
case _4_8D = '4-8d';
case _1_8D = '1-8d';
case MIJNLEVERBELOFTE = 'MijnLeverbelofte';
case VVB = 'VVB';
}
10 changes: 10 additions & 0 deletions src/Enum/FulfilmentMethod.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum FulfilmentMethod: string
{
case FBR = 'FBR';
case FBB = 'FBB';
}
12 changes: 12 additions & 0 deletions src/Enum/GetCatalogProductAcceptLanguage.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum GetCatalogProductAcceptLanguage: string
{
case NL = 'nl';
case NL_BE = 'nl-BE';
case FR = 'fr';
case FR_BE = 'fr-BE';
}
13 changes: 13 additions & 0 deletions src/Enum/GetCommissionCondition.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum GetCommissionCondition: string
{
case NEW = 'NEW';
case AS_NEW = 'AS_NEW';
case GOOD = 'GOOD';
case REASONABLE = 'REASONABLE';
case MODERATE = 'MODERATE';
}
15 changes: 15 additions & 0 deletions src/Enum/GetCompetingOffersCondition.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum GetCompetingOffersCondition: string
{
case ALL = 'ALL';
case BAD = 'BAD';
case MODERATE = 'MODERATE';
case REASONABLE = 'REASONABLE';
case GOOD = 'GOOD';
case AS_NEW = 'AS_NEW';
case NEW = 'NEW';
}
10 changes: 10 additions & 0 deletions src/Enum/GetCompetingOffersCountryCode.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum GetCompetingOffersCountryCode: string
{
case NL = 'NL';
case BE = 'BE';
}
10 changes: 10 additions & 0 deletions src/Enum/GetInventoryState.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum GetInventoryState: string
{
case REGULAR = 'REGULAR';
case GRADED = 'GRADED';
}
10 changes: 10 additions & 0 deletions src/Enum/GetInventoryStock.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum GetInventoryStock: string
{
case SUFFICIENT = 'SUFFICIENT';
case INSUFFICIENT = 'INSUFFICIENT';
}
11 changes: 11 additions & 0 deletions src/Enum/GetInvoiceRequestsState.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum GetInvoiceRequestsState: string
{
case OPEN = 'OPEN';
case UPLOAD_ERROR = 'UPLOAD_ERROR';
case ALL = 'ALL';
}
10 changes: 10 additions & 0 deletions src/Enum/GetLoadCarrierLabelsLabelType.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum GetLoadCarrierLabelsLabelType: string
{
case WAREHOUSE = 'WAREHOUSE';
case TRANSPORT = 'TRANSPORT';
}
10 changes: 10 additions & 0 deletions src/Enum/GetOfferInsightsName.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum GetOfferInsightsName: string
{
case PRODUCT_VISITS = 'PRODUCT_VISITS';
case BUY_BOX_PERCENTAGE = 'BUY_BOX_PERCENTAGE';
}
11 changes: 11 additions & 0 deletions src/Enum/GetOfferInsightsPeriod.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum GetOfferInsightsPeriod: string
{
case DAY = 'DAY';
case WEEK = 'WEEK';
case MONTH = 'MONTH';
}
11 changes: 11 additions & 0 deletions src/Enum/GetOrdersFulfilmentMethod.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace Picqer\BolRetailerV10\Enum;

// This class is auto generated by OpenApi\ModelGenerator
enum GetOrdersFulfilmentMethod: string
{
case FBR = 'FBR';
case FBB = 'FBB';
case ALL = 'ALL';
}
Loading

0 comments on commit 4299731

Please sign in to comment.